{"x402Version":2,"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","resources":[{"id":38753,"slug":"38753","resource":"https://api.magentlab.com/api/codes/search","description":"Map a natural-language drug, diagnosis, or lab phrase to a current RxNorm, ICD-10-CM, or LOINC code. Use when an agent must not hallucinate or invent a billing/pharmacy code.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"5000","amountUsd":0.005,"maxTimeoutSeconds":600},{"scheme":"batch-settlement","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":{"method":"GET","queryParams":{"billable_only":true,"include_obsolete":false,"limit":5,"min_score":35,"query":"Tylenol 500mg","system":"rxnorm","tty":"SCD"},"type":"http"},"output":{"example":{"catalog":{"coverage":"seed","coverage_meaning":"Compiled seed catalog. Production coverage=full is gold-gated Current Prescribable RxNorm + ICD-10-CM + LOINC, not complete monthly RxNorm or UMLS.","notes":"ICD-10 entries are ICD-10-CM (US claims), not WHO ICD-10. RxNorm codes are RxCUI. LOINC codes are official LOINC numerics. coverage=full never means complete UMLS.","source":"magent curated seed","stale":false,"systems":["rxnorm","icd10","loinc"],"verified_at":null,"version":"2026.08-wedge"},"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.","match_count":1,"match_quality":"high","matches":[{"billable":null,"code":"198440","display":"acetaminophen 500 MG Oral Tablet","obsolete":false,"score":95,"status":"current","system":"rxnorm","tty":"SCD"}],"query":"Tylenol 500mg","system":"rxnorm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"billable_only":{"description":"ICD-10-CM: return only HIPAA billable codes, not headers. Default true.","type":"boolean"},"include_obsolete":{"description":"Include deprecated/obsolete codes. Default false.","type":"boolean"},"limit":{"description":"Number of ranked matches to return (1-25). Default 5.","type":"integer"},"min_score":{"description":"Minimum rank score 0-100. Default 35.","type":"integer"},"query":{"description":"Natural-language drug, diagnosis, or lab description. Max 512 characters. Do not send patient names.","type":"string"},"system":{"description":"Restrict to rxnorm, icd10 (ICD-10-CM), or loinc. Omit to search all.","enum":["rxnorm","icd10","loinc"],"type":"string"},"tty":{"description":"Restrict term type. Pharmacy orders typically want SCD. ICD-10-CM is CM; LOINC is LN.","enum":["SCD","SBD","IN","PIN","MIN","BN","GPCK","BPCK","DF","SCDC","SBDC","SCDF","SBDF","CM","LN"],"type":"string"}},"required":["query"],"type":"object"},"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":["rxnorm","icd10","icd10cm","loinc","codes","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:05:37.331Z","quality":{"calls30d":8,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T15:05:37.212Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"method":"GET","queryParams":{"billable_only":true,"include_obsolete":false,"limit":5,"min_score":35,"query":"Tylenol 500mg","system":"rxnorm","tty":"SCD"},"type":"http"},"output":{"example":{"catalog":{"coverage":"seed","coverage_meaning":"Compiled seed catalog. Production coverage=full is gold-gated Current Prescribable RxNorm + ICD-10-CM + LOINC, not complete monthly RxNorm or UMLS.","notes":"ICD-10 entries are ICD-10-CM (US claims), not WHO ICD-10. RxNorm codes are RxCUI. LOINC codes are official LOINC numerics. coverage=full never means complete UMLS.","source":"magent curated seed","stale":false,"systems":["rxnorm","icd10","loinc"],"verified_at":null,"version":"2026.08-wedge"},"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.","match_count":1,"match_quality":"high","matches":[{"billable":null,"code":"198440","display":"acetaminophen 500 MG Oral Tablet","obsolete":false,"score":95,"status":"current","system":"rxnorm","tty":"SCD"}],"query":"Tylenol 500mg","system":"rxnorm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"billable_only":{"description":"ICD-10-CM: return only HIPAA billable codes, not headers. Default true.","type":"boolean"},"include_obsolete":{"description":"Include deprecated/obsolete codes. Default false.","type":"boolean"},"limit":{"description":"Number of ranked matches to return (1-25). Default 5.","type":"integer"},"min_score":{"description":"Minimum rank score 0-100. Default 35.","type":"integer"},"query":{"description":"Natural-language drug, diagnosis, or lab description. Max 512 characters. Do not send patient names.","type":"string"},"system":{"description":"Restrict to rxnorm, icd10 (ICD-10-CM), or loinc. Omit to search all.","enum":["rxnorm","icd10","loinc"],"type":"string"},"tty":{"description":"Restrict term type. Pharmacy orders typically want SCD. ICD-10-CM is CM; LOINC is LN.","enum":["SCD","SBD","IN","PIN","MIN","BN","GPCK","BPCK","DF","SCDC","SBDC","SCDF","SBDF","CM","LN"],"type":"string"}},"required":["query"],"type":"object"},"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},{"id":38752,"slug":"38752","resource":"https://api.magentlab.com/api/calc/canrisk","description":"Robinson 2011 Table 3 pCANRISK (not eCANRISK). Age 0/7/13/15; male 6; BMI 0/4/9/14; waist 0/4/6 by sex; inactivity 1; no daily fruit/veg 2; high BP 4; high glucose 14; macrosomia 1 (women); family first-degree categories ×2; caller-assigned ethnicity White 0 Aboriginal 3 Black 5 East Asian 10 South Asian 11; education 5/1/0. Max 81 F/86 M. Cutoffs 21, 29, 32, 33, 43. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"activity_30min":true,"age":40,"bmi_kg_m2":22,"daily_fruit_veg":true,"education":"university","ethnicity":"white","family_history_count":0,"high_bp":false,"high_glucose":false,"macrosomia":false,"sex":"female","waist_cm":80},{"activity_30min":true,"age":40,"bmi_kg_m2":22,"daily_fruit_veg":true,"education":"university","ethnicity":"white","family_history_count":0,"high_bp":false,"high_glucose":false,"macrosomia":false,"sex":"female","waist_cm":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"bmi_kg_m2":22,"citation":{"authors":"Robinson CA, Agarwal G, Nerenberg K","doi":"10.24095/hpcdp.32.1.04","id":"robinson-2011-canrisk","pmid":"22153173","source":"Chronic Dis Inj Can. 2011;32(1):19-31","title":"Validating the CANRISK prognostic model for assessing diabetes risk in Canada's multi-ethnic population"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"bmi","points":0,"present":false,"value":22},{"factor":"waist","points":4,"present":true,"value":80},{"factor":"inactivity","points":0,"present":false},{"factor":"no_daily_fruit_veg","points":0,"present":false},{"factor":"high_bp","points":0,"present":false},{"factor":"high_glucose","points":0,"present":false},{"factor":"macrosomia","points":0,"present":false},{"factor":"family_history","points":0,"present":false,"value":0},{"factor":"ethnicity","points":0,"present":false,"value":"white"},{"factor":"education","points":0,"present":false,"value":"university"}],"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.","education":"university","ethnicity":"white","family_history_count":0,"formula":"canrisk","formula_expression":"pCANRISK = age + sex + bmi + waist + inactivity + no_daily_fruit_veg + high_bp + high_glucose + macrosomia + family_history + ethnicity + education; age <45 -> 0, 45-54 -> 7, 55-64 -> 13, >=65 -> 15; male 6; BMI <25 -> 0, 25-29.9 -> 4, 30-34.9 -> 9, >=35 -> 14; waist men <94 -> 0, 94-102 -> 4, >102 -> 6; women <80 -> 0, 80-88 -> 4, >88 -> 6; inactivity 1; no daily fruit/veg 2; high_bp 4; high_glucose 14; macrosomia women 1 else N/A 0; family_history_count 0-4 first-degree categories * 2; ethnicity white 0 aboriginal 3 black 5 east_asian 10 south_asian 11 latin_american 0 other 0 (caller-assigned; Table 3 assigned no pCANRISK points to Latin American or Other); education less_than_high_school 5 high_school 1 some_college or university 0; max 81 female / 86 male; Robinson 2011 Table 3 pCANRISK not eCANRISK; published cutoffs score>=21 29 32 33 43","max_score":81,"score":4,"score_ge_21":false,"score_ge_29":false,"score_ge_32":false,"score_ge_33":false,"score_ge_43":false,"sex":"female","waist_cm":80},{"age_years":40,"bmi_kg_m2":22,"citation":{"authors":"Robinson CA, Agarwal G, Nerenberg K","doi":"10.24095/hpcdp.32.1.04","id":"robinson-2011-canrisk","pmid":"22153173","source":"Chronic Dis Inj Can. 2011;32(1):19-31","title":"Validating the CANRISK prognostic model for assessing diabetes risk in Canada's multi-ethnic population"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"bmi","points":0,"present":false,"value":22},{"factor":"waist","points":4,"present":true,"value":80},{"factor":"inactivity","points":0,"present":false},{"factor":"no_daily_fruit_veg","points":0,"present":false},{"factor":"high_bp","points":0,"present":false},{"factor":"high_glucose","points":0,"present":false},{"factor":"macrosomia","points":0,"present":false},{"factor":"family_history","points":0,"present":false,"value":0},{"factor":"ethnicity","points":0,"present":false,"value":"white"},{"factor":"education","points":0,"present":false,"value":"university"}],"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.","education":"university","ethnicity":"white","family_history_count":0,"formula":"canrisk","formula_expression":"pCANRISK = age + sex + bmi + waist + inactivity + no_daily_fruit_veg + high_bp + high_glucose + macrosomia + family_history + ethnicity + education; age <45 -> 0, 45-54 -> 7, 55-64 -> 13, >=65 -> 15; male 6; BMI <25 -> 0, 25-29.9 -> 4, 30-34.9 -> 9, >=35 -> 14; waist men <94 -> 0, 94-102 -> 4, >102 -> 6; women <80 -> 0, 80-88 -> 4, >88 -> 6; inactivity 1; no daily fruit/veg 2; high_bp 4; high_glucose 14; macrosomia women 1 else N/A 0; family_history_count 0-4 first-degree categories * 2; ethnicity white 0 aboriginal 3 black 5 east_asian 10 south_asian 11 latin_american 0 other 0 (caller-assigned; Table 3 assigned no pCANRISK points to Latin American or Other); education less_than_high_school 5 high_school 1 some_college or university 0; max 81 female / 86 male; Robinson 2011 Table 3 pCANRISK not eCANRISK; published cutoffs score>=21 29 32 33 43","max_score":81,"score":4,"score_ge_21":false,"score_ge_29":false,"score_ge_32":false,"score_ge_33":false,"score_ge_43":false,"sex":"female","waist_cm":80}],"path":"/api/calc/canrisk"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity_30min":{"description":"Usually at least 30 minutes of physical activity daily (Robinson 2011 Table 3). true scores 0; false scores 1. Caller-assigned; magent does not measure activity.","type":"boolean"},"age":{"description":"Age in years (18-120). Robinson 2011 Table 3 pCANRISK: 19-44 scores 0; magent scores 18-44 as 0. 45-54 scores 7; 55-64 scores 13; 65-78 scores 15; magent scores ≥65 as 15. Age 44 scores 0; 45 and 54 score 7; 55 and 64 score 13; 65 scores 15.","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Robinson 2011 Table 3: <25 scores 0; 25-29.9 scores 4; 30-34.9 scores 9; ≥35 scores 14. 25.0 and 29.9 score 4; 30.0 and 34.9 score 9; 35.0 scores 14.","type":"number"},"daily_fruit_veg":{"description":"Eats fruit or vegetables every day (Robinson 2011 Table 3). true scores 0; false scores 2.","type":"boolean"},"education":{"description":"Highest education completed (Robinson 2011 Table 3). less_than_high_school scores 5; high_school scores 1; some_college or university scores 0.","enum":["less_than_high_school","high_school","some_college","university"],"type":"string"},"ethnicity":{"description":"Caller-assigned ethnicity using Robinson 2011 Table 3 terms. white scores 0; aboriginal 3; black 5; east_asian 10; south_asian 11. latin_american and other score 0 (Table 3 assigned no pCANRISK points; both were statistically insignificant). magent does not assign ethnicity.","enum":["white","aboriginal","black","east_asian","south_asian","latin_american","other"],"type":"string"},"family_history_count":{"description":"Count of first-degree relative categories with diabetes: mother, father, sibling, child (Robinson 2011 Table 3 footnote g). Integer 0-4. Each category scores 2 (0, 2, 4, 6, or 8). Not second-degree relatives. magent does not take named relatives.","type":"integer"},"high_bp":{"description":"History of high blood pressure (Robinson 2011 Table 3). true scores 4; false scores 0. magent does not measure blood pressure.","type":"boolean"},"high_glucose":{"description":"History of high blood glucose (Robinson 2011 Table 3). Caller-assigned; magent does not assay glucose. true scores 14; false scores 0.","type":"boolean"},"macrosomia":{"description":"Gave birth to a baby weighing 4.1 kg or more (Robinson 2011 Table 3 macrosomia, women). true scores 1 for female; false or male (N/A) scores 0.","type":"boolean"},"sex":{"description":"female or male. Robinson 2011 Table 3: female scores 0; male scores 6. Selects the sex-specific waist bands. Macrosomia is N/A for male (0).","enum":["female","male"],"type":"string"},"waist_cm":{"description":"Waist circumference in cm (40-200). Robinson 2011 Table 3 men: <94 scores 0; 94-102 scores 4; >102 scores 6. Women: <80 scores 0; 80-88 scores 4; >88 scores 6. 94 and 102 (men) and 80 and 88 (women) score 4.","type":"number"}},"required":["age","sex","bmi_kg_m2","waist_cm","activity_30min","daily_fruit_veg","high_bp","high_glucose","macrosomia","family_history_count","ethnicity","education"],"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":["canrisk","pcanrisk","diabetes-risk","glucose","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:01:06.74Z","quality":{"calls30d":7,"uniquePayers30d":4,"lastCalledAt":"2026-10-13T01:01:06.347Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"activity_30min":true,"age":40,"bmi_kg_m2":22,"daily_fruit_veg":true,"education":"university","ethnicity":"white","family_history_count":0,"high_bp":false,"high_glucose":false,"macrosomia":false,"sex":"female","waist_cm":80},{"activity_30min":true,"age":40,"bmi_kg_m2":22,"daily_fruit_veg":true,"education":"university","ethnicity":"white","family_history_count":0,"high_bp":false,"high_glucose":false,"macrosomia":false,"sex":"female","waist_cm":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"bmi_kg_m2":22,"citation":{"authors":"Robinson CA, Agarwal G, Nerenberg K","doi":"10.24095/hpcdp.32.1.04","id":"robinson-2011-canrisk","pmid":"22153173","source":"Chronic Dis Inj Can. 2011;32(1):19-31","title":"Validating the CANRISK prognostic model for assessing diabetes risk in Canada's multi-ethnic population"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"bmi","points":0,"present":false,"value":22},{"factor":"waist","points":4,"present":true,"value":80},{"factor":"inactivity","points":0,"present":false},{"factor":"no_daily_fruit_veg","points":0,"present":false},{"factor":"high_bp","points":0,"present":false},{"factor":"high_glucose","points":0,"present":false},{"factor":"macrosomia","points":0,"present":false},{"factor":"family_history","points":0,"present":false,"value":0},{"factor":"ethnicity","points":0,"present":false,"value":"white"},{"factor":"education","points":0,"present":false,"value":"university"}],"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.","education":"university","ethnicity":"white","family_history_count":0,"formula":"canrisk","formula_expression":"pCANRISK = age + sex + bmi + waist + inactivity + no_daily_fruit_veg + high_bp + high_glucose + macrosomia + family_history + ethnicity + education; age <45 -> 0, 45-54 -> 7, 55-64 -> 13, >=65 -> 15; male 6; BMI <25 -> 0, 25-29.9 -> 4, 30-34.9 -> 9, >=35 -> 14; waist men <94 -> 0, 94-102 -> 4, >102 -> 6; women <80 -> 0, 80-88 -> 4, >88 -> 6; inactivity 1; no daily fruit/veg 2; high_bp 4; high_glucose 14; macrosomia women 1 else N/A 0; family_history_count 0-4 first-degree categories * 2; ethnicity white 0 aboriginal 3 black 5 east_asian 10 south_asian 11 latin_american 0 other 0 (caller-assigned; Table 3 assigned no pCANRISK points to Latin American or Other); education less_than_high_school 5 high_school 1 some_college or university 0; max 81 female / 86 male; Robinson 2011 Table 3 pCANRISK not eCANRISK; published cutoffs score>=21 29 32 33 43","max_score":81,"score":4,"score_ge_21":false,"score_ge_29":false,"score_ge_32":false,"score_ge_33":false,"score_ge_43":false,"sex":"female","waist_cm":80},{"age_years":40,"bmi_kg_m2":22,"citation":{"authors":"Robinson CA, Agarwal G, Nerenberg K","doi":"10.24095/hpcdp.32.1.04","id":"robinson-2011-canrisk","pmid":"22153173","source":"Chronic Dis Inj Can. 2011;32(1):19-31","title":"Validating the CANRISK prognostic model for assessing diabetes risk in Canada's multi-ethnic population"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"bmi","points":0,"present":false,"value":22},{"factor":"waist","points":4,"present":true,"value":80},{"factor":"inactivity","points":0,"present":false},{"factor":"no_daily_fruit_veg","points":0,"present":false},{"factor":"high_bp","points":0,"present":false},{"factor":"high_glucose","points":0,"present":false},{"factor":"macrosomia","points":0,"present":false},{"factor":"family_history","points":0,"present":false,"value":0},{"factor":"ethnicity","points":0,"present":false,"value":"white"},{"factor":"education","points":0,"present":false,"value":"university"}],"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.","education":"university","ethnicity":"white","family_history_count":0,"formula":"canrisk","formula_expression":"pCANRISK = age + sex + bmi + waist + inactivity + no_daily_fruit_veg + high_bp + high_glucose + macrosomia + family_history + ethnicity + education; age <45 -> 0, 45-54 -> 7, 55-64 -> 13, >=65 -> 15; male 6; BMI <25 -> 0, 25-29.9 -> 4, 30-34.9 -> 9, >=35 -> 14; waist men <94 -> 0, 94-102 -> 4, >102 -> 6; women <80 -> 0, 80-88 -> 4, >88 -> 6; inactivity 1; no daily fruit/veg 2; high_bp 4; high_glucose 14; macrosomia women 1 else N/A 0; family_history_count 0-4 first-degree categories * 2; ethnicity white 0 aboriginal 3 black 5 east_asian 10 south_asian 11 latin_american 0 other 0 (caller-assigned; Table 3 assigned no pCANRISK points to Latin American or Other); education less_than_high_school 5 high_school 1 some_college or university 0; max 81 female / 86 male; Robinson 2011 Table 3 pCANRISK not eCANRISK; published cutoffs score>=21 29 32 33 43","max_score":81,"score":4,"score_ge_21":false,"score_ge_29":false,"score_ge_32":false,"score_ge_33":false,"score_ge_43":false,"sex":"female","waist_cm":80}],"path":"/api/calc/canrisk"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity_30min":{"description":"Usually at least 30 minutes of physical activity daily (Robinson 2011 Table 3). true scores 0; false scores 1. Caller-assigned; magent does not measure activity.","type":"boolean"},"age":{"description":"Age in years (18-120). Robinson 2011 Table 3 pCANRISK: 19-44 scores 0; magent scores 18-44 as 0. 45-54 scores 7; 55-64 scores 13; 65-78 scores 15; magent scores ≥65 as 15. Age 44 scores 0; 45 and 54 score 7; 55 and 64 score 13; 65 scores 15.","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Robinson 2011 Table 3: <25 scores 0; 25-29.9 scores 4; 30-34.9 scores 9; ≥35 scores 14. 25.0 and 29.9 score 4; 30.0 and 34.9 score 9; 35.0 scores 14.","type":"number"},"daily_fruit_veg":{"description":"Eats fruit or vegetables every day (Robinson 2011 Table 3). true scores 0; false scores 2.","type":"boolean"},"education":{"description":"Highest education completed (Robinson 2011 Table 3). less_than_high_school scores 5; high_school scores 1; some_college or university scores 0.","enum":["less_than_high_school","high_school","some_college","university"],"type":"string"},"ethnicity":{"description":"Caller-assigned ethnicity using Robinson 2011 Table 3 terms. white scores 0; aboriginal 3; black 5; east_asian 10; south_asian 11. latin_american and other score 0 (Table 3 assigned no pCANRISK points; both were statistically insignificant). magent does not assign ethnicity.","enum":["white","aboriginal","black","east_asian","south_asian","latin_american","other"],"type":"string"},"family_history_count":{"description":"Count of first-degree relative categories with diabetes: mother, father, sibling, child (Robinson 2011 Table 3 footnote g). Integer 0-4. Each category scores 2 (0, 2, 4, 6, or 8). Not second-degree relatives. magent does not take named relatives.","type":"integer"},"high_bp":{"description":"History of high blood pressure (Robinson 2011 Table 3). true scores 4; false scores 0. magent does not measure blood pressure.","type":"boolean"},"high_glucose":{"description":"History of high blood glucose (Robinson 2011 Table 3). Caller-assigned; magent does not assay glucose. true scores 14; false scores 0.","type":"boolean"},"macrosomia":{"description":"Gave birth to a baby weighing 4.1 kg or more (Robinson 2011 Table 3 macrosomia, women). true scores 1 for female; false or male (N/A) scores 0.","type":"boolean"},"sex":{"description":"female or male. Robinson 2011 Table 3: female scores 0; male scores 6. Selects the sex-specific waist bands. Macrosomia is N/A for male (0).","enum":["female","male"],"type":"string"},"waist_cm":{"description":"Waist circumference in cm (40-200). Robinson 2011 Table 3 men: <94 scores 0; 94-102 scores 4; >102 scores 6. Women: <80 scores 0; 80-88 scores 4; >88 scores 6. 94 and 102 (men) and 80 and 88 (women) score 4.","type":"number"}},"required":["age","sex","bmi_kg_m2","waist_cm","activity_30min","daily_fruit_veg","high_bp","high_glucose","macrosomia","family_history_count","ethnicity","education"],"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},{"id":38754,"slug":"38754","resource":"https://api.magentlab.com/api/calc/wound_class","description":"CDC/HICPAC surgical wound classification Class I-IV as assigned by the caller (Mangram 1999 Table 7). Returns wound_class, class_label (e.g. I/Clean), and the published Table 7 description. magent does not inspect the wound. Not SSI percentage rates (not in Table 7). Not a diagnosis of infection. Not antimicrobial prophylaxis selection. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"wound_class":1},{"wound_class":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mangram AJ, Horan TC, Pearson ML, Silver LC, Jarvis WR, Hospital Infection Control Practices Advisory Committee","doi":"10.1086/501620","id":"mangram-1999","pmid":"10219875","source":"Infect Control Hosp Epidemiol. 1999;20(4):250-278","title":"Guideline for Prevention of Surgical Site Infection, 1999"},"class_label":"I/Clean","components":[{"factor":"class_i_clean","met":true},{"factor":"class_ii_clean_contaminated","met":false},{"factor":"class_iii_contaminated","met":false},{"factor":"class_iv_dirty","met":false}],"description":"An uninfected operative wound in which no inflammation is encountered and the respiratory, alimentary, genital, or uninfected urinary tract is not entered. In addition, clean wounds are primarily closed and, if necessary, drained with closed drainage. Operative incisional wounds that follow nonpenetrating (blunt) trauma should be included in this category if they meet the criteria.","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":"wound_class","formula_expression":"wound_class in {1, 2, 3, 4} as assigned by the caller (Mangram 1999 CDC/HICPAC Table 7 Class I-IV). magent does not inspect the wound. Not SSI rates. Not AMP selection.","wound_class":1},{"citation":{"authors":"Mangram AJ, Horan TC, Pearson ML, Silver LC, Jarvis WR, Hospital Infection Control Practices Advisory Committee","doi":"10.1086/501620","id":"mangram-1999","pmid":"10219875","source":"Infect Control Hosp Epidemiol. 1999;20(4):250-278","title":"Guideline for Prevention of Surgical Site Infection, 1999"},"class_label":"I/Clean","components":[{"factor":"class_i_clean","met":true},{"factor":"class_ii_clean_contaminated","met":false},{"factor":"class_iii_contaminated","met":false},{"factor":"class_iv_dirty","met":false}],"description":"An uninfected operative wound in which no inflammation is encountered and the respiratory, alimentary, genital, or uninfected urinary tract is not entered. In addition, clean wounds are primarily closed and, if necessary, drained with closed drainage. Operative incisional wounds that follow nonpenetrating (blunt) trauma should be included in this category if they meet the criteria.","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":"wound_class","formula_expression":"wound_class in {1, 2, 3, 4} as assigned by the caller (Mangram 1999 CDC/HICPAC Table 7 Class I-IV). magent does not inspect the wound. Not SSI rates. Not AMP selection.","wound_class":1}],"path":"/api/calc/wound_class"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"wound_class":{"description":"CDC/HICPAC surgical wound class 1-4 as assigned by the caller (Mangram 1999 Table 7: 1 Class I/Clean, uninfected operative wound, no inflammation, respiratory/alimentary/genital/uninfected urinary tract not entered; 2 Class II/Clean-Contaminated, those tracts entered under controlled conditions without unusual contamination; 3 Class III/Contaminated, open fresh accidental wounds, major break in technique, GI spillage, or acute nonpurulent inflammation; 4 Class IV/Dirty-Infected, old traumatic wounds with retained devitalized tissue, existing clinical infection, or perforated viscera). Integer 1-4 only; reject 0, 5, 1.5, and roman I. magent does not inspect the wound. Not SSI rates. Not AMP selection.","type":"integer"}},"required":["wound_class"],"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":["wound-class","ssi","infection","surgical","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:56:47.538Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:56:47.233Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"wound_class":1},{"wound_class":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mangram AJ, Horan TC, Pearson ML, Silver LC, Jarvis WR, Hospital Infection Control Practices Advisory Committee","doi":"10.1086/501620","id":"mangram-1999","pmid":"10219875","source":"Infect Control Hosp Epidemiol. 1999;20(4):250-278","title":"Guideline for Prevention of Surgical Site Infection, 1999"},"class_label":"I/Clean","components":[{"factor":"class_i_clean","met":true},{"factor":"class_ii_clean_contaminated","met":false},{"factor":"class_iii_contaminated","met":false},{"factor":"class_iv_dirty","met":false}],"description":"An uninfected operative wound in which no inflammation is encountered and the respiratory, alimentary, genital, or uninfected urinary tract is not entered. In addition, clean wounds are primarily closed and, if necessary, drained with closed drainage. Operative incisional wounds that follow nonpenetrating (blunt) trauma should be included in this category if they meet the criteria.","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":"wound_class","formula_expression":"wound_class in {1, 2, 3, 4} as assigned by the caller (Mangram 1999 CDC/HICPAC Table 7 Class I-IV). magent does not inspect the wound. Not SSI rates. Not AMP selection.","wound_class":1},{"citation":{"authors":"Mangram AJ, Horan TC, Pearson ML, Silver LC, Jarvis WR, Hospital Infection Control Practices Advisory Committee","doi":"10.1086/501620","id":"mangram-1999","pmid":"10219875","source":"Infect Control Hosp Epidemiol. 1999;20(4):250-278","title":"Guideline for Prevention of Surgical Site Infection, 1999"},"class_label":"I/Clean","components":[{"factor":"class_i_clean","met":true},{"factor":"class_ii_clean_contaminated","met":false},{"factor":"class_iii_contaminated","met":false},{"factor":"class_iv_dirty","met":false}],"description":"An uninfected operative wound in which no inflammation is encountered and the respiratory, alimentary, genital, or uninfected urinary tract is not entered. In addition, clean wounds are primarily closed and, if necessary, drained with closed drainage. Operative incisional wounds that follow nonpenetrating (blunt) trauma should be included in this category if they meet the criteria.","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":"wound_class","formula_expression":"wound_class in {1, 2, 3, 4} as assigned by the caller (Mangram 1999 CDC/HICPAC Table 7 Class I-IV). magent does not inspect the wound. Not SSI rates. Not AMP selection.","wound_class":1}],"path":"/api/calc/wound_class"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"wound_class":{"description":"CDC/HICPAC surgical wound class 1-4 as assigned by the caller (Mangram 1999 Table 7: 1 Class I/Clean, uninfected operative wound, no inflammation, respiratory/alimentary/genital/uninfected urinary tract not entered; 2 Class II/Clean-Contaminated, those tracts entered under controlled conditions without unusual contamination; 3 Class III/Contaminated, open fresh accidental wounds, major break in technique, GI spillage, or acute nonpurulent inflammation; 4 Class IV/Dirty-Infected, old traumatic wounds with retained devitalized tissue, existing clinical infection, or perforated viscera). Integer 1-4 only; reject 0, 5, 1.5, and roman I. magent does not inspect the wound. Not SSI rates. Not AMP selection.","type":"integer"}},"required":["wound_class"],"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},{"id":38755,"slug":"38755","resource":"https://api.magentlab.com/api/calc/winters","description":"Winters' formula for expected PCO2 in metabolic acidosis: 1.5 × bicarbonate + 8 mm Hg, with a published ±2 mm Hg range. Optional comparison of measured PaCO2 to that band. Deterministic Albert–Winters 1967 arithmetic with citation; not a treatment target or a metabolic alkalosis formula.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bicarbonate_mmol_l":12,"paco2_mm_hg":26},{"bicarbonate_mmol_l":12,"paco2_mm_hg":26}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bicarbonate_mmol_l":12,"citation":{"authors":"Albert MS, Dell RB, Winters RW","doi":"10.7326/0003-4819-66-2-312","id":"albert-winters-1967","source":"Ann Intern Med. 1967;66(2):312-322","title":"Quantitative displacement of acid-base equilibrium in metabolic acidosis"},"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.","expected_pco2_high_mm_hg":28,"expected_pco2_low_mm_hg":24,"expected_pco2_mm_hg":26,"formula":"winters","formula_expression":"expected_pco2_mm_hg = 1.5 * bicarbonate_mmol_l + 8"},{"bicarbonate_mmol_l":12,"citation":{"authors":"Albert MS, Dell RB, Winters RW","doi":"10.7326/0003-4819-66-2-312","id":"albert-winters-1967","source":"Ann Intern Med. 1967;66(2):312-322","title":"Quantitative displacement of acid-base equilibrium in metabolic acidosis"},"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.","expected_pco2_high_mm_hg":28,"expected_pco2_low_mm_hg":24,"expected_pco2_mm_hg":26,"formula":"winters","formula_expression":"expected_pco2_mm_hg = 1.5 * bicarbonate_mmol_l + 8"}],"path":"/api/calc/winters"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bicarbonate_mmol_l":{"description":"Plasma bicarbonate in mmol/L (2-24). Metabolic acidosis range.","type":"number"},"paco2_mm_hg":{"description":"Measured arterial PCO2 in mm Hg (8-80). When supplied, compensation is returned versus the Winters ±2 band.","type":"number"}},"required":["bicarbonate_mmol_l"],"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":["winters","acidosis","pco2","electrolytes","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:56:44.556Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:56:44.416Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bicarbonate_mmol_l":12,"paco2_mm_hg":26},{"bicarbonate_mmol_l":12,"paco2_mm_hg":26}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bicarbonate_mmol_l":12,"citation":{"authors":"Albert MS, Dell RB, Winters RW","doi":"10.7326/0003-4819-66-2-312","id":"albert-winters-1967","source":"Ann Intern Med. 1967;66(2):312-322","title":"Quantitative displacement of acid-base equilibrium in metabolic acidosis"},"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.","expected_pco2_high_mm_hg":28,"expected_pco2_low_mm_hg":24,"expected_pco2_mm_hg":26,"formula":"winters","formula_expression":"expected_pco2_mm_hg = 1.5 * bicarbonate_mmol_l + 8"},{"bicarbonate_mmol_l":12,"citation":{"authors":"Albert MS, Dell RB, Winters RW","doi":"10.7326/0003-4819-66-2-312","id":"albert-winters-1967","source":"Ann Intern Med. 1967;66(2):312-322","title":"Quantitative displacement of acid-base equilibrium in metabolic acidosis"},"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.","expected_pco2_high_mm_hg":28,"expected_pco2_low_mm_hg":24,"expected_pco2_mm_hg":26,"formula":"winters","formula_expression":"expected_pco2_mm_hg = 1.5 * bicarbonate_mmol_l + 8"}],"path":"/api/calc/winters"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bicarbonate_mmol_l":{"description":"Plasma bicarbonate in mmol/L (2-24). Metabolic acidosis range.","type":"number"},"paco2_mm_hg":{"description":"Measured arterial PCO2 in mm Hg (8-80). When supplied, compensation is returned versus the Winters ±2 band.","type":"number"}},"required":["bicarbonate_mmol_l"],"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},{"id":38756,"slug":"38756","resource":"https://api.magentlab.com/api/calc/wat_1","description":"Franck 2008 WAT-1 (Withdrawal Assessment Tool-1). Eleven caller-assigned integers: ten 0/1 signs plus time_to_calm 0-2. Sum 0-12. Cutoff WAT-1 ≥3 vs NRS ≥4. magent does not observe the child. Pediatric iatrogenic opioid/benzodiazepine withdrawal monitoring only. Not a diagnosis, not NAS, not COWS, not CIWA-Ar, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"loose_watery_stools":0,"muscle_tone":0,"startle_to_touch":0,"state":0,"sweating":0,"temperature_gt_37_8":0,"time_to_calm":0,"tremor":0,"uncoordinated_repetitive_movement":0,"vomiting_retching_gagging":0,"yawning_or_sneezing":0},{"loose_watery_stools":0,"muscle_tone":0,"startle_to_touch":0,"state":0,"sweating":0,"temperature_gt_37_8":0,"time_to_calm":0,"tremor":0,"uncoordinated_repetitive_movement":0,"vomiting_retching_gagging":0,"yawning_or_sneezing":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Franck LS, Harris SK, Soetenga DJ, Amling JK, Curley MAQ","doi":"10.1097/PCC.0b013e31818c8328","id":"franck-2008","pmid":"18838937","source":"Pediatr Crit Care Med. 2008;9(6):573-580","title":"The Withdrawal Assessment Tool-1 (WAT-1): an assessment instrument for monitoring opioid and benzodiazepine withdrawal symptoms in pediatric patients"},"components":[{"factor":"loose_watery_stools","points":0,"present":true,"value":0},{"factor":"vomiting_retching_gagging","points":0,"present":true,"value":0},{"factor":"temperature_gt_37_8","points":0,"present":true,"value":0},{"factor":"state","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"uncoordinated_repetitive_movement","points":0,"present":true,"value":0},{"factor":"yawning_or_sneezing","points":0,"present":true,"value":0},{"factor":"startle_to_touch","points":0,"present":true,"value":0},{"factor":"muscle_tone","points":0,"present":true,"value":0},{"factor":"time_to_calm","points":0,"present":true,"value":0}],"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":"wat_1","formula_expression":"WAT-1 = loose_watery_stools + vomiting_retching_gagging + temperature_gt_37_8 + state + tremor + sweating + uncoordinated_repetitive_movement + yawning_or_sneezing + startle_to_touch + muscle_tone + time_to_calm; ten signs 0 or 1; time_to_calm 0, 1, or 2; Franck 2008 Table 4; max 12; wat1_ge_3 iff total >= 3","max_score":12,"score":0,"wat1_ge_3":false},{"citation":{"authors":"Franck LS, Harris SK, Soetenga DJ, Amling JK, Curley MAQ","doi":"10.1097/PCC.0b013e31818c8328","id":"franck-2008","pmid":"18838937","source":"Pediatr Crit Care Med. 2008;9(6):573-580","title":"The Withdrawal Assessment Tool-1 (WAT-1): an assessment instrument for monitoring opioid and benzodiazepine withdrawal symptoms in pediatric patients"},"components":[{"factor":"loose_watery_stools","points":0,"present":true,"value":0},{"factor":"vomiting_retching_gagging","points":0,"present":true,"value":0},{"factor":"temperature_gt_37_8","points":0,"present":true,"value":0},{"factor":"state","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"uncoordinated_repetitive_movement","points":0,"present":true,"value":0},{"factor":"yawning_or_sneezing","points":0,"present":true,"value":0},{"factor":"startle_to_touch","points":0,"present":true,"value":0},{"factor":"muscle_tone","points":0,"present":true,"value":0},{"factor":"time_to_calm","points":0,"present":true,"value":0}],"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":"wat_1","formula_expression":"WAT-1 = loose_watery_stools + vomiting_retching_gagging + temperature_gt_37_8 + state + tremor + sweating + uncoordinated_repetitive_movement + yawning_or_sneezing + startle_to_touch + muscle_tone + time_to_calm; ten signs 0 or 1; time_to_calm 0, 1, or 2; Franck 2008 Table 4; max 12; wat1_ge_3 iff total >= 3","max_score":12,"score":0,"wat1_ge_3":false}],"path":"/api/calc/wat_1"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"loose_watery_stools":{"description":"Caller-assigned Franck 2008 Table 4 loose/watery stools from the record in the previous 12 hours (integer 0 or 1): 0 none, 1 any loose or watery stools. magent does not observe the child.","type":"integer"},"muscle_tone":{"description":"Caller-assigned Franck 2008 Table 4 1-minute stimulus muscle tone (integer 0 or 1): 0 normal, 1 increased. magent does not observe the child.","type":"integer"},"startle_to_touch":{"description":"Caller-assigned Franck 2008 Table 4 1-minute stimulus startle to touch (integer 0 or 1): 0 none/mild, 1 moderate/severe. magent does not observe the child.","type":"integer"},"state":{"description":"Caller-assigned Franck 2008 Table 4 2-minute pre-stimulus state (integer 0 or 1): 0 SBS ≤0 or asleep/awake/calm, 1 SBS ≥+1 or awake/distressed. magent does not observe the child.","type":"integer"},"sweating":{"description":"Caller-assigned Franck 2008 Table 4 2-minute pre-stimulus sweating (integer 0 or 1): 0 no, 1 any sweating. magent does not observe the child.","type":"integer"},"temperature_gt_37_8":{"description":"Caller-assigned Franck 2008 Table 4 modal temperature > 37.8°C from the record in the previous 12 hours (integer 0 or 1): 0 no, 1 yes. magent does not observe the child.","type":"integer"},"time_to_calm":{"description":"Caller-assigned Franck 2008 Table 4 post-stimulus time to gain a calm state (integer 0, 1, or 2): 0 if <2 min, 1 if 2-5 min, 2 if >5 min. magent does not observe the child.","type":"integer"},"tremor":{"description":"Caller-assigned Franck 2008 Table 4 2-minute pre-stimulus tremor (integer 0 or 1): 0 none/mild, 1 moderate/severe. magent does not observe the child.","type":"integer"},"uncoordinated_repetitive_movement":{"description":"Caller-assigned Franck 2008 Table 4 2-minute pre-stimulus uncoordinated or repetitive movement (integer 0 or 1): 0 none/mild, 1 moderate/severe. magent does not observe the child.","type":"integer"},"vomiting_retching_gagging":{"description":"Caller-assigned Franck 2008 Table 4 vomiting, retching, or gagging from the record in the previous 12 hours (integer 0 or 1): 0 none, 1 any vomiting, retching, or gagging. magent does not observe the child.","type":"integer"},"yawning_or_sneezing":{"description":"Caller-assigned Franck 2008 Table 4 2-minute pre-stimulus yawning or sneezing (integer 0 or 1): 0 none or 1 yawn/sneeze, 1 two or more. magent does not observe the child.","type":"integer"}},"required":["loose_watery_stools","vomiting_retching_gagging","temperature_gt_37_8","state","tremor","sweating","uncoordinated_repetitive_movement","yawning_or_sneezing","startle_to_touch","muscle_tone","time_to_calm"],"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":["wat-1","withdrawal","pediatric","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:51:23.865Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:51:23.76Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"loose_watery_stools":0,"muscle_tone":0,"startle_to_touch":0,"state":0,"sweating":0,"temperature_gt_37_8":0,"time_to_calm":0,"tremor":0,"uncoordinated_repetitive_movement":0,"vomiting_retching_gagging":0,"yawning_or_sneezing":0},{"loose_watery_stools":0,"muscle_tone":0,"startle_to_touch":0,"state":0,"sweating":0,"temperature_gt_37_8":0,"time_to_calm":0,"tremor":0,"uncoordinated_repetitive_movement":0,"vomiting_retching_gagging":0,"yawning_or_sneezing":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Franck LS, Harris SK, Soetenga DJ, Amling JK, Curley MAQ","doi":"10.1097/PCC.0b013e31818c8328","id":"franck-2008","pmid":"18838937","source":"Pediatr Crit Care Med. 2008;9(6):573-580","title":"The Withdrawal Assessment Tool-1 (WAT-1): an assessment instrument for monitoring opioid and benzodiazepine withdrawal symptoms in pediatric patients"},"components":[{"factor":"loose_watery_stools","points":0,"present":true,"value":0},{"factor":"vomiting_retching_gagging","points":0,"present":true,"value":0},{"factor":"temperature_gt_37_8","points":0,"present":true,"value":0},{"factor":"state","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"uncoordinated_repetitive_movement","points":0,"present":true,"value":0},{"factor":"yawning_or_sneezing","points":0,"present":true,"value":0},{"factor":"startle_to_touch","points":0,"present":true,"value":0},{"factor":"muscle_tone","points":0,"present":true,"value":0},{"factor":"time_to_calm","points":0,"present":true,"value":0}],"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":"wat_1","formula_expression":"WAT-1 = loose_watery_stools + vomiting_retching_gagging + temperature_gt_37_8 + state + tremor + sweating + uncoordinated_repetitive_movement + yawning_or_sneezing + startle_to_touch + muscle_tone + time_to_calm; ten signs 0 or 1; time_to_calm 0, 1, or 2; Franck 2008 Table 4; max 12; wat1_ge_3 iff total >= 3","max_score":12,"score":0,"wat1_ge_3":false},{"citation":{"authors":"Franck LS, Harris SK, Soetenga DJ, Amling JK, Curley MAQ","doi":"10.1097/PCC.0b013e31818c8328","id":"franck-2008","pmid":"18838937","source":"Pediatr Crit Care Med. 2008;9(6):573-580","title":"The Withdrawal Assessment Tool-1 (WAT-1): an assessment instrument for monitoring opioid and benzodiazepine withdrawal symptoms in pediatric patients"},"components":[{"factor":"loose_watery_stools","points":0,"present":true,"value":0},{"factor":"vomiting_retching_gagging","points":0,"present":true,"value":0},{"factor":"temperature_gt_37_8","points":0,"present":true,"value":0},{"factor":"state","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"uncoordinated_repetitive_movement","points":0,"present":true,"value":0},{"factor":"yawning_or_sneezing","points":0,"present":true,"value":0},{"factor":"startle_to_touch","points":0,"present":true,"value":0},{"factor":"muscle_tone","points":0,"present":true,"value":0},{"factor":"time_to_calm","points":0,"present":true,"value":0}],"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":"wat_1","formula_expression":"WAT-1 = loose_watery_stools + vomiting_retching_gagging + temperature_gt_37_8 + state + tremor + sweating + uncoordinated_repetitive_movement + yawning_or_sneezing + startle_to_touch + muscle_tone + time_to_calm; ten signs 0 or 1; time_to_calm 0, 1, or 2; Franck 2008 Table 4; max 12; wat1_ge_3 iff total >= 3","max_score":12,"score":0,"wat1_ge_3":false}],"path":"/api/calc/wat_1"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"loose_watery_stools":{"description":"Caller-assigned Franck 2008 Table 4 loose/watery stools from the record in the previous 12 hours (integer 0 or 1): 0 none, 1 any loose or watery stools. magent does not observe the child.","type":"integer"},"muscle_tone":{"description":"Caller-assigned Franck 2008 Table 4 1-minute stimulus muscle tone (integer 0 or 1): 0 normal, 1 increased. magent does not observe the child.","type":"integer"},"startle_to_touch":{"description":"Caller-assigned Franck 2008 Table 4 1-minute stimulus startle to touch (integer 0 or 1): 0 none/mild, 1 moderate/severe. magent does not observe the child.","type":"integer"},"state":{"description":"Caller-assigned Franck 2008 Table 4 2-minute pre-stimulus state (integer 0 or 1): 0 SBS ≤0 or asleep/awake/calm, 1 SBS ≥+1 or awake/distressed. magent does not observe the child.","type":"integer"},"sweating":{"description":"Caller-assigned Franck 2008 Table 4 2-minute pre-stimulus sweating (integer 0 or 1): 0 no, 1 any sweating. magent does not observe the child.","type":"integer"},"temperature_gt_37_8":{"description":"Caller-assigned Franck 2008 Table 4 modal temperature > 37.8°C from the record in the previous 12 hours (integer 0 or 1): 0 no, 1 yes. magent does not observe the child.","type":"integer"},"time_to_calm":{"description":"Caller-assigned Franck 2008 Table 4 post-stimulus time to gain a calm state (integer 0, 1, or 2): 0 if <2 min, 1 if 2-5 min, 2 if >5 min. magent does not observe the child.","type":"integer"},"tremor":{"description":"Caller-assigned Franck 2008 Table 4 2-minute pre-stimulus tremor (integer 0 or 1): 0 none/mild, 1 moderate/severe. magent does not observe the child.","type":"integer"},"uncoordinated_repetitive_movement":{"description":"Caller-assigned Franck 2008 Table 4 2-minute pre-stimulus uncoordinated or repetitive movement (integer 0 or 1): 0 none/mild, 1 moderate/severe. magent does not observe the child.","type":"integer"},"vomiting_retching_gagging":{"description":"Caller-assigned Franck 2008 Table 4 vomiting, retching, or gagging from the record in the previous 12 hours (integer 0 or 1): 0 none, 1 any vomiting, retching, or gagging. magent does not observe the child.","type":"integer"},"yawning_or_sneezing":{"description":"Caller-assigned Franck 2008 Table 4 2-minute pre-stimulus yawning or sneezing (integer 0 or 1): 0 none or 1 yawn/sneeze, 1 two or more. magent does not observe the child.","type":"integer"}},"required":["loose_watery_stools","vomiting_retching_gagging","temperature_gt_37_8","state","tremor","sweating","uncoordinated_repetitive_movement","yawning_or_sneezing","startle_to_touch","muscle_tone","time_to_calm"],"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},{"id":38757,"slug":"38757","resource":"https://api.magentlab.com/api/calc/villalta","description":"Kahn 2009 Villalta scale (ISTH SSC): five caller-assigned symptoms and six signs, each 0-3 (none/mild/moderate/severe), summed 0-33. Venous ulcer is a separate boolean and is not added as 15 points. PTS if score ≥5 or ulcer; bands none 0-4 (no ulcer), mild 5-9, moderate 10-14, severe if ≥15 or ulcer. magent does not examine the limb. Not CEAP, not VCSS, not Ginsberg PTS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cramps":0,"heaviness":0,"hyperpigmentation":0,"pain":0,"pain_on_calf_compression":0,"paresthesia":0,"pretibial_edema":0,"pruritus":0,"redness":0,"skin_induration":0,"ulcer":false,"venous_ectasia":0},{"cramps":0,"heaviness":0,"hyperpigmentation":0,"pain":0,"pain_on_calf_compression":0,"paresthesia":0,"pretibial_edema":0,"pruritus":0,"redness":0,"skin_induration":0,"ulcer":false,"venous_ectasia":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kahn SR","doi":"10.1111/j.1538-7836.2009.03339.x","id":"kahn-2009","pmid":"19320818","source":"J Thromb Haemost. 2009;7(5):884-888","title":"Measurement properties of the Villalta scale to define and classify the severity of the post-thrombotic syndrome"},"components":[{"factor":"pain","points":0,"present":true,"value":0},{"factor":"cramps","points":0,"present":true,"value":0},{"factor":"heaviness","points":0,"present":true,"value":0},{"factor":"pruritus","points":0,"present":true,"value":0},{"factor":"paresthesia","points":0,"present":true,"value":0},{"factor":"pretibial_edema","points":0,"present":true,"value":0},{"factor":"skin_induration","points":0,"present":true,"value":0},{"factor":"hyperpigmentation","points":0,"present":true,"value":0},{"factor":"venous_ectasia","points":0,"present":true,"value":0},{"factor":"redness","points":0,"present":true,"value":0},{"factor":"pain_on_calf_compression","points":0,"present":true,"value":0}],"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":"villalta","formula_expression":"Villalta = pain + cramps + heaviness + pruritus + paresthesia + pretibial_edema + skin_induration + hyperpigmentation + venous_ectasia + redness + pain_on_calf_compression; each caller-assigned 0-3; max 33; ulcer is a separate boolean and is not added to the score; PTS if score ≥5 or ulcer; none 0-4 (no ulcer); mild 5-9; moderate 10-14; severe if score ≥15 or ulcer","max_score":33,"pts":false,"pts_band":"none","score":0,"ulcer":false},{"citation":{"authors":"Kahn SR","doi":"10.1111/j.1538-7836.2009.03339.x","id":"kahn-2009","pmid":"19320818","source":"J Thromb Haemost. 2009;7(5):884-888","title":"Measurement properties of the Villalta scale to define and classify the severity of the post-thrombotic syndrome"},"components":[{"factor":"pain","points":0,"present":true,"value":0},{"factor":"cramps","points":0,"present":true,"value":0},{"factor":"heaviness","points":0,"present":true,"value":0},{"factor":"pruritus","points":0,"present":true,"value":0},{"factor":"paresthesia","points":0,"present":true,"value":0},{"factor":"pretibial_edema","points":0,"present":true,"value":0},{"factor":"skin_induration","points":0,"present":true,"value":0},{"factor":"hyperpigmentation","points":0,"present":true,"value":0},{"factor":"venous_ectasia","points":0,"present":true,"value":0},{"factor":"redness","points":0,"present":true,"value":0},{"factor":"pain_on_calf_compression","points":0,"present":true,"value":0}],"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":"villalta","formula_expression":"Villalta = pain + cramps + heaviness + pruritus + paresthesia + pretibial_edema + skin_induration + hyperpigmentation + venous_ectasia + redness + pain_on_calf_compression; each caller-assigned 0-3; max 33; ulcer is a separate boolean and is not added to the score; PTS if score ≥5 or ulcer; none 0-4 (no ulcer); mild 5-9; moderate 10-14; severe if score ≥15 or ulcer","max_score":33,"pts":false,"pts_band":"none","score":0,"ulcer":false}],"path":"/api/calc/villalta"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cramps":{"description":"Caller-assigned Kahn 2009 Villalta symptom cramps (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"heaviness":{"description":"Caller-assigned Kahn 2009 Villalta symptom heaviness (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"hyperpigmentation":{"description":"Caller-assigned Kahn 2009 Villalta sign hyperpigmentation (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"pain":{"description":"Caller-assigned Kahn 2009 Villalta symptom pain (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"pain_on_calf_compression":{"description":"Caller-assigned Kahn 2009 Villalta sign pain on calf compression (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"paresthesia":{"description":"Caller-assigned Kahn 2009 Villalta symptom paresthesia (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"pretibial_edema":{"description":"Caller-assigned Kahn 2009 Villalta sign pretibial edema (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"pruritus":{"description":"Caller-assigned Kahn 2009 Villalta symptom pruritus (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"redness":{"description":"Caller-assigned Kahn 2009 Villalta sign redness (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"skin_induration":{"description":"Caller-assigned Kahn 2009 Villalta sign skin induration (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"ulcer":{"description":"Caller-assigned venous ulcer (true or false). Presence classifies PTS as severe (Kahn 2009) and does not add 15 to the numeric score. magent does not examine the limb.","type":"boolean"},"venous_ectasia":{"description":"Caller-assigned Kahn 2009 Villalta sign venous ectasia (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"}},"required":["pain","cramps","heaviness","pruritus","paresthesia","pretibial_edema","skin_induration","hyperpigmentation","venous_ectasia","redness","pain_on_calf_compression","ulcer"],"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":["villalta","pts","vte","thrombosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:51:21.741Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:51:21.606Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cramps":0,"heaviness":0,"hyperpigmentation":0,"pain":0,"pain_on_calf_compression":0,"paresthesia":0,"pretibial_edema":0,"pruritus":0,"redness":0,"skin_induration":0,"ulcer":false,"venous_ectasia":0},{"cramps":0,"heaviness":0,"hyperpigmentation":0,"pain":0,"pain_on_calf_compression":0,"paresthesia":0,"pretibial_edema":0,"pruritus":0,"redness":0,"skin_induration":0,"ulcer":false,"venous_ectasia":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kahn SR","doi":"10.1111/j.1538-7836.2009.03339.x","id":"kahn-2009","pmid":"19320818","source":"J Thromb Haemost. 2009;7(5):884-888","title":"Measurement properties of the Villalta scale to define and classify the severity of the post-thrombotic syndrome"},"components":[{"factor":"pain","points":0,"present":true,"value":0},{"factor":"cramps","points":0,"present":true,"value":0},{"factor":"heaviness","points":0,"present":true,"value":0},{"factor":"pruritus","points":0,"present":true,"value":0},{"factor":"paresthesia","points":0,"present":true,"value":0},{"factor":"pretibial_edema","points":0,"present":true,"value":0},{"factor":"skin_induration","points":0,"present":true,"value":0},{"factor":"hyperpigmentation","points":0,"present":true,"value":0},{"factor":"venous_ectasia","points":0,"present":true,"value":0},{"factor":"redness","points":0,"present":true,"value":0},{"factor":"pain_on_calf_compression","points":0,"present":true,"value":0}],"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":"villalta","formula_expression":"Villalta = pain + cramps + heaviness + pruritus + paresthesia + pretibial_edema + skin_induration + hyperpigmentation + venous_ectasia + redness + pain_on_calf_compression; each caller-assigned 0-3; max 33; ulcer is a separate boolean and is not added to the score; PTS if score ≥5 or ulcer; none 0-4 (no ulcer); mild 5-9; moderate 10-14; severe if score ≥15 or ulcer","max_score":33,"pts":false,"pts_band":"none","score":0,"ulcer":false},{"citation":{"authors":"Kahn SR","doi":"10.1111/j.1538-7836.2009.03339.x","id":"kahn-2009","pmid":"19320818","source":"J Thromb Haemost. 2009;7(5):884-888","title":"Measurement properties of the Villalta scale to define and classify the severity of the post-thrombotic syndrome"},"components":[{"factor":"pain","points":0,"present":true,"value":0},{"factor":"cramps","points":0,"present":true,"value":0},{"factor":"heaviness","points":0,"present":true,"value":0},{"factor":"pruritus","points":0,"present":true,"value":0},{"factor":"paresthesia","points":0,"present":true,"value":0},{"factor":"pretibial_edema","points":0,"present":true,"value":0},{"factor":"skin_induration","points":0,"present":true,"value":0},{"factor":"hyperpigmentation","points":0,"present":true,"value":0},{"factor":"venous_ectasia","points":0,"present":true,"value":0},{"factor":"redness","points":0,"present":true,"value":0},{"factor":"pain_on_calf_compression","points":0,"present":true,"value":0}],"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":"villalta","formula_expression":"Villalta = pain + cramps + heaviness + pruritus + paresthesia + pretibial_edema + skin_induration + hyperpigmentation + venous_ectasia + redness + pain_on_calf_compression; each caller-assigned 0-3; max 33; ulcer is a separate boolean and is not added to the score; PTS if score ≥5 or ulcer; none 0-4 (no ulcer); mild 5-9; moderate 10-14; severe if score ≥15 or ulcer","max_score":33,"pts":false,"pts_band":"none","score":0,"ulcer":false}],"path":"/api/calc/villalta"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cramps":{"description":"Caller-assigned Kahn 2009 Villalta symptom cramps (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"heaviness":{"description":"Caller-assigned Kahn 2009 Villalta symptom heaviness (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"hyperpigmentation":{"description":"Caller-assigned Kahn 2009 Villalta sign hyperpigmentation (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"pain":{"description":"Caller-assigned Kahn 2009 Villalta symptom pain (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"pain_on_calf_compression":{"description":"Caller-assigned Kahn 2009 Villalta sign pain on calf compression (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"paresthesia":{"description":"Caller-assigned Kahn 2009 Villalta symptom paresthesia (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"pretibial_edema":{"description":"Caller-assigned Kahn 2009 Villalta sign pretibial edema (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"pruritus":{"description":"Caller-assigned Kahn 2009 Villalta symptom pruritus (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"redness":{"description":"Caller-assigned Kahn 2009 Villalta sign redness (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"skin_induration":{"description":"Caller-assigned Kahn 2009 Villalta sign skin induration (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"},"ulcer":{"description":"Caller-assigned venous ulcer (true or false). Presence classifies PTS as severe (Kahn 2009) and does not add 15 to the numeric score. magent does not examine the limb.","type":"boolean"},"venous_ectasia":{"description":"Caller-assigned Kahn 2009 Villalta sign venous ectasia (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.","type":"integer"}},"required":["pain","cramps","heaviness","pruritus","paresthesia","pretibial_edema","skin_induration","hyperpigmentation","venous_ectasia","redness","pain_on_calf_compression","ulcer"],"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},{"id":38758,"slug":"38758","resource":"https://api.magentlab.com/api/calc/vacs_1","description":"Tate 2013 VACS Index 1.0 (not VACS 2.0): age, CD4, HIV-1 RNA, hemoglobin g/dL, caller-assigned FIB-4 and eGFR, and hepatitis C. Points 0-164. No published named mortality bands. magent does not compute FIB-4 or MDRD/CKD-EPI and does not order ART.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"cd4_cells_mm3":600,"egfr_ml_min_1_73m2":90,"fib4":1,"hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":200},{"age":40,"cd4_cells_mm3":600,"egfr_ml_min_1_73m2":90,"fib4":1,"hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"cd4_cells_mm3":600,"citation":{"authors":"Tate JP, Justice AC, Hughes MD, Bonnet F, Reiss P, Mocroft A, et al.","doi":"10.1097/QAD.0b013e32835b8c7f","id":"tate-2013","pmid":"23242319","source":"AIDS. 2013;27(4):563-572","title":"The VACS Index: An internationally generalizable risk index for mortality after one year of antiretroviral therapy"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"cd4_cells_mm3","points":0,"present":false,"value":600},{"factor":"hiv_rna_copies_ml","points":0,"present":false,"value":200},{"factor":"hemoglobin_g_dl","points":0,"present":false,"value":15},{"factor":"fib4","points":0,"present":false,"value":1},{"factor":"egfr_ml_min_1_73m2","points":0,"present":false,"value":90},{"factor":"hepatitis_c","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.","egfr_ml_min_1_73m2":90,"fib4":1,"formula":"vacs_1","formula_expression":"VACS 1.0 = age (<50 0; 50-64 12; ≥65 27) + cd4_cells_mm3 (≥500 0; 350-499 6; 200-349 6; 100-199 10; 50-99 28; <50 29) + hiv_rna_copies_ml (<500 0; 500-99999 7; ≥100000 14) + hemoglobin_g_dl (≥14 0; 12-13.9 10; 10-11.9 22; <10 38) + fib4 (<1.45 0; 1.45-3.25 6; >3.25 25) + egfr_ml_min_1_73m2 (≥60 0; 45-59.9 6; 30-44.9 8; <30 26) + hepatitis_c 5; Tate 2013 VACS Index column (Brown 2014 Table 1 reprint); max 164; caller-assigned FIB-4 and eGFR; not VACS 2.0","hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":200,"max_score":164,"score":0},{"age":40,"cd4_cells_mm3":600,"citation":{"authors":"Tate JP, Justice AC, Hughes MD, Bonnet F, Reiss P, Mocroft A, et al.","doi":"10.1097/QAD.0b013e32835b8c7f","id":"tate-2013","pmid":"23242319","source":"AIDS. 2013;27(4):563-572","title":"The VACS Index: An internationally generalizable risk index for mortality after one year of antiretroviral therapy"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"cd4_cells_mm3","points":0,"present":false,"value":600},{"factor":"hiv_rna_copies_ml","points":0,"present":false,"value":200},{"factor":"hemoglobin_g_dl","points":0,"present":false,"value":15},{"factor":"fib4","points":0,"present":false,"value":1},{"factor":"egfr_ml_min_1_73m2","points":0,"present":false,"value":90},{"factor":"hepatitis_c","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.","egfr_ml_min_1_73m2":90,"fib4":1,"formula":"vacs_1","formula_expression":"VACS 1.0 = age (<50 0; 50-64 12; ≥65 27) + cd4_cells_mm3 (≥500 0; 350-499 6; 200-349 6; 100-199 10; 50-99 28; <50 29) + hiv_rna_copies_ml (<500 0; 500-99999 7; ≥100000 14) + hemoglobin_g_dl (≥14 0; 12-13.9 10; 10-11.9 22; <10 38) + fib4 (<1.45 0; 1.45-3.25 6; >3.25 25) + egfr_ml_min_1_73m2 (≥60 0; 45-59.9 6; 30-44.9 8; <30 26) + hepatitis_c 5; Tate 2013 VACS Index column (Brown 2014 Table 1 reprint); max 164; caller-assigned FIB-4 and eGFR; not VACS 2.0","hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":200,"max_score":164,"score":0}],"path":"/api/calc/vacs_1"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Tate 2013 VACS Index: <50 scores 0; 50-64 scores 12; ≥65 scores 27.","type":"integer"},"cd4_cells_mm3":{"description":"CD4 count in cells/mm³ (integer 1-2000). Tate 2013: ≥500 scores 0; 350-499 scores 6; 200-349 scores 6; 100-199 scores 10; 50-99 scores 28; <50 scores 29. magent does not assay CD4.","type":"integer"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m² (5-200). Tate 2013: ≥60 scores 0; 45-59.9 scores 6; 30-44.9 scores 8; <30 scores 26. magent does not compute MDRD or CKD-EPI.","type":"number"},"fib4":{"description":"Caller-assigned FIB-4 (0.1-20). Tate 2013: <1.45 scores 0; 1.45-3.25 scores 6; >3.25 scores 25. magent does not recompute FIB-4.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Tate 2013: ≥14 scores 0; 12-13.9 scores 10; 10-11.9 scores 22; <10 scores 38. magent does not assay hemoglobin.","type":"number"},"hepatitis_c":{"description":"Caller-assigned hepatitis C co-infection (Tate 2013). true scores 5. magent does not diagnose hepatitis C.","type":"boolean"},"hiv_rna_copies_ml":{"description":"HIV-1 RNA in copies/mL (0-10000000). Tate 2013: <500 scores 0; 500-99999 scores 7; ≥100000 scores 14. magent does not assay viral load.","type":"number"}},"required":["age","cd4_cells_mm3","hiv_rna_copies_ml","hemoglobin_g_dl","fib4","egfr_ml_min_1_73m2","hepatitis_c"],"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":["vacs-1","hiv","mortality","art","infection","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:51:20.268Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:51:20.097Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"cd4_cells_mm3":600,"egfr_ml_min_1_73m2":90,"fib4":1,"hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":200},{"age":40,"cd4_cells_mm3":600,"egfr_ml_min_1_73m2":90,"fib4":1,"hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"cd4_cells_mm3":600,"citation":{"authors":"Tate JP, Justice AC, Hughes MD, Bonnet F, Reiss P, Mocroft A, et al.","doi":"10.1097/QAD.0b013e32835b8c7f","id":"tate-2013","pmid":"23242319","source":"AIDS. 2013;27(4):563-572","title":"The VACS Index: An internationally generalizable risk index for mortality after one year of antiretroviral therapy"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"cd4_cells_mm3","points":0,"present":false,"value":600},{"factor":"hiv_rna_copies_ml","points":0,"present":false,"value":200},{"factor":"hemoglobin_g_dl","points":0,"present":false,"value":15},{"factor":"fib4","points":0,"present":false,"value":1},{"factor":"egfr_ml_min_1_73m2","points":0,"present":false,"value":90},{"factor":"hepatitis_c","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.","egfr_ml_min_1_73m2":90,"fib4":1,"formula":"vacs_1","formula_expression":"VACS 1.0 = age (<50 0; 50-64 12; ≥65 27) + cd4_cells_mm3 (≥500 0; 350-499 6; 200-349 6; 100-199 10; 50-99 28; <50 29) + hiv_rna_copies_ml (<500 0; 500-99999 7; ≥100000 14) + hemoglobin_g_dl (≥14 0; 12-13.9 10; 10-11.9 22; <10 38) + fib4 (<1.45 0; 1.45-3.25 6; >3.25 25) + egfr_ml_min_1_73m2 (≥60 0; 45-59.9 6; 30-44.9 8; <30 26) + hepatitis_c 5; Tate 2013 VACS Index column (Brown 2014 Table 1 reprint); max 164; caller-assigned FIB-4 and eGFR; not VACS 2.0","hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":200,"max_score":164,"score":0},{"age":40,"cd4_cells_mm3":600,"citation":{"authors":"Tate JP, Justice AC, Hughes MD, Bonnet F, Reiss P, Mocroft A, et al.","doi":"10.1097/QAD.0b013e32835b8c7f","id":"tate-2013","pmid":"23242319","source":"AIDS. 2013;27(4):563-572","title":"The VACS Index: An internationally generalizable risk index for mortality after one year of antiretroviral therapy"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"cd4_cells_mm3","points":0,"present":false,"value":600},{"factor":"hiv_rna_copies_ml","points":0,"present":false,"value":200},{"factor":"hemoglobin_g_dl","points":0,"present":false,"value":15},{"factor":"fib4","points":0,"present":false,"value":1},{"factor":"egfr_ml_min_1_73m2","points":0,"present":false,"value":90},{"factor":"hepatitis_c","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.","egfr_ml_min_1_73m2":90,"fib4":1,"formula":"vacs_1","formula_expression":"VACS 1.0 = age (<50 0; 50-64 12; ≥65 27) + cd4_cells_mm3 (≥500 0; 350-499 6; 200-349 6; 100-199 10; 50-99 28; <50 29) + hiv_rna_copies_ml (<500 0; 500-99999 7; ≥100000 14) + hemoglobin_g_dl (≥14 0; 12-13.9 10; 10-11.9 22; <10 38) + fib4 (<1.45 0; 1.45-3.25 6; >3.25 25) + egfr_ml_min_1_73m2 (≥60 0; 45-59.9 6; 30-44.9 8; <30 26) + hepatitis_c 5; Tate 2013 VACS Index column (Brown 2014 Table 1 reprint); max 164; caller-assigned FIB-4 and eGFR; not VACS 2.0","hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":200,"max_score":164,"score":0}],"path":"/api/calc/vacs_1"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Tate 2013 VACS Index: <50 scores 0; 50-64 scores 12; ≥65 scores 27.","type":"integer"},"cd4_cells_mm3":{"description":"CD4 count in cells/mm³ (integer 1-2000). Tate 2013: ≥500 scores 0; 350-499 scores 6; 200-349 scores 6; 100-199 scores 10; 50-99 scores 28; <50 scores 29. magent does not assay CD4.","type":"integer"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m² (5-200). Tate 2013: ≥60 scores 0; 45-59.9 scores 6; 30-44.9 scores 8; <30 scores 26. magent does not compute MDRD or CKD-EPI.","type":"number"},"fib4":{"description":"Caller-assigned FIB-4 (0.1-20). Tate 2013: <1.45 scores 0; 1.45-3.25 scores 6; >3.25 scores 25. magent does not recompute FIB-4.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Tate 2013: ≥14 scores 0; 12-13.9 scores 10; 10-11.9 scores 22; <10 scores 38. magent does not assay hemoglobin.","type":"number"},"hepatitis_c":{"description":"Caller-assigned hepatitis C co-infection (Tate 2013). true scores 5. magent does not diagnose hepatitis C.","type":"boolean"},"hiv_rna_copies_ml":{"description":"HIV-1 RNA in copies/mL (0-10000000). Tate 2013: <500 scores 0; 500-99999 scores 7; ≥100000 scores 14. magent does not assay viral load.","type":"number"}},"required":["age","cd4_cells_mm3","hiv_rna_copies_ml","hemoglobin_g_dl","fib4","egfr_ml_min_1_73m2","hepatitis_c"],"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},{"id":38759,"slug":"38759","resource":"https://api.magentlab.com/api/calc/uiss","description":"Zisman 2002 localized N0M0 UISS for surgically resected unilateral RCC. Caller-assigned 1997 pathological T (t1-t4), Fuhrman 1-4, ECOG 0-4, and n0_m0 true. Returns low_risk (T1, Fuhrman 1-2, ECOG 0), high_risk (T3 with Fuhrman 2-4 and ECOG ≥1, or any T4), or intermediate_risk (every other N0M0 combination). Not 2001 I-V. Not metastatic UISS. Not SSIGN. magent does not assign TNM or read slides. Not a diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ecog":0,"fuhrman_grade":1,"n0_m0":true,"t_stage":"t1"},{"ecog":0,"fuhrman_grade":1,"n0_m0":true,"t_stage":"t1"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Zisman A, Pantuck AJ, Wieder J, Chao DH, Dorey F, Said JW, deKernion JB, Figlin RA, Belldegrun AS","doi":"10.1200/JCO.2002.05.111","id":"zisman-2002","pmid":"12454113","source":"J Clin Oncol. 2002;20(23):4559-4566","title":"Risk group assessment and clinical outcome algorithm to predict the natural history of patients with surgically resected renal cell carcinoma"},"components":[{"factor":"t_stage","met":true,"value":"t1"},{"factor":"n0_m0","met":true},{"factor":"fuhrman_grade","met":true,"value":1},{"factor":"ecog","met":true,"value":0},{"factor":"low_risk","met":true},{"factor":"intermediate_risk","met":false},{"factor":"high_risk","met":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.","ecog":0,"formula":"uiss","formula_expression":"UISS localized N0M0 (Zisman 2002): low_risk if t_stage t1 AND fuhrman_grade in {1, 2} AND ecog 0; high_risk if (t_stage t3 AND fuhrman_grade in {2, 3, 4} AND ecog >= 1) OR t_stage t4; else intermediate_risk. Requires surgically resected unilateral RCC with 1997 pathological T and explicit N0M0. Not 2001 five-group I-V. Not metastatic UISS. Not SSIGN.","fuhrman_grade":1,"n0_m0":true,"t_stage":"t1","uiss_group":"low_risk"},{"citation":{"authors":"Zisman A, Pantuck AJ, Wieder J, Chao DH, Dorey F, Said JW, deKernion JB, Figlin RA, Belldegrun AS","doi":"10.1200/JCO.2002.05.111","id":"zisman-2002","pmid":"12454113","source":"J Clin Oncol. 2002;20(23):4559-4566","title":"Risk group assessment and clinical outcome algorithm to predict the natural history of patients with surgically resected renal cell carcinoma"},"components":[{"factor":"t_stage","met":true,"value":"t1"},{"factor":"n0_m0","met":true},{"factor":"fuhrman_grade","met":true,"value":1},{"factor":"ecog","met":true,"value":0},{"factor":"low_risk","met":true},{"factor":"intermediate_risk","met":false},{"factor":"high_risk","met":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.","ecog":0,"formula":"uiss","formula_expression":"UISS localized N0M0 (Zisman 2002): low_risk if t_stage t1 AND fuhrman_grade in {1, 2} AND ecog 0; high_risk if (t_stage t3 AND fuhrman_grade in {2, 3, 4} AND ecog >= 1) OR t_stage t4; else intermediate_risk. Requires surgically resected unilateral RCC with 1997 pathological T and explicit N0M0. Not 2001 five-group I-V. Not metastatic UISS. Not SSIGN.","fuhrman_grade":1,"n0_m0":true,"t_stage":"t1","uiss_group":"low_risk"}],"path":"/api/calc/uiss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecog":{"description":"Oken 1982 ECOG performance status 0-4 as assigned by the caller. Grade 5 (dead) is not scored. magent does not observe the patient.","type":"integer"},"fuhrman_grade":{"description":"Fuhrman 1982 nuclear grade 1-4 as assigned by the caller (same parsing as Fuhrman). Integer 1-4 only; reject 0, 5, 1.5, and roman I. magent does not read slides.","type":"integer"},"n0_m0":{"description":"Must be true: surgically resected unilateral RCC that is node-negative and metastasis-negative (Zisman 2002 localized N0M0 UISS). N-positive or M-positive disease is out of scope. Not metastatic UISS.","type":"boolean"},"t_stage":{"description":"1997 pathological T as assigned by the caller (Zisman 2002 localized UISS). t1, t2, t3, or t4. Caller maps T1a/T1b to t1. magent does not assign TNM or read slides.","enum":["t1","t2","t3","t4"],"type":"string"}},"required":["t_stage","n0_m0","fuhrman_grade","ecog"],"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":["uiss","rcc","kidney","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:46:19.408Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:46:19.307Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ecog":0,"fuhrman_grade":1,"n0_m0":true,"t_stage":"t1"},{"ecog":0,"fuhrman_grade":1,"n0_m0":true,"t_stage":"t1"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Zisman A, Pantuck AJ, Wieder J, Chao DH, Dorey F, Said JW, deKernion JB, Figlin RA, Belldegrun AS","doi":"10.1200/JCO.2002.05.111","id":"zisman-2002","pmid":"12454113","source":"J Clin Oncol. 2002;20(23):4559-4566","title":"Risk group assessment and clinical outcome algorithm to predict the natural history of patients with surgically resected renal cell carcinoma"},"components":[{"factor":"t_stage","met":true,"value":"t1"},{"factor":"n0_m0","met":true},{"factor":"fuhrman_grade","met":true,"value":1},{"factor":"ecog","met":true,"value":0},{"factor":"low_risk","met":true},{"factor":"intermediate_risk","met":false},{"factor":"high_risk","met":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.","ecog":0,"formula":"uiss","formula_expression":"UISS localized N0M0 (Zisman 2002): low_risk if t_stage t1 AND fuhrman_grade in {1, 2} AND ecog 0; high_risk if (t_stage t3 AND fuhrman_grade in {2, 3, 4} AND ecog >= 1) OR t_stage t4; else intermediate_risk. Requires surgically resected unilateral RCC with 1997 pathological T and explicit N0M0. Not 2001 five-group I-V. Not metastatic UISS. Not SSIGN.","fuhrman_grade":1,"n0_m0":true,"t_stage":"t1","uiss_group":"low_risk"},{"citation":{"authors":"Zisman A, Pantuck AJ, Wieder J, Chao DH, Dorey F, Said JW, deKernion JB, Figlin RA, Belldegrun AS","doi":"10.1200/JCO.2002.05.111","id":"zisman-2002","pmid":"12454113","source":"J Clin Oncol. 2002;20(23):4559-4566","title":"Risk group assessment and clinical outcome algorithm to predict the natural history of patients with surgically resected renal cell carcinoma"},"components":[{"factor":"t_stage","met":true,"value":"t1"},{"factor":"n0_m0","met":true},{"factor":"fuhrman_grade","met":true,"value":1},{"factor":"ecog","met":true,"value":0},{"factor":"low_risk","met":true},{"factor":"intermediate_risk","met":false},{"factor":"high_risk","met":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.","ecog":0,"formula":"uiss","formula_expression":"UISS localized N0M0 (Zisman 2002): low_risk if t_stage t1 AND fuhrman_grade in {1, 2} AND ecog 0; high_risk if (t_stage t3 AND fuhrman_grade in {2, 3, 4} AND ecog >= 1) OR t_stage t4; else intermediate_risk. Requires surgically resected unilateral RCC with 1997 pathological T and explicit N0M0. Not 2001 five-group I-V. Not metastatic UISS. Not SSIGN.","fuhrman_grade":1,"n0_m0":true,"t_stage":"t1","uiss_group":"low_risk"}],"path":"/api/calc/uiss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecog":{"description":"Oken 1982 ECOG performance status 0-4 as assigned by the caller. Grade 5 (dead) is not scored. magent does not observe the patient.","type":"integer"},"fuhrman_grade":{"description":"Fuhrman 1982 nuclear grade 1-4 as assigned by the caller (same parsing as Fuhrman). Integer 1-4 only; reject 0, 5, 1.5, and roman I. magent does not read slides.","type":"integer"},"n0_m0":{"description":"Must be true: surgically resected unilateral RCC that is node-negative and metastasis-negative (Zisman 2002 localized N0M0 UISS). N-positive or M-positive disease is out of scope. Not metastatic UISS.","type":"boolean"},"t_stage":{"description":"1997 pathological T as assigned by the caller (Zisman 2002 localized UISS). t1, t2, t3, or t4. Caller maps T1a/T1b to t1. magent does not assign TNM or read slides.","enum":["t1","t2","t3","t4"],"type":"string"}},"required":["t_stage","n0_m0","fuhrman_grade","ecog"],"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},{"id":38760,"slug":"38760","resource":"https://api.magentlab.com/api/calc/tokyo_cholangitis","description":"Kiriyama 2018 TG18 (=TG13) cholangitis. Definite if one A (fever/chills or elevated WBC/CRP), one B (jaundice or abnormal LFTs), and one C (dilatation or etiology); suspected if A plus B or C; else none. Grade III if any organ dysfunction, else Grade II if any two of WBC, fever >=39C, age >=75, bilirubin >=5, or hypoalbuminemia, else Grade I. Severity none if diagnosis none. Not cholecystitis or Alvarado/RIPASA. magent does not examine, assay, or read imaging. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_lfts":false,"age":60,"biliary_dilatation":false,"bilirubin_ge_5":false,"decreased_consciousness":false,"elevated_wbc_or_crp":false,"etiology_on_imaging":false,"fever_ge_39":false,"fever_or_chills":false,"hypoalbuminemia":false,"hypotension_vasopressors":false,"jaundice":false,"oliguria_or_creatinine_gt_2":false,"pfr_lt_300":false,"platelets_lt_100k":false,"pt_inr_gt_1_5":false,"wbc_gt_12k_or_lt_4k":false},{"abnormal_lfts":false,"age":60,"biliary_dilatation":false,"bilirubin_ge_5":false,"decreased_consciousness":false,"elevated_wbc_or_crp":false,"etiology_on_imaging":false,"fever_ge_39":false,"fever_or_chills":false,"hypoalbuminemia":false,"hypotension_vasopressors":false,"jaundice":false,"oliguria_or_creatinine_gt_2":false,"pfr_lt_300":false,"platelets_lt_100k":false,"pt_inr_gt_1_5":false,"wbc_gt_12k_or_lt_4k":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kiriyama S, Kozaka K, Takada T, et al.","doi":"10.1002/jhbp.512","id":"kiriyama-2018","pmid":"29032610","source":"J Hepatobiliary Pancreat Sci. 2018;25(1):17-30","title":"Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholangitis (with videos)."},"criteria":[{"factor":"systemic_inflammation","met":false},{"factor":"cholestasis","met":false},{"factor":"imaging","met":false},{"factor":"grade_iii_any","met":false},{"factor":"grade_ii_two","met":false},{"factor":"age_ge_75","met":false,"value":60},{"factor":"fever_or_chills","met":false},{"factor":"elevated_wbc_or_crp","met":false},{"factor":"jaundice","met":false},{"factor":"abnormal_lfts","met":false},{"factor":"biliary_dilatation","met":false},{"factor":"etiology_on_imaging","met":false},{"factor":"hypotension_vasopressors","met":false},{"factor":"decreased_consciousness","met":false},{"factor":"pfr_lt_300","met":false},{"factor":"oliguria_or_creatinine_gt_2","met":false},{"factor":"pt_inr_gt_1_5","met":false},{"factor":"platelets_lt_100k","met":false},{"factor":"wbc_gt_12k_or_lt_4k","met":false},{"factor":"fever_ge_39","met":false},{"factor":"bilirubin_ge_5","met":false},{"factor":"hypoalbuminemia","met":false}],"diagnosis":"none","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":"tokyo_cholangitis","formula_expression":"definite iff one A (fever_or_chills or elevated_wbc_or_crp) and one B (jaundice or abnormal_lfts) and one C (biliary_dilatation or etiology_on_imaging); suspected iff one A and one item in either B or C (not all three); else none. When diagnosis is suspected or definite: grade_iii if any organ-dysfunction flag (hypotension_vasopressors, decreased_consciousness, pfr_lt_300, oliguria_or_creatinine_gt_2, pt_inr_gt_1_5, platelets_lt_100k), else grade_ii if any two Grade II items (wbc_gt_12k_or_lt_4k, fever_ge_39, age>=75, bilirubin_ge_5, hypoalbuminemia), else grade_i. When diagnosis is none, severity is none (Kiriyama 2018 TG18 = TG13 unmodified)","severity":"none"},{"citation":{"authors":"Kiriyama S, Kozaka K, Takada T, et al.","doi":"10.1002/jhbp.512","id":"kiriyama-2018","pmid":"29032610","source":"J Hepatobiliary Pancreat Sci. 2018;25(1):17-30","title":"Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholangitis (with videos)."},"criteria":[{"factor":"systemic_inflammation","met":false},{"factor":"cholestasis","met":false},{"factor":"imaging","met":false},{"factor":"grade_iii_any","met":false},{"factor":"grade_ii_two","met":false},{"factor":"age_ge_75","met":false,"value":60},{"factor":"fever_or_chills","met":false},{"factor":"elevated_wbc_or_crp","met":false},{"factor":"jaundice","met":false},{"factor":"abnormal_lfts","met":false},{"factor":"biliary_dilatation","met":false},{"factor":"etiology_on_imaging","met":false},{"factor":"hypotension_vasopressors","met":false},{"factor":"decreased_consciousness","met":false},{"factor":"pfr_lt_300","met":false},{"factor":"oliguria_or_creatinine_gt_2","met":false},{"factor":"pt_inr_gt_1_5","met":false},{"factor":"platelets_lt_100k","met":false},{"factor":"wbc_gt_12k_or_lt_4k","met":false},{"factor":"fever_ge_39","met":false},{"factor":"bilirubin_ge_5","met":false},{"factor":"hypoalbuminemia","met":false}],"diagnosis":"none","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":"tokyo_cholangitis","formula_expression":"definite iff one A (fever_or_chills or elevated_wbc_or_crp) and one B (jaundice or abnormal_lfts) and one C (biliary_dilatation or etiology_on_imaging); suspected iff one A and one item in either B or C (not all three); else none. When diagnosis is suspected or definite: grade_iii if any organ-dysfunction flag (hypotension_vasopressors, decreased_consciousness, pfr_lt_300, oliguria_or_creatinine_gt_2, pt_inr_gt_1_5, platelets_lt_100k), else grade_ii if any two Grade II items (wbc_gt_12k_or_lt_4k, fever_ge_39, age>=75, bilirubin_ge_5, hypoalbuminemia), else grade_i. When diagnosis is none, severity is none (Kiriyama 2018 TG18 = TG13 unmodified)","severity":"none"}],"path":"/api/calc/tokyo_cholangitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_lfts":{"description":"Increased ALP, GGT, AST, or ALT as assigned by the caller (Kiriyama 2018 TG18 B-2). true or false. magent does not assay liver tests.","type":"boolean"},"age":{"description":"Age in years (18-120). Counts as one Kiriyama 2018 TG18 Grade II item when age ≥75. Age 75 meets; age 74 does not. magent does not examine the patient.","type":"integer"},"biliary_dilatation":{"description":"Biliary dilatation as assigned by the caller (Kiriyama 2018 TG18 C-1). true or false. magent does not read imaging.","type":"boolean"},"bilirubin_ge_5":{"description":"Total bilirubin ≥5 mg/dL as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not assay bilirubin.","type":"boolean"},"decreased_consciousness":{"description":"Decreased level of consciousness as assigned by the caller (Kiriyama 2018 TG18 Grade III neurological dysfunction). true or false. magent does not examine the patient.","type":"boolean"},"elevated_wbc_or_crp":{"description":"Laboratory inflammatory response (elevated WBC or CRP) as assigned by the caller (Kiriyama 2018 TG18 A-2). true or false. magent does not assay WBC or CRP.","type":"boolean"},"etiology_on_imaging":{"description":"Evidence of etiology on imaging (stricture, stone, stent, or equivalent) as assigned by the caller (Kiriyama 2018 TG18 C-2). true or false. magent does not read imaging.","type":"boolean"},"fever_ge_39":{"description":"Fever ≥39°C as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not measure temperature.","type":"boolean"},"fever_or_chills":{"description":"Fever and/or shaking chills as assigned by the caller (Kiriyama 2018 TG18 A-1). true or false. magent does not measure temperature or examine the patient.","type":"boolean"},"hypoalbuminemia":{"description":"Albumin <0.7× the local lower limit of normal as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not assay albumin.","type":"boolean"},"hypotension_vasopressors":{"description":"Hypotension requiring dopamine ≥5 µg/kg/min or any norepinephrine as assigned by the caller (Kiriyama 2018 TG18 Grade III cardiovascular dysfunction). true or false. magent does not measure blood pressure or order vasopressors.","type":"boolean"},"jaundice":{"description":"Jaundice as assigned by the caller (Kiriyama 2018 TG18 B-1). true or false. magent does not examine the patient.","type":"boolean"},"oliguria_or_creatinine_gt_2":{"description":"Oliguria or creatinine >2.0 mg/dL as assigned by the caller (Kiriyama 2018 TG18 Grade III renal dysfunction). true or false. magent does not assay creatinine or measure urine output.","type":"boolean"},"pfr_lt_300":{"description":"PaO2/FiO2 <300 as assigned by the caller (Kiriyama 2018 TG18 Grade III respiratory dysfunction). true or false. magent does not interpret blood gas or ventilator settings.","type":"boolean"},"platelets_lt_100k":{"description":"Platelet count <100,000/mm³ as assigned by the caller (Kiriyama 2018 TG18 Grade III hematological dysfunction). true or false. magent does not assay platelets.","type":"boolean"},"pt_inr_gt_1_5":{"description":"PT-INR >1.5 as assigned by the caller (Kiriyama 2018 TG18 Grade III hepatic dysfunction). true or false. magent does not interpret coagulation assays.","type":"boolean"},"wbc_gt_12k_or_lt_4k":{"description":"White blood cell count >12,000/mm³ or <4,000/mm³ as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not assay WBC.","type":"boolean"}},"required":["age","fever_or_chills","elevated_wbc_or_crp","jaundice","abnormal_lfts","biliary_dilatation","etiology_on_imaging","hypotension_vasopressors","decreased_consciousness","pfr_lt_300","oliguria_or_creatinine_gt_2","pt_inr_gt_1_5","platelets_lt_100k","wbc_gt_12k_or_lt_4k","fever_ge_39","bilirubin_ge_5","hypoalbuminemia"],"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":["tokyo-cholangitis","cholangitis","tg18","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:46:18.679Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:46:18.57Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_lfts":false,"age":60,"biliary_dilatation":false,"bilirubin_ge_5":false,"decreased_consciousness":false,"elevated_wbc_or_crp":false,"etiology_on_imaging":false,"fever_ge_39":false,"fever_or_chills":false,"hypoalbuminemia":false,"hypotension_vasopressors":false,"jaundice":false,"oliguria_or_creatinine_gt_2":false,"pfr_lt_300":false,"platelets_lt_100k":false,"pt_inr_gt_1_5":false,"wbc_gt_12k_or_lt_4k":false},{"abnormal_lfts":false,"age":60,"biliary_dilatation":false,"bilirubin_ge_5":false,"decreased_consciousness":false,"elevated_wbc_or_crp":false,"etiology_on_imaging":false,"fever_ge_39":false,"fever_or_chills":false,"hypoalbuminemia":false,"hypotension_vasopressors":false,"jaundice":false,"oliguria_or_creatinine_gt_2":false,"pfr_lt_300":false,"platelets_lt_100k":false,"pt_inr_gt_1_5":false,"wbc_gt_12k_or_lt_4k":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kiriyama S, Kozaka K, Takada T, et al.","doi":"10.1002/jhbp.512","id":"kiriyama-2018","pmid":"29032610","source":"J Hepatobiliary Pancreat Sci. 2018;25(1):17-30","title":"Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholangitis (with videos)."},"criteria":[{"factor":"systemic_inflammation","met":false},{"factor":"cholestasis","met":false},{"factor":"imaging","met":false},{"factor":"grade_iii_any","met":false},{"factor":"grade_ii_two","met":false},{"factor":"age_ge_75","met":false,"value":60},{"factor":"fever_or_chills","met":false},{"factor":"elevated_wbc_or_crp","met":false},{"factor":"jaundice","met":false},{"factor":"abnormal_lfts","met":false},{"factor":"biliary_dilatation","met":false},{"factor":"etiology_on_imaging","met":false},{"factor":"hypotension_vasopressors","met":false},{"factor":"decreased_consciousness","met":false},{"factor":"pfr_lt_300","met":false},{"factor":"oliguria_or_creatinine_gt_2","met":false},{"factor":"pt_inr_gt_1_5","met":false},{"factor":"platelets_lt_100k","met":false},{"factor":"wbc_gt_12k_or_lt_4k","met":false},{"factor":"fever_ge_39","met":false},{"factor":"bilirubin_ge_5","met":false},{"factor":"hypoalbuminemia","met":false}],"diagnosis":"none","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":"tokyo_cholangitis","formula_expression":"definite iff one A (fever_or_chills or elevated_wbc_or_crp) and one B (jaundice or abnormal_lfts) and one C (biliary_dilatation or etiology_on_imaging); suspected iff one A and one item in either B or C (not all three); else none. When diagnosis is suspected or definite: grade_iii if any organ-dysfunction flag (hypotension_vasopressors, decreased_consciousness, pfr_lt_300, oliguria_or_creatinine_gt_2, pt_inr_gt_1_5, platelets_lt_100k), else grade_ii if any two Grade II items (wbc_gt_12k_or_lt_4k, fever_ge_39, age>=75, bilirubin_ge_5, hypoalbuminemia), else grade_i. When diagnosis is none, severity is none (Kiriyama 2018 TG18 = TG13 unmodified)","severity":"none"},{"citation":{"authors":"Kiriyama S, Kozaka K, Takada T, et al.","doi":"10.1002/jhbp.512","id":"kiriyama-2018","pmid":"29032610","source":"J Hepatobiliary Pancreat Sci. 2018;25(1):17-30","title":"Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholangitis (with videos)."},"criteria":[{"factor":"systemic_inflammation","met":false},{"factor":"cholestasis","met":false},{"factor":"imaging","met":false},{"factor":"grade_iii_any","met":false},{"factor":"grade_ii_two","met":false},{"factor":"age_ge_75","met":false,"value":60},{"factor":"fever_or_chills","met":false},{"factor":"elevated_wbc_or_crp","met":false},{"factor":"jaundice","met":false},{"factor":"abnormal_lfts","met":false},{"factor":"biliary_dilatation","met":false},{"factor":"etiology_on_imaging","met":false},{"factor":"hypotension_vasopressors","met":false},{"factor":"decreased_consciousness","met":false},{"factor":"pfr_lt_300","met":false},{"factor":"oliguria_or_creatinine_gt_2","met":false},{"factor":"pt_inr_gt_1_5","met":false},{"factor":"platelets_lt_100k","met":false},{"factor":"wbc_gt_12k_or_lt_4k","met":false},{"factor":"fever_ge_39","met":false},{"factor":"bilirubin_ge_5","met":false},{"factor":"hypoalbuminemia","met":false}],"diagnosis":"none","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":"tokyo_cholangitis","formula_expression":"definite iff one A (fever_or_chills or elevated_wbc_or_crp) and one B (jaundice or abnormal_lfts) and one C (biliary_dilatation or etiology_on_imaging); suspected iff one A and one item in either B or C (not all three); else none. When diagnosis is suspected or definite: grade_iii if any organ-dysfunction flag (hypotension_vasopressors, decreased_consciousness, pfr_lt_300, oliguria_or_creatinine_gt_2, pt_inr_gt_1_5, platelets_lt_100k), else grade_ii if any two Grade II items (wbc_gt_12k_or_lt_4k, fever_ge_39, age>=75, bilirubin_ge_5, hypoalbuminemia), else grade_i. When diagnosis is none, severity is none (Kiriyama 2018 TG18 = TG13 unmodified)","severity":"none"}],"path":"/api/calc/tokyo_cholangitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_lfts":{"description":"Increased ALP, GGT, AST, or ALT as assigned by the caller (Kiriyama 2018 TG18 B-2). true or false. magent does not assay liver tests.","type":"boolean"},"age":{"description":"Age in years (18-120). Counts as one Kiriyama 2018 TG18 Grade II item when age ≥75. Age 75 meets; age 74 does not. magent does not examine the patient.","type":"integer"},"biliary_dilatation":{"description":"Biliary dilatation as assigned by the caller (Kiriyama 2018 TG18 C-1). true or false. magent does not read imaging.","type":"boolean"},"bilirubin_ge_5":{"description":"Total bilirubin ≥5 mg/dL as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not assay bilirubin.","type":"boolean"},"decreased_consciousness":{"description":"Decreased level of consciousness as assigned by the caller (Kiriyama 2018 TG18 Grade III neurological dysfunction). true or false. magent does not examine the patient.","type":"boolean"},"elevated_wbc_or_crp":{"description":"Laboratory inflammatory response (elevated WBC or CRP) as assigned by the caller (Kiriyama 2018 TG18 A-2). true or false. magent does not assay WBC or CRP.","type":"boolean"},"etiology_on_imaging":{"description":"Evidence of etiology on imaging (stricture, stone, stent, or equivalent) as assigned by the caller (Kiriyama 2018 TG18 C-2). true or false. magent does not read imaging.","type":"boolean"},"fever_ge_39":{"description":"Fever ≥39°C as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not measure temperature.","type":"boolean"},"fever_or_chills":{"description":"Fever and/or shaking chills as assigned by the caller (Kiriyama 2018 TG18 A-1). true or false. magent does not measure temperature or examine the patient.","type":"boolean"},"hypoalbuminemia":{"description":"Albumin <0.7× the local lower limit of normal as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not assay albumin.","type":"boolean"},"hypotension_vasopressors":{"description":"Hypotension requiring dopamine ≥5 µg/kg/min or any norepinephrine as assigned by the caller (Kiriyama 2018 TG18 Grade III cardiovascular dysfunction). true or false. magent does not measure blood pressure or order vasopressors.","type":"boolean"},"jaundice":{"description":"Jaundice as assigned by the caller (Kiriyama 2018 TG18 B-1). true or false. magent does not examine the patient.","type":"boolean"},"oliguria_or_creatinine_gt_2":{"description":"Oliguria or creatinine >2.0 mg/dL as assigned by the caller (Kiriyama 2018 TG18 Grade III renal dysfunction). true or false. magent does not assay creatinine or measure urine output.","type":"boolean"},"pfr_lt_300":{"description":"PaO2/FiO2 <300 as assigned by the caller (Kiriyama 2018 TG18 Grade III respiratory dysfunction). true or false. magent does not interpret blood gas or ventilator settings.","type":"boolean"},"platelets_lt_100k":{"description":"Platelet count <100,000/mm³ as assigned by the caller (Kiriyama 2018 TG18 Grade III hematological dysfunction). true or false. magent does not assay platelets.","type":"boolean"},"pt_inr_gt_1_5":{"description":"PT-INR >1.5 as assigned by the caller (Kiriyama 2018 TG18 Grade III hepatic dysfunction). true or false. magent does not interpret coagulation assays.","type":"boolean"},"wbc_gt_12k_or_lt_4k":{"description":"White blood cell count >12,000/mm³ or <4,000/mm³ as assigned by the caller (Kiriyama 2018 TG18 Grade II). true or false. magent does not assay WBC.","type":"boolean"}},"required":["age","fever_or_chills","elevated_wbc_or_crp","jaundice","abnormal_lfts","biliary_dilatation","etiology_on_imaging","hypotension_vasopressors","decreased_consciousness","pfr_lt_300","oliguria_or_creatinine_gt_2","pt_inr_gt_1_5","platelets_lt_100k","wbc_gt_12k_or_lt_4k","fever_ge_39","bilirubin_ge_5","hypoalbuminemia"],"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},{"id":38761,"slug":"38761","resource":"https://api.magentlab.com/api/calc/tisdale","description":"Tisdale 2013 QT prolongation risk score (Table 5): age ≥68 (1), female (1), loop diuretic (1), potassium ≤3.5 mmol/L (2), admission QTc ≥450 ms (2), acute MI (2), sepsis (3), heart failure (3), one QTc-prolonging drug (3) plus ≥2 drugs (3 stacked; max 21). Returns bands 0-6 / 7-10 / ≥11. Deterministic published arithmetic with citation; not a medical device, not a drug-stop protocol, and not a TdP diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_mi":false,"admission_qtc_ms":400,"age":60,"heart_failure":false,"loop_diuretic":false,"potassium_mmol_l":4,"qtc_prolonging_drugs":0,"sepsis":false,"sex":"male"},{"acute_mi":false,"admission_qtc_ms":400,"age":60,"heart_failure":false,"loop_diuretic":false,"potassium_mmol_l":4,"qtc_prolonging_drugs":0,"sepsis":false,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"admission_qtc_ms":400,"age_years":60,"citation":{"authors":"Tisdale JE, Jaynes HA, Kingery JR, et al.","doi":"10.1161/CIRCOUTCOMES.113.000152","id":"tisdale-2013","pmid":"23716032","source":"Circ Cardiovasc Qual Outcomes. 2013;6(4):479-487","title":"Development and validation of a risk score to predict QT interval prolongation in hospitalized patients"},"components":[{"factor":"age_ge_68","points":0,"present":false,"value":60},{"factor":"female","points":0,"present":false},{"factor":"loop_diuretic","points":0,"present":false},{"factor":"potassium_le_3_5","points":0,"present":false,"value":4},{"factor":"admission_qtc_ge_450","points":0,"present":false,"value":400},{"factor":"acute_mi","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"heart_failure","points":0,"present":false},{"factor":"one_qtc_prolonging_drug","points":0,"present":false,"value":0},{"factor":"two_or_more_qtc_prolonging_drugs","points":0,"present":false,"value":0}],"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":"tisdale","formula_expression":"Tisdale = age≥68 1 + female 1 + loop_diuretic 1 + potassium≤3.5 2 + admission_QTc≥450 2 + acute_MI 2 + sepsis 3 + heart_failure 3 + one_QTc_prolonging_drug 3 + ≥2_QTc_prolonging_drugs 3; Table 5; max 21; bands 0-6 / 7-10 / ≥11","max_score":21,"potassium_mmol_l":4,"qtc_prolonging_drugs":0,"score":0,"sex":"male","tisdale_band":"0-6"},{"admission_qtc_ms":400,"age_years":60,"citation":{"authors":"Tisdale JE, Jaynes HA, Kingery JR, et al.","doi":"10.1161/CIRCOUTCOMES.113.000152","id":"tisdale-2013","pmid":"23716032","source":"Circ Cardiovasc Qual Outcomes. 2013;6(4):479-487","title":"Development and validation of a risk score to predict QT interval prolongation in hospitalized patients"},"components":[{"factor":"age_ge_68","points":0,"present":false,"value":60},{"factor":"female","points":0,"present":false},{"factor":"loop_diuretic","points":0,"present":false},{"factor":"potassium_le_3_5","points":0,"present":false,"value":4},{"factor":"admission_qtc_ge_450","points":0,"present":false,"value":400},{"factor":"acute_mi","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"heart_failure","points":0,"present":false},{"factor":"one_qtc_prolonging_drug","points":0,"present":false,"value":0},{"factor":"two_or_more_qtc_prolonging_drugs","points":0,"present":false,"value":0}],"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":"tisdale","formula_expression":"Tisdale = age≥68 1 + female 1 + loop_diuretic 1 + potassium≤3.5 2 + admission_QTc≥450 2 + acute_MI 2 + sepsis 3 + heart_failure 3 + one_QTc_prolonging_drug 3 + ≥2_QTc_prolonging_drugs 3; Table 5; max 21; bands 0-6 / 7-10 / ≥11","max_score":21,"potassium_mmol_l":4,"qtc_prolonging_drugs":0,"score":0,"sex":"male","tisdale_band":"0-6"}],"path":"/api/calc/tisdale"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_mi":{"description":"Acute myocardial infarction (Tisdale 2013 Table 5). true or false. Scores 2 if true.","type":"boolean"},"admission_qtc_ms":{"description":"Admission QTc in milliseconds (200-800). ≥450 scores 2 (Tisdale 2013 Table 5). 450 scores.","type":"number"},"age":{"description":"Age in years (18-120). Age ≥68 scores 1 (Tisdale 2013 Table 5). 67 does not score.","type":"integer"},"heart_failure":{"description":"Left ventricular dysfunction / heart failure (Tisdale 2013 Table 5). true or false. Scores 3 if true.","type":"boolean"},"loop_diuretic":{"description":"Loop diuretic (Tisdale 2013 Table 5). true or false. Scores 1 if true.","type":"boolean"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1.5-8.0). ≤3.5 scores 2 (Tisdale 2013 Table 5). 3.5 scores; 3.51 does not.","type":"number"},"qtc_prolonging_drugs":{"description":"Count of QTc-prolonging drugs (integer 0-20). 0 → 0 points; 1 → 3 points; ≥2 → 6 points (Table 5 one-drug and ≥2-drug rows stack).","type":"integer"},"sepsis":{"description":"Sepsis (Tisdale 2013 Table 5). true or false. Scores 3 if true.","type":"boolean"},"sex":{"description":"female scores 1; male scores 0 (Tisdale 2013 Table 5).","enum":["female","male"],"type":"string"}},"required":["age","sex","loop_diuretic","potassium_mmol_l","admission_qtc_ms","acute_mi","sepsis","heart_failure","qtc_prolonging_drugs"],"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":["tisdale","qtc","qt-prolongation","ecg","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:46:17.909Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:46:17.796Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_mi":false,"admission_qtc_ms":400,"age":60,"heart_failure":false,"loop_diuretic":false,"potassium_mmol_l":4,"qtc_prolonging_drugs":0,"sepsis":false,"sex":"male"},{"acute_mi":false,"admission_qtc_ms":400,"age":60,"heart_failure":false,"loop_diuretic":false,"potassium_mmol_l":4,"qtc_prolonging_drugs":0,"sepsis":false,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"admission_qtc_ms":400,"age_years":60,"citation":{"authors":"Tisdale JE, Jaynes HA, Kingery JR, et al.","doi":"10.1161/CIRCOUTCOMES.113.000152","id":"tisdale-2013","pmid":"23716032","source":"Circ Cardiovasc Qual Outcomes. 2013;6(4):479-487","title":"Development and validation of a risk score to predict QT interval prolongation in hospitalized patients"},"components":[{"factor":"age_ge_68","points":0,"present":false,"value":60},{"factor":"female","points":0,"present":false},{"factor":"loop_diuretic","points":0,"present":false},{"factor":"potassium_le_3_5","points":0,"present":false,"value":4},{"factor":"admission_qtc_ge_450","points":0,"present":false,"value":400},{"factor":"acute_mi","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"heart_failure","points":0,"present":false},{"factor":"one_qtc_prolonging_drug","points":0,"present":false,"value":0},{"factor":"two_or_more_qtc_prolonging_drugs","points":0,"present":false,"value":0}],"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":"tisdale","formula_expression":"Tisdale = age≥68 1 + female 1 + loop_diuretic 1 + potassium≤3.5 2 + admission_QTc≥450 2 + acute_MI 2 + sepsis 3 + heart_failure 3 + one_QTc_prolonging_drug 3 + ≥2_QTc_prolonging_drugs 3; Table 5; max 21; bands 0-6 / 7-10 / ≥11","max_score":21,"potassium_mmol_l":4,"qtc_prolonging_drugs":0,"score":0,"sex":"male","tisdale_band":"0-6"},{"admission_qtc_ms":400,"age_years":60,"citation":{"authors":"Tisdale JE, Jaynes HA, Kingery JR, et al.","doi":"10.1161/CIRCOUTCOMES.113.000152","id":"tisdale-2013","pmid":"23716032","source":"Circ Cardiovasc Qual Outcomes. 2013;6(4):479-487","title":"Development and validation of a risk score to predict QT interval prolongation in hospitalized patients"},"components":[{"factor":"age_ge_68","points":0,"present":false,"value":60},{"factor":"female","points":0,"present":false},{"factor":"loop_diuretic","points":0,"present":false},{"factor":"potassium_le_3_5","points":0,"present":false,"value":4},{"factor":"admission_qtc_ge_450","points":0,"present":false,"value":400},{"factor":"acute_mi","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"heart_failure","points":0,"present":false},{"factor":"one_qtc_prolonging_drug","points":0,"present":false,"value":0},{"factor":"two_or_more_qtc_prolonging_drugs","points":0,"present":false,"value":0}],"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":"tisdale","formula_expression":"Tisdale = age≥68 1 + female 1 + loop_diuretic 1 + potassium≤3.5 2 + admission_QTc≥450 2 + acute_MI 2 + sepsis 3 + heart_failure 3 + one_QTc_prolonging_drug 3 + ≥2_QTc_prolonging_drugs 3; Table 5; max 21; bands 0-6 / 7-10 / ≥11","max_score":21,"potassium_mmol_l":4,"qtc_prolonging_drugs":0,"score":0,"sex":"male","tisdale_band":"0-6"}],"path":"/api/calc/tisdale"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_mi":{"description":"Acute myocardial infarction (Tisdale 2013 Table 5). true or false. Scores 2 if true.","type":"boolean"},"admission_qtc_ms":{"description":"Admission QTc in milliseconds (200-800). ≥450 scores 2 (Tisdale 2013 Table 5). 450 scores.","type":"number"},"age":{"description":"Age in years (18-120). Age ≥68 scores 1 (Tisdale 2013 Table 5). 67 does not score.","type":"integer"},"heart_failure":{"description":"Left ventricular dysfunction / heart failure (Tisdale 2013 Table 5). true or false. Scores 3 if true.","type":"boolean"},"loop_diuretic":{"description":"Loop diuretic (Tisdale 2013 Table 5). true or false. Scores 1 if true.","type":"boolean"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1.5-8.0). ≤3.5 scores 2 (Tisdale 2013 Table 5). 3.5 scores; 3.51 does not.","type":"number"},"qtc_prolonging_drugs":{"description":"Count of QTc-prolonging drugs (integer 0-20). 0 → 0 points; 1 → 3 points; ≥2 → 6 points (Table 5 one-drug and ≥2-drug rows stack).","type":"integer"},"sepsis":{"description":"Sepsis (Tisdale 2013 Table 5). true or false. Scores 3 if true.","type":"boolean"},"sex":{"description":"female scores 1; male scores 0 (Tisdale 2013 Table 5).","enum":["female","male"],"type":"string"}},"required":["age","sex","loop_diuretic","potassium_mmol_l","admission_qtc_ms","acute_mi","sepsis","heart_failure","qtc_prolonging_drugs"],"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},{"id":38762,"slug":"38762","resource":"https://api.magentlab.com/api/calc/t_macs","description":"Body 2016 T-MACS logistic ACS probability from caller-assigned ECG ischaemia, worsening angina, right-arm radiation, vomiting, observed sweating, hypotension (SBP <100), and Roche Elecsys hs-cTnT ng/L. Uses that paper's rounded coefficients. Bands p<0.02 very_low, 0.02<=p<0.05 low, 0.05<=p<0.95 moderate, p>=0.95 high. magent does not interpret ECG or assay troponin. Not original MACS, HEART, EDACS, or Vancouver. Not a diagnosis or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ecg_ischaemia":false,"hs_ctnt_ng_l":3,"hypotension":false,"pain_radiation_right_arm_or_shoulder":false,"sweating_observed":false,"vomiting":false,"worsening_angina":false},{"ecg_ischaemia":false,"hs_ctnt_ng_l":3,"hypotension":false,"pain_radiation_right_arm_or_shoulder":false,"sweating_observed":false,"vomiting":false,"worsening_angina":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Body R, Carlton E, Sperrin M, et al.","doi":"10.1136/emermed-2016-205983","id":"body-2016","pmid":"27565197","source":"Emerg Med J. 2017;34(6):349-356","title":"Troponin-only Manchester Acute Coronary Syndromes (T-MACS) decision aid: single biomarker re-derivation and external validation in three cohorts"},"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.","ecg_ischaemia":false,"formula":"t_macs","formula_expression":"p = 1/(1+e^(-λ)); λ = 1.713*E + 0.847*A + 0.607*R + 1.417*V + 2.058*S + 1.208*H + 0.089*T - 4.766; E ECG ischaemia 0/1; A worsening/crescendo angina 0/1; R right-arm/shoulder radiation 0/1; V vomiting 0/1; S sweating observed 0/1; H hypotension SBP<100 0/1; T Roche Elecsys hs-cTnT ng/L; very_low p<0.02, low 0.02<=p<0.05, moderate 0.05<=p<0.95, high p>=0.95 (Body 2016 rounded coefficients; paper writes 0.02<p<0.05 and 0.05<p<0.95)","hs_ctnt_ng_l":3,"hypotension":false,"linear_predictor":-4.499,"pain_radiation_right_arm_or_shoulder":false,"probability":0.011,"sweating_observed":false,"t_macs_band":"very_low","vomiting":false,"worsening_angina":false},{"citation":{"authors":"Body R, Carlton E, Sperrin M, et al.","doi":"10.1136/emermed-2016-205983","id":"body-2016","pmid":"27565197","source":"Emerg Med J. 2017;34(6):349-356","title":"Troponin-only Manchester Acute Coronary Syndromes (T-MACS) decision aid: single biomarker re-derivation and external validation in three cohorts"},"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.","ecg_ischaemia":false,"formula":"t_macs","formula_expression":"p = 1/(1+e^(-λ)); λ = 1.713*E + 0.847*A + 0.607*R + 1.417*V + 2.058*S + 1.208*H + 0.089*T - 4.766; E ECG ischaemia 0/1; A worsening/crescendo angina 0/1; R right-arm/shoulder radiation 0/1; V vomiting 0/1; S sweating observed 0/1; H hypotension SBP<100 0/1; T Roche Elecsys hs-cTnT ng/L; very_low p<0.02, low 0.02<=p<0.05, moderate 0.05<=p<0.95, high p>=0.95 (Body 2016 rounded coefficients; paper writes 0.02<p<0.05 and 0.05<p<0.95)","hs_ctnt_ng_l":3,"hypotension":false,"linear_predictor":-4.499,"pain_radiation_right_arm_or_shoulder":false,"probability":0.011,"sweating_observed":false,"t_macs_band":"very_low","vomiting":false,"worsening_angina":false}],"path":"/api/calc/t_macs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecg_ischaemia":{"description":"Caller-assigned ECG ischaemia as used in Body 2016 (E; 1 if true, 0 if false). magent does not interpret an ECG.","type":"boolean"},"hs_ctnt_ng_l":{"description":"Roche Diagnostics Elecsys high-sensitivity cardiac troponin T on arrival in ng/L (T; 0-100000, implementation clamp). Continuous linear predictor in Body 2016. magent does not convert units or assay troponin.","type":"number"},"hypotension":{"description":"Hypotension as assigned by the caller (H): systolic BP <100 mm Hg on arrival (Body 2016, dichotomised as in that paper). true or false.","type":"boolean"},"pain_radiation_right_arm_or_shoulder":{"description":"Pain radiating to the right arm or shoulder as assigned by the caller (R; Body 2016). true or false. magent does not take a pain history.","type":"boolean"},"sweating_observed":{"description":"Sweating observed by the treating clinician as assigned by the caller (S; Body 2016). true or false. magent does not examine the patient.","type":"boolean"},"vomiting":{"description":"Vomiting in association with the presenting symptoms as assigned by the caller (V; Body 2016). true or false.","type":"boolean"},"worsening_angina":{"description":"Worsening or crescendo angina as assigned by the caller (A): anginal pain with increasing frequency, occurring with less exertion, or becoming more prolonged (Body 2016). true or false.","type":"boolean"}},"required":["ecg_ischaemia","worsening_angina","pain_radiation_right_arm_or_shoulder","vomiting","sweating_observed","hypotension","hs_ctnt_ng_l"],"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":["t-macs","acs","chest-pain","troponin","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:41:30.931Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:41:30.679Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ecg_ischaemia":false,"hs_ctnt_ng_l":3,"hypotension":false,"pain_radiation_right_arm_or_shoulder":false,"sweating_observed":false,"vomiting":false,"worsening_angina":false},{"ecg_ischaemia":false,"hs_ctnt_ng_l":3,"hypotension":false,"pain_radiation_right_arm_or_shoulder":false,"sweating_observed":false,"vomiting":false,"worsening_angina":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Body R, Carlton E, Sperrin M, et al.","doi":"10.1136/emermed-2016-205983","id":"body-2016","pmid":"27565197","source":"Emerg Med J. 2017;34(6):349-356","title":"Troponin-only Manchester Acute Coronary Syndromes (T-MACS) decision aid: single biomarker re-derivation and external validation in three cohorts"},"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.","ecg_ischaemia":false,"formula":"t_macs","formula_expression":"p = 1/(1+e^(-λ)); λ = 1.713*E + 0.847*A + 0.607*R + 1.417*V + 2.058*S + 1.208*H + 0.089*T - 4.766; E ECG ischaemia 0/1; A worsening/crescendo angina 0/1; R right-arm/shoulder radiation 0/1; V vomiting 0/1; S sweating observed 0/1; H hypotension SBP<100 0/1; T Roche Elecsys hs-cTnT ng/L; very_low p<0.02, low 0.02<=p<0.05, moderate 0.05<=p<0.95, high p>=0.95 (Body 2016 rounded coefficients; paper writes 0.02<p<0.05 and 0.05<p<0.95)","hs_ctnt_ng_l":3,"hypotension":false,"linear_predictor":-4.499,"pain_radiation_right_arm_or_shoulder":false,"probability":0.011,"sweating_observed":false,"t_macs_band":"very_low","vomiting":false,"worsening_angina":false},{"citation":{"authors":"Body R, Carlton E, Sperrin M, et al.","doi":"10.1136/emermed-2016-205983","id":"body-2016","pmid":"27565197","source":"Emerg Med J. 2017;34(6):349-356","title":"Troponin-only Manchester Acute Coronary Syndromes (T-MACS) decision aid: single biomarker re-derivation and external validation in three cohorts"},"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.","ecg_ischaemia":false,"formula":"t_macs","formula_expression":"p = 1/(1+e^(-λ)); λ = 1.713*E + 0.847*A + 0.607*R + 1.417*V + 2.058*S + 1.208*H + 0.089*T - 4.766; E ECG ischaemia 0/1; A worsening/crescendo angina 0/1; R right-arm/shoulder radiation 0/1; V vomiting 0/1; S sweating observed 0/1; H hypotension SBP<100 0/1; T Roche Elecsys hs-cTnT ng/L; very_low p<0.02, low 0.02<=p<0.05, moderate 0.05<=p<0.95, high p>=0.95 (Body 2016 rounded coefficients; paper writes 0.02<p<0.05 and 0.05<p<0.95)","hs_ctnt_ng_l":3,"hypotension":false,"linear_predictor":-4.499,"pain_radiation_right_arm_or_shoulder":false,"probability":0.011,"sweating_observed":false,"t_macs_band":"very_low","vomiting":false,"worsening_angina":false}],"path":"/api/calc/t_macs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecg_ischaemia":{"description":"Caller-assigned ECG ischaemia as used in Body 2016 (E; 1 if true, 0 if false). magent does not interpret an ECG.","type":"boolean"},"hs_ctnt_ng_l":{"description":"Roche Diagnostics Elecsys high-sensitivity cardiac troponin T on arrival in ng/L (T; 0-100000, implementation clamp). Continuous linear predictor in Body 2016. magent does not convert units or assay troponin.","type":"number"},"hypotension":{"description":"Hypotension as assigned by the caller (H): systolic BP <100 mm Hg on arrival (Body 2016, dichotomised as in that paper). true or false.","type":"boolean"},"pain_radiation_right_arm_or_shoulder":{"description":"Pain radiating to the right arm or shoulder as assigned by the caller (R; Body 2016). true or false. magent does not take a pain history.","type":"boolean"},"sweating_observed":{"description":"Sweating observed by the treating clinician as assigned by the caller (S; Body 2016). true or false. magent does not examine the patient.","type":"boolean"},"vomiting":{"description":"Vomiting in association with the presenting symptoms as assigned by the caller (V; Body 2016). true or false.","type":"boolean"},"worsening_angina":{"description":"Worsening or crescendo angina as assigned by the caller (A): anginal pain with increasing frequency, occurring with less exertion, or becoming more prolonged (Body 2016). true or false.","type":"boolean"}},"required":["ecg_ischaemia","worsening_angina","pain_radiation_right_arm_or_shoulder","vomiting","sweating_observed","hypotension","hs_ctnt_ng_l"],"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},{"id":38763,"slug":"38763","resource":"https://api.magentlab.com/api/calc/sudbury_vertigo","description":"Ohle 2025 Sudbury vertigo ED score (Table 2): male 1, age>65 flag 1, diabetes 1, hypertension 3, motor or sensory deficit 5, cerebellar signs 6, BPPV -5. Returns score (female+BPPV -5, not clamped), max 17, Table 3 bands lt_5 / 5_to_8 / gt_8 (0.0 / 2.1 / 41.0%), and investigate_further if score >4. Not a medical device, stroke diagnosis, CT order, HINTS, or HINTS-plus. magent does not examine the patient. Age is the age>65 flag, not years.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_gt_65":false,"bppv_diagnosis":false,"cerebellar_signs":false,"diabetes":false,"hypertension":false,"motor_or_sensory_deficit":false,"sex":"female"},{"age_gt_65":false,"bppv_diagnosis":false,"cerebellar_signs":false,"diabetes":false,"hypertension":false,"motor_or_sensory_deficit":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_gt_65":false,"bppv_diagnosis":false,"cerebellar_signs":false,"citation":{"authors":"Ohle R, Savage DW, Roy D, et al.","doi":"10.1016/j.annemergmed.2024.06.003","id":"ohle-2025","pmid":"39093245","source":"Ann Emerg Med. 2025;85(2):122-131","title":"Development of a Clinical Risk Score to Risk Stratify for a Serious Cause of Vertigo in Patients Presenting to the Emergency Department"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age_gt_65","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"motor_or_sensory_deficit","points":0,"present":false},{"factor":"cerebellar_signs","points":0,"present":false},{"factor":"bppv_diagnosis","points":0,"present":false}],"diabetes":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":"sudbury_vertigo","formula_expression":"Sudbury vertigo = male 1 + age_gt_65 1 + diabetes 1 + hypertension 3 + motor_or_sensory_deficit 5 + cerebellar_signs 6 + bppv_diagnosis -5; Ohle 2025 Table 2; Table 3 bands score <5 -> 0.0%, 5-8 -> 2.1%, >8 -> 41.0%; investigate_further iff score >4; max 17 (sum of positive weights; BPPV is negative and not in the max); do not clamp","hypertension":false,"investigate_further":false,"max_score":17,"motor_or_sensory_deficit":false,"score":0,"serious_cause_percent":0,"sex":"female","sudbury_band":"lt_5"},{"age_gt_65":false,"bppv_diagnosis":false,"cerebellar_signs":false,"citation":{"authors":"Ohle R, Savage DW, Roy D, et al.","doi":"10.1016/j.annemergmed.2024.06.003","id":"ohle-2025","pmid":"39093245","source":"Ann Emerg Med. 2025;85(2):122-131","title":"Development of a Clinical Risk Score to Risk Stratify for a Serious Cause of Vertigo in Patients Presenting to the Emergency Department"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age_gt_65","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"motor_or_sensory_deficit","points":0,"present":false},{"factor":"cerebellar_signs","points":0,"present":false},{"factor":"bppv_diagnosis","points":0,"present":false}],"diabetes":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":"sudbury_vertigo","formula_expression":"Sudbury vertigo = male 1 + age_gt_65 1 + diabetes 1 + hypertension 3 + motor_or_sensory_deficit 5 + cerebellar_signs 6 + bppv_diagnosis -5; Ohle 2025 Table 2; Table 3 bands score <5 -> 0.0%, 5-8 -> 2.1%, >8 -> 41.0%; investigate_further iff score >4; max 17 (sum of positive weights; BPPV is negative and not in the max); do not clamp","hypertension":false,"investigate_further":false,"max_score":17,"motor_or_sensory_deficit":false,"score":0,"serious_cause_percent":0,"sex":"female","sudbury_band":"lt_5"}],"path":"/api/calc/sudbury_vertigo"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_65":{"description":"Age greater than 65 as a published yes/no flag (Ohle 2025 Table 2). true scores 1. Age 65 scores 0. true or false. Do not send years. magent does not measure age.","type":"boolean"},"bppv_diagnosis":{"description":"BPPV diagnosis as assigned by the caller (Ohle 2025 Table 2). true or false. -5 points if true. magent does not examine the patient.","type":"boolean"},"cerebellar_signs":{"description":"Cerebellar signs as assigned by the caller (Ohle 2025 Table 2 footnote: diplopia, dysarthria, dysphagia, dysmetria, ataxia). true or false. 6 points if true. magent does not examine the patient.","type":"boolean"},"diabetes":{"description":"Diabetes as assigned by the caller (Ohle 2025 Table 2). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller (Ohle 2025 Table 2). true or false. 3 points if true. magent does not measure blood pressure.","type":"boolean"},"motor_or_sensory_deficit":{"description":"Motor or sensory deficit as assigned by the caller (Ohle 2025 Table 2). true or false. 5 points if true. magent does not examine the patient.","type":"boolean"},"sex":{"description":"female or male (Ohle 2025 Table 2). Male scores 1. Female scores 0. Assigned by the caller. Do not send a male boolean.","enum":["female","male"],"type":"string"}},"required":["sex","age_gt_65","diabetes","hypertension","motor_or_sensory_deficit","cerebellar_signs","bppv_diagnosis"],"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":["sudbury-vertigo","vertigo","neurology","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:41:29.979Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:41:29.829Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_gt_65":false,"bppv_diagnosis":false,"cerebellar_signs":false,"diabetes":false,"hypertension":false,"motor_or_sensory_deficit":false,"sex":"female"},{"age_gt_65":false,"bppv_diagnosis":false,"cerebellar_signs":false,"diabetes":false,"hypertension":false,"motor_or_sensory_deficit":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_gt_65":false,"bppv_diagnosis":false,"cerebellar_signs":false,"citation":{"authors":"Ohle R, Savage DW, Roy D, et al.","doi":"10.1016/j.annemergmed.2024.06.003","id":"ohle-2025","pmid":"39093245","source":"Ann Emerg Med. 2025;85(2):122-131","title":"Development of a Clinical Risk Score to Risk Stratify for a Serious Cause of Vertigo in Patients Presenting to the Emergency Department"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age_gt_65","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"motor_or_sensory_deficit","points":0,"present":false},{"factor":"cerebellar_signs","points":0,"present":false},{"factor":"bppv_diagnosis","points":0,"present":false}],"diabetes":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":"sudbury_vertigo","formula_expression":"Sudbury vertigo = male 1 + age_gt_65 1 + diabetes 1 + hypertension 3 + motor_or_sensory_deficit 5 + cerebellar_signs 6 + bppv_diagnosis -5; Ohle 2025 Table 2; Table 3 bands score <5 -> 0.0%, 5-8 -> 2.1%, >8 -> 41.0%; investigate_further iff score >4; max 17 (sum of positive weights; BPPV is negative and not in the max); do not clamp","hypertension":false,"investigate_further":false,"max_score":17,"motor_or_sensory_deficit":false,"score":0,"serious_cause_percent":0,"sex":"female","sudbury_band":"lt_5"},{"age_gt_65":false,"bppv_diagnosis":false,"cerebellar_signs":false,"citation":{"authors":"Ohle R, Savage DW, Roy D, et al.","doi":"10.1016/j.annemergmed.2024.06.003","id":"ohle-2025","pmid":"39093245","source":"Ann Emerg Med. 2025;85(2):122-131","title":"Development of a Clinical Risk Score to Risk Stratify for a Serious Cause of Vertigo in Patients Presenting to the Emergency Department"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age_gt_65","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"motor_or_sensory_deficit","points":0,"present":false},{"factor":"cerebellar_signs","points":0,"present":false},{"factor":"bppv_diagnosis","points":0,"present":false}],"diabetes":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":"sudbury_vertigo","formula_expression":"Sudbury vertigo = male 1 + age_gt_65 1 + diabetes 1 + hypertension 3 + motor_or_sensory_deficit 5 + cerebellar_signs 6 + bppv_diagnosis -5; Ohle 2025 Table 2; Table 3 bands score <5 -> 0.0%, 5-8 -> 2.1%, >8 -> 41.0%; investigate_further iff score >4; max 17 (sum of positive weights; BPPV is negative and not in the max); do not clamp","hypertension":false,"investigate_further":false,"max_score":17,"motor_or_sensory_deficit":false,"score":0,"serious_cause_percent":0,"sex":"female","sudbury_band":"lt_5"}],"path":"/api/calc/sudbury_vertigo"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_65":{"description":"Age greater than 65 as a published yes/no flag (Ohle 2025 Table 2). true scores 1. Age 65 scores 0. true or false. Do not send years. magent does not measure age.","type":"boolean"},"bppv_diagnosis":{"description":"BPPV diagnosis as assigned by the caller (Ohle 2025 Table 2). true or false. -5 points if true. magent does not examine the patient.","type":"boolean"},"cerebellar_signs":{"description":"Cerebellar signs as assigned by the caller (Ohle 2025 Table 2 footnote: diplopia, dysarthria, dysphagia, dysmetria, ataxia). true or false. 6 points if true. magent does not examine the patient.","type":"boolean"},"diabetes":{"description":"Diabetes as assigned by the caller (Ohle 2025 Table 2). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller (Ohle 2025 Table 2). true or false. 3 points if true. magent does not measure blood pressure.","type":"boolean"},"motor_or_sensory_deficit":{"description":"Motor or sensory deficit as assigned by the caller (Ohle 2025 Table 2). true or false. 5 points if true. magent does not examine the patient.","type":"boolean"},"sex":{"description":"female or male (Ohle 2025 Table 2). Male scores 1. Female scores 0. Assigned by the caller. Do not send a male boolean.","enum":["female","male"],"type":"string"}},"required":["sex","age_gt_65","diabetes","hypertension","motor_or_sensory_deficit","cerebellar_signs","bppv_diagnosis"],"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},{"id":38764,"slug":"38764","resource":"https://api.magentlab.com/api/calc/step_by_step","description":"Gomez 2016 Step-by-Step for febrile infants 90 days and younger (derivation Mintegi 2014). High if ill-appearing, age 21 days or younger, leukocyturia, or PCT >=0.5 ng/mL; else intermediate if CRP >20 mg/L or ANC >10000/uL; else low. Returns risk, low_risk, high_risk, and intermediate_risk. magent does not examine the infant or assay UA, PCT, CRP, or ANC. Not Rochester, Boston, Philadelphia, or PECARN febrile. Not a medical device and not a discharge, admission, LP, or antibiotic order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_days":47,"anc_per_ul":4000,"crp_mg_l":5,"leukocyturia":false,"pct_ng_ml":0.2,"well_appearing":true},{"age_days":47,"anc_per_ul":4000,"crp_mg_l":5,"leukocyturia":false,"pct_ng_ml":0.2,"well_appearing":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_days":47,"anc_per_ul":4000,"citation":{"authors":"Gomez B, Mintegi S, Bressan S, Da Dalt L, Gervaix A, Lacroix L","doi":"10.1542/peds.2015-4381","id":"gomez-2016","pmid":"27382134","source":"Pediatrics. 2016;138(2):e20154381","title":"Validation of the \"Step-by-Step\" Approach in the Management of Young Febrile Infants"},"criteria":[{"factor":"well_appearing","met":true},{"factor":"age_gt_21","met":true,"value":47},{"factor":"no_leukocyturia","met":true},{"factor":"pct_lt_0_5","met":true,"value":0.2},{"factor":"crp_le_20","met":true,"value":5},{"factor":"anc_le_10000","met":true,"value":4000}],"crp_mg_l":5,"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":"step_by_step","formula_expression":"risk = high if not well_appearing or age_days <= 21 or leukocyturia or pct_ng_ml >= 0.5; else intermediate if crp_mg_l > 20 or anc_per_ul > 10000; else low; low_risk iff well_appearing and age_gt_21 and no_leukocyturia and pct_lt_0_5 and crp_le_20 and anc_le_10000 (Gomez 2016 Step-by-Step; derivation Mintegi 2014)","high_risk":false,"intermediate_risk":false,"low_risk":true,"pct_ng_ml":0.2,"risk":"low"},{"age_days":47,"anc_per_ul":4000,"citation":{"authors":"Gomez B, Mintegi S, Bressan S, Da Dalt L, Gervaix A, Lacroix L","doi":"10.1542/peds.2015-4381","id":"gomez-2016","pmid":"27382134","source":"Pediatrics. 2016;138(2):e20154381","title":"Validation of the \"Step-by-Step\" Approach in the Management of Young Febrile Infants"},"criteria":[{"factor":"well_appearing","met":true},{"factor":"age_gt_21","met":true,"value":47},{"factor":"no_leukocyturia","met":true},{"factor":"pct_lt_0_5","met":true,"value":0.2},{"factor":"crp_le_20","met":true,"value":5},{"factor":"anc_le_10000","met":true,"value":4000}],"crp_mg_l":5,"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":"step_by_step","formula_expression":"risk = high if not well_appearing or age_days <= 21 or leukocyturia or pct_ng_ml >= 0.5; else intermediate if crp_mg_l > 20 or anc_per_ul > 10000; else low; low_risk iff well_appearing and age_gt_21 and no_leukocyturia and pct_lt_0_5 and crp_le_20 and anc_le_10000 (Gomez 2016 Step-by-Step; derivation Mintegi 2014)","high_risk":false,"intermediate_risk":false,"low_risk":true,"pct_ng_ml":0.2,"risk":"low"}],"path":"/api/calc/step_by_step"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_days":{"description":"Chronological age in days (integer 0-90). Gomez 2016 studied febrile infants 90 days and younger. Age 21 days or younger is high-risk. Age 22 can be low-risk when remaining low-risk criteria hold.","type":"integer"},"anc_per_ul":{"description":"Absolute neutrophil count in cells/µL. Range 0-100000. Intermediate (when not already high) if greater than 10000/µL (10000 is not intermediate). magent does not assay ANC.","type":"number"},"crp_mg_l":{"description":"C-reactive protein in mg/L. Range 0-500. Intermediate (when not already high) if greater than 20 mg/L (20 is not intermediate). magent does not assay CRP.","type":"number"},"leukocyturia":{"description":"Caller-assigned leukocyturia (urine dipstick / UA leukocytes) as used in Gomez 2016. true means leukocytes are present and is high-risk. true or false. magent does not assay UA.","type":"boolean"},"pct_ng_ml":{"description":"Serum procalcitonin in ng/mL. Range 0.01-100. High-risk if 0.5 ng/mL or greater (0.5 is high). Low-risk requires less than 0.5. magent does not assay procalcitonin.","type":"number"},"well_appearing":{"description":"Caller-assigned well-appearing as used in Gomez 2016. true or false. Ill-appearing (well_appearing=false) is high-risk. magent does not examine the infant.","type":"boolean"}},"required":["age_days","well_appearing","leukocyturia","pct_ng_ml","crp_mg_l","anc_per_ul"],"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":["step-by-step","febrile-infant","emergency","ibi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:41:29.01Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:41:28.873Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_days":47,"anc_per_ul":4000,"crp_mg_l":5,"leukocyturia":false,"pct_ng_ml":0.2,"well_appearing":true},{"age_days":47,"anc_per_ul":4000,"crp_mg_l":5,"leukocyturia":false,"pct_ng_ml":0.2,"well_appearing":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_days":47,"anc_per_ul":4000,"citation":{"authors":"Gomez B, Mintegi S, Bressan S, Da Dalt L, Gervaix A, Lacroix L","doi":"10.1542/peds.2015-4381","id":"gomez-2016","pmid":"27382134","source":"Pediatrics. 2016;138(2):e20154381","title":"Validation of the \"Step-by-Step\" Approach in the Management of Young Febrile Infants"},"criteria":[{"factor":"well_appearing","met":true},{"factor":"age_gt_21","met":true,"value":47},{"factor":"no_leukocyturia","met":true},{"factor":"pct_lt_0_5","met":true,"value":0.2},{"factor":"crp_le_20","met":true,"value":5},{"factor":"anc_le_10000","met":true,"value":4000}],"crp_mg_l":5,"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":"step_by_step","formula_expression":"risk = high if not well_appearing or age_days <= 21 or leukocyturia or pct_ng_ml >= 0.5; else intermediate if crp_mg_l > 20 or anc_per_ul > 10000; else low; low_risk iff well_appearing and age_gt_21 and no_leukocyturia and pct_lt_0_5 and crp_le_20 and anc_le_10000 (Gomez 2016 Step-by-Step; derivation Mintegi 2014)","high_risk":false,"intermediate_risk":false,"low_risk":true,"pct_ng_ml":0.2,"risk":"low"},{"age_days":47,"anc_per_ul":4000,"citation":{"authors":"Gomez B, Mintegi S, Bressan S, Da Dalt L, Gervaix A, Lacroix L","doi":"10.1542/peds.2015-4381","id":"gomez-2016","pmid":"27382134","source":"Pediatrics. 2016;138(2):e20154381","title":"Validation of the \"Step-by-Step\" Approach in the Management of Young Febrile Infants"},"criteria":[{"factor":"well_appearing","met":true},{"factor":"age_gt_21","met":true,"value":47},{"factor":"no_leukocyturia","met":true},{"factor":"pct_lt_0_5","met":true,"value":0.2},{"factor":"crp_le_20","met":true,"value":5},{"factor":"anc_le_10000","met":true,"value":4000}],"crp_mg_l":5,"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":"step_by_step","formula_expression":"risk = high if not well_appearing or age_days <= 21 or leukocyturia or pct_ng_ml >= 0.5; else intermediate if crp_mg_l > 20 or anc_per_ul > 10000; else low; low_risk iff well_appearing and age_gt_21 and no_leukocyturia and pct_lt_0_5 and crp_le_20 and anc_le_10000 (Gomez 2016 Step-by-Step; derivation Mintegi 2014)","high_risk":false,"intermediate_risk":false,"low_risk":true,"pct_ng_ml":0.2,"risk":"low"}],"path":"/api/calc/step_by_step"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_days":{"description":"Chronological age in days (integer 0-90). Gomez 2016 studied febrile infants 90 days and younger. Age 21 days or younger is high-risk. Age 22 can be low-risk when remaining low-risk criteria hold.","type":"integer"},"anc_per_ul":{"description":"Absolute neutrophil count in cells/µL. Range 0-100000. Intermediate (when not already high) if greater than 10000/µL (10000 is not intermediate). magent does not assay ANC.","type":"number"},"crp_mg_l":{"description":"C-reactive protein in mg/L. Range 0-500. Intermediate (when not already high) if greater than 20 mg/L (20 is not intermediate). magent does not assay CRP.","type":"number"},"leukocyturia":{"description":"Caller-assigned leukocyturia (urine dipstick / UA leukocytes) as used in Gomez 2016. true means leukocytes are present and is high-risk. true or false. magent does not assay UA.","type":"boolean"},"pct_ng_ml":{"description":"Serum procalcitonin in ng/mL. Range 0.01-100. High-risk if 0.5 ng/mL or greater (0.5 is high). Low-risk requires less than 0.5. magent does not assay procalcitonin.","type":"number"},"well_appearing":{"description":"Caller-assigned well-appearing as used in Gomez 2016. true or false. Ill-appearing (well_appearing=false) is high-risk. magent does not examine the infant.","type":"boolean"}},"required":["age_days","well_appearing","leukocyturia","pct_ng_ml","crp_mg_l","anc_per_ul"],"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},{"id":38765,"slug":"38765","resource":"https://api.magentlab.com/api/calc/steinhart","description":"Steinhart 2009 Equation 1 probability of acute heart failure from caller-assigned age, clinician pretest probability (fraction 0-1 or 0-100 percent), and NT-proBNP in pg/mL. Returns estimated_probability_percent from the unrounded probability plus published ≤0.20 rule-out and ≥0.80 rule-in flags. Not a diagnosis, diuretic, or admission order. magent does not assay NT-proBNP.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"nt_probnp_pg_ml":1000,"pretest_probability":0.5},{"age":70,"nt_probnp_pg_ml":1000,"pretest_probability":0.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"ahf_ge_0_80":true,"ahf_le_0_20":false,"citation":{"authors":"Steinhart B, Thorpe KE, Bayoumi AM, Moe G, Januzzi JL Jr, Mazer CD","doi":"10.1016/j.jacc.2009.05.065","id":"steinhart-2009","pmid":"19815125","source":"J Am Coll Cardiol. 2009;54(16):1515-1521","title":"Improving the Diagnosis of Acute Heart Failure Using a Validated Prediction Model"},"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.","estimated_probability_percent":98.78,"formula":"steinhart","formula_expression":"Pr(AHF) = 1 / (1 + exp(1.801 - 0.011*age - 5.914*pretest - 0.822*log10(nt_probnp_pg_ml))); pretest is clinician pretest probability as a fraction 0-1 (0-100 percent is divided by 100); NT-proBNP is pg/mL; logit = -(1.801 - 0.011*age - 5.914*pretest - 0.822*log10(nt_probnp_pg_ml)), 2 decimals; estimated_probability_percent = 100 * Pr(AHF) from the unrounded probability, 2 decimals; ahf_le_0_20 is true when Pr(AHF) <= 0.20; ahf_ge_0_80 is true when Pr(AHF) >= 0.80 (Steinhart 2009)","logit":4.39,"nt_probnp_pg_ml":1000,"pretest_probability":0.5},{"age_years":70,"ahf_ge_0_80":true,"ahf_le_0_20":false,"citation":{"authors":"Steinhart B, Thorpe KE, Bayoumi AM, Moe G, Januzzi JL Jr, Mazer CD","doi":"10.1016/j.jacc.2009.05.065","id":"steinhart-2009","pmid":"19815125","source":"J Am Coll Cardiol. 2009;54(16):1515-1521","title":"Improving the Diagnosis of Acute Heart Failure Using a Validated Prediction Model"},"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.","estimated_probability_percent":98.78,"formula":"steinhart","formula_expression":"Pr(AHF) = 1 / (1 + exp(1.801 - 0.011*age - 5.914*pretest - 0.822*log10(nt_probnp_pg_ml))); pretest is clinician pretest probability as a fraction 0-1 (0-100 percent is divided by 100); NT-proBNP is pg/mL; logit = -(1.801 - 0.011*age - 5.914*pretest - 0.822*log10(nt_probnp_pg_ml)), 2 decimals; estimated_probability_percent = 100 * Pr(AHF) from the unrounded probability, 2 decimals; ahf_le_0_20 is true when Pr(AHF) <= 0.20; ahf_ge_0_80 is true when Pr(AHF) >= 0.80 (Steinhart 2009)","logit":4.39,"nt_probnp_pg_ml":1000,"pretest_probability":0.5}],"path":"/api/calc/steinhart"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years, integer 18-100. Steinhart 2009 Equation 1 coefficient -0.011 per year. magent does not read an identity document.","type":"integer"},"nt_probnp_pg_ml":{"description":"NT-proBNP in pg/mL (5-35000). Enters as log10. Not pmol/L; magent does not convert units or assay NT-proBNP.","type":"number"},"pretest_probability":{"description":"Caller-assigned clinician pretest probability of acute heart failure before NT-proBNP. Fraction 0-1, or 0-100 percent (values above 1 are divided by 100). 1 means certainty, not 1 percent. Steinhart 2009 coefficient -5.914 on the fraction. magent does not assign pretest probability or examine the patient.","type":"number"}},"required":["age","pretest_probability","nt_probnp_pg_ml"],"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":["steinhart","ahf","nt-probnp","dyspnea","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:36:13.46Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:36:13.354Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"nt_probnp_pg_ml":1000,"pretest_probability":0.5},{"age":70,"nt_probnp_pg_ml":1000,"pretest_probability":0.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"ahf_ge_0_80":true,"ahf_le_0_20":false,"citation":{"authors":"Steinhart B, Thorpe KE, Bayoumi AM, Moe G, Januzzi JL Jr, Mazer CD","doi":"10.1016/j.jacc.2009.05.065","id":"steinhart-2009","pmid":"19815125","source":"J Am Coll Cardiol. 2009;54(16):1515-1521","title":"Improving the Diagnosis of Acute Heart Failure Using a Validated Prediction Model"},"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.","estimated_probability_percent":98.78,"formula":"steinhart","formula_expression":"Pr(AHF) = 1 / (1 + exp(1.801 - 0.011*age - 5.914*pretest - 0.822*log10(nt_probnp_pg_ml))); pretest is clinician pretest probability as a fraction 0-1 (0-100 percent is divided by 100); NT-proBNP is pg/mL; logit = -(1.801 - 0.011*age - 5.914*pretest - 0.822*log10(nt_probnp_pg_ml)), 2 decimals; estimated_probability_percent = 100 * Pr(AHF) from the unrounded probability, 2 decimals; ahf_le_0_20 is true when Pr(AHF) <= 0.20; ahf_ge_0_80 is true when Pr(AHF) >= 0.80 (Steinhart 2009)","logit":4.39,"nt_probnp_pg_ml":1000,"pretest_probability":0.5},{"age_years":70,"ahf_ge_0_80":true,"ahf_le_0_20":false,"citation":{"authors":"Steinhart B, Thorpe KE, Bayoumi AM, Moe G, Januzzi JL Jr, Mazer CD","doi":"10.1016/j.jacc.2009.05.065","id":"steinhart-2009","pmid":"19815125","source":"J Am Coll Cardiol. 2009;54(16):1515-1521","title":"Improving the Diagnosis of Acute Heart Failure Using a Validated Prediction Model"},"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.","estimated_probability_percent":98.78,"formula":"steinhart","formula_expression":"Pr(AHF) = 1 / (1 + exp(1.801 - 0.011*age - 5.914*pretest - 0.822*log10(nt_probnp_pg_ml))); pretest is clinician pretest probability as a fraction 0-1 (0-100 percent is divided by 100); NT-proBNP is pg/mL; logit = -(1.801 - 0.011*age - 5.914*pretest - 0.822*log10(nt_probnp_pg_ml)), 2 decimals; estimated_probability_percent = 100 * Pr(AHF) from the unrounded probability, 2 decimals; ahf_le_0_20 is true when Pr(AHF) <= 0.20; ahf_ge_0_80 is true when Pr(AHF) >= 0.80 (Steinhart 2009)","logit":4.39,"nt_probnp_pg_ml":1000,"pretest_probability":0.5}],"path":"/api/calc/steinhart"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years, integer 18-100. Steinhart 2009 Equation 1 coefficient -0.011 per year. magent does not read an identity document.","type":"integer"},"nt_probnp_pg_ml":{"description":"NT-proBNP in pg/mL (5-35000). Enters as log10. Not pmol/L; magent does not convert units or assay NT-proBNP.","type":"number"},"pretest_probability":{"description":"Caller-assigned clinician pretest probability of acute heart failure before NT-proBNP. Fraction 0-1, or 0-100 percent (values above 1 are divided by 100). 1 means certainty, not 1 percent. Steinhart 2009 coefficient -5.914 on the fraction. magent does not assign pretest probability or examine the patient.","type":"number"}},"required":["age","pretest_probability","nt_probnp_pg_ml"],"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},{"id":38766,"slug":"38766","resource":"https://api.magentlab.com/api/calc/sodium_deficit","description":"Sodium deficit from weight, sex, and measured Na using Adrogué–Madias TBW (0.6 male / 0.5 female). Deterministic published arithmetic with citation; not a sodium infusion protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"desired_na_mmol_l":140,"sex":"male","sodium_mmol_l":120,"weight_kg":70,"weight_lb":154.3236},{"desired_na_mmol_l":140,"sex":"male","sodium_mmol_l":120,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM200005253422107","id":"adrogue-madias-hyponatremia-2000","source":"N Engl J Med. 2000;342(21):1581-1589","title":"Hyponatremia"},"desired_na_mmol_l":140,"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":"adrogue_madias","formula_expression":"TBW_L = 0.6 * weight_kg (male) or 0.5 * weight_kg (female); sodium_deficit_mmol = TBW_L * (desired_na_mmol_l - sodium_mmol_l)","sex":"male","sodium_deficit_mmol":840,"sodium_mmol_l":120,"tbw_l":42,"weight_kg":70},{"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM200005253422107","id":"adrogue-madias-hyponatremia-2000","source":"N Engl J Med. 2000;342(21):1581-1589","title":"Hyponatremia"},"desired_na_mmol_l":140,"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":"adrogue_madias","formula_expression":"TBW_L = 0.6 * weight_kg (male) or 0.5 * weight_kg (female); sodium_deficit_mmol = TBW_L * (desired_na_mmol_l - sodium_mmol_l)","sex":"male","sodium_deficit_mmol":840,"sodium_mmol_l":120,"tbw_l":42,"weight_kg":70}],"path":"/api/calc/sodium_deficit"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"desired_na_mmol_l":{"description":"Target serum sodium in mmol/L (120-150), must exceed measured Na. Omitted uses 140.","type":"number"},"sex":{"description":"Sex used for TBW: 0.6 × weight (male) or 0.5 × weight (female).","enum":["female","male"],"type":"string"},"sodium_mmol_l":{"description":"Measured serum sodium in mmol/L. Range 90-135 (hyponatremia).","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sex","sodium_mmol_l"],"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":["sodium","hyponatremia","electrolytes","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:36:12.476Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:36:12.364Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"desired_na_mmol_l":140,"sex":"male","sodium_mmol_l":120,"weight_kg":70,"weight_lb":154.3236},{"desired_na_mmol_l":140,"sex":"male","sodium_mmol_l":120,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM200005253422107","id":"adrogue-madias-hyponatremia-2000","source":"N Engl J Med. 2000;342(21):1581-1589","title":"Hyponatremia"},"desired_na_mmol_l":140,"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":"adrogue_madias","formula_expression":"TBW_L = 0.6 * weight_kg (male) or 0.5 * weight_kg (female); sodium_deficit_mmol = TBW_L * (desired_na_mmol_l - sodium_mmol_l)","sex":"male","sodium_deficit_mmol":840,"sodium_mmol_l":120,"tbw_l":42,"weight_kg":70},{"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM200005253422107","id":"adrogue-madias-hyponatremia-2000","source":"N Engl J Med. 2000;342(21):1581-1589","title":"Hyponatremia"},"desired_na_mmol_l":140,"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":"adrogue_madias","formula_expression":"TBW_L = 0.6 * weight_kg (male) or 0.5 * weight_kg (female); sodium_deficit_mmol = TBW_L * (desired_na_mmol_l - sodium_mmol_l)","sex":"male","sodium_deficit_mmol":840,"sodium_mmol_l":120,"tbw_l":42,"weight_kg":70}],"path":"/api/calc/sodium_deficit"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"desired_na_mmol_l":{"description":"Target serum sodium in mmol/L (120-150), must exceed measured Na. Omitted uses 140.","type":"number"},"sex":{"description":"Sex used for TBW: 0.6 × weight (male) or 0.5 × weight (female).","enum":["female","male"],"type":"string"},"sodium_mmol_l":{"description":"Measured serum sodium in mmol/L. Range 90-135 (hyponatremia).","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sex","sodium_mmol_l"],"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},{"id":38767,"slug":"38767","resource":"https://api.magentlab.com/api/calc/sins","description":"Fisher 2010 SINS. Location junctional 3 / mobile 2 / semirigid 1 / rigid 0. Pain mechanical 3 / occasional_not_mechanical 1 / pain_free 0. Bone lytic 2 / mixed 1 / blastic 0. Alignment subluxation_translation 4 / de_novo_deformity 2 / normal 0. Collapse gt_50 3 / le_50 2 / no_collapse_gt_50pct_body 1 / none 0. Posterolateral bilateral 3 / unilateral 1 / none 0. Max 18. Integer sum only; not later SOSG strata, not TLICS, not an operative order. magent does not read imaging. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"alignment":"normal","bone":"blastic","collapse":"none","location":"rigid","pain":"pain_free","posterolateral":"none"},{"alignment":"normal","bone":"blastic","collapse":"none","location":"rigid","pain":"pain_free","posterolateral":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alignment":"normal","bone":"blastic","citation":{"authors":"Fisher CG, DiPaola CP, Ryken TC, et al.","doi":"10.1097/BRS.0b013e3181e16ae2","id":"fisher-2010","pmid":"20562730","source":"Spine (Phila Pa 1976). 2010;35(22):E1221-E1229","title":"A novel classification system for spinal instability in neoplastic disease: an evidence-based approach and expert consensus from the Spine Oncology Study Group."},"collapse":"none","components":[{"factor":"location","points":0,"present":true,"value":"rigid"},{"factor":"pain","points":0,"present":true,"value":"pain_free"},{"factor":"bone","points":0,"present":true,"value":"blastic"},{"factor":"alignment","points":0,"present":true,"value":"normal"},{"factor":"collapse","points":0,"present":true,"value":"none"},{"factor":"posterolateral","points":0,"present":true,"value":"none"}],"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":"sins","formula_expression":"SINS = location (junctional 3, mobile 2, semirigid 1, rigid 0) + pain (mechanical 3, occasional_not_mechanical 1, pain_free 0) + bone (lytic 2, mixed 1, blastic 0) + alignment (subluxation_translation 4, de_novo_deformity 2, normal 0) + collapse (gt_50 3, le_50 2, no_collapse_gt_50pct_body 1, none 0) + posterolateral (bilateral 3, unilateral 1, none 0); Fisher 2010 Table 8; max 18","location":"rigid","max_score":18,"pain":"pain_free","posterolateral":"none","score":0},{"alignment":"normal","bone":"blastic","citation":{"authors":"Fisher CG, DiPaola CP, Ryken TC, et al.","doi":"10.1097/BRS.0b013e3181e16ae2","id":"fisher-2010","pmid":"20562730","source":"Spine (Phila Pa 1976). 2010;35(22):E1221-E1229","title":"A novel classification system for spinal instability in neoplastic disease: an evidence-based approach and expert consensus from the Spine Oncology Study Group."},"collapse":"none","components":[{"factor":"location","points":0,"present":true,"value":"rigid"},{"factor":"pain","points":0,"present":true,"value":"pain_free"},{"factor":"bone","points":0,"present":true,"value":"blastic"},{"factor":"alignment","points":0,"present":true,"value":"normal"},{"factor":"collapse","points":0,"present":true,"value":"none"},{"factor":"posterolateral","points":0,"present":true,"value":"none"}],"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":"sins","formula_expression":"SINS = location (junctional 3, mobile 2, semirigid 1, rigid 0) + pain (mechanical 3, occasional_not_mechanical 1, pain_free 0) + bone (lytic 2, mixed 1, blastic 0) + alignment (subluxation_translation 4, de_novo_deformity 2, normal 0) + collapse (gt_50 3, le_50 2, no_collapse_gt_50pct_body 1, none 0) + posterolateral (bilateral 3, unilateral 1, none 0); Fisher 2010 Table 8; max 18","location":"rigid","max_score":18,"pain":"pain_free","posterolateral":"none","score":0}],"path":"/api/calc/sins"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alignment":{"description":"Caller-assigned radiographic spinal alignment (Fisher 2010). subluxation_translation scores 4; de_novo_deformity (kyphosis/scoliosis) scores 2; normal scores 0. magent does not read imaging.","enum":["subluxation_translation","de_novo_deformity","normal"],"type":"string"},"bone":{"description":"Caller-assigned bone lesion quality (Fisher 2010). lytic scores 2; mixed scores 1; blastic scores 0. magent does not read imaging.","enum":["lytic","mixed","blastic"],"type":"string"},"collapse":{"description":"Caller-assigned vertebral body collapse (Fisher 2010). gt_50 (>50% collapse) scores 3; le_50 (≤50% collapse) scores 2; no_collapse_gt_50pct_body (no collapse with >50% body involved) scores 1; none scores 0. magent does not read imaging.","enum":["gt_50","le_50","no_collapse_gt_50pct_body","none"],"type":"string"},"location":{"description":"Caller-assigned SINS location (Fisher 2010 Table 8). junctional (occiput-C2, C7–T2, T11–L1, L5–S1) scores 3; mobile (C3–C6, L2–L4) scores 2; semirigid (T3–T10) scores 1; rigid (S2–S5) scores 0. magent does not read imaging.","enum":["junctional","mobile","semirigid","rigid"],"type":"string"},"pain":{"description":"Caller-assigned pain (Fisher 2010): pain relief with recumbency and/or pain with movement/loading. mechanical (yes) scores 3; occasional_not_mechanical (occasional pain but not mechanical) scores 1; pain_free scores 0. magent does not interview the patient.","enum":["mechanical","occasional_not_mechanical","pain_free"],"type":"string"},"posterolateral":{"description":"Caller-assigned posterolateral involvement of spinal elements (facet, pedicle, or costovertebral joint fracture or replacement with tumor; Fisher 2010). bilateral scores 3; unilateral scores 1; none scores 0. magent does not read imaging.","enum":["bilateral","unilateral","none"],"type":"string"}},"required":["location","pain","bone","alignment","collapse","posterolateral"],"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":["sins","spine","oncology","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:01:23.973Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T08:01:23.805Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alignment":"normal","bone":"blastic","collapse":"none","location":"rigid","pain":"pain_free","posterolateral":"none"},{"alignment":"normal","bone":"blastic","collapse":"none","location":"rigid","pain":"pain_free","posterolateral":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alignment":"normal","bone":"blastic","citation":{"authors":"Fisher CG, DiPaola CP, Ryken TC, et al.","doi":"10.1097/BRS.0b013e3181e16ae2","id":"fisher-2010","pmid":"20562730","source":"Spine (Phila Pa 1976). 2010;35(22):E1221-E1229","title":"A novel classification system for spinal instability in neoplastic disease: an evidence-based approach and expert consensus from the Spine Oncology Study Group."},"collapse":"none","components":[{"factor":"location","points":0,"present":true,"value":"rigid"},{"factor":"pain","points":0,"present":true,"value":"pain_free"},{"factor":"bone","points":0,"present":true,"value":"blastic"},{"factor":"alignment","points":0,"present":true,"value":"normal"},{"factor":"collapse","points":0,"present":true,"value":"none"},{"factor":"posterolateral","points":0,"present":true,"value":"none"}],"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":"sins","formula_expression":"SINS = location (junctional 3, mobile 2, semirigid 1, rigid 0) + pain (mechanical 3, occasional_not_mechanical 1, pain_free 0) + bone (lytic 2, mixed 1, blastic 0) + alignment (subluxation_translation 4, de_novo_deformity 2, normal 0) + collapse (gt_50 3, le_50 2, no_collapse_gt_50pct_body 1, none 0) + posterolateral (bilateral 3, unilateral 1, none 0); Fisher 2010 Table 8; max 18","location":"rigid","max_score":18,"pain":"pain_free","posterolateral":"none","score":0},{"alignment":"normal","bone":"blastic","citation":{"authors":"Fisher CG, DiPaola CP, Ryken TC, et al.","doi":"10.1097/BRS.0b013e3181e16ae2","id":"fisher-2010","pmid":"20562730","source":"Spine (Phila Pa 1976). 2010;35(22):E1221-E1229","title":"A novel classification system for spinal instability in neoplastic disease: an evidence-based approach and expert consensus from the Spine Oncology Study Group."},"collapse":"none","components":[{"factor":"location","points":0,"present":true,"value":"rigid"},{"factor":"pain","points":0,"present":true,"value":"pain_free"},{"factor":"bone","points":0,"present":true,"value":"blastic"},{"factor":"alignment","points":0,"present":true,"value":"normal"},{"factor":"collapse","points":0,"present":true,"value":"none"},{"factor":"posterolateral","points":0,"present":true,"value":"none"}],"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":"sins","formula_expression":"SINS = location (junctional 3, mobile 2, semirigid 1, rigid 0) + pain (mechanical 3, occasional_not_mechanical 1, pain_free 0) + bone (lytic 2, mixed 1, blastic 0) + alignment (subluxation_translation 4, de_novo_deformity 2, normal 0) + collapse (gt_50 3, le_50 2, no_collapse_gt_50pct_body 1, none 0) + posterolateral (bilateral 3, unilateral 1, none 0); Fisher 2010 Table 8; max 18","location":"rigid","max_score":18,"pain":"pain_free","posterolateral":"none","score":0}],"path":"/api/calc/sins"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alignment":{"description":"Caller-assigned radiographic spinal alignment (Fisher 2010). subluxation_translation scores 4; de_novo_deformity (kyphosis/scoliosis) scores 2; normal scores 0. magent does not read imaging.","enum":["subluxation_translation","de_novo_deformity","normal"],"type":"string"},"bone":{"description":"Caller-assigned bone lesion quality (Fisher 2010). lytic scores 2; mixed scores 1; blastic scores 0. magent does not read imaging.","enum":["lytic","mixed","blastic"],"type":"string"},"collapse":{"description":"Caller-assigned vertebral body collapse (Fisher 2010). gt_50 (>50% collapse) scores 3; le_50 (≤50% collapse) scores 2; no_collapse_gt_50pct_body (no collapse with >50% body involved) scores 1; none scores 0. magent does not read imaging.","enum":["gt_50","le_50","no_collapse_gt_50pct_body","none"],"type":"string"},"location":{"description":"Caller-assigned SINS location (Fisher 2010 Table 8). junctional (occiput-C2, C7–T2, T11–L1, L5–S1) scores 3; mobile (C3–C6, L2–L4) scores 2; semirigid (T3–T10) scores 1; rigid (S2–S5) scores 0. magent does not read imaging.","enum":["junctional","mobile","semirigid","rigid"],"type":"string"},"pain":{"description":"Caller-assigned pain (Fisher 2010): pain relief with recumbency and/or pain with movement/loading. mechanical (yes) scores 3; occasional_not_mechanical (occasional pain but not mechanical) scores 1; pain_free scores 0. magent does not interview the patient.","enum":["mechanical","occasional_not_mechanical","pain_free"],"type":"string"},"posterolateral":{"description":"Caller-assigned posterolateral involvement of spinal elements (facet, pedicle, or costovertebral joint fracture or replacement with tumor; Fisher 2010). bilateral scores 3; unilateral scores 1; none scores 0. magent does not read imaging.","enum":["bilateral","unilateral","none"],"type":"string"}},"required":["location","pain","bone","alignment","collapse","posterolateral"],"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},{"id":38768,"slug":"38768","resource":"https://api.magentlab.com/api/calc/rome_iv_fd","description":"Stanghellini 2016 Rome IV B1 FD. rome_iv_fd is true iff last-3-months criteria with 6-month onset, no structural disease likely to explain symptoms, and PDS (B1a) and/or EPS (B1b). pds iff fullness and/or early satiation >=3 days/week. eps iff epigastric pain and/or burning >=1 day/week. Overlap allowed. Caller assigns six flags. magent does not examine the patient. Not a diagnosis, not Rome III dyspepsia, not Rome IV IBS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bothersome_early_satiation_ge_3_days_week":false,"bothersome_epigastric_burning_ge_1_day_week":false,"bothersome_epigastric_pain_ge_1_day_week":false,"bothersome_postprandial_fullness_ge_3_days_week":true,"criteria_last_3_months_onset_6_months":true,"no_structural_disease":true},{"bothersome_early_satiation_ge_3_days_week":false,"bothersome_epigastric_burning_ge_1_day_week":false,"bothersome_epigastric_pain_ge_1_day_week":false,"bothersome_postprandial_fullness_ge_3_days_week":true,"criteria_last_3_months_onset_6_months":true,"no_structural_disease":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"no_structural_disease","met":true},{"factor":"bothersome_postprandial_fullness_ge_3_days_week","met":true},{"factor":"bothersome_early_satiation_ge_3_days_week","met":false},{"factor":"pds","met":true},{"factor":"bothersome_epigastric_pain_ge_1_day_week","met":false},{"factor":"bothersome_epigastric_burning_ge_1_day_week","met":false},{"factor":"eps","met":false},{"factor":"pds_or_eps","met":true}],"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.","eps":false,"formula":"rome_iv_fd","formula_expression":"rome_iv_fd iff criteria_last_3_months_onset_6_months and no_structural_disease and (pds or eps); pds iff bothersome_postprandial_fullness_ge_3_days_week or bothersome_early_satiation_ge_3_days_week; eps iff bothersome_epigastric_pain_ge_1_day_week or bothersome_epigastric_burning_ge_1_day_week (Stanghellini 2016 Rome IV B1 functional dyspepsia)","pds":true,"rome_iv_fd":true},{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"no_structural_disease","met":true},{"factor":"bothersome_postprandial_fullness_ge_3_days_week","met":true},{"factor":"bothersome_early_satiation_ge_3_days_week","met":false},{"factor":"pds","met":true},{"factor":"bothersome_epigastric_pain_ge_1_day_week","met":false},{"factor":"bothersome_epigastric_burning_ge_1_day_week","met":false},{"factor":"eps","met":false},{"factor":"pds_or_eps","met":true}],"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.","eps":false,"formula":"rome_iv_fd","formula_expression":"rome_iv_fd iff criteria_last_3_months_onset_6_months and no_structural_disease and (pds or eps); pds iff bothersome_postprandial_fullness_ge_3_days_week or bothersome_early_satiation_ge_3_days_week; eps iff bothersome_epigastric_pain_ge_1_day_week or bothersome_epigastric_burning_ge_1_day_week (Stanghellini 2016 Rome IV B1 functional dyspepsia)","pds":true,"rome_iv_fd":true}],"path":"/api/calc/rome_iv_fd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bothersome_early_satiation_ge_3_days_week":{"description":"Bothersome early satiation at least 3 days per week (B1a PDS item; one or both PDS items required for PDS). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"bothersome_epigastric_burning_ge_1_day_week":{"description":"Bothersome epigastric burning at least 1 day per week (B1b EPS item; one or both EPS items required for EPS). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"bothersome_epigastric_pain_ge_1_day_week":{"description":"Bothersome epigastric pain at least 1 day per week (B1b EPS item; one or both EPS items required for EPS). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"bothersome_postprandial_fullness_ge_3_days_week":{"description":"Bothersome postprandial fullness at least 3 days per week (B1a PDS item; one or both PDS items required for PDS). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"criteria_last_3_months_onset_6_months":{"description":"Criteria fulfilled for the last 3 months with symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016 B1). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_structural_disease":{"description":"No evidence of structural disease (including at upper endoscopy) likely to explain the symptoms, as assigned by the caller (Stanghellini 2016 B1). true or false. magent does not examine the patient or interpret endoscopy.","type":"boolean"}},"required":["criteria_last_3_months_onset_6_months","no_structural_disease","bothersome_postprandial_fullness_ge_3_days_week","bothersome_early_satiation_ge_3_days_week","bothersome_epigastric_pain_ge_1_day_week","bothersome_epigastric_burning_ge_1_day_week"],"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":["rome-iv-fd","functional-dyspepsia","gi","pds","eps","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:56:24.621Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T07:56:24.439Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bothersome_early_satiation_ge_3_days_week":false,"bothersome_epigastric_burning_ge_1_day_week":false,"bothersome_epigastric_pain_ge_1_day_week":false,"bothersome_postprandial_fullness_ge_3_days_week":true,"criteria_last_3_months_onset_6_months":true,"no_structural_disease":true},{"bothersome_early_satiation_ge_3_days_week":false,"bothersome_epigastric_burning_ge_1_day_week":false,"bothersome_epigastric_pain_ge_1_day_week":false,"bothersome_postprandial_fullness_ge_3_days_week":true,"criteria_last_3_months_onset_6_months":true,"no_structural_disease":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"no_structural_disease","met":true},{"factor":"bothersome_postprandial_fullness_ge_3_days_week","met":true},{"factor":"bothersome_early_satiation_ge_3_days_week","met":false},{"factor":"pds","met":true},{"factor":"bothersome_epigastric_pain_ge_1_day_week","met":false},{"factor":"bothersome_epigastric_burning_ge_1_day_week","met":false},{"factor":"eps","met":false},{"factor":"pds_or_eps","met":true}],"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.","eps":false,"formula":"rome_iv_fd","formula_expression":"rome_iv_fd iff criteria_last_3_months_onset_6_months and no_structural_disease and (pds or eps); pds iff bothersome_postprandial_fullness_ge_3_days_week or bothersome_early_satiation_ge_3_days_week; eps iff bothersome_epigastric_pain_ge_1_day_week or bothersome_epigastric_burning_ge_1_day_week (Stanghellini 2016 Rome IV B1 functional dyspepsia)","pds":true,"rome_iv_fd":true},{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"no_structural_disease","met":true},{"factor":"bothersome_postprandial_fullness_ge_3_days_week","met":true},{"factor":"bothersome_early_satiation_ge_3_days_week","met":false},{"factor":"pds","met":true},{"factor":"bothersome_epigastric_pain_ge_1_day_week","met":false},{"factor":"bothersome_epigastric_burning_ge_1_day_week","met":false},{"factor":"eps","met":false},{"factor":"pds_or_eps","met":true}],"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.","eps":false,"formula":"rome_iv_fd","formula_expression":"rome_iv_fd iff criteria_last_3_months_onset_6_months and no_structural_disease and (pds or eps); pds iff bothersome_postprandial_fullness_ge_3_days_week or bothersome_early_satiation_ge_3_days_week; eps iff bothersome_epigastric_pain_ge_1_day_week or bothersome_epigastric_burning_ge_1_day_week (Stanghellini 2016 Rome IV B1 functional dyspepsia)","pds":true,"rome_iv_fd":true}],"path":"/api/calc/rome_iv_fd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bothersome_early_satiation_ge_3_days_week":{"description":"Bothersome early satiation at least 3 days per week (B1a PDS item; one or both PDS items required for PDS). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"bothersome_epigastric_burning_ge_1_day_week":{"description":"Bothersome epigastric burning at least 1 day per week (B1b EPS item; one or both EPS items required for EPS). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"bothersome_epigastric_pain_ge_1_day_week":{"description":"Bothersome epigastric pain at least 1 day per week (B1b EPS item; one or both EPS items required for EPS). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"bothersome_postprandial_fullness_ge_3_days_week":{"description":"Bothersome postprandial fullness at least 3 days per week (B1a PDS item; one or both PDS items required for PDS). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"criteria_last_3_months_onset_6_months":{"description":"Criteria fulfilled for the last 3 months with symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016 B1). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_structural_disease":{"description":"No evidence of structural disease (including at upper endoscopy) likely to explain the symptoms, as assigned by the caller (Stanghellini 2016 B1). true or false. magent does not examine the patient or interpret endoscopy.","type":"boolean"}},"required":["criteria_last_3_months_onset_6_months","no_structural_disease","bothersome_postprandial_fullness_ge_3_days_week","bothersome_early_satiation_ge_3_days_week","bothersome_epigastric_pain_ge_1_day_week","bothersome_epigastric_burning_ge_1_day_week"],"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},{"id":38769,"slug":"38769","resource":"https://api.magentlab.com/api/calc/rome_iv_fc","description":"Mearin 2016 Rome IV C2 FC. rome_iv_fc is true iff last-3-months criteria with 6-month onset, at least 2 of 6 symptoms (straining, lumpy/hard stools, incomplete evacuation, anorectal obstruction, manual maneuvers, fewer than 3 SBM/week), loose stools rare without laxatives, and insufficient IBS criteria. symptom_count is 0-6. Caller assigns nine flags. magent does not examine the patient. Not a diagnosis, not Rome IV IBS, not Manning, not opioid-induced or child constipation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anorectal_obstruction_gt_25_percent":false,"criteria_last_3_months_onset_6_months":true,"fewer_than_3_sbm_per_week":true,"incomplete_evacuation_gt_25_percent":false,"insufficient_criteria_for_ibs":true,"loose_stools_rare_without_laxatives":true,"lumpy_or_hard_stools_gt_25_percent":false,"manual_maneuvers_gt_25_percent":false,"straining_gt_25_percent":true},{"anorectal_obstruction_gt_25_percent":false,"criteria_last_3_months_onset_6_months":true,"fewer_than_3_sbm_per_week":true,"incomplete_evacuation_gt_25_percent":false,"insufficient_criteria_for_ibs":true,"loose_stools_rare_without_laxatives":true,"lumpy_or_hard_stools_gt_25_percent":false,"manual_maneuvers_gt_25_percent":false,"straining_gt_25_percent":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"straining_gt_25_percent","met":true},{"factor":"lumpy_or_hard_stools_gt_25_percent","met":false},{"factor":"incomplete_evacuation_gt_25_percent","met":false},{"factor":"anorectal_obstruction_gt_25_percent","met":false},{"factor":"manual_maneuvers_gt_25_percent","met":false},{"factor":"fewer_than_3_sbm_per_week","met":true},{"factor":"symptom_count_ge_2","met":true,"value":2},{"factor":"loose_stools_rare_without_laxatives","met":true},{"factor":"insufficient_criteria_for_ibs","met":true}],"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":"rome_iv_fc","formula_expression":"rome_iv_fc iff criteria_last_3_months_onset_6_months and symptom_count >= 2 and loose_stools_rare_without_laxatives and insufficient_criteria_for_ibs; symptom_count counts straining_gt_25_percent, lumpy_or_hard_stools_gt_25_percent, incomplete_evacuation_gt_25_percent, anorectal_obstruction_gt_25_percent, manual_maneuvers_gt_25_percent, and fewer_than_3_sbm_per_week (Mearin 2016 Rome IV C2 functional constipation)","rome_iv_fc":true,"symptom_count":2},{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"straining_gt_25_percent","met":true},{"factor":"lumpy_or_hard_stools_gt_25_percent","met":false},{"factor":"incomplete_evacuation_gt_25_percent","met":false},{"factor":"anorectal_obstruction_gt_25_percent","met":false},{"factor":"manual_maneuvers_gt_25_percent","met":false},{"factor":"fewer_than_3_sbm_per_week","met":true},{"factor":"symptom_count_ge_2","met":true,"value":2},{"factor":"loose_stools_rare_without_laxatives","met":true},{"factor":"insufficient_criteria_for_ibs","met":true}],"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":"rome_iv_fc","formula_expression":"rome_iv_fc iff criteria_last_3_months_onset_6_months and symptom_count >= 2 and loose_stools_rare_without_laxatives and insufficient_criteria_for_ibs; symptom_count counts straining_gt_25_percent, lumpy_or_hard_stools_gt_25_percent, incomplete_evacuation_gt_25_percent, anorectal_obstruction_gt_25_percent, manual_maneuvers_gt_25_percent, and fewer_than_3_sbm_per_week (Mearin 2016 Rome IV C2 functional constipation)","rome_iv_fc":true,"symptom_count":2}],"path":"/api/calc/rome_iv_fc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anorectal_obstruction_gt_25_percent":{"description":"Sensation of anorectal obstruction/blockage more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"criteria_last_3_months_onset_6_months":{"description":"Criteria fulfilled for the last 3 months with symptom onset at least 6 months prior to diagnosis, as assigned (Mearin 2016 C2). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"fewer_than_3_sbm_per_week":{"description":"Fewer than three spontaneous bowel movements per week (one of six C2 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"incomplete_evacuation_gt_25_percent":{"description":"Sensation of incomplete evacuation more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"insufficient_criteria_for_ibs":{"description":"Insufficient criteria for irritable bowel syndrome, as assigned by the caller (Mearin 2016 C2 requires IBS criteria are not met). true or false. magent does not apply the IBS box.","type":"boolean"},"loose_stools_rare_without_laxatives":{"description":"Loose stools are rarely present without the use of laxatives, as assigned (Mearin 2016 C2). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"lumpy_or_hard_stools_gt_25_percent":{"description":"Lumpy or hard stools (Bristol stool form types 1-2) more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller. magent does not inspect stool.","type":"boolean"},"manual_maneuvers_gt_25_percent":{"description":"Manual maneuvers to facilitate more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"straining_gt_25_percent":{"description":"Straining during more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["criteria_last_3_months_onset_6_months","straining_gt_25_percent","lumpy_or_hard_stools_gt_25_percent","incomplete_evacuation_gt_25_percent","anorectal_obstruction_gt_25_percent","manual_maneuvers_gt_25_percent","fewer_than_3_sbm_per_week","loose_stools_rare_without_laxatives","insufficient_criteria_for_ibs"],"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":["rome-iv-fc","functional-constipation","gi","constipation","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:56:23.836Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T07:56:23.684Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anorectal_obstruction_gt_25_percent":false,"criteria_last_3_months_onset_6_months":true,"fewer_than_3_sbm_per_week":true,"incomplete_evacuation_gt_25_percent":false,"insufficient_criteria_for_ibs":true,"loose_stools_rare_without_laxatives":true,"lumpy_or_hard_stools_gt_25_percent":false,"manual_maneuvers_gt_25_percent":false,"straining_gt_25_percent":true},{"anorectal_obstruction_gt_25_percent":false,"criteria_last_3_months_onset_6_months":true,"fewer_than_3_sbm_per_week":true,"incomplete_evacuation_gt_25_percent":false,"insufficient_criteria_for_ibs":true,"loose_stools_rare_without_laxatives":true,"lumpy_or_hard_stools_gt_25_percent":false,"manual_maneuvers_gt_25_percent":false,"straining_gt_25_percent":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"straining_gt_25_percent","met":true},{"factor":"lumpy_or_hard_stools_gt_25_percent","met":false},{"factor":"incomplete_evacuation_gt_25_percent","met":false},{"factor":"anorectal_obstruction_gt_25_percent","met":false},{"factor":"manual_maneuvers_gt_25_percent","met":false},{"factor":"fewer_than_3_sbm_per_week","met":true},{"factor":"symptom_count_ge_2","met":true,"value":2},{"factor":"loose_stools_rare_without_laxatives","met":true},{"factor":"insufficient_criteria_for_ibs","met":true}],"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":"rome_iv_fc","formula_expression":"rome_iv_fc iff criteria_last_3_months_onset_6_months and symptom_count >= 2 and loose_stools_rare_without_laxatives and insufficient_criteria_for_ibs; symptom_count counts straining_gt_25_percent, lumpy_or_hard_stools_gt_25_percent, incomplete_evacuation_gt_25_percent, anorectal_obstruction_gt_25_percent, manual_maneuvers_gt_25_percent, and fewer_than_3_sbm_per_week (Mearin 2016 Rome IV C2 functional constipation)","rome_iv_fc":true,"symptom_count":2},{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"straining_gt_25_percent","met":true},{"factor":"lumpy_or_hard_stools_gt_25_percent","met":false},{"factor":"incomplete_evacuation_gt_25_percent","met":false},{"factor":"anorectal_obstruction_gt_25_percent","met":false},{"factor":"manual_maneuvers_gt_25_percent","met":false},{"factor":"fewer_than_3_sbm_per_week","met":true},{"factor":"symptom_count_ge_2","met":true,"value":2},{"factor":"loose_stools_rare_without_laxatives","met":true},{"factor":"insufficient_criteria_for_ibs","met":true}],"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":"rome_iv_fc","formula_expression":"rome_iv_fc iff criteria_last_3_months_onset_6_months and symptom_count >= 2 and loose_stools_rare_without_laxatives and insufficient_criteria_for_ibs; symptom_count counts straining_gt_25_percent, lumpy_or_hard_stools_gt_25_percent, incomplete_evacuation_gt_25_percent, anorectal_obstruction_gt_25_percent, manual_maneuvers_gt_25_percent, and fewer_than_3_sbm_per_week (Mearin 2016 Rome IV C2 functional constipation)","rome_iv_fc":true,"symptom_count":2}],"path":"/api/calc/rome_iv_fc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anorectal_obstruction_gt_25_percent":{"description":"Sensation of anorectal obstruction/blockage more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"criteria_last_3_months_onset_6_months":{"description":"Criteria fulfilled for the last 3 months with symptom onset at least 6 months prior to diagnosis, as assigned (Mearin 2016 C2). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"fewer_than_3_sbm_per_week":{"description":"Fewer than three spontaneous bowel movements per week (one of six C2 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"incomplete_evacuation_gt_25_percent":{"description":"Sensation of incomplete evacuation more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"insufficient_criteria_for_ibs":{"description":"Insufficient criteria for irritable bowel syndrome, as assigned by the caller (Mearin 2016 C2 requires IBS criteria are not met). true or false. magent does not apply the IBS box.","type":"boolean"},"loose_stools_rare_without_laxatives":{"description":"Loose stools are rarely present without the use of laxatives, as assigned (Mearin 2016 C2). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"lumpy_or_hard_stools_gt_25_percent":{"description":"Lumpy or hard stools (Bristol stool form types 1-2) more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller. magent does not inspect stool.","type":"boolean"},"manual_maneuvers_gt_25_percent":{"description":"Manual maneuvers to facilitate more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"straining_gt_25_percent":{"description":"Straining during more than 25% of defecations (one of six C2 symptom items; at least two required). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["criteria_last_3_months_onset_6_months","straining_gt_25_percent","lumpy_or_hard_stools_gt_25_percent","incomplete_evacuation_gt_25_percent","anorectal_obstruction_gt_25_percent","manual_maneuvers_gt_25_percent","fewer_than_3_sbm_per_week","loose_stools_rare_without_laxatives","insufficient_criteria_for_ibs"],"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},{"id":38770,"slug":"38770","resource":"https://api.magentlab.com/api/calc/rome_iv_chs","description":"Stanghellini 2016 Rome IV CHS. rome_iv_chs is true iff stereotypical episodic vomiting resembling CVS, presentation after prolonged excessive cannabis use, relief with sustained cannabis cessation, criteria fulfilled for the last 3 months, and onset at least 6 months prior. pathologic_bathing is supportive and not required. Caller assigns six flags. magent does not take a cannabis history. Not a diagnosis, not cyclic vomiting syndrome.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"after_prolonged_excessive_cannabis":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"pathologic_bathing":true,"relief_with_sustained_cessation":true,"stereotypical_episodic_vomiting":true},{"after_prolonged_excessive_cannabis":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"pathologic_bathing":true,"relief_with_sustained_cessation":true,"stereotypical_episodic_vomiting":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"stereotypical_episodic_vomiting","met":true},{"factor":"after_prolonged_excessive_cannabis","met":true},{"factor":"relief_with_sustained_cessation","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"pathologic_bathing","met":true}],"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":"rome_iv_chs","formula_expression":"rome_iv_chs iff stereotypical_episodic_vomiting and after_prolonged_excessive_cannabis and relief_with_sustained_cessation and fulfilled_last_3_months and onset_at_least_6_months; pathologic_bathing is supportive and not required (Stanghellini 2016 Rome IV cannabinoid hyperemesis syndrome)","pathologic_bathing":true,"rome_iv_chs":true},{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"stereotypical_episodic_vomiting","met":true},{"factor":"after_prolonged_excessive_cannabis","met":true},{"factor":"relief_with_sustained_cessation","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"pathologic_bathing","met":true}],"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":"rome_iv_chs","formula_expression":"rome_iv_chs iff stereotypical_episodic_vomiting and after_prolonged_excessive_cannabis and relief_with_sustained_cessation and fulfilled_last_3_months and onset_at_least_6_months; pathologic_bathing is supportive and not required (Stanghellini 2016 Rome IV cannabinoid hyperemesis syndrome)","pathologic_bathing":true,"rome_iv_chs":true}],"path":"/api/calc/rome_iv_chs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"after_prolonged_excessive_cannabis":{"description":"Presentation after prolonged excessive cannabis use, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a cannabis history.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"pathologic_bathing":{"description":"Pathologic bathing behavior (prolonged hot baths or showers), a supportive criterion that is not required for rome_iv_chs (Stanghellini 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"relief_with_sustained_cessation":{"description":"Relief of vomiting episodes by sustained cessation of cannabis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a cannabis history.","type":"boolean"},"stereotypical_episodic_vomiting":{"description":"Stereotypical episodic vomiting resembling cyclic vomiting syndrome (CVS) in onset, duration, and frequency (Stanghellini 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["stereotypical_episodic_vomiting","after_prolonged_excessive_cannabis","relief_with_sustained_cessation","fulfilled_last_3_months","onset_at_least_6_months","pathologic_bathing"],"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":["rome-iv-chs","chs","gi","hyperemesis","cannabinoid","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:56:22.661Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T07:56:22.472Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"after_prolonged_excessive_cannabis":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"pathologic_bathing":true,"relief_with_sustained_cessation":true,"stereotypical_episodic_vomiting":true},{"after_prolonged_excessive_cannabis":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"pathologic_bathing":true,"relief_with_sustained_cessation":true,"stereotypical_episodic_vomiting":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"stereotypical_episodic_vomiting","met":true},{"factor":"after_prolonged_excessive_cannabis","met":true},{"factor":"relief_with_sustained_cessation","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"pathologic_bathing","met":true}],"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":"rome_iv_chs","formula_expression":"rome_iv_chs iff stereotypical_episodic_vomiting and after_prolonged_excessive_cannabis and relief_with_sustained_cessation and fulfilled_last_3_months and onset_at_least_6_months; pathologic_bathing is supportive and not required (Stanghellini 2016 Rome IV cannabinoid hyperemesis syndrome)","pathologic_bathing":true,"rome_iv_chs":true},{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"stereotypical_episodic_vomiting","met":true},{"factor":"after_prolonged_excessive_cannabis","met":true},{"factor":"relief_with_sustained_cessation","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"pathologic_bathing","met":true}],"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":"rome_iv_chs","formula_expression":"rome_iv_chs iff stereotypical_episodic_vomiting and after_prolonged_excessive_cannabis and relief_with_sustained_cessation and fulfilled_last_3_months and onset_at_least_6_months; pathologic_bathing is supportive and not required (Stanghellini 2016 Rome IV cannabinoid hyperemesis syndrome)","pathologic_bathing":true,"rome_iv_chs":true}],"path":"/api/calc/rome_iv_chs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"after_prolonged_excessive_cannabis":{"description":"Presentation after prolonged excessive cannabis use, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a cannabis history.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"pathologic_bathing":{"description":"Pathologic bathing behavior (prolonged hot baths or showers), a supportive criterion that is not required for rome_iv_chs (Stanghellini 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"relief_with_sustained_cessation":{"description":"Relief of vomiting episodes by sustained cessation of cannabis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a cannabis history.","type":"boolean"},"stereotypical_episodic_vomiting":{"description":"Stereotypical episodic vomiting resembling cyclic vomiting syndrome (CVS) in onset, duration, and frequency (Stanghellini 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["stereotypical_episodic_vomiting","after_prolonged_excessive_cannabis","relief_with_sustained_cessation","fulfilled_last_3_months","onset_at_least_6_months","pathologic_bathing"],"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},{"id":38771,"slug":"38771","resource":"https://api.magentlab.com/api/calc/rome_iv_child_ibs","description":"Hyams 2016 Rome IV H2b. rome_iv_child_ibs is true iff pain at least 4 days per month, stool_features_met >= 1, pain_does_not_resolve_with_constipation_treatment, not another condition, and 2-month duration. stool_features_met (0-3) counts related_to_defecation, change_in_stool_frequency, and change_in_stool_form. Caller assigns seven flags. magent does not examine the patient. Not a diagnosis. Not adult Rome IV IBS, not child functional constipation, not IBS-C/D/M/U subtype.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abdominal_pain_at_least_4_days_per_month":true,"change_in_stool_form":false,"change_in_stool_frequency":true,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition":true,"pain_does_not_resolve_with_constipation_treatment":true,"related_to_defecation":true},{"abdominal_pain_at_least_4_days_per_month":true,"change_in_stool_form":false,"change_in_stool_frequency":true,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition":true,"pain_does_not_resolve_with_constipation_treatment":true,"related_to_defecation":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"abdominal_pain_at_least_4_days_per_month","met":true},{"factor":"related_to_defecation","met":true},{"factor":"change_in_stool_frequency","met":true},{"factor":"change_in_stool_form","met":false},{"factor":"pain_does_not_resolve_with_constipation_treatment","met":true},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true},{"factor":"stool_features_ge_1","met":true,"value":2}],"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":"rome_iv_child_ibs","formula_expression":"rome_iv_child_ibs iff abdominal_pain_at_least_4_days_per_month and stool_features_met >= 1 and pain_does_not_resolve_with_constipation_treatment and not_explained_by_another_condition and fulfilled_at_least_2_months; stool_features_met counts related_to_defecation, change_in_stool_frequency, and change_in_stool_form (Hyams 2016 Rome IV H2b child/adolescent IBS)","rome_iv_child_ibs":true,"stool_features_met":2},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"abdominal_pain_at_least_4_days_per_month","met":true},{"factor":"related_to_defecation","met":true},{"factor":"change_in_stool_frequency","met":true},{"factor":"change_in_stool_form","met":false},{"factor":"pain_does_not_resolve_with_constipation_treatment","met":true},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true},{"factor":"stool_features_ge_1","met":true,"value":2}],"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":"rome_iv_child_ibs","formula_expression":"rome_iv_child_ibs iff abdominal_pain_at_least_4_days_per_month and stool_features_met >= 1 and pain_does_not_resolve_with_constipation_treatment and not_explained_by_another_condition and fulfilled_at_least_2_months; stool_features_met counts related_to_defecation, change_in_stool_frequency, and change_in_stool_form (Hyams 2016 Rome IV H2b child/adolescent IBS)","rome_iv_child_ibs":true,"stool_features_met":2}],"path":"/api/calc/rome_iv_child_ibs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_pain_at_least_4_days_per_month":{"description":"Abdominal pain at least 4 days per month, as assigned (Hyams 2016 Rome IV H2b). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"change_in_stool_form":{"description":"Pain associated with a change in form (appearance) of stool (one of three stool features; at least one required). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"change_in_stool_frequency":{"description":"Pain associated with a change in frequency of stool (one of three stool features; at least one required). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fulfilled_at_least_2_months":{"description":"Criteria fulfilled for at least 2 months, as assigned (Hyams 2016 Rome IV H2b). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H2b). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pain_does_not_resolve_with_constipation_treatment":{"description":"Pain does not resolve with resolution of the constipation, as assigned (Hyams 2016 Rome IV H2b item 2). Assign true if there is no constipation, or if pain persists after treating constipation. true or false as assigned by the caller. magent does not treat constipation or examine the patient.","type":"boolean"},"related_to_defecation":{"description":"Pain related to defecation (one of three stool features; at least one required). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["abdominal_pain_at_least_4_days_per_month","related_to_defecation","change_in_stool_frequency","change_in_stool_form","pain_does_not_resolve_with_constipation_treatment","not_explained_by_another_condition","fulfilled_at_least_2_months"],"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":["rome-iv-child-ibs","child-ibs","gi","rome-iv","h2b","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:51:19.607Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T07:51:19.49Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abdominal_pain_at_least_4_days_per_month":true,"change_in_stool_form":false,"change_in_stool_frequency":true,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition":true,"pain_does_not_resolve_with_constipation_treatment":true,"related_to_defecation":true},{"abdominal_pain_at_least_4_days_per_month":true,"change_in_stool_form":false,"change_in_stool_frequency":true,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition":true,"pain_does_not_resolve_with_constipation_treatment":true,"related_to_defecation":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"abdominal_pain_at_least_4_days_per_month","met":true},{"factor":"related_to_defecation","met":true},{"factor":"change_in_stool_frequency","met":true},{"factor":"change_in_stool_form","met":false},{"factor":"pain_does_not_resolve_with_constipation_treatment","met":true},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true},{"factor":"stool_features_ge_1","met":true,"value":2}],"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":"rome_iv_child_ibs","formula_expression":"rome_iv_child_ibs iff abdominal_pain_at_least_4_days_per_month and stool_features_met >= 1 and pain_does_not_resolve_with_constipation_treatment and not_explained_by_another_condition and fulfilled_at_least_2_months; stool_features_met counts related_to_defecation, change_in_stool_frequency, and change_in_stool_form (Hyams 2016 Rome IV H2b child/adolescent IBS)","rome_iv_child_ibs":true,"stool_features_met":2},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"abdominal_pain_at_least_4_days_per_month","met":true},{"factor":"related_to_defecation","met":true},{"factor":"change_in_stool_frequency","met":true},{"factor":"change_in_stool_form","met":false},{"factor":"pain_does_not_resolve_with_constipation_treatment","met":true},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true},{"factor":"stool_features_ge_1","met":true,"value":2}],"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":"rome_iv_child_ibs","formula_expression":"rome_iv_child_ibs iff abdominal_pain_at_least_4_days_per_month and stool_features_met >= 1 and pain_does_not_resolve_with_constipation_treatment and not_explained_by_another_condition and fulfilled_at_least_2_months; stool_features_met counts related_to_defecation, change_in_stool_frequency, and change_in_stool_form (Hyams 2016 Rome IV H2b child/adolescent IBS)","rome_iv_child_ibs":true,"stool_features_met":2}],"path":"/api/calc/rome_iv_child_ibs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_pain_at_least_4_days_per_month":{"description":"Abdominal pain at least 4 days per month, as assigned (Hyams 2016 Rome IV H2b). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"change_in_stool_form":{"description":"Pain associated with a change in form (appearance) of stool (one of three stool features; at least one required). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"change_in_stool_frequency":{"description":"Pain associated with a change in frequency of stool (one of three stool features; at least one required). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fulfilled_at_least_2_months":{"description":"Criteria fulfilled for at least 2 months, as assigned (Hyams 2016 Rome IV H2b). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H2b). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pain_does_not_resolve_with_constipation_treatment":{"description":"Pain does not resolve with resolution of the constipation, as assigned (Hyams 2016 Rome IV H2b item 2). Assign true if there is no constipation, or if pain persists after treating constipation. true or false as assigned by the caller. magent does not treat constipation or examine the patient.","type":"boolean"},"related_to_defecation":{"description":"Pain related to defecation (one of three stool features; at least one required). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["abdominal_pain_at_least_4_days_per_month","related_to_defecation","change_in_stool_frequency","change_in_stool_form","pain_does_not_resolve_with_constipation_treatment","not_explained_by_another_condition","fulfilled_at_least_2_months"],"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},{"id":38772,"slug":"38772","resource":"https://api.magentlab.com/api/calc/rome_iv_bloating","description":"Mearin 2016 Rome IV C4 bloating/distension. rome_iv_bloating is true iff last-3-months criteria with 6-month onset, recurrent bloating or distension ≥1 day/week that predominates, and insufficient criteria for IBS, functional constipation, functional diarrhea, or PDS. Caller assigns three flags. magent does not examine the patient. Not a diagnosis. Adult C4 only. Not child, not IBS, not functional constipation, not functional diarrhea, not PDS or functional dyspepsia.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"criteria_last_3_months_onset_6_months":true,"insufficient_criteria_for_ibs_fc_diarrhea_pds":true,"recurrent_bloating_or_distension_ge_1_day_week_predominant":true},{"criteria_last_3_months_onset_6_months":true,"insufficient_criteria_for_ibs_fc_diarrhea_pds":true,"recurrent_bloating_or_distension_ge_1_day_week_predominant":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"recurrent_bloating_or_distension_ge_1_day_week_predominant","met":true},{"factor":"insufficient_criteria_for_ibs_fc_diarrhea_pds","met":true}],"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":"rome_iv_bloating","formula_expression":"rome_iv_bloating iff criteria_last_3_months_onset_6_months and recurrent_bloating_or_distension_ge_1_day_week_predominant and insufficient_criteria_for_ibs_fc_diarrhea_pds (Mearin 2016 Rome IV C4 functional abdominal bloating/distension)","rome_iv_bloating":true},{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"recurrent_bloating_or_distension_ge_1_day_week_predominant","met":true},{"factor":"insufficient_criteria_for_ibs_fc_diarrhea_pds","met":true}],"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":"rome_iv_bloating","formula_expression":"rome_iv_bloating iff criteria_last_3_months_onset_6_months and recurrent_bloating_or_distension_ge_1_day_week_predominant and insufficient_criteria_for_ibs_fc_diarrhea_pds (Mearin 2016 Rome IV C4 functional abdominal bloating/distension)","rome_iv_bloating":true}],"path":"/api/calc/rome_iv_bloating"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"criteria_last_3_months_onset_6_months":{"description":"Criteria fulfilled for the last 3 months with symptom onset at least 6 months prior to diagnosis, as assigned (Mearin 2016 C4). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"insufficient_criteria_for_ibs_fc_diarrhea_pds":{"description":"Insufficient criteria for IBS, functional constipation, functional diarrhea, or postprandial distress syndrome, as assigned by the caller (Mearin 2016 C4). true or false. magent does not apply those other boxes.","type":"boolean"},"recurrent_bloating_or_distension_ge_1_day_week_predominant":{"description":"Recurrent bloating or visible distension, on average at least 1 day per week, that predominates over other bowel symptoms (Mearin 2016 C4). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["criteria_last_3_months_onset_6_months","recurrent_bloating_or_distension_ge_1_day_week_predominant","insufficient_criteria_for_ibs_fc_diarrhea_pds"],"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":["rome-iv-bloating","functional-bloating","gi","distension","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:51:18.781Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T07:51:18.66Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"criteria_last_3_months_onset_6_months":true,"insufficient_criteria_for_ibs_fc_diarrhea_pds":true,"recurrent_bloating_or_distension_ge_1_day_week_predominant":true},{"criteria_last_3_months_onset_6_months":true,"insufficient_criteria_for_ibs_fc_diarrhea_pds":true,"recurrent_bloating_or_distension_ge_1_day_week_predominant":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"recurrent_bloating_or_distension_ge_1_day_week_predominant","met":true},{"factor":"insufficient_criteria_for_ibs_fc_diarrhea_pds","met":true}],"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":"rome_iv_bloating","formula_expression":"rome_iv_bloating iff criteria_last_3_months_onset_6_months and recurrent_bloating_or_distension_ge_1_day_week_predominant and insufficient_criteria_for_ibs_fc_diarrhea_pds (Mearin 2016 Rome IV C4 functional abdominal bloating/distension)","rome_iv_bloating":true},{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"recurrent_bloating_or_distension_ge_1_day_week_predominant","met":true},{"factor":"insufficient_criteria_for_ibs_fc_diarrhea_pds","met":true}],"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":"rome_iv_bloating","formula_expression":"rome_iv_bloating iff criteria_last_3_months_onset_6_months and recurrent_bloating_or_distension_ge_1_day_week_predominant and insufficient_criteria_for_ibs_fc_diarrhea_pds (Mearin 2016 Rome IV C4 functional abdominal bloating/distension)","rome_iv_bloating":true}],"path":"/api/calc/rome_iv_bloating"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"criteria_last_3_months_onset_6_months":{"description":"Criteria fulfilled for the last 3 months with symptom onset at least 6 months prior to diagnosis, as assigned (Mearin 2016 C4). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"insufficient_criteria_for_ibs_fc_diarrhea_pds":{"description":"Insufficient criteria for IBS, functional constipation, functional diarrhea, or postprandial distress syndrome, as assigned by the caller (Mearin 2016 C4). true or false. magent does not apply those other boxes.","type":"boolean"},"recurrent_bloating_or_distension_ge_1_day_week_predominant":{"description":"Recurrent bloating or visible distension, on average at least 1 day per week, that predominates over other bowel symptoms (Mearin 2016 C4). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["criteria_last_3_months_onset_6_months","recurrent_bloating_or_distension_ge_1_day_week_predominant","insufficient_criteria_for_ibs_fc_diarrhea_pds"],"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},{"id":38773,"slug":"38773","resource":"https://api.magentlab.com/api/calc/rome_iv_belching","description":"Stanghellini 2016 Rome IV belching disorders (B2). rome_iv_belching is true iff bothersome (severe enough to impact usual activities) belching from the esophagus or stomach more than 3 days a week, last-3-months criteria, 6-month onset, and belching_origin supragastric (B2a) or gastric (B2b). magent does not measure impedance or take a history. Not a diagnosis, not adult aerophagia, not child H1d aerophagia, not bloating, not FD.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"belching_origin":"supragastric","bothersome_belching_more_than_3_days_week":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true},{"belching_origin":"supragastric","bothersome_belching_more_than_3_days_week":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"belching_origin":"supragastric","citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"bothersome_belching_more_than_3_days_week","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"belching_origin","met":true}],"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":"rome_iv_belching","formula_expression":"rome_iv_belching iff bothersome_belching_more_than_3_days_week and fulfilled_last_3_months and onset_at_least_6_months and belching_origin in (supragastric, gastric) (Stanghellini 2016 Rome IV belching disorders)","rome_iv_belching":true},{"belching_origin":"supragastric","citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"bothersome_belching_more_than_3_days_week","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"belching_origin","met":true}],"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":"rome_iv_belching","formula_expression":"rome_iv_belching iff bothersome_belching_more_than_3_days_week and fulfilled_last_3_months and onset_at_least_6_months and belching_origin in (supragastric, gastric) (Stanghellini 2016 Rome IV belching disorders)","rome_iv_belching":true}],"path":"/api/calc/rome_iv_belching"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"belching_origin":{"description":"Caller-assigned origin of excessive belching: supragastric (B2a, from the esophagus) or gastric (B2b, from the stomach) (Stanghellini 2016). Objective impedance distinguishes them in the paper; magent does not measure impedance.","enum":["supragastric","gastric"],"type":"string"},"bothersome_belching_more_than_3_days_week":{"description":"Bothersome (severe enough to impact usual activities) belching from the esophagus or stomach more than 3 days a week (Stanghellini 2016 Rome IV B2). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["bothersome_belching_more_than_3_days_week","fulfilled_last_3_months","onset_at_least_6_months","belching_origin"],"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":["rome-iv-belching","belching","gi","gastroduodenal","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:51:17.896Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T07:51:17.759Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"belching_origin":"supragastric","bothersome_belching_more_than_3_days_week":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true},{"belching_origin":"supragastric","bothersome_belching_more_than_3_days_week":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"belching_origin":"supragastric","citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"bothersome_belching_more_than_3_days_week","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"belching_origin","met":true}],"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":"rome_iv_belching","formula_expression":"rome_iv_belching iff bothersome_belching_more_than_3_days_week and fulfilled_last_3_months and onset_at_least_6_months and belching_origin in (supragastric, gastric) (Stanghellini 2016 Rome IV belching disorders)","rome_iv_belching":true},{"belching_origin":"supragastric","citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"bothersome_belching_more_than_3_days_week","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"belching_origin","met":true}],"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":"rome_iv_belching","formula_expression":"rome_iv_belching iff bothersome_belching_more_than_3_days_week and fulfilled_last_3_months and onset_at_least_6_months and belching_origin in (supragastric, gastric) (Stanghellini 2016 Rome IV belching disorders)","rome_iv_belching":true}],"path":"/api/calc/rome_iv_belching"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"belching_origin":{"description":"Caller-assigned origin of excessive belching: supragastric (B2a, from the esophagus) or gastric (B2b, from the stomach) (Stanghellini 2016). Objective impedance distinguishes them in the paper; magent does not measure impedance.","enum":["supragastric","gastric"],"type":"string"},"bothersome_belching_more_than_3_days_week":{"description":"Bothersome (severe enough to impact usual activities) belching from the esophagus or stomach more than 3 days a week (Stanghellini 2016 Rome IV B2). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["bothersome_belching_more_than_3_days_week","fulfilled_last_3_months","onset_at_least_6_months","belching_origin"],"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},{"id":38774,"slug":"38774","resource":"https://api.magentlab.com/api/calc/la_grading","description":"Lundell 1999 Table 1 Los Angeles classification. Caller-assigned flags. none if no mucosal break (not minimal changes); D if break(s) involve ≥75% of circumference; C if continuous between fold tops but <75%; B if longest break >5 mm not between fold tops; A if ≤5 mm not between fold tops. magent does not interpret images. Not Savary-Miller, GERD diagnosis, Barrett/stricture, or 1994 LA (D was fully circumferential). Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"circumference_ge_75_percent":false,"continuous_between_folds":false,"longest_break_gt_5_mm":false,"mucosal_break":false},{"circumference_ge_75_percent":false,"continuous_between_folds":false,"longest_break_gt_5_mm":false,"mucosal_break":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lundell LR, Dent J, Bennett JR, Blum AL, Armstrong D, Galmiche JP, Johnson F, Hongo M, Richter JE, Spechler SJ, Tytgat GN, Wallin L","doi":"10.1136/gut.45.2.172","id":"lundell-1999","pmid":"10403727","source":"Gut. 1999;45(2):172-180","title":"Endoscopic assessment of oesophagitis: clinical and functional correlates and further validation of the Los Angeles classification"},"criteria":[{"factor":"mucosal_break","met":false},{"factor":"longest_break_gt_5_mm","met":false},{"factor":"continuous_between_folds","met":false},{"factor":"circumference_ge_75_percent","met":false},{"factor":"none","met":true},{"factor":"A","met":false},{"factor":"B","met":false},{"factor":"C","met":false},{"factor":"D","met":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":"la_grading","formula_expression":"la_grade is none if mucosal_break is false (no LA A-D; not minimal changes); else D if circumference_ge_75_percent (mucosal break(s) involve at least 75% of the oesophageal circumference); else C if continuous_between_folds (continuous between the tops of two or more mucosal folds but less than 75% of circumference); else B if longest_break_gt_5_mm (one or more breaks more than 5 mm that do not extend between the tops of two mucosal folds); else A (one or more breaks no longer than 5 mm that do not extend between the tops of two mucosal folds) (Lundell 1999 Table 1 Los Angeles classification)","la_grade":"none"},{"citation":{"authors":"Lundell LR, Dent J, Bennett JR, Blum AL, Armstrong D, Galmiche JP, Johnson F, Hongo M, Richter JE, Spechler SJ, Tytgat GN, Wallin L","doi":"10.1136/gut.45.2.172","id":"lundell-1999","pmid":"10403727","source":"Gut. 1999;45(2):172-180","title":"Endoscopic assessment of oesophagitis: clinical and functional correlates and further validation of the Los Angeles classification"},"criteria":[{"factor":"mucosal_break","met":false},{"factor":"longest_break_gt_5_mm","met":false},{"factor":"continuous_between_folds","met":false},{"factor":"circumference_ge_75_percent","met":false},{"factor":"none","met":true},{"factor":"A","met":false},{"factor":"B","met":false},{"factor":"C","met":false},{"factor":"D","met":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":"la_grading","formula_expression":"la_grade is none if mucosal_break is false (no LA A-D; not minimal changes); else D if circumference_ge_75_percent (mucosal break(s) involve at least 75% of the oesophageal circumference); else C if continuous_between_folds (continuous between the tops of two or more mucosal folds but less than 75% of circumference); else B if longest_break_gt_5_mm (one or more breaks more than 5 mm that do not extend between the tops of two mucosal folds); else A (one or more breaks no longer than 5 mm that do not extend between the tops of two mucosal folds) (Lundell 1999 Table 1 Los Angeles classification)","la_grade":"none"}],"path":"/api/calc/la_grading"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"circumference_ge_75_percent":{"description":"Mucosal break(s) involve at least 75% of the oesophageal circumference, as assigned by the caller (Lundell 1999 Table 1 grade D; the 1999 revision, not the 1994 fully circumferential proposal). true or false. Required even when mucosal_break is false (does not change none). magent does not interpret endoscopy images.","type":"boolean"},"continuous_between_folds":{"description":"A mucosal break is continuous between the tops of two or more mucosal folds, as assigned by the caller (Lundell 1999 Table 1 grade C). true or false. Required even when mucosal_break is false (does not change none). magent does not interpret endoscopy images.","type":"boolean"},"longest_break_gt_5_mm":{"description":"Longest mucosal break more than 5 mm long, as assigned by the caller (Lundell 1999 Table 1 grade B vs A). true or false. Required even when mucosal_break is false (does not change none). magent does not measure lesions.","type":"boolean"},"mucosal_break":{"description":"One or more mucosal breaks present, as assigned by the caller. Lundell 1999 defines a mucosal break as an area of slough or erythema with a discrete line of demarcation from adjacent more normal-looking mucosa. true or false. If false, la_grade is none (no LA A-D; not minimal changes). magent does not interpret endoscopy images.","type":"boolean"}},"required":["mucosal_break","longest_break_gt_5_mm","continuous_between_folds","circumference_ge_75_percent"],"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":["la-grading","oesophagitis","endoscopy","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:31:17.576Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T07:31:17.464Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"circumference_ge_75_percent":false,"continuous_between_folds":false,"longest_break_gt_5_mm":false,"mucosal_break":false},{"circumference_ge_75_percent":false,"continuous_between_folds":false,"longest_break_gt_5_mm":false,"mucosal_break":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lundell LR, Dent J, Bennett JR, Blum AL, Armstrong D, Galmiche JP, Johnson F, Hongo M, Richter JE, Spechler SJ, Tytgat GN, Wallin L","doi":"10.1136/gut.45.2.172","id":"lundell-1999","pmid":"10403727","source":"Gut. 1999;45(2):172-180","title":"Endoscopic assessment of oesophagitis: clinical and functional correlates and further validation of the Los Angeles classification"},"criteria":[{"factor":"mucosal_break","met":false},{"factor":"longest_break_gt_5_mm","met":false},{"factor":"continuous_between_folds","met":false},{"factor":"circumference_ge_75_percent","met":false},{"factor":"none","met":true},{"factor":"A","met":false},{"factor":"B","met":false},{"factor":"C","met":false},{"factor":"D","met":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":"la_grading","formula_expression":"la_grade is none if mucosal_break is false (no LA A-D; not minimal changes); else D if circumference_ge_75_percent (mucosal break(s) involve at least 75% of the oesophageal circumference); else C if continuous_between_folds (continuous between the tops of two or more mucosal folds but less than 75% of circumference); else B if longest_break_gt_5_mm (one or more breaks more than 5 mm that do not extend between the tops of two mucosal folds); else A (one or more breaks no longer than 5 mm that do not extend between the tops of two mucosal folds) (Lundell 1999 Table 1 Los Angeles classification)","la_grade":"none"},{"citation":{"authors":"Lundell LR, Dent J, Bennett JR, Blum AL, Armstrong D, Galmiche JP, Johnson F, Hongo M, Richter JE, Spechler SJ, Tytgat GN, Wallin L","doi":"10.1136/gut.45.2.172","id":"lundell-1999","pmid":"10403727","source":"Gut. 1999;45(2):172-180","title":"Endoscopic assessment of oesophagitis: clinical and functional correlates and further validation of the Los Angeles classification"},"criteria":[{"factor":"mucosal_break","met":false},{"factor":"longest_break_gt_5_mm","met":false},{"factor":"continuous_between_folds","met":false},{"factor":"circumference_ge_75_percent","met":false},{"factor":"none","met":true},{"factor":"A","met":false},{"factor":"B","met":false},{"factor":"C","met":false},{"factor":"D","met":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":"la_grading","formula_expression":"la_grade is none if mucosal_break is false (no LA A-D; not minimal changes); else D if circumference_ge_75_percent (mucosal break(s) involve at least 75% of the oesophageal circumference); else C if continuous_between_folds (continuous between the tops of two or more mucosal folds but less than 75% of circumference); else B if longest_break_gt_5_mm (one or more breaks more than 5 mm that do not extend between the tops of two mucosal folds); else A (one or more breaks no longer than 5 mm that do not extend between the tops of two mucosal folds) (Lundell 1999 Table 1 Los Angeles classification)","la_grade":"none"}],"path":"/api/calc/la_grading"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"circumference_ge_75_percent":{"description":"Mucosal break(s) involve at least 75% of the oesophageal circumference, as assigned by the caller (Lundell 1999 Table 1 grade D; the 1999 revision, not the 1994 fully circumferential proposal). true or false. Required even when mucosal_break is false (does not change none). magent does not interpret endoscopy images.","type":"boolean"},"continuous_between_folds":{"description":"A mucosal break is continuous between the tops of two or more mucosal folds, as assigned by the caller (Lundell 1999 Table 1 grade C). true or false. Required even when mucosal_break is false (does not change none). magent does not interpret endoscopy images.","type":"boolean"},"longest_break_gt_5_mm":{"description":"Longest mucosal break more than 5 mm long, as assigned by the caller (Lundell 1999 Table 1 grade B vs A). true or false. Required even when mucosal_break is false (does not change none). magent does not measure lesions.","type":"boolean"},"mucosal_break":{"description":"One or more mucosal breaks present, as assigned by the caller. Lundell 1999 defines a mucosal break as an area of slough or erythema with a discrete line of demarcation from adjacent more normal-looking mucosa. true or false. If false, la_grade is none (no LA A-D; not minimal changes). magent does not interpret endoscopy images.","type":"boolean"}},"required":["mucosal_break","longest_break_gt_5_mm","continuous_between_folds","circumference_ge_75_percent"],"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},{"id":38775,"slug":"38775","resource":"https://api.magentlab.com/api/calc/rome_ii_ibs","description":"Thompson 1999 Rome II IBS. rome_ii_ibs is true iff at least 12 weeks (need not be consecutive) in the preceding 12 months of abdominal discomfort or pain and at least two of: relieved with defecation, onset associated with a change in stool frequency, and onset associated with a change in stool form. supporting_features_met is 0-3. Caller assigns four flags. magent does not examine the patient. Not a diagnosis, not Rome III, not Rome IV, not Manning, not IBS subtype.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"onset_change_stool_form":false,"onset_change_stool_frequency":true,"pain_or_discomfort_12_weeks_of_12_months":true,"relieved_with_defecation":true},{"onset_change_stool_form":false,"onset_change_stool_frequency":true,"pain_or_discomfort_12_weeks_of_12_months":true,"relieved_with_defecation":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Thompson WG, Longstreth GF, Drossman DA, Heaton KW, Irvine EJ, Müller-Lissner SA","doi":"10.1136/gut.45.2008.ii43","id":"thompson-1999","pmid":"10457044","source":"Gut. 1999;45 Suppl 2:II43-II47","title":"Functional bowel disorders and functional abdominal pain"},"criteria":[{"factor":"pain_or_discomfort_12_weeks_of_12_months","met":true},{"factor":"relieved_with_defecation","met":true},{"factor":"onset_change_stool_frequency","met":true},{"factor":"onset_change_stool_form","met":false},{"factor":"supporting_features_ge_2","met":true,"value":2}],"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":"rome_ii_ibs","formula_expression":"rome_ii_ibs iff pain_or_discomfort_12_weeks_of_12_months and supporting_features_met >= 2; supporting_features_met counts relieved_with_defecation, onset_change_stool_frequency, and onset_change_stool_form (Thompson 1999 Rome II IBS diagnostic criteria)","rome_ii_ibs":true,"supporting_features_met":2},{"citation":{"authors":"Thompson WG, Longstreth GF, Drossman DA, Heaton KW, Irvine EJ, Müller-Lissner SA","doi":"10.1136/gut.45.2008.ii43","id":"thompson-1999","pmid":"10457044","source":"Gut. 1999;45 Suppl 2:II43-II47","title":"Functional bowel disorders and functional abdominal pain"},"criteria":[{"factor":"pain_or_discomfort_12_weeks_of_12_months","met":true},{"factor":"relieved_with_defecation","met":true},{"factor":"onset_change_stool_frequency","met":true},{"factor":"onset_change_stool_form","met":false},{"factor":"supporting_features_ge_2","met":true,"value":2}],"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":"rome_ii_ibs","formula_expression":"rome_ii_ibs iff pain_or_discomfort_12_weeks_of_12_months and supporting_features_met >= 2; supporting_features_met counts relieved_with_defecation, onset_change_stool_frequency, and onset_change_stool_form (Thompson 1999 Rome II IBS diagnostic criteria)","rome_ii_ibs":true,"supporting_features_met":2}],"path":"/api/calc/rome_ii_ibs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"onset_change_stool_form":{"description":"Onset associated with a change in form (appearance) of stool (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"onset_change_stool_frequency":{"description":"Onset associated with a change in frequency of stool (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"pain_or_discomfort_12_weeks_of_12_months":{"description":"At least 12 weeks (need not be consecutive) in the preceding 12 months of abdominal discomfort or pain (Thompson 1999). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"relieved_with_defecation":{"description":"Abdominal discomfort or pain relieved with defecation (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"}},"required":["pain_or_discomfort_12_weeks_of_12_months","relieved_with_defecation","onset_change_stool_frequency","onset_change_stool_form"],"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":["rome-ii-ibs","ibs","gi","functional-bowel","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:01:15.318Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T07:01:15.213Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"onset_change_stool_form":false,"onset_change_stool_frequency":true,"pain_or_discomfort_12_weeks_of_12_months":true,"relieved_with_defecation":true},{"onset_change_stool_form":false,"onset_change_stool_frequency":true,"pain_or_discomfort_12_weeks_of_12_months":true,"relieved_with_defecation":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Thompson WG, Longstreth GF, Drossman DA, Heaton KW, Irvine EJ, Müller-Lissner SA","doi":"10.1136/gut.45.2008.ii43","id":"thompson-1999","pmid":"10457044","source":"Gut. 1999;45 Suppl 2:II43-II47","title":"Functional bowel disorders and functional abdominal pain"},"criteria":[{"factor":"pain_or_discomfort_12_weeks_of_12_months","met":true},{"factor":"relieved_with_defecation","met":true},{"factor":"onset_change_stool_frequency","met":true},{"factor":"onset_change_stool_form","met":false},{"factor":"supporting_features_ge_2","met":true,"value":2}],"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":"rome_ii_ibs","formula_expression":"rome_ii_ibs iff pain_or_discomfort_12_weeks_of_12_months and supporting_features_met >= 2; supporting_features_met counts relieved_with_defecation, onset_change_stool_frequency, and onset_change_stool_form (Thompson 1999 Rome II IBS diagnostic criteria)","rome_ii_ibs":true,"supporting_features_met":2},{"citation":{"authors":"Thompson WG, Longstreth GF, Drossman DA, Heaton KW, Irvine EJ, Müller-Lissner SA","doi":"10.1136/gut.45.2008.ii43","id":"thompson-1999","pmid":"10457044","source":"Gut. 1999;45 Suppl 2:II43-II47","title":"Functional bowel disorders and functional abdominal pain"},"criteria":[{"factor":"pain_or_discomfort_12_weeks_of_12_months","met":true},{"factor":"relieved_with_defecation","met":true},{"factor":"onset_change_stool_frequency","met":true},{"factor":"onset_change_stool_form","met":false},{"factor":"supporting_features_ge_2","met":true,"value":2}],"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":"rome_ii_ibs","formula_expression":"rome_ii_ibs iff pain_or_discomfort_12_weeks_of_12_months and supporting_features_met >= 2; supporting_features_met counts relieved_with_defecation, onset_change_stool_frequency, and onset_change_stool_form (Thompson 1999 Rome II IBS diagnostic criteria)","rome_ii_ibs":true,"supporting_features_met":2}],"path":"/api/calc/rome_ii_ibs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"onset_change_stool_form":{"description":"Onset associated with a change in form (appearance) of stool (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"onset_change_stool_frequency":{"description":"Onset associated with a change in frequency of stool (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"pain_or_discomfort_12_weeks_of_12_months":{"description":"At least 12 weeks (need not be consecutive) in the preceding 12 months of abdominal discomfort or pain (Thompson 1999). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"relieved_with_defecation":{"description":"Abdominal discomfort or pain relieved with defecation (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"}},"required":["pain_or_discomfort_12_weeks_of_12_months","relieved_with_defecation","onset_change_stool_frequency","onset_change_stool_form"],"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},{"id":38776,"slug":"38776","resource":"https://api.magentlab.com/api/calc/capra","description":"Cooperberg 2005 UCSF CAPRA preoperative score (Table 1). Caller-assigned PSA (>=2.1-6 0, >6-10 1, >10-20 2, >20-30 3, >30 4), Gleason 1-3/1-3 0, 1-3/4-5 1, primary 4-5 3, clinical T t1/t2 0 or t3a 1, percent positive biopsies <34 0 or >=34 1, age <50 0 or >=50 1. Score 0-10. Table 4 bands 0_1, 2, 3, 4, 5, 6, ge_7 with 5-year RFS 85/81/66/59/60/34/8. Not Kattan. Not D'Amico. Not CAPRA-S. magent does not assay PSA or read biopsies. Not a diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":62,"gleason_primary":3,"gleason_secondary":3,"percent_positive_biopsies":20,"psa_ng_ml":5,"t_stage":"t1"},{"age":62,"gleason_primary":3,"gleason_secondary":3,"percent_positive_biopsies":20,"psa_ng_ml":5,"t_stage":"t1"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":62,"band":"0_1","citation":{"authors":"Cooperberg MR, Pasta DJ, Elkin EP, Litwin MS, Latini DM, Du Chane J, Carroll PR","doi":"10.1097/01.ju.0000158155.33890.e7","id":"cooperberg-2005","pmid":"15879786","source":"J Urol. 2005;173(6):1938-1942","title":"The University of California, San Francisco Cancer of the Prostate Risk Assessment score: a straightforward and reliable preoperative predictor of disease recurrence after radical prostatectomy"},"components":[{"factor":"psa_ng_ml","points":0,"present":true,"value":5},{"factor":"gleason","points":0,"present":true,"value":"3+3"},{"factor":"t_stage","points":0,"present":true,"value":"t1"},{"factor":"percent_positive_biopsies","points":0,"present":true,"value":20},{"factor":"age","points":1,"present":true,"value":62}],"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":"capra","formula_expression":"CAPRA (Cooperberg 2005 Table 1) = psa_ng_ml (>=2.1 and <=6.0 0, >6.0 and <=10.0 1, >10.0 and <=20.0 2, >20.0 and <=30.0 3, >30 4; PSA <2.1 excluded) + gleason (primary/secondary 1-3/1-3 0, 1-3/4-5 1, primary 4-5 3) + t_stage (t1 or t2 0, t3a 1) + percent_positive_biopsies (<34 0, >=34 1) + age (<50 0, >=50 1); score 0-10; Table 4 Kaplan-Meier bands 0_1 / 2 / 3 / 4 / 5 / 6 / ge_7 with 5-year RFS 85 / 81 / 66 / 59 / 60 / 34 / 8. Not Kattan nomogram. Not D'Amico groups. Not CAPRA-S","gleason_primary":3,"gleason_secondary":3,"max_score":10,"percent_positive_biopsies":20,"psa_ng_ml":5,"rfs_5y_percent":85,"score":1,"t_stage":"t1"},{"age_years":62,"band":"0_1","citation":{"authors":"Cooperberg MR, Pasta DJ, Elkin EP, Litwin MS, Latini DM, Du Chane J, Carroll PR","doi":"10.1097/01.ju.0000158155.33890.e7","id":"cooperberg-2005","pmid":"15879786","source":"J Urol. 2005;173(6):1938-1942","title":"The University of California, San Francisco Cancer of the Prostate Risk Assessment score: a straightforward and reliable preoperative predictor of disease recurrence after radical prostatectomy"},"components":[{"factor":"psa_ng_ml","points":0,"present":true,"value":5},{"factor":"gleason","points":0,"present":true,"value":"3+3"},{"factor":"t_stage","points":0,"present":true,"value":"t1"},{"factor":"percent_positive_biopsies","points":0,"present":true,"value":20},{"factor":"age","points":1,"present":true,"value":62}],"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":"capra","formula_expression":"CAPRA (Cooperberg 2005 Table 1) = psa_ng_ml (>=2.1 and <=6.0 0, >6.0 and <=10.0 1, >10.0 and <=20.0 2, >20.0 and <=30.0 3, >30 4; PSA <2.1 excluded) + gleason (primary/secondary 1-3/1-3 0, 1-3/4-5 1, primary 4-5 3) + t_stage (t1 or t2 0, t3a 1) + percent_positive_biopsies (<34 0, >=34 1) + age (<50 0, >=50 1); score 0-10; Table 4 Kaplan-Meier bands 0_1 / 2 / 3 / 4 / 5 / 6 / ge_7 with 5-year RFS 85 / 81 / 66 / 59 / 60 / 34 / 8. Not Kattan nomogram. Not D'Amico groups. Not CAPRA-S","gleason_primary":3,"gleason_secondary":3,"max_score":10,"percent_positive_biopsies":20,"psa_ng_ml":5,"rfs_5y_percent":85,"score":1,"t_stage":"t1"}],"path":"/api/calc/capra"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120, Params.age). Cooperberg 2005 Table 1: <50 scores 0; >=50 scores 1.","type":"integer"},"gleason_primary":{"description":"Primary Gleason pattern 1-5 as assigned by the caller (Cooperberg 2005 Table 1). Integer 1-5 only. Combined with gleason_secondary: 1-3/1-3 scores 0; 1-3/4-5 scores 1; primary 4-5 scores 3. magent does not read biopsies.","type":"integer"},"gleason_secondary":{"description":"Secondary Gleason pattern 1-5 as assigned by the caller (Cooperberg 2005 Table 1). Integer 1-5 only. Combined with gleason_primary as above. magent does not read biopsies.","type":"integer"},"percent_positive_biopsies":{"description":"Percent of biopsy cores positive (0-100) as assigned by the caller (Cooperberg 2005 Table 1). <34 scores 0; >=34 scores 1. magent does not read biopsies.","type":"number"},"psa_ng_ml":{"description":"Preoperative PSA in ng/mL as assigned by the caller (2.1-500). Cooperberg 2005 Table 1: >=2.1 and <=6.0 scores 0; >6.0 and <=10.0 scores 1; >10.0 and <=20.0 scores 2; >20.0 and <=30.0 scores 3; >30 scores 4. PSA <2.1 is invalid (paper excluded PSA <2). magent does not assay PSA.","type":"number"},"t_stage":{"description":"Clinical T as assigned by the caller (Cooperberg 2005 Table 1). t1 or t2 scores 0; t3a scores 1. Other stages are invalid. Not CAPRA-S pathologic T. magent does not assign TNM.","enum":["t1","t2","t3a"],"type":"string"}},"required":["age","psa_ng_ml","gleason_primary","gleason_secondary","t_stage","percent_positive_biopsies"],"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":["capra","prostate","cooperberg","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:01:07.7Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T01:01:07.47Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":62,"gleason_primary":3,"gleason_secondary":3,"percent_positive_biopsies":20,"psa_ng_ml":5,"t_stage":"t1"},{"age":62,"gleason_primary":3,"gleason_secondary":3,"percent_positive_biopsies":20,"psa_ng_ml":5,"t_stage":"t1"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":62,"band":"0_1","citation":{"authors":"Cooperberg MR, Pasta DJ, Elkin EP, Litwin MS, Latini DM, Du Chane J, Carroll PR","doi":"10.1097/01.ju.0000158155.33890.e7","id":"cooperberg-2005","pmid":"15879786","source":"J Urol. 2005;173(6):1938-1942","title":"The University of California, San Francisco Cancer of the Prostate Risk Assessment score: a straightforward and reliable preoperative predictor of disease recurrence after radical prostatectomy"},"components":[{"factor":"psa_ng_ml","points":0,"present":true,"value":5},{"factor":"gleason","points":0,"present":true,"value":"3+3"},{"factor":"t_stage","points":0,"present":true,"value":"t1"},{"factor":"percent_positive_biopsies","points":0,"present":true,"value":20},{"factor":"age","points":1,"present":true,"value":62}],"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":"capra","formula_expression":"CAPRA (Cooperberg 2005 Table 1) = psa_ng_ml (>=2.1 and <=6.0 0, >6.0 and <=10.0 1, >10.0 and <=20.0 2, >20.0 and <=30.0 3, >30 4; PSA <2.1 excluded) + gleason (primary/secondary 1-3/1-3 0, 1-3/4-5 1, primary 4-5 3) + t_stage (t1 or t2 0, t3a 1) + percent_positive_biopsies (<34 0, >=34 1) + age (<50 0, >=50 1); score 0-10; Table 4 Kaplan-Meier bands 0_1 / 2 / 3 / 4 / 5 / 6 / ge_7 with 5-year RFS 85 / 81 / 66 / 59 / 60 / 34 / 8. Not Kattan nomogram. Not D'Amico groups. Not CAPRA-S","gleason_primary":3,"gleason_secondary":3,"max_score":10,"percent_positive_biopsies":20,"psa_ng_ml":5,"rfs_5y_percent":85,"score":1,"t_stage":"t1"},{"age_years":62,"band":"0_1","citation":{"authors":"Cooperberg MR, Pasta DJ, Elkin EP, Litwin MS, Latini DM, Du Chane J, Carroll PR","doi":"10.1097/01.ju.0000158155.33890.e7","id":"cooperberg-2005","pmid":"15879786","source":"J Urol. 2005;173(6):1938-1942","title":"The University of California, San Francisco Cancer of the Prostate Risk Assessment score: a straightforward and reliable preoperative predictor of disease recurrence after radical prostatectomy"},"components":[{"factor":"psa_ng_ml","points":0,"present":true,"value":5},{"factor":"gleason","points":0,"present":true,"value":"3+3"},{"factor":"t_stage","points":0,"present":true,"value":"t1"},{"factor":"percent_positive_biopsies","points":0,"present":true,"value":20},{"factor":"age","points":1,"present":true,"value":62}],"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":"capra","formula_expression":"CAPRA (Cooperberg 2005 Table 1) = psa_ng_ml (>=2.1 and <=6.0 0, >6.0 and <=10.0 1, >10.0 and <=20.0 2, >20.0 and <=30.0 3, >30 4; PSA <2.1 excluded) + gleason (primary/secondary 1-3/1-3 0, 1-3/4-5 1, primary 4-5 3) + t_stage (t1 or t2 0, t3a 1) + percent_positive_biopsies (<34 0, >=34 1) + age (<50 0, >=50 1); score 0-10; Table 4 Kaplan-Meier bands 0_1 / 2 / 3 / 4 / 5 / 6 / ge_7 with 5-year RFS 85 / 81 / 66 / 59 / 60 / 34 / 8. Not Kattan nomogram. Not D'Amico groups. Not CAPRA-S","gleason_primary":3,"gleason_secondary":3,"max_score":10,"percent_positive_biopsies":20,"psa_ng_ml":5,"rfs_5y_percent":85,"score":1,"t_stage":"t1"}],"path":"/api/calc/capra"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120, Params.age). Cooperberg 2005 Table 1: <50 scores 0; >=50 scores 1.","type":"integer"},"gleason_primary":{"description":"Primary Gleason pattern 1-5 as assigned by the caller (Cooperberg 2005 Table 1). Integer 1-5 only. Combined with gleason_secondary: 1-3/1-3 scores 0; 1-3/4-5 scores 1; primary 4-5 scores 3. magent does not read biopsies.","type":"integer"},"gleason_secondary":{"description":"Secondary Gleason pattern 1-5 as assigned by the caller (Cooperberg 2005 Table 1). Integer 1-5 only. Combined with gleason_primary as above. magent does not read biopsies.","type":"integer"},"percent_positive_biopsies":{"description":"Percent of biopsy cores positive (0-100) as assigned by the caller (Cooperberg 2005 Table 1). <34 scores 0; >=34 scores 1. magent does not read biopsies.","type":"number"},"psa_ng_ml":{"description":"Preoperative PSA in ng/mL as assigned by the caller (2.1-500). Cooperberg 2005 Table 1: >=2.1 and <=6.0 scores 0; >6.0 and <=10.0 scores 1; >10.0 and <=20.0 scores 2; >20.0 and <=30.0 scores 3; >30 scores 4. PSA <2.1 is invalid (paper excluded PSA <2). magent does not assay PSA.","type":"number"},"t_stage":{"description":"Clinical T as assigned by the caller (Cooperberg 2005 Table 1). t1 or t2 scores 0; t3a scores 1. Other stages are invalid. Not CAPRA-S pathologic T. magent does not assign TNM.","enum":["t1","t2","t3a"],"type":"string"}},"required":["age","psa_ng_ml","gleason_primary","gleason_secondary","t_stage","percent_positive_biopsies"],"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},{"id":38777,"slug":"38777","resource":"https://api.magentlab.com/api/calc/travis","description":"Travis 1996 day-3 of intravenous steroids for severe ulcerative colitis. travis_high is true when stools_per_day > 8, or when stools_per_day is 3 to 8 inclusive and crp_mg_l > 45. Stools 8 with CRP 45 is not high. Stools 2 with high CRP is not high. Both parameters are required. Not a colectomy order, not the Ho score, and not Truelove and Witts. magent does not count stools or measure CRP.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"crp_mg_l":10,"stools_per_day":9},{"crp_mg_l":10,"stools_per_day":9}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Travis SPL, Farrant JM, Ricketts C, Nolan DJ, Mortensen NM, Kettlewell MGW, Jewell DP","doi":"10.1136/gut.38.6.905","id":"travis-1996","pmid":"8984031","source":"Gut. 1996;38(6):905-910","title":"Predicting outcome in severe ulcerative colitis"},"criteria":[{"factor":"stools_gt_8","met":true,"value":9},{"crp_mg_l":10,"factor":"stools_3_to_8_and_crp_gt_45","met":false,"stools_per_day":9}],"crp_mg_l":10,"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":"travis","formula_expression":"travis_high iff stools_per_day > 8 or (stools_per_day in 3-8 inclusive and crp_mg_l > 45) (Travis 1996 day-3 of IV steroids for severe UC)","stools_per_day":9,"travis_high":true},{"citation":{"authors":"Travis SPL, Farrant JM, Ricketts C, Nolan DJ, Mortensen NM, Kettlewell MGW, Jewell DP","doi":"10.1136/gut.38.6.905","id":"travis-1996","pmid":"8984031","source":"Gut. 1996;38(6):905-910","title":"Predicting outcome in severe ulcerative colitis"},"criteria":[{"factor":"stools_gt_8","met":true,"value":9},{"crp_mg_l":10,"factor":"stools_3_to_8_and_crp_gt_45","met":false,"stools_per_day":9}],"crp_mg_l":10,"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":"travis","formula_expression":"travis_high iff stools_per_day > 8 or (stools_per_day in 3-8 inclusive and crp_mg_l > 45) (Travis 1996 day-3 of IV steroids for severe UC)","stools_per_day":9,"travis_high":true}],"path":"/api/calc/travis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500), not mg/dL. Travis 1996 CRP arm is crp_mg_l > 45 when stools_per_day is 3 to 8 inclusive. CRP = 45 is not high on that arm. magent does not assay CRP.","type":"number"},"stools_per_day":{"description":"Number of stools (motions) per day as assigned by the caller (integer 0-40). Travis 1996 high is stools_per_day > 8, or stools_per_day 3 to 8 inclusive with CRP > 45 mg/L. Both parameters are required. magent does not count stools.","type":"integer"}},"required":["stools_per_day","crp_mg_l"],"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":["travis","ulcerative-colitis","gi","crp","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:42:08.258Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:42:07.939Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"crp_mg_l":10,"stools_per_day":9},{"crp_mg_l":10,"stools_per_day":9}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Travis SPL, Farrant JM, Ricketts C, Nolan DJ, Mortensen NM, Kettlewell MGW, Jewell DP","doi":"10.1136/gut.38.6.905","id":"travis-1996","pmid":"8984031","source":"Gut. 1996;38(6):905-910","title":"Predicting outcome in severe ulcerative colitis"},"criteria":[{"factor":"stools_gt_8","met":true,"value":9},{"crp_mg_l":10,"factor":"stools_3_to_8_and_crp_gt_45","met":false,"stools_per_day":9}],"crp_mg_l":10,"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":"travis","formula_expression":"travis_high iff stools_per_day > 8 or (stools_per_day in 3-8 inclusive and crp_mg_l > 45) (Travis 1996 day-3 of IV steroids for severe UC)","stools_per_day":9,"travis_high":true},{"citation":{"authors":"Travis SPL, Farrant JM, Ricketts C, Nolan DJ, Mortensen NM, Kettlewell MGW, Jewell DP","doi":"10.1136/gut.38.6.905","id":"travis-1996","pmid":"8984031","source":"Gut. 1996;38(6):905-910","title":"Predicting outcome in severe ulcerative colitis"},"criteria":[{"factor":"stools_gt_8","met":true,"value":9},{"crp_mg_l":10,"factor":"stools_3_to_8_and_crp_gt_45","met":false,"stools_per_day":9}],"crp_mg_l":10,"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":"travis","formula_expression":"travis_high iff stools_per_day > 8 or (stools_per_day in 3-8 inclusive and crp_mg_l > 45) (Travis 1996 day-3 of IV steroids for severe UC)","stools_per_day":9,"travis_high":true}],"path":"/api/calc/travis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500), not mg/dL. Travis 1996 CRP arm is crp_mg_l > 45 when stools_per_day is 3 to 8 inclusive. CRP = 45 is not high on that arm. magent does not assay CRP.","type":"number"},"stools_per_day":{"description":"Number of stools (motions) per day as assigned by the caller (integer 0-40). Travis 1996 high is stools_per_day > 8, or stools_per_day 3 to 8 inclusive with CRP > 45 mg/L. Both parameters are required. magent does not count stools.","type":"integer"}},"required":["stools_per_day","crp_mg_l"],"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},{"id":38778,"slug":"38778","resource":"https://api.magentlab.com/api/calc/tokyo_cholecystitis","description":"Yokoe 2018 TG18 (=TG13) acute cholecystitis. Definite if local signs (Murphy or RUQ mass/pain/tenderness), systemic signs (fever, elevated CRP or WBC), and imaging; suspected if local and systemic without imaging; else none. Suspected/definite: Grade III if any organ dysfunction, else Grade II if any Grade II flag, else Grade I. Severity none when diagnosis is none. Not cholangitis or Alvarado/RIPASA. magent does not examine, assay, or read imaging. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"decreased_consciousness":false,"duration_gt_72h":false,"elevated_crp":false,"elevated_wbc":false,"fever":false,"hypotension_vasopressors":false,"imaging_findings":false,"marked_local_inflammation":false,"murphy":false,"oliguria_or_creatinine_gt_2":false,"palpable_tender_ruq_mass":false,"pfr_lt_300":false,"platelets_lt_100k":false,"pt_inr_gt_1_5":false,"ruq_mass_pain_tenderness":false,"wbc_gt_18000":false},{"decreased_consciousness":false,"duration_gt_72h":false,"elevated_crp":false,"elevated_wbc":false,"fever":false,"hypotension_vasopressors":false,"imaging_findings":false,"marked_local_inflammation":false,"murphy":false,"oliguria_or_creatinine_gt_2":false,"palpable_tender_ruq_mass":false,"pfr_lt_300":false,"platelets_lt_100k":false,"pt_inr_gt_1_5":false,"ruq_mass_pain_tenderness":false,"wbc_gt_18000":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Yokoe M, Hata J, Takada T, et al.","doi":"10.1002/jhbp.515","id":"yokoe-2018","pmid":"29032636","source":"J Hepatobiliary Pancreat Sci. 2018;25(1):41-54","title":"Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholecystitis (with videos)."},"criteria":[{"factor":"local_signs","met":false},{"factor":"systemic_signs","met":false},{"factor":"imaging_findings","met":false},{"factor":"grade_iii_any","met":false},{"factor":"grade_ii_any","met":false},{"factor":"murphy","met":false},{"factor":"ruq_mass_pain_tenderness","met":false},{"factor":"fever","met":false},{"factor":"elevated_crp","met":false},{"factor":"elevated_wbc","met":false},{"factor":"hypotension_vasopressors","met":false},{"factor":"decreased_consciousness","met":false},{"factor":"pfr_lt_300","met":false},{"factor":"oliguria_or_creatinine_gt_2","met":false},{"factor":"pt_inr_gt_1_5","met":false},{"factor":"platelets_lt_100k","met":false},{"factor":"wbc_gt_18000","met":false},{"factor":"palpable_tender_ruq_mass","met":false},{"factor":"duration_gt_72h","met":false},{"factor":"marked_local_inflammation","met":false}],"diagnosis":"none","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":"tokyo_cholecystitis","formula_expression":"definite iff local_signs and systemic_signs and imaging_findings; suspected iff local_signs and systemic_signs without imaging_findings; else none. local_signs iff murphy or ruq_mass_pain_tenderness; systemic_signs iff fever or elevated_crp or elevated_wbc. When diagnosis is suspected or definite: grade_iii if any organ-dysfunction flag (hypotension_vasopressors, decreased_consciousness, pfr_lt_300, oliguria_or_creatinine_gt_2, pt_inr_gt_1_5, platelets_lt_100k), else grade_ii if any Grade II flag (wbc_gt_18000, palpable_tender_ruq_mass, duration_gt_72h, marked_local_inflammation), else grade_i. When diagnosis is none, severity is none (Yokoe 2018 TG18 = TG13 unmodified)","severity":"none"},{"citation":{"authors":"Yokoe M, Hata J, Takada T, et al.","doi":"10.1002/jhbp.515","id":"yokoe-2018","pmid":"29032636","source":"J Hepatobiliary Pancreat Sci. 2018;25(1):41-54","title":"Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholecystitis (with videos)."},"criteria":[{"factor":"local_signs","met":false},{"factor":"systemic_signs","met":false},{"factor":"imaging_findings","met":false},{"factor":"grade_iii_any","met":false},{"factor":"grade_ii_any","met":false},{"factor":"murphy","met":false},{"factor":"ruq_mass_pain_tenderness","met":false},{"factor":"fever","met":false},{"factor":"elevated_crp","met":false},{"factor":"elevated_wbc","met":false},{"factor":"hypotension_vasopressors","met":false},{"factor":"decreased_consciousness","met":false},{"factor":"pfr_lt_300","met":false},{"factor":"oliguria_or_creatinine_gt_2","met":false},{"factor":"pt_inr_gt_1_5","met":false},{"factor":"platelets_lt_100k","met":false},{"factor":"wbc_gt_18000","met":false},{"factor":"palpable_tender_ruq_mass","met":false},{"factor":"duration_gt_72h","met":false},{"factor":"marked_local_inflammation","met":false}],"diagnosis":"none","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":"tokyo_cholecystitis","formula_expression":"definite iff local_signs and systemic_signs and imaging_findings; suspected iff local_signs and systemic_signs without imaging_findings; else none. local_signs iff murphy or ruq_mass_pain_tenderness; systemic_signs iff fever or elevated_crp or elevated_wbc. When diagnosis is suspected or definite: grade_iii if any organ-dysfunction flag (hypotension_vasopressors, decreased_consciousness, pfr_lt_300, oliguria_or_creatinine_gt_2, pt_inr_gt_1_5, platelets_lt_100k), else grade_ii if any Grade II flag (wbc_gt_18000, palpable_tender_ruq_mass, duration_gt_72h, marked_local_inflammation), else grade_i. When diagnosis is none, severity is none (Yokoe 2018 TG18 = TG13 unmodified)","severity":"none"}],"path":"/api/calc/tokyo_cholecystitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"decreased_consciousness":{"description":"Decreased level of consciousness as assigned by the caller (Yokoe 2018 TG18 Grade III neurological dysfunction). true or false. magent does not examine the patient.","type":"boolean"},"duration_gt_72h":{"description":"Duration of complaints >72 h as assigned by the caller (Yokoe 2018 TG18 Grade II). true or false. magent does not take a history.","type":"boolean"},"elevated_crp":{"description":"Elevated C-reactive protein as assigned by the caller (Yokoe 2018 TG18 systemic sign of inflammation B). true or false. magent does not assay CRP.","type":"boolean"},"elevated_wbc":{"description":"Elevated white blood cell count as assigned by the caller (Yokoe 2018 TG18 systemic sign of inflammation B). true or false. magent does not assay WBC.","type":"boolean"},"fever":{"description":"Fever as assigned by the caller (Yokoe 2018 TG18 systemic sign of inflammation B). true or false. magent does not measure temperature.","type":"boolean"},"hypotension_vasopressors":{"description":"Hypotension requiring dopamine ≥5 µg/kg/min or any norepinephrine as assigned by the caller (Yokoe 2018 TG18 Grade III cardiovascular dysfunction). true or false. magent does not measure blood pressure or order vasopressors.","type":"boolean"},"imaging_findings":{"description":"Imaging findings characteristic of acute cholecystitis as assigned by the caller (Yokoe 2018 TG18 diagnostic criterion C). true or false. magent does not read imaging.","type":"boolean"},"marked_local_inflammation":{"description":"Marked local inflammation (gangrenous cholecystitis, pericholecystic abscess, hepatic abscess, biliary peritonitis, or emphysematous cholecystitis) as assigned by the caller (Yokoe 2018 TG18 Grade II). true or false. magent does not interpret imaging or operative findings.","type":"boolean"},"murphy":{"description":"Murphy's sign as assigned by the caller (Yokoe 2018 TG18 local sign of inflammation A). true or false. magent does not examine the patient.","type":"boolean"},"oliguria_or_creatinine_gt_2":{"description":"Oliguria or creatinine >2.0 mg/dL as assigned by the caller (Yokoe 2018 TG18 Grade III renal dysfunction). true or false. magent does not assay creatinine or measure urine output.","type":"boolean"},"palpable_tender_ruq_mass":{"description":"Palpable tender mass in the right upper quadrant as assigned by the caller (Yokoe 2018 TG18 Grade II). true or false. magent does not examine the patient.","type":"boolean"},"pfr_lt_300":{"description":"PaO2/FiO2 <300 as assigned by the caller (Yokoe 2018 TG18 Grade III respiratory dysfunction). true or false. magent does not interpret blood gas or ventilator settings.","type":"boolean"},"platelets_lt_100k":{"description":"Platelet count <100,000/mm³ as assigned by the caller (Yokoe 2018 TG18 Grade III hematological dysfunction). true or false. magent does not assay platelets.","type":"boolean"},"pt_inr_gt_1_5":{"description":"PT-INR >1.5 as assigned by the caller (Yokoe 2018 TG18 Grade III hepatic dysfunction). true or false. magent does not interpret coagulation assays.","type":"boolean"},"ruq_mass_pain_tenderness":{"description":"Right upper quadrant mass, pain, or tenderness as assigned by the caller (Yokoe 2018 TG18 local sign of inflammation A). true or false. magent does not examine the patient.","type":"boolean"},"wbc_gt_18000":{"description":"White blood cell count >18,000/mm³ as assigned by the caller (Yokoe 2018 TG18 Grade II). true or false. magent does not assay WBC.","type":"boolean"}},"required":["murphy","ruq_mass_pain_tenderness","fever","elevated_crp","elevated_wbc","imaging_findings","hypotension_vasopressors","decreased_consciousness","pfr_lt_300","oliguria_or_creatinine_gt_2","pt_inr_gt_1_5","platelets_lt_100k","wbc_gt_18000","palpable_tender_ruq_mass","duration_gt_72h","marked_local_inflammation"],"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":["tokyo-cholecystitis","cholecystitis","tg18","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:42:07.061Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:42:06.909Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"decreased_consciousness":false,"duration_gt_72h":false,"elevated_crp":false,"elevated_wbc":false,"fever":false,"hypotension_vasopressors":false,"imaging_findings":false,"marked_local_inflammation":false,"murphy":false,"oliguria_or_creatinine_gt_2":false,"palpable_tender_ruq_mass":false,"pfr_lt_300":false,"platelets_lt_100k":false,"pt_inr_gt_1_5":false,"ruq_mass_pain_tenderness":false,"wbc_gt_18000":false},{"decreased_consciousness":false,"duration_gt_72h":false,"elevated_crp":false,"elevated_wbc":false,"fever":false,"hypotension_vasopressors":false,"imaging_findings":false,"marked_local_inflammation":false,"murphy":false,"oliguria_or_creatinine_gt_2":false,"palpable_tender_ruq_mass":false,"pfr_lt_300":false,"platelets_lt_100k":false,"pt_inr_gt_1_5":false,"ruq_mass_pain_tenderness":false,"wbc_gt_18000":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Yokoe M, Hata J, Takada T, et al.","doi":"10.1002/jhbp.515","id":"yokoe-2018","pmid":"29032636","source":"J Hepatobiliary Pancreat Sci. 2018;25(1):41-54","title":"Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholecystitis (with videos)."},"criteria":[{"factor":"local_signs","met":false},{"factor":"systemic_signs","met":false},{"factor":"imaging_findings","met":false},{"factor":"grade_iii_any","met":false},{"factor":"grade_ii_any","met":false},{"factor":"murphy","met":false},{"factor":"ruq_mass_pain_tenderness","met":false},{"factor":"fever","met":false},{"factor":"elevated_crp","met":false},{"factor":"elevated_wbc","met":false},{"factor":"hypotension_vasopressors","met":false},{"factor":"decreased_consciousness","met":false},{"factor":"pfr_lt_300","met":false},{"factor":"oliguria_or_creatinine_gt_2","met":false},{"factor":"pt_inr_gt_1_5","met":false},{"factor":"platelets_lt_100k","met":false},{"factor":"wbc_gt_18000","met":false},{"factor":"palpable_tender_ruq_mass","met":false},{"factor":"duration_gt_72h","met":false},{"factor":"marked_local_inflammation","met":false}],"diagnosis":"none","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":"tokyo_cholecystitis","formula_expression":"definite iff local_signs and systemic_signs and imaging_findings; suspected iff local_signs and systemic_signs without imaging_findings; else none. local_signs iff murphy or ruq_mass_pain_tenderness; systemic_signs iff fever or elevated_crp or elevated_wbc. When diagnosis is suspected or definite: grade_iii if any organ-dysfunction flag (hypotension_vasopressors, decreased_consciousness, pfr_lt_300, oliguria_or_creatinine_gt_2, pt_inr_gt_1_5, platelets_lt_100k), else grade_ii if any Grade II flag (wbc_gt_18000, palpable_tender_ruq_mass, duration_gt_72h, marked_local_inflammation), else grade_i. When diagnosis is none, severity is none (Yokoe 2018 TG18 = TG13 unmodified)","severity":"none"},{"citation":{"authors":"Yokoe M, Hata J, Takada T, et al.","doi":"10.1002/jhbp.515","id":"yokoe-2018","pmid":"29032636","source":"J Hepatobiliary Pancreat Sci. 2018;25(1):41-54","title":"Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholecystitis (with videos)."},"criteria":[{"factor":"local_signs","met":false},{"factor":"systemic_signs","met":false},{"factor":"imaging_findings","met":false},{"factor":"grade_iii_any","met":false},{"factor":"grade_ii_any","met":false},{"factor":"murphy","met":false},{"factor":"ruq_mass_pain_tenderness","met":false},{"factor":"fever","met":false},{"factor":"elevated_crp","met":false},{"factor":"elevated_wbc","met":false},{"factor":"hypotension_vasopressors","met":false},{"factor":"decreased_consciousness","met":false},{"factor":"pfr_lt_300","met":false},{"factor":"oliguria_or_creatinine_gt_2","met":false},{"factor":"pt_inr_gt_1_5","met":false},{"factor":"platelets_lt_100k","met":false},{"factor":"wbc_gt_18000","met":false},{"factor":"palpable_tender_ruq_mass","met":false},{"factor":"duration_gt_72h","met":false},{"factor":"marked_local_inflammation","met":false}],"diagnosis":"none","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":"tokyo_cholecystitis","formula_expression":"definite iff local_signs and systemic_signs and imaging_findings; suspected iff local_signs and systemic_signs without imaging_findings; else none. local_signs iff murphy or ruq_mass_pain_tenderness; systemic_signs iff fever or elevated_crp or elevated_wbc. When diagnosis is suspected or definite: grade_iii if any organ-dysfunction flag (hypotension_vasopressors, decreased_consciousness, pfr_lt_300, oliguria_or_creatinine_gt_2, pt_inr_gt_1_5, platelets_lt_100k), else grade_ii if any Grade II flag (wbc_gt_18000, palpable_tender_ruq_mass, duration_gt_72h, marked_local_inflammation), else grade_i. When diagnosis is none, severity is none (Yokoe 2018 TG18 = TG13 unmodified)","severity":"none"}],"path":"/api/calc/tokyo_cholecystitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"decreased_consciousness":{"description":"Decreased level of consciousness as assigned by the caller (Yokoe 2018 TG18 Grade III neurological dysfunction). true or false. magent does not examine the patient.","type":"boolean"},"duration_gt_72h":{"description":"Duration of complaints >72 h as assigned by the caller (Yokoe 2018 TG18 Grade II). true or false. magent does not take a history.","type":"boolean"},"elevated_crp":{"description":"Elevated C-reactive protein as assigned by the caller (Yokoe 2018 TG18 systemic sign of inflammation B). true or false. magent does not assay CRP.","type":"boolean"},"elevated_wbc":{"description":"Elevated white blood cell count as assigned by the caller (Yokoe 2018 TG18 systemic sign of inflammation B). true or false. magent does not assay WBC.","type":"boolean"},"fever":{"description":"Fever as assigned by the caller (Yokoe 2018 TG18 systemic sign of inflammation B). true or false. magent does not measure temperature.","type":"boolean"},"hypotension_vasopressors":{"description":"Hypotension requiring dopamine ≥5 µg/kg/min or any norepinephrine as assigned by the caller (Yokoe 2018 TG18 Grade III cardiovascular dysfunction). true or false. magent does not measure blood pressure or order vasopressors.","type":"boolean"},"imaging_findings":{"description":"Imaging findings characteristic of acute cholecystitis as assigned by the caller (Yokoe 2018 TG18 diagnostic criterion C). true or false. magent does not read imaging.","type":"boolean"},"marked_local_inflammation":{"description":"Marked local inflammation (gangrenous cholecystitis, pericholecystic abscess, hepatic abscess, biliary peritonitis, or emphysematous cholecystitis) as assigned by the caller (Yokoe 2018 TG18 Grade II). true or false. magent does not interpret imaging or operative findings.","type":"boolean"},"murphy":{"description":"Murphy's sign as assigned by the caller (Yokoe 2018 TG18 local sign of inflammation A). true or false. magent does not examine the patient.","type":"boolean"},"oliguria_or_creatinine_gt_2":{"description":"Oliguria or creatinine >2.0 mg/dL as assigned by the caller (Yokoe 2018 TG18 Grade III renal dysfunction). true or false. magent does not assay creatinine or measure urine output.","type":"boolean"},"palpable_tender_ruq_mass":{"description":"Palpable tender mass in the right upper quadrant as assigned by the caller (Yokoe 2018 TG18 Grade II). true or false. magent does not examine the patient.","type":"boolean"},"pfr_lt_300":{"description":"PaO2/FiO2 <300 as assigned by the caller (Yokoe 2018 TG18 Grade III respiratory dysfunction). true or false. magent does not interpret blood gas or ventilator settings.","type":"boolean"},"platelets_lt_100k":{"description":"Platelet count <100,000/mm³ as assigned by the caller (Yokoe 2018 TG18 Grade III hematological dysfunction). true or false. magent does not assay platelets.","type":"boolean"},"pt_inr_gt_1_5":{"description":"PT-INR >1.5 as assigned by the caller (Yokoe 2018 TG18 Grade III hepatic dysfunction). true or false. magent does not interpret coagulation assays.","type":"boolean"},"ruq_mass_pain_tenderness":{"description":"Right upper quadrant mass, pain, or tenderness as assigned by the caller (Yokoe 2018 TG18 local sign of inflammation A). true or false. magent does not examine the patient.","type":"boolean"},"wbc_gt_18000":{"description":"White blood cell count >18,000/mm³ as assigned by the caller (Yokoe 2018 TG18 Grade II). true or false. magent does not assay WBC.","type":"boolean"}},"required":["murphy","ruq_mass_pain_tenderness","fever","elevated_crp","elevated_wbc","imaging_findings","hypotension_vasopressors","decreased_consciousness","pfr_lt_300","oliguria_or_creatinine_gt_2","pt_inr_gt_1_5","platelets_lt_100k","wbc_gt_18000","palpable_tender_ruq_mass","duration_gt_72h","marked_local_inflammation"],"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},{"id":38779,"slug":"38779","resource":"https://api.magentlab.com/api/calc/tokuhashi","description":"Revised Tokuhashi 2005 (0-15). KPS poor/moderate/good 0/1/2. Extraspinal ge_3/one_or_two/none 0/1/2. Vertebral ge_3/two/one 0/1/2. Visceral unremovable/removable/none 0/1/2. Primary lung osteosarcoma stomach bladder esophagus pancreas 0; liver gallbladder unidentified 1; others 2; kidney uterus 3; rectum 4; thyroid prostate breast carcinoid 5. Palsy complete/incomplete/none 0/1/2. Bands 0-8/9-11/12-15. Not an operative order. Not 1990. Not SINS. Does not read imaging. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"extraspinal":"ge_3","kps":"poor","palsy":"complete","primary":"lung","vertebral":"ge_3","visceral":"unremovable"},{"extraspinal":"ge_3","kps":"poor","palsy":"complete","primary":"lung","vertebral":"ge_3","visceral":"unremovable"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Tokuhashi Y, Matsuzaki H, Oda H, Oshima M, Ryu J","doi":"10.1097/01.brs.0000180401.06919.a5","id":"tokuhashi-2005","pmid":"16205345","source":"Spine (Phila Pa 1976). 2005;30(19):2186-2191","title":"A revised scoring system for preoperative evaluation of metastatic spine tumor prognosis."},"components":[{"factor":"kps","points":0,"present":true,"value":"poor"},{"factor":"extraspinal","points":0,"present":true,"value":"ge_3"},{"factor":"vertebral","points":0,"present":true,"value":"ge_3"},{"factor":"visceral","points":0,"present":true,"value":"unremovable"},{"factor":"primary","points":0,"present":true,"value":"lung"},{"factor":"palsy","points":0,"present":true,"value":"complete"}],"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.","extraspinal":"ge_3","formula":"tokuhashi","formula_expression":"Tokuhashi = kps (poor 0, moderate 1, good 2) + extraspinal (ge_3 0, one_or_two 1, none 2) + vertebral (ge_3 0, two 1, one 2) + visceral (unremovable 0, removable 1, none 2) + primary (lung osteosarcoma stomach bladder esophagus pancreas 0; liver gallbladder unidentified 1; others 2; kidney uterus 3; rectum 4; thyroid prostate breast carcinoid 5) + palsy (complete 0, incomplete 1, none 2); Tokuhashi 2005 revised; max 15; bands 0-8 (<6 months), 9-11 (>=6 months), 12-15 (>=12 months)","kps":"poor","max_score":15,"palsy":"complete","primary":"lung","score":0,"tokuhashi_band":"0-8","vertebral":"ge_3","visceral":"unremovable"},{"citation":{"authors":"Tokuhashi Y, Matsuzaki H, Oda H, Oshima M, Ryu J","doi":"10.1097/01.brs.0000180401.06919.a5","id":"tokuhashi-2005","pmid":"16205345","source":"Spine (Phila Pa 1976). 2005;30(19):2186-2191","title":"A revised scoring system for preoperative evaluation of metastatic spine tumor prognosis."},"components":[{"factor":"kps","points":0,"present":true,"value":"poor"},{"factor":"extraspinal","points":0,"present":true,"value":"ge_3"},{"factor":"vertebral","points":0,"present":true,"value":"ge_3"},{"factor":"visceral","points":0,"present":true,"value":"unremovable"},{"factor":"primary","points":0,"present":true,"value":"lung"},{"factor":"palsy","points":0,"present":true,"value":"complete"}],"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.","extraspinal":"ge_3","formula":"tokuhashi","formula_expression":"Tokuhashi = kps (poor 0, moderate 1, good 2) + extraspinal (ge_3 0, one_or_two 1, none 2) + vertebral (ge_3 0, two 1, one 2) + visceral (unremovable 0, removable 1, none 2) + primary (lung osteosarcoma stomach bladder esophagus pancreas 0; liver gallbladder unidentified 1; others 2; kidney uterus 3; rectum 4; thyroid prostate breast carcinoid 5) + palsy (complete 0, incomplete 1, none 2); Tokuhashi 2005 revised; max 15; bands 0-8 (<6 months), 9-11 (>=6 months), 12-15 (>=12 months)","kps":"poor","max_score":15,"palsy":"complete","primary":"lung","score":0,"tokuhashi_band":"0-8","vertebral":"ge_3","visceral":"unremovable"}],"path":"/api/calc/tokuhashi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"extraspinal":{"description":"Caller-assigned number of extraspinal bone metastases (Tokuhashi 2005). ge_3 (≥3) scores 0; one_or_two scores 1; none scores 2. magent does not read imaging.","enum":["ge_3","one_or_two","none"],"type":"string"},"kps":{"description":"Caller-assigned Karnofsky performance status band (Tokuhashi 2005). poor (KPS 10–40%) scores 0; moderate (50–70%) scores 1; good (80–100%) scores 2. magent does not observe the patient.","enum":["poor","moderate","good"],"type":"string"},"palsy":{"description":"Caller-assigned spinal cord palsy (Tokuhashi 2005). complete (Frankel A/B) scores 0; incomplete (Frankel C/D) scores 1; none (Frankel E) scores 2. magent does not examine the patient.","enum":["complete","incomplete","none"],"type":"string"},"primary":{"description":"Caller-assigned Tokuhashi 2005 primary site group. lung, osteosarcoma, stomach, bladder, esophagus, pancreas score 0; liver, gallbladder, unidentified score 1; others scores 2; kidney, uterus score 3; rectum scores 4; thyroid, prostate, breast, carcinoid score 5. others is the published catch-all token. magent does not infer histology.","enum":["lung","osteosarcoma","stomach","bladder","esophagus","pancreas","liver","gallbladder","unidentified","others","kidney","uterus","rectum","thyroid","prostate","breast","carcinoid"],"type":"string"},"vertebral":{"description":"Caller-assigned number of vertebral metastases (Tokuhashi 2005). ge_3 (≥3) scores 0; two scores 1; one scores 2. There is no vertebral none token. magent does not read imaging.","enum":["ge_3","two","one"],"type":"string"},"visceral":{"description":"Caller-assigned metastases to major internal organs (Tokuhashi 2005). unremovable scores 0; removable scores 1; none scores 2. magent does not read imaging.","enum":["unremovable","removable","none"],"type":"string"}},"required":["kps","extraspinal","vertebral","visceral","primary","palsy"],"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":["tokuhashi","spine","oncology","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:42:05.788Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:42:05.636Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"extraspinal":"ge_3","kps":"poor","palsy":"complete","primary":"lung","vertebral":"ge_3","visceral":"unremovable"},{"extraspinal":"ge_3","kps":"poor","palsy":"complete","primary":"lung","vertebral":"ge_3","visceral":"unremovable"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Tokuhashi Y, Matsuzaki H, Oda H, Oshima M, Ryu J","doi":"10.1097/01.brs.0000180401.06919.a5","id":"tokuhashi-2005","pmid":"16205345","source":"Spine (Phila Pa 1976). 2005;30(19):2186-2191","title":"A revised scoring system for preoperative evaluation of metastatic spine tumor prognosis."},"components":[{"factor":"kps","points":0,"present":true,"value":"poor"},{"factor":"extraspinal","points":0,"present":true,"value":"ge_3"},{"factor":"vertebral","points":0,"present":true,"value":"ge_3"},{"factor":"visceral","points":0,"present":true,"value":"unremovable"},{"factor":"primary","points":0,"present":true,"value":"lung"},{"factor":"palsy","points":0,"present":true,"value":"complete"}],"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.","extraspinal":"ge_3","formula":"tokuhashi","formula_expression":"Tokuhashi = kps (poor 0, moderate 1, good 2) + extraspinal (ge_3 0, one_or_two 1, none 2) + vertebral (ge_3 0, two 1, one 2) + visceral (unremovable 0, removable 1, none 2) + primary (lung osteosarcoma stomach bladder esophagus pancreas 0; liver gallbladder unidentified 1; others 2; kidney uterus 3; rectum 4; thyroid prostate breast carcinoid 5) + palsy (complete 0, incomplete 1, none 2); Tokuhashi 2005 revised; max 15; bands 0-8 (<6 months), 9-11 (>=6 months), 12-15 (>=12 months)","kps":"poor","max_score":15,"palsy":"complete","primary":"lung","score":0,"tokuhashi_band":"0-8","vertebral":"ge_3","visceral":"unremovable"},{"citation":{"authors":"Tokuhashi Y, Matsuzaki H, Oda H, Oshima M, Ryu J","doi":"10.1097/01.brs.0000180401.06919.a5","id":"tokuhashi-2005","pmid":"16205345","source":"Spine (Phila Pa 1976). 2005;30(19):2186-2191","title":"A revised scoring system for preoperative evaluation of metastatic spine tumor prognosis."},"components":[{"factor":"kps","points":0,"present":true,"value":"poor"},{"factor":"extraspinal","points":0,"present":true,"value":"ge_3"},{"factor":"vertebral","points":0,"present":true,"value":"ge_3"},{"factor":"visceral","points":0,"present":true,"value":"unremovable"},{"factor":"primary","points":0,"present":true,"value":"lung"},{"factor":"palsy","points":0,"present":true,"value":"complete"}],"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.","extraspinal":"ge_3","formula":"tokuhashi","formula_expression":"Tokuhashi = kps (poor 0, moderate 1, good 2) + extraspinal (ge_3 0, one_or_two 1, none 2) + vertebral (ge_3 0, two 1, one 2) + visceral (unremovable 0, removable 1, none 2) + primary (lung osteosarcoma stomach bladder esophagus pancreas 0; liver gallbladder unidentified 1; others 2; kidney uterus 3; rectum 4; thyroid prostate breast carcinoid 5) + palsy (complete 0, incomplete 1, none 2); Tokuhashi 2005 revised; max 15; bands 0-8 (<6 months), 9-11 (>=6 months), 12-15 (>=12 months)","kps":"poor","max_score":15,"palsy":"complete","primary":"lung","score":0,"tokuhashi_band":"0-8","vertebral":"ge_3","visceral":"unremovable"}],"path":"/api/calc/tokuhashi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"extraspinal":{"description":"Caller-assigned number of extraspinal bone metastases (Tokuhashi 2005). ge_3 (≥3) scores 0; one_or_two scores 1; none scores 2. magent does not read imaging.","enum":["ge_3","one_or_two","none"],"type":"string"},"kps":{"description":"Caller-assigned Karnofsky performance status band (Tokuhashi 2005). poor (KPS 10–40%) scores 0; moderate (50–70%) scores 1; good (80–100%) scores 2. magent does not observe the patient.","enum":["poor","moderate","good"],"type":"string"},"palsy":{"description":"Caller-assigned spinal cord palsy (Tokuhashi 2005). complete (Frankel A/B) scores 0; incomplete (Frankel C/D) scores 1; none (Frankel E) scores 2. magent does not examine the patient.","enum":["complete","incomplete","none"],"type":"string"},"primary":{"description":"Caller-assigned Tokuhashi 2005 primary site group. lung, osteosarcoma, stomach, bladder, esophagus, pancreas score 0; liver, gallbladder, unidentified score 1; others scores 2; kidney, uterus score 3; rectum scores 4; thyroid, prostate, breast, carcinoid score 5. others is the published catch-all token. magent does not infer histology.","enum":["lung","osteosarcoma","stomach","bladder","esophagus","pancreas","liver","gallbladder","unidentified","others","kidney","uterus","rectum","thyroid","prostate","breast","carcinoid"],"type":"string"},"vertebral":{"description":"Caller-assigned number of vertebral metastases (Tokuhashi 2005). ge_3 (≥3) scores 0; two scores 1; one scores 2. There is no vertebral none token. magent does not read imaging.","enum":["ge_3","two","one"],"type":"string"},"visceral":{"description":"Caller-assigned metastases to major internal organs (Tokuhashi 2005). unremovable scores 0; removable scores 1; none scores 2. magent does not read imaging.","enum":["unremovable","removable","none"],"type":"string"}},"required":["kps","extraspinal","vertebral","visceral","primary","palsy"],"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},{"id":38780,"slug":"38780","resource":"https://api.magentlab.com/api/calc/tlics","description":"Vaccaro 2005 TLICS: morphology compression 1 / burst 2 / translational_rotational 3 / distraction 4 (single most severe) + plc intact 0 / suspected_indeterminate 2 / injured 3 + neuro intact 0 / nerve_root 2 / complete_cord_conus 2 / incomplete_cord_conus 3 / cauda_equina 3. Max 10. Bands 0-3 nonoperative, 4 equivocal, >=5 operative guidance. Not a surgical order. Not AO spine. Not SINS (neoplastic). magent does not read imaging. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"morphology":"compression","neuro":"intact","plc":"intact"},{"morphology":"compression","neuro":"intact","plc":"intact"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Vaccaro AR, Lehman RA Jr, Hurlbert RJ, et al.","doi":"10.1097/01.brs.0000182986.43345.cb","id":"vaccaro-2005","pmid":"16227897","source":"Spine (Phila Pa 1976). 2005;30(20):2325-2333","title":"A new classification of thoracolumbar injuries: the importance of injury morphology, the integrity of the posterior ligamentous complex, and neurologic status."},"components":[{"factor":"morphology","points":1,"present":true,"value":"compression"},{"factor":"plc","points":0,"present":true,"value":"intact"},{"factor":"neuro","points":0,"present":true,"value":"intact"}],"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":"tlics","formula_expression":"TLICS = morphology (compression 1, burst 2, translational_rotational 3, distraction 4) + plc (intact 0, suspected_indeterminate 2, injured 3) + neuro (intact 0, nerve_root 2, complete_cord_conus 2, incomplete_cord_conus 3, cauda_equina 3); Vaccaro 2005; max 10; caller assigns the single most severe morphology; bands 0-3 / 4 / ge_5","max_score":10,"score":1,"tlics_band":"0-3"},{"citation":{"authors":"Vaccaro AR, Lehman RA Jr, Hurlbert RJ, et al.","doi":"10.1097/01.brs.0000182986.43345.cb","id":"vaccaro-2005","pmid":"16227897","source":"Spine (Phila Pa 1976). 2005;30(20):2325-2333","title":"A new classification of thoracolumbar injuries: the importance of injury morphology, the integrity of the posterior ligamentous complex, and neurologic status."},"components":[{"factor":"morphology","points":1,"present":true,"value":"compression"},{"factor":"plc","points":0,"present":true,"value":"intact"},{"factor":"neuro","points":0,"present":true,"value":"intact"}],"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":"tlics","formula_expression":"TLICS = morphology (compression 1, burst 2, translational_rotational 3, distraction 4) + plc (intact 0, suspected_indeterminate 2, injured 3) + neuro (intact 0, nerve_root 2, complete_cord_conus 2, incomplete_cord_conus 3, cauda_equina 3); Vaccaro 2005; max 10; caller assigns the single most severe morphology; bands 0-3 / 4 / ge_5","max_score":10,"score":1,"tlics_band":"0-3"}],"path":"/api/calc/tlics"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"morphology":{"description":"Caller-assigned single most severe injury morphology (Vaccaro 2005). compression scores 1; burst scores 2; translational_rotational scores 3; distraction scores 4. Do not sum multiple morphologies. magent does not read imaging.","enum":["compression","burst","translational_rotational","distraction"],"type":"string"},"neuro":{"description":"Caller-assigned neurologic status (Vaccaro 2005). intact scores 0; nerve_root scores 2; complete_cord_conus scores 2; incomplete_cord_conus scores 3; cauda_equina scores 3. magent does not examine the patient.","enum":["intact","nerve_root","complete_cord_conus","incomplete_cord_conus","cauda_equina"],"type":"string"},"plc":{"description":"Caller-assigned posterior ligamentous complex integrity (Vaccaro 2005). intact scores 0; suspected_indeterminate scores 2; injured scores 3. magent does not examine the patient or read imaging.","enum":["intact","suspected_indeterminate","injured"],"type":"string"}},"required":["morphology","plc","neuro"],"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":["tlics","thoracolumbar","spine-trauma","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:37:41.993Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:37:41.874Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"morphology":"compression","neuro":"intact","plc":"intact"},{"morphology":"compression","neuro":"intact","plc":"intact"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Vaccaro AR, Lehman RA Jr, Hurlbert RJ, et al.","doi":"10.1097/01.brs.0000182986.43345.cb","id":"vaccaro-2005","pmid":"16227897","source":"Spine (Phila Pa 1976). 2005;30(20):2325-2333","title":"A new classification of thoracolumbar injuries: the importance of injury morphology, the integrity of the posterior ligamentous complex, and neurologic status."},"components":[{"factor":"morphology","points":1,"present":true,"value":"compression"},{"factor":"plc","points":0,"present":true,"value":"intact"},{"factor":"neuro","points":0,"present":true,"value":"intact"}],"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":"tlics","formula_expression":"TLICS = morphology (compression 1, burst 2, translational_rotational 3, distraction 4) + plc (intact 0, suspected_indeterminate 2, injured 3) + neuro (intact 0, nerve_root 2, complete_cord_conus 2, incomplete_cord_conus 3, cauda_equina 3); Vaccaro 2005; max 10; caller assigns the single most severe morphology; bands 0-3 / 4 / ge_5","max_score":10,"score":1,"tlics_band":"0-3"},{"citation":{"authors":"Vaccaro AR, Lehman RA Jr, Hurlbert RJ, et al.","doi":"10.1097/01.brs.0000182986.43345.cb","id":"vaccaro-2005","pmid":"16227897","source":"Spine (Phila Pa 1976). 2005;30(20):2325-2333","title":"A new classification of thoracolumbar injuries: the importance of injury morphology, the integrity of the posterior ligamentous complex, and neurologic status."},"components":[{"factor":"morphology","points":1,"present":true,"value":"compression"},{"factor":"plc","points":0,"present":true,"value":"intact"},{"factor":"neuro","points":0,"present":true,"value":"intact"}],"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":"tlics","formula_expression":"TLICS = morphology (compression 1, burst 2, translational_rotational 3, distraction 4) + plc (intact 0, suspected_indeterminate 2, injured 3) + neuro (intact 0, nerve_root 2, complete_cord_conus 2, incomplete_cord_conus 3, cauda_equina 3); Vaccaro 2005; max 10; caller assigns the single most severe morphology; bands 0-3 / 4 / ge_5","max_score":10,"score":1,"tlics_band":"0-3"}],"path":"/api/calc/tlics"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"morphology":{"description":"Caller-assigned single most severe injury morphology (Vaccaro 2005). compression scores 1; burst scores 2; translational_rotational scores 3; distraction scores 4. Do not sum multiple morphologies. magent does not read imaging.","enum":["compression","burst","translational_rotational","distraction"],"type":"string"},"neuro":{"description":"Caller-assigned neurologic status (Vaccaro 2005). intact scores 0; nerve_root scores 2; complete_cord_conus scores 2; incomplete_cord_conus scores 3; cauda_equina scores 3. magent does not examine the patient.","enum":["intact","nerve_root","complete_cord_conus","incomplete_cord_conus","cauda_equina"],"type":"string"},"plc":{"description":"Caller-assigned posterior ligamentous complex integrity (Vaccaro 2005). intact scores 0; suspected_indeterminate scores 2; injured scores 3. magent does not examine the patient or read imaging.","enum":["intact","suspected_indeterminate","injured"],"type":"string"}},"required":["morphology","plc","neuro"],"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},{"id":38781,"slug":"38781","resource":"https://api.magentlab.com/api/calc/timi_ua_nstemi","description":"TIMI risk score for unstable angina / NSTEMI from age and six caller-assigned flags. Returns the 0-7 point total and components. Deterministic published score with citation; not an invasive-strategy protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"aspirin_last_7d":false,"cad_risk_factors_ge_3":false,"elevated_markers":false,"known_cad":false,"severe_angina":false,"st_deviation":false},{"age":50,"aspirin_last_7d":false,"cad_risk_factors_ge_3":false,"elevated_markers":false,"known_cad":false,"severe_angina":false,"st_deviation":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Antman EM, Cohen M, Bernink PJLM, et al.","doi":"10.1001/jama.284.7.835","id":"antman-2000","source":"JAMA. 2000;284(7):835-842","title":"The TIMI risk score for unstable angina/non–ST elevation MI: A method for prognostication and therapeutic decision making"},"components":[{"factor":"age_ge_65","points":0,"present":false,"value":50},{"factor":"cad_risk_factors_ge_3","points":0,"present":false},{"factor":"known_cad","points":0,"present":false},{"factor":"aspirin_last_7d","points":0,"present":false},{"factor":"severe_angina","points":0,"present":false},{"factor":"st_deviation","points":0,"present":false},{"factor":"elevated_markers","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":"timi_ua_nstemi","formula_expression":"TIMI UA/NSTEMI = age_ge_65 + cad_risk_factors_ge_3 + known_cad + aspirin_last_7d + severe_angina + st_deviation + elevated_markers; each 1 if present; max 7","max_score":7,"score":0},{"age_years":50,"citation":{"authors":"Antman EM, Cohen M, Bernink PJLM, et al.","doi":"10.1001/jama.284.7.835","id":"antman-2000","source":"JAMA. 2000;284(7):835-842","title":"The TIMI risk score for unstable angina/non–ST elevation MI: A method for prognostication and therapeutic decision making"},"components":[{"factor":"age_ge_65","points":0,"present":false,"value":50},{"factor":"cad_risk_factors_ge_3","points":0,"present":false},{"factor":"known_cad","points":0,"present":false},{"factor":"aspirin_last_7d","points":0,"present":false},{"factor":"severe_angina","points":0,"present":false},{"factor":"st_deviation","points":0,"present":false},{"factor":"elevated_markers","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":"timi_ua_nstemi","formula_expression":"TIMI UA/NSTEMI = age_ge_65 + cad_risk_factors_ge_3 + known_cad + aspirin_last_7d + severe_angina + st_deviation + elevated_markers; each 1 if present; max 7","max_score":7,"score":0}],"path":"/api/calc/timi_ua_nstemi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥65 scores 1.","type":"integer"},"aspirin_last_7d":{"description":"Aspirin use in the last 7 days. true or false.","type":"boolean"},"cad_risk_factors_ge_3":{"description":"≥3 CAD risk factors as assigned by the caller. true or false. magent does not expand smoking, hypertension, family history, diabetes, or cholesterol.","type":"boolean"},"elevated_markers":{"description":"Elevated cardiac markers as assigned by the caller. true or false.","type":"boolean"},"known_cad":{"description":"Known CAD (stenosis ≥50%). true or false.","type":"boolean"},"severe_angina":{"description":"Severe angina (≥2 episodes in 24 hours). true or false.","type":"boolean"},"st_deviation":{"description":"ST deviation ≥0.5 mm as assigned by the caller. true or false. magent does not read ECGs.","type":"boolean"}},"required":["age","cad_risk_factors_ge_3","known_cad","aspirin_last_7d","severe_angina","st_deviation","elevated_markers"],"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":["timi","ua-nstemi","acs","nstemi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:37:40.206Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:37:40.046Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"aspirin_last_7d":false,"cad_risk_factors_ge_3":false,"elevated_markers":false,"known_cad":false,"severe_angina":false,"st_deviation":false},{"age":50,"aspirin_last_7d":false,"cad_risk_factors_ge_3":false,"elevated_markers":false,"known_cad":false,"severe_angina":false,"st_deviation":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Antman EM, Cohen M, Bernink PJLM, et al.","doi":"10.1001/jama.284.7.835","id":"antman-2000","source":"JAMA. 2000;284(7):835-842","title":"The TIMI risk score for unstable angina/non–ST elevation MI: A method for prognostication and therapeutic decision making"},"components":[{"factor":"age_ge_65","points":0,"present":false,"value":50},{"factor":"cad_risk_factors_ge_3","points":0,"present":false},{"factor":"known_cad","points":0,"present":false},{"factor":"aspirin_last_7d","points":0,"present":false},{"factor":"severe_angina","points":0,"present":false},{"factor":"st_deviation","points":0,"present":false},{"factor":"elevated_markers","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":"timi_ua_nstemi","formula_expression":"TIMI UA/NSTEMI = age_ge_65 + cad_risk_factors_ge_3 + known_cad + aspirin_last_7d + severe_angina + st_deviation + elevated_markers; each 1 if present; max 7","max_score":7,"score":0},{"age_years":50,"citation":{"authors":"Antman EM, Cohen M, Bernink PJLM, et al.","doi":"10.1001/jama.284.7.835","id":"antman-2000","source":"JAMA. 2000;284(7):835-842","title":"The TIMI risk score for unstable angina/non–ST elevation MI: A method for prognostication and therapeutic decision making"},"components":[{"factor":"age_ge_65","points":0,"present":false,"value":50},{"factor":"cad_risk_factors_ge_3","points":0,"present":false},{"factor":"known_cad","points":0,"present":false},{"factor":"aspirin_last_7d","points":0,"present":false},{"factor":"severe_angina","points":0,"present":false},{"factor":"st_deviation","points":0,"present":false},{"factor":"elevated_markers","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":"timi_ua_nstemi","formula_expression":"TIMI UA/NSTEMI = age_ge_65 + cad_risk_factors_ge_3 + known_cad + aspirin_last_7d + severe_angina + st_deviation + elevated_markers; each 1 if present; max 7","max_score":7,"score":0}],"path":"/api/calc/timi_ua_nstemi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥65 scores 1.","type":"integer"},"aspirin_last_7d":{"description":"Aspirin use in the last 7 days. true or false.","type":"boolean"},"cad_risk_factors_ge_3":{"description":"≥3 CAD risk factors as assigned by the caller. true or false. magent does not expand smoking, hypertension, family history, diabetes, or cholesterol.","type":"boolean"},"elevated_markers":{"description":"Elevated cardiac markers as assigned by the caller. true or false.","type":"boolean"},"known_cad":{"description":"Known CAD (stenosis ≥50%). true or false.","type":"boolean"},"severe_angina":{"description":"Severe angina (≥2 episodes in 24 hours). true or false.","type":"boolean"},"st_deviation":{"description":"ST deviation ≥0.5 mm as assigned by the caller. true or false. magent does not read ECGs.","type":"boolean"}},"required":["age","cad_risk_factors_ge_3","known_cad","aspirin_last_7d","severe_angina","st_deviation","elevated_markers"],"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},{"id":38782,"slug":"38782","resource":"https://api.magentlab.com/api/calc/timi_stemi","description":"TIMI risk score for ST-elevation MI from age, diabetes/hypertension/angina, systolic BP, heart rate, Killip class, weight, anterior STE or LBBB, and time to treatment. Returns a 0-14 point total with components. Deterministic published score with citation; not a reperfusion or fibrinolytic protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"angina":false,"anterior_ste_or_lbbb":false,"diabetes":false,"heart_rate_bpm":70,"hypertension":false,"killip_class":1,"systolic_mm_hg":120,"time_to_treatment_gt_4h":false,"weight_kg":80,"weight_lb":176},{"age":50,"angina":false,"anterior_ste_or_lbbb":false,"diabetes":false,"heart_rate_bpm":70,"hypertension":false,"killip_class":1,"systolic_mm_hg":120,"time_to_treatment_gt_4h":false,"weight_kg":80,"weight_lb":176}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"angina":false,"anterior_ste_or_lbbb":false,"citation":{"authors":"Morrow DA, Antman EM, Charlesworth A, Cairns R, Murphy SA, de Lemos JA, Giugliano RP, McCabe CH, Braunwald E","doi":"10.1161/01.CIR.102.17.2031","id":"morrow-2000","source":"Circulation. 2000;102(17):2031-2037","title":"TIMI risk score for ST-elevation myocardial infarction: A convenient, bedside, clinical score for risk assessment at presentation"},"components":[{"factor":"age_65_74","points":0,"present":false,"value":50},{"factor":"age_ge_75","points":0,"present":false,"value":50},{"factor":"history_cad_risk","points":0,"present":false},{"factor":"systolic_bp_lt_100","points":0,"present":false,"value":120},{"factor":"heart_rate_gt_100","points":0,"present":false,"value":70},{"factor":"killip_ii_iv","points":0,"present":false,"value":1},{"factor":"weight_lt_67","points":0,"present":false,"value":80},{"factor":"anterior_ste_or_lbbb","points":0,"present":false},{"factor":"time_to_treatment_gt_4h","points":0,"present":false}],"diabetes":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":"timi_stemi","formula_expression":"TIMI STEMI = age 65-74 (2) or age >=75 (3) + diabetes/hypertension/angina (1) + SBP<100 (3) + HR>100 (2) + Killip II-IV (2) + weight<67 kg (1) + anterior STE or LBBB (1) + time to treatment >4 h (1); max 14","heart_rate_bpm":70,"history_cad_risk":false,"hypertension":false,"killip_class":1,"max_score":14,"score":0,"systolic_mm_hg":120,"time_to_treatment_gt_4h":false,"weight_kg":80},{"age_years":50,"angina":false,"anterior_ste_or_lbbb":false,"citation":{"authors":"Morrow DA, Antman EM, Charlesworth A, Cairns R, Murphy SA, de Lemos JA, Giugliano RP, McCabe CH, Braunwald E","doi":"10.1161/01.CIR.102.17.2031","id":"morrow-2000","source":"Circulation. 2000;102(17):2031-2037","title":"TIMI risk score for ST-elevation myocardial infarction: A convenient, bedside, clinical score for risk assessment at presentation"},"components":[{"factor":"age_65_74","points":0,"present":false,"value":50},{"factor":"age_ge_75","points":0,"present":false,"value":50},{"factor":"history_cad_risk","points":0,"present":false},{"factor":"systolic_bp_lt_100","points":0,"present":false,"value":120},{"factor":"heart_rate_gt_100","points":0,"present":false,"value":70},{"factor":"killip_ii_iv","points":0,"present":false,"value":1},{"factor":"weight_lt_67","points":0,"present":false,"value":80},{"factor":"anterior_ste_or_lbbb","points":0,"present":false},{"factor":"time_to_treatment_gt_4h","points":0,"present":false}],"diabetes":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":"timi_stemi","formula_expression":"TIMI STEMI = age 65-74 (2) or age >=75 (3) + diabetes/hypertension/angina (1) + SBP<100 (3) + HR>100 (2) + Killip II-IV (2) + weight<67 kg (1) + anterior STE or LBBB (1) + time to treatment >4 h (1); max 14","heart_rate_bpm":70,"history_cad_risk":false,"hypertension":false,"killip_class":1,"max_score":14,"score":0,"systolic_mm_hg":120,"time_to_treatment_gt_4h":false,"weight_kg":80}],"path":"/api/calc/timi_stemi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). 65-74 scores 2; ≥75 scores 3. Bands are exclusive.","type":"integer"},"angina":{"description":"Angina history. true or false.","type":"boolean"},"anterior_ste_or_lbbb":{"description":"Anterior ST elevation or LBBB. true or false. Caller-assigned; magent does not read tracings.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus. true or false. Diabetes, hypertension, or angina scores 1 if any is true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 2 when >100; 100 is negative.","type":"integer"},"hypertension":{"description":"Hypertension history. true or false.","type":"boolean"},"killip_class":{"description":"Killip class 1-4. Classes II-IV score 2; class I scores 0. Caller-assigned.","type":"integer"},"systolic_mm_hg":{"description":"Systolic BP in mm Hg (50-250). Scores 3 when <100; 100 is negative.","type":"number"},"time_to_treatment_gt_4h":{"description":"Time to treatment >4 hours. true or false. Caller-assigned; magent does not parse timestamps.","type":"boolean"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb. Scores 1 when <67 kg; 67 is negative.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted to kg; the <67 kg cutoff is applied in kg.","type":"number"}},"required":["age","diabetes","hypertension","angina","systolic_mm_hg","heart_rate_bpm","killip_class","anterior_ste_or_lbbb","time_to_treatment_gt_4h"],"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":["timi-stemi","stemi","acs","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:37:38.626Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:37:38.498Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"angina":false,"anterior_ste_or_lbbb":false,"diabetes":false,"heart_rate_bpm":70,"hypertension":false,"killip_class":1,"systolic_mm_hg":120,"time_to_treatment_gt_4h":false,"weight_kg":80,"weight_lb":176},{"age":50,"angina":false,"anterior_ste_or_lbbb":false,"diabetes":false,"heart_rate_bpm":70,"hypertension":false,"killip_class":1,"systolic_mm_hg":120,"time_to_treatment_gt_4h":false,"weight_kg":80,"weight_lb":176}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"angina":false,"anterior_ste_or_lbbb":false,"citation":{"authors":"Morrow DA, Antman EM, Charlesworth A, Cairns R, Murphy SA, de Lemos JA, Giugliano RP, McCabe CH, Braunwald E","doi":"10.1161/01.CIR.102.17.2031","id":"morrow-2000","source":"Circulation. 2000;102(17):2031-2037","title":"TIMI risk score for ST-elevation myocardial infarction: A convenient, bedside, clinical score for risk assessment at presentation"},"components":[{"factor":"age_65_74","points":0,"present":false,"value":50},{"factor":"age_ge_75","points":0,"present":false,"value":50},{"factor":"history_cad_risk","points":0,"present":false},{"factor":"systolic_bp_lt_100","points":0,"present":false,"value":120},{"factor":"heart_rate_gt_100","points":0,"present":false,"value":70},{"factor":"killip_ii_iv","points":0,"present":false,"value":1},{"factor":"weight_lt_67","points":0,"present":false,"value":80},{"factor":"anterior_ste_or_lbbb","points":0,"present":false},{"factor":"time_to_treatment_gt_4h","points":0,"present":false}],"diabetes":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":"timi_stemi","formula_expression":"TIMI STEMI = age 65-74 (2) or age >=75 (3) + diabetes/hypertension/angina (1) + SBP<100 (3) + HR>100 (2) + Killip II-IV (2) + weight<67 kg (1) + anterior STE or LBBB (1) + time to treatment >4 h (1); max 14","heart_rate_bpm":70,"history_cad_risk":false,"hypertension":false,"killip_class":1,"max_score":14,"score":0,"systolic_mm_hg":120,"time_to_treatment_gt_4h":false,"weight_kg":80},{"age_years":50,"angina":false,"anterior_ste_or_lbbb":false,"citation":{"authors":"Morrow DA, Antman EM, Charlesworth A, Cairns R, Murphy SA, de Lemos JA, Giugliano RP, McCabe CH, Braunwald E","doi":"10.1161/01.CIR.102.17.2031","id":"morrow-2000","source":"Circulation. 2000;102(17):2031-2037","title":"TIMI risk score for ST-elevation myocardial infarction: A convenient, bedside, clinical score for risk assessment at presentation"},"components":[{"factor":"age_65_74","points":0,"present":false,"value":50},{"factor":"age_ge_75","points":0,"present":false,"value":50},{"factor":"history_cad_risk","points":0,"present":false},{"factor":"systolic_bp_lt_100","points":0,"present":false,"value":120},{"factor":"heart_rate_gt_100","points":0,"present":false,"value":70},{"factor":"killip_ii_iv","points":0,"present":false,"value":1},{"factor":"weight_lt_67","points":0,"present":false,"value":80},{"factor":"anterior_ste_or_lbbb","points":0,"present":false},{"factor":"time_to_treatment_gt_4h","points":0,"present":false}],"diabetes":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":"timi_stemi","formula_expression":"TIMI STEMI = age 65-74 (2) or age >=75 (3) + diabetes/hypertension/angina (1) + SBP<100 (3) + HR>100 (2) + Killip II-IV (2) + weight<67 kg (1) + anterior STE or LBBB (1) + time to treatment >4 h (1); max 14","heart_rate_bpm":70,"history_cad_risk":false,"hypertension":false,"killip_class":1,"max_score":14,"score":0,"systolic_mm_hg":120,"time_to_treatment_gt_4h":false,"weight_kg":80}],"path":"/api/calc/timi_stemi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). 65-74 scores 2; ≥75 scores 3. Bands are exclusive.","type":"integer"},"angina":{"description":"Angina history. true or false.","type":"boolean"},"anterior_ste_or_lbbb":{"description":"Anterior ST elevation or LBBB. true or false. Caller-assigned; magent does not read tracings.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus. true or false. Diabetes, hypertension, or angina scores 1 if any is true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 2 when >100; 100 is negative.","type":"integer"},"hypertension":{"description":"Hypertension history. true or false.","type":"boolean"},"killip_class":{"description":"Killip class 1-4. Classes II-IV score 2; class I scores 0. Caller-assigned.","type":"integer"},"systolic_mm_hg":{"description":"Systolic BP in mm Hg (50-250). Scores 3 when <100; 100 is negative.","type":"number"},"time_to_treatment_gt_4h":{"description":"Time to treatment >4 hours. true or false. Caller-assigned; magent does not parse timestamps.","type":"boolean"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb. Scores 1 when <67 kg; 67 is negative.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted to kg; the <67 kg cutoff is applied in kg.","type":"number"}},"required":["age","diabetes","hypertension","angina","systolic_mm_hg","heart_rate_bpm","killip_class","anterior_ste_or_lbbb","time_to_treatment_gt_4h"],"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},{"id":38783,"slug":"38783","resource":"https://api.magentlab.com/api/calc/timi_risk_index","description":"Morrow InTIME-II TIMI risk index: heart rate × (age/10)^2 / systolic BP, with the five published groups (≤12.5, >12.5–17.5, >17.5–22.5, >22.5–30, >30). Deterministic published arithmetic with citation; not a reperfusion decision.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":65,"heart_rate_bpm":80,"systolic_mm_hg":120},{"age":65,"heart_rate_bpm":80,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"citation":{"authors":"Morrow DA, Antman EM, Giugliano RP, et al.","doi":"10.1016/S0140-6736(01)06649-1","id":"morrow-2001","source":"Lancet. 2001;358(9293):1571-1575","title":"A simple risk index for rapid initial triage of patients with ST-elevation myocardial infarction: an InTIME II substudy"},"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":"timi_risk_index","formula_expression":"timi_risk_index = heart_rate_bpm * (age_years / 10)^2 / systolic_mm_hg","heart_rate_bpm":80,"risk_group":4,"systolic_mm_hg":120,"timi_risk_index":28.2},{"age_years":65,"citation":{"authors":"Morrow DA, Antman EM, Giugliano RP, et al.","doi":"10.1016/S0140-6736(01)06649-1","id":"morrow-2001","source":"Lancet. 2001;358(9293):1571-1575","title":"A simple risk index for rapid initial triage of patients with ST-elevation myocardial infarction: an InTIME II substudy"},"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":"timi_risk_index","formula_expression":"timi_risk_index = heart_rate_bpm * (age_years / 10)^2 / systolic_mm_hg","heart_rate_bpm":80,"risk_group":4,"systolic_mm_hg":120,"timi_risk_index":28.2}],"path":"/api/calc/timi_risk_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"heart_rate_bpm":{"description":"Admission heart rate in beats per minute (integer 30-220). Morrow 2001 excluded HR <50 or >150 from derivation; magent still computes the index.","type":"integer"},"systolic_mm_hg":{"description":"Admission systolic blood pressure in mm Hg (50-250). Morrow 2001 excluded SBP <60 or >200 from derivation; magent still computes the index.","type":"number"}},"required":["age","heart_rate_bpm","systolic_mm_hg"],"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":["timi-risk-index","acs","stemi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:32:08.895Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:32:08.697Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":65,"heart_rate_bpm":80,"systolic_mm_hg":120},{"age":65,"heart_rate_bpm":80,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"citation":{"authors":"Morrow DA, Antman EM, Giugliano RP, et al.","doi":"10.1016/S0140-6736(01)06649-1","id":"morrow-2001","source":"Lancet. 2001;358(9293):1571-1575","title":"A simple risk index for rapid initial triage of patients with ST-elevation myocardial infarction: an InTIME II substudy"},"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":"timi_risk_index","formula_expression":"timi_risk_index = heart_rate_bpm * (age_years / 10)^2 / systolic_mm_hg","heart_rate_bpm":80,"risk_group":4,"systolic_mm_hg":120,"timi_risk_index":28.2},{"age_years":65,"citation":{"authors":"Morrow DA, Antman EM, Giugliano RP, et al.","doi":"10.1016/S0140-6736(01)06649-1","id":"morrow-2001","source":"Lancet. 2001;358(9293):1571-1575","title":"A simple risk index for rapid initial triage of patients with ST-elevation myocardial infarction: an InTIME II substudy"},"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":"timi_risk_index","formula_expression":"timi_risk_index = heart_rate_bpm * (age_years / 10)^2 / systolic_mm_hg","heart_rate_bpm":80,"risk_group":4,"systolic_mm_hg":120,"timi_risk_index":28.2}],"path":"/api/calc/timi_risk_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"heart_rate_bpm":{"description":"Admission heart rate in beats per minute (integer 30-220). Morrow 2001 excluded HR <50 or >150 from derivation; magent still computes the index.","type":"integer"},"systolic_mm_hg":{"description":"Admission systolic blood pressure in mm Hg (50-250). Morrow 2001 excluded SBP <60 or >200 from derivation; magent still computes the index.","type":"number"}},"required":["age","heart_rate_bpm","systolic_mm_hg"],"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},{"id":38784,"slug":"38784","resource":"https://api.magentlab.com/api/calc/thakar","description":"Thakar 2005 clinical score for acute renal failure requiring dialysis after open-heart surgery. Points from sex, CHF, LVEF <35%, preoperative IABP, COPD, insulin-requiring diabetes, previous cardiac surgery, emergency surgery, procedure type (CABG / valve / CABG+valve / other), and preoperative creatinine (<1.2 / 1.2 to <2.1 / >=2.1 mg/dL). Returns integer score (max 17) and category 0–2 / 3–5 / 6–8 / 9–13. Not a dialysis order; not AKIN or RIFLE staging.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"congestive_heart_failure":false,"copd":false,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"emergency_surgery":false,"insulin_diabetes":false,"lvef_lt_35":false,"preoperative_iabp":false,"previous_cardiac_surgery":false,"sex":"male","surgery_type":"cabg"},{"congestive_heart_failure":false,"copd":false,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"emergency_surgery":false,"insulin_diabetes":false,"lvef_lt_35":false,"preoperative_iabp":false,"previous_cardiac_surgery":false,"sex":"male","surgery_type":"cabg"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Thakar CV, Arrigain S, Worley S, Yared JP, Paganini EP","doi":"10.1681/ASN.2004040331","id":"thakar-2005","pmid":"15563569","source":"J Am Soc Nephrol. 2005;16(1):162-168","title":"A clinical score to predict acute renal failure after cardiac surgery"},"components":[{"factor":"female","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"lvef_lt_35","points":0,"present":false},{"factor":"preoperative_iabp","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"insulin_diabetes","points":0,"present":false},{"factor":"previous_cardiac_surgery","points":0,"present":false},{"factor":"emergency_surgery","points":0,"present":false},{"factor":"surgery_type","points":0,"present":false,"value":"cabg"},{"factor":"creatinine_mg_dl","points":0,"present":false,"value":1}],"creatinine_mg_dl":1,"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":"thakar","formula_expression":"Thakar 2005 = female(1) + congestive_heart_failure(1) + lvef_lt_35(1) + preoperative_iabp(2) + copd(1) + insulin_diabetes(1) + previous_cardiac_surgery(1) + emergency_surgery(2) + surgery_type(cabg 0, valve 1, cabg_valve 2, other 2) + creatinine_mg_dl(<1.2: 0, 1.2 to <2.1: 2, >=2.1: 5); max 17; categories 0-2 / 3-5 / 6-8 / 9-13","max_score":17,"score":0,"sex":"male","surgery_type":"cabg","thakar_category":"0_to_2"},{"citation":{"authors":"Thakar CV, Arrigain S, Worley S, Yared JP, Paganini EP","doi":"10.1681/ASN.2004040331","id":"thakar-2005","pmid":"15563569","source":"J Am Soc Nephrol. 2005;16(1):162-168","title":"A clinical score to predict acute renal failure after cardiac surgery"},"components":[{"factor":"female","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"lvef_lt_35","points":0,"present":false},{"factor":"preoperative_iabp","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"insulin_diabetes","points":0,"present":false},{"factor":"previous_cardiac_surgery","points":0,"present":false},{"factor":"emergency_surgery","points":0,"present":false},{"factor":"surgery_type","points":0,"present":false,"value":"cabg"},{"factor":"creatinine_mg_dl","points":0,"present":false,"value":1}],"creatinine_mg_dl":1,"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":"thakar","formula_expression":"Thakar 2005 = female(1) + congestive_heart_failure(1) + lvef_lt_35(1) + preoperative_iabp(2) + copd(1) + insulin_diabetes(1) + previous_cardiac_surgery(1) + emergency_surgery(2) + surgery_type(cabg 0, valve 1, cabg_valve 2, other 2) + creatinine_mg_dl(<1.2: 0, 1.2 to <2.1: 2, >=2.1: 5); max 17; categories 0-2 / 3-5 / 6-8 / 9-13","max_score":17,"score":0,"sex":"male","surgery_type":"cabg","thakar_category":"0_to_2"}],"path":"/api/calc/thakar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"congestive_heart_failure":{"description":"Congestive heart failure as assigned by the caller (Thakar 2005). true scores 1. true or false. magent does not examine the patient.","type":"boolean"},"copd":{"description":"COPD requiring medical therapy as assigned by the caller (Thakar 2005). true scores 1. true or false.","type":"boolean"},"creatinine_mg_dl":{"description":"Preoperative serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Thakar 2005 scoring table: <1.2 scores 0; 1.2 to <2.1 scores 2; >=2.1 scores 5. 2.0 mg/dL scores 2. magent does not assay creatinine.","type":"number"},"creatinine_umol_l":{"description":"Preoperative serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"emergency_surgery":{"description":"Emergency surgery as assigned by the caller (Thakar 2005). true scores 2. true or false.","type":"boolean"},"insulin_diabetes":{"description":"Insulin-requiring diabetes as assigned by the caller (Thakar 2005). true scores 1. true or false.","type":"boolean"},"lvef_lt_35":{"description":"Left-ventricular ejection fraction <35% as assigned by the caller (Thakar 2005). true scores 1. Flag only; do not send an LVEF number. magent does not measure ejection fraction.","type":"boolean"},"preoperative_iabp":{"description":"Preoperative intra-aortic balloon pump as assigned by the caller (Thakar 2005). true scores 2. true or false.","type":"boolean"},"previous_cardiac_surgery":{"description":"Previous cardiac surgery as assigned by the caller (Thakar 2005). true scores 1. true or false.","type":"boolean"},"sex":{"description":"female or male (Thakar 2005). Female scores 1. Male scores 0. Assigned by the caller.","enum":["female","male"],"type":"string"},"surgery_type":{"description":"cabg (CABG only, reference, 0), valve (valve only, +1), cabg_valve (CABG + valve, +2), or other (other cardiac surgeries such as ventricular aneurysm repair or pericardiectomy, +2). Thakar 2005. Assigned by the caller.","enum":["cabg","valve","cabg_valve","other"],"type":"string"}},"required":["sex","surgery_type","congestive_heart_failure","lvef_lt_35","preoperative_iabp","copd","insulin_diabetes","previous_cardiac_surgery","emergency_surgery"],"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":["thakar","arf","cardiac-surgery","kidney","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:32:07.897Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:32:07.699Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"congestive_heart_failure":false,"copd":false,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"emergency_surgery":false,"insulin_diabetes":false,"lvef_lt_35":false,"preoperative_iabp":false,"previous_cardiac_surgery":false,"sex":"male","surgery_type":"cabg"},{"congestive_heart_failure":false,"copd":false,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"emergency_surgery":false,"insulin_diabetes":false,"lvef_lt_35":false,"preoperative_iabp":false,"previous_cardiac_surgery":false,"sex":"male","surgery_type":"cabg"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Thakar CV, Arrigain S, Worley S, Yared JP, Paganini EP","doi":"10.1681/ASN.2004040331","id":"thakar-2005","pmid":"15563569","source":"J Am Soc Nephrol. 2005;16(1):162-168","title":"A clinical score to predict acute renal failure after cardiac surgery"},"components":[{"factor":"female","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"lvef_lt_35","points":0,"present":false},{"factor":"preoperative_iabp","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"insulin_diabetes","points":0,"present":false},{"factor":"previous_cardiac_surgery","points":0,"present":false},{"factor":"emergency_surgery","points":0,"present":false},{"factor":"surgery_type","points":0,"present":false,"value":"cabg"},{"factor":"creatinine_mg_dl","points":0,"present":false,"value":1}],"creatinine_mg_dl":1,"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":"thakar","formula_expression":"Thakar 2005 = female(1) + congestive_heart_failure(1) + lvef_lt_35(1) + preoperative_iabp(2) + copd(1) + insulin_diabetes(1) + previous_cardiac_surgery(1) + emergency_surgery(2) + surgery_type(cabg 0, valve 1, cabg_valve 2, other 2) + creatinine_mg_dl(<1.2: 0, 1.2 to <2.1: 2, >=2.1: 5); max 17; categories 0-2 / 3-5 / 6-8 / 9-13","max_score":17,"score":0,"sex":"male","surgery_type":"cabg","thakar_category":"0_to_2"},{"citation":{"authors":"Thakar CV, Arrigain S, Worley S, Yared JP, Paganini EP","doi":"10.1681/ASN.2004040331","id":"thakar-2005","pmid":"15563569","source":"J Am Soc Nephrol. 2005;16(1):162-168","title":"A clinical score to predict acute renal failure after cardiac surgery"},"components":[{"factor":"female","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"lvef_lt_35","points":0,"present":false},{"factor":"preoperative_iabp","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"insulin_diabetes","points":0,"present":false},{"factor":"previous_cardiac_surgery","points":0,"present":false},{"factor":"emergency_surgery","points":0,"present":false},{"factor":"surgery_type","points":0,"present":false,"value":"cabg"},{"factor":"creatinine_mg_dl","points":0,"present":false,"value":1}],"creatinine_mg_dl":1,"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":"thakar","formula_expression":"Thakar 2005 = female(1) + congestive_heart_failure(1) + lvef_lt_35(1) + preoperative_iabp(2) + copd(1) + insulin_diabetes(1) + previous_cardiac_surgery(1) + emergency_surgery(2) + surgery_type(cabg 0, valve 1, cabg_valve 2, other 2) + creatinine_mg_dl(<1.2: 0, 1.2 to <2.1: 2, >=2.1: 5); max 17; categories 0-2 / 3-5 / 6-8 / 9-13","max_score":17,"score":0,"sex":"male","surgery_type":"cabg","thakar_category":"0_to_2"}],"path":"/api/calc/thakar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"congestive_heart_failure":{"description":"Congestive heart failure as assigned by the caller (Thakar 2005). true scores 1. true or false. magent does not examine the patient.","type":"boolean"},"copd":{"description":"COPD requiring medical therapy as assigned by the caller (Thakar 2005). true scores 1. true or false.","type":"boolean"},"creatinine_mg_dl":{"description":"Preoperative serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Thakar 2005 scoring table: <1.2 scores 0; 1.2 to <2.1 scores 2; >=2.1 scores 5. 2.0 mg/dL scores 2. magent does not assay creatinine.","type":"number"},"creatinine_umol_l":{"description":"Preoperative serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"emergency_surgery":{"description":"Emergency surgery as assigned by the caller (Thakar 2005). true scores 2. true or false.","type":"boolean"},"insulin_diabetes":{"description":"Insulin-requiring diabetes as assigned by the caller (Thakar 2005). true scores 1. true or false.","type":"boolean"},"lvef_lt_35":{"description":"Left-ventricular ejection fraction <35% as assigned by the caller (Thakar 2005). true scores 1. Flag only; do not send an LVEF number. magent does not measure ejection fraction.","type":"boolean"},"preoperative_iabp":{"description":"Preoperative intra-aortic balloon pump as assigned by the caller (Thakar 2005). true scores 2. true or false.","type":"boolean"},"previous_cardiac_surgery":{"description":"Previous cardiac surgery as assigned by the caller (Thakar 2005). true scores 1. true or false.","type":"boolean"},"sex":{"description":"female or male (Thakar 2005). Female scores 1. Male scores 0. Assigned by the caller.","enum":["female","male"],"type":"string"},"surgery_type":{"description":"cabg (CABG only, reference, 0), valve (valve only, +1), cabg_valve (CABG + valve, +2), or other (other cardiac surgeries such as ventricular aneurysm repair or pericardiectomy, +2). Thakar 2005. Assigned by the caller.","enum":["cabg","valve","cabg_valve","other"],"type":"string"}},"required":["sex","surgery_type","congestive_heart_failure","lvef_lt_35","preoperative_iabp","copd","insulin_diabetes","previous_cardiac_surgery","emergency_surgery"],"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},{"id":38785,"slug":"38785","resource":"https://api.magentlab.com/api/calc/tdn_grade","description":"Terrapon 2021 Therapy-Disability-Neurology (TDN) grade. Caller assigns therapy t1-t5, modified Rankin 0-6 (6 is death), and new neurologic deficit. Overall grade is max(T, D, N); t5 or mRS 6 is always 5. D maps mRS 0-1→1, 2-3→2, 4→3, 5→4, 6→5; new deficit is N=2 else N=1. Not a diagnosis and not Clavien-Dindo alone. magent does not grade the event.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"disability_mrs":0,"new_neurologic_deficit":false,"therapy":"t1"},{"disability_mrs":0,"new_neurologic_deficit":false,"therapy":"t1"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Terrapon APR, Zattra CM, Voglis S, et al.","doi":"10.1093/neuros/nyab121","id":"terrapon-2021","pmid":"33887774","source":"Neurosurgery. 2021;89(2):236-245","title":"Adverse Events in Neurosurgery: The Novel Therapy-Disability-Neurology Grade"},"criteria":[{"factor":"therapy","met":true,"value":1},{"factor":"disability","met":true,"value":1},{"factor":"neurology","met":true,"value":1}],"disability_grade":1,"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":"tdn_grade","formula_expression":"tdn_grade = max(T, D, N); T is therapy t1-t5 (t1 no treatment beyond antiemetics, antipyretics, analgesics, diuretics, electrolytes, physiotherapy, bedside wound opening; t2 pharmacologic including transfusion or TPN; t3 invasive procedure; t4 life-threatening ICU; t5 death); D maps disability_mrs 0-1→1, 2-3→2, 4→3, 5→4, 6→5; N is 2 if new_neurologic_deficit else 1; if therapy is t5 or disability_mrs is 6, tdn_grade is 5 (Terrapon 2021)","neurology_grade":1,"tdn_grade":1,"therapy_grade":1},{"citation":{"authors":"Terrapon APR, Zattra CM, Voglis S, et al.","doi":"10.1093/neuros/nyab121","id":"terrapon-2021","pmid":"33887774","source":"Neurosurgery. 2021;89(2):236-245","title":"Adverse Events in Neurosurgery: The Novel Therapy-Disability-Neurology Grade"},"criteria":[{"factor":"therapy","met":true,"value":1},{"factor":"disability","met":true,"value":1},{"factor":"neurology","met":true,"value":1}],"disability_grade":1,"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":"tdn_grade","formula_expression":"tdn_grade = max(T, D, N); T is therapy t1-t5 (t1 no treatment beyond antiemetics, antipyretics, analgesics, diuretics, electrolytes, physiotherapy, bedside wound opening; t2 pharmacologic including transfusion or TPN; t3 invasive procedure; t4 life-threatening ICU; t5 death); D maps disability_mrs 0-1→1, 2-3→2, 4→3, 5→4, 6→5; N is 2 if new_neurologic_deficit else 1; if therapy is t5 or disability_mrs is 6, tdn_grade is 5 (Terrapon 2021)","neurology_grade":1,"tdn_grade":1,"therapy_grade":1}],"path":"/api/calc/tdn_grade"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"disability_mrs":{"description":"Modified Rankin 0-6 as assigned by the caller, including death as 6. Maps to Disability D: 0-1→1, 2-3→2, 4→3, 5→4, 6→5. This is not van Swieten 1988 modified Rankin 0-5, which omits death. magent does not interview the patient.","type":"integer"},"new_neurologic_deficit":{"description":"New neurologic deficit as assigned by the caller (Terrapon 2021 Neurology dimension). true or false. false is N=1; true is N=2. magent does not examine the patient.","type":"boolean"},"therapy":{"description":"Terrapon 2021 Therapy dimension as assigned by the caller. t1 no treatment or intervention beyond antiemetics, antipyretics, analgesics, diuretics, electrolytes, physiotherapy, or bedside wound opening (T=1). t2 pharmacologic treatment including blood transfusion or TPN (T=2). t3 invasive procedure, surgical, endoscopic, or radiologic (T=3). t4 life-threatening, ICU management (T=4). t5 death (T=5). magent does not grade the adverse event.","enum":["t1","t2","t3","t4","t5"],"type":"string"}},"required":["therapy","disability_mrs","new_neurologic_deficit"],"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":["tdn-grade","neurosurgery","adverse-event","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:32:06.774Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:32:06.639Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"disability_mrs":0,"new_neurologic_deficit":false,"therapy":"t1"},{"disability_mrs":0,"new_neurologic_deficit":false,"therapy":"t1"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Terrapon APR, Zattra CM, Voglis S, et al.","doi":"10.1093/neuros/nyab121","id":"terrapon-2021","pmid":"33887774","source":"Neurosurgery. 2021;89(2):236-245","title":"Adverse Events in Neurosurgery: The Novel Therapy-Disability-Neurology Grade"},"criteria":[{"factor":"therapy","met":true,"value":1},{"factor":"disability","met":true,"value":1},{"factor":"neurology","met":true,"value":1}],"disability_grade":1,"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":"tdn_grade","formula_expression":"tdn_grade = max(T, D, N); T is therapy t1-t5 (t1 no treatment beyond antiemetics, antipyretics, analgesics, diuretics, electrolytes, physiotherapy, bedside wound opening; t2 pharmacologic including transfusion or TPN; t3 invasive procedure; t4 life-threatening ICU; t5 death); D maps disability_mrs 0-1→1, 2-3→2, 4→3, 5→4, 6→5; N is 2 if new_neurologic_deficit else 1; if therapy is t5 or disability_mrs is 6, tdn_grade is 5 (Terrapon 2021)","neurology_grade":1,"tdn_grade":1,"therapy_grade":1},{"citation":{"authors":"Terrapon APR, Zattra CM, Voglis S, et al.","doi":"10.1093/neuros/nyab121","id":"terrapon-2021","pmid":"33887774","source":"Neurosurgery. 2021;89(2):236-245","title":"Adverse Events in Neurosurgery: The Novel Therapy-Disability-Neurology Grade"},"criteria":[{"factor":"therapy","met":true,"value":1},{"factor":"disability","met":true,"value":1},{"factor":"neurology","met":true,"value":1}],"disability_grade":1,"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":"tdn_grade","formula_expression":"tdn_grade = max(T, D, N); T is therapy t1-t5 (t1 no treatment beyond antiemetics, antipyretics, analgesics, diuretics, electrolytes, physiotherapy, bedside wound opening; t2 pharmacologic including transfusion or TPN; t3 invasive procedure; t4 life-threatening ICU; t5 death); D maps disability_mrs 0-1→1, 2-3→2, 4→3, 5→4, 6→5; N is 2 if new_neurologic_deficit else 1; if therapy is t5 or disability_mrs is 6, tdn_grade is 5 (Terrapon 2021)","neurology_grade":1,"tdn_grade":1,"therapy_grade":1}],"path":"/api/calc/tdn_grade"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"disability_mrs":{"description":"Modified Rankin 0-6 as assigned by the caller, including death as 6. Maps to Disability D: 0-1→1, 2-3→2, 4→3, 5→4, 6→5. This is not van Swieten 1988 modified Rankin 0-5, which omits death. magent does not interview the patient.","type":"integer"},"new_neurologic_deficit":{"description":"New neurologic deficit as assigned by the caller (Terrapon 2021 Neurology dimension). true or false. false is N=1; true is N=2. magent does not examine the patient.","type":"boolean"},"therapy":{"description":"Terrapon 2021 Therapy dimension as assigned by the caller. t1 no treatment or intervention beyond antiemetics, antipyretics, analgesics, diuretics, electrolytes, physiotherapy, or bedside wound opening (T=1). t2 pharmacologic treatment including blood transfusion or TPN (T=2). t3 invasive procedure, surgical, endoscopic, or radiologic (T=3). t4 life-threatening, ICU management (T=4). t5 death (T=5). magent does not grade the adverse event.","enum":["t1","t2","t3","t4","t5"],"type":"string"}},"required":["therapy","disability_mrs","new_neurologic_deficit"],"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},{"id":38786,"slug":"38786","resource":"https://api.magentlab.com/api/calc/surgical_apgar","description":"Intraoperative Surgical Apgar (Gawande 2007 Table 1) from estimated blood loss, lowest mean arterial pressure, and lowest heart rate, summed to a 0–10 total. Returns score_le_4 because scores ≤4 were associated with 58.6% 30-day death or major complication in the validation cohort (9–10 associated with 3.6%). Deterministic published arithmetic with citation; not Virginia Apgar; not operative clearance.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ebl_ml":50,"lowest_heart_rate_bpm":60,"lowest_map_mm_hg":80},{"ebl_ml":50,"lowest_heart_rate_bpm":60,"lowest_map_mm_hg":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gawande AA, Kwaan MR, Regenbogen SE, Lipsitz SA, Zinner MJ","doi":"10.1016/j.jamcollsurg.2006.11.011","id":"gawande-2007","pmid":"17254927","source":"J Am Coll Surg. 2007;204(2):201-208","title":"An Apgar score for surgery"},"components":[{"factor":"ebl_ml","points":3,"present":true,"value":50},{"factor":"lowest_map_mm_hg","points":3,"present":true,"value":80},{"factor":"lowest_heart_rate_bpm","points":3,"present":true,"value":60}],"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.","ebl_ml":50,"formula":"surgical_apgar","formula_expression":"Surgical Apgar = ebl_points + lowest_map_points + lowest_hr_points; Gawande 2007 Table 1; max 10","lowest_heart_rate_bpm":60,"lowest_map_mm_hg":80,"max_score":10,"score":9,"score_le_4":false},{"citation":{"authors":"Gawande AA, Kwaan MR, Regenbogen SE, Lipsitz SA, Zinner MJ","doi":"10.1016/j.jamcollsurg.2006.11.011","id":"gawande-2007","pmid":"17254927","source":"J Am Coll Surg. 2007;204(2):201-208","title":"An Apgar score for surgery"},"components":[{"factor":"ebl_ml","points":3,"present":true,"value":50},{"factor":"lowest_map_mm_hg","points":3,"present":true,"value":80},{"factor":"lowest_heart_rate_bpm","points":3,"present":true,"value":60}],"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.","ebl_ml":50,"formula":"surgical_apgar","formula_expression":"Surgical Apgar = ebl_points + lowest_map_points + lowest_hr_points; Gawande 2007 Table 1; max 10","lowest_heart_rate_bpm":60,"lowest_map_mm_hg":80,"max_score":10,"score":9,"score_le_4":false}],"path":"/api/calc/surgical_apgar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ebl_ml":{"description":"Estimated intraoperative blood loss in mL (0.0-20000.0). Gawande 2007 Table 1: >1000 → 0, 601-1000 → 1, 101-600 → 2, ≤100 → 3.","type":"number"},"lowest_heart_rate_bpm":{"description":"Lowest intraoperative heart rate in beats/min (integer 30-220). Gawande 2007 Table 1: >85 → 0, 76-85 → 1, 66-75 → 2, 56-65 → 3, ≤55 → 4.","type":"integer"},"lowest_map_mm_hg":{"description":"Lowest intraoperative mean arterial pressure in mm Hg (30.0-180.0). Gawande 2007 Table 1: <40 → 0, 40-54 → 1, 55-69 → 2, ≥70 → 3.","type":"number"}},"required":["ebl_ml","lowest_map_mm_hg","lowest_heart_rate_bpm"],"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":["surgical-apgar","surgery","emergency","intraoperative","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:27:28.533Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:27:28.41Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ebl_ml":50,"lowest_heart_rate_bpm":60,"lowest_map_mm_hg":80},{"ebl_ml":50,"lowest_heart_rate_bpm":60,"lowest_map_mm_hg":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gawande AA, Kwaan MR, Regenbogen SE, Lipsitz SA, Zinner MJ","doi":"10.1016/j.jamcollsurg.2006.11.011","id":"gawande-2007","pmid":"17254927","source":"J Am Coll Surg. 2007;204(2):201-208","title":"An Apgar score for surgery"},"components":[{"factor":"ebl_ml","points":3,"present":true,"value":50},{"factor":"lowest_map_mm_hg","points":3,"present":true,"value":80},{"factor":"lowest_heart_rate_bpm","points":3,"present":true,"value":60}],"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.","ebl_ml":50,"formula":"surgical_apgar","formula_expression":"Surgical Apgar = ebl_points + lowest_map_points + lowest_hr_points; Gawande 2007 Table 1; max 10","lowest_heart_rate_bpm":60,"lowest_map_mm_hg":80,"max_score":10,"score":9,"score_le_4":false},{"citation":{"authors":"Gawande AA, Kwaan MR, Regenbogen SE, Lipsitz SA, Zinner MJ","doi":"10.1016/j.jamcollsurg.2006.11.011","id":"gawande-2007","pmid":"17254927","source":"J Am Coll Surg. 2007;204(2):201-208","title":"An Apgar score for surgery"},"components":[{"factor":"ebl_ml","points":3,"present":true,"value":50},{"factor":"lowest_map_mm_hg","points":3,"present":true,"value":80},{"factor":"lowest_heart_rate_bpm","points":3,"present":true,"value":60}],"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.","ebl_ml":50,"formula":"surgical_apgar","formula_expression":"Surgical Apgar = ebl_points + lowest_map_points + lowest_hr_points; Gawande 2007 Table 1; max 10","lowest_heart_rate_bpm":60,"lowest_map_mm_hg":80,"max_score":10,"score":9,"score_le_4":false}],"path":"/api/calc/surgical_apgar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ebl_ml":{"description":"Estimated intraoperative blood loss in mL (0.0-20000.0). Gawande 2007 Table 1: >1000 → 0, 601-1000 → 1, 101-600 → 2, ≤100 → 3.","type":"number"},"lowest_heart_rate_bpm":{"description":"Lowest intraoperative heart rate in beats/min (integer 30-220). Gawande 2007 Table 1: >85 → 0, 76-85 → 1, 66-75 → 2, 56-65 → 3, ≤55 → 4.","type":"integer"},"lowest_map_mm_hg":{"description":"Lowest intraoperative mean arterial pressure in mm Hg (30.0-180.0). Gawande 2007 Table 1: <40 → 0, 40-54 → 1, 55-69 → 2, ≥70 → 3.","type":"number"}},"required":["ebl_ml","lowest_map_mm_hg","lowest_heart_rate_bpm"],"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},{"id":38787,"slug":"38787","resource":"https://api.magentlab.com/api/calc/sulf_fast","description":"Waldron 2023 SULF-FAST for patients who already report a TMP-SMX (sulfa antibiotic) allergy. Adapted PEN-FAST flags, not PEN-FAST itself. Three caller-assigned flags: allergy event 5 or fewer years ago (2), anaphylaxis/angioedema or potential SCAR as one criterion (2), treatment required (1). Max 5. Risk: low if score < 3, elevated if ≥ 3. low_risk_for_testing iff score < 3. Not an allergy diagnosis or delabeling order. magent does not take an allergy history.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anaphylaxis_angioedema_or_scar":false,"five_or_fewer_years_ago":false,"treatment_required":false},{"anaphylaxis_angioedema_or_scar":false,"five_or_fewer_years_ago":false,"treatment_required":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Waldron JL, Rose M, Vogrin S, Krantz MS, Bolotte R, Phillips EJ, Trubiano JA","doi":"10.1001/jamanetworkopen.2023.16776","id":"waldron-2023","pmid":"37273210","source":"JAMA Netw Open. 2023;6(6):e2316776","title":"Development and Validation of a Sulfa Antibiotic Allergy Clinical Decision Rule"},"components":[{"factor":"five_or_fewer_years_ago","points":0,"present":false},{"factor":"anaphylaxis_angioedema_or_scar","points":0,"present":false},{"factor":"treatment_required","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":"sulf_fast","formula_expression":"SULF-FAST = five_or_fewer_years_ago (true 2) + anaphylaxis_angioedema_or_scar (true 2) + treatment_required (true 1); Waldron 2023; max 5; score < 3 low, score ≥ 3 elevated; low_risk_for_testing iff score < 3","low_risk_for_testing":true,"max_score":5,"risk":"low","score":0},{"citation":{"authors":"Waldron JL, Rose M, Vogrin S, Krantz MS, Bolotte R, Phillips EJ, Trubiano JA","doi":"10.1001/jamanetworkopen.2023.16776","id":"waldron-2023","pmid":"37273210","source":"JAMA Netw Open. 2023;6(6):e2316776","title":"Development and Validation of a Sulfa Antibiotic Allergy Clinical Decision Rule"},"components":[{"factor":"five_or_fewer_years_ago","points":0,"present":false},{"factor":"anaphylaxis_angioedema_or_scar","points":0,"present":false},{"factor":"treatment_required","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":"sulf_fast","formula_expression":"SULF-FAST = five_or_fewer_years_ago (true 2) + anaphylaxis_angioedema_or_scar (true 2) + treatment_required (true 1); Waldron 2023; max 5; score < 3 low, score ≥ 3 elevated; low_risk_for_testing iff score < 3","low_risk_for_testing":true,"max_score":5,"risk":"low","score":0}],"path":"/api/calc/sulf_fast"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anaphylaxis_angioedema_or_scar":{"description":"Anaphylaxis/angioedema or potential SCAR as one 2-point criterion (Waldron 2023). true scores 2; do not add both phenotypes separately. magent does not take an allergy history.","type":"boolean"},"five_or_fewer_years_ago":{"description":"Allergy event 5 or fewer years ago as assigned by the caller (Waldron 2023). true scores 2. magent does not take an allergy history.","type":"boolean"},"treatment_required":{"description":"Treatment required for the allergy episode as assigned by the caller (Waldron 2023). true scores 1. magent does not take an allergy history.","type":"boolean"}},"required":["five_or_fewer_years_ago","anaphylaxis_angioedema_or_scar","treatment_required"],"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":["sulf-fast","sulfa-allergy","tmp-smx","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:27:27.492Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:27:27.243Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anaphylaxis_angioedema_or_scar":false,"five_or_fewer_years_ago":false,"treatment_required":false},{"anaphylaxis_angioedema_or_scar":false,"five_or_fewer_years_ago":false,"treatment_required":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Waldron JL, Rose M, Vogrin S, Krantz MS, Bolotte R, Phillips EJ, Trubiano JA","doi":"10.1001/jamanetworkopen.2023.16776","id":"waldron-2023","pmid":"37273210","source":"JAMA Netw Open. 2023;6(6):e2316776","title":"Development and Validation of a Sulfa Antibiotic Allergy Clinical Decision Rule"},"components":[{"factor":"five_or_fewer_years_ago","points":0,"present":false},{"factor":"anaphylaxis_angioedema_or_scar","points":0,"present":false},{"factor":"treatment_required","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":"sulf_fast","formula_expression":"SULF-FAST = five_or_fewer_years_ago (true 2) + anaphylaxis_angioedema_or_scar (true 2) + treatment_required (true 1); Waldron 2023; max 5; score < 3 low, score ≥ 3 elevated; low_risk_for_testing iff score < 3","low_risk_for_testing":true,"max_score":5,"risk":"low","score":0},{"citation":{"authors":"Waldron JL, Rose M, Vogrin S, Krantz MS, Bolotte R, Phillips EJ, Trubiano JA","doi":"10.1001/jamanetworkopen.2023.16776","id":"waldron-2023","pmid":"37273210","source":"JAMA Netw Open. 2023;6(6):e2316776","title":"Development and Validation of a Sulfa Antibiotic Allergy Clinical Decision Rule"},"components":[{"factor":"five_or_fewer_years_ago","points":0,"present":false},{"factor":"anaphylaxis_angioedema_or_scar","points":0,"present":false},{"factor":"treatment_required","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":"sulf_fast","formula_expression":"SULF-FAST = five_or_fewer_years_ago (true 2) + anaphylaxis_angioedema_or_scar (true 2) + treatment_required (true 1); Waldron 2023; max 5; score < 3 low, score ≥ 3 elevated; low_risk_for_testing iff score < 3","low_risk_for_testing":true,"max_score":5,"risk":"low","score":0}],"path":"/api/calc/sulf_fast"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anaphylaxis_angioedema_or_scar":{"description":"Anaphylaxis/angioedema or potential SCAR as one 2-point criterion (Waldron 2023). true scores 2; do not add both phenotypes separately. magent does not take an allergy history.","type":"boolean"},"five_or_fewer_years_ago":{"description":"Allergy event 5 or fewer years ago as assigned by the caller (Waldron 2023). true scores 2. magent does not take an allergy history.","type":"boolean"},"treatment_required":{"description":"Treatment required for the allergy episode as assigned by the caller (Waldron 2023). true scores 1. magent does not take an allergy history.","type":"boolean"}},"required":["five_or_fewer_years_ago","anaphylaxis_angioedema_or_scar","treatment_required"],"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},{"id":38788,"slug":"38788","resource":"https://api.magentlab.com/api/calc/subtle_stemi","description":"Driver 2017 4-variable formula for normal-variant STE in V2-V4 (early repolarization) versus subtle LAD occlusion: formula_value = 0.052*QTc_ms - 0.151*QRS_V2_mm - 0.268*R_V4_mm + 1.062*STE60_V3_mm, 3 decimals. lad_occlusion_suggested is true iff the value is ≥18.2 (derivation highest-accuracy cutpoint). Intended only when ≥1 mm STE in V2-V4 without obvious occlusion features. magent does not read the ECG. Not a STEMI diagnosis, cath-lab order, or 3-variable formula. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"qrs_v2_mm":20,"qtc_ms":400,"r_v4_mm":15,"ste60_v3_mm":1},{"qrs_v2_mm":20,"qtc_ms":400,"r_v4_mm":15,"ste60_v3_mm":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Driver BE, Khalil A, Henry T, Kazmi F, Adil A, Smith SW","doi":"10.1016/j.jelectrocard.2017.04.005","id":"driver-2017","pmid":"28460689","source":"J Electrocardiol. 2017;50(5):561-569","title":"A new 4-variable formula to differentiate normal variant ST segment elevation in V2-V4 (early repolarization) from subtle left anterior descending coronary occlusion - Adding QRS amplitude of V2 improves the model"},"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":"subtle_stemi","formula_expression":"formula_value = 0.052 * qtc_ms - 0.151 * qrs_v2_mm - 0.268 * r_v4_mm + 1.062 * ste60_v3_mm","formula_value":14.822,"lad_occlusion_suggested":false,"qrs_v2_mm":20,"qtc_ms":400,"r_v4_mm":15,"ste60_v3_mm":1},{"citation":{"authors":"Driver BE, Khalil A, Henry T, Kazmi F, Adil A, Smith SW","doi":"10.1016/j.jelectrocard.2017.04.005","id":"driver-2017","pmid":"28460689","source":"J Electrocardiol. 2017;50(5):561-569","title":"A new 4-variable formula to differentiate normal variant ST segment elevation in V2-V4 (early repolarization) from subtle left anterior descending coronary occlusion - Adding QRS amplitude of V2 improves the model"},"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":"subtle_stemi","formula_expression":"formula_value = 0.052 * qtc_ms - 0.151 * qrs_v2_mm - 0.268 * r_v4_mm + 1.062 * ste60_v3_mm","formula_value":14.822,"lad_occlusion_suggested":false,"qrs_v2_mm":20,"qtc_ms":400,"r_v4_mm":15,"ste60_v3_mm":1}],"path":"/api/calc/subtle_stemi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"qrs_v2_mm":{"description":"Total QRS amplitude in V2 (R+S) in millimetres at standard calibration (0.1-50). Driver 2017.","type":"number"},"qtc_ms":{"description":"Computerized Bazett QTc in milliseconds (200-800). Driver 2017.","type":"number"},"r_v4_mm":{"description":"R-wave amplitude in V4 in millimetres at standard calibration (0.1-50). Driver 2017.","type":"number"},"ste60_v3_mm":{"description":"ST elevation at 60 ms after the J-point in V3, in millimetres (0-10). Driver 2017.","type":"number"}},"required":["qtc_ms","qrs_v2_mm","r_v4_mm","ste60_v3_mm"],"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":["ecg","anterior-ste","lad-occlusion","early-repol","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:27:26.528Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:27:26.381Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"qrs_v2_mm":20,"qtc_ms":400,"r_v4_mm":15,"ste60_v3_mm":1},{"qrs_v2_mm":20,"qtc_ms":400,"r_v4_mm":15,"ste60_v3_mm":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Driver BE, Khalil A, Henry T, Kazmi F, Adil A, Smith SW","doi":"10.1016/j.jelectrocard.2017.04.005","id":"driver-2017","pmid":"28460689","source":"J Electrocardiol. 2017;50(5):561-569","title":"A new 4-variable formula to differentiate normal variant ST segment elevation in V2-V4 (early repolarization) from subtle left anterior descending coronary occlusion - Adding QRS amplitude of V2 improves the model"},"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":"subtle_stemi","formula_expression":"formula_value = 0.052 * qtc_ms - 0.151 * qrs_v2_mm - 0.268 * r_v4_mm + 1.062 * ste60_v3_mm","formula_value":14.822,"lad_occlusion_suggested":false,"qrs_v2_mm":20,"qtc_ms":400,"r_v4_mm":15,"ste60_v3_mm":1},{"citation":{"authors":"Driver BE, Khalil A, Henry T, Kazmi F, Adil A, Smith SW","doi":"10.1016/j.jelectrocard.2017.04.005","id":"driver-2017","pmid":"28460689","source":"J Electrocardiol. 2017;50(5):561-569","title":"A new 4-variable formula to differentiate normal variant ST segment elevation in V2-V4 (early repolarization) from subtle left anterior descending coronary occlusion - Adding QRS amplitude of V2 improves the model"},"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":"subtle_stemi","formula_expression":"formula_value = 0.052 * qtc_ms - 0.151 * qrs_v2_mm - 0.268 * r_v4_mm + 1.062 * ste60_v3_mm","formula_value":14.822,"lad_occlusion_suggested":false,"qrs_v2_mm":20,"qtc_ms":400,"r_v4_mm":15,"ste60_v3_mm":1}],"path":"/api/calc/subtle_stemi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"qrs_v2_mm":{"description":"Total QRS amplitude in V2 (R+S) in millimetres at standard calibration (0.1-50). Driver 2017.","type":"number"},"qtc_ms":{"description":"Computerized Bazett QTc in milliseconds (200-800). Driver 2017.","type":"number"},"r_v4_mm":{"description":"R-wave amplitude in V4 in millimetres at standard calibration (0.1-50). Driver 2017.","type":"number"},"ste60_v3_mm":{"description":"ST elevation at 60 ms after the J-point in V3, in millimetres (0-10). Driver 2017.","type":"number"}},"required":["qtc_ms","qrs_v2_mm","r_v4_mm","ste60_v3_mm"],"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},{"id":38789,"slug":"38789","resource":"https://api.magentlab.com/api/calc/stumbl","description":"Battle 2014 STUMBL integer score after blunt chest wall trauma: 1 point per decade of age starting at 10, 3 per rib fracture, 5 for chronic lung disease, 4 for preinjury anticoagulants, and 2 per 5% SpO2 decrease starting at 94%. Table 5 complication probabilities 13/29/52/70/80/88%. magent does not examine the chest or count ribs. Not a medical device, not a disposition or ICU order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":67,"chronic_lung_disease":true,"preinjury_anticoagulants":false,"rib_count":3,"spo2_percent":87},{"age":67,"chronic_lung_disease":true,"preinjury_anticoagulants":false,"rib_count":3,"spo2_percent":87}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":67,"at_risk_for_complications":true,"chronic_lung_disease":true,"citation":{"authors":"Battle CE, Hutchings H, Lovett S, Bouamra O, Jones S, Sen A, Gagg J, Robinson D, Hartford-Beynon J, Williams J, Evans A","doi":"10.1186/cc13873","id":"battle-2014","pmid":"24887537","source":"Crit Care. 2014;18(3):R98","title":"Predicting outcomes after blunt chest wall trauma: development and external validation of a new prognostic model"},"complication_probability_percent":70,"components":[{"factor":"age","points":6,"present":true,"value":67},{"factor":"rib_count","points":9,"present":true,"value":3},{"factor":"chronic_lung_disease","points":5,"present":true},{"factor":"preinjury_anticoagulants","points":0,"present":false},{"factor":"spo2_percent","points":4,"present":true,"value":87}],"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":"stumbl","formula_expression":"STUMBL = div(age, 10) + 3*rib_count + chronic_lung_disease 5 + preinjury_anticoagulants 4 + spo2 (>=95 0 else 2*(1+div(94-spo2_percent, 5))); Battle 2014 Table 4; Table 5 0-10 13%, 11-15 29%, 16-20 52%, 21-25 70%, 26-30 80%, 31+ 88%","icu_admission_cutoff":false,"preinjury_anticoagulants":false,"rib_count":3,"score":24,"spo2_percent":87,"stumbl_band":"band_21_25"},{"age_years":67,"at_risk_for_complications":true,"chronic_lung_disease":true,"citation":{"authors":"Battle CE, Hutchings H, Lovett S, Bouamra O, Jones S, Sen A, Gagg J, Robinson D, Hartford-Beynon J, Williams J, Evans A","doi":"10.1186/cc13873","id":"battle-2014","pmid":"24887537","source":"Crit Care. 2014;18(3):R98","title":"Predicting outcomes after blunt chest wall trauma: development and external validation of a new prognostic model"},"complication_probability_percent":70,"components":[{"factor":"age","points":6,"present":true,"value":67},{"factor":"rib_count","points":9,"present":true,"value":3},{"factor":"chronic_lung_disease","points":5,"present":true},{"factor":"preinjury_anticoagulants","points":0,"present":false},{"factor":"spo2_percent","points":4,"present":true,"value":87}],"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":"stumbl","formula_expression":"STUMBL = div(age, 10) + 3*rib_count + chronic_lung_disease 5 + preinjury_anticoagulants 4 + spo2 (>=95 0 else 2*(1+div(94-spo2_percent, 5))); Battle 2014 Table 4; Table 5 0-10 13%, 11-15 29%, 16-20 52%, 21-25 70%, 26-30 80%, 31+ 88%","icu_admission_cutoff":false,"preinjury_anticoagulants":false,"rib_count":3,"score":24,"spo2_percent":87,"stumbl_band":"band_21_25"}],"path":"/api/calc/stumbl"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years, integer 1–120. Battle 2014 Table 4: 1 point per additional 10-year increase starting at 10 (div(age, 10); age 10 scores 1, age 67 scores 6, age 1–9 scores 0). Not the adult 18–120 clamp.","type":"integer"},"chronic_lung_disease":{"description":"Pre-injury chronic lung disease as assigned by the caller (Battle 2014 Table 4). true or false. true scores 5.","type":"boolean"},"preinjury_anticoagulants":{"description":"Pre-injury anticoagulant use as assigned by the caller (Battle 2014 Table 4). true or false. true scores 4.","type":"boolean"},"rib_count":{"description":"Caller-assigned number of rib fractures, integer 0–24. Battle 2014 Table 4: 3 points per additional rib fracture (3 ribs scores 9). magent does not examine the chest or count ribs.","type":"integer"},"spo2_percent":{"description":"Oxygen saturation percent, integer 50–100. Battle 2014 Table 4 footnote c: 2 points per 5% decrease starting at 94% (≥95 scores 0; else 2*(1+div(94-spo2_percent, 5)); 87% scores 4). magent does not measure SpO2.","type":"integer"}},"required":["age","rib_count","chronic_lung_disease","preinjury_anticoagulants","spo2_percent"],"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":["stumbl","chest-trauma","rib-fracture","emergency","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:22:12.958Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:22:12.825Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":67,"chronic_lung_disease":true,"preinjury_anticoagulants":false,"rib_count":3,"spo2_percent":87},{"age":67,"chronic_lung_disease":true,"preinjury_anticoagulants":false,"rib_count":3,"spo2_percent":87}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":67,"at_risk_for_complications":true,"chronic_lung_disease":true,"citation":{"authors":"Battle CE, Hutchings H, Lovett S, Bouamra O, Jones S, Sen A, Gagg J, Robinson D, Hartford-Beynon J, Williams J, Evans A","doi":"10.1186/cc13873","id":"battle-2014","pmid":"24887537","source":"Crit Care. 2014;18(3):R98","title":"Predicting outcomes after blunt chest wall trauma: development and external validation of a new prognostic model"},"complication_probability_percent":70,"components":[{"factor":"age","points":6,"present":true,"value":67},{"factor":"rib_count","points":9,"present":true,"value":3},{"factor":"chronic_lung_disease","points":5,"present":true},{"factor":"preinjury_anticoagulants","points":0,"present":false},{"factor":"spo2_percent","points":4,"present":true,"value":87}],"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":"stumbl","formula_expression":"STUMBL = div(age, 10) + 3*rib_count + chronic_lung_disease 5 + preinjury_anticoagulants 4 + spo2 (>=95 0 else 2*(1+div(94-spo2_percent, 5))); Battle 2014 Table 4; Table 5 0-10 13%, 11-15 29%, 16-20 52%, 21-25 70%, 26-30 80%, 31+ 88%","icu_admission_cutoff":false,"preinjury_anticoagulants":false,"rib_count":3,"score":24,"spo2_percent":87,"stumbl_band":"band_21_25"},{"age_years":67,"at_risk_for_complications":true,"chronic_lung_disease":true,"citation":{"authors":"Battle CE, Hutchings H, Lovett S, Bouamra O, Jones S, Sen A, Gagg J, Robinson D, Hartford-Beynon J, Williams J, Evans A","doi":"10.1186/cc13873","id":"battle-2014","pmid":"24887537","source":"Crit Care. 2014;18(3):R98","title":"Predicting outcomes after blunt chest wall trauma: development and external validation of a new prognostic model"},"complication_probability_percent":70,"components":[{"factor":"age","points":6,"present":true,"value":67},{"factor":"rib_count","points":9,"present":true,"value":3},{"factor":"chronic_lung_disease","points":5,"present":true},{"factor":"preinjury_anticoagulants","points":0,"present":false},{"factor":"spo2_percent","points":4,"present":true,"value":87}],"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":"stumbl","formula_expression":"STUMBL = div(age, 10) + 3*rib_count + chronic_lung_disease 5 + preinjury_anticoagulants 4 + spo2 (>=95 0 else 2*(1+div(94-spo2_percent, 5))); Battle 2014 Table 4; Table 5 0-10 13%, 11-15 29%, 16-20 52%, 21-25 70%, 26-30 80%, 31+ 88%","icu_admission_cutoff":false,"preinjury_anticoagulants":false,"rib_count":3,"score":24,"spo2_percent":87,"stumbl_band":"band_21_25"}],"path":"/api/calc/stumbl"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years, integer 1–120. Battle 2014 Table 4: 1 point per additional 10-year increase starting at 10 (div(age, 10); age 10 scores 1, age 67 scores 6, age 1–9 scores 0). Not the adult 18–120 clamp.","type":"integer"},"chronic_lung_disease":{"description":"Pre-injury chronic lung disease as assigned by the caller (Battle 2014 Table 4). true or false. true scores 5.","type":"boolean"},"preinjury_anticoagulants":{"description":"Pre-injury anticoagulant use as assigned by the caller (Battle 2014 Table 4). true or false. true scores 4.","type":"boolean"},"rib_count":{"description":"Caller-assigned number of rib fractures, integer 0–24. Battle 2014 Table 4: 3 points per additional rib fracture (3 ribs scores 9). magent does not examine the chest or count ribs.","type":"integer"},"spo2_percent":{"description":"Oxygen saturation percent, integer 50–100. Battle 2014 Table 4 footnote c: 2 points per 5% decrease starting at 94% (≥95 scores 0; else 2*(1+div(94-spo2_percent, 5)); 87% scores 4). magent does not measure SpO2.","type":"integer"}},"required":["age","rib_count","chronic_lung_disease","preinjury_anticoagulants","spo2_percent"],"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},{"id":38790,"slug":"38790","resource":"https://api.magentlab.com/api/calc/stop_bang","description":"Chung 2008 Appendix 2 STOP-Bang OSA screen. Four caller-assigned STOP flags (loud snoring heard through closed doors, daytime tiredness, observed stop-breathing, hypertension) plus computed BANG: BMI >35, age >50, neck >40 cm, male; each 1; max 8. BMI 35, age 50, and neck 40 cm do not score. Returns bands 0-2 and >=3. Not Chung 2012 three-tier, not a medical device, and not a sleep-study order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"bmi_kg_m2":30,"hypertension":false,"neck_cm":38,"observed_apnea":false,"sex":"female","snoring":false,"tired":false},{"age":40,"bmi_kg_m2":30,"hypertension":false,"neck_cm":38,"observed_apnea":false,"sex":"female","snoring":false,"tired":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"bmi_kg_m2":30,"citation":{"authors":"Chung F, Yegneswaran B, Liao P, et al.","doi":"10.1097/ALN.0b013e31816d83e4","id":"chung-2008","pmid":"18431116","source":"Anesthesiology. 2008;108(5):812-821","title":"STOP questionnaire: a tool to screen patients for obstructive sleep apnea"},"components":[{"factor":"snoring","points":0,"present":false},{"factor":"tired","points":0,"present":false},{"factor":"observed_apnea","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"bmi_gt_35","points":0,"present":false,"value":30},{"factor":"age_gt_50","points":0,"present":false,"value":40},{"factor":"neck_gt_40","points":0,"present":false,"value":38},{"factor":"male","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":"stop_bang","formula_expression":"STOP-Bang = snoring + tired + observed_apnea + hypertension + (bmi_kg_m2>35) + (age>50) + (neck_cm>40) + male; each 1 if true; max 8; bands 0-2 / >=3","hypertension":false,"max_score":8,"neck_cm":38,"observed_apnea":false,"score":0,"sex":"female","snoring":false,"stop_bang_band":"0-2","tired":false},{"age_years":40,"bmi_kg_m2":30,"citation":{"authors":"Chung F, Yegneswaran B, Liao P, et al.","doi":"10.1097/ALN.0b013e31816d83e4","id":"chung-2008","pmid":"18431116","source":"Anesthesiology. 2008;108(5):812-821","title":"STOP questionnaire: a tool to screen patients for obstructive sleep apnea"},"components":[{"factor":"snoring","points":0,"present":false},{"factor":"tired","points":0,"present":false},{"factor":"observed_apnea","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"bmi_gt_35","points":0,"present":false,"value":30},{"factor":"age_gt_50","points":0,"present":false,"value":40},{"factor":"neck_gt_40","points":0,"present":false,"value":38},{"factor":"male","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":"stop_bang","formula_expression":"STOP-Bang = snoring + tired + observed_apnea + hypertension + (bmi_kg_m2>35) + (age>50) + (neck_cm>40) + male; each 1 if true; max 8; bands 0-2 / >=3","hypertension":false,"max_score":8,"neck_cm":38,"observed_apnea":false,"score":0,"sex":"female","snoring":false,"stop_bang_band":"0-2","tired":false}],"path":"/api/calc/stop_bang"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Chung 2008 Appendix 2 BANG: scores 1 when >50. Age 50 does not score.","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Chung 2008 Appendix 2 BANG: scores 1 when >35. BMI 35 does not score. Caller-supplied; magent does not compute BMI from height and weight.","type":"number"},"hypertension":{"description":"Has or is being treated for high blood pressure (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true.","type":"boolean"},"neck_cm":{"description":"Neck circumference in cm (20-80). Chung 2008 Appendix 2 BANG: scores 1 when >40. Neck 40 does not score.","type":"number"},"observed_apnea":{"description":"Anyone observed the patient stop breathing during sleep (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true.","type":"boolean"},"sex":{"description":"female or male. Chung 2008 Appendix 2 BANG: male scores 1. Female scores 0.","enum":["female","male"],"type":"string"},"snoring":{"description":"Loud snoring heard through closed doors (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true.","type":"boolean"},"tired":{"description":"Daytime tiredness, fatigue, or sleepiness (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true.","type":"boolean"}},"required":["snoring","tired","observed_apnea","hypertension","bmi_kg_m2","age","neck_cm","sex"],"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":["stop-bang","osa","sleep-apnea","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:22:11.922Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:22:11.809Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"bmi_kg_m2":30,"hypertension":false,"neck_cm":38,"observed_apnea":false,"sex":"female","snoring":false,"tired":false},{"age":40,"bmi_kg_m2":30,"hypertension":false,"neck_cm":38,"observed_apnea":false,"sex":"female","snoring":false,"tired":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"bmi_kg_m2":30,"citation":{"authors":"Chung F, Yegneswaran B, Liao P, et al.","doi":"10.1097/ALN.0b013e31816d83e4","id":"chung-2008","pmid":"18431116","source":"Anesthesiology. 2008;108(5):812-821","title":"STOP questionnaire: a tool to screen patients for obstructive sleep apnea"},"components":[{"factor":"snoring","points":0,"present":false},{"factor":"tired","points":0,"present":false},{"factor":"observed_apnea","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"bmi_gt_35","points":0,"present":false,"value":30},{"factor":"age_gt_50","points":0,"present":false,"value":40},{"factor":"neck_gt_40","points":0,"present":false,"value":38},{"factor":"male","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":"stop_bang","formula_expression":"STOP-Bang = snoring + tired + observed_apnea + hypertension + (bmi_kg_m2>35) + (age>50) + (neck_cm>40) + male; each 1 if true; max 8; bands 0-2 / >=3","hypertension":false,"max_score":8,"neck_cm":38,"observed_apnea":false,"score":0,"sex":"female","snoring":false,"stop_bang_band":"0-2","tired":false},{"age_years":40,"bmi_kg_m2":30,"citation":{"authors":"Chung F, Yegneswaran B, Liao P, et al.","doi":"10.1097/ALN.0b013e31816d83e4","id":"chung-2008","pmid":"18431116","source":"Anesthesiology. 2008;108(5):812-821","title":"STOP questionnaire: a tool to screen patients for obstructive sleep apnea"},"components":[{"factor":"snoring","points":0,"present":false},{"factor":"tired","points":0,"present":false},{"factor":"observed_apnea","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"bmi_gt_35","points":0,"present":false,"value":30},{"factor":"age_gt_50","points":0,"present":false,"value":40},{"factor":"neck_gt_40","points":0,"present":false,"value":38},{"factor":"male","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":"stop_bang","formula_expression":"STOP-Bang = snoring + tired + observed_apnea + hypertension + (bmi_kg_m2>35) + (age>50) + (neck_cm>40) + male; each 1 if true; max 8; bands 0-2 / >=3","hypertension":false,"max_score":8,"neck_cm":38,"observed_apnea":false,"score":0,"sex":"female","snoring":false,"stop_bang_band":"0-2","tired":false}],"path":"/api/calc/stop_bang"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Chung 2008 Appendix 2 BANG: scores 1 when >50. Age 50 does not score.","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Chung 2008 Appendix 2 BANG: scores 1 when >35. BMI 35 does not score. Caller-supplied; magent does not compute BMI from height and weight.","type":"number"},"hypertension":{"description":"Has or is being treated for high blood pressure (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true.","type":"boolean"},"neck_cm":{"description":"Neck circumference in cm (20-80). Chung 2008 Appendix 2 BANG: scores 1 when >40. Neck 40 does not score.","type":"number"},"observed_apnea":{"description":"Anyone observed the patient stop breathing during sleep (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true.","type":"boolean"},"sex":{"description":"female or male. Chung 2008 Appendix 2 BANG: male scores 1. Female scores 0.","enum":["female","male"],"type":"string"},"snoring":{"description":"Loud snoring heard through closed doors (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true.","type":"boolean"},"tired":{"description":"Daytime tiredness, fatigue, or sleepiness (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true.","type":"boolean"}},"required":["snoring","tired","observed_apnea","hypertension","bmi_kg_m2","age","neck_cm","sex"],"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},{"id":38791,"slug":"38791","resource":"https://api.magentlab.com/api/calc/stool_osmotic_gap","description":"Eherer–Fordtran 1992 fecal osmotic gap: stool osmolality minus 2×(stool Na + stool K). Assumed stool osm 290 mOsm/kg when measured osm is omitted. Deterministic published arithmetic with citation; not a diagnosis of osmotic versus secretory diarrhea.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"stool_osm_mosm_kg":290,"stool_potassium_mmol_l":75,"stool_sodium_mmol_l":30},{"stool_osm_mosm_kg":290,"stool_potassium_mmol_l":75,"stool_sodium_mmol_l":30}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"assumed_osmolality":true,"citation":{"authors":"Eherer AJ, Fordtran JS","doi":"10.1016/0016-5085(92)90845-P","id":"eherer-fordtran-1992","source":"Gastroenterology. 1992;103(2):545-551","title":"Fecal osmotic gap and pH in experimental diarrhea of various causes"},"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":"eherer_fordtran","formula_expression":"osmotic_gap = stool_osm_mosm_kg - 2 * (stool_sodium_mmol_l + stool_potassium_mmol_l)","gap_gt_50":true,"osmotic_gap":80,"stool_osm_mosm_kg":290,"stool_potassium_mmol_l":75,"stool_sodium_mmol_l":30},{"assumed_osmolality":true,"citation":{"authors":"Eherer AJ, Fordtran JS","doi":"10.1016/0016-5085(92)90845-P","id":"eherer-fordtran-1992","source":"Gastroenterology. 1992;103(2):545-551","title":"Fecal osmotic gap and pH in experimental diarrhea of various causes"},"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":"eherer_fordtran","formula_expression":"osmotic_gap = stool_osm_mosm_kg - 2 * (stool_sodium_mmol_l + stool_potassium_mmol_l)","gap_gt_50":true,"osmotic_gap":80,"stool_osm_mosm_kg":290,"stool_potassium_mmol_l":75,"stool_sodium_mmol_l":30}],"path":"/api/calc/stool_osmotic_gap"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"stool_osm_mosm_kg":{"description":"Measured stool osmolality in mOsm/kg (200-600). When omitted, 290 mOsm/kg is assumed.","type":"number"},"stool_potassium_mmol_l":{"description":"Stool potassium in mmol/L (1-150).","type":"number"},"stool_sodium_mmol_l":{"description":"Stool sodium in mmol/L (1-150).","type":"number"}},"required":["stool_sodium_mmol_l","stool_potassium_mmol_l"],"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":["stool-osmotic-gap","osmotic-gap","electrolytes","diarrhea","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:22:10.687Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:22:10.331Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"stool_osm_mosm_kg":290,"stool_potassium_mmol_l":75,"stool_sodium_mmol_l":30},{"stool_osm_mosm_kg":290,"stool_potassium_mmol_l":75,"stool_sodium_mmol_l":30}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"assumed_osmolality":true,"citation":{"authors":"Eherer AJ, Fordtran JS","doi":"10.1016/0016-5085(92)90845-P","id":"eherer-fordtran-1992","source":"Gastroenterology. 1992;103(2):545-551","title":"Fecal osmotic gap and pH in experimental diarrhea of various causes"},"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":"eherer_fordtran","formula_expression":"osmotic_gap = stool_osm_mosm_kg - 2 * (stool_sodium_mmol_l + stool_potassium_mmol_l)","gap_gt_50":true,"osmotic_gap":80,"stool_osm_mosm_kg":290,"stool_potassium_mmol_l":75,"stool_sodium_mmol_l":30},{"assumed_osmolality":true,"citation":{"authors":"Eherer AJ, Fordtran JS","doi":"10.1016/0016-5085(92)90845-P","id":"eherer-fordtran-1992","source":"Gastroenterology. 1992;103(2):545-551","title":"Fecal osmotic gap and pH in experimental diarrhea of various causes"},"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":"eherer_fordtran","formula_expression":"osmotic_gap = stool_osm_mosm_kg - 2 * (stool_sodium_mmol_l + stool_potassium_mmol_l)","gap_gt_50":true,"osmotic_gap":80,"stool_osm_mosm_kg":290,"stool_potassium_mmol_l":75,"stool_sodium_mmol_l":30}],"path":"/api/calc/stool_osmotic_gap"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"stool_osm_mosm_kg":{"description":"Measured stool osmolality in mOsm/kg (200-600). When omitted, 290 mOsm/kg is assumed.","type":"number"},"stool_potassium_mmol_l":{"description":"Stool potassium in mmol/L (1-150).","type":"number"},"stool_sodium_mmol_l":{"description":"Stool sodium in mmol/L (1-150).","type":"number"}},"required":["stool_sodium_mmol_l","stool_potassium_mmol_l"],"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},{"id":38792,"slug":"38792","resource":"https://api.magentlab.com/api/calc/stone_score","description":"Moore 2014 STONE score for ED prediction of uncomplicated ureteral stone. Table 3 integer points: sex female 0 male 2; timing gt_24h 0, 6_to_24h 1, lt_6h 3; origin black 0, nonblack 3 (caller-assigned as used in Moore 2014; magent does not assign race); nausea none 0, nausea_alone 1, vomiting 2; hematuria absent 0, present 3. Sum 0-13; 0-5 low, 6-9 moderate, 10-13 high. Not a CT order or stone diagnosis. Not S.T.O.N.E. nephrolithometry.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hematuria":true,"nausea":"vomiting","origin":"nonblack","sex":"male","timing":"lt_6h"},{"hematuria":true,"nausea":"vomiting","origin":"nonblack","sex":"male","timing":"lt_6h"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Moore CL, Bomann S, Daniels B, Luty S, Molinaro A, Singh D, Gross CP","doi":"10.1136/bmj.g2191","id":"moore-2014-stone","pmid":"24671981","source":"BMJ. 2014;348:g2191","title":"Derivation and validation of a clinical prediction rule for uncomplicated ureteral stone—the STONE score: retrospective and prospective observational cohort studies"},"components":[{"factor":"sex","points":2,"present":true,"value":"male"},{"factor":"timing","points":3,"present":true,"value":"lt_6h"},{"factor":"origin","points":3,"present":true,"value":"nonblack"},{"factor":"nausea","points":2,"present":true,"value":"vomiting"},{"factor":"hematuria","points":3,"present":true}],"derivation_stone_percent":89.6,"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":"stone_score","formula_expression":"STONE = sex (female 0, male 2) + timing (gt_24h 0, 6_to_24h 1, lt_6h 3) + origin (black 0, nonblack 3) + nausea (none 0, nausea_alone 1, vomiting 2) + hematuria (absent 0, present 3); Moore 2014 Table 3; sum 0-13; 0-5 low, 6-9 moderate, 10-13 high","hematuria":true,"max_score":13,"nausea":"vomiting","origin":"nonblack","probability":"high","score":13,"sex":"male","timing":"lt_6h"},{"citation":{"authors":"Moore CL, Bomann S, Daniels B, Luty S, Molinaro A, Singh D, Gross CP","doi":"10.1136/bmj.g2191","id":"moore-2014-stone","pmid":"24671981","source":"BMJ. 2014;348:g2191","title":"Derivation and validation of a clinical prediction rule for uncomplicated ureteral stone—the STONE score: retrospective and prospective observational cohort studies"},"components":[{"factor":"sex","points":2,"present":true,"value":"male"},{"factor":"timing","points":3,"present":true,"value":"lt_6h"},{"factor":"origin","points":3,"present":true,"value":"nonblack"},{"factor":"nausea","points":2,"present":true,"value":"vomiting"},{"factor":"hematuria","points":3,"present":true}],"derivation_stone_percent":89.6,"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":"stone_score","formula_expression":"STONE = sex (female 0, male 2) + timing (gt_24h 0, 6_to_24h 1, lt_6h 3) + origin (black 0, nonblack 3) + nausea (none 0, nausea_alone 1, vomiting 2) + hematuria (absent 0, present 3); Moore 2014 Table 3; sum 0-13; 0-5 low, 6-9 moderate, 10-13 high","hematuria":true,"max_score":13,"nausea":"vomiting","origin":"nonblack","probability":"high","score":13,"sex":"male","timing":"lt_6h"}],"path":"/api/calc/stone_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hematuria":{"description":"Caller-assigned erythrocytes / hematuria on urine dipstick (Moore 2014 Table 3). false (absent) scores 0; true (present) scores 3. Binary dipstick as in Table 3, not graded RBC counts. magent does not read a dipstick.","type":"boolean"},"nausea":{"description":"Caller-assigned nausea (Moore 2014 Table 3). none scores 0; nausea_alone scores 1; vomiting scores 2 (Table 3 vomiting alone). If vomiting is present use vomiting even if nausea is also present. magent does not take a history.","enum":["none","nausea_alone","vomiting"],"type":"string"},"origin":{"description":"Caller-assigned origin as used in Moore 2014 Table 3 (Race: Black 0, Non-black 3). black scores 0; nonblack scores 3. magent does not assign race.","enum":["black","nonblack"],"type":"string"},"sex":{"description":"Caller-assigned sex (Moore 2014 Table 3). female scores 0; male scores 2. magent does not assign sex.","enum":["female","male"],"type":"string"},"timing":{"description":"Caller-assigned duration of pain to presentation (Moore 2014 Table 3). gt_24h scores 0; 6_to_24h scores 1; lt_6h scores 3. magent does not timestamp onset.","enum":["gt_24h","6_to_24h","lt_6h"],"type":"string"}},"required":["sex","timing","origin","nausea","hematuria"],"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":["stone-score","ureteral-stone","emergency","urology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:17:32.431Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:17:32.296Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hematuria":true,"nausea":"vomiting","origin":"nonblack","sex":"male","timing":"lt_6h"},{"hematuria":true,"nausea":"vomiting","origin":"nonblack","sex":"male","timing":"lt_6h"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Moore CL, Bomann S, Daniels B, Luty S, Molinaro A, Singh D, Gross CP","doi":"10.1136/bmj.g2191","id":"moore-2014-stone","pmid":"24671981","source":"BMJ. 2014;348:g2191","title":"Derivation and validation of a clinical prediction rule for uncomplicated ureteral stone—the STONE score: retrospective and prospective observational cohort studies"},"components":[{"factor":"sex","points":2,"present":true,"value":"male"},{"factor":"timing","points":3,"present":true,"value":"lt_6h"},{"factor":"origin","points":3,"present":true,"value":"nonblack"},{"factor":"nausea","points":2,"present":true,"value":"vomiting"},{"factor":"hematuria","points":3,"present":true}],"derivation_stone_percent":89.6,"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":"stone_score","formula_expression":"STONE = sex (female 0, male 2) + timing (gt_24h 0, 6_to_24h 1, lt_6h 3) + origin (black 0, nonblack 3) + nausea (none 0, nausea_alone 1, vomiting 2) + hematuria (absent 0, present 3); Moore 2014 Table 3; sum 0-13; 0-5 low, 6-9 moderate, 10-13 high","hematuria":true,"max_score":13,"nausea":"vomiting","origin":"nonblack","probability":"high","score":13,"sex":"male","timing":"lt_6h"},{"citation":{"authors":"Moore CL, Bomann S, Daniels B, Luty S, Molinaro A, Singh D, Gross CP","doi":"10.1136/bmj.g2191","id":"moore-2014-stone","pmid":"24671981","source":"BMJ. 2014;348:g2191","title":"Derivation and validation of a clinical prediction rule for uncomplicated ureteral stone—the STONE score: retrospective and prospective observational cohort studies"},"components":[{"factor":"sex","points":2,"present":true,"value":"male"},{"factor":"timing","points":3,"present":true,"value":"lt_6h"},{"factor":"origin","points":3,"present":true,"value":"nonblack"},{"factor":"nausea","points":2,"present":true,"value":"vomiting"},{"factor":"hematuria","points":3,"present":true}],"derivation_stone_percent":89.6,"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":"stone_score","formula_expression":"STONE = sex (female 0, male 2) + timing (gt_24h 0, 6_to_24h 1, lt_6h 3) + origin (black 0, nonblack 3) + nausea (none 0, nausea_alone 1, vomiting 2) + hematuria (absent 0, present 3); Moore 2014 Table 3; sum 0-13; 0-5 low, 6-9 moderate, 10-13 high","hematuria":true,"max_score":13,"nausea":"vomiting","origin":"nonblack","probability":"high","score":13,"sex":"male","timing":"lt_6h"}],"path":"/api/calc/stone_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hematuria":{"description":"Caller-assigned erythrocytes / hematuria on urine dipstick (Moore 2014 Table 3). false (absent) scores 0; true (present) scores 3. Binary dipstick as in Table 3, not graded RBC counts. magent does not read a dipstick.","type":"boolean"},"nausea":{"description":"Caller-assigned nausea (Moore 2014 Table 3). none scores 0; nausea_alone scores 1; vomiting scores 2 (Table 3 vomiting alone). If vomiting is present use vomiting even if nausea is also present. magent does not take a history.","enum":["none","nausea_alone","vomiting"],"type":"string"},"origin":{"description":"Caller-assigned origin as used in Moore 2014 Table 3 (Race: Black 0, Non-black 3). black scores 0; nonblack scores 3. magent does not assign race.","enum":["black","nonblack"],"type":"string"},"sex":{"description":"Caller-assigned sex (Moore 2014 Table 3). female scores 0; male scores 2. magent does not assign sex.","enum":["female","male"],"type":"string"},"timing":{"description":"Caller-assigned duration of pain to presentation (Moore 2014 Table 3). gt_24h scores 0; 6_to_24h scores 1; lt_6h scores 3. magent does not timestamp onset.","enum":["gt_24h","6_to_24h","lt_6h"],"type":"string"}},"required":["sex","timing","origin","nausea","hematuria"],"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},{"id":38793,"slug":"38793","resource":"https://api.magentlab.com/api/calc/stone_nephrolithometry","description":"Okhunov 2013 STONE nephrolithometry for kidney calculi (PCNL). Caller-assigned published item points: size 0_399 1 / 400_799 2 / 800_1599 3 / ge_1600 4 (mm²); tract le_100 1 / gt_100 2 (skin-to-stone mm); obstruction none_or_mild 1 / moderate_or_severe 2 (hydronephrosis); calyces 1_or_2 1 / 3 2 / staghorn 3; essence le_950 1 / gt_950 2 (HU). Sum 5-13. No published SFR bands. Not the Moore 2014 ureteral STONE score. magent does not measure CT. Not a medical device. Not a PCNL order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"calyces":"1_or_2","essence":"le_950","obstruction":"none_or_mild","size":"0_399","tract":"le_100"},{"calyces":"1_or_2","essence":"le_950","obstruction":"none_or_mild","size":"0_399","tract":"le_100"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"calyces":"1_or_2","citation":{"authors":"Okhunov Z, Friedlander JI, George AK, Duty BD, Moreira DM, Srinivasan AK, Hillelsohn J, Smith AD, Okeke Z","doi":"10.1016/j.urology.2012.10.083","id":"okhunov-2013","pmid":"23540858","source":"Urology. 2013;81(6):1154-1159","title":"S.T.O.N.E. nephrolithometry: novel surgical classification system for kidney calculi"},"components":[{"factor":"size","points":1,"present":true,"value":"0_399"},{"factor":"tract","points":1,"present":true,"value":"le_100"},{"factor":"obstruction","points":1,"present":true,"value":"none_or_mild"},{"factor":"calyces","points":1,"present":true,"value":"1_or_2"},{"factor":"essence","points":1,"present":true,"value":"le_950"}],"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.","essence":"le_950","formula":"stone_nephrolithometry","formula_expression":"STONE = size (0_399 1, 400_799 2, 800_1599 3, ge_1600 4) + tract (le_100 1, gt_100 2) + obstruction (none_or_mild 1, moderate_or_severe 2) + calyces (1_or_2 1, 3 2, staghorn 3) + essence (le_950 1, gt_950 2); Okhunov 2013 STONE nephrolithometry; sum 5-13; no published SFR bands","max_score":13,"obstruction":"none_or_mild","score":5,"size":"0_399","tract":"le_100"},{"calyces":"1_or_2","citation":{"authors":"Okhunov Z, Friedlander JI, George AK, Duty BD, Moreira DM, Srinivasan AK, Hillelsohn J, Smith AD, Okeke Z","doi":"10.1016/j.urology.2012.10.083","id":"okhunov-2013","pmid":"23540858","source":"Urology. 2013;81(6):1154-1159","title":"S.T.O.N.E. nephrolithometry: novel surgical classification system for kidney calculi"},"components":[{"factor":"size","points":1,"present":true,"value":"0_399"},{"factor":"tract","points":1,"present":true,"value":"le_100"},{"factor":"obstruction","points":1,"present":true,"value":"none_or_mild"},{"factor":"calyces","points":1,"present":true,"value":"1_or_2"},{"factor":"essence","points":1,"present":true,"value":"le_950"}],"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.","essence":"le_950","formula":"stone_nephrolithometry","formula_expression":"STONE = size (0_399 1, 400_799 2, 800_1599 3, ge_1600 4) + tract (le_100 1, gt_100 2) + obstruction (none_or_mild 1, moderate_or_severe 2) + calyces (1_or_2 1, 3 2, staghorn 3) + essence (le_950 1, gt_950 2); Okhunov 2013 STONE nephrolithometry; sum 5-13; no published SFR bands","max_score":13,"obstruction":"none_or_mild","score":5,"size":"0_399","tract":"le_100"}],"path":"/api/calc/stone_nephrolithometry"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"calyces":{"description":"Caller-assigned number of involved calyces or staghorn (Okhunov 2013). 1_or_2 scores 1; 3 scores 2; staghorn scores 3. magent does not count calyces or read CT.","enum":["1_or_2","3","staghorn"],"type":"string"},"essence":{"description":"Caller-assigned stone density in Hounsfield units (Okhunov 2013 essence). le_950 (≤950 HU) scores 1; gt_950 (>950 HU) scores 2. magent does not measure HU or CT.","enum":["le_950","gt_950"],"type":"string"},"obstruction":{"description":"Caller-assigned hydronephrosis / obstruction (Okhunov 2013). none_or_mild scores 1; moderate_or_severe scores 2. magent does not measure hydronephrosis or CT.","enum":["none_or_mild","moderate_or_severe"],"type":"string"},"size":{"description":"Caller-assigned stone size in mm² (Okhunov 2013). 0_399 (0–399 mm²) scores 1; 400_799 (400–799 mm²) scores 2; 800_1599 (800–1599 mm²) scores 3; ge_1600 (≥1600 mm²) scores 4. magent does not measure stone size or CT.","enum":["0_399","400_799","800_1599","ge_1600"],"type":"string"},"tract":{"description":"Caller-assigned tract length in mm, skin-to-stone (Okhunov 2013). le_100 (≤100 mm) scores 1; gt_100 (>100 mm) scores 2. magent does not measure tract length or CT.","enum":["le_100","gt_100"],"type":"string"}},"required":["size","tract","obstruction","calyces","essence"],"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":["stone-nephrolithometry","pcnl","kidney","urology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:17:31.059Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:17:30.656Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"calyces":"1_or_2","essence":"le_950","obstruction":"none_or_mild","size":"0_399","tract":"le_100"},{"calyces":"1_or_2","essence":"le_950","obstruction":"none_or_mild","size":"0_399","tract":"le_100"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"calyces":"1_or_2","citation":{"authors":"Okhunov Z, Friedlander JI, George AK, Duty BD, Moreira DM, Srinivasan AK, Hillelsohn J, Smith AD, Okeke Z","doi":"10.1016/j.urology.2012.10.083","id":"okhunov-2013","pmid":"23540858","source":"Urology. 2013;81(6):1154-1159","title":"S.T.O.N.E. nephrolithometry: novel surgical classification system for kidney calculi"},"components":[{"factor":"size","points":1,"present":true,"value":"0_399"},{"factor":"tract","points":1,"present":true,"value":"le_100"},{"factor":"obstruction","points":1,"present":true,"value":"none_or_mild"},{"factor":"calyces","points":1,"present":true,"value":"1_or_2"},{"factor":"essence","points":1,"present":true,"value":"le_950"}],"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.","essence":"le_950","formula":"stone_nephrolithometry","formula_expression":"STONE = size (0_399 1, 400_799 2, 800_1599 3, ge_1600 4) + tract (le_100 1, gt_100 2) + obstruction (none_or_mild 1, moderate_or_severe 2) + calyces (1_or_2 1, 3 2, staghorn 3) + essence (le_950 1, gt_950 2); Okhunov 2013 STONE nephrolithometry; sum 5-13; no published SFR bands","max_score":13,"obstruction":"none_or_mild","score":5,"size":"0_399","tract":"le_100"},{"calyces":"1_or_2","citation":{"authors":"Okhunov Z, Friedlander JI, George AK, Duty BD, Moreira DM, Srinivasan AK, Hillelsohn J, Smith AD, Okeke Z","doi":"10.1016/j.urology.2012.10.083","id":"okhunov-2013","pmid":"23540858","source":"Urology. 2013;81(6):1154-1159","title":"S.T.O.N.E. nephrolithometry: novel surgical classification system for kidney calculi"},"components":[{"factor":"size","points":1,"present":true,"value":"0_399"},{"factor":"tract","points":1,"present":true,"value":"le_100"},{"factor":"obstruction","points":1,"present":true,"value":"none_or_mild"},{"factor":"calyces","points":1,"present":true,"value":"1_or_2"},{"factor":"essence","points":1,"present":true,"value":"le_950"}],"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.","essence":"le_950","formula":"stone_nephrolithometry","formula_expression":"STONE = size (0_399 1, 400_799 2, 800_1599 3, ge_1600 4) + tract (le_100 1, gt_100 2) + obstruction (none_or_mild 1, moderate_or_severe 2) + calyces (1_or_2 1, 3 2, staghorn 3) + essence (le_950 1, gt_950 2); Okhunov 2013 STONE nephrolithometry; sum 5-13; no published SFR bands","max_score":13,"obstruction":"none_or_mild","score":5,"size":"0_399","tract":"le_100"}],"path":"/api/calc/stone_nephrolithometry"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"calyces":{"description":"Caller-assigned number of involved calyces or staghorn (Okhunov 2013). 1_or_2 scores 1; 3 scores 2; staghorn scores 3. magent does not count calyces or read CT.","enum":["1_or_2","3","staghorn"],"type":"string"},"essence":{"description":"Caller-assigned stone density in Hounsfield units (Okhunov 2013 essence). le_950 (≤950 HU) scores 1; gt_950 (>950 HU) scores 2. magent does not measure HU or CT.","enum":["le_950","gt_950"],"type":"string"},"obstruction":{"description":"Caller-assigned hydronephrosis / obstruction (Okhunov 2013). none_or_mild scores 1; moderate_or_severe scores 2. magent does not measure hydronephrosis or CT.","enum":["none_or_mild","moderate_or_severe"],"type":"string"},"size":{"description":"Caller-assigned stone size in mm² (Okhunov 2013). 0_399 (0–399 mm²) scores 1; 400_799 (400–799 mm²) scores 2; 800_1599 (800–1599 mm²) scores 3; ge_1600 (≥1600 mm²) scores 4. magent does not measure stone size or CT.","enum":["0_399","400_799","800_1599","ge_1600"],"type":"string"},"tract":{"description":"Caller-assigned tract length in mm, skin-to-stone (Okhunov 2013). le_100 (≤100 mm) scores 1; gt_100 (>100 mm) scores 2. magent does not measure tract length or CT.","enum":["le_100","gt_100"],"type":"string"}},"required":["size","tract","obstruction","calyces","essence"],"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},{"id":38794,"slug":"38794","resource":"https://api.magentlab.com/api/calc/ssign","description":"Frank 2002 SSIGN (stage, size, grade, necrosis) for clear cell RCC after radical nephrectomy. 1997 TNM: pT1 0, pT2 1, pT3 2, pT4 0; N0/Nx 0, N1/N2 2; M0 0, M1 4; size ≥5 cm 2; nuclear grade 1–2 0, 3 1, 4 3; coagulative necrosis 2; max 15. Returns the published CSS row. Not 2002/2010 TNM. magent does not stage or read pathology. Not a diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fuhrman":1,"m_1997":"m0","n_1997":"n0","necrosis":false,"t_1997":"t1","tumor_size_cm":3},{"fuhrman":1,"m_1997":"m0","n_1997":"n0","necrosis":false,"t_1997":"t1","tumor_size_cm":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Frank I, Blute ML, Cheville JC, Lohse CM, Weaver AL, Zincke H","doi":"10.1016/s0022-5347(05)64153-5","id":"frank-2002","pmid":"12441925","source":"J Urol. 2002;168(6):2395-2400","title":"An outcome prediction model for patients with clear cell renal cell carcinoma treated with radical nephrectomy based on tumor stage, size, grade and necrosis: the SSIGN score"},"components":[{"factor":"t_1997","points":0,"present":true,"value":"t1"},{"factor":"n_1997","points":0,"present":true,"value":"n0"},{"factor":"m_1997","points":0,"present":true,"value":"m0"},{"factor":"tumor_size_cm","points":0,"present":false,"value":3},{"factor":"fuhrman","points":0,"present":true,"value":1},{"factor":"necrosis","points":0,"present":false}],"css_10_year_percent":97.1,"css_1_year_percent":100,"css_3_year_percent":99.7,"css_5_year_percent":99.4,"css_7_year_percent":98.7,"css_band":"0-1","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":"ssign","formula_expression":"SSIGN = t_1997 (t1 0, t2 1, t3/t3a/t3b/t3c 2, t4 0) + n_1997 (n0/nx 0, n1/n2 2) + m_1997 (m0 0, m1 4) + tumor_size_cm >=5 2 + fuhrman (1-2 0, 3 1, 4 3) + necrosis 2; Frank 2002 1997 TNM only; max 15; CSS rows 0-1, 2, 3, 4, 5, 6, 7, 8, 9, ge_10","fuhrman":1,"m_1997":"m0","max_score":15,"n_1997":"n0","necrosis":false,"score":0,"t_1997":"t1","tumor_size_cm":3},{"citation":{"authors":"Frank I, Blute ML, Cheville JC, Lohse CM, Weaver AL, Zincke H","doi":"10.1016/s0022-5347(05)64153-5","id":"frank-2002","pmid":"12441925","source":"J Urol. 2002;168(6):2395-2400","title":"An outcome prediction model for patients with clear cell renal cell carcinoma treated with radical nephrectomy based on tumor stage, size, grade and necrosis: the SSIGN score"},"components":[{"factor":"t_1997","points":0,"present":true,"value":"t1"},{"factor":"n_1997","points":0,"present":true,"value":"n0"},{"factor":"m_1997","points":0,"present":true,"value":"m0"},{"factor":"tumor_size_cm","points":0,"present":false,"value":3},{"factor":"fuhrman","points":0,"present":true,"value":1},{"factor":"necrosis","points":0,"present":false}],"css_10_year_percent":97.1,"css_1_year_percent":100,"css_3_year_percent":99.7,"css_5_year_percent":99.4,"css_7_year_percent":98.7,"css_band":"0-1","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":"ssign","formula_expression":"SSIGN = t_1997 (t1 0, t2 1, t3/t3a/t3b/t3c 2, t4 0) + n_1997 (n0/nx 0, n1/n2 2) + m_1997 (m0 0, m1 4) + tumor_size_cm >=5 2 + fuhrman (1-2 0, 3 1, 4 3) + necrosis 2; Frank 2002 1997 TNM only; max 15; CSS rows 0-1, 2, 3, 4, 5, 6, 7, 8, 9, ge_10","fuhrman":1,"m_1997":"m0","max_score":15,"n_1997":"n0","necrosis":false,"score":0,"t_1997":"t1","tumor_size_cm":3}],"path":"/api/calc/ssign"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fuhrman":{"description":"Nuclear grade 1-4 as assigned by the caller (Frank 2002 SSIGN). 1-2 score 0; 3 scores 1; 4 scores 3. Integer 1-4 only; reject 0, 5, 1.5, and roman I. magent does not read slides.","type":"integer"},"m_1997":{"description":"1997 pathologic M as assigned by the caller (Frank 2002 SSIGN). m0 scores 0; m1 scores 4. magent does not assign M.","enum":["m0","m1"],"type":"string"},"n_1997":{"description":"1997 pathologic N as assigned by the caller (Frank 2002 SSIGN). n0 or nx scores 0; n1 or n2 scores 2. magent does not stage nodes.","enum":["n0","nx","n1","n2"],"type":"string"},"necrosis":{"description":"Coagulative tumor necrosis as assigned by the caller (Frank 2002). true scores 2. magent does not read slides.","type":"boolean"},"t_1997":{"description":"1997 pathologic T as assigned by the caller (Frank 2002 SSIGN). t1 scores 0; t2 scores 1; t3, t3a, t3b, or t3c scores 2; t4 scores 0 (published 1997 weight). Not 2002/2010 T1a/T1b. magent does not stage the tumor.","enum":["t1","t2","t3","t3a","t3b","t3c","t4"],"type":"string"},"tumor_size_cm":{"description":"Maximum tumor size in cm as assigned by the caller (Frank 2002). Unrounded; 5.0 cm or greater scores 2. Magent clamp 0.1-40, not a published range. magent does not measure the tumor.","type":"number"}},"required":["t_1997","n_1997","m_1997","tumor_size_cm","fuhrman","necrosis"],"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":["ssign","rcc","kidney","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:17:29.599Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:17:29.447Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fuhrman":1,"m_1997":"m0","n_1997":"n0","necrosis":false,"t_1997":"t1","tumor_size_cm":3},{"fuhrman":1,"m_1997":"m0","n_1997":"n0","necrosis":false,"t_1997":"t1","tumor_size_cm":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Frank I, Blute ML, Cheville JC, Lohse CM, Weaver AL, Zincke H","doi":"10.1016/s0022-5347(05)64153-5","id":"frank-2002","pmid":"12441925","source":"J Urol. 2002;168(6):2395-2400","title":"An outcome prediction model for patients with clear cell renal cell carcinoma treated with radical nephrectomy based on tumor stage, size, grade and necrosis: the SSIGN score"},"components":[{"factor":"t_1997","points":0,"present":true,"value":"t1"},{"factor":"n_1997","points":0,"present":true,"value":"n0"},{"factor":"m_1997","points":0,"present":true,"value":"m0"},{"factor":"tumor_size_cm","points":0,"present":false,"value":3},{"factor":"fuhrman","points":0,"present":true,"value":1},{"factor":"necrosis","points":0,"present":false}],"css_10_year_percent":97.1,"css_1_year_percent":100,"css_3_year_percent":99.7,"css_5_year_percent":99.4,"css_7_year_percent":98.7,"css_band":"0-1","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":"ssign","formula_expression":"SSIGN = t_1997 (t1 0, t2 1, t3/t3a/t3b/t3c 2, t4 0) + n_1997 (n0/nx 0, n1/n2 2) + m_1997 (m0 0, m1 4) + tumor_size_cm >=5 2 + fuhrman (1-2 0, 3 1, 4 3) + necrosis 2; Frank 2002 1997 TNM only; max 15; CSS rows 0-1, 2, 3, 4, 5, 6, 7, 8, 9, ge_10","fuhrman":1,"m_1997":"m0","max_score":15,"n_1997":"n0","necrosis":false,"score":0,"t_1997":"t1","tumor_size_cm":3},{"citation":{"authors":"Frank I, Blute ML, Cheville JC, Lohse CM, Weaver AL, Zincke H","doi":"10.1016/s0022-5347(05)64153-5","id":"frank-2002","pmid":"12441925","source":"J Urol. 2002;168(6):2395-2400","title":"An outcome prediction model for patients with clear cell renal cell carcinoma treated with radical nephrectomy based on tumor stage, size, grade and necrosis: the SSIGN score"},"components":[{"factor":"t_1997","points":0,"present":true,"value":"t1"},{"factor":"n_1997","points":0,"present":true,"value":"n0"},{"factor":"m_1997","points":0,"present":true,"value":"m0"},{"factor":"tumor_size_cm","points":0,"present":false,"value":3},{"factor":"fuhrman","points":0,"present":true,"value":1},{"factor":"necrosis","points":0,"present":false}],"css_10_year_percent":97.1,"css_1_year_percent":100,"css_3_year_percent":99.7,"css_5_year_percent":99.4,"css_7_year_percent":98.7,"css_band":"0-1","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":"ssign","formula_expression":"SSIGN = t_1997 (t1 0, t2 1, t3/t3a/t3b/t3c 2, t4 0) + n_1997 (n0/nx 0, n1/n2 2) + m_1997 (m0 0, m1 4) + tumor_size_cm >=5 2 + fuhrman (1-2 0, 3 1, 4 3) + necrosis 2; Frank 2002 1997 TNM only; max 15; CSS rows 0-1, 2, 3, 4, 5, 6, 7, 8, 9, ge_10","fuhrman":1,"m_1997":"m0","max_score":15,"n_1997":"n0","necrosis":false,"score":0,"t_1997":"t1","tumor_size_cm":3}],"path":"/api/calc/ssign"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fuhrman":{"description":"Nuclear grade 1-4 as assigned by the caller (Frank 2002 SSIGN). 1-2 score 0; 3 scores 1; 4 scores 3. Integer 1-4 only; reject 0, 5, 1.5, and roman I. magent does not read slides.","type":"integer"},"m_1997":{"description":"1997 pathologic M as assigned by the caller (Frank 2002 SSIGN). m0 scores 0; m1 scores 4. magent does not assign M.","enum":["m0","m1"],"type":"string"},"n_1997":{"description":"1997 pathologic N as assigned by the caller (Frank 2002 SSIGN). n0 or nx scores 0; n1 or n2 scores 2. magent does not stage nodes.","enum":["n0","nx","n1","n2"],"type":"string"},"necrosis":{"description":"Coagulative tumor necrosis as assigned by the caller (Frank 2002). true scores 2. magent does not read slides.","type":"boolean"},"t_1997":{"description":"1997 pathologic T as assigned by the caller (Frank 2002 SSIGN). t1 scores 0; t2 scores 1; t3, t3a, t3b, or t3c scores 2; t4 scores 0 (published 1997 weight). Not 2002/2010 T1a/T1b. magent does not stage the tumor.","enum":["t1","t2","t3","t3a","t3b","t3c","t4"],"type":"string"},"tumor_size_cm":{"description":"Maximum tumor size in cm as assigned by the caller (Frank 2002). Unrounded; 5.0 cm or greater scores 2. Magent clamp 0.1-40, not a published range. magent does not measure the tumor.","type":"number"}},"required":["t_1997","n_1997","m_1997","tumor_size_cm","fuhrman","necrosis"],"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},{"id":38795,"slug":"38795","resource":"https://api.magentlab.com/api/calc/spesi","description":"sPESI (simplified Pulmonary Embolism Severity Index) from Jiménez 2010: 1 point each for age >80, cancer, chronic cardiopulmonary disease (one combined item), heart rate ≥110, systolic BP <100 mm Hg, and SpO2 <90%; max 6. Score 0 is low risk; ≥1 is high risk. Only for already diagnosed acute PE as in the paper. Not a diagnosis, not an outpatient-treatment protocol, and not original PESI classes.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"cancer":false,"chronic_cardiopulmonary_disease":false,"heart_rate_bpm":80,"spo2_percent":96,"systolic_mm_hg":120},{"age":70,"cancer":false,"chronic_cardiopulmonary_disease":false,"heart_rate_bpm":80,"spo2_percent":96,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Jiménez D, Aujesky D, Moores L, et al.","doi":"10.1001/archinternmed.2010.199","id":"jimenez-2010","source":"Arch Intern Med. 2010;170(15):1383-1389","title":"Simplification of the pulmonary embolism severity index for prognostication in patients with acute symptomatic pulmonary embolism"},"components":[{"factor":"age_gt_80","points":0,"present":false,"value":70},{"factor":"cancer","points":0,"present":false},{"factor":"chronic_cardiopulmonary_disease","points":0,"present":false},{"factor":"heart_rate_ge_110","points":0,"present":false,"value":80},{"factor":"systolic_mm_hg_lt_100","points":0,"present":false,"value":120},{"factor":"spo2_lt_90","points":0,"present":false,"value":96}],"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":"spesi","formula_expression":"sPESI = age_gt_80 + cancer + chronic_cardiopulmonary_disease + heart_rate_ge_110 + systolic_mm_hg_lt_100 + spo2_lt_90; each 1 if present; max 6; 0 low, >=1 high","max_score":6,"score":0,"spesi_risk":"low"},{"age_years":70,"citation":{"authors":"Jiménez D, Aujesky D, Moores L, et al.","doi":"10.1001/archinternmed.2010.199","id":"jimenez-2010","source":"Arch Intern Med. 2010;170(15):1383-1389","title":"Simplification of the pulmonary embolism severity index for prognostication in patients with acute symptomatic pulmonary embolism"},"components":[{"factor":"age_gt_80","points":0,"present":false,"value":70},{"factor":"cancer","points":0,"present":false},{"factor":"chronic_cardiopulmonary_disease","points":0,"present":false},{"factor":"heart_rate_ge_110","points":0,"present":false,"value":80},{"factor":"systolic_mm_hg_lt_100","points":0,"present":false,"value":120},{"factor":"spo2_lt_90","points":0,"present":false,"value":96}],"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":"spesi","formula_expression":"sPESI = age_gt_80 + cancer + chronic_cardiopulmonary_disease + heart_rate_ge_110 + systolic_mm_hg_lt_100 + spo2_lt_90; each 1 if present; max 6; 0 low, >=1 high","max_score":6,"score":0,"spesi_risk":"low"}],"path":"/api/calc/spesi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Scores 1 when age >80; 80 does not score.","type":"integer"},"cancer":{"description":"Active cancer as assigned by the caller. true or false. 1 point if true.","type":"boolean"},"chronic_cardiopulmonary_disease":{"description":"Chronic cardiopulmonary disease as one combined flag (heart failure and chronic lung disease were combined in Jiménez 2010). true or false. 1 point if true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 1 when ≥110; 109 does not score.","type":"integer"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Scores 1 when <90; 90 does not score.","type":"number"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Scores 1 when <100; 100 does not score.","type":"number"}},"required":["age","cancer","chronic_cardiopulmonary_disease","heart_rate_bpm","systolic_mm_hg","spo2_percent"],"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":["spesi","pe","vte","severity","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:12:32.756Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:12:32.62Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"cancer":false,"chronic_cardiopulmonary_disease":false,"heart_rate_bpm":80,"spo2_percent":96,"systolic_mm_hg":120},{"age":70,"cancer":false,"chronic_cardiopulmonary_disease":false,"heart_rate_bpm":80,"spo2_percent":96,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Jiménez D, Aujesky D, Moores L, et al.","doi":"10.1001/archinternmed.2010.199","id":"jimenez-2010","source":"Arch Intern Med. 2010;170(15):1383-1389","title":"Simplification of the pulmonary embolism severity index for prognostication in patients with acute symptomatic pulmonary embolism"},"components":[{"factor":"age_gt_80","points":0,"present":false,"value":70},{"factor":"cancer","points":0,"present":false},{"factor":"chronic_cardiopulmonary_disease","points":0,"present":false},{"factor":"heart_rate_ge_110","points":0,"present":false,"value":80},{"factor":"systolic_mm_hg_lt_100","points":0,"present":false,"value":120},{"factor":"spo2_lt_90","points":0,"present":false,"value":96}],"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":"spesi","formula_expression":"sPESI = age_gt_80 + cancer + chronic_cardiopulmonary_disease + heart_rate_ge_110 + systolic_mm_hg_lt_100 + spo2_lt_90; each 1 if present; max 6; 0 low, >=1 high","max_score":6,"score":0,"spesi_risk":"low"},{"age_years":70,"citation":{"authors":"Jiménez D, Aujesky D, Moores L, et al.","doi":"10.1001/archinternmed.2010.199","id":"jimenez-2010","source":"Arch Intern Med. 2010;170(15):1383-1389","title":"Simplification of the pulmonary embolism severity index for prognostication in patients with acute symptomatic pulmonary embolism"},"components":[{"factor":"age_gt_80","points":0,"present":false,"value":70},{"factor":"cancer","points":0,"present":false},{"factor":"chronic_cardiopulmonary_disease","points":0,"present":false},{"factor":"heart_rate_ge_110","points":0,"present":false,"value":80},{"factor":"systolic_mm_hg_lt_100","points":0,"present":false,"value":120},{"factor":"spo2_lt_90","points":0,"present":false,"value":96}],"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":"spesi","formula_expression":"sPESI = age_gt_80 + cancer + chronic_cardiopulmonary_disease + heart_rate_ge_110 + systolic_mm_hg_lt_100 + spo2_lt_90; each 1 if present; max 6; 0 low, >=1 high","max_score":6,"score":0,"spesi_risk":"low"}],"path":"/api/calc/spesi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Scores 1 when age >80; 80 does not score.","type":"integer"},"cancer":{"description":"Active cancer as assigned by the caller. true or false. 1 point if true.","type":"boolean"},"chronic_cardiopulmonary_disease":{"description":"Chronic cardiopulmonary disease as one combined flag (heart failure and chronic lung disease were combined in Jiménez 2010). true or false. 1 point if true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 1 when ≥110; 109 does not score.","type":"integer"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Scores 1 when <90; 90 does not score.","type":"number"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Scores 1 when <100; 100 does not score.","type":"number"}},"required":["age","cancer","chronic_cardiopulmonary_disease","heart_rate_bpm","systolic_mm_hg","spo2_percent"],"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},{"id":38796,"slug":"38796","resource":"https://api.magentlab.com/api/calc/sofa","description":"SOFA (Sepsis-related Organ Failure Assessment) from Vincent 1996 Table 3: six organs 0-4, max 24, from PaO2/FiO2 with a ventilation gate, platelets, bilirubin, MAP and adrenergic agents, caller-assigned GCS, and creatinine or urine output. Deterministic published score with citation; not a Sepsis-3 diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bilirubin_mg_dl":0.8,"bilirubin_umol_l":17.1,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"dobutamine":false,"dopamine_ug_kg_min":0,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"norepinephrine_ug_kg_min":0,"pao2_mm_hg":96,"platelets_10e9_l":200,"urine_output_ml_day":1500,"ventilated":false},{"bilirubin_mg_dl":0.8,"bilirubin_umol_l":17.1,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"dobutamine":false,"dopamine_ug_kg_min":0,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"norepinephrine_ug_kg_min":0,"pao2_mm_hg":96,"platelets_10e9_l":200,"urine_output_ml_day":1500,"ventilated":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Vincent JL, Moreno R, Takala J, Willatts S, De Mendonça A, Bruining H, Reinhart CK, Suter PM, Thijs LG","doi":"10.1007/BF01709751","id":"vincent-1996","source":"Intensive Care Med. 1996;22(7):707-710","title":"The SOFA (Sepsis-related Organ Failure Assessment) score to describe organ dysfunction/failure"},"components":[{"factor":"respiration","points":0,"present":false,"value":457.14285714285717},{"factor":"coagulation","points":0,"present":false,"value":200},{"factor":"liver","points":0,"present":false,"value":0.8},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"cns","points":0,"present":false,"value":15},{"factor":"renal","points":0,"present":false,"value":1}],"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":"sofa","formula_expression":"SOFA = respiration + coagulation + liver + cardiovascular + cns + renal; each 0-4; max 24","max_score":24,"score":0},{"citation":{"authors":"Vincent JL, Moreno R, Takala J, Willatts S, De Mendonça A, Bruining H, Reinhart CK, Suter PM, Thijs LG","doi":"10.1007/BF01709751","id":"vincent-1996","source":"Intensive Care Med. 1996;22(7):707-710","title":"The SOFA (Sepsis-related Organ Failure Assessment) score to describe organ dysfunction/failure"},"components":[{"factor":"respiration","points":0,"present":false,"value":457.14285714285717},{"factor":"coagulation","points":0,"present":false,"value":200},{"factor":"liver","points":0,"present":false,"value":0.8},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"cns","points":0,"present":false,"value":15},{"factor":"renal","points":0,"present":false,"value":1}],"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":"sofa","formula_expression":"SOFA = respiration + coagulation + liver + cardiovascular + cns + renal; each 0-4; max 24","max_score":24,"score":0}],"path":"/api/calc/sofa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. <1.2 scores 0; 1.2-1.9 scores 1; 2.0-5.9 scores 2; 6.0-11.9 scores 3; >12.0 scores 4.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Creatinine in mg/dL (0.1-20). Provide this, creatinine_umol_l, or urine_output_ml_day. <1.2 scores 0; 1.2-1.9 scores 1; 2.0-3.4 scores 2; 3.5-4.9 scores 3; ≥5.0 scores 4.","type":"number"},"creatinine_umol_l":{"description":"Creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.","type":"number"},"dobutamine":{"description":"Any dobutamine. true or false when provided; absent is false. true scores cardiovascular 2 unless a higher band applies.","type":"boolean"},"dopamine_ug_kg_min":{"description":"Dopamine in µg/kg·min (0-50) when provided. Absent is 0. 0 < dose ≤5 scores 2; >5 scores 3; >15 scores 4.","type":"number"},"epinephrine_ug_kg_min":{"description":"Epinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4.","type":"number"},"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent.","type":"number"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15). 15 scores 0; 13-14 scores 1; 10-12 scores 2; 6-9 scores 3; <6 scores 4.","type":"integer"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (30-180). MAP <70 scores 1 unless a higher cardiovascular band applies.","type":"number"},"norepinephrine_ug_kg_min":{"description":"Norepinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4.","type":"number"},"pao2_mm_hg":{"description":"Arterial PaO2 in mm Hg (20-700). Respiration uses PaO2/FiO2: ≥400 scores 0; <400 scores 1; <300 scores 2; <200 with ventilation scores 3; <100 with ventilation scores 4.","type":"number"},"platelets_10e9_l":{"description":"Platelets ×10^9/L, same as ×10^3/mm^3 (1-2000). ≥150 scores 0; <150 scores 1; <100 scores 2; <50 scores 3; <20 scores 4.","type":"number"},"urine_output_ml_day":{"description":"Urine output in mL/day (0-20000) when provided. <200 scores 4; <500 scores 3; otherwise urine does not add 1-2. Renal is the max of creatinine and urine when both are given.","type":"number"},"ventilated":{"description":"Respiratory support (Vincent 1996). true or false. Scores 3 and 4 require ventilation; unventilated PaO2/FiO2 <200 is capped at 2.","type":"boolean"}},"required":["pao2_mm_hg","fio2","ventilated","platelets_10e9_l","map_mm_hg","gcs"],"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":["sofa","sepsis","organ-failure","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:12:30.647Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:12:30.485Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bilirubin_mg_dl":0.8,"bilirubin_umol_l":17.1,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"dobutamine":false,"dopamine_ug_kg_min":0,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"norepinephrine_ug_kg_min":0,"pao2_mm_hg":96,"platelets_10e9_l":200,"urine_output_ml_day":1500,"ventilated":false},{"bilirubin_mg_dl":0.8,"bilirubin_umol_l":17.1,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"dobutamine":false,"dopamine_ug_kg_min":0,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"norepinephrine_ug_kg_min":0,"pao2_mm_hg":96,"platelets_10e9_l":200,"urine_output_ml_day":1500,"ventilated":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Vincent JL, Moreno R, Takala J, Willatts S, De Mendonça A, Bruining H, Reinhart CK, Suter PM, Thijs LG","doi":"10.1007/BF01709751","id":"vincent-1996","source":"Intensive Care Med. 1996;22(7):707-710","title":"The SOFA (Sepsis-related Organ Failure Assessment) score to describe organ dysfunction/failure"},"components":[{"factor":"respiration","points":0,"present":false,"value":457.14285714285717},{"factor":"coagulation","points":0,"present":false,"value":200},{"factor":"liver","points":0,"present":false,"value":0.8},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"cns","points":0,"present":false,"value":15},{"factor":"renal","points":0,"present":false,"value":1}],"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":"sofa","formula_expression":"SOFA = respiration + coagulation + liver + cardiovascular + cns + renal; each 0-4; max 24","max_score":24,"score":0},{"citation":{"authors":"Vincent JL, Moreno R, Takala J, Willatts S, De Mendonça A, Bruining H, Reinhart CK, Suter PM, Thijs LG","doi":"10.1007/BF01709751","id":"vincent-1996","source":"Intensive Care Med. 1996;22(7):707-710","title":"The SOFA (Sepsis-related Organ Failure Assessment) score to describe organ dysfunction/failure"},"components":[{"factor":"respiration","points":0,"present":false,"value":457.14285714285717},{"factor":"coagulation","points":0,"present":false,"value":200},{"factor":"liver","points":0,"present":false,"value":0.8},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"cns","points":0,"present":false,"value":15},{"factor":"renal","points":0,"present":false,"value":1}],"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":"sofa","formula_expression":"SOFA = respiration + coagulation + liver + cardiovascular + cns + renal; each 0-4; max 24","max_score":24,"score":0}],"path":"/api/calc/sofa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. <1.2 scores 0; 1.2-1.9 scores 1; 2.0-5.9 scores 2; 6.0-11.9 scores 3; >12.0 scores 4.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Creatinine in mg/dL (0.1-20). Provide this, creatinine_umol_l, or urine_output_ml_day. <1.2 scores 0; 1.2-1.9 scores 1; 2.0-3.4 scores 2; 3.5-4.9 scores 3; ≥5.0 scores 4.","type":"number"},"creatinine_umol_l":{"description":"Creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.","type":"number"},"dobutamine":{"description":"Any dobutamine. true or false when provided; absent is false. true scores cardiovascular 2 unless a higher band applies.","type":"boolean"},"dopamine_ug_kg_min":{"description":"Dopamine in µg/kg·min (0-50) when provided. Absent is 0. 0 < dose ≤5 scores 2; >5 scores 3; >15 scores 4.","type":"number"},"epinephrine_ug_kg_min":{"description":"Epinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4.","type":"number"},"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent.","type":"number"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15). 15 scores 0; 13-14 scores 1; 10-12 scores 2; 6-9 scores 3; <6 scores 4.","type":"integer"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (30-180). MAP <70 scores 1 unless a higher cardiovascular band applies.","type":"number"},"norepinephrine_ug_kg_min":{"description":"Norepinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4.","type":"number"},"pao2_mm_hg":{"description":"Arterial PaO2 in mm Hg (20-700). Respiration uses PaO2/FiO2: ≥400 scores 0; <400 scores 1; <300 scores 2; <200 with ventilation scores 3; <100 with ventilation scores 4.","type":"number"},"platelets_10e9_l":{"description":"Platelets ×10^9/L, same as ×10^3/mm^3 (1-2000). ≥150 scores 0; <150 scores 1; <100 scores 2; <50 scores 3; <20 scores 4.","type":"number"},"urine_output_ml_day":{"description":"Urine output in mL/day (0-20000) when provided. <200 scores 4; <500 scores 3; otherwise urine does not add 1-2. Renal is the max of creatinine and urine when both are given.","type":"number"},"ventilated":{"description":"Respiratory support (Vincent 1996). true or false. Scores 3 and 4 require ventilation; unventilated PaO2/FiO2 <200 is capped at 2.","type":"boolean"}},"required":["pao2_mm_hg","fio2","ventilated","platelets_10e9_l","map_mm_hg","gcs"],"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},{"id":38797,"slug":"38797","resource":"https://api.magentlab.com/api/calc/sms","description":"Gill 2005 Simplified Motor Score (SMS) from one caller-assigned motor category: obeys (2, obeys commands), localizes (1, localizes pain), or withdrawal_or_less (0, withdrawal to pain or less). Companion to GCS, not a replacement protocol and not a triage or intubation order. magent does not examine the patient. Deterministic published score with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"motor":"obeys"},{"motor":"obeys"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gill M, Windemuth R, Steele R, Green SM","doi":"10.1016/j.annemergmed.2004.07.429","id":"gill-2005","pmid":"15635308","source":"Ann Emerg Med. 2005;45(1):37-42","title":"A comparison of the Glasgow Coma Scale score to simplified alternative scores for the prediction of traumatic brain injury outcomes"},"components":[{"factor":"motor","points":2,"present":true,"value":"obeys"}],"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":"sms","formula_expression":"SMS = 2 if motor=obeys (obeys commands), 1 if motor=localizes (localizes pain), 0 if motor=withdrawal_or_less (withdrawal to pain or less); Gill 2005 Simplified Motor Score; max 2","max_score":2,"motor":"obeys","score":2},{"citation":{"authors":"Gill M, Windemuth R, Steele R, Green SM","doi":"10.1016/j.annemergmed.2004.07.429","id":"gill-2005","pmid":"15635308","source":"Ann Emerg Med. 2005;45(1):37-42","title":"A comparison of the Glasgow Coma Scale score to simplified alternative scores for the prediction of traumatic brain injury outcomes"},"components":[{"factor":"motor","points":2,"present":true,"value":"obeys"}],"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":"sms","formula_expression":"SMS = 2 if motor=obeys (obeys commands), 1 if motor=localizes (localizes pain), 0 if motor=withdrawal_or_less (withdrawal to pain or less); Gill 2005 Simplified Motor Score; max 2","max_score":2,"motor":"obeys","score":2}],"path":"/api/calc/sms"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"motor":{"description":"Gill 2005 Simplified Motor Score motor category as assigned by the caller. obeys (2, obeys commands), localizes (1, localizes pain), or withdrawal_or_less (0, withdrawal to pain or less). magent does not examine the patient.","enum":["obeys","localizes","withdrawal_or_less"],"type":"string"}},"required":["motor"],"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":["sms","trauma","tbi","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:12:29.057Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:12:28.77Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"motor":"obeys"},{"motor":"obeys"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gill M, Windemuth R, Steele R, Green SM","doi":"10.1016/j.annemergmed.2004.07.429","id":"gill-2005","pmid":"15635308","source":"Ann Emerg Med. 2005;45(1):37-42","title":"A comparison of the Glasgow Coma Scale score to simplified alternative scores for the prediction of traumatic brain injury outcomes"},"components":[{"factor":"motor","points":2,"present":true,"value":"obeys"}],"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":"sms","formula_expression":"SMS = 2 if motor=obeys (obeys commands), 1 if motor=localizes (localizes pain), 0 if motor=withdrawal_or_less (withdrawal to pain or less); Gill 2005 Simplified Motor Score; max 2","max_score":2,"motor":"obeys","score":2},{"citation":{"authors":"Gill M, Windemuth R, Steele R, Green SM","doi":"10.1016/j.annemergmed.2004.07.429","id":"gill-2005","pmid":"15635308","source":"Ann Emerg Med. 2005;45(1):37-42","title":"A comparison of the Glasgow Coma Scale score to simplified alternative scores for the prediction of traumatic brain injury outcomes"},"components":[{"factor":"motor","points":2,"present":true,"value":"obeys"}],"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":"sms","formula_expression":"SMS = 2 if motor=obeys (obeys commands), 1 if motor=localizes (localizes pain), 0 if motor=withdrawal_or_less (withdrawal to pain or less); Gill 2005 Simplified Motor Score; max 2","max_score":2,"motor":"obeys","score":2}],"path":"/api/calc/sms"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"motor":{"description":"Gill 2005 Simplified Motor Score motor category as assigned by the caller. obeys (2, obeys commands), localizes (1, localizes pain), or withdrawal_or_less (0, withdrawal to pain or less). magent does not examine the patient.","enum":["obeys","localizes","withdrawal_or_less"],"type":"string"}},"required":["motor"],"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},{"id":38798,"slug":"38798","resource":"https://api.magentlab.com/api/calc/smast","description":"Selzer 1975 13-item Short Michigan Alcoholism Screening Test (SMAST). Caller-assigned yes/no items; score is the count of answers in the alcoholic direction using that paper's key (feel_normal_drinker, friends_think_normal_drinker, and able_to_stop score 1 if false; the other ten score 1 if true), max 13. Bands 0-1 nonalcoholic, 2 possible, ≥3 alcoholic. Not a diagnosis, not the 25-item MAST, not Pokorny 1972 Brief MAST, and not SMAST-G. magent does not interview the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"able_to_stop":true,"arrested_drunk_driving":false,"arrested_drunken_behavior":false,"attended_aa":false,"drinking_created_problems":false,"feel_guilty":false,"feel_normal_drinker":true,"friends_think_normal_drinker":true,"gone_for_help":false,"hospital_because_of_drinking":false,"neglected_obligations":false,"relative_worry_or_complain":false,"trouble_at_work":false},{"able_to_stop":true,"arrested_drunk_driving":false,"arrested_drunken_behavior":false,"attended_aa":false,"drinking_created_problems":false,"feel_guilty":false,"feel_normal_drinker":true,"friends_think_normal_drinker":true,"gone_for_help":false,"hospital_because_of_drinking":false,"neglected_obligations":false,"relative_worry_or_complain":false,"trouble_at_work":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"nonalcoholic","citation":{"authors":"Selzer ML, Vinokur A, van Rooijen L","doi":"10.15288/jsa.1975.36.117","id":"selzer-1975","pmid":"238068","source":"J Stud Alcohol. 1975;36(1):117-126","title":"A self-administered Short Michigan Alcoholism Screening Test (SMAST)"},"components":[{"factor":"feel_normal_drinker","points":0,"present":false},{"factor":"relative_worry_or_complain","points":0,"present":false},{"factor":"feel_guilty","points":0,"present":false},{"factor":"friends_think_normal_drinker","points":0,"present":false},{"factor":"able_to_stop","points":0,"present":false},{"factor":"attended_aa","points":0,"present":false},{"factor":"drinking_created_problems","points":0,"present":false},{"factor":"trouble_at_work","points":0,"present":false},{"factor":"neglected_obligations","points":0,"present":false},{"factor":"gone_for_help","points":0,"present":false},{"factor":"hospital_because_of_drinking","points":0,"present":false},{"factor":"arrested_drunk_driving","points":0,"present":false},{"factor":"arrested_drunken_behavior","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":"smast","formula_expression":"SMAST = (1 if not feel_normal_drinker) + relative_worry_or_complain + feel_guilty + (1 if not friends_think_normal_drinker) + (1 if not able_to_stop) + attended_aa + drinking_created_problems + trouble_at_work + neglected_obligations + gone_for_help + hospital_because_of_drinking + arrested_drunk_driving + arrested_drunken_behavior; each 1 in the Selzer 1975 alcoholic direction; max 13","max_score":13,"score":0},{"band":"nonalcoholic","citation":{"authors":"Selzer ML, Vinokur A, van Rooijen L","doi":"10.15288/jsa.1975.36.117","id":"selzer-1975","pmid":"238068","source":"J Stud Alcohol. 1975;36(1):117-126","title":"A self-administered Short Michigan Alcoholism Screening Test (SMAST)"},"components":[{"factor":"feel_normal_drinker","points":0,"present":false},{"factor":"relative_worry_or_complain","points":0,"present":false},{"factor":"feel_guilty","points":0,"present":false},{"factor":"friends_think_normal_drinker","points":0,"present":false},{"factor":"able_to_stop","points":0,"present":false},{"factor":"attended_aa","points":0,"present":false},{"factor":"drinking_created_problems","points":0,"present":false},{"factor":"trouble_at_work","points":0,"present":false},{"factor":"neglected_obligations","points":0,"present":false},{"factor":"gone_for_help","points":0,"present":false},{"factor":"hospital_because_of_drinking","points":0,"present":false},{"factor":"arrested_drunk_driving","points":0,"present":false},{"factor":"arrested_drunken_behavior","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":"smast","formula_expression":"SMAST = (1 if not feel_normal_drinker) + relative_worry_or_complain + feel_guilty + (1 if not friends_think_normal_drinker) + (1 if not able_to_stop) + attended_aa + drinking_created_problems + trouble_at_work + neglected_obligations + gone_for_help + hospital_because_of_drinking + arrested_drunk_driving + arrested_drunken_behavior; each 1 in the Selzer 1975 alcoholic direction; max 13","max_score":13,"score":0}],"path":"/api/calc/smast"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"able_to_stop":{"description":"Are you able to stop drinking when you want to? (Selzer 1975 SMAST item 5). true or false as assigned by the caller. false is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"arrested_drunk_driving":{"description":"Have you ever been arrested for drunk driving, driving while intoxicated, or driving after drinking? (Selzer 1975 SMAST item 12). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"arrested_drunken_behavior":{"description":"Have you ever been arrested, even for a few hours, because of drunken behavior? (Selzer 1975 SMAST item 13). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"attended_aa":{"description":"Have you ever attended a meeting of Alcoholics Anonymous? (Selzer 1975 SMAST item 6). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"drinking_created_problems":{"description":"Has drinking ever created problems between you and your wife, husband, a parent, or other near relative? (Selzer 1975 SMAST item 7). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"feel_guilty":{"description":"Do you ever feel guilty about your drinking? (Selzer 1975 SMAST item 3). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"feel_normal_drinker":{"description":"Do you feel you are a normal drinker? (By normal we mean you drink less than or as much as most other people.) (Selzer 1975 SMAST item 1). true or false as assigned by the caller. false is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"friends_think_normal_drinker":{"description":"Do friends or relatives think you are a normal drinker? (Selzer 1975 SMAST item 4). true or false as assigned by the caller. false is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"gone_for_help":{"description":"Have you ever gone to anyone for help about your drinking? (Selzer 1975 SMAST item 10). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"hospital_because_of_drinking":{"description":"Have you ever been in a hospital because of drinking? (Selzer 1975 SMAST item 11). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"neglected_obligations":{"description":"Have you ever neglected your obligations, your family, or your work for two or more days in a row because you were drinking? (Selzer 1975 SMAST item 9). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"relative_worry_or_complain":{"description":"Does your wife, husband, a parent, or other near relative ever worry or complain about your drinking? (Selzer 1975 SMAST item 2). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"trouble_at_work":{"description":"Have you ever gotten into trouble at work because of drinking? (Selzer 1975 SMAST item 8). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"}},"required":["feel_normal_drinker","relative_worry_or_complain","feel_guilty","friends_think_normal_drinker","able_to_stop","attended_aa","drinking_created_problems","trouble_at_work","neglected_obligations","gone_for_help","hospital_because_of_drinking","arrested_drunk_driving","arrested_drunken_behavior"],"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":["smast","alcohol","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:07:19.713Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:07:19.519Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"able_to_stop":true,"arrested_drunk_driving":false,"arrested_drunken_behavior":false,"attended_aa":false,"drinking_created_problems":false,"feel_guilty":false,"feel_normal_drinker":true,"friends_think_normal_drinker":true,"gone_for_help":false,"hospital_because_of_drinking":false,"neglected_obligations":false,"relative_worry_or_complain":false,"trouble_at_work":false},{"able_to_stop":true,"arrested_drunk_driving":false,"arrested_drunken_behavior":false,"attended_aa":false,"drinking_created_problems":false,"feel_guilty":false,"feel_normal_drinker":true,"friends_think_normal_drinker":true,"gone_for_help":false,"hospital_because_of_drinking":false,"neglected_obligations":false,"relative_worry_or_complain":false,"trouble_at_work":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"nonalcoholic","citation":{"authors":"Selzer ML, Vinokur A, van Rooijen L","doi":"10.15288/jsa.1975.36.117","id":"selzer-1975","pmid":"238068","source":"J Stud Alcohol. 1975;36(1):117-126","title":"A self-administered Short Michigan Alcoholism Screening Test (SMAST)"},"components":[{"factor":"feel_normal_drinker","points":0,"present":false},{"factor":"relative_worry_or_complain","points":0,"present":false},{"factor":"feel_guilty","points":0,"present":false},{"factor":"friends_think_normal_drinker","points":0,"present":false},{"factor":"able_to_stop","points":0,"present":false},{"factor":"attended_aa","points":0,"present":false},{"factor":"drinking_created_problems","points":0,"present":false},{"factor":"trouble_at_work","points":0,"present":false},{"factor":"neglected_obligations","points":0,"present":false},{"factor":"gone_for_help","points":0,"present":false},{"factor":"hospital_because_of_drinking","points":0,"present":false},{"factor":"arrested_drunk_driving","points":0,"present":false},{"factor":"arrested_drunken_behavior","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":"smast","formula_expression":"SMAST = (1 if not feel_normal_drinker) + relative_worry_or_complain + feel_guilty + (1 if not friends_think_normal_drinker) + (1 if not able_to_stop) + attended_aa + drinking_created_problems + trouble_at_work + neglected_obligations + gone_for_help + hospital_because_of_drinking + arrested_drunk_driving + arrested_drunken_behavior; each 1 in the Selzer 1975 alcoholic direction; max 13","max_score":13,"score":0},{"band":"nonalcoholic","citation":{"authors":"Selzer ML, Vinokur A, van Rooijen L","doi":"10.15288/jsa.1975.36.117","id":"selzer-1975","pmid":"238068","source":"J Stud Alcohol. 1975;36(1):117-126","title":"A self-administered Short Michigan Alcoholism Screening Test (SMAST)"},"components":[{"factor":"feel_normal_drinker","points":0,"present":false},{"factor":"relative_worry_or_complain","points":0,"present":false},{"factor":"feel_guilty","points":0,"present":false},{"factor":"friends_think_normal_drinker","points":0,"present":false},{"factor":"able_to_stop","points":0,"present":false},{"factor":"attended_aa","points":0,"present":false},{"factor":"drinking_created_problems","points":0,"present":false},{"factor":"trouble_at_work","points":0,"present":false},{"factor":"neglected_obligations","points":0,"present":false},{"factor":"gone_for_help","points":0,"present":false},{"factor":"hospital_because_of_drinking","points":0,"present":false},{"factor":"arrested_drunk_driving","points":0,"present":false},{"factor":"arrested_drunken_behavior","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":"smast","formula_expression":"SMAST = (1 if not feel_normal_drinker) + relative_worry_or_complain + feel_guilty + (1 if not friends_think_normal_drinker) + (1 if not able_to_stop) + attended_aa + drinking_created_problems + trouble_at_work + neglected_obligations + gone_for_help + hospital_because_of_drinking + arrested_drunk_driving + arrested_drunken_behavior; each 1 in the Selzer 1975 alcoholic direction; max 13","max_score":13,"score":0}],"path":"/api/calc/smast"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"able_to_stop":{"description":"Are you able to stop drinking when you want to? (Selzer 1975 SMAST item 5). true or false as assigned by the caller. false is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"arrested_drunk_driving":{"description":"Have you ever been arrested for drunk driving, driving while intoxicated, or driving after drinking? (Selzer 1975 SMAST item 12). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"arrested_drunken_behavior":{"description":"Have you ever been arrested, even for a few hours, because of drunken behavior? (Selzer 1975 SMAST item 13). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"attended_aa":{"description":"Have you ever attended a meeting of Alcoholics Anonymous? (Selzer 1975 SMAST item 6). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"drinking_created_problems":{"description":"Has drinking ever created problems between you and your wife, husband, a parent, or other near relative? (Selzer 1975 SMAST item 7). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"feel_guilty":{"description":"Do you ever feel guilty about your drinking? (Selzer 1975 SMAST item 3). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"feel_normal_drinker":{"description":"Do you feel you are a normal drinker? (By normal we mean you drink less than or as much as most other people.) (Selzer 1975 SMAST item 1). true or false as assigned by the caller. false is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"friends_think_normal_drinker":{"description":"Do friends or relatives think you are a normal drinker? (Selzer 1975 SMAST item 4). true or false as assigned by the caller. false is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"gone_for_help":{"description":"Have you ever gone to anyone for help about your drinking? (Selzer 1975 SMAST item 10). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"hospital_because_of_drinking":{"description":"Have you ever been in a hospital because of drinking? (Selzer 1975 SMAST item 11). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"neglected_obligations":{"description":"Have you ever neglected your obligations, your family, or your work for two or more days in a row because you were drinking? (Selzer 1975 SMAST item 9). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"relative_worry_or_complain":{"description":"Does your wife, husband, a parent, or other near relative ever worry or complain about your drinking? (Selzer 1975 SMAST item 2). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"trouble_at_work":{"description":"Have you ever gotten into trouble at work because of drinking? (Selzer 1975 SMAST item 8). true or false as assigned by the caller. true is the alcoholic-direction answer and scores 1. magent does not interview the patient.","type":"boolean"}},"required":["feel_normal_drinker","relative_worry_or_complain","feel_guilty","friends_think_normal_drinker","able_to_stop","attended_aa","drinking_created_problems","trouble_at_work","neglected_obligations","gone_for_help","hospital_because_of_drinking","arrested_drunk_driving","arrested_drunken_behavior"],"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},{"id":38799,"slug":"38799","resource":"https://api.magentlab.com/api/calc/slics","description":"Vaccaro 2007 SLICS: morphology none 0 / compression 1 / burst 2 / distraction 3 / rotation_translation 4 (single most severe) + dlc intact 0 / indeterminate 1 / disrupted 2 + neuro intact 0 / root 1 / complete 2 / incomplete 3 + continuous_cord_compression +1 only with a deficit. Max 10. Bands 0-3 / 4 / >=5 treatment guidance. Not a surgical order. Not TLICS (thoracolumbar). Not AO spine. Not SINS. magent does not read imaging. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"continuous_cord_compression":false,"dlc":"intact","morphology":"none","neuro":"intact"},{"continuous_cord_compression":false,"dlc":"intact","morphology":"none","neuro":"intact"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Vaccaro AR, Hulbert RJ, Patel AA, et al.","doi":"10.1097/brs.0b013e3181557b92","id":"vaccaro-2007","pmid":"17906580","source":"Spine (Phila Pa 1976). 2007;32(21):2365-2374","title":"The subaxial cervical spine injury classification system: a novel approach to recognize the importance of morphology, neurology, and integrity of the disco-ligamentous complex."},"components":[{"factor":"morphology","points":0,"present":true,"value":"none"},{"factor":"dlc","points":0,"present":true,"value":"intact"},{"factor":"neuro","points":0,"present":true,"value":"intact"},{"factor":"continuous_cord_compression","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":"slics","formula_expression":"SLICS = morphology (none 0, compression 1, burst 2, distraction 3, rotation_translation 4) + dlc (intact 0, indeterminate 1, disrupted 2) + neuro (intact 0, root 1, complete 2, incomplete 3) + continuous_cord_compression (+1 only when neuro is not intact); Vaccaro 2007; max 10; caller assigns the single most severe morphology; bands 0-3 / 4 / ge_5","max_score":10,"score":0,"slics_band":"0-3"},{"citation":{"authors":"Vaccaro AR, Hulbert RJ, Patel AA, et al.","doi":"10.1097/brs.0b013e3181557b92","id":"vaccaro-2007","pmid":"17906580","source":"Spine (Phila Pa 1976). 2007;32(21):2365-2374","title":"The subaxial cervical spine injury classification system: a novel approach to recognize the importance of morphology, neurology, and integrity of the disco-ligamentous complex."},"components":[{"factor":"morphology","points":0,"present":true,"value":"none"},{"factor":"dlc","points":0,"present":true,"value":"intact"},{"factor":"neuro","points":0,"present":true,"value":"intact"},{"factor":"continuous_cord_compression","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":"slics","formula_expression":"SLICS = morphology (none 0, compression 1, burst 2, distraction 3, rotation_translation 4) + dlc (intact 0, indeterminate 1, disrupted 2) + neuro (intact 0, root 1, complete 2, incomplete 3) + continuous_cord_compression (+1 only when neuro is not intact); Vaccaro 2007; max 10; caller assigns the single most severe morphology; bands 0-3 / 4 / ge_5","max_score":10,"score":0,"slics_band":"0-3"}],"path":"/api/calc/slics"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"continuous_cord_compression":{"description":"Adds 1 only when neuro is not intact (Vaccaro 2007). Must be false when neuro is intact. true or false. magent does not read imaging.","type":"boolean"},"dlc":{"description":"Caller-assigned disco-ligamentous complex integrity (Vaccaro 2007). intact scores 0; indeterminate scores 1; disrupted scores 2. Not TLICS PLC (0/2/3). magent does not examine the patient or read imaging.","enum":["intact","indeterminate","disrupted"],"type":"string"},"morphology":{"description":"Caller-assigned single most severe injury morphology (Vaccaro 2007). none scores 0; compression scores 1; burst scores 2; distraction scores 3; rotation_translation scores 4. Burst already includes compression; do not sum morphologies. magent does not read imaging.","enum":["none","compression","burst","distraction","rotation_translation"],"type":"string"},"neuro":{"description":"Caller-assigned neurologic status (Vaccaro 2007). intact scores 0; root scores 1; complete scores 2; incomplete scores 3. magent does not examine the patient.","enum":["intact","root","complete","incomplete"],"type":"string"}},"required":["morphology","dlc","neuro","continuous_cord_compression"],"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":["slics","cervical-spine","spine-trauma","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:07:18.137Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:07:17.982Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"continuous_cord_compression":false,"dlc":"intact","morphology":"none","neuro":"intact"},{"continuous_cord_compression":false,"dlc":"intact","morphology":"none","neuro":"intact"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Vaccaro AR, Hulbert RJ, Patel AA, et al.","doi":"10.1097/brs.0b013e3181557b92","id":"vaccaro-2007","pmid":"17906580","source":"Spine (Phila Pa 1976). 2007;32(21):2365-2374","title":"The subaxial cervical spine injury classification system: a novel approach to recognize the importance of morphology, neurology, and integrity of the disco-ligamentous complex."},"components":[{"factor":"morphology","points":0,"present":true,"value":"none"},{"factor":"dlc","points":0,"present":true,"value":"intact"},{"factor":"neuro","points":0,"present":true,"value":"intact"},{"factor":"continuous_cord_compression","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":"slics","formula_expression":"SLICS = morphology (none 0, compression 1, burst 2, distraction 3, rotation_translation 4) + dlc (intact 0, indeterminate 1, disrupted 2) + neuro (intact 0, root 1, complete 2, incomplete 3) + continuous_cord_compression (+1 only when neuro is not intact); Vaccaro 2007; max 10; caller assigns the single most severe morphology; bands 0-3 / 4 / ge_5","max_score":10,"score":0,"slics_band":"0-3"},{"citation":{"authors":"Vaccaro AR, Hulbert RJ, Patel AA, et al.","doi":"10.1097/brs.0b013e3181557b92","id":"vaccaro-2007","pmid":"17906580","source":"Spine (Phila Pa 1976). 2007;32(21):2365-2374","title":"The subaxial cervical spine injury classification system: a novel approach to recognize the importance of morphology, neurology, and integrity of the disco-ligamentous complex."},"components":[{"factor":"morphology","points":0,"present":true,"value":"none"},{"factor":"dlc","points":0,"present":true,"value":"intact"},{"factor":"neuro","points":0,"present":true,"value":"intact"},{"factor":"continuous_cord_compression","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":"slics","formula_expression":"SLICS = morphology (none 0, compression 1, burst 2, distraction 3, rotation_translation 4) + dlc (intact 0, indeterminate 1, disrupted 2) + neuro (intact 0, root 1, complete 2, incomplete 3) + continuous_cord_compression (+1 only when neuro is not intact); Vaccaro 2007; max 10; caller assigns the single most severe morphology; bands 0-3 / 4 / ge_5","max_score":10,"score":0,"slics_band":"0-3"}],"path":"/api/calc/slics"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"continuous_cord_compression":{"description":"Adds 1 only when neuro is not intact (Vaccaro 2007). Must be false when neuro is intact. true or false. magent does not read imaging.","type":"boolean"},"dlc":{"description":"Caller-assigned disco-ligamentous complex integrity (Vaccaro 2007). intact scores 0; indeterminate scores 1; disrupted scores 2. Not TLICS PLC (0/2/3). magent does not examine the patient or read imaging.","enum":["intact","indeterminate","disrupted"],"type":"string"},"morphology":{"description":"Caller-assigned single most severe injury morphology (Vaccaro 2007). none scores 0; compression scores 1; burst scores 2; distraction scores 3; rotation_translation scores 4. Burst already includes compression; do not sum morphologies. magent does not read imaging.","enum":["none","compression","burst","distraction","rotation_translation"],"type":"string"},"neuro":{"description":"Caller-assigned neurologic status (Vaccaro 2007). intact scores 0; root scores 1; complete scores 2; incomplete scores 3. magent does not examine the patient.","enum":["intact","root","complete","incomplete"],"type":"string"}},"required":["morphology","dlc","neuro","continuous_cord_compression"],"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},{"id":38800,"slug":"38800","resource":"https://api.magentlab.com/api/calc/simplified_aih","description":"Hennes 2008 simplified AIH (Table 2): caller-assigned autoantibody points 0-2 (max 2 across ANA/SMA/LKM/SLA), IgG points 0-2 (≤ULN / >ULN / >1.10×ULN), histology none 0 / compatible 1 / typical 2, viral hepatitis absent true 2. Max 8. Score <6 not_aih, 6 probable, ≥7 definite. Not a diagnosis and not the original 1999 IAHG score. magent does not titer autoantibodies, assay IgG vs ULN, or read liver histology.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"autoantibody_points":2,"histology":"typical","igg_points":2,"viral_hepatitis_absent":true},{"autoantibody_points":2,"histology":"typical","igg_points":2,"viral_hepatitis_absent":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"aih_band":"definite","citation":{"authors":"Hennes EM, Zeniya M, Czaja AJ, Parés A, Dalekos GN, Krawitt EL, Bittencourt PL, Porta G, Boberg KM, Hofer H, Francesconi F, Dufour JF, Vergani D, Lohse AW; International Autoimmune Hepatitis Group","doi":"10.1002/hep.22322","id":"hennes-2008","pmid":"18537184","source":"Hepatology. 2008;48(1):169-176","title":"Simplified criteria for the diagnosis of autoimmune hepatitis"},"components":[{"factor":"autoantibody_points","points":2,"present":true,"value":2},{"factor":"igg_points","points":2,"present":true,"value":2},{"factor":"histology","points":2,"present":true,"value":"typical"},{"factor":"viral_hepatitis_absent","points":2,"present":true}],"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":"simplified_aih","formula_expression":"simplified AIH = autoantibody_points (0-2) + igg_points (0-2) + histology (none 0, compatible 1, typical 2) + viral_hepatitis_absent (true 2); Hennes 2008 Table 2; max 8; <6 not_aih, 6 probable, ≥7 definite","max_score":8,"score":8},{"aih_band":"definite","citation":{"authors":"Hennes EM, Zeniya M, Czaja AJ, Parés A, Dalekos GN, Krawitt EL, Bittencourt PL, Porta G, Boberg KM, Hofer H, Francesconi F, Dufour JF, Vergani D, Lohse AW; International Autoimmune Hepatitis Group","doi":"10.1002/hep.22322","id":"hennes-2008","pmid":"18537184","source":"Hepatology. 2008;48(1):169-176","title":"Simplified criteria for the diagnosis of autoimmune hepatitis"},"components":[{"factor":"autoantibody_points","points":2,"present":true,"value":2},{"factor":"igg_points","points":2,"present":true,"value":2},{"factor":"histology","points":2,"present":true,"value":"typical"},{"factor":"viral_hepatitis_absent","points":2,"present":true}],"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":"simplified_aih","formula_expression":"simplified AIH = autoantibody_points (0-2) + igg_points (0-2) + histology (none 0, compatible 1, typical 2) + viral_hepatitis_absent (true 2); Hennes 2008 Table 2; max 8; <6 not_aih, 6 probable, ≥7 definite","max_score":8,"score":8}],"path":"/api/calc/simplified_aih"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"autoantibody_points":{"description":"Caller-assigned Hennes 2008 Table 2 autoantibody points (0, 1, or 2; max 2 across ANA/SMA/LKM/SLA). 0: not scoring. 1: ANA or SMA ≥1:40. 2: ANA or SMA ≥1:80 or LKM ≥1:40 or SLA positive. magent does not titer autoantibodies.","enum":[0,1,2],"type":"integer"},"histology":{"description":"Caller-assigned Hennes 2008 Table 2 liver histology. none scores 0 (hepatitis is required for histology points). compatible scores 1. typical scores 2. magent does not read liver histology.","enum":["none","compatible","typical"],"type":"string"},"igg_points":{"description":"Caller-assigned Hennes 2008 Table 2 IgG points (0, 1, or 2). 0: IgG ≤ULN. 1: IgG >ULN. 2: IgG >1.10×ULN. magent does not assay IgG vs ULN.","enum":[0,1,2],"type":"integer"},"viral_hepatitis_absent":{"description":"Caller-assigned Hennes 2008 Table 2 viral hepatitis absence. true scores 2; false scores 0. magent does not interpret viral serology.","type":"boolean"}},"required":["autoantibody_points","igg_points","histology","viral_hepatitis_absent"],"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":["simplified-aih","autoimmune","hepatitis","liver","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:07:16.266Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:07:16.11Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"autoantibody_points":2,"histology":"typical","igg_points":2,"viral_hepatitis_absent":true},{"autoantibody_points":2,"histology":"typical","igg_points":2,"viral_hepatitis_absent":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"aih_band":"definite","citation":{"authors":"Hennes EM, Zeniya M, Czaja AJ, Parés A, Dalekos GN, Krawitt EL, Bittencourt PL, Porta G, Boberg KM, Hofer H, Francesconi F, Dufour JF, Vergani D, Lohse AW; International Autoimmune Hepatitis Group","doi":"10.1002/hep.22322","id":"hennes-2008","pmid":"18537184","source":"Hepatology. 2008;48(1):169-176","title":"Simplified criteria for the diagnosis of autoimmune hepatitis"},"components":[{"factor":"autoantibody_points","points":2,"present":true,"value":2},{"factor":"igg_points","points":2,"present":true,"value":2},{"factor":"histology","points":2,"present":true,"value":"typical"},{"factor":"viral_hepatitis_absent","points":2,"present":true}],"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":"simplified_aih","formula_expression":"simplified AIH = autoantibody_points (0-2) + igg_points (0-2) + histology (none 0, compatible 1, typical 2) + viral_hepatitis_absent (true 2); Hennes 2008 Table 2; max 8; <6 not_aih, 6 probable, ≥7 definite","max_score":8,"score":8},{"aih_band":"definite","citation":{"authors":"Hennes EM, Zeniya M, Czaja AJ, Parés A, Dalekos GN, Krawitt EL, Bittencourt PL, Porta G, Boberg KM, Hofer H, Francesconi F, Dufour JF, Vergani D, Lohse AW; International Autoimmune Hepatitis Group","doi":"10.1002/hep.22322","id":"hennes-2008","pmid":"18537184","source":"Hepatology. 2008;48(1):169-176","title":"Simplified criteria for the diagnosis of autoimmune hepatitis"},"components":[{"factor":"autoantibody_points","points":2,"present":true,"value":2},{"factor":"igg_points","points":2,"present":true,"value":2},{"factor":"histology","points":2,"present":true,"value":"typical"},{"factor":"viral_hepatitis_absent","points":2,"present":true}],"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":"simplified_aih","formula_expression":"simplified AIH = autoantibody_points (0-2) + igg_points (0-2) + histology (none 0, compatible 1, typical 2) + viral_hepatitis_absent (true 2); Hennes 2008 Table 2; max 8; <6 not_aih, 6 probable, ≥7 definite","max_score":8,"score":8}],"path":"/api/calc/simplified_aih"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"autoantibody_points":{"description":"Caller-assigned Hennes 2008 Table 2 autoantibody points (0, 1, or 2; max 2 across ANA/SMA/LKM/SLA). 0: not scoring. 1: ANA or SMA ≥1:40. 2: ANA or SMA ≥1:80 or LKM ≥1:40 or SLA positive. magent does not titer autoantibodies.","enum":[0,1,2],"type":"integer"},"histology":{"description":"Caller-assigned Hennes 2008 Table 2 liver histology. none scores 0 (hepatitis is required for histology points). compatible scores 1. typical scores 2. magent does not read liver histology.","enum":["none","compatible","typical"],"type":"string"},"igg_points":{"description":"Caller-assigned Hennes 2008 Table 2 IgG points (0, 1, or 2). 0: IgG ≤ULN. 1: IgG >ULN. 2: IgG >1.10×ULN. magent does not assay IgG vs ULN.","enum":[0,1,2],"type":"integer"},"viral_hepatitis_absent":{"description":"Caller-assigned Hennes 2008 Table 2 viral hepatitis absence. true scores 2; false scores 0. magent does not interpret viral serology.","type":"boolean"}},"required":["autoantibody_points","igg_points","histology","viral_hepatitis_absent"],"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},{"id":38801,"slug":"38801","resource":"https://api.magentlab.com/api/calc/sich","description":"Cucchiara 2008 sICH after rtPA for ischemic stroke. Four caller-assigned 1-point flags: age >60, baseline NIHSS >10, baseline glucose >150 mg/dL (8.325 mmol/L), platelets <150,000/mm3. Total 0-4. Any ICH 2.6/9.7/15.1/37.9% for scores 0/1/2/>=3 (scores 3 and 4 share 37.9). magent does not assay glucose or platelets or compute NIHSS. Not a tPA order and not a hemorrhage diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_gt_60":false,"glucose_gt_150":false,"nihss_gt_10":false,"platelets_lt_150k":false},{"age_gt_60":false,"glucose_gt_150":false,"nihss_gt_10":false,"platelets_lt_150k":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_gt_60":false,"any_ich_percent":2.6,"citation":{"authors":"Cucchiara B, Tanne D, Levine SR, Demchuk AM, Kasner SE","doi":"10.1016/j.jstrokecerebrovasdis.2008.03.012","id":"cucchiara-2008","pmid":"18984422","source":"J Stroke Cerebrovasc Dis. 2008;17(6):331-333","title":"A risk score to predict intracranial hemorrhage after recombinant tissue plasminogen activator for acute ischemic stroke"},"components":[{"factor":"age_gt_60","points":0,"present":false},{"factor":"nihss_gt_10","points":0,"present":false},{"factor":"glucose_gt_150","points":0,"present":false},{"factor":"platelets_lt_150k","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":"sich","formula_expression":"sICH = age_gt_60 + nihss_gt_10 + glucose_gt_150 + platelets_lt_150k; each 1; Cucchiara 2008; max 4; any ICH 2.6/9.7/15.1/37.9% for scores 0/1/2/>=3; caller-assigned flags; magent does not assay glucose or platelets or compute NIHSS","glucose_gt_150":false,"max_score":4,"nihss_gt_10":false,"platelets_lt_150k":false,"score":0},{"age_gt_60":false,"any_ich_percent":2.6,"citation":{"authors":"Cucchiara B, Tanne D, Levine SR, Demchuk AM, Kasner SE","doi":"10.1016/j.jstrokecerebrovasdis.2008.03.012","id":"cucchiara-2008","pmid":"18984422","source":"J Stroke Cerebrovasc Dis. 2008;17(6):331-333","title":"A risk score to predict intracranial hemorrhage after recombinant tissue plasminogen activator for acute ischemic stroke"},"components":[{"factor":"age_gt_60","points":0,"present":false},{"factor":"nihss_gt_10","points":0,"present":false},{"factor":"glucose_gt_150","points":0,"present":false},{"factor":"platelets_lt_150k","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":"sich","formula_expression":"sICH = age_gt_60 + nihss_gt_10 + glucose_gt_150 + platelets_lt_150k; each 1; Cucchiara 2008; max 4; any ICH 2.6/9.7/15.1/37.9% for scores 0/1/2/>=3; caller-assigned flags; magent does not assay glucose or platelets or compute NIHSS","glucose_gt_150":false,"max_score":4,"nihss_gt_10":false,"platelets_lt_150k":false,"score":0}],"path":"/api/calc/sich"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_60":{"description":"Age >60 years as assigned by the caller (Cucchiara 2008). true or false. magent does not assign age from a numeric value.","type":"boolean"},"glucose_gt_150":{"description":"Baseline glucose >150 mg/dL (8.325 mmol/L) as assigned by the caller (Cucchiara 2008). true or false. magent does not assay glucose or convert units.","type":"boolean"},"nihss_gt_10":{"description":"Baseline NIHSS >10 as assigned by the caller (Cucchiara 2008). true or false. magent does not compute NIHSS or examine the patient.","type":"boolean"},"platelets_lt_150k":{"description":"Baseline platelet count <150,000/mm3 as assigned by the caller (Cucchiara 2008). true or false. magent does not assay platelets.","type":"boolean"}},"required":["age_gt_60","nihss_gt_10","glucose_gt_150","platelets_lt_150k"],"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":["sich","stroke","thrombolysis","ich","neurology","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:02:07.511Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:02:07.394Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_gt_60":false,"glucose_gt_150":false,"nihss_gt_10":false,"platelets_lt_150k":false},{"age_gt_60":false,"glucose_gt_150":false,"nihss_gt_10":false,"platelets_lt_150k":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_gt_60":false,"any_ich_percent":2.6,"citation":{"authors":"Cucchiara B, Tanne D, Levine SR, Demchuk AM, Kasner SE","doi":"10.1016/j.jstrokecerebrovasdis.2008.03.012","id":"cucchiara-2008","pmid":"18984422","source":"J Stroke Cerebrovasc Dis. 2008;17(6):331-333","title":"A risk score to predict intracranial hemorrhage after recombinant tissue plasminogen activator for acute ischemic stroke"},"components":[{"factor":"age_gt_60","points":0,"present":false},{"factor":"nihss_gt_10","points":0,"present":false},{"factor":"glucose_gt_150","points":0,"present":false},{"factor":"platelets_lt_150k","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":"sich","formula_expression":"sICH = age_gt_60 + nihss_gt_10 + glucose_gt_150 + platelets_lt_150k; each 1; Cucchiara 2008; max 4; any ICH 2.6/9.7/15.1/37.9% for scores 0/1/2/>=3; caller-assigned flags; magent does not assay glucose or platelets or compute NIHSS","glucose_gt_150":false,"max_score":4,"nihss_gt_10":false,"platelets_lt_150k":false,"score":0},{"age_gt_60":false,"any_ich_percent":2.6,"citation":{"authors":"Cucchiara B, Tanne D, Levine SR, Demchuk AM, Kasner SE","doi":"10.1016/j.jstrokecerebrovasdis.2008.03.012","id":"cucchiara-2008","pmid":"18984422","source":"J Stroke Cerebrovasc Dis. 2008;17(6):331-333","title":"A risk score to predict intracranial hemorrhage after recombinant tissue plasminogen activator for acute ischemic stroke"},"components":[{"factor":"age_gt_60","points":0,"present":false},{"factor":"nihss_gt_10","points":0,"present":false},{"factor":"glucose_gt_150","points":0,"present":false},{"factor":"platelets_lt_150k","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":"sich","formula_expression":"sICH = age_gt_60 + nihss_gt_10 + glucose_gt_150 + platelets_lt_150k; each 1; Cucchiara 2008; max 4; any ICH 2.6/9.7/15.1/37.9% for scores 0/1/2/>=3; caller-assigned flags; magent does not assay glucose or platelets or compute NIHSS","glucose_gt_150":false,"max_score":4,"nihss_gt_10":false,"platelets_lt_150k":false,"score":0}],"path":"/api/calc/sich"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_60":{"description":"Age >60 years as assigned by the caller (Cucchiara 2008). true or false. magent does not assign age from a numeric value.","type":"boolean"},"glucose_gt_150":{"description":"Baseline glucose >150 mg/dL (8.325 mmol/L) as assigned by the caller (Cucchiara 2008). true or false. magent does not assay glucose or convert units.","type":"boolean"},"nihss_gt_10":{"description":"Baseline NIHSS >10 as assigned by the caller (Cucchiara 2008). true or false. magent does not compute NIHSS or examine the patient.","type":"boolean"},"platelets_lt_150k":{"description":"Baseline platelet count <150,000/mm3 as assigned by the caller (Cucchiara 2008). true or false. magent does not assay platelets.","type":"boolean"}},"required":["age_gt_60","nihss_gt_10","glucose_gt_150","platelets_lt_150k"],"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},{"id":38802,"slug":"38802","resource":"https://api.magentlab.com/api/calc/shorr","description":"Shorr 2013 MRSA pneumonia risk score (Table 2 only, not HCAP, not DRIP): recent hospitalization ≥2 days in 90 days 2; ICU admission 2; age <30 or >79 1; prior IV antibiotics 1; dementia 1; cerebrovascular disease 1; female with diabetes 1 (male with diabetes 0); nursing home/LTAC/SNF 1; max 10. Bands: 0-1 low, 2-5 medium, ≥6 high. Returns score, max_score, and risk_band. Not a medical device and not an antibiotic order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"cerebrovascular_disease":false,"dementia":false,"diabetes":false,"hospitalization_90d":false,"icu_admission":false,"nursing_home_ltac_snf":false,"prior_iv_antibiotics":false,"sex":"male"},{"age":50,"cerebrovascular_disease":false,"dementia":false,"diabetes":false,"hospitalization_90d":false,"icu_admission":false,"nursing_home_ltac_snf":false,"prior_iv_antibiotics":false,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Shorr AF, Myers DE, Huang DB, Nathanson BH, Emons MF, Kollef MH","doi":"10.1186/1471-2334-13-268","id":"shorr-2013","pmid":"23742753","source":"BMC Infect Dis. 2013;13:268","title":"A risk score for identifying methicillin-resistant Staphylococcus aureus in patients presenting to the hospital with pneumonia"},"components":[{"factor":"hospitalization_90d","points":0,"present":false},{"factor":"icu_admission","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":50},{"factor":"prior_iv_antibiotics","points":0,"present":false},{"factor":"dementia","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"female_diabetes","points":0,"present":false},{"factor":"nursing_home_ltac_snf","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":"shorr","formula_expression":"Shorr = hospitalization_90d (2) + icu_admission (2) + age_lt_30_or_gt_79 (1) + prior_iv_antibiotics (1) + dementia (1) + cerebrovascular_disease (1) + female_and_diabetes (1) + nursing_home_ltac_snf (1); max 10; 0-1 low, 2-5 medium, >=6 high","max_score":10,"risk_band":"low","score":0,"sex":"male"},{"age_years":50,"citation":{"authors":"Shorr AF, Myers DE, Huang DB, Nathanson BH, Emons MF, Kollef MH","doi":"10.1186/1471-2334-13-268","id":"shorr-2013","pmid":"23742753","source":"BMC Infect Dis. 2013;13:268","title":"A risk score for identifying methicillin-resistant Staphylococcus aureus in patients presenting to the hospital with pneumonia"},"components":[{"factor":"hospitalization_90d","points":0,"present":false},{"factor":"icu_admission","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":50},{"factor":"prior_iv_antibiotics","points":0,"present":false},{"factor":"dementia","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"female_diabetes","points":0,"present":false},{"factor":"nursing_home_ltac_snf","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":"shorr","formula_expression":"Shorr = hospitalization_90d (2) + icu_admission (2) + age_lt_30_or_gt_79 (1) + prior_iv_antibiotics (1) + dementia (1) + cerebrovascular_disease (1) + female_and_diabetes (1) + nursing_home_ltac_snf (1); max 10; 0-1 low, 2-5 medium, >=6 high","max_score":10,"risk_band":"low","score":0,"sex":"male"}],"path":"/api/calc/shorr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Shorr 2013 Table 2: <30 or >79 scores 1; 30 through 79 scores 0. 29 scores 1; 30 scores 0; 79 scores 0; 80 scores 1.","type":"integer"},"cerebrovascular_disease":{"description":"Cerebrovascular disease (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller.","type":"boolean"},"dementia":{"description":"Dementia (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus. Scores 1 only when sex is female (Shorr 2013 Table 2). Male with diabetes scores 0. true or false as assigned by the caller.","type":"boolean"},"hospitalization_90d":{"description":"Recent inpatient hospitalization for ≥2 days within 90 days (Shorr 2013 Table 2, 2 points). true or false as assigned by the caller.","type":"boolean"},"icu_admission":{"description":"ICU admission (Shorr 2013 Table 2, 2 points). true or false as assigned by the caller.","type":"boolean"},"nursing_home_ltac_snf":{"description":"Recent nursing home, long-term acute care, or skilled nursing facility exposure (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller. magent does not classify the facility.","type":"boolean"},"prior_iv_antibiotics":{"description":"Prior IV antibiotic exposure (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller.","type":"boolean"},"sex":{"description":"female or male. Female with diabetes scores 1 (Shorr 2013 Table 2). Male with diabetes scores 0. Sex alone does not score.","enum":["female","male"],"type":"string"}},"required":["age","sex","hospitalization_90d","icu_admission","prior_iv_antibiotics","dementia","cerebrovascular_disease","diabetes","nursing_home_ltac_snf"],"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":["shorr","mrsa","pneumonia","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:02:06.303Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:02:06.078Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"cerebrovascular_disease":false,"dementia":false,"diabetes":false,"hospitalization_90d":false,"icu_admission":false,"nursing_home_ltac_snf":false,"prior_iv_antibiotics":false,"sex":"male"},{"age":50,"cerebrovascular_disease":false,"dementia":false,"diabetes":false,"hospitalization_90d":false,"icu_admission":false,"nursing_home_ltac_snf":false,"prior_iv_antibiotics":false,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Shorr AF, Myers DE, Huang DB, Nathanson BH, Emons MF, Kollef MH","doi":"10.1186/1471-2334-13-268","id":"shorr-2013","pmid":"23742753","source":"BMC Infect Dis. 2013;13:268","title":"A risk score for identifying methicillin-resistant Staphylococcus aureus in patients presenting to the hospital with pneumonia"},"components":[{"factor":"hospitalization_90d","points":0,"present":false},{"factor":"icu_admission","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":50},{"factor":"prior_iv_antibiotics","points":0,"present":false},{"factor":"dementia","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"female_diabetes","points":0,"present":false},{"factor":"nursing_home_ltac_snf","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":"shorr","formula_expression":"Shorr = hospitalization_90d (2) + icu_admission (2) + age_lt_30_or_gt_79 (1) + prior_iv_antibiotics (1) + dementia (1) + cerebrovascular_disease (1) + female_and_diabetes (1) + nursing_home_ltac_snf (1); max 10; 0-1 low, 2-5 medium, >=6 high","max_score":10,"risk_band":"low","score":0,"sex":"male"},{"age_years":50,"citation":{"authors":"Shorr AF, Myers DE, Huang DB, Nathanson BH, Emons MF, Kollef MH","doi":"10.1186/1471-2334-13-268","id":"shorr-2013","pmid":"23742753","source":"BMC Infect Dis. 2013;13:268","title":"A risk score for identifying methicillin-resistant Staphylococcus aureus in patients presenting to the hospital with pneumonia"},"components":[{"factor":"hospitalization_90d","points":0,"present":false},{"factor":"icu_admission","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":50},{"factor":"prior_iv_antibiotics","points":0,"present":false},{"factor":"dementia","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"female_diabetes","points":0,"present":false},{"factor":"nursing_home_ltac_snf","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":"shorr","formula_expression":"Shorr = hospitalization_90d (2) + icu_admission (2) + age_lt_30_or_gt_79 (1) + prior_iv_antibiotics (1) + dementia (1) + cerebrovascular_disease (1) + female_and_diabetes (1) + nursing_home_ltac_snf (1); max 10; 0-1 low, 2-5 medium, >=6 high","max_score":10,"risk_band":"low","score":0,"sex":"male"}],"path":"/api/calc/shorr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Shorr 2013 Table 2: <30 or >79 scores 1; 30 through 79 scores 0. 29 scores 1; 30 scores 0; 79 scores 0; 80 scores 1.","type":"integer"},"cerebrovascular_disease":{"description":"Cerebrovascular disease (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller.","type":"boolean"},"dementia":{"description":"Dementia (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus. Scores 1 only when sex is female (Shorr 2013 Table 2). Male with diabetes scores 0. true or false as assigned by the caller.","type":"boolean"},"hospitalization_90d":{"description":"Recent inpatient hospitalization for ≥2 days within 90 days (Shorr 2013 Table 2, 2 points). true or false as assigned by the caller.","type":"boolean"},"icu_admission":{"description":"ICU admission (Shorr 2013 Table 2, 2 points). true or false as assigned by the caller.","type":"boolean"},"nursing_home_ltac_snf":{"description":"Recent nursing home, long-term acute care, or skilled nursing facility exposure (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller. magent does not classify the facility.","type":"boolean"},"prior_iv_antibiotics":{"description":"Prior IV antibiotic exposure (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller.","type":"boolean"},"sex":{"description":"female or male. Female with diabetes scores 1 (Shorr 2013 Table 2). Male with diabetes scores 0. Sex alone does not score.","enum":["female","male"],"type":"string"}},"required":["age","sex","hospitalization_90d","icu_admission","prior_iv_antibiotics","dementia","cerebrovascular_disease","diabetes","nursing_home_ltac_snf"],"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},{"id":38803,"slug":"38803","resource":"https://api.magentlab.com/api/calc/shock_index","description":"Shock index as heart rate in bpm divided by cuff systolic pressure in mm Hg (Allgöwer and Burri 1967). Returns the original ratio rounded to two decimals. Not a shock diagnosis, treatment target, or cutoff, and does not use MAP or diastolic pressure.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"heart_rate_bpm":80,"systolic_mm_hg":120},{"heart_rate_bpm":80,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Allgöwer M, Burri C","doi":"10.1055/s-0028-1106070","id":"allgower-burri-1967","source":"Dtsch Med Wochenschr. 1967;92(43):1947-1950","title":"Shock index"},"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":"shock_index","formula_expression":"shock_index = heart_rate_bpm / systolic_mm_hg","heart_rate_bpm":80,"shock_index":0.67,"systolic_mm_hg":120},{"citation":{"authors":"Allgöwer M, Burri C","doi":"10.1055/s-0028-1106070","id":"allgower-burri-1967","source":"Dtsch Med Wochenschr. 1967;92(43):1947-1950","title":"Shock index"},"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":"shock_index","formula_expression":"shock_index = heart_rate_bpm / systolic_mm_hg","heart_rate_bpm":80,"shock_index":0.67,"systolic_mm_hg":120}],"path":"/api/calc/shock_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220).","type":"integer"},"systolic_mm_hg":{"description":"Cuff systolic blood pressure in mm Hg (50-250).","type":"number"}},"required":["heart_rate_bpm","systolic_mm_hg"],"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":["shock-index","hemodynamics","heart-rate","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:02:04.852Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:02:04.539Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"heart_rate_bpm":80,"systolic_mm_hg":120},{"heart_rate_bpm":80,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Allgöwer M, Burri C","doi":"10.1055/s-0028-1106070","id":"allgower-burri-1967","source":"Dtsch Med Wochenschr. 1967;92(43):1947-1950","title":"Shock index"},"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":"shock_index","formula_expression":"shock_index = heart_rate_bpm / systolic_mm_hg","heart_rate_bpm":80,"shock_index":0.67,"systolic_mm_hg":120},{"citation":{"authors":"Allgöwer M, Burri C","doi":"10.1055/s-0028-1106070","id":"allgower-burri-1967","source":"Dtsch Med Wochenschr. 1967;92(43):1947-1950","title":"Shock index"},"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":"shock_index","formula_expression":"shock_index = heart_rate_bpm / systolic_mm_hg","heart_rate_bpm":80,"shock_index":0.67,"systolic_mm_hg":120}],"path":"/api/calc/shock_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220).","type":"integer"},"systolic_mm_hg":{"description":"Cuff systolic blood pressure in mm Hg (50-250).","type":"number"}},"required":["heart_rate_bpm","systolic_mm_hg"],"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},{"id":38804,"slug":"38804","resource":"https://api.magentlab.com/api/calc/shfm","description":"Levy 2006 Seattle Heart Failure Model 1-, 2-, and 3-year survival from Table 2 multivariate HRs. Score = sum of ln(HR)*x; S(t)=exp(-0.0405*t)**exp(score). Age, sex, NYHA, EF, ischemic etiology, SBP, furosemide-eq diuretic, labs, and already-on ACEI, beta-blocker, ARB, K-sparing diuretic, statin, BiV, ICD, or BiV-ICD. Caller assigns class, etiology, and therapy. magent does not measure labs or blood pressure. Not a diagnosis, prescription, or device order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ace_inhibitor":true,"age":60,"allopurinol":false,"arb":false,"beta_blocker":true,"biv_icd":false,"biv_pacemaker":false,"ef_percent":30,"hemoglobin_g_dl":14,"icd":false,"ischemic":false,"k_sparing_diuretic":false,"loop_diuretic_furosemide_eq_mg_day":0,"lymphocyte_percent":25,"nyha":2,"sbp_mm_hg":120,"sex":"male","sodium_meq_l":140,"statin":false,"total_cholesterol_mg_dl":180,"uric_acid_mg_dl":6,"weight_kg":80},{"ace_inhibitor":true,"age":60,"allopurinol":false,"arb":false,"beta_blocker":true,"biv_icd":false,"biv_pacemaker":false,"ef_percent":30,"hemoglobin_g_dl":14,"icd":false,"ischemic":false,"k_sparing_diuretic":false,"loop_diuretic_furosemide_eq_mg_day":0,"lymphocyte_percent":25,"nyha":2,"sbp_mm_hg":120,"sex":"male","sodium_meq_l":140,"statin":false,"total_cholesterol_mg_dl":180,"uric_acid_mg_dl":6,"weight_kg":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ace_inhibitor":true,"age":60,"allopurinol":false,"arb":false,"beta_blocker":true,"biv_icd":false,"biv_pacemaker":false,"citation":{"authors":"Levy WC, Mozaffarian D, Linker DT, Sutradhar SC, Anker SD, Cropp AB, et al.","doi":"10.1161/CIRCULATIONAHA.105.584102","id":"levy-2006-shfm","pmid":"16534009","source":"Circulation. 2006;113(11):1424-1433","title":"The Seattle Heart Failure Model: Prediction of Survival in Heart Failure"},"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.","diuretic_furosemide_eq_mg_kg_day":0,"ef_percent":30,"formula":"shfm","formula_expression":"score = sum(ln(HR)*x); S(t)=exp(-0.0405*t)**exp(score) for t years 0-5; Levy 2006 Table 2 multivariate HRs (italic β=ln(HR); medication/device = patient-already-on column); 1/2/3-year survival % round 1 decimal; age/10 * ln(1.090); male ln(1.089) (forced); NYHA * ln(1.600); (100/EF)*ln(1.030); ischemic ln(1.354); min(SBP,160)/10 * ln(0.877); furosemide-eq mg/kg/day * ln(1.178) (furosemide 80 = torsemide 40 = bumetanide 3); allopurinol ln(1.571); if Na<138: (138-Na)*ln(1.050); (100/cholesterol)*ln(2.206); if Hb<16: (16-Hb)*ln(1.124); if Hb>16: (Hb-16)*ln(1.336); min(%lymphocytes,47)/5 * ln(0.897); max(uric_acid,3.4)*ln(1.064); ACEI ln(0.77); beta-blocker ln(0.66); ARB ln(0.85); K-sparing diuretic ln(0.74); statin ln(0.63); BiV pacemaker ln(1.00); ICD ln(0.73); BiV-ICD ln(0.79); devices mutually exclusive; not a diagnosis or treatment/device order","hemoglobin_g_dl":14,"icd":false,"ischemic":false,"k_sparing_diuretic":false,"loop_diuretic_furosemide_eq_mg_day":0,"lymphocyte_percent":25,"nyha":2,"sbp_mm_hg":120,"score":-0.1089,"sex":"male","sodium_meq_l":140,"statin":false,"survival_1y_percent":96.4,"survival_2y_percent":93,"survival_3y_percent":89.7,"total_cholesterol_mg_dl":180,"uric_acid_mg_dl":6,"weight_kg":80},{"ace_inhibitor":true,"age":60,"allopurinol":false,"arb":false,"beta_blocker":true,"biv_icd":false,"biv_pacemaker":false,"citation":{"authors":"Levy WC, Mozaffarian D, Linker DT, Sutradhar SC, Anker SD, Cropp AB, et al.","doi":"10.1161/CIRCULATIONAHA.105.584102","id":"levy-2006-shfm","pmid":"16534009","source":"Circulation. 2006;113(11):1424-1433","title":"The Seattle Heart Failure Model: Prediction of Survival in Heart Failure"},"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.","diuretic_furosemide_eq_mg_kg_day":0,"ef_percent":30,"formula":"shfm","formula_expression":"score = sum(ln(HR)*x); S(t)=exp(-0.0405*t)**exp(score) for t years 0-5; Levy 2006 Table 2 multivariate HRs (italic β=ln(HR); medication/device = patient-already-on column); 1/2/3-year survival % round 1 decimal; age/10 * ln(1.090); male ln(1.089) (forced); NYHA * ln(1.600); (100/EF)*ln(1.030); ischemic ln(1.354); min(SBP,160)/10 * ln(0.877); furosemide-eq mg/kg/day * ln(1.178) (furosemide 80 = torsemide 40 = bumetanide 3); allopurinol ln(1.571); if Na<138: (138-Na)*ln(1.050); (100/cholesterol)*ln(2.206); if Hb<16: (16-Hb)*ln(1.124); if Hb>16: (Hb-16)*ln(1.336); min(%lymphocytes,47)/5 * ln(0.897); max(uric_acid,3.4)*ln(1.064); ACEI ln(0.77); beta-blocker ln(0.66); ARB ln(0.85); K-sparing diuretic ln(0.74); statin ln(0.63); BiV pacemaker ln(1.00); ICD ln(0.73); BiV-ICD ln(0.79); devices mutually exclusive; not a diagnosis or treatment/device order","hemoglobin_g_dl":14,"icd":false,"ischemic":false,"k_sparing_diuretic":false,"loop_diuretic_furosemide_eq_mg_day":0,"lymphocyte_percent":25,"nyha":2,"sbp_mm_hg":120,"score":-0.1089,"sex":"male","sodium_meq_l":140,"statin":false,"survival_1y_percent":96.4,"survival_2y_percent":93,"survival_3y_percent":89.7,"total_cholesterol_mg_dl":180,"uric_acid_mg_dl":6,"weight_kg":80}],"path":"/api/calc/shfm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ace_inhibitor":{"description":"Patient already on an ACE inhibitor as assigned by the caller (true or false). Table 2 already-on HR 0.77. Not a prescription.","type":"boolean"},"age":{"description":"Age in years (integer 14-100). Levy 2006 Table 2: per decade, multivariate HR 1.090. magent does not take a date of birth.","type":"integer"},"allopurinol":{"description":"Current allopurinol as assigned by the caller (true or false). Table 2 multivariate HR 1.571. magent does not prescribe allopurinol.","type":"boolean"},"arb":{"description":"Patient already on an angiotensin-receptor blocker as assigned by the caller (true or false). Table 2 already-on HR 0.85. Not a prescription.","type":"boolean"},"beta_blocker":{"description":"Patient already on a beta-blocker as assigned by the caller (true or false). Table 2 already-on HR 0.66. Not a prescription.","type":"boolean"},"biv_icd":{"description":"Patient already has a biventricular ICD as assigned by the caller (true or false). Table 2 already-on HR 0.79. Mutually exclusive with biv_pacemaker and icd. Not a device order.","type":"boolean"},"biv_pacemaker":{"description":"Patient already has a biventricular pacemaker (without ICD) as assigned by the caller (true or false). Table 2 already-on HR 1.00. Mutually exclusive with icd and biv_icd. Not a device order.","type":"boolean"},"ef_percent":{"description":"Left-ventricular ejection fraction in percent (1-80). Enters as 100/EF with Table 2 HR 1.030. magent does not interpret an echocardiogram.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (4-22). Table 2: if Hb<16, (16-Hb) with HR 1.124 per g/dL; if Hb>16, (Hb-16) with HR 1.336 per g/dL. magent does not assay hemoglobin.","type":"number"},"icd":{"description":"Patient already has an ICD (without biventricular pacing) as assigned by the caller (true or false). Table 2 already-on HR 0.73. Mutually exclusive with biv_pacemaker and biv_icd. Not a device order.","type":"boolean"},"ischemic":{"description":"Ischemic etiology as assigned by the caller (true or false). Table 2 multivariate HR 1.354. magent does not assign etiology.","type":"boolean"},"k_sparing_diuretic":{"description":"Patient already on a potassium-sparing diuretic as assigned by the caller (true or false). Table 2 already-on HR 0.74. Not a prescription.","type":"boolean"},"loop_diuretic_furosemide_eq_mg_day":{"description":"Daily loop-diuretic dose as furosemide milligram equivalent (0-1000). Paper conversion: furosemide 80 = torsemide 40 = bumetanide 3. Divided by weight_kg; Table 2 HR 1.178 per mg/kg/day. magent does not prescribe a diuretic.","type":"number"},"lymphocyte_percent":{"description":"Percent lymphocytes (0-100). Table 2: per 5% when <47%, HR 0.897; values >47% are truncated to 47. magent does not assay a CBC.","type":"number"},"nyha":{"description":"NYHA class 1-4 as assigned by the caller (integer). Levy 2006 Table 2 multivariate HR 1.600 per class. magent does not examine the patient.","enum":[1,2,3,4],"type":"integer"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Table 2: per 10 mm Hg, HR 0.877, truncated at 160 (SBP 180 is scored as 160). magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the forced Table 2 male HR 1.089 (female or male). magent does not assign sex.","enum":["female","male"],"type":"string"},"sodium_meq_l":{"description":"Serum sodium in mEq/L (110-160). Table 2: if Na<138, (138-Na) with HR 1.050 per mEq; values ≥138 add 0. magent does not assay sodium.","type":"number"},"statin":{"description":"Patient already on a statin as assigned by the caller (true or false). Table 2 already-on / multivariate HR 0.63. Not a prescription.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Enters as 100/cholesterol with Table 2 HR 2.206. magent does not assay lipids.","type":"number"},"uric_acid_mg_dl":{"description":"Serum uric acid in mg/dL (0.5-25). Table 2: per mg/dL when >3.4, HR 1.064; values <3.4 are truncated to 3.4. magent does not assay uric acid.","type":"number"},"weight_kg":{"description":"Body weight in kg (20-250) used only to convert the furosemide-equivalent diuretic dose to mg/kg/day. magent does not weigh the patient.","type":"number"}},"required":["age","sex","nyha","ef_percent","ischemic","sbp_mm_hg","weight_kg","loop_diuretic_furosemide_eq_mg_day","allopurinol","sodium_meq_l","total_cholesterol_mg_dl","hemoglobin_g_dl","lymphocyte_percent","uric_acid_mg_dl","ace_inhibitor","beta_blocker","arb","k_sparing_diuretic","statin","biv_pacemaker","icd","biv_icd"],"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":["seattle-hf","heart-failure","hemodynamics","survival","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:57:35.661Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:57:35.495Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ace_inhibitor":true,"age":60,"allopurinol":false,"arb":false,"beta_blocker":true,"biv_icd":false,"biv_pacemaker":false,"ef_percent":30,"hemoglobin_g_dl":14,"icd":false,"ischemic":false,"k_sparing_diuretic":false,"loop_diuretic_furosemide_eq_mg_day":0,"lymphocyte_percent":25,"nyha":2,"sbp_mm_hg":120,"sex":"male","sodium_meq_l":140,"statin":false,"total_cholesterol_mg_dl":180,"uric_acid_mg_dl":6,"weight_kg":80},{"ace_inhibitor":true,"age":60,"allopurinol":false,"arb":false,"beta_blocker":true,"biv_icd":false,"biv_pacemaker":false,"ef_percent":30,"hemoglobin_g_dl":14,"icd":false,"ischemic":false,"k_sparing_diuretic":false,"loop_diuretic_furosemide_eq_mg_day":0,"lymphocyte_percent":25,"nyha":2,"sbp_mm_hg":120,"sex":"male","sodium_meq_l":140,"statin":false,"total_cholesterol_mg_dl":180,"uric_acid_mg_dl":6,"weight_kg":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ace_inhibitor":true,"age":60,"allopurinol":false,"arb":false,"beta_blocker":true,"biv_icd":false,"biv_pacemaker":false,"citation":{"authors":"Levy WC, Mozaffarian D, Linker DT, Sutradhar SC, Anker SD, Cropp AB, et al.","doi":"10.1161/CIRCULATIONAHA.105.584102","id":"levy-2006-shfm","pmid":"16534009","source":"Circulation. 2006;113(11):1424-1433","title":"The Seattle Heart Failure Model: Prediction of Survival in Heart Failure"},"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.","diuretic_furosemide_eq_mg_kg_day":0,"ef_percent":30,"formula":"shfm","formula_expression":"score = sum(ln(HR)*x); S(t)=exp(-0.0405*t)**exp(score) for t years 0-5; Levy 2006 Table 2 multivariate HRs (italic β=ln(HR); medication/device = patient-already-on column); 1/2/3-year survival % round 1 decimal; age/10 * ln(1.090); male ln(1.089) (forced); NYHA * ln(1.600); (100/EF)*ln(1.030); ischemic ln(1.354); min(SBP,160)/10 * ln(0.877); furosemide-eq mg/kg/day * ln(1.178) (furosemide 80 = torsemide 40 = bumetanide 3); allopurinol ln(1.571); if Na<138: (138-Na)*ln(1.050); (100/cholesterol)*ln(2.206); if Hb<16: (16-Hb)*ln(1.124); if Hb>16: (Hb-16)*ln(1.336); min(%lymphocytes,47)/5 * ln(0.897); max(uric_acid,3.4)*ln(1.064); ACEI ln(0.77); beta-blocker ln(0.66); ARB ln(0.85); K-sparing diuretic ln(0.74); statin ln(0.63); BiV pacemaker ln(1.00); ICD ln(0.73); BiV-ICD ln(0.79); devices mutually exclusive; not a diagnosis or treatment/device order","hemoglobin_g_dl":14,"icd":false,"ischemic":false,"k_sparing_diuretic":false,"loop_diuretic_furosemide_eq_mg_day":0,"lymphocyte_percent":25,"nyha":2,"sbp_mm_hg":120,"score":-0.1089,"sex":"male","sodium_meq_l":140,"statin":false,"survival_1y_percent":96.4,"survival_2y_percent":93,"survival_3y_percent":89.7,"total_cholesterol_mg_dl":180,"uric_acid_mg_dl":6,"weight_kg":80},{"ace_inhibitor":true,"age":60,"allopurinol":false,"arb":false,"beta_blocker":true,"biv_icd":false,"biv_pacemaker":false,"citation":{"authors":"Levy WC, Mozaffarian D, Linker DT, Sutradhar SC, Anker SD, Cropp AB, et al.","doi":"10.1161/CIRCULATIONAHA.105.584102","id":"levy-2006-shfm","pmid":"16534009","source":"Circulation. 2006;113(11):1424-1433","title":"The Seattle Heart Failure Model: Prediction of Survival in Heart Failure"},"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.","diuretic_furosemide_eq_mg_kg_day":0,"ef_percent":30,"formula":"shfm","formula_expression":"score = sum(ln(HR)*x); S(t)=exp(-0.0405*t)**exp(score) for t years 0-5; Levy 2006 Table 2 multivariate HRs (italic β=ln(HR); medication/device = patient-already-on column); 1/2/3-year survival % round 1 decimal; age/10 * ln(1.090); male ln(1.089) (forced); NYHA * ln(1.600); (100/EF)*ln(1.030); ischemic ln(1.354); min(SBP,160)/10 * ln(0.877); furosemide-eq mg/kg/day * ln(1.178) (furosemide 80 = torsemide 40 = bumetanide 3); allopurinol ln(1.571); if Na<138: (138-Na)*ln(1.050); (100/cholesterol)*ln(2.206); if Hb<16: (16-Hb)*ln(1.124); if Hb>16: (Hb-16)*ln(1.336); min(%lymphocytes,47)/5 * ln(0.897); max(uric_acid,3.4)*ln(1.064); ACEI ln(0.77); beta-blocker ln(0.66); ARB ln(0.85); K-sparing diuretic ln(0.74); statin ln(0.63); BiV pacemaker ln(1.00); ICD ln(0.73); BiV-ICD ln(0.79); devices mutually exclusive; not a diagnosis or treatment/device order","hemoglobin_g_dl":14,"icd":false,"ischemic":false,"k_sparing_diuretic":false,"loop_diuretic_furosemide_eq_mg_day":0,"lymphocyte_percent":25,"nyha":2,"sbp_mm_hg":120,"score":-0.1089,"sex":"male","sodium_meq_l":140,"statin":false,"survival_1y_percent":96.4,"survival_2y_percent":93,"survival_3y_percent":89.7,"total_cholesterol_mg_dl":180,"uric_acid_mg_dl":6,"weight_kg":80}],"path":"/api/calc/shfm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ace_inhibitor":{"description":"Patient already on an ACE inhibitor as assigned by the caller (true or false). Table 2 already-on HR 0.77. Not a prescription.","type":"boolean"},"age":{"description":"Age in years (integer 14-100). Levy 2006 Table 2: per decade, multivariate HR 1.090. magent does not take a date of birth.","type":"integer"},"allopurinol":{"description":"Current allopurinol as assigned by the caller (true or false). Table 2 multivariate HR 1.571. magent does not prescribe allopurinol.","type":"boolean"},"arb":{"description":"Patient already on an angiotensin-receptor blocker as assigned by the caller (true or false). Table 2 already-on HR 0.85. Not a prescription.","type":"boolean"},"beta_blocker":{"description":"Patient already on a beta-blocker as assigned by the caller (true or false). Table 2 already-on HR 0.66. Not a prescription.","type":"boolean"},"biv_icd":{"description":"Patient already has a biventricular ICD as assigned by the caller (true or false). Table 2 already-on HR 0.79. Mutually exclusive with biv_pacemaker and icd. Not a device order.","type":"boolean"},"biv_pacemaker":{"description":"Patient already has a biventricular pacemaker (without ICD) as assigned by the caller (true or false). Table 2 already-on HR 1.00. Mutually exclusive with icd and biv_icd. Not a device order.","type":"boolean"},"ef_percent":{"description":"Left-ventricular ejection fraction in percent (1-80). Enters as 100/EF with Table 2 HR 1.030. magent does not interpret an echocardiogram.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (4-22). Table 2: if Hb<16, (16-Hb) with HR 1.124 per g/dL; if Hb>16, (Hb-16) with HR 1.336 per g/dL. magent does not assay hemoglobin.","type":"number"},"icd":{"description":"Patient already has an ICD (without biventricular pacing) as assigned by the caller (true or false). Table 2 already-on HR 0.73. Mutually exclusive with biv_pacemaker and biv_icd. Not a device order.","type":"boolean"},"ischemic":{"description":"Ischemic etiology as assigned by the caller (true or false). Table 2 multivariate HR 1.354. magent does not assign etiology.","type":"boolean"},"k_sparing_diuretic":{"description":"Patient already on a potassium-sparing diuretic as assigned by the caller (true or false). Table 2 already-on HR 0.74. Not a prescription.","type":"boolean"},"loop_diuretic_furosemide_eq_mg_day":{"description":"Daily loop-diuretic dose as furosemide milligram equivalent (0-1000). Paper conversion: furosemide 80 = torsemide 40 = bumetanide 3. Divided by weight_kg; Table 2 HR 1.178 per mg/kg/day. magent does not prescribe a diuretic.","type":"number"},"lymphocyte_percent":{"description":"Percent lymphocytes (0-100). Table 2: per 5% when <47%, HR 0.897; values >47% are truncated to 47. magent does not assay a CBC.","type":"number"},"nyha":{"description":"NYHA class 1-4 as assigned by the caller (integer). Levy 2006 Table 2 multivariate HR 1.600 per class. magent does not examine the patient.","enum":[1,2,3,4],"type":"integer"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Table 2: per 10 mm Hg, HR 0.877, truncated at 160 (SBP 180 is scored as 160). magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the forced Table 2 male HR 1.089 (female or male). magent does not assign sex.","enum":["female","male"],"type":"string"},"sodium_meq_l":{"description":"Serum sodium in mEq/L (110-160). Table 2: if Na<138, (138-Na) with HR 1.050 per mEq; values ≥138 add 0. magent does not assay sodium.","type":"number"},"statin":{"description":"Patient already on a statin as assigned by the caller (true or false). Table 2 already-on / multivariate HR 0.63. Not a prescription.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Enters as 100/cholesterol with Table 2 HR 2.206. magent does not assay lipids.","type":"number"},"uric_acid_mg_dl":{"description":"Serum uric acid in mg/dL (0.5-25). Table 2: per mg/dL when >3.4, HR 1.064; values <3.4 are truncated to 3.4. magent does not assay uric acid.","type":"number"},"weight_kg":{"description":"Body weight in kg (20-250) used only to convert the furosemide-equivalent diuretic dose to mg/kg/day. magent does not weigh the patient.","type":"number"}},"required":["age","sex","nyha","ef_percent","ischemic","sbp_mm_hg","weight_kg","loop_diuretic_furosemide_eq_mg_day","allopurinol","sodium_meq_l","total_cholesterol_mg_dl","hemoglobin_g_dl","lymphocyte_percent","uric_acid_mg_dl","ace_inhibitor","beta_blocker","arb","k_sparing_diuretic","statin","biv_pacemaker","icd","biv_icd"],"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},{"id":38805,"slug":"38805","resource":"https://api.magentlab.com/api/calc/shapiro","description":"Shapiro 2008 blood-culture rule. Indicated if ≥1 major (temperature >39.5 °C, indwelling vascular catheter, suspected endocarditis) or ≥2 minor (temperature 38.3–39.4 °C, age >65, chills, vomiting, hypotension SBP <90, neutrophils >80%, WBC >18 k, bands >5%, platelets <150 k, creatinine >2.0 mg/dL). Not a culture order or sepsis diagnosis. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"bands_percent":2,"catheter":false,"chills":false,"creatinine_mg_dl":1,"hypotension":false,"neutrophil_percent":70,"platelets_k":250,"suspected_endocarditis":false,"temperature_c":37,"vomiting":false,"wbc_k":10},{"age":40,"bands_percent":2,"catheter":false,"chills":false,"creatinine_mg_dl":1,"hypotension":false,"neutrophil_percent":70,"platelets_k":250,"suspected_endocarditis":false,"temperature_c":37,"vomiting":false,"wbc_k":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"citation":{"authors":"Shapiro NI, Wolfe RE, Wright SB, Moore R, Bates DW","doi":"10.1016/j.jemermed.2008.04.001","id":"shapiro-2008","pmid":"18486413","source":"J Emerg Med. 2008;35(3):255-264","title":"Who needs a blood culture? A prospectively derived and validated prediction rule"},"criteria":[{"factor":"temperature_gt_39_5","met":false,"value":37},{"factor":"catheter","met":false},{"factor":"suspected_endocarditis","met":false},{"factor":"temperature_38_3_to_39_4","met":false,"value":37},{"factor":"age_gt_65","met":false,"value":40},{"factor":"chills","met":false},{"factor":"vomiting","met":false},{"factor":"hypotension","met":false},{"factor":"neutrophil_gt_80","met":false,"value":70},{"factor":"wbc_gt_18k","met":false,"value":10},{"factor":"bands_gt_5","met":false,"value":2},{"factor":"platelets_lt_150k","met":false,"value":250},{"factor":"creatinine_gt_2","met":false,"value":1}],"culture_indicated":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":"shapiro","formula_expression":"culture indicated if ≥1 major (temperature_c > 39.5, catheter, suspected_endocarditis) or ≥2 minor (temperature_c 38.3–39.4, age > 65, chills, vomiting, hypotension, neutrophil_percent > 80, wbc_k > 18, bands_percent > 5, platelets_k < 150, creatinine_mg_dl > 2.0) (Shapiro 2008)","major_count":0,"minor_count":0,"temperature_c":37},{"age":40,"citation":{"authors":"Shapiro NI, Wolfe RE, Wright SB, Moore R, Bates DW","doi":"10.1016/j.jemermed.2008.04.001","id":"shapiro-2008","pmid":"18486413","source":"J Emerg Med. 2008;35(3):255-264","title":"Who needs a blood culture? A prospectively derived and validated prediction rule"},"criteria":[{"factor":"temperature_gt_39_5","met":false,"value":37},{"factor":"catheter","met":false},{"factor":"suspected_endocarditis","met":false},{"factor":"temperature_38_3_to_39_4","met":false,"value":37},{"factor":"age_gt_65","met":false,"value":40},{"factor":"chills","met":false},{"factor":"vomiting","met":false},{"factor":"hypotension","met":false},{"factor":"neutrophil_gt_80","met":false,"value":70},{"factor":"wbc_gt_18k","met":false,"value":10},{"factor":"bands_gt_5","met":false,"value":2},{"factor":"platelets_lt_150k","met":false,"value":250},{"factor":"creatinine_gt_2","met":false,"value":1}],"culture_indicated":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":"shapiro","formula_expression":"culture indicated if ≥1 major (temperature_c > 39.5, catheter, suspected_endocarditis) or ≥2 minor (temperature_c 38.3–39.4, age > 65, chills, vomiting, hypotension, neutrophil_percent > 80, wbc_k > 18, bands_percent > 5, platelets_k < 150, creatinine_mg_dl > 2.0) (Shapiro 2008)","major_count":0,"minor_count":0,"temperature_c":37}],"path":"/api/calc/shapiro"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Age >65 is a Shapiro 2008 minor criterion; 65 is not. The published rule is for adults ≥18 years.","type":"integer"},"bands_percent":{"description":"Band percent (0-100). Shapiro 2008 minor when >5 (5 does not). magent does not assay a CBC.","type":"number"},"catheter":{"description":"Indwelling vascular catheter (Shapiro 2008 major). true or false as assigned by the caller. magent does not inspect lines.","type":"boolean"},"chills":{"description":"Chills (Shapiro 2008 minor). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"creatinine_mg_dl":{"description":"Creatinine in mg/dL (0.1-20.0). Shapiro 2008 minor when >2.0 (2.0 does not). magent does not assay creatinine.","type":"number"},"hypotension":{"description":"Hypotension (Shapiro 2008 minor: systolic blood pressure < 90 mm Hg). true or false as assigned by the caller. magent does not measure blood pressure.","type":"boolean"},"neutrophil_percent":{"description":"Neutrophil percent (0-100). Shapiro 2008 minor when >80 (80 does not). magent does not assay a CBC.","type":"number"},"platelets_k":{"description":"Platelet count in thousands (0-2000; same as 10^3/µL). Shapiro 2008 minor when <150 (150 does not). magent does not assay a CBC.","type":"number"},"suspected_endocarditis":{"description":"Clinical suspicion of endocarditis (Shapiro 2008 major). true or false as assigned by the caller. magent does not diagnose endocarditis.","type":"boolean"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). Major when >39.5 (39.5 is not). Minor when 38.3–39.4 inclusive. magent does not measure temperature.","type":"number"},"vomiting":{"description":"Vomiting (Shapiro 2008 minor). true or false as assigned by the caller. magent does not observe vomiting.","type":"boolean"},"wbc_k":{"description":"White blood cell count in thousands (0-500; same as 10^3/µL). Shapiro 2008 minor when >18 (18 does not). magent does not assay a CBC.","type":"number"}},"required":["age","temperature_c","catheter","suspected_endocarditis","chills","vomiting","hypotension","neutrophil_percent","wbc_k","bands_percent","platelets_k","creatinine_mg_dl"],"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":["shapiro","blood-culture","bacteremia","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:57:33.767Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:57:33.61Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"bands_percent":2,"catheter":false,"chills":false,"creatinine_mg_dl":1,"hypotension":false,"neutrophil_percent":70,"platelets_k":250,"suspected_endocarditis":false,"temperature_c":37,"vomiting":false,"wbc_k":10},{"age":40,"bands_percent":2,"catheter":false,"chills":false,"creatinine_mg_dl":1,"hypotension":false,"neutrophil_percent":70,"platelets_k":250,"suspected_endocarditis":false,"temperature_c":37,"vomiting":false,"wbc_k":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"citation":{"authors":"Shapiro NI, Wolfe RE, Wright SB, Moore R, Bates DW","doi":"10.1016/j.jemermed.2008.04.001","id":"shapiro-2008","pmid":"18486413","source":"J Emerg Med. 2008;35(3):255-264","title":"Who needs a blood culture? A prospectively derived and validated prediction rule"},"criteria":[{"factor":"temperature_gt_39_5","met":false,"value":37},{"factor":"catheter","met":false},{"factor":"suspected_endocarditis","met":false},{"factor":"temperature_38_3_to_39_4","met":false,"value":37},{"factor":"age_gt_65","met":false,"value":40},{"factor":"chills","met":false},{"factor":"vomiting","met":false},{"factor":"hypotension","met":false},{"factor":"neutrophil_gt_80","met":false,"value":70},{"factor":"wbc_gt_18k","met":false,"value":10},{"factor":"bands_gt_5","met":false,"value":2},{"factor":"platelets_lt_150k","met":false,"value":250},{"factor":"creatinine_gt_2","met":false,"value":1}],"culture_indicated":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":"shapiro","formula_expression":"culture indicated if ≥1 major (temperature_c > 39.5, catheter, suspected_endocarditis) or ≥2 minor (temperature_c 38.3–39.4, age > 65, chills, vomiting, hypotension, neutrophil_percent > 80, wbc_k > 18, bands_percent > 5, platelets_k < 150, creatinine_mg_dl > 2.0) (Shapiro 2008)","major_count":0,"minor_count":0,"temperature_c":37},{"age":40,"citation":{"authors":"Shapiro NI, Wolfe RE, Wright SB, Moore R, Bates DW","doi":"10.1016/j.jemermed.2008.04.001","id":"shapiro-2008","pmid":"18486413","source":"J Emerg Med. 2008;35(3):255-264","title":"Who needs a blood culture? A prospectively derived and validated prediction rule"},"criteria":[{"factor":"temperature_gt_39_5","met":false,"value":37},{"factor":"catheter","met":false},{"factor":"suspected_endocarditis","met":false},{"factor":"temperature_38_3_to_39_4","met":false,"value":37},{"factor":"age_gt_65","met":false,"value":40},{"factor":"chills","met":false},{"factor":"vomiting","met":false},{"factor":"hypotension","met":false},{"factor":"neutrophil_gt_80","met":false,"value":70},{"factor":"wbc_gt_18k","met":false,"value":10},{"factor":"bands_gt_5","met":false,"value":2},{"factor":"platelets_lt_150k","met":false,"value":250},{"factor":"creatinine_gt_2","met":false,"value":1}],"culture_indicated":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":"shapiro","formula_expression":"culture indicated if ≥1 major (temperature_c > 39.5, catheter, suspected_endocarditis) or ≥2 minor (temperature_c 38.3–39.4, age > 65, chills, vomiting, hypotension, neutrophil_percent > 80, wbc_k > 18, bands_percent > 5, platelets_k < 150, creatinine_mg_dl > 2.0) (Shapiro 2008)","major_count":0,"minor_count":0,"temperature_c":37}],"path":"/api/calc/shapiro"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Age >65 is a Shapiro 2008 minor criterion; 65 is not. The published rule is for adults ≥18 years.","type":"integer"},"bands_percent":{"description":"Band percent (0-100). Shapiro 2008 minor when >5 (5 does not). magent does not assay a CBC.","type":"number"},"catheter":{"description":"Indwelling vascular catheter (Shapiro 2008 major). true or false as assigned by the caller. magent does not inspect lines.","type":"boolean"},"chills":{"description":"Chills (Shapiro 2008 minor). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"creatinine_mg_dl":{"description":"Creatinine in mg/dL (0.1-20.0). Shapiro 2008 minor when >2.0 (2.0 does not). magent does not assay creatinine.","type":"number"},"hypotension":{"description":"Hypotension (Shapiro 2008 minor: systolic blood pressure < 90 mm Hg). true or false as assigned by the caller. magent does not measure blood pressure.","type":"boolean"},"neutrophil_percent":{"description":"Neutrophil percent (0-100). Shapiro 2008 minor when >80 (80 does not). magent does not assay a CBC.","type":"number"},"platelets_k":{"description":"Platelet count in thousands (0-2000; same as 10^3/µL). Shapiro 2008 minor when <150 (150 does not). magent does not assay a CBC.","type":"number"},"suspected_endocarditis":{"description":"Clinical suspicion of endocarditis (Shapiro 2008 major). true or false as assigned by the caller. magent does not diagnose endocarditis.","type":"boolean"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). Major when >39.5 (39.5 is not). Minor when 38.3–39.4 inclusive. magent does not measure temperature.","type":"number"},"vomiting":{"description":"Vomiting (Shapiro 2008 minor). true or false as assigned by the caller. magent does not observe vomiting.","type":"boolean"},"wbc_k":{"description":"White blood cell count in thousands (0-500; same as 10^3/µL). Shapiro 2008 minor when >18 (18 does not). magent does not assay a CBC.","type":"number"}},"required":["age","temperature_c","catheter","suspected_endocarditis","chills","vomiting","hypotension","neutrophil_percent","wbc_k","bands_percent","platelets_k","creatinine_mg_dl"],"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},{"id":38806,"slug":"38806","resource":"https://api.magentlab.com/api/calc/shanghai","description":"Antzelevitch 2016 Shanghai Score System (Table 2) for Brugada syndrome. Caller assigns ECG (spontaneous type 1 3.5, fever type 1 3, drug-converted type 2/3 2; required; highest only), clinical history (0–3), family history (0–2), and pathogenic BrS-gene mutation (0.5). Bands: probable_definite ≥3.5, possible 2–3. magent does not read tracings. Not a diagnosis or ICD indication. Not the ERS Table 5 score.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"clinical":"none","ecg_pattern":"spontaneous_type1","family":"none","pathogenic_mutation":false},{"clinical":"none","ecg_pattern":"spontaneous_type1","family":"none","pathogenic_mutation":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Antzelevitch C, Yan GX, Ackerman MJ, Borggrefe M, Corrado D, Guo J, et al.","doi":"10.1016/j.hrthm.2016.05.024","id":"antzelevitch-2016","pmid":"27423412","source":"Heart Rhythm. 2016;13(10):e295-e324","title":"J-Wave syndromes expert consensus conference report: Emerging concepts and gaps in knowledge"},"clinical":"none","components":[{"factor":"ecg_pattern","points":3.5,"present":true,"value":"spontaneous_type1"},{"factor":"clinical","points":0,"present":false,"value":"none"},{"factor":"family","points":0,"present":false,"value":"none"},{"factor":"pathogenic_mutation","points":0,"present":false,"value":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.","ecg_pattern":"spontaneous_type1","family":"none","formula":"shanghai","formula_expression":"Shanghai Table 2 (Antzelevitch 2016): ECG required, highest only (spontaneous_type1 3.5, fever_type1 3, drug_converted_type2_3 2) + clinical highest only (vf_arrest 3, nocturnal_agonal 2, arrhythmic_syncope 2, unclear_syncope 1, af_under_30 0.5, none 0) + family highest only (relative_definite_brs 2, suspicious_scd 1, unexplained_scd_under_45 0.5, none 0) + pathogenic_mutation 0.5; max 9; probable_definite ≥3.5, possible 2–3, nondiagnostic <2. Not ERS Table 5","max_score":9,"pathogenic_mutation":false,"score":3.5,"shanghai_band":"probable_definite"},{"citation":{"authors":"Antzelevitch C, Yan GX, Ackerman MJ, Borggrefe M, Corrado D, Guo J, et al.","doi":"10.1016/j.hrthm.2016.05.024","id":"antzelevitch-2016","pmid":"27423412","source":"Heart Rhythm. 2016;13(10):e295-e324","title":"J-Wave syndromes expert consensus conference report: Emerging concepts and gaps in knowledge"},"clinical":"none","components":[{"factor":"ecg_pattern","points":3.5,"present":true,"value":"spontaneous_type1"},{"factor":"clinical","points":0,"present":false,"value":"none"},{"factor":"family","points":0,"present":false,"value":"none"},{"factor":"pathogenic_mutation","points":0,"present":false,"value":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.","ecg_pattern":"spontaneous_type1","family":"none","formula":"shanghai","formula_expression":"Shanghai Table 2 (Antzelevitch 2016): ECG required, highest only (spontaneous_type1 3.5, fever_type1 3, drug_converted_type2_3 2) + clinical highest only (vf_arrest 3, nocturnal_agonal 2, arrhythmic_syncope 2, unclear_syncope 1, af_under_30 0.5, none 0) + family highest only (relative_definite_brs 2, suspicious_scd 1, unexplained_scd_under_45 0.5, none 0) + pathogenic_mutation 0.5; max 9; probable_definite ≥3.5, possible 2–3, nondiagnostic <2. Not ERS Table 5","max_score":9,"pathogenic_mutation":false,"score":3.5,"shanghai_band":"probable_definite"}],"path":"/api/calc/shanghai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"clinical":{"description":"Highest Table 2 clinical-history item as assigned by the caller (Antzelevitch 2016). vf_arrest 3; nocturnal_agonal 2; arrhythmic_syncope 2; unclear_syncope 1; af_under_30 0.5; none 0. Optional; omitted defaults to none. Award once (highest item only). magent does not take a history.","enum":["vf_arrest","nocturnal_agonal","arrhythmic_syncope","unclear_syncope","af_under_30","none"],"type":"string"},"ecg_pattern":{"description":"Highest Table 2 ECG finding as assigned by the caller (Antzelevitch 2016). spontaneous_type1 scores 3.5; fever_type1 scores 3; drug_converted_type2_3 scores 2. At least one ECG finding is required. Award once (highest item only). magent does not read tracings.","enum":["spontaneous_type1","fever_type1","drug_converted_type2_3"],"type":"string"},"family":{"description":"Highest Table 2 family-history item as assigned by the caller (Antzelevitch 2016). relative_definite_brs 2; suspicious_scd 1; unexplained_scd_under_45 0.5; none 0. Optional; omitted defaults to none. Award once (highest item only). magent does not take a pedigree.","enum":["relative_definite_brs","suspicious_scd","unexplained_scd_under_45","none"],"type":"string"},"pathogenic_mutation":{"description":"Probable pathogenic mutation in a BrS susceptibility gene (Antzelevitch 2016 Table 2 IV). true scores 0.5; false scores 0. magent does not interpret sequencing.","type":"boolean"}},"required":["ecg_pattern","pathogenic_mutation"],"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":["shanghai","brugada","ecg","j-wave","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:57:32.197Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:57:32.041Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"clinical":"none","ecg_pattern":"spontaneous_type1","family":"none","pathogenic_mutation":false},{"clinical":"none","ecg_pattern":"spontaneous_type1","family":"none","pathogenic_mutation":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Antzelevitch C, Yan GX, Ackerman MJ, Borggrefe M, Corrado D, Guo J, et al.","doi":"10.1016/j.hrthm.2016.05.024","id":"antzelevitch-2016","pmid":"27423412","source":"Heart Rhythm. 2016;13(10):e295-e324","title":"J-Wave syndromes expert consensus conference report: Emerging concepts and gaps in knowledge"},"clinical":"none","components":[{"factor":"ecg_pattern","points":3.5,"present":true,"value":"spontaneous_type1"},{"factor":"clinical","points":0,"present":false,"value":"none"},{"factor":"family","points":0,"present":false,"value":"none"},{"factor":"pathogenic_mutation","points":0,"present":false,"value":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.","ecg_pattern":"spontaneous_type1","family":"none","formula":"shanghai","formula_expression":"Shanghai Table 2 (Antzelevitch 2016): ECG required, highest only (spontaneous_type1 3.5, fever_type1 3, drug_converted_type2_3 2) + clinical highest only (vf_arrest 3, nocturnal_agonal 2, arrhythmic_syncope 2, unclear_syncope 1, af_under_30 0.5, none 0) + family highest only (relative_definite_brs 2, suspicious_scd 1, unexplained_scd_under_45 0.5, none 0) + pathogenic_mutation 0.5; max 9; probable_definite ≥3.5, possible 2–3, nondiagnostic <2. Not ERS Table 5","max_score":9,"pathogenic_mutation":false,"score":3.5,"shanghai_band":"probable_definite"},{"citation":{"authors":"Antzelevitch C, Yan GX, Ackerman MJ, Borggrefe M, Corrado D, Guo J, et al.","doi":"10.1016/j.hrthm.2016.05.024","id":"antzelevitch-2016","pmid":"27423412","source":"Heart Rhythm. 2016;13(10):e295-e324","title":"J-Wave syndromes expert consensus conference report: Emerging concepts and gaps in knowledge"},"clinical":"none","components":[{"factor":"ecg_pattern","points":3.5,"present":true,"value":"spontaneous_type1"},{"factor":"clinical","points":0,"present":false,"value":"none"},{"factor":"family","points":0,"present":false,"value":"none"},{"factor":"pathogenic_mutation","points":0,"present":false,"value":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.","ecg_pattern":"spontaneous_type1","family":"none","formula":"shanghai","formula_expression":"Shanghai Table 2 (Antzelevitch 2016): ECG required, highest only (spontaneous_type1 3.5, fever_type1 3, drug_converted_type2_3 2) + clinical highest only (vf_arrest 3, nocturnal_agonal 2, arrhythmic_syncope 2, unclear_syncope 1, af_under_30 0.5, none 0) + family highest only (relative_definite_brs 2, suspicious_scd 1, unexplained_scd_under_45 0.5, none 0) + pathogenic_mutation 0.5; max 9; probable_definite ≥3.5, possible 2–3, nondiagnostic <2. Not ERS Table 5","max_score":9,"pathogenic_mutation":false,"score":3.5,"shanghai_band":"probable_definite"}],"path":"/api/calc/shanghai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"clinical":{"description":"Highest Table 2 clinical-history item as assigned by the caller (Antzelevitch 2016). vf_arrest 3; nocturnal_agonal 2; arrhythmic_syncope 2; unclear_syncope 1; af_under_30 0.5; none 0. Optional; omitted defaults to none. Award once (highest item only). magent does not take a history.","enum":["vf_arrest","nocturnal_agonal","arrhythmic_syncope","unclear_syncope","af_under_30","none"],"type":"string"},"ecg_pattern":{"description":"Highest Table 2 ECG finding as assigned by the caller (Antzelevitch 2016). spontaneous_type1 scores 3.5; fever_type1 scores 3; drug_converted_type2_3 scores 2. At least one ECG finding is required. Award once (highest item only). magent does not read tracings.","enum":["spontaneous_type1","fever_type1","drug_converted_type2_3"],"type":"string"},"family":{"description":"Highest Table 2 family-history item as assigned by the caller (Antzelevitch 2016). relative_definite_brs 2; suspicious_scd 1; unexplained_scd_under_45 0.5; none 0. Optional; omitted defaults to none. Award once (highest item only). magent does not take a pedigree.","enum":["relative_definite_brs","suspicious_scd","unexplained_scd_under_45","none"],"type":"string"},"pathogenic_mutation":{"description":"Probable pathogenic mutation in a BrS susceptibility gene (Antzelevitch 2016 Table 2 IV). true scores 0.5; false scores 0. magent does not interpret sequencing.","type":"boolean"}},"required":["ecg_pattern","pathogenic_mutation"],"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},{"id":38807,"slug":"38807","resource":"https://api.magentlab.com/api/calc/sgarbossa","description":"Sgarbossa 1996 GUSTO-1 criteria for evolving AMI in left bundle-branch block: caller-assigned concordant ST elevation ≥1 mm (5), concordant ST depression ≥1 mm in V1–V3 (3), and discordant ST elevation ≥5 mm (2). Max 10. Score ≥3 had ~90% specificity in the derivation. Deterministic published score with citation; not a diagnosis, not the Smith modification, and magent does not read the tracing.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"concordant_st_depression_v1_v3":false,"concordant_st_elevation_1mm":false,"discordant_st_elevation_5mm":false},{"concordant_st_depression_v1_v3":false,"concordant_st_elevation_1mm":false,"discordant_st_elevation_5mm":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sgarbossa EB, Pinski SL, Barbagelata A, et al.","doi":"10.1056/NEJM199602223340801","id":"sgarbossa-1996","pmid":"8559200","source":"N Engl J Med. 1996;334(8):481-487","title":"Electrocardiographic diagnosis of evolving acute myocardial infarction in the presence of left bundle-branch block"},"components":[{"factor":"concordant_st_elevation_1mm","points":0,"present":false},{"factor":"concordant_st_depression_v1_v3","points":0,"present":false},{"factor":"discordant_st_elevation_5mm","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":"sgarbossa","formula_expression":"Sgarbossa = 5*concordant_st_elevation_1mm + 3*concordant_st_depression_v1_v3 + 2*discordant_st_elevation_5mm; max 10; score_ge_3 iff total >= 3","max_score":10,"score":0,"score_ge_3":false},{"citation":{"authors":"Sgarbossa EB, Pinski SL, Barbagelata A, et al.","doi":"10.1056/NEJM199602223340801","id":"sgarbossa-1996","pmid":"8559200","source":"N Engl J Med. 1996;334(8):481-487","title":"Electrocardiographic diagnosis of evolving acute myocardial infarction in the presence of left bundle-branch block"},"components":[{"factor":"concordant_st_elevation_1mm","points":0,"present":false},{"factor":"concordant_st_depression_v1_v3","points":0,"present":false},{"factor":"discordant_st_elevation_5mm","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":"sgarbossa","formula_expression":"Sgarbossa = 5*concordant_st_elevation_1mm + 3*concordant_st_depression_v1_v3 + 2*discordant_st_elevation_5mm; max 10; score_ge_3 iff total >= 3","max_score":10,"score":0,"score_ge_3":false}],"path":"/api/calc/sgarbossa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"concordant_st_depression_v1_v3":{"description":"Concordant ST depression ≥1 mm in V1, V2, or V3 (Sgarbossa 1996, 3 points). true or false as assigned by the caller. magent does not measure the ECG.","type":"boolean"},"concordant_st_elevation_1mm":{"description":"Concordant ST elevation ≥1 mm in a lead with a positive QRS (Sgarbossa 1996, 5 points). true or false as assigned by the caller. magent does not measure the ECG.","type":"boolean"},"discordant_st_elevation_5mm":{"description":"Discordant ST elevation ≥5 mm (ST opposite QRS; Sgarbossa 1996, 2 points). true or false as assigned by the caller. magent does not measure the ECG. Not the Smith ST/S ratio.","type":"boolean"}},"required":["concordant_st_elevation_1mm","concordant_st_depression_v1_v3","discordant_st_elevation_5mm"],"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":["sgarbossa","lbbb","ami","ecg","acs","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:52:52.707Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:52:52.57Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"concordant_st_depression_v1_v3":false,"concordant_st_elevation_1mm":false,"discordant_st_elevation_5mm":false},{"concordant_st_depression_v1_v3":false,"concordant_st_elevation_1mm":false,"discordant_st_elevation_5mm":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sgarbossa EB, Pinski SL, Barbagelata A, et al.","doi":"10.1056/NEJM199602223340801","id":"sgarbossa-1996","pmid":"8559200","source":"N Engl J Med. 1996;334(8):481-487","title":"Electrocardiographic diagnosis of evolving acute myocardial infarction in the presence of left bundle-branch block"},"components":[{"factor":"concordant_st_elevation_1mm","points":0,"present":false},{"factor":"concordant_st_depression_v1_v3","points":0,"present":false},{"factor":"discordant_st_elevation_5mm","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":"sgarbossa","formula_expression":"Sgarbossa = 5*concordant_st_elevation_1mm + 3*concordant_st_depression_v1_v3 + 2*discordant_st_elevation_5mm; max 10; score_ge_3 iff total >= 3","max_score":10,"score":0,"score_ge_3":false},{"citation":{"authors":"Sgarbossa EB, Pinski SL, Barbagelata A, et al.","doi":"10.1056/NEJM199602223340801","id":"sgarbossa-1996","pmid":"8559200","source":"N Engl J Med. 1996;334(8):481-487","title":"Electrocardiographic diagnosis of evolving acute myocardial infarction in the presence of left bundle-branch block"},"components":[{"factor":"concordant_st_elevation_1mm","points":0,"present":false},{"factor":"concordant_st_depression_v1_v3","points":0,"present":false},{"factor":"discordant_st_elevation_5mm","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":"sgarbossa","formula_expression":"Sgarbossa = 5*concordant_st_elevation_1mm + 3*concordant_st_depression_v1_v3 + 2*discordant_st_elevation_5mm; max 10; score_ge_3 iff total >= 3","max_score":10,"score":0,"score_ge_3":false}],"path":"/api/calc/sgarbossa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"concordant_st_depression_v1_v3":{"description":"Concordant ST depression ≥1 mm in V1, V2, or V3 (Sgarbossa 1996, 3 points). true or false as assigned by the caller. magent does not measure the ECG.","type":"boolean"},"concordant_st_elevation_1mm":{"description":"Concordant ST elevation ≥1 mm in a lead with a positive QRS (Sgarbossa 1996, 5 points). true or false as assigned by the caller. magent does not measure the ECG.","type":"boolean"},"discordant_st_elevation_5mm":{"description":"Discordant ST elevation ≥5 mm (ST opposite QRS; Sgarbossa 1996, 2 points). true or false as assigned by the caller. magent does not measure the ECG. Not the Smith ST/S ratio.","type":"boolean"}},"required":["concordant_st_elevation_1mm","concordant_st_depression_v1_v3","discordant_st_elevation_5mm"],"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},{"id":38808,"slug":"38808","resource":"https://api.magentlab.com/api/calc/sex_shock","description":"Wang 2024 SEX-SHOCK Supplementary Table S13 sex-specific integer nomogram for in-hospital cardiogenic shock after ACS PCI. ORBI-like clinical flags plus ST-segment elevation, LVEF bands, and log-transformed creatinine and CRP levels as printed. Sum points; S13 Pr(CS) conversion. Not a medical device, not a cath-lab or shock-treatment order, and not ORBI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":65,"cardiac_arrest_on_admission":false,"creatinine_log":4,"crp_log":0,"glucose_gt_10_mmol_l":false,"heart_rate_gt_90":false,"killip_class_iii":false,"left_main_culprit":false,"lvef_band":"gt_50","post_pci_timi_lt_3":false,"sbp_lt_125_and_pp_lt_45":false,"sex":"female","st_segment_elevation":true},{"age_years":65,"cardiac_arrest_on_admission":false,"creatinine_log":4,"crp_log":0,"glucose_gt_10_mmol_l":false,"heart_rate_gt_90":false,"killip_class_iii":false,"left_main_culprit":false,"lvef_band":"gt_50","post_pci_timi_lt_3":false,"sbp_lt_125_and_pp_lt_45":false,"sex":"female","st_segment_elevation":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"citation":{"authors":"Wang Y, Zeller M, Auffret V, Georgiopoulos G, Räber L, Roffi M, Templin C, Muller O, Liberale L, Ministrini S, Stamatelopoulos K, Stellos K, Camici GG, Montecucco F, Rickli H, Maza M, Radovanovic D, Cottin Y, Chague F, Niederseer D, Lüscher TF, Kraler S; AMIS-Plus, SPUM-ACS and RICO investigators","doi":"10.1093/eurheartj/ehae593","id":"wang-2024-sex-shock","pmid":"39217456","source":"Eur Heart J. 2024;45(43):4564-4578","title":"Sex-specific prediction of cardiogenic shock after acute coronary syndromes: the SEX-SHOCK score"},"components":[{"factor":"post_pci_timi_lt_3","points":49,"present":false,"value":false},{"factor":"left_main_culprit","points":49,"present":false,"value":false},{"factor":"glucose_gt_10_mmol_l","points":49,"present":false,"value":false},{"factor":"sbp_lt_125_and_pp_lt_45","points":49,"present":false,"value":false},{"factor":"heart_rate_gt_90","points":49,"present":false,"value":false},{"factor":"killip_class_iii","points":49,"present":false,"value":false},{"factor":"cardiac_arrest_on_admission","points":49,"present":false,"value":false},{"factor":"st_segment_elevation","points":50,"present":true,"value":true},{"factor":"age_years","points":49,"present":false,"value":65},{"factor":"lvef_band","points":0,"present":false,"value":"gt_50"},{"factor":"creatinine_log","points":15,"present":true,"value":4},{"factor":"crp_log","points":43,"present":true,"value":0}],"creatinine_log":4,"crp_log":0,"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":"sex_shock","formula_expression":"SEX-SHOCK = S13 sex-specific nomogram points (female|male): post_pci_timi_lt_3 (F 49/67, M 49/61) + left_main_culprit (F 49/65, M 49/71) + glucose_gt_10_mmol_l (F 49/59, M 49/69) + sbp_lt_125_and_pp_lt_45 (F 49/70, M 49/66) + heart_rate_gt_90 (F 49/55, M 49/62) + killip_class_iii (F 49/76, M 49/66) + cardiac_arrest_on_admission (F 49/81, M 49/77) + age_years (<70: 49; >=70 F 54 M 55) + lvef_band (gt_50: 0; 35_to_50 F 22 M 18; lt_35: 49) + st_segment_elevation (F 49/50, M 49/68) + creatinine_log ticks (F 4:15 5:31 6:46 7:62 8:77 9:92; M 4.5:21 5.5:35 6.5:50 7.5:65 8.5:80 9.5:94; linear interpolate, round) + crp_log ticks (F 0:43 4:52 8:61; M 0:45 6:55 10:61; linear interpolate, round); sum; in_hospital_cs_probability is S13 Pr(CS) at printed totals (F 500-720, M 500-740; linear between ticks; clamp outside); max F 779 M 799; Wang 2024 Table S13; not ORBI; not CS-on-admission","in_hospital_cs_probability":0.001342,"lvef_band":"gt_50","max_score":779,"score":500,"sex":"female"},{"age_years":65,"citation":{"authors":"Wang Y, Zeller M, Auffret V, Georgiopoulos G, Räber L, Roffi M, Templin C, Muller O, Liberale L, Ministrini S, Stamatelopoulos K, Stellos K, Camici GG, Montecucco F, Rickli H, Maza M, Radovanovic D, Cottin Y, Chague F, Niederseer D, Lüscher TF, Kraler S; AMIS-Plus, SPUM-ACS and RICO investigators","doi":"10.1093/eurheartj/ehae593","id":"wang-2024-sex-shock","pmid":"39217456","source":"Eur Heart J. 2024;45(43):4564-4578","title":"Sex-specific prediction of cardiogenic shock after acute coronary syndromes: the SEX-SHOCK score"},"components":[{"factor":"post_pci_timi_lt_3","points":49,"present":false,"value":false},{"factor":"left_main_culprit","points":49,"present":false,"value":false},{"factor":"glucose_gt_10_mmol_l","points":49,"present":false,"value":false},{"factor":"sbp_lt_125_and_pp_lt_45","points":49,"present":false,"value":false},{"factor":"heart_rate_gt_90","points":49,"present":false,"value":false},{"factor":"killip_class_iii","points":49,"present":false,"value":false},{"factor":"cardiac_arrest_on_admission","points":49,"present":false,"value":false},{"factor":"st_segment_elevation","points":50,"present":true,"value":true},{"factor":"age_years","points":49,"present":false,"value":65},{"factor":"lvef_band","points":0,"present":false,"value":"gt_50"},{"factor":"creatinine_log","points":15,"present":true,"value":4},{"factor":"crp_log","points":43,"present":true,"value":0}],"creatinine_log":4,"crp_log":0,"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":"sex_shock","formula_expression":"SEX-SHOCK = S13 sex-specific nomogram points (female|male): post_pci_timi_lt_3 (F 49/67, M 49/61) + left_main_culprit (F 49/65, M 49/71) + glucose_gt_10_mmol_l (F 49/59, M 49/69) + sbp_lt_125_and_pp_lt_45 (F 49/70, M 49/66) + heart_rate_gt_90 (F 49/55, M 49/62) + killip_class_iii (F 49/76, M 49/66) + cardiac_arrest_on_admission (F 49/81, M 49/77) + age_years (<70: 49; >=70 F 54 M 55) + lvef_band (gt_50: 0; 35_to_50 F 22 M 18; lt_35: 49) + st_segment_elevation (F 49/50, M 49/68) + creatinine_log ticks (F 4:15 5:31 6:46 7:62 8:77 9:92; M 4.5:21 5.5:35 6.5:50 7.5:65 8.5:80 9.5:94; linear interpolate, round) + crp_log ticks (F 0:43 4:52 8:61; M 0:45 6:55 10:61; linear interpolate, round); sum; in_hospital_cs_probability is S13 Pr(CS) at printed totals (F 500-720, M 500-740; linear between ticks; clamp outside); max F 779 M 799; Wang 2024 Table S13; not ORBI; not CS-on-admission","in_hospital_cs_probability":0.001342,"lvef_band":"gt_50","max_score":779,"score":500,"sex":"female"}],"path":"/api/calc/sex_shock"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (18-120). Wang 2024 S13 levels: <70 scores 49; >=70 scores 54 (female) or 55 (male).","type":"integer"},"cardiac_arrest_on_admission":{"description":"Presentation as cardiac arrest (Wang 2024 S13: female No 49 / Yes 81; male No 49 / Yes 77). true or false.","type":"boolean"},"creatinine_log":{"description":"Wang 2024 S13 log-transformed creatinine nomogram level (Figure 6 axis), not raw µmol/L. Female printed ticks 4-9; male 4.5-9.5. magent does not convert units or invent cutoffs.","type":"number"},"crp_log":{"description":"Wang 2024 S13 log-transformed CRP nomogram level (Figure 6 axis), not raw mg/L. Female printed ticks 0, 4, 8; male 0, 6, 10. magent does not assay CRP or invent cutoffs.","type":"number"},"glucose_gt_10_mmol_l":{"description":"Admission glycaemia >10 mmol/L (Wang 2024 S13: female No 49 / Yes 59; male No 49 / Yes 69). true or false. magent does not convert units.","type":"boolean"},"heart_rate_gt_90":{"description":"Heart rate >90/min (Wang 2024 S13: female No 49 / Yes 55; male No 49 / Yes 62). true or false.","type":"boolean"},"killip_class_iii":{"description":"Killip class III (Wang 2024 S13: female No 49 / Yes 76; male No 49 / Yes 66). Killip I and II score as No. magent does not examine the patient.","type":"boolean"},"left_main_culprit":{"description":"Culprit lesion of the left main (Wang 2024 S13: female No 49 / Yes 65; male No 49 / Yes 71). Caller-assigned. magent does not read the angiogram.","type":"boolean"},"lvef_band":{"description":"Caller-assigned LVEF band (Wang 2024 S13): lt_35 (49), 35_to_50 (female 22, male 18), or gt_50 (0). magent does not measure LVEF.","enum":["lt_35","35_to_50","gt_50"],"type":"string"},"post_pci_timi_lt_3":{"description":"Post-PCI TIMI flow <3 (Wang 2024 S13: female No 49 / Yes 67; male No 49 / Yes 61). Caller-assigned. magent does not assign TIMI flow.","type":"boolean"},"sbp_lt_125_and_pp_lt_45":{"description":"Systolic BP <125 mm Hg and pulse pressure <45 mm Hg together (Wang 2024 S13: female No 49 / Yes 70; male No 49 / Yes 66). Single caller-assigned boolean.","type":"boolean"},"sex":{"description":"Caller-assigned sex for the Wang 2024 S13 female or male nomogram. female or male. magent does not assign sex.","enum":["female","male"],"type":"string"},"st_segment_elevation":{"description":"ST-segment elevation (Wang 2024 S13: female No 49 / Yes 50; male No 49 / Yes 68). Caller-assigned. magent does not read the ECG.","type":"boolean"}},"required":["sex","post_pci_timi_lt_3","left_main_culprit","glucose_gt_10_mmol_l","sbp_lt_125_and_pp_lt_45","heart_rate_gt_90","killip_class_iii","cardiac_arrest_on_admission","age_years","lvef_band","st_segment_elevation","creatinine_log","crp_log"],"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":["sex-shock","acs","shock","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:52:51.867Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:52:51.706Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":65,"cardiac_arrest_on_admission":false,"creatinine_log":4,"crp_log":0,"glucose_gt_10_mmol_l":false,"heart_rate_gt_90":false,"killip_class_iii":false,"left_main_culprit":false,"lvef_band":"gt_50","post_pci_timi_lt_3":false,"sbp_lt_125_and_pp_lt_45":false,"sex":"female","st_segment_elevation":true},{"age_years":65,"cardiac_arrest_on_admission":false,"creatinine_log":4,"crp_log":0,"glucose_gt_10_mmol_l":false,"heart_rate_gt_90":false,"killip_class_iii":false,"left_main_culprit":false,"lvef_band":"gt_50","post_pci_timi_lt_3":false,"sbp_lt_125_and_pp_lt_45":false,"sex":"female","st_segment_elevation":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"citation":{"authors":"Wang Y, Zeller M, Auffret V, Georgiopoulos G, Räber L, Roffi M, Templin C, Muller O, Liberale L, Ministrini S, Stamatelopoulos K, Stellos K, Camici GG, Montecucco F, Rickli H, Maza M, Radovanovic D, Cottin Y, Chague F, Niederseer D, Lüscher TF, Kraler S; AMIS-Plus, SPUM-ACS and RICO investigators","doi":"10.1093/eurheartj/ehae593","id":"wang-2024-sex-shock","pmid":"39217456","source":"Eur Heart J. 2024;45(43):4564-4578","title":"Sex-specific prediction of cardiogenic shock after acute coronary syndromes: the SEX-SHOCK score"},"components":[{"factor":"post_pci_timi_lt_3","points":49,"present":false,"value":false},{"factor":"left_main_culprit","points":49,"present":false,"value":false},{"factor":"glucose_gt_10_mmol_l","points":49,"present":false,"value":false},{"factor":"sbp_lt_125_and_pp_lt_45","points":49,"present":false,"value":false},{"factor":"heart_rate_gt_90","points":49,"present":false,"value":false},{"factor":"killip_class_iii","points":49,"present":false,"value":false},{"factor":"cardiac_arrest_on_admission","points":49,"present":false,"value":false},{"factor":"st_segment_elevation","points":50,"present":true,"value":true},{"factor":"age_years","points":49,"present":false,"value":65},{"factor":"lvef_band","points":0,"present":false,"value":"gt_50"},{"factor":"creatinine_log","points":15,"present":true,"value":4},{"factor":"crp_log","points":43,"present":true,"value":0}],"creatinine_log":4,"crp_log":0,"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":"sex_shock","formula_expression":"SEX-SHOCK = S13 sex-specific nomogram points (female|male): post_pci_timi_lt_3 (F 49/67, M 49/61) + left_main_culprit (F 49/65, M 49/71) + glucose_gt_10_mmol_l (F 49/59, M 49/69) + sbp_lt_125_and_pp_lt_45 (F 49/70, M 49/66) + heart_rate_gt_90 (F 49/55, M 49/62) + killip_class_iii (F 49/76, M 49/66) + cardiac_arrest_on_admission (F 49/81, M 49/77) + age_years (<70: 49; >=70 F 54 M 55) + lvef_band (gt_50: 0; 35_to_50 F 22 M 18; lt_35: 49) + st_segment_elevation (F 49/50, M 49/68) + creatinine_log ticks (F 4:15 5:31 6:46 7:62 8:77 9:92; M 4.5:21 5.5:35 6.5:50 7.5:65 8.5:80 9.5:94; linear interpolate, round) + crp_log ticks (F 0:43 4:52 8:61; M 0:45 6:55 10:61; linear interpolate, round); sum; in_hospital_cs_probability is S13 Pr(CS) at printed totals (F 500-720, M 500-740; linear between ticks; clamp outside); max F 779 M 799; Wang 2024 Table S13; not ORBI; not CS-on-admission","in_hospital_cs_probability":0.001342,"lvef_band":"gt_50","max_score":779,"score":500,"sex":"female"},{"age_years":65,"citation":{"authors":"Wang Y, Zeller M, Auffret V, Georgiopoulos G, Räber L, Roffi M, Templin C, Muller O, Liberale L, Ministrini S, Stamatelopoulos K, Stellos K, Camici GG, Montecucco F, Rickli H, Maza M, Radovanovic D, Cottin Y, Chague F, Niederseer D, Lüscher TF, Kraler S; AMIS-Plus, SPUM-ACS and RICO investigators","doi":"10.1093/eurheartj/ehae593","id":"wang-2024-sex-shock","pmid":"39217456","source":"Eur Heart J. 2024;45(43):4564-4578","title":"Sex-specific prediction of cardiogenic shock after acute coronary syndromes: the SEX-SHOCK score"},"components":[{"factor":"post_pci_timi_lt_3","points":49,"present":false,"value":false},{"factor":"left_main_culprit","points":49,"present":false,"value":false},{"factor":"glucose_gt_10_mmol_l","points":49,"present":false,"value":false},{"factor":"sbp_lt_125_and_pp_lt_45","points":49,"present":false,"value":false},{"factor":"heart_rate_gt_90","points":49,"present":false,"value":false},{"factor":"killip_class_iii","points":49,"present":false,"value":false},{"factor":"cardiac_arrest_on_admission","points":49,"present":false,"value":false},{"factor":"st_segment_elevation","points":50,"present":true,"value":true},{"factor":"age_years","points":49,"present":false,"value":65},{"factor":"lvef_band","points":0,"present":false,"value":"gt_50"},{"factor":"creatinine_log","points":15,"present":true,"value":4},{"factor":"crp_log","points":43,"present":true,"value":0}],"creatinine_log":4,"crp_log":0,"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":"sex_shock","formula_expression":"SEX-SHOCK = S13 sex-specific nomogram points (female|male): post_pci_timi_lt_3 (F 49/67, M 49/61) + left_main_culprit (F 49/65, M 49/71) + glucose_gt_10_mmol_l (F 49/59, M 49/69) + sbp_lt_125_and_pp_lt_45 (F 49/70, M 49/66) + heart_rate_gt_90 (F 49/55, M 49/62) + killip_class_iii (F 49/76, M 49/66) + cardiac_arrest_on_admission (F 49/81, M 49/77) + age_years (<70: 49; >=70 F 54 M 55) + lvef_band (gt_50: 0; 35_to_50 F 22 M 18; lt_35: 49) + st_segment_elevation (F 49/50, M 49/68) + creatinine_log ticks (F 4:15 5:31 6:46 7:62 8:77 9:92; M 4.5:21 5.5:35 6.5:50 7.5:65 8.5:80 9.5:94; linear interpolate, round) + crp_log ticks (F 0:43 4:52 8:61; M 0:45 6:55 10:61; linear interpolate, round); sum; in_hospital_cs_probability is S13 Pr(CS) at printed totals (F 500-720, M 500-740; linear between ticks; clamp outside); max F 779 M 799; Wang 2024 Table S13; not ORBI; not CS-on-admission","in_hospital_cs_probability":0.001342,"lvef_band":"gt_50","max_score":779,"score":500,"sex":"female"}],"path":"/api/calc/sex_shock"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (18-120). Wang 2024 S13 levels: <70 scores 49; >=70 scores 54 (female) or 55 (male).","type":"integer"},"cardiac_arrest_on_admission":{"description":"Presentation as cardiac arrest (Wang 2024 S13: female No 49 / Yes 81; male No 49 / Yes 77). true or false.","type":"boolean"},"creatinine_log":{"description":"Wang 2024 S13 log-transformed creatinine nomogram level (Figure 6 axis), not raw µmol/L. Female printed ticks 4-9; male 4.5-9.5. magent does not convert units or invent cutoffs.","type":"number"},"crp_log":{"description":"Wang 2024 S13 log-transformed CRP nomogram level (Figure 6 axis), not raw mg/L. Female printed ticks 0, 4, 8; male 0, 6, 10. magent does not assay CRP or invent cutoffs.","type":"number"},"glucose_gt_10_mmol_l":{"description":"Admission glycaemia >10 mmol/L (Wang 2024 S13: female No 49 / Yes 59; male No 49 / Yes 69). true or false. magent does not convert units.","type":"boolean"},"heart_rate_gt_90":{"description":"Heart rate >90/min (Wang 2024 S13: female No 49 / Yes 55; male No 49 / Yes 62). true or false.","type":"boolean"},"killip_class_iii":{"description":"Killip class III (Wang 2024 S13: female No 49 / Yes 76; male No 49 / Yes 66). Killip I and II score as No. magent does not examine the patient.","type":"boolean"},"left_main_culprit":{"description":"Culprit lesion of the left main (Wang 2024 S13: female No 49 / Yes 65; male No 49 / Yes 71). Caller-assigned. magent does not read the angiogram.","type":"boolean"},"lvef_band":{"description":"Caller-assigned LVEF band (Wang 2024 S13): lt_35 (49), 35_to_50 (female 22, male 18), or gt_50 (0). magent does not measure LVEF.","enum":["lt_35","35_to_50","gt_50"],"type":"string"},"post_pci_timi_lt_3":{"description":"Post-PCI TIMI flow <3 (Wang 2024 S13: female No 49 / Yes 67; male No 49 / Yes 61). Caller-assigned. magent does not assign TIMI flow.","type":"boolean"},"sbp_lt_125_and_pp_lt_45":{"description":"Systolic BP <125 mm Hg and pulse pressure <45 mm Hg together (Wang 2024 S13: female No 49 / Yes 70; male No 49 / Yes 66). Single caller-assigned boolean.","type":"boolean"},"sex":{"description":"Caller-assigned sex for the Wang 2024 S13 female or male nomogram. female or male. magent does not assign sex.","enum":["female","male"],"type":"string"},"st_segment_elevation":{"description":"ST-segment elevation (Wang 2024 S13: female No 49 / Yes 50; male No 49 / Yes 68). Caller-assigned. magent does not read the ECG.","type":"boolean"}},"required":["sex","post_pci_timi_lt_3","left_main_culprit","glucose_gt_10_mmol_l","sbp_lt_125_and_pp_lt_45","heart_rate_gt_90","killip_class_iii","cardiac_arrest_on_admission","age_years","lvef_band","st_segment_elevation","creatinine_log","crp_log"],"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},{"id":38809,"slug":"38809","resource":"https://api.magentlab.com/api/calc/sf_syncope","description":"San Francisco Syncope Rule (CHESS) from history of CHF, hematocrit, abnormal ECG, shortness of breath, and systolic BP. Returns a 0-5 criterion count and rule-positive if any CHESS item is present. Deterministic published score with citation; not a disposition protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_ecg":false,"chf":false,"hematocrit_percent":40,"shortness_of_breath":false,"systolic_bp_mm_hg":120},{"abnormal_ecg":false,"chf":false,"hematocrit_percent":40,"shortness_of_breath":false,"systolic_bp_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Quinn JV, Stiell IG, McDermott DA, Sellers KL, Kohn MA, Wells GA","doi":"10.1016/S0196-0644(03)00823-0","id":"quinn-2004","source":"Ann Emerg Med. 2004;43(2):224-232","title":"Derivation of the San Francisco Syncope Rule to predict patients with short-term serious outcomes"},"components":[{"factor":"chf","points":0,"present":false},{"factor":"hematocrit_lt_30","points":0,"present":false,"value":40},{"factor":"abnormal_ecg","points":0,"present":false},{"factor":"shortness_of_breath","points":0,"present":false},{"factor":"systolic_bp_lt_90","points":0,"present":false,"value":120}],"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":"sf_syncope","formula_expression":"CHESS = chf + hematocrit_lt_30 + abnormal_ecg + shortness_of_breath + systolic_bp_lt_90; rule-positive if score ≥ 1; max 5","hematocrit_percent":40,"max_score":5,"rule_positive":false,"score":0,"systolic_bp_mm_hg":120},{"citation":{"authors":"Quinn JV, Stiell IG, McDermott DA, Sellers KL, Kohn MA, Wells GA","doi":"10.1016/S0196-0644(03)00823-0","id":"quinn-2004","source":"Ann Emerg Med. 2004;43(2):224-232","title":"Derivation of the San Francisco Syncope Rule to predict patients with short-term serious outcomes"},"components":[{"factor":"chf","points":0,"present":false},{"factor":"hematocrit_lt_30","points":0,"present":false,"value":40},{"factor":"abnormal_ecg","points":0,"present":false},{"factor":"shortness_of_breath","points":0,"present":false},{"factor":"systolic_bp_lt_90","points":0,"present":false,"value":120}],"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":"sf_syncope","formula_expression":"CHESS = chf + hematocrit_lt_30 + abnormal_ecg + shortness_of_breath + systolic_bp_lt_90; rule-positive if score ≥ 1; max 5","hematocrit_percent":40,"max_score":5,"rule_positive":false,"score":0,"systolic_bp_mm_hg":120}],"path":"/api/calc/sf_syncope"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_ecg":{"description":"Abnormal ECG (E). true or false. Caller-assigned; magent does not read tracings.","type":"boolean"},"chf":{"description":"History of congestive heart failure (C). true or false.","type":"boolean"},"hematocrit_percent":{"description":"Hematocrit in percent (10-70). Scores 1 when <30; 30 is negative.","type":"number"},"shortness_of_breath":{"description":"Shortness of breath (S). true or false.","type":"boolean"},"systolic_bp_mm_hg":{"description":"Systolic BP in mm Hg (50-250). Scores 1 when <90; 90 is negative.","type":"number"}},"required":["chf","hematocrit_percent","abnormal_ecg","shortness_of_breath","systolic_bp_mm_hg"],"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":["sf-syncope","chess","syncope","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:52:50.869Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:52:50.729Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_ecg":false,"chf":false,"hematocrit_percent":40,"shortness_of_breath":false,"systolic_bp_mm_hg":120},{"abnormal_ecg":false,"chf":false,"hematocrit_percent":40,"shortness_of_breath":false,"systolic_bp_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Quinn JV, Stiell IG, McDermott DA, Sellers KL, Kohn MA, Wells GA","doi":"10.1016/S0196-0644(03)00823-0","id":"quinn-2004","source":"Ann Emerg Med. 2004;43(2):224-232","title":"Derivation of the San Francisco Syncope Rule to predict patients with short-term serious outcomes"},"components":[{"factor":"chf","points":0,"present":false},{"factor":"hematocrit_lt_30","points":0,"present":false,"value":40},{"factor":"abnormal_ecg","points":0,"present":false},{"factor":"shortness_of_breath","points":0,"present":false},{"factor":"systolic_bp_lt_90","points":0,"present":false,"value":120}],"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":"sf_syncope","formula_expression":"CHESS = chf + hematocrit_lt_30 + abnormal_ecg + shortness_of_breath + systolic_bp_lt_90; rule-positive if score ≥ 1; max 5","hematocrit_percent":40,"max_score":5,"rule_positive":false,"score":0,"systolic_bp_mm_hg":120},{"citation":{"authors":"Quinn JV, Stiell IG, McDermott DA, Sellers KL, Kohn MA, Wells GA","doi":"10.1016/S0196-0644(03)00823-0","id":"quinn-2004","source":"Ann Emerg Med. 2004;43(2):224-232","title":"Derivation of the San Francisco Syncope Rule to predict patients with short-term serious outcomes"},"components":[{"factor":"chf","points":0,"present":false},{"factor":"hematocrit_lt_30","points":0,"present":false,"value":40},{"factor":"abnormal_ecg","points":0,"present":false},{"factor":"shortness_of_breath","points":0,"present":false},{"factor":"systolic_bp_lt_90","points":0,"present":false,"value":120}],"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":"sf_syncope","formula_expression":"CHESS = chf + hematocrit_lt_30 + abnormal_ecg + shortness_of_breath + systolic_bp_lt_90; rule-positive if score ≥ 1; max 5","hematocrit_percent":40,"max_score":5,"rule_positive":false,"score":0,"systolic_bp_mm_hg":120}],"path":"/api/calc/sf_syncope"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_ecg":{"description":"Abnormal ECG (E). true or false. Caller-assigned; magent does not read tracings.","type":"boolean"},"chf":{"description":"History of congestive heart failure (C). true or false.","type":"boolean"},"hematocrit_percent":{"description":"Hematocrit in percent (10-70). Scores 1 when <30; 30 is negative.","type":"number"},"shortness_of_breath":{"description":"Shortness of breath (S). true or false.","type":"boolean"},"systolic_bp_mm_hg":{"description":"Systolic BP in mm Hg (50-250). Scores 1 when <90; 90 is negative.","type":"number"}},"required":["chf","hematocrit_percent","abnormal_ecg","shortness_of_breath","systolic_bp_mm_hg"],"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},{"id":38810,"slug":"38810","resource":"https://api.magentlab.com/api/calc/sf_ratio","description":"SpO2/FiO2 (S/F) ratio as pulse-oximetry SpO2 percent divided by inspired oxygen as a fraction (0.21–1.0) (Rice 2007). Returns the ratio rounded to one decimal. Magent does not apply ARDS or Berlin bands. This is not the PaO2/FiO2 (P/F) ratio and not the ROX index.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fio2":0.21,"spo2_percent":95},{"fio2":0.21,"spo2_percent":95}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rice TW, Wheeler AP, Bernard GR, Hayden DL, Schoenfeld DA, Ware LB","doi":"10.1378/chest.07-0617","id":"rice-2007","source":"Chest. 2007;132(2):410-417","title":"Comparison of the SpO2/FIO2 ratio and the PaO2/FIO2 ratio in patients with acute lung injury or ARDS"},"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.","fio2":0.21,"formula":"sf_ratio","formula_expression":"sf_ratio = spo2_percent / fio2","sf_ratio":452.4,"spo2_percent":95},{"citation":{"authors":"Rice TW, Wheeler AP, Bernard GR, Hayden DL, Schoenfeld DA, Ware LB","doi":"10.1378/chest.07-0617","id":"rice-2007","source":"Chest. 2007;132(2):410-417","title":"Comparison of the SpO2/FIO2 ratio and the PaO2/FIO2 ratio in patients with acute lung injury or ARDS"},"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.","fio2":0.21,"formula":"sf_ratio","formula_expression":"sf_ratio = spo2_percent / fio2","sf_ratio":452.4,"spo2_percent":95}],"path":"/api/calc/sf_ratio"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent. Required.","type":"number"},"spo2_percent":{"description":"Pulse-oximetry SpO2 as a percent (50-100).","type":"number"}},"required":["spo2_percent","fio2"],"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":["sf-ratio","respiratory","spo2","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:47:46.346Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:47:45.956Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fio2":0.21,"spo2_percent":95},{"fio2":0.21,"spo2_percent":95}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rice TW, Wheeler AP, Bernard GR, Hayden DL, Schoenfeld DA, Ware LB","doi":"10.1378/chest.07-0617","id":"rice-2007","source":"Chest. 2007;132(2):410-417","title":"Comparison of the SpO2/FIO2 ratio and the PaO2/FIO2 ratio in patients with acute lung injury or ARDS"},"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.","fio2":0.21,"formula":"sf_ratio","formula_expression":"sf_ratio = spo2_percent / fio2","sf_ratio":452.4,"spo2_percent":95},{"citation":{"authors":"Rice TW, Wheeler AP, Bernard GR, Hayden DL, Schoenfeld DA, Ware LB","doi":"10.1378/chest.07-0617","id":"rice-2007","source":"Chest. 2007;132(2):410-417","title":"Comparison of the SpO2/FIO2 ratio and the PaO2/FIO2 ratio in patients with acute lung injury or ARDS"},"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.","fio2":0.21,"formula":"sf_ratio","formula_expression":"sf_ratio = spo2_percent / fio2","sf_ratio":452.4,"spo2_percent":95}],"path":"/api/calc/sf_ratio"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent. Required.","type":"number"},"spo2_percent":{"description":"Pulse-oximetry SpO2 as a percent (50-100).","type":"number"}},"required":["spo2_percent","fio2"],"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},{"id":38811,"slug":"38811","resource":"https://api.magentlab.com/api/calc/setscore","description":"Schönenberger 2016 SETscore: 15 caller-assigned flags (neurological function, lesion, organ function/procedure). Weights 2–4; max 48. Elevated / setscore_ge_8 iff score ≥ 8 (2016 ROC cut-off). Not a tracheostomy order, not NIHSS, and not SETPOINT2 enrollment >10. magent does not examine the patient, read imaging, or compute APACHE II, LIS, or PaO2/FiO2.","type":"http","serviceName":"magent","resourceType":"AI Inference","x402Version":2,"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":[{"additional_respiratory_disease":false,"apache_ii_gt_20":false,"brainstem_lesion":false,"diffuse_lesion":false,"dysphagia":false,"gcs_lt_10":false,"hydrocephalus":false,"ich_volume_gt_25_ml":false,"lung_injury_score_gt_1":false,"mca_infarct_gt_two_thirds":false,"neurosurgical_intervention":false,"observed_aspiration":false,"pao2_fio2_lt_150":false,"sepsis":false,"space_occupying_cerebellar":false},{"additional_respiratory_disease":false,"apache_ii_gt_20":false,"brainstem_lesion":false,"diffuse_lesion":false,"dysphagia":false,"gcs_lt_10":false,"hydrocephalus":false,"ich_volume_gt_25_ml":false,"lung_injury_score_gt_1":false,"mca_infarct_gt_two_thirds":false,"neurosurgical_intervention":false,"observed_aspiration":false,"pao2_fio2_lt_150":false,"sepsis":false,"space_occupying_cerebellar":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Schönenberger S, Al-Suwaidan F, Kieser M, Uhlmann L, Bösel J","doi":"10.1007/s12028-015-0235-5","id":"schoenenberger-2016","pmid":"26842719","source":"Neurocrit Care. 2016;25(1):94-104","title":"The SETscore to Predict Tracheostomy Need in Cerebrovascular Neurocritical Care Patients"},"components":[{"factor":"dysphagia","points":0,"present":false},{"factor":"observed_aspiration","points":0,"present":false},{"factor":"gcs_lt_10","points":0,"present":false},{"factor":"brainstem_lesion","points":0,"present":false},{"factor":"space_occupying_cerebellar","points":0,"present":false},{"factor":"mca_infarct_gt_two_thirds","points":0,"present":false},{"factor":"ich_volume_gt_25_ml","points":0,"present":false},{"factor":"diffuse_lesion","points":0,"present":false},{"factor":"hydrocephalus","points":0,"present":false},{"factor":"neurosurgical_intervention","points":0,"present":false},{"factor":"additional_respiratory_disease","points":0,"present":false},{"factor":"pao2_fio2_lt_150","points":0,"present":false},{"factor":"apache_ii_gt_20","points":0,"present":false},{"factor":"lung_injury_score_gt_1","points":0,"present":false},{"factor":"sepsis","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.","elevated":false,"formula":"setscore","formula_expression":"SETscore = 4*dysphagia + 3*observed_aspiration + 3*gcs_lt_10 + 4*brainstem_lesion + 3*space_occupying_cerebellar + 4*mca_infarct_gt_two_thirds + 4*ich_volume_gt_25_ml + 3*diffuse_lesion + 4*hydrocephalus + 2*neurosurgical_intervention + 3*additional_respiratory_disease + 2*pao2_fio2_lt_150 + 4*apache_ii_gt_20 + 2*lung_injury_score_gt_1 + 3*sepsis; max 48; elevated / setscore_ge_8 iff score >= 8 (Schönenberger 2016)","max_score":48,"score":0,"setscore_ge_8":false},{"citation":{"authors":"Schönenberger S, Al-Suwaidan F, Kieser M, Uhlmann L, Bösel J","doi":"10.1007/s12028-015-0235-5","id":"schoenenberger-2016","pmid":"26842719","source":"Neurocrit Care. 2016;25(1):94-104","title":"The SETscore to Predict Tracheostomy Need in Cerebrovascular Neurocritical Care Patients"},"components":[{"factor":"dysphagia","points":0,"present":false},{"factor":"observed_aspiration","points":0,"present":false},{"factor":"gcs_lt_10","points":0,"present":false},{"factor":"brainstem_lesion","points":0,"present":false},{"factor":"space_occupying_cerebellar","points":0,"present":false},{"factor":"mca_infarct_gt_two_thirds","points":0,"present":false},{"factor":"ich_volume_gt_25_ml","points":0,"present":false},{"factor":"diffuse_lesion","points":0,"present":false},{"factor":"hydrocephalus","points":0,"present":false},{"factor":"neurosurgical_intervention","points":0,"present":false},{"factor":"additional_respiratory_disease","points":0,"present":false},{"factor":"pao2_fio2_lt_150","points":0,"present":false},{"factor":"apache_ii_gt_20","points":0,"present":false},{"factor":"lung_injury_score_gt_1","points":0,"present":false},{"factor":"sepsis","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.","elevated":false,"formula":"setscore","formula_expression":"SETscore = 4*dysphagia + 3*observed_aspiration + 3*gcs_lt_10 + 4*brainstem_lesion + 3*space_occupying_cerebellar + 4*mca_infarct_gt_two_thirds + 4*ich_volume_gt_25_ml + 3*diffuse_lesion + 4*hydrocephalus + 2*neurosurgical_intervention + 3*additional_respiratory_disease + 2*pao2_fio2_lt_150 + 4*apache_ii_gt_20 + 2*lung_injury_score_gt_1 + 3*sepsis; max 48; elevated / setscore_ge_8 iff score >= 8 (Schönenberger 2016)","max_score":48,"score":0,"setscore_ge_8":false}],"path":"/api/calc/setscore"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"additional_respiratory_disease":{"description":"Additional respiratory disease (Schönenberger 2016 Table 1, +3 if true). true or false as assigned by the caller. magent does not diagnose lung disease.","type":"boolean"},"apache_ii_gt_20":{"description":"APACHE II acute physiology score >20 (Schönenberger 2016 Table 1, +4 if true). true or false as assigned by the caller. magent does not compute APACHE II.","type":"boolean"},"brainstem_lesion":{"description":"Brainstem lesion (Schönenberger 2016 Table 1, +4 if true). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"diffuse_lesion":{"description":"Diffuse lesion (Schönenberger 2016 Table 1, +3 if true). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"dysphagia":{"description":"Dysphagia (Schönenberger 2016 Table 1, +4 if true). true or false as assigned by the caller. magent does not examine swallow.","type":"boolean"},"gcs_lt_10":{"description":"GCS on admission <10 (Schönenberger 2016 Table 1, +3 if true). true or false as assigned by the caller. magent does not compute GCS.","type":"boolean"},"hydrocephalus":{"description":"Hydrocephalus (Schönenberger 2016 Table 1, +4 if true). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"ich_volume_gt_25_ml":{"description":"ICH volume >25 mL (Schönenberger 2016 Table 1, +4 if true). true or false as assigned by the caller. magent does not measure hematoma volume.","type":"boolean"},"lung_injury_score_gt_1":{"description":"Lung injury score >1 (Schönenberger 2016 Table 1, +2 if true). true or false as assigned by the caller. magent does not compute LIS.","type":"boolean"},"mca_infarct_gt_two_thirds":{"description":"Ischemic infarct >2/3 MCA territory (Schönenberger 2016 Table 1, +4 if true). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"neurosurgical_intervention":{"description":"(Neuro)surgical intervention (Schönenberger 2016 Table 1, +2 if true). true or false as assigned by the caller. magent does not record procedures.","type":"boolean"},"observed_aspiration":{"description":"Observed aspiration (Schönenberger 2016 Table 1, +3 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pao2_fio2_lt_150":{"description":"PaO2/FiO2 <150 (Schönenberger 2016 Table 1, +2 if true). true or false as assigned by the caller. magent does not compute the P/F ratio.","type":"boolean"},"sepsis":{"description":"Sepsis (Schönenberger 2016 Table 1, +3 if true). true or false as assigned by the caller. magent does not diagnose sepsis.","type":"boolean"},"space_occupying_cerebellar":{"description":"Space-occupying cerebellar lesion (Schönenberger 2016 Table 1, +3 if true). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"}},"required":["dysphagia","observed_aspiration","gcs_lt_10","brainstem_lesion","space_occupying_cerebellar","mca_infarct_gt_two_thirds","ich_volume_gt_25_ml","diffuse_lesion","hydrocephalus","neurosurgical_intervention","additional_respiratory_disease","pao2_fio2_lt_150","apache_ii_gt_20","lung_injury_score_gt_1","sepsis"],"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":["setscore","tracheostomy","neurocritical","stroke","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:47:41.701Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:47:41.337Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"additional_respiratory_disease":false,"apache_ii_gt_20":false,"brainstem_lesion":false,"diffuse_lesion":false,"dysphagia":false,"gcs_lt_10":false,"hydrocephalus":false,"ich_volume_gt_25_ml":false,"lung_injury_score_gt_1":false,"mca_infarct_gt_two_thirds":false,"neurosurgical_intervention":false,"observed_aspiration":false,"pao2_fio2_lt_150":false,"sepsis":false,"space_occupying_cerebellar":false},{"additional_respiratory_disease":false,"apache_ii_gt_20":false,"brainstem_lesion":false,"diffuse_lesion":false,"dysphagia":false,"gcs_lt_10":false,"hydrocephalus":false,"ich_volume_gt_25_ml":false,"lung_injury_score_gt_1":false,"mca_infarct_gt_two_thirds":false,"neurosurgical_intervention":false,"observed_aspiration":false,"pao2_fio2_lt_150":false,"sepsis":false,"space_occupying_cerebellar":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Schönenberger S, Al-Suwaidan F, Kieser M, Uhlmann L, Bösel J","doi":"10.1007/s12028-015-0235-5","id":"schoenenberger-2016","pmid":"26842719","source":"Neurocrit Care. 2016;25(1):94-104","title":"The SETscore to Predict Tracheostomy Need in Cerebrovascular Neurocritical Care Patients"},"components":[{"factor":"dysphagia","points":0,"present":false},{"factor":"observed_aspiration","points":0,"present":false},{"factor":"gcs_lt_10","points":0,"present":false},{"factor":"brainstem_lesion","points":0,"present":false},{"factor":"space_occupying_cerebellar","points":0,"present":false},{"factor":"mca_infarct_gt_two_thirds","points":0,"present":false},{"factor":"ich_volume_gt_25_ml","points":0,"present":false},{"factor":"diffuse_lesion","points":0,"present":false},{"factor":"hydrocephalus","points":0,"present":false},{"factor":"neurosurgical_intervention","points":0,"present":false},{"factor":"additional_respiratory_disease","points":0,"present":false},{"factor":"pao2_fio2_lt_150","points":0,"present":false},{"factor":"apache_ii_gt_20","points":0,"present":false},{"factor":"lung_injury_score_gt_1","points":0,"present":false},{"factor":"sepsis","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.","elevated":false,"formula":"setscore","formula_expression":"SETscore = 4*dysphagia + 3*observed_aspiration + 3*gcs_lt_10 + 4*brainstem_lesion + 3*space_occupying_cerebellar + 4*mca_infarct_gt_two_thirds + 4*ich_volume_gt_25_ml + 3*diffuse_lesion + 4*hydrocephalus + 2*neurosurgical_intervention + 3*additional_respiratory_disease + 2*pao2_fio2_lt_150 + 4*apache_ii_gt_20 + 2*lung_injury_score_gt_1 + 3*sepsis; max 48; elevated / setscore_ge_8 iff score >= 8 (Schönenberger 2016)","max_score":48,"score":0,"setscore_ge_8":false},{"citation":{"authors":"Schönenberger S, Al-Suwaidan F, Kieser M, Uhlmann L, Bösel J","doi":"10.1007/s12028-015-0235-5","id":"schoenenberger-2016","pmid":"26842719","source":"Neurocrit Care. 2016;25(1):94-104","title":"The SETscore to Predict Tracheostomy Need in Cerebrovascular Neurocritical Care Patients"},"components":[{"factor":"dysphagia","points":0,"present":false},{"factor":"observed_aspiration","points":0,"present":false},{"factor":"gcs_lt_10","points":0,"present":false},{"factor":"brainstem_lesion","points":0,"present":false},{"factor":"space_occupying_cerebellar","points":0,"present":false},{"factor":"mca_infarct_gt_two_thirds","points":0,"present":false},{"factor":"ich_volume_gt_25_ml","points":0,"present":false},{"factor":"diffuse_lesion","points":0,"present":false},{"factor":"hydrocephalus","points":0,"present":false},{"factor":"neurosurgical_intervention","points":0,"present":false},{"factor":"additional_respiratory_disease","points":0,"present":false},{"factor":"pao2_fio2_lt_150","points":0,"present":false},{"factor":"apache_ii_gt_20","points":0,"present":false},{"factor":"lung_injury_score_gt_1","points":0,"present":false},{"factor":"sepsis","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.","elevated":false,"formula":"setscore","formula_expression":"SETscore = 4*dysphagia + 3*observed_aspiration + 3*gcs_lt_10 + 4*brainstem_lesion + 3*space_occupying_cerebellar + 4*mca_infarct_gt_two_thirds + 4*ich_volume_gt_25_ml + 3*diffuse_lesion + 4*hydrocephalus + 2*neurosurgical_intervention + 3*additional_respiratory_disease + 2*pao2_fio2_lt_150 + 4*apache_ii_gt_20 + 2*lung_injury_score_gt_1 + 3*sepsis; max 48; elevated / setscore_ge_8 iff score >= 8 (Schönenberger 2016)","max_score":48,"score":0,"setscore_ge_8":false}],"path":"/api/calc/setscore"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"additional_respiratory_disease":{"description":"Additional respiratory disease (Schönenberger 2016 Table 1, +3 if true). true or false as assigned by the caller. magent does not diagnose lung disease.","type":"boolean"},"apache_ii_gt_20":{"description":"APACHE II acute physiology score >20 (Schönenberger 2016 Table 1, +4 if true). true or false as assigned by the caller. magent does not compute APACHE II.","type":"boolean"},"brainstem_lesion":{"description":"Brainstem lesion (Schönenberger 2016 Table 1, +4 if true). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"diffuse_lesion":{"description":"Diffuse lesion (Schönenberger 2016 Table 1, +3 if true). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"dysphagia":{"description":"Dysphagia (Schönenberger 2016 Table 1, +4 if true). true or false as assigned by the caller. magent does not examine swallow.","type":"boolean"},"gcs_lt_10":{"description":"GCS on admission <10 (Schönenberger 2016 Table 1, +3 if true). true or false as assigned by the caller. magent does not compute GCS.","type":"boolean"},"hydrocephalus":{"description":"Hydrocephalus (Schönenberger 2016 Table 1, +4 if true). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"ich_volume_gt_25_ml":{"description":"ICH volume >25 mL (Schönenberger 2016 Table 1, +4 if true). true or false as assigned by the caller. magent does not measure hematoma volume.","type":"boolean"},"lung_injury_score_gt_1":{"description":"Lung injury score >1 (Schönenberger 2016 Table 1, +2 if true). true or false as assigned by the caller. magent does not compute LIS.","type":"boolean"},"mca_infarct_gt_two_thirds":{"description":"Ischemic infarct >2/3 MCA territory (Schönenberger 2016 Table 1, +4 if true). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"neurosurgical_intervention":{"description":"(Neuro)surgical intervention (Schönenberger 2016 Table 1, +2 if true). true or false as assigned by the caller. magent does not record procedures.","type":"boolean"},"observed_aspiration":{"description":"Observed aspiration (Schönenberger 2016 Table 1, +3 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pao2_fio2_lt_150":{"description":"PaO2/FiO2 <150 (Schönenberger 2016 Table 1, +2 if true). true or false as assigned by the caller. magent does not compute the P/F ratio.","type":"boolean"},"sepsis":{"description":"Sepsis (Schönenberger 2016 Table 1, +3 if true). true or false as assigned by the caller. magent does not diagnose sepsis.","type":"boolean"},"space_occupying_cerebellar":{"description":"Space-occupying cerebellar lesion (Schönenberger 2016 Table 1, +3 if true). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"}},"required":["dysphagia","observed_aspiration","gcs_lt_10","brainstem_lesion","space_occupying_cerebellar","mca_infarct_gt_two_thirds","ich_volume_gt_25_ml","diffuse_lesion","hydrocephalus","neurosurgical_intervention","additional_respiratory_disease","pao2_fio2_lt_150","apache_ii_gt_20","lung_injury_score_gt_1","sepsis"],"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},{"id":38812,"slug":"38812","resource":"https://api.magentlab.com/api/calc/serum_osmolality","description":"Worthley 1987 calculated serum osmolality: 2×Na + glucose/18 + BUN/2.8. Optional osmolar gap when a measured osm is supplied. Deterministic published arithmetic with citation; not a measured freezing-point osmometer or a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bun_mg_dl":14,"glucose_mg_dl":90,"glucose_mmol_l":5,"measured_osm_mosm_kg":305,"sodium_mmol_l":140},{"bun_mg_dl":14,"glucose_mg_dl":90,"glucose_mmol_l":5,"measured_osm_mosm_kg":305,"sodium_mmol_l":140}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bun_mg_dl":14,"calculated_osm_mosm_kg":290,"citation":{"authors":"Worthley LI, Guerin M, Pain RW","doi":"10.1177/0310057X8701500214","id":"worthley-1987","source":"Anaesth Intensive Care. 1987;15(2):199-202","title":"For calculating osmolality, the simplest formula is the best"},"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":"worthley","formula_expression":"calculated_osm_mosm_kg = 2 * sodium_mmol_l + glucose_mg_dl / 18 + bun_mg_dl / 2.8","glucose_mg_dl":90,"sodium_mmol_l":140},{"bun_mg_dl":14,"calculated_osm_mosm_kg":290,"citation":{"authors":"Worthley LI, Guerin M, Pain RW","doi":"10.1177/0310057X8701500214","id":"worthley-1987","source":"Anaesth Intensive Care. 1987;15(2):199-202","title":"For calculating osmolality, the simplest formula is the best"},"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":"worthley","formula_expression":"calculated_osm_mosm_kg = 2 * sodium_mmol_l + glucose_mg_dl / 18 + bun_mg_dl / 2.8","glucose_mg_dl":90,"sodium_mmol_l":140}],"path":"/api/calc/serum_osmolality"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-200).","type":"number"},"glucose_mg_dl":{"description":"Plasma glucose in mg/dL (50-1000). Provide this or glucose_mmol_l.","type":"number"},"glucose_mmol_l":{"description":"Plasma glucose in mmol/L (2.8-55.5). Converted as mg/dL = mmol/L * 18.015.","type":"number"},"measured_osm_mosm_kg":{"description":"Measured serum osmolality in mOsm/kg (200-400). When supplied, osm_gap_mosm_kg is returned.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160).","type":"number"}},"required":["sodium_mmol_l","bun_mg_dl"],"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":["serum-osmolality","osmolality","osmolar-gap","electrolytes","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:47:38.347Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:47:38.197Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bun_mg_dl":14,"glucose_mg_dl":90,"glucose_mmol_l":5,"measured_osm_mosm_kg":305,"sodium_mmol_l":140},{"bun_mg_dl":14,"glucose_mg_dl":90,"glucose_mmol_l":5,"measured_osm_mosm_kg":305,"sodium_mmol_l":140}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bun_mg_dl":14,"calculated_osm_mosm_kg":290,"citation":{"authors":"Worthley LI, Guerin M, Pain RW","doi":"10.1177/0310057X8701500214","id":"worthley-1987","source":"Anaesth Intensive Care. 1987;15(2):199-202","title":"For calculating osmolality, the simplest formula is the best"},"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":"worthley","formula_expression":"calculated_osm_mosm_kg = 2 * sodium_mmol_l + glucose_mg_dl / 18 + bun_mg_dl / 2.8","glucose_mg_dl":90,"sodium_mmol_l":140},{"bun_mg_dl":14,"calculated_osm_mosm_kg":290,"citation":{"authors":"Worthley LI, Guerin M, Pain RW","doi":"10.1177/0310057X8701500214","id":"worthley-1987","source":"Anaesth Intensive Care. 1987;15(2):199-202","title":"For calculating osmolality, the simplest formula is the best"},"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":"worthley","formula_expression":"calculated_osm_mosm_kg = 2 * sodium_mmol_l + glucose_mg_dl / 18 + bun_mg_dl / 2.8","glucose_mg_dl":90,"sodium_mmol_l":140}],"path":"/api/calc/serum_osmolality"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-200).","type":"number"},"glucose_mg_dl":{"description":"Plasma glucose in mg/dL (50-1000). Provide this or glucose_mmol_l.","type":"number"},"glucose_mmol_l":{"description":"Plasma glucose in mmol/L (2.8-55.5). Converted as mg/dL = mmol/L * 18.015.","type":"number"},"measured_osm_mosm_kg":{"description":"Measured serum osmolality in mOsm/kg (200-400). When supplied, osm_gap_mosm_kg is returned.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160).","type":"number"}},"required":["sodium_mmol_l","bun_mg_dl"],"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},{"id":38813,"slug":"38813","resource":"https://api.magentlab.com/api/calc/scorten","description":"Bastuji-Garin 2000 SCORTEN from seven caller-assigned flags (age >40, malignancy, HR >120, detachment >10% BSA, urea >10 mmol/L, glucose >14 mmol/L, bicarbonate <20 mmol/L); 1 each, max 7. Predicted in-hospital mortality 0–1 3.2%, 2 12.1%, 3 35.3%, 4 58.3%, ≥5 90%. Not a TEN/SJS diagnosis and not an ICU or IVIG order. magent does not measure labs or BSA.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_gt_40":false,"bicarbonate_lt_20_mmol_l":false,"epidermal_detachment_gt_10_percent":false,"glucose_gt_14_mmol_l":false,"heart_rate_gt_120":false,"malignancy":false,"urea_gt_10_mmol_l":false},{"age_gt_40":false,"bicarbonate_lt_20_mmol_l":false,"epidermal_detachment_gt_10_percent":false,"glucose_gt_14_mmol_l":false,"heart_rate_gt_120":false,"malignancy":false,"urea_gt_10_mmol_l":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bastuji-Garin S, Fouchard N, Bertocchi M, Roujeau JC, Revuz J, Wolkenstein P","doi":"10.1046/j.1523-1747.2000.00061.x","id":"bastuji-garin-2000","pmid":"10951229","source":"J Invest Dermatol. 2000;115(2):149-153","title":"SCORTEN: a severity-of-illness score for toxic epidermal necrolysis"},"components":[{"factor":"age_gt_40","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"heart_rate_gt_120","points":0,"present":false},{"factor":"epidermal_detachment_gt_10_percent","points":0,"present":false},{"factor":"urea_gt_10_mmol_l","points":0,"present":false},{"factor":"glucose_gt_14_mmol_l","points":0,"present":false},{"factor":"bicarbonate_lt_20_mmol_l","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":"scorten","formula_expression":"SCORTEN = age_gt_40 + malignancy + heart_rate_gt_120 + epidermal_detachment_gt_10_percent + urea_gt_10_mmol_l + glucose_gt_14_mmol_l + bicarbonate_lt_20_mmol_l; each 1 if true; Bastuji-Garin 2000; max 7; predicted in-hospital mortality 0-1 3.2%, 2 12.1%, 3 35.3%, 4 58.3%, >=5 90%","max_score":7,"predicted_mortality":"3.2_percent","score":0},{"citation":{"authors":"Bastuji-Garin S, Fouchard N, Bertocchi M, Roujeau JC, Revuz J, Wolkenstein P","doi":"10.1046/j.1523-1747.2000.00061.x","id":"bastuji-garin-2000","pmid":"10951229","source":"J Invest Dermatol. 2000;115(2):149-153","title":"SCORTEN: a severity-of-illness score for toxic epidermal necrolysis"},"components":[{"factor":"age_gt_40","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"heart_rate_gt_120","points":0,"present":false},{"factor":"epidermal_detachment_gt_10_percent","points":0,"present":false},{"factor":"urea_gt_10_mmol_l","points":0,"present":false},{"factor":"glucose_gt_14_mmol_l","points":0,"present":false},{"factor":"bicarbonate_lt_20_mmol_l","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":"scorten","formula_expression":"SCORTEN = age_gt_40 + malignancy + heart_rate_gt_120 + epidermal_detachment_gt_10_percent + urea_gt_10_mmol_l + glucose_gt_14_mmol_l + bicarbonate_lt_20_mmol_l; each 1 if true; Bastuji-Garin 2000; max 7; predicted in-hospital mortality 0-1 3.2%, 2 12.1%, 3 35.3%, 4 58.3%, >=5 90%","max_score":7,"predicted_mortality":"3.2_percent","score":0}],"path":"/api/calc/scorten"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_40":{"description":"Age >40 years (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not compute age.","type":"boolean"},"bicarbonate_lt_20_mmol_l":{"description":"Serum bicarbonate <20 mmol/L (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not assay bicarbonate.","type":"boolean"},"epidermal_detachment_gt_10_percent":{"description":"Epidermal detachment >10% of body surface area (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not measure BSA.","type":"boolean"},"glucose_gt_14_mmol_l":{"description":"Serum glucose >14 mmol/L (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not assay glucose.","type":"boolean"},"heart_rate_gt_120":{"description":"Heart rate >120 beats/min (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not measure heart rate.","type":"boolean"},"malignancy":{"description":"Presence of malignancy (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not diagnose cancer.","type":"boolean"},"urea_gt_10_mmol_l":{"description":"Serum urea >10 mmol/L (Bastuji-Garin 2000; equivalent BUN >28 mg/dL). true or false as assigned by the caller. magent does not assay urea or convert BUN.","type":"boolean"}},"required":["age_gt_40","malignancy","heart_rate_gt_120","epidermal_detachment_gt_10_percent","urea_gt_10_mmol_l","glucose_gt_14_mmol_l","bicarbonate_lt_20_mmol_l"],"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":["scorten","ten","sjs","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:42:27.117Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:42:26.982Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_gt_40":false,"bicarbonate_lt_20_mmol_l":false,"epidermal_detachment_gt_10_percent":false,"glucose_gt_14_mmol_l":false,"heart_rate_gt_120":false,"malignancy":false,"urea_gt_10_mmol_l":false},{"age_gt_40":false,"bicarbonate_lt_20_mmol_l":false,"epidermal_detachment_gt_10_percent":false,"glucose_gt_14_mmol_l":false,"heart_rate_gt_120":false,"malignancy":false,"urea_gt_10_mmol_l":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bastuji-Garin S, Fouchard N, Bertocchi M, Roujeau JC, Revuz J, Wolkenstein P","doi":"10.1046/j.1523-1747.2000.00061.x","id":"bastuji-garin-2000","pmid":"10951229","source":"J Invest Dermatol. 2000;115(2):149-153","title":"SCORTEN: a severity-of-illness score for toxic epidermal necrolysis"},"components":[{"factor":"age_gt_40","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"heart_rate_gt_120","points":0,"present":false},{"factor":"epidermal_detachment_gt_10_percent","points":0,"present":false},{"factor":"urea_gt_10_mmol_l","points":0,"present":false},{"factor":"glucose_gt_14_mmol_l","points":0,"present":false},{"factor":"bicarbonate_lt_20_mmol_l","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":"scorten","formula_expression":"SCORTEN = age_gt_40 + malignancy + heart_rate_gt_120 + epidermal_detachment_gt_10_percent + urea_gt_10_mmol_l + glucose_gt_14_mmol_l + bicarbonate_lt_20_mmol_l; each 1 if true; Bastuji-Garin 2000; max 7; predicted in-hospital mortality 0-1 3.2%, 2 12.1%, 3 35.3%, 4 58.3%, >=5 90%","max_score":7,"predicted_mortality":"3.2_percent","score":0},{"citation":{"authors":"Bastuji-Garin S, Fouchard N, Bertocchi M, Roujeau JC, Revuz J, Wolkenstein P","doi":"10.1046/j.1523-1747.2000.00061.x","id":"bastuji-garin-2000","pmid":"10951229","source":"J Invest Dermatol. 2000;115(2):149-153","title":"SCORTEN: a severity-of-illness score for toxic epidermal necrolysis"},"components":[{"factor":"age_gt_40","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"heart_rate_gt_120","points":0,"present":false},{"factor":"epidermal_detachment_gt_10_percent","points":0,"present":false},{"factor":"urea_gt_10_mmol_l","points":0,"present":false},{"factor":"glucose_gt_14_mmol_l","points":0,"present":false},{"factor":"bicarbonate_lt_20_mmol_l","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":"scorten","formula_expression":"SCORTEN = age_gt_40 + malignancy + heart_rate_gt_120 + epidermal_detachment_gt_10_percent + urea_gt_10_mmol_l + glucose_gt_14_mmol_l + bicarbonate_lt_20_mmol_l; each 1 if true; Bastuji-Garin 2000; max 7; predicted in-hospital mortality 0-1 3.2%, 2 12.1%, 3 35.3%, 4 58.3%, >=5 90%","max_score":7,"predicted_mortality":"3.2_percent","score":0}],"path":"/api/calc/scorten"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_40":{"description":"Age >40 years (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not compute age.","type":"boolean"},"bicarbonate_lt_20_mmol_l":{"description":"Serum bicarbonate <20 mmol/L (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not assay bicarbonate.","type":"boolean"},"epidermal_detachment_gt_10_percent":{"description":"Epidermal detachment >10% of body surface area (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not measure BSA.","type":"boolean"},"glucose_gt_14_mmol_l":{"description":"Serum glucose >14 mmol/L (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not assay glucose.","type":"boolean"},"heart_rate_gt_120":{"description":"Heart rate >120 beats/min (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not measure heart rate.","type":"boolean"},"malignancy":{"description":"Presence of malignancy (Bastuji-Garin 2000). true or false as assigned by the caller. magent does not diagnose cancer.","type":"boolean"},"urea_gt_10_mmol_l":{"description":"Serum urea >10 mmol/L (Bastuji-Garin 2000; equivalent BUN >28 mg/dL). true or false as assigned by the caller. magent does not assay urea or convert BUN.","type":"boolean"}},"required":["age_gt_40","malignancy","heart_rate_gt_120","epidermal_detachment_gt_10_percent","urea_gt_10_mmol_l","glucose_gt_14_mmol_l","bicarbonate_lt_20_mmol_l"],"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},{"id":38814,"slug":"38814","resource":"https://api.magentlab.com/api/calc/score2_op","description":"ESC 2021 SCORE2-OP 10-year fatal plus non-fatal CVD percent for age 70-89 from sex, current smoking, diabetes, systolic BP, non-HDL cholesterol, and European geographic risk region (low, moderate, high, very_high). Published sex-specific Table 2 coefficients and region scale1/scale2. Not SCORE2, not SCORE2-Diabetes, not 2013 PCE, not PREVENT, not a diagnosis or statin order. magent does not assay lipids.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":75,"diabetes":false,"european_risk_region":"low","non_hdl_mmol_l":4.5,"sbp_mm_hg":150,"sex":"male","smoker":true},{"age":75,"diabetes":false,"european_risk_region":"low","non_hdl_mmol_l":4.5,"sbp_mm_hg":150,"sex":"male","smoker":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":75,"citation":{"authors":"SCORE2-OP working group and ESC Cardiovascular risk collaboration","doi":"10.1093/eurheartj/ehab312","id":"score2-op-2021","pmid":"34120185","source":"Eur Heart J. 2021;42(25):2455-2467","title":"SCORE2-OP risk prediction algorithms: estimating incident cardiovascular event risk in older persons in four geographical risk regions"},"diabetes":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.","european_risk_region":"low","formula":"score2_op","formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=age-73; csbp=(SBP-150)/10; charts display non-HDL mmol/L; equation uses TC and HDL at paper HDL centering 1.4 so TC=non-HDL+1.4, ctc=TC-6, chdl=0; diabetes is included (not SCORE2-Diabetes); men S0=0.7576 lp=0.063*cage+0.425*diabetes-0.017*cage*diabetes+0.352*smoke-0.025*cage*smoke+0.094*csbp-0.005*cage*csbp+0.085*ctc+0.007*cage*ctc-0.356*chdl+0.009*cage*chdl; women S0=0.8082 lp=0.079*cage+0.601*diabetes-0.011*cage*diabetes+0.492*smoke-0.026*cage*smoke+0.102*csbp-0.004*cage*csbp+0.060*ctc-0.001*cage*ctc-0.304*chdl+0.015*cage*chdl; region (scale1,scale2) men low (-0.3400,1.1900) moderate (0.0100,1.2500) high (0.0800,1.1500) very_high (0.0500,0.7000); women low (-0.5200,1.0100) moderate (-0.1000,1.1000) high (0.3800,1.0900) very_high (0.3800,0.6900); SCORE2-OP 2021 Table 2 coefficients and supplement four-decimal scale1/scale2 and baseline survival; age 70-89; geographic region not race; not SCORE2; not SCORE2-Diabetes; not 2013 PCE; not PREVENT","hdl_mmol_l":1.4,"linear_predictor":0.4181,"non_hdl_mmol_l":4.5,"risk_10y_percent":22.5,"sbp_mm_hg":150,"sex":"male","smoker":true,"total_cholesterol_mmol_l":5.9},{"age":75,"citation":{"authors":"SCORE2-OP working group and ESC Cardiovascular risk collaboration","doi":"10.1093/eurheartj/ehab312","id":"score2-op-2021","pmid":"34120185","source":"Eur Heart J. 2021;42(25):2455-2467","title":"SCORE2-OP risk prediction algorithms: estimating incident cardiovascular event risk in older persons in four geographical risk regions"},"diabetes":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.","european_risk_region":"low","formula":"score2_op","formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=age-73; csbp=(SBP-150)/10; charts display non-HDL mmol/L; equation uses TC and HDL at paper HDL centering 1.4 so TC=non-HDL+1.4, ctc=TC-6, chdl=0; diabetes is included (not SCORE2-Diabetes); men S0=0.7576 lp=0.063*cage+0.425*diabetes-0.017*cage*diabetes+0.352*smoke-0.025*cage*smoke+0.094*csbp-0.005*cage*csbp+0.085*ctc+0.007*cage*ctc-0.356*chdl+0.009*cage*chdl; women S0=0.8082 lp=0.079*cage+0.601*diabetes-0.011*cage*diabetes+0.492*smoke-0.026*cage*smoke+0.102*csbp-0.004*cage*csbp+0.060*ctc-0.001*cage*ctc-0.304*chdl+0.015*cage*chdl; region (scale1,scale2) men low (-0.3400,1.1900) moderate (0.0100,1.2500) high (0.0800,1.1500) very_high (0.0500,0.7000); women low (-0.5200,1.0100) moderate (-0.1000,1.1000) high (0.3800,1.0900) very_high (0.3800,0.6900); SCORE2-OP 2021 Table 2 coefficients and supplement four-decimal scale1/scale2 and baseline survival; age 70-89; geographic region not race; not SCORE2; not SCORE2-Diabetes; not 2013 PCE; not PREVENT","hdl_mmol_l":1.4,"linear_predictor":0.4181,"non_hdl_mmol_l":4.5,"risk_10y_percent":22.5,"sbp_mm_hg":150,"sex":"male","smoker":true,"total_cholesterol_mmol_l":5.9}],"path":"/api/calc/score2_op"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 70-89). SCORE2-OP 2021 is for ages 70-89. Not SCORE2 (age 40-69).","type":"integer"},"diabetes":{"description":"History of diabetes as assigned by the caller (true or false). SCORE2-OP includes diabetes. Not SCORE2-Diabetes (no HbA1c, age at diagnosis, or eGFR).","type":"boolean"},"european_risk_region":{"description":"Geographic SCORE2-OP 2021 calibration region (low, moderate, high, or very_high) as printed in that paper. Not race. Not ethnicity.","enum":["low","moderate","high","very_high"],"type":"string"},"non_hdl_mmol_l":{"description":"Non-HDL cholesterol in mmol/L (1-12). SCORE2-OP charts display non-HDL. The published equation uses TC and HDL at the paper HDL centering 1.4 mmol/L (TC = non-HDL + 1.4). The printed 75-year-old example is non-HDL 4.5 mmol/L. magent does not assay lipids.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Enters as (SBP-150)/10. magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the sex-specific SCORE2-OP 2021 Table 2 coefficients (female or male).","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (true or false). magent does not take a smoking history.","type":"boolean"}},"required":["age","sex","smoker","diabetes","sbp_mm_hg","non_hdl_mmol_l","european_risk_region"],"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":["score2-op","cvd-risk","lipids","esc-2021","europe","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:42:25.812Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:42:25.535Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":75,"diabetes":false,"european_risk_region":"low","non_hdl_mmol_l":4.5,"sbp_mm_hg":150,"sex":"male","smoker":true},{"age":75,"diabetes":false,"european_risk_region":"low","non_hdl_mmol_l":4.5,"sbp_mm_hg":150,"sex":"male","smoker":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":75,"citation":{"authors":"SCORE2-OP working group and ESC Cardiovascular risk collaboration","doi":"10.1093/eurheartj/ehab312","id":"score2-op-2021","pmid":"34120185","source":"Eur Heart J. 2021;42(25):2455-2467","title":"SCORE2-OP risk prediction algorithms: estimating incident cardiovascular event risk in older persons in four geographical risk regions"},"diabetes":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.","european_risk_region":"low","formula":"score2_op","formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=age-73; csbp=(SBP-150)/10; charts display non-HDL mmol/L; equation uses TC and HDL at paper HDL centering 1.4 so TC=non-HDL+1.4, ctc=TC-6, chdl=0; diabetes is included (not SCORE2-Diabetes); men S0=0.7576 lp=0.063*cage+0.425*diabetes-0.017*cage*diabetes+0.352*smoke-0.025*cage*smoke+0.094*csbp-0.005*cage*csbp+0.085*ctc+0.007*cage*ctc-0.356*chdl+0.009*cage*chdl; women S0=0.8082 lp=0.079*cage+0.601*diabetes-0.011*cage*diabetes+0.492*smoke-0.026*cage*smoke+0.102*csbp-0.004*cage*csbp+0.060*ctc-0.001*cage*ctc-0.304*chdl+0.015*cage*chdl; region (scale1,scale2) men low (-0.3400,1.1900) moderate (0.0100,1.2500) high (0.0800,1.1500) very_high (0.0500,0.7000); women low (-0.5200,1.0100) moderate (-0.1000,1.1000) high (0.3800,1.0900) very_high (0.3800,0.6900); SCORE2-OP 2021 Table 2 coefficients and supplement four-decimal scale1/scale2 and baseline survival; age 70-89; geographic region not race; not SCORE2; not SCORE2-Diabetes; not 2013 PCE; not PREVENT","hdl_mmol_l":1.4,"linear_predictor":0.4181,"non_hdl_mmol_l":4.5,"risk_10y_percent":22.5,"sbp_mm_hg":150,"sex":"male","smoker":true,"total_cholesterol_mmol_l":5.9},{"age":75,"citation":{"authors":"SCORE2-OP working group and ESC Cardiovascular risk collaboration","doi":"10.1093/eurheartj/ehab312","id":"score2-op-2021","pmid":"34120185","source":"Eur Heart J. 2021;42(25):2455-2467","title":"SCORE2-OP risk prediction algorithms: estimating incident cardiovascular event risk in older persons in four geographical risk regions"},"diabetes":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.","european_risk_region":"low","formula":"score2_op","formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=age-73; csbp=(SBP-150)/10; charts display non-HDL mmol/L; equation uses TC and HDL at paper HDL centering 1.4 so TC=non-HDL+1.4, ctc=TC-6, chdl=0; diabetes is included (not SCORE2-Diabetes); men S0=0.7576 lp=0.063*cage+0.425*diabetes-0.017*cage*diabetes+0.352*smoke-0.025*cage*smoke+0.094*csbp-0.005*cage*csbp+0.085*ctc+0.007*cage*ctc-0.356*chdl+0.009*cage*chdl; women S0=0.8082 lp=0.079*cage+0.601*diabetes-0.011*cage*diabetes+0.492*smoke-0.026*cage*smoke+0.102*csbp-0.004*cage*csbp+0.060*ctc-0.001*cage*ctc-0.304*chdl+0.015*cage*chdl; region (scale1,scale2) men low (-0.3400,1.1900) moderate (0.0100,1.2500) high (0.0800,1.1500) very_high (0.0500,0.7000); women low (-0.5200,1.0100) moderate (-0.1000,1.1000) high (0.3800,1.0900) very_high (0.3800,0.6900); SCORE2-OP 2021 Table 2 coefficients and supplement four-decimal scale1/scale2 and baseline survival; age 70-89; geographic region not race; not SCORE2; not SCORE2-Diabetes; not 2013 PCE; not PREVENT","hdl_mmol_l":1.4,"linear_predictor":0.4181,"non_hdl_mmol_l":4.5,"risk_10y_percent":22.5,"sbp_mm_hg":150,"sex":"male","smoker":true,"total_cholesterol_mmol_l":5.9}],"path":"/api/calc/score2_op"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 70-89). SCORE2-OP 2021 is for ages 70-89. Not SCORE2 (age 40-69).","type":"integer"},"diabetes":{"description":"History of diabetes as assigned by the caller (true or false). SCORE2-OP includes diabetes. Not SCORE2-Diabetes (no HbA1c, age at diagnosis, or eGFR).","type":"boolean"},"european_risk_region":{"description":"Geographic SCORE2-OP 2021 calibration region (low, moderate, high, or very_high) as printed in that paper. Not race. Not ethnicity.","enum":["low","moderate","high","very_high"],"type":"string"},"non_hdl_mmol_l":{"description":"Non-HDL cholesterol in mmol/L (1-12). SCORE2-OP charts display non-HDL. The published equation uses TC and HDL at the paper HDL centering 1.4 mmol/L (TC = non-HDL + 1.4). The printed 75-year-old example is non-HDL 4.5 mmol/L. magent does not assay lipids.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Enters as (SBP-150)/10. magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the sex-specific SCORE2-OP 2021 Table 2 coefficients (female or male).","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (true or false). magent does not take a smoking history.","type":"boolean"}},"required":["age","sex","smoker","diabetes","sbp_mm_hg","non_hdl_mmol_l","european_risk_region"],"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},{"id":38815,"slug":"38815","resource":"https://api.magentlab.com/api/calc/score2_diabetes","description":"ESC 2023 SCORE2-Diabetes 10-year fatal plus non-fatal CVD percent for type 2 diabetes, age 40-79, from sex, smoking, systolic BP, total and HDL cholesterol, age at diagnosis, IFCC HbA1c, eGFR, and European geographic risk region. Not SCORE2, not SCORE2-OP, not a diagnosis or statin order. magent does not assay lipids, HbA1c, or eGFR.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":60,"age_at_diabetes_diagnosis":60,"egfr_ml_min_1_73m2":90,"european_risk_region":"moderate","hba1c_mmol_mol":50,"hdl_mmol_l":1.3,"sbp_mm_hg":140,"sex":"male","smoker":false,"total_cholesterol_mmol_l":5.5},{"age":60,"age_at_diabetes_diagnosis":60,"egfr_ml_min_1_73m2":90,"european_risk_region":"moderate","hba1c_mmol_mol":50,"hdl_mmol_l":1.3,"sbp_mm_hg":140,"sex":"male","smoker":false,"total_cholesterol_mmol_l":5.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":60,"age_at_diabetes_diagnosis":60,"citation":{"authors":"SCORE2-Diabetes working group and ESC Cardiovascular risk collaboration","doi":"10.1093/eurheartj/ehad260","id":"score2-diabetes-2023","pmid":"37247330","source":"Eur Heart J. 2023;44(28):2544-2556","title":"SCORE2-Diabetes: 10-year cardiovascular risk estimation in type 2 diabetes in Europe"},"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.","egfr_ml_min_1_73m2":90,"european_risk_region":"moderate","formula":"score2_diabetes","formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=(age-60)/5; csbp=(SBP-120)/20; ctc=(TC-6)/1; chdl=(HDL-1.3)/0.5; cdiabage=(age_at_dx-50)/5; chba1c=(HbA1c_mmol_mol-31)/9.34; cegfr=(ln(eGFR)-4.5)/0.15; diabetes=1; men S0=0.9605 lp=0.5368*cage+0.4774*smoke+0.1322*csbp+0.6457*diabetes+0.1102*ctc-0.1087*chdl-0.0672*cage*smoke-0.0268*cage*csbp-0.0983*cage*diabetes-0.0181*cage*ctc+0.0095*cage*chdl-0.0998*diabetes*cdiabage+0.0955*chba1c-0.0591*cegfr+0.0058*cegfr^2-0.0134*cage*chba1c+0.0115*cage*cegfr; women S0=0.9776 lp=0.6624*cage+0.6139*smoke+0.1421*csbp+0.8096*diabetes+0.1127*ctc-0.1568*chdl-0.1122*cage*smoke-0.0167*cage*csbp-0.1272*cage*diabetes-0.0200*cage*ctc+0.0186*cage*chdl-0.118*diabetes*cdiabage+0.1173*chba1c-0.0640*cegfr+0.0062*cegfr^2-0.0196*cage*chba1c+0.0169*cage*cegfr; region scale1/scale2 SCORE2 age<70 and SCORE2-OP age 70-79; age 40-79; type 2 diabetes only; geographic region not race; not SCORE2; not SCORE2-OP","hba1c_mmol_mol":50,"hdl_mmol_l":1.3,"linear_predictor":0.7175,"risk_10y_percent":11,"sbp_mm_hg":140,"sex":"male","smoker":false,"total_cholesterol_mmol_l":5.5},{"age":60,"age_at_diabetes_diagnosis":60,"citation":{"authors":"SCORE2-Diabetes working group and ESC Cardiovascular risk collaboration","doi":"10.1093/eurheartj/ehad260","id":"score2-diabetes-2023","pmid":"37247330","source":"Eur Heart J. 2023;44(28):2544-2556","title":"SCORE2-Diabetes: 10-year cardiovascular risk estimation in type 2 diabetes in Europe"},"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.","egfr_ml_min_1_73m2":90,"european_risk_region":"moderate","formula":"score2_diabetes","formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=(age-60)/5; csbp=(SBP-120)/20; ctc=(TC-6)/1; chdl=(HDL-1.3)/0.5; cdiabage=(age_at_dx-50)/5; chba1c=(HbA1c_mmol_mol-31)/9.34; cegfr=(ln(eGFR)-4.5)/0.15; diabetes=1; men S0=0.9605 lp=0.5368*cage+0.4774*smoke+0.1322*csbp+0.6457*diabetes+0.1102*ctc-0.1087*chdl-0.0672*cage*smoke-0.0268*cage*csbp-0.0983*cage*diabetes-0.0181*cage*ctc+0.0095*cage*chdl-0.0998*diabetes*cdiabage+0.0955*chba1c-0.0591*cegfr+0.0058*cegfr^2-0.0134*cage*chba1c+0.0115*cage*cegfr; women S0=0.9776 lp=0.6624*cage+0.6139*smoke+0.1421*csbp+0.8096*diabetes+0.1127*ctc-0.1568*chdl-0.1122*cage*smoke-0.0167*cage*csbp-0.1272*cage*diabetes-0.0200*cage*ctc+0.0186*cage*chdl-0.118*diabetes*cdiabage+0.1173*chba1c-0.0640*cegfr+0.0062*cegfr^2-0.0196*cage*chba1c+0.0169*cage*cegfr; region scale1/scale2 SCORE2 age<70 and SCORE2-OP age 70-79; age 40-79; type 2 diabetes only; geographic region not race; not SCORE2; not SCORE2-OP","hba1c_mmol_mol":50,"hdl_mmol_l":1.3,"linear_predictor":0.7175,"risk_10y_percent":11,"sbp_mm_hg":140,"sex":"male","smoker":false,"total_cholesterol_mmol_l":5.5}],"path":"/api/calc/score2_diabetes"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 40-79). SCORE2-Diabetes 2023 is for ages 40-79. Not SCORE2 (40-69 without diabetes labs). Not SCORE2-OP.","type":"integer"},"age_at_diabetes_diagnosis":{"description":"Age at type 2 diabetes diagnosis in years (integer 1-79, not after current age). Enters as (age_at_dx-50)/5. Patient is assumed to have type 2 diabetes.","type":"integer"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73 m² (5-200). Enters as (ln(eGFR)-4.5)/0.15 plus the squared term. magent does not compute CKD-EPI.","type":"number"},"european_risk_region":{"description":"Geographic SCORE2/SCORE2-OP calibration region (low, moderate, high, or very_high) as printed for SCORE2-Diabetes. Not race. Not ethnicity.","enum":["low","moderate","high","very_high"],"type":"string"},"hba1c_mmol_mol":{"description":"HbA1c in IFCC mmol/mol (20-195), not % DCCT. Enters as (HbA1c-31)/9.34. magent does not assay HbA1c.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.4-4). Enters as (HDL-1.3)/0.5. magent does not assay lipids.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Enters as (SBP-120)/20. magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the sex-specific SCORE2-Diabetes 2023 coefficients (female or male).","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (true or false). magent does not take a smoking history.","type":"boolean"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.5-15). Enters as (TC-6). magent does not assay lipids.","type":"number"}},"required":["age","sex","smoker","sbp_mm_hg","total_cholesterol_mmol_l","hdl_mmol_l","age_at_diabetes_diagnosis","hba1c_mmol_mol","egfr_ml_min_1_73m2","european_risk_region"],"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":["score2-diabetes","cvd-risk","type-2-diabetes","esc-2023","europe","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:42:24.129Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:42:23.909Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":60,"age_at_diabetes_diagnosis":60,"egfr_ml_min_1_73m2":90,"european_risk_region":"moderate","hba1c_mmol_mol":50,"hdl_mmol_l":1.3,"sbp_mm_hg":140,"sex":"male","smoker":false,"total_cholesterol_mmol_l":5.5},{"age":60,"age_at_diabetes_diagnosis":60,"egfr_ml_min_1_73m2":90,"european_risk_region":"moderate","hba1c_mmol_mol":50,"hdl_mmol_l":1.3,"sbp_mm_hg":140,"sex":"male","smoker":false,"total_cholesterol_mmol_l":5.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":60,"age_at_diabetes_diagnosis":60,"citation":{"authors":"SCORE2-Diabetes working group and ESC Cardiovascular risk collaboration","doi":"10.1093/eurheartj/ehad260","id":"score2-diabetes-2023","pmid":"37247330","source":"Eur Heart J. 2023;44(28):2544-2556","title":"SCORE2-Diabetes: 10-year cardiovascular risk estimation in type 2 diabetes in Europe"},"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.","egfr_ml_min_1_73m2":90,"european_risk_region":"moderate","formula":"score2_diabetes","formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=(age-60)/5; csbp=(SBP-120)/20; ctc=(TC-6)/1; chdl=(HDL-1.3)/0.5; cdiabage=(age_at_dx-50)/5; chba1c=(HbA1c_mmol_mol-31)/9.34; cegfr=(ln(eGFR)-4.5)/0.15; diabetes=1; men S0=0.9605 lp=0.5368*cage+0.4774*smoke+0.1322*csbp+0.6457*diabetes+0.1102*ctc-0.1087*chdl-0.0672*cage*smoke-0.0268*cage*csbp-0.0983*cage*diabetes-0.0181*cage*ctc+0.0095*cage*chdl-0.0998*diabetes*cdiabage+0.0955*chba1c-0.0591*cegfr+0.0058*cegfr^2-0.0134*cage*chba1c+0.0115*cage*cegfr; women S0=0.9776 lp=0.6624*cage+0.6139*smoke+0.1421*csbp+0.8096*diabetes+0.1127*ctc-0.1568*chdl-0.1122*cage*smoke-0.0167*cage*csbp-0.1272*cage*diabetes-0.0200*cage*ctc+0.0186*cage*chdl-0.118*diabetes*cdiabage+0.1173*chba1c-0.0640*cegfr+0.0062*cegfr^2-0.0196*cage*chba1c+0.0169*cage*cegfr; region scale1/scale2 SCORE2 age<70 and SCORE2-OP age 70-79; age 40-79; type 2 diabetes only; geographic region not race; not SCORE2; not SCORE2-OP","hba1c_mmol_mol":50,"hdl_mmol_l":1.3,"linear_predictor":0.7175,"risk_10y_percent":11,"sbp_mm_hg":140,"sex":"male","smoker":false,"total_cholesterol_mmol_l":5.5},{"age":60,"age_at_diabetes_diagnosis":60,"citation":{"authors":"SCORE2-Diabetes working group and ESC Cardiovascular risk collaboration","doi":"10.1093/eurheartj/ehad260","id":"score2-diabetes-2023","pmid":"37247330","source":"Eur Heart J. 2023;44(28):2544-2556","title":"SCORE2-Diabetes: 10-year cardiovascular risk estimation in type 2 diabetes in Europe"},"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.","egfr_ml_min_1_73m2":90,"european_risk_region":"moderate","formula":"score2_diabetes","formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=(age-60)/5; csbp=(SBP-120)/20; ctc=(TC-6)/1; chdl=(HDL-1.3)/0.5; cdiabage=(age_at_dx-50)/5; chba1c=(HbA1c_mmol_mol-31)/9.34; cegfr=(ln(eGFR)-4.5)/0.15; diabetes=1; men S0=0.9605 lp=0.5368*cage+0.4774*smoke+0.1322*csbp+0.6457*diabetes+0.1102*ctc-0.1087*chdl-0.0672*cage*smoke-0.0268*cage*csbp-0.0983*cage*diabetes-0.0181*cage*ctc+0.0095*cage*chdl-0.0998*diabetes*cdiabage+0.0955*chba1c-0.0591*cegfr+0.0058*cegfr^2-0.0134*cage*chba1c+0.0115*cage*cegfr; women S0=0.9776 lp=0.6624*cage+0.6139*smoke+0.1421*csbp+0.8096*diabetes+0.1127*ctc-0.1568*chdl-0.1122*cage*smoke-0.0167*cage*csbp-0.1272*cage*diabetes-0.0200*cage*ctc+0.0186*cage*chdl-0.118*diabetes*cdiabage+0.1173*chba1c-0.0640*cegfr+0.0062*cegfr^2-0.0196*cage*chba1c+0.0169*cage*cegfr; region scale1/scale2 SCORE2 age<70 and SCORE2-OP age 70-79; age 40-79; type 2 diabetes only; geographic region not race; not SCORE2; not SCORE2-OP","hba1c_mmol_mol":50,"hdl_mmol_l":1.3,"linear_predictor":0.7175,"risk_10y_percent":11,"sbp_mm_hg":140,"sex":"male","smoker":false,"total_cholesterol_mmol_l":5.5}],"path":"/api/calc/score2_diabetes"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 40-79). SCORE2-Diabetes 2023 is for ages 40-79. Not SCORE2 (40-69 without diabetes labs). Not SCORE2-OP.","type":"integer"},"age_at_diabetes_diagnosis":{"description":"Age at type 2 diabetes diagnosis in years (integer 1-79, not after current age). Enters as (age_at_dx-50)/5. Patient is assumed to have type 2 diabetes.","type":"integer"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73 m² (5-200). Enters as (ln(eGFR)-4.5)/0.15 plus the squared term. magent does not compute CKD-EPI.","type":"number"},"european_risk_region":{"description":"Geographic SCORE2/SCORE2-OP calibration region (low, moderate, high, or very_high) as printed for SCORE2-Diabetes. Not race. Not ethnicity.","enum":["low","moderate","high","very_high"],"type":"string"},"hba1c_mmol_mol":{"description":"HbA1c in IFCC mmol/mol (20-195), not % DCCT. Enters as (HbA1c-31)/9.34. magent does not assay HbA1c.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.4-4). Enters as (HDL-1.3)/0.5. magent does not assay lipids.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Enters as (SBP-120)/20. magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the sex-specific SCORE2-Diabetes 2023 coefficients (female or male).","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (true or false). magent does not take a smoking history.","type":"boolean"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.5-15). Enters as (TC-6). magent does not assay lipids.","type":"number"}},"required":["age","sex","smoker","sbp_mm_hg","total_cholesterol_mmol_l","hdl_mmol_l","age_at_diabetes_diagnosis","hba1c_mmol_mol","egfr_ml_min_1_73m2","european_risk_region"],"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},{"id":38816,"slug":"38816","resource":"https://api.magentlab.com/api/calc/score2","description":"ESC 2021 SCORE2 10-year fatal plus non-fatal CVD percent for age 40-69 from sex, current smoking, systolic BP, non-HDL cholesterol, and European geographic risk region (low, moderate, high, very_high). Published sex-specific coefficients and region scale1/scale2. Not SCORE2-OP, not SCORE2-Diabetes, not 2013 PCE, not Reynolds, not a diagnosis or statin order. magent does not assay lipids.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"european_risk_region":"low","non_hdl_mmol_l":4.2,"sbp_mm_hg":140,"sex":"male","smoker":true},{"age":50,"european_risk_region":"low","non_hdl_mmol_l":4.2,"sbp_mm_hg":140,"sex":"male","smoker":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"citation":{"authors":"SCORE2 working group and ESC Cardiovascular risk collaboration","doi":"10.1093/eurheartj/ehab309","id":"score2-2021","pmid":"34120177","source":"Eur Heart J. 2021;42(25):2439-2454","title":"SCORE2 risk prediction algorithms: new models to estimate 10-year risk of cardiovascular disease in Europe"},"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.","european_risk_region":"low","formula":"score2","formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=(age-60)/5; csbp=(SBP-120)/20; charts display non-HDL mmol/L; equation uses TC and HDL at paper HDL centering 1.3 so TC=non-HDL+1.3, ctchol=(TC-6)/1, chdl=0; diabetes terms omitted (not SCORE2-Diabetes); men S0=0.9605 lp=0.3742*cage+0.6012*smoke+0.2777*csbp+0.1458*ctchol-0.2698*chdl-0.0755*cage*smoke-0.0255*cage*csbp-0.0281*cage*ctchol+0.0426*cage*chdl; women S0=0.9776 lp=0.4648*cage+0.7744*smoke+0.3131*csbp+0.1002*ctchol-0.2606*chdl-0.1088*cage*smoke-0.0277*cage*csbp-0.0226*cage*ctchol+0.0613*cage*chdl; region (scale1,scale2) men low (-0.5699,0.7476) moderate (-0.1565,0.8009) high (0.3207,0.9360) very_high (0.5836,0.8294); women low (-0.7380,0.7019) moderate (-0.3143,0.7701) high (0.5710,0.9369) very_high (0.9412,0.8329); SCORE2 2021 four-decimal coefficients (updated supplement Table 1); age 40-69; geographic region not race; not SCORE2-OP; not 2013 PCE","hdl_mmol_l":1.3,"linear_predictor":0.2315,"non_hdl_mmol_l":4.2,"risk_10y_percent":5.9,"sbp_mm_hg":140,"sex":"male","smoker":true,"total_cholesterol_mmol_l":5.5},{"age":50,"citation":{"authors":"SCORE2 working group and ESC Cardiovascular risk collaboration","doi":"10.1093/eurheartj/ehab309","id":"score2-2021","pmid":"34120177","source":"Eur Heart J. 2021;42(25):2439-2454","title":"SCORE2 risk prediction algorithms: new models to estimate 10-year risk of cardiovascular disease in Europe"},"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.","european_risk_region":"low","formula":"score2","formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=(age-60)/5; csbp=(SBP-120)/20; charts display non-HDL mmol/L; equation uses TC and HDL at paper HDL centering 1.3 so TC=non-HDL+1.3, ctchol=(TC-6)/1, chdl=0; diabetes terms omitted (not SCORE2-Diabetes); men S0=0.9605 lp=0.3742*cage+0.6012*smoke+0.2777*csbp+0.1458*ctchol-0.2698*chdl-0.0755*cage*smoke-0.0255*cage*csbp-0.0281*cage*ctchol+0.0426*cage*chdl; women S0=0.9776 lp=0.4648*cage+0.7744*smoke+0.3131*csbp+0.1002*ctchol-0.2606*chdl-0.1088*cage*smoke-0.0277*cage*csbp-0.0226*cage*ctchol+0.0613*cage*chdl; region (scale1,scale2) men low (-0.5699,0.7476) moderate (-0.1565,0.8009) high (0.3207,0.9360) very_high (0.5836,0.8294); women low (-0.7380,0.7019) moderate (-0.3143,0.7701) high (0.5710,0.9369) very_high (0.9412,0.8329); SCORE2 2021 four-decimal coefficients (updated supplement Table 1); age 40-69; geographic region not race; not SCORE2-OP; not 2013 PCE","hdl_mmol_l":1.3,"linear_predictor":0.2315,"non_hdl_mmol_l":4.2,"risk_10y_percent":5.9,"sbp_mm_hg":140,"sex":"male","smoker":true,"total_cholesterol_mmol_l":5.5}],"path":"/api/calc/score2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 40-69). SCORE2 2021 is for ages 40-69. Not SCORE2-OP (age 70 or older).","type":"integer"},"european_risk_region":{"description":"Geographic SCORE2 2021 calibration region (low, moderate, high, or very_high) as printed in that paper. Not race. Not ethnicity.","enum":["low","moderate","high","very_high"],"type":"string"},"non_hdl_mmol_l":{"description":"Non-HDL cholesterol in mmol/L (1-12). SCORE2 charts display non-HDL. The published equation uses TC and HDL at the paper HDL centering 1.3 mmol/L (TC = non-HDL + 1.3). The printed 50-year-old example is TC 5.5 and HDL 1.3 (non-HDL 4.2). magent does not assay lipids.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Enters as (SBP-120)/20. magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the sex-specific SCORE2 2021 coefficients (female or male).","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (true or false). magent does not take a smoking history.","type":"boolean"}},"required":["age","sex","smoker","sbp_mm_hg","non_hdl_mmol_l","european_risk_region"],"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":["score2","cvd-risk","lipids","esc-2021","europe","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:37:03.332Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:37:02.928Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"european_risk_region":"low","non_hdl_mmol_l":4.2,"sbp_mm_hg":140,"sex":"male","smoker":true},{"age":50,"european_risk_region":"low","non_hdl_mmol_l":4.2,"sbp_mm_hg":140,"sex":"male","smoker":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"citation":{"authors":"SCORE2 working group and ESC Cardiovascular risk collaboration","doi":"10.1093/eurheartj/ehab309","id":"score2-2021","pmid":"34120177","source":"Eur Heart J. 2021;42(25):2439-2454","title":"SCORE2 risk prediction algorithms: new models to estimate 10-year risk of cardiovascular disease in Europe"},"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.","european_risk_region":"low","formula":"score2","formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=(age-60)/5; csbp=(SBP-120)/20; charts display non-HDL mmol/L; equation uses TC and HDL at paper HDL centering 1.3 so TC=non-HDL+1.3, ctchol=(TC-6)/1, chdl=0; diabetes terms omitted (not SCORE2-Diabetes); men S0=0.9605 lp=0.3742*cage+0.6012*smoke+0.2777*csbp+0.1458*ctchol-0.2698*chdl-0.0755*cage*smoke-0.0255*cage*csbp-0.0281*cage*ctchol+0.0426*cage*chdl; women S0=0.9776 lp=0.4648*cage+0.7744*smoke+0.3131*csbp+0.1002*ctchol-0.2606*chdl-0.1088*cage*smoke-0.0277*cage*csbp-0.0226*cage*ctchol+0.0613*cage*chdl; region (scale1,scale2) men low (-0.5699,0.7476) moderate (-0.1565,0.8009) high (0.3207,0.9360) very_high (0.5836,0.8294); women low (-0.7380,0.7019) moderate (-0.3143,0.7701) high (0.5710,0.9369) very_high (0.9412,0.8329); SCORE2 2021 four-decimal coefficients (updated supplement Table 1); age 40-69; geographic region not race; not SCORE2-OP; not 2013 PCE","hdl_mmol_l":1.3,"linear_predictor":0.2315,"non_hdl_mmol_l":4.2,"risk_10y_percent":5.9,"sbp_mm_hg":140,"sex":"male","smoker":true,"total_cholesterol_mmol_l":5.5},{"age":50,"citation":{"authors":"SCORE2 working group and ESC Cardiovascular risk collaboration","doi":"10.1093/eurheartj/ehab309","id":"score2-2021","pmid":"34120177","source":"Eur Heart J. 2021;42(25):2439-2454","title":"SCORE2 risk prediction algorithms: new models to estimate 10-year risk of cardiovascular disease in Europe"},"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.","european_risk_region":"low","formula":"score2","formula_expression":"10-year fatal+non-fatal CVD % = 100*(1-exp(-exp(scale1+scale2*ln(-ln(1-uncal))))); uncal=1-S0^exp(lp); cage=(age-60)/5; csbp=(SBP-120)/20; charts display non-HDL mmol/L; equation uses TC and HDL at paper HDL centering 1.3 so TC=non-HDL+1.3, ctchol=(TC-6)/1, chdl=0; diabetes terms omitted (not SCORE2-Diabetes); men S0=0.9605 lp=0.3742*cage+0.6012*smoke+0.2777*csbp+0.1458*ctchol-0.2698*chdl-0.0755*cage*smoke-0.0255*cage*csbp-0.0281*cage*ctchol+0.0426*cage*chdl; women S0=0.9776 lp=0.4648*cage+0.7744*smoke+0.3131*csbp+0.1002*ctchol-0.2606*chdl-0.1088*cage*smoke-0.0277*cage*csbp-0.0226*cage*ctchol+0.0613*cage*chdl; region (scale1,scale2) men low (-0.5699,0.7476) moderate (-0.1565,0.8009) high (0.3207,0.9360) very_high (0.5836,0.8294); women low (-0.7380,0.7019) moderate (-0.3143,0.7701) high (0.5710,0.9369) very_high (0.9412,0.8329); SCORE2 2021 four-decimal coefficients (updated supplement Table 1); age 40-69; geographic region not race; not SCORE2-OP; not 2013 PCE","hdl_mmol_l":1.3,"linear_predictor":0.2315,"non_hdl_mmol_l":4.2,"risk_10y_percent":5.9,"sbp_mm_hg":140,"sex":"male","smoker":true,"total_cholesterol_mmol_l":5.5}],"path":"/api/calc/score2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 40-69). SCORE2 2021 is for ages 40-69. Not SCORE2-OP (age 70 or older).","type":"integer"},"european_risk_region":{"description":"Geographic SCORE2 2021 calibration region (low, moderate, high, or very_high) as printed in that paper. Not race. Not ethnicity.","enum":["low","moderate","high","very_high"],"type":"string"},"non_hdl_mmol_l":{"description":"Non-HDL cholesterol in mmol/L (1-12). SCORE2 charts display non-HDL. The published equation uses TC and HDL at the paper HDL centering 1.3 mmol/L (TC = non-HDL + 1.3). The printed 50-year-old example is TC 5.5 and HDL 1.3 (non-HDL 4.2). magent does not assay lipids.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Enters as (SBP-120)/20. magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the sex-specific SCORE2 2021 coefficients (female or male).","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (true or false). magent does not take a smoking history.","type":"boolean"}},"required":["age","sex","smoker","sbp_mm_hg","non_hdl_mmol_l","european_risk_region"],"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},{"id":38817,"slug":"38817","resource":"https://api.magentlab.com/api/calc/scoff","description":"Morgan 1999 SCOFF questionnaire: five caller-assigned yes/no flags (make yourself sick, lost control over eating, lost more than one stone / 14 lb in 3 months, believe fat when others say thin, food dominates life), 1 point each, max 5. Screen-positive when two or more answers are affirmative (score ≥2). Deterministic published score with citation; not a diagnosis of an eating disorder and not a medical device. magent does not interview the patient or interpret individual items.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"believe_fat_when_others_say_thin":false,"food_dominates_life":false,"lost_control_over_eating":false,"lost_more_than_one_stone_3_months":false,"make_yourself_sick":false},{"believe_fat_when_others_say_thin":false,"food_dominates_life":false,"lost_control_over_eating":false,"lost_more_than_one_stone_3_months":false,"make_yourself_sick":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Morgan JF, Reid F, Lacey JH","doi":"10.1136/bmj.319.7223.1467","id":"morgan-1999","pmid":"10582927","source":"BMJ. 1999;319(7223):1467-1468","title":"The SCOFF questionnaire: assessment of a new screening tool for eating disorders"},"components":[{"factor":"make_yourself_sick","points":0,"present":false},{"factor":"lost_control_over_eating","points":0,"present":false},{"factor":"lost_more_than_one_stone_3_months","points":0,"present":false},{"factor":"believe_fat_when_others_say_thin","points":0,"present":false},{"factor":"food_dominates_life","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":"scoff","formula_expression":"SCOFF = make_yourself_sick + lost_control_over_eating + lost_more_than_one_stone_3_months + believe_fat_when_others_say_thin + food_dominates_life; each 1 if true; max 5","max_score":5,"score":0,"screen_positive":false},{"citation":{"authors":"Morgan JF, Reid F, Lacey JH","doi":"10.1136/bmj.319.7223.1467","id":"morgan-1999","pmid":"10582927","source":"BMJ. 1999;319(7223):1467-1468","title":"The SCOFF questionnaire: assessment of a new screening tool for eating disorders"},"components":[{"factor":"make_yourself_sick","points":0,"present":false},{"factor":"lost_control_over_eating","points":0,"present":false},{"factor":"lost_more_than_one_stone_3_months","points":0,"present":false},{"factor":"believe_fat_when_others_say_thin","points":0,"present":false},{"factor":"food_dominates_life","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":"scoff","formula_expression":"SCOFF = make_yourself_sick + lost_control_over_eating + lost_more_than_one_stone_3_months + believe_fat_when_others_say_thin + food_dominates_life; each 1 if true; max 5","max_score":5,"score":0,"screen_positive":false}],"path":"/api/calc/scoff"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"believe_fat_when_others_say_thin":{"description":"Do you believe yourself to be Fat when others say you are too thin? (Morgan 1999). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"food_dominates_life":{"description":"Would you say that Food dominates your life? (Morgan 1999). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"lost_control_over_eating":{"description":"Do you worry you have lost Control over how much you eat? (Morgan 1999). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"lost_more_than_one_stone_3_months":{"description":"Have you recently lost more than One stone (14 lb) in a 3-month period? (Morgan 1999). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"make_yourself_sick":{"description":"Do you make yourself Sick because you feel uncomfortably full? (Morgan 1999). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"}},"required":["make_yourself_sick","lost_control_over_eating","lost_more_than_one_stone_3_months","believe_fat_when_others_say_thin","food_dominates_life"],"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":["scoff","eating-disorder","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:37:01.463Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:37:01.147Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"believe_fat_when_others_say_thin":false,"food_dominates_life":false,"lost_control_over_eating":false,"lost_more_than_one_stone_3_months":false,"make_yourself_sick":false},{"believe_fat_when_others_say_thin":false,"food_dominates_life":false,"lost_control_over_eating":false,"lost_more_than_one_stone_3_months":false,"make_yourself_sick":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Morgan JF, Reid F, Lacey JH","doi":"10.1136/bmj.319.7223.1467","id":"morgan-1999","pmid":"10582927","source":"BMJ. 1999;319(7223):1467-1468","title":"The SCOFF questionnaire: assessment of a new screening tool for eating disorders"},"components":[{"factor":"make_yourself_sick","points":0,"present":false},{"factor":"lost_control_over_eating","points":0,"present":false},{"factor":"lost_more_than_one_stone_3_months","points":0,"present":false},{"factor":"believe_fat_when_others_say_thin","points":0,"present":false},{"factor":"food_dominates_life","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":"scoff","formula_expression":"SCOFF = make_yourself_sick + lost_control_over_eating + lost_more_than_one_stone_3_months + believe_fat_when_others_say_thin + food_dominates_life; each 1 if true; max 5","max_score":5,"score":0,"screen_positive":false},{"citation":{"authors":"Morgan JF, Reid F, Lacey JH","doi":"10.1136/bmj.319.7223.1467","id":"morgan-1999","pmid":"10582927","source":"BMJ. 1999;319(7223):1467-1468","title":"The SCOFF questionnaire: assessment of a new screening tool for eating disorders"},"components":[{"factor":"make_yourself_sick","points":0,"present":false},{"factor":"lost_control_over_eating","points":0,"present":false},{"factor":"lost_more_than_one_stone_3_months","points":0,"present":false},{"factor":"believe_fat_when_others_say_thin","points":0,"present":false},{"factor":"food_dominates_life","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":"scoff","formula_expression":"SCOFF = make_yourself_sick + lost_control_over_eating + lost_more_than_one_stone_3_months + believe_fat_when_others_say_thin + food_dominates_life; each 1 if true; max 5","max_score":5,"score":0,"screen_positive":false}],"path":"/api/calc/scoff"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"believe_fat_when_others_say_thin":{"description":"Do you believe yourself to be Fat when others say you are too thin? (Morgan 1999). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"food_dominates_life":{"description":"Would you say that Food dominates your life? (Morgan 1999). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"lost_control_over_eating":{"description":"Do you worry you have lost Control over how much you eat? (Morgan 1999). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"lost_more_than_one_stone_3_months":{"description":"Have you recently lost more than One stone (14 lb) in a 3-month period? (Morgan 1999). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"make_yourself_sick":{"description":"Do you make yourself Sick because you feel uncomfortably full? (Morgan 1999). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"}},"required":["make_yourself_sick","lost_control_over_eating","lost_more_than_one_stone_3_months","believe_fat_when_others_say_thin","food_dominates_life"],"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},{"id":38818,"slug":"38818","resource":"https://api.magentlab.com/api/calc/schwartz_gfr","description":"Schwartz 2009 bedside eGFR for children with CKD (CKiD): 0.413 × height in cm divided by serum creatinine in mg/dL, rounded to one decimal as mL/min/1.73m2. Height may be centimeters or inches; creatinine may be mg/dL or µmol/L. Not a dosing recommendation, not CKD-EPI, not Cockcroft–Gault, and not the 1976 Schwartz k=0.55 formula. Does not assign CKD stages.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"height_cm":140,"height_in":60},{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"height_cm":140,"height_in":60}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Schwartz GJ, Muñoz A, Schneider MF, et al.","doi":"10.1681/ASN.2008030287","id":"schwartz-2009","source":"J Am Soc Nephrol. 2009;20(3):629-637","title":"New equations to estimate GFR in children with CKD"},"creatinine_mg_dl":1,"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.","egfr_ml_min_1_73m2":57.8,"formula":"schwartz_2009","formula_expression":"egfr_ml_min_1_73m2 = 0.413 * height_cm / creatinine_mg_dl","height_cm":140,"units":"mL/min/1.73m2"},{"citation":{"authors":"Schwartz GJ, Muñoz A, Schneider MF, et al.","doi":"10.1681/ASN.2008030287","id":"schwartz-2009","source":"J Am Soc Nephrol. 2009;20(3):629-637","title":"New equations to estimate GFR in children with CKD"},"creatinine_mg_dl":1,"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.","egfr_ml_min_1_73m2":57.8,"formula":"schwartz_2009","formula_expression":"egfr_ml_min_1_73m2 = 0.413 * height_cm / creatinine_mg_dl","height_cm":140,"units":"mL/min/1.73m2"}],"path":"/api/calc/schwartz_gfr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"height_cm":{"description":"Height in centimeters (50-250). Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches (20-98). Converted as cm = in * 2.54.","type":"number"}},"required":[],"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":["schwartz-gfr","pediatric","kidney","egfr","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:36:59.248Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:36:58.85Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"height_cm":140,"height_in":60},{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"height_cm":140,"height_in":60}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Schwartz GJ, Muñoz A, Schneider MF, et al.","doi":"10.1681/ASN.2008030287","id":"schwartz-2009","source":"J Am Soc Nephrol. 2009;20(3):629-637","title":"New equations to estimate GFR in children with CKD"},"creatinine_mg_dl":1,"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.","egfr_ml_min_1_73m2":57.8,"formula":"schwartz_2009","formula_expression":"egfr_ml_min_1_73m2 = 0.413 * height_cm / creatinine_mg_dl","height_cm":140,"units":"mL/min/1.73m2"},{"citation":{"authors":"Schwartz GJ, Muñoz A, Schneider MF, et al.","doi":"10.1681/ASN.2008030287","id":"schwartz-2009","source":"J Am Soc Nephrol. 2009;20(3):629-637","title":"New equations to estimate GFR in children with CKD"},"creatinine_mg_dl":1,"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.","egfr_ml_min_1_73m2":57.8,"formula":"schwartz_2009","formula_expression":"egfr_ml_min_1_73m2 = 0.413 * height_cm / creatinine_mg_dl","height_cm":140,"units":"mL/min/1.73m2"}],"path":"/api/calc/schwartz_gfr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"height_cm":{"description":"Height in centimeters (50-250). Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches (20-98). Converted as cm = in * 2.54.","type":"number"}},"required":[],"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},{"id":38819,"slug":"38819","resource":"https://api.magentlab.com/api/calc/schwab_england","description":"Schwab and England ADL (1969): caller-assigned integer 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (completely independent; independent with some slowness; independent in most chores; not completely independent; some dependency; more dependent; very dependent; few chores with effort; nothing alone; totally dependent; vegetative). Returns score, max 100, and a stable label. 0% vegetative is scored. Not Hoehn and Yahr and not Karnofsky. magent does not observe the patient. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"adl_percent":100},{"adl_percent":100}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"adl_label":"completely_independent","adl_percent":100,"citation":{"authors":"Schwab RS, England AC","id":"schwab-england-1969","source":"In: Gillingham FJ, Donaldson IML, eds. Third Symposium on Parkinson's Disease. Edinburgh: E & S Livingstone; 1969:152-157","title":"Projection technique for evaluating surgery in Parkinson's disease"},"components":[{"factor":"adl_percent","points":100,"present":true}],"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":"schwab_england","formula_expression":"Schwab and England ADL = caller-assigned integer 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (Schwab and England 1969); max 100; 0% vegetative is scored","max_score":100,"score":100},{"adl_label":"completely_independent","adl_percent":100,"citation":{"authors":"Schwab RS, England AC","id":"schwab-england-1969","source":"In: Gillingham FJ, Donaldson IML, eds. Third Symposium on Parkinson's Disease. Edinburgh: E & S Livingstone; 1969:152-157","title":"Projection technique for evaluating surgery in Parkinson's disease"},"components":[{"factor":"adl_percent","points":100,"present":true}],"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":"schwab_england","formula_expression":"Schwab and England ADL = caller-assigned integer 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (Schwab and England 1969); max 100; 0% vegetative is scored","max_score":100,"score":100}],"path":"/api/calc/schwab_england"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"adl_percent":{"description":"Schwab and England 1969 ADL percent 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 as assigned by the caller (100 completely independent, able to do all chores without slowness, difficulty or impairment; 90 completely independent with some slowness, difficulty and/or impairment, might take twice as long; 80 completely independent in most chores, takes twice as long; 70 not completely independent, more difficulty with some chores, three to four times as long in some; 60 some dependency, can do most chores but exceedingly slowly and with much effort; 50 more dependent, help with half, difficulty with everything; 40 very dependent, can assist with all chores but few alone; 30 with effort now and then does a few chores alone, much help needed; 20 nothing alone, can be a slight help with some chores; 10 totally dependent, helpless; 0 vegetative functions such as swallowing, bladder and bowel functions are not functioning, bedridden). 0% vegetative is scored. magent does not observe the patient.","type":"integer"}},"required":["adl_percent"],"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":["schwab-england","adl","parkinson","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:29:52.935Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:29:52.712Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"adl_percent":100},{"adl_percent":100}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"adl_label":"completely_independent","adl_percent":100,"citation":{"authors":"Schwab RS, England AC","id":"schwab-england-1969","source":"In: Gillingham FJ, Donaldson IML, eds. Third Symposium on Parkinson's Disease. Edinburgh: E & S Livingstone; 1969:152-157","title":"Projection technique for evaluating surgery in Parkinson's disease"},"components":[{"factor":"adl_percent","points":100,"present":true}],"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":"schwab_england","formula_expression":"Schwab and England ADL = caller-assigned integer 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (Schwab and England 1969); max 100; 0% vegetative is scored","max_score":100,"score":100},{"adl_label":"completely_independent","adl_percent":100,"citation":{"authors":"Schwab RS, England AC","id":"schwab-england-1969","source":"In: Gillingham FJ, Donaldson IML, eds. Third Symposium on Parkinson's Disease. Edinburgh: E & S Livingstone; 1969:152-157","title":"Projection technique for evaluating surgery in Parkinson's disease"},"components":[{"factor":"adl_percent","points":100,"present":true}],"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":"schwab_england","formula_expression":"Schwab and England ADL = caller-assigned integer 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (Schwab and England 1969); max 100; 0% vegetative is scored","max_score":100,"score":100}],"path":"/api/calc/schwab_england"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"adl_percent":{"description":"Schwab and England 1969 ADL percent 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 as assigned by the caller (100 completely independent, able to do all chores without slowness, difficulty or impairment; 90 completely independent with some slowness, difficulty and/or impairment, might take twice as long; 80 completely independent in most chores, takes twice as long; 70 not completely independent, more difficulty with some chores, three to four times as long in some; 60 some dependency, can do most chores but exceedingly slowly and with much effort; 50 more dependent, help with half, difficulty with everything; 40 very dependent, can assist with all chores but few alone; 30 with effort now and then does a few chores alone, much help needed; 20 nothing alone, can be a slight help with some chores; 10 totally dependent, helpless; 0 vegetative functions such as swallowing, bladder and bowel functions are not functioning, bedridden). 0% vegetative is scored. magent does not observe the patient.","type":"integer"}},"required":["adl_percent"],"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},{"id":38820,"slug":"38820","resource":"https://api.magentlab.com/api/calc/scarf","description":"Hardin 2019 SCARF from four caller-assigned flags (incentive spirometry <50% predicted, respiratory rate >20, numeric pain score ≥5, inadequate cough). 1 point each, total 0-4. Proposed threshold is score greater than 2. magent does not measure spirometry or examine the chest. Not a named risk class, analgesia order, or SSRF order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"inadequate_cough":false,"incentive_spirometry_lt_50_predicted":false,"pain_score_ge_5":false,"respiratory_rate_gt_20":false},{"inadequate_cough":false,"incentive_spirometry_lt_50_predicted":false,"pain_score_ge_5":false,"respiratory_rate_gt_20":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hardin KS, Leasia KN, Haenel J, Moore EE, Burlew CC, Pieracci FM","doi":"10.1097/TA.0000000000002480","id":"hardin-2019","pmid":"31425473","source":"J Trauma Acute Care Surg. 2019;87(6):1260-1268","title":"The Sequential Clinical Assessment of Respiratory Function (SCARF) score: A dynamic pulmonary physiologic score that predicts adverse outcomes in critically ill rib fracture patients"},"components":[{"factor":"incentive_spirometry_lt_50_predicted","points":0,"present":false},{"factor":"respiratory_rate_gt_20","points":0,"present":false},{"factor":"pain_score_ge_5","points":0,"present":false},{"factor":"inadequate_cough","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":"scarf","formula_expression":"SCARF = incentive_spirometry_lt_50_predicted + respiratory_rate_gt_20 + pain_score_ge_5 + inadequate_cough; each 1; Hardin 2019; max 4; proposed threshold score > 2 (scarf_gt_2); caller-assigned flags; magent does not measure spirometry or examine the chest","max_score":4,"scarf_gt_2":false,"score":0},{"citation":{"authors":"Hardin KS, Leasia KN, Haenel J, Moore EE, Burlew CC, Pieracci FM","doi":"10.1097/TA.0000000000002480","id":"hardin-2019","pmid":"31425473","source":"J Trauma Acute Care Surg. 2019;87(6):1260-1268","title":"The Sequential Clinical Assessment of Respiratory Function (SCARF) score: A dynamic pulmonary physiologic score that predicts adverse outcomes in critically ill rib fracture patients"},"components":[{"factor":"incentive_spirometry_lt_50_predicted","points":0,"present":false},{"factor":"respiratory_rate_gt_20","points":0,"present":false},{"factor":"pain_score_ge_5","points":0,"present":false},{"factor":"inadequate_cough","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":"scarf","formula_expression":"SCARF = incentive_spirometry_lt_50_predicted + respiratory_rate_gt_20 + pain_score_ge_5 + inadequate_cough; each 1; Hardin 2019; max 4; proposed threshold score > 2 (scarf_gt_2); caller-assigned flags; magent does not measure spirometry or examine the chest","max_score":4,"scarf_gt_2":false,"score":0}],"path":"/api/calc/scarf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"inadequate_cough":{"description":"Inadequate cough (unable to clear secretions) as assigned by the caller (Hardin 2019). true or false. magent does not examine the chest or cough.","type":"boolean"},"incentive_spirometry_lt_50_predicted":{"description":"Incentive spirometry volume <50% of predicted as assigned by the caller (Hardin 2019). true or false. magent does not measure incentive spirometry.","type":"boolean"},"pain_score_ge_5":{"description":"Numeric pain score ≥5 as assigned by the caller (Hardin 2019). true or false. magent does not score pain.","type":"boolean"},"respiratory_rate_gt_20":{"description":"Respiratory rate >20 breaths/min as assigned by the caller (Hardin 2019). true or false. magent does not count respiratory rate.","type":"boolean"}},"required":["incentive_spirometry_lt_50_predicted","respiratory_rate_gt_20","pain_score_ge_5","inadequate_cough"],"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":["scarf","rib-fracture","trauma","emergency","respiratory","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:29:49.894Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:29:49.737Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"inadequate_cough":false,"incentive_spirometry_lt_50_predicted":false,"pain_score_ge_5":false,"respiratory_rate_gt_20":false},{"inadequate_cough":false,"incentive_spirometry_lt_50_predicted":false,"pain_score_ge_5":false,"respiratory_rate_gt_20":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hardin KS, Leasia KN, Haenel J, Moore EE, Burlew CC, Pieracci FM","doi":"10.1097/TA.0000000000002480","id":"hardin-2019","pmid":"31425473","source":"J Trauma Acute Care Surg. 2019;87(6):1260-1268","title":"The Sequential Clinical Assessment of Respiratory Function (SCARF) score: A dynamic pulmonary physiologic score that predicts adverse outcomes in critically ill rib fracture patients"},"components":[{"factor":"incentive_spirometry_lt_50_predicted","points":0,"present":false},{"factor":"respiratory_rate_gt_20","points":0,"present":false},{"factor":"pain_score_ge_5","points":0,"present":false},{"factor":"inadequate_cough","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":"scarf","formula_expression":"SCARF = incentive_spirometry_lt_50_predicted + respiratory_rate_gt_20 + pain_score_ge_5 + inadequate_cough; each 1; Hardin 2019; max 4; proposed threshold score > 2 (scarf_gt_2); caller-assigned flags; magent does not measure spirometry or examine the chest","max_score":4,"scarf_gt_2":false,"score":0},{"citation":{"authors":"Hardin KS, Leasia KN, Haenel J, Moore EE, Burlew CC, Pieracci FM","doi":"10.1097/TA.0000000000002480","id":"hardin-2019","pmid":"31425473","source":"J Trauma Acute Care Surg. 2019;87(6):1260-1268","title":"The Sequential Clinical Assessment of Respiratory Function (SCARF) score: A dynamic pulmonary physiologic score that predicts adverse outcomes in critically ill rib fracture patients"},"components":[{"factor":"incentive_spirometry_lt_50_predicted","points":0,"present":false},{"factor":"respiratory_rate_gt_20","points":0,"present":false},{"factor":"pain_score_ge_5","points":0,"present":false},{"factor":"inadequate_cough","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":"scarf","formula_expression":"SCARF = incentive_spirometry_lt_50_predicted + respiratory_rate_gt_20 + pain_score_ge_5 + inadequate_cough; each 1; Hardin 2019; max 4; proposed threshold score > 2 (scarf_gt_2); caller-assigned flags; magent does not measure spirometry or examine the chest","max_score":4,"scarf_gt_2":false,"score":0}],"path":"/api/calc/scarf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"inadequate_cough":{"description":"Inadequate cough (unable to clear secretions) as assigned by the caller (Hardin 2019). true or false. magent does not examine the chest or cough.","type":"boolean"},"incentive_spirometry_lt_50_predicted":{"description":"Incentive spirometry volume <50% of predicted as assigned by the caller (Hardin 2019). true or false. magent does not measure incentive spirometry.","type":"boolean"},"pain_score_ge_5":{"description":"Numeric pain score ≥5 as assigned by the caller (Hardin 2019). true or false. magent does not score pain.","type":"boolean"},"respiratory_rate_gt_20":{"description":"Respiratory rate >20 breaths/min as assigned by the caller (Hardin 2019). true or false. magent does not count respiratory rate.","type":"boolean"}},"required":["incentive_spirometry_lt_50_predicted","respiratory_rate_gt_20","pain_score_ge_5","inadequate_cough"],"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},{"id":38821,"slug":"38821","resource":"https://api.magentlab.com/api/calc/save","description":"Schmidt 2015 SAVE-score from Table 4 integer cells plus constant −6. Age, weight, additive diagnoses, chronic renal failure, acute liver/CNS/renal failure, intubation hours, PIP ≤20, cardiac arrest, diastolic BP ≥40, pulse pressure ≤20, bicarbonate ≤15. Class I–V hospital survival 75/58/42/30/18%. Range −35 to 17. Not a VA-ECMO assignment. Not modified SAVE.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_renal_failure":false,"age":70,"bicarbonate_mmol_l":24,"chronic_renal_failure":false,"cns_dysfunction":false,"congenital_heart_disease":false,"diastolic_bp_mm_hg":35,"intubation_hours":5,"liver_failure":false,"myocarditis":false,"pip_cmh2o":25,"post_heart_or_lung_transplant":false,"pre_ecmo_cardiac_arrest":false,"pulse_pressure_mm_hg":40,"refractory_vt_vf":false,"weight_kg":95},{"acute_renal_failure":false,"age":70,"bicarbonate_mmol_l":24,"chronic_renal_failure":false,"cns_dysfunction":false,"congenital_heart_disease":false,"diastolic_bp_mm_hg":35,"intubation_hours":5,"liver_failure":false,"myocarditis":false,"pip_cmh2o":25,"post_heart_or_lung_transplant":false,"pre_ecmo_cardiac_arrest":false,"pulse_pressure_mm_hg":40,"refractory_vt_vf":false,"weight_kg":95}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Schmidt M, Burrell A, Roberts L, et al.","doi":"10.1093/eurheartj/ehv194","id":"schmidt-2015","pmid":"26033984","source":"Eur Heart J. 2015;36(33):2246-2256","title":"Predicting survival after ECMO for refractory cardiogenic shock: the survival after veno-arterial-ECMO (SAVE)-score"},"components":[{"factor":"myocarditis","points":0,"present":false},{"factor":"refractory_vt_vf","points":0,"present":false},{"factor":"post_heart_or_lung_transplant","points":0,"present":false},{"factor":"congenital_heart_disease","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":70},{"factor":"weight_kg","points":0,"present":false,"value":95},{"factor":"liver_failure","points":0,"present":false},{"factor":"cns_dysfunction","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"chronic_renal_failure","points":0,"present":false},{"factor":"intubation_hours","points":0,"present":false,"value":5},{"factor":"pip_cmh2o","points":0,"present":false,"value":25},{"factor":"pre_ecmo_cardiac_arrest","points":0,"present":false},{"factor":"diastolic_bp_mm_hg","points":0,"present":false,"value":35},{"factor":"pulse_pressure_mm_hg","points":0,"present":false,"value":40},{"factor":"bicarbonate_mmol_l","points":0,"present":false,"value":24},{"factor":"constant","points":-6,"present":true}],"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":"save","formula_expression":"SAVE = constant(−6) + age(18–38 → 7, 39–52 → 4, 53–62 → 3, ≥63 → 0) + weight_kg(≤65 → 1, 66–89 → 2, ≥90 → 0) + myocarditis(3) + refractory_vt_vf(2) + post_heart_or_lung_transplant(3) + congenital_heart_disease(−3) + liver_failure(−3) + cns_dysfunction(−3) + acute_renal_failure(−3) + chronic_renal_failure(−6) + intubation_hours(≤10 → 0, 11–29 → −2, ≥30 → −4) + pip_cmh2o(≤20 → 3) + pre_ecmo_cardiac_arrest(−2) + diastolic_bp_mm_hg(≥40 → 3) + pulse_pressure_mm_hg(≤20 → −2) + bicarbonate_mmol_l(≤15 → −3); diagnoses and acute organ failures may stack (Table 4 select one or more); other diagnoses 0; range −35 to 17; class I >5 → 75%, II 1–5 → 58%, III −4 to 0 → 42%, IV −9 to −5 → 30%, V ≤−10 → 18%","hospital_survival_percent":30,"max_score":17,"min_score":-35,"save_class":"IV","score":-6},{"citation":{"authors":"Schmidt M, Burrell A, Roberts L, et al.","doi":"10.1093/eurheartj/ehv194","id":"schmidt-2015","pmid":"26033984","source":"Eur Heart J. 2015;36(33):2246-2256","title":"Predicting survival after ECMO for refractory cardiogenic shock: the survival after veno-arterial-ECMO (SAVE)-score"},"components":[{"factor":"myocarditis","points":0,"present":false},{"factor":"refractory_vt_vf","points":0,"present":false},{"factor":"post_heart_or_lung_transplant","points":0,"present":false},{"factor":"congenital_heart_disease","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":70},{"factor":"weight_kg","points":0,"present":false,"value":95},{"factor":"liver_failure","points":0,"present":false},{"factor":"cns_dysfunction","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"chronic_renal_failure","points":0,"present":false},{"factor":"intubation_hours","points":0,"present":false,"value":5},{"factor":"pip_cmh2o","points":0,"present":false,"value":25},{"factor":"pre_ecmo_cardiac_arrest","points":0,"present":false},{"factor":"diastolic_bp_mm_hg","points":0,"present":false,"value":35},{"factor":"pulse_pressure_mm_hg","points":0,"present":false,"value":40},{"factor":"bicarbonate_mmol_l","points":0,"present":false,"value":24},{"factor":"constant","points":-6,"present":true}],"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":"save","formula_expression":"SAVE = constant(−6) + age(18–38 → 7, 39–52 → 4, 53–62 → 3, ≥63 → 0) + weight_kg(≤65 → 1, 66–89 → 2, ≥90 → 0) + myocarditis(3) + refractory_vt_vf(2) + post_heart_or_lung_transplant(3) + congenital_heart_disease(−3) + liver_failure(−3) + cns_dysfunction(−3) + acute_renal_failure(−3) + chronic_renal_failure(−6) + intubation_hours(≤10 → 0, 11–29 → −2, ≥30 → −4) + pip_cmh2o(≤20 → 3) + pre_ecmo_cardiac_arrest(−2) + diastolic_bp_mm_hg(≥40 → 3) + pulse_pressure_mm_hg(≤20 → −2) + bicarbonate_mmol_l(≤15 → −3); diagnoses and acute organ failures may stack (Table 4 select one or more); other diagnoses 0; range −35 to 17; class I >5 → 75%, II 1–5 → 58%, III −4 to 0 → 42%, IV −9 to −5 → 30%, V ≤−10 → 18%","hospital_survival_percent":30,"max_score":17,"min_score":-35,"save_class":"IV","score":-6}],"path":"/api/calc/save"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_renal_failure":{"description":"Acute pre-ECMO renal failure (Table 4, −3): creatinine >1.5 mg/dL with or without RRT. Distinct from chronic_renal_failure. May stack. true or false. Caller-assigned.","type":"boolean"},"age":{"description":"Age in years (18-120). Schmidt 2015 Table 4: 18–38 → 7, 39–52 → 4, 53–62 → 3, ≥63 → 0. Adult SAVE-score; magent does not assign pediatric VA-ECMO.","type":"integer"},"bicarbonate_mmol_l":{"description":"Serum bicarbonate in mmol/L before ECMO (1-50). Worst value within 6 h. Table 4: ≤15 → −3, otherwise 0. magent does not measure HCO3.","type":"number"},"chronic_renal_failure":{"description":"Chronic renal failure (Table 4, −6): kidney damage or GFR <60 mL/min/1.73 m² for ≥3 months. Distinct from acute_renal_failure. true or false. Caller-assigned.","type":"boolean"},"cns_dysfunction":{"description":"Acute pre-ECMO CNS dysfunction (Table 4, −3): neurotrauma, stroke, encephalopathy, cerebral embolism, seizure or epileptic syndromes. May stack. true or false. Caller-assigned; magent does not examine the patient.","type":"boolean"},"congenital_heart_disease":{"description":"Congenital heart disease (Table 4, −3). May stack with other diagnosis flags. true or false. Caller-assigned.","type":"boolean"},"diastolic_bp_mm_hg":{"description":"Diastolic blood pressure in mm Hg before ECMO (1-200). Worst value within 6 h of cannulation. Table 4: ≥40 → +3, otherwise 0. magent does not measure blood pressure.","type":"number"},"intubation_hours":{"description":"Hours of intubation before ECMO (0-720). Table 4: ≤10 → 0, 11–29 → −2, ≥30 → −4. Caller-supplied; magent does not read a ventilator log.","type":"number"},"liver_failure":{"description":"Acute pre-ECMO liver failure (Table 4, −3). Paper footnote: bilirubin ≥33 µmol/L or ALT or AST >70 U/L. Acute organ failures may stack. true or false. Caller-assigned; magent does not measure labs.","type":"boolean"},"myocarditis":{"description":"Acute myocarditis diagnosis (Table 4, +3). Diagnoses are not mutually exclusive (select one or more). true or false. Caller-assigned.","type":"boolean"},"pip_cmh2o":{"description":"Peak inspiratory pressure in cmH2O (5-80). Table 4: ≤20 → +3, otherwise 0. Worst value as assigned by the caller. magent does not read airway pressure.","type":"number"},"post_heart_or_lung_transplant":{"description":"Post heart or lung transplantation (Table 4, +3). May stack with other diagnosis flags. true or false. Caller-assigned.","type":"boolean"},"pre_ecmo_cardiac_arrest":{"description":"Cardiac arrest before ECMO (Table 4, −2). Derivation excluded eCPR during cannulation. true or false. Caller-assigned.","type":"boolean"},"pulse_pressure_mm_hg":{"description":"Pulse pressure in mm Hg before ECMO (0-200). Worst value within 6 h. Table 4: ≤20 → −2, otherwise 0. Caller-supplied; magent does not subtract systolic minus diastolic.","type":"number"},"refractory_vt_vf":{"description":"Refractory ventricular tachycardia or fibrillation (Table 4, +2). May stack with other diagnosis flags. true or false. Caller-assigned.","type":"boolean"},"weight_kg":{"description":"Weight in kg (20-400). Table 4 / Table 3 bands: ≤65 → 1, 66–89 → 2, ≥90 → 0. 65 kg scores 1 (≤65 before the 65–89 typeset overlap). Caller-supplied; magent does not weigh the patient.","type":"number"}},"required":["age","weight_kg","myocarditis","refractory_vt_vf","post_heart_or_lung_transplant","congenital_heart_disease","liver_failure","cns_dysfunction","acute_renal_failure","chronic_renal_failure","intubation_hours","pip_cmh2o","pre_ecmo_cardiac_arrest","diastolic_bp_mm_hg","pulse_pressure_mm_hg","bicarbonate_mmol_l"],"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":["save","ecmo","cardiogenic-shock","hemodynamics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:29:47.025Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:29:46.867Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_renal_failure":false,"age":70,"bicarbonate_mmol_l":24,"chronic_renal_failure":false,"cns_dysfunction":false,"congenital_heart_disease":false,"diastolic_bp_mm_hg":35,"intubation_hours":5,"liver_failure":false,"myocarditis":false,"pip_cmh2o":25,"post_heart_or_lung_transplant":false,"pre_ecmo_cardiac_arrest":false,"pulse_pressure_mm_hg":40,"refractory_vt_vf":false,"weight_kg":95},{"acute_renal_failure":false,"age":70,"bicarbonate_mmol_l":24,"chronic_renal_failure":false,"cns_dysfunction":false,"congenital_heart_disease":false,"diastolic_bp_mm_hg":35,"intubation_hours":5,"liver_failure":false,"myocarditis":false,"pip_cmh2o":25,"post_heart_or_lung_transplant":false,"pre_ecmo_cardiac_arrest":false,"pulse_pressure_mm_hg":40,"refractory_vt_vf":false,"weight_kg":95}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Schmidt M, Burrell A, Roberts L, et al.","doi":"10.1093/eurheartj/ehv194","id":"schmidt-2015","pmid":"26033984","source":"Eur Heart J. 2015;36(33):2246-2256","title":"Predicting survival after ECMO for refractory cardiogenic shock: the survival after veno-arterial-ECMO (SAVE)-score"},"components":[{"factor":"myocarditis","points":0,"present":false},{"factor":"refractory_vt_vf","points":0,"present":false},{"factor":"post_heart_or_lung_transplant","points":0,"present":false},{"factor":"congenital_heart_disease","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":70},{"factor":"weight_kg","points":0,"present":false,"value":95},{"factor":"liver_failure","points":0,"present":false},{"factor":"cns_dysfunction","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"chronic_renal_failure","points":0,"present":false},{"factor":"intubation_hours","points":0,"present":false,"value":5},{"factor":"pip_cmh2o","points":0,"present":false,"value":25},{"factor":"pre_ecmo_cardiac_arrest","points":0,"present":false},{"factor":"diastolic_bp_mm_hg","points":0,"present":false,"value":35},{"factor":"pulse_pressure_mm_hg","points":0,"present":false,"value":40},{"factor":"bicarbonate_mmol_l","points":0,"present":false,"value":24},{"factor":"constant","points":-6,"present":true}],"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":"save","formula_expression":"SAVE = constant(−6) + age(18–38 → 7, 39–52 → 4, 53–62 → 3, ≥63 → 0) + weight_kg(≤65 → 1, 66–89 → 2, ≥90 → 0) + myocarditis(3) + refractory_vt_vf(2) + post_heart_or_lung_transplant(3) + congenital_heart_disease(−3) + liver_failure(−3) + cns_dysfunction(−3) + acute_renal_failure(−3) + chronic_renal_failure(−6) + intubation_hours(≤10 → 0, 11–29 → −2, ≥30 → −4) + pip_cmh2o(≤20 → 3) + pre_ecmo_cardiac_arrest(−2) + diastolic_bp_mm_hg(≥40 → 3) + pulse_pressure_mm_hg(≤20 → −2) + bicarbonate_mmol_l(≤15 → −3); diagnoses and acute organ failures may stack (Table 4 select one or more); other diagnoses 0; range −35 to 17; class I >5 → 75%, II 1–5 → 58%, III −4 to 0 → 42%, IV −9 to −5 → 30%, V ≤−10 → 18%","hospital_survival_percent":30,"max_score":17,"min_score":-35,"save_class":"IV","score":-6},{"citation":{"authors":"Schmidt M, Burrell A, Roberts L, et al.","doi":"10.1093/eurheartj/ehv194","id":"schmidt-2015","pmid":"26033984","source":"Eur Heart J. 2015;36(33):2246-2256","title":"Predicting survival after ECMO for refractory cardiogenic shock: the survival after veno-arterial-ECMO (SAVE)-score"},"components":[{"factor":"myocarditis","points":0,"present":false},{"factor":"refractory_vt_vf","points":0,"present":false},{"factor":"post_heart_or_lung_transplant","points":0,"present":false},{"factor":"congenital_heart_disease","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":70},{"factor":"weight_kg","points":0,"present":false,"value":95},{"factor":"liver_failure","points":0,"present":false},{"factor":"cns_dysfunction","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"chronic_renal_failure","points":0,"present":false},{"factor":"intubation_hours","points":0,"present":false,"value":5},{"factor":"pip_cmh2o","points":0,"present":false,"value":25},{"factor":"pre_ecmo_cardiac_arrest","points":0,"present":false},{"factor":"diastolic_bp_mm_hg","points":0,"present":false,"value":35},{"factor":"pulse_pressure_mm_hg","points":0,"present":false,"value":40},{"factor":"bicarbonate_mmol_l","points":0,"present":false,"value":24},{"factor":"constant","points":-6,"present":true}],"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":"save","formula_expression":"SAVE = constant(−6) + age(18–38 → 7, 39–52 → 4, 53–62 → 3, ≥63 → 0) + weight_kg(≤65 → 1, 66–89 → 2, ≥90 → 0) + myocarditis(3) + refractory_vt_vf(2) + post_heart_or_lung_transplant(3) + congenital_heart_disease(−3) + liver_failure(−3) + cns_dysfunction(−3) + acute_renal_failure(−3) + chronic_renal_failure(−6) + intubation_hours(≤10 → 0, 11–29 → −2, ≥30 → −4) + pip_cmh2o(≤20 → 3) + pre_ecmo_cardiac_arrest(−2) + diastolic_bp_mm_hg(≥40 → 3) + pulse_pressure_mm_hg(≤20 → −2) + bicarbonate_mmol_l(≤15 → −3); diagnoses and acute organ failures may stack (Table 4 select one or more); other diagnoses 0; range −35 to 17; class I >5 → 75%, II 1–5 → 58%, III −4 to 0 → 42%, IV −9 to −5 → 30%, V ≤−10 → 18%","hospital_survival_percent":30,"max_score":17,"min_score":-35,"save_class":"IV","score":-6}],"path":"/api/calc/save"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_renal_failure":{"description":"Acute pre-ECMO renal failure (Table 4, −3): creatinine >1.5 mg/dL with or without RRT. Distinct from chronic_renal_failure. May stack. true or false. Caller-assigned.","type":"boolean"},"age":{"description":"Age in years (18-120). Schmidt 2015 Table 4: 18–38 → 7, 39–52 → 4, 53–62 → 3, ≥63 → 0. Adult SAVE-score; magent does not assign pediatric VA-ECMO.","type":"integer"},"bicarbonate_mmol_l":{"description":"Serum bicarbonate in mmol/L before ECMO (1-50). Worst value within 6 h. Table 4: ≤15 → −3, otherwise 0. magent does not measure HCO3.","type":"number"},"chronic_renal_failure":{"description":"Chronic renal failure (Table 4, −6): kidney damage or GFR <60 mL/min/1.73 m² for ≥3 months. Distinct from acute_renal_failure. true or false. Caller-assigned.","type":"boolean"},"cns_dysfunction":{"description":"Acute pre-ECMO CNS dysfunction (Table 4, −3): neurotrauma, stroke, encephalopathy, cerebral embolism, seizure or epileptic syndromes. May stack. true or false. Caller-assigned; magent does not examine the patient.","type":"boolean"},"congenital_heart_disease":{"description":"Congenital heart disease (Table 4, −3). May stack with other diagnosis flags. true or false. Caller-assigned.","type":"boolean"},"diastolic_bp_mm_hg":{"description":"Diastolic blood pressure in mm Hg before ECMO (1-200). Worst value within 6 h of cannulation. Table 4: ≥40 → +3, otherwise 0. magent does not measure blood pressure.","type":"number"},"intubation_hours":{"description":"Hours of intubation before ECMO (0-720). Table 4: ≤10 → 0, 11–29 → −2, ≥30 → −4. Caller-supplied; magent does not read a ventilator log.","type":"number"},"liver_failure":{"description":"Acute pre-ECMO liver failure (Table 4, −3). Paper footnote: bilirubin ≥33 µmol/L or ALT or AST >70 U/L. Acute organ failures may stack. true or false. Caller-assigned; magent does not measure labs.","type":"boolean"},"myocarditis":{"description":"Acute myocarditis diagnosis (Table 4, +3). Diagnoses are not mutually exclusive (select one or more). true or false. Caller-assigned.","type":"boolean"},"pip_cmh2o":{"description":"Peak inspiratory pressure in cmH2O (5-80). Table 4: ≤20 → +3, otherwise 0. Worst value as assigned by the caller. magent does not read airway pressure.","type":"number"},"post_heart_or_lung_transplant":{"description":"Post heart or lung transplantation (Table 4, +3). May stack with other diagnosis flags. true or false. Caller-assigned.","type":"boolean"},"pre_ecmo_cardiac_arrest":{"description":"Cardiac arrest before ECMO (Table 4, −2). Derivation excluded eCPR during cannulation. true or false. Caller-assigned.","type":"boolean"},"pulse_pressure_mm_hg":{"description":"Pulse pressure in mm Hg before ECMO (0-200). Worst value within 6 h. Table 4: ≤20 → −2, otherwise 0. Caller-supplied; magent does not subtract systolic minus diastolic.","type":"number"},"refractory_vt_vf":{"description":"Refractory ventricular tachycardia or fibrillation (Table 4, +2). May stack with other diagnosis flags. true or false. Caller-assigned.","type":"boolean"},"weight_kg":{"description":"Weight in kg (20-400). Table 4 / Table 3 bands: ≤65 → 1, 66–89 → 2, ≥90 → 0. 65 kg scores 1 (≤65 before the 65–89 typeset overlap). Caller-supplied; magent does not weigh the patient.","type":"number"}},"required":["age","weight_kg","myocarditis","refractory_vt_vf","post_heart_or_lung_transplant","congenital_heart_disease","liver_failure","cns_dysfunction","acute_renal_failure","chronic_renal_failure","intubation_hours","pip_cmh2o","pre_ecmo_cardiac_arrest","diastolic_bp_mm_hg","pulse_pressure_mm_hg","bicarbonate_mmol_l"],"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},{"id":38822,"slug":"38822","resource":"https://api.magentlab.com/api/calc/safe","description":"Sripongpun 2023 steatosis-associated fibrosis estimator (SAFE) from age, BMI (capped at 40 in the equation), diabetes, AST, ALT, globulin in g/dL, and platelets. Deterministic published equation with citation. Rule-out below 0; rule-in above 100. Not a biopsy, fibrosis stage, FIB-4, NAFLD fibrosis score, or BARD. magent does not compute BMI from height and weight.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"diabetes":false,"globulin_g_dl":3,"platelets_10e9_l":200},{"age":50,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"diabetes":false,"globulin_g_dl":3,"platelets_10e9_l":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"bmi_used":30,"citation":{"authors":"Sripongpun P, Kim WR, Mannalithara A, et al.","doi":"10.1002/hep.32545","id":"sripongpun-2023","pmid":"35477908","source":"Hepatology. 2023;77(1):256-267","title":"The steatosis-associated fibrosis estimator (SAFE) score: A tool to detect low-risk NAFLD in primary care"},"diabetes":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":"safe","formula_expression":"SAFE = 2.97*age + 5.99*min(BMI, 40) + 154.85*ln(AST) - 58.23*ln(ALT) + 195.48*ln(globulin_g_dl) - 141.61*ln(platelets_10e9_l) + 62.85*(diabetes 0/1) - 75","globulin_g_dl":3,"platelets_10e9_l":200,"safe":74.08,"safe_band":"0_to_100"},{"age_years":50,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"bmi_used":30,"citation":{"authors":"Sripongpun P, Kim WR, Mannalithara A, et al.","doi":"10.1002/hep.32545","id":"sripongpun-2023","pmid":"35477908","source":"Hepatology. 2023;77(1):256-267","title":"The steatosis-associated fibrosis estimator (SAFE) score: A tool to detect low-risk NAFLD in primary care"},"diabetes":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":"safe","formula_expression":"SAFE = 2.97*age + 5.99*min(BMI, 40) + 154.85*ln(AST) - 58.23*ln(ALT) + 195.48*ln(globulin_g_dl) - 141.61*ln(platelets_10e9_l) + 62.85*(diabetes 0/1) - 75","globulin_g_dl":3,"platelets_10e9_l":200,"safe":74.08,"safe_band":"0_to_100"}],"path":"/api/calc/safe"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000).","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000).","type":"number"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Values above 40 are set to 40 in the formula only (Sripongpun 2023); the caller BMI is still echoed.","type":"number"},"diabetes":{"description":"Diabetes as assigned by the caller (Sripongpun 2023; 0 or 1 in the equation). true or false. magent does not diagnose diabetes.","type":"boolean"},"globulin_g_dl":{"description":"Globulin in g/dL (0.5-8.0). Total protein minus albumin. magent does not convert g/L or split protein and albumin.","type":"number"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000).","type":"number"}},"required":["age","bmi_kg_m2","diabetes","ast_u_l","alt_u_l","globulin_g_dl","platelets_10e9_l"],"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":["safe","nafld","fibrosis","liver","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:17:23.297Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:17:23.163Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"diabetes":false,"globulin_g_dl":3,"platelets_10e9_l":200},{"age":50,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"diabetes":false,"globulin_g_dl":3,"platelets_10e9_l":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"bmi_used":30,"citation":{"authors":"Sripongpun P, Kim WR, Mannalithara A, et al.","doi":"10.1002/hep.32545","id":"sripongpun-2023","pmid":"35477908","source":"Hepatology. 2023;77(1):256-267","title":"The steatosis-associated fibrosis estimator (SAFE) score: A tool to detect low-risk NAFLD in primary care"},"diabetes":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":"safe","formula_expression":"SAFE = 2.97*age + 5.99*min(BMI, 40) + 154.85*ln(AST) - 58.23*ln(ALT) + 195.48*ln(globulin_g_dl) - 141.61*ln(platelets_10e9_l) + 62.85*(diabetes 0/1) - 75","globulin_g_dl":3,"platelets_10e9_l":200,"safe":74.08,"safe_band":"0_to_100"},{"age_years":50,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"bmi_used":30,"citation":{"authors":"Sripongpun P, Kim WR, Mannalithara A, et al.","doi":"10.1002/hep.32545","id":"sripongpun-2023","pmid":"35477908","source":"Hepatology. 2023;77(1):256-267","title":"The steatosis-associated fibrosis estimator (SAFE) score: A tool to detect low-risk NAFLD in primary care"},"diabetes":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":"safe","formula_expression":"SAFE = 2.97*age + 5.99*min(BMI, 40) + 154.85*ln(AST) - 58.23*ln(ALT) + 195.48*ln(globulin_g_dl) - 141.61*ln(platelets_10e9_l) + 62.85*(diabetes 0/1) - 75","globulin_g_dl":3,"platelets_10e9_l":200,"safe":74.08,"safe_band":"0_to_100"}],"path":"/api/calc/safe"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000).","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000).","type":"number"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Values above 40 are set to 40 in the formula only (Sripongpun 2023); the caller BMI is still echoed.","type":"number"},"diabetes":{"description":"Diabetes as assigned by the caller (Sripongpun 2023; 0 or 1 in the equation). true or false. magent does not diagnose diabetes.","type":"boolean"},"globulin_g_dl":{"description":"Globulin in g/dL (0.5-8.0). Total protein minus albumin. magent does not convert g/L or split protein and albumin.","type":"number"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000).","type":"number"}},"required":["age","bmi_kg_m2","diabetes","ast_u_l","alt_u_l","globulin_g_dl","platelets_10e9_l"],"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},{"id":38823,"slug":"38823","resource":"https://api.magentlab.com/api/calc/rule_of_nines","description":"Adult Wallace 1951 rule of nines: percent TBSA from eight region fractions (0 none, 0.5 half, 1 full) using head 9, each arm 9, anterior trunk 18, posterior trunk 18, each leg 18, perineum 1. magent does not examine the burn. Not Lund-Browder and not a Parkland fluid order (Parkland takes tbsa_percent separately).","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anterior_trunk":1,"arm_left":0,"arm_right":0,"head":0,"leg_left":0,"leg_right":0,"perineum":0,"posterior_trunk":0},{"anterior_trunk":1,"arm_left":0,"arm_right":0,"head":0,"leg_left":0,"leg_right":0,"perineum":0,"posterior_trunk":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anterior_trunk":1,"arm_left":0,"arm_right":0,"citation":{"authors":"Wallace AB","doi":"10.1016/s0140-6736(51)91975-7","id":"wallace-1951","pmid":"14805109","source":"Lancet. 1951;1(6653):501-504","title":"The exposure treatment of burns"},"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":"rule_of_nines","formula_expression":"tbsa_percent = head*9 + arm_left*9 + arm_right*9 + anterior_trunk*18 + posterior_trunk*18 + leg_left*18 + leg_right*18 + perineum*1 (Wallace 1951 adult percents; each factor is 0, 0.5, or 1)","head":0,"leg_left":0,"leg_right":0,"perineum":0,"posterior_trunk":0,"tbsa_percent":18},{"anterior_trunk":1,"arm_left":0,"arm_right":0,"citation":{"authors":"Wallace AB","doi":"10.1016/s0140-6736(51)91975-7","id":"wallace-1951","pmid":"14805109","source":"Lancet. 1951;1(6653):501-504","title":"The exposure treatment of burns"},"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":"rule_of_nines","formula_expression":"tbsa_percent = head*9 + arm_left*9 + arm_right*9 + anterior_trunk*18 + posterior_trunk*18 + leg_left*18 + leg_right*18 + perineum*1 (Wallace 1951 adult percents; each factor is 0, 0.5, or 1)","head":0,"leg_left":0,"leg_right":0,"perineum":0,"posterior_trunk":0,"tbsa_percent":18}],"path":"/api/calc/rule_of_nines"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anterior_trunk":{"description":"Caller-assigned Wallace 1951 adult anterior_trunk involvement (0 none, 0.5 half, 1 full). Full involvement is 18%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"arm_left":{"description":"Caller-assigned Wallace 1951 adult arm_left involvement (0 none, 0.5 half, 1 full). Full involvement is 9%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"arm_right":{"description":"Caller-assigned Wallace 1951 adult arm_right involvement (0 none, 0.5 half, 1 full). Full involvement is 9%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"head":{"description":"Caller-assigned Wallace 1951 adult head involvement (0 none, 0.5 half, 1 full). Full involvement is 9%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"leg_left":{"description":"Caller-assigned Wallace 1951 adult leg_left involvement (0 none, 0.5 half, 1 full). Full involvement is 18%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"leg_right":{"description":"Caller-assigned Wallace 1951 adult leg_right involvement (0 none, 0.5 half, 1 full). Full involvement is 18%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"perineum":{"description":"Caller-assigned Wallace 1951 adult perineum involvement (0 none, 0.5 half, 1 full). Full involvement is 1%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"posterior_trunk":{"description":"Caller-assigned Wallace 1951 adult posterior_trunk involvement (0 none, 0.5 half, 1 full). Full involvement is 18%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"}},"required":["head","arm_left","arm_right","anterior_trunk","posterior_trunk","leg_left","leg_right","perineum"],"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":["burns","tbsa","wallace","fluids","nines","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:17:22.3Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:17:22.135Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anterior_trunk":1,"arm_left":0,"arm_right":0,"head":0,"leg_left":0,"leg_right":0,"perineum":0,"posterior_trunk":0},{"anterior_trunk":1,"arm_left":0,"arm_right":0,"head":0,"leg_left":0,"leg_right":0,"perineum":0,"posterior_trunk":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anterior_trunk":1,"arm_left":0,"arm_right":0,"citation":{"authors":"Wallace AB","doi":"10.1016/s0140-6736(51)91975-7","id":"wallace-1951","pmid":"14805109","source":"Lancet. 1951;1(6653):501-504","title":"The exposure treatment of burns"},"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":"rule_of_nines","formula_expression":"tbsa_percent = head*9 + arm_left*9 + arm_right*9 + anterior_trunk*18 + posterior_trunk*18 + leg_left*18 + leg_right*18 + perineum*1 (Wallace 1951 adult percents; each factor is 0, 0.5, or 1)","head":0,"leg_left":0,"leg_right":0,"perineum":0,"posterior_trunk":0,"tbsa_percent":18},{"anterior_trunk":1,"arm_left":0,"arm_right":0,"citation":{"authors":"Wallace AB","doi":"10.1016/s0140-6736(51)91975-7","id":"wallace-1951","pmid":"14805109","source":"Lancet. 1951;1(6653):501-504","title":"The exposure treatment of burns"},"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":"rule_of_nines","formula_expression":"tbsa_percent = head*9 + arm_left*9 + arm_right*9 + anterior_trunk*18 + posterior_trunk*18 + leg_left*18 + leg_right*18 + perineum*1 (Wallace 1951 adult percents; each factor is 0, 0.5, or 1)","head":0,"leg_left":0,"leg_right":0,"perineum":0,"posterior_trunk":0,"tbsa_percent":18}],"path":"/api/calc/rule_of_nines"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anterior_trunk":{"description":"Caller-assigned Wallace 1951 adult anterior_trunk involvement (0 none, 0.5 half, 1 full). Full involvement is 18%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"arm_left":{"description":"Caller-assigned Wallace 1951 adult arm_left involvement (0 none, 0.5 half, 1 full). Full involvement is 9%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"arm_right":{"description":"Caller-assigned Wallace 1951 adult arm_right involvement (0 none, 0.5 half, 1 full). Full involvement is 9%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"head":{"description":"Caller-assigned Wallace 1951 adult head involvement (0 none, 0.5 half, 1 full). Full involvement is 9%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"leg_left":{"description":"Caller-assigned Wallace 1951 adult leg_left involvement (0 none, 0.5 half, 1 full). Full involvement is 18%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"leg_right":{"description":"Caller-assigned Wallace 1951 adult leg_right involvement (0 none, 0.5 half, 1 full). Full involvement is 18%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"perineum":{"description":"Caller-assigned Wallace 1951 adult perineum involvement (0 none, 0.5 half, 1 full). Full involvement is 1%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"},"posterior_trunk":{"description":"Caller-assigned Wallace 1951 adult posterior_trunk involvement (0 none, 0.5 half, 1 full). Full involvement is 18%. magent does not examine the burn.","enum":[0,0.5,1],"type":"number"}},"required":["head","arm_left","arm_right","anterior_trunk","posterior_trunk","leg_left","leg_right","perineum"],"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},{"id":38824,"slug":"38824","resource":"https://api.magentlab.com/api/calc/rule_7s","description":"Cohn 2012 Rule of 7s. Low-risk for Lyme meningitis iff all three hold: headache duration <7 days, CSF mononuclear cells <70%, and no seventh or other cranial-nerve palsy. Seven days and 70% are not low-risk. The caller assigns duration, CSF differential, and palsy. magent does not examine nerves or count CSF cells. Not a Lyme diagnosis, not a medical device, and not a treatment or discharge order. Does not compute Avery 2006 logistic probabilities.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cranial_nerve_palsy":false,"csf_mononuclear_percent":40,"headache_days":3},{"cranial_nerve_palsy":false,"csf_mononuclear_percent":40,"headache_days":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cohn KA, Thompson AD, Shah SS, Hines EM, Lyons TW, Welsh EJ, Nigrovic LE","doi":"10.1542/peds.2011-1215","id":"cohn-2012","pmid":"22184646","source":"Pediatrics. 2012;129(1):e46-e53","title":"Validation of a clinical prediction rule to distinguish Lyme meningitis from aseptic meningitis"},"criteria":[{"factor":"headache_days_lt_7","met":true,"value":3},{"factor":"csf_mononuclear_percent_lt_70","met":true,"value":40},{"factor":"no_cranial_nerve_palsy","met":true}],"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":"rule_7s","formula_expression":"low-risk iff headache_days < 7 and csf_mononuclear_percent < 70 and cranial_nerve_palsy is false","rule7s_low_risk":true},{"citation":{"authors":"Cohn KA, Thompson AD, Shah SS, Hines EM, Lyons TW, Welsh EJ, Nigrovic LE","doi":"10.1542/peds.2011-1215","id":"cohn-2012","pmid":"22184646","source":"Pediatrics. 2012;129(1):e46-e53","title":"Validation of a clinical prediction rule to distinguish Lyme meningitis from aseptic meningitis"},"criteria":[{"factor":"headache_days_lt_7","met":true,"value":3},{"factor":"csf_mononuclear_percent_lt_70","met":true,"value":40},{"factor":"no_cranial_nerve_palsy","met":true}],"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":"rule_7s","formula_expression":"low-risk iff headache_days < 7 and csf_mononuclear_percent < 70 and cranial_nerve_palsy is false","rule7s_low_risk":true}],"path":"/api/calc/rule_7s"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cranial_nerve_palsy":{"description":"Seventh or other cranial-nerve palsy. true or false as assigned by the caller. Low-risk criterion holds when false (palsy absent). magent does not examine nerves.","type":"boolean"},"csf_mononuclear_percent":{"description":"CSF mononuclear cell percent (0-100). Low-risk criterion holds when strictly less than 70. Seventy percent is not low-risk. magent does not count CSF cells.","type":"number"},"headache_days":{"description":"Duration of headache in days (integer 0-90). Low-risk criterion holds when strictly less than 7. Seven days is not low-risk. magent does not take a history.","type":"integer"}},"required":["headache_days","csf_mononuclear_percent","cranial_nerve_palsy"],"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":["rule-7s","lyme","meningitis","emergency","csf","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:17:21.456Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:17:21.295Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cranial_nerve_palsy":false,"csf_mononuclear_percent":40,"headache_days":3},{"cranial_nerve_palsy":false,"csf_mononuclear_percent":40,"headache_days":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cohn KA, Thompson AD, Shah SS, Hines EM, Lyons TW, Welsh EJ, Nigrovic LE","doi":"10.1542/peds.2011-1215","id":"cohn-2012","pmid":"22184646","source":"Pediatrics. 2012;129(1):e46-e53","title":"Validation of a clinical prediction rule to distinguish Lyme meningitis from aseptic meningitis"},"criteria":[{"factor":"headache_days_lt_7","met":true,"value":3},{"factor":"csf_mononuclear_percent_lt_70","met":true,"value":40},{"factor":"no_cranial_nerve_palsy","met":true}],"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":"rule_7s","formula_expression":"low-risk iff headache_days < 7 and csf_mononuclear_percent < 70 and cranial_nerve_palsy is false","rule7s_low_risk":true},{"citation":{"authors":"Cohn KA, Thompson AD, Shah SS, Hines EM, Lyons TW, Welsh EJ, Nigrovic LE","doi":"10.1542/peds.2011-1215","id":"cohn-2012","pmid":"22184646","source":"Pediatrics. 2012;129(1):e46-e53","title":"Validation of a clinical prediction rule to distinguish Lyme meningitis from aseptic meningitis"},"criteria":[{"factor":"headache_days_lt_7","met":true,"value":3},{"factor":"csf_mononuclear_percent_lt_70","met":true,"value":40},{"factor":"no_cranial_nerve_palsy","met":true}],"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":"rule_7s","formula_expression":"low-risk iff headache_days < 7 and csf_mononuclear_percent < 70 and cranial_nerve_palsy is false","rule7s_low_risk":true}],"path":"/api/calc/rule_7s"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cranial_nerve_palsy":{"description":"Seventh or other cranial-nerve palsy. true or false as assigned by the caller. Low-risk criterion holds when false (palsy absent). magent does not examine nerves.","type":"boolean"},"csf_mononuclear_percent":{"description":"CSF mononuclear cell percent (0-100). Low-risk criterion holds when strictly less than 70. Seventy percent is not low-risk. magent does not count CSF cells.","type":"number"},"headache_days":{"description":"Duration of headache in days (integer 0-90). Low-risk criterion holds when strictly less than 7. Seven days is not low-risk. magent does not take a history.","type":"integer"}},"required":["headache_days","csf_mononuclear_percent","cranial_nerve_palsy"],"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},{"id":38825,"slug":"38825","resource":"https://api.magentlab.com/api/calc/ruis","description":"Sansoni 2008 RUIS: five caller-assigned integers for urgency leakage, activity leakage, and drops leakage (each 0-3), leakage frequency (0-4), and leakage amount (0-3). Sum 0-16. magent does not interview the patient. Sansoni 2008 published no mild/moderate/severe RUIS total-score bands; ISI frequency×amount cuts are not applied. Not a diagnosis, not a continence-procedure order, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"activity_leakage":0,"drops_leakage":0,"leakage_amount":0,"leakage_frequency":0,"urgency_leakage":0},{"activity_leakage":0,"drops_leakage":0,"leakage_amount":0,"leakage_frequency":0,"urgency_leakage":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sansoni J, Marosszeky N, Sansoni E, Hawthorne G","id":"sansoni-ruis","source":"Centre for Health Service Development, University of Wollongong. 2008","title":"The development of the Revised Urinary Incontinence Scale (RUIS)"},"components":[{"factor":"urgency_leakage","points":0,"present":true,"value":0},{"factor":"activity_leakage","points":0,"present":true,"value":0},{"factor":"drops_leakage","points":0,"present":true,"value":0},{"factor":"leakage_frequency","points":0,"present":true,"value":0},{"factor":"leakage_amount","points":0,"present":true,"value":0}],"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":"ruis","formula_expression":"RUIS = urgency_leakage (0-3) + activity_leakage (0-3) + drops_leakage (0-3) + leakage_frequency (0-4) + leakage_amount (0-3); each caller-assigned; max 16; Sansoni 2008; no RUIS total-score severity bands; not ISI frequency×amount","max_score":16,"score":0},{"citation":{"authors":"Sansoni J, Marosszeky N, Sansoni E, Hawthorne G","id":"sansoni-ruis","source":"Centre for Health Service Development, University of Wollongong. 2008","title":"The development of the Revised Urinary Incontinence Scale (RUIS)"},"components":[{"factor":"urgency_leakage","points":0,"present":true,"value":0},{"factor":"activity_leakage","points":0,"present":true,"value":0},{"factor":"drops_leakage","points":0,"present":true,"value":0},{"factor":"leakage_frequency","points":0,"present":true,"value":0},{"factor":"leakage_amount","points":0,"present":true,"value":0}],"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":"ruis","formula_expression":"RUIS = urgency_leakage (0-3) + activity_leakage (0-3) + drops_leakage (0-3) + leakage_frequency (0-4) + leakage_amount (0-3); each caller-assigned; max 16; Sansoni 2008; no RUIS total-score severity bands; not ISI frequency×amount","max_score":16,"score":0}],"path":"/api/calc/ruis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity_leakage":{"description":"Caller-assigned Sansoni 2008 RUIS item 2 (integer 0-3: 0 not at all, 1 slightly, 2 moderately, 3 greatly): urine leakage related to physical activity, coughing or sneezing. magent does not interview the patient.","enum":[0,1,2,3],"type":"integer"},"drops_leakage":{"description":"Caller-assigned Sansoni 2008 RUIS item 3 (integer 0-3: 0 not at all, 1 slightly, 2 moderately, 3 greatly): small amounts of urine leakage (drops). magent does not interview the patient.","enum":[0,1,2,3],"type":"integer"},"leakage_amount":{"description":"Caller-assigned Sansoni 2008 RUIS item 5 (integer 0-3: 0 none, 1 drops, 2 small splashes, 3 more): how much urine is lost each time. magent does not interview the patient.","enum":[0,1,2,3],"type":"integer"},"leakage_frequency":{"description":"Caller-assigned Sansoni 2008 RUIS item 4 (integer 0-4: 0 never, 1 less than once a month, 2 a few times a month, 3 a few times a week, 4 every day and/or night): how often urine leakage is experienced. magent does not interview the patient.","enum":[0,1,2,3,4],"type":"integer"},"urgency_leakage":{"description":"Caller-assigned Sansoni 2008 RUIS item 1 (integer 0-3: 0 not at all, 1 slightly, 2 moderately, 3 greatly): urine leakage related to the feeling of urgency. magent does not interview the patient.","enum":[0,1,2,3],"type":"integer"}},"required":["urgency_leakage","activity_leakage","drops_leakage","leakage_frequency","leakage_amount"],"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":["ruis","incontinence","urology","sansoni","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:12:06.13Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:12:05.833Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"activity_leakage":0,"drops_leakage":0,"leakage_amount":0,"leakage_frequency":0,"urgency_leakage":0},{"activity_leakage":0,"drops_leakage":0,"leakage_amount":0,"leakage_frequency":0,"urgency_leakage":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sansoni J, Marosszeky N, Sansoni E, Hawthorne G","id":"sansoni-ruis","source":"Centre for Health Service Development, University of Wollongong. 2008","title":"The development of the Revised Urinary Incontinence Scale (RUIS)"},"components":[{"factor":"urgency_leakage","points":0,"present":true,"value":0},{"factor":"activity_leakage","points":0,"present":true,"value":0},{"factor":"drops_leakage","points":0,"present":true,"value":0},{"factor":"leakage_frequency","points":0,"present":true,"value":0},{"factor":"leakage_amount","points":0,"present":true,"value":0}],"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":"ruis","formula_expression":"RUIS = urgency_leakage (0-3) + activity_leakage (0-3) + drops_leakage (0-3) + leakage_frequency (0-4) + leakage_amount (0-3); each caller-assigned; max 16; Sansoni 2008; no RUIS total-score severity bands; not ISI frequency×amount","max_score":16,"score":0},{"citation":{"authors":"Sansoni J, Marosszeky N, Sansoni E, Hawthorne G","id":"sansoni-ruis","source":"Centre for Health Service Development, University of Wollongong. 2008","title":"The development of the Revised Urinary Incontinence Scale (RUIS)"},"components":[{"factor":"urgency_leakage","points":0,"present":true,"value":0},{"factor":"activity_leakage","points":0,"present":true,"value":0},{"factor":"drops_leakage","points":0,"present":true,"value":0},{"factor":"leakage_frequency","points":0,"present":true,"value":0},{"factor":"leakage_amount","points":0,"present":true,"value":0}],"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":"ruis","formula_expression":"RUIS = urgency_leakage (0-3) + activity_leakage (0-3) + drops_leakage (0-3) + leakage_frequency (0-4) + leakage_amount (0-3); each caller-assigned; max 16; Sansoni 2008; no RUIS total-score severity bands; not ISI frequency×amount","max_score":16,"score":0}],"path":"/api/calc/ruis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity_leakage":{"description":"Caller-assigned Sansoni 2008 RUIS item 2 (integer 0-3: 0 not at all, 1 slightly, 2 moderately, 3 greatly): urine leakage related to physical activity, coughing or sneezing. magent does not interview the patient.","enum":[0,1,2,3],"type":"integer"},"drops_leakage":{"description":"Caller-assigned Sansoni 2008 RUIS item 3 (integer 0-3: 0 not at all, 1 slightly, 2 moderately, 3 greatly): small amounts of urine leakage (drops). magent does not interview the patient.","enum":[0,1,2,3],"type":"integer"},"leakage_amount":{"description":"Caller-assigned Sansoni 2008 RUIS item 5 (integer 0-3: 0 none, 1 drops, 2 small splashes, 3 more): how much urine is lost each time. magent does not interview the patient.","enum":[0,1,2,3],"type":"integer"},"leakage_frequency":{"description":"Caller-assigned Sansoni 2008 RUIS item 4 (integer 0-4: 0 never, 1 less than once a month, 2 a few times a month, 3 a few times a week, 4 every day and/or night): how often urine leakage is experienced. magent does not interview the patient.","enum":[0,1,2,3,4],"type":"integer"},"urgency_leakage":{"description":"Caller-assigned Sansoni 2008 RUIS item 1 (integer 0-3: 0 not at all, 1 slightly, 2 moderately, 3 greatly): urine leakage related to the feeling of urgency. magent does not interview the patient.","enum":[0,1,2,3],"type":"integer"}},"required":["urgency_leakage","activity_leakage","drops_leakage","leakage_frequency","leakage_amount"],"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},{"id":38826,"slug":"38826","resource":"https://api.magentlab.com/api/calc/rts","description":"Revised Trauma Score (Champion 1989): coded GCS, SBP, and respiratory rate (0-4 each), T-RTS as their sum (0-12), and weighted RTS = 0.9368·GCS + 0.7326·SBP + 0.2908·RR. Deterministic published arithmetic with citation. Not a triage order; not ISS; not the 1981 Trauma Score.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"gcs":15,"respiratory_rate":16,"systolic_mm_hg":120},{"gcs":15,"respiratory_rate":16,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Champion HR, Sacco WJ, Copes WS, Gann DS, Gennarelli TA, Flanagan ME","doi":"10.1097/00005373-198905000-00017","id":"champion-1989","source":"J Trauma. 1989;29(5):623-629","title":"A revision of the Trauma Score"},"coded_gcs":4,"coded_rr":4,"coded_sbp":4,"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":"rts","formula_expression":"T-RTS = coded_gcs + coded_sbp + coded_rr (each 0-4); RTS = 0.9368*coded_gcs + 0.7326*coded_sbp + 0.2908*coded_rr","gcs":15,"respiratory_rate":16,"rts":7.8408,"systolic_mm_hg":120,"t_rts":12},{"citation":{"authors":"Champion HR, Sacco WJ, Copes WS, Gann DS, Gennarelli TA, Flanagan ME","doi":"10.1097/00005373-198905000-00017","id":"champion-1989","source":"J Trauma. 1989;29(5):623-629","title":"A revision of the Trauma Score"},"coded_gcs":4,"coded_rr":4,"coded_sbp":4,"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":"rts","formula_expression":"T-RTS = coded_gcs + coded_sbp + coded_rr (each 0-4); RTS = 0.9368*coded_gcs + 0.7326*coded_sbp + 0.2908*coded_rr","gcs":15,"respiratory_rate":16,"rts":7.8408,"systolic_mm_hg":120,"t_rts":12}],"path":"/api/calc/rts"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"gcs":{"description":"Glasgow Coma Scale total 3-15 (1976 motor-6 scale as used by Champion 1989). Caller-assigned; magent does not score eye/verbal/motor.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths per minute (0-80). 0 is a published coded band.","type":"integer"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (0-300). 0 is a published coded band.","type":"integer"}},"required":["gcs","systolic_mm_hg","respiratory_rate"],"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":["rts","trauma","triage","gcs","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:12:04.66Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:12:04.501Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"gcs":15,"respiratory_rate":16,"systolic_mm_hg":120},{"gcs":15,"respiratory_rate":16,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Champion HR, Sacco WJ, Copes WS, Gann DS, Gennarelli TA, Flanagan ME","doi":"10.1097/00005373-198905000-00017","id":"champion-1989","source":"J Trauma. 1989;29(5):623-629","title":"A revision of the Trauma Score"},"coded_gcs":4,"coded_rr":4,"coded_sbp":4,"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":"rts","formula_expression":"T-RTS = coded_gcs + coded_sbp + coded_rr (each 0-4); RTS = 0.9368*coded_gcs + 0.7326*coded_sbp + 0.2908*coded_rr","gcs":15,"respiratory_rate":16,"rts":7.8408,"systolic_mm_hg":120,"t_rts":12},{"citation":{"authors":"Champion HR, Sacco WJ, Copes WS, Gann DS, Gennarelli TA, Flanagan ME","doi":"10.1097/00005373-198905000-00017","id":"champion-1989","source":"J Trauma. 1989;29(5):623-629","title":"A revision of the Trauma Score"},"coded_gcs":4,"coded_rr":4,"coded_sbp":4,"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":"rts","formula_expression":"T-RTS = coded_gcs + coded_sbp + coded_rr (each 0-4); RTS = 0.9368*coded_gcs + 0.7326*coded_sbp + 0.2908*coded_rr","gcs":15,"respiratory_rate":16,"rts":7.8408,"systolic_mm_hg":120,"t_rts":12}],"path":"/api/calc/rts"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"gcs":{"description":"Glasgow Coma Scale total 3-15 (1976 motor-6 scale as used by Champion 1989). Caller-assigned; magent does not score eye/verbal/motor.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths per minute (0-80). 0 is a published coded band.","type":"integer"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (0-300). 0 is a published coded band.","type":"integer"}},"required":["gcs","systolic_mm_hg","respiratory_rate"],"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},{"id":38827,"slug":"38827","resource":"https://api.magentlab.com/api/calc/rse","description":"Bateman 2015 Risk Score for Exacerbations (RSE): Table II normalized points from BMI >=30 (14), ACQ-5 (<1.5=0; 1.5 to <2.5=7; >=2.5=13), FEV1 % predicted (>=90=0; 80 to <90=13; <80=20), daily rescue occasions (<2=0; 2 to <4=11; >=4=26), and GINA step (3=0; 4=27). Total 0-100. Caller-assigned; magent does not administer ACQ-5 or spirometry. Not a diagnosis, GINA step change, or inhaler order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acq5":1,"bmi_ge_30":false,"fev1_percent_predicted":95,"gina_step":3,"rescue_occasions_per_day":0},{"acq5":1,"bmi_ge_30":false,"fev1_percent_predicted":95,"gina_step":3,"rescue_occasions_per_day":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acq5":1,"bmi_ge_30":false,"citation":{"authors":"Bateman ED, Buhl R, O'Byrne PM, Humbert M, Reddel HK, Sears MR, Jenkins C, Harrison TW, Quirce S, Peterson S, Eriksson G","doi":"10.1016/j.jaci.2014.08.015","id":"bateman-2015","pmid":"25258144","source":"J Allergy Clin Immunol. 2015;135(6):1457-1464.e4","title":"Development and validation of a novel risk score for asthma exacerbations: The risk score for exacerbations"},"components":[{"factor":"bmi_ge_30","points":0,"present":false},{"factor":"acq5","points":0,"present":false,"value":1},{"factor":"fev1_percent_predicted","points":0,"present":false,"value":95},{"factor":"rescue_occasions_per_day","points":0,"present":false,"value":0},{"factor":"gina_step","points":0,"present":false,"value":3}],"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.","fev1_percent_predicted":95,"formula":"rse","formula_expression":"RSE = bmi_ge_30 + acq5 + fev1_percent_predicted + rescue_occasions_per_day + gina_step; Bateman 2015 Table II normalized points; BMI >=30 -> 14 else 0; ACQ-5 <1.5 -> 0, 1.5 <= ACQ-5 < 2.5 -> 7, >=2.5 -> 13; FEV1 % predicted >=90 -> 0, 80 <= FEV1 < 90 -> 13, <80 -> 20; rescue occasions/day <2 -> 0, 2 <= x < 4 -> 11, >=4 -> 26; GINA step 3 -> 0, 4 -> 27; max 100","gina_step":3,"max_score":100,"rescue_occasions_per_day":0,"score":0},{"acq5":1,"bmi_ge_30":false,"citation":{"authors":"Bateman ED, Buhl R, O'Byrne PM, Humbert M, Reddel HK, Sears MR, Jenkins C, Harrison TW, Quirce S, Peterson S, Eriksson G","doi":"10.1016/j.jaci.2014.08.015","id":"bateman-2015","pmid":"25258144","source":"J Allergy Clin Immunol. 2015;135(6):1457-1464.e4","title":"Development and validation of a novel risk score for asthma exacerbations: The risk score for exacerbations"},"components":[{"factor":"bmi_ge_30","points":0,"present":false},{"factor":"acq5","points":0,"present":false,"value":1},{"factor":"fev1_percent_predicted","points":0,"present":false,"value":95},{"factor":"rescue_occasions_per_day","points":0,"present":false,"value":0},{"factor":"gina_step","points":0,"present":false,"value":3}],"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.","fev1_percent_predicted":95,"formula":"rse","formula_expression":"RSE = bmi_ge_30 + acq5 + fev1_percent_predicted + rescue_occasions_per_day + gina_step; Bateman 2015 Table II normalized points; BMI >=30 -> 14 else 0; ACQ-5 <1.5 -> 0, 1.5 <= ACQ-5 < 2.5 -> 7, >=2.5 -> 13; FEV1 % predicted >=90 -> 0, 80 <= FEV1 < 90 -> 13, <80 -> 20; rescue occasions/day <2 -> 0, 2 <= x < 4 -> 11, >=4 -> 26; GINA step 3 -> 0, 4 -> 27; max 100","gina_step":3,"max_score":100,"rescue_occasions_per_day":0,"score":0}],"path":"/api/calc/rse"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acq5":{"description":"Caller-assigned 5-item Asthma Control Questionnaire mean (0-6). Table II: <1.5 scores 0; 1.5 <= ACQ-5 < 2.5 scores 7; >=2.5 scores 13. magent does not administer ACQ-5.","type":"number"},"bmi_ge_30":{"description":"Caller-assigned BMI >= 30 kg/m2 (Bateman 2015 Table II). true scores 14; false scores 0. magent does not compute BMI.","type":"boolean"},"fev1_percent_predicted":{"description":"Caller-assigned FEV1 as percent of predicted (10-150). Table II: >=90 scores 0; 80 <= FEV1 < 90 scores 13; <80 scores 20. magent does not perform spirometry.","type":"number"},"gina_step":{"description":"Caller-assigned GINA treatment step in the Bateman 2015 derivation population. Must be 3 (0 points) or 4 (27 points). Other steps are invalid_gina_step. Not a step-change or inhaler order.","type":"integer"},"rescue_occasions_per_day":{"description":"Caller-assigned daily reliever occasions (0-30). Table II: <2 scores 0; 2 <= occasions < 4 scores 11; >=4 scores 26. magent does not count inhaler actuations.","type":"number"}},"required":["bmi_ge_30","acq5","fev1_percent_predicted","rescue_occasions_per_day","gina_step"],"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":["rse","asthma","exacerbation","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:12:03.633Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:12:03.477Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acq5":1,"bmi_ge_30":false,"fev1_percent_predicted":95,"gina_step":3,"rescue_occasions_per_day":0},{"acq5":1,"bmi_ge_30":false,"fev1_percent_predicted":95,"gina_step":3,"rescue_occasions_per_day":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acq5":1,"bmi_ge_30":false,"citation":{"authors":"Bateman ED, Buhl R, O'Byrne PM, Humbert M, Reddel HK, Sears MR, Jenkins C, Harrison TW, Quirce S, Peterson S, Eriksson G","doi":"10.1016/j.jaci.2014.08.015","id":"bateman-2015","pmid":"25258144","source":"J Allergy Clin Immunol. 2015;135(6):1457-1464.e4","title":"Development and validation of a novel risk score for asthma exacerbations: The risk score for exacerbations"},"components":[{"factor":"bmi_ge_30","points":0,"present":false},{"factor":"acq5","points":0,"present":false,"value":1},{"factor":"fev1_percent_predicted","points":0,"present":false,"value":95},{"factor":"rescue_occasions_per_day","points":0,"present":false,"value":0},{"factor":"gina_step","points":0,"present":false,"value":3}],"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.","fev1_percent_predicted":95,"formula":"rse","formula_expression":"RSE = bmi_ge_30 + acq5 + fev1_percent_predicted + rescue_occasions_per_day + gina_step; Bateman 2015 Table II normalized points; BMI >=30 -> 14 else 0; ACQ-5 <1.5 -> 0, 1.5 <= ACQ-5 < 2.5 -> 7, >=2.5 -> 13; FEV1 % predicted >=90 -> 0, 80 <= FEV1 < 90 -> 13, <80 -> 20; rescue occasions/day <2 -> 0, 2 <= x < 4 -> 11, >=4 -> 26; GINA step 3 -> 0, 4 -> 27; max 100","gina_step":3,"max_score":100,"rescue_occasions_per_day":0,"score":0},{"acq5":1,"bmi_ge_30":false,"citation":{"authors":"Bateman ED, Buhl R, O'Byrne PM, Humbert M, Reddel HK, Sears MR, Jenkins C, Harrison TW, Quirce S, Peterson S, Eriksson G","doi":"10.1016/j.jaci.2014.08.015","id":"bateman-2015","pmid":"25258144","source":"J Allergy Clin Immunol. 2015;135(6):1457-1464.e4","title":"Development and validation of a novel risk score for asthma exacerbations: The risk score for exacerbations"},"components":[{"factor":"bmi_ge_30","points":0,"present":false},{"factor":"acq5","points":0,"present":false,"value":1},{"factor":"fev1_percent_predicted","points":0,"present":false,"value":95},{"factor":"rescue_occasions_per_day","points":0,"present":false,"value":0},{"factor":"gina_step","points":0,"present":false,"value":3}],"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.","fev1_percent_predicted":95,"formula":"rse","formula_expression":"RSE = bmi_ge_30 + acq5 + fev1_percent_predicted + rescue_occasions_per_day + gina_step; Bateman 2015 Table II normalized points; BMI >=30 -> 14 else 0; ACQ-5 <1.5 -> 0, 1.5 <= ACQ-5 < 2.5 -> 7, >=2.5 -> 13; FEV1 % predicted >=90 -> 0, 80 <= FEV1 < 90 -> 13, <80 -> 20; rescue occasions/day <2 -> 0, 2 <= x < 4 -> 11, >=4 -> 26; GINA step 3 -> 0, 4 -> 27; max 100","gina_step":3,"max_score":100,"rescue_occasions_per_day":0,"score":0}],"path":"/api/calc/rse"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acq5":{"description":"Caller-assigned 5-item Asthma Control Questionnaire mean (0-6). Table II: <1.5 scores 0; 1.5 <= ACQ-5 < 2.5 scores 7; >=2.5 scores 13. magent does not administer ACQ-5.","type":"number"},"bmi_ge_30":{"description":"Caller-assigned BMI >= 30 kg/m2 (Bateman 2015 Table II). true scores 14; false scores 0. magent does not compute BMI.","type":"boolean"},"fev1_percent_predicted":{"description":"Caller-assigned FEV1 as percent of predicted (10-150). Table II: >=90 scores 0; 80 <= FEV1 < 90 scores 13; <80 scores 20. magent does not perform spirometry.","type":"number"},"gina_step":{"description":"Caller-assigned GINA treatment step in the Bateman 2015 derivation population. Must be 3 (0 points) or 4 (27 points). Other steps are invalid_gina_step. Not a step-change or inhaler order.","type":"integer"},"rescue_occasions_per_day":{"description":"Caller-assigned daily reliever occasions (0-30). Table II: <2 scores 0; 2 <= occasions < 4 scores 11; >=4 scores 26. magent does not count inhaler actuations.","type":"number"}},"required":["bmi_ge_30","acq5","fev1_percent_predicted","rescue_occasions_per_day","gina_step"],"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},{"id":38828,"slug":"38828","resource":"https://api.magentlab.com/api/calc/rox","description":"ROX index as (SpO2 percent / FiO2) / respiratory rate in breaths/min (Roca 2016). Returns the index rounded to two decimals. Not a ventilation order. This is not the PaO2/FiO2 (P/F) ratio and not RSBI (respiratory rate / tidal volume).","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fio2":0.21,"respiratory_rate":20,"spo2_percent":95},{"fio2":0.21,"respiratory_rate":20,"spo2_percent":95}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Roca O, Messika J, Caralt B, García-de-Acilu M, Sztrymf B, Ricard JD, Masclans JR","doi":"10.1016/j.jcrc.2016.05.022","id":"roca-2016","source":"J Crit Care. 2016;35:200-205","title":"Predicting success of high-flow nasal cannula in pneumonia patients with hypoxemic respiratory failure: The utility of the ROX index"},"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.","fio2":0.21,"formula":"rox","formula_expression":"rox = (spo2_percent / fio2) / respiratory_rate","respiratory_rate":20,"rox":22.62,"spo2_percent":95},{"citation":{"authors":"Roca O, Messika J, Caralt B, García-de-Acilu M, Sztrymf B, Ricard JD, Masclans JR","doi":"10.1016/j.jcrc.2016.05.022","id":"roca-2016","source":"J Crit Care. 2016;35:200-205","title":"Predicting success of high-flow nasal cannula in pneumonia patients with hypoxemic respiratory failure: The utility of the ROX index"},"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.","fio2":0.21,"formula":"rox","formula_expression":"rox = (spo2_percent / fio2) / respiratory_rate","respiratory_rate":20,"rox":22.62,"spo2_percent":95}],"path":"/api/calc/rox"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent. Required.","type":"number"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80).","type":"integer"},"spo2_percent":{"description":"Pulse-oximetry SpO2 as a percent (50-100).","type":"number"}},"required":["spo2_percent","fio2","respiratory_rate"],"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":["rox","respiratory","hfnc","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:02:25.498Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:02:25.364Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fio2":0.21,"respiratory_rate":20,"spo2_percent":95},{"fio2":0.21,"respiratory_rate":20,"spo2_percent":95}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Roca O, Messika J, Caralt B, García-de-Acilu M, Sztrymf B, Ricard JD, Masclans JR","doi":"10.1016/j.jcrc.2016.05.022","id":"roca-2016","source":"J Crit Care. 2016;35:200-205","title":"Predicting success of high-flow nasal cannula in pneumonia patients with hypoxemic respiratory failure: The utility of the ROX index"},"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.","fio2":0.21,"formula":"rox","formula_expression":"rox = (spo2_percent / fio2) / respiratory_rate","respiratory_rate":20,"rox":22.62,"spo2_percent":95},{"citation":{"authors":"Roca O, Messika J, Caralt B, García-de-Acilu M, Sztrymf B, Ricard JD, Masclans JR","doi":"10.1016/j.jcrc.2016.05.022","id":"roca-2016","source":"J Crit Care. 2016;35:200-205","title":"Predicting success of high-flow nasal cannula in pneumonia patients with hypoxemic respiratory failure: The utility of the ROX index"},"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.","fio2":0.21,"formula":"rox","formula_expression":"rox = (spo2_percent / fio2) / respiratory_rate","respiratory_rate":20,"rox":22.62,"spo2_percent":95}],"path":"/api/calc/rox"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent. Required.","type":"number"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80).","type":"integer"},"spo2_percent":{"description":"Pulse-oximetry SpO2 as a percent (50-100).","type":"number"}},"required":["spo2_percent","fio2","respiratory_rate"],"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},{"id":38829,"slug":"38829","resource":"https://api.magentlab.com/api/calc/roth","description":"Chorin 2016 Roth score: caller max_count (integer 1-30, highest number reached counting 1 to 30 in one breath) and counting_time_seconds (greater than 0, at most 60). Echoes both; time to 1 decimal. Flags quote Table 2/discussion: max_count <10, counting_time <7 s, max_count <7, counting_time <5 s. Not a hypoxia class or 2021 general-practice cutoff. Not a medical device. magent does not time the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"counting_time_seconds":12,"max_count":30},{"counting_time_seconds":12,"max_count":30}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Chorin E, Padegimas A, Havakuk O, Birati EY, Shacham Y, Milman A, Topaz G, Flint N, Keren G, Rogowski O","doi":"10.1002/clc.22586","id":"chorin-2016","pmid":"27701750","source":"Clin Cardiol. 2016;39(11):636-639","title":"Assessment of respiratory distress by the Roth score"},"counting_time_lt_5_seconds":false,"counting_time_lt_7_seconds":false,"counting_time_seconds":12,"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":"roth","formula_expression":"echo max_count (integer 1-30) and counting_time_seconds (Equation.round_at 1 decimal); Chorin 2016 Table 2/discussion flags max_count <10, counting_time <7 s, max_count <7, counting_time <5 s; not a hypoxia class","max_count":30,"max_count_lt_10":false,"max_count_lt_7":false},{"citation":{"authors":"Chorin E, Padegimas A, Havakuk O, Birati EY, Shacham Y, Milman A, Topaz G, Flint N, Keren G, Rogowski O","doi":"10.1002/clc.22586","id":"chorin-2016","pmid":"27701750","source":"Clin Cardiol. 2016;39(11):636-639","title":"Assessment of respiratory distress by the Roth score"},"counting_time_lt_5_seconds":false,"counting_time_lt_7_seconds":false,"counting_time_seconds":12,"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":"roth","formula_expression":"echo max_count (integer 1-30) and counting_time_seconds (Equation.round_at 1 decimal); Chorin 2016 Table 2/discussion flags max_count <10, counting_time <7 s, max_count <7, counting_time <5 s; not a hypoxia class","max_count":30,"max_count_lt_10":false,"max_count_lt_7":false}],"path":"/api/calc/roth"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"counting_time_seconds":{"description":"Elapsed seconds from 1 until the highest number reached (greater than 0 and at most 60). Caller supplies the stopwatch reading. magent does not time the patient.","type":"number"},"max_count":{"description":"Highest number reached counting 1 to 30 in one breath (integer 1-30). Caller supplies the count. magent does not administer the count.","type":"integer"}},"required":["max_count","counting_time_seconds"],"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":["roth","respiratory","dyspnea","counting","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:02:24.427Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:02:24.267Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"counting_time_seconds":12,"max_count":30},{"counting_time_seconds":12,"max_count":30}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Chorin E, Padegimas A, Havakuk O, Birati EY, Shacham Y, Milman A, Topaz G, Flint N, Keren G, Rogowski O","doi":"10.1002/clc.22586","id":"chorin-2016","pmid":"27701750","source":"Clin Cardiol. 2016;39(11):636-639","title":"Assessment of respiratory distress by the Roth score"},"counting_time_lt_5_seconds":false,"counting_time_lt_7_seconds":false,"counting_time_seconds":12,"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":"roth","formula_expression":"echo max_count (integer 1-30) and counting_time_seconds (Equation.round_at 1 decimal); Chorin 2016 Table 2/discussion flags max_count <10, counting_time <7 s, max_count <7, counting_time <5 s; not a hypoxia class","max_count":30,"max_count_lt_10":false,"max_count_lt_7":false},{"citation":{"authors":"Chorin E, Padegimas A, Havakuk O, Birati EY, Shacham Y, Milman A, Topaz G, Flint N, Keren G, Rogowski O","doi":"10.1002/clc.22586","id":"chorin-2016","pmid":"27701750","source":"Clin Cardiol. 2016;39(11):636-639","title":"Assessment of respiratory distress by the Roth score"},"counting_time_lt_5_seconds":false,"counting_time_lt_7_seconds":false,"counting_time_seconds":12,"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":"roth","formula_expression":"echo max_count (integer 1-30) and counting_time_seconds (Equation.round_at 1 decimal); Chorin 2016 Table 2/discussion flags max_count <10, counting_time <7 s, max_count <7, counting_time <5 s; not a hypoxia class","max_count":30,"max_count_lt_10":false,"max_count_lt_7":false}],"path":"/api/calc/roth"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"counting_time_seconds":{"description":"Elapsed seconds from 1 until the highest number reached (greater than 0 and at most 60). Caller supplies the stopwatch reading. magent does not time the patient.","type":"number"},"max_count":{"description":"Highest number reached counting 1 to 30 in one breath (integer 1-30). Caller supplies the count. magent does not administer the count.","type":"integer"}},"required":["max_count","counting_time_seconds"],"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},{"id":38830,"slug":"38830","resource":"https://api.magentlab.com/api/calc/rosier","description":"Nor 2005 ROSIER: seven caller-assigned flags. Loss of consciousness or syncope −1, seizure −1; new acute-onset (or on awakening) asymmetric face, arm, or leg weakness, speech disturbance, and visual field defect +1 each. Range −2 to +5. stroke_more_likely if score > 0. Score ≤ 0 does not exclude stroke. Not a diagnosis, not NIHSS, and not a medical device. magent does not examine the patient or collect a time of onset.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"asymmetric_arm_weakness":false,"asymmetric_face_weakness":false,"asymmetric_leg_weakness":false,"loss_of_consciousness_or_syncope":false,"seizure":false,"speech_disturbance":false,"visual_field_defect":false},{"asymmetric_arm_weakness":false,"asymmetric_face_weakness":false,"asymmetric_leg_weakness":false,"loss_of_consciousness_or_syncope":false,"seizure":false,"speech_disturbance":false,"visual_field_defect":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Nor AM, Davis J, Sen B, et al","doi":"10.1016/S1474-4422(05)70201-5","id":"nor-2005","pmid":"16239179","source":"Lancet Neurol. 2005;4(11):727-734","title":"The Recognition of Stroke in the Emergency Room (ROSIER) scale: development and validation of a stroke recognition instrument"},"components":[{"factor":"loss_of_consciousness_or_syncope","points":0,"present":false},{"factor":"seizure","points":0,"present":false},{"factor":"asymmetric_face_weakness","points":0,"present":false},{"factor":"asymmetric_arm_weakness","points":0,"present":false},{"factor":"asymmetric_leg_weakness","points":0,"present":false},{"factor":"speech_disturbance","points":0,"present":false},{"factor":"visual_field_defect","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":"rosier","formula_expression":"ROSIER = -1*loss_of_consciousness_or_syncope - 1*seizure + 1*asymmetric_face_weakness + 1*asymmetric_arm_weakness + 1*asymmetric_leg_weakness + 1*speech_disturbance + 1*visual_field_defect; range -2 to 5; stroke_more_likely iff score > 0 (Nor 2005)","max_score":5,"score":0,"stroke_more_likely":false},{"citation":{"authors":"Nor AM, Davis J, Sen B, et al","doi":"10.1016/S1474-4422(05)70201-5","id":"nor-2005","pmid":"16239179","source":"Lancet Neurol. 2005;4(11):727-734","title":"The Recognition of Stroke in the Emergency Room (ROSIER) scale: development and validation of a stroke recognition instrument"},"components":[{"factor":"loss_of_consciousness_or_syncope","points":0,"present":false},{"factor":"seizure","points":0,"present":false},{"factor":"asymmetric_face_weakness","points":0,"present":false},{"factor":"asymmetric_arm_weakness","points":0,"present":false},{"factor":"asymmetric_leg_weakness","points":0,"present":false},{"factor":"speech_disturbance","points":0,"present":false},{"factor":"visual_field_defect","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":"rosier","formula_expression":"ROSIER = -1*loss_of_consciousness_or_syncope - 1*seizure + 1*asymmetric_face_weakness + 1*asymmetric_arm_weakness + 1*asymmetric_leg_weakness + 1*speech_disturbance + 1*visual_field_defect; range -2 to 5; stroke_more_likely iff score > 0 (Nor 2005)","max_score":5,"score":0,"stroke_more_likely":false}],"path":"/api/calc/rosier"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"asymmetric_arm_weakness":{"description":"New acute-onset (or on awakening) asymmetric arm weakness (Nor 2005, +1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"asymmetric_face_weakness":{"description":"New acute-onset (or on awakening) asymmetric facial weakness (Nor 2005, +1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"asymmetric_leg_weakness":{"description":"New acute-onset (or on awakening) asymmetric leg weakness (Nor 2005, +1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"loss_of_consciousness_or_syncope":{"description":"History of loss of consciousness or syncope (Nor 2005, −1 if true). true or false as assigned by the caller. magent does not examine the patient or collect a time of onset.","type":"boolean"},"seizure":{"description":"History of seizure activity (Nor 2005, −1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"speech_disturbance":{"description":"New acute-onset (or on awakening) speech disturbance (Nor 2005, +1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"visual_field_defect":{"description":"New acute-onset (or on awakening) visual field defect (Nor 2005, +1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["loss_of_consciousness_or_syncope","seizure","asymmetric_face_weakness","asymmetric_arm_weakness","asymmetric_leg_weakness","speech_disturbance","visual_field_defect"],"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":["rosier","stroke","neurology","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T14:02:23.55Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T14:02:23.368Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"asymmetric_arm_weakness":false,"asymmetric_face_weakness":false,"asymmetric_leg_weakness":false,"loss_of_consciousness_or_syncope":false,"seizure":false,"speech_disturbance":false,"visual_field_defect":false},{"asymmetric_arm_weakness":false,"asymmetric_face_weakness":false,"asymmetric_leg_weakness":false,"loss_of_consciousness_or_syncope":false,"seizure":false,"speech_disturbance":false,"visual_field_defect":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Nor AM, Davis J, Sen B, et al","doi":"10.1016/S1474-4422(05)70201-5","id":"nor-2005","pmid":"16239179","source":"Lancet Neurol. 2005;4(11):727-734","title":"The Recognition of Stroke in the Emergency Room (ROSIER) scale: development and validation of a stroke recognition instrument"},"components":[{"factor":"loss_of_consciousness_or_syncope","points":0,"present":false},{"factor":"seizure","points":0,"present":false},{"factor":"asymmetric_face_weakness","points":0,"present":false},{"factor":"asymmetric_arm_weakness","points":0,"present":false},{"factor":"asymmetric_leg_weakness","points":0,"present":false},{"factor":"speech_disturbance","points":0,"present":false},{"factor":"visual_field_defect","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":"rosier","formula_expression":"ROSIER = -1*loss_of_consciousness_or_syncope - 1*seizure + 1*asymmetric_face_weakness + 1*asymmetric_arm_weakness + 1*asymmetric_leg_weakness + 1*speech_disturbance + 1*visual_field_defect; range -2 to 5; stroke_more_likely iff score > 0 (Nor 2005)","max_score":5,"score":0,"stroke_more_likely":false},{"citation":{"authors":"Nor AM, Davis J, Sen B, et al","doi":"10.1016/S1474-4422(05)70201-5","id":"nor-2005","pmid":"16239179","source":"Lancet Neurol. 2005;4(11):727-734","title":"The Recognition of Stroke in the Emergency Room (ROSIER) scale: development and validation of a stroke recognition instrument"},"components":[{"factor":"loss_of_consciousness_or_syncope","points":0,"present":false},{"factor":"seizure","points":0,"present":false},{"factor":"asymmetric_face_weakness","points":0,"present":false},{"factor":"asymmetric_arm_weakness","points":0,"present":false},{"factor":"asymmetric_leg_weakness","points":0,"present":false},{"factor":"speech_disturbance","points":0,"present":false},{"factor":"visual_field_defect","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":"rosier","formula_expression":"ROSIER = -1*loss_of_consciousness_or_syncope - 1*seizure + 1*asymmetric_face_weakness + 1*asymmetric_arm_weakness + 1*asymmetric_leg_weakness + 1*speech_disturbance + 1*visual_field_defect; range -2 to 5; stroke_more_likely iff score > 0 (Nor 2005)","max_score":5,"score":0,"stroke_more_likely":false}],"path":"/api/calc/rosier"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"asymmetric_arm_weakness":{"description":"New acute-onset (or on awakening) asymmetric arm weakness (Nor 2005, +1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"asymmetric_face_weakness":{"description":"New acute-onset (or on awakening) asymmetric facial weakness (Nor 2005, +1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"asymmetric_leg_weakness":{"description":"New acute-onset (or on awakening) asymmetric leg weakness (Nor 2005, +1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"loss_of_consciousness_or_syncope":{"description":"History of loss of consciousness or syncope (Nor 2005, −1 if true). true or false as assigned by the caller. magent does not examine the patient or collect a time of onset.","type":"boolean"},"seizure":{"description":"History of seizure activity (Nor 2005, −1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"speech_disturbance":{"description":"New acute-onset (or on awakening) speech disturbance (Nor 2005, +1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"visual_field_defect":{"description":"New acute-onset (or on awakening) visual field defect (Nor 2005, +1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["loss_of_consciousness_or_syncope","seizure","asymmetric_face_weakness","asymmetric_arm_weakness","asymmetric_leg_weakness","speech_disturbance","visual_field_defect"],"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},{"id":38831,"slug":"38831","resource":"https://api.magentlab.com/api/calc/rose","description":"Reed 2010 ROSE (BRACES) for ED syncope: BNP ≥300 pg/mL, heart rate ≤50, fecal occult blood, hemoglobin ≤90 g/L, chest pain associated with syncope, Q wave not in lead III, and room-air SpO2 ≤94%. Each present criterion is 1 point (score 0-7). High-risk if any item is present. Caller assigns labs, vitals, FOB, chest pain, and the Q-wave flag. Not a medical device or disposition protocol; magent does not measure BNP, hemoglobin, or SpO2, and does not read an ECG.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bnp_pg_ml":50,"chest_pain":false,"fecal_occult_blood":false,"heart_rate_bpm":70,"hemoglobin_g_l":130,"q_wave_not_lead_iii":false,"spo2_percent":98},{"bnp_pg_ml":50,"chest_pain":false,"fecal_occult_blood":false,"heart_rate_bpm":70,"hemoglobin_g_l":130,"q_wave_not_lead_iii":false,"spo2_percent":98}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bnp_pg_ml":50,"citation":{"authors":"Reed MJ, Newby DE, Coull AJ, Prescott RJ, Jacques KG, Gray AJ","doi":"10.1016/j.jacc.2009.09.049","id":"reed-2010","pmid":"20170806","source":"J Am Coll Cardiol. 2010;55(8):713-721","title":"The ROSE (Risk Stratification of Syncope in the Emergency Department) Study"},"components":[{"factor":"bnp_ge_300","points":0,"present":false,"value":50},{"factor":"heart_rate_le_50","points":0,"present":false,"value":70},{"factor":"fecal_occult_blood","points":0,"present":false},{"factor":"hemoglobin_le_90","points":0,"present":false,"value":130},{"factor":"chest_pain","points":0,"present":false},{"factor":"q_wave_not_lead_iii","points":0,"present":false},{"factor":"spo2_le_94","points":0,"present":false,"value":98}],"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":"rose","formula_expression":"ROSE = bnp_ge_300 + heart_rate_le_50 + fecal_occult_blood + hemoglobin_le_90 + chest_pain + q_wave_not_lead_iii + spo2_le_94; each 1 if present; rose_high_risk iff score >= 1; max 7 (Reed 2010 BRACES)","heart_rate_bpm":70,"hemoglobin_g_l":130,"max_score":7,"rose_high_risk":false,"score":0,"spo2_percent":98},{"bnp_pg_ml":50,"citation":{"authors":"Reed MJ, Newby DE, Coull AJ, Prescott RJ, Jacques KG, Gray AJ","doi":"10.1016/j.jacc.2009.09.049","id":"reed-2010","pmid":"20170806","source":"J Am Coll Cardiol. 2010;55(8):713-721","title":"The ROSE (Risk Stratification of Syncope in the Emergency Department) Study"},"components":[{"factor":"bnp_ge_300","points":0,"present":false,"value":50},{"factor":"heart_rate_le_50","points":0,"present":false,"value":70},{"factor":"fecal_occult_blood","points":0,"present":false},{"factor":"hemoglobin_le_90","points":0,"present":false,"value":130},{"factor":"chest_pain","points":0,"present":false},{"factor":"q_wave_not_lead_iii","points":0,"present":false},{"factor":"spo2_le_94","points":0,"present":false,"value":98}],"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":"rose","formula_expression":"ROSE = bnp_ge_300 + heart_rate_le_50 + fecal_occult_blood + hemoglobin_le_90 + chest_pain + q_wave_not_lead_iii + spo2_le_94; each 1 if present; rose_high_risk iff score >= 1; max 7 (Reed 2010 BRACES)","heart_rate_bpm":70,"hemoglobin_g_l":130,"max_score":7,"rose_high_risk":false,"score":0,"spo2_percent":98}],"path":"/api/calc/rose"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bnp_pg_ml":{"description":"BNP in pg/mL (0-35000). Reed 2010 BRACES scores 1 when ≥300; 300 is high-risk. magent does not measure BNP.","type":"number"},"chest_pain":{"description":"Chest pain associated with syncope (Reed 2010 C). true or false as assigned by the caller.","type":"boolean"},"fecal_occult_blood":{"description":"Rectal exam showing fecal occult blood if GI-bleed suspicion (Reed 2010 R). true or false as assigned by the caller.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Reed 2010 bradycardia ≤50 (ED or pre-hospital in the paper; this tool takes one integer). 50 scores 1. magent does not measure heart rate.","type":"integer"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Reed 2010 anemia scores 1 when ≤90; 90 is high-risk. magent does not assay hemoglobin.","type":"number"},"q_wave_not_lead_iii":{"description":"Q wave not in lead III (Reed 2010 E). true or false as assigned by the caller. magent does not read an ECG.","type":"boolean"},"spo2_percent":{"description":"Room-air SpO2 percent (50-100). Reed 2010 scores 1 when ≤94; 94 is high-risk. magent does not measure SpO2.","type":"number"}},"required":["bnp_pg_ml","heart_rate_bpm","fecal_occult_blood","hemoglobin_g_l","chest_pain","q_wave_not_lead_iii","spo2_percent"],"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":["rose","syncope","emergency","braces","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:52:27.32Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:52:27.189Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bnp_pg_ml":50,"chest_pain":false,"fecal_occult_blood":false,"heart_rate_bpm":70,"hemoglobin_g_l":130,"q_wave_not_lead_iii":false,"spo2_percent":98},{"bnp_pg_ml":50,"chest_pain":false,"fecal_occult_blood":false,"heart_rate_bpm":70,"hemoglobin_g_l":130,"q_wave_not_lead_iii":false,"spo2_percent":98}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bnp_pg_ml":50,"citation":{"authors":"Reed MJ, Newby DE, Coull AJ, Prescott RJ, Jacques KG, Gray AJ","doi":"10.1016/j.jacc.2009.09.049","id":"reed-2010","pmid":"20170806","source":"J Am Coll Cardiol. 2010;55(8):713-721","title":"The ROSE (Risk Stratification of Syncope in the Emergency Department) Study"},"components":[{"factor":"bnp_ge_300","points":0,"present":false,"value":50},{"factor":"heart_rate_le_50","points":0,"present":false,"value":70},{"factor":"fecal_occult_blood","points":0,"present":false},{"factor":"hemoglobin_le_90","points":0,"present":false,"value":130},{"factor":"chest_pain","points":0,"present":false},{"factor":"q_wave_not_lead_iii","points":0,"present":false},{"factor":"spo2_le_94","points":0,"present":false,"value":98}],"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":"rose","formula_expression":"ROSE = bnp_ge_300 + heart_rate_le_50 + fecal_occult_blood + hemoglobin_le_90 + chest_pain + q_wave_not_lead_iii + spo2_le_94; each 1 if present; rose_high_risk iff score >= 1; max 7 (Reed 2010 BRACES)","heart_rate_bpm":70,"hemoglobin_g_l":130,"max_score":7,"rose_high_risk":false,"score":0,"spo2_percent":98},{"bnp_pg_ml":50,"citation":{"authors":"Reed MJ, Newby DE, Coull AJ, Prescott RJ, Jacques KG, Gray AJ","doi":"10.1016/j.jacc.2009.09.049","id":"reed-2010","pmid":"20170806","source":"J Am Coll Cardiol. 2010;55(8):713-721","title":"The ROSE (Risk Stratification of Syncope in the Emergency Department) Study"},"components":[{"factor":"bnp_ge_300","points":0,"present":false,"value":50},{"factor":"heart_rate_le_50","points":0,"present":false,"value":70},{"factor":"fecal_occult_blood","points":0,"present":false},{"factor":"hemoglobin_le_90","points":0,"present":false,"value":130},{"factor":"chest_pain","points":0,"present":false},{"factor":"q_wave_not_lead_iii","points":0,"present":false},{"factor":"spo2_le_94","points":0,"present":false,"value":98}],"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":"rose","formula_expression":"ROSE = bnp_ge_300 + heart_rate_le_50 + fecal_occult_blood + hemoglobin_le_90 + chest_pain + q_wave_not_lead_iii + spo2_le_94; each 1 if present; rose_high_risk iff score >= 1; max 7 (Reed 2010 BRACES)","heart_rate_bpm":70,"hemoglobin_g_l":130,"max_score":7,"rose_high_risk":false,"score":0,"spo2_percent":98}],"path":"/api/calc/rose"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bnp_pg_ml":{"description":"BNP in pg/mL (0-35000). Reed 2010 BRACES scores 1 when ≥300; 300 is high-risk. magent does not measure BNP.","type":"number"},"chest_pain":{"description":"Chest pain associated with syncope (Reed 2010 C). true or false as assigned by the caller.","type":"boolean"},"fecal_occult_blood":{"description":"Rectal exam showing fecal occult blood if GI-bleed suspicion (Reed 2010 R). true or false as assigned by the caller.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Reed 2010 bradycardia ≤50 (ED or pre-hospital in the paper; this tool takes one integer). 50 scores 1. magent does not measure heart rate.","type":"integer"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Reed 2010 anemia scores 1 when ≤90; 90 is high-risk. magent does not assay hemoglobin.","type":"number"},"q_wave_not_lead_iii":{"description":"Q wave not in lead III (Reed 2010 E). true or false as assigned by the caller. magent does not read an ECG.","type":"boolean"},"spo2_percent":{"description":"Room-air SpO2 percent (50-100). Reed 2010 scores 1 when ≤94; 94 is high-risk. magent does not measure SpO2.","type":"number"}},"required":["bnp_pg_ml","heart_rate_bpm","fecal_occult_blood","hemoglobin_g_l","chest_pain","q_wave_not_lead_iii","spo2_percent"],"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},{"id":38832,"slug":"38832","resource":"https://api.magentlab.com/api/calc/rome_iv_rumination","description":"Stanghellini 2016 Rome IV rumination syndrome. rome_iv_rumination is true iff persistent or recurrent regurgitation of recently ingested food with subsequent spitting or remastication and swallowing, regurgitation not preceded by retching, last-3-months criteria, and 6-month onset. Supportive remarks (effortless, not preceded by nausea, recognizable food, ceases when acidic) are copy-only and not parsed. magent does not observe regurgitation. Not a diagnosis, not CHS, not CVS, not GERD.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"persistent_or_recurrent_regurgitation_of_recently_ingested_food":true,"regurgitation_not_preceded_by_retching":true},{"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"persistent_or_recurrent_regurgitation_of_recently_ingested_food":true,"regurgitation_not_preceded_by_retching":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"persistent_or_recurrent_regurgitation_of_recently_ingested_food","met":true},{"factor":"regurgitation_not_preceded_by_retching","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_rumination","formula_expression":"rome_iv_rumination iff persistent_or_recurrent_regurgitation_of_recently_ingested_food and regurgitation_not_preceded_by_retching and fulfilled_last_3_months and onset_at_least_6_months (Stanghellini 2016 Rome IV rumination syndrome)","rome_iv_rumination":true},{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"persistent_or_recurrent_regurgitation_of_recently_ingested_food","met":true},{"factor":"regurgitation_not_preceded_by_retching","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_rumination","formula_expression":"rome_iv_rumination iff persistent_or_recurrent_regurgitation_of_recently_ingested_food and regurgitation_not_preceded_by_retching and fulfilled_last_3_months and onset_at_least_6_months (Stanghellini 2016 Rome IV rumination syndrome)","rome_iv_rumination":true}],"path":"/api/calc/rome_iv_rumination"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"persistent_or_recurrent_regurgitation_of_recently_ingested_food":{"description":"Persistent or recurrent regurgitation of recently ingested food into the mouth with subsequent spitting or remastication and swallowing (Stanghellini 2016 Rome IV rumination syndrome B4). true or false as assigned by the caller. magent does not observe regurgitation.","type":"boolean"},"regurgitation_not_preceded_by_retching":{"description":"Regurgitation is not preceded by retching (Stanghellini 2016). true or false as assigned by the caller. magent does not observe regurgitation.","type":"boolean"}},"required":["persistent_or_recurrent_regurgitation_of_recently_ingested_food","regurgitation_not_preceded_by_retching","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-rumination","rumination","gi","gastroduodenal","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:52:23.483Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:52:23.3Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"persistent_or_recurrent_regurgitation_of_recently_ingested_food":true,"regurgitation_not_preceded_by_retching":true},{"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"persistent_or_recurrent_regurgitation_of_recently_ingested_food":true,"regurgitation_not_preceded_by_retching":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"persistent_or_recurrent_regurgitation_of_recently_ingested_food","met":true},{"factor":"regurgitation_not_preceded_by_retching","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_rumination","formula_expression":"rome_iv_rumination iff persistent_or_recurrent_regurgitation_of_recently_ingested_food and regurgitation_not_preceded_by_retching and fulfilled_last_3_months and onset_at_least_6_months (Stanghellini 2016 Rome IV rumination syndrome)","rome_iv_rumination":true},{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"persistent_or_recurrent_regurgitation_of_recently_ingested_food","met":true},{"factor":"regurgitation_not_preceded_by_retching","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_rumination","formula_expression":"rome_iv_rumination iff persistent_or_recurrent_regurgitation_of_recently_ingested_food and regurgitation_not_preceded_by_retching and fulfilled_last_3_months and onset_at_least_6_months (Stanghellini 2016 Rome IV rumination syndrome)","rome_iv_rumination":true}],"path":"/api/calc/rome_iv_rumination"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"persistent_or_recurrent_regurgitation_of_recently_ingested_food":{"description":"Persistent or recurrent regurgitation of recently ingested food into the mouth with subsequent spitting or remastication and swallowing (Stanghellini 2016 Rome IV rumination syndrome B4). true or false as assigned by the caller. magent does not observe regurgitation.","type":"boolean"},"regurgitation_not_preceded_by_retching":{"description":"Regurgitation is not preceded by retching (Stanghellini 2016). true or false as assigned by the caller. magent does not observe regurgitation.","type":"boolean"}},"required":["persistent_or_recurrent_regurgitation_of_recently_ingested_food","regurgitation_not_preceded_by_retching","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":38833,"slug":"38833","resource":"https://api.magentlab.com/api/calc/rome_iv_pancreatic_sod","description":"Cotton 2016 Rome IV E2 pancreatic sphincter of Oddi disorder. rome_iv_pancreatic_sod is true iff documented recurrent episodes of pancreatitis, other etiologies of pancreatitis excluded, negative endoscopic ultrasound, and abnormal sphincter manometry. Caller assigns four flags. magent does not read EUS, manometry, labs, or imaging. Not a diagnosis, not biliary SOD, not functional gallbladder, not a sphincterotomy recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_sphincter_manometry":true,"documented_recurrent_episodes_of_pancreatitis":true,"negative_endoscopic_ultrasound":true,"other_etiologies_of_pancreatitis_excluded":true},{"abnormal_sphincter_manometry":true,"documented_recurrent_episodes_of_pancreatitis":true,"negative_endoscopic_ultrasound":true,"other_etiologies_of_pancreatitis_excluded":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"documented_recurrent_episodes_of_pancreatitis","met":true},{"factor":"other_etiologies_of_pancreatitis_excluded","met":true},{"factor":"negative_endoscopic_ultrasound","met":true},{"factor":"abnormal_sphincter_manometry","met":true}],"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":"rome_iv_pancreatic_sod","formula_expression":"rome_iv_pancreatic_sod iff documented_recurrent_episodes_of_pancreatitis and other_etiologies_of_pancreatitis_excluded and negative_endoscopic_ultrasound and abnormal_sphincter_manometry (Cotton 2016 Rome IV E2 pancreatic sphincter of Oddi disorder)","rome_iv_pancreatic_sod":true},{"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"documented_recurrent_episodes_of_pancreatitis","met":true},{"factor":"other_etiologies_of_pancreatitis_excluded","met":true},{"factor":"negative_endoscopic_ultrasound","met":true},{"factor":"abnormal_sphincter_manometry","met":true}],"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":"rome_iv_pancreatic_sod","formula_expression":"rome_iv_pancreatic_sod iff documented_recurrent_episodes_of_pancreatitis and other_etiologies_of_pancreatitis_excluded and negative_endoscopic_ultrasound and abnormal_sphincter_manometry (Cotton 2016 Rome IV E2 pancreatic sphincter of Oddi disorder)","rome_iv_pancreatic_sod":true}],"path":"/api/calc/rome_iv_pancreatic_sod"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_sphincter_manometry":{"description":"Abnormal sphincter manometry, as assigned (Cotton 2016 Rome IV E2). true or false as assigned by the caller. magent does not read sphincter manometry.","type":"boolean"},"documented_recurrent_episodes_of_pancreatitis":{"description":"Documented recurrent episodes of pancreatitis (typical pain with amylase or lipase >3 times normal and/or imaging evidence of acute pancreatitis), as assigned (Cotton 2016 Rome IV E2). One caller flag; magent does not split amylase versus imaging. true or false as assigned by the caller. magent does not read labs or imaging.","type":"boolean"},"negative_endoscopic_ultrasound":{"description":"Negative endoscopic ultrasound, as assigned (Cotton 2016 Rome IV E2). true or false as assigned by the caller. magent does not read endoscopic ultrasound.","type":"boolean"},"other_etiologies_of_pancreatitis_excluded":{"description":"Other etiologies of pancreatitis excluded, as assigned (Cotton 2016 Rome IV E2). true or false as assigned by the caller. magent does not read labs or imaging.","type":"boolean"}},"required":["documented_recurrent_episodes_of_pancreatitis","other_etiologies_of_pancreatitis_excluded","negative_endoscopic_ultrasound","abnormal_sphincter_manometry"],"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":["rome-iv-pancreatic-sod","pancreatic-sod","gi","rome-iv","cotton-2016","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:47:01.38Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:47:01.179Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_sphincter_manometry":true,"documented_recurrent_episodes_of_pancreatitis":true,"negative_endoscopic_ultrasound":true,"other_etiologies_of_pancreatitis_excluded":true},{"abnormal_sphincter_manometry":true,"documented_recurrent_episodes_of_pancreatitis":true,"negative_endoscopic_ultrasound":true,"other_etiologies_of_pancreatitis_excluded":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"documented_recurrent_episodes_of_pancreatitis","met":true},{"factor":"other_etiologies_of_pancreatitis_excluded","met":true},{"factor":"negative_endoscopic_ultrasound","met":true},{"factor":"abnormal_sphincter_manometry","met":true}],"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":"rome_iv_pancreatic_sod","formula_expression":"rome_iv_pancreatic_sod iff documented_recurrent_episodes_of_pancreatitis and other_etiologies_of_pancreatitis_excluded and negative_endoscopic_ultrasound and abnormal_sphincter_manometry (Cotton 2016 Rome IV E2 pancreatic sphincter of Oddi disorder)","rome_iv_pancreatic_sod":true},{"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"documented_recurrent_episodes_of_pancreatitis","met":true},{"factor":"other_etiologies_of_pancreatitis_excluded","met":true},{"factor":"negative_endoscopic_ultrasound","met":true},{"factor":"abnormal_sphincter_manometry","met":true}],"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":"rome_iv_pancreatic_sod","formula_expression":"rome_iv_pancreatic_sod iff documented_recurrent_episodes_of_pancreatitis and other_etiologies_of_pancreatitis_excluded and negative_endoscopic_ultrasound and abnormal_sphincter_manometry (Cotton 2016 Rome IV E2 pancreatic sphincter of Oddi disorder)","rome_iv_pancreatic_sod":true}],"path":"/api/calc/rome_iv_pancreatic_sod"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_sphincter_manometry":{"description":"Abnormal sphincter manometry, as assigned (Cotton 2016 Rome IV E2). true or false as assigned by the caller. magent does not read sphincter manometry.","type":"boolean"},"documented_recurrent_episodes_of_pancreatitis":{"description":"Documented recurrent episodes of pancreatitis (typical pain with amylase or lipase >3 times normal and/or imaging evidence of acute pancreatitis), as assigned (Cotton 2016 Rome IV E2). One caller flag; magent does not split amylase versus imaging. true or false as assigned by the caller. magent does not read labs or imaging.","type":"boolean"},"negative_endoscopic_ultrasound":{"description":"Negative endoscopic ultrasound, as assigned (Cotton 2016 Rome IV E2). true or false as assigned by the caller. magent does not read endoscopic ultrasound.","type":"boolean"},"other_etiologies_of_pancreatitis_excluded":{"description":"Other etiologies of pancreatitis excluded, as assigned (Cotton 2016 Rome IV E2). true or false as assigned by the caller. magent does not read labs or imaging.","type":"boolean"}},"required":["documented_recurrent_episodes_of_pancreatitis","other_etiologies_of_pancreatitis_excluded","negative_endoscopic_ultrasound","abnormal_sphincter_manometry"],"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},{"id":38834,"slug":"38834","resource":"https://api.magentlab.com/api/calc/rome_iv_oic","description":"Mearin 2016 Rome IV C6 OIC. rome_iv_oic is true iff new or worsening constipation when initiating, changing, or increasing opioid therapy, at least 2 of 6 symptoms (straining, lumpy/hard stools, incomplete evacuation, anorectal obstruction, manual maneuvers, fewer than 3 SBM/week), and loose stools rare without laxatives. symptom_count is 0-6. Caller assigns eight flags. magent does not examine the patient or prescribe opioids. Not a diagnosis, not functional constipation C2, not IBS, not child.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anorectal_obstruction_gt_25_percent":false,"fewer_than_3_sbm_per_week":true,"incomplete_evacuation_gt_25_percent":false,"loose_stools_rare_without_laxatives":true,"lumpy_or_hard_stools_gt_25_percent":false,"manual_maneuvers_gt_25_percent":false,"new_or_worsening_constipation_on_opioid_change":true,"straining_gt_25_percent":true},{"anorectal_obstruction_gt_25_percent":false,"fewer_than_3_sbm_per_week":true,"incomplete_evacuation_gt_25_percent":false,"loose_stools_rare_without_laxatives":true,"lumpy_or_hard_stools_gt_25_percent":false,"manual_maneuvers_gt_25_percent":false,"new_or_worsening_constipation_on_opioid_change":true,"straining_gt_25_percent":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"new_or_worsening_constipation_on_opioid_change","met":true},{"factor":"straining_gt_25_percent","met":true},{"factor":"lumpy_or_hard_stools_gt_25_percent","met":false},{"factor":"incomplete_evacuation_gt_25_percent","met":false},{"factor":"anorectal_obstruction_gt_25_percent","met":false},{"factor":"manual_maneuvers_gt_25_percent","met":false},{"factor":"fewer_than_3_sbm_per_week","met":true},{"factor":"symptom_count_ge_2","met":true,"value":2},{"factor":"loose_stools_rare_without_laxatives","met":true}],"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":"rome_iv_oic","formula_expression":"rome_iv_oic iff new_or_worsening_constipation_on_opioid_change and symptom_count >= 2 and loose_stools_rare_without_laxatives; symptom_count counts straining_gt_25_percent, lumpy_or_hard_stools_gt_25_percent, incomplete_evacuation_gt_25_percent, anorectal_obstruction_gt_25_percent, manual_maneuvers_gt_25_percent, and fewer_than_3_sbm_per_week (Mearin 2016 Rome IV C6 opioid-induced constipation)","rome_iv_oic":true,"symptom_count":2},{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"new_or_worsening_constipation_on_opioid_change","met":true},{"factor":"straining_gt_25_percent","met":true},{"factor":"lumpy_or_hard_stools_gt_25_percent","met":false},{"factor":"incomplete_evacuation_gt_25_percent","met":false},{"factor":"anorectal_obstruction_gt_25_percent","met":false},{"factor":"manual_maneuvers_gt_25_percent","met":false},{"factor":"fewer_than_3_sbm_per_week","met":true},{"factor":"symptom_count_ge_2","met":true,"value":2},{"factor":"loose_stools_rare_without_laxatives","met":true}],"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":"rome_iv_oic","formula_expression":"rome_iv_oic iff new_or_worsening_constipation_on_opioid_change and symptom_count >= 2 and loose_stools_rare_without_laxatives; symptom_count counts straining_gt_25_percent, lumpy_or_hard_stools_gt_25_percent, incomplete_evacuation_gt_25_percent, anorectal_obstruction_gt_25_percent, manual_maneuvers_gt_25_percent, and fewer_than_3_sbm_per_week (Mearin 2016 Rome IV C6 opioid-induced constipation)","rome_iv_oic":true,"symptom_count":2}],"path":"/api/calc/rome_iv_oic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anorectal_obstruction_gt_25_percent":{"description":"Sensation of anorectal obstruction/blockage more than 25% of defecations (one of six C6 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"fewer_than_3_sbm_per_week":{"description":"Fewer than three spontaneous bowel movements per week (one of six C6 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"incomplete_evacuation_gt_25_percent":{"description":"Sensation of incomplete evacuation more than 25% of defecations (one of six C6 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"loose_stools_rare_without_laxatives":{"description":"Loose stools are rarely present without the use of laxatives, as assigned (Mearin 2016 C6). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"lumpy_or_hard_stools_gt_25_percent":{"description":"Lumpy or hard stools (Bristol stool form types 1-2) more than 25% of defecations (one of six C6 symptom items; at least two required). true or false as assigned by the caller. magent does not inspect stool.","type":"boolean"},"manual_maneuvers_gt_25_percent":{"description":"Manual maneuvers to facilitate more than 25% of defecations (one of six C6 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"new_or_worsening_constipation_on_opioid_change":{"description":"New or worsening constipation when initiating, changing, or increasing opioid therapy, as assigned (Mearin 2016 C6). true or false as assigned by the caller. magent does not take a history or prescribe opioids.","type":"boolean"},"straining_gt_25_percent":{"description":"Straining during more than 25% of defecations (one of six C6 symptom items; at least two required). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["new_or_worsening_constipation_on_opioid_change","straining_gt_25_percent","lumpy_or_hard_stools_gt_25_percent","incomplete_evacuation_gt_25_percent","anorectal_obstruction_gt_25_percent","manual_maneuvers_gt_25_percent","fewer_than_3_sbm_per_week","loose_stools_rare_without_laxatives"],"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":["rome-iv-oic","opioid-constipation","gi","constipation","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:37:37.691Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:37:37.555Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anorectal_obstruction_gt_25_percent":false,"fewer_than_3_sbm_per_week":true,"incomplete_evacuation_gt_25_percent":false,"loose_stools_rare_without_laxatives":true,"lumpy_or_hard_stools_gt_25_percent":false,"manual_maneuvers_gt_25_percent":false,"new_or_worsening_constipation_on_opioid_change":true,"straining_gt_25_percent":true},{"anorectal_obstruction_gt_25_percent":false,"fewer_than_3_sbm_per_week":true,"incomplete_evacuation_gt_25_percent":false,"loose_stools_rare_without_laxatives":true,"lumpy_or_hard_stools_gt_25_percent":false,"manual_maneuvers_gt_25_percent":false,"new_or_worsening_constipation_on_opioid_change":true,"straining_gt_25_percent":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"new_or_worsening_constipation_on_opioid_change","met":true},{"factor":"straining_gt_25_percent","met":true},{"factor":"lumpy_or_hard_stools_gt_25_percent","met":false},{"factor":"incomplete_evacuation_gt_25_percent","met":false},{"factor":"anorectal_obstruction_gt_25_percent","met":false},{"factor":"manual_maneuvers_gt_25_percent","met":false},{"factor":"fewer_than_3_sbm_per_week","met":true},{"factor":"symptom_count_ge_2","met":true,"value":2},{"factor":"loose_stools_rare_without_laxatives","met":true}],"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":"rome_iv_oic","formula_expression":"rome_iv_oic iff new_or_worsening_constipation_on_opioid_change and symptom_count >= 2 and loose_stools_rare_without_laxatives; symptom_count counts straining_gt_25_percent, lumpy_or_hard_stools_gt_25_percent, incomplete_evacuation_gt_25_percent, anorectal_obstruction_gt_25_percent, manual_maneuvers_gt_25_percent, and fewer_than_3_sbm_per_week (Mearin 2016 Rome IV C6 opioid-induced constipation)","rome_iv_oic":true,"symptom_count":2},{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"new_or_worsening_constipation_on_opioid_change","met":true},{"factor":"straining_gt_25_percent","met":true},{"factor":"lumpy_or_hard_stools_gt_25_percent","met":false},{"factor":"incomplete_evacuation_gt_25_percent","met":false},{"factor":"anorectal_obstruction_gt_25_percent","met":false},{"factor":"manual_maneuvers_gt_25_percent","met":false},{"factor":"fewer_than_3_sbm_per_week","met":true},{"factor":"symptom_count_ge_2","met":true,"value":2},{"factor":"loose_stools_rare_without_laxatives","met":true}],"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":"rome_iv_oic","formula_expression":"rome_iv_oic iff new_or_worsening_constipation_on_opioid_change and symptom_count >= 2 and loose_stools_rare_without_laxatives; symptom_count counts straining_gt_25_percent, lumpy_or_hard_stools_gt_25_percent, incomplete_evacuation_gt_25_percent, anorectal_obstruction_gt_25_percent, manual_maneuvers_gt_25_percent, and fewer_than_3_sbm_per_week (Mearin 2016 Rome IV C6 opioid-induced constipation)","rome_iv_oic":true,"symptom_count":2}],"path":"/api/calc/rome_iv_oic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anorectal_obstruction_gt_25_percent":{"description":"Sensation of anorectal obstruction/blockage more than 25% of defecations (one of six C6 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"fewer_than_3_sbm_per_week":{"description":"Fewer than three spontaneous bowel movements per week (one of six C6 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"incomplete_evacuation_gt_25_percent":{"description":"Sensation of incomplete evacuation more than 25% of defecations (one of six C6 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"loose_stools_rare_without_laxatives":{"description":"Loose stools are rarely present without the use of laxatives, as assigned (Mearin 2016 C6). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"lumpy_or_hard_stools_gt_25_percent":{"description":"Lumpy or hard stools (Bristol stool form types 1-2) more than 25% of defecations (one of six C6 symptom items; at least two required). true or false as assigned by the caller. magent does not inspect stool.","type":"boolean"},"manual_maneuvers_gt_25_percent":{"description":"Manual maneuvers to facilitate more than 25% of defecations (one of six C6 symptom items; at least two required). true or false as assigned by the caller.","type":"boolean"},"new_or_worsening_constipation_on_opioid_change":{"description":"New or worsening constipation when initiating, changing, or increasing opioid therapy, as assigned (Mearin 2016 C6). true or false as assigned by the caller. magent does not take a history or prescribe opioids.","type":"boolean"},"straining_gt_25_percent":{"description":"Straining during more than 25% of defecations (one of six C6 symptom items; at least two required). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["new_or_worsening_constipation_on_opioid_change","straining_gt_25_percent","lumpy_or_hard_stools_gt_25_percent","incomplete_evacuation_gt_25_percent","anorectal_obstruction_gt_25_percent","manual_maneuvers_gt_25_percent","fewer_than_3_sbm_per_week","loose_stools_rare_without_laxatives"],"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},{"id":38835,"slug":"38835","resource":"https://api.magentlab.com/api/calc/rome_iv_nbs","description":"Keefer 2016 Rome IV NBS (D2). rome_iv_nbs is true iff chronic or frequently recurring abdominal pain on narcotics, pain not explained by a GI diagnosis, at least two of three NBS features, last-3-months criteria, and 6-month onset. nbs_features_met is 0-3. Caller assigns seven flags. ~75 mg oral morphine equivalent is copy-only. magent does not examine the patient or judge opioid dose. Not a diagnosis, not CAPS, not opioid-induced constipation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"chronic_or_frequently_recurring_abdominal_pain_on_narcotics":true,"fulfilled_last_3_months":true,"marked_worsening_when_dose_wanes_improvement_when_reinstituted":true,"onset_at_least_6_months":true,"pain_not_explained_by_current_or_previous_gi_diagnosis":true,"pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics":true,"progression_of_frequency_duration_intensity_of_pain_episodes":false},{"chronic_or_frequently_recurring_abdominal_pain_on_narcotics":true,"fulfilled_last_3_months":true,"marked_worsening_when_dose_wanes_improvement_when_reinstituted":true,"onset_at_least_6_months":true,"pain_not_explained_by_current_or_previous_gi_diagnosis":true,"pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics":true,"progression_of_frequency_duration_intensity_of_pain_episodes":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Keefer L, Drossman DA, Guthrie E, Simrén M, Tillisch K, Olden K, Whorwell PJ","doi":"10.1053/j.gastro.2016.02.034","id":"keefer-2016","pmid":"27144628","source":"Gastroenterology. 2016;150(6):1408-1419","title":"Centrally Mediated Disorders of Gastrointestinal Pain"},"criteria":[{"factor":"chronic_or_frequently_recurring_abdominal_pain_on_narcotics","met":true},{"factor":"pain_not_explained_by_current_or_previous_gi_diagnosis","met":true},{"factor":"pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics","met":true},{"factor":"marked_worsening_when_dose_wanes_improvement_when_reinstituted","met":true},{"factor":"progression_of_frequency_duration_intensity_of_pain_episodes","met":false},{"factor":"nbs_features_ge_2","met":true,"value":2},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_nbs","formula_expression":"rome_iv_nbs iff chronic_or_frequently_recurring_abdominal_pain_on_narcotics and pain_not_explained_by_current_or_previous_gi_diagnosis and nbs_features_met >= 2 and fulfilled_last_3_months and onset_at_least_6_months; nbs_features_met counts pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics, marked_worsening_when_dose_wanes_improvement_when_reinstituted, and progression_of_frequency_duration_intensity_of_pain_episodes (Keefer 2016 Rome IV D2 Narcotic Bowel Syndrome / opioid-induced GI hyperalgesia)","nbs_features_met":2,"rome_iv_nbs":true},{"citation":{"authors":"Keefer L, Drossman DA, Guthrie E, Simrén M, Tillisch K, Olden K, Whorwell PJ","doi":"10.1053/j.gastro.2016.02.034","id":"keefer-2016","pmid":"27144628","source":"Gastroenterology. 2016;150(6):1408-1419","title":"Centrally Mediated Disorders of Gastrointestinal Pain"},"criteria":[{"factor":"chronic_or_frequently_recurring_abdominal_pain_on_narcotics","met":true},{"factor":"pain_not_explained_by_current_or_previous_gi_diagnosis","met":true},{"factor":"pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics","met":true},{"factor":"marked_worsening_when_dose_wanes_improvement_when_reinstituted","met":true},{"factor":"progression_of_frequency_duration_intensity_of_pain_episodes","met":false},{"factor":"nbs_features_ge_2","met":true,"value":2},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_nbs","formula_expression":"rome_iv_nbs iff chronic_or_frequently_recurring_abdominal_pain_on_narcotics and pain_not_explained_by_current_or_previous_gi_diagnosis and nbs_features_met >= 2 and fulfilled_last_3_months and onset_at_least_6_months; nbs_features_met counts pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics, marked_worsening_when_dose_wanes_improvement_when_reinstituted, and progression_of_frequency_duration_intensity_of_pain_episodes (Keefer 2016 Rome IV D2 Narcotic Bowel Syndrome / opioid-induced GI hyperalgesia)","nbs_features_met":2,"rome_iv_nbs":true}],"path":"/api/calc/rome_iv_nbs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chronic_or_frequently_recurring_abdominal_pain_on_narcotics":{"description":"Chronic or frequently recurring abdominal pain treated with acute high-dose or chronic narcotics; pain must occur most days, as assigned (Keefer 2016 Rome IV NBS / D2). Patients often take about 75 mg oral morphine equivalent; no particular time frame or dosage is required. true or false as assigned by the caller. magent does not examine the patient or judge opioid dose.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"marked_worsening_when_dose_wanes_improvement_when_reinstituted":{"description":"Marked worsening of pain when the narcotic dose wanes and improvement when narcotics are re-instituted (soar and crash; one of three NBS features; at least two required). true or false as assigned by the caller.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"pain_not_explained_by_current_or_previous_gi_diagnosis":{"description":"The nature and intensity of the pain is not explained by a current or previous GI diagnosis (a structural diagnosis may exist but is not sufficient to explain the pain), as assigned (Keefer 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics":{"description":"Pain worsens or incompletely resolves with continued or escalating dosages of narcotics (one of three NBS features; at least two required). true or false as assigned by the caller.","type":"boolean"},"progression_of_frequency_duration_intensity_of_pain_episodes":{"description":"Progression of the frequency, duration, and intensity of pain episodes (one of three NBS features; at least two required). true or false as assigned by the caller.","type":"boolean"}},"required":["chronic_or_frequently_recurring_abdominal_pain_on_narcotics","pain_not_explained_by_current_or_previous_gi_diagnosis","pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics","marked_worsening_when_dose_wanes_improvement_when_reinstituted","progression_of_frequency_duration_intensity_of_pain_episodes","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-nbs","nbs","gi","narcotic-bowel","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:37:34.672Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:37:34.54Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"chronic_or_frequently_recurring_abdominal_pain_on_narcotics":true,"fulfilled_last_3_months":true,"marked_worsening_when_dose_wanes_improvement_when_reinstituted":true,"onset_at_least_6_months":true,"pain_not_explained_by_current_or_previous_gi_diagnosis":true,"pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics":true,"progression_of_frequency_duration_intensity_of_pain_episodes":false},{"chronic_or_frequently_recurring_abdominal_pain_on_narcotics":true,"fulfilled_last_3_months":true,"marked_worsening_when_dose_wanes_improvement_when_reinstituted":true,"onset_at_least_6_months":true,"pain_not_explained_by_current_or_previous_gi_diagnosis":true,"pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics":true,"progression_of_frequency_duration_intensity_of_pain_episodes":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Keefer L, Drossman DA, Guthrie E, Simrén M, Tillisch K, Olden K, Whorwell PJ","doi":"10.1053/j.gastro.2016.02.034","id":"keefer-2016","pmid":"27144628","source":"Gastroenterology. 2016;150(6):1408-1419","title":"Centrally Mediated Disorders of Gastrointestinal Pain"},"criteria":[{"factor":"chronic_or_frequently_recurring_abdominal_pain_on_narcotics","met":true},{"factor":"pain_not_explained_by_current_or_previous_gi_diagnosis","met":true},{"factor":"pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics","met":true},{"factor":"marked_worsening_when_dose_wanes_improvement_when_reinstituted","met":true},{"factor":"progression_of_frequency_duration_intensity_of_pain_episodes","met":false},{"factor":"nbs_features_ge_2","met":true,"value":2},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_nbs","formula_expression":"rome_iv_nbs iff chronic_or_frequently_recurring_abdominal_pain_on_narcotics and pain_not_explained_by_current_or_previous_gi_diagnosis and nbs_features_met >= 2 and fulfilled_last_3_months and onset_at_least_6_months; nbs_features_met counts pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics, marked_worsening_when_dose_wanes_improvement_when_reinstituted, and progression_of_frequency_duration_intensity_of_pain_episodes (Keefer 2016 Rome IV D2 Narcotic Bowel Syndrome / opioid-induced GI hyperalgesia)","nbs_features_met":2,"rome_iv_nbs":true},{"citation":{"authors":"Keefer L, Drossman DA, Guthrie E, Simrén M, Tillisch K, Olden K, Whorwell PJ","doi":"10.1053/j.gastro.2016.02.034","id":"keefer-2016","pmid":"27144628","source":"Gastroenterology. 2016;150(6):1408-1419","title":"Centrally Mediated Disorders of Gastrointestinal Pain"},"criteria":[{"factor":"chronic_or_frequently_recurring_abdominal_pain_on_narcotics","met":true},{"factor":"pain_not_explained_by_current_or_previous_gi_diagnosis","met":true},{"factor":"pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics","met":true},{"factor":"marked_worsening_when_dose_wanes_improvement_when_reinstituted","met":true},{"factor":"progression_of_frequency_duration_intensity_of_pain_episodes","met":false},{"factor":"nbs_features_ge_2","met":true,"value":2},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_nbs","formula_expression":"rome_iv_nbs iff chronic_or_frequently_recurring_abdominal_pain_on_narcotics and pain_not_explained_by_current_or_previous_gi_diagnosis and nbs_features_met >= 2 and fulfilled_last_3_months and onset_at_least_6_months; nbs_features_met counts pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics, marked_worsening_when_dose_wanes_improvement_when_reinstituted, and progression_of_frequency_duration_intensity_of_pain_episodes (Keefer 2016 Rome IV D2 Narcotic Bowel Syndrome / opioid-induced GI hyperalgesia)","nbs_features_met":2,"rome_iv_nbs":true}],"path":"/api/calc/rome_iv_nbs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chronic_or_frequently_recurring_abdominal_pain_on_narcotics":{"description":"Chronic or frequently recurring abdominal pain treated with acute high-dose or chronic narcotics; pain must occur most days, as assigned (Keefer 2016 Rome IV NBS / D2). Patients often take about 75 mg oral morphine equivalent; no particular time frame or dosage is required. true or false as assigned by the caller. magent does not examine the patient or judge opioid dose.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"marked_worsening_when_dose_wanes_improvement_when_reinstituted":{"description":"Marked worsening of pain when the narcotic dose wanes and improvement when narcotics are re-instituted (soar and crash; one of three NBS features; at least two required). true or false as assigned by the caller.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"pain_not_explained_by_current_or_previous_gi_diagnosis":{"description":"The nature and intensity of the pain is not explained by a current or previous GI diagnosis (a structural diagnosis may exist but is not sufficient to explain the pain), as assigned (Keefer 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics":{"description":"Pain worsens or incompletely resolves with continued or escalating dosages of narcotics (one of three NBS features; at least two required). true or false as assigned by the caller.","type":"boolean"},"progression_of_frequency_duration_intensity_of_pain_episodes":{"description":"Progression of the frequency, duration, and intensity of pain episodes (one of three NBS features; at least two required). true or false as assigned by the caller.","type":"boolean"}},"required":["chronic_or_frequently_recurring_abdominal_pain_on_narcotics","pain_not_explained_by_current_or_previous_gi_diagnosis","pain_worsens_or_incompletely_resolves_with_continued_or_escalating_narcotics","marked_worsening_when_dose_wanes_improvement_when_reinstituted","progression_of_frequency_duration_intensity_of_pain_episodes","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":38836,"slug":"38836","resource":"https://api.magentlab.com/api/calc/rome_iv_levator_ani","description":"Rao 2016 Rome IV levator ani syndrome. rome_iv_levator_ani is true iff chronic or recurrent rectal pain or aching, episodes lasting 30 minutes or longer, tenderness during puborectalis traction (caller assigns; magent does not perform traction), other causes of rectal pain excluded, last-3-months criteria, and 6-month onset. Not a diagnosis, not proctalgia fugax, not unspecified functional anorectal pain (F2b).","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"chronic_or_recurrent_rectal_pain_or_aching":true,"episodes_last_30_minutes_or_longer":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"other_causes_of_rectal_pain_excluded":true,"tenderness_during_puborectalis_traction":true},{"chronic_or_recurrent_rectal_pain_or_aching":true,"episodes_last_30_minutes_or_longer":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"other_causes_of_rectal_pain_excluded":true,"tenderness_during_puborectalis_traction":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"chronic_or_recurrent_rectal_pain_or_aching","met":true},{"factor":"episodes_last_30_minutes_or_longer","met":true},{"factor":"tenderness_during_puborectalis_traction","met":true},{"factor":"other_causes_of_rectal_pain_excluded","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_levator_ani","formula_expression":"rome_iv_levator_ani iff chronic_or_recurrent_rectal_pain_or_aching and episodes_last_30_minutes_or_longer and tenderness_during_puborectalis_traction and other_causes_of_rectal_pain_excluded and fulfilled_last_3_months and onset_at_least_6_months (Rao 2016 Rome IV levator ani syndrome)","rome_iv_levator_ani":true},{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"chronic_or_recurrent_rectal_pain_or_aching","met":true},{"factor":"episodes_last_30_minutes_or_longer","met":true},{"factor":"tenderness_during_puborectalis_traction","met":true},{"factor":"other_causes_of_rectal_pain_excluded","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_levator_ani","formula_expression":"rome_iv_levator_ani iff chronic_or_recurrent_rectal_pain_or_aching and episodes_last_30_minutes_or_longer and tenderness_during_puborectalis_traction and other_causes_of_rectal_pain_excluded and fulfilled_last_3_months and onset_at_least_6_months (Rao 2016 Rome IV levator ani syndrome)","rome_iv_levator_ani":true}],"path":"/api/calc/rome_iv_levator_ani"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chronic_or_recurrent_rectal_pain_or_aching":{"description":"Chronic or recurrent rectal pain or aching (Rao 2016 Rome IV levator ani syndrome F2a). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"episodes_last_30_minutes_or_longer":{"description":"Episodes last 30 minutes or longer (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"other_causes_of_rectal_pain_excluded":{"description":"Other causes of rectal pain excluded (IBD, intramuscular abscess, anal fissure, thrombosed hemorrhoids, prostatitis, coccygodynia, major pelvic-floor structural alteration), as assigned (Rao 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"tenderness_during_puborectalis_traction":{"description":"Tenderness during posterior traction on the puborectalis (Rao 2016 F2a). true or false as assigned by the caller. magent does not perform traction on the puborectalis.","type":"boolean"}},"required":["chronic_or_recurrent_rectal_pain_or_aching","episodes_last_30_minutes_or_longer","tenderness_during_puborectalis_traction","other_causes_of_rectal_pain_excluded","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-levator-ani","levator-ani","gi","anorectal","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:37:33.075Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:37:32.929Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"chronic_or_recurrent_rectal_pain_or_aching":true,"episodes_last_30_minutes_or_longer":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"other_causes_of_rectal_pain_excluded":true,"tenderness_during_puborectalis_traction":true},{"chronic_or_recurrent_rectal_pain_or_aching":true,"episodes_last_30_minutes_or_longer":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"other_causes_of_rectal_pain_excluded":true,"tenderness_during_puborectalis_traction":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"chronic_or_recurrent_rectal_pain_or_aching","met":true},{"factor":"episodes_last_30_minutes_or_longer","met":true},{"factor":"tenderness_during_puborectalis_traction","met":true},{"factor":"other_causes_of_rectal_pain_excluded","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_levator_ani","formula_expression":"rome_iv_levator_ani iff chronic_or_recurrent_rectal_pain_or_aching and episodes_last_30_minutes_or_longer and tenderness_during_puborectalis_traction and other_causes_of_rectal_pain_excluded and fulfilled_last_3_months and onset_at_least_6_months (Rao 2016 Rome IV levator ani syndrome)","rome_iv_levator_ani":true},{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"chronic_or_recurrent_rectal_pain_or_aching","met":true},{"factor":"episodes_last_30_minutes_or_longer","met":true},{"factor":"tenderness_during_puborectalis_traction","met":true},{"factor":"other_causes_of_rectal_pain_excluded","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_levator_ani","formula_expression":"rome_iv_levator_ani iff chronic_or_recurrent_rectal_pain_or_aching and episodes_last_30_minutes_or_longer and tenderness_during_puborectalis_traction and other_causes_of_rectal_pain_excluded and fulfilled_last_3_months and onset_at_least_6_months (Rao 2016 Rome IV levator ani syndrome)","rome_iv_levator_ani":true}],"path":"/api/calc/rome_iv_levator_ani"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chronic_or_recurrent_rectal_pain_or_aching":{"description":"Chronic or recurrent rectal pain or aching (Rao 2016 Rome IV levator ani syndrome F2a). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"episodes_last_30_minutes_or_longer":{"description":"Episodes last 30 minutes or longer (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"other_causes_of_rectal_pain_excluded":{"description":"Other causes of rectal pain excluded (IBD, intramuscular abscess, anal fissure, thrombosed hemorrhoids, prostatitis, coccygodynia, major pelvic-floor structural alteration), as assigned (Rao 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"tenderness_during_puborectalis_traction":{"description":"Tenderness during posterior traction on the puborectalis (Rao 2016 F2a). true or false as assigned by the caller. magent does not perform traction on the puborectalis.","type":"boolean"}},"required":["chronic_or_recurrent_rectal_pain_or_aching","episodes_last_30_minutes_or_longer","tenderness_during_puborectalis_traction","other_causes_of_rectal_pain_excluded","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":38837,"slug":"38837","resource":"https://api.magentlab.com/api/calc/rome_iv_infant_diarrhea","description":"Benninga 2016 Rome IV G5 Functional Diarrhea. rome_iv_infant_diarrhea is true iff daily_painless_recurrent_4_or_more_large_unformed_stools, symptoms_last_more_than_4_weeks, onset_between_6_and_60_months, and no_failure_to_thrive_if_caloric_intake_adequate. Rome IV is 4 or more stools (not Rome III's 3). Sleep-stool criterion was dropped and is not a flag. Caller assigns four flags. magent does not examine the child. Not a diagnosis, not adult Rome IV diarrhea, not a malabsorption workup.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"daily_painless_recurrent_4_or_more_large_unformed_stools":true,"no_failure_to_thrive_if_caloric_intake_adequate":true,"onset_between_6_and_60_months":true,"symptoms_last_more_than_4_weeks":true},{"daily_painless_recurrent_4_or_more_large_unformed_stools":true,"no_failure_to_thrive_if_caloric_intake_adequate":true,"onset_between_6_and_60_months":true,"symptoms_last_more_than_4_weeks":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"daily_painless_recurrent_4_or_more_large_unformed_stools","met":true},{"factor":"symptoms_last_more_than_4_weeks","met":true},{"factor":"onset_between_6_and_60_months","met":true},{"factor":"no_failure_to_thrive_if_caloric_intake_adequate","met":true}],"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":"rome_iv_infant_diarrhea","formula_expression":"rome_iv_infant_diarrhea iff daily_painless_recurrent_4_or_more_large_unformed_stools and symptoms_last_more_than_4_weeks and onset_between_6_and_60_months and no_failure_to_thrive_if_caloric_intake_adequate (Benninga 2016 Rome IV G5 Functional Diarrhea)","rome_iv_infant_diarrhea":true},{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"daily_painless_recurrent_4_or_more_large_unformed_stools","met":true},{"factor":"symptoms_last_more_than_4_weeks","met":true},{"factor":"onset_between_6_and_60_months","met":true},{"factor":"no_failure_to_thrive_if_caloric_intake_adequate","met":true}],"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":"rome_iv_infant_diarrhea","formula_expression":"rome_iv_infant_diarrhea iff daily_painless_recurrent_4_or_more_large_unformed_stools and symptoms_last_more_than_4_weeks and onset_between_6_and_60_months and no_failure_to_thrive_if_caloric_intake_adequate (Benninga 2016 Rome IV G5 Functional Diarrhea)","rome_iv_infant_diarrhea":true}],"path":"/api/calc/rome_iv_infant_diarrhea"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"daily_painless_recurrent_4_or_more_large_unformed_stools":{"description":"Daily, painless, recurrent passage of 4 or more large, unformed stools, as assigned (Benninga 2016 Rome IV G5; Rome IV is 4 or more, not Rome III's 3). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"no_failure_to_thrive_if_caloric_intake_adequate":{"description":"No failure to thrive if caloric intake is adequate, as assigned (Benninga 2016 Rome IV G5). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"onset_between_6_and_60_months":{"description":"Onset between 6 and 60 months of age, as assigned (Benninga 2016 Rome IV G5). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"symptoms_last_more_than_4_weeks":{"description":"Symptoms last more than 4 weeks, as assigned (Benninga 2016 Rome IV G5). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["daily_painless_recurrent_4_or_more_large_unformed_stools","symptoms_last_more_than_4_weeks","onset_between_6_and_60_months","no_failure_to_thrive_if_caloric_intake_adequate"],"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":["rome-iv-infant-diarrhea","infant-diarrhea","gi","rome-iv","neonate-toddler","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:32:17.464Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:32:17.331Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"daily_painless_recurrent_4_or_more_large_unformed_stools":true,"no_failure_to_thrive_if_caloric_intake_adequate":true,"onset_between_6_and_60_months":true,"symptoms_last_more_than_4_weeks":true},{"daily_painless_recurrent_4_or_more_large_unformed_stools":true,"no_failure_to_thrive_if_caloric_intake_adequate":true,"onset_between_6_and_60_months":true,"symptoms_last_more_than_4_weeks":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"daily_painless_recurrent_4_or_more_large_unformed_stools","met":true},{"factor":"symptoms_last_more_than_4_weeks","met":true},{"factor":"onset_between_6_and_60_months","met":true},{"factor":"no_failure_to_thrive_if_caloric_intake_adequate","met":true}],"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":"rome_iv_infant_diarrhea","formula_expression":"rome_iv_infant_diarrhea iff daily_painless_recurrent_4_or_more_large_unformed_stools and symptoms_last_more_than_4_weeks and onset_between_6_and_60_months and no_failure_to_thrive_if_caloric_intake_adequate (Benninga 2016 Rome IV G5 Functional Diarrhea)","rome_iv_infant_diarrhea":true},{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"daily_painless_recurrent_4_or_more_large_unformed_stools","met":true},{"factor":"symptoms_last_more_than_4_weeks","met":true},{"factor":"onset_between_6_and_60_months","met":true},{"factor":"no_failure_to_thrive_if_caloric_intake_adequate","met":true}],"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":"rome_iv_infant_diarrhea","formula_expression":"rome_iv_infant_diarrhea iff daily_painless_recurrent_4_or_more_large_unformed_stools and symptoms_last_more_than_4_weeks and onset_between_6_and_60_months and no_failure_to_thrive_if_caloric_intake_adequate (Benninga 2016 Rome IV G5 Functional Diarrhea)","rome_iv_infant_diarrhea":true}],"path":"/api/calc/rome_iv_infant_diarrhea"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"daily_painless_recurrent_4_or_more_large_unformed_stools":{"description":"Daily, painless, recurrent passage of 4 or more large, unformed stools, as assigned (Benninga 2016 Rome IV G5; Rome IV is 4 or more, not Rome III's 3). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"no_failure_to_thrive_if_caloric_intake_adequate":{"description":"No failure to thrive if caloric intake is adequate, as assigned (Benninga 2016 Rome IV G5). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"onset_between_6_and_60_months":{"description":"Onset between 6 and 60 months of age, as assigned (Benninga 2016 Rome IV G5). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"symptoms_last_more_than_4_weeks":{"description":"Symptoms last more than 4 weeks, as assigned (Benninga 2016 Rome IV G5). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["daily_painless_recurrent_4_or_more_large_unformed_stools","symptoms_last_more_than_4_weeks","onset_between_6_and_60_months","no_failure_to_thrive_if_caloric_intake_adequate"],"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},{"id":38838,"slug":"38838","resource":"https://api.magentlab.com/api/calc/rome_iv_infant_colic","description":"Benninga 2016 Rome IV G4 infant colic (clinical). rome_iv_infant_colic is true iff the infant is less than 5 months of age when symptoms start and stop, recurrent prolonged crying, fussing, or irritability without obvious cause that caregivers cannot prevent or resolve, and no evidence of failure to thrive, fever, or illness. Research 3-hour/diary criteria are not parsed. Caller assigns three flags. magent does not examine the infant. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"infant_less_than_5_months_when_symptoms_start_and_stop":true,"no_failure_to_thrive_fever_or_illness":true,"recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause":true},{"infant_less_than_5_months_when_symptoms_start_and_stop":true,"no_failure_to_thrive_fever_or_illness":true,"recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"infant_less_than_5_months_when_symptoms_start_and_stop","met":true},{"factor":"recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause","met":true},{"factor":"no_failure_to_thrive_fever_or_illness","met":true}],"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":"rome_iv_infant_colic","formula_expression":"rome_iv_infant_colic iff infant_less_than_5_months_when_symptoms_start_and_stop and recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause and no_failure_to_thrive_fever_or_illness (Benninga 2016 Rome IV G4 infant colic, clinical criteria)","rome_iv_infant_colic":true},{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"infant_less_than_5_months_when_symptoms_start_and_stop","met":true},{"factor":"recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause","met":true},{"factor":"no_failure_to_thrive_fever_or_illness","met":true}],"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":"rome_iv_infant_colic","formula_expression":"rome_iv_infant_colic iff infant_less_than_5_months_when_symptoms_start_and_stop and recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause and no_failure_to_thrive_fever_or_illness (Benninga 2016 Rome IV G4 infant colic, clinical criteria)","rome_iv_infant_colic":true}],"path":"/api/calc/rome_iv_infant_colic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"infant_less_than_5_months_when_symptoms_start_and_stop":{"description":"An infant who is less than 5 months of age when the symptoms start and stop, as assigned (Benninga 2016 Rome IV G4). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"no_failure_to_thrive_fever_or_illness":{"description":"No evidence of infant failure to thrive, fever, or illness, as assigned (Benninga 2016 Rome IV G4). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause":{"description":"Recurrent and prolonged periods of infant crying, fussing, or irritability reported by caregivers that occur without obvious cause and cannot be prevented or resolved by caregivers, as assigned (Benninga 2016 Rome IV G4). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"}},"required":["infant_less_than_5_months_when_symptoms_start_and_stop","recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause","no_failure_to_thrive_fever_or_illness"],"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":["rome-iv-infant-colic","infant-colic","gi","rome-iv","neonate","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:26:44.5Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:26:44.276Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"infant_less_than_5_months_when_symptoms_start_and_stop":true,"no_failure_to_thrive_fever_or_illness":true,"recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause":true},{"infant_less_than_5_months_when_symptoms_start_and_stop":true,"no_failure_to_thrive_fever_or_illness":true,"recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"infant_less_than_5_months_when_symptoms_start_and_stop","met":true},{"factor":"recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause","met":true},{"factor":"no_failure_to_thrive_fever_or_illness","met":true}],"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":"rome_iv_infant_colic","formula_expression":"rome_iv_infant_colic iff infant_less_than_5_months_when_symptoms_start_and_stop and recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause and no_failure_to_thrive_fever_or_illness (Benninga 2016 Rome IV G4 infant colic, clinical criteria)","rome_iv_infant_colic":true},{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"infant_less_than_5_months_when_symptoms_start_and_stop","met":true},{"factor":"recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause","met":true},{"factor":"no_failure_to_thrive_fever_or_illness","met":true}],"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":"rome_iv_infant_colic","formula_expression":"rome_iv_infant_colic iff infant_less_than_5_months_when_symptoms_start_and_stop and recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause and no_failure_to_thrive_fever_or_illness (Benninga 2016 Rome IV G4 infant colic, clinical criteria)","rome_iv_infant_colic":true}],"path":"/api/calc/rome_iv_infant_colic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"infant_less_than_5_months_when_symptoms_start_and_stop":{"description":"An infant who is less than 5 months of age when the symptoms start and stop, as assigned (Benninga 2016 Rome IV G4). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"no_failure_to_thrive_fever_or_illness":{"description":"No evidence of infant failure to thrive, fever, or illness, as assigned (Benninga 2016 Rome IV G4). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause":{"description":"Recurrent and prolonged periods of infant crying, fussing, or irritability reported by caregivers that occur without obvious cause and cannot be prevented or resolved by caregivers, as assigned (Benninga 2016 Rome IV G4). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"}},"required":["infant_less_than_5_months_when_symptoms_start_and_stop","recurrent_prolonged_crying_fussing_or_irritability_without_obvious_cause","no_failure_to_thrive_fever_or_illness"],"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},{"id":38839,"slug":"38839","resource":"https://api.magentlab.com/api/calc/rome_iv_ibs","description":"Mearin 2016 Rome IV IBS. rome_iv_ibs is true iff recurrent abdominal pain at least 1 day per week in the last 3 months, onset at least 6 months prior, and at least two of: related to defecation, change in stool frequency, and change in stool form. supporting_features_met is 0-3. Caller assigns five flags. magent does not examine the patient. Not a diagnosis, not Rome III, not IBS subtype.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"associated_change_stool_form":false,"associated_change_stool_frequency":true,"pain_1_day_per_week_last_3_months":true,"related_to_defecation":true,"symptom_onset_at_least_6_months_prior":true},{"associated_change_stool_form":false,"associated_change_stool_frequency":true,"pain_1_day_per_week_last_3_months":true,"related_to_defecation":true,"symptom_onset_at_least_6_months_prior":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"pain_1_day_per_week_last_3_months","met":true},{"factor":"symptom_onset_at_least_6_months_prior","met":true},{"factor":"related_to_defecation","met":true},{"factor":"associated_change_stool_frequency","met":true},{"factor":"associated_change_stool_form","met":false},{"factor":"supporting_features_ge_2","met":true,"value":2}],"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":"rome_iv_ibs","formula_expression":"rome_iv_ibs iff pain_1_day_per_week_last_3_months and symptom_onset_at_least_6_months_prior and supporting_features_met >= 2; supporting_features_met counts related_to_defecation, associated_change_stool_frequency, and associated_change_stool_form (Mearin 2016 Rome IV IBS diagnostic criteria)","rome_iv_ibs":true,"supporting_features_met":2},{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"pain_1_day_per_week_last_3_months","met":true},{"factor":"symptom_onset_at_least_6_months_prior","met":true},{"factor":"related_to_defecation","met":true},{"factor":"associated_change_stool_frequency","met":true},{"factor":"associated_change_stool_form","met":false},{"factor":"supporting_features_ge_2","met":true,"value":2}],"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":"rome_iv_ibs","formula_expression":"rome_iv_ibs iff pain_1_day_per_week_last_3_months and symptom_onset_at_least_6_months_prior and supporting_features_met >= 2; supporting_features_met counts related_to_defecation, associated_change_stool_frequency, and associated_change_stool_form (Mearin 2016 Rome IV IBS diagnostic criteria)","rome_iv_ibs":true,"supporting_features_met":2}],"path":"/api/calc/rome_iv_ibs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"associated_change_stool_form":{"description":"Pain associated with a change in form (appearance) of stool (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"associated_change_stool_frequency":{"description":"Pain associated with a change in frequency of stool (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"pain_1_day_per_week_last_3_months":{"description":"Recurrent abdominal pain on average at least 1 day per week in the last 3 months (Mearin 2016). Pain only, not discomfort. true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"related_to_defecation":{"description":"Pain related to defecation (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"symptom_onset_at_least_6_months_prior":{"description":"Criteria fulfilled for the last 3 months with symptom onset at least 6 months before diagnosis, as assigned (Mearin 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["pain_1_day_per_week_last_3_months","symptom_onset_at_least_6_months_prior","related_to_defecation","associated_change_stool_frequency","associated_change_stool_form"],"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":["rome-iv-ibs","ibs","gi","functional-bowel","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:26:43.458Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:26:43.345Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"associated_change_stool_form":false,"associated_change_stool_frequency":true,"pain_1_day_per_week_last_3_months":true,"related_to_defecation":true,"symptom_onset_at_least_6_months_prior":true},{"associated_change_stool_form":false,"associated_change_stool_frequency":true,"pain_1_day_per_week_last_3_months":true,"related_to_defecation":true,"symptom_onset_at_least_6_months_prior":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"pain_1_day_per_week_last_3_months","met":true},{"factor":"symptom_onset_at_least_6_months_prior","met":true},{"factor":"related_to_defecation","met":true},{"factor":"associated_change_stool_frequency","met":true},{"factor":"associated_change_stool_form","met":false},{"factor":"supporting_features_ge_2","met":true,"value":2}],"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":"rome_iv_ibs","formula_expression":"rome_iv_ibs iff pain_1_day_per_week_last_3_months and symptom_onset_at_least_6_months_prior and supporting_features_met >= 2; supporting_features_met counts related_to_defecation, associated_change_stool_frequency, and associated_change_stool_form (Mearin 2016 Rome IV IBS diagnostic criteria)","rome_iv_ibs":true,"supporting_features_met":2},{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"pain_1_day_per_week_last_3_months","met":true},{"factor":"symptom_onset_at_least_6_months_prior","met":true},{"factor":"related_to_defecation","met":true},{"factor":"associated_change_stool_frequency","met":true},{"factor":"associated_change_stool_form","met":false},{"factor":"supporting_features_ge_2","met":true,"value":2}],"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":"rome_iv_ibs","formula_expression":"rome_iv_ibs iff pain_1_day_per_week_last_3_months and symptom_onset_at_least_6_months_prior and supporting_features_met >= 2; supporting_features_met counts related_to_defecation, associated_change_stool_frequency, and associated_change_stool_form (Mearin 2016 Rome IV IBS diagnostic criteria)","rome_iv_ibs":true,"supporting_features_met":2}],"path":"/api/calc/rome_iv_ibs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"associated_change_stool_form":{"description":"Pain associated with a change in form (appearance) of stool (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"associated_change_stool_frequency":{"description":"Pain associated with a change in frequency of stool (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"pain_1_day_per_week_last_3_months":{"description":"Recurrent abdominal pain on average at least 1 day per week in the last 3 months (Mearin 2016). Pain only, not discomfort. true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"related_to_defecation":{"description":"Pain related to defecation (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"symptom_onset_at_least_6_months_prior":{"description":"Criteria fulfilled for the last 3 months with symptom onset at least 6 months before diagnosis, as assigned (Mearin 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["pain_1_day_per_week_last_3_months","symptom_onset_at_least_6_months_prior","related_to_defecation","associated_change_stool_frequency","associated_change_stool_form"],"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},{"id":38840,"slug":"38840","resource":"https://api.magentlab.com/api/calc/rome_iv_heartburn","description":"Aziz 2016 Rome IV functional heartburn. rome_iv_heartburn is true iff burning retrosternal discomfort, no relief despite optimal antisecretory therapy, not explained by GERD or eosinophilic esophagitis, no major esophageal motor disorder, last-3-months criteria, and 6-month onset. Caller assigns six flags. magent does not prescribe PPI or read pH-impedance. Not a diagnosis, not globus, not reflux hypersensitivity, not Rome IV IBS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"burning_retrosternal_discomfort":true,"fulfilled_last_3_months":true,"no_major_esophageal_motor_disorder":true,"no_relief_despite_optimal_antisecretory_therapy":true,"not_explained_by_gerd_or_eoe":true,"onset_at_least_6_months":true},{"burning_retrosternal_discomfort":true,"fulfilled_last_3_months":true,"no_major_esophageal_motor_disorder":true,"no_relief_despite_optimal_antisecretory_therapy":true,"not_explained_by_gerd_or_eoe":true,"onset_at_least_6_months":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"burning_retrosternal_discomfort","met":true},{"factor":"no_relief_despite_optimal_antisecretory_therapy","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_heartburn","formula_expression":"rome_iv_heartburn iff burning_retrosternal_discomfort and no_relief_despite_optimal_antisecretory_therapy and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional heartburn)","rome_iv_heartburn":true},{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"burning_retrosternal_discomfort","met":true},{"factor":"no_relief_despite_optimal_antisecretory_therapy","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_heartburn","formula_expression":"rome_iv_heartburn iff burning_retrosternal_discomfort and no_relief_despite_optimal_antisecretory_therapy and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional heartburn)","rome_iv_heartburn":true}],"path":"/api/calc/rome_iv_heartburn"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"burning_retrosternal_discomfort":{"description":"Burning retrosternal discomfort or pain, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_major_esophageal_motor_disorder":{"description":"Absence of a major esophageal motor disorder, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not interpret manometry.","type":"boolean"},"no_relief_despite_optimal_antisecretory_therapy":{"description":"No symptom relief despite optimal antisecretory therapy, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not prescribe PPI.","type":"boolean"},"not_explained_by_gerd_or_eoe":{"description":"Symptoms not explained by GERD or eosinophilic esophagitis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read pH-impedance.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["burning_retrosternal_discomfort","no_relief_despite_optimal_antisecretory_therapy","not_explained_by_gerd_or_eoe","no_major_esophageal_motor_disorder","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-heartburn","functional-heartburn","gi","esophageal","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:21:48.902Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:21:48.791Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"burning_retrosternal_discomfort":true,"fulfilled_last_3_months":true,"no_major_esophageal_motor_disorder":true,"no_relief_despite_optimal_antisecretory_therapy":true,"not_explained_by_gerd_or_eoe":true,"onset_at_least_6_months":true},{"burning_retrosternal_discomfort":true,"fulfilled_last_3_months":true,"no_major_esophageal_motor_disorder":true,"no_relief_despite_optimal_antisecretory_therapy":true,"not_explained_by_gerd_or_eoe":true,"onset_at_least_6_months":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"burning_retrosternal_discomfort","met":true},{"factor":"no_relief_despite_optimal_antisecretory_therapy","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_heartburn","formula_expression":"rome_iv_heartburn iff burning_retrosternal_discomfort and no_relief_despite_optimal_antisecretory_therapy and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional heartburn)","rome_iv_heartburn":true},{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"burning_retrosternal_discomfort","met":true},{"factor":"no_relief_despite_optimal_antisecretory_therapy","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_heartburn","formula_expression":"rome_iv_heartburn iff burning_retrosternal_discomfort and no_relief_despite_optimal_antisecretory_therapy and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional heartburn)","rome_iv_heartburn":true}],"path":"/api/calc/rome_iv_heartburn"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"burning_retrosternal_discomfort":{"description":"Burning retrosternal discomfort or pain, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_major_esophageal_motor_disorder":{"description":"Absence of a major esophageal motor disorder, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not interpret manometry.","type":"boolean"},"no_relief_despite_optimal_antisecretory_therapy":{"description":"No symptom relief despite optimal antisecretory therapy, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not prescribe PPI.","type":"boolean"},"not_explained_by_gerd_or_eoe":{"description":"Symptoms not explained by GERD or eosinophilic esophagitis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read pH-impedance.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["burning_retrosternal_discomfort","no_relief_despite_optimal_antisecretory_therapy","not_explained_by_gerd_or_eoe","no_major_esophageal_motor_disorder","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":38841,"slug":"38841","resource":"https://api.magentlab.com/api/calc/rome_iv_globus","description":"Aziz 2016 Rome IV esophageal globus. rome_iv_globus is true iff nonpainful lump or foreign-body sensation, occurrence between meals, no dysphagia or odynophagia, no gastric inlet patch, not explained by GERD or EoE, no major esophageal motor disorder, last-3-months criteria, and 6-month onset. Caller assigns eight flags. magent does not examine the patient or read endoscopy. Not a diagnosis, not functional heartburn, not Rome IV IBS, not CHS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fulfilled_last_3_months":true,"no_dysphagia_or_odynophagia":true,"no_gastric_inlet_patch":true,"no_major_esophageal_motor_disorder":true,"nonpainful_lump_or_foreign_body_sensation":true,"not_explained_by_gerd_or_eoe":true,"occurrence_between_meals":true,"onset_at_least_6_months":true},{"fulfilled_last_3_months":true,"no_dysphagia_or_odynophagia":true,"no_gastric_inlet_patch":true,"no_major_esophageal_motor_disorder":true,"nonpainful_lump_or_foreign_body_sensation":true,"not_explained_by_gerd_or_eoe":true,"occurrence_between_meals":true,"onset_at_least_6_months":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"nonpainful_lump_or_foreign_body_sensation","met":true},{"factor":"occurrence_between_meals","met":true},{"factor":"no_dysphagia_or_odynophagia","met":true},{"factor":"no_gastric_inlet_patch","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_globus","formula_expression":"rome_iv_globus iff nonpainful_lump_or_foreign_body_sensation and occurrence_between_meals and no_dysphagia_or_odynophagia and no_gastric_inlet_patch and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV esophageal globus)","rome_iv_globus":true},{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"nonpainful_lump_or_foreign_body_sensation","met":true},{"factor":"occurrence_between_meals","met":true},{"factor":"no_dysphagia_or_odynophagia","met":true},{"factor":"no_gastric_inlet_patch","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_globus","formula_expression":"rome_iv_globus iff nonpainful_lump_or_foreign_body_sensation and occurrence_between_meals and no_dysphagia_or_odynophagia and no_gastric_inlet_patch and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV esophageal globus)","rome_iv_globus":true}],"path":"/api/calc/rome_iv_globus"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_dysphagia_or_odynophagia":{"description":"Absence of dysphagia or odynophagia (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"no_gastric_inlet_patch":{"description":"Absence of a gastric inlet patch in the proximal esophagus (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy.","type":"boolean"},"no_major_esophageal_motor_disorder":{"description":"Absence of major esophageal motor disorders (achalasia/EGJ outflow obstruction, diffuse esophageal spasm, jackhammer esophagus, absent peristalsis) (Aziz 2016). true or false as assigned by the caller. magent does not interpret manometry.","type":"boolean"},"nonpainful_lump_or_foreign_body_sensation":{"description":"Persistent or intermittent, nonpainful sensation of a lump or foreign body in the throat (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"not_explained_by_gerd_or_eoe":{"description":"Absence of evidence that gastroesophageal reflux or eosinophilic esophagitis is the cause of the symptom (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy.","type":"boolean"},"occurrence_between_meals":{"description":"Occurrence of the sensation between meals (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["nonpainful_lump_or_foreign_body_sensation","occurrence_between_meals","no_dysphagia_or_odynophagia","no_gastric_inlet_patch","not_explained_by_gerd_or_eoe","no_major_esophageal_motor_disorder","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-globus","globus","gi","esophageal","aziz-2016","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:21:48.029Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:21:47.912Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fulfilled_last_3_months":true,"no_dysphagia_or_odynophagia":true,"no_gastric_inlet_patch":true,"no_major_esophageal_motor_disorder":true,"nonpainful_lump_or_foreign_body_sensation":true,"not_explained_by_gerd_or_eoe":true,"occurrence_between_meals":true,"onset_at_least_6_months":true},{"fulfilled_last_3_months":true,"no_dysphagia_or_odynophagia":true,"no_gastric_inlet_patch":true,"no_major_esophageal_motor_disorder":true,"nonpainful_lump_or_foreign_body_sensation":true,"not_explained_by_gerd_or_eoe":true,"occurrence_between_meals":true,"onset_at_least_6_months":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"nonpainful_lump_or_foreign_body_sensation","met":true},{"factor":"occurrence_between_meals","met":true},{"factor":"no_dysphagia_or_odynophagia","met":true},{"factor":"no_gastric_inlet_patch","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_globus","formula_expression":"rome_iv_globus iff nonpainful_lump_or_foreign_body_sensation and occurrence_between_meals and no_dysphagia_or_odynophagia and no_gastric_inlet_patch and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV esophageal globus)","rome_iv_globus":true},{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"nonpainful_lump_or_foreign_body_sensation","met":true},{"factor":"occurrence_between_meals","met":true},{"factor":"no_dysphagia_or_odynophagia","met":true},{"factor":"no_gastric_inlet_patch","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_globus","formula_expression":"rome_iv_globus iff nonpainful_lump_or_foreign_body_sensation and occurrence_between_meals and no_dysphagia_or_odynophagia and no_gastric_inlet_patch and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV esophageal globus)","rome_iv_globus":true}],"path":"/api/calc/rome_iv_globus"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_dysphagia_or_odynophagia":{"description":"Absence of dysphagia or odynophagia (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"no_gastric_inlet_patch":{"description":"Absence of a gastric inlet patch in the proximal esophagus (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy.","type":"boolean"},"no_major_esophageal_motor_disorder":{"description":"Absence of major esophageal motor disorders (achalasia/EGJ outflow obstruction, diffuse esophageal spasm, jackhammer esophagus, absent peristalsis) (Aziz 2016). true or false as assigned by the caller. magent does not interpret manometry.","type":"boolean"},"nonpainful_lump_or_foreign_body_sensation":{"description":"Persistent or intermittent, nonpainful sensation of a lump or foreign body in the throat (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"not_explained_by_gerd_or_eoe":{"description":"Absence of evidence that gastroesophageal reflux or eosinophilic esophagitis is the cause of the symptom (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy.","type":"boolean"},"occurrence_between_meals":{"description":"Occurrence of the sensation between meals (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["nonpainful_lump_or_foreign_body_sensation","occurrence_between_meals","no_dysphagia_or_odynophagia","no_gastric_inlet_patch","not_explained_by_gerd_or_eoe","no_major_esophageal_motor_disorder","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":38842,"slug":"38842","resource":"https://api.magentlab.com/api/calc/rome_iv_diarrhea","description":"Mearin 2016 Rome IV C3 functional diarrhea. rome_iv_diarrhea is true iff last-3-months criteria with 6-month onset, loose or watery stools without predominant abdominal pain or bothersome bloating in >25% of stools, and insufficient criteria for diarrhea-predominant IBS. Caller assigns three flags. magent does not examine the patient. Not a diagnosis. Adult C3 only. Not child G5, not IBS-D, not Rome IV IBS, not Manning, not functional constipation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"criteria_last_3_months_onset_6_months":true,"insufficient_criteria_for_ibs_d":true,"loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating":true},{"criteria_last_3_months_onset_6_months":true,"insufficient_criteria_for_ibs_d":true,"loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating","met":true},{"factor":"insufficient_criteria_for_ibs_d","met":true}],"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":"rome_iv_diarrhea","formula_expression":"rome_iv_diarrhea iff criteria_last_3_months_onset_6_months and loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating and insufficient_criteria_for_ibs_d (Mearin 2016 Rome IV C3 functional diarrhea)","rome_iv_diarrhea":true},{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating","met":true},{"factor":"insufficient_criteria_for_ibs_d","met":true}],"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":"rome_iv_diarrhea","formula_expression":"rome_iv_diarrhea iff criteria_last_3_months_onset_6_months and loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating and insufficient_criteria_for_ibs_d (Mearin 2016 Rome IV C3 functional diarrhea)","rome_iv_diarrhea":true}],"path":"/api/calc/rome_iv_diarrhea"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"criteria_last_3_months_onset_6_months":{"description":"Criteria fulfilled for the last 3 months with symptom onset at least 6 months prior to diagnosis, as assigned (Mearin 2016 C3). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"insufficient_criteria_for_ibs_d":{"description":"Insufficient criteria for diarrhea-predominant IBS, as assigned by the caller (Mearin 2016 C3 excludes patients who meet IBS-D). true or false. magent does not apply the IBS box.","type":"boolean"},"loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating":{"description":"Loose or watery stools, without predominant abdominal pain or bothersome bloating, occurring in more than 25% of stools (Mearin 2016 C3). true or false as assigned by the caller. magent does not inspect stool.","type":"boolean"}},"required":["criteria_last_3_months_onset_6_months","loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating","insufficient_criteria_for_ibs_d"],"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":["rome-iv-diarrhea","functional-diarrhea","gi","diarrhea","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:17:03.542Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:17:03.335Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"criteria_last_3_months_onset_6_months":true,"insufficient_criteria_for_ibs_d":true,"loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating":true},{"criteria_last_3_months_onset_6_months":true,"insufficient_criteria_for_ibs_d":true,"loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating","met":true},{"factor":"insufficient_criteria_for_ibs_d","met":true}],"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":"rome_iv_diarrhea","formula_expression":"rome_iv_diarrhea iff criteria_last_3_months_onset_6_months and loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating and insufficient_criteria_for_ibs_d (Mearin 2016 Rome IV C3 functional diarrhea)","rome_iv_diarrhea":true},{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"criteria_last_3_months_onset_6_months","met":true},{"factor":"loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating","met":true},{"factor":"insufficient_criteria_for_ibs_d","met":true}],"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":"rome_iv_diarrhea","formula_expression":"rome_iv_diarrhea iff criteria_last_3_months_onset_6_months and loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating and insufficient_criteria_for_ibs_d (Mearin 2016 Rome IV C3 functional diarrhea)","rome_iv_diarrhea":true}],"path":"/api/calc/rome_iv_diarrhea"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"criteria_last_3_months_onset_6_months":{"description":"Criteria fulfilled for the last 3 months with symptom onset at least 6 months prior to diagnosis, as assigned (Mearin 2016 C3). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"insufficient_criteria_for_ibs_d":{"description":"Insufficient criteria for diarrhea-predominant IBS, as assigned by the caller (Mearin 2016 C3 excludes patients who meet IBS-D). true or false. magent does not apply the IBS box.","type":"boolean"},"loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating":{"description":"Loose or watery stools, without predominant abdominal pain or bothersome bloating, occurring in more than 25% of stools (Mearin 2016 C3). true or false as assigned by the caller. magent does not inspect stool.","type":"boolean"}},"required":["criteria_last_3_months_onset_6_months","loose_or_watery_stools_gt_25_percent_without_predominant_pain_or_bloating","insufficient_criteria_for_ibs_d"],"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},{"id":38843,"slug":"38843","resource":"https://api.magentlab.com/api/calc/rome_iv_cvs","description":"Stanghellini 2016 Rome IV adult CVS B3b. rome_iv_cvs is true iff stereotypical acute vomiting episodes lasting <1 week, ≥3 discrete episodes in the prior year and 2 in 6 months at least 1 week apart, absence of vomiting between episodes, last-3-months criteria, and 6-month onset. migraine_history is supportive and not required. Caller assigns eight flags. magent does not examine the patient. Not a diagnosis, not CHS, not pediatric CVS, not Rome IV IBS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"absence_of_vomiting_between_episodes":true,"at_least_three_episodes_prior_year":true,"at_least_two_episodes_past_6_months":true,"episodes_at_least_1_week_apart":true,"fulfilled_last_3_months":true,"migraine_history":true,"onset_at_least_6_months":true,"stereotypical_episodes_acute_lt_1_week":true},{"absence_of_vomiting_between_episodes":true,"at_least_three_episodes_prior_year":true,"at_least_two_episodes_past_6_months":true,"episodes_at_least_1_week_apart":true,"fulfilled_last_3_months":true,"migraine_history":true,"onset_at_least_6_months":true,"stereotypical_episodes_acute_lt_1_week":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"stereotypical_episodes_acute_lt_1_week","met":true},{"factor":"at_least_three_episodes_prior_year","met":true},{"factor":"at_least_two_episodes_past_6_months","met":true},{"factor":"episodes_at_least_1_week_apart","met":true},{"factor":"absence_of_vomiting_between_episodes","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"migraine_history","met":true}],"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":"rome_iv_cvs","formula_expression":"rome_iv_cvs iff stereotypical_episodes_acute_lt_1_week and at_least_three_episodes_prior_year and at_least_two_episodes_past_6_months and episodes_at_least_1_week_apart and absence_of_vomiting_between_episodes and fulfilled_last_3_months and onset_at_least_6_months; migraine_history is supportive and not required (Stanghellini 2016 Rome IV adult cyclic vomiting syndrome B3b)","migraine_history":true,"rome_iv_cvs":true},{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"stereotypical_episodes_acute_lt_1_week","met":true},{"factor":"at_least_three_episodes_prior_year","met":true},{"factor":"at_least_two_episodes_past_6_months","met":true},{"factor":"episodes_at_least_1_week_apart","met":true},{"factor":"absence_of_vomiting_between_episodes","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"migraine_history","met":true}],"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":"rome_iv_cvs","formula_expression":"rome_iv_cvs iff stereotypical_episodes_acute_lt_1_week and at_least_three_episodes_prior_year and at_least_two_episodes_past_6_months and episodes_at_least_1_week_apart and absence_of_vomiting_between_episodes and fulfilled_last_3_months and onset_at_least_6_months; migraine_history is supportive and not required (Stanghellini 2016 Rome IV adult cyclic vomiting syndrome B3b)","migraine_history":true,"rome_iv_cvs":true}],"path":"/api/calc/rome_iv_cvs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"absence_of_vomiting_between_episodes":{"description":"Absence of vomiting between episodes; milder symptoms between cycles are allowed (Stanghellini 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"at_least_three_episodes_prior_year":{"description":"At least 3 discrete vomiting episodes in the prior year, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"at_least_two_episodes_past_6_months":{"description":"At least 2 discrete vomiting episodes in the past 6 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"episodes_at_least_1_week_apart":{"description":"Discrete vomiting episodes occurring at least 1 week apart, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"migraine_history":{"description":"Personal history of migraine or family history of migraine, a supportive criterion that is not required for rome_iv_cvs (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"stereotypical_episodes_acute_lt_1_week":{"description":"Stereotypical episodes of vomiting regarding onset (acute) and duration (<1 week) (Stanghellini 2016 Rome IV adult B3b). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["stereotypical_episodes_acute_lt_1_week","at_least_three_episodes_prior_year","at_least_two_episodes_past_6_months","episodes_at_least_1_week_apart","absence_of_vomiting_between_episodes","fulfilled_last_3_months","onset_at_least_6_months","migraine_history"],"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":["rome-iv-cvs","cvs","gi","cyclic-vomiting","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:17:01.658Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:17:01.439Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"absence_of_vomiting_between_episodes":true,"at_least_three_episodes_prior_year":true,"at_least_two_episodes_past_6_months":true,"episodes_at_least_1_week_apart":true,"fulfilled_last_3_months":true,"migraine_history":true,"onset_at_least_6_months":true,"stereotypical_episodes_acute_lt_1_week":true},{"absence_of_vomiting_between_episodes":true,"at_least_three_episodes_prior_year":true,"at_least_two_episodes_past_6_months":true,"episodes_at_least_1_week_apart":true,"fulfilled_last_3_months":true,"migraine_history":true,"onset_at_least_6_months":true,"stereotypical_episodes_acute_lt_1_week":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"stereotypical_episodes_acute_lt_1_week","met":true},{"factor":"at_least_three_episodes_prior_year","met":true},{"factor":"at_least_two_episodes_past_6_months","met":true},{"factor":"episodes_at_least_1_week_apart","met":true},{"factor":"absence_of_vomiting_between_episodes","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"migraine_history","met":true}],"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":"rome_iv_cvs","formula_expression":"rome_iv_cvs iff stereotypical_episodes_acute_lt_1_week and at_least_three_episodes_prior_year and at_least_two_episodes_past_6_months and episodes_at_least_1_week_apart and absence_of_vomiting_between_episodes and fulfilled_last_3_months and onset_at_least_6_months; migraine_history is supportive and not required (Stanghellini 2016 Rome IV adult cyclic vomiting syndrome B3b)","migraine_history":true,"rome_iv_cvs":true},{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"stereotypical_episodes_acute_lt_1_week","met":true},{"factor":"at_least_three_episodes_prior_year","met":true},{"factor":"at_least_two_episodes_past_6_months","met":true},{"factor":"episodes_at_least_1_week_apart","met":true},{"factor":"absence_of_vomiting_between_episodes","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"migraine_history","met":true}],"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":"rome_iv_cvs","formula_expression":"rome_iv_cvs iff stereotypical_episodes_acute_lt_1_week and at_least_three_episodes_prior_year and at_least_two_episodes_past_6_months and episodes_at_least_1_week_apart and absence_of_vomiting_between_episodes and fulfilled_last_3_months and onset_at_least_6_months; migraine_history is supportive and not required (Stanghellini 2016 Rome IV adult cyclic vomiting syndrome B3b)","migraine_history":true,"rome_iv_cvs":true}],"path":"/api/calc/rome_iv_cvs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"absence_of_vomiting_between_episodes":{"description":"Absence of vomiting between episodes; milder symptoms between cycles are allowed (Stanghellini 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"at_least_three_episodes_prior_year":{"description":"At least 3 discrete vomiting episodes in the prior year, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"at_least_two_episodes_past_6_months":{"description":"At least 2 discrete vomiting episodes in the past 6 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"episodes_at_least_1_week_apart":{"description":"Discrete vomiting episodes occurring at least 1 week apart, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"migraine_history":{"description":"Personal history of migraine or family history of migraine, a supportive criterion that is not required for rome_iv_cvs (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"stereotypical_episodes_acute_lt_1_week":{"description":"Stereotypical episodes of vomiting regarding onset (acute) and duration (<1 week) (Stanghellini 2016 Rome IV adult B3b). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["stereotypical_episodes_acute_lt_1_week","at_least_three_episodes_prior_year","at_least_two_episodes_past_6_months","episodes_at_least_1_week_apart","absence_of_vomiting_between_episodes","fulfilled_last_3_months","onset_at_least_6_months","migraine_history"],"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},{"id":38844,"slug":"38844","resource":"https://api.magentlab.com/api/calc/rome_iv_cnvs","description":"Stanghellini 2016 Rome IV chronic nausea vomiting syndrome (CNVS, B3a). rome_iv_cnvs is true iff bothersome nausea at least 1 day per week and/or one or more vomiting episodes per week as one flag, self-induced vomiting eating disorders regurgitation and rumination excluded, no organic systemic or metabolic explanation including at upper endoscopy, last-3-months criteria, and 6-month onset. magent does not take a history or read endoscopy. Not a diagnosis, not CVS, not CHS, not rumination.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bothersome_nausea_or_vomiting_weekly":true,"fulfilled_last_3_months":true,"no_organic_systemic_metabolic_explanation":true,"onset_at_least_6_months":true,"self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded":true},{"bothersome_nausea_or_vomiting_weekly":true,"fulfilled_last_3_months":true,"no_organic_systemic_metabolic_explanation":true,"onset_at_least_6_months":true,"self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"bothersome_nausea_or_vomiting_weekly","met":true},{"factor":"self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded","met":true},{"factor":"no_organic_systemic_metabolic_explanation","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_cnvs","formula_expression":"rome_iv_cnvs iff bothersome_nausea_or_vomiting_weekly and self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded and no_organic_systemic_metabolic_explanation and fulfilled_last_3_months and onset_at_least_6_months (Stanghellini 2016 Rome IV chronic nausea vomiting syndrome)","rome_iv_cnvs":true},{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"bothersome_nausea_or_vomiting_weekly","met":true},{"factor":"self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded","met":true},{"factor":"no_organic_systemic_metabolic_explanation","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_cnvs","formula_expression":"rome_iv_cnvs iff bothersome_nausea_or_vomiting_weekly and self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded and no_organic_systemic_metabolic_explanation and fulfilled_last_3_months and onset_at_least_6_months (Stanghellini 2016 Rome IV chronic nausea vomiting syndrome)","rome_iv_cnvs":true}],"path":"/api/calc/rome_iv_cnvs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bothersome_nausea_or_vomiting_weekly":{"description":"Bothersome (severe enough to impact usual activities) nausea at least 1 day per week and/or one or more vomiting episodes per week (Stanghellini 2016 Rome IV CNVS B3a). One caller flag covering nausea and/or vomiting. true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_organic_systemic_metabolic_explanation":{"description":"No evidence of organic, systemic, or metabolic disease likely to explain the symptoms on routine investigations including at upper endoscopy, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not read endoscopy.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded":{"description":"Self-induced vomiting, eating disorders, regurgitation, and rumination have been excluded (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["bothersome_nausea_or_vomiting_weekly","self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded","no_organic_systemic_metabolic_explanation","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-cnvs","cnvs","gi","gastroduodenal","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:12:20.321Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:12:20.179Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bothersome_nausea_or_vomiting_weekly":true,"fulfilled_last_3_months":true,"no_organic_systemic_metabolic_explanation":true,"onset_at_least_6_months":true,"self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded":true},{"bothersome_nausea_or_vomiting_weekly":true,"fulfilled_last_3_months":true,"no_organic_systemic_metabolic_explanation":true,"onset_at_least_6_months":true,"self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"bothersome_nausea_or_vomiting_weekly","met":true},{"factor":"self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded","met":true},{"factor":"no_organic_systemic_metabolic_explanation","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_cnvs","formula_expression":"rome_iv_cnvs iff bothersome_nausea_or_vomiting_weekly and self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded and no_organic_systemic_metabolic_explanation and fulfilled_last_3_months and onset_at_least_6_months (Stanghellini 2016 Rome IV chronic nausea vomiting syndrome)","rome_iv_cnvs":true},{"citation":{"authors":"Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ","doi":"10.1053/j.gastro.2016.02.011","id":"stanghellini-2016","pmid":"27147122","source":"Gastroenterology. 2016;150(6):1380-1392","title":"Gastroduodenal Disorders"},"criteria":[{"factor":"bothersome_nausea_or_vomiting_weekly","met":true},{"factor":"self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded","met":true},{"factor":"no_organic_systemic_metabolic_explanation","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_cnvs","formula_expression":"rome_iv_cnvs iff bothersome_nausea_or_vomiting_weekly and self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded and no_organic_systemic_metabolic_explanation and fulfilled_last_3_months and onset_at_least_6_months (Stanghellini 2016 Rome IV chronic nausea vomiting syndrome)","rome_iv_cnvs":true}],"path":"/api/calc/rome_iv_cnvs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bothersome_nausea_or_vomiting_weekly":{"description":"Bothersome (severe enough to impact usual activities) nausea at least 1 day per week and/or one or more vomiting episodes per week (Stanghellini 2016 Rome IV CNVS B3a). One caller flag covering nausea and/or vomiting. true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_organic_systemic_metabolic_explanation":{"description":"No evidence of organic, systemic, or metabolic disease likely to explain the symptoms on routine investigations including at upper endoscopy, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not read endoscopy.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded":{"description":"Self-induced vomiting, eating disorders, regurgitation, and rumination have been excluded (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["bothersome_nausea_or_vomiting_weekly","self_induced_vomiting_eating_disorders_regurgitation_rumination_excluded","no_organic_systemic_metabolic_explanation","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":38845,"slug":"38845","resource":"https://api.magentlab.com/api/calc/rome_iv_child_fecal_incontinence","description":"Hyams 2016 Rome IV H3b. rome_iv_child_fecal_incontinence is true iff developmental_age_older_than_4_years, duration_at_least_1_month, defecation_into_places_inappropriate_to_sociocultural_context, no_evidence_of_fecal_retention, and not_explained_by_another_condition. Item 2 is exclusion of fecal retention, not a symptom count. Duration is 1 month. Caller assigns five flags. magent does not examine the child. Not a diagnosis, not H3a functional constipation, not adult Rao 2016 F1.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"defecation_into_places_inappropriate_to_sociocultural_context":true,"developmental_age_older_than_4_years":true,"duration_at_least_1_month":true,"no_evidence_of_fecal_retention":true,"not_explained_by_another_condition":true},{"defecation_into_places_inappropriate_to_sociocultural_context":true,"developmental_age_older_than_4_years":true,"duration_at_least_1_month":true,"no_evidence_of_fecal_retention":true,"not_explained_by_another_condition":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"developmental_age_older_than_4_years","met":true},{"factor":"duration_at_least_1_month","met":true},{"factor":"defecation_into_places_inappropriate_to_sociocultural_context","met":true},{"factor":"no_evidence_of_fecal_retention","met":true},{"factor":"not_explained_by_another_condition","met":true}],"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":"rome_iv_child_fecal_incontinence","formula_expression":"rome_iv_child_fecal_incontinence iff developmental_age_older_than_4_years and duration_at_least_1_month and defecation_into_places_inappropriate_to_sociocultural_context and no_evidence_of_fecal_retention and not_explained_by_another_condition (Hyams 2016 Rome IV H3b Nonretentive Fecal Incontinence)","rome_iv_child_fecal_incontinence":true},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"developmental_age_older_than_4_years","met":true},{"factor":"duration_at_least_1_month","met":true},{"factor":"defecation_into_places_inappropriate_to_sociocultural_context","met":true},{"factor":"no_evidence_of_fecal_retention","met":true},{"factor":"not_explained_by_another_condition","met":true}],"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":"rome_iv_child_fecal_incontinence","formula_expression":"rome_iv_child_fecal_incontinence iff developmental_age_older_than_4_years and duration_at_least_1_month and defecation_into_places_inappropriate_to_sociocultural_context and no_evidence_of_fecal_retention and not_explained_by_another_condition (Hyams 2016 Rome IV H3b Nonretentive Fecal Incontinence)","rome_iv_child_fecal_incontinence":true}],"path":"/api/calc/rome_iv_child_fecal_incontinence"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"defecation_into_places_inappropriate_to_sociocultural_context":{"description":"Defecation into places inappropriate to the sociocultural context, as assigned (Hyams 2016 Rome IV H3b item 1). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"developmental_age_older_than_4_years":{"description":"Developmental age older than 4 years, as assigned (Hyams 2016 Rome IV H3b). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"duration_at_least_1_month":{"description":"At least a 1-month history (Rome IV shortened from 2 months), as assigned (Hyams 2016 Rome IV H3b). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"no_evidence_of_fecal_retention":{"description":"No evidence of fecal retention, as assigned (Hyams 2016 Rome IV H3b item 2; exclusion of retention, not a symptom count). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate medical evaluation, the fecal incontinence cannot be explained by another medical condition, as assigned (Hyams 2016 Rome IV H3b item 3). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["developmental_age_older_than_4_years","duration_at_least_1_month","defecation_into_places_inappropriate_to_sociocultural_context","no_evidence_of_fecal_retention","not_explained_by_another_condition"],"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":["rome-iv-child-fecal-incontinence","nonretentive-fi","gi","rome-iv","h3b","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:07:17.394Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:07:17.26Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"defecation_into_places_inappropriate_to_sociocultural_context":true,"developmental_age_older_than_4_years":true,"duration_at_least_1_month":true,"no_evidence_of_fecal_retention":true,"not_explained_by_another_condition":true},{"defecation_into_places_inappropriate_to_sociocultural_context":true,"developmental_age_older_than_4_years":true,"duration_at_least_1_month":true,"no_evidence_of_fecal_retention":true,"not_explained_by_another_condition":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"developmental_age_older_than_4_years","met":true},{"factor":"duration_at_least_1_month","met":true},{"factor":"defecation_into_places_inappropriate_to_sociocultural_context","met":true},{"factor":"no_evidence_of_fecal_retention","met":true},{"factor":"not_explained_by_another_condition","met":true}],"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":"rome_iv_child_fecal_incontinence","formula_expression":"rome_iv_child_fecal_incontinence iff developmental_age_older_than_4_years and duration_at_least_1_month and defecation_into_places_inappropriate_to_sociocultural_context and no_evidence_of_fecal_retention and not_explained_by_another_condition (Hyams 2016 Rome IV H3b Nonretentive Fecal Incontinence)","rome_iv_child_fecal_incontinence":true},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"developmental_age_older_than_4_years","met":true},{"factor":"duration_at_least_1_month","met":true},{"factor":"defecation_into_places_inappropriate_to_sociocultural_context","met":true},{"factor":"no_evidence_of_fecal_retention","met":true},{"factor":"not_explained_by_another_condition","met":true}],"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":"rome_iv_child_fecal_incontinence","formula_expression":"rome_iv_child_fecal_incontinence iff developmental_age_older_than_4_years and duration_at_least_1_month and defecation_into_places_inappropriate_to_sociocultural_context and no_evidence_of_fecal_retention and not_explained_by_another_condition (Hyams 2016 Rome IV H3b Nonretentive Fecal Incontinence)","rome_iv_child_fecal_incontinence":true}],"path":"/api/calc/rome_iv_child_fecal_incontinence"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"defecation_into_places_inappropriate_to_sociocultural_context":{"description":"Defecation into places inappropriate to the sociocultural context, as assigned (Hyams 2016 Rome IV H3b item 1). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"developmental_age_older_than_4_years":{"description":"Developmental age older than 4 years, as assigned (Hyams 2016 Rome IV H3b). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"duration_at_least_1_month":{"description":"At least a 1-month history (Rome IV shortened from 2 months), as assigned (Hyams 2016 Rome IV H3b). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"no_evidence_of_fecal_retention":{"description":"No evidence of fecal retention, as assigned (Hyams 2016 Rome IV H3b item 2; exclusion of retention, not a symptom count). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate medical evaluation, the fecal incontinence cannot be explained by another medical condition, as assigned (Hyams 2016 Rome IV H3b item 3). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["developmental_age_older_than_4_years","duration_at_least_1_month","defecation_into_places_inappropriate_to_sociocultural_context","no_evidence_of_fecal_retention","not_explained_by_another_condition"],"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},{"id":38846,"slug":"38846","resource":"https://api.magentlab.com/api/calc/rome_iv_child_fap_nos","description":"Hyams 2016 Rome IV H2d child FAP-NOS. rome_iv_child_fap_nos is true iff episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events, pain_at_least_4_times_per_month, insufficient_criteria_for_ibs_fd_or_abdominal_migraine, not_explained_by_another_condition, and fulfilled_at_least_2_months. Caller assigns five flags including the IBS/FD/abdominal-migraine residual. magent does not re-run those tools. Not a diagnosis, not adult CAPS, not FAPS (dropped in Rome IV).","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events":true,"fulfilled_at_least_2_months":true,"insufficient_criteria_for_ibs_fd_or_abdominal_migraine":true,"not_explained_by_another_condition":true,"pain_at_least_4_times_per_month":true},{"episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events":true,"fulfilled_at_least_2_months":true,"insufficient_criteria_for_ibs_fd_or_abdominal_migraine":true,"not_explained_by_another_condition":true,"pain_at_least_4_times_per_month":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events","met":true},{"factor":"pain_at_least_4_times_per_month","met":true},{"factor":"insufficient_criteria_for_ibs_fd_or_abdominal_migraine","met":true},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true}],"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":"rome_iv_child_fap_nos","formula_expression":"rome_iv_child_fap_nos iff episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events and pain_at_least_4_times_per_month and insufficient_criteria_for_ibs_fd_or_abdominal_migraine and not_explained_by_another_condition and fulfilled_at_least_2_months (Hyams 2016 Rome IV H2d Functional Abdominal Pain NOS)","rome_iv_child_fap_nos":true},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events","met":true},{"factor":"pain_at_least_4_times_per_month","met":true},{"factor":"insufficient_criteria_for_ibs_fd_or_abdominal_migraine","met":true},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true}],"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":"rome_iv_child_fap_nos","formula_expression":"rome_iv_child_fap_nos iff episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events and pain_at_least_4_times_per_month and insufficient_criteria_for_ibs_fd_or_abdominal_migraine and not_explained_by_another_condition and fulfilled_at_least_2_months (Hyams 2016 Rome IV H2d Functional Abdominal Pain NOS)","rome_iv_child_fap_nos":true}],"path":"/api/calc/rome_iv_child_fap_nos"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events":{"description":"Episodic or continuous abdominal pain that does not occur solely during physiologic events (eating, menses), as assigned (Hyams 2016 Rome IV H2d). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fulfilled_at_least_2_months":{"description":"Criteria fulfilled for at least 2 months, as assigned (Hyams 2016 Rome IV H2d). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"insufficient_criteria_for_ibs_fd_or_abdominal_migraine":{"description":"Insufficient criteria for IBS, functional dyspepsia, or abdominal migraine, as assigned (Hyams 2016 Rome IV H2d). Residual flag: magent does not re-run those tools. true or false as assigned by the caller.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate evaluation, the abdominal pain cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H2d). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pain_at_least_4_times_per_month":{"description":"Abdominal pain at least 4 times per month, as assigned (Hyams 2016 Rome IV H2d). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events","pain_at_least_4_times_per_month","insufficient_criteria_for_ibs_fd_or_abdominal_migraine","not_explained_by_another_condition","fulfilled_at_least_2_months"],"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":["rome-iv-child-fap-nos","child-fap-nos","gi","rome-iv","h2d","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:07:16.279Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:07:16.168Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events":true,"fulfilled_at_least_2_months":true,"insufficient_criteria_for_ibs_fd_or_abdominal_migraine":true,"not_explained_by_another_condition":true,"pain_at_least_4_times_per_month":true},{"episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events":true,"fulfilled_at_least_2_months":true,"insufficient_criteria_for_ibs_fd_or_abdominal_migraine":true,"not_explained_by_another_condition":true,"pain_at_least_4_times_per_month":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events","met":true},{"factor":"pain_at_least_4_times_per_month","met":true},{"factor":"insufficient_criteria_for_ibs_fd_or_abdominal_migraine","met":true},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true}],"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":"rome_iv_child_fap_nos","formula_expression":"rome_iv_child_fap_nos iff episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events and pain_at_least_4_times_per_month and insufficient_criteria_for_ibs_fd_or_abdominal_migraine and not_explained_by_another_condition and fulfilled_at_least_2_months (Hyams 2016 Rome IV H2d Functional Abdominal Pain NOS)","rome_iv_child_fap_nos":true},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events","met":true},{"factor":"pain_at_least_4_times_per_month","met":true},{"factor":"insufficient_criteria_for_ibs_fd_or_abdominal_migraine","met":true},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true}],"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":"rome_iv_child_fap_nos","formula_expression":"rome_iv_child_fap_nos iff episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events and pain_at_least_4_times_per_month and insufficient_criteria_for_ibs_fd_or_abdominal_migraine and not_explained_by_another_condition and fulfilled_at_least_2_months (Hyams 2016 Rome IV H2d Functional Abdominal Pain NOS)","rome_iv_child_fap_nos":true}],"path":"/api/calc/rome_iv_child_fap_nos"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events":{"description":"Episodic or continuous abdominal pain that does not occur solely during physiologic events (eating, menses), as assigned (Hyams 2016 Rome IV H2d). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fulfilled_at_least_2_months":{"description":"Criteria fulfilled for at least 2 months, as assigned (Hyams 2016 Rome IV H2d). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"insufficient_criteria_for_ibs_fd_or_abdominal_migraine":{"description":"Insufficient criteria for IBS, functional dyspepsia, or abdominal migraine, as assigned (Hyams 2016 Rome IV H2d). Residual flag: magent does not re-run those tools. true or false as assigned by the caller.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate evaluation, the abdominal pain cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H2d). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pain_at_least_4_times_per_month":{"description":"Abdominal pain at least 4 times per month, as assigned (Hyams 2016 Rome IV H2d). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["episodic_or_continuous_abdominal_pain_not_solely_during_physiologic_events","pain_at_least_4_times_per_month","insufficient_criteria_for_ibs_fd_or_abdominal_migraine","not_explained_by_another_condition","fulfilled_at_least_2_months"],"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},{"id":38847,"slug":"38847","resource":"https://api.magentlab.com/api/calc/rome_iv_child_dyspepsia","description":"Hyams 2016 Rome IV H2a. True iff bothersome ≥4 days/month, symptoms_met ≥1 of 3 (postprandial fullness, early satiation, epigastric pain or burning not associated with defecation), exclusion, and 2-month duration. Item 4 is the exclusion, not a fourth symptom. PDS and EPS supportive features are copy-only. Caller assigns six flags. magent does not examine the child or parse EGD. Not a diagnosis. Not adult Rome IV FD.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bothersome_at_least_4_days_per_month":true,"early_satiation":false,"epigastric_pain_or_burning_not_associated_with_defecation":false,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition":true,"postprandial_fullness":true},{"bothersome_at_least_4_days_per_month":true,"early_satiation":false,"epigastric_pain_or_burning_not_associated_with_defecation":false,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition":true,"postprandial_fullness":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"bothersome_at_least_4_days_per_month","met":true},{"factor":"postprandial_fullness","met":true},{"factor":"early_satiation","met":false},{"factor":"epigastric_pain_or_burning_not_associated_with_defecation","met":false},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true},{"factor":"symptoms_met_ge_1","met":true,"value":1}],"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":"rome_iv_child_dyspepsia","formula_expression":"rome_iv_child_dyspepsia iff bothersome_at_least_4_days_per_month and symptoms_met >= 1 and not_explained_by_another_condition and fulfilled_at_least_2_months; symptoms_met counts postprandial_fullness, early_satiation, and epigastric_pain_or_burning_not_associated_with_defecation; H2a item 4 is the exclusion not_explained_by_another_condition, not a fourth symptom; PDS and EPS subtype supportive features are copy-only and are not parsed (Hyams 2016 Rome IV H2a Functional Dyspepsia)","rome_iv_child_dyspepsia":true,"symptoms_met":1},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"bothersome_at_least_4_days_per_month","met":true},{"factor":"postprandial_fullness","met":true},{"factor":"early_satiation","met":false},{"factor":"epigastric_pain_or_burning_not_associated_with_defecation","met":false},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true},{"factor":"symptoms_met_ge_1","met":true,"value":1}],"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":"rome_iv_child_dyspepsia","formula_expression":"rome_iv_child_dyspepsia iff bothersome_at_least_4_days_per_month and symptoms_met >= 1 and not_explained_by_another_condition and fulfilled_at_least_2_months; symptoms_met counts postprandial_fullness, early_satiation, and epigastric_pain_or_burning_not_associated_with_defecation; H2a item 4 is the exclusion not_explained_by_another_condition, not a fourth symptom; PDS and EPS subtype supportive features are copy-only and are not parsed (Hyams 2016 Rome IV H2a Functional Dyspepsia)","rome_iv_child_dyspepsia":true,"symptoms_met":1}],"path":"/api/calc/rome_iv_child_dyspepsia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bothersome_at_least_4_days_per_month":{"description":"Bothersome symptoms at least 4 days per month, as assigned (Hyams 2016 Rome IV H2a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"early_satiation":{"description":"Early satiation (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"epigastric_pain_or_burning_not_associated_with_defecation":{"description":"Epigastric pain or burning not associated with defecation (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"fulfilled_at_least_2_months":{"description":"Criteria fulfilled for at least 2 months prior to diagnosis, as assigned (Hyams 2016 Rome IV H2a). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H2a item 4, the exclusion, not a fourth symptom). true or false as assigned by the caller. magent does not examine the child or parse EGD.","type":"boolean"},"postprandial_fullness":{"description":"Postprandial fullness (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["bothersome_at_least_4_days_per_month","postprandial_fullness","early_satiation","epigastric_pain_or_burning_not_associated_with_defecation","not_explained_by_another_condition","fulfilled_at_least_2_months"],"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":["rome-iv-child-dyspepsia","child-dyspepsia","gi","rome-iv","h2a","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:07:15.511Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:07:15.354Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bothersome_at_least_4_days_per_month":true,"early_satiation":false,"epigastric_pain_or_burning_not_associated_with_defecation":false,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition":true,"postprandial_fullness":true},{"bothersome_at_least_4_days_per_month":true,"early_satiation":false,"epigastric_pain_or_burning_not_associated_with_defecation":false,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition":true,"postprandial_fullness":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"bothersome_at_least_4_days_per_month","met":true},{"factor":"postprandial_fullness","met":true},{"factor":"early_satiation","met":false},{"factor":"epigastric_pain_or_burning_not_associated_with_defecation","met":false},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true},{"factor":"symptoms_met_ge_1","met":true,"value":1}],"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":"rome_iv_child_dyspepsia","formula_expression":"rome_iv_child_dyspepsia iff bothersome_at_least_4_days_per_month and symptoms_met >= 1 and not_explained_by_another_condition and fulfilled_at_least_2_months; symptoms_met counts postprandial_fullness, early_satiation, and epigastric_pain_or_burning_not_associated_with_defecation; H2a item 4 is the exclusion not_explained_by_another_condition, not a fourth symptom; PDS and EPS subtype supportive features are copy-only and are not parsed (Hyams 2016 Rome IV H2a Functional Dyspepsia)","rome_iv_child_dyspepsia":true,"symptoms_met":1},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"bothersome_at_least_4_days_per_month","met":true},{"factor":"postprandial_fullness","met":true},{"factor":"early_satiation","met":false},{"factor":"epigastric_pain_or_burning_not_associated_with_defecation","met":false},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true},{"factor":"symptoms_met_ge_1","met":true,"value":1}],"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":"rome_iv_child_dyspepsia","formula_expression":"rome_iv_child_dyspepsia iff bothersome_at_least_4_days_per_month and symptoms_met >= 1 and not_explained_by_another_condition and fulfilled_at_least_2_months; symptoms_met counts postprandial_fullness, early_satiation, and epigastric_pain_or_burning_not_associated_with_defecation; H2a item 4 is the exclusion not_explained_by_another_condition, not a fourth symptom; PDS and EPS subtype supportive features are copy-only and are not parsed (Hyams 2016 Rome IV H2a Functional Dyspepsia)","rome_iv_child_dyspepsia":true,"symptoms_met":1}],"path":"/api/calc/rome_iv_child_dyspepsia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bothersome_at_least_4_days_per_month":{"description":"Bothersome symptoms at least 4 days per month, as assigned (Hyams 2016 Rome IV H2a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"early_satiation":{"description":"Early satiation (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"epigastric_pain_or_burning_not_associated_with_defecation":{"description":"Epigastric pain or burning not associated with defecation (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"fulfilled_at_least_2_months":{"description":"Criteria fulfilled for at least 2 months prior to diagnosis, as assigned (Hyams 2016 Rome IV H2a). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H2a item 4, the exclusion, not a fourth symptom). true or false as assigned by the caller. magent does not examine the child or parse EGD.","type":"boolean"},"postprandial_fullness":{"description":"Postprandial fullness (one of three H2a symptoms; at least one required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["bothersome_at_least_4_days_per_month","postprandial_fullness","early_satiation","epigastric_pain_or_burning_not_associated_with_defecation","not_explained_by_another_condition","fulfilled_at_least_2_months"],"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},{"id":38848,"slug":"38848","resource":"https://api.magentlab.com/api/calc/rome_iv_child_cvs","description":"Hyams 2016 Rome IV H1a child/adolescent cyclic vomiting. rome_iv_child_cvs is true iff two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months, episodes_stereotypical, episodes_separated_weeks_to_months_with_return_to_baseline, and not_attributed_to_another_condition. Caller assigns four flags. magent does not examine the child. Not a diagnosis, not neonate/toddler G3, not adult Rome IV CVS, not cannabinoid hyperemesis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"episodes_separated_weeks_to_months_with_return_to_baseline":true,"episodes_stereotypical":true,"not_attributed_to_another_condition":true,"two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months":true},{"episodes_separated_weeks_to_months_with_return_to_baseline":true,"episodes_stereotypical":true,"not_attributed_to_another_condition":true,"two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months","met":true},{"factor":"episodes_stereotypical","met":true},{"factor":"episodes_separated_weeks_to_months_with_return_to_baseline","met":true},{"factor":"not_attributed_to_another_condition","met":true}],"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":"rome_iv_child_cvs","formula_expression":"rome_iv_child_cvs iff two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months and episodes_stereotypical and episodes_separated_weeks_to_months_with_return_to_baseline and not_attributed_to_another_condition (Hyams 2016 Rome IV H1a Cyclic Vomiting Syndrome)","rome_iv_child_cvs":true},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months","met":true},{"factor":"episodes_stereotypical","met":true},{"factor":"episodes_separated_weeks_to_months_with_return_to_baseline","met":true},{"factor":"not_attributed_to_another_condition","met":true}],"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":"rome_iv_child_cvs","formula_expression":"rome_iv_child_cvs iff two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months and episodes_stereotypical and episodes_separated_weeks_to_months_with_return_to_baseline and not_attributed_to_another_condition (Hyams 2016 Rome IV H1a Cyclic Vomiting Syndrome)","rome_iv_child_cvs":true}],"path":"/api/calc/rome_iv_child_cvs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"episodes_separated_weeks_to_months_with_return_to_baseline":{"description":"Episodes are separated by weeks to months with return to baseline health between episodes, as assigned (Hyams 2016 Rome IV H1a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"episodes_stereotypical":{"description":"Episodes are stereotypical in each patient, as assigned (Hyams 2016 Rome IV H1a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"not_attributed_to_another_condition":{"description":"After appropriate medical evaluation, the symptoms cannot be attributed to another condition, as assigned (Hyams 2016 Rome IV H1a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months":{"description":"Two or more periods of intense, unremitting nausea and paroxysmal vomiting lasting hours to days within a 6-month period, as assigned (Hyams 2016 Rome IV H1a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months","episodes_stereotypical","episodes_separated_weeks_to_months_with_return_to_baseline","not_attributed_to_another_condition"],"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":["rome-iv-child-cvs","child-cvs","gi","cyclic-vomiting","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:02:24.561Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T13:02:24.445Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"episodes_separated_weeks_to_months_with_return_to_baseline":true,"episodes_stereotypical":true,"not_attributed_to_another_condition":true,"two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months":true},{"episodes_separated_weeks_to_months_with_return_to_baseline":true,"episodes_stereotypical":true,"not_attributed_to_another_condition":true,"two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months","met":true},{"factor":"episodes_stereotypical","met":true},{"factor":"episodes_separated_weeks_to_months_with_return_to_baseline","met":true},{"factor":"not_attributed_to_another_condition","met":true}],"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":"rome_iv_child_cvs","formula_expression":"rome_iv_child_cvs iff two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months and episodes_stereotypical and episodes_separated_weeks_to_months_with_return_to_baseline and not_attributed_to_another_condition (Hyams 2016 Rome IV H1a Cyclic Vomiting Syndrome)","rome_iv_child_cvs":true},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months","met":true},{"factor":"episodes_stereotypical","met":true},{"factor":"episodes_separated_weeks_to_months_with_return_to_baseline","met":true},{"factor":"not_attributed_to_another_condition","met":true}],"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":"rome_iv_child_cvs","formula_expression":"rome_iv_child_cvs iff two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months and episodes_stereotypical and episodes_separated_weeks_to_months_with_return_to_baseline and not_attributed_to_another_condition (Hyams 2016 Rome IV H1a Cyclic Vomiting Syndrome)","rome_iv_child_cvs":true}],"path":"/api/calc/rome_iv_child_cvs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"episodes_separated_weeks_to_months_with_return_to_baseline":{"description":"Episodes are separated by weeks to months with return to baseline health between episodes, as assigned (Hyams 2016 Rome IV H1a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"episodes_stereotypical":{"description":"Episodes are stereotypical in each patient, as assigned (Hyams 2016 Rome IV H1a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"not_attributed_to_another_condition":{"description":"After appropriate medical evaluation, the symptoms cannot be attributed to another condition, as assigned (Hyams 2016 Rome IV H1a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months":{"description":"Two or more periods of intense, unremitting nausea and paroxysmal vomiting lasting hours to days within a 6-month period, as assigned (Hyams 2016 Rome IV H1a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["two_or_more_periods_intense_nausea_paroxysmal_vomiting_hours_to_days_within_6_months","episodes_stereotypical","episodes_separated_weeks_to_months_with_return_to_baseline","not_attributed_to_another_condition"],"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},{"id":38849,"slug":"38849","resource":"https://api.magentlab.com/api/calc/rome_iv_chest_pain","description":"Aziz 2016 Rome IV functional chest pain. rome_iv_chest_pain is true iff retrosternal chest pain or discomfort, no associated heartburn or dysphagia, not explained by GERD or eosinophilic esophagitis, no major esophageal motor disorder, last-3-months criteria, and 6-month onset. Caller assigns six flags, including cardiac rule-out. magent does not examine the patient, rule out ACS, or read manometry. Not a diagnosis, not functional heartburn, not reflux hypersensitivity, not globus.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fulfilled_last_3_months":true,"no_associated_heartburn_or_dysphagia":true,"no_major_esophageal_motor_disorder":true,"not_explained_by_gerd_or_eoe":true,"onset_at_least_6_months":true,"retrosternal_chest_pain_or_discomfort":true},{"fulfilled_last_3_months":true,"no_associated_heartburn_or_dysphagia":true,"no_major_esophageal_motor_disorder":true,"not_explained_by_gerd_or_eoe":true,"onset_at_least_6_months":true,"retrosternal_chest_pain_or_discomfort":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"retrosternal_chest_pain_or_discomfort","met":true},{"factor":"no_associated_heartburn_or_dysphagia","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_chest_pain","formula_expression":"rome_iv_chest_pain iff retrosternal_chest_pain_or_discomfort and no_associated_heartburn_or_dysphagia and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional chest pain)","rome_iv_chest_pain":true},{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"retrosternal_chest_pain_or_discomfort","met":true},{"factor":"no_associated_heartburn_or_dysphagia","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_chest_pain","formula_expression":"rome_iv_chest_pain iff retrosternal_chest_pain_or_discomfort and no_associated_heartburn_or_dysphagia and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional chest pain)","rome_iv_chest_pain":true}],"path":"/api/calc/rome_iv_chest_pain"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_associated_heartburn_or_dysphagia":{"description":"Absence of associated esophageal symptoms such as heartburn and dysphagia, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"no_major_esophageal_motor_disorder":{"description":"Absence of a major esophageal motor disorder, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read manometry.","type":"boolean"},"not_explained_by_gerd_or_eoe":{"description":"Symptoms not explained by GERD or eosinophilic esophagitis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"retrosternal_chest_pain_or_discomfort":{"description":"Retrosternal chest pain or discomfort; cardiac causes ruled out by the caller (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient or rule out ACS.","type":"boolean"}},"required":["retrosternal_chest_pain_or_discomfort","no_associated_heartburn_or_dysphagia","not_explained_by_gerd_or_eoe","no_major_esophageal_motor_disorder","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-chest-pain","functional-chest-pain","gi","esophageal","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:56:55.907Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:56:55.772Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fulfilled_last_3_months":true,"no_associated_heartburn_or_dysphagia":true,"no_major_esophageal_motor_disorder":true,"not_explained_by_gerd_or_eoe":true,"onset_at_least_6_months":true,"retrosternal_chest_pain_or_discomfort":true},{"fulfilled_last_3_months":true,"no_associated_heartburn_or_dysphagia":true,"no_major_esophageal_motor_disorder":true,"not_explained_by_gerd_or_eoe":true,"onset_at_least_6_months":true,"retrosternal_chest_pain_or_discomfort":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"retrosternal_chest_pain_or_discomfort","met":true},{"factor":"no_associated_heartburn_or_dysphagia","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_chest_pain","formula_expression":"rome_iv_chest_pain iff retrosternal_chest_pain_or_discomfort and no_associated_heartburn_or_dysphagia and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional chest pain)","rome_iv_chest_pain":true},{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"retrosternal_chest_pain_or_discomfort","met":true},{"factor":"no_associated_heartburn_or_dysphagia","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_chest_pain","formula_expression":"rome_iv_chest_pain iff retrosternal_chest_pain_or_discomfort and no_associated_heartburn_or_dysphagia and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional chest pain)","rome_iv_chest_pain":true}],"path":"/api/calc/rome_iv_chest_pain"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_associated_heartburn_or_dysphagia":{"description":"Absence of associated esophageal symptoms such as heartburn and dysphagia, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"no_major_esophageal_motor_disorder":{"description":"Absence of a major esophageal motor disorder, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read manometry.","type":"boolean"},"not_explained_by_gerd_or_eoe":{"description":"Symptoms not explained by GERD or eosinophilic esophagitis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"retrosternal_chest_pain_or_discomfort":{"description":"Retrosternal chest pain or discomfort; cardiac causes ruled out by the caller (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient or rule out ACS.","type":"boolean"}},"required":["retrosternal_chest_pain_or_discomfort","no_associated_heartburn_or_dysphagia","not_explained_by_gerd_or_eoe","no_major_esophageal_motor_disorder","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":38850,"slug":"38850","resource":"https://api.magentlab.com/api/calc/rome_iv_caps","description":"Keefer 2016 Rome IV CAPS (formerly FAPS). rome_iv_caps is true iff continuous or nearly continuous abdominal pain, no or only occasional relationship with eating, defecation, or menses, pain limits daily functioning, pain is not feigned, not explained by another GI or medical condition, last-3-months criteria, and 6-month onset. Psychosocial comorbidity is copy-only. magent does not examine or judge feigning beyond the caller flag. Not a diagnosis, not IBS, not narcotic bowel syndrome.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"continuous_or_nearly_continuous_abdominal_pain":true,"fulfilled_last_3_months":true,"no_or_only_occasional_relationship_with_physiological_events":true,"not_explained_by_another_gi_or_medical_condition":true,"onset_at_least_6_months":true,"pain_limits_daily_functioning":true,"pain_not_feigned":true},{"continuous_or_nearly_continuous_abdominal_pain":true,"fulfilled_last_3_months":true,"no_or_only_occasional_relationship_with_physiological_events":true,"not_explained_by_another_gi_or_medical_condition":true,"onset_at_least_6_months":true,"pain_limits_daily_functioning":true,"pain_not_feigned":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Keefer L, Drossman DA, Guthrie E, Simrén M, Tillisch K, Olden K, Whorwell PJ","doi":"10.1053/j.gastro.2016.02.034","id":"keefer-2016","pmid":"27144628","source":"Gastroenterology. 2016;150(6):1408-1419","title":"Centrally Mediated Disorders of Gastrointestinal Pain"},"criteria":[{"factor":"continuous_or_nearly_continuous_abdominal_pain","met":true},{"factor":"no_or_only_occasional_relationship_with_physiological_events","met":true},{"factor":"pain_limits_daily_functioning","met":true},{"factor":"pain_not_feigned","met":true},{"factor":"not_explained_by_another_gi_or_medical_condition","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_caps","formula_expression":"rome_iv_caps iff continuous_or_nearly_continuous_abdominal_pain and no_or_only_occasional_relationship_with_physiological_events and pain_limits_daily_functioning and pain_not_feigned and not_explained_by_another_gi_or_medical_condition and fulfilled_last_3_months and onset_at_least_6_months (Keefer 2016 Rome IV CAPS / D1)","rome_iv_caps":true},{"citation":{"authors":"Keefer L, Drossman DA, Guthrie E, Simrén M, Tillisch K, Olden K, Whorwell PJ","doi":"10.1053/j.gastro.2016.02.034","id":"keefer-2016","pmid":"27144628","source":"Gastroenterology. 2016;150(6):1408-1419","title":"Centrally Mediated Disorders of Gastrointestinal Pain"},"criteria":[{"factor":"continuous_or_nearly_continuous_abdominal_pain","met":true},{"factor":"no_or_only_occasional_relationship_with_physiological_events","met":true},{"factor":"pain_limits_daily_functioning","met":true},{"factor":"pain_not_feigned","met":true},{"factor":"not_explained_by_another_gi_or_medical_condition","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_caps","formula_expression":"rome_iv_caps iff continuous_or_nearly_continuous_abdominal_pain and no_or_only_occasional_relationship_with_physiological_events and pain_limits_daily_functioning and pain_not_feigned and not_explained_by_another_gi_or_medical_condition and fulfilled_last_3_months and onset_at_least_6_months (Keefer 2016 Rome IV CAPS / D1)","rome_iv_caps":true}],"path":"/api/calc/rome_iv_caps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"continuous_or_nearly_continuous_abdominal_pain":{"description":"Continuous or nearly continuous abdominal pain, as assigned (Keefer 2016 Rome IV CAPS / D1). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_or_only_occasional_relationship_with_physiological_events":{"description":"No or only occasional relationship of pain with physiological events (eating, defecation, or menses), as assigned (Keefer 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"not_explained_by_another_gi_or_medical_condition":{"description":"Pain is not explained by another structural or functional gastrointestinal disorder or other medical condition, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"pain_limits_daily_functioning":{"description":"Pain limits some aspect of daily functioning, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pain_not_feigned":{"description":"The pain is not feigned, as assigned by the caller (Keefer 2016). true or false as assigned by the caller. magent does not judge feigning beyond this flag.","type":"boolean"}},"required":["continuous_or_nearly_continuous_abdominal_pain","no_or_only_occasional_relationship_with_physiological_events","pain_limits_daily_functioning","pain_not_feigned","not_explained_by_another_gi_or_medical_condition","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-caps","caps","gi","abdominal-pain","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:56:54.431Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:56:54.288Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"continuous_or_nearly_continuous_abdominal_pain":true,"fulfilled_last_3_months":true,"no_or_only_occasional_relationship_with_physiological_events":true,"not_explained_by_another_gi_or_medical_condition":true,"onset_at_least_6_months":true,"pain_limits_daily_functioning":true,"pain_not_feigned":true},{"continuous_or_nearly_continuous_abdominal_pain":true,"fulfilled_last_3_months":true,"no_or_only_occasional_relationship_with_physiological_events":true,"not_explained_by_another_gi_or_medical_condition":true,"onset_at_least_6_months":true,"pain_limits_daily_functioning":true,"pain_not_feigned":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Keefer L, Drossman DA, Guthrie E, Simrén M, Tillisch K, Olden K, Whorwell PJ","doi":"10.1053/j.gastro.2016.02.034","id":"keefer-2016","pmid":"27144628","source":"Gastroenterology. 2016;150(6):1408-1419","title":"Centrally Mediated Disorders of Gastrointestinal Pain"},"criteria":[{"factor":"continuous_or_nearly_continuous_abdominal_pain","met":true},{"factor":"no_or_only_occasional_relationship_with_physiological_events","met":true},{"factor":"pain_limits_daily_functioning","met":true},{"factor":"pain_not_feigned","met":true},{"factor":"not_explained_by_another_gi_or_medical_condition","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_caps","formula_expression":"rome_iv_caps iff continuous_or_nearly_continuous_abdominal_pain and no_or_only_occasional_relationship_with_physiological_events and pain_limits_daily_functioning and pain_not_feigned and not_explained_by_another_gi_or_medical_condition and fulfilled_last_3_months and onset_at_least_6_months (Keefer 2016 Rome IV CAPS / D1)","rome_iv_caps":true},{"citation":{"authors":"Keefer L, Drossman DA, Guthrie E, Simrén M, Tillisch K, Olden K, Whorwell PJ","doi":"10.1053/j.gastro.2016.02.034","id":"keefer-2016","pmid":"27144628","source":"Gastroenterology. 2016;150(6):1408-1419","title":"Centrally Mediated Disorders of Gastrointestinal Pain"},"criteria":[{"factor":"continuous_or_nearly_continuous_abdominal_pain","met":true},{"factor":"no_or_only_occasional_relationship_with_physiological_events","met":true},{"factor":"pain_limits_daily_functioning","met":true},{"factor":"pain_not_feigned","met":true},{"factor":"not_explained_by_another_gi_or_medical_condition","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_caps","formula_expression":"rome_iv_caps iff continuous_or_nearly_continuous_abdominal_pain and no_or_only_occasional_relationship_with_physiological_events and pain_limits_daily_functioning and pain_not_feigned and not_explained_by_another_gi_or_medical_condition and fulfilled_last_3_months and onset_at_least_6_months (Keefer 2016 Rome IV CAPS / D1)","rome_iv_caps":true}],"path":"/api/calc/rome_iv_caps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"continuous_or_nearly_continuous_abdominal_pain":{"description":"Continuous or nearly continuous abdominal pain, as assigned (Keefer 2016 Rome IV CAPS / D1). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_or_only_occasional_relationship_with_physiological_events":{"description":"No or only occasional relationship of pain with physiological events (eating, defecation, or menses), as assigned (Keefer 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"not_explained_by_another_gi_or_medical_condition":{"description":"Pain is not explained by another structural or functional gastrointestinal disorder or other medical condition, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"pain_limits_daily_functioning":{"description":"Pain limits some aspect of daily functioning, as assigned (Keefer 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pain_not_feigned":{"description":"The pain is not feigned, as assigned by the caller (Keefer 2016). true or false as assigned by the caller. magent does not judge feigning beyond this flag.","type":"boolean"}},"required":["continuous_or_nearly_continuous_abdominal_pain","no_or_only_occasional_relationship_with_physiological_events","pain_limits_daily_functioning","pain_not_feigned","not_explained_by_another_gi_or_medical_condition","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":38851,"slug":"38851","resource":"https://api.magentlab.com/api/calc/rome_iv_biliary_sod","description":"Cotton 2016 Rome IV E1b functional biliary SOD (former SOD type II). rome_iv_biliary_sod iff six E1 biliary-pain flags, enzymes XOR dilated bile duct, and no stones or other structural abnormalities. Type I (both findings) is organic stenosis, not this box. Type III (neither) is not this box. Supportive amylase/lipase, manometry, and scintigraphy are reported, not required. magent does not read labs, imaging, manometry, or ERCP. Not a diagnosis, not pancreatic SOD, not functional gallbladder.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_sphincter_of_oddi_manometry":true,"absence_of_bile_duct_stones_or_other_structural_abnormalities":true,"builds_to_steady_level_lasts_30_min_or_longer":true,"dilated_bile_duct":false,"elevated_liver_enzymes":true,"epigastric_or_ruq_pain":true,"hepatobiliary_scintigraphy":true,"normal_amylase_lipase":true,"not_significantly_related_to_bowel_movements":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true,"occurring_at_different_intervals_not_daily":true,"severe_enough_to_interrupt_activities_or_ed_visit":true},{"abnormal_sphincter_of_oddi_manometry":true,"absence_of_bile_duct_stones_or_other_structural_abnormalities":true,"builds_to_steady_level_lasts_30_min_or_longer":true,"dilated_bile_duct":false,"elevated_liver_enzymes":true,"epigastric_or_ruq_pain":true,"hepatobiliary_scintigraphy":true,"normal_amylase_lipase":true,"not_significantly_related_to_bowel_movements":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true,"occurring_at_different_intervals_not_daily":true,"severe_enough_to_interrupt_activities_or_ed_visit":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abnormal_sphincter_of_oddi_manometry":true,"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"epigastric_or_ruq_pain","met":true},{"factor":"builds_to_steady_level_lasts_30_min_or_longer","met":true},{"factor":"occurring_at_different_intervals_not_daily","met":true},{"factor":"severe_enough_to_interrupt_activities_or_ed_visit","met":true},{"factor":"not_significantly_related_to_bowel_movements","met":true},{"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression","met":true},{"factor":"elevated_liver_enzymes_xor_dilated_bile_duct","met":true,"value":{"dilated_bile_duct":false,"elevated_liver_enzymes":true}},{"factor":"absence_of_bile_duct_stones_or_other_structural_abnormalities","met":true},{"factor":"normal_amylase_lipase","met":true},{"factor":"abnormal_sphincter_of_oddi_manometry","met":true},{"factor":"hepatobiliary_scintigraphy","met":true}],"dilated_bile_duct":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.","elevated_liver_enzymes":true,"formula":"rome_iv_biliary_sod","formula_expression":"rome_iv_biliary_sod iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression and enzymes_xor_dilated and absence_of_bile_duct_stones_or_other_structural_abnormalities; enzymes_xor_dilated is (elevated_liver_enzymes and not dilated_bile_duct) or (dilated_bile_duct and not elevated_liver_enzymes); normal_amylase_lipase, abnormal_sphincter_of_oddi_manometry, and hepatobiliary_scintigraphy are supportive and not required (Cotton 2016 Rome IV E1b)","hepatobiliary_scintigraphy":true,"normal_amylase_lipase":true,"rome_iv_biliary_sod":true},{"abnormal_sphincter_of_oddi_manometry":true,"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"epigastric_or_ruq_pain","met":true},{"factor":"builds_to_steady_level_lasts_30_min_or_longer","met":true},{"factor":"occurring_at_different_intervals_not_daily","met":true},{"factor":"severe_enough_to_interrupt_activities_or_ed_visit","met":true},{"factor":"not_significantly_related_to_bowel_movements","met":true},{"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression","met":true},{"factor":"elevated_liver_enzymes_xor_dilated_bile_duct","met":true,"value":{"dilated_bile_duct":false,"elevated_liver_enzymes":true}},{"factor":"absence_of_bile_duct_stones_or_other_structural_abnormalities","met":true},{"factor":"normal_amylase_lipase","met":true},{"factor":"abnormal_sphincter_of_oddi_manometry","met":true},{"factor":"hepatobiliary_scintigraphy","met":true}],"dilated_bile_duct":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.","elevated_liver_enzymes":true,"formula":"rome_iv_biliary_sod","formula_expression":"rome_iv_biliary_sod iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression and enzymes_xor_dilated and absence_of_bile_duct_stones_or_other_structural_abnormalities; enzymes_xor_dilated is (elevated_liver_enzymes and not dilated_bile_duct) or (dilated_bile_duct and not elevated_liver_enzymes); normal_amylase_lipase, abnormal_sphincter_of_oddi_manometry, and hepatobiliary_scintigraphy are supportive and not required (Cotton 2016 Rome IV E1b)","hepatobiliary_scintigraphy":true,"normal_amylase_lipase":true,"rome_iv_biliary_sod":true}],"path":"/api/calc/rome_iv_biliary_sod"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_sphincter_of_oddi_manometry":{"description":"Abnormal sphincter of Oddi manometry, a supportive criterion that is not required for rome_iv_biliary_sod (Cotton 2016 E1b). true or false as assigned by the caller. magent does not read manometry.","type":"boolean"},"absence_of_bile_duct_stones_or_other_structural_abnormalities":{"description":"Absence of bile duct stones or other structural abnormalities, as assigned (Cotton 2016 E1b). This is the structural flag; there is no separate cholecystectomy boolean. true or false as assigned by the caller. magent does not read imaging or ERCP.","type":"boolean"},"builds_to_steady_level_lasts_30_min_or_longer":{"description":"Pain builds up to a steady level lasting 30 minutes or longer (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"dilated_bile_duct":{"description":"Dilated bile duct, as assigned (Cotton 2016 E1b). XOR with elevated_liver_enzymes: exactly one must be true. true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"elevated_liver_enzymes":{"description":"Elevated liver enzymes, as assigned (Cotton 2016 E1b). XOR with dilated_bile_duct: exactly one must be true. true or false as assigned by the caller. magent does not read labs.","type":"boolean"},"epigastric_or_ruq_pain":{"description":"Episodes of pain located in the epigastrium and/or right upper quadrant (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"hepatobiliary_scintigraphy":{"description":"Abnormal hepatobiliary scintigraphy, a supportive criterion that is not required for rome_iv_biliary_sod (Cotton 2016 E1b). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"normal_amylase_lipase":{"description":"Normal amylase/lipase, a supportive criterion that is not required for rome_iv_biliary_sod (Cotton 2016 E1b). true or false as assigned by the caller. magent does not read labs.","type":"boolean"},"not_significantly_related_to_bowel_movements":{"description":"Pain not significantly related to bowel movements (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_significantly_relieved_by_postural_change_or_acid_suppression":{"description":"Pain not significantly relieved by postural change or acid suppression (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not prescribe acid suppression.","type":"boolean"},"occurring_at_different_intervals_not_daily":{"description":"Episodes occurring at different intervals (not daily) (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"severe_enough_to_interrupt_activities_or_ed_visit":{"description":"Pain severe enough to interrupt daily activities or lead to an emergency department visit (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["epigastric_or_ruq_pain","builds_to_steady_level_lasts_30_min_or_longer","occurring_at_different_intervals_not_daily","severe_enough_to_interrupt_activities_or_ed_visit","not_significantly_related_to_bowel_movements","not_significantly_relieved_by_postural_change_or_acid_suppression","elevated_liver_enzymes","dilated_bile_duct","absence_of_bile_duct_stones_or_other_structural_abnormalities","normal_amylase_lipase","abnormal_sphincter_of_oddi_manometry","hepatobiliary_scintigraphy"],"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":["rome-iv-biliary-sod","biliary-sod","gi","rome-iv","sphincter-of-oddi","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:52:09.719Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:52:09.585Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_sphincter_of_oddi_manometry":true,"absence_of_bile_duct_stones_or_other_structural_abnormalities":true,"builds_to_steady_level_lasts_30_min_or_longer":true,"dilated_bile_duct":false,"elevated_liver_enzymes":true,"epigastric_or_ruq_pain":true,"hepatobiliary_scintigraphy":true,"normal_amylase_lipase":true,"not_significantly_related_to_bowel_movements":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true,"occurring_at_different_intervals_not_daily":true,"severe_enough_to_interrupt_activities_or_ed_visit":true},{"abnormal_sphincter_of_oddi_manometry":true,"absence_of_bile_duct_stones_or_other_structural_abnormalities":true,"builds_to_steady_level_lasts_30_min_or_longer":true,"dilated_bile_duct":false,"elevated_liver_enzymes":true,"epigastric_or_ruq_pain":true,"hepatobiliary_scintigraphy":true,"normal_amylase_lipase":true,"not_significantly_related_to_bowel_movements":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true,"occurring_at_different_intervals_not_daily":true,"severe_enough_to_interrupt_activities_or_ed_visit":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abnormal_sphincter_of_oddi_manometry":true,"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"epigastric_or_ruq_pain","met":true},{"factor":"builds_to_steady_level_lasts_30_min_or_longer","met":true},{"factor":"occurring_at_different_intervals_not_daily","met":true},{"factor":"severe_enough_to_interrupt_activities_or_ed_visit","met":true},{"factor":"not_significantly_related_to_bowel_movements","met":true},{"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression","met":true},{"factor":"elevated_liver_enzymes_xor_dilated_bile_duct","met":true,"value":{"dilated_bile_duct":false,"elevated_liver_enzymes":true}},{"factor":"absence_of_bile_duct_stones_or_other_structural_abnormalities","met":true},{"factor":"normal_amylase_lipase","met":true},{"factor":"abnormal_sphincter_of_oddi_manometry","met":true},{"factor":"hepatobiliary_scintigraphy","met":true}],"dilated_bile_duct":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.","elevated_liver_enzymes":true,"formula":"rome_iv_biliary_sod","formula_expression":"rome_iv_biliary_sod iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression and enzymes_xor_dilated and absence_of_bile_duct_stones_or_other_structural_abnormalities; enzymes_xor_dilated is (elevated_liver_enzymes and not dilated_bile_duct) or (dilated_bile_duct and not elevated_liver_enzymes); normal_amylase_lipase, abnormal_sphincter_of_oddi_manometry, and hepatobiliary_scintigraphy are supportive and not required (Cotton 2016 Rome IV E1b)","hepatobiliary_scintigraphy":true,"normal_amylase_lipase":true,"rome_iv_biliary_sod":true},{"abnormal_sphincter_of_oddi_manometry":true,"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"epigastric_or_ruq_pain","met":true},{"factor":"builds_to_steady_level_lasts_30_min_or_longer","met":true},{"factor":"occurring_at_different_intervals_not_daily","met":true},{"factor":"severe_enough_to_interrupt_activities_or_ed_visit","met":true},{"factor":"not_significantly_related_to_bowel_movements","met":true},{"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression","met":true},{"factor":"elevated_liver_enzymes_xor_dilated_bile_duct","met":true,"value":{"dilated_bile_duct":false,"elevated_liver_enzymes":true}},{"factor":"absence_of_bile_duct_stones_or_other_structural_abnormalities","met":true},{"factor":"normal_amylase_lipase","met":true},{"factor":"abnormal_sphincter_of_oddi_manometry","met":true},{"factor":"hepatobiliary_scintigraphy","met":true}],"dilated_bile_duct":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.","elevated_liver_enzymes":true,"formula":"rome_iv_biliary_sod","formula_expression":"rome_iv_biliary_sod iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression and enzymes_xor_dilated and absence_of_bile_duct_stones_or_other_structural_abnormalities; enzymes_xor_dilated is (elevated_liver_enzymes and not dilated_bile_duct) or (dilated_bile_duct and not elevated_liver_enzymes); normal_amylase_lipase, abnormal_sphincter_of_oddi_manometry, and hepatobiliary_scintigraphy are supportive and not required (Cotton 2016 Rome IV E1b)","hepatobiliary_scintigraphy":true,"normal_amylase_lipase":true,"rome_iv_biliary_sod":true}],"path":"/api/calc/rome_iv_biliary_sod"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_sphincter_of_oddi_manometry":{"description":"Abnormal sphincter of Oddi manometry, a supportive criterion that is not required for rome_iv_biliary_sod (Cotton 2016 E1b). true or false as assigned by the caller. magent does not read manometry.","type":"boolean"},"absence_of_bile_duct_stones_or_other_structural_abnormalities":{"description":"Absence of bile duct stones or other structural abnormalities, as assigned (Cotton 2016 E1b). This is the structural flag; there is no separate cholecystectomy boolean. true or false as assigned by the caller. magent does not read imaging or ERCP.","type":"boolean"},"builds_to_steady_level_lasts_30_min_or_longer":{"description":"Pain builds up to a steady level lasting 30 minutes or longer (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"dilated_bile_duct":{"description":"Dilated bile duct, as assigned (Cotton 2016 E1b). XOR with elevated_liver_enzymes: exactly one must be true. true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"elevated_liver_enzymes":{"description":"Elevated liver enzymes, as assigned (Cotton 2016 E1b). XOR with dilated_bile_duct: exactly one must be true. true or false as assigned by the caller. magent does not read labs.","type":"boolean"},"epigastric_or_ruq_pain":{"description":"Episodes of pain located in the epigastrium and/or right upper quadrant (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"hepatobiliary_scintigraphy":{"description":"Abnormal hepatobiliary scintigraphy, a supportive criterion that is not required for rome_iv_biliary_sod (Cotton 2016 E1b). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"normal_amylase_lipase":{"description":"Normal amylase/lipase, a supportive criterion that is not required for rome_iv_biliary_sod (Cotton 2016 E1b). true or false as assigned by the caller. magent does not read labs.","type":"boolean"},"not_significantly_related_to_bowel_movements":{"description":"Pain not significantly related to bowel movements (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_significantly_relieved_by_postural_change_or_acid_suppression":{"description":"Pain not significantly relieved by postural change or acid suppression (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not prescribe acid suppression.","type":"boolean"},"occurring_at_different_intervals_not_daily":{"description":"Episodes occurring at different intervals (not daily) (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"severe_enough_to_interrupt_activities_or_ed_visit":{"description":"Pain severe enough to interrupt daily activities or lead to an emergency department visit (Cotton 2016 E1 biliary pain). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["epigastric_or_ruq_pain","builds_to_steady_level_lasts_30_min_or_longer","occurring_at_different_intervals_not_daily","severe_enough_to_interrupt_activities_or_ed_visit","not_significantly_related_to_bowel_movements","not_significantly_relieved_by_postural_change_or_acid_suppression","elevated_liver_enzymes","dilated_bile_duct","absence_of_bile_duct_stones_or_other_structural_abnormalities","normal_amylase_lipase","abnormal_sphincter_of_oddi_manometry","hepatobiliary_scintigraphy"],"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},{"id":38852,"slug":"38852","resource":"https://api.magentlab.com/api/calc/rome_iv_biliary_pain","description":"Cotton 2016 Rome IV E1 biliary pain. rome_iv_biliary_pain is true iff epigastric or RUQ pain builds to a 30-min steady level, occurs at different intervals (not daily), interrupts activities or leads to an ED visit, and is not significantly related to bowel movements or relieved by posture or acid suppression. Supportive flags reported, not required. magent does not examine the patient or read ultrasound, HIDA, or ERCP. Not a diagnosis, not functional gallbladder, not biliary or pancreatic SOD.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"builds_to_steady_level_lasts_30_min_or_longer":true,"epigastric_or_ruq_pain":true,"nausea_and_vomiting":true,"not_significantly_related_to_bowel_movements":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true,"occurring_at_different_intervals_not_daily":true,"radiation_to_back_or_right_infra_subscapular":true,"severe_enough_to_interrupt_activities_or_ed_visit":true,"waking_from_sleep":true},{"builds_to_steady_level_lasts_30_min_or_longer":true,"epigastric_or_ruq_pain":true,"nausea_and_vomiting":true,"not_significantly_related_to_bowel_movements":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true,"occurring_at_different_intervals_not_daily":true,"radiation_to_back_or_right_infra_subscapular":true,"severe_enough_to_interrupt_activities_or_ed_visit":true,"waking_from_sleep":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"epigastric_or_ruq_pain","met":true},{"factor":"builds_to_steady_level_lasts_30_min_or_longer","met":true},{"factor":"occurring_at_different_intervals_not_daily","met":true},{"factor":"severe_enough_to_interrupt_activities_or_ed_visit","met":true},{"factor":"not_significantly_related_to_bowel_movements","met":true},{"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression","met":true},{"factor":"nausea_and_vomiting","met":true},{"factor":"radiation_to_back_or_right_infra_subscapular","met":true},{"factor":"waking_from_sleep","met":true}],"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":"rome_iv_biliary_pain","formula_expression":"rome_iv_biliary_pain iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression (Cotton 2016 Rome IV E1 biliary pain). Supportive nausea_and_vomiting, radiation_to_back_or_right_infra_subscapular, waking_from_sleep are reported and not required.","nausea_and_vomiting":true,"radiation_to_back_or_right_infra_subscapular":true,"rome_iv_biliary_pain":true,"waking_from_sleep":true},{"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"epigastric_or_ruq_pain","met":true},{"factor":"builds_to_steady_level_lasts_30_min_or_longer","met":true},{"factor":"occurring_at_different_intervals_not_daily","met":true},{"factor":"severe_enough_to_interrupt_activities_or_ed_visit","met":true},{"factor":"not_significantly_related_to_bowel_movements","met":true},{"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression","met":true},{"factor":"nausea_and_vomiting","met":true},{"factor":"radiation_to_back_or_right_infra_subscapular","met":true},{"factor":"waking_from_sleep","met":true}],"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":"rome_iv_biliary_pain","formula_expression":"rome_iv_biliary_pain iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression (Cotton 2016 Rome IV E1 biliary pain). Supportive nausea_and_vomiting, radiation_to_back_or_right_infra_subscapular, waking_from_sleep are reported and not required.","nausea_and_vomiting":true,"radiation_to_back_or_right_infra_subscapular":true,"rome_iv_biliary_pain":true,"waking_from_sleep":true}],"path":"/api/calc/rome_iv_biliary_pain"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"builds_to_steady_level_lasts_30_min_or_longer":{"description":"Pain builds up to a steady level and lasts 30 minutes or longer, as assigned (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"epigastric_or_ruq_pain":{"description":"Pain located in the epigastrium and/or right upper quadrant (Cotton 2016 Rome IV E1 biliary pain). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"nausea_and_vomiting":{"description":"Pain may be associated with nausea and vomiting, a supportive criterion that is not required for rome_iv_biliary_pain (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_significantly_related_to_bowel_movements":{"description":"Pain not significantly (<20%) related to bowel movements, as assigned (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_significantly_relieved_by_postural_change_or_acid_suppression":{"description":"Pain not significantly (<20%) relieved by postural change or acid suppression, as assigned (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"occurring_at_different_intervals_not_daily":{"description":"Pain occurring at different intervals (not daily), as assigned (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"radiation_to_back_or_right_infra_subscapular":{"description":"Pain may radiate to the back and/or right infra subscapular region, a supportive criterion that is not required for rome_iv_biliary_pain (Cotton 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"severe_enough_to_interrupt_activities_or_ed_visit":{"description":"Pain severe enough to interrupt daily activities or lead to an emergency department visit, as assigned (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"waking_from_sleep":{"description":"Pain may wake the patient from sleep, a supportive criterion that is not required for rome_iv_biliary_pain (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["epigastric_or_ruq_pain","builds_to_steady_level_lasts_30_min_or_longer","occurring_at_different_intervals_not_daily","severe_enough_to_interrupt_activities_or_ed_visit","not_significantly_related_to_bowel_movements","not_significantly_relieved_by_postural_change_or_acid_suppression","nausea_and_vomiting","radiation_to_back_or_right_infra_subscapular","waking_from_sleep"],"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":["rome-iv-biliary-pain","biliary-pain","gi","gallbladder","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:52:07.964Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:52:07.809Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"builds_to_steady_level_lasts_30_min_or_longer":true,"epigastric_or_ruq_pain":true,"nausea_and_vomiting":true,"not_significantly_related_to_bowel_movements":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true,"occurring_at_different_intervals_not_daily":true,"radiation_to_back_or_right_infra_subscapular":true,"severe_enough_to_interrupt_activities_or_ed_visit":true,"waking_from_sleep":true},{"builds_to_steady_level_lasts_30_min_or_longer":true,"epigastric_or_ruq_pain":true,"nausea_and_vomiting":true,"not_significantly_related_to_bowel_movements":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true,"occurring_at_different_intervals_not_daily":true,"radiation_to_back_or_right_infra_subscapular":true,"severe_enough_to_interrupt_activities_or_ed_visit":true,"waking_from_sleep":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"epigastric_or_ruq_pain","met":true},{"factor":"builds_to_steady_level_lasts_30_min_or_longer","met":true},{"factor":"occurring_at_different_intervals_not_daily","met":true},{"factor":"severe_enough_to_interrupt_activities_or_ed_visit","met":true},{"factor":"not_significantly_related_to_bowel_movements","met":true},{"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression","met":true},{"factor":"nausea_and_vomiting","met":true},{"factor":"radiation_to_back_or_right_infra_subscapular","met":true},{"factor":"waking_from_sleep","met":true}],"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":"rome_iv_biliary_pain","formula_expression":"rome_iv_biliary_pain iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression (Cotton 2016 Rome IV E1 biliary pain). Supportive nausea_and_vomiting, radiation_to_back_or_right_infra_subscapular, waking_from_sleep are reported and not required.","nausea_and_vomiting":true,"radiation_to_back_or_right_infra_subscapular":true,"rome_iv_biliary_pain":true,"waking_from_sleep":true},{"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"epigastric_or_ruq_pain","met":true},{"factor":"builds_to_steady_level_lasts_30_min_or_longer","met":true},{"factor":"occurring_at_different_intervals_not_daily","met":true},{"factor":"severe_enough_to_interrupt_activities_or_ed_visit","met":true},{"factor":"not_significantly_related_to_bowel_movements","met":true},{"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression","met":true},{"factor":"nausea_and_vomiting","met":true},{"factor":"radiation_to_back_or_right_infra_subscapular","met":true},{"factor":"waking_from_sleep","met":true}],"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":"rome_iv_biliary_pain","formula_expression":"rome_iv_biliary_pain iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression (Cotton 2016 Rome IV E1 biliary pain). Supportive nausea_and_vomiting, radiation_to_back_or_right_infra_subscapular, waking_from_sleep are reported and not required.","nausea_and_vomiting":true,"radiation_to_back_or_right_infra_subscapular":true,"rome_iv_biliary_pain":true,"waking_from_sleep":true}],"path":"/api/calc/rome_iv_biliary_pain"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"builds_to_steady_level_lasts_30_min_or_longer":{"description":"Pain builds up to a steady level and lasts 30 minutes or longer, as assigned (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"epigastric_or_ruq_pain":{"description":"Pain located in the epigastrium and/or right upper quadrant (Cotton 2016 Rome IV E1 biliary pain). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"nausea_and_vomiting":{"description":"Pain may be associated with nausea and vomiting, a supportive criterion that is not required for rome_iv_biliary_pain (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_significantly_related_to_bowel_movements":{"description":"Pain not significantly (<20%) related to bowel movements, as assigned (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_significantly_relieved_by_postural_change_or_acid_suppression":{"description":"Pain not significantly (<20%) relieved by postural change or acid suppression, as assigned (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"occurring_at_different_intervals_not_daily":{"description":"Pain occurring at different intervals (not daily), as assigned (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"radiation_to_back_or_right_infra_subscapular":{"description":"Pain may radiate to the back and/or right infra subscapular region, a supportive criterion that is not required for rome_iv_biliary_pain (Cotton 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"severe_enough_to_interrupt_activities_or_ed_visit":{"description":"Pain severe enough to interrupt daily activities or lead to an emergency department visit, as assigned (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"waking_from_sleep":{"description":"Pain may wake the patient from sleep, a supportive criterion that is not required for rome_iv_biliary_pain (Cotton 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["epigastric_or_ruq_pain","builds_to_steady_level_lasts_30_min_or_longer","occurring_at_different_intervals_not_daily","severe_enough_to_interrupt_activities_or_ed_visit","not_significantly_related_to_bowel_movements","not_significantly_relieved_by_postural_change_or_acid_suppression","nausea_and_vomiting","radiation_to_back_or_right_infra_subscapular","waking_from_sleep"],"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},{"id":38853,"slug":"38853","resource":"https://api.magentlab.com/api/calc/rome_iii_ibs","description":"Longstreth 2006 Rome III IBS. rome_iii_ibs is true iff pain or discomfort at least 3 days per month in the last 3 months, onset at least 6 months prior, and at least two of: improvement with defecation, change in stool frequency, and change in stool form. supporting_features_met is 0-3. Caller assigns five flags. magent does not examine the patient. Not a diagnosis, not Rome IV, not IBS subtype.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"improvement_with_defecation":true,"onset_change_stool_form":false,"onset_change_stool_frequency":true,"pain_or_discomfort_3_days_per_month_last_3_months":true,"symptom_onset_at_least_6_months_prior":true},{"improvement_with_defecation":true,"onset_change_stool_form":false,"onset_change_stool_frequency":true,"pain_or_discomfort_3_days_per_month_last_3_months":true,"symptom_onset_at_least_6_months_prior":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Longstreth GF, Thompson WG, Chey WD, Houghton LA, Mearin F, Spiller RC","doi":"10.1053/j.gastro.2005.11.061","id":"longstreth-2006","pmid":"16678561","source":"Gastroenterology. 2006;130(5):1480-1491","title":"Functional bowel disorders"},"criteria":[{"factor":"pain_or_discomfort_3_days_per_month_last_3_months","met":true},{"factor":"symptom_onset_at_least_6_months_prior","met":true},{"factor":"improvement_with_defecation","met":true},{"factor":"onset_change_stool_frequency","met":true},{"factor":"onset_change_stool_form","met":false},{"factor":"supporting_features_ge_2","met":true,"value":2}],"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":"rome_iii_ibs","formula_expression":"rome_iii_ibs iff pain_or_discomfort_3_days_per_month_last_3_months and symptom_onset_at_least_6_months_prior and supporting_features_met >= 2; supporting_features_met counts improvement_with_defecation, onset_change_stool_frequency, and onset_change_stool_form (Longstreth 2006 Rome III IBS diagnostic criteria)","rome_iii_ibs":true,"supporting_features_met":2},{"citation":{"authors":"Longstreth GF, Thompson WG, Chey WD, Houghton LA, Mearin F, Spiller RC","doi":"10.1053/j.gastro.2005.11.061","id":"longstreth-2006","pmid":"16678561","source":"Gastroenterology. 2006;130(5):1480-1491","title":"Functional bowel disorders"},"criteria":[{"factor":"pain_or_discomfort_3_days_per_month_last_3_months","met":true},{"factor":"symptom_onset_at_least_6_months_prior","met":true},{"factor":"improvement_with_defecation","met":true},{"factor":"onset_change_stool_frequency","met":true},{"factor":"onset_change_stool_form","met":false},{"factor":"supporting_features_ge_2","met":true,"value":2}],"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":"rome_iii_ibs","formula_expression":"rome_iii_ibs iff pain_or_discomfort_3_days_per_month_last_3_months and symptom_onset_at_least_6_months_prior and supporting_features_met >= 2; supporting_features_met counts improvement_with_defecation, onset_change_stool_frequency, and onset_change_stool_form (Longstreth 2006 Rome III IBS diagnostic criteria)","rome_iii_ibs":true,"supporting_features_met":2}],"path":"/api/calc/rome_iii_ibs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"improvement_with_defecation":{"description":"Improvement with defecation (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"onset_change_stool_form":{"description":"Onset associated with a change in form (appearance) of stool (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"onset_change_stool_frequency":{"description":"Onset associated with a change in frequency of stool (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"pain_or_discomfort_3_days_per_month_last_3_months":{"description":"Recurrent abdominal pain or discomfort at least 3 days per month in the last 3 months (Longstreth 2006). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"symptom_onset_at_least_6_months_prior":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Longstreth 2006). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["pain_or_discomfort_3_days_per_month_last_3_months","symptom_onset_at_least_6_months_prior","improvement_with_defecation","onset_change_stool_frequency","onset_change_stool_form"],"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":["rome-iii-ibs","ibs","gi","functional-bowel","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:52:06.613Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:52:06.44Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"improvement_with_defecation":true,"onset_change_stool_form":false,"onset_change_stool_frequency":true,"pain_or_discomfort_3_days_per_month_last_3_months":true,"symptom_onset_at_least_6_months_prior":true},{"improvement_with_defecation":true,"onset_change_stool_form":false,"onset_change_stool_frequency":true,"pain_or_discomfort_3_days_per_month_last_3_months":true,"symptom_onset_at_least_6_months_prior":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Longstreth GF, Thompson WG, Chey WD, Houghton LA, Mearin F, Spiller RC","doi":"10.1053/j.gastro.2005.11.061","id":"longstreth-2006","pmid":"16678561","source":"Gastroenterology. 2006;130(5):1480-1491","title":"Functional bowel disorders"},"criteria":[{"factor":"pain_or_discomfort_3_days_per_month_last_3_months","met":true},{"factor":"symptom_onset_at_least_6_months_prior","met":true},{"factor":"improvement_with_defecation","met":true},{"factor":"onset_change_stool_frequency","met":true},{"factor":"onset_change_stool_form","met":false},{"factor":"supporting_features_ge_2","met":true,"value":2}],"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":"rome_iii_ibs","formula_expression":"rome_iii_ibs iff pain_or_discomfort_3_days_per_month_last_3_months and symptom_onset_at_least_6_months_prior and supporting_features_met >= 2; supporting_features_met counts improvement_with_defecation, onset_change_stool_frequency, and onset_change_stool_form (Longstreth 2006 Rome III IBS diagnostic criteria)","rome_iii_ibs":true,"supporting_features_met":2},{"citation":{"authors":"Longstreth GF, Thompson WG, Chey WD, Houghton LA, Mearin F, Spiller RC","doi":"10.1053/j.gastro.2005.11.061","id":"longstreth-2006","pmid":"16678561","source":"Gastroenterology. 2006;130(5):1480-1491","title":"Functional bowel disorders"},"criteria":[{"factor":"pain_or_discomfort_3_days_per_month_last_3_months","met":true},{"factor":"symptom_onset_at_least_6_months_prior","met":true},{"factor":"improvement_with_defecation","met":true},{"factor":"onset_change_stool_frequency","met":true},{"factor":"onset_change_stool_form","met":false},{"factor":"supporting_features_ge_2","met":true,"value":2}],"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":"rome_iii_ibs","formula_expression":"rome_iii_ibs iff pain_or_discomfort_3_days_per_month_last_3_months and symptom_onset_at_least_6_months_prior and supporting_features_met >= 2; supporting_features_met counts improvement_with_defecation, onset_change_stool_frequency, and onset_change_stool_form (Longstreth 2006 Rome III IBS diagnostic criteria)","rome_iii_ibs":true,"supporting_features_met":2}],"path":"/api/calc/rome_iii_ibs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"improvement_with_defecation":{"description":"Improvement with defecation (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"onset_change_stool_form":{"description":"Onset associated with a change in form (appearance) of stool (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"onset_change_stool_frequency":{"description":"Onset associated with a change in frequency of stool (one of three supporting features; at least two required). true or false as assigned by the caller.","type":"boolean"},"pain_or_discomfort_3_days_per_month_last_3_months":{"description":"Recurrent abdominal pain or discomfort at least 3 days per month in the last 3 months (Longstreth 2006). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"symptom_onset_at_least_6_months_prior":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Longstreth 2006). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["pain_or_discomfort_3_days_per_month_last_3_months","symptom_onset_at_least_6_months_prior","improvement_with_defecation","onset_change_stool_frequency","onset_change_stool_form"],"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},{"id":38854,"slug":"38854","resource":"https://api.magentlab.com/api/calc/rockall_pre","description":"Rockall 1996 pre-endoscopy (admission) score after acute upper GI haemorrhage: age <60 0, 60-79 1, >=80 2; shock SBP<100 2 (hypotension; tachycardia not added), else HR>=100 1, else 0; comorbidity none 0, cardiac (failure, IHD, or any major) 2, renal/liver/metastatic 3. Max 7. Not complete Rockall, AIMS65, or GBS. Caller assigns comorbidity.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"comorbidity":"none","heart_rate_bpm":80,"systolic_mm_hg":120},{"age":50,"comorbidity":"none","heart_rate_bpm":80,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Rockall TA, Logan RF, Devlin HB, Northfield TC","doi":"10.1136/gut.38.3.316","id":"rockall-1996","source":"Gut. 1996;38(3):316-321","title":"Risk assessment after acute upper gastrointestinal haemorrhage"},"comorbidity":"none","components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"shock","points":0,"present":false,"value":{"heart_rate_bpm":80,"systolic_mm_hg":120}},{"factor":"comorbidity","points":0,"present":false,"value":"none"}],"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":"rockall_pre","formula_expression":"pre-endoscopy Rockall = age (<60: 0, 60-79: 1, >=80: 2) + shock (SBP<100: 2; else HR>=100: 1; else 0) + comorbidity (none: 0, cardiac: 2, renal_liver_metastatic: 3); max 7","heart_rate_bpm":80,"max_score":7,"score":0,"systolic_mm_hg":120},{"age_years":50,"citation":{"authors":"Rockall TA, Logan RF, Devlin HB, Northfield TC","doi":"10.1136/gut.38.3.316","id":"rockall-1996","source":"Gut. 1996;38(3):316-321","title":"Risk assessment after acute upper gastrointestinal haemorrhage"},"comorbidity":"none","components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"shock","points":0,"present":false,"value":{"heart_rate_bpm":80,"systolic_mm_hg":120}},{"factor":"comorbidity","points":0,"present":false,"value":"none"}],"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":"rockall_pre","formula_expression":"pre-endoscopy Rockall = age (<60: 0, 60-79: 1, >=80: 2) + shock (SBP<100: 2; else HR>=100: 1; else 0) + comorbidity (none: 0, cardiac: 2, renal_liver_metastatic: 3); max 7","heart_rate_bpm":80,"max_score":7,"score":0,"systolic_mm_hg":120}],"path":"/api/calc/rockall_pre"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). <60 scores 0; 60-79 scores 1; ≥80 scores 2. 59 does not score; 60 scores 1; 79 scores 1; 80 scores 2.","type":"integer"},"comorbidity":{"description":"Caller-assigned comorbidity: none (0), cardiac (2; cardiac failure, IHD, or any major comorbidity), or renal_liver_metastatic (3; renal failure, liver failure, or disseminated malignancy). magent does not assign comorbidity.","type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). With SBP ≥100, HR ≥100 scores 1 (tachycardia); 99 does not. Not added when SBP <100.","type":"integer"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). SBP <100 scores 2 (hypotension) and tachycardia is not added; 100 does not score hypotension.","type":"number"}},"required":["age","heart_rate_bpm","systolic_mm_hg","comorbidity"],"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":["rockall","gi","bleed","score","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:46:44.133Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:46:44.012Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"comorbidity":"none","heart_rate_bpm":80,"systolic_mm_hg":120},{"age":50,"comorbidity":"none","heart_rate_bpm":80,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Rockall TA, Logan RF, Devlin HB, Northfield TC","doi":"10.1136/gut.38.3.316","id":"rockall-1996","source":"Gut. 1996;38(3):316-321","title":"Risk assessment after acute upper gastrointestinal haemorrhage"},"comorbidity":"none","components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"shock","points":0,"present":false,"value":{"heart_rate_bpm":80,"systolic_mm_hg":120}},{"factor":"comorbidity","points":0,"present":false,"value":"none"}],"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":"rockall_pre","formula_expression":"pre-endoscopy Rockall = age (<60: 0, 60-79: 1, >=80: 2) + shock (SBP<100: 2; else HR>=100: 1; else 0) + comorbidity (none: 0, cardiac: 2, renal_liver_metastatic: 3); max 7","heart_rate_bpm":80,"max_score":7,"score":0,"systolic_mm_hg":120},{"age_years":50,"citation":{"authors":"Rockall TA, Logan RF, Devlin HB, Northfield TC","doi":"10.1136/gut.38.3.316","id":"rockall-1996","source":"Gut. 1996;38(3):316-321","title":"Risk assessment after acute upper gastrointestinal haemorrhage"},"comorbidity":"none","components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"shock","points":0,"present":false,"value":{"heart_rate_bpm":80,"systolic_mm_hg":120}},{"factor":"comorbidity","points":0,"present":false,"value":"none"}],"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":"rockall_pre","formula_expression":"pre-endoscopy Rockall = age (<60: 0, 60-79: 1, >=80: 2) + shock (SBP<100: 2; else HR>=100: 1; else 0) + comorbidity (none: 0, cardiac: 2, renal_liver_metastatic: 3); max 7","heart_rate_bpm":80,"max_score":7,"score":0,"systolic_mm_hg":120}],"path":"/api/calc/rockall_pre"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). <60 scores 0; 60-79 scores 1; ≥80 scores 2. 59 does not score; 60 scores 1; 79 scores 1; 80 scores 2.","type":"integer"},"comorbidity":{"description":"Caller-assigned comorbidity: none (0), cardiac (2; cardiac failure, IHD, or any major comorbidity), or renal_liver_metastatic (3; renal failure, liver failure, or disseminated malignancy). magent does not assign comorbidity.","type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). With SBP ≥100, HR ≥100 scores 1 (tachycardia); 99 does not. Not added when SBP <100.","type":"integer"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). SBP <100 scores 2 (hypotension) and tachycardia is not added; 100 does not score hypotension.","type":"number"}},"required":["age","heart_rate_bpm","systolic_mm_hg","comorbidity"],"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},{"id":38855,"slug":"38855","resource":"https://api.magentlab.com/api/calc/rockall","description":"Rockall 1996 complete (post-endoscopy) score after acute upper GI haemorrhage: age <60 0, 60-79 1, >=80 2; shock SBP<100 2 (hypotension; tachycardia not added), else HR>=100 1, else 0; comorbidity none 0, cardiac 2, renal/liver/metastatic 3; diagnosis none or mallory_weiss 0, other 1, malignancy 2; stigmata none_or_spot 0, blood_clot_vessel 2. Max 11. Not pre-endoscopy-only Rockall, AIMS65, or GBS. Caller assigns comorbidity, diagnosis, and stigmata.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"comorbidity":"none","diagnosis":"none","heart_rate_bpm":80,"stigmata":"none_or_spot","systolic_mm_hg":120},{"age":50,"comorbidity":"none","diagnosis":"none","heart_rate_bpm":80,"stigmata":"none_or_spot","systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Rockall TA, Logan RF, Devlin HB, Northfield TC","doi":"10.1136/gut.38.3.316","id":"rockall-1996","pmid":"8675081","source":"Gut. 1996;38(3):316-321","title":"Risk assessment after acute upper gastrointestinal haemorrhage"},"comorbidity":"none","components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"shock","points":0,"present":false,"value":{"heart_rate_bpm":80,"systolic_mm_hg":120}},{"factor":"comorbidity","points":0,"present":false,"value":"none"},{"factor":"diagnosis","points":0,"present":false,"value":"none"},{"factor":"stigmata","points":0,"present":false,"value":"none_or_spot"}],"diagnosis":"none","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":"rockall","formula_expression":"Rockall = age (<60: 0, 60-79: 1, >=80: 2) + shock (SBP<100: 2; else HR>=100: 1; else 0) + comorbidity (none: 0, cardiac: 2, renal_liver_metastatic: 3) + diagnosis (none: 0, mallory_weiss: 0, other: 1, malignancy: 2) + stigmata (none_or_spot: 0, blood_clot_vessel: 2); max 11","heart_rate_bpm":80,"max_score":11,"score":0,"stigmata":"none_or_spot","systolic_mm_hg":120},{"age_years":50,"citation":{"authors":"Rockall TA, Logan RF, Devlin HB, Northfield TC","doi":"10.1136/gut.38.3.316","id":"rockall-1996","pmid":"8675081","source":"Gut. 1996;38(3):316-321","title":"Risk assessment after acute upper gastrointestinal haemorrhage"},"comorbidity":"none","components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"shock","points":0,"present":false,"value":{"heart_rate_bpm":80,"systolic_mm_hg":120}},{"factor":"comorbidity","points":0,"present":false,"value":"none"},{"factor":"diagnosis","points":0,"present":false,"value":"none"},{"factor":"stigmata","points":0,"present":false,"value":"none_or_spot"}],"diagnosis":"none","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":"rockall","formula_expression":"Rockall = age (<60: 0, 60-79: 1, >=80: 2) + shock (SBP<100: 2; else HR>=100: 1; else 0) + comorbidity (none: 0, cardiac: 2, renal_liver_metastatic: 3) + diagnosis (none: 0, mallory_weiss: 0, other: 1, malignancy: 2) + stigmata (none_or_spot: 0, blood_clot_vessel: 2); max 11","heart_rate_bpm":80,"max_score":11,"score":0,"stigmata":"none_or_spot","systolic_mm_hg":120}],"path":"/api/calc/rockall"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). <60 scores 0; 60-79 scores 1; ≥80 scores 2. 59 does not score; 60 scores 1; 79 scores 1; 80 scores 2.","type":"integer"},"comorbidity":{"description":"Caller-assigned comorbidity: none (0), cardiac (2; cardiac failure, IHD, or any major comorbidity), or renal_liver_metastatic (3; renal failure, liver failure, or disseminated malignancy). magent does not assign comorbidity.","type":"string"},"diagnosis":{"description":"Caller-assigned diagnosis: none (0; no lesion identified and no stigmata of recent haemorrhage), mallory_weiss (0), other (1; all other diagnoses), or malignancy (2; malignancy of the upper GI tract). magent does not assign diagnosis.","type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). With SBP ≥100, HR ≥100 scores 1 (tachycardia); 99 does not. Not added when SBP <100.","type":"integer"},"stigmata":{"description":"Caller-assigned stigmata of recent haemorrhage: none_or_spot (0; none or dark spot only) or blood_clot_vessel (2; blood in the upper GI tract, adherent clot, visible or spurting vessel). magent does not assign stigmata.","type":"string"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). SBP <100 scores 2 (hypotension) and tachycardia is not added; 100 does not score hypotension.","type":"number"}},"required":["age","heart_rate_bpm","systolic_mm_hg","comorbidity","diagnosis","stigmata"],"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":["rockall","gi","bleed","score","endoscopy","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:46:41.487Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:46:41.262Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"comorbidity":"none","diagnosis":"none","heart_rate_bpm":80,"stigmata":"none_or_spot","systolic_mm_hg":120},{"age":50,"comorbidity":"none","diagnosis":"none","heart_rate_bpm":80,"stigmata":"none_or_spot","systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Rockall TA, Logan RF, Devlin HB, Northfield TC","doi":"10.1136/gut.38.3.316","id":"rockall-1996","pmid":"8675081","source":"Gut. 1996;38(3):316-321","title":"Risk assessment after acute upper gastrointestinal haemorrhage"},"comorbidity":"none","components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"shock","points":0,"present":false,"value":{"heart_rate_bpm":80,"systolic_mm_hg":120}},{"factor":"comorbidity","points":0,"present":false,"value":"none"},{"factor":"diagnosis","points":0,"present":false,"value":"none"},{"factor":"stigmata","points":0,"present":false,"value":"none_or_spot"}],"diagnosis":"none","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":"rockall","formula_expression":"Rockall = age (<60: 0, 60-79: 1, >=80: 2) + shock (SBP<100: 2; else HR>=100: 1; else 0) + comorbidity (none: 0, cardiac: 2, renal_liver_metastatic: 3) + diagnosis (none: 0, mallory_weiss: 0, other: 1, malignancy: 2) + stigmata (none_or_spot: 0, blood_clot_vessel: 2); max 11","heart_rate_bpm":80,"max_score":11,"score":0,"stigmata":"none_or_spot","systolic_mm_hg":120},{"age_years":50,"citation":{"authors":"Rockall TA, Logan RF, Devlin HB, Northfield TC","doi":"10.1136/gut.38.3.316","id":"rockall-1996","pmid":"8675081","source":"Gut. 1996;38(3):316-321","title":"Risk assessment after acute upper gastrointestinal haemorrhage"},"comorbidity":"none","components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"shock","points":0,"present":false,"value":{"heart_rate_bpm":80,"systolic_mm_hg":120}},{"factor":"comorbidity","points":0,"present":false,"value":"none"},{"factor":"diagnosis","points":0,"present":false,"value":"none"},{"factor":"stigmata","points":0,"present":false,"value":"none_or_spot"}],"diagnosis":"none","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":"rockall","formula_expression":"Rockall = age (<60: 0, 60-79: 1, >=80: 2) + shock (SBP<100: 2; else HR>=100: 1; else 0) + comorbidity (none: 0, cardiac: 2, renal_liver_metastatic: 3) + diagnosis (none: 0, mallory_weiss: 0, other: 1, malignancy: 2) + stigmata (none_or_spot: 0, blood_clot_vessel: 2); max 11","heart_rate_bpm":80,"max_score":11,"score":0,"stigmata":"none_or_spot","systolic_mm_hg":120}],"path":"/api/calc/rockall"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). <60 scores 0; 60-79 scores 1; ≥80 scores 2. 59 does not score; 60 scores 1; 79 scores 1; 80 scores 2.","type":"integer"},"comorbidity":{"description":"Caller-assigned comorbidity: none (0), cardiac (2; cardiac failure, IHD, or any major comorbidity), or renal_liver_metastatic (3; renal failure, liver failure, or disseminated malignancy). magent does not assign comorbidity.","type":"string"},"diagnosis":{"description":"Caller-assigned diagnosis: none (0; no lesion identified and no stigmata of recent haemorrhage), mallory_weiss (0), other (1; all other diagnoses), or malignancy (2; malignancy of the upper GI tract). magent does not assign diagnosis.","type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). With SBP ≥100, HR ≥100 scores 1 (tachycardia); 99 does not. Not added when SBP <100.","type":"integer"},"stigmata":{"description":"Caller-assigned stigmata of recent haemorrhage: none_or_spot (0; none or dark spot only) or blood_clot_vessel (2; blood in the upper GI tract, adherent clot, visible or spurting vessel). magent does not assign stigmata.","type":"string"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). SBP <100 scores 2 (hypotension) and tachycardia is not added; 100 does not score hypotension.","type":"number"}},"required":["age","heart_rate_bpm","systolic_mm_hg","comorbidity","diagnosis","stigmata"],"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},{"id":38856,"slug":"38856","resource":"https://api.magentlab.com/api/calc/rochester","description":"Dagan 1985 Rochester criteria. Low-risk only if the infant is younger than 3 months (age_days 0-89) and every caller-assigned finding holds: previously healthy term infant, well appearing, no ear/soft-tissue/skeletal infection, WBC 5000-15000/mm3 inclusive, absolute band count <1500/mm3, UA <=10 WBC/hpf, and stool <=5 WBC/hpf if diarrhea. Returns low_risk. magent does not examine the infant. Not Boston, Philadelphia, or PECARN febrile infant 2021. Not a medical device and not a discharge order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abc_ul":200,"age_days":45,"diarrhea":false,"no_focal_infection":true,"previously_healthy":true,"stool_wbc_le_5":true,"ua_wbc_le_10":true,"wbc_k_ul":8,"wbc_ul":8000,"well_appearing":true},{"abc_ul":200,"age_days":45,"diarrhea":false,"no_focal_infection":true,"previously_healthy":true,"stool_wbc_le_5":true,"ua_wbc_le_10":true,"wbc_k_ul":8,"wbc_ul":8000,"well_appearing":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abc_ul":200,"age_days":45,"citation":{"authors":"Dagan R, Powell KR, Hall CB, Menegus MA","doi":"10.1016/s0022-3476(85)80175-x","id":"dagan-1985","pmid":"4067741","source":"J Pediatr. 1985;107(6):855-860","title":"Identification of infants unlikely to have serious bacterial infection although hospitalized for suspected sepsis"},"criteria":[{"factor":"age_lt_90","met":true,"value":45},{"factor":"previously_healthy","met":true},{"factor":"well_appearing","met":true},{"factor":"no_focal_infection","met":true},{"factor":"wbc_5_to_15","met":true,"value":8000},{"factor":"abc_lt_1500","met":true,"value":200},{"factor":"ua_wbc_le_10","met":true},{"factor":"stool_ok","met":true}],"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":"rochester","formula_expression":"low_risk iff age_days < 90 and previously_healthy and well_appearing and no_focal_infection and 5000 <= wbc_ul <= 15000 and abc_ul < 1500 and ua_wbc_le_10 and (not diarrhea or stool_wbc_le_5) (Dagan 1985)","low_risk":true,"wbc_ul":8000},{"abc_ul":200,"age_days":45,"citation":{"authors":"Dagan R, Powell KR, Hall CB, Menegus MA","doi":"10.1016/s0022-3476(85)80175-x","id":"dagan-1985","pmid":"4067741","source":"J Pediatr. 1985;107(6):855-860","title":"Identification of infants unlikely to have serious bacterial infection although hospitalized for suspected sepsis"},"criteria":[{"factor":"age_lt_90","met":true,"value":45},{"factor":"previously_healthy","met":true},{"factor":"well_appearing","met":true},{"factor":"no_focal_infection","met":true},{"factor":"wbc_5_to_15","met":true,"value":8000},{"factor":"abc_lt_1500","met":true,"value":200},{"factor":"ua_wbc_le_10","met":true},{"factor":"stool_ok","met":true}],"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":"rochester","formula_expression":"low_risk iff age_days < 90 and previously_healthy and well_appearing and no_focal_infection and 5000 <= wbc_ul <= 15000 and abc_ul < 1500 and ua_wbc_le_10 and (not diarrhea or stool_wbc_le_5) (Dagan 1985)","low_risk":true,"wbc_ul":8000}],"path":"/api/calc/rochester"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abc_ul":{"description":"Absolute band count in cells/µL (same as bands/mm^3). Range 0-100000. Dagan 1985 low-risk requires less than 1500 (1499 meets; 1500 does not).","type":"number"},"age_days":{"description":"Chronological age in days (integer 0-90). Dagan 1985 studied infants younger than 3 months; low-risk requires age_days < 90 (0-89). 90 is accepted but is not low-risk.","type":"integer"},"diarrhea":{"description":"Diarrhea is present. true or false as assigned by the caller. When true, stool_wbc_le_5 is required. When false, the stool criterion holds without a stool smear.","type":"boolean"},"no_focal_infection":{"description":"No physical findings consistent with ear, soft tissue, or skeletal infection (Dagan 1985). true means none of those foci are present. true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"previously_healthy":{"description":"Previously healthy as in Dagan 1985: born at term, no perinatal complications, no previous or underlying disease, and no previous antibiotic therapy. true or false as assigned by the caller. magent does not take a birth history.","type":"boolean"},"stool_wbc_le_5":{"description":"Stool ≤5 WBC/hpf. Required when diarrhea is true. true or false as assigned by the caller. Ignored when diarrhea is false. magent does not read the smear.","type":"boolean"},"ua_wbc_le_10":{"description":"Urinalysis ≤10 WBC/hpf (normal urine findings as used with Dagan 1985 Rochester). true or false as assigned by the caller. magent does not read the sediment.","type":"boolean"},"wbc_k_ul":{"description":"Peripheral WBC in 10^3/µL (same as 10^9/L or 10^3/mm^3). Provide wbc_k_ul or wbc_ul. Range 0.01-500. Low-risk requires 5.0-15.0 inclusive (5000-15000/mm^3; 5.0 and 15.0 meet; 4.99 and 15.01 do not).","type":"number"},"wbc_ul":{"description":"Peripheral WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. Low-risk requires 5000-15000 inclusive (5000 and 15000 meet; 4999 and 15001 do not).","type":"number"},"well_appearing":{"description":"Well appearing / not ill appearing as assigned by the caller. true or false. magent does not examine the infant.","type":"boolean"}},"required":["age_days","previously_healthy","well_appearing","no_focal_infection","abc_ul","ua_wbc_le_10","diarrhea"],"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":["rochester","febrile-infant","emergency","sepsis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:46:40.592Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:46:40.458Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abc_ul":200,"age_days":45,"diarrhea":false,"no_focal_infection":true,"previously_healthy":true,"stool_wbc_le_5":true,"ua_wbc_le_10":true,"wbc_k_ul":8,"wbc_ul":8000,"well_appearing":true},{"abc_ul":200,"age_days":45,"diarrhea":false,"no_focal_infection":true,"previously_healthy":true,"stool_wbc_le_5":true,"ua_wbc_le_10":true,"wbc_k_ul":8,"wbc_ul":8000,"well_appearing":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abc_ul":200,"age_days":45,"citation":{"authors":"Dagan R, Powell KR, Hall CB, Menegus MA","doi":"10.1016/s0022-3476(85)80175-x","id":"dagan-1985","pmid":"4067741","source":"J Pediatr. 1985;107(6):855-860","title":"Identification of infants unlikely to have serious bacterial infection although hospitalized for suspected sepsis"},"criteria":[{"factor":"age_lt_90","met":true,"value":45},{"factor":"previously_healthy","met":true},{"factor":"well_appearing","met":true},{"factor":"no_focal_infection","met":true},{"factor":"wbc_5_to_15","met":true,"value":8000},{"factor":"abc_lt_1500","met":true,"value":200},{"factor":"ua_wbc_le_10","met":true},{"factor":"stool_ok","met":true}],"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":"rochester","formula_expression":"low_risk iff age_days < 90 and previously_healthy and well_appearing and no_focal_infection and 5000 <= wbc_ul <= 15000 and abc_ul < 1500 and ua_wbc_le_10 and (not diarrhea or stool_wbc_le_5) (Dagan 1985)","low_risk":true,"wbc_ul":8000},{"abc_ul":200,"age_days":45,"citation":{"authors":"Dagan R, Powell KR, Hall CB, Menegus MA","doi":"10.1016/s0022-3476(85)80175-x","id":"dagan-1985","pmid":"4067741","source":"J Pediatr. 1985;107(6):855-860","title":"Identification of infants unlikely to have serious bacterial infection although hospitalized for suspected sepsis"},"criteria":[{"factor":"age_lt_90","met":true,"value":45},{"factor":"previously_healthy","met":true},{"factor":"well_appearing","met":true},{"factor":"no_focal_infection","met":true},{"factor":"wbc_5_to_15","met":true,"value":8000},{"factor":"abc_lt_1500","met":true,"value":200},{"factor":"ua_wbc_le_10","met":true},{"factor":"stool_ok","met":true}],"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":"rochester","formula_expression":"low_risk iff age_days < 90 and previously_healthy and well_appearing and no_focal_infection and 5000 <= wbc_ul <= 15000 and abc_ul < 1500 and ua_wbc_le_10 and (not diarrhea or stool_wbc_le_5) (Dagan 1985)","low_risk":true,"wbc_ul":8000}],"path":"/api/calc/rochester"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abc_ul":{"description":"Absolute band count in cells/µL (same as bands/mm^3). Range 0-100000. Dagan 1985 low-risk requires less than 1500 (1499 meets; 1500 does not).","type":"number"},"age_days":{"description":"Chronological age in days (integer 0-90). Dagan 1985 studied infants younger than 3 months; low-risk requires age_days < 90 (0-89). 90 is accepted but is not low-risk.","type":"integer"},"diarrhea":{"description":"Diarrhea is present. true or false as assigned by the caller. When true, stool_wbc_le_5 is required. When false, the stool criterion holds without a stool smear.","type":"boolean"},"no_focal_infection":{"description":"No physical findings consistent with ear, soft tissue, or skeletal infection (Dagan 1985). true means none of those foci are present. true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"previously_healthy":{"description":"Previously healthy as in Dagan 1985: born at term, no perinatal complications, no previous or underlying disease, and no previous antibiotic therapy. true or false as assigned by the caller. magent does not take a birth history.","type":"boolean"},"stool_wbc_le_5":{"description":"Stool ≤5 WBC/hpf. Required when diarrhea is true. true or false as assigned by the caller. Ignored when diarrhea is false. magent does not read the smear.","type":"boolean"},"ua_wbc_le_10":{"description":"Urinalysis ≤10 WBC/hpf (normal urine findings as used with Dagan 1985 Rochester). true or false as assigned by the caller. magent does not read the sediment.","type":"boolean"},"wbc_k_ul":{"description":"Peripheral WBC in 10^3/µL (same as 10^9/L or 10^3/mm^3). Provide wbc_k_ul or wbc_ul. Range 0.01-500. Low-risk requires 5.0-15.0 inclusive (5000-15000/mm^3; 5.0 and 15.0 meet; 4.99 and 15.01 do not).","type":"number"},"wbc_ul":{"description":"Peripheral WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. Low-risk requires 5000-15000 inclusive (5000 and 15000 meet; 4999 and 15001 do not).","type":"number"},"well_appearing":{"description":"Well appearing / not ill appearing as assigned by the caller. true or false. magent does not examine the infant.","type":"boolean"}},"required":["age_days","previously_healthy","well_appearing","no_focal_infection","abc_ul","ua_wbc_le_10","diarrhea"],"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},{"id":38857,"slug":"38857","resource":"https://api.magentlab.com/api/calc/riske","description":"Olmos 2017 RISK-E (Risk-Endocarditis) for in-hospital mortality after cardiac surgery in active left-sided IE. Age <=51: 0; 52-63: 9; 64-72: 13; >=73: 14. Flags: prosthetic_infection +6, periannular_complications +5, staphylococcus_aureus_or_fungi +9, acute_renal_failure +5, septic_shock +7, cardiogenic_shock +15, thrombocytopenia +7. Returns score and max_score 68 only. Not a diagnosis or surgery decision. magent does not examine the valve or read echo.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_renal_failure":false,"age":50,"cardiogenic_shock":false,"periannular_complications":false,"prosthetic_infection":false,"septic_shock":false,"staphylococcus_aureus_or_fungi":false,"thrombocytopenia":false},{"acute_renal_failure":false,"age":50,"cardiogenic_shock":false,"periannular_complications":false,"prosthetic_infection":false,"septic_shock":false,"staphylococcus_aureus_or_fungi":false,"thrombocytopenia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Olmos C, Vilacosta I, Fernández C, et al.","doi":"10.1136/heartjnl-2016-311093","id":"olmos-2017","pmid":"28432158","source":"Heart. 2017;103(18):1435-1442","title":"Risk score for cardiac surgery in active left-sided infective endocarditis"},"components":[{"factor":"age","points":0,"present":true,"value":50},{"factor":"prosthetic_infection","points":0,"present":false},{"factor":"periannular_complications","points":0,"present":false},{"factor":"staphylococcus_aureus_or_fungi","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"septic_shock","points":0,"present":false},{"factor":"cardiogenic_shock","points":0,"present":false},{"factor":"thrombocytopenia","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":"riske","formula_expression":"RISK-E = age (<=51: 0, 52-63: 9, 64-72: 13, >=73: 14) + prosthetic_infection 6 + periannular_complications 5 + staphylococcus_aureus_or_fungi 9 + acute_renal_failure 5 + septic_shock 7 + cardiogenic_shock 15 + thrombocytopenia 7; max 68. Score and max_score only; not a mortality percent. Olmos 2017 Table 2 and Table 3. Not Park 2016. Not Duke","max_score":68,"score":0},{"age_years":50,"citation":{"authors":"Olmos C, Vilacosta I, Fernández C, et al.","doi":"10.1136/heartjnl-2016-311093","id":"olmos-2017","pmid":"28432158","source":"Heart. 2017;103(18):1435-1442","title":"Risk score for cardiac surgery in active left-sided infective endocarditis"},"components":[{"factor":"age","points":0,"present":true,"value":50},{"factor":"prosthetic_infection","points":0,"present":false},{"factor":"periannular_complications","points":0,"present":false},{"factor":"staphylococcus_aureus_or_fungi","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"septic_shock","points":0,"present":false},{"factor":"cardiogenic_shock","points":0,"present":false},{"factor":"thrombocytopenia","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":"riske","formula_expression":"RISK-E = age (<=51: 0, 52-63: 9, 64-72: 13, >=73: 14) + prosthetic_infection 6 + periannular_complications 5 + staphylococcus_aureus_or_fungi 9 + acute_renal_failure 5 + septic_shock 7 + cardiogenic_shock 15 + thrombocytopenia 7; max 68. Score and max_score only; not a mortality percent. Olmos 2017 Table 2 and Table 3. Not Park 2016. Not Duke","max_score":68,"score":0}],"path":"/api/calc/riske"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_renal_failure":{"description":"Acute renal failure as assigned by the caller (Olmos 2017; GFR <60 mL/min/1.73 m2 in the derivation). true or false. +5 if true. magent does not compute GFR.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). Olmos 2017: <=51 scores 0; 52-63 scores 9; 64-72 scores 13; >=73 scores 14. Age 51 scores 0; 52 scores 9; 63 scores 9; 64 scores 13; 72 scores 13; 73 scores 14. magent does not examine the patient.","type":"integer"},"cardiogenic_shock":{"description":"Cardiogenic shock as assigned by the caller (Olmos 2017). true or false. +15 if true. magent does not diagnose shock or decide surgery.","type":"boolean"},"periannular_complications":{"description":"Periannular complications (abscess, pseudoaneurysm, fistula, or prosthetic dehiscence) as assigned by the caller (Olmos 2017). true or false. +5 if true. magent does not read echocardiography.","type":"boolean"},"prosthetic_infection":{"description":"Prosthetic-valve infection as assigned by the caller (Olmos 2017). true or false. +6 if true. magent does not examine the valve.","type":"boolean"},"septic_shock":{"description":"Septic shock as assigned by the caller (Olmos 2017). true or false. +7 if true. magent does not diagnose shock.","type":"boolean"},"staphylococcus_aureus_or_fungi":{"description":"Staphylococcus aureus or fungi as assigned by the caller (Olmos 2017 virulent microorganism). true or false. +9 if true. magent does not interpret cultures.","type":"boolean"},"thrombocytopenia":{"description":"Thrombocytopenia as assigned by the caller (Olmos 2017 thrombocytopaenia, <150000 platelets/mm3). true or false. +7 if true. magent does not interpret a platelet count.","type":"boolean"}},"required":["age","prosthetic_infection","periannular_complications","staphylococcus_aureus_or_fungi","acute_renal_failure","septic_shock","cardiogenic_shock","thrombocytopenia"],"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":["riske","endocarditis","cardiac-surgery","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:42:11.708Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:42:11.585Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_renal_failure":false,"age":50,"cardiogenic_shock":false,"periannular_complications":false,"prosthetic_infection":false,"septic_shock":false,"staphylococcus_aureus_or_fungi":false,"thrombocytopenia":false},{"acute_renal_failure":false,"age":50,"cardiogenic_shock":false,"periannular_complications":false,"prosthetic_infection":false,"septic_shock":false,"staphylococcus_aureus_or_fungi":false,"thrombocytopenia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Olmos C, Vilacosta I, Fernández C, et al.","doi":"10.1136/heartjnl-2016-311093","id":"olmos-2017","pmid":"28432158","source":"Heart. 2017;103(18):1435-1442","title":"Risk score for cardiac surgery in active left-sided infective endocarditis"},"components":[{"factor":"age","points":0,"present":true,"value":50},{"factor":"prosthetic_infection","points":0,"present":false},{"factor":"periannular_complications","points":0,"present":false},{"factor":"staphylococcus_aureus_or_fungi","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"septic_shock","points":0,"present":false},{"factor":"cardiogenic_shock","points":0,"present":false},{"factor":"thrombocytopenia","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":"riske","formula_expression":"RISK-E = age (<=51: 0, 52-63: 9, 64-72: 13, >=73: 14) + prosthetic_infection 6 + periannular_complications 5 + staphylococcus_aureus_or_fungi 9 + acute_renal_failure 5 + septic_shock 7 + cardiogenic_shock 15 + thrombocytopenia 7; max 68. Score and max_score only; not a mortality percent. Olmos 2017 Table 2 and Table 3. Not Park 2016. Not Duke","max_score":68,"score":0},{"age_years":50,"citation":{"authors":"Olmos C, Vilacosta I, Fernández C, et al.","doi":"10.1136/heartjnl-2016-311093","id":"olmos-2017","pmid":"28432158","source":"Heart. 2017;103(18):1435-1442","title":"Risk score for cardiac surgery in active left-sided infective endocarditis"},"components":[{"factor":"age","points":0,"present":true,"value":50},{"factor":"prosthetic_infection","points":0,"present":false},{"factor":"periannular_complications","points":0,"present":false},{"factor":"staphylococcus_aureus_or_fungi","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"septic_shock","points":0,"present":false},{"factor":"cardiogenic_shock","points":0,"present":false},{"factor":"thrombocytopenia","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":"riske","formula_expression":"RISK-E = age (<=51: 0, 52-63: 9, 64-72: 13, >=73: 14) + prosthetic_infection 6 + periannular_complications 5 + staphylococcus_aureus_or_fungi 9 + acute_renal_failure 5 + septic_shock 7 + cardiogenic_shock 15 + thrombocytopenia 7; max 68. Score and max_score only; not a mortality percent. Olmos 2017 Table 2 and Table 3. Not Park 2016. Not Duke","max_score":68,"score":0}],"path":"/api/calc/riske"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_renal_failure":{"description":"Acute renal failure as assigned by the caller (Olmos 2017; GFR <60 mL/min/1.73 m2 in the derivation). true or false. +5 if true. magent does not compute GFR.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). Olmos 2017: <=51 scores 0; 52-63 scores 9; 64-72 scores 13; >=73 scores 14. Age 51 scores 0; 52 scores 9; 63 scores 9; 64 scores 13; 72 scores 13; 73 scores 14. magent does not examine the patient.","type":"integer"},"cardiogenic_shock":{"description":"Cardiogenic shock as assigned by the caller (Olmos 2017). true or false. +15 if true. magent does not diagnose shock or decide surgery.","type":"boolean"},"periannular_complications":{"description":"Periannular complications (abscess, pseudoaneurysm, fistula, or prosthetic dehiscence) as assigned by the caller (Olmos 2017). true or false. +5 if true. magent does not read echocardiography.","type":"boolean"},"prosthetic_infection":{"description":"Prosthetic-valve infection as assigned by the caller (Olmos 2017). true or false. +6 if true. magent does not examine the valve.","type":"boolean"},"septic_shock":{"description":"Septic shock as assigned by the caller (Olmos 2017). true or false. +7 if true. magent does not diagnose shock.","type":"boolean"},"staphylococcus_aureus_or_fungi":{"description":"Staphylococcus aureus or fungi as assigned by the caller (Olmos 2017 virulent microorganism). true or false. +9 if true. magent does not interpret cultures.","type":"boolean"},"thrombocytopenia":{"description":"Thrombocytopenia as assigned by the caller (Olmos 2017 thrombocytopaenia, <150000 platelets/mm3). true or false. +7 if true. magent does not interpret a platelet count.","type":"boolean"}},"required":["age","prosthetic_infection","periannular_complications","staphylococcus_aureus_or_fungi","acute_renal_failure","septic_shock","cardiogenic_shock","thrombocytopenia"],"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},{"id":38858,"slug":"38858","resource":"https://api.magentlab.com/api/calc/ripasa","description":"Chong 2010 RIPASA score from 15 caller-assigned findings (half-points; max 16). Age <40 scores 1.0, ≥40 scores 0.5; male 1.0, female 0.5; symptoms <48h 1.0, otherwise 0.5. Guarding and Rovsing 2.0 each. Fever, raised WCC, and foreign NRIC are caller-assigned; magent does not apply a °C or WBC cutoff. Derivation ROC: <7.5 below_cutoff, ≥7.5 at_or_above_cutoff. Not a diagnosis or operating-room protocol. magent does not examine the abdomen.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"anorexia":false,"fever":false,"foreign_nric":false,"guarding":false,"migration_to_rif":false,"nausea_vomiting":false,"negative_urinalysis":false,"raised_wcc":false,"rebound_tenderness":false,"rif_pain":false,"rif_tenderness":false,"rovsing_sign":false,"sex":"female","symptoms_lt_48h":false},{"age":50,"anorexia":false,"fever":false,"foreign_nric":false,"guarding":false,"migration_to_rif":false,"nausea_vomiting":false,"negative_urinalysis":false,"raised_wcc":false,"rebound_tenderness":false,"rif_pain":false,"rif_tenderness":false,"rovsing_sign":false,"sex":"female","symptoms_lt_48h":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"citation":{"authors":"Chong CF, Adi MIW, Thien A, Suyoi A, Mackie AJ, Tin AS, Tripathi S, Jaman NH, Tan KK, Kok KY, Mathew VV, Paw O, Chua HB, Yapp SK","id":"chong-2010","pmid":"20428744","source":"Singapore Med J. 2010;51(3):220-225","title":"Development of the RIPASA score: a new appendicitis scoring system for the diagnosis of acute appendicitis"},"components":[{"factor":"age","points":0.5,"present":true,"value":50},{"factor":"sex","points":0.5,"present":true,"value":"female"},{"factor":"rif_pain","points":0,"present":false},{"factor":"migration_to_rif","points":0,"present":false},{"factor":"nausea_vomiting","points":0,"present":false},{"factor":"anorexia","points":0,"present":false},{"factor":"symptoms_lt_48h","points":0.5,"present":true,"value":false},{"factor":"rif_tenderness","points":0,"present":false},{"factor":"guarding","points":0,"present":false},{"factor":"rebound_tenderness","points":0,"present":false},{"factor":"rovsing_sign","points":0,"present":false},{"factor":"fever","points":0,"present":false},{"factor":"raised_wcc","points":0,"present":false},{"factor":"negative_urinalysis","points":0,"present":false},{"factor":"foreign_nric","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":"ripasa","formula_expression":"RIPASA = (age<40 → 1.0; age≥40 → 0.5) + (male 1.0; female 0.5) + 0.5*rif_pain + 0.5*migration_to_rif + nausea_vomiting + anorexia + (symptoms_lt_48h 1.0; else 0.5) + rif_tenderness + 2*guarding + rebound_tenderness + 2*rovsing_sign + fever + raised_wcc + negative_urinalysis + foreign_nric; Chong 2010; max 16; <7.5 below_cutoff, ≥7.5 at_or_above_cutoff","max_score":16,"ripasa_band":"below_cutoff","score":1.5,"sex":"female"},{"age":50,"citation":{"authors":"Chong CF, Adi MIW, Thien A, Suyoi A, Mackie AJ, Tin AS, Tripathi S, Jaman NH, Tan KK, Kok KY, Mathew VV, Paw O, Chua HB, Yapp SK","id":"chong-2010","pmid":"20428744","source":"Singapore Med J. 2010;51(3):220-225","title":"Development of the RIPASA score: a new appendicitis scoring system for the diagnosis of acute appendicitis"},"components":[{"factor":"age","points":0.5,"present":true,"value":50},{"factor":"sex","points":0.5,"present":true,"value":"female"},{"factor":"rif_pain","points":0,"present":false},{"factor":"migration_to_rif","points":0,"present":false},{"factor":"nausea_vomiting","points":0,"present":false},{"factor":"anorexia","points":0,"present":false},{"factor":"symptoms_lt_48h","points":0.5,"present":true,"value":false},{"factor":"rif_tenderness","points":0,"present":false},{"factor":"guarding","points":0,"present":false},{"factor":"rebound_tenderness","points":0,"present":false},{"factor":"rovsing_sign","points":0,"present":false},{"factor":"fever","points":0,"present":false},{"factor":"raised_wcc","points":0,"present":false},{"factor":"negative_urinalysis","points":0,"present":false},{"factor":"foreign_nric","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":"ripasa","formula_expression":"RIPASA = (age<40 → 1.0; age≥40 → 0.5) + (male 1.0; female 0.5) + 0.5*rif_pain + 0.5*migration_to_rif + nausea_vomiting + anorexia + (symptoms_lt_48h 1.0; else 0.5) + rif_tenderness + 2*guarding + rebound_tenderness + 2*rovsing_sign + fever + raised_wcc + negative_urinalysis + foreign_nric; Chong 2010; max 16; <7.5 below_cutoff, ≥7.5 at_or_above_cutoff","max_score":16,"ripasa_band":"below_cutoff","score":1.5,"sex":"female"}],"path":"/api/calc/ripasa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years as an integer from 1 to 120 (Chong 2010). <40 scores 1.0; ≥40 scores 0.5 (age 40 is the ≥40 arm). magent does not assign age.","type":"integer"},"anorexia":{"description":"Anorexia (Chong 2010). true scores 1.0. magent does not take a history.","type":"boolean"},"fever":{"description":"Caller-assigned fever flag (Chong 2010). true scores 1.0. magent does not apply a °C cutoff.","type":"boolean"},"foreign_nric":{"description":"Caller-assigned foreign national registration identity card item (Chong 2010). true scores 1.0. magent does not read identity documents.","type":"boolean"},"guarding":{"description":"Guarding (Chong 2010). true scores 2.0. magent does not examine the abdomen.","type":"boolean"},"migration_to_rif":{"description":"Migration of pain to the right iliac fossa (Chong 2010). true scores 0.5. magent does not take a history.","type":"boolean"},"nausea_vomiting":{"description":"Nausea or vomiting (Chong 2010). true scores 1.0. magent does not take a history.","type":"boolean"},"negative_urinalysis":{"description":"Negative urinalysis (Chong 2010). true scores 1.0. magent does not assay urine.","type":"boolean"},"raised_wcc":{"description":"Caller-assigned raised white-cell-count flag (Chong 2010). true scores 1.0. magent does not apply a WBC cutoff.","type":"boolean"},"rebound_tenderness":{"description":"Rebound tenderness (Chong 2010). true scores 1.0. magent does not examine the abdomen.","type":"boolean"},"rif_pain":{"description":"Pain in the right iliac fossa (Chong 2010). true scores 0.5. magent does not take a history.","type":"boolean"},"rif_tenderness":{"description":"Right-iliac-fossa tenderness (Chong 2010). true scores 1.0. magent does not examine the abdomen.","type":"boolean"},"rovsing_sign":{"description":"Rovsing sign (Chong 2010). true scores 2.0. magent does not examine the abdomen.","type":"boolean"},"sex":{"description":"Caller-assigned sex (Chong 2010). male scores 1.0; female scores 0.5. magent does not assign sex.","enum":["female","male"],"type":"string"},"symptoms_lt_48h":{"description":"true when symptom duration is under 48 hours (Chong 2010 <48h arm, 1.0). false scores 0.5 (the >48h arm; 48 hours is locked to this arm). magent does not timestamp onset.","type":"boolean"}},"required":["age","sex","rif_pain","migration_to_rif","nausea_vomiting","anorexia","symptoms_lt_48h","rif_tenderness","guarding","rebound_tenderness","rovsing_sign","fever","raised_wcc","negative_urinalysis","foreign_nric"],"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":["ripasa","appendicitis","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:42:10.221Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:42:10.053Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"anorexia":false,"fever":false,"foreign_nric":false,"guarding":false,"migration_to_rif":false,"nausea_vomiting":false,"negative_urinalysis":false,"raised_wcc":false,"rebound_tenderness":false,"rif_pain":false,"rif_tenderness":false,"rovsing_sign":false,"sex":"female","symptoms_lt_48h":false},{"age":50,"anorexia":false,"fever":false,"foreign_nric":false,"guarding":false,"migration_to_rif":false,"nausea_vomiting":false,"negative_urinalysis":false,"raised_wcc":false,"rebound_tenderness":false,"rif_pain":false,"rif_tenderness":false,"rovsing_sign":false,"sex":"female","symptoms_lt_48h":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"citation":{"authors":"Chong CF, Adi MIW, Thien A, Suyoi A, Mackie AJ, Tin AS, Tripathi S, Jaman NH, Tan KK, Kok KY, Mathew VV, Paw O, Chua HB, Yapp SK","id":"chong-2010","pmid":"20428744","source":"Singapore Med J. 2010;51(3):220-225","title":"Development of the RIPASA score: a new appendicitis scoring system for the diagnosis of acute appendicitis"},"components":[{"factor":"age","points":0.5,"present":true,"value":50},{"factor":"sex","points":0.5,"present":true,"value":"female"},{"factor":"rif_pain","points":0,"present":false},{"factor":"migration_to_rif","points":0,"present":false},{"factor":"nausea_vomiting","points":0,"present":false},{"factor":"anorexia","points":0,"present":false},{"factor":"symptoms_lt_48h","points":0.5,"present":true,"value":false},{"factor":"rif_tenderness","points":0,"present":false},{"factor":"guarding","points":0,"present":false},{"factor":"rebound_tenderness","points":0,"present":false},{"factor":"rovsing_sign","points":0,"present":false},{"factor":"fever","points":0,"present":false},{"factor":"raised_wcc","points":0,"present":false},{"factor":"negative_urinalysis","points":0,"present":false},{"factor":"foreign_nric","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":"ripasa","formula_expression":"RIPASA = (age<40 → 1.0; age≥40 → 0.5) + (male 1.0; female 0.5) + 0.5*rif_pain + 0.5*migration_to_rif + nausea_vomiting + anorexia + (symptoms_lt_48h 1.0; else 0.5) + rif_tenderness + 2*guarding + rebound_tenderness + 2*rovsing_sign + fever + raised_wcc + negative_urinalysis + foreign_nric; Chong 2010; max 16; <7.5 below_cutoff, ≥7.5 at_or_above_cutoff","max_score":16,"ripasa_band":"below_cutoff","score":1.5,"sex":"female"},{"age":50,"citation":{"authors":"Chong CF, Adi MIW, Thien A, Suyoi A, Mackie AJ, Tin AS, Tripathi S, Jaman NH, Tan KK, Kok KY, Mathew VV, Paw O, Chua HB, Yapp SK","id":"chong-2010","pmid":"20428744","source":"Singapore Med J. 2010;51(3):220-225","title":"Development of the RIPASA score: a new appendicitis scoring system for the diagnosis of acute appendicitis"},"components":[{"factor":"age","points":0.5,"present":true,"value":50},{"factor":"sex","points":0.5,"present":true,"value":"female"},{"factor":"rif_pain","points":0,"present":false},{"factor":"migration_to_rif","points":0,"present":false},{"factor":"nausea_vomiting","points":0,"present":false},{"factor":"anorexia","points":0,"present":false},{"factor":"symptoms_lt_48h","points":0.5,"present":true,"value":false},{"factor":"rif_tenderness","points":0,"present":false},{"factor":"guarding","points":0,"present":false},{"factor":"rebound_tenderness","points":0,"present":false},{"factor":"rovsing_sign","points":0,"present":false},{"factor":"fever","points":0,"present":false},{"factor":"raised_wcc","points":0,"present":false},{"factor":"negative_urinalysis","points":0,"present":false},{"factor":"foreign_nric","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":"ripasa","formula_expression":"RIPASA = (age<40 → 1.0; age≥40 → 0.5) + (male 1.0; female 0.5) + 0.5*rif_pain + 0.5*migration_to_rif + nausea_vomiting + anorexia + (symptoms_lt_48h 1.0; else 0.5) + rif_tenderness + 2*guarding + rebound_tenderness + 2*rovsing_sign + fever + raised_wcc + negative_urinalysis + foreign_nric; Chong 2010; max 16; <7.5 below_cutoff, ≥7.5 at_or_above_cutoff","max_score":16,"ripasa_band":"below_cutoff","score":1.5,"sex":"female"}],"path":"/api/calc/ripasa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years as an integer from 1 to 120 (Chong 2010). <40 scores 1.0; ≥40 scores 0.5 (age 40 is the ≥40 arm). magent does not assign age.","type":"integer"},"anorexia":{"description":"Anorexia (Chong 2010). true scores 1.0. magent does not take a history.","type":"boolean"},"fever":{"description":"Caller-assigned fever flag (Chong 2010). true scores 1.0. magent does not apply a °C cutoff.","type":"boolean"},"foreign_nric":{"description":"Caller-assigned foreign national registration identity card item (Chong 2010). true scores 1.0. magent does not read identity documents.","type":"boolean"},"guarding":{"description":"Guarding (Chong 2010). true scores 2.0. magent does not examine the abdomen.","type":"boolean"},"migration_to_rif":{"description":"Migration of pain to the right iliac fossa (Chong 2010). true scores 0.5. magent does not take a history.","type":"boolean"},"nausea_vomiting":{"description":"Nausea or vomiting (Chong 2010). true scores 1.0. magent does not take a history.","type":"boolean"},"negative_urinalysis":{"description":"Negative urinalysis (Chong 2010). true scores 1.0. magent does not assay urine.","type":"boolean"},"raised_wcc":{"description":"Caller-assigned raised white-cell-count flag (Chong 2010). true scores 1.0. magent does not apply a WBC cutoff.","type":"boolean"},"rebound_tenderness":{"description":"Rebound tenderness (Chong 2010). true scores 1.0. magent does not examine the abdomen.","type":"boolean"},"rif_pain":{"description":"Pain in the right iliac fossa (Chong 2010). true scores 0.5. magent does not take a history.","type":"boolean"},"rif_tenderness":{"description":"Right-iliac-fossa tenderness (Chong 2010). true scores 1.0. magent does not examine the abdomen.","type":"boolean"},"rovsing_sign":{"description":"Rovsing sign (Chong 2010). true scores 2.0. magent does not examine the abdomen.","type":"boolean"},"sex":{"description":"Caller-assigned sex (Chong 2010). male scores 1.0; female scores 0.5. magent does not assign sex.","enum":["female","male"],"type":"string"},"symptoms_lt_48h":{"description":"true when symptom duration is under 48 hours (Chong 2010 <48h arm, 1.0). false scores 0.5 (the >48h arm; 48 hours is locked to this arm). magent does not timestamp onset.","type":"boolean"}},"required":["age","sex","rif_pain","migration_to_rif","nausea_vomiting","anorexia","symptoms_lt_48h","rif_tenderness","guarding","rebound_tenderness","rovsing_sign","fever","raised_wcc","negative_urinalysis","foreign_nric"],"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},{"id":38859,"slug":"38859","resource":"https://api.magentlab.com/api/calc/rip","description":"Hevesi 2019 Recurrent Instability of the Patella (RIP) after first-time dislocation. Age <25 scores 2; skeletal immaturity / open physes 1; trochlear dysplasia Dejour A–D (caller-assigned present) 1; TT-TG/PL ratio ≥0.5 scores 1. Max 5. Bands 0–1 low, 2–3 intermediate, 4+ high (10-year recurrent instability 0.0%, 30.6%, 79.2%). Not a surgical order. Not Balcarek 2013 or later PIP models. magent does not read radiographs.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"skeletal_immature":false,"trochlear_dysplasia":false,"tt_tg_pl_ratio":0.3},{"age":40,"skeletal_immature":false,"trochlear_dysplasia":false,"tt_tg_pl_ratio":0.3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"citation":{"authors":"Hevesi M, Heidenreich MJ, Camp CL, Hewett TE, Stuart MJ, Dahm DL, Krych AJ","doi":"10.1016/j.arthro.2018.09.017","id":"hevesi-2019","pmid":"30612768","source":"Arthroscopy. 2019;35(3):953-960","title":"The Recurrent Instability of the Patella Score: A Statistically Based Model for Prediction of Long-Term Recurrence Risk After First-Time Dislocation"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"skeletal_immature","points":0,"present":false},{"factor":"trochlear_dysplasia","points":0,"present":false},{"factor":"tt_tg_pl_ratio","points":0,"present":false,"value":0.3}],"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":"rip","formula_expression":"RIP = age_points (<25 → 2, ≥25 → 0) + skeletal_immature 1 + trochlear_dysplasia 1 + (tt_tg_pl_ratio ≥ 0.5 → 1); Hevesi 2019; max 5; risk 0-1 low, 2-3 intermediate, 4+ high (10-year recurrent instability 0.0% / 30.6% / 79.2%)","max_score":5,"risk":"low","score":0,"skeletal_immature":false,"trochlear_dysplasia":false,"tt_tg_pl_ratio":0.3},{"age":40,"citation":{"authors":"Hevesi M, Heidenreich MJ, Camp CL, Hewett TE, Stuart MJ, Dahm DL, Krych AJ","doi":"10.1016/j.arthro.2018.09.017","id":"hevesi-2019","pmid":"30612768","source":"Arthroscopy. 2019;35(3):953-960","title":"The Recurrent Instability of the Patella Score: A Statistically Based Model for Prediction of Long-Term Recurrence Risk After First-Time Dislocation"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"skeletal_immature","points":0,"present":false},{"factor":"trochlear_dysplasia","points":0,"present":false},{"factor":"tt_tg_pl_ratio","points":0,"present":false,"value":0.3}],"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":"rip","formula_expression":"RIP = age_points (<25 → 2, ≥25 → 0) + skeletal_immature 1 + trochlear_dysplasia 1 + (tt_tg_pl_ratio ≥ 0.5 → 1); Hevesi 2019; max 5; risk 0-1 low, 2-3 intermediate, 4+ high (10-year recurrent instability 0.0% / 30.6% / 79.2%)","max_score":5,"risk":"low","score":0,"skeletal_immature":false,"trochlear_dysplasia":false,"tt_tg_pl_ratio":0.3}],"path":"/api/calc/rip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 8-80; magent clamp, not a published range). Hevesi 2019: age <25 → 2 points; age ≥25 → 0. magent does not assign age.","type":"integer"},"skeletal_immature":{"description":"Caller-assigned skeletal immaturity / open physes (Hevesi 2019). true scores 1. magent does not read radiographs or assign physeal status. true or false.","type":"boolean"},"trochlear_dysplasia":{"description":"Caller-assigned trochlear dysplasia Dejour A–D present (Hevesi 2019). true scores 1. magent does not grade trochlea or read radiographs. true or false.","type":"boolean"},"tt_tg_pl_ratio":{"description":"Caller-assigned tibial tubercle–trochlear groove / patellar length (TT-TG/PL) ratio (Hevesi 2019). ≥0.5 inclusive scores 1. Magent clamp 0.1-2.0, not a published range. magent does not measure TT-TG or patellar length.","type":"number"}},"required":["age","skeletal_immature","trochlear_dysplasia","tt_tg_pl_ratio"],"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":["rip","patella","dislocation","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:42:08.389Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:42:08.256Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"skeletal_immature":false,"trochlear_dysplasia":false,"tt_tg_pl_ratio":0.3},{"age":40,"skeletal_immature":false,"trochlear_dysplasia":false,"tt_tg_pl_ratio":0.3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"citation":{"authors":"Hevesi M, Heidenreich MJ, Camp CL, Hewett TE, Stuart MJ, Dahm DL, Krych AJ","doi":"10.1016/j.arthro.2018.09.017","id":"hevesi-2019","pmid":"30612768","source":"Arthroscopy. 2019;35(3):953-960","title":"The Recurrent Instability of the Patella Score: A Statistically Based Model for Prediction of Long-Term Recurrence Risk After First-Time Dislocation"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"skeletal_immature","points":0,"present":false},{"factor":"trochlear_dysplasia","points":0,"present":false},{"factor":"tt_tg_pl_ratio","points":0,"present":false,"value":0.3}],"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":"rip","formula_expression":"RIP = age_points (<25 → 2, ≥25 → 0) + skeletal_immature 1 + trochlear_dysplasia 1 + (tt_tg_pl_ratio ≥ 0.5 → 1); Hevesi 2019; max 5; risk 0-1 low, 2-3 intermediate, 4+ high (10-year recurrent instability 0.0% / 30.6% / 79.2%)","max_score":5,"risk":"low","score":0,"skeletal_immature":false,"trochlear_dysplasia":false,"tt_tg_pl_ratio":0.3},{"age":40,"citation":{"authors":"Hevesi M, Heidenreich MJ, Camp CL, Hewett TE, Stuart MJ, Dahm DL, Krych AJ","doi":"10.1016/j.arthro.2018.09.017","id":"hevesi-2019","pmid":"30612768","source":"Arthroscopy. 2019;35(3):953-960","title":"The Recurrent Instability of the Patella Score: A Statistically Based Model for Prediction of Long-Term Recurrence Risk After First-Time Dislocation"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"skeletal_immature","points":0,"present":false},{"factor":"trochlear_dysplasia","points":0,"present":false},{"factor":"tt_tg_pl_ratio","points":0,"present":false,"value":0.3}],"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":"rip","formula_expression":"RIP = age_points (<25 → 2, ≥25 → 0) + skeletal_immature 1 + trochlear_dysplasia 1 + (tt_tg_pl_ratio ≥ 0.5 → 1); Hevesi 2019; max 5; risk 0-1 low, 2-3 intermediate, 4+ high (10-year recurrent instability 0.0% / 30.6% / 79.2%)","max_score":5,"risk":"low","score":0,"skeletal_immature":false,"trochlear_dysplasia":false,"tt_tg_pl_ratio":0.3}],"path":"/api/calc/rip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 8-80; magent clamp, not a published range). Hevesi 2019: age <25 → 2 points; age ≥25 → 0. magent does not assign age.","type":"integer"},"skeletal_immature":{"description":"Caller-assigned skeletal immaturity / open physes (Hevesi 2019). true scores 1. magent does not read radiographs or assign physeal status. true or false.","type":"boolean"},"trochlear_dysplasia":{"description":"Caller-assigned trochlear dysplasia Dejour A–D present (Hevesi 2019). true scores 1. magent does not grade trochlea or read radiographs. true or false.","type":"boolean"},"tt_tg_pl_ratio":{"description":"Caller-assigned tibial tubercle–trochlear groove / patellar length (TT-TG/PL) ratio (Hevesi 2019). ≥0.5 inclusive scores 1. Magent clamp 0.1-2.0, not a published range. magent does not measure TT-TG or patellar length.","type":"number"}},"required":["age","skeletal_immature","trochlear_dysplasia","tt_tg_pl_ratio"],"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},{"id":38860,"slug":"38860","resource":"https://api.magentlab.com/api/calc/rifle","description":"RIFLE 2004 (Bellomo Fig. 1) class from baseline and current creatinine in mg/dL and a caller-assigned urine-output category. Class is the worse of the two limbs; persistent ARF >4 weeks is Loss and >3 months is ESRD. magent does not assay creatinine, measure urine, or estimate baseline with MDRD. Not a medical device, not a diagnosis, not AKIN 2007, and not KDIGO 2012.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"baseline_creatinine_mg_dl":1,"current_creatinine_mg_dl":1,"esrd_gt_3_months":false,"persistent_arf_gt_4_weeks":false,"urine_output":"none"},{"baseline_creatinine_mg_dl":1,"current_creatinine_mg_dl":1,"esrd_gt_3_months":false,"persistent_arf_gt_4_weeks":false,"urine_output":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Bellomo R, Ronco C, Kellum JA, Mehta RL, Palevsky P, and the ADQI workgroup","doi":"10.1186/cc2872","id":"bellomo-2004","pmid":"15312219","source":"Crit Care. 2004;8(4):R204-R212","title":"Acute renal failure - definition, outcome measures, animal models, fluid therapy and information technology needs: the Second International Consensus Conference of the Acute Dialysis Quality Initiative (ADQI) Group"},"components":[{"factor":"creat_class","met":false,"value":"none"},{"factor":"uo_class","met":false,"value":"none"}],"creat_class":"none","current_creatinine_mg_dl":1,"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.","esrd_gt_3_months":false,"formula":"rifle","formula_expression":"RIFLE class = esrd if ESRD >3 months, else loss if persistent ARF >4 weeks, else worse of creatinine vs urine (none < risk < injury < failure). Creatinine vs baseline (unrounded mg/dL): Failure if ratio ≥3.0 or (current ≥4.0 mg/dL and increase ≥0.5 mg/dL); Injury if ratio ≥2.0; Risk if ratio ≥1.5. GFR % decrease (Risk >25%, Injury >50%, Failure >75%) is equivalent to those creatinine multiples. Urine (caller-assigned): none → none; oliguria_gt_6h → Risk; oliguria_gt_12h → Injury; oliguria_24h_or_anuria_12h → Failure (Bellomo 2004 Fig. 1)","persistent_arf_gt_4_weeks":false,"rifle_class":"none","uo_class":"none","urine_output":"none"},{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Bellomo R, Ronco C, Kellum JA, Mehta RL, Palevsky P, and the ADQI workgroup","doi":"10.1186/cc2872","id":"bellomo-2004","pmid":"15312219","source":"Crit Care. 2004;8(4):R204-R212","title":"Acute renal failure - definition, outcome measures, animal models, fluid therapy and information technology needs: the Second International Consensus Conference of the Acute Dialysis Quality Initiative (ADQI) Group"},"components":[{"factor":"creat_class","met":false,"value":"none"},{"factor":"uo_class","met":false,"value":"none"}],"creat_class":"none","current_creatinine_mg_dl":1,"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.","esrd_gt_3_months":false,"formula":"rifle","formula_expression":"RIFLE class = esrd if ESRD >3 months, else loss if persistent ARF >4 weeks, else worse of creatinine vs urine (none < risk < injury < failure). Creatinine vs baseline (unrounded mg/dL): Failure if ratio ≥3.0 or (current ≥4.0 mg/dL and increase ≥0.5 mg/dL); Injury if ratio ≥2.0; Risk if ratio ≥1.5. GFR % decrease (Risk >25%, Injury >50%, Failure >75%) is equivalent to those creatinine multiples. Urine (caller-assigned): none → none; oliguria_gt_6h → Risk; oliguria_gt_12h → Injury; oliguria_24h_or_anuria_12h → Failure (Bellomo 2004 Fig. 1)","persistent_arf_gt_4_weeks":false,"rifle_class":"none","uo_class":"none","urine_output":"none"}],"path":"/api/calc/rifle"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"baseline_creatinine_mg_dl":{"description":"Baseline serum creatinine in mg/dL (0.1-20). Classification uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"current_creatinine_mg_dl":{"description":"Current serum creatinine in mg/dL (0.1-20). Classification uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"esrd_gt_3_months":{"description":"End-stage kidney disease for more than 3 months as assigned by the caller (Bellomo 2004 ESRD). true maps to rifle_class esrd irrespective of creatinine, urine, or Loss. true or false.","type":"boolean"},"persistent_arf_gt_4_weeks":{"description":"Persistent complete loss of kidney function for more than 4 weeks as assigned by the caller (Bellomo 2004 Loss). true maps to rifle_class loss unless esrd_gt_3_months is true. true or false.","type":"boolean"},"urine_output":{"description":"Caller-assigned RIFLE urine-output category (Bellomo 2004 Fig. 1): none (no oliguria or anuria criterion); oliguria_gt_6h (<0.5 mL/kg/h for 6 hours); oliguria_gt_12h (<0.5 mL/kg/h for 12 hours); oliguria_24h_or_anuria_12h (<0.3 mL/kg/h for 24 hours or anuria for 12 hours). Case-insensitive. magent does not collect weight or measure urine.","enum":["none","oliguria_gt_6h","oliguria_gt_12h","oliguria_24h_or_anuria_12h"],"type":"string"}},"required":["baseline_creatinine_mg_dl","current_creatinine_mg_dl","urine_output","persistent_arf_gt_4_weeks","esrd_gt_3_months"],"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":["rifle","aki","kidney","creatinine","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:36:48.657Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:36:48.547Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"baseline_creatinine_mg_dl":1,"current_creatinine_mg_dl":1,"esrd_gt_3_months":false,"persistent_arf_gt_4_weeks":false,"urine_output":"none"},{"baseline_creatinine_mg_dl":1,"current_creatinine_mg_dl":1,"esrd_gt_3_months":false,"persistent_arf_gt_4_weeks":false,"urine_output":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Bellomo R, Ronco C, Kellum JA, Mehta RL, Palevsky P, and the ADQI workgroup","doi":"10.1186/cc2872","id":"bellomo-2004","pmid":"15312219","source":"Crit Care. 2004;8(4):R204-R212","title":"Acute renal failure - definition, outcome measures, animal models, fluid therapy and information technology needs: the Second International Consensus Conference of the Acute Dialysis Quality Initiative (ADQI) Group"},"components":[{"factor":"creat_class","met":false,"value":"none"},{"factor":"uo_class","met":false,"value":"none"}],"creat_class":"none","current_creatinine_mg_dl":1,"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.","esrd_gt_3_months":false,"formula":"rifle","formula_expression":"RIFLE class = esrd if ESRD >3 months, else loss if persistent ARF >4 weeks, else worse of creatinine vs urine (none < risk < injury < failure). Creatinine vs baseline (unrounded mg/dL): Failure if ratio ≥3.0 or (current ≥4.0 mg/dL and increase ≥0.5 mg/dL); Injury if ratio ≥2.0; Risk if ratio ≥1.5. GFR % decrease (Risk >25%, Injury >50%, Failure >75%) is equivalent to those creatinine multiples. Urine (caller-assigned): none → none; oliguria_gt_6h → Risk; oliguria_gt_12h → Injury; oliguria_24h_or_anuria_12h → Failure (Bellomo 2004 Fig. 1)","persistent_arf_gt_4_weeks":false,"rifle_class":"none","uo_class":"none","urine_output":"none"},{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Bellomo R, Ronco C, Kellum JA, Mehta RL, Palevsky P, and the ADQI workgroup","doi":"10.1186/cc2872","id":"bellomo-2004","pmid":"15312219","source":"Crit Care. 2004;8(4):R204-R212","title":"Acute renal failure - definition, outcome measures, animal models, fluid therapy and information technology needs: the Second International Consensus Conference of the Acute Dialysis Quality Initiative (ADQI) Group"},"components":[{"factor":"creat_class","met":false,"value":"none"},{"factor":"uo_class","met":false,"value":"none"}],"creat_class":"none","current_creatinine_mg_dl":1,"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.","esrd_gt_3_months":false,"formula":"rifle","formula_expression":"RIFLE class = esrd if ESRD >3 months, else loss if persistent ARF >4 weeks, else worse of creatinine vs urine (none < risk < injury < failure). Creatinine vs baseline (unrounded mg/dL): Failure if ratio ≥3.0 or (current ≥4.0 mg/dL and increase ≥0.5 mg/dL); Injury if ratio ≥2.0; Risk if ratio ≥1.5. GFR % decrease (Risk >25%, Injury >50%, Failure >75%) is equivalent to those creatinine multiples. Urine (caller-assigned): none → none; oliguria_gt_6h → Risk; oliguria_gt_12h → Injury; oliguria_24h_or_anuria_12h → Failure (Bellomo 2004 Fig. 1)","persistent_arf_gt_4_weeks":false,"rifle_class":"none","uo_class":"none","urine_output":"none"}],"path":"/api/calc/rifle"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"baseline_creatinine_mg_dl":{"description":"Baseline serum creatinine in mg/dL (0.1-20). Classification uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"current_creatinine_mg_dl":{"description":"Current serum creatinine in mg/dL (0.1-20). Classification uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"esrd_gt_3_months":{"description":"End-stage kidney disease for more than 3 months as assigned by the caller (Bellomo 2004 ESRD). true maps to rifle_class esrd irrespective of creatinine, urine, or Loss. true or false.","type":"boolean"},"persistent_arf_gt_4_weeks":{"description":"Persistent complete loss of kidney function for more than 4 weeks as assigned by the caller (Bellomo 2004 Loss). true maps to rifle_class loss unless esrd_gt_3_months is true. true or false.","type":"boolean"},"urine_output":{"description":"Caller-assigned RIFLE urine-output category (Bellomo 2004 Fig. 1): none (no oliguria or anuria criterion); oliguria_gt_6h (<0.5 mL/kg/h for 6 hours); oliguria_gt_12h (<0.5 mL/kg/h for 12 hours); oliguria_24h_or_anuria_12h (<0.3 mL/kg/h for 24 hours or anuria for 12 hours). Case-insensitive. magent does not collect weight or measure urine.","enum":["none","oliguria_gt_6h","oliguria_gt_12h","oliguria_24h_or_anuria_12h"],"type":"string"}},"required":["baseline_creatinine_mg_dl","current_creatinine_mg_dl","urine_output","persistent_arf_gt_4_weeks","esrd_gt_3_months"],"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},{"id":38861,"slug":"38861","resource":"https://api.magentlab.com/api/calc/riete","description":"Ruiz-Giménez 2008 RIETE score for 3-month major bleeding after documented acute VTE. Six caller-assigned flags: recent major bleeding (2), creatinine >1.2 mg/dL (1.5), anemia (1.5), cancer (1), clinically overt PE (1), age >75 (1); max 8. Low 0 (0.3%), intermediate 1–4 (2.6%), high >4 (7.3%) in derivation; validation 0.1%/2.8%/6.2%. Not a VTE diagnosis or bleed-treatment protocol. magent does not assay hemoglobin or creatinine.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_gt_75":false,"anemia":false,"cancer":false,"clinically_overt_pe":false,"creatinine_gt_1_2":false,"recent_major_bleeding":false},{"age_gt_75":false,"anemia":false,"cancer":false,"clinically_overt_pe":false,"creatinine_gt_1_2":false,"recent_major_bleeding":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ruiz-Giménez N, Suárez C, González R, Nieto JA, Todolí JA, Samperiz AL, Monreal M; RIETE Investigators","doi":"10.1160/TH08-03-0193","id":"ruiz-gimenez-2008","pmid":"18612548","source":"Thromb Haemost. 2008;100(1):26-31","title":"Predictive variables for major bleeding events in patients presenting with documented acute venous thromboembolism. Findings from the RIETE Registry"},"components":[{"factor":"recent_major_bleeding","points":0,"present":false},{"factor":"creatinine_gt_1_2","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"cancer","points":0,"present":false},{"factor":"clinically_overt_pe","points":0,"present":false},{"factor":"age_gt_75","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":"riete","formula_expression":"RIETE = recent_major_bleeding 2.0 + creatinine_gt_1_2 1.5 + anemia 1.5 + cancer 1.0 + clinically_overt_pe 1.0 + age_gt_75 1.0; Ruiz-Giménez 2008; max 8; low 0, intermediate 1-4, high >4","max_score":8,"riete_band":"low","score":0},{"citation":{"authors":"Ruiz-Giménez N, Suárez C, González R, Nieto JA, Todolí JA, Samperiz AL, Monreal M; RIETE Investigators","doi":"10.1160/TH08-03-0193","id":"ruiz-gimenez-2008","pmid":"18612548","source":"Thromb Haemost. 2008;100(1):26-31","title":"Predictive variables for major bleeding events in patients presenting with documented acute venous thromboembolism. Findings from the RIETE Registry"},"components":[{"factor":"recent_major_bleeding","points":0,"present":false},{"factor":"creatinine_gt_1_2","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"cancer","points":0,"present":false},{"factor":"clinically_overt_pe","points":0,"present":false},{"factor":"age_gt_75","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":"riete","formula_expression":"RIETE = recent_major_bleeding 2.0 + creatinine_gt_1_2 1.5 + anemia 1.5 + cancer 1.0 + clinically_overt_pe 1.0 + age_gt_75 1.0; Ruiz-Giménez 2008; max 8; low 0, intermediate 1-4, high >4","max_score":8,"riete_band":"low","score":0}],"path":"/api/calc/riete"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_75":{"description":"Age >75 years as assigned by the caller (Ruiz-Giménez 2008). true scores 1.0. magent does not assign age.","type":"boolean"},"anemia":{"description":"Anemia as assigned by the caller (Ruiz-Giménez 2008: hemoglobin <13 g/dL in men or <12 g/dL in women). true scores 1.5. magent does not assay hemoglobin.","type":"boolean"},"cancer":{"description":"Cancer as assigned by the caller (Ruiz-Giménez 2008). true scores 1.0. magent does not diagnose cancer.","type":"boolean"},"clinically_overt_pe":{"description":"Clinically overt pulmonary embolism as assigned by the caller (Ruiz-Giménez 2008). true scores 1.0. magent does not diagnose PE.","type":"boolean"},"creatinine_gt_1_2":{"description":"Creatinine >1.2 mg/dL as assigned by the caller (Ruiz-Giménez 2008). true scores 1.5. magent does not compute creatinine from a lab.","type":"boolean"},"recent_major_bleeding":{"description":"Recent major bleeding as assigned by the caller (Ruiz-Giménez 2008). true scores 2.0. magent does not grade bleeding.","type":"boolean"}},"required":["recent_major_bleeding","creatinine_gt_1_2","anemia","cancer","clinically_overt_pe","age_gt_75"],"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":["riete","vte","bleeding","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:36:47.588Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:36:47.462Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_gt_75":false,"anemia":false,"cancer":false,"clinically_overt_pe":false,"creatinine_gt_1_2":false,"recent_major_bleeding":false},{"age_gt_75":false,"anemia":false,"cancer":false,"clinically_overt_pe":false,"creatinine_gt_1_2":false,"recent_major_bleeding":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ruiz-Giménez N, Suárez C, González R, Nieto JA, Todolí JA, Samperiz AL, Monreal M; RIETE Investigators","doi":"10.1160/TH08-03-0193","id":"ruiz-gimenez-2008","pmid":"18612548","source":"Thromb Haemost. 2008;100(1):26-31","title":"Predictive variables for major bleeding events in patients presenting with documented acute venous thromboembolism. Findings from the RIETE Registry"},"components":[{"factor":"recent_major_bleeding","points":0,"present":false},{"factor":"creatinine_gt_1_2","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"cancer","points":0,"present":false},{"factor":"clinically_overt_pe","points":0,"present":false},{"factor":"age_gt_75","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":"riete","formula_expression":"RIETE = recent_major_bleeding 2.0 + creatinine_gt_1_2 1.5 + anemia 1.5 + cancer 1.0 + clinically_overt_pe 1.0 + age_gt_75 1.0; Ruiz-Giménez 2008; max 8; low 0, intermediate 1-4, high >4","max_score":8,"riete_band":"low","score":0},{"citation":{"authors":"Ruiz-Giménez N, Suárez C, González R, Nieto JA, Todolí JA, Samperiz AL, Monreal M; RIETE Investigators","doi":"10.1160/TH08-03-0193","id":"ruiz-gimenez-2008","pmid":"18612548","source":"Thromb Haemost. 2008;100(1):26-31","title":"Predictive variables for major bleeding events in patients presenting with documented acute venous thromboembolism. Findings from the RIETE Registry"},"components":[{"factor":"recent_major_bleeding","points":0,"present":false},{"factor":"creatinine_gt_1_2","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"cancer","points":0,"present":false},{"factor":"clinically_overt_pe","points":0,"present":false},{"factor":"age_gt_75","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":"riete","formula_expression":"RIETE = recent_major_bleeding 2.0 + creatinine_gt_1_2 1.5 + anemia 1.5 + cancer 1.0 + clinically_overt_pe 1.0 + age_gt_75 1.0; Ruiz-Giménez 2008; max 8; low 0, intermediate 1-4, high >4","max_score":8,"riete_band":"low","score":0}],"path":"/api/calc/riete"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_75":{"description":"Age >75 years as assigned by the caller (Ruiz-Giménez 2008). true scores 1.0. magent does not assign age.","type":"boolean"},"anemia":{"description":"Anemia as assigned by the caller (Ruiz-Giménez 2008: hemoglobin <13 g/dL in men or <12 g/dL in women). true scores 1.5. magent does not assay hemoglobin.","type":"boolean"},"cancer":{"description":"Cancer as assigned by the caller (Ruiz-Giménez 2008). true scores 1.0. magent does not diagnose cancer.","type":"boolean"},"clinically_overt_pe":{"description":"Clinically overt pulmonary embolism as assigned by the caller (Ruiz-Giménez 2008). true scores 1.0. magent does not diagnose PE.","type":"boolean"},"creatinine_gt_1_2":{"description":"Creatinine >1.2 mg/dL as assigned by the caller (Ruiz-Giménez 2008). true scores 1.5. magent does not compute creatinine from a lab.","type":"boolean"},"recent_major_bleeding":{"description":"Recent major bleeding as assigned by the caller (Ruiz-Giménez 2008). true scores 2.0. magent does not grade bleeding.","type":"boolean"}},"required":["recent_major_bleeding","creatinine_gt_1_2","anemia","cancer","clinically_overt_pe","age_gt_75"],"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},{"id":38862,"slug":"38862","resource":"https://api.magentlab.com/api/calc/ribscore","description":"Chapman 2016 RibScore from six caller-assigned radiographic flags (≥6 rib fractures, bilateral, flail chest, ≥3 severely bicortical displaced, first rib, and all three anatomic areas). 1 point each, total 0-6. Associated linearly with pneumonia, respiratory failure, and tracheostomy. magent does not read a CT. Deterministic published arithmetic with citation; not a named risk class.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"all_three_areas":false,"bilateral":false,"first_rib":false,"flail_chest":false,"six_or_more_ribs":false,"three_or_more_displaced":false},{"all_three_areas":false,"bilateral":false,"first_rib":false,"flail_chest":false,"six_or_more_ribs":false,"three_or_more_displaced":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Chapman BC, Herbert B, Rodil M, et al","doi":"10.1097/TA.0000000000000867","id":"chapman-2016","pmid":"26683395","source":"J Trauma Acute Care Surg. 2016;80(1):95-101","title":"RibScore: A novel radiographic score based on fracture pattern that predicts pneumonia, respiratory failure, and tracheostomy"},"components":[{"factor":"six_or_more_ribs","points":0,"present":false},{"factor":"bilateral","points":0,"present":false},{"factor":"flail_chest","points":0,"present":false},{"factor":"three_or_more_displaced","points":0,"present":false},{"factor":"first_rib","points":0,"present":false},{"factor":"all_three_areas","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":"ribscore","formula_expression":"RibScore = six_or_more_ribs + bilateral + flail_chest + three_or_more_displaced + first_rib + all_three_areas; each 1; Chapman 2016; max 6; caller-assigned radiographic flags; magent does not read a CT","max_score":6,"score":0},{"citation":{"authors":"Chapman BC, Herbert B, Rodil M, et al","doi":"10.1097/TA.0000000000000867","id":"chapman-2016","pmid":"26683395","source":"J Trauma Acute Care Surg. 2016;80(1):95-101","title":"RibScore: A novel radiographic score based on fracture pattern that predicts pneumonia, respiratory failure, and tracheostomy"},"components":[{"factor":"six_or_more_ribs","points":0,"present":false},{"factor":"bilateral","points":0,"present":false},{"factor":"flail_chest","points":0,"present":false},{"factor":"three_or_more_displaced","points":0,"present":false},{"factor":"first_rib","points":0,"present":false},{"factor":"all_three_areas","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":"ribscore","formula_expression":"RibScore = six_or_more_ribs + bilateral + flail_chest + three_or_more_displaced + first_rib + all_three_areas; each 1; Chapman 2016; max 6; caller-assigned radiographic flags; magent does not read a CT","max_score":6,"score":0}],"path":"/api/calc/ribscore"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"all_three_areas":{"description":"At least one fracture in all three anatomic areas (anterior, lateral, and posterior) as assigned by the caller (Chapman 2016). true or false. magent does not read a CT or assign anatomic zones.","type":"boolean"},"bilateral":{"description":"Bilateral rib fractures as assigned by the caller (Chapman 2016). true or false. magent does not read a CT.","type":"boolean"},"first_rib":{"description":"First rib fracture as assigned by the caller (Chapman 2016). true or false. magent does not read a CT.","type":"boolean"},"flail_chest":{"description":"Flail chest as assigned by the caller (Chapman 2016). true or false. magent does not read a CT or examine the chest wall.","type":"boolean"},"six_or_more_ribs":{"description":"Six or more rib fractures as assigned by the caller (Chapman 2016). true or false. magent does not read a CT or count fractures.","type":"boolean"},"three_or_more_displaced":{"description":"Three or more severely (bicortical) displaced rib fractures as assigned by the caller (Chapman 2016). true or false. magent does not read a CT or grade displacement.","type":"boolean"}},"required":["six_or_more_ribs","bilateral","flail_chest","three_or_more_displaced","first_rib","all_three_areas"],"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":["ribscore","rib-fracture","trauma","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:36:46.593Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:36:46.471Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"all_three_areas":false,"bilateral":false,"first_rib":false,"flail_chest":false,"six_or_more_ribs":false,"three_or_more_displaced":false},{"all_three_areas":false,"bilateral":false,"first_rib":false,"flail_chest":false,"six_or_more_ribs":false,"three_or_more_displaced":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Chapman BC, Herbert B, Rodil M, et al","doi":"10.1097/TA.0000000000000867","id":"chapman-2016","pmid":"26683395","source":"J Trauma Acute Care Surg. 2016;80(1):95-101","title":"RibScore: A novel radiographic score based on fracture pattern that predicts pneumonia, respiratory failure, and tracheostomy"},"components":[{"factor":"six_or_more_ribs","points":0,"present":false},{"factor":"bilateral","points":0,"present":false},{"factor":"flail_chest","points":0,"present":false},{"factor":"three_or_more_displaced","points":0,"present":false},{"factor":"first_rib","points":0,"present":false},{"factor":"all_three_areas","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":"ribscore","formula_expression":"RibScore = six_or_more_ribs + bilateral + flail_chest + three_or_more_displaced + first_rib + all_three_areas; each 1; Chapman 2016; max 6; caller-assigned radiographic flags; magent does not read a CT","max_score":6,"score":0},{"citation":{"authors":"Chapman BC, Herbert B, Rodil M, et al","doi":"10.1097/TA.0000000000000867","id":"chapman-2016","pmid":"26683395","source":"J Trauma Acute Care Surg. 2016;80(1):95-101","title":"RibScore: A novel radiographic score based on fracture pattern that predicts pneumonia, respiratory failure, and tracheostomy"},"components":[{"factor":"six_or_more_ribs","points":0,"present":false},{"factor":"bilateral","points":0,"present":false},{"factor":"flail_chest","points":0,"present":false},{"factor":"three_or_more_displaced","points":0,"present":false},{"factor":"first_rib","points":0,"present":false},{"factor":"all_three_areas","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":"ribscore","formula_expression":"RibScore = six_or_more_ribs + bilateral + flail_chest + three_or_more_displaced + first_rib + all_three_areas; each 1; Chapman 2016; max 6; caller-assigned radiographic flags; magent does not read a CT","max_score":6,"score":0}],"path":"/api/calc/ribscore"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"all_three_areas":{"description":"At least one fracture in all three anatomic areas (anterior, lateral, and posterior) as assigned by the caller (Chapman 2016). true or false. magent does not read a CT or assign anatomic zones.","type":"boolean"},"bilateral":{"description":"Bilateral rib fractures as assigned by the caller (Chapman 2016). true or false. magent does not read a CT.","type":"boolean"},"first_rib":{"description":"First rib fracture as assigned by the caller (Chapman 2016). true or false. magent does not read a CT.","type":"boolean"},"flail_chest":{"description":"Flail chest as assigned by the caller (Chapman 2016). true or false. magent does not read a CT or examine the chest wall.","type":"boolean"},"six_or_more_ribs":{"description":"Six or more rib fractures as assigned by the caller (Chapman 2016). true or false. magent does not read a CT or count fractures.","type":"boolean"},"three_or_more_displaced":{"description":"Three or more severely (bicortical) displaced rib fractures as assigned by the caller (Chapman 2016). true or false. magent does not read a CT or grade displacement.","type":"boolean"}},"required":["six_or_more_ribs","bilateral","flail_chest","three_or_more_displaced","first_rib","all_three_areas"],"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},{"id":38863,"slug":"38863","resource":"https://api.magentlab.com/api/calc/ribs","description":"Buchholz 2023 Revised Intensity Battle Score: 2.275 per fractured rib level, 4.08 chest tube, 1.525 pulmonary contusions, 2.83 COPD, 8.137 when GCS <15, rounded to an integer. Age is not a component. Published ICU triage cutoff 12. Not Chapman 2016 RibScore and not Battle 2014 STUMBL. magent does not count ribs or compute GCS. Deterministic published arithmetic with citation; not a diagnosis or surgical plan.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"chest_tube":false,"copd":false,"gcs":15,"pulmonary_contusions":false,"rib_count":1},{"chest_tube":false,"copd":false,"gcs":15,"pulmonary_contusions":false,"rib_count":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"any_complication_percent":7.5,"chest_tube":false,"citation":{"authors":"Buchholz CJ, Jia L, Manea C, Petersen T, Wang H, Stright A, Young JS, Calland JF","doi":"10.1177/00031348221123087","id":"buchholz-2022","pmid":"36120831","source":"Am Surg. 2023;89(10):4668-4674","title":"Revised Intensity Battle Score (RIBS): Development of a Clinical Score for Predicting Poor Outcomes After Rib Fractures"},"components":[{"factor":"rib_count","points":2.275,"present":true,"value":1},{"factor":"chest_tube","points":0,"present":false},{"factor":"pulmonary_contusions","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"gcs","points":0,"present":false,"value":15}],"copd":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":"ribs","formula_expression":"RIBS = round(2.275*rib_count + 1.525*pulmonary_contusions + 2.83*copd + 4.08*chest_tube + 8.137*(gcs<15)); Buchholz 2023; rib level not fracture count; age is not a component; ICU triage cutoff 12; not Chapman 2016 RibScore; not Battle 2014 STUMBL","gcs":15,"gcs_lt_15":false,"icu_triage_cutoff":false,"mortality_percent":2.8,"pneumonia_or_vap_percent":3,"pulmonary_contusions":false,"rib_count":1,"ribs_band":"below_12","score":2,"unplanned_icu_or_intubation_percent":4.7,"vent_or_tracheostomy_percent":1.9},{"any_complication_percent":7.5,"chest_tube":false,"citation":{"authors":"Buchholz CJ, Jia L, Manea C, Petersen T, Wang H, Stright A, Young JS, Calland JF","doi":"10.1177/00031348221123087","id":"buchholz-2022","pmid":"36120831","source":"Am Surg. 2023;89(10):4668-4674","title":"Revised Intensity Battle Score (RIBS): Development of a Clinical Score for Predicting Poor Outcomes After Rib Fractures"},"components":[{"factor":"rib_count","points":2.275,"present":true,"value":1},{"factor":"chest_tube","points":0,"present":false},{"factor":"pulmonary_contusions","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"gcs","points":0,"present":false,"value":15}],"copd":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":"ribs","formula_expression":"RIBS = round(2.275*rib_count + 1.525*pulmonary_contusions + 2.83*copd + 4.08*chest_tube + 8.137*(gcs<15)); Buchholz 2023; rib level not fracture count; age is not a component; ICU triage cutoff 12; not Chapman 2016 RibScore; not Battle 2014 STUMBL","gcs":15,"gcs_lt_15":false,"icu_triage_cutoff":false,"mortality_percent":2.8,"pneumonia_or_vap_percent":3,"pulmonary_contusions":false,"rib_count":1,"ribs_band":"below_12","score":2,"unplanned_icu_or_intubation_percent":4.7,"vent_or_tracheostomy_percent":1.9}],"path":"/api/calc/ribs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chest_tube":{"description":"Chest tube placed, present, or anticipated as assigned by the caller (Buchholz 2023). true or false. true scores 4.08 before rounding.","type":"boolean"},"copd":{"description":"History of COPD as assigned by the caller (Buchholz 2023). true or false. true scores 2.83 before rounding. Age is not a component.","type":"boolean"},"gcs":{"description":"Caller-assigned Glasgow Coma Scale total, integer 3–15. Buchholz 2023 scores 8.137 when GCS <15 and 0 when GCS is 15. magent does not compute eye, verbal, or motor.","type":"integer"},"pulmonary_contusions":{"description":"Pulmonary contusions as assigned by the caller (Buchholz 2023). true or false. true scores 1.525 before rounding. magent does not read a CT.","type":"boolean"},"rib_count":{"description":"Caller-assigned number of fractured rib levels, integer 0–24. Buchholz 2023: 2.275 points per rib level, not per individual fracture (six fractures on three ribs is 3). magent does not read a CT or count ribs.","type":"integer"}},"required":["rib_count","chest_tube","pulmonary_contusions","copd","gcs"],"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":["ribs","rib-fracture","trauma","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:32:06.388Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:32:06.258Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"chest_tube":false,"copd":false,"gcs":15,"pulmonary_contusions":false,"rib_count":1},{"chest_tube":false,"copd":false,"gcs":15,"pulmonary_contusions":false,"rib_count":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"any_complication_percent":7.5,"chest_tube":false,"citation":{"authors":"Buchholz CJ, Jia L, Manea C, Petersen T, Wang H, Stright A, Young JS, Calland JF","doi":"10.1177/00031348221123087","id":"buchholz-2022","pmid":"36120831","source":"Am Surg. 2023;89(10):4668-4674","title":"Revised Intensity Battle Score (RIBS): Development of a Clinical Score for Predicting Poor Outcomes After Rib Fractures"},"components":[{"factor":"rib_count","points":2.275,"present":true,"value":1},{"factor":"chest_tube","points":0,"present":false},{"factor":"pulmonary_contusions","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"gcs","points":0,"present":false,"value":15}],"copd":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":"ribs","formula_expression":"RIBS = round(2.275*rib_count + 1.525*pulmonary_contusions + 2.83*copd + 4.08*chest_tube + 8.137*(gcs<15)); Buchholz 2023; rib level not fracture count; age is not a component; ICU triage cutoff 12; not Chapman 2016 RibScore; not Battle 2014 STUMBL","gcs":15,"gcs_lt_15":false,"icu_triage_cutoff":false,"mortality_percent":2.8,"pneumonia_or_vap_percent":3,"pulmonary_contusions":false,"rib_count":1,"ribs_band":"below_12","score":2,"unplanned_icu_or_intubation_percent":4.7,"vent_or_tracheostomy_percent":1.9},{"any_complication_percent":7.5,"chest_tube":false,"citation":{"authors":"Buchholz CJ, Jia L, Manea C, Petersen T, Wang H, Stright A, Young JS, Calland JF","doi":"10.1177/00031348221123087","id":"buchholz-2022","pmid":"36120831","source":"Am Surg. 2023;89(10):4668-4674","title":"Revised Intensity Battle Score (RIBS): Development of a Clinical Score for Predicting Poor Outcomes After Rib Fractures"},"components":[{"factor":"rib_count","points":2.275,"present":true,"value":1},{"factor":"chest_tube","points":0,"present":false},{"factor":"pulmonary_contusions","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"gcs","points":0,"present":false,"value":15}],"copd":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":"ribs","formula_expression":"RIBS = round(2.275*rib_count + 1.525*pulmonary_contusions + 2.83*copd + 4.08*chest_tube + 8.137*(gcs<15)); Buchholz 2023; rib level not fracture count; age is not a component; ICU triage cutoff 12; not Chapman 2016 RibScore; not Battle 2014 STUMBL","gcs":15,"gcs_lt_15":false,"icu_triage_cutoff":false,"mortality_percent":2.8,"pneumonia_or_vap_percent":3,"pulmonary_contusions":false,"rib_count":1,"ribs_band":"below_12","score":2,"unplanned_icu_or_intubation_percent":4.7,"vent_or_tracheostomy_percent":1.9}],"path":"/api/calc/ribs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chest_tube":{"description":"Chest tube placed, present, or anticipated as assigned by the caller (Buchholz 2023). true or false. true scores 4.08 before rounding.","type":"boolean"},"copd":{"description":"History of COPD as assigned by the caller (Buchholz 2023). true or false. true scores 2.83 before rounding. Age is not a component.","type":"boolean"},"gcs":{"description":"Caller-assigned Glasgow Coma Scale total, integer 3–15. Buchholz 2023 scores 8.137 when GCS <15 and 0 when GCS is 15. magent does not compute eye, verbal, or motor.","type":"integer"},"pulmonary_contusions":{"description":"Pulmonary contusions as assigned by the caller (Buchholz 2023). true or false. true scores 1.525 before rounding. magent does not read a CT.","type":"boolean"},"rib_count":{"description":"Caller-assigned number of fractured rib levels, integer 0–24. Buchholz 2023: 2.275 points per rib level, not per individual fracture (six fractures on three ribs is 3). magent does not read a CT or count ribs.","type":"integer"}},"required":["rib_count","chest_tube","pulmonary_contusions","copd","gcs"],"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},{"id":38864,"slug":"38864","resource":"https://api.magentlab.com/api/calc/rhmp_30","description":"de Jong 2025 Rotterdam Hip Fracture Mortality Prediction-30 Days (RHMP-30) LASSO logit from age, sex (published female coefficient, not race), albumin g/L, dementia, Katz-ADL total 0-6, ASA 4, and nursing-home residence. Returns logit and estimated_mortality_percent from the unrounded logit. Not an operative vs nonoperative order. magent does not assign ASA or Katz.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":80,"albumin_g_l":38,"asa_4":false,"dementia":false,"katz_adl":6,"nursing_home":false,"sex":"female"},{"age":80,"albumin_g_l":38,"asa_4":false,"dementia":false,"katz_adl":6,"nursing_home":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":80,"albumin_g_l":38,"asa_4":false,"citation":{"authors":"de Jong L, de Haan E, van Rijckevorsel VAJIM, Kuijper TM, Roukema GR","doi":"10.2106/JBJS.23.01397","id":"de-jong-2025","pmid":"39836737","source":"J Bone Joint Surg Am. 2025;107(5):459-468","title":"Multidimensional Approach for Predicting 30-Day Mortality in Patients with a Hip Fracture: Development and External Validation of the Rotterdam Hip Fracture Mortality Prediction-30 Days (RHMP-30)"},"dementia":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.","estimated_mortality_percent":3.09,"formula":"rhmp_30","formula_expression":"logit = -2.69 - 0.0442*albumin_g_l + 0.0306*age_years - 1.012*female + 0.360*dementia - 0.0853*katz_adl + 0.856*asa_4 + 0.726*nursing_home; estimated_mortality_percent = 100 * exp(logit)/(1+exp(logit)) from the unrounded logit, 2 decimals; displayed logit 2 decimals; female is 1 if sex is female else 0; dementia, asa_4, and nursing_home are 1 if true else 0; albumin is g/L (not g/dL); Katz-ADL total 0-6 (6 = independent)","katz_adl":6,"logit":-3.45,"nursing_home":false,"sex":"female"},{"age_years":80,"albumin_g_l":38,"asa_4":false,"citation":{"authors":"de Jong L, de Haan E, van Rijckevorsel VAJIM, Kuijper TM, Roukema GR","doi":"10.2106/JBJS.23.01397","id":"de-jong-2025","pmid":"39836737","source":"J Bone Joint Surg Am. 2025;107(5):459-468","title":"Multidimensional Approach for Predicting 30-Day Mortality in Patients with a Hip Fracture: Development and External Validation of the Rotterdam Hip Fracture Mortality Prediction-30 Days (RHMP-30)"},"dementia":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.","estimated_mortality_percent":3.09,"formula":"rhmp_30","formula_expression":"logit = -2.69 - 0.0442*albumin_g_l + 0.0306*age_years - 1.012*female + 0.360*dementia - 0.0853*katz_adl + 0.856*asa_4 + 0.726*nursing_home; estimated_mortality_percent = 100 * exp(logit)/(1+exp(logit)) from the unrounded logit, 2 decimals; displayed logit 2 decimals; female is 1 if sex is female else 0; dementia, asa_4, and nursing_home are 1 if true else 0; albumin is g/L (not g/dL); Katz-ADL total 0-6 (6 = independent)","katz_adl":6,"logit":-3.45,"nursing_home":false,"sex":"female"}],"path":"/api/calc/rhmp_30"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years, integer 40-110. de Jong 2025 coefficient +0.0306 per year. magent does not read an identity document.","type":"integer"},"albumin_g_l":{"description":"Admission serum albumin in g/L (10-60). de Jong 2025 Table I uses g/L (typical 30-45). Not g/dL. Caller-supplied; magent does not assay albumin.","type":"number"},"asa_4":{"description":"true if the caller assigns ASA physical status 4 (de Jong 2025). true scores 1 in the logit; false scores 0. magent does not assign ASA class.","type":"boolean"},"dementia":{"description":"true if the caller assigns a history of dementia (de Jong 2025). true scores 1 in the logit; false scores 0. magent does not diagnose dementia.","type":"boolean"},"katz_adl":{"description":"Katz Index of Independence in Activities of Daily Living total, integer 0-6 (de Jong 2025). 0 = completely dependent; 6 = completely independent. Caller-assigned total; magent does not score bathing, dressing, toileting, transferring, continence, or feeding.","type":"integer"},"nursing_home":{"description":"true if the caller assigns residence in a nursing home (de Jong 2025). true scores 1 in the logit; false scores 0. magent does not determine residence.","type":"boolean"},"sex":{"description":"Sex used as the published de Jong 2025 female coefficient (female = 1, male = 0). Not race. magent does not examine the patient.","enum":["female","male"],"type":"string"}},"required":["age","sex","albumin_g_l","dementia","katz_adl","asa_4","nursing_home"],"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":["rhmp-30","hip-fracture","mortality","katz-adl","albumin","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:32:04.914Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:32:04.782Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":80,"albumin_g_l":38,"asa_4":false,"dementia":false,"katz_adl":6,"nursing_home":false,"sex":"female"},{"age":80,"albumin_g_l":38,"asa_4":false,"dementia":false,"katz_adl":6,"nursing_home":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":80,"albumin_g_l":38,"asa_4":false,"citation":{"authors":"de Jong L, de Haan E, van Rijckevorsel VAJIM, Kuijper TM, Roukema GR","doi":"10.2106/JBJS.23.01397","id":"de-jong-2025","pmid":"39836737","source":"J Bone Joint Surg Am. 2025;107(5):459-468","title":"Multidimensional Approach for Predicting 30-Day Mortality in Patients with a Hip Fracture: Development and External Validation of the Rotterdam Hip Fracture Mortality Prediction-30 Days (RHMP-30)"},"dementia":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.","estimated_mortality_percent":3.09,"formula":"rhmp_30","formula_expression":"logit = -2.69 - 0.0442*albumin_g_l + 0.0306*age_years - 1.012*female + 0.360*dementia - 0.0853*katz_adl + 0.856*asa_4 + 0.726*nursing_home; estimated_mortality_percent = 100 * exp(logit)/(1+exp(logit)) from the unrounded logit, 2 decimals; displayed logit 2 decimals; female is 1 if sex is female else 0; dementia, asa_4, and nursing_home are 1 if true else 0; albumin is g/L (not g/dL); Katz-ADL total 0-6 (6 = independent)","katz_adl":6,"logit":-3.45,"nursing_home":false,"sex":"female"},{"age_years":80,"albumin_g_l":38,"asa_4":false,"citation":{"authors":"de Jong L, de Haan E, van Rijckevorsel VAJIM, Kuijper TM, Roukema GR","doi":"10.2106/JBJS.23.01397","id":"de-jong-2025","pmid":"39836737","source":"J Bone Joint Surg Am. 2025;107(5):459-468","title":"Multidimensional Approach for Predicting 30-Day Mortality in Patients with a Hip Fracture: Development and External Validation of the Rotterdam Hip Fracture Mortality Prediction-30 Days (RHMP-30)"},"dementia":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.","estimated_mortality_percent":3.09,"formula":"rhmp_30","formula_expression":"logit = -2.69 - 0.0442*albumin_g_l + 0.0306*age_years - 1.012*female + 0.360*dementia - 0.0853*katz_adl + 0.856*asa_4 + 0.726*nursing_home; estimated_mortality_percent = 100 * exp(logit)/(1+exp(logit)) from the unrounded logit, 2 decimals; displayed logit 2 decimals; female is 1 if sex is female else 0; dementia, asa_4, and nursing_home are 1 if true else 0; albumin is g/L (not g/dL); Katz-ADL total 0-6 (6 = independent)","katz_adl":6,"logit":-3.45,"nursing_home":false,"sex":"female"}],"path":"/api/calc/rhmp_30"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years, integer 40-110. de Jong 2025 coefficient +0.0306 per year. magent does not read an identity document.","type":"integer"},"albumin_g_l":{"description":"Admission serum albumin in g/L (10-60). de Jong 2025 Table I uses g/L (typical 30-45). Not g/dL. Caller-supplied; magent does not assay albumin.","type":"number"},"asa_4":{"description":"true if the caller assigns ASA physical status 4 (de Jong 2025). true scores 1 in the logit; false scores 0. magent does not assign ASA class.","type":"boolean"},"dementia":{"description":"true if the caller assigns a history of dementia (de Jong 2025). true scores 1 in the logit; false scores 0. magent does not diagnose dementia.","type":"boolean"},"katz_adl":{"description":"Katz Index of Independence in Activities of Daily Living total, integer 0-6 (de Jong 2025). 0 = completely dependent; 6 = completely independent. Caller-assigned total; magent does not score bathing, dressing, toileting, transferring, continence, or feeding.","type":"integer"},"nursing_home":{"description":"true if the caller assigns residence in a nursing home (de Jong 2025). true scores 1 in the logit; false scores 0. magent does not determine residence.","type":"boolean"},"sex":{"description":"Sex used as the published de Jong 2025 female coefficient (female = 1, male = 0). Not race. magent does not examine the patient.","enum":["female","male"],"type":"string"}},"required":["age","sex","albumin_g_l","dementia","katz_adl","asa_4","nursing_home"],"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},{"id":38865,"slug":"38865","resource":"https://api.magentlab.com/api/calc/rfm","description":"Relative fat mass (RFM) from height, waist, and sex (Woolcott 2018). Height and waist in meters in the paper; magent accepts height_cm or height_in and waist_cm. Deterministic published arithmetic with citation. Not a medical device, not a body-fat diagnosis, and not later obesity cutoffs. magent does not measure the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"height_cm":180,"height_in":70,"sex":"male","waist_cm":90},{"height_cm":180,"height_in":70,"sex":"male","waist_cm":90}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Woolcott OO, Bergman RN","doi":"10.1038/s41598-018-29362-1","id":"woolcott-2018","pmid":"30030479","source":"Sci Rep. 2018;8:10980","title":"Relative fat mass (RFM) as a new estimator of whole-body fat percentage ─ A cross-sectional study in American adult individuals"},"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":"rfm","formula_expression":"RFM = 64 - (20 * (height_m / waist_m)) + (12 * sex); sex = 0 male, 1 female","height_cm":180,"rfm":24,"sex":"male","waist_cm":90},{"citation":{"authors":"Woolcott OO, Bergman RN","doi":"10.1038/s41598-018-29362-1","id":"woolcott-2018","pmid":"30030479","source":"Sci Rep. 2018;8:10980","title":"Relative fat mass (RFM) as a new estimator of whole-body fat percentage ─ A cross-sectional study in American adult individuals"},"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":"rfm","formula_expression":"RFM = 64 - (20 * (height_m / waist_m)) + (12 * sex); sex = 0 male, 1 female","height_cm":180,"rfm":24,"sex":"male","waist_cm":90}],"path":"/api/calc/rfm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"sex":{"description":"Sex used by Woolcott 2018 (0 male, 1 female in the RFM equation).","enum":["female","male"],"type":"string"},"waist_cm":{"description":"Waist circumference in centimeters (40-200). Converted to meters for RFM.","type":"number"}},"required":["waist_cm","sex"],"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":["rfm","body-fat","waist","body-size","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:32:02.951Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:32:02.77Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"height_cm":180,"height_in":70,"sex":"male","waist_cm":90},{"height_cm":180,"height_in":70,"sex":"male","waist_cm":90}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Woolcott OO, Bergman RN","doi":"10.1038/s41598-018-29362-1","id":"woolcott-2018","pmid":"30030479","source":"Sci Rep. 2018;8:10980","title":"Relative fat mass (RFM) as a new estimator of whole-body fat percentage ─ A cross-sectional study in American adult individuals"},"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":"rfm","formula_expression":"RFM = 64 - (20 * (height_m / waist_m)) + (12 * sex); sex = 0 male, 1 female","height_cm":180,"rfm":24,"sex":"male","waist_cm":90},{"citation":{"authors":"Woolcott OO, Bergman RN","doi":"10.1038/s41598-018-29362-1","id":"woolcott-2018","pmid":"30030479","source":"Sci Rep. 2018;8:10980","title":"Relative fat mass (RFM) as a new estimator of whole-body fat percentage ─ A cross-sectional study in American adult individuals"},"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":"rfm","formula_expression":"RFM = 64 - (20 * (height_m / waist_m)) + (12 * sex); sex = 0 male, 1 female","height_cm":180,"rfm":24,"sex":"male","waist_cm":90}],"path":"/api/calc/rfm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"sex":{"description":"Sex used by Woolcott 2018 (0 male, 1 female in the RFM equation).","enum":["female","male"],"type":"string"},"waist_cm":{"description":"Waist circumference in centimeters (40-200). Converted to meters for RFM.","type":"number"}},"required":["waist_cm","sex"],"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},{"id":38866,"slug":"38866","resource":"https://api.magentlab.com/api/calc/reynolds","description":"Ridker JAMA 2007 Reynolds Risk Score, women Model B only: 10-year CVD percent from age, SBP, hsCRP, total cholesterol, HDL-C, HbA1c if diabetic, current smoking, and parental MI before 60. Natural-log Box formula. Not men (Ridker 2008), not ATP-III, not 2013 PCE, not a diagnosis or statin order. magent does not assay lipids or hsCRP.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"a1c_percent":7.5,"age":55,"diabetes":false,"family_mi_before_60":false,"hdl_mg_dl":50,"hscrp_mg_l":2,"sbp_mm_hg":125,"smoker":false,"total_cholesterol_mg_dl":200},{"a1c_percent":7.5,"age":55,"diabetes":false,"family_mi_before_60":false,"hdl_mg_dl":50,"hscrp_mg_l":2,"sbp_mm_hg":125,"smoker":false,"total_cholesterol_mg_dl":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":55,"b":22.4031,"citation":{"authors":"Ridker PM, Buring JE, Rifai N, Cook NR","doi":"10.1001/jama.297.6.611","id":"ridker-2007","pmid":"17299196","source":"JAMA. 2007;297(6):611-619","title":"Development and validation of improved algorithms for the assessment of global cardiovascular risk in women: the Reynolds Risk Score"},"diabetes":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.","family_mi_before_60":false,"formula":"reynolds","formula_expression":"10-year CVD risk (%) = [1 - 0.98634^(exp(B - 22.325))] * 100; B = 0.0799*age + 3.137*ln(SBP) + 0.180*ln(hsCRP) + 1.382*ln(total cholesterol) - 1.172*ln(HDL-C) + 0.134*HbA1c(%) [if diabetic] + 0.818 [if current smoker] + 0.438 [if family history of premature MI]; Ridker JAMA 2007 Model B women; natural log; cholesterol and HDL mg/dL; hsCRP mg/L; SBP mm Hg; not men; not ATP-III; not 2013 PCE","hdl_mg_dl":50,"hscrp_mg_l":2,"risk_percent":1.5,"sbp_mm_hg":125,"smoker":false,"total_cholesterol_mg_dl":200},{"age":55,"b":22.4031,"citation":{"authors":"Ridker PM, Buring JE, Rifai N, Cook NR","doi":"10.1001/jama.297.6.611","id":"ridker-2007","pmid":"17299196","source":"JAMA. 2007;297(6):611-619","title":"Development and validation of improved algorithms for the assessment of global cardiovascular risk in women: the Reynolds Risk Score"},"diabetes":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.","family_mi_before_60":false,"formula":"reynolds","formula_expression":"10-year CVD risk (%) = [1 - 0.98634^(exp(B - 22.325))] * 100; B = 0.0799*age + 3.137*ln(SBP) + 0.180*ln(hsCRP) + 1.382*ln(total cholesterol) - 1.172*ln(HDL-C) + 0.134*HbA1c(%) [if diabetic] + 0.818 [if current smoker] + 0.438 [if family history of premature MI]; Ridker JAMA 2007 Model B women; natural log; cholesterol and HDL mg/dL; hsCRP mg/L; SBP mm Hg; not men; not ATP-III; not 2013 PCE","hdl_mg_dl":50,"hscrp_mg_l":2,"risk_percent":1.5,"sbp_mm_hg":125,"smoker":false,"total_cholesterol_mg_dl":200}],"path":"/api/calc/reynolds"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"a1c_percent":{"description":"HbA1c in percent (4-15). Required when diabetes=true. Ignored when diabetes=false. magent does not assay HbA1c.","type":"number"},"age":{"description":"Age in years (integer 45-84). Ridker JAMA 2007 Model B was derived in women 45 years or older. magent accepts 45-84 only. Not men.","type":"integer"},"diabetes":{"description":"Diabetes as assigned by the caller. If true, a1c_percent (4-15) is required and adds 0.134*HbA1c(%). If false, omit a1c; the HbA1c term is not added. magent does not diagnose diabetes.","type":"boolean"},"family_mi_before_60":{"description":"Parental myocardial infarction before age 60 as assigned by the caller. true adds 0.438. magent does not take a family history.","type":"boolean"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Enters as ln(HDL-C). magent does not assay lipids.","type":"number"},"hscrp_mg_l":{"description":"High-sensitivity C-reactive protein in mg/L (0.1-50). Enters as ln(hsCRP). magent does not assay hsCRP.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Enters as ln(SBP). magent does not measure blood pressure.","type":"number"},"smoker":{"description":"Current cigarette smoking as assigned by the caller. true adds 0.818. magent does not take a smoking history.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Enters as ln(total cholesterol). magent does not assay lipids.","type":"number"}},"required":["age","sbp_mm_hg","hscrp_mg_l","total_cholesterol_mg_dl","hdl_mg_dl","diabetes","smoker","family_mi_before_60"],"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":["reynolds","cvd-risk","lipids","hscrp","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:26:35.392Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:26:35.291Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"a1c_percent":7.5,"age":55,"diabetes":false,"family_mi_before_60":false,"hdl_mg_dl":50,"hscrp_mg_l":2,"sbp_mm_hg":125,"smoker":false,"total_cholesterol_mg_dl":200},{"a1c_percent":7.5,"age":55,"diabetes":false,"family_mi_before_60":false,"hdl_mg_dl":50,"hscrp_mg_l":2,"sbp_mm_hg":125,"smoker":false,"total_cholesterol_mg_dl":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":55,"b":22.4031,"citation":{"authors":"Ridker PM, Buring JE, Rifai N, Cook NR","doi":"10.1001/jama.297.6.611","id":"ridker-2007","pmid":"17299196","source":"JAMA. 2007;297(6):611-619","title":"Development and validation of improved algorithms for the assessment of global cardiovascular risk in women: the Reynolds Risk Score"},"diabetes":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.","family_mi_before_60":false,"formula":"reynolds","formula_expression":"10-year CVD risk (%) = [1 - 0.98634^(exp(B - 22.325))] * 100; B = 0.0799*age + 3.137*ln(SBP) + 0.180*ln(hsCRP) + 1.382*ln(total cholesterol) - 1.172*ln(HDL-C) + 0.134*HbA1c(%) [if diabetic] + 0.818 [if current smoker] + 0.438 [if family history of premature MI]; Ridker JAMA 2007 Model B women; natural log; cholesterol and HDL mg/dL; hsCRP mg/L; SBP mm Hg; not men; not ATP-III; not 2013 PCE","hdl_mg_dl":50,"hscrp_mg_l":2,"risk_percent":1.5,"sbp_mm_hg":125,"smoker":false,"total_cholesterol_mg_dl":200},{"age":55,"b":22.4031,"citation":{"authors":"Ridker PM, Buring JE, Rifai N, Cook NR","doi":"10.1001/jama.297.6.611","id":"ridker-2007","pmid":"17299196","source":"JAMA. 2007;297(6):611-619","title":"Development and validation of improved algorithms for the assessment of global cardiovascular risk in women: the Reynolds Risk Score"},"diabetes":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.","family_mi_before_60":false,"formula":"reynolds","formula_expression":"10-year CVD risk (%) = [1 - 0.98634^(exp(B - 22.325))] * 100; B = 0.0799*age + 3.137*ln(SBP) + 0.180*ln(hsCRP) + 1.382*ln(total cholesterol) - 1.172*ln(HDL-C) + 0.134*HbA1c(%) [if diabetic] + 0.818 [if current smoker] + 0.438 [if family history of premature MI]; Ridker JAMA 2007 Model B women; natural log; cholesterol and HDL mg/dL; hsCRP mg/L; SBP mm Hg; not men; not ATP-III; not 2013 PCE","hdl_mg_dl":50,"hscrp_mg_l":2,"risk_percent":1.5,"sbp_mm_hg":125,"smoker":false,"total_cholesterol_mg_dl":200}],"path":"/api/calc/reynolds"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"a1c_percent":{"description":"HbA1c in percent (4-15). Required when diabetes=true. Ignored when diabetes=false. magent does not assay HbA1c.","type":"number"},"age":{"description":"Age in years (integer 45-84). Ridker JAMA 2007 Model B was derived in women 45 years or older. magent accepts 45-84 only. Not men.","type":"integer"},"diabetes":{"description":"Diabetes as assigned by the caller. If true, a1c_percent (4-15) is required and adds 0.134*HbA1c(%). If false, omit a1c; the HbA1c term is not added. magent does not diagnose diabetes.","type":"boolean"},"family_mi_before_60":{"description":"Parental myocardial infarction before age 60 as assigned by the caller. true adds 0.438. magent does not take a family history.","type":"boolean"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Enters as ln(HDL-C). magent does not assay lipids.","type":"number"},"hscrp_mg_l":{"description":"High-sensitivity C-reactive protein in mg/L (0.1-50). Enters as ln(hsCRP). magent does not assay hsCRP.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Enters as ln(SBP). magent does not measure blood pressure.","type":"number"},"smoker":{"description":"Current cigarette smoking as assigned by the caller. true adds 0.818. magent does not take a smoking history.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Enters as ln(total cholesterol). magent does not assay lipids.","type":"number"}},"required":["age","sbp_mm_hg","hscrp_mg_l","total_cholesterol_mg_dl","hdl_mg_dl","diabetes","smoker","family_mi_before_60"],"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},{"id":38867,"slug":"38867","resource":"https://api.magentlab.com/api/calc/revised_geneva","description":"Revised Geneva score (Le Gal 2006) for suspected PE in the emergency department: age >65 (1), previous DVT or PE (3), surgery or lower-limb fracture within 1 month (2), active malignancy (2), unilateral lower-limb pain (3), hemoptysis (2), heart rate 75-94 (3) or >=95 (5), pain on deep-vein palpation and unilateral edema (4). Max 22. Bands 0-3, 4-10, and 11-22. Not a diagnosis, not simplified Geneva, and not Wells.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"active_malignancy":false,"age":50,"heart_rate_bpm":70,"hemoptysis":false,"pain_on_deep_vein_palpation_and_unilateral_edema":false,"previous_dvt_or_pe":false,"surgery_or_fracture_within_1_month":false,"unilateral_lower_limb_pain":false},{"active_malignancy":false,"age":50,"heart_rate_bpm":70,"hemoptysis":false,"pain_on_deep_vein_palpation_and_unilateral_edema":false,"previous_dvt_or_pe":false,"surgery_or_fracture_within_1_month":false,"unilateral_lower_limb_pain":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Le Gal G, Righini M, Roy PM, et al.","doi":"10.7326/0003-4819-144-3-200602070-00004","id":"le-gal-2006","source":"Ann Intern Med. 2006;144(3):165-171","title":"Prediction of pulmonary embolism in the emergency department: the revised Geneva score"},"components":[{"factor":"age_gt_65","points":0,"present":false,"value":50},{"factor":"previous_dvt_or_pe","points":0,"present":false},{"factor":"surgery_or_fracture_within_1_month","points":0,"present":false},{"factor":"active_malignancy","points":0,"present":false},{"factor":"unilateral_lower_limb_pain","points":0,"present":false},{"factor":"hemoptysis","points":0,"present":false},{"factor":"heart_rate_75_94","points":0,"present":false,"value":70},{"factor":"heart_rate_ge_95","points":0,"present":false,"value":70},{"factor":"pain_on_deep_vein_palpation_and_unilateral_edema","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":"revised_geneva","formula_expression":"revised Geneva = age>65 (1) + previous_dvt_or_pe (3) + surgery_or_fracture_within_1_month (2) + active_malignancy (2) + unilateral_lower_limb_pain (3) + hemoptysis (2) + heart_rate_75_94 (3) or heart_rate_ge_95 (5) + pain_on_deep_vein_palpation_and_unilateral_edema (4); max 22; bands 0-3, 4-10, 11-22","geneva_band":"0-3","heart_rate_bpm":70,"max_score":22,"score":0},{"age_years":50,"citation":{"authors":"Le Gal G, Righini M, Roy PM, et al.","doi":"10.7326/0003-4819-144-3-200602070-00004","id":"le-gal-2006","source":"Ann Intern Med. 2006;144(3):165-171","title":"Prediction of pulmonary embolism in the emergency department: the revised Geneva score"},"components":[{"factor":"age_gt_65","points":0,"present":false,"value":50},{"factor":"previous_dvt_or_pe","points":0,"present":false},{"factor":"surgery_or_fracture_within_1_month","points":0,"present":false},{"factor":"active_malignancy","points":0,"present":false},{"factor":"unilateral_lower_limb_pain","points":0,"present":false},{"factor":"hemoptysis","points":0,"present":false},{"factor":"heart_rate_75_94","points":0,"present":false,"value":70},{"factor":"heart_rate_ge_95","points":0,"present":false,"value":70},{"factor":"pain_on_deep_vein_palpation_and_unilateral_edema","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":"revised_geneva","formula_expression":"revised Geneva = age>65 (1) + previous_dvt_or_pe (3) + surgery_or_fracture_within_1_month (2) + active_malignancy (2) + unilateral_lower_limb_pain (3) + hemoptysis (2) + heart_rate_75_94 (3) or heart_rate_ge_95 (5) + pain_on_deep_vein_palpation_and_unilateral_edema (4); max 22; bands 0-3, 4-10, 11-22","geneva_band":"0-3","heart_rate_bpm":70,"max_score":22,"score":0}],"path":"/api/calc/revised_geneva"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_malignancy":{"description":"Solid or hematologic malignancy currently active or considered cured <1 year (caller-applied). true or false. 2 points if true.","type":"boolean"},"age":{"description":"Age in years (18-120). Scores 1 when age >65; 65 does not score.","type":"integer"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 3 when 75-94 inclusive, 5 when ≥95, and 0 when ≤74. Never both 3 and 5.","type":"integer"},"hemoptysis":{"description":"Hemoptysis. true or false. 2 points if true.","type":"boolean"},"pain_on_deep_vein_palpation_and_unilateral_edema":{"description":"Pain on deep-vein palpation AND unilateral edema as one combined flag. true or false. 4 points if true.","type":"boolean"},"previous_dvt_or_pe":{"description":"Previous DVT or PE as assigned by the caller. true or false. 3 points if true.","type":"boolean"},"surgery_or_fracture_within_1_month":{"description":"Surgery under general anesthesia or lower-limb fracture within 1 month (one combined flag). true or false. 2 points if true.","type":"boolean"},"unilateral_lower_limb_pain":{"description":"Unilateral lower-limb pain. true or false. 3 points if true.","type":"boolean"}},"required":["age","previous_dvt_or_pe","surgery_or_fracture_within_1_month","active_malignancy","unilateral_lower_limb_pain","hemoptysis","heart_rate_bpm","pain_on_deep_vein_palpation_and_unilateral_edema"],"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":["revised-geneva","pe","vte","probability","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:26:33.906Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:26:33.748Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"active_malignancy":false,"age":50,"heart_rate_bpm":70,"hemoptysis":false,"pain_on_deep_vein_palpation_and_unilateral_edema":false,"previous_dvt_or_pe":false,"surgery_or_fracture_within_1_month":false,"unilateral_lower_limb_pain":false},{"active_malignancy":false,"age":50,"heart_rate_bpm":70,"hemoptysis":false,"pain_on_deep_vein_palpation_and_unilateral_edema":false,"previous_dvt_or_pe":false,"surgery_or_fracture_within_1_month":false,"unilateral_lower_limb_pain":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Le Gal G, Righini M, Roy PM, et al.","doi":"10.7326/0003-4819-144-3-200602070-00004","id":"le-gal-2006","source":"Ann Intern Med. 2006;144(3):165-171","title":"Prediction of pulmonary embolism in the emergency department: the revised Geneva score"},"components":[{"factor":"age_gt_65","points":0,"present":false,"value":50},{"factor":"previous_dvt_or_pe","points":0,"present":false},{"factor":"surgery_or_fracture_within_1_month","points":0,"present":false},{"factor":"active_malignancy","points":0,"present":false},{"factor":"unilateral_lower_limb_pain","points":0,"present":false},{"factor":"hemoptysis","points":0,"present":false},{"factor":"heart_rate_75_94","points":0,"present":false,"value":70},{"factor":"heart_rate_ge_95","points":0,"present":false,"value":70},{"factor":"pain_on_deep_vein_palpation_and_unilateral_edema","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":"revised_geneva","formula_expression":"revised Geneva = age>65 (1) + previous_dvt_or_pe (3) + surgery_or_fracture_within_1_month (2) + active_malignancy (2) + unilateral_lower_limb_pain (3) + hemoptysis (2) + heart_rate_75_94 (3) or heart_rate_ge_95 (5) + pain_on_deep_vein_palpation_and_unilateral_edema (4); max 22; bands 0-3, 4-10, 11-22","geneva_band":"0-3","heart_rate_bpm":70,"max_score":22,"score":0},{"age_years":50,"citation":{"authors":"Le Gal G, Righini M, Roy PM, et al.","doi":"10.7326/0003-4819-144-3-200602070-00004","id":"le-gal-2006","source":"Ann Intern Med. 2006;144(3):165-171","title":"Prediction of pulmonary embolism in the emergency department: the revised Geneva score"},"components":[{"factor":"age_gt_65","points":0,"present":false,"value":50},{"factor":"previous_dvt_or_pe","points":0,"present":false},{"factor":"surgery_or_fracture_within_1_month","points":0,"present":false},{"factor":"active_malignancy","points":0,"present":false},{"factor":"unilateral_lower_limb_pain","points":0,"present":false},{"factor":"hemoptysis","points":0,"present":false},{"factor":"heart_rate_75_94","points":0,"present":false,"value":70},{"factor":"heart_rate_ge_95","points":0,"present":false,"value":70},{"factor":"pain_on_deep_vein_palpation_and_unilateral_edema","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":"revised_geneva","formula_expression":"revised Geneva = age>65 (1) + previous_dvt_or_pe (3) + surgery_or_fracture_within_1_month (2) + active_malignancy (2) + unilateral_lower_limb_pain (3) + hemoptysis (2) + heart_rate_75_94 (3) or heart_rate_ge_95 (5) + pain_on_deep_vein_palpation_and_unilateral_edema (4); max 22; bands 0-3, 4-10, 11-22","geneva_band":"0-3","heart_rate_bpm":70,"max_score":22,"score":0}],"path":"/api/calc/revised_geneva"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_malignancy":{"description":"Solid or hematologic malignancy currently active or considered cured <1 year (caller-applied). true or false. 2 points if true.","type":"boolean"},"age":{"description":"Age in years (18-120). Scores 1 when age >65; 65 does not score.","type":"integer"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 3 when 75-94 inclusive, 5 when ≥95, and 0 when ≤74. Never both 3 and 5.","type":"integer"},"hemoptysis":{"description":"Hemoptysis. true or false. 2 points if true.","type":"boolean"},"pain_on_deep_vein_palpation_and_unilateral_edema":{"description":"Pain on deep-vein palpation AND unilateral edema as one combined flag. true or false. 4 points if true.","type":"boolean"},"previous_dvt_or_pe":{"description":"Previous DVT or PE as assigned by the caller. true or false. 3 points if true.","type":"boolean"},"surgery_or_fracture_within_1_month":{"description":"Surgery under general anesthesia or lower-limb fracture within 1 month (one combined flag). true or false. 2 points if true.","type":"boolean"},"unilateral_lower_limb_pain":{"description":"Unilateral lower-limb pain. true or false. 3 points if true.","type":"boolean"}},"required":["age","previous_dvt_or_pe","surgery_or_fracture_within_1_month","active_malignancy","unilateral_lower_limb_pain","hemoptysis","heart_rate_bpm","pain_on_deep_vein_palpation_and_unilateral_edema"],"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},{"id":38868,"slug":"38868","resource":"https://api.magentlab.com/api/calc/reveal_pah","description":"Benza 2019 REVEAL 2.0: start at 6; add published points for etiology (CTD +1, PoPH +3, heritable +2), male >60, renal insufficiency, WHO FC, 6-month hospitalization, SBP <110, HR >96, 6MWD, BNP/NT-proBNP, pericardial effusion, DLCO <40%, mRAP >20, and PVR <5. Returns low (0-6), intermediate (7-8), or high (>=9) 12-month mortality. Caller-assigned; not a PAH diagnosis or dose. Not REVEAL 1.0 or Lite 2.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"bnp_pg_ml":40,"dlco_lt_40":false,"etiology":"other","hospitalization_6mo":false,"hr_gt_96":false,"male":false,"mrap_gt_20":false,"nt_probnp_pg_ml":200,"pericardial_effusion":false,"pvr_lt_5":true,"renal_insufficiency":false,"sbp_lt_110":false,"six_minute_walk_m":480,"who_fc":1},{"age":40,"bnp_pg_ml":40,"dlco_lt_40":false,"etiology":"other","hospitalization_6mo":false,"hr_gt_96":false,"male":false,"mrap_gt_20":false,"nt_probnp_pg_ml":200,"pericardial_effusion":false,"pvr_lt_5":true,"renal_insufficiency":false,"sbp_lt_110":false,"six_minute_walk_m":480,"who_fc":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"bnp_pg_ml":40,"citation":{"authors":"Benza RL, Gomberg-Maitland M, Elliott CG, et al.","doi":"10.1016/j.chest.2018.11.030","id":"benza-2019","pmid":"30772387","source":"Chest. 2019;156(2):323-337","title":"Predicting Survival in Patients With Pulmonary Arterial Hypertension: The REVEAL Risk Score Calculator 2.0 and Comparison With ESC/ERS-Based Risk Assessment Strategies"},"components":[{"factor":"reveal_2_0_start","points":6,"present":true},{"factor":"etiology","points":0,"present":false,"value":"other"},{"factor":"male_gt_60","points":0,"present":false,"value":40},{"factor":"renal_insufficiency","points":0,"present":false},{"factor":"who_fc","points":-1,"present":true,"value":1},{"factor":"hospitalization_6mo","points":0,"present":false},{"factor":"sbp_lt_110","points":0,"present":false},{"factor":"hr_gt_96","points":0,"present":false},{"factor":"six_minute_walk","points":-2,"present":true,"value":480},{"factor":"bnp_or_nt_probnp","points":-2,"present":true,"value":40},{"factor":"pericardial_effusion","points":0,"present":false},{"factor":"dlco_lt_40","points":0,"present":false},{"factor":"mrap_gt_20","points":0,"present":false},{"factor":"pvr_lt_5","points":-1,"present":true}],"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.","dlco_lt_40":false,"etiology":"other","formula":"reveal_pah","formula_expression":"REVEAL 2.0 = 6 + etiology + male_gt_60 + renal_insufficiency + who_fc + hospitalization_6mo + sbp_lt_110 + hr_gt_96 + six_minute_walk + bnp_or_nt_probnp + pericardial_effusion + dlco_lt_40 + mrap_gt_20 + pvr_lt_5; etiology ctd +1, poph +3, heritable +2, other 0; male and age >60 +2; eGFR <60 or renal insufficiency +1; WHO FC I -1, II 0, III +1, IV +2; all-cause hospitalization in prior 6 months +1; SBP <110 mmHg +1; HR >96 bpm +1; 6MWD >=440 m -2, 320-<440 m -1, 165-<320 m 0, <165 m +1; BNP <50 or NT-proBNP <300 -2, BNP 50-<200 or NT-proBNP 300-<1100 0, BNP 200-<800 +1, BNP >=800 or NT-proBNP >=1100 +2; pericardial effusion +1; DLCO <40% predicted +1; mRAP >20 mmHg +1; PVR <5 WU -1; low 0-6, intermediate 7-8, high >=9 (12-month mortality); max 23","hospitalization_6mo":false,"hr_gt_96":false,"male":false,"max_score":23,"mrap_gt_20":false,"pericardial_effusion":false,"pvr_lt_5":true,"renal_insufficiency":false,"risk":"low","sbp_lt_110":false,"score":0,"six_minute_walk_m":480,"who_fc":1},{"age_years":40,"bnp_pg_ml":40,"citation":{"authors":"Benza RL, Gomberg-Maitland M, Elliott CG, et al.","doi":"10.1016/j.chest.2018.11.030","id":"benza-2019","pmid":"30772387","source":"Chest. 2019;156(2):323-337","title":"Predicting Survival in Patients With Pulmonary Arterial Hypertension: The REVEAL Risk Score Calculator 2.0 and Comparison With ESC/ERS-Based Risk Assessment Strategies"},"components":[{"factor":"reveal_2_0_start","points":6,"present":true},{"factor":"etiology","points":0,"present":false,"value":"other"},{"factor":"male_gt_60","points":0,"present":false,"value":40},{"factor":"renal_insufficiency","points":0,"present":false},{"factor":"who_fc","points":-1,"present":true,"value":1},{"factor":"hospitalization_6mo","points":0,"present":false},{"factor":"sbp_lt_110","points":0,"present":false},{"factor":"hr_gt_96","points":0,"present":false},{"factor":"six_minute_walk","points":-2,"present":true,"value":480},{"factor":"bnp_or_nt_probnp","points":-2,"present":true,"value":40},{"factor":"pericardial_effusion","points":0,"present":false},{"factor":"dlco_lt_40","points":0,"present":false},{"factor":"mrap_gt_20","points":0,"present":false},{"factor":"pvr_lt_5","points":-1,"present":true}],"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.","dlco_lt_40":false,"etiology":"other","formula":"reveal_pah","formula_expression":"REVEAL 2.0 = 6 + etiology + male_gt_60 + renal_insufficiency + who_fc + hospitalization_6mo + sbp_lt_110 + hr_gt_96 + six_minute_walk + bnp_or_nt_probnp + pericardial_effusion + dlco_lt_40 + mrap_gt_20 + pvr_lt_5; etiology ctd +1, poph +3, heritable +2, other 0; male and age >60 +2; eGFR <60 or renal insufficiency +1; WHO FC I -1, II 0, III +1, IV +2; all-cause hospitalization in prior 6 months +1; SBP <110 mmHg +1; HR >96 bpm +1; 6MWD >=440 m -2, 320-<440 m -1, 165-<320 m 0, <165 m +1; BNP <50 or NT-proBNP <300 -2, BNP 50-<200 or NT-proBNP 300-<1100 0, BNP 200-<800 +1, BNP >=800 or NT-proBNP >=1100 +2; pericardial effusion +1; DLCO <40% predicted +1; mRAP >20 mmHg +1; PVR <5 WU -1; low 0-6, intermediate 7-8, high >=9 (12-month mortality); max 23","hospitalization_6mo":false,"hr_gt_96":false,"male":false,"max_score":23,"mrap_gt_20":false,"pericardial_effusion":false,"pvr_lt_5":true,"renal_insufficiency":false,"risk":"low","sbp_lt_110":false,"score":0,"six_minute_walk_m":480,"who_fc":1}],"path":"/api/calc/reveal_pah"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Male and age >60 scores +2 (Benza 2019).","type":"integer"},"bnp_pg_ml":{"description":"BNP in pg/mL 0-35000 (Benza 2019). <50 -2; 50-<200 0; 200-<800 +1; >=800 +2. Omit only when sending nt_probnp_pg_ml instead. magent does not assay BNP.","type":"number"},"dlco_lt_40":{"description":"DLCO <40% predicted as assigned by the caller (Benza 2019 REVEAL 2.0, not the 1.0 <=32 / >=80 bands). true or false. +1 if true.","type":"boolean"},"etiology":{"description":"PAH subgroup (Benza 2019). other (including idiopathic) 0; ctd +1; poph +3; heritable +2. Mutually exclusive. Caller-assigned.","enum":["other","ctd","poph","heritable"],"type":"string"},"hospitalization_6mo":{"description":"All-cause hospitalization in the prior 6 months (Benza 2019). true or false. +1 if true.","type":"boolean"},"hr_gt_96":{"description":"Heart rate >96 bpm as assigned by the caller (Benza 2019 REVEAL 2.0, not the 1.0 >92 cutoff). true or false. +1 if true.","type":"boolean"},"male":{"description":"Male sex as assigned by the caller. true or false. Scores +2 only when age >60.","type":"boolean"},"mrap_gt_20":{"description":"Mean right atrial pressure >20 mmHg within 1 year as assigned by the caller (Benza 2019). true or false. +1 if true. magent does not catheterize.","type":"boolean"},"nt_probnp_pg_ml":{"description":"NT-proBNP in pg/mL 0-35000 when BNP is not sent (Benza 2019). <300 -2; 300-<1100 0; >=1100 +2. BNP is used when both are sent.","type":"number"},"pericardial_effusion":{"description":"Pericardial effusion on echocardiography as assigned by the caller (Benza 2019). true or false. +1 if true. magent does not read the echocardiogram.","type":"boolean"},"pvr_lt_5":{"description":"Pulmonary vascular resistance <5 Wood units as assigned by the caller (Benza 2019 REVEAL 2.0, not the 1.0 >32 WU band). true or false. -1 if true.","type":"boolean"},"renal_insufficiency":{"description":"eGFR <60 mL/min/1.73 m2 or renal insufficiency by clinical judgment when eGFR is unavailable (Benza 2019). true or false. +1 if true. magent does not compute eGFR.","type":"boolean"},"sbp_lt_110":{"description":"Systolic blood pressure <110 mmHg as assigned by the caller (Benza 2019). true or false. +1 if true. magent does not measure blood pressure.","type":"boolean"},"six_minute_walk_m":{"description":"Six-minute walk distance in meters 0-1000 (Benza 2019). >=440 -2; 320-<440 -1; 165-<320 0; <165 +1. Caller-assigned; magent does not time the walk.","type":"number"},"who_fc":{"description":"WHO / NYHA functional class 1, 2, 3, or 4 (Benza 2019). FC I -1; II 0; III +1; IV +2. Caller-assigned; magent does not interview the patient.","type":"integer"}},"required":["who_fc","etiology","age","male","renal_insufficiency","hospitalization_6mo","sbp_lt_110","hr_gt_96","six_minute_walk_m","bnp_pg_ml","pericardial_effusion","dlco_lt_40","mrap_gt_20","pvr_lt_5"],"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":["reveal-2","pah","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:26:32.439Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:26:32.26Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"bnp_pg_ml":40,"dlco_lt_40":false,"etiology":"other","hospitalization_6mo":false,"hr_gt_96":false,"male":false,"mrap_gt_20":false,"nt_probnp_pg_ml":200,"pericardial_effusion":false,"pvr_lt_5":true,"renal_insufficiency":false,"sbp_lt_110":false,"six_minute_walk_m":480,"who_fc":1},{"age":40,"bnp_pg_ml":40,"dlco_lt_40":false,"etiology":"other","hospitalization_6mo":false,"hr_gt_96":false,"male":false,"mrap_gt_20":false,"nt_probnp_pg_ml":200,"pericardial_effusion":false,"pvr_lt_5":true,"renal_insufficiency":false,"sbp_lt_110":false,"six_minute_walk_m":480,"who_fc":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"bnp_pg_ml":40,"citation":{"authors":"Benza RL, Gomberg-Maitland M, Elliott CG, et al.","doi":"10.1016/j.chest.2018.11.030","id":"benza-2019","pmid":"30772387","source":"Chest. 2019;156(2):323-337","title":"Predicting Survival in Patients With Pulmonary Arterial Hypertension: The REVEAL Risk Score Calculator 2.0 and Comparison With ESC/ERS-Based Risk Assessment Strategies"},"components":[{"factor":"reveal_2_0_start","points":6,"present":true},{"factor":"etiology","points":0,"present":false,"value":"other"},{"factor":"male_gt_60","points":0,"present":false,"value":40},{"factor":"renal_insufficiency","points":0,"present":false},{"factor":"who_fc","points":-1,"present":true,"value":1},{"factor":"hospitalization_6mo","points":0,"present":false},{"factor":"sbp_lt_110","points":0,"present":false},{"factor":"hr_gt_96","points":0,"present":false},{"factor":"six_minute_walk","points":-2,"present":true,"value":480},{"factor":"bnp_or_nt_probnp","points":-2,"present":true,"value":40},{"factor":"pericardial_effusion","points":0,"present":false},{"factor":"dlco_lt_40","points":0,"present":false},{"factor":"mrap_gt_20","points":0,"present":false},{"factor":"pvr_lt_5","points":-1,"present":true}],"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.","dlco_lt_40":false,"etiology":"other","formula":"reveal_pah","formula_expression":"REVEAL 2.0 = 6 + etiology + male_gt_60 + renal_insufficiency + who_fc + hospitalization_6mo + sbp_lt_110 + hr_gt_96 + six_minute_walk + bnp_or_nt_probnp + pericardial_effusion + dlco_lt_40 + mrap_gt_20 + pvr_lt_5; etiology ctd +1, poph +3, heritable +2, other 0; male and age >60 +2; eGFR <60 or renal insufficiency +1; WHO FC I -1, II 0, III +1, IV +2; all-cause hospitalization in prior 6 months +1; SBP <110 mmHg +1; HR >96 bpm +1; 6MWD >=440 m -2, 320-<440 m -1, 165-<320 m 0, <165 m +1; BNP <50 or NT-proBNP <300 -2, BNP 50-<200 or NT-proBNP 300-<1100 0, BNP 200-<800 +1, BNP >=800 or NT-proBNP >=1100 +2; pericardial effusion +1; DLCO <40% predicted +1; mRAP >20 mmHg +1; PVR <5 WU -1; low 0-6, intermediate 7-8, high >=9 (12-month mortality); max 23","hospitalization_6mo":false,"hr_gt_96":false,"male":false,"max_score":23,"mrap_gt_20":false,"pericardial_effusion":false,"pvr_lt_5":true,"renal_insufficiency":false,"risk":"low","sbp_lt_110":false,"score":0,"six_minute_walk_m":480,"who_fc":1},{"age_years":40,"bnp_pg_ml":40,"citation":{"authors":"Benza RL, Gomberg-Maitland M, Elliott CG, et al.","doi":"10.1016/j.chest.2018.11.030","id":"benza-2019","pmid":"30772387","source":"Chest. 2019;156(2):323-337","title":"Predicting Survival in Patients With Pulmonary Arterial Hypertension: The REVEAL Risk Score Calculator 2.0 and Comparison With ESC/ERS-Based Risk Assessment Strategies"},"components":[{"factor":"reveal_2_0_start","points":6,"present":true},{"factor":"etiology","points":0,"present":false,"value":"other"},{"factor":"male_gt_60","points":0,"present":false,"value":40},{"factor":"renal_insufficiency","points":0,"present":false},{"factor":"who_fc","points":-1,"present":true,"value":1},{"factor":"hospitalization_6mo","points":0,"present":false},{"factor":"sbp_lt_110","points":0,"present":false},{"factor":"hr_gt_96","points":0,"present":false},{"factor":"six_minute_walk","points":-2,"present":true,"value":480},{"factor":"bnp_or_nt_probnp","points":-2,"present":true,"value":40},{"factor":"pericardial_effusion","points":0,"present":false},{"factor":"dlco_lt_40","points":0,"present":false},{"factor":"mrap_gt_20","points":0,"present":false},{"factor":"pvr_lt_5","points":-1,"present":true}],"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.","dlco_lt_40":false,"etiology":"other","formula":"reveal_pah","formula_expression":"REVEAL 2.0 = 6 + etiology + male_gt_60 + renal_insufficiency + who_fc + hospitalization_6mo + sbp_lt_110 + hr_gt_96 + six_minute_walk + bnp_or_nt_probnp + pericardial_effusion + dlco_lt_40 + mrap_gt_20 + pvr_lt_5; etiology ctd +1, poph +3, heritable +2, other 0; male and age >60 +2; eGFR <60 or renal insufficiency +1; WHO FC I -1, II 0, III +1, IV +2; all-cause hospitalization in prior 6 months +1; SBP <110 mmHg +1; HR >96 bpm +1; 6MWD >=440 m -2, 320-<440 m -1, 165-<320 m 0, <165 m +1; BNP <50 or NT-proBNP <300 -2, BNP 50-<200 or NT-proBNP 300-<1100 0, BNP 200-<800 +1, BNP >=800 or NT-proBNP >=1100 +2; pericardial effusion +1; DLCO <40% predicted +1; mRAP >20 mmHg +1; PVR <5 WU -1; low 0-6, intermediate 7-8, high >=9 (12-month mortality); max 23","hospitalization_6mo":false,"hr_gt_96":false,"male":false,"max_score":23,"mrap_gt_20":false,"pericardial_effusion":false,"pvr_lt_5":true,"renal_insufficiency":false,"risk":"low","sbp_lt_110":false,"score":0,"six_minute_walk_m":480,"who_fc":1}],"path":"/api/calc/reveal_pah"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Male and age >60 scores +2 (Benza 2019).","type":"integer"},"bnp_pg_ml":{"description":"BNP in pg/mL 0-35000 (Benza 2019). <50 -2; 50-<200 0; 200-<800 +1; >=800 +2. Omit only when sending nt_probnp_pg_ml instead. magent does not assay BNP.","type":"number"},"dlco_lt_40":{"description":"DLCO <40% predicted as assigned by the caller (Benza 2019 REVEAL 2.0, not the 1.0 <=32 / >=80 bands). true or false. +1 if true.","type":"boolean"},"etiology":{"description":"PAH subgroup (Benza 2019). other (including idiopathic) 0; ctd +1; poph +3; heritable +2. Mutually exclusive. Caller-assigned.","enum":["other","ctd","poph","heritable"],"type":"string"},"hospitalization_6mo":{"description":"All-cause hospitalization in the prior 6 months (Benza 2019). true or false. +1 if true.","type":"boolean"},"hr_gt_96":{"description":"Heart rate >96 bpm as assigned by the caller (Benza 2019 REVEAL 2.0, not the 1.0 >92 cutoff). true or false. +1 if true.","type":"boolean"},"male":{"description":"Male sex as assigned by the caller. true or false. Scores +2 only when age >60.","type":"boolean"},"mrap_gt_20":{"description":"Mean right atrial pressure >20 mmHg within 1 year as assigned by the caller (Benza 2019). true or false. +1 if true. magent does not catheterize.","type":"boolean"},"nt_probnp_pg_ml":{"description":"NT-proBNP in pg/mL 0-35000 when BNP is not sent (Benza 2019). <300 -2; 300-<1100 0; >=1100 +2. BNP is used when both are sent.","type":"number"},"pericardial_effusion":{"description":"Pericardial effusion on echocardiography as assigned by the caller (Benza 2019). true or false. +1 if true. magent does not read the echocardiogram.","type":"boolean"},"pvr_lt_5":{"description":"Pulmonary vascular resistance <5 Wood units as assigned by the caller (Benza 2019 REVEAL 2.0, not the 1.0 >32 WU band). true or false. -1 if true.","type":"boolean"},"renal_insufficiency":{"description":"eGFR <60 mL/min/1.73 m2 or renal insufficiency by clinical judgment when eGFR is unavailable (Benza 2019). true or false. +1 if true. magent does not compute eGFR.","type":"boolean"},"sbp_lt_110":{"description":"Systolic blood pressure <110 mmHg as assigned by the caller (Benza 2019). true or false. +1 if true. magent does not measure blood pressure.","type":"boolean"},"six_minute_walk_m":{"description":"Six-minute walk distance in meters 0-1000 (Benza 2019). >=440 -2; 320-<440 -1; 165-<320 0; <165 +1. Caller-assigned; magent does not time the walk.","type":"number"},"who_fc":{"description":"WHO / NYHA functional class 1, 2, 3, or 4 (Benza 2019). FC I -1; II 0; III +1; IV +2. Caller-assigned; magent does not interview the patient.","type":"integer"}},"required":["who_fc","etiology","age","male","renal_insufficiency","hospitalization_6mo","sbp_lt_110","hr_gt_96","six_minute_walk_m","bnp_pg_ml","pericardial_effusion","dlco_lt_40","mrap_gt_20","pvr_lt_5"],"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},{"id":38869,"slug":"38869","resource":"https://api.magentlab.com/api/calc/rest_lgs","description":"Wolf 2024 REST-LGS: four major criteria (+3 each) and four minor (+1 each). Max 16. likely if score > 11, possible if 8-11, unlikely if < 8. Caller-assigned flags only; magent does not read EEG. Screening, not a diagnosis of Lennox-Gastaut syndrome. Not the 2019 CRF count threshold.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cognitive_impairment_since_childhood":false,"helmet_or_head_face_injury":false,"other_eeg_abnormalities":false,"persistent_seizures_despite_two_asms":false,"seizure_onset_before_12":false,"slow_spike_wave":false,"two_or_more_seizure_types":false,"vns_keto_or_surgery":false},{"cognitive_impairment_since_childhood":false,"helmet_or_head_face_injury":false,"other_eeg_abnormalities":false,"persistent_seizures_despite_two_asms":false,"seizure_onset_before_12":false,"slow_spike_wave":false,"two_or_more_seizure_types":false,"vns_keto_or_surgery":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wolf SM, Boyce D, Peña P, Piña-Garza JE, Roland JJ, Thomas B, Zogejani D, McGoldrick PE","doi":"10.1002/epi4.12952","id":"wolf-2024","pmid":"38726917","source":"Epilepsia Open. 2024;9(4):1277-1286","title":"Real-world use of the updated refractory epilepsy screening tool for Lennox-Gastaut syndrome"},"components":[{"factor":"two_or_more_seizure_types","points":0,"present":false},{"factor":"seizure_onset_before_12","points":0,"present":false},{"factor":"slow_spike_wave","points":0,"present":false},{"factor":"cognitive_impairment_since_childhood","points":0,"present":false},{"factor":"persistent_seizures_despite_two_asms","points":0,"present":false},{"factor":"vns_keto_or_surgery","points":0,"present":false},{"factor":"helmet_or_head_face_injury","points":0,"present":false},{"factor":"other_eeg_abnormalities","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":"rest_lgs","formula_expression":"REST-LGS = 3*two_or_more_seizure_types + 3*seizure_onset_before_12 + 3*slow_spike_wave + 3*cognitive_impairment_since_childhood + persistent_seizures_despite_two_asms + vns_keto_or_surgery + helmet_or_head_face_injury + other_eeg_abnormalities; each major 3, each minor 1; max 16; likely if score > 11; possible if 8-11; unlikely if score < 8 (Wolf 2024)","lgs_screen":"unlikely","major_count":0,"max_score":16,"minor_count":0,"score":0},{"citation":{"authors":"Wolf SM, Boyce D, Peña P, Piña-Garza JE, Roland JJ, Thomas B, Zogejani D, McGoldrick PE","doi":"10.1002/epi4.12952","id":"wolf-2024","pmid":"38726917","source":"Epilepsia Open. 2024;9(4):1277-1286","title":"Real-world use of the updated refractory epilepsy screening tool for Lennox-Gastaut syndrome"},"components":[{"factor":"two_or_more_seizure_types","points":0,"present":false},{"factor":"seizure_onset_before_12","points":0,"present":false},{"factor":"slow_spike_wave","points":0,"present":false},{"factor":"cognitive_impairment_since_childhood","points":0,"present":false},{"factor":"persistent_seizures_despite_two_asms","points":0,"present":false},{"factor":"vns_keto_or_surgery","points":0,"present":false},{"factor":"helmet_or_head_face_injury","points":0,"present":false},{"factor":"other_eeg_abnormalities","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":"rest_lgs","formula_expression":"REST-LGS = 3*two_or_more_seizure_types + 3*seizure_onset_before_12 + 3*slow_spike_wave + 3*cognitive_impairment_since_childhood + persistent_seizures_despite_two_asms + vns_keto_or_surgery + helmet_or_head_face_injury + other_eeg_abnormalities; each major 3, each minor 1; max 16; likely if score > 11; possible if 8-11; unlikely if score < 8 (Wolf 2024)","lgs_screen":"unlikely","major_count":0,"max_score":16,"minor_count":0,"score":0}],"path":"/api/calc/rest_lgs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cognitive_impairment_since_childhood":{"description":"Cognitive impairment since childhood (Wolf 2024 major, +3), which may include past or current learning difficulties, special education, autism, intellectual disabilities, or developmental delays. true or false as assigned by the caller.","type":"boolean"},"helmet_or_head_face_injury":{"description":"Evidence of seizure-related helmet use or head/face injury (Wolf 2024 minor, +1). true or false as assigned by the caller.","type":"boolean"},"other_eeg_abnormalities":{"description":"Other EEG abnormalities: multifocal spikes, symptomatic generalized discharges, generalized periods of attenuation of background/electrodecrement, or paroxysmal fast activity (Wolf 2024 minor, +1). true or false as assigned by the caller. magent does not read EEG.","type":"boolean"},"persistent_seizures_despite_two_asms":{"description":"Persistent seizures despite a trial of two or more antiseizure medications (Wolf 2024 minor, +1). true or false as assigned by the caller.","type":"boolean"},"seizure_onset_before_12":{"description":"Seizure onset at younger than 12 years of age (Wolf 2024 major, +3). Age 12 does not meet. true or false as assigned by the caller. magent does not take numeric age.","type":"boolean"},"slow_spike_wave":{"description":"History of slow spike-wave (SSW, <2.5 Hz) on EEG (Wolf 2024 major, +3). true or false as assigned by the caller. magent does not read EEG.","type":"boolean"},"two_or_more_seizure_types":{"description":"Two or more seizure types (Wolf 2024 major, +3). true or false as assigned by the caller.","type":"boolean"},"vns_keto_or_surgery":{"description":"History of vagal nerve stimulation, ketogenic diet therapy, or epilepsy surgery (Wolf 2024 minor, +1). true or false as assigned by the caller.","type":"boolean"}},"required":["two_or_more_seizure_types","seizure_onset_before_12","slow_spike_wave","cognitive_impairment_since_childhood","persistent_seizures_despite_two_asms","vns_keto_or_surgery","helmet_or_head_face_injury","other_eeg_abnormalities"],"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":["rest-lgs","lgs","epilepsy","neurology","screening","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:21:50.659Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T12:21:50.524Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cognitive_impairment_since_childhood":false,"helmet_or_head_face_injury":false,"other_eeg_abnormalities":false,"persistent_seizures_despite_two_asms":false,"seizure_onset_before_12":false,"slow_spike_wave":false,"two_or_more_seizure_types":false,"vns_keto_or_surgery":false},{"cognitive_impairment_since_childhood":false,"helmet_or_head_face_injury":false,"other_eeg_abnormalities":false,"persistent_seizures_despite_two_asms":false,"seizure_onset_before_12":false,"slow_spike_wave":false,"two_or_more_seizure_types":false,"vns_keto_or_surgery":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wolf SM, Boyce D, Peña P, Piña-Garza JE, Roland JJ, Thomas B, Zogejani D, McGoldrick PE","doi":"10.1002/epi4.12952","id":"wolf-2024","pmid":"38726917","source":"Epilepsia Open. 2024;9(4):1277-1286","title":"Real-world use of the updated refractory epilepsy screening tool for Lennox-Gastaut syndrome"},"components":[{"factor":"two_or_more_seizure_types","points":0,"present":false},{"factor":"seizure_onset_before_12","points":0,"present":false},{"factor":"slow_spike_wave","points":0,"present":false},{"factor":"cognitive_impairment_since_childhood","points":0,"present":false},{"factor":"persistent_seizures_despite_two_asms","points":0,"present":false},{"factor":"vns_keto_or_surgery","points":0,"present":false},{"factor":"helmet_or_head_face_injury","points":0,"present":false},{"factor":"other_eeg_abnormalities","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":"rest_lgs","formula_expression":"REST-LGS = 3*two_or_more_seizure_types + 3*seizure_onset_before_12 + 3*slow_spike_wave + 3*cognitive_impairment_since_childhood + persistent_seizures_despite_two_asms + vns_keto_or_surgery + helmet_or_head_face_injury + other_eeg_abnormalities; each major 3, each minor 1; max 16; likely if score > 11; possible if 8-11; unlikely if score < 8 (Wolf 2024)","lgs_screen":"unlikely","major_count":0,"max_score":16,"minor_count":0,"score":0},{"citation":{"authors":"Wolf SM, Boyce D, Peña P, Piña-Garza JE, Roland JJ, Thomas B, Zogejani D, McGoldrick PE","doi":"10.1002/epi4.12952","id":"wolf-2024","pmid":"38726917","source":"Epilepsia Open. 2024;9(4):1277-1286","title":"Real-world use of the updated refractory epilepsy screening tool for Lennox-Gastaut syndrome"},"components":[{"factor":"two_or_more_seizure_types","points":0,"present":false},{"factor":"seizure_onset_before_12","points":0,"present":false},{"factor":"slow_spike_wave","points":0,"present":false},{"factor":"cognitive_impairment_since_childhood","points":0,"present":false},{"factor":"persistent_seizures_despite_two_asms","points":0,"present":false},{"factor":"vns_keto_or_surgery","points":0,"present":false},{"factor":"helmet_or_head_face_injury","points":0,"present":false},{"factor":"other_eeg_abnormalities","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":"rest_lgs","formula_expression":"REST-LGS = 3*two_or_more_seizure_types + 3*seizure_onset_before_12 + 3*slow_spike_wave + 3*cognitive_impairment_since_childhood + persistent_seizures_despite_two_asms + vns_keto_or_surgery + helmet_or_head_face_injury + other_eeg_abnormalities; each major 3, each minor 1; max 16; likely if score > 11; possible if 8-11; unlikely if score < 8 (Wolf 2024)","lgs_screen":"unlikely","major_count":0,"max_score":16,"minor_count":0,"score":0}],"path":"/api/calc/rest_lgs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cognitive_impairment_since_childhood":{"description":"Cognitive impairment since childhood (Wolf 2024 major, +3), which may include past or current learning difficulties, special education, autism, intellectual disabilities, or developmental delays. true or false as assigned by the caller.","type":"boolean"},"helmet_or_head_face_injury":{"description":"Evidence of seizure-related helmet use or head/face injury (Wolf 2024 minor, +1). true or false as assigned by the caller.","type":"boolean"},"other_eeg_abnormalities":{"description":"Other EEG abnormalities: multifocal spikes, symptomatic generalized discharges, generalized periods of attenuation of background/electrodecrement, or paroxysmal fast activity (Wolf 2024 minor, +1). true or false as assigned by the caller. magent does not read EEG.","type":"boolean"},"persistent_seizures_despite_two_asms":{"description":"Persistent seizures despite a trial of two or more antiseizure medications (Wolf 2024 minor, +1). true or false as assigned by the caller.","type":"boolean"},"seizure_onset_before_12":{"description":"Seizure onset at younger than 12 years of age (Wolf 2024 major, +3). Age 12 does not meet. true or false as assigned by the caller. magent does not take numeric age.","type":"boolean"},"slow_spike_wave":{"description":"History of slow spike-wave (SSW, <2.5 Hz) on EEG (Wolf 2024 major, +3). true or false as assigned by the caller. magent does not read EEG.","type":"boolean"},"two_or_more_seizure_types":{"description":"Two or more seizure types (Wolf 2024 major, +3). true or false as assigned by the caller.","type":"boolean"},"vns_keto_or_surgery":{"description":"History of vagal nerve stimulation, ketogenic diet therapy, or epilepsy surgery (Wolf 2024 minor, +1). true or false as assigned by the caller.","type":"boolean"}},"required":["two_or_more_seizure_types","seizure_onset_before_12","slow_spike_wave","cognitive_impairment_since_childhood","persistent_seizures_despite_two_asms","vns_keto_or_surgery","helmet_or_head_face_injury","other_eeg_abnormalities"],"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},{"id":38890,"slug":"38890","resource":"https://api.magentlab.com/api/calc/trunk_impairment","description":"Verheyden 2004 original Trunk Impairment Scale from caller-assigned static sitting balance 0-7, dynamic sitting balance 0-10, and coordination 0-6 (max 23). If static sitting balance is 0, the total is 0. magent does not examine sitting balance or copy the item list. Not TIS 2.0, not Fujiwara 2004, and not a severity band.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"coordination":0,"dynamic_sitting_balance":0,"static_sitting_balance":0},{"coordination":0,"dynamic_sitting_balance":0,"static_sitting_balance":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Verheyden G, Nieuwboer A, Mertin J, Preger R, Kiekens C, De Weerdt W","doi":"10.1191/0269215504cr733oa","id":"verheyden-2004","pmid":"15137564","source":"Clin Rehabil. 2004;18(3):326-334","title":"The Trunk Impairment Scale: a new tool to measure motor impairment of the trunk after stroke"},"components":[{"factor":"static_sitting_balance","points":0,"present":false,"value":0},{"factor":"dynamic_sitting_balance","points":0,"present":false,"value":0},{"factor":"coordination","points":0,"present":false,"value":0}],"coordination":0,"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.","dynamic_sitting_balance":0,"formula":"tis","formula_expression":"TIS = static_sitting_balance + dynamic_sitting_balance + coordination when static_sitting_balance > 0, else 0; caller-assigned Verheyden 2004 original TIS subscales (static sitting balance 0-7, dynamic sitting balance 0-10, coordination 0-6); max 23; if static sitting balance is 0 the total is 0 even when the other subscales are nonzero; not TIS 2.0; not Fujiwara 2004; magent does not examine sitting balance; no published mild/moderate/severe cutoffs","max_score":23,"score":0,"static_sitting_balance":0},{"citation":{"authors":"Verheyden G, Nieuwboer A, Mertin J, Preger R, Kiekens C, De Weerdt W","doi":"10.1191/0269215504cr733oa","id":"verheyden-2004","pmid":"15137564","source":"Clin Rehabil. 2004;18(3):326-334","title":"The Trunk Impairment Scale: a new tool to measure motor impairment of the trunk after stroke"},"components":[{"factor":"static_sitting_balance","points":0,"present":false,"value":0},{"factor":"dynamic_sitting_balance","points":0,"present":false,"value":0},{"factor":"coordination","points":0,"present":false,"value":0}],"coordination":0,"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.","dynamic_sitting_balance":0,"formula":"tis","formula_expression":"TIS = static_sitting_balance + dynamic_sitting_balance + coordination when static_sitting_balance > 0, else 0; caller-assigned Verheyden 2004 original TIS subscales (static sitting balance 0-7, dynamic sitting balance 0-10, coordination 0-6); max 23; if static sitting balance is 0 the total is 0 even when the other subscales are nonzero; not TIS 2.0; not Fujiwara 2004; magent does not examine sitting balance; no published mild/moderate/severe cutoffs","max_score":23,"score":0,"static_sitting_balance":0}],"path":"/api/calc/trunk_impairment"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"coordination":{"description":"Caller-assigned Verheyden 2004 original TIS coordination subscale (integer 0-6). magent does not examine sitting balance.","enum":[0,1,2,3,4,5,6],"type":"integer"},"dynamic_sitting_balance":{"description":"Caller-assigned Verheyden 2004 original TIS dynamic sitting balance subscale (integer 0-10). magent does not examine sitting balance.","enum":[0,1,2,3,4,5,6,7,8,9,10],"type":"integer"},"static_sitting_balance":{"description":"Caller-assigned Verheyden 2004 original TIS static sitting balance subscale (integer 0-7). magent does not examine sitting balance.","enum":[0,1,2,3,4,5,6,7],"type":"integer"}},"required":["static_sitting_balance","dynamic_sitting_balance","coordination"],"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":["tis","stroke","neurology","trunk","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:53:56.178Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:53:55.846Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"coordination":0,"dynamic_sitting_balance":0,"static_sitting_balance":0},{"coordination":0,"dynamic_sitting_balance":0,"static_sitting_balance":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Verheyden G, Nieuwboer A, Mertin J, Preger R, Kiekens C, De Weerdt W","doi":"10.1191/0269215504cr733oa","id":"verheyden-2004","pmid":"15137564","source":"Clin Rehabil. 2004;18(3):326-334","title":"The Trunk Impairment Scale: a new tool to measure motor impairment of the trunk after stroke"},"components":[{"factor":"static_sitting_balance","points":0,"present":false,"value":0},{"factor":"dynamic_sitting_balance","points":0,"present":false,"value":0},{"factor":"coordination","points":0,"present":false,"value":0}],"coordination":0,"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.","dynamic_sitting_balance":0,"formula":"tis","formula_expression":"TIS = static_sitting_balance + dynamic_sitting_balance + coordination when static_sitting_balance > 0, else 0; caller-assigned Verheyden 2004 original TIS subscales (static sitting balance 0-7, dynamic sitting balance 0-10, coordination 0-6); max 23; if static sitting balance is 0 the total is 0 even when the other subscales are nonzero; not TIS 2.0; not Fujiwara 2004; magent does not examine sitting balance; no published mild/moderate/severe cutoffs","max_score":23,"score":0,"static_sitting_balance":0},{"citation":{"authors":"Verheyden G, Nieuwboer A, Mertin J, Preger R, Kiekens C, De Weerdt W","doi":"10.1191/0269215504cr733oa","id":"verheyden-2004","pmid":"15137564","source":"Clin Rehabil. 2004;18(3):326-334","title":"The Trunk Impairment Scale: a new tool to measure motor impairment of the trunk after stroke"},"components":[{"factor":"static_sitting_balance","points":0,"present":false,"value":0},{"factor":"dynamic_sitting_balance","points":0,"present":false,"value":0},{"factor":"coordination","points":0,"present":false,"value":0}],"coordination":0,"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.","dynamic_sitting_balance":0,"formula":"tis","formula_expression":"TIS = static_sitting_balance + dynamic_sitting_balance + coordination when static_sitting_balance > 0, else 0; caller-assigned Verheyden 2004 original TIS subscales (static sitting balance 0-7, dynamic sitting balance 0-10, coordination 0-6); max 23; if static sitting balance is 0 the total is 0 even when the other subscales are nonzero; not TIS 2.0; not Fujiwara 2004; magent does not examine sitting balance; no published mild/moderate/severe cutoffs","max_score":23,"score":0,"static_sitting_balance":0}],"path":"/api/calc/trunk_impairment"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"coordination":{"description":"Caller-assigned Verheyden 2004 original TIS coordination subscale (integer 0-6). magent does not examine sitting balance.","enum":[0,1,2,3,4,5,6],"type":"integer"},"dynamic_sitting_balance":{"description":"Caller-assigned Verheyden 2004 original TIS dynamic sitting balance subscale (integer 0-10). magent does not examine sitting balance.","enum":[0,1,2,3,4,5,6,7,8,9,10],"type":"integer"},"static_sitting_balance":{"description":"Caller-assigned Verheyden 2004 original TIS static sitting balance subscale (integer 0-7). magent does not examine sitting balance.","enum":[0,1,2,3,4,5,6,7],"type":"integer"}},"required":["static_sitting_balance","dynamic_sitting_balance","coordination"],"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},{"id":38891,"slug":"38891","resource":"https://api.magentlab.com/api/calc/twist","description":"Barbosa 2013 TWIST (Testicular Workup for Ischemia and Suspected Torsion). Five caller-assigned flags: testicular swelling (2), hard testicle (2), absent cremasteric reflex (1), nausea or vomiting (1), high-riding testis (1). Max 7. Risk: 0–2 low, 3–4 intermediate, 5–7 high (cutoffs 2 and 5). Not a torsion diagnosis or an ultrasound or operative order. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"absent_cremasteric_reflex":false,"hard_testicle":false,"high_riding_testis":false,"nausea_or_vomiting":false,"testicular_swelling":false},{"absent_cremasteric_reflex":false,"hard_testicle":false,"high_riding_testis":false,"nausea_or_vomiting":false,"testicular_swelling":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Barbosa JA, Tiseo BC, Barayan GA, Rosman BM, Torricelli FC, Passerotti CC, Srougi M, Retik AB, Nguyen HT","doi":"10.1016/j.juro.2012.10.056","id":"barbosa-2013","pmid":"23103800","source":"J Urol. 2013;189(5):1859-1864","title":"Development and initial validation of a scoring system to diagnose testicular torsion in children"},"components":[{"factor":"testicular_swelling","points":0,"present":false},{"factor":"hard_testicle","points":0,"present":false},{"factor":"absent_cremasteric_reflex","points":0,"present":false},{"factor":"nausea_or_vomiting","points":0,"present":false},{"factor":"high_riding_testis","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":"twist","formula_expression":"TWIST = testicular_swelling (true 2) + hard_testicle (true 2) + absent_cremasteric_reflex (true 1) + nausea_or_vomiting (true 1) + high_riding_testis (true 1); Barbosa 2013; max 7; 0-2 low, 3-4 intermediate, 5-7 high (cutoffs 2 and 5)","max_score":7,"risk":"low","score":0},{"citation":{"authors":"Barbosa JA, Tiseo BC, Barayan GA, Rosman BM, Torricelli FC, Passerotti CC, Srougi M, Retik AB, Nguyen HT","doi":"10.1016/j.juro.2012.10.056","id":"barbosa-2013","pmid":"23103800","source":"J Urol. 2013;189(5):1859-1864","title":"Development and initial validation of a scoring system to diagnose testicular torsion in children"},"components":[{"factor":"testicular_swelling","points":0,"present":false},{"factor":"hard_testicle","points":0,"present":false},{"factor":"absent_cremasteric_reflex","points":0,"present":false},{"factor":"nausea_or_vomiting","points":0,"present":false},{"factor":"high_riding_testis","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":"twist","formula_expression":"TWIST = testicular_swelling (true 2) + hard_testicle (true 2) + absent_cremasteric_reflex (true 1) + nausea_or_vomiting (true 1) + high_riding_testis (true 1); Barbosa 2013; max 7; 0-2 low, 3-4 intermediate, 5-7 high (cutoffs 2 and 5)","max_score":7,"risk":"low","score":0}],"path":"/api/calc/twist"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"absent_cremasteric_reflex":{"description":"Absent cremasteric reflex as assigned by the caller (Barbosa 2013). true scores 1. magent does not examine the patient.","type":"boolean"},"hard_testicle":{"description":"Hard testicle as assigned by the caller (Barbosa 2013). true scores 2. magent does not examine the patient.","type":"boolean"},"high_riding_testis":{"description":"High-riding testis as assigned by the caller (Barbosa 2013). true scores 1. magent does not examine the patient.","type":"boolean"},"nausea_or_vomiting":{"description":"Nausea or vomiting as assigned by the caller (Barbosa 2013). true scores 1. magent does not take a symptom history.","type":"boolean"},"testicular_swelling":{"description":"Testicular swelling as assigned by the caller (Barbosa 2013). true scores 2. magent does not examine the patient.","type":"boolean"}},"required":["testicular_swelling","hard_testicle","absent_cremasteric_reflex","nausea_or_vomiting","high_riding_testis"],"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":["twist","testicular-torsion","acute-scrotum","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:53:59.692Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:53:59.54Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"absent_cremasteric_reflex":false,"hard_testicle":false,"high_riding_testis":false,"nausea_or_vomiting":false,"testicular_swelling":false},{"absent_cremasteric_reflex":false,"hard_testicle":false,"high_riding_testis":false,"nausea_or_vomiting":false,"testicular_swelling":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Barbosa JA, Tiseo BC, Barayan GA, Rosman BM, Torricelli FC, Passerotti CC, Srougi M, Retik AB, Nguyen HT","doi":"10.1016/j.juro.2012.10.056","id":"barbosa-2013","pmid":"23103800","source":"J Urol. 2013;189(5):1859-1864","title":"Development and initial validation of a scoring system to diagnose testicular torsion in children"},"components":[{"factor":"testicular_swelling","points":0,"present":false},{"factor":"hard_testicle","points":0,"present":false},{"factor":"absent_cremasteric_reflex","points":0,"present":false},{"factor":"nausea_or_vomiting","points":0,"present":false},{"factor":"high_riding_testis","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":"twist","formula_expression":"TWIST = testicular_swelling (true 2) + hard_testicle (true 2) + absent_cremasteric_reflex (true 1) + nausea_or_vomiting (true 1) + high_riding_testis (true 1); Barbosa 2013; max 7; 0-2 low, 3-4 intermediate, 5-7 high (cutoffs 2 and 5)","max_score":7,"risk":"low","score":0},{"citation":{"authors":"Barbosa JA, Tiseo BC, Barayan GA, Rosman BM, Torricelli FC, Passerotti CC, Srougi M, Retik AB, Nguyen HT","doi":"10.1016/j.juro.2012.10.056","id":"barbosa-2013","pmid":"23103800","source":"J Urol. 2013;189(5):1859-1864","title":"Development and initial validation of a scoring system to diagnose testicular torsion in children"},"components":[{"factor":"testicular_swelling","points":0,"present":false},{"factor":"hard_testicle","points":0,"present":false},{"factor":"absent_cremasteric_reflex","points":0,"present":false},{"factor":"nausea_or_vomiting","points":0,"present":false},{"factor":"high_riding_testis","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":"twist","formula_expression":"TWIST = testicular_swelling (true 2) + hard_testicle (true 2) + absent_cremasteric_reflex (true 1) + nausea_or_vomiting (true 1) + high_riding_testis (true 1); Barbosa 2013; max 7; 0-2 low, 3-4 intermediate, 5-7 high (cutoffs 2 and 5)","max_score":7,"risk":"low","score":0}],"path":"/api/calc/twist"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"absent_cremasteric_reflex":{"description":"Absent cremasteric reflex as assigned by the caller (Barbosa 2013). true scores 1. magent does not examine the patient.","type":"boolean"},"hard_testicle":{"description":"Hard testicle as assigned by the caller (Barbosa 2013). true scores 2. magent does not examine the patient.","type":"boolean"},"high_riding_testis":{"description":"High-riding testis as assigned by the caller (Barbosa 2013). true scores 1. magent does not examine the patient.","type":"boolean"},"nausea_or_vomiting":{"description":"Nausea or vomiting as assigned by the caller (Barbosa 2013). true scores 1. magent does not take a symptom history.","type":"boolean"},"testicular_swelling":{"description":"Testicular swelling as assigned by the caller (Barbosa 2013). true scores 2. magent does not examine the patient.","type":"boolean"}},"required":["testicular_swelling","hard_testicle","absent_cremasteric_reflex","nausea_or_vomiting","high_riding_testis"],"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},{"id":38892,"slug":"38892","resource":"https://api.magentlab.com/api/calc/uas","description":"Młynek 2008 EAACI/GA2LEN/EDF UAS: seven days of wheals and pruritus integers 0-3. Daily UAS is wheals plus pruritus (0-6). UAS7 is the seven-day sum (0-42). Returns mean_daily_uas. Wheals 0 none, 1 mild (<20/24h), 2 moderate (20-50/24h), 3 intense (>50/24h or confluent). Pruritus 0 none, 1 mild, 2 moderate, 3 intense (interferes with activity or sleep). Seven complete days; no missing-day imputation. Not a diagnosis, not AAS. magent does not count wheals. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"pruritus_d1":1,"pruritus_d2":0,"pruritus_d3":0,"pruritus_d4":0,"pruritus_d5":0,"pruritus_d6":0,"pruritus_d7":0,"wheals_d1":1,"wheals_d2":0,"wheals_d3":0,"wheals_d4":0,"wheals_d5":0,"wheals_d6":0,"wheals_d7":0},{"pruritus_d1":1,"pruritus_d2":0,"pruritus_d3":0,"pruritus_d4":0,"pruritus_d5":0,"pruritus_d6":0,"pruritus_d7":0,"wheals_d1":1,"wheals_d2":0,"wheals_d3":0,"wheals_d4":0,"wheals_d5":0,"wheals_d6":0,"wheals_d7":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Młynek A, Zalewska-Janowska A, Martus P, Staubach P, Zuberbier T, Maurer M","doi":"10.1111/j.1398-9995.2008.01726.x","id":"mlynek-2008","pmid":"18445192","source":"Allergy. 2008;63(6):777-780","title":"How to assess disease activity in patients with chronic urticaria?"},"components":[{"factor":"wheals_d1","points":1,"present":true,"value":1},{"factor":"wheals_d2","points":0,"present":true,"value":0},{"factor":"wheals_d3","points":0,"present":true,"value":0},{"factor":"wheals_d4","points":0,"present":true,"value":0},{"factor":"wheals_d5","points":0,"present":true,"value":0},{"factor":"wheals_d6","points":0,"present":true,"value":0},{"factor":"wheals_d7","points":0,"present":true,"value":0},{"factor":"pruritus_d1","points":1,"present":true,"value":1},{"factor":"pruritus_d2","points":0,"present":true,"value":0},{"factor":"pruritus_d3","points":0,"present":true,"value":0},{"factor":"pruritus_d4","points":0,"present":true,"value":0},{"factor":"pruritus_d5","points":0,"present":true,"value":0},{"factor":"pruritus_d6","points":0,"present":true,"value":0},{"factor":"pruritus_d7","points":0,"present":true,"value":0}],"daily_d1":2,"daily_d2":0,"daily_d3":0,"daily_d4":0,"daily_d5":0,"daily_d6":0,"daily_d7":0,"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":"uas","formula_expression":"UAS7 = (wheals_d1 + pruritus_d1) + (wheals_d2 + pruritus_d2) + (wheals_d3 + pruritus_d3) + (wheals_d4 + pruritus_d4) + (wheals_d5 + pruritus_d5) + (wheals_d6 + pruritus_d6) + (wheals_d7 + pruritus_d7); each integer 0-3 (Młynek 2008 EAACI/GA2LEN/EDF UAS: wheals 0 none, 1 mild <20 wheals/24h, 2 moderate 20-50/24h, 3 intense >50/24h or large confluent areas; pruritus 0 none, 1 mild present but not annoying, 2 moderate troublesome without interfering with activity or sleep, 3 intense interferes with activity or sleep); daily UAS 0-6; UAS7 0-42; mean_daily_uas = UAS7 / 7; seven complete days required; no missing-day imputation; this paper published no UAS7 activity bands","max_score":42,"mean_daily_uas":0.2857,"score":2},{"citation":{"authors":"Młynek A, Zalewska-Janowska A, Martus P, Staubach P, Zuberbier T, Maurer M","doi":"10.1111/j.1398-9995.2008.01726.x","id":"mlynek-2008","pmid":"18445192","source":"Allergy. 2008;63(6):777-780","title":"How to assess disease activity in patients with chronic urticaria?"},"components":[{"factor":"wheals_d1","points":1,"present":true,"value":1},{"factor":"wheals_d2","points":0,"present":true,"value":0},{"factor":"wheals_d3","points":0,"present":true,"value":0},{"factor":"wheals_d4","points":0,"present":true,"value":0},{"factor":"wheals_d5","points":0,"present":true,"value":0},{"factor":"wheals_d6","points":0,"present":true,"value":0},{"factor":"wheals_d7","points":0,"present":true,"value":0},{"factor":"pruritus_d1","points":1,"present":true,"value":1},{"factor":"pruritus_d2","points":0,"present":true,"value":0},{"factor":"pruritus_d3","points":0,"present":true,"value":0},{"factor":"pruritus_d4","points":0,"present":true,"value":0},{"factor":"pruritus_d5","points":0,"present":true,"value":0},{"factor":"pruritus_d6","points":0,"present":true,"value":0},{"factor":"pruritus_d7","points":0,"present":true,"value":0}],"daily_d1":2,"daily_d2":0,"daily_d3":0,"daily_d4":0,"daily_d5":0,"daily_d6":0,"daily_d7":0,"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":"uas","formula_expression":"UAS7 = (wheals_d1 + pruritus_d1) + (wheals_d2 + pruritus_d2) + (wheals_d3 + pruritus_d3) + (wheals_d4 + pruritus_d4) + (wheals_d5 + pruritus_d5) + (wheals_d6 + pruritus_d6) + (wheals_d7 + pruritus_d7); each integer 0-3 (Młynek 2008 EAACI/GA2LEN/EDF UAS: wheals 0 none, 1 mild <20 wheals/24h, 2 moderate 20-50/24h, 3 intense >50/24h or large confluent areas; pruritus 0 none, 1 mild present but not annoying, 2 moderate troublesome without interfering with activity or sleep, 3 intense interferes with activity or sleep); daily UAS 0-6; UAS7 0-42; mean_daily_uas = UAS7 / 7; seven complete days required; no missing-day imputation; this paper published no UAS7 activity bands","max_score":42,"mean_daily_uas":0.2857,"score":2}],"path":"/api/calc/uas"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"pruritus_d1":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"pruritus_d2":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"pruritus_d3":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"pruritus_d4":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"pruritus_d5":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"pruritus_d6":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"pruritus_d7":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"wheals_d1":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"},"wheals_d2":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"},"wheals_d3":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"},"wheals_d4":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"},"wheals_d5":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"},"wheals_d6":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"},"wheals_d7":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"}},"required":["wheals_d1","wheals_d2","wheals_d3","wheals_d4","wheals_d5","wheals_d6","wheals_d7","pruritus_d1","pruritus_d2","pruritus_d3","pruritus_d4","pruritus_d5","pruritus_d6","pruritus_d7"],"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":["uas","urticaria","emergency","mlynek-2008","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:02:07.746Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:02:07.473Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"pruritus_d1":1,"pruritus_d2":0,"pruritus_d3":0,"pruritus_d4":0,"pruritus_d5":0,"pruritus_d6":0,"pruritus_d7":0,"wheals_d1":1,"wheals_d2":0,"wheals_d3":0,"wheals_d4":0,"wheals_d5":0,"wheals_d6":0,"wheals_d7":0},{"pruritus_d1":1,"pruritus_d2":0,"pruritus_d3":0,"pruritus_d4":0,"pruritus_d5":0,"pruritus_d6":0,"pruritus_d7":0,"wheals_d1":1,"wheals_d2":0,"wheals_d3":0,"wheals_d4":0,"wheals_d5":0,"wheals_d6":0,"wheals_d7":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Młynek A, Zalewska-Janowska A, Martus P, Staubach P, Zuberbier T, Maurer M","doi":"10.1111/j.1398-9995.2008.01726.x","id":"mlynek-2008","pmid":"18445192","source":"Allergy. 2008;63(6):777-780","title":"How to assess disease activity in patients with chronic urticaria?"},"components":[{"factor":"wheals_d1","points":1,"present":true,"value":1},{"factor":"wheals_d2","points":0,"present":true,"value":0},{"factor":"wheals_d3","points":0,"present":true,"value":0},{"factor":"wheals_d4","points":0,"present":true,"value":0},{"factor":"wheals_d5","points":0,"present":true,"value":0},{"factor":"wheals_d6","points":0,"present":true,"value":0},{"factor":"wheals_d7","points":0,"present":true,"value":0},{"factor":"pruritus_d1","points":1,"present":true,"value":1},{"factor":"pruritus_d2","points":0,"present":true,"value":0},{"factor":"pruritus_d3","points":0,"present":true,"value":0},{"factor":"pruritus_d4","points":0,"present":true,"value":0},{"factor":"pruritus_d5","points":0,"present":true,"value":0},{"factor":"pruritus_d6","points":0,"present":true,"value":0},{"factor":"pruritus_d7","points":0,"present":true,"value":0}],"daily_d1":2,"daily_d2":0,"daily_d3":0,"daily_d4":0,"daily_d5":0,"daily_d6":0,"daily_d7":0,"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":"uas","formula_expression":"UAS7 = (wheals_d1 + pruritus_d1) + (wheals_d2 + pruritus_d2) + (wheals_d3 + pruritus_d3) + (wheals_d4 + pruritus_d4) + (wheals_d5 + pruritus_d5) + (wheals_d6 + pruritus_d6) + (wheals_d7 + pruritus_d7); each integer 0-3 (Młynek 2008 EAACI/GA2LEN/EDF UAS: wheals 0 none, 1 mild <20 wheals/24h, 2 moderate 20-50/24h, 3 intense >50/24h or large confluent areas; pruritus 0 none, 1 mild present but not annoying, 2 moderate troublesome without interfering with activity or sleep, 3 intense interferes with activity or sleep); daily UAS 0-6; UAS7 0-42; mean_daily_uas = UAS7 / 7; seven complete days required; no missing-day imputation; this paper published no UAS7 activity bands","max_score":42,"mean_daily_uas":0.2857,"score":2},{"citation":{"authors":"Młynek A, Zalewska-Janowska A, Martus P, Staubach P, Zuberbier T, Maurer M","doi":"10.1111/j.1398-9995.2008.01726.x","id":"mlynek-2008","pmid":"18445192","source":"Allergy. 2008;63(6):777-780","title":"How to assess disease activity in patients with chronic urticaria?"},"components":[{"factor":"wheals_d1","points":1,"present":true,"value":1},{"factor":"wheals_d2","points":0,"present":true,"value":0},{"factor":"wheals_d3","points":0,"present":true,"value":0},{"factor":"wheals_d4","points":0,"present":true,"value":0},{"factor":"wheals_d5","points":0,"present":true,"value":0},{"factor":"wheals_d6","points":0,"present":true,"value":0},{"factor":"wheals_d7","points":0,"present":true,"value":0},{"factor":"pruritus_d1","points":1,"present":true,"value":1},{"factor":"pruritus_d2","points":0,"present":true,"value":0},{"factor":"pruritus_d3","points":0,"present":true,"value":0},{"factor":"pruritus_d4","points":0,"present":true,"value":0},{"factor":"pruritus_d5","points":0,"present":true,"value":0},{"factor":"pruritus_d6","points":0,"present":true,"value":0},{"factor":"pruritus_d7","points":0,"present":true,"value":0}],"daily_d1":2,"daily_d2":0,"daily_d3":0,"daily_d4":0,"daily_d5":0,"daily_d6":0,"daily_d7":0,"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":"uas","formula_expression":"UAS7 = (wheals_d1 + pruritus_d1) + (wheals_d2 + pruritus_d2) + (wheals_d3 + pruritus_d3) + (wheals_d4 + pruritus_d4) + (wheals_d5 + pruritus_d5) + (wheals_d6 + pruritus_d6) + (wheals_d7 + pruritus_d7); each integer 0-3 (Młynek 2008 EAACI/GA2LEN/EDF UAS: wheals 0 none, 1 mild <20 wheals/24h, 2 moderate 20-50/24h, 3 intense >50/24h or large confluent areas; pruritus 0 none, 1 mild present but not annoying, 2 moderate troublesome without interfering with activity or sleep, 3 intense interferes with activity or sleep); daily UAS 0-6; UAS7 0-42; mean_daily_uas = UAS7 / 7; seven complete days required; no missing-day imputation; this paper published no UAS7 activity bands","max_score":42,"mean_daily_uas":0.2857,"score":2}],"path":"/api/calc/uas"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"pruritus_d1":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"pruritus_d2":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"pruritus_d3":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"pruritus_d4":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"pruritus_d5":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"pruritus_d6":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"pruritus_d7":{"description":"Caller-assigned Młynek 2008 UAS pruritus integer 0-3 for that 24h day: 0 none, 1 mild (present but not annoying), 2 moderate (troublesome, does not interfere with activity or sleep), 3 intense (interferes with activity or sleep). magent does not grade itch.","enum":[0,1,2,3],"type":"integer"},"wheals_d1":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"},"wheals_d2":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"},"wheals_d3":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"},"wheals_d4":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"},"wheals_d5":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"},"wheals_d6":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"},"wheals_d7":{"description":"Caller-assigned Młynek 2008 UAS wheals integer 0-3 for that 24h day: 0 none, 1 mild (<20 wheals/24h), 2 moderate (20-50/24h), 3 intense (>50 wheals/24h or large confluent areas). magent does not count wheals.","enum":[0,1,2,3],"type":"integer"}},"required":["wheals_d1","wheals_d2","wheals_d3","wheals_d4","wheals_d5","wheals_d6","wheals_d7","pruritus_d1","pruritus_d2","pruritus_d3","pruritus_d4","pruritus_d5","pruritus_d6","pruritus_d7"],"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},{"id":38894,"slug":"38894","resource":"https://api.magentlab.com/api/calc/triss","description":"TRISS (Boyd 1987): probability of survival from a caller-assigned Champion weighted RTS (0.0-7.8408), ISS (1-75), age (AgeIndex 0 if age < 55 else 1), and blunt or penetrating mechanism using original MTOS coefficients. Deterministic published arithmetic with citation. Not a triage order; not NISS; not ASCOT; not Champion 1995 revised coefficients.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":30,"iss":9,"mechanism":"blunt","rts":7.8408},{"age":30,"iss":9,"mechanism":"blunt","rts":7.8408}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":30,"age_index":0,"b":5.5451,"citation":{"authors":"Boyd CR, Tolson MA, Copes WS","doi":"10.1097/00005373-198704000-00005","id":"boyd-1987","pmid":"3106646","source":"J Trauma. 1987;27(4):370-378","title":"Evaluating trauma care: the TRISS method. Trauma Score and the Injury Severity Score"},"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":"triss","formula_expression":"Ps = 1 / (1 + e^(-b)); AgeIndex = 0 if age < 55 else 1; blunt: b = -1.2470 + 0.9544*RTS - 0.0768*ISS - 1.9052*AgeIndex; penetrating: b = -0.6029 + 1.1430*RTS - 0.1516*ISS - 2.6676*AgeIndex (Boyd 1987 original MTOS)","iss":9,"mechanism":"blunt","rts":7.8408,"survival_probability":0.9961},{"age":30,"age_index":0,"b":5.5451,"citation":{"authors":"Boyd CR, Tolson MA, Copes WS","doi":"10.1097/00005373-198704000-00005","id":"boyd-1987","pmid":"3106646","source":"J Trauma. 1987;27(4):370-378","title":"Evaluating trauma care: the TRISS method. Trauma Score and the Injury Severity Score"},"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":"triss","formula_expression":"Ps = 1 / (1 + e^(-b)); AgeIndex = 0 if age < 55 else 1; blunt: b = -1.2470 + 0.9544*RTS - 0.0768*ISS - 1.9052*AgeIndex; penetrating: b = -0.6029 + 1.1430*RTS - 0.1516*ISS - 2.6676*AgeIndex (Boyd 1987 original MTOS)","iss":9,"mechanism":"blunt","rts":7.8408,"survival_probability":0.9961}],"path":"/api/calc/triss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in whole years 1-120. AgeIndex is 0 if age < 55 and 1 if age >= 55 (Boyd 1987).","type":"integer"},"iss":{"description":"Caller-assigned Injury Severity Score integer 1-75. magent does not compute ISS from AIS here.","type":"integer"},"mechanism":{"description":"blunt or penetrating. Selects the Boyd 1987 original MTOS coefficient set. Required; magent does not infer mechanism.","enum":["blunt","penetrating"],"type":"string"},"rts":{"description":"Caller-assigned Champion weighted Revised Trauma Score (number 0.0-7.8408). magent does not recode GCS, SBP, or respiratory rate here.","type":"number"}},"required":["mechanism","rts","iss","age"],"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":["triss","trauma","rts","iss","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:47:05.331Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:47:04.637Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":30,"iss":9,"mechanism":"blunt","rts":7.8408},{"age":30,"iss":9,"mechanism":"blunt","rts":7.8408}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":30,"age_index":0,"b":5.5451,"citation":{"authors":"Boyd CR, Tolson MA, Copes WS","doi":"10.1097/00005373-198704000-00005","id":"boyd-1987","pmid":"3106646","source":"J Trauma. 1987;27(4):370-378","title":"Evaluating trauma care: the TRISS method. Trauma Score and the Injury Severity Score"},"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":"triss","formula_expression":"Ps = 1 / (1 + e^(-b)); AgeIndex = 0 if age < 55 else 1; blunt: b = -1.2470 + 0.9544*RTS - 0.0768*ISS - 1.9052*AgeIndex; penetrating: b = -0.6029 + 1.1430*RTS - 0.1516*ISS - 2.6676*AgeIndex (Boyd 1987 original MTOS)","iss":9,"mechanism":"blunt","rts":7.8408,"survival_probability":0.9961},{"age":30,"age_index":0,"b":5.5451,"citation":{"authors":"Boyd CR, Tolson MA, Copes WS","doi":"10.1097/00005373-198704000-00005","id":"boyd-1987","pmid":"3106646","source":"J Trauma. 1987;27(4):370-378","title":"Evaluating trauma care: the TRISS method. Trauma Score and the Injury Severity Score"},"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":"triss","formula_expression":"Ps = 1 / (1 + e^(-b)); AgeIndex = 0 if age < 55 else 1; blunt: b = -1.2470 + 0.9544*RTS - 0.0768*ISS - 1.9052*AgeIndex; penetrating: b = -0.6029 + 1.1430*RTS - 0.1516*ISS - 2.6676*AgeIndex (Boyd 1987 original MTOS)","iss":9,"mechanism":"blunt","rts":7.8408,"survival_probability":0.9961}],"path":"/api/calc/triss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in whole years 1-120. AgeIndex is 0 if age < 55 and 1 if age >= 55 (Boyd 1987).","type":"integer"},"iss":{"description":"Caller-assigned Injury Severity Score integer 1-75. magent does not compute ISS from AIS here.","type":"integer"},"mechanism":{"description":"blunt or penetrating. Selects the Boyd 1987 original MTOS coefficient set. Required; magent does not infer mechanism.","enum":["blunt","penetrating"],"type":"string"},"rts":{"description":"Caller-assigned Champion weighted Revised Trauma Score (number 0.0-7.8408). magent does not recode GCS, SBP, or respiratory rate here.","type":"number"}},"required":["mechanism","rts","iss","age"],"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},{"id":38895,"slug":"38895","resource":"https://api.magentlab.com/api/calc/westley_croup","description":"Westley 1978 croup score from five caller-assigned signs (consciousness 0/5, cyanosis 0/4/5, stridor 0-2, air entry 0-2, retractions 0-3; max 17). Deterministic published score with citation. Not a diagnosis; magent does not invent total-score severity bands.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"air_entry":0,"consciousness":0,"cyanosis":0,"retractions":1,"stridor":1},{"air_entry":0,"consciousness":0,"cyanosis":0,"retractions":1,"stridor":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"air_entry":0,"citation":{"authors":"Westley CR, Cotton EK, Brooks JG","doi":"10.1001/archpedi.1978.02120300044006","id":"westley-1978","source":"Am J Dis Child. 1978;132(5):484-487","title":"Nebulized racemic epinephrine by IPPB for the treatment of croup: a double-blind study"},"components":[{"factor":"consciousness","points":0,"present":false},{"factor":"cyanosis","points":0,"present":false},{"factor":"stridor","points":1,"present":true},{"factor":"air_entry","points":0,"present":false},{"factor":"retractions","points":1,"present":true}],"consciousness":0,"cyanosis":0,"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":"westley_croup","formula_expression":"Westley = consciousness + cyanosis + stridor + air_entry + retractions; max 17","max_score":17,"retractions":1,"score":2,"stridor":1},{"air_entry":0,"citation":{"authors":"Westley CR, Cotton EK, Brooks JG","doi":"10.1001/archpedi.1978.02120300044006","id":"westley-1978","source":"Am J Dis Child. 1978;132(5):484-487","title":"Nebulized racemic epinephrine by IPPB for the treatment of croup: a double-blind study"},"components":[{"factor":"consciousness","points":0,"present":false},{"factor":"cyanosis","points":0,"present":false},{"factor":"stridor","points":1,"present":true},{"factor":"air_entry","points":0,"present":false},{"factor":"retractions","points":1,"present":true}],"consciousness":0,"cyanosis":0,"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":"westley_croup","formula_expression":"Westley = consciousness + cyanosis + stridor + air_entry + retractions; max 17","max_score":17,"retractions":1,"score":2,"stridor":1}],"path":"/api/calc/westley_croup"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"air_entry":{"description":"Air entry: 0 normal, 1 decreased, 2 markedly decreased. Caller-assigned.","type":"integer"},"consciousness":{"description":"Westley 1978 level of consciousness: 0 normal, 5 disoriented. Caller-assigned.","type":"integer"},"cyanosis":{"description":"Cyanosis: 0 none, 4 with agitation, 5 at rest. Caller-assigned.","type":"integer"},"retractions":{"description":"Chest-wall retractions: 0 none, 1 mild, 2 moderate, 3 severe. Caller-assigned.","type":"integer"},"stridor":{"description":"Stridor: 0 none, 1 with agitation, 2 at rest. Caller-assigned.","type":"integer"}},"required":["consciousness","cyanosis","stridor","air_entry","retractions"],"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":["westley","croup","pediatric","airway","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T23:38:40.133Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T23:38:39.999Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"air_entry":0,"consciousness":0,"cyanosis":0,"retractions":1,"stridor":1},{"air_entry":0,"consciousness":0,"cyanosis":0,"retractions":1,"stridor":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"air_entry":0,"citation":{"authors":"Westley CR, Cotton EK, Brooks JG","doi":"10.1001/archpedi.1978.02120300044006","id":"westley-1978","source":"Am J Dis Child. 1978;132(5):484-487","title":"Nebulized racemic epinephrine by IPPB for the treatment of croup: a double-blind study"},"components":[{"factor":"consciousness","points":0,"present":false},{"factor":"cyanosis","points":0,"present":false},{"factor":"stridor","points":1,"present":true},{"factor":"air_entry","points":0,"present":false},{"factor":"retractions","points":1,"present":true}],"consciousness":0,"cyanosis":0,"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":"westley_croup","formula_expression":"Westley = consciousness + cyanosis + stridor + air_entry + retractions; max 17","max_score":17,"retractions":1,"score":2,"stridor":1},{"air_entry":0,"citation":{"authors":"Westley CR, Cotton EK, Brooks JG","doi":"10.1001/archpedi.1978.02120300044006","id":"westley-1978","source":"Am J Dis Child. 1978;132(5):484-487","title":"Nebulized racemic epinephrine by IPPB for the treatment of croup: a double-blind study"},"components":[{"factor":"consciousness","points":0,"present":false},{"factor":"cyanosis","points":0,"present":false},{"factor":"stridor","points":1,"present":true},{"factor":"air_entry","points":0,"present":false},{"factor":"retractions","points":1,"present":true}],"consciousness":0,"cyanosis":0,"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":"westley_croup","formula_expression":"Westley = consciousness + cyanosis + stridor + air_entry + retractions; max 17","max_score":17,"retractions":1,"score":2,"stridor":1}],"path":"/api/calc/westley_croup"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"air_entry":{"description":"Air entry: 0 normal, 1 decreased, 2 markedly decreased. Caller-assigned.","type":"integer"},"consciousness":{"description":"Westley 1978 level of consciousness: 0 normal, 5 disoriented. Caller-assigned.","type":"integer"},"cyanosis":{"description":"Cyanosis: 0 none, 4 with agitation, 5 at rest. Caller-assigned.","type":"integer"},"retractions":{"description":"Chest-wall retractions: 0 none, 1 mild, 2 moderate, 3 severe. Caller-assigned.","type":"integer"},"stridor":{"description":"Stridor: 0 none, 1 with agitation, 2 at rest. Caller-assigned.","type":"integer"}},"required":["consciousness","cyanosis","stridor","air_entry","retractions"],"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},{"id":38896,"slug":"38896","resource":"https://api.magentlab.com/api/calc/wisconsin_criteria","description":"Sitzman 2011 Wisconsin Criteria. Meets criteria if any one of five caller-assigned findings is true: bony step-off or instability, periorbital swelling or contusion, GCS < 14, malocclusion, or tooth absence. All five false does not meet. Returns meets_criteria and criteria_present (0–5). Not a diagnosis, not an imaging order, and not NEXUS, PECARN head, or Canadian CT Head. magent does not examine the face or assign GCS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bony_stepoff_or_instability":false,"gcs_lt_14":false,"malocclusion":false,"periorbital_swelling_or_contusion":false,"tooth_absence":false},{"bony_stepoff_or_instability":false,"gcs_lt_14":false,"malocclusion":false,"periorbital_swelling_or_contusion":false,"tooth_absence":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sitzman TJ, Hanson SE, Al-Sheikhi N, et al.","doi":"10.1097/PRS.0b013e318205f2e0","id":"sitzman-2011","source":"Plast Reconstr Surg. 2011;127(3):1270-1278","title":"Clinical criteria for obtaining maxillofacial computed tomography in trauma patients"},"criteria_present":0,"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":"wisconsin_criteria","formula_expression":"meets_criteria iff bony_stepoff_or_instability or periorbital_swelling_or_contusion or gcs_lt_14 or malocclusion or tooth_absence","meets_criteria":false},{"citation":{"authors":"Sitzman TJ, Hanson SE, Al-Sheikhi N, et al.","doi":"10.1097/PRS.0b013e318205f2e0","id":"sitzman-2011","source":"Plast Reconstr Surg. 2011;127(3):1270-1278","title":"Clinical criteria for obtaining maxillofacial computed tomography in trauma patients"},"criteria_present":0,"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":"wisconsin_criteria","formula_expression":"meets_criteria iff bony_stepoff_or_instability or periorbital_swelling_or_contusion or gcs_lt_14 or malocclusion or tooth_absence","meets_criteria":false}],"path":"/api/calc/wisconsin_criteria"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bony_stepoff_or_instability":{"description":"Bony step-off or instability of the facial skeleton as assigned by the caller. true or false. magent does not examine the face.","type":"boolean"},"gcs_lt_14":{"description":"Glasgow Coma Scale less than 14 as assigned by the caller. true or false. magent does not take a GCS integer or assign GCS.","type":"boolean"},"malocclusion":{"description":"Malocclusion as assigned by the caller. true or false. magent does not examine occlusion.","type":"boolean"},"periorbital_swelling_or_contusion":{"description":"Periorbital swelling or contusion as assigned by the caller. true or false. magent does not examine the face.","type":"boolean"},"tooth_absence":{"description":"Tooth absence as assigned by the caller. true or false. magent does not examine the dentition.","type":"boolean"}},"required":["bony_stepoff_or_instability","periorbital_swelling_or_contusion","gcs_lt_14","malocclusion","tooth_absence"],"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":["wisconsin-criteria","maxillofacial","trauma","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T23:43:16.303Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T23:43:16.143Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bony_stepoff_or_instability":false,"gcs_lt_14":false,"malocclusion":false,"periorbital_swelling_or_contusion":false,"tooth_absence":false},{"bony_stepoff_or_instability":false,"gcs_lt_14":false,"malocclusion":false,"periorbital_swelling_or_contusion":false,"tooth_absence":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sitzman TJ, Hanson SE, Al-Sheikhi N, et al.","doi":"10.1097/PRS.0b013e318205f2e0","id":"sitzman-2011","source":"Plast Reconstr Surg. 2011;127(3):1270-1278","title":"Clinical criteria for obtaining maxillofacial computed tomography in trauma patients"},"criteria_present":0,"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":"wisconsin_criteria","formula_expression":"meets_criteria iff bony_stepoff_or_instability or periorbital_swelling_or_contusion or gcs_lt_14 or malocclusion or tooth_absence","meets_criteria":false},{"citation":{"authors":"Sitzman TJ, Hanson SE, Al-Sheikhi N, et al.","doi":"10.1097/PRS.0b013e318205f2e0","id":"sitzman-2011","source":"Plast Reconstr Surg. 2011;127(3):1270-1278","title":"Clinical criteria for obtaining maxillofacial computed tomography in trauma patients"},"criteria_present":0,"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":"wisconsin_criteria","formula_expression":"meets_criteria iff bony_stepoff_or_instability or periorbital_swelling_or_contusion or gcs_lt_14 or malocclusion or tooth_absence","meets_criteria":false}],"path":"/api/calc/wisconsin_criteria"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bony_stepoff_or_instability":{"description":"Bony step-off or instability of the facial skeleton as assigned by the caller. true or false. magent does not examine the face.","type":"boolean"},"gcs_lt_14":{"description":"Glasgow Coma Scale less than 14 as assigned by the caller. true or false. magent does not take a GCS integer or assign GCS.","type":"boolean"},"malocclusion":{"description":"Malocclusion as assigned by the caller. true or false. magent does not examine occlusion.","type":"boolean"},"periorbital_swelling_or_contusion":{"description":"Periorbital swelling or contusion as assigned by the caller. true or false. magent does not examine the face.","type":"boolean"},"tooth_absence":{"description":"Tooth absence as assigned by the caller. true or false. magent does not examine the dentition.","type":"boolean"}},"required":["bony_stepoff_or_instability","periorbital_swelling_or_contusion","gcs_lt_14","malocclusion","tooth_absence"],"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},{"id":38897,"slug":"38897","resource":"https://api.magentlab.com/api/calc/vacs_2","description":"Tate 2019 VACS Index 2.0 (not 1.0): age, CD4, HIV-1 RNA, hemoglobin, caller-assigned FIB-4 and eGFR, hepatitis C, albumin, WBC, and BMI. Appendix Table 1 polynomials. Score scaled so the median profile is 44. Not a 5-year percent (no published S0). magent does not compute FIB-4 or eGFR and does not assign HIV status.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"albumin_g_dl":4.2,"bmi_kg_m2":26,"cd4_cells_mm3":600,"egfr_ml_min_1_73m2":100,"fib4":1,"hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":50,"wbc_10e9_l":6},{"age":40,"albumin_g_dl":4.2,"bmi_kg_m2":26,"cd4_cells_mm3":600,"egfr_ml_min_1_73m2":100,"fib4":1,"hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":50,"wbc_10e9_l":6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"albumin_g_dl":4.2,"bmi_kg_m2":26,"cd4_cells_mm3":600,"citation":{"authors":"Tate JP, Sterne JAC, Justice AC; Veterans Aging Cohort Study (VACS) and the Antiretroviral Therapy Cohort Collaboration (ART-CC)","doi":"10.1097/QAD.0000000000002140","id":"tate-2019-vacs-2","pmid":"30649088","source":"AIDS. 2019;33(5):903-912","title":"Albumin, white blood cell count, and body mass index improve discrimination of mortality in HIV-positive individuals"},"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.","egfr_ml_min_1_73m2":100,"fib4":1,"formula":"vacs_2","formula_expression":"lp = age_poly + cd4_poly + rna_poly + hb_poly + fib4_poly + egfr_spline + hcv + alb_poly + wbc_poly + bmi_poly; score = round(44 + 20*(lp - lp_median)); lp_median is Appendix Table 2 median profile (age 52, CD4 435, log10 HIV-1 RNA 1.7, Hb 14, FIB-4 1.34, eGFR 90, HCV no, albumin 4, WBC 5.5, BMI 25.3); age censored 30-75, X=(age-50)/5, PE 0.056/-0.004/0.005; CD4 censored 0-1000 as ln(max(1000-CD4, 1)), PE -0.056/-0.153/0.024; HIV-1 RNA log10 copies censored 1.3-5.0, centered (logVL-2), PE 0.513/-0.422/0.098; hemoglobin censored 9-16, centered (hemoglobin-14), PE -0.134/0.026/0.005; FIB-4 censored 0.5-7.5, PE 0.220/-0.009; eGFR censored 0-180, X1=eGFR/10, X2=max(eGFR-35,0)/10, X3=max(eGFR-65,0)/10, X4=max(eGFR-115,0)/10, PE -0.031/-0.077/0.106/0.133; HCV yes 0.342; albumin censored 2-5, centered (albumin-4), PE -0.443/0.104/0.028; WBC 10^9/L censored 2.5-11, centered (WBC-5.5), PE 0.126/0.020/-0.004; BMI censored 15-35, centered (BMI-25), PE -0.055/0.004; Tate 2019 Appendix Table 1 main analysis LVCF 180 days; caller-assigned FIB-4 and eGFR; not VACS 1.0; no published S0","hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":50,"linear_predictor":-1.428513,"score":30,"wbc_10e9_l":6},{"age":40,"albumin_g_dl":4.2,"bmi_kg_m2":26,"cd4_cells_mm3":600,"citation":{"authors":"Tate JP, Sterne JAC, Justice AC; Veterans Aging Cohort Study (VACS) and the Antiretroviral Therapy Cohort Collaboration (ART-CC)","doi":"10.1097/QAD.0000000000002140","id":"tate-2019-vacs-2","pmid":"30649088","source":"AIDS. 2019;33(5):903-912","title":"Albumin, white blood cell count, and body mass index improve discrimination of mortality in HIV-positive individuals"},"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.","egfr_ml_min_1_73m2":100,"fib4":1,"formula":"vacs_2","formula_expression":"lp = age_poly + cd4_poly + rna_poly + hb_poly + fib4_poly + egfr_spline + hcv + alb_poly + wbc_poly + bmi_poly; score = round(44 + 20*(lp - lp_median)); lp_median is Appendix Table 2 median profile (age 52, CD4 435, log10 HIV-1 RNA 1.7, Hb 14, FIB-4 1.34, eGFR 90, HCV no, albumin 4, WBC 5.5, BMI 25.3); age censored 30-75, X=(age-50)/5, PE 0.056/-0.004/0.005; CD4 censored 0-1000 as ln(max(1000-CD4, 1)), PE -0.056/-0.153/0.024; HIV-1 RNA log10 copies censored 1.3-5.0, centered (logVL-2), PE 0.513/-0.422/0.098; hemoglobin censored 9-16, centered (hemoglobin-14), PE -0.134/0.026/0.005; FIB-4 censored 0.5-7.5, PE 0.220/-0.009; eGFR censored 0-180, X1=eGFR/10, X2=max(eGFR-35,0)/10, X3=max(eGFR-65,0)/10, X4=max(eGFR-115,0)/10, PE -0.031/-0.077/0.106/0.133; HCV yes 0.342; albumin censored 2-5, centered (albumin-4), PE -0.443/0.104/0.028; WBC 10^9/L censored 2.5-11, centered (WBC-5.5), PE 0.126/0.020/-0.004; BMI censored 15-35, centered (BMI-25), PE -0.055/0.004; Tate 2019 Appendix Table 1 main analysis LVCF 180 days; caller-assigned FIB-4 and eGFR; not VACS 1.0; no published S0","hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":50,"linear_predictor":-1.428513,"score":30,"wbc_10e9_l":6}],"path":"/api/calc/vacs_2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Tate 2019 Appendix Table 1 censors age at 30-75 and uses the cubic polynomial of (age-50)/5. magent does not assign age.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6.5). Appendix Table 1 censors at 2-5 and centers at (albumin-4). magent does not assay albumin.","type":"number"},"bmi_kg_m2":{"description":"Body mass index in kg/m² (10-60). Appendix Table 1 censors at 15-35 and centers at (BMI-25). magent does not compute BMI from height and weight.","type":"number"},"cd4_cells_mm3":{"description":"CD4 count in cells/mm³ (integer 1-2000). Appendix Table 1 censors at 0-1000 and uses ln(max(1000-CD4, 1)). magent does not assay CD4.","type":"integer"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m² (0-200). Appendix Table 1 censors at 0-180 and uses the footnote truncated linear terms at 35, 65, and 115. magent does not compute MDRD or CKD-EPI. Race is not an input.","type":"number"},"fib4":{"description":"Caller-assigned FIB-4 (0.1-20). Appendix Table 1 censors at 0.5-7.5. magent does not recompute FIB-4.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Appendix Table 1 censors at 9-16 and centers at (hemoglobin-14). magent does not assay hemoglobin.","type":"number"},"hepatitis_c":{"description":"Caller-assigned hepatitis C co-infection (Tate 2019). true adds 0.342 to the linear predictor. magent does not diagnose hepatitis C.","type":"boolean"},"hiv_rna_copies_ml":{"description":"HIV-1 RNA in copies/mL (0-10000000). Appendix Table 1 uses log10 copies censored at 1.3-5.0 and centered at (logVL-2). magent does not assay viral load.","type":"number"},"wbc_10e9_l":{"description":"White blood count in 10^9/L (0.5-50), equal to k/µL. Appendix Table 1 censors at 2.5-11 and centers at (WBC-5.5). magent does not assay WBC.","type":"number"}},"required":["age","cd4_cells_mm3","hiv_rna_copies_ml","hemoglobin_g_dl","fib4","egfr_ml_min_1_73m2","hepatitis_c","albumin_g_dl","wbc_10e9_l","bmi_kg_m2"],"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":["vacs-2","hiv","mortality","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:12:17.543Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:12:17.379Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"albumin_g_dl":4.2,"bmi_kg_m2":26,"cd4_cells_mm3":600,"egfr_ml_min_1_73m2":100,"fib4":1,"hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":50,"wbc_10e9_l":6},{"age":40,"albumin_g_dl":4.2,"bmi_kg_m2":26,"cd4_cells_mm3":600,"egfr_ml_min_1_73m2":100,"fib4":1,"hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":50,"wbc_10e9_l":6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"albumin_g_dl":4.2,"bmi_kg_m2":26,"cd4_cells_mm3":600,"citation":{"authors":"Tate JP, Sterne JAC, Justice AC; Veterans Aging Cohort Study (VACS) and the Antiretroviral Therapy Cohort Collaboration (ART-CC)","doi":"10.1097/QAD.0000000000002140","id":"tate-2019-vacs-2","pmid":"30649088","source":"AIDS. 2019;33(5):903-912","title":"Albumin, white blood cell count, and body mass index improve discrimination of mortality in HIV-positive individuals"},"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.","egfr_ml_min_1_73m2":100,"fib4":1,"formula":"vacs_2","formula_expression":"lp = age_poly + cd4_poly + rna_poly + hb_poly + fib4_poly + egfr_spline + hcv + alb_poly + wbc_poly + bmi_poly; score = round(44 + 20*(lp - lp_median)); lp_median is Appendix Table 2 median profile (age 52, CD4 435, log10 HIV-1 RNA 1.7, Hb 14, FIB-4 1.34, eGFR 90, HCV no, albumin 4, WBC 5.5, BMI 25.3); age censored 30-75, X=(age-50)/5, PE 0.056/-0.004/0.005; CD4 censored 0-1000 as ln(max(1000-CD4, 1)), PE -0.056/-0.153/0.024; HIV-1 RNA log10 copies censored 1.3-5.0, centered (logVL-2), PE 0.513/-0.422/0.098; hemoglobin censored 9-16, centered (hemoglobin-14), PE -0.134/0.026/0.005; FIB-4 censored 0.5-7.5, PE 0.220/-0.009; eGFR censored 0-180, X1=eGFR/10, X2=max(eGFR-35,0)/10, X3=max(eGFR-65,0)/10, X4=max(eGFR-115,0)/10, PE -0.031/-0.077/0.106/0.133; HCV yes 0.342; albumin censored 2-5, centered (albumin-4), PE -0.443/0.104/0.028; WBC 10^9/L censored 2.5-11, centered (WBC-5.5), PE 0.126/0.020/-0.004; BMI censored 15-35, centered (BMI-25), PE -0.055/0.004; Tate 2019 Appendix Table 1 main analysis LVCF 180 days; caller-assigned FIB-4 and eGFR; not VACS 1.0; no published S0","hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":50,"linear_predictor":-1.428513,"score":30,"wbc_10e9_l":6},{"age":40,"albumin_g_dl":4.2,"bmi_kg_m2":26,"cd4_cells_mm3":600,"citation":{"authors":"Tate JP, Sterne JAC, Justice AC; Veterans Aging Cohort Study (VACS) and the Antiretroviral Therapy Cohort Collaboration (ART-CC)","doi":"10.1097/QAD.0000000000002140","id":"tate-2019-vacs-2","pmid":"30649088","source":"AIDS. 2019;33(5):903-912","title":"Albumin, white blood cell count, and body mass index improve discrimination of mortality in HIV-positive individuals"},"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.","egfr_ml_min_1_73m2":100,"fib4":1,"formula":"vacs_2","formula_expression":"lp = age_poly + cd4_poly + rna_poly + hb_poly + fib4_poly + egfr_spline + hcv + alb_poly + wbc_poly + bmi_poly; score = round(44 + 20*(lp - lp_median)); lp_median is Appendix Table 2 median profile (age 52, CD4 435, log10 HIV-1 RNA 1.7, Hb 14, FIB-4 1.34, eGFR 90, HCV no, albumin 4, WBC 5.5, BMI 25.3); age censored 30-75, X=(age-50)/5, PE 0.056/-0.004/0.005; CD4 censored 0-1000 as ln(max(1000-CD4, 1)), PE -0.056/-0.153/0.024; HIV-1 RNA log10 copies censored 1.3-5.0, centered (logVL-2), PE 0.513/-0.422/0.098; hemoglobin censored 9-16, centered (hemoglobin-14), PE -0.134/0.026/0.005; FIB-4 censored 0.5-7.5, PE 0.220/-0.009; eGFR censored 0-180, X1=eGFR/10, X2=max(eGFR-35,0)/10, X3=max(eGFR-65,0)/10, X4=max(eGFR-115,0)/10, PE -0.031/-0.077/0.106/0.133; HCV yes 0.342; albumin censored 2-5, centered (albumin-4), PE -0.443/0.104/0.028; WBC 10^9/L censored 2.5-11, centered (WBC-5.5), PE 0.126/0.020/-0.004; BMI censored 15-35, centered (BMI-25), PE -0.055/0.004; Tate 2019 Appendix Table 1 main analysis LVCF 180 days; caller-assigned FIB-4 and eGFR; not VACS 1.0; no published S0","hemoglobin_g_dl":15,"hepatitis_c":false,"hiv_rna_copies_ml":50,"linear_predictor":-1.428513,"score":30,"wbc_10e9_l":6}],"path":"/api/calc/vacs_2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Tate 2019 Appendix Table 1 censors age at 30-75 and uses the cubic polynomial of (age-50)/5. magent does not assign age.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6.5). Appendix Table 1 censors at 2-5 and centers at (albumin-4). magent does not assay albumin.","type":"number"},"bmi_kg_m2":{"description":"Body mass index in kg/m² (10-60). Appendix Table 1 censors at 15-35 and centers at (BMI-25). magent does not compute BMI from height and weight.","type":"number"},"cd4_cells_mm3":{"description":"CD4 count in cells/mm³ (integer 1-2000). Appendix Table 1 censors at 0-1000 and uses ln(max(1000-CD4, 1)). magent does not assay CD4.","type":"integer"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m² (0-200). Appendix Table 1 censors at 0-180 and uses the footnote truncated linear terms at 35, 65, and 115. magent does not compute MDRD or CKD-EPI. Race is not an input.","type":"number"},"fib4":{"description":"Caller-assigned FIB-4 (0.1-20). Appendix Table 1 censors at 0.5-7.5. magent does not recompute FIB-4.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Appendix Table 1 censors at 9-16 and centers at (hemoglobin-14). magent does not assay hemoglobin.","type":"number"},"hepatitis_c":{"description":"Caller-assigned hepatitis C co-infection (Tate 2019). true adds 0.342 to the linear predictor. magent does not diagnose hepatitis C.","type":"boolean"},"hiv_rna_copies_ml":{"description":"HIV-1 RNA in copies/mL (0-10000000). Appendix Table 1 uses log10 copies censored at 1.3-5.0 and centered at (logVL-2). magent does not assay viral load.","type":"number"},"wbc_10e9_l":{"description":"White blood count in 10^9/L (0.5-50), equal to k/µL. Appendix Table 1 censors at 2.5-11 and centers at (WBC-5.5). magent does not assay WBC.","type":"number"}},"required":["age","cd4_cells_mm3","hiv_rna_copies_ml","hemoglobin_g_dl","fib4","egfr_ml_min_1_73m2","hepatitis_c","albumin_g_dl","wbc_10e9_l","bmi_kg_m2"],"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},{"id":38898,"slug":"38898","resource":"https://api.magentlab.com/api/calc/virsta","description":"Tubiana 2016 VIRSTA from nine caller-assigned SAB flags plus CRP mg/L. Points: emboli 5, meningitis 5, device or previous IE 4 (one item), IVDU 4, native valve 3, persistent bacteremia 3, vertebral osteomyelitis 2, community/non-nosocomial 2, severe sepsis/shock 1, CRP >190 mg/L 1. Max 30. high_risk iff score ≥ 3. Not an endocarditis diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cerebral_or_peripheral_emboli":false,"community_or_non_nosocomial":false,"crp_mg_l":50,"intracardiac_device_or_previous_ie":false,"iv_drug_use":false,"meningitis":false,"native_valve_disease":false,"persistent_bacteremia":false,"severe_sepsis_or_shock":false,"vertebral_osteomyelitis":false},{"cerebral_or_peripheral_emboli":false,"community_or_non_nosocomial":false,"crp_mg_l":50,"intracardiac_device_or_previous_ie":false,"iv_drug_use":false,"meningitis":false,"native_valve_disease":false,"persistent_bacteremia":false,"severe_sepsis_or_shock":false,"vertebral_osteomyelitis":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Tubiana S, Duval X, Alla F, Selton-Suty C, Tattevin P, Delahaye F, Piroth L, Chirouze C, Lavigne JP, Erpelding ML, Hoen B, Vandenesch F, Iung B, Le Moing V","doi":"10.1016/j.jinf.2016.02.003","id":"tubiana-2016","pmid":"26916042","source":"J Infect. 2016;72(5):544-553","title":"The VIRSTA score, a prediction score to estimate risk of infective endocarditis and determine priority for echocardiography in patients with Staphylococcus aureus bacteremia"},"components":[{"factor":"cerebral_or_peripheral_emboli","points":0,"present":false},{"factor":"meningitis","points":0,"present":false},{"factor":"intracardiac_device_or_previous_ie","points":0,"present":false},{"factor":"iv_drug_use","points":0,"present":false},{"factor":"native_valve_disease","points":0,"present":false},{"factor":"persistent_bacteremia","points":0,"present":false},{"factor":"vertebral_osteomyelitis","points":0,"present":false},{"factor":"community_or_non_nosocomial","points":0,"present":false},{"factor":"severe_sepsis_or_shock","points":0,"present":false},{"factor":"crp_gt_190","points":0,"present":false,"value":50}],"crp_mg_l":50,"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":"virsta","formula_expression":"VIRSTA = cerebral_or_peripheral_emboli (5 if present) + meningitis (5) + intracardiac_device_or_previous_ie (4) + iv_drug_use (4) + native_valve_disease (3) + persistent_bacteremia (3) + vertebral_osteomyelitis (2) + community_or_non_nosocomial (2) + severe_sepsis_or_shock (1) + (crp_mg_l > 190 → 1); Tubiana 2016 caller-assigned items; CRP cutoff is above 190 mg/L (not ≥190); intracardiac device or previous IE is one 4-point item; max 30; high_risk iff score ≥ 3","high_risk":false,"max_score":30,"score":0},{"citation":{"authors":"Tubiana S, Duval X, Alla F, Selton-Suty C, Tattevin P, Delahaye F, Piroth L, Chirouze C, Lavigne JP, Erpelding ML, Hoen B, Vandenesch F, Iung B, Le Moing V","doi":"10.1016/j.jinf.2016.02.003","id":"tubiana-2016","pmid":"26916042","source":"J Infect. 2016;72(5):544-553","title":"The VIRSTA score, a prediction score to estimate risk of infective endocarditis and determine priority for echocardiography in patients with Staphylococcus aureus bacteremia"},"components":[{"factor":"cerebral_or_peripheral_emboli","points":0,"present":false},{"factor":"meningitis","points":0,"present":false},{"factor":"intracardiac_device_or_previous_ie","points":0,"present":false},{"factor":"iv_drug_use","points":0,"present":false},{"factor":"native_valve_disease","points":0,"present":false},{"factor":"persistent_bacteremia","points":0,"present":false},{"factor":"vertebral_osteomyelitis","points":0,"present":false},{"factor":"community_or_non_nosocomial","points":0,"present":false},{"factor":"severe_sepsis_or_shock","points":0,"present":false},{"factor":"crp_gt_190","points":0,"present":false,"value":50}],"crp_mg_l":50,"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":"virsta","formula_expression":"VIRSTA = cerebral_or_peripheral_emboli (5 if present) + meningitis (5) + intracardiac_device_or_previous_ie (4) + iv_drug_use (4) + native_valve_disease (3) + persistent_bacteremia (3) + vertebral_osteomyelitis (2) + community_or_non_nosocomial (2) + severe_sepsis_or_shock (1) + (crp_mg_l > 190 → 1); Tubiana 2016 caller-assigned items; CRP cutoff is above 190 mg/L (not ≥190); intracardiac device or previous IE is one 4-point item; max 30; high_risk iff score ≥ 3","high_risk":false,"max_score":30,"score":0}],"path":"/api/calc/virsta"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cerebral_or_peripheral_emboli":{"description":"Caller-assigned cerebral or peripheral (extracerebral) emboli (Tubiana 2016). true scores 5. magent does not diagnose emboli or endocarditis.","type":"boolean"},"community_or_non_nosocomial":{"description":"Community-acquired or non-nosocomial healthcare-associated Staphylococcus aureus bacteremia (Tubiana 2016), as assigned by the caller. true scores 2; nosocomial is false (0). magent does not classify acquisition.","type":"boolean"},"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500). Tubiana 2016 scores 1 if CRP is above 190 mg/L (not ≥190). magent does not assay CRP.","type":"number"},"intracardiac_device_or_previous_ie":{"description":"Permanent intracardiac device or previous infective endocarditis as one Tubiana 2016 item. true scores 4 if either is present; the two are not added separately. magent does not diagnose IE.","type":"boolean"},"iv_drug_use":{"description":"Caller-assigned intravenous drug use (Tubiana 2016). true scores 4. magent does not take a social history.","type":"boolean"},"meningitis":{"description":"Caller-assigned meningitis (Tubiana 2016). true scores 5. magent does not diagnose meningitis or endocarditis.","type":"boolean"},"native_valve_disease":{"description":"Caller-assigned preexisting native valve disease (Tubiana 2016). true scores 3. magent does not diagnose valve disease.","type":"boolean"},"persistent_bacteremia":{"description":"H48-persistent bacteremia (positive blood culture after 48 hours) as assigned by the caller (Tubiana 2016). true scores 3. magent does not interpret cultures.","type":"boolean"},"severe_sepsis_or_shock":{"description":"Caller-assigned severe sepsis or septic shock (Tubiana 2016). true scores 1. magent does not diagnose sepsis.","type":"boolean"},"vertebral_osteomyelitis":{"description":"Caller-assigned vertebral osteomyelitis / spondylodiscitis (Tubiana 2016). true scores 2. magent does not diagnose osteomyelitis.","type":"boolean"}},"required":["cerebral_or_peripheral_emboli","meningitis","intracardiac_device_or_previous_ie","iv_drug_use","native_valve_disease","persistent_bacteremia","vertebral_osteomyelitis","community_or_non_nosocomial","severe_sepsis_or_shock","crp_mg_l"],"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":["virsta","endocarditis","bacteremia","sab","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:17:19.618Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:17:19.152Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cerebral_or_peripheral_emboli":false,"community_or_non_nosocomial":false,"crp_mg_l":50,"intracardiac_device_or_previous_ie":false,"iv_drug_use":false,"meningitis":false,"native_valve_disease":false,"persistent_bacteremia":false,"severe_sepsis_or_shock":false,"vertebral_osteomyelitis":false},{"cerebral_or_peripheral_emboli":false,"community_or_non_nosocomial":false,"crp_mg_l":50,"intracardiac_device_or_previous_ie":false,"iv_drug_use":false,"meningitis":false,"native_valve_disease":false,"persistent_bacteremia":false,"severe_sepsis_or_shock":false,"vertebral_osteomyelitis":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Tubiana S, Duval X, Alla F, Selton-Suty C, Tattevin P, Delahaye F, Piroth L, Chirouze C, Lavigne JP, Erpelding ML, Hoen B, Vandenesch F, Iung B, Le Moing V","doi":"10.1016/j.jinf.2016.02.003","id":"tubiana-2016","pmid":"26916042","source":"J Infect. 2016;72(5):544-553","title":"The VIRSTA score, a prediction score to estimate risk of infective endocarditis and determine priority for echocardiography in patients with Staphylococcus aureus bacteremia"},"components":[{"factor":"cerebral_or_peripheral_emboli","points":0,"present":false},{"factor":"meningitis","points":0,"present":false},{"factor":"intracardiac_device_or_previous_ie","points":0,"present":false},{"factor":"iv_drug_use","points":0,"present":false},{"factor":"native_valve_disease","points":0,"present":false},{"factor":"persistent_bacteremia","points":0,"present":false},{"factor":"vertebral_osteomyelitis","points":0,"present":false},{"factor":"community_or_non_nosocomial","points":0,"present":false},{"factor":"severe_sepsis_or_shock","points":0,"present":false},{"factor":"crp_gt_190","points":0,"present":false,"value":50}],"crp_mg_l":50,"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":"virsta","formula_expression":"VIRSTA = cerebral_or_peripheral_emboli (5 if present) + meningitis (5) + intracardiac_device_or_previous_ie (4) + iv_drug_use (4) + native_valve_disease (3) + persistent_bacteremia (3) + vertebral_osteomyelitis (2) + community_or_non_nosocomial (2) + severe_sepsis_or_shock (1) + (crp_mg_l > 190 → 1); Tubiana 2016 caller-assigned items; CRP cutoff is above 190 mg/L (not ≥190); intracardiac device or previous IE is one 4-point item; max 30; high_risk iff score ≥ 3","high_risk":false,"max_score":30,"score":0},{"citation":{"authors":"Tubiana S, Duval X, Alla F, Selton-Suty C, Tattevin P, Delahaye F, Piroth L, Chirouze C, Lavigne JP, Erpelding ML, Hoen B, Vandenesch F, Iung B, Le Moing V","doi":"10.1016/j.jinf.2016.02.003","id":"tubiana-2016","pmid":"26916042","source":"J Infect. 2016;72(5):544-553","title":"The VIRSTA score, a prediction score to estimate risk of infective endocarditis and determine priority for echocardiography in patients with Staphylococcus aureus bacteremia"},"components":[{"factor":"cerebral_or_peripheral_emboli","points":0,"present":false},{"factor":"meningitis","points":0,"present":false},{"factor":"intracardiac_device_or_previous_ie","points":0,"present":false},{"factor":"iv_drug_use","points":0,"present":false},{"factor":"native_valve_disease","points":0,"present":false},{"factor":"persistent_bacteremia","points":0,"present":false},{"factor":"vertebral_osteomyelitis","points":0,"present":false},{"factor":"community_or_non_nosocomial","points":0,"present":false},{"factor":"severe_sepsis_or_shock","points":0,"present":false},{"factor":"crp_gt_190","points":0,"present":false,"value":50}],"crp_mg_l":50,"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":"virsta","formula_expression":"VIRSTA = cerebral_or_peripheral_emboli (5 if present) + meningitis (5) + intracardiac_device_or_previous_ie (4) + iv_drug_use (4) + native_valve_disease (3) + persistent_bacteremia (3) + vertebral_osteomyelitis (2) + community_or_non_nosocomial (2) + severe_sepsis_or_shock (1) + (crp_mg_l > 190 → 1); Tubiana 2016 caller-assigned items; CRP cutoff is above 190 mg/L (not ≥190); intracardiac device or previous IE is one 4-point item; max 30; high_risk iff score ≥ 3","high_risk":false,"max_score":30,"score":0}],"path":"/api/calc/virsta"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cerebral_or_peripheral_emboli":{"description":"Caller-assigned cerebral or peripheral (extracerebral) emboli (Tubiana 2016). true scores 5. magent does not diagnose emboli or endocarditis.","type":"boolean"},"community_or_non_nosocomial":{"description":"Community-acquired or non-nosocomial healthcare-associated Staphylococcus aureus bacteremia (Tubiana 2016), as assigned by the caller. true scores 2; nosocomial is false (0). magent does not classify acquisition.","type":"boolean"},"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500). Tubiana 2016 scores 1 if CRP is above 190 mg/L (not ≥190). magent does not assay CRP.","type":"number"},"intracardiac_device_or_previous_ie":{"description":"Permanent intracardiac device or previous infective endocarditis as one Tubiana 2016 item. true scores 4 if either is present; the two are not added separately. magent does not diagnose IE.","type":"boolean"},"iv_drug_use":{"description":"Caller-assigned intravenous drug use (Tubiana 2016). true scores 4. magent does not take a social history.","type":"boolean"},"meningitis":{"description":"Caller-assigned meningitis (Tubiana 2016). true scores 5. magent does not diagnose meningitis or endocarditis.","type":"boolean"},"native_valve_disease":{"description":"Caller-assigned preexisting native valve disease (Tubiana 2016). true scores 3. magent does not diagnose valve disease.","type":"boolean"},"persistent_bacteremia":{"description":"H48-persistent bacteremia (positive blood culture after 48 hours) as assigned by the caller (Tubiana 2016). true scores 3. magent does not interpret cultures.","type":"boolean"},"severe_sepsis_or_shock":{"description":"Caller-assigned severe sepsis or septic shock (Tubiana 2016). true scores 1. magent does not diagnose sepsis.","type":"boolean"},"vertebral_osteomyelitis":{"description":"Caller-assigned vertebral osteomyelitis / spondylodiscitis (Tubiana 2016). true scores 2. magent does not diagnose osteomyelitis.","type":"boolean"}},"required":["cerebral_or_peripheral_emboli","meningitis","intracardiac_device_or_previous_ie","iv_drug_use","native_valve_disease","persistent_bacteremia","vertebral_osteomyelitis","community_or_non_nosocomial","severe_sepsis_or_shock","crp_mg_l"],"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},{"id":38899,"slug":"38899","resource":"https://api.magentlab.com/api/calc/trip_cast","description":"Nemeth 2020 TRiP(cast) VTE risk after lower-limb trauma immobilization. Caller-assigned Table 1 trauma (high 3, intermediate 2, low 1) and immobilization (upper_leg 3, lower_leg 2, foot_cast 1, other_plantar 0) plus age, sex, BMI, and nine flags. Max 34. High-risk at score >=7. Not a diagnosis or thromboprophylaxis order. magent does not classify the radiograph.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"bmi_kg_m2":30,"cancer_within_5y":false,"chronic_venous_insufficiency":false,"comorbidity":false,"family_history_vte":false,"hormonal_estrogenic_treatment":false,"immobilization":"lower_leg","other_immobilization_3mo":false,"personal_history_vte_or_major_thrombophilia":false,"pregnancy_or_puerperium":false,"sex":"male","surgery_within_3mo":false,"trauma":"intermediate"},{"age":50,"bmi_kg_m2":30,"cancer_within_5y":false,"chronic_venous_insufficiency":false,"comorbidity":false,"family_history_vte":false,"hormonal_estrogenic_treatment":false,"immobilization":"lower_leg","other_immobilization_3mo":false,"personal_history_vte_or_major_thrombophilia":false,"pregnancy_or_puerperium":false,"sex":"male","surgery_within_3mo":false,"trauma":"intermediate"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"bmi_kg_m2":30,"citation":{"authors":"Nemeth B, Douillet D, le Cessie S, Penaloza A, Moumneh T, Roy PM, Cannegieter S","doi":"10.1016/j.eclinm.2020.100270","id":"nemeth-2020","pmid":"32300734","source":"EClinicalMedicine. 2020;20:100270","title":"Clinical risk assessment model to predict venous thromboembolism risk after immobilization for lower-limb trauma"},"components":[{"factor":"trauma","points":2,"present":true,"value":"intermediate"},{"factor":"immobilization","points":2,"present":true,"value":"lower_leg"},{"factor":"age","points":1,"present":true,"value":50},{"factor":"male","points":1,"present":true,"value":"male"},{"factor":"bmi","points":1,"present":true,"value":30},{"factor":"family_history_vte","points":0,"present":false},{"factor":"personal_history_vte_or_major_thrombophilia","points":0,"present":false},{"factor":"hormonal_estrogenic_treatment","points":0,"present":false},{"factor":"cancer_within_5y","points":0,"present":false},{"factor":"pregnancy_or_puerperium","points":0,"present":false},{"factor":"other_immobilization_3mo","points":0,"present":false},{"factor":"surgery_within_3mo","points":0,"present":false},{"factor":"comorbidity","points":0,"present":false},{"factor":"chronic_venous_insufficiency","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":"trip_cast","formula_expression":"TRiP(cast) = trauma (high 3, intermediate 2, low 1) + immobilization (upper_leg 3, lower_leg 2, foot_cast 1, other_plantar 0) + age (<35: 0, 35-54: 1, 55-74: 2, >=75: 3) + male (1) + BMI (>=35: 2, >=25 and <35: 1, <25: 0) + family_history_vte (2) + personal_history_vte_or_major_thrombophilia (4) + hormonal_estrogenic_treatment (4) + cancer_within_5y (3) + pregnancy_or_puerperium (3) + other_immobilization_3mo (2) + surgery_within_3mo (2) + comorbidity (1) + chronic_venous_insufficiency (1); Nemeth 2020 Table 1; max 34; high_risk iff score >= 7","high_risk":true,"immobilization":"lower_leg","max_score":34,"risk_band":"high_risk","score":7,"sex":"male","trauma":"intermediate"},{"age_years":50,"bmi_kg_m2":30,"citation":{"authors":"Nemeth B, Douillet D, le Cessie S, Penaloza A, Moumneh T, Roy PM, Cannegieter S","doi":"10.1016/j.eclinm.2020.100270","id":"nemeth-2020","pmid":"32300734","source":"EClinicalMedicine. 2020;20:100270","title":"Clinical risk assessment model to predict venous thromboembolism risk after immobilization for lower-limb trauma"},"components":[{"factor":"trauma","points":2,"present":true,"value":"intermediate"},{"factor":"immobilization","points":2,"present":true,"value":"lower_leg"},{"factor":"age","points":1,"present":true,"value":50},{"factor":"male","points":1,"present":true,"value":"male"},{"factor":"bmi","points":1,"present":true,"value":30},{"factor":"family_history_vte","points":0,"present":false},{"factor":"personal_history_vte_or_major_thrombophilia","points":0,"present":false},{"factor":"hormonal_estrogenic_treatment","points":0,"present":false},{"factor":"cancer_within_5y","points":0,"present":false},{"factor":"pregnancy_or_puerperium","points":0,"present":false},{"factor":"other_immobilization_3mo","points":0,"present":false},{"factor":"surgery_within_3mo","points":0,"present":false},{"factor":"comorbidity","points":0,"present":false},{"factor":"chronic_venous_insufficiency","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":"trip_cast","formula_expression":"TRiP(cast) = trauma (high 3, intermediate 2, low 1) + immobilization (upper_leg 3, lower_leg 2, foot_cast 1, other_plantar 0) + age (<35: 0, 35-54: 1, 55-74: 2, >=75: 3) + male (1) + BMI (>=35: 2, >=25 and <35: 1, <25: 0) + family_history_vte (2) + personal_history_vte_or_major_thrombophilia (4) + hormonal_estrogenic_treatment (4) + cancer_within_5y (3) + pregnancy_or_puerperium (3) + other_immobilization_3mo (2) + surgery_within_3mo (2) + comorbidity (1) + chronic_venous_insufficiency (1); Nemeth 2020 Table 1; max 34; high_risk iff score >= 7","high_risk":true,"immobilization":"lower_leg","max_score":34,"risk_band":"high_risk","score":7,"sex":"male","trauma":"intermediate"}],"path":"/api/calc/trip_cast"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 1-120). Nemeth 2020: <35 scores 0; ≥35 and <55 scores 1; ≥55 and <75 scores 2; ≥75 scores 3. Age 35 scores 1; 55 scores 2; 75 scores 3.","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Nemeth 2020: <25 scores 0; ≥25 and <35 scores 1; ≥35 scores 2. 25.0 scores 1; 35.0 scores 2.","type":"number"},"cancer_within_5y":{"description":"Cancer within 5 years as assigned by the caller (Nemeth 2020 Table 1). true scores 3. magent does not diagnose cancer.","type":"boolean"},"chronic_venous_insufficiency":{"description":"Chronic venous insufficiency (varicose veins) as assigned by the caller (Nemeth 2020 Table 1). true scores 1. magent does not examine the patient.","type":"boolean"},"comorbidity":{"description":"Heart failure, rheumatoid arthritis, CKD, COPD, or IBD as one caller-assigned flag (Nemeth 2020 Table 1). true scores 1. magent does not examine the patient.","type":"boolean"},"family_history_vte":{"description":"First-degree family history of VTE as assigned by the caller (Nemeth 2020 Table 1). true scores 2. magent does not take a family history.","type":"boolean"},"hormonal_estrogenic_treatment":{"description":"Current oral contraceptives or estrogenic hormone therapy as assigned by the caller (Nemeth 2020 Table 1). true scores 4.","type":"boolean"},"immobilization":{"description":"Mutually exclusive Nemeth 2020 Table 1 immobilization category as assigned by the caller. upper_leg scores 3. lower_leg scores 2. foot_cast scores 1 (foot cast ankle-free or any semi-rigid without plantar support). other_plantar scores 0 (other cast or bracing with plantar support).","enum":["upper_leg","lower_leg","foot_cast","other_plantar"],"type":"string"},"other_immobilization_3mo":{"description":"Hospital admission, bedridden, flight >6 h, or lower-limb paralysis other than the cast, within 3 months, as assigned by the caller (Nemeth 2020 Table 1). true scores 2. Independent of the exclusive immobilization category.","type":"boolean"},"personal_history_vte_or_major_thrombophilia":{"description":"Personal history of VTE or major thrombophilia as assigned by the caller (Nemeth 2020 Table 1). true scores 4. magent does not diagnose VTE or interpret a thrombophilia panel.","type":"boolean"},"pregnancy_or_puerperium":{"description":"Pregnancy or puerperium as assigned by the caller (Nemeth 2020 Table 1). true scores 3. magent does not confirm pregnancy.","type":"boolean"},"sex":{"description":"female or male. Male scores 1; female scores 0 (Nemeth 2020 Table 1).","enum":["female","male"],"type":"string"},"surgery_within_3mo":{"description":"Surgery within 3 months as assigned by the caller (Nemeth 2020 Table 1). true scores 2. magent does not classify an operation.","type":"boolean"},"trauma":{"description":"Mutually exclusive Nemeth 2020 Table 1 trauma category as assigned by the caller (choose the most severe). high scores 3 (paper examples: fibula/tibia shaft, tibial plateau, Achilles rupture). intermediate scores 2 (bi/tri-malleolar ankle, patellar fracture, ankle dislocation/Lisfranc, severe knee sprain with edema/haemarthrosis, grade 3 ankle sprain). low scores 1 (single malleolar, patellar dislocation, (meta)tarsal/forefoot fracture, grade 1-2 sprain, significant muscle injury). magent does not classify the trauma radiograph.","enum":["high","intermediate","low"],"type":"string"}},"required":["trauma","immobilization","age","sex","bmi_kg_m2","family_history_vte","personal_history_vte_or_major_thrombophilia","hormonal_estrogenic_treatment","cancer_within_5y","pregnancy_or_puerperium","other_immobilization_3mo","surgery_within_3mo","comorbidity","chronic_venous_insufficiency"],"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":["trip-cast","vte","immobilization","score","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:47:03.825Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:47:03.686Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"bmi_kg_m2":30,"cancer_within_5y":false,"chronic_venous_insufficiency":false,"comorbidity":false,"family_history_vte":false,"hormonal_estrogenic_treatment":false,"immobilization":"lower_leg","other_immobilization_3mo":false,"personal_history_vte_or_major_thrombophilia":false,"pregnancy_or_puerperium":false,"sex":"male","surgery_within_3mo":false,"trauma":"intermediate"},{"age":50,"bmi_kg_m2":30,"cancer_within_5y":false,"chronic_venous_insufficiency":false,"comorbidity":false,"family_history_vte":false,"hormonal_estrogenic_treatment":false,"immobilization":"lower_leg","other_immobilization_3mo":false,"personal_history_vte_or_major_thrombophilia":false,"pregnancy_or_puerperium":false,"sex":"male","surgery_within_3mo":false,"trauma":"intermediate"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"bmi_kg_m2":30,"citation":{"authors":"Nemeth B, Douillet D, le Cessie S, Penaloza A, Moumneh T, Roy PM, Cannegieter S","doi":"10.1016/j.eclinm.2020.100270","id":"nemeth-2020","pmid":"32300734","source":"EClinicalMedicine. 2020;20:100270","title":"Clinical risk assessment model to predict venous thromboembolism risk after immobilization for lower-limb trauma"},"components":[{"factor":"trauma","points":2,"present":true,"value":"intermediate"},{"factor":"immobilization","points":2,"present":true,"value":"lower_leg"},{"factor":"age","points":1,"present":true,"value":50},{"factor":"male","points":1,"present":true,"value":"male"},{"factor":"bmi","points":1,"present":true,"value":30},{"factor":"family_history_vte","points":0,"present":false},{"factor":"personal_history_vte_or_major_thrombophilia","points":0,"present":false},{"factor":"hormonal_estrogenic_treatment","points":0,"present":false},{"factor":"cancer_within_5y","points":0,"present":false},{"factor":"pregnancy_or_puerperium","points":0,"present":false},{"factor":"other_immobilization_3mo","points":0,"present":false},{"factor":"surgery_within_3mo","points":0,"present":false},{"factor":"comorbidity","points":0,"present":false},{"factor":"chronic_venous_insufficiency","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":"trip_cast","formula_expression":"TRiP(cast) = trauma (high 3, intermediate 2, low 1) + immobilization (upper_leg 3, lower_leg 2, foot_cast 1, other_plantar 0) + age (<35: 0, 35-54: 1, 55-74: 2, >=75: 3) + male (1) + BMI (>=35: 2, >=25 and <35: 1, <25: 0) + family_history_vte (2) + personal_history_vte_or_major_thrombophilia (4) + hormonal_estrogenic_treatment (4) + cancer_within_5y (3) + pregnancy_or_puerperium (3) + other_immobilization_3mo (2) + surgery_within_3mo (2) + comorbidity (1) + chronic_venous_insufficiency (1); Nemeth 2020 Table 1; max 34; high_risk iff score >= 7","high_risk":true,"immobilization":"lower_leg","max_score":34,"risk_band":"high_risk","score":7,"sex":"male","trauma":"intermediate"},{"age_years":50,"bmi_kg_m2":30,"citation":{"authors":"Nemeth B, Douillet D, le Cessie S, Penaloza A, Moumneh T, Roy PM, Cannegieter S","doi":"10.1016/j.eclinm.2020.100270","id":"nemeth-2020","pmid":"32300734","source":"EClinicalMedicine. 2020;20:100270","title":"Clinical risk assessment model to predict venous thromboembolism risk after immobilization for lower-limb trauma"},"components":[{"factor":"trauma","points":2,"present":true,"value":"intermediate"},{"factor":"immobilization","points":2,"present":true,"value":"lower_leg"},{"factor":"age","points":1,"present":true,"value":50},{"factor":"male","points":1,"present":true,"value":"male"},{"factor":"bmi","points":1,"present":true,"value":30},{"factor":"family_history_vte","points":0,"present":false},{"factor":"personal_history_vte_or_major_thrombophilia","points":0,"present":false},{"factor":"hormonal_estrogenic_treatment","points":0,"present":false},{"factor":"cancer_within_5y","points":0,"present":false},{"factor":"pregnancy_or_puerperium","points":0,"present":false},{"factor":"other_immobilization_3mo","points":0,"present":false},{"factor":"surgery_within_3mo","points":0,"present":false},{"factor":"comorbidity","points":0,"present":false},{"factor":"chronic_venous_insufficiency","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":"trip_cast","formula_expression":"TRiP(cast) = trauma (high 3, intermediate 2, low 1) + immobilization (upper_leg 3, lower_leg 2, foot_cast 1, other_plantar 0) + age (<35: 0, 35-54: 1, 55-74: 2, >=75: 3) + male (1) + BMI (>=35: 2, >=25 and <35: 1, <25: 0) + family_history_vte (2) + personal_history_vte_or_major_thrombophilia (4) + hormonal_estrogenic_treatment (4) + cancer_within_5y (3) + pregnancy_or_puerperium (3) + other_immobilization_3mo (2) + surgery_within_3mo (2) + comorbidity (1) + chronic_venous_insufficiency (1); Nemeth 2020 Table 1; max 34; high_risk iff score >= 7","high_risk":true,"immobilization":"lower_leg","max_score":34,"risk_band":"high_risk","score":7,"sex":"male","trauma":"intermediate"}],"path":"/api/calc/trip_cast"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 1-120). Nemeth 2020: <35 scores 0; ≥35 and <55 scores 1; ≥55 and <75 scores 2; ≥75 scores 3. Age 35 scores 1; 55 scores 2; 75 scores 3.","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Nemeth 2020: <25 scores 0; ≥25 and <35 scores 1; ≥35 scores 2. 25.0 scores 1; 35.0 scores 2.","type":"number"},"cancer_within_5y":{"description":"Cancer within 5 years as assigned by the caller (Nemeth 2020 Table 1). true scores 3. magent does not diagnose cancer.","type":"boolean"},"chronic_venous_insufficiency":{"description":"Chronic venous insufficiency (varicose veins) as assigned by the caller (Nemeth 2020 Table 1). true scores 1. magent does not examine the patient.","type":"boolean"},"comorbidity":{"description":"Heart failure, rheumatoid arthritis, CKD, COPD, or IBD as one caller-assigned flag (Nemeth 2020 Table 1). true scores 1. magent does not examine the patient.","type":"boolean"},"family_history_vte":{"description":"First-degree family history of VTE as assigned by the caller (Nemeth 2020 Table 1). true scores 2. magent does not take a family history.","type":"boolean"},"hormonal_estrogenic_treatment":{"description":"Current oral contraceptives or estrogenic hormone therapy as assigned by the caller (Nemeth 2020 Table 1). true scores 4.","type":"boolean"},"immobilization":{"description":"Mutually exclusive Nemeth 2020 Table 1 immobilization category as assigned by the caller. upper_leg scores 3. lower_leg scores 2. foot_cast scores 1 (foot cast ankle-free or any semi-rigid without plantar support). other_plantar scores 0 (other cast or bracing with plantar support).","enum":["upper_leg","lower_leg","foot_cast","other_plantar"],"type":"string"},"other_immobilization_3mo":{"description":"Hospital admission, bedridden, flight >6 h, or lower-limb paralysis other than the cast, within 3 months, as assigned by the caller (Nemeth 2020 Table 1). true scores 2. Independent of the exclusive immobilization category.","type":"boolean"},"personal_history_vte_or_major_thrombophilia":{"description":"Personal history of VTE or major thrombophilia as assigned by the caller (Nemeth 2020 Table 1). true scores 4. magent does not diagnose VTE or interpret a thrombophilia panel.","type":"boolean"},"pregnancy_or_puerperium":{"description":"Pregnancy or puerperium as assigned by the caller (Nemeth 2020 Table 1). true scores 3. magent does not confirm pregnancy.","type":"boolean"},"sex":{"description":"female or male. Male scores 1; female scores 0 (Nemeth 2020 Table 1).","enum":["female","male"],"type":"string"},"surgery_within_3mo":{"description":"Surgery within 3 months as assigned by the caller (Nemeth 2020 Table 1). true scores 2. magent does not classify an operation.","type":"boolean"},"trauma":{"description":"Mutually exclusive Nemeth 2020 Table 1 trauma category as assigned by the caller (choose the most severe). high scores 3 (paper examples: fibula/tibia shaft, tibial plateau, Achilles rupture). intermediate scores 2 (bi/tri-malleolar ankle, patellar fracture, ankle dislocation/Lisfranc, severe knee sprain with edema/haemarthrosis, grade 3 ankle sprain). low scores 1 (single malleolar, patellar dislocation, (meta)tarsal/forefoot fracture, grade 1-2 sprain, significant muscle injury). magent does not classify the trauma radiograph.","enum":["high","intermediate","low"],"type":"string"}},"required":["trauma","immobilization","age","sex","bmi_kg_m2","family_history_vte","personal_history_vte_or_major_thrombophilia","hormonal_estrogenic_treatment","cancer_within_5y","pregnancy_or_puerperium","other_immobilization_3mo","surgery_within_3mo","comorbidity","chronic_venous_insufficiency"],"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},{"id":38904,"slug":"38904","resource":"https://api.magentlab.com/api/calc/utrs","description":"Webb 2022 Table 6 simplified score for 14-day hospitalization and 28-day mortality. Age decade lookup 0-10=0.5 through >100=5.5. Two points: diabetes, severe immunocompromise, obesity (BMI ≥30), caller-assigned community of color. One point: male sex, dyspnea, hypertension, CAD, arrhythmia, CHF, CKD, chronic pulmonary, liver, cerebrovascular, neurologic disease. score_ge_6 at Table 7 Youden ≥6. Not a diagnosis or allocation order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":35,"cardiac_arrhythmia":false,"cerebrovascular_disease":false,"chronic_kidney_disease":false,"chronic_liver_disease":false,"chronic_neurologic_disease":false,"chronic_pulmonary_disease":false,"community_of_color":false,"congestive_heart_failure":false,"coronary_artery_disease":false,"diabetes":false,"dyspnea":false,"hypertension":false,"obesity":false,"severe_immunocompromise":false,"sex":"female"},{"age":35,"cardiac_arrhythmia":false,"cerebrovascular_disease":false,"chronic_kidney_disease":false,"chronic_liver_disease":false,"chronic_neurologic_disease":false,"chronic_pulmonary_disease":false,"community_of_color":false,"congestive_heart_failure":false,"coronary_artery_disease":false,"diabetes":false,"dyspnea":false,"hypertension":false,"obesity":false,"severe_immunocompromise":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":35,"citation":{"authors":"Webb BJ, Levin NM, Grisel N, Brown SM, Peltan ID, Spivak ES, et al.","doi":"10.1371/journal.pone.0261508","id":"webb-2022-utah-covid","pmid":"35239664","source":"PLoS One. 2022;17(3):e0261508","title":"Simple scoring tool to estimate risk of hospitalization and mortality in ambulatory and emergency department patients with COVID-19"},"components":[{"factor":"male","points":0,"present":false},{"factor":"age","points":2,"present":true,"value":35},{"factor":"community_of_color","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"severe_immunocompromise","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"coronary_artery_disease","points":0,"present":false},{"factor":"cardiac_arrhythmia","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"chronic_kidney_disease","points":0,"present":false},{"factor":"chronic_pulmonary_disease","points":0,"present":false},{"factor":"chronic_liver_disease","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"chronic_neurologic_disease","points":0,"present":false},{"factor":"dyspnea","points":0,"present":false}],"cutpoint":6,"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":"utah-covid","formula_expression":"Webb 2022 Table 6: age 0-10=0.5, 11-20=1, 21-30=1.5, 31-40=2, 41-50=2.5, 51-60=3, 61-70=3.5, 71-80=4, 81-90=4.5, 91-100=5, >100=5.5 (printed decade lookup, not floor(age/10)*0.5); diabetes, severe immunocompromise, obesity (Methods BMI ≥30; Table 6 label BMI>30), community of color 2 each; male sex, dyspnea, hypertension, CAD, cardiac arrhythmia, CHF, CKD, chronic pulmonary disease, chronic liver disease, cerebrovascular disease, chronic neurologic disease 1 each; max 24.5; score_ge_6 iff score ≥6 (Table 7 Youden)","max_score":24.5,"score":2,"score_ge_6":false,"sex":"female"},{"age":35,"citation":{"authors":"Webb BJ, Levin NM, Grisel N, Brown SM, Peltan ID, Spivak ES, et al.","doi":"10.1371/journal.pone.0261508","id":"webb-2022-utah-covid","pmid":"35239664","source":"PLoS One. 2022;17(3):e0261508","title":"Simple scoring tool to estimate risk of hospitalization and mortality in ambulatory and emergency department patients with COVID-19"},"components":[{"factor":"male","points":0,"present":false},{"factor":"age","points":2,"present":true,"value":35},{"factor":"community_of_color","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"severe_immunocompromise","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"coronary_artery_disease","points":0,"present":false},{"factor":"cardiac_arrhythmia","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"chronic_kidney_disease","points":0,"present":false},{"factor":"chronic_pulmonary_disease","points":0,"present":false},{"factor":"chronic_liver_disease","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"chronic_neurologic_disease","points":0,"present":false},{"factor":"dyspnea","points":0,"present":false}],"cutpoint":6,"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":"utah-covid","formula_expression":"Webb 2022 Table 6: age 0-10=0.5, 11-20=1, 21-30=1.5, 31-40=2, 41-50=2.5, 51-60=3, 61-70=3.5, 71-80=4, 81-90=4.5, 91-100=5, >100=5.5 (printed decade lookup, not floor(age/10)*0.5); diabetes, severe immunocompromise, obesity (Methods BMI ≥30; Table 6 label BMI>30), community of color 2 each; male sex, dyspnea, hypertension, CAD, cardiac arrhythmia, CHF, CKD, chronic pulmonary disease, chronic liver disease, cerebrovascular disease, chronic neurologic disease 1 each; max 24.5; score_ge_6 iff score ≥6 (Table 7 Youden)","max_score":24.5,"score":2,"score_ge_6":false,"sex":"female"}],"path":"/api/calc/utrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in whole years (0-120). Webb 2022 Table 6 decade lookup: 0-10=0.5, 11-20=1, 21-30=1.5, 31-40=2, 41-50=2.5, 51-60=3, 61-70=3.5, 71-80=4, 81-90=4.5, 91-100=5, >100=5.5. Not floor(age/10)×0.5.","type":"integer"},"cardiac_arrhythmia":{"description":"Cardiac arrhythmia (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"cerebrovascular_disease":{"description":"Cerebrovascular disease (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"chronic_kidney_disease":{"description":"Chronic kidney disease (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"chronic_liver_disease":{"description":"Chronic liver disease (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"chronic_neurologic_disease":{"description":"Chronic neurologic disease (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"chronic_pulmonary_disease":{"description":"Chronic pulmonary disease (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"community_of_color":{"description":"Caller-assigned: the paper's community of color (self-identifies as non-white race or Hispanic/Latinx ethnicity). 2 points if true. magent does not assign race or ethnicity. true or false.","type":"boolean"},"congestive_heart_failure":{"description":"Congestive heart failure (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"coronary_artery_disease":{"description":"Coronary artery disease (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus (Webb 2022 Table 6 high-risk comorbidity). 2 points if true. true or false.","type":"boolean"},"dyspnea":{"description":"Dyspnea at the time of testing (Webb 2022 Table 6 symptom). 1 point if true. true or false.","type":"boolean"},"hypertension":{"description":"Hypertension (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"obesity":{"description":"Obesity as BMI ≥30 kg/m² (Webb 2022 Methods; Table 6 label BMI>30). 2 points if true. Caller-assigned true or false.","type":"boolean"},"severe_immunocompromise":{"description":"Severe immunocompromise as Table 6 footnote 2: solid organ or bone marrow transplant, AIDS, active chemotherapy, or inherited immunodeficiency. 2 points if true. Caller-assigned; magent does not adjudicate. true or false.","type":"boolean"},"sex":{"description":"Sex as recorded. Male scores 1 (Webb 2022 Table 6). female or male.","type":"string"}},"required":["age","sex","community_of_color","diabetes","severe_immunocompromise","obesity","dyspnea","hypertension","coronary_artery_disease","cardiac_arrhythmia","congestive_heart_failure","chronic_kidney_disease","chronic_pulmonary_disease","chronic_liver_disease","cerebrovascular_disease","chronic_neurologic_disease"],"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":["utah-covid","webb-2022","hospitalization","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:07:28.258Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:07:27.794Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":35,"cardiac_arrhythmia":false,"cerebrovascular_disease":false,"chronic_kidney_disease":false,"chronic_liver_disease":false,"chronic_neurologic_disease":false,"chronic_pulmonary_disease":false,"community_of_color":false,"congestive_heart_failure":false,"coronary_artery_disease":false,"diabetes":false,"dyspnea":false,"hypertension":false,"obesity":false,"severe_immunocompromise":false,"sex":"female"},{"age":35,"cardiac_arrhythmia":false,"cerebrovascular_disease":false,"chronic_kidney_disease":false,"chronic_liver_disease":false,"chronic_neurologic_disease":false,"chronic_pulmonary_disease":false,"community_of_color":false,"congestive_heart_failure":false,"coronary_artery_disease":false,"diabetes":false,"dyspnea":false,"hypertension":false,"obesity":false,"severe_immunocompromise":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":35,"citation":{"authors":"Webb BJ, Levin NM, Grisel N, Brown SM, Peltan ID, Spivak ES, et al.","doi":"10.1371/journal.pone.0261508","id":"webb-2022-utah-covid","pmid":"35239664","source":"PLoS One. 2022;17(3):e0261508","title":"Simple scoring tool to estimate risk of hospitalization and mortality in ambulatory and emergency department patients with COVID-19"},"components":[{"factor":"male","points":0,"present":false},{"factor":"age","points":2,"present":true,"value":35},{"factor":"community_of_color","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"severe_immunocompromise","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"coronary_artery_disease","points":0,"present":false},{"factor":"cardiac_arrhythmia","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"chronic_kidney_disease","points":0,"present":false},{"factor":"chronic_pulmonary_disease","points":0,"present":false},{"factor":"chronic_liver_disease","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"chronic_neurologic_disease","points":0,"present":false},{"factor":"dyspnea","points":0,"present":false}],"cutpoint":6,"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":"utah-covid","formula_expression":"Webb 2022 Table 6: age 0-10=0.5, 11-20=1, 21-30=1.5, 31-40=2, 41-50=2.5, 51-60=3, 61-70=3.5, 71-80=4, 81-90=4.5, 91-100=5, >100=5.5 (printed decade lookup, not floor(age/10)*0.5); diabetes, severe immunocompromise, obesity (Methods BMI ≥30; Table 6 label BMI>30), community of color 2 each; male sex, dyspnea, hypertension, CAD, cardiac arrhythmia, CHF, CKD, chronic pulmonary disease, chronic liver disease, cerebrovascular disease, chronic neurologic disease 1 each; max 24.5; score_ge_6 iff score ≥6 (Table 7 Youden)","max_score":24.5,"score":2,"score_ge_6":false,"sex":"female"},{"age":35,"citation":{"authors":"Webb BJ, Levin NM, Grisel N, Brown SM, Peltan ID, Spivak ES, et al.","doi":"10.1371/journal.pone.0261508","id":"webb-2022-utah-covid","pmid":"35239664","source":"PLoS One. 2022;17(3):e0261508","title":"Simple scoring tool to estimate risk of hospitalization and mortality in ambulatory and emergency department patients with COVID-19"},"components":[{"factor":"male","points":0,"present":false},{"factor":"age","points":2,"present":true,"value":35},{"factor":"community_of_color","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"severe_immunocompromise","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"coronary_artery_disease","points":0,"present":false},{"factor":"cardiac_arrhythmia","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"chronic_kidney_disease","points":0,"present":false},{"factor":"chronic_pulmonary_disease","points":0,"present":false},{"factor":"chronic_liver_disease","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"chronic_neurologic_disease","points":0,"present":false},{"factor":"dyspnea","points":0,"present":false}],"cutpoint":6,"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":"utah-covid","formula_expression":"Webb 2022 Table 6: age 0-10=0.5, 11-20=1, 21-30=1.5, 31-40=2, 41-50=2.5, 51-60=3, 61-70=3.5, 71-80=4, 81-90=4.5, 91-100=5, >100=5.5 (printed decade lookup, not floor(age/10)*0.5); diabetes, severe immunocompromise, obesity (Methods BMI ≥30; Table 6 label BMI>30), community of color 2 each; male sex, dyspnea, hypertension, CAD, cardiac arrhythmia, CHF, CKD, chronic pulmonary disease, chronic liver disease, cerebrovascular disease, chronic neurologic disease 1 each; max 24.5; score_ge_6 iff score ≥6 (Table 7 Youden)","max_score":24.5,"score":2,"score_ge_6":false,"sex":"female"}],"path":"/api/calc/utrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in whole years (0-120). Webb 2022 Table 6 decade lookup: 0-10=0.5, 11-20=1, 21-30=1.5, 31-40=2, 41-50=2.5, 51-60=3, 61-70=3.5, 71-80=4, 81-90=4.5, 91-100=5, >100=5.5. Not floor(age/10)×0.5.","type":"integer"},"cardiac_arrhythmia":{"description":"Cardiac arrhythmia (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"cerebrovascular_disease":{"description":"Cerebrovascular disease (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"chronic_kidney_disease":{"description":"Chronic kidney disease (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"chronic_liver_disease":{"description":"Chronic liver disease (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"chronic_neurologic_disease":{"description":"Chronic neurologic disease (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"chronic_pulmonary_disease":{"description":"Chronic pulmonary disease (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"community_of_color":{"description":"Caller-assigned: the paper's community of color (self-identifies as non-white race or Hispanic/Latinx ethnicity). 2 points if true. magent does not assign race or ethnicity. true or false.","type":"boolean"},"congestive_heart_failure":{"description":"Congestive heart failure (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"coronary_artery_disease":{"description":"Coronary artery disease (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus (Webb 2022 Table 6 high-risk comorbidity). 2 points if true. true or false.","type":"boolean"},"dyspnea":{"description":"Dyspnea at the time of testing (Webb 2022 Table 6 symptom). 1 point if true. true or false.","type":"boolean"},"hypertension":{"description":"Hypertension (Webb 2022 Table 6). 1 point if true. true or false.","type":"boolean"},"obesity":{"description":"Obesity as BMI ≥30 kg/m² (Webb 2022 Methods; Table 6 label BMI>30). 2 points if true. Caller-assigned true or false.","type":"boolean"},"severe_immunocompromise":{"description":"Severe immunocompromise as Table 6 footnote 2: solid organ or bone marrow transplant, AIDS, active chemotherapy, or inherited immunodeficiency. 2 points if true. Caller-assigned; magent does not adjudicate. true or false.","type":"boolean"},"sex":{"description":"Sex as recorded. Male scores 1 (Webb 2022 Table 6). female or male.","type":"string"}},"required":["age","sex","community_of_color","diabetes","severe_immunocompromise","obesity","dyspnea","hypertension","coronary_artery_disease","cardiac_arrhythmia","congestive_heart_failure","chronic_kidney_disease","chronic_pulmonary_disease","chronic_liver_disease","cerebrovascular_disease","chronic_neurologic_disease"],"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},{"id":38905,"slug":"38905","resource":"https://api.magentlab.com/api/calc/vaco","description":"King 2020 VACO Index logistic 30-day all-cause mortality from age, sex, caller-assigned unadjusted Charlson comorbidity index, and history of myocardial infarction or peripheral vascular disease. Supplement S3 coefficients. Age 85 or older uses the published combined CCI term. Not VACS Index 1.0 or 2.0, not a diagnosis, and not a treatment order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"cci":0,"mi_pvd":false,"sex":"female"},{"age":40,"cci":0,"mi_pvd":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"age_band":"20-50","cci":0,"cci_band":"0","citation":{"authors":"King JT Jr, Yoon JS, Rentsch CT, Tate JP, Park LS, Kidwai-Khan F, et al.","doi":"10.1371/journal.pone.0241825","id":"king-2020-vaco","pmid":"33175863","source":"PLoS One. 2020;15(11):e0241825","title":"Development and validation of a 30-day mortality index based on pre-existing medical administrative data from 13,323 COVID-19 patients: The Veterans Health Administration COVID-19 (VACO) Index"},"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.","estimated_probability_percent":0.16,"formula":"vaco","formula_expression":"lp = intercept + age_term + sex_term + cci_term + mi_pvd_term; probability = exp(lp)/(1+exp(lp)); King 2020 S1 File (PLOS S3); intercept -4.216058062; female 0; male 0.322291449; no MI/PVD 0; MI or PVD 0.267265312; age 20-50 (ages 20-49) -2.228678713, 50-54 0, 55-59 0.400599289, 60-64 0.941322019, 65-69 1.295007128, 70-74 1.629533438, 75-79 1.763345763, 80-89 1.927443543, ge90 2.018752269; age<85 CCI 0 0, 1-3 0.612122574, 4-5 0.825072847, 6-9 0.956099733, ge10 1.395164653; age>=85 any CCI 1.529325519; unadjusted Charlson; not VACS 1.0; not VACS 2.0","logit":-6.444737,"mi_pvd":false,"sex":"female"},{"age":40,"age_band":"20-50","cci":0,"cci_band":"0","citation":{"authors":"King JT Jr, Yoon JS, Rentsch CT, Tate JP, Park LS, Kidwai-Khan F, et al.","doi":"10.1371/journal.pone.0241825","id":"king-2020-vaco","pmid":"33175863","source":"PLoS One. 2020;15(11):e0241825","title":"Development and validation of a 30-day mortality index based on pre-existing medical administrative data from 13,323 COVID-19 patients: The Veterans Health Administration COVID-19 (VACO) Index"},"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.","estimated_probability_percent":0.16,"formula":"vaco","formula_expression":"lp = intercept + age_term + sex_term + cci_term + mi_pvd_term; probability = exp(lp)/(1+exp(lp)); King 2020 S1 File (PLOS S3); intercept -4.216058062; female 0; male 0.322291449; no MI/PVD 0; MI or PVD 0.267265312; age 20-50 (ages 20-49) -2.228678713, 50-54 0, 55-59 0.400599289, 60-64 0.941322019, 65-69 1.295007128, 70-74 1.629533438, 75-79 1.763345763, 80-89 1.927443543, ge90 2.018752269; age<85 CCI 0 0, 1-3 0.612122574, 4-5 0.825072847, 6-9 0.956099733, ge10 1.395164653; age>=85 any CCI 1.529325519; unadjusted Charlson; not VACS 1.0; not VACS 2.0","logit":-6.444737,"mi_pvd":false,"sex":"female"}],"path":"/api/calc/vaco"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 20-120). King 2020 S3 bands: 20-50 (ages 20-49), 50-54, 55-59, 60-64, 65-69, 70-74, 75-79, 80-89, ge90. Age 50 uses 50-54. Age 85-89 keeps the 80-89 age term and the age>=85 CCI term.","type":"integer"},"cci":{"description":"Unadjusted Charlson comorbidity index as assigned by the caller (integer 0-37). King 2020 S3: 0 (reference), 1-3, 4-5, 6-9, ge10 when age<85. Age 85 or older uses the published combined CCI term regardless of this integer. magent does not assign Charlson diagnoses.","type":"integer"},"mi_pvd":{"description":"History of myocardial infarction or peripheral vascular disease as assigned by the caller (true or false). false is the S3 reference (0). true adds 0.267265312.","type":"boolean"},"sex":{"description":"Sex as assigned by the caller. female is the S3 reference (0). male adds 0.322291449. magent does not assign sex.","enum":["female","male"],"type":"string"}},"required":["age","sex","cci","mi_pvd"],"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":["vaco","covid-19","mortality","charlson","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:12:14.944Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:12:14.748Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"cci":0,"mi_pvd":false,"sex":"female"},{"age":40,"cci":0,"mi_pvd":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"age_band":"20-50","cci":0,"cci_band":"0","citation":{"authors":"King JT Jr, Yoon JS, Rentsch CT, Tate JP, Park LS, Kidwai-Khan F, et al.","doi":"10.1371/journal.pone.0241825","id":"king-2020-vaco","pmid":"33175863","source":"PLoS One. 2020;15(11):e0241825","title":"Development and validation of a 30-day mortality index based on pre-existing medical administrative data from 13,323 COVID-19 patients: The Veterans Health Administration COVID-19 (VACO) Index"},"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.","estimated_probability_percent":0.16,"formula":"vaco","formula_expression":"lp = intercept + age_term + sex_term + cci_term + mi_pvd_term; probability = exp(lp)/(1+exp(lp)); King 2020 S1 File (PLOS S3); intercept -4.216058062; female 0; male 0.322291449; no MI/PVD 0; MI or PVD 0.267265312; age 20-50 (ages 20-49) -2.228678713, 50-54 0, 55-59 0.400599289, 60-64 0.941322019, 65-69 1.295007128, 70-74 1.629533438, 75-79 1.763345763, 80-89 1.927443543, ge90 2.018752269; age<85 CCI 0 0, 1-3 0.612122574, 4-5 0.825072847, 6-9 0.956099733, ge10 1.395164653; age>=85 any CCI 1.529325519; unadjusted Charlson; not VACS 1.0; not VACS 2.0","logit":-6.444737,"mi_pvd":false,"sex":"female"},{"age":40,"age_band":"20-50","cci":0,"cci_band":"0","citation":{"authors":"King JT Jr, Yoon JS, Rentsch CT, Tate JP, Park LS, Kidwai-Khan F, et al.","doi":"10.1371/journal.pone.0241825","id":"king-2020-vaco","pmid":"33175863","source":"PLoS One. 2020;15(11):e0241825","title":"Development and validation of a 30-day mortality index based on pre-existing medical administrative data from 13,323 COVID-19 patients: The Veterans Health Administration COVID-19 (VACO) Index"},"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.","estimated_probability_percent":0.16,"formula":"vaco","formula_expression":"lp = intercept + age_term + sex_term + cci_term + mi_pvd_term; probability = exp(lp)/(1+exp(lp)); King 2020 S1 File (PLOS S3); intercept -4.216058062; female 0; male 0.322291449; no MI/PVD 0; MI or PVD 0.267265312; age 20-50 (ages 20-49) -2.228678713, 50-54 0, 55-59 0.400599289, 60-64 0.941322019, 65-69 1.295007128, 70-74 1.629533438, 75-79 1.763345763, 80-89 1.927443543, ge90 2.018752269; age<85 CCI 0 0, 1-3 0.612122574, 4-5 0.825072847, 6-9 0.956099733, ge10 1.395164653; age>=85 any CCI 1.529325519; unadjusted Charlson; not VACS 1.0; not VACS 2.0","logit":-6.444737,"mi_pvd":false,"sex":"female"}],"path":"/api/calc/vaco"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 20-120). King 2020 S3 bands: 20-50 (ages 20-49), 50-54, 55-59, 60-64, 65-69, 70-74, 75-79, 80-89, ge90. Age 50 uses 50-54. Age 85-89 keeps the 80-89 age term and the age>=85 CCI term.","type":"integer"},"cci":{"description":"Unadjusted Charlson comorbidity index as assigned by the caller (integer 0-37). King 2020 S3: 0 (reference), 1-3, 4-5, 6-9, ge10 when age<85. Age 85 or older uses the published combined CCI term regardless of this integer. magent does not assign Charlson diagnoses.","type":"integer"},"mi_pvd":{"description":"History of myocardial infarction or peripheral vascular disease as assigned by the caller (true or false). false is the S3 reference (0). true adds 0.267265312.","type":"boolean"},"sex":{"description":"Sex as assigned by the caller. female is the S3 reference (0). male adds 0.322291449. magent does not assign sex.","enum":["female","male"],"type":"string"}},"required":["age","sex","cci","mi_pvd"],"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},{"id":38906,"slug":"38906","resource":"https://api.magentlab.com/api/calc/years","description":"YEARS algorithm (van der Hulle 2017 Lancet). Count three caller-assigned items (clinical signs of DVT, hemoptysis, PE most likely) and exclude PE only when D-dimer (ng/mL FEU) is strictly below 1000 with 0 items or 500 with 1-3 items. Equality is not excluded. Not a diagnosis, not Wells, not PERC. magent does not decide PE most likely. The 2017 cohort excluded pregnancy.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"clinical_signs_dvt":false,"d_dimer_ng_ml":499,"hemoptysis":false,"pe_most_likely":false},{"clinical_signs_dvt":false,"d_dimer_ng_ml":499,"hemoptysis":false,"pe_most_likely":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"van der Hulle T, Cheung WY, Kooij S, et al.","doi":"10.1016/S0140-6736(17)30885-1","id":"van-der-hulle-2017","source":"Lancet. 2017;390(10091):289-297","title":"Simplified diagnostic management of suspected pulmonary embolism (the YEARS study): a prospective, multicentre, cohort study"},"criteria":[{"factor":"clinical_signs_dvt","met":false},{"factor":"hemoptysis","met":false},{"factor":"pe_most_likely","met":false}],"ctpa_indicated":false,"d_dimer_ng_ml":499,"d_dimer_threshold_ng_ml":1000,"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":"years","formula_expression":"PE excluded iff (years_items == 0 and d_dimer_ng_ml < 1000) or (years_items >= 1 and d_dimer_ng_ml < 500); years_items counts clinical_signs_dvt, hemoptysis, and pe_most_likely","pe_excluded":true,"years_items":0},{"citation":{"authors":"van der Hulle T, Cheung WY, Kooij S, et al.","doi":"10.1016/S0140-6736(17)30885-1","id":"van-der-hulle-2017","source":"Lancet. 2017;390(10091):289-297","title":"Simplified diagnostic management of suspected pulmonary embolism (the YEARS study): a prospective, multicentre, cohort study"},"criteria":[{"factor":"clinical_signs_dvt","met":false},{"factor":"hemoptysis","met":false},{"factor":"pe_most_likely","met":false}],"ctpa_indicated":false,"d_dimer_ng_ml":499,"d_dimer_threshold_ng_ml":1000,"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":"years","formula_expression":"PE excluded iff (years_items == 0 and d_dimer_ng_ml < 1000) or (years_items >= 1 and d_dimer_ng_ml < 500); years_items counts clinical_signs_dvt, hemoptysis, and pe_most_likely","pe_excluded":true,"years_items":0}],"path":"/api/calc/years"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"clinical_signs_dvt":{"description":"Clinical signs of deep-vein thrombosis. true or false as assigned by the caller. Counts as one unweighted YEARS item when true.","type":"boolean"},"d_dimer_ng_ml":{"description":"D-dimer in ng/mL fibrinogen-equivalent units (FEU) as in van der Hulle 2017 (0-20000). PE excluded only when strictly below 1000 (0 YEARS items) or 500 (1-3 items). Equality is not excluded.","type":"number"},"hemoptysis":{"description":"Hemoptysis. true or false as assigned by the caller. Counts as one unweighted YEARS item when true.","type":"boolean"},"pe_most_likely":{"description":"PE is the most likely diagnosis, as assigned by the caller. magent does not decide PE most likely. Counts as one unweighted YEARS item when true.","type":"boolean"}},"required":["clinical_signs_dvt","hemoptysis","pe_most_likely","d_dimer_ng_ml"],"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":["years","pe","vte","d-dimer","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T23:53:02.415Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T23:53:02.132Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"clinical_signs_dvt":false,"d_dimer_ng_ml":499,"hemoptysis":false,"pe_most_likely":false},{"clinical_signs_dvt":false,"d_dimer_ng_ml":499,"hemoptysis":false,"pe_most_likely":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"van der Hulle T, Cheung WY, Kooij S, et al.","doi":"10.1016/S0140-6736(17)30885-1","id":"van-der-hulle-2017","source":"Lancet. 2017;390(10091):289-297","title":"Simplified diagnostic management of suspected pulmonary embolism (the YEARS study): a prospective, multicentre, cohort study"},"criteria":[{"factor":"clinical_signs_dvt","met":false},{"factor":"hemoptysis","met":false},{"factor":"pe_most_likely","met":false}],"ctpa_indicated":false,"d_dimer_ng_ml":499,"d_dimer_threshold_ng_ml":1000,"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":"years","formula_expression":"PE excluded iff (years_items == 0 and d_dimer_ng_ml < 1000) or (years_items >= 1 and d_dimer_ng_ml < 500); years_items counts clinical_signs_dvt, hemoptysis, and pe_most_likely","pe_excluded":true,"years_items":0},{"citation":{"authors":"van der Hulle T, Cheung WY, Kooij S, et al.","doi":"10.1016/S0140-6736(17)30885-1","id":"van-der-hulle-2017","source":"Lancet. 2017;390(10091):289-297","title":"Simplified diagnostic management of suspected pulmonary embolism (the YEARS study): a prospective, multicentre, cohort study"},"criteria":[{"factor":"clinical_signs_dvt","met":false},{"factor":"hemoptysis","met":false},{"factor":"pe_most_likely","met":false}],"ctpa_indicated":false,"d_dimer_ng_ml":499,"d_dimer_threshold_ng_ml":1000,"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":"years","formula_expression":"PE excluded iff (years_items == 0 and d_dimer_ng_ml < 1000) or (years_items >= 1 and d_dimer_ng_ml < 500); years_items counts clinical_signs_dvt, hemoptysis, and pe_most_likely","pe_excluded":true,"years_items":0}],"path":"/api/calc/years"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"clinical_signs_dvt":{"description":"Clinical signs of deep-vein thrombosis. true or false as assigned by the caller. Counts as one unweighted YEARS item when true.","type":"boolean"},"d_dimer_ng_ml":{"description":"D-dimer in ng/mL fibrinogen-equivalent units (FEU) as in van der Hulle 2017 (0-20000). PE excluded only when strictly below 1000 (0 YEARS items) or 500 (1-3 items). Equality is not excluded.","type":"number"},"hemoptysis":{"description":"Hemoptysis. true or false as assigned by the caller. Counts as one unweighted YEARS item when true.","type":"boolean"},"pe_most_likely":{"description":"PE is the most likely diagnosis, as assigned by the caller. magent does not decide PE most likely. Counts as one unweighted YEARS item when true.","type":"boolean"}},"required":["clinical_signs_dvt","hemoptysis","pe_most_likely","d_dimer_ng_ml"],"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},{"id":38907,"slug":"38907","resource":"https://api.magentlab.com/api/calc/wells_dvt","description":"Wells deep-vein thrombosis probability from discrete clinical flags. Returns three-tier and two-tier bands. Deterministic published score with citation; not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"active_cancer":true,"alternative_diagnosis_as_likely":false,"bedridden_or_surgery":false,"calf_swelling_gt_3cm":true,"collateral_veins":false,"entire_leg_swollen":false,"paralysis_or_cast":false,"pitting_edema":false,"previous_dvt":false,"tenderness":false},{"active_cancer":true,"alternative_diagnosis_as_likely":false,"bedridden_or_surgery":false,"calf_swelling_gt_3cm":true,"collateral_veins":false,"entire_leg_swollen":false,"paralysis_or_cast":false,"pitting_edema":false,"previous_dvt":false,"tenderness":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wells PS, Anderson DR, Rodger M, et al.","doi":"10.1056/NEJMoa023153","id":"wells-dvt-2003","source":"N Engl J Med. 2003;349(13):1227-1235","title":"Evaluation of D-dimer in the diagnosis of suspected deep-vein thrombosis"},"components":[{"factor":"active_cancer","points":1,"present":true},{"factor":"paralysis_or_cast","points":0,"present":false},{"factor":"bedridden_or_surgery","points":0,"present":false},{"factor":"tenderness","points":0,"present":false},{"factor":"entire_leg_swollen","points":0,"present":false},{"factor":"calf_swelling_gt_3cm","points":1,"present":true},{"factor":"pitting_edema","points":0,"present":false},{"factor":"collateral_veins","points":0,"present":false},{"factor":"previous_dvt","points":0,"present":false},{"factor":"alternative_diagnosis_as_likely","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":"wells_dvt","formula_expression":"Wells DVT = +1 each of 9 findings; −2 if alternative_diagnosis_as_likely","max_score":9,"score":2,"three_tier":"moderate","two_tier":"likely"},{"citation":{"authors":"Wells PS, Anderson DR, Rodger M, et al.","doi":"10.1056/NEJMoa023153","id":"wells-dvt-2003","source":"N Engl J Med. 2003;349(13):1227-1235","title":"Evaluation of D-dimer in the diagnosis of suspected deep-vein thrombosis"},"components":[{"factor":"active_cancer","points":1,"present":true},{"factor":"paralysis_or_cast","points":0,"present":false},{"factor":"bedridden_or_surgery","points":0,"present":false},{"factor":"tenderness","points":0,"present":false},{"factor":"entire_leg_swollen","points":0,"present":false},{"factor":"calf_swelling_gt_3cm","points":1,"present":true},{"factor":"pitting_edema","points":0,"present":false},{"factor":"collateral_veins","points":0,"present":false},{"factor":"previous_dvt","points":0,"present":false},{"factor":"alternative_diagnosis_as_likely","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":"wells_dvt","formula_expression":"Wells DVT = +1 each of 9 findings; −2 if alternative_diagnosis_as_likely","max_score":9,"score":2,"three_tier":"moderate","two_tier":"likely"}],"path":"/api/calc/wells_dvt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_cancer":{"description":"Active cancer (treatment ongoing, within 6 months, or palliative). +1.","type":"boolean"},"alternative_diagnosis_as_likely":{"description":"Alternative diagnosis at least as likely as DVT. −2.","type":"boolean"},"bedridden_or_surgery":{"description":"Recently bedridden ≥3 days or major surgery within 12 weeks. +1.","type":"boolean"},"calf_swelling_gt_3cm":{"description":"Calf swelling >3 cm compared with the asymptomatic side. +1.","type":"boolean"},"collateral_veins":{"description":"Collateral superficial veins (nonvaricose). +1.","type":"boolean"},"entire_leg_swollen":{"description":"Entire leg swollen. +1.","type":"boolean"},"paralysis_or_cast":{"description":"Paralysis, paresis, or recent plaster immobilization of the legs. +1.","type":"boolean"},"pitting_edema":{"description":"Pitting edema confined to the symptomatic leg. +1.","type":"boolean"},"previous_dvt":{"description":"Previously documented DVT. +1.","type":"boolean"},"tenderness":{"description":"Localized tenderness along the deep venous system. +1.","type":"boolean"}},"required":["active_cancer","paralysis_or_cast","bedridden_or_surgery","tenderness","entire_leg_swollen","calf_swelling_gt_3cm","pitting_edema","collateral_veins","previous_dvt","alternative_diagnosis_as_likely"],"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":["wells","dvt","vte","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:22:15.621Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:22:15.313Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"active_cancer":true,"alternative_diagnosis_as_likely":false,"bedridden_or_surgery":false,"calf_swelling_gt_3cm":true,"collateral_veins":false,"entire_leg_swollen":false,"paralysis_or_cast":false,"pitting_edema":false,"previous_dvt":false,"tenderness":false},{"active_cancer":true,"alternative_diagnosis_as_likely":false,"bedridden_or_surgery":false,"calf_swelling_gt_3cm":true,"collateral_veins":false,"entire_leg_swollen":false,"paralysis_or_cast":false,"pitting_edema":false,"previous_dvt":false,"tenderness":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wells PS, Anderson DR, Rodger M, et al.","doi":"10.1056/NEJMoa023153","id":"wells-dvt-2003","source":"N Engl J Med. 2003;349(13):1227-1235","title":"Evaluation of D-dimer in the diagnosis of suspected deep-vein thrombosis"},"components":[{"factor":"active_cancer","points":1,"present":true},{"factor":"paralysis_or_cast","points":0,"present":false},{"factor":"bedridden_or_surgery","points":0,"present":false},{"factor":"tenderness","points":0,"present":false},{"factor":"entire_leg_swollen","points":0,"present":false},{"factor":"calf_swelling_gt_3cm","points":1,"present":true},{"factor":"pitting_edema","points":0,"present":false},{"factor":"collateral_veins","points":0,"present":false},{"factor":"previous_dvt","points":0,"present":false},{"factor":"alternative_diagnosis_as_likely","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":"wells_dvt","formula_expression":"Wells DVT = +1 each of 9 findings; −2 if alternative_diagnosis_as_likely","max_score":9,"score":2,"three_tier":"moderate","two_tier":"likely"},{"citation":{"authors":"Wells PS, Anderson DR, Rodger M, et al.","doi":"10.1056/NEJMoa023153","id":"wells-dvt-2003","source":"N Engl J Med. 2003;349(13):1227-1235","title":"Evaluation of D-dimer in the diagnosis of suspected deep-vein thrombosis"},"components":[{"factor":"active_cancer","points":1,"present":true},{"factor":"paralysis_or_cast","points":0,"present":false},{"factor":"bedridden_or_surgery","points":0,"present":false},{"factor":"tenderness","points":0,"present":false},{"factor":"entire_leg_swollen","points":0,"present":false},{"factor":"calf_swelling_gt_3cm","points":1,"present":true},{"factor":"pitting_edema","points":0,"present":false},{"factor":"collateral_veins","points":0,"present":false},{"factor":"previous_dvt","points":0,"present":false},{"factor":"alternative_diagnosis_as_likely","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":"wells_dvt","formula_expression":"Wells DVT = +1 each of 9 findings; −2 if alternative_diagnosis_as_likely","max_score":9,"score":2,"three_tier":"moderate","two_tier":"likely"}],"path":"/api/calc/wells_dvt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_cancer":{"description":"Active cancer (treatment ongoing, within 6 months, or palliative). +1.","type":"boolean"},"alternative_diagnosis_as_likely":{"description":"Alternative diagnosis at least as likely as DVT. −2.","type":"boolean"},"bedridden_or_surgery":{"description":"Recently bedridden ≥3 days or major surgery within 12 weeks. +1.","type":"boolean"},"calf_swelling_gt_3cm":{"description":"Calf swelling >3 cm compared with the asymptomatic side. +1.","type":"boolean"},"collateral_veins":{"description":"Collateral superficial veins (nonvaricose). +1.","type":"boolean"},"entire_leg_swollen":{"description":"Entire leg swollen. +1.","type":"boolean"},"paralysis_or_cast":{"description":"Paralysis, paresis, or recent plaster immobilization of the legs. +1.","type":"boolean"},"pitting_edema":{"description":"Pitting edema confined to the symptomatic leg. +1.","type":"boolean"},"previous_dvt":{"description":"Previously documented DVT. +1.","type":"boolean"},"tenderness":{"description":"Localized tenderness along the deep venous system. +1.","type":"boolean"}},"required":["active_cancer","paralysis_or_cast","bedridden_or_surgery","tenderness","entire_leg_swollen","calf_swelling_gt_3cm","pitting_edema","collateral_veins","previous_dvt","alternative_diagnosis_as_likely"],"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},{"id":38908,"slug":"38908","resource":"https://api.magentlab.com/api/calc/wells_pe","description":"Wells pulmonary-embolism probability from discrete clinical flags. Returns three-tier and two-tier bands. Deterministic published score with citation; not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hemoptysis":false,"hr_gt_100":false,"immobilization_or_surgery":false,"malignancy":false,"pe_number_one":true,"previous_dvt_pe":false,"signs_dvt":true},{"hemoptysis":false,"hr_gt_100":false,"immobilization_or_surgery":false,"malignancy":false,"pe_number_one":true,"previous_dvt_pe":false,"signs_dvt":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wells PS, Anderson DR, Rodger M, et al.","doi":"10.7326/0003-4819-135-2-200107170-00010","id":"wells-pe-2001","source":"Ann Intern Med. 2001;135(2):98-107","title":"Excluding pulmonary embolism at the bedside without diagnostic imaging: management of patients with suspected pulmonary embolism presenting to the emergency department by using a simple clinical model and d-dimer"},"components":[{"factor":"signs_dvt","points":3,"present":true},{"factor":"pe_number_one","points":3,"present":true},{"factor":"hr_gt_100","points":0,"present":false},{"factor":"immobilization_or_surgery","points":0,"present":false},{"factor":"previous_dvt_pe","points":0,"present":false},{"factor":"hemoptysis","points":0,"present":false},{"factor":"malignancy","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":"wells_pe","formula_expression":"Wells PE = 3*signs_dvt + 3*pe_number_one + 1.5*hr_gt_100 + 1.5*immobilization_or_surgery + 1.5*previous_dvt_pe + 1*hemoptysis + 1*malignancy","max_score":12.5,"score":6,"three_tier":"moderate","two_tier":"likely"},{"citation":{"authors":"Wells PS, Anderson DR, Rodger M, et al.","doi":"10.7326/0003-4819-135-2-200107170-00010","id":"wells-pe-2001","source":"Ann Intern Med. 2001;135(2):98-107","title":"Excluding pulmonary embolism at the bedside without diagnostic imaging: management of patients with suspected pulmonary embolism presenting to the emergency department by using a simple clinical model and d-dimer"},"components":[{"factor":"signs_dvt","points":3,"present":true},{"factor":"pe_number_one","points":3,"present":true},{"factor":"hr_gt_100","points":0,"present":false},{"factor":"immobilization_or_surgery","points":0,"present":false},{"factor":"previous_dvt_pe","points":0,"present":false},{"factor":"hemoptysis","points":0,"present":false},{"factor":"malignancy","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":"wells_pe","formula_expression":"Wells PE = 3*signs_dvt + 3*pe_number_one + 1.5*hr_gt_100 + 1.5*immobilization_or_surgery + 1.5*previous_dvt_pe + 1*hemoptysis + 1*malignancy","max_score":12.5,"score":6,"three_tier":"moderate","two_tier":"likely"}],"path":"/api/calc/wells_pe"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hemoptysis":{"description":"Hemoptysis (1 point).","type":"boolean"},"hr_gt_100":{"description":"Heart rate >100 (1.5 points).","type":"boolean"},"immobilization_or_surgery":{"description":"Immobilization ≥3 days or surgery in previous 4 weeks (1.5 points).","type":"boolean"},"malignancy":{"description":"Malignancy with treatment in last 6 months or palliative (1 point).","type":"boolean"},"pe_number_one":{"description":"PE is the number-one diagnosis or equally likely (3 points).","type":"boolean"},"previous_dvt_pe":{"description":"Previous DVT or PE (1.5 points).","type":"boolean"},"signs_dvt":{"description":"Clinical signs and symptoms of DVT (3 points).","type":"boolean"}},"required":["signs_dvt","pe_number_one","hr_gt_100","immobilization_or_surgery","previous_dvt_pe","hemoptysis","malignancy"],"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":["wells","pe","vte","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:22:16.713Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:22:16.587Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hemoptysis":false,"hr_gt_100":false,"immobilization_or_surgery":false,"malignancy":false,"pe_number_one":true,"previous_dvt_pe":false,"signs_dvt":true},{"hemoptysis":false,"hr_gt_100":false,"immobilization_or_surgery":false,"malignancy":false,"pe_number_one":true,"previous_dvt_pe":false,"signs_dvt":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wells PS, Anderson DR, Rodger M, et al.","doi":"10.7326/0003-4819-135-2-200107170-00010","id":"wells-pe-2001","source":"Ann Intern Med. 2001;135(2):98-107","title":"Excluding pulmonary embolism at the bedside without diagnostic imaging: management of patients with suspected pulmonary embolism presenting to the emergency department by using a simple clinical model and d-dimer"},"components":[{"factor":"signs_dvt","points":3,"present":true},{"factor":"pe_number_one","points":3,"present":true},{"factor":"hr_gt_100","points":0,"present":false},{"factor":"immobilization_or_surgery","points":0,"present":false},{"factor":"previous_dvt_pe","points":0,"present":false},{"factor":"hemoptysis","points":0,"present":false},{"factor":"malignancy","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":"wells_pe","formula_expression":"Wells PE = 3*signs_dvt + 3*pe_number_one + 1.5*hr_gt_100 + 1.5*immobilization_or_surgery + 1.5*previous_dvt_pe + 1*hemoptysis + 1*malignancy","max_score":12.5,"score":6,"three_tier":"moderate","two_tier":"likely"},{"citation":{"authors":"Wells PS, Anderson DR, Rodger M, et al.","doi":"10.7326/0003-4819-135-2-200107170-00010","id":"wells-pe-2001","source":"Ann Intern Med. 2001;135(2):98-107","title":"Excluding pulmonary embolism at the bedside without diagnostic imaging: management of patients with suspected pulmonary embolism presenting to the emergency department by using a simple clinical model and d-dimer"},"components":[{"factor":"signs_dvt","points":3,"present":true},{"factor":"pe_number_one","points":3,"present":true},{"factor":"hr_gt_100","points":0,"present":false},{"factor":"immobilization_or_surgery","points":0,"present":false},{"factor":"previous_dvt_pe","points":0,"present":false},{"factor":"hemoptysis","points":0,"present":false},{"factor":"malignancy","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":"wells_pe","formula_expression":"Wells PE = 3*signs_dvt + 3*pe_number_one + 1.5*hr_gt_100 + 1.5*immobilization_or_surgery + 1.5*previous_dvt_pe + 1*hemoptysis + 1*malignancy","max_score":12.5,"score":6,"three_tier":"moderate","two_tier":"likely"}],"path":"/api/calc/wells_pe"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hemoptysis":{"description":"Hemoptysis (1 point).","type":"boolean"},"hr_gt_100":{"description":"Heart rate >100 (1.5 points).","type":"boolean"},"immobilization_or_surgery":{"description":"Immobilization ≥3 days or surgery in previous 4 weeks (1.5 points).","type":"boolean"},"malignancy":{"description":"Malignancy with treatment in last 6 months or palliative (1 point).","type":"boolean"},"pe_number_one":{"description":"PE is the number-one diagnosis or equally likely (3 points).","type":"boolean"},"previous_dvt_pe":{"description":"Previous DVT or PE (1.5 points).","type":"boolean"},"signs_dvt":{"description":"Clinical signs and symptoms of DVT (3 points).","type":"boolean"}},"required":["signs_dvt","pe_number_one","hr_gt_100","immobilization_or_surgery","previous_dvt_pe","hemoptysis","malignancy"],"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},{"id":38909,"slug":"38909","resource":"https://api.magentlab.com/api/calc/urine_anion_gap","description":"Urine anion gap from urine sodium, potassium, and chloride (Na + K − Cl). Batlle 1988 interpretive band: negative suggests increased NH4+ (GI bicarbonate loss); positive suggests impaired NH4+ (RTA). Deterministic published arithmetic with citation; not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"urine_chloride_mmol_l":90,"urine_potassium_mmol_l":30,"urine_sodium_mmol_l":20},{"urine_chloride_mmol_l":90,"urine_potassium_mmol_l":30,"urine_sodium_mmol_l":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Batlle DC, Hizon M, Cohen E, Gutterman C, Gupta R","doi":"10.1056/NEJM198803033180902","id":"batlle-1988","source":"N Engl J Med. 1988;318(10):594-599","title":"The use of the urinary anion gap in the diagnosis of hyperchloremic metabolic acidosis"},"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":"urine_anion_gap","formula_expression":"urine_anion_gap_mmol_l = urine_sodium_mmol_l + urine_potassium_mmol_l - urine_chloride_mmol_l","uag_band":"negative","urine_anion_gap_mmol_l":-40,"urine_chloride_mmol_l":90,"urine_potassium_mmol_l":30,"urine_sodium_mmol_l":20},{"citation":{"authors":"Batlle DC, Hizon M, Cohen E, Gutterman C, Gupta R","doi":"10.1056/NEJM198803033180902","id":"batlle-1988","source":"N Engl J Med. 1988;318(10):594-599","title":"The use of the urinary anion gap in the diagnosis of hyperchloremic metabolic acidosis"},"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":"urine_anion_gap","formula_expression":"urine_anion_gap_mmol_l = urine_sodium_mmol_l + urine_potassium_mmol_l - urine_chloride_mmol_l","uag_band":"negative","urine_anion_gap_mmol_l":-40,"urine_chloride_mmol_l":90,"urine_potassium_mmol_l":30,"urine_sodium_mmol_l":20}],"path":"/api/calc/urine_anion_gap"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"urine_chloride_mmol_l":{"description":"Urine chloride in mmol/L (same as mEq/L). Range 1-300.","type":"number"},"urine_potassium_mmol_l":{"description":"Urine potassium in mmol/L (same as mEq/L). Range 1-200.","type":"number"},"urine_sodium_mmol_l":{"description":"Urine sodium in mmol/L (same as mEq/L). Range 1-300.","type":"number"}},"required":["urine_sodium_mmol_l","urine_potassium_mmol_l","urine_chloride_mmol_l"],"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":["urine-anion-gap","electrolytes","acid-base","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:07:19.571Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:07:19.261Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"urine_chloride_mmol_l":90,"urine_potassium_mmol_l":30,"urine_sodium_mmol_l":20},{"urine_chloride_mmol_l":90,"urine_potassium_mmol_l":30,"urine_sodium_mmol_l":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Batlle DC, Hizon M, Cohen E, Gutterman C, Gupta R","doi":"10.1056/NEJM198803033180902","id":"batlle-1988","source":"N Engl J Med. 1988;318(10):594-599","title":"The use of the urinary anion gap in the diagnosis of hyperchloremic metabolic acidosis"},"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":"urine_anion_gap","formula_expression":"urine_anion_gap_mmol_l = urine_sodium_mmol_l + urine_potassium_mmol_l - urine_chloride_mmol_l","uag_band":"negative","urine_anion_gap_mmol_l":-40,"urine_chloride_mmol_l":90,"urine_potassium_mmol_l":30,"urine_sodium_mmol_l":20},{"citation":{"authors":"Batlle DC, Hizon M, Cohen E, Gutterman C, Gupta R","doi":"10.1056/NEJM198803033180902","id":"batlle-1988","source":"N Engl J Med. 1988;318(10):594-599","title":"The use of the urinary anion gap in the diagnosis of hyperchloremic metabolic acidosis"},"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":"urine_anion_gap","formula_expression":"urine_anion_gap_mmol_l = urine_sodium_mmol_l + urine_potassium_mmol_l - urine_chloride_mmol_l","uag_band":"negative","urine_anion_gap_mmol_l":-40,"urine_chloride_mmol_l":90,"urine_potassium_mmol_l":30,"urine_sodium_mmol_l":20}],"path":"/api/calc/urine_anion_gap"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"urine_chloride_mmol_l":{"description":"Urine chloride in mmol/L (same as mEq/L). Range 1-300.","type":"number"},"urine_potassium_mmol_l":{"description":"Urine potassium in mmol/L (same as mEq/L). Range 1-200.","type":"number"},"urine_sodium_mmol_l":{"description":"Urine sodium in mmol/L (same as mEq/L). Range 1-300.","type":"number"}},"required":["urine_sodium_mmol_l","urine_potassium_mmol_l","urine_chloride_mmol_l"],"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},{"id":38910,"slug":"38910","resource":"https://api.magentlab.com/api/calc/truelove_witts","description":"Truelove and Witts 1955 ulcerative colitis severity. severe iff stools_per_day >= 6 with macroscopic blood and at least one of fever, tachycardia, anemia, and esr_raised; mild iff stools_per_day <= 4, macroscopic_blood false, and no systemic flags; otherwise moderately_severe. Caller assigns flags from the 1955 table (fever mean evening >37.5 C or 37.8 C on 2 of 4 days; pulse >90; Hb 75% or less; ESR >30). magent does not examine the patient. Not a diagnosis, not Mayo UC, not PUCAI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anemia":false,"esr_raised":false,"fever":false,"macroscopic_blood":false,"stools_per_day":2,"tachycardia":false},{"anemia":false,"esr_raised":false,"fever":false,"macroscopic_blood":false,"stools_per_day":2,"tachycardia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Truelove SC, Witts LJ","doi":"10.1136/bmj.2.4947.1041","id":"truelove-witts-1955","pmid":"13260656","source":"Br Med J. 1955;2(4947):1041-1048","title":"Cortisone in ulcerative colitis; final report on a therapeutic trial"},"criteria":[{"factor":"stools_le_4","met":true,"value":2},{"factor":"stools_ge_6","met":false,"value":2},{"factor":"macroscopic_blood","met":false},{"factor":"frequent_bloody_stools","met":false,"value":2},{"factor":"fever","met":false},{"factor":"tachycardia","met":false},{"factor":"anemia","met":false},{"factor":"esr_raised","met":false},{"factor":"no_systemic","met":true,"value":0},{"factor":"systemic_ge_1","met":false,"value":0}],"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":"truelove_witts","formula_expression":"severity severe iff stools_per_day >= 6 and macroscopic_blood and systemic_features_met >= 1; mild iff stools_per_day <= 4 and not macroscopic_blood and systemic_features_met == 0; else moderately_severe; systemic_features_met counts fever, tachycardia, anemia, and esr_raised (Truelove and Witts 1955)","severity":"mild","stools_per_day":2,"systemic_features_met":0},{"citation":{"authors":"Truelove SC, Witts LJ","doi":"10.1136/bmj.2.4947.1041","id":"truelove-witts-1955","pmid":"13260656","source":"Br Med J. 1955;2(4947):1041-1048","title":"Cortisone in ulcerative colitis; final report on a therapeutic trial"},"criteria":[{"factor":"stools_le_4","met":true,"value":2},{"factor":"stools_ge_6","met":false,"value":2},{"factor":"macroscopic_blood","met":false},{"factor":"frequent_bloody_stools","met":false,"value":2},{"factor":"fever","met":false},{"factor":"tachycardia","met":false},{"factor":"anemia","met":false},{"factor":"esr_raised","met":false},{"factor":"no_systemic","met":true,"value":0},{"factor":"systemic_ge_1","met":false,"value":0}],"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":"truelove_witts","formula_expression":"severity severe iff stools_per_day >= 6 and macroscopic_blood and systemic_features_met >= 1; mild iff stools_per_day <= 4 and not macroscopic_blood and systemic_features_met == 0; else moderately_severe; systemic_features_met counts fever, tachycardia, anemia, and esr_raised (Truelove and Witts 1955)","severity":"mild","stools_per_day":2,"systemic_features_met":0}],"path":"/api/calc/truelove_witts"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia":{"description":"Anaemia as assigned by the caller using the 1955 definition: haemoglobin 75% or less, allowance made for recent transfusion. true or false. Not the later 10.5 g/dL restatement. magent does not measure haemoglobin.","type":"boolean"},"esr_raised":{"description":"E.S.R. much raised as assigned by the caller using the 1955 definition: more than 30 mm in one hour. true or false. magent does not measure ESR.","type":"boolean"},"fever":{"description":"Fever as assigned by the caller using the 1955 definition: mean evening temperature more than 99.5 F (37.5 C), or a temperature of 100 F (37.8 C) or more on at least two days out of four. true or false. magent does not measure temperature.","type":"boolean"},"macroscopic_blood":{"description":"Macroscopic blood in stools as in the 1955 severe column (with macroscopic blood). true or false as assigned by the caller. The 1955 mild column allows no more than small amounts; assign false when blood is absent or no more than small amounts. magent does not examine the stool.","type":"boolean"},"stools_per_day":{"description":"Number of stools (motions) per day as assigned by the caller (integer 0-40). The 1955 mild column is four or less; the severe column is six or more. magent does not count stools.","type":"integer"},"tachycardia":{"description":"Tachycardia as assigned by the caller using the 1955 definition: mean pulse rate more than 90 per minute. true or false. magent does not measure pulse.","type":"boolean"}},"required":["stools_per_day","macroscopic_blood","fever","tachycardia","anemia","esr_raised"],"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":["truelove-witts","ulcerative-colitis","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:47:06.705Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:47:06.55Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anemia":false,"esr_raised":false,"fever":false,"macroscopic_blood":false,"stools_per_day":2,"tachycardia":false},{"anemia":false,"esr_raised":false,"fever":false,"macroscopic_blood":false,"stools_per_day":2,"tachycardia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Truelove SC, Witts LJ","doi":"10.1136/bmj.2.4947.1041","id":"truelove-witts-1955","pmid":"13260656","source":"Br Med J. 1955;2(4947):1041-1048","title":"Cortisone in ulcerative colitis; final report on a therapeutic trial"},"criteria":[{"factor":"stools_le_4","met":true,"value":2},{"factor":"stools_ge_6","met":false,"value":2},{"factor":"macroscopic_blood","met":false},{"factor":"frequent_bloody_stools","met":false,"value":2},{"factor":"fever","met":false},{"factor":"tachycardia","met":false},{"factor":"anemia","met":false},{"factor":"esr_raised","met":false},{"factor":"no_systemic","met":true,"value":0},{"factor":"systemic_ge_1","met":false,"value":0}],"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":"truelove_witts","formula_expression":"severity severe iff stools_per_day >= 6 and macroscopic_blood and systemic_features_met >= 1; mild iff stools_per_day <= 4 and not macroscopic_blood and systemic_features_met == 0; else moderately_severe; systemic_features_met counts fever, tachycardia, anemia, and esr_raised (Truelove and Witts 1955)","severity":"mild","stools_per_day":2,"systemic_features_met":0},{"citation":{"authors":"Truelove SC, Witts LJ","doi":"10.1136/bmj.2.4947.1041","id":"truelove-witts-1955","pmid":"13260656","source":"Br Med J. 1955;2(4947):1041-1048","title":"Cortisone in ulcerative colitis; final report on a therapeutic trial"},"criteria":[{"factor":"stools_le_4","met":true,"value":2},{"factor":"stools_ge_6","met":false,"value":2},{"factor":"macroscopic_blood","met":false},{"factor":"frequent_bloody_stools","met":false,"value":2},{"factor":"fever","met":false},{"factor":"tachycardia","met":false},{"factor":"anemia","met":false},{"factor":"esr_raised","met":false},{"factor":"no_systemic","met":true,"value":0},{"factor":"systemic_ge_1","met":false,"value":0}],"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":"truelove_witts","formula_expression":"severity severe iff stools_per_day >= 6 and macroscopic_blood and systemic_features_met >= 1; mild iff stools_per_day <= 4 and not macroscopic_blood and systemic_features_met == 0; else moderately_severe; systemic_features_met counts fever, tachycardia, anemia, and esr_raised (Truelove and Witts 1955)","severity":"mild","stools_per_day":2,"systemic_features_met":0}],"path":"/api/calc/truelove_witts"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia":{"description":"Anaemia as assigned by the caller using the 1955 definition: haemoglobin 75% or less, allowance made for recent transfusion. true or false. Not the later 10.5 g/dL restatement. magent does not measure haemoglobin.","type":"boolean"},"esr_raised":{"description":"E.S.R. much raised as assigned by the caller using the 1955 definition: more than 30 mm in one hour. true or false. magent does not measure ESR.","type":"boolean"},"fever":{"description":"Fever as assigned by the caller using the 1955 definition: mean evening temperature more than 99.5 F (37.5 C), or a temperature of 100 F (37.8 C) or more on at least two days out of four. true or false. magent does not measure temperature.","type":"boolean"},"macroscopic_blood":{"description":"Macroscopic blood in stools as in the 1955 severe column (with macroscopic blood). true or false as assigned by the caller. The 1955 mild column allows no more than small amounts; assign false when blood is absent or no more than small amounts. magent does not examine the stool.","type":"boolean"},"stools_per_day":{"description":"Number of stools (motions) per day as assigned by the caller (integer 0-40). The 1955 mild column is four or less; the severe column is six or more. magent does not count stools.","type":"integer"},"tachycardia":{"description":"Tachycardia as assigned by the caller using the 1955 definition: mean pulse rate more than 90 per minute. true or false. magent does not measure pulse.","type":"boolean"}},"required":["stools_per_day","macroscopic_blood","fever","tachycardia","anemia","esr_raised"],"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},{"id":38911,"slug":"38911","resource":"https://api.magentlab.com/api/calc/wexner_constipation","description":"Agachan 1996 constipation scoring system from eight caller-assigned table bands (frequency, painful evacuation, incomplete evacuation, abdominal pain, time per attempt, assistance 0-2, unsuccessful attempts per 24 hours, duration). Total 0-30. constipation true iff score > 15. magent does not take a bowel history. Not a medical device, not a laxative order, not Jorge 1993 fecal incontinence scoring.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abdominal_pain":"never","assistance":"without_assistance","duration":"0","frequency":"1_2_times_per_1_2_days","incomplete_evacuation":"never","painful_evacuation":"never","time_per_attempt":"less_than_5","unsuccessful_attempts":"never"},{"abdominal_pain":"never","assistance":"without_assistance","duration":"0","frequency":"1_2_times_per_1_2_days","incomplete_evacuation":"never","painful_evacuation":"never","time_per_attempt":"less_than_5","unsuccessful_attempts":"never"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Agachan F, Chen T, Pfeifer J, Reissman P, Wexner SD","doi":"10.1007/BF02056950","id":"agachan-1996","pmid":"8646957","source":"Dis Colon Rectum. 1996;39(6):681-685","title":"A constipation scoring system to simplify evaluation and management of constipated patients"},"components":[{"factor":"frequency","points":0,"present":false,"value":"1_2_times_per_1_2_days"},{"factor":"painful_evacuation","points":0,"present":false,"value":"never"},{"factor":"incomplete_evacuation","points":0,"present":false,"value":"never"},{"factor":"abdominal_pain","points":0,"present":false,"value":"never"},{"factor":"time_per_attempt","points":0,"present":false,"value":"less_than_5"},{"factor":"assistance","points":0,"present":false,"value":"without_assistance"},{"factor":"unsuccessful_attempts","points":0,"present":false,"value":"never"},{"factor":"duration","points":0,"present":false,"value":"0"}],"constipation":false,"cutoff":15,"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":"wexner_constipation","formula_expression":"wexner_constipation = frequency + painful_evacuation + incomplete_evacuation + abdominal_pain + time_per_attempt + assistance + unsuccessful_attempts + duration; Agachan 1996 eight-item constipation scoring system; frequency, painful_evacuation, incomplete_evacuation, abdominal_pain, time_per_attempt, unsuccessful_attempts, and duration each 0-4; assistance 0-2; max 30; constipation iff score > 15","max_score":30,"score":0},{"citation":{"authors":"Agachan F, Chen T, Pfeifer J, Reissman P, Wexner SD","doi":"10.1007/BF02056950","id":"agachan-1996","pmid":"8646957","source":"Dis Colon Rectum. 1996;39(6):681-685","title":"A constipation scoring system to simplify evaluation and management of constipated patients"},"components":[{"factor":"frequency","points":0,"present":false,"value":"1_2_times_per_1_2_days"},{"factor":"painful_evacuation","points":0,"present":false,"value":"never"},{"factor":"incomplete_evacuation","points":0,"present":false,"value":"never"},{"factor":"abdominal_pain","points":0,"present":false,"value":"never"},{"factor":"time_per_attempt","points":0,"present":false,"value":"less_than_5"},{"factor":"assistance","points":0,"present":false,"value":"without_assistance"},{"factor":"unsuccessful_attempts","points":0,"present":false,"value":"never"},{"factor":"duration","points":0,"present":false,"value":"0"}],"constipation":false,"cutoff":15,"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":"wexner_constipation","formula_expression":"wexner_constipation = frequency + painful_evacuation + incomplete_evacuation + abdominal_pain + time_per_attempt + assistance + unsuccessful_attempts + duration; Agachan 1996 eight-item constipation scoring system; frequency, painful_evacuation, incomplete_evacuation, abdominal_pain, time_per_attempt, unsuccessful_attempts, and duration each 0-4; assistance 0-2; max 30; constipation iff score > 15","max_score":30,"score":0}],"path":"/api/calc/wexner_constipation"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_pain":{"description":"Caller-assigned Agachan 1996 abdominal pain. never scores 0; rarely 1; sometimes 2; usually 3; always 4. magent does not take a bowel history.","enum":["never","rarely","sometimes","usually","always"],"type":"string"},"assistance":{"description":"Caller-assigned Agachan 1996 type of assistance. without_assistance scores 0; stimulative_laxatives scores 1; digital_assistance_or_enema scores 2. This item is 0-2 in that table, not 0-4. magent does not order laxatives, enemas, or digital assistance.","enum":["without_assistance","stimulative_laxatives","digital_assistance_or_enema"],"type":"string"},"duration":{"description":"Caller-assigned Agachan 1996 duration of constipation in years. 0 scores 0; 1_5 scores 1; 5_10 scores 2; 10_20 scores 3; more_than_20 scores 4. Adjacent printed ranges overlap; the caller assigns the published band. magent does not take a bowel history.","enum":["0","1_5","5_10","10_20","more_than_20"],"type":"string"},"frequency":{"description":"Caller-assigned Agachan 1996 frequency of bowel movements. 1_2_times_per_1_2_days (1-2 times per 1-2 days) scores 0; 2_times_per_week scores 1; once_per_week scores 2; less_than_once_per_week scores 3; less_than_once_per_month scores 4. magent does not take a bowel history.","enum":["1_2_times_per_1_2_days","2_times_per_week","once_per_week","less_than_once_per_week","less_than_once_per_month"],"type":"string"},"incomplete_evacuation":{"description":"Caller-assigned Agachan 1996 feeling of incomplete evacuation. never scores 0; rarely 1; sometimes 2; usually 3; always 4. magent does not take a bowel history.","enum":["never","rarely","sometimes","usually","always"],"type":"string"},"painful_evacuation":{"description":"Caller-assigned Agachan 1996 painful evacuation effort. never scores 0; rarely 1; sometimes 2; usually 3; always 4. magent does not take a bowel history.","enum":["never","rarely","sometimes","usually","always"],"type":"string"},"time_per_attempt":{"description":"Caller-assigned Agachan 1996 minutes in lavatory per attempt. less_than_5 scores 0; 5_10 scores 1; 10_20 scores 2; 20_30 scores 3; more_than_30 scores 4. magent does not time the attempt.","enum":["less_than_5","5_10","10_20","20_30","more_than_30"],"type":"string"},"unsuccessful_attempts":{"description":"Caller-assigned Agachan 1996 unsuccessful attempts for evacuation per 24 hours. never scores 0; 1_3 scores 1; 3_6 scores 2; 6_9 scores 3; more_than_9 scores 4. Adjacent printed ranges overlap; the caller assigns the published band. magent does not take a bowel history.","enum":["never","1_3","3_6","6_9","more_than_9"],"type":"string"}},"required":["frequency","painful_evacuation","incomplete_evacuation","abdominal_pain","time_per_attempt","assistance","unsuccessful_attempts","duration"],"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":["constipation-score","agachan","gi","wexner-constipation","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T23:38:41.292Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T23:38:41.134Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abdominal_pain":"never","assistance":"without_assistance","duration":"0","frequency":"1_2_times_per_1_2_days","incomplete_evacuation":"never","painful_evacuation":"never","time_per_attempt":"less_than_5","unsuccessful_attempts":"never"},{"abdominal_pain":"never","assistance":"without_assistance","duration":"0","frequency":"1_2_times_per_1_2_days","incomplete_evacuation":"never","painful_evacuation":"never","time_per_attempt":"less_than_5","unsuccessful_attempts":"never"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Agachan F, Chen T, Pfeifer J, Reissman P, Wexner SD","doi":"10.1007/BF02056950","id":"agachan-1996","pmid":"8646957","source":"Dis Colon Rectum. 1996;39(6):681-685","title":"A constipation scoring system to simplify evaluation and management of constipated patients"},"components":[{"factor":"frequency","points":0,"present":false,"value":"1_2_times_per_1_2_days"},{"factor":"painful_evacuation","points":0,"present":false,"value":"never"},{"factor":"incomplete_evacuation","points":0,"present":false,"value":"never"},{"factor":"abdominal_pain","points":0,"present":false,"value":"never"},{"factor":"time_per_attempt","points":0,"present":false,"value":"less_than_5"},{"factor":"assistance","points":0,"present":false,"value":"without_assistance"},{"factor":"unsuccessful_attempts","points":0,"present":false,"value":"never"},{"factor":"duration","points":0,"present":false,"value":"0"}],"constipation":false,"cutoff":15,"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":"wexner_constipation","formula_expression":"wexner_constipation = frequency + painful_evacuation + incomplete_evacuation + abdominal_pain + time_per_attempt + assistance + unsuccessful_attempts + duration; Agachan 1996 eight-item constipation scoring system; frequency, painful_evacuation, incomplete_evacuation, abdominal_pain, time_per_attempt, unsuccessful_attempts, and duration each 0-4; assistance 0-2; max 30; constipation iff score > 15","max_score":30,"score":0},{"citation":{"authors":"Agachan F, Chen T, Pfeifer J, Reissman P, Wexner SD","doi":"10.1007/BF02056950","id":"agachan-1996","pmid":"8646957","source":"Dis Colon Rectum. 1996;39(6):681-685","title":"A constipation scoring system to simplify evaluation and management of constipated patients"},"components":[{"factor":"frequency","points":0,"present":false,"value":"1_2_times_per_1_2_days"},{"factor":"painful_evacuation","points":0,"present":false,"value":"never"},{"factor":"incomplete_evacuation","points":0,"present":false,"value":"never"},{"factor":"abdominal_pain","points":0,"present":false,"value":"never"},{"factor":"time_per_attempt","points":0,"present":false,"value":"less_than_5"},{"factor":"assistance","points":0,"present":false,"value":"without_assistance"},{"factor":"unsuccessful_attempts","points":0,"present":false,"value":"never"},{"factor":"duration","points":0,"present":false,"value":"0"}],"constipation":false,"cutoff":15,"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":"wexner_constipation","formula_expression":"wexner_constipation = frequency + painful_evacuation + incomplete_evacuation + abdominal_pain + time_per_attempt + assistance + unsuccessful_attempts + duration; Agachan 1996 eight-item constipation scoring system; frequency, painful_evacuation, incomplete_evacuation, abdominal_pain, time_per_attempt, unsuccessful_attempts, and duration each 0-4; assistance 0-2; max 30; constipation iff score > 15","max_score":30,"score":0}],"path":"/api/calc/wexner_constipation"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_pain":{"description":"Caller-assigned Agachan 1996 abdominal pain. never scores 0; rarely 1; sometimes 2; usually 3; always 4. magent does not take a bowel history.","enum":["never","rarely","sometimes","usually","always"],"type":"string"},"assistance":{"description":"Caller-assigned Agachan 1996 type of assistance. without_assistance scores 0; stimulative_laxatives scores 1; digital_assistance_or_enema scores 2. This item is 0-2 in that table, not 0-4. magent does not order laxatives, enemas, or digital assistance.","enum":["without_assistance","stimulative_laxatives","digital_assistance_or_enema"],"type":"string"},"duration":{"description":"Caller-assigned Agachan 1996 duration of constipation in years. 0 scores 0; 1_5 scores 1; 5_10 scores 2; 10_20 scores 3; more_than_20 scores 4. Adjacent printed ranges overlap; the caller assigns the published band. magent does not take a bowel history.","enum":["0","1_5","5_10","10_20","more_than_20"],"type":"string"},"frequency":{"description":"Caller-assigned Agachan 1996 frequency of bowel movements. 1_2_times_per_1_2_days (1-2 times per 1-2 days) scores 0; 2_times_per_week scores 1; once_per_week scores 2; less_than_once_per_week scores 3; less_than_once_per_month scores 4. magent does not take a bowel history.","enum":["1_2_times_per_1_2_days","2_times_per_week","once_per_week","less_than_once_per_week","less_than_once_per_month"],"type":"string"},"incomplete_evacuation":{"description":"Caller-assigned Agachan 1996 feeling of incomplete evacuation. never scores 0; rarely 1; sometimes 2; usually 3; always 4. magent does not take a bowel history.","enum":["never","rarely","sometimes","usually","always"],"type":"string"},"painful_evacuation":{"description":"Caller-assigned Agachan 1996 painful evacuation effort. never scores 0; rarely 1; sometimes 2; usually 3; always 4. magent does not take a bowel history.","enum":["never","rarely","sometimes","usually","always"],"type":"string"},"time_per_attempt":{"description":"Caller-assigned Agachan 1996 minutes in lavatory per attempt. less_than_5 scores 0; 5_10 scores 1; 10_20 scores 2; 20_30 scores 3; more_than_30 scores 4. magent does not time the attempt.","enum":["less_than_5","5_10","10_20","20_30","more_than_30"],"type":"string"},"unsuccessful_attempts":{"description":"Caller-assigned Agachan 1996 unsuccessful attempts for evacuation per 24 hours. never scores 0; 1_3 scores 1; 3_6 scores 2; 6_9 scores 3; more_than_9 scores 4. Adjacent printed ranges overlap; the caller assigns the published band. magent does not take a bowel history.","enum":["never","1_3","3_6","6_9","more_than_9"],"type":"string"}},"required":["frequency","painful_evacuation","incomplete_evacuation","abdominal_pain","time_per_attempt","assistance","unsuccessful_attempts","duration"],"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},{"id":38912,"slug":"38912","resource":"https://api.magentlab.com/api/calc/uceis","description":"Travis 2013 UCEIS: caller-assigned vascular_pattern (normal 0, patchy 1, obliterated 2), bleeding (none 0, mucosal 1, luminal_mild 2, luminal_moderate_or_severe 3), erosions_ulcers (none 0, erosions 1, superficial_ulcer 2, deep_ulcer 3) at the worst-affected sigmoidoscopy segment. magent sums only (max 8; 2013 0-8 recode, not 2012 3-11) with no activity bands. magent does not perform endoscopy. Not Mayo DAI, MES, or Travis 1996 day-3. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bleeding":"none","erosions_ulcers":"none","vascular_pattern":"normal"},{"bleeding":"none","erosions_ulcers":"none","vascular_pattern":"normal"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bleeding":"none","citation":{"authors":"Travis SPL, Schnell D, Krzeski P, et al.","doi":"10.1053/j.gastro.2013.07.024","id":"travis-2013","pmid":"23891974","source":"Gastroenterology. 2013;145(5):987-995","title":"Reliability and Initial Validation of the Ulcerative Colitis Endoscopic Index of Severity."},"components":[{"factor":"vascular_pattern","points":0,"present":true,"value":"normal"},{"factor":"bleeding","points":0,"present":true,"value":"none"},{"factor":"erosions_ulcers","points":0,"present":true,"value":"none"}],"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.","erosions_ulcers":"none","formula":"uceis","formula_expression":"UCEIS = vascular_pattern (normal 0, patchy 1, obliterated 2) + bleeding (none 0, mucosal 1, luminal_mild 2, luminal_moderate_or_severe 3) + erosions_ulcers (none 0, erosions 1, superficial_ulcer 2, deep_ulcer 3); Travis 2013 0-8 recode (normal 0, not Travis 2012 3-11); most severely affected segment at flexible sigmoidoscopy; no published total-score activity bands","max_score":8,"score":0,"vascular_pattern":"normal"},{"bleeding":"none","citation":{"authors":"Travis SPL, Schnell D, Krzeski P, et al.","doi":"10.1053/j.gastro.2013.07.024","id":"travis-2013","pmid":"23891974","source":"Gastroenterology. 2013;145(5):987-995","title":"Reliability and Initial Validation of the Ulcerative Colitis Endoscopic Index of Severity."},"components":[{"factor":"vascular_pattern","points":0,"present":true,"value":"normal"},{"factor":"bleeding","points":0,"present":true,"value":"none"},{"factor":"erosions_ulcers","points":0,"present":true,"value":"none"}],"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.","erosions_ulcers":"none","formula":"uceis","formula_expression":"UCEIS = vascular_pattern (normal 0, patchy 1, obliterated 2) + bleeding (none 0, mucosal 1, luminal_mild 2, luminal_moderate_or_severe 3) + erosions_ulcers (none 0, erosions 1, superficial_ulcer 2, deep_ulcer 3); Travis 2013 0-8 recode (normal 0, not Travis 2012 3-11); most severely affected segment at flexible sigmoidoscopy; no published total-score activity bands","max_score":8,"score":0,"vascular_pattern":"normal"}],"path":"/api/calc/uceis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bleeding":{"description":"Caller-assigned Travis 2013 UCEIS bleeding at the most severely affected segment, scored during insertion: none (0; no visible blood), mucosal (1; spots or streaks of coagulated blood on the mucosa ahead of the scope that can be washed away), luminal_mild (2; some free liquid blood in the lumen), or luminal_moderate_or_severe (3; frank blood in the lumen ahead of the endoscope, or visible oozing after washing, or oozing from hemorrhagic mucosa). magent does not perform endoscopy.","enum":["none","mucosal","luminal_mild","luminal_moderate_or_severe"],"type":"string"},"erosions_ulcers":{"description":"Caller-assigned Travis 2013 UCEIS erosions and ulcers at the most severely affected segment: none (0; normal mucosa, no visible erosions or ulcers), erosions (1; tiny ≤5 mm white or yellow mucosal defects with a flat edge), superficial_ulcer (2; larger >5 mm discrete fibrin-covered superficial ulcers), or deep_ulcer (3; deeper excavated defects with a slightly raised edge). magent does not perform endoscopy.","enum":["none","erosions","superficial_ulcer","deep_ulcer"],"type":"string"},"vascular_pattern":{"description":"Caller-assigned Travis 2013 UCEIS vascular pattern at the most severely affected flexible-sigmoidoscopy segment: normal (0; arborization of capillaries clearly defined, or blurring or patchy loss of capillary margins), patchy (1; patchy obliteration of vascular pattern), or obliterated (2; complete obliteration). Travis 2013 0-8 recode (normal 0, not Travis 2012 score 1). magent does not perform endoscopy.","enum":["normal","patchy","obliterated"],"type":"string"}},"required":["vascular_pattern","bleeding","erosions_ulcers"],"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":["uceis","ulcerative-colitis","endoscopy","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:02:10.179Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:02:09.43Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bleeding":"none","erosions_ulcers":"none","vascular_pattern":"normal"},{"bleeding":"none","erosions_ulcers":"none","vascular_pattern":"normal"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bleeding":"none","citation":{"authors":"Travis SPL, Schnell D, Krzeski P, et al.","doi":"10.1053/j.gastro.2013.07.024","id":"travis-2013","pmid":"23891974","source":"Gastroenterology. 2013;145(5):987-995","title":"Reliability and Initial Validation of the Ulcerative Colitis Endoscopic Index of Severity."},"components":[{"factor":"vascular_pattern","points":0,"present":true,"value":"normal"},{"factor":"bleeding","points":0,"present":true,"value":"none"},{"factor":"erosions_ulcers","points":0,"present":true,"value":"none"}],"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.","erosions_ulcers":"none","formula":"uceis","formula_expression":"UCEIS = vascular_pattern (normal 0, patchy 1, obliterated 2) + bleeding (none 0, mucosal 1, luminal_mild 2, luminal_moderate_or_severe 3) + erosions_ulcers (none 0, erosions 1, superficial_ulcer 2, deep_ulcer 3); Travis 2013 0-8 recode (normal 0, not Travis 2012 3-11); most severely affected segment at flexible sigmoidoscopy; no published total-score activity bands","max_score":8,"score":0,"vascular_pattern":"normal"},{"bleeding":"none","citation":{"authors":"Travis SPL, Schnell D, Krzeski P, et al.","doi":"10.1053/j.gastro.2013.07.024","id":"travis-2013","pmid":"23891974","source":"Gastroenterology. 2013;145(5):987-995","title":"Reliability and Initial Validation of the Ulcerative Colitis Endoscopic Index of Severity."},"components":[{"factor":"vascular_pattern","points":0,"present":true,"value":"normal"},{"factor":"bleeding","points":0,"present":true,"value":"none"},{"factor":"erosions_ulcers","points":0,"present":true,"value":"none"}],"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.","erosions_ulcers":"none","formula":"uceis","formula_expression":"UCEIS = vascular_pattern (normal 0, patchy 1, obliterated 2) + bleeding (none 0, mucosal 1, luminal_mild 2, luminal_moderate_or_severe 3) + erosions_ulcers (none 0, erosions 1, superficial_ulcer 2, deep_ulcer 3); Travis 2013 0-8 recode (normal 0, not Travis 2012 3-11); most severely affected segment at flexible sigmoidoscopy; no published total-score activity bands","max_score":8,"score":0,"vascular_pattern":"normal"}],"path":"/api/calc/uceis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bleeding":{"description":"Caller-assigned Travis 2013 UCEIS bleeding at the most severely affected segment, scored during insertion: none (0; no visible blood), mucosal (1; spots or streaks of coagulated blood on the mucosa ahead of the scope that can be washed away), luminal_mild (2; some free liquid blood in the lumen), or luminal_moderate_or_severe (3; frank blood in the lumen ahead of the endoscope, or visible oozing after washing, or oozing from hemorrhagic mucosa). magent does not perform endoscopy.","enum":["none","mucosal","luminal_mild","luminal_moderate_or_severe"],"type":"string"},"erosions_ulcers":{"description":"Caller-assigned Travis 2013 UCEIS erosions and ulcers at the most severely affected segment: none (0; normal mucosa, no visible erosions or ulcers), erosions (1; tiny ≤5 mm white or yellow mucosal defects with a flat edge), superficial_ulcer (2; larger >5 mm discrete fibrin-covered superficial ulcers), or deep_ulcer (3; deeper excavated defects with a slightly raised edge). magent does not perform endoscopy.","enum":["none","erosions","superficial_ulcer","deep_ulcer"],"type":"string"},"vascular_pattern":{"description":"Caller-assigned Travis 2013 UCEIS vascular pattern at the most severely affected flexible-sigmoidoscopy segment: normal (0; arborization of capillaries clearly defined, or blurring or patchy loss of capillary margins), patchy (1; patchy obliteration of vascular pattern), or obliterated (2; complete obliteration). Travis 2013 0-8 recode (normal 0, not Travis 2012 score 1). magent does not perform endoscopy.","enum":["normal","patchy","obliterated"],"type":"string"}},"required":["vascular_pattern","bleeding","erosions_ulcers"],"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},{"id":38913,"slug":"38913","resource":"https://api.magentlab.com/api/calc/up_to_7","description":"Mazzaferro 2009 Up-to-seven: meets_up_to_seven is true iff tumor_count plus largest_cm is 7 or less and microvascular_invasion is false. Returns the boolean and size_number_sum, not a 5-year survival percentage. Pathology/explant-style inputs as assigned by the caller; magent does not interpret imaging or histology. Not Milan, not Metroticket 2.0 AFP criteria, not a contour calculator, not a medical device, and not a transplant listing.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"largest_cm":4,"microvascular_invasion":false,"tumor_count":3},{"largest_cm":4,"microvascular_invasion":false,"tumor_count":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mazzaferro V, Llovet JM, Miceli R, Bhoori S, Schiavo M, Mariani L, Camerini T, Roayaie S, Schwartz ME, Gonzalez FJ, et al.","doi":"10.1016/S1470-2045(08)70284-5","id":"mazzaferro-2009","pmid":"19058754","source":"Lancet Oncol. 2009;10(1):35-43","title":"Predicting survival after liver transplantation in patients with hepatocellular carcinoma beyond the Milan criteria: a retrospective, exploratory analysis"},"criteria":[{"factor":"size_number_sum_le_7","met":true},{"factor":"no_microvascular_invasion","met":true}],"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":"up_to_7","formula_expression":"meets_up_to_seven iff size_number_sum <= 7 and not microvascular_invasion; size_number_sum = tumor_count + largest_cm (Mazzaferro 2009 Up-to-seven)","largest_cm":4,"meets_up_to_seven":true,"microvascular_invasion":false,"size_number_sum":7,"tumor_count":3},{"citation":{"authors":"Mazzaferro V, Llovet JM, Miceli R, Bhoori S, Schiavo M, Mariani L, Camerini T, Roayaie S, Schwartz ME, Gonzalez FJ, et al.","doi":"10.1016/S1470-2045(08)70284-5","id":"mazzaferro-2009","pmid":"19058754","source":"Lancet Oncol. 2009;10(1):35-43","title":"Predicting survival after liver transplantation in patients with hepatocellular carcinoma beyond the Milan criteria: a retrospective, exploratory analysis"},"criteria":[{"factor":"size_number_sum_le_7","met":true},{"factor":"no_microvascular_invasion","met":true}],"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":"up_to_7","formula_expression":"meets_up_to_seven iff size_number_sum <= 7 and not microvascular_invasion; size_number_sum = tumor_count + largest_cm (Mazzaferro 2009 Up-to-seven)","largest_cm":4,"meets_up_to_seven":true,"microvascular_invasion":false,"size_number_sum":7,"tumor_count":3}],"path":"/api/calc/up_to_7"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"largest_cm":{"description":"Largest tumor diameter in centimetres (0.1-30) as assigned by the caller. Added to tumor_count as size_number_sum. Equality at 7.0 meets; 7.1 fails. magent does not interpret imaging or histology.","type":"number"},"microvascular_invasion":{"description":"Microvascular invasion as assigned by the caller (pathology/explant-style). true fails Up-to-seven even when size_number_sum is 7 or less. true or false. magent does not interpret imaging or histology.","type":"boolean"},"tumor_count":{"description":"Number of HCC nodules (integer 1-20) as assigned by the caller. Added to largest_cm as size_number_sum. The Up-to-seven ceiling is size_number_sum <= 7. magent does not interpret imaging or histology.","type":"integer"}},"required":["tumor_count","largest_cm","microvascular_invasion"],"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":["up-to-7","hcc","liver","transplant","mazzaferro","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:02:11.619Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:02:11.358Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"largest_cm":4,"microvascular_invasion":false,"tumor_count":3},{"largest_cm":4,"microvascular_invasion":false,"tumor_count":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mazzaferro V, Llovet JM, Miceli R, Bhoori S, Schiavo M, Mariani L, Camerini T, Roayaie S, Schwartz ME, Gonzalez FJ, et al.","doi":"10.1016/S1470-2045(08)70284-5","id":"mazzaferro-2009","pmid":"19058754","source":"Lancet Oncol. 2009;10(1):35-43","title":"Predicting survival after liver transplantation in patients with hepatocellular carcinoma beyond the Milan criteria: a retrospective, exploratory analysis"},"criteria":[{"factor":"size_number_sum_le_7","met":true},{"factor":"no_microvascular_invasion","met":true}],"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":"up_to_7","formula_expression":"meets_up_to_seven iff size_number_sum <= 7 and not microvascular_invasion; size_number_sum = tumor_count + largest_cm (Mazzaferro 2009 Up-to-seven)","largest_cm":4,"meets_up_to_seven":true,"microvascular_invasion":false,"size_number_sum":7,"tumor_count":3},{"citation":{"authors":"Mazzaferro V, Llovet JM, Miceli R, Bhoori S, Schiavo M, Mariani L, Camerini T, Roayaie S, Schwartz ME, Gonzalez FJ, et al.","doi":"10.1016/S1470-2045(08)70284-5","id":"mazzaferro-2009","pmid":"19058754","source":"Lancet Oncol. 2009;10(1):35-43","title":"Predicting survival after liver transplantation in patients with hepatocellular carcinoma beyond the Milan criteria: a retrospective, exploratory analysis"},"criteria":[{"factor":"size_number_sum_le_7","met":true},{"factor":"no_microvascular_invasion","met":true}],"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":"up_to_7","formula_expression":"meets_up_to_seven iff size_number_sum <= 7 and not microvascular_invasion; size_number_sum = tumor_count + largest_cm (Mazzaferro 2009 Up-to-seven)","largest_cm":4,"meets_up_to_seven":true,"microvascular_invasion":false,"size_number_sum":7,"tumor_count":3}],"path":"/api/calc/up_to_7"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"largest_cm":{"description":"Largest tumor diameter in centimetres (0.1-30) as assigned by the caller. Added to tumor_count as size_number_sum. Equality at 7.0 meets; 7.1 fails. magent does not interpret imaging or histology.","type":"number"},"microvascular_invasion":{"description":"Microvascular invasion as assigned by the caller (pathology/explant-style). true fails Up-to-seven even when size_number_sum is 7 or less. true or false. magent does not interpret imaging or histology.","type":"boolean"},"tumor_count":{"description":"Number of HCC nodules (integer 1-20) as assigned by the caller. Added to largest_cm as size_number_sum. The Up-to-seven ceiling is size_number_sum <= 7. magent does not interpret imaging or histology.","type":"integer"}},"required":["tumor_count","largest_cm","microvascular_invasion"],"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},{"id":38914,"slug":"38914","resource":"https://api.magentlab.com/api/calc/west_haven","description":"West Haven / Conn hepatic encephalopathy grade 0-4 (Conn 1977). Deterministic published grade with citation. Not a diagnosis; magent does not examine the patient or apply ISHEN covert/overt or psychometric minimal-HE tests.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"grade":0},{"grade":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Conn HO, Leevy CM, Vlahcevic ZR, et al.","doi":"10.1016/S0016-5085(77)80135-2","id":"conn-1977","source":"Gastroenterology. 1977;72(4 Pt 1):573-583","title":"Comparison of lactulose and neomycin in the treatment of chronic portal-systemic encephalopathy. A double blind controlled trial"},"components":[{"factor":"grade","points":0,"present":true}],"description":"No abnormality detected","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":"west_haven","formula_expression":"West Haven / Conn grade 0-4 as assigned by the caller (Conn 1977)","grade":0,"max_score":4,"score":0},{"citation":{"authors":"Conn HO, Leevy CM, Vlahcevic ZR, et al.","doi":"10.1016/S0016-5085(77)80135-2","id":"conn-1977","source":"Gastroenterology. 1977;72(4 Pt 1):573-583","title":"Comparison of lactulose and neomycin in the treatment of chronic portal-systemic encephalopathy. A double blind controlled trial"},"components":[{"factor":"grade","points":0,"present":true}],"description":"No abnormality detected","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":"west_haven","formula_expression":"West Haven / Conn grade 0-4 as assigned by the caller (Conn 1977)","grade":0,"max_score":4,"score":0}],"path":"/api/calc/west_haven"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"grade":{"description":"Conn 1977 / West Haven hepatic encephalopathy grade 0-4 as assigned by the caller. magent does not examine the patient.","type":"integer"}},"required":["grade"],"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":["west-haven","hepatic-encephalopathy","liver","conn","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T23:38:38.736Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T23:38:38.237Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"grade":0},{"grade":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Conn HO, Leevy CM, Vlahcevic ZR, et al.","doi":"10.1016/S0016-5085(77)80135-2","id":"conn-1977","source":"Gastroenterology. 1977;72(4 Pt 1):573-583","title":"Comparison of lactulose and neomycin in the treatment of chronic portal-systemic encephalopathy. A double blind controlled trial"},"components":[{"factor":"grade","points":0,"present":true}],"description":"No abnormality detected","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":"west_haven","formula_expression":"West Haven / Conn grade 0-4 as assigned by the caller (Conn 1977)","grade":0,"max_score":4,"score":0},{"citation":{"authors":"Conn HO, Leevy CM, Vlahcevic ZR, et al.","doi":"10.1016/S0016-5085(77)80135-2","id":"conn-1977","source":"Gastroenterology. 1977;72(4 Pt 1):573-583","title":"Comparison of lactulose and neomycin in the treatment of chronic portal-systemic encephalopathy. A double blind controlled trial"},"components":[{"factor":"grade","points":0,"present":true}],"description":"No abnormality detected","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":"west_haven","formula_expression":"West Haven / Conn grade 0-4 as assigned by the caller (Conn 1977)","grade":0,"max_score":4,"score":0}],"path":"/api/calc/west_haven"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"grade":{"description":"Conn 1977 / West Haven hepatic encephalopathy grade 0-4 as assigned by the caller. magent does not examine the patient.","type":"integer"}},"required":["grade"],"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},{"id":38915,"slug":"38915","resource":"https://api.magentlab.com/api/calc/vocal_penn","description":"Mahmud 2021 VOCAL-Penn 30-day postoperative mortality logistic for cirrhosis. log_odds = -5.472096 + 1.061725*ASA + 0.927904*emergency + surgery dummies (laparoscopic abdominal reference) + Stata 3-knot RCS albumin (2.7, 3.7, 4.4) and platelets (75, 152, 271) + 0.1448936*bilirubin - 0.7541669*obesity + 0.8268748*NAFLD. Percent to 1 decimal. Not a surgical order. magent does not assign ASA or read labs.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":60,"albumin_g_dl":3.5,"albumin_g_l":35,"asa_class":3,"bilirubin_mg_dl":1.2,"bilirubin_umol_l":20.52,"emergency":false,"fatty_liver_disease":false,"obesity":false,"platelets_10e9_l":150,"surgery_category":"abdominal_wall"},{"age":60,"albumin_g_dl":3.5,"albumin_g_l":35,"asa_class":3,"bilirubin_mg_dl":1.2,"bilirubin_umol_l":20.52,"emergency":false,"fatty_liver_disease":false,"obesity":false,"platelets_10e9_l":150,"surgery_category":"abdominal_wall"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"albumin_g_dl":3.5,"asa_class":3,"bilirubin_mg_dl":1.2,"citation":{"authors":"Mahmud N, Fricker Z, Hubbard RA, Ioannou GN, Lewis JD, Taddei TH, Rothstein KD, Serper M, Goldberg DS, Kaplan DE","doi":"10.1002/hep.31558","id":"mahmud-2021-vocal-penn","pmid":"32939786","source":"Hepatology. 2021;73(1):204-218","title":"Risk Prediction Models for Post-Operative Mortality in Patients With Cirrhosis"},"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.","emergency":false,"fatty_liver_disease":false,"formula":"mahmud_vocal_penn_30d_2021","formula_expression":"log_odds = -5.472096 + 1.061725*ASA + 0.927904*emergency + 1.56071*abdominal_open + 0.7418021*abdominal_wall + 0.9165415*vascular + 1.464183*orthopedic + 1.893621*chest_cardiac - 0.0075185*platelets_sp1 + 0.0036657*platelets_sp2 - 0.5181509*albumin_sp1 - 1.000672*albumin_sp2 + 0.1448936*bilirubin_mg_dl - 0.7541669*obesity + 0.8268748*NAFLD; laparoscopic abdominal is the surgery reference; sp1 = x; sp2 = Stata mkspline 3-knot restricted cubic spline / (k3-k1)^2; albumin knots 2.7, 3.7, 4.4 g/dL; platelets knots 75, 152, 271 x10^9/L; mortality_30d_percent = 100*exp(log_odds)/(1+exp(log_odds)), 1 decimal","logit":-4.4496,"mortality_30d_percent":1.2,"obesity":false,"platelets_10e9_l":150,"surgery_category":"abdominal_wall"},{"age_years":60,"albumin_g_dl":3.5,"asa_class":3,"bilirubin_mg_dl":1.2,"citation":{"authors":"Mahmud N, Fricker Z, Hubbard RA, Ioannou GN, Lewis JD, Taddei TH, Rothstein KD, Serper M, Goldberg DS, Kaplan DE","doi":"10.1002/hep.31558","id":"mahmud-2021-vocal-penn","pmid":"32939786","source":"Hepatology. 2021;73(1):204-218","title":"Risk Prediction Models for Post-Operative Mortality in Patients With Cirrhosis"},"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.","emergency":false,"fatty_liver_disease":false,"formula":"mahmud_vocal_penn_30d_2021","formula_expression":"log_odds = -5.472096 + 1.061725*ASA + 0.927904*emergency + 1.56071*abdominal_open + 0.7418021*abdominal_wall + 0.9165415*vascular + 1.464183*orthopedic + 1.893621*chest_cardiac - 0.0075185*platelets_sp1 + 0.0036657*platelets_sp2 - 0.5181509*albumin_sp1 - 1.000672*albumin_sp2 + 0.1448936*bilirubin_mg_dl - 0.7541669*obesity + 0.8268748*NAFLD; laparoscopic abdominal is the surgery reference; sp1 = x; sp2 = Stata mkspline 3-knot restricted cubic spline / (k3-k1)^2; albumin knots 2.7, 3.7, 4.4 g/dL; platelets knots 75, 152, 271 x10^9/L; mortality_30d_percent = 100*exp(log_odds)/(1+exp(log_odds)), 1 decimal","logit":-4.4496,"mortality_30d_percent":1.2,"obesity":false,"platelets_10e9_l":150,"surgery_category":"abdominal_wall"}],"path":"/api/calc/vocal_penn"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). The Mahmud 2021 Supplement Appendix 30-day linear predictor does not retain age (age is in the 90- and 180-day models). Required because the published tool asks for it.","type":"integer"},"albumin_g_dl":{"description":"Preoperative albumin in g/dL (1.0-6.0). Provide this or albumin_g_l. Restricted cubic spline knots 2.7, 3.7, 4.4 (Supplemental Table 2). magent does not read the laboratory.","type":"number"},"albumin_g_l":{"description":"Preoperative albumin in g/L (10-60). Converted as g/dL = g/L / 10.","type":"number"},"asa_class":{"description":"Caller-assigned ASA physical status 2, 3, or 4 (ordinal in the Appendix). The derivation cohort had no ASA 1 and excluded ASA 5. magent does not assign ASA class.","enum":[2,3,4],"type":"integer"},"bilirubin_mg_dl":{"description":"Preoperative total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. Linear in the 30-day Appendix model. magent does not read the laboratory.","type":"number"},"bilirubin_umol_l":{"description":"Preoperative total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"emergency":{"description":"Caller-assigned emergency indication (true/false). magent does not classify urgency.","type":"boolean"},"fatty_liver_disease":{"description":"Caller-assigned NAFLD as the etiology of cirrhosis (true/false). magent does not assign etiology.","type":"boolean"},"obesity":{"description":"Caller-assigned BMI ≥30 kg/m² (true/false). Protective in the 30-day model. magent does not compute BMI.","type":"boolean"},"platelets_10e9_l":{"description":"Preoperative platelet count in 10^9/L (10-800), equal to 1,000/µL. Spline knots 75, 152, 271 (Supplemental Table 2). magent does not read the laboratory.","type":"number"},"surgery_category":{"description":"Mahmud 2021 Appendix surgery dummy as assigned by the caller. abdominal_laparoscopic is the reference (0). abdominal is open abdominal. chest and cardiac share the printed chest/cardiac coefficient. magent does not classify a CPT code.","enum":["abdominal_laparoscopic","abdominal","abdominal_wall","vascular","orthopedic","chest","cardiac"],"type":"string"}},"required":["age","platelets_10e9_l","obesity","fatty_liver_disease","asa_class","emergency","surgery_category"],"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":["vocal-penn","cirrhosis","liver","surgery","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:17:20.485Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:17:20.339Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":60,"albumin_g_dl":3.5,"albumin_g_l":35,"asa_class":3,"bilirubin_mg_dl":1.2,"bilirubin_umol_l":20.52,"emergency":false,"fatty_liver_disease":false,"obesity":false,"platelets_10e9_l":150,"surgery_category":"abdominal_wall"},{"age":60,"albumin_g_dl":3.5,"albumin_g_l":35,"asa_class":3,"bilirubin_mg_dl":1.2,"bilirubin_umol_l":20.52,"emergency":false,"fatty_liver_disease":false,"obesity":false,"platelets_10e9_l":150,"surgery_category":"abdominal_wall"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"albumin_g_dl":3.5,"asa_class":3,"bilirubin_mg_dl":1.2,"citation":{"authors":"Mahmud N, Fricker Z, Hubbard RA, Ioannou GN, Lewis JD, Taddei TH, Rothstein KD, Serper M, Goldberg DS, Kaplan DE","doi":"10.1002/hep.31558","id":"mahmud-2021-vocal-penn","pmid":"32939786","source":"Hepatology. 2021;73(1):204-218","title":"Risk Prediction Models for Post-Operative Mortality in Patients With Cirrhosis"},"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.","emergency":false,"fatty_liver_disease":false,"formula":"mahmud_vocal_penn_30d_2021","formula_expression":"log_odds = -5.472096 + 1.061725*ASA + 0.927904*emergency + 1.56071*abdominal_open + 0.7418021*abdominal_wall + 0.9165415*vascular + 1.464183*orthopedic + 1.893621*chest_cardiac - 0.0075185*platelets_sp1 + 0.0036657*platelets_sp2 - 0.5181509*albumin_sp1 - 1.000672*albumin_sp2 + 0.1448936*bilirubin_mg_dl - 0.7541669*obesity + 0.8268748*NAFLD; laparoscopic abdominal is the surgery reference; sp1 = x; sp2 = Stata mkspline 3-knot restricted cubic spline / (k3-k1)^2; albumin knots 2.7, 3.7, 4.4 g/dL; platelets knots 75, 152, 271 x10^9/L; mortality_30d_percent = 100*exp(log_odds)/(1+exp(log_odds)), 1 decimal","logit":-4.4496,"mortality_30d_percent":1.2,"obesity":false,"platelets_10e9_l":150,"surgery_category":"abdominal_wall"},{"age_years":60,"albumin_g_dl":3.5,"asa_class":3,"bilirubin_mg_dl":1.2,"citation":{"authors":"Mahmud N, Fricker Z, Hubbard RA, Ioannou GN, Lewis JD, Taddei TH, Rothstein KD, Serper M, Goldberg DS, Kaplan DE","doi":"10.1002/hep.31558","id":"mahmud-2021-vocal-penn","pmid":"32939786","source":"Hepatology. 2021;73(1):204-218","title":"Risk Prediction Models for Post-Operative Mortality in Patients With Cirrhosis"},"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.","emergency":false,"fatty_liver_disease":false,"formula":"mahmud_vocal_penn_30d_2021","formula_expression":"log_odds = -5.472096 + 1.061725*ASA + 0.927904*emergency + 1.56071*abdominal_open + 0.7418021*abdominal_wall + 0.9165415*vascular + 1.464183*orthopedic + 1.893621*chest_cardiac - 0.0075185*platelets_sp1 + 0.0036657*platelets_sp2 - 0.5181509*albumin_sp1 - 1.000672*albumin_sp2 + 0.1448936*bilirubin_mg_dl - 0.7541669*obesity + 0.8268748*NAFLD; laparoscopic abdominal is the surgery reference; sp1 = x; sp2 = Stata mkspline 3-knot restricted cubic spline / (k3-k1)^2; albumin knots 2.7, 3.7, 4.4 g/dL; platelets knots 75, 152, 271 x10^9/L; mortality_30d_percent = 100*exp(log_odds)/(1+exp(log_odds)), 1 decimal","logit":-4.4496,"mortality_30d_percent":1.2,"obesity":false,"platelets_10e9_l":150,"surgery_category":"abdominal_wall"}],"path":"/api/calc/vocal_penn"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). The Mahmud 2021 Supplement Appendix 30-day linear predictor does not retain age (age is in the 90- and 180-day models). Required because the published tool asks for it.","type":"integer"},"albumin_g_dl":{"description":"Preoperative albumin in g/dL (1.0-6.0). Provide this or albumin_g_l. Restricted cubic spline knots 2.7, 3.7, 4.4 (Supplemental Table 2). magent does not read the laboratory.","type":"number"},"albumin_g_l":{"description":"Preoperative albumin in g/L (10-60). Converted as g/dL = g/L / 10.","type":"number"},"asa_class":{"description":"Caller-assigned ASA physical status 2, 3, or 4 (ordinal in the Appendix). The derivation cohort had no ASA 1 and excluded ASA 5. magent does not assign ASA class.","enum":[2,3,4],"type":"integer"},"bilirubin_mg_dl":{"description":"Preoperative total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. Linear in the 30-day Appendix model. magent does not read the laboratory.","type":"number"},"bilirubin_umol_l":{"description":"Preoperative total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"emergency":{"description":"Caller-assigned emergency indication (true/false). magent does not classify urgency.","type":"boolean"},"fatty_liver_disease":{"description":"Caller-assigned NAFLD as the etiology of cirrhosis (true/false). magent does not assign etiology.","type":"boolean"},"obesity":{"description":"Caller-assigned BMI ≥30 kg/m² (true/false). Protective in the 30-day model. magent does not compute BMI.","type":"boolean"},"platelets_10e9_l":{"description":"Preoperative platelet count in 10^9/L (10-800), equal to 1,000/µL. Spline knots 75, 152, 271 (Supplemental Table 2). magent does not read the laboratory.","type":"number"},"surgery_category":{"description":"Mahmud 2021 Appendix surgery dummy as assigned by the caller. abdominal_laparoscopic is the reference (0). abdominal is open abdominal. chest and cardiac share the printed chest/cardiac coefficient. magent does not classify a CPT code.","enum":["abdominal_laparoscopic","abdominal","abdominal_wall","vascular","orthopedic","chest","cardiac"],"type":"string"}},"required":["age","platelets_10e9_l","obesity","fatty_liver_disease","asa_class","emergency","surgery_category"],"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},{"id":38916,"slug":"38916","resource":"https://api.magentlab.com/api/calc/vancouver_chest_pain","description":"Christenson 2006 Vancouver Chest Pain Rule. early_discharge_eligible is true when the initial ECG is not abnormal, 2-hour troponin is not elevated, there is no prior ACS or nitrate use, and either palpation reproduces pain or age is under 40 without radiation to neck, arm, or jaw. Age 40 is not the age-history path. magent does not interpret ECGs or assay troponin. Not the 2014 age-50 variant. Not a medical device and not a discharge order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_initial_ecg":false,"age":35,"pain_radiates_neck_jaw_arm":false,"palpation_reproduces_pain":false,"prior_acs_or_nitrate":false,"troponin_2h_elevated":false},{"abnormal_initial_ecg":false,"age":35,"pain_radiates_neck_jaw_arm":false,"palpation_reproduces_pain":false,"prior_acs_or_nitrate":false,"troponin_2h_elevated":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abnormal_initial_ecg":false,"age_years":35,"citation":{"authors":"Christenson J, Innes G, McKnight D, et al.","doi":"10.1016/j.annemergmed.2005.08.007","id":"christenson-2006","pmid":"16387209","source":"Ann Emerg Med. 2006;47(1):1-10","title":"A clinical prediction rule for early discharge of patients with chest pain"},"criteria":[{"factor":"normal_initial_ecg","met":true,"value":false},{"factor":"troponin_2h_not_elevated","met":true,"value":false},{"factor":"no_prior_acs_or_nitrate","met":true,"value":false},{"factor":"palpation_or_age_history","met":true,"value":35}],"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.","early_discharge_eligible":true,"formula":"vancouver_chest_pain","formula_expression":"early_discharge_eligible iff not abnormal_initial_ecg and not troponin_2h_elevated and not prior_acs_or_nitrate and (palpation_reproduces_pain or (age < 40 and not pain_radiates_neck_jaw_arm)); age 40 is not the age-history path (Christenson 2006 derivation tree; not Cullen 2014 / Scheuermeyer 2014 age 50)","pain_radiates_neck_jaw_arm":false,"palpation_reproduces_pain":false,"prior_acs_or_nitrate":false,"troponin_2h_elevated":false},{"abnormal_initial_ecg":false,"age_years":35,"citation":{"authors":"Christenson J, Innes G, McKnight D, et al.","doi":"10.1016/j.annemergmed.2005.08.007","id":"christenson-2006","pmid":"16387209","source":"Ann Emerg Med. 2006;47(1):1-10","title":"A clinical prediction rule for early discharge of patients with chest pain"},"criteria":[{"factor":"normal_initial_ecg","met":true,"value":false},{"factor":"troponin_2h_not_elevated","met":true,"value":false},{"factor":"no_prior_acs_or_nitrate","met":true,"value":false},{"factor":"palpation_or_age_history","met":true,"value":35}],"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.","early_discharge_eligible":true,"formula":"vancouver_chest_pain","formula_expression":"early_discharge_eligible iff not abnormal_initial_ecg and not troponin_2h_elevated and not prior_acs_or_nitrate and (palpation_reproduces_pain or (age < 40 and not pain_radiates_neck_jaw_arm)); age 40 is not the age-history path (Christenson 2006 derivation tree; not Cullen 2014 / Scheuermeyer 2014 age 50)","pain_radiates_neck_jaw_arm":false,"palpation_reproduces_pain":false,"prior_acs_or_nitrate":false,"troponin_2h_elevated":false}],"path":"/api/calc/vancouver_chest_pain"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_initial_ecg":{"description":"Caller-assigned abnormal initial ECG as used in Christenson 2006 (true blocks early discharge). T-wave flattening was the only acceptable ST-T abnormality in that paper. true or false. magent does not interpret an ECG.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). The 2006 age-history path requires age under 40 when palpation does not reproduce pain. Age 40 is not that path (Christenson 2006; not the later age-50 cutoff).","type":"integer"},"pain_radiates_neck_jaw_arm":{"description":"Pain radiates to neck, arm, or jaw as assigned by the caller (Christenson 2006). true or false. On the age-history path (palpation false), true blocks early discharge. magent does not take a pain history.","type":"boolean"},"palpation_reproduces_pain":{"description":"Chest pain reproduced by palpation as assigned by the caller. true or false. When ECG, 2-hour troponin, and prior ACS/nitrate are clear, true is early-discharge eligible regardless of age or radiation. magent does not palpate the chest.","type":"boolean"},"prior_acs_or_nitrate":{"description":"Prior ACS (MI or angina) or nitrate use as assigned by the caller (Christenson 2006 prior ischemic chest pain / nitroglycerin node). true or false. true blocks early discharge.","type":"boolean"},"troponin_2h_elevated":{"description":"Caller-assigned 2-hour troponin at or above the institutional cutoff. true or false. true blocks early discharge. magent does not assay troponin or CK-MB.","type":"boolean"}},"required":["age","abnormal_initial_ecg","troponin_2h_elevated","prior_acs_or_nitrate","palpation_reproduces_pain","pain_radiates_neck_jaw_arm"],"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":["vancouver-chest-pain","acs","chest-pain","troponin","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:12:19.456Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:12:19.292Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_initial_ecg":false,"age":35,"pain_radiates_neck_jaw_arm":false,"palpation_reproduces_pain":false,"prior_acs_or_nitrate":false,"troponin_2h_elevated":false},{"abnormal_initial_ecg":false,"age":35,"pain_radiates_neck_jaw_arm":false,"palpation_reproduces_pain":false,"prior_acs_or_nitrate":false,"troponin_2h_elevated":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abnormal_initial_ecg":false,"age_years":35,"citation":{"authors":"Christenson J, Innes G, McKnight D, et al.","doi":"10.1016/j.annemergmed.2005.08.007","id":"christenson-2006","pmid":"16387209","source":"Ann Emerg Med. 2006;47(1):1-10","title":"A clinical prediction rule for early discharge of patients with chest pain"},"criteria":[{"factor":"normal_initial_ecg","met":true,"value":false},{"factor":"troponin_2h_not_elevated","met":true,"value":false},{"factor":"no_prior_acs_or_nitrate","met":true,"value":false},{"factor":"palpation_or_age_history","met":true,"value":35}],"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.","early_discharge_eligible":true,"formula":"vancouver_chest_pain","formula_expression":"early_discharge_eligible iff not abnormal_initial_ecg and not troponin_2h_elevated and not prior_acs_or_nitrate and (palpation_reproduces_pain or (age < 40 and not pain_radiates_neck_jaw_arm)); age 40 is not the age-history path (Christenson 2006 derivation tree; not Cullen 2014 / Scheuermeyer 2014 age 50)","pain_radiates_neck_jaw_arm":false,"palpation_reproduces_pain":false,"prior_acs_or_nitrate":false,"troponin_2h_elevated":false},{"abnormal_initial_ecg":false,"age_years":35,"citation":{"authors":"Christenson J, Innes G, McKnight D, et al.","doi":"10.1016/j.annemergmed.2005.08.007","id":"christenson-2006","pmid":"16387209","source":"Ann Emerg Med. 2006;47(1):1-10","title":"A clinical prediction rule for early discharge of patients with chest pain"},"criteria":[{"factor":"normal_initial_ecg","met":true,"value":false},{"factor":"troponin_2h_not_elevated","met":true,"value":false},{"factor":"no_prior_acs_or_nitrate","met":true,"value":false},{"factor":"palpation_or_age_history","met":true,"value":35}],"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.","early_discharge_eligible":true,"formula":"vancouver_chest_pain","formula_expression":"early_discharge_eligible iff not abnormal_initial_ecg and not troponin_2h_elevated and not prior_acs_or_nitrate and (palpation_reproduces_pain or (age < 40 and not pain_radiates_neck_jaw_arm)); age 40 is not the age-history path (Christenson 2006 derivation tree; not Cullen 2014 / Scheuermeyer 2014 age 50)","pain_radiates_neck_jaw_arm":false,"palpation_reproduces_pain":false,"prior_acs_or_nitrate":false,"troponin_2h_elevated":false}],"path":"/api/calc/vancouver_chest_pain"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_initial_ecg":{"description":"Caller-assigned abnormal initial ECG as used in Christenson 2006 (true blocks early discharge). T-wave flattening was the only acceptable ST-T abnormality in that paper. true or false. magent does not interpret an ECG.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). The 2006 age-history path requires age under 40 when palpation does not reproduce pain. Age 40 is not that path (Christenson 2006; not the later age-50 cutoff).","type":"integer"},"pain_radiates_neck_jaw_arm":{"description":"Pain radiates to neck, arm, or jaw as assigned by the caller (Christenson 2006). true or false. On the age-history path (palpation false), true blocks early discharge. magent does not take a pain history.","type":"boolean"},"palpation_reproduces_pain":{"description":"Chest pain reproduced by palpation as assigned by the caller. true or false. When ECG, 2-hour troponin, and prior ACS/nitrate are clear, true is early-discharge eligible regardless of age or radiation. magent does not palpate the chest.","type":"boolean"},"prior_acs_or_nitrate":{"description":"Prior ACS (MI or angina) or nitrate use as assigned by the caller (Christenson 2006 prior ischemic chest pain / nitroglycerin node). true or false. true blocks early discharge.","type":"boolean"},"troponin_2h_elevated":{"description":"Caller-assigned 2-hour troponin at or above the institutional cutoff. true or false. true blocks early discharge. magent does not assay troponin or CK-MB.","type":"boolean"}},"required":["age","abnormal_initial_ecg","troponin_2h_elevated","prior_acs_or_nitrate","palpation_reproduces_pain","pain_radiates_neck_jaw_arm"],"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},{"id":38917,"slug":"38917","resource":"https://api.magentlab.com/api/calc/ttkg","description":"Transtubular potassium gradient (TTKG) from plasma potassium, urine potassium, plasma osmolality, and urine osmolality (Ethier JH et al., Am J Kidney Dis 1990). TTKG = (urine_k / potassium) / (urine_osm / plasma_osm), 1 decimal. Not valid when urine osmolality is not greater than plasma osmolality (water diuresis). Numeric TTKG only; not a potassium-disorder diagnosis or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"plasma_osm_mosm_kg":300,"potassium_mmol_l":4,"urine_k_mmol_l":40,"urine_osm_mosm_kg":600},{"plasma_osm_mosm_kg":300,"potassium_mmol_l":4,"urine_k_mmol_l":40,"urine_osm_mosm_kg":600}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ethier JH, Kamel KS, Magner PO, Lemann J Jr, Halperin ML","doi":"10.1016/S0272-6386(12)80076-X","id":"ethier-1990","pmid":"2321642","source":"Am J Kidney Dis. 1990;15(4):309-315","title":"The transtubular potassium concentration in patients with hypokalemia and hyperkalemia"},"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":"ethier","formula_expression":"ttkg = (urine_k_mmol_l / potassium_mmol_l) / (urine_osm_mosm_kg / plasma_osm_mosm_kg)","plasma_osm_mosm_kg":300,"potassium_mmol_l":4,"ttkg":5,"urine_k_mmol_l":40,"urine_osm_mosm_kg":600},{"citation":{"authors":"Ethier JH, Kamel KS, Magner PO, Lemann J Jr, Halperin ML","doi":"10.1016/S0272-6386(12)80076-X","id":"ethier-1990","pmid":"2321642","source":"Am J Kidney Dis. 1990;15(4):309-315","title":"The transtubular potassium concentration in patients with hypokalemia and hyperkalemia"},"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":"ethier","formula_expression":"ttkg = (urine_k_mmol_l / potassium_mmol_l) / (urine_osm_mosm_kg / plasma_osm_mosm_kg)","plasma_osm_mosm_kg":300,"potassium_mmol_l":4,"ttkg":5,"urine_k_mmol_l":40,"urine_osm_mosm_kg":600}],"path":"/api/calc/ttkg"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"plasma_osm_mosm_kg":{"description":"Plasma osmolality in mOsm/kg (240-400).","type":"number"},"potassium_mmol_l":{"description":"Plasma potassium in mmol/L (1.5-8.0).","type":"number"},"urine_k_mmol_l":{"description":"Urine potassium in mmol/L (1-200).","type":"number"},"urine_osm_mosm_kg":{"description":"Urine osmolality in mOsm/kg (50-1400). Must be greater than plasma_osm_mosm_kg.","type":"number"}},"required":["potassium_mmol_l","urine_k_mmol_l","plasma_osm_mosm_kg","urine_osm_mosm_kg"],"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":["ttkg","potassium","kidney","osmolality","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T15:53:58.047Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T15:53:57.797Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"plasma_osm_mosm_kg":300,"potassium_mmol_l":4,"urine_k_mmol_l":40,"urine_osm_mosm_kg":600},{"plasma_osm_mosm_kg":300,"potassium_mmol_l":4,"urine_k_mmol_l":40,"urine_osm_mosm_kg":600}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ethier JH, Kamel KS, Magner PO, Lemann J Jr, Halperin ML","doi":"10.1016/S0272-6386(12)80076-X","id":"ethier-1990","pmid":"2321642","source":"Am J Kidney Dis. 1990;15(4):309-315","title":"The transtubular potassium concentration in patients with hypokalemia and hyperkalemia"},"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":"ethier","formula_expression":"ttkg = (urine_k_mmol_l / potassium_mmol_l) / (urine_osm_mosm_kg / plasma_osm_mosm_kg)","plasma_osm_mosm_kg":300,"potassium_mmol_l":4,"ttkg":5,"urine_k_mmol_l":40,"urine_osm_mosm_kg":600},{"citation":{"authors":"Ethier JH, Kamel KS, Magner PO, Lemann J Jr, Halperin ML","doi":"10.1016/S0272-6386(12)80076-X","id":"ethier-1990","pmid":"2321642","source":"Am J Kidney Dis. 1990;15(4):309-315","title":"The transtubular potassium concentration in patients with hypokalemia and hyperkalemia"},"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":"ethier","formula_expression":"ttkg = (urine_k_mmol_l / potassium_mmol_l) / (urine_osm_mosm_kg / plasma_osm_mosm_kg)","plasma_osm_mosm_kg":300,"potassium_mmol_l":4,"ttkg":5,"urine_k_mmol_l":40,"urine_osm_mosm_kg":600}],"path":"/api/calc/ttkg"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"plasma_osm_mosm_kg":{"description":"Plasma osmolality in mOsm/kg (240-400).","type":"number"},"potassium_mmol_l":{"description":"Plasma potassium in mmol/L (1.5-8.0).","type":"number"},"urine_k_mmol_l":{"description":"Urine potassium in mmol/L (1-200).","type":"number"},"urine_osm_mosm_kg":{"description":"Urine osmolality in mOsm/kg (50-1400). Must be greater than plasma_osm_mosm_kg.","type":"number"}},"required":["potassium_mmol_l","urine_k_mmol_l","plasma_osm_mosm_kg","urine_osm_mosm_kg"],"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},{"id":38918,"slug":"38918","resource":"https://api.magentlab.com/api/calc/vurx","description":"Kirsch 2014 VURx for children <2 years with primary vesicoureteral reflux. Caller-assigned vur_timing (voiding 1, late filling 2, early- or mid-filling 3), female (1), high_grade grade IV-V (1), and ureteral_anomaly (complete duplication or periureteral diverticulum, 1). Score 1-6. Improvement or resolution: 1 → 89%, 2 → 69%, 3 → 53%, 4 → 16%, 5-6 → 11%. magent does not read a VCUG. Not a medical device. Not a surgery order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"female":false,"high_grade":false,"ureteral_anomaly":false,"vur_timing":"voiding"},{"female":false,"high_grade":false,"ureteral_anomaly":false,"vur_timing":"voiding"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kirsch AJ, Arlen AM, Leong T, et al","doi":"10.1016/j.jpurol.2014.06.019","id":"kirsch-2014","pmid":"25511573","source":"J Pediatr Urol. 2014;10(6):1249-1254","title":"Vesicoureteral reflux index (VURx): a novel tool to predict primary reflux improvement and resolution in children less than 2 years of age"},"components":[{"factor":"vur_timing","points":1,"present":true,"value":"voiding"},{"factor":"female","points":0,"present":false},{"factor":"high_grade","points":0,"present":false},{"factor":"ureteral_anomaly","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.","female":false,"formula":"vurx","formula_expression":"VURx = vur_timing (voiding 1, late_filling 2, early_mid_filling 3) + female (1) + high_grade (grade IV-V 1) + ureteral_anomaly (complete ureteral duplication or periureteral diverticulum 1); min 1, max 6; Kirsch 2014 children <2 years; improvement or resolution: 1 → 89%, 2 → 69%, 3 → 53%, 4 → 16%, 5-6 → 11%","high_grade":false,"improvement_or_resolution_percent":89,"max_score":6,"score":1,"ureteral_anomaly":false,"vur_timing":"voiding"},{"citation":{"authors":"Kirsch AJ, Arlen AM, Leong T, et al","doi":"10.1016/j.jpurol.2014.06.019","id":"kirsch-2014","pmid":"25511573","source":"J Pediatr Urol. 2014;10(6):1249-1254","title":"Vesicoureteral reflux index (VURx): a novel tool to predict primary reflux improvement and resolution in children less than 2 years of age"},"components":[{"factor":"vur_timing","points":1,"present":true,"value":"voiding"},{"factor":"female","points":0,"present":false},{"factor":"high_grade","points":0,"present":false},{"factor":"ureteral_anomaly","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.","female":false,"formula":"vurx","formula_expression":"VURx = vur_timing (voiding 1, late_filling 2, early_mid_filling 3) + female (1) + high_grade (grade IV-V 1) + ureteral_anomaly (complete ureteral duplication or periureteral diverticulum 1); min 1, max 6; Kirsch 2014 children <2 years; improvement or resolution: 1 → 89%, 2 → 69%, 3 → 53%, 4 → 16%, 5-6 → 11%","high_grade":false,"improvement_or_resolution_percent":89,"max_score":6,"score":1,"ureteral_anomaly":false,"vur_timing":"voiding"}],"path":"/api/calc/vurx"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"female":{"description":"Female sex (Kirsch 2014: 1 point). false for male (0 points). true or false. magent does not assign sex from a chart.","type":"boolean"},"high_grade":{"description":"Whether VUR grade is IV or V (Kirsch 2014: 1 point). false for grades I-III (0 points). true or false. magent does not assign grade from images.","type":"boolean"},"ureteral_anomaly":{"description":"Complete ureteral duplication or periureteral diverticulum (Kirsch 2014: 1 point). true or false. magent does not read a VCUG.","type":"boolean"},"vur_timing":{"description":"Caller-assigned VUR timing on VCUG (Kirsch 2014): voiding (1; voiding only), late_filling (2), or early_mid_filling (3; early- or mid-filling). magent does not read a VCUG.","enum":["voiding","late_filling","early_mid_filling"],"type":"string"}},"required":["female","vur_timing","high_grade","ureteral_anomaly"],"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":["vurx","vur","kidney","pediatric","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:22:14.608Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:22:14.478Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"female":false,"high_grade":false,"ureteral_anomaly":false,"vur_timing":"voiding"},{"female":false,"high_grade":false,"ureteral_anomaly":false,"vur_timing":"voiding"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kirsch AJ, Arlen AM, Leong T, et al","doi":"10.1016/j.jpurol.2014.06.019","id":"kirsch-2014","pmid":"25511573","source":"J Pediatr Urol. 2014;10(6):1249-1254","title":"Vesicoureteral reflux index (VURx): a novel tool to predict primary reflux improvement and resolution in children less than 2 years of age"},"components":[{"factor":"vur_timing","points":1,"present":true,"value":"voiding"},{"factor":"female","points":0,"present":false},{"factor":"high_grade","points":0,"present":false},{"factor":"ureteral_anomaly","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.","female":false,"formula":"vurx","formula_expression":"VURx = vur_timing (voiding 1, late_filling 2, early_mid_filling 3) + female (1) + high_grade (grade IV-V 1) + ureteral_anomaly (complete ureteral duplication or periureteral diverticulum 1); min 1, max 6; Kirsch 2014 children <2 years; improvement or resolution: 1 → 89%, 2 → 69%, 3 → 53%, 4 → 16%, 5-6 → 11%","high_grade":false,"improvement_or_resolution_percent":89,"max_score":6,"score":1,"ureteral_anomaly":false,"vur_timing":"voiding"},{"citation":{"authors":"Kirsch AJ, Arlen AM, Leong T, et al","doi":"10.1016/j.jpurol.2014.06.019","id":"kirsch-2014","pmid":"25511573","source":"J Pediatr Urol. 2014;10(6):1249-1254","title":"Vesicoureteral reflux index (VURx): a novel tool to predict primary reflux improvement and resolution in children less than 2 years of age"},"components":[{"factor":"vur_timing","points":1,"present":true,"value":"voiding"},{"factor":"female","points":0,"present":false},{"factor":"high_grade","points":0,"present":false},{"factor":"ureteral_anomaly","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.","female":false,"formula":"vurx","formula_expression":"VURx = vur_timing (voiding 1, late_filling 2, early_mid_filling 3) + female (1) + high_grade (grade IV-V 1) + ureteral_anomaly (complete ureteral duplication or periureteral diverticulum 1); min 1, max 6; Kirsch 2014 children <2 years; improvement or resolution: 1 → 89%, 2 → 69%, 3 → 53%, 4 → 16%, 5-6 → 11%","high_grade":false,"improvement_or_resolution_percent":89,"max_score":6,"score":1,"ureteral_anomaly":false,"vur_timing":"voiding"}],"path":"/api/calc/vurx"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"female":{"description":"Female sex (Kirsch 2014: 1 point). false for male (0 points). true or false. magent does not assign sex from a chart.","type":"boolean"},"high_grade":{"description":"Whether VUR grade is IV or V (Kirsch 2014: 1 point). false for grades I-III (0 points). true or false. magent does not assign grade from images.","type":"boolean"},"ureteral_anomaly":{"description":"Complete ureteral duplication or periureteral diverticulum (Kirsch 2014: 1 point). true or false. magent does not read a VCUG.","type":"boolean"},"vur_timing":{"description":"Caller-assigned VUR timing on VCUG (Kirsch 2014): voiding (1; voiding only), late_filling (2), or early_mid_filling (3; early- or mid-filling). magent does not read a VCUG.","enum":["voiding","late_filling","early_mid_filling"],"type":"string"}},"required":["female","vur_timing","high_grade","ureteral_anomaly"],"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},{"id":38919,"slug":"38919","resource":"https://api.magentlab.com/api/calc/urine_pcr","description":"Urine protein/creatinine ratio (mg/mg) from spot urine protein and creatinine (Ginsberg 1983). Also returns estimated_g_day equal to the rounded ratio as a numeric estimate of 24-h protein. Bands: <0.2 within normal limits, >3.5 nephrotic-range. Not ACR. Not a 24-h collection. Deterministic published formula with citation; not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"urine_creatinine_mg_dl":100,"urine_creatinine_umol_l":8842,"urine_protein_mg_dl":100},{"urine_creatinine_mg_dl":100,"urine_creatinine_umol_l":8842,"urine_protein_mg_dl":100}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ginsberg JM, Chang BS, Matarese RA, Garella S","doi":"10.1056/nejm198312223092503","id":"ginsberg-1983","pmid":"6656849","source":"N Engl J Med. 1983;309(25):1543-1546","title":"Use of single voided urine samples to estimate quantitative proteinuria."},"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.","estimated_g_day":1,"formula":"ginsberg","formula_expression":"protein_creatinine_ratio = urine_protein_mg_dl / urine_creatinine_mg_dl","ginsberg_band":"0_2_to_3_5","protein_creatinine_ratio":1,"urine_creatinine_mg_dl":100,"urine_protein_mg_dl":100},{"citation":{"authors":"Ginsberg JM, Chang BS, Matarese RA, Garella S","doi":"10.1056/nejm198312223092503","id":"ginsberg-1983","pmid":"6656849","source":"N Engl J Med. 1983;309(25):1543-1546","title":"Use of single voided urine samples to estimate quantitative proteinuria."},"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.","estimated_g_day":1,"formula":"ginsberg","formula_expression":"protein_creatinine_ratio = urine_protein_mg_dl / urine_creatinine_mg_dl","ginsberg_band":"0_2_to_3_5","protein_creatinine_ratio":1,"urine_creatinine_mg_dl":100,"urine_protein_mg_dl":100}],"path":"/api/calc/urine_pcr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"urine_creatinine_mg_dl":{"description":"Urine creatinine in mg/dL (1-500). Provide this or urine_creatinine_umol_l.","type":"number"},"urine_creatinine_umol_l":{"description":"Urine creatinine in µmol/L (88-44210). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"urine_protein_mg_dl":{"description":"Urine total protein in mg/dL (0.1-2000). Total protein, not albumin.","type":"number"}},"required":["urine_protein_mg_dl"],"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":["urine-pcr","kidney","proteinuria","pcr","ginsberg","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:07:20.589Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:07:20.373Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"urine_creatinine_mg_dl":100,"urine_creatinine_umol_l":8842,"urine_protein_mg_dl":100},{"urine_creatinine_mg_dl":100,"urine_creatinine_umol_l":8842,"urine_protein_mg_dl":100}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ginsberg JM, Chang BS, Matarese RA, Garella S","doi":"10.1056/nejm198312223092503","id":"ginsberg-1983","pmid":"6656849","source":"N Engl J Med. 1983;309(25):1543-1546","title":"Use of single voided urine samples to estimate quantitative proteinuria."},"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.","estimated_g_day":1,"formula":"ginsberg","formula_expression":"protein_creatinine_ratio = urine_protein_mg_dl / urine_creatinine_mg_dl","ginsberg_band":"0_2_to_3_5","protein_creatinine_ratio":1,"urine_creatinine_mg_dl":100,"urine_protein_mg_dl":100},{"citation":{"authors":"Ginsberg JM, Chang BS, Matarese RA, Garella S","doi":"10.1056/nejm198312223092503","id":"ginsberg-1983","pmid":"6656849","source":"N Engl J Med. 1983;309(25):1543-1546","title":"Use of single voided urine samples to estimate quantitative proteinuria."},"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.","estimated_g_day":1,"formula":"ginsberg","formula_expression":"protein_creatinine_ratio = urine_protein_mg_dl / urine_creatinine_mg_dl","ginsberg_band":"0_2_to_3_5","protein_creatinine_ratio":1,"urine_creatinine_mg_dl":100,"urine_protein_mg_dl":100}],"path":"/api/calc/urine_pcr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"urine_creatinine_mg_dl":{"description":"Urine creatinine in mg/dL (1-500). Provide this or urine_creatinine_umol_l.","type":"number"},"urine_creatinine_umol_l":{"description":"Urine creatinine in µmol/L (88-44210). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"urine_protein_mg_dl":{"description":"Urine total protein in mg/dL (0.1-2000). Total protein, not albumin.","type":"number"}},"required":["urine_protein_mg_dl"],"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},{"id":38920,"slug":"38920","resource":"https://api.magentlab.com/api/calc/vexus","description":"Beaubien-Souligny 2020 VExUS C only (not A, B, D, or E). Caller-assigned ivc_dilated (IVC ≥2 cm) plus hepatic, portal, and intra-renal Doppler each normal, mild, or severe. Grade 0 if the IVC is not dilated; 1 if dilated with zero severe patterns; 2 if exactly one severe; 3 if two or more are severe. magent does not perform ultrasound. Not an AKI diagnosis or a fluid-order. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hepatic":"normal","ivc_dilated":false,"portal":"normal","renal":"normal"},{"hepatic":"normal","ivc_dilated":false,"portal":"normal","renal":"normal"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Beaubien-Souligny W, Rola P, Haycock K, Bouchard J, Lamarche Y, Spiegel R, Denault AY","doi":"10.1186/s13089-020-00163-w","id":"beaubien-souligny-2020","pmid":"32270297","source":"Ultrasound J. 2020;12(1):16","title":"Quantifying systemic congestion with Point-Of-Care ultrasound: development of the venous excess ultrasound grading system"},"components":[{"factor":"ivc_dilated","met":false},{"factor":"hepatic_severe","met":false,"value":"normal"},{"factor":"portal_severe","met":false,"value":"normal"},{"factor":"renal_severe","met":false,"value":"normal"},{"factor":"grade_0","met":true},{"factor":"grade_1","met":false},{"factor":"grade_2","met":false},{"factor":"grade_3","met":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":"vexus","formula_expression":"VExUS C grade 0 if ivc_dilated is false (regardless of Doppler); else 1 if zero of hepatic/portal/renal are severe; 2 if exactly one is severe; 3 if two or more are severe (Beaubien-Souligny 2020 prototype C). Hepatic: normal (triphasic S>D toward liver), mild (S<D toward liver), severe (S reversed toward heart). Portal: mild pulsatility 30 to <50%, severe ≥50%. Renal: mild discontinuous S and D, severe only D. IVC dilated iff maximal diameter ≥2 cm as assigned. Not prototypes A, B, D, E","hepatic":"normal","ivc_dilated":false,"portal":"normal","renal":"normal","severe_doppler_count":0,"vexus_grade":0},{"citation":{"authors":"Beaubien-Souligny W, Rola P, Haycock K, Bouchard J, Lamarche Y, Spiegel R, Denault AY","doi":"10.1186/s13089-020-00163-w","id":"beaubien-souligny-2020","pmid":"32270297","source":"Ultrasound J. 2020;12(1):16","title":"Quantifying systemic congestion with Point-Of-Care ultrasound: development of the venous excess ultrasound grading system"},"components":[{"factor":"ivc_dilated","met":false},{"factor":"hepatic_severe","met":false,"value":"normal"},{"factor":"portal_severe","met":false,"value":"normal"},{"factor":"renal_severe","met":false,"value":"normal"},{"factor":"grade_0","met":true},{"factor":"grade_1","met":false},{"factor":"grade_2","met":false},{"factor":"grade_3","met":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":"vexus","formula_expression":"VExUS C grade 0 if ivc_dilated is false (regardless of Doppler); else 1 if zero of hepatic/portal/renal are severe; 2 if exactly one is severe; 3 if two or more are severe (Beaubien-Souligny 2020 prototype C). Hepatic: normal (triphasic S>D toward liver), mild (S<D toward liver), severe (S reversed toward heart). Portal: mild pulsatility 30 to <50%, severe ≥50%. Renal: mild discontinuous S and D, severe only D. IVC dilated iff maximal diameter ≥2 cm as assigned. Not prototypes A, B, D, E","hepatic":"normal","ivc_dilated":false,"portal":"normal","renal":"normal","severe_doppler_count":0,"vexus_grade":0}],"path":"/api/calc/vexus"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hepatic":{"description":"Hepatic-vein Doppler grade as assigned by the caller (Beaubien-Souligny 2020 Figure 1): normal (not mild and not severe; triphasic S > D toward the liver); mild (S component lower in magnitude than D but still toward the liver); severe (S component reversed, toward the heart). magent does not perform ultrasound.","enum":["normal","mild","severe"],"type":"string"},"ivc_dilated":{"description":"Whether the IVC is dilated as assigned by the caller. Dilated iff maximal IVC diameter ≥2 cm (Beaubien-Souligny 2020). true or false. Grade 0 whenever this is false, regardless of Doppler. magent does not measure IVC.","type":"boolean"},"portal":{"description":"Portal-vein Doppler grade as assigned by the caller (Beaubien-Souligny 2020 Figure 1 caption): normal (pulsatility fraction not in the mild or severe bands); mild (velocity variation 30 to <50%); severe (variation ≥50%). magent does not perform ultrasound.","enum":["normal","mild","severe"],"type":"string"},"renal":{"description":"Intra-renal venous Doppler grade as assigned by the caller (Beaubien-Souligny 2020 Figure 1): normal (continuous flow); mild (discontinuous with a systolic and a diastolic phase); severe (discontinuous with only a diastolic phase during the cardiac cycle). magent does not perform ultrasound.","enum":["normal","mild","severe"],"type":"string"}},"required":["ivc_dilated","hepatic","portal","renal"],"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":["vexus","vexus-c","congestion","hemodynamics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T16:17:18.262Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T16:17:18.058Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hepatic":"normal","ivc_dilated":false,"portal":"normal","renal":"normal"},{"hepatic":"normal","ivc_dilated":false,"portal":"normal","renal":"normal"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Beaubien-Souligny W, Rola P, Haycock K, Bouchard J, Lamarche Y, Spiegel R, Denault AY","doi":"10.1186/s13089-020-00163-w","id":"beaubien-souligny-2020","pmid":"32270297","source":"Ultrasound J. 2020;12(1):16","title":"Quantifying systemic congestion with Point-Of-Care ultrasound: development of the venous excess ultrasound grading system"},"components":[{"factor":"ivc_dilated","met":false},{"factor":"hepatic_severe","met":false,"value":"normal"},{"factor":"portal_severe","met":false,"value":"normal"},{"factor":"renal_severe","met":false,"value":"normal"},{"factor":"grade_0","met":true},{"factor":"grade_1","met":false},{"factor":"grade_2","met":false},{"factor":"grade_3","met":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":"vexus","formula_expression":"VExUS C grade 0 if ivc_dilated is false (regardless of Doppler); else 1 if zero of hepatic/portal/renal are severe; 2 if exactly one is severe; 3 if two or more are severe (Beaubien-Souligny 2020 prototype C). Hepatic: normal (triphasic S>D toward liver), mild (S<D toward liver), severe (S reversed toward heart). Portal: mild pulsatility 30 to <50%, severe ≥50%. Renal: mild discontinuous S and D, severe only D. IVC dilated iff maximal diameter ≥2 cm as assigned. Not prototypes A, B, D, E","hepatic":"normal","ivc_dilated":false,"portal":"normal","renal":"normal","severe_doppler_count":0,"vexus_grade":0},{"citation":{"authors":"Beaubien-Souligny W, Rola P, Haycock K, Bouchard J, Lamarche Y, Spiegel R, Denault AY","doi":"10.1186/s13089-020-00163-w","id":"beaubien-souligny-2020","pmid":"32270297","source":"Ultrasound J. 2020;12(1):16","title":"Quantifying systemic congestion with Point-Of-Care ultrasound: development of the venous excess ultrasound grading system"},"components":[{"factor":"ivc_dilated","met":false},{"factor":"hepatic_severe","met":false,"value":"normal"},{"factor":"portal_severe","met":false,"value":"normal"},{"factor":"renal_severe","met":false,"value":"normal"},{"factor":"grade_0","met":true},{"factor":"grade_1","met":false},{"factor":"grade_2","met":false},{"factor":"grade_3","met":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":"vexus","formula_expression":"VExUS C grade 0 if ivc_dilated is false (regardless of Doppler); else 1 if zero of hepatic/portal/renal are severe; 2 if exactly one is severe; 3 if two or more are severe (Beaubien-Souligny 2020 prototype C). Hepatic: normal (triphasic S>D toward liver), mild (S<D toward liver), severe (S reversed toward heart). Portal: mild pulsatility 30 to <50%, severe ≥50%. Renal: mild discontinuous S and D, severe only D. IVC dilated iff maximal diameter ≥2 cm as assigned. Not prototypes A, B, D, E","hepatic":"normal","ivc_dilated":false,"portal":"normal","renal":"normal","severe_doppler_count":0,"vexus_grade":0}],"path":"/api/calc/vexus"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hepatic":{"description":"Hepatic-vein Doppler grade as assigned by the caller (Beaubien-Souligny 2020 Figure 1): normal (not mild and not severe; triphasic S > D toward the liver); mild (S component lower in magnitude than D but still toward the liver); severe (S component reversed, toward the heart). magent does not perform ultrasound.","enum":["normal","mild","severe"],"type":"string"},"ivc_dilated":{"description":"Whether the IVC is dilated as assigned by the caller. Dilated iff maximal IVC diameter ≥2 cm (Beaubien-Souligny 2020). true or false. Grade 0 whenever this is false, regardless of Doppler. magent does not measure IVC.","type":"boolean"},"portal":{"description":"Portal-vein Doppler grade as assigned by the caller (Beaubien-Souligny 2020 Figure 1 caption): normal (pulsatility fraction not in the mild or severe bands); mild (velocity variation 30 to <50%); severe (variation ≥50%). magent does not perform ultrasound.","enum":["normal","mild","severe"],"type":"string"},"renal":{"description":"Intra-renal venous Doppler grade as assigned by the caller (Beaubien-Souligny 2020 Figure 1): normal (continuous flow); mild (discontinuous with a systolic and a diastolic phase); severe (discontinuous with only a diastolic phase during the cardiac cycle). magent does not perform ultrasound.","enum":["normal","mild","severe"],"type":"string"}},"required":["ivc_dilated","hepatic","portal","renal"],"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},{"id":38921,"slug":"38921","resource":"https://api.magentlab.com/api/calc/whr","description":"Waist–hip ratio from waist and hip circumference (WHO 2011 expert consultation). WHR = waist_cm / hip_cm after the same unit normalize; optional inches convert as cm = in * 2.54. Deterministic published arithmetic with citation. Not a medical device, body-fat diagnosis, or cardiovascular diagnosis; magent does not apply obesity or sex-specific cutoffs and does not measure the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hip_cm":100,"hip_in":40,"waist_cm":80,"waist_in":32},{"hip_cm":100,"hip_in":40,"waist_cm":80,"waist_in":32}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"World Health Organization","id":"who-2011","pmid":"22184524","source":"Geneva: World Health Organization; 2011","title":"Waist circumference and waist–hip ratio: report of a WHO expert consultation, Geneva, 8–11 December 2008"},"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":"whr","formula_expression":"WHR = waist_cm / hip_cm","hip_cm":100,"waist_cm":80,"whr":0.8},{"citation":{"authors":"World Health Organization","id":"who-2011","pmid":"22184524","source":"Geneva: World Health Organization; 2011","title":"Waist circumference and waist–hip ratio: report of a WHO expert consultation, Geneva, 8–11 December 2008"},"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":"whr","formula_expression":"WHR = waist_cm / hip_cm","hip_cm":100,"waist_cm":80,"whr":0.8}],"path":"/api/calc/whr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hip_cm":{"description":"Hip circumference in centimeters (40-200). Provide hip_cm or hip_in.","type":"number"},"hip_in":{"description":"Hip circumference in inches. Converted as cm = in * 2.54.","type":"number"},"waist_cm":{"description":"Waist circumference in centimeters (40-200). Provide waist_cm or waist_in.","type":"number"},"waist_in":{"description":"Waist circumference in inches. Converted as cm = in * 2.54.","type":"number"}},"required":[],"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":["whr","waist","hip","adiposity","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T23:43:15.339Z","quality":{"calls30d":6,"uniquePayers30d":3,"lastCalledAt":"2026-10-13T23:43:15.177Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hip_cm":100,"hip_in":40,"waist_cm":80,"waist_in":32},{"hip_cm":100,"hip_in":40,"waist_cm":80,"waist_in":32}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"World Health Organization","id":"who-2011","pmid":"22184524","source":"Geneva: World Health Organization; 2011","title":"Waist circumference and waist–hip ratio: report of a WHO expert consultation, Geneva, 8–11 December 2008"},"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":"whr","formula_expression":"WHR = waist_cm / hip_cm","hip_cm":100,"waist_cm":80,"whr":0.8},{"citation":{"authors":"World Health Organization","id":"who-2011","pmid":"22184524","source":"Geneva: World Health Organization; 2011","title":"Waist circumference and waist–hip ratio: report of a WHO expert consultation, Geneva, 8–11 December 2008"},"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":"whr","formula_expression":"WHR = waist_cm / hip_cm","hip_cm":100,"waist_cm":80,"whr":0.8}],"path":"/api/calc/whr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hip_cm":{"description":"Hip circumference in centimeters (40-200). Provide hip_cm or hip_in.","type":"number"},"hip_in":{"description":"Hip circumference in inches. Converted as cm = in * 2.54.","type":"number"},"waist_cm":{"description":"Waist circumference in centimeters (40-200). Provide waist_cm or waist_in.","type":"number"},"waist_in":{"description":"Waist circumference in inches. Converted as cm = in * 2.54.","type":"number"}},"required":[],"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},{"id":39502,"slug":"39502","resource":"https://api.magentlab.com/api/codes/lookup","description":"Look up a current RxNorm, ICD-10-CM, or LOINC display from an exact code. Use when an agent already has a code and must not invent the preferred term.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"code":"198440","system":"rxnorm"},{"code":"198440","system":"rxnorm"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"billable":null,"catalog":{"coverage":"seed","coverage_meaning":"Compiled seed catalog. Production coverage=full is gold-gated Current Prescribable RxNorm + ICD-10-CM + LOINC, not complete monthly RxNorm or UMLS.","notes":"ICD-10 entries are ICD-10-CM (US claims), not WHO ICD-10. RxNorm codes are RxCUI. LOINC codes are official LOINC numerics. coverage=full never means complete UMLS.","source":"magent curated seed","stale":false,"systems":["rxnorm","icd10","loinc"],"verified_at":null,"version":"2026.08-wedge"},"code":"198440","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.","display":"acetaminophen 500 MG Oral Tablet","found":true,"obsolete":false,"status":"current","synonyms":["tylenol 500mg","tylenol 500 mg","acetaminophen 500mg","acetaminophen 500 mg tablet","paracetamol 500 mg"],"system":"rxnorm","tty":"SCD"},{"billable":null,"catalog":{"coverage":"seed","coverage_meaning":"Compiled seed catalog. Production coverage=full is gold-gated Current Prescribable RxNorm + ICD-10-CM + LOINC, not complete monthly RxNorm or UMLS.","notes":"ICD-10 entries are ICD-10-CM (US claims), not WHO ICD-10. RxNorm codes are RxCUI. LOINC codes are official LOINC numerics. coverage=full never means complete UMLS.","source":"magent curated seed","stale":false,"systems":["rxnorm","icd10","loinc"],"verified_at":null,"version":"2026.08-wedge"},"code":"198440","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.","display":"acetaminophen 500 MG Oral Tablet","found":true,"obsolete":false,"status":"current","synonyms":["tylenol 500mg","tylenol 500 mg","acetaminophen 500mg","acetaminophen 500 mg tablet","paracetamol 500 mg"],"system":"rxnorm","tty":"SCD"}],"path":"/api/codes/lookup"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"code":{"description":"Exact published identifier. ICD-10-CM accepts dotted or compact form (E11.9 or E119). Max 32 characters.","type":"string"},"system":{"description":"rxnorm, icd10 (ICD-10-CM), or loinc.","enum":["rxnorm","icd10","loinc"],"type":"string"}},"required":["system","code"],"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":["rxnorm","icd10","icd10cm","loinc","lookup","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-14T00:02:48.735Z","quality":{"calls30d":6,"uniquePayers30d":2,"lastCalledAt":"2026-10-14T00:02:48.437Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"code":"198440","system":"rxnorm"},{"code":"198440","system":"rxnorm"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"billable":null,"catalog":{"coverage":"seed","coverage_meaning":"Compiled seed catalog. Production coverage=full is gold-gated Current Prescribable RxNorm + ICD-10-CM + LOINC, not complete monthly RxNorm or UMLS.","notes":"ICD-10 entries are ICD-10-CM (US claims), not WHO ICD-10. RxNorm codes are RxCUI. LOINC codes are official LOINC numerics. coverage=full never means complete UMLS.","source":"magent curated seed","stale":false,"systems":["rxnorm","icd10","loinc"],"verified_at":null,"version":"2026.08-wedge"},"code":"198440","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.","display":"acetaminophen 500 MG Oral Tablet","found":true,"obsolete":false,"status":"current","synonyms":["tylenol 500mg","tylenol 500 mg","acetaminophen 500mg","acetaminophen 500 mg tablet","paracetamol 500 mg"],"system":"rxnorm","tty":"SCD"},{"billable":null,"catalog":{"coverage":"seed","coverage_meaning":"Compiled seed catalog. Production coverage=full is gold-gated Current Prescribable RxNorm + ICD-10-CM + LOINC, not complete monthly RxNorm or UMLS.","notes":"ICD-10 entries are ICD-10-CM (US claims), not WHO ICD-10. RxNorm codes are RxCUI. LOINC codes are official LOINC numerics. coverage=full never means complete UMLS.","source":"magent curated seed","stale":false,"systems":["rxnorm","icd10","loinc"],"verified_at":null,"version":"2026.08-wedge"},"code":"198440","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.","display":"acetaminophen 500 MG Oral Tablet","found":true,"obsolete":false,"status":"current","synonyms":["tylenol 500mg","tylenol 500 mg","acetaminophen 500mg","acetaminophen 500 mg tablet","paracetamol 500 mg"],"system":"rxnorm","tty":"SCD"}],"path":"/api/codes/lookup"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"code":{"description":"Exact published identifier. ICD-10-CM accepts dotted or compact form (E11.9 or E119). Max 32 characters.","type":"string"},"system":{"description":"rxnorm, icd10 (ICD-10-CM), or loinc.","enum":["rxnorm","icd10","loinc"],"type":"string"}},"required":["system","code"],"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},{"id":38870,"slug":"38870","resource":"https://api.magentlab.com/api/calc/simplified_bishop","description":"Laughon 2011 simplified Bishop score from three caller-assigned Bishop 1964 integers: dilation, station, and effacement (each 0-3; max 9). Paper bins: dilation 0 / 1-2 / 3-4 / 5-6 cm; station -3 / -2 / -1 or 0 / +1 or +2; effacement 0-30 / 40-50 / 60-70 / 80%. favorable iff score >5 (Laughon compared with original Bishop >8; PPV 87.7% in that paper). magent does not examine the cervix or add consistency or position. Not a cervical exam or induction order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"dilation":3,"effacement":2,"station":2},{"dilation":3,"effacement":2,"station":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Laughon SK, Zhang J, Troendle J, Sun L, Reddy UM","doi":"10.1097/AOG.0b013e3182114ad2","id":"laughon-2011","pmid":"21383643","source":"Obstet Gynecol. 2011;117(4):805-811","title":"Using a simplified Bishop score to predict vaginal delivery"},"components":[{"factor":"dilation","points":3,"present":true,"value":3},{"factor":"station","points":2,"present":true,"value":2},{"factor":"effacement","points":2,"present":true,"value":2}],"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.","favorable":true,"formula":"simplified_bishop","formula_expression":"simplified Bishop = dilation + station + effacement; Bishop 1964 caller-assigned integers 0-3, 0-3, 0-3; Laughon 2011; max 9; favorable iff score > 5","max_score":9,"score":7},{"citation":{"authors":"Laughon SK, Zhang J, Troendle J, Sun L, Reddy UM","doi":"10.1097/AOG.0b013e3182114ad2","id":"laughon-2011","pmid":"21383643","source":"Obstet Gynecol. 2011;117(4):805-811","title":"Using a simplified Bishop score to predict vaginal delivery"},"components":[{"factor":"dilation","points":3,"present":true,"value":3},{"factor":"station","points":2,"present":true,"value":2},{"factor":"effacement","points":2,"present":true,"value":2}],"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.","favorable":true,"formula":"simplified_bishop","formula_expression":"simplified Bishop = dilation + station + effacement; Bishop 1964 caller-assigned integers 0-3, 0-3, 0-3; Laughon 2011; max 9; favorable iff score > 5","max_score":9,"score":7}],"path":"/api/calc/simplified_bishop"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"dilation":{"description":"Caller-assigned Bishop 1964 dilation points 0-3 (paper bins: 0 cm → 0; 1-2 cm → 1; 3-4 cm → 2; 5-6 cm → 3). magent does not measure dilation.","type":"integer"},"effacement":{"description":"Caller-assigned Bishop 1964 effacement points 0-3 (paper bins: 0-30% → 0; 40-50% → 1; 60-70% → 2; 80% → 3). magent does not measure effacement.","type":"integer"},"station":{"description":"Caller-assigned Bishop 1964 station points 0-3 (paper bins: -3 → 0; -2 → 1; -1 or 0 → 2; +1 or +2 → 3). magent does not assign station.","type":"integer"}},"required":["dilation","station","effacement"],"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":["simplified-bishop","bishop","induction","cervix","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:04:21.446Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T15:04:21.307Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"dilation":3,"effacement":2,"station":2},{"dilation":3,"effacement":2,"station":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Laughon SK, Zhang J, Troendle J, Sun L, Reddy UM","doi":"10.1097/AOG.0b013e3182114ad2","id":"laughon-2011","pmid":"21383643","source":"Obstet Gynecol. 2011;117(4):805-811","title":"Using a simplified Bishop score to predict vaginal delivery"},"components":[{"factor":"dilation","points":3,"present":true,"value":3},{"factor":"station","points":2,"present":true,"value":2},{"factor":"effacement","points":2,"present":true,"value":2}],"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.","favorable":true,"formula":"simplified_bishop","formula_expression":"simplified Bishop = dilation + station + effacement; Bishop 1964 caller-assigned integers 0-3, 0-3, 0-3; Laughon 2011; max 9; favorable iff score > 5","max_score":9,"score":7},{"citation":{"authors":"Laughon SK, Zhang J, Troendle J, Sun L, Reddy UM","doi":"10.1097/AOG.0b013e3182114ad2","id":"laughon-2011","pmid":"21383643","source":"Obstet Gynecol. 2011;117(4):805-811","title":"Using a simplified Bishop score to predict vaginal delivery"},"components":[{"factor":"dilation","points":3,"present":true,"value":3},{"factor":"station","points":2,"present":true,"value":2},{"factor":"effacement","points":2,"present":true,"value":2}],"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.","favorable":true,"formula":"simplified_bishop","formula_expression":"simplified Bishop = dilation + station + effacement; Bishop 1964 caller-assigned integers 0-3, 0-3, 0-3; Laughon 2011; max 9; favorable iff score > 5","max_score":9,"score":7}],"path":"/api/calc/simplified_bishop"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"dilation":{"description":"Caller-assigned Bishop 1964 dilation points 0-3 (paper bins: 0 cm → 0; 1-2 cm → 1; 3-4 cm → 2; 5-6 cm → 3). magent does not measure dilation.","type":"integer"},"effacement":{"description":"Caller-assigned Bishop 1964 effacement points 0-3 (paper bins: 0-30% → 0; 40-50% → 1; 60-70% → 2; 80% → 3). magent does not measure effacement.","type":"integer"},"station":{"description":"Caller-assigned Bishop 1964 station points 0-3 (paper bins: -3 → 0; -2 → 1; -1 or 0 → 2; +1 or +2 → 3). magent does not assign station.","type":"integer"}},"required":["dilation","station","effacement"],"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},{"id":38871,"slug":"38871","resource":"https://api.magentlab.com/api/calc/steroid_conversion","description":"Convert a glucocorticoid milligram dose among hydrocortisone, prednisone, and dexamethasone using Meikle 1977 equivalent doses (20 : 5 : 0.75). Not a taper, stress-dose protocol, or regimen recommendation; mineralocorticoid activity is not converted. Deterministic published table with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"dose_mg":20,"from":"hydrocortisone","to":"prednisone"},{"dose_mg":20,"from":"hydrocortisone","to":"prednisone"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Meikle AW, Tyler FH","doi":"10.1016/0002-9343(77)90233-9","id":"meikle-1977","source":"Am J Med. 1977;63(2):200-207","title":"Potency and duration of action of glucocorticoids. Effects of hydrocortisone, prednisone and dexamethasone on human pituitary-adrenal function"},"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.","dose_mg":20,"equivalent_dose_mg":5,"formula":"steroid_conversion","formula_expression":"equivalent_dose_mg = dose_mg * (to_equivalent_mg / from_equivalent_mg); hydrocortisone 20 mg = prednisone 5 mg = dexamethasone 0.75 mg (Meikle 1977)","from":"hydrocortisone","from_equivalent_mg":20,"to":"prednisone","to_equivalent_mg":5},{"citation":{"authors":"Meikle AW, Tyler FH","doi":"10.1016/0002-9343(77)90233-9","id":"meikle-1977","source":"Am J Med. 1977;63(2):200-207","title":"Potency and duration of action of glucocorticoids. Effects of hydrocortisone, prednisone and dexamethasone on human pituitary-adrenal function"},"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.","dose_mg":20,"equivalent_dose_mg":5,"formula":"steroid_conversion","formula_expression":"equivalent_dose_mg = dose_mg * (to_equivalent_mg / from_equivalent_mg); hydrocortisone 20 mg = prednisone 5 mg = dexamethasone 0.75 mg (Meikle 1977)","from":"hydrocortisone","from_equivalent_mg":20,"to":"prednisone","to_equivalent_mg":5}],"path":"/api/calc/steroid_conversion"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"dose_mg":{"description":"Dose of the source glucocorticoid in milligrams (0.1-5000).","type":"number"},"from":{"description":"Source glucocorticoid. hydrocortisone, prednisone, or dexamethasone (Meikle 1977).","enum":["hydrocortisone","prednisone","dexamethasone"],"type":"string"},"to":{"description":"Target glucocorticoid. hydrocortisone, prednisone, or dexamethasone (Meikle 1977).","enum":["hydrocortisone","prednisone","dexamethasone"],"type":"string"}},"required":["from","to","dose_mg"],"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":["glucocorticoid","steroid","conversion","prednisone","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:03:08.63Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T15:03:08.498Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"dose_mg":20,"from":"hydrocortisone","to":"prednisone"},{"dose_mg":20,"from":"hydrocortisone","to":"prednisone"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Meikle AW, Tyler FH","doi":"10.1016/0002-9343(77)90233-9","id":"meikle-1977","source":"Am J Med. 1977;63(2):200-207","title":"Potency and duration of action of glucocorticoids. Effects of hydrocortisone, prednisone and dexamethasone on human pituitary-adrenal function"},"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.","dose_mg":20,"equivalent_dose_mg":5,"formula":"steroid_conversion","formula_expression":"equivalent_dose_mg = dose_mg * (to_equivalent_mg / from_equivalent_mg); hydrocortisone 20 mg = prednisone 5 mg = dexamethasone 0.75 mg (Meikle 1977)","from":"hydrocortisone","from_equivalent_mg":20,"to":"prednisone","to_equivalent_mg":5},{"citation":{"authors":"Meikle AW, Tyler FH","doi":"10.1016/0002-9343(77)90233-9","id":"meikle-1977","source":"Am J Med. 1977;63(2):200-207","title":"Potency and duration of action of glucocorticoids. Effects of hydrocortisone, prednisone and dexamethasone on human pituitary-adrenal function"},"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.","dose_mg":20,"equivalent_dose_mg":5,"formula":"steroid_conversion","formula_expression":"equivalent_dose_mg = dose_mg * (to_equivalent_mg / from_equivalent_mg); hydrocortisone 20 mg = prednisone 5 mg = dexamethasone 0.75 mg (Meikle 1977)","from":"hydrocortisone","from_equivalent_mg":20,"to":"prednisone","to_equivalent_mg":5}],"path":"/api/calc/steroid_conversion"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"dose_mg":{"description":"Dose of the source glucocorticoid in milligrams (0.1-5000).","type":"number"},"from":{"description":"Source glucocorticoid. hydrocortisone, prednisone, or dexamethasone (Meikle 1977).","enum":["hydrocortisone","prednisone","dexamethasone"],"type":"string"},"to":{"description":"Target glucocorticoid. hydrocortisone, prednisone, or dexamethasone (Meikle 1977).","enum":["hydrocortisone","prednisone","dexamethasone"],"type":"string"}},"required":["from","to","dose_mg"],"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},{"id":38872,"slug":"38872","resource":"https://api.magentlab.com/api/calc/naloxone_drip","description":"Continuous intravenous naloxone infusion as two-thirds of the caller-assigned reversal bolus each hour (Goldfrank 1986). infusion_mg_h = (2/3) * reversal_bolus_mg maintains plasma naloxone at or above the 30-minute post-bolus level. magent does not choose the bolus or start naloxone. Not a prescription or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"reversal_bolus_mg":0.4},{"reversal_bolus_mg":0.4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Goldfrank L, Weisman RS, Errick JK, Lo MW","doi":"10.1016/S0196-0644(86)80994-5","id":"goldfrank-1986","pmid":"3963538","source":"Ann Emerg Med. 1986;15(5):566-570","title":"A dosing nomogram for continuous infusion intravenous naloxone"},"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":"goldfrank_1986","formula_expression":"infusion_mg_h = (2/3) * reversal_bolus_mg","infusion_mg_h":0.267,"reversal_bolus_mg":0.4},{"citation":{"authors":"Goldfrank L, Weisman RS, Errick JK, Lo MW","doi":"10.1016/S0196-0644(86)80994-5","id":"goldfrank-1986","pmid":"3963538","source":"Ann Emerg Med. 1986;15(5):566-570","title":"A dosing nomogram for continuous infusion intravenous naloxone"},"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":"goldfrank_1986","formula_expression":"infusion_mg_h = (2/3) * reversal_bolus_mg","infusion_mg_h":0.267,"reversal_bolus_mg":0.4}],"path":"/api/calc/naloxone_drip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"reversal_bolus_mg":{"description":"Caller-assigned naloxone reversal bolus in mg (0.04-10.0) that already resulted in reversal. magent does not choose the bolus.","type":"number"}},"required":["reversal_bolus_mg"],"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":["naloxone","infusion","opioid","goldfrank","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:02:40.759Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T15:02:40.623Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"reversal_bolus_mg":0.4},{"reversal_bolus_mg":0.4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Goldfrank L, Weisman RS, Errick JK, Lo MW","doi":"10.1016/S0196-0644(86)80994-5","id":"goldfrank-1986","pmid":"3963538","source":"Ann Emerg Med. 1986;15(5):566-570","title":"A dosing nomogram for continuous infusion intravenous naloxone"},"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":"goldfrank_1986","formula_expression":"infusion_mg_h = (2/3) * reversal_bolus_mg","infusion_mg_h":0.267,"reversal_bolus_mg":0.4},{"citation":{"authors":"Goldfrank L, Weisman RS, Errick JK, Lo MW","doi":"10.1016/S0196-0644(86)80994-5","id":"goldfrank-1986","pmid":"3963538","source":"Ann Emerg Med. 1986;15(5):566-570","title":"A dosing nomogram for continuous infusion intravenous naloxone"},"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":"goldfrank_1986","formula_expression":"infusion_mg_h = (2/3) * reversal_bolus_mg","infusion_mg_h":0.267,"reversal_bolus_mg":0.4}],"path":"/api/calc/naloxone_drip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"reversal_bolus_mg":{"description":"Caller-assigned naloxone reversal bolus in mg (0.04-10.0) that already resulted in reversal. magent does not choose the bolus.","type":"number"}},"required":["reversal_bolus_mg"],"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},{"id":38873,"slug":"38873","resource":"https://api.magentlab.com/api/calc/rhig","description":"ACOG Practice Bulletin 181 RhD immune globulin vial arithmetic. fmh_ml = fetal_cells_percent/100 * maternal_blood_volume_ml. One 300 microgram vial covers 30 mL Rh D-positive fetal whole blood. AABB Technical Manual rounding: if frac(fmh_ml/30) >= 0.5 round up then add one vial; if < 0.5 round down then add one. Minimum 1 vial. Caller assigns Kleihauer–Betke percent and maternal volume; magent does not read slides. Not a prescription or brand order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fetal_cells_percent":0.4,"maternal_blood_volume_ml":5000},{"fetal_cells_percent":0.4,"maternal_blood_volume_ml":5000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Committee on Practice Bulletins-Obstetrics","doi":"10.1097/AOG.0000000000002232","id":"acog-2017-181","pmid":"28742673","source":"Obstet Gynecol. 2017;130(2):e57-e70","title":"Prevention of Rh D Alloimmunization"},"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.","fetal_cells_percent":0.4,"fmh_ml":20,"formula":"acog_pb_181","formula_expression":"fmh_ml = fetal_cells_percent / 100 * maternal_blood_volume_ml; raw = fmh_ml / 30; vials = (frac(raw) >= 0.5 ? ceil(raw) : floor(raw)) + 1","maternal_blood_volume_ml":5000,"raw":0.667,"vial_micrograms":300,"vials":2},{"citation":{"authors":"Committee on Practice Bulletins-Obstetrics","doi":"10.1097/AOG.0000000000002232","id":"acog-2017-181","pmid":"28742673","source":"Obstet Gynecol. 2017;130(2):e57-e70","title":"Prevention of Rh D Alloimmunization"},"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.","fetal_cells_percent":0.4,"fmh_ml":20,"formula":"acog_pb_181","formula_expression":"fmh_ml = fetal_cells_percent / 100 * maternal_blood_volume_ml; raw = fmh_ml / 30; vials = (frac(raw) >= 0.5 ? ceil(raw) : floor(raw)) + 1","maternal_blood_volume_ml":5000,"raw":0.667,"vial_micrograms":300,"vials":2}],"path":"/api/calc/rhig"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fetal_cells_percent":{"description":"Caller-assigned Kleihauer–Betke fetal-cell percent (0-5). magent does not interpret slides.","type":"number"},"maternal_blood_volume_ml":{"description":"Caller-assigned maternal blood volume in mL (3000-10000). magent does not compute Nadler EBV.","type":"number"}},"required":["fetal_cells_percent","maternal_blood_volume_ml"],"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":["rhig","rhd","fmh","acog","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:02:19.553Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T15:02:19.415Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fetal_cells_percent":0.4,"maternal_blood_volume_ml":5000},{"fetal_cells_percent":0.4,"maternal_blood_volume_ml":5000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Committee on Practice Bulletins-Obstetrics","doi":"10.1097/AOG.0000000000002232","id":"acog-2017-181","pmid":"28742673","source":"Obstet Gynecol. 2017;130(2):e57-e70","title":"Prevention of Rh D Alloimmunization"},"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.","fetal_cells_percent":0.4,"fmh_ml":20,"formula":"acog_pb_181","formula_expression":"fmh_ml = fetal_cells_percent / 100 * maternal_blood_volume_ml; raw = fmh_ml / 30; vials = (frac(raw) >= 0.5 ? ceil(raw) : floor(raw)) + 1","maternal_blood_volume_ml":5000,"raw":0.667,"vial_micrograms":300,"vials":2},{"citation":{"authors":"Committee on Practice Bulletins-Obstetrics","doi":"10.1097/AOG.0000000000002232","id":"acog-2017-181","pmid":"28742673","source":"Obstet Gynecol. 2017;130(2):e57-e70","title":"Prevention of Rh D Alloimmunization"},"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.","fetal_cells_percent":0.4,"fmh_ml":20,"formula":"acog_pb_181","formula_expression":"fmh_ml = fetal_cells_percent / 100 * maternal_blood_volume_ml; raw = fmh_ml / 30; vials = (frac(raw) >= 0.5 ? ceil(raw) : floor(raw)) + 1","maternal_blood_volume_ml":5000,"raw":0.667,"vial_micrograms":300,"vials":2}],"path":"/api/calc/rhig"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fetal_cells_percent":{"description":"Caller-assigned Kleihauer–Betke fetal-cell percent (0-5). magent does not interpret slides.","type":"number"},"maternal_blood_volume_ml":{"description":"Caller-assigned maternal blood volume in mL (3000-10000). magent does not compute Nadler EBV.","type":"number"}},"required":["fetal_cells_percent","maternal_blood_volume_ml"],"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},{"id":38874,"slug":"38874","resource":"https://api.magentlab.com/api/calc/sickle_rbc_exchange","description":"Nadler 1962 adult blood volume plus exponential remaining-fraction washout (Y/Y0 = e^(−X)) for sickle RBC exchange replacement pRBC volume. FCR = target_hbs / initial_hbs; X = −ln(FCR). Caller supplies hematocrits and HbS percents. Optional approx units if unit_volume_ml is sent. Deterministic published arithmetic. Not an apheresis order or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"height_cm":170,"height_in":66.92913385826772,"hematocrit_percent":30,"initial_hbs_percent":90,"replacement_hct_percent":60,"sex":"male","target_hbs_percent":30,"unit_volume_ml":350,"weight_kg":70,"weight_lb":154.32},{"height_cm":170,"height_in":66.92913385826772,"hematocrit_percent":30,"initial_hbs_percent":90,"replacement_hct_percent":60,"sex":"male","target_hbs_percent":30,"unit_volume_ml":350,"weight_kg":70,"weight_lb":154.32}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"blood_volume_l":4.66,"blood_volume_ml":4660,"citation":{"authors":"Nadler SB, Hidalgo JH, Bloch T","id":"nadler-1962","pmid":"21936146","source":"Surgery. 1962;51(2):224-232","title":"Prediction of blood volume in normal human adults"},"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.","fcr":0.3333,"formula":"nadler_exponential_washout","formula_expression":"TBV_L male = 0.3669 * H^3 + 0.03219 * W + 0.6041; female = 0.3561 * H^3 + 0.03308 * W + 0.1833 (H meters, W kg). patient_rbc_volume_ml = TBV_mL * hematocrit_percent/100. FCR = target_hbs_percent/initial_hbs_percent. X = -ln(FCR). replacement_prbc_ml = patient_rbc_volume_ml * X / (replacement_hct_percent/100)","height_cm":170,"hematocrit_percent":30,"initial_hbs_percent":90,"patient_rbc_volume_ml":1398,"rbc_volumes_exchanged":1.0986,"replacement_hct_percent":60,"replacement_prbc_ml":2559.8,"sex":"male","target_hbs_percent":30,"weight_kg":70},{"blood_volume_l":4.66,"blood_volume_ml":4660,"citation":{"authors":"Nadler SB, Hidalgo JH, Bloch T","id":"nadler-1962","pmid":"21936146","source":"Surgery. 1962;51(2):224-232","title":"Prediction of blood volume in normal human adults"},"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.","fcr":0.3333,"formula":"nadler_exponential_washout","formula_expression":"TBV_L male = 0.3669 * H^3 + 0.03219 * W + 0.6041; female = 0.3561 * H^3 + 0.03308 * W + 0.1833 (H meters, W kg). patient_rbc_volume_ml = TBV_mL * hematocrit_percent/100. FCR = target_hbs_percent/initial_hbs_percent. X = -ln(FCR). replacement_prbc_ml = patient_rbc_volume_ml * X / (replacement_hct_percent/100)","height_cm":170,"hematocrit_percent":30,"initial_hbs_percent":90,"patient_rbc_volume_ml":1398,"rbc_volumes_exchanged":1.0986,"replacement_hct_percent":60,"replacement_prbc_ml":2559.8,"sex":"male","target_hbs_percent":30,"weight_kg":70}],"path":"/api/calc/sickle_rbc_exchange"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"hematocrit_percent":{"description":"Patient hematocrit as a percent (10-70). Required. Not a 0-1 fraction.","type":"number"},"initial_hbs_percent":{"description":"Initial HbS percent (1-100). Required. Must be greater than target_hbs_percent.","type":"number"},"replacement_hct_percent":{"description":"Replacement packed-RBC hematocrit as a percent (50-80). Required. Typical additive units are about 60. magent does not assay the unit.","type":"number"},"sex":{"description":"Sex used by Nadler 1962 (separate male and female equations).","enum":["female","male"],"type":"string"},"target_hbs_percent":{"description":"Target HbS percent (1-100). Required. Must be strictly less than initial_hbs_percent. AABB 2018 usual goal language is HbS not more than 30%; the caller sends this value.","type":"number"},"unit_volume_ml":{"description":"Optional caller-assigned unit volume in mL (50-500). When sent, response includes approx_units = replacement_prbc_ml / unit_volume_ml.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sex","hematocrit_percent","initial_hbs_percent","target_hbs_percent","replacement_hct_percent"],"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":["rbc-exchange","sickle-cell","hematology","nadler","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:02:04.995Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T15:02:04.862Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"height_cm":170,"height_in":66.92913385826772,"hematocrit_percent":30,"initial_hbs_percent":90,"replacement_hct_percent":60,"sex":"male","target_hbs_percent":30,"unit_volume_ml":350,"weight_kg":70,"weight_lb":154.32},{"height_cm":170,"height_in":66.92913385826772,"hematocrit_percent":30,"initial_hbs_percent":90,"replacement_hct_percent":60,"sex":"male","target_hbs_percent":30,"unit_volume_ml":350,"weight_kg":70,"weight_lb":154.32}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"blood_volume_l":4.66,"blood_volume_ml":4660,"citation":{"authors":"Nadler SB, Hidalgo JH, Bloch T","id":"nadler-1962","pmid":"21936146","source":"Surgery. 1962;51(2):224-232","title":"Prediction of blood volume in normal human adults"},"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.","fcr":0.3333,"formula":"nadler_exponential_washout","formula_expression":"TBV_L male = 0.3669 * H^3 + 0.03219 * W + 0.6041; female = 0.3561 * H^3 + 0.03308 * W + 0.1833 (H meters, W kg). patient_rbc_volume_ml = TBV_mL * hematocrit_percent/100. FCR = target_hbs_percent/initial_hbs_percent. X = -ln(FCR). replacement_prbc_ml = patient_rbc_volume_ml * X / (replacement_hct_percent/100)","height_cm":170,"hematocrit_percent":30,"initial_hbs_percent":90,"patient_rbc_volume_ml":1398,"rbc_volumes_exchanged":1.0986,"replacement_hct_percent":60,"replacement_prbc_ml":2559.8,"sex":"male","target_hbs_percent":30,"weight_kg":70},{"blood_volume_l":4.66,"blood_volume_ml":4660,"citation":{"authors":"Nadler SB, Hidalgo JH, Bloch T","id":"nadler-1962","pmid":"21936146","source":"Surgery. 1962;51(2):224-232","title":"Prediction of blood volume in normal human adults"},"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.","fcr":0.3333,"formula":"nadler_exponential_washout","formula_expression":"TBV_L male = 0.3669 * H^3 + 0.03219 * W + 0.6041; female = 0.3561 * H^3 + 0.03308 * W + 0.1833 (H meters, W kg). patient_rbc_volume_ml = TBV_mL * hematocrit_percent/100. FCR = target_hbs_percent/initial_hbs_percent. X = -ln(FCR). replacement_prbc_ml = patient_rbc_volume_ml * X / (replacement_hct_percent/100)","height_cm":170,"hematocrit_percent":30,"initial_hbs_percent":90,"patient_rbc_volume_ml":1398,"rbc_volumes_exchanged":1.0986,"replacement_hct_percent":60,"replacement_prbc_ml":2559.8,"sex":"male","target_hbs_percent":30,"weight_kg":70}],"path":"/api/calc/sickle_rbc_exchange"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"hematocrit_percent":{"description":"Patient hematocrit as a percent (10-70). Required. Not a 0-1 fraction.","type":"number"},"initial_hbs_percent":{"description":"Initial HbS percent (1-100). Required. Must be greater than target_hbs_percent.","type":"number"},"replacement_hct_percent":{"description":"Replacement packed-RBC hematocrit as a percent (50-80). Required. Typical additive units are about 60. magent does not assay the unit.","type":"number"},"sex":{"description":"Sex used by Nadler 1962 (separate male and female equations).","enum":["female","male"],"type":"string"},"target_hbs_percent":{"description":"Target HbS percent (1-100). Required. Must be strictly less than initial_hbs_percent. AABB 2018 usual goal language is HbS not more than 30%; the caller sends this value.","type":"number"},"unit_volume_ml":{"description":"Optional caller-assigned unit volume in mL (50-500). When sent, response includes approx_units = replacement_prbc_ml / unit_volume_ml.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sex","hematocrit_percent","initial_hbs_percent","target_hbs_percent","replacement_hct_percent"],"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},{"id":38875,"slug":"38875","resource":"https://api.magentlab.com/api/calc/wpss","description":"Malcovati 2007 WPSS for MDS: WHO category (RA/RARS/5q- 0, RCMD/RCMD-RS 1, RAEB-1 2, RAEB-2 3), IPSS karyotype (good 0, intermediate 1, poor 2; caller assigns the three-group class), regular RBC transfusion 1 (at least one every 8 weeks over 4 months); max 6. very_low 0 through very_high 5–6. Not IPSS-R, not IPSS 1997, not DIPSS. magent does not karyotype or assign WHO category.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cytogenetics":"good","regular_transfusion":false,"who_mds":"ra_rars_5q"},{"cytogenetics":"good","regular_transfusion":false,"who_mds":"ra_rars_5q"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Malcovati L, Germing U, Kuendgen A, et al.","doi":"10.1200/JCO.2006.08.5696","id":"malcovati-2007","pmid":"17687155","source":"J Clin Oncol. 2007;25(23):3503-3510","title":"Time-dependent prognostic scoring system for predicting survival and leukemic evolution in myelodysplastic syndromes"},"components":[{"factor":"who_mds","points":0,"present":false,"value":"ra_rars_5q"},{"factor":"cytogenetics","points":0,"present":false,"value":"good"},{"factor":"regular_transfusion","points":0,"present":false}],"cytogenetics":"good","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":"wpss","formula_expression":"WPSS = WHO (ra_rars_5q 0, rcmd 1, raeb1 2, raeb2 3) + karyotype (good 0, intermediate 1, poor 2) + regular_transfusion 1; Malcovati 2007 Table 2; max 6; very_low 0, low 1, intermediate 2, high 3-4, very_high 5-6","max_score":6,"regular_transfusion":false,"risk_group":"very_low","score":0,"who_mds":"ra_rars_5q"},{"citation":{"authors":"Malcovati L, Germing U, Kuendgen A, et al.","doi":"10.1200/JCO.2006.08.5696","id":"malcovati-2007","pmid":"17687155","source":"J Clin Oncol. 2007;25(23):3503-3510","title":"Time-dependent prognostic scoring system for predicting survival and leukemic evolution in myelodysplastic syndromes"},"components":[{"factor":"who_mds","points":0,"present":false,"value":"ra_rars_5q"},{"factor":"cytogenetics","points":0,"present":false,"value":"good"},{"factor":"regular_transfusion","points":0,"present":false}],"cytogenetics":"good","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":"wpss","formula_expression":"WPSS = WHO (ra_rars_5q 0, rcmd 1, raeb1 2, raeb2 3) + karyotype (good 0, intermediate 1, poor 2) + regular_transfusion 1; Malcovati 2007 Table 2; max 6; very_low 0, low 1, intermediate 2, high 3-4, very_high 5-6","max_score":6,"regular_transfusion":false,"risk_group":"very_low","score":0,"who_mds":"ra_rars_5q"}],"path":"/api/calc/wpss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cytogenetics":{"description":"IPSS (Greenberg 1997) cytogenetic group as assigned by the caller (good 0, intermediate 1, poor 2). Not the IPSS-R five-group scale (very_good and very_poor are invalid). magent does not karyotype.","enum":["good","intermediate","poor"],"type":"string"},"regular_transfusion":{"description":"Regular RBC transfusion requirement as assigned by the caller (Malcovati 2007: at least one RBC transfusion every 8 weeks over 4 months). true scores 1. magent does not count units.","type":"boolean"},"who_mds":{"description":"Malcovati 2007 Table 2 WHO 2001 group as assigned by the caller. ra_rars_5q is RA, RARS, or MDS with isolated del(5q) and scores 0. rcmd is RCMD or RCMD-RS and scores 1. raeb1 is RAEB-1 and scores 2. raeb2 is RAEB-2 and scores 3. magent does not assign WHO category.","enum":["ra_rars_5q","rcmd","raeb1","raeb2"],"type":"string"}},"required":["who_mds","cytogenetics","regular_transfusion"],"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":["wpss","mds","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:01:43.826Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T15:01:43.7Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cytogenetics":"good","regular_transfusion":false,"who_mds":"ra_rars_5q"},{"cytogenetics":"good","regular_transfusion":false,"who_mds":"ra_rars_5q"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Malcovati L, Germing U, Kuendgen A, et al.","doi":"10.1200/JCO.2006.08.5696","id":"malcovati-2007","pmid":"17687155","source":"J Clin Oncol. 2007;25(23):3503-3510","title":"Time-dependent prognostic scoring system for predicting survival and leukemic evolution in myelodysplastic syndromes"},"components":[{"factor":"who_mds","points":0,"present":false,"value":"ra_rars_5q"},{"factor":"cytogenetics","points":0,"present":false,"value":"good"},{"factor":"regular_transfusion","points":0,"present":false}],"cytogenetics":"good","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":"wpss","formula_expression":"WPSS = WHO (ra_rars_5q 0, rcmd 1, raeb1 2, raeb2 3) + karyotype (good 0, intermediate 1, poor 2) + regular_transfusion 1; Malcovati 2007 Table 2; max 6; very_low 0, low 1, intermediate 2, high 3-4, very_high 5-6","max_score":6,"regular_transfusion":false,"risk_group":"very_low","score":0,"who_mds":"ra_rars_5q"},{"citation":{"authors":"Malcovati L, Germing U, Kuendgen A, et al.","doi":"10.1200/JCO.2006.08.5696","id":"malcovati-2007","pmid":"17687155","source":"J Clin Oncol. 2007;25(23):3503-3510","title":"Time-dependent prognostic scoring system for predicting survival and leukemic evolution in myelodysplastic syndromes"},"components":[{"factor":"who_mds","points":0,"present":false,"value":"ra_rars_5q"},{"factor":"cytogenetics","points":0,"present":false,"value":"good"},{"factor":"regular_transfusion","points":0,"present":false}],"cytogenetics":"good","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":"wpss","formula_expression":"WPSS = WHO (ra_rars_5q 0, rcmd 1, raeb1 2, raeb2 3) + karyotype (good 0, intermediate 1, poor 2) + regular_transfusion 1; Malcovati 2007 Table 2; max 6; very_low 0, low 1, intermediate 2, high 3-4, very_high 5-6","max_score":6,"regular_transfusion":false,"risk_group":"very_low","score":0,"who_mds":"ra_rars_5q"}],"path":"/api/calc/wpss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cytogenetics":{"description":"IPSS (Greenberg 1997) cytogenetic group as assigned by the caller (good 0, intermediate 1, poor 2). Not the IPSS-R five-group scale (very_good and very_poor are invalid). magent does not karyotype.","enum":["good","intermediate","poor"],"type":"string"},"regular_transfusion":{"description":"Regular RBC transfusion requirement as assigned by the caller (Malcovati 2007: at least one RBC transfusion every 8 weeks over 4 months). true scores 1. magent does not count units.","type":"boolean"},"who_mds":{"description":"Malcovati 2007 Table 2 WHO 2001 group as assigned by the caller. ra_rars_5q is RA, RARS, or MDS with isolated del(5q) and scores 0. rcmd is RCMD or RCMD-RS and scores 1. raeb1 is RAEB-1 and scores 2. raeb2 is RAEB-2 and scores 3. magent does not assign WHO category.","enum":["ra_rars_5q","rcmd","raeb1","raeb2"],"type":"string"}},"required":["who_mds","cytogenetics","regular_transfusion"],"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},{"id":38876,"slug":"38876","resource":"https://api.magentlab.com/api/calc/tpe","description":"Kaplan 1990 estimated plasma volume for therapeutic plasma exchange: epv_l = 0.065 * weight_kg * (1 - hematocrit_percent/100). Returns one plasma volume in liters and milliliters. Hematocrit is a percent (10-70), not a 0-1 fraction. Deterministic published arithmetic with citation. Not an apheresis order, Nadler blood volume, Ganzoni iron deficit, or a 1.5-PV / removal-percent table.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hematocrit_percent":40,"weight_kg":70,"weight_lb":154.32},{"hematocrit_percent":40,"weight_kg":70,"weight_lb":154.32}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kaplan AA","id":"kaplan-1990","pmid":"2252761","source":"ASAIO Trans. 1990;36(3):M597-M599","title":"A simple and accurate method for prescribing plasma exchange"},"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.","epv_l":2.73,"formula":"kaplan_1990","formula_expression":"epv_l = 0.065 * weight_kg * (1 - hematocrit_fraction)","hematocrit_percent":40,"one_pv_ml":2730,"weight_kg":70},{"citation":{"authors":"Kaplan AA","id":"kaplan-1990","pmid":"2252761","source":"ASAIO Trans. 1990;36(3):M597-M599","title":"A simple and accurate method for prescribing plasma exchange"},"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.","epv_l":2.73,"formula":"kaplan_1990","formula_expression":"epv_l = 0.065 * weight_kg * (1 - hematocrit_fraction)","hematocrit_percent":40,"one_pv_ml":2730,"weight_kg":70}],"path":"/api/calc/tpe"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hematocrit_percent":{"description":"Hematocrit as a percent (10-70). Required. Not a 0-1 fraction; magent does not accept hematocrit_fraction.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["hematocrit_percent"],"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":["tpe","plasma-volume","apheresis","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:01:29.621Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T15:01:29.508Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hematocrit_percent":40,"weight_kg":70,"weight_lb":154.32},{"hematocrit_percent":40,"weight_kg":70,"weight_lb":154.32}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kaplan AA","id":"kaplan-1990","pmid":"2252761","source":"ASAIO Trans. 1990;36(3):M597-M599","title":"A simple and accurate method for prescribing plasma exchange"},"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.","epv_l":2.73,"formula":"kaplan_1990","formula_expression":"epv_l = 0.065 * weight_kg * (1 - hematocrit_fraction)","hematocrit_percent":40,"one_pv_ml":2730,"weight_kg":70},{"citation":{"authors":"Kaplan AA","id":"kaplan-1990","pmid":"2252761","source":"ASAIO Trans. 1990;36(3):M597-M599","title":"A simple and accurate method for prescribing plasma exchange"},"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.","epv_l":2.73,"formula":"kaplan_1990","formula_expression":"epv_l = 0.065 * weight_kg * (1 - hematocrit_fraction)","hematocrit_percent":40,"one_pv_ml":2730,"weight_kg":70}],"path":"/api/calc/tpe"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hematocrit_percent":{"description":"Hematocrit as a percent (10-70). Required. Not a 0-1 fraction; magent does not accept hematocrit_fraction.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["hematocrit_percent"],"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},{"id":38877,"slug":"38877","resource":"https://api.magentlab.com/api/calc/swede","description":"Strander 2005 Swede score: five caller-assigned 0-2 items (acetowhiteness, margins_surface, vessels, lesion_size, iodine; Table I final rounded weights; max 10). swede_band <5, 5-7, or >=8 (≥5 identified all HGL in that derivation set; ≥8 had 90% specificity). magent does not read the colposcope. Not a CIN diagnosis, see-and-treat order, or Reid index.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acetowhiteness":2,"iodine":2,"lesion_size":1,"margins_surface":2,"vessels":1},{"acetowhiteness":2,"iodine":2,"lesion_size":1,"margins_surface":2,"vessels":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acetowhiteness":2,"citation":{"authors":"Strander B, Ellström-Andersson A, Franzén S, Milsom I, Rådberg T","doi":"10.1111/j.0001-6349.2005.00895.x","id":"strander-2005","pmid":"16181155","source":"Acta Obstet Gynecol Scand. 2005;84(10):1013-1017","title":"The performance of a new scoring system for colposcopy in detecting high-grade dysplasia in the uterine cervix"},"components":[{"factor":"acetowhiteness","points":2,"present":true,"value":2},{"factor":"margins_surface","points":2,"present":true,"value":2},{"factor":"vessels","points":1,"present":true,"value":1},{"factor":"lesion_size","points":1,"present":true,"value":1},{"factor":"iodine","points":2,"present":true,"value":2}],"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":"swede","formula_expression":"Swede = acetowhiteness + margins_surface + vessels + lesion_size + iodine; each caller-assigned 0-2 (Strander 2005 Table I final rounded weights); max 10; bands <5, 5-7, >=8","iodine":2,"lesion_size":1,"margins_surface":2,"max_score":10,"score":8,"swede_band":">=8","vessels":1},{"acetowhiteness":2,"citation":{"authors":"Strander B, Ellström-Andersson A, Franzén S, Milsom I, Rådberg T","doi":"10.1111/j.0001-6349.2005.00895.x","id":"strander-2005","pmid":"16181155","source":"Acta Obstet Gynecol Scand. 2005;84(10):1013-1017","title":"The performance of a new scoring system for colposcopy in detecting high-grade dysplasia in the uterine cervix"},"components":[{"factor":"acetowhiteness","points":2,"present":true,"value":2},{"factor":"margins_surface","points":2,"present":true,"value":2},{"factor":"vessels","points":1,"present":true,"value":1},{"factor":"lesion_size","points":1,"present":true,"value":1},{"factor":"iodine","points":2,"present":true,"value":2}],"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":"swede","formula_expression":"Swede = acetowhiteness + margins_surface + vessels + lesion_size + iodine; each caller-assigned 0-2 (Strander 2005 Table I final rounded weights); max 10; bands <5, 5-7, >=8","iodine":2,"lesion_size":1,"margins_surface":2,"max_score":10,"score":8,"swede_band":">=8","vessels":1}],"path":"/api/calc/swede"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acetowhiteness":{"description":"Caller-assigned Strander 2005 Table I acetowhiteness (integer 0-2): 0 none/transparent; 1 shady/milky; 2 distinct/stearin (opaque white). magent does not read the colposcope.","enum":[0,1,2],"type":"integer"},"iodine":{"description":"Caller-assigned Strander 2005 Table I iodine staining (integer 0-2): 0 brown; 1 faintly or patchy yellow; 2 distinct yellow. magent does not read the colposcope.","enum":[0,1,2],"type":"integer"},"lesion_size":{"description":"Caller-assigned Strander 2005 Table I lesion size (integer 0-2): 0 <5 mm; 1 5-15 mm or 2 quadrants; 2 >15 mm or 3-4 quadrants or endocervically undefined. magent does not read the colposcope.","enum":[0,1,2],"type":"integer"},"margins_surface":{"description":"Caller-assigned Strander 2005 Table I margins and surface (integer 0-2): 0 none/diffuse; 1 sharp but irregular/jagged/geographical (satellites); 2 sharp and even, surface-level difference (cuffing). magent does not read the colposcope.","enum":[0,1,2],"type":"integer"},"vessels":{"description":"Caller-assigned Strander 2005 Table I vessels (integer 0-2): 0 fine/regular; 1 absent; 2 coarse or atypical. magent does not read the colposcope.","enum":[0,1,2],"type":"integer"}},"required":["acetowhiteness","margins_surface","vessels","lesion_size","iodine"],"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":["swede","colposcopy","cervix","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:00:27.966Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T15:00:27.829Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acetowhiteness":2,"iodine":2,"lesion_size":1,"margins_surface":2,"vessels":1},{"acetowhiteness":2,"iodine":2,"lesion_size":1,"margins_surface":2,"vessels":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acetowhiteness":2,"citation":{"authors":"Strander B, Ellström-Andersson A, Franzén S, Milsom I, Rådberg T","doi":"10.1111/j.0001-6349.2005.00895.x","id":"strander-2005","pmid":"16181155","source":"Acta Obstet Gynecol Scand. 2005;84(10):1013-1017","title":"The performance of a new scoring system for colposcopy in detecting high-grade dysplasia in the uterine cervix"},"components":[{"factor":"acetowhiteness","points":2,"present":true,"value":2},{"factor":"margins_surface","points":2,"present":true,"value":2},{"factor":"vessels","points":1,"present":true,"value":1},{"factor":"lesion_size","points":1,"present":true,"value":1},{"factor":"iodine","points":2,"present":true,"value":2}],"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":"swede","formula_expression":"Swede = acetowhiteness + margins_surface + vessels + lesion_size + iodine; each caller-assigned 0-2 (Strander 2005 Table I final rounded weights); max 10; bands <5, 5-7, >=8","iodine":2,"lesion_size":1,"margins_surface":2,"max_score":10,"score":8,"swede_band":">=8","vessels":1},{"acetowhiteness":2,"citation":{"authors":"Strander B, Ellström-Andersson A, Franzén S, Milsom I, Rådberg T","doi":"10.1111/j.0001-6349.2005.00895.x","id":"strander-2005","pmid":"16181155","source":"Acta Obstet Gynecol Scand. 2005;84(10):1013-1017","title":"The performance of a new scoring system for colposcopy in detecting high-grade dysplasia in the uterine cervix"},"components":[{"factor":"acetowhiteness","points":2,"present":true,"value":2},{"factor":"margins_surface","points":2,"present":true,"value":2},{"factor":"vessels","points":1,"present":true,"value":1},{"factor":"lesion_size","points":1,"present":true,"value":1},{"factor":"iodine","points":2,"present":true,"value":2}],"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":"swede","formula_expression":"Swede = acetowhiteness + margins_surface + vessels + lesion_size + iodine; each caller-assigned 0-2 (Strander 2005 Table I final rounded weights); max 10; bands <5, 5-7, >=8","iodine":2,"lesion_size":1,"margins_surface":2,"max_score":10,"score":8,"swede_band":">=8","vessels":1}],"path":"/api/calc/swede"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acetowhiteness":{"description":"Caller-assigned Strander 2005 Table I acetowhiteness (integer 0-2): 0 none/transparent; 1 shady/milky; 2 distinct/stearin (opaque white). magent does not read the colposcope.","enum":[0,1,2],"type":"integer"},"iodine":{"description":"Caller-assigned Strander 2005 Table I iodine staining (integer 0-2): 0 brown; 1 faintly or patchy yellow; 2 distinct yellow. magent does not read the colposcope.","enum":[0,1,2],"type":"integer"},"lesion_size":{"description":"Caller-assigned Strander 2005 Table I lesion size (integer 0-2): 0 <5 mm; 1 5-15 mm or 2 quadrants; 2 >15 mm or 3-4 quadrants or endocervically undefined. magent does not read the colposcope.","enum":[0,1,2],"type":"integer"},"margins_surface":{"description":"Caller-assigned Strander 2005 Table I margins and surface (integer 0-2): 0 none/diffuse; 1 sharp but irregular/jagged/geographical (satellites); 2 sharp and even, surface-level difference (cuffing). magent does not read the colposcope.","enum":[0,1,2],"type":"integer"},"vessels":{"description":"Caller-assigned Strander 2005 Table I vessels (integer 0-2): 0 fine/regular; 1 absent; 2 coarse or atypical. magent does not read the colposcope.","enum":[0,1,2],"type":"integer"}},"required":["acetowhiteness","margins_surface","vessels","lesion_size","iodine"],"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},{"id":38878,"slug":"38878","resource":"https://api.magentlab.com/api/calc/rmi","description":"Jacobs 1990 risk of malignancy index: RMI = U × M × CA125 (U/ml). Caller assigns ultrasound_score 0, 1, or 3 (never 2) and postmenopausal (M=3 if true, else 1). Returns rmi to 1 decimal and exceeds_200 (true if RMI > 200). Not an ovarian-cancer diagnosis and not later RMI-2 or RMI-3.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ca125_u_ml":50,"postmenopausal":true,"ultrasound_score":3},{"ca125_u_ml":50,"postmenopausal":true,"ultrasound_score":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ca125_u_ml":50,"citation":{"authors":"Jacobs I, Oram D, Fairbanks J, Turner J, Frost C, Grudzinskas JG","doi":"10.1111/j.1471-0528.1990.tb02448.x","id":"jacobs-1990-rmi","pmid":"2223684","source":"Br J Obstet Gynaecol. 1990;97(10):922-929","title":"A risk of malignancy index incorporating CA 125, ultrasound and menopausal status for the accurate preoperative diagnosis of ovarian cancer"},"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.","exceeds_200":true,"formula":"rmi","formula_expression":"RMI = U × M × CA125 (U/ml); U is ultrasound_score 0, 1, or 3 (never 2); M is 1 if premenopausal, 3 if postmenopausal; exceeds_200 if RMI > 200 (Jacobs 1990)","postmenopausal":true,"rmi":450,"ultrasound_score":3},{"ca125_u_ml":50,"citation":{"authors":"Jacobs I, Oram D, Fairbanks J, Turner J, Frost C, Grudzinskas JG","doi":"10.1111/j.1471-0528.1990.tb02448.x","id":"jacobs-1990-rmi","pmid":"2223684","source":"Br J Obstet Gynaecol. 1990;97(10):922-929","title":"A risk of malignancy index incorporating CA 125, ultrasound and menopausal status for the accurate preoperative diagnosis of ovarian cancer"},"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.","exceeds_200":true,"formula":"rmi","formula_expression":"RMI = U × M × CA125 (U/ml); U is ultrasound_score 0, 1, or 3 (never 2); M is 1 if premenopausal, 3 if postmenopausal; exceeds_200 if RMI > 200 (Jacobs 1990)","postmenopausal":true,"rmi":450,"ultrasound_score":3}],"path":"/api/calc/rmi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ca125_u_ml":{"description":"Serum CA125 in U/ml (0-50000). Enters the product unrounded. Jacobs 1990 uses U/ml. magent does not assay CA125.","type":"number"},"postmenopausal":{"description":"true if postmenopausal (M=3), false if premenopausal (M=1). Jacobs 1990: more than one year since final period, or age >50 after hysterectomy. Caller sets the flag; magent does not date menses.","type":"boolean"},"ultrasound_score":{"description":"Caller-assigned Jacobs 1990 ultrasound score: 0 if no features, 1 if one feature, 3 if two or more of multilocular cyst, solid areas, bilateral lesions, ascites, or intra-abdominal metastases. Never 2. magent does not read ultrasound.","enum":[0,1,3],"type":"integer"}},"required":["ca125_u_ml","ultrasound_score","postmenopausal"],"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":["rmi","ca125","ovarian","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:00:15.534Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T15:00:15.412Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ca125_u_ml":50,"postmenopausal":true,"ultrasound_score":3},{"ca125_u_ml":50,"postmenopausal":true,"ultrasound_score":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ca125_u_ml":50,"citation":{"authors":"Jacobs I, Oram D, Fairbanks J, Turner J, Frost C, Grudzinskas JG","doi":"10.1111/j.1471-0528.1990.tb02448.x","id":"jacobs-1990-rmi","pmid":"2223684","source":"Br J Obstet Gynaecol. 1990;97(10):922-929","title":"A risk of malignancy index incorporating CA 125, ultrasound and menopausal status for the accurate preoperative diagnosis of ovarian cancer"},"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.","exceeds_200":true,"formula":"rmi","formula_expression":"RMI = U × M × CA125 (U/ml); U is ultrasound_score 0, 1, or 3 (never 2); M is 1 if premenopausal, 3 if postmenopausal; exceeds_200 if RMI > 200 (Jacobs 1990)","postmenopausal":true,"rmi":450,"ultrasound_score":3},{"ca125_u_ml":50,"citation":{"authors":"Jacobs I, Oram D, Fairbanks J, Turner J, Frost C, Grudzinskas JG","doi":"10.1111/j.1471-0528.1990.tb02448.x","id":"jacobs-1990-rmi","pmid":"2223684","source":"Br J Obstet Gynaecol. 1990;97(10):922-929","title":"A risk of malignancy index incorporating CA 125, ultrasound and menopausal status for the accurate preoperative diagnosis of ovarian cancer"},"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.","exceeds_200":true,"formula":"rmi","formula_expression":"RMI = U × M × CA125 (U/ml); U is ultrasound_score 0, 1, or 3 (never 2); M is 1 if premenopausal, 3 if postmenopausal; exceeds_200 if RMI > 200 (Jacobs 1990)","postmenopausal":true,"rmi":450,"ultrasound_score":3}],"path":"/api/calc/rmi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ca125_u_ml":{"description":"Serum CA125 in U/ml (0-50000). Enters the product unrounded. Jacobs 1990 uses U/ml. magent does not assay CA125.","type":"number"},"postmenopausal":{"description":"true if postmenopausal (M=3), false if premenopausal (M=1). Jacobs 1990: more than one year since final period, or age >50 after hysterectomy. Caller sets the flag; magent does not date menses.","type":"boolean"},"ultrasound_score":{"description":"Caller-assigned Jacobs 1990 ultrasound score: 0 if no features, 1 if one feature, 3 if two or more of multilocular cyst, solid areas, bilateral lesions, ascites, or intra-abdominal metastases. Never 2. magent does not read ultrasound.","enum":[0,1,3],"type":"integer"}},"required":["ca125_u_ml","ultrasound_score","postmenopausal"],"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},{"id":38879,"slug":"38879","resource":"https://api.magentlab.com/api/calc/reticulocyte_index","description":"Corrected reticulocyte count (retic% × Hct/45), Hillman 1969 maturation-shift reticulocyte index, and optional absolute reticulocyte count. Deterministic published arithmetic with citation; not a marrow diagnosis.","type":"http","serviceName":"magent","resourceType":"AI Inference","x402Version":2,"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":[{"hematocrit_percent":45,"rbc_million_ul":5,"reticulocyte_percent":2},{"hematocrit_percent":45,"rbc_million_ul":5,"reticulocyte_percent":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arc_per_ul":100000,"citation":{"authors":"Hillman RS","doi":"10.1172/JCI106002","id":"hillman-1969","source":"J Clin Invest. 1969;48(3):443-453","title":"Characteristics of marrow production and reticulocyte maturation in normal man in response to anemia"},"corrected_reticulocyte_percent":2,"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":"reticulocyte_index","formula_expression":"CRC = reticulocyte_percent * (hematocrit_percent / 45); RI = CRC / maturation_days; ARC_per_uL = reticulocyte_percent/100 * rbc_million_ul * 1e6 when RBC is given","hematocrit_percent":45,"maturation_days":1,"reticulocyte_index":2,"reticulocyte_percent":2},{"arc_per_ul":100000,"citation":{"authors":"Hillman RS","doi":"10.1172/JCI106002","id":"hillman-1969","source":"J Clin Invest. 1969;48(3):443-453","title":"Characteristics of marrow production and reticulocyte maturation in normal man in response to anemia"},"corrected_reticulocyte_percent":2,"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":"reticulocyte_index","formula_expression":"CRC = reticulocyte_percent * (hematocrit_percent / 45); RI = CRC / maturation_days; ARC_per_uL = reticulocyte_percent/100 * rbc_million_ul * 1e6 when RBC is given","hematocrit_percent":45,"maturation_days":1,"reticulocyte_index":2,"reticulocyte_percent":2}],"path":"/api/calc/reticulocyte_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hematocrit_percent":{"description":"Hematocrit as a percent (10-70). CRC uses Hct/45. Maturation days: ≥40 → 1.0; ≥30 → 1.5; ≥20 → 2.0; else 2.5 (Hillman 1969 shift discretized).","type":"number"},"rbc_million_ul":{"description":"RBC count in 10^6/µL (1.0-8.0). When provided, ARC_per_uL is returned. Omitted omits ARC.","type":"number"},"reticulocyte_percent":{"description":"Reticulocyte percent of RBC (0.1-30).","type":"number"}},"required":["reticulocyte_percent","hematocrit_percent"],"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":["reticulocyte","hematology","crc","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:59:39.47Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:59:39.358Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hematocrit_percent":45,"rbc_million_ul":5,"reticulocyte_percent":2},{"hematocrit_percent":45,"rbc_million_ul":5,"reticulocyte_percent":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arc_per_ul":100000,"citation":{"authors":"Hillman RS","doi":"10.1172/JCI106002","id":"hillman-1969","source":"J Clin Invest. 1969;48(3):443-453","title":"Characteristics of marrow production and reticulocyte maturation in normal man in response to anemia"},"corrected_reticulocyte_percent":2,"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":"reticulocyte_index","formula_expression":"CRC = reticulocyte_percent * (hematocrit_percent / 45); RI = CRC / maturation_days; ARC_per_uL = reticulocyte_percent/100 * rbc_million_ul * 1e6 when RBC is given","hematocrit_percent":45,"maturation_days":1,"reticulocyte_index":2,"reticulocyte_percent":2},{"arc_per_ul":100000,"citation":{"authors":"Hillman RS","doi":"10.1172/JCI106002","id":"hillman-1969","source":"J Clin Invest. 1969;48(3):443-453","title":"Characteristics of marrow production and reticulocyte maturation in normal man in response to anemia"},"corrected_reticulocyte_percent":2,"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":"reticulocyte_index","formula_expression":"CRC = reticulocyte_percent * (hematocrit_percent / 45); RI = CRC / maturation_days; ARC_per_uL = reticulocyte_percent/100 * rbc_million_ul * 1e6 when RBC is given","hematocrit_percent":45,"maturation_days":1,"reticulocyte_index":2,"reticulocyte_percent":2}],"path":"/api/calc/reticulocyte_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hematocrit_percent":{"description":"Hematocrit as a percent (10-70). CRC uses Hct/45. Maturation days: ≥40 → 1.0; ≥30 → 1.5; ≥20 → 2.0; else 2.5 (Hillman 1969 shift discretized).","type":"number"},"rbc_million_ul":{"description":"RBC count in 10^6/µL (1.0-8.0). When provided, ARC_per_uL is returned. Omitted omits ARC.","type":"number"},"reticulocyte_percent":{"description":"Reticulocyte percent of RBC (0.1-30).","type":"number"}},"required":["reticulocyte_percent","hematocrit_percent"],"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},{"id":38880,"slug":"38880","resource":"https://api.magentlab.com/api/calc/sic","description":"Iba 2017 SIC (Table 3; max 6). platelets_10e9_l >=150=0, <150 and >=100=1, <100=2. inr <=1.2=0, >1.2 and <=1.4=1, >1.4=2. sofa_four_items is the caller-assigned respiratory+cardiovascular+hepatic+renal SOFA sum (0-16; not coagulation, not CNS): 0=0, 1=1, >=2=2 (cap 2). sic true iff score >=4 and platelet_pts+inr_pts >=3. Not a sepsis or DIC diagnosis. Not ISTH overt DIC. Not JAAM-DIC. magent does not start anticoagulants.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"inr":1,"platelets_10e9_l":180,"sofa_four_items":0},{"inr":1,"platelets_10e9_l":180,"sofa_four_items":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Iba T, Di Nisio M, Levy JH, Kitamura N, Thachil J","doi":"10.1136/bmjopen-2017-017046","id":"iba-2017","pmid":"28963287","source":"BMJ Open. 2017;7(9):e017046","title":"New criteria for sepsis-induced coagulopathy (SIC) following the revised sepsis definition: a retrospective analysis of a nationwide survey"},"components":[{"factor":"platelets","points":0,"present":false,"value":180},{"factor":"inr","points":0,"present":false,"value":1},{"factor":"sofa_four_items","points":0,"present":false,"value":0}],"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":"sic","formula_expression":"SIC = platelets_10e9_l (>=150 → 0; <150 and >=100 → 1; <100 → 2) + inr (<=1.2 → 0; >1.2 and <=1.4 → 1; >1.4 → 2) + sofa_four_items (0 → 0; 1 → 1; >=2 → 2 cap); max 6; sic iff score >= 4 and (platelet_pts + inr_pts) >= 3","inr":1,"inr_pts":0,"max_score":6,"platelet_pts":0,"platelets_10e9_l":180,"score":0,"sic":false,"sofa_four_items":0,"sofa_pts":0},{"citation":{"authors":"Iba T, Di Nisio M, Levy JH, Kitamura N, Thachil J","doi":"10.1136/bmjopen-2017-017046","id":"iba-2017","pmid":"28963287","source":"BMJ Open. 2017;7(9):e017046","title":"New criteria for sepsis-induced coagulopathy (SIC) following the revised sepsis definition: a retrospective analysis of a nationwide survey"},"components":[{"factor":"platelets","points":0,"present":false,"value":180},{"factor":"inr","points":0,"present":false,"value":1},{"factor":"sofa_four_items","points":0,"present":false,"value":0}],"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":"sic","formula_expression":"SIC = platelets_10e9_l (>=150 → 0; <150 and >=100 → 1; <100 → 2) + inr (<=1.2 → 0; >1.2 and <=1.4 → 1; >1.4 → 2) + sofa_four_items (0 → 0; 1 → 1; >=2 → 2 cap); max 6; sic iff score >= 4 and (platelet_pts + inr_pts) >= 3","inr":1,"inr_pts":0,"max_score":6,"platelet_pts":0,"platelets_10e9_l":180,"score":0,"sic":false,"sofa_four_items":0,"sofa_pts":0}],"path":"/api/calc/sic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"inr":{"description":"INR (0.8-10). <=1.2 scores 0; >1.2 and <=1.4 scores 1; >1.4 scores 2. 1.2 scores 0; 1.4 scores 1; 1.41 scores 2 (Iba 2017 Table 3).","type":"number"},"platelets_10e9_l":{"description":"Platelet count ×10^9/L (1-2000). >=150 scores 0; <150 and >=100 scores 1; <100 scores 2. 150 scores 0; 100 scores 1; 99 scores 2 (Iba 2017 Table 3).","type":"number"},"sofa_four_items":{"description":"Caller-assigned sum of respiratory + cardiovascular + hepatic + renal SOFA only (integer 0-16). Do not include coagulation or CNS. 0 scores 0; 1 scores 1; >=2 scores 2 (cap 2). 2 and 16 both score 2 (Iba 2017 Table 3). magent does not compute those organ scores.","type":"integer"}},"required":["platelets_10e9_l","inr","sofa_four_items"],"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":["sic","hematology","coagulation","sepsis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:59:26.404Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:59:26.279Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"inr":1,"platelets_10e9_l":180,"sofa_four_items":0},{"inr":1,"platelets_10e9_l":180,"sofa_four_items":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Iba T, Di Nisio M, Levy JH, Kitamura N, Thachil J","doi":"10.1136/bmjopen-2017-017046","id":"iba-2017","pmid":"28963287","source":"BMJ Open. 2017;7(9):e017046","title":"New criteria for sepsis-induced coagulopathy (SIC) following the revised sepsis definition: a retrospective analysis of a nationwide survey"},"components":[{"factor":"platelets","points":0,"present":false,"value":180},{"factor":"inr","points":0,"present":false,"value":1},{"factor":"sofa_four_items","points":0,"present":false,"value":0}],"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":"sic","formula_expression":"SIC = platelets_10e9_l (>=150 → 0; <150 and >=100 → 1; <100 → 2) + inr (<=1.2 → 0; >1.2 and <=1.4 → 1; >1.4 → 2) + sofa_four_items (0 → 0; 1 → 1; >=2 → 2 cap); max 6; sic iff score >= 4 and (platelet_pts + inr_pts) >= 3","inr":1,"inr_pts":0,"max_score":6,"platelet_pts":0,"platelets_10e9_l":180,"score":0,"sic":false,"sofa_four_items":0,"sofa_pts":0},{"citation":{"authors":"Iba T, Di Nisio M, Levy JH, Kitamura N, Thachil J","doi":"10.1136/bmjopen-2017-017046","id":"iba-2017","pmid":"28963287","source":"BMJ Open. 2017;7(9):e017046","title":"New criteria for sepsis-induced coagulopathy (SIC) following the revised sepsis definition: a retrospective analysis of a nationwide survey"},"components":[{"factor":"platelets","points":0,"present":false,"value":180},{"factor":"inr","points":0,"present":false,"value":1},{"factor":"sofa_four_items","points":0,"present":false,"value":0}],"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":"sic","formula_expression":"SIC = platelets_10e9_l (>=150 → 0; <150 and >=100 → 1; <100 → 2) + inr (<=1.2 → 0; >1.2 and <=1.4 → 1; >1.4 → 2) + sofa_four_items (0 → 0; 1 → 1; >=2 → 2 cap); max 6; sic iff score >= 4 and (platelet_pts + inr_pts) >= 3","inr":1,"inr_pts":0,"max_score":6,"platelet_pts":0,"platelets_10e9_l":180,"score":0,"sic":false,"sofa_four_items":0,"sofa_pts":0}],"path":"/api/calc/sic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"inr":{"description":"INR (0.8-10). <=1.2 scores 0; >1.2 and <=1.4 scores 1; >1.4 scores 2. 1.2 scores 0; 1.4 scores 1; 1.41 scores 2 (Iba 2017 Table 3).","type":"number"},"platelets_10e9_l":{"description":"Platelet count ×10^9/L (1-2000). >=150 scores 0; <150 and >=100 scores 1; <100 scores 2. 150 scores 0; 100 scores 1; 99 scores 2 (Iba 2017 Table 3).","type":"number"},"sofa_four_items":{"description":"Caller-assigned sum of respiratory + cardiovascular + hepatic + renal SOFA only (integer 0-16). Do not include coagulation or CNS. 0 scores 0; 1 scores 1; >=2 scores 2 (cap 2). 2 and 16 both score 2 (Iba 2017 Table 3). magent does not compute those organ scores.","type":"integer"}},"required":["platelets_10e9_l","inr","sofa_four_items"],"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},{"id":38881,"slug":"38881","resource":"https://api.magentlab.com/api/calc/smm_22020","description":"Lakshman 2018 2/20/20 smoldering myeloma risk: one point each for BMPC >20%, serum M-protein >2 g/dL, and involved/uninvolved FLC ratio >20 (strict greater-than). 0 factors low (median TTP 110 months), 1 intermediate (68), 2 or 3 high (29). Not Mayo 70/20, not PETHEMA, not myeloma ISS, not a treatment order. BMPC 10-59 and FLC 0.01-99.9 (IMWG 2014 SLiM myeloma is rejected). magent does not assay marrow, M-protein, or free light chains.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bmpc_percent":25,"flc_ratio":25,"m_protein_g_dl":2.5},{"bmpc_percent":25,"flc_ratio":25,"m_protein_g_dl":2.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmpc_percent":25,"citation":{"authors":"Lakshman A, Rajkumar SV, Buadi FK, et al.","doi":"10.1038/s41408-018-0077-4","id":"lakshman-2018","pmid":"29895887","source":"Blood Cancer J. 2018;8(6):59","title":"Risk stratification of smoldering multiple myeloma incorporating revised IMWG diagnostic criteria"},"components":[{"factor":"bmpc_percent_gt_20","points":1,"present":true,"value":25},{"factor":"m_protein_gt_2","points":1,"present":true,"value":2.5},{"factor":"flc_ratio_gt_20","points":1,"present":true,"value":25}],"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.","factor_count":3,"flc_ratio":25,"formula":"smm_22020","formula_expression":"Lakshman 2018 2/20/20 = (bmpc_percent > 20) + (m_protein_g_dl > 2) + (flc_ratio > 20); each 1; max 3; 0 low median TTP 110 months, 1 intermediate 68 months, 2 or 3 high 29 months. Not Mayo 70/20. Not PETHEMA. Not myeloma ISS","m_protein_g_dl":2.5,"max_score":3,"median_ttp_months":29,"risk_group":"high","score":3},{"bmpc_percent":25,"citation":{"authors":"Lakshman A, Rajkumar SV, Buadi FK, et al.","doi":"10.1038/s41408-018-0077-4","id":"lakshman-2018","pmid":"29895887","source":"Blood Cancer J. 2018;8(6):59","title":"Risk stratification of smoldering multiple myeloma incorporating revised IMWG diagnostic criteria"},"components":[{"factor":"bmpc_percent_gt_20","points":1,"present":true,"value":25},{"factor":"m_protein_gt_2","points":1,"present":true,"value":2.5},{"factor":"flc_ratio_gt_20","points":1,"present":true,"value":25}],"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.","factor_count":3,"flc_ratio":25,"formula":"smm_22020","formula_expression":"Lakshman 2018 2/20/20 = (bmpc_percent > 20) + (m_protein_g_dl > 2) + (flc_ratio > 20); each 1; max 3; 0 low median TTP 110 months, 1 intermediate 68 months, 2 or 3 high 29 months. Not Mayo 70/20. Not PETHEMA. Not myeloma ISS","m_protein_g_dl":2.5,"max_score":3,"median_ttp_months":29,"risk_group":"high","score":3}],"path":"/api/calc/smm_22020"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmpc_percent":{"description":"Bone-marrow plasma cells as a percent (10-59). >20 scores 1 (Lakshman 2018 2/20/20). 20 scores 0. 10 is the SMM floor. 60 or above is IMWG 2014 myeloma and is rejected, not scored. magent does not read a marrow.","type":"number"},"flc_ratio":{"description":"Involved/uninvolved serum free light-chain ratio as assigned by the caller (0.01-99.9). >20 scores 1 (Lakshman 2018 2/20/20). 20 scores 0. 100 or above is IMWG 2014 myeloma and is rejected, not scored. magent does not assay free light chains.","type":"number"},"m_protein_g_dl":{"description":"Serum M-protein in g/dL (0-15). >2 scores 1 (Lakshman 2018 2/20/20). 2 scores 0. magent does not assay M-protein.","type":"number"}},"required":["bmpc_percent","m_protein_g_dl","flc_ratio"],"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":["smm-22020","smm","myeloma","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:58:45.403Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:58:45.27Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bmpc_percent":25,"flc_ratio":25,"m_protein_g_dl":2.5},{"bmpc_percent":25,"flc_ratio":25,"m_protein_g_dl":2.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmpc_percent":25,"citation":{"authors":"Lakshman A, Rajkumar SV, Buadi FK, et al.","doi":"10.1038/s41408-018-0077-4","id":"lakshman-2018","pmid":"29895887","source":"Blood Cancer J. 2018;8(6):59","title":"Risk stratification of smoldering multiple myeloma incorporating revised IMWG diagnostic criteria"},"components":[{"factor":"bmpc_percent_gt_20","points":1,"present":true,"value":25},{"factor":"m_protein_gt_2","points":1,"present":true,"value":2.5},{"factor":"flc_ratio_gt_20","points":1,"present":true,"value":25}],"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.","factor_count":3,"flc_ratio":25,"formula":"smm_22020","formula_expression":"Lakshman 2018 2/20/20 = (bmpc_percent > 20) + (m_protein_g_dl > 2) + (flc_ratio > 20); each 1; max 3; 0 low median TTP 110 months, 1 intermediate 68 months, 2 or 3 high 29 months. Not Mayo 70/20. Not PETHEMA. Not myeloma ISS","m_protein_g_dl":2.5,"max_score":3,"median_ttp_months":29,"risk_group":"high","score":3},{"bmpc_percent":25,"citation":{"authors":"Lakshman A, Rajkumar SV, Buadi FK, et al.","doi":"10.1038/s41408-018-0077-4","id":"lakshman-2018","pmid":"29895887","source":"Blood Cancer J. 2018;8(6):59","title":"Risk stratification of smoldering multiple myeloma incorporating revised IMWG diagnostic criteria"},"components":[{"factor":"bmpc_percent_gt_20","points":1,"present":true,"value":25},{"factor":"m_protein_gt_2","points":1,"present":true,"value":2.5},{"factor":"flc_ratio_gt_20","points":1,"present":true,"value":25}],"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.","factor_count":3,"flc_ratio":25,"formula":"smm_22020","formula_expression":"Lakshman 2018 2/20/20 = (bmpc_percent > 20) + (m_protein_g_dl > 2) + (flc_ratio > 20); each 1; max 3; 0 low median TTP 110 months, 1 intermediate 68 months, 2 or 3 high 29 months. Not Mayo 70/20. Not PETHEMA. Not myeloma ISS","m_protein_g_dl":2.5,"max_score":3,"median_ttp_months":29,"risk_group":"high","score":3}],"path":"/api/calc/smm_22020"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmpc_percent":{"description":"Bone-marrow plasma cells as a percent (10-59). >20 scores 1 (Lakshman 2018 2/20/20). 20 scores 0. 10 is the SMM floor. 60 or above is IMWG 2014 myeloma and is rejected, not scored. magent does not read a marrow.","type":"number"},"flc_ratio":{"description":"Involved/uninvolved serum free light-chain ratio as assigned by the caller (0.01-99.9). >20 scores 1 (Lakshman 2018 2/20/20). 20 scores 0. 100 or above is IMWG 2014 myeloma and is rejected, not scored. magent does not assay free light chains.","type":"number"},"m_protein_g_dl":{"description":"Serum M-protein in g/dL (0-15). >2 scores 1 (Lakshman 2018 2/20/20). 2 scores 0. magent does not assay M-protein.","type":"number"}},"required":["bmpc_percent","m_protein_g_dl","flc_ratio"],"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},{"id":38882,"slug":"38882","resource":"https://api.magentlab.com/api/calc/scorma","description":"Heide 2001 SCORMA: extent_percent/5 + 5*intensity_sum + 2*symptom_sum/5. Extent 0-100 (diffuse cutaneous mastocytosis is 100). Four intensity signs 0-3 (pigmentation, vesiculation, elevation/induration, Darier's sign). Five symptoms 0-10 (flushing, provocation factors, diarrhoea, bone pain, pruritus). Max 100. magent does not examine the skin. Not a diagnosis, WHO/ICC criteria, REMA, or tryptase.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bone_pain":0,"darier_sign":0,"diarrhoea":0,"elevation_induration":0,"extent_percent":0,"flushing":0,"pigmentation":0,"provocation_factors":0,"pruritus":0,"vesiculation":0},{"bone_pain":0,"darier_sign":0,"diarrhoea":0,"elevation_induration":0,"extent_percent":0,"flushing":0,"pigmentation":0,"provocation_factors":0,"pruritus":0,"vesiculation":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bone_pain":0,"citation":{"authors":"Heide R, Middelkamp Hup MA, Mulder PG, Oranje AP","doi":"10.1080/00015550152572912","id":"heide-2001","pmid":"11720175","source":"Acta Derm Venereol. 2001;81(4):273-276","title":"Clinical scoring of cutaneous mastocytosis"},"darier_sign":0,"diarrhoea":0,"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.","elevation_induration":0,"extent_percent":0,"flushing":0,"formula":"scorma","formula_expression":"scorma = extent_percent/5 + 5*intensity_sum + 2*symptom_sum/5; intensity_sum = pigmentation + vesiculation + elevation_induration + darier_sign (each integer 0-3); symptom_sum = flushing + provocation_factors + diarrhoea + bone_pain + pruritus (each integer 0-10); extent_percent 0-100 (diffuse cutaneous mastocytosis is 100); theoretical max 100; Heide 2001; magent does not examine the skin or assign Darier's sign; not a diagnosis; not WHO/ICC mastocytosis criteria; not REMA; not tryptase","intensity_sum":0,"max_score":100,"pigmentation":0,"provocation_factors":0,"pruritus":0,"scorma":0,"symptom_sum":0,"vesiculation":0},{"bone_pain":0,"citation":{"authors":"Heide R, Middelkamp Hup MA, Mulder PG, Oranje AP","doi":"10.1080/00015550152572912","id":"heide-2001","pmid":"11720175","source":"Acta Derm Venereol. 2001;81(4):273-276","title":"Clinical scoring of cutaneous mastocytosis"},"darier_sign":0,"diarrhoea":0,"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.","elevation_induration":0,"extent_percent":0,"flushing":0,"formula":"scorma","formula_expression":"scorma = extent_percent/5 + 5*intensity_sum + 2*symptom_sum/5; intensity_sum = pigmentation + vesiculation + elevation_induration + darier_sign (each integer 0-3); symptom_sum = flushing + provocation_factors + diarrhoea + bone_pain + pruritus (each integer 0-10); extent_percent 0-100 (diffuse cutaneous mastocytosis is 100); theoretical max 100; Heide 2001; magent does not examine the skin or assign Darier's sign; not a diagnosis; not WHO/ICC mastocytosis criteria; not REMA; not tryptase","intensity_sum":0,"max_score":100,"pigmentation":0,"provocation_factors":0,"pruritus":0,"scorma":0,"symptom_sum":0,"vesiculation":0}],"path":"/api/calc/scorma"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bone_pain":{"description":"Caller-assigned Heide 2001 SCORMA part C bone pain (integer 0-10). magent does not take a history.","enum":[0,1,2,3,4,5,6,7,8,9,10],"type":"integer"},"darier_sign":{"description":"Caller-assigned Heide 2001 SCORMA part B Darier's sign (integer 0-3). magent does not examine the skin or assign Darier's sign.","enum":[0,1,2,3],"type":"integer"},"diarrhoea":{"description":"Caller-assigned Heide 2001 SCORMA part C diarrhoea (integer 0-10). magent does not take a history.","enum":[0,1,2,3,4,5,6,7,8,9,10],"type":"integer"},"elevation_induration":{"description":"Caller-assigned Heide 2001 SCORMA part B elevation/induration (integer 0-3). magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"extent_percent":{"description":"Caller-assigned Heide 2001 SCORMA part A body-surface extent (number 0-100). Diffuse cutaneous mastocytosis is 100. magent does not examine the skin.","type":"number"},"flushing":{"description":"Caller-assigned Heide 2001 SCORMA part C flushing (integer 0-10). magent does not take a history.","enum":[0,1,2,3,4,5,6,7,8,9,10],"type":"integer"},"pigmentation":{"description":"Caller-assigned Heide 2001 SCORMA part B pigmentation (integer 0-3). magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"provocation_factors":{"description":"Caller-assigned Heide 2001 SCORMA part C provocation factors (integer 0-10). magent does not take a history.","enum":[0,1,2,3,4,5,6,7,8,9,10],"type":"integer"},"pruritus":{"description":"Caller-assigned Heide 2001 SCORMA part C pruritus (integer 0-10). magent does not take a history.","enum":[0,1,2,3,4,5,6,7,8,9,10],"type":"integer"},"vesiculation":{"description":"Caller-assigned Heide 2001 SCORMA part B vesiculation (integer 0-3). magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"}},"required":["extent_percent","pigmentation","vesiculation","elevation_induration","darier_sign","flushing","provocation_factors","diarrhoea","bone_pain","pruritus"],"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":["scorma","mastocytosis","hematology","heide-2001","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:57:16.356Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:57:16.214Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bone_pain":0,"darier_sign":0,"diarrhoea":0,"elevation_induration":0,"extent_percent":0,"flushing":0,"pigmentation":0,"provocation_factors":0,"pruritus":0,"vesiculation":0},{"bone_pain":0,"darier_sign":0,"diarrhoea":0,"elevation_induration":0,"extent_percent":0,"flushing":0,"pigmentation":0,"provocation_factors":0,"pruritus":0,"vesiculation":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bone_pain":0,"citation":{"authors":"Heide R, Middelkamp Hup MA, Mulder PG, Oranje AP","doi":"10.1080/00015550152572912","id":"heide-2001","pmid":"11720175","source":"Acta Derm Venereol. 2001;81(4):273-276","title":"Clinical scoring of cutaneous mastocytosis"},"darier_sign":0,"diarrhoea":0,"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.","elevation_induration":0,"extent_percent":0,"flushing":0,"formula":"scorma","formula_expression":"scorma = extent_percent/5 + 5*intensity_sum + 2*symptom_sum/5; intensity_sum = pigmentation + vesiculation + elevation_induration + darier_sign (each integer 0-3); symptom_sum = flushing + provocation_factors + diarrhoea + bone_pain + pruritus (each integer 0-10); extent_percent 0-100 (diffuse cutaneous mastocytosis is 100); theoretical max 100; Heide 2001; magent does not examine the skin or assign Darier's sign; not a diagnosis; not WHO/ICC mastocytosis criteria; not REMA; not tryptase","intensity_sum":0,"max_score":100,"pigmentation":0,"provocation_factors":0,"pruritus":0,"scorma":0,"symptom_sum":0,"vesiculation":0},{"bone_pain":0,"citation":{"authors":"Heide R, Middelkamp Hup MA, Mulder PG, Oranje AP","doi":"10.1080/00015550152572912","id":"heide-2001","pmid":"11720175","source":"Acta Derm Venereol. 2001;81(4):273-276","title":"Clinical scoring of cutaneous mastocytosis"},"darier_sign":0,"diarrhoea":0,"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.","elevation_induration":0,"extent_percent":0,"flushing":0,"formula":"scorma","formula_expression":"scorma = extent_percent/5 + 5*intensity_sum + 2*symptom_sum/5; intensity_sum = pigmentation + vesiculation + elevation_induration + darier_sign (each integer 0-3); symptom_sum = flushing + provocation_factors + diarrhoea + bone_pain + pruritus (each integer 0-10); extent_percent 0-100 (diffuse cutaneous mastocytosis is 100); theoretical max 100; Heide 2001; magent does not examine the skin or assign Darier's sign; not a diagnosis; not WHO/ICC mastocytosis criteria; not REMA; not tryptase","intensity_sum":0,"max_score":100,"pigmentation":0,"provocation_factors":0,"pruritus":0,"scorma":0,"symptom_sum":0,"vesiculation":0}],"path":"/api/calc/scorma"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bone_pain":{"description":"Caller-assigned Heide 2001 SCORMA part C bone pain (integer 0-10). magent does not take a history.","enum":[0,1,2,3,4,5,6,7,8,9,10],"type":"integer"},"darier_sign":{"description":"Caller-assigned Heide 2001 SCORMA part B Darier's sign (integer 0-3). magent does not examine the skin or assign Darier's sign.","enum":[0,1,2,3],"type":"integer"},"diarrhoea":{"description":"Caller-assigned Heide 2001 SCORMA part C diarrhoea (integer 0-10). magent does not take a history.","enum":[0,1,2,3,4,5,6,7,8,9,10],"type":"integer"},"elevation_induration":{"description":"Caller-assigned Heide 2001 SCORMA part B elevation/induration (integer 0-3). magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"extent_percent":{"description":"Caller-assigned Heide 2001 SCORMA part A body-surface extent (number 0-100). Diffuse cutaneous mastocytosis is 100. magent does not examine the skin.","type":"number"},"flushing":{"description":"Caller-assigned Heide 2001 SCORMA part C flushing (integer 0-10). magent does not take a history.","enum":[0,1,2,3,4,5,6,7,8,9,10],"type":"integer"},"pigmentation":{"description":"Caller-assigned Heide 2001 SCORMA part B pigmentation (integer 0-3). magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"provocation_factors":{"description":"Caller-assigned Heide 2001 SCORMA part C provocation factors (integer 0-10). magent does not take a history.","enum":[0,1,2,3,4,5,6,7,8,9,10],"type":"integer"},"pruritus":{"description":"Caller-assigned Heide 2001 SCORMA part C pruritus (integer 0-10). magent does not take a history.","enum":[0,1,2,3,4,5,6,7,8,9,10],"type":"integer"},"vesiculation":{"description":"Caller-assigned Heide 2001 SCORMA part B vesiculation (integer 0-3). magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"}},"required":["extent_percent","pigmentation","vesiculation","elevation_induration","darier_sign","flushing","provocation_factors","diarrhoea","bone_pain","pruritus"],"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},{"id":38883,"slug":"38883","resource":"https://api.magentlab.com/api/calc/who_pv","description":"WHO 2016 polycythemia vera criteria (Arber 2016). Met when all three majors hold, or when major 1 and major 2 hold with subnormal EPO. Major 1 is male Hb >16.5 g/dL or Hct >49%, female Hb >16.0 or Hct >48%, or increased red-cell mass. Major 2 is caller-assigned marrow panmyelosis. Major 3 is JAK2 V617F or exon 12. Not a medical device, not a WHO diagnosis, and not WHO 2022. magent does not assay EPO or sequence JAK2.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bone_marrow_panmyelosis":false,"hematocrit_percent":45,"hemoglobin_g_dl":15,"increased_red_cell_mass":false,"jak2_v617f_or_exon12":false,"sex":"male","subnormal_epo":false},{"bone_marrow_panmyelosis":false,"hematocrit_percent":45,"hemoglobin_g_dl":15,"increased_red_cell_mass":false,"jak2_v617f_or_exon12":false,"sex":"male","subnormal_epo":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bone_marrow_panmyelosis":false,"citation":{"authors":"Arber DA, Orazi A, Hasserjian R, Thiele J, Borowitz MJ, Le Beau MM, Bloomfield CD, Cazzola M, Vardiman JW","doi":"10.1182/blood-2016-03-643544","id":"arber-2016","pmid":"27069254","source":"Blood. 2016;127(20):2391-2405","title":"The 2016 revision to the World Health Organization classification of myeloid neoplasms and acute leukemia"},"criteria":[{"factor":"major_1","met":false},{"factor":"major_2","met":false},{"factor":"major_3","met":false},{"factor":"minor","met":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":"who_pv","formula_expression":"pv_criteria_met iff (major_1 and major_2 and major_3) or (major_1 and major_2 and minor); major_1 iff increased_red_cell_mass or (male and (hemoglobin_g_dl > 16.5 or hematocrit_percent > 49)) or (female and (hemoglobin_g_dl > 16.0 or hematocrit_percent > 48)); major_2 bone_marrow_panmyelosis; major_3 jak2_v617f_or_exon12; minor subnormal_epo (Arber 2016 WHO 2016 PV). Not WHO 2022","hematocrit_percent":45,"hemoglobin_g_dl":15,"increased_red_cell_mass":false,"jak2_v617f_or_exon12":false,"major_1":false,"major_2":false,"major_3":false,"minor":false,"pv_criteria_met":false,"sex":"male","subnormal_epo":false},{"bone_marrow_panmyelosis":false,"citation":{"authors":"Arber DA, Orazi A, Hasserjian R, Thiele J, Borowitz MJ, Le Beau MM, Bloomfield CD, Cazzola M, Vardiman JW","doi":"10.1182/blood-2016-03-643544","id":"arber-2016","pmid":"27069254","source":"Blood. 2016;127(20):2391-2405","title":"The 2016 revision to the World Health Organization classification of myeloid neoplasms and acute leukemia"},"criteria":[{"factor":"major_1","met":false},{"factor":"major_2","met":false},{"factor":"major_3","met":false},{"factor":"minor","met":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":"who_pv","formula_expression":"pv_criteria_met iff (major_1 and major_2 and major_3) or (major_1 and major_2 and minor); major_1 iff increased_red_cell_mass or (male and (hemoglobin_g_dl > 16.5 or hematocrit_percent > 49)) or (female and (hemoglobin_g_dl > 16.0 or hematocrit_percent > 48)); major_2 bone_marrow_panmyelosis; major_3 jak2_v617f_or_exon12; minor subnormal_epo (Arber 2016 WHO 2016 PV). Not WHO 2022","hematocrit_percent":45,"hemoglobin_g_dl":15,"increased_red_cell_mass":false,"jak2_v617f_or_exon12":false,"major_1":false,"major_2":false,"major_3":false,"minor":false,"pv_criteria_met":false,"sex":"male","subnormal_epo":false}],"path":"/api/calc/who_pv"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bone_marrow_panmyelosis":{"description":"WHO 2016 marrow major as assigned by the caller (age-adjusted hypercellularity with panmyelosis, including pleomorphic mature megakaryocytes). true or false. magent does not read slides.","type":"boolean"},"hematocrit_percent":{"description":"Hematocrit percent (10-70). Major 1 meets when male >49 or female >48. Optional when hemoglobin_g_dl is sent or increased_red_cell_mass is true. magent does not assay hematocrit.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Major 1 meets when male >16.5 or female >16.0. Optional when hematocrit_percent is sent or increased_red_cell_mass is true. At least one of hemoglobin_g_dl, hematocrit_percent, or increased_red_cell_mass true is required. magent does not assay hemoglobin.","type":"number"},"increased_red_cell_mass":{"description":"Increased red-cell mass as assigned by the caller (Arber 2016 WHO 2016 major 1 alternative to Hb/Hct). true or false. true meets major 1 even when Hb/Hct are omitted or below threshold. magent does not measure red-cell mass.","type":"boolean"},"jak2_v617f_or_exon12":{"description":"JAK2 V617F or JAK2 exon 12 mutation as assigned by the caller (Arber 2016 WHO 2016 major 3). true or false. magent does not sequence JAK2.","type":"boolean"},"sex":{"description":"female or male (Arber 2016 WHO 2016 PV hemoglobin/hematocrit thresholds). Required even when only increased_red_cell_mass is used. Assigned by the caller.","enum":["female","male"],"type":"string"},"subnormal_epo":{"description":"Subnormal serum erythropoietin as assigned by the caller (Arber 2016 WHO 2016 minor criterion). true or false. magent does not assay EPO.","type":"boolean"}},"required":["sex","increased_red_cell_mass","bone_marrow_panmyelosis","jak2_v617f_or_exon12","subnormal_epo"],"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":["who-2016","pv","hematology","jak2","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:56:03.575Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:56:03.445Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bone_marrow_panmyelosis":false,"hematocrit_percent":45,"hemoglobin_g_dl":15,"increased_red_cell_mass":false,"jak2_v617f_or_exon12":false,"sex":"male","subnormal_epo":false},{"bone_marrow_panmyelosis":false,"hematocrit_percent":45,"hemoglobin_g_dl":15,"increased_red_cell_mass":false,"jak2_v617f_or_exon12":false,"sex":"male","subnormal_epo":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bone_marrow_panmyelosis":false,"citation":{"authors":"Arber DA, Orazi A, Hasserjian R, Thiele J, Borowitz MJ, Le Beau MM, Bloomfield CD, Cazzola M, Vardiman JW","doi":"10.1182/blood-2016-03-643544","id":"arber-2016","pmid":"27069254","source":"Blood. 2016;127(20):2391-2405","title":"The 2016 revision to the World Health Organization classification of myeloid neoplasms and acute leukemia"},"criteria":[{"factor":"major_1","met":false},{"factor":"major_2","met":false},{"factor":"major_3","met":false},{"factor":"minor","met":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":"who_pv","formula_expression":"pv_criteria_met iff (major_1 and major_2 and major_3) or (major_1 and major_2 and minor); major_1 iff increased_red_cell_mass or (male and (hemoglobin_g_dl > 16.5 or hematocrit_percent > 49)) or (female and (hemoglobin_g_dl > 16.0 or hematocrit_percent > 48)); major_2 bone_marrow_panmyelosis; major_3 jak2_v617f_or_exon12; minor subnormal_epo (Arber 2016 WHO 2016 PV). Not WHO 2022","hematocrit_percent":45,"hemoglobin_g_dl":15,"increased_red_cell_mass":false,"jak2_v617f_or_exon12":false,"major_1":false,"major_2":false,"major_3":false,"minor":false,"pv_criteria_met":false,"sex":"male","subnormal_epo":false},{"bone_marrow_panmyelosis":false,"citation":{"authors":"Arber DA, Orazi A, Hasserjian R, Thiele J, Borowitz MJ, Le Beau MM, Bloomfield CD, Cazzola M, Vardiman JW","doi":"10.1182/blood-2016-03-643544","id":"arber-2016","pmid":"27069254","source":"Blood. 2016;127(20):2391-2405","title":"The 2016 revision to the World Health Organization classification of myeloid neoplasms and acute leukemia"},"criteria":[{"factor":"major_1","met":false},{"factor":"major_2","met":false},{"factor":"major_3","met":false},{"factor":"minor","met":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":"who_pv","formula_expression":"pv_criteria_met iff (major_1 and major_2 and major_3) or (major_1 and major_2 and minor); major_1 iff increased_red_cell_mass or (male and (hemoglobin_g_dl > 16.5 or hematocrit_percent > 49)) or (female and (hemoglobin_g_dl > 16.0 or hematocrit_percent > 48)); major_2 bone_marrow_panmyelosis; major_3 jak2_v617f_or_exon12; minor subnormal_epo (Arber 2016 WHO 2016 PV). Not WHO 2022","hematocrit_percent":45,"hemoglobin_g_dl":15,"increased_red_cell_mass":false,"jak2_v617f_or_exon12":false,"major_1":false,"major_2":false,"major_3":false,"minor":false,"pv_criteria_met":false,"sex":"male","subnormal_epo":false}],"path":"/api/calc/who_pv"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bone_marrow_panmyelosis":{"description":"WHO 2016 marrow major as assigned by the caller (age-adjusted hypercellularity with panmyelosis, including pleomorphic mature megakaryocytes). true or false. magent does not read slides.","type":"boolean"},"hematocrit_percent":{"description":"Hematocrit percent (10-70). Major 1 meets when male >49 or female >48. Optional when hemoglobin_g_dl is sent or increased_red_cell_mass is true. magent does not assay hematocrit.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Major 1 meets when male >16.5 or female >16.0. Optional when hematocrit_percent is sent or increased_red_cell_mass is true. At least one of hemoglobin_g_dl, hematocrit_percent, or increased_red_cell_mass true is required. magent does not assay hemoglobin.","type":"number"},"increased_red_cell_mass":{"description":"Increased red-cell mass as assigned by the caller (Arber 2016 WHO 2016 major 1 alternative to Hb/Hct). true or false. true meets major 1 even when Hb/Hct are omitted or below threshold. magent does not measure red-cell mass.","type":"boolean"},"jak2_v617f_or_exon12":{"description":"JAK2 V617F or JAK2 exon 12 mutation as assigned by the caller (Arber 2016 WHO 2016 major 3). true or false. magent does not sequence JAK2.","type":"boolean"},"sex":{"description":"female or male (Arber 2016 WHO 2016 PV hemoglobin/hematocrit thresholds). Required even when only increased_red_cell_mass is used. Assigned by the caller.","enum":["female","male"],"type":"string"},"subnormal_epo":{"description":"Subnormal serum erythropoietin as assigned by the caller (Arber 2016 WHO 2016 minor criterion). true or false. magent does not assay EPO.","type":"boolean"}},"required":["sex","increased_red_cell_mass","bone_marrow_panmyelosis","jak2_v617f_or_exon12","subnormal_epo"],"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},{"id":38884,"slug":"38884","resource":"https://api.magentlab.com/api/calc/sg_port","description":"Jacobs 2022 Table 3 Cox linear predictor for overall survival after resected major salivary gland cancer with versus without postoperative radiotherapy. Age per 10 years by PORT, male, Charlson-Deyo per point, gland, PORT by T stage, nodal-positivity ratio band, grade step, and positive margin as ln(HR). Not a 2-/5-/10-year OS percent (no printed S0). Not a radiation order. magent does not compute Charlson-Deyo or count nodes.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":65,"charlson_deyo":"0","gland":"parotid","grade":"low","margin":"negative","nodal_positivity_ratio":"0","port":false,"sex":"male","t_stage":"t2"},{"age":65,"charlson_deyo":"0","gland":"parotid","grade":"low","margin":"negative","nodal_positivity_ratio":"0","port":false,"sex":"male","t_stage":"t2"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":65,"charlson_deyo":"0","citation":{"authors":"Jacobs CD, Barak I, Jung SH, et al.","doi":"10.1016/j.oraloncology.2022.105955","id":"jacobs-2022-sg-port","pmid":"35752134","source":"Oral Oncol. 2022;132:105955","title":"Prediction model to estimate overall survival benefit of postoperative radiotherapy for resected major salivary gland cancers"},"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":"sg_port","formula_expression":"lp = ln(age_hr_by_port)*(age/10) + ln(1.28)*male + ln(1.22)*charlson_deyo_step + ln(1.32)*submandibular + ln(0.72)*sublingual + ln(port_hr_by_t)*port + ln(1.29)*nodal_ratio_step + ln(1.34)*grade_step + ln(1.26)*positive_margin; Jacobs 2022 Table 3 multivariable HRs, β = ln(HR); age_hr is 1.52 without PORT and 1.37 with PORT (per 10 years); port_hr is 1.03/0.83/0.68/0.55 for pT1/pT2/pT3/pT4; charlson_deyo_step 0/1/2/3 for 0/1/2/ge_3; nodal_ratio_step 0/1/2/3 for 0 / 0.1-10 / 10.1-49.9 / ge_50; grade_step 0/1/2 for low/intermediate/high; T-stage main-effect HRs printed as dashes (PORT×T interaction); no printed S0; not 2-/5-/10-year OS percents; not a radiation order; magent does not compute Charlson-Deyo or count nodes","gland":"parotid","grade":"low","linear_predictor":2.968477,"margin":"negative","nodal_positivity_ratio":"0","port":false,"risk_score":2.968477,"sex":"male","t_stage":"t2"},{"age":65,"charlson_deyo":"0","citation":{"authors":"Jacobs CD, Barak I, Jung SH, et al.","doi":"10.1016/j.oraloncology.2022.105955","id":"jacobs-2022-sg-port","pmid":"35752134","source":"Oral Oncol. 2022;132:105955","title":"Prediction model to estimate overall survival benefit of postoperative radiotherapy for resected major salivary gland cancers"},"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":"sg_port","formula_expression":"lp = ln(age_hr_by_port)*(age/10) + ln(1.28)*male + ln(1.22)*charlson_deyo_step + ln(1.32)*submandibular + ln(0.72)*sublingual + ln(port_hr_by_t)*port + ln(1.29)*nodal_ratio_step + ln(1.34)*grade_step + ln(1.26)*positive_margin; Jacobs 2022 Table 3 multivariable HRs, β = ln(HR); age_hr is 1.52 without PORT and 1.37 with PORT (per 10 years); port_hr is 1.03/0.83/0.68/0.55 for pT1/pT2/pT3/pT4; charlson_deyo_step 0/1/2/3 for 0/1/2/ge_3; nodal_ratio_step 0/1/2/3 for 0 / 0.1-10 / 10.1-49.9 / ge_50; grade_step 0/1/2 for low/intermediate/high; T-stage main-effect HRs printed as dashes (PORT×T interaction); no printed S0; not 2-/5-/10-year OS percents; not a radiation order; magent does not compute Charlson-Deyo or count nodes","gland":"parotid","grade":"low","linear_predictor":2.968477,"margin":"negative","nodal_positivity_ratio":"0","port":false,"risk_score":2.968477,"sex":"male","t_stage":"t2"}],"path":"/api/calc/sg_port"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age at diagnosis in years (integer 18-120). Jacobs 2022 Table 3: per 10 years, HR 1.52 without PORT and HR 1.37 with PORT. magent does not assign age.","type":"integer"},"charlson_deyo":{"description":"Caller-assigned Charlson-Deyo score as published (0, 1, 2, or ge_3). Table 3 prints a single HR 1.22; magent applies ln(1.22) per step 0/1/2/3. magent does not compute Charlson-Deyo.","enum":["0","1","2","ge_3"],"type":"string"},"gland":{"description":"Involved major salivary gland. Table 3 versus parotid: submandibular HR 1.32; sublingual HR 0.72. magent does not assign the primary site.","enum":["parotid","submandibular","sublingual"],"type":"string"},"grade":{"description":"Caller-assigned grade (low, intermediate, or high). Table 3 prints a single HR 1.34; magent applies ln(1.34) per step from low. magent does not assign grade.","enum":["low","intermediate","high"],"type":"string"},"margin":{"description":"Surgical margin. Table 3: positive versus negative HR 1.26. magent does not read the pathology report.","enum":["negative","positive"],"type":"string"},"nodal_positivity_ratio":{"description":"Caller-assigned nodal-positivity ratio band as published: 0 (0%), 0.1-10, 10.1-49.9, or ge_50 (≥50%). Table 3 prints a single HR 1.29; magent applies ln(1.29) per a priori band step 0/1/2/3. magent does not count nodes.","enum":["0","0.1-10","10.1-49.9","ge_50"],"type":"string"},"port":{"description":"true if postoperative radiotherapy was given, false if not. Selects the Table 3 age HR and the T-stage-specific PORT HR. Not a radiation order.","type":"boolean"},"sex":{"description":"Caller-assigned sex. Table 3: male versus female HR 1.28. magent does not assign sex.","enum":["female","male"],"type":"string"},"t_stage":{"description":"AJCC pathologic T stage (t1, t2, t3, or t4) as recorded. Table 3 PORT HRs: pT1 1.03, pT2 0.83, pT3 0.68, pT4 0.55. T-stage main-effect HRs were printed as dashes because of the PORT×T interaction; without PORT the T term is 0. magent does not assign T stage.","enum":["t1","t2","t3","t4"],"type":"string"}},"required":["age","sex","charlson_deyo","gland","t_stage","grade","margin","nodal_positivity_ratio","port"],"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":["sg-port","salivary-gland","radiotherapy","survival","hematology","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:53:53.665Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:53:53.538Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":65,"charlson_deyo":"0","gland":"parotid","grade":"low","margin":"negative","nodal_positivity_ratio":"0","port":false,"sex":"male","t_stage":"t2"},{"age":65,"charlson_deyo":"0","gland":"parotid","grade":"low","margin":"negative","nodal_positivity_ratio":"0","port":false,"sex":"male","t_stage":"t2"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":65,"charlson_deyo":"0","citation":{"authors":"Jacobs CD, Barak I, Jung SH, et al.","doi":"10.1016/j.oraloncology.2022.105955","id":"jacobs-2022-sg-port","pmid":"35752134","source":"Oral Oncol. 2022;132:105955","title":"Prediction model to estimate overall survival benefit of postoperative radiotherapy for resected major salivary gland cancers"},"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":"sg_port","formula_expression":"lp = ln(age_hr_by_port)*(age/10) + ln(1.28)*male + ln(1.22)*charlson_deyo_step + ln(1.32)*submandibular + ln(0.72)*sublingual + ln(port_hr_by_t)*port + ln(1.29)*nodal_ratio_step + ln(1.34)*grade_step + ln(1.26)*positive_margin; Jacobs 2022 Table 3 multivariable HRs, β = ln(HR); age_hr is 1.52 without PORT and 1.37 with PORT (per 10 years); port_hr is 1.03/0.83/0.68/0.55 for pT1/pT2/pT3/pT4; charlson_deyo_step 0/1/2/3 for 0/1/2/ge_3; nodal_ratio_step 0/1/2/3 for 0 / 0.1-10 / 10.1-49.9 / ge_50; grade_step 0/1/2 for low/intermediate/high; T-stage main-effect HRs printed as dashes (PORT×T interaction); no printed S0; not 2-/5-/10-year OS percents; not a radiation order; magent does not compute Charlson-Deyo or count nodes","gland":"parotid","grade":"low","linear_predictor":2.968477,"margin":"negative","nodal_positivity_ratio":"0","port":false,"risk_score":2.968477,"sex":"male","t_stage":"t2"},{"age":65,"charlson_deyo":"0","citation":{"authors":"Jacobs CD, Barak I, Jung SH, et al.","doi":"10.1016/j.oraloncology.2022.105955","id":"jacobs-2022-sg-port","pmid":"35752134","source":"Oral Oncol. 2022;132:105955","title":"Prediction model to estimate overall survival benefit of postoperative radiotherapy for resected major salivary gland cancers"},"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":"sg_port","formula_expression":"lp = ln(age_hr_by_port)*(age/10) + ln(1.28)*male + ln(1.22)*charlson_deyo_step + ln(1.32)*submandibular + ln(0.72)*sublingual + ln(port_hr_by_t)*port + ln(1.29)*nodal_ratio_step + ln(1.34)*grade_step + ln(1.26)*positive_margin; Jacobs 2022 Table 3 multivariable HRs, β = ln(HR); age_hr is 1.52 without PORT and 1.37 with PORT (per 10 years); port_hr is 1.03/0.83/0.68/0.55 for pT1/pT2/pT3/pT4; charlson_deyo_step 0/1/2/3 for 0/1/2/ge_3; nodal_ratio_step 0/1/2/3 for 0 / 0.1-10 / 10.1-49.9 / ge_50; grade_step 0/1/2 for low/intermediate/high; T-stage main-effect HRs printed as dashes (PORT×T interaction); no printed S0; not 2-/5-/10-year OS percents; not a radiation order; magent does not compute Charlson-Deyo or count nodes","gland":"parotid","grade":"low","linear_predictor":2.968477,"margin":"negative","nodal_positivity_ratio":"0","port":false,"risk_score":2.968477,"sex":"male","t_stage":"t2"}],"path":"/api/calc/sg_port"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age at diagnosis in years (integer 18-120). Jacobs 2022 Table 3: per 10 years, HR 1.52 without PORT and HR 1.37 with PORT. magent does not assign age.","type":"integer"},"charlson_deyo":{"description":"Caller-assigned Charlson-Deyo score as published (0, 1, 2, or ge_3). Table 3 prints a single HR 1.22; magent applies ln(1.22) per step 0/1/2/3. magent does not compute Charlson-Deyo.","enum":["0","1","2","ge_3"],"type":"string"},"gland":{"description":"Involved major salivary gland. Table 3 versus parotid: submandibular HR 1.32; sublingual HR 0.72. magent does not assign the primary site.","enum":["parotid","submandibular","sublingual"],"type":"string"},"grade":{"description":"Caller-assigned grade (low, intermediate, or high). Table 3 prints a single HR 1.34; magent applies ln(1.34) per step from low. magent does not assign grade.","enum":["low","intermediate","high"],"type":"string"},"margin":{"description":"Surgical margin. Table 3: positive versus negative HR 1.26. magent does not read the pathology report.","enum":["negative","positive"],"type":"string"},"nodal_positivity_ratio":{"description":"Caller-assigned nodal-positivity ratio band as published: 0 (0%), 0.1-10, 10.1-49.9, or ge_50 (≥50%). Table 3 prints a single HR 1.29; magent applies ln(1.29) per a priori band step 0/1/2/3. magent does not count nodes.","enum":["0","0.1-10","10.1-49.9","ge_50"],"type":"string"},"port":{"description":"true if postoperative radiotherapy was given, false if not. Selects the Table 3 age HR and the T-stage-specific PORT HR. Not a radiation order.","type":"boolean"},"sex":{"description":"Caller-assigned sex. Table 3: male versus female HR 1.28. magent does not assign sex.","enum":["female","male"],"type":"string"},"t_stage":{"description":"AJCC pathologic T stage (t1, t2, t3, or t4) as recorded. Table 3 PORT HRs: pT1 1.03, pT2 0.83, pT3 0.68, pT4 0.55. T-stage main-effect HRs were printed as dashes because of the PORT×T interaction; without PORT the T term is 0. magent does not assign T stage.","enum":["t1","t2","t3","t4"],"type":"string"}},"required":["age","sex","charlson_deyo","gland","t_stage","grade","margin","nodal_positivity_ratio","port"],"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},{"id":38885,"slug":"38885","resource":"https://api.magentlab.com/api/calc/sokal","description":"Sokal 1984 relative-risk index for newly diagnosed untreated chronic granulocytic leukemia (CML). sokal_index = exp(0.0116*(age-43.4)+0.0345*(spleen_cm-7.51)+0.188*((platelets_10e9_l/700)^2-0.563)+0.0887*(blasts_percent-2.10)). Low <0.8, intermediate 0.8–1.2, high >1.2. Coefficient 0.188. Does not diagnose CML or choose TKI therapy.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"blasts_percent":2,"platelets_10e9_l":350,"spleen_cm":10},{"age":50,"blasts_percent":2,"platelets_10e9_l":350,"spleen_cm":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"blasts_percent":2,"citation":{"authors":"Sokal JE, Cox EB, Baccarani M, Tura S, Gomez GA, Robertson JE, Tso CY, Braun TJ, Clarkson BD, Cervantes F, Rozman C","doi":"10.1182/blood.V63.4.789.789","id":"sokal-1984","pmid":"6584184","source":"Blood. 1984;63(4):789-799","title":"Prognostic discrimination in \"good-risk\" chronic granulocytic leukemia"},"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":"sokal","formula_expression":"sokal_index = exp(0.0116 * (age - 43.4) + 0.0345 * (spleen_cm - 7.51) + 0.188 * ((platelets_10e9_l / 700) ^ 2 - 0.563) + 0.0887 * (blasts_percent - 2.10))","platelets_10e9_l":350,"sokal_band":"intermediate","sokal_index":1.1,"spleen_cm":10},{"age":50,"blasts_percent":2,"citation":{"authors":"Sokal JE, Cox EB, Baccarani M, Tura S, Gomez GA, Robertson JE, Tso CY, Braun TJ, Clarkson BD, Cervantes F, Rozman C","doi":"10.1182/blood.V63.4.789.789","id":"sokal-1984","pmid":"6584184","source":"Blood. 1984;63(4):789-799","title":"Prognostic discrimination in \"good-risk\" chronic granulocytic leukemia"},"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":"sokal","formula_expression":"sokal_index = exp(0.0116 * (age - 43.4) + 0.0345 * (spleen_cm - 7.51) + 0.188 * ((platelets_10e9_l / 700) ^ 2 - 0.563) + 0.0887 * (blasts_percent - 2.10))","platelets_10e9_l":350,"sokal_band":"intermediate","sokal_index":1.1,"spleen_cm":10}],"path":"/api/calc/sokal"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 1-120). Sokal 1984 CML index; not the adult 18-120 clamp.","type":"integer"},"blasts_percent":{"description":"Circulating blasts as a percent of leukocytes (0-100). Sokal 1984.","type":"number"},"platelets_10e9_l":{"description":"Platelet count ×10⁹/L (1-5000). Sokal 1984; CML counts may exceed 2000.","type":"number"},"spleen_cm":{"description":"Spleen size in cm below the costal margin (0-40). Sokal 1984.","type":"number"}},"required":["age","spleen_cm","platelets_10e9_l","blasts_percent"],"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":["sokal","cml","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:53:27.279Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:53:27.152Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"blasts_percent":2,"platelets_10e9_l":350,"spleen_cm":10},{"age":50,"blasts_percent":2,"platelets_10e9_l":350,"spleen_cm":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"blasts_percent":2,"citation":{"authors":"Sokal JE, Cox EB, Baccarani M, Tura S, Gomez GA, Robertson JE, Tso CY, Braun TJ, Clarkson BD, Cervantes F, Rozman C","doi":"10.1182/blood.V63.4.789.789","id":"sokal-1984","pmid":"6584184","source":"Blood. 1984;63(4):789-799","title":"Prognostic discrimination in \"good-risk\" chronic granulocytic leukemia"},"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":"sokal","formula_expression":"sokal_index = exp(0.0116 * (age - 43.4) + 0.0345 * (spleen_cm - 7.51) + 0.188 * ((platelets_10e9_l / 700) ^ 2 - 0.563) + 0.0887 * (blasts_percent - 2.10))","platelets_10e9_l":350,"sokal_band":"intermediate","sokal_index":1.1,"spleen_cm":10},{"age":50,"blasts_percent":2,"citation":{"authors":"Sokal JE, Cox EB, Baccarani M, Tura S, Gomez GA, Robertson JE, Tso CY, Braun TJ, Clarkson BD, Cervantes F, Rozman C","doi":"10.1182/blood.V63.4.789.789","id":"sokal-1984","pmid":"6584184","source":"Blood. 1984;63(4):789-799","title":"Prognostic discrimination in \"good-risk\" chronic granulocytic leukemia"},"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":"sokal","formula_expression":"sokal_index = exp(0.0116 * (age - 43.4) + 0.0345 * (spleen_cm - 7.51) + 0.188 * ((platelets_10e9_l / 700) ^ 2 - 0.563) + 0.0887 * (blasts_percent - 2.10))","platelets_10e9_l":350,"sokal_band":"intermediate","sokal_index":1.1,"spleen_cm":10}],"path":"/api/calc/sokal"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 1-120). Sokal 1984 CML index; not the adult 18-120 clamp.","type":"integer"},"blasts_percent":{"description":"Circulating blasts as a percent of leukocytes (0-100). Sokal 1984.","type":"number"},"platelets_10e9_l":{"description":"Platelet count ×10⁹/L (1-5000). Sokal 1984; CML counts may exceed 2000.","type":"number"},"spleen_cm":{"description":"Spleen size in cm below the costal margin (0-40). Sokal 1984.","type":"number"}},"required":["age","spleen_cm","platelets_10e9_l","blasts_percent"],"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},{"id":38886,"slug":"38886","resource":"https://api.magentlab.com/api/calc/stanford_sleepiness","description":"Hoddes 1973 Stanford Sleepiness Scale degree 1-7 as assigned by the caller. Returns the degree, score (same as the degree), max 7, and published wording (feeling active and vital; alert; wide awake through almost in reverie; sleep onset soon). Not the Epworth Sleepiness Scale. Not a sleep-disorder diagnosis; magent does not observe the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"stanford_sleepiness":1},{"stanford_sleepiness":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hoddes E, Zarcone V, Smythe H, Phillips R, Dement WC","doi":"10.1111/j.1469-8986.1973.tb00801.x","id":"hoddes-1973","pmid":"4716586","source":"Psychophysiology. 1973;10(4):431-436","title":"Quantification of sleepiness: a new approach"},"components":[{"factor":"stanford_sleepiness","points":1,"present":true}],"description":"Feeling active and vital; alert; wide awake.","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":"stanford_sleepiness","formula_expression":"Stanford Sleepiness Scale degree 1-7 as assigned by the caller (Hoddes 1973); max 7","max_score":7,"score":1,"stanford_sleepiness":1},{"citation":{"authors":"Hoddes E, Zarcone V, Smythe H, Phillips R, Dement WC","doi":"10.1111/j.1469-8986.1973.tb00801.x","id":"hoddes-1973","pmid":"4716586","source":"Psychophysiology. 1973;10(4):431-436","title":"Quantification of sleepiness: a new approach"},"components":[{"factor":"stanford_sleepiness","points":1,"present":true}],"description":"Feeling active and vital; alert; wide awake.","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":"stanford_sleepiness","formula_expression":"Stanford Sleepiness Scale degree 1-7 as assigned by the caller (Hoddes 1973); max 7","max_score":7,"score":1,"stanford_sleepiness":1}],"path":"/api/calc/stanford_sleepiness"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"stanford_sleepiness":{"description":"Hoddes 1973 Stanford Sleepiness Scale degree 1-7 as assigned by the caller (1 feeling active and vital, alert, wide awake; 2 functioning at a high level, but not at peak, able to concentrate; 3 relaxed, awake, not at full alertness, responsive; 4 a little foggy, not at peak, let down; 5 fogginess, beginning to lose interest in remaining awake, slowed down; 6 sleepiness, prefer to be lying down, fighting sleep, woozy; 7 almost in reverie, sleep onset soon, lost struggle to remain awake). Not Epworth. magent does not observe the patient.","type":"integer"}},"required":["stanford_sleepiness"],"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":["stanford-sleepiness","sleepiness","neurology","sss","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:52:32.135Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:52:31.93Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"stanford_sleepiness":1},{"stanford_sleepiness":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hoddes E, Zarcone V, Smythe H, Phillips R, Dement WC","doi":"10.1111/j.1469-8986.1973.tb00801.x","id":"hoddes-1973","pmid":"4716586","source":"Psychophysiology. 1973;10(4):431-436","title":"Quantification of sleepiness: a new approach"},"components":[{"factor":"stanford_sleepiness","points":1,"present":true}],"description":"Feeling active and vital; alert; wide awake.","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":"stanford_sleepiness","formula_expression":"Stanford Sleepiness Scale degree 1-7 as assigned by the caller (Hoddes 1973); max 7","max_score":7,"score":1,"stanford_sleepiness":1},{"citation":{"authors":"Hoddes E, Zarcone V, Smythe H, Phillips R, Dement WC","doi":"10.1111/j.1469-8986.1973.tb00801.x","id":"hoddes-1973","pmid":"4716586","source":"Psychophysiology. 1973;10(4):431-436","title":"Quantification of sleepiness: a new approach"},"components":[{"factor":"stanford_sleepiness","points":1,"present":true}],"description":"Feeling active and vital; alert; wide awake.","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":"stanford_sleepiness","formula_expression":"Stanford Sleepiness Scale degree 1-7 as assigned by the caller (Hoddes 1973); max 7","max_score":7,"score":1,"stanford_sleepiness":1}],"path":"/api/calc/stanford_sleepiness"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"stanford_sleepiness":{"description":"Hoddes 1973 Stanford Sleepiness Scale degree 1-7 as assigned by the caller (1 feeling active and vital, alert, wide awake; 2 functioning at a high level, but not at peak, able to concentrate; 3 relaxed, awake, not at full alertness, responsive; 4 a little foggy, not at peak, let down; 5 fogginess, beginning to lose interest in remaining awake, slowed down; 6 sleepiness, prefer to be lying down, fighting sleep, woozy; 7 almost in reverie, sleep onset soon, lost struggle to remain awake). Not Epworth. magent does not observe the patient.","type":"integer"}},"required":["stanford_sleepiness"],"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},{"id":38887,"slug":"38887","resource":"https://api.magentlab.com/api/calc/rope","description":"ROPE (Risk of Paradoxical Embolism; Kent 2013 Neurology Table 4) from age decades (18-29 5, 30-39 4, 40-49 3, 50-59 2, 60-69 1, >=70 0) plus five caller-assigned 1-point factors (no hypertension, no diabetes, no prior stroke/TIA, nonsmoker, cortical infarct). Score 0-10 with abstract groupings 0-3, 4-8 residual, and 9-10. Not a PFO diagnosis, not a closure indication, not PASCAL. magent does not read imaging or a smoking history.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"cortical_infarct":false,"no_diabetes":false,"no_hypertension":false,"no_prior_stroke_tia":false,"nonsmoker":false},{"age":70,"cortical_infarct":false,"no_diabetes":false,"no_hypertension":false,"no_prior_stroke_tia":false,"nonsmoker":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Kent DM, Ruthazer R, Weimar C, Mas JL, Serena J, Homma S, Di Angelantonio E, Di Tullio MR, Lutz JS, Elkind MSV, Griffith J, Jaigobin C, Mattle HP, Michel P, Mono ML, Nedeltchev K, Papetti F, Thaler DE","doi":"10.1212/WNL.0b013e3182a08d59","id":"kent-2013","pmid":"23864310","source":"Neurology. 2013;81(7):619-625","title":"An index to identify stroke-related vs incidental patent foramen ovale in cryptogenic stroke"},"components":[{"factor":"age","points":0,"present":false,"value":70},{"factor":"no_hypertension","points":0,"present":false},{"factor":"no_diabetes","points":0,"present":false},{"factor":"no_prior_stroke_tia","points":0,"present":false},{"factor":"nonsmoker","points":0,"present":false},{"factor":"cortical_infarct","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":"rope","formula_expression":"ROPE = age_points + no_hypertension 1 + no_diabetes 1 + no_prior_stroke_tia 1 + nonsmoker 1 + cortical_infarct 1; age 18-29 5, 30-39 4, 40-49 3, 50-59 2, 60-69 1, >=70 0; Kent 2013 Table 4; max 10","max_score":10,"rope_stratum":"0_to_3","score":0},{"age_years":70,"citation":{"authors":"Kent DM, Ruthazer R, Weimar C, Mas JL, Serena J, Homma S, Di Angelantonio E, Di Tullio MR, Lutz JS, Elkind MSV, Griffith J, Jaigobin C, Mattle HP, Michel P, Mono ML, Nedeltchev K, Papetti F, Thaler DE","doi":"10.1212/WNL.0b013e3182a08d59","id":"kent-2013","pmid":"23864310","source":"Neurology. 2013;81(7):619-625","title":"An index to identify stroke-related vs incidental patent foramen ovale in cryptogenic stroke"},"components":[{"factor":"age","points":0,"present":false,"value":70},{"factor":"no_hypertension","points":0,"present":false},{"factor":"no_diabetes","points":0,"present":false},{"factor":"no_prior_stroke_tia","points":0,"present":false},{"factor":"nonsmoker","points":0,"present":false},{"factor":"cortical_infarct","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":"rope","formula_expression":"ROPE = age_points + no_hypertension 1 + no_diabetes 1 + no_prior_stroke_tia 1 + nonsmoker 1 + cortical_infarct 1; age 18-29 5, 30-39 4, 40-49 3, 50-59 2, 60-69 1, >=70 0; Kent 2013 Table 4; max 10","max_score":10,"rope_stratum":"0_to_3","score":0}],"path":"/api/calc/rope"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Kent 2013 Table 4: 18-29 scores 5; 30-39 scores 4; 40-49 scores 3; 50-59 scores 2; 60-69 scores 1; 70 or older scores 0.","type":"integer"},"cortical_infarct":{"description":"Cortical infarct on imaging (Kent 2013). Caller-assigned. magent does not read imaging. true scores 1; false scores 0.","type":"boolean"},"no_diabetes":{"description":"Absence of diabetes (Kent 2013). Caller-assigned. true scores 1; false scores 0.","type":"boolean"},"no_hypertension":{"description":"Absence of hypertension (Kent 2013). Caller-assigned. true scores 1; false scores 0.","type":"boolean"},"no_prior_stroke_tia":{"description":"Absence of prior stroke or TIA (Kent 2013). Caller-assigned. true scores 1; false scores 0.","type":"boolean"},"nonsmoker":{"description":"Nonsmoker (Kent 2013). Caller-assigned. magent does not read a smoking history. true scores 1; false scores 0.","type":"boolean"}},"required":["age","no_hypertension","no_diabetes","no_prior_stroke_tia","nonsmoker","cortical_infarct"],"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":["rope","pfo","stroke","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:52:05.661Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:52:05.523Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"cortical_infarct":false,"no_diabetes":false,"no_hypertension":false,"no_prior_stroke_tia":false,"nonsmoker":false},{"age":70,"cortical_infarct":false,"no_diabetes":false,"no_hypertension":false,"no_prior_stroke_tia":false,"nonsmoker":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Kent DM, Ruthazer R, Weimar C, Mas JL, Serena J, Homma S, Di Angelantonio E, Di Tullio MR, Lutz JS, Elkind MSV, Griffith J, Jaigobin C, Mattle HP, Michel P, Mono ML, Nedeltchev K, Papetti F, Thaler DE","doi":"10.1212/WNL.0b013e3182a08d59","id":"kent-2013","pmid":"23864310","source":"Neurology. 2013;81(7):619-625","title":"An index to identify stroke-related vs incidental patent foramen ovale in cryptogenic stroke"},"components":[{"factor":"age","points":0,"present":false,"value":70},{"factor":"no_hypertension","points":0,"present":false},{"factor":"no_diabetes","points":0,"present":false},{"factor":"no_prior_stroke_tia","points":0,"present":false},{"factor":"nonsmoker","points":0,"present":false},{"factor":"cortical_infarct","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":"rope","formula_expression":"ROPE = age_points + no_hypertension 1 + no_diabetes 1 + no_prior_stroke_tia 1 + nonsmoker 1 + cortical_infarct 1; age 18-29 5, 30-39 4, 40-49 3, 50-59 2, 60-69 1, >=70 0; Kent 2013 Table 4; max 10","max_score":10,"rope_stratum":"0_to_3","score":0},{"age_years":70,"citation":{"authors":"Kent DM, Ruthazer R, Weimar C, Mas JL, Serena J, Homma S, Di Angelantonio E, Di Tullio MR, Lutz JS, Elkind MSV, Griffith J, Jaigobin C, Mattle HP, Michel P, Mono ML, Nedeltchev K, Papetti F, Thaler DE","doi":"10.1212/WNL.0b013e3182a08d59","id":"kent-2013","pmid":"23864310","source":"Neurology. 2013;81(7):619-625","title":"An index to identify stroke-related vs incidental patent foramen ovale in cryptogenic stroke"},"components":[{"factor":"age","points":0,"present":false,"value":70},{"factor":"no_hypertension","points":0,"present":false},{"factor":"no_diabetes","points":0,"present":false},{"factor":"no_prior_stroke_tia","points":0,"present":false},{"factor":"nonsmoker","points":0,"present":false},{"factor":"cortical_infarct","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":"rope","formula_expression":"ROPE = age_points + no_hypertension 1 + no_diabetes 1 + no_prior_stroke_tia 1 + nonsmoker 1 + cortical_infarct 1; age 18-29 5, 30-39 4, 40-49 3, 50-59 2, 60-69 1, >=70 0; Kent 2013 Table 4; max 10","max_score":10,"rope_stratum":"0_to_3","score":0}],"path":"/api/calc/rope"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Kent 2013 Table 4: 18-29 scores 5; 30-39 scores 4; 40-49 scores 3; 50-59 scores 2; 60-69 scores 1; 70 or older scores 0.","type":"integer"},"cortical_infarct":{"description":"Cortical infarct on imaging (Kent 2013). Caller-assigned. magent does not read imaging. true scores 1; false scores 0.","type":"boolean"},"no_diabetes":{"description":"Absence of diabetes (Kent 2013). Caller-assigned. true scores 1; false scores 0.","type":"boolean"},"no_hypertension":{"description":"Absence of hypertension (Kent 2013). Caller-assigned. true scores 1; false scores 0.","type":"boolean"},"no_prior_stroke_tia":{"description":"Absence of prior stroke or TIA (Kent 2013). Caller-assigned. true scores 1; false scores 0.","type":"boolean"},"nonsmoker":{"description":"Nonsmoker (Kent 2013). Caller-assigned. magent does not read a smoking history. true scores 1; false scores 0.","type":"boolean"}},"required":["age","no_hypertension","no_diabetes","no_prior_stroke_tia","nonsmoker","cortical_infarct"],"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},{"id":38888,"slug":"38888","resource":"https://api.magentlab.com/api/calc/thrive","description":"THRIVE (Totaled Health Risks in Vascular Events; Flint 2010 AJNR) from trichotomized age (<=59 0, 60-79 1, >=80 2), trichotomized NIHSS (<=10 0, 11-20 2, >=21 4), and chronic disease scale (hypertension, diabetes, atrial fibrillation; 1 each). Score 0-9; bands low 0-2, moderate 3-5, high 6-9 with published 90-day mRS 0-2 and mortality percents. Not a treatment recommendation. magent does not examine the patient or assign NIHSS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"atrial_fibrillation":false,"diabetes":false,"hypertension":true,"nihss":12},{"age":70,"atrial_fibrillation":false,"diabetes":false,"hypertension":true,"nihss":12}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"cds":1,"citation":{"authors":"Flint AC, Cullen SP, Faigeles BG, Rao VA","doi":"10.3174/ajnr.A2050","id":"flint-2010","pmid":"20223889","source":"AJNR Am J Neuroradiol. 2010;31(7):1192-1196","title":"Predicting long-term outcome after endovascular stroke treatment: the totaled health risks in vascular events score"},"components":[{"factor":"age","points":1,"present":true,"value":70},{"factor":"nihss","points":2,"present":true,"value":12},{"factor":"hypertension","points":1,"present":true},{"factor":"diabetes","points":0,"present":false},{"factor":"atrial_fibrillation","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":"thrive","formula_expression":"THRIVE = trichotomized_age + trichotomized_nihss + CDS; age <=59 0, 60-79 1, >=80 2; NIHSS <=10 0, 11-20 2, >=21 4; hypertension, diabetes, atrial fibrillation 1 each (CDS 0-3); bands 0-2 / 3-5 / 6-9; max 9","good_outcome_percent":43.5,"max_score":9,"mortality_percent":30.1,"nihss":12,"score":4,"thrive_band":"moderate"},{"age_years":70,"cds":1,"citation":{"authors":"Flint AC, Cullen SP, Faigeles BG, Rao VA","doi":"10.3174/ajnr.A2050","id":"flint-2010","pmid":"20223889","source":"AJNR Am J Neuroradiol. 2010;31(7):1192-1196","title":"Predicting long-term outcome after endovascular stroke treatment: the totaled health risks in vascular events score"},"components":[{"factor":"age","points":1,"present":true,"value":70},{"factor":"nihss","points":2,"present":true,"value":12},{"factor":"hypertension","points":1,"present":true},{"factor":"diabetes","points":0,"present":false},{"factor":"atrial_fibrillation","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":"thrive","formula_expression":"THRIVE = trichotomized_age + trichotomized_nihss + CDS; age <=59 0, 60-79 1, >=80 2; NIHSS <=10 0, 11-20 2, >=21 4; hypertension, diabetes, atrial fibrillation 1 each (CDS 0-3); bands 0-2 / 3-5 / 6-9; max 9","good_outcome_percent":43.5,"max_score":9,"mortality_percent":30.1,"nihss":12,"score":4,"thrive_band":"moderate"}],"path":"/api/calc/thrive"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Trichotomized: ≤59 scores 0; 60-79 scores 1; ≥80 scores 2 (1 point per age level).","type":"integer"},"atrial_fibrillation":{"description":"Atrial fibrillation on the chronic disease scale (CDS). true scores 1; false scores 0.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus on the chronic disease scale (CDS). true scores 1; false scores 0.","type":"boolean"},"hypertension":{"description":"Hypertension on the chronic disease scale (CDS). true scores 1; false scores 0.","type":"boolean"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42). Trichotomized: ≤10 scores 0; 11-20 scores 2; ≥21 scores 4 (2 points per NIHSS level). magent does not examine the patient.","type":"integer"}},"required":["age","nihss","hypertension","diabetes","atrial_fibrillation"],"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":["thrive","stroke","neurology","nihss","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:48:59.387Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:48:59.262Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"atrial_fibrillation":false,"diabetes":false,"hypertension":true,"nihss":12},{"age":70,"atrial_fibrillation":false,"diabetes":false,"hypertension":true,"nihss":12}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"cds":1,"citation":{"authors":"Flint AC, Cullen SP, Faigeles BG, Rao VA","doi":"10.3174/ajnr.A2050","id":"flint-2010","pmid":"20223889","source":"AJNR Am J Neuroradiol. 2010;31(7):1192-1196","title":"Predicting long-term outcome after endovascular stroke treatment: the totaled health risks in vascular events score"},"components":[{"factor":"age","points":1,"present":true,"value":70},{"factor":"nihss","points":2,"present":true,"value":12},{"factor":"hypertension","points":1,"present":true},{"factor":"diabetes","points":0,"present":false},{"factor":"atrial_fibrillation","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":"thrive","formula_expression":"THRIVE = trichotomized_age + trichotomized_nihss + CDS; age <=59 0, 60-79 1, >=80 2; NIHSS <=10 0, 11-20 2, >=21 4; hypertension, diabetes, atrial fibrillation 1 each (CDS 0-3); bands 0-2 / 3-5 / 6-9; max 9","good_outcome_percent":43.5,"max_score":9,"mortality_percent":30.1,"nihss":12,"score":4,"thrive_band":"moderate"},{"age_years":70,"cds":1,"citation":{"authors":"Flint AC, Cullen SP, Faigeles BG, Rao VA","doi":"10.3174/ajnr.A2050","id":"flint-2010","pmid":"20223889","source":"AJNR Am J Neuroradiol. 2010;31(7):1192-1196","title":"Predicting long-term outcome after endovascular stroke treatment: the totaled health risks in vascular events score"},"components":[{"factor":"age","points":1,"present":true,"value":70},{"factor":"nihss","points":2,"present":true,"value":12},{"factor":"hypertension","points":1,"present":true},{"factor":"diabetes","points":0,"present":false},{"factor":"atrial_fibrillation","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":"thrive","formula_expression":"THRIVE = trichotomized_age + trichotomized_nihss + CDS; age <=59 0, 60-79 1, >=80 2; NIHSS <=10 0, 11-20 2, >=21 4; hypertension, diabetes, atrial fibrillation 1 each (CDS 0-3); bands 0-2 / 3-5 / 6-9; max 9","good_outcome_percent":43.5,"max_score":9,"mortality_percent":30.1,"nihss":12,"score":4,"thrive_band":"moderate"}],"path":"/api/calc/thrive"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Trichotomized: ≤59 scores 0; 60-79 scores 1; ≥80 scores 2 (1 point per age level).","type":"integer"},"atrial_fibrillation":{"description":"Atrial fibrillation on the chronic disease scale (CDS). true scores 1; false scores 0.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus on the chronic disease scale (CDS). true scores 1; false scores 0.","type":"boolean"},"hypertension":{"description":"Hypertension on the chronic disease scale (CDS). true scores 1; false scores 0.","type":"boolean"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42). Trichotomized: ≤10 scores 0; 11-20 scores 2; ≥21 scores 4 (2 points per NIHSS level). magent does not examine the patient.","type":"integer"}},"required":["age","nihss","hypertension","diabetes","atrial_fibrillation"],"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},{"id":38889,"slug":"38889","resource":"https://api.magentlab.com/api/calc/webster","description":"Webster 1968 rating scale: ten caller-assigned integers 0-3 (bradykinesia, rigidity, posture, upper_extremity_swing, gait, tremor, facies, seborrhea, speech, self_care). magent sums only (max 30) and does not examine the patient. Score only; magent does not invent mild/moderate/severe total-score bands. Historical 10-item 0-30 sum. Not MDS-UPDRS and not a Parkinson diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bradykinesia":0,"facies":0,"gait":0,"posture":0,"rigidity":0,"seborrhea":0,"self_care":0,"speech":0,"tremor":0,"upper_extremity_swing":0},{"bradykinesia":0,"facies":0,"gait":0,"posture":0,"rigidity":0,"seborrhea":0,"self_care":0,"speech":0,"tremor":0,"upper_extremity_swing":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Webster DD","id":"webster-1968","pmid":"5655944","source":"Mod Treat. 1968;5(2):257-282","title":"Critical analysis of the disability in Parkinson's disease"},"components":[{"factor":"bradykinesia","points":0,"present":true,"value":0},{"factor":"rigidity","points":0,"present":true,"value":0},{"factor":"posture","points":0,"present":true,"value":0},{"factor":"upper_extremity_swing","points":0,"present":true,"value":0},{"factor":"gait","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"facies","points":0,"present":true,"value":0},{"factor":"seborrhea","points":0,"present":true,"value":0},{"factor":"speech","points":0,"present":true,"value":0},{"factor":"self_care","points":0,"present":true,"value":0}],"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":"webster","formula_expression":"Webster = bradykinesia + rigidity + posture + upper_extremity_swing + gait + tremor + facies + seborrhea + speech + self_care; each caller-assigned integer 0-3; max 30","max_score":30,"score":0},{"citation":{"authors":"Webster DD","id":"webster-1968","pmid":"5655944","source":"Mod Treat. 1968;5(2):257-282","title":"Critical analysis of the disability in Parkinson's disease"},"components":[{"factor":"bradykinesia","points":0,"present":true,"value":0},{"factor":"rigidity","points":0,"present":true,"value":0},{"factor":"posture","points":0,"present":true,"value":0},{"factor":"upper_extremity_swing","points":0,"present":true,"value":0},{"factor":"gait","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"facies","points":0,"present":true,"value":0},{"factor":"seborrhea","points":0,"present":true,"value":0},{"factor":"speech","points":0,"present":true,"value":0},{"factor":"self_care","points":0,"present":true,"value":0}],"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":"webster","formula_expression":"Webster = bradykinesia + rigidity + posture + upper_extremity_swing + gait + tremor + facies + seborrhea + speech + self_care; each caller-assigned integer 0-3; max 30","max_score":30,"score":0}],"path":"/api/calc/webster"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bradykinesia":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"facies":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"gait":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"posture":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"rigidity":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"seborrhea":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"self_care":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"speech":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"tremor":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"upper_extremity_swing":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"}},"required":["bradykinesia","rigidity","posture","upper_extremity_swing","gait","tremor","facies","seborrhea","speech","self_care"],"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":["webster","parkinson","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:47:31.452Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:47:31.325Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bradykinesia":0,"facies":0,"gait":0,"posture":0,"rigidity":0,"seborrhea":0,"self_care":0,"speech":0,"tremor":0,"upper_extremity_swing":0},{"bradykinesia":0,"facies":0,"gait":0,"posture":0,"rigidity":0,"seborrhea":0,"self_care":0,"speech":0,"tremor":0,"upper_extremity_swing":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Webster DD","id":"webster-1968","pmid":"5655944","source":"Mod Treat. 1968;5(2):257-282","title":"Critical analysis of the disability in Parkinson's disease"},"components":[{"factor":"bradykinesia","points":0,"present":true,"value":0},{"factor":"rigidity","points":0,"present":true,"value":0},{"factor":"posture","points":0,"present":true,"value":0},{"factor":"upper_extremity_swing","points":0,"present":true,"value":0},{"factor":"gait","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"facies","points":0,"present":true,"value":0},{"factor":"seborrhea","points":0,"present":true,"value":0},{"factor":"speech","points":0,"present":true,"value":0},{"factor":"self_care","points":0,"present":true,"value":0}],"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":"webster","formula_expression":"Webster = bradykinesia + rigidity + posture + upper_extremity_swing + gait + tremor + facies + seborrhea + speech + self_care; each caller-assigned integer 0-3; max 30","max_score":30,"score":0},{"citation":{"authors":"Webster DD","id":"webster-1968","pmid":"5655944","source":"Mod Treat. 1968;5(2):257-282","title":"Critical analysis of the disability in Parkinson's disease"},"components":[{"factor":"bradykinesia","points":0,"present":true,"value":0},{"factor":"rigidity","points":0,"present":true,"value":0},{"factor":"posture","points":0,"present":true,"value":0},{"factor":"upper_extremity_swing","points":0,"present":true,"value":0},{"factor":"gait","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"facies","points":0,"present":true,"value":0},{"factor":"seborrhea","points":0,"present":true,"value":0},{"factor":"speech","points":0,"present":true,"value":0},{"factor":"self_care","points":0,"present":true,"value":0}],"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":"webster","formula_expression":"Webster = bradykinesia + rigidity + posture + upper_extremity_swing + gait + tremor + facies + seborrhea + speech + self_care; each caller-assigned integer 0-3; max 30","max_score":30,"score":0}],"path":"/api/calc/webster"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bradykinesia":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"facies":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"gait":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"posture":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"rigidity":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"seborrhea":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"self_care":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"speech":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"tremor":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"},"upper_extremity_swing":{"description":"Caller-assigned Webster 1968 item, integer 0 (normal) to 3 (severe). magent does not examine the patient.","type":"integer"}},"required":["bradykinesia","rigidity","posture","upper_extremity_swing","gait","tremor","facies","seborrhea","speech","self_care"],"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},{"id":38893,"slug":"38893","resource":"https://api.magentlab.com/api/calc/sdai","description":"Aletaha 2005 Simplified Disease Activity Index (SDAI): sjc28 + tjc28 + patient global (0–10 cm) + evaluator global (0–10 cm) + CRP mg/dL. Newly proposed states: ≤3.3 remission, ≤11 low, ≤26 moderate, >26 high (not original 5/20/40). magent does not count joints or assay CRP. Not CDAI. Not a rheumatoid arthritis diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"crp_mg_dl":0.4,"ega":0,"pga":0,"sjc28":0,"tjc28":0},{"crp_mg_dl":0.4,"ega":0,"pga":0,"sjc28":0,"tjc28":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aletaha D, Ward MM, Machold KP, Nell VPK, Stamm T, Smolen JS","doi":"10.1002/art.21235","id":"aletaha-2005","pmid":"16142705","source":"Arthritis Rheum. 2005;52(9):2625-2636","title":"Remission and active disease in rheumatoid arthritis: defining criteria for disease activity states"},"components":[{"factor":"sjc28","points":0,"present":true,"value":0},{"factor":"tjc28","points":0,"present":true,"value":0},{"factor":"pga","points":0,"present":true,"value":0},{"factor":"ega","points":0,"present":true,"value":0},{"factor":"crp_mg_dl","points":0.4,"present":true,"value":0.4}],"crp_mg_dl":0.4,"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.","ega":0,"formula":"sdai","formula_expression":"SDAI = sjc28 + tjc28 + pga + ega + crp_mg_dl; Aletaha 2005 newly proposed definition; ≤3.3 remission, >3.3 and ≤11 low, >11 and ≤26 moderate, >26 high; half points allowed; not original 5/20/40; magent does not count joints or assay CRP","max_score":106,"pga":0,"score":0.4,"sdai_band":"remission","sjc28":0,"tjc28":0},{"citation":{"authors":"Aletaha D, Ward MM, Machold KP, Nell VPK, Stamm T, Smolen JS","doi":"10.1002/art.21235","id":"aletaha-2005","pmid":"16142705","source":"Arthritis Rheum. 2005;52(9):2625-2636","title":"Remission and active disease in rheumatoid arthritis: defining criteria for disease activity states"},"components":[{"factor":"sjc28","points":0,"present":true,"value":0},{"factor":"tjc28","points":0,"present":true,"value":0},{"factor":"pga","points":0,"present":true,"value":0},{"factor":"ega","points":0,"present":true,"value":0},{"factor":"crp_mg_dl","points":0.4,"present":true,"value":0.4}],"crp_mg_dl":0.4,"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.","ega":0,"formula":"sdai","formula_expression":"SDAI = sjc28 + tjc28 + pga + ega + crp_mg_dl; Aletaha 2005 newly proposed definition; ≤3.3 remission, >3.3 and ≤11 low, >11 and ≤26 moderate, >26 high; half points allowed; not original 5/20/40; magent does not count joints or assay CRP","max_score":106,"pga":0,"score":0.4,"sdai_band":"remission","sjc28":0,"tjc28":0}],"path":"/api/calc/sdai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crp_mg_dl":{"description":"Caller-assigned C-reactive protein in mg/dL (Aletaha 2005; not mg/L). Number 0-30 is a magent clamp. magent does not assay CRP.","type":"number"},"ega":{"description":"Caller-assigned evaluator global assessment on a 0-10 cm VAS (Aletaha 2005). Number 0-10. magent does not examine the patient.","type":"number"},"pga":{"description":"Caller-assigned patient global assessment on a 0-10 cm VAS (Aletaha 2005). Number 0-10. magent does not examine the patient.","type":"number"},"sjc28":{"description":"Caller-assigned swollen joint count on the 28-joint set (Aletaha 2005). Integer 0-28. magent does not count joints.","type":"integer"},"tjc28":{"description":"Caller-assigned tender joint count on the 28-joint set (Aletaha 2005). Integer 0-28. magent does not count joints.","type":"integer"}},"required":["sjc28","tjc28","pga","ega","crp_mg_dl"],"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":["sdai","rheumatoid-arthritis","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:36:14.239Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:36:14.092Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"crp_mg_dl":0.4,"ega":0,"pga":0,"sjc28":0,"tjc28":0},{"crp_mg_dl":0.4,"ega":0,"pga":0,"sjc28":0,"tjc28":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aletaha D, Ward MM, Machold KP, Nell VPK, Stamm T, Smolen JS","doi":"10.1002/art.21235","id":"aletaha-2005","pmid":"16142705","source":"Arthritis Rheum. 2005;52(9):2625-2636","title":"Remission and active disease in rheumatoid arthritis: defining criteria for disease activity states"},"components":[{"factor":"sjc28","points":0,"present":true,"value":0},{"factor":"tjc28","points":0,"present":true,"value":0},{"factor":"pga","points":0,"present":true,"value":0},{"factor":"ega","points":0,"present":true,"value":0},{"factor":"crp_mg_dl","points":0.4,"present":true,"value":0.4}],"crp_mg_dl":0.4,"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.","ega":0,"formula":"sdai","formula_expression":"SDAI = sjc28 + tjc28 + pga + ega + crp_mg_dl; Aletaha 2005 newly proposed definition; ≤3.3 remission, >3.3 and ≤11 low, >11 and ≤26 moderate, >26 high; half points allowed; not original 5/20/40; magent does not count joints or assay CRP","max_score":106,"pga":0,"score":0.4,"sdai_band":"remission","sjc28":0,"tjc28":0},{"citation":{"authors":"Aletaha D, Ward MM, Machold KP, Nell VPK, Stamm T, Smolen JS","doi":"10.1002/art.21235","id":"aletaha-2005","pmid":"16142705","source":"Arthritis Rheum. 2005;52(9):2625-2636","title":"Remission and active disease in rheumatoid arthritis: defining criteria for disease activity states"},"components":[{"factor":"sjc28","points":0,"present":true,"value":0},{"factor":"tjc28","points":0,"present":true,"value":0},{"factor":"pga","points":0,"present":true,"value":0},{"factor":"ega","points":0,"present":true,"value":0},{"factor":"crp_mg_dl","points":0.4,"present":true,"value":0.4}],"crp_mg_dl":0.4,"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.","ega":0,"formula":"sdai","formula_expression":"SDAI = sjc28 + tjc28 + pga + ega + crp_mg_dl; Aletaha 2005 newly proposed definition; ≤3.3 remission, >3.3 and ≤11 low, >11 and ≤26 moderate, >26 high; half points allowed; not original 5/20/40; magent does not count joints or assay CRP","max_score":106,"pga":0,"score":0.4,"sdai_band":"remission","sjc28":0,"tjc28":0}],"path":"/api/calc/sdai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crp_mg_dl":{"description":"Caller-assigned C-reactive protein in mg/dL (Aletaha 2005; not mg/L). Number 0-30 is a magent clamp. magent does not assay CRP.","type":"number"},"ega":{"description":"Caller-assigned evaluator global assessment on a 0-10 cm VAS (Aletaha 2005). Number 0-10. magent does not examine the patient.","type":"number"},"pga":{"description":"Caller-assigned patient global assessment on a 0-10 cm VAS (Aletaha 2005). Number 0-10. magent does not examine the patient.","type":"number"},"sjc28":{"description":"Caller-assigned swollen joint count on the 28-joint set (Aletaha 2005). Integer 0-28. magent does not count joints.","type":"integer"},"tjc28":{"description":"Caller-assigned tender joint count on the 28-joint set (Aletaha 2005). Integer 0-28. magent does not count joints.","type":"integer"}},"required":["sjc28","tjc28","pga","ega","crp_mg_dl"],"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},{"id":38900,"slug":"38900","resource":"https://api.magentlab.com/api/calc/scap","description":"España 2006 SCAP. Eight caller-assigned flags: two major (arterial pH <7.30, SBP <90 mm Hg) and six minor (RR >30, altered mental status, BUN >30 mg/dL, hypoxemia as PaO2 <54 mm Hg or PaO2/FiO2 <250, age ≥80, multilobar or bilateral). Severe if 1 major or ≥2 minor. One point per true predictor (max 8). Not a diagnosis, not an ICU-admission order, not CURB-65, not PSI/PORT, not SMART-COP.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_ge_80":false,"altered_mental_status":false,"bun_gt_30_mg_dl":false,"hypoxemia":false,"multilobar_or_bilateral":false,"ph_lt_7_30":false,"respiratory_rate_gt_30":false,"sbp_lt_90":false},{"age_ge_80":false,"altered_mental_status":false,"bun_gt_30_mg_dl":false,"hypoxemia":false,"multilobar_or_bilateral":false,"ph_lt_7_30":false,"respiratory_rate_gt_30":false,"sbp_lt_90":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"España PP, Capelastegui A, Gorordo I, Esteban C, Oribe M, Ortega M, Bilbao A, Quintana JM","doi":"10.1164/rccm.200602-177OC","id":"espana-2006","pmid":"16973986","source":"Am J Respir Crit Care Med. 2006;174(11):1249-1256","title":"Development and validation of a clinical prediction rule for severe community-acquired pneumonia"},"components":[{"factor":"ph_lt_7_30","points":0,"present":false},{"factor":"sbp_lt_90","points":0,"present":false},{"factor":"respiratory_rate_gt_30","points":0,"present":false},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"bun_gt_30_mg_dl","points":0,"present":false},{"factor":"hypoxemia","points":0,"present":false},{"factor":"age_ge_80","points":0,"present":false},{"factor":"multilobar_or_bilateral","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":"scap","formula_expression":"SCAP severe iff 1 major (ph_lt_7_30 or sbp_lt_90) OR >=2 minor (respiratory_rate_gt_30, altered_mental_status, bun_gt_30_mg_dl, hypoxemia, age_ge_80, multilobar_or_bilateral); 1 point per true predictor (España 2006 major/minor rule; not beta-derived integer cards); max 8","major_count":0,"max_score":8,"minor_count":0,"scap_severe":false,"score":0},{"citation":{"authors":"España PP, Capelastegui A, Gorordo I, Esteban C, Oribe M, Ortega M, Bilbao A, Quintana JM","doi":"10.1164/rccm.200602-177OC","id":"espana-2006","pmid":"16973986","source":"Am J Respir Crit Care Med. 2006;174(11):1249-1256","title":"Development and validation of a clinical prediction rule for severe community-acquired pneumonia"},"components":[{"factor":"ph_lt_7_30","points":0,"present":false},{"factor":"sbp_lt_90","points":0,"present":false},{"factor":"respiratory_rate_gt_30","points":0,"present":false},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"bun_gt_30_mg_dl","points":0,"present":false},{"factor":"hypoxemia","points":0,"present":false},{"factor":"age_ge_80","points":0,"present":false},{"factor":"multilobar_or_bilateral","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":"scap","formula_expression":"SCAP severe iff 1 major (ph_lt_7_30 or sbp_lt_90) OR >=2 minor (respiratory_rate_gt_30, altered_mental_status, bun_gt_30_mg_dl, hypoxemia, age_ge_80, multilobar_or_bilateral); 1 point per true predictor (España 2006 major/minor rule; not beta-derived integer cards); max 8","major_count":0,"max_score":8,"minor_count":0,"scap_severe":false,"score":0}],"path":"/api/calc/scap"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_ge_80":{"description":"Age ≥80 years (España 2006 minor). true or false as assigned by the caller. magent does not compute age.","type":"boolean"},"altered_mental_status":{"description":"Altered mental status (España 2006 minor). true or false as assigned by the caller. magent does not assess mental status.","type":"boolean"},"bun_gt_30_mg_dl":{"description":"Blood urea nitrogen >30 mg/dL (España 2006 minor). true or false as assigned by the caller. magent does not convert urea or measure BUN.","type":"boolean"},"hypoxemia":{"description":"Hypoxemia as PaO2 <54 mm Hg or PaO2/FiO2 <250 (España 2006 minor), as assigned by the caller. true or false. magent does not measure PaO2 or FiO2.","type":"boolean"},"multilobar_or_bilateral":{"description":"Multilobar or bilateral lung involvement (España 2006 minor). true or false as assigned by the caller. magent does not interpret radiographs.","type":"boolean"},"ph_lt_7_30":{"description":"Arterial pH <7.30 (España 2006 major). true or false as assigned by the caller. magent does not measure pH.","type":"boolean"},"respiratory_rate_gt_30":{"description":"Respiratory rate >30 breaths/min (España 2006 minor; strict greater-than, not ≥30). true or false as assigned by the caller. magent does not measure respiratory rate.","type":"boolean"},"sbp_lt_90":{"description":"Systolic blood pressure <90 mm Hg (España 2006 major). true or false as assigned by the caller. magent does not measure blood pressure.","type":"boolean"}},"required":["ph_lt_7_30","sbp_lt_90","respiratory_rate_gt_30","altered_mental_status","bun_gt_30_mg_dl","hypoxemia","age_ge_80","multilobar_or_bilateral"],"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":["scap","pneumonia","cap","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:17:02.877Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:17:02.745Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_ge_80":false,"altered_mental_status":false,"bun_gt_30_mg_dl":false,"hypoxemia":false,"multilobar_or_bilateral":false,"ph_lt_7_30":false,"respiratory_rate_gt_30":false,"sbp_lt_90":false},{"age_ge_80":false,"altered_mental_status":false,"bun_gt_30_mg_dl":false,"hypoxemia":false,"multilobar_or_bilateral":false,"ph_lt_7_30":false,"respiratory_rate_gt_30":false,"sbp_lt_90":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"España PP, Capelastegui A, Gorordo I, Esteban C, Oribe M, Ortega M, Bilbao A, Quintana JM","doi":"10.1164/rccm.200602-177OC","id":"espana-2006","pmid":"16973986","source":"Am J Respir Crit Care Med. 2006;174(11):1249-1256","title":"Development and validation of a clinical prediction rule for severe community-acquired pneumonia"},"components":[{"factor":"ph_lt_7_30","points":0,"present":false},{"factor":"sbp_lt_90","points":0,"present":false},{"factor":"respiratory_rate_gt_30","points":0,"present":false},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"bun_gt_30_mg_dl","points":0,"present":false},{"factor":"hypoxemia","points":0,"present":false},{"factor":"age_ge_80","points":0,"present":false},{"factor":"multilobar_or_bilateral","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":"scap","formula_expression":"SCAP severe iff 1 major (ph_lt_7_30 or sbp_lt_90) OR >=2 minor (respiratory_rate_gt_30, altered_mental_status, bun_gt_30_mg_dl, hypoxemia, age_ge_80, multilobar_or_bilateral); 1 point per true predictor (España 2006 major/minor rule; not beta-derived integer cards); max 8","major_count":0,"max_score":8,"minor_count":0,"scap_severe":false,"score":0},{"citation":{"authors":"España PP, Capelastegui A, Gorordo I, Esteban C, Oribe M, Ortega M, Bilbao A, Quintana JM","doi":"10.1164/rccm.200602-177OC","id":"espana-2006","pmid":"16973986","source":"Am J Respir Crit Care Med. 2006;174(11):1249-1256","title":"Development and validation of a clinical prediction rule for severe community-acquired pneumonia"},"components":[{"factor":"ph_lt_7_30","points":0,"present":false},{"factor":"sbp_lt_90","points":0,"present":false},{"factor":"respiratory_rate_gt_30","points":0,"present":false},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"bun_gt_30_mg_dl","points":0,"present":false},{"factor":"hypoxemia","points":0,"present":false},{"factor":"age_ge_80","points":0,"present":false},{"factor":"multilobar_or_bilateral","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":"scap","formula_expression":"SCAP severe iff 1 major (ph_lt_7_30 or sbp_lt_90) OR >=2 minor (respiratory_rate_gt_30, altered_mental_status, bun_gt_30_mg_dl, hypoxemia, age_ge_80, multilobar_or_bilateral); 1 point per true predictor (España 2006 major/minor rule; not beta-derived integer cards); max 8","major_count":0,"max_score":8,"minor_count":0,"scap_severe":false,"score":0}],"path":"/api/calc/scap"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_ge_80":{"description":"Age ≥80 years (España 2006 minor). true or false as assigned by the caller. magent does not compute age.","type":"boolean"},"altered_mental_status":{"description":"Altered mental status (España 2006 minor). true or false as assigned by the caller. magent does not assess mental status.","type":"boolean"},"bun_gt_30_mg_dl":{"description":"Blood urea nitrogen >30 mg/dL (España 2006 minor). true or false as assigned by the caller. magent does not convert urea or measure BUN.","type":"boolean"},"hypoxemia":{"description":"Hypoxemia as PaO2 <54 mm Hg or PaO2/FiO2 <250 (España 2006 minor), as assigned by the caller. true or false. magent does not measure PaO2 or FiO2.","type":"boolean"},"multilobar_or_bilateral":{"description":"Multilobar or bilateral lung involvement (España 2006 minor). true or false as assigned by the caller. magent does not interpret radiographs.","type":"boolean"},"ph_lt_7_30":{"description":"Arterial pH <7.30 (España 2006 major). true or false as assigned by the caller. magent does not measure pH.","type":"boolean"},"respiratory_rate_gt_30":{"description":"Respiratory rate >30 breaths/min (España 2006 minor; strict greater-than, not ≥30). true or false as assigned by the caller. magent does not measure respiratory rate.","type":"boolean"},"sbp_lt_90":{"description":"Systolic blood pressure <90 mm Hg (España 2006 major). true or false as assigned by the caller. magent does not measure blood pressure.","type":"boolean"}},"required":["ph_lt_7_30","sbp_lt_90","respiratory_rate_gt_30","altered_mental_status","bun_gt_30_mg_dl","hypoxemia","age_ge_80","multilobar_or_bilateral"],"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},{"id":38901,"slug":"38901","resource":"https://api.magentlab.com/api/calc/wifi","description":"Mills 2014 SVS WIfI: three independent caller-assigned grades, not a summed total. Wound 0-3 (no ulcer; small shallow distal ulcer; deeper ulcer or digital gangrene; extensive ulcer or gangrene). Ischemia 0-3 (none; mild; moderate; severe). Foot infection 0-3 (none; skin/subcutaneous; deeper without SIRS; with SIRS). Label like W0-I0-fI0. Caller assigns grades. Not a medical device, not PEDIS, and not an amputation or revascularization order; magent does not inspect wounds or measure ABI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"foot_infection":0,"ischemia":0,"wound":0},{"foot_infection":0,"ischemia":0,"wound":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mills JL, Conte MS, Armstrong DG, et al.","doi":"10.1016/j.jvs.2013.08.003","id":"mills-2014","pmid":"24126108","source":"J Vasc Surg. 2014;59(1):220-234.e1-2","title":"The Society for Vascular Surgery Lower Extremity Threatened Limb Classification System: risk stratification based on wound, ischemia, and foot infection (WIfI)."},"criteria":[{"factor":"wound","met":true,"value":0},{"factor":"ischemia","met":true,"value":0},{"factor":"foot_infection","met":true,"value":0}],"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.","foot_infection":0,"formula":"wifi","formula_expression":"WIfI is three independent Mills 2014 SVS grades, not a summed total: wound 0-3 (0 no ulcer and no gangrene; 1 small shallow distal ulcer without gangrene; 2 deeper ulcer with exposed bone, joint, or tendon, or gangrene limited to digits; 3 extensive deep ulcer or extensive gangrene); ischemia 0-3 as assigned by the caller (0 none; 1 mild; 2 moderate; 3 severe); foot_infection 0-3 (0 none; 1 skin and subcutaneous only; 2 deeper than skin without SIRS; 3 infection with SIRS). Label is W{wound}-I{ischemia}-fI{foot_infection}","ischemia":0,"wifi":"W0-I0-fI0","wound":0},{"citation":{"authors":"Mills JL, Conte MS, Armstrong DG, et al.","doi":"10.1016/j.jvs.2013.08.003","id":"mills-2014","pmid":"24126108","source":"J Vasc Surg. 2014;59(1):220-234.e1-2","title":"The Society for Vascular Surgery Lower Extremity Threatened Limb Classification System: risk stratification based on wound, ischemia, and foot infection (WIfI)."},"criteria":[{"factor":"wound","met":true,"value":0},{"factor":"ischemia","met":true,"value":0},{"factor":"foot_infection","met":true,"value":0}],"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.","foot_infection":0,"formula":"wifi","formula_expression":"WIfI is three independent Mills 2014 SVS grades, not a summed total: wound 0-3 (0 no ulcer and no gangrene; 1 small shallow distal ulcer without gangrene; 2 deeper ulcer with exposed bone, joint, or tendon, or gangrene limited to digits; 3 extensive deep ulcer or extensive gangrene); ischemia 0-3 as assigned by the caller (0 none; 1 mild; 2 moderate; 3 severe); foot_infection 0-3 (0 none; 1 skin and subcutaneous only; 2 deeper than skin without SIRS; 3 infection with SIRS). Label is W{wound}-I{ischemia}-fI{foot_infection}","ischemia":0,"wifi":"W0-I0-fI0","wound":0}],"path":"/api/calc/wifi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"foot_infection":{"description":"Foot infection grade 0-3 as assigned by the caller (Mills 2014): 0 no signs of infection; 1 infection involving only skin and subcutaneous tissue; 2 infection deeper than skin (abscess, osteomyelitis, septic arthritis, fasciitis) without SIRS; 3 infection with SIRS. magent does not diagnose infection.","type":"integer"},"ischemia":{"description":"Ischemia grade 0-3 as assigned by the caller (Mills 2014): 0 none; 1 mild; 2 moderate; 3 severe. magent does not measure ABI, ankle pressure, or toe pressure and does not compute this grade from pressures.","type":"integer"},"wound":{"description":"Wound grade 0-3 as assigned by the caller (Mills 2014): 0 no ulcer and no gangrene; 1 small, shallow ulcer(s) on the distal leg or foot without gangrene; 2 deeper ulcer with exposed bone, joint, or tendon, or gangrene limited to digits; 3 extensive deep ulcer involving forefoot and/or midfoot, full-thickness heel ulcer, or extensive gangrene. magent does not inspect wounds.","type":"integer"}},"required":["wound","ischemia","foot_infection"],"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":["wifi","threatened-limb","svs","ischemia","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:16:23.535Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:16:23.41Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"foot_infection":0,"ischemia":0,"wound":0},{"foot_infection":0,"ischemia":0,"wound":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mills JL, Conte MS, Armstrong DG, et al.","doi":"10.1016/j.jvs.2013.08.003","id":"mills-2014","pmid":"24126108","source":"J Vasc Surg. 2014;59(1):220-234.e1-2","title":"The Society for Vascular Surgery Lower Extremity Threatened Limb Classification System: risk stratification based on wound, ischemia, and foot infection (WIfI)."},"criteria":[{"factor":"wound","met":true,"value":0},{"factor":"ischemia","met":true,"value":0},{"factor":"foot_infection","met":true,"value":0}],"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.","foot_infection":0,"formula":"wifi","formula_expression":"WIfI is three independent Mills 2014 SVS grades, not a summed total: wound 0-3 (0 no ulcer and no gangrene; 1 small shallow distal ulcer without gangrene; 2 deeper ulcer with exposed bone, joint, or tendon, or gangrene limited to digits; 3 extensive deep ulcer or extensive gangrene); ischemia 0-3 as assigned by the caller (0 none; 1 mild; 2 moderate; 3 severe); foot_infection 0-3 (0 none; 1 skin and subcutaneous only; 2 deeper than skin without SIRS; 3 infection with SIRS). Label is W{wound}-I{ischemia}-fI{foot_infection}","ischemia":0,"wifi":"W0-I0-fI0","wound":0},{"citation":{"authors":"Mills JL, Conte MS, Armstrong DG, et al.","doi":"10.1016/j.jvs.2013.08.003","id":"mills-2014","pmid":"24126108","source":"J Vasc Surg. 2014;59(1):220-234.e1-2","title":"The Society for Vascular Surgery Lower Extremity Threatened Limb Classification System: risk stratification based on wound, ischemia, and foot infection (WIfI)."},"criteria":[{"factor":"wound","met":true,"value":0},{"factor":"ischemia","met":true,"value":0},{"factor":"foot_infection","met":true,"value":0}],"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.","foot_infection":0,"formula":"wifi","formula_expression":"WIfI is three independent Mills 2014 SVS grades, not a summed total: wound 0-3 (0 no ulcer and no gangrene; 1 small shallow distal ulcer without gangrene; 2 deeper ulcer with exposed bone, joint, or tendon, or gangrene limited to digits; 3 extensive deep ulcer or extensive gangrene); ischemia 0-3 as assigned by the caller (0 none; 1 mild; 2 moderate; 3 severe); foot_infection 0-3 (0 none; 1 skin and subcutaneous only; 2 deeper than skin without SIRS; 3 infection with SIRS). Label is W{wound}-I{ischemia}-fI{foot_infection}","ischemia":0,"wifi":"W0-I0-fI0","wound":0}],"path":"/api/calc/wifi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"foot_infection":{"description":"Foot infection grade 0-3 as assigned by the caller (Mills 2014): 0 no signs of infection; 1 infection involving only skin and subcutaneous tissue; 2 infection deeper than skin (abscess, osteomyelitis, septic arthritis, fasciitis) without SIRS; 3 infection with SIRS. magent does not diagnose infection.","type":"integer"},"ischemia":{"description":"Ischemia grade 0-3 as assigned by the caller (Mills 2014): 0 none; 1 mild; 2 moderate; 3 severe. magent does not measure ABI, ankle pressure, or toe pressure and does not compute this grade from pressures.","type":"integer"},"wound":{"description":"Wound grade 0-3 as assigned by the caller (Mills 2014): 0 no ulcer and no gangrene; 1 small, shallow ulcer(s) on the distal leg or foot without gangrene; 2 deeper ulcer with exposed bone, joint, or tendon, or gangrene limited to digits; 3 extensive deep ulcer involving forefoot and/or midfoot, full-thickness heel ulcer, or extensive gangrene. magent does not inspect wounds.","type":"integer"}},"required":["wound","ischemia","foot_infection"],"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},{"id":38902,"slug":"38902","resource":"https://api.magentlab.com/api/calc/sirs","description":"SIRS from Bone 1992 ACCP/SCCM: four binary criteria (temperature >38 or <36 °C, heart rate >90, respiratory rate >20 or PaCO2 <32 mm Hg, WBC >12000 or <4000 per µL or bands >10%); present when ≥2 of 4. Deterministic published criteria with citation; not a diagnosis, not Sepsis-3, not qSOFA or SOFA.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"band_percent":5,"heart_rate_bpm":80,"paco2_mm_hg":40,"respiratory_rate":16,"temperature_c":37,"wbc_k_ul":8,"wbc_ul":8000},{"band_percent":5,"heart_rate_bpm":80,"paco2_mm_hg":40,"respiratory_rate":16,"temperature_c":37,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bone RC, Balk RA, Cerra FB, et al.","doi":"10.1378/chest.101.6.1644","id":"bone-1992","source":"Chest. 1992;101(6):1644-1655","title":"Definitions for sepsis and organ failure and guidelines for the use of innovative therapies in sepsis"},"components":[{"factor":"temperature","points":0,"present":false,"value":37},{"factor":"heart_rate_gt_90","points":0,"present":false,"value":80},{"factor":"respiratory","points":0,"present":false,"value":16},{"factor":"wbc","points":0,"present":false,"value":8000}],"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":"sirs","formula_expression":"SIRS present iff >=2 of 4: (temperature_c >38 or <36) + (heart_rate_bpm >90) + (respiratory_rate >20 or paco2_mm_hg <32) + (wbc_per_ul >12000 or <4000 or band_percent >10); each 1; max 4","heart_rate_bpm":80,"max_score":4,"respiratory_rate":16,"sirs_criteria_met":0,"sirs_present":false,"temperature_c":37,"wbc_per_ul":8000},{"citation":{"authors":"Bone RC, Balk RA, Cerra FB, et al.","doi":"10.1378/chest.101.6.1644","id":"bone-1992","source":"Chest. 1992;101(6):1644-1655","title":"Definitions for sepsis and organ failure and guidelines for the use of innovative therapies in sepsis"},"components":[{"factor":"temperature","points":0,"present":false,"value":37},{"factor":"heart_rate_gt_90","points":0,"present":false,"value":80},{"factor":"respiratory","points":0,"present":false,"value":16},{"factor":"wbc","points":0,"present":false,"value":8000}],"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":"sirs","formula_expression":"SIRS present iff >=2 of 4: (temperature_c >38 or <36) + (heart_rate_bpm >90) + (respiratory_rate >20 or paco2_mm_hg <32) + (wbc_per_ul >12000 or <4000 or band_percent >10); each 1; max 4","heart_rate_bpm":80,"max_score":4,"respiratory_rate":16,"sirs_criteria_met":0,"sirs_present":false,"temperature_c":37,"wbc_per_ul":8000}],"path":"/api/calc/sirs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"band_percent":{"description":"Immature bands as a percent of WBC (0-100) when provided. Omitted does not use bands. >10 scores the WBC criterion (10 does not).","type":"number"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). >90 scores 1 (90 does not).","type":"integer"},"paco2_mm_hg":{"description":"Arterial PaCO2 in mm Hg (8-80) when provided. Omitted uses respiratory rate only. <32 scores the respiratory criterion (32 does not).","type":"number"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). >20 scores 1 for the respiratory criterion (20 does not). Optional paco2_mm_hg <32 also meets this criterion.","type":"integer"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). >38 or <36 scores 1 (38.0 and 36.0 do not).","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. >12000 or <4000 per µL scores 1.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. >12000 or <4000 scores 1 (12000 and 4000 do not).","type":"number"}},"required":["temperature_c","heart_rate_bpm","respiratory_rate"],"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":["sirs","infection","sepsis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:15:43.375Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:15:43.242Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"band_percent":5,"heart_rate_bpm":80,"paco2_mm_hg":40,"respiratory_rate":16,"temperature_c":37,"wbc_k_ul":8,"wbc_ul":8000},{"band_percent":5,"heart_rate_bpm":80,"paco2_mm_hg":40,"respiratory_rate":16,"temperature_c":37,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bone RC, Balk RA, Cerra FB, et al.","doi":"10.1378/chest.101.6.1644","id":"bone-1992","source":"Chest. 1992;101(6):1644-1655","title":"Definitions for sepsis and organ failure and guidelines for the use of innovative therapies in sepsis"},"components":[{"factor":"temperature","points":0,"present":false,"value":37},{"factor":"heart_rate_gt_90","points":0,"present":false,"value":80},{"factor":"respiratory","points":0,"present":false,"value":16},{"factor":"wbc","points":0,"present":false,"value":8000}],"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":"sirs","formula_expression":"SIRS present iff >=2 of 4: (temperature_c >38 or <36) + (heart_rate_bpm >90) + (respiratory_rate >20 or paco2_mm_hg <32) + (wbc_per_ul >12000 or <4000 or band_percent >10); each 1; max 4","heart_rate_bpm":80,"max_score":4,"respiratory_rate":16,"sirs_criteria_met":0,"sirs_present":false,"temperature_c":37,"wbc_per_ul":8000},{"citation":{"authors":"Bone RC, Balk RA, Cerra FB, et al.","doi":"10.1378/chest.101.6.1644","id":"bone-1992","source":"Chest. 1992;101(6):1644-1655","title":"Definitions for sepsis and organ failure and guidelines for the use of innovative therapies in sepsis"},"components":[{"factor":"temperature","points":0,"present":false,"value":37},{"factor":"heart_rate_gt_90","points":0,"present":false,"value":80},{"factor":"respiratory","points":0,"present":false,"value":16},{"factor":"wbc","points":0,"present":false,"value":8000}],"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":"sirs","formula_expression":"SIRS present iff >=2 of 4: (temperature_c >38 or <36) + (heart_rate_bpm >90) + (respiratory_rate >20 or paco2_mm_hg <32) + (wbc_per_ul >12000 or <4000 or band_percent >10); each 1; max 4","heart_rate_bpm":80,"max_score":4,"respiratory_rate":16,"sirs_criteria_met":0,"sirs_present":false,"temperature_c":37,"wbc_per_ul":8000}],"path":"/api/calc/sirs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"band_percent":{"description":"Immature bands as a percent of WBC (0-100) when provided. Omitted does not use bands. >10 scores the WBC criterion (10 does not).","type":"number"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). >90 scores 1 (90 does not).","type":"integer"},"paco2_mm_hg":{"description":"Arterial PaCO2 in mm Hg (8-80) when provided. Omitted uses respiratory rate only. <32 scores the respiratory criterion (32 does not).","type":"number"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). >20 scores 1 for the respiratory criterion (20 does not). Optional paco2_mm_hg <32 also meets this criterion.","type":"integer"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). >38 or <36 scores 1 (38.0 and 36.0 do not).","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. >12000 or <4000 per µL scores 1.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. >12000 or <4000 scores 1 (12000 and 4000 do not).","type":"number"}},"required":["temperature_c","heart_rate_bpm","respiratory_rate"],"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},{"id":38903,"slug":"38903","resource":"https://api.magentlab.com/api/calc/vte_bleed","description":"Klok 2016 VTE-BLEED for major bleeding on stable anticoagulation after VTE. Six items: active cancer 2; male with uncontrolled hypertension (SBP ≥140) 1; anemia 1.5; history of bleeding 1.5; age ≥60 1.5; renal dysfunction (eGFR/CrCl <60) 1.5; max 9. Low <2, high ≥2. Caller-assigned flags; magent does not assay hemoglobin or eGFR. Not a medical device, not HAS-BLED, and not a treatment-duration order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"active_cancer":false,"age":70,"anemia":false,"history_of_bleeding":false,"renal_dysfunction":false,"sex":"male","uncontrolled_hypertension":false},{"active_cancer":false,"age":70,"anemia":false,"history_of_bleeding":false,"renal_dysfunction":false,"sex":"male","uncontrolled_hypertension":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Klok FA, Hösel V, Clemens A, Yollo WD, Tilke C, Schulman S, Lankeit M, Konstantinides SV","doi":"10.1183/13993003.00280-2016","id":"klok-2016","pmid":"27471209","source":"Eur Respir J. 2016;48(5):1369-1376","title":"Prediction of bleeding events in patients with venous thromboembolism on stable anticoagulation treatment"},"components":[{"factor":"active_cancer","points":0,"present":false},{"factor":"male_uncontrolled_hypertension","points":0,"present":false,"sex":"male","uncontrolled_hypertension":false},{"factor":"anemia","points":0,"present":false},{"factor":"history_of_bleeding","points":0,"present":false},{"factor":"age_ge_60","points":1.5,"present":true,"value":70},{"factor":"renal_dysfunction","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":"vte_bleed","formula_expression":"VTE-BLEED = active_cancer 2 + (male AND uncontrolled_hypertension) 1 + anemia 1.5 + history_of_bleeding 1.5 + age_ge_60 1.5 + renal_dysfunction 1.5; Klok 2016; max 9; low <2, high >=2","max_score":9,"score":1.5,"sex":"male","vte_bleed_band":"low"},{"age_years":70,"citation":{"authors":"Klok FA, Hösel V, Clemens A, Yollo WD, Tilke C, Schulman S, Lankeit M, Konstantinides SV","doi":"10.1183/13993003.00280-2016","id":"klok-2016","pmid":"27471209","source":"Eur Respir J. 2016;48(5):1369-1376","title":"Prediction of bleeding events in patients with venous thromboembolism on stable anticoagulation treatment"},"components":[{"factor":"active_cancer","points":0,"present":false},{"factor":"male_uncontrolled_hypertension","points":0,"present":false,"sex":"male","uncontrolled_hypertension":false},{"factor":"anemia","points":0,"present":false},{"factor":"history_of_bleeding","points":0,"present":false},{"factor":"age_ge_60","points":1.5,"present":true,"value":70},{"factor":"renal_dysfunction","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":"vte_bleed","formula_expression":"VTE-BLEED = active_cancer 2 + (male AND uncontrolled_hypertension) 1 + anemia 1.5 + history_of_bleeding 1.5 + age_ge_60 1.5 + renal_dysfunction 1.5; Klok 2016; max 9; low <2, high >=2","max_score":9,"score":1.5,"sex":"male","vte_bleed_band":"low"}],"path":"/api/calc/vte_bleed"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_cancer":{"description":"Active cancer as assigned by the caller (Klok 2016). true scores 2. magent does not diagnose cancer.","type":"boolean"},"age":{"description":"Age in years (18-120). Age ≥60 scores 1.5 (Klok 2016). magent does not assign age.","type":"integer"},"anemia":{"description":"Anemia as assigned by the caller (Klok 2016: hemoglobin <130 g/L in men or <120 g/L in women). true scores 1.5. magent does not take a hemoglobin number.","type":"boolean"},"history_of_bleeding":{"description":"History of bleeding as assigned by the caller (Klok 2016). true scores 1.5. magent does not grade bleeding.","type":"boolean"},"renal_dysfunction":{"description":"Renal dysfunction (eGFR or CrCl <60) as assigned by the caller (Klok 2016). true scores 1.5. magent does not compute eGFR or creatinine clearance.","type":"boolean"},"sex":{"description":"female or male. Uncontrolled hypertension scores 1 only when sex is male (Klok 2016 / XALIA SBP ≥140 item). Female never scores that item.","enum":["female","male"],"type":"string"},"uncontrolled_hypertension":{"description":"Uncontrolled hypertension (SBP ≥140 mmHg) as assigned by the caller (Klok 2016 / XALIA). true scores 1 only in males; females score 0 even when true. magent does not measure blood pressure.","type":"boolean"}},"required":["age","sex","active_cancer","uncontrolled_hypertension","anemia","history_of_bleeding","renal_dysfunction"],"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":["vte-bleed","vte","bleeding","anticoagulation","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:15:23.598Z","quality":{"calls30d":5,"uniquePayers30d":3,"lastCalledAt":"2026-10-12T14:15:23.459Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"active_cancer":false,"age":70,"anemia":false,"history_of_bleeding":false,"renal_dysfunction":false,"sex":"male","uncontrolled_hypertension":false},{"active_cancer":false,"age":70,"anemia":false,"history_of_bleeding":false,"renal_dysfunction":false,"sex":"male","uncontrolled_hypertension":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Klok FA, Hösel V, Clemens A, Yollo WD, Tilke C, Schulman S, Lankeit M, Konstantinides SV","doi":"10.1183/13993003.00280-2016","id":"klok-2016","pmid":"27471209","source":"Eur Respir J. 2016;48(5):1369-1376","title":"Prediction of bleeding events in patients with venous thromboembolism on stable anticoagulation treatment"},"components":[{"factor":"active_cancer","points":0,"present":false},{"factor":"male_uncontrolled_hypertension","points":0,"present":false,"sex":"male","uncontrolled_hypertension":false},{"factor":"anemia","points":0,"present":false},{"factor":"history_of_bleeding","points":0,"present":false},{"factor":"age_ge_60","points":1.5,"present":true,"value":70},{"factor":"renal_dysfunction","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":"vte_bleed","formula_expression":"VTE-BLEED = active_cancer 2 + (male AND uncontrolled_hypertension) 1 + anemia 1.5 + history_of_bleeding 1.5 + age_ge_60 1.5 + renal_dysfunction 1.5; Klok 2016; max 9; low <2, high >=2","max_score":9,"score":1.5,"sex":"male","vte_bleed_band":"low"},{"age_years":70,"citation":{"authors":"Klok FA, Hösel V, Clemens A, Yollo WD, Tilke C, Schulman S, Lankeit M, Konstantinides SV","doi":"10.1183/13993003.00280-2016","id":"klok-2016","pmid":"27471209","source":"Eur Respir J. 2016;48(5):1369-1376","title":"Prediction of bleeding events in patients with venous thromboembolism on stable anticoagulation treatment"},"components":[{"factor":"active_cancer","points":0,"present":false},{"factor":"male_uncontrolled_hypertension","points":0,"present":false,"sex":"male","uncontrolled_hypertension":false},{"factor":"anemia","points":0,"present":false},{"factor":"history_of_bleeding","points":0,"present":false},{"factor":"age_ge_60","points":1.5,"present":true,"value":70},{"factor":"renal_dysfunction","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":"vte_bleed","formula_expression":"VTE-BLEED = active_cancer 2 + (male AND uncontrolled_hypertension) 1 + anemia 1.5 + history_of_bleeding 1.5 + age_ge_60 1.5 + renal_dysfunction 1.5; Klok 2016; max 9; low <2, high >=2","max_score":9,"score":1.5,"sex":"male","vte_bleed_band":"low"}],"path":"/api/calc/vte_bleed"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_cancer":{"description":"Active cancer as assigned by the caller (Klok 2016). true scores 2. magent does not diagnose cancer.","type":"boolean"},"age":{"description":"Age in years (18-120). Age ≥60 scores 1.5 (Klok 2016). magent does not assign age.","type":"integer"},"anemia":{"description":"Anemia as assigned by the caller (Klok 2016: hemoglobin <130 g/L in men or <120 g/L in women). true scores 1.5. magent does not take a hemoglobin number.","type":"boolean"},"history_of_bleeding":{"description":"History of bleeding as assigned by the caller (Klok 2016). true scores 1.5. magent does not grade bleeding.","type":"boolean"},"renal_dysfunction":{"description":"Renal dysfunction (eGFR or CrCl <60) as assigned by the caller (Klok 2016). true scores 1.5. magent does not compute eGFR or creatinine clearance.","type":"boolean"},"sex":{"description":"female or male. Uncontrolled hypertension scores 1 only when sex is male (Klok 2016 / XALIA SBP ≥140 item). Female never scores that item.","enum":["female","male"],"type":"string"},"uncontrolled_hypertension":{"description":"Uncontrolled hypertension (SBP ≥140 mmHg) as assigned by the caller (Klok 2016 / XALIA). true scores 1 only in males; females score 0 even when true. magent does not measure blood pressure.","type":"boolean"}},"required":["age","sex","active_cancer","uncontrolled_hypertension","anemia","history_of_bleeding","renal_dysfunction"],"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},{"id":38922,"slug":"38922","resource":"https://api.magentlab.com/api/calc/rescue_ihca","description":"Tonna 2022 RESCUE-IHCA Table 2 integer score for in-hospital death after adult ECPR. Age 2 + 2 per 10 years after 20. Renal +8. Time: day 0, evening +4, night +13. Illness: medical noncardiac 0, medical cardiac -2, surgical noncardiac -6, surgical cardiac -11. Rhythm: asystole 0, PEA -1, pVT -5, VF -8, palpable pulse -5. Duration +2 per 10 min. Table 2 min -17. Integer score only. Not an ECPR order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":20,"duration_min":0,"illness_category":"surgical_cardiac","preexisting_renal_insufficiency":false,"presenting_rhythm":"vf","time_of_day":"day_0700_1459"},{"age":20,"duration_min":0,"illness_category":"surgical_cardiac","preexisting_renal_insufficiency":false,"presenting_rhythm":"vf","time_of_day":"day_0700_1459"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Tonna JE, Selzman CH, Girotra S, et al.","doi":"10.1016/j.jcin.2021.09.032","id":"tonna-2022","pmid":"35033471","source":"JACC Cardiovasc Interv. 2022;15(3):237-247","title":"Resuscitation Using ECPR During In-Hospital Cardiac Arrest (RESCUE-IHCA) Mortality Prediction Score and External Validation"},"components":[{"factor":"age","points":2,"present":true,"value":20},{"factor":"preexisting_renal_insufficiency","points":0,"present":false},{"factor":"time_of_day","points":0,"present":false,"value":"day_0700_1459"},{"factor":"illness_category","points":-11,"present":true,"value":"surgical_cardiac"},{"factor":"presenting_rhythm","points":-8,"present":true,"value":"vf"},{"factor":"duration_min","points":0,"present":false,"value":0}],"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":"rescue_ihca","formula_expression":"RESCUE-IHCA = age(2 + 2 * max(0, floor((age-20)/10))) + preexisting_renal_insufficiency(yes 8) + time_of_day(day_0700_1459 0, evening_1500_2259 4, night_2300_0659 13) + illness_category(medical_noncardiac 0, medical_cardiac -2, surgical_noncardiac -6, surgical_cardiac -11) + presenting_rhythm(asystole 0, pea -1, pvt -5, vf -8, palpable_pulse_initially -5) + duration_min(2 * floor(duration_min/10)); Tonna 2022 Table 2; theoretical min -17; paper text about -15 to >40; higher score → higher probability of in-hospital death (Figure 3 curve 0.22-0.99); integer score only","min_score":-17,"score":-17},{"citation":{"authors":"Tonna JE, Selzman CH, Girotra S, et al.","doi":"10.1016/j.jcin.2021.09.032","id":"tonna-2022","pmid":"35033471","source":"JACC Cardiovasc Interv. 2022;15(3):237-247","title":"Resuscitation Using ECPR During In-Hospital Cardiac Arrest (RESCUE-IHCA) Mortality Prediction Score and External Validation"},"components":[{"factor":"age","points":2,"present":true,"value":20},{"factor":"preexisting_renal_insufficiency","points":0,"present":false},{"factor":"time_of_day","points":0,"present":false,"value":"day_0700_1459"},{"factor":"illness_category","points":-11,"present":true,"value":"surgical_cardiac"},{"factor":"presenting_rhythm","points":-8,"present":true,"value":"vf"},{"factor":"duration_min","points":0,"present":false,"value":0}],"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":"rescue_ihca","formula_expression":"RESCUE-IHCA = age(2 + 2 * max(0, floor((age-20)/10))) + preexisting_renal_insufficiency(yes 8) + time_of_day(day_0700_1459 0, evening_1500_2259 4, night_2300_0659 13) + illness_category(medical_noncardiac 0, medical_cardiac -2, surgical_noncardiac -6, surgical_cardiac -11) + presenting_rhythm(asystole 0, pea -1, pvt -5, vf -8, palpable_pulse_initially -5) + duration_min(2 * floor(duration_min/10)); Tonna 2022 Table 2; theoretical min -17; paper text about -15 to >40; higher score → higher probability of in-hospital death (Figure 3 curve 0.22-0.99); integer score only","min_score":-17,"score":-17}],"path":"/api/calc/rescue_ihca"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Tonna 2022 Table 2: ≤20 → 2; each additional 10 years → +2, implemented as 2 + 2 * max(0, floor((age-20)/10)) so 20 → 2, 29 → 2, 30 → 4, 40 → 6. Adult derivation (excluded age <18). Caller-supplied; magent does not examine the patient.","type":"integer"},"duration_min":{"description":"Duration of cardiac arrest in integer minutes (0-180). Tonna 2022 Table 2: +2 per complete 10 minutes (2 * floor(duration_min/10)). 0-9 → 0; 10-19 → +2; 20-29 → +4. Caller-supplied; magent does not time the arrest.","type":"integer"},"illness_category":{"description":"Illness category (Tonna 2022 Table 2). medical_noncardiac (reference) → 0; medical_cardiac → -2; surgical_noncardiac → -6; surgical_cardiac → -11. Caller-assigned; magent does not classify the admission.","type":"string"},"preexisting_renal_insufficiency":{"description":"Preexisting renal insufficiency as assigned by the caller (Tonna 2022 Table 2). true → +8. false → 0. magent does not grade creatinine.","type":"boolean"},"presenting_rhythm":{"description":"Presenting rhythm (Tonna 2022 Table 2). asystole (reference) → 0; pea → -1; pvt → -5; vf → -8; palpable_pulse_initially → -5. Caller-assigned; magent does not interpret a monitor.","type":"string"},"time_of_day":{"description":"Time of day of arrest (Tonna 2022 Table 2). day_0700_1459 (07:00-14:59, reference) → 0; evening_1500_2259 (15:00-22:59) → +4; night_2300_0659 (23:00-06:59) → +13. Caller-assigned; magent does not read a clock.","type":"string"}},"required":["age","preexisting_renal_insufficiency","time_of_day","illness_category","presenting_rhythm","duration_min"],"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":["rescue-ihca","ecpr","ihca","mortality","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:16:35.732Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T12:16:35.535Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":20,"duration_min":0,"illness_category":"surgical_cardiac","preexisting_renal_insufficiency":false,"presenting_rhythm":"vf","time_of_day":"day_0700_1459"},{"age":20,"duration_min":0,"illness_category":"surgical_cardiac","preexisting_renal_insufficiency":false,"presenting_rhythm":"vf","time_of_day":"day_0700_1459"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Tonna JE, Selzman CH, Girotra S, et al.","doi":"10.1016/j.jcin.2021.09.032","id":"tonna-2022","pmid":"35033471","source":"JACC Cardiovasc Interv. 2022;15(3):237-247","title":"Resuscitation Using ECPR During In-Hospital Cardiac Arrest (RESCUE-IHCA) Mortality Prediction Score and External Validation"},"components":[{"factor":"age","points":2,"present":true,"value":20},{"factor":"preexisting_renal_insufficiency","points":0,"present":false},{"factor":"time_of_day","points":0,"present":false,"value":"day_0700_1459"},{"factor":"illness_category","points":-11,"present":true,"value":"surgical_cardiac"},{"factor":"presenting_rhythm","points":-8,"present":true,"value":"vf"},{"factor":"duration_min","points":0,"present":false,"value":0}],"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":"rescue_ihca","formula_expression":"RESCUE-IHCA = age(2 + 2 * max(0, floor((age-20)/10))) + preexisting_renal_insufficiency(yes 8) + time_of_day(day_0700_1459 0, evening_1500_2259 4, night_2300_0659 13) + illness_category(medical_noncardiac 0, medical_cardiac -2, surgical_noncardiac -6, surgical_cardiac -11) + presenting_rhythm(asystole 0, pea -1, pvt -5, vf -8, palpable_pulse_initially -5) + duration_min(2 * floor(duration_min/10)); Tonna 2022 Table 2; theoretical min -17; paper text about -15 to >40; higher score → higher probability of in-hospital death (Figure 3 curve 0.22-0.99); integer score only","min_score":-17,"score":-17},{"citation":{"authors":"Tonna JE, Selzman CH, Girotra S, et al.","doi":"10.1016/j.jcin.2021.09.032","id":"tonna-2022","pmid":"35033471","source":"JACC Cardiovasc Interv. 2022;15(3):237-247","title":"Resuscitation Using ECPR During In-Hospital Cardiac Arrest (RESCUE-IHCA) Mortality Prediction Score and External Validation"},"components":[{"factor":"age","points":2,"present":true,"value":20},{"factor":"preexisting_renal_insufficiency","points":0,"present":false},{"factor":"time_of_day","points":0,"present":false,"value":"day_0700_1459"},{"factor":"illness_category","points":-11,"present":true,"value":"surgical_cardiac"},{"factor":"presenting_rhythm","points":-8,"present":true,"value":"vf"},{"factor":"duration_min","points":0,"present":false,"value":0}],"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":"rescue_ihca","formula_expression":"RESCUE-IHCA = age(2 + 2 * max(0, floor((age-20)/10))) + preexisting_renal_insufficiency(yes 8) + time_of_day(day_0700_1459 0, evening_1500_2259 4, night_2300_0659 13) + illness_category(medical_noncardiac 0, medical_cardiac -2, surgical_noncardiac -6, surgical_cardiac -11) + presenting_rhythm(asystole 0, pea -1, pvt -5, vf -8, palpable_pulse_initially -5) + duration_min(2 * floor(duration_min/10)); Tonna 2022 Table 2; theoretical min -17; paper text about -15 to >40; higher score → higher probability of in-hospital death (Figure 3 curve 0.22-0.99); integer score only","min_score":-17,"score":-17}],"path":"/api/calc/rescue_ihca"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Tonna 2022 Table 2: ≤20 → 2; each additional 10 years → +2, implemented as 2 + 2 * max(0, floor((age-20)/10)) so 20 → 2, 29 → 2, 30 → 4, 40 → 6. Adult derivation (excluded age <18). Caller-supplied; magent does not examine the patient.","type":"integer"},"duration_min":{"description":"Duration of cardiac arrest in integer minutes (0-180). Tonna 2022 Table 2: +2 per complete 10 minutes (2 * floor(duration_min/10)). 0-9 → 0; 10-19 → +2; 20-29 → +4. Caller-supplied; magent does not time the arrest.","type":"integer"},"illness_category":{"description":"Illness category (Tonna 2022 Table 2). medical_noncardiac (reference) → 0; medical_cardiac → -2; surgical_noncardiac → -6; surgical_cardiac → -11. Caller-assigned; magent does not classify the admission.","type":"string"},"preexisting_renal_insufficiency":{"description":"Preexisting renal insufficiency as assigned by the caller (Tonna 2022 Table 2). true → +8. false → 0. magent does not grade creatinine.","type":"boolean"},"presenting_rhythm":{"description":"Presenting rhythm (Tonna 2022 Table 2). asystole (reference) → 0; pea → -1; pvt → -5; vf → -8; palpable_pulse_initially → -5. Caller-assigned; magent does not interpret a monitor.","type":"string"},"time_of_day":{"description":"Time of day of arrest (Tonna 2022 Table 2). day_0700_1459 (07:00-14:59, reference) → 0; evening_1500_2259 (15:00-22:59) → +4; night_2300_0659 (23:00-06:59) → +13. Caller-assigned; magent does not read a clock.","type":"string"}},"required":["age","preexisting_renal_insufficiency","time_of_day","illness_category","presenting_rhythm","duration_min"],"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},{"id":38923,"slug":"38923","resource":"https://api.magentlab.com/api/calc/renal_nephrometry","description":"Kutikov 2009 R.E.N.A.L. nephrometry. Caller-assigned radius le_4 1 / gt_4_lt_7 2 / ge_7 3 (cm); exophytic ge_50 1 / lt_50 2 / entirely_endophytic 3; nearness ge_7 1 / gt_4_lt_7 2 / le_4 3 (mm); location entirely_polar 1 / crosses_polar 2 / gt_50_midline_or_between 3. Anterior a|p|x and hilar suffix h are descriptors, not points. Sum 4-12. No published complexity bands. Not PADUA. Not STONE nephrolithometry. magent does not read CT. Not a medical device. Not a nephrectomy order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anterior":"a","exophytic":"ge_50","hilar":false,"location":"entirely_polar","nearness":"ge_7","radius":"le_4"},{"anterior":"a","exophytic":"ge_50","hilar":false,"location":"entirely_polar","nearness":"ge_7","radius":"le_4"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anterior":"a","citation":{"authors":"Kutikov A, Uzzo RG","doi":"10.1016/j.juro.2009.05.035","id":"kutikov-2009","pmid":"19616235","source":"J Urol. 2009;182(3):844-853","title":"The R.E.N.A.L. Nephrometry Score: A Comprehensive Standardized System for Quantitating Renal Tumor Size, Location and Depth"},"components":[{"factor":"radius","points":1,"present":true,"value":"le_4"},{"factor":"exophytic","points":1,"present":true,"value":"ge_50"},{"factor":"nearness","points":1,"present":true,"value":"ge_7"},{"factor":"location","points":1,"present":true,"value":"entirely_polar"}],"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.","e":1,"exophytic":"ge_50","formula":"renal_nephrometry","formula_expression":"RENAL = radius (le_4 1, gt_4_lt_7 2, ge_7 3) + exophytic (ge_50 1, lt_50 2, entirely_endophytic 3) + nearness (ge_7 1, gt_4_lt_7 2, le_4 3) + location (entirely_polar 1, crosses_polar 2, gt_50_midline_or_between 3); anterior a|p|x 0 points; hilar suffix h boolean 0 points; Kutikov 2009 R.E.N.A.L. Nephrometry; sum 4-12; no published complexity bands","hilar":false,"l":1,"location":"entirely_polar","max_score":12,"n":1,"nearness":"ge_7","r":1,"radius":"le_4","renal_string":"4a","score":4},{"anterior":"a","citation":{"authors":"Kutikov A, Uzzo RG","doi":"10.1016/j.juro.2009.05.035","id":"kutikov-2009","pmid":"19616235","source":"J Urol. 2009;182(3):844-853","title":"The R.E.N.A.L. Nephrometry Score: A Comprehensive Standardized System for Quantitating Renal Tumor Size, Location and Depth"},"components":[{"factor":"radius","points":1,"present":true,"value":"le_4"},{"factor":"exophytic","points":1,"present":true,"value":"ge_50"},{"factor":"nearness","points":1,"present":true,"value":"ge_7"},{"factor":"location","points":1,"present":true,"value":"entirely_polar"}],"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.","e":1,"exophytic":"ge_50","formula":"renal_nephrometry","formula_expression":"RENAL = radius (le_4 1, gt_4_lt_7 2, ge_7 3) + exophytic (ge_50 1, lt_50 2, entirely_endophytic 3) + nearness (ge_7 1, gt_4_lt_7 2, le_4 3) + location (entirely_polar 1, crosses_polar 2, gt_50_midline_or_between 3); anterior a|p|x 0 points; hilar suffix h boolean 0 points; Kutikov 2009 R.E.N.A.L. Nephrometry; sum 4-12; no published complexity bands","hilar":false,"l":1,"location":"entirely_polar","max_score":12,"n":1,"nearness":"ge_7","r":1,"radius":"le_4","renal_string":"4a","score":4}],"path":"/api/calc/renal_nephrometry"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anterior":{"description":"Caller-assigned anterior/posterior descriptor (Kutikov 2009 A). a (anterior), p (posterior), or x (indeterminate). 0 points; echoed as anterior. magent does not read CT.","enum":["a","p","x"],"type":"string"},"exophytic":{"description":"Caller-assigned exophytic/endophytic properties (Kutikov 2009 E). ge_50 (≥50% exophytic) scores 1; lt_50 (<50% exophytic) scores 2; entirely_endophytic (completely endophytic) scores 3. magent does not read CT.","enum":["ge_50","lt_50","entirely_endophytic"],"type":"string"},"hilar":{"description":"Caller-assigned hilar suffix (Kutikov 2009). true means the mass abuts the main renal artery or vein (suffix h). Boolean, not points. magent does not read CT.","type":"boolean"},"location":{"description":"Caller-assigned location relative to polar lines (Kutikov 2009 L). entirely_polar (entirely above the upper polar line or entirely below the lower polar line) scores 1; crosses_polar (mass crosses a polar line) scores 2; gt_50_midline_or_between (>50% of the mass is across a polar line, or the mass crosses the axial renal midline, or the mass is entirely between the polar lines) scores 3. magent does not read CT.","enum":["entirely_polar","crosses_polar","gt_50_midline_or_between"],"type":"string"},"nearness":{"description":"Caller-assigned nearness of the deepest portion of the mass to the collecting system or sinus in mm (Kutikov 2009 N). ge_7 (≥7 mm) scores 1; gt_4_lt_7 (>4 but <7 mm) scores 2; le_4 (≤4 mm) scores 3. magent does not measure nearness or read CT.","enum":["ge_7","gt_4_lt_7","le_4"],"type":"string"},"radius":{"description":"Caller-assigned maximal diameter in cm (Kutikov 2009 R, radius). le_4 (≤4 cm) scores 1; gt_4_lt_7 (>4 but <7 cm) scores 2; ge_7 (≥7 cm) scores 3. magent does not measure diameter or read CT.","enum":["le_4","gt_4_lt_7","ge_7"],"type":"string"}},"required":["radius","exophytic","nearness","anterior","location","hilar"],"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":["renal-nephrometry","kidney","urology","nephrometry","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:16:34.932Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T12:16:34.778Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anterior":"a","exophytic":"ge_50","hilar":false,"location":"entirely_polar","nearness":"ge_7","radius":"le_4"},{"anterior":"a","exophytic":"ge_50","hilar":false,"location":"entirely_polar","nearness":"ge_7","radius":"le_4"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anterior":"a","citation":{"authors":"Kutikov A, Uzzo RG","doi":"10.1016/j.juro.2009.05.035","id":"kutikov-2009","pmid":"19616235","source":"J Urol. 2009;182(3):844-853","title":"The R.E.N.A.L. Nephrometry Score: A Comprehensive Standardized System for Quantitating Renal Tumor Size, Location and Depth"},"components":[{"factor":"radius","points":1,"present":true,"value":"le_4"},{"factor":"exophytic","points":1,"present":true,"value":"ge_50"},{"factor":"nearness","points":1,"present":true,"value":"ge_7"},{"factor":"location","points":1,"present":true,"value":"entirely_polar"}],"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.","e":1,"exophytic":"ge_50","formula":"renal_nephrometry","formula_expression":"RENAL = radius (le_4 1, gt_4_lt_7 2, ge_7 3) + exophytic (ge_50 1, lt_50 2, entirely_endophytic 3) + nearness (ge_7 1, gt_4_lt_7 2, le_4 3) + location (entirely_polar 1, crosses_polar 2, gt_50_midline_or_between 3); anterior a|p|x 0 points; hilar suffix h boolean 0 points; Kutikov 2009 R.E.N.A.L. Nephrometry; sum 4-12; no published complexity bands","hilar":false,"l":1,"location":"entirely_polar","max_score":12,"n":1,"nearness":"ge_7","r":1,"radius":"le_4","renal_string":"4a","score":4},{"anterior":"a","citation":{"authors":"Kutikov A, Uzzo RG","doi":"10.1016/j.juro.2009.05.035","id":"kutikov-2009","pmid":"19616235","source":"J Urol. 2009;182(3):844-853","title":"The R.E.N.A.L. Nephrometry Score: A Comprehensive Standardized System for Quantitating Renal Tumor Size, Location and Depth"},"components":[{"factor":"radius","points":1,"present":true,"value":"le_4"},{"factor":"exophytic","points":1,"present":true,"value":"ge_50"},{"factor":"nearness","points":1,"present":true,"value":"ge_7"},{"factor":"location","points":1,"present":true,"value":"entirely_polar"}],"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.","e":1,"exophytic":"ge_50","formula":"renal_nephrometry","formula_expression":"RENAL = radius (le_4 1, gt_4_lt_7 2, ge_7 3) + exophytic (ge_50 1, lt_50 2, entirely_endophytic 3) + nearness (ge_7 1, gt_4_lt_7 2, le_4 3) + location (entirely_polar 1, crosses_polar 2, gt_50_midline_or_between 3); anterior a|p|x 0 points; hilar suffix h boolean 0 points; Kutikov 2009 R.E.N.A.L. Nephrometry; sum 4-12; no published complexity bands","hilar":false,"l":1,"location":"entirely_polar","max_score":12,"n":1,"nearness":"ge_7","r":1,"radius":"le_4","renal_string":"4a","score":4}],"path":"/api/calc/renal_nephrometry"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anterior":{"description":"Caller-assigned anterior/posterior descriptor (Kutikov 2009 A). a (anterior), p (posterior), or x (indeterminate). 0 points; echoed as anterior. magent does not read CT.","enum":["a","p","x"],"type":"string"},"exophytic":{"description":"Caller-assigned exophytic/endophytic properties (Kutikov 2009 E). ge_50 (≥50% exophytic) scores 1; lt_50 (<50% exophytic) scores 2; entirely_endophytic (completely endophytic) scores 3. magent does not read CT.","enum":["ge_50","lt_50","entirely_endophytic"],"type":"string"},"hilar":{"description":"Caller-assigned hilar suffix (Kutikov 2009). true means the mass abuts the main renal artery or vein (suffix h). Boolean, not points. magent does not read CT.","type":"boolean"},"location":{"description":"Caller-assigned location relative to polar lines (Kutikov 2009 L). entirely_polar (entirely above the upper polar line or entirely below the lower polar line) scores 1; crosses_polar (mass crosses a polar line) scores 2; gt_50_midline_or_between (>50% of the mass is across a polar line, or the mass crosses the axial renal midline, or the mass is entirely between the polar lines) scores 3. magent does not read CT.","enum":["entirely_polar","crosses_polar","gt_50_midline_or_between"],"type":"string"},"nearness":{"description":"Caller-assigned nearness of the deepest portion of the mass to the collecting system or sinus in mm (Kutikov 2009 N). ge_7 (≥7 mm) scores 1; gt_4_lt_7 (>4 but <7 mm) scores 2; le_4 (≤4 mm) scores 3. magent does not measure nearness or read CT.","enum":["ge_7","gt_4_lt_7","le_4"],"type":"string"},"radius":{"description":"Caller-assigned maximal diameter in cm (Kutikov 2009 R, radius). le_4 (≤4 cm) scores 1; gt_4_lt_7 (>4 but <7 cm) scores 2; ge_7 (≥7 cm) scores 3. magent does not measure diameter or read CT.","enum":["le_4","gt_4_lt_7","ge_7"],"type":"string"}},"required":["radius","exophytic","nearness","anterior","location","hilar"],"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},{"id":38924,"slug":"38924","resource":"https://api.magentlab.com/api/calc/regiscar","description":"Kardaun 2007 RegiSCAR DRESS scoring letter from ten caller-assigned items (sum -4 to 9). Bands: <2 none, 2-3 possible, 4-5 probable, >=6 definite. Not a DRESS diagnosis, not SCORTEN, not J-SCAR. magent does not count eosinophils or read a biopsy. Biopsy unknown is not offered. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"alternative_causes_excluded":false,"atypical_lymphocytes":false,"biopsy_compatible":true,"eosinophilia":"none","fever_ge_38_5":true,"lymphadenopathy_ge_2_sites":false,"organs":0,"rash_gt_50_bsa":false,"rash_suggestive":false,"resolution_ge_15_days":true},{"alternative_causes_excluded":false,"atypical_lymphocytes":false,"biopsy_compatible":true,"eosinophilia":"none","fever_ge_38_5":true,"lymphadenopathy_ge_2_sites":false,"organs":0,"rash_gt_50_bsa":false,"rash_suggestive":false,"resolution_ge_15_days":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kardaun SH, Sidoroff A, Valeyrie-Allanore L, Halevy S, Davidovici BB, Mockenhaupt M, Roujeau JC","doi":"10.1111/j.1365-2133.2006.07704.x","id":"kardaun-2007","pmid":"17300272","source":"Br J Dermatol. 2007;156(3):609-611","title":"Variability in the clinical pattern of cutaneous side-effects of drugs with systemic symptoms: does a DRESS syndrome really exist?"},"components":[{"factor":"fever_ge_38_5","points":0,"present":true,"value":true},{"factor":"lymphadenopathy_ge_2_sites","points":0,"present":true,"value":false},{"factor":"eosinophilia","points":0,"present":true,"value":"none"},{"factor":"atypical_lymphocytes","points":0,"present":true,"value":false},{"factor":"rash_gt_50_bsa","points":0,"present":true,"value":false},{"factor":"rash_suggestive","points":-1,"present":true,"value":false},{"factor":"biopsy_compatible","points":0,"present":true,"value":true},{"factor":"organs","points":0,"present":true,"value":0},{"factor":"resolution_ge_15_days","points":0,"present":true,"value":true},{"factor":"alternative_causes_excluded","points":0,"present":true,"value":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":"regiscar","formula_expression":"RegiSCAR = fever_ge_38_5 (true 0, false −1) + lymphadenopathy_ge_2_sites (true 1, false 0) + eosinophilia (none 0, mild 1, severe 2) + atypical_lymphocytes (true 1, false 0) + rash_gt_50_bsa (true 1, false 0) + rash_suggestive (true 1, false −1) + biopsy_compatible (true 0, false −1) + organs (0/1/≥2 → 0/1/2) + resolution_ge_15_days (true 0, false −1) + alternative_causes_excluded (true 1, false 0); Kardaun 2007 scoring letter; sum −4 to 9; none <2, possible 2–3, probable 4–5, definite ≥6","max_score":9,"regiscar_band":"none","score":-1},{"citation":{"authors":"Kardaun SH, Sidoroff A, Valeyrie-Allanore L, Halevy S, Davidovici BB, Mockenhaupt M, Roujeau JC","doi":"10.1111/j.1365-2133.2006.07704.x","id":"kardaun-2007","pmid":"17300272","source":"Br J Dermatol. 2007;156(3):609-611","title":"Variability in the clinical pattern of cutaneous side-effects of drugs with systemic symptoms: does a DRESS syndrome really exist?"},"components":[{"factor":"fever_ge_38_5","points":0,"present":true,"value":true},{"factor":"lymphadenopathy_ge_2_sites","points":0,"present":true,"value":false},{"factor":"eosinophilia","points":0,"present":true,"value":"none"},{"factor":"atypical_lymphocytes","points":0,"present":true,"value":false},{"factor":"rash_gt_50_bsa","points":0,"present":true,"value":false},{"factor":"rash_suggestive","points":-1,"present":true,"value":false},{"factor":"biopsy_compatible","points":0,"present":true,"value":true},{"factor":"organs","points":0,"present":true,"value":0},{"factor":"resolution_ge_15_days","points":0,"present":true,"value":true},{"factor":"alternative_causes_excluded","points":0,"present":true,"value":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":"regiscar","formula_expression":"RegiSCAR = fever_ge_38_5 (true 0, false −1) + lymphadenopathy_ge_2_sites (true 1, false 0) + eosinophilia (none 0, mild 1, severe 2) + atypical_lymphocytes (true 1, false 0) + rash_gt_50_bsa (true 1, false 0) + rash_suggestive (true 1, false −1) + biopsy_compatible (true 0, false −1) + organs (0/1/≥2 → 0/1/2) + resolution_ge_15_days (true 0, false −1) + alternative_causes_excluded (true 1, false 0); Kardaun 2007 scoring letter; sum −4 to 9; none <2, possible 2–3, probable 4–5, definite ≥6","max_score":9,"regiscar_band":"none","score":-1}],"path":"/api/calc/regiscar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alternative_causes_excluded":{"description":"Caller-assigned exclusion of alternative causes (Kardaun 2007). true scores 1; false scores 0. magent does not exclude infection or other diagnoses.","type":"boolean"},"atypical_lymphocytes":{"description":"Caller-assigned atypical lymphocytes (Kardaun 2007). true scores 1; false scores 0. magent does not read a blood film.","type":"boolean"},"biopsy_compatible":{"description":"Caller-assigned skin-biopsy compatibility with DRESS (Kardaun 2007). true scores 0; false scores −1. Unknown is not offered. magent does not read a biopsy.","type":"boolean"},"eosinophilia":{"description":"Caller-assigned eosinophilia (Kardaun 2007): none (0), mild (1; 700–1499/µL or 10–19%), or severe (2; ≥1500/µL or ≥20%). magent does not count eosinophils.","enum":["none","mild","severe"],"type":"string"},"fever_ge_38_5":{"description":"Caller-assigned fever ≥38.5 °C (Kardaun 2007). true scores 0; false scores −1. magent does not measure temperature.","type":"boolean"},"lymphadenopathy_ge_2_sites":{"description":"Caller-assigned lymphadenopathy involving ≥2 sites (Kardaun 2007). true scores 1; false scores 0. magent does not examine lymph nodes.","type":"boolean"},"organs":{"description":"Caller-assigned organ involvement count (Kardaun 2007): integer 0, 1, or 2 (≥2 organs scores 2). Values outside 0–2 are rejected. magent does not diagnose organ injury.","type":"integer"},"rash_gt_50_bsa":{"description":"Caller-assigned rash extent >50% body surface area (Kardaun 2007). true scores 1; false scores 0. magent does not measure BSA.","type":"boolean"},"rash_suggestive":{"description":"Caller-assigned rash morphology suggestive of DRESS (Kardaun 2007). true scores 1; false scores −1. magent does not examine the skin.","type":"boolean"},"resolution_ge_15_days":{"description":"Caller-assigned resolution ≥15 days (Kardaun 2007). true scores 0; false scores −1. magent does not time the illness.","type":"boolean"}},"required":["fever_ge_38_5","lymphadenopathy_ge_2_sites","eosinophilia","atypical_lymphocytes","rash_gt_50_bsa","rash_suggestive","biopsy_compatible","organs","resolution_ge_15_days","alternative_causes_excluded"],"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":["regiscar","dress","emergency","dermatology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:16:33.794Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T12:16:33.642Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alternative_causes_excluded":false,"atypical_lymphocytes":false,"biopsy_compatible":true,"eosinophilia":"none","fever_ge_38_5":true,"lymphadenopathy_ge_2_sites":false,"organs":0,"rash_gt_50_bsa":false,"rash_suggestive":false,"resolution_ge_15_days":true},{"alternative_causes_excluded":false,"atypical_lymphocytes":false,"biopsy_compatible":true,"eosinophilia":"none","fever_ge_38_5":true,"lymphadenopathy_ge_2_sites":false,"organs":0,"rash_gt_50_bsa":false,"rash_suggestive":false,"resolution_ge_15_days":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kardaun SH, Sidoroff A, Valeyrie-Allanore L, Halevy S, Davidovici BB, Mockenhaupt M, Roujeau JC","doi":"10.1111/j.1365-2133.2006.07704.x","id":"kardaun-2007","pmid":"17300272","source":"Br J Dermatol. 2007;156(3):609-611","title":"Variability in the clinical pattern of cutaneous side-effects of drugs with systemic symptoms: does a DRESS syndrome really exist?"},"components":[{"factor":"fever_ge_38_5","points":0,"present":true,"value":true},{"factor":"lymphadenopathy_ge_2_sites","points":0,"present":true,"value":false},{"factor":"eosinophilia","points":0,"present":true,"value":"none"},{"factor":"atypical_lymphocytes","points":0,"present":true,"value":false},{"factor":"rash_gt_50_bsa","points":0,"present":true,"value":false},{"factor":"rash_suggestive","points":-1,"present":true,"value":false},{"factor":"biopsy_compatible","points":0,"present":true,"value":true},{"factor":"organs","points":0,"present":true,"value":0},{"factor":"resolution_ge_15_days","points":0,"present":true,"value":true},{"factor":"alternative_causes_excluded","points":0,"present":true,"value":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":"regiscar","formula_expression":"RegiSCAR = fever_ge_38_5 (true 0, false −1) + lymphadenopathy_ge_2_sites (true 1, false 0) + eosinophilia (none 0, mild 1, severe 2) + atypical_lymphocytes (true 1, false 0) + rash_gt_50_bsa (true 1, false 0) + rash_suggestive (true 1, false −1) + biopsy_compatible (true 0, false −1) + organs (0/1/≥2 → 0/1/2) + resolution_ge_15_days (true 0, false −1) + alternative_causes_excluded (true 1, false 0); Kardaun 2007 scoring letter; sum −4 to 9; none <2, possible 2–3, probable 4–5, definite ≥6","max_score":9,"regiscar_band":"none","score":-1},{"citation":{"authors":"Kardaun SH, Sidoroff A, Valeyrie-Allanore L, Halevy S, Davidovici BB, Mockenhaupt M, Roujeau JC","doi":"10.1111/j.1365-2133.2006.07704.x","id":"kardaun-2007","pmid":"17300272","source":"Br J Dermatol. 2007;156(3):609-611","title":"Variability in the clinical pattern of cutaneous side-effects of drugs with systemic symptoms: does a DRESS syndrome really exist?"},"components":[{"factor":"fever_ge_38_5","points":0,"present":true,"value":true},{"factor":"lymphadenopathy_ge_2_sites","points":0,"present":true,"value":false},{"factor":"eosinophilia","points":0,"present":true,"value":"none"},{"factor":"atypical_lymphocytes","points":0,"present":true,"value":false},{"factor":"rash_gt_50_bsa","points":0,"present":true,"value":false},{"factor":"rash_suggestive","points":-1,"present":true,"value":false},{"factor":"biopsy_compatible","points":0,"present":true,"value":true},{"factor":"organs","points":0,"present":true,"value":0},{"factor":"resolution_ge_15_days","points":0,"present":true,"value":true},{"factor":"alternative_causes_excluded","points":0,"present":true,"value":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":"regiscar","formula_expression":"RegiSCAR = fever_ge_38_5 (true 0, false −1) + lymphadenopathy_ge_2_sites (true 1, false 0) + eosinophilia (none 0, mild 1, severe 2) + atypical_lymphocytes (true 1, false 0) + rash_gt_50_bsa (true 1, false 0) + rash_suggestive (true 1, false −1) + biopsy_compatible (true 0, false −1) + organs (0/1/≥2 → 0/1/2) + resolution_ge_15_days (true 0, false −1) + alternative_causes_excluded (true 1, false 0); Kardaun 2007 scoring letter; sum −4 to 9; none <2, possible 2–3, probable 4–5, definite ≥6","max_score":9,"regiscar_band":"none","score":-1}],"path":"/api/calc/regiscar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alternative_causes_excluded":{"description":"Caller-assigned exclusion of alternative causes (Kardaun 2007). true scores 1; false scores 0. magent does not exclude infection or other diagnoses.","type":"boolean"},"atypical_lymphocytes":{"description":"Caller-assigned atypical lymphocytes (Kardaun 2007). true scores 1; false scores 0. magent does not read a blood film.","type":"boolean"},"biopsy_compatible":{"description":"Caller-assigned skin-biopsy compatibility with DRESS (Kardaun 2007). true scores 0; false scores −1. Unknown is not offered. magent does not read a biopsy.","type":"boolean"},"eosinophilia":{"description":"Caller-assigned eosinophilia (Kardaun 2007): none (0), mild (1; 700–1499/µL or 10–19%), or severe (2; ≥1500/µL or ≥20%). magent does not count eosinophils.","enum":["none","mild","severe"],"type":"string"},"fever_ge_38_5":{"description":"Caller-assigned fever ≥38.5 °C (Kardaun 2007). true scores 0; false scores −1. magent does not measure temperature.","type":"boolean"},"lymphadenopathy_ge_2_sites":{"description":"Caller-assigned lymphadenopathy involving ≥2 sites (Kardaun 2007). true scores 1; false scores 0. magent does not examine lymph nodes.","type":"boolean"},"organs":{"description":"Caller-assigned organ involvement count (Kardaun 2007): integer 0, 1, or 2 (≥2 organs scores 2). Values outside 0–2 are rejected. magent does not diagnose organ injury.","type":"integer"},"rash_gt_50_bsa":{"description":"Caller-assigned rash extent >50% body surface area (Kardaun 2007). true scores 1; false scores 0. magent does not measure BSA.","type":"boolean"},"rash_suggestive":{"description":"Caller-assigned rash morphology suggestive of DRESS (Kardaun 2007). true scores 1; false scores −1. magent does not examine the skin.","type":"boolean"},"resolution_ge_15_days":{"description":"Caller-assigned resolution ≥15 days (Kardaun 2007). true scores 0; false scores −1. magent does not time the illness.","type":"boolean"}},"required":["fever_ge_38_5","lymphadenopathy_ge_2_sites","eosinophilia","atypical_lymphocytes","rash_gt_50_bsa","rash_suggestive","biopsy_compatible","organs","resolution_ge_15_days","alternative_causes_excluded"],"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},{"id":38925,"slug":"38925","resource":"https://api.magentlab.com/api/calc/readmits","description":"Nguyen 2018 first-day AMI READMITS integer score for 30-day all-cause readmission: creatinine >2 mg/dL (6), elevated BNP >=50 or NT-proBNP >=125 pg/mL (8), 1 point per decade over 18, diabetes (4), female sex (2), no PCI within 24 hours (1), SBP <100 mm Hg (3). Table 4 quintiles with mean predicted risk. Not a medical device, not a PCI or discharge order, and not the full-stay model.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":58,"creatinine_gt_2":false,"diabetes":false,"elevated_bnp":false,"pci_within_24h":true,"sbp_lt_100":false,"sex":"male"},{"age_years":58,"creatinine_gt_2":false,"diabetes":false,"elevated_bnp":false,"pci_within_24h":true,"sbp_lt_100":false,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_decades":4,"age_years":58,"citation":{"authors":"Nguyen OK, Makam AN, Clark C, et al.","doi":"10.1161/JAHA.118.008882","id":"nguyen-2018","pmid":"29666144","source":"J Am Heart Assoc. 2018;7(8):e008882","title":"Predicting 30-Day Hospital Readmissions in Acute Myocardial Infarction: The AMI \"READMITS\" (Renal Function, Elevated Brain Natriuretic Peptide, Age, Diabetes Mellitus, Nonmale Sex, Intervention with Timely Percutaneous Coronary Intervention, and Low Systolic Blood Pressure) Score"},"components":[{"factor":"creatinine_gt_2","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"age_years","points":4,"present":true,"value":58},{"factor":"diabetes","points":0,"present":false},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"no_pci_within_24h","points":0,"present":false},{"factor":"sbp_lt_100","points":0,"present":false}],"creatinine_gt_2":false,"diabetes":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.","elevated_bnp":false,"formula":"readmits","formula_expression":"READMITS = creatinine_gt_2 (6) + elevated_bnp (8) + floor((age_years-18)/10) (1 per decade >18) + diabetes (4) + female (2) + no_pci_within_24h (1) + sbp_lt_100 (3); Nguyen 2018 first-day AMI READMITS Table 2; max 32 at age 100; Table 4 quintiles <=13 extremely_low 3%, 14-15 low 7%, 16-17 moderate 11%, 18-19 high 16%, >=20 extremely_high 35%","max_score":32,"pci_within_24h":true,"predicted_readmission_percent":3,"quintile":"extremely_low","sbp_lt_100":false,"score":4,"sex":"male"},{"age_decades":4,"age_years":58,"citation":{"authors":"Nguyen OK, Makam AN, Clark C, et al.","doi":"10.1161/JAHA.118.008882","id":"nguyen-2018","pmid":"29666144","source":"J Am Heart Assoc. 2018;7(8):e008882","title":"Predicting 30-Day Hospital Readmissions in Acute Myocardial Infarction: The AMI \"READMITS\" (Renal Function, Elevated Brain Natriuretic Peptide, Age, Diabetes Mellitus, Nonmale Sex, Intervention with Timely Percutaneous Coronary Intervention, and Low Systolic Blood Pressure) Score"},"components":[{"factor":"creatinine_gt_2","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"age_years","points":4,"present":true,"value":58},{"factor":"diabetes","points":0,"present":false},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"no_pci_within_24h","points":0,"present":false},{"factor":"sbp_lt_100","points":0,"present":false}],"creatinine_gt_2":false,"diabetes":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.","elevated_bnp":false,"formula":"readmits","formula_expression":"READMITS = creatinine_gt_2 (6) + elevated_bnp (8) + floor((age_years-18)/10) (1 per decade >18) + diabetes (4) + female (2) + no_pci_within_24h (1) + sbp_lt_100 (3); Nguyen 2018 first-day AMI READMITS Table 2; max 32 at age 100; Table 4 quintiles <=13 extremely_low 3%, 14-15 low 7%, 16-17 moderate 11%, 18-19 high 16%, >=20 extremely_high 35%","max_score":32,"pci_within_24h":true,"predicted_readmission_percent":3,"quintile":"extremely_low","sbp_lt_100":false,"score":4,"sex":"male"}],"path":"/api/calc/readmits"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (18-100). Nguyen 2018: 1 point per decade over 18, floor((age_years-18)/10).","type":"integer"},"creatinine_gt_2":{"description":"Whether serum creatinine was >2 mg/dL within the first 24 hours (Nguyen 2018: 6 points). Caller-assigned. magent does not assay creatinine.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus history (Nguyen 2018: 4 points). true or false.","type":"boolean"},"elevated_bnp":{"description":"Whether BNP was >=50 pg/mL or NT-proBNP was >=125 pg/mL within the first 24 hours (Nguyen 2018: 8 points). Caller-assigned. magent does not assay natriuretic peptides.","type":"boolean"},"pci_within_24h":{"description":"Whether PCI occurred within the first 24 hours (Nguyen 2018: false scores 1; true scores 0). Caller-assigned. magent does not read timestamps or the angiogram.","type":"boolean"},"sbp_lt_100":{"description":"Whether systolic blood pressure was <100 mm Hg within the first 24 hours (Nguyen 2018: 3 points). Caller-assigned boolean; magent does not take an SBP number.","type":"boolean"},"sex":{"description":"female or male (Nguyen 2018 nonmale sex). Female scores 2. Male scores 0. A published sex item, not race.","enum":["female","male"],"type":"string"}},"required":["age_years","sex","creatinine_gt_2","elevated_bnp","diabetes","pci_within_24h","sbp_lt_100"],"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":["readmits","ami","acs","readmission","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:06:49.471Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T12:06:49.309Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":58,"creatinine_gt_2":false,"diabetes":false,"elevated_bnp":false,"pci_within_24h":true,"sbp_lt_100":false,"sex":"male"},{"age_years":58,"creatinine_gt_2":false,"diabetes":false,"elevated_bnp":false,"pci_within_24h":true,"sbp_lt_100":false,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_decades":4,"age_years":58,"citation":{"authors":"Nguyen OK, Makam AN, Clark C, et al.","doi":"10.1161/JAHA.118.008882","id":"nguyen-2018","pmid":"29666144","source":"J Am Heart Assoc. 2018;7(8):e008882","title":"Predicting 30-Day Hospital Readmissions in Acute Myocardial Infarction: The AMI \"READMITS\" (Renal Function, Elevated Brain Natriuretic Peptide, Age, Diabetes Mellitus, Nonmale Sex, Intervention with Timely Percutaneous Coronary Intervention, and Low Systolic Blood Pressure) Score"},"components":[{"factor":"creatinine_gt_2","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"age_years","points":4,"present":true,"value":58},{"factor":"diabetes","points":0,"present":false},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"no_pci_within_24h","points":0,"present":false},{"factor":"sbp_lt_100","points":0,"present":false}],"creatinine_gt_2":false,"diabetes":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.","elevated_bnp":false,"formula":"readmits","formula_expression":"READMITS = creatinine_gt_2 (6) + elevated_bnp (8) + floor((age_years-18)/10) (1 per decade >18) + diabetes (4) + female (2) + no_pci_within_24h (1) + sbp_lt_100 (3); Nguyen 2018 first-day AMI READMITS Table 2; max 32 at age 100; Table 4 quintiles <=13 extremely_low 3%, 14-15 low 7%, 16-17 moderate 11%, 18-19 high 16%, >=20 extremely_high 35%","max_score":32,"pci_within_24h":true,"predicted_readmission_percent":3,"quintile":"extremely_low","sbp_lt_100":false,"score":4,"sex":"male"},{"age_decades":4,"age_years":58,"citation":{"authors":"Nguyen OK, Makam AN, Clark C, et al.","doi":"10.1161/JAHA.118.008882","id":"nguyen-2018","pmid":"29666144","source":"J Am Heart Assoc. 2018;7(8):e008882","title":"Predicting 30-Day Hospital Readmissions in Acute Myocardial Infarction: The AMI \"READMITS\" (Renal Function, Elevated Brain Natriuretic Peptide, Age, Diabetes Mellitus, Nonmale Sex, Intervention with Timely Percutaneous Coronary Intervention, and Low Systolic Blood Pressure) Score"},"components":[{"factor":"creatinine_gt_2","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"age_years","points":4,"present":true,"value":58},{"factor":"diabetes","points":0,"present":false},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"no_pci_within_24h","points":0,"present":false},{"factor":"sbp_lt_100","points":0,"present":false}],"creatinine_gt_2":false,"diabetes":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.","elevated_bnp":false,"formula":"readmits","formula_expression":"READMITS = creatinine_gt_2 (6) + elevated_bnp (8) + floor((age_years-18)/10) (1 per decade >18) + diabetes (4) + female (2) + no_pci_within_24h (1) + sbp_lt_100 (3); Nguyen 2018 first-day AMI READMITS Table 2; max 32 at age 100; Table 4 quintiles <=13 extremely_low 3%, 14-15 low 7%, 16-17 moderate 11%, 18-19 high 16%, >=20 extremely_high 35%","max_score":32,"pci_within_24h":true,"predicted_readmission_percent":3,"quintile":"extremely_low","sbp_lt_100":false,"score":4,"sex":"male"}],"path":"/api/calc/readmits"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (18-100). Nguyen 2018: 1 point per decade over 18, floor((age_years-18)/10).","type":"integer"},"creatinine_gt_2":{"description":"Whether serum creatinine was >2 mg/dL within the first 24 hours (Nguyen 2018: 6 points). Caller-assigned. magent does not assay creatinine.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus history (Nguyen 2018: 4 points). true or false.","type":"boolean"},"elevated_bnp":{"description":"Whether BNP was >=50 pg/mL or NT-proBNP was >=125 pg/mL within the first 24 hours (Nguyen 2018: 8 points). Caller-assigned. magent does not assay natriuretic peptides.","type":"boolean"},"pci_within_24h":{"description":"Whether PCI occurred within the first 24 hours (Nguyen 2018: false scores 1; true scores 0). Caller-assigned. magent does not read timestamps or the angiogram.","type":"boolean"},"sbp_lt_100":{"description":"Whether systolic blood pressure was <100 mm Hg within the first 24 hours (Nguyen 2018: 3 points). Caller-assigned boolean; magent does not take an SBP number.","type":"boolean"},"sex":{"description":"female or male (Nguyen 2018 nonmale sex). Female scores 2. Male scores 0. A published sex item, not race.","enum":["female","male"],"type":"string"}},"required":["age_years","sex","creatinine_gt_2","elevated_bnp","diabetes","pci_within_24h","sbp_lt_100"],"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},{"id":38926,"slug":"38926","resource":"https://api.magentlab.com/api/calc/reach_b","description":"Yang 2011 REACH-B 17-point HCC risk (non-cirrhotic REVEAL-HBV). Sex female 0, male 2; age 30-65 (30-34 0 through 60-65 6); ALT U/L <15 0, 15-44 1, >=45 2; HBeAg positive 2; HBV DNA copies/mL <10000 0, 10000-99999 3, 100000-999999 5, >=1000000 4. Returns score 0-17 and published 3/5/10-year percents. Not a diagnosis, not a biopsy, not for cirrhosis. magent does not assay ALT or HBV DNA.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":30,"alt_u_l":14,"hbeag_positive":false,"hbv_dna_copies_per_ml":200,"sex":"female"},{"age":30,"alt_u_l":14,"hbeag_positive":false,"hbv_dna_copies_per_ml":200,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"alt_u_l":14,"citation":{"authors":"Yang HI, Yuen MF, Chan HL, et al","doi":"10.1016/S1470-2045(11)70077-8","id":"yang-2011","pmid":"21497551","source":"Lancet Oncol. 2011;12(6):568-574","title":"Risk estimation for hepatocellular carcinoma in chronic hepatitis B (REACH-B): development and validation of a predictive score"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":30},{"factor":"alt","points":0,"present":false,"value":14},{"factor":"hbeag","points":0,"present":false},{"factor":"hbv_dna","points":0,"present":false,"value":200}],"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":"reach_b","formula_expression":"REACH-B = sex + age + ALT + HBeAg + HBV DNA copies/mL; female 0, male 2; age 30-34 -> 0, 35-39 -> 1, 40-44 -> 2, 45-49 -> 3, 50-54 -> 4, 55-59 -> 5, 60-65 -> 6; ALT <15 -> 0, 15-44 -> 1, >=45 -> 2; HBeAg positive 2; HBV DNA copies/mL <300 -> 0, 300-9999 -> 0, 10000-99999 -> 3, 100000-999999 -> 5, >=1000000 -> 4; max 17; 3/5/10-year HCC percent from Yang 2011 score table","hbeag_positive":false,"hbv_dna_copies_per_ml":200,"max_score":17,"risk_10y_percent":0,"risk_3y_percent":0,"risk_5y_percent":0,"score":0,"sex":"female"},{"age_years":30,"alt_u_l":14,"citation":{"authors":"Yang HI, Yuen MF, Chan HL, et al","doi":"10.1016/S1470-2045(11)70077-8","id":"yang-2011","pmid":"21497551","source":"Lancet Oncol. 2011;12(6):568-574","title":"Risk estimation for hepatocellular carcinoma in chronic hepatitis B (REACH-B): development and validation of a predictive score"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":30},{"factor":"alt","points":0,"present":false,"value":14},{"factor":"hbeag","points":0,"present":false},{"factor":"hbv_dna","points":0,"present":false,"value":200}],"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":"reach_b","formula_expression":"REACH-B = sex + age + ALT + HBeAg + HBV DNA copies/mL; female 0, male 2; age 30-34 -> 0, 35-39 -> 1, 40-44 -> 2, 45-49 -> 3, 50-54 -> 4, 55-59 -> 5, 60-65 -> 6; ALT <15 -> 0, 15-44 -> 1, >=45 -> 2; HBeAg positive 2; HBV DNA copies/mL <300 -> 0, 300-9999 -> 0, 10000-99999 -> 3, 100000-999999 -> 5, >=1000000 -> 4; max 17; 3/5/10-year HCC percent from Yang 2011 score table","hbeag_positive":false,"hbv_dna_copies_per_ml":200,"max_score":17,"risk_10y_percent":0,"risk_3y_percent":0,"risk_5y_percent":0,"score":0,"sex":"female"}],"path":"/api/calc/reach_b"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years. Yang 2011 derivation 30-65 only: 30-34 scores 0; 35-39 scores 1; 40-44 scores 2; 45-49 scores 3; 50-54 scores 4; 55-59 scores 5; 60-65 scores 6. Age 34 scores 0; 35 scores 1; 65 scores 6. Age outside 30-65 is rejected. This tool does not score age >=65 as 7.","type":"integer"},"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000). Caller-assigned; magent does not assay ALT. Yang 2011: <15 scores 0; 15-44 scores 1; >=45 scores 2. ALT 14 scores 0; 15 and 44 score 1; 45 scores 2.","type":"number"},"hbeag_positive":{"description":"HBeAg positive as assigned by the caller (Yang 2011). true scores 2; false scores 0. magent does not assay HBeAg.","type":"boolean"},"hbv_dna_copies_per_ml":{"description":"HBV DNA in copies/mL (integer 0-10000000000). Yang 2011 uses copies/mL, not IU/mL. magent does not assay HBV DNA and does not convert units. <300 scores 0; 300-9999 scores 0; 10000-99999 scores 3; 100000-999999 scores 5; >=1000000 scores 4 (non-monotonic: 10^6 scores 4, 10^5 to 10^6-1 scores 5).","type":"integer"},"sex":{"description":"female or male. Yang 2011: female scores 0; male scores 2.","enum":["female","male"],"type":"string"}},"required":["sex","age","alt_u_l","hbeag_positive","hbv_dna_copies_per_ml"],"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":["reach-b","hcc","hepatitis-b","liver","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:06:48.036Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T12:06:47.764Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":30,"alt_u_l":14,"hbeag_positive":false,"hbv_dna_copies_per_ml":200,"sex":"female"},{"age":30,"alt_u_l":14,"hbeag_positive":false,"hbv_dna_copies_per_ml":200,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"alt_u_l":14,"citation":{"authors":"Yang HI, Yuen MF, Chan HL, et al","doi":"10.1016/S1470-2045(11)70077-8","id":"yang-2011","pmid":"21497551","source":"Lancet Oncol. 2011;12(6):568-574","title":"Risk estimation for hepatocellular carcinoma in chronic hepatitis B (REACH-B): development and validation of a predictive score"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":30},{"factor":"alt","points":0,"present":false,"value":14},{"factor":"hbeag","points":0,"present":false},{"factor":"hbv_dna","points":0,"present":false,"value":200}],"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":"reach_b","formula_expression":"REACH-B = sex + age + ALT + HBeAg + HBV DNA copies/mL; female 0, male 2; age 30-34 -> 0, 35-39 -> 1, 40-44 -> 2, 45-49 -> 3, 50-54 -> 4, 55-59 -> 5, 60-65 -> 6; ALT <15 -> 0, 15-44 -> 1, >=45 -> 2; HBeAg positive 2; HBV DNA copies/mL <300 -> 0, 300-9999 -> 0, 10000-99999 -> 3, 100000-999999 -> 5, >=1000000 -> 4; max 17; 3/5/10-year HCC percent from Yang 2011 score table","hbeag_positive":false,"hbv_dna_copies_per_ml":200,"max_score":17,"risk_10y_percent":0,"risk_3y_percent":0,"risk_5y_percent":0,"score":0,"sex":"female"},{"age_years":30,"alt_u_l":14,"citation":{"authors":"Yang HI, Yuen MF, Chan HL, et al","doi":"10.1016/S1470-2045(11)70077-8","id":"yang-2011","pmid":"21497551","source":"Lancet Oncol. 2011;12(6):568-574","title":"Risk estimation for hepatocellular carcinoma in chronic hepatitis B (REACH-B): development and validation of a predictive score"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":30},{"factor":"alt","points":0,"present":false,"value":14},{"factor":"hbeag","points":0,"present":false},{"factor":"hbv_dna","points":0,"present":false,"value":200}],"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":"reach_b","formula_expression":"REACH-B = sex + age + ALT + HBeAg + HBV DNA copies/mL; female 0, male 2; age 30-34 -> 0, 35-39 -> 1, 40-44 -> 2, 45-49 -> 3, 50-54 -> 4, 55-59 -> 5, 60-65 -> 6; ALT <15 -> 0, 15-44 -> 1, >=45 -> 2; HBeAg positive 2; HBV DNA copies/mL <300 -> 0, 300-9999 -> 0, 10000-99999 -> 3, 100000-999999 -> 5, >=1000000 -> 4; max 17; 3/5/10-year HCC percent from Yang 2011 score table","hbeag_positive":false,"hbv_dna_copies_per_ml":200,"max_score":17,"risk_10y_percent":0,"risk_3y_percent":0,"risk_5y_percent":0,"score":0,"sex":"female"}],"path":"/api/calc/reach_b"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years. Yang 2011 derivation 30-65 only: 30-34 scores 0; 35-39 scores 1; 40-44 scores 2; 45-49 scores 3; 50-54 scores 4; 55-59 scores 5; 60-65 scores 6. Age 34 scores 0; 35 scores 1; 65 scores 6. Age outside 30-65 is rejected. This tool does not score age >=65 as 7.","type":"integer"},"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000). Caller-assigned; magent does not assay ALT. Yang 2011: <15 scores 0; 15-44 scores 1; >=45 scores 2. ALT 14 scores 0; 15 and 44 score 1; 45 scores 2.","type":"number"},"hbeag_positive":{"description":"HBeAg positive as assigned by the caller (Yang 2011). true scores 2; false scores 0. magent does not assay HBeAg.","type":"boolean"},"hbv_dna_copies_per_ml":{"description":"HBV DNA in copies/mL (integer 0-10000000000). Yang 2011 uses copies/mL, not IU/mL. magent does not assay HBV DNA and does not convert units. <300 scores 0; 300-9999 scores 0; 10000-99999 scores 3; 100000-999999 scores 5; >=1000000 scores 4 (non-monotonic: 10^6 scores 4, 10^5 to 10^6-1 scores 5).","type":"integer"},"sex":{"description":"female or male. Yang 2011: female scores 0; male scores 2.","enum":["female","male"],"type":"string"}},"required":["sex","age","alt_u_l","hbeag_positive","hbv_dna_copies_per_ml"],"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},{"id":38927,"slug":"38927","resource":"https://api.magentlab.com/api/calc/rdos","description":"Campbell 2010 RDOS for patients unable to self-report dyspnea. Eight caller-assigned 0-2 integers (heart_rate, respiratory_rate, restlessness, paradoxical_breathing, accessory_muscle_use, grunting, nasal_flaring, look_of_fear). magent sums only (max 16); does not convert raw heart or respiratory rate or observe the patient. Campbell 2010 published the 0-16 instrument; magent does not apply later cutoff papers. Not a medical device and not an opioid or oxygen order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"accessory_muscle_use":0,"grunting":0,"heart_rate":0,"look_of_fear":0,"nasal_flaring":0,"paradoxical_breathing":0,"respiratory_rate":0,"restlessness":0},{"accessory_muscle_use":0,"grunting":0,"heart_rate":0,"look_of_fear":0,"nasal_flaring":0,"paradoxical_breathing":0,"respiratory_rate":0,"restlessness":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Campbell ML, Templin T, Walch J","doi":"10.1089/jpm.2009.0229","id":"campbell-2010","pmid":"20078243","source":"J Palliat Med. 2010;13(3):285-290","title":"A Respiratory Distress Observation Scale for patients unable to self-report dyspnea"},"components":[{"factor":"heart_rate","points":0,"present":true,"value":0},{"factor":"respiratory_rate","points":0,"present":true,"value":0},{"factor":"restlessness","points":0,"present":true,"value":0},{"factor":"paradoxical_breathing","points":0,"present":true,"value":0},{"factor":"accessory_muscle_use","points":0,"present":true,"value":0},{"factor":"grunting","points":0,"present":true,"value":0},{"factor":"nasal_flaring","points":0,"present":true,"value":0},{"factor":"look_of_fear","points":0,"present":true,"value":0}],"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":"rdos","formula_expression":"RDOS = heart_rate + respiratory_rate + restlessness + paradoxical_breathing + accessory_muscle_use + grunting + nasal_flaring + look_of_fear; each caller-assigned 0-2; max 16","max_score":16,"score":0},{"citation":{"authors":"Campbell ML, Templin T, Walch J","doi":"10.1089/jpm.2009.0229","id":"campbell-2010","pmid":"20078243","source":"J Palliat Med. 2010;13(3):285-290","title":"A Respiratory Distress Observation Scale for patients unable to self-report dyspnea"},"components":[{"factor":"heart_rate","points":0,"present":true,"value":0},{"factor":"respiratory_rate","points":0,"present":true,"value":0},{"factor":"restlessness","points":0,"present":true,"value":0},{"factor":"paradoxical_breathing","points":0,"present":true,"value":0},{"factor":"accessory_muscle_use","points":0,"present":true,"value":0},{"factor":"grunting","points":0,"present":true,"value":0},{"factor":"nasal_flaring","points":0,"present":true,"value":0},{"factor":"look_of_fear","points":0,"present":true,"value":0}],"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":"rdos","formula_expression":"RDOS = heart_rate + respiratory_rate + restlessness + paradoxical_breathing + accessory_muscle_use + grunting + nasal_flaring + look_of_fear; each caller-assigned 0-2; max 16","max_score":16,"score":0}],"path":"/api/calc/rdos"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"accessory_muscle_use":{"description":"Caller-assigned Campbell 2010 accessory_muscle_use (rise in clavicle during inspiration) points (integer 0-2): 0 none; 1 slight rise; 2 pronounced rise. magent does not observe the patient.","type":"integer"},"grunting":{"description":"Caller-assigned Campbell 2010 grunting at end-expiration (guttural sound) points (integer 0-2). Paper scores 0 none or 2 present; there is no 1-point cell. magent does not observe the patient.","type":"integer"},"heart_rate":{"description":"Caller-assigned Campbell 2010 heart_rate points (integer 0-2). Paper bins: ≤90 beats/min → 0; 91–110 → 1; ≥111 → 2. magent does not convert raw beats/min and does not observe the patient.","type":"integer"},"look_of_fear":{"description":"Caller-assigned Campbell 2010 look_of_fear points (integer 0-2). Paper scores 0 none or 2 eyes wide open, facial muscles tense, brow furrowed, mouth open, teeth together; there is no 1-point cell. magent does not observe the patient.","type":"integer"},"nasal_flaring":{"description":"Caller-assigned Campbell 2010 nasal_flaring (involuntary movement of nares) points (integer 0-2). Paper scores 0 none or 2 present; there is no 1-point cell. magent does not observe the patient.","type":"integer"},"paradoxical_breathing":{"description":"Caller-assigned Campbell 2010 paradoxical_breathing points (integer 0-2). Paper scores 0 none or 2 present (abdomen moves in on inspiration); there is no 1-point cell. magent does not observe the patient.","type":"integer"},"respiratory_rate":{"description":"Caller-assigned Campbell 2010 respiratory_rate points (integer 0-2). Paper bins: ≤18 breaths/min → 0; 19–28 → 1; ≥29 → 2. magent does not convert raw breaths/min and does not observe the patient.","type":"integer"},"restlessness":{"description":"Caller-assigned Campbell 2010 restlessness (nonpurposeful movements) points (integer 0-2): 0 none; 1 occasional, slight movements; 2 frequent movements. magent does not observe the patient.","type":"integer"}},"required":["heart_rate","respiratory_rate","restlessness","paradoxical_breathing","accessory_muscle_use","grunting","nasal_flaring","look_of_fear"],"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":["rdos","dyspnea","respiratory","palliative","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:06:46.005Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T12:06:45.879Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"accessory_muscle_use":0,"grunting":0,"heart_rate":0,"look_of_fear":0,"nasal_flaring":0,"paradoxical_breathing":0,"respiratory_rate":0,"restlessness":0},{"accessory_muscle_use":0,"grunting":0,"heart_rate":0,"look_of_fear":0,"nasal_flaring":0,"paradoxical_breathing":0,"respiratory_rate":0,"restlessness":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Campbell ML, Templin T, Walch J","doi":"10.1089/jpm.2009.0229","id":"campbell-2010","pmid":"20078243","source":"J Palliat Med. 2010;13(3):285-290","title":"A Respiratory Distress Observation Scale for patients unable to self-report dyspnea"},"components":[{"factor":"heart_rate","points":0,"present":true,"value":0},{"factor":"respiratory_rate","points":0,"present":true,"value":0},{"factor":"restlessness","points":0,"present":true,"value":0},{"factor":"paradoxical_breathing","points":0,"present":true,"value":0},{"factor":"accessory_muscle_use","points":0,"present":true,"value":0},{"factor":"grunting","points":0,"present":true,"value":0},{"factor":"nasal_flaring","points":0,"present":true,"value":0},{"factor":"look_of_fear","points":0,"present":true,"value":0}],"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":"rdos","formula_expression":"RDOS = heart_rate + respiratory_rate + restlessness + paradoxical_breathing + accessory_muscle_use + grunting + nasal_flaring + look_of_fear; each caller-assigned 0-2; max 16","max_score":16,"score":0},{"citation":{"authors":"Campbell ML, Templin T, Walch J","doi":"10.1089/jpm.2009.0229","id":"campbell-2010","pmid":"20078243","source":"J Palliat Med. 2010;13(3):285-290","title":"A Respiratory Distress Observation Scale for patients unable to self-report dyspnea"},"components":[{"factor":"heart_rate","points":0,"present":true,"value":0},{"factor":"respiratory_rate","points":0,"present":true,"value":0},{"factor":"restlessness","points":0,"present":true,"value":0},{"factor":"paradoxical_breathing","points":0,"present":true,"value":0},{"factor":"accessory_muscle_use","points":0,"present":true,"value":0},{"factor":"grunting","points":0,"present":true,"value":0},{"factor":"nasal_flaring","points":0,"present":true,"value":0},{"factor":"look_of_fear","points":0,"present":true,"value":0}],"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":"rdos","formula_expression":"RDOS = heart_rate + respiratory_rate + restlessness + paradoxical_breathing + accessory_muscle_use + grunting + nasal_flaring + look_of_fear; each caller-assigned 0-2; max 16","max_score":16,"score":0}],"path":"/api/calc/rdos"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"accessory_muscle_use":{"description":"Caller-assigned Campbell 2010 accessory_muscle_use (rise in clavicle during inspiration) points (integer 0-2): 0 none; 1 slight rise; 2 pronounced rise. magent does not observe the patient.","type":"integer"},"grunting":{"description":"Caller-assigned Campbell 2010 grunting at end-expiration (guttural sound) points (integer 0-2). Paper scores 0 none or 2 present; there is no 1-point cell. magent does not observe the patient.","type":"integer"},"heart_rate":{"description":"Caller-assigned Campbell 2010 heart_rate points (integer 0-2). Paper bins: ≤90 beats/min → 0; 91–110 → 1; ≥111 → 2. magent does not convert raw beats/min and does not observe the patient.","type":"integer"},"look_of_fear":{"description":"Caller-assigned Campbell 2010 look_of_fear points (integer 0-2). Paper scores 0 none or 2 eyes wide open, facial muscles tense, brow furrowed, mouth open, teeth together; there is no 1-point cell. magent does not observe the patient.","type":"integer"},"nasal_flaring":{"description":"Caller-assigned Campbell 2010 nasal_flaring (involuntary movement of nares) points (integer 0-2). Paper scores 0 none or 2 present; there is no 1-point cell. magent does not observe the patient.","type":"integer"},"paradoxical_breathing":{"description":"Caller-assigned Campbell 2010 paradoxical_breathing points (integer 0-2). Paper scores 0 none or 2 present (abdomen moves in on inspiration); there is no 1-point cell. magent does not observe the patient.","type":"integer"},"respiratory_rate":{"description":"Caller-assigned Campbell 2010 respiratory_rate points (integer 0-2). Paper bins: ≤18 breaths/min → 0; 19–28 → 1; ≥29 → 2. magent does not convert raw breaths/min and does not observe the patient.","type":"integer"},"restlessness":{"description":"Caller-assigned Campbell 2010 restlessness (nonpurposeful movements) points (integer 0-2): 0 none; 1 occasional, slight movements; 2 frequent movements. magent does not observe the patient.","type":"integer"}},"required":["heart_rate","respiratory_rate","restlessness","paradoxical_breathing","accessory_muscle_use","grunting","nasal_flaring","look_of_fear"],"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},{"id":38928,"slug":"38928","resource":"https://api.magentlab.com/api/calc/rcri","description":"Lee 1999 revised cardiac risk index: six 1-point factors (high-risk surgery, ischemic heart disease, heart failure, cerebrovascular disease, insulin diabetes, creatinine >2.0 mg/dL) and class I–IV. Deterministic published arithmetic with citation; not operative clearance.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cerebrovascular_disease":false,"congestive_heart_failure":false,"creatinine_gt_2":false,"high_risk_surgery":false,"insulin_diabetes":false,"ischemic_heart_disease":false},{"cerebrovascular_disease":false,"congestive_heart_failure":false,"creatinine_gt_2":false,"high_risk_surgery":false,"insulin_diabetes":false,"ischemic_heart_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lee TH, Marcantonio ER, Mangione CM, et al.","doi":"10.1161/01.CIR.100.10.1043","id":"lee-1999","source":"Circulation. 1999;100(10):1043-1049","title":"Derivation and prospective validation of a simple index for prediction of cardiac risk of major noncardiac surgery"},"components":[{"factor":"high_risk_surgery","points":0,"present":false},{"factor":"ischemic_heart_disease","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"insulin_diabetes","points":0,"present":false},{"factor":"creatinine_gt_2","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":"rcri","formula_expression":"RCRI = high_risk_surgery + ischemic_heart_disease + congestive_heart_failure + cerebrovascular_disease + insulin_diabetes + creatinine_gt_2; each 1; max 6","max_score":6,"rcri_class":"I","score":0},{"citation":{"authors":"Lee TH, Marcantonio ER, Mangione CM, et al.","doi":"10.1161/01.CIR.100.10.1043","id":"lee-1999","source":"Circulation. 1999;100(10):1043-1049","title":"Derivation and prospective validation of a simple index for prediction of cardiac risk of major noncardiac surgery"},"components":[{"factor":"high_risk_surgery","points":0,"present":false},{"factor":"ischemic_heart_disease","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"insulin_diabetes","points":0,"present":false},{"factor":"creatinine_gt_2","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":"rcri","formula_expression":"RCRI = high_risk_surgery + ischemic_heart_disease + congestive_heart_failure + cerebrovascular_disease + insulin_diabetes + creatinine_gt_2; each 1; max 6","max_score":6,"rcri_class":"I","score":0}],"path":"/api/calc/rcri"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cerebrovascular_disease":{"description":"History of stroke or TIA (Lee 1999). true or false.","type":"boolean"},"congestive_heart_failure":{"description":"History of heart failure, pulmonary edema, PND, rales, S3, or chest radiograph with vascular redistribution (Lee 1999). true or false.","type":"boolean"},"creatinine_gt_2":{"description":"Preoperative serum creatinine >2.0 mg/dL (Lee 1999). true or false.","type":"boolean"},"high_risk_surgery":{"description":"Intraperitoneal, intrathoracic, or suprainguinal vascular surgery (Lee 1999). true or false.","type":"boolean"},"insulin_diabetes":{"description":"Preoperative insulin therapy for diabetes (Lee 1999). true or false.","type":"boolean"},"ischemic_heart_disease":{"description":"History of myocardial infarction, positive exercise test, current chest pain from ischemia, nitrate use, or Q waves (Lee 1999). true or false.","type":"boolean"}},"required":["high_risk_surgery","ischemic_heart_disease","congestive_heart_failure","cerebrovascular_disease","insulin_diabetes","creatinine_gt_2"],"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":["rcri","preoperative","cardiac-risk","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:02:00.669Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T12:02:00.544Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cerebrovascular_disease":false,"congestive_heart_failure":false,"creatinine_gt_2":false,"high_risk_surgery":false,"insulin_diabetes":false,"ischemic_heart_disease":false},{"cerebrovascular_disease":false,"congestive_heart_failure":false,"creatinine_gt_2":false,"high_risk_surgery":false,"insulin_diabetes":false,"ischemic_heart_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lee TH, Marcantonio ER, Mangione CM, et al.","doi":"10.1161/01.CIR.100.10.1043","id":"lee-1999","source":"Circulation. 1999;100(10):1043-1049","title":"Derivation and prospective validation of a simple index for prediction of cardiac risk of major noncardiac surgery"},"components":[{"factor":"high_risk_surgery","points":0,"present":false},{"factor":"ischemic_heart_disease","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"insulin_diabetes","points":0,"present":false},{"factor":"creatinine_gt_2","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":"rcri","formula_expression":"RCRI = high_risk_surgery + ischemic_heart_disease + congestive_heart_failure + cerebrovascular_disease + insulin_diabetes + creatinine_gt_2; each 1; max 6","max_score":6,"rcri_class":"I","score":0},{"citation":{"authors":"Lee TH, Marcantonio ER, Mangione CM, et al.","doi":"10.1161/01.CIR.100.10.1043","id":"lee-1999","source":"Circulation. 1999;100(10):1043-1049","title":"Derivation and prospective validation of a simple index for prediction of cardiac risk of major noncardiac surgery"},"components":[{"factor":"high_risk_surgery","points":0,"present":false},{"factor":"ischemic_heart_disease","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"insulin_diabetes","points":0,"present":false},{"factor":"creatinine_gt_2","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":"rcri","formula_expression":"RCRI = high_risk_surgery + ischemic_heart_disease + congestive_heart_failure + cerebrovascular_disease + insulin_diabetes + creatinine_gt_2; each 1; max 6","max_score":6,"rcri_class":"I","score":0}],"path":"/api/calc/rcri"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cerebrovascular_disease":{"description":"History of stroke or TIA (Lee 1999). true or false.","type":"boolean"},"congestive_heart_failure":{"description":"History of heart failure, pulmonary edema, PND, rales, S3, or chest radiograph with vascular redistribution (Lee 1999). true or false.","type":"boolean"},"creatinine_gt_2":{"description":"Preoperative serum creatinine >2.0 mg/dL (Lee 1999). true or false.","type":"boolean"},"high_risk_surgery":{"description":"Intraperitoneal, intrathoracic, or suprainguinal vascular surgery (Lee 1999). true or false.","type":"boolean"},"insulin_diabetes":{"description":"Preoperative insulin therapy for diabetes (Lee 1999). true or false.","type":"boolean"},"ischemic_heart_disease":{"description":"History of myocardial infarction, positive exercise test, current chest pain from ischemia, nitrate use, or Q waves (Lee 1999). true or false.","type":"boolean"}},"required":["high_risk_surgery","ischemic_heart_disease","congestive_heart_failure","cerebrovascular_disease","insulin_diabetes","creatinine_gt_2"],"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},{"id":38929,"slug":"38929","resource":"https://api.magentlab.com/api/calc/rasp","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.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"inoculum_type":"fresh_blood","inoculum_volume":"small_small_bore_lt_22g","source_population":"known_hiv_asymptomatic","transmission":"deep_transcutaneous_visible_bleeding"},{"inoculum_type":"fresh_blood","inoculum_volume":"small_small_bore_lt_22g","source_population":"known_hiv_asymptomatic","transmission":"deep_transcutaneous_visible_bleeding"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"basic_risk":0.001,"citation":{"authors":"Vertesi L","doi":"10.1017/S1481803500008113","id":"vertesi-2003","pmid":"12630044","source":"CJEM. 2003;5(1):46-48","title":"Risk Assessment Stratification Protocol (RASP) to help patients decide on the use of postexposure prophylaxis for HIV exposure"},"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":"rasp","formula_expression":"Z = A * B * C; basic_risk = 1/Z; total_risk = basic_risk * D; Vertesi 2003 Figure 1 exclusive A source, B inoculum, C transmission, D volume; 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","inoculum_type":"fresh_blood","inoculum_type_score":1,"inoculum_volume":"small_small_bore_lt_22g","risk_level":"definitely_indicated","risk_one_in":333,"source_population":"known_hiv_asymptomatic","source_score":10,"suggested_treatment":"Definitely indicated","total_risk":0.003,"transmission":"deep_transcutaneous_visible_bleeding","transmission_score":100,"volume_modifier":3,"z":1000},{"basic_risk":0.001,"citation":{"authors":"Vertesi L","doi":"10.1017/S1481803500008113","id":"vertesi-2003","pmid":"12630044","source":"CJEM. 2003;5(1):46-48","title":"Risk Assessment Stratification Protocol (RASP) to help patients decide on the use of postexposure prophylaxis for HIV exposure"},"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":"rasp","formula_expression":"Z = A * B * C; basic_risk = 1/Z; total_risk = basic_risk * D; Vertesi 2003 Figure 1 exclusive A source, B inoculum, C transmission, D volume; 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","inoculum_type":"fresh_blood","inoculum_type_score":1,"inoculum_volume":"small_small_bore_lt_22g","risk_level":"definitely_indicated","risk_one_in":333,"source_population":"known_hiv_asymptomatic","source_score":10,"suggested_treatment":"Definitely indicated","total_risk":0.003,"transmission":"deep_transcutaneous_visible_bleeding","transmission_score":100,"volume_modifier":3,"z":1000}],"path":"/api/calc/rasp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"inoculum_type":{"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.","enum":["fresh_blood","body_fluids_at_risk","dried_old_blood","low_risk_secretions"],"type":"string"},"inoculum_volume":{"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.","enum":["massive_transfusion","measurable_gt_1_ml","moderate_large_bore_gt_22g","small_small_bore_lt_22g","trace_surface"],"type":"string"},"source_population":{"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.","enum":["known_hiv_acute_aids","known_hiv_asymptomatic","unknown_hiv_high_risk","unknown_hiv_low_risk"],"type":"string"},"transmission":{"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.","enum":["intravenous","deep_intramuscular","deep_transcutaneous_visible_bleeding","superficial_transcutaneous_no_bleeding","mucosal_contact","intact_skin"],"type":"string"}},"required":["source_population","inoculum_type","transmission","inoculum_volume"],"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":["rasp","hiv","exposure","needle-stick","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:01:59.721Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T12:01:59.592Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"inoculum_type":"fresh_blood","inoculum_volume":"small_small_bore_lt_22g","source_population":"known_hiv_asymptomatic","transmission":"deep_transcutaneous_visible_bleeding"},{"inoculum_type":"fresh_blood","inoculum_volume":"small_small_bore_lt_22g","source_population":"known_hiv_asymptomatic","transmission":"deep_transcutaneous_visible_bleeding"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"basic_risk":0.001,"citation":{"authors":"Vertesi L","doi":"10.1017/S1481803500008113","id":"vertesi-2003","pmid":"12630044","source":"CJEM. 2003;5(1):46-48","title":"Risk Assessment Stratification Protocol (RASP) to help patients decide on the use of postexposure prophylaxis for HIV exposure"},"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":"rasp","formula_expression":"Z = A * B * C; basic_risk = 1/Z; total_risk = basic_risk * D; Vertesi 2003 Figure 1 exclusive A source, B inoculum, C transmission, D volume; 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","inoculum_type":"fresh_blood","inoculum_type_score":1,"inoculum_volume":"small_small_bore_lt_22g","risk_level":"definitely_indicated","risk_one_in":333,"source_population":"known_hiv_asymptomatic","source_score":10,"suggested_treatment":"Definitely indicated","total_risk":0.003,"transmission":"deep_transcutaneous_visible_bleeding","transmission_score":100,"volume_modifier":3,"z":1000},{"basic_risk":0.001,"citation":{"authors":"Vertesi L","doi":"10.1017/S1481803500008113","id":"vertesi-2003","pmid":"12630044","source":"CJEM. 2003;5(1):46-48","title":"Risk Assessment Stratification Protocol (RASP) to help patients decide on the use of postexposure prophylaxis for HIV exposure"},"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":"rasp","formula_expression":"Z = A * B * C; basic_risk = 1/Z; total_risk = basic_risk * D; Vertesi 2003 Figure 1 exclusive A source, B inoculum, C transmission, D volume; 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","inoculum_type":"fresh_blood","inoculum_type_score":1,"inoculum_volume":"small_small_bore_lt_22g","risk_level":"definitely_indicated","risk_one_in":333,"source_population":"known_hiv_asymptomatic","source_score":10,"suggested_treatment":"Definitely indicated","total_risk":0.003,"transmission":"deep_transcutaneous_visible_bleeding","transmission_score":100,"volume_modifier":3,"z":1000}],"path":"/api/calc/rasp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"inoculum_type":{"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.","enum":["fresh_blood","body_fluids_at_risk","dried_old_blood","low_risk_secretions"],"type":"string"},"inoculum_volume":{"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.","enum":["massive_transfusion","measurable_gt_1_ml","moderate_large_bore_gt_22g","small_small_bore_lt_22g","trace_surface"],"type":"string"},"source_population":{"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.","enum":["known_hiv_acute_aids","known_hiv_asymptomatic","unknown_hiv_high_risk","unknown_hiv_low_risk"],"type":"string"},"transmission":{"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.","enum":["intravenous","deep_intramuscular","deep_transcutaneous_visible_bleeding","superficial_transcutaneous_no_bleeding","mucosal_contact","intact_skin"],"type":"string"}},"required":["source_population","inoculum_type","transmission","inoculum_volume"],"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},{"id":38930,"slug":"38930","resource":"https://api.magentlab.com/api/calc/rapid_hip","description":"Hevesi 2018 hip RAPID: sex (female 0, male 1) + Tonnis 0/1/2 (0, 2, 3 points; grade 3 invalid) + caller-assigned cam (1 if present). Max 5. Bands 0-1 low, 2-3 intermediate, 4-5 high. High-grade (ALAD 3-4) damage percent only at score 0 (10.5) and 5 (88.0). Not Rahman 2014 pleural RAPID. Not a diagnosis or operative plan. magent does not read radiographs or measure alpha angle.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cam_morphology":false,"sex":"female","tonnis_grade":0},{"cam_morphology":false,"sex":"female","tonnis_grade":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cam_morphology":false,"citation":{"authors":"Hevesi M, Hartigan DE, Wu IT, et al.","doi":"10.1177/2325967118799068","id":"hevesi-2018","pmid":"30302348","source":"Orthop J Sports Med. 2018;6(10):2325967118799068","title":"The Rapidly Assessed Predictor of Intraoperative Damage (RAPID) Score: An In-Clinic Predictive Model for High-Grade Acetabular Chondrolabral Disruption"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"tonnis_grade","points":0,"present":false,"value":0},{"factor":"cam_morphology","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":"rapid_hip","formula_expression":"RAPID = sex_points + tonnis_points + cam_points; female 0 male 1; Tonnis 0=0, 1=2, 2=3; cam present 1; max 5; bands 0-1 low, 2-3 intermediate, 4-5 high (Hevesi 2018 Table 3 / Figure 2)","high_grade_damage_percent":10.5,"max_score":5,"risk_band":"low","score":0,"sex":"female","tonnis_grade":0},{"cam_morphology":false,"citation":{"authors":"Hevesi M, Hartigan DE, Wu IT, et al.","doi":"10.1177/2325967118799068","id":"hevesi-2018","pmid":"30302348","source":"Orthop J Sports Med. 2018;6(10):2325967118799068","title":"The Rapidly Assessed Predictor of Intraoperative Damage (RAPID) Score: An In-Clinic Predictive Model for High-Grade Acetabular Chondrolabral Disruption"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"tonnis_grade","points":0,"present":false,"value":0},{"factor":"cam_morphology","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":"rapid_hip","formula_expression":"RAPID = sex_points + tonnis_points + cam_points; female 0 male 1; Tonnis 0=0, 1=2, 2=3; cam present 1; max 5; bands 0-1 low, 2-3 intermediate, 4-5 high (Hevesi 2018 Table 3 / Figure 2)","high_grade_damage_percent":10.5,"max_score":5,"risk_band":"low","score":0,"sex":"female","tonnis_grade":0}],"path":"/api/calc/rapid_hip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cam_morphology":{"description":"Caller-assigned cam morphology. true scores 1; false scores 0. Paper univariate used alpha angle >55°; magent does not measure alpha angle. true or false.","type":"boolean"},"sex":{"description":"female or male (Hevesi 2018 Table 3). Male scores 1; female scores 0.","enum":["female","male"],"type":"string"},"tonnis_grade":{"description":"Caller-assigned Tonnis osteoarthritis grade 0, 1, or 2 (Hevesi 2018 Table 3). Grade 0 scores 0; grade 1 scores 2; grade 2 scores 3. Grade 3 is invalid (the derivation had no grade 3). magent does not read radiographs.","type":"integer"}},"required":["sex","tonnis_grade","cam_morphology"],"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":["rapid-hip","hip-arthroscopy","acetabular","fai","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:01:58.772Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T12:01:58.608Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cam_morphology":false,"sex":"female","tonnis_grade":0},{"cam_morphology":false,"sex":"female","tonnis_grade":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cam_morphology":false,"citation":{"authors":"Hevesi M, Hartigan DE, Wu IT, et al.","doi":"10.1177/2325967118799068","id":"hevesi-2018","pmid":"30302348","source":"Orthop J Sports Med. 2018;6(10):2325967118799068","title":"The Rapidly Assessed Predictor of Intraoperative Damage (RAPID) Score: An In-Clinic Predictive Model for High-Grade Acetabular Chondrolabral Disruption"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"tonnis_grade","points":0,"present":false,"value":0},{"factor":"cam_morphology","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":"rapid_hip","formula_expression":"RAPID = sex_points + tonnis_points + cam_points; female 0 male 1; Tonnis 0=0, 1=2, 2=3; cam present 1; max 5; bands 0-1 low, 2-3 intermediate, 4-5 high (Hevesi 2018 Table 3 / Figure 2)","high_grade_damage_percent":10.5,"max_score":5,"risk_band":"low","score":0,"sex":"female","tonnis_grade":0},{"cam_morphology":false,"citation":{"authors":"Hevesi M, Hartigan DE, Wu IT, et al.","doi":"10.1177/2325967118799068","id":"hevesi-2018","pmid":"30302348","source":"Orthop J Sports Med. 2018;6(10):2325967118799068","title":"The Rapidly Assessed Predictor of Intraoperative Damage (RAPID) Score: An In-Clinic Predictive Model for High-Grade Acetabular Chondrolabral Disruption"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"tonnis_grade","points":0,"present":false,"value":0},{"factor":"cam_morphology","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":"rapid_hip","formula_expression":"RAPID = sex_points + tonnis_points + cam_points; female 0 male 1; Tonnis 0=0, 1=2, 2=3; cam present 1; max 5; bands 0-1 low, 2-3 intermediate, 4-5 high (Hevesi 2018 Table 3 / Figure 2)","high_grade_damage_percent":10.5,"max_score":5,"risk_band":"low","score":0,"sex":"female","tonnis_grade":0}],"path":"/api/calc/rapid_hip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cam_morphology":{"description":"Caller-assigned cam morphology. true scores 1; false scores 0. Paper univariate used alpha angle >55°; magent does not measure alpha angle. true or false.","type":"boolean"},"sex":{"description":"female or male (Hevesi 2018 Table 3). Male scores 1; female scores 0.","enum":["female","male"],"type":"string"},"tonnis_grade":{"description":"Caller-assigned Tonnis osteoarthritis grade 0, 1, or 2 (Hevesi 2018 Table 3). Grade 0 scores 0; grade 1 scores 2; grade 2 scores 3. Grade 3 is invalid (the derivation had no grade 3). magent does not read radiographs.","type":"integer"}},"required":["sex","tonnis_grade","cam_morphology"],"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},{"id":38931,"slug":"38931","resource":"https://api.magentlab.com/api/calc/ranson","description":"Ranson 1974 pancreatitis score from eleven published signs (five at admission, six at 48 hours) as boolean flags. Returns points 0-11 and mortality band 0-2 / 3-4 / 5-6 / 7-11. Deterministic published arithmetic with citation; not an ICU order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_gt_55":false,"ast_gt_250":false,"base_deficit_gt_4":false,"bun_rise_gt_5":false,"calcium_lt_8":false,"fluid_seq_gt_6l":false,"glucose_gt_200":false,"hct_drop_gt_10":false,"ldh_gt_350":false,"pao2_lt_60":false,"wbc_gt_16k":false},{"age_gt_55":false,"ast_gt_250":false,"base_deficit_gt_4":false,"bun_rise_gt_5":false,"calcium_lt_8":false,"fluid_seq_gt_6l":false,"glucose_gt_200":false,"hct_drop_gt_10":false,"ldh_gt_350":false,"pao2_lt_60":false,"wbc_gt_16k":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ranson JH, Rifkind KM, Roses DF, Fink SD, Eng K, Spencer FC","id":"ranson-1974","pmid":"4834279","source":"Surg Gynecol Obstet. 1974;139(1):69-81","title":"Prognostic signs and the role of operative management in acute pancreatitis"},"components":[{"factor":"age_gt_55","points":0,"present":false},{"factor":"wbc_gt_16k","points":0,"present":false},{"factor":"glucose_gt_200","points":0,"present":false},{"factor":"ldh_gt_350","points":0,"present":false},{"factor":"ast_gt_250","points":0,"present":false},{"factor":"hct_drop_gt_10","points":0,"present":false},{"factor":"bun_rise_gt_5","points":0,"present":false},{"factor":"calcium_lt_8","points":0,"present":false},{"factor":"pao2_lt_60","points":0,"present":false},{"factor":"base_deficit_gt_4","points":0,"present":false},{"factor":"fluid_seq_gt_6l","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":"ranson","formula_expression":"Ranson = 5 admission signs + 6 signs during first 48 h; each 1 if present; max 11","max_score":11,"mortality_band":"0-2","score":0},{"citation":{"authors":"Ranson JH, Rifkind KM, Roses DF, Fink SD, Eng K, Spencer FC","id":"ranson-1974","pmid":"4834279","source":"Surg Gynecol Obstet. 1974;139(1):69-81","title":"Prognostic signs and the role of operative management in acute pancreatitis"},"components":[{"factor":"age_gt_55","points":0,"present":false},{"factor":"wbc_gt_16k","points":0,"present":false},{"factor":"glucose_gt_200","points":0,"present":false},{"factor":"ldh_gt_350","points":0,"present":false},{"factor":"ast_gt_250","points":0,"present":false},{"factor":"hct_drop_gt_10","points":0,"present":false},{"factor":"bun_rise_gt_5","points":0,"present":false},{"factor":"calcium_lt_8","points":0,"present":false},{"factor":"pao2_lt_60","points":0,"present":false},{"factor":"base_deficit_gt_4","points":0,"present":false},{"factor":"fluid_seq_gt_6l","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":"ranson","formula_expression":"Ranson = 5 admission signs + 6 signs during first 48 h; each 1 if present; max 11","max_score":11,"mortality_band":"0-2","score":0}],"path":"/api/calc/ranson"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_55":{"description":"Admission: age >55 years (Ranson 1974). true or false.","type":"boolean"},"ast_gt_250":{"description":"Admission: AST >250 U/L. true or false.","type":"boolean"},"base_deficit_gt_4":{"description":"First 48 h: base deficit >4 mEq/L. true or false.","type":"boolean"},"bun_rise_gt_5":{"description":"First 48 h: BUN rise >5 mg/dL. true or false.","type":"boolean"},"calcium_lt_8":{"description":"First 48 h: serum calcium <8 mg/dL. true or false.","type":"boolean"},"fluid_seq_gt_6l":{"description":"First 48 h: estimated fluid sequestration >6 L. true or false.","type":"boolean"},"glucose_gt_200":{"description":"Admission: blood glucose >200 mg/dL. true or false.","type":"boolean"},"hct_drop_gt_10":{"description":"First 48 h: hematocrit fall >10 percentage points. true or false.","type":"boolean"},"ldh_gt_350":{"description":"Admission: LDH >350 IU/L. true or false.","type":"boolean"},"pao2_lt_60":{"description":"First 48 h: arterial PaO2 <60 mm Hg. true or false.","type":"boolean"},"wbc_gt_16k":{"description":"Admission: WBC >16 000/mm^3. true or false.","type":"boolean"}},"required":["age_gt_55","wbc_gt_16k","glucose_gt_200","ldh_gt_350","ast_gt_250","hct_drop_gt_10","bun_rise_gt_5","calcium_lt_8","pao2_lt_60","base_deficit_gt_4","fluid_seq_gt_6l"],"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":["ranson","pancreatitis","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:56:47.386Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:56:47.284Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_gt_55":false,"ast_gt_250":false,"base_deficit_gt_4":false,"bun_rise_gt_5":false,"calcium_lt_8":false,"fluid_seq_gt_6l":false,"glucose_gt_200":false,"hct_drop_gt_10":false,"ldh_gt_350":false,"pao2_lt_60":false,"wbc_gt_16k":false},{"age_gt_55":false,"ast_gt_250":false,"base_deficit_gt_4":false,"bun_rise_gt_5":false,"calcium_lt_8":false,"fluid_seq_gt_6l":false,"glucose_gt_200":false,"hct_drop_gt_10":false,"ldh_gt_350":false,"pao2_lt_60":false,"wbc_gt_16k":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ranson JH, Rifkind KM, Roses DF, Fink SD, Eng K, Spencer FC","id":"ranson-1974","pmid":"4834279","source":"Surg Gynecol Obstet. 1974;139(1):69-81","title":"Prognostic signs and the role of operative management in acute pancreatitis"},"components":[{"factor":"age_gt_55","points":0,"present":false},{"factor":"wbc_gt_16k","points":0,"present":false},{"factor":"glucose_gt_200","points":0,"present":false},{"factor":"ldh_gt_350","points":0,"present":false},{"factor":"ast_gt_250","points":0,"present":false},{"factor":"hct_drop_gt_10","points":0,"present":false},{"factor":"bun_rise_gt_5","points":0,"present":false},{"factor":"calcium_lt_8","points":0,"present":false},{"factor":"pao2_lt_60","points":0,"present":false},{"factor":"base_deficit_gt_4","points":0,"present":false},{"factor":"fluid_seq_gt_6l","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":"ranson","formula_expression":"Ranson = 5 admission signs + 6 signs during first 48 h; each 1 if present; max 11","max_score":11,"mortality_band":"0-2","score":0},{"citation":{"authors":"Ranson JH, Rifkind KM, Roses DF, Fink SD, Eng K, Spencer FC","id":"ranson-1974","pmid":"4834279","source":"Surg Gynecol Obstet. 1974;139(1):69-81","title":"Prognostic signs and the role of operative management in acute pancreatitis"},"components":[{"factor":"age_gt_55","points":0,"present":false},{"factor":"wbc_gt_16k","points":0,"present":false},{"factor":"glucose_gt_200","points":0,"present":false},{"factor":"ldh_gt_350","points":0,"present":false},{"factor":"ast_gt_250","points":0,"present":false},{"factor":"hct_drop_gt_10","points":0,"present":false},{"factor":"bun_rise_gt_5","points":0,"present":false},{"factor":"calcium_lt_8","points":0,"present":false},{"factor":"pao2_lt_60","points":0,"present":false},{"factor":"base_deficit_gt_4","points":0,"present":false},{"factor":"fluid_seq_gt_6l","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":"ranson","formula_expression":"Ranson = 5 admission signs + 6 signs during first 48 h; each 1 if present; max 11","max_score":11,"mortality_band":"0-2","score":0}],"path":"/api/calc/ranson"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_55":{"description":"Admission: age >55 years (Ranson 1974). true or false.","type":"boolean"},"ast_gt_250":{"description":"Admission: AST >250 U/L. true or false.","type":"boolean"},"base_deficit_gt_4":{"description":"First 48 h: base deficit >4 mEq/L. true or false.","type":"boolean"},"bun_rise_gt_5":{"description":"First 48 h: BUN rise >5 mg/dL. true or false.","type":"boolean"},"calcium_lt_8":{"description":"First 48 h: serum calcium <8 mg/dL. true or false.","type":"boolean"},"fluid_seq_gt_6l":{"description":"First 48 h: estimated fluid sequestration >6 L. true or false.","type":"boolean"},"glucose_gt_200":{"description":"Admission: blood glucose >200 mg/dL. true or false.","type":"boolean"},"hct_drop_gt_10":{"description":"First 48 h: hematocrit fall >10 percentage points. true or false.","type":"boolean"},"ldh_gt_350":{"description":"Admission: LDH >350 IU/L. true or false.","type":"boolean"},"pao2_lt_60":{"description":"First 48 h: arterial PaO2 <60 mm Hg. true or false.","type":"boolean"},"wbc_gt_16k":{"description":"Admission: WBC >16 000/mm^3. true or false.","type":"boolean"}},"required":["age_gt_55","wbc_gt_16k","glucose_gt_200","ldh_gt_350","ast_gt_250","hct_drop_gt_10","bun_rise_gt_5","calcium_lt_8","pao2_lt_60","base_deficit_gt_4","fluid_seq_gt_6l"],"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},{"id":38932,"slug":"38932","resource":"https://api.magentlab.com/api/calc/rads","description":"Oh 2012 radiologist's score (RADS) on one 1-cm axial chest CT slice. Four quadrants (not eight). Each quadrant worst finding: normal 0, interstitial 1, ground_glass 2, consolidation 3. Score 0-12; high when score > 8. Caller-assigned findings only; magent does not interpret CT. Not a diagnosis of inhalation injury. Not a bronchoscopy substitute. Not Endorf AIS inhalation grade. Not Yamamura bronchial wall thickness.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"q1":"normal","q2":"normal","q3":"normal","q4":"normal"},{"q1":"normal","q2":"normal","q3":"normal","q4":"normal"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Oh JS, Chung KK, Allen A, Batchinsky AI, Huzar T, King BT, et al.","doi":"10.1097/BCR.0b013e318237455f","id":"oh-2012","pmid":"22210063","source":"J Burn Care Res. 2012;33(4):532-538","title":"Admission Chest CT Complements Fiberoptic Bronchoscopy in Prediction of Adverse Outcomes in Thermally Injured Patients"},"components":[{"factor":"q1","points":0,"present":false,"value":"normal"},{"factor":"q2","points":0,"present":false,"value":"normal"},{"factor":"q3","points":0,"present":false,"value":"normal"},{"factor":"q4","points":0,"present":false,"value":"normal"}],"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":"rads","formula_expression":"RADS = q1 + q2 + q3 + q4; each quadrant worst finding on one 1-cm axial CT slice (Oh 2012 radiologist's score as reprinted in Dries/Walker 2015 Table 2): normal 0, interstitial (increased interstitial markings) 1, ground_glass 2, consolidation 3; four quadrants (not eight); range 0-12; high iff score > 8 per slice","high":false,"max_score":12,"q1":"normal","q2":"normal","q3":"normal","q4":"normal","score":0},{"citation":{"authors":"Oh JS, Chung KK, Allen A, Batchinsky AI, Huzar T, King BT, et al.","doi":"10.1097/BCR.0b013e318237455f","id":"oh-2012","pmid":"22210063","source":"J Burn Care Res. 2012;33(4):532-538","title":"Admission Chest CT Complements Fiberoptic Bronchoscopy in Prediction of Adverse Outcomes in Thermally Injured Patients"},"components":[{"factor":"q1","points":0,"present":false,"value":"normal"},{"factor":"q2","points":0,"present":false,"value":"normal"},{"factor":"q3","points":0,"present":false,"value":"normal"},{"factor":"q4","points":0,"present":false,"value":"normal"}],"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":"rads","formula_expression":"RADS = q1 + q2 + q3 + q4; each quadrant worst finding on one 1-cm axial CT slice (Oh 2012 radiologist's score as reprinted in Dries/Walker 2015 Table 2): normal 0, interstitial (increased interstitial markings) 1, ground_glass 2, consolidation 3; four quadrants (not eight); range 0-12; high iff score > 8 per slice","high":false,"max_score":12,"q1":"normal","q2":"normal","q3":"normal","q4":"normal","score":0}],"path":"/api/calc/rads"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"q1":{"description":"Caller-assigned worst finding in that quadrant on one 1-cm axial chest CT slice (Oh 2012 radiologist's score; four quadrants, not eight): normal (0), interstitial / increased interstitial markings (1), ground_glass (2), or consolidation (3). magent does not interpret CT.","enum":["normal","interstitial","ground_glass","consolidation"],"type":"string"},"q2":{"description":"Caller-assigned worst finding in that quadrant on one 1-cm axial chest CT slice (Oh 2012 radiologist's score; four quadrants, not eight): normal (0), interstitial / increased interstitial markings (1), ground_glass (2), or consolidation (3). magent does not interpret CT.","enum":["normal","interstitial","ground_glass","consolidation"],"type":"string"},"q3":{"description":"Caller-assigned worst finding in that quadrant on one 1-cm axial chest CT slice (Oh 2012 radiologist's score; four quadrants, not eight): normal (0), interstitial / increased interstitial markings (1), ground_glass (2), or consolidation (3). magent does not interpret CT.","enum":["normal","interstitial","ground_glass","consolidation"],"type":"string"},"q4":{"description":"Caller-assigned worst finding in that quadrant on one 1-cm axial chest CT slice (Oh 2012 radiologist's score; four quadrants, not eight): normal (0), interstitial / increased interstitial markings (1), ground_glass (2), or consolidation (3). magent does not interpret CT.","enum":["normal","interstitial","ground_glass","consolidation"],"type":"string"}},"required":["q1","q2","q3","q4"],"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":["rads","chest-ct","inhalation","burns","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:56:46.637Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:56:46.493Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"q1":"normal","q2":"normal","q3":"normal","q4":"normal"},{"q1":"normal","q2":"normal","q3":"normal","q4":"normal"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Oh JS, Chung KK, Allen A, Batchinsky AI, Huzar T, King BT, et al.","doi":"10.1097/BCR.0b013e318237455f","id":"oh-2012","pmid":"22210063","source":"J Burn Care Res. 2012;33(4):532-538","title":"Admission Chest CT Complements Fiberoptic Bronchoscopy in Prediction of Adverse Outcomes in Thermally Injured Patients"},"components":[{"factor":"q1","points":0,"present":false,"value":"normal"},{"factor":"q2","points":0,"present":false,"value":"normal"},{"factor":"q3","points":0,"present":false,"value":"normal"},{"factor":"q4","points":0,"present":false,"value":"normal"}],"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":"rads","formula_expression":"RADS = q1 + q2 + q3 + q4; each quadrant worst finding on one 1-cm axial CT slice (Oh 2012 radiologist's score as reprinted in Dries/Walker 2015 Table 2): normal 0, interstitial (increased interstitial markings) 1, ground_glass 2, consolidation 3; four quadrants (not eight); range 0-12; high iff score > 8 per slice","high":false,"max_score":12,"q1":"normal","q2":"normal","q3":"normal","q4":"normal","score":0},{"citation":{"authors":"Oh JS, Chung KK, Allen A, Batchinsky AI, Huzar T, King BT, et al.","doi":"10.1097/BCR.0b013e318237455f","id":"oh-2012","pmid":"22210063","source":"J Burn Care Res. 2012;33(4):532-538","title":"Admission Chest CT Complements Fiberoptic Bronchoscopy in Prediction of Adverse Outcomes in Thermally Injured Patients"},"components":[{"factor":"q1","points":0,"present":false,"value":"normal"},{"factor":"q2","points":0,"present":false,"value":"normal"},{"factor":"q3","points":0,"present":false,"value":"normal"},{"factor":"q4","points":0,"present":false,"value":"normal"}],"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":"rads","formula_expression":"RADS = q1 + q2 + q3 + q4; each quadrant worst finding on one 1-cm axial CT slice (Oh 2012 radiologist's score as reprinted in Dries/Walker 2015 Table 2): normal 0, interstitial (increased interstitial markings) 1, ground_glass 2, consolidation 3; four quadrants (not eight); range 0-12; high iff score > 8 per slice","high":false,"max_score":12,"q1":"normal","q2":"normal","q3":"normal","q4":"normal","score":0}],"path":"/api/calc/rads"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"q1":{"description":"Caller-assigned worst finding in that quadrant on one 1-cm axial chest CT slice (Oh 2012 radiologist's score; four quadrants, not eight): normal (0), interstitial / increased interstitial markings (1), ground_glass (2), or consolidation (3). magent does not interpret CT.","enum":["normal","interstitial","ground_glass","consolidation"],"type":"string"},"q2":{"description":"Caller-assigned worst finding in that quadrant on one 1-cm axial chest CT slice (Oh 2012 radiologist's score; four quadrants, not eight): normal (0), interstitial / increased interstitial markings (1), ground_glass (2), or consolidation (3). magent does not interpret CT.","enum":["normal","interstitial","ground_glass","consolidation"],"type":"string"},"q3":{"description":"Caller-assigned worst finding in that quadrant on one 1-cm axial chest CT slice (Oh 2012 radiologist's score; four quadrants, not eight): normal (0), interstitial / increased interstitial markings (1), ground_glass (2), or consolidation (3). magent does not interpret CT.","enum":["normal","interstitial","ground_glass","consolidation"],"type":"string"},"q4":{"description":"Caller-assigned worst finding in that quadrant on one 1-cm axial chest CT slice (Oh 2012 radiologist's score; four quadrants, not eight): normal (0), interstitial / increased interstitial markings (1), ground_glass (2), or consolidation (3). magent does not interpret CT.","enum":["normal","interstitial","ground_glass","consolidation"],"type":"string"}},"required":["q1","q2","q3","q4"],"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},{"id":38933,"slug":"38933","resource":"https://api.magentlab.com/api/calc/race","description":"Pérez de la Ossa 2014 Rapid Arterial oCclusion Evaluation (RACE) scale: facial_palsy 0 absent / 1 mild / 2 moderate to severe + arm_motor 0 normal to mild / 1 moderate / 2 severe + leg_motor same + gaze_deviation 0 absent / 1 present + cortical 0-2 (aphasia if right hemiparesis; agnosia if left). Max 9. lvo_suggested true iff score ≥5. Not a stroke diagnosis or transfer order and not a race-based equation. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"arm_motor":0,"cortical":0,"facial_palsy":0,"gaze_deviation":0,"hemiparesis_side":"right","leg_motor":0},{"arm_motor":0,"cortical":0,"facial_palsy":0,"gaze_deviation":0,"hemiparesis_side":"right","leg_motor":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arm_motor":0,"citation":{"authors":"Pérez de la Ossa N, Carrera D, Gorchs M, Querol M, Millán M, Gomis M, Dorado L, López-Cancio E, Hernández-Pérez M, Chicharro V, Escalada X, Jiménez X, Dávalos A","doi":"10.1161/STROKEAHA.113.003071","id":"perez-de-la-ossa-2014","pmid":"24253548","source":"Stroke. 2014;45(1):87-91","title":"Design and validation of a prehospital stroke scale to predict large arterial occlusion: the Rapid Arterial oCclusion Evaluation scale"},"components":[{"factor":"facial_palsy","points":0,"present":false,"value":0},{"factor":"arm_motor","points":0,"present":false,"value":0},{"factor":"leg_motor","points":0,"present":false,"value":0},{"factor":"gaze_deviation","points":0,"present":false,"value":0},{"factor":"cortical","points":0,"present":false,"value":0}],"cortical":0,"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.","facial_palsy":0,"formula":"race","formula_expression":"RACE = facial_palsy (0 absent, 1 mild, 2 moderate to severe) + arm_motor (0 normal to mild, 1 moderate, 2 severe) + leg_motor (0 normal to mild, 1 moderate, 2 severe) + gaze_deviation (0 absent, 1 present) + cortical (0–2; aphasia if right hemiparesis, agnosia if left); Pérez de la Ossa 2014 Table 1; max 9; lvo_suggested if score ≥ 5","gaze_deviation":0,"hemiparesis_side":"right","leg_motor":0,"lvo_suggested":false,"max_score":9,"score":0},{"arm_motor":0,"citation":{"authors":"Pérez de la Ossa N, Carrera D, Gorchs M, Querol M, Millán M, Gomis M, Dorado L, López-Cancio E, Hernández-Pérez M, Chicharro V, Escalada X, Jiménez X, Dávalos A","doi":"10.1161/STROKEAHA.113.003071","id":"perez-de-la-ossa-2014","pmid":"24253548","source":"Stroke. 2014;45(1):87-91","title":"Design and validation of a prehospital stroke scale to predict large arterial occlusion: the Rapid Arterial oCclusion Evaluation scale"},"components":[{"factor":"facial_palsy","points":0,"present":false,"value":0},{"factor":"arm_motor","points":0,"present":false,"value":0},{"factor":"leg_motor","points":0,"present":false,"value":0},{"factor":"gaze_deviation","points":0,"present":false,"value":0},{"factor":"cortical","points":0,"present":false,"value":0}],"cortical":0,"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.","facial_palsy":0,"formula":"race","formula_expression":"RACE = facial_palsy (0 absent, 1 mild, 2 moderate to severe) + arm_motor (0 normal to mild, 1 moderate, 2 severe) + leg_motor (0 normal to mild, 1 moderate, 2 severe) + gaze_deviation (0 absent, 1 present) + cortical (0–2; aphasia if right hemiparesis, agnosia if left); Pérez de la Ossa 2014 Table 1; max 9; lvo_suggested if score ≥ 5","gaze_deviation":0,"hemiparesis_side":"right","leg_motor":0,"lvo_suggested":false,"max_score":9,"score":0}],"path":"/api/calc/race"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arm_motor":{"description":"Caller-assigned Pérez de la Ossa 2014 RACE arm motor (integer 0-2): 0 normal to mild, 1 moderate, 2 severe. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"cortical":{"description":"Caller-assigned Pérez de la Ossa 2014 cortical points (integer 0-2). Right hemiparesis: aphasia, close eyes and make a fist (0 both, 1 one, 2 neither). Left hemiparesis: agnosia, recognizes arm and impairment (0 both, 1 one, 2 neither). magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"facial_palsy":{"description":"Caller-assigned Pérez de la Ossa 2014 RACE facial palsy (integer 0-2): 0 absent, 1 mild, 2 moderate to severe. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"gaze_deviation":{"description":"Caller-assigned Pérez de la Ossa 2014 RACE head and gaze deviation (integer 0-1): 0 absent, 1 present. magent does not examine the patient.","enum":[0,1],"type":"integer"},"hemiparesis_side":{"description":"Caller-assigned hemiparesis side (right or left). Right scores cortical as aphasia (close eyes / make a fist). Left scores cortical as agnosia (recognizes arm and impairment). magent does not examine the patient.","enum":["right","left"],"type":"string"},"leg_motor":{"description":"Caller-assigned Pérez de la Ossa 2014 RACE leg motor (integer 0-2): 0 normal to mild, 1 moderate, 2 severe. magent does not examine the patient.","enum":[0,1,2],"type":"integer"}},"required":["facial_palsy","arm_motor","leg_motor","gaze_deviation","hemiparesis_side","cortical"],"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":["race-scale","stroke","lvo","prehospital","neurology","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:56:45.652Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:56:45.321Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"arm_motor":0,"cortical":0,"facial_palsy":0,"gaze_deviation":0,"hemiparesis_side":"right","leg_motor":0},{"arm_motor":0,"cortical":0,"facial_palsy":0,"gaze_deviation":0,"hemiparesis_side":"right","leg_motor":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arm_motor":0,"citation":{"authors":"Pérez de la Ossa N, Carrera D, Gorchs M, Querol M, Millán M, Gomis M, Dorado L, López-Cancio E, Hernández-Pérez M, Chicharro V, Escalada X, Jiménez X, Dávalos A","doi":"10.1161/STROKEAHA.113.003071","id":"perez-de-la-ossa-2014","pmid":"24253548","source":"Stroke. 2014;45(1):87-91","title":"Design and validation of a prehospital stroke scale to predict large arterial occlusion: the Rapid Arterial oCclusion Evaluation scale"},"components":[{"factor":"facial_palsy","points":0,"present":false,"value":0},{"factor":"arm_motor","points":0,"present":false,"value":0},{"factor":"leg_motor","points":0,"present":false,"value":0},{"factor":"gaze_deviation","points":0,"present":false,"value":0},{"factor":"cortical","points":0,"present":false,"value":0}],"cortical":0,"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.","facial_palsy":0,"formula":"race","formula_expression":"RACE = facial_palsy (0 absent, 1 mild, 2 moderate to severe) + arm_motor (0 normal to mild, 1 moderate, 2 severe) + leg_motor (0 normal to mild, 1 moderate, 2 severe) + gaze_deviation (0 absent, 1 present) + cortical (0–2; aphasia if right hemiparesis, agnosia if left); Pérez de la Ossa 2014 Table 1; max 9; lvo_suggested if score ≥ 5","gaze_deviation":0,"hemiparesis_side":"right","leg_motor":0,"lvo_suggested":false,"max_score":9,"score":0},{"arm_motor":0,"citation":{"authors":"Pérez de la Ossa N, Carrera D, Gorchs M, Querol M, Millán M, Gomis M, Dorado L, López-Cancio E, Hernández-Pérez M, Chicharro V, Escalada X, Jiménez X, Dávalos A","doi":"10.1161/STROKEAHA.113.003071","id":"perez-de-la-ossa-2014","pmid":"24253548","source":"Stroke. 2014;45(1):87-91","title":"Design and validation of a prehospital stroke scale to predict large arterial occlusion: the Rapid Arterial oCclusion Evaluation scale"},"components":[{"factor":"facial_palsy","points":0,"present":false,"value":0},{"factor":"arm_motor","points":0,"present":false,"value":0},{"factor":"leg_motor","points":0,"present":false,"value":0},{"factor":"gaze_deviation","points":0,"present":false,"value":0},{"factor":"cortical","points":0,"present":false,"value":0}],"cortical":0,"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.","facial_palsy":0,"formula":"race","formula_expression":"RACE = facial_palsy (0 absent, 1 mild, 2 moderate to severe) + arm_motor (0 normal to mild, 1 moderate, 2 severe) + leg_motor (0 normal to mild, 1 moderate, 2 severe) + gaze_deviation (0 absent, 1 present) + cortical (0–2; aphasia if right hemiparesis, agnosia if left); Pérez de la Ossa 2014 Table 1; max 9; lvo_suggested if score ≥ 5","gaze_deviation":0,"hemiparesis_side":"right","leg_motor":0,"lvo_suggested":false,"max_score":9,"score":0}],"path":"/api/calc/race"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arm_motor":{"description":"Caller-assigned Pérez de la Ossa 2014 RACE arm motor (integer 0-2): 0 normal to mild, 1 moderate, 2 severe. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"cortical":{"description":"Caller-assigned Pérez de la Ossa 2014 cortical points (integer 0-2). Right hemiparesis: aphasia, close eyes and make a fist (0 both, 1 one, 2 neither). Left hemiparesis: agnosia, recognizes arm and impairment (0 both, 1 one, 2 neither). magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"facial_palsy":{"description":"Caller-assigned Pérez de la Ossa 2014 RACE facial palsy (integer 0-2): 0 absent, 1 mild, 2 moderate to severe. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"gaze_deviation":{"description":"Caller-assigned Pérez de la Ossa 2014 RACE head and gaze deviation (integer 0-1): 0 absent, 1 present. magent does not examine the patient.","enum":[0,1],"type":"integer"},"hemiparesis_side":{"description":"Caller-assigned hemiparesis side (right or left). Right scores cortical as aphasia (close eyes / make a fist). Left scores cortical as agnosia (recognizes arm and impairment). magent does not examine the patient.","enum":["right","left"],"type":"string"},"leg_motor":{"description":"Caller-assigned Pérez de la Ossa 2014 RACE leg motor (integer 0-2): 0 normal to mild, 1 moderate, 2 severe. magent does not examine the patient.","enum":[0,1,2],"type":"integer"}},"required":["facial_palsy","arm_motor","leg_motor","gaze_deviation","hemiparesis_side","cortical"],"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},{"id":38934,"slug":"38934","resource":"https://api.magentlab.com/api/calc/r_factor","description":"CIOMS R factor from ALT, ALP, and laboratory ULNs (Bénichou 1990). R = (ALT/ALT_ULN)/(ALP/ALP_ULN), rounded to 1 decimal, then hepatocellular (R ≥ 5), cholestatic (R ≤ 2), or mixed (2 < R < 5). Deterministic published arithmetic with citation. Not a medical device, not a DILI diagnosis or RUCAM score; magent does not assay enzymes. R is the enzyme pattern only.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"alp_u_l":100,"alp_uln_u_l":100,"alt_u_l":200,"alt_uln_u_l":40},{"alp_u_l":100,"alp_uln_u_l":100,"alt_u_l":200,"alt_uln_u_l":40}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alp_u_l":100,"alp_uln_u_l":100,"alt_u_l":200,"alt_uln_u_l":40,"citation":{"authors":"Bénichou C","doi":"10.1016/0168-8278(90)90124-A","id":"benichou-1990","pmid":"2254635","source":"J Hepatol. 1990;11(2):272-276","title":"Criteria of drug-induced liver disorders. Report of an international consensus meeting"},"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":"r_factor","formula_expression":"R = (ALT / ALT_ULN) / (ALP / ALP_ULN)","pattern":"hepatocellular","r_ratio":5},{"alp_u_l":100,"alp_uln_u_l":100,"alt_u_l":200,"alt_uln_u_l":40,"citation":{"authors":"Bénichou C","doi":"10.1016/0168-8278(90)90124-A","id":"benichou-1990","pmid":"2254635","source":"J Hepatol. 1990;11(2):272-276","title":"Criteria of drug-induced liver disorders. Report of an international consensus meeting"},"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":"r_factor","formula_expression":"R = (ALT / ALT_ULN) / (ALP / ALP_ULN)","pattern":"hepatocellular","r_ratio":5}],"path":"/api/calc/r_factor"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alp_u_l":{"description":"Alkaline phosphatase in U/L (1-10000). Must be greater than 0.","type":"number"},"alp_uln_u_l":{"description":"Laboratory ALP upper limit of normal in U/L (20-500). Required; must be greater than 0.","type":"number"},"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000).","type":"number"},"alt_uln_u_l":{"description":"Laboratory ALT upper limit of normal in U/L (5-200). Required; magent does not assume 40.","type":"number"}},"required":["alt_u_l","alp_u_l","alt_uln_u_l","alp_uln_u_l"],"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":["r-factor","liver","dili","cholestatic","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:52:14.955Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:52:14.834Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alp_u_l":100,"alp_uln_u_l":100,"alt_u_l":200,"alt_uln_u_l":40},{"alp_u_l":100,"alp_uln_u_l":100,"alt_u_l":200,"alt_uln_u_l":40}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alp_u_l":100,"alp_uln_u_l":100,"alt_u_l":200,"alt_uln_u_l":40,"citation":{"authors":"Bénichou C","doi":"10.1016/0168-8278(90)90124-A","id":"benichou-1990","pmid":"2254635","source":"J Hepatol. 1990;11(2):272-276","title":"Criteria of drug-induced liver disorders. Report of an international consensus meeting"},"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":"r_factor","formula_expression":"R = (ALT / ALT_ULN) / (ALP / ALP_ULN)","pattern":"hepatocellular","r_ratio":5},{"alp_u_l":100,"alp_uln_u_l":100,"alt_u_l":200,"alt_uln_u_l":40,"citation":{"authors":"Bénichou C","doi":"10.1016/0168-8278(90)90124-A","id":"benichou-1990","pmid":"2254635","source":"J Hepatol. 1990;11(2):272-276","title":"Criteria of drug-induced liver disorders. Report of an international consensus meeting"},"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":"r_factor","formula_expression":"R = (ALT / ALT_ULN) / (ALP / ALP_ULN)","pattern":"hepatocellular","r_ratio":5}],"path":"/api/calc/r_factor"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alp_u_l":{"description":"Alkaline phosphatase in U/L (1-10000). Must be greater than 0.","type":"number"},"alp_uln_u_l":{"description":"Laboratory ALP upper limit of normal in U/L (20-500). Required; must be greater than 0.","type":"number"},"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000).","type":"number"},"alt_uln_u_l":{"description":"Laboratory ALT upper limit of normal in U/L (5-200). Required; magent does not assume 40.","type":"number"}},"required":["alt_u_l","alp_u_l","alt_uln_u_l","alp_uln_u_l"],"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},{"id":38935,"slug":"38935","resource":"https://api.magentlab.com/api/calc/qtc","description":"Heart-rate-corrected QT (Bazett or Fridericia). formula is required; magent does not pick one silently. Deterministic published correction with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"formula":"bazett","heart_rate_bpm":80,"qt_ms":400},{"formula":"bazett","heart_rate_bpm":80,"qt_ms":400}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bazett HC","doi":null,"id":"bazett-1920","source":"Heart. 1920;7:353-370","title":"An analysis of the time-relations of electrocardiograms"},"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":"bazett","formula_expression":"QTc_ms = QT_ms / sqrt(RR_s)","heart_rate_bpm":80,"qt_ms":400,"qtc_ms":461.9,"rr_s":0.75},{"citation":{"authors":"Bazett HC","doi":null,"id":"bazett-1920","source":"Heart. 1920;7:353-370","title":"An analysis of the time-relations of electrocardiograms"},"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":"bazett","formula_expression":"QTc_ms = QT_ms / sqrt(RR_s)","heart_rate_bpm":80,"qt_ms":400,"qtc_ms":461.9,"rr_s":0.75}],"path":"/api/calc/qtc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"formula":{"description":"Correction formula. Required; magent does not pick one silently.","enum":["bazett","fridericia"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (30-220). RR_s = 60 / HR.","type":"integer"},"qt_ms":{"description":"Measured QT interval in milliseconds (200-800).","type":"number"}},"required":["qt_ms","heart_rate_bpm","formula"],"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":["qtc","bazett","ecg","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:52:14.112Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:52:13.967Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"formula":"bazett","heart_rate_bpm":80,"qt_ms":400},{"formula":"bazett","heart_rate_bpm":80,"qt_ms":400}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bazett HC","doi":null,"id":"bazett-1920","source":"Heart. 1920;7:353-370","title":"An analysis of the time-relations of electrocardiograms"},"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":"bazett","formula_expression":"QTc_ms = QT_ms / sqrt(RR_s)","heart_rate_bpm":80,"qt_ms":400,"qtc_ms":461.9,"rr_s":0.75},{"citation":{"authors":"Bazett HC","doi":null,"id":"bazett-1920","source":"Heart. 1920;7:353-370","title":"An analysis of the time-relations of electrocardiograms"},"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":"bazett","formula_expression":"QTc_ms = QT_ms / sqrt(RR_s)","heart_rate_bpm":80,"qt_ms":400,"qtc_ms":461.9,"rr_s":0.75}],"path":"/api/calc/qtc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"formula":{"description":"Correction formula. Required; magent does not pick one silently.","enum":["bazett","fridericia"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (30-220). RR_s = 60 / HR.","type":"integer"},"qt_ms":{"description":"Measured QT interval in milliseconds (200-800).","type":"number"}},"required":["qt_ms","heart_rate_bpm","formula"],"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},{"id":38936,"slug":"38936","resource":"https://api.magentlab.com/api/calc/qsofa","description":"qSOFA from Seymour 2016: respiratory rate ≥22, caller-assigned altered mentation, and systolic BP ≤100 mm Hg; 1 point each, max 3. Deterministic published score with citation; not a diagnosis of sepsis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"altered_mentation":false,"respiratory_rate":16,"systolic_mm_hg":120},{"altered_mentation":false,"respiratory_rate":16,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Seymour CW, Liu VX, Iwashyna TJ, Brunkhorst FM, Rea TD, Scherag A, Rubenfeld G, Kahn JM, Shankar-Hari M, Singer M, Deutschman CS, Escobar GJ, Angus DC","doi":"10.1001/jama.2016.0288","id":"seymour-2016","source":"JAMA. 2016;315(8):762-774","title":"Assessment of Clinical Criteria for Sepsis: For the Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3)"},"components":[{"factor":"respiratory_rate_ge_22","points":0,"present":false,"value":16},{"factor":"altered_mentation","points":0,"present":false},{"factor":"systolic_mm_hg_le_100","points":0,"present":false,"value":120}],"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":"qsofa","formula_expression":"qSOFA = respiratory_rate_ge_22 + altered_mentation + systolic_mm_hg_le_100; each 1 if present; max 3","max_score":3,"score":0},{"citation":{"authors":"Seymour CW, Liu VX, Iwashyna TJ, Brunkhorst FM, Rea TD, Scherag A, Rubenfeld G, Kahn JM, Shankar-Hari M, Singer M, Deutschman CS, Escobar GJ, Angus DC","doi":"10.1001/jama.2016.0288","id":"seymour-2016","source":"JAMA. 2016;315(8):762-774","title":"Assessment of Clinical Criteria for Sepsis: For the Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3)"},"components":[{"factor":"respiratory_rate_ge_22","points":0,"present":false,"value":16},{"factor":"altered_mentation","points":0,"present":false},{"factor":"systolic_mm_hg_le_100","points":0,"present":false,"value":120}],"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":"qsofa","formula_expression":"qSOFA = respiratory_rate_ge_22 + altered_mentation + systolic_mm_hg_le_100; each 1 if present; max 3","max_score":3,"score":0}],"path":"/api/calc/qsofa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"altered_mentation":{"description":"Altered mentation as assigned by the caller (GCS <15 in Seymour 2016). true or false. magent does not compute GCS here.","type":"boolean"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). ≥22 scores 1.","type":"integer"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). ≤100 scores 1.","type":"number"}},"required":["respiratory_rate","systolic_mm_hg","altered_mentation"],"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":["qsofa","sepsis","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:52:12.953Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:52:12.813Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"altered_mentation":false,"respiratory_rate":16,"systolic_mm_hg":120},{"altered_mentation":false,"respiratory_rate":16,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Seymour CW, Liu VX, Iwashyna TJ, Brunkhorst FM, Rea TD, Scherag A, Rubenfeld G, Kahn JM, Shankar-Hari M, Singer M, Deutschman CS, Escobar GJ, Angus DC","doi":"10.1001/jama.2016.0288","id":"seymour-2016","source":"JAMA. 2016;315(8):762-774","title":"Assessment of Clinical Criteria for Sepsis: For the Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3)"},"components":[{"factor":"respiratory_rate_ge_22","points":0,"present":false,"value":16},{"factor":"altered_mentation","points":0,"present":false},{"factor":"systolic_mm_hg_le_100","points":0,"present":false,"value":120}],"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":"qsofa","formula_expression":"qSOFA = respiratory_rate_ge_22 + altered_mentation + systolic_mm_hg_le_100; each 1 if present; max 3","max_score":3,"score":0},{"citation":{"authors":"Seymour CW, Liu VX, Iwashyna TJ, Brunkhorst FM, Rea TD, Scherag A, Rubenfeld G, Kahn JM, Shankar-Hari M, Singer M, Deutschman CS, Escobar GJ, Angus DC","doi":"10.1001/jama.2016.0288","id":"seymour-2016","source":"JAMA. 2016;315(8):762-774","title":"Assessment of Clinical Criteria for Sepsis: For the Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3)"},"components":[{"factor":"respiratory_rate_ge_22","points":0,"present":false,"value":16},{"factor":"altered_mentation","points":0,"present":false},{"factor":"systolic_mm_hg_le_100","points":0,"present":false,"value":120}],"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":"qsofa","formula_expression":"qSOFA = respiratory_rate_ge_22 + altered_mentation + systolic_mm_hg_le_100; each 1 if present; max 3","max_score":3,"score":0}],"path":"/api/calc/qsofa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"altered_mentation":{"description":"Altered mentation as assigned by the caller (GCS <15 in Seymour 2016). true or false. magent does not compute GCS here.","type":"boolean"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). ≥22 scores 1.","type":"integer"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). ≤100 scores 1.","type":"number"}},"required":["respiratory_rate","systolic_mm_hg","altered_mentation"],"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},{"id":38937,"slug":"38937","resource":"https://api.magentlab.com/api/calc/qids","description":"Rush 2003 QIDS-SR16 from 16 caller-assigned integers 0-3 mapped to nine DSM-IV domains. Sleep is the max of four sleep items; appetite/weight is the max of four appetite and weight items; psychomotor is the max of retardation and agitation; remaining items add as published. Total 0-27. Severity: 0-5 none, 6-10 mild, 11-15 moderate, 16-20 severe, 21-27 very_severe. magent does not interpret items or administer a depression interview. Not a diagnosis, not QIDS-C, not IDS-30, and not PHQ-9.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"concentration":0,"decreased_appetite":0,"decreased_weight":0,"early_morning":0,"energy":0,"hypersomnia":0,"increased_appetite":0,"increased_weight":0,"interest":0,"mid_nocturnal":0,"psychomotor_agitation":0,"psychomotor_retardation":0,"sad_mood":0,"self_view":0,"sleep_onset":0,"suicidal_ideation":0},{"concentration":0,"decreased_appetite":0,"decreased_weight":0,"early_morning":0,"energy":0,"hypersomnia":0,"increased_appetite":0,"increased_weight":0,"interest":0,"mid_nocturnal":0,"psychomotor_agitation":0,"psychomotor_retardation":0,"sad_mood":0,"self_view":0,"sleep_onset":0,"suicidal_ideation":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"appetite_weight_points":0,"citation":{"authors":"Rush AJ, Trivedi MH, Ibrahim HM, et al.","doi":"10.1016/s0006-3223(02)01866-8","id":"rush-2003","pmid":"12946886","source":"Biol Psychiatry. 2003;54(5):573-583","title":"The 16-Item Quick Inventory of Depressive Symptomatology (QIDS), clinician rating (QIDS-C), and self-report (QIDS-SR): a psychometric evaluation in patients with chronic major depression"},"components":[{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"sad_mood","points":0,"present":true,"value":0},{"factor":"appetite_weight","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"self_view","points":0,"present":true,"value":0},{"factor":"suicidal_ideation","points":0,"present":true,"value":0},{"factor":"interest","points":0,"present":true,"value":0},{"factor":"energy","points":0,"present":true,"value":0},{"factor":"psychomotor","points":0,"present":true,"value":0}],"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":"qids","formula_expression":"QIDS-SR16 = max(sleep_onset, mid_nocturnal, early_morning, hypersomnia) + sad_mood + max(decreased_appetite, increased_appetite, decreased_weight, increased_weight) + concentration + self_view + suicidal_ideation + interest + energy + max(psychomotor_retardation, psychomotor_agitation); each caller-assigned 0-3; nine domains; max 27","max_score":27,"psychomotor_points":0,"score":0,"severity":"none","sleep_points":0},{"appetite_weight_points":0,"citation":{"authors":"Rush AJ, Trivedi MH, Ibrahim HM, et al.","doi":"10.1016/s0006-3223(02)01866-8","id":"rush-2003","pmid":"12946886","source":"Biol Psychiatry. 2003;54(5):573-583","title":"The 16-Item Quick Inventory of Depressive Symptomatology (QIDS), clinician rating (QIDS-C), and self-report (QIDS-SR): a psychometric evaluation in patients with chronic major depression"},"components":[{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"sad_mood","points":0,"present":true,"value":0},{"factor":"appetite_weight","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"self_view","points":0,"present":true,"value":0},{"factor":"suicidal_ideation","points":0,"present":true,"value":0},{"factor":"interest","points":0,"present":true,"value":0},{"factor":"energy","points":0,"present":true,"value":0},{"factor":"psychomotor","points":0,"present":true,"value":0}],"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":"qids","formula_expression":"QIDS-SR16 = max(sleep_onset, mid_nocturnal, early_morning, hypersomnia) + sad_mood + max(decreased_appetite, increased_appetite, decreased_weight, increased_weight) + concentration + self_view + suicidal_ideation + interest + energy + max(psychomotor_retardation, psychomotor_agitation); each caller-assigned 0-3; nine domains; max 27","max_score":27,"psychomotor_points":0,"score":0,"severity":"none","sleep_points":0}],"path":"/api/calc/qids"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"concentration":{"description":"Caller-assigned Rush 2003 QIDS-SR item 10 (integer 0-3): concentration / decision making. Adds as published (one domain). magent does not interpret the item.","type":"integer"},"decreased_appetite":{"description":"Caller-assigned Rush 2003 QIDS-SR item 6 (integer 0-3): decreased appetite. The appetite/weight domain is the maximum of items 6-9, not the sum. magent does not interpret the item.","type":"integer"},"decreased_weight":{"description":"Caller-assigned Rush 2003 QIDS-SR item 8 (integer 0-3): decreased weight. The appetite/weight domain is the maximum of items 6-9, not the sum. magent does not interpret the item.","type":"integer"},"early_morning":{"description":"Caller-assigned Rush 2003 QIDS-SR item 3 (integer 0-3): waking up too early / late insomnia. The sleep domain is the maximum of items 1-4, not the sum. magent does not interpret the item.","type":"integer"},"energy":{"description":"Caller-assigned Rush 2003 QIDS-SR item 14 (integer 0-3): energy / fatigability. Adds as published (one domain). magent does not interpret the item.","type":"integer"},"hypersomnia":{"description":"Caller-assigned Rush 2003 QIDS-SR item 4 (integer 0-3): sleeping too much. The sleep domain is the maximum of items 1-4, not the sum. magent does not interpret the item.","type":"integer"},"increased_appetite":{"description":"Caller-assigned Rush 2003 QIDS-SR item 7 (integer 0-3): increased appetite. The appetite/weight domain is the maximum of items 6-9, not the sum. magent does not interpret the item.","type":"integer"},"increased_weight":{"description":"Caller-assigned Rush 2003 QIDS-SR item 9 (integer 0-3): increased weight. The appetite/weight domain is the maximum of items 6-9, not the sum. magent does not interpret the item.","type":"integer"},"interest":{"description":"Caller-assigned Rush 2003 QIDS-SR item 13 (integer 0-3): general interest. Adds as published (one domain). magent does not interpret the item.","type":"integer"},"mid_nocturnal":{"description":"Caller-assigned Rush 2003 QIDS-SR item 2 (integer 0-3): sleep during the night / middle insomnia. The sleep domain is the maximum of items 1-4, not the sum. magent does not interpret the item.","type":"integer"},"psychomotor_agitation":{"description":"Caller-assigned Rush 2003 QIDS-SR item 16 (integer 0-3): feeling restless. The psychomotor domain is the maximum of items 15-16, not the sum. magent does not interpret the item.","type":"integer"},"psychomotor_retardation":{"description":"Caller-assigned Rush 2003 QIDS-SR item 15 (integer 0-3): feeling slowed down. The psychomotor domain is the maximum of items 15-16, not the sum. magent does not interpret the item.","type":"integer"},"sad_mood":{"description":"Caller-assigned Rush 2003 QIDS-SR item 5 (integer 0-3): feeling sad. Adds as published (one domain). magent does not interpret the item.","type":"integer"},"self_view":{"description":"Caller-assigned Rush 2003 QIDS-SR item 11 (integer 0-3): view of myself / self-criticism. Adds as published (one domain). magent does not interpret the item.","type":"integer"},"sleep_onset":{"description":"Caller-assigned Rush 2003 QIDS-SR item 1 (integer 0-3): falling asleep / initial insomnia over the prior 7 days. The sleep domain is the maximum of items 1-4, not the sum. magent does not interpret the item.","type":"integer"},"suicidal_ideation":{"description":"Caller-assigned Rush 2003 QIDS-SR item 12 (integer 0-3): thoughts of death or suicide. Adds as published (one domain). magent does not interpret the item.","type":"integer"}},"required":["sleep_onset","mid_nocturnal","early_morning","hypersomnia","sad_mood","decreased_appetite","increased_appetite","decreased_weight","increased_weight","concentration","self_view","suicidal_ideation","interest","energy","psychomotor_retardation","psychomotor_agitation"],"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":["qids","depression","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:46:54.371Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:46:54.256Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"concentration":0,"decreased_appetite":0,"decreased_weight":0,"early_morning":0,"energy":0,"hypersomnia":0,"increased_appetite":0,"increased_weight":0,"interest":0,"mid_nocturnal":0,"psychomotor_agitation":0,"psychomotor_retardation":0,"sad_mood":0,"self_view":0,"sleep_onset":0,"suicidal_ideation":0},{"concentration":0,"decreased_appetite":0,"decreased_weight":0,"early_morning":0,"energy":0,"hypersomnia":0,"increased_appetite":0,"increased_weight":0,"interest":0,"mid_nocturnal":0,"psychomotor_agitation":0,"psychomotor_retardation":0,"sad_mood":0,"self_view":0,"sleep_onset":0,"suicidal_ideation":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"appetite_weight_points":0,"citation":{"authors":"Rush AJ, Trivedi MH, Ibrahim HM, et al.","doi":"10.1016/s0006-3223(02)01866-8","id":"rush-2003","pmid":"12946886","source":"Biol Psychiatry. 2003;54(5):573-583","title":"The 16-Item Quick Inventory of Depressive Symptomatology (QIDS), clinician rating (QIDS-C), and self-report (QIDS-SR): a psychometric evaluation in patients with chronic major depression"},"components":[{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"sad_mood","points":0,"present":true,"value":0},{"factor":"appetite_weight","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"self_view","points":0,"present":true,"value":0},{"factor":"suicidal_ideation","points":0,"present":true,"value":0},{"factor":"interest","points":0,"present":true,"value":0},{"factor":"energy","points":0,"present":true,"value":0},{"factor":"psychomotor","points":0,"present":true,"value":0}],"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":"qids","formula_expression":"QIDS-SR16 = max(sleep_onset, mid_nocturnal, early_morning, hypersomnia) + sad_mood + max(decreased_appetite, increased_appetite, decreased_weight, increased_weight) + concentration + self_view + suicidal_ideation + interest + energy + max(psychomotor_retardation, psychomotor_agitation); each caller-assigned 0-3; nine domains; max 27","max_score":27,"psychomotor_points":0,"score":0,"severity":"none","sleep_points":0},{"appetite_weight_points":0,"citation":{"authors":"Rush AJ, Trivedi MH, Ibrahim HM, et al.","doi":"10.1016/s0006-3223(02)01866-8","id":"rush-2003","pmid":"12946886","source":"Biol Psychiatry. 2003;54(5):573-583","title":"The 16-Item Quick Inventory of Depressive Symptomatology (QIDS), clinician rating (QIDS-C), and self-report (QIDS-SR): a psychometric evaluation in patients with chronic major depression"},"components":[{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"sad_mood","points":0,"present":true,"value":0},{"factor":"appetite_weight","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"self_view","points":0,"present":true,"value":0},{"factor":"suicidal_ideation","points":0,"present":true,"value":0},{"factor":"interest","points":0,"present":true,"value":0},{"factor":"energy","points":0,"present":true,"value":0},{"factor":"psychomotor","points":0,"present":true,"value":0}],"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":"qids","formula_expression":"QIDS-SR16 = max(sleep_onset, mid_nocturnal, early_morning, hypersomnia) + sad_mood + max(decreased_appetite, increased_appetite, decreased_weight, increased_weight) + concentration + self_view + suicidal_ideation + interest + energy + max(psychomotor_retardation, psychomotor_agitation); each caller-assigned 0-3; nine domains; max 27","max_score":27,"psychomotor_points":0,"score":0,"severity":"none","sleep_points":0}],"path":"/api/calc/qids"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"concentration":{"description":"Caller-assigned Rush 2003 QIDS-SR item 10 (integer 0-3): concentration / decision making. Adds as published (one domain). magent does not interpret the item.","type":"integer"},"decreased_appetite":{"description":"Caller-assigned Rush 2003 QIDS-SR item 6 (integer 0-3): decreased appetite. The appetite/weight domain is the maximum of items 6-9, not the sum. magent does not interpret the item.","type":"integer"},"decreased_weight":{"description":"Caller-assigned Rush 2003 QIDS-SR item 8 (integer 0-3): decreased weight. The appetite/weight domain is the maximum of items 6-9, not the sum. magent does not interpret the item.","type":"integer"},"early_morning":{"description":"Caller-assigned Rush 2003 QIDS-SR item 3 (integer 0-3): waking up too early / late insomnia. The sleep domain is the maximum of items 1-4, not the sum. magent does not interpret the item.","type":"integer"},"energy":{"description":"Caller-assigned Rush 2003 QIDS-SR item 14 (integer 0-3): energy / fatigability. Adds as published (one domain). magent does not interpret the item.","type":"integer"},"hypersomnia":{"description":"Caller-assigned Rush 2003 QIDS-SR item 4 (integer 0-3): sleeping too much. The sleep domain is the maximum of items 1-4, not the sum. magent does not interpret the item.","type":"integer"},"increased_appetite":{"description":"Caller-assigned Rush 2003 QIDS-SR item 7 (integer 0-3): increased appetite. The appetite/weight domain is the maximum of items 6-9, not the sum. magent does not interpret the item.","type":"integer"},"increased_weight":{"description":"Caller-assigned Rush 2003 QIDS-SR item 9 (integer 0-3): increased weight. The appetite/weight domain is the maximum of items 6-9, not the sum. magent does not interpret the item.","type":"integer"},"interest":{"description":"Caller-assigned Rush 2003 QIDS-SR item 13 (integer 0-3): general interest. Adds as published (one domain). magent does not interpret the item.","type":"integer"},"mid_nocturnal":{"description":"Caller-assigned Rush 2003 QIDS-SR item 2 (integer 0-3): sleep during the night / middle insomnia. The sleep domain is the maximum of items 1-4, not the sum. magent does not interpret the item.","type":"integer"},"psychomotor_agitation":{"description":"Caller-assigned Rush 2003 QIDS-SR item 16 (integer 0-3): feeling restless. The psychomotor domain is the maximum of items 15-16, not the sum. magent does not interpret the item.","type":"integer"},"psychomotor_retardation":{"description":"Caller-assigned Rush 2003 QIDS-SR item 15 (integer 0-3): feeling slowed down. The psychomotor domain is the maximum of items 15-16, not the sum. magent does not interpret the item.","type":"integer"},"sad_mood":{"description":"Caller-assigned Rush 2003 QIDS-SR item 5 (integer 0-3): feeling sad. Adds as published (one domain). magent does not interpret the item.","type":"integer"},"self_view":{"description":"Caller-assigned Rush 2003 QIDS-SR item 11 (integer 0-3): view of myself / self-criticism. Adds as published (one domain). magent does not interpret the item.","type":"integer"},"sleep_onset":{"description":"Caller-assigned Rush 2003 QIDS-SR item 1 (integer 0-3): falling asleep / initial insomnia over the prior 7 days. The sleep domain is the maximum of items 1-4, not the sum. magent does not interpret the item.","type":"integer"},"suicidal_ideation":{"description":"Caller-assigned Rush 2003 QIDS-SR item 12 (integer 0-3): thoughts of death or suicide. Adds as published (one domain). magent does not interpret the item.","type":"integer"}},"required":["sleep_onset","mid_nocturnal","early_morning","hypersomnia","sad_mood","decreased_appetite","increased_appetite","decreased_weight","increased_weight","concentration","self_view","suicidal_ideation","interest","energy","psychomotor_retardation","psychomotor_agitation"],"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},{"id":38938,"slug":"38938","resource":"https://api.magentlab.com/api/calc/qcsi","description":"Haimovich 2020 qCSI (Table 2 bedside points): RR ≤22 → 0, 23–28 → 1, >28 → 2; SpO2 >92 → 0, 89–92 → 2, ≤88 → 5; O2 ≤2 L/min → 0, 3–4 → 4, 5–6 → 5. Max 12. Lowest SpO2 and nasal-cannula flow as assigned by the caller. Not a COVID-19 diagnosis, triage order, or the 12-variable CSI gradient-boosting model. Derivation excluded >6 L/min. magent does not measure vitals.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"oxygen_l_min":0,"respiratory_rate":16,"spo2_percent":98},{"oxygen_l_min":0,"respiratory_rate":16,"spo2_percent":98}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Haimovich AD, Ravindra NG, Stoytchev S, Young HP, Wilson FP, van Dijk D, Schulz WL, Taylor RA","doi":"10.1016/j.annemergmed.2020.07.022","id":"haimovich-2020","pmid":"33012378","source":"Ann Emerg Med. 2020;76(4):442-453","title":"Development and Validation of the Quick COVID-19 Severity Index: A Prognostic Tool for Early Clinical Decompensation"},"components":[{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"oxygen_l_min","points":0,"present":false,"value":0}],"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":"qcsi","formula_expression":"qCSI = RR(≤22→0, 23–28→1, >28→2) + SpO2(>92→0, 89–92→2, ≤88→5) + O2_L_min(≤2→0, 3–4→4, 5–6→5); Haimovich 2020 Table 2 bedside; max 12","max_score":12,"oxygen_l_min":0,"respiratory_rate":16,"score":0,"spo2_percent":98},{"citation":{"authors":"Haimovich AD, Ravindra NG, Stoytchev S, Young HP, Wilson FP, van Dijk D, Schulz WL, Taylor RA","doi":"10.1016/j.annemergmed.2020.07.022","id":"haimovich-2020","pmid":"33012378","source":"Ann Emerg Med. 2020;76(4):442-453","title":"Development and Validation of the Quick COVID-19 Severity Index: A Prognostic Tool for Early Clinical Decompensation"},"components":[{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"oxygen_l_min","points":0,"present":false,"value":0}],"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":"qcsi","formula_expression":"qCSI = RR(≤22→0, 23–28→1, >28→2) + SpO2(>92→0, 89–92→2, ≤88→5) + O2_L_min(≤2→0, 3–4→4, 5–6→5); Haimovich 2020 Table 2 bedside; max 12","max_score":12,"oxygen_l_min":0,"respiratory_rate":16,"score":0,"spo2_percent":98}],"path":"/api/calc/qcsi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"oxygen_l_min":{"description":"Nasal-cannula oxygen flow in L/min (0-6). Haimovich 2020 Table 2: ≤2 → 0, 3-4 → 4, 5-6 → 5. Derivation excluded >6 L/min. magent does not measure flow.","type":"number"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). Haimovich 2020 Table 2: ≤22 → 0, 23-28 → 1, >28 → 2. magent does not measure vitals.","type":"integer"},"spo2_percent":{"description":"Lowest SpO2 percent as assigned by the caller (50-100). Haimovich 2020 Table 2: >92 → 0, 89-92 → 2, ≤88 → 5. magent does not measure SpO2.","type":"number"}},"required":["respiratory_rate","spo2_percent","oxygen_l_min"],"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":["qcsi","covid-19","respiratory","hypoxemia","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:46:53.482Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:46:53.364Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"oxygen_l_min":0,"respiratory_rate":16,"spo2_percent":98},{"oxygen_l_min":0,"respiratory_rate":16,"spo2_percent":98}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Haimovich AD, Ravindra NG, Stoytchev S, Young HP, Wilson FP, van Dijk D, Schulz WL, Taylor RA","doi":"10.1016/j.annemergmed.2020.07.022","id":"haimovich-2020","pmid":"33012378","source":"Ann Emerg Med. 2020;76(4):442-453","title":"Development and Validation of the Quick COVID-19 Severity Index: A Prognostic Tool for Early Clinical Decompensation"},"components":[{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"oxygen_l_min","points":0,"present":false,"value":0}],"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":"qcsi","formula_expression":"qCSI = RR(≤22→0, 23–28→1, >28→2) + SpO2(>92→0, 89–92→2, ≤88→5) + O2_L_min(≤2→0, 3–4→4, 5–6→5); Haimovich 2020 Table 2 bedside; max 12","max_score":12,"oxygen_l_min":0,"respiratory_rate":16,"score":0,"spo2_percent":98},{"citation":{"authors":"Haimovich AD, Ravindra NG, Stoytchev S, Young HP, Wilson FP, van Dijk D, Schulz WL, Taylor RA","doi":"10.1016/j.annemergmed.2020.07.022","id":"haimovich-2020","pmid":"33012378","source":"Ann Emerg Med. 2020;76(4):442-453","title":"Development and Validation of the Quick COVID-19 Severity Index: A Prognostic Tool for Early Clinical Decompensation"},"components":[{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"oxygen_l_min","points":0,"present":false,"value":0}],"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":"qcsi","formula_expression":"qCSI = RR(≤22→0, 23–28→1, >28→2) + SpO2(>92→0, 89–92→2, ≤88→5) + O2_L_min(≤2→0, 3–4→4, 5–6→5); Haimovich 2020 Table 2 bedside; max 12","max_score":12,"oxygen_l_min":0,"respiratory_rate":16,"score":0,"spo2_percent":98}],"path":"/api/calc/qcsi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"oxygen_l_min":{"description":"Nasal-cannula oxygen flow in L/min (0-6). Haimovich 2020 Table 2: ≤2 → 0, 3-4 → 4, 5-6 → 5. Derivation excluded >6 L/min. magent does not measure flow.","type":"number"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). Haimovich 2020 Table 2: ≤22 → 0, 23-28 → 1, >28 → 2. magent does not measure vitals.","type":"integer"},"spo2_percent":{"description":"Lowest SpO2 percent as assigned by the caller (50-100). Haimovich 2020 Table 2: >92 → 0, 89-92 → 2, ≤88 → 5. magent does not measure SpO2.","type":"number"}},"required":["respiratory_rate","spo2_percent","oxygen_l_min"],"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},{"id":38939,"slug":"38939","resource":"https://api.magentlab.com/api/calc/pucai","description":"Turner 2007 pediatric ulcerative colitis activity index (PUCAI): six caller-assigned item points (abdominal pain, rectal bleeding, stool consistency of most stools, stools per 24 hours, nocturnal stools, activity level) using that paper's published integers. magent sums only (max 85) and returns the published activity band (<10 remission, 10-34 mild, 35-64 moderate, ≥65 severe). magent does not examine the child. Not a diagnosis and not the adult Mayo score.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abdominal_pain":0,"activity_level":0,"nocturnal_stools":0,"rectal_bleeding":0,"stool_consistency_of_most":0,"stools_per_24h":0},{"abdominal_pain":0,"activity_level":0,"nocturnal_stools":0,"rectal_bleeding":0,"stool_consistency_of_most":0,"stools_per_24h":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abdominal_pain":0,"activity_band":"remission","activity_level":0,"citation":{"authors":"Turner D, Otley AR, Mack D, et al.","doi":"10.1053/j.gastro.2007.05.029","id":"turner-2007","pmid":"17681163","source":"Gastroenterology. 2007;133(2):423-432","title":"Development, validation, and evaluation of a pediatric ulcerative colitis activity index: a prospective multicenter study"},"components":[{"factor":"abdominal_pain","points":0,"present":true,"value":0},{"factor":"rectal_bleeding","points":0,"present":true,"value":0},{"factor":"stool_consistency_of_most","points":0,"present":true,"value":0},{"factor":"stools_per_24h","points":0,"present":true,"value":0},{"factor":"nocturnal_stools","points":0,"present":true,"value":0},{"factor":"activity_level","points":0,"present":true,"value":0}],"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":"pucai","formula_expression":"PUCAI = abdominal_pain + rectal_bleeding + stool_consistency_of_most + stools_per_24h + nocturnal_stools + activity_level; Turner 2007 caller-assigned item points; max 85; <10 remission, 10-34 mild, 35-64 moderate, ≥65 severe","max_score":85,"nocturnal_stools":0,"rectal_bleeding":0,"score":0,"stool_consistency_of_most":0,"stools_per_24h":0},{"abdominal_pain":0,"activity_band":"remission","activity_level":0,"citation":{"authors":"Turner D, Otley AR, Mack D, et al.","doi":"10.1053/j.gastro.2007.05.029","id":"turner-2007","pmid":"17681163","source":"Gastroenterology. 2007;133(2):423-432","title":"Development, validation, and evaluation of a pediatric ulcerative colitis activity index: a prospective multicenter study"},"components":[{"factor":"abdominal_pain","points":0,"present":true,"value":0},{"factor":"rectal_bleeding","points":0,"present":true,"value":0},{"factor":"stool_consistency_of_most","points":0,"present":true,"value":0},{"factor":"stools_per_24h","points":0,"present":true,"value":0},{"factor":"nocturnal_stools","points":0,"present":true,"value":0},{"factor":"activity_level","points":0,"present":true,"value":0}],"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":"pucai","formula_expression":"PUCAI = abdominal_pain + rectal_bleeding + stool_consistency_of_most + stools_per_24h + nocturnal_stools + activity_level; Turner 2007 caller-assigned item points; max 85; <10 remission, 10-34 mild, 35-64 moderate, ≥65 severe","max_score":85,"nocturnal_stools":0,"rectal_bleeding":0,"score":0,"stool_consistency_of_most":0,"stools_per_24h":0}],"path":"/api/calc/pucai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_pain":{"description":"Caller-assigned Turner 2007 PUCAI abdominal pain points (integer 0, 5, or 10): 0 no pain; 5 pain can be ignored; 10 pain cannot be ignored. magent does not examine the child.","type":"integer"},"activity_level":{"description":"Caller-assigned Turner 2007 PUCAI activity level points (integer 0, 5, or 10): 0 no limitation of activity; 5 occasional limitation of activity; 10 severe restricted activity. magent does not examine the child.","type":"integer"},"nocturnal_stools":{"description":"Caller-assigned Turner 2007 PUCAI nocturnal stools points (integer 0 or 10): 0 no; 10 yes (any episode causing wakening). magent does not examine the child.","type":"integer"},"rectal_bleeding":{"description":"Caller-assigned Turner 2007 PUCAI rectal bleeding points (integer 0, 10, 20, or 30): 0 none; 10 small amount only, in less than 50% of stools; 20 small amount with most stools; 30 large amount (>50% of the stool content). magent does not examine the child.","type":"integer"},"stool_consistency_of_most":{"description":"Caller-assigned Turner 2007 PUCAI stool consistency of most stools points (integer 0, 5, or 10): 0 formed; 5 partially formed; 10 completely unformed. magent does not examine the child.","type":"integer"},"stools_per_24h":{"description":"Caller-assigned Turner 2007 PUCAI number of stools per 24 hours points (integer 0, 5, 10, or 15): 0 for 0-2 stools; 5 for 3-5; 10 for 6-8; 15 for >8. magent does not examine the child.","type":"integer"}},"required":["abdominal_pain","rectal_bleeding","stool_consistency_of_most","stools_per_24h","nocturnal_stools","activity_level"],"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":["pucai","ulcerative-colitis","pediatric","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:46:52.46Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:46:52.324Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abdominal_pain":0,"activity_level":0,"nocturnal_stools":0,"rectal_bleeding":0,"stool_consistency_of_most":0,"stools_per_24h":0},{"abdominal_pain":0,"activity_level":0,"nocturnal_stools":0,"rectal_bleeding":0,"stool_consistency_of_most":0,"stools_per_24h":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abdominal_pain":0,"activity_band":"remission","activity_level":0,"citation":{"authors":"Turner D, Otley AR, Mack D, et al.","doi":"10.1053/j.gastro.2007.05.029","id":"turner-2007","pmid":"17681163","source":"Gastroenterology. 2007;133(2):423-432","title":"Development, validation, and evaluation of a pediatric ulcerative colitis activity index: a prospective multicenter study"},"components":[{"factor":"abdominal_pain","points":0,"present":true,"value":0},{"factor":"rectal_bleeding","points":0,"present":true,"value":0},{"factor":"stool_consistency_of_most","points":0,"present":true,"value":0},{"factor":"stools_per_24h","points":0,"present":true,"value":0},{"factor":"nocturnal_stools","points":0,"present":true,"value":0},{"factor":"activity_level","points":0,"present":true,"value":0}],"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":"pucai","formula_expression":"PUCAI = abdominal_pain + rectal_bleeding + stool_consistency_of_most + stools_per_24h + nocturnal_stools + activity_level; Turner 2007 caller-assigned item points; max 85; <10 remission, 10-34 mild, 35-64 moderate, ≥65 severe","max_score":85,"nocturnal_stools":0,"rectal_bleeding":0,"score":0,"stool_consistency_of_most":0,"stools_per_24h":0},{"abdominal_pain":0,"activity_band":"remission","activity_level":0,"citation":{"authors":"Turner D, Otley AR, Mack D, et al.","doi":"10.1053/j.gastro.2007.05.029","id":"turner-2007","pmid":"17681163","source":"Gastroenterology. 2007;133(2):423-432","title":"Development, validation, and evaluation of a pediatric ulcerative colitis activity index: a prospective multicenter study"},"components":[{"factor":"abdominal_pain","points":0,"present":true,"value":0},{"factor":"rectal_bleeding","points":0,"present":true,"value":0},{"factor":"stool_consistency_of_most","points":0,"present":true,"value":0},{"factor":"stools_per_24h","points":0,"present":true,"value":0},{"factor":"nocturnal_stools","points":0,"present":true,"value":0},{"factor":"activity_level","points":0,"present":true,"value":0}],"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":"pucai","formula_expression":"PUCAI = abdominal_pain + rectal_bleeding + stool_consistency_of_most + stools_per_24h + nocturnal_stools + activity_level; Turner 2007 caller-assigned item points; max 85; <10 remission, 10-34 mild, 35-64 moderate, ≥65 severe","max_score":85,"nocturnal_stools":0,"rectal_bleeding":0,"score":0,"stool_consistency_of_most":0,"stools_per_24h":0}],"path":"/api/calc/pucai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_pain":{"description":"Caller-assigned Turner 2007 PUCAI abdominal pain points (integer 0, 5, or 10): 0 no pain; 5 pain can be ignored; 10 pain cannot be ignored. magent does not examine the child.","type":"integer"},"activity_level":{"description":"Caller-assigned Turner 2007 PUCAI activity level points (integer 0, 5, or 10): 0 no limitation of activity; 5 occasional limitation of activity; 10 severe restricted activity. magent does not examine the child.","type":"integer"},"nocturnal_stools":{"description":"Caller-assigned Turner 2007 PUCAI nocturnal stools points (integer 0 or 10): 0 no; 10 yes (any episode causing wakening). magent does not examine the child.","type":"integer"},"rectal_bleeding":{"description":"Caller-assigned Turner 2007 PUCAI rectal bleeding points (integer 0, 10, 20, or 30): 0 none; 10 small amount only, in less than 50% of stools; 20 small amount with most stools; 30 large amount (>50% of the stool content). magent does not examine the child.","type":"integer"},"stool_consistency_of_most":{"description":"Caller-assigned Turner 2007 PUCAI stool consistency of most stools points (integer 0, 5, or 10): 0 formed; 5 partially formed; 10 completely unformed. magent does not examine the child.","type":"integer"},"stools_per_24h":{"description":"Caller-assigned Turner 2007 PUCAI number of stools per 24 hours points (integer 0, 5, 10, or 15): 0 for 0-2 stools; 5 for 3-5; 10 for 6-8; 15 for >8. magent does not examine the child.","type":"integer"}},"required":["abdominal_pain","rectal_bleeding","stool_consistency_of_most","stools_per_24h","nocturnal_stools","activity_level"],"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},{"id":38940,"slug":"38940","resource":"https://api.magentlab.com/api/calc/pss_3","description":"Boudreaux 2015 PSS-3 from four caller-assigned flags: depressed_mood (2-week segue, not in the screen), ideation_2_weeks, lifetime_attempt, and attempt_within_6_months. screen_positive if 2-week ideation or a lifetime attempt within 6 months (ED-SAFE / Boudreaux 2016 Am J Prev Med). Depression is not factored into screening results. magent does not interview the patient. Not a diagnosis. Not C-SSRS. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"attempt_within_6_months":false,"depressed_mood":false,"ideation_2_weeks":false,"lifetime_attempt":false},{"attempt_within_6_months":false,"depressed_mood":false,"ideation_2_weeks":false,"lifetime_attempt":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"attempt_within_6_months":false,"citation":{"authors":"Boudreaux ED, Jaques ML, Brady KM, Matson A, Allen MH","doi":"10.1080/13811118.2015.1034604","id":"boudreaux-2015","pmid":"25826715","source":"Arch Suicide Res. 2015;19(2):151-160","title":"The Patient Safety Screener: Validation of a Brief Suicide Risk Screener for Emergency Department Settings"},"components":[{"factor":"depressed_mood","met":false},{"factor":"ideation_2_weeks","met":false},{"factor":"lifetime_attempt","met":false},{"factor":"attempt_within_6_months","met":false}],"depressed_mood":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":"pss_3","formula_expression":"screen_positive iff ideation_2_weeks OR (lifetime_attempt AND attempt_within_6_months); depressed_mood (past 2 weeks down/depressed/hopeless) is a segue item and is not factored into screening results; this positive rule is the same-group ED-SAFE definition used with PSS-3 (Boudreaux 2016 Am J Prev Med: ideation past 2 weeks or attempt within 6 months); if lifetime_attempt is false then attempt_within_6_months must be false; four caller-assigned bools; magent does not interview the patient; not a diagnosis; not C-SSRS","ideation_2_weeks":false,"lifetime_attempt":false,"screen_positive":false},{"attempt_within_6_months":false,"citation":{"authors":"Boudreaux ED, Jaques ML, Brady KM, Matson A, Allen MH","doi":"10.1080/13811118.2015.1034604","id":"boudreaux-2015","pmid":"25826715","source":"Arch Suicide Res. 2015;19(2):151-160","title":"The Patient Safety Screener: Validation of a Brief Suicide Risk Screener for Emergency Department Settings"},"components":[{"factor":"depressed_mood","met":false},{"factor":"ideation_2_weeks","met":false},{"factor":"lifetime_attempt","met":false},{"factor":"attempt_within_6_months","met":false}],"depressed_mood":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":"pss_3","formula_expression":"screen_positive iff ideation_2_weeks OR (lifetime_attempt AND attempt_within_6_months); depressed_mood (past 2 weeks down/depressed/hopeless) is a segue item and is not factored into screening results; this positive rule is the same-group ED-SAFE definition used with PSS-3 (Boudreaux 2016 Am J Prev Med: ideation past 2 weeks or attempt within 6 months); if lifetime_attempt is false then attempt_within_6_months must be false; four caller-assigned bools; magent does not interview the patient; not a diagnosis; not C-SSRS","ideation_2_weeks":false,"lifetime_attempt":false,"screen_positive":false}],"path":"/api/calc/pss_3"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"attempt_within_6_months":{"description":"Most recent suicide attempt was within 6 months (Boudreaux 2015 timing follow-up). true or false as assigned by the caller. Always required. If lifetime_attempt is false this must be false. screen_positive is true when lifetime_attempt and this are both true. magent does not interview the patient.","type":"boolean"},"depressed_mood":{"description":"Over the past 2 weeks, felt down, depressed, or hopeless (Boudreaux 2015 PSS-3 segue item). true or false as assigned by the caller. Not factored into screen_positive. magent does not interview the patient.","type":"boolean"},"ideation_2_weeks":{"description":"Active suicidal ideation in the past 2 weeks (Boudreaux 2015: over the past 2 weeks, thoughts of killing yourself). true or false as assigned by the caller. screen_positive is true if this is true. magent does not interview the patient.","type":"boolean"},"lifetime_attempt":{"description":"Lifetime suicide attempt (Boudreaux 2015: ever attempted to kill yourself). true or false as assigned by the caller. If false, attempt_within_6_months must be false. magent does not interview the patient.","type":"boolean"}},"required":["depressed_mood","ideation_2_weeks","lifetime_attempt","attempt_within_6_months"],"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":["pss-3","suicide-screen","emergency","ed-safe","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:42:08.324Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:42:08.2Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"attempt_within_6_months":false,"depressed_mood":false,"ideation_2_weeks":false,"lifetime_attempt":false},{"attempt_within_6_months":false,"depressed_mood":false,"ideation_2_weeks":false,"lifetime_attempt":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"attempt_within_6_months":false,"citation":{"authors":"Boudreaux ED, Jaques ML, Brady KM, Matson A, Allen MH","doi":"10.1080/13811118.2015.1034604","id":"boudreaux-2015","pmid":"25826715","source":"Arch Suicide Res. 2015;19(2):151-160","title":"The Patient Safety Screener: Validation of a Brief Suicide Risk Screener for Emergency Department Settings"},"components":[{"factor":"depressed_mood","met":false},{"factor":"ideation_2_weeks","met":false},{"factor":"lifetime_attempt","met":false},{"factor":"attempt_within_6_months","met":false}],"depressed_mood":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":"pss_3","formula_expression":"screen_positive iff ideation_2_weeks OR (lifetime_attempt AND attempt_within_6_months); depressed_mood (past 2 weeks down/depressed/hopeless) is a segue item and is not factored into screening results; this positive rule is the same-group ED-SAFE definition used with PSS-3 (Boudreaux 2016 Am J Prev Med: ideation past 2 weeks or attempt within 6 months); if lifetime_attempt is false then attempt_within_6_months must be false; four caller-assigned bools; magent does not interview the patient; not a diagnosis; not C-SSRS","ideation_2_weeks":false,"lifetime_attempt":false,"screen_positive":false},{"attempt_within_6_months":false,"citation":{"authors":"Boudreaux ED, Jaques ML, Brady KM, Matson A, Allen MH","doi":"10.1080/13811118.2015.1034604","id":"boudreaux-2015","pmid":"25826715","source":"Arch Suicide Res. 2015;19(2):151-160","title":"The Patient Safety Screener: Validation of a Brief Suicide Risk Screener for Emergency Department Settings"},"components":[{"factor":"depressed_mood","met":false},{"factor":"ideation_2_weeks","met":false},{"factor":"lifetime_attempt","met":false},{"factor":"attempt_within_6_months","met":false}],"depressed_mood":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":"pss_3","formula_expression":"screen_positive iff ideation_2_weeks OR (lifetime_attempt AND attempt_within_6_months); depressed_mood (past 2 weeks down/depressed/hopeless) is a segue item and is not factored into screening results; this positive rule is the same-group ED-SAFE definition used with PSS-3 (Boudreaux 2016 Am J Prev Med: ideation past 2 weeks or attempt within 6 months); if lifetime_attempt is false then attempt_within_6_months must be false; four caller-assigned bools; magent does not interview the patient; not a diagnosis; not C-SSRS","ideation_2_weeks":false,"lifetime_attempt":false,"screen_positive":false}],"path":"/api/calc/pss_3"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"attempt_within_6_months":{"description":"Most recent suicide attempt was within 6 months (Boudreaux 2015 timing follow-up). true or false as assigned by the caller. Always required. If lifetime_attempt is false this must be false. screen_positive is true when lifetime_attempt and this are both true. magent does not interview the patient.","type":"boolean"},"depressed_mood":{"description":"Over the past 2 weeks, felt down, depressed, or hopeless (Boudreaux 2015 PSS-3 segue item). true or false as assigned by the caller. Not factored into screen_positive. magent does not interview the patient.","type":"boolean"},"ideation_2_weeks":{"description":"Active suicidal ideation in the past 2 weeks (Boudreaux 2015: over the past 2 weeks, thoughts of killing yourself). true or false as assigned by the caller. screen_positive is true if this is true. magent does not interview the patient.","type":"boolean"},"lifetime_attempt":{"description":"Lifetime suicide attempt (Boudreaux 2015: ever attempted to kill yourself). true or false as assigned by the caller. If false, attempt_within_6_months must be false. magent does not interview the patient.","type":"boolean"}},"required":["depressed_mood","ideation_2_weeks","lifetime_attempt","attempt_within_6_months"],"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},{"id":38941,"slug":"38941","resource":"https://api.magentlab.com/api/calc/psi_port","description":"Fine 1997 Pneumonia Severity Index (PSI/PORT): Class I if age ≤50 and no neoplastic, liver, CHF, cerebrovascular, or renal disease, no AMS, HR <125, RR <30, SBP >=90, and temperature 35 to <40 C. Otherwise Table 2 points (age, or age-10 if female, plus comorbidity, vital-sign, and laboratory weights) map to classes II-V. Always returns the Table 2 total. Not a medical device and not a site-of-care decision.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":45,"altered_mental_status":false,"arterial_ph":7.4,"bun_mg_dl":14,"cerebrovascular":false,"chf":false,"glucose_mg_dl":90,"heart_rate_bpm":80,"hematocrit_percent":42,"liver_disease":false,"neoplastic":false,"nursing_home":false,"pao2_mm_hg":90,"pleural_effusion":false,"renal_disease":false,"respiratory_rate":16,"sex":"male","sodium_mmol_l":140,"systolic_mm_hg":120,"temperature_c":37},{"age":45,"altered_mental_status":false,"arterial_ph":7.4,"bun_mg_dl":14,"cerebrovascular":false,"chf":false,"glucose_mg_dl":90,"heart_rate_bpm":80,"hematocrit_percent":42,"liver_disease":false,"neoplastic":false,"nursing_home":false,"pao2_mm_hg":90,"pleural_effusion":false,"renal_disease":false,"respiratory_rate":16,"sex":"male","sodium_mmol_l":140,"systolic_mm_hg":120,"temperature_c":37}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":45,"citation":{"authors":"Fine MJ, Auble TE, Yealy DM, et al.","doi":"10.1056/NEJM199701233360402","id":"fine-1997","pmid":"8995086","source":"N Engl J Med. 1997;336(4):243-250","title":"A prediction rule to identify low-risk patients with community-acquired pneumonia"},"components":[{"factor":"age","points":45,"present":true,"value":45},{"factor":"nursing_home","points":0,"present":false},{"factor":"neoplastic","points":0,"present":false},{"factor":"liver_disease","points":0,"present":false},{"factor":"chf","points":0,"present":false},{"factor":"cerebrovascular","points":0,"present":false},{"factor":"renal_disease","points":0,"present":false},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"respiratory_rate_ge_30","points":0,"present":false,"value":16},{"factor":"systolic_mm_hg_lt_90","points":0,"present":false,"value":120},{"factor":"temperature_extreme","points":0,"present":false,"value":37},{"factor":"heart_rate_ge_125","points":0,"present":false,"value":80},{"factor":"arterial_ph_lt_7_35","points":0,"present":false,"value":7.4},{"factor":"bun_ge_30","points":0,"present":false,"value":14},{"factor":"sodium_lt_130","points":0,"present":false,"value":140},{"factor":"glucose_ge_250","points":0,"present":false,"value":90},{"factor":"hematocrit_lt_30","points":0,"present":false,"value":42},{"factor":"pao2_lt_60","points":0,"present":false,"value":90},{"factor":"pleural_effusion","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":"psi_port","formula_expression":"PSI/PORT two-step (Fine 1997): Class I if age<=50 and no neoplastic, liver, CHF, cerebrovascular, renal, AMS and HR<125, RR<30, SBP>=90, temp>=35 and <40; else Table 2 points: age (men) or age-10 (women) + nursing_home 10 + neoplastic 30 + liver 20 + CHF 10 + cerebrovascular 10 + renal 10 + AMS 20 + RR>=30 20 + SBP<90 20 + (temp<35 or >=40) 15 + HR>=125 10 + pH<7.35 30 + BUN>=30 20 + Na<130 20 + glucose>=250 10 + Hct<30 10 + PaO2<60 10 + pleural_effusion 10; class I from step 1 else 2 if <=70, 3 if 71-90, 4 if 91-130, 5 if >130","risk_class":1,"score":45},{"age_years":45,"citation":{"authors":"Fine MJ, Auble TE, Yealy DM, et al.","doi":"10.1056/NEJM199701233360402","id":"fine-1997","pmid":"8995086","source":"N Engl J Med. 1997;336(4):243-250","title":"A prediction rule to identify low-risk patients with community-acquired pneumonia"},"components":[{"factor":"age","points":45,"present":true,"value":45},{"factor":"nursing_home","points":0,"present":false},{"factor":"neoplastic","points":0,"present":false},{"factor":"liver_disease","points":0,"present":false},{"factor":"chf","points":0,"present":false},{"factor":"cerebrovascular","points":0,"present":false},{"factor":"renal_disease","points":0,"present":false},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"respiratory_rate_ge_30","points":0,"present":false,"value":16},{"factor":"systolic_mm_hg_lt_90","points":0,"present":false,"value":120},{"factor":"temperature_extreme","points":0,"present":false,"value":37},{"factor":"heart_rate_ge_125","points":0,"present":false,"value":80},{"factor":"arterial_ph_lt_7_35","points":0,"present":false,"value":7.4},{"factor":"bun_ge_30","points":0,"present":false,"value":14},{"factor":"sodium_lt_130","points":0,"present":false,"value":140},{"factor":"glucose_ge_250","points":0,"present":false,"value":90},{"factor":"hematocrit_lt_30","points":0,"present":false,"value":42},{"factor":"pao2_lt_60","points":0,"present":false,"value":90},{"factor":"pleural_effusion","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":"psi_port","formula_expression":"PSI/PORT two-step (Fine 1997): Class I if age<=50 and no neoplastic, liver, CHF, cerebrovascular, renal, AMS and HR<125, RR<30, SBP>=90, temp>=35 and <40; else Table 2 points: age (men) or age-10 (women) + nursing_home 10 + neoplastic 30 + liver 20 + CHF 10 + cerebrovascular 10 + renal 10 + AMS 20 + RR>=30 20 + SBP<90 20 + (temp<35 or >=40) 15 + HR>=125 10 + pH<7.35 30 + BUN>=30 20 + Na<130 20 + glucose>=250 10 + Hct<30 10 + PaO2<60 10 + pleural_effusion 10; class I from step 1 else 2 if <=70, 3 if 71-90, 4 if 91-130, 5 if >130","risk_class":1,"score":45}],"path":"/api/calc/psi_port"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Table 2: men add the age integer; women add age − 10. Step 1 Class I requires age ≤50 (Fine: 50 years of age or younger).","type":"integer"},"altered_mental_status":{"description":"Altered mental status as assigned by the caller. true or false. Step 1 excludes Class I if true. Table 2 +20 if true.","type":"boolean"},"arterial_ph":{"description":"Arterial pH (6.80-7.80). Table 2 +30 when <7.35; 7.35 does not score. Not a Step 1 Class I item.","type":"number"},"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-200). Table 2 +20 when ≥30; 29.9 does not score. Not a Step 1 Class I item.","type":"number"},"cerebrovascular":{"description":"Cerebrovascular disease as assigned by the caller. true or false. Step 1 excludes Class I if true. Table 2 +10 if true.","type":"boolean"},"chf":{"description":"Congestive heart failure as assigned by the caller. true or false. Step 1 excludes Class I if true. Table 2 +10 if true.","type":"boolean"},"glucose_mg_dl":{"description":"Serum glucose in mg/dL (50-1000). Fine Table 2 is mg/dL only. Table 2 +10 when ≥250; 249 does not score. Not a Step 1 Class I item.","type":"number"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Step 1 Class I requires <125. Table 2 +10 when ≥125; 124 does not score.","type":"integer"},"hematocrit_percent":{"description":"Hematocrit percent (10-70). Table 2 +10 when <30; 30 does not score. Not a Step 1 Class I item.","type":"number"},"liver_disease":{"description":"Liver disease as assigned by the caller. true or false. Step 1 excludes Class I if true. Table 2 +20 if true.","type":"boolean"},"neoplastic":{"description":"Neoplastic disease as assigned by the caller. true or false. Step 1 excludes Class I if true. Table 2 +30 if true.","type":"boolean"},"nursing_home":{"description":"Nursing home resident as assigned by the caller. true or false. Table 2 +10 if true. Not a Step 1 Class I item.","type":"boolean"},"pao2_mm_hg":{"description":"Arterial PaO2 in mm Hg (20-700). Table 2 +10 when <60; 60 does not score. Not a Step 1 Class I item.","type":"number"},"pleural_effusion":{"description":"Pleural effusion as assigned by the caller. true or false. Table 2 +10 if true. Not a Step 1 Class I item.","type":"boolean"},"renal_disease":{"description":"Renal disease as assigned by the caller. true or false. Step 1 excludes Class I if true. Table 2 +10 if true.","type":"boolean"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). Step 1 Class I requires <30. Table 2 +20 when ≥30; 29 does not score.","type":"integer"},"sex":{"description":"Sex (female or male). Women subtract 10 from the age points.","type":"string"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). Table 2 +20 when <130; 130 does not score. Not a Step 1 Class I item.","type":"number"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Step 1 Class I requires ≥90. Table 2 +20 when <90; 90 does not score.","type":"number"},"temperature_c":{"description":"Temperature in °C (30-45). Step 1 Class I requires ≥35 and <40. Table 2 +15 when <35 or ≥40; 35.0 and 39.9 do not score.","type":"number"}},"required":["age","sex","nursing_home","neoplastic","liver_disease","chf","cerebrovascular","renal_disease","altered_mental_status","heart_rate_bpm","respiratory_rate","systolic_mm_hg","temperature_c","arterial_ph","bun_mg_dl","sodium_mmol_l","glucose_mg_dl","hematocrit_percent","pao2_mm_hg","pleural_effusion"],"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":["psi-port","pneumonia","cap","severity","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:42:07.065Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:42:06.815Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":45,"altered_mental_status":false,"arterial_ph":7.4,"bun_mg_dl":14,"cerebrovascular":false,"chf":false,"glucose_mg_dl":90,"heart_rate_bpm":80,"hematocrit_percent":42,"liver_disease":false,"neoplastic":false,"nursing_home":false,"pao2_mm_hg":90,"pleural_effusion":false,"renal_disease":false,"respiratory_rate":16,"sex":"male","sodium_mmol_l":140,"systolic_mm_hg":120,"temperature_c":37},{"age":45,"altered_mental_status":false,"arterial_ph":7.4,"bun_mg_dl":14,"cerebrovascular":false,"chf":false,"glucose_mg_dl":90,"heart_rate_bpm":80,"hematocrit_percent":42,"liver_disease":false,"neoplastic":false,"nursing_home":false,"pao2_mm_hg":90,"pleural_effusion":false,"renal_disease":false,"respiratory_rate":16,"sex":"male","sodium_mmol_l":140,"systolic_mm_hg":120,"temperature_c":37}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":45,"citation":{"authors":"Fine MJ, Auble TE, Yealy DM, et al.","doi":"10.1056/NEJM199701233360402","id":"fine-1997","pmid":"8995086","source":"N Engl J Med. 1997;336(4):243-250","title":"A prediction rule to identify low-risk patients with community-acquired pneumonia"},"components":[{"factor":"age","points":45,"present":true,"value":45},{"factor":"nursing_home","points":0,"present":false},{"factor":"neoplastic","points":0,"present":false},{"factor":"liver_disease","points":0,"present":false},{"factor":"chf","points":0,"present":false},{"factor":"cerebrovascular","points":0,"present":false},{"factor":"renal_disease","points":0,"present":false},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"respiratory_rate_ge_30","points":0,"present":false,"value":16},{"factor":"systolic_mm_hg_lt_90","points":0,"present":false,"value":120},{"factor":"temperature_extreme","points":0,"present":false,"value":37},{"factor":"heart_rate_ge_125","points":0,"present":false,"value":80},{"factor":"arterial_ph_lt_7_35","points":0,"present":false,"value":7.4},{"factor":"bun_ge_30","points":0,"present":false,"value":14},{"factor":"sodium_lt_130","points":0,"present":false,"value":140},{"factor":"glucose_ge_250","points":0,"present":false,"value":90},{"factor":"hematocrit_lt_30","points":0,"present":false,"value":42},{"factor":"pao2_lt_60","points":0,"present":false,"value":90},{"factor":"pleural_effusion","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":"psi_port","formula_expression":"PSI/PORT two-step (Fine 1997): Class I if age<=50 and no neoplastic, liver, CHF, cerebrovascular, renal, AMS and HR<125, RR<30, SBP>=90, temp>=35 and <40; else Table 2 points: age (men) or age-10 (women) + nursing_home 10 + neoplastic 30 + liver 20 + CHF 10 + cerebrovascular 10 + renal 10 + AMS 20 + RR>=30 20 + SBP<90 20 + (temp<35 or >=40) 15 + HR>=125 10 + pH<7.35 30 + BUN>=30 20 + Na<130 20 + glucose>=250 10 + Hct<30 10 + PaO2<60 10 + pleural_effusion 10; class I from step 1 else 2 if <=70, 3 if 71-90, 4 if 91-130, 5 if >130","risk_class":1,"score":45},{"age_years":45,"citation":{"authors":"Fine MJ, Auble TE, Yealy DM, et al.","doi":"10.1056/NEJM199701233360402","id":"fine-1997","pmid":"8995086","source":"N Engl J Med. 1997;336(4):243-250","title":"A prediction rule to identify low-risk patients with community-acquired pneumonia"},"components":[{"factor":"age","points":45,"present":true,"value":45},{"factor":"nursing_home","points":0,"present":false},{"factor":"neoplastic","points":0,"present":false},{"factor":"liver_disease","points":0,"present":false},{"factor":"chf","points":0,"present":false},{"factor":"cerebrovascular","points":0,"present":false},{"factor":"renal_disease","points":0,"present":false},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"respiratory_rate_ge_30","points":0,"present":false,"value":16},{"factor":"systolic_mm_hg_lt_90","points":0,"present":false,"value":120},{"factor":"temperature_extreme","points":0,"present":false,"value":37},{"factor":"heart_rate_ge_125","points":0,"present":false,"value":80},{"factor":"arterial_ph_lt_7_35","points":0,"present":false,"value":7.4},{"factor":"bun_ge_30","points":0,"present":false,"value":14},{"factor":"sodium_lt_130","points":0,"present":false,"value":140},{"factor":"glucose_ge_250","points":0,"present":false,"value":90},{"factor":"hematocrit_lt_30","points":0,"present":false,"value":42},{"factor":"pao2_lt_60","points":0,"present":false,"value":90},{"factor":"pleural_effusion","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":"psi_port","formula_expression":"PSI/PORT two-step (Fine 1997): Class I if age<=50 and no neoplastic, liver, CHF, cerebrovascular, renal, AMS and HR<125, RR<30, SBP>=90, temp>=35 and <40; else Table 2 points: age (men) or age-10 (women) + nursing_home 10 + neoplastic 30 + liver 20 + CHF 10 + cerebrovascular 10 + renal 10 + AMS 20 + RR>=30 20 + SBP<90 20 + (temp<35 or >=40) 15 + HR>=125 10 + pH<7.35 30 + BUN>=30 20 + Na<130 20 + glucose>=250 10 + Hct<30 10 + PaO2<60 10 + pleural_effusion 10; class I from step 1 else 2 if <=70, 3 if 71-90, 4 if 91-130, 5 if >130","risk_class":1,"score":45}],"path":"/api/calc/psi_port"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Table 2: men add the age integer; women add age − 10. Step 1 Class I requires age ≤50 (Fine: 50 years of age or younger).","type":"integer"},"altered_mental_status":{"description":"Altered mental status as assigned by the caller. true or false. Step 1 excludes Class I if true. Table 2 +20 if true.","type":"boolean"},"arterial_ph":{"description":"Arterial pH (6.80-7.80). Table 2 +30 when <7.35; 7.35 does not score. Not a Step 1 Class I item.","type":"number"},"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-200). Table 2 +20 when ≥30; 29.9 does not score. Not a Step 1 Class I item.","type":"number"},"cerebrovascular":{"description":"Cerebrovascular disease as assigned by the caller. true or false. Step 1 excludes Class I if true. Table 2 +10 if true.","type":"boolean"},"chf":{"description":"Congestive heart failure as assigned by the caller. true or false. Step 1 excludes Class I if true. Table 2 +10 if true.","type":"boolean"},"glucose_mg_dl":{"description":"Serum glucose in mg/dL (50-1000). Fine Table 2 is mg/dL only. Table 2 +10 when ≥250; 249 does not score. Not a Step 1 Class I item.","type":"number"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Step 1 Class I requires <125. Table 2 +10 when ≥125; 124 does not score.","type":"integer"},"hematocrit_percent":{"description":"Hematocrit percent (10-70). Table 2 +10 when <30; 30 does not score. Not a Step 1 Class I item.","type":"number"},"liver_disease":{"description":"Liver disease as assigned by the caller. true or false. Step 1 excludes Class I if true. Table 2 +20 if true.","type":"boolean"},"neoplastic":{"description":"Neoplastic disease as assigned by the caller. true or false. Step 1 excludes Class I if true. Table 2 +30 if true.","type":"boolean"},"nursing_home":{"description":"Nursing home resident as assigned by the caller. true or false. Table 2 +10 if true. Not a Step 1 Class I item.","type":"boolean"},"pao2_mm_hg":{"description":"Arterial PaO2 in mm Hg (20-700). Table 2 +10 when <60; 60 does not score. Not a Step 1 Class I item.","type":"number"},"pleural_effusion":{"description":"Pleural effusion as assigned by the caller. true or false. Table 2 +10 if true. Not a Step 1 Class I item.","type":"boolean"},"renal_disease":{"description":"Renal disease as assigned by the caller. true or false. Step 1 excludes Class I if true. Table 2 +10 if true.","type":"boolean"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). Step 1 Class I requires <30. Table 2 +20 when ≥30; 29 does not score.","type":"integer"},"sex":{"description":"Sex (female or male). Women subtract 10 from the age points.","type":"string"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). Table 2 +20 when <130; 130 does not score. Not a Step 1 Class I item.","type":"number"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Step 1 Class I requires ≥90. Table 2 +20 when <90; 90 does not score.","type":"number"},"temperature_c":{"description":"Temperature in °C (30-45). Step 1 Class I requires ≥35 and <40. Table 2 +15 when <35 or ≥40; 35.0 and 39.9 do not score.","type":"number"}},"required":["age","sex","nursing_home","neoplastic","liver_disease","chf","cerebrovascular","renal_disease","altered_mental_status","heart_rate_bpm","respiratory_rate","systolic_mm_hg","temperature_c","arterial_ph","bun_mg_dl","sodium_mmol_l","glucose_mg_dl","hematocrit_percent","pao2_mm_hg","pleural_effusion"],"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},{"id":38942,"slug":"38942","resource":"https://api.magentlab.com/api/calc/psc_revised","description":"Kim 2000 revised natural history model for primary sclerosing cholangitis (no histologic stage). R = 0.03*age_years + 0.54*ln(bilirubin_mg_dL) + 0.54*ln(AST_U_L) + 1.24*variceal_bleeding - 0.84*albumin_g_dL. Natural log. Returns R only; does not look up unpublished survival percents or invent risk bands. Not a transplant listing, biopsy order, PSC diagnosis, or lab assay. Not the original Mayo PSC biopsy model.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":55,"albumin_g_dl":3,"ast_u_l":120,"bilirubin_mg_dl":5,"variceal_bleeding":true},{"age_years":55,"albumin_g_dl":3,"ast_u_l":120,"bilirubin_mg_dl":5,"variceal_bleeding":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":55,"albumin_g_dl":3,"ast_u_l":120,"bilirubin_mg_dl":5,"citation":{"authors":"Kim WR, Therneau TM, Wiesner RH, Poterucha JJ, Benson JT, Malinchoc M, LaRusso NF, Lindor KD, Dickson ER","doi":"10.4065/75.7.688","id":"kim-2000","pmid":"10907383","source":"Mayo Clin Proc. 2000;75(7):688-694","title":"A revised natural history model for primary sclerosing cholangitis"},"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":"kim_psc_revised_2000","formula_expression":"R = 0.03 * age_years + 0.54 * ln(bilirubin_mg_dl) + 0.54 * ln(ast_u_l) + 1.24 * variceal_bleeding - 0.84 * albumin_g_dl","r":3.82,"variceal_bleeding":true},{"age_years":55,"albumin_g_dl":3,"ast_u_l":120,"bilirubin_mg_dl":5,"citation":{"authors":"Kim WR, Therneau TM, Wiesner RH, Poterucha JJ, Benson JT, Malinchoc M, LaRusso NF, Lindor KD, Dickson ER","doi":"10.4065/75.7.688","id":"kim-2000","pmid":"10907383","source":"Mayo Clin Proc. 2000;75(7):688-694","title":"A revised natural history model for primary sclerosing cholangitis"},"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":"kim_psc_revised_2000","formula_expression":"R = 0.03 * age_years + 0.54 * ln(bilirubin_mg_dl) + 0.54 * ln(ast_u_l) + 1.24 * variceal_bleeding - 0.84 * albumin_g_dl","r":3.82,"variceal_bleeding":true}],"path":"/api/calc/psc_revised"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in whole years (18-120, magent clamp). Kim 2000 uses age in years in the R equation.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1.0-6.0, magent clamp). Must be positive. Kim 2000 uses g/dL. magent does not assay albumin.","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000, magent clamp). Must be positive. magent does not assay AST.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40, magent clamp). Must be positive; natural log is undefined at 0. Kim 2000 uses mg/dL. magent does not assay bilirubin.","type":"number"},"variceal_bleeding":{"description":"History of variceal bleeding as assigned by the caller (Kim 2000): true (1) or false (0). magent does not diagnose bleeding.","type":"boolean"}},"required":["age_years","bilirubin_mg_dl","ast_u_l","albumin_g_dl","variceal_bleeding"],"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":["psc","liver","kim-2000","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:42:05.689Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:42:05.538Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":55,"albumin_g_dl":3,"ast_u_l":120,"bilirubin_mg_dl":5,"variceal_bleeding":true},{"age_years":55,"albumin_g_dl":3,"ast_u_l":120,"bilirubin_mg_dl":5,"variceal_bleeding":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":55,"albumin_g_dl":3,"ast_u_l":120,"bilirubin_mg_dl":5,"citation":{"authors":"Kim WR, Therneau TM, Wiesner RH, Poterucha JJ, Benson JT, Malinchoc M, LaRusso NF, Lindor KD, Dickson ER","doi":"10.4065/75.7.688","id":"kim-2000","pmid":"10907383","source":"Mayo Clin Proc. 2000;75(7):688-694","title":"A revised natural history model for primary sclerosing cholangitis"},"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":"kim_psc_revised_2000","formula_expression":"R = 0.03 * age_years + 0.54 * ln(bilirubin_mg_dl) + 0.54 * ln(ast_u_l) + 1.24 * variceal_bleeding - 0.84 * albumin_g_dl","r":3.82,"variceal_bleeding":true},{"age_years":55,"albumin_g_dl":3,"ast_u_l":120,"bilirubin_mg_dl":5,"citation":{"authors":"Kim WR, Therneau TM, Wiesner RH, Poterucha JJ, Benson JT, Malinchoc M, LaRusso NF, Lindor KD, Dickson ER","doi":"10.4065/75.7.688","id":"kim-2000","pmid":"10907383","source":"Mayo Clin Proc. 2000;75(7):688-694","title":"A revised natural history model for primary sclerosing cholangitis"},"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":"kim_psc_revised_2000","formula_expression":"R = 0.03 * age_years + 0.54 * ln(bilirubin_mg_dl) + 0.54 * ln(ast_u_l) + 1.24 * variceal_bleeding - 0.84 * albumin_g_dl","r":3.82,"variceal_bleeding":true}],"path":"/api/calc/psc_revised"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in whole years (18-120, magent clamp). Kim 2000 uses age in years in the R equation.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1.0-6.0, magent clamp). Must be positive. Kim 2000 uses g/dL. magent does not assay albumin.","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000, magent clamp). Must be positive. magent does not assay AST.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40, magent clamp). Must be positive; natural log is undefined at 0. Kim 2000 uses mg/dL. magent does not assay bilirubin.","type":"number"},"variceal_bleeding":{"description":"History of variceal bleeding as assigned by the caller (Kim 2000): true (1) or false (0). magent does not diagnose bleeding.","type":"boolean"}},"required":["age_years","bilirubin_mg_dl","ast_u_l","albumin_g_dl","variceal_bleeding"],"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},{"id":38943,"slug":"38943","resource":"https://api.magentlab.com/api/calc/psadt","description":"Pound 1999 PSA doubling time from two rising PSA values: psadt_months = ln(2) x interval_months / ln(psa2_ng_ml / psa1_ng_ml), 1 decimal. PSA each 0.2-10000 ng/mL; psa2 must exceed psa1; interval_months 0.25-120. Reports the Pound split <=10 vs >10 months (exactly 10.0 is <=10). Two-point first-order kinetics only. magent does not measure PSA. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"interval_months":10,"psa1_ng_ml":0.4,"psa2_ng_ml":0.8},{"interval_months":10,"psa1_ng_ml":0.4,"psa2_ng_ml":0.8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Pound CR, Partin AW, Eisenberger MA, Chan DW, Pearson JD, Walsh PC","doi":"10.1001/jama.281.17.1591","id":"pound-1999","pmid":"10235151","source":"JAMA. 1999;281(17):1591-1597","title":"Natural history of progression after PSA elevation following radical prostatectomy"},"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":"psadt","formula_expression":"psadt_months = ln(2) × interval_months / ln(psa2_ng_ml / psa1_ng_ml)","interval_months":10,"pound_psadt_band":"<=10","psa1_ng_ml":0.4,"psa2_ng_ml":0.8,"psadt_months":10},{"citation":{"authors":"Pound CR, Partin AW, Eisenberger MA, Chan DW, Pearson JD, Walsh PC","doi":"10.1001/jama.281.17.1591","id":"pound-1999","pmid":"10235151","source":"JAMA. 1999;281(17):1591-1597","title":"Natural history of progression after PSA elevation following radical prostatectomy"},"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":"psadt","formula_expression":"psadt_months = ln(2) × interval_months / ln(psa2_ng_ml / psa1_ng_ml)","interval_months":10,"pound_psadt_band":"<=10","psa1_ng_ml":0.4,"psa2_ng_ml":0.8,"psadt_months":10}],"path":"/api/calc/psadt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"interval_months":{"description":"Months between the two PSA values (0.25-120, magent clamp). Pound 1999 does not publish an input band for this two-point tool.","type":"number"},"psa1_ng_ml":{"description":"Earlier serum PSA in ng/mL (0.2-10000). Pound biochemical recurrence used detectable PSA ≥0.2 ng/mL. magent does not measure PSA.","type":"number"},"psa2_ng_ml":{"description":"Later serum PSA in ng/mL (0.2-10000). Must be greater than psa1_ng_ml (rising). magent does not measure PSA.","type":"number"}},"required":["psa1_ng_ml","psa2_ng_ml","interval_months"],"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":["psadt","psa-doubling","prostate","kidney","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:36:32.402Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:36:32.287Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"interval_months":10,"psa1_ng_ml":0.4,"psa2_ng_ml":0.8},{"interval_months":10,"psa1_ng_ml":0.4,"psa2_ng_ml":0.8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Pound CR, Partin AW, Eisenberger MA, Chan DW, Pearson JD, Walsh PC","doi":"10.1001/jama.281.17.1591","id":"pound-1999","pmid":"10235151","source":"JAMA. 1999;281(17):1591-1597","title":"Natural history of progression after PSA elevation following radical prostatectomy"},"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":"psadt","formula_expression":"psadt_months = ln(2) × interval_months / ln(psa2_ng_ml / psa1_ng_ml)","interval_months":10,"pound_psadt_band":"<=10","psa1_ng_ml":0.4,"psa2_ng_ml":0.8,"psadt_months":10},{"citation":{"authors":"Pound CR, Partin AW, Eisenberger MA, Chan DW, Pearson JD, Walsh PC","doi":"10.1001/jama.281.17.1591","id":"pound-1999","pmid":"10235151","source":"JAMA. 1999;281(17):1591-1597","title":"Natural history of progression after PSA elevation following radical prostatectomy"},"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":"psadt","formula_expression":"psadt_months = ln(2) × interval_months / ln(psa2_ng_ml / psa1_ng_ml)","interval_months":10,"pound_psadt_band":"<=10","psa1_ng_ml":0.4,"psa2_ng_ml":0.8,"psadt_months":10}],"path":"/api/calc/psadt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"interval_months":{"description":"Months between the two PSA values (0.25-120, magent clamp). Pound 1999 does not publish an input band for this two-point tool.","type":"number"},"psa1_ng_ml":{"description":"Earlier serum PSA in ng/mL (0.2-10000). Pound biochemical recurrence used detectable PSA ≥0.2 ng/mL. magent does not measure PSA.","type":"number"},"psa2_ng_ml":{"description":"Later serum PSA in ng/mL (0.2-10000). Must be greater than psa1_ng_ml (rising). magent does not measure PSA.","type":"number"}},"required":["psa1_ng_ml","psa2_ng_ml","interval_months"],"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},{"id":38944,"slug":"38944","resource":"https://api.magentlab.com/api/calc/promise","description":"Psallidas 2018 Table 2A clinical PROMISE for malignant pleural effusion: chemo 0/4, radiotherapy 0/2, haemoglobin g/dL 0-4, WBC 10^9/L 0/2/4/7/10, CRP mg/L 0/3/5/8/11, ECOG 0-1=0 or 2-4=7, cancer mesothelioma 0 / other 4 / lung 5. Groups A 0-20 <25%, B 21-27, C 28-35, D >35 >=75% 3-month mortality. Not TIMP1. Not a treatment order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cancer_type":"other","chemotherapy":false,"crp_mg_l":20,"ecog":0,"haemoglobin_g_dl":15,"radiotherapy":false,"wbc":8},{"cancer_type":"other","chemotherapy":false,"crp_mg_l":20,"ecog":0,"haemoglobin_g_dl":15,"radiotherapy":false,"wbc":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cancer_type":"other","chemotherapy":false,"citation":{"authors":"Psallidas I, Kanellakis NI, Gerry S, et al.","doi":"10.1016/S1470-2045(18)30294-8","id":"psallidas-2018","pmid":"29908990","source":"Lancet Oncol. 2018;19(7):930-939","title":"Development and validation of response markers to predict survival and pleurodesis success in patients with malignant pleural effusion (PROMISE): a multicohort analysis"},"components":[{"factor":"chemotherapy","points":0,"present":false,"value":false},{"factor":"radiotherapy","points":0,"present":false,"value":false},{"factor":"haemoglobin","points":1,"present":true,"value":15},{"factor":"wbc","points":4,"present":true,"value":8},{"factor":"crp","points":5,"present":true,"value":20},{"factor":"ecog","points":0,"present":false,"value":0},{"factor":"cancer_type","points":4,"present":true,"value":"other"}],"crp_mg_l":20,"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.","ecog":0,"formula":"promise","formula_expression":"clinical PROMISE = previous_chemotherapy (no 0, yes 4) + previous_radiotherapy (no 0, yes 2) + haemoglobin_g_dl (≥16 → 0; 14 to <16 → 1; 12 to <14 → 2; 10 to <12 → 3; <10 → 4) + wbc_10e9_l (<4 → 0; 4 to <6.3 → 2; 6.3 to <10 → 4; 10 to <15.8 → 7; ≥15.8 → 10) + crp_mg_l (<3 → 0; 3 to <10 → 3; 10 to <32 → 5; 32 to <100 → 8; ≥100 → 11) + ECOG (0–1 → 0; 2–4 → 7) + cancer_type (mesothelioma → 0; other → 4; lung → 5); Psallidas 2018 Table 2A; groups A 0–20 <25% 3-month mortality, B 21–27 25% to <50%, C 28–35 50% to <75%, D >35 ≥75%","group":"A","haemoglobin_g_dl":15,"max_score":43,"radiotherapy":false,"score":14,"three_month_mortality":"<25%","wbc":8},{"cancer_type":"other","chemotherapy":false,"citation":{"authors":"Psallidas I, Kanellakis NI, Gerry S, et al.","doi":"10.1016/S1470-2045(18)30294-8","id":"psallidas-2018","pmid":"29908990","source":"Lancet Oncol. 2018;19(7):930-939","title":"Development and validation of response markers to predict survival and pleurodesis success in patients with malignant pleural effusion (PROMISE): a multicohort analysis"},"components":[{"factor":"chemotherapy","points":0,"present":false,"value":false},{"factor":"radiotherapy","points":0,"present":false,"value":false},{"factor":"haemoglobin","points":1,"present":true,"value":15},{"factor":"wbc","points":4,"present":true,"value":8},{"factor":"crp","points":5,"present":true,"value":20},{"factor":"ecog","points":0,"present":false,"value":0},{"factor":"cancer_type","points":4,"present":true,"value":"other"}],"crp_mg_l":20,"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.","ecog":0,"formula":"promise","formula_expression":"clinical PROMISE = previous_chemotherapy (no 0, yes 4) + previous_radiotherapy (no 0, yes 2) + haemoglobin_g_dl (≥16 → 0; 14 to <16 → 1; 12 to <14 → 2; 10 to <12 → 3; <10 → 4) + wbc_10e9_l (<4 → 0; 4 to <6.3 → 2; 6.3 to <10 → 4; 10 to <15.8 → 7; ≥15.8 → 10) + crp_mg_l (<3 → 0; 3 to <10 → 3; 10 to <32 → 5; 32 to <100 → 8; ≥100 → 11) + ECOG (0–1 → 0; 2–4 → 7) + cancer_type (mesothelioma → 0; other → 4; lung → 5); Psallidas 2018 Table 2A; groups A 0–20 <25% 3-month mortality, B 21–27 25% to <50%, C 28–35 50% to <75%, D >35 ≥75%","group":"A","haemoglobin_g_dl":15,"max_score":43,"radiotherapy":false,"score":14,"three_month_mortality":"<25%","wbc":8}],"path":"/api/calc/promise"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cancer_type":{"description":"Psallidas 2018 Table 2A cancer type as assigned by the caller. mesothelioma scores 0; other scores 4; lung scores 5. magent does not assign cancer type from histology text.","enum":["mesothelioma","lung","other"],"type":"string"},"chemotherapy":{"description":"Previous chemotherapy as assigned by the caller (Psallidas 2018 Table 2A). true or false. true scores 4; false scores 0. Not a chemotherapy order. magent does not read a treatment history.","type":"boolean"},"crp_mg_l":{"description":"Serum CRP in mg/L (0-500), not IU/L. Psallidas 2018 Table 2A: <3 scores 0; 3 to <10 scores 3; 10 to <32 scores 5; 32 to <100 scores 8; ≥100 scores 11. Caller-supplied; magent does not assay CRP or convert IU/L.","type":"number"},"ecog":{"description":"Oken 1982 ECOG performance status 0-4 as assigned by the caller. Psallidas 2018 Table 2A: 0-1 scores 0; 2-4 scores 7. Grade 5 (dead) is not scored. magent does not observe the patient or convert Karnofsky.","type":"integer"},"haemoglobin_g_dl":{"description":"Haemoglobin in g/dL (3-25). Psallidas 2018 Table 2A: ≥16 scores 0; 14 to <16 scores 1; 12 to <14 scores 2; 10 to <12 scores 3; <10 scores 4. Caller-supplied; magent does not assay haemoglobin.","type":"number"},"radiotherapy":{"description":"Previous radiotherapy as assigned by the caller (Psallidas 2018 Table 2A). true or false. true scores 2; false scores 0. Not a radiotherapy order. magent does not read a treatment history.","type":"boolean"},"wbc":{"description":"Serum white cell count as 10^9/L (0.1-80). Psallidas 2018 Table 2A: <4 scores 0; 4 to <6.3 scores 2; 6.3 to <10 scores 4; 10 to <15.8 scores 7; ≥15.8 scores 10. Caller-supplied; magent does not assay WBC.","type":"number"}},"required":["chemotherapy","radiotherapy","haemoglobin_g_dl","wbc","crp_mg_l","ecog","cancer_type"],"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":["promise","pleural","respiratory","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:36:31.892Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:36:31.768Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cancer_type":"other","chemotherapy":false,"crp_mg_l":20,"ecog":0,"haemoglobin_g_dl":15,"radiotherapy":false,"wbc":8},{"cancer_type":"other","chemotherapy":false,"crp_mg_l":20,"ecog":0,"haemoglobin_g_dl":15,"radiotherapy":false,"wbc":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cancer_type":"other","chemotherapy":false,"citation":{"authors":"Psallidas I, Kanellakis NI, Gerry S, et al.","doi":"10.1016/S1470-2045(18)30294-8","id":"psallidas-2018","pmid":"29908990","source":"Lancet Oncol. 2018;19(7):930-939","title":"Development and validation of response markers to predict survival and pleurodesis success in patients with malignant pleural effusion (PROMISE): a multicohort analysis"},"components":[{"factor":"chemotherapy","points":0,"present":false,"value":false},{"factor":"radiotherapy","points":0,"present":false,"value":false},{"factor":"haemoglobin","points":1,"present":true,"value":15},{"factor":"wbc","points":4,"present":true,"value":8},{"factor":"crp","points":5,"present":true,"value":20},{"factor":"ecog","points":0,"present":false,"value":0},{"factor":"cancer_type","points":4,"present":true,"value":"other"}],"crp_mg_l":20,"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.","ecog":0,"formula":"promise","formula_expression":"clinical PROMISE = previous_chemotherapy (no 0, yes 4) + previous_radiotherapy (no 0, yes 2) + haemoglobin_g_dl (≥16 → 0; 14 to <16 → 1; 12 to <14 → 2; 10 to <12 → 3; <10 → 4) + wbc_10e9_l (<4 → 0; 4 to <6.3 → 2; 6.3 to <10 → 4; 10 to <15.8 → 7; ≥15.8 → 10) + crp_mg_l (<3 → 0; 3 to <10 → 3; 10 to <32 → 5; 32 to <100 → 8; ≥100 → 11) + ECOG (0–1 → 0; 2–4 → 7) + cancer_type (mesothelioma → 0; other → 4; lung → 5); Psallidas 2018 Table 2A; groups A 0–20 <25% 3-month mortality, B 21–27 25% to <50%, C 28–35 50% to <75%, D >35 ≥75%","group":"A","haemoglobin_g_dl":15,"max_score":43,"radiotherapy":false,"score":14,"three_month_mortality":"<25%","wbc":8},{"cancer_type":"other","chemotherapy":false,"citation":{"authors":"Psallidas I, Kanellakis NI, Gerry S, et al.","doi":"10.1016/S1470-2045(18)30294-8","id":"psallidas-2018","pmid":"29908990","source":"Lancet Oncol. 2018;19(7):930-939","title":"Development and validation of response markers to predict survival and pleurodesis success in patients with malignant pleural effusion (PROMISE): a multicohort analysis"},"components":[{"factor":"chemotherapy","points":0,"present":false,"value":false},{"factor":"radiotherapy","points":0,"present":false,"value":false},{"factor":"haemoglobin","points":1,"present":true,"value":15},{"factor":"wbc","points":4,"present":true,"value":8},{"factor":"crp","points":5,"present":true,"value":20},{"factor":"ecog","points":0,"present":false,"value":0},{"factor":"cancer_type","points":4,"present":true,"value":"other"}],"crp_mg_l":20,"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.","ecog":0,"formula":"promise","formula_expression":"clinical PROMISE = previous_chemotherapy (no 0, yes 4) + previous_radiotherapy (no 0, yes 2) + haemoglobin_g_dl (≥16 → 0; 14 to <16 → 1; 12 to <14 → 2; 10 to <12 → 3; <10 → 4) + wbc_10e9_l (<4 → 0; 4 to <6.3 → 2; 6.3 to <10 → 4; 10 to <15.8 → 7; ≥15.8 → 10) + crp_mg_l (<3 → 0; 3 to <10 → 3; 10 to <32 → 5; 32 to <100 → 8; ≥100 → 11) + ECOG (0–1 → 0; 2–4 → 7) + cancer_type (mesothelioma → 0; other → 4; lung → 5); Psallidas 2018 Table 2A; groups A 0–20 <25% 3-month mortality, B 21–27 25% to <50%, C 28–35 50% to <75%, D >35 ≥75%","group":"A","haemoglobin_g_dl":15,"max_score":43,"radiotherapy":false,"score":14,"three_month_mortality":"<25%","wbc":8}],"path":"/api/calc/promise"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cancer_type":{"description":"Psallidas 2018 Table 2A cancer type as assigned by the caller. mesothelioma scores 0; other scores 4; lung scores 5. magent does not assign cancer type from histology text.","enum":["mesothelioma","lung","other"],"type":"string"},"chemotherapy":{"description":"Previous chemotherapy as assigned by the caller (Psallidas 2018 Table 2A). true or false. true scores 4; false scores 0. Not a chemotherapy order. magent does not read a treatment history.","type":"boolean"},"crp_mg_l":{"description":"Serum CRP in mg/L (0-500), not IU/L. Psallidas 2018 Table 2A: <3 scores 0; 3 to <10 scores 3; 10 to <32 scores 5; 32 to <100 scores 8; ≥100 scores 11. Caller-supplied; magent does not assay CRP or convert IU/L.","type":"number"},"ecog":{"description":"Oken 1982 ECOG performance status 0-4 as assigned by the caller. Psallidas 2018 Table 2A: 0-1 scores 0; 2-4 scores 7. Grade 5 (dead) is not scored. magent does not observe the patient or convert Karnofsky.","type":"integer"},"haemoglobin_g_dl":{"description":"Haemoglobin in g/dL (3-25). Psallidas 2018 Table 2A: ≥16 scores 0; 14 to <16 scores 1; 12 to <14 scores 2; 10 to <12 scores 3; <10 scores 4. Caller-supplied; magent does not assay haemoglobin.","type":"number"},"radiotherapy":{"description":"Previous radiotherapy as assigned by the caller (Psallidas 2018 Table 2A). true or false. true scores 2; false scores 0. Not a radiotherapy order. magent does not read a treatment history.","type":"boolean"},"wbc":{"description":"Serum white cell count as 10^9/L (0.1-80). Psallidas 2018 Table 2A: <4 scores 0; 4 to <6.3 scores 2; 6.3 to <10 scores 4; 10 to <15.8 scores 7; ≥15.8 scores 10. Caller-supplied; magent does not assay WBC.","type":"number"}},"required":["chemotherapy","radiotherapy","haemoglobin_g_dl","wbc","crp_mg_l","ecog","cancer_type"],"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},{"id":38945,"slug":"38945","resource":"https://api.magentlab.com/api/calc/priest","description":"Goodacre 2021 PRIEST: NEWS2 Chart 1 Scale 1 vitals (RR, SpO2 Scale 1 only, oxygen +2, temperature, SBP, HR) + alertness (alert 0; confused_or_not_alert 3) + sex (male 1) + age (16–49→0, 50–65→2, 66–80→3, >80→4) + performance 0–4. Max 29. low_adverse_outcome_risk iff score ≤4. Not NEWS2, not 4C, not an admission order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":70,"alertness":"alert","heart_rate_bpm":70,"performance_status":"unrestricted","respiratory_rate":16,"sex":"male","spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37},{"age_years":70,"alertness":"alert","heart_rate_bpm":70,"performance_status":"unrestricted","respiratory_rate":16,"sex":"male","spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"alertness":"alert","citation":{"authors":"Goodacre S, Thomas B, Sutton L, et al.","doi":"10.1371/journal.pone.0245840","id":"goodacre-2021","pmid":"33481930","source":"PLoS One. 2021;16(1):e0245840","title":"Derivation and validation of a clinical severity score for acutely ill adults with suspected COVID-19: The PRIEST observational cohort study"},"components":[{"factor":"age_years","points":3,"present":true,"value":70},{"factor":"sex","points":1,"present":true,"value":"male"},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"heart_rate_bpm","points":0,"present":false,"value":70},{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"alertness","points":0,"present":false,"value":"alert"},{"factor":"supplemental_oxygen","points":0,"present":false,"value":false},{"factor":"performance_status","points":0,"present":false,"value":"unrestricted"}],"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":"priest","formula_expression":"PRIEST = rr_points + spo2_scale1_points + oxygen_points + temp_points + sbp_points + hr_points + alertness_points + sex_points + age_points + performance_points; NEWS2 Chart 1 Scale 1 vitals (not Scale 2) + age + sex + performance; Goodacre 2021 Fig 2; max 29; low_adverse_outcome_risk iff score ≤4","heart_rate_bpm":70,"low_adverse_outcome_risk":true,"max_score":29,"performance_status":"unrestricted","respiratory_rate":16,"score":4,"sex":"male","spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37},{"age_years":70,"alertness":"alert","citation":{"authors":"Goodacre S, Thomas B, Sutton L, et al.","doi":"10.1371/journal.pone.0245840","id":"goodacre-2021","pmid":"33481930","source":"PLoS One. 2021;16(1):e0245840","title":"Derivation and validation of a clinical severity score for acutely ill adults with suspected COVID-19: The PRIEST observational cohort study"},"components":[{"factor":"age_years","points":3,"present":true,"value":70},{"factor":"sex","points":1,"present":true,"value":"male"},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"heart_rate_bpm","points":0,"present":false,"value":70},{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"alertness","points":0,"present":false,"value":"alert"},{"factor":"supplemental_oxygen","points":0,"present":false,"value":false},{"factor":"performance_status","points":0,"present":false,"value":"unrestricted"}],"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":"priest","formula_expression":"PRIEST = rr_points + spo2_scale1_points + oxygen_points + temp_points + sbp_points + hr_points + alertness_points + sex_points + age_points + performance_points; NEWS2 Chart 1 Scale 1 vitals (not Scale 2) + age + sex + performance; Goodacre 2021 Fig 2; max 29; low_adverse_outcome_risk iff score ≤4","heart_rate_bpm":70,"low_adverse_outcome_risk":true,"max_score":29,"performance_status":"unrestricted","respiratory_rate":16,"score":4,"sex":"male","spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37}],"path":"/api/calc/priest"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (integer 16-120). Goodacre 2021 PRIEST: 16-49 → 0; 50-65 → 2; 66-80 → 3; >80 → 4. Age 80 scores 3; age 81 scores 4.","type":"integer"},"alertness":{"description":"Caller-assigned alertness (alert or confused_or_not_alert). Goodacre 2021 PRIEST: alert → 0; confused_or_not_alert → 3. Not full ACVPU and not GCS.","enum":["alert","confused_or_not_alert"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). NEWS2 Chart 1: 51-90 → 0; 41-50 or 91-110 → 1; 111-130 → 2; <41 or >130 → 3.","type":"integer"},"performance_status":{"description":"Caller-assigned performance (unrestricted, limited_strenuous, limited_activity, limited_self_care, or bed_chair_bound). Goodacre 2021: unrestricted → 0; limited strenuous activity, can do light activity → 1; limited activity, can self-care → 2; limited self-care → 3; bed/chair bound, no self-care → 4.","enum":["unrestricted","limited_strenuous","limited_activity","limited_self_care","bed_chair_bound"],"type":"string"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 0-80). NEWS2 Chart 1 Scale 1 as used in PRIEST: 12-20 → 0; 9-11 → 1; 21-24 → 2; <9 or >24 → 3.","type":"integer"},"sex":{"description":"Sex (female or male). Goodacre 2021 PRIEST: female → 0; male → 1.","enum":["female","male"],"type":"string"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). NEWS2 Chart 1 Scale 1 only: >95 → 0; 94-95 → 1; 92-93 → 2; <92 → 3. magent does not implement NEWS2 SpO2 Scale 2.","type":"number"},"supplemental_oxygen":{"description":"Any supplemental oxygen as assigned by the caller (true or false). NEWS2 Chart 1 inspired oxygen: air/false → 0; supplemental/true → 2.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (integer 0-300). NEWS2 Chart 1: 111-219 → 0; 101-110 → 1; 91-100 → 2; <91 or >219 → 3.","type":"integer"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). NEWS2 Chart 1: 36.1-38.0 → 0; 35.1-36.0 or 38.1-39.0 → 1; >39.0 → 2; <35.1 → 3. magent does not convert Fahrenheit.","type":"number"}},"required":["age_years","sex","respiratory_rate","spo2_percent","heart_rate_bpm","systolic_mm_hg","temperature_c","alertness","supplemental_oxygen","performance_status"],"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":["priest","covid-19","severity","news2-scale-1","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:36:31.032Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:36:30.887Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":70,"alertness":"alert","heart_rate_bpm":70,"performance_status":"unrestricted","respiratory_rate":16,"sex":"male","spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37},{"age_years":70,"alertness":"alert","heart_rate_bpm":70,"performance_status":"unrestricted","respiratory_rate":16,"sex":"male","spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"alertness":"alert","citation":{"authors":"Goodacre S, Thomas B, Sutton L, et al.","doi":"10.1371/journal.pone.0245840","id":"goodacre-2021","pmid":"33481930","source":"PLoS One. 2021;16(1):e0245840","title":"Derivation and validation of a clinical severity score for acutely ill adults with suspected COVID-19: The PRIEST observational cohort study"},"components":[{"factor":"age_years","points":3,"present":true,"value":70},{"factor":"sex","points":1,"present":true,"value":"male"},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"heart_rate_bpm","points":0,"present":false,"value":70},{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"alertness","points":0,"present":false,"value":"alert"},{"factor":"supplemental_oxygen","points":0,"present":false,"value":false},{"factor":"performance_status","points":0,"present":false,"value":"unrestricted"}],"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":"priest","formula_expression":"PRIEST = rr_points + spo2_scale1_points + oxygen_points + temp_points + sbp_points + hr_points + alertness_points + sex_points + age_points + performance_points; NEWS2 Chart 1 Scale 1 vitals (not Scale 2) + age + sex + performance; Goodacre 2021 Fig 2; max 29; low_adverse_outcome_risk iff score ≤4","heart_rate_bpm":70,"low_adverse_outcome_risk":true,"max_score":29,"performance_status":"unrestricted","respiratory_rate":16,"score":4,"sex":"male","spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37},{"age_years":70,"alertness":"alert","citation":{"authors":"Goodacre S, Thomas B, Sutton L, et al.","doi":"10.1371/journal.pone.0245840","id":"goodacre-2021","pmid":"33481930","source":"PLoS One. 2021;16(1):e0245840","title":"Derivation and validation of a clinical severity score for acutely ill adults with suspected COVID-19: The PRIEST observational cohort study"},"components":[{"factor":"age_years","points":3,"present":true,"value":70},{"factor":"sex","points":1,"present":true,"value":"male"},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"heart_rate_bpm","points":0,"present":false,"value":70},{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"alertness","points":0,"present":false,"value":"alert"},{"factor":"supplemental_oxygen","points":0,"present":false,"value":false},{"factor":"performance_status","points":0,"present":false,"value":"unrestricted"}],"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":"priest","formula_expression":"PRIEST = rr_points + spo2_scale1_points + oxygen_points + temp_points + sbp_points + hr_points + alertness_points + sex_points + age_points + performance_points; NEWS2 Chart 1 Scale 1 vitals (not Scale 2) + age + sex + performance; Goodacre 2021 Fig 2; max 29; low_adverse_outcome_risk iff score ≤4","heart_rate_bpm":70,"low_adverse_outcome_risk":true,"max_score":29,"performance_status":"unrestricted","respiratory_rate":16,"score":4,"sex":"male","spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37}],"path":"/api/calc/priest"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (integer 16-120). Goodacre 2021 PRIEST: 16-49 → 0; 50-65 → 2; 66-80 → 3; >80 → 4. Age 80 scores 3; age 81 scores 4.","type":"integer"},"alertness":{"description":"Caller-assigned alertness (alert or confused_or_not_alert). Goodacre 2021 PRIEST: alert → 0; confused_or_not_alert → 3. Not full ACVPU and not GCS.","enum":["alert","confused_or_not_alert"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). NEWS2 Chart 1: 51-90 → 0; 41-50 or 91-110 → 1; 111-130 → 2; <41 or >130 → 3.","type":"integer"},"performance_status":{"description":"Caller-assigned performance (unrestricted, limited_strenuous, limited_activity, limited_self_care, or bed_chair_bound). Goodacre 2021: unrestricted → 0; limited strenuous activity, can do light activity → 1; limited activity, can self-care → 2; limited self-care → 3; bed/chair bound, no self-care → 4.","enum":["unrestricted","limited_strenuous","limited_activity","limited_self_care","bed_chair_bound"],"type":"string"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 0-80). NEWS2 Chart 1 Scale 1 as used in PRIEST: 12-20 → 0; 9-11 → 1; 21-24 → 2; <9 or >24 → 3.","type":"integer"},"sex":{"description":"Sex (female or male). Goodacre 2021 PRIEST: female → 0; male → 1.","enum":["female","male"],"type":"string"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). NEWS2 Chart 1 Scale 1 only: >95 → 0; 94-95 → 1; 92-93 → 2; <92 → 3. magent does not implement NEWS2 SpO2 Scale 2.","type":"number"},"supplemental_oxygen":{"description":"Any supplemental oxygen as assigned by the caller (true or false). NEWS2 Chart 1 inspired oxygen: air/false → 0; supplemental/true → 2.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (integer 0-300). NEWS2 Chart 1: 111-219 → 0; 101-110 → 1; 91-100 → 2; <91 or >219 → 3.","type":"integer"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). NEWS2 Chart 1: 36.1-38.0 → 0; 35.1-36.0 or 38.1-39.0 → 1; >39.0 → 2; <35.1 → 3. magent does not convert Fahrenheit.","type":"number"}},"required":["age_years","sex","respiratory_rate","spo2_percent","heart_rate_bpm","systolic_mm_hg","temperature_c","alertness","supplemental_oxygen","performance_status"],"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},{"id":38946,"slug":"38946","resource":"https://api.magentlab.com/api/calc/prevail","description":"Armstrong 2018 PREVAIL Cox linear predictor for overall survival in chemotherapy-naïve metastatic castration-resistant prostate cancer from albumin, ALP versus ULN, bone metastases under 10, hemoglobin, LDH versus ULN, NLR under 2.5, pain 0-1, liver metastases, ln(PSA), months from diagnosis, and enzalutamide versus placebo. Table 1 HRs as ln(HR). Not a 1-/2-/3-year OS percent (no published S0). magent does not read bone scans. Not a dose or treatment order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":4,"alp_below_uln":true,"bone_mets_lt_10":true,"hemoglobin_g_dl":13,"ldh_below_uln":true,"months_since_diagnosis":60,"nlr_lt_2_5":true,"no_liver_metastases":true,"pain_0_to_1":true,"psa_ng_ml":20,"treatment_enzalutamide":true},{"albumin_g_dl":4,"alp_below_uln":true,"bone_mets_lt_10":true,"hemoglobin_g_dl":13,"ldh_below_uln":true,"months_since_diagnosis":60,"nlr_lt_2_5":true,"no_liver_metastases":true,"pain_0_to_1":true,"psa_ng_ml":20,"treatment_enzalutamide":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":4,"alp_below_uln":true,"bone_mets_lt_10":true,"citation":{"authors":"Armstrong AJ, Lin P, Higano CS, et al.","doi":"10.1093/annonc/mdy406","id":"armstrong-2018-prevail","pmid":"30202945","source":"Ann Oncol. 2018;29(11):2200-2209","title":"Development and validation of a prognostic model for overall survival in chemotherapy-naïve men with metastatic castration-resistant prostate cancer"},"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":"prevail","formula_expression":"lp = ln(0.71)*albumin_g_dl + ln(0.79)*alp_below_uln + ln(0.68)*bone_mets_lt_10 + ln(0.85)*hemoglobin_g_dl + ln(0.67)*ldh_below_uln + ln(0.69)*nlr_lt_2_5 + ln(0.77)*pain_0_to_1 + ln(0.49)*no_liver_metastases + ln(1.23)*ln(psa_ng_ml) + ln(0.997)*months_since_diagnosis + ln(0.68)*treatment_enzalutamide; Armstrong 2018 Table 1 multivariable HRs, β = ln(HR); A versus B codes A as 1; booleans contribute β when true else 0; no printed S0; not 1-/2-/3-year OS percents; not nomogram points; training-set tertiles unpublished as numeric cutoffs; chemotherapy-naïve mCRPC PREVAIL; magent does not read bone scans","hemoglobin_g_dl":13,"ldh_below_uln":true,"linear_predictor":-5.796122,"months_since_diagnosis":60,"nlr_lt_2_5":true,"no_liver_metastases":true,"pain_0_to_1":true,"psa_ng_ml":20,"risk_score":-5.796122,"treatment_enzalutamide":true},{"albumin_g_dl":4,"alp_below_uln":true,"bone_mets_lt_10":true,"citation":{"authors":"Armstrong AJ, Lin P, Higano CS, et al.","doi":"10.1093/annonc/mdy406","id":"armstrong-2018-prevail","pmid":"30202945","source":"Ann Oncol. 2018;29(11):2200-2209","title":"Development and validation of a prognostic model for overall survival in chemotherapy-naïve men with metastatic castration-resistant prostate cancer"},"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":"prevail","formula_expression":"lp = ln(0.71)*albumin_g_dl + ln(0.79)*alp_below_uln + ln(0.68)*bone_mets_lt_10 + ln(0.85)*hemoglobin_g_dl + ln(0.67)*ldh_below_uln + ln(0.69)*nlr_lt_2_5 + ln(0.77)*pain_0_to_1 + ln(0.49)*no_liver_metastases + ln(1.23)*ln(psa_ng_ml) + ln(0.997)*months_since_diagnosis + ln(0.68)*treatment_enzalutamide; Armstrong 2018 Table 1 multivariable HRs, β = ln(HR); A versus B codes A as 1; booleans contribute β when true else 0; no printed S0; not 1-/2-/3-year OS percents; not nomogram points; training-set tertiles unpublished as numeric cutoffs; chemotherapy-naïve mCRPC PREVAIL; magent does not read bone scans","hemoglobin_g_dl":13,"ldh_below_uln":true,"linear_predictor":-5.796122,"months_since_diagnosis":60,"nlr_lt_2_5":true,"no_liver_metastases":true,"pain_0_to_1":true,"psa_ng_ml":20,"risk_score":-5.796122,"treatment_enzalutamide":true}],"path":"/api/calc/prevail"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1.0-6.5). Armstrong 2018 Table 1: continuous, HR 0.71 per g/dL. magent does not assay albumin.","type":"number"},"alp_below_uln":{"description":"Alkaline phosphatase below the institutional ULN as assigned by the caller (true or false). Table 1: true (<ULN versus ≥ULN) has HR 0.79. magent does not assay ALP or apply ULN.","type":"boolean"},"bone_mets_lt_10":{"description":"Fewer than 10 bone metastases as assigned by the caller (true or false). Table 1: true (<10 versus ≥10) has HR 0.68. magent does not read bone scans.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3.0-22.0). Table 1: continuous, HR 0.85 per g/dL. magent does not assay hemoglobin.","type":"number"},"ldh_below_uln":{"description":"Lactate dehydrogenase below the institutional ULN as assigned by the caller (true or false). Table 1: true (<ULN versus ≥1×ULN) has HR 0.67. magent does not assay LDH or apply ULN.","type":"boolean"},"months_since_diagnosis":{"description":"Time from diagnosis to randomization in months (0-720). Table 1: continuous, HR 0.997 per month. magent does not date the interval.","type":"number"},"nlr_lt_2_5":{"description":"Neutrophil-to-lymphocyte ratio <2.5 as assigned by the caller (true or false). Table 1: true (<2.5 versus ≥2.5) has HR 0.69. magent does not compute NLR from counts.","type":"boolean"},"no_liver_metastases":{"description":"No liver metastases as assigned by the caller (true or false). Table 1 pattern of spread: true (no liver metastases versus any liver metastases) has HR 0.49. magent does not read imaging.","type":"boolean"},"pain_0_to_1":{"description":"Pain score 0-1 versus ≥2 on the paper's linear scale, as assigned by the caller (true or false). Table 1: true (0-1 versus ≥2) has HR 0.77. magent does not assign pain scores.","type":"boolean"},"psa_ng_ml":{"description":"Baseline PSA in ng/mL (0.1-10000). Table 1: continuous log_e PSA, HR 1.23 per ln(ng/mL). magent does not assay PSA.","type":"number"},"treatment_enzalutamide":{"description":"true if the PREVAIL treatment term is enzalutamide, false if placebo. Table 1: true (enzalutamide versus placebo) has HR 0.68. Not a dose or treatment order.","type":"boolean"}},"required":["albumin_g_dl","alp_below_uln","bone_mets_lt_10","hemoglobin_g_dl","ldh_below_uln","nlr_lt_2_5","pain_0_to_1","no_liver_metastases","psa_ng_ml","months_since_diagnosis","treatment_enzalutamide"],"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":["prevail","mcrpc","prostate-cancer","survival","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:32:55.349Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:32:55.215Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":4,"alp_below_uln":true,"bone_mets_lt_10":true,"hemoglobin_g_dl":13,"ldh_below_uln":true,"months_since_diagnosis":60,"nlr_lt_2_5":true,"no_liver_metastases":true,"pain_0_to_1":true,"psa_ng_ml":20,"treatment_enzalutamide":true},{"albumin_g_dl":4,"alp_below_uln":true,"bone_mets_lt_10":true,"hemoglobin_g_dl":13,"ldh_below_uln":true,"months_since_diagnosis":60,"nlr_lt_2_5":true,"no_liver_metastases":true,"pain_0_to_1":true,"psa_ng_ml":20,"treatment_enzalutamide":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":4,"alp_below_uln":true,"bone_mets_lt_10":true,"citation":{"authors":"Armstrong AJ, Lin P, Higano CS, et al.","doi":"10.1093/annonc/mdy406","id":"armstrong-2018-prevail","pmid":"30202945","source":"Ann Oncol. 2018;29(11):2200-2209","title":"Development and validation of a prognostic model for overall survival in chemotherapy-naïve men with metastatic castration-resistant prostate cancer"},"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":"prevail","formula_expression":"lp = ln(0.71)*albumin_g_dl + ln(0.79)*alp_below_uln + ln(0.68)*bone_mets_lt_10 + ln(0.85)*hemoglobin_g_dl + ln(0.67)*ldh_below_uln + ln(0.69)*nlr_lt_2_5 + ln(0.77)*pain_0_to_1 + ln(0.49)*no_liver_metastases + ln(1.23)*ln(psa_ng_ml) + ln(0.997)*months_since_diagnosis + ln(0.68)*treatment_enzalutamide; Armstrong 2018 Table 1 multivariable HRs, β = ln(HR); A versus B codes A as 1; booleans contribute β when true else 0; no printed S0; not 1-/2-/3-year OS percents; not nomogram points; training-set tertiles unpublished as numeric cutoffs; chemotherapy-naïve mCRPC PREVAIL; magent does not read bone scans","hemoglobin_g_dl":13,"ldh_below_uln":true,"linear_predictor":-5.796122,"months_since_diagnosis":60,"nlr_lt_2_5":true,"no_liver_metastases":true,"pain_0_to_1":true,"psa_ng_ml":20,"risk_score":-5.796122,"treatment_enzalutamide":true},{"albumin_g_dl":4,"alp_below_uln":true,"bone_mets_lt_10":true,"citation":{"authors":"Armstrong AJ, Lin P, Higano CS, et al.","doi":"10.1093/annonc/mdy406","id":"armstrong-2018-prevail","pmid":"30202945","source":"Ann Oncol. 2018;29(11):2200-2209","title":"Development and validation of a prognostic model for overall survival in chemotherapy-naïve men with metastatic castration-resistant prostate cancer"},"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":"prevail","formula_expression":"lp = ln(0.71)*albumin_g_dl + ln(0.79)*alp_below_uln + ln(0.68)*bone_mets_lt_10 + ln(0.85)*hemoglobin_g_dl + ln(0.67)*ldh_below_uln + ln(0.69)*nlr_lt_2_5 + ln(0.77)*pain_0_to_1 + ln(0.49)*no_liver_metastases + ln(1.23)*ln(psa_ng_ml) + ln(0.997)*months_since_diagnosis + ln(0.68)*treatment_enzalutamide; Armstrong 2018 Table 1 multivariable HRs, β = ln(HR); A versus B codes A as 1; booleans contribute β when true else 0; no printed S0; not 1-/2-/3-year OS percents; not nomogram points; training-set tertiles unpublished as numeric cutoffs; chemotherapy-naïve mCRPC PREVAIL; magent does not read bone scans","hemoglobin_g_dl":13,"ldh_below_uln":true,"linear_predictor":-5.796122,"months_since_diagnosis":60,"nlr_lt_2_5":true,"no_liver_metastases":true,"pain_0_to_1":true,"psa_ng_ml":20,"risk_score":-5.796122,"treatment_enzalutamide":true}],"path":"/api/calc/prevail"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1.0-6.5). Armstrong 2018 Table 1: continuous, HR 0.71 per g/dL. magent does not assay albumin.","type":"number"},"alp_below_uln":{"description":"Alkaline phosphatase below the institutional ULN as assigned by the caller (true or false). Table 1: true (<ULN versus ≥ULN) has HR 0.79. magent does not assay ALP or apply ULN.","type":"boolean"},"bone_mets_lt_10":{"description":"Fewer than 10 bone metastases as assigned by the caller (true or false). Table 1: true (<10 versus ≥10) has HR 0.68. magent does not read bone scans.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3.0-22.0). Table 1: continuous, HR 0.85 per g/dL. magent does not assay hemoglobin.","type":"number"},"ldh_below_uln":{"description":"Lactate dehydrogenase below the institutional ULN as assigned by the caller (true or false). Table 1: true (<ULN versus ≥1×ULN) has HR 0.67. magent does not assay LDH or apply ULN.","type":"boolean"},"months_since_diagnosis":{"description":"Time from diagnosis to randomization in months (0-720). Table 1: continuous, HR 0.997 per month. magent does not date the interval.","type":"number"},"nlr_lt_2_5":{"description":"Neutrophil-to-lymphocyte ratio <2.5 as assigned by the caller (true or false). Table 1: true (<2.5 versus ≥2.5) has HR 0.69. magent does not compute NLR from counts.","type":"boolean"},"no_liver_metastases":{"description":"No liver metastases as assigned by the caller (true or false). Table 1 pattern of spread: true (no liver metastases versus any liver metastases) has HR 0.49. magent does not read imaging.","type":"boolean"},"pain_0_to_1":{"description":"Pain score 0-1 versus ≥2 on the paper's linear scale, as assigned by the caller (true or false). Table 1: true (0-1 versus ≥2) has HR 0.77. magent does not assign pain scores.","type":"boolean"},"psa_ng_ml":{"description":"Baseline PSA in ng/mL (0.1-10000). Table 1: continuous log_e PSA, HR 1.23 per ln(ng/mL). magent does not assay PSA.","type":"number"},"treatment_enzalutamide":{"description":"true if the PREVAIL treatment term is enzalutamide, false if placebo. Table 1: true (enzalutamide versus placebo) has HR 0.68. Not a dose or treatment order.","type":"boolean"}},"required":["albumin_g_dl","alp_below_uln","bone_mets_lt_10","hemoglobin_g_dl","ldh_below_uln","nlr_lt_2_5","pain_0_to_1","no_liver_metastases","psa_ng_ml","months_since_diagnosis","treatment_enzalutamide"],"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},{"id":38947,"slug":"38947","resource":"https://api.magentlab.com/api/calc/preset","description":"Hilder 2017 PRESET-Score: five Table 4 items (MAP mm Hg, lactate mmol/L, arterial pH, platelets k/uL, hospital days pre-ECMO) summed 0-15. Returns class I (0-5, 26% ICU mortality), II (6-9, 68%), or III (10-15, 93%) from the derivation cohort. Deterministic published arithmetic with citation; not a cannulation order; magent does not assay labs. Not RESP or SAVE.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"arterial_ph":7.4,"hospital_days_pre_ecmo":1,"lactate_mmol_l":1,"mean_arterial_pressure_mm_hg":110,"platelets_k_ul":250},{"arterial_ph":7.4,"hospital_days_pre_ecmo":1,"lactate_mmol_l":1,"mean_arterial_pressure_mm_hg":110,"platelets_k_ul":250}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arterial_ph":7.4,"citation":{"authors":"Hilder M, Herbstreit F, Adamzik M, et al.","doi":"10.1186/s13054-017-1888-6","id":"hilder-2017","pmid":"29233160","source":"Crit Care. 2017;21(1):301","title":"Comparison of mortality prediction models in acute respiratory distress syndrome undergoing extracorporeal membrane oxygenation and development of a novel prediction score: the PREdiction of Survival on ECMO Therapy-Score (PRESET-Score)"},"components":[{"factor":"mean_arterial_pressure_mm_hg","points":0,"present":false,"value":110},{"factor":"lactate_mmol_l","points":0,"present":false,"value":1},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"platelets_k_ul","points":0,"present":false,"value":250},{"factor":"hospital_days_pre_ecmo","points":0,"present":false,"value":1}],"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":"preset","formula_expression":"PRESET = map_points + lactate_points + ph_points + platelet_points + hospital_days_points; Hilder 2017 Table 4; MAP >100 → 0, 91-100 → 1, 81-90 → 2, 71-80 → 3, ≤70 → 4; lactate ≤1.50 → 0, 1.51-3.00 → 1, 3.01-6.00 → 2, 6.01-10.00 → 3, >10.00 → 4; arterial pH >7.300 → 0, 7.201-7.300 → 1, 7.101-7.200 → 2, ≤7.100 → 3; platelets >200 → 0, 101-200 → 1, ≤100 → 2; hospital days pre-ECMO ≤2 → 0, 3-7 → 1, >7 → 2; max 15; class I 0-5 (26%), II 6-9 (68%), III 10-15 (93%) derivation ICU mortality","hospital_days_pre_ecmo":1,"icu_mortality_percent":26,"lactate_mmol_l":1,"max_score":15,"mean_arterial_pressure_mm_hg":110,"platelets_k_ul":250,"preset_class":"I","score":0},{"arterial_ph":7.4,"citation":{"authors":"Hilder M, Herbstreit F, Adamzik M, et al.","doi":"10.1186/s13054-017-1888-6","id":"hilder-2017","pmid":"29233160","source":"Crit Care. 2017;21(1):301","title":"Comparison of mortality prediction models in acute respiratory distress syndrome undergoing extracorporeal membrane oxygenation and development of a novel prediction score: the PREdiction of Survival on ECMO Therapy-Score (PRESET-Score)"},"components":[{"factor":"mean_arterial_pressure_mm_hg","points":0,"present":false,"value":110},{"factor":"lactate_mmol_l","points":0,"present":false,"value":1},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"platelets_k_ul","points":0,"present":false,"value":250},{"factor":"hospital_days_pre_ecmo","points":0,"present":false,"value":1}],"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":"preset","formula_expression":"PRESET = map_points + lactate_points + ph_points + platelet_points + hospital_days_points; Hilder 2017 Table 4; MAP >100 → 0, 91-100 → 1, 81-90 → 2, 71-80 → 3, ≤70 → 4; lactate ≤1.50 → 0, 1.51-3.00 → 1, 3.01-6.00 → 2, 6.01-10.00 → 3, >10.00 → 4; arterial pH >7.300 → 0, 7.201-7.300 → 1, 7.101-7.200 → 2, ≤7.100 → 3; platelets >200 → 0, 101-200 → 1, ≤100 → 2; hospital days pre-ECMO ≤2 → 0, 3-7 → 1, >7 → 2; max 15; class I 0-5 (26%), II 6-9 (68%), III 10-15 (93%) derivation ICU mortality","hospital_days_pre_ecmo":1,"icu_mortality_percent":26,"lactate_mmol_l":1,"max_score":15,"mean_arterial_pressure_mm_hg":110,"platelets_k_ul":250,"preset_class":"I","score":0}],"path":"/api/calc/preset"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arterial_ph":{"description":"Arterial pH (6.5-8.0). Hilder 2017 Table 4: >7.300 → 0, 7.201-7.300 → 1, 7.101-7.200 → 2, ≤7.100 → 3. magent does not assay blood gas.","type":"number"},"hospital_days_pre_ecmo":{"description":"Hospital days before ECMO initiation (integer 0-365). Hilder 2017 Table 4: ≤2 → 0, 3-7 → 1, >7 → 2. Not a cannulation order.","type":"integer"},"lactate_mmol_l":{"description":"Lactate in mmol/L (0.0-30.0). Hilder 2017 Table 4: ≤1.50 → 0, 1.51-3.00 → 1, 3.01-6.00 → 2, 6.01-10.00 → 3, >10.00 → 4. magent does not assay labs.","type":"number"},"mean_arterial_pressure_mm_hg":{"description":"Mean arterial pressure in mm Hg (20-250). Hilder 2017 Table 4: >100 → 0, 91-100 → 1, 81-90 → 2, 71-80 → 3, ≤70 → 4. magent does not measure blood pressure.","type":"number"},"platelets_k_ul":{"description":"Platelet concentration ×1000/µL (1-2000). Hilder 2017 Table 4: >200 → 0, 101-200 → 1, ≤100 → 2. magent does not assay labs.","type":"number"}},"required":["mean_arterial_pressure_mm_hg","lactate_mmol_l","arterial_ph","platelets_k_ul","hospital_days_pre_ecmo"],"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":["preset","ecmo","ards","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:32:54.424Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:32:54.191Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"arterial_ph":7.4,"hospital_days_pre_ecmo":1,"lactate_mmol_l":1,"mean_arterial_pressure_mm_hg":110,"platelets_k_ul":250},{"arterial_ph":7.4,"hospital_days_pre_ecmo":1,"lactate_mmol_l":1,"mean_arterial_pressure_mm_hg":110,"platelets_k_ul":250}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arterial_ph":7.4,"citation":{"authors":"Hilder M, Herbstreit F, Adamzik M, et al.","doi":"10.1186/s13054-017-1888-6","id":"hilder-2017","pmid":"29233160","source":"Crit Care. 2017;21(1):301","title":"Comparison of mortality prediction models in acute respiratory distress syndrome undergoing extracorporeal membrane oxygenation and development of a novel prediction score: the PREdiction of Survival on ECMO Therapy-Score (PRESET-Score)"},"components":[{"factor":"mean_arterial_pressure_mm_hg","points":0,"present":false,"value":110},{"factor":"lactate_mmol_l","points":0,"present":false,"value":1},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"platelets_k_ul","points":0,"present":false,"value":250},{"factor":"hospital_days_pre_ecmo","points":0,"present":false,"value":1}],"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":"preset","formula_expression":"PRESET = map_points + lactate_points + ph_points + platelet_points + hospital_days_points; Hilder 2017 Table 4; MAP >100 → 0, 91-100 → 1, 81-90 → 2, 71-80 → 3, ≤70 → 4; lactate ≤1.50 → 0, 1.51-3.00 → 1, 3.01-6.00 → 2, 6.01-10.00 → 3, >10.00 → 4; arterial pH >7.300 → 0, 7.201-7.300 → 1, 7.101-7.200 → 2, ≤7.100 → 3; platelets >200 → 0, 101-200 → 1, ≤100 → 2; hospital days pre-ECMO ≤2 → 0, 3-7 → 1, >7 → 2; max 15; class I 0-5 (26%), II 6-9 (68%), III 10-15 (93%) derivation ICU mortality","hospital_days_pre_ecmo":1,"icu_mortality_percent":26,"lactate_mmol_l":1,"max_score":15,"mean_arterial_pressure_mm_hg":110,"platelets_k_ul":250,"preset_class":"I","score":0},{"arterial_ph":7.4,"citation":{"authors":"Hilder M, Herbstreit F, Adamzik M, et al.","doi":"10.1186/s13054-017-1888-6","id":"hilder-2017","pmid":"29233160","source":"Crit Care. 2017;21(1):301","title":"Comparison of mortality prediction models in acute respiratory distress syndrome undergoing extracorporeal membrane oxygenation and development of a novel prediction score: the PREdiction of Survival on ECMO Therapy-Score (PRESET-Score)"},"components":[{"factor":"mean_arterial_pressure_mm_hg","points":0,"present":false,"value":110},{"factor":"lactate_mmol_l","points":0,"present":false,"value":1},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"platelets_k_ul","points":0,"present":false,"value":250},{"factor":"hospital_days_pre_ecmo","points":0,"present":false,"value":1}],"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":"preset","formula_expression":"PRESET = map_points + lactate_points + ph_points + platelet_points + hospital_days_points; Hilder 2017 Table 4; MAP >100 → 0, 91-100 → 1, 81-90 → 2, 71-80 → 3, ≤70 → 4; lactate ≤1.50 → 0, 1.51-3.00 → 1, 3.01-6.00 → 2, 6.01-10.00 → 3, >10.00 → 4; arterial pH >7.300 → 0, 7.201-7.300 → 1, 7.101-7.200 → 2, ≤7.100 → 3; platelets >200 → 0, 101-200 → 1, ≤100 → 2; hospital days pre-ECMO ≤2 → 0, 3-7 → 1, >7 → 2; max 15; class I 0-5 (26%), II 6-9 (68%), III 10-15 (93%) derivation ICU mortality","hospital_days_pre_ecmo":1,"icu_mortality_percent":26,"lactate_mmol_l":1,"max_score":15,"mean_arterial_pressure_mm_hg":110,"platelets_k_ul":250,"preset_class":"I","score":0}],"path":"/api/calc/preset"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arterial_ph":{"description":"Arterial pH (6.5-8.0). Hilder 2017 Table 4: >7.300 → 0, 7.201-7.300 → 1, 7.101-7.200 → 2, ≤7.100 → 3. magent does not assay blood gas.","type":"number"},"hospital_days_pre_ecmo":{"description":"Hospital days before ECMO initiation (integer 0-365). Hilder 2017 Table 4: ≤2 → 0, 3-7 → 1, >7 → 2. Not a cannulation order.","type":"integer"},"lactate_mmol_l":{"description":"Lactate in mmol/L (0.0-30.0). Hilder 2017 Table 4: ≤1.50 → 0, 1.51-3.00 → 1, 3.01-6.00 → 2, 6.01-10.00 → 3, >10.00 → 4. magent does not assay labs.","type":"number"},"mean_arterial_pressure_mm_hg":{"description":"Mean arterial pressure in mm Hg (20-250). Hilder 2017 Table 4: >100 → 0, 91-100 → 1, 81-90 → 2, 71-80 → 3, ≤70 → 4. magent does not measure blood pressure.","type":"number"},"platelets_k_ul":{"description":"Platelet concentration ×1000/µL (1-2000). Hilder 2017 Table 4: >200 → 0, 101-200 → 1, ≤100 → 2. magent does not assay labs.","type":"number"}},"required":["mean_arterial_pressure_mm_hg","lactate_mmol_l","arterial_ph","platelets_k_ul","hospital_days_pre_ecmo"],"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},{"id":38948,"slug":"38948","resource":"https://api.magentlab.com/api/calc/precise_dapt","description":"Costa 2017 PRECISE-DAPT nomogram after coronary stenting. Truncated linear points: age (0 at <=50, 19 at >=90), caller CrCl mL/min (0 at >=100, 25 at 0), hemoglobin g/dL (0 at >=12, 15 at <=10), WBC x10^3/uL (0 at <=5, 15 at >=20), plus 26 for previous spontaneous bleeding. Integer score 0-100; high_bleeding_risk if score >=25. Not a DAPT duration order. magent does not compute Cockcroft-Gault.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"crcl_ml_min":100,"hemoglobin_g_dl":12,"previous_spontaneous_bleeding":false,"wbc_k_ul":5},{"age":50,"crcl_ml_min":100,"hemoglobin_g_dl":12,"previous_spontaneous_bleeding":false,"wbc_k_ul":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Costa F, van Klaveren D, James S, et al","doi":"10.1016/S0140-6736(17)30397-5","id":"costa-2017","pmid":"28290994","source":"Lancet. 2017;389(10073):1025-1034","title":"Derivation and validation of the predicting bleeding complications in patients undergoing stent implantation and subsequent dual antiplatelet therapy (PRECISE-DAPT) score: a pooled analysis of individual-patient datasets from clinical trials"},"components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"crcl_ml_min","points":0,"present":false,"value":100},{"factor":"hemoglobin_g_dl","points":0,"present":false,"value":12},{"factor":"wbc_k_ul","points":0,"present":false,"value":5},{"factor":"previous_spontaneous_bleeding","points":0,"present":false}],"crcl_ml_min":100,"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":"precise_dapt","formula_expression":"PRECISE-DAPT = age_points + crcl_points + hemoglobin_points + wbc_points + previous_bleed_points (Costa 2017 Figure 1 nomogram; Table 1 truncated linear terms); age years truncated 50-90 (0 at <=50, 19 at >=90); caller-assigned CrCl mL/min truncated 0-100 (0 at >=100, 25 at 0; magent does not compute Cockcroft-Gault); hemoglobin g/dL truncated 10-12 (0 at >=12, 15 at <=10); WBC x10^3 cells/uL truncated 5-20 (0 at <=5, 15 at >=20); previous spontaneous bleeding 26 if true else 0; integer score is the rounded sum (0-100); high_bleeding_risk iff score >=25","hemoglobin_g_dl":12,"high_bleeding_risk":false,"max_score":100,"previous_spontaneous_bleeding":false,"score":0,"wbc_k_ul":5},{"age_years":50,"citation":{"authors":"Costa F, van Klaveren D, James S, et al","doi":"10.1016/S0140-6736(17)30397-5","id":"costa-2017","pmid":"28290994","source":"Lancet. 2017;389(10073):1025-1034","title":"Derivation and validation of the predicting bleeding complications in patients undergoing stent implantation and subsequent dual antiplatelet therapy (PRECISE-DAPT) score: a pooled analysis of individual-patient datasets from clinical trials"},"components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"crcl_ml_min","points":0,"present":false,"value":100},{"factor":"hemoglobin_g_dl","points":0,"present":false,"value":12},{"factor":"wbc_k_ul","points":0,"present":false,"value":5},{"factor":"previous_spontaneous_bleeding","points":0,"present":false}],"crcl_ml_min":100,"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":"precise_dapt","formula_expression":"PRECISE-DAPT = age_points + crcl_points + hemoglobin_points + wbc_points + previous_bleed_points (Costa 2017 Figure 1 nomogram; Table 1 truncated linear terms); age years truncated 50-90 (0 at <=50, 19 at >=90); caller-assigned CrCl mL/min truncated 0-100 (0 at >=100, 25 at 0; magent does not compute Cockcroft-Gault); hemoglobin g/dL truncated 10-12 (0 at >=12, 15 at <=10); WBC x10^3 cells/uL truncated 5-20 (0 at <=5, 15 at >=20); previous spontaneous bleeding 26 if true else 0; integer score is the rounded sum (0-100); high_bleeding_risk iff score >=25","hemoglobin_g_dl":12,"high_bleeding_risk":false,"max_score":100,"previous_spontaneous_bleeding":false,"score":0,"wbc_k_ul":5}],"path":"/api/calc/precise_dapt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Costa 2017 Table 1 truncates below 50 and above 90. Figure 1: <=50 scores 0; >=90 scores 19; linear between. Age 18 and age 50 both score 0.","type":"integer"},"crcl_ml_min":{"description":"Creatinine clearance in mL/min (0-300) as assigned by the caller. Costa 2017 Figure 1 uses CrCl, not raw creatinine. magent does not compute Cockcroft-Gault. Truncated above 100: >=100 scores 0; 0 mL/min scores 25; linear between.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (4-22). Table 1 truncates above 12 and below 10. Figure 1: >=12.0 scores 0; <=10.0 scores 15; linear between. magent does not assay hemoglobin.","type":"number"},"previous_spontaneous_bleeding":{"description":"Previous spontaneous bleeding as assigned by the caller (Costa 2017). true scores 26; false scores 0. magent does not take a bleeding history.","type":"boolean"},"wbc_k_ul":{"description":"White-blood-cell count in x10^3 cells per uL, same as x10^9/L (0.1-100). Table 1 truncates below 5 and above 20. Figure 1: <=5 scores 0; >=20 scores 15; linear between. magent does not assay WBC.","type":"number"}},"required":["age","crcl_ml_min","hemoglobin_g_dl","wbc_k_ul","previous_spontaneous_bleeding"],"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":["precise-dapt","bleeding","dapt","pci","acs","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:32:53.49Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:32:53.35Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"crcl_ml_min":100,"hemoglobin_g_dl":12,"previous_spontaneous_bleeding":false,"wbc_k_ul":5},{"age":50,"crcl_ml_min":100,"hemoglobin_g_dl":12,"previous_spontaneous_bleeding":false,"wbc_k_ul":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Costa F, van Klaveren D, James S, et al","doi":"10.1016/S0140-6736(17)30397-5","id":"costa-2017","pmid":"28290994","source":"Lancet. 2017;389(10073):1025-1034","title":"Derivation and validation of the predicting bleeding complications in patients undergoing stent implantation and subsequent dual antiplatelet therapy (PRECISE-DAPT) score: a pooled analysis of individual-patient datasets from clinical trials"},"components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"crcl_ml_min","points":0,"present":false,"value":100},{"factor":"hemoglobin_g_dl","points":0,"present":false,"value":12},{"factor":"wbc_k_ul","points":0,"present":false,"value":5},{"factor":"previous_spontaneous_bleeding","points":0,"present":false}],"crcl_ml_min":100,"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":"precise_dapt","formula_expression":"PRECISE-DAPT = age_points + crcl_points + hemoglobin_points + wbc_points + previous_bleed_points (Costa 2017 Figure 1 nomogram; Table 1 truncated linear terms); age years truncated 50-90 (0 at <=50, 19 at >=90); caller-assigned CrCl mL/min truncated 0-100 (0 at >=100, 25 at 0; magent does not compute Cockcroft-Gault); hemoglobin g/dL truncated 10-12 (0 at >=12, 15 at <=10); WBC x10^3 cells/uL truncated 5-20 (0 at <=5, 15 at >=20); previous spontaneous bleeding 26 if true else 0; integer score is the rounded sum (0-100); high_bleeding_risk iff score >=25","hemoglobin_g_dl":12,"high_bleeding_risk":false,"max_score":100,"previous_spontaneous_bleeding":false,"score":0,"wbc_k_ul":5},{"age_years":50,"citation":{"authors":"Costa F, van Klaveren D, James S, et al","doi":"10.1016/S0140-6736(17)30397-5","id":"costa-2017","pmid":"28290994","source":"Lancet. 2017;389(10073):1025-1034","title":"Derivation and validation of the predicting bleeding complications in patients undergoing stent implantation and subsequent dual antiplatelet therapy (PRECISE-DAPT) score: a pooled analysis of individual-patient datasets from clinical trials"},"components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"crcl_ml_min","points":0,"present":false,"value":100},{"factor":"hemoglobin_g_dl","points":0,"present":false,"value":12},{"factor":"wbc_k_ul","points":0,"present":false,"value":5},{"factor":"previous_spontaneous_bleeding","points":0,"present":false}],"crcl_ml_min":100,"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":"precise_dapt","formula_expression":"PRECISE-DAPT = age_points + crcl_points + hemoglobin_points + wbc_points + previous_bleed_points (Costa 2017 Figure 1 nomogram; Table 1 truncated linear terms); age years truncated 50-90 (0 at <=50, 19 at >=90); caller-assigned CrCl mL/min truncated 0-100 (0 at >=100, 25 at 0; magent does not compute Cockcroft-Gault); hemoglobin g/dL truncated 10-12 (0 at >=12, 15 at <=10); WBC x10^3 cells/uL truncated 5-20 (0 at <=5, 15 at >=20); previous spontaneous bleeding 26 if true else 0; integer score is the rounded sum (0-100); high_bleeding_risk iff score >=25","hemoglobin_g_dl":12,"high_bleeding_risk":false,"max_score":100,"previous_spontaneous_bleeding":false,"score":0,"wbc_k_ul":5}],"path":"/api/calc/precise_dapt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Costa 2017 Table 1 truncates below 50 and above 90. Figure 1: <=50 scores 0; >=90 scores 19; linear between. Age 18 and age 50 both score 0.","type":"integer"},"crcl_ml_min":{"description":"Creatinine clearance in mL/min (0-300) as assigned by the caller. Costa 2017 Figure 1 uses CrCl, not raw creatinine. magent does not compute Cockcroft-Gault. Truncated above 100: >=100 scores 0; 0 mL/min scores 25; linear between.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (4-22). Table 1 truncates above 12 and below 10. Figure 1: >=12.0 scores 0; <=10.0 scores 15; linear between. magent does not assay hemoglobin.","type":"number"},"previous_spontaneous_bleeding":{"description":"Previous spontaneous bleeding as assigned by the caller (Costa 2017). true scores 26; false scores 0. magent does not take a bleeding history.","type":"boolean"},"wbc_k_ul":{"description":"White-blood-cell count in x10^3 cells per uL, same as x10^9/L (0.1-100). Table 1 truncates below 5 and above 20. Figure 1: <=5 scores 0; >=20 scores 15; linear between. magent does not assay WBC.","type":"number"}},"required":["age","crcl_ml_min","hemoglobin_g_dl","wbc_k_ul","previous_spontaneous_bleeding"],"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},{"id":38949,"slug":"38949","resource":"https://api.magentlab.com/api/calc/pram","description":"Chalut 2000 Preschool Respiratory Assessment Measure (PRAM): five caller-assigned items — oxygen_sat_points (0/1/2), suprasternal retractions (0/2), scalene contraction (0/2), air_entry (0-3), and wheezing (0-3). magent sums only (max 12) and does not auscultate or measure saturation. Score only; no invented mild/moderate/severe bands. Not a diagnosis and not the Westley 1978 croup score.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"air_entry":0,"oxygen_sat_points":0,"scalene":0,"suprasternal":0,"wheezing":0},{"air_entry":0,"oxygen_sat_points":0,"scalene":0,"suprasternal":0,"wheezing":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Chalut DS, Ducharme FM, Davis GM","doi":"10.1067/mpd.2000.110562","id":"chalut-2000","pmid":"11113831","source":"J Pediatr. 2000;137(6):762-768","title":"The Preschool Respiratory Assessment Measure (PRAM): a responsive index of acute asthma severity"},"components":[{"factor":"oxygen_sat_points","points":0,"present":true,"value":0},{"factor":"suprasternal","points":0,"present":true,"value":0},{"factor":"scalene","points":0,"present":true,"value":0},{"factor":"air_entry","points":0,"present":true,"value":0},{"factor":"wheezing","points":0,"present":true,"value":0}],"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":"pram","formula_expression":"PRAM = oxygen_sat_points + suprasternal + scalene + air_entry + wheezing; Chalut 2000 caller-assigned points; oxygen_sat_points 0/1/2, suprasternal 0/2, scalene 0/2, air_entry 0-3, wheezing 0-3; max 12","max_score":12,"score":0},{"citation":{"authors":"Chalut DS, Ducharme FM, Davis GM","doi":"10.1067/mpd.2000.110562","id":"chalut-2000","pmid":"11113831","source":"J Pediatr. 2000;137(6):762-768","title":"The Preschool Respiratory Assessment Measure (PRAM): a responsive index of acute asthma severity"},"components":[{"factor":"oxygen_sat_points","points":0,"present":true,"value":0},{"factor":"suprasternal","points":0,"present":true,"value":0},{"factor":"scalene","points":0,"present":true,"value":0},{"factor":"air_entry","points":0,"present":true,"value":0},{"factor":"wheezing","points":0,"present":true,"value":0}],"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":"pram","formula_expression":"PRAM = oxygen_sat_points + suprasternal + scalene + air_entry + wheezing; Chalut 2000 caller-assigned points; oxygen_sat_points 0/1/2, suprasternal 0/2, scalene 0/2, air_entry 0-3, wheezing 0-3; max 12","max_score":12,"score":0}],"path":"/api/calc/pram"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"air_entry":{"description":"Caller-assigned Chalut 2000 PRAM air entry (integer 0, 1, 2, or 3): 0 normal; 1 decreased at the base; 2 decreased at the apex and base; 3 minimal or absent. magent does not auscultate.","type":"integer"},"oxygen_sat_points":{"description":"Caller-assigned Chalut 2000 PRAM oxygen saturation points (integer 0, 1, or 2): 0 if ≥95%; 1 if 92-94%; 2 if <92%. magent does not measure oxygen saturation.","type":"integer"},"scalene":{"description":"Caller-assigned Chalut 2000 PRAM scalene muscle contraction (integer 0 or 2): 0 absent; 2 present. Not 1. magent does not examine the patient.","type":"integer"},"suprasternal":{"description":"Caller-assigned Chalut 2000 PRAM suprasternal retractions (integer 0 or 2): 0 absent; 2 present. Not 1. magent does not examine the patient.","type":"integer"},"wheezing":{"description":"Caller-assigned Chalut 2000 PRAM wheezing (integer 0, 1, 2, or 3): 0 absent; 1 expiratory only; 2 inspiratory with or without expiratory; 3 audible without a stethoscope or silent chest. magent does not auscultate.","type":"integer"}},"required":["oxygen_sat_points","suprasternal","scalene","air_entry","wheezing"],"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":["pram","asthma","respiratory","pediatric","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:27:03.605Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:27:03.472Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"air_entry":0,"oxygen_sat_points":0,"scalene":0,"suprasternal":0,"wheezing":0},{"air_entry":0,"oxygen_sat_points":0,"scalene":0,"suprasternal":0,"wheezing":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Chalut DS, Ducharme FM, Davis GM","doi":"10.1067/mpd.2000.110562","id":"chalut-2000","pmid":"11113831","source":"J Pediatr. 2000;137(6):762-768","title":"The Preschool Respiratory Assessment Measure (PRAM): a responsive index of acute asthma severity"},"components":[{"factor":"oxygen_sat_points","points":0,"present":true,"value":0},{"factor":"suprasternal","points":0,"present":true,"value":0},{"factor":"scalene","points":0,"present":true,"value":0},{"factor":"air_entry","points":0,"present":true,"value":0},{"factor":"wheezing","points":0,"present":true,"value":0}],"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":"pram","formula_expression":"PRAM = oxygen_sat_points + suprasternal + scalene + air_entry + wheezing; Chalut 2000 caller-assigned points; oxygen_sat_points 0/1/2, suprasternal 0/2, scalene 0/2, air_entry 0-3, wheezing 0-3; max 12","max_score":12,"score":0},{"citation":{"authors":"Chalut DS, Ducharme FM, Davis GM","doi":"10.1067/mpd.2000.110562","id":"chalut-2000","pmid":"11113831","source":"J Pediatr. 2000;137(6):762-768","title":"The Preschool Respiratory Assessment Measure (PRAM): a responsive index of acute asthma severity"},"components":[{"factor":"oxygen_sat_points","points":0,"present":true,"value":0},{"factor":"suprasternal","points":0,"present":true,"value":0},{"factor":"scalene","points":0,"present":true,"value":0},{"factor":"air_entry","points":0,"present":true,"value":0},{"factor":"wheezing","points":0,"present":true,"value":0}],"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":"pram","formula_expression":"PRAM = oxygen_sat_points + suprasternal + scalene + air_entry + wheezing; Chalut 2000 caller-assigned points; oxygen_sat_points 0/1/2, suprasternal 0/2, scalene 0/2, air_entry 0-3, wheezing 0-3; max 12","max_score":12,"score":0}],"path":"/api/calc/pram"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"air_entry":{"description":"Caller-assigned Chalut 2000 PRAM air entry (integer 0, 1, 2, or 3): 0 normal; 1 decreased at the base; 2 decreased at the apex and base; 3 minimal or absent. magent does not auscultate.","type":"integer"},"oxygen_sat_points":{"description":"Caller-assigned Chalut 2000 PRAM oxygen saturation points (integer 0, 1, or 2): 0 if ≥95%; 1 if 92-94%; 2 if <92%. magent does not measure oxygen saturation.","type":"integer"},"scalene":{"description":"Caller-assigned Chalut 2000 PRAM scalene muscle contraction (integer 0 or 2): 0 absent; 2 present. Not 1. magent does not examine the patient.","type":"integer"},"suprasternal":{"description":"Caller-assigned Chalut 2000 PRAM suprasternal retractions (integer 0 or 2): 0 absent; 2 present. Not 1. magent does not examine the patient.","type":"integer"},"wheezing":{"description":"Caller-assigned Chalut 2000 PRAM wheezing (integer 0, 1, 2, or 3): 0 absent; 1 expiratory only; 2 inspiratory with or without expiratory; 3 audible without a stethoscope or silent chest. magent does not auscultate.","type":"integer"}},"required":["oxygen_sat_points","suprasternal","scalene","air_entry","wheezing"],"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},{"id":38950,"slug":"38950","resource":"https://api.magentlab.com/api/calc/prague","description":"Sharma 2006 Prague C and M. Caller-assigned circumferential c_cm and maximal m_cm (integers 0-20 cm above the gastroesophageal junction). Returns C{c}M{m} (for example C2M5). M must be ≥ C. C=0 is tongues only (no circumferential Barrett). Not a Barrett diagnosis; histology is required. Not Los Angeles oesophagitis grading. magent does not perform endoscopy. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"c_cm":0,"m_cm":0},{"c_cm":0,"m_cm":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"c_cm":0,"citation":{"authors":"Sharma P, Dent J, Armstrong D, et al.","doi":"10.1053/j.gastro.2006.08.032","id":"sharma-2006","pmid":"17101315","source":"Gastroenterology. 2006;131(5):1392-1399","title":"The development and validation of an endoscopic grading system for Barrett's esophagus: the Prague C & M criteria."},"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":"prague","formula_expression":"prague is C{c_cm}M{m_cm} (no spaces) from caller-assigned circumferential extent c_cm (cm of visualized Barrett above the gastroesophageal junction, integer 0-20) and maximal extent m_cm (cm above GEJ, integer 0-20); m_cm must be >= c_cm; C=0 is no circumferential Barrett (tongues only); Sharma 2006 Prague C and M; not a Barrett diagnosis (histology required); magent does not perform endoscopy","m_cm":0,"prague":"C0M0"},{"c_cm":0,"citation":{"authors":"Sharma P, Dent J, Armstrong D, et al.","doi":"10.1053/j.gastro.2006.08.032","id":"sharma-2006","pmid":"17101315","source":"Gastroenterology. 2006;131(5):1392-1399","title":"The development and validation of an endoscopic grading system for Barrett's esophagus: the Prague C & M criteria."},"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":"prague","formula_expression":"prague is C{c_cm}M{m_cm} (no spaces) from caller-assigned circumferential extent c_cm (cm of visualized Barrett above the gastroesophageal junction, integer 0-20) and maximal extent m_cm (cm above GEJ, integer 0-20); m_cm must be >= c_cm; C=0 is no circumferential Barrett (tongues only); Sharma 2006 Prague C and M; not a Barrett diagnosis (histology required); magent does not perform endoscopy","m_cm":0,"prague":"C0M0"}],"path":"/api/calc/prague"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"c_cm":{"description":"Caller-assigned circumferential extent of visualized Barrett mucosa in centimetres above the gastroesophageal junction (integer 0-20). C=0 is allowed (no circumferential Barrett; tongues only). magent does not perform endoscopy.","type":"integer"},"m_cm":{"description":"Caller-assigned maximal extent of visualized Barrett mucosa in centimetres above the gastroesophageal junction (integer 0-20). Must be greater than or equal to c_cm. magent does not perform endoscopy.","type":"integer"}},"required":["c_cm","m_cm"],"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":["prague","barrett","endoscopy","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:27:02.399Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:27:02.261Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"c_cm":0,"m_cm":0},{"c_cm":0,"m_cm":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"c_cm":0,"citation":{"authors":"Sharma P, Dent J, Armstrong D, et al.","doi":"10.1053/j.gastro.2006.08.032","id":"sharma-2006","pmid":"17101315","source":"Gastroenterology. 2006;131(5):1392-1399","title":"The development and validation of an endoscopic grading system for Barrett's esophagus: the Prague C & M criteria."},"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":"prague","formula_expression":"prague is C{c_cm}M{m_cm} (no spaces) from caller-assigned circumferential extent c_cm (cm of visualized Barrett above the gastroesophageal junction, integer 0-20) and maximal extent m_cm (cm above GEJ, integer 0-20); m_cm must be >= c_cm; C=0 is no circumferential Barrett (tongues only); Sharma 2006 Prague C and M; not a Barrett diagnosis (histology required); magent does not perform endoscopy","m_cm":0,"prague":"C0M0"},{"c_cm":0,"citation":{"authors":"Sharma P, Dent J, Armstrong D, et al.","doi":"10.1053/j.gastro.2006.08.032","id":"sharma-2006","pmid":"17101315","source":"Gastroenterology. 2006;131(5):1392-1399","title":"The development and validation of an endoscopic grading system for Barrett's esophagus: the Prague C & M criteria."},"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":"prague","formula_expression":"prague is C{c_cm}M{m_cm} (no spaces) from caller-assigned circumferential extent c_cm (cm of visualized Barrett above the gastroesophageal junction, integer 0-20) and maximal extent m_cm (cm above GEJ, integer 0-20); m_cm must be >= c_cm; C=0 is no circumferential Barrett (tongues only); Sharma 2006 Prague C and M; not a Barrett diagnosis (histology required); magent does not perform endoscopy","m_cm":0,"prague":"C0M0"}],"path":"/api/calc/prague"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"c_cm":{"description":"Caller-assigned circumferential extent of visualized Barrett mucosa in centimetres above the gastroesophageal junction (integer 0-20). C=0 is allowed (no circumferential Barrett; tongues only). magent does not perform endoscopy.","type":"integer"},"m_cm":{"description":"Caller-assigned maximal extent of visualized Barrett mucosa in centimetres above the gastroesophageal junction (integer 0-20). Must be greater than or equal to c_cm. magent does not perform endoscopy.","type":"integer"}},"required":["c_cm","m_cm"],"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},{"id":38951,"slug":"38951","resource":"https://api.magentlab.com/api/calc/possum","description":"Copeland 1991 POSSUM surgical audit: 12 physiologic and 6 operative 1/2/4/8 items (age has no 8; ECG has no 2). Returns physiologic_score, operative_score, and estimated morbidity and mortality percents from the unrounded Copeland logits. Not P-POSSUM (Whiteley), not a diagnosis, not operative consent. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":50,"blood_loss_ml":50,"cardiac":"no_failure","ecg":"normal","gcs":15,"hemoglobin_g_dl":14,"malignancy":"none","mode_of_surgery":"elective","multiple_procedures":"one","operative_severity":"minor","peritoneal_soiling":"none","potassium_mmol_l":4,"pulse":70,"respiratory":"no_dyspnea","sodium_mmol_l":140,"systolic_bp_mm_hg":120,"urea_mmol_l":5,"wbc_k_ul":8},{"age_years":50,"blood_loss_ml":50,"cardiac":"no_failure","ecg":"normal","gcs":15,"hemoglobin_g_dl":14,"malignancy":"none","mode_of_surgery":"elective","multiple_procedures":"one","operative_severity":"minor","peritoneal_soiling":"none","potassium_mmol_l":4,"pulse":70,"respiratory":"no_dyspnea","sodium_mmol_l":140,"systolic_bp_mm_hg":120,"urea_mmol_l":5,"wbc_k_ul":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Copeland GP, Jones D, Walters M","doi":"10.1002/bjs.1800780327","id":"copeland-1991","pmid":"2021856","source":"Br J Surg. 1991;78(3):355-360","title":"POSSUM: a scoring system for surgical audit"},"components":[{"factor":"age_years","points":1,"present":true,"value":50},{"factor":"cardiac","points":1,"present":true,"value":"no_failure"},{"factor":"respiratory","points":1,"present":true,"value":"no_dyspnea"},{"factor":"systolic_bp_mm_hg","points":1,"present":true,"value":120},{"factor":"pulse","points":1,"present":true,"value":70},{"factor":"gcs","points":1,"present":true,"value":15},{"factor":"hemoglobin_g_dl","points":1,"present":true,"value":14},{"factor":"wbc_k_ul","points":1,"present":true,"value":8},{"factor":"urea_mmol_l","points":1,"present":true,"value":5},{"factor":"sodium_mmol_l","points":1,"present":true,"value":140},{"factor":"potassium_mmol_l","points":1,"present":true,"value":4},{"factor":"ecg","points":1,"present":true,"value":"normal"},{"factor":"operative_severity","points":1,"present":true,"value":"minor"},{"factor":"multiple_procedures","points":1,"present":true,"value":"one"},{"factor":"blood_loss_ml","points":1,"present":true,"value":50},{"factor":"peritoneal_soiling","points":1,"present":true,"value":"none"},{"factor":"malignancy","points":1,"present":true,"value":"none"},{"factor":"mode_of_surgery","points":1,"present":true,"value":"elective"}],"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.","estimated_morbidity_percent":5.47,"estimated_mortality_percent":1.08,"formula":"possum","formula_expression":"physiologic_score = sum of 12 Copeland 1991 Table 1 items (1/2/4/8; age has no 8, ECG has no 2); operative_score = sum of 6 Table 2 items (1/2/4/8; multiple_procedures and mode_of_surgery have no 2); ln[R/(1-R)] morbidity = -5.91 + 0.16*physiologic_score + 0.19*operative_score; ln[R/(1-R)] mortality = -7.04 + 0.13*physiologic_score + 0.16*operative_score; estimated_morbidity_percent and estimated_mortality_percent = 100 * exp(logit)/(1+exp(logit)) from the unrounded logit","morbidity_logit":-2.85,"mortality_logit":-4.52,"operative_score":6,"physiologic_score":12},{"citation":{"authors":"Copeland GP, Jones D, Walters M","doi":"10.1002/bjs.1800780327","id":"copeland-1991","pmid":"2021856","source":"Br J Surg. 1991;78(3):355-360","title":"POSSUM: a scoring system for surgical audit"},"components":[{"factor":"age_years","points":1,"present":true,"value":50},{"factor":"cardiac","points":1,"present":true,"value":"no_failure"},{"factor":"respiratory","points":1,"present":true,"value":"no_dyspnea"},{"factor":"systolic_bp_mm_hg","points":1,"present":true,"value":120},{"factor":"pulse","points":1,"present":true,"value":70},{"factor":"gcs","points":1,"present":true,"value":15},{"factor":"hemoglobin_g_dl","points":1,"present":true,"value":14},{"factor":"wbc_k_ul","points":1,"present":true,"value":8},{"factor":"urea_mmol_l","points":1,"present":true,"value":5},{"factor":"sodium_mmol_l","points":1,"present":true,"value":140},{"factor":"potassium_mmol_l","points":1,"present":true,"value":4},{"factor":"ecg","points":1,"present":true,"value":"normal"},{"factor":"operative_severity","points":1,"present":true,"value":"minor"},{"factor":"multiple_procedures","points":1,"present":true,"value":"one"},{"factor":"blood_loss_ml","points":1,"present":true,"value":50},{"factor":"peritoneal_soiling","points":1,"present":true,"value":"none"},{"factor":"malignancy","points":1,"present":true,"value":"none"},{"factor":"mode_of_surgery","points":1,"present":true,"value":"elective"}],"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.","estimated_morbidity_percent":5.47,"estimated_mortality_percent":1.08,"formula":"possum","formula_expression":"physiologic_score = sum of 12 Copeland 1991 Table 1 items (1/2/4/8; age has no 8, ECG has no 2); operative_score = sum of 6 Table 2 items (1/2/4/8; multiple_procedures and mode_of_surgery have no 2); ln[R/(1-R)] morbidity = -5.91 + 0.16*physiologic_score + 0.19*operative_score; ln[R/(1-R)] mortality = -7.04 + 0.13*physiologic_score + 0.16*operative_score; estimated_morbidity_percent and estimated_mortality_percent = 100 * exp(logit)/(1+exp(logit)) from the unrounded logit","morbidity_logit":-2.85,"mortality_logit":-4.52,"operative_score":6,"physiologic_score":12}],"path":"/api/calc/possum"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years, integer 16-120 (Copeland 1991 Table 1). ≤60 → 1; 61-70 → 2; ≥71 → 4. No 8-point cell.","type":"integer"},"blood_loss_ml":{"description":"Total blood loss in mL (0-20000). ≤100 → 1; 101-500 → 2; 501-999 → 4; ≥1000 → 8. Table 2 writes <100 then 101-500; 100 mL is scored with the lowest band.","type":"number"},"cardiac":{"description":"Copeland 1991 cardiac signs as assigned by the caller: no_failure (1); diuretic_digoxin_antianginal_or_hypertensive (2); peripheral_edema_warfarin_or_borderline_cardiomegaly (4); raised_jvp_or_cardiomegaly (8). magent does not examine the patient.","enum":["no_failure","diuretic_digoxin_antianginal_or_hypertensive","peripheral_edema_warfarin_or_borderline_cardiomegaly","raised_jvp_or_cardiomegaly"],"type":"string"},"ecg":{"description":"Copeland 1991 electrocardiogram as assigned by the caller: normal (1); atrial_fibrillation_60_90 (4); other_abnormal_or_ectopics_or_q_st_t (8). No 2-point cell. magent does not interpret a tracing.","enum":["normal","atrial_fibrillation_60_90","other_abnormal_or_ectopics_or_q_st_t"],"type":"string"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller, integer 3-15. 15 → 1; 12-14 → 2; 9-11 → 4; ≤8 → 8. magent does not examine the patient.","type":"integer"},"hemoglobin_g_dl":{"description":"Haemoglobin in g/dL (3-25). 13-16 → 1; 11.5-12.9 or 16.1-17.0 → 2; 10.0-11.4 or 17.1-18.0 → 4; ≤9.9 or ≥18.1 → 8.","type":"number"},"malignancy":{"description":"Copeland 1991 presence of malignancy as assigned by the caller: none (1); primary_only (2); nodal_metastases (4); distant_metastases (8). magent does not diagnose.","enum":["none","primary_only","nodal_metastases","distant_metastases"],"type":"string"},"mode_of_surgery":{"description":"Copeland 1991 mode of surgery as assigned by the caller: elective (1); emergency_resuscitation_gt_2h_or_lt_24h (4); immediate_lt_2h (8). No 2-point cell.","enum":["elective","emergency_resuscitation_gt_2h_or_lt_24h","immediate_lt_2h"],"type":"string"},"multiple_procedures":{"description":"Number of procedures as assigned by the caller: one (1); two (4); more_than_two (8). No 2-point cell.","enum":["one","two","more_than_two"],"type":"string"},"operative_severity":{"description":"Copeland 1991 Table 2 operative severity as assigned by the caller: minor (1); moderate (2); major (4); major_plus (8). magent does not classify an operative note.","enum":["minor","moderate","major","major_plus"],"type":"string"},"peritoneal_soiling":{"description":"Copeland 1991 peritoneal soiling as assigned by the caller: none (1); minor_serous (2); local_pus (4); free_bowel_pus_blood (8). magent does not examine the patient.","enum":["none","minor_serous","local_pus","free_bowel_pus_blood"],"type":"string"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1-12). 3.5-5.0 → 1; 3.2-3.4 or 5.1-5.3 → 2; 2.9-3.1 or 5.4-5.9 → 4; ≤2.8 or ≥6.0 → 8.","type":"number"},"pulse":{"description":"Pulse in beats/min, integer 20-250. 50-80 → 1; 81-100 → 2; 40-49 or 101-120 → 4; ≤39 or ≥121 → 8. magent does not measure pulse.","type":"integer"},"respiratory":{"description":"Copeland 1991 respiratory history as assigned by the caller: no_dyspnea (1); exertional_or_mild_coad (2); limiting_or_moderate_coad (4); rest_or_fibrosis_consolidation (8). magent does not examine the patient.","enum":["no_dyspnea","exertional_or_mild_coad","limiting_or_moderate_coad","rest_or_fibrosis_consolidation"],"type":"string"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (90-200). ≥136 → 1; 131-135 → 2; 126-130 → 4; ≤125 → 8.","type":"number"},"systolic_bp_mm_hg":{"description":"Systolic blood pressure in mm Hg (20-300). 110-130 → 1; 100-109 or 131-170 → 2; 90-99 or ≥171 → 4; ≤89 → 8. magent does not measure blood pressure.","type":"number"},"urea_mmol_l":{"description":"Serum urea in mmol/L (0.5-80). ≤7.5 → 1; 7.6-10.0 → 2; 10.1-15.0 → 4; ≥15.1 → 8.","type":"number"},"wbc_k_ul":{"description":"White cell count in ×10^9/L (0.1-100). 4.0-10.0 → 1; 10.1-20.0 or 3.1-3.9 → 2; ≥20.1 → 4; ≤3.0 → 8. Table 1 lists 3.1-4.0 on the 2-point cell; 4.0 is scored in the 1-point band.","type":"number"}},"required":["age_years","cardiac","respiratory","systolic_bp_mm_hg","pulse","gcs","hemoglobin_g_dl","wbc_k_ul","urea_mmol_l","sodium_mmol_l","potassium_mmol_l","ecg","operative_severity","multiple_procedures","blood_loss_ml","peritoneal_soiling","malignancy","mode_of_surgery"],"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":["possum","surgery","audit","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:27:01.513Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:27:01.357Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":50,"blood_loss_ml":50,"cardiac":"no_failure","ecg":"normal","gcs":15,"hemoglobin_g_dl":14,"malignancy":"none","mode_of_surgery":"elective","multiple_procedures":"one","operative_severity":"minor","peritoneal_soiling":"none","potassium_mmol_l":4,"pulse":70,"respiratory":"no_dyspnea","sodium_mmol_l":140,"systolic_bp_mm_hg":120,"urea_mmol_l":5,"wbc_k_ul":8},{"age_years":50,"blood_loss_ml":50,"cardiac":"no_failure","ecg":"normal","gcs":15,"hemoglobin_g_dl":14,"malignancy":"none","mode_of_surgery":"elective","multiple_procedures":"one","operative_severity":"minor","peritoneal_soiling":"none","potassium_mmol_l":4,"pulse":70,"respiratory":"no_dyspnea","sodium_mmol_l":140,"systolic_bp_mm_hg":120,"urea_mmol_l":5,"wbc_k_ul":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Copeland GP, Jones D, Walters M","doi":"10.1002/bjs.1800780327","id":"copeland-1991","pmid":"2021856","source":"Br J Surg. 1991;78(3):355-360","title":"POSSUM: a scoring system for surgical audit"},"components":[{"factor":"age_years","points":1,"present":true,"value":50},{"factor":"cardiac","points":1,"present":true,"value":"no_failure"},{"factor":"respiratory","points":1,"present":true,"value":"no_dyspnea"},{"factor":"systolic_bp_mm_hg","points":1,"present":true,"value":120},{"factor":"pulse","points":1,"present":true,"value":70},{"factor":"gcs","points":1,"present":true,"value":15},{"factor":"hemoglobin_g_dl","points":1,"present":true,"value":14},{"factor":"wbc_k_ul","points":1,"present":true,"value":8},{"factor":"urea_mmol_l","points":1,"present":true,"value":5},{"factor":"sodium_mmol_l","points":1,"present":true,"value":140},{"factor":"potassium_mmol_l","points":1,"present":true,"value":4},{"factor":"ecg","points":1,"present":true,"value":"normal"},{"factor":"operative_severity","points":1,"present":true,"value":"minor"},{"factor":"multiple_procedures","points":1,"present":true,"value":"one"},{"factor":"blood_loss_ml","points":1,"present":true,"value":50},{"factor":"peritoneal_soiling","points":1,"present":true,"value":"none"},{"factor":"malignancy","points":1,"present":true,"value":"none"},{"factor":"mode_of_surgery","points":1,"present":true,"value":"elective"}],"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.","estimated_morbidity_percent":5.47,"estimated_mortality_percent":1.08,"formula":"possum","formula_expression":"physiologic_score = sum of 12 Copeland 1991 Table 1 items (1/2/4/8; age has no 8, ECG has no 2); operative_score = sum of 6 Table 2 items (1/2/4/8; multiple_procedures and mode_of_surgery have no 2); ln[R/(1-R)] morbidity = -5.91 + 0.16*physiologic_score + 0.19*operative_score; ln[R/(1-R)] mortality = -7.04 + 0.13*physiologic_score + 0.16*operative_score; estimated_morbidity_percent and estimated_mortality_percent = 100 * exp(logit)/(1+exp(logit)) from the unrounded logit","morbidity_logit":-2.85,"mortality_logit":-4.52,"operative_score":6,"physiologic_score":12},{"citation":{"authors":"Copeland GP, Jones D, Walters M","doi":"10.1002/bjs.1800780327","id":"copeland-1991","pmid":"2021856","source":"Br J Surg. 1991;78(3):355-360","title":"POSSUM: a scoring system for surgical audit"},"components":[{"factor":"age_years","points":1,"present":true,"value":50},{"factor":"cardiac","points":1,"present":true,"value":"no_failure"},{"factor":"respiratory","points":1,"present":true,"value":"no_dyspnea"},{"factor":"systolic_bp_mm_hg","points":1,"present":true,"value":120},{"factor":"pulse","points":1,"present":true,"value":70},{"factor":"gcs","points":1,"present":true,"value":15},{"factor":"hemoglobin_g_dl","points":1,"present":true,"value":14},{"factor":"wbc_k_ul","points":1,"present":true,"value":8},{"factor":"urea_mmol_l","points":1,"present":true,"value":5},{"factor":"sodium_mmol_l","points":1,"present":true,"value":140},{"factor":"potassium_mmol_l","points":1,"present":true,"value":4},{"factor":"ecg","points":1,"present":true,"value":"normal"},{"factor":"operative_severity","points":1,"present":true,"value":"minor"},{"factor":"multiple_procedures","points":1,"present":true,"value":"one"},{"factor":"blood_loss_ml","points":1,"present":true,"value":50},{"factor":"peritoneal_soiling","points":1,"present":true,"value":"none"},{"factor":"malignancy","points":1,"present":true,"value":"none"},{"factor":"mode_of_surgery","points":1,"present":true,"value":"elective"}],"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.","estimated_morbidity_percent":5.47,"estimated_mortality_percent":1.08,"formula":"possum","formula_expression":"physiologic_score = sum of 12 Copeland 1991 Table 1 items (1/2/4/8; age has no 8, ECG has no 2); operative_score = sum of 6 Table 2 items (1/2/4/8; multiple_procedures and mode_of_surgery have no 2); ln[R/(1-R)] morbidity = -5.91 + 0.16*physiologic_score + 0.19*operative_score; ln[R/(1-R)] mortality = -7.04 + 0.13*physiologic_score + 0.16*operative_score; estimated_morbidity_percent and estimated_mortality_percent = 100 * exp(logit)/(1+exp(logit)) from the unrounded logit","morbidity_logit":-2.85,"mortality_logit":-4.52,"operative_score":6,"physiologic_score":12}],"path":"/api/calc/possum"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years, integer 16-120 (Copeland 1991 Table 1). ≤60 → 1; 61-70 → 2; ≥71 → 4. No 8-point cell.","type":"integer"},"blood_loss_ml":{"description":"Total blood loss in mL (0-20000). ≤100 → 1; 101-500 → 2; 501-999 → 4; ≥1000 → 8. Table 2 writes <100 then 101-500; 100 mL is scored with the lowest band.","type":"number"},"cardiac":{"description":"Copeland 1991 cardiac signs as assigned by the caller: no_failure (1); diuretic_digoxin_antianginal_or_hypertensive (2); peripheral_edema_warfarin_or_borderline_cardiomegaly (4); raised_jvp_or_cardiomegaly (8). magent does not examine the patient.","enum":["no_failure","diuretic_digoxin_antianginal_or_hypertensive","peripheral_edema_warfarin_or_borderline_cardiomegaly","raised_jvp_or_cardiomegaly"],"type":"string"},"ecg":{"description":"Copeland 1991 electrocardiogram as assigned by the caller: normal (1); atrial_fibrillation_60_90 (4); other_abnormal_or_ectopics_or_q_st_t (8). No 2-point cell. magent does not interpret a tracing.","enum":["normal","atrial_fibrillation_60_90","other_abnormal_or_ectopics_or_q_st_t"],"type":"string"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller, integer 3-15. 15 → 1; 12-14 → 2; 9-11 → 4; ≤8 → 8. magent does not examine the patient.","type":"integer"},"hemoglobin_g_dl":{"description":"Haemoglobin in g/dL (3-25). 13-16 → 1; 11.5-12.9 or 16.1-17.0 → 2; 10.0-11.4 or 17.1-18.0 → 4; ≤9.9 or ≥18.1 → 8.","type":"number"},"malignancy":{"description":"Copeland 1991 presence of malignancy as assigned by the caller: none (1); primary_only (2); nodal_metastases (4); distant_metastases (8). magent does not diagnose.","enum":["none","primary_only","nodal_metastases","distant_metastases"],"type":"string"},"mode_of_surgery":{"description":"Copeland 1991 mode of surgery as assigned by the caller: elective (1); emergency_resuscitation_gt_2h_or_lt_24h (4); immediate_lt_2h (8). No 2-point cell.","enum":["elective","emergency_resuscitation_gt_2h_or_lt_24h","immediate_lt_2h"],"type":"string"},"multiple_procedures":{"description":"Number of procedures as assigned by the caller: one (1); two (4); more_than_two (8). No 2-point cell.","enum":["one","two","more_than_two"],"type":"string"},"operative_severity":{"description":"Copeland 1991 Table 2 operative severity as assigned by the caller: minor (1); moderate (2); major (4); major_plus (8). magent does not classify an operative note.","enum":["minor","moderate","major","major_plus"],"type":"string"},"peritoneal_soiling":{"description":"Copeland 1991 peritoneal soiling as assigned by the caller: none (1); minor_serous (2); local_pus (4); free_bowel_pus_blood (8). magent does not examine the patient.","enum":["none","minor_serous","local_pus","free_bowel_pus_blood"],"type":"string"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1-12). 3.5-5.0 → 1; 3.2-3.4 or 5.1-5.3 → 2; 2.9-3.1 or 5.4-5.9 → 4; ≤2.8 or ≥6.0 → 8.","type":"number"},"pulse":{"description":"Pulse in beats/min, integer 20-250. 50-80 → 1; 81-100 → 2; 40-49 or 101-120 → 4; ≤39 or ≥121 → 8. magent does not measure pulse.","type":"integer"},"respiratory":{"description":"Copeland 1991 respiratory history as assigned by the caller: no_dyspnea (1); exertional_or_mild_coad (2); limiting_or_moderate_coad (4); rest_or_fibrosis_consolidation (8). magent does not examine the patient.","enum":["no_dyspnea","exertional_or_mild_coad","limiting_or_moderate_coad","rest_or_fibrosis_consolidation"],"type":"string"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (90-200). ≥136 → 1; 131-135 → 2; 126-130 → 4; ≤125 → 8.","type":"number"},"systolic_bp_mm_hg":{"description":"Systolic blood pressure in mm Hg (20-300). 110-130 → 1; 100-109 or 131-170 → 2; 90-99 or ≥171 → 4; ≤89 → 8. magent does not measure blood pressure.","type":"number"},"urea_mmol_l":{"description":"Serum urea in mmol/L (0.5-80). ≤7.5 → 1; 7.6-10.0 → 2; 10.1-15.0 → 4; ≥15.1 → 8.","type":"number"},"wbc_k_ul":{"description":"White cell count in ×10^9/L (0.1-100). 4.0-10.0 → 1; 10.1-20.0 or 3.1-3.9 → 2; ≥20.1 → 4; ≤3.0 → 8. Table 1 lists 3.1-4.0 on the 2-point cell; 4.0 is scored in the 1-point band.","type":"number"}},"required":["age_years","cardiac","respiratory","systolic_bp_mm_hg","pulse","gcs","hemoglobin_g_dl","wbc_k_ul","urea_mmol_l","sodium_mmol_l","potassium_mmol_l","ecg","operative_severity","multiple_procedures","blood_loss_ml","peritoneal_soiling","malignancy","mode_of_surgery"],"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},{"id":38952,"slug":"38952","resource":"https://api.magentlab.com/api/calc/pompe_c","description":"Kline 2012 POMPE-C 30-day mortality probability for active cancer plus acute PE. Logistic from DNR, respiratory distress, unilateral limb swelling, altered mental status, heart rate >99, respiratory rate, room-air SpO2, and weight in pounds (intercept 3.718). Bands: low <=5%, high >50%, else intermediate. Not a PE or cancer diagnosis, not integer points, not a dose.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"altered_mental_status":false,"dnr":false,"heart_rate_gt_99":false,"respiratory_distress":false,"respiratory_rate":18,"spo2_percent":97,"unilateral_leg_swelling":false,"weight_lb":170},{"altered_mental_status":false,"dnr":false,"heart_rate_gt_99":false,"respiratory_distress":false,"respiratory_rate":18,"spo2_percent":97,"unilateral_leg_swelling":false,"weight_lb":170}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"altered_mental_status":false,"citation":{"authors":"Kline JA, Roy PM, Than MP, Hernandez J, Courtney DM, Jones AE, Penaloza A, Pollack CV Jr","doi":"10.1016/j.thromres.2012.03.015","id":"kline-2012","pmid":"22475313","source":"Thromb Res. 2012;129(5):e194-e199","title":"Derivation and validation of a multivariate model to predict mortality from pulmonary embolism with cancer: The POMPE-C tool"},"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.","dnr":false,"formula":"pompe_c","formula_expression":"mortality_pct = 100 * (1 - 1 / (1 + exp(3.718 + 1.551*dnr + 0.800*respiratory_distress + 0.734*unilateral_leg_swelling + 1.473*altered_mental_status + 1.027*heart_rate_gt_99 + 0.044*respiratory_rate + (-0.063)*spo2_percent + (-0.012)*weight_lb))); Kline 2012 web-prototype logistic (intercept 3.718); heart_rate_gt_99 coefficient 1.027 from Table 2 (OR 2.8) because the manuscript prototype line-wraps as + HR; flags 1 if true else 0; low if mortality_pct <= 5, high if > 50, else intermediate; 30-day all-cause mortality probability for active cancer + acute PE; not integer points","heart_rate_gt_99":false,"logit":-3.641,"mortality_pct":2.6,"respiratory_distress":false,"respiratory_rate":18,"risk_band":"low","spo2_percent":97,"unilateral_leg_swelling":false,"weight_lb":170},{"altered_mental_status":false,"citation":{"authors":"Kline JA, Roy PM, Than MP, Hernandez J, Courtney DM, Jones AE, Penaloza A, Pollack CV Jr","doi":"10.1016/j.thromres.2012.03.015","id":"kline-2012","pmid":"22475313","source":"Thromb Res. 2012;129(5):e194-e199","title":"Derivation and validation of a multivariate model to predict mortality from pulmonary embolism with cancer: The POMPE-C tool"},"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.","dnr":false,"formula":"pompe_c","formula_expression":"mortality_pct = 100 * (1 - 1 / (1 + exp(3.718 + 1.551*dnr + 0.800*respiratory_distress + 0.734*unilateral_leg_swelling + 1.473*altered_mental_status + 1.027*heart_rate_gt_99 + 0.044*respiratory_rate + (-0.063)*spo2_percent + (-0.012)*weight_lb))); Kline 2012 web-prototype logistic (intercept 3.718); heart_rate_gt_99 coefficient 1.027 from Table 2 (OR 2.8) because the manuscript prototype line-wraps as + HR; flags 1 if true else 0; low if mortality_pct <= 5, high if > 50, else intermediate; 30-day all-cause mortality probability for active cancer + acute PE; not integer points","heart_rate_gt_99":false,"logit":-3.641,"mortality_pct":2.6,"respiratory_distress":false,"respiratory_rate":18,"risk_band":"low","spo2_percent":97,"unilateral_leg_swelling":false,"weight_lb":170}],"path":"/api/calc/pompe_c"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"altered_mental_status":{"description":"Altered mental status as assigned by the caller (Kline 2012: acute impairment in consciousness, new disorientation, delirium, or confusion). true or false. magent does not examine the patient.","type":"boolean"},"dnr":{"description":"Do-not-resuscitate status as assigned by the caller (Kline 2012: new or existing verbal or written desire not to be resuscitated). true or false. magent does not read an advance directive.","type":"boolean"},"heart_rate_gt_99":{"description":"Heart rate documented over 99 beats/min in the previous six hours, as assigned by the caller. true or false. magent does not take a pulse.","type":"boolean"},"respiratory_distress":{"description":"Respiratory distress as assigned by the caller (Kline 2012: obvious anxiety from dyspnea or increased work of breathing). true or false. magent does not examine the patient.","type":"boolean"},"respiratory_rate":{"description":"Highest documented respiratory rate in breaths/min within the previous six hours (integer 4-80). Continuous predictor in the Kline 2012 prototype logistic.","type":"integer"},"spo2_percent":{"description":"Most recent pulse oximetry on room air, percent (50-100). Continuous predictor in the Kline 2012 prototype logistic. magent does not measure saturation.","type":"number"},"unilateral_leg_swelling":{"description":"Unilateral limb swelling as assigned by the caller (Kline 2012: new noticeable arm or leg asymmetry). true or false. magent does not examine the limbs.","type":"boolean"},"weight_lb":{"description":"Body weight in pounds (2-1100), measured or by patient estimate as in Kline 2012. Pounds enter the logistic directly. magent does not convert from kilograms.","type":"number"}},"required":["dnr","respiratory_distress","unilateral_leg_swelling","altered_mental_status","heart_rate_gt_99","respiratory_rate","spo2_percent","weight_lb"],"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":["pompe-c","pe","cancer","vte","mortality","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:22:00.359Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:22:00.239Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"altered_mental_status":false,"dnr":false,"heart_rate_gt_99":false,"respiratory_distress":false,"respiratory_rate":18,"spo2_percent":97,"unilateral_leg_swelling":false,"weight_lb":170},{"altered_mental_status":false,"dnr":false,"heart_rate_gt_99":false,"respiratory_distress":false,"respiratory_rate":18,"spo2_percent":97,"unilateral_leg_swelling":false,"weight_lb":170}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"altered_mental_status":false,"citation":{"authors":"Kline JA, Roy PM, Than MP, Hernandez J, Courtney DM, Jones AE, Penaloza A, Pollack CV Jr","doi":"10.1016/j.thromres.2012.03.015","id":"kline-2012","pmid":"22475313","source":"Thromb Res. 2012;129(5):e194-e199","title":"Derivation and validation of a multivariate model to predict mortality from pulmonary embolism with cancer: The POMPE-C tool"},"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.","dnr":false,"formula":"pompe_c","formula_expression":"mortality_pct = 100 * (1 - 1 / (1 + exp(3.718 + 1.551*dnr + 0.800*respiratory_distress + 0.734*unilateral_leg_swelling + 1.473*altered_mental_status + 1.027*heart_rate_gt_99 + 0.044*respiratory_rate + (-0.063)*spo2_percent + (-0.012)*weight_lb))); Kline 2012 web-prototype logistic (intercept 3.718); heart_rate_gt_99 coefficient 1.027 from Table 2 (OR 2.8) because the manuscript prototype line-wraps as + HR; flags 1 if true else 0; low if mortality_pct <= 5, high if > 50, else intermediate; 30-day all-cause mortality probability for active cancer + acute PE; not integer points","heart_rate_gt_99":false,"logit":-3.641,"mortality_pct":2.6,"respiratory_distress":false,"respiratory_rate":18,"risk_band":"low","spo2_percent":97,"unilateral_leg_swelling":false,"weight_lb":170},{"altered_mental_status":false,"citation":{"authors":"Kline JA, Roy PM, Than MP, Hernandez J, Courtney DM, Jones AE, Penaloza A, Pollack CV Jr","doi":"10.1016/j.thromres.2012.03.015","id":"kline-2012","pmid":"22475313","source":"Thromb Res. 2012;129(5):e194-e199","title":"Derivation and validation of a multivariate model to predict mortality from pulmonary embolism with cancer: The POMPE-C tool"},"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.","dnr":false,"formula":"pompe_c","formula_expression":"mortality_pct = 100 * (1 - 1 / (1 + exp(3.718 + 1.551*dnr + 0.800*respiratory_distress + 0.734*unilateral_leg_swelling + 1.473*altered_mental_status + 1.027*heart_rate_gt_99 + 0.044*respiratory_rate + (-0.063)*spo2_percent + (-0.012)*weight_lb))); Kline 2012 web-prototype logistic (intercept 3.718); heart_rate_gt_99 coefficient 1.027 from Table 2 (OR 2.8) because the manuscript prototype line-wraps as + HR; flags 1 if true else 0; low if mortality_pct <= 5, high if > 50, else intermediate; 30-day all-cause mortality probability for active cancer + acute PE; not integer points","heart_rate_gt_99":false,"logit":-3.641,"mortality_pct":2.6,"respiratory_distress":false,"respiratory_rate":18,"risk_band":"low","spo2_percent":97,"unilateral_leg_swelling":false,"weight_lb":170}],"path":"/api/calc/pompe_c"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"altered_mental_status":{"description":"Altered mental status as assigned by the caller (Kline 2012: acute impairment in consciousness, new disorientation, delirium, or confusion). true or false. magent does not examine the patient.","type":"boolean"},"dnr":{"description":"Do-not-resuscitate status as assigned by the caller (Kline 2012: new or existing verbal or written desire not to be resuscitated). true or false. magent does not read an advance directive.","type":"boolean"},"heart_rate_gt_99":{"description":"Heart rate documented over 99 beats/min in the previous six hours, as assigned by the caller. true or false. magent does not take a pulse.","type":"boolean"},"respiratory_distress":{"description":"Respiratory distress as assigned by the caller (Kline 2012: obvious anxiety from dyspnea or increased work of breathing). true or false. magent does not examine the patient.","type":"boolean"},"respiratory_rate":{"description":"Highest documented respiratory rate in breaths/min within the previous six hours (integer 4-80). Continuous predictor in the Kline 2012 prototype logistic.","type":"integer"},"spo2_percent":{"description":"Most recent pulse oximetry on room air, percent (50-100). Continuous predictor in the Kline 2012 prototype logistic. magent does not measure saturation.","type":"number"},"unilateral_leg_swelling":{"description":"Unilateral limb swelling as assigned by the caller (Kline 2012: new noticeable arm or leg asymmetry). true or false. magent does not examine the limbs.","type":"boolean"},"weight_lb":{"description":"Body weight in pounds (2-1100), measured or by patient estimate as in Kline 2012. Pounds enter the logistic directly. magent does not convert from kilograms.","type":"number"}},"required":["dnr","respiratory_distress","unilateral_leg_swelling","altered_mental_status","heart_rate_gt_99","respiratory_rate","spo2_percent","weight_lb"],"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},{"id":38953,"slug":"38953","resource":"https://api.magentlab.com/api/calc/pmp","description":"Ghanem 2012 Table 5 bedside preoperative mortality predictor. Inpatient 6, sepsis 4, poor functional status (total ADL assistance) 3, disseminated cancer 1, age (≥80 → 2; 70–79 → 1; 65–69 → 0.5; else 0), cardiac 5, pulmonary 3, renal 1, liver 1, chronic steroid 1, >10% weight loss 1, bleeding disorder 1, DNR 1, obesity −1. Range −1 to 30. Figure 3: <1% died in 0–5, 73% in 20–30. Not a go/no-go for surgery.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"bleeding_disorder":false,"cardiac_comorbidity":false,"disseminated_cancer":false,"dnr":false,"inpatient":false,"liver_comorbidity":false,"obesity":true,"poor_functional_status":false,"pulmonary_comorbidity":false,"renal_comorbidity":false,"sepsis":false,"steroid_chronic":false,"weight_loss_gt_10_percent":false},{"age":50,"bleeding_disorder":false,"cardiac_comorbidity":false,"disseminated_cancer":false,"dnr":false,"inpatient":false,"liver_comorbidity":false,"obesity":true,"poor_functional_status":false,"pulmonary_comorbidity":false,"renal_comorbidity":false,"sepsis":false,"steroid_chronic":false,"weight_loss_gt_10_percent":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Vaid S, Bell T, Grim R, Ahuja V","doi":"10.7812/TPP/12-019","id":"ghanem-2012","pmid":"23251111","source":"Perm J. 2012;16(4):10-16","title":"Predicting Risk of Death in General Surgery Patients on the Basis of Preoperative Variables Using American College of Surgeons National Surgical Quality Improvement Program Data"},"components":[{"factor":"inpatient","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"poor_functional_status","points":0,"present":false},{"factor":"disseminated_cancer","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":50},{"factor":"cardiac_comorbidity","points":0,"present":false},{"factor":"pulmonary_comorbidity","points":0,"present":false},{"factor":"renal_comorbidity","points":0,"present":false},{"factor":"liver_comorbidity","points":0,"present":false},{"factor":"steroid_chronic","points":0,"present":false},{"factor":"weight_loss_gt_10_percent","points":0,"present":false},{"factor":"bleeding_disorder","points":0,"present":false},{"factor":"dnr","points":0,"present":false},{"factor":"obesity","points":-1,"present":true}],"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.","figure3_died_percent":null,"formula":"pmp","formula_expression":"PMP = inpatient 6 + sepsis 4 + poor_functional_status 3 + disseminated_cancer 1 + age (>=80 -> 2; 70-79 -> 1; 65-69 -> 0.5; <65 -> 0) + cardiac_comorbidity 5 + pulmonary_comorbidity 3 + renal_comorbidity 1 + liver_comorbidity 1 + steroid_chronic 1 + weight_loss_gt_10_percent 1 + bleeding_disorder 1 + dnr 1 + obesity -1; Ghanem 2012 Table 5 bedside scoresheet; published range -1 through 30; Figure 3 <1% died in 0-5 and 73% died in 20-30; pmp_ge_20 is the 20-30 interval isolate","max_score":30,"pmp_ge_20":false,"score":-1,"score_interval":null},{"age_years":50,"citation":{"authors":"Vaid S, Bell T, Grim R, Ahuja V","doi":"10.7812/TPP/12-019","id":"ghanem-2012","pmid":"23251111","source":"Perm J. 2012;16(4):10-16","title":"Predicting Risk of Death in General Surgery Patients on the Basis of Preoperative Variables Using American College of Surgeons National Surgical Quality Improvement Program Data"},"components":[{"factor":"inpatient","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"poor_functional_status","points":0,"present":false},{"factor":"disseminated_cancer","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":50},{"factor":"cardiac_comorbidity","points":0,"present":false},{"factor":"pulmonary_comorbidity","points":0,"present":false},{"factor":"renal_comorbidity","points":0,"present":false},{"factor":"liver_comorbidity","points":0,"present":false},{"factor":"steroid_chronic","points":0,"present":false},{"factor":"weight_loss_gt_10_percent","points":0,"present":false},{"factor":"bleeding_disorder","points":0,"present":false},{"factor":"dnr","points":0,"present":false},{"factor":"obesity","points":-1,"present":true}],"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.","figure3_died_percent":null,"formula":"pmp","formula_expression":"PMP = inpatient 6 + sepsis 4 + poor_functional_status 3 + disseminated_cancer 1 + age (>=80 -> 2; 70-79 -> 1; 65-69 -> 0.5; <65 -> 0) + cardiac_comorbidity 5 + pulmonary_comorbidity 3 + renal_comorbidity 1 + liver_comorbidity 1 + steroid_chronic 1 + weight_loss_gt_10_percent 1 + bleeding_disorder 1 + dnr 1 + obesity -1; Ghanem 2012 Table 5 bedside scoresheet; published range -1 through 30; Figure 3 <1% died in 0-5 and 73% died in 20-30; pmp_ge_20 is the 20-30 interval isolate","max_score":30,"pmp_ge_20":false,"score":-1,"score_interval":null}],"path":"/api/calc/pmp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Ghanem 2012 Table 5: ≥80 → 2; 70–79 → 1; 65–69 → 0.5; <65 → 0. Age 65 and 69 score 0.5; 70 and 79 score 1; 80 scores 2. Table 5 only (not the Discussion 1 / 1.5 / 2.5 wording).","type":"integer"},"bleeding_disorder":{"description":"Bleeding disorder as assigned by the caller (Ghanem 2012 Table 5). true scores 1. magent does not diagnose coagulopathy.","type":"boolean"},"cardiac_comorbidity":{"description":"Cardiac comorbidity as assigned by the caller (Ghanem 2012: dyspnea, heart failure, myocardial infarction, angina, peripheral artery disease, or hypertension requiring medication). true scores 5. magent does not diagnose cardiac disease.","type":"boolean"},"disseminated_cancer":{"description":"Disseminated cancer as assigned by the caller (Ghanem 2012 Table 5). true scores 1. magent does not diagnose cancer.","type":"boolean"},"dnr":{"description":"Do-not-resuscitate directive (Ghanem 2012 Table 5). true scores 1. magent does not read code-status orders.","type":"boolean"},"inpatient":{"description":"Inpatient status (Ghanem 2012 Table 5). true scores 6. Caller-assigned; magent does not classify admission status.","type":"boolean"},"liver_comorbidity":{"description":"Liver comorbidity as assigned by the caller (Ghanem 2012: ascites or esophageal varices). true scores 1. magent does not grade liver disease.","type":"boolean"},"obesity":{"description":"Obesity as assigned by the caller (Ghanem 2012 Table 5). true scores −1. magent does not compute BMI.","type":"boolean"},"poor_functional_status":{"description":"Poor functional status: total assistance required for all daily activities (Ghanem 2012 Table 5 / NSQIP totally dependent). true scores 3. magent does not assign functional status.","type":"boolean"},"pulmonary_comorbidity":{"description":"Pulmonary comorbidity as assigned by the caller (Ghanem 2012: ventilator, COPD, or current pneumonia). true scores 3. magent does not diagnose lung disease.","type":"boolean"},"renal_comorbidity":{"description":"Renal comorbidity as assigned by the caller (Ghanem 2012: dialysis or renal failure). true scores 1. magent does not grade kidney disease.","type":"boolean"},"sepsis":{"description":"Preoperative sepsis as assigned by the caller (Ghanem 2012 Table 5). true scores 4. magent does not diagnose sepsis.","type":"boolean"},"steroid_chronic":{"description":"Steroid for a chronic condition (Ghanem 2012 Table 5). true scores 1. magent does not read a medication list.","type":"boolean"},"weight_loss_gt_10_percent":{"description":"Loss of >10% body weight in the last 6 months (Ghanem 2012 Table 5). true scores 1. magent does not compute weight change.","type":"boolean"}},"required":["age","inpatient","sepsis","poor_functional_status","disseminated_cancer","cardiac_comorbidity","pulmonary_comorbidity","renal_comorbidity","liver_comorbidity","steroid_chronic","weight_loss_gt_10_percent","bleeding_disorder","dnr","obesity"],"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":["pmp","preoperative","mortality","nsqip","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:21:59.57Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:21:59.446Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"bleeding_disorder":false,"cardiac_comorbidity":false,"disseminated_cancer":false,"dnr":false,"inpatient":false,"liver_comorbidity":false,"obesity":true,"poor_functional_status":false,"pulmonary_comorbidity":false,"renal_comorbidity":false,"sepsis":false,"steroid_chronic":false,"weight_loss_gt_10_percent":false},{"age":50,"bleeding_disorder":false,"cardiac_comorbidity":false,"disseminated_cancer":false,"dnr":false,"inpatient":false,"liver_comorbidity":false,"obesity":true,"poor_functional_status":false,"pulmonary_comorbidity":false,"renal_comorbidity":false,"sepsis":false,"steroid_chronic":false,"weight_loss_gt_10_percent":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Vaid S, Bell T, Grim R, Ahuja V","doi":"10.7812/TPP/12-019","id":"ghanem-2012","pmid":"23251111","source":"Perm J. 2012;16(4):10-16","title":"Predicting Risk of Death in General Surgery Patients on the Basis of Preoperative Variables Using American College of Surgeons National Surgical Quality Improvement Program Data"},"components":[{"factor":"inpatient","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"poor_functional_status","points":0,"present":false},{"factor":"disseminated_cancer","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":50},{"factor":"cardiac_comorbidity","points":0,"present":false},{"factor":"pulmonary_comorbidity","points":0,"present":false},{"factor":"renal_comorbidity","points":0,"present":false},{"factor":"liver_comorbidity","points":0,"present":false},{"factor":"steroid_chronic","points":0,"present":false},{"factor":"weight_loss_gt_10_percent","points":0,"present":false},{"factor":"bleeding_disorder","points":0,"present":false},{"factor":"dnr","points":0,"present":false},{"factor":"obesity","points":-1,"present":true}],"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.","figure3_died_percent":null,"formula":"pmp","formula_expression":"PMP = inpatient 6 + sepsis 4 + poor_functional_status 3 + disseminated_cancer 1 + age (>=80 -> 2; 70-79 -> 1; 65-69 -> 0.5; <65 -> 0) + cardiac_comorbidity 5 + pulmonary_comorbidity 3 + renal_comorbidity 1 + liver_comorbidity 1 + steroid_chronic 1 + weight_loss_gt_10_percent 1 + bleeding_disorder 1 + dnr 1 + obesity -1; Ghanem 2012 Table 5 bedside scoresheet; published range -1 through 30; Figure 3 <1% died in 0-5 and 73% died in 20-30; pmp_ge_20 is the 20-30 interval isolate","max_score":30,"pmp_ge_20":false,"score":-1,"score_interval":null},{"age_years":50,"citation":{"authors":"Vaid S, Bell T, Grim R, Ahuja V","doi":"10.7812/TPP/12-019","id":"ghanem-2012","pmid":"23251111","source":"Perm J. 2012;16(4):10-16","title":"Predicting Risk of Death in General Surgery Patients on the Basis of Preoperative Variables Using American College of Surgeons National Surgical Quality Improvement Program Data"},"components":[{"factor":"inpatient","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"poor_functional_status","points":0,"present":false},{"factor":"disseminated_cancer","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":50},{"factor":"cardiac_comorbidity","points":0,"present":false},{"factor":"pulmonary_comorbidity","points":0,"present":false},{"factor":"renal_comorbidity","points":0,"present":false},{"factor":"liver_comorbidity","points":0,"present":false},{"factor":"steroid_chronic","points":0,"present":false},{"factor":"weight_loss_gt_10_percent","points":0,"present":false},{"factor":"bleeding_disorder","points":0,"present":false},{"factor":"dnr","points":0,"present":false},{"factor":"obesity","points":-1,"present":true}],"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.","figure3_died_percent":null,"formula":"pmp","formula_expression":"PMP = inpatient 6 + sepsis 4 + poor_functional_status 3 + disseminated_cancer 1 + age (>=80 -> 2; 70-79 -> 1; 65-69 -> 0.5; <65 -> 0) + cardiac_comorbidity 5 + pulmonary_comorbidity 3 + renal_comorbidity 1 + liver_comorbidity 1 + steroid_chronic 1 + weight_loss_gt_10_percent 1 + bleeding_disorder 1 + dnr 1 + obesity -1; Ghanem 2012 Table 5 bedside scoresheet; published range -1 through 30; Figure 3 <1% died in 0-5 and 73% died in 20-30; pmp_ge_20 is the 20-30 interval isolate","max_score":30,"pmp_ge_20":false,"score":-1,"score_interval":null}],"path":"/api/calc/pmp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Ghanem 2012 Table 5: ≥80 → 2; 70–79 → 1; 65–69 → 0.5; <65 → 0. Age 65 and 69 score 0.5; 70 and 79 score 1; 80 scores 2. Table 5 only (not the Discussion 1 / 1.5 / 2.5 wording).","type":"integer"},"bleeding_disorder":{"description":"Bleeding disorder as assigned by the caller (Ghanem 2012 Table 5). true scores 1. magent does not diagnose coagulopathy.","type":"boolean"},"cardiac_comorbidity":{"description":"Cardiac comorbidity as assigned by the caller (Ghanem 2012: dyspnea, heart failure, myocardial infarction, angina, peripheral artery disease, or hypertension requiring medication). true scores 5. magent does not diagnose cardiac disease.","type":"boolean"},"disseminated_cancer":{"description":"Disseminated cancer as assigned by the caller (Ghanem 2012 Table 5). true scores 1. magent does not diagnose cancer.","type":"boolean"},"dnr":{"description":"Do-not-resuscitate directive (Ghanem 2012 Table 5). true scores 1. magent does not read code-status orders.","type":"boolean"},"inpatient":{"description":"Inpatient status (Ghanem 2012 Table 5). true scores 6. Caller-assigned; magent does not classify admission status.","type":"boolean"},"liver_comorbidity":{"description":"Liver comorbidity as assigned by the caller (Ghanem 2012: ascites or esophageal varices). true scores 1. magent does not grade liver disease.","type":"boolean"},"obesity":{"description":"Obesity as assigned by the caller (Ghanem 2012 Table 5). true scores −1. magent does not compute BMI.","type":"boolean"},"poor_functional_status":{"description":"Poor functional status: total assistance required for all daily activities (Ghanem 2012 Table 5 / NSQIP totally dependent). true scores 3. magent does not assign functional status.","type":"boolean"},"pulmonary_comorbidity":{"description":"Pulmonary comorbidity as assigned by the caller (Ghanem 2012: ventilator, COPD, or current pneumonia). true scores 3. magent does not diagnose lung disease.","type":"boolean"},"renal_comorbidity":{"description":"Renal comorbidity as assigned by the caller (Ghanem 2012: dialysis or renal failure). true scores 1. magent does not grade kidney disease.","type":"boolean"},"sepsis":{"description":"Preoperative sepsis as assigned by the caller (Ghanem 2012 Table 5). true scores 4. magent does not diagnose sepsis.","type":"boolean"},"steroid_chronic":{"description":"Steroid for a chronic condition (Ghanem 2012 Table 5). true scores 1. magent does not read a medication list.","type":"boolean"},"weight_loss_gt_10_percent":{"description":"Loss of >10% body weight in the last 6 months (Ghanem 2012 Table 5). true scores 1. magent does not compute weight change.","type":"boolean"}},"required":["age","inpatient","sepsis","poor_functional_status","disseminated_cancer","cardiac_comorbidity","pulmonary_comorbidity","renal_comorbidity","liver_comorbidity","steroid_chronic","weight_loss_gt_10_percent","bleeding_disorder","dnr","obesity"],"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},{"id":38954,"slug":"38954","resource":"https://api.magentlab.com/api/calc/pittsburgh_knee","description":"Pittsburgh knee rule (Seaberg 1994): after fall or blunt trauma, a knee radiograph is indicated if the patient cannot walk four weight-bearing steps or is younger than 12 or older than 50. Deterministic published rule with citation. Not a diagnosis; not the Ottawa knee rule.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":30,"blunt_trauma_or_fall":true,"unable_to_walk_four_steps":false},{"age":30,"blunt_trauma_or_fall":true,"unable_to_walk_four_steps":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"blunt_trauma_or_fall":true,"citation":{"authors":"Seaberg DC, Jackson R","doi":"10.1016/0735-6757(94)90274-7","id":"seaberg-1994","source":"Am J Emerg Med. 1994;12(5):541-543","title":"Clinical decision rule for knee radiographs"},"criteria":[{"factor":"blunt_trauma_or_fall","met":true},{"factor":"unable_to_walk_four_steps","met":false},{"factor":"age_lt_12","met":false,"value":30},{"factor":"age_gt_50","met":false,"value":30}],"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":"pittsburgh_knee","formula_expression":"Knee x-ray indicated iff blunt_trauma_or_fall and (unable_to_walk_four_steps or age < 12 or age > 50)","unable_to_walk_four_steps":false,"xray_indicated":false},{"age_years":30,"blunt_trauma_or_fall":true,"citation":{"authors":"Seaberg DC, Jackson R","doi":"10.1016/0735-6757(94)90274-7","id":"seaberg-1994","source":"Am J Emerg Med. 1994;12(5):541-543","title":"Clinical decision rule for knee radiographs"},"criteria":[{"factor":"blunt_trauma_or_fall","met":true},{"factor":"unable_to_walk_four_steps","met":false},{"factor":"age_lt_12","met":false,"value":30},{"factor":"age_gt_50","met":false,"value":30}],"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":"pittsburgh_knee","formula_expression":"Knee x-ray indicated iff blunt_trauma_or_fall and (unable_to_walk_four_steps or age < 12 or age > 50)","unable_to_walk_four_steps":false,"xray_indicated":false}],"path":"/api/calc/pittsburgh_knee"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (0-120). Seaberg 1994: younger than 12 or older than 50 meets the age limb; 12 and 50 do not.","type":"integer"},"blunt_trauma_or_fall":{"description":"Fall or blunt trauma mechanism (Seaberg 1994). true or false as assigned by the caller. The rule does not indicate a film without this mechanism.","type":"boolean"},"unable_to_walk_four_steps":{"description":"Inability to ambulate four weight-bearing steps (Seaberg 1994). true or false as assigned by the caller.","type":"boolean"}},"required":["age","blunt_trauma_or_fall","unable_to_walk_four_steps"],"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":["pittsburgh-knee","knee-xray","emergency","trauma","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:21:58.035Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:21:57.925Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":30,"blunt_trauma_or_fall":true,"unable_to_walk_four_steps":false},{"age":30,"blunt_trauma_or_fall":true,"unable_to_walk_four_steps":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"blunt_trauma_or_fall":true,"citation":{"authors":"Seaberg DC, Jackson R","doi":"10.1016/0735-6757(94)90274-7","id":"seaberg-1994","source":"Am J Emerg Med. 1994;12(5):541-543","title":"Clinical decision rule for knee radiographs"},"criteria":[{"factor":"blunt_trauma_or_fall","met":true},{"factor":"unable_to_walk_four_steps","met":false},{"factor":"age_lt_12","met":false,"value":30},{"factor":"age_gt_50","met":false,"value":30}],"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":"pittsburgh_knee","formula_expression":"Knee x-ray indicated iff blunt_trauma_or_fall and (unable_to_walk_four_steps or age < 12 or age > 50)","unable_to_walk_four_steps":false,"xray_indicated":false},{"age_years":30,"blunt_trauma_or_fall":true,"citation":{"authors":"Seaberg DC, Jackson R","doi":"10.1016/0735-6757(94)90274-7","id":"seaberg-1994","source":"Am J Emerg Med. 1994;12(5):541-543","title":"Clinical decision rule for knee radiographs"},"criteria":[{"factor":"blunt_trauma_or_fall","met":true},{"factor":"unable_to_walk_four_steps","met":false},{"factor":"age_lt_12","met":false,"value":30},{"factor":"age_gt_50","met":false,"value":30}],"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":"pittsburgh_knee","formula_expression":"Knee x-ray indicated iff blunt_trauma_or_fall and (unable_to_walk_four_steps or age < 12 or age > 50)","unable_to_walk_four_steps":false,"xray_indicated":false}],"path":"/api/calc/pittsburgh_knee"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (0-120). Seaberg 1994: younger than 12 or older than 50 meets the age limb; 12 and 50 do not.","type":"integer"},"blunt_trauma_or_fall":{"description":"Fall or blunt trauma mechanism (Seaberg 1994). true or false as assigned by the caller. The rule does not indicate a film without this mechanism.","type":"boolean"},"unable_to_walk_four_steps":{"description":"Inability to ambulate four weight-bearing steps (Seaberg 1994). true or false as assigned by the caller.","type":"boolean"}},"required":["age","blunt_trauma_or_fall","unable_to_walk_four_steps"],"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},{"id":38955,"slug":"38955","resource":"https://api.magentlab.com/api/calc/piro_cap","description":"Rello 2009 PIRO score for ICU community-acquired pneumonia: comorbidities (COPD or immunocompromise count as one feature) + age >70 + multilobar opacities + shock + severe hypoxemia + acute renal failure + bacteremia + ARDS. Each 1; max 8. Bands low 0-2, mild 3, high 4, very high 5-8. Not CURB-65, PSI, or APACHE II. magent does not interpret a chest radiograph. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_renal_failure":false,"age":75,"ards":false,"bacteremia":false,"copd":false,"immunocompromise":false,"multilobar_opacities":true,"severe_hypoxemia":false,"shock":true},{"acute_renal_failure":false,"age":75,"ards":false,"bacteremia":false,"copd":false,"immunocompromise":false,"multilobar_opacities":true,"severe_hypoxemia":false,"shock":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":75,"band":"mild","citation":{"authors":"Rello J, Rodriguez A, Lisboa T, Gallego M, Lujan M, Wunderink R","doi":"10.1097/CCM.0b013e318194b021","id":"rello-2009","pmid":"19114916","source":"Crit Care Med. 2009;37(2):456-462","title":"PIRO score for community-acquired pneumonia: a new prediction rule for assessment of severity in intensive care unit patients with community-acquired pneumonia"},"components":[{"copd":false,"factor":"comorbidities","immunocompromise":false,"points":0,"present":false},{"factor":"age_gt_70","points":1,"present":true,"value":75},{"factor":"multilobar_opacities","points":1,"present":true},{"factor":"shock","points":1,"present":true},{"factor":"severe_hypoxemia","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"bacteremia","points":0,"present":false},{"factor":"ards","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":"piro_cap","formula_expression":"PIRO-CAP (Rello 2009 ICU CAP, within 24 h of ICU admission) = comorbidities (copd or immunocompromise, 1 if either) + age>70 + multilobar_opacities + shock + severe_hypoxemia + acute_renal_failure + bacteremia + ards; each 1; max 8; bands low 0-2, mild 3, high 4, very_high 5-8. Not CURB-65. Not PSI. Not APACHE II","max_score":8,"score":3},{"age_years":75,"band":"mild","citation":{"authors":"Rello J, Rodriguez A, Lisboa T, Gallego M, Lujan M, Wunderink R","doi":"10.1097/CCM.0b013e318194b021","id":"rello-2009","pmid":"19114916","source":"Crit Care Med. 2009;37(2):456-462","title":"PIRO score for community-acquired pneumonia: a new prediction rule for assessment of severity in intensive care unit patients with community-acquired pneumonia"},"components":[{"copd":false,"factor":"comorbidities","immunocompromise":false,"points":0,"present":false},{"factor":"age_gt_70","points":1,"present":true,"value":75},{"factor":"multilobar_opacities","points":1,"present":true},{"factor":"shock","points":1,"present":true},{"factor":"severe_hypoxemia","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"bacteremia","points":0,"present":false},{"factor":"ards","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":"piro_cap","formula_expression":"PIRO-CAP (Rello 2009 ICU CAP, within 24 h of ICU admission) = comorbidities (copd or immunocompromise, 1 if either) + age>70 + multilobar_opacities + shock + severe_hypoxemia + acute_renal_failure + bacteremia + ards; each 1; max 8; bands low 0-2, mild 3, high 4, very_high 5-8. Not CURB-65. Not PSI. Not APACHE II","max_score":8,"score":3}],"path":"/api/calc/piro_cap"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_renal_failure":{"description":"Acute renal failure as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not assay creatinine.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). Age >70 scores 1 (Rello 2009). Age 70 does not score. magent does not compute age from a date of birth.","type":"integer"},"ards":{"description":"Acute respiratory distress syndrome as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not diagnose ARDS.","type":"boolean"},"bacteremia":{"description":"Bacteremia as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not interpret cultures.","type":"boolean"},"copd":{"description":"Chronic obstructive pulmonary disease as assigned by the caller (Rello 2009 comorbidity feature with immunocompromise). true or false. COPD or immunocompromise scores 1 together, not 1 each. magent does not diagnose COPD.","type":"boolean"},"immunocompromise":{"description":"Immunocompromise as assigned by the caller (Rello 2009 comorbidity feature with COPD). true or false. COPD or immunocompromise scores 1 together, not 1 each. magent does not assign immune status.","type":"boolean"},"multilobar_opacities":{"description":"Multilobar opacities on chest radiograph as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not interpret a chest radiograph.","type":"boolean"},"severe_hypoxemia":{"description":"Severe hypoxemia as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not measure PaO2 or FiO2.","type":"boolean"},"shock":{"description":"Shock as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not measure blood pressure or diagnose shock.","type":"boolean"}},"required":["age","copd","immunocompromise","multilobar_opacities","shock","severe_hypoxemia","acute_renal_failure","bacteremia","ards"],"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":["piro-cap","pneumonia","icu","cap","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:17:25.958Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:17:25.799Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_renal_failure":false,"age":75,"ards":false,"bacteremia":false,"copd":false,"immunocompromise":false,"multilobar_opacities":true,"severe_hypoxemia":false,"shock":true},{"acute_renal_failure":false,"age":75,"ards":false,"bacteremia":false,"copd":false,"immunocompromise":false,"multilobar_opacities":true,"severe_hypoxemia":false,"shock":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":75,"band":"mild","citation":{"authors":"Rello J, Rodriguez A, Lisboa T, Gallego M, Lujan M, Wunderink R","doi":"10.1097/CCM.0b013e318194b021","id":"rello-2009","pmid":"19114916","source":"Crit Care Med. 2009;37(2):456-462","title":"PIRO score for community-acquired pneumonia: a new prediction rule for assessment of severity in intensive care unit patients with community-acquired pneumonia"},"components":[{"copd":false,"factor":"comorbidities","immunocompromise":false,"points":0,"present":false},{"factor":"age_gt_70","points":1,"present":true,"value":75},{"factor":"multilobar_opacities","points":1,"present":true},{"factor":"shock","points":1,"present":true},{"factor":"severe_hypoxemia","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"bacteremia","points":0,"present":false},{"factor":"ards","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":"piro_cap","formula_expression":"PIRO-CAP (Rello 2009 ICU CAP, within 24 h of ICU admission) = comorbidities (copd or immunocompromise, 1 if either) + age>70 + multilobar_opacities + shock + severe_hypoxemia + acute_renal_failure + bacteremia + ards; each 1; max 8; bands low 0-2, mild 3, high 4, very_high 5-8. Not CURB-65. Not PSI. Not APACHE II","max_score":8,"score":3},{"age_years":75,"band":"mild","citation":{"authors":"Rello J, Rodriguez A, Lisboa T, Gallego M, Lujan M, Wunderink R","doi":"10.1097/CCM.0b013e318194b021","id":"rello-2009","pmid":"19114916","source":"Crit Care Med. 2009;37(2):456-462","title":"PIRO score for community-acquired pneumonia: a new prediction rule for assessment of severity in intensive care unit patients with community-acquired pneumonia"},"components":[{"copd":false,"factor":"comorbidities","immunocompromise":false,"points":0,"present":false},{"factor":"age_gt_70","points":1,"present":true,"value":75},{"factor":"multilobar_opacities","points":1,"present":true},{"factor":"shock","points":1,"present":true},{"factor":"severe_hypoxemia","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"bacteremia","points":0,"present":false},{"factor":"ards","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":"piro_cap","formula_expression":"PIRO-CAP (Rello 2009 ICU CAP, within 24 h of ICU admission) = comorbidities (copd or immunocompromise, 1 if either) + age>70 + multilobar_opacities + shock + severe_hypoxemia + acute_renal_failure + bacteremia + ards; each 1; max 8; bands low 0-2, mild 3, high 4, very_high 5-8. Not CURB-65. Not PSI. Not APACHE II","max_score":8,"score":3}],"path":"/api/calc/piro_cap"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_renal_failure":{"description":"Acute renal failure as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not assay creatinine.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). Age >70 scores 1 (Rello 2009). Age 70 does not score. magent does not compute age from a date of birth.","type":"integer"},"ards":{"description":"Acute respiratory distress syndrome as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not diagnose ARDS.","type":"boolean"},"bacteremia":{"description":"Bacteremia as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not interpret cultures.","type":"boolean"},"copd":{"description":"Chronic obstructive pulmonary disease as assigned by the caller (Rello 2009 comorbidity feature with immunocompromise). true or false. COPD or immunocompromise scores 1 together, not 1 each. magent does not diagnose COPD.","type":"boolean"},"immunocompromise":{"description":"Immunocompromise as assigned by the caller (Rello 2009 comorbidity feature with COPD). true or false. COPD or immunocompromise scores 1 together, not 1 each. magent does not assign immune status.","type":"boolean"},"multilobar_opacities":{"description":"Multilobar opacities on chest radiograph as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not interpret a chest radiograph.","type":"boolean"},"severe_hypoxemia":{"description":"Severe hypoxemia as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not measure PaO2 or FiO2.","type":"boolean"},"shock":{"description":"Shock as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not measure blood pressure or diagnose shock.","type":"boolean"}},"required":["age","copd","immunocompromise","multilobar_opacities","shock","severe_hypoxemia","acute_renal_failure","bacteremia","ards"],"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},{"id":38956,"slug":"38956","resource":"https://api.magentlab.com/api/calc/piama","description":"Caudri 2009 PIAMA Table III decimal clinical prediction score (max 55.1). Male 4.6, post-term 7.3, medium/low parental education 4.2, parental inhaled medication 7.7, wheezing none/1–3/≥4 → 0/4.2/9.1, wheeze or dyspnea apart from colds 7.1, serious infections none/1–2/≥3 → 0/4.6/6.9, eczema with rash 8.2. Score <10 ~3% asthma at 7–8 years; ≥30 ~42%. Not a 0–18 integer port, API, or mAPI. Not a diagnosis. magent does not examine the child.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"eczema_with_rash":false,"medium_low_parental_education":false,"parental_inhaled_medication":false,"postterm_delivery":false,"serious_infections":"none","sex":"female","wheeze_dyspnea_apart_from_colds":false,"wheezing":"none"},{"eczema_with_rash":false,"medium_low_parental_education":false,"parental_inhaled_medication":false,"postterm_delivery":false,"serious_infections":"none","sex":"female","wheeze_dyspnea_apart_from_colds":false,"wheezing":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"below_10":true,"citation":{"authors":"Caudri D, Wijga A, Schipper CMA, Hoekstra M, Postma DS, Koppelman GH, Brunekreef B, Smit HA, de Jongste JC","doi":"10.1016/j.jaci.2009.06.045","id":"caudri-2009","pmid":"19665765","source":"J Allergy Clin Immunol. 2009;124(5):903-910","title":"Predicting the long-term prognosis of children with symptoms suggestive of asthma at preschool age"},"components":[{"factor":"male","points":0,"present":false},{"factor":"postterm_delivery","points":0,"present":false},{"factor":"medium_low_parental_education","points":0,"present":false},{"factor":"parental_inhaled_medication","points":0,"present":false},{"factor":"wheezing","points":0,"present":false,"value":"none"},{"factor":"wheeze_dyspnea_apart_from_colds","points":0,"present":false},{"factor":"serious_infections","points":0,"present":false,"value":"none"},{"factor":"eczema_with_rash","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":"piama","formula_expression":"piama = 4.6*male + 7.3*postterm_delivery + 4.2*medium_low_parental_education + 7.7*parental_inhaled_medication + wheezing(none 0, 1_to_3 4.2, ge_4 9.1) + 7.1*wheeze_dyspnea_apart_from_colds + serious_infections(none 0, 1_to_2 4.6, ge_3 6.9) + 8.2*eczema_with_rash; Caudri 2009 Table III; max 55.1; below_10 iff score < 10 (~3% asthma at 7-8 years); ge_30 iff score ≥ 30 (~42% risk)","ge_30":false,"max_score":55.1,"score":0},{"below_10":true,"citation":{"authors":"Caudri D, Wijga A, Schipper CMA, Hoekstra M, Postma DS, Koppelman GH, Brunekreef B, Smit HA, de Jongste JC","doi":"10.1016/j.jaci.2009.06.045","id":"caudri-2009","pmid":"19665765","source":"J Allergy Clin Immunol. 2009;124(5):903-910","title":"Predicting the long-term prognosis of children with symptoms suggestive of asthma at preschool age"},"components":[{"factor":"male","points":0,"present":false},{"factor":"postterm_delivery","points":0,"present":false},{"factor":"medium_low_parental_education","points":0,"present":false},{"factor":"parental_inhaled_medication","points":0,"present":false},{"factor":"wheezing","points":0,"present":false,"value":"none"},{"factor":"wheeze_dyspnea_apart_from_colds","points":0,"present":false},{"factor":"serious_infections","points":0,"present":false,"value":"none"},{"factor":"eczema_with_rash","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":"piama","formula_expression":"piama = 4.6*male + 7.3*postterm_delivery + 4.2*medium_low_parental_education + 7.7*parental_inhaled_medication + wheezing(none 0, 1_to_3 4.2, ge_4 9.1) + 7.1*wheeze_dyspnea_apart_from_colds + serious_infections(none 0, 1_to_2 4.6, ge_3 6.9) + 8.2*eczema_with_rash; Caudri 2009 Table III; max 55.1; below_10 iff score < 10 (~3% asthma at 7-8 years); ge_30 iff score ≥ 30 (~42% risk)","ge_30":false,"max_score":55.1,"score":0}],"path":"/api/calc/piama"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"eczema_with_rash":{"description":"Doctor's diagnosis of eczema AND eczematous rash present, as assigned by the caller (Caudri 2009 Table III). true scores 8.2. magent does not examine the child.","type":"boolean"},"medium_low_parental_education":{"description":"Medium or low education in at least one parent as assigned by the caller (Caudri 2009 Table III). true scores 4.2. magent does not take a parental education history.","type":"boolean"},"parental_inhaled_medication":{"description":"Inhalation medication by at least one parent as assigned by the caller (Caudri 2009 Table III). true scores 7.7. magent does not take a family medication history.","type":"boolean"},"postterm_delivery":{"description":"Post-term delivery as assigned by the caller (Caudri 2009 Table III). true scores 7.3. magent does not take an obstetric history.","type":"boolean"},"serious_infections":{"description":"Serious respiratory or ear/nose/throat infections per year (Caudri 2009 Table III). none scores 0; 1_to_2 (1–2 times/year) scores 4.6; ge_3 (≥3 times/year) scores 6.9. Mutually exclusive. magent does not diagnose infection.","enum":["none","1_to_2","ge_3"],"type":"string"},"sex":{"description":"Caller-assigned sex (Caudri 2009 Table III). male scores 4.6; female scores 0. magent does not assign sex.","enum":["female","male"],"type":"string"},"wheeze_dyspnea_apart_from_colds":{"description":"Wheeze or dyspnea apart from colds as assigned by the caller (Caudri 2009 Table III). true scores 7.1. PIAMA collected this only at ages 3–4 and treated younger children as negative by default; the caller assigns the boolean. magent does not take numeric age and does not auto-override.","type":"boolean"},"wheezing":{"description":"Wheezing frequency in the last year (Caudri 2009 Table III). none scores 0; 1_to_3 (infrequent, 1–3 times/year) scores 4.2; ge_4 (frequent, ≥4 times/year) scores 9.1. Mutually exclusive. magent does not auscultate.","enum":["none","1_to_3","ge_4"],"type":"string"}},"required":["sex","postterm_delivery","medium_low_parental_education","parental_inhaled_medication","wheezing","wheeze_dyspnea_apart_from_colds","serious_infections","eczema_with_rash"],"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":["piama","preschool-asthma","respiratory","wheeze","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:17:25.039Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:17:24.899Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"eczema_with_rash":false,"medium_low_parental_education":false,"parental_inhaled_medication":false,"postterm_delivery":false,"serious_infections":"none","sex":"female","wheeze_dyspnea_apart_from_colds":false,"wheezing":"none"},{"eczema_with_rash":false,"medium_low_parental_education":false,"parental_inhaled_medication":false,"postterm_delivery":false,"serious_infections":"none","sex":"female","wheeze_dyspnea_apart_from_colds":false,"wheezing":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"below_10":true,"citation":{"authors":"Caudri D, Wijga A, Schipper CMA, Hoekstra M, Postma DS, Koppelman GH, Brunekreef B, Smit HA, de Jongste JC","doi":"10.1016/j.jaci.2009.06.045","id":"caudri-2009","pmid":"19665765","source":"J Allergy Clin Immunol. 2009;124(5):903-910","title":"Predicting the long-term prognosis of children with symptoms suggestive of asthma at preschool age"},"components":[{"factor":"male","points":0,"present":false},{"factor":"postterm_delivery","points":0,"present":false},{"factor":"medium_low_parental_education","points":0,"present":false},{"factor":"parental_inhaled_medication","points":0,"present":false},{"factor":"wheezing","points":0,"present":false,"value":"none"},{"factor":"wheeze_dyspnea_apart_from_colds","points":0,"present":false},{"factor":"serious_infections","points":0,"present":false,"value":"none"},{"factor":"eczema_with_rash","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":"piama","formula_expression":"piama = 4.6*male + 7.3*postterm_delivery + 4.2*medium_low_parental_education + 7.7*parental_inhaled_medication + wheezing(none 0, 1_to_3 4.2, ge_4 9.1) + 7.1*wheeze_dyspnea_apart_from_colds + serious_infections(none 0, 1_to_2 4.6, ge_3 6.9) + 8.2*eczema_with_rash; Caudri 2009 Table III; max 55.1; below_10 iff score < 10 (~3% asthma at 7-8 years); ge_30 iff score ≥ 30 (~42% risk)","ge_30":false,"max_score":55.1,"score":0},{"below_10":true,"citation":{"authors":"Caudri D, Wijga A, Schipper CMA, Hoekstra M, Postma DS, Koppelman GH, Brunekreef B, Smit HA, de Jongste JC","doi":"10.1016/j.jaci.2009.06.045","id":"caudri-2009","pmid":"19665765","source":"J Allergy Clin Immunol. 2009;124(5):903-910","title":"Predicting the long-term prognosis of children with symptoms suggestive of asthma at preschool age"},"components":[{"factor":"male","points":0,"present":false},{"factor":"postterm_delivery","points":0,"present":false},{"factor":"medium_low_parental_education","points":0,"present":false},{"factor":"parental_inhaled_medication","points":0,"present":false},{"factor":"wheezing","points":0,"present":false,"value":"none"},{"factor":"wheeze_dyspnea_apart_from_colds","points":0,"present":false},{"factor":"serious_infections","points":0,"present":false,"value":"none"},{"factor":"eczema_with_rash","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":"piama","formula_expression":"piama = 4.6*male + 7.3*postterm_delivery + 4.2*medium_low_parental_education + 7.7*parental_inhaled_medication + wheezing(none 0, 1_to_3 4.2, ge_4 9.1) + 7.1*wheeze_dyspnea_apart_from_colds + serious_infections(none 0, 1_to_2 4.6, ge_3 6.9) + 8.2*eczema_with_rash; Caudri 2009 Table III; max 55.1; below_10 iff score < 10 (~3% asthma at 7-8 years); ge_30 iff score ≥ 30 (~42% risk)","ge_30":false,"max_score":55.1,"score":0}],"path":"/api/calc/piama"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"eczema_with_rash":{"description":"Doctor's diagnosis of eczema AND eczematous rash present, as assigned by the caller (Caudri 2009 Table III). true scores 8.2. magent does not examine the child.","type":"boolean"},"medium_low_parental_education":{"description":"Medium or low education in at least one parent as assigned by the caller (Caudri 2009 Table III). true scores 4.2. magent does not take a parental education history.","type":"boolean"},"parental_inhaled_medication":{"description":"Inhalation medication by at least one parent as assigned by the caller (Caudri 2009 Table III). true scores 7.7. magent does not take a family medication history.","type":"boolean"},"postterm_delivery":{"description":"Post-term delivery as assigned by the caller (Caudri 2009 Table III). true scores 7.3. magent does not take an obstetric history.","type":"boolean"},"serious_infections":{"description":"Serious respiratory or ear/nose/throat infections per year (Caudri 2009 Table III). none scores 0; 1_to_2 (1–2 times/year) scores 4.6; ge_3 (≥3 times/year) scores 6.9. Mutually exclusive. magent does not diagnose infection.","enum":["none","1_to_2","ge_3"],"type":"string"},"sex":{"description":"Caller-assigned sex (Caudri 2009 Table III). male scores 4.6; female scores 0. magent does not assign sex.","enum":["female","male"],"type":"string"},"wheeze_dyspnea_apart_from_colds":{"description":"Wheeze or dyspnea apart from colds as assigned by the caller (Caudri 2009 Table III). true scores 7.1. PIAMA collected this only at ages 3–4 and treated younger children as negative by default; the caller assigns the boolean. magent does not take numeric age and does not auto-override.","type":"boolean"},"wheezing":{"description":"Wheezing frequency in the last year (Caudri 2009 Table III). none scores 0; 1_to_3 (infrequent, 1–3 times/year) scores 4.2; ge_4 (frequent, ≥4 times/year) scores 9.1. Mutually exclusive. magent does not auscultate.","enum":["none","1_to_3","ge_4"],"type":"string"}},"required":["sex","postterm_delivery","medium_low_parental_education","parental_inhaled_medication","wheezing","wheeze_dyspnea_apart_from_colds","serious_infections","eczema_with_rash"],"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},{"id":38957,"slug":"38957","resource":"https://api.magentlab.com/api/calc/phq_9","description":"Kroenke 2001 PHQ-9 from nine caller-assigned DSM-IV depression items as integers 0-3 (0 not at all, 1 several days, 2 more than half the days, 3 nearly every day). magent does not interpret the items. Total 0-27. Severity: 0-4 none_minimal, 5-9 mild, 10-14 moderate, 15-19 moderately_severe, 20-27 severe. Returns screen_ge_10 (score ≥10; this paper 88% sensitivity and 88% specificity for major depression). Not a diagnosis, not a treatment order, not GAD-7, and not PHQ-2/PHQ-8.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anhedonia":0,"appetite":0,"concentration":0,"depressed":0,"energy":0,"failure":0,"psychomotor":0,"self_harm":0,"sleep":0},{"anhedonia":0,"appetite":0,"concentration":0,"depressed":0,"energy":0,"failure":0,"psychomotor":0,"self_harm":0,"sleep":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kroenke K, Spitzer RL, Williams JBW","doi":"10.1046/j.1525-1497.2001.016009606.x","id":"kroenke-2001","pmid":"11556941","source":"J Gen Intern Med. 2001;16(9):606-613","title":"The PHQ-9: validity of a brief depression severity measure"},"components":[{"factor":"anhedonia","points":0,"present":true,"value":0},{"factor":"depressed","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"energy","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0},{"factor":"failure","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"psychomotor","points":0,"present":true,"value":0},{"factor":"self_harm","points":0,"present":true,"value":0}],"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":"phq_9","formula_expression":"PHQ-9 = anhedonia + depressed + sleep + energy + appetite + failure + concentration + psychomotor + self_harm; each caller-assigned 0-3; max 27","max_score":27,"score":0,"screen_ge_10":false,"severity":"none_minimal"},{"citation":{"authors":"Kroenke K, Spitzer RL, Williams JBW","doi":"10.1046/j.1525-1497.2001.016009606.x","id":"kroenke-2001","pmid":"11556941","source":"J Gen Intern Med. 2001;16(9):606-613","title":"The PHQ-9: validity of a brief depression severity measure"},"components":[{"factor":"anhedonia","points":0,"present":true,"value":0},{"factor":"depressed","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"energy","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0},{"factor":"failure","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"psychomotor","points":0,"present":true,"value":0},{"factor":"self_harm","points":0,"present":true,"value":0}],"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":"phq_9","formula_expression":"PHQ-9 = anhedonia + depressed + sleep + energy + appetite + failure + concentration + psychomotor + self_harm; each caller-assigned 0-3; max 27","max_score":27,"score":0,"screen_ge_10":false,"severity":"none_minimal"}],"path":"/api/calc/phq_9"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anhedonia":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 1 (integer 0-3): little interest or pleasure in doing things (0 not at all, 1 several days, 2 more than half the days, 3 nearly every day). magent does not interpret the item.","type":"integer"},"appetite":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 5 (integer 0-3): poor appetite or overeating. magent does not interpret the item.","type":"integer"},"concentration":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 7 (integer 0-3): trouble concentrating on things such as reading or watching television. magent does not interpret the item.","type":"integer"},"depressed":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 2 (integer 0-3): feeling down, depressed, or hopeless. magent does not interpret the item.","type":"integer"},"energy":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 4 (integer 0-3): feeling tired or having little energy. magent does not interpret the item.","type":"integer"},"failure":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 6 (integer 0-3): feeling bad about yourself — a failure, or having let yourself or your family down. magent does not interpret the item.","type":"integer"},"psychomotor":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 8 (integer 0-3): moving or speaking so slowly that other people could have noticed, or being so fidgety or restless that you have been moving around a lot more than usual. magent does not interpret the item.","type":"integer"},"self_harm":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 9 (integer 0-3): thoughts that you would be better off dead, or of hurting yourself in some way. magent does not interpret the item.","type":"integer"},"sleep":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 3 (integer 0-3): trouble falling or staying asleep, or sleeping too much. magent does not interpret the item.","type":"integer"}},"required":["anhedonia","depressed","sleep","energy","appetite","failure","concentration","psychomotor","self_harm"],"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":["phq-9","depression","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:17:24.131Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:17:23.941Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anhedonia":0,"appetite":0,"concentration":0,"depressed":0,"energy":0,"failure":0,"psychomotor":0,"self_harm":0,"sleep":0},{"anhedonia":0,"appetite":0,"concentration":0,"depressed":0,"energy":0,"failure":0,"psychomotor":0,"self_harm":0,"sleep":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kroenke K, Spitzer RL, Williams JBW","doi":"10.1046/j.1525-1497.2001.016009606.x","id":"kroenke-2001","pmid":"11556941","source":"J Gen Intern Med. 2001;16(9):606-613","title":"The PHQ-9: validity of a brief depression severity measure"},"components":[{"factor":"anhedonia","points":0,"present":true,"value":0},{"factor":"depressed","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"energy","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0},{"factor":"failure","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"psychomotor","points":0,"present":true,"value":0},{"factor":"self_harm","points":0,"present":true,"value":0}],"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":"phq_9","formula_expression":"PHQ-9 = anhedonia + depressed + sleep + energy + appetite + failure + concentration + psychomotor + self_harm; each caller-assigned 0-3; max 27","max_score":27,"score":0,"screen_ge_10":false,"severity":"none_minimal"},{"citation":{"authors":"Kroenke K, Spitzer RL, Williams JBW","doi":"10.1046/j.1525-1497.2001.016009606.x","id":"kroenke-2001","pmid":"11556941","source":"J Gen Intern Med. 2001;16(9):606-613","title":"The PHQ-9: validity of a brief depression severity measure"},"components":[{"factor":"anhedonia","points":0,"present":true,"value":0},{"factor":"depressed","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"energy","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0},{"factor":"failure","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"psychomotor","points":0,"present":true,"value":0},{"factor":"self_harm","points":0,"present":true,"value":0}],"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":"phq_9","formula_expression":"PHQ-9 = anhedonia + depressed + sleep + energy + appetite + failure + concentration + psychomotor + self_harm; each caller-assigned 0-3; max 27","max_score":27,"score":0,"screen_ge_10":false,"severity":"none_minimal"}],"path":"/api/calc/phq_9"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anhedonia":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 1 (integer 0-3): little interest or pleasure in doing things (0 not at all, 1 several days, 2 more than half the days, 3 nearly every day). magent does not interpret the item.","type":"integer"},"appetite":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 5 (integer 0-3): poor appetite or overeating. magent does not interpret the item.","type":"integer"},"concentration":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 7 (integer 0-3): trouble concentrating on things such as reading or watching television. magent does not interpret the item.","type":"integer"},"depressed":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 2 (integer 0-3): feeling down, depressed, or hopeless. magent does not interpret the item.","type":"integer"},"energy":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 4 (integer 0-3): feeling tired or having little energy. magent does not interpret the item.","type":"integer"},"failure":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 6 (integer 0-3): feeling bad about yourself — a failure, or having let yourself or your family down. magent does not interpret the item.","type":"integer"},"psychomotor":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 8 (integer 0-3): moving or speaking so slowly that other people could have noticed, or being so fidgety or restless that you have been moving around a lot more than usual. magent does not interpret the item.","type":"integer"},"self_harm":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 9 (integer 0-3): thoughts that you would be better off dead, or of hurting yourself in some way. magent does not interpret the item.","type":"integer"},"sleep":{"description":"Caller-assigned Kroenke 2001 PHQ-9 item 3 (integer 0-3): trouble falling or staying asleep, or sleeping too much. magent does not interpret the item.","type":"integer"}},"required":["anhedonia","depressed","sleep","energy","appetite","failure","concentration","psychomotor","self_harm"],"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},{"id":38958,"slug":"38958","resource":"https://api.magentlab.com/api/calc/phoenix_sepsis","description":"Schlapbach 2024 Phoenix Sepsis Score (max 13) from four caller-assigned table integers: respiratory 0-3, cardiovascular 0-6 (vasoactives + lactate + age-adjusted MAP), coagulation 0-2, neurologic 0-2. Sepsis if suspected_infection and score ≥2; septic shock if sepsis and cardiovascular ≥1. magent does not take raw labs, P/F, MAP, or GCS. Not Phoenix-8, not adult SOFA, not 2005 Goldstein SIRS sepsis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cardiovascular":0,"coagulation":0,"neurologic":0,"respiratory":0,"suspected_infection":true},{"cardiovascular":0,"coagulation":0,"neurologic":0,"respiratory":0,"suspected_infection":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cardiovascular":0,"category":"not_sepsis","citation":{"authors":"Schlapbach LJ, Watson RS, Sorce LR, et al.","doi":"10.1001/jama.2024.0179","id":"schlapbach-2024","pmid":"38245889","source":"JAMA. 2024;331(8):665-674","title":"International Consensus Criteria for Pediatric Sepsis and Septic Shock"},"coagulation":0,"components":[{"factor":"respiratory","points":0,"present":false,"value":0},{"factor":"cardiovascular","points":0,"present":false,"value":0},{"factor":"coagulation","points":0,"present":false,"value":0},{"factor":"neurologic","points":0,"present":false,"value":0}],"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":"phoenix_sepsis","formula_expression":"Phoenix Sepsis Score = respiratory (0-3) + cardiovascular (0-6) + coagulation (0-2) + neurologic (0-2); caller-assigned Schlapbach 2024 table integers; max 13; sepsis iff suspected_infection and score >= 2; septic_shock iff sepsis and cardiovascular >= 1","max_score":13,"neurologic":0,"phoenix_sepsis_score":0,"respiratory":0,"score":0,"sepsis":false,"septic_shock":false,"suspected_infection":true},{"cardiovascular":0,"category":"not_sepsis","citation":{"authors":"Schlapbach LJ, Watson RS, Sorce LR, et al.","doi":"10.1001/jama.2024.0179","id":"schlapbach-2024","pmid":"38245889","source":"JAMA. 2024;331(8):665-674","title":"International Consensus Criteria for Pediatric Sepsis and Septic Shock"},"coagulation":0,"components":[{"factor":"respiratory","points":0,"present":false,"value":0},{"factor":"cardiovascular","points":0,"present":false,"value":0},{"factor":"coagulation","points":0,"present":false,"value":0},{"factor":"neurologic","points":0,"present":false,"value":0}],"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":"phoenix_sepsis","formula_expression":"Phoenix Sepsis Score = respiratory (0-3) + cardiovascular (0-6) + coagulation (0-2) + neurologic (0-2); caller-assigned Schlapbach 2024 table integers; max 13; sepsis iff suspected_infection and score >= 2; septic_shock iff sepsis and cardiovascular >= 1","max_score":13,"neurologic":0,"phoenix_sepsis_score":0,"respiratory":0,"score":0,"sepsis":false,"septic_shock":false,"suspected_infection":true}],"path":"/api/calc/phoenix_sepsis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cardiovascular":{"description":"Caller-assigned Schlapbach 2024 Phoenix table cardiovascular integer 0-6: sum of vasoactives 0-2 (none / 1 / ≥2 of epinephrine, norepinephrine, dopamine, dobutamine, milrinone, vasopressin) + lactate 0-2 (<5 / 5-10.9 / ≥11 mmol/L) + age-adjusted MAP 0-2. magent does not take vasoactive counts, lactate, MAP, or age.","type":"integer"},"coagulation":{"description":"Caller-assigned Schlapbach 2024 Phoenix table coagulation integer 0-2. 1 each for platelets <100 K/μL, INR >1.3, D-dimer >2 mg/L FEU, fibrinogen <100 mg/dL, capped at 2. magent does not take those labs.","type":"integer"},"neurologic":{"description":"Caller-assigned Schlapbach 2024 Phoenix table neurologic integer 0-2. GCS ≤10 scores 1; bilaterally fixed pupils scores 2. magent does not take GCS or pupil exam.","type":"integer"},"respiratory":{"description":"Caller-assigned Schlapbach 2024 Phoenix table respiratory integer 0-3. 0: PaO2/FiO2 ≥400 or SpO2/FiO2 ≥292. 1: PaO2/FiO2 <400 or SpO2/FiO2 <292 on any respiratory support. 2: PaO2/FiO2 100-200 and IMV, or SpO2/FiO2 148-220 and IMV. 3: PaO2/FiO2 <100 and IMV, or SpO2/FiO2 <148 and IMV. magent does not take PaO2, SpO2, FiO2, or ventilation.","type":"integer"},"suspected_infection":{"description":"Suspected or confirmed infection as assigned by the caller (Schlapbach 2024). Sepsis requires this true and Phoenix Sepsis Score ≥2. true or false.","type":"boolean"}},"required":["respiratory","cardiovascular","coagulation","neurologic","suspected_infection"],"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":["phoenix-sepsis","pediatric-sepsis","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:11:56.966Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:11:56.855Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cardiovascular":0,"coagulation":0,"neurologic":0,"respiratory":0,"suspected_infection":true},{"cardiovascular":0,"coagulation":0,"neurologic":0,"respiratory":0,"suspected_infection":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cardiovascular":0,"category":"not_sepsis","citation":{"authors":"Schlapbach LJ, Watson RS, Sorce LR, et al.","doi":"10.1001/jama.2024.0179","id":"schlapbach-2024","pmid":"38245889","source":"JAMA. 2024;331(8):665-674","title":"International Consensus Criteria for Pediatric Sepsis and Septic Shock"},"coagulation":0,"components":[{"factor":"respiratory","points":0,"present":false,"value":0},{"factor":"cardiovascular","points":0,"present":false,"value":0},{"factor":"coagulation","points":0,"present":false,"value":0},{"factor":"neurologic","points":0,"present":false,"value":0}],"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":"phoenix_sepsis","formula_expression":"Phoenix Sepsis Score = respiratory (0-3) + cardiovascular (0-6) + coagulation (0-2) + neurologic (0-2); caller-assigned Schlapbach 2024 table integers; max 13; sepsis iff suspected_infection and score >= 2; septic_shock iff sepsis and cardiovascular >= 1","max_score":13,"neurologic":0,"phoenix_sepsis_score":0,"respiratory":0,"score":0,"sepsis":false,"septic_shock":false,"suspected_infection":true},{"cardiovascular":0,"category":"not_sepsis","citation":{"authors":"Schlapbach LJ, Watson RS, Sorce LR, et al.","doi":"10.1001/jama.2024.0179","id":"schlapbach-2024","pmid":"38245889","source":"JAMA. 2024;331(8):665-674","title":"International Consensus Criteria for Pediatric Sepsis and Septic Shock"},"coagulation":0,"components":[{"factor":"respiratory","points":0,"present":false,"value":0},{"factor":"cardiovascular","points":0,"present":false,"value":0},{"factor":"coagulation","points":0,"present":false,"value":0},{"factor":"neurologic","points":0,"present":false,"value":0}],"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":"phoenix_sepsis","formula_expression":"Phoenix Sepsis Score = respiratory (0-3) + cardiovascular (0-6) + coagulation (0-2) + neurologic (0-2); caller-assigned Schlapbach 2024 table integers; max 13; sepsis iff suspected_infection and score >= 2; septic_shock iff sepsis and cardiovascular >= 1","max_score":13,"neurologic":0,"phoenix_sepsis_score":0,"respiratory":0,"score":0,"sepsis":false,"septic_shock":false,"suspected_infection":true}],"path":"/api/calc/phoenix_sepsis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cardiovascular":{"description":"Caller-assigned Schlapbach 2024 Phoenix table cardiovascular integer 0-6: sum of vasoactives 0-2 (none / 1 / ≥2 of epinephrine, norepinephrine, dopamine, dobutamine, milrinone, vasopressin) + lactate 0-2 (<5 / 5-10.9 / ≥11 mmol/L) + age-adjusted MAP 0-2. magent does not take vasoactive counts, lactate, MAP, or age.","type":"integer"},"coagulation":{"description":"Caller-assigned Schlapbach 2024 Phoenix table coagulation integer 0-2. 1 each for platelets <100 K/μL, INR >1.3, D-dimer >2 mg/L FEU, fibrinogen <100 mg/dL, capped at 2. magent does not take those labs.","type":"integer"},"neurologic":{"description":"Caller-assigned Schlapbach 2024 Phoenix table neurologic integer 0-2. GCS ≤10 scores 1; bilaterally fixed pupils scores 2. magent does not take GCS or pupil exam.","type":"integer"},"respiratory":{"description":"Caller-assigned Schlapbach 2024 Phoenix table respiratory integer 0-3. 0: PaO2/FiO2 ≥400 or SpO2/FiO2 ≥292. 1: PaO2/FiO2 <400 or SpO2/FiO2 <292 on any respiratory support. 2: PaO2/FiO2 100-200 and IMV, or SpO2/FiO2 148-220 and IMV. 3: PaO2/FiO2 <100 and IMV, or SpO2/FiO2 <148 and IMV. magent does not take PaO2, SpO2, FiO2, or ventilation.","type":"integer"},"suspected_infection":{"description":"Suspected or confirmed infection as assigned by the caller (Schlapbach 2024). Sepsis requires this true and Phoenix Sepsis Score ≥2. true or false.","type":"boolean"}},"required":["respiratory","cardiovascular","coagulation","neurologic","suspected_infection"],"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},{"id":38959,"slug":"38959","resource":"https://api.magentlab.com/api/calc/pgcs","description":"Paediatric Glasgow Coma Scale (PGCS) from caller-assigned eye 1-4, verbal 1-5, and motor 1-6 integers (Reilly 1988). Sum 3-15; 1976-style six-point motor. magent does not observe the child, take age, pick age-specific wording, or implement an age-max expected-normal table. Not adult GCS 1974 five-point motor. Not a diagnosis, trauma triage, or intubation order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"eye":4,"motor":6,"verbal":5},{"eye":4,"motor":6,"verbal":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Reilly PL, Simpson DA, Sprod R, Thomas L","doi":"10.1007/BF00274080","id":"reilly-1988","pmid":"3135935","source":"Childs Nerv Syst. 1988;4(1):30-33","title":"Assessing the conscious level in infants and young children: a paediatric version of the Glasgow Coma Scale"},"components":[{"factor":"eye","points":4,"present":true,"value":4},{"factor":"verbal","points":5,"present":true,"value":5},{"factor":"motor","points":6,"present":true,"value":6}],"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":"pgcs","formula_expression":"PGCS = eye + verbal + motor; eye 1-4, verbal 1-5, motor 1-6; max 15","max_score":15,"score":15},{"citation":{"authors":"Reilly PL, Simpson DA, Sprod R, Thomas L","doi":"10.1007/BF00274080","id":"reilly-1988","pmid":"3135935","source":"Childs Nerv Syst. 1988;4(1):30-33","title":"Assessing the conscious level in infants and young children: a paediatric version of the Glasgow Coma Scale"},"components":[{"factor":"eye","points":4,"present":true,"value":4},{"factor":"verbal","points":5,"present":true,"value":5},{"factor":"motor","points":6,"present":true,"value":6}],"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":"pgcs","formula_expression":"PGCS = eye + verbal + motor; eye 1-4, verbal 1-5, motor 1-6; max 15","max_score":15,"score":15}],"path":"/api/calc/pgcs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"eye":{"description":"Eye opening (E). Integer 1-4 as assigned by the caller after age-appropriate paediatric descriptors. magent does not observe the child.","type":"integer"},"motor":{"description":"Motor response (M). Integer 1-6 as assigned by the caller after age-appropriate paediatric descriptors. magent does not observe the child.","type":"integer"},"verbal":{"description":"Verbal response (V). Integer 1-5 as assigned by the caller after age-appropriate paediatric descriptors. magent does not observe the child.","type":"integer"}},"required":["eye","verbal","motor"],"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":["pgcs","coma","neurology","paediatric","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:11:55.459Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:11:55.172Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"eye":4,"motor":6,"verbal":5},{"eye":4,"motor":6,"verbal":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Reilly PL, Simpson DA, Sprod R, Thomas L","doi":"10.1007/BF00274080","id":"reilly-1988","pmid":"3135935","source":"Childs Nerv Syst. 1988;4(1):30-33","title":"Assessing the conscious level in infants and young children: a paediatric version of the Glasgow Coma Scale"},"components":[{"factor":"eye","points":4,"present":true,"value":4},{"factor":"verbal","points":5,"present":true,"value":5},{"factor":"motor","points":6,"present":true,"value":6}],"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":"pgcs","formula_expression":"PGCS = eye + verbal + motor; eye 1-4, verbal 1-5, motor 1-6; max 15","max_score":15,"score":15},{"citation":{"authors":"Reilly PL, Simpson DA, Sprod R, Thomas L","doi":"10.1007/BF00274080","id":"reilly-1988","pmid":"3135935","source":"Childs Nerv Syst. 1988;4(1):30-33","title":"Assessing the conscious level in infants and young children: a paediatric version of the Glasgow Coma Scale"},"components":[{"factor":"eye","points":4,"present":true,"value":4},{"factor":"verbal","points":5,"present":true,"value":5},{"factor":"motor","points":6,"present":true,"value":6}],"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":"pgcs","formula_expression":"PGCS = eye + verbal + motor; eye 1-4, verbal 1-5, motor 1-6; max 15","max_score":15,"score":15}],"path":"/api/calc/pgcs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"eye":{"description":"Eye opening (E). Integer 1-4 as assigned by the caller after age-appropriate paediatric descriptors. magent does not observe the child.","type":"integer"},"motor":{"description":"Motor response (M). Integer 1-6 as assigned by the caller after age-appropriate paediatric descriptors. magent does not observe the child.","type":"integer"},"verbal":{"description":"Verbal response (V). Integer 1-5 as assigned by the caller after age-appropriate paediatric descriptors. magent does not observe the child.","type":"integer"}},"required":["eye","verbal","motor"],"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},{"id":38960,"slug":"38960","resource":"https://api.magentlab.com/api/calc/pfib_c","description":"Lefere 2025 pFIB-c logistic probability of significant (>=F2) liver fibrosis in pediatric MASLD from sex (boy/girl), hypertension, ALT (U/L), caller-assigned CDC/WHO weight Z-score, HOMA-IR, and caller-assigned Black ethnicity. Table 2 coefficients. Derivation rule-out cutoff 0.226. magent does not assign race or ethnicity and does not compute LMS Z-scores. Not a biopsy, not pFIB-6, and not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"alt_u_l":30,"black_ethnicity":false,"homa_ir":2,"hypertension":false,"sex":"girl","weight_z_score":1},{"alt_u_l":30,"black_ethnicity":false,"homa_ir":2,"hypertension":false,"sex":"girl","weight_z_score":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alt_u_l":30,"below_rule_out_cutoff":true,"black_ethnicity":false,"citation":{"authors":"Lefere S, Dupont E, De Guchtenaere A, et al.","doi":"10.1097/hep.0000000000001016","id":"lefere-2025-pfib","pmid":"39028885","source":"Hepatology. 2025;81(4):1276-1287","title":"Development and validation of pFIB scores for exclusion of significant liver fibrosis in pediatric MASLD"},"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":"pfib_c","formula_expression":"x = -5.155 + 1.194*sex_boy + 1.636*hypertension + 0.019*alt_u_l + 0.633*weight_z_score + 0.079*homa_ir - 2.453*black_ethnicity; probability = exp(x)/(1+exp(x)); Lefere 2025 Table 2 logistic for significant (≥F2) fibrosis; sex_boy 1 if boy, 0 if girl (paper terms); black_ethnicity caller-assigned Black ethnicity; weight_z_score caller-assigned CDC/WHO weight Z; below_rule_out_cutoff iff probability < 0.226 (derivation-cohort high NPV); not pFIB-6","homa_ir":2,"hypertension":false,"probability":0.022,"sex":"girl","weight_z_score":1,"x":-3.794},{"alt_u_l":30,"below_rule_out_cutoff":true,"black_ethnicity":false,"citation":{"authors":"Lefere S, Dupont E, De Guchtenaere A, et al.","doi":"10.1097/hep.0000000000001016","id":"lefere-2025-pfib","pmid":"39028885","source":"Hepatology. 2025;81(4):1276-1287","title":"Development and validation of pFIB scores for exclusion of significant liver fibrosis in pediatric MASLD"},"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":"pfib_c","formula_expression":"x = -5.155 + 1.194*sex_boy + 1.636*hypertension + 0.019*alt_u_l + 0.633*weight_z_score + 0.079*homa_ir - 2.453*black_ethnicity; probability = exp(x)/(1+exp(x)); Lefere 2025 Table 2 logistic for significant (≥F2) fibrosis; sex_boy 1 if boy, 0 if girl (paper terms); black_ethnicity caller-assigned Black ethnicity; weight_z_score caller-assigned CDC/WHO weight Z; below_rule_out_cutoff iff probability < 0.226 (derivation-cohort high NPV); not pFIB-6","homa_ir":2,"hypertension":false,"probability":0.022,"sex":"girl","weight_z_score":1,"x":-3.794}],"path":"/api/calc/pfib_c"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alt_u_l":{"description":"Alanine aminotransferase in U/L (5-500). Lefere 2025 Table 2: +0.019 per U/L. magent does not convert other ALT units.","type":"number"},"black_ethnicity":{"description":"Caller-assigned Black ethnicity as used in Lefere 2025 (true or false). Table 2: true adds -2.453. magent does not assign race or ethnicity.","type":"boolean"},"homa_ir":{"description":"Caller-assigned HOMA-IR (0-50). Lefere 2025 Table 2: +0.079 per unit. magent does not compute HOMA-IR from glucose and insulin.","type":"number"},"hypertension":{"description":"Hypertension as assigned by the caller (true or false). Lefere 2025 Table 2: true adds 1.636.","type":"boolean"},"sex":{"description":"Sex as Lefere 2025 Table 2 (boy or girl). boy adds 1.194 (sex_boy=1); girl adds 0. Paper terms.","enum":["boy","girl"],"type":"string"},"weight_z_score":{"description":"Caller-assigned CDC or WHO weight-for-age Z-score (-5 to 8). Lefere 2025 Table 2: +0.633 per unit. magent does not compute LMS tables from height, weight, age, or sex.","type":"number"}},"required":["sex","hypertension","alt_u_l","weight_z_score","homa_ir","black_ethnicity"],"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":["pfib-c","masld","pediatric","fibrosis","liver","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:11:53.137Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:11:52.912Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alt_u_l":30,"black_ethnicity":false,"homa_ir":2,"hypertension":false,"sex":"girl","weight_z_score":1},{"alt_u_l":30,"black_ethnicity":false,"homa_ir":2,"hypertension":false,"sex":"girl","weight_z_score":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alt_u_l":30,"below_rule_out_cutoff":true,"black_ethnicity":false,"citation":{"authors":"Lefere S, Dupont E, De Guchtenaere A, et al.","doi":"10.1097/hep.0000000000001016","id":"lefere-2025-pfib","pmid":"39028885","source":"Hepatology. 2025;81(4):1276-1287","title":"Development and validation of pFIB scores for exclusion of significant liver fibrosis in pediatric MASLD"},"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":"pfib_c","formula_expression":"x = -5.155 + 1.194*sex_boy + 1.636*hypertension + 0.019*alt_u_l + 0.633*weight_z_score + 0.079*homa_ir - 2.453*black_ethnicity; probability = exp(x)/(1+exp(x)); Lefere 2025 Table 2 logistic for significant (≥F2) fibrosis; sex_boy 1 if boy, 0 if girl (paper terms); black_ethnicity caller-assigned Black ethnicity; weight_z_score caller-assigned CDC/WHO weight Z; below_rule_out_cutoff iff probability < 0.226 (derivation-cohort high NPV); not pFIB-6","homa_ir":2,"hypertension":false,"probability":0.022,"sex":"girl","weight_z_score":1,"x":-3.794},{"alt_u_l":30,"below_rule_out_cutoff":true,"black_ethnicity":false,"citation":{"authors":"Lefere S, Dupont E, De Guchtenaere A, et al.","doi":"10.1097/hep.0000000000001016","id":"lefere-2025-pfib","pmid":"39028885","source":"Hepatology. 2025;81(4):1276-1287","title":"Development and validation of pFIB scores for exclusion of significant liver fibrosis in pediatric MASLD"},"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":"pfib_c","formula_expression":"x = -5.155 + 1.194*sex_boy + 1.636*hypertension + 0.019*alt_u_l + 0.633*weight_z_score + 0.079*homa_ir - 2.453*black_ethnicity; probability = exp(x)/(1+exp(x)); Lefere 2025 Table 2 logistic for significant (≥F2) fibrosis; sex_boy 1 if boy, 0 if girl (paper terms); black_ethnicity caller-assigned Black ethnicity; weight_z_score caller-assigned CDC/WHO weight Z; below_rule_out_cutoff iff probability < 0.226 (derivation-cohort high NPV); not pFIB-6","homa_ir":2,"hypertension":false,"probability":0.022,"sex":"girl","weight_z_score":1,"x":-3.794}],"path":"/api/calc/pfib_c"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alt_u_l":{"description":"Alanine aminotransferase in U/L (5-500). Lefere 2025 Table 2: +0.019 per U/L. magent does not convert other ALT units.","type":"number"},"black_ethnicity":{"description":"Caller-assigned Black ethnicity as used in Lefere 2025 (true or false). Table 2: true adds -2.453. magent does not assign race or ethnicity.","type":"boolean"},"homa_ir":{"description":"Caller-assigned HOMA-IR (0-50). Lefere 2025 Table 2: +0.079 per unit. magent does not compute HOMA-IR from glucose and insulin.","type":"number"},"hypertension":{"description":"Hypertension as assigned by the caller (true or false). Lefere 2025 Table 2: true adds 1.636.","type":"boolean"},"sex":{"description":"Sex as Lefere 2025 Table 2 (boy or girl). boy adds 1.194 (sex_boy=1); girl adds 0. Paper terms.","enum":["boy","girl"],"type":"string"},"weight_z_score":{"description":"Caller-assigned CDC or WHO weight-for-age Z-score (-5 to 8). Lefere 2025 Table 2: +0.633 per unit. magent does not compute LMS tables from height, weight, age, or sex.","type":"number"}},"required":["sex","hypertension","alt_u_l","weight_z_score","homa_ir","black_ethnicity"],"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},{"id":38961,"slug":"38961","resource":"https://api.magentlab.com/api/calc/pews","description":"Monaghan 2005 Brighton PEWS: behaviour, cardiovascular, and respiratory 0-3 each, plus +2 each for quarter-hourly nebulisers and persistent post-surgery vomiting (max 13). HR/RR use APLS 2005 age-group rest ranges as the paper's normal rate and mean. Returns score_ge_3. Not NEWS2; not MEWS; not Bedside PEWS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_group":"infant","behavior":"playing","cardiovascular":"pink","heart_rate_bpm":130,"oxygen":"none","persistent_vomiting_after_surgery":false,"quarter_hourly_nebulisers":false,"respiratory_effort":"none","respiratory_rate":35},{"age_group":"infant","behavior":"playing","cardiovascular":"pink","heart_rate_bpm":130,"oxygen":"none","persistent_vomiting_after_surgery":false,"quarter_hourly_nebulisers":false,"respiratory_effort":"none","respiratory_rate":35}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_group":"infant","behavior":"playing","cardiovascular":"pink","citation":{"authors":"Monaghan A","doi":"10.7748/paed2005.02.17.1.32.c964","id":"monaghan-2005","pmid":"15751446","source":"Paediatr Nurs. 2005;17(1):32-35","title":"Detecting and managing deterioration in children"},"components":[{"factor":"behavior","points":0,"present":false,"value":"playing"},{"factor":"cardiovascular","points":0,"present":false,"value":"pink"},{"factor":"respiratory","points":0,"present":false,"value":"none"},{"factor":"quarter_hourly_nebulisers","points":0,"present":false},{"factor":"persistent_vomiting_after_surgery","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":"pews","formula_expression":"PEWS = behavior_points + cardiovascular_points + respiratory_points + nebuliser_points + vomiting_points; Monaghan 2005 Brighton table (each domain 0-3; extra +2 each for quarter-hourly nebulisers and persistent vomiting following surgery); max 13","heart_rate_bpm":130,"max_score":13,"oxygen":"none","persistent_vomiting_after_surgery":false,"quarter_hourly_nebulisers":false,"respiratory_effort":"none","respiratory_rate":35,"score":0,"score_ge_3":false},{"age_group":"infant","behavior":"playing","cardiovascular":"pink","citation":{"authors":"Monaghan A","doi":"10.7748/paed2005.02.17.1.32.c964","id":"monaghan-2005","pmid":"15751446","source":"Paediatr Nurs. 2005;17(1):32-35","title":"Detecting and managing deterioration in children"},"components":[{"factor":"behavior","points":0,"present":false,"value":"playing"},{"factor":"cardiovascular","points":0,"present":false,"value":"pink"},{"factor":"respiratory","points":0,"present":false,"value":"none"},{"factor":"quarter_hourly_nebulisers","points":0,"present":false},{"factor":"persistent_vomiting_after_surgery","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":"pews","formula_expression":"PEWS = behavior_points + cardiovascular_points + respiratory_points + nebuliser_points + vomiting_points; Monaghan 2005 Brighton table (each domain 0-3; extra +2 each for quarter-hourly nebulisers and persistent vomiting following surgery); max 13","heart_rate_bpm":130,"max_score":13,"oxygen":"none","persistent_vomiting_after_surgery":false,"quarter_hourly_nebulisers":false,"respiratory_effort":"none","respiratory_rate":35,"score":0,"score_ge_3":false}],"path":"/api/calc/pews"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_group":{"description":"Caller-assigned APLS 2005 rest-range age group used as Monaghan 2005 'normal rate' (HR) and 'mean'/'normal parameters' (RR). infant (<1 year; HR 110-160, RR 30-40, RR mean 35); age_1_2 (1-2 years; HR 100-150, RR 25-35, mean 30); age_2_5 (2-5 years; HR 95-140, RR 25-30, mean 27); age_5_12 (5-12 years; HR 80-120, RR 20-25, mean 22); adolescent (>12 years; HR 60-100, RR 15-20, mean 17). Monaghan 2005 does not print a numeric vital table. magent does not map chronological age. Not Akre 2010. Not later NHS England PEWS charts.","enum":["infant","age_1_2","age_2_5","age_5_12","adolescent"],"type":"string"},"behavior":{"description":"Caller-assigned Monaghan 2005 behaviour. playing (playing/appropriate) → 0; sleeping → 1; irritable (irritable or parents concerned) → 2; lethargic (lethargic/confused or reduced response to pain) → 3. magent does not observe the child.","enum":["playing","sleeping","irritable","lethargic"],"type":"string"},"cardiovascular":{"description":"Caller-assigned Monaghan 2005 colour or capillary refill. pink (pink or CRT 1-2 s) → 0; pale (pale or CRT 3 s) → 1; grey (grey or CRT 4 s) → 2; mottled (grey and mottled or CRT ≥5 s) → 3. The cardiovascular domain is the higher of this band and the HR band. magent does not measure CRT.","enum":["pink","pale","grey","mottled"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 40-300). Monaghan 2005: tachycardia of 20 above the age-group normal rate (APLS 2005 upper rest limit) → 2; tachycardia of 30 above that rate or bradycardia (below the APLS lower rest limit) → 3. The cardiovascular domain is the higher of colour/CRT and HR. magent does not measure heart rate.","type":"integer"},"oxygen":{"description":"Caller-assigned Monaghan 2005 oxygen. none → 0; fio2_30_or_4l (30+% FiO2 or 4+ L/min) → 1; fio2_40_or_6l (40+% FiO2 or 6+ L/min) → 2; fio2_50_or_8l (50% FiO2 or 8+ L/min) → 3. The respiratory domain is the higher of RR, effort, and oxygen. magent does not measure FiO2.","enum":["none","fio2_30_or_4l","fio2_40_or_6l","fio2_50_or_8l"],"type":"string"},"persistent_vomiting_after_surgery":{"description":"Persistent vomiting following surgery as in Monaghan 2005. true → +2; false → 0. Independent of the behaviour 0-3 domain. magent does not observe vomiting.","type":"boolean"},"quarter_hourly_nebulisers":{"description":"Quarter-hourly (¼ hourly) nebulisers as in Monaghan 2005. true → +2; false → 0. Independent of the respiratory 0-3 domain. magent does not record medication times.","type":"boolean"},"respiratory_effort":{"description":"Caller-assigned Monaghan 2005 respiratory effort. none (no recession or tracheal tug) → 0; accessory (using accessory muscles) → 1; recessing (recessing, tracheal tug) → 2; sternal_or_grunting (sternal recession, tracheal tug, or grunting) → 3. The respiratory domain is the higher of RR, effort, and oxygen. magent does not examine the chest.","enum":["none","accessory","recessing","sternal_or_grunting"],"type":"string"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 5-120). Monaghan 2005 vs the age-group RR mean (midpoint of the APLS 2005 rest range): >10 above mean → 1; >20 above mean → 2; >30 above mean or 5 below mean → 3. The respiratory domain is the higher of RR, effort, and oxygen. magent does not measure respiratory rate.","type":"integer"}},"required":["age_group","behavior","cardiovascular","heart_rate_bpm","respiratory_rate","respiratory_effort","oxygen","quarter_hourly_nebulisers","persistent_vomiting_after_surgery"],"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":["pews","early-warning","emergency","paediatric","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:06:36.316Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:06:36.1Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_group":"infant","behavior":"playing","cardiovascular":"pink","heart_rate_bpm":130,"oxygen":"none","persistent_vomiting_after_surgery":false,"quarter_hourly_nebulisers":false,"respiratory_effort":"none","respiratory_rate":35},{"age_group":"infant","behavior":"playing","cardiovascular":"pink","heart_rate_bpm":130,"oxygen":"none","persistent_vomiting_after_surgery":false,"quarter_hourly_nebulisers":false,"respiratory_effort":"none","respiratory_rate":35}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_group":"infant","behavior":"playing","cardiovascular":"pink","citation":{"authors":"Monaghan A","doi":"10.7748/paed2005.02.17.1.32.c964","id":"monaghan-2005","pmid":"15751446","source":"Paediatr Nurs. 2005;17(1):32-35","title":"Detecting and managing deterioration in children"},"components":[{"factor":"behavior","points":0,"present":false,"value":"playing"},{"factor":"cardiovascular","points":0,"present":false,"value":"pink"},{"factor":"respiratory","points":0,"present":false,"value":"none"},{"factor":"quarter_hourly_nebulisers","points":0,"present":false},{"factor":"persistent_vomiting_after_surgery","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":"pews","formula_expression":"PEWS = behavior_points + cardiovascular_points + respiratory_points + nebuliser_points + vomiting_points; Monaghan 2005 Brighton table (each domain 0-3; extra +2 each for quarter-hourly nebulisers and persistent vomiting following surgery); max 13","heart_rate_bpm":130,"max_score":13,"oxygen":"none","persistent_vomiting_after_surgery":false,"quarter_hourly_nebulisers":false,"respiratory_effort":"none","respiratory_rate":35,"score":0,"score_ge_3":false},{"age_group":"infant","behavior":"playing","cardiovascular":"pink","citation":{"authors":"Monaghan A","doi":"10.7748/paed2005.02.17.1.32.c964","id":"monaghan-2005","pmid":"15751446","source":"Paediatr Nurs. 2005;17(1):32-35","title":"Detecting and managing deterioration in children"},"components":[{"factor":"behavior","points":0,"present":false,"value":"playing"},{"factor":"cardiovascular","points":0,"present":false,"value":"pink"},{"factor":"respiratory","points":0,"present":false,"value":"none"},{"factor":"quarter_hourly_nebulisers","points":0,"present":false},{"factor":"persistent_vomiting_after_surgery","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":"pews","formula_expression":"PEWS = behavior_points + cardiovascular_points + respiratory_points + nebuliser_points + vomiting_points; Monaghan 2005 Brighton table (each domain 0-3; extra +2 each for quarter-hourly nebulisers and persistent vomiting following surgery); max 13","heart_rate_bpm":130,"max_score":13,"oxygen":"none","persistent_vomiting_after_surgery":false,"quarter_hourly_nebulisers":false,"respiratory_effort":"none","respiratory_rate":35,"score":0,"score_ge_3":false}],"path":"/api/calc/pews"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_group":{"description":"Caller-assigned APLS 2005 rest-range age group used as Monaghan 2005 'normal rate' (HR) and 'mean'/'normal parameters' (RR). infant (<1 year; HR 110-160, RR 30-40, RR mean 35); age_1_2 (1-2 years; HR 100-150, RR 25-35, mean 30); age_2_5 (2-5 years; HR 95-140, RR 25-30, mean 27); age_5_12 (5-12 years; HR 80-120, RR 20-25, mean 22); adolescent (>12 years; HR 60-100, RR 15-20, mean 17). Monaghan 2005 does not print a numeric vital table. magent does not map chronological age. Not Akre 2010. Not later NHS England PEWS charts.","enum":["infant","age_1_2","age_2_5","age_5_12","adolescent"],"type":"string"},"behavior":{"description":"Caller-assigned Monaghan 2005 behaviour. playing (playing/appropriate) → 0; sleeping → 1; irritable (irritable or parents concerned) → 2; lethargic (lethargic/confused or reduced response to pain) → 3. magent does not observe the child.","enum":["playing","sleeping","irritable","lethargic"],"type":"string"},"cardiovascular":{"description":"Caller-assigned Monaghan 2005 colour or capillary refill. pink (pink or CRT 1-2 s) → 0; pale (pale or CRT 3 s) → 1; grey (grey or CRT 4 s) → 2; mottled (grey and mottled or CRT ≥5 s) → 3. The cardiovascular domain is the higher of this band and the HR band. magent does not measure CRT.","enum":["pink","pale","grey","mottled"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 40-300). Monaghan 2005: tachycardia of 20 above the age-group normal rate (APLS 2005 upper rest limit) → 2; tachycardia of 30 above that rate or bradycardia (below the APLS lower rest limit) → 3. The cardiovascular domain is the higher of colour/CRT and HR. magent does not measure heart rate.","type":"integer"},"oxygen":{"description":"Caller-assigned Monaghan 2005 oxygen. none → 0; fio2_30_or_4l (30+% FiO2 or 4+ L/min) → 1; fio2_40_or_6l (40+% FiO2 or 6+ L/min) → 2; fio2_50_or_8l (50% FiO2 or 8+ L/min) → 3. The respiratory domain is the higher of RR, effort, and oxygen. magent does not measure FiO2.","enum":["none","fio2_30_or_4l","fio2_40_or_6l","fio2_50_or_8l"],"type":"string"},"persistent_vomiting_after_surgery":{"description":"Persistent vomiting following surgery as in Monaghan 2005. true → +2; false → 0. Independent of the behaviour 0-3 domain. magent does not observe vomiting.","type":"boolean"},"quarter_hourly_nebulisers":{"description":"Quarter-hourly (¼ hourly) nebulisers as in Monaghan 2005. true → +2; false → 0. Independent of the respiratory 0-3 domain. magent does not record medication times.","type":"boolean"},"respiratory_effort":{"description":"Caller-assigned Monaghan 2005 respiratory effort. none (no recession or tracheal tug) → 0; accessory (using accessory muscles) → 1; recessing (recessing, tracheal tug) → 2; sternal_or_grunting (sternal recession, tracheal tug, or grunting) → 3. The respiratory domain is the higher of RR, effort, and oxygen. magent does not examine the chest.","enum":["none","accessory","recessing","sternal_or_grunting"],"type":"string"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 5-120). Monaghan 2005 vs the age-group RR mean (midpoint of the APLS 2005 rest range): >10 above mean → 1; >20 above mean → 2; >30 above mean or 5 below mean → 3. The respiratory domain is the higher of RR, effort, and oxygen. magent does not measure respiratory rate.","type":"integer"}},"required":["age_group","behavior","cardiovascular","heart_rate_bpm","respiratory_rate","respiratory_effort","oxygen","quarter_hourly_nebulisers","persistent_vomiting_after_surgery"],"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},{"id":38962,"slug":"38962","resource":"https://api.magentlab.com/api/calc/pesi","description":"PESI (Pulmonary Embolism Severity Index) from Aujesky 2005: age in years plus male sex (+10), cancer (+30), heart failure (+10), chronic lung disease (+10), heart rate >=110 (+20), SBP <100 mm Hg (+30), respiratory rate >=30 (+20), temperature <36 C (+20), altered mental status (+60), and SpO2 <90% (+20). Classes I (<=65) through V (>125). Only for already diagnosed PE. Not a diagnosis, not an outpatient protocol, not sPESI, and not the 17-variable laboratory model.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"altered_mentation":false,"cancer":false,"chronic_lung_disease":false,"heart_failure":false,"heart_rate_bpm":80,"respiratory_rate":16,"sex":"female","spo2_percent":96,"systolic_mm_hg":120,"temperature_c":37},{"age":50,"altered_mentation":false,"cancer":false,"chronic_lung_disease":false,"heart_failure":false,"heart_rate_bpm":80,"respiratory_rate":16,"sex":"female","spo2_percent":96,"systolic_mm_hg":120,"temperature_c":37}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Aujesky D, Obrosky DS, Stone RA, et al.","doi":"10.1164/rccm.200506-862OC","id":"aujesky-2005","source":"Am J Respir Crit Care Med. 2005;172(8):1041-1046","title":"Derivation and validation of a prognostic model for pulmonary embolism"},"components":[{"factor":"age","points":50,"present":true,"value":50},{"factor":"male_sex","points":0,"present":false,"value":"female"},{"factor":"cancer","points":0,"present":false},{"factor":"heart_failure","points":0,"present":false},{"factor":"chronic_lung_disease","points":0,"present":false},{"factor":"heart_rate_ge_110","points":0,"present":false,"value":80},{"factor":"systolic_mm_hg_lt_100","points":0,"present":false,"value":120},{"factor":"respiratory_rate_ge_30","points":0,"present":false,"value":16},{"factor":"temperature_lt_36","points":0,"present":false,"value":37},{"factor":"altered_mentation","points":0,"present":false},{"factor":"spo2_lt_90","points":0,"present":false,"value":96}],"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":"pesi","formula_expression":"PESI = age_in_years + 10*male + 30*cancer + 10*heart_failure + 10*chronic_lung_disease + 20*(HR>=110) + 30*(SBP<100) + 20*(RR>=30) + 20*(temp<36) + 60*altered_mentation + 20*(SpO2<90); classes I <=65, II 66-85, III 86-105, IV 106-125, V >125","pesi_class":"I","score":50},{"age_years":50,"citation":{"authors":"Aujesky D, Obrosky DS, Stone RA, et al.","doi":"10.1164/rccm.200506-862OC","id":"aujesky-2005","source":"Am J Respir Crit Care Med. 2005;172(8):1041-1046","title":"Derivation and validation of a prognostic model for pulmonary embolism"},"components":[{"factor":"age","points":50,"present":true,"value":50},{"factor":"male_sex","points":0,"present":false,"value":"female"},{"factor":"cancer","points":0,"present":false},{"factor":"heart_failure","points":0,"present":false},{"factor":"chronic_lung_disease","points":0,"present":false},{"factor":"heart_rate_ge_110","points":0,"present":false,"value":80},{"factor":"systolic_mm_hg_lt_100","points":0,"present":false,"value":120},{"factor":"respiratory_rate_ge_30","points":0,"present":false,"value":16},{"factor":"temperature_lt_36","points":0,"present":false,"value":37},{"factor":"altered_mentation","points":0,"present":false},{"factor":"spo2_lt_90","points":0,"present":false,"value":96}],"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":"pesi","formula_expression":"PESI = age_in_years + 10*male + 30*cancer + 10*heart_failure + 10*chronic_lung_disease + 20*(HR>=110) + 30*(SBP<100) + 20*(RR>=30) + 20*(temp<36) + 60*altered_mentation + 20*(SpO2<90); classes I <=65, II 66-85, III 86-105, IV 106-125, V >125","pesi_class":"I","score":50}],"path":"/api/calc/pesi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Adds 1 point per year (the age integer itself).","type":"integer"},"altered_mentation":{"description":"Altered mental status as assigned by the caller. true or false. +60 if true.","type":"boolean"},"cancer":{"description":"Cancer as assigned by the caller. true or false. +30 if true.","type":"boolean"},"chronic_lung_disease":{"description":"Chronic lung disease as assigned by the caller (separate from heart failure). true or false. +10 if true.","type":"boolean"},"heart_failure":{"description":"Heart failure as assigned by the caller (separate from chronic lung disease). true or false. +10 if true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores +20 when ≥110; 109 does not score.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). Scores +20 when ≥30; 29 does not score.","type":"integer"},"sex":{"description":"Sex (female or male). Male scores +10.","type":"string"},"spo2_percent":{"description":"Arterial oxygen saturation percent (50-100). Scores +20 when <90; 90 does not score.","type":"number"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Scores +30 when <100; 100 does not score.","type":"number"},"temperature_c":{"description":"Temperature in °C (30-45). Scores +20 when <36; 36.0 does not score.","type":"number"}},"required":["age","sex","cancer","heart_failure","chronic_lung_disease","heart_rate_bpm","systolic_mm_hg","respiratory_rate","temperature_c","altered_mentation","spo2_percent"],"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":["pesi","pe","vte","severity","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:06:35.356Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:06:35.237Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"altered_mentation":false,"cancer":false,"chronic_lung_disease":false,"heart_failure":false,"heart_rate_bpm":80,"respiratory_rate":16,"sex":"female","spo2_percent":96,"systolic_mm_hg":120,"temperature_c":37},{"age":50,"altered_mentation":false,"cancer":false,"chronic_lung_disease":false,"heart_failure":false,"heart_rate_bpm":80,"respiratory_rate":16,"sex":"female","spo2_percent":96,"systolic_mm_hg":120,"temperature_c":37}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Aujesky D, Obrosky DS, Stone RA, et al.","doi":"10.1164/rccm.200506-862OC","id":"aujesky-2005","source":"Am J Respir Crit Care Med. 2005;172(8):1041-1046","title":"Derivation and validation of a prognostic model for pulmonary embolism"},"components":[{"factor":"age","points":50,"present":true,"value":50},{"factor":"male_sex","points":0,"present":false,"value":"female"},{"factor":"cancer","points":0,"present":false},{"factor":"heart_failure","points":0,"present":false},{"factor":"chronic_lung_disease","points":0,"present":false},{"factor":"heart_rate_ge_110","points":0,"present":false,"value":80},{"factor":"systolic_mm_hg_lt_100","points":0,"present":false,"value":120},{"factor":"respiratory_rate_ge_30","points":0,"present":false,"value":16},{"factor":"temperature_lt_36","points":0,"present":false,"value":37},{"factor":"altered_mentation","points":0,"present":false},{"factor":"spo2_lt_90","points":0,"present":false,"value":96}],"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":"pesi","formula_expression":"PESI = age_in_years + 10*male + 30*cancer + 10*heart_failure + 10*chronic_lung_disease + 20*(HR>=110) + 30*(SBP<100) + 20*(RR>=30) + 20*(temp<36) + 60*altered_mentation + 20*(SpO2<90); classes I <=65, II 66-85, III 86-105, IV 106-125, V >125","pesi_class":"I","score":50},{"age_years":50,"citation":{"authors":"Aujesky D, Obrosky DS, Stone RA, et al.","doi":"10.1164/rccm.200506-862OC","id":"aujesky-2005","source":"Am J Respir Crit Care Med. 2005;172(8):1041-1046","title":"Derivation and validation of a prognostic model for pulmonary embolism"},"components":[{"factor":"age","points":50,"present":true,"value":50},{"factor":"male_sex","points":0,"present":false,"value":"female"},{"factor":"cancer","points":0,"present":false},{"factor":"heart_failure","points":0,"present":false},{"factor":"chronic_lung_disease","points":0,"present":false},{"factor":"heart_rate_ge_110","points":0,"present":false,"value":80},{"factor":"systolic_mm_hg_lt_100","points":0,"present":false,"value":120},{"factor":"respiratory_rate_ge_30","points":0,"present":false,"value":16},{"factor":"temperature_lt_36","points":0,"present":false,"value":37},{"factor":"altered_mentation","points":0,"present":false},{"factor":"spo2_lt_90","points":0,"present":false,"value":96}],"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":"pesi","formula_expression":"PESI = age_in_years + 10*male + 30*cancer + 10*heart_failure + 10*chronic_lung_disease + 20*(HR>=110) + 30*(SBP<100) + 20*(RR>=30) + 20*(temp<36) + 60*altered_mentation + 20*(SpO2<90); classes I <=65, II 66-85, III 86-105, IV 106-125, V >125","pesi_class":"I","score":50}],"path":"/api/calc/pesi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Adds 1 point per year (the age integer itself).","type":"integer"},"altered_mentation":{"description":"Altered mental status as assigned by the caller. true or false. +60 if true.","type":"boolean"},"cancer":{"description":"Cancer as assigned by the caller. true or false. +30 if true.","type":"boolean"},"chronic_lung_disease":{"description":"Chronic lung disease as assigned by the caller (separate from heart failure). true or false. +10 if true.","type":"boolean"},"heart_failure":{"description":"Heart failure as assigned by the caller (separate from chronic lung disease). true or false. +10 if true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores +20 when ≥110; 109 does not score.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). Scores +20 when ≥30; 29 does not score.","type":"integer"},"sex":{"description":"Sex (female or male). Male scores +10.","type":"string"},"spo2_percent":{"description":"Arterial oxygen saturation percent (50-100). Scores +20 when <90; 90 does not score.","type":"number"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Scores +30 when <100; 100 does not score.","type":"number"},"temperature_c":{"description":"Temperature in °C (30-45). Scores +20 when <36; 36.0 does not score.","type":"number"}},"required":["age","sex","cancer","heart_failure","chronic_lung_disease","heart_rate_bpm","systolic_mm_hg","respiratory_rate","temperature_c","altered_mentation","spo2_percent"],"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},{"id":38963,"slug":"38963","resource":"https://api.magentlab.com/api/calc/perc_altitude","description":"Altitude-adjusted PERC (Madsen 2019). Same eight Kline factors as sea-level PERC except hypoxia is O2 sat <90% at ~4980 ft, not <95%. PERC-negative only when all eight hold: age <50, pulse <100, SaO2 ≥90%, and no unilateral leg swelling, hemoptysis, recent trauma or surgery, prior PE or DVT, or hormone use. Caller must already have low pretest probability as in Kline. Not a PE diagnosis, not sea-level PERC, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"estrogen_use":false,"heart_rate_bpm":80,"hemoptysis":false,"prior_vte":false,"recent_surgery_or_trauma":false,"spo2_percent":90,"unilateral_leg_swelling":false},{"age":40,"estrogen_use":false,"heart_rate_bpm":80,"hemoptysis":false,"prior_vte":false,"recent_surgery_or_trauma":false,"spo2_percent":90,"unilateral_leg_swelling":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Madsen T, Jedick R, Teeples T, Carlson M, Steenblik J","doi":"10.1016/j.ajem.2018.05.050","id":"madsen-2019","pmid":"29848460","source":"Am J Emerg Med. 2019;37(2):281-285 (Epub 2018 May 24)","title":"Impact of altitude-adjusted hypoxia on the Pulmonary Embolism Rule-out Criteria."},"criteria":[{"factor":"age_lt_50","met":true,"value":40},{"factor":"pulse_lt_100","met":true,"value":80},{"factor":"sao2_ge_90","met":true,"value":90},{"factor":"no_unilateral_leg_swelling","met":true},{"factor":"no_hemoptysis","met":true},{"factor":"no_recent_surgery_or_trauma","met":true},{"factor":"no_prior_vte","met":true},{"factor":"no_estrogen_use","met":true}],"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":"perc_altitude","formula_expression":"PERC-negative iff age < 50 and pulse < 100 bpm and SaO2 ≥ 90% and no unilateral leg swelling and no hemoptysis and no recent trauma or surgery and no prior PE or DVT and no hormone use","perc_negative":true},{"citation":{"authors":"Madsen T, Jedick R, Teeples T, Carlson M, Steenblik J","doi":"10.1016/j.ajem.2018.05.050","id":"madsen-2019","pmid":"29848460","source":"Am J Emerg Med. 2019;37(2):281-285 (Epub 2018 May 24)","title":"Impact of altitude-adjusted hypoxia on the Pulmonary Embolism Rule-out Criteria."},"criteria":[{"factor":"age_lt_50","met":true,"value":40},{"factor":"pulse_lt_100","met":true,"value":80},{"factor":"sao2_ge_90","met":true,"value":90},{"factor":"no_unilateral_leg_swelling","met":true},{"factor":"no_hemoptysis","met":true},{"factor":"no_recent_surgery_or_trauma","met":true},{"factor":"no_prior_vte","met":true},{"factor":"no_estrogen_use","met":true}],"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":"perc_altitude","formula_expression":"PERC-negative iff age < 50 and pulse < 100 bpm and SaO2 ≥ 90% and no unilateral leg swelling and no hemoptysis and no recent trauma or surgery and no prior PE or DVT and no hormone use","perc_negative":true}],"path":"/api/calc/perc_altitude"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Criterion met when age < 50; 50 does not meet.","type":"integer"},"estrogen_use":{"description":"Hormone or exogenous estrogen use. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"heart_rate_bpm":{"description":"Pulse in beats per minute (integer 30-220). Criterion met when pulse < 100; 100 does not meet.","type":"integer"},"hemoptysis":{"description":"Hemoptysis. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"prior_vte":{"description":"Prior PE or DVT. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"recent_surgery_or_trauma":{"description":"Recent trauma or surgery. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Criterion met when SaO2 ≥ 90; 89.9 does not meet. Madsen 2019 altitude adjustment, not sea-level PERC >94.","type":"number"},"unilateral_leg_swelling":{"description":"Unilateral leg swelling. true or false as assigned by the caller. Criterion met when false.","type":"boolean"}},"required":["age","heart_rate_bpm","spo2_percent","unilateral_leg_swelling","hemoptysis","recent_surgery_or_trauma","prior_vte","estrogen_use"],"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":["perc","altitude","pe","vte","rule-out","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:06:34.331Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:06:34.2Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"estrogen_use":false,"heart_rate_bpm":80,"hemoptysis":false,"prior_vte":false,"recent_surgery_or_trauma":false,"spo2_percent":90,"unilateral_leg_swelling":false},{"age":40,"estrogen_use":false,"heart_rate_bpm":80,"hemoptysis":false,"prior_vte":false,"recent_surgery_or_trauma":false,"spo2_percent":90,"unilateral_leg_swelling":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Madsen T, Jedick R, Teeples T, Carlson M, Steenblik J","doi":"10.1016/j.ajem.2018.05.050","id":"madsen-2019","pmid":"29848460","source":"Am J Emerg Med. 2019;37(2):281-285 (Epub 2018 May 24)","title":"Impact of altitude-adjusted hypoxia on the Pulmonary Embolism Rule-out Criteria."},"criteria":[{"factor":"age_lt_50","met":true,"value":40},{"factor":"pulse_lt_100","met":true,"value":80},{"factor":"sao2_ge_90","met":true,"value":90},{"factor":"no_unilateral_leg_swelling","met":true},{"factor":"no_hemoptysis","met":true},{"factor":"no_recent_surgery_or_trauma","met":true},{"factor":"no_prior_vte","met":true},{"factor":"no_estrogen_use","met":true}],"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":"perc_altitude","formula_expression":"PERC-negative iff age < 50 and pulse < 100 bpm and SaO2 ≥ 90% and no unilateral leg swelling and no hemoptysis and no recent trauma or surgery and no prior PE or DVT and no hormone use","perc_negative":true},{"citation":{"authors":"Madsen T, Jedick R, Teeples T, Carlson M, Steenblik J","doi":"10.1016/j.ajem.2018.05.050","id":"madsen-2019","pmid":"29848460","source":"Am J Emerg Med. 2019;37(2):281-285 (Epub 2018 May 24)","title":"Impact of altitude-adjusted hypoxia on the Pulmonary Embolism Rule-out Criteria."},"criteria":[{"factor":"age_lt_50","met":true,"value":40},{"factor":"pulse_lt_100","met":true,"value":80},{"factor":"sao2_ge_90","met":true,"value":90},{"factor":"no_unilateral_leg_swelling","met":true},{"factor":"no_hemoptysis","met":true},{"factor":"no_recent_surgery_or_trauma","met":true},{"factor":"no_prior_vte","met":true},{"factor":"no_estrogen_use","met":true}],"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":"perc_altitude","formula_expression":"PERC-negative iff age < 50 and pulse < 100 bpm and SaO2 ≥ 90% and no unilateral leg swelling and no hemoptysis and no recent trauma or surgery and no prior PE or DVT and no hormone use","perc_negative":true}],"path":"/api/calc/perc_altitude"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Criterion met when age < 50; 50 does not meet.","type":"integer"},"estrogen_use":{"description":"Hormone or exogenous estrogen use. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"heart_rate_bpm":{"description":"Pulse in beats per minute (integer 30-220). Criterion met when pulse < 100; 100 does not meet.","type":"integer"},"hemoptysis":{"description":"Hemoptysis. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"prior_vte":{"description":"Prior PE or DVT. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"recent_surgery_or_trauma":{"description":"Recent trauma or surgery. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Criterion met when SaO2 ≥ 90; 89.9 does not meet. Madsen 2019 altitude adjustment, not sea-level PERC >94.","type":"number"},"unilateral_leg_swelling":{"description":"Unilateral leg swelling. true or false as assigned by the caller. Criterion met when false.","type":"boolean"}},"required":["age","heart_rate_bpm","spo2_percent","unilateral_leg_swelling","hemoptysis","recent_surgery_or_trauma","prior_vte","estrogen_use"],"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},{"id":38964,"slug":"38964","resource":"https://api.magentlab.com/api/calc/pedsrc","description":"PedSRC blunt abdomen (Streck 2017). Very low risk of blunt intra-abdominal injury only when none of five caller-assigned findings is present: AST >200 U/L, abnormal abdominal examination (wall trauma, distension, or tenderness), abnormal chest x-ray, abdominal pain, and abnormal pancreatic enzymes (amylase or lipase). Presence of a criterion does not mandate CT. Not a diagnosis. Not Holmes 2013 PECARN IAI. magent does not examine the child or assay AST, amylase, or lipase.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abdominal_pain":false,"abnormal_abdominal_exam":false,"abnormal_chest_xray":false,"abnormal_pancreatic_enzymes":false,"ast_u_l":80},{"abdominal_pain":false,"abnormal_abdominal_exam":false,"abnormal_chest_xray":false,"abnormal_pancreatic_enzymes":false,"ast_u_l":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ast_u_l":80,"citation":{"authors":"Streck CJ, Blakely ML, Huang EY, Vogel AM, Santore MT, Tsao K, Falcone RA, Dassinger MS, Haynes JH, Russell RT, Naik-Mathuria BJ, St Peter SD, Mooney DP, Upperman JS; Pediatric Surgery Research Collaborative","doi":"10.1016/j.jamcollsurg.2016.12.041","id":"streck-2017","pmid":"28130170","source":"J Am Coll Surg. 2017;224(4):449-458.e3","title":"Identifying Children at Very Low Risk for Blunt Intra-Abdominal Injury in Whom CT of the Abdomen Can Be Avoided Safely"},"criteria":[{"factor":"no_ast_gt_200","met":true,"value":80},{"factor":"no_abnormal_abdominal_exam","met":true},{"factor":"no_abnormal_chest_xray","met":true},{"factor":"no_abdominal_pain","met":true},{"factor":"no_abnormal_pancreatic_enzymes","met":true}],"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":"pedsrc","formula_expression":"very_low_risk iff no ast_gt_200 and no abnormal_abdominal_exam and no abnormal_chest_xray and no abdominal_pain and no abnormal_pancreatic_enzymes","very_low_risk":true},{"ast_u_l":80,"citation":{"authors":"Streck CJ, Blakely ML, Huang EY, Vogel AM, Santore MT, Tsao K, Falcone RA, Dassinger MS, Haynes JH, Russell RT, Naik-Mathuria BJ, St Peter SD, Mooney DP, Upperman JS; Pediatric Surgery Research Collaborative","doi":"10.1016/j.jamcollsurg.2016.12.041","id":"streck-2017","pmid":"28130170","source":"J Am Coll Surg. 2017;224(4):449-458.e3","title":"Identifying Children at Very Low Risk for Blunt Intra-Abdominal Injury in Whom CT of the Abdomen Can Be Avoided Safely"},"criteria":[{"factor":"no_ast_gt_200","met":true,"value":80},{"factor":"no_abnormal_abdominal_exam","met":true},{"factor":"no_abnormal_chest_xray","met":true},{"factor":"no_abdominal_pain","met":true},{"factor":"no_abnormal_pancreatic_enzymes","met":true}],"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":"pedsrc","formula_expression":"very_low_risk iff no ast_gt_200 and no abnormal_abdominal_exam and no abnormal_chest_xray and no abdominal_pain and no abnormal_pancreatic_enzymes","very_low_risk":true}],"path":"/api/calc/pedsrc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_pain":{"description":"Reported abdominal pain as assigned by the caller. true means pain is present and very_low_risk is false. true or false. magent does not take a pain score.","type":"boolean"},"abnormal_abdominal_exam":{"description":"Abnormal abdominal examination (wall trauma, distension, or tenderness) as assigned by the caller. true means the finding is present and very_low_risk is false. true or false. magent does not examine the child.","type":"boolean"},"abnormal_chest_xray":{"description":"Abnormal chest x-ray as assigned by the caller. true means the finding is present and very_low_risk is false. true or false. magent does not read a radiograph.","type":"boolean"},"abnormal_pancreatic_enzymes":{"description":"Abnormal amylase or lipase as assigned by the caller. true means the finding is present and very_low_risk is false. true or false. magent does not assay amylase or lipase.","type":"boolean"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (number 1-10000). Positive Streck 2017 variable iff >200 U/L (200 is not positive). magent does not assay AST.","type":"number"}},"required":["ast_u_l","abnormal_abdominal_exam","abnormal_chest_xray","abdominal_pain","abnormal_pancreatic_enzymes"],"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":["pedsrc","pediatric","abdominal","emergency","trauma","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:01:40.528Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:01:40.34Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abdominal_pain":false,"abnormal_abdominal_exam":false,"abnormal_chest_xray":false,"abnormal_pancreatic_enzymes":false,"ast_u_l":80},{"abdominal_pain":false,"abnormal_abdominal_exam":false,"abnormal_chest_xray":false,"abnormal_pancreatic_enzymes":false,"ast_u_l":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ast_u_l":80,"citation":{"authors":"Streck CJ, Blakely ML, Huang EY, Vogel AM, Santore MT, Tsao K, Falcone RA, Dassinger MS, Haynes JH, Russell RT, Naik-Mathuria BJ, St Peter SD, Mooney DP, Upperman JS; Pediatric Surgery Research Collaborative","doi":"10.1016/j.jamcollsurg.2016.12.041","id":"streck-2017","pmid":"28130170","source":"J Am Coll Surg. 2017;224(4):449-458.e3","title":"Identifying Children at Very Low Risk for Blunt Intra-Abdominal Injury in Whom CT of the Abdomen Can Be Avoided Safely"},"criteria":[{"factor":"no_ast_gt_200","met":true,"value":80},{"factor":"no_abnormal_abdominal_exam","met":true},{"factor":"no_abnormal_chest_xray","met":true},{"factor":"no_abdominal_pain","met":true},{"factor":"no_abnormal_pancreatic_enzymes","met":true}],"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":"pedsrc","formula_expression":"very_low_risk iff no ast_gt_200 and no abnormal_abdominal_exam and no abnormal_chest_xray and no abdominal_pain and no abnormal_pancreatic_enzymes","very_low_risk":true},{"ast_u_l":80,"citation":{"authors":"Streck CJ, Blakely ML, Huang EY, Vogel AM, Santore MT, Tsao K, Falcone RA, Dassinger MS, Haynes JH, Russell RT, Naik-Mathuria BJ, St Peter SD, Mooney DP, Upperman JS; Pediatric Surgery Research Collaborative","doi":"10.1016/j.jamcollsurg.2016.12.041","id":"streck-2017","pmid":"28130170","source":"J Am Coll Surg. 2017;224(4):449-458.e3","title":"Identifying Children at Very Low Risk for Blunt Intra-Abdominal Injury in Whom CT of the Abdomen Can Be Avoided Safely"},"criteria":[{"factor":"no_ast_gt_200","met":true,"value":80},{"factor":"no_abnormal_abdominal_exam","met":true},{"factor":"no_abnormal_chest_xray","met":true},{"factor":"no_abdominal_pain","met":true},{"factor":"no_abnormal_pancreatic_enzymes","met":true}],"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":"pedsrc","formula_expression":"very_low_risk iff no ast_gt_200 and no abnormal_abdominal_exam and no abnormal_chest_xray and no abdominal_pain and no abnormal_pancreatic_enzymes","very_low_risk":true}],"path":"/api/calc/pedsrc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_pain":{"description":"Reported abdominal pain as assigned by the caller. true means pain is present and very_low_risk is false. true or false. magent does not take a pain score.","type":"boolean"},"abnormal_abdominal_exam":{"description":"Abnormal abdominal examination (wall trauma, distension, or tenderness) as assigned by the caller. true means the finding is present and very_low_risk is false. true or false. magent does not examine the child.","type":"boolean"},"abnormal_chest_xray":{"description":"Abnormal chest x-ray as assigned by the caller. true means the finding is present and very_low_risk is false. true or false. magent does not read a radiograph.","type":"boolean"},"abnormal_pancreatic_enzymes":{"description":"Abnormal amylase or lipase as assigned by the caller. true means the finding is present and very_low_risk is false. true or false. magent does not assay amylase or lipase.","type":"boolean"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (number 1-10000). Positive Streck 2017 variable iff >200 U/L (200 is not positive). magent does not assay AST.","type":"number"}},"required":["ast_u_l","abnormal_abdominal_exam","abnormal_chest_xray","abdominal_pain","abnormal_pancreatic_enzymes"],"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},{"id":38965,"slug":"38965","resource":"https://api.magentlab.com/api/calc/pedocs","description":"Weiss 2007 Pediatric Emergency Department Overcrowding Scale (PEDOCS) two-variable model: waiting-room patients and total registered patients. Returns the 1-decimal score on the paper's 0-200 scale without clamping or 20/60/100 named class bands. Caller supplies counts; magent does not count patients. Not a medical device and not a diversion or ambulance-bypass order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"total_registered_patients":0,"waiting_room_patients":0},{"total_registered_patients":0,"waiting_room_patients":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Weiss SJ, Ernst AA, Sills MR, Quinn BJ, Johnson A, Nick TG","doi":"10.1097/PEC.0b013e31814a69e2","id":"weiss-2007","pmid":"17876254","source":"Pediatr Emerg Care. 2007;23(9):641-645","title":"Development of a novel measure of overcrowding in a pediatric emergency department"},"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":"pedocs","formula_expression":"pedocs_score = 33.3 * (0.11 + 0.07 * waiting_room_patients + 0.04 * total_registered_patients)","pedocs_score":3.7,"total_registered_patients":0,"waiting_room_patients":0},{"citation":{"authors":"Weiss SJ, Ernst AA, Sills MR, Quinn BJ, Johnson A, Nick TG","doi":"10.1097/PEC.0b013e31814a69e2","id":"weiss-2007","pmid":"17876254","source":"Pediatr Emerg Care. 2007;23(9):641-645","title":"Development of a novel measure of overcrowding in a pediatric emergency department"},"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":"pedocs","formula_expression":"pedocs_score = 33.3 * (0.11 + 0.07 * waiting_room_patients + 0.04 * total_registered_patients)","pedocs_score":3.7,"total_registered_patients":0,"waiting_room_patients":0}],"path":"/api/calc/pedocs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"total_registered_patients":{"description":"Total patients currently registered in the pediatric ED, including those in the waiting room (integer 0-400). Must be at least waiting_room_patients. Weiss 2007 two-variable model. magent does not count patients.","type":"integer"},"waiting_room_patients":{"description":"Patients in the waiting room (integer 0-200). Cannot exceed total_registered_patients. Weiss 2007 two-variable model. magent does not count waiting-room patients.","type":"integer"}},"required":["waiting_room_patients","total_registered_patients"],"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":["pedocs","overcrowding","emergency","pediatric","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:01:39.615Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:01:39.502Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"total_registered_patients":0,"waiting_room_patients":0},{"total_registered_patients":0,"waiting_room_patients":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Weiss SJ, Ernst AA, Sills MR, Quinn BJ, Johnson A, Nick TG","doi":"10.1097/PEC.0b013e31814a69e2","id":"weiss-2007","pmid":"17876254","source":"Pediatr Emerg Care. 2007;23(9):641-645","title":"Development of a novel measure of overcrowding in a pediatric emergency department"},"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":"pedocs","formula_expression":"pedocs_score = 33.3 * (0.11 + 0.07 * waiting_room_patients + 0.04 * total_registered_patients)","pedocs_score":3.7,"total_registered_patients":0,"waiting_room_patients":0},{"citation":{"authors":"Weiss SJ, Ernst AA, Sills MR, Quinn BJ, Johnson A, Nick TG","doi":"10.1097/PEC.0b013e31814a69e2","id":"weiss-2007","pmid":"17876254","source":"Pediatr Emerg Care. 2007;23(9):641-645","title":"Development of a novel measure of overcrowding in a pediatric emergency department"},"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":"pedocs","formula_expression":"pedocs_score = 33.3 * (0.11 + 0.07 * waiting_room_patients + 0.04 * total_registered_patients)","pedocs_score":3.7,"total_registered_patients":0,"waiting_room_patients":0}],"path":"/api/calc/pedocs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"total_registered_patients":{"description":"Total patients currently registered in the pediatric ED, including those in the waiting room (integer 0-400). Must be at least waiting_room_patients. Weiss 2007 two-variable model. magent does not count patients.","type":"integer"},"waiting_room_patients":{"description":"Patients in the waiting room (integer 0-200). Cannot exceed total_registered_patients. Weiss 2007 two-variable model. magent does not count waiting-room patients.","type":"integer"}},"required":["waiting_room_patients","total_registered_patients"],"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},{"id":38966,"slug":"38966","resource":"https://api.magentlab.com/api/calc/pediatric_nihss","description":"Ichord 2011 Pediatric NIH Stroke Scale (PedNIHSS): 15 caller-assigned NINDS NIHSS integers with left and right motor arm and leg (each 0-4). Visual 0-3. Extinction, not Brott neglect. No pupillary response or plantar reflex. Sum 0-42. magent does not examine the child. No total-score severity bands in Ichord 2011; later 5/15/20 website cutoffs are not applied. Not Brott 1989 15-item NIHSS (max 37), not mNIHSS, not a tPA order, not a diagnosis, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"best_gaze":0,"best_language":0,"best_visual":0,"dysarthria":0,"extinction":0,"facial_palsy":0,"limb_ataxia":0,"loc":0,"loc_commands":0,"loc_questions":0,"motor_left_arm":0,"motor_left_leg":0,"motor_right_arm":0,"motor_right_leg":0,"sensory":0},{"best_gaze":0,"best_language":0,"best_visual":0,"dysarthria":0,"extinction":0,"facial_palsy":0,"limb_ataxia":0,"loc":0,"loc_commands":0,"loc_questions":0,"motor_left_arm":0,"motor_left_leg":0,"motor_right_arm":0,"motor_right_leg":0,"sensory":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ichord RN, Bastian R, Abraham L, et al.","doi":"10.1161/STROKEAHA.110.607192","id":"ichord-2011","pmid":"21317270","source":"Stroke. 2011;42(3):613-617","title":"Interrater Reliability of the Pediatric National Institutes of Health Stroke Scale (PedNIHSS) in a Multicenter Study"},"components":[{"factor":"loc","points":0,"present":true,"value":0},{"factor":"loc_questions","points":0,"present":true,"value":0},{"factor":"loc_commands","points":0,"present":true,"value":0},{"factor":"best_gaze","points":0,"present":true,"value":0},{"factor":"best_visual","points":0,"present":true,"value":0},{"factor":"facial_palsy","points":0,"present":true,"value":0},{"factor":"motor_left_arm","points":0,"present":true,"value":0},{"factor":"motor_right_arm","points":0,"present":true,"value":0},{"factor":"motor_left_leg","points":0,"present":true,"value":0},{"factor":"motor_right_leg","points":0,"present":true,"value":0},{"factor":"limb_ataxia","points":0,"present":true,"value":0},{"factor":"sensory","points":0,"present":true,"value":0},{"factor":"best_language","points":0,"present":true,"value":0},{"factor":"dysarthria","points":0,"present":true,"value":0},{"factor":"extinction","points":0,"present":true,"value":0}],"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":"pediatric_nihss","formula_expression":"PedNIHSS = loc (0-3) + loc_questions (0-2) + loc_commands (0-2) + best_gaze (0-2) + best_visual (0-3) + facial_palsy (0-3) + motor_left_arm (0-4) + motor_right_arm (0-4) + motor_left_leg (0-4) + motor_right_leg (0-4) + limb_ataxia (0-2) + sensory (0-2) + best_language (0-3) + dysarthria (0-2) + extinction (0-2); Ichord 2011 pediatric adaptation of the NINDS NIHSS item list and scoring ranges (L/R motor; no pupillary response or plantar reflex); total = sum; max 42; no published total-score severity bands","max_score":42,"score":0},{"citation":{"authors":"Ichord RN, Bastian R, Abraham L, et al.","doi":"10.1161/STROKEAHA.110.607192","id":"ichord-2011","pmid":"21317270","source":"Stroke. 2011;42(3):613-617","title":"Interrater Reliability of the Pediatric National Institutes of Health Stroke Scale (PedNIHSS) in a Multicenter Study"},"components":[{"factor":"loc","points":0,"present":true,"value":0},{"factor":"loc_questions","points":0,"present":true,"value":0},{"factor":"loc_commands","points":0,"present":true,"value":0},{"factor":"best_gaze","points":0,"present":true,"value":0},{"factor":"best_visual","points":0,"present":true,"value":0},{"factor":"facial_palsy","points":0,"present":true,"value":0},{"factor":"motor_left_arm","points":0,"present":true,"value":0},{"factor":"motor_right_arm","points":0,"present":true,"value":0},{"factor":"motor_left_leg","points":0,"present":true,"value":0},{"factor":"motor_right_leg","points":0,"present":true,"value":0},{"factor":"limb_ataxia","points":0,"present":true,"value":0},{"factor":"sensory","points":0,"present":true,"value":0},{"factor":"best_language","points":0,"present":true,"value":0},{"factor":"dysarthria","points":0,"present":true,"value":0},{"factor":"extinction","points":0,"present":true,"value":0}],"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":"pediatric_nihss","formula_expression":"PedNIHSS = loc (0-3) + loc_questions (0-2) + loc_commands (0-2) + best_gaze (0-2) + best_visual (0-3) + facial_palsy (0-3) + motor_left_arm (0-4) + motor_right_arm (0-4) + motor_left_leg (0-4) + motor_right_leg (0-4) + limb_ataxia (0-2) + sensory (0-2) + best_language (0-3) + dysarthria (0-2) + extinction (0-2); Ichord 2011 pediatric adaptation of the NINDS NIHSS item list and scoring ranges (L/R motor; no pupillary response or plantar reflex); total = sum; max 42; no published total-score severity bands","max_score":42,"score":0}],"path":"/api/calc/pediatric_nihss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"best_gaze":{"description":"Caller-assigned Ichord 2011 PedNIHSS best gaze (integer 0-2): 0 normal, 1 partial gaze palsy, 2 forced deviation. magent does not examine the child.","enum":[0,1,2],"type":"integer"},"best_language":{"description":"Caller-assigned Ichord 2011 PedNIHSS best language (integer 0-3): 0 no aphasia, 1 mild to moderate, 2 severe aphasia, 3 mute or global aphasia. magent does not examine the child.","enum":[0,1,2,3],"type":"integer"},"best_visual":{"description":"Caller-assigned Ichord 2011 PedNIHSS best visual, NINDS range (integer 0-3): 0 no visual loss, 1 partial hemianopia, 2 complete hemianopia, 3 bilateral hemianopia. Not Brott 0-2. magent does not examine the child.","enum":[0,1,2,3],"type":"integer"},"dysarthria":{"description":"Caller-assigned Ichord 2011 PedNIHSS dysarthria (integer 0-2): 0 normal articulation, 1 mild to moderate, 2 severe or unintelligible. magent does not examine the child.","enum":[0,1,2],"type":"integer"},"extinction":{"description":"Caller-assigned Ichord 2011 PedNIHSS extinction and inattention (integer 0-2): 0 no abnormality, 1 inattention to one modality, 2 profound hemi-inattention or extinction to more than one modality. Not Brott neglect. magent does not examine the child.","enum":[0,1,2],"type":"integer"},"facial_palsy":{"description":"Caller-assigned Ichord 2011 PedNIHSS facial palsy (integer 0-3): 0 normal, 1 minor, 2 partial, 3 complete. magent does not examine the child.","enum":[0,1,2,3],"type":"integer"},"limb_ataxia":{"description":"Caller-assigned Ichord 2011 PedNIHSS limb ataxia (integer 0-2): 0 absent, 1 present in one limb, 2 present in two limbs. magent does not examine the child.","enum":[0,1,2],"type":"integer"},"loc":{"description":"Caller-assigned Ichord 2011 PedNIHSS level of consciousness (integer 0-3): 0 alert, 1 not alert but arousable, 2 not alert requires repeated stimulation, 3 unresponsive. magent does not examine the child.","enum":[0,1,2,3],"type":"integer"},"loc_commands":{"description":"Caller-assigned Ichord 2011 PedNIHSS LOC commands (integer 0-2): 0 obeys both correctly, 1 obeys one correctly, 2 incorrect. magent does not examine the child.","enum":[0,1,2],"type":"integer"},"loc_questions":{"description":"Caller-assigned Ichord 2011 PedNIHSS LOC questions (integer 0-2): 0 answers both correctly, 1 answers one correctly, 2 incorrect. magent does not examine the child.","enum":[0,1,2],"type":"integer"},"motor_left_arm":{"description":"Caller-assigned Ichord 2011 PedNIHSS left arm motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the child.","enum":[0,1,2,3,4],"type":"integer"},"motor_left_leg":{"description":"Caller-assigned Ichord 2011 PedNIHSS left leg motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the child.","enum":[0,1,2,3,4],"type":"integer"},"motor_right_arm":{"description":"Caller-assigned Ichord 2011 PedNIHSS right arm motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the child.","enum":[0,1,2,3,4],"type":"integer"},"motor_right_leg":{"description":"Caller-assigned Ichord 2011 PedNIHSS right leg motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the child.","enum":[0,1,2,3,4],"type":"integer"},"sensory":{"description":"Caller-assigned Ichord 2011 PedNIHSS sensory (integer 0-2): 0 normal, 1 mild to moderate loss, 2 severe to total loss. magent does not examine the child.","enum":[0,1,2],"type":"integer"}},"required":["loc","loc_questions","loc_commands","best_gaze","best_visual","facial_palsy","motor_left_arm","motor_right_arm","motor_left_leg","motor_right_leg","limb_ataxia","sensory","best_language","dysarthria","extinction"],"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":["pednihss","stroke","neurology","ichord","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T11:01:38.73Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T11:01:38.596Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"best_gaze":0,"best_language":0,"best_visual":0,"dysarthria":0,"extinction":0,"facial_palsy":0,"limb_ataxia":0,"loc":0,"loc_commands":0,"loc_questions":0,"motor_left_arm":0,"motor_left_leg":0,"motor_right_arm":0,"motor_right_leg":0,"sensory":0},{"best_gaze":0,"best_language":0,"best_visual":0,"dysarthria":0,"extinction":0,"facial_palsy":0,"limb_ataxia":0,"loc":0,"loc_commands":0,"loc_questions":0,"motor_left_arm":0,"motor_left_leg":0,"motor_right_arm":0,"motor_right_leg":0,"sensory":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ichord RN, Bastian R, Abraham L, et al.","doi":"10.1161/STROKEAHA.110.607192","id":"ichord-2011","pmid":"21317270","source":"Stroke. 2011;42(3):613-617","title":"Interrater Reliability of the Pediatric National Institutes of Health Stroke Scale (PedNIHSS) in a Multicenter Study"},"components":[{"factor":"loc","points":0,"present":true,"value":0},{"factor":"loc_questions","points":0,"present":true,"value":0},{"factor":"loc_commands","points":0,"present":true,"value":0},{"factor":"best_gaze","points":0,"present":true,"value":0},{"factor":"best_visual","points":0,"present":true,"value":0},{"factor":"facial_palsy","points":0,"present":true,"value":0},{"factor":"motor_left_arm","points":0,"present":true,"value":0},{"factor":"motor_right_arm","points":0,"present":true,"value":0},{"factor":"motor_left_leg","points":0,"present":true,"value":0},{"factor":"motor_right_leg","points":0,"present":true,"value":0},{"factor":"limb_ataxia","points":0,"present":true,"value":0},{"factor":"sensory","points":0,"present":true,"value":0},{"factor":"best_language","points":0,"present":true,"value":0},{"factor":"dysarthria","points":0,"present":true,"value":0},{"factor":"extinction","points":0,"present":true,"value":0}],"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":"pediatric_nihss","formula_expression":"PedNIHSS = loc (0-3) + loc_questions (0-2) + loc_commands (0-2) + best_gaze (0-2) + best_visual (0-3) + facial_palsy (0-3) + motor_left_arm (0-4) + motor_right_arm (0-4) + motor_left_leg (0-4) + motor_right_leg (0-4) + limb_ataxia (0-2) + sensory (0-2) + best_language (0-3) + dysarthria (0-2) + extinction (0-2); Ichord 2011 pediatric adaptation of the NINDS NIHSS item list and scoring ranges (L/R motor; no pupillary response or plantar reflex); total = sum; max 42; no published total-score severity bands","max_score":42,"score":0},{"citation":{"authors":"Ichord RN, Bastian R, Abraham L, et al.","doi":"10.1161/STROKEAHA.110.607192","id":"ichord-2011","pmid":"21317270","source":"Stroke. 2011;42(3):613-617","title":"Interrater Reliability of the Pediatric National Institutes of Health Stroke Scale (PedNIHSS) in a Multicenter Study"},"components":[{"factor":"loc","points":0,"present":true,"value":0},{"factor":"loc_questions","points":0,"present":true,"value":0},{"factor":"loc_commands","points":0,"present":true,"value":0},{"factor":"best_gaze","points":0,"present":true,"value":0},{"factor":"best_visual","points":0,"present":true,"value":0},{"factor":"facial_palsy","points":0,"present":true,"value":0},{"factor":"motor_left_arm","points":0,"present":true,"value":0},{"factor":"motor_right_arm","points":0,"present":true,"value":0},{"factor":"motor_left_leg","points":0,"present":true,"value":0},{"factor":"motor_right_leg","points":0,"present":true,"value":0},{"factor":"limb_ataxia","points":0,"present":true,"value":0},{"factor":"sensory","points":0,"present":true,"value":0},{"factor":"best_language","points":0,"present":true,"value":0},{"factor":"dysarthria","points":0,"present":true,"value":0},{"factor":"extinction","points":0,"present":true,"value":0}],"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":"pediatric_nihss","formula_expression":"PedNIHSS = loc (0-3) + loc_questions (0-2) + loc_commands (0-2) + best_gaze (0-2) + best_visual (0-3) + facial_palsy (0-3) + motor_left_arm (0-4) + motor_right_arm (0-4) + motor_left_leg (0-4) + motor_right_leg (0-4) + limb_ataxia (0-2) + sensory (0-2) + best_language (0-3) + dysarthria (0-2) + extinction (0-2); Ichord 2011 pediatric adaptation of the NINDS NIHSS item list and scoring ranges (L/R motor; no pupillary response or plantar reflex); total = sum; max 42; no published total-score severity bands","max_score":42,"score":0}],"path":"/api/calc/pediatric_nihss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"best_gaze":{"description":"Caller-assigned Ichord 2011 PedNIHSS best gaze (integer 0-2): 0 normal, 1 partial gaze palsy, 2 forced deviation. magent does not examine the child.","enum":[0,1,2],"type":"integer"},"best_language":{"description":"Caller-assigned Ichord 2011 PedNIHSS best language (integer 0-3): 0 no aphasia, 1 mild to moderate, 2 severe aphasia, 3 mute or global aphasia. magent does not examine the child.","enum":[0,1,2,3],"type":"integer"},"best_visual":{"description":"Caller-assigned Ichord 2011 PedNIHSS best visual, NINDS range (integer 0-3): 0 no visual loss, 1 partial hemianopia, 2 complete hemianopia, 3 bilateral hemianopia. Not Brott 0-2. magent does not examine the child.","enum":[0,1,2,3],"type":"integer"},"dysarthria":{"description":"Caller-assigned Ichord 2011 PedNIHSS dysarthria (integer 0-2): 0 normal articulation, 1 mild to moderate, 2 severe or unintelligible. magent does not examine the child.","enum":[0,1,2],"type":"integer"},"extinction":{"description":"Caller-assigned Ichord 2011 PedNIHSS extinction and inattention (integer 0-2): 0 no abnormality, 1 inattention to one modality, 2 profound hemi-inattention or extinction to more than one modality. Not Brott neglect. magent does not examine the child.","enum":[0,1,2],"type":"integer"},"facial_palsy":{"description":"Caller-assigned Ichord 2011 PedNIHSS facial palsy (integer 0-3): 0 normal, 1 minor, 2 partial, 3 complete. magent does not examine the child.","enum":[0,1,2,3],"type":"integer"},"limb_ataxia":{"description":"Caller-assigned Ichord 2011 PedNIHSS limb ataxia (integer 0-2): 0 absent, 1 present in one limb, 2 present in two limbs. magent does not examine the child.","enum":[0,1,2],"type":"integer"},"loc":{"description":"Caller-assigned Ichord 2011 PedNIHSS level of consciousness (integer 0-3): 0 alert, 1 not alert but arousable, 2 not alert requires repeated stimulation, 3 unresponsive. magent does not examine the child.","enum":[0,1,2,3],"type":"integer"},"loc_commands":{"description":"Caller-assigned Ichord 2011 PedNIHSS LOC commands (integer 0-2): 0 obeys both correctly, 1 obeys one correctly, 2 incorrect. magent does not examine the child.","enum":[0,1,2],"type":"integer"},"loc_questions":{"description":"Caller-assigned Ichord 2011 PedNIHSS LOC questions (integer 0-2): 0 answers both correctly, 1 answers one correctly, 2 incorrect. magent does not examine the child.","enum":[0,1,2],"type":"integer"},"motor_left_arm":{"description":"Caller-assigned Ichord 2011 PedNIHSS left arm motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the child.","enum":[0,1,2,3,4],"type":"integer"},"motor_left_leg":{"description":"Caller-assigned Ichord 2011 PedNIHSS left leg motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the child.","enum":[0,1,2,3,4],"type":"integer"},"motor_right_arm":{"description":"Caller-assigned Ichord 2011 PedNIHSS right arm motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the child.","enum":[0,1,2,3,4],"type":"integer"},"motor_right_leg":{"description":"Caller-assigned Ichord 2011 PedNIHSS right leg motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the child.","enum":[0,1,2,3,4],"type":"integer"},"sensory":{"description":"Caller-assigned Ichord 2011 PedNIHSS sensory (integer 0-2): 0 normal, 1 mild to moderate loss, 2 severe to total loss. magent does not examine the child.","enum":[0,1,2],"type":"integer"}},"required":["loc","loc_questions","loc_commands","best_gaze","best_visual","facial_palsy","motor_left_arm","motor_right_arm","motor_left_leg","motor_right_leg","limb_ataxia","sensory","best_language","dysarthria","extinction"],"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},{"id":38967,"slug":"38967","resource":"https://api.magentlab.com/api/calc/pediatric_nexus_ii","description":"Pediatric NEXUS II (Gupta 2018). Low-risk iff all seven flags are false: skull fracture, scalp hematoma, neurologic deficit, altered alertness, abnormal behavior, persistent vomiting, and coagulopathy. Age 0-17 is required but is not a criterion; adult NEXUS Head CT age >= 65 is dropped. Not a diagnosis, not a CT order, not Mower 2017 adult NEXUS Head CT, not PECARN, CATCH, or CHALICE, and not Hoffman 2000 NEXUS C-spine. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_behavior":false,"age":10,"altered_alertness":false,"coagulopathy":false,"neurologic_deficit":false,"persistent_vomiting":false,"scalp_hematoma":false,"skull_fracture":false},{"abnormal_behavior":false,"age":10,"altered_alertness":false,"coagulopathy":false,"neurologic_deficit":false,"persistent_vomiting":false,"scalp_hematoma":false,"skull_fracture":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":10,"citation":{"authors":"Gupta M, Mower WR, Rodriguez RM, Hendey GW","doi":"10.1111/acem.13431","id":"gupta-2018","pmid":"29665151","source":"Acad Emerg Med. 2018;25(7):729-737","title":"Validation of the Pediatric NEXUS II Head Computed Tomography Decision Instrument for Selective Imaging of Pediatric Patients with Blunt Head Trauma."},"criteria":[{"factor":"no_skull_fracture","met":true},{"factor":"no_scalp_hematoma","met":true},{"factor":"no_neurologic_deficit","met":true},{"factor":"no_altered_alertness","met":true},{"factor":"no_abnormal_behavior","met":true},{"factor":"no_persistent_vomiting","met":true},{"factor":"no_coagulopathy","met":true}],"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":"pediatric_nexus_ii","formula_expression":"low_risk iff no skull_fracture and no scalp_hematoma and no neurologic_deficit and no altered_alertness and no abnormal_behavior and no persistent_vomiting and no coagulopathy","low_risk":true},{"age_years":10,"citation":{"authors":"Gupta M, Mower WR, Rodriguez RM, Hendey GW","doi":"10.1111/acem.13431","id":"gupta-2018","pmid":"29665151","source":"Acad Emerg Med. 2018;25(7):729-737","title":"Validation of the Pediatric NEXUS II Head Computed Tomography Decision Instrument for Selective Imaging of Pediatric Patients with Blunt Head Trauma."},"criteria":[{"factor":"no_skull_fracture","met":true},{"factor":"no_scalp_hematoma","met":true},{"factor":"no_neurologic_deficit","met":true},{"factor":"no_altered_alertness","met":true},{"factor":"no_abnormal_behavior","met":true},{"factor":"no_persistent_vomiting","met":true},{"factor":"no_coagulopathy","met":true}],"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":"pediatric_nexus_ii","formula_expression":"low_risk iff no skull_fracture and no scalp_hematoma and no neurologic_deficit and no altered_alertness and no abnormal_behavior and no persistent_vomiting and no coagulopathy","low_risk":true}],"path":"/api/calc/pediatric_nexus_ii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_behavior":{"description":"Abnormal behavior as assigned by the caller. true means abnormal behavior is present and low_risk is false. true or false. magent does not examine the patient.","type":"boolean"},"age":{"description":"Age in years (integer 0-17). Required to match the Gupta 2018 pediatric population but is not a score criterion. Age 18 is rejected. Adult NEXUS Head CT age ≥ 65 is dropped.","type":"integer"},"altered_alertness":{"description":"Altered level of alertness as assigned by the caller. true means alertness is altered and low_risk is false. true or false. magent does not assign GCS.","type":"boolean"},"coagulopathy":{"description":"Coagulopathy as assigned by the caller. true means coagulopathy is present and low_risk is false. true or false. magent does not interpret a coagulation assay.","type":"boolean"},"neurologic_deficit":{"description":"Neurologic deficit (neurosurgical deficits) as assigned by the caller. true means a deficit is present and low_risk is false. true or false. magent does not examine the patient.","type":"boolean"},"persistent_vomiting":{"description":"Persistent vomiting as assigned by the caller. true means persistent vomiting is present and low_risk is false. true or false. magent does not take a vomit count.","type":"boolean"},"scalp_hematoma":{"description":"Scalp hematoma as assigned by the caller. true means a scalp hematoma is present and low_risk is false. true or false. magent does not examine the scalp.","type":"boolean"},"skull_fracture":{"description":"Evidence of skull fracture as assigned by the caller. true means a skull-fracture finding is present and low_risk is false. true or false. magent does not examine the patient or read a radiograph.","type":"boolean"}},"required":["age","skull_fracture","scalp_hematoma","neurologic_deficit","altered_alertness","abnormal_behavior","persistent_vomiting","coagulopathy"],"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":["pediatric-nexus-ii","head-ct","trauma","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:56:50.714Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:56:50.573Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_behavior":false,"age":10,"altered_alertness":false,"coagulopathy":false,"neurologic_deficit":false,"persistent_vomiting":false,"scalp_hematoma":false,"skull_fracture":false},{"abnormal_behavior":false,"age":10,"altered_alertness":false,"coagulopathy":false,"neurologic_deficit":false,"persistent_vomiting":false,"scalp_hematoma":false,"skull_fracture":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":10,"citation":{"authors":"Gupta M, Mower WR, Rodriguez RM, Hendey GW","doi":"10.1111/acem.13431","id":"gupta-2018","pmid":"29665151","source":"Acad Emerg Med. 2018;25(7):729-737","title":"Validation of the Pediatric NEXUS II Head Computed Tomography Decision Instrument for Selective Imaging of Pediatric Patients with Blunt Head Trauma."},"criteria":[{"factor":"no_skull_fracture","met":true},{"factor":"no_scalp_hematoma","met":true},{"factor":"no_neurologic_deficit","met":true},{"factor":"no_altered_alertness","met":true},{"factor":"no_abnormal_behavior","met":true},{"factor":"no_persistent_vomiting","met":true},{"factor":"no_coagulopathy","met":true}],"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":"pediatric_nexus_ii","formula_expression":"low_risk iff no skull_fracture and no scalp_hematoma and no neurologic_deficit and no altered_alertness and no abnormal_behavior and no persistent_vomiting and no coagulopathy","low_risk":true},{"age_years":10,"citation":{"authors":"Gupta M, Mower WR, Rodriguez RM, Hendey GW","doi":"10.1111/acem.13431","id":"gupta-2018","pmid":"29665151","source":"Acad Emerg Med. 2018;25(7):729-737","title":"Validation of the Pediatric NEXUS II Head Computed Tomography Decision Instrument for Selective Imaging of Pediatric Patients with Blunt Head Trauma."},"criteria":[{"factor":"no_skull_fracture","met":true},{"factor":"no_scalp_hematoma","met":true},{"factor":"no_neurologic_deficit","met":true},{"factor":"no_altered_alertness","met":true},{"factor":"no_abnormal_behavior","met":true},{"factor":"no_persistent_vomiting","met":true},{"factor":"no_coagulopathy","met":true}],"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":"pediatric_nexus_ii","formula_expression":"low_risk iff no skull_fracture and no scalp_hematoma and no neurologic_deficit and no altered_alertness and no abnormal_behavior and no persistent_vomiting and no coagulopathy","low_risk":true}],"path":"/api/calc/pediatric_nexus_ii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_behavior":{"description":"Abnormal behavior as assigned by the caller. true means abnormal behavior is present and low_risk is false. true or false. magent does not examine the patient.","type":"boolean"},"age":{"description":"Age in years (integer 0-17). Required to match the Gupta 2018 pediatric population but is not a score criterion. Age 18 is rejected. Adult NEXUS Head CT age ≥ 65 is dropped.","type":"integer"},"altered_alertness":{"description":"Altered level of alertness as assigned by the caller. true means alertness is altered and low_risk is false. true or false. magent does not assign GCS.","type":"boolean"},"coagulopathy":{"description":"Coagulopathy as assigned by the caller. true means coagulopathy is present and low_risk is false. true or false. magent does not interpret a coagulation assay.","type":"boolean"},"neurologic_deficit":{"description":"Neurologic deficit (neurosurgical deficits) as assigned by the caller. true means a deficit is present and low_risk is false. true or false. magent does not examine the patient.","type":"boolean"},"persistent_vomiting":{"description":"Persistent vomiting as assigned by the caller. true means persistent vomiting is present and low_risk is false. true or false. magent does not take a vomit count.","type":"boolean"},"scalp_hematoma":{"description":"Scalp hematoma as assigned by the caller. true means a scalp hematoma is present and low_risk is false. true or false. magent does not examine the scalp.","type":"boolean"},"skull_fracture":{"description":"Evidence of skull fracture as assigned by the caller. true means a skull-fracture finding is present and low_risk is false. true or false. magent does not examine the patient or read a radiograph.","type":"boolean"}},"required":["age","skull_fracture","scalp_hematoma","neurologic_deficit","altered_alertness","abnormal_behavior","persistent_vomiting","coagulopathy"],"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},{"id":38968,"slug":"38968","resource":"https://api.magentlab.com/api/calc/pediatric_ett","description":"Cole 1957 uncuffed pediatric endotracheal tube internal diameter: age_years/4 + 4 millimetres. Deterministic published arithmetic with citation; not a device-selection order or length-based tape.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":4},{"age_years":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":4,"citation":{"authors":"Cole F","doi":"10.1001/archpedi.1957.04030070084009","id":"cole-1957","source":"AMA Am J Dis Child. 1957;94(6):672-673","title":"Pediatric formulas for the anesthesiologist"},"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.","ett_id_mm":5,"formula":"cole_1957","formula_expression":"ett_id_mm = age_years / 4 + 4"},{"age_years":4,"citation":{"authors":"Cole F","doi":"10.1001/archpedi.1957.04030070084009","id":"cole-1957","source":"AMA Am J Dis Child. 1957;94(6):672-673","title":"Pediatric formulas for the anesthesiologist"},"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.","ett_id_mm":5,"formula":"cole_1957","formula_expression":"ett_id_mm = age_years / 4 + 4"}],"path":"/api/calc/pediatric_ett"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (0.5-12). Cole uncuffed ID (mm) = age/4 + 4. Not a neonatal-only formula.","type":"number"}},"required":["age_years"],"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":["ett","pediatric","airway","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:56:49.682Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:56:49.562Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":4},{"age_years":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":4,"citation":{"authors":"Cole F","doi":"10.1001/archpedi.1957.04030070084009","id":"cole-1957","source":"AMA Am J Dis Child. 1957;94(6):672-673","title":"Pediatric formulas for the anesthesiologist"},"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.","ett_id_mm":5,"formula":"cole_1957","formula_expression":"ett_id_mm = age_years / 4 + 4"},{"age_years":4,"citation":{"authors":"Cole F","doi":"10.1001/archpedi.1957.04030070084009","id":"cole-1957","source":"AMA Am J Dis Child. 1957;94(6):672-673","title":"Pediatric formulas for the anesthesiologist"},"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.","ett_id_mm":5,"formula":"cole_1957","formula_expression":"ett_id_mm = age_years / 4 + 4"}],"path":"/api/calc/pediatric_ett"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (0.5-12). Cole uncuffed ID (mm) = age/4 + 4. Not a neonatal-only formula.","type":"number"}},"required":["age_years"],"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},{"id":38969,"slug":"38969","resource":"https://api.magentlab.com/api/calc/pediatric_big","description":"Borgman 2011 pediatric trauma BIG score: admission base deficit (mmol/L as published; magent does not flip signed base excess) plus 2.5 times INR plus (15 minus GCS). Caller supplies numeric base_deficit, inr, and GCS 3-15. magent does not assay blood gas or INR or compute GCS. Numeric score only; Borgman 2011 does not print a 12.7 or 16 mortality cut. Not a medical device or a trauma-bay disposition order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"base_deficit":0,"gcs":15,"inr":1},{"base_deficit":0,"gcs":15,"inr":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"base_deficit":0,"citation":{"authors":"Borgman MA, Maegele M, Wade CE, Blackbourne LH, Spinella PC","doi":"10.1542/peds.2010-2439","id":"borgman-2011","pmid":"21422095","source":"Pediatrics. 2011;127(4):e892-e897","title":"Pediatric trauma BIG score: predicting mortality in children after military and civilian trauma"},"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":"pediatric_big","formula_expression":"BIG = base_deficit + (2.5 * inr) + (15 - gcs); Borgman 2011; admission base deficit mmol/L as published (not a signed base-excess flip); INR unitless; GCS integer 3-15; magent does not assay blood gas or INR or compute GCS; no later 12.7 or 16 mortality cut","gcs":15,"inr":1,"score":2.5},{"base_deficit":0,"citation":{"authors":"Borgman MA, Maegele M, Wade CE, Blackbourne LH, Spinella PC","doi":"10.1542/peds.2010-2439","id":"borgman-2011","pmid":"21422095","source":"Pediatrics. 2011;127(4):e892-e897","title":"Pediatric trauma BIG score: predicting mortality in children after military and civilian trauma"},"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":"pediatric_big","formula_expression":"BIG = base_deficit + (2.5 * inr) + (15 - gcs); Borgman 2011; admission base deficit mmol/L as published (not a signed base-excess flip); INR unitless; GCS integer 3-15; magent does not assay blood gas or INR or compute GCS; no later 12.7 or 16 mortality cut","gcs":15,"inr":1,"score":2.5}],"path":"/api/calc/pediatric_big"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"base_deficit":{"description":"Admission base deficit in mmol/L as Borgman 2011 uses it (−20 to 30 magent clamp). A larger positive deficit raises the score. magent does not assay blood gas and does not negate a signed base-excess value.","type":"number"},"gcs":{"description":"Caller-assigned Glasgow Coma Scale total, integer 3-15 (published range). magent does not compute eye, verbal, or motor GCS.","type":"integer"},"inr":{"description":"Caller-assigned international normalized ratio (0.8-10.0 magent clamp). magent does not assay INR.","type":"number"}},"required":["base_deficit","inr","gcs"],"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":["pediatric-big","trauma","pediatric","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:56:48.852Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:56:48.717Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"base_deficit":0,"gcs":15,"inr":1},{"base_deficit":0,"gcs":15,"inr":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"base_deficit":0,"citation":{"authors":"Borgman MA, Maegele M, Wade CE, Blackbourne LH, Spinella PC","doi":"10.1542/peds.2010-2439","id":"borgman-2011","pmid":"21422095","source":"Pediatrics. 2011;127(4):e892-e897","title":"Pediatric trauma BIG score: predicting mortality in children after military and civilian trauma"},"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":"pediatric_big","formula_expression":"BIG = base_deficit + (2.5 * inr) + (15 - gcs); Borgman 2011; admission base deficit mmol/L as published (not a signed base-excess flip); INR unitless; GCS integer 3-15; magent does not assay blood gas or INR or compute GCS; no later 12.7 or 16 mortality cut","gcs":15,"inr":1,"score":2.5},{"base_deficit":0,"citation":{"authors":"Borgman MA, Maegele M, Wade CE, Blackbourne LH, Spinella PC","doi":"10.1542/peds.2010-2439","id":"borgman-2011","pmid":"21422095","source":"Pediatrics. 2011;127(4):e892-e897","title":"Pediatric trauma BIG score: predicting mortality in children after military and civilian trauma"},"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":"pediatric_big","formula_expression":"BIG = base_deficit + (2.5 * inr) + (15 - gcs); Borgman 2011; admission base deficit mmol/L as published (not a signed base-excess flip); INR unitless; GCS integer 3-15; magent does not assay blood gas or INR or compute GCS; no later 12.7 or 16 mortality cut","gcs":15,"inr":1,"score":2.5}],"path":"/api/calc/pediatric_big"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"base_deficit":{"description":"Admission base deficit in mmol/L as Borgman 2011 uses it (−20 to 30 magent clamp). A larger positive deficit raises the score. magent does not assay blood gas and does not negate a signed base-excess value.","type":"number"},"gcs":{"description":"Caller-assigned Glasgow Coma Scale total, integer 3-15 (published range). magent does not compute eye, verbal, or motor GCS.","type":"integer"},"inr":{"description":"Caller-assigned international normalized ratio (0.8-10.0 magent clamp). magent does not assay INR.","type":"number"}},"required":["base_deficit","inr","gcs"],"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},{"id":38970,"slug":"38970","resource":"https://api.magentlab.com/api/calc/pecarn_iai","description":"PECARN pediatric IAI (Holmes 2013). Very low risk of IAI requiring acute intervention only when all seven caller-assigned findings are absent: abdominal wall trauma or seatbelt sign, GCS <14, abdominal tenderness, thoracic wall trauma, abdominal pain, decreased breath sounds, and vomiting. Presence of a criterion does not mandate CT. Not a diagnosis. Not PECARN head. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abdominal_pain":false,"abdominal_tenderness":false,"abdominal_wall_trauma_or_seatbelt_sign":false,"decreased_breath_sounds":false,"gcs_less_than_14":false,"thoracic_wall_trauma":false,"vomiting":false},{"abdominal_pain":false,"abdominal_tenderness":false,"abdominal_wall_trauma_or_seatbelt_sign":false,"decreased_breath_sounds":false,"gcs_less_than_14":false,"thoracic_wall_trauma":false,"vomiting":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Holmes JF, Lillis K, Monroe D, Borgialli D, Kerrey BT, Mahajan P, Adelgais K, Ellison AM, Yen K, Atabaki S, Menaker J, Bonsu B, Quayle KS, Garcia M, Rogers A, Blumberg S, Lee L, Tunik M, Kooistra J, Kwok M, Cook LJ, Dean JM, Sokolove PE, Wisner DH, Ehrlich P, Cooper A, Dayan PS, Wootton-Gorges S, Kuppermann N","doi":"10.1016/j.annemergmed.2012.11.009","id":"holmes-2013","source":"Ann Emerg Med. 2013;62(2):107-116.e2","title":"Identifying children at very low risk of clinically important blunt abdominal injuries"},"criteria":[{"factor":"no_abdominal_wall_trauma_or_seatbelt_sign","met":true},{"factor":"no_gcs_less_than_14","met":true},{"factor":"no_abdominal_tenderness","met":true},{"factor":"no_thoracic_wall_trauma","met":true},{"factor":"no_abdominal_pain","met":true},{"factor":"no_decreased_breath_sounds","met":true},{"factor":"no_vomiting","met":true}],"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":"pecarn_iai","formula_expression":"very_low_risk_iai_intervention iff no abdominal_wall_trauma_or_seatbelt_sign and no gcs_less_than_14 and no abdominal_tenderness and no thoracic_wall_trauma and no abdominal_pain and no decreased_breath_sounds and no vomiting","very_low_risk_iai_intervention":true},{"citation":{"authors":"Holmes JF, Lillis K, Monroe D, Borgialli D, Kerrey BT, Mahajan P, Adelgais K, Ellison AM, Yen K, Atabaki S, Menaker J, Bonsu B, Quayle KS, Garcia M, Rogers A, Blumberg S, Lee L, Tunik M, Kooistra J, Kwok M, Cook LJ, Dean JM, Sokolove PE, Wisner DH, Ehrlich P, Cooper A, Dayan PS, Wootton-Gorges S, Kuppermann N","doi":"10.1016/j.annemergmed.2012.11.009","id":"holmes-2013","source":"Ann Emerg Med. 2013;62(2):107-116.e2","title":"Identifying children at very low risk of clinically important blunt abdominal injuries"},"criteria":[{"factor":"no_abdominal_wall_trauma_or_seatbelt_sign","met":true},{"factor":"no_gcs_less_than_14","met":true},{"factor":"no_abdominal_tenderness","met":true},{"factor":"no_thoracic_wall_trauma","met":true},{"factor":"no_abdominal_pain","met":true},{"factor":"no_decreased_breath_sounds","met":true},{"factor":"no_vomiting","met":true}],"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":"pecarn_iai","formula_expression":"very_low_risk_iai_intervention iff no abdominal_wall_trauma_or_seatbelt_sign and no gcs_less_than_14 and no abdominal_tenderness and no thoracic_wall_trauma and no abdominal_pain and no decreased_breath_sounds and no vomiting","very_low_risk_iai_intervention":true}],"path":"/api/calc/pecarn_iai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_pain":{"description":"Complaints of abdominal pain as assigned by the caller. true means pain is present and very_low_risk_iai_intervention is false. true or false. magent does not take a pain score.","type":"boolean"},"abdominal_tenderness":{"description":"Abdominal tenderness as assigned by the caller. true means tenderness is present and very_low_risk_iai_intervention is false. true or false. magent does not palpate the abdomen.","type":"boolean"},"abdominal_wall_trauma_or_seatbelt_sign":{"description":"Evidence of abdominal wall trauma or seatbelt sign as assigned by the caller (Holmes 2013 first-ranked criterion). true means the finding is present and very_low_risk_iai_intervention is false. true or false. magent does not examine the abdomen.","type":"boolean"},"decreased_breath_sounds":{"description":"Decreased breath sounds as assigned by the caller. true means decreased breath sounds are present and very_low_risk_iai_intervention is false. true or false. magent does not auscultate the chest.","type":"boolean"},"gcs_less_than_14":{"description":"GCS score <14 as assigned by the caller (paper: GCS <14; equivalently GCS >13 is the low-risk direction). true means GCS <14 and very_low_risk_iai_intervention is false. true or false. This is not the PECARN head GCS <=14 flag. magent does not take a GCS integer.","type":"boolean"},"thoracic_wall_trauma":{"description":"Evidence of thoracic wall trauma as assigned by the caller. true means the finding is present and very_low_risk_iai_intervention is false. true or false. magent does not examine the chest.","type":"boolean"},"vomiting":{"description":"History of vomiting as assigned by the caller. true means vomiting is present and very_low_risk_iai_intervention is false. true or false. magent does not take a vomit count.","type":"boolean"}},"required":["abdominal_wall_trauma_or_seatbelt_sign","gcs_less_than_14","abdominal_tenderness","thoracic_wall_trauma","abdominal_pain","decreased_breath_sounds","vomiting"],"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":["pecarn-iai","pediatric","abdominal","emergency","trauma","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:51:31.559Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:51:31.443Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abdominal_pain":false,"abdominal_tenderness":false,"abdominal_wall_trauma_or_seatbelt_sign":false,"decreased_breath_sounds":false,"gcs_less_than_14":false,"thoracic_wall_trauma":false,"vomiting":false},{"abdominal_pain":false,"abdominal_tenderness":false,"abdominal_wall_trauma_or_seatbelt_sign":false,"decreased_breath_sounds":false,"gcs_less_than_14":false,"thoracic_wall_trauma":false,"vomiting":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Holmes JF, Lillis K, Monroe D, Borgialli D, Kerrey BT, Mahajan P, Adelgais K, Ellison AM, Yen K, Atabaki S, Menaker J, Bonsu B, Quayle KS, Garcia M, Rogers A, Blumberg S, Lee L, Tunik M, Kooistra J, Kwok M, Cook LJ, Dean JM, Sokolove PE, Wisner DH, Ehrlich P, Cooper A, Dayan PS, Wootton-Gorges S, Kuppermann N","doi":"10.1016/j.annemergmed.2012.11.009","id":"holmes-2013","source":"Ann Emerg Med. 2013;62(2):107-116.e2","title":"Identifying children at very low risk of clinically important blunt abdominal injuries"},"criteria":[{"factor":"no_abdominal_wall_trauma_or_seatbelt_sign","met":true},{"factor":"no_gcs_less_than_14","met":true},{"factor":"no_abdominal_tenderness","met":true},{"factor":"no_thoracic_wall_trauma","met":true},{"factor":"no_abdominal_pain","met":true},{"factor":"no_decreased_breath_sounds","met":true},{"factor":"no_vomiting","met":true}],"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":"pecarn_iai","formula_expression":"very_low_risk_iai_intervention iff no abdominal_wall_trauma_or_seatbelt_sign and no gcs_less_than_14 and no abdominal_tenderness and no thoracic_wall_trauma and no abdominal_pain and no decreased_breath_sounds and no vomiting","very_low_risk_iai_intervention":true},{"citation":{"authors":"Holmes JF, Lillis K, Monroe D, Borgialli D, Kerrey BT, Mahajan P, Adelgais K, Ellison AM, Yen K, Atabaki S, Menaker J, Bonsu B, Quayle KS, Garcia M, Rogers A, Blumberg S, Lee L, Tunik M, Kooistra J, Kwok M, Cook LJ, Dean JM, Sokolove PE, Wisner DH, Ehrlich P, Cooper A, Dayan PS, Wootton-Gorges S, Kuppermann N","doi":"10.1016/j.annemergmed.2012.11.009","id":"holmes-2013","source":"Ann Emerg Med. 2013;62(2):107-116.e2","title":"Identifying children at very low risk of clinically important blunt abdominal injuries"},"criteria":[{"factor":"no_abdominal_wall_trauma_or_seatbelt_sign","met":true},{"factor":"no_gcs_less_than_14","met":true},{"factor":"no_abdominal_tenderness","met":true},{"factor":"no_thoracic_wall_trauma","met":true},{"factor":"no_abdominal_pain","met":true},{"factor":"no_decreased_breath_sounds","met":true},{"factor":"no_vomiting","met":true}],"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":"pecarn_iai","formula_expression":"very_low_risk_iai_intervention iff no abdominal_wall_trauma_or_seatbelt_sign and no gcs_less_than_14 and no abdominal_tenderness and no thoracic_wall_trauma and no abdominal_pain and no decreased_breath_sounds and no vomiting","very_low_risk_iai_intervention":true}],"path":"/api/calc/pecarn_iai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_pain":{"description":"Complaints of abdominal pain as assigned by the caller. true means pain is present and very_low_risk_iai_intervention is false. true or false. magent does not take a pain score.","type":"boolean"},"abdominal_tenderness":{"description":"Abdominal tenderness as assigned by the caller. true means tenderness is present and very_low_risk_iai_intervention is false. true or false. magent does not palpate the abdomen.","type":"boolean"},"abdominal_wall_trauma_or_seatbelt_sign":{"description":"Evidence of abdominal wall trauma or seatbelt sign as assigned by the caller (Holmes 2013 first-ranked criterion). true means the finding is present and very_low_risk_iai_intervention is false. true or false. magent does not examine the abdomen.","type":"boolean"},"decreased_breath_sounds":{"description":"Decreased breath sounds as assigned by the caller. true means decreased breath sounds are present and very_low_risk_iai_intervention is false. true or false. magent does not auscultate the chest.","type":"boolean"},"gcs_less_than_14":{"description":"GCS score <14 as assigned by the caller (paper: GCS <14; equivalently GCS >13 is the low-risk direction). true means GCS <14 and very_low_risk_iai_intervention is false. true or false. This is not the PECARN head GCS <=14 flag. magent does not take a GCS integer.","type":"boolean"},"thoracic_wall_trauma":{"description":"Evidence of thoracic wall trauma as assigned by the caller. true means the finding is present and very_low_risk_iai_intervention is false. true or false. magent does not examine the chest.","type":"boolean"},"vomiting":{"description":"History of vomiting as assigned by the caller. true means vomiting is present and very_low_risk_iai_intervention is false. true or false. magent does not take a vomit count.","type":"boolean"}},"required":["abdominal_wall_trauma_or_seatbelt_sign","gcs_less_than_14","abdominal_tenderness","thoracic_wall_trauma","abdominal_pain","decreased_breath_sounds","vomiting"],"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},{"id":38971,"slug":"38971","resource":"https://api.magentlab.com/api/calc/pecarn_febrile","description":"Kuppermann 2019 PECARN prediction rule for febrile infants 60 days and younger. Low-risk only if all three hold: caller-assigned negative urinalysis, ANC 4090/uL or less, and serum procalcitonin 1.71 ng/mL or less. Age 0-60 pins the published population and is not a tree variable. Returns low_risk. magent does not assay UA, ANC, or PCT. Not Rochester, Boston, Philadelphia, Step-by-Step, later AAP/PECARN cutoffs, or pecarn-head. Not a medical device and not a discharge or LP order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_days":36,"anc_per_ul":3000,"negative_urinalysis":true,"pct_ng_ml":0.5},{"age_days":36,"anc_per_ul":3000,"negative_urinalysis":true,"pct_ng_ml":0.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_days":36,"anc_per_ul":3000,"citation":{"authors":"Kuppermann N, Dayan PS, Levine DA, et al.","doi":"10.1001/jamapediatrics.2018.5501","id":"kuppermann-2019","pmid":"30776077","source":"JAMA Pediatr. 2019;173(4):342-351","title":"A Clinical Prediction Rule to Identify Febrile Infants 60 Days and Younger at Low Risk for Serious Bacterial Infections."},"criteria":[{"factor":"negative_urinalysis","met":true},{"factor":"anc_le_4090","met":true,"value":3000},{"factor":"pct_le_1_71","met":true,"value":0.5}],"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":"pecarn_febrile","formula_expression":"low_risk iff negative_urinalysis and anc_per_ul <= 4090 and pct_ng_ml <= 1.71; age_days 0-60 pins the published population and is not a tree variable (Kuppermann 2019)","low_risk":true,"pct_ng_ml":0.5},{"age_days":36,"anc_per_ul":3000,"citation":{"authors":"Kuppermann N, Dayan PS, Levine DA, et al.","doi":"10.1001/jamapediatrics.2018.5501","id":"kuppermann-2019","pmid":"30776077","source":"JAMA Pediatr. 2019;173(4):342-351","title":"A Clinical Prediction Rule to Identify Febrile Infants 60 Days and Younger at Low Risk for Serious Bacterial Infections."},"criteria":[{"factor":"negative_urinalysis","met":true},{"factor":"anc_le_4090","met":true,"value":3000},{"factor":"pct_le_1_71","met":true,"value":0.5}],"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":"pecarn_febrile","formula_expression":"low_risk iff negative_urinalysis and anc_per_ul <= 4090 and pct_ng_ml <= 1.71; age_days 0-60 pins the published population and is not a tree variable (Kuppermann 2019)","low_risk":true,"pct_ng_ml":0.5}],"path":"/api/calc/pecarn_febrile"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_days":{"description":"Chronological age in days (integer 0-60). Kuppermann 2019 studied febrile infants 60 days and younger. Age pins the published population and is not a tree variable; age 0 and age 60 can both be low-risk when the three laboratory criteria hold.","type":"integer"},"anc_per_ul":{"description":"Absolute neutrophil count in cells/µL. Range 0-100000. Low-risk requires ANC 4090/µL or less (4090 meets; 4091 does not). magent does not assay ANC.","type":"number"},"negative_urinalysis":{"description":"Caller-assigned negative urinalysis as used in Kuppermann 2019. true means the UA is negative. true or false. magent does not assay UA.","type":"boolean"},"pct_ng_ml":{"description":"Serum procalcitonin in ng/mL. Range 0.01-100. Low-risk requires 1.71 ng/mL or less (1.71 meets; 1.72 does not). magent does not assay procalcitonin.","type":"number"}},"required":["age_days","negative_urinalysis","anc_per_ul","pct_ng_ml"],"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":["pecarn-febrile","febrile-infant","emergency","sbi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:51:30.8Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:51:30.669Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_days":36,"anc_per_ul":3000,"negative_urinalysis":true,"pct_ng_ml":0.5},{"age_days":36,"anc_per_ul":3000,"negative_urinalysis":true,"pct_ng_ml":0.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_days":36,"anc_per_ul":3000,"citation":{"authors":"Kuppermann N, Dayan PS, Levine DA, et al.","doi":"10.1001/jamapediatrics.2018.5501","id":"kuppermann-2019","pmid":"30776077","source":"JAMA Pediatr. 2019;173(4):342-351","title":"A Clinical Prediction Rule to Identify Febrile Infants 60 Days and Younger at Low Risk for Serious Bacterial Infections."},"criteria":[{"factor":"negative_urinalysis","met":true},{"factor":"anc_le_4090","met":true,"value":3000},{"factor":"pct_le_1_71","met":true,"value":0.5}],"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":"pecarn_febrile","formula_expression":"low_risk iff negative_urinalysis and anc_per_ul <= 4090 and pct_ng_ml <= 1.71; age_days 0-60 pins the published population and is not a tree variable (Kuppermann 2019)","low_risk":true,"pct_ng_ml":0.5},{"age_days":36,"anc_per_ul":3000,"citation":{"authors":"Kuppermann N, Dayan PS, Levine DA, et al.","doi":"10.1001/jamapediatrics.2018.5501","id":"kuppermann-2019","pmid":"30776077","source":"JAMA Pediatr. 2019;173(4):342-351","title":"A Clinical Prediction Rule to Identify Febrile Infants 60 Days and Younger at Low Risk for Serious Bacterial Infections."},"criteria":[{"factor":"negative_urinalysis","met":true},{"factor":"anc_le_4090","met":true,"value":3000},{"factor":"pct_le_1_71","met":true,"value":0.5}],"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":"pecarn_febrile","formula_expression":"low_risk iff negative_urinalysis and anc_per_ul <= 4090 and pct_ng_ml <= 1.71; age_days 0-60 pins the published population and is not a tree variable (Kuppermann 2019)","low_risk":true,"pct_ng_ml":0.5}],"path":"/api/calc/pecarn_febrile"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_days":{"description":"Chronological age in days (integer 0-60). Kuppermann 2019 studied febrile infants 60 days and younger. Age pins the published population and is not a tree variable; age 0 and age 60 can both be low-risk when the three laboratory criteria hold.","type":"integer"},"anc_per_ul":{"description":"Absolute neutrophil count in cells/µL. Range 0-100000. Low-risk requires ANC 4090/µL or less (4090 meets; 4091 does not). magent does not assay ANC.","type":"number"},"negative_urinalysis":{"description":"Caller-assigned negative urinalysis as used in Kuppermann 2019. true means the UA is negative. true or false. magent does not assay UA.","type":"boolean"},"pct_ng_ml":{"description":"Serum procalcitonin in ng/mL. Range 0.01-100. Low-risk requires 1.71 ng/mL or less (1.71 meets; 1.72 does not). magent does not assay procalcitonin.","type":"number"}},"required":["age_days","negative_urinalysis","anc_per_ul","pct_ng_ml"],"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},{"id":38972,"slug":"38972","resource":"https://api.magentlab.com/api/calc/pecarn_cspine","description":"PECARN pediatric C-spine (Leonard 2024). No age split. High (consider CT) if GCS 3-8 or AVPU U; abnormal airway, breathing, or circulation; or focal neurologic deficit. Else intermediate (consider x-rays) if neck pain; AMS GCS 9-14; substantial head or torso injury; or midline neck tenderness. Else low (consider clinical clearance). High-risk beats intermediate. Not NEXUS, Canadian C-spine, PECARN head, or PECARN IAI. Not a medical device. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_airway_breathing_or_circulation":false,"altered_mental_status_gcs_9_to_14":false,"focal_neurologic_deficit":false,"gcs_3_to_8_or_avpu_u":false,"midline_neck_tenderness":false,"neck_pain":false,"substantial_head_injury":false,"substantial_torso_injury":false},{"abnormal_airway_breathing_or_circulation":false,"altered_mental_status_gcs_9_to_14":false,"focal_neurologic_deficit":false,"gcs_3_to_8_or_avpu_u":false,"midline_neck_tenderness":false,"neck_pain":false,"substantial_head_injury":false,"substantial_torso_injury":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Leonard JC, Harding M, Cook LJ, et al.","doi":"10.1016/S2352-4642(24)00104-4","id":"leonard-2024","pmid":"38843852","source":"Lancet Child Adolesc Health. 2024;8(7):482-490","title":"PECARN prediction rule for cervical spine imaging of children presenting to the emergency department with blunt trauma: a multicentre prospective observational study"},"consider_clinical_clearance":true,"consider_ct":false,"consider_xray":false,"criteria":[{"factor":"gcs_3_to_8_or_avpu_u","met":false},{"factor":"abnormal_airway_breathing_or_circulation","met":false},{"factor":"focal_neurologic_deficit","met":false},{"factor":"neck_pain","met":false},{"factor":"altered_mental_status_gcs_9_to_14","met":false},{"factor":"substantial_head_injury","met":false},{"factor":"substantial_torso_injury","met":false},{"factor":"midline_neck_tenderness","met":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":"pecarn_cspine","formula_expression":"high if any high-risk factor (gcs_3_to_8_or_avpu_u, abnormal_airway_breathing_or_circulation, or focal_neurologic_deficit), else intermediate if any CART non-negligible factor (neck_pain, altered_mental_status_gcs_9_to_14, substantial_head_injury, substantial_torso_injury, or midline_neck_tenderness), else low; high-risk beats intermediate; no age split (Leonard 2024)","risk_tier":"low"},{"citation":{"authors":"Leonard JC, Harding M, Cook LJ, et al.","doi":"10.1016/S2352-4642(24)00104-4","id":"leonard-2024","pmid":"38843852","source":"Lancet Child Adolesc Health. 2024;8(7):482-490","title":"PECARN prediction rule for cervical spine imaging of children presenting to the emergency department with blunt trauma: a multicentre prospective observational study"},"consider_clinical_clearance":true,"consider_ct":false,"consider_xray":false,"criteria":[{"factor":"gcs_3_to_8_or_avpu_u","met":false},{"factor":"abnormal_airway_breathing_or_circulation","met":false},{"factor":"focal_neurologic_deficit","met":false},{"factor":"neck_pain","met":false},{"factor":"altered_mental_status_gcs_9_to_14","met":false},{"factor":"substantial_head_injury","met":false},{"factor":"substantial_torso_injury","met":false},{"factor":"midline_neck_tenderness","met":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":"pecarn_cspine","formula_expression":"high if any high-risk factor (gcs_3_to_8_or_avpu_u, abnormal_airway_breathing_or_circulation, or focal_neurologic_deficit), else intermediate if any CART non-negligible factor (neck_pain, altered_mental_status_gcs_9_to_14, substantial_head_injury, substantial_torso_injury, or midline_neck_tenderness), else low; high-risk beats intermediate; no age split (Leonard 2024)","risk_tier":"low"}],"path":"/api/calc/pecarn_cspine"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_airway_breathing_or_circulation":{"description":"Abnormal airway, breathing, or circulation as assigned by the caller (Leonard 2024 high-risk). true or false. High-risk; consider CT when any high-risk factor is true. magent does not examine airway, breathing, or circulation.","type":"boolean"},"altered_mental_status_gcs_9_to_14":{"description":"Altered mental status as GCS 9-14, AVPU V or P, or other AMS (not the high-risk U / GCS 3-8 flag) as assigned by the caller (Leonard 2024 CART non-negligible / intermediate). true or false. magent does not take a GCS integer or AVPU letter.","type":"boolean"},"focal_neurologic_deficit":{"description":"Focal neurologic deficit (paresthesia, numbness, or weakness) as assigned by the caller (Leonard 2024 high-risk). true or false. High-risk; consider CT when any high-risk factor is true. magent does not examine the patient.","type":"boolean"},"gcs_3_to_8_or_avpu_u":{"description":"GCS 3-8 or AVPU = U as assigned by the caller (Leonard 2024 high-risk; paper: factors associated with >10% CSI). true or false. High-risk; consider CT when any high-risk factor is true. This is not the intermediate GCS 9-14 / AVPU V or P / other AMS flag. magent does not take a GCS integer or AVPU letter.","type":"boolean"},"midline_neck_tenderness":{"description":"Midline neck tenderness as assigned by the caller (Leonard 2024 CART non-negligible / intermediate). true or false. magent does not palpate the neck.","type":"boolean"},"neck_pain":{"description":"Self-reported neck pain as assigned by the caller (Leonard 2024 CART non-negligible / intermediate). true or false. Consider x-rays when any intermediate factor is true and no high-risk factor is true. magent does not take a pain score.","type":"boolean"},"substantial_head_injury":{"description":"Substantial head injury as assigned by the caller (Leonard 2024 CART non-negligible / intermediate). Paper: injuries warranting inpatient observation or surgical intervention (example: skull fracture). true or false. Caller assigns the boolean; magent does not interpret imaging.","type":"boolean"},"substantial_torso_injury":{"description":"Substantial torso injury as assigned by the caller (Leonard 2024 CART non-negligible / intermediate). Paper: injuries warranting inpatient observation or surgical intervention (examples: pneumothorax; solid-organ injury; T/L/S spine fracture; pelvic fracture). true or false. Caller assigns the boolean; magent does not interpret imaging.","type":"boolean"}},"required":["gcs_3_to_8_or_avpu_u","abnormal_airway_breathing_or_circulation","focal_neurologic_deficit","neck_pain","altered_mental_status_gcs_9_to_14","substantial_head_injury","substantial_torso_injury","midline_neck_tenderness"],"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":["pecarn-cspine","pediatric","c-spine","emergency","trauma","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:51:29.961Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:51:29.832Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_airway_breathing_or_circulation":false,"altered_mental_status_gcs_9_to_14":false,"focal_neurologic_deficit":false,"gcs_3_to_8_or_avpu_u":false,"midline_neck_tenderness":false,"neck_pain":false,"substantial_head_injury":false,"substantial_torso_injury":false},{"abnormal_airway_breathing_or_circulation":false,"altered_mental_status_gcs_9_to_14":false,"focal_neurologic_deficit":false,"gcs_3_to_8_or_avpu_u":false,"midline_neck_tenderness":false,"neck_pain":false,"substantial_head_injury":false,"substantial_torso_injury":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Leonard JC, Harding M, Cook LJ, et al.","doi":"10.1016/S2352-4642(24)00104-4","id":"leonard-2024","pmid":"38843852","source":"Lancet Child Adolesc Health. 2024;8(7):482-490","title":"PECARN prediction rule for cervical spine imaging of children presenting to the emergency department with blunt trauma: a multicentre prospective observational study"},"consider_clinical_clearance":true,"consider_ct":false,"consider_xray":false,"criteria":[{"factor":"gcs_3_to_8_or_avpu_u","met":false},{"factor":"abnormal_airway_breathing_or_circulation","met":false},{"factor":"focal_neurologic_deficit","met":false},{"factor":"neck_pain","met":false},{"factor":"altered_mental_status_gcs_9_to_14","met":false},{"factor":"substantial_head_injury","met":false},{"factor":"substantial_torso_injury","met":false},{"factor":"midline_neck_tenderness","met":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":"pecarn_cspine","formula_expression":"high if any high-risk factor (gcs_3_to_8_or_avpu_u, abnormal_airway_breathing_or_circulation, or focal_neurologic_deficit), else intermediate if any CART non-negligible factor (neck_pain, altered_mental_status_gcs_9_to_14, substantial_head_injury, substantial_torso_injury, or midline_neck_tenderness), else low; high-risk beats intermediate; no age split (Leonard 2024)","risk_tier":"low"},{"citation":{"authors":"Leonard JC, Harding M, Cook LJ, et al.","doi":"10.1016/S2352-4642(24)00104-4","id":"leonard-2024","pmid":"38843852","source":"Lancet Child Adolesc Health. 2024;8(7):482-490","title":"PECARN prediction rule for cervical spine imaging of children presenting to the emergency department with blunt trauma: a multicentre prospective observational study"},"consider_clinical_clearance":true,"consider_ct":false,"consider_xray":false,"criteria":[{"factor":"gcs_3_to_8_or_avpu_u","met":false},{"factor":"abnormal_airway_breathing_or_circulation","met":false},{"factor":"focal_neurologic_deficit","met":false},{"factor":"neck_pain","met":false},{"factor":"altered_mental_status_gcs_9_to_14","met":false},{"factor":"substantial_head_injury","met":false},{"factor":"substantial_torso_injury","met":false},{"factor":"midline_neck_tenderness","met":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":"pecarn_cspine","formula_expression":"high if any high-risk factor (gcs_3_to_8_or_avpu_u, abnormal_airway_breathing_or_circulation, or focal_neurologic_deficit), else intermediate if any CART non-negligible factor (neck_pain, altered_mental_status_gcs_9_to_14, substantial_head_injury, substantial_torso_injury, or midline_neck_tenderness), else low; high-risk beats intermediate; no age split (Leonard 2024)","risk_tier":"low"}],"path":"/api/calc/pecarn_cspine"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_airway_breathing_or_circulation":{"description":"Abnormal airway, breathing, or circulation as assigned by the caller (Leonard 2024 high-risk). true or false. High-risk; consider CT when any high-risk factor is true. magent does not examine airway, breathing, or circulation.","type":"boolean"},"altered_mental_status_gcs_9_to_14":{"description":"Altered mental status as GCS 9-14, AVPU V or P, or other AMS (not the high-risk U / GCS 3-8 flag) as assigned by the caller (Leonard 2024 CART non-negligible / intermediate). true or false. magent does not take a GCS integer or AVPU letter.","type":"boolean"},"focal_neurologic_deficit":{"description":"Focal neurologic deficit (paresthesia, numbness, or weakness) as assigned by the caller (Leonard 2024 high-risk). true or false. High-risk; consider CT when any high-risk factor is true. magent does not examine the patient.","type":"boolean"},"gcs_3_to_8_or_avpu_u":{"description":"GCS 3-8 or AVPU = U as assigned by the caller (Leonard 2024 high-risk; paper: factors associated with >10% CSI). true or false. High-risk; consider CT when any high-risk factor is true. This is not the intermediate GCS 9-14 / AVPU V or P / other AMS flag. magent does not take a GCS integer or AVPU letter.","type":"boolean"},"midline_neck_tenderness":{"description":"Midline neck tenderness as assigned by the caller (Leonard 2024 CART non-negligible / intermediate). true or false. magent does not palpate the neck.","type":"boolean"},"neck_pain":{"description":"Self-reported neck pain as assigned by the caller (Leonard 2024 CART non-negligible / intermediate). true or false. Consider x-rays when any intermediate factor is true and no high-risk factor is true. magent does not take a pain score.","type":"boolean"},"substantial_head_injury":{"description":"Substantial head injury as assigned by the caller (Leonard 2024 CART non-negligible / intermediate). Paper: injuries warranting inpatient observation or surgical intervention (example: skull fracture). true or false. Caller assigns the boolean; magent does not interpret imaging.","type":"boolean"},"substantial_torso_injury":{"description":"Substantial torso injury as assigned by the caller (Leonard 2024 CART non-negligible / intermediate). Paper: injuries warranting inpatient observation or surgical intervention (examples: pneumothorax; solid-organ injury; T/L/S spine fracture; pelvic fracture). true or false. Caller assigns the boolean; magent does not interpret imaging.","type":"boolean"}},"required":["gcs_3_to_8_or_avpu_u","abnormal_airway_breathing_or_circulation","focal_neurologic_deficit","neck_pain","altered_mental_status_gcs_9_to_14","substantial_head_injury","substantial_torso_injury","midline_neck_tenderness"],"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},{"id":38973,"slug":"38973","resource":"https://api.magentlab.com/api/calc/peak_expiratory_flow","description":"Nunn and Gregg 1989 predicted adult peak expiratory flow (L/min) from age, sex, and height. Sex-specific ln(PEF) regressions as published. Deterministic published arithmetic with citation; not a personal-best or action-plan zone.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"height_cm":175,"height_in":68.8976,"sex":"male"},{"age":40,"height_cm":175,"height_in":68.8976,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Nunn AJ, Gregg I","doi":"10.1136/bmj.298.6680.1068","id":"nunn-gregg-1989","source":"BMJ. 1989;298(6680):1068-1070","title":"New regression equations for predicting peak expiratory flow in adults"},"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":"nunn_gregg_1989","formula_expression":"ln(PEF_l_min) = a*ln(age) + b*age + c/height_cm + d; male a=0.544 b=-0.0151 c=-74.7 d=5.48; female a=0.376 b=-0.0120 c=-58.8 d=5.63","height_cm":175,"predicted_pef_l_min":636,"sex":"male"},{"age_years":40,"citation":{"authors":"Nunn AJ, Gregg I","doi":"10.1136/bmj.298.6680.1068","id":"nunn-gregg-1989","source":"BMJ. 1989;298(6680):1068-1070","title":"New regression equations for predicting peak expiratory flow in adults"},"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":"nunn_gregg_1989","formula_expression":"ln(PEF_l_min) = a*ln(age) + b*age + c/height_cm + d; male a=0.544 b=-0.0151 c=-74.7 d=5.48; female a=0.376 b=-0.0120 c=-58.8 d=5.63","height_cm":175,"predicted_pef_l_min":636,"sex":"male"}],"path":"/api/calc/peak_expiratory_flow"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 15-85). Nunn and Gregg 1989 adult range.","type":"integer"},"height_cm":{"description":"Height in centimetres (50-250). Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches (20-98). Converted as cm = in × 2.54.","type":"number"},"sex":{"description":"Sex for the published regression (female or male).","enum":["female","male"],"type":"string"}},"required":["age","sex"],"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":["peak-flow","pef","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:46:30.043Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:46:29.895Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"height_cm":175,"height_in":68.8976,"sex":"male"},{"age":40,"height_cm":175,"height_in":68.8976,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Nunn AJ, Gregg I","doi":"10.1136/bmj.298.6680.1068","id":"nunn-gregg-1989","source":"BMJ. 1989;298(6680):1068-1070","title":"New regression equations for predicting peak expiratory flow in adults"},"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":"nunn_gregg_1989","formula_expression":"ln(PEF_l_min) = a*ln(age) + b*age + c/height_cm + d; male a=0.544 b=-0.0151 c=-74.7 d=5.48; female a=0.376 b=-0.0120 c=-58.8 d=5.63","height_cm":175,"predicted_pef_l_min":636,"sex":"male"},{"age_years":40,"citation":{"authors":"Nunn AJ, Gregg I","doi":"10.1136/bmj.298.6680.1068","id":"nunn-gregg-1989","source":"BMJ. 1989;298(6680):1068-1070","title":"New regression equations for predicting peak expiratory flow in adults"},"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":"nunn_gregg_1989","formula_expression":"ln(PEF_l_min) = a*ln(age) + b*age + c/height_cm + d; male a=0.544 b=-0.0151 c=-74.7 d=5.48; female a=0.376 b=-0.0120 c=-58.8 d=5.63","height_cm":175,"predicted_pef_l_min":636,"sex":"male"}],"path":"/api/calc/peak_expiratory_flow"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 15-85). Nunn and Gregg 1989 adult range.","type":"integer"},"height_cm":{"description":"Height in centimetres (50-250). Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches (20-98). Converted as cm = in × 2.54.","type":"number"},"sex":{"description":"Sex for the published regression (female or male).","enum":["female","male"],"type":"string"}},"required":["age","sex"],"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},{"id":38974,"slug":"38974","resource":"https://api.magentlab.com/api/calc/pe_sard","description":"Chopard 2021 PE-SARD score for early major bleeding in acute pulmonary embolism. Three caller-assigned flags: syncope (1.5), anemia (hemoglobin <12 g/dL, 2.5), renal dysfunction (GFR <60 mL/min, 1). Max 5. Half-points as published. Risk: low (0), intermediate (1–2.5), high (>2.5). magent does not assay hemoglobin or compute GFR. Not a PE diagnosis and not an anticoagulation order. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anemia":false,"renal_dysfunction":false,"syncope":false},{"anemia":false,"renal_dysfunction":false,"syncope":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Chopard R, Piazza G, Falvo N, Ecarnot F, Besutti M, Capellier G, Schiele F, Badoz M, Meneveau N","doi":"10.1016/j.chest.2021.06.048","id":"chopard-2021","pmid":"34217683","source":"Chest. 2021;160(5):1832-1843","title":"An Original Risk Score to Predict Early Major Bleeding in Acute Pulmonary Embolism: The Syncope, Anemia, Renal Dysfunction (PE-SARD) Bleeding Score"},"components":[{"factor":"syncope","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"renal_dysfunction","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":"pe_sard","formula_expression":"PE-SARD (Chopard 2021) = syncope (1.5) + anemia Hb<12 g/dL (2.5) + renal_dysfunction GFR<60 (1); max 5; 0 low, 1-2.5 intermediate, >2.5 high; half-points not integer-rounded","max_score":5,"risk":"low","score":0},{"citation":{"authors":"Chopard R, Piazza G, Falvo N, Ecarnot F, Besutti M, Capellier G, Schiele F, Badoz M, Meneveau N","doi":"10.1016/j.chest.2021.06.048","id":"chopard-2021","pmid":"34217683","source":"Chest. 2021;160(5):1832-1843","title":"An Original Risk Score to Predict Early Major Bleeding in Acute Pulmonary Embolism: The Syncope, Anemia, Renal Dysfunction (PE-SARD) Bleeding Score"},"components":[{"factor":"syncope","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"renal_dysfunction","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":"pe_sard","formula_expression":"PE-SARD (Chopard 2021) = syncope (1.5) + anemia Hb<12 g/dL (2.5) + renal_dysfunction GFR<60 (1); max 5; 0 low, 1-2.5 intermediate, >2.5 high; half-points not integer-rounded","max_score":5,"risk":"low","score":0}],"path":"/api/calc/pe_sard"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia":{"description":"Anemia as assigned by the caller (Chopard 2021: hemoglobin <12 g/dL). true scores 2.5. magent does not assay hemoglobin.","type":"boolean"},"renal_dysfunction":{"description":"Renal dysfunction as assigned by the caller (Chopard 2021: GFR <60 mL/min). true scores 1. magent does not compute GFR.","type":"boolean"},"syncope":{"description":"Syncope as assigned by the caller (Chopard 2021). true scores 1.5. magent does not take a syncope history.","type":"boolean"}},"required":["syncope","anemia","renal_dysfunction"],"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":["pe-sard","pulmonary-embolism","bleeding","vte","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:46:28.535Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:46:28.287Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anemia":false,"renal_dysfunction":false,"syncope":false},{"anemia":false,"renal_dysfunction":false,"syncope":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Chopard R, Piazza G, Falvo N, Ecarnot F, Besutti M, Capellier G, Schiele F, Badoz M, Meneveau N","doi":"10.1016/j.chest.2021.06.048","id":"chopard-2021","pmid":"34217683","source":"Chest. 2021;160(5):1832-1843","title":"An Original Risk Score to Predict Early Major Bleeding in Acute Pulmonary Embolism: The Syncope, Anemia, Renal Dysfunction (PE-SARD) Bleeding Score"},"components":[{"factor":"syncope","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"renal_dysfunction","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":"pe_sard","formula_expression":"PE-SARD (Chopard 2021) = syncope (1.5) + anemia Hb<12 g/dL (2.5) + renal_dysfunction GFR<60 (1); max 5; 0 low, 1-2.5 intermediate, >2.5 high; half-points not integer-rounded","max_score":5,"risk":"low","score":0},{"citation":{"authors":"Chopard R, Piazza G, Falvo N, Ecarnot F, Besutti M, Capellier G, Schiele F, Badoz M, Meneveau N","doi":"10.1016/j.chest.2021.06.048","id":"chopard-2021","pmid":"34217683","source":"Chest. 2021;160(5):1832-1843","title":"An Original Risk Score to Predict Early Major Bleeding in Acute Pulmonary Embolism: The Syncope, Anemia, Renal Dysfunction (PE-SARD) Bleeding Score"},"components":[{"factor":"syncope","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"renal_dysfunction","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":"pe_sard","formula_expression":"PE-SARD (Chopard 2021) = syncope (1.5) + anemia Hb<12 g/dL (2.5) + renal_dysfunction GFR<60 (1); max 5; 0 low, 1-2.5 intermediate, >2.5 high; half-points not integer-rounded","max_score":5,"risk":"low","score":0}],"path":"/api/calc/pe_sard"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia":{"description":"Anemia as assigned by the caller (Chopard 2021: hemoglobin <12 g/dL). true scores 2.5. magent does not assay hemoglobin.","type":"boolean"},"renal_dysfunction":{"description":"Renal dysfunction as assigned by the caller (Chopard 2021: GFR <60 mL/min). true scores 1. magent does not compute GFR.","type":"boolean"},"syncope":{"description":"Syncope as assigned by the caller (Chopard 2021). true scores 1.5. magent does not take a syncope history.","type":"boolean"}},"required":["syncope","anemia","renal_dysfunction"],"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},{"id":38975,"slug":"38975","resource":"https://api.magentlab.com/api/calc/pcp_hf","description":"Khan 2019 PCP-HF 10-year incident heart-failure percent for age 30-79 from sex, caller-assigned white or black cohort, treated or untreated systolic BP and fasting glucose, total and HDL cholesterol, BMI, smoking, and QRS duration. Table 2 coefficients. Caller assigns cohort; magent does not assign race. Not PREVENT 2024, not 2013 PCE, not a diagnosis or treatment order. magent does not assay lipids, measure blood pressure, or interpret an ECG.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"antihypertensive":false,"bmi_kg_m2":22,"cohort":"white","diabetes_medication":false,"glucose_mg_dl":90,"hdl_mg_dl":55,"qrs_ms":90,"sbp_mm_hg":120,"sex":"female","smoker":false,"total_cholesterol_mg_dl":180},{"age":50,"antihypertensive":false,"bmi_kg_m2":22,"cohort":"white","diabetes_medication":false,"glucose_mg_dl":90,"hdl_mg_dl":55,"qrs_ms":90,"sbp_mm_hg":120,"sex":"female","smoker":false,"total_cholesterol_mg_dl":180}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"antihypertensive":false,"bmi_kg_m2":22,"citation":{"authors":"Khan SS, Ning H, Shah SJ, Yancy CW, Carnethon M, Berry JD, et al.","doi":"10.1016/j.jacc.2019.02.057","id":"khan-2019-pcp-hf","pmid":"31097157","source":"J Am Coll Cardiol. 2019;73(19):2388-2397","title":"10-Year Risk Equations for Incident Heart Failure in the General Population"},"cohort":"white","diabetes_medication":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":"pcp_hf","formula_expression":"10-year incident HF % = 100*(1-S0**exp(IndX-MeanCV)); Khan 2019 Table 2; Ln=natural log; age 30-79; cohort white|black (caller-assigned paper terms; not param race); antihypertensive true uses treated SBP terms only; diabetes_medication true uses treated glucose terms only (not both); interactions only where Table 2 is not N/A; WHITE MALE: ln_age 41.94, ln_age^2 -0.88, ln_treated_sbp 1.03, ln_untreated_sbp 0.91, smoker 0.74, ln_treated_glucose 0.90, ln_untreated_glucose 0.78, ln_tc 0.49, ln_hdl -0.44, ln_bmi 37.2, ln_age*ln_bmi -8.83, ln_qrs 0.63, MeanCV 171.5, S0 0.98752; WHITE FEMALE: ln_age 20.55, ln_treated_sbp 12.95, ln_age*ln_treated_sbp -2.96, ln_untreated_sbp 11.86, ln_age*ln_untreated_sbp -2.73, smoker 11.02, ln_age*smoker -2.50, ln_treated_glucose 1.04, ln_untreated_glucose 0.91, ln_hdl -0.07, ln_bmi 1.33, ln_qrs 1.06, MeanCV 99.73, S0 0.99348; BLACK MALE: ln_age 2.88, ln_treated_sbp 2.31, ln_untreated_sbp 2.17, smoker 1.66, ln_age*smoker -0.25, ln_treated_glucose 0.64, ln_untreated_glucose 0.58, ln_hdl -0.81, ln_bmi 1.16, ln_qrs 0.73, MeanCV 28.73, S0 0.98295; BLACK FEMALE: ln_age 51.75, ln_treated_sbp 29.0, ln_age*ln_treated_sbp -6.59, ln_untreated_sbp 28.18, ln_age*ln_untreated_sbp -6.42, smoker 0.76, ln_treated_glucose 0.97, ln_untreated_glucose 0.80, ln_tc 0.32, ln_bmi 21.24, ln_age*ln_bmi -5.0, ln_qrs 1.27, MeanCV 233.9, S0 0.99260; round 1 decimal; not PREVENT 2024; not 2013 PCE; not a diagnosis","glucose_mg_dl":90,"hdl_mg_dl":55,"individual_sum":98.7374,"qrs_ms":90,"sbp_mm_hg":120,"sex":"female","smoker":false,"ten_year_hf_percent":0.2,"total_cholesterol_mg_dl":180},{"age":50,"antihypertensive":false,"bmi_kg_m2":22,"citation":{"authors":"Khan SS, Ning H, Shah SJ, Yancy CW, Carnethon M, Berry JD, et al.","doi":"10.1016/j.jacc.2019.02.057","id":"khan-2019-pcp-hf","pmid":"31097157","source":"J Am Coll Cardiol. 2019;73(19):2388-2397","title":"10-Year Risk Equations for Incident Heart Failure in the General Population"},"cohort":"white","diabetes_medication":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":"pcp_hf","formula_expression":"10-year incident HF % = 100*(1-S0**exp(IndX-MeanCV)); Khan 2019 Table 2; Ln=natural log; age 30-79; cohort white|black (caller-assigned paper terms; not param race); antihypertensive true uses treated SBP terms only; diabetes_medication true uses treated glucose terms only (not both); interactions only where Table 2 is not N/A; WHITE MALE: ln_age 41.94, ln_age^2 -0.88, ln_treated_sbp 1.03, ln_untreated_sbp 0.91, smoker 0.74, ln_treated_glucose 0.90, ln_untreated_glucose 0.78, ln_tc 0.49, ln_hdl -0.44, ln_bmi 37.2, ln_age*ln_bmi -8.83, ln_qrs 0.63, MeanCV 171.5, S0 0.98752; WHITE FEMALE: ln_age 20.55, ln_treated_sbp 12.95, ln_age*ln_treated_sbp -2.96, ln_untreated_sbp 11.86, ln_age*ln_untreated_sbp -2.73, smoker 11.02, ln_age*smoker -2.50, ln_treated_glucose 1.04, ln_untreated_glucose 0.91, ln_hdl -0.07, ln_bmi 1.33, ln_qrs 1.06, MeanCV 99.73, S0 0.99348; BLACK MALE: ln_age 2.88, ln_treated_sbp 2.31, ln_untreated_sbp 2.17, smoker 1.66, ln_age*smoker -0.25, ln_treated_glucose 0.64, ln_untreated_glucose 0.58, ln_hdl -0.81, ln_bmi 1.16, ln_qrs 0.73, MeanCV 28.73, S0 0.98295; BLACK FEMALE: ln_age 51.75, ln_treated_sbp 29.0, ln_age*ln_treated_sbp -6.59, ln_untreated_sbp 28.18, ln_age*ln_untreated_sbp -6.42, smoker 0.76, ln_treated_glucose 0.97, ln_untreated_glucose 0.80, ln_tc 0.32, ln_bmi 21.24, ln_age*ln_bmi -5.0, ln_qrs 1.27, MeanCV 233.9, S0 0.99260; round 1 decimal; not PREVENT 2024; not 2013 PCE; not a diagnosis","glucose_mg_dl":90,"hdl_mg_dl":55,"individual_sum":98.7374,"qrs_ms":90,"sbp_mm_hg":120,"sex":"female","smoker":false,"ten_year_hf_percent":0.2,"total_cholesterol_mg_dl":180}],"path":"/api/calc/pcp_hf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 30-79). Khan 2019 Table 2 10-year incident HF is for ages 30-79. magent does not take a date of birth.","type":"integer"},"antihypertensive":{"description":"Current antihypertensive treatment as assigned by the caller (true or false). true uses the Table 2 treated-SBP coefficient (and age × treated SBP when that cell is not N/A). false uses untreated SBP. Not both.","type":"boolean"},"bmi_kg_m2":{"description":"Body-mass index in kg/m2 (10-80). Enters as ln(BMI) and ln(age)×ln(BMI) when that Table 2 cell is not N/A. magent does not measure height or weight.","type":"number"},"cohort":{"description":"Caller-assigned cohort as used in Khan 2019 Table 2: white or black (paper terms). Not param race. magent does not assign race or ethnicity. Other strings are rejected.","enum":["white","black"],"type":"string"},"diabetes_medication":{"description":"Current diabetes medication as assigned by the caller (true or false). true uses the Table 2 treated-glucose coefficient. false uses untreated glucose. Not both.","type":"boolean"},"glucose_mg_dl":{"description":"Fasting glucose in mg/dL (40-600). Enters as ln(glucose) with the treated or untreated Table 2 coefficient according to diabetes_medication. magent does not assay glucose.","type":"number"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Enters as ln(HDL-C) when that Table 2 cell is not N/A. magent does not assay lipids.","type":"number"},"qrs_ms":{"description":"QRS duration in ms (40-300). Enters as ln(QRS). magent does not interpret an ECG.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Enters as ln(SBP) with the treated or untreated Table 2 coefficient according to antihypertensive. magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the sex-specific Table 2 coefficients (female or male). Not cohort.","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (true or false). Adds the Table 2 smoker term and ln(age) × smoker when that cell is not N/A. magent does not take a smoking history.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Enters as ln(total cholesterol) when that Table 2 cell is not N/A. magent does not assay lipids.","type":"number"}},"required":["age","sex","cohort","sbp_mm_hg","antihypertensive","glucose_mg_dl","diabetes_medication","bmi_kg_m2","total_cholesterol_mg_dl","hdl_mg_dl","smoker","qrs_ms"],"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":["pcp-hf","heart-failure","hemodynamics","cvd-risk","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:46:23.258Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:46:22.797Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"antihypertensive":false,"bmi_kg_m2":22,"cohort":"white","diabetes_medication":false,"glucose_mg_dl":90,"hdl_mg_dl":55,"qrs_ms":90,"sbp_mm_hg":120,"sex":"female","smoker":false,"total_cholesterol_mg_dl":180},{"age":50,"antihypertensive":false,"bmi_kg_m2":22,"cohort":"white","diabetes_medication":false,"glucose_mg_dl":90,"hdl_mg_dl":55,"qrs_ms":90,"sbp_mm_hg":120,"sex":"female","smoker":false,"total_cholesterol_mg_dl":180}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"antihypertensive":false,"bmi_kg_m2":22,"citation":{"authors":"Khan SS, Ning H, Shah SJ, Yancy CW, Carnethon M, Berry JD, et al.","doi":"10.1016/j.jacc.2019.02.057","id":"khan-2019-pcp-hf","pmid":"31097157","source":"J Am Coll Cardiol. 2019;73(19):2388-2397","title":"10-Year Risk Equations for Incident Heart Failure in the General Population"},"cohort":"white","diabetes_medication":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":"pcp_hf","formula_expression":"10-year incident HF % = 100*(1-S0**exp(IndX-MeanCV)); Khan 2019 Table 2; Ln=natural log; age 30-79; cohort white|black (caller-assigned paper terms; not param race); antihypertensive true uses treated SBP terms only; diabetes_medication true uses treated glucose terms only (not both); interactions only where Table 2 is not N/A; WHITE MALE: ln_age 41.94, ln_age^2 -0.88, ln_treated_sbp 1.03, ln_untreated_sbp 0.91, smoker 0.74, ln_treated_glucose 0.90, ln_untreated_glucose 0.78, ln_tc 0.49, ln_hdl -0.44, ln_bmi 37.2, ln_age*ln_bmi -8.83, ln_qrs 0.63, MeanCV 171.5, S0 0.98752; WHITE FEMALE: ln_age 20.55, ln_treated_sbp 12.95, ln_age*ln_treated_sbp -2.96, ln_untreated_sbp 11.86, ln_age*ln_untreated_sbp -2.73, smoker 11.02, ln_age*smoker -2.50, ln_treated_glucose 1.04, ln_untreated_glucose 0.91, ln_hdl -0.07, ln_bmi 1.33, ln_qrs 1.06, MeanCV 99.73, S0 0.99348; BLACK MALE: ln_age 2.88, ln_treated_sbp 2.31, ln_untreated_sbp 2.17, smoker 1.66, ln_age*smoker -0.25, ln_treated_glucose 0.64, ln_untreated_glucose 0.58, ln_hdl -0.81, ln_bmi 1.16, ln_qrs 0.73, MeanCV 28.73, S0 0.98295; BLACK FEMALE: ln_age 51.75, ln_treated_sbp 29.0, ln_age*ln_treated_sbp -6.59, ln_untreated_sbp 28.18, ln_age*ln_untreated_sbp -6.42, smoker 0.76, ln_treated_glucose 0.97, ln_untreated_glucose 0.80, ln_tc 0.32, ln_bmi 21.24, ln_age*ln_bmi -5.0, ln_qrs 1.27, MeanCV 233.9, S0 0.99260; round 1 decimal; not PREVENT 2024; not 2013 PCE; not a diagnosis","glucose_mg_dl":90,"hdl_mg_dl":55,"individual_sum":98.7374,"qrs_ms":90,"sbp_mm_hg":120,"sex":"female","smoker":false,"ten_year_hf_percent":0.2,"total_cholesterol_mg_dl":180},{"age":50,"antihypertensive":false,"bmi_kg_m2":22,"citation":{"authors":"Khan SS, Ning H, Shah SJ, Yancy CW, Carnethon M, Berry JD, et al.","doi":"10.1016/j.jacc.2019.02.057","id":"khan-2019-pcp-hf","pmid":"31097157","source":"J Am Coll Cardiol. 2019;73(19):2388-2397","title":"10-Year Risk Equations for Incident Heart Failure in the General Population"},"cohort":"white","diabetes_medication":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":"pcp_hf","formula_expression":"10-year incident HF % = 100*(1-S0**exp(IndX-MeanCV)); Khan 2019 Table 2; Ln=natural log; age 30-79; cohort white|black (caller-assigned paper terms; not param race); antihypertensive true uses treated SBP terms only; diabetes_medication true uses treated glucose terms only (not both); interactions only where Table 2 is not N/A; WHITE MALE: ln_age 41.94, ln_age^2 -0.88, ln_treated_sbp 1.03, ln_untreated_sbp 0.91, smoker 0.74, ln_treated_glucose 0.90, ln_untreated_glucose 0.78, ln_tc 0.49, ln_hdl -0.44, ln_bmi 37.2, ln_age*ln_bmi -8.83, ln_qrs 0.63, MeanCV 171.5, S0 0.98752; WHITE FEMALE: ln_age 20.55, ln_treated_sbp 12.95, ln_age*ln_treated_sbp -2.96, ln_untreated_sbp 11.86, ln_age*ln_untreated_sbp -2.73, smoker 11.02, ln_age*smoker -2.50, ln_treated_glucose 1.04, ln_untreated_glucose 0.91, ln_hdl -0.07, ln_bmi 1.33, ln_qrs 1.06, MeanCV 99.73, S0 0.99348; BLACK MALE: ln_age 2.88, ln_treated_sbp 2.31, ln_untreated_sbp 2.17, smoker 1.66, ln_age*smoker -0.25, ln_treated_glucose 0.64, ln_untreated_glucose 0.58, ln_hdl -0.81, ln_bmi 1.16, ln_qrs 0.73, MeanCV 28.73, S0 0.98295; BLACK FEMALE: ln_age 51.75, ln_treated_sbp 29.0, ln_age*ln_treated_sbp -6.59, ln_untreated_sbp 28.18, ln_age*ln_untreated_sbp -6.42, smoker 0.76, ln_treated_glucose 0.97, ln_untreated_glucose 0.80, ln_tc 0.32, ln_bmi 21.24, ln_age*ln_bmi -5.0, ln_qrs 1.27, MeanCV 233.9, S0 0.99260; round 1 decimal; not PREVENT 2024; not 2013 PCE; not a diagnosis","glucose_mg_dl":90,"hdl_mg_dl":55,"individual_sum":98.7374,"qrs_ms":90,"sbp_mm_hg":120,"sex":"female","smoker":false,"ten_year_hf_percent":0.2,"total_cholesterol_mg_dl":180}],"path":"/api/calc/pcp_hf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 30-79). Khan 2019 Table 2 10-year incident HF is for ages 30-79. magent does not take a date of birth.","type":"integer"},"antihypertensive":{"description":"Current antihypertensive treatment as assigned by the caller (true or false). true uses the Table 2 treated-SBP coefficient (and age × treated SBP when that cell is not N/A). false uses untreated SBP. Not both.","type":"boolean"},"bmi_kg_m2":{"description":"Body-mass index in kg/m2 (10-80). Enters as ln(BMI) and ln(age)×ln(BMI) when that Table 2 cell is not N/A. magent does not measure height or weight.","type":"number"},"cohort":{"description":"Caller-assigned cohort as used in Khan 2019 Table 2: white or black (paper terms). Not param race. magent does not assign race or ethnicity. Other strings are rejected.","enum":["white","black"],"type":"string"},"diabetes_medication":{"description":"Current diabetes medication as assigned by the caller (true or false). true uses the Table 2 treated-glucose coefficient. false uses untreated glucose. Not both.","type":"boolean"},"glucose_mg_dl":{"description":"Fasting glucose in mg/dL (40-600). Enters as ln(glucose) with the treated or untreated Table 2 coefficient according to diabetes_medication. magent does not assay glucose.","type":"number"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Enters as ln(HDL-C) when that Table 2 cell is not N/A. magent does not assay lipids.","type":"number"},"qrs_ms":{"description":"QRS duration in ms (40-300). Enters as ln(QRS). magent does not interpret an ECG.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Enters as ln(SBP) with the treated or untreated Table 2 coefficient according to antihypertensive. magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the sex-specific Table 2 coefficients (female or male). Not cohort.","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (true or false). Adds the Table 2 smoker term and ln(age) × smoker when that cell is not N/A. magent does not take a smoking history.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Enters as ln(total cholesterol) when that Table 2 cell is not N/A. magent does not assay lipids.","type":"number"}},"required":["age","sex","cohort","sbp_mm_hg","antihypertensive","glucose_mg_dl","diabetes_medication","bmi_kg_m2","total_cholesterol_mg_dl","hdl_mg_dl","smoker","qrs_ms"],"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},{"id":38976,"slug":"38976","resource":"https://api.magentlab.com/api/calc/pcdai","description":"Hyams 1991 Pediatric Crohn's Disease Activity Index (PCDAI): eleven caller-assigned item points. hematocrit and esr are 0, 2.5, or 5; the other nine are 0, 5, or 10. magent sums only (max 100) and does not return activity bands. magent does not examine the child or assign hematocrit age/sex tables. Not a diagnosis. Not CDAI, SES-CD, or PUCAI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abdomen":0,"abdominal_pain":0,"albumin":0,"esr":0,"extra_intestinal":0,"height":0,"hematocrit":0,"perirectal":0,"stools":0,"weight":0,"well_being":0},{"abdomen":0,"abdominal_pain":0,"albumin":0,"esr":0,"extra_intestinal":0,"height":0,"hematocrit":0,"perirectal":0,"stools":0,"weight":0,"well_being":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abdomen":0,"abdominal_pain":0,"albumin":0,"citation":{"authors":"Hyams JS, Ferry GD, Mandel FS, et al.","doi":"10.1097/00005176-199105000-00001","id":"hyams-1991","pmid":"1678008","source":"J Pediatr Gastroenterol Nutr. 1991;12(4):439-447","title":"Development and validation of a pediatric Crohn's disease activity index"},"components":[{"factor":"abdominal_pain","points":0,"present":true,"value":0},{"factor":"stools","points":0,"present":true,"value":0},{"factor":"well_being","points":0,"present":true,"value":0},{"factor":"hematocrit","points":0,"present":true,"value":0},{"factor":"esr","points":0,"present":true,"value":0},{"factor":"albumin","points":0,"present":true,"value":0},{"factor":"weight","points":0,"present":true,"value":0},{"factor":"height","points":0,"present":true,"value":0},{"factor":"abdomen","points":0,"present":true,"value":0},{"factor":"perirectal","points":0,"present":true,"value":0},{"factor":"extra_intestinal","points":0,"present":true,"value":0}],"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.","esr":0,"extra_intestinal":0,"formula":"pcdai","formula_expression":"PCDAI = abdominal_pain + stools + well_being + hematocrit + esr + albumin + weight + height + abdomen + perirectal + extra_intestinal; Hyams 1991 caller-assigned item points; hematocrit and esr 0, 2.5, or 5; remaining items 0, 5, or 10; max 100; no published activity bands","height":0,"hematocrit":0,"max_score":100,"perirectal":0,"score":0,"stools":0,"weight":0,"well_being":0},{"abdomen":0,"abdominal_pain":0,"albumin":0,"citation":{"authors":"Hyams JS, Ferry GD, Mandel FS, et al.","doi":"10.1097/00005176-199105000-00001","id":"hyams-1991","pmid":"1678008","source":"J Pediatr Gastroenterol Nutr. 1991;12(4):439-447","title":"Development and validation of a pediatric Crohn's disease activity index"},"components":[{"factor":"abdominal_pain","points":0,"present":true,"value":0},{"factor":"stools","points":0,"present":true,"value":0},{"factor":"well_being","points":0,"present":true,"value":0},{"factor":"hematocrit","points":0,"present":true,"value":0},{"factor":"esr","points":0,"present":true,"value":0},{"factor":"albumin","points":0,"present":true,"value":0},{"factor":"weight","points":0,"present":true,"value":0},{"factor":"height","points":0,"present":true,"value":0},{"factor":"abdomen","points":0,"present":true,"value":0},{"factor":"perirectal","points":0,"present":true,"value":0},{"factor":"extra_intestinal","points":0,"present":true,"value":0}],"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.","esr":0,"extra_intestinal":0,"formula":"pcdai","formula_expression":"PCDAI = abdominal_pain + stools + well_being + hematocrit + esr + albumin + weight + height + abdomen + perirectal + extra_intestinal; Hyams 1991 caller-assigned item points; hematocrit and esr 0, 2.5, or 5; remaining items 0, 5, or 10; max 100; no published activity bands","height":0,"hematocrit":0,"max_score":100,"perirectal":0,"score":0,"stools":0,"weight":0,"well_being":0}],"path":"/api/calc/pcdai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdomen":{"description":"Caller-assigned Hyams 1991 PCDAI abdomen points (integer 0, 5, or 10): 0 no tenderness, no mass; 5 tenderness, or mass without tenderness; 10 tenderness, involuntary guarding, definite mass. magent does not examine the child.","type":"integer"},"abdominal_pain":{"description":"Caller-assigned Hyams 1991 PCDAI abdominal pain points (integer 0, 5, or 10): 0 none; 5 mild (brief, does not interfere with activities); 10 moderate/severe (daily, longer lasting, affects activities, nocturnal). magent does not examine the child.","type":"integer"},"albumin":{"description":"Caller-assigned Hyams 1991 PCDAI albumin points (integer 0, 5, or 10): 0 for albumin ≥3.5 g/dL; 5 for 3.1-3.4; 10 for ≤3.0. magent does not assay albumin. magent does not examine the child.","type":"integer"},"esr":{"description":"Caller-assigned Hyams 1991 PCDAI erythrocyte sedimentation rate points (number 0, 2.5, or 5): 0 for ESR <20 mm/h; 2.5 for 20-50; 5 for >50. magent does not assay ESR. magent does not examine the child.","type":"number"},"extra_intestinal":{"description":"Caller-assigned Hyams 1991 PCDAI extra-intestinal manifestation points (integer 0, 5, or 10): 0 none; 5 one; 10 two or more (fever ≥38.5°C for 3 days over the past week, arthritis, uveitis, erythema nodosum, pyoderma gangrenosum). magent does not examine the child.","type":"integer"},"height":{"description":"Caller-assigned Hyams 1991 PCDAI height points (integer 0, 5, or 10): at diagnosis 0 <1 channel decrease, 5 ≥1 and <2 channel decrease, 10 ≥2 channel decrease; at follow-up 0 height velocity ≥-1 SD, 5 <-1 SD and >-2 SD, 10 ≤-2 SD. magent does not measure height. magent does not examine the child.","type":"integer"},"hematocrit":{"description":"Caller-assigned Hyams 1991 PCDAI hematocrit points (number 0, 2.5, or 5). The paper's age- and sex-specific hematocrit table is applied by the caller. magent does not assign that table. magent does not examine the child.","type":"number"},"perirectal":{"description":"Caller-assigned Hyams 1991 PCDAI perirectal disease points (integer 0, 5, or 10): 0 none, asymptomatic tags; 5 1-2 indolent fistula, scant drainage, no tenderness; 10 active fistula, drainage, tenderness, or abscess. magent does not examine the child.","type":"integer"},"stools":{"description":"Caller-assigned Hyams 1991 PCDAI stools per day points (integer 0, 5, or 10): 0 for 0-1 liquid stools, no blood; 5 for up to 2 semi-formed with small blood, or 2-5 liquid; 10 for gross bleeding, or ≥6 liquid, or nocturnal diarrhea. magent does not examine the child.","type":"integer"},"weight":{"description":"Caller-assigned Hyams 1991 PCDAI weight points (integer 0, 5, or 10): 0 weight gain or voluntary stable/loss; 5 involuntary stable or weight loss 1-9%; 10 weight loss ≥10%. magent does not examine the child.","type":"integer"},"well_being":{"description":"Caller-assigned Hyams 1991 PCDAI patient functioning / general well-being points (integer 0, 5, or 10): 0 no limitation of activities, well; 5 occasional difficulty in maintaining age-appropriate activities; 10 frequent limitation of activities, very poor. magent does not examine the child.","type":"integer"}},"required":["abdominal_pain","stools","well_being","hematocrit","esr","albumin","weight","height","abdomen","perirectal","extra_intestinal"],"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":["pcdai","crohns","pediatric","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:36:34.113Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:36:33.994Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abdomen":0,"abdominal_pain":0,"albumin":0,"esr":0,"extra_intestinal":0,"height":0,"hematocrit":0,"perirectal":0,"stools":0,"weight":0,"well_being":0},{"abdomen":0,"abdominal_pain":0,"albumin":0,"esr":0,"extra_intestinal":0,"height":0,"hematocrit":0,"perirectal":0,"stools":0,"weight":0,"well_being":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abdomen":0,"abdominal_pain":0,"albumin":0,"citation":{"authors":"Hyams JS, Ferry GD, Mandel FS, et al.","doi":"10.1097/00005176-199105000-00001","id":"hyams-1991","pmid":"1678008","source":"J Pediatr Gastroenterol Nutr. 1991;12(4):439-447","title":"Development and validation of a pediatric Crohn's disease activity index"},"components":[{"factor":"abdominal_pain","points":0,"present":true,"value":0},{"factor":"stools","points":0,"present":true,"value":0},{"factor":"well_being","points":0,"present":true,"value":0},{"factor":"hematocrit","points":0,"present":true,"value":0},{"factor":"esr","points":0,"present":true,"value":0},{"factor":"albumin","points":0,"present":true,"value":0},{"factor":"weight","points":0,"present":true,"value":0},{"factor":"height","points":0,"present":true,"value":0},{"factor":"abdomen","points":0,"present":true,"value":0},{"factor":"perirectal","points":0,"present":true,"value":0},{"factor":"extra_intestinal","points":0,"present":true,"value":0}],"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.","esr":0,"extra_intestinal":0,"formula":"pcdai","formula_expression":"PCDAI = abdominal_pain + stools + well_being + hematocrit + esr + albumin + weight + height + abdomen + perirectal + extra_intestinal; Hyams 1991 caller-assigned item points; hematocrit and esr 0, 2.5, or 5; remaining items 0, 5, or 10; max 100; no published activity bands","height":0,"hematocrit":0,"max_score":100,"perirectal":0,"score":0,"stools":0,"weight":0,"well_being":0},{"abdomen":0,"abdominal_pain":0,"albumin":0,"citation":{"authors":"Hyams JS, Ferry GD, Mandel FS, et al.","doi":"10.1097/00005176-199105000-00001","id":"hyams-1991","pmid":"1678008","source":"J Pediatr Gastroenterol Nutr. 1991;12(4):439-447","title":"Development and validation of a pediatric Crohn's disease activity index"},"components":[{"factor":"abdominal_pain","points":0,"present":true,"value":0},{"factor":"stools","points":0,"present":true,"value":0},{"factor":"well_being","points":0,"present":true,"value":0},{"factor":"hematocrit","points":0,"present":true,"value":0},{"factor":"esr","points":0,"present":true,"value":0},{"factor":"albumin","points":0,"present":true,"value":0},{"factor":"weight","points":0,"present":true,"value":0},{"factor":"height","points":0,"present":true,"value":0},{"factor":"abdomen","points":0,"present":true,"value":0},{"factor":"perirectal","points":0,"present":true,"value":0},{"factor":"extra_intestinal","points":0,"present":true,"value":0}],"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.","esr":0,"extra_intestinal":0,"formula":"pcdai","formula_expression":"PCDAI = abdominal_pain + stools + well_being + hematocrit + esr + albumin + weight + height + abdomen + perirectal + extra_intestinal; Hyams 1991 caller-assigned item points; hematocrit and esr 0, 2.5, or 5; remaining items 0, 5, or 10; max 100; no published activity bands","height":0,"hematocrit":0,"max_score":100,"perirectal":0,"score":0,"stools":0,"weight":0,"well_being":0}],"path":"/api/calc/pcdai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdomen":{"description":"Caller-assigned Hyams 1991 PCDAI abdomen points (integer 0, 5, or 10): 0 no tenderness, no mass; 5 tenderness, or mass without tenderness; 10 tenderness, involuntary guarding, definite mass. magent does not examine the child.","type":"integer"},"abdominal_pain":{"description":"Caller-assigned Hyams 1991 PCDAI abdominal pain points (integer 0, 5, or 10): 0 none; 5 mild (brief, does not interfere with activities); 10 moderate/severe (daily, longer lasting, affects activities, nocturnal). magent does not examine the child.","type":"integer"},"albumin":{"description":"Caller-assigned Hyams 1991 PCDAI albumin points (integer 0, 5, or 10): 0 for albumin ≥3.5 g/dL; 5 for 3.1-3.4; 10 for ≤3.0. magent does not assay albumin. magent does not examine the child.","type":"integer"},"esr":{"description":"Caller-assigned Hyams 1991 PCDAI erythrocyte sedimentation rate points (number 0, 2.5, or 5): 0 for ESR <20 mm/h; 2.5 for 20-50; 5 for >50. magent does not assay ESR. magent does not examine the child.","type":"number"},"extra_intestinal":{"description":"Caller-assigned Hyams 1991 PCDAI extra-intestinal manifestation points (integer 0, 5, or 10): 0 none; 5 one; 10 two or more (fever ≥38.5°C for 3 days over the past week, arthritis, uveitis, erythema nodosum, pyoderma gangrenosum). magent does not examine the child.","type":"integer"},"height":{"description":"Caller-assigned Hyams 1991 PCDAI height points (integer 0, 5, or 10): at diagnosis 0 <1 channel decrease, 5 ≥1 and <2 channel decrease, 10 ≥2 channel decrease; at follow-up 0 height velocity ≥-1 SD, 5 <-1 SD and >-2 SD, 10 ≤-2 SD. magent does not measure height. magent does not examine the child.","type":"integer"},"hematocrit":{"description":"Caller-assigned Hyams 1991 PCDAI hematocrit points (number 0, 2.5, or 5). The paper's age- and sex-specific hematocrit table is applied by the caller. magent does not assign that table. magent does not examine the child.","type":"number"},"perirectal":{"description":"Caller-assigned Hyams 1991 PCDAI perirectal disease points (integer 0, 5, or 10): 0 none, asymptomatic tags; 5 1-2 indolent fistula, scant drainage, no tenderness; 10 active fistula, drainage, tenderness, or abscess. magent does not examine the child.","type":"integer"},"stools":{"description":"Caller-assigned Hyams 1991 PCDAI stools per day points (integer 0, 5, or 10): 0 for 0-1 liquid stools, no blood; 5 for up to 2 semi-formed with small blood, or 2-5 liquid; 10 for gross bleeding, or ≥6 liquid, or nocturnal diarrhea. magent does not examine the child.","type":"integer"},"weight":{"description":"Caller-assigned Hyams 1991 PCDAI weight points (integer 0, 5, or 10): 0 weight gain or voluntary stable/loss; 5 involuntary stable or weight loss 1-9%; 10 weight loss ≥10%. magent does not examine the child.","type":"integer"},"well_being":{"description":"Caller-assigned Hyams 1991 PCDAI patient functioning / general well-being points (integer 0, 5, or 10): 0 no limitation of activities, well; 5 occasional difficulty in maintaining age-appropriate activities; 10 frequent limitation of activities, very poor. magent does not examine the child.","type":"integer"}},"required":["abdominal_pain","stools","well_being","hematocrit","esr","albumin","weight","height","abdomen","perirectal","extra_intestinal"],"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},{"id":38977,"slug":"38977","resource":"https://api.magentlab.com/api/calc/pc_ptsd_5","description":"Prins 2016 PC-PTSD-5: caller-assigned lifetime trauma-exposure gate plus five past-month yes/no items (nightmare/intrusion, avoidance, hypervigilance/startle, numbing/detachment, guilt/blame). Score 0 if trauma_exposure is false (items required but not counted). If true, each yes is 1 (max 5). Sensitive screen at ≥3. Not a PTSD diagnosis or medical device. magent does not interview.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"avoidance":false,"guilt_or_blame":false,"hypervigilance_or_startle":false,"nightmare_or_intrusion":false,"numbing_or_detachment":false,"trauma_exposure":false},{"avoidance":false,"guilt_or_blame":false,"hypervigilance_or_startle":false,"nightmare_or_intrusion":false,"numbing_or_detachment":false,"trauma_exposure":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"at_or_above_sensitive_cutoff":false,"citation":{"authors":"Prins A, Bovin MJ, Smolenski DJ, Marx BP, Kimerling R, Jenkins-Guarnieri MA, Kaloupek DG, Schnurr PP, Pless Kaiser A, Leyva YE, Tiet QQ","doi":"10.1007/s11606-016-3703-5","id":"prins-2016","pmid":"27170304","source":"J Gen Intern Med. 2016;31(10):1206-1211","title":"The Primary Care PTSD Screen for DSM-5 (PC-PTSD-5): Development and Evaluation Within a Veteran Primary Care Sample"},"components":[{"factor":"nightmare_or_intrusion","points":0,"present":false},{"factor":"avoidance","points":0,"present":false},{"factor":"hypervigilance_or_startle","points":0,"present":false},{"factor":"numbing_or_detachment","points":0,"present":false},{"factor":"guilt_or_blame","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":"pc_ptsd_5","formula_expression":"If trauma_exposure is false, PC-PTSD-5 = 0 (five past-month items are required but not counted). If trauma_exposure is true, PC-PTSD-5 = nightmare_or_intrusion + avoidance + hypervigilance_or_startle + numbing_or_detachment + guilt_or_blame; each 1 if true; max 5; at_or_above_sensitive_cutoff iff score ≥ 3 (Prins 2016 optimally sensitive cut; 4 maximized efficiency; 5 maximized specificity)","max_score":5,"score":0,"trauma_exposure":false},{"at_or_above_sensitive_cutoff":false,"citation":{"authors":"Prins A, Bovin MJ, Smolenski DJ, Marx BP, Kimerling R, Jenkins-Guarnieri MA, Kaloupek DG, Schnurr PP, Pless Kaiser A, Leyva YE, Tiet QQ","doi":"10.1007/s11606-016-3703-5","id":"prins-2016","pmid":"27170304","source":"J Gen Intern Med. 2016;31(10):1206-1211","title":"The Primary Care PTSD Screen for DSM-5 (PC-PTSD-5): Development and Evaluation Within a Veteran Primary Care Sample"},"components":[{"factor":"nightmare_or_intrusion","points":0,"present":false},{"factor":"avoidance","points":0,"present":false},{"factor":"hypervigilance_or_startle","points":0,"present":false},{"factor":"numbing_or_detachment","points":0,"present":false},{"factor":"guilt_or_blame","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":"pc_ptsd_5","formula_expression":"If trauma_exposure is false, PC-PTSD-5 = 0 (five past-month items are required but not counted). If trauma_exposure is true, PC-PTSD-5 = nightmare_or_intrusion + avoidance + hypervigilance_or_startle + numbing_or_detachment + guilt_or_blame; each 1 if true; max 5; at_or_above_sensitive_cutoff iff score ≥ 3 (Prins 2016 optimally sensitive cut; 4 maximized efficiency; 5 maximized specificity)","max_score":5,"score":0,"trauma_exposure":false}],"path":"/api/calc/pc_ptsd_5"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"avoidance":{"description":"In the past month, tried hard not to think about the event(s) or went out of the way to avoid situations that reminded of the event(s) (Prins 2016). true or false as assigned by the caller. Counted only when trauma_exposure is true. magent does not interview the patient.","type":"boolean"},"guilt_or_blame":{"description":"In the past month, felt guilty or unable to stop blaming self or others for the event(s) or problems the event(s) may have caused (Prins 2016). true or false as assigned by the caller. Counted only when trauma_exposure is true. magent does not interview the patient.","type":"boolean"},"hypervigilance_or_startle":{"description":"In the past month, constantly on guard, watchful, or easily startled (Prins 2016). true or false as assigned by the caller. Counted only when trauma_exposure is true. magent does not interview the patient.","type":"boolean"},"nightmare_or_intrusion":{"description":"In the past month, nightmares about the event(s) or unwanted thoughts of the event(s) (Prins 2016). true or false as assigned by the caller. Counted only when trauma_exposure is true. magent does not interview the patient.","type":"boolean"},"numbing_or_detachment":{"description":"In the past month, felt numb or detached from people, activities, or surroundings (Prins 2016). true or false as assigned by the caller. Counted only when trauma_exposure is true. magent does not interview the patient.","type":"boolean"},"trauma_exposure":{"description":"Caller-assigned Prins 2016 lifetime trauma-exposure gate: whether an unusually or especially frightening, horrible, or traumatic event has ever been experienced (examples in that paper include a serious accident or fire, physical or sexual assault or abuse, earthquake or flood, war, seeing someone killed or seriously injured, or a loved one dying by homicide or suicide). true or false. If false, the five past-month items are not counted (score is 0) but remain required. magent does not interview the patient.","type":"boolean"}},"required":["trauma_exposure","nightmare_or_intrusion","avoidance","hypervigilance_or_startle","numbing_or_detachment","guilt_or_blame"],"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":["pc-ptsd-5","ptsd-screen","dsm-5","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:36:31.975Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:36:31.858Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"avoidance":false,"guilt_or_blame":false,"hypervigilance_or_startle":false,"nightmare_or_intrusion":false,"numbing_or_detachment":false,"trauma_exposure":false},{"avoidance":false,"guilt_or_blame":false,"hypervigilance_or_startle":false,"nightmare_or_intrusion":false,"numbing_or_detachment":false,"trauma_exposure":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"at_or_above_sensitive_cutoff":false,"citation":{"authors":"Prins A, Bovin MJ, Smolenski DJ, Marx BP, Kimerling R, Jenkins-Guarnieri MA, Kaloupek DG, Schnurr PP, Pless Kaiser A, Leyva YE, Tiet QQ","doi":"10.1007/s11606-016-3703-5","id":"prins-2016","pmid":"27170304","source":"J Gen Intern Med. 2016;31(10):1206-1211","title":"The Primary Care PTSD Screen for DSM-5 (PC-PTSD-5): Development and Evaluation Within a Veteran Primary Care Sample"},"components":[{"factor":"nightmare_or_intrusion","points":0,"present":false},{"factor":"avoidance","points":0,"present":false},{"factor":"hypervigilance_or_startle","points":0,"present":false},{"factor":"numbing_or_detachment","points":0,"present":false},{"factor":"guilt_or_blame","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":"pc_ptsd_5","formula_expression":"If trauma_exposure is false, PC-PTSD-5 = 0 (five past-month items are required but not counted). If trauma_exposure is true, PC-PTSD-5 = nightmare_or_intrusion + avoidance + hypervigilance_or_startle + numbing_or_detachment + guilt_or_blame; each 1 if true; max 5; at_or_above_sensitive_cutoff iff score ≥ 3 (Prins 2016 optimally sensitive cut; 4 maximized efficiency; 5 maximized specificity)","max_score":5,"score":0,"trauma_exposure":false},{"at_or_above_sensitive_cutoff":false,"citation":{"authors":"Prins A, Bovin MJ, Smolenski DJ, Marx BP, Kimerling R, Jenkins-Guarnieri MA, Kaloupek DG, Schnurr PP, Pless Kaiser A, Leyva YE, Tiet QQ","doi":"10.1007/s11606-016-3703-5","id":"prins-2016","pmid":"27170304","source":"J Gen Intern Med. 2016;31(10):1206-1211","title":"The Primary Care PTSD Screen for DSM-5 (PC-PTSD-5): Development and Evaluation Within a Veteran Primary Care Sample"},"components":[{"factor":"nightmare_or_intrusion","points":0,"present":false},{"factor":"avoidance","points":0,"present":false},{"factor":"hypervigilance_or_startle","points":0,"present":false},{"factor":"numbing_or_detachment","points":0,"present":false},{"factor":"guilt_or_blame","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":"pc_ptsd_5","formula_expression":"If trauma_exposure is false, PC-PTSD-5 = 0 (five past-month items are required but not counted). If trauma_exposure is true, PC-PTSD-5 = nightmare_or_intrusion + avoidance + hypervigilance_or_startle + numbing_or_detachment + guilt_or_blame; each 1 if true; max 5; at_or_above_sensitive_cutoff iff score ≥ 3 (Prins 2016 optimally sensitive cut; 4 maximized efficiency; 5 maximized specificity)","max_score":5,"score":0,"trauma_exposure":false}],"path":"/api/calc/pc_ptsd_5"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"avoidance":{"description":"In the past month, tried hard not to think about the event(s) or went out of the way to avoid situations that reminded of the event(s) (Prins 2016). true or false as assigned by the caller. Counted only when trauma_exposure is true. magent does not interview the patient.","type":"boolean"},"guilt_or_blame":{"description":"In the past month, felt guilty or unable to stop blaming self or others for the event(s) or problems the event(s) may have caused (Prins 2016). true or false as assigned by the caller. Counted only when trauma_exposure is true. magent does not interview the patient.","type":"boolean"},"hypervigilance_or_startle":{"description":"In the past month, constantly on guard, watchful, or easily startled (Prins 2016). true or false as assigned by the caller. Counted only when trauma_exposure is true. magent does not interview the patient.","type":"boolean"},"nightmare_or_intrusion":{"description":"In the past month, nightmares about the event(s) or unwanted thoughts of the event(s) (Prins 2016). true or false as assigned by the caller. Counted only when trauma_exposure is true. magent does not interview the patient.","type":"boolean"},"numbing_or_detachment":{"description":"In the past month, felt numb or detached from people, activities, or surroundings (Prins 2016). true or false as assigned by the caller. Counted only when trauma_exposure is true. magent does not interview the patient.","type":"boolean"},"trauma_exposure":{"description":"Caller-assigned Prins 2016 lifetime trauma-exposure gate: whether an unusually or especially frightening, horrible, or traumatic event has ever been experienced (examples in that paper include a serious accident or fire, physical or sexual assault or abuse, earthquake or flood, war, seeing someone killed or seriously injured, or a loved one dying by homicide or suicide). true or false. If false, the five past-month items are not counted (score is 0) but remain required. magent does not interview the patient.","type":"boolean"}},"required":["trauma_exposure","nightmare_or_intrusion","avoidance","hypervigilance_or_startle","numbing_or_detachment","guilt_or_blame"],"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},{"id":38978,"slug":"38978","resource":"https://api.magentlab.com/api/calc/pawss","description":"Maldonado 2014 PAWSS. Required 0-point threshold (any alcohol in the last 30 days or positive BAL on admission): if false, score 0 and band outside_window even if other flags are true. If true, ten yes/no items score 1 each (max 10); 0-3 low, >=4 high risk for complicated alcohol withdrawal. Not a diagnosis or prophylaxis order. magent does not interview the patient or measure BAL.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"alcohol_last_30d_or_positive_bal":false,"alcohol_rehab":false,"bal_ge_200":false,"blackouts":false,"combined_downers_90d":false,"combined_other_substances_90d":false,"delirium_tremens":false,"increased_autonomic_activity":false,"previous_withdrawal":false,"recently_intoxicated_30d":false,"withdrawal_seizures":false},{"alcohol_last_30d_or_positive_bal":false,"alcohol_rehab":false,"bal_ge_200":false,"blackouts":false,"combined_downers_90d":false,"combined_other_substances_90d":false,"delirium_tremens":false,"increased_autonomic_activity":false,"previous_withdrawal":false,"recently_intoxicated_30d":false,"withdrawal_seizures":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Maldonado JR, Sher Y, Ashouri JF, Hills-Evans K, Swendsen H, Lolak S, Miller AC","doi":"10.1016/j.alcohol.2014.01.004","id":"maldonado-2014","pmid":"24657098","source":"Alcohol. 2014;48(4):375-390","title":"The \"Prediction of Alcohol Withdrawal Severity Scale\" (PAWSS): systematic literature review and pilot study of a new scale for the prediction of complicated alcohol withdrawal syndrome"},"components":[{"factor":"alcohol_last_30d_or_positive_bal","points":0,"present":false},{"factor":"recently_intoxicated_30d","points":0,"present":false},{"factor":"alcohol_rehab","points":0,"present":false},{"factor":"previous_withdrawal","points":0,"present":false},{"factor":"blackouts","points":0,"present":false},{"factor":"withdrawal_seizures","points":0,"present":false},{"factor":"delirium_tremens","points":0,"present":false},{"factor":"combined_downers_90d","points":0,"present":false},{"factor":"combined_other_substances_90d","points":0,"present":false},{"factor":"bal_ge_200","points":0,"present":false},{"factor":"increased_autonomic_activity","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":"pawss","formula_expression":"PAWSS = if alcohol_last_30d_or_positive_bal then recently_intoxicated_30d + alcohol_rehab + previous_withdrawal + blackouts + withdrawal_seizures + delirium_tremens + combined_downers_90d + combined_other_substances_90d + bal_ge_200 + increased_autonomic_activity else 0; each item 1 if true; Part A threshold 0 points; max 10; threshold false → outside_window; 0-3 low; >=4 high; Maldonado 2014","max_score":10,"pawss_band":"outside_window","score":0},{"citation":{"authors":"Maldonado JR, Sher Y, Ashouri JF, Hills-Evans K, Swendsen H, Lolak S, Miller AC","doi":"10.1016/j.alcohol.2014.01.004","id":"maldonado-2014","pmid":"24657098","source":"Alcohol. 2014;48(4):375-390","title":"The \"Prediction of Alcohol Withdrawal Severity Scale\" (PAWSS): systematic literature review and pilot study of a new scale for the prediction of complicated alcohol withdrawal syndrome"},"components":[{"factor":"alcohol_last_30d_or_positive_bal","points":0,"present":false},{"factor":"recently_intoxicated_30d","points":0,"present":false},{"factor":"alcohol_rehab","points":0,"present":false},{"factor":"previous_withdrawal","points":0,"present":false},{"factor":"blackouts","points":0,"present":false},{"factor":"withdrawal_seizures","points":0,"present":false},{"factor":"delirium_tremens","points":0,"present":false},{"factor":"combined_downers_90d","points":0,"present":false},{"factor":"combined_other_substances_90d","points":0,"present":false},{"factor":"bal_ge_200","points":0,"present":false},{"factor":"increased_autonomic_activity","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":"pawss","formula_expression":"PAWSS = if alcohol_last_30d_or_positive_bal then recently_intoxicated_30d + alcohol_rehab + previous_withdrawal + blackouts + withdrawal_seizures + delirium_tremens + combined_downers_90d + combined_other_substances_90d + bal_ge_200 + increased_autonomic_activity else 0; each item 1 if true; Part A threshold 0 points; max 10; threshold false → outside_window; 0-3 low; >=4 high; Maldonado 2014","max_score":10,"pawss_band":"outside_window","score":0}],"path":"/api/calc/pawss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alcohol_last_30d_or_positive_bal":{"description":"Part A threshold (0 points). Caller-assigned: consumed any alcohol in the last 30 days or a positive BAL on admission (Maldonado 2014). If false, score is 0 and pawss_band is outside_window; the ten items are not added. magent does not interview the patient or measure BAL.","type":"boolean"},"alcohol_rehab":{"description":"Ever alcohol-use-disorder rehabilitation or AA as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"bal_ge_200":{"description":"BAL on presentation ≥200 as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not measure BAL.","type":"boolean"},"blackouts":{"description":"Ever blackouts as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"combined_downers_90d":{"description":"Combined alcohol with benzodiazepines or barbiturates in the last 90 days as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"combined_other_substances_90d":{"description":"Combined alcohol with any other substance of abuse in the last 90 days as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"delirium_tremens":{"description":"Ever delirium tremens as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"increased_autonomic_activity":{"description":"Increased autonomic activity as assigned by the caller (Maldonado 2014), for example HR>120, tremor, sweating, agitation, or nausea. true scores 1 when the Part A threshold is true. magent does not observe the patient.","type":"boolean"},"previous_withdrawal":{"description":"Any previous alcohol withdrawal as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"recently_intoxicated_30d":{"description":"Recently intoxicated or drunk within the last 30 days as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"withdrawal_seizures":{"description":"Ever alcohol withdrawal seizures as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"}},"required":["alcohol_last_30d_or_positive_bal","recently_intoxicated_30d","alcohol_rehab","previous_withdrawal","blackouts","withdrawal_seizures","delirium_tremens","combined_downers_90d","combined_other_substances_90d","bal_ge_200","increased_autonomic_activity"],"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":["pawss","alcohol","withdrawal","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:36:30.197Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:36:30.077Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alcohol_last_30d_or_positive_bal":false,"alcohol_rehab":false,"bal_ge_200":false,"blackouts":false,"combined_downers_90d":false,"combined_other_substances_90d":false,"delirium_tremens":false,"increased_autonomic_activity":false,"previous_withdrawal":false,"recently_intoxicated_30d":false,"withdrawal_seizures":false},{"alcohol_last_30d_or_positive_bal":false,"alcohol_rehab":false,"bal_ge_200":false,"blackouts":false,"combined_downers_90d":false,"combined_other_substances_90d":false,"delirium_tremens":false,"increased_autonomic_activity":false,"previous_withdrawal":false,"recently_intoxicated_30d":false,"withdrawal_seizures":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Maldonado JR, Sher Y, Ashouri JF, Hills-Evans K, Swendsen H, Lolak S, Miller AC","doi":"10.1016/j.alcohol.2014.01.004","id":"maldonado-2014","pmid":"24657098","source":"Alcohol. 2014;48(4):375-390","title":"The \"Prediction of Alcohol Withdrawal Severity Scale\" (PAWSS): systematic literature review and pilot study of a new scale for the prediction of complicated alcohol withdrawal syndrome"},"components":[{"factor":"alcohol_last_30d_or_positive_bal","points":0,"present":false},{"factor":"recently_intoxicated_30d","points":0,"present":false},{"factor":"alcohol_rehab","points":0,"present":false},{"factor":"previous_withdrawal","points":0,"present":false},{"factor":"blackouts","points":0,"present":false},{"factor":"withdrawal_seizures","points":0,"present":false},{"factor":"delirium_tremens","points":0,"present":false},{"factor":"combined_downers_90d","points":0,"present":false},{"factor":"combined_other_substances_90d","points":0,"present":false},{"factor":"bal_ge_200","points":0,"present":false},{"factor":"increased_autonomic_activity","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":"pawss","formula_expression":"PAWSS = if alcohol_last_30d_or_positive_bal then recently_intoxicated_30d + alcohol_rehab + previous_withdrawal + blackouts + withdrawal_seizures + delirium_tremens + combined_downers_90d + combined_other_substances_90d + bal_ge_200 + increased_autonomic_activity else 0; each item 1 if true; Part A threshold 0 points; max 10; threshold false → outside_window; 0-3 low; >=4 high; Maldonado 2014","max_score":10,"pawss_band":"outside_window","score":0},{"citation":{"authors":"Maldonado JR, Sher Y, Ashouri JF, Hills-Evans K, Swendsen H, Lolak S, Miller AC","doi":"10.1016/j.alcohol.2014.01.004","id":"maldonado-2014","pmid":"24657098","source":"Alcohol. 2014;48(4):375-390","title":"The \"Prediction of Alcohol Withdrawal Severity Scale\" (PAWSS): systematic literature review and pilot study of a new scale for the prediction of complicated alcohol withdrawal syndrome"},"components":[{"factor":"alcohol_last_30d_or_positive_bal","points":0,"present":false},{"factor":"recently_intoxicated_30d","points":0,"present":false},{"factor":"alcohol_rehab","points":0,"present":false},{"factor":"previous_withdrawal","points":0,"present":false},{"factor":"blackouts","points":0,"present":false},{"factor":"withdrawal_seizures","points":0,"present":false},{"factor":"delirium_tremens","points":0,"present":false},{"factor":"combined_downers_90d","points":0,"present":false},{"factor":"combined_other_substances_90d","points":0,"present":false},{"factor":"bal_ge_200","points":0,"present":false},{"factor":"increased_autonomic_activity","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":"pawss","formula_expression":"PAWSS = if alcohol_last_30d_or_positive_bal then recently_intoxicated_30d + alcohol_rehab + previous_withdrawal + blackouts + withdrawal_seizures + delirium_tremens + combined_downers_90d + combined_other_substances_90d + bal_ge_200 + increased_autonomic_activity else 0; each item 1 if true; Part A threshold 0 points; max 10; threshold false → outside_window; 0-3 low; >=4 high; Maldonado 2014","max_score":10,"pawss_band":"outside_window","score":0}],"path":"/api/calc/pawss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alcohol_last_30d_or_positive_bal":{"description":"Part A threshold (0 points). Caller-assigned: consumed any alcohol in the last 30 days or a positive BAL on admission (Maldonado 2014). If false, score is 0 and pawss_band is outside_window; the ten items are not added. magent does not interview the patient or measure BAL.","type":"boolean"},"alcohol_rehab":{"description":"Ever alcohol-use-disorder rehabilitation or AA as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"bal_ge_200":{"description":"BAL on presentation ≥200 as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not measure BAL.","type":"boolean"},"blackouts":{"description":"Ever blackouts as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"combined_downers_90d":{"description":"Combined alcohol with benzodiazepines or barbiturates in the last 90 days as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"combined_other_substances_90d":{"description":"Combined alcohol with any other substance of abuse in the last 90 days as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"delirium_tremens":{"description":"Ever delirium tremens as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"increased_autonomic_activity":{"description":"Increased autonomic activity as assigned by the caller (Maldonado 2014), for example HR>120, tremor, sweating, agitation, or nausea. true scores 1 when the Part A threshold is true. magent does not observe the patient.","type":"boolean"},"previous_withdrawal":{"description":"Any previous alcohol withdrawal as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"recently_intoxicated_30d":{"description":"Recently intoxicated or drunk within the last 30 days as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"},"withdrawal_seizures":{"description":"Ever alcohol withdrawal seizures as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.","type":"boolean"}},"required":["alcohol_last_30d_or_positive_bal","recently_intoxicated_30d","alcohol_rehab","previous_withdrawal","blackouts","withdrawal_seizures","delirium_tremens","combined_downers_90d","combined_other_substances_90d","bal_ge_200","increased_autonomic_activity"],"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},{"id":38979,"slug":"38979","resource":"https://api.magentlab.com/api/calc/pass","description":"Gorelick 2004 three-item Pediatric Asthma Severity Score (PASS): caller-assigned wheezing (0 none or mild; 1 moderate; 2 severe or absent from poor air exchange), work_of_breathing (0 none or mild; 1 moderate; 2 severe), and prolongation_of_expiration (0 normal or mildly prolonged; 1 moderately; 2 severely). magent sums only (max 6) and does not auscultate. Score only; no invented severity or GINA bands. Not a diagnosis, not Chalut 2000 PRAM, not Westley 1978 croup, and not hospital PAS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"prolongation_of_expiration":0,"wheezing":0,"work_of_breathing":0},{"prolongation_of_expiration":0,"wheezing":0,"work_of_breathing":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gorelick MH, Stevens MW, Schultz TR, Scribano PV","doi":"10.1197/j.aem.2003.07.015","id":"gorelick-2004","pmid":"14709423","source":"Acad Emerg Med. 2004;11(1):10-18","title":"Performance of a novel clinical score, the Pediatric Asthma Severity Score (PASS), in the evaluation of acute asthma"},"components":[{"factor":"wheezing","points":0,"present":true,"value":0},{"factor":"work_of_breathing","points":0,"present":true,"value":0},{"factor":"prolongation_of_expiration","points":0,"present":true,"value":0}],"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":"pass","formula_expression":"PASS = wheezing + work_of_breathing + prolongation_of_expiration; Gorelick 2004 caller-assigned points; each item 0/1/2; max 6","max_score":6,"score":0},{"citation":{"authors":"Gorelick MH, Stevens MW, Schultz TR, Scribano PV","doi":"10.1197/j.aem.2003.07.015","id":"gorelick-2004","pmid":"14709423","source":"Acad Emerg Med. 2004;11(1):10-18","title":"Performance of a novel clinical score, the Pediatric Asthma Severity Score (PASS), in the evaluation of acute asthma"},"components":[{"factor":"wheezing","points":0,"present":true,"value":0},{"factor":"work_of_breathing","points":0,"present":true,"value":0},{"factor":"prolongation_of_expiration","points":0,"present":true,"value":0}],"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":"pass","formula_expression":"PASS = wheezing + work_of_breathing + prolongation_of_expiration; Gorelick 2004 caller-assigned points; each item 0/1/2; max 6","max_score":6,"score":0}],"path":"/api/calc/pass"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"prolongation_of_expiration":{"description":"Caller-assigned Gorelick 2004 PASS prolongation of expiration (integer 0, 1, or 2): 0 normal or mildly prolonged; 1 moderately prolonged; 2 severely prolonged. magent does not auscultate.","type":"integer"},"wheezing":{"description":"Caller-assigned Gorelick 2004 PASS wheezing (integer 0, 1, or 2): 0 none or mild; 1 moderate; 2 severe wheezing or absent due to poor air exchange. magent does not auscultate.","type":"integer"},"work_of_breathing":{"description":"Caller-assigned Gorelick 2004 PASS work of breathing (integer 0, 1, or 2): 0 none or mild accessory-muscle use or retractions; 1 moderate; 2 severe. magent does not examine the patient.","type":"integer"}},"required":["wheezing","work_of_breathing","prolongation_of_expiration"],"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":["pass","asthma","respiratory","pediatric","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:31:37.707Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:31:37.54Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"prolongation_of_expiration":0,"wheezing":0,"work_of_breathing":0},{"prolongation_of_expiration":0,"wheezing":0,"work_of_breathing":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gorelick MH, Stevens MW, Schultz TR, Scribano PV","doi":"10.1197/j.aem.2003.07.015","id":"gorelick-2004","pmid":"14709423","source":"Acad Emerg Med. 2004;11(1):10-18","title":"Performance of a novel clinical score, the Pediatric Asthma Severity Score (PASS), in the evaluation of acute asthma"},"components":[{"factor":"wheezing","points":0,"present":true,"value":0},{"factor":"work_of_breathing","points":0,"present":true,"value":0},{"factor":"prolongation_of_expiration","points":0,"present":true,"value":0}],"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":"pass","formula_expression":"PASS = wheezing + work_of_breathing + prolongation_of_expiration; Gorelick 2004 caller-assigned points; each item 0/1/2; max 6","max_score":6,"score":0},{"citation":{"authors":"Gorelick MH, Stevens MW, Schultz TR, Scribano PV","doi":"10.1197/j.aem.2003.07.015","id":"gorelick-2004","pmid":"14709423","source":"Acad Emerg Med. 2004;11(1):10-18","title":"Performance of a novel clinical score, the Pediatric Asthma Severity Score (PASS), in the evaluation of acute asthma"},"components":[{"factor":"wheezing","points":0,"present":true,"value":0},{"factor":"work_of_breathing","points":0,"present":true,"value":0},{"factor":"prolongation_of_expiration","points":0,"present":true,"value":0}],"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":"pass","formula_expression":"PASS = wheezing + work_of_breathing + prolongation_of_expiration; Gorelick 2004 caller-assigned points; each item 0/1/2; max 6","max_score":6,"score":0}],"path":"/api/calc/pass"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"prolongation_of_expiration":{"description":"Caller-assigned Gorelick 2004 PASS prolongation of expiration (integer 0, 1, or 2): 0 normal or mildly prolonged; 1 moderately prolonged; 2 severely prolonged. magent does not auscultate.","type":"integer"},"wheezing":{"description":"Caller-assigned Gorelick 2004 PASS wheezing (integer 0, 1, or 2): 0 none or mild; 1 moderate; 2 severe wheezing or absent due to poor air exchange. magent does not auscultate.","type":"integer"},"work_of_breathing":{"description":"Caller-assigned Gorelick 2004 PASS work of breathing (integer 0, 1, or 2): 0 none or mild accessory-muscle use or retractions; 1 moderate; 2 severe. magent does not examine the patient.","type":"integer"}},"required":["wheezing","work_of_breathing","prolongation_of_expiration"],"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},{"id":38980,"slug":"38980","resource":"https://api.magentlab.com/api/calc/pasi","description":"Fredriksson 1978 PASI from four regions. Each region: area 0-6 and erythema, induration, and scaling 0-4. Region score = (sum of three signs) × area × adult weight (head 0.1, upper extremities 0.2, trunk 0.3, lower extremities 0.4). Total max 72. Adult weights only. magent does not examine the skin. No IGA or later severity bands. Not a diagnosis. Not EASI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"head_area":0,"head_erythema":0,"head_induration":0,"head_scaling":0,"lower_extremities_area":0,"lower_extremities_erythema":0,"lower_extremities_induration":0,"lower_extremities_scaling":0,"trunk_area":0,"trunk_erythema":0,"trunk_induration":0,"trunk_scaling":0,"upper_extremities_area":0,"upper_extremities_erythema":0,"upper_extremities_induration":0,"upper_extremities_scaling":0},{"head_area":0,"head_erythema":0,"head_induration":0,"head_scaling":0,"lower_extremities_area":0,"lower_extremities_erythema":0,"lower_extremities_induration":0,"lower_extremities_scaling":0,"trunk_area":0,"trunk_erythema":0,"trunk_induration":0,"trunk_scaling":0,"upper_extremities_area":0,"upper_extremities_erythema":0,"upper_extremities_induration":0,"upper_extremities_scaling":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Fredriksson T, Pettersson U","doi":"10.1159/000250839","id":"fredriksson-1978","pmid":"357213","source":"Dermatologica. 1978;157(4):238-244","title":"Severe psoriasis--oral therapy with a new retinoid"},"components":[{"area":0,"factor":"head","points":0,"present":true,"value":0,"weight":0.1},{"area":0,"factor":"upper_extremities","points":0,"present":true,"value":0,"weight":0.2},{"area":0,"factor":"trunk","points":0,"present":true,"value":0,"weight":0.3},{"area":0,"factor":"lower_extremities","points":0,"present":true,"value":0,"weight":0.4}],"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":"pasi","formula_expression":"PASI = 0.1*(head_erythema + head_induration + head_scaling)*head_area + 0.2*(upper_extremities_erythema + upper_extremities_induration + upper_extremities_scaling)*upper_extremities_area + 0.3*(trunk_erythema + trunk_induration + trunk_scaling)*trunk_area + 0.4*(lower_extremities_erythema + lower_extremities_induration + lower_extremities_scaling)*lower_extremities_area; each area integer 0-6 (0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%); each of erythema, induration, and scaling integer 0-4 (0 none, 1 slight, 2 moderate, 3 severe, 4 very severe); adult region weights head 0.1, upper extremities 0.2, trunk 0.3, lower extremities 0.4; max 72; magent uses these adult weights only; this paper published no Investigator Global Assessment or mild-moderate-severe PASI cutoffs","head_score":0,"lower_extremities_score":0,"max_score":72,"score":0,"trunk_score":0,"upper_extremities_score":0},{"citation":{"authors":"Fredriksson T, Pettersson U","doi":"10.1159/000250839","id":"fredriksson-1978","pmid":"357213","source":"Dermatologica. 1978;157(4):238-244","title":"Severe psoriasis--oral therapy with a new retinoid"},"components":[{"area":0,"factor":"head","points":0,"present":true,"value":0,"weight":0.1},{"area":0,"factor":"upper_extremities","points":0,"present":true,"value":0,"weight":0.2},{"area":0,"factor":"trunk","points":0,"present":true,"value":0,"weight":0.3},{"area":0,"factor":"lower_extremities","points":0,"present":true,"value":0,"weight":0.4}],"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":"pasi","formula_expression":"PASI = 0.1*(head_erythema + head_induration + head_scaling)*head_area + 0.2*(upper_extremities_erythema + upper_extremities_induration + upper_extremities_scaling)*upper_extremities_area + 0.3*(trunk_erythema + trunk_induration + trunk_scaling)*trunk_area + 0.4*(lower_extremities_erythema + lower_extremities_induration + lower_extremities_scaling)*lower_extremities_area; each area integer 0-6 (0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%); each of erythema, induration, and scaling integer 0-4 (0 none, 1 slight, 2 moderate, 3 severe, 4 very severe); adult region weights head 0.1, upper extremities 0.2, trunk 0.3, lower extremities 0.4; max 72; magent uses these adult weights only; this paper published no Investigator Global Assessment or mild-moderate-severe PASI cutoffs","head_score":0,"lower_extremities_score":0,"max_score":72,"score":0,"trunk_score":0,"upper_extremities_score":0}],"path":"/api/calc/pasi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"head_area":{"description":"Caller-assigned Fredriksson 1978 PASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"head_erythema":{"description":"Caller-assigned Fredriksson 1978 PASI erythema for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"head_induration":{"description":"Caller-assigned Fredriksson 1978 PASI induration for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"head_scaling":{"description":"Caller-assigned Fredriksson 1978 PASI scaling for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"lower_extremities_area":{"description":"Caller-assigned Fredriksson 1978 PASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"lower_extremities_erythema":{"description":"Caller-assigned Fredriksson 1978 PASI erythema for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"lower_extremities_induration":{"description":"Caller-assigned Fredriksson 1978 PASI induration for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"lower_extremities_scaling":{"description":"Caller-assigned Fredriksson 1978 PASI scaling for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"trunk_area":{"description":"Caller-assigned Fredriksson 1978 PASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"trunk_erythema":{"description":"Caller-assigned Fredriksson 1978 PASI erythema for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"trunk_induration":{"description":"Caller-assigned Fredriksson 1978 PASI induration for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"trunk_scaling":{"description":"Caller-assigned Fredriksson 1978 PASI scaling for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"upper_extremities_area":{"description":"Caller-assigned Fredriksson 1978 PASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"upper_extremities_erythema":{"description":"Caller-assigned Fredriksson 1978 PASI erythema for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"upper_extremities_induration":{"description":"Caller-assigned Fredriksson 1978 PASI induration for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"upper_extremities_scaling":{"description":"Caller-assigned Fredriksson 1978 PASI scaling for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"}},"required":["head_area","head_erythema","head_induration","head_scaling","upper_extremities_area","upper_extremities_erythema","upper_extremities_induration","upper_extremities_scaling","trunk_area","trunk_erythema","trunk_induration","trunk_scaling","lower_extremities_area","lower_extremities_erythema","lower_extremities_induration","lower_extremities_scaling"],"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":["pasi","psoriasis","emergency","fredriksson-1978","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:31:36.801Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:31:36.656Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"head_area":0,"head_erythema":0,"head_induration":0,"head_scaling":0,"lower_extremities_area":0,"lower_extremities_erythema":0,"lower_extremities_induration":0,"lower_extremities_scaling":0,"trunk_area":0,"trunk_erythema":0,"trunk_induration":0,"trunk_scaling":0,"upper_extremities_area":0,"upper_extremities_erythema":0,"upper_extremities_induration":0,"upper_extremities_scaling":0},{"head_area":0,"head_erythema":0,"head_induration":0,"head_scaling":0,"lower_extremities_area":0,"lower_extremities_erythema":0,"lower_extremities_induration":0,"lower_extremities_scaling":0,"trunk_area":0,"trunk_erythema":0,"trunk_induration":0,"trunk_scaling":0,"upper_extremities_area":0,"upper_extremities_erythema":0,"upper_extremities_induration":0,"upper_extremities_scaling":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Fredriksson T, Pettersson U","doi":"10.1159/000250839","id":"fredriksson-1978","pmid":"357213","source":"Dermatologica. 1978;157(4):238-244","title":"Severe psoriasis--oral therapy with a new retinoid"},"components":[{"area":0,"factor":"head","points":0,"present":true,"value":0,"weight":0.1},{"area":0,"factor":"upper_extremities","points":0,"present":true,"value":0,"weight":0.2},{"area":0,"factor":"trunk","points":0,"present":true,"value":0,"weight":0.3},{"area":0,"factor":"lower_extremities","points":0,"present":true,"value":0,"weight":0.4}],"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":"pasi","formula_expression":"PASI = 0.1*(head_erythema + head_induration + head_scaling)*head_area + 0.2*(upper_extremities_erythema + upper_extremities_induration + upper_extremities_scaling)*upper_extremities_area + 0.3*(trunk_erythema + trunk_induration + trunk_scaling)*trunk_area + 0.4*(lower_extremities_erythema + lower_extremities_induration + lower_extremities_scaling)*lower_extremities_area; each area integer 0-6 (0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%); each of erythema, induration, and scaling integer 0-4 (0 none, 1 slight, 2 moderate, 3 severe, 4 very severe); adult region weights head 0.1, upper extremities 0.2, trunk 0.3, lower extremities 0.4; max 72; magent uses these adult weights only; this paper published no Investigator Global Assessment or mild-moderate-severe PASI cutoffs","head_score":0,"lower_extremities_score":0,"max_score":72,"score":0,"trunk_score":0,"upper_extremities_score":0},{"citation":{"authors":"Fredriksson T, Pettersson U","doi":"10.1159/000250839","id":"fredriksson-1978","pmid":"357213","source":"Dermatologica. 1978;157(4):238-244","title":"Severe psoriasis--oral therapy with a new retinoid"},"components":[{"area":0,"factor":"head","points":0,"present":true,"value":0,"weight":0.1},{"area":0,"factor":"upper_extremities","points":0,"present":true,"value":0,"weight":0.2},{"area":0,"factor":"trunk","points":0,"present":true,"value":0,"weight":0.3},{"area":0,"factor":"lower_extremities","points":0,"present":true,"value":0,"weight":0.4}],"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":"pasi","formula_expression":"PASI = 0.1*(head_erythema + head_induration + head_scaling)*head_area + 0.2*(upper_extremities_erythema + upper_extremities_induration + upper_extremities_scaling)*upper_extremities_area + 0.3*(trunk_erythema + trunk_induration + trunk_scaling)*trunk_area + 0.4*(lower_extremities_erythema + lower_extremities_induration + lower_extremities_scaling)*lower_extremities_area; each area integer 0-6 (0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%); each of erythema, induration, and scaling integer 0-4 (0 none, 1 slight, 2 moderate, 3 severe, 4 very severe); adult region weights head 0.1, upper extremities 0.2, trunk 0.3, lower extremities 0.4; max 72; magent uses these adult weights only; this paper published no Investigator Global Assessment or mild-moderate-severe PASI cutoffs","head_score":0,"lower_extremities_score":0,"max_score":72,"score":0,"trunk_score":0,"upper_extremities_score":0}],"path":"/api/calc/pasi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"head_area":{"description":"Caller-assigned Fredriksson 1978 PASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"head_erythema":{"description":"Caller-assigned Fredriksson 1978 PASI erythema for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"head_induration":{"description":"Caller-assigned Fredriksson 1978 PASI induration for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"head_scaling":{"description":"Caller-assigned Fredriksson 1978 PASI scaling for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"lower_extremities_area":{"description":"Caller-assigned Fredriksson 1978 PASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"lower_extremities_erythema":{"description":"Caller-assigned Fredriksson 1978 PASI erythema for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"lower_extremities_induration":{"description":"Caller-assigned Fredriksson 1978 PASI induration for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"lower_extremities_scaling":{"description":"Caller-assigned Fredriksson 1978 PASI scaling for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"trunk_area":{"description":"Caller-assigned Fredriksson 1978 PASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"trunk_erythema":{"description":"Caller-assigned Fredriksson 1978 PASI erythema for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"trunk_induration":{"description":"Caller-assigned Fredriksson 1978 PASI induration for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"trunk_scaling":{"description":"Caller-assigned Fredriksson 1978 PASI scaling for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"upper_extremities_area":{"description":"Caller-assigned Fredriksson 1978 PASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"upper_extremities_erythema":{"description":"Caller-assigned Fredriksson 1978 PASI erythema for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"upper_extremities_induration":{"description":"Caller-assigned Fredriksson 1978 PASI induration for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"},"upper_extremities_scaling":{"description":"Caller-assigned Fredriksson 1978 PASI scaling for this region (integer 0-4): 0 none, 1 slight, 2 moderate, 3 severe, 4 very severe. magent does not examine the skin.","enum":[0,1,2,3,4],"type":"integer"}},"required":["head_area","head_erythema","head_induration","head_scaling","upper_extremities_area","upper_extremities_erythema","upper_extremities_induration","upper_extremities_scaling","trunk_area","trunk_erythema","trunk_induration","trunk_scaling","lower_extremities_area","lower_extremities_erythema","lower_extremities_induration","lower_extremities_scaling"],"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},{"id":38981,"slug":"38981","resource":"https://api.magentlab.com/api/calc/parkland","description":"Adult Parkland crystalloid volume: 4 mL × kg × %TBSA for 24 hours, half in the first 8 hours from the time of injury. Baxter 1974. Deterministic published arithmetic with citation; not a treatment order, IV prescription, or urine-output titration.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"tbsa_percent":50,"weight_kg":70,"weight_lb":154.3236},{"tbsa_percent":50,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Baxter CR","doi":"10.1016/S0094-1298(20)30126-7","id":"baxter-1974","source":"Clin Plast Surg. 1974;1(4):693-703","title":"Fluid volume and electrolyte changes of the early postburn period"},"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.","first_8h_ml":7000,"formula":"parkland","formula_expression":"volume_24h_ml = 4 * weight_kg * tbsa_percent; first_8h_ml = volume_24h_ml / 2; remaining_16h_ml = volume_24h_ml / 2","remaining_16h_ml":7000,"tbsa_percent":50,"volume_24h_ml":14000,"weight_kg":70},{"citation":{"authors":"Baxter CR","doi":"10.1016/S0094-1298(20)30126-7","id":"baxter-1974","source":"Clin Plast Surg. 1974;1(4):693-703","title":"Fluid volume and electrolyte changes of the early postburn period"},"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.","first_8h_ml":7000,"formula":"parkland","formula_expression":"volume_24h_ml = 4 * weight_kg * tbsa_percent; first_8h_ml = volume_24h_ml / 2; remaining_16h_ml = volume_24h_ml / 2","remaining_16h_ml":7000,"tbsa_percent":50,"volume_24h_ml":14000,"weight_kg":70}],"path":"/api/calc/parkland"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"tbsa_percent":{"description":"Percent total body surface area burned (1-100). 0 is invalid.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["tbsa_percent"],"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":["parkland","burns","fluids","tbsa","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:31:35.701Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:31:35.574Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"tbsa_percent":50,"weight_kg":70,"weight_lb":154.3236},{"tbsa_percent":50,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Baxter CR","doi":"10.1016/S0094-1298(20)30126-7","id":"baxter-1974","source":"Clin Plast Surg. 1974;1(4):693-703","title":"Fluid volume and electrolyte changes of the early postburn period"},"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.","first_8h_ml":7000,"formula":"parkland","formula_expression":"volume_24h_ml = 4 * weight_kg * tbsa_percent; first_8h_ml = volume_24h_ml / 2; remaining_16h_ml = volume_24h_ml / 2","remaining_16h_ml":7000,"tbsa_percent":50,"volume_24h_ml":14000,"weight_kg":70},{"citation":{"authors":"Baxter CR","doi":"10.1016/S0094-1298(20)30126-7","id":"baxter-1974","source":"Clin Plast Surg. 1974;1(4):693-703","title":"Fluid volume and electrolyte changes of the early postburn period"},"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.","first_8h_ml":7000,"formula":"parkland","formula_expression":"volume_24h_ml = 4 * weight_kg * tbsa_percent; first_8h_ml = volume_24h_ml / 2; remaining_16h_ml = volume_24h_ml / 2","remaining_16h_ml":7000,"tbsa_percent":50,"volume_24h_ml":14000,"weight_kg":70}],"path":"/api/calc/parkland"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"tbsa_percent":{"description":"Percent total body surface area burned (1-100). 0 is invalid.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["tbsa_percent"],"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},{"id":38982,"slug":"38982","resource":"https://api.magentlab.com/api/calc/parc","description":"Kharbanda 2018 Table 3 pediatric appendicitis risk calculator (pARC): logistic probability from sex, age (5-18 years), pain duration, pain with walking, migration of pain to RLQ, maximal RLQ tenderness, abdominal guarding, and ANC (x10^3/uL; 1.77*sqrt(ANC) if <14, else constant 6.62). Returns logit and estimated_probability_percent. Not a medical device, not a diagnosis, not PAS, and not Alvarado. magent does not examine the child.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abdominal_guarding":false,"age":15,"anc_10e3_ul":2,"maximal_tenderness_rlq":false,"pain_duration":"lt_24","pain_migration_rlq":false,"pain_with_walking":false,"sex":"female"},{"abdominal_guarding":false,"age":15,"anc_10e3_ul":2,"maximal_tenderness_rlq":false,"pain_duration":"lt_24","pain_migration_rlq":false,"pain_with_walking":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abdominal_guarding":false,"age_years":15,"anc_10e3_ul":2,"citation":{"authors":"Kharbanda AB, Vazquez-Benitez G, Ballard DW, et al.","doi":"10.1542/peds.2017-2699","id":"kharbanda-2018","pmid":"29535251","source":"Pediatrics. 2018;141(4):e20172699","title":"Development and Validation of a Novel Pediatric Appendicitis Risk Calculator (pARC)"},"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.","estimated_probability":0.002032,"estimated_probability_percent":0.2,"formula":"parc","formula_expression":"L = -8.7 + 1.28*male + age_sex + pain_duration + 1.05*pain_with_walking + 0.46*pain_migration_rlq + 1.14*maximal_tenderness_rlq + 0.67*abdominal_guarding + anc (Kharbanda 2018 Table 3); age 5-7.9 y 0.38; male 5-7.9 y -1.05; age 8-13.9 y -0.72 (male 8-13.9 y and female 8-11.9 y); reference = male 14-18 y and female 12-18 y; duration lt_24 0, 24_lt_48 0.47, 48_96 0.10; ANC <14 x10^3/uL: 1.77*sqrt(ANC); ANC >=14: 6.62 instead of the sqrt term; estimated_probability = 1 / (1 + exp(-L)); estimated_probability_percent = 100 * estimated_probability","logit":-6.1968,"maximal_tenderness_rlq":false,"pain_duration":"lt_24","pain_migration_rlq":false,"pain_with_walking":false,"sex":"female"},{"abdominal_guarding":false,"age_years":15,"anc_10e3_ul":2,"citation":{"authors":"Kharbanda AB, Vazquez-Benitez G, Ballard DW, et al.","doi":"10.1542/peds.2017-2699","id":"kharbanda-2018","pmid":"29535251","source":"Pediatrics. 2018;141(4):e20172699","title":"Development and Validation of a Novel Pediatric Appendicitis Risk Calculator (pARC)"},"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.","estimated_probability":0.002032,"estimated_probability_percent":0.2,"formula":"parc","formula_expression":"L = -8.7 + 1.28*male + age_sex + pain_duration + 1.05*pain_with_walking + 0.46*pain_migration_rlq + 1.14*maximal_tenderness_rlq + 0.67*abdominal_guarding + anc (Kharbanda 2018 Table 3); age 5-7.9 y 0.38; male 5-7.9 y -1.05; age 8-13.9 y -0.72 (male 8-13.9 y and female 8-11.9 y); reference = male 14-18 y and female 12-18 y; duration lt_24 0, 24_lt_48 0.47, 48_96 0.10; ANC <14 x10^3/uL: 1.77*sqrt(ANC); ANC >=14: 6.62 instead of the sqrt term; estimated_probability = 1 / (1 + exp(-L)); estimated_probability_percent = 100 * estimated_probability","logit":-6.1968,"maximal_tenderness_rlq":false,"pain_duration":"lt_24","pain_migration_rlq":false,"pain_with_walking":false,"sex":"female"}],"path":"/api/calc/parc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_guarding":{"description":"Caller-assigned abdominal guarding (Kharbanda 2018 Table 3 +0.67). magent does not examine the child.","type":"boolean"},"age":{"description":"Age in whole years from 5 to 18 (Kharbanda 2018 derivation). Age 5-7 maps to 5-7.9 y; male 8-13 and female 8-11 use the age 8-13.9 y term; male 14-18 y and female 12-18 y are the Table 3 reference.","type":"integer"},"anc_10e3_ul":{"description":"Absolute neutrophil count in x10^3/uL (0-80). Kharbanda 2018 Table 3: if ANC < 14, add 1.77*sqrt(ANC); if ANC >= 14, add 6.62 instead of the sqrt term. Required; magent does not impute ANC from WBC.","type":"number"},"maximal_tenderness_rlq":{"description":"Caller-assigned maximal tenderness in the right-lower quadrant (Kharbanda 2018 Table 3 +1.14). magent does not examine the child.","type":"boolean"},"pain_duration":{"description":"Kharbanda 2018 Table 3 duration of pain as assigned by the caller: lt_24 (reference, 0), 24_lt_48 (+0.47), or 48_96 (+0.10). Derivation excluded pain beyond 96 hours. Do not send a nausea or vomiting flag.","enum":["lt_24","24_lt_48","48_96"],"type":"string"},"pain_migration_rlq":{"description":"Caller-assigned history of migration of pain to the right-lower quadrant (Kharbanda 2018 Table 3 +0.46). magent does not examine the child.","type":"boolean"},"pain_with_walking":{"description":"Caller-assigned presence of pain with walking (Kharbanda 2018 Table 3 +1.05). magent does not examine the child.","type":"boolean"},"sex":{"description":"Caller-assigned sex. Male adds 1.28. Combined with age for the Table 3 age-and-sex terms. magent does not examine the child.","enum":["female","male"],"type":"string"}},"required":["age","sex","pain_duration","pain_with_walking","pain_migration_rlq","maximal_tenderness_rlq","abdominal_guarding","anc_10e3_ul"],"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":["parc","appendicitis","pediatric","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:26:50.286Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:26:50.148Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abdominal_guarding":false,"age":15,"anc_10e3_ul":2,"maximal_tenderness_rlq":false,"pain_duration":"lt_24","pain_migration_rlq":false,"pain_with_walking":false,"sex":"female"},{"abdominal_guarding":false,"age":15,"anc_10e3_ul":2,"maximal_tenderness_rlq":false,"pain_duration":"lt_24","pain_migration_rlq":false,"pain_with_walking":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abdominal_guarding":false,"age_years":15,"anc_10e3_ul":2,"citation":{"authors":"Kharbanda AB, Vazquez-Benitez G, Ballard DW, et al.","doi":"10.1542/peds.2017-2699","id":"kharbanda-2018","pmid":"29535251","source":"Pediatrics. 2018;141(4):e20172699","title":"Development and Validation of a Novel Pediatric Appendicitis Risk Calculator (pARC)"},"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.","estimated_probability":0.002032,"estimated_probability_percent":0.2,"formula":"parc","formula_expression":"L = -8.7 + 1.28*male + age_sex + pain_duration + 1.05*pain_with_walking + 0.46*pain_migration_rlq + 1.14*maximal_tenderness_rlq + 0.67*abdominal_guarding + anc (Kharbanda 2018 Table 3); age 5-7.9 y 0.38; male 5-7.9 y -1.05; age 8-13.9 y -0.72 (male 8-13.9 y and female 8-11.9 y); reference = male 14-18 y and female 12-18 y; duration lt_24 0, 24_lt_48 0.47, 48_96 0.10; ANC <14 x10^3/uL: 1.77*sqrt(ANC); ANC >=14: 6.62 instead of the sqrt term; estimated_probability = 1 / (1 + exp(-L)); estimated_probability_percent = 100 * estimated_probability","logit":-6.1968,"maximal_tenderness_rlq":false,"pain_duration":"lt_24","pain_migration_rlq":false,"pain_with_walking":false,"sex":"female"},{"abdominal_guarding":false,"age_years":15,"anc_10e3_ul":2,"citation":{"authors":"Kharbanda AB, Vazquez-Benitez G, Ballard DW, et al.","doi":"10.1542/peds.2017-2699","id":"kharbanda-2018","pmid":"29535251","source":"Pediatrics. 2018;141(4):e20172699","title":"Development and Validation of a Novel Pediatric Appendicitis Risk Calculator (pARC)"},"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.","estimated_probability":0.002032,"estimated_probability_percent":0.2,"formula":"parc","formula_expression":"L = -8.7 + 1.28*male + age_sex + pain_duration + 1.05*pain_with_walking + 0.46*pain_migration_rlq + 1.14*maximal_tenderness_rlq + 0.67*abdominal_guarding + anc (Kharbanda 2018 Table 3); age 5-7.9 y 0.38; male 5-7.9 y -1.05; age 8-13.9 y -0.72 (male 8-13.9 y and female 8-11.9 y); reference = male 14-18 y and female 12-18 y; duration lt_24 0, 24_lt_48 0.47, 48_96 0.10; ANC <14 x10^3/uL: 1.77*sqrt(ANC); ANC >=14: 6.62 instead of the sqrt term; estimated_probability = 1 / (1 + exp(-L)); estimated_probability_percent = 100 * estimated_probability","logit":-6.1968,"maximal_tenderness_rlq":false,"pain_duration":"lt_24","pain_migration_rlq":false,"pain_with_walking":false,"sex":"female"}],"path":"/api/calc/parc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_guarding":{"description":"Caller-assigned abdominal guarding (Kharbanda 2018 Table 3 +0.67). magent does not examine the child.","type":"boolean"},"age":{"description":"Age in whole years from 5 to 18 (Kharbanda 2018 derivation). Age 5-7 maps to 5-7.9 y; male 8-13 and female 8-11 use the age 8-13.9 y term; male 14-18 y and female 12-18 y are the Table 3 reference.","type":"integer"},"anc_10e3_ul":{"description":"Absolute neutrophil count in x10^3/uL (0-80). Kharbanda 2018 Table 3: if ANC < 14, add 1.77*sqrt(ANC); if ANC >= 14, add 6.62 instead of the sqrt term. Required; magent does not impute ANC from WBC.","type":"number"},"maximal_tenderness_rlq":{"description":"Caller-assigned maximal tenderness in the right-lower quadrant (Kharbanda 2018 Table 3 +1.14). magent does not examine the child.","type":"boolean"},"pain_duration":{"description":"Kharbanda 2018 Table 3 duration of pain as assigned by the caller: lt_24 (reference, 0), 24_lt_48 (+0.47), or 48_96 (+0.10). Derivation excluded pain beyond 96 hours. Do not send a nausea or vomiting flag.","enum":["lt_24","24_lt_48","48_96"],"type":"string"},"pain_migration_rlq":{"description":"Caller-assigned history of migration of pain to the right-lower quadrant (Kharbanda 2018 Table 3 +0.46). magent does not examine the child.","type":"boolean"},"pain_with_walking":{"description":"Caller-assigned presence of pain with walking (Kharbanda 2018 Table 3 +1.05). magent does not examine the child.","type":"boolean"},"sex":{"description":"Caller-assigned sex. Male adds 1.28. Combined with age for the Table 3 age-and-sex terms. magent does not examine the child.","enum":["female","male"],"type":"string"}},"required":["age","sex","pain_duration","pain_with_walking","pain_migration_rlq","maximal_tenderness_rlq","abdominal_guarding","anc_10e3_ul"],"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},{"id":38983,"slug":"38983","resource":"https://api.magentlab.com/api/calc/paradise","description":"Paradise 1984 eligibility frequency for recurrent throat infection. paradise_criteria is true iff qualifying_episode_features and any of ge_7_episodes_preceding_year, ge_5_episodes_each_of_2_years, or ge_3_episodes_each_of_3_years. Caller assigns that counting episodes had fever >38.3 C, cervical adenopathy, tonsillar exudate, or group A beta-hemolytic streptococcus culture. magent does not examine the patient or count episodes. Not a tonsillectomy order. Not AAO-HNS 2019.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ge_3_episodes_each_of_3_years":false,"ge_5_episodes_each_of_2_years":false,"ge_7_episodes_preceding_year":true,"qualifying_episode_features":true},{"ge_3_episodes_each_of_3_years":false,"ge_5_episodes_each_of_2_years":false,"ge_7_episodes_preceding_year":true,"qualifying_episode_features":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Paradise JL, Bluestone CD, Bachman RZ, Colborn DK, Bernard BS, Taylor FH, Rogers KD, Schwarzbach RH, Stool SE, Friday GA","doi":"10.1056/NEJM198403153101102","id":"paradise-1984","pmid":"6700642","source":"N Engl J Med. 1984;310(11):674-683","title":"Efficacy of tonsillectomy for recurrent throat infection in severely affected children. Results of parallel randomized and nonrandomized clinical trials"},"criteria":[{"factor":"ge_7_episodes_preceding_year","met":true},{"factor":"ge_5_episodes_each_of_2_years","met":false},{"factor":"ge_3_episodes_each_of_3_years","met":false},{"factor":"frequency_met","met":true},{"factor":"qualifying_episode_features","met":true}],"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":"paradise","formula_expression":"paradise_criteria iff qualifying_episode_features and (ge_7_episodes_preceding_year or ge_5_episodes_each_of_2_years or ge_3_episodes_each_of_3_years) (Paradise 1984 eligibility frequency for recurrent throat infection)","frequency_met":true,"paradise_criteria":true},{"citation":{"authors":"Paradise JL, Bluestone CD, Bachman RZ, Colborn DK, Bernard BS, Taylor FH, Rogers KD, Schwarzbach RH, Stool SE, Friday GA","doi":"10.1056/NEJM198403153101102","id":"paradise-1984","pmid":"6700642","source":"N Engl J Med. 1984;310(11):674-683","title":"Efficacy of tonsillectomy for recurrent throat infection in severely affected children. Results of parallel randomized and nonrandomized clinical trials"},"criteria":[{"factor":"ge_7_episodes_preceding_year","met":true},{"factor":"ge_5_episodes_each_of_2_years","met":false},{"factor":"ge_3_episodes_each_of_3_years","met":false},{"factor":"frequency_met","met":true},{"factor":"qualifying_episode_features","met":true}],"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":"paradise","formula_expression":"paradise_criteria iff qualifying_episode_features and (ge_7_episodes_preceding_year or ge_5_episodes_each_of_2_years or ge_3_episodes_each_of_3_years) (Paradise 1984 eligibility frequency for recurrent throat infection)","frequency_met":true,"paradise_criteria":true}],"path":"/api/calc/paradise"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ge_3_episodes_each_of_3_years":{"description":"Three or more episodes in each of the preceding three years (Paradise 1984). true or false as assigned by the caller. magent does not count episodes.","type":"boolean"},"ge_5_episodes_each_of_2_years":{"description":"Five or more episodes in each of the preceding two years (Paradise 1984). true or false as assigned by the caller. magent does not count episodes.","type":"boolean"},"ge_7_episodes_preceding_year":{"description":"Seven or more episodes of throat infection in the preceding year (Paradise 1984). true or false as assigned by the caller. magent does not count episodes.","type":"boolean"},"qualifying_episode_features":{"description":"Caller assigns that counting episodes had the trial's published features: fever >38.3 C, or cervical adenopathy, or tonsillar exudate, or culture positive for group A beta-hemolytic streptococcus (Paradise 1984). true or false. magent does not examine the patient.","type":"boolean"}},"required":["ge_7_episodes_preceding_year","ge_5_episodes_each_of_2_years","ge_3_episodes_each_of_3_years","qualifying_episode_features"],"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":["paradise","pharyngitis","tonsillectomy","throat","emergency","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:26:49.16Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:26:49.05Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ge_3_episodes_each_of_3_years":false,"ge_5_episodes_each_of_2_years":false,"ge_7_episodes_preceding_year":true,"qualifying_episode_features":true},{"ge_3_episodes_each_of_3_years":false,"ge_5_episodes_each_of_2_years":false,"ge_7_episodes_preceding_year":true,"qualifying_episode_features":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Paradise JL, Bluestone CD, Bachman RZ, Colborn DK, Bernard BS, Taylor FH, Rogers KD, Schwarzbach RH, Stool SE, Friday GA","doi":"10.1056/NEJM198403153101102","id":"paradise-1984","pmid":"6700642","source":"N Engl J Med. 1984;310(11):674-683","title":"Efficacy of tonsillectomy for recurrent throat infection in severely affected children. Results of parallel randomized and nonrandomized clinical trials"},"criteria":[{"factor":"ge_7_episodes_preceding_year","met":true},{"factor":"ge_5_episodes_each_of_2_years","met":false},{"factor":"ge_3_episodes_each_of_3_years","met":false},{"factor":"frequency_met","met":true},{"factor":"qualifying_episode_features","met":true}],"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":"paradise","formula_expression":"paradise_criteria iff qualifying_episode_features and (ge_7_episodes_preceding_year or ge_5_episodes_each_of_2_years or ge_3_episodes_each_of_3_years) (Paradise 1984 eligibility frequency for recurrent throat infection)","frequency_met":true,"paradise_criteria":true},{"citation":{"authors":"Paradise JL, Bluestone CD, Bachman RZ, Colborn DK, Bernard BS, Taylor FH, Rogers KD, Schwarzbach RH, Stool SE, Friday GA","doi":"10.1056/NEJM198403153101102","id":"paradise-1984","pmid":"6700642","source":"N Engl J Med. 1984;310(11):674-683","title":"Efficacy of tonsillectomy for recurrent throat infection in severely affected children. Results of parallel randomized and nonrandomized clinical trials"},"criteria":[{"factor":"ge_7_episodes_preceding_year","met":true},{"factor":"ge_5_episodes_each_of_2_years","met":false},{"factor":"ge_3_episodes_each_of_3_years","met":false},{"factor":"frequency_met","met":true},{"factor":"qualifying_episode_features","met":true}],"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":"paradise","formula_expression":"paradise_criteria iff qualifying_episode_features and (ge_7_episodes_preceding_year or ge_5_episodes_each_of_2_years or ge_3_episodes_each_of_3_years) (Paradise 1984 eligibility frequency for recurrent throat infection)","frequency_met":true,"paradise_criteria":true}],"path":"/api/calc/paradise"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ge_3_episodes_each_of_3_years":{"description":"Three or more episodes in each of the preceding three years (Paradise 1984). true or false as assigned by the caller. magent does not count episodes.","type":"boolean"},"ge_5_episodes_each_of_2_years":{"description":"Five or more episodes in each of the preceding two years (Paradise 1984). true or false as assigned by the caller. magent does not count episodes.","type":"boolean"},"ge_7_episodes_preceding_year":{"description":"Seven or more episodes of throat infection in the preceding year (Paradise 1984). true or false as assigned by the caller. magent does not count episodes.","type":"boolean"},"qualifying_episode_features":{"description":"Caller assigns that counting episodes had the trial's published features: fever >38.3 C, or cervical adenopathy, or tonsillar exudate, or culture positive for group A beta-hemolytic streptococcus (Paradise 1984). true or false. magent does not examine the patient.","type":"boolean"}},"required":["ge_7_episodes_preceding_year","ge_5_episodes_each_of_2_years","ge_3_episodes_each_of_3_years","qualifying_episode_features"],"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},{"id":38984,"slug":"38984","resource":"https://api.magentlab.com/api/calc/papi","description":"Korabathina 2012 pulmonary artery pulsatility index from PA systolic (mm Hg), PA diastolic (mm Hg), and RAP (mm Hg): PAPi = (PAS − PAD) / RAP. Returns papi to two decimals and the paper ROC band (<=0.9 or >0.9) from the unrounded ratio. Equality at 0.9 is <=0.9. RAP 0 is invalid (no RAP=1 substitution). Not a medical device, RV-failure diagnosis, or device threshold.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"pa_diastolic_mm_hg":12,"pa_systolic_mm_hg":30,"ra_mm_hg":6},{"pa_diastolic_mm_hg":12,"pa_systolic_mm_hg":30,"ra_mm_hg":6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":">0.9","citation":{"authors":"Korabathina R, Heffernan KS, Paruchuri V, et al.","doi":"10.1002/ccd.23309","id":"korabathina-2012","pmid":"21954053","source":"Catheter Cardiovasc Interv. 2012;80(4):593-600","title":"The pulmonary artery pulsatility index identifies severe right ventricular dysfunction in acute inferior myocardial infarction."},"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":"papi","formula_expression":"papi = (pa_systolic_mm_hg - pa_diastolic_mm_hg) / ra_mm_hg","pa_diastolic_mm_hg":12,"pa_systolic_mm_hg":30,"papi":3,"ra_mm_hg":6},{"band":">0.9","citation":{"authors":"Korabathina R, Heffernan KS, Paruchuri V, et al.","doi":"10.1002/ccd.23309","id":"korabathina-2012","pmid":"21954053","source":"Catheter Cardiovasc Interv. 2012;80(4):593-600","title":"The pulmonary artery pulsatility index identifies severe right ventricular dysfunction in acute inferior myocardial infarction."},"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":"papi","formula_expression":"papi = (pa_systolic_mm_hg - pa_diastolic_mm_hg) / ra_mm_hg","pa_diastolic_mm_hg":12,"pa_systolic_mm_hg":30,"papi":3,"ra_mm_hg":6}],"path":"/api/calc/papi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"pa_diastolic_mm_hg":{"description":"Pulmonary artery diastolic pressure in mm Hg (1-80). Must be less than PA systolic.","type":"number"},"pa_systolic_mm_hg":{"description":"Pulmonary artery systolic pressure in mm Hg (10-150). Invasive catheter number; this tool does not read waveforms.","type":"number"},"ra_mm_hg":{"description":"Right atrial pressure in mm Hg (1-40). RAP 0 is invalid; Korabathina 2012 did not substitute RAP=1.","type":"number"}},"required":["pa_systolic_mm_hg","pa_diastolic_mm_hg","ra_mm_hg"],"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":["papi","hemodynamics","right-ventricle","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:26:48.204Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:26:48.06Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"pa_diastolic_mm_hg":12,"pa_systolic_mm_hg":30,"ra_mm_hg":6},{"pa_diastolic_mm_hg":12,"pa_systolic_mm_hg":30,"ra_mm_hg":6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":">0.9","citation":{"authors":"Korabathina R, Heffernan KS, Paruchuri V, et al.","doi":"10.1002/ccd.23309","id":"korabathina-2012","pmid":"21954053","source":"Catheter Cardiovasc Interv. 2012;80(4):593-600","title":"The pulmonary artery pulsatility index identifies severe right ventricular dysfunction in acute inferior myocardial infarction."},"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":"papi","formula_expression":"papi = (pa_systolic_mm_hg - pa_diastolic_mm_hg) / ra_mm_hg","pa_diastolic_mm_hg":12,"pa_systolic_mm_hg":30,"papi":3,"ra_mm_hg":6},{"band":">0.9","citation":{"authors":"Korabathina R, Heffernan KS, Paruchuri V, et al.","doi":"10.1002/ccd.23309","id":"korabathina-2012","pmid":"21954053","source":"Catheter Cardiovasc Interv. 2012;80(4):593-600","title":"The pulmonary artery pulsatility index identifies severe right ventricular dysfunction in acute inferior myocardial infarction."},"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":"papi","formula_expression":"papi = (pa_systolic_mm_hg - pa_diastolic_mm_hg) / ra_mm_hg","pa_diastolic_mm_hg":12,"pa_systolic_mm_hg":30,"papi":3,"ra_mm_hg":6}],"path":"/api/calc/papi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"pa_diastolic_mm_hg":{"description":"Pulmonary artery diastolic pressure in mm Hg (1-80). Must be less than PA systolic.","type":"number"},"pa_systolic_mm_hg":{"description":"Pulmonary artery systolic pressure in mm Hg (10-150). Invasive catheter number; this tool does not read waveforms.","type":"number"},"ra_mm_hg":{"description":"Right atrial pressure in mm Hg (1-40). RAP 0 is invalid; Korabathina 2012 did not substitute RAP=1.","type":"number"}},"required":["pa_systolic_mm_hg","pa_diastolic_mm_hg","ra_mm_hg"],"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},{"id":38985,"slug":"38985","resource":"https://api.magentlab.com/api/calc/palchak","description":"Palchak 2003. High risk after blunt head trauma in children 0-17 if any applicable predictor: abnormal mental status, clinical signs of skull fracture, history of vomiting, scalp hematoma (only if age <=2), or headache. Else low risk. ct_not_low_risk iff high. Scalp hematoma is parsed at all ages but scores only when age is 0, 1, or 2. Not PECARN, CATCH, CHALICE, Canadian CT Head, or NEXUS. magent does not examine the child or order CT. Not a diagnosis or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_mental_status":false,"age":10,"clinical_signs_skull_fracture":false,"headache":false,"history_of_vomiting":false,"scalp_hematoma":false},{"abnormal_mental_status":false,"age":10,"clinical_signs_skull_fracture":false,"headache":false,"history_of_vomiting":false,"scalp_hematoma":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":10,"citation":{"authors":"Palchak MJ, Holmes JF, Vance CW, et al.","doi":"10.1067/S0196-0644(03)00425-6","id":"palchak-2003","pmid":"14520320","source":"Ann Emerg Med. 2003;42(4):492-506","title":"A decision rule for identifying children at low risk for brain injuries after blunt head trauma"},"criteria":[{"factor":"abnormal_mental_status","met":false},{"factor":"clinical_signs_skull_fracture","met":false},{"factor":"history_of_vomiting","met":false},{"factor":"scalp_hematoma","met":false},{"factor":"headache","met":false}],"ct_not_low_risk":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":"palchak","formula_expression":"high if any applicable predictor (abnormal_mental_status, clinical_signs_skull_fracture, history_of_vomiting, scalp_hematoma only if age <= 2, headache); else low; ct_not_low_risk iff high","high_risk":false,"low_risk":true},{"age_years":10,"citation":{"authors":"Palchak MJ, Holmes JF, Vance CW, et al.","doi":"10.1067/S0196-0644(03)00425-6","id":"palchak-2003","pmid":"14520320","source":"Ann Emerg Med. 2003;42(4):492-506","title":"A decision rule for identifying children at low risk for brain injuries after blunt head trauma"},"criteria":[{"factor":"abnormal_mental_status","met":false},{"factor":"clinical_signs_skull_fracture","met":false},{"factor":"history_of_vomiting","met":false},{"factor":"scalp_hematoma","met":false},{"factor":"headache","met":false}],"ct_not_low_risk":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":"palchak","formula_expression":"high if any applicable predictor (abnormal_mental_status, clinical_signs_skull_fracture, history_of_vomiting, scalp_hematoma only if age <= 2, headache); else low; ct_not_low_risk iff high","high_risk":false,"low_risk":true}],"path":"/api/calc/palchak"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_mental_status":{"description":"Abnormal mental status as assigned by the caller. true or false. High-risk at all ages 0-17. magent does not examine the child or assign GCS.","type":"boolean"},"age":{"description":"Age in years (integer 0-17). Scalp hematoma is a high-risk predictor only when age is 0, 1, or 2; age 3-17 parse scalp_hematoma but do not score it. Age 18 is rejected.","type":"integer"},"clinical_signs_skull_fracture":{"description":"Clinical signs of skull fracture as assigned by the caller. true or false. High-risk at all ages 0-17. magent does not examine the child or read a radiograph.","type":"boolean"},"headache":{"description":"Headache as assigned by the caller. true or false. High-risk at all ages 0-17 (Palchak 2003 listed headache as a predictor). magent does not examine the child.","type":"boolean"},"history_of_vomiting":{"description":"History of vomiting as assigned by the caller. true or false. High-risk at all ages 0-17.","type":"boolean"},"scalp_hematoma":{"description":"Scalp hematoma as assigned by the caller. true or false. High-risk only when age is 0, 1, or 2; parsed but not scored when age >= 3. magent does not examine the scalp.","type":"boolean"}},"required":["age","abnormal_mental_status","clinical_signs_skull_fracture","history_of_vomiting","scalp_hematoma","headache"],"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":["palchak","head-ct","pediatric","emergency","trauma","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:21:44.62Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:21:44.47Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_mental_status":false,"age":10,"clinical_signs_skull_fracture":false,"headache":false,"history_of_vomiting":false,"scalp_hematoma":false},{"abnormal_mental_status":false,"age":10,"clinical_signs_skull_fracture":false,"headache":false,"history_of_vomiting":false,"scalp_hematoma":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":10,"citation":{"authors":"Palchak MJ, Holmes JF, Vance CW, et al.","doi":"10.1067/S0196-0644(03)00425-6","id":"palchak-2003","pmid":"14520320","source":"Ann Emerg Med. 2003;42(4):492-506","title":"A decision rule for identifying children at low risk for brain injuries after blunt head trauma"},"criteria":[{"factor":"abnormal_mental_status","met":false},{"factor":"clinical_signs_skull_fracture","met":false},{"factor":"history_of_vomiting","met":false},{"factor":"scalp_hematoma","met":false},{"factor":"headache","met":false}],"ct_not_low_risk":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":"palchak","formula_expression":"high if any applicable predictor (abnormal_mental_status, clinical_signs_skull_fracture, history_of_vomiting, scalp_hematoma only if age <= 2, headache); else low; ct_not_low_risk iff high","high_risk":false,"low_risk":true},{"age_years":10,"citation":{"authors":"Palchak MJ, Holmes JF, Vance CW, et al.","doi":"10.1067/S0196-0644(03)00425-6","id":"palchak-2003","pmid":"14520320","source":"Ann Emerg Med. 2003;42(4):492-506","title":"A decision rule for identifying children at low risk for brain injuries after blunt head trauma"},"criteria":[{"factor":"abnormal_mental_status","met":false},{"factor":"clinical_signs_skull_fracture","met":false},{"factor":"history_of_vomiting","met":false},{"factor":"scalp_hematoma","met":false},{"factor":"headache","met":false}],"ct_not_low_risk":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":"palchak","formula_expression":"high if any applicable predictor (abnormal_mental_status, clinical_signs_skull_fracture, history_of_vomiting, scalp_hematoma only if age <= 2, headache); else low; ct_not_low_risk iff high","high_risk":false,"low_risk":true}],"path":"/api/calc/palchak"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_mental_status":{"description":"Abnormal mental status as assigned by the caller. true or false. High-risk at all ages 0-17. magent does not examine the child or assign GCS.","type":"boolean"},"age":{"description":"Age in years (integer 0-17). Scalp hematoma is a high-risk predictor only when age is 0, 1, or 2; age 3-17 parse scalp_hematoma but do not score it. Age 18 is rejected.","type":"integer"},"clinical_signs_skull_fracture":{"description":"Clinical signs of skull fracture as assigned by the caller. true or false. High-risk at all ages 0-17. magent does not examine the child or read a radiograph.","type":"boolean"},"headache":{"description":"Headache as assigned by the caller. true or false. High-risk at all ages 0-17 (Palchak 2003 listed headache as a predictor). magent does not examine the child.","type":"boolean"},"history_of_vomiting":{"description":"History of vomiting as assigned by the caller. true or false. High-risk at all ages 0-17.","type":"boolean"},"scalp_hematoma":{"description":"Scalp hematoma as assigned by the caller. true or false. High-risk only when age is 0, 1, or 2; parsed but not scored when age >= 3. magent does not examine the scalp.","type":"boolean"}},"required":["age","abnormal_mental_status","clinical_signs_skull_fracture","history_of_vomiting","scalp_hematoma","headache"],"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},{"id":38986,"slug":"38986","resource":"https://api.magentlab.com/api/calc/padua","description":"Barbar 2010 Padua Prediction Score for hospitalized medical patients: cancer 3, previous VTE 3, reduced mobility 3, thrombophilia 3, recent trauma/surgery 2, age >=70 1, heart/respiratory failure 1, acute MI/stroke 1, infection/rheumatologic 1, obesity (BMI>=30) 1, hormonal treatment 1. Max 20. <4 low; >=4 high. Not a diagnosis. Not Caprini, IMPROVE, or Khorana.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"active_cancer":false,"acute_infection_or_rheumatologic_disorder":false,"acute_mi_or_ischemic_stroke":false,"age":50,"heart_or_respiratory_failure":false,"obesity":false,"ongoing_hormonal_treatment":false,"previous_vte":false,"recent_trauma_or_surgery":false,"reduced_mobility":false,"thrombophilic_condition":false},{"active_cancer":false,"acute_infection_or_rheumatologic_disorder":false,"acute_mi_or_ischemic_stroke":false,"age":50,"heart_or_respiratory_failure":false,"obesity":false,"ongoing_hormonal_treatment":false,"previous_vte":false,"recent_trauma_or_surgery":false,"reduced_mobility":false,"thrombophilic_condition":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Barbar S, Noventa F, Rossetto V, et al.","doi":"10.1111/j.1538-7836.2010.04044.x","id":"barbar-2010","source":"J Thromb Haemost. 2010;8(11):2450-2457","title":"A risk assessment model for the identification of hospitalized medical patients at risk for venous thromboembolism: the Padua Prediction Score"},"components":[{"factor":"active_cancer","points":0,"present":false},{"factor":"previous_vte","points":0,"present":false},{"factor":"reduced_mobility","points":0,"present":false},{"factor":"thrombophilic_condition","points":0,"present":false},{"factor":"recent_trauma_or_surgery","points":0,"present":false},{"factor":"age_ge_70","points":0,"present":false,"value":50},{"factor":"heart_or_respiratory_failure","points":0,"present":false},{"factor":"acute_mi_or_ischemic_stroke","points":0,"present":false},{"factor":"acute_infection_or_rheumatologic_disorder","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"ongoing_hormonal_treatment","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":"padua","formula_expression":"Padua = active_cancer (3) + previous_vte (3) + reduced_mobility (3) + thrombophilic_condition (3) + recent_trauma_or_surgery (2) + age>=70 (1) + heart_or_respiratory_failure (1) + acute_mi_or_ischemic_stroke (1) + acute_infection_or_rheumatologic_disorder (1) + obesity (1) + ongoing_hormonal_treatment (1); max 20; <4 low, >=4 high","max_score":20,"padua_risk":"low","score":0},{"age_years":50,"citation":{"authors":"Barbar S, Noventa F, Rossetto V, et al.","doi":"10.1111/j.1538-7836.2010.04044.x","id":"barbar-2010","source":"J Thromb Haemost. 2010;8(11):2450-2457","title":"A risk assessment model for the identification of hospitalized medical patients at risk for venous thromboembolism: the Padua Prediction Score"},"components":[{"factor":"active_cancer","points":0,"present":false},{"factor":"previous_vte","points":0,"present":false},{"factor":"reduced_mobility","points":0,"present":false},{"factor":"thrombophilic_condition","points":0,"present":false},{"factor":"recent_trauma_or_surgery","points":0,"present":false},{"factor":"age_ge_70","points":0,"present":false,"value":50},{"factor":"heart_or_respiratory_failure","points":0,"present":false},{"factor":"acute_mi_or_ischemic_stroke","points":0,"present":false},{"factor":"acute_infection_or_rheumatologic_disorder","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"ongoing_hormonal_treatment","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":"padua","formula_expression":"Padua = active_cancer (3) + previous_vte (3) + reduced_mobility (3) + thrombophilic_condition (3) + recent_trauma_or_surgery (2) + age>=70 (1) + heart_or_respiratory_failure (1) + acute_mi_or_ischemic_stroke (1) + acute_infection_or_rheumatologic_disorder (1) + obesity (1) + ongoing_hormonal_treatment (1); max 20; <4 low, >=4 high","max_score":20,"padua_risk":"low","score":0}],"path":"/api/calc/padua"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_cancer":{"description":"Active cancer as assigned by the caller (local or distant metastases and/or chemotherapy or radiotherapy in the previous 6 months). true or false. 3 points if true.","type":"boolean"},"acute_infection_or_rheumatologic_disorder":{"description":"Acute infection and/or rheumatologic disorder. true or false. 1 point if true.","type":"boolean"},"acute_mi_or_ischemic_stroke":{"description":"Acute myocardial infarction or ischemic stroke. true or false. 1 point if true.","type":"boolean"},"age":{"description":"Age in years (18-120). Scores 1 when age ≥70; 69 does not score.","type":"integer"},"heart_or_respiratory_failure":{"description":"Heart and/or respiratory failure. true or false. 1 point if true.","type":"boolean"},"obesity":{"description":"Obesity as assigned by the caller (BMI ≥30). true or false. magent does not take height or weight. 1 point if true.","type":"boolean"},"ongoing_hormonal_treatment":{"description":"Ongoing hormonal treatment. true or false. 1 point if true.","type":"boolean"},"previous_vte":{"description":"Previous VTE as assigned by the caller (exclude superficial vein thrombosis). true or false. 3 points if true.","type":"boolean"},"recent_trauma_or_surgery":{"description":"Recent trauma and/or surgery as assigned by the caller (≤1 month). true or false. 2 points if true.","type":"boolean"},"reduced_mobility":{"description":"Reduced mobility as assigned by the caller (bedrest with bathroom privileges ≥3 days). true or false. 3 points if true.","type":"boolean"},"thrombophilic_condition":{"description":"Known thrombophilic condition as assigned by the caller. true or false. 3 points if true.","type":"boolean"}},"required":["age","active_cancer","previous_vte","reduced_mobility","thrombophilic_condition","recent_trauma_or_surgery","heart_or_respiratory_failure","acute_mi_or_ischemic_stroke","acute_infection_or_rheumatologic_disorder","obesity","ongoing_hormonal_treatment"],"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":["padua","vte","thromboprophylaxis","score","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:21:43.854Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:21:43.732Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"active_cancer":false,"acute_infection_or_rheumatologic_disorder":false,"acute_mi_or_ischemic_stroke":false,"age":50,"heart_or_respiratory_failure":false,"obesity":false,"ongoing_hormonal_treatment":false,"previous_vte":false,"recent_trauma_or_surgery":false,"reduced_mobility":false,"thrombophilic_condition":false},{"active_cancer":false,"acute_infection_or_rheumatologic_disorder":false,"acute_mi_or_ischemic_stroke":false,"age":50,"heart_or_respiratory_failure":false,"obesity":false,"ongoing_hormonal_treatment":false,"previous_vte":false,"recent_trauma_or_surgery":false,"reduced_mobility":false,"thrombophilic_condition":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Barbar S, Noventa F, Rossetto V, et al.","doi":"10.1111/j.1538-7836.2010.04044.x","id":"barbar-2010","source":"J Thromb Haemost. 2010;8(11):2450-2457","title":"A risk assessment model for the identification of hospitalized medical patients at risk for venous thromboembolism: the Padua Prediction Score"},"components":[{"factor":"active_cancer","points":0,"present":false},{"factor":"previous_vte","points":0,"present":false},{"factor":"reduced_mobility","points":0,"present":false},{"factor":"thrombophilic_condition","points":0,"present":false},{"factor":"recent_trauma_or_surgery","points":0,"present":false},{"factor":"age_ge_70","points":0,"present":false,"value":50},{"factor":"heart_or_respiratory_failure","points":0,"present":false},{"factor":"acute_mi_or_ischemic_stroke","points":0,"present":false},{"factor":"acute_infection_or_rheumatologic_disorder","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"ongoing_hormonal_treatment","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":"padua","formula_expression":"Padua = active_cancer (3) + previous_vte (3) + reduced_mobility (3) + thrombophilic_condition (3) + recent_trauma_or_surgery (2) + age>=70 (1) + heart_or_respiratory_failure (1) + acute_mi_or_ischemic_stroke (1) + acute_infection_or_rheumatologic_disorder (1) + obesity (1) + ongoing_hormonal_treatment (1); max 20; <4 low, >=4 high","max_score":20,"padua_risk":"low","score":0},{"age_years":50,"citation":{"authors":"Barbar S, Noventa F, Rossetto V, et al.","doi":"10.1111/j.1538-7836.2010.04044.x","id":"barbar-2010","source":"J Thromb Haemost. 2010;8(11):2450-2457","title":"A risk assessment model for the identification of hospitalized medical patients at risk for venous thromboembolism: the Padua Prediction Score"},"components":[{"factor":"active_cancer","points":0,"present":false},{"factor":"previous_vte","points":0,"present":false},{"factor":"reduced_mobility","points":0,"present":false},{"factor":"thrombophilic_condition","points":0,"present":false},{"factor":"recent_trauma_or_surgery","points":0,"present":false},{"factor":"age_ge_70","points":0,"present":false,"value":50},{"factor":"heart_or_respiratory_failure","points":0,"present":false},{"factor":"acute_mi_or_ischemic_stroke","points":0,"present":false},{"factor":"acute_infection_or_rheumatologic_disorder","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"ongoing_hormonal_treatment","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":"padua","formula_expression":"Padua = active_cancer (3) + previous_vte (3) + reduced_mobility (3) + thrombophilic_condition (3) + recent_trauma_or_surgery (2) + age>=70 (1) + heart_or_respiratory_failure (1) + acute_mi_or_ischemic_stroke (1) + acute_infection_or_rheumatologic_disorder (1) + obesity (1) + ongoing_hormonal_treatment (1); max 20; <4 low, >=4 high","max_score":20,"padua_risk":"low","score":0}],"path":"/api/calc/padua"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_cancer":{"description":"Active cancer as assigned by the caller (local or distant metastases and/or chemotherapy or radiotherapy in the previous 6 months). true or false. 3 points if true.","type":"boolean"},"acute_infection_or_rheumatologic_disorder":{"description":"Acute infection and/or rheumatologic disorder. true or false. 1 point if true.","type":"boolean"},"acute_mi_or_ischemic_stroke":{"description":"Acute myocardial infarction or ischemic stroke. true or false. 1 point if true.","type":"boolean"},"age":{"description":"Age in years (18-120). Scores 1 when age ≥70; 69 does not score.","type":"integer"},"heart_or_respiratory_failure":{"description":"Heart and/or respiratory failure. true or false. 1 point if true.","type":"boolean"},"obesity":{"description":"Obesity as assigned by the caller (BMI ≥30). true or false. magent does not take height or weight. 1 point if true.","type":"boolean"},"ongoing_hormonal_treatment":{"description":"Ongoing hormonal treatment. true or false. 1 point if true.","type":"boolean"},"previous_vte":{"description":"Previous VTE as assigned by the caller (exclude superficial vein thrombosis). true or false. 3 points if true.","type":"boolean"},"recent_trauma_or_surgery":{"description":"Recent trauma and/or surgery as assigned by the caller (≤1 month). true or false. 2 points if true.","type":"boolean"},"reduced_mobility":{"description":"Reduced mobility as assigned by the caller (bedrest with bathroom privileges ≥3 days). true or false. 3 points if true.","type":"boolean"},"thrombophilic_condition":{"description":"Known thrombophilic condition as assigned by the caller. true or false. 3 points if true.","type":"boolean"}},"required":["age","active_cancer","previous_vte","reduced_mobility","thrombophilic_condition","recent_trauma_or_surgery","heart_or_respiratory_failure","acute_mi_or_ischemic_stroke","acute_infection_or_rheumatologic_disorder","obesity","ongoing_hormonal_treatment"],"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},{"id":38987,"slug":"38987","resource":"https://api.magentlab.com/api/calc/ottawa_knee","description":"Ottawa knee rule (Stiell 1995). Knee x-ray is indicated when any of: age 55 or older, bone tenderness at the fibular head, isolated patellar tenderness (caller-applied), inability to flex to 90 degrees, or inability to bear weight both immediately after injury and in the emergency department (four steps). One weight-bearing failure alone is not enough. Not a diagnosis of fracture, not the Ottawa ankle or foot rule, and not the Pittsburgh knee rule. magent does not examine the knee.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"fibular_head_tenderness":false,"flexion_less_than_90":false,"isolated_patellar_tenderness":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":false},{"age":40,"fibular_head_tenderness":false,"flexion_less_than_90":false,"isolated_patellar_tenderness":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Stiell IG, Greenberg GH, Wells GA, et al.","doi":"10.1016/S0196-0644(95)70106-0","id":"stiell-1995","source":"Ann Emerg Med. 1995;26(4):405-413","title":"Derivation of a decision rule for the use of radiography in acute knee injuries"},"criteria":[{"factor":"age_ge_55","met":false,"value":40},{"factor":"fibular_head_tenderness","met":false},{"factor":"isolated_patellar_tenderness","met":false},{"factor":"flexion_less_than_90","met":false},{"factor":"unable_to_bear_weight_both","met":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":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":"ottawa_knee","formula_expression":"Knee x-ray indicated iff age >= 55 or fibular_head_tenderness or isolated_patellar_tenderness or flexion_less_than_90 or (unable_to_bear_weight_immediately and unable_to_bear_weight_in_ed)","xray_indicated":false},{"age_years":40,"citation":{"authors":"Stiell IG, Greenberg GH, Wells GA, et al.","doi":"10.1016/S0196-0644(95)70106-0","id":"stiell-1995","source":"Ann Emerg Med. 1995;26(4):405-413","title":"Derivation of a decision rule for the use of radiography in acute knee injuries"},"criteria":[{"factor":"age_ge_55","met":false,"value":40},{"factor":"fibular_head_tenderness","met":false},{"factor":"isolated_patellar_tenderness","met":false},{"factor":"flexion_less_than_90","met":false},{"factor":"unable_to_bear_weight_both","met":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":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":"ottawa_knee","formula_expression":"Knee x-ray indicated iff age >= 55 or fibular_head_tenderness or isolated_patellar_tenderness or flexion_less_than_90 or (unable_to_bear_weight_immediately and unable_to_bear_weight_in_ed)","xray_indicated":false}],"path":"/api/calc/ottawa_knee"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥55 meets this criterion; 54 does not.","type":"integer"},"fibular_head_tenderness":{"description":"Bone tenderness at the head of the fibula. true or false.","type":"boolean"},"flexion_less_than_90":{"description":"Inability to flex the knee to 90 degrees. true or false.","type":"boolean"},"isolated_patellar_tenderness":{"description":"Isolated patellar tenderness as assigned by the caller. true or false. magent does not infer isolation from other flags.","type":"boolean"},"unable_to_bear_weight_immediately":{"description":"Unable to bear weight immediately after injury (four steps). true or false. Counts only when also unable in the emergency department.","type":"boolean"},"unable_to_bear_weight_in_ed":{"description":"Unable to bear weight in the emergency department (four steps). true or false. Counts only when also unable immediately after injury.","type":"boolean"}},"required":["age","fibular_head_tenderness","isolated_patellar_tenderness","flexion_less_than_90","unable_to_bear_weight_immediately","unable_to_bear_weight_in_ed"],"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":["ottawa-knee","knee","radiography","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:21:43.073Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:21:42.919Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"fibular_head_tenderness":false,"flexion_less_than_90":false,"isolated_patellar_tenderness":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":false},{"age":40,"fibular_head_tenderness":false,"flexion_less_than_90":false,"isolated_patellar_tenderness":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Stiell IG, Greenberg GH, Wells GA, et al.","doi":"10.1016/S0196-0644(95)70106-0","id":"stiell-1995","source":"Ann Emerg Med. 1995;26(4):405-413","title":"Derivation of a decision rule for the use of radiography in acute knee injuries"},"criteria":[{"factor":"age_ge_55","met":false,"value":40},{"factor":"fibular_head_tenderness","met":false},{"factor":"isolated_patellar_tenderness","met":false},{"factor":"flexion_less_than_90","met":false},{"factor":"unable_to_bear_weight_both","met":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":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":"ottawa_knee","formula_expression":"Knee x-ray indicated iff age >= 55 or fibular_head_tenderness or isolated_patellar_tenderness or flexion_less_than_90 or (unable_to_bear_weight_immediately and unable_to_bear_weight_in_ed)","xray_indicated":false},{"age_years":40,"citation":{"authors":"Stiell IG, Greenberg GH, Wells GA, et al.","doi":"10.1016/S0196-0644(95)70106-0","id":"stiell-1995","source":"Ann Emerg Med. 1995;26(4):405-413","title":"Derivation of a decision rule for the use of radiography in acute knee injuries"},"criteria":[{"factor":"age_ge_55","met":false,"value":40},{"factor":"fibular_head_tenderness","met":false},{"factor":"isolated_patellar_tenderness","met":false},{"factor":"flexion_less_than_90","met":false},{"factor":"unable_to_bear_weight_both","met":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":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":"ottawa_knee","formula_expression":"Knee x-ray indicated iff age >= 55 or fibular_head_tenderness or isolated_patellar_tenderness or flexion_less_than_90 or (unable_to_bear_weight_immediately and unable_to_bear_weight_in_ed)","xray_indicated":false}],"path":"/api/calc/ottawa_knee"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥55 meets this criterion; 54 does not.","type":"integer"},"fibular_head_tenderness":{"description":"Bone tenderness at the head of the fibula. true or false.","type":"boolean"},"flexion_less_than_90":{"description":"Inability to flex the knee to 90 degrees. true or false.","type":"boolean"},"isolated_patellar_tenderness":{"description":"Isolated patellar tenderness as assigned by the caller. true or false. magent does not infer isolation from other flags.","type":"boolean"},"unable_to_bear_weight_immediately":{"description":"Unable to bear weight immediately after injury (four steps). true or false. Counts only when also unable in the emergency department.","type":"boolean"},"unable_to_bear_weight_in_ed":{"description":"Unable to bear weight in the emergency department (four steps). true or false. Counts only when also unable immediately after injury.","type":"boolean"}},"required":["age","fibular_head_tenderness","isolated_patellar_tenderness","flexion_less_than_90","unable_to_bear_weight_immediately","unable_to_bear_weight_in_ed"],"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},{"id":38988,"slug":"38988","resource":"https://api.magentlab.com/api/calc/ottawa_copd","description":"Ottawa COPD Risk Scale (Stiell 2014 derivation). Ten caller-assigned flags: CABG 1, PVD intervention 1, intubation 2, arrival HR >=110 2, too ill to walk or HR >=120 (SaO2 <90%) 2, ischemic ECG 2, CXR congestion 1, Hb <100 g/L 3, urea >=12 1, serum CO2 >=35 1; max 16. Bands low/medium/high/very high with Table 8 SAE percents when published. Not a medical device or admission order; not BAP-65 or DECAF; not the 2018 validation as formula. magent does not walk the patient or read the ECG or CXR.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cabg":false,"hemoglobin_lt_100":false,"hr_arrival_ge_110":false,"intubation_respiratory":false,"ischemic_ecg":false,"pulmonary_congestion":false,"pvd_intervention":false,"serum_co2_ge_35":false,"too_ill_to_walk":false,"urea_ge_12":false},{"cabg":false,"hemoglobin_lt_100":false,"hr_arrival_ge_110":false,"intubation_respiratory":false,"ischemic_ecg":false,"pulmonary_congestion":false,"pvd_intervention":false,"serum_co2_ge_35":false,"too_ill_to_walk":false,"urea_ge_12":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stiell IG, Clement CM, Aaron SD, Rowe BH, Perry JJ, Brison RJ, Calder LA, Lang E, Borgundvaag B, Forster AJ, Wells GA","doi":"10.1503/cmaj.130968","id":"stiell-2014","pmid":"24549463","source":"CMAJ. 2014;186(6):E193-E204","title":"Clinical characteristics associated with adverse events in patients with exacerbation of chronic obstructive pulmonary disease: a prospective cohort study"},"components":[{"factor":"cabg","points":0,"present":false},{"factor":"pvd_intervention","points":0,"present":false},{"factor":"intubation_respiratory","points":0,"present":false},{"factor":"hr_arrival_ge_110","points":0,"present":false},{"factor":"too_ill_to_walk","points":0,"present":false},{"factor":"ischemic_ecg","points":0,"present":false},{"factor":"pulmonary_congestion","points":0,"present":false},{"factor":"hemoglobin_lt_100","points":0,"present":false},{"factor":"urea_ge_12","points":0,"present":false},{"factor":"serum_co2_ge_35","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":"ottawa_copd","formula_expression":"ottawa_copd = cabg(1) + pvd_intervention(1) + intubation_respiratory(2) + hr_arrival_ge_110(2) + too_ill_to_walk(2) + ischemic_ecg(2) + pulmonary_congestion(1) + hemoglobin_lt_100(3) + urea_ge_12(1) + serum_co2_ge_35(1); Stiell 2014 derivation Tables 6-8; max 16; SAE 2.2% (score 0) to 91.4% (score 10); score 9 and >10 SAE not published; admission thresholds of total score 1, 2, or 3 had sensitivities 91.2 / 80.9 / 60.3%","max_score":16,"ottawa_copd_band":"low","sae_percent":2.2,"score":0},{"citation":{"authors":"Stiell IG, Clement CM, Aaron SD, Rowe BH, Perry JJ, Brison RJ, Calder LA, Lang E, Borgundvaag B, Forster AJ, Wells GA","doi":"10.1503/cmaj.130968","id":"stiell-2014","pmid":"24549463","source":"CMAJ. 2014;186(6):E193-E204","title":"Clinical characteristics associated with adverse events in patients with exacerbation of chronic obstructive pulmonary disease: a prospective cohort study"},"components":[{"factor":"cabg","points":0,"present":false},{"factor":"pvd_intervention","points":0,"present":false},{"factor":"intubation_respiratory","points":0,"present":false},{"factor":"hr_arrival_ge_110","points":0,"present":false},{"factor":"too_ill_to_walk","points":0,"present":false},{"factor":"ischemic_ecg","points":0,"present":false},{"factor":"pulmonary_congestion","points":0,"present":false},{"factor":"hemoglobin_lt_100","points":0,"present":false},{"factor":"urea_ge_12","points":0,"present":false},{"factor":"serum_co2_ge_35","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":"ottawa_copd","formula_expression":"ottawa_copd = cabg(1) + pvd_intervention(1) + intubation_respiratory(2) + hr_arrival_ge_110(2) + too_ill_to_walk(2) + ischemic_ecg(2) + pulmonary_congestion(1) + hemoglobin_lt_100(3) + urea_ge_12(1) + serum_co2_ge_35(1); Stiell 2014 derivation Tables 6-8; max 16; SAE 2.2% (score 0) to 91.4% (score 10); score 9 and >10 SAE not published; admission thresholds of total score 1, 2, or 3 had sensitivities 91.2 / 80.9 / 60.3%","max_score":16,"ottawa_copd_band":"low","sae_percent":2.2,"score":0}],"path":"/api/calc/ottawa_copd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cabg":{"description":"Prior coronary artery bypass graft as assigned by the caller (Stiell 2014; 1 point if true). true or false.","type":"boolean"},"hemoglobin_lt_100":{"description":"Hemoglobin <100 g/L as assigned by the caller after applying the Stiell 2014 cutoff (3 points if true). true or false. magent does not assay hemoglobin.","type":"boolean"},"hr_arrival_ge_110":{"description":"Heart rate on ED arrival >=110/min as assigned by the caller after applying the Stiell 2014 cutoff (2 points if true). true or false. magent does not measure heart rate.","type":"boolean"},"intubation_respiratory":{"description":"Intubation for respiratory distress as assigned by the caller (Stiell 2014; 2 points if true). true or false.","type":"boolean"},"ischemic_ecg":{"description":"Acute ischemic changes on ECG as assigned by the caller (Stiell 2014; 2 points if true). true or false. magent does not interpret the ECG.","type":"boolean"},"pulmonary_congestion":{"description":"Pulmonary congestion on chest radiograph as assigned by the caller (Stiell 2014; 1 point if true). true or false. magent does not read the chest radiograph.","type":"boolean"},"pvd_intervention":{"description":"Peripheral vascular disease intervention as assigned by the caller (Stiell 2014; 1 point if true). true or false.","type":"boolean"},"serum_co2_ge_35":{"description":"Serum CO2 >=35 mmol/L as assigned by the caller after applying the Stiell 2014 cutoff (1 point if true). true or false. magent does not assay CO2.","type":"boolean"},"too_ill_to_walk":{"description":"Too ill to do the walk test after ED treatment, or heart rate >=120/min with SaO2 <90%, as assigned by the caller (Stiell 2014; one 2-point item, not two). true or false. magent does not walk the patient.","type":"boolean"},"urea_ge_12":{"description":"Urea >=12 mmol/L as assigned by the caller after applying the Stiell 2014 cutoff (1 point if true). true or false. magent does not assay urea.","type":"boolean"}},"required":["cabg","pvd_intervention","intubation_respiratory","hr_arrival_ge_110","too_ill_to_walk","ischemic_ecg","pulmonary_congestion","hemoglobin_lt_100","urea_ge_12","serum_co2_ge_35"],"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":["ottawa-copd","copd","emergency","stiell","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:16:29.911Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:16:29.778Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cabg":false,"hemoglobin_lt_100":false,"hr_arrival_ge_110":false,"intubation_respiratory":false,"ischemic_ecg":false,"pulmonary_congestion":false,"pvd_intervention":false,"serum_co2_ge_35":false,"too_ill_to_walk":false,"urea_ge_12":false},{"cabg":false,"hemoglobin_lt_100":false,"hr_arrival_ge_110":false,"intubation_respiratory":false,"ischemic_ecg":false,"pulmonary_congestion":false,"pvd_intervention":false,"serum_co2_ge_35":false,"too_ill_to_walk":false,"urea_ge_12":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stiell IG, Clement CM, Aaron SD, Rowe BH, Perry JJ, Brison RJ, Calder LA, Lang E, Borgundvaag B, Forster AJ, Wells GA","doi":"10.1503/cmaj.130968","id":"stiell-2014","pmid":"24549463","source":"CMAJ. 2014;186(6):E193-E204","title":"Clinical characteristics associated with adverse events in patients with exacerbation of chronic obstructive pulmonary disease: a prospective cohort study"},"components":[{"factor":"cabg","points":0,"present":false},{"factor":"pvd_intervention","points":0,"present":false},{"factor":"intubation_respiratory","points":0,"present":false},{"factor":"hr_arrival_ge_110","points":0,"present":false},{"factor":"too_ill_to_walk","points":0,"present":false},{"factor":"ischemic_ecg","points":0,"present":false},{"factor":"pulmonary_congestion","points":0,"present":false},{"factor":"hemoglobin_lt_100","points":0,"present":false},{"factor":"urea_ge_12","points":0,"present":false},{"factor":"serum_co2_ge_35","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":"ottawa_copd","formula_expression":"ottawa_copd = cabg(1) + pvd_intervention(1) + intubation_respiratory(2) + hr_arrival_ge_110(2) + too_ill_to_walk(2) + ischemic_ecg(2) + pulmonary_congestion(1) + hemoglobin_lt_100(3) + urea_ge_12(1) + serum_co2_ge_35(1); Stiell 2014 derivation Tables 6-8; max 16; SAE 2.2% (score 0) to 91.4% (score 10); score 9 and >10 SAE not published; admission thresholds of total score 1, 2, or 3 had sensitivities 91.2 / 80.9 / 60.3%","max_score":16,"ottawa_copd_band":"low","sae_percent":2.2,"score":0},{"citation":{"authors":"Stiell IG, Clement CM, Aaron SD, Rowe BH, Perry JJ, Brison RJ, Calder LA, Lang E, Borgundvaag B, Forster AJ, Wells GA","doi":"10.1503/cmaj.130968","id":"stiell-2014","pmid":"24549463","source":"CMAJ. 2014;186(6):E193-E204","title":"Clinical characteristics associated with adverse events in patients with exacerbation of chronic obstructive pulmonary disease: a prospective cohort study"},"components":[{"factor":"cabg","points":0,"present":false},{"factor":"pvd_intervention","points":0,"present":false},{"factor":"intubation_respiratory","points":0,"present":false},{"factor":"hr_arrival_ge_110","points":0,"present":false},{"factor":"too_ill_to_walk","points":0,"present":false},{"factor":"ischemic_ecg","points":0,"present":false},{"factor":"pulmonary_congestion","points":0,"present":false},{"factor":"hemoglobin_lt_100","points":0,"present":false},{"factor":"urea_ge_12","points":0,"present":false},{"factor":"serum_co2_ge_35","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":"ottawa_copd","formula_expression":"ottawa_copd = cabg(1) + pvd_intervention(1) + intubation_respiratory(2) + hr_arrival_ge_110(2) + too_ill_to_walk(2) + ischemic_ecg(2) + pulmonary_congestion(1) + hemoglobin_lt_100(3) + urea_ge_12(1) + serum_co2_ge_35(1); Stiell 2014 derivation Tables 6-8; max 16; SAE 2.2% (score 0) to 91.4% (score 10); score 9 and >10 SAE not published; admission thresholds of total score 1, 2, or 3 had sensitivities 91.2 / 80.9 / 60.3%","max_score":16,"ottawa_copd_band":"low","sae_percent":2.2,"score":0}],"path":"/api/calc/ottawa_copd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cabg":{"description":"Prior coronary artery bypass graft as assigned by the caller (Stiell 2014; 1 point if true). true or false.","type":"boolean"},"hemoglobin_lt_100":{"description":"Hemoglobin <100 g/L as assigned by the caller after applying the Stiell 2014 cutoff (3 points if true). true or false. magent does not assay hemoglobin.","type":"boolean"},"hr_arrival_ge_110":{"description":"Heart rate on ED arrival >=110/min as assigned by the caller after applying the Stiell 2014 cutoff (2 points if true). true or false. magent does not measure heart rate.","type":"boolean"},"intubation_respiratory":{"description":"Intubation for respiratory distress as assigned by the caller (Stiell 2014; 2 points if true). true or false.","type":"boolean"},"ischemic_ecg":{"description":"Acute ischemic changes on ECG as assigned by the caller (Stiell 2014; 2 points if true). true or false. magent does not interpret the ECG.","type":"boolean"},"pulmonary_congestion":{"description":"Pulmonary congestion on chest radiograph as assigned by the caller (Stiell 2014; 1 point if true). true or false. magent does not read the chest radiograph.","type":"boolean"},"pvd_intervention":{"description":"Peripheral vascular disease intervention as assigned by the caller (Stiell 2014; 1 point if true). true or false.","type":"boolean"},"serum_co2_ge_35":{"description":"Serum CO2 >=35 mmol/L as assigned by the caller after applying the Stiell 2014 cutoff (1 point if true). true or false. magent does not assay CO2.","type":"boolean"},"too_ill_to_walk":{"description":"Too ill to do the walk test after ED treatment, or heart rate >=120/min with SaO2 <90%, as assigned by the caller (Stiell 2014; one 2-point item, not two). true or false. magent does not walk the patient.","type":"boolean"},"urea_ge_12":{"description":"Urea >=12 mmol/L as assigned by the caller after applying the Stiell 2014 cutoff (1 point if true). true or false. magent does not assay urea.","type":"boolean"}},"required":["cabg","pvd_intervention","intubation_respiratory","hr_arrival_ge_110","too_ill_to_walk","ischemic_ecg","pulmonary_congestion","hemoglobin_lt_100","urea_ge_12","serum_co2_ge_35"],"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},{"id":38989,"slug":"38989","resource":"https://api.magentlab.com/api/calc/osta","description":"Koh 2001 Osteoporosis Self-Assessment Tool for Asians (OSTA). Index = trunc(0.2 × (weight_kg − age)) toward zero. Risk low if index > −1, intermediate if −1 through −4, high if index < −4. Age 18–120; weight_kg or weight_lb. Not a medical device, not FRAX, not a DXA order. Derivation was postmenopausal Asian women.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":66,"weight_kg":50,"weight_lb":110},{"age":66,"weight_kg":50,"weight_lb":110}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":66,"citation":{"authors":"Koh LKH, Sedrine WB, Torralba TP, Kung A, Fujiwara S, Chan SP, Huang QR, Rajatanavin R, Tsai KS, Park HM, Reginster JY, OSTA Research Group","doi":"10.1007/s001980170070","id":"koh-2001","pmid":"11580084","source":"Osteoporos Int. 2001;12(8):699-705","title":"A simple tool to identify Asian women at increased risk of osteoporosis"},"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":"osta","formula_expression":"OSTA = trunc(0.2 * (weight_kg - age)); low if index > -1; intermediate if -1 to -4 inclusive; high if index < -4","osta_index":-3,"risk":"intermediate","weight_kg":50},{"age":66,"citation":{"authors":"Koh LKH, Sedrine WB, Torralba TP, Kung A, Fujiwara S, Chan SP, Huang QR, Rajatanavin R, Tsai KS, Park HM, Reginster JY, OSTA Research Group","doi":"10.1007/s001980170070","id":"koh-2001","pmid":"11580084","source":"Osteoporos Int. 2001;12(8):699-705","title":"A simple tool to identify Asian women at increased risk of osteoporosis"},"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":"osta","formula_expression":"OSTA = trunc(0.2 * (weight_kg - age)); low if index > -1; intermediate if -1 to -4 inclusive; high if index < -4","osta_index":-3,"risk":"intermediate","weight_kg":50}],"path":"/api/calc/osta"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Koh 2001 OSTA uses age as a whole number of years.","type":"integer"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["age"],"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":["osta","osteoporosis","screening","body-size","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:16:29.102Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:16:28.968Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":66,"weight_kg":50,"weight_lb":110},{"age":66,"weight_kg":50,"weight_lb":110}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":66,"citation":{"authors":"Koh LKH, Sedrine WB, Torralba TP, Kung A, Fujiwara S, Chan SP, Huang QR, Rajatanavin R, Tsai KS, Park HM, Reginster JY, OSTA Research Group","doi":"10.1007/s001980170070","id":"koh-2001","pmid":"11580084","source":"Osteoporos Int. 2001;12(8):699-705","title":"A simple tool to identify Asian women at increased risk of osteoporosis"},"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":"osta","formula_expression":"OSTA = trunc(0.2 * (weight_kg - age)); low if index > -1; intermediate if -1 to -4 inclusive; high if index < -4","osta_index":-3,"risk":"intermediate","weight_kg":50},{"age":66,"citation":{"authors":"Koh LKH, Sedrine WB, Torralba TP, Kung A, Fujiwara S, Chan SP, Huang QR, Rajatanavin R, Tsai KS, Park HM, Reginster JY, OSTA Research Group","doi":"10.1007/s001980170070","id":"koh-2001","pmid":"11580084","source":"Osteoporos Int. 2001;12(8):699-705","title":"A simple tool to identify Asian women at increased risk of osteoporosis"},"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":"osta","formula_expression":"OSTA = trunc(0.2 * (weight_kg - age)); low if index > -1; intermediate if -1 to -4 inclusive; high if index < -4","osta_index":-3,"risk":"intermediate","weight_kg":50}],"path":"/api/calc/osta"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Koh 2001 OSTA uses age as a whole number of years.","type":"integer"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["age"],"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},{"id":38990,"slug":"38990","resource":"https://api.magentlab.com/api/calc/osiris","description":"Sedrine 2002 Osteoporosis Index of Risk (OSIRIS). Index = (-0.2 × age) + (0.2 × weight_kg) + 2 if current HRT + (-2) if prior low-impact fracture. Risk low if score > +1, high if score < -3, intermediate otherwise including exact +1 and -3. Age 18-120; weight_kg or weight_lb; current_hrt and prior_low_impact_fracture true/false. Not a medical device, not FRAX, not a DXA order. Derivation was postmenopausal Western European women.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":55,"current_hrt":true,"prior_low_impact_fracture":false,"weight_kg":70,"weight_lb":154.3236},{"age":55,"current_hrt":true,"prior_low_impact_fracture":false,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":55,"citation":{"authors":"Sedrine WB, Chevallier T, Zegels B, Kvasz A, Micheletti MC, Gelas B, Reginster JY","doi":"10.1080/gye.16.3.245.250","id":"sedrine-2002","pmid":"12192897","source":"Gynecol Endocrinol. 2002;16(3):245-250","title":"Development and assessment of the Osteoporosis Index of Risk (OSIRIS) to facilitate selection of women for bone densitometry"},"current_hrt":true,"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":"osiris","formula_expression":"OSIRIS = (-0.2 * age) + (0.2 * weight_kg) + (2 if current_hrt) + (-2 if prior_low_impact_fracture); low if score > +1; high if score < -3; intermediate otherwise (including exact +1 and exact -3)","osiris_index":5,"prior_low_impact_fracture":false,"risk":"low","weight_kg":70},{"age":55,"citation":{"authors":"Sedrine WB, Chevallier T, Zegels B, Kvasz A, Micheletti MC, Gelas B, Reginster JY","doi":"10.1080/gye.16.3.245.250","id":"sedrine-2002","pmid":"12192897","source":"Gynecol Endocrinol. 2002;16(3):245-250","title":"Development and assessment of the Osteoporosis Index of Risk (OSIRIS) to facilitate selection of women for bone densitometry"},"current_hrt":true,"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":"osiris","formula_expression":"OSIRIS = (-0.2 * age) + (0.2 * weight_kg) + (2 if current_hrt) + (-2 if prior_low_impact_fracture); low if score > +1; high if score < -3; intermediate otherwise (including exact +1 and exact -3)","osiris_index":5,"prior_low_impact_fracture":false,"risk":"low","weight_kg":70}],"path":"/api/calc/osiris"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Sedrine 2002 OSIRIS uses age as a whole number of years.","type":"integer"},"current_hrt":{"description":"Current HRT/estrogen use (Sedrine 2002). true adds +2; false adds 0. true or false.","type":"boolean"},"prior_low_impact_fracture":{"description":"Prior low-impact fracture (Sedrine 2002). true adds -2; false adds 0. true or false.","type":"boolean"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["age","current_hrt","prior_low_impact_fracture"],"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":["osiris","osteoporosis","screening","body-size","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:16:28.075Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:16:27.946Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":55,"current_hrt":true,"prior_low_impact_fracture":false,"weight_kg":70,"weight_lb":154.3236},{"age":55,"current_hrt":true,"prior_low_impact_fracture":false,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":55,"citation":{"authors":"Sedrine WB, Chevallier T, Zegels B, Kvasz A, Micheletti MC, Gelas B, Reginster JY","doi":"10.1080/gye.16.3.245.250","id":"sedrine-2002","pmid":"12192897","source":"Gynecol Endocrinol. 2002;16(3):245-250","title":"Development and assessment of the Osteoporosis Index of Risk (OSIRIS) to facilitate selection of women for bone densitometry"},"current_hrt":true,"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":"osiris","formula_expression":"OSIRIS = (-0.2 * age) + (0.2 * weight_kg) + (2 if current_hrt) + (-2 if prior_low_impact_fracture); low if score > +1; high if score < -3; intermediate otherwise (including exact +1 and exact -3)","osiris_index":5,"prior_low_impact_fracture":false,"risk":"low","weight_kg":70},{"age":55,"citation":{"authors":"Sedrine WB, Chevallier T, Zegels B, Kvasz A, Micheletti MC, Gelas B, Reginster JY","doi":"10.1080/gye.16.3.245.250","id":"sedrine-2002","pmid":"12192897","source":"Gynecol Endocrinol. 2002;16(3):245-250","title":"Development and assessment of the Osteoporosis Index of Risk (OSIRIS) to facilitate selection of women for bone densitometry"},"current_hrt":true,"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":"osiris","formula_expression":"OSIRIS = (-0.2 * age) + (0.2 * weight_kg) + (2 if current_hrt) + (-2 if prior_low_impact_fracture); low if score > +1; high if score < -3; intermediate otherwise (including exact +1 and exact -3)","osiris_index":5,"prior_low_impact_fracture":false,"risk":"low","weight_kg":70}],"path":"/api/calc/osiris"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Sedrine 2002 OSIRIS uses age as a whole number of years.","type":"integer"},"current_hrt":{"description":"Current HRT/estrogen use (Sedrine 2002). true adds +2; false adds 0. true or false.","type":"boolean"},"prior_low_impact_fracture":{"description":"Prior low-impact fracture (Sedrine 2002). true adds -2; false adds 0. true or false.","type":"boolean"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["age","current_hrt","prior_low_impact_fracture"],"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},{"id":38991,"slug":"38991","resource":"https://api.magentlab.com/api/calc/os_mrs","description":"DeMaria 2007 obesity surgery mortality risk score (OS-MRS): five caller-assigned flags (BMI ≥50 kg/m², male, hypertension, known PE risk, age ≥45), 1 point each, max 5. Class A 0–1, B 2–3, C 4–5. Deterministic published score with citation; not a surgical clearance and not a mortality percentage. magent does not weigh the patient or measure age.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_ge_45":false,"bmi_ge_50":false,"hypertension":false,"male":false,"pe_risk_factors":false},{"age_ge_45":false,"bmi_ge_50":false,"hypertension":false,"male":false,"pe_risk_factors":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"DeMaria EJ, Portenier D, Wolfe L","doi":"10.1016/j.soard.2007.01.005","id":"demaria-2007","pmid":"17386394","source":"Surg Obes Relat Dis. 2007;3(2):134-140","title":"Obesity surgery mortality risk score: proposal for a clinically useful score to predict mortality risk in patients undergoing gastric bypass"},"class":"A","components":[{"factor":"bmi_ge_50","points":0,"present":false},{"factor":"male","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"pe_risk_factors","points":0,"present":false},{"factor":"age_ge_45","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":"os_mrs","formula_expression":"OS-MRS = bmi_ge_50 + male + hypertension + pe_risk_factors + age_ge_45; each 1 if true; max 5; class A 0-1, B 2-3, C 4-5","max_score":5,"score":0},{"citation":{"authors":"DeMaria EJ, Portenier D, Wolfe L","doi":"10.1016/j.soard.2007.01.005","id":"demaria-2007","pmid":"17386394","source":"Surg Obes Relat Dis. 2007;3(2):134-140","title":"Obesity surgery mortality risk score: proposal for a clinically useful score to predict mortality risk in patients undergoing gastric bypass"},"class":"A","components":[{"factor":"bmi_ge_50","points":0,"present":false},{"factor":"male","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"pe_risk_factors","points":0,"present":false},{"factor":"age_ge_45","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":"os_mrs","formula_expression":"OS-MRS = bmi_ge_50 + male + hypertension + pe_risk_factors + age_ge_45; each 1 if true; max 5; class A 0-1, B 2-3, C 4-5","max_score":5,"score":0}],"path":"/api/calc/os_mrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_ge_45":{"description":"Age ≥45 years (DeMaria 2007). true or false as assigned by the caller. magent does not measure age.","type":"boolean"},"bmi_ge_50":{"description":"BMI ≥50 kg/m² (DeMaria 2007). true or false as assigned by the caller. magent does not weigh the patient or compute BMI.","type":"boolean"},"hypertension":{"description":"Hypertension (DeMaria 2007). true or false as assigned by the caller. magent does not measure blood pressure.","type":"boolean"},"male":{"description":"Male sex (DeMaria 2007). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pe_risk_factors":{"description":"Known PE risk: previous thromboembolism, preoperative vena cava filter, hypoventilation, or pulmonary hypertension (DeMaria 2007). true or false as assigned by the caller.","type":"boolean"}},"required":["bmi_ge_50","male","hypertension","pe_risk_factors","age_ge_45"],"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":["os-mrs","bariatric","preoperative","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:11:44.504Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:11:44.365Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_ge_45":false,"bmi_ge_50":false,"hypertension":false,"male":false,"pe_risk_factors":false},{"age_ge_45":false,"bmi_ge_50":false,"hypertension":false,"male":false,"pe_risk_factors":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"DeMaria EJ, Portenier D, Wolfe L","doi":"10.1016/j.soard.2007.01.005","id":"demaria-2007","pmid":"17386394","source":"Surg Obes Relat Dis. 2007;3(2):134-140","title":"Obesity surgery mortality risk score: proposal for a clinically useful score to predict mortality risk in patients undergoing gastric bypass"},"class":"A","components":[{"factor":"bmi_ge_50","points":0,"present":false},{"factor":"male","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"pe_risk_factors","points":0,"present":false},{"factor":"age_ge_45","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":"os_mrs","formula_expression":"OS-MRS = bmi_ge_50 + male + hypertension + pe_risk_factors + age_ge_45; each 1 if true; max 5; class A 0-1, B 2-3, C 4-5","max_score":5,"score":0},{"citation":{"authors":"DeMaria EJ, Portenier D, Wolfe L","doi":"10.1016/j.soard.2007.01.005","id":"demaria-2007","pmid":"17386394","source":"Surg Obes Relat Dis. 2007;3(2):134-140","title":"Obesity surgery mortality risk score: proposal for a clinically useful score to predict mortality risk in patients undergoing gastric bypass"},"class":"A","components":[{"factor":"bmi_ge_50","points":0,"present":false},{"factor":"male","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"pe_risk_factors","points":0,"present":false},{"factor":"age_ge_45","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":"os_mrs","formula_expression":"OS-MRS = bmi_ge_50 + male + hypertension + pe_risk_factors + age_ge_45; each 1 if true; max 5; class A 0-1, B 2-3, C 4-5","max_score":5,"score":0}],"path":"/api/calc/os_mrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_ge_45":{"description":"Age ≥45 years (DeMaria 2007). true or false as assigned by the caller. magent does not measure age.","type":"boolean"},"bmi_ge_50":{"description":"BMI ≥50 kg/m² (DeMaria 2007). true or false as assigned by the caller. magent does not weigh the patient or compute BMI.","type":"boolean"},"hypertension":{"description":"Hypertension (DeMaria 2007). true or false as assigned by the caller. magent does not measure blood pressure.","type":"boolean"},"male":{"description":"Male sex (DeMaria 2007). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pe_risk_factors":{"description":"Known PE risk: previous thromboembolism, preoperative vena cava filter, hypoventilation, or pulmonary hypertension (DeMaria 2007). true or false as assigned by the caller.","type":"boolean"}},"required":["bmi_ge_50","male","hypertension","pe_risk_factors","age_ge_45"],"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},{"id":38992,"slug":"38992","resource":"https://api.magentlab.com/api/calc/ort","description":"Webster 2005 Opioid Risk Tool from Table 1 sex-specific weights. Ten caller-assigned yes/no flags (absent = 0). Age 16-45 is a flag, not a numeric age. ADD, OCD, bipolar, or schizophrenia is one flag. Preadolescent sexual abuse scores 3 in females and 0 in males. Low 0-3, moderate 4-7, high >=8. Not a medical device, not a diagnosis of opioid use disorder, not the 2019 ORT-OUD revision. magent does not interview the patient or take free-text history.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"add_ocd_bipolar_schizophrenia":false,"age_16_to_45":false,"depression":false,"family_alcohol":false,"family_illegal_drugs":false,"family_prescription_drugs":false,"personal_alcohol":false,"personal_illegal_drugs":false,"personal_prescription_drugs":false,"preadolescent_sexual_abuse":false,"sex":"female"},{"add_ocd_bipolar_schizophrenia":false,"age_16_to_45":false,"depression":false,"family_alcohol":false,"family_illegal_drugs":false,"family_prescription_drugs":false,"personal_alcohol":false,"personal_illegal_drugs":false,"personal_prescription_drugs":false,"preadolescent_sexual_abuse":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Webster LR, Webster RM","doi":"10.1111/j.1526-4637.2005.00072.x","id":"webster-2005","pmid":"16336480","source":"Pain Med. 2005;6(6):432-442","title":"Predicting aberrant behaviors in opioid-treated patients: preliminary validation of the Opioid Risk Tool"},"components":[{"factor":"family_alcohol","points":0,"present":false},{"factor":"family_illegal_drugs","points":0,"present":false},{"factor":"family_prescription_drugs","points":0,"present":false},{"factor":"personal_alcohol","points":0,"present":false},{"factor":"personal_illegal_drugs","points":0,"present":false},{"factor":"personal_prescription_drugs","points":0,"present":false},{"factor":"age_16_to_45","points":0,"present":false},{"factor":"preadolescent_sexual_abuse","points":0,"present":false},{"factor":"add_ocd_bipolar_schizophrenia","points":0,"present":false},{"factor":"depression","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":"ort","formula_expression":"ORT = Webster 2005 Table 1 sex-specific weights; family_alcohol F1/M3 + family_illegal_drugs F2/M3 + family_prescription_drugs 4 + personal_alcohol 3 + personal_illegal_drugs 4 + personal_prescription_drugs 5 + age_16_to_45 1 + preadolescent_sexual_abuse F3/M0 + add_ocd_bipolar_schizophrenia 2 + depression 1; absent = 0; low 0-3, moderate 4-7, high >=8; max 26","max_score":26,"risk":"low","score":0,"sex":"female"},{"citation":{"authors":"Webster LR, Webster RM","doi":"10.1111/j.1526-4637.2005.00072.x","id":"webster-2005","pmid":"16336480","source":"Pain Med. 2005;6(6):432-442","title":"Predicting aberrant behaviors in opioid-treated patients: preliminary validation of the Opioid Risk Tool"},"components":[{"factor":"family_alcohol","points":0,"present":false},{"factor":"family_illegal_drugs","points":0,"present":false},{"factor":"family_prescription_drugs","points":0,"present":false},{"factor":"personal_alcohol","points":0,"present":false},{"factor":"personal_illegal_drugs","points":0,"present":false},{"factor":"personal_prescription_drugs","points":0,"present":false},{"factor":"age_16_to_45","points":0,"present":false},{"factor":"preadolescent_sexual_abuse","points":0,"present":false},{"factor":"add_ocd_bipolar_schizophrenia","points":0,"present":false},{"factor":"depression","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":"ort","formula_expression":"ORT = Webster 2005 Table 1 sex-specific weights; family_alcohol F1/M3 + family_illegal_drugs F2/M3 + family_prescription_drugs 4 + personal_alcohol 3 + personal_illegal_drugs 4 + personal_prescription_drugs 5 + age_16_to_45 1 + preadolescent_sexual_abuse F3/M0 + add_ocd_bipolar_schizophrenia 2 + depression 1; absent = 0; low 0-3, moderate 4-7, high >=8; max 26","max_score":26,"risk":"low","score":0,"sex":"female"}],"path":"/api/calc/ort"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"add_ocd_bipolar_schizophrenia":{"description":"ADD, OCD, bipolar disorder, or schizophrenia as one flag (Webster 2005 Table 1). true scores 2. Assigned by the caller. magent does not diagnose.","type":"boolean"},"age_16_to_45":{"description":"Age 16-45 years as a flag, not a numeric age (Webster 2005 Table 1). true scores 1. Assigned by the caller.","type":"boolean"},"depression":{"description":"Depression as assigned by the caller (Webster 2005 Table 1). true scores 1. magent does not diagnose.","type":"boolean"},"family_alcohol":{"description":"Family history of alcohol abuse as assigned by the caller (Webster 2005 Table 1). Female 1, male 3. true or false. magent does not interview the patient.","type":"boolean"},"family_illegal_drugs":{"description":"Family history of illegal-drug abuse as assigned by the caller (Webster 2005 Table 1). Female 2, male 3. true or false.","type":"boolean"},"family_prescription_drugs":{"description":"Family history of prescription-drug abuse as assigned by the caller (Webster 2005 Table 1). 4 points. true or false.","type":"boolean"},"personal_alcohol":{"description":"Personal history of alcohol abuse as assigned by the caller (Webster 2005 Table 1). 3 points. true or false. magent does not interview the patient.","type":"boolean"},"personal_illegal_drugs":{"description":"Personal history of illegal-drug abuse as assigned by the caller (Webster 2005 Table 1). 4 points. true or false.","type":"boolean"},"personal_prescription_drugs":{"description":"Personal history of prescription-drug abuse as assigned by the caller (Webster 2005 Table 1). 5 points. true or false.","type":"boolean"},"preadolescent_sexual_abuse":{"description":"History of preadolescent sexual abuse as assigned by the caller (Webster 2005 Table 1). Female 3, male 0. true or false. magent does not interview the patient.","type":"boolean"},"sex":{"description":"female or male. Webster 2005 Table 1 item weights are sex-specific. Assigned by the caller.","enum":["female","male"],"type":"string"}},"required":["sex","family_alcohol","family_illegal_drugs","family_prescription_drugs","personal_alcohol","personal_illegal_drugs","personal_prescription_drugs","age_16_to_45","preadolescent_sexual_abuse","add_ocd_bipolar_schizophrenia","depression"],"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":["ort","opioid","risk","pain","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:11:42.853Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:11:42.707Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"add_ocd_bipolar_schizophrenia":false,"age_16_to_45":false,"depression":false,"family_alcohol":false,"family_illegal_drugs":false,"family_prescription_drugs":false,"personal_alcohol":false,"personal_illegal_drugs":false,"personal_prescription_drugs":false,"preadolescent_sexual_abuse":false,"sex":"female"},{"add_ocd_bipolar_schizophrenia":false,"age_16_to_45":false,"depression":false,"family_alcohol":false,"family_illegal_drugs":false,"family_prescription_drugs":false,"personal_alcohol":false,"personal_illegal_drugs":false,"personal_prescription_drugs":false,"preadolescent_sexual_abuse":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Webster LR, Webster RM","doi":"10.1111/j.1526-4637.2005.00072.x","id":"webster-2005","pmid":"16336480","source":"Pain Med. 2005;6(6):432-442","title":"Predicting aberrant behaviors in opioid-treated patients: preliminary validation of the Opioid Risk Tool"},"components":[{"factor":"family_alcohol","points":0,"present":false},{"factor":"family_illegal_drugs","points":0,"present":false},{"factor":"family_prescription_drugs","points":0,"present":false},{"factor":"personal_alcohol","points":0,"present":false},{"factor":"personal_illegal_drugs","points":0,"present":false},{"factor":"personal_prescription_drugs","points":0,"present":false},{"factor":"age_16_to_45","points":0,"present":false},{"factor":"preadolescent_sexual_abuse","points":0,"present":false},{"factor":"add_ocd_bipolar_schizophrenia","points":0,"present":false},{"factor":"depression","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":"ort","formula_expression":"ORT = Webster 2005 Table 1 sex-specific weights; family_alcohol F1/M3 + family_illegal_drugs F2/M3 + family_prescription_drugs 4 + personal_alcohol 3 + personal_illegal_drugs 4 + personal_prescription_drugs 5 + age_16_to_45 1 + preadolescent_sexual_abuse F3/M0 + add_ocd_bipolar_schizophrenia 2 + depression 1; absent = 0; low 0-3, moderate 4-7, high >=8; max 26","max_score":26,"risk":"low","score":0,"sex":"female"},{"citation":{"authors":"Webster LR, Webster RM","doi":"10.1111/j.1526-4637.2005.00072.x","id":"webster-2005","pmid":"16336480","source":"Pain Med. 2005;6(6):432-442","title":"Predicting aberrant behaviors in opioid-treated patients: preliminary validation of the Opioid Risk Tool"},"components":[{"factor":"family_alcohol","points":0,"present":false},{"factor":"family_illegal_drugs","points":0,"present":false},{"factor":"family_prescription_drugs","points":0,"present":false},{"factor":"personal_alcohol","points":0,"present":false},{"factor":"personal_illegal_drugs","points":0,"present":false},{"factor":"personal_prescription_drugs","points":0,"present":false},{"factor":"age_16_to_45","points":0,"present":false},{"factor":"preadolescent_sexual_abuse","points":0,"present":false},{"factor":"add_ocd_bipolar_schizophrenia","points":0,"present":false},{"factor":"depression","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":"ort","formula_expression":"ORT = Webster 2005 Table 1 sex-specific weights; family_alcohol F1/M3 + family_illegal_drugs F2/M3 + family_prescription_drugs 4 + personal_alcohol 3 + personal_illegal_drugs 4 + personal_prescription_drugs 5 + age_16_to_45 1 + preadolescent_sexual_abuse F3/M0 + add_ocd_bipolar_schizophrenia 2 + depression 1; absent = 0; low 0-3, moderate 4-7, high >=8; max 26","max_score":26,"risk":"low","score":0,"sex":"female"}],"path":"/api/calc/ort"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"add_ocd_bipolar_schizophrenia":{"description":"ADD, OCD, bipolar disorder, or schizophrenia as one flag (Webster 2005 Table 1). true scores 2. Assigned by the caller. magent does not diagnose.","type":"boolean"},"age_16_to_45":{"description":"Age 16-45 years as a flag, not a numeric age (Webster 2005 Table 1). true scores 1. Assigned by the caller.","type":"boolean"},"depression":{"description":"Depression as assigned by the caller (Webster 2005 Table 1). true scores 1. magent does not diagnose.","type":"boolean"},"family_alcohol":{"description":"Family history of alcohol abuse as assigned by the caller (Webster 2005 Table 1). Female 1, male 3. true or false. magent does not interview the patient.","type":"boolean"},"family_illegal_drugs":{"description":"Family history of illegal-drug abuse as assigned by the caller (Webster 2005 Table 1). Female 2, male 3. true or false.","type":"boolean"},"family_prescription_drugs":{"description":"Family history of prescription-drug abuse as assigned by the caller (Webster 2005 Table 1). 4 points. true or false.","type":"boolean"},"personal_alcohol":{"description":"Personal history of alcohol abuse as assigned by the caller (Webster 2005 Table 1). 3 points. true or false. magent does not interview the patient.","type":"boolean"},"personal_illegal_drugs":{"description":"Personal history of illegal-drug abuse as assigned by the caller (Webster 2005 Table 1). 4 points. true or false.","type":"boolean"},"personal_prescription_drugs":{"description":"Personal history of prescription-drug abuse as assigned by the caller (Webster 2005 Table 1). 5 points. true or false.","type":"boolean"},"preadolescent_sexual_abuse":{"description":"History of preadolescent sexual abuse as assigned by the caller (Webster 2005 Table 1). Female 3, male 0. true or false. magent does not interview the patient.","type":"boolean"},"sex":{"description":"female or male. Webster 2005 Table 1 item weights are sex-specific. Assigned by the caller.","enum":["female","male"],"type":"string"}},"required":["sex","family_alcohol","family_illegal_drugs","family_prescription_drugs","personal_alcohol","personal_illegal_drugs","personal_prescription_drugs","age_16_to_45","preadolescent_sexual_abuse","add_ocd_bipolar_schizophrenia","depression"],"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},{"id":38993,"slug":"38993","resource":"https://api.magentlab.com/api/calc/orbit","description":"ORBIT 2015 (O'Brien) AF bleeding score: age >=75 scores 1; anemia caller flag 2; bleeding history 2; insufficient kidney (paper eGFR <60) caller flag 1; antiplatelet 1. Max 7. Score 0-2 low, 3 intermediate, >=4 high. Not a diagnosis. Not HAS-BLED. magent does not take hemoglobin or compute eGFR.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"anemia":false,"antiplatelet":false,"bleeding_history":false,"insufficient_kidney":false},{"age":70,"anemia":false,"antiplatelet":false,"bleeding_history":false,"insufficient_kidney":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"O'Brien EC, Simon DN, Thomas LE, et al.","doi":"10.1093/eurheartj/ehv182","id":"obrien-2015","source":"Eur Heart J. 2015;36(46):3258-3264","title":"The ORBIT bleeding score: a simple bedside score to assess bleeding risk in atrial fibrillation"},"components":[{"factor":"age_ge_75","points":0,"present":false,"value":70},{"factor":"anemia","points":0,"present":false},{"factor":"bleeding_history","points":0,"present":false},{"factor":"insufficient_kidney","points":0,"present":false},{"factor":"antiplatelet","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":"orbit","formula_expression":"ORBIT = age_ge_75 (1) + anemia (2) + bleeding_history (2) + insufficient_kidney (1) + antiplatelet (1); max 7; 0-2 low, 3 intermediate, >=4 high","max_score":7,"orbit_risk":"low","score":0},{"age_years":70,"citation":{"authors":"O'Brien EC, Simon DN, Thomas LE, et al.","doi":"10.1093/eurheartj/ehv182","id":"obrien-2015","source":"Eur Heart J. 2015;36(46):3258-3264","title":"The ORBIT bleeding score: a simple bedside score to assess bleeding risk in atrial fibrillation"},"components":[{"factor":"age_ge_75","points":0,"present":false,"value":70},{"factor":"anemia","points":0,"present":false},{"factor":"bleeding_history","points":0,"present":false},{"factor":"insufficient_kidney","points":0,"present":false},{"factor":"antiplatelet","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":"orbit","formula_expression":"ORBIT = age_ge_75 (1) + anemia (2) + bleeding_history (2) + insufficient_kidney (1) + antiplatelet (1); max 7; 0-2 low, 3 intermediate, >=4 high","max_score":7,"orbit_risk":"low","score":0}],"path":"/api/calc/orbit"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥75 scores 1 (75 scores; 74 does not).","type":"integer"},"anemia":{"description":"Anemia as assigned by the caller. true or false. Scores 2. magent does not take hemoglobin.","type":"boolean"},"antiplatelet":{"description":"Antiplatelet therapy as assigned by the caller. true or false. Scores 1.","type":"boolean"},"bleeding_history":{"description":"Bleeding history as assigned by the caller. true or false. Scores 2.","type":"boolean"},"insufficient_kidney":{"description":"Insufficient kidney function as assigned by the caller (paper eGFR <60). true or false. Scores 1. magent does not compute eGFR.","type":"boolean"}},"required":["age","anemia","bleeding_history","insufficient_kidney","antiplatelet"],"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":["orbit","bleeding","afib","score","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:11:41.383Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:11:41.221Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"anemia":false,"antiplatelet":false,"bleeding_history":false,"insufficient_kidney":false},{"age":70,"anemia":false,"antiplatelet":false,"bleeding_history":false,"insufficient_kidney":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"O'Brien EC, Simon DN, Thomas LE, et al.","doi":"10.1093/eurheartj/ehv182","id":"obrien-2015","source":"Eur Heart J. 2015;36(46):3258-3264","title":"The ORBIT bleeding score: a simple bedside score to assess bleeding risk in atrial fibrillation"},"components":[{"factor":"age_ge_75","points":0,"present":false,"value":70},{"factor":"anemia","points":0,"present":false},{"factor":"bleeding_history","points":0,"present":false},{"factor":"insufficient_kidney","points":0,"present":false},{"factor":"antiplatelet","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":"orbit","formula_expression":"ORBIT = age_ge_75 (1) + anemia (2) + bleeding_history (2) + insufficient_kidney (1) + antiplatelet (1); max 7; 0-2 low, 3 intermediate, >=4 high","max_score":7,"orbit_risk":"low","score":0},{"age_years":70,"citation":{"authors":"O'Brien EC, Simon DN, Thomas LE, et al.","doi":"10.1093/eurheartj/ehv182","id":"obrien-2015","source":"Eur Heart J. 2015;36(46):3258-3264","title":"The ORBIT bleeding score: a simple bedside score to assess bleeding risk in atrial fibrillation"},"components":[{"factor":"age_ge_75","points":0,"present":false,"value":70},{"factor":"anemia","points":0,"present":false},{"factor":"bleeding_history","points":0,"present":false},{"factor":"insufficient_kidney","points":0,"present":false},{"factor":"antiplatelet","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":"orbit","formula_expression":"ORBIT = age_ge_75 (1) + anemia (2) + bleeding_history (2) + insufficient_kidney (1) + antiplatelet (1); max 7; 0-2 low, 3 intermediate, >=4 high","max_score":7,"orbit_risk":"low","score":0}],"path":"/api/calc/orbit"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥75 scores 1 (75 scores; 74 does not).","type":"integer"},"anemia":{"description":"Anemia as assigned by the caller. true or false. Scores 2. magent does not take hemoglobin.","type":"boolean"},"antiplatelet":{"description":"Antiplatelet therapy as assigned by the caller. true or false. Scores 1.","type":"boolean"},"bleeding_history":{"description":"Bleeding history as assigned by the caller. true or false. Scores 2.","type":"boolean"},"insufficient_kidney":{"description":"Insufficient kidney function as assigned by the caller (paper eGFR <60). true or false. Scores 1. magent does not compute eGFR.","type":"boolean"}},"required":["age","anemia","bleeding_history","insufficient_kidney","antiplatelet"],"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},{"id":38994,"slug":"38994","resource":"https://api.magentlab.com/api/calc/orbi","description":"Auffret 2018 ORBI integer score for in-hospital cardiogenic shock after STEMI treated by primary PCI. Rounded adjusted-OR points (max 36) from age >70, prior stroke/TIA, cardiac arrest, anterior STEMI, FMC-to-PPCI >90 min, Killip I-III, heart rate >90, SBP <125 with pulse pressure <45, glucose >10 mmol/L, left-main culprit, and post-PPCI TIMI <3. Derivation-cohort class I-IV percents. Not a medical device, not a cath-lab or shock-treatment order, and not the ORBIT bleeding score.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":60,"anterior_stemi":false,"cardiac_arrest_on_admission":false,"fmc_to_ppci_gt_90_min":false,"glucose_gt_10_mmol_l":false,"heart_rate":70,"killip_class":"i","left_main_culprit":false,"post_ppci_timi_lt_3":false,"prior_stroke_tia":false,"sbp_lt_125_and_pp_lt_45":false},{"age_years":60,"anterior_stemi":false,"cardiac_arrest_on_admission":false,"fmc_to_ppci_gt_90_min":false,"glucose_gt_10_mmol_l":false,"heart_rate":70,"killip_class":"i","left_main_culprit":false,"post_ppci_timi_lt_3":false,"prior_stroke_tia":false,"sbp_lt_125_and_pp_lt_45":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Auffret V, Cottin Y, Leurent G, et al.","doi":"10.1093/eurheartj/ehy127","id":"auffret-2018","pmid":"29554243","source":"Eur Heart J. 2018;39(22):2090-2102","title":"Predicting the development of in-hospital cardiogenic shock in patients with ST-segment elevation myocardial infarction treated by primary percutaneous coronary intervention: the ORBI risk score"},"components":[{"factor":"age_years","points":0,"present":false,"value":60},{"factor":"killip_class","points":0,"present":false,"value":"i"},{"factor":"heart_rate","points":0,"present":false,"value":70},{"factor":"prior_stroke_tia","points":0,"present":false},{"factor":"cardiac_arrest_on_admission","points":0,"present":false},{"factor":"anterior_stemi","points":0,"present":false},{"factor":"fmc_to_ppci_gt_90_min","points":0,"present":false},{"factor":"sbp_lt_125_and_pp_lt_45","points":0,"present":false},{"factor":"glucose_gt_10_mmol_l","points":0,"present":false},{"factor":"left_main_culprit","points":0,"present":false},{"factor":"post_ppci_timi_lt_3","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":"orbi","formula_expression":"ORBI = age_years>70 (2) + prior_stroke_tia (2) + cardiac_arrest_on_admission (3) + anterior_stemi (1) + fmc_to_ppci_gt_90_min (2) + killip_class (i:0, ii:2, iii:6; iv rejected) + heart_rate>90 (3) + sbp_lt_125_and_pp_lt_45 (4) + glucose_gt_10_mmol_l (3) + left_main_culprit (5) + post_ppci_timi_lt_3 (5); Auffret 2018 rounded adjusted ORs; max 36; derivation in-hospital CS class I 0-7 1.3%, II 8-10 6.6%, III 11-12 11.7%, IV >=13 31.8%","heart_rate":70,"in_hospital_cs_percent":1.3,"killip_class":"i","max_score":36,"orbi_class":"I","score":0},{"age_years":60,"citation":{"authors":"Auffret V, Cottin Y, Leurent G, et al.","doi":"10.1093/eurheartj/ehy127","id":"auffret-2018","pmid":"29554243","source":"Eur Heart J. 2018;39(22):2090-2102","title":"Predicting the development of in-hospital cardiogenic shock in patients with ST-segment elevation myocardial infarction treated by primary percutaneous coronary intervention: the ORBI risk score"},"components":[{"factor":"age_years","points":0,"present":false,"value":60},{"factor":"killip_class","points":0,"present":false,"value":"i"},{"factor":"heart_rate","points":0,"present":false,"value":70},{"factor":"prior_stroke_tia","points":0,"present":false},{"factor":"cardiac_arrest_on_admission","points":0,"present":false},{"factor":"anterior_stemi","points":0,"present":false},{"factor":"fmc_to_ppci_gt_90_min","points":0,"present":false},{"factor":"sbp_lt_125_and_pp_lt_45","points":0,"present":false},{"factor":"glucose_gt_10_mmol_l","points":0,"present":false},{"factor":"left_main_culprit","points":0,"present":false},{"factor":"post_ppci_timi_lt_3","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":"orbi","formula_expression":"ORBI = age_years>70 (2) + prior_stroke_tia (2) + cardiac_arrest_on_admission (3) + anterior_stemi (1) + fmc_to_ppci_gt_90_min (2) + killip_class (i:0, ii:2, iii:6; iv rejected) + heart_rate>90 (3) + sbp_lt_125_and_pp_lt_45 (4) + glucose_gt_10_mmol_l (3) + left_main_culprit (5) + post_ppci_timi_lt_3 (5); Auffret 2018 rounded adjusted ORs; max 36; derivation in-hospital CS class I 0-7 1.3%, II 8-10 6.6%, III 11-12 11.7%, IV >=13 31.8%","heart_rate":70,"in_hospital_cs_percent":1.3,"killip_class":"i","max_score":36,"orbi_class":"I","score":0}],"path":"/api/calc/orbi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (18-120). Auffret 2018: older than 70 scores 2; 70 or younger scores 0.","type":"integer"},"anterior_stemi":{"description":"Anterior ST-elevation myocardial infarction (Auffret 2018: 1 point). Caller-assigned. magent does not read the ECG.","type":"boolean"},"cardiac_arrest_on_admission":{"description":"Cardiac arrest on admission (Auffret 2018: 3 points). true or false.","type":"boolean"},"fmc_to_ppci_gt_90_min":{"description":"First medical contact to primary PCI greater than 90 minutes (Auffret 2018: 2 points). true or false. magent does not compute timestamps.","type":"boolean"},"glucose_gt_10_mmol_l":{"description":"Admission glucose >10 mmol/L (Auffret 2018: 3 points). true or false. magent does not convert units.","type":"boolean"},"heart_rate":{"description":"Heart rate in beats per minute (integer 30-220). Auffret 2018: greater than 90 scores 3.","type":"integer"},"killip_class":{"description":"Caller-assigned Killip class after STEMI (Auffret 2018): i (0), ii (2), or iii (6). Killip IV is rejected because the derivation excluded cardiogenic shock on admission. magent does not examine the patient.","enum":["i","ii","iii"],"type":"string"},"left_main_culprit":{"description":"Whether the culprit lesion is the left main coronary artery (Auffret 2018: 5 points). Caller-assigned. magent does not read the angiogram.","type":"boolean"},"post_ppci_timi_lt_3":{"description":"Whether post-primary-PCI TIMI flow is <3 (Auffret 2018: 5 points). Caller-assigned. magent does not assign TIMI flow.","type":"boolean"},"prior_stroke_tia":{"description":"Prior stroke or TIA (Auffret 2018: 2 points). true or false.","type":"boolean"},"sbp_lt_125_and_pp_lt_45":{"description":"Whether systolic BP is <125 mm Hg and pulse pressure is <45 mm Hg together (Auffret 2018: 4 points). Single caller-assigned boolean; magent does not take separate SBP or pulse-pressure numbers.","type":"boolean"}},"required":["age_years","prior_stroke_tia","cardiac_arrest_on_admission","anterior_stemi","fmc_to_ppci_gt_90_min","killip_class","heart_rate","sbp_lt_125_and_pp_lt_45","glucose_gt_10_mmol_l","left_main_culprit","post_ppci_timi_lt_3"],"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":["orbi","stemi","acs","shock","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:06:15.683Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:06:15.506Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":60,"anterior_stemi":false,"cardiac_arrest_on_admission":false,"fmc_to_ppci_gt_90_min":false,"glucose_gt_10_mmol_l":false,"heart_rate":70,"killip_class":"i","left_main_culprit":false,"post_ppci_timi_lt_3":false,"prior_stroke_tia":false,"sbp_lt_125_and_pp_lt_45":false},{"age_years":60,"anterior_stemi":false,"cardiac_arrest_on_admission":false,"fmc_to_ppci_gt_90_min":false,"glucose_gt_10_mmol_l":false,"heart_rate":70,"killip_class":"i","left_main_culprit":false,"post_ppci_timi_lt_3":false,"prior_stroke_tia":false,"sbp_lt_125_and_pp_lt_45":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Auffret V, Cottin Y, Leurent G, et al.","doi":"10.1093/eurheartj/ehy127","id":"auffret-2018","pmid":"29554243","source":"Eur Heart J. 2018;39(22):2090-2102","title":"Predicting the development of in-hospital cardiogenic shock in patients with ST-segment elevation myocardial infarction treated by primary percutaneous coronary intervention: the ORBI risk score"},"components":[{"factor":"age_years","points":0,"present":false,"value":60},{"factor":"killip_class","points":0,"present":false,"value":"i"},{"factor":"heart_rate","points":0,"present":false,"value":70},{"factor":"prior_stroke_tia","points":0,"present":false},{"factor":"cardiac_arrest_on_admission","points":0,"present":false},{"factor":"anterior_stemi","points":0,"present":false},{"factor":"fmc_to_ppci_gt_90_min","points":0,"present":false},{"factor":"sbp_lt_125_and_pp_lt_45","points":0,"present":false},{"factor":"glucose_gt_10_mmol_l","points":0,"present":false},{"factor":"left_main_culprit","points":0,"present":false},{"factor":"post_ppci_timi_lt_3","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":"orbi","formula_expression":"ORBI = age_years>70 (2) + prior_stroke_tia (2) + cardiac_arrest_on_admission (3) + anterior_stemi (1) + fmc_to_ppci_gt_90_min (2) + killip_class (i:0, ii:2, iii:6; iv rejected) + heart_rate>90 (3) + sbp_lt_125_and_pp_lt_45 (4) + glucose_gt_10_mmol_l (3) + left_main_culprit (5) + post_ppci_timi_lt_3 (5); Auffret 2018 rounded adjusted ORs; max 36; derivation in-hospital CS class I 0-7 1.3%, II 8-10 6.6%, III 11-12 11.7%, IV >=13 31.8%","heart_rate":70,"in_hospital_cs_percent":1.3,"killip_class":"i","max_score":36,"orbi_class":"I","score":0},{"age_years":60,"citation":{"authors":"Auffret V, Cottin Y, Leurent G, et al.","doi":"10.1093/eurheartj/ehy127","id":"auffret-2018","pmid":"29554243","source":"Eur Heart J. 2018;39(22):2090-2102","title":"Predicting the development of in-hospital cardiogenic shock in patients with ST-segment elevation myocardial infarction treated by primary percutaneous coronary intervention: the ORBI risk score"},"components":[{"factor":"age_years","points":0,"present":false,"value":60},{"factor":"killip_class","points":0,"present":false,"value":"i"},{"factor":"heart_rate","points":0,"present":false,"value":70},{"factor":"prior_stroke_tia","points":0,"present":false},{"factor":"cardiac_arrest_on_admission","points":0,"present":false},{"factor":"anterior_stemi","points":0,"present":false},{"factor":"fmc_to_ppci_gt_90_min","points":0,"present":false},{"factor":"sbp_lt_125_and_pp_lt_45","points":0,"present":false},{"factor":"glucose_gt_10_mmol_l","points":0,"present":false},{"factor":"left_main_culprit","points":0,"present":false},{"factor":"post_ppci_timi_lt_3","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":"orbi","formula_expression":"ORBI = age_years>70 (2) + prior_stroke_tia (2) + cardiac_arrest_on_admission (3) + anterior_stemi (1) + fmc_to_ppci_gt_90_min (2) + killip_class (i:0, ii:2, iii:6; iv rejected) + heart_rate>90 (3) + sbp_lt_125_and_pp_lt_45 (4) + glucose_gt_10_mmol_l (3) + left_main_culprit (5) + post_ppci_timi_lt_3 (5); Auffret 2018 rounded adjusted ORs; max 36; derivation in-hospital CS class I 0-7 1.3%, II 8-10 6.6%, III 11-12 11.7%, IV >=13 31.8%","heart_rate":70,"in_hospital_cs_percent":1.3,"killip_class":"i","max_score":36,"orbi_class":"I","score":0}],"path":"/api/calc/orbi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (18-120). Auffret 2018: older than 70 scores 2; 70 or younger scores 0.","type":"integer"},"anterior_stemi":{"description":"Anterior ST-elevation myocardial infarction (Auffret 2018: 1 point). Caller-assigned. magent does not read the ECG.","type":"boolean"},"cardiac_arrest_on_admission":{"description":"Cardiac arrest on admission (Auffret 2018: 3 points). true or false.","type":"boolean"},"fmc_to_ppci_gt_90_min":{"description":"First medical contact to primary PCI greater than 90 minutes (Auffret 2018: 2 points). true or false. magent does not compute timestamps.","type":"boolean"},"glucose_gt_10_mmol_l":{"description":"Admission glucose >10 mmol/L (Auffret 2018: 3 points). true or false. magent does not convert units.","type":"boolean"},"heart_rate":{"description":"Heart rate in beats per minute (integer 30-220). Auffret 2018: greater than 90 scores 3.","type":"integer"},"killip_class":{"description":"Caller-assigned Killip class after STEMI (Auffret 2018): i (0), ii (2), or iii (6). Killip IV is rejected because the derivation excluded cardiogenic shock on admission. magent does not examine the patient.","enum":["i","ii","iii"],"type":"string"},"left_main_culprit":{"description":"Whether the culprit lesion is the left main coronary artery (Auffret 2018: 5 points). Caller-assigned. magent does not read the angiogram.","type":"boolean"},"post_ppci_timi_lt_3":{"description":"Whether post-primary-PCI TIMI flow is <3 (Auffret 2018: 5 points). Caller-assigned. magent does not assign TIMI flow.","type":"boolean"},"prior_stroke_tia":{"description":"Prior stroke or TIA (Auffret 2018: 2 points). true or false.","type":"boolean"},"sbp_lt_125_and_pp_lt_45":{"description":"Whether systolic BP is <125 mm Hg and pulse pressure is <45 mm Hg together (Auffret 2018: 4 points). Single caller-assigned boolean; magent does not take separate SBP or pulse-pressure numbers.","type":"boolean"}},"required":["age_years","prior_stroke_tia","cardiac_arrest_on_admission","anterior_stemi","fmc_to_ppci_gt_90_min","killip_class","heart_rate","sbp_lt_125_and_pp_lt_45","glucose_gt_10_mmol_l","left_main_culprit","post_ppci_timi_lt_3"],"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},{"id":38995,"slug":"38995","resource":"https://api.magentlab.com/api/calc/onls","description":"Graham 2006 ONLS: caller-assigned arm_scale 0-5 plus leg_scale 0-7. Sum 0-12. Score 0 is no limitations. Arm 5 or leg 7 is no purposeful movement of that region. Leg 0 requires walking, stairs, and running unaffected. Remaining grades match ODSS; this is not ODSS and not Adjusted ONLS. magent does not observe the patient. No published total-score severity bands. Not a diagnosis and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"arm_scale":2,"leg_scale":3},{"arm_scale":2,"leg_scale":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arm_scale":2,"citation":{"authors":"Graham RC, Hughes RAC","doi":"10.1136/jnnp.2005.081547","id":"graham-hughes-2006","pmid":"16574730","source":"J Neurol Neurosurg Psychiatry. 2006;77(8):973-976","title":"A modified peripheral neuropathy scale: the Overall Neuropathy Limitations Scale"},"components":[{"factor":"arm_scale","points":2,"present":true,"value":2},{"factor":"leg_scale","points":3,"present":true,"value":3}],"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":"onls","formula_expression":"ONLS = arm_scale (integer 0-5) + leg_scale (integer 0-7); Graham 2006 modified ODSS; total 0-12; score 0 = no limitations (ceiling); arm 5 or leg 7 = no purposeful movement of that region; leg 0 requires walking, climbing stairs, and running not affected; remaining scoring criteria are not different from ODSS; magent does not observe the patient; no published total-score severity bands","leg_scale":3,"max_score":12,"score":5},{"arm_scale":2,"citation":{"authors":"Graham RC, Hughes RAC","doi":"10.1136/jnnp.2005.081547","id":"graham-hughes-2006","pmid":"16574730","source":"J Neurol Neurosurg Psychiatry. 2006;77(8):973-976","title":"A modified peripheral neuropathy scale: the Overall Neuropathy Limitations Scale"},"components":[{"factor":"arm_scale","points":2,"present":true,"value":2},{"factor":"leg_scale","points":3,"present":true,"value":3}],"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":"onls","formula_expression":"ONLS = arm_scale (integer 0-5) + leg_scale (integer 0-7); Graham 2006 modified ODSS; total 0-12; score 0 = no limitations (ceiling); arm 5 or leg 7 = no purposeful movement of that region; leg 0 requires walking, climbing stairs, and running not affected; remaining scoring criteria are not different from ODSS; magent does not observe the patient; no published total-score severity bands","leg_scale":3,"max_score":12,"score":5}],"path":"/api/calc/onls"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arm_scale":{"description":"Caller-assigned Graham 2006 ONLS arm scale (integer 0-5): 0 normal; 1 minor symptoms not affecting listed functions; 2 disability affecting but not preventing any listed function; 3 preventing at least one but not all listed functions; 4 both arms preventing all listed functions but purposeful movement still possible; 5 both arms preventing all purposeful movements. Listed functions: wash and brush hair, turn a key, use knife and fork (or spoon), do/undo buttons or zips, dress the upper body. magent does not observe the patient.","enum":[0,1,2,3,4,5],"type":"integer"},"leg_scale":{"description":"Caller-assigned Graham 2006 ONLS leg scale (integer 0-7): 0 walking, climbing stairs, and running not affected; 1 walking/stairs/running affected but gait does not look abnormal; 2 walks independently but gait looks abnormal; 3 requires unilateral support to walk 10 metres; 4 requires bilateral support to walk 10 metres; 5 requires wheelchair to travel 10 metres but able to stand and walk 1 metre with help of one person; 6 restricted to wheelchair, unable to make any purposeful movement of the legs; 7 restricted to wheelchair or bed most of the day, unable to make any purposeful movements of the legs. magent does not observe the patient.","enum":[0,1,2,3,4,5,6,7],"type":"integer"}},"required":["arm_scale","leg_scale"],"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":["onls","neuropathy","neurology","graham","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:06:14.742Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:06:14.604Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"arm_scale":2,"leg_scale":3},{"arm_scale":2,"leg_scale":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arm_scale":2,"citation":{"authors":"Graham RC, Hughes RAC","doi":"10.1136/jnnp.2005.081547","id":"graham-hughes-2006","pmid":"16574730","source":"J Neurol Neurosurg Psychiatry. 2006;77(8):973-976","title":"A modified peripheral neuropathy scale: the Overall Neuropathy Limitations Scale"},"components":[{"factor":"arm_scale","points":2,"present":true,"value":2},{"factor":"leg_scale","points":3,"present":true,"value":3}],"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":"onls","formula_expression":"ONLS = arm_scale (integer 0-5) + leg_scale (integer 0-7); Graham 2006 modified ODSS; total 0-12; score 0 = no limitations (ceiling); arm 5 or leg 7 = no purposeful movement of that region; leg 0 requires walking, climbing stairs, and running not affected; remaining scoring criteria are not different from ODSS; magent does not observe the patient; no published total-score severity bands","leg_scale":3,"max_score":12,"score":5},{"arm_scale":2,"citation":{"authors":"Graham RC, Hughes RAC","doi":"10.1136/jnnp.2005.081547","id":"graham-hughes-2006","pmid":"16574730","source":"J Neurol Neurosurg Psychiatry. 2006;77(8):973-976","title":"A modified peripheral neuropathy scale: the Overall Neuropathy Limitations Scale"},"components":[{"factor":"arm_scale","points":2,"present":true,"value":2},{"factor":"leg_scale","points":3,"present":true,"value":3}],"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":"onls","formula_expression":"ONLS = arm_scale (integer 0-5) + leg_scale (integer 0-7); Graham 2006 modified ODSS; total 0-12; score 0 = no limitations (ceiling); arm 5 or leg 7 = no purposeful movement of that region; leg 0 requires walking, climbing stairs, and running not affected; remaining scoring criteria are not different from ODSS; magent does not observe the patient; no published total-score severity bands","leg_scale":3,"max_score":12,"score":5}],"path":"/api/calc/onls"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arm_scale":{"description":"Caller-assigned Graham 2006 ONLS arm scale (integer 0-5): 0 normal; 1 minor symptoms not affecting listed functions; 2 disability affecting but not preventing any listed function; 3 preventing at least one but not all listed functions; 4 both arms preventing all listed functions but purposeful movement still possible; 5 both arms preventing all purposeful movements. Listed functions: wash and brush hair, turn a key, use knife and fork (or spoon), do/undo buttons or zips, dress the upper body. magent does not observe the patient.","enum":[0,1,2,3,4,5],"type":"integer"},"leg_scale":{"description":"Caller-assigned Graham 2006 ONLS leg scale (integer 0-7): 0 walking, climbing stairs, and running not affected; 1 walking/stairs/running affected but gait does not look abnormal; 2 walks independently but gait looks abnormal; 3 requires unilateral support to walk 10 metres; 4 requires bilateral support to walk 10 metres; 5 requires wheelchair to travel 10 metres but able to stand and walk 1 metre with help of one person; 6 restricted to wheelchair, unable to make any purposeful movement of the legs; 7 restricted to wheelchair or bed most of the day, unable to make any purposeful movements of the legs. magent does not observe the patient.","enum":[0,1,2,3,4,5,6,7],"type":"integer"}},"required":["arm_scale","leg_scale"],"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},{"id":38996,"slug":"38996","resource":"https://api.magentlab.com/api/calc/oesil","description":"Colivicchi 2003 OESIL: 1 point each for age >65 years, history of cardiovascular disease, syncope without prodromes, and abnormal ECG. Arithmetic sum 0-4. Caller assigns three flags; magent does not read an ECG. Score only; derivation-cohort 12-month mortality percents are not an individual prediction. Not a medical device and not a disposition protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_ecg":false,"age":50,"cardiovascular_disease":false,"syncope_without_prodromes":false},{"abnormal_ecg":false,"age":50,"cardiovascular_disease":false,"syncope_without_prodromes":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Colivicchi F, Ammirati F, Melina D, Guido V, Imperoli G, Santini M","doi":"10.1016/S0195-668X(02)00827-8","id":"colivicchi-2003","pmid":"12727148","source":"Eur Heart J. 2003;24(9):811-819","title":"Development and prospective validation of a risk stratification system for patients with syncope in the emergency department: the OESIL risk score"},"components":[{"factor":"age_gt_65","points":0,"present":false,"value":50},{"factor":"cardiovascular_disease","points":0,"present":false},{"factor":"syncope_without_prodromes","points":0,"present":false},{"factor":"abnormal_ecg","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":"oesil","formula_expression":"OESIL = age_gt_65 + cardiovascular_disease + syncope_without_prodromes + abnormal_ecg; 1 point each; range 0-4 (Colivicchi 2003)","max_score":4,"score":0},{"age_years":50,"citation":{"authors":"Colivicchi F, Ammirati F, Melina D, Guido V, Imperoli G, Santini M","doi":"10.1016/S0195-668X(02)00827-8","id":"colivicchi-2003","pmid":"12727148","source":"Eur Heart J. 2003;24(9):811-819","title":"Development and prospective validation of a risk stratification system for patients with syncope in the emergency department: the OESIL risk score"},"components":[{"factor":"age_gt_65","points":0,"present":false,"value":50},{"factor":"cardiovascular_disease","points":0,"present":false},{"factor":"syncope_without_prodromes","points":0,"present":false},{"factor":"abnormal_ecg","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":"oesil","formula_expression":"OESIL = age_gt_65 + cardiovascular_disease + syncope_without_prodromes + abnormal_ecg; 1 point each; range 0-4 (Colivicchi 2003)","max_score":4,"score":0}],"path":"/api/calc/oesil"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_ecg":{"description":"Abnormal ECG (Colivicchi 2003, 1 point). true or false as assigned by the caller. magent does not read an ECG.","type":"boolean"},"age":{"description":"Age in years (18-120). Age >65 scores 1; age 65 scores 0. 18 is an implementation clamp.","type":"integer"},"cardiovascular_disease":{"description":"History of cardiovascular disease (Colivicchi 2003, 1 point). true or false as assigned by the caller.","type":"boolean"},"syncope_without_prodromes":{"description":"Syncope without prodromes (Colivicchi 2003, 1 point). true or false as assigned by the caller.","type":"boolean"}},"required":["age","cardiovascular_disease","syncope_without_prodromes","abnormal_ecg"],"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":["oesil","syncope","emergency","score","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:06:13.89Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:06:13.7Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_ecg":false,"age":50,"cardiovascular_disease":false,"syncope_without_prodromes":false},{"abnormal_ecg":false,"age":50,"cardiovascular_disease":false,"syncope_without_prodromes":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Colivicchi F, Ammirati F, Melina D, Guido V, Imperoli G, Santini M","doi":"10.1016/S0195-668X(02)00827-8","id":"colivicchi-2003","pmid":"12727148","source":"Eur Heart J. 2003;24(9):811-819","title":"Development and prospective validation of a risk stratification system for patients with syncope in the emergency department: the OESIL risk score"},"components":[{"factor":"age_gt_65","points":0,"present":false,"value":50},{"factor":"cardiovascular_disease","points":0,"present":false},{"factor":"syncope_without_prodromes","points":0,"present":false},{"factor":"abnormal_ecg","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":"oesil","formula_expression":"OESIL = age_gt_65 + cardiovascular_disease + syncope_without_prodromes + abnormal_ecg; 1 point each; range 0-4 (Colivicchi 2003)","max_score":4,"score":0},{"age_years":50,"citation":{"authors":"Colivicchi F, Ammirati F, Melina D, Guido V, Imperoli G, Santini M","doi":"10.1016/S0195-668X(02)00827-8","id":"colivicchi-2003","pmid":"12727148","source":"Eur Heart J. 2003;24(9):811-819","title":"Development and prospective validation of a risk stratification system for patients with syncope in the emergency department: the OESIL risk score"},"components":[{"factor":"age_gt_65","points":0,"present":false,"value":50},{"factor":"cardiovascular_disease","points":0,"present":false},{"factor":"syncope_without_prodromes","points":0,"present":false},{"factor":"abnormal_ecg","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":"oesil","formula_expression":"OESIL = age_gt_65 + cardiovascular_disease + syncope_without_prodromes + abnormal_ecg; 1 point each; range 0-4 (Colivicchi 2003)","max_score":4,"score":0}],"path":"/api/calc/oesil"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_ecg":{"description":"Abnormal ECG (Colivicchi 2003, 1 point). true or false as assigned by the caller. magent does not read an ECG.","type":"boolean"},"age":{"description":"Age in years (18-120). Age >65 scores 1; age 65 scores 0. 18 is an implementation clamp.","type":"integer"},"cardiovascular_disease":{"description":"History of cardiovascular disease (Colivicchi 2003, 1 point). true or false as assigned by the caller.","type":"boolean"},"syncope_without_prodromes":{"description":"Syncope without prodromes (Colivicchi 2003, 1 point). true or false as assigned by the caller.","type":"boolean"}},"required":["age","cardiovascular_disease","syncope_without_prodromes","abnormal_ecg"],"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},{"id":38997,"slug":"38997","resource":"https://api.magentlab.com/api/calc/nyha","description":"NYHA 1994 functional capacity class 1-4 as assigned by the caller (Criteria Committee of the New York Heart Association, 9th edition). Returns class, score, max 4, and the published class description. Functional capacity only; not Objective Assessment A-D and not ACC/AHA stages. Not a heart-failure diagnosis; magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"nyha_class":1},{"nyha_class":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"The Criteria Committee of the New York Heart Association","id":"nyha-1994","source":"9th ed. Boston: Little, Brown & Co; 1994. p. 253-256","title":"Nomenclature and Criteria for Diagnosis of Diseases of the Heart and Great Vessels"},"components":[{"factor":"nyha_class","points":1,"present":true}],"description":"Patients with cardiac disease but without resulting limitation of physical activity. Ordinary physical activity does not cause undue fatigue, palpitation, dyspnea, or anginal pain.","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":"nyha","formula_expression":"NYHA functional capacity class 1-4 as assigned by the caller (Criteria Committee of the New York Heart Association 1994 9th edition); not Objective Assessment A-D","max_score":4,"nyha_class":1,"score":1},{"citation":{"authors":"The Criteria Committee of the New York Heart Association","id":"nyha-1994","source":"9th ed. Boston: Little, Brown & Co; 1994. p. 253-256","title":"Nomenclature and Criteria for Diagnosis of Diseases of the Heart and Great Vessels"},"components":[{"factor":"nyha_class","points":1,"present":true}],"description":"Patients with cardiac disease but without resulting limitation of physical activity. Ordinary physical activity does not cause undue fatigue, palpitation, dyspnea, or anginal pain.","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":"nyha","formula_expression":"NYHA functional capacity class 1-4 as assigned by the caller (Criteria Committee of the New York Heart Association 1994 9th edition); not Objective Assessment A-D","max_score":4,"nyha_class":1,"score":1}],"path":"/api/calc/nyha"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"nyha_class":{"description":"NYHA 1994 functional capacity class 1-4 as assigned by the caller (1 no limitation of ordinary activity; 2 slight limitation, comfortable at rest, ordinary activity causes symptoms; 3 marked limitation, less than ordinary activity causes symptoms; 4 inability to carry on any physical activity without discomfort, symptoms may be present at rest). magent does not examine the patient.","type":"integer"}},"required":["nyha_class"],"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":["nyha","heart-failure","functional-class","hemodynamics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:01:10.802Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:01:10.69Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"nyha_class":1},{"nyha_class":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"The Criteria Committee of the New York Heart Association","id":"nyha-1994","source":"9th ed. Boston: Little, Brown & Co; 1994. p. 253-256","title":"Nomenclature and Criteria for Diagnosis of Diseases of the Heart and Great Vessels"},"components":[{"factor":"nyha_class","points":1,"present":true}],"description":"Patients with cardiac disease but without resulting limitation of physical activity. Ordinary physical activity does not cause undue fatigue, palpitation, dyspnea, or anginal pain.","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":"nyha","formula_expression":"NYHA functional capacity class 1-4 as assigned by the caller (Criteria Committee of the New York Heart Association 1994 9th edition); not Objective Assessment A-D","max_score":4,"nyha_class":1,"score":1},{"citation":{"authors":"The Criteria Committee of the New York Heart Association","id":"nyha-1994","source":"9th ed. Boston: Little, Brown & Co; 1994. p. 253-256","title":"Nomenclature and Criteria for Diagnosis of Diseases of the Heart and Great Vessels"},"components":[{"factor":"nyha_class","points":1,"present":true}],"description":"Patients with cardiac disease but without resulting limitation of physical activity. Ordinary physical activity does not cause undue fatigue, palpitation, dyspnea, or anginal pain.","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":"nyha","formula_expression":"NYHA functional capacity class 1-4 as assigned by the caller (Criteria Committee of the New York Heart Association 1994 9th edition); not Objective Assessment A-D","max_score":4,"nyha_class":1,"score":1}],"path":"/api/calc/nyha"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"nyha_class":{"description":"NYHA 1994 functional capacity class 1-4 as assigned by the caller (1 no limitation of ordinary activity; 2 slight limitation, comfortable at rest, ordinary activity causes symptoms; 3 marked limitation, less than ordinary activity causes symptoms; 4 inability to carry on any physical activity without discomfort, symptoms may be present at rest). magent does not examine the patient.","type":"integer"}},"required":["nyha_class"],"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},{"id":38998,"slug":"38998","resource":"https://api.magentlab.com/api/calc/nutric","description":"Heyland 2011 original 6-variable NUTRIC (Nutrition Risk in the Critically Ill) including IL-6, Table 4 overall: age 0-2, APACHE II 0-3 (28 scores 2), SOFA 0-2, comorbidities 0-1, hospital days to ICU 0-1, IL-6 pg/mL 0-1; max 10. high_risk true iff score ≥6. Caller supplies APACHE II and SOFA integers. Not a medical device, not a feeding order, not Rahman 2015 mNUTRIC.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"apache_ii":10,"comorbidities":0,"hospital_days_to_icu":0,"il6_pg_ml":100,"sofa":4},{"age":40,"apache_ii":10,"comorbidities":0,"hospital_days_to_icu":0,"il6_pg_ml":100,"sofa":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"apache_ii":10,"citation":{"authors":"Heyland DK, Dhaliwal R, Jiang X, Day AG","doi":"10.1186/cc10546","id":"heyland-2011","pmid":"22085762","source":"Crit Care. 2011;15(6):R268","title":"Identifying critically ill patients who benefit the most from nutrition therapy: the development and initial validation of a novel risk assessment tool"},"comorbidities":0,"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"apache_ii","points":0,"present":false,"value":10},{"factor":"sofa","points":0,"present":false,"value":4},{"factor":"comorbidities","points":0,"present":false,"value":0},{"factor":"hospital_days_to_icu","points":0,"present":false,"value":0},{"factor":"il6_pg_ml","points":0,"present":false,"value":100}],"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":"nutric","formula_expression":"NUTRIC = age (0–2) + apache_ii (0–3) + sofa (0–2) + comorbidities (0–1) + hospital_days_to_icu (0–1) + il6_pg_ml (0–1); Heyland 2011 Table 4 overall including IL-6; max 10; high_risk if score ≥ 6","high_risk":false,"hospital_days_to_icu":0,"il6_pg_ml":100,"max_score":10,"score":0,"sofa":4},{"age_years":40,"apache_ii":10,"citation":{"authors":"Heyland DK, Dhaliwal R, Jiang X, Day AG","doi":"10.1186/cc10546","id":"heyland-2011","pmid":"22085762","source":"Crit Care. 2011;15(6):R268","title":"Identifying critically ill patients who benefit the most from nutrition therapy: the development and initial validation of a novel risk assessment tool"},"comorbidities":0,"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"apache_ii","points":0,"present":false,"value":10},{"factor":"sofa","points":0,"present":false,"value":4},{"factor":"comorbidities","points":0,"present":false,"value":0},{"factor":"hospital_days_to_icu","points":0,"present":false,"value":0},{"factor":"il6_pg_ml","points":0,"present":false,"value":100}],"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":"nutric","formula_expression":"NUTRIC = age (0–2) + apache_ii (0–3) + sofa (0–2) + comorbidities (0–1) + hospital_days_to_icu (0–1) + il6_pg_ml (0–1); Heyland 2011 Table 4 overall including IL-6; max 10; high_risk if score ≥ 6","high_risk":false,"hospital_days_to_icu":0,"il6_pg_ml":100,"max_score":10,"score":0,"sofa":4}],"path":"/api/calc/nutric"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Heyland 2011 Table 4 overall: <50 → 0; 50–<75 → 1; ≥75 → 2. Age 50 scores 1. Age 74 scores 1. Age 75 scores 2.","type":"integer"},"apache_ii":{"description":"Caller-supplied APACHE II total (integer 0-71). Heyland 2011 Table 4 overall: <15 → 0; 15–<20 → 1; 20–28 inclusive → 2; ≥29 → 3. APACHE II 28 scores 2 (the 20–28 row, not the overlapping ≥28 row). magent does not compute APACHE II.","type":"integer"},"comorbidities":{"description":"Number of comorbidities (integer 0-20). Heyland 2011 Table 4 overall: 0–1 → 0; ≥2 → 1.","type":"integer"},"hospital_days_to_icu":{"description":"Days from hospital admission to ICU admission (0-365). Heyland 2011 Table 4 overall: 0–<1 → 0; ≥1 → 1. 0.9 scores 0. 1.0 scores 1.","type":"number"},"il6_pg_ml":{"description":"Serum IL-6 in pg/mL (0-100000). Heyland 2011 Table 4 overall original 6-variable NUTRIC: 0–<400 → 0; ≥400 → 1. 399.9 scores 0. 400 scores 1. This is not Rahman 2015 mNUTRIC (IL-6 omitted).","type":"number"},"sofa":{"description":"Caller-supplied SOFA total (integer 0-24). Heyland 2011 Table 4 overall: <6 → 0; 6–<10 → 1; ≥10 → 2. magent does not compute SOFA.","type":"integer"}},"required":["age","apache_ii","sofa","comorbidities","hospital_days_to_icu","il6_pg_ml"],"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":["nutric","nutrition","icu","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:01:10.043Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:01:09.919Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"apache_ii":10,"comorbidities":0,"hospital_days_to_icu":0,"il6_pg_ml":100,"sofa":4},{"age":40,"apache_ii":10,"comorbidities":0,"hospital_days_to_icu":0,"il6_pg_ml":100,"sofa":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"apache_ii":10,"citation":{"authors":"Heyland DK, Dhaliwal R, Jiang X, Day AG","doi":"10.1186/cc10546","id":"heyland-2011","pmid":"22085762","source":"Crit Care. 2011;15(6):R268","title":"Identifying critically ill patients who benefit the most from nutrition therapy: the development and initial validation of a novel risk assessment tool"},"comorbidities":0,"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"apache_ii","points":0,"present":false,"value":10},{"factor":"sofa","points":0,"present":false,"value":4},{"factor":"comorbidities","points":0,"present":false,"value":0},{"factor":"hospital_days_to_icu","points":0,"present":false,"value":0},{"factor":"il6_pg_ml","points":0,"present":false,"value":100}],"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":"nutric","formula_expression":"NUTRIC = age (0–2) + apache_ii (0–3) + sofa (0–2) + comorbidities (0–1) + hospital_days_to_icu (0–1) + il6_pg_ml (0–1); Heyland 2011 Table 4 overall including IL-6; max 10; high_risk if score ≥ 6","high_risk":false,"hospital_days_to_icu":0,"il6_pg_ml":100,"max_score":10,"score":0,"sofa":4},{"age_years":40,"apache_ii":10,"citation":{"authors":"Heyland DK, Dhaliwal R, Jiang X, Day AG","doi":"10.1186/cc10546","id":"heyland-2011","pmid":"22085762","source":"Crit Care. 2011;15(6):R268","title":"Identifying critically ill patients who benefit the most from nutrition therapy: the development and initial validation of a novel risk assessment tool"},"comorbidities":0,"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"apache_ii","points":0,"present":false,"value":10},{"factor":"sofa","points":0,"present":false,"value":4},{"factor":"comorbidities","points":0,"present":false,"value":0},{"factor":"hospital_days_to_icu","points":0,"present":false,"value":0},{"factor":"il6_pg_ml","points":0,"present":false,"value":100}],"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":"nutric","formula_expression":"NUTRIC = age (0–2) + apache_ii (0–3) + sofa (0–2) + comorbidities (0–1) + hospital_days_to_icu (0–1) + il6_pg_ml (0–1); Heyland 2011 Table 4 overall including IL-6; max 10; high_risk if score ≥ 6","high_risk":false,"hospital_days_to_icu":0,"il6_pg_ml":100,"max_score":10,"score":0,"sofa":4}],"path":"/api/calc/nutric"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Heyland 2011 Table 4 overall: <50 → 0; 50–<75 → 1; ≥75 → 2. Age 50 scores 1. Age 74 scores 1. Age 75 scores 2.","type":"integer"},"apache_ii":{"description":"Caller-supplied APACHE II total (integer 0-71). Heyland 2011 Table 4 overall: <15 → 0; 15–<20 → 1; 20–28 inclusive → 2; ≥29 → 3. APACHE II 28 scores 2 (the 20–28 row, not the overlapping ≥28 row). magent does not compute APACHE II.","type":"integer"},"comorbidities":{"description":"Number of comorbidities (integer 0-20). Heyland 2011 Table 4 overall: 0–1 → 0; ≥2 → 1.","type":"integer"},"hospital_days_to_icu":{"description":"Days from hospital admission to ICU admission (0-365). Heyland 2011 Table 4 overall: 0–<1 → 0; ≥1 → 1. 0.9 scores 0. 1.0 scores 1.","type":"number"},"il6_pg_ml":{"description":"Serum IL-6 in pg/mL (0-100000). Heyland 2011 Table 4 overall original 6-variable NUTRIC: 0–<400 → 0; ≥400 → 1. 399.9 scores 0. 400 scores 1. This is not Rahman 2015 mNUTRIC (IL-6 omitted).","type":"number"},"sofa":{"description":"Caller-supplied SOFA total (integer 0-24). Heyland 2011 Table 4 overall: <6 → 0; 6–<10 → 1; ≥10 → 2. magent does not compute SOFA.","type":"integer"}},"required":["age","apache_ii","sofa","comorbidities","hospital_days_to_icu","il6_pg_ml"],"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},{"id":38999,"slug":"38999","resource":"https://api.magentlab.com/api/calc/nrs_2002","description":"Kondrup 2003 NRS-2002: nutrition_status (0-3) + disease_severity (0-3) + 1 if age ≥70 (70 scores); max 7. at_risk true iff score ≥3. Caller assigns published grades (highest undernutrition indicator). Hospitalized adults. Not a medical device, not a diet order, not NRI. magent does not weigh the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"disease_severity":0,"nutrition_status":0},{"age":50,"disease_severity":0,"nutrition_status":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"at_risk":false,"citation":{"authors":"Kondrup J, Rasmussen HH, Hamberg O, Stanga Z, Ad Hoc ESPEN Working Group","doi":"10.1016/s0261-5614(02)00214-5","id":"kondrup-2003","pmid":"12765680","source":"Clin Nutr. 2003;22(3):321-336","title":"Nutritional risk screening (NRS 2002): a new method based on an analysis of controlled clinical trials"},"components":[{"factor":"nutrition_status","points":0,"present":false,"value":0},{"factor":"disease_severity","points":0,"present":false,"value":0},{"factor":"age_ge_70","points":0,"present":false,"value":50}],"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.","disease_severity":0,"formula":"nrs_2002","formula_expression":"NRS-2002 = nutrition_status (0–3) + disease_severity (0–3) + 1 if age ≥ 70; max 7; at_risk if score ≥ 3","max_score":7,"nutrition_status":0,"score":0},{"age_years":50,"at_risk":false,"citation":{"authors":"Kondrup J, Rasmussen HH, Hamberg O, Stanga Z, Ad Hoc ESPEN Working Group","doi":"10.1016/s0261-5614(02)00214-5","id":"kondrup-2003","pmid":"12765680","source":"Clin Nutr. 2003;22(3):321-336","title":"Nutritional risk screening (NRS 2002): a new method based on an analysis of controlled clinical trials"},"components":[{"factor":"nutrition_status","points":0,"present":false,"value":0},{"factor":"disease_severity","points":0,"present":false,"value":0},{"factor":"age_ge_70","points":0,"present":false,"value":50}],"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.","disease_severity":0,"formula":"nrs_2002","formula_expression":"NRS-2002 = nutrition_status (0–3) + disease_severity (0–3) + 1 if age ≥ 70; max 7; at_risk if score ≥ 3","max_score":7,"nutrition_status":0,"score":0}],"path":"/api/calc/nrs_2002"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Kondrup 2003: add 1 point when age ≥70. Age 70 scores. Age 69 does not.","type":"integer"},"disease_severity":{"description":"Caller-assigned Kondrup 2003 disease severity 0-3. 0 absent (normal requirements). 1 mild (e.g. hip fracture; chronic illness with complications: cirrhosis, COPD, chronic hemodialysis, diabetes, oncology). 2 moderate (e.g. major abdominal surgery, stroke, severe pneumonia, hematologic malignancy). 3 severe (e.g. head injury, bone marrow transplant, ICU APACHE >10). magent does not assign the diagnosis.","enum":[0,1,2,3],"type":"integer"},"nutrition_status":{"description":"Caller-assigned Kondrup 2003 impaired nutritional status 0-3. If BMI, intake, and weight-loss grades differ, use the highest. 0 absent. 1 mild (weight loss >5% in 3 months or food intake 50-75% of requirement last week). 2 moderate (weight loss >5% in 2 months or BMI 18.5-20.5 plus impaired general condition or intake 25-60%). 3 severe (weight loss >5% in 1 month / >15% in 3 months or BMI <18.5 plus impaired general condition or intake 0-25%). magent does not weigh the patient or compute BMI, weight-loss, or intake.","enum":[0,1,2,3],"type":"integer"}},"required":["nutrition_status","disease_severity","age"],"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":["nrs-2002","nutrition","emergency","screening","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T10:01:09.329Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T10:01:09.162Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"disease_severity":0,"nutrition_status":0},{"age":50,"disease_severity":0,"nutrition_status":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"at_risk":false,"citation":{"authors":"Kondrup J, Rasmussen HH, Hamberg O, Stanga Z, Ad Hoc ESPEN Working Group","doi":"10.1016/s0261-5614(02)00214-5","id":"kondrup-2003","pmid":"12765680","source":"Clin Nutr. 2003;22(3):321-336","title":"Nutritional risk screening (NRS 2002): a new method based on an analysis of controlled clinical trials"},"components":[{"factor":"nutrition_status","points":0,"present":false,"value":0},{"factor":"disease_severity","points":0,"present":false,"value":0},{"factor":"age_ge_70","points":0,"present":false,"value":50}],"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.","disease_severity":0,"formula":"nrs_2002","formula_expression":"NRS-2002 = nutrition_status (0–3) + disease_severity (0–3) + 1 if age ≥ 70; max 7; at_risk if score ≥ 3","max_score":7,"nutrition_status":0,"score":0},{"age_years":50,"at_risk":false,"citation":{"authors":"Kondrup J, Rasmussen HH, Hamberg O, Stanga Z, Ad Hoc ESPEN Working Group","doi":"10.1016/s0261-5614(02)00214-5","id":"kondrup-2003","pmid":"12765680","source":"Clin Nutr. 2003;22(3):321-336","title":"Nutritional risk screening (NRS 2002): a new method based on an analysis of controlled clinical trials"},"components":[{"factor":"nutrition_status","points":0,"present":false,"value":0},{"factor":"disease_severity","points":0,"present":false,"value":0},{"factor":"age_ge_70","points":0,"present":false,"value":50}],"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.","disease_severity":0,"formula":"nrs_2002","formula_expression":"NRS-2002 = nutrition_status (0–3) + disease_severity (0–3) + 1 if age ≥ 70; max 7; at_risk if score ≥ 3","max_score":7,"nutrition_status":0,"score":0}],"path":"/api/calc/nrs_2002"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Kondrup 2003: add 1 point when age ≥70. Age 70 scores. Age 69 does not.","type":"integer"},"disease_severity":{"description":"Caller-assigned Kondrup 2003 disease severity 0-3. 0 absent (normal requirements). 1 mild (e.g. hip fracture; chronic illness with complications: cirrhosis, COPD, chronic hemodialysis, diabetes, oncology). 2 moderate (e.g. major abdominal surgery, stroke, severe pneumonia, hematologic malignancy). 3 severe (e.g. head injury, bone marrow transplant, ICU APACHE >10). magent does not assign the diagnosis.","enum":[0,1,2,3],"type":"integer"},"nutrition_status":{"description":"Caller-assigned Kondrup 2003 impaired nutritional status 0-3. If BMI, intake, and weight-loss grades differ, use the highest. 0 absent. 1 mild (weight loss >5% in 3 months or food intake 50-75% of requirement last week). 2 moderate (weight loss >5% in 2 months or BMI 18.5-20.5 plus impaired general condition or intake 25-60%). 3 severe (weight loss >5% in 1 month / >15% in 3 months or BMI <18.5 plus impaired general condition or intake 0-25%). magent does not weigh the patient or compute BMI, weight-loss, or intake.","enum":[0,1,2,3],"type":"integer"}},"required":["nutrition_status","disease_severity","age"],"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},{"id":39000,"slug":"39000","resource":"https://api.magentlab.com/api/calc/nrpe","description":"Rao 2021 natriuretic response prediction equation from caller-assigned eGFR and BSA, serum and urine creatinine, and urine sodium on a spot sample ~2 h after IV loop diuretic. Na_output_mmol = eGFR*(BSA/1.73)*(SerumCr/UrineCr)*60*3.25*(UrineNa/1000). Poor <50 mmol; suboptimal <100 mmol (includes poor); excellent >150 mmol. magent does not compute eGFR or BSA and does not order a diuretic.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bsa_m2":1.73,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"egfr_ml_min_1_73m2":80,"urine_creatinine_mg_dl":25,"urine_creatinine_umol_l":2210.5,"urine_sodium_mmol_l":90},{"bsa_m2":1.73,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"egfr_ml_min_1_73m2":80,"urine_creatinine_mg_dl":25,"urine_creatinine_umol_l":2210.5,"urine_sodium_mmol_l":90}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bsa_m2":1.73,"citation":{"authors":"Rao VS, Ivey-Miranda JB, Cox ZL, et al.","doi":"10.1016/j.jacc.2020.12.022","id":"rao-2021","pmid":"33573739","source":"J Am Coll Cardiol. 2021;77(6):695-708","title":"Natriuretic Equation to Predict Loop Diuretic Response in Patients With Heart Failure"},"creatinine_mg_dl":1,"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.","egfr_ml_min_1_73m2":80,"excellent_response":false,"formula":"nrpe","formula_expression":"na_output_mmol = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25 * (urine_sodium_mmol_l / 1000); urine_output_ml = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25","na_output_mmol":56.2,"poor_response":false,"suboptimal_response":true,"urine_creatinine_mg_dl":25,"urine_output_ml":624,"urine_sodium_mmol_l":90},{"bsa_m2":1.73,"citation":{"authors":"Rao VS, Ivey-Miranda JB, Cox ZL, et al.","doi":"10.1016/j.jacc.2020.12.022","id":"rao-2021","pmid":"33573739","source":"J Am Coll Cardiol. 2021;77(6):695-708","title":"Natriuretic Equation to Predict Loop Diuretic Response in Patients With Heart Failure"},"creatinine_mg_dl":1,"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.","egfr_ml_min_1_73m2":80,"excellent_response":false,"formula":"nrpe","formula_expression":"na_output_mmol = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25 * (urine_sodium_mmol_l / 1000); urine_output_ml = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25","na_output_mmol":56.2,"poor_response":false,"suboptimal_response":true,"urine_creatinine_mg_dl":25,"urine_output_ml":624,"urine_sodium_mmol_l":90}],"path":"/api/calc/nrpe"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bsa_m2":{"description":"Caller-assigned body surface area in m² (0.4-3.5). Paper used Du Bois. magent does not compute BSA.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both.","type":"number"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m² (5-200). magent does not compute CKD-EPI (including race-based 2009 CKD-EPI).","type":"number"},"urine_creatinine_mg_dl":{"description":"Urine creatinine in mg/dL (1-500). Provide this or urine_creatinine_umol_l, not both.","type":"number"},"urine_creatinine_umol_l":{"description":"Urine creatinine in µmol/L (88-44210). Converted as mg/dL = µmol/L / 88.42. Provide this or urine_creatinine_mg_dl, not both.","type":"number"},"urine_sodium_mmol_l":{"description":"Spot urine sodium in mmol/L (1-300), ~2 h after IV loop diuretic.","type":"number"}},"required":["egfr_ml_min_1_73m2","bsa_m2","urine_sodium_mmol_l"],"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":["nrpe","kidney","heart-failure","diuretic","natriuresis","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:56:25.903Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:56:25.773Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bsa_m2":1.73,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"egfr_ml_min_1_73m2":80,"urine_creatinine_mg_dl":25,"urine_creatinine_umol_l":2210.5,"urine_sodium_mmol_l":90},{"bsa_m2":1.73,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"egfr_ml_min_1_73m2":80,"urine_creatinine_mg_dl":25,"urine_creatinine_umol_l":2210.5,"urine_sodium_mmol_l":90}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bsa_m2":1.73,"citation":{"authors":"Rao VS, Ivey-Miranda JB, Cox ZL, et al.","doi":"10.1016/j.jacc.2020.12.022","id":"rao-2021","pmid":"33573739","source":"J Am Coll Cardiol. 2021;77(6):695-708","title":"Natriuretic Equation to Predict Loop Diuretic Response in Patients With Heart Failure"},"creatinine_mg_dl":1,"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.","egfr_ml_min_1_73m2":80,"excellent_response":false,"formula":"nrpe","formula_expression":"na_output_mmol = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25 * (urine_sodium_mmol_l / 1000); urine_output_ml = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25","na_output_mmol":56.2,"poor_response":false,"suboptimal_response":true,"urine_creatinine_mg_dl":25,"urine_output_ml":624,"urine_sodium_mmol_l":90},{"bsa_m2":1.73,"citation":{"authors":"Rao VS, Ivey-Miranda JB, Cox ZL, et al.","doi":"10.1016/j.jacc.2020.12.022","id":"rao-2021","pmid":"33573739","source":"J Am Coll Cardiol. 2021;77(6):695-708","title":"Natriuretic Equation to Predict Loop Diuretic Response in Patients With Heart Failure"},"creatinine_mg_dl":1,"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.","egfr_ml_min_1_73m2":80,"excellent_response":false,"formula":"nrpe","formula_expression":"na_output_mmol = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25 * (urine_sodium_mmol_l / 1000); urine_output_ml = egfr_ml_min_1_73m2 * (bsa_m2 / 1.73) * (creatinine_mg_dl / urine_creatinine_mg_dl) * 60 * 3.25","na_output_mmol":56.2,"poor_response":false,"suboptimal_response":true,"urine_creatinine_mg_dl":25,"urine_output_ml":624,"urine_sodium_mmol_l":90}],"path":"/api/calc/nrpe"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bsa_m2":{"description":"Caller-assigned body surface area in m² (0.4-3.5). Paper used Du Bois. magent does not compute BSA.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both.","type":"number"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m² (5-200). magent does not compute CKD-EPI (including race-based 2009 CKD-EPI).","type":"number"},"urine_creatinine_mg_dl":{"description":"Urine creatinine in mg/dL (1-500). Provide this or urine_creatinine_umol_l, not both.","type":"number"},"urine_creatinine_umol_l":{"description":"Urine creatinine in µmol/L (88-44210). Converted as mg/dL = µmol/L / 88.42. Provide this or urine_creatinine_mg_dl, not both.","type":"number"},"urine_sodium_mmol_l":{"description":"Spot urine sodium in mmol/L (1-300), ~2 h after IV loop diuretic.","type":"number"}},"required":["egfr_ml_min_1_73m2","bsa_m2","urine_sodium_mmol_l"],"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},{"id":39001,"slug":"39001","resource":"https://api.magentlab.com/api/calc/nirudak","description":"Barry 2021 NIRUDAK Table 2 integer score (max 13) for patients 5–120 years with acute diarrhea: age, sex, eye_level, radial_pulse, respirations, skin_pinch (rapid/slow/very_slow), vomiting_episodes_24h. Bands 0-3 no, 4-6 some, 7-13 severe dehydration. Not WHO IMCI/IMAI. Not DHAKA. Not PLOS logistic models. magent does not examine the patient or order fluids. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"eye_level":"normal","radial_pulse":"strong","respirations":"normal","sex":"female","skin_pinch":"rapid","vomiting_episodes_24h":"lt_1"},{"age":70,"eye_level":"normal","radial_pulse":"strong","respirations":"normal","sex":"female","skin_pinch":"rapid","vomiting_episodes_24h":"lt_1"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Barry MA, Garbern SC, Lee JA, Qu K, Gainey M, Schmid CH, Nasrin S, Alam NH, Nelson EJ, Rosen RK, Levine AC","doi":"10.4269/ajtmh.21-0143","id":"barry-2021","pmid":"34398821","source":"Am J Trop Med Hyg. 2021;105(5):1368-1375","title":"Derivation and Internal Validation of a Score to Predict Dehydration Severity in Patients over 5 Years with Acute Diarrhea"},"components":[{"factor":"age","points":0,"present":true,"value":70},{"factor":"sex","points":0,"present":true,"value":"female"},{"factor":"eye_level","points":0,"present":true,"value":"normal"},{"factor":"radial_pulse","points":0,"present":true,"value":"strong"},{"factor":"respirations","points":0,"present":true,"value":"normal"},{"factor":"skin_pinch","points":0,"present":true,"value":"rapid"},{"factor":"vomiting_episodes_24h","points":0,"present":true,"value":"lt_1"}],"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.","eye_level":"normal","formula":"nirudak","formula_expression":"NIRUDAK = age (>59 0, 20-59 1, <20 2) + sex (female 0, male 1) + eye_level (normal 0, sunken 1) + radial_pulse (strong 0, decreased 1, absent 2) + respirations (normal 0, deep 1) + skin_pinch (rapid 0, slow 2, very_slow 4) + vomiting_episodes_24h (lt_1 0, 1_to_10 1, gt_10 2); Barry 2021 Table 2; max 13","max_score":13,"nirudak_band":"no_dehydration","radial_pulse":"strong","respirations":"normal","score":0,"sex":"female","skin_pinch":"rapid","vomiting_episodes_24h":"lt_1"},{"age_years":70,"citation":{"authors":"Barry MA, Garbern SC, Lee JA, Qu K, Gainey M, Schmid CH, Nasrin S, Alam NH, Nelson EJ, Rosen RK, Levine AC","doi":"10.4269/ajtmh.21-0143","id":"barry-2021","pmid":"34398821","source":"Am J Trop Med Hyg. 2021;105(5):1368-1375","title":"Derivation and Internal Validation of a Score to Predict Dehydration Severity in Patients over 5 Years with Acute Diarrhea"},"components":[{"factor":"age","points":0,"present":true,"value":70},{"factor":"sex","points":0,"present":true,"value":"female"},{"factor":"eye_level","points":0,"present":true,"value":"normal"},{"factor":"radial_pulse","points":0,"present":true,"value":"strong"},{"factor":"respirations","points":0,"present":true,"value":"normal"},{"factor":"skin_pinch","points":0,"present":true,"value":"rapid"},{"factor":"vomiting_episodes_24h","points":0,"present":true,"value":"lt_1"}],"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.","eye_level":"normal","formula":"nirudak","formula_expression":"NIRUDAK = age (>59 0, 20-59 1, <20 2) + sex (female 0, male 1) + eye_level (normal 0, sunken 1) + radial_pulse (strong 0, decreased 1, absent 2) + respirations (normal 0, deep 1) + skin_pinch (rapid 0, slow 2, very_slow 4) + vomiting_episodes_24h (lt_1 0, 1_to_10 1, gt_10 2); Barry 2021 Table 2; max 13","max_score":13,"nirudak_band":"no_dehydration","radial_pulse":"strong","respirations":"normal","score":0,"sex":"female","skin_pinch":"rapid","vomiting_episodes_24h":"lt_1"}],"path":"/api/calc/nirudak"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years, integer 5–120. Barry 2021 Table 2: >59 scores 0, 20–59 scores 1, <20 scores 2. Not the adult 18–120 clamp.","type":"integer"},"eye_level":{"description":"Caller-assigned Barry 2021 Table 2 eye level: normal (0) or sunken (1). magent does not examine the patient.","enum":["normal","sunken"],"type":"string"},"radial_pulse":{"description":"Caller-assigned Barry 2021 Table 2 radial pulse: strong (0), decreased (1), or absent (2). magent does not examine the patient.","enum":["strong","decreased","absent"],"type":"string"},"respirations":{"description":"Caller-assigned Barry 2021 Table 2 respirations: normal (0) or deep (1). Deep scores 1, not DHAKA Table 3's 2. magent does not examine the patient.","enum":["normal","deep"],"type":"string"},"sex":{"description":"female (0) or male (1) (Barry 2021 Table 2).","enum":["female","male"],"type":"string"},"skin_pinch":{"description":"Caller-assigned Barry 2021 Table 2 skin pinch: rapid (0), slow (2), or very_slow (4). Reference is rapid, not DHAKA normal. magent does not examine the patient.","enum":["rapid","slow","very_slow"],"type":"string"},"vomiting_episodes_24h":{"description":"Caller-assigned Barry 2021 Table 2 vomiting episodes in 24 hours: lt_1 (0; <1), 1_to_10 (1), or gt_10 (2; >10).","enum":["lt_1","1_to_10","gt_10"],"type":"string"}},"required":["age","sex","eye_level","radial_pulse","respirations","skin_pinch","vomiting_episodes_24h"],"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":["nirudak","dehydration","diarrhea","emergency","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:56:24.489Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:56:24.319Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"eye_level":"normal","radial_pulse":"strong","respirations":"normal","sex":"female","skin_pinch":"rapid","vomiting_episodes_24h":"lt_1"},{"age":70,"eye_level":"normal","radial_pulse":"strong","respirations":"normal","sex":"female","skin_pinch":"rapid","vomiting_episodes_24h":"lt_1"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Barry MA, Garbern SC, Lee JA, Qu K, Gainey M, Schmid CH, Nasrin S, Alam NH, Nelson EJ, Rosen RK, Levine AC","doi":"10.4269/ajtmh.21-0143","id":"barry-2021","pmid":"34398821","source":"Am J Trop Med Hyg. 2021;105(5):1368-1375","title":"Derivation and Internal Validation of a Score to Predict Dehydration Severity in Patients over 5 Years with Acute Diarrhea"},"components":[{"factor":"age","points":0,"present":true,"value":70},{"factor":"sex","points":0,"present":true,"value":"female"},{"factor":"eye_level","points":0,"present":true,"value":"normal"},{"factor":"radial_pulse","points":0,"present":true,"value":"strong"},{"factor":"respirations","points":0,"present":true,"value":"normal"},{"factor":"skin_pinch","points":0,"present":true,"value":"rapid"},{"factor":"vomiting_episodes_24h","points":0,"present":true,"value":"lt_1"}],"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.","eye_level":"normal","formula":"nirudak","formula_expression":"NIRUDAK = age (>59 0, 20-59 1, <20 2) + sex (female 0, male 1) + eye_level (normal 0, sunken 1) + radial_pulse (strong 0, decreased 1, absent 2) + respirations (normal 0, deep 1) + skin_pinch (rapid 0, slow 2, very_slow 4) + vomiting_episodes_24h (lt_1 0, 1_to_10 1, gt_10 2); Barry 2021 Table 2; max 13","max_score":13,"nirudak_band":"no_dehydration","radial_pulse":"strong","respirations":"normal","score":0,"sex":"female","skin_pinch":"rapid","vomiting_episodes_24h":"lt_1"},{"age_years":70,"citation":{"authors":"Barry MA, Garbern SC, Lee JA, Qu K, Gainey M, Schmid CH, Nasrin S, Alam NH, Nelson EJ, Rosen RK, Levine AC","doi":"10.4269/ajtmh.21-0143","id":"barry-2021","pmid":"34398821","source":"Am J Trop Med Hyg. 2021;105(5):1368-1375","title":"Derivation and Internal Validation of a Score to Predict Dehydration Severity in Patients over 5 Years with Acute Diarrhea"},"components":[{"factor":"age","points":0,"present":true,"value":70},{"factor":"sex","points":0,"present":true,"value":"female"},{"factor":"eye_level","points":0,"present":true,"value":"normal"},{"factor":"radial_pulse","points":0,"present":true,"value":"strong"},{"factor":"respirations","points":0,"present":true,"value":"normal"},{"factor":"skin_pinch","points":0,"present":true,"value":"rapid"},{"factor":"vomiting_episodes_24h","points":0,"present":true,"value":"lt_1"}],"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.","eye_level":"normal","formula":"nirudak","formula_expression":"NIRUDAK = age (>59 0, 20-59 1, <20 2) + sex (female 0, male 1) + eye_level (normal 0, sunken 1) + radial_pulse (strong 0, decreased 1, absent 2) + respirations (normal 0, deep 1) + skin_pinch (rapid 0, slow 2, very_slow 4) + vomiting_episodes_24h (lt_1 0, 1_to_10 1, gt_10 2); Barry 2021 Table 2; max 13","max_score":13,"nirudak_band":"no_dehydration","radial_pulse":"strong","respirations":"normal","score":0,"sex":"female","skin_pinch":"rapid","vomiting_episodes_24h":"lt_1"}],"path":"/api/calc/nirudak"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years, integer 5–120. Barry 2021 Table 2: >59 scores 0, 20–59 scores 1, <20 scores 2. Not the adult 18–120 clamp.","type":"integer"},"eye_level":{"description":"Caller-assigned Barry 2021 Table 2 eye level: normal (0) or sunken (1). magent does not examine the patient.","enum":["normal","sunken"],"type":"string"},"radial_pulse":{"description":"Caller-assigned Barry 2021 Table 2 radial pulse: strong (0), decreased (1), or absent (2). magent does not examine the patient.","enum":["strong","decreased","absent"],"type":"string"},"respirations":{"description":"Caller-assigned Barry 2021 Table 2 respirations: normal (0) or deep (1). Deep scores 1, not DHAKA Table 3's 2. magent does not examine the patient.","enum":["normal","deep"],"type":"string"},"sex":{"description":"female (0) or male (1) (Barry 2021 Table 2).","enum":["female","male"],"type":"string"},"skin_pinch":{"description":"Caller-assigned Barry 2021 Table 2 skin pinch: rapid (0), slow (2), or very_slow (4). Reference is rapid, not DHAKA normal. magent does not examine the patient.","enum":["rapid","slow","very_slow"],"type":"string"},"vomiting_episodes_24h":{"description":"Caller-assigned Barry 2021 Table 2 vomiting episodes in 24 hours: lt_1 (0; <1), 1_to_10 (1), or gt_10 (2; >10).","enum":["lt_1","1_to_10","gt_10"],"type":"string"}},"required":["age","sex","eye_level","radial_pulse","respirations","skin_pinch","vomiting_episodes_24h"],"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},{"id":39002,"slug":"39002","resource":"https://api.magentlab.com/api/calc/nihss","description":"Brott 1989 NIH stroke scale: 15 caller-assigned exam integers including pupillary response (0-2) and plantar reflex (0-3), with weaker-limb motor arm (0-4) and motor leg (0-3). Sum 0-37. Not the later NINDS 11-category form, not mNIHSS, and not a tPA order. magent does not examine the patient. No total-score severity bands in Brott 1989; later website cutoffs are not applied. Not a diagnosis and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"best_gaze":0,"best_language":0,"best_motor_arm":0,"best_motor_leg":0,"best_visual":0,"dysarthria":0,"facial_palsy":0,"limb_ataxia":0,"loc":0,"loc_commands":0,"loc_questions":0,"neglect":0,"plantar_reflex":0,"pupillary_response":0,"sensory":0},{"best_gaze":0,"best_language":0,"best_motor_arm":0,"best_motor_leg":0,"best_visual":0,"dysarthria":0,"facial_palsy":0,"limb_ataxia":0,"loc":0,"loc_commands":0,"loc_questions":0,"neglect":0,"plantar_reflex":0,"pupillary_response":0,"sensory":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brott T, Adams HP Jr, Olinger CP, Marler JR, Barsan WG, Biller J, Spilker J, Holleran R, Eberle R, Hertzberg V, Rorick M, Moomaw CJ, Walker M","doi":"10.1161/01.STR.20.7.864","id":"brott-1989","pmid":"2749095","source":"Stroke. 1989;20(7):864-870","title":"Measurements of acute cerebral infarction: a clinical examination scale"},"components":[{"factor":"loc","points":0,"present":true,"value":0},{"factor":"loc_questions","points":0,"present":true,"value":0},{"factor":"loc_commands","points":0,"present":true,"value":0},{"factor":"pupillary_response","points":0,"present":true,"value":0},{"factor":"best_gaze","points":0,"present":true,"value":0},{"factor":"best_visual","points":0,"present":true,"value":0},{"factor":"facial_palsy","points":0,"present":true,"value":0},{"factor":"best_motor_arm","points":0,"present":true,"value":0},{"factor":"best_motor_leg","points":0,"present":true,"value":0},{"factor":"plantar_reflex","points":0,"present":true,"value":0},{"factor":"limb_ataxia","points":0,"present":true,"value":0},{"factor":"sensory","points":0,"present":true,"value":0},{"factor":"neglect","points":0,"present":true,"value":0},{"factor":"dysarthria","points":0,"present":true,"value":0},{"factor":"best_language","points":0,"present":true,"value":0}],"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":"nihss","formula_expression":"NIHSS = loc (0-3) + loc_questions (0-2) + loc_commands (0-2) + pupillary_response (0-2) + best_gaze (0-2) + best_visual (0-2) + facial_palsy (0-3) + best_motor_arm (0-4) + best_motor_leg (0-3) + plantar_reflex (0-3) + limb_ataxia (0-2) + sensory (0-2) + neglect (0-2) + dysarthria (0-2) + best_language (0-3); Brott 1989 15-item neurologic examination scale (weaker-limb motor; includes pupillary response and plantar reflex); total = sum; max 37; no published total-score severity bands","max_score":37,"score":0},{"citation":{"authors":"Brott T, Adams HP Jr, Olinger CP, Marler JR, Barsan WG, Biller J, Spilker J, Holleran R, Eberle R, Hertzberg V, Rorick M, Moomaw CJ, Walker M","doi":"10.1161/01.STR.20.7.864","id":"brott-1989","pmid":"2749095","source":"Stroke. 1989;20(7):864-870","title":"Measurements of acute cerebral infarction: a clinical examination scale"},"components":[{"factor":"loc","points":0,"present":true,"value":0},{"factor":"loc_questions","points":0,"present":true,"value":0},{"factor":"loc_commands","points":0,"present":true,"value":0},{"factor":"pupillary_response","points":0,"present":true,"value":0},{"factor":"best_gaze","points":0,"present":true,"value":0},{"factor":"best_visual","points":0,"present":true,"value":0},{"factor":"facial_palsy","points":0,"present":true,"value":0},{"factor":"best_motor_arm","points":0,"present":true,"value":0},{"factor":"best_motor_leg","points":0,"present":true,"value":0},{"factor":"plantar_reflex","points":0,"present":true,"value":0},{"factor":"limb_ataxia","points":0,"present":true,"value":0},{"factor":"sensory","points":0,"present":true,"value":0},{"factor":"neglect","points":0,"present":true,"value":0},{"factor":"dysarthria","points":0,"present":true,"value":0},{"factor":"best_language","points":0,"present":true,"value":0}],"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":"nihss","formula_expression":"NIHSS = loc (0-3) + loc_questions (0-2) + loc_commands (0-2) + pupillary_response (0-2) + best_gaze (0-2) + best_visual (0-2) + facial_palsy (0-3) + best_motor_arm (0-4) + best_motor_leg (0-3) + plantar_reflex (0-3) + limb_ataxia (0-2) + sensory (0-2) + neglect (0-2) + dysarthria (0-2) + best_language (0-3); Brott 1989 15-item neurologic examination scale (weaker-limb motor; includes pupillary response and plantar reflex); total = sum; max 37; no published total-score severity bands","max_score":37,"score":0}],"path":"/api/calc/nihss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"best_gaze":{"description":"Caller-assigned Brott 1989 best gaze (integer 0-2): 0 normal, 1 partial gaze palsy, 2 forced deviation. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"best_language":{"description":"Caller-assigned Brott 1989 best language (integer 0-3): 0 no aphasia, 1 mild to moderate, 2 severe aphasia, 3 mute. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"best_motor_arm":{"description":"Caller-assigned Brott 1989 best motor arm, weaker limb (integer 0-4): 0 no drift, 1 drift, 2 cannot resist gravity, 3 no effort, 4 no movement. Not left and right separately. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"best_motor_leg":{"description":"Caller-assigned Brott 1989 best motor leg, weaker limb (integer 0-3): 0 no drift, 1 drift, 2 cannot resist gravity, 3 no effort. Not left and right separately. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"best_visual":{"description":"Caller-assigned Brott 1989 best visual (integer 0-2): 0 no visual loss, 1 partial hemianopia, 2 complete hemianopia. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"dysarthria":{"description":"Caller-assigned Brott 1989 dysarthria (integer 0-2): 0 normal articulation, 1 mild to moderate, 2 near unintelligible or worse. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"facial_palsy":{"description":"Caller-assigned Brott 1989 facial palsy (integer 0-3): 0 normal, 1 minor, 2 partial, 3 complete. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"limb_ataxia":{"description":"Caller-assigned Brott 1989 limb ataxia (integer 0-2): 0 absent, 1 present in upper or lower, 2 present in both. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"loc":{"description":"Caller-assigned Brott 1989 level of consciousness (integer 0-3): 0 alert, 1 drowsy, 2 stuporous, 3 coma. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"loc_commands":{"description":"Caller-assigned Brott 1989 LOC commands (integer 0-2): 0 obeys both correctly, 1 obeys one correctly, 2 incorrect. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"loc_questions":{"description":"Caller-assigned Brott 1989 LOC questions (integer 0-2): 0 answers both correctly, 1 answers one correctly, 2 incorrect. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"neglect":{"description":"Caller-assigned Brott 1989 neglect (integer 0-2): 0 no neglect, 1 partial neglect, 2 complete neglect. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"plantar_reflex":{"description":"Caller-assigned Brott 1989 plantar reflex (integer 0-3): 0 normal, 1 equivocal, 2 extensor, 3 bilateral extensor. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"pupillary_response":{"description":"Caller-assigned Brott 1989 pupillary response (integer 0-2): 0 both reactive, 1 one reactive, 2 neither reactive. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"sensory":{"description":"Caller-assigned Brott 1989 sensory (integer 0-2): 0 normal, 1 partial loss, 2 dense loss. magent does not examine the patient.","enum":[0,1,2],"type":"integer"}},"required":["loc","loc_questions","loc_commands","pupillary_response","best_gaze","best_visual","facial_palsy","best_motor_arm","best_motor_leg","plantar_reflex","limb_ataxia","sensory","neglect","dysarthria","best_language"],"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":["nihss","stroke","neurology","brott","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:56:22.835Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:56:22.694Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"best_gaze":0,"best_language":0,"best_motor_arm":0,"best_motor_leg":0,"best_visual":0,"dysarthria":0,"facial_palsy":0,"limb_ataxia":0,"loc":0,"loc_commands":0,"loc_questions":0,"neglect":0,"plantar_reflex":0,"pupillary_response":0,"sensory":0},{"best_gaze":0,"best_language":0,"best_motor_arm":0,"best_motor_leg":0,"best_visual":0,"dysarthria":0,"facial_palsy":0,"limb_ataxia":0,"loc":0,"loc_commands":0,"loc_questions":0,"neglect":0,"plantar_reflex":0,"pupillary_response":0,"sensory":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brott T, Adams HP Jr, Olinger CP, Marler JR, Barsan WG, Biller J, Spilker J, Holleran R, Eberle R, Hertzberg V, Rorick M, Moomaw CJ, Walker M","doi":"10.1161/01.STR.20.7.864","id":"brott-1989","pmid":"2749095","source":"Stroke. 1989;20(7):864-870","title":"Measurements of acute cerebral infarction: a clinical examination scale"},"components":[{"factor":"loc","points":0,"present":true,"value":0},{"factor":"loc_questions","points":0,"present":true,"value":0},{"factor":"loc_commands","points":0,"present":true,"value":0},{"factor":"pupillary_response","points":0,"present":true,"value":0},{"factor":"best_gaze","points":0,"present":true,"value":0},{"factor":"best_visual","points":0,"present":true,"value":0},{"factor":"facial_palsy","points":0,"present":true,"value":0},{"factor":"best_motor_arm","points":0,"present":true,"value":0},{"factor":"best_motor_leg","points":0,"present":true,"value":0},{"factor":"plantar_reflex","points":0,"present":true,"value":0},{"factor":"limb_ataxia","points":0,"present":true,"value":0},{"factor":"sensory","points":0,"present":true,"value":0},{"factor":"neglect","points":0,"present":true,"value":0},{"factor":"dysarthria","points":0,"present":true,"value":0},{"factor":"best_language","points":0,"present":true,"value":0}],"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":"nihss","formula_expression":"NIHSS = loc (0-3) + loc_questions (0-2) + loc_commands (0-2) + pupillary_response (0-2) + best_gaze (0-2) + best_visual (0-2) + facial_palsy (0-3) + best_motor_arm (0-4) + best_motor_leg (0-3) + plantar_reflex (0-3) + limb_ataxia (0-2) + sensory (0-2) + neglect (0-2) + dysarthria (0-2) + best_language (0-3); Brott 1989 15-item neurologic examination scale (weaker-limb motor; includes pupillary response and plantar reflex); total = sum; max 37; no published total-score severity bands","max_score":37,"score":0},{"citation":{"authors":"Brott T, Adams HP Jr, Olinger CP, Marler JR, Barsan WG, Biller J, Spilker J, Holleran R, Eberle R, Hertzberg V, Rorick M, Moomaw CJ, Walker M","doi":"10.1161/01.STR.20.7.864","id":"brott-1989","pmid":"2749095","source":"Stroke. 1989;20(7):864-870","title":"Measurements of acute cerebral infarction: a clinical examination scale"},"components":[{"factor":"loc","points":0,"present":true,"value":0},{"factor":"loc_questions","points":0,"present":true,"value":0},{"factor":"loc_commands","points":0,"present":true,"value":0},{"factor":"pupillary_response","points":0,"present":true,"value":0},{"factor":"best_gaze","points":0,"present":true,"value":0},{"factor":"best_visual","points":0,"present":true,"value":0},{"factor":"facial_palsy","points":0,"present":true,"value":0},{"factor":"best_motor_arm","points":0,"present":true,"value":0},{"factor":"best_motor_leg","points":0,"present":true,"value":0},{"factor":"plantar_reflex","points":0,"present":true,"value":0},{"factor":"limb_ataxia","points":0,"present":true,"value":0},{"factor":"sensory","points":0,"present":true,"value":0},{"factor":"neglect","points":0,"present":true,"value":0},{"factor":"dysarthria","points":0,"present":true,"value":0},{"factor":"best_language","points":0,"present":true,"value":0}],"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":"nihss","formula_expression":"NIHSS = loc (0-3) + loc_questions (0-2) + loc_commands (0-2) + pupillary_response (0-2) + best_gaze (0-2) + best_visual (0-2) + facial_palsy (0-3) + best_motor_arm (0-4) + best_motor_leg (0-3) + plantar_reflex (0-3) + limb_ataxia (0-2) + sensory (0-2) + neglect (0-2) + dysarthria (0-2) + best_language (0-3); Brott 1989 15-item neurologic examination scale (weaker-limb motor; includes pupillary response and plantar reflex); total = sum; max 37; no published total-score severity bands","max_score":37,"score":0}],"path":"/api/calc/nihss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"best_gaze":{"description":"Caller-assigned Brott 1989 best gaze (integer 0-2): 0 normal, 1 partial gaze palsy, 2 forced deviation. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"best_language":{"description":"Caller-assigned Brott 1989 best language (integer 0-3): 0 no aphasia, 1 mild to moderate, 2 severe aphasia, 3 mute. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"best_motor_arm":{"description":"Caller-assigned Brott 1989 best motor arm, weaker limb (integer 0-4): 0 no drift, 1 drift, 2 cannot resist gravity, 3 no effort, 4 no movement. Not left and right separately. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"best_motor_leg":{"description":"Caller-assigned Brott 1989 best motor leg, weaker limb (integer 0-3): 0 no drift, 1 drift, 2 cannot resist gravity, 3 no effort. Not left and right separately. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"best_visual":{"description":"Caller-assigned Brott 1989 best visual (integer 0-2): 0 no visual loss, 1 partial hemianopia, 2 complete hemianopia. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"dysarthria":{"description":"Caller-assigned Brott 1989 dysarthria (integer 0-2): 0 normal articulation, 1 mild to moderate, 2 near unintelligible or worse. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"facial_palsy":{"description":"Caller-assigned Brott 1989 facial palsy (integer 0-3): 0 normal, 1 minor, 2 partial, 3 complete. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"limb_ataxia":{"description":"Caller-assigned Brott 1989 limb ataxia (integer 0-2): 0 absent, 1 present in upper or lower, 2 present in both. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"loc":{"description":"Caller-assigned Brott 1989 level of consciousness (integer 0-3): 0 alert, 1 drowsy, 2 stuporous, 3 coma. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"loc_commands":{"description":"Caller-assigned Brott 1989 LOC commands (integer 0-2): 0 obeys both correctly, 1 obeys one correctly, 2 incorrect. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"loc_questions":{"description":"Caller-assigned Brott 1989 LOC questions (integer 0-2): 0 answers both correctly, 1 answers one correctly, 2 incorrect. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"neglect":{"description":"Caller-assigned Brott 1989 neglect (integer 0-2): 0 no neglect, 1 partial neglect, 2 complete neglect. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"plantar_reflex":{"description":"Caller-assigned Brott 1989 plantar reflex (integer 0-3): 0 normal, 1 equivocal, 2 extensor, 3 bilateral extensor. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"pupillary_response":{"description":"Caller-assigned Brott 1989 pupillary response (integer 0-2): 0 both reactive, 1 one reactive, 2 neither reactive. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"sensory":{"description":"Caller-assigned Brott 1989 sensory (integer 0-2): 0 normal, 1 partial loss, 2 dense loss. magent does not examine the patient.","enum":[0,1,2],"type":"integer"}},"required":["loc","loc_questions","loc_commands","pupillary_response","best_gaze","best_visual","facial_palsy","best_motor_arm","best_motor_leg","plantar_reflex","limb_ataxia","sensory","neglect","dysarthria","best_language"],"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},{"id":39003,"slug":"39003","resource":"https://api.magentlab.com/api/calc/nice_pediatric_iv","description":"NICE NG29 (2015, updated 2020) pediatric IV maintenance for children and young people: Holliday–Segar daily 100/50/20 mL/kg, then male 2500 mL or female 2000 mL 24-hour caps, then ADH-risk restriction at 50%, 80%, or 100% of the capped volume. Hourly is restricted/24, not 4-2-1. Not a prescription, not neonate day-of-life volumes, and not adult CG174.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"restriction_percent":100,"sex":"female","weight_kg":30,"weight_lb":66.1387},{"restriction_percent":100,"sex":"female","weight_kg":30,"weight_lb":66.1387}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"capped_ml":1700,"citation":{"authors":"National Institute for Health and Care Excellence","id":"nice-ng29","source":"NICE Guideline NG29. 2015 (updated 2020)","title":"Intravenous fluid therapy in children and young people in hospital"},"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":"nice_ng29","formula_expression":"holliday_ml = 100*min(kg,10) + 50*max(0, min(kg,20)-10) + 20*max(0, kg-20); capped_ml = min(holliday_ml, male 2500 else 2000); restricted_ml = capped_ml * restriction_percent / 100; hourly_ml = restricted_ml / 24","holliday_ml":1700,"hourly_ml":70.8,"restricted_ml":1700,"restriction_percent":100,"sex":"female","weight_kg":30},{"capped_ml":1700,"citation":{"authors":"National Institute for Health and Care Excellence","id":"nice-ng29","source":"NICE Guideline NG29. 2015 (updated 2020)","title":"Intravenous fluid therapy in children and young people in hospital"},"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":"nice_ng29","formula_expression":"holliday_ml = 100*min(kg,10) + 50*max(0, min(kg,20)-10) + 20*max(0, kg-20); capped_ml = min(holliday_ml, male 2500 else 2000); restricted_ml = capped_ml * restriction_percent / 100; hourly_ml = restricted_ml / 24","holliday_ml":1700,"hourly_ml":70.8,"restricted_ml":1700,"restriction_percent":100,"sex":"female","weight_kg":30}],"path":"/api/calc/nice_pediatric_iv"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"restriction_percent":{"description":"NICE NG29 1.4.9 ADH-risk restriction as a percent of the capped daily volume. 50, 80, or 100 (100 = no restriction).","enum":[50,80,100],"type":"integer"},"sex":{"description":"Sex for the NICE NG29 1.4.1 24-hour cap (female 2000 mL; male 2500 mL).","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Weight in kilograms (1-500). Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds (2-1100). Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sex","restriction_percent"],"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":["fluids","nice-ng29","pediatrics","maintenance","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:51:07.618Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:51:07.348Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"restriction_percent":100,"sex":"female","weight_kg":30,"weight_lb":66.1387},{"restriction_percent":100,"sex":"female","weight_kg":30,"weight_lb":66.1387}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"capped_ml":1700,"citation":{"authors":"National Institute for Health and Care Excellence","id":"nice-ng29","source":"NICE Guideline NG29. 2015 (updated 2020)","title":"Intravenous fluid therapy in children and young people in hospital"},"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":"nice_ng29","formula_expression":"holliday_ml = 100*min(kg,10) + 50*max(0, min(kg,20)-10) + 20*max(0, kg-20); capped_ml = min(holliday_ml, male 2500 else 2000); restricted_ml = capped_ml * restriction_percent / 100; hourly_ml = restricted_ml / 24","holliday_ml":1700,"hourly_ml":70.8,"restricted_ml":1700,"restriction_percent":100,"sex":"female","weight_kg":30},{"capped_ml":1700,"citation":{"authors":"National Institute for Health and Care Excellence","id":"nice-ng29","source":"NICE Guideline NG29. 2015 (updated 2020)","title":"Intravenous fluid therapy in children and young people in hospital"},"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":"nice_ng29","formula_expression":"holliday_ml = 100*min(kg,10) + 50*max(0, min(kg,20)-10) + 20*max(0, kg-20); capped_ml = min(holliday_ml, male 2500 else 2000); restricted_ml = capped_ml * restriction_percent / 100; hourly_ml = restricted_ml / 24","holliday_ml":1700,"hourly_ml":70.8,"restricted_ml":1700,"restriction_percent":100,"sex":"female","weight_kg":30}],"path":"/api/calc/nice_pediatric_iv"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"restriction_percent":{"description":"NICE NG29 1.4.9 ADH-risk restriction as a percent of the capped daily volume. 50, 80, or 100 (100 = no restriction).","enum":[50,80,100],"type":"integer"},"sex":{"description":"Sex for the NICE NG29 1.4.1 24-hour cap (female 2000 mL; male 2500 mL).","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Weight in kilograms (1-500). Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds (2-1100). Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sex","restriction_percent"],"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},{"id":39004,"slug":"39004","resource":"https://api.magentlab.com/api/calc/nice_iv_maintenance","description":"NICE CG174 adult hospital routine maintenance: 20, 25, or 30 mL/kg/day water times dosing weight, about 1 mmol/kg/day sodium, potassium, and chloride each, and 50–100 g/day glucose. Flags water over 2.5 L without capping. Not 4-2-1, not Holliday–Segar, not a fluid-type order. Caller assigns IBW when obese. Deterministic published arithmetic with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ml_per_kg_day":25,"weight_kg":70,"weight_lb":154.3236},{"ml_per_kg_day":25,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"National Institute for Health and Care Excellence","id":"nice-cg174","source":"NICE Clinical Guideline CG174. 2013 (updated 2017)","title":"Intravenous fluid therapy in adults in hospital"},"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.","electrolyte_mmol_day":70,"exceeds_2500_ml":false,"formula":"nice_cg174","formula_expression":"water_ml_day = ml_per_kg_day * weight_kg; electrolyte_mmol_day = 1 * weight_kg; glucose_g_day_low = 50; glucose_g_day_high = 100","glucose_g_day_high":100,"glucose_g_day_low":50,"ml_per_kg_day":25,"water_ml_day":1750,"weight_kg":70},{"citation":{"authors":"National Institute for Health and Care Excellence","id":"nice-cg174","source":"NICE Clinical Guideline CG174. 2013 (updated 2017)","title":"Intravenous fluid therapy in adults in hospital"},"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.","electrolyte_mmol_day":70,"exceeds_2500_ml":false,"formula":"nice_cg174","formula_expression":"water_ml_day = ml_per_kg_day * weight_kg; electrolyte_mmol_day = 1 * weight_kg; glucose_g_day_low = 50; glucose_g_day_high = 100","glucose_g_day_high":100,"glucose_g_day_low":50,"ml_per_kg_day":25,"water_ml_day":1750,"weight_kg":70}],"path":"/api/calc/nice_iv_maintenance"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ml_per_kg_day":{"description":"Routine maintenance water rate: 30 (1.4.1 upper initial 25-30), 25 (1.4.1 lower or 1.4.3 reduced upper), or 20 (1.4.3 reduced initial). Integers 20, 25, or 30 only.","type":"integer"},"weight_kg":{"description":"Dosing weight in kilograms (1-500). Provide weight_kg or weight_lb. For obesity, caller assigns ideal body weight (CG174 1.4.2); magent does not compute IBW.","type":"number"},"weight_lb":{"description":"Dosing weight in pounds (2-1100). Converted as kg = lb * 0.45359237.","type":"number"}},"required":["ml_per_kg_day"],"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":["fluids","nice","maintenance","iv","adult","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:51:06.526Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:51:06.381Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ml_per_kg_day":25,"weight_kg":70,"weight_lb":154.3236},{"ml_per_kg_day":25,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"National Institute for Health and Care Excellence","id":"nice-cg174","source":"NICE Clinical Guideline CG174. 2013 (updated 2017)","title":"Intravenous fluid therapy in adults in hospital"},"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.","electrolyte_mmol_day":70,"exceeds_2500_ml":false,"formula":"nice_cg174","formula_expression":"water_ml_day = ml_per_kg_day * weight_kg; electrolyte_mmol_day = 1 * weight_kg; glucose_g_day_low = 50; glucose_g_day_high = 100","glucose_g_day_high":100,"glucose_g_day_low":50,"ml_per_kg_day":25,"water_ml_day":1750,"weight_kg":70},{"citation":{"authors":"National Institute for Health and Care Excellence","id":"nice-cg174","source":"NICE Clinical Guideline CG174. 2013 (updated 2017)","title":"Intravenous fluid therapy in adults in hospital"},"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.","electrolyte_mmol_day":70,"exceeds_2500_ml":false,"formula":"nice_cg174","formula_expression":"water_ml_day = ml_per_kg_day * weight_kg; electrolyte_mmol_day = 1 * weight_kg; glucose_g_day_low = 50; glucose_g_day_high = 100","glucose_g_day_high":100,"glucose_g_day_low":50,"ml_per_kg_day":25,"water_ml_day":1750,"weight_kg":70}],"path":"/api/calc/nice_iv_maintenance"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ml_per_kg_day":{"description":"Routine maintenance water rate: 30 (1.4.1 upper initial 25-30), 25 (1.4.1 lower or 1.4.3 reduced upper), or 20 (1.4.3 reduced initial). Integers 20, 25, or 30 only.","type":"integer"},"weight_kg":{"description":"Dosing weight in kilograms (1-500). Provide weight_kg or weight_lb. For obesity, caller assigns ideal body weight (CG174 1.4.2); magent does not compute IBW.","type":"number"},"weight_lb":{"description":"Dosing weight in pounds (2-1100). Converted as kg = lb * 0.45359237.","type":"number"}},"required":["ml_per_kg_day"],"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},{"id":39005,"slug":"39005","resource":"https://api.magentlab.com/api/calc/nexus_head_ct","description":"NEXUS Head CT (Mower 2017). Low-risk, and CT may be omitted by this instrument, only when all eight are absent: age 65 or older, evidence of skull fracture, scalp hematoma, neurologic deficit, altered alertness, abnormal behavior, coagulopathy, and persistent vomiting. Age 65 is high-risk; age 64 is not on age alone. Not a diagnosis, not a CT order, not Hoffman 2000 NEXUS C-spine, and not the Canadian CT Head Rule. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_behavior":false,"age":40,"altered_alertness":false,"coagulopathy":false,"neurologic_deficit":false,"persistent_vomiting":false,"scalp_hematoma":false,"skull_fracture":false},{"abnormal_behavior":false,"age":40,"altered_alertness":false,"coagulopathy":false,"neurologic_deficit":false,"persistent_vomiting":false,"scalp_hematoma":false,"skull_fracture":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mower WR, Gupta M, Rodriguez R, Hendey GW","doi":"10.1371/journal.pmed.1002313","id":"mower-2017","pmid":"28700585","source":"PLoS Med. 2017;14(7):e1002313","title":"Validation of the sensitivity of the National Emergency X-Radiography Utilization Study (NEXUS) Head computed tomographic (CT) decision instrument for selective imaging of blunt head injury patients: An observational study"},"criteria":[{"factor":"age_lt_65","met":true,"value":40},{"factor":"no_skull_fracture","met":true},{"factor":"no_scalp_hematoma","met":true},{"factor":"no_neurologic_deficit","met":true},{"factor":"no_altered_alertness","met":true},{"factor":"no_abnormal_behavior","met":true},{"factor":"no_coagulopathy","met":true},{"factor":"no_persistent_vomiting","met":true}],"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":"nexus_head_ct","formula_expression":"low_risk iff age < 65 and no skull_fracture and no scalp_hematoma and no neurologic_deficit and no altered_alertness and no abnormal_behavior and no coagulopathy and no persistent_vomiting","low_risk":true},{"citation":{"authors":"Mower WR, Gupta M, Rodriguez R, Hendey GW","doi":"10.1371/journal.pmed.1002313","id":"mower-2017","pmid":"28700585","source":"PLoS Med. 2017;14(7):e1002313","title":"Validation of the sensitivity of the National Emergency X-Radiography Utilization Study (NEXUS) Head computed tomographic (CT) decision instrument for selective imaging of blunt head injury patients: An observational study"},"criteria":[{"factor":"age_lt_65","met":true,"value":40},{"factor":"no_skull_fracture","met":true},{"factor":"no_scalp_hematoma","met":true},{"factor":"no_neurologic_deficit","met":true},{"factor":"no_altered_alertness","met":true},{"factor":"no_abnormal_behavior","met":true},{"factor":"no_coagulopathy","met":true},{"factor":"no_persistent_vomiting","met":true}],"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":"nexus_head_ct","formula_expression":"low_risk iff age < 65 and no skull_fracture and no scalp_hematoma and no neurologic_deficit and no altered_alertness and no abnormal_behavior and no coagulopathy and no persistent_vomiting","low_risk":true}],"path":"/api/calc/nexus_head_ct"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_behavior":{"description":"Abnormal behavior as assigned by the caller. true means abnormal behavior is present and low_risk is false. true or false. magent does not examine the patient.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). Age ≥ 65 is a high-risk criterion; 64 is not high-risk on age alone. Low-risk age criterion holds when age < 65.","type":"integer"},"altered_alertness":{"description":"Altered level of alertness as assigned by the caller. true means alertness is altered and low_risk is false. true or false. magent does not assign GCS.","type":"boolean"},"coagulopathy":{"description":"Coagulopathy as assigned by the caller. true means coagulopathy is present and low_risk is false. true or false. magent does not interpret a coagulation assay.","type":"boolean"},"neurologic_deficit":{"description":"Neurologic deficit (neurosurgical deficits) as assigned by the caller. true means a deficit is present and low_risk is false. true or false. magent does not examine the patient.","type":"boolean"},"persistent_vomiting":{"description":"Persistent vomiting as assigned by the caller. true means persistent vomiting is present and low_risk is false. true or false. magent does not take a vomit count.","type":"boolean"},"scalp_hematoma":{"description":"Scalp hematoma as assigned by the caller. true means a scalp hematoma is present and low_risk is false. true or false. magent does not examine the scalp.","type":"boolean"},"skull_fracture":{"description":"Evidence of skull fracture as assigned by the caller. true means a skull-fracture finding is present and low_risk is false. true or false. magent does not examine the patient or read a radiograph.","type":"boolean"}},"required":["age","skull_fracture","scalp_hematoma","neurologic_deficit","altered_alertness","abnormal_behavior","coagulopathy","persistent_vomiting"],"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":["nexus-head-ct","head-ct","trauma","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:51:05.648Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:51:05.542Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_behavior":false,"age":40,"altered_alertness":false,"coagulopathy":false,"neurologic_deficit":false,"persistent_vomiting":false,"scalp_hematoma":false,"skull_fracture":false},{"abnormal_behavior":false,"age":40,"altered_alertness":false,"coagulopathy":false,"neurologic_deficit":false,"persistent_vomiting":false,"scalp_hematoma":false,"skull_fracture":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mower WR, Gupta M, Rodriguez R, Hendey GW","doi":"10.1371/journal.pmed.1002313","id":"mower-2017","pmid":"28700585","source":"PLoS Med. 2017;14(7):e1002313","title":"Validation of the sensitivity of the National Emergency X-Radiography Utilization Study (NEXUS) Head computed tomographic (CT) decision instrument for selective imaging of blunt head injury patients: An observational study"},"criteria":[{"factor":"age_lt_65","met":true,"value":40},{"factor":"no_skull_fracture","met":true},{"factor":"no_scalp_hematoma","met":true},{"factor":"no_neurologic_deficit","met":true},{"factor":"no_altered_alertness","met":true},{"factor":"no_abnormal_behavior","met":true},{"factor":"no_coagulopathy","met":true},{"factor":"no_persistent_vomiting","met":true}],"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":"nexus_head_ct","formula_expression":"low_risk iff age < 65 and no skull_fracture and no scalp_hematoma and no neurologic_deficit and no altered_alertness and no abnormal_behavior and no coagulopathy and no persistent_vomiting","low_risk":true},{"citation":{"authors":"Mower WR, Gupta M, Rodriguez R, Hendey GW","doi":"10.1371/journal.pmed.1002313","id":"mower-2017","pmid":"28700585","source":"PLoS Med. 2017;14(7):e1002313","title":"Validation of the sensitivity of the National Emergency X-Radiography Utilization Study (NEXUS) Head computed tomographic (CT) decision instrument for selective imaging of blunt head injury patients: An observational study"},"criteria":[{"factor":"age_lt_65","met":true,"value":40},{"factor":"no_skull_fracture","met":true},{"factor":"no_scalp_hematoma","met":true},{"factor":"no_neurologic_deficit","met":true},{"factor":"no_altered_alertness","met":true},{"factor":"no_abnormal_behavior","met":true},{"factor":"no_coagulopathy","met":true},{"factor":"no_persistent_vomiting","met":true}],"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":"nexus_head_ct","formula_expression":"low_risk iff age < 65 and no skull_fracture and no scalp_hematoma and no neurologic_deficit and no altered_alertness and no abnormal_behavior and no coagulopathy and no persistent_vomiting","low_risk":true}],"path":"/api/calc/nexus_head_ct"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_behavior":{"description":"Abnormal behavior as assigned by the caller. true means abnormal behavior is present and low_risk is false. true or false. magent does not examine the patient.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). Age ≥ 65 is a high-risk criterion; 64 is not high-risk on age alone. Low-risk age criterion holds when age < 65.","type":"integer"},"altered_alertness":{"description":"Altered level of alertness as assigned by the caller. true means alertness is altered and low_risk is false. true or false. magent does not assign GCS.","type":"boolean"},"coagulopathy":{"description":"Coagulopathy as assigned by the caller. true means coagulopathy is present and low_risk is false. true or false. magent does not interpret a coagulation assay.","type":"boolean"},"neurologic_deficit":{"description":"Neurologic deficit (neurosurgical deficits) as assigned by the caller. true means a deficit is present and low_risk is false. true or false. magent does not examine the patient.","type":"boolean"},"persistent_vomiting":{"description":"Persistent vomiting as assigned by the caller. true means persistent vomiting is present and low_risk is false. true or false. magent does not take a vomit count.","type":"boolean"},"scalp_hematoma":{"description":"Scalp hematoma as assigned by the caller. true means a scalp hematoma is present and low_risk is false. true or false. magent does not examine the scalp.","type":"boolean"},"skull_fracture":{"description":"Evidence of skull fracture as assigned by the caller. true means a skull-fracture finding is present and low_risk is false. true or false. magent does not examine the patient or read a radiograph.","type":"boolean"}},"required":["age","skull_fracture","scalp_hematoma","neurologic_deficit","altered_alertness","abnormal_behavior","coagulopathy","persistent_vomiting"],"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},{"id":39006,"slug":"39006","resource":"https://api.magentlab.com/api/calc/nexus_chest_ct","description":"NEXUS Chest CT (Rodriguez 2015). Chest CT-Major is negative only when abnormal CXR, distracting injury, chest-wall, sternal, thoracic-spine, and scapular tenderness are all absent. Chest CT-All is negative only when those six and rapid deceleration mechanism are absent. Presence of a criterion does not mandate CT. Not a diagnosis, not the NEXUS Chest CXR instrument, and not Hoffman 2000 NEXUS C-spine. Enrolled blunt trauma age >14. magent does not examine the patient or read a radiograph.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_cxr":false,"chest_wall_tenderness":false,"distracting_injury":false,"rapid_deceleration_mechanism":false,"scapular_tenderness":false,"sternal_tenderness":false,"thoracic_spine_tenderness":false},{"abnormal_cxr":false,"chest_wall_tenderness":false,"distracting_injury":false,"rapid_deceleration_mechanism":false,"scapular_tenderness":false,"sternal_tenderness":false,"thoracic_spine_tenderness":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rodriguez RM, Langdorf MI, Nishijima D, Baumann BM, Hendey GW, Medak AJ, Raja AS, Adelman EE, Mower WR","doi":"10.1371/journal.pmed.1001883","id":"rodriguez-2015","pmid":"26440607","source":"PLoS Med. 2015;12(10):e1001883","title":"Derivation and Validation of Two Decision Instruments for Selective Chest CT in Blunt Trauma: A Multicenter Prospective Observational Study (NEXUS Chest CT)"},"criteria":[{"factor":"no_abnormal_cxr","met":true},{"factor":"no_distracting_injury","met":true},{"factor":"no_chest_wall_tenderness","met":true},{"factor":"no_sternal_tenderness","met":true},{"factor":"no_thoracic_spine_tenderness","met":true},{"factor":"no_scapular_tenderness","met":true},{"factor":"no_rapid_deceleration_mechanism","met":true}],"ct_all_negative":true,"ct_major_negative":true,"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":"nexus_chest_ct","formula_expression":"ct_major_negative iff no abnormal_cxr and no distracting_injury and no chest_wall_tenderness and no sternal_tenderness and no thoracic_spine_tenderness and no scapular_tenderness; ct_all_negative iff Major-negative and no rapid_deceleration_mechanism"},{"citation":{"authors":"Rodriguez RM, Langdorf MI, Nishijima D, Baumann BM, Hendey GW, Medak AJ, Raja AS, Adelman EE, Mower WR","doi":"10.1371/journal.pmed.1001883","id":"rodriguez-2015","pmid":"26440607","source":"PLoS Med. 2015;12(10):e1001883","title":"Derivation and Validation of Two Decision Instruments for Selective Chest CT in Blunt Trauma: A Multicenter Prospective Observational Study (NEXUS Chest CT)"},"criteria":[{"factor":"no_abnormal_cxr","met":true},{"factor":"no_distracting_injury","met":true},{"factor":"no_chest_wall_tenderness","met":true},{"factor":"no_sternal_tenderness","met":true},{"factor":"no_thoracic_spine_tenderness","met":true},{"factor":"no_scapular_tenderness","met":true},{"factor":"no_rapid_deceleration_mechanism","met":true}],"ct_all_negative":true,"ct_major_negative":true,"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":"nexus_chest_ct","formula_expression":"ct_major_negative iff no abnormal_cxr and no distracting_injury and no chest_wall_tenderness and no sternal_tenderness and no thoracic_spine_tenderness and no scapular_tenderness; ct_all_negative iff Major-negative and no rapid_deceleration_mechanism"}],"path":"/api/calc/nexus_chest_ct"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_cxr":{"description":"Abnormal chest radiograph as assigned by the caller (paper: any thoracic injury including clavicle fracture, or a widened mediastinum). true means the finding is present and Chest CT-Major is not negative. true or false. magent does not read a radiograph.","type":"boolean"},"chest_wall_tenderness":{"description":"Chest-wall tenderness to palpation as assigned by the caller. true means tenderness is present and Chest CT-Major is not negative. true or false. magent does not palpate the chest.","type":"boolean"},"distracting_injury":{"description":"Painful, distracting injury as assigned by the caller. true means a distracting injury is present and Chest CT-Major is not negative. true or false. magent does not examine the patient.","type":"boolean"},"rapid_deceleration_mechanism":{"description":"Rapid deceleration mechanism as assigned by the caller (paper: fall from >20 feet or motor vehicle crash >40 mph with sudden deceleration). true means the finding is present and Chest CT-All is not negative. true or false. magent does not classify mechanism.","type":"boolean"},"scapular_tenderness":{"description":"Scapular tenderness to palpation as assigned by the caller. true means tenderness is present and Chest CT-Major is not negative. true or false. magent does not palpate the scapula.","type":"boolean"},"sternal_tenderness":{"description":"Sternal tenderness to palpation as assigned by the caller. true means tenderness is present and Chest CT-Major is not negative. true or false. magent does not palpate the sternum.","type":"boolean"},"thoracic_spine_tenderness":{"description":"Thoracic-spine tenderness to palpation as assigned by the caller. true means tenderness is present and Chest CT-Major is not negative. true or false. magent does not palpate the thoracic spine.","type":"boolean"}},"required":["abnormal_cxr","distracting_injury","chest_wall_tenderness","sternal_tenderness","thoracic_spine_tenderness","scapular_tenderness","rapid_deceleration_mechanism"],"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":["nexus-chest-ct","chest-ct","trauma","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:46:05.895Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:46:05.755Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_cxr":false,"chest_wall_tenderness":false,"distracting_injury":false,"rapid_deceleration_mechanism":false,"scapular_tenderness":false,"sternal_tenderness":false,"thoracic_spine_tenderness":false},{"abnormal_cxr":false,"chest_wall_tenderness":false,"distracting_injury":false,"rapid_deceleration_mechanism":false,"scapular_tenderness":false,"sternal_tenderness":false,"thoracic_spine_tenderness":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rodriguez RM, Langdorf MI, Nishijima D, Baumann BM, Hendey GW, Medak AJ, Raja AS, Adelman EE, Mower WR","doi":"10.1371/journal.pmed.1001883","id":"rodriguez-2015","pmid":"26440607","source":"PLoS Med. 2015;12(10):e1001883","title":"Derivation and Validation of Two Decision Instruments for Selective Chest CT in Blunt Trauma: A Multicenter Prospective Observational Study (NEXUS Chest CT)"},"criteria":[{"factor":"no_abnormal_cxr","met":true},{"factor":"no_distracting_injury","met":true},{"factor":"no_chest_wall_tenderness","met":true},{"factor":"no_sternal_tenderness","met":true},{"factor":"no_thoracic_spine_tenderness","met":true},{"factor":"no_scapular_tenderness","met":true},{"factor":"no_rapid_deceleration_mechanism","met":true}],"ct_all_negative":true,"ct_major_negative":true,"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":"nexus_chest_ct","formula_expression":"ct_major_negative iff no abnormal_cxr and no distracting_injury and no chest_wall_tenderness and no sternal_tenderness and no thoracic_spine_tenderness and no scapular_tenderness; ct_all_negative iff Major-negative and no rapid_deceleration_mechanism"},{"citation":{"authors":"Rodriguez RM, Langdorf MI, Nishijima D, Baumann BM, Hendey GW, Medak AJ, Raja AS, Adelman EE, Mower WR","doi":"10.1371/journal.pmed.1001883","id":"rodriguez-2015","pmid":"26440607","source":"PLoS Med. 2015;12(10):e1001883","title":"Derivation and Validation of Two Decision Instruments for Selective Chest CT in Blunt Trauma: A Multicenter Prospective Observational Study (NEXUS Chest CT)"},"criteria":[{"factor":"no_abnormal_cxr","met":true},{"factor":"no_distracting_injury","met":true},{"factor":"no_chest_wall_tenderness","met":true},{"factor":"no_sternal_tenderness","met":true},{"factor":"no_thoracic_spine_tenderness","met":true},{"factor":"no_scapular_tenderness","met":true},{"factor":"no_rapid_deceleration_mechanism","met":true}],"ct_all_negative":true,"ct_major_negative":true,"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":"nexus_chest_ct","formula_expression":"ct_major_negative iff no abnormal_cxr and no distracting_injury and no chest_wall_tenderness and no sternal_tenderness and no thoracic_spine_tenderness and no scapular_tenderness; ct_all_negative iff Major-negative and no rapid_deceleration_mechanism"}],"path":"/api/calc/nexus_chest_ct"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_cxr":{"description":"Abnormal chest radiograph as assigned by the caller (paper: any thoracic injury including clavicle fracture, or a widened mediastinum). true means the finding is present and Chest CT-Major is not negative. true or false. magent does not read a radiograph.","type":"boolean"},"chest_wall_tenderness":{"description":"Chest-wall tenderness to palpation as assigned by the caller. true means tenderness is present and Chest CT-Major is not negative. true or false. magent does not palpate the chest.","type":"boolean"},"distracting_injury":{"description":"Painful, distracting injury as assigned by the caller. true means a distracting injury is present and Chest CT-Major is not negative. true or false. magent does not examine the patient.","type":"boolean"},"rapid_deceleration_mechanism":{"description":"Rapid deceleration mechanism as assigned by the caller (paper: fall from >20 feet or motor vehicle crash >40 mph with sudden deceleration). true means the finding is present and Chest CT-All is not negative. true or false. magent does not classify mechanism.","type":"boolean"},"scapular_tenderness":{"description":"Scapular tenderness to palpation as assigned by the caller. true means tenderness is present and Chest CT-Major is not negative. true or false. magent does not palpate the scapula.","type":"boolean"},"sternal_tenderness":{"description":"Sternal tenderness to palpation as assigned by the caller. true means tenderness is present and Chest CT-Major is not negative. true or false. magent does not palpate the sternum.","type":"boolean"},"thoracic_spine_tenderness":{"description":"Thoracic-spine tenderness to palpation as assigned by the caller. true means tenderness is present and Chest CT-Major is not negative. true or false. magent does not palpate the thoracic spine.","type":"boolean"}},"required":["abnormal_cxr","distracting_injury","chest_wall_tenderness","sternal_tenderness","thoracic_spine_tenderness","scapular_tenderness","rapid_deceleration_mechanism"],"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},{"id":39007,"slug":"39007","resource":"https://api.magentlab.com/api/calc/nexus","description":"NEXUS C-spine rule (Hoffman 2000). The patient is NEXUS low-risk, and imaging is not indicated by this rule, only when all five hold: no posterior midline cervical-spine tenderness, no focal neurologic deficit, normal alertness, no intoxication, and no painful distracting injury. Any failed criterion means x-ray is indicated. Not a diagnosis, not the Canadian C-spine rule, and not NEXUS chest. Blunt-trauma adults as published. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"distracting_injury":false,"focal_neuro_deficit":false,"intoxication":false,"midline_cervical_tenderness":false,"normal_alertness":true},{"distracting_injury":false,"focal_neuro_deficit":false,"intoxication":false,"midline_cervical_tenderness":false,"normal_alertness":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hoffman JR, Mower WR, Wolfson AB, Todd KH, Zucker MI; National Emergency X-Radiography Utilization Study Group","doi":"10.1056/NEJM200007133430203","id":"hoffman-2000","source":"N Engl J Med. 2000;343(2):94-99","title":"Validity of a set of clinical criteria to rule out injury to the cervical spine in patients with blunt trauma"},"criteria":[{"factor":"no_midline_cervical_tenderness","met":true},{"factor":"no_focal_neuro_deficit","met":true},{"factor":"normal_alertness","met":true},{"factor":"no_intoxication","met":true},{"factor":"no_distracting_injury","met":true}],"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":"nexus","formula_expression":"NEXUS low-risk iff no posterior midline cervical-spine tenderness and no focal neurologic deficit and normal alertness and no intoxication and no painful distracting injury","nexus_low_risk":true,"xray_indicated":false},{"citation":{"authors":"Hoffman JR, Mower WR, Wolfson AB, Todd KH, Zucker MI; National Emergency X-Radiography Utilization Study Group","doi":"10.1056/NEJM200007133430203","id":"hoffman-2000","source":"N Engl J Med. 2000;343(2):94-99","title":"Validity of a set of clinical criteria to rule out injury to the cervical spine in patients with blunt trauma"},"criteria":[{"factor":"no_midline_cervical_tenderness","met":true},{"factor":"no_focal_neuro_deficit","met":true},{"factor":"normal_alertness","met":true},{"factor":"no_intoxication","met":true},{"factor":"no_distracting_injury","met":true}],"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":"nexus","formula_expression":"NEXUS low-risk iff no posterior midline cervical-spine tenderness and no focal neurologic deficit and normal alertness and no intoxication and no painful distracting injury","nexus_low_risk":true,"xray_indicated":false}],"path":"/api/calc/nexus"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"distracting_injury":{"description":"Painful, distracting injury. true means a distracting injury is present and the low-risk criterion fails. true or false as assigned by the caller.","type":"boolean"},"focal_neuro_deficit":{"description":"Focal neurologic deficit. true means a deficit is present and the low-risk criterion fails. true or false as assigned by the caller.","type":"boolean"},"intoxication":{"description":"Intoxication. true means intoxicated and the low-risk criterion fails. true or false as assigned by the caller.","type":"boolean"},"midline_cervical_tenderness":{"description":"Posterior midline cervical-spine tenderness. true means tenderness is present and the low-risk criterion fails. true or false as assigned by the caller.","type":"boolean"},"normal_alertness":{"description":"Normal alertness. true means alertness is normal and the low-risk criterion holds; false is altered alertness and the criterion fails.","type":"boolean"}},"required":["midline_cervical_tenderness","focal_neuro_deficit","normal_alertness","intoxication","distracting_injury"],"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":["nexus","c-spine","radiography","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:46:05.091Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:46:04.963Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"distracting_injury":false,"focal_neuro_deficit":false,"intoxication":false,"midline_cervical_tenderness":false,"normal_alertness":true},{"distracting_injury":false,"focal_neuro_deficit":false,"intoxication":false,"midline_cervical_tenderness":false,"normal_alertness":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hoffman JR, Mower WR, Wolfson AB, Todd KH, Zucker MI; National Emergency X-Radiography Utilization Study Group","doi":"10.1056/NEJM200007133430203","id":"hoffman-2000","source":"N Engl J Med. 2000;343(2):94-99","title":"Validity of a set of clinical criteria to rule out injury to the cervical spine in patients with blunt trauma"},"criteria":[{"factor":"no_midline_cervical_tenderness","met":true},{"factor":"no_focal_neuro_deficit","met":true},{"factor":"normal_alertness","met":true},{"factor":"no_intoxication","met":true},{"factor":"no_distracting_injury","met":true}],"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":"nexus","formula_expression":"NEXUS low-risk iff no posterior midline cervical-spine tenderness and no focal neurologic deficit and normal alertness and no intoxication and no painful distracting injury","nexus_low_risk":true,"xray_indicated":false},{"citation":{"authors":"Hoffman JR, Mower WR, Wolfson AB, Todd KH, Zucker MI; National Emergency X-Radiography Utilization Study Group","doi":"10.1056/NEJM200007133430203","id":"hoffman-2000","source":"N Engl J Med. 2000;343(2):94-99","title":"Validity of a set of clinical criteria to rule out injury to the cervical spine in patients with blunt trauma"},"criteria":[{"factor":"no_midline_cervical_tenderness","met":true},{"factor":"no_focal_neuro_deficit","met":true},{"factor":"normal_alertness","met":true},{"factor":"no_intoxication","met":true},{"factor":"no_distracting_injury","met":true}],"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":"nexus","formula_expression":"NEXUS low-risk iff no posterior midline cervical-spine tenderness and no focal neurologic deficit and normal alertness and no intoxication and no painful distracting injury","nexus_low_risk":true,"xray_indicated":false}],"path":"/api/calc/nexus"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"distracting_injury":{"description":"Painful, distracting injury. true means a distracting injury is present and the low-risk criterion fails. true or false as assigned by the caller.","type":"boolean"},"focal_neuro_deficit":{"description":"Focal neurologic deficit. true means a deficit is present and the low-risk criterion fails. true or false as assigned by the caller.","type":"boolean"},"intoxication":{"description":"Intoxication. true means intoxicated and the low-risk criterion fails. true or false as assigned by the caller.","type":"boolean"},"midline_cervical_tenderness":{"description":"Posterior midline cervical-spine tenderness. true means tenderness is present and the low-risk criterion fails. true or false as assigned by the caller.","type":"boolean"},"normal_alertness":{"description":"Normal alertness. true means alertness is normal and the low-risk criterion holds; false is altered alertness and the criterion fails.","type":"boolean"}},"required":["midline_cervical_tenderness","focal_neuro_deficit","normal_alertness","intoxication","distracting_injury"],"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},{"id":39008,"slug":"39008","resource":"https://api.magentlab.com/api/calc/newsom","description":"Newsom 2014 modified Rothrock rule for chest radiography in nontraumatic emergency chest pain. CXR indicated if any of: age ≥65 years, history of congestive heart failure, history of alcohol abuse, decreased breath sounds, fever, or tachypnea. Does not include hypoxia, rales, hemoptysis, tuberculosis, or thromboembolic disease (removed in 2014). Not the 2018 prospective refinement. Caller assigns age and five flags. magent does not examine the patient or read a radiograph. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"alcohol_abuse":false,"chf":false,"decreased_breath_sounds":false,"fever":false,"tachypnea":false},{"age":40,"alcohol_abuse":false,"chf":false,"decreased_breath_sounds":false,"fever":false,"tachypnea":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Newsom C, Jeanmonod R, Weller K, Boutros N, Reiter M, Jeanmonod D","doi":"10.1155/2014/241935","id":"newsom-2014","source":"Adv Emerg Med. 2014;2014:241935","title":"Validation of a Decision Rule and Derivation of a Modified Rule to Obtain Chest Radiograph in Patients with Nontraumatic Chest Pain in the Emergency Department"},"criteria":[{"factor":"age_ge_65","met":false,"value":40},{"factor":"chf","met":false},{"factor":"alcohol_abuse","met":false},{"factor":"decreased_breath_sounds","met":false},{"factor":"fever","met":false},{"factor":"tachypnea","met":false}],"cxr_indicated":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":"newsom","formula_expression":"CXR indicated iff age >= 65 or congestive heart failure or alcohol abuse or decreased breath sounds or fever or tachypnea (Newsom 2014 modified Rothrock; not hypoxia, rales, hemoptysis, TB, or thromboembolic disease; not the 2018 Academic Emergency Medicine prospective refinement)"},{"citation":{"authors":"Newsom C, Jeanmonod R, Weller K, Boutros N, Reiter M, Jeanmonod D","doi":"10.1155/2014/241935","id":"newsom-2014","source":"Adv Emerg Med. 2014;2014:241935","title":"Validation of a Decision Rule and Derivation of a Modified Rule to Obtain Chest Radiograph in Patients with Nontraumatic Chest Pain in the Emergency Department"},"criteria":[{"factor":"age_ge_65","met":false,"value":40},{"factor":"chf","met":false},{"factor":"alcohol_abuse","met":false},{"factor":"decreased_breath_sounds","met":false},{"factor":"fever","met":false},{"factor":"tachypnea","met":false}],"cxr_indicated":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":"newsom","formula_expression":"CXR indicated iff age >= 65 or congestive heart failure or alcohol abuse or decreased breath sounds or fever or tachypnea (Newsom 2014 modified Rothrock; not hypoxia, rales, hemoptysis, TB, or thromboembolic disease; not the 2018 Academic Emergency Medicine prospective refinement)"}],"path":"/api/calc/newsom"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). The Newsom 2014 age criterion is met at 65 or older; 64 does not meet.","type":"integer"},"alcohol_abuse":{"description":"History of alcohol abuse as assigned by the caller. true or false. true means the Newsom 2014 CXR criterion is met.","type":"boolean"},"chf":{"description":"History of congestive heart failure as assigned by the caller. true or false. true means the Newsom 2014 CXR criterion is met. magent does not diagnose heart failure.","type":"boolean"},"decreased_breath_sounds":{"description":"Decreased breath sounds on exam as assigned by the caller. true or false. true means the Newsom 2014 CXR criterion is met. magent does not auscultate the chest.","type":"boolean"},"fever":{"description":"Fever as assigned by the caller (paper: temperature greater than 100.4 F). true or false. true means the Newsom 2014 CXR criterion is met. magent does not measure temperature.","type":"boolean"},"tachypnea":{"description":"Tachypnea as assigned by the caller (original Rothrock: respiratory rate greater than 24 breaths/min; retained as tachypnea in the 2014 modification). true or false. true means the Newsom 2014 CXR criterion is met. magent does not measure respiratory rate.","type":"boolean"}},"required":["age","chf","alcohol_abuse","decreased_breath_sounds","fever","tachypnea"],"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":["newsom","cxr","chest-pain","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:46:04.01Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:46:03.77Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"alcohol_abuse":false,"chf":false,"decreased_breath_sounds":false,"fever":false,"tachypnea":false},{"age":40,"alcohol_abuse":false,"chf":false,"decreased_breath_sounds":false,"fever":false,"tachypnea":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Newsom C, Jeanmonod R, Weller K, Boutros N, Reiter M, Jeanmonod D","doi":"10.1155/2014/241935","id":"newsom-2014","source":"Adv Emerg Med. 2014;2014:241935","title":"Validation of a Decision Rule and Derivation of a Modified Rule to Obtain Chest Radiograph in Patients with Nontraumatic Chest Pain in the Emergency Department"},"criteria":[{"factor":"age_ge_65","met":false,"value":40},{"factor":"chf","met":false},{"factor":"alcohol_abuse","met":false},{"factor":"decreased_breath_sounds","met":false},{"factor":"fever","met":false},{"factor":"tachypnea","met":false}],"cxr_indicated":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":"newsom","formula_expression":"CXR indicated iff age >= 65 or congestive heart failure or alcohol abuse or decreased breath sounds or fever or tachypnea (Newsom 2014 modified Rothrock; not hypoxia, rales, hemoptysis, TB, or thromboembolic disease; not the 2018 Academic Emergency Medicine prospective refinement)"},{"citation":{"authors":"Newsom C, Jeanmonod R, Weller K, Boutros N, Reiter M, Jeanmonod D","doi":"10.1155/2014/241935","id":"newsom-2014","source":"Adv Emerg Med. 2014;2014:241935","title":"Validation of a Decision Rule and Derivation of a Modified Rule to Obtain Chest Radiograph in Patients with Nontraumatic Chest Pain in the Emergency Department"},"criteria":[{"factor":"age_ge_65","met":false,"value":40},{"factor":"chf","met":false},{"factor":"alcohol_abuse","met":false},{"factor":"decreased_breath_sounds","met":false},{"factor":"fever","met":false},{"factor":"tachypnea","met":false}],"cxr_indicated":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":"newsom","formula_expression":"CXR indicated iff age >= 65 or congestive heart failure or alcohol abuse or decreased breath sounds or fever or tachypnea (Newsom 2014 modified Rothrock; not hypoxia, rales, hemoptysis, TB, or thromboembolic disease; not the 2018 Academic Emergency Medicine prospective refinement)"}],"path":"/api/calc/newsom"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). The Newsom 2014 age criterion is met at 65 or older; 64 does not meet.","type":"integer"},"alcohol_abuse":{"description":"History of alcohol abuse as assigned by the caller. true or false. true means the Newsom 2014 CXR criterion is met.","type":"boolean"},"chf":{"description":"History of congestive heart failure as assigned by the caller. true or false. true means the Newsom 2014 CXR criterion is met. magent does not diagnose heart failure.","type":"boolean"},"decreased_breath_sounds":{"description":"Decreased breath sounds on exam as assigned by the caller. true or false. true means the Newsom 2014 CXR criterion is met. magent does not auscultate the chest.","type":"boolean"},"fever":{"description":"Fever as assigned by the caller (paper: temperature greater than 100.4 F). true or false. true means the Newsom 2014 CXR criterion is met. magent does not measure temperature.","type":"boolean"},"tachypnea":{"description":"Tachypnea as assigned by the caller (original Rothrock: respiratory rate greater than 24 breaths/min; retained as tachypnea in the 2014 modification). true or false. true means the Newsom 2014 CXR criterion is met. magent does not measure respiratory rate.","type":"boolean"}},"required":["age","chf","alcohol_abuse","decreased_breath_sounds","fever","tachypnea"],"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},{"id":39009,"slug":"39009","resource":"https://api.magentlab.com/api/calc/news2","description":"NEWS2 from RCP 2017 Chart 1: respiratory rate, SpO2 on caller-assigned Scale 1 or Scale 2, supplemental oxygen, temperature (C), systolic BP, heart rate, and caller-assigned ACVPU (alert 0; confusion, voice, pain, or unresponsive 3 each) summed to 0-20. Returns Chart 2 clinical_risk (low / low-medium / medium / high) and red_score. Not NEWS 2012; not an ICU-admission order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acvpu":"alert","heart_rate_bpm":70,"respiratory_rate":16,"spo2_percent":98,"spo2_scale":1,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37},{"acvpu":"alert","heart_rate_bpm":70,"respiratory_rate":16,"spo2_percent":98,"spo2_scale":1,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acvpu":"alert","citation":{"authors":"Royal College of Physicians","id":"rcp-news2-2017","source":"London: RCP; 2017. ISBN 978-1-86016-682-2","title":"National Early Warning Score (NEWS) 2: Standardising the assessment of acute-illness severity in the NHS. Updated report of a working party"},"clinical_risk":"low","components":[{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"supplemental_oxygen","points":0,"present":false,"value":false},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"heart_rate_bpm","points":0,"present":false,"value":70},{"factor":"acvpu","points":0,"present":false,"value":"alert"}],"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":"news2","formula_expression":"NEWS2 = rr_points + spo2_points + oxygen_points + temp_points + sbp_points + hr_points + acvpu_points; RCP NEWS2 2017 Chart 1 (Scale 1 or Scale 2); max 20","heart_rate_bpm":70,"max_score":20,"red_score":false,"respiratory_rate":16,"score":0,"spo2_percent":98,"spo2_scale":1,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37},{"acvpu":"alert","citation":{"authors":"Royal College of Physicians","id":"rcp-news2-2017","source":"London: RCP; 2017. ISBN 978-1-86016-682-2","title":"National Early Warning Score (NEWS) 2: Standardising the assessment of acute-illness severity in the NHS. Updated report of a working party"},"clinical_risk":"low","components":[{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"supplemental_oxygen","points":0,"present":false,"value":false},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"heart_rate_bpm","points":0,"present":false,"value":70},{"factor":"acvpu","points":0,"present":false,"value":"alert"}],"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":"news2","formula_expression":"NEWS2 = rr_points + spo2_points + oxygen_points + temp_points + sbp_points + hr_points + acvpu_points; RCP NEWS2 2017 Chart 1 (Scale 1 or Scale 2); max 20","heart_rate_bpm":70,"max_score":20,"red_score":false,"respiratory_rate":16,"score":0,"spo2_percent":98,"spo2_scale":1,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37}],"path":"/api/calc/news2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acvpu":{"description":"Caller-assigned ACVPU (alert, confusion, voice, pain, or unresponsive). RCP NEWS2 2017 Chart 1: alert → 0; confusion, voice, pain, or unresponsive → 3 each. magent does not compute GCS here.","enum":["alert","confusion","voice","pain","unresponsive"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). RCP NEWS2 2017 Chart 1: ≤40 → 3, 41-50 → 1, 51-90 → 0, 91-110 → 1, 111-130 → 2, ≥131 → 3.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 0-80). RCP NEWS2 2017 Chart 1: ≤8 → 3, 9-11 → 1, 12-20 → 0, 21-24 → 2, ≥25 → 3.","type":"integer"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Scale 1: ≤91 → 3, 92-93 → 2, 94-95 → 1, ≥96 → 0. Scale 2: ≤83 → 3, 84-85 → 2, 86-87 → 1, 88-92 → 0; ≥93 on air → 0; 93-94 on oxygen → 1, 95-96 on oxygen → 2, ≥97 on oxygen → 3.","type":"number"},"spo2_scale":{"description":"Caller-assigned SpO2 scale (1 or 2). Scale 1 is the usual target. Scale 2 is only for a prescribed 88-92% target in confirmed hypercapnic respiratory failure. magent does not choose the scale.","enum":[1,2],"type":"integer"},"supplemental_oxygen":{"description":"Any supplemental oxygen as assigned by the caller (true or false). RCP NEWS2 2017 Chart 1: true → 2, false → 0. On Scale 2 this also selects air vs oxygen SpO2 bands at ≥93%.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (integer 0-300). RCP NEWS2 2017 Chart 1: ≤90 → 3, 91-100 → 2, 101-110 → 1, 111-219 → 0, ≥220 → 3.","type":"integer"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). RCP NEWS2 2017 Chart 1: ≤35.0 → 3, 35.1-36.0 → 1, 36.1-38.0 → 0, 38.1-39.0 → 1, ≥39.1 → 2. magent does not convert Fahrenheit.","type":"number"}},"required":["systolic_mm_hg","heart_rate_bpm","respiratory_rate","temperature_c","spo2_percent","spo2_scale","supplemental_oxygen","acvpu"],"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":["news2","early-warning","emergency","acvpu","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:41:09.494Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:41:09.355Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acvpu":"alert","heart_rate_bpm":70,"respiratory_rate":16,"spo2_percent":98,"spo2_scale":1,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37},{"acvpu":"alert","heart_rate_bpm":70,"respiratory_rate":16,"spo2_percent":98,"spo2_scale":1,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acvpu":"alert","citation":{"authors":"Royal College of Physicians","id":"rcp-news2-2017","source":"London: RCP; 2017. ISBN 978-1-86016-682-2","title":"National Early Warning Score (NEWS) 2: Standardising the assessment of acute-illness severity in the NHS. Updated report of a working party"},"clinical_risk":"low","components":[{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"supplemental_oxygen","points":0,"present":false,"value":false},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"heart_rate_bpm","points":0,"present":false,"value":70},{"factor":"acvpu","points":0,"present":false,"value":"alert"}],"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":"news2","formula_expression":"NEWS2 = rr_points + spo2_points + oxygen_points + temp_points + sbp_points + hr_points + acvpu_points; RCP NEWS2 2017 Chart 1 (Scale 1 or Scale 2); max 20","heart_rate_bpm":70,"max_score":20,"red_score":false,"respiratory_rate":16,"score":0,"spo2_percent":98,"spo2_scale":1,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37},{"acvpu":"alert","citation":{"authors":"Royal College of Physicians","id":"rcp-news2-2017","source":"London: RCP; 2017. ISBN 978-1-86016-682-2","title":"National Early Warning Score (NEWS) 2: Standardising the assessment of acute-illness severity in the NHS. Updated report of a working party"},"clinical_risk":"low","components":[{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"supplemental_oxygen","points":0,"present":false,"value":false},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"heart_rate_bpm","points":0,"present":false,"value":70},{"factor":"acvpu","points":0,"present":false,"value":"alert"}],"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":"news2","formula_expression":"NEWS2 = rr_points + spo2_points + oxygen_points + temp_points + sbp_points + hr_points + acvpu_points; RCP NEWS2 2017 Chart 1 (Scale 1 or Scale 2); max 20","heart_rate_bpm":70,"max_score":20,"red_score":false,"respiratory_rate":16,"score":0,"spo2_percent":98,"spo2_scale":1,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37}],"path":"/api/calc/news2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acvpu":{"description":"Caller-assigned ACVPU (alert, confusion, voice, pain, or unresponsive). RCP NEWS2 2017 Chart 1: alert → 0; confusion, voice, pain, or unresponsive → 3 each. magent does not compute GCS here.","enum":["alert","confusion","voice","pain","unresponsive"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). RCP NEWS2 2017 Chart 1: ≤40 → 3, 41-50 → 1, 51-90 → 0, 91-110 → 1, 111-130 → 2, ≥131 → 3.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 0-80). RCP NEWS2 2017 Chart 1: ≤8 → 3, 9-11 → 1, 12-20 → 0, 21-24 → 2, ≥25 → 3.","type":"integer"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Scale 1: ≤91 → 3, 92-93 → 2, 94-95 → 1, ≥96 → 0. Scale 2: ≤83 → 3, 84-85 → 2, 86-87 → 1, 88-92 → 0; ≥93 on air → 0; 93-94 on oxygen → 1, 95-96 on oxygen → 2, ≥97 on oxygen → 3.","type":"number"},"spo2_scale":{"description":"Caller-assigned SpO2 scale (1 or 2). Scale 1 is the usual target. Scale 2 is only for a prescribed 88-92% target in confirmed hypercapnic respiratory failure. magent does not choose the scale.","enum":[1,2],"type":"integer"},"supplemental_oxygen":{"description":"Any supplemental oxygen as assigned by the caller (true or false). RCP NEWS2 2017 Chart 1: true → 2, false → 0. On Scale 2 this also selects air vs oxygen SpO2 bands at ≥93%.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (integer 0-300). RCP NEWS2 2017 Chart 1: ≤90 → 3, 91-100 → 2, 101-110 → 1, 111-219 → 0, ≥220 → 3.","type":"integer"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). RCP NEWS2 2017 Chart 1: ≤35.0 → 3, 35.1-36.0 → 1, 36.1-38.0 → 0, 38.1-39.0 → 1, ≥39.1 → 2. magent does not convert Fahrenheit.","type":"number"}},"required":["systolic_mm_hg","heart_rate_bpm","respiratory_rate","temperature_c","spo2_percent","spo2_scale","supplemental_oxygen","acvpu"],"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},{"id":39010,"slug":"39010","resource":"https://api.magentlab.com/api/calc/new_orleans_head","description":"New Orleans Head CT Rule (Haydel 2000). CT is indicated if any of seven findings: headache, vomiting, age over 60, drug or alcohol intoxication, short-term memory deficit (anterograde amnesia), physical evidence of trauma above the clavicles, or seizure. Published for GCS 15 minor head injury in adults; magent does not take GCS or examine the patient. Not a diagnosis, not the Canadian CT Head Rule, not PECARN, and not pediatric.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"drug_or_alcohol_intoxication":false,"headache":false,"seizure":false,"short_term_memory_deficit":false,"trauma_above_clavicles":false,"vomiting":false},{"age":40,"drug_or_alcohol_intoxication":false,"headache":false,"seizure":false,"short_term_memory_deficit":false,"trauma_above_clavicles":false,"vomiting":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Haydel MJ, Preston CA, Mills TJ, Luber S, Blaudeau E, DeBlieux PM","doi":"10.1056/NEJM200007133430204","id":"haydel-2000","source":"N Engl J Med. 2000;343(2):100-105","title":"Indications for computed tomography in patients with minor head injury"},"criteria":[{"factor":"headache","met":false},{"factor":"vomiting","met":false},{"factor":"age_gt_60","met":false,"value":40},{"factor":"drug_or_alcohol_intoxication","met":false},{"factor":"short_term_memory_deficit","met":false},{"factor":"trauma_above_clavicles","met":false},{"factor":"seizure","met":false}],"ct_indicated":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":"new_orleans_head","formula_expression":"ct indicated if any of headache, vomiting, age > 60, drug_or_alcohol_intoxication, short_term_memory_deficit, trauma_above_clavicles, or seizure"},{"age_years":40,"citation":{"authors":"Haydel MJ, Preston CA, Mills TJ, Luber S, Blaudeau E, DeBlieux PM","doi":"10.1056/NEJM200007133430204","id":"haydel-2000","source":"N Engl J Med. 2000;343(2):100-105","title":"Indications for computed tomography in patients with minor head injury"},"criteria":[{"factor":"headache","met":false},{"factor":"vomiting","met":false},{"factor":"age_gt_60","met":false,"value":40},{"factor":"drug_or_alcohol_intoxication","met":false},{"factor":"short_term_memory_deficit","met":false},{"factor":"trauma_above_clavicles","met":false},{"factor":"seizure","met":false}],"ct_indicated":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":"new_orleans_head","formula_expression":"ct indicated if any of headache, vomiting, age > 60, drug_or_alcohol_intoxication, short_term_memory_deficit, trauma_above_clavicles, or seizure"}],"path":"/api/calc/new_orleans_head"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age >60 is a CT indication; 60 does not. The published rule is GCS 15 minor head injury in adults; magent does not take GCS.","type":"integer"},"drug_or_alcohol_intoxication":{"description":"Drug or alcohol intoxication. true or false as assigned by the caller.","type":"boolean"},"headache":{"description":"Headache. true or false as assigned by the caller.","type":"boolean"},"seizure":{"description":"Seizure. true or false as assigned by the caller.","type":"boolean"},"short_term_memory_deficit":{"description":"Deficit in short-term memory (anterograde amnesia). true or false as assigned by the caller.","type":"boolean"},"trauma_above_clavicles":{"description":"Physical evidence of trauma above the clavicles. true or false as assigned by the caller.","type":"boolean"},"vomiting":{"description":"Vomiting. true or false as assigned by the caller.","type":"boolean"}},"required":["age","headache","vomiting","drug_or_alcohol_intoxication","short_term_memory_deficit","trauma_above_clavicles","seizure"],"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":["new-orleans-head","head-ct","emergency","trauma","haydel","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:41:08.299Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:41:08.185Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"drug_or_alcohol_intoxication":false,"headache":false,"seizure":false,"short_term_memory_deficit":false,"trauma_above_clavicles":false,"vomiting":false},{"age":40,"drug_or_alcohol_intoxication":false,"headache":false,"seizure":false,"short_term_memory_deficit":false,"trauma_above_clavicles":false,"vomiting":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Haydel MJ, Preston CA, Mills TJ, Luber S, Blaudeau E, DeBlieux PM","doi":"10.1056/NEJM200007133430204","id":"haydel-2000","source":"N Engl J Med. 2000;343(2):100-105","title":"Indications for computed tomography in patients with minor head injury"},"criteria":[{"factor":"headache","met":false},{"factor":"vomiting","met":false},{"factor":"age_gt_60","met":false,"value":40},{"factor":"drug_or_alcohol_intoxication","met":false},{"factor":"short_term_memory_deficit","met":false},{"factor":"trauma_above_clavicles","met":false},{"factor":"seizure","met":false}],"ct_indicated":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":"new_orleans_head","formula_expression":"ct indicated if any of headache, vomiting, age > 60, drug_or_alcohol_intoxication, short_term_memory_deficit, trauma_above_clavicles, or seizure"},{"age_years":40,"citation":{"authors":"Haydel MJ, Preston CA, Mills TJ, Luber S, Blaudeau E, DeBlieux PM","doi":"10.1056/NEJM200007133430204","id":"haydel-2000","source":"N Engl J Med. 2000;343(2):100-105","title":"Indications for computed tomography in patients with minor head injury"},"criteria":[{"factor":"headache","met":false},{"factor":"vomiting","met":false},{"factor":"age_gt_60","met":false,"value":40},{"factor":"drug_or_alcohol_intoxication","met":false},{"factor":"short_term_memory_deficit","met":false},{"factor":"trauma_above_clavicles","met":false},{"factor":"seizure","met":false}],"ct_indicated":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":"new_orleans_head","formula_expression":"ct indicated if any of headache, vomiting, age > 60, drug_or_alcohol_intoxication, short_term_memory_deficit, trauma_above_clavicles, or seizure"}],"path":"/api/calc/new_orleans_head"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age >60 is a CT indication; 60 does not. The published rule is GCS 15 minor head injury in adults; magent does not take GCS.","type":"integer"},"drug_or_alcohol_intoxication":{"description":"Drug or alcohol intoxication. true or false as assigned by the caller.","type":"boolean"},"headache":{"description":"Headache. true or false as assigned by the caller.","type":"boolean"},"seizure":{"description":"Seizure. true or false as assigned by the caller.","type":"boolean"},"short_term_memory_deficit":{"description":"Deficit in short-term memory (anterograde amnesia). true or false as assigned by the caller.","type":"boolean"},"trauma_above_clavicles":{"description":"Physical evidence of trauma above the clavicles. true or false as assigned by the caller.","type":"boolean"},"vomiting":{"description":"Vomiting. true or false as assigned by the caller.","type":"boolean"}},"required":["age","headache","vomiting","drug_or_alcohol_intoxication","short_term_memory_deficit","trauma_above_clavicles","seizure"],"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},{"id":39011,"slug":"39011","resource":"https://api.magentlab.com/api/calc/nedocs","description":"Weiss 2004 National ED Overcrowding Study (NEDOCS) reduced five-variable model: ED patients indexed to ED beds, boarding indexed to hospital beds, respirators, longest admitted-patient hours since registration, and last-called registration-to-bed hours. Returns the linear score (1 decimal) and the published ≥100 overcrowding cutoff. Caller supplies counts and hours; magent does not count beds or wait times. Not a medical device and not a diversion or ambulance-bypass order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"admit_time_hours":0,"boarding_patients":0,"ed_beds":50,"ed_patients":0,"hospital_beds":500,"reg_time_hours":0,"respirators":0},{"admit_time_hours":0,"boarding_patients":0,"ed_beds":50,"ed_patients":0,"hospital_beds":500,"reg_time_hours":0,"respirators":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"admit_index":0,"admit_time_hours":0,"boarding_patients":0,"citation":{"authors":"Weiss SJ, Derlet R, Arndahl J, Ernst AA, Richards J, Fernandez-Frankelton M, Schwab R, Stair TO, Vicellio P, Levy D, Brautigan M, Johnson A, Nick TG","doi":"10.1197/j.aem.2003.07.017","id":"weiss-2004","pmid":"14709427","source":"Acad Emerg Med. 2004;11(1):38-50","title":"Estimating the degree of emergency department overcrowding in academic medical centers: results of the National ED Overcrowding Study (NEDOCS)"},"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.","ed_beds":50,"ed_patients":0,"formula":"nedocs","formula_expression":"nedocs_score = -20 + 85.8 * (ed_patients / ed_beds) + 600 * (boarding_patients / hospital_beds) + 13.4 * respirators + 0.93 * admit_time_hours + 5.64 * reg_time_hours","hospital_beds":500,"nedocs_score":-20,"overcrowded":false,"patindex":0,"reg_time_hours":0,"respirators":0},{"admit_index":0,"admit_time_hours":0,"boarding_patients":0,"citation":{"authors":"Weiss SJ, Derlet R, Arndahl J, Ernst AA, Richards J, Fernandez-Frankelton M, Schwab R, Stair TO, Vicellio P, Levy D, Brautigan M, Johnson A, Nick TG","doi":"10.1197/j.aem.2003.07.017","id":"weiss-2004","pmid":"14709427","source":"Acad Emerg Med. 2004;11(1):38-50","title":"Estimating the degree of emergency department overcrowding in academic medical centers: results of the National ED Overcrowding Study (NEDOCS)"},"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.","ed_beds":50,"ed_patients":0,"formula":"nedocs","formula_expression":"nedocs_score = -20 + 85.8 * (ed_patients / ed_beds) + 600 * (boarding_patients / hospital_beds) + 13.4 * respirators + 0.93 * admit_time_hours + 5.64 * reg_time_hours","hospital_beds":500,"nedocs_score":-20,"overcrowded":false,"patindex":0,"reg_time_hours":0,"respirators":0}],"path":"/api/calc/nedocs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"admit_time_hours":{"description":"Hours the longest-waiting admitted patient has been in the ED since registration (0-120). Weiss 2004 reduced-model admit time. Not time since the admission order (that bed-time variable was omitted). magent does not measure wait times.","type":"number"},"boarding_patients":{"description":"Patients in the ED awaiting inpatient beds (integer 0-200). Weiss 2004 admit-index numerator. magent does not count boarding patients.","type":"integer"},"ed_beds":{"description":"Number of ED beds (integer 1-300). Weiss 2004 patindex denominator. The paper's average academic ED was 50 ED beds. magent does not count beds.","type":"integer"},"ed_patients":{"description":"Total patients in the ED (integer 0-200). Weiss 2004 patindex numerator (full rooms + hallways + doubled-up). magent does not count patients.","type":"integer"},"hospital_beds":{"description":"Number of hospital beds (integer 1-3000). Weiss 2004 admit-index denominator. The paper's average academic hospital was 500 beds. magent does not count beds.","type":"integer"},"reg_time_hours":{"description":"Hours from registration until the last patient called from the waiting room was called to a bed (0-48). Weiss 2004 reduced-model reg time. magent does not measure wait times.","type":"number"},"respirators":{"description":"Patients on respirators in the ED (integer 0-20). Weiss 2004 reduced-model respirators term. magent does not count ventilators.","type":"integer"}},"required":["ed_patients","ed_beds","boarding_patients","hospital_beds","respirators","admit_time_hours","reg_time_hours"],"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":["nedocs","overcrowding","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:41:07.396Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:41:07.275Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"admit_time_hours":0,"boarding_patients":0,"ed_beds":50,"ed_patients":0,"hospital_beds":500,"reg_time_hours":0,"respirators":0},{"admit_time_hours":0,"boarding_patients":0,"ed_beds":50,"ed_patients":0,"hospital_beds":500,"reg_time_hours":0,"respirators":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"admit_index":0,"admit_time_hours":0,"boarding_patients":0,"citation":{"authors":"Weiss SJ, Derlet R, Arndahl J, Ernst AA, Richards J, Fernandez-Frankelton M, Schwab R, Stair TO, Vicellio P, Levy D, Brautigan M, Johnson A, Nick TG","doi":"10.1197/j.aem.2003.07.017","id":"weiss-2004","pmid":"14709427","source":"Acad Emerg Med. 2004;11(1):38-50","title":"Estimating the degree of emergency department overcrowding in academic medical centers: results of the National ED Overcrowding Study (NEDOCS)"},"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.","ed_beds":50,"ed_patients":0,"formula":"nedocs","formula_expression":"nedocs_score = -20 + 85.8 * (ed_patients / ed_beds) + 600 * (boarding_patients / hospital_beds) + 13.4 * respirators + 0.93 * admit_time_hours + 5.64 * reg_time_hours","hospital_beds":500,"nedocs_score":-20,"overcrowded":false,"patindex":0,"reg_time_hours":0,"respirators":0},{"admit_index":0,"admit_time_hours":0,"boarding_patients":0,"citation":{"authors":"Weiss SJ, Derlet R, Arndahl J, Ernst AA, Richards J, Fernandez-Frankelton M, Schwab R, Stair TO, Vicellio P, Levy D, Brautigan M, Johnson A, Nick TG","doi":"10.1197/j.aem.2003.07.017","id":"weiss-2004","pmid":"14709427","source":"Acad Emerg Med. 2004;11(1):38-50","title":"Estimating the degree of emergency department overcrowding in academic medical centers: results of the National ED Overcrowding Study (NEDOCS)"},"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.","ed_beds":50,"ed_patients":0,"formula":"nedocs","formula_expression":"nedocs_score = -20 + 85.8 * (ed_patients / ed_beds) + 600 * (boarding_patients / hospital_beds) + 13.4 * respirators + 0.93 * admit_time_hours + 5.64 * reg_time_hours","hospital_beds":500,"nedocs_score":-20,"overcrowded":false,"patindex":0,"reg_time_hours":0,"respirators":0}],"path":"/api/calc/nedocs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"admit_time_hours":{"description":"Hours the longest-waiting admitted patient has been in the ED since registration (0-120). Weiss 2004 reduced-model admit time. Not time since the admission order (that bed-time variable was omitted). magent does not measure wait times.","type":"number"},"boarding_patients":{"description":"Patients in the ED awaiting inpatient beds (integer 0-200). Weiss 2004 admit-index numerator. magent does not count boarding patients.","type":"integer"},"ed_beds":{"description":"Number of ED beds (integer 1-300). Weiss 2004 patindex denominator. The paper's average academic ED was 50 ED beds. magent does not count beds.","type":"integer"},"ed_patients":{"description":"Total patients in the ED (integer 0-200). Weiss 2004 patindex numerator (full rooms + hallways + doubled-up). magent does not count patients.","type":"integer"},"hospital_beds":{"description":"Number of hospital beds (integer 1-3000). Weiss 2004 admit-index denominator. The paper's average academic hospital was 500 beds. magent does not count beds.","type":"integer"},"reg_time_hours":{"description":"Hours from registration until the last patient called from the waiting room was called to a bed (0-48). Weiss 2004 reduced-model reg time. magent does not measure wait times.","type":"number"},"respirators":{"description":"Patients on respirators in the ED (integer 0-20). Weiss 2004 reduced-model respirators term. magent does not count ventilators.","type":"integer"}},"required":["ed_patients","ed_beds","boarding_patients","hospital_beds","respirators","admit_time_hours","reg_time_hours"],"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},{"id":39012,"slug":"39012","resource":"https://api.magentlab.com/api/calc/nafld_nas","description":"Kleiner 2005 NAFLD activity score (NAS): caller-assigned steatosis 0-3 (<5% / 5–33% / >33–66% / >66%), lobular_inflammation 0-3 (none / <2 foci per 200× / 2–4 / >4), ballooning 0-2 (none / few / many or prominent). magent sums only (max 8). Fibrosis is not in NAS. Kleiner 2005 reported NAS ≥5 correlated with NASH in that study; that is not a diagnostic algorithm. magent does not read histology and does not return NASH bands.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ballooning":0,"lobular_inflammation":0,"steatosis":0},{"ballooning":0,"lobular_inflammation":0,"steatosis":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ballooning":0,"citation":{"authors":"Kleiner DE, Brunt EM, Van Natta M, et al.","doi":"10.1002/hep.20701","id":"kleiner-2005","pmid":"15915461","source":"Hepatology. 2005;41(6):1313-1321","title":"Design and validation of a histological scoring system for nonalcoholic fatty liver disease."},"components":[{"factor":"steatosis","points":0,"present":true,"value":0},{"factor":"lobular_inflammation","points":0,"present":true,"value":0},{"factor":"ballooning","points":0,"present":true,"value":0}],"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":"nafld_nas","formula_expression":"NAS = steatosis (integer 0-3) + lobular_inflammation (integer 0-3) + ballooning (integer 0-2); Kleiner 2005 caller-assigned; max 8; fibrosis is not in NAS; no NASH diagnostic bands","lobular_inflammation":0,"max_score":8,"score":0,"steatosis":0},{"ballooning":0,"citation":{"authors":"Kleiner DE, Brunt EM, Van Natta M, et al.","doi":"10.1002/hep.20701","id":"kleiner-2005","pmid":"15915461","source":"Hepatology. 2005;41(6):1313-1321","title":"Design and validation of a histological scoring system for nonalcoholic fatty liver disease."},"components":[{"factor":"steatosis","points":0,"present":true,"value":0},{"factor":"lobular_inflammation","points":0,"present":true,"value":0},{"factor":"ballooning","points":0,"present":true,"value":0}],"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":"nafld_nas","formula_expression":"NAS = steatosis (integer 0-3) + lobular_inflammation (integer 0-3) + ballooning (integer 0-2); Kleiner 2005 caller-assigned; max 8; fibrosis is not in NAS; no NASH diagnostic bands","lobular_inflammation":0,"max_score":8,"score":0,"steatosis":0}],"path":"/api/calc/nafld_nas"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ballooning":{"description":"Caller-assigned Kleiner 2005 hepatocellular ballooning points 0-2 (paper bins: 0 none; 1 few; 2 many/prominent). magent does not read histology.","type":"integer"},"lobular_inflammation":{"description":"Caller-assigned Kleiner 2005 lobular inflammation points 0-3 (paper bins: 0 none; 1 <2 foci/200×; 2 2–4 foci/200×; 3 >4 foci/200×). magent does not read histology.","type":"integer"},"steatosis":{"description":"Caller-assigned Kleiner 2005 steatosis points 0-3 (paper bins: 0 <5%; 1 5–33%; 2 >33–66%; 3 >66%). magent does not read histology.","type":"integer"}},"required":["steatosis","lobular_inflammation","ballooning"],"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":["nas","nafld","liver","histology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:36:12.336Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:36:11.92Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ballooning":0,"lobular_inflammation":0,"steatosis":0},{"ballooning":0,"lobular_inflammation":0,"steatosis":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ballooning":0,"citation":{"authors":"Kleiner DE, Brunt EM, Van Natta M, et al.","doi":"10.1002/hep.20701","id":"kleiner-2005","pmid":"15915461","source":"Hepatology. 2005;41(6):1313-1321","title":"Design and validation of a histological scoring system for nonalcoholic fatty liver disease."},"components":[{"factor":"steatosis","points":0,"present":true,"value":0},{"factor":"lobular_inflammation","points":0,"present":true,"value":0},{"factor":"ballooning","points":0,"present":true,"value":0}],"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":"nafld_nas","formula_expression":"NAS = steatosis (integer 0-3) + lobular_inflammation (integer 0-3) + ballooning (integer 0-2); Kleiner 2005 caller-assigned; max 8; fibrosis is not in NAS; no NASH diagnostic bands","lobular_inflammation":0,"max_score":8,"score":0,"steatosis":0},{"ballooning":0,"citation":{"authors":"Kleiner DE, Brunt EM, Van Natta M, et al.","doi":"10.1002/hep.20701","id":"kleiner-2005","pmid":"15915461","source":"Hepatology. 2005;41(6):1313-1321","title":"Design and validation of a histological scoring system for nonalcoholic fatty liver disease."},"components":[{"factor":"steatosis","points":0,"present":true,"value":0},{"factor":"lobular_inflammation","points":0,"present":true,"value":0},{"factor":"ballooning","points":0,"present":true,"value":0}],"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":"nafld_nas","formula_expression":"NAS = steatosis (integer 0-3) + lobular_inflammation (integer 0-3) + ballooning (integer 0-2); Kleiner 2005 caller-assigned; max 8; fibrosis is not in NAS; no NASH diagnostic bands","lobular_inflammation":0,"max_score":8,"score":0,"steatosis":0}],"path":"/api/calc/nafld_nas"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ballooning":{"description":"Caller-assigned Kleiner 2005 hepatocellular ballooning points 0-2 (paper bins: 0 none; 1 few; 2 many/prominent). magent does not read histology.","type":"integer"},"lobular_inflammation":{"description":"Caller-assigned Kleiner 2005 lobular inflammation points 0-3 (paper bins: 0 none; 1 <2 foci/200×; 2 2–4 foci/200×; 3 >4 foci/200×). magent does not read histology.","type":"integer"},"steatosis":{"description":"Caller-assigned Kleiner 2005 steatosis points 0-3 (paper bins: 0 <5%; 1 5–33%; 2 >33–66%; 3 >66%). magent does not read histology.","type":"integer"}},"required":["steatosis","lobular_inflammation","ballooning"],"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},{"id":39013,"slug":"39013","resource":"https://api.magentlab.com/api/calc/nadler","description":"Nadler 1962 predicted blood volume in liters from height, weight, and sex (separate male and female equations). Deterministic published arithmetic with citation. For adults as published; this tool does not take age. Not a transfusion order, Lemmens–Bernstein–Brodsky estimate, or 70 mL/kg rule of thumb.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"height_cm":170,"height_in":66.92913385826772,"sex":"male","weight_kg":70,"weight_lb":154.3236},{"height_cm":170,"height_in":66.92913385826772,"sex":"male","weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"blood_volume_l":4.66,"blood_volume_ml":4660,"citation":{"authors":"Nadler SB, Hidalgo JH, Bloch T","id":"nadler-1962","pmid":"21936146","source":"Surgery. 1962;51(2):224-232","title":"Prediction of blood volume in normal human adults"},"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":"nadler","formula_expression":"BV_L = 0.3669 * H^3 + 0.03219 * W + 0.6041 (male); BV_L = 0.3561 * H^3 + 0.03308 * W + 0.1833 (female); H meters, W kg","height_cm":170,"sex":"male","weight_kg":70},{"blood_volume_l":4.66,"blood_volume_ml":4660,"citation":{"authors":"Nadler SB, Hidalgo JH, Bloch T","id":"nadler-1962","pmid":"21936146","source":"Surgery. 1962;51(2):224-232","title":"Prediction of blood volume in normal human adults"},"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":"nadler","formula_expression":"BV_L = 0.3669 * H^3 + 0.03219 * W + 0.6041 (male); BV_L = 0.3561 * H^3 + 0.03308 * W + 0.1833 (female); H meters, W kg","height_cm":170,"sex":"male","weight_kg":70}],"path":"/api/calc/nadler"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"sex":{"description":"Sex used by Nadler 1962 (separate male and female equations).","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sex"],"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":["nadler","blood-volume","ebv","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:36:10.841Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:36:10.655Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"height_cm":170,"height_in":66.92913385826772,"sex":"male","weight_kg":70,"weight_lb":154.3236},{"height_cm":170,"height_in":66.92913385826772,"sex":"male","weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"blood_volume_l":4.66,"blood_volume_ml":4660,"citation":{"authors":"Nadler SB, Hidalgo JH, Bloch T","id":"nadler-1962","pmid":"21936146","source":"Surgery. 1962;51(2):224-232","title":"Prediction of blood volume in normal human adults"},"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":"nadler","formula_expression":"BV_L = 0.3669 * H^3 + 0.03219 * W + 0.6041 (male); BV_L = 0.3561 * H^3 + 0.03308 * W + 0.1833 (female); H meters, W kg","height_cm":170,"sex":"male","weight_kg":70},{"blood_volume_l":4.66,"blood_volume_ml":4660,"citation":{"authors":"Nadler SB, Hidalgo JH, Bloch T","id":"nadler-1962","pmid":"21936146","source":"Surgery. 1962;51(2):224-232","title":"Prediction of blood volume in normal human adults"},"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":"nadler","formula_expression":"BV_L = 0.3669 * H^3 + 0.03219 * W + 0.6041 (male); BV_L = 0.3561 * H^3 + 0.03308 * W + 0.1833 (female); H meters, W kg","height_cm":170,"sex":"male","weight_kg":70}],"path":"/api/calc/nadler"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"sex":{"description":"Sex used by Nadler 1962 (separate male and female equations).","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sex"],"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},{"id":39014,"slug":"39014","resource":"https://api.magentlab.com/api/calc/myxedema_coma","description":"Popoveniuc 2014 myxedema coma points from caller-assigned bands: thermoregulatory 0/10/20; CNS 0/10/15/20/30; GI 0/5/15/20; precipitant 10; bradycardia 0/10/20/30 plus other EKG 10, effusion 10, pulmonary edema 15, cardiomegaly 15, hypotension 20; five metabolic flags 10 each. Max 230. ≥60 potentially diagnostic; 45–59 at risk. Not a diagnosis or thyroid-hormone order. magent does not measure temperature, GCS, or labs.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bradycardia":"absent","cardiomegaly":false,"cns_effects":"absent","decreased_gfr":false,"gastrointestinal":"absent","hypercarbia":false,"hypoglycemia":false,"hyponatremia":false,"hypotension":false,"hypoxemia":false,"other_ekg_changes":false,"pericardial_pleural_effusion":false,"precipitating_event":false,"pulmonary_edema":false,"thermoregulatory":"gt_35"},{"bradycardia":"absent","cardiomegaly":false,"cns_effects":"absent","decreased_gfr":false,"gastrointestinal":"absent","hypercarbia":false,"hypoglycemia":false,"hyponatremia":false,"hypotension":false,"hypoxemia":false,"other_ekg_changes":false,"pericardial_pleural_effusion":false,"precipitating_event":false,"pulmonary_edema":false,"thermoregulatory":"gt_35"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Popoveniuc G, Chandra T, Sud A, Sharma M, Blackman MR, Burman KD, Mete M, Desale S, Wartofsky L","doi":"10.4158/EP13460.OR","id":"popoveniuc-2014","pmid":"24518183","source":"Endocr Pract. 2014;20(8):808-817","title":"A diagnostic scoring system for myxedema coma"},"components":[{"factor":"thermoregulatory","points":0,"present":false,"value":"gt_35"},{"factor":"cns_effects","points":0,"present":false,"value":"absent"},{"factor":"gastrointestinal","points":0,"present":false,"value":"absent"},{"factor":"precipitating_event","points":0,"present":false,"value":false},{"factor":"bradycardia","points":0,"present":false,"value":"absent"},{"factor":"other_ekg_changes","points":0,"present":false,"value":false},{"factor":"pericardial_pleural_effusion","points":0,"present":false,"value":false},{"factor":"pulmonary_edema","points":0,"present":false,"value":false},{"factor":"cardiomegaly","points":0,"present":false,"value":false},{"factor":"hypotension","points":0,"present":false,"value":false},{"factor":"hyponatremia","points":0,"present":false,"value":false},{"factor":"hypoglycemia","points":0,"present":false,"value":false},{"factor":"hypoxemia","points":0,"present":false,"value":false},{"factor":"hypercarbia","points":0,"present":false,"value":false},{"factor":"decreased_gfr","points":0,"present":false,"value":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":"myxedema_coma","formula_expression":"Popoveniuc 2014 = thermoregulatory(gt_35→0, 32_to_35→10, lt_32→20) + cns_effects(absent→0, somnolent_lethargic→10, obtunded→15, stupor→20, coma_seizures→30) + gastrointestinal(absent→0, anorexia_pain_constipation→5, decreased_motility→15, paralytic_ileus→20) + 10*precipitating_event + bradycardia(absent→0, 50_to_59→10, 40_to_49→20, lt_40→30) + 10*other_ekg_changes + 10*pericardial_pleural_effusion + 15*pulmonary_edema + 15*cardiomegaly + 20*hypotension + 10*hyponatremia + 10*hypoglycemia + 10*hypoxemia + 10*hypercarbia + 10*decreased_gfr; max 230; ≥60 potentially_diagnostic, 45–59 at_risk","max_score":230,"myxedema_coma_band":"below_at_risk","score":0},{"citation":{"authors":"Popoveniuc G, Chandra T, Sud A, Sharma M, Blackman MR, Burman KD, Mete M, Desale S, Wartofsky L","doi":"10.4158/EP13460.OR","id":"popoveniuc-2014","pmid":"24518183","source":"Endocr Pract. 2014;20(8):808-817","title":"A diagnostic scoring system for myxedema coma"},"components":[{"factor":"thermoregulatory","points":0,"present":false,"value":"gt_35"},{"factor":"cns_effects","points":0,"present":false,"value":"absent"},{"factor":"gastrointestinal","points":0,"present":false,"value":"absent"},{"factor":"precipitating_event","points":0,"present":false,"value":false},{"factor":"bradycardia","points":0,"present":false,"value":"absent"},{"factor":"other_ekg_changes","points":0,"present":false,"value":false},{"factor":"pericardial_pleural_effusion","points":0,"present":false,"value":false},{"factor":"pulmonary_edema","points":0,"present":false,"value":false},{"factor":"cardiomegaly","points":0,"present":false,"value":false},{"factor":"hypotension","points":0,"present":false,"value":false},{"factor":"hyponatremia","points":0,"present":false,"value":false},{"factor":"hypoglycemia","points":0,"present":false,"value":false},{"factor":"hypoxemia","points":0,"present":false,"value":false},{"factor":"hypercarbia","points":0,"present":false,"value":false},{"factor":"decreased_gfr","points":0,"present":false,"value":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":"myxedema_coma","formula_expression":"Popoveniuc 2014 = thermoregulatory(gt_35→0, 32_to_35→10, lt_32→20) + cns_effects(absent→0, somnolent_lethargic→10, obtunded→15, stupor→20, coma_seizures→30) + gastrointestinal(absent→0, anorexia_pain_constipation→5, decreased_motility→15, paralytic_ileus→20) + 10*precipitating_event + bradycardia(absent→0, 50_to_59→10, 40_to_49→20, lt_40→30) + 10*other_ekg_changes + 10*pericardial_pleural_effusion + 15*pulmonary_edema + 15*cardiomegaly + 20*hypotension + 10*hyponatremia + 10*hypoglycemia + 10*hypoxemia + 10*hypercarbia + 10*decreased_gfr; max 230; ≥60 potentially_diagnostic, 45–59 at_risk","max_score":230,"myxedema_coma_band":"below_at_risk","score":0}],"path":"/api/calc/myxedema_coma"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bradycardia":{"description":"Caller-assigned Popoveniuc 2014 bradycardia band. absent scores 0; 50_to_59 (heart rate 50–59) scores 10; 40_to_49 scores 20; lt_40 (<40) scores 30. magent does not measure heart rate.","enum":["absent","50_to_59","40_to_49","lt_40"],"type":"string"},"cardiomegaly":{"description":"Cardiomegaly as assigned by the caller (true or false). Popoveniuc 2014: true → 15. magent does not interpret imaging.","type":"boolean"},"cns_effects":{"description":"Caller-assigned Popoveniuc 2014 central-nervous-system band. absent scores 0; somnolent_lethargic 10; obtunded 15; stupor 20; coma_seizures 30. magent does not compute GCS or examine the patient.","enum":["absent","somnolent_lethargic","obtunded","stupor","coma_seizures"],"type":"string"},"decreased_gfr":{"description":"Decrease in glomerular filtration rate as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not compute GFR.","type":"boolean"},"gastrointestinal":{"description":"Caller-assigned Popoveniuc 2014 gastrointestinal band. absent scores 0; anorexia_pain_constipation (anorexia, abdominal pain, or constipation) scores 5; decreased_motility 15; paralytic_ileus 20. magent does not examine the patient.","enum":["absent","anorexia_pain_constipation","decreased_motility","paralytic_ileus"],"type":"string"},"hypercarbia":{"description":"Hypercarbia as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not measure carbon dioxide.","type":"boolean"},"hypoglycemia":{"description":"Hypoglycemia as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not measure glucose.","type":"boolean"},"hyponatremia":{"description":"Hyponatremia as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not measure sodium.","type":"boolean"},"hypotension":{"description":"Hypotension or shock as assigned by the caller (true or false). Popoveniuc 2014: true → 20. magent does not measure blood pressure.","type":"boolean"},"hypoxemia":{"description":"Hypoxemia as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not measure oxygen.","type":"boolean"},"other_ekg_changes":{"description":"Other electrocardiogram changes as assigned by the caller (true or false): QT prolongation, low voltage, bundle-branch block, nonspecific ST-T changes, or heart block (Popoveniuc 2014). true → 10. magent does not read an ECG.","type":"boolean"},"pericardial_pleural_effusion":{"description":"Pericardial or pleural effusion as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not interpret imaging.","type":"boolean"},"precipitating_event":{"description":"Precipitating event as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not take a history.","type":"boolean"},"pulmonary_edema":{"description":"Pulmonary edema as assigned by the caller (true or false). Popoveniuc 2014: true → 15. magent does not interpret imaging.","type":"boolean"},"thermoregulatory":{"description":"Caller-assigned Popoveniuc 2014 thermoregulatory band. gt_35 (>35 °C) scores 0; 32_to_35 (32–35 °C) scores 10; lt_32 (<32 °C) scores 20. magent does not measure temperature.","enum":["gt_35","32_to_35","lt_32"],"type":"string"}},"required":["thermoregulatory","cns_effects","gastrointestinal","precipitating_event","bradycardia","other_ekg_changes","pericardial_pleural_effusion","pulmonary_edema","cardiomegaly","hypotension","hyponatremia","hypoglycemia","hypoxemia","hypercarbia","decreased_gfr"],"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":["myxedema-coma","hypothyroidism","electrolytes","popoveniuc","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:36:09.915Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:36:09.755Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bradycardia":"absent","cardiomegaly":false,"cns_effects":"absent","decreased_gfr":false,"gastrointestinal":"absent","hypercarbia":false,"hypoglycemia":false,"hyponatremia":false,"hypotension":false,"hypoxemia":false,"other_ekg_changes":false,"pericardial_pleural_effusion":false,"precipitating_event":false,"pulmonary_edema":false,"thermoregulatory":"gt_35"},{"bradycardia":"absent","cardiomegaly":false,"cns_effects":"absent","decreased_gfr":false,"gastrointestinal":"absent","hypercarbia":false,"hypoglycemia":false,"hyponatremia":false,"hypotension":false,"hypoxemia":false,"other_ekg_changes":false,"pericardial_pleural_effusion":false,"precipitating_event":false,"pulmonary_edema":false,"thermoregulatory":"gt_35"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Popoveniuc G, Chandra T, Sud A, Sharma M, Blackman MR, Burman KD, Mete M, Desale S, Wartofsky L","doi":"10.4158/EP13460.OR","id":"popoveniuc-2014","pmid":"24518183","source":"Endocr Pract. 2014;20(8):808-817","title":"A diagnostic scoring system for myxedema coma"},"components":[{"factor":"thermoregulatory","points":0,"present":false,"value":"gt_35"},{"factor":"cns_effects","points":0,"present":false,"value":"absent"},{"factor":"gastrointestinal","points":0,"present":false,"value":"absent"},{"factor":"precipitating_event","points":0,"present":false,"value":false},{"factor":"bradycardia","points":0,"present":false,"value":"absent"},{"factor":"other_ekg_changes","points":0,"present":false,"value":false},{"factor":"pericardial_pleural_effusion","points":0,"present":false,"value":false},{"factor":"pulmonary_edema","points":0,"present":false,"value":false},{"factor":"cardiomegaly","points":0,"present":false,"value":false},{"factor":"hypotension","points":0,"present":false,"value":false},{"factor":"hyponatremia","points":0,"present":false,"value":false},{"factor":"hypoglycemia","points":0,"present":false,"value":false},{"factor":"hypoxemia","points":0,"present":false,"value":false},{"factor":"hypercarbia","points":0,"present":false,"value":false},{"factor":"decreased_gfr","points":0,"present":false,"value":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":"myxedema_coma","formula_expression":"Popoveniuc 2014 = thermoregulatory(gt_35→0, 32_to_35→10, lt_32→20) + cns_effects(absent→0, somnolent_lethargic→10, obtunded→15, stupor→20, coma_seizures→30) + gastrointestinal(absent→0, anorexia_pain_constipation→5, decreased_motility→15, paralytic_ileus→20) + 10*precipitating_event + bradycardia(absent→0, 50_to_59→10, 40_to_49→20, lt_40→30) + 10*other_ekg_changes + 10*pericardial_pleural_effusion + 15*pulmonary_edema + 15*cardiomegaly + 20*hypotension + 10*hyponatremia + 10*hypoglycemia + 10*hypoxemia + 10*hypercarbia + 10*decreased_gfr; max 230; ≥60 potentially_diagnostic, 45–59 at_risk","max_score":230,"myxedema_coma_band":"below_at_risk","score":0},{"citation":{"authors":"Popoveniuc G, Chandra T, Sud A, Sharma M, Blackman MR, Burman KD, Mete M, Desale S, Wartofsky L","doi":"10.4158/EP13460.OR","id":"popoveniuc-2014","pmid":"24518183","source":"Endocr Pract. 2014;20(8):808-817","title":"A diagnostic scoring system for myxedema coma"},"components":[{"factor":"thermoregulatory","points":0,"present":false,"value":"gt_35"},{"factor":"cns_effects","points":0,"present":false,"value":"absent"},{"factor":"gastrointestinal","points":0,"present":false,"value":"absent"},{"factor":"precipitating_event","points":0,"present":false,"value":false},{"factor":"bradycardia","points":0,"present":false,"value":"absent"},{"factor":"other_ekg_changes","points":0,"present":false,"value":false},{"factor":"pericardial_pleural_effusion","points":0,"present":false,"value":false},{"factor":"pulmonary_edema","points":0,"present":false,"value":false},{"factor":"cardiomegaly","points":0,"present":false,"value":false},{"factor":"hypotension","points":0,"present":false,"value":false},{"factor":"hyponatremia","points":0,"present":false,"value":false},{"factor":"hypoglycemia","points":0,"present":false,"value":false},{"factor":"hypoxemia","points":0,"present":false,"value":false},{"factor":"hypercarbia","points":0,"present":false,"value":false},{"factor":"decreased_gfr","points":0,"present":false,"value":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":"myxedema_coma","formula_expression":"Popoveniuc 2014 = thermoregulatory(gt_35→0, 32_to_35→10, lt_32→20) + cns_effects(absent→0, somnolent_lethargic→10, obtunded→15, stupor→20, coma_seizures→30) + gastrointestinal(absent→0, anorexia_pain_constipation→5, decreased_motility→15, paralytic_ileus→20) + 10*precipitating_event + bradycardia(absent→0, 50_to_59→10, 40_to_49→20, lt_40→30) + 10*other_ekg_changes + 10*pericardial_pleural_effusion + 15*pulmonary_edema + 15*cardiomegaly + 20*hypotension + 10*hyponatremia + 10*hypoglycemia + 10*hypoxemia + 10*hypercarbia + 10*decreased_gfr; max 230; ≥60 potentially_diagnostic, 45–59 at_risk","max_score":230,"myxedema_coma_band":"below_at_risk","score":0}],"path":"/api/calc/myxedema_coma"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bradycardia":{"description":"Caller-assigned Popoveniuc 2014 bradycardia band. absent scores 0; 50_to_59 (heart rate 50–59) scores 10; 40_to_49 scores 20; lt_40 (<40) scores 30. magent does not measure heart rate.","enum":["absent","50_to_59","40_to_49","lt_40"],"type":"string"},"cardiomegaly":{"description":"Cardiomegaly as assigned by the caller (true or false). Popoveniuc 2014: true → 15. magent does not interpret imaging.","type":"boolean"},"cns_effects":{"description":"Caller-assigned Popoveniuc 2014 central-nervous-system band. absent scores 0; somnolent_lethargic 10; obtunded 15; stupor 20; coma_seizures 30. magent does not compute GCS or examine the patient.","enum":["absent","somnolent_lethargic","obtunded","stupor","coma_seizures"],"type":"string"},"decreased_gfr":{"description":"Decrease in glomerular filtration rate as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not compute GFR.","type":"boolean"},"gastrointestinal":{"description":"Caller-assigned Popoveniuc 2014 gastrointestinal band. absent scores 0; anorexia_pain_constipation (anorexia, abdominal pain, or constipation) scores 5; decreased_motility 15; paralytic_ileus 20. magent does not examine the patient.","enum":["absent","anorexia_pain_constipation","decreased_motility","paralytic_ileus"],"type":"string"},"hypercarbia":{"description":"Hypercarbia as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not measure carbon dioxide.","type":"boolean"},"hypoglycemia":{"description":"Hypoglycemia as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not measure glucose.","type":"boolean"},"hyponatremia":{"description":"Hyponatremia as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not measure sodium.","type":"boolean"},"hypotension":{"description":"Hypotension or shock as assigned by the caller (true or false). Popoveniuc 2014: true → 20. magent does not measure blood pressure.","type":"boolean"},"hypoxemia":{"description":"Hypoxemia as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not measure oxygen.","type":"boolean"},"other_ekg_changes":{"description":"Other electrocardiogram changes as assigned by the caller (true or false): QT prolongation, low voltage, bundle-branch block, nonspecific ST-T changes, or heart block (Popoveniuc 2014). true → 10. magent does not read an ECG.","type":"boolean"},"pericardial_pleural_effusion":{"description":"Pericardial or pleural effusion as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not interpret imaging.","type":"boolean"},"precipitating_event":{"description":"Precipitating event as assigned by the caller (true or false). Popoveniuc 2014: true → 10. magent does not take a history.","type":"boolean"},"pulmonary_edema":{"description":"Pulmonary edema as assigned by the caller (true or false). Popoveniuc 2014: true → 15. magent does not interpret imaging.","type":"boolean"},"thermoregulatory":{"description":"Caller-assigned Popoveniuc 2014 thermoregulatory band. gt_35 (>35 °C) scores 0; 32_to_35 (32–35 °C) scores 10; lt_32 (<32 °C) scores 20. magent does not measure temperature.","enum":["gt_35","32_to_35","lt_32"],"type":"string"}},"required":["thermoregulatory","cns_effects","gastrointestinal","precipitating_event","bradycardia","other_ekg_changes","pericardial_pleural_effusion","pulmonary_edema","cardiomegaly","hypotension","hyponatremia","hypoglycemia","hypoxemia","hypercarbia","decreased_gfr"],"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},{"id":39015,"slug":"39015","resource":"https://api.magentlab.com/api/calc/must","description":"Stratton 2004 Malnutrition Universal Screening Tool (MUST) for adults. Three additive scores, max 6: BMI (>20 → 0, 18.5–20 → 1 including 20.0, <18.5 → 2); unplanned weight loss % last 3–6 months (<5 → 0, 5–10 → 1 including 10%, >10 → 2); acute disease no nutritional intake >5 days → 2. Risk 0 low, 1 medium, ≥2 high. Caller supplies BMI and weight-loss percent. Not a malnutrition diagnosis, diet order, or MUAC. magent does not weigh the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_disease_no_intake_gt_5_days":false,"bmi_kg_m2":22,"weight_loss_percent":0},{"acute_disease_no_intake_gt_5_days":false,"bmi_kg_m2":22,"weight_loss_percent":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acute_disease_score":0,"bmi_kg_m2":22,"bmi_score":0,"citation":{"authors":"Stratton RJ, Hackston A, Longmore D, Dixon R, Price S, Stroud M, King C, Elia M","doi":"10.1079/BJN20041258","id":"stratton-2004","pmid":"15522139","source":"Br J Nutr. 2004;92(5):799-808","title":"Malnutrition in hospital outpatients and inpatients: prevalence, concurrent validity and ease of use of the 'malnutrition universal screening tool' ('MUST') for adults"},"components":[{"factor":"bmi","points":0,"present":false,"value":22},{"factor":"weight_loss","points":0,"present":false,"value":0},{"factor":"acute_disease","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":"must","formula_expression":"MUST = bmi_score + weight_loss_score + acute_disease_score; BMI >20 -> 0, 18.5-20 inclusive -> 1, <18.5 -> 2; unplanned weight loss % last 3-6 months <5 -> 0, 5-10 inclusive -> 1, >10 -> 2; acute disease no nutritional intake >5 days -> 2 else 0; max 6; risk 0 low, 1 medium, >=2 high","max_score":6,"risk":"low","score":0,"weight_loss_percent":0,"weight_loss_score":0},{"acute_disease_score":0,"bmi_kg_m2":22,"bmi_score":0,"citation":{"authors":"Stratton RJ, Hackston A, Longmore D, Dixon R, Price S, Stroud M, King C, Elia M","doi":"10.1079/BJN20041258","id":"stratton-2004","pmid":"15522139","source":"Br J Nutr. 2004;92(5):799-808","title":"Malnutrition in hospital outpatients and inpatients: prevalence, concurrent validity and ease of use of the 'malnutrition universal screening tool' ('MUST') for adults"},"components":[{"factor":"bmi","points":0,"present":false,"value":22},{"factor":"weight_loss","points":0,"present":false,"value":0},{"factor":"acute_disease","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":"must","formula_expression":"MUST = bmi_score + weight_loss_score + acute_disease_score; BMI >20 -> 0, 18.5-20 inclusive -> 1, <18.5 -> 2; unplanned weight loss % last 3-6 months <5 -> 0, 5-10 inclusive -> 1, >10 -> 2; acute disease no nutritional intake >5 days -> 2 else 0; max 6; risk 0 low, 1 medium, >=2 high","max_score":6,"risk":"low","score":0,"weight_loss_percent":0,"weight_loss_score":0}],"path":"/api/calc/must"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_disease_no_intake_gt_5_days":{"description":"Acute disease with no nutritional intake for more than 5 days (Stratton 2004 MUST). true scores 2; false scores 0.","type":"boolean"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not weigh the patient or compute BMI. Stratton 2004 MUST: >20 scores 0; 18.5-20 inclusive scores 1; <18.5 scores 2. BMI 20.0 scores 1; 20.1 scores 0.","type":"number"},"weight_loss_percent":{"description":"Unplanned weight loss percent over the last 3-6 months (0-50). Caller-supplied; magent does not weigh the patient. Stratton 2004 MUST: <5 scores 0; 5-10 inclusive scores 1; >10 scores 2. 10% scores 1, not 2.","type":"number"}},"required":["bmi_kg_m2","weight_loss_percent","acute_disease_no_intake_gt_5_days"],"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":["must","malnutrition","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:31:33.773Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:31:33.647Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_disease_no_intake_gt_5_days":false,"bmi_kg_m2":22,"weight_loss_percent":0},{"acute_disease_no_intake_gt_5_days":false,"bmi_kg_m2":22,"weight_loss_percent":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acute_disease_score":0,"bmi_kg_m2":22,"bmi_score":0,"citation":{"authors":"Stratton RJ, Hackston A, Longmore D, Dixon R, Price S, Stroud M, King C, Elia M","doi":"10.1079/BJN20041258","id":"stratton-2004","pmid":"15522139","source":"Br J Nutr. 2004;92(5):799-808","title":"Malnutrition in hospital outpatients and inpatients: prevalence, concurrent validity and ease of use of the 'malnutrition universal screening tool' ('MUST') for adults"},"components":[{"factor":"bmi","points":0,"present":false,"value":22},{"factor":"weight_loss","points":0,"present":false,"value":0},{"factor":"acute_disease","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":"must","formula_expression":"MUST = bmi_score + weight_loss_score + acute_disease_score; BMI >20 -> 0, 18.5-20 inclusive -> 1, <18.5 -> 2; unplanned weight loss % last 3-6 months <5 -> 0, 5-10 inclusive -> 1, >10 -> 2; acute disease no nutritional intake >5 days -> 2 else 0; max 6; risk 0 low, 1 medium, >=2 high","max_score":6,"risk":"low","score":0,"weight_loss_percent":0,"weight_loss_score":0},{"acute_disease_score":0,"bmi_kg_m2":22,"bmi_score":0,"citation":{"authors":"Stratton RJ, Hackston A, Longmore D, Dixon R, Price S, Stroud M, King C, Elia M","doi":"10.1079/BJN20041258","id":"stratton-2004","pmid":"15522139","source":"Br J Nutr. 2004;92(5):799-808","title":"Malnutrition in hospital outpatients and inpatients: prevalence, concurrent validity and ease of use of the 'malnutrition universal screening tool' ('MUST') for adults"},"components":[{"factor":"bmi","points":0,"present":false,"value":22},{"factor":"weight_loss","points":0,"present":false,"value":0},{"factor":"acute_disease","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":"must","formula_expression":"MUST = bmi_score + weight_loss_score + acute_disease_score; BMI >20 -> 0, 18.5-20 inclusive -> 1, <18.5 -> 2; unplanned weight loss % last 3-6 months <5 -> 0, 5-10 inclusive -> 1, >10 -> 2; acute disease no nutritional intake >5 days -> 2 else 0; max 6; risk 0 low, 1 medium, >=2 high","max_score":6,"risk":"low","score":0,"weight_loss_percent":0,"weight_loss_score":0}],"path":"/api/calc/must"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_disease_no_intake_gt_5_days":{"description":"Acute disease with no nutritional intake for more than 5 days (Stratton 2004 MUST). true scores 2; false scores 0.","type":"boolean"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not weigh the patient or compute BMI. Stratton 2004 MUST: >20 scores 0; 18.5-20 inclusive scores 1; <18.5 scores 2. BMI 20.0 scores 1; 20.1 scores 0.","type":"number"},"weight_loss_percent":{"description":"Unplanned weight loss percent over the last 3-6 months (0-50). Caller-supplied; magent does not weigh the patient. Stratton 2004 MUST: <5 scores 0; 5-10 inclusive scores 1; >10 scores 2. 10% scores 1, not 2.","type":"number"}},"required":["bmi_kg_m2","weight_loss_percent","acute_disease_no_intake_gt_5_days"],"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},{"id":39016,"slug":"39016","resource":"https://api.magentlab.com/api/calc/murray","description":"Murray 1988 lung injury score (LIS): mean of four 0–4 components (caller-assigned CXR quadrants; PaO2/FiO2 ≥300→0, 225–299→1, 175–224→2, 100–174→3, <100→4; PEEP cm H2O ≤5→0, 6–8→1, 9–11→2, 12–14→3, ≥15→4; compliance mL/cm H2O ≥80→0, 60–79→1, 40–59→2, 20–39→3, ≤19→4). LIS 0 none, 0<LIS≤2.5 mild_moderate, >2.5 severe. Not a medical device, not a Berlin ARDS diagnosis, not a ventilator order. magent does not interpret imaging.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"chest_radiograph_quadrants":0,"compliance_ml_cm_h2o":90,"peep_cm_h2o":5,"pf_ratio":400},{"chest_radiograph_quadrants":0,"compliance_ml_cm_h2o":90,"peep_cm_h2o":5,"pf_ratio":400}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"chest_radiograph_quadrants":0,"citation":{"authors":"Murray JF, Matthay MA, Luce JM, Flick MR","doi":"10.1164/ajrccm/138.3.720","id":"murray-1988","pmid":"3202424","source":"Am Rev Respir Dis. 1988;138(3):720-723","title":"An expanded definition of the adult respiratory distress syndrome"},"compliance_ml_cm_h2o":90,"components":[{"factor":"chest_radiograph_quadrants","points":0,"present":false,"value":0},{"factor":"pf_ratio","points":0,"present":false,"value":400},{"factor":"peep_cm_h2o","points":0,"present":false,"value":5},{"factor":"compliance_ml_cm_h2o","points":0,"present":false,"value":90}],"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":"murray","formula_expression":"LIS = mean of chest_radiograph_quadrants (0–4) + PaO2/FiO2 (≥300→0, 225–299→1, 175–224→2, 100–174→3, <100→4) + PEEP cm H2O (≤5→0, 6–8→1, 9–11→2, 12–14→3, ≥15→4) + compliance mL/cm H2O (≥80→0, 60–79→1, 40–59→2, 20–39→3, ≤19→4); Murray 1988; none if LIS=0, mild_moderate if 0<LIS≤2.5, severe if LIS>2.5","injury_band":"none","lis":0,"peep_cm_h2o":5,"pf_ratio":400},{"chest_radiograph_quadrants":0,"citation":{"authors":"Murray JF, Matthay MA, Luce JM, Flick MR","doi":"10.1164/ajrccm/138.3.720","id":"murray-1988","pmid":"3202424","source":"Am Rev Respir Dis. 1988;138(3):720-723","title":"An expanded definition of the adult respiratory distress syndrome"},"compliance_ml_cm_h2o":90,"components":[{"factor":"chest_radiograph_quadrants","points":0,"present":false,"value":0},{"factor":"pf_ratio","points":0,"present":false,"value":400},{"factor":"peep_cm_h2o","points":0,"present":false,"value":5},{"factor":"compliance_ml_cm_h2o","points":0,"present":false,"value":90}],"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":"murray","formula_expression":"LIS = mean of chest_radiograph_quadrants (0–4) + PaO2/FiO2 (≥300→0, 225–299→1, 175–224→2, 100–174→3, <100→4) + PEEP cm H2O (≤5→0, 6–8→1, 9–11→2, 12–14→3, ≥15→4) + compliance mL/cm H2O (≥80→0, 60–79→1, 40–59→2, 20–39→3, ≤19→4); Murray 1988; none if LIS=0, mild_moderate if 0<LIS≤2.5, severe if LIS>2.5","injury_band":"none","lis":0,"peep_cm_h2o":5,"pf_ratio":400}],"path":"/api/calc/murray"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chest_radiograph_quadrants":{"description":"Caller-assigned alveolar consolidation quadrants 0-4 (Murray 1988). 0 none, 1 one quadrant, 2 two quadrants, 3 three quadrants, 4 four quadrants. The integer is that component's points. magent does not interpret imaging.","enum":[0,1,2,3,4],"type":"integer"},"compliance_ml_cm_h2o":{"description":"Respiratory system compliance in mL/cm H2O (5-200). Murray 1988: ≥80 → 0, 60-79 → 1, 40-59 → 2, 20-39 → 3, ≤19 → 4. magent does not measure compliance.","type":"number"},"peep_cm_h2o":{"description":"PEEP in cm H2O (0-40). Murray 1988: ≤5 → 0, 6-8 → 1, 9-11 → 2, 12-14 → 3, ≥15 → 4. Not a ventilator order. magent does not set PEEP.","type":"number"},"pf_ratio":{"description":"PaO2/FiO2 ratio (20-800). Murray 1988: ≥300 → 0, 225-299 → 1, 175-224 → 2, 100-174 → 3, <100 → 4. magent does not read an ABG.","type":"number"}},"required":["chest_radiograph_quadrants","pf_ratio","peep_cm_h2o","compliance_ml_cm_h2o"],"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":["murray","lis","respiratory","lung-injury","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:31:32.981Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:31:32.848Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"chest_radiograph_quadrants":0,"compliance_ml_cm_h2o":90,"peep_cm_h2o":5,"pf_ratio":400},{"chest_radiograph_quadrants":0,"compliance_ml_cm_h2o":90,"peep_cm_h2o":5,"pf_ratio":400}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"chest_radiograph_quadrants":0,"citation":{"authors":"Murray JF, Matthay MA, Luce JM, Flick MR","doi":"10.1164/ajrccm/138.3.720","id":"murray-1988","pmid":"3202424","source":"Am Rev Respir Dis. 1988;138(3):720-723","title":"An expanded definition of the adult respiratory distress syndrome"},"compliance_ml_cm_h2o":90,"components":[{"factor":"chest_radiograph_quadrants","points":0,"present":false,"value":0},{"factor":"pf_ratio","points":0,"present":false,"value":400},{"factor":"peep_cm_h2o","points":0,"present":false,"value":5},{"factor":"compliance_ml_cm_h2o","points":0,"present":false,"value":90}],"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":"murray","formula_expression":"LIS = mean of chest_radiograph_quadrants (0–4) + PaO2/FiO2 (≥300→0, 225–299→1, 175–224→2, 100–174→3, <100→4) + PEEP cm H2O (≤5→0, 6–8→1, 9–11→2, 12–14→3, ≥15→4) + compliance mL/cm H2O (≥80→0, 60–79→1, 40–59→2, 20–39→3, ≤19→4); Murray 1988; none if LIS=0, mild_moderate if 0<LIS≤2.5, severe if LIS>2.5","injury_band":"none","lis":0,"peep_cm_h2o":5,"pf_ratio":400},{"chest_radiograph_quadrants":0,"citation":{"authors":"Murray JF, Matthay MA, Luce JM, Flick MR","doi":"10.1164/ajrccm/138.3.720","id":"murray-1988","pmid":"3202424","source":"Am Rev Respir Dis. 1988;138(3):720-723","title":"An expanded definition of the adult respiratory distress syndrome"},"compliance_ml_cm_h2o":90,"components":[{"factor":"chest_radiograph_quadrants","points":0,"present":false,"value":0},{"factor":"pf_ratio","points":0,"present":false,"value":400},{"factor":"peep_cm_h2o","points":0,"present":false,"value":5},{"factor":"compliance_ml_cm_h2o","points":0,"present":false,"value":90}],"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":"murray","formula_expression":"LIS = mean of chest_radiograph_quadrants (0–4) + PaO2/FiO2 (≥300→0, 225–299→1, 175–224→2, 100–174→3, <100→4) + PEEP cm H2O (≤5→0, 6–8→1, 9–11→2, 12–14→3, ≥15→4) + compliance mL/cm H2O (≥80→0, 60–79→1, 40–59→2, 20–39→3, ≤19→4); Murray 1988; none if LIS=0, mild_moderate if 0<LIS≤2.5, severe if LIS>2.5","injury_band":"none","lis":0,"peep_cm_h2o":5,"pf_ratio":400}],"path":"/api/calc/murray"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chest_radiograph_quadrants":{"description":"Caller-assigned alveolar consolidation quadrants 0-4 (Murray 1988). 0 none, 1 one quadrant, 2 two quadrants, 3 three quadrants, 4 four quadrants. The integer is that component's points. magent does not interpret imaging.","enum":[0,1,2,3,4],"type":"integer"},"compliance_ml_cm_h2o":{"description":"Respiratory system compliance in mL/cm H2O (5-200). Murray 1988: ≥80 → 0, 60-79 → 1, 40-59 → 2, 20-39 → 3, ≤19 → 4. magent does not measure compliance.","type":"number"},"peep_cm_h2o":{"description":"PEEP in cm H2O (0-40). Murray 1988: ≤5 → 0, 6-8 → 1, 9-11 → 2, 12-14 → 3, ≥15 → 4. Not a ventilator order. magent does not set PEEP.","type":"number"},"pf_ratio":{"description":"PaO2/FiO2 ratio (20-800). Murray 1988: ≥300 → 0, 225-299 → 1, 175-224 → 2, 100-174 → 3, <100 → 4. magent does not read an ABG.","type":"number"}},"required":["chest_radiograph_quadrants","pf_ratio","peep_cm_h2o","compliance_ml_cm_h2o"],"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},{"id":39017,"slug":"39017","resource":"https://api.magentlab.com/api/calc/mumtaz","description":"Mumtaz 2019 integer score for 30-day all-cause readmission after decompensated-cirrhosis index admission. Age, payer, caller-assigned Elixhauser >=3, nonalcoholic etiology, ascites, encephalopathy, variceal bleeding (-7), HCC, paracentesis, hemodialysis, and disposition. Range -11 to 49. Returns estimated_readmission_percent and readmission_band (low <20%, medium 20-30%, high >30%). Not a discharge order. magent does not compute Elixhauser.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"ascites":false,"disposition":"routine","elixhauser_ge_3":false,"hemodialysis":false,"hepatic_encephalopathy":false,"hepatocellular_carcinoma":false,"non_alcoholic_etiology":false,"paracentesis":false,"primary_payer":"private","variceal_bleeding":false},{"age":70,"ascites":false,"disposition":"routine","elixhauser_ge_3":false,"hemodialysis":false,"hepatic_encephalopathy":false,"hepatocellular_carcinoma":false,"non_alcoholic_etiology":false,"paracentesis":false,"primary_payer":"private","variceal_bleeding":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Mumtaz K, Issak A, Porter K, et al.","doi":"10.1002/hep.30274","id":"mumtaz-2019","pmid":"30218583","source":"Hepatology. 2019;70(2):630-639","title":"Validation of Risk Score in Predicting Early Readmissions in Decompensated Cirrhotic Patients: A Model Based on the Administrative Database"},"components":[{"factor":"age","points":0,"present":true,"value":70},{"factor":"primary_payer","points":0,"present":true,"value":"private"},{"factor":"elixhauser_ge_3","points":0,"present":false},{"factor":"non_alcoholic_etiology","points":0,"present":false},{"factor":"ascites","points":0,"present":false},{"factor":"hepatic_encephalopathy","points":0,"present":false},{"factor":"variceal_bleeding","points":0,"present":false},{"factor":"hepatocellular_carcinoma","points":0,"present":false},{"factor":"paracentesis","points":0,"present":false},{"factor":"hemodialysis","points":0,"present":false},{"factor":"disposition","points":0,"present":true,"value":"routine"}],"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.","disposition":"routine","estimated_readmission_percent":15.1,"formula":"mumtaz","formula_expression":"Mumtaz = age_points + primary_payer_points + elixhauser_ge_3(2) + non_alcoholic_etiology(2) + ascites(5) + hepatic_encephalopathy(4) + variceal_bleeding(-7) + hepatocellular_carcinoma(3) + paracentesis(4) + hemodialysis(7) + disposition_points; Mumtaz 2019; age 18-39 7, 40-64 4, >=65 0; medicare 4, medicaid 5, private 0, self_pay -3, other -1; disposition routine 0, transfer -1, home_health 1, ama 10; range -11 to 49; estimated_readmission_percent is the published score-to-probability mapping; readmission_band low <20% (score -11 to 6), medium 20-30% (7 to 17), high >30% (18 to 49)","max_score":49,"min_score":-11,"primary_payer":"private","readmission_band":"low","score":0},{"age_years":70,"citation":{"authors":"Mumtaz K, Issak A, Porter K, et al.","doi":"10.1002/hep.30274","id":"mumtaz-2019","pmid":"30218583","source":"Hepatology. 2019;70(2):630-639","title":"Validation of Risk Score in Predicting Early Readmissions in Decompensated Cirrhotic Patients: A Model Based on the Administrative Database"},"components":[{"factor":"age","points":0,"present":true,"value":70},{"factor":"primary_payer","points":0,"present":true,"value":"private"},{"factor":"elixhauser_ge_3","points":0,"present":false},{"factor":"non_alcoholic_etiology","points":0,"present":false},{"factor":"ascites","points":0,"present":false},{"factor":"hepatic_encephalopathy","points":0,"present":false},{"factor":"variceal_bleeding","points":0,"present":false},{"factor":"hepatocellular_carcinoma","points":0,"present":false},{"factor":"paracentesis","points":0,"present":false},{"factor":"hemodialysis","points":0,"present":false},{"factor":"disposition","points":0,"present":true,"value":"routine"}],"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.","disposition":"routine","estimated_readmission_percent":15.1,"formula":"mumtaz","formula_expression":"Mumtaz = age_points + primary_payer_points + elixhauser_ge_3(2) + non_alcoholic_etiology(2) + ascites(5) + hepatic_encephalopathy(4) + variceal_bleeding(-7) + hepatocellular_carcinoma(3) + paracentesis(4) + hemodialysis(7) + disposition_points; Mumtaz 2019; age 18-39 7, 40-64 4, >=65 0; medicare 4, medicaid 5, private 0, self_pay -3, other -1; disposition routine 0, transfer -1, home_health 1, ama 10; range -11 to 49; estimated_readmission_percent is the published score-to-probability mapping; readmission_band low <20% (score -11 to 6), medium 20-30% (7 to 17), high >30% (18 to 49)","max_score":49,"min_score":-11,"primary_payer":"private","readmission_band":"low","score":0}],"path":"/api/calc/mumtaz"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Mumtaz 2019: 18-39 → +7; 40-64 → +4; ≥65 → 0. Adult derivation.","type":"integer"},"ascites":{"description":"Caller-assigned ascites on the index admission (Mumtaz 2019). true → +5; false → 0. magent does not examine the patient.","type":"boolean"},"disposition":{"description":"Discharge disposition (Mumtaz 2019). routine → 0; transfer → -1; home_health → +1; ama → +10. Caller-assigned; not a discharge order.","type":"string"},"elixhauser_ge_3":{"description":"Caller-assigned Elixhauser comorbidity index ≥3 (Mumtaz 2019). true → +2; false → 0. magent does not compute Elixhauser.","type":"boolean"},"hemodialysis":{"description":"Caller-assigned hemodialysis during the index admission (Mumtaz 2019). true → +7; false → 0. magent does not order dialysis.","type":"boolean"},"hepatic_encephalopathy":{"description":"Caller-assigned hepatic encephalopathy on the index admission (Mumtaz 2019). true → +4; false → 0. magent does not grade encephalopathy.","type":"boolean"},"hepatocellular_carcinoma":{"description":"Caller-assigned hepatocellular carcinoma (Mumtaz 2019). true → +3; false → 0. magent does not read imaging.","type":"boolean"},"non_alcoholic_etiology":{"description":"Caller-assigned nonalcoholic etiology of cirrhosis (Mumtaz 2019). true → +2; false → 0. magent does not assign etiology.","type":"boolean"},"paracentesis":{"description":"Caller-assigned paracentesis during the index admission (Mumtaz 2019). true → +4; false → 0. magent does not record procedures.","type":"boolean"},"primary_payer":{"description":"Primary payer (Mumtaz 2019). medicare → +4; medicaid → +5; private → 0; self_pay → -3; other → -1. Caller-assigned; magent does not read insurance.","type":"string"},"variceal_bleeding":{"description":"Caller-assigned variceal bleeding on the index admission (Mumtaz 2019). true → -7; false → 0. magent does not diagnose bleeding.","type":"boolean"}},"required":["age","primary_payer","elixhauser_ge_3","non_alcoholic_etiology","ascites","hepatic_encephalopathy","variceal_bleeding","hepatocellular_carcinoma","paracentesis","hemodialysis","disposition"],"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":["mumtaz","cirrhosis","readmission","liver","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:31:32.181Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:31:31.956Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"ascites":false,"disposition":"routine","elixhauser_ge_3":false,"hemodialysis":false,"hepatic_encephalopathy":false,"hepatocellular_carcinoma":false,"non_alcoholic_etiology":false,"paracentesis":false,"primary_payer":"private","variceal_bleeding":false},{"age":70,"ascites":false,"disposition":"routine","elixhauser_ge_3":false,"hemodialysis":false,"hepatic_encephalopathy":false,"hepatocellular_carcinoma":false,"non_alcoholic_etiology":false,"paracentesis":false,"primary_payer":"private","variceal_bleeding":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Mumtaz K, Issak A, Porter K, et al.","doi":"10.1002/hep.30274","id":"mumtaz-2019","pmid":"30218583","source":"Hepatology. 2019;70(2):630-639","title":"Validation of Risk Score in Predicting Early Readmissions in Decompensated Cirrhotic Patients: A Model Based on the Administrative Database"},"components":[{"factor":"age","points":0,"present":true,"value":70},{"factor":"primary_payer","points":0,"present":true,"value":"private"},{"factor":"elixhauser_ge_3","points":0,"present":false},{"factor":"non_alcoholic_etiology","points":0,"present":false},{"factor":"ascites","points":0,"present":false},{"factor":"hepatic_encephalopathy","points":0,"present":false},{"factor":"variceal_bleeding","points":0,"present":false},{"factor":"hepatocellular_carcinoma","points":0,"present":false},{"factor":"paracentesis","points":0,"present":false},{"factor":"hemodialysis","points":0,"present":false},{"factor":"disposition","points":0,"present":true,"value":"routine"}],"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.","disposition":"routine","estimated_readmission_percent":15.1,"formula":"mumtaz","formula_expression":"Mumtaz = age_points + primary_payer_points + elixhauser_ge_3(2) + non_alcoholic_etiology(2) + ascites(5) + hepatic_encephalopathy(4) + variceal_bleeding(-7) + hepatocellular_carcinoma(3) + paracentesis(4) + hemodialysis(7) + disposition_points; Mumtaz 2019; age 18-39 7, 40-64 4, >=65 0; medicare 4, medicaid 5, private 0, self_pay -3, other -1; disposition routine 0, transfer -1, home_health 1, ama 10; range -11 to 49; estimated_readmission_percent is the published score-to-probability mapping; readmission_band low <20% (score -11 to 6), medium 20-30% (7 to 17), high >30% (18 to 49)","max_score":49,"min_score":-11,"primary_payer":"private","readmission_band":"low","score":0},{"age_years":70,"citation":{"authors":"Mumtaz K, Issak A, Porter K, et al.","doi":"10.1002/hep.30274","id":"mumtaz-2019","pmid":"30218583","source":"Hepatology. 2019;70(2):630-639","title":"Validation of Risk Score in Predicting Early Readmissions in Decompensated Cirrhotic Patients: A Model Based on the Administrative Database"},"components":[{"factor":"age","points":0,"present":true,"value":70},{"factor":"primary_payer","points":0,"present":true,"value":"private"},{"factor":"elixhauser_ge_3","points":0,"present":false},{"factor":"non_alcoholic_etiology","points":0,"present":false},{"factor":"ascites","points":0,"present":false},{"factor":"hepatic_encephalopathy","points":0,"present":false},{"factor":"variceal_bleeding","points":0,"present":false},{"factor":"hepatocellular_carcinoma","points":0,"present":false},{"factor":"paracentesis","points":0,"present":false},{"factor":"hemodialysis","points":0,"present":false},{"factor":"disposition","points":0,"present":true,"value":"routine"}],"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.","disposition":"routine","estimated_readmission_percent":15.1,"formula":"mumtaz","formula_expression":"Mumtaz = age_points + primary_payer_points + elixhauser_ge_3(2) + non_alcoholic_etiology(2) + ascites(5) + hepatic_encephalopathy(4) + variceal_bleeding(-7) + hepatocellular_carcinoma(3) + paracentesis(4) + hemodialysis(7) + disposition_points; Mumtaz 2019; age 18-39 7, 40-64 4, >=65 0; medicare 4, medicaid 5, private 0, self_pay -3, other -1; disposition routine 0, transfer -1, home_health 1, ama 10; range -11 to 49; estimated_readmission_percent is the published score-to-probability mapping; readmission_band low <20% (score -11 to 6), medium 20-30% (7 to 17), high >30% (18 to 49)","max_score":49,"min_score":-11,"primary_payer":"private","readmission_band":"low","score":0}],"path":"/api/calc/mumtaz"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Mumtaz 2019: 18-39 → +7; 40-64 → +4; ≥65 → 0. Adult derivation.","type":"integer"},"ascites":{"description":"Caller-assigned ascites on the index admission (Mumtaz 2019). true → +5; false → 0. magent does not examine the patient.","type":"boolean"},"disposition":{"description":"Discharge disposition (Mumtaz 2019). routine → 0; transfer → -1; home_health → +1; ama → +10. Caller-assigned; not a discharge order.","type":"string"},"elixhauser_ge_3":{"description":"Caller-assigned Elixhauser comorbidity index ≥3 (Mumtaz 2019). true → +2; false → 0. magent does not compute Elixhauser.","type":"boolean"},"hemodialysis":{"description":"Caller-assigned hemodialysis during the index admission (Mumtaz 2019). true → +7; false → 0. magent does not order dialysis.","type":"boolean"},"hepatic_encephalopathy":{"description":"Caller-assigned hepatic encephalopathy on the index admission (Mumtaz 2019). true → +4; false → 0. magent does not grade encephalopathy.","type":"boolean"},"hepatocellular_carcinoma":{"description":"Caller-assigned hepatocellular carcinoma (Mumtaz 2019). true → +3; false → 0. magent does not read imaging.","type":"boolean"},"non_alcoholic_etiology":{"description":"Caller-assigned nonalcoholic etiology of cirrhosis (Mumtaz 2019). true → +2; false → 0. magent does not assign etiology.","type":"boolean"},"paracentesis":{"description":"Caller-assigned paracentesis during the index admission (Mumtaz 2019). true → +4; false → 0. magent does not record procedures.","type":"boolean"},"primary_payer":{"description":"Primary payer (Mumtaz 2019). medicare → +4; medicaid → +5; private → 0; self_pay → -3; other → -1. Caller-assigned; magent does not read insurance.","type":"string"},"variceal_bleeding":{"description":"Caller-assigned variceal bleeding on the index admission (Mumtaz 2019). true → -7; false → 0. magent does not diagnose bleeding.","type":"boolean"}},"required":["age","primary_payer","elixhauser_ge_3","non_alcoholic_etiology","ascites","hepatic_encephalopathy","variceal_bleeding","hepatocellular_carcinoma","paracentesis","hemodialysis","disposition"],"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},{"id":39018,"slug":"39018","resource":"https://api.magentlab.com/api/calc/mulbsta","description":"Guo 2019 MuLBSTA viral pneumonia mortality score. Caller-assigned multilobular infiltrates (5), lymphocyte count ≤0.8 ×10^9/L (4), bacterial coinfection (4), exclusive smoking (never 0, former 2, current 3), hypertension (2), and age ≥60 (2). Max 20. Low 0-11, high ≥12. magent does not read imaging or assign smoking history. Not a viral-species diagnosis or treatment order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"bacterial_coinfection":false,"hypertension":false,"lymphocyte_k_ul":1.5,"multilobular_infiltrates":false,"smoking":"never"},{"age":50,"bacterial_coinfection":false,"hypertension":false,"lymphocyte_k_ul":1.5,"multilobular_infiltrates":false,"smoking":"never"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Guo L, Wei D, Zhang X, Wu Y, Li Q, Zhou M, Qu J","doi":"10.3389/fmicb.2019.02752","id":"guo-2019","pmid":"31849894","source":"Front Microbiol. 2019;10:2752","title":"Clinical Features Predicting Mortality Risk in Patients With Viral Pneumonia: The MuLBSTA Score"},"components":[{"factor":"multilobular_infiltrates","points":0,"present":false},{"factor":"lymphocyte_le_0_8","points":0,"present":false,"value":1.5},{"factor":"bacterial_coinfection","points":0,"present":false},{"factor":"smoking","points":0,"present":false,"value":"never"},{"factor":"hypertension","points":0,"present":false},{"factor":"age_ge_60","points":0,"present":false,"value":50}],"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":"mulbsta","formula_expression":"MuLBSTA = multilobular_infiltrates 5 + lymphocyte_k_ul<=0.8 4 + bacterial_coinfection 4 + smoking (never 0, former 2, current 3; exclusive) + hypertension 2 + age>=60 2; Guo 2019; max 20; low 0-11, high >=12","lymphocyte_k_ul":1.5,"max_score":20,"mulbsta_band":"low","score":0,"smoking":"never"},{"age_years":50,"citation":{"authors":"Guo L, Wei D, Zhang X, Wu Y, Li Q, Zhou M, Qu J","doi":"10.3389/fmicb.2019.02752","id":"guo-2019","pmid":"31849894","source":"Front Microbiol. 2019;10:2752","title":"Clinical Features Predicting Mortality Risk in Patients With Viral Pneumonia: The MuLBSTA Score"},"components":[{"factor":"multilobular_infiltrates","points":0,"present":false},{"factor":"lymphocyte_le_0_8","points":0,"present":false,"value":1.5},{"factor":"bacterial_coinfection","points":0,"present":false},{"factor":"smoking","points":0,"present":false,"value":"never"},{"factor":"hypertension","points":0,"present":false},{"factor":"age_ge_60","points":0,"present":false,"value":50}],"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":"mulbsta","formula_expression":"MuLBSTA = multilobular_infiltrates 5 + lymphocyte_k_ul<=0.8 4 + bacterial_coinfection 4 + smoking (never 0, former 2, current 3; exclusive) + hypertension 2 + age>=60 2; Guo 2019; max 20; low 0-11, high >=12","lymphocyte_k_ul":1.5,"max_score":20,"mulbsta_band":"low","score":0,"smoking":"never"}],"path":"/api/calc/mulbsta"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥60 scores 2 (Guo 2019). magent does not compute age.","type":"integer"},"bacterial_coinfection":{"description":"Bacterial coinfection as assigned by the caller (Guo 2019). true scores 4. magent does not diagnose coinfection.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller (Guo 2019). true scores 2. magent does not take a blood pressure.","type":"boolean"},"lymphocyte_k_ul":{"description":"Absolute lymphocyte count ×10^9/L (0.05-20). Scores 4 when ≤0.8 (Guo 2019). magent does not read a CBC.","type":"number"},"multilobular_infiltrates":{"description":"Multilobular infiltrates as assigned by the caller (Guo 2019). true scores 5. magent does not read imaging.","type":"boolean"},"smoking":{"description":"Exclusive Guo 2019 smoking status: never (0), former / quit-smoker (2), or current / acute-smoker (3). Current and former cannot both apply. Assigned by the caller; magent does not assign smoking history.","type":"string"}},"required":["age","smoking","lymphocyte_k_ul","multilobular_infiltrates","bacterial_coinfection","hypertension"],"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":["mulbsta","pneumonia","viral","mortality","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:26:31.329Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:26:31.221Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"bacterial_coinfection":false,"hypertension":false,"lymphocyte_k_ul":1.5,"multilobular_infiltrates":false,"smoking":"never"},{"age":50,"bacterial_coinfection":false,"hypertension":false,"lymphocyte_k_ul":1.5,"multilobular_infiltrates":false,"smoking":"never"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Guo L, Wei D, Zhang X, Wu Y, Li Q, Zhou M, Qu J","doi":"10.3389/fmicb.2019.02752","id":"guo-2019","pmid":"31849894","source":"Front Microbiol. 2019;10:2752","title":"Clinical Features Predicting Mortality Risk in Patients With Viral Pneumonia: The MuLBSTA Score"},"components":[{"factor":"multilobular_infiltrates","points":0,"present":false},{"factor":"lymphocyte_le_0_8","points":0,"present":false,"value":1.5},{"factor":"bacterial_coinfection","points":0,"present":false},{"factor":"smoking","points":0,"present":false,"value":"never"},{"factor":"hypertension","points":0,"present":false},{"factor":"age_ge_60","points":0,"present":false,"value":50}],"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":"mulbsta","formula_expression":"MuLBSTA = multilobular_infiltrates 5 + lymphocyte_k_ul<=0.8 4 + bacterial_coinfection 4 + smoking (never 0, former 2, current 3; exclusive) + hypertension 2 + age>=60 2; Guo 2019; max 20; low 0-11, high >=12","lymphocyte_k_ul":1.5,"max_score":20,"mulbsta_band":"low","score":0,"smoking":"never"},{"age_years":50,"citation":{"authors":"Guo L, Wei D, Zhang X, Wu Y, Li Q, Zhou M, Qu J","doi":"10.3389/fmicb.2019.02752","id":"guo-2019","pmid":"31849894","source":"Front Microbiol. 2019;10:2752","title":"Clinical Features Predicting Mortality Risk in Patients With Viral Pneumonia: The MuLBSTA Score"},"components":[{"factor":"multilobular_infiltrates","points":0,"present":false},{"factor":"lymphocyte_le_0_8","points":0,"present":false,"value":1.5},{"factor":"bacterial_coinfection","points":0,"present":false},{"factor":"smoking","points":0,"present":false,"value":"never"},{"factor":"hypertension","points":0,"present":false},{"factor":"age_ge_60","points":0,"present":false,"value":50}],"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":"mulbsta","formula_expression":"MuLBSTA = multilobular_infiltrates 5 + lymphocyte_k_ul<=0.8 4 + bacterial_coinfection 4 + smoking (never 0, former 2, current 3; exclusive) + hypertension 2 + age>=60 2; Guo 2019; max 20; low 0-11, high >=12","lymphocyte_k_ul":1.5,"max_score":20,"mulbsta_band":"low","score":0,"smoking":"never"}],"path":"/api/calc/mulbsta"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥60 scores 2 (Guo 2019). magent does not compute age.","type":"integer"},"bacterial_coinfection":{"description":"Bacterial coinfection as assigned by the caller (Guo 2019). true scores 4. magent does not diagnose coinfection.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller (Guo 2019). true scores 2. magent does not take a blood pressure.","type":"boolean"},"lymphocyte_k_ul":{"description":"Absolute lymphocyte count ×10^9/L (0.05-20). Scores 4 when ≤0.8 (Guo 2019). magent does not read a CBC.","type":"number"},"multilobular_infiltrates":{"description":"Multilobular infiltrates as assigned by the caller (Guo 2019). true scores 5. magent does not read imaging.","type":"boolean"},"smoking":{"description":"Exclusive Guo 2019 smoking status: never (0), former / quit-smoker (2), or current / acute-smoker (3). Current and former cannot both apply. Assigned by the caller; magent does not assign smoking history.","type":"string"}},"required":["age","smoking","lymphocyte_k_ul","multilobular_infiltrates","bacterial_coinfection","hypertension"],"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},{"id":39019,"slug":"39019","resource":"https://api.magentlab.com/api/calc/mtoq_4","description":"Lipton 2015 mTOQ-4 from four caller-assigned frequency items: pain-free within 2 hours, one dose keeps headache away ≥24 hours, comfortable enough to plan daily activities, in control enough to return to normal function. Each never=0, rarely=0, less_than_half=1, half_or_greater=2. Sum 0-8. Bands very_poor 0, poor 1-5, moderate 6-7, maximum 8. magent does not interview the patient. Not a diagnosis, not an abortive-drug order, not the 19-item or 6-item mTOQ.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"able_to_plan":"never","in_control":"never","pain_free_2h":"never","sustained_24h":"never"},{"able_to_plan":"never","in_control":"never","pain_free_2h":"never","sustained_24h":"never"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lipton RB, Fanning KM, Serrano D, Reed ML, Cady R, Buse DC","doi":"10.1212/WNL.0000000000001256","id":"lipton-2015","pmid":"25616416","source":"Neurology. 2015;84(7):688-695","title":"Ineffective acute treatment of episodic migraine is associated with new-onset chronic migraine"},"components":[{"factor":"pain_free_2h","points":0,"present":true,"value":"never"},{"factor":"sustained_24h","points":0,"present":true,"value":"never"},{"factor":"able_to_plan","points":0,"present":true,"value":"never"},{"factor":"in_control","points":0,"present":true,"value":"never"}],"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":"mtoq_4","formula_expression":"mTOQ-4 = pain_free_2h + sustained_24h + able_to_plan + in_control; each never=0, rarely=0, less_than_half=1, half_or_greater=2; max 8; very_poor=0, poor=1-5, moderate=6-7, maximum=8","max_score":8,"score":0,"treatment_efficacy":"very_poor"},{"citation":{"authors":"Lipton RB, Fanning KM, Serrano D, Reed ML, Cady R, Buse DC","doi":"10.1212/WNL.0000000000001256","id":"lipton-2015","pmid":"25616416","source":"Neurology. 2015;84(7):688-695","title":"Ineffective acute treatment of episodic migraine is associated with new-onset chronic migraine"},"components":[{"factor":"pain_free_2h","points":0,"present":true,"value":"never"},{"factor":"sustained_24h","points":0,"present":true,"value":"never"},{"factor":"able_to_plan","points":0,"present":true,"value":"never"},{"factor":"in_control","points":0,"present":true,"value":"never"}],"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":"mtoq_4","formula_expression":"mTOQ-4 = pain_free_2h + sustained_24h + able_to_plan + in_control; each never=0, rarely=0, less_than_half=1, half_or_greater=2; max 8; very_poor=0, poor=1-5, moderate=6-7, maximum=8","max_score":8,"score":0,"treatment_efficacy":"very_poor"}],"path":"/api/calc/mtoq_4"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"able_to_plan":{"description":"Caller-assigned Lipton 2015 mTOQ-4 item 3. Are you comfortable enough with your migraine medication to be able to plan your daily activities? never=0, rarely=0, less_than_half=1, half_or_greater=2. magent does not interview the patient.","enum":["never","rarely","less_than_half","half_or_greater"],"type":"string"},"in_control":{"description":"Caller-assigned Lipton 2015 mTOQ-4 item 4. After taking your migraine medication, do you feel in control of your migraines enough so that you feel you can return to normal function? never=0, rarely=0, less_than_half=1, half_or_greater=2. magent does not interview the patient.","enum":["never","rarely","less_than_half","half_or_greater"],"type":"string"},"pain_free_2h":{"description":"Caller-assigned Lipton 2015 mTOQ-4 item 1. After taking your migraine medication, are you pain-free within 2 hours for most attacks? never=0, rarely=0, less_than_half=1, half_or_greater=2. magent does not interview the patient.","enum":["never","rarely","less_than_half","half_or_greater"],"type":"string"},"sustained_24h":{"description":"Caller-assigned Lipton 2015 mTOQ-4 item 2. Does one dose of your migraine medication usually relieve your headache and keep it away for at least 24 hours? never=0, rarely=0, less_than_half=1, half_or_greater=2. magent does not interview the patient.","enum":["never","rarely","less_than_half","half_or_greater"],"type":"string"}},"required":["pain_free_2h","sustained_24h","able_to_plan","in_control"],"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":["mtoq-4","migraine","neurology","treatment-efficacy","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:26:30.379Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:26:30.255Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"able_to_plan":"never","in_control":"never","pain_free_2h":"never","sustained_24h":"never"},{"able_to_plan":"never","in_control":"never","pain_free_2h":"never","sustained_24h":"never"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lipton RB, Fanning KM, Serrano D, Reed ML, Cady R, Buse DC","doi":"10.1212/WNL.0000000000001256","id":"lipton-2015","pmid":"25616416","source":"Neurology. 2015;84(7):688-695","title":"Ineffective acute treatment of episodic migraine is associated with new-onset chronic migraine"},"components":[{"factor":"pain_free_2h","points":0,"present":true,"value":"never"},{"factor":"sustained_24h","points":0,"present":true,"value":"never"},{"factor":"able_to_plan","points":0,"present":true,"value":"never"},{"factor":"in_control","points":0,"present":true,"value":"never"}],"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":"mtoq_4","formula_expression":"mTOQ-4 = pain_free_2h + sustained_24h + able_to_plan + in_control; each never=0, rarely=0, less_than_half=1, half_or_greater=2; max 8; very_poor=0, poor=1-5, moderate=6-7, maximum=8","max_score":8,"score":0,"treatment_efficacy":"very_poor"},{"citation":{"authors":"Lipton RB, Fanning KM, Serrano D, Reed ML, Cady R, Buse DC","doi":"10.1212/WNL.0000000000001256","id":"lipton-2015","pmid":"25616416","source":"Neurology. 2015;84(7):688-695","title":"Ineffective acute treatment of episodic migraine is associated with new-onset chronic migraine"},"components":[{"factor":"pain_free_2h","points":0,"present":true,"value":"never"},{"factor":"sustained_24h","points":0,"present":true,"value":"never"},{"factor":"able_to_plan","points":0,"present":true,"value":"never"},{"factor":"in_control","points":0,"present":true,"value":"never"}],"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":"mtoq_4","formula_expression":"mTOQ-4 = pain_free_2h + sustained_24h + able_to_plan + in_control; each never=0, rarely=0, less_than_half=1, half_or_greater=2; max 8; very_poor=0, poor=1-5, moderate=6-7, maximum=8","max_score":8,"score":0,"treatment_efficacy":"very_poor"}],"path":"/api/calc/mtoq_4"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"able_to_plan":{"description":"Caller-assigned Lipton 2015 mTOQ-4 item 3. Are you comfortable enough with your migraine medication to be able to plan your daily activities? never=0, rarely=0, less_than_half=1, half_or_greater=2. magent does not interview the patient.","enum":["never","rarely","less_than_half","half_or_greater"],"type":"string"},"in_control":{"description":"Caller-assigned Lipton 2015 mTOQ-4 item 4. After taking your migraine medication, do you feel in control of your migraines enough so that you feel you can return to normal function? never=0, rarely=0, less_than_half=1, half_or_greater=2. magent does not interview the patient.","enum":["never","rarely","less_than_half","half_or_greater"],"type":"string"},"pain_free_2h":{"description":"Caller-assigned Lipton 2015 mTOQ-4 item 1. After taking your migraine medication, are you pain-free within 2 hours for most attacks? never=0, rarely=0, less_than_half=1, half_or_greater=2. magent does not interview the patient.","enum":["never","rarely","less_than_half","half_or_greater"],"type":"string"},"sustained_24h":{"description":"Caller-assigned Lipton 2015 mTOQ-4 item 2. Does one dose of your migraine medication usually relieve your headache and keep it away for at least 24 hours? never=0, rarely=0, less_than_half=1, half_or_greater=2. magent does not interview the patient.","enum":["never","rarely","less_than_half","half_or_greater"],"type":"string"}},"required":["pain_free_2h","sustained_24h","able_to_plan","in_control"],"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},{"id":39020,"slug":"39020","resource":"https://api.magentlab.com/api/calc/msofa","description":"Modified SOFA (mSOFA) from Grissom 2010 Table 2: SpO2/FiO2 respiration, caller-assigned scleral icterus or jaundice (0 or 3), MAP and adrenergic agents, caller-assigned GCS, and creatinine; five organs, coagulation not scored, max 19. Deterministic published score with citation; not Vincent 1996 SOFA, not qSOFA, and not a Sepsis-3 diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"dobutamine":false,"dopamine_ug_kg_min":0,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"norepinephrine_ug_kg_min":0,"scleral_icterus_or_jaundice":false,"spo2_percent":96},{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"dobutamine":false,"dopamine_ug_kg_min":0,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"norepinephrine_ug_kg_min":0,"scleral_icterus_or_jaundice":false,"spo2_percent":96}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Grissom CK, Brown SM, Kuttler KG, Boltax JP, Jones J, Jephson AR, Orme JF Jr","doi":"10.1001/dmp.2010.40","id":"grissom-2010","pmid":"21149228","source":"Disaster Med Public Health Prep. 2010;4(4):277-284","title":"A modified sequential organ failure assessment score for critical care triage"},"components":[{"factor":"respiration","points":0,"present":false,"value":457.14285714285717},{"factor":"liver","points":0,"present":false,"value":false},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"cns","points":0,"present":false,"value":15},{"factor":"renal","points":0,"present":false,"value":1}],"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":"msofa","formula_expression":"mSOFA = respiration + liver + cardiovascular + cns + renal; respiration SpO2/FiO2 >400 → 0, ≤400 → 1, ≤315 → 2, ≤235 → 3, ≤150 → 4; liver no scleral icterus or jaundice → 0, present → 3; cardiovascular, CNS (GCS), and renal (creatinine) 0-4 as SOFA; coagulation not scored; max 19","max_score":19,"score":0},{"citation":{"authors":"Grissom CK, Brown SM, Kuttler KG, Boltax JP, Jones J, Jephson AR, Orme JF Jr","doi":"10.1001/dmp.2010.40","id":"grissom-2010","pmid":"21149228","source":"Disaster Med Public Health Prep. 2010;4(4):277-284","title":"A modified sequential organ failure assessment score for critical care triage"},"components":[{"factor":"respiration","points":0,"present":false,"value":457.14285714285717},{"factor":"liver","points":0,"present":false,"value":false},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"cns","points":0,"present":false,"value":15},{"factor":"renal","points":0,"present":false,"value":1}],"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":"msofa","formula_expression":"mSOFA = respiration + liver + cardiovascular + cns + renal; respiration SpO2/FiO2 >400 → 0, ≤400 → 1, ≤315 → 2, ≤235 → 3, ≤150 → 4; liver no scleral icterus or jaundice → 0, present → 3; cardiovascular, CNS (GCS), and renal (creatinine) 0-4 as SOFA; coagulation not scored; max 19","max_score":19,"score":0}],"path":"/api/calc/msofa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_mg_dl":{"description":"Creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. <1.2 scores 0; 1.2-1.9 scores 1; 2.0-3.4 scores 2; 3.5-4.9 scores 3; ≥5.0 scores 4. Table 2 lists creatinine only (not urine output).","type":"number"},"creatinine_umol_l":{"description":"Creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.","type":"number"},"dobutamine":{"description":"Any dobutamine. true or false when provided; absent is false. true scores cardiovascular 2 unless a higher band applies.","type":"boolean"},"dopamine_ug_kg_min":{"description":"Dopamine in µg/kg·min (0-50) when provided. Absent is 0. 0 < dose ≤5 scores 2; >5 scores 3; >15 scores 4.","type":"number"},"epinephrine_ug_kg_min":{"description":"Epinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4.","type":"number"},"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent. For nasal cannula, Grissom 2010 estimated FiO2 as 0.21 + 0.03 × L/min; the caller supplies the fraction.","type":"number"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15). 15 scores 0; 13-14 scores 1; 10-12 scores 2; 6-9 scores 3; <6 scores 4.","type":"integer"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (30-180). MAP <70 scores 1 unless a higher cardiovascular band applies.","type":"number"},"norepinephrine_ug_kg_min":{"description":"Norepinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4.","type":"number"},"scleral_icterus_or_jaundice":{"description":"Scleral icterus or jaundice as assigned by the caller (Grissom 2010 Table 2). true or false. Absent scores 0; present scores 3. Not serum bilirubin. magent does not examine the patient.","type":"boolean"},"spo2_percent":{"description":"Pulse-oximeter SpO2 in percent (50-100), not a fraction. Respiration uses SpO2/FiO2: >400 scores 0; ≤400 scores 1; ≤315 scores 2; ≤235 scores 3; ≤150 scores 4 (Grissom 2010 Table 2). magent does not read a probe.","type":"number"}},"required":["spo2_percent","fio2","scleral_icterus_or_jaundice","map_mm_hg","gcs"],"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":["msofa","organ-failure","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:26:29.64Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:26:29.527Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"dobutamine":false,"dopamine_ug_kg_min":0,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"norepinephrine_ug_kg_min":0,"scleral_icterus_or_jaundice":false,"spo2_percent":96},{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"dobutamine":false,"dopamine_ug_kg_min":0,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"norepinephrine_ug_kg_min":0,"scleral_icterus_or_jaundice":false,"spo2_percent":96}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Grissom CK, Brown SM, Kuttler KG, Boltax JP, Jones J, Jephson AR, Orme JF Jr","doi":"10.1001/dmp.2010.40","id":"grissom-2010","pmid":"21149228","source":"Disaster Med Public Health Prep. 2010;4(4):277-284","title":"A modified sequential organ failure assessment score for critical care triage"},"components":[{"factor":"respiration","points":0,"present":false,"value":457.14285714285717},{"factor":"liver","points":0,"present":false,"value":false},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"cns","points":0,"present":false,"value":15},{"factor":"renal","points":0,"present":false,"value":1}],"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":"msofa","formula_expression":"mSOFA = respiration + liver + cardiovascular + cns + renal; respiration SpO2/FiO2 >400 → 0, ≤400 → 1, ≤315 → 2, ≤235 → 3, ≤150 → 4; liver no scleral icterus or jaundice → 0, present → 3; cardiovascular, CNS (GCS), and renal (creatinine) 0-4 as SOFA; coagulation not scored; max 19","max_score":19,"score":0},{"citation":{"authors":"Grissom CK, Brown SM, Kuttler KG, Boltax JP, Jones J, Jephson AR, Orme JF Jr","doi":"10.1001/dmp.2010.40","id":"grissom-2010","pmid":"21149228","source":"Disaster Med Public Health Prep. 2010;4(4):277-284","title":"A modified sequential organ failure assessment score for critical care triage"},"components":[{"factor":"respiration","points":0,"present":false,"value":457.14285714285717},{"factor":"liver","points":0,"present":false,"value":false},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"cns","points":0,"present":false,"value":15},{"factor":"renal","points":0,"present":false,"value":1}],"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":"msofa","formula_expression":"mSOFA = respiration + liver + cardiovascular + cns + renal; respiration SpO2/FiO2 >400 → 0, ≤400 → 1, ≤315 → 2, ≤235 → 3, ≤150 → 4; liver no scleral icterus or jaundice → 0, present → 3; cardiovascular, CNS (GCS), and renal (creatinine) 0-4 as SOFA; coagulation not scored; max 19","max_score":19,"score":0}],"path":"/api/calc/msofa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_mg_dl":{"description":"Creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. <1.2 scores 0; 1.2-1.9 scores 1; 2.0-3.4 scores 2; 3.5-4.9 scores 3; ≥5.0 scores 4. Table 2 lists creatinine only (not urine output).","type":"number"},"creatinine_umol_l":{"description":"Creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.","type":"number"},"dobutamine":{"description":"Any dobutamine. true or false when provided; absent is false. true scores cardiovascular 2 unless a higher band applies.","type":"boolean"},"dopamine_ug_kg_min":{"description":"Dopamine in µg/kg·min (0-50) when provided. Absent is 0. 0 < dose ≤5 scores 2; >5 scores 3; >15 scores 4.","type":"number"},"epinephrine_ug_kg_min":{"description":"Epinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4.","type":"number"},"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent. For nasal cannula, Grissom 2010 estimated FiO2 as 0.21 + 0.03 × L/min; the caller supplies the fraction.","type":"number"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15). 15 scores 0; 13-14 scores 1; 10-12 scores 2; 6-9 scores 3; <6 scores 4.","type":"integer"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (30-180). MAP <70 scores 1 unless a higher cardiovascular band applies.","type":"number"},"norepinephrine_ug_kg_min":{"description":"Norepinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4.","type":"number"},"scleral_icterus_or_jaundice":{"description":"Scleral icterus or jaundice as assigned by the caller (Grissom 2010 Table 2). true or false. Absent scores 0; present scores 3. Not serum bilirubin. magent does not examine the patient.","type":"boolean"},"spo2_percent":{"description":"Pulse-oximeter SpO2 in percent (50-100), not a fraction. Respiration uses SpO2/FiO2: >400 scores 0; ≤400 scores 1; ≤315 scores 2; ≤235 scores 3; ≤150 scores 4 (Grissom 2010 Table 2). magent does not read a probe.","type":"number"}},"required":["spo2_percent","fio2","scleral_icterus_or_jaundice","map_mm_hg","gcs"],"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},{"id":39021,"slug":"39021","resource":"https://api.magentlab.com/api/calc/mrecist","description":"Lencioni 2010 mRECIST for typical intrahepatic HCC target lesions. First-match: PD if new_lesion or a 20% or greater viable-sum increase vs nadir; else CR if arterial enhancement disappeared in all targets; else PR if a 30% or greater viable-sum decrease vs baseline; else SD. Caller-assigned flags; magent does not read imaging. Not a medical device, not a diagnosis, not RECIST 1.1, not EASL necrosis-only, not the 2019 Llovet +5 mm PD refinement, and not nontarget-only overall response.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"enhancement_disappeared":true,"new_lesion":false,"viable_sum_increase_ge_20":false,"viable_sum_reduction_ge_30":false},{"enhancement_disappeared":true,"new_lesion":false,"viable_sum_increase_ge_20":false,"viable_sum_reduction_ge_30":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lencioni R, Llovet JM","doi":"10.1055/s-0030-1247132","id":"lencioni-2010","pmid":"20175033","source":"Semin Liver Dis. 2010;30(1):52-60","title":"Modified RECIST (mRECIST) assessment for hepatocellular carcinoma"},"criteria":[{"factor":"new_lesion","met":false},{"factor":"viable_sum_increase_ge_20","met":false},{"factor":"enhancement_disappeared","met":true},{"factor":"viable_sum_reduction_ge_30","met":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":"mrecist","formula_expression":"mrecist first-match: PD if new_lesion or viable_sum_increase_ge_20; else CR if enhancement_disappeared; else PR if viable_sum_reduction_ge_30; else SD (Lencioni 2010 typical intrahepatic target lesions). Not RECIST 1.1. Not EASL necrosis-only. Not the 2019 Llovet +5 mm PD refinement. magent does not read imaging. Not a diagnosis","mrecist":"CR"},{"citation":{"authors":"Lencioni R, Llovet JM","doi":"10.1055/s-0030-1247132","id":"lencioni-2010","pmid":"20175033","source":"Semin Liver Dis. 2010;30(1):52-60","title":"Modified RECIST (mRECIST) assessment for hepatocellular carcinoma"},"criteria":[{"factor":"new_lesion","met":false},{"factor":"viable_sum_increase_ge_20","met":false},{"factor":"enhancement_disappeared","met":true},{"factor":"viable_sum_reduction_ge_30","met":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":"mrecist","formula_expression":"mrecist first-match: PD if new_lesion or viable_sum_increase_ge_20; else CR if enhancement_disappeared; else PR if viable_sum_reduction_ge_30; else SD (Lencioni 2010 typical intrahepatic target lesions). Not RECIST 1.1. Not EASL necrosis-only. Not the 2019 Llovet +5 mm PD refinement. magent does not read imaging. Not a diagnosis","mrecist":"CR"}],"path":"/api/calc/mrecist"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"enhancement_disappeared":{"description":"Disappearance of any intratumoral arterial enhancement in all target lesions, as assigned by the caller (Lencioni 2010 mRECIST CR). true or false. magent does not measure arterial-phase enhancement or read CT/MRI.","type":"boolean"},"new_lesion":{"description":"One or more new lesions as assigned by the caller (Lencioni 2010 mRECIST PD). true or false. When true, mrecist is PD regardless of enhancement or viable-sum flags. magent does not read imaging.","type":"boolean"},"viable_sum_increase_ge_20":{"description":"≥20% increase in the sum of diameters of viable (arterial-enhancing) target lesions versus nadir, as assigned by the caller (Lencioni 2010 mRECIST PD). Do not also require a 5 mm absolute increase. true or false. magent does not measure lesions.","type":"boolean"},"viable_sum_reduction_ge_30":{"description":"≥30% decrease in the sum of diameters of viable (arterial-enhancing) target lesions versus baseline, as assigned by the caller (Lencioni 2010 mRECIST PR). true or false. magent does not measure lesions.","type":"boolean"}},"required":["new_lesion","viable_sum_increase_ge_20","enhancement_disappeared","viable_sum_reduction_ge_30"],"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":["mrecist","hcc","liver","response","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:21:33.81Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:21:33.668Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"enhancement_disappeared":true,"new_lesion":false,"viable_sum_increase_ge_20":false,"viable_sum_reduction_ge_30":false},{"enhancement_disappeared":true,"new_lesion":false,"viable_sum_increase_ge_20":false,"viable_sum_reduction_ge_30":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lencioni R, Llovet JM","doi":"10.1055/s-0030-1247132","id":"lencioni-2010","pmid":"20175033","source":"Semin Liver Dis. 2010;30(1):52-60","title":"Modified RECIST (mRECIST) assessment for hepatocellular carcinoma"},"criteria":[{"factor":"new_lesion","met":false},{"factor":"viable_sum_increase_ge_20","met":false},{"factor":"enhancement_disappeared","met":true},{"factor":"viable_sum_reduction_ge_30","met":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":"mrecist","formula_expression":"mrecist first-match: PD if new_lesion or viable_sum_increase_ge_20; else CR if enhancement_disappeared; else PR if viable_sum_reduction_ge_30; else SD (Lencioni 2010 typical intrahepatic target lesions). Not RECIST 1.1. Not EASL necrosis-only. Not the 2019 Llovet +5 mm PD refinement. magent does not read imaging. Not a diagnosis","mrecist":"CR"},{"citation":{"authors":"Lencioni R, Llovet JM","doi":"10.1055/s-0030-1247132","id":"lencioni-2010","pmid":"20175033","source":"Semin Liver Dis. 2010;30(1):52-60","title":"Modified RECIST (mRECIST) assessment for hepatocellular carcinoma"},"criteria":[{"factor":"new_lesion","met":false},{"factor":"viable_sum_increase_ge_20","met":false},{"factor":"enhancement_disappeared","met":true},{"factor":"viable_sum_reduction_ge_30","met":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":"mrecist","formula_expression":"mrecist first-match: PD if new_lesion or viable_sum_increase_ge_20; else CR if enhancement_disappeared; else PR if viable_sum_reduction_ge_30; else SD (Lencioni 2010 typical intrahepatic target lesions). Not RECIST 1.1. Not EASL necrosis-only. Not the 2019 Llovet +5 mm PD refinement. magent does not read imaging. Not a diagnosis","mrecist":"CR"}],"path":"/api/calc/mrecist"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"enhancement_disappeared":{"description":"Disappearance of any intratumoral arterial enhancement in all target lesions, as assigned by the caller (Lencioni 2010 mRECIST CR). true or false. magent does not measure arterial-phase enhancement or read CT/MRI.","type":"boolean"},"new_lesion":{"description":"One or more new lesions as assigned by the caller (Lencioni 2010 mRECIST PD). true or false. When true, mrecist is PD regardless of enhancement or viable-sum flags. magent does not read imaging.","type":"boolean"},"viable_sum_increase_ge_20":{"description":"≥20% increase in the sum of diameters of viable (arterial-enhancing) target lesions versus nadir, as assigned by the caller (Lencioni 2010 mRECIST PD). Do not also require a 5 mm absolute increase. true or false. magent does not measure lesions.","type":"boolean"},"viable_sum_reduction_ge_30":{"description":"≥30% decrease in the sum of diameters of viable (arterial-enhancing) target lesions versus baseline, as assigned by the caller (Lencioni 2010 mRECIST PR). true or false. magent does not measure lesions.","type":"boolean"}},"required":["new_lesion","viable_sum_increase_ge_20","enhancement_disappeared","viable_sum_reduction_ge_30"],"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},{"id":39022,"slug":"39022","resource":"https://api.magentlab.com/api/calc/modified_sgarbossa","description":"Smith 2012 unweighted modified Sgarbossa for STEMI equivalent in LBBB. Positive if ANY of three caller-assigned flags is true: concordant ST elevation ≥1 mm in a lead with positive QRS, concordant ST depression ≥1 mm in V1–V3, or ≥1 mm discordant STE with ST/S ratio ≤ −0.25 (STE ≥25% of the preceding S-wave). Not the original Sgarbossa 1996 5/3/2 points score. Not a 5 mm discordant rule. magent does not measure the ECG. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"concordant_st_depression_v1_v3":false,"concordant_st_elevation_1mm":false,"excessive_discordant_ste_st_s_ge_0_25":false},{"concordant_st_depression_v1_v3":false,"concordant_st_elevation_1mm":false,"excessive_discordant_ste_st_s_ge_0_25":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Smith SW, Dodd KW, Henry TD, Dvorak DM, Pearce LA","doi":"10.1016/j.annemergmed.2012.07.119","id":"smith-2012","pmid":"22939607","source":"Ann Emerg Med. 2012;60(6):766-776","title":"Diagnosis of ST-elevation myocardial infarction in the presence of left bundle branch block with the ST-elevation to S-wave ratio in a modified Sgarbossa rule"},"criteria":[{"factor":"concordant_st_elevation_1mm","met":false},{"factor":"concordant_st_depression_v1_v3","met":false},{"factor":"excessive_discordant_ste_st_s_ge_0_25","met":false},{"factor":"modified_sgarbossa_any","met":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":"modified_sgarbossa","formula_expression":"modified_sgarbossa iff concordant_st_elevation_1mm or concordant_st_depression_v1_v3 or excessive_discordant_ste_st_s_ge_0_25 (Smith 2012 unweighted modified Sgarbossa; not Sgarbossa 1996 5/3/2 points; not a 5 mm discordant rule)","modified_sgarbossa":false},{"citation":{"authors":"Smith SW, Dodd KW, Henry TD, Dvorak DM, Pearce LA","doi":"10.1016/j.annemergmed.2012.07.119","id":"smith-2012","pmid":"22939607","source":"Ann Emerg Med. 2012;60(6):766-776","title":"Diagnosis of ST-elevation myocardial infarction in the presence of left bundle branch block with the ST-elevation to S-wave ratio in a modified Sgarbossa rule"},"criteria":[{"factor":"concordant_st_elevation_1mm","met":false},{"factor":"concordant_st_depression_v1_v3","met":false},{"factor":"excessive_discordant_ste_st_s_ge_0_25","met":false},{"factor":"modified_sgarbossa_any","met":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":"modified_sgarbossa","formula_expression":"modified_sgarbossa iff concordant_st_elevation_1mm or concordant_st_depression_v1_v3 or excessive_discordant_ste_st_s_ge_0_25 (Smith 2012 unweighted modified Sgarbossa; not Sgarbossa 1996 5/3/2 points; not a 5 mm discordant rule)","modified_sgarbossa":false}],"path":"/api/calc/modified_sgarbossa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"concordant_st_depression_v1_v3":{"description":"Concordant ST depression ≥1 mm in V1, V2, or V3 as assigned by the caller (Smith 2012). true or false. magent does not measure the ECG.","type":"boolean"},"concordant_st_elevation_1mm":{"description":"Concordant ST elevation ≥1 mm in a lead with a positive QRS as assigned by the caller (Smith 2012). true or false. magent does not measure the ECG.","type":"boolean"},"excessive_discordant_ste_st_s_ge_0_25":{"description":"≥1 mm discordant ST elevation with ST/S ratio ≤ −0.25 (STE ≥25% of the preceding S-wave depth) as assigned by the caller (Smith 2012). true or false. magent does not measure the ECG. Not the original Sgarbossa 1996 5 mm discordant rule.","type":"boolean"}},"required":["concordant_st_elevation_1mm","concordant_st_depression_v1_v3","excessive_discordant_ste_st_s_ge_0_25"],"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":["modified-sgarbossa","lbbb","ami","ecg","acs","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:21:32.953Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:21:32.803Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"concordant_st_depression_v1_v3":false,"concordant_st_elevation_1mm":false,"excessive_discordant_ste_st_s_ge_0_25":false},{"concordant_st_depression_v1_v3":false,"concordant_st_elevation_1mm":false,"excessive_discordant_ste_st_s_ge_0_25":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Smith SW, Dodd KW, Henry TD, Dvorak DM, Pearce LA","doi":"10.1016/j.annemergmed.2012.07.119","id":"smith-2012","pmid":"22939607","source":"Ann Emerg Med. 2012;60(6):766-776","title":"Diagnosis of ST-elevation myocardial infarction in the presence of left bundle branch block with the ST-elevation to S-wave ratio in a modified Sgarbossa rule"},"criteria":[{"factor":"concordant_st_elevation_1mm","met":false},{"factor":"concordant_st_depression_v1_v3","met":false},{"factor":"excessive_discordant_ste_st_s_ge_0_25","met":false},{"factor":"modified_sgarbossa_any","met":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":"modified_sgarbossa","formula_expression":"modified_sgarbossa iff concordant_st_elevation_1mm or concordant_st_depression_v1_v3 or excessive_discordant_ste_st_s_ge_0_25 (Smith 2012 unweighted modified Sgarbossa; not Sgarbossa 1996 5/3/2 points; not a 5 mm discordant rule)","modified_sgarbossa":false},{"citation":{"authors":"Smith SW, Dodd KW, Henry TD, Dvorak DM, Pearce LA","doi":"10.1016/j.annemergmed.2012.07.119","id":"smith-2012","pmid":"22939607","source":"Ann Emerg Med. 2012;60(6):766-776","title":"Diagnosis of ST-elevation myocardial infarction in the presence of left bundle branch block with the ST-elevation to S-wave ratio in a modified Sgarbossa rule"},"criteria":[{"factor":"concordant_st_elevation_1mm","met":false},{"factor":"concordant_st_depression_v1_v3","met":false},{"factor":"excessive_discordant_ste_st_s_ge_0_25","met":false},{"factor":"modified_sgarbossa_any","met":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":"modified_sgarbossa","formula_expression":"modified_sgarbossa iff concordant_st_elevation_1mm or concordant_st_depression_v1_v3 or excessive_discordant_ste_st_s_ge_0_25 (Smith 2012 unweighted modified Sgarbossa; not Sgarbossa 1996 5/3/2 points; not a 5 mm discordant rule)","modified_sgarbossa":false}],"path":"/api/calc/modified_sgarbossa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"concordant_st_depression_v1_v3":{"description":"Concordant ST depression ≥1 mm in V1, V2, or V3 as assigned by the caller (Smith 2012). true or false. magent does not measure the ECG.","type":"boolean"},"concordant_st_elevation_1mm":{"description":"Concordant ST elevation ≥1 mm in a lead with a positive QRS as assigned by the caller (Smith 2012). true or false. magent does not measure the ECG.","type":"boolean"},"excessive_discordant_ste_st_s_ge_0_25":{"description":"≥1 mm discordant ST elevation with ST/S ratio ≤ −0.25 (STE ≥25% of the preceding S-wave depth) as assigned by the caller (Smith 2012). true or false. magent does not measure the ECG. Not the original Sgarbossa 1996 5 mm discordant rule.","type":"boolean"}},"required":["concordant_st_elevation_1mm","concordant_st_depression_v1_v3","excessive_discordant_ste_st_s_ge_0_25"],"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},{"id":39023,"slug":"39023","resource":"https://api.magentlab.com/api/calc/modified_rankin","description":"Modified Rankin handicap grade 0-5 (van Swieten 1988) as assigned by the caller. Returns the published wording (no symptoms at all through severe disability: bedridden, incontinent, constant nursing). This 1988 scale has six grades 0-5 and does not include a dead grade. Not a diagnosis or discharge/disability-benefit protocol; magent does not interview the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"mrs":0},{"mrs":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"van Swieten JC, Koudstaal PJ, Visser MC, Schouten HJ, van Gijn J","doi":"10.1161/01.STR.19.5.604","id":"van-swieten-1988","pmid":"3363593","source":"Stroke. 1988;19(5):604-607","title":"Interobserver agreement for the assessment of handicap in stroke patients"},"components":[{"factor":"mrs","points":0,"present":true}],"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":"modified_rankin","formula_expression":"modified Rankin 0-5 as assigned by the caller; van Swieten 1988 six grades (no dead grade)","grade":"No symptoms at all","max_score":5,"mrs":0,"score":0},{"citation":{"authors":"van Swieten JC, Koudstaal PJ, Visser MC, Schouten HJ, van Gijn J","doi":"10.1161/01.STR.19.5.604","id":"van-swieten-1988","pmid":"3363593","source":"Stroke. 1988;19(5):604-607","title":"Interobserver agreement for the assessment of handicap in stroke patients"},"components":[{"factor":"mrs","points":0,"present":true}],"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":"modified_rankin","formula_expression":"modified Rankin 0-5 as assigned by the caller; van Swieten 1988 six grades (no dead grade)","grade":"No symptoms at all","max_score":5,"mrs":0,"score":0}],"path":"/api/calc/modified_rankin"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"mrs":{"description":"van Swieten 1988 modified Rankin handicap grade 0-5 as assigned by the caller (0 no symptoms at all; 1 no significant disability despite symptoms; 2 slight disability; 3 moderate disability, walks unaided; 4 moderately severe, unable to walk unaided; 5 severe, bedridden, incontinent, constant nursing). magent does not interview the patient.","type":"integer"}},"required":["mrs"],"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":["modified-rankin","stroke","mrs","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:21:31.524Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:21:31.367Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"mrs":0},{"mrs":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"van Swieten JC, Koudstaal PJ, Visser MC, Schouten HJ, van Gijn J","doi":"10.1161/01.STR.19.5.604","id":"van-swieten-1988","pmid":"3363593","source":"Stroke. 1988;19(5):604-607","title":"Interobserver agreement for the assessment of handicap in stroke patients"},"components":[{"factor":"mrs","points":0,"present":true}],"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":"modified_rankin","formula_expression":"modified Rankin 0-5 as assigned by the caller; van Swieten 1988 six grades (no dead grade)","grade":"No symptoms at all","max_score":5,"mrs":0,"score":0},{"citation":{"authors":"van Swieten JC, Koudstaal PJ, Visser MC, Schouten HJ, van Gijn J","doi":"10.1161/01.STR.19.5.604","id":"van-swieten-1988","pmid":"3363593","source":"Stroke. 1988;19(5):604-607","title":"Interobserver agreement for the assessment of handicap in stroke patients"},"components":[{"factor":"mrs","points":0,"present":true}],"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":"modified_rankin","formula_expression":"modified Rankin 0-5 as assigned by the caller; van Swieten 1988 six grades (no dead grade)","grade":"No symptoms at all","max_score":5,"mrs":0,"score":0}],"path":"/api/calc/modified_rankin"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"mrs":{"description":"van Swieten 1988 modified Rankin handicap grade 0-5 as assigned by the caller (0 no symptoms at all; 1 no significant disability despite symptoms; 2 slight disability; 3 moderate disability, walks unaided; 4 moderately severe, unable to walk unaided; 5 severe, bedridden, incontinent, constant nursing). magent does not interview the patient.","type":"integer"}},"required":["mrs"],"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},{"id":39024,"slug":"39024","resource":"https://api.magentlab.com/api/calc/modified_hoehn_yahr","description":"Goetz 2004 modified Hoehn and Yahr stage (Table 1). Caller-assigned tokens 1.0, 1.5, 2.0, 2.5, 3.0, 4.0, or 5.0 with the published description. No stage 0. Not the original integer-only 1-5 scale, not UPDRS, not a diagnosis, and not an outcome measure. magent does not examine the patient. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hy_stage":"1.0"},{"hy_stage":"1.0"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Goetz CG, Poewe W, Rascol O, Sampaio C, Stebbins GT, Counsell C, Giladi N, Holloway RG, Moore CG, Wenning GK, Yahr MD","doi":"10.1002/mds.20213","id":"goetz-2004","pmid":"15372591","source":"Mov Disord. 2004;19(9):1020-1028","title":"Movement Disorder Society Task Force report on the Hoehn and Yahr staging scale: status and recommendations"},"components":[{"factor":"stage_1_0","met":true},{"factor":"stage_1_5","met":false},{"factor":"stage_2_0","met":false},{"factor":"stage_2_5","met":false},{"factor":"stage_3_0","met":false},{"factor":"stage_4_0","met":false},{"factor":"stage_5_0","met":false}],"description":"Unilateral involvement only","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":"modified_hoehn_yahr","formula_expression":"hy_stage in {1.0, 1.5, 2.0, 2.5, 3.0, 4.0, 5.0} as assigned by the caller (Goetz 2004 Table 1 modified Hoehn and Yahr). No stage 0. Not the original integer-only 1-5 scale. Not UPDRS. Not a diagnosis. Not an outcome measure.","hy_stage":"1.0"},{"citation":{"authors":"Goetz CG, Poewe W, Rascol O, Sampaio C, Stebbins GT, Counsell C, Giladi N, Holloway RG, Moore CG, Wenning GK, Yahr MD","doi":"10.1002/mds.20213","id":"goetz-2004","pmid":"15372591","source":"Mov Disord. 2004;19(9):1020-1028","title":"Movement Disorder Society Task Force report on the Hoehn and Yahr staging scale: status and recommendations"},"components":[{"factor":"stage_1_0","met":true},{"factor":"stage_1_5","met":false},{"factor":"stage_2_0","met":false},{"factor":"stage_2_5","met":false},{"factor":"stage_3_0","met":false},{"factor":"stage_4_0","met":false},{"factor":"stage_5_0","met":false}],"description":"Unilateral involvement only","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":"modified_hoehn_yahr","formula_expression":"hy_stage in {1.0, 1.5, 2.0, 2.5, 3.0, 4.0, 5.0} as assigned by the caller (Goetz 2004 Table 1 modified Hoehn and Yahr). No stage 0. Not the original integer-only 1-5 scale. Not UPDRS. Not a diagnosis. Not an outcome measure.","hy_stage":"1.0"}],"path":"/api/calc/modified_hoehn_yahr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hy_stage":{"description":"Goetz 2004 Table 1 modified Hoehn and Yahr stage as assigned by the caller: 1.0, 1.5, 2.0, 2.5, 3.0, 4.0, or 5.0 (exact tokens; reject 1, 3, 0, 0.5, 2.5.0). 1.0 unilateral only; 1.5 unilateral and axial; 2.0 bilateral without impairment of balance; 2.5 mild bilateral with recovery on pull test; 3.0 mild to moderate bilateral with some postural instability, physically independent; 4.0 severe disability, still able to walk or stand unassisted; 5.0 wheelchair bound or bedridden unless aided. No stage 0. Not the original integer-only 1-5 scale. Not UPDRS. magent does not examine the patient.","type":"string"}},"required":["hy_stage"],"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":["hoehn-yahr","parkinson","neurology","staging","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:16:25.466Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:16:25.342Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hy_stage":"1.0"},{"hy_stage":"1.0"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Goetz CG, Poewe W, Rascol O, Sampaio C, Stebbins GT, Counsell C, Giladi N, Holloway RG, Moore CG, Wenning GK, Yahr MD","doi":"10.1002/mds.20213","id":"goetz-2004","pmid":"15372591","source":"Mov Disord. 2004;19(9):1020-1028","title":"Movement Disorder Society Task Force report on the Hoehn and Yahr staging scale: status and recommendations"},"components":[{"factor":"stage_1_0","met":true},{"factor":"stage_1_5","met":false},{"factor":"stage_2_0","met":false},{"factor":"stage_2_5","met":false},{"factor":"stage_3_0","met":false},{"factor":"stage_4_0","met":false},{"factor":"stage_5_0","met":false}],"description":"Unilateral involvement only","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":"modified_hoehn_yahr","formula_expression":"hy_stage in {1.0, 1.5, 2.0, 2.5, 3.0, 4.0, 5.0} as assigned by the caller (Goetz 2004 Table 1 modified Hoehn and Yahr). No stage 0. Not the original integer-only 1-5 scale. Not UPDRS. Not a diagnosis. Not an outcome measure.","hy_stage":"1.0"},{"citation":{"authors":"Goetz CG, Poewe W, Rascol O, Sampaio C, Stebbins GT, Counsell C, Giladi N, Holloway RG, Moore CG, Wenning GK, Yahr MD","doi":"10.1002/mds.20213","id":"goetz-2004","pmid":"15372591","source":"Mov Disord. 2004;19(9):1020-1028","title":"Movement Disorder Society Task Force report on the Hoehn and Yahr staging scale: status and recommendations"},"components":[{"factor":"stage_1_0","met":true},{"factor":"stage_1_5","met":false},{"factor":"stage_2_0","met":false},{"factor":"stage_2_5","met":false},{"factor":"stage_3_0","met":false},{"factor":"stage_4_0","met":false},{"factor":"stage_5_0","met":false}],"description":"Unilateral involvement only","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":"modified_hoehn_yahr","formula_expression":"hy_stage in {1.0, 1.5, 2.0, 2.5, 3.0, 4.0, 5.0} as assigned by the caller (Goetz 2004 Table 1 modified Hoehn and Yahr). No stage 0. Not the original integer-only 1-5 scale. Not UPDRS. Not a diagnosis. Not an outcome measure.","hy_stage":"1.0"}],"path":"/api/calc/modified_hoehn_yahr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hy_stage":{"description":"Goetz 2004 Table 1 modified Hoehn and Yahr stage as assigned by the caller: 1.0, 1.5, 2.0, 2.5, 3.0, 4.0, or 5.0 (exact tokens; reject 1, 3, 0, 0.5, 2.5.0). 1.0 unilateral only; 1.5 unilateral and axial; 2.0 bilateral without impairment of balance; 2.5 mild bilateral with recovery on pull test; 3.0 mild to moderate bilateral with some postural instability, physically independent; 4.0 severe disability, still able to walk or stand unassisted; 5.0 wheelchair bound or bedridden unless aided. No stage 0. Not the original integer-only 1-5 scale. Not UPDRS. magent does not examine the patient.","type":"string"}},"required":["hy_stage"],"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},{"id":39025,"slug":"39025","resource":"https://api.magentlab.com/api/calc/mminds","description":"DeCarolis 2007 MINDS (Minnesota Detoxification Scale) 0-46: pulse and diastolic BP lt_90/90_to_110/gt_110 → 0/1/2; tremor and sweat 0/2/4/6; hallucinations 0-3; agitation 0/3/6/9; orientation 0/2/4/6 (intubated 0); delusions and seizures 6 if true. magent publishes those DeCarolis 2007 weights, not a RASS modification, and does not examine the patient. Not a benzodiazepine order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"agitation":"normal","delusions":false,"diastolic_bp":"lt_90","hallucinations":"absent","orientation":"x3","pulse":"lt_90","seizures":false,"sweat":"absent","tremor":"absent"},{"agitation":"normal","delusions":false,"diastolic_bp":"lt_90","hallucinations":"absent","orientation":"x3","pulse":"lt_90","seizures":false,"sweat":"absent","tremor":"absent"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"DeCarolis DD, Rice KL, Ho L, Willenbring ML, Stock CJ","doi":"10.1592/phco.27.4.510","id":"decarolis-2007-minds","pmid":"17381377","source":"Pharmacotherapy. 2007;27(4):510-518","title":"Symptom-driven lorazepam protocol for treatment of severe alcohol withdrawal delirium in the intensive care unit"},"components":[{"factor":"pulse","points":0,"present":true,"value":"lt_90"},{"factor":"diastolic_bp","points":0,"present":true,"value":"lt_90"},{"factor":"tremor","points":0,"present":true,"value":"absent"},{"factor":"sweat","points":0,"present":true,"value":"absent"},{"factor":"hallucinations","points":0,"present":true,"value":"absent"},{"factor":"agitation","points":0,"present":true,"value":"normal"},{"factor":"orientation","points":0,"present":true,"value":"x3"},{"factor":"delusions","points":0,"present":false,"value":false},{"factor":"seizures","points":0,"present":false,"value":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":"mminds","formula_expression":"MINDS = pulse (lt_90 0, 90_to_110 1, gt_110 2) + diastolic_bp (lt_90 0, 90_to_110 1, gt_110 2) + tremor (absent 0, visible 2, moderate 4, severe 6) + sweat (absent 0, moist_palms 2, beads 4, drenching 6) + hallucinations (absent 0, mild 1, moderate_intermittent 2, severe_continuous 3) + agitation (normal 0, somewhat_greater 3, moderately_fidgety 6, pacing_thrashing 9) + orientation (x3 0, x2 2, x1 4, disoriented 6, intubated 0) + delusions (true 6) + seizures (true 6); DeCarolis 2007 Minnesota Detoxification Scale; max 46; not a RASS modification; no published total-score severity or lorazepam-dose bands","max_score":46,"score":0},{"citation":{"authors":"DeCarolis DD, Rice KL, Ho L, Willenbring ML, Stock CJ","doi":"10.1592/phco.27.4.510","id":"decarolis-2007-minds","pmid":"17381377","source":"Pharmacotherapy. 2007;27(4):510-518","title":"Symptom-driven lorazepam protocol for treatment of severe alcohol withdrawal delirium in the intensive care unit"},"components":[{"factor":"pulse","points":0,"present":true,"value":"lt_90"},{"factor":"diastolic_bp","points":0,"present":true,"value":"lt_90"},{"factor":"tremor","points":0,"present":true,"value":"absent"},{"factor":"sweat","points":0,"present":true,"value":"absent"},{"factor":"hallucinations","points":0,"present":true,"value":"absent"},{"factor":"agitation","points":0,"present":true,"value":"normal"},{"factor":"orientation","points":0,"present":true,"value":"x3"},{"factor":"delusions","points":0,"present":false,"value":false},{"factor":"seizures","points":0,"present":false,"value":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":"mminds","formula_expression":"MINDS = pulse (lt_90 0, 90_to_110 1, gt_110 2) + diastolic_bp (lt_90 0, 90_to_110 1, gt_110 2) + tremor (absent 0, visible 2, moderate 4, severe 6) + sweat (absent 0, moist_palms 2, beads 4, drenching 6) + hallucinations (absent 0, mild 1, moderate_intermittent 2, severe_continuous 3) + agitation (normal 0, somewhat_greater 3, moderately_fidgety 6, pacing_thrashing 9) + orientation (x3 0, x2 2, x1 4, disoriented 6, intubated 0) + delusions (true 6) + seizures (true 6); DeCarolis 2007 Minnesota Detoxification Scale; max 46; not a RASS modification; no published total-score severity or lorazepam-dose bands","max_score":46,"score":0}],"path":"/api/calc/mminds"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"agitation":{"description":"Caller-assigned DeCarolis 2007 agitation: normal (0), somewhat_greater (3), moderately_fidgety (6), or pacing_thrashing (9). Not a RASS item. magent does not examine the patient.","enum":["normal","somewhat_greater","moderately_fidgety","pacing_thrashing"],"type":"string"},"delusions":{"description":"Caller-assigned DeCarolis 2007 delusions. true scores 6. magent does not examine the patient.","type":"boolean"},"diastolic_bp":{"description":"Caller-assigned DeCarolis 2007 diastolic blood-pressure band: lt_90 (0; DBP <90), 90_to_110 (1), or gt_110 (2; DBP >110). magent does not measure blood pressure.","enum":["lt_90","90_to_110","gt_110"],"type":"string"},"hallucinations":{"description":"Caller-assigned DeCarolis 2007 hallucinations: absent (0), mild (1), moderate_intermittent (2), or severe_continuous (3). magent does not examine the patient.","enum":["absent","mild","moderate_intermittent","severe_continuous"],"type":"string"},"orientation":{"description":"Caller-assigned DeCarolis 2007 orientation: x3 (0), x2 (2), x1 (4), disoriented (6), or intubated (0). magent does not examine the patient.","enum":["x3","x2","x1","disoriented","intubated"],"type":"string"},"pulse":{"description":"Caller-assigned DeCarolis 2007 pulse band: lt_90 (0; pulse <90), 90_to_110 (1), or gt_110 (2; pulse >110). magent does not measure pulse.","enum":["lt_90","90_to_110","gt_110"],"type":"string"},"seizures":{"description":"Caller-assigned DeCarolis 2007 seizures. true scores 6. magent does not examine the patient.","type":"boolean"},"sweat":{"description":"Caller-assigned DeCarolis 2007 sweat: absent (0), moist_palms (2), beads (4), or drenching (6). magent does not examine the patient.","enum":["absent","moist_palms","beads","drenching"],"type":"string"},"tremor":{"description":"Caller-assigned DeCarolis 2007 tremor: absent (0), visible (2), moderate (4), or severe (6). magent does not examine the patient.","enum":["absent","visible","moderate","severe"],"type":"string"}},"required":["pulse","diastolic_bp","tremor","sweat","hallucinations","agitation","orientation","delusions","seizures"],"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":["mminds","minds","alcohol-withdrawal","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:16:24.603Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:16:24.441Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"agitation":"normal","delusions":false,"diastolic_bp":"lt_90","hallucinations":"absent","orientation":"x3","pulse":"lt_90","seizures":false,"sweat":"absent","tremor":"absent"},{"agitation":"normal","delusions":false,"diastolic_bp":"lt_90","hallucinations":"absent","orientation":"x3","pulse":"lt_90","seizures":false,"sweat":"absent","tremor":"absent"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"DeCarolis DD, Rice KL, Ho L, Willenbring ML, Stock CJ","doi":"10.1592/phco.27.4.510","id":"decarolis-2007-minds","pmid":"17381377","source":"Pharmacotherapy. 2007;27(4):510-518","title":"Symptom-driven lorazepam protocol for treatment of severe alcohol withdrawal delirium in the intensive care unit"},"components":[{"factor":"pulse","points":0,"present":true,"value":"lt_90"},{"factor":"diastolic_bp","points":0,"present":true,"value":"lt_90"},{"factor":"tremor","points":0,"present":true,"value":"absent"},{"factor":"sweat","points":0,"present":true,"value":"absent"},{"factor":"hallucinations","points":0,"present":true,"value":"absent"},{"factor":"agitation","points":0,"present":true,"value":"normal"},{"factor":"orientation","points":0,"present":true,"value":"x3"},{"factor":"delusions","points":0,"present":false,"value":false},{"factor":"seizures","points":0,"present":false,"value":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":"mminds","formula_expression":"MINDS = pulse (lt_90 0, 90_to_110 1, gt_110 2) + diastolic_bp (lt_90 0, 90_to_110 1, gt_110 2) + tremor (absent 0, visible 2, moderate 4, severe 6) + sweat (absent 0, moist_palms 2, beads 4, drenching 6) + hallucinations (absent 0, mild 1, moderate_intermittent 2, severe_continuous 3) + agitation (normal 0, somewhat_greater 3, moderately_fidgety 6, pacing_thrashing 9) + orientation (x3 0, x2 2, x1 4, disoriented 6, intubated 0) + delusions (true 6) + seizures (true 6); DeCarolis 2007 Minnesota Detoxification Scale; max 46; not a RASS modification; no published total-score severity or lorazepam-dose bands","max_score":46,"score":0},{"citation":{"authors":"DeCarolis DD, Rice KL, Ho L, Willenbring ML, Stock CJ","doi":"10.1592/phco.27.4.510","id":"decarolis-2007-minds","pmid":"17381377","source":"Pharmacotherapy. 2007;27(4):510-518","title":"Symptom-driven lorazepam protocol for treatment of severe alcohol withdrawal delirium in the intensive care unit"},"components":[{"factor":"pulse","points":0,"present":true,"value":"lt_90"},{"factor":"diastolic_bp","points":0,"present":true,"value":"lt_90"},{"factor":"tremor","points":0,"present":true,"value":"absent"},{"factor":"sweat","points":0,"present":true,"value":"absent"},{"factor":"hallucinations","points":0,"present":true,"value":"absent"},{"factor":"agitation","points":0,"present":true,"value":"normal"},{"factor":"orientation","points":0,"present":true,"value":"x3"},{"factor":"delusions","points":0,"present":false,"value":false},{"factor":"seizures","points":0,"present":false,"value":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":"mminds","formula_expression":"MINDS = pulse (lt_90 0, 90_to_110 1, gt_110 2) + diastolic_bp (lt_90 0, 90_to_110 1, gt_110 2) + tremor (absent 0, visible 2, moderate 4, severe 6) + sweat (absent 0, moist_palms 2, beads 4, drenching 6) + hallucinations (absent 0, mild 1, moderate_intermittent 2, severe_continuous 3) + agitation (normal 0, somewhat_greater 3, moderately_fidgety 6, pacing_thrashing 9) + orientation (x3 0, x2 2, x1 4, disoriented 6, intubated 0) + delusions (true 6) + seizures (true 6); DeCarolis 2007 Minnesota Detoxification Scale; max 46; not a RASS modification; no published total-score severity or lorazepam-dose bands","max_score":46,"score":0}],"path":"/api/calc/mminds"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"agitation":{"description":"Caller-assigned DeCarolis 2007 agitation: normal (0), somewhat_greater (3), moderately_fidgety (6), or pacing_thrashing (9). Not a RASS item. magent does not examine the patient.","enum":["normal","somewhat_greater","moderately_fidgety","pacing_thrashing"],"type":"string"},"delusions":{"description":"Caller-assigned DeCarolis 2007 delusions. true scores 6. magent does not examine the patient.","type":"boolean"},"diastolic_bp":{"description":"Caller-assigned DeCarolis 2007 diastolic blood-pressure band: lt_90 (0; DBP <90), 90_to_110 (1), or gt_110 (2; DBP >110). magent does not measure blood pressure.","enum":["lt_90","90_to_110","gt_110"],"type":"string"},"hallucinations":{"description":"Caller-assigned DeCarolis 2007 hallucinations: absent (0), mild (1), moderate_intermittent (2), or severe_continuous (3). magent does not examine the patient.","enum":["absent","mild","moderate_intermittent","severe_continuous"],"type":"string"},"orientation":{"description":"Caller-assigned DeCarolis 2007 orientation: x3 (0), x2 (2), x1 (4), disoriented (6), or intubated (0). magent does not examine the patient.","enum":["x3","x2","x1","disoriented","intubated"],"type":"string"},"pulse":{"description":"Caller-assigned DeCarolis 2007 pulse band: lt_90 (0; pulse <90), 90_to_110 (1), or gt_110 (2; pulse >110). magent does not measure pulse.","enum":["lt_90","90_to_110","gt_110"],"type":"string"},"seizures":{"description":"Caller-assigned DeCarolis 2007 seizures. true scores 6. magent does not examine the patient.","type":"boolean"},"sweat":{"description":"Caller-assigned DeCarolis 2007 sweat: absent (0), moist_palms (2), beads (4), or drenching (6). magent does not examine the patient.","enum":["absent","moist_palms","beads","drenching"],"type":"string"},"tremor":{"description":"Caller-assigned DeCarolis 2007 tremor: absent (0), visible (2), moderate (4), or severe (6). magent does not examine the patient.","enum":["absent","visible","moderate","severe"],"type":"string"}},"required":["pulse","diastolic_bp","tremor","sweat","hallucinations","agitation","orientation","delusions","seizures"],"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},{"id":39026,"slug":"39026","resource":"https://api.magentlab.com/api/calc/mirels","description":"Mirels 1989 impending pathologic fracture score. Site upper 1 / lower 2 / peritrochanteric 3. Size lt_one_third 1 / one_to_two_thirds 2 / gt_two_thirds 3. Nature blastic 1 / mixed 2 / lytic 3. Pain mild 1 / moderate 2 / functional 3 (not severe). Sum 4-12. Bands le_7 (<=7), 8, ge_9 (>=9). Not an operative order. Not SINS. magent does not read radiographs. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"nature":"blastic","pain":"mild","site":"upper","size":"lt_one_third"},{"nature":"blastic","pain":"mild","site":"upper","size":"lt_one_third"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mirels H","id":"mirels-1989","pmid":"2684463","source":"Clin Orthop Relat Res. 1989;(249):256-264","title":"Metastatic disease in long bones. A proposed scoring system for diagnosing impending pathologic fractures."},"components":[{"factor":"site","points":1,"present":true,"value":"upper"},{"factor":"size","points":1,"present":true,"value":"lt_one_third"},{"factor":"nature","points":1,"present":true,"value":"blastic"},{"factor":"pain","points":1,"present":true,"value":"mild"}],"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":"mirels","formula_expression":"Mirels = site (upper 1, lower 2, peritrochanteric 3) + size (lt_one_third 1, one_to_two_thirds 2, gt_two_thirds 3) + nature (blastic 1, mixed 2, lytic 3) + pain (mild 1, moderate 2, functional 3); Mirels 1989; sum 4-12; bands le_7 (<=7), 8, ge_9 (>=9)","max_score":12,"mirels_band":"le_7","nature":"blastic","pain":"mild","score":4,"site":"upper","size":"lt_one_third"},{"citation":{"authors":"Mirels H","id":"mirels-1989","pmid":"2684463","source":"Clin Orthop Relat Res. 1989;(249):256-264","title":"Metastatic disease in long bones. A proposed scoring system for diagnosing impending pathologic fractures."},"components":[{"factor":"site","points":1,"present":true,"value":"upper"},{"factor":"size","points":1,"present":true,"value":"lt_one_third"},{"factor":"nature","points":1,"present":true,"value":"blastic"},{"factor":"pain","points":1,"present":true,"value":"mild"}],"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":"mirels","formula_expression":"Mirels = site (upper 1, lower 2, peritrochanteric 3) + size (lt_one_third 1, one_to_two_thirds 2, gt_two_thirds 3) + nature (blastic 1, mixed 2, lytic 3) + pain (mild 1, moderate 2, functional 3); Mirels 1989; sum 4-12; bands le_7 (<=7), 8, ge_9 (>=9)","max_score":12,"mirels_band":"le_7","nature":"blastic","pain":"mild","score":4,"site":"upper","size":"lt_one_third"}],"path":"/api/calc/mirels"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"nature":{"description":"Caller-assigned lesion nature (Mirels 1989). blastic scores 1; mixed scores 2; lytic scores 3. magent does not read radiographs.","enum":["blastic","mixed","lytic"],"type":"string"},"pain":{"description":"Caller-assigned pain (Mirels 1989). mild scores 1; moderate scores 2; functional (pain that is functional) scores 3. Not severe. magent does not interview the patient.","enum":["mild","moderate","functional"],"type":"string"},"site":{"description":"Caller-assigned site (Mirels 1989). upper (upper limb) scores 1; lower (lower limb) scores 2; peritrochanteric scores 3. magent does not read radiographs.","enum":["upper","lower","peritrochanteric"],"type":"string"},"size":{"description":"Caller-assigned lesion size relative to bone diameter (Mirels 1989). lt_one_third (<1/3) scores 1; one_to_two_thirds (1/3–2/3) scores 2; gt_two_thirds (>2/3) scores 3. magent does not read radiographs.","enum":["lt_one_third","one_to_two_thirds","gt_two_thirds"],"type":"string"}},"required":["site","size","nature","pain"],"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":["mirels","pathologic-fracture","oncology","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:16:23.483Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:16:23.349Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"nature":"blastic","pain":"mild","site":"upper","size":"lt_one_third"},{"nature":"blastic","pain":"mild","site":"upper","size":"lt_one_third"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mirels H","id":"mirels-1989","pmid":"2684463","source":"Clin Orthop Relat Res. 1989;(249):256-264","title":"Metastatic disease in long bones. A proposed scoring system for diagnosing impending pathologic fractures."},"components":[{"factor":"site","points":1,"present":true,"value":"upper"},{"factor":"size","points":1,"present":true,"value":"lt_one_third"},{"factor":"nature","points":1,"present":true,"value":"blastic"},{"factor":"pain","points":1,"present":true,"value":"mild"}],"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":"mirels","formula_expression":"Mirels = site (upper 1, lower 2, peritrochanteric 3) + size (lt_one_third 1, one_to_two_thirds 2, gt_two_thirds 3) + nature (blastic 1, mixed 2, lytic 3) + pain (mild 1, moderate 2, functional 3); Mirels 1989; sum 4-12; bands le_7 (<=7), 8, ge_9 (>=9)","max_score":12,"mirels_band":"le_7","nature":"blastic","pain":"mild","score":4,"site":"upper","size":"lt_one_third"},{"citation":{"authors":"Mirels H","id":"mirels-1989","pmid":"2684463","source":"Clin Orthop Relat Res. 1989;(249):256-264","title":"Metastatic disease in long bones. A proposed scoring system for diagnosing impending pathologic fractures."},"components":[{"factor":"site","points":1,"present":true,"value":"upper"},{"factor":"size","points":1,"present":true,"value":"lt_one_third"},{"factor":"nature","points":1,"present":true,"value":"blastic"},{"factor":"pain","points":1,"present":true,"value":"mild"}],"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":"mirels","formula_expression":"Mirels = site (upper 1, lower 2, peritrochanteric 3) + size (lt_one_third 1, one_to_two_thirds 2, gt_two_thirds 3) + nature (blastic 1, mixed 2, lytic 3) + pain (mild 1, moderate 2, functional 3); Mirels 1989; sum 4-12; bands le_7 (<=7), 8, ge_9 (>=9)","max_score":12,"mirels_band":"le_7","nature":"blastic","pain":"mild","score":4,"site":"upper","size":"lt_one_third"}],"path":"/api/calc/mirels"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"nature":{"description":"Caller-assigned lesion nature (Mirels 1989). blastic scores 1; mixed scores 2; lytic scores 3. magent does not read radiographs.","enum":["blastic","mixed","lytic"],"type":"string"},"pain":{"description":"Caller-assigned pain (Mirels 1989). mild scores 1; moderate scores 2; functional (pain that is functional) scores 3. Not severe. magent does not interview the patient.","enum":["mild","moderate","functional"],"type":"string"},"site":{"description":"Caller-assigned site (Mirels 1989). upper (upper limb) scores 1; lower (lower limb) scores 2; peritrochanteric scores 3. magent does not read radiographs.","enum":["upper","lower","peritrochanteric"],"type":"string"},"size":{"description":"Caller-assigned lesion size relative to bone diameter (Mirels 1989). lt_one_third (<1/3) scores 1; one_to_two_thirds (1/3–2/3) scores 2; gt_two_thirds (>2/3) scores 3. magent does not read radiographs.","enum":["lt_one_third","one_to_two_thirds","gt_two_thirds"],"type":"string"}},"required":["site","size","nature","pain"],"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},{"id":39027,"slug":"39027","resource":"https://api.magentlab.com/api/calc/miller_esr","description":"Adult maximum normal erythrocyte sedimentation rate (mm/h, 98th percentile approximation) from age and sex (Miller 1983). Men: age/2. Women: (age + 10)/2. Deterministic published arithmetic with citation. Returns the threshold only; not a diagnosis, not a measured ESR, and not Wener 2000 CRP. magent does not measure ESR.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"sex":"male"},{"age":40,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"citation":{"authors":"Miller A, Green M, Robinson D","doi":"10.1136/bmj.286.6361.266","id":"miller-1983","pmid":"6402065","source":"Br Med J (Clin Res Ed). 1983;286(6361):266","title":"Simple rule for calculating normal erythrocyte sedimentation rate"},"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":"miller_1983","formula_expression":"men: max_normal_esr = age / 2; women: max_normal_esr = (age + 10) / 2","max_normal_esr":20,"sex":"male"},{"age":40,"citation":{"authors":"Miller A, Green M, Robinson D","doi":"10.1136/bmj.286.6361.266","id":"miller-1983","pmid":"6402065","source":"Br Med J (Clin Res Ed). 1983;286(6361):266","title":"Simple rule for calculating normal erythrocyte sedimentation rate"},"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":"miller_1983","formula_expression":"men: max_normal_esr = age / 2; women: max_normal_esr = (age + 10) / 2","max_normal_esr":20,"sex":"male"}],"path":"/api/calc/miller_esr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 20-90). Miller 1983 adult range.","type":"integer"},"sex":{"description":"Sex for the published rule (female or male).","enum":["female","male"],"type":"string"}},"required":["age","sex"],"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":["miller-esr","esr","sedimentation","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:06:30.57Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:06:30.431Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"sex":"male"},{"age":40,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"citation":{"authors":"Miller A, Green M, Robinson D","doi":"10.1136/bmj.286.6361.266","id":"miller-1983","pmid":"6402065","source":"Br Med J (Clin Res Ed). 1983;286(6361):266","title":"Simple rule for calculating normal erythrocyte sedimentation rate"},"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":"miller_1983","formula_expression":"men: max_normal_esr = age / 2; women: max_normal_esr = (age + 10) / 2","max_normal_esr":20,"sex":"male"},{"age":40,"citation":{"authors":"Miller A, Green M, Robinson D","doi":"10.1136/bmj.286.6361.266","id":"miller-1983","pmid":"6402065","source":"Br Med J (Clin Res Ed). 1983;286(6361):266","title":"Simple rule for calculating normal erythrocyte sedimentation rate"},"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":"miller_1983","formula_expression":"men: max_normal_esr = age / 2; women: max_normal_esr = (age + 10) / 2","max_normal_esr":20,"sex":"male"}],"path":"/api/calc/miller_esr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 20-90). Miller 1983 adult range.","type":"integer"},"sex":{"description":"Sex for the published rule (female or male).","enum":["female","male"],"type":"string"}},"required":["age","sex"],"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},{"id":39028,"slug":"39028","resource":"https://api.magentlab.com/api/calc/milan","description":"Mazzaferro 1996 Milan criteria for small HCC in cirrhosis: meets_milan is true iff there is no preoperative vascular invasion, no extrahepatic or lymph-node disease, and either one tumor 5 cm or less or two to three nodules each 3 cm or less. Four or more nodules fail. tumor_count and largest_cm are caller-assigned; magent does not interpret imaging. Not a medical device, not a transplant listing, and not UCSF criteria.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"extrahepatic":false,"largest_cm":5,"tumor_count":1,"vascular_invasion":false},{"extrahepatic":false,"largest_cm":5,"tumor_count":1,"vascular_invasion":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mazzaferro V, Regalia E, Doci R, Andreola S, Pulvirenti A, Bozzetti F, Montalto F, Ammatuna M, Morabito A, Gennari L","doi":"10.1056/NEJM199603143341104","id":"mazzaferro-1996","pmid":"8594428","source":"N Engl J Med. 1996;334(11):693-699","title":"Liver transplantation for the treatment of small hepatocellular carcinomas in patients with cirrhosis"},"criteria":[{"factor":"no_vascular_invasion","met":true},{"factor":"no_extrahepatic","met":true},{"factor":"size_and_count","met":true}],"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.","extrahepatic":false,"formula":"milan","formula_expression":"meets_milan iff no vascular_invasion and no extrahepatic and ((tumor_count == 1 and largest_cm <= 5) or (tumor_count in 2..3 and largest_cm <= 3))","largest_cm":5,"meets_milan":true,"tumor_count":1,"vascular_invasion":false},{"citation":{"authors":"Mazzaferro V, Regalia E, Doci R, Andreola S, Pulvirenti A, Bozzetti F, Montalto F, Ammatuna M, Morabito A, Gennari L","doi":"10.1056/NEJM199603143341104","id":"mazzaferro-1996","pmid":"8594428","source":"N Engl J Med. 1996;334(11):693-699","title":"Liver transplantation for the treatment of small hepatocellular carcinomas in patients with cirrhosis"},"criteria":[{"factor":"no_vascular_invasion","met":true},{"factor":"no_extrahepatic","met":true},{"factor":"size_and_count","met":true}],"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.","extrahepatic":false,"formula":"milan","formula_expression":"meets_milan iff no vascular_invasion and no extrahepatic and ((tumor_count == 1 and largest_cm <= 5) or (tumor_count in 2..3 and largest_cm <= 3))","largest_cm":5,"meets_milan":true,"tumor_count":1,"vascular_invasion":false}],"path":"/api/calc/milan"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"extrahepatic":{"description":"Evident or suspected extrahepatic or lymph-node disease as assigned by the caller. true fails Milan (Mazzaferro 1996 excluded extrahepatic disease). true or false. magent does not interpret imaging.","type":"boolean"},"largest_cm":{"description":"Largest tumor diameter in centimetres (0.1-30). Single tumor meets at 5.0 cm and fails at 5.1. Two or three nodules meet at 3.0 cm and fail at 3.1. magent does not interpret imaging.","type":"number"},"tumor_count":{"description":"Number of HCC nodules (integer 1-20) as assigned by the caller. A single tumor may be up to 5 cm; two or three nodules must each be 3 cm or less. Four or more nodules fail Milan. magent does not interpret imaging.","type":"integer"},"vascular_invasion":{"description":"Preoperative vascular (vessel) invasion as assigned by the caller. true fails Milan (Mazzaferro 1996 excluded preoperative vessel invasion). true or false. magent does not interpret imaging.","type":"boolean"}},"required":["tumor_count","largest_cm","vascular_invasion","extrahepatic"],"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":["milan","hcc","liver","transplant","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:06:28.838Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:06:27.326Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"extrahepatic":false,"largest_cm":5,"tumor_count":1,"vascular_invasion":false},{"extrahepatic":false,"largest_cm":5,"tumor_count":1,"vascular_invasion":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mazzaferro V, Regalia E, Doci R, Andreola S, Pulvirenti A, Bozzetti F, Montalto F, Ammatuna M, Morabito A, Gennari L","doi":"10.1056/NEJM199603143341104","id":"mazzaferro-1996","pmid":"8594428","source":"N Engl J Med. 1996;334(11):693-699","title":"Liver transplantation for the treatment of small hepatocellular carcinomas in patients with cirrhosis"},"criteria":[{"factor":"no_vascular_invasion","met":true},{"factor":"no_extrahepatic","met":true},{"factor":"size_and_count","met":true}],"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.","extrahepatic":false,"formula":"milan","formula_expression":"meets_milan iff no vascular_invasion and no extrahepatic and ((tumor_count == 1 and largest_cm <= 5) or (tumor_count in 2..3 and largest_cm <= 3))","largest_cm":5,"meets_milan":true,"tumor_count":1,"vascular_invasion":false},{"citation":{"authors":"Mazzaferro V, Regalia E, Doci R, Andreola S, Pulvirenti A, Bozzetti F, Montalto F, Ammatuna M, Morabito A, Gennari L","doi":"10.1056/NEJM199603143341104","id":"mazzaferro-1996","pmid":"8594428","source":"N Engl J Med. 1996;334(11):693-699","title":"Liver transplantation for the treatment of small hepatocellular carcinomas in patients with cirrhosis"},"criteria":[{"factor":"no_vascular_invasion","met":true},{"factor":"no_extrahepatic","met":true},{"factor":"size_and_count","met":true}],"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.","extrahepatic":false,"formula":"milan","formula_expression":"meets_milan iff no vascular_invasion and no extrahepatic and ((tumor_count == 1 and largest_cm <= 5) or (tumor_count in 2..3 and largest_cm <= 3))","largest_cm":5,"meets_milan":true,"tumor_count":1,"vascular_invasion":false}],"path":"/api/calc/milan"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"extrahepatic":{"description":"Evident or suspected extrahepatic or lymph-node disease as assigned by the caller. true fails Milan (Mazzaferro 1996 excluded extrahepatic disease). true or false. magent does not interpret imaging.","type":"boolean"},"largest_cm":{"description":"Largest tumor diameter in centimetres (0.1-30). Single tumor meets at 5.0 cm and fails at 5.1. Two or three nodules meet at 3.0 cm and fail at 3.1. magent does not interpret imaging.","type":"number"},"tumor_count":{"description":"Number of HCC nodules (integer 1-20) as assigned by the caller. A single tumor may be up to 5 cm; two or three nodules must each be 3 cm or less. Four or more nodules fail Milan. magent does not interpret imaging.","type":"integer"},"vascular_invasion":{"description":"Preoperative vascular (vessel) invasion as assigned by the caller. true fails Milan (Mazzaferro 1996 excluded preoperative vessel invasion). true or false. magent does not interpret imaging.","type":"boolean"}},"required":["tumor_count","largest_cm","vascular_invasion","extrahepatic"],"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},{"id":39029,"slug":"39029","resource":"https://api.magentlab.com/api/calc/midas","description":"Stewart 1999 MIDAS from five caller-assigned 3-month day counts: missed paid work/school, work/school ≥50% reduced, missed household work, household ≥50% reduced, missed family/social/leisure. Each 0-90; total 0-450. magent does not include questions A or B and does not assign or de-duplicate days. Grades I 0-5 little/minimal, II 6-10 mild, III 11-20 moderate, IV ≥21 severe. Not a migraine diagnosis, not a triptan/prophylaxis order, not GAD-7 or PHQ-9.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"missed_household_days":0,"missed_social_days":0,"missed_work_days":0,"reduced_household_days":0,"reduced_work_days":0},{"missed_household_days":0,"missed_social_days":0,"missed_work_days":0,"reduced_household_days":0,"reduced_work_days":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stewart WF, Lipton RB, Whyte J, Dowson A, Kolodner A, Liberman JN, Sawyer J","doi":"10.1212/wnl.53.5.988","id":"stewart-1999","pmid":"10496257","source":"Neurology. 1999;53(5):988-994","title":"An international study to assess reliability of the Migraine Disability Assessment (MIDAS) score"},"components":[{"factor":"missed_work_days","points":0,"present":true,"value":0},{"factor":"reduced_work_days","points":0,"present":true,"value":0},{"factor":"missed_household_days","points":0,"present":true,"value":0},{"factor":"reduced_household_days","points":0,"present":true,"value":0},{"factor":"missed_social_days","points":0,"present":true,"value":0}],"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":"midas","formula_expression":"MIDAS = missed_work_days + reduced_work_days + missed_household_days + reduced_household_days + missed_social_days; each caller-assigned integer 0-90 (last 3 months); max 450; magent does not include questions A or B; grades I 0-5 little/minimal, II 6-10 mild, III 11-20 moderate, IV ≥21 severe","max_score":450,"midas_grade":"I","score":0},{"citation":{"authors":"Stewart WF, Lipton RB, Whyte J, Dowson A, Kolodner A, Liberman JN, Sawyer J","doi":"10.1212/wnl.53.5.988","id":"stewart-1999","pmid":"10496257","source":"Neurology. 1999;53(5):988-994","title":"An international study to assess reliability of the Migraine Disability Assessment (MIDAS) score"},"components":[{"factor":"missed_work_days","points":0,"present":true,"value":0},{"factor":"reduced_work_days","points":0,"present":true,"value":0},{"factor":"missed_household_days","points":0,"present":true,"value":0},{"factor":"reduced_household_days","points":0,"present":true,"value":0},{"factor":"missed_social_days","points":0,"present":true,"value":0}],"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":"midas","formula_expression":"MIDAS = missed_work_days + reduced_work_days + missed_household_days + reduced_household_days + missed_social_days; each caller-assigned integer 0-90 (last 3 months); max 450; magent does not include questions A or B; grades I 0-5 little/minimal, II 6-10 mild, III 11-20 moderate, IV ≥21 severe","max_score":450,"midas_grade":"I","score":0}],"path":"/api/calc/midas"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"missed_household_days":{"description":"Caller-assigned MIDAS item 3 (integer 0-90): days household work was not done in the last 3 months. magent does not assign the count.","type":"integer"},"missed_social_days":{"description":"Caller-assigned MIDAS item 5 (integer 0-90): days of missed family, social, or leisure activities in the last 3 months. magent does not assign the count.","type":"integer"},"missed_work_days":{"description":"Caller-assigned MIDAS item 1 (integer 0-90): days of missed paid work or school in the last 3 months. magent does not assign the count.","type":"integer"},"reduced_household_days":{"description":"Caller-assigned MIDAS item 4 (integer 0-90): days household productivity was reduced by half or more in the last 3 months. Do not double-count days already in missed_household_days; the caller assigns the count. magent does not de-duplicate days.","type":"integer"},"reduced_work_days":{"description":"Caller-assigned MIDAS item 2 (integer 0-90): days work or school productivity was reduced by half or more in the last 3 months. Do not double-count days already in missed_work_days; the caller assigns the count. magent does not de-duplicate days.","type":"integer"}},"required":["missed_work_days","reduced_work_days","missed_household_days","reduced_household_days","missed_social_days"],"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":["midas","migraine","disability","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:06:25.657Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:06:25.44Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"missed_household_days":0,"missed_social_days":0,"missed_work_days":0,"reduced_household_days":0,"reduced_work_days":0},{"missed_household_days":0,"missed_social_days":0,"missed_work_days":0,"reduced_household_days":0,"reduced_work_days":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stewart WF, Lipton RB, Whyte J, Dowson A, Kolodner A, Liberman JN, Sawyer J","doi":"10.1212/wnl.53.5.988","id":"stewart-1999","pmid":"10496257","source":"Neurology. 1999;53(5):988-994","title":"An international study to assess reliability of the Migraine Disability Assessment (MIDAS) score"},"components":[{"factor":"missed_work_days","points":0,"present":true,"value":0},{"factor":"reduced_work_days","points":0,"present":true,"value":0},{"factor":"missed_household_days","points":0,"present":true,"value":0},{"factor":"reduced_household_days","points":0,"present":true,"value":0},{"factor":"missed_social_days","points":0,"present":true,"value":0}],"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":"midas","formula_expression":"MIDAS = missed_work_days + reduced_work_days + missed_household_days + reduced_household_days + missed_social_days; each caller-assigned integer 0-90 (last 3 months); max 450; magent does not include questions A or B; grades I 0-5 little/minimal, II 6-10 mild, III 11-20 moderate, IV ≥21 severe","max_score":450,"midas_grade":"I","score":0},{"citation":{"authors":"Stewart WF, Lipton RB, Whyte J, Dowson A, Kolodner A, Liberman JN, Sawyer J","doi":"10.1212/wnl.53.5.988","id":"stewart-1999","pmid":"10496257","source":"Neurology. 1999;53(5):988-994","title":"An international study to assess reliability of the Migraine Disability Assessment (MIDAS) score"},"components":[{"factor":"missed_work_days","points":0,"present":true,"value":0},{"factor":"reduced_work_days","points":0,"present":true,"value":0},{"factor":"missed_household_days","points":0,"present":true,"value":0},{"factor":"reduced_household_days","points":0,"present":true,"value":0},{"factor":"missed_social_days","points":0,"present":true,"value":0}],"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":"midas","formula_expression":"MIDAS = missed_work_days + reduced_work_days + missed_household_days + reduced_household_days + missed_social_days; each caller-assigned integer 0-90 (last 3 months); max 450; magent does not include questions A or B; grades I 0-5 little/minimal, II 6-10 mild, III 11-20 moderate, IV ≥21 severe","max_score":450,"midas_grade":"I","score":0}],"path":"/api/calc/midas"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"missed_household_days":{"description":"Caller-assigned MIDAS item 3 (integer 0-90): days household work was not done in the last 3 months. magent does not assign the count.","type":"integer"},"missed_social_days":{"description":"Caller-assigned MIDAS item 5 (integer 0-90): days of missed family, social, or leisure activities in the last 3 months. magent does not assign the count.","type":"integer"},"missed_work_days":{"description":"Caller-assigned MIDAS item 1 (integer 0-90): days of missed paid work or school in the last 3 months. magent does not assign the count.","type":"integer"},"reduced_household_days":{"description":"Caller-assigned MIDAS item 4 (integer 0-90): days household productivity was reduced by half or more in the last 3 months. Do not double-count days already in missed_household_days; the caller assigns the count. magent does not de-duplicate days.","type":"integer"},"reduced_work_days":{"description":"Caller-assigned MIDAS item 2 (integer 0-90): days work or school productivity was reduced by half or more in the last 3 months. Do not double-count days already in missed_work_days; the caller assigns the count. magent does not de-duplicate days.","type":"integer"}},"required":["missed_work_days","reduced_work_days","missed_household_days","reduced_household_days","missed_social_days"],"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},{"id":39030,"slug":"39030","resource":"https://api.magentlab.com/api/calc/michigan_picc","description":"Chopra 2017 Michigan Risk Score for PICC-associated thrombosis: another CVC at PICC placement 1, WBC >12 x10^9/L 1 (12.0 does not score), active cancer 2, PICC lumens single 0 / double 2 / triple 3 (triple includes quad), VTE history never 0 / remote 2 / within 30 days 3 (one field; do not add remote and recent). Max 10. Classes I=0 (observed 0.9%), II=1-2 (1.6%), III=3-4 (2.7%), IV=>4 (4.7% Table 4). Not a PICC order. magent does not count lumens.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"active_cancer":false,"other_cvc":false,"picc_lumens":"single","vte_history":"never","wbc_k_ul":8,"wbc_ul":8000},{"active_cancer":false,"other_cvc":false,"picc_lumens":"single","vte_history":"never","wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Chopra V, Kaatz S, Conlon A, Paje D, Grant PJ, Rogers MAM, Bernstein SJ, Saint S, Flanders SA","doi":"10.1111/jth.13794","id":"chopra-2017","pmid":"28796444","source":"J Thromb Haemost. 2017;15(10):1951-1962","title":"The Michigan Risk Score to predict peripherally inserted central catheter-associated thrombosis"},"components":[{"factor":"other_cvc","points":0,"present":false},{"factor":"wbc_gt_12","points":0,"present":false,"value":8000},{"factor":"active_cancer","points":0,"present":false},{"factor":"picc_lumens","points":0,"present":false,"value":"single"},{"factor":"vte_history","points":0,"present":false,"value":"never"}],"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":"michigan_picc","formula_expression":"Michigan PICC-DVT (Chopra 2017) = other_cvc (1) + (WBC >12 x10^9/L) (1) + active_cancer (2) + picc_lumens (single 0, double 2, triple 3; triple includes quad) + vte_history (never 0, remote 2, within_30_days 3); max 10; class I=0 (observed 0.9%), II=1-2 (1.6%), III=3-4 (2.7%), IV=>4 (4.7% Table 4)","max_score":10,"observed_vte_percent":0.9,"picc_lumens":"single","risk_class":"I","score":0,"vte_history":"never","wbc_ul":8000},{"citation":{"authors":"Chopra V, Kaatz S, Conlon A, Paje D, Grant PJ, Rogers MAM, Bernstein SJ, Saint S, Flanders SA","doi":"10.1111/jth.13794","id":"chopra-2017","pmid":"28796444","source":"J Thromb Haemost. 2017;15(10):1951-1962","title":"The Michigan Risk Score to predict peripherally inserted central catheter-associated thrombosis"},"components":[{"factor":"other_cvc","points":0,"present":false},{"factor":"wbc_gt_12","points":0,"present":false,"value":8000},{"factor":"active_cancer","points":0,"present":false},{"factor":"picc_lumens","points":0,"present":false,"value":"single"},{"factor":"vte_history","points":0,"present":false,"value":"never"}],"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":"michigan_picc","formula_expression":"Michigan PICC-DVT (Chopra 2017) = other_cvc (1) + (WBC >12 x10^9/L) (1) + active_cancer (2) + picc_lumens (single 0, double 2, triple 3; triple includes quad) + vte_history (never 0, remote 2, within_30_days 3); max 10; class I=0 (observed 0.9%), II=1-2 (1.6%), III=3-4 (2.7%), IV=>4 (4.7% Table 4)","max_score":10,"observed_vte_percent":0.9,"picc_lumens":"single","risk_class":"I","score":0,"vte_history":"never","wbc_ul":8000}],"path":"/api/calc/michigan_picc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_cancer":{"description":"Active cancer as assigned by the caller (Chopra 2017). true or false. true scores 2.","type":"boolean"},"other_cvc":{"description":"Another CVC present when the index PICC is placed, as assigned by the caller (Chopra 2017). true or false. true scores 1. magent does not count catheters.","type":"boolean"},"picc_lumens":{"description":"PICC lumen count as assigned by the caller (Chopra 2017). single scores 0; double scores 2; triple scores 3. triple includes quad as published. magent does not count lumens.","enum":["single","double","triple"],"type":"string"},"vte_history":{"description":"One 3-tier VTE history field (Chopra 2017). never scores 0; remote (prior VTE beyond 30 days) scores 2; within_30_days scores 3. Do not add remote and recent.","enum":["never","remote","within_30_days"],"type":"string"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L) at PICC insertion. Provide wbc_k_ul or wbc_ul. Range 0.01-500. >12 scores 1 (12.0 does not).","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3) at PICC insertion. Provide wbc_k_ul or wbc_ul. Range 10-500000. >12000 scores 1 (12000 does not; 12001 does).","type":"number"}},"required":["other_cvc","active_cancer","picc_lumens","vte_history"],"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":["michigan-picc","picc","thrombosis","vte","score","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:01:18.23Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:01:18.119Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"active_cancer":false,"other_cvc":false,"picc_lumens":"single","vte_history":"never","wbc_k_ul":8,"wbc_ul":8000},{"active_cancer":false,"other_cvc":false,"picc_lumens":"single","vte_history":"never","wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Chopra V, Kaatz S, Conlon A, Paje D, Grant PJ, Rogers MAM, Bernstein SJ, Saint S, Flanders SA","doi":"10.1111/jth.13794","id":"chopra-2017","pmid":"28796444","source":"J Thromb Haemost. 2017;15(10):1951-1962","title":"The Michigan Risk Score to predict peripherally inserted central catheter-associated thrombosis"},"components":[{"factor":"other_cvc","points":0,"present":false},{"factor":"wbc_gt_12","points":0,"present":false,"value":8000},{"factor":"active_cancer","points":0,"present":false},{"factor":"picc_lumens","points":0,"present":false,"value":"single"},{"factor":"vte_history","points":0,"present":false,"value":"never"}],"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":"michigan_picc","formula_expression":"Michigan PICC-DVT (Chopra 2017) = other_cvc (1) + (WBC >12 x10^9/L) (1) + active_cancer (2) + picc_lumens (single 0, double 2, triple 3; triple includes quad) + vte_history (never 0, remote 2, within_30_days 3); max 10; class I=0 (observed 0.9%), II=1-2 (1.6%), III=3-4 (2.7%), IV=>4 (4.7% Table 4)","max_score":10,"observed_vte_percent":0.9,"picc_lumens":"single","risk_class":"I","score":0,"vte_history":"never","wbc_ul":8000},{"citation":{"authors":"Chopra V, Kaatz S, Conlon A, Paje D, Grant PJ, Rogers MAM, Bernstein SJ, Saint S, Flanders SA","doi":"10.1111/jth.13794","id":"chopra-2017","pmid":"28796444","source":"J Thromb Haemost. 2017;15(10):1951-1962","title":"The Michigan Risk Score to predict peripherally inserted central catheter-associated thrombosis"},"components":[{"factor":"other_cvc","points":0,"present":false},{"factor":"wbc_gt_12","points":0,"present":false,"value":8000},{"factor":"active_cancer","points":0,"present":false},{"factor":"picc_lumens","points":0,"present":false,"value":"single"},{"factor":"vte_history","points":0,"present":false,"value":"never"}],"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":"michigan_picc","formula_expression":"Michigan PICC-DVT (Chopra 2017) = other_cvc (1) + (WBC >12 x10^9/L) (1) + active_cancer (2) + picc_lumens (single 0, double 2, triple 3; triple includes quad) + vte_history (never 0, remote 2, within_30_days 3); max 10; class I=0 (observed 0.9%), II=1-2 (1.6%), III=3-4 (2.7%), IV=>4 (4.7% Table 4)","max_score":10,"observed_vte_percent":0.9,"picc_lumens":"single","risk_class":"I","score":0,"vte_history":"never","wbc_ul":8000}],"path":"/api/calc/michigan_picc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_cancer":{"description":"Active cancer as assigned by the caller (Chopra 2017). true or false. true scores 2.","type":"boolean"},"other_cvc":{"description":"Another CVC present when the index PICC is placed, as assigned by the caller (Chopra 2017). true or false. true scores 1. magent does not count catheters.","type":"boolean"},"picc_lumens":{"description":"PICC lumen count as assigned by the caller (Chopra 2017). single scores 0; double scores 2; triple scores 3. triple includes quad as published. magent does not count lumens.","enum":["single","double","triple"],"type":"string"},"vte_history":{"description":"One 3-tier VTE history field (Chopra 2017). never scores 0; remote (prior VTE beyond 30 days) scores 2; within_30_days scores 3. Do not add remote and recent.","enum":["never","remote","within_30_days"],"type":"string"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L) at PICC insertion. Provide wbc_k_ul or wbc_ul. Range 0.01-500. >12 scores 1 (12.0 does not).","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3) at PICC insertion. Provide wbc_k_ul or wbc_ul. Range 10-500000. >12000 scores 1 (12000 does not; 12001 does).","type":"number"}},"required":["other_cvc","active_cancer","picc_lumens","vte_history"],"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},{"id":39031,"slug":"39031","resource":"https://api.magentlab.com/api/calc/mhs","description":"Marburg Heart Score (Bösner 2010 Table 3): five 1-point determinants (age/sex, known vascular disease, patient assumes cardiac origin, pain worse with exercise, pain not reproducible by palpation), max 5. Returns the published discrimination cut-off: positive (3-5) or negative (<=2). Primary-care chest-pain rule only; not an ED ACS rule-out, diagnosis, or admission order. magent does not interview the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"assumes_cardiac_origin":false,"known_vascular_disease":false,"pain_not_reproducible":false,"pain_worse_exercise":false,"sex":"female"},{"age":40,"assumes_cardiac_origin":false,"known_vascular_disease":false,"pain_not_reproducible":false,"pain_worse_exercise":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Bösner S, Haasenritter J, Becker A, Karatolios K, Vaucher P, Gencer B, Herzig L, Heinzel-Gutenbrunner M, Schaefer JR, Abu Hani M, Keller H, Sönnichsen AC, Baum E, Donner-Banzhoff N","doi":"10.1503/cmaj.100212","id":"bosner-2010","pmid":"20603345","source":"CMAJ. 2010;182(12):1295-1300","title":"Ruling out coronary artery disease in primary care: development and validation of a simple prediction rule"},"components":[{"factor":"age_sex","points":0,"present":false,"value":40},{"factor":"known_vascular_disease","points":0,"present":false},{"factor":"assumes_cardiac_origin","points":0,"present":false},{"factor":"pain_worse_exercise","points":0,"present":false},{"factor":"pain_not_reproducible","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":"mhs","formula_expression":"MHS = age_sex (female ≥65 or male ≥55) + known_vascular_disease + assumes_cardiac_origin + pain_worse_exercise + pain_not_reproducible; each 1; max 5; positive 3–5, negative ≤2 (Bösner 2010 Table 3)","max_score":5,"mhs_result":"negative","score":0,"sex":"female"},{"age_years":40,"citation":{"authors":"Bösner S, Haasenritter J, Becker A, Karatolios K, Vaucher P, Gencer B, Herzig L, Heinzel-Gutenbrunner M, Schaefer JR, Abu Hani M, Keller H, Sönnichsen AC, Baum E, Donner-Banzhoff N","doi":"10.1503/cmaj.100212","id":"bosner-2010","pmid":"20603345","source":"CMAJ. 2010;182(12):1295-1300","title":"Ruling out coronary artery disease in primary care: development and validation of a simple prediction rule"},"components":[{"factor":"age_sex","points":0,"present":false,"value":40},{"factor":"known_vascular_disease","points":0,"present":false},{"factor":"assumes_cardiac_origin","points":0,"present":false},{"factor":"pain_worse_exercise","points":0,"present":false},{"factor":"pain_not_reproducible","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":"mhs","formula_expression":"MHS = age_sex (female ≥65 or male ≥55) + known_vascular_disease + assumes_cardiac_origin + pain_worse_exercise + pain_not_reproducible; each 1; max 5; positive 3–5, negative ≤2 (Bösner 2010 Table 3)","max_score":5,"mhs_result":"negative","score":0,"sex":"female"}],"path":"/api/calc/mhs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Combined with sex: female ≥65 or male ≥55 scores 1 (Bösner 2010 Table 3). magent computes this; do not send a precomputed flag.","type":"integer"},"assumes_cardiac_origin":{"description":"Patient assumes the pain is of cardiac origin (Bösner 2010). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"known_vascular_disease":{"description":"Known clinical vascular disease: coronary, cerebrovascular, or peripheral (Bösner 2010). true or false as assigned by the caller.","type":"boolean"},"pain_not_reproducible":{"description":"Pain is not reproducible by palpation (Bösner 2010). true when that published finding is present; false if pain is reproducible. Assigned by the caller.","type":"boolean"},"pain_worse_exercise":{"description":"Pain worse with exercise (Bösner 2010). true or false as assigned by the caller.","type":"boolean"},"sex":{"description":"female or male. Combined with age: female ≥65 or male ≥55 scores 1 (Bösner 2010 Table 3).","enum":["female","male"],"type":"string"}},"required":["age","sex","known_vascular_disease","assumes_cardiac_origin","pain_worse_exercise","pain_not_reproducible"],"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":["mhs","acs","chest-pain","primary-care","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:01:17.403Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:01:17.282Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"assumes_cardiac_origin":false,"known_vascular_disease":false,"pain_not_reproducible":false,"pain_worse_exercise":false,"sex":"female"},{"age":40,"assumes_cardiac_origin":false,"known_vascular_disease":false,"pain_not_reproducible":false,"pain_worse_exercise":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Bösner S, Haasenritter J, Becker A, Karatolios K, Vaucher P, Gencer B, Herzig L, Heinzel-Gutenbrunner M, Schaefer JR, Abu Hani M, Keller H, Sönnichsen AC, Baum E, Donner-Banzhoff N","doi":"10.1503/cmaj.100212","id":"bosner-2010","pmid":"20603345","source":"CMAJ. 2010;182(12):1295-1300","title":"Ruling out coronary artery disease in primary care: development and validation of a simple prediction rule"},"components":[{"factor":"age_sex","points":0,"present":false,"value":40},{"factor":"known_vascular_disease","points":0,"present":false},{"factor":"assumes_cardiac_origin","points":0,"present":false},{"factor":"pain_worse_exercise","points":0,"present":false},{"factor":"pain_not_reproducible","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":"mhs","formula_expression":"MHS = age_sex (female ≥65 or male ≥55) + known_vascular_disease + assumes_cardiac_origin + pain_worse_exercise + pain_not_reproducible; each 1; max 5; positive 3–5, negative ≤2 (Bösner 2010 Table 3)","max_score":5,"mhs_result":"negative","score":0,"sex":"female"},{"age_years":40,"citation":{"authors":"Bösner S, Haasenritter J, Becker A, Karatolios K, Vaucher P, Gencer B, Herzig L, Heinzel-Gutenbrunner M, Schaefer JR, Abu Hani M, Keller H, Sönnichsen AC, Baum E, Donner-Banzhoff N","doi":"10.1503/cmaj.100212","id":"bosner-2010","pmid":"20603345","source":"CMAJ. 2010;182(12):1295-1300","title":"Ruling out coronary artery disease in primary care: development and validation of a simple prediction rule"},"components":[{"factor":"age_sex","points":0,"present":false,"value":40},{"factor":"known_vascular_disease","points":0,"present":false},{"factor":"assumes_cardiac_origin","points":0,"present":false},{"factor":"pain_worse_exercise","points":0,"present":false},{"factor":"pain_not_reproducible","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":"mhs","formula_expression":"MHS = age_sex (female ≥65 or male ≥55) + known_vascular_disease + assumes_cardiac_origin + pain_worse_exercise + pain_not_reproducible; each 1; max 5; positive 3–5, negative ≤2 (Bösner 2010 Table 3)","max_score":5,"mhs_result":"negative","score":0,"sex":"female"}],"path":"/api/calc/mhs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Combined with sex: female ≥65 or male ≥55 scores 1 (Bösner 2010 Table 3). magent computes this; do not send a precomputed flag.","type":"integer"},"assumes_cardiac_origin":{"description":"Patient assumes the pain is of cardiac origin (Bösner 2010). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"known_vascular_disease":{"description":"Known clinical vascular disease: coronary, cerebrovascular, or peripheral (Bösner 2010). true or false as assigned by the caller.","type":"boolean"},"pain_not_reproducible":{"description":"Pain is not reproducible by palpation (Bösner 2010). true when that published finding is present; false if pain is reproducible. Assigned by the caller.","type":"boolean"},"pain_worse_exercise":{"description":"Pain worse with exercise (Bösner 2010). true or false as assigned by the caller.","type":"boolean"},"sex":{"description":"female or male. Combined with age: female ≥65 or male ≥55 scores 1 (Bösner 2010 Table 3).","enum":["female","male"],"type":"string"}},"required":["age","sex","known_vascular_disease","assumes_cardiac_origin","pain_worse_exercise","pain_not_reproducible"],"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},{"id":39032,"slug":"39032","resource":"https://api.magentlab.com/api/calc/mgfa","description":"Jaretzki 2000 MGFA Clinical Classification (Table 1). Caller-assigned class I, IIa, IIb, IIIa, IIIb, IVa, IVb, or V with the published description. Class V is intubation except routine postoperative management. A feeding tube without intubation is class IVb. Not QMG, not MG-ADL, not Osserman, and not an outcome measure (QMG is separate). magent does not examine the patient. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"mgfa_class":"I"},{"mgfa_class":"I"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Jaretzki A 3rd, Barohn RJ, Ernstoff RM, Kaminski HJ, Keesey JC, Penn AS, Sanders DB","doi":"10.1016/s0003-4975(00)01595-2","id":"jaretzki-2000","pmid":"10921745","source":"Ann Thorac Surg. 2000;70(1):327-334","title":"Myasthenia gravis: recommendations for clinical research standards. Task Force of the Medical Scientific Advisory Board of the Myasthenia Gravis Foundation of America"},"components":[{"factor":"class_I","met":true},{"factor":"class_IIa","met":false},{"factor":"class_IIb","met":false},{"factor":"class_IIIa","met":false},{"factor":"class_IIIb","met":false},{"factor":"class_IVa","met":false},{"factor":"class_IVb","met":false},{"factor":"class_V","met":false}],"description":"Any ocular muscle weakness. May have weakness of eye closure. All other muscle strength is normal.","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":"mgfa","formula_expression":"mgfa_class in {I, IIa, IIb, IIIa, IIIb, IVa, IVb, V} as assigned by the caller (Jaretzki 2000 Table 1 MGFA Clinical Classification). Not QMG. Not MG-ADL. Not Osserman. Not an outcome measure.","intubation_class":false,"mgfa_class":"I"},{"citation":{"authors":"Jaretzki A 3rd, Barohn RJ, Ernstoff RM, Kaminski HJ, Keesey JC, Penn AS, Sanders DB","doi":"10.1016/s0003-4975(00)01595-2","id":"jaretzki-2000","pmid":"10921745","source":"Ann Thorac Surg. 2000;70(1):327-334","title":"Myasthenia gravis: recommendations for clinical research standards. Task Force of the Medical Scientific Advisory Board of the Myasthenia Gravis Foundation of America"},"components":[{"factor":"class_I","met":true},{"factor":"class_IIa","met":false},{"factor":"class_IIb","met":false},{"factor":"class_IIIa","met":false},{"factor":"class_IIIb","met":false},{"factor":"class_IVa","met":false},{"factor":"class_IVb","met":false},{"factor":"class_V","met":false}],"description":"Any ocular muscle weakness. May have weakness of eye closure. All other muscle strength is normal.","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":"mgfa","formula_expression":"mgfa_class in {I, IIa, IIb, IIIa, IIIb, IVa, IVb, V} as assigned by the caller (Jaretzki 2000 Table 1 MGFA Clinical Classification). Not QMG. Not MG-ADL. Not Osserman. Not an outcome measure.","intubation_class":false,"mgfa_class":"I"}],"path":"/api/calc/mgfa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"mgfa_class":{"description":"Jaretzki 2000 Table 1 MGFA Clinical Classification as assigned by the caller: I, IIa, IIb, IIIa, IIIb, IVa, IVb, or V (case-sensitive; reject i, 1, II, IIA). Class I ocular only; II mild, III moderate, IV severe generalized with a = limb/axial and b = oropharyngeal/respiratory; IVb includes feeding tube without intubation; V is intubation except routine postoperative management. magent does not examine the patient.","type":"string"}},"required":["mgfa_class"],"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":["mgfa","myasthenia","neurology","classification","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T09:01:16.589Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T09:01:16.484Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"mgfa_class":"I"},{"mgfa_class":"I"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Jaretzki A 3rd, Barohn RJ, Ernstoff RM, Kaminski HJ, Keesey JC, Penn AS, Sanders DB","doi":"10.1016/s0003-4975(00)01595-2","id":"jaretzki-2000","pmid":"10921745","source":"Ann Thorac Surg. 2000;70(1):327-334","title":"Myasthenia gravis: recommendations for clinical research standards. Task Force of the Medical Scientific Advisory Board of the Myasthenia Gravis Foundation of America"},"components":[{"factor":"class_I","met":true},{"factor":"class_IIa","met":false},{"factor":"class_IIb","met":false},{"factor":"class_IIIa","met":false},{"factor":"class_IIIb","met":false},{"factor":"class_IVa","met":false},{"factor":"class_IVb","met":false},{"factor":"class_V","met":false}],"description":"Any ocular muscle weakness. May have weakness of eye closure. All other muscle strength is normal.","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":"mgfa","formula_expression":"mgfa_class in {I, IIa, IIb, IIIa, IIIb, IVa, IVb, V} as assigned by the caller (Jaretzki 2000 Table 1 MGFA Clinical Classification). Not QMG. Not MG-ADL. Not Osserman. Not an outcome measure.","intubation_class":false,"mgfa_class":"I"},{"citation":{"authors":"Jaretzki A 3rd, Barohn RJ, Ernstoff RM, Kaminski HJ, Keesey JC, Penn AS, Sanders DB","doi":"10.1016/s0003-4975(00)01595-2","id":"jaretzki-2000","pmid":"10921745","source":"Ann Thorac Surg. 2000;70(1):327-334","title":"Myasthenia gravis: recommendations for clinical research standards. Task Force of the Medical Scientific Advisory Board of the Myasthenia Gravis Foundation of America"},"components":[{"factor":"class_I","met":true},{"factor":"class_IIa","met":false},{"factor":"class_IIb","met":false},{"factor":"class_IIIa","met":false},{"factor":"class_IIIb","met":false},{"factor":"class_IVa","met":false},{"factor":"class_IVb","met":false},{"factor":"class_V","met":false}],"description":"Any ocular muscle weakness. May have weakness of eye closure. All other muscle strength is normal.","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":"mgfa","formula_expression":"mgfa_class in {I, IIa, IIb, IIIa, IIIb, IVa, IVb, V} as assigned by the caller (Jaretzki 2000 Table 1 MGFA Clinical Classification). Not QMG. Not MG-ADL. Not Osserman. Not an outcome measure.","intubation_class":false,"mgfa_class":"I"}],"path":"/api/calc/mgfa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"mgfa_class":{"description":"Jaretzki 2000 Table 1 MGFA Clinical Classification as assigned by the caller: I, IIa, IIb, IIIa, IIIb, IVa, IVb, or V (case-sensitive; reject i, 1, II, IIA). Class I ocular only; II mild, III moderate, IV severe generalized with a = limb/axial and b = oropharyngeal/respiratory; IVb includes feeding tube without intubation; V is intubation except routine postoperative management. magent does not examine the patient.","type":"string"}},"required":["mgfa_class"],"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},{"id":39033,"slug":"39033","resource":"https://api.magentlab.com/api/calc/mg_adl","description":"Wolfe 1999 myasthenia gravis activities of daily living (MG-ADL) profile: eight caller-assigned integers 0-3 (talking, chewing, swallowing, breathing, brush_comb, arise_chair, double_vision, eyelid_droop), summed 0-24. magent does not examine the patient. Wolfe 1999 correlated MG-ADL with QMG; that is not a conversion. Not QMG, not MGFA class. Score and max_score only; no severity band. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"arise_chair":0,"breathing":0,"brush_comb":0,"chewing":0,"double_vision":0,"eyelid_droop":0,"swallowing":0,"talking":0},{"arise_chair":0,"breathing":0,"brush_comb":0,"chewing":0,"double_vision":0,"eyelid_droop":0,"swallowing":0,"talking":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wolfe GI, Herbelin L, Nations SP, Foster B, Bryan WW, Barohn RJ","doi":"10.1212/wnl.52.7.1487","id":"wolfe-1999","pmid":"10227640","source":"Neurology. 1999;52(7):1487-1489","title":"Myasthenia gravis activities of daily living profile."},"components":[{"factor":"talking","points":0,"present":true,"value":0},{"factor":"chewing","points":0,"present":true,"value":0},{"factor":"swallowing","points":0,"present":true,"value":0},{"factor":"breathing","points":0,"present":true,"value":0},{"factor":"brush_comb","points":0,"present":true,"value":0},{"factor":"arise_chair","points":0,"present":true,"value":0},{"factor":"double_vision","points":0,"present":true,"value":0},{"factor":"eyelid_droop","points":0,"present":true,"value":0}],"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":"mg_adl","formula_expression":"MG-ADL = talking + chewing + swallowing + breathing + brush_comb + arise_chair + double_vision + eyelid_droop; each a caller-assigned integer 0-3; max 24; Wolfe 1999 eight-question survey; no QMG mapping; no MGFA class","max_score":24,"score":0},{"citation":{"authors":"Wolfe GI, Herbelin L, Nations SP, Foster B, Bryan WW, Barohn RJ","doi":"10.1212/wnl.52.7.1487","id":"wolfe-1999","pmid":"10227640","source":"Neurology. 1999;52(7):1487-1489","title":"Myasthenia gravis activities of daily living profile."},"components":[{"factor":"talking","points":0,"present":true,"value":0},{"factor":"chewing","points":0,"present":true,"value":0},{"factor":"swallowing","points":0,"present":true,"value":0},{"factor":"breathing","points":0,"present":true,"value":0},{"factor":"brush_comb","points":0,"present":true,"value":0},{"factor":"arise_chair","points":0,"present":true,"value":0},{"factor":"double_vision","points":0,"present":true,"value":0},{"factor":"eyelid_droop","points":0,"present":true,"value":0}],"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":"mg_adl","formula_expression":"MG-ADL = talking + chewing + swallowing + breathing + brush_comb + arise_chair + double_vision + eyelid_droop; each a caller-assigned integer 0-3; max 24; Wolfe 1999 eight-question survey; no QMG mapping; no MGFA class","max_score":24,"score":0}],"path":"/api/calc/mg_adl"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arise_chair":{"description":"Caller-assigned Wolfe 1999 MG-ADL impairment of ability to arise from a chair (integer 0-3: 0 none; 1 mild, sometimes uses arms; 2 moderate, always uses arms; 3 severe, requires assistance). magent does not examine the patient.","type":"integer"},"breathing":{"description":"Caller-assigned Wolfe 1999 MG-ADL breathing (integer 0-3: 0 normal; 1 shortness of breath with exertion; 2 shortness of breath at rest; 3 ventilator dependence). magent does not examine the patient.","type":"integer"},"brush_comb":{"description":"Caller-assigned Wolfe 1999 MG-ADL impairment of ability to brush teeth or comb hair (integer 0-3: 0 none; 1 extra effort but no rest periods needed; 2 rest periods needed; 3 cannot do one of these functions). magent does not examine the patient.","type":"integer"},"chewing":{"description":"Caller-assigned Wolfe 1999 MG-ADL chewing (integer 0-3: 0 normal; 1 fatigue with solid food; 2 fatigue with soft food; 3 gastric tube). magent does not examine the patient.","type":"integer"},"double_vision":{"description":"Caller-assigned Wolfe 1999 MG-ADL double vision (integer 0-3: 0 none; 1 occurs but not daily; 2 daily but not constant; 3 constant). magent does not examine the patient.","type":"integer"},"eyelid_droop":{"description":"Caller-assigned Wolfe 1999 MG-ADL eyelid droop (integer 0-3: 0 none; 1 occurs but not daily; 2 daily but not constant; 3 constant). magent does not examine the patient.","type":"integer"},"swallowing":{"description":"Caller-assigned Wolfe 1999 MG-ADL swallowing (integer 0-3: 0 normal; 1 rare episode of choking; 2 frequent choking necessitating changes in diet; 3 gastric tube). magent does not examine the patient.","type":"integer"},"talking":{"description":"Caller-assigned Wolfe 1999 MG-ADL talking (integer 0-3: 0 normal; 1 intermittent slurring or nasal speech; 2 constant slurring or nasal but can be understood; 3 difficult to understand speech). magent does not examine the patient.","type":"integer"}},"required":["talking","chewing","swallowing","breathing","brush_comb","arise_chair","double_vision","eyelid_droop"],"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":["mg-adl","myasthenia","adl","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:56:48.818Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:56:48.688Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"arise_chair":0,"breathing":0,"brush_comb":0,"chewing":0,"double_vision":0,"eyelid_droop":0,"swallowing":0,"talking":0},{"arise_chair":0,"breathing":0,"brush_comb":0,"chewing":0,"double_vision":0,"eyelid_droop":0,"swallowing":0,"talking":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wolfe GI, Herbelin L, Nations SP, Foster B, Bryan WW, Barohn RJ","doi":"10.1212/wnl.52.7.1487","id":"wolfe-1999","pmid":"10227640","source":"Neurology. 1999;52(7):1487-1489","title":"Myasthenia gravis activities of daily living profile."},"components":[{"factor":"talking","points":0,"present":true,"value":0},{"factor":"chewing","points":0,"present":true,"value":0},{"factor":"swallowing","points":0,"present":true,"value":0},{"factor":"breathing","points":0,"present":true,"value":0},{"factor":"brush_comb","points":0,"present":true,"value":0},{"factor":"arise_chair","points":0,"present":true,"value":0},{"factor":"double_vision","points":0,"present":true,"value":0},{"factor":"eyelid_droop","points":0,"present":true,"value":0}],"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":"mg_adl","formula_expression":"MG-ADL = talking + chewing + swallowing + breathing + brush_comb + arise_chair + double_vision + eyelid_droop; each a caller-assigned integer 0-3; max 24; Wolfe 1999 eight-question survey; no QMG mapping; no MGFA class","max_score":24,"score":0},{"citation":{"authors":"Wolfe GI, Herbelin L, Nations SP, Foster B, Bryan WW, Barohn RJ","doi":"10.1212/wnl.52.7.1487","id":"wolfe-1999","pmid":"10227640","source":"Neurology. 1999;52(7):1487-1489","title":"Myasthenia gravis activities of daily living profile."},"components":[{"factor":"talking","points":0,"present":true,"value":0},{"factor":"chewing","points":0,"present":true,"value":0},{"factor":"swallowing","points":0,"present":true,"value":0},{"factor":"breathing","points":0,"present":true,"value":0},{"factor":"brush_comb","points":0,"present":true,"value":0},{"factor":"arise_chair","points":0,"present":true,"value":0},{"factor":"double_vision","points":0,"present":true,"value":0},{"factor":"eyelid_droop","points":0,"present":true,"value":0}],"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":"mg_adl","formula_expression":"MG-ADL = talking + chewing + swallowing + breathing + brush_comb + arise_chair + double_vision + eyelid_droop; each a caller-assigned integer 0-3; max 24; Wolfe 1999 eight-question survey; no QMG mapping; no MGFA class","max_score":24,"score":0}],"path":"/api/calc/mg_adl"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arise_chair":{"description":"Caller-assigned Wolfe 1999 MG-ADL impairment of ability to arise from a chair (integer 0-3: 0 none; 1 mild, sometimes uses arms; 2 moderate, always uses arms; 3 severe, requires assistance). magent does not examine the patient.","type":"integer"},"breathing":{"description":"Caller-assigned Wolfe 1999 MG-ADL breathing (integer 0-3: 0 normal; 1 shortness of breath with exertion; 2 shortness of breath at rest; 3 ventilator dependence). magent does not examine the patient.","type":"integer"},"brush_comb":{"description":"Caller-assigned Wolfe 1999 MG-ADL impairment of ability to brush teeth or comb hair (integer 0-3: 0 none; 1 extra effort but no rest periods needed; 2 rest periods needed; 3 cannot do one of these functions). magent does not examine the patient.","type":"integer"},"chewing":{"description":"Caller-assigned Wolfe 1999 MG-ADL chewing (integer 0-3: 0 normal; 1 fatigue with solid food; 2 fatigue with soft food; 3 gastric tube). magent does not examine the patient.","type":"integer"},"double_vision":{"description":"Caller-assigned Wolfe 1999 MG-ADL double vision (integer 0-3: 0 none; 1 occurs but not daily; 2 daily but not constant; 3 constant). magent does not examine the patient.","type":"integer"},"eyelid_droop":{"description":"Caller-assigned Wolfe 1999 MG-ADL eyelid droop (integer 0-3: 0 none; 1 occurs but not daily; 2 daily but not constant; 3 constant). magent does not examine the patient.","type":"integer"},"swallowing":{"description":"Caller-assigned Wolfe 1999 MG-ADL swallowing (integer 0-3: 0 normal; 1 rare episode of choking; 2 frequent choking necessitating changes in diet; 3 gastric tube). magent does not examine the patient.","type":"integer"},"talking":{"description":"Caller-assigned Wolfe 1999 MG-ADL talking (integer 0-3: 0 normal; 1 intermittent slurring or nasal speech; 2 constant slurring or nasal but can be understood; 3 difficult to understand speech). magent does not examine the patient.","type":"integer"}},"required":["talking","chewing","swallowing","breathing","brush_comb","arise_chair","double_vision","eyelid_droop"],"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},{"id":39034,"slug":"39034","resource":"https://api.magentlab.com/api/calc/mews","description":"MEWS from Subbe 2001 Table 1: systolic BP, heart rate, respiratory rate, temperature (°C), and caller-assigned AVPU (alert/voice/pain/unresponsive) summed to a 0–14 total. Returns score_ge_5 because scores ≥5 were associated with increased risk of death or ICU/HDU. Deterministic published arithmetic with citation; not NEWS2; not an ICU-admission order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"avpu":"alert","heart_rate_bpm":80,"respiratory_rate":12,"systolic_mm_hg":120,"temperature_c":37},{"avpu":"alert","heart_rate_bpm":80,"respiratory_rate":12,"systolic_mm_hg":120,"temperature_c":37}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"avpu":"alert","citation":{"authors":"Subbe CP, Kruger M, Rutherford P, Gemmel L","doi":"10.1093/qjmed/94.10.521","id":"subbe-2001","pmid":"11588210","source":"QJM. 2001;94(10):521-526","title":"Validation of a modified Early Warning Score in medical admissions"},"components":[{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"respiratory_rate","points":0,"present":false,"value":12},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"avpu","points":0,"present":false,"value":"alert"}],"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":"mews","formula_expression":"MEWS = sbp_points + hr_points + rr_points + temp_points + avpu_points; Subbe 2001 Table 1; max 14","heart_rate_bpm":80,"max_score":14,"respiratory_rate":12,"score":0,"score_ge_5":false,"systolic_mm_hg":120,"temperature_c":37},{"avpu":"alert","citation":{"authors":"Subbe CP, Kruger M, Rutherford P, Gemmel L","doi":"10.1093/qjmed/94.10.521","id":"subbe-2001","pmid":"11588210","source":"QJM. 2001;94(10):521-526","title":"Validation of a modified Early Warning Score in medical admissions"},"components":[{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"respiratory_rate","points":0,"present":false,"value":12},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"avpu","points":0,"present":false,"value":"alert"}],"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":"mews","formula_expression":"MEWS = sbp_points + hr_points + rr_points + temp_points + avpu_points; Subbe 2001 Table 1; max 14","heart_rate_bpm":80,"max_score":14,"respiratory_rate":12,"score":0,"score_ge_5":false,"systolic_mm_hg":120,"temperature_c":37}],"path":"/api/calc/mews"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"avpu":{"description":"Caller-assigned AVPU (alert, voice, pain, or unresponsive). Subbe 2001: alert → 0, voice → 1, pain → 2, unresponsive → 3. magent does not compute GCS here.","enum":["alert","voice","pain","unresponsive"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Subbe 2001: ≤40 → 2, 41-50 → 1, 51-100 → 0, 101-110 → 1, 111-129 → 2, ≥130 → 3.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 0-80). Subbe 2001: <9 → 2, 9-14 → 0, 15-20 → 1, 21-29 → 2, ≥30 → 3.","type":"integer"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (integer 0-300). Subbe 2001: ≤70 → 3, 71-80 → 2, 81-100 → 1, 101-199 → 0, ≥200 → 2.","type":"integer"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). Subbe 2001: <35 → 2, 35-38.4 → 0, ≥38.5 → 2. magent does not convert Fahrenheit.","type":"number"}},"required":["systolic_mm_hg","heart_rate_bpm","respiratory_rate","temperature_c","avpu"],"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":["mews","early-warning","emergency","avpu","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:36:11.634Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:36:11.5Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"avpu":"alert","heart_rate_bpm":80,"respiratory_rate":12,"systolic_mm_hg":120,"temperature_c":37},{"avpu":"alert","heart_rate_bpm":80,"respiratory_rate":12,"systolic_mm_hg":120,"temperature_c":37}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"avpu":"alert","citation":{"authors":"Subbe CP, Kruger M, Rutherford P, Gemmel L","doi":"10.1093/qjmed/94.10.521","id":"subbe-2001","pmid":"11588210","source":"QJM. 2001;94(10):521-526","title":"Validation of a modified Early Warning Score in medical admissions"},"components":[{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"respiratory_rate","points":0,"present":false,"value":12},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"avpu","points":0,"present":false,"value":"alert"}],"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":"mews","formula_expression":"MEWS = sbp_points + hr_points + rr_points + temp_points + avpu_points; Subbe 2001 Table 1; max 14","heart_rate_bpm":80,"max_score":14,"respiratory_rate":12,"score":0,"score_ge_5":false,"systolic_mm_hg":120,"temperature_c":37},{"avpu":"alert","citation":{"authors":"Subbe CP, Kruger M, Rutherford P, Gemmel L","doi":"10.1093/qjmed/94.10.521","id":"subbe-2001","pmid":"11588210","source":"QJM. 2001;94(10):521-526","title":"Validation of a modified Early Warning Score in medical admissions"},"components":[{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"respiratory_rate","points":0,"present":false,"value":12},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"avpu","points":0,"present":false,"value":"alert"}],"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":"mews","formula_expression":"MEWS = sbp_points + hr_points + rr_points + temp_points + avpu_points; Subbe 2001 Table 1; max 14","heart_rate_bpm":80,"max_score":14,"respiratory_rate":12,"score":0,"score_ge_5":false,"systolic_mm_hg":120,"temperature_c":37}],"path":"/api/calc/mews"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"avpu":{"description":"Caller-assigned AVPU (alert, voice, pain, or unresponsive). Subbe 2001: alert → 0, voice → 1, pain → 2, unresponsive → 3. magent does not compute GCS here.","enum":["alert","voice","pain","unresponsive"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Subbe 2001: ≤40 → 2, 41-50 → 1, 51-100 → 0, 101-110 → 1, 111-129 → 2, ≥130 → 3.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 0-80). Subbe 2001: <9 → 2, 9-14 → 0, 15-20 → 1, 21-29 → 2, ≥30 → 3.","type":"integer"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (integer 0-300). Subbe 2001: ≤70 → 3, 71-80 → 2, 81-100 → 1, 101-199 → 0, ≥200 → 2.","type":"integer"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). Subbe 2001: <35 → 2, 35-38.4 → 0, ≥38.5 → 2. magent does not convert Fahrenheit.","type":"number"}},"required":["systolic_mm_hg","heart_rate_bpm","respiratory_rate","temperature_c","avpu"],"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},{"id":39035,"slug":"39035","resource":"https://api.magentlab.com/api/calc/metroticket_2","description":"Mazzaferro 2018 Metroticket 2.0 AFP-adjusted-to-HCC-size 70% 5-year HCC-specific survival criteria. meets_70pct_hcc_specific_survival is true iff AFP <200 ng/mL and tumor_count + largest_cm <=7, or 200<=AFP<400 and sum <=5, or 400<=AFP<=1000 and sum <=4. AFP >1000 never meets. Not Milan, UCSF, Metroticket 1.0 contours, or competing-risk survival percents. magent does not interpret imaging or assay AFP. Not a medical device or transplant listing.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"afp_ng_ml":50,"largest_cm":3,"tumor_count":1},{"afp_ng_ml":50,"largest_cm":3,"tumor_count":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"afp_ng_ml":50,"citation":{"authors":"Mazzaferro V, Sposito C, Zhou J, Pinna AD, De Carlis L, Fan J, Cescon M, Di Sandro S, Yi-feng H, Lauterio A, Bongini M, Mariani L","doi":"10.1053/j.gastro.2017.09.025","id":"mazzaferro-2018","pmid":"28989060","source":"Gastroenterology. 2018;154(1):128-139","title":"Metroticket 2.0 Model for Analysis of Competing Risks of Death After Liver Transplantation for Hepatocellular Carcinoma"},"criteria":[{"factor":"afp_lt_200_sum_le_7","met":true},{"factor":"afp_200_400_sum_le_5","met":false},{"factor":"afp_400_1000_sum_le_4","met":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":"metroticket_2","formula_expression":"meets_70pct_hcc_specific_survival iff (afp_ng_ml < 200 and size_number_sum <= 7) or (200 <= afp_ng_ml < 400 and size_number_sum <= 5) or (400 <= afp_ng_ml <= 1000 and size_number_sum <= 4); size_number_sum = tumor_count + largest_cm; afp_ng_ml > 1000 is always false (Mazzaferro 2018 AFP-adjusted-to-HCC-size 70% 5-year HCC-specific survival)","largest_cm":3,"meets_70pct_hcc_specific_survival":true,"size_number_sum":4,"tumor_count":1},{"afp_ng_ml":50,"citation":{"authors":"Mazzaferro V, Sposito C, Zhou J, Pinna AD, De Carlis L, Fan J, Cescon M, Di Sandro S, Yi-feng H, Lauterio A, Bongini M, Mariani L","doi":"10.1053/j.gastro.2017.09.025","id":"mazzaferro-2018","pmid":"28989060","source":"Gastroenterology. 2018;154(1):128-139","title":"Metroticket 2.0 Model for Analysis of Competing Risks of Death After Liver Transplantation for Hepatocellular Carcinoma"},"criteria":[{"factor":"afp_lt_200_sum_le_7","met":true},{"factor":"afp_200_400_sum_le_5","met":false},{"factor":"afp_400_1000_sum_le_4","met":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":"metroticket_2","formula_expression":"meets_70pct_hcc_specific_survival iff (afp_ng_ml < 200 and size_number_sum <= 7) or (200 <= afp_ng_ml < 400 and size_number_sum <= 5) or (400 <= afp_ng_ml <= 1000 and size_number_sum <= 4); size_number_sum = tumor_count + largest_cm; afp_ng_ml > 1000 is always false (Mazzaferro 2018 AFP-adjusted-to-HCC-size 70% 5-year HCC-specific survival)","largest_cm":3,"meets_70pct_hcc_specific_survival":true,"size_number_sum":4,"tumor_count":1}],"path":"/api/calc/metroticket_2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"afp_ng_ml":{"description":"Serum AFP in ng/mL (1-100000) as assigned by the caller. Mazzaferro 2018 bands: <200 (sum <=7), 200 to <400 (sum <=5), 400 to 1000 (sum <=4); >1000 never meets. magent does not assay AFP.","type":"number"},"largest_cm":{"description":"Largest tumor diameter in centimetres (0.1-30) as assigned by the caller. Added to tumor_count as size_number_sum. magent does not interpret imaging.","type":"number"},"tumor_count":{"description":"Number of HCC nodules (integer 1-20) as assigned by the caller. Added to largest_cm as size_number_sum (up-to-7 convention). magent does not interpret imaging.","type":"integer"}},"required":["tumor_count","largest_cm","afp_ng_ml"],"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":["metroticket-2","hcc","liver","transplant","afp","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:31:18.277Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:31:18.162Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"afp_ng_ml":50,"largest_cm":3,"tumor_count":1},{"afp_ng_ml":50,"largest_cm":3,"tumor_count":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"afp_ng_ml":50,"citation":{"authors":"Mazzaferro V, Sposito C, Zhou J, Pinna AD, De Carlis L, Fan J, Cescon M, Di Sandro S, Yi-feng H, Lauterio A, Bongini M, Mariani L","doi":"10.1053/j.gastro.2017.09.025","id":"mazzaferro-2018","pmid":"28989060","source":"Gastroenterology. 2018;154(1):128-139","title":"Metroticket 2.0 Model for Analysis of Competing Risks of Death After Liver Transplantation for Hepatocellular Carcinoma"},"criteria":[{"factor":"afp_lt_200_sum_le_7","met":true},{"factor":"afp_200_400_sum_le_5","met":false},{"factor":"afp_400_1000_sum_le_4","met":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":"metroticket_2","formula_expression":"meets_70pct_hcc_specific_survival iff (afp_ng_ml < 200 and size_number_sum <= 7) or (200 <= afp_ng_ml < 400 and size_number_sum <= 5) or (400 <= afp_ng_ml <= 1000 and size_number_sum <= 4); size_number_sum = tumor_count + largest_cm; afp_ng_ml > 1000 is always false (Mazzaferro 2018 AFP-adjusted-to-HCC-size 70% 5-year HCC-specific survival)","largest_cm":3,"meets_70pct_hcc_specific_survival":true,"size_number_sum":4,"tumor_count":1},{"afp_ng_ml":50,"citation":{"authors":"Mazzaferro V, Sposito C, Zhou J, Pinna AD, De Carlis L, Fan J, Cescon M, Di Sandro S, Yi-feng H, Lauterio A, Bongini M, Mariani L","doi":"10.1053/j.gastro.2017.09.025","id":"mazzaferro-2018","pmid":"28989060","source":"Gastroenterology. 2018;154(1):128-139","title":"Metroticket 2.0 Model for Analysis of Competing Risks of Death After Liver Transplantation for Hepatocellular Carcinoma"},"criteria":[{"factor":"afp_lt_200_sum_le_7","met":true},{"factor":"afp_200_400_sum_le_5","met":false},{"factor":"afp_400_1000_sum_le_4","met":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":"metroticket_2","formula_expression":"meets_70pct_hcc_specific_survival iff (afp_ng_ml < 200 and size_number_sum <= 7) or (200 <= afp_ng_ml < 400 and size_number_sum <= 5) or (400 <= afp_ng_ml <= 1000 and size_number_sum <= 4); size_number_sum = tumor_count + largest_cm; afp_ng_ml > 1000 is always false (Mazzaferro 2018 AFP-adjusted-to-HCC-size 70% 5-year HCC-specific survival)","largest_cm":3,"meets_70pct_hcc_specific_survival":true,"size_number_sum":4,"tumor_count":1}],"path":"/api/calc/metroticket_2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"afp_ng_ml":{"description":"Serum AFP in ng/mL (1-100000) as assigned by the caller. Mazzaferro 2018 bands: <200 (sum <=7), 200 to <400 (sum <=5), 400 to 1000 (sum <=4); >1000 never meets. magent does not assay AFP.","type":"number"},"largest_cm":{"description":"Largest tumor diameter in centimetres (0.1-30) as assigned by the caller. Added to tumor_count as size_number_sum. magent does not interpret imaging.","type":"number"},"tumor_count":{"description":"Number of HCC nodules (integer 1-20) as assigned by the caller. Added to largest_cm as size_number_sum (up-to-7 convention). magent does not interpret imaging.","type":"integer"}},"required":["tumor_count","largest_cm","afp_ng_ml"],"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},{"id":39036,"slug":"39036","resource":"https://api.magentlab.com/api/calc/mess","description":"Johansen 1990 Mangled Extremity Severity Score (MESS): caller-assigned skeletal/soft-tissue energy 1-4, limb ischemia 1-3 (doubled if ischemia time >6 hours), shock 0-2, and age points (<30 → 0, 30-50 → 1, >50 → 2). Max 14. MESS ≥7 predicted amputation with 100% accuracy in that series (mess_band 0-6 or >=7). Deterministic published arithmetic with citation. Not an amputation or limb-salvage protocol; magent does not examine the limb. Not later papers' cutoff of 8.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":25,"ischemia_over_6h":false,"limb_ischemia":1,"shock":0,"skeletal_soft_tissue":1},{"age":25,"ischemia_over_6h":false,"limb_ischemia":1,"shock":0,"skeletal_soft_tissue":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":25,"age_points":0,"citation":{"authors":"Johansen K, Daines M, Howey T, Helfet D, Hansen ST","doi":"10.1097/00005373-199005000-00007","id":"johansen-1990","pmid":"2342140","source":"J Trauma. 1990;30(5):568-572","title":"Objective criteria accurately predict amputation following lower extremity trauma"},"components":[{"factor":"skeletal_soft_tissue","points":1,"present":true,"value":1},{"doubled":false,"factor":"limb_ischemia","points":1,"present":true,"value":1},{"factor":"shock","points":0,"present":false,"value":0},{"factor":"age","points":0,"present":false,"value":25}],"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":"mess","formula_expression":"MESS = skeletal_soft_tissue (1-4) + limb_ischemia (1-3, doubled if ischemia_over_6h) + shock (0-2) + age_points (<30 → 0, 30-50 → 1, >50 → 2); Johansen 1990 band 0-6 / >=7; max 14","ischemia_over_6h":false,"ischemia_points":1,"limb_ischemia":1,"max_score":14,"mess_band":"0-6","score":2,"shock":0,"skeletal_soft_tissue":1},{"age":25,"age_points":0,"citation":{"authors":"Johansen K, Daines M, Howey T, Helfet D, Hansen ST","doi":"10.1097/00005373-199005000-00007","id":"johansen-1990","pmid":"2342140","source":"J Trauma. 1990;30(5):568-572","title":"Objective criteria accurately predict amputation following lower extremity trauma"},"components":[{"factor":"skeletal_soft_tissue","points":1,"present":true,"value":1},{"doubled":false,"factor":"limb_ischemia","points":1,"present":true,"value":1},{"factor":"shock","points":0,"present":false,"value":0},{"factor":"age","points":0,"present":false,"value":25}],"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":"mess","formula_expression":"MESS = skeletal_soft_tissue (1-4) + limb_ischemia (1-3, doubled if ischemia_over_6h) + shock (0-2) + age_points (<30 → 0, 30-50 → 1, >50 → 2); Johansen 1990 band 0-6 / >=7; max 14","ischemia_over_6h":false,"ischemia_points":1,"limb_ischemia":1,"max_score":14,"mess_band":"0-6","score":2,"shock":0,"skeletal_soft_tissue":1}],"path":"/api/calc/mess"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 0-120). Johansen 1990 points: <30 → 0, 30-50 → 1, >50 → 2. Not the adult 18-120 clamp.","type":"integer"},"ischemia_over_6h":{"description":"true if limb ischemia time is greater than 6 hours (Johansen 1990 doubles the ischemia score). true or false as assigned by the caller.","type":"boolean"},"limb_ischemia":{"description":"Caller-assigned Johansen 1990 limb ischemia (integer 1 pulse reduced but perfusion normal, 2 pulseless with paresthesia, or 3 cool paralyzed insensate). Doubled when ischemia_over_6h is true.","type":"integer"},"shock":{"description":"Caller-assigned Johansen 1990 shock (integer 0 SBP always >90, 1 transient <90, or 2 persistent <90).","type":"integer"},"skeletal_soft_tissue":{"description":"Caller-assigned Johansen 1990 skeletal/soft-tissue energy (integer 1 low, 2 medium, 3 high, or 4 very high). magent does not examine the limb.","type":"integer"}},"required":["skeletal_soft_tissue","limb_ischemia","shock","age","ischemia_over_6h"],"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":["mess","trauma","ischemia","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:31:17.332Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:31:17.192Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":25,"ischemia_over_6h":false,"limb_ischemia":1,"shock":0,"skeletal_soft_tissue":1},{"age":25,"ischemia_over_6h":false,"limb_ischemia":1,"shock":0,"skeletal_soft_tissue":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":25,"age_points":0,"citation":{"authors":"Johansen K, Daines M, Howey T, Helfet D, Hansen ST","doi":"10.1097/00005373-199005000-00007","id":"johansen-1990","pmid":"2342140","source":"J Trauma. 1990;30(5):568-572","title":"Objective criteria accurately predict amputation following lower extremity trauma"},"components":[{"factor":"skeletal_soft_tissue","points":1,"present":true,"value":1},{"doubled":false,"factor":"limb_ischemia","points":1,"present":true,"value":1},{"factor":"shock","points":0,"present":false,"value":0},{"factor":"age","points":0,"present":false,"value":25}],"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":"mess","formula_expression":"MESS = skeletal_soft_tissue (1-4) + limb_ischemia (1-3, doubled if ischemia_over_6h) + shock (0-2) + age_points (<30 → 0, 30-50 → 1, >50 → 2); Johansen 1990 band 0-6 / >=7; max 14","ischemia_over_6h":false,"ischemia_points":1,"limb_ischemia":1,"max_score":14,"mess_band":"0-6","score":2,"shock":0,"skeletal_soft_tissue":1},{"age":25,"age_points":0,"citation":{"authors":"Johansen K, Daines M, Howey T, Helfet D, Hansen ST","doi":"10.1097/00005373-199005000-00007","id":"johansen-1990","pmid":"2342140","source":"J Trauma. 1990;30(5):568-572","title":"Objective criteria accurately predict amputation following lower extremity trauma"},"components":[{"factor":"skeletal_soft_tissue","points":1,"present":true,"value":1},{"doubled":false,"factor":"limb_ischemia","points":1,"present":true,"value":1},{"factor":"shock","points":0,"present":false,"value":0},{"factor":"age","points":0,"present":false,"value":25}],"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":"mess","formula_expression":"MESS = skeletal_soft_tissue (1-4) + limb_ischemia (1-3, doubled if ischemia_over_6h) + shock (0-2) + age_points (<30 → 0, 30-50 → 1, >50 → 2); Johansen 1990 band 0-6 / >=7; max 14","ischemia_over_6h":false,"ischemia_points":1,"limb_ischemia":1,"max_score":14,"mess_band":"0-6","score":2,"shock":0,"skeletal_soft_tissue":1}],"path":"/api/calc/mess"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 0-120). Johansen 1990 points: <30 → 0, 30-50 → 1, >50 → 2. Not the adult 18-120 clamp.","type":"integer"},"ischemia_over_6h":{"description":"true if limb ischemia time is greater than 6 hours (Johansen 1990 doubles the ischemia score). true or false as assigned by the caller.","type":"boolean"},"limb_ischemia":{"description":"Caller-assigned Johansen 1990 limb ischemia (integer 1 pulse reduced but perfusion normal, 2 pulseless with paresthesia, or 3 cool paralyzed insensate). Doubled when ischemia_over_6h is true.","type":"integer"},"shock":{"description":"Caller-assigned Johansen 1990 shock (integer 0 SBP always >90, 1 transient <90, or 2 persistent <90).","type":"integer"},"skeletal_soft_tissue":{"description":"Caller-assigned Johansen 1990 skeletal/soft-tissue energy (integer 1 low, 2 medium, 3 high, or 4 very high). magent does not examine the limb.","type":"integer"}},"required":["skeletal_soft_tissue","limb_ischemia","shock","age","ischemia_over_6h"],"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},{"id":39037,"slug":"39037","resource":"https://api.magentlab.com/api/calc/menza","description":"Menza 2009 HIV-acquisition score for MSM. Four caller-assigned flags: meth or poppers in the prior 6 months (11), current or prior bacterial STI (4), ≥10 male partners in the prior year (3), unprotected anal intercourse with a positive- or unknown-status partner in the prior year (1). Max 19. Integer score only; no named strata or PrEP cutoff. Not a diagnosis, PrEP order, or test-and-treat protocol. Not HIRI-MSM or SexPro. magent does not take a sexual history.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bacterial_sti":false,"meth_or_poppers_6mo":false,"partners_ge_10_year":false,"uai_positive_or_unknown_year":false},{"bacterial_sti":false,"meth_or_poppers_6mo":false,"partners_ge_10_year":false,"uai_positive_or_unknown_year":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Menza TW, Hughes JP, Celum CL, Golden MR","doi":"10.1097/OLQ.0b013e3181a9cc41","id":"menza-2009","pmid":"19707108","source":"Sex Transm Dis. 2009;36(9):547-555","title":"Prediction of HIV acquisition among men who have sex with men"},"components":[{"factor":"meth_or_poppers_6mo","points":0,"present":false},{"factor":"bacterial_sti","points":0,"present":false},{"factor":"partners_ge_10_year","points":0,"present":false},{"factor":"uai_positive_or_unknown_year","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":"menza","formula_expression":"Menza = meth_or_poppers_6mo (true 11) + bacterial_sti (true 4) + partners_ge_10_year (true 3) + uai_positive_or_unknown_year (true 1); Menza 2009; max 19","max_score":19,"score":0},{"citation":{"authors":"Menza TW, Hughes JP, Celum CL, Golden MR","doi":"10.1097/OLQ.0b013e3181a9cc41","id":"menza-2009","pmid":"19707108","source":"Sex Transm Dis. 2009;36(9):547-555","title":"Prediction of HIV acquisition among men who have sex with men"},"components":[{"factor":"meth_or_poppers_6mo","points":0,"present":false},{"factor":"bacterial_sti","points":0,"present":false},{"factor":"partners_ge_10_year","points":0,"present":false},{"factor":"uai_positive_or_unknown_year","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":"menza","formula_expression":"Menza = meth_or_poppers_6mo (true 11) + bacterial_sti (true 4) + partners_ge_10_year (true 3) + uai_positive_or_unknown_year (true 1); Menza 2009; max 19","max_score":19,"score":0}],"path":"/api/calc/menza"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bacterial_sti":{"description":"Current diagnosis or history of bacterial STI (Menza 2009: gonorrhea, chlamydia, or syphilis) as assigned by the caller. true scores 4. magent does not take a sexual history.","type":"boolean"},"meth_or_poppers_6mo":{"description":"Methamphetamine or inhaled nitrites (poppers) in the prior 6 months as assigned by the caller (Menza 2009). true scores 11. magent does not take a sexual history.","type":"boolean"},"partners_ge_10_year":{"description":"Ten or more male sex partners in the prior year as assigned by the caller (Menza 2009). true scores 3. magent does not take a sexual history.","type":"boolean"},"uai_positive_or_unknown_year":{"description":"Unprotected anal intercourse with a partner of positive or unknown HIV status in the prior year as assigned by the caller (Menza 2009). true scores 1. magent does not take a sexual history.","type":"boolean"}},"required":["meth_or_poppers_6mo","bacterial_sti","partners_ge_10_year","uai_positive_or_unknown_year"],"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":["menza","hiv","msm","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:31:16.372Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:31:16.078Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bacterial_sti":false,"meth_or_poppers_6mo":false,"partners_ge_10_year":false,"uai_positive_or_unknown_year":false},{"bacterial_sti":false,"meth_or_poppers_6mo":false,"partners_ge_10_year":false,"uai_positive_or_unknown_year":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Menza TW, Hughes JP, Celum CL, Golden MR","doi":"10.1097/OLQ.0b013e3181a9cc41","id":"menza-2009","pmid":"19707108","source":"Sex Transm Dis. 2009;36(9):547-555","title":"Prediction of HIV acquisition among men who have sex with men"},"components":[{"factor":"meth_or_poppers_6mo","points":0,"present":false},{"factor":"bacterial_sti","points":0,"present":false},{"factor":"partners_ge_10_year","points":0,"present":false},{"factor":"uai_positive_or_unknown_year","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":"menza","formula_expression":"Menza = meth_or_poppers_6mo (true 11) + bacterial_sti (true 4) + partners_ge_10_year (true 3) + uai_positive_or_unknown_year (true 1); Menza 2009; max 19","max_score":19,"score":0},{"citation":{"authors":"Menza TW, Hughes JP, Celum CL, Golden MR","doi":"10.1097/OLQ.0b013e3181a9cc41","id":"menza-2009","pmid":"19707108","source":"Sex Transm Dis. 2009;36(9):547-555","title":"Prediction of HIV acquisition among men who have sex with men"},"components":[{"factor":"meth_or_poppers_6mo","points":0,"present":false},{"factor":"bacterial_sti","points":0,"present":false},{"factor":"partners_ge_10_year","points":0,"present":false},{"factor":"uai_positive_or_unknown_year","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":"menza","formula_expression":"Menza = meth_or_poppers_6mo (true 11) + bacterial_sti (true 4) + partners_ge_10_year (true 3) + uai_positive_or_unknown_year (true 1); Menza 2009; max 19","max_score":19,"score":0}],"path":"/api/calc/menza"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bacterial_sti":{"description":"Current diagnosis or history of bacterial STI (Menza 2009: gonorrhea, chlamydia, or syphilis) as assigned by the caller. true scores 4. magent does not take a sexual history.","type":"boolean"},"meth_or_poppers_6mo":{"description":"Methamphetamine or inhaled nitrites (poppers) in the prior 6 months as assigned by the caller (Menza 2009). true scores 11. magent does not take a sexual history.","type":"boolean"},"partners_ge_10_year":{"description":"Ten or more male sex partners in the prior year as assigned by the caller (Menza 2009). true scores 3. magent does not take a sexual history.","type":"boolean"},"uai_positive_or_unknown_year":{"description":"Unprotected anal intercourse with a partner of positive or unknown HIV status in the prior year as assigned by the caller (Menza 2009). true scores 1. magent does not take a sexual history.","type":"boolean"}},"required":["meth_or_poppers_6mo","bacterial_sti","partners_ge_10_year","uai_positive_or_unknown_year"],"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},{"id":39038,"slug":"39038","resource":"https://api.magentlab.com/api/calc/meld_3","description":"Kim 2021 MELD 3.0 from sex, bilirubin, INR, creatinine, sodium, albumin, and dialysis. meld_3 = round(1.33*(female) + 4.56*ln(bilirubin) + 0.82*(137-Na) - 0.24*(137-Na)*ln(bilirubin) + 9.09*ln(INR) + 11.14*ln(creatinine) + 1.85*(3.5-albumin) - 1.83*(3.5-albumin)*ln(creatinine) + 6). Creatinine 1.0-3.0 (dialysis 3.0); bilirubin and INR floor 1.0; sodium 125-137; albumin 1.5-3.5. Not original MELD or MELD-Na. Not a transplant listing or allocation order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":3.5,"albumin_g_l":35,"bilirubin_mg_dl":1,"bilirubin_umol_l":17.1,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"dialysis":false,"inr":1,"sex":"male","sodium_mmol_l":137},{"albumin_g_dl":3.5,"albumin_g_l":35,"bilirubin_mg_dl":1,"bilirubin_umol_l":17.1,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"dialysis":false,"inr":1,"sex":"male","sodium_mmol_l":137}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":3.5,"albumin_used_g_dl":3.5,"bilirubin_mg_dl":1,"bilirubin_used_mg_dl":1,"citation":{"authors":"Kim WR, Mannalithara A, Heimbach JK, Kamath PS, Asrani SK, Biggins SW, et al.","doi":"10.1053/j.gastro.2021.08.050","id":"kim-2021","pmid":"34454066","source":"Gastroenterology. 2021;161(6):1887-1895.e4","title":"MELD 3.0: The Model for End-Stage Liver Disease Updated for the Modern Era"},"creatinine_mg_dl":1,"creatinine_used_mg_dl":1,"dialysis":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.","female":false,"formula":"kim_meld_3_2021","formula_expression":"meld_3 = round(1.33*(female) + 4.56*ln(bilirubin) + 0.82*(137 - Na) - 0.24*(137 - Na)*ln(bilirubin) + 9.09*ln(INR) + 11.14*ln(creatinine) + 1.85*(3.5 - albumin) - 1.83*(3.5 - albumin)*ln(creatinine) + 6)","inr":1,"inr_used":1,"meld_3":6,"sex":"male","sodium_mmol_l":137,"sodium_used_mmol_l":137},{"albumin_g_dl":3.5,"albumin_used_g_dl":3.5,"bilirubin_mg_dl":1,"bilirubin_used_mg_dl":1,"citation":{"authors":"Kim WR, Mannalithara A, Heimbach JK, Kamath PS, Asrani SK, Biggins SW, et al.","doi":"10.1053/j.gastro.2021.08.050","id":"kim-2021","pmid":"34454066","source":"Gastroenterology. 2021;161(6):1887-1895.e4","title":"MELD 3.0: The Model for End-Stage Liver Disease Updated for the Modern Era"},"creatinine_mg_dl":1,"creatinine_used_mg_dl":1,"dialysis":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.","female":false,"formula":"kim_meld_3_2021","formula_expression":"meld_3 = round(1.33*(female) + 4.56*ln(bilirubin) + 0.82*(137 - Na) - 0.24*(137 - Na)*ln(bilirubin) + 9.09*ln(INR) + 11.14*ln(creatinine) + 1.85*(3.5 - albumin) - 1.83*(3.5 - albumin)*ln(creatinine) + 6)","inr":1,"inr_used":1,"meld_3":6,"sex":"male","sodium_mmol_l":137,"sodium_used_mmol_l":137}],"path":"/api/calc/meld_3"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1.0-6.0). Provide this or albumin_g_l. Kim 2021 clamps 1.5-3.5.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. Kim 2021 floors at 1.0.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Kim 2021 floors at 1.0 and caps at 3.0.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"dialysis":{"description":"Dialysis twice in the prior week. true sets creatinine used to 3.0 (Kim 2021 ceiling).","type":"boolean"},"inr":{"description":"INR (0.8-10). Kim 2021 floors at 1.0.","type":"number"},"sex":{"description":"Sex used in the Kim 2021 female term (female adds 1.33).","enum":["female","male"],"type":"string"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). Kim 2021 clamps 125-137.","type":"number"}},"required":["sex","inr","sodium_mmol_l","dialysis"],"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":["meld-3","liver","cirrhosis","kim-2021","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:26:14.103Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:26:13.938Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":3.5,"albumin_g_l":35,"bilirubin_mg_dl":1,"bilirubin_umol_l":17.1,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"dialysis":false,"inr":1,"sex":"male","sodium_mmol_l":137},{"albumin_g_dl":3.5,"albumin_g_l":35,"bilirubin_mg_dl":1,"bilirubin_umol_l":17.1,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"dialysis":false,"inr":1,"sex":"male","sodium_mmol_l":137}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":3.5,"albumin_used_g_dl":3.5,"bilirubin_mg_dl":1,"bilirubin_used_mg_dl":1,"citation":{"authors":"Kim WR, Mannalithara A, Heimbach JK, Kamath PS, Asrani SK, Biggins SW, et al.","doi":"10.1053/j.gastro.2021.08.050","id":"kim-2021","pmid":"34454066","source":"Gastroenterology. 2021;161(6):1887-1895.e4","title":"MELD 3.0: The Model for End-Stage Liver Disease Updated for the Modern Era"},"creatinine_mg_dl":1,"creatinine_used_mg_dl":1,"dialysis":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.","female":false,"formula":"kim_meld_3_2021","formula_expression":"meld_3 = round(1.33*(female) + 4.56*ln(bilirubin) + 0.82*(137 - Na) - 0.24*(137 - Na)*ln(bilirubin) + 9.09*ln(INR) + 11.14*ln(creatinine) + 1.85*(3.5 - albumin) - 1.83*(3.5 - albumin)*ln(creatinine) + 6)","inr":1,"inr_used":1,"meld_3":6,"sex":"male","sodium_mmol_l":137,"sodium_used_mmol_l":137},{"albumin_g_dl":3.5,"albumin_used_g_dl":3.5,"bilirubin_mg_dl":1,"bilirubin_used_mg_dl":1,"citation":{"authors":"Kim WR, Mannalithara A, Heimbach JK, Kamath PS, Asrani SK, Biggins SW, et al.","doi":"10.1053/j.gastro.2021.08.050","id":"kim-2021","pmid":"34454066","source":"Gastroenterology. 2021;161(6):1887-1895.e4","title":"MELD 3.0: The Model for End-Stage Liver Disease Updated for the Modern Era"},"creatinine_mg_dl":1,"creatinine_used_mg_dl":1,"dialysis":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.","female":false,"formula":"kim_meld_3_2021","formula_expression":"meld_3 = round(1.33*(female) + 4.56*ln(bilirubin) + 0.82*(137 - Na) - 0.24*(137 - Na)*ln(bilirubin) + 9.09*ln(INR) + 11.14*ln(creatinine) + 1.85*(3.5 - albumin) - 1.83*(3.5 - albumin)*ln(creatinine) + 6)","inr":1,"inr_used":1,"meld_3":6,"sex":"male","sodium_mmol_l":137,"sodium_used_mmol_l":137}],"path":"/api/calc/meld_3"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1.0-6.0). Provide this or albumin_g_l. Kim 2021 clamps 1.5-3.5.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. Kim 2021 floors at 1.0.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Kim 2021 floors at 1.0 and caps at 3.0.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"dialysis":{"description":"Dialysis twice in the prior week. true sets creatinine used to 3.0 (Kim 2021 ceiling).","type":"boolean"},"inr":{"description":"INR (0.8-10). Kim 2021 floors at 1.0.","type":"number"},"sex":{"description":"Sex used in the Kim 2021 female term (female adds 1.33).","enum":["female","male"],"type":"string"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). Kim 2021 clamps 125-137.","type":"number"}},"required":["sex","inr","sodium_mmol_l","dialysis"],"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},{"id":39039,"slug":"39039","resource":"https://api.magentlab.com/api/calc/meld","description":"Kamath 2001 model for end-stage liver disease (MELD) from creatinine, bilirubin, INR, and etiology. meld = round(3.8*ln(bilirubin_mg_dL) + 11.2*ln(INR) + 9.6*ln(creatinine_mg_dL) + 6.4*etiology). etiology is 0 if cholestatic or alcoholic, else 1. Does not floor labs at 1.0 and does not include dialysis (later UNOS/OPTN). Not MELD-Na. Not a transplant listing or allocation order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bilirubin_mg_dl":4.2,"bilirubin_umol_l":71.82,"cholestatic_or_alcoholic":true,"creatinine_mg_dl":1.9,"creatinine_umol_l":168,"inr":1.2},{"bilirubin_mg_dl":4.2,"bilirubin_umol_l":71.82,"cholestatic_or_alcoholic":true,"creatinine_mg_dl":1.9,"creatinine_umol_l":168,"inr":1.2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bilirubin_mg_dl":4.2,"cholestatic_or_alcoholic":true,"citation":{"authors":"Kamath PS, Wiesner RH, Malinchoc M, Kremers W, Therneau TM, Kosberg CL, D'Amico G, Dickson ER, Kim WR","doi":"10.1053/jhep.2001.22172","id":"kamath-2001","pmid":"11172350","source":"Hepatology. 2001;33(2):464-470","title":"A model to predict survival in patients with end-stage liver disease"},"creatinine_mg_dl":1.9,"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.","etiology":0,"formula":"kamath_meld_2001","formula_expression":"meld = round(3.8 * ln(bilirubin_mg_dL) + 11.2 * ln(INR) + 9.6 * ln(creatinine_mg_dL) + 6.4 * etiology)","inr":1.2,"meld":14},{"bilirubin_mg_dl":4.2,"cholestatic_or_alcoholic":true,"citation":{"authors":"Kamath PS, Wiesner RH, Malinchoc M, Kremers W, Therneau TM, Kosberg CL, D'Amico G, Dickson ER, Kim WR","doi":"10.1053/jhep.2001.22172","id":"kamath-2001","pmid":"11172350","source":"Hepatology. 2001;33(2):464-470","title":"A model to predict survival in patients with end-stage liver disease"},"creatinine_mg_dl":1.9,"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.","etiology":0,"formula":"kamath_meld_2001","formula_expression":"meld = round(3.8 * ln(bilirubin_mg_dL) + 11.2 * ln(INR) + 9.6 * ln(creatinine_mg_dL) + 6.4 * etiology)","inr":1.2,"meld":14}],"path":"/api/calc/meld"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. Kamath 2001 tables include bilirubin 0.8; magent does not floor at 1.0.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"cholestatic_or_alcoholic":{"description":"true if the liver disease is cholestatic or alcoholic (etiology 0); false otherwise (etiology 1).","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Kamath 2001 does not floor creatinine at 1.0 and does not include dialysis.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"inr":{"description":"International normalized ratio (0.8-10). Kamath 2001 does not floor INR at 1.0.","type":"number"}},"required":["inr","cholestatic_or_alcoholic"],"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":["meld","liver","cirrhosis","kamath","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:26:13.012Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:26:12.8Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bilirubin_mg_dl":4.2,"bilirubin_umol_l":71.82,"cholestatic_or_alcoholic":true,"creatinine_mg_dl":1.9,"creatinine_umol_l":168,"inr":1.2},{"bilirubin_mg_dl":4.2,"bilirubin_umol_l":71.82,"cholestatic_or_alcoholic":true,"creatinine_mg_dl":1.9,"creatinine_umol_l":168,"inr":1.2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bilirubin_mg_dl":4.2,"cholestatic_or_alcoholic":true,"citation":{"authors":"Kamath PS, Wiesner RH, Malinchoc M, Kremers W, Therneau TM, Kosberg CL, D'Amico G, Dickson ER, Kim WR","doi":"10.1053/jhep.2001.22172","id":"kamath-2001","pmid":"11172350","source":"Hepatology. 2001;33(2):464-470","title":"A model to predict survival in patients with end-stage liver disease"},"creatinine_mg_dl":1.9,"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.","etiology":0,"formula":"kamath_meld_2001","formula_expression":"meld = round(3.8 * ln(bilirubin_mg_dL) + 11.2 * ln(INR) + 9.6 * ln(creatinine_mg_dL) + 6.4 * etiology)","inr":1.2,"meld":14},{"bilirubin_mg_dl":4.2,"cholestatic_or_alcoholic":true,"citation":{"authors":"Kamath PS, Wiesner RH, Malinchoc M, Kremers W, Therneau TM, Kosberg CL, D'Amico G, Dickson ER, Kim WR","doi":"10.1053/jhep.2001.22172","id":"kamath-2001","pmid":"11172350","source":"Hepatology. 2001;33(2):464-470","title":"A model to predict survival in patients with end-stage liver disease"},"creatinine_mg_dl":1.9,"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.","etiology":0,"formula":"kamath_meld_2001","formula_expression":"meld = round(3.8 * ln(bilirubin_mg_dL) + 11.2 * ln(INR) + 9.6 * ln(creatinine_mg_dL) + 6.4 * etiology)","inr":1.2,"meld":14}],"path":"/api/calc/meld"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. Kamath 2001 tables include bilirubin 0.8; magent does not floor at 1.0.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"cholestatic_or_alcoholic":{"description":"true if the liver disease is cholestatic or alcoholic (etiology 0); false otherwise (etiology 1).","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Kamath 2001 does not floor creatinine at 1.0 and does not include dialysis.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"inr":{"description":"International normalized ratio (0.8-10). Kamath 2001 does not floor INR at 1.0.","type":"number"}},"required":["inr","cholestatic_or_alcoholic"],"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},{"id":39040,"slug":"39040","resource":"https://api.magentlab.com/api/calc/mehran","description":"Mehran 2004 contrast-induced nephropathy risk score after PCI (eGFR model B). Points from hypotension, IABP, CHF, age >75, anemia, diabetes, contrast volume (1 per 100 mL), and caller eGFR. Returns integer score (max 41), risk group (low ≤5 through very_high ≥16), and development-set CIN percent. Not a CKD diagnosis; magent does not measure contrast or compute eGFR.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":60,"anemia":false,"chf":false,"contrast_ml":100,"diabetes":false,"egfr_ml_min":90,"hypotension":false,"iabp":false},{"age":60,"anemia":false,"chf":false,"contrast_ml":100,"diabetes":false,"egfr_ml_min":90,"hypotension":false,"iabp":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"anemia":false,"chf":false,"cin_percent":7.5,"citation":{"authors":"Mehran R, Aymong ED, Nikolsky E, et al.","doi":"10.1016/j.jacc.2004.06.068","id":"mehran-2004","pmid":"15464318","source":"J Am Coll Cardiol. 2004;44(7):1393-1399","title":"A simple risk score for prediction of contrast-induced nephropathy after percutaneous coronary intervention: development and initial validation"},"components":[{"factor":"hypotension","points":0,"present":false},{"factor":"iabp","points":0,"present":false},{"factor":"chf","points":0,"present":false},{"factor":"age_gt_75","points":0,"present":false,"value":60},{"factor":"anemia","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"contrast_ml","points":1,"present":true,"value":100},{"factor":"egfr_ml_min","points":0,"present":false,"value":90}],"contrast_ml":100,"diabetes":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.","egfr_ml_min":90,"formula":"mehran","formula_expression":"Mehran 2004 model B = hypotension(5) + iabp(5) + chf(5) + age>75(4) + anemia(3) + diabetes(3) + floor(contrast_ml/100) + eGFR (>=60: 0, 40 to <60: 2, 20 to <40: 4, <20: 6); max 41 with contrast_ml 10-1000; risk_group low <=5, moderate 6-10, high 11-15, very_high >=16; development CIN 7.5% / 14.0% / 26.1% / 57.3%","hypotension":false,"iabp":false,"max_score":41,"risk_group":"low","score":1},{"age_years":60,"anemia":false,"chf":false,"cin_percent":7.5,"citation":{"authors":"Mehran R, Aymong ED, Nikolsky E, et al.","doi":"10.1016/j.jacc.2004.06.068","id":"mehran-2004","pmid":"15464318","source":"J Am Coll Cardiol. 2004;44(7):1393-1399","title":"A simple risk score for prediction of contrast-induced nephropathy after percutaneous coronary intervention: development and initial validation"},"components":[{"factor":"hypotension","points":0,"present":false},{"factor":"iabp","points":0,"present":false},{"factor":"chf","points":0,"present":false},{"factor":"age_gt_75","points":0,"present":false,"value":60},{"factor":"anemia","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"contrast_ml","points":1,"present":true,"value":100},{"factor":"egfr_ml_min","points":0,"present":false,"value":90}],"contrast_ml":100,"diabetes":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.","egfr_ml_min":90,"formula":"mehran","formula_expression":"Mehran 2004 model B = hypotension(5) + iabp(5) + chf(5) + age>75(4) + anemia(3) + diabetes(3) + floor(contrast_ml/100) + eGFR (>=60: 0, 40 to <60: 2, 20 to <40: 4, <20: 6); max 41 with contrast_ml 10-1000; risk_group low <=5, moderate 6-10, high 11-15, very_high >=16; development CIN 7.5% / 14.0% / 26.1% / 57.3%","hypotension":false,"iabp":false,"max_score":41,"risk_group":"low","score":1}],"path":"/api/calc/mehran"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age >75 scores 4 (Mehran 2004 Table 3 model B). Age 75 scores 0.","type":"integer"},"anemia":{"description":"Anemia as assigned by the caller using WHO hematocrit <39% (men) or <36% (women) (Mehran 2004). true scores 3. Flag only; do not send a hematocrit number. magent does not assay hematocrit.","type":"boolean"},"chf":{"description":"CHF as assigned by the caller: NYHA III/IV and/or pulmonary edema (Mehran 2004). true scores 5. true or false. magent does not examine the patient.","type":"boolean"},"contrast_ml":{"description":"Contrast volume in mL (integer 10-1000). Scores 1 per 100 mL: floor(contrast_ml/100) (Mehran 2004). 100 scores 1; 199 scores 1; 200 scores 2. magent does not measure contrast.","type":"integer"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (Mehran 2004 Table 3). true scores 3. true or false.","type":"boolean"},"egfr_ml_min":{"description":"Caller-assigned eGFR in mL/min/1.73m² (5-150). Mehran 2004 Table 3 model B: ≥60 scores 0; 40 to <60 scores 2; 20 to <40 scores 4; <20 scores 6. magent does not compute eGFR and does not use race-based MDRD. Do not send serum creatinine; creatinine >1.5 is the alternate model A and would double-count.","type":"number"},"hypotension":{"description":"Hypotension as assigned by the caller: SBP <80 mm Hg for ≥1 h requiring inotropes or IABP within 24 h (Mehran 2004). true scores 5. true or false. magent does not measure blood pressure.","type":"boolean"},"iabp":{"description":"Intra-aortic balloon pump use as assigned by the caller (Mehran 2004 Table 3). true scores 5. Independent of the hypotension flag. true or false.","type":"boolean"}},"required":["age","hypotension","iabp","chf","anemia","diabetes","contrast_ml","egfr_ml_min"],"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":["mehran","cin","kidney","pci","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:26:11.534Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:26:11.422Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":60,"anemia":false,"chf":false,"contrast_ml":100,"diabetes":false,"egfr_ml_min":90,"hypotension":false,"iabp":false},{"age":60,"anemia":false,"chf":false,"contrast_ml":100,"diabetes":false,"egfr_ml_min":90,"hypotension":false,"iabp":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"anemia":false,"chf":false,"cin_percent":7.5,"citation":{"authors":"Mehran R, Aymong ED, Nikolsky E, et al.","doi":"10.1016/j.jacc.2004.06.068","id":"mehran-2004","pmid":"15464318","source":"J Am Coll Cardiol. 2004;44(7):1393-1399","title":"A simple risk score for prediction of contrast-induced nephropathy after percutaneous coronary intervention: development and initial validation"},"components":[{"factor":"hypotension","points":0,"present":false},{"factor":"iabp","points":0,"present":false},{"factor":"chf","points":0,"present":false},{"factor":"age_gt_75","points":0,"present":false,"value":60},{"factor":"anemia","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"contrast_ml","points":1,"present":true,"value":100},{"factor":"egfr_ml_min","points":0,"present":false,"value":90}],"contrast_ml":100,"diabetes":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.","egfr_ml_min":90,"formula":"mehran","formula_expression":"Mehran 2004 model B = hypotension(5) + iabp(5) + chf(5) + age>75(4) + anemia(3) + diabetes(3) + floor(contrast_ml/100) + eGFR (>=60: 0, 40 to <60: 2, 20 to <40: 4, <20: 6); max 41 with contrast_ml 10-1000; risk_group low <=5, moderate 6-10, high 11-15, very_high >=16; development CIN 7.5% / 14.0% / 26.1% / 57.3%","hypotension":false,"iabp":false,"max_score":41,"risk_group":"low","score":1},{"age_years":60,"anemia":false,"chf":false,"cin_percent":7.5,"citation":{"authors":"Mehran R, Aymong ED, Nikolsky E, et al.","doi":"10.1016/j.jacc.2004.06.068","id":"mehran-2004","pmid":"15464318","source":"J Am Coll Cardiol. 2004;44(7):1393-1399","title":"A simple risk score for prediction of contrast-induced nephropathy after percutaneous coronary intervention: development and initial validation"},"components":[{"factor":"hypotension","points":0,"present":false},{"factor":"iabp","points":0,"present":false},{"factor":"chf","points":0,"present":false},{"factor":"age_gt_75","points":0,"present":false,"value":60},{"factor":"anemia","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"contrast_ml","points":1,"present":true,"value":100},{"factor":"egfr_ml_min","points":0,"present":false,"value":90}],"contrast_ml":100,"diabetes":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.","egfr_ml_min":90,"formula":"mehran","formula_expression":"Mehran 2004 model B = hypotension(5) + iabp(5) + chf(5) + age>75(4) + anemia(3) + diabetes(3) + floor(contrast_ml/100) + eGFR (>=60: 0, 40 to <60: 2, 20 to <40: 4, <20: 6); max 41 with contrast_ml 10-1000; risk_group low <=5, moderate 6-10, high 11-15, very_high >=16; development CIN 7.5% / 14.0% / 26.1% / 57.3%","hypotension":false,"iabp":false,"max_score":41,"risk_group":"low","score":1}],"path":"/api/calc/mehran"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age >75 scores 4 (Mehran 2004 Table 3 model B). Age 75 scores 0.","type":"integer"},"anemia":{"description":"Anemia as assigned by the caller using WHO hematocrit <39% (men) or <36% (women) (Mehran 2004). true scores 3. Flag only; do not send a hematocrit number. magent does not assay hematocrit.","type":"boolean"},"chf":{"description":"CHF as assigned by the caller: NYHA III/IV and/or pulmonary edema (Mehran 2004). true scores 5. true or false. magent does not examine the patient.","type":"boolean"},"contrast_ml":{"description":"Contrast volume in mL (integer 10-1000). Scores 1 per 100 mL: floor(contrast_ml/100) (Mehran 2004). 100 scores 1; 199 scores 1; 200 scores 2. magent does not measure contrast.","type":"integer"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (Mehran 2004 Table 3). true scores 3. true or false.","type":"boolean"},"egfr_ml_min":{"description":"Caller-assigned eGFR in mL/min/1.73m² (5-150). Mehran 2004 Table 3 model B: ≥60 scores 0; 40 to <60 scores 2; 20 to <40 scores 4; <20 scores 6. magent does not compute eGFR and does not use race-based MDRD. Do not send serum creatinine; creatinine >1.5 is the alternate model A and would double-count.","type":"number"},"hypotension":{"description":"Hypotension as assigned by the caller: SBP <80 mm Hg for ≥1 h requiring inotropes or IABP within 24 h (Mehran 2004). true scores 5. true or false. magent does not measure blood pressure.","type":"boolean"},"iabp":{"description":"Intra-aortic balloon pump use as assigned by the caller (Mehran 2004 Table 3). true scores 5. Independent of the hypotension flag. true or false.","type":"boolean"}},"required":["age","hypotension","iabp","chf","anemia","diabetes","contrast_ml","egfr_ml_min"],"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},{"id":39041,"slug":"39041","resource":"https://api.magentlab.com/api/calc/mdrd","description":"IDMS 4-variable MDRD eGFR (Levey 2006) from standardized creatinine, adult age, sex, and caller-assigned Black. magent does not assign race. Deterministic published formula with citation; not CKD-EPI 2021 and not a dosing recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":65,"black":false,"creatinine_mg_dl":1.1,"creatinine_umol_l":97.262,"sex":"female"},{"age":65,"black":false,"creatinine_mg_dl":1.1,"creatinine_umol_l":97.262,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"black":false,"citation":{"authors":"Levey AS, Coresh J, Greene T, Stevens LA, Zhang YL, Hendriksen S, Kusek JW, Van Lente F","doi":"10.7326/0003-4819-145-4-200608150-00004","id":"levey-2006-mdrd","pmid":"16908729","source":"Ann Intern Med. 2006;145(4):247-254","title":"Using Standardized Serum Creatinine Values in the Modification of Diet in Renal Disease Study Equation for Estimating Glomerular Filtration Rate"},"creatinine_mg_dl":1.1,"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.","egfr_ml_min_1_73m2":49.8,"formula":"mdrd_idms_4var","formula_expression":"egfr = 175 * scr_mg_dl ** -1.154 * age ** -0.203 * sex_factor * black_factor; sex_factor = 0.742 if female else 1.0; black_factor = 1.212 if black else 1.0; IDMS-traceable 4-variable MDRD; GFR mL/min/1.73m2; Scr mg/dL","sex":"female","units":"mL/min/1.73m2"},{"age_years":65,"black":false,"citation":{"authors":"Levey AS, Coresh J, Greene T, Stevens LA, Zhang YL, Hendriksen S, Kusek JW, Van Lente F","doi":"10.7326/0003-4819-145-4-200608150-00004","id":"levey-2006-mdrd","pmid":"16908729","source":"Ann Intern Med. 2006;145(4):247-254","title":"Using Standardized Serum Creatinine Values in the Modification of Diet in Renal Disease Study Equation for Estimating Glomerular Filtration Rate"},"creatinine_mg_dl":1.1,"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.","egfr_ml_min_1_73m2":49.8,"formula":"mdrd_idms_4var","formula_expression":"egfr = 175 * scr_mg_dl ** -1.154 * age ** -0.203 * sex_factor * black_factor; sex_factor = 0.742 if female else 1.0; black_factor = 1.212 if black else 1.0; IDMS-traceable 4-variable MDRD; GFR mL/min/1.73m2; Scr mg/dL","sex":"female","units":"mL/min/1.73m2"}],"path":"/api/calc/mdrd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). MDRD is for adults.","type":"integer"},"black":{"description":"Caller-assigned Black as used in Levey 2006; magent does not assign race. true applies 1.212.","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42. IDMS-traceable standardized creatinine as in Levey 2006.","type":"number"},"sex":{"description":"Sex used by the published equation. female applies 0.742; male does not.","enum":["female","male"],"type":"string"}},"required":["age","sex","black"],"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":["mdrd","egfr","kidney","idms","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:21:24.567Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:21:24.447Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":65,"black":false,"creatinine_mg_dl":1.1,"creatinine_umol_l":97.262,"sex":"female"},{"age":65,"black":false,"creatinine_mg_dl":1.1,"creatinine_umol_l":97.262,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"black":false,"citation":{"authors":"Levey AS, Coresh J, Greene T, Stevens LA, Zhang YL, Hendriksen S, Kusek JW, Van Lente F","doi":"10.7326/0003-4819-145-4-200608150-00004","id":"levey-2006-mdrd","pmid":"16908729","source":"Ann Intern Med. 2006;145(4):247-254","title":"Using Standardized Serum Creatinine Values in the Modification of Diet in Renal Disease Study Equation for Estimating Glomerular Filtration Rate"},"creatinine_mg_dl":1.1,"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.","egfr_ml_min_1_73m2":49.8,"formula":"mdrd_idms_4var","formula_expression":"egfr = 175 * scr_mg_dl ** -1.154 * age ** -0.203 * sex_factor * black_factor; sex_factor = 0.742 if female else 1.0; black_factor = 1.212 if black else 1.0; IDMS-traceable 4-variable MDRD; GFR mL/min/1.73m2; Scr mg/dL","sex":"female","units":"mL/min/1.73m2"},{"age_years":65,"black":false,"citation":{"authors":"Levey AS, Coresh J, Greene T, Stevens LA, Zhang YL, Hendriksen S, Kusek JW, Van Lente F","doi":"10.7326/0003-4819-145-4-200608150-00004","id":"levey-2006-mdrd","pmid":"16908729","source":"Ann Intern Med. 2006;145(4):247-254","title":"Using Standardized Serum Creatinine Values in the Modification of Diet in Renal Disease Study Equation for Estimating Glomerular Filtration Rate"},"creatinine_mg_dl":1.1,"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.","egfr_ml_min_1_73m2":49.8,"formula":"mdrd_idms_4var","formula_expression":"egfr = 175 * scr_mg_dl ** -1.154 * age ** -0.203 * sex_factor * black_factor; sex_factor = 0.742 if female else 1.0; black_factor = 1.212 if black else 1.0; IDMS-traceable 4-variable MDRD; GFR mL/min/1.73m2; Scr mg/dL","sex":"female","units":"mL/min/1.73m2"}],"path":"/api/calc/mdrd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). MDRD is for adults.","type":"integer"},"black":{"description":"Caller-assigned Black as used in Levey 2006; magent does not assign race. true applies 1.212.","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42. IDMS-traceable standardized creatinine as in Levey 2006.","type":"number"},"sex":{"description":"Sex used by the published equation. female applies 0.742; male does not.","enum":["female","male"],"type":"string"}},"required":["age","sex","black"],"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},{"id":39042,"slug":"39042","resource":"https://api.magentlab.com/api/calc/mdq","description":"Hirschfeld 2000 Mood Disorder Questionnaire (MDQ): thirteen caller-assigned yes/no lifetime manic/hypomanic items, 1 point each, max 13. Positive screen requires score ≥7 AND same_period AND moderate_or_serious_problem (that paper: sensitivity 0.73 and specificity 0.90 in a psychiatric outpatient sample). Not a bipolar diagnosis, not a medical device, and not Hirschfeld 2003 general-population cutoff tweaks. magent does not interview the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"easily_distracted":false,"felt_hyper":false,"irritable":false,"less_sleep":false,"moderate_or_serious_problem":false,"more_active":false,"more_energy":false,"more_interested_in_sex":false,"more_self_confident":false,"more_social":false,"more_talkative":false,"racing_thoughts":false,"same_period":false,"spending_trouble":false,"unusual_risky":false},{"easily_distracted":false,"felt_hyper":false,"irritable":false,"less_sleep":false,"moderate_or_serious_problem":false,"more_active":false,"more_energy":false,"more_interested_in_sex":false,"more_self_confident":false,"more_social":false,"more_talkative":false,"racing_thoughts":false,"same_period":false,"spending_trouble":false,"unusual_risky":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hirschfeld RM, Williams JB, Spitzer RL, Calabrese JR, Flynn L, Keck PE Jr, Lewis L, McElroy SL, Post RM, Rapport DJ, Russell JM, Sachs GS, Zajecka J","doi":"10.1176/appi.ajp.157.11.1873","id":"hirschfeld-2000","pmid":"11058490","source":"Am J Psychiatry. 2000;157(11):1873-1875","title":"Development and validation of a screening instrument for bipolar spectrum disorder: the Mood Disorder Questionnaire"},"components":[{"factor":"felt_hyper","points":0,"present":false},{"factor":"irritable","points":0,"present":false},{"factor":"more_self_confident","points":0,"present":false},{"factor":"less_sleep","points":0,"present":false},{"factor":"more_talkative","points":0,"present":false},{"factor":"racing_thoughts","points":0,"present":false},{"factor":"easily_distracted","points":0,"present":false},{"factor":"more_energy","points":0,"present":false},{"factor":"more_active","points":0,"present":false},{"factor":"more_social","points":0,"present":false},{"factor":"more_interested_in_sex","points":0,"present":false},{"factor":"unusual_risky","points":0,"present":false},{"factor":"spending_trouble","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":"mdq","formula_expression":"MDQ = felt_hyper + irritable + more_self_confident + less_sleep + more_talkative + racing_thoughts + easily_distracted + more_energy + more_active + more_social + more_interested_in_sex + unusual_risky + spending_trouble; each 1 if true; max 13; Hirschfeld 2000 positive screen is score ≥7 AND same_period AND moderate_or_serious_problem","max_score":13,"moderate_or_serious_problem":false,"positive_screen":false,"same_period":false,"score":0},{"citation":{"authors":"Hirschfeld RM, Williams JB, Spitzer RL, Calabrese JR, Flynn L, Keck PE Jr, Lewis L, McElroy SL, Post RM, Rapport DJ, Russell JM, Sachs GS, Zajecka J","doi":"10.1176/appi.ajp.157.11.1873","id":"hirschfeld-2000","pmid":"11058490","source":"Am J Psychiatry. 2000;157(11):1873-1875","title":"Development and validation of a screening instrument for bipolar spectrum disorder: the Mood Disorder Questionnaire"},"components":[{"factor":"felt_hyper","points":0,"present":false},{"factor":"irritable","points":0,"present":false},{"factor":"more_self_confident","points":0,"present":false},{"factor":"less_sleep","points":0,"present":false},{"factor":"more_talkative","points":0,"present":false},{"factor":"racing_thoughts","points":0,"present":false},{"factor":"easily_distracted","points":0,"present":false},{"factor":"more_energy","points":0,"present":false},{"factor":"more_active","points":0,"present":false},{"factor":"more_social","points":0,"present":false},{"factor":"more_interested_in_sex","points":0,"present":false},{"factor":"unusual_risky","points":0,"present":false},{"factor":"spending_trouble","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":"mdq","formula_expression":"MDQ = felt_hyper + irritable + more_self_confident + less_sleep + more_talkative + racing_thoughts + easily_distracted + more_energy + more_active + more_social + more_interested_in_sex + unusual_risky + spending_trouble; each 1 if true; max 13; Hirschfeld 2000 positive screen is score ≥7 AND same_period AND moderate_or_serious_problem","max_score":13,"moderate_or_serious_problem":false,"positive_screen":false,"same_period":false,"score":0}],"path":"/api/calc/mdq"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"easily_distracted":{"description":"Hirschfeld 2000 MDQ item 7: so easily distracted by things around them that they had trouble concentrating or staying on track. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"felt_hyper":{"description":"Hirschfeld 2000 MDQ item 1: a period of time not the usual self when felt so good or so hyper that other people thought they were not the normal self, or so hyper that they got into trouble. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"irritable":{"description":"Hirschfeld 2000 MDQ item 2: so irritable that they shouted at people or started fights or arguments. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"less_sleep":{"description":"Hirschfeld 2000 MDQ item 4: got much less sleep than usual and found they didn't really miss it. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"moderate_or_serious_problem":{"description":"Hirschfeld 2000 question 3 published positive-screen threshold: the symptoms caused a moderate or serious problem (not no problem or a minor problem). true or false as assigned by the caller. magent does not interpret the four-level item. magent does not interview the patient.","type":"boolean"},"more_active":{"description":"Hirschfeld 2000 MDQ item 9: much more active or did many more things than usual. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"more_energy":{"description":"Hirschfeld 2000 MDQ item 8: much more energy than usual. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"more_interested_in_sex":{"description":"Hirschfeld 2000 MDQ item 11: much more interested in sex than usual. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"more_self_confident":{"description":"Hirschfeld 2000 MDQ item 3: felt much more self-confident than usual. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"more_social":{"description":"Hirschfeld 2000 MDQ item 10: much more social or outgoing than usual (for example, telephoned friends in the middle of the night). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"more_talkative":{"description":"Hirschfeld 2000 MDQ item 5: much more talkative or spoke much faster than usual. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"racing_thoughts":{"description":"Hirschfeld 2000 MDQ item 6: thoughts raced through their head or they couldn't slow their mind down. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"same_period":{"description":"Hirschfeld 2000 question 2: several of the endorsed symptom items happened during the same period of time. true or false as assigned by the caller. Required for the published positive-screen rule. magent does not interview the patient.","type":"boolean"},"spending_trouble":{"description":"Hirschfeld 2000 MDQ item 13: spending money got them or their family into trouble. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"unusual_risky":{"description":"Hirschfeld 2000 MDQ item 12: did things that were unusual for them or that other people might have thought were excessive, foolish, or risky. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"}},"required":["felt_hyper","irritable","more_self_confident","less_sleep","more_talkative","racing_thoughts","easily_distracted","more_energy","more_active","more_social","more_interested_in_sex","unusual_risky","spending_trouble","same_period","moderate_or_serious_problem"],"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":["mdq","bipolar","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:21:23.519Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:21:23.386Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"easily_distracted":false,"felt_hyper":false,"irritable":false,"less_sleep":false,"moderate_or_serious_problem":false,"more_active":false,"more_energy":false,"more_interested_in_sex":false,"more_self_confident":false,"more_social":false,"more_talkative":false,"racing_thoughts":false,"same_period":false,"spending_trouble":false,"unusual_risky":false},{"easily_distracted":false,"felt_hyper":false,"irritable":false,"less_sleep":false,"moderate_or_serious_problem":false,"more_active":false,"more_energy":false,"more_interested_in_sex":false,"more_self_confident":false,"more_social":false,"more_talkative":false,"racing_thoughts":false,"same_period":false,"spending_trouble":false,"unusual_risky":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hirschfeld RM, Williams JB, Spitzer RL, Calabrese JR, Flynn L, Keck PE Jr, Lewis L, McElroy SL, Post RM, Rapport DJ, Russell JM, Sachs GS, Zajecka J","doi":"10.1176/appi.ajp.157.11.1873","id":"hirschfeld-2000","pmid":"11058490","source":"Am J Psychiatry. 2000;157(11):1873-1875","title":"Development and validation of a screening instrument for bipolar spectrum disorder: the Mood Disorder Questionnaire"},"components":[{"factor":"felt_hyper","points":0,"present":false},{"factor":"irritable","points":0,"present":false},{"factor":"more_self_confident","points":0,"present":false},{"factor":"less_sleep","points":0,"present":false},{"factor":"more_talkative","points":0,"present":false},{"factor":"racing_thoughts","points":0,"present":false},{"factor":"easily_distracted","points":0,"present":false},{"factor":"more_energy","points":0,"present":false},{"factor":"more_active","points":0,"present":false},{"factor":"more_social","points":0,"present":false},{"factor":"more_interested_in_sex","points":0,"present":false},{"factor":"unusual_risky","points":0,"present":false},{"factor":"spending_trouble","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":"mdq","formula_expression":"MDQ = felt_hyper + irritable + more_self_confident + less_sleep + more_talkative + racing_thoughts + easily_distracted + more_energy + more_active + more_social + more_interested_in_sex + unusual_risky + spending_trouble; each 1 if true; max 13; Hirschfeld 2000 positive screen is score ≥7 AND same_period AND moderate_or_serious_problem","max_score":13,"moderate_or_serious_problem":false,"positive_screen":false,"same_period":false,"score":0},{"citation":{"authors":"Hirschfeld RM, Williams JB, Spitzer RL, Calabrese JR, Flynn L, Keck PE Jr, Lewis L, McElroy SL, Post RM, Rapport DJ, Russell JM, Sachs GS, Zajecka J","doi":"10.1176/appi.ajp.157.11.1873","id":"hirschfeld-2000","pmid":"11058490","source":"Am J Psychiatry. 2000;157(11):1873-1875","title":"Development and validation of a screening instrument for bipolar spectrum disorder: the Mood Disorder Questionnaire"},"components":[{"factor":"felt_hyper","points":0,"present":false},{"factor":"irritable","points":0,"present":false},{"factor":"more_self_confident","points":0,"present":false},{"factor":"less_sleep","points":0,"present":false},{"factor":"more_talkative","points":0,"present":false},{"factor":"racing_thoughts","points":0,"present":false},{"factor":"easily_distracted","points":0,"present":false},{"factor":"more_energy","points":0,"present":false},{"factor":"more_active","points":0,"present":false},{"factor":"more_social","points":0,"present":false},{"factor":"more_interested_in_sex","points":0,"present":false},{"factor":"unusual_risky","points":0,"present":false},{"factor":"spending_trouble","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":"mdq","formula_expression":"MDQ = felt_hyper + irritable + more_self_confident + less_sleep + more_talkative + racing_thoughts + easily_distracted + more_energy + more_active + more_social + more_interested_in_sex + unusual_risky + spending_trouble; each 1 if true; max 13; Hirschfeld 2000 positive screen is score ≥7 AND same_period AND moderate_or_serious_problem","max_score":13,"moderate_or_serious_problem":false,"positive_screen":false,"same_period":false,"score":0}],"path":"/api/calc/mdq"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"easily_distracted":{"description":"Hirschfeld 2000 MDQ item 7: so easily distracted by things around them that they had trouble concentrating or staying on track. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"felt_hyper":{"description":"Hirschfeld 2000 MDQ item 1: a period of time not the usual self when felt so good or so hyper that other people thought they were not the normal self, or so hyper that they got into trouble. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"irritable":{"description":"Hirschfeld 2000 MDQ item 2: so irritable that they shouted at people or started fights or arguments. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"less_sleep":{"description":"Hirschfeld 2000 MDQ item 4: got much less sleep than usual and found they didn't really miss it. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"moderate_or_serious_problem":{"description":"Hirschfeld 2000 question 3 published positive-screen threshold: the symptoms caused a moderate or serious problem (not no problem or a minor problem). true or false as assigned by the caller. magent does not interpret the four-level item. magent does not interview the patient.","type":"boolean"},"more_active":{"description":"Hirschfeld 2000 MDQ item 9: much more active or did many more things than usual. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"more_energy":{"description":"Hirschfeld 2000 MDQ item 8: much more energy than usual. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"more_interested_in_sex":{"description":"Hirschfeld 2000 MDQ item 11: much more interested in sex than usual. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"more_self_confident":{"description":"Hirschfeld 2000 MDQ item 3: felt much more self-confident than usual. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"more_social":{"description":"Hirschfeld 2000 MDQ item 10: much more social or outgoing than usual (for example, telephoned friends in the middle of the night). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"more_talkative":{"description":"Hirschfeld 2000 MDQ item 5: much more talkative or spoke much faster than usual. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"racing_thoughts":{"description":"Hirschfeld 2000 MDQ item 6: thoughts raced through their head or they couldn't slow their mind down. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"same_period":{"description":"Hirschfeld 2000 question 2: several of the endorsed symptom items happened during the same period of time. true or false as assigned by the caller. Required for the published positive-screen rule. magent does not interview the patient.","type":"boolean"},"spending_trouble":{"description":"Hirschfeld 2000 MDQ item 13: spending money got them or their family into trouble. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"unusual_risky":{"description":"Hirschfeld 2000 MDQ item 12: did things that were unusual for them or that other people might have thought were excessive, foolish, or risky. true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"}},"required":["felt_hyper","irritable","more_self_confident","less_sleep","more_talkative","racing_thoughts","easily_distracted","more_energy","more_active","more_social","more_interested_in_sex","unusual_risky","spending_trouble","same_period","moderate_or_serious_problem"],"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},{"id":39043,"slug":"39043","resource":"https://api.magentlab.com/api/calc/mdi","description":"Bech 2001 MDI: 12 caller-assigned integers 0-5 (at no time to all the time, last 2 weeks) covering 10 ICD-10/DSM-IV depression symptoms. Psychomotor (restless vs subdued) and appetite (reduced vs increased) each add the max of the pair, not the sum. Total 0-50. This paper's optimal total-score cutoff is 26. magent does not interview, apply Olsen 2003 HAM-D mapped bands, DSM-IV/ICD-10 algorithms, PHQ-9, QIDS, or Hamilton depression. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"concentration":0,"guilt":0,"increased_appetite":0,"lack_of_energy":0,"life_not_worth_living":0,"lost_interest":0,"low_self_confidence":0,"low_spirits":0,"reduced_appetite":0,"restless":0,"sleep":0,"subdued":0},{"concentration":0,"guilt":0,"increased_appetite":0,"lack_of_energy":0,"life_not_worth_living":0,"lost_interest":0,"low_self_confidence":0,"low_spirits":0,"reduced_appetite":0,"restless":0,"sleep":0,"subdued":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"appetite_points":0,"at_or_above_cutoff":false,"citation":{"authors":"Bech P, Rasmussen NA, Olsen LR, Noerholm V, Abildgaard W","doi":"10.1016/s0165-0327(00)00309-8","id":"bech-2001","pmid":"11578668","source":"J Affect Disord. 2001;66(2-3):159-164","title":"The sensitivity and specificity of the Major Depression Inventory, using the Present State Examination as the index of diagnostic validity"},"components":[{"factor":"low_spirits","points":0,"present":true,"value":0},{"factor":"lost_interest","points":0,"present":true,"value":0},{"factor":"lack_of_energy","points":0,"present":true,"value":0},{"factor":"low_self_confidence","points":0,"present":true,"value":0},{"factor":"guilt","points":0,"present":true,"value":0},{"factor":"life_not_worth_living","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"psychomotor","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0}],"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":"mdi","formula_expression":"MDI = low_spirits + lost_interest + lack_of_energy + low_self_confidence + guilt + life_not_worth_living + concentration + max(restless, subdued) + sleep + max(reduced_appetite, increased_appetite); each caller-assigned 0-5; ten scored items; max 50; Bech 2001 optimal total-score cutoff 26","max_score":50,"psychomotor_points":0,"score":0},{"appetite_points":0,"at_or_above_cutoff":false,"citation":{"authors":"Bech P, Rasmussen NA, Olsen LR, Noerholm V, Abildgaard W","doi":"10.1016/s0165-0327(00)00309-8","id":"bech-2001","pmid":"11578668","source":"J Affect Disord. 2001;66(2-3):159-164","title":"The sensitivity and specificity of the Major Depression Inventory, using the Present State Examination as the index of diagnostic validity"},"components":[{"factor":"low_spirits","points":0,"present":true,"value":0},{"factor":"lost_interest","points":0,"present":true,"value":0},{"factor":"lack_of_energy","points":0,"present":true,"value":0},{"factor":"low_self_confidence","points":0,"present":true,"value":0},{"factor":"guilt","points":0,"present":true,"value":0},{"factor":"life_not_worth_living","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"psychomotor","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0}],"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":"mdi","formula_expression":"MDI = low_spirits + lost_interest + lack_of_energy + low_self_confidence + guilt + life_not_worth_living + concentration + max(restless, subdued) + sleep + max(reduced_appetite, increased_appetite); each caller-assigned 0-5; ten scored items; max 50; Bech 2001 optimal total-score cutoff 26","max_score":50,"psychomotor_points":0,"score":0}],"path":"/api/calc/mdi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"concentration":{"description":"Caller-assigned Bech 2001 MDI item 7 (integer 0-5): difficulty concentrating, for example when reading the newspaper or watching television. Adds as published. magent does not interpret the item.","type":"integer"},"guilt":{"description":"Caller-assigned Bech 2001 MDI item 5 (integer 0-5): bad conscience or feelings of guilt. Adds as published. magent does not interpret the item.","type":"integer"},"increased_appetite":{"description":"Caller-assigned Bech 2001 MDI item 10b (integer 0-5): increased appetite. The appetite item is the maximum of reduced_appetite and increased_appetite, not the sum. magent does not interpret the item.","type":"integer"},"lack_of_energy":{"description":"Caller-assigned Bech 2001 MDI item 3 (integer 0-5): lacking in energy and strength. Adds as published. magent does not interpret the item.","type":"integer"},"life_not_worth_living":{"description":"Caller-assigned Bech 2001 MDI item 6 (integer 0-5): felt that life was not worth living. Adds as published. magent does not interpret the item.","type":"integer"},"lost_interest":{"description":"Caller-assigned Bech 2001 MDI item 2 (integer 0-5): lost interest in daily activities. Adds as published. magent does not interpret the item.","type":"integer"},"low_self_confidence":{"description":"Caller-assigned Bech 2001 MDI item 4 (integer 0-5): felt less self-confident. Adds as published. magent does not interpret the item.","type":"integer"},"low_spirits":{"description":"Caller-assigned Bech 2001 MDI item 1 (integer 0-5): felt low in spirits or sad over the last 2 weeks (0 at no time, 1 some of the time, 2 slightly less than half of the time, 3 slightly more than half of the time, 4 most of the time, 5 all the time). Adds as published. magent does not interpret the item.","type":"integer"},"reduced_appetite":{"description":"Caller-assigned Bech 2001 MDI item 10a (integer 0-5): reduced appetite. The appetite item is the maximum of reduced_appetite and increased_appetite, not the sum. magent does not interpret the item.","type":"integer"},"restless":{"description":"Caller-assigned Bech 2001 MDI item 8a (integer 0-5): felt very restless. The psychomotor item is the maximum of restless and subdued, not the sum. magent does not interpret the item.","type":"integer"},"sleep":{"description":"Caller-assigned Bech 2001 MDI item 9 (integer 0-5): trouble sleeping at night. Adds as published. magent does not interpret the item.","type":"integer"},"subdued":{"description":"Caller-assigned Bech 2001 MDI item 8b (integer 0-5): felt subdued or slowed down. The psychomotor item is the maximum of restless and subdued, not the sum. magent does not interpret the item.","type":"integer"}},"required":["low_spirits","lost_interest","lack_of_energy","low_self_confidence","guilt","life_not_worth_living","concentration","restless","subdued","sleep","reduced_appetite","increased_appetite"],"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":["mdi","depression","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:21:22.379Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:21:22.23Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"concentration":0,"guilt":0,"increased_appetite":0,"lack_of_energy":0,"life_not_worth_living":0,"lost_interest":0,"low_self_confidence":0,"low_spirits":0,"reduced_appetite":0,"restless":0,"sleep":0,"subdued":0},{"concentration":0,"guilt":0,"increased_appetite":0,"lack_of_energy":0,"life_not_worth_living":0,"lost_interest":0,"low_self_confidence":0,"low_spirits":0,"reduced_appetite":0,"restless":0,"sleep":0,"subdued":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"appetite_points":0,"at_or_above_cutoff":false,"citation":{"authors":"Bech P, Rasmussen NA, Olsen LR, Noerholm V, Abildgaard W","doi":"10.1016/s0165-0327(00)00309-8","id":"bech-2001","pmid":"11578668","source":"J Affect Disord. 2001;66(2-3):159-164","title":"The sensitivity and specificity of the Major Depression Inventory, using the Present State Examination as the index of diagnostic validity"},"components":[{"factor":"low_spirits","points":0,"present":true,"value":0},{"factor":"lost_interest","points":0,"present":true,"value":0},{"factor":"lack_of_energy","points":0,"present":true,"value":0},{"factor":"low_self_confidence","points":0,"present":true,"value":0},{"factor":"guilt","points":0,"present":true,"value":0},{"factor":"life_not_worth_living","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"psychomotor","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0}],"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":"mdi","formula_expression":"MDI = low_spirits + lost_interest + lack_of_energy + low_self_confidence + guilt + life_not_worth_living + concentration + max(restless, subdued) + sleep + max(reduced_appetite, increased_appetite); each caller-assigned 0-5; ten scored items; max 50; Bech 2001 optimal total-score cutoff 26","max_score":50,"psychomotor_points":0,"score":0},{"appetite_points":0,"at_or_above_cutoff":false,"citation":{"authors":"Bech P, Rasmussen NA, Olsen LR, Noerholm V, Abildgaard W","doi":"10.1016/s0165-0327(00)00309-8","id":"bech-2001","pmid":"11578668","source":"J Affect Disord. 2001;66(2-3):159-164","title":"The sensitivity and specificity of the Major Depression Inventory, using the Present State Examination as the index of diagnostic validity"},"components":[{"factor":"low_spirits","points":0,"present":true,"value":0},{"factor":"lost_interest","points":0,"present":true,"value":0},{"factor":"lack_of_energy","points":0,"present":true,"value":0},{"factor":"low_self_confidence","points":0,"present":true,"value":0},{"factor":"guilt","points":0,"present":true,"value":0},{"factor":"life_not_worth_living","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"psychomotor","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0}],"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":"mdi","formula_expression":"MDI = low_spirits + lost_interest + lack_of_energy + low_self_confidence + guilt + life_not_worth_living + concentration + max(restless, subdued) + sleep + max(reduced_appetite, increased_appetite); each caller-assigned 0-5; ten scored items; max 50; Bech 2001 optimal total-score cutoff 26","max_score":50,"psychomotor_points":0,"score":0}],"path":"/api/calc/mdi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"concentration":{"description":"Caller-assigned Bech 2001 MDI item 7 (integer 0-5): difficulty concentrating, for example when reading the newspaper or watching television. Adds as published. magent does not interpret the item.","type":"integer"},"guilt":{"description":"Caller-assigned Bech 2001 MDI item 5 (integer 0-5): bad conscience or feelings of guilt. Adds as published. magent does not interpret the item.","type":"integer"},"increased_appetite":{"description":"Caller-assigned Bech 2001 MDI item 10b (integer 0-5): increased appetite. The appetite item is the maximum of reduced_appetite and increased_appetite, not the sum. magent does not interpret the item.","type":"integer"},"lack_of_energy":{"description":"Caller-assigned Bech 2001 MDI item 3 (integer 0-5): lacking in energy and strength. Adds as published. magent does not interpret the item.","type":"integer"},"life_not_worth_living":{"description":"Caller-assigned Bech 2001 MDI item 6 (integer 0-5): felt that life was not worth living. Adds as published. magent does not interpret the item.","type":"integer"},"lost_interest":{"description":"Caller-assigned Bech 2001 MDI item 2 (integer 0-5): lost interest in daily activities. Adds as published. magent does not interpret the item.","type":"integer"},"low_self_confidence":{"description":"Caller-assigned Bech 2001 MDI item 4 (integer 0-5): felt less self-confident. Adds as published. magent does not interpret the item.","type":"integer"},"low_spirits":{"description":"Caller-assigned Bech 2001 MDI item 1 (integer 0-5): felt low in spirits or sad over the last 2 weeks (0 at no time, 1 some of the time, 2 slightly less than half of the time, 3 slightly more than half of the time, 4 most of the time, 5 all the time). Adds as published. magent does not interpret the item.","type":"integer"},"reduced_appetite":{"description":"Caller-assigned Bech 2001 MDI item 10a (integer 0-5): reduced appetite. The appetite item is the maximum of reduced_appetite and increased_appetite, not the sum. magent does not interpret the item.","type":"integer"},"restless":{"description":"Caller-assigned Bech 2001 MDI item 8a (integer 0-5): felt very restless. The psychomotor item is the maximum of restless and subdued, not the sum. magent does not interpret the item.","type":"integer"},"sleep":{"description":"Caller-assigned Bech 2001 MDI item 9 (integer 0-5): trouble sleeping at night. Adds as published. magent does not interpret the item.","type":"integer"},"subdued":{"description":"Caller-assigned Bech 2001 MDI item 8b (integer 0-5): felt subdued or slowed down. The psychomotor item is the maximum of restless and subdued, not the sum. magent does not interpret the item.","type":"integer"}},"required":["low_spirits","lost_interest","lack_of_energy","low_self_confidence","guilt","life_not_worth_living","concentration","restless","subdued","sleep","reduced_appetite","increased_appetite"],"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},{"id":39044,"slug":"39044","resource":"https://api.magentlab.com/api/calc/martin_ldl","description":"Martin 2013 estimated LDL-C from total cholesterol, HDL, and triglycerides in mg/dL. Adjustable TG:VLDL-C factor from the published 180-cell table by non-HDL-C and TG strata. Not Friedewald factor 5, not Sampson, not a diagnosis or statin order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hdl_mg_dl":50,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150},{"hdl_mg_dl":50,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Martin SS, Blaha MJ, Elshazly MB, et al.","doi":"10.1001/jama.2013.280532","id":"martin-2013","pmid":"24240933","source":"JAMA. 2013;310(19):2061-2068","title":"Comparison of a novel method vs the Friedewald equation for estimating low-density lipoprotein cholesterol"},"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.","factor":5.7,"formula":"martin","formula_expression":"ldl_c_mg_dl = (total_cholesterol_mg_dl - hdl_mg_dl) - (triglycerides_mg_dl / factor); factor is the Martin 2013 180-cell median TG:VLDL-C ratio by non-HDL-C and TG strata (mg/dL); not Friedewald factor 5","hdl_mg_dl":50,"ldl_c_mg_dl":123.7,"non_hdl_c_mg_dl":150,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150},{"citation":{"authors":"Martin SS, Blaha MJ, Elshazly MB, et al.","doi":"10.1001/jama.2013.280532","id":"martin-2013","pmid":"24240933","source":"JAMA. 2013;310(19):2061-2068","title":"Comparison of a novel method vs the Friedewald equation for estimating low-density lipoprotein cholesterol"},"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.","factor":5.7,"formula":"martin","formula_expression":"ldl_c_mg_dl = (total_cholesterol_mg_dl - hdl_mg_dl) - (triglycerides_mg_dl / factor); factor is the Martin 2013 180-cell median TG:VLDL-C ratio by non-HDL-C and TG strata (mg/dL); not Friedewald factor 5","hdl_mg_dl":50,"ldl_c_mg_dl":123.7,"non_hdl_c_mg_dl":150,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150}],"path":"/api/calc/martin_ldl"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Must be less than total cholesterol so non-HDL-C is positive.","type":"number"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-500). mg/dL only; magent does not convert mmol/L.","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (7-399). The Martin 2013 table first TG row starts at 7. Values of 400 or higher are rejected; that is the paper's primary analysis cut.","type":"number"}},"required":["total_cholesterol_mg_dl","hdl_mg_dl","triglycerides_mg_dl"],"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":["ldl","martin","lipids","cholesterol","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:16:23.012Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:16:22.757Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hdl_mg_dl":50,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150},{"hdl_mg_dl":50,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Martin SS, Blaha MJ, Elshazly MB, et al.","doi":"10.1001/jama.2013.280532","id":"martin-2013","pmid":"24240933","source":"JAMA. 2013;310(19):2061-2068","title":"Comparison of a novel method vs the Friedewald equation for estimating low-density lipoprotein cholesterol"},"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.","factor":5.7,"formula":"martin","formula_expression":"ldl_c_mg_dl = (total_cholesterol_mg_dl - hdl_mg_dl) - (triglycerides_mg_dl / factor); factor is the Martin 2013 180-cell median TG:VLDL-C ratio by non-HDL-C and TG strata (mg/dL); not Friedewald factor 5","hdl_mg_dl":50,"ldl_c_mg_dl":123.7,"non_hdl_c_mg_dl":150,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150},{"citation":{"authors":"Martin SS, Blaha MJ, Elshazly MB, et al.","doi":"10.1001/jama.2013.280532","id":"martin-2013","pmid":"24240933","source":"JAMA. 2013;310(19):2061-2068","title":"Comparison of a novel method vs the Friedewald equation for estimating low-density lipoprotein cholesterol"},"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.","factor":5.7,"formula":"martin","formula_expression":"ldl_c_mg_dl = (total_cholesterol_mg_dl - hdl_mg_dl) - (triglycerides_mg_dl / factor); factor is the Martin 2013 180-cell median TG:VLDL-C ratio by non-HDL-C and TG strata (mg/dL); not Friedewald factor 5","hdl_mg_dl":50,"ldl_c_mg_dl":123.7,"non_hdl_c_mg_dl":150,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150}],"path":"/api/calc/martin_ldl"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Must be less than total cholesterol so non-HDL-C is positive.","type":"number"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-500). mg/dL only; magent does not convert mmol/L.","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (7-399). The Martin 2013 table first TG row starts at 7. Values of 400 or higher are rejected; that is the paper's primary analysis cut.","type":"number"}},"required":["total_cholesterol_mg_dl","hdl_mg_dl","triglycerides_mg_dl"],"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},{"id":39045,"slug":"39045","resource":"https://api.magentlab.com/api/calc/mapi","description":"Guilbert 2004 mAPI (PEAK Table I). Positive if 4+ wheeze episodes in one year (one MD-diagnosed) plus 1+ major or 2+ minor. Majors: parental asthma, MD atopic dermatitis, aeroallergen sensitization. Minors: milk/egg/peanut sensitization, wheezing unrelated to colds, eosinophils ≥4%. Not original API. Not m²API. Not an asthma diagnosis. magent does not examine the child. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"aeroallergen_sensitization":false,"eosinophilia_ge_4pct":false,"food_sensitization_milk_egg_peanut":false,"four_or_more_wheeze_episodes":false,"md_atopic_dermatitis":false,"parental_asthma":false,"wheezing_unrelated_to_colds":false},{"aeroallergen_sensitization":false,"eosinophilia_ge_4pct":false,"food_sensitization_milk_egg_peanut":false,"four_or_more_wheeze_episodes":false,"md_atopic_dermatitis":false,"parental_asthma":false,"wheezing_unrelated_to_colds":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Guilbert TW, Morgan WJ, Zeiger RS, et al.","doi":"10.1016/j.jaci.2004.09.020","id":"guilbert-2004","pmid":"15577824","source":"J Allergy Clin Immunol. 2004;114(6):1282-1287","title":"Atopic characteristics of children with recurrent wheezing at high risk for the development of childhood asthma"},"criteria":[{"factor":"four_or_more_wheeze_episodes","met":false},{"factor":"parental_asthma","met":false},{"factor":"md_atopic_dermatitis","met":false},{"factor":"aeroallergen_sensitization","met":false},{"factor":"food_sensitization_milk_egg_peanut","met":false},{"factor":"wheezing_unrelated_to_colds","met":false},{"factor":"eosinophilia_ge_4pct","met":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":"mapi","formula_expression":"positive iff four_or_more_wheeze_episodes and (major_count >= 1 or minor_count >= 2); majors parental_asthma, md_atopic_dermatitis, aeroallergen_sensitization; minors food_sensitization_milk_egg_peanut, wheezing_unrelated_to_colds, eosinophilia_ge_4pct (Guilbert 2004 PEAK Table I)","four_or_more_wheeze_episodes":false,"major_count":0,"minor_count":0,"positive":false},{"citation":{"authors":"Guilbert TW, Morgan WJ, Zeiger RS, et al.","doi":"10.1016/j.jaci.2004.09.020","id":"guilbert-2004","pmid":"15577824","source":"J Allergy Clin Immunol. 2004;114(6):1282-1287","title":"Atopic characteristics of children with recurrent wheezing at high risk for the development of childhood asthma"},"criteria":[{"factor":"four_or_more_wheeze_episodes","met":false},{"factor":"parental_asthma","met":false},{"factor":"md_atopic_dermatitis","met":false},{"factor":"aeroallergen_sensitization","met":false},{"factor":"food_sensitization_milk_egg_peanut","met":false},{"factor":"wheezing_unrelated_to_colds","met":false},{"factor":"eosinophilia_ge_4pct","met":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":"mapi","formula_expression":"positive iff four_or_more_wheeze_episodes and (major_count >= 1 or minor_count >= 2); majors parental_asthma, md_atopic_dermatitis, aeroallergen_sensitization; minors food_sensitization_milk_egg_peanut, wheezing_unrelated_to_colds, eosinophilia_ge_4pct (Guilbert 2004 PEAK Table I)","four_or_more_wheeze_episodes":false,"major_count":0,"minor_count":0,"positive":false}],"path":"/api/calc/mapi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"aeroallergen_sensitization":{"description":"Allergic sensitization to at least one aeroallergen as assigned by the caller. true or false. Major criterion (Guilbert 2004 PEAK Table I). magent does not interpret allergy testing.","type":"boolean"},"eosinophilia_ge_4pct":{"description":"Blood eosinophils ≥4% of WBC as assigned by the caller (Guilbert 2004 PEAK Table I; 4% or greater). true or false. Minor criterion. magent does not take an eosinophil percent and does not interpret a CBC. Not Castro-Rodriguez circulating eosinophils >4%.","type":"boolean"},"food_sensitization_milk_egg_peanut":{"description":"Allergic sensitization to milk, egg, or peanuts as assigned by the caller. true or false. Minor criterion (Guilbert 2004 PEAK Table I). magent does not interpret allergy testing.","type":"boolean"},"four_or_more_wheeze_episodes":{"description":"Caller-assigned history of 4 or more wheezing episodes in one year with at least one physician-diagnosed episode (Guilbert 2004 PEAK Table I primary criterion). true or false. magent does not take a numeric episode count.","type":"boolean"},"md_atopic_dermatitis":{"description":"Physician-diagnosed atopic dermatitis as assigned by the caller. true or false. Major criterion (Guilbert 2004 PEAK Table I). magent does not examine the child.","type":"boolean"},"parental_asthma":{"description":"Parental asthma as assigned by the caller. true or false. Major criterion (Guilbert 2004 PEAK Table I). magent does not take a family history.","type":"boolean"},"wheezing_unrelated_to_colds":{"description":"Wheezing unrelated to colds as assigned by the caller. true or false. Minor criterion (Guilbert 2004 PEAK Table I). magent does not auscultate.","type":"boolean"}},"required":["four_or_more_wheeze_episodes","parental_asthma","md_atopic_dermatitis","aeroallergen_sensitization","food_sensitization_milk_egg_peanut","wheezing_unrelated_to_colds","eosinophilia_ge_4pct"],"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":["mapi","pediatric-wheeze","respiratory","predictive-index","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:16:21.593Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:16:21.488Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"aeroallergen_sensitization":false,"eosinophilia_ge_4pct":false,"food_sensitization_milk_egg_peanut":false,"four_or_more_wheeze_episodes":false,"md_atopic_dermatitis":false,"parental_asthma":false,"wheezing_unrelated_to_colds":false},{"aeroallergen_sensitization":false,"eosinophilia_ge_4pct":false,"food_sensitization_milk_egg_peanut":false,"four_or_more_wheeze_episodes":false,"md_atopic_dermatitis":false,"parental_asthma":false,"wheezing_unrelated_to_colds":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Guilbert TW, Morgan WJ, Zeiger RS, et al.","doi":"10.1016/j.jaci.2004.09.020","id":"guilbert-2004","pmid":"15577824","source":"J Allergy Clin Immunol. 2004;114(6):1282-1287","title":"Atopic characteristics of children with recurrent wheezing at high risk for the development of childhood asthma"},"criteria":[{"factor":"four_or_more_wheeze_episodes","met":false},{"factor":"parental_asthma","met":false},{"factor":"md_atopic_dermatitis","met":false},{"factor":"aeroallergen_sensitization","met":false},{"factor":"food_sensitization_milk_egg_peanut","met":false},{"factor":"wheezing_unrelated_to_colds","met":false},{"factor":"eosinophilia_ge_4pct","met":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":"mapi","formula_expression":"positive iff four_or_more_wheeze_episodes and (major_count >= 1 or minor_count >= 2); majors parental_asthma, md_atopic_dermatitis, aeroallergen_sensitization; minors food_sensitization_milk_egg_peanut, wheezing_unrelated_to_colds, eosinophilia_ge_4pct (Guilbert 2004 PEAK Table I)","four_or_more_wheeze_episodes":false,"major_count":0,"minor_count":0,"positive":false},{"citation":{"authors":"Guilbert TW, Morgan WJ, Zeiger RS, et al.","doi":"10.1016/j.jaci.2004.09.020","id":"guilbert-2004","pmid":"15577824","source":"J Allergy Clin Immunol. 2004;114(6):1282-1287","title":"Atopic characteristics of children with recurrent wheezing at high risk for the development of childhood asthma"},"criteria":[{"factor":"four_or_more_wheeze_episodes","met":false},{"factor":"parental_asthma","met":false},{"factor":"md_atopic_dermatitis","met":false},{"factor":"aeroallergen_sensitization","met":false},{"factor":"food_sensitization_milk_egg_peanut","met":false},{"factor":"wheezing_unrelated_to_colds","met":false},{"factor":"eosinophilia_ge_4pct","met":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":"mapi","formula_expression":"positive iff four_or_more_wheeze_episodes and (major_count >= 1 or minor_count >= 2); majors parental_asthma, md_atopic_dermatitis, aeroallergen_sensitization; minors food_sensitization_milk_egg_peanut, wheezing_unrelated_to_colds, eosinophilia_ge_4pct (Guilbert 2004 PEAK Table I)","four_or_more_wheeze_episodes":false,"major_count":0,"minor_count":0,"positive":false}],"path":"/api/calc/mapi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"aeroallergen_sensitization":{"description":"Allergic sensitization to at least one aeroallergen as assigned by the caller. true or false. Major criterion (Guilbert 2004 PEAK Table I). magent does not interpret allergy testing.","type":"boolean"},"eosinophilia_ge_4pct":{"description":"Blood eosinophils ≥4% of WBC as assigned by the caller (Guilbert 2004 PEAK Table I; 4% or greater). true or false. Minor criterion. magent does not take an eosinophil percent and does not interpret a CBC. Not Castro-Rodriguez circulating eosinophils >4%.","type":"boolean"},"food_sensitization_milk_egg_peanut":{"description":"Allergic sensitization to milk, egg, or peanuts as assigned by the caller. true or false. Minor criterion (Guilbert 2004 PEAK Table I). magent does not interpret allergy testing.","type":"boolean"},"four_or_more_wheeze_episodes":{"description":"Caller-assigned history of 4 or more wheezing episodes in one year with at least one physician-diagnosed episode (Guilbert 2004 PEAK Table I primary criterion). true or false. magent does not take a numeric episode count.","type":"boolean"},"md_atopic_dermatitis":{"description":"Physician-diagnosed atopic dermatitis as assigned by the caller. true or false. Major criterion (Guilbert 2004 PEAK Table I). magent does not examine the child.","type":"boolean"},"parental_asthma":{"description":"Parental asthma as assigned by the caller. true or false. Major criterion (Guilbert 2004 PEAK Table I). magent does not take a family history.","type":"boolean"},"wheezing_unrelated_to_colds":{"description":"Wheezing unrelated to colds as assigned by the caller. true or false. Minor criterion (Guilbert 2004 PEAK Table I). magent does not auscultate.","type":"boolean"}},"required":["four_or_more_wheeze_episodes","parental_asthma","md_atopic_dermatitis","aeroallergen_sensitization","food_sensitization_milk_egg_peanut","wheezing_unrelated_to_colds","eosinophilia_ge_4pct"],"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},{"id":39046,"slug":"39046","resource":"https://api.magentlab.com/api/calc/map","description":"Mean arterial pressure from cuff systolic and diastolic BP using diastolic + pulse pressure / 3. Conventional 1/3 estimate, not an invasive aortic mean. Deterministic published arithmetic with citation; not a treatment target.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"diastolic_mm_hg":80,"systolic_mm_hg":120},{"diastolic_mm_hg":80,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sesso HD, Stampfer MJ, Rosner B, et al.","doi":"10.1161/01.HYP.36.5.801","id":"sesso-2000","source":"Hypertension. 2000;36(5):801-807","title":"Systolic and diastolic blood pressure, pulse pressure, and mean arterial pressure as predictors of cardiovascular disease risk in men"},"diastolic_mm_hg":80,"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":"map","formula_expression":"MAP_mm_hg = diastolic_mm_hg + (systolic_mm_hg - diastolic_mm_hg) / 3","map_mm_hg":93.3,"pulse_pressure_mm_hg":40,"systolic_mm_hg":120},{"citation":{"authors":"Sesso HD, Stampfer MJ, Rosner B, et al.","doi":"10.1161/01.HYP.36.5.801","id":"sesso-2000","source":"Hypertension. 2000;36(5):801-807","title":"Systolic and diastolic blood pressure, pulse pressure, and mean arterial pressure as predictors of cardiovascular disease risk in men"},"diastolic_mm_hg":80,"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":"map","formula_expression":"MAP_mm_hg = diastolic_mm_hg + (systolic_mm_hg - diastolic_mm_hg) / 3","map_mm_hg":93.3,"pulse_pressure_mm_hg":40,"systolic_mm_hg":120}],"path":"/api/calc/map"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"diastolic_mm_hg":{"description":"Cuff diastolic blood pressure in mm Hg (20-160). Must be less than systolic.","type":"number"},"systolic_mm_hg":{"description":"Cuff systolic blood pressure in mm Hg (50-250).","type":"number"}},"required":["systolic_mm_hg","diastolic_mm_hg"],"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":["map","blood-pressure","hemodynamics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:16:20.728Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:16:20.579Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"diastolic_mm_hg":80,"systolic_mm_hg":120},{"diastolic_mm_hg":80,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sesso HD, Stampfer MJ, Rosner B, et al.","doi":"10.1161/01.HYP.36.5.801","id":"sesso-2000","source":"Hypertension. 2000;36(5):801-807","title":"Systolic and diastolic blood pressure, pulse pressure, and mean arterial pressure as predictors of cardiovascular disease risk in men"},"diastolic_mm_hg":80,"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":"map","formula_expression":"MAP_mm_hg = diastolic_mm_hg + (systolic_mm_hg - diastolic_mm_hg) / 3","map_mm_hg":93.3,"pulse_pressure_mm_hg":40,"systolic_mm_hg":120},{"citation":{"authors":"Sesso HD, Stampfer MJ, Rosner B, et al.","doi":"10.1161/01.HYP.36.5.801","id":"sesso-2000","source":"Hypertension. 2000;36(5):801-807","title":"Systolic and diastolic blood pressure, pulse pressure, and mean arterial pressure as predictors of cardiovascular disease risk in men"},"diastolic_mm_hg":80,"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":"map","formula_expression":"MAP_mm_hg = diastolic_mm_hg + (systolic_mm_hg - diastolic_mm_hg) / 3","map_mm_hg":93.3,"pulse_pressure_mm_hg":40,"systolic_mm_hg":120}],"path":"/api/calc/map"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"diastolic_mm_hg":{"description":"Cuff diastolic blood pressure in mm Hg (20-160). Must be less than systolic.","type":"number"},"systolic_mm_hg":{"description":"Cuff systolic blood pressure in mm Hg (50-250).","type":"number"}},"required":["systolic_mm_hg","diastolic_mm_hg"],"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},{"id":39047,"slug":"39047","resource":"https://api.magentlab.com/api/calc/manning","description":"Manning 1978 IBS symptoms. Six caller-assigned flags, 1 each, max 6: visible abdominal distension, pain relief with bowel movement, more frequent stools at pain onset, looser stools at pain onset, rectal mucus, incomplete evacuation. Score is the count of true flags (0-6). More symptoms made IBS more likely; no published cutoff. Count only. Not a diagnosis, not Rome III/IV. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"incomplete_evacuation":false,"looser_stools_with_pain_onset":false,"more_frequent_stools_with_pain_onset":false,"pain_relief_with_bowel_movement":false,"rectal_mucus":false,"visible_abdominal_distension":false},{"incomplete_evacuation":false,"looser_stools_with_pain_onset":false,"more_frequent_stools_with_pain_onset":false,"pain_relief_with_bowel_movement":false,"rectal_mucus":false,"visible_abdominal_distension":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Manning AP, Thompson WG, Heaton KW, Morris AF","doi":"10.1136/bmj.2.6138.653","id":"manning-1978","pmid":"698649","source":"Br Med J. 1978;2(6138):653-654","title":"Towards positive diagnosis of the irritable bowel"},"components":[{"factor":"visible_abdominal_distension","points":0,"present":false},{"factor":"pain_relief_with_bowel_movement","points":0,"present":false},{"factor":"more_frequent_stools_with_pain_onset","points":0,"present":false},{"factor":"looser_stools_with_pain_onset","points":0,"present":false},{"factor":"rectal_mucus","points":0,"present":false},{"factor":"incomplete_evacuation","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":"manning","formula_expression":"manning = visible_abdominal_distension + pain_relief_with_bowel_movement + more_frequent_stools_with_pain_onset + looser_stools_with_pain_onset + rectal_mucus + incomplete_evacuation; each 1 if true; max 6","max_score":6,"score":0},{"citation":{"authors":"Manning AP, Thompson WG, Heaton KW, Morris AF","doi":"10.1136/bmj.2.6138.653","id":"manning-1978","pmid":"698649","source":"Br Med J. 1978;2(6138):653-654","title":"Towards positive diagnosis of the irritable bowel"},"components":[{"factor":"visible_abdominal_distension","points":0,"present":false},{"factor":"pain_relief_with_bowel_movement","points":0,"present":false},{"factor":"more_frequent_stools_with_pain_onset","points":0,"present":false},{"factor":"looser_stools_with_pain_onset","points":0,"present":false},{"factor":"rectal_mucus","points":0,"present":false},{"factor":"incomplete_evacuation","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":"manning","formula_expression":"manning = visible_abdominal_distension + pain_relief_with_bowel_movement + more_frequent_stools_with_pain_onset + looser_stools_with_pain_onset + rectal_mucus + incomplete_evacuation; each 1 if true; max 6","max_score":6,"score":0}],"path":"/api/calc/manning"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"incomplete_evacuation":{"description":"Feeling of incomplete evacuation (Manning 1978; more common in IBS, not statistically significant in that table). true or false as assigned by the caller.","type":"boolean"},"looser_stools_with_pain_onset":{"description":"Looser stools at onset of pain (Manning 1978; one of four symptoms significantly more common in IBS). true or false as assigned by the caller.","type":"boolean"},"more_frequent_stools_with_pain_onset":{"description":"More frequent stools at onset of pain (Manning 1978; one of four symptoms significantly more common in IBS). true or false as assigned by the caller.","type":"boolean"},"pain_relief_with_bowel_movement":{"description":"Pain eased after bowel action (Manning 1978; one of four symptoms significantly more common in IBS). true or false as assigned by the caller.","type":"boolean"},"rectal_mucus":{"description":"Passage of mucus per rectum (Manning 1978; more common in IBS, not statistically significant in that table). true or false as assigned by the caller.","type":"boolean"},"visible_abdominal_distension":{"description":"Visible abdominal distension (Manning 1978; one of four symptoms significantly more common in IBS). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["visible_abdominal_distension","pain_relief_with_bowel_movement","more_frequent_stools_with_pain_onset","looser_stools_with_pain_onset","rectal_mucus","incomplete_evacuation"],"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":["manning","ibs","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:11:36.078Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:11:35.949Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"incomplete_evacuation":false,"looser_stools_with_pain_onset":false,"more_frequent_stools_with_pain_onset":false,"pain_relief_with_bowel_movement":false,"rectal_mucus":false,"visible_abdominal_distension":false},{"incomplete_evacuation":false,"looser_stools_with_pain_onset":false,"more_frequent_stools_with_pain_onset":false,"pain_relief_with_bowel_movement":false,"rectal_mucus":false,"visible_abdominal_distension":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Manning AP, Thompson WG, Heaton KW, Morris AF","doi":"10.1136/bmj.2.6138.653","id":"manning-1978","pmid":"698649","source":"Br Med J. 1978;2(6138):653-654","title":"Towards positive diagnosis of the irritable bowel"},"components":[{"factor":"visible_abdominal_distension","points":0,"present":false},{"factor":"pain_relief_with_bowel_movement","points":0,"present":false},{"factor":"more_frequent_stools_with_pain_onset","points":0,"present":false},{"factor":"looser_stools_with_pain_onset","points":0,"present":false},{"factor":"rectal_mucus","points":0,"present":false},{"factor":"incomplete_evacuation","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":"manning","formula_expression":"manning = visible_abdominal_distension + pain_relief_with_bowel_movement + more_frequent_stools_with_pain_onset + looser_stools_with_pain_onset + rectal_mucus + incomplete_evacuation; each 1 if true; max 6","max_score":6,"score":0},{"citation":{"authors":"Manning AP, Thompson WG, Heaton KW, Morris AF","doi":"10.1136/bmj.2.6138.653","id":"manning-1978","pmid":"698649","source":"Br Med J. 1978;2(6138):653-654","title":"Towards positive diagnosis of the irritable bowel"},"components":[{"factor":"visible_abdominal_distension","points":0,"present":false},{"factor":"pain_relief_with_bowel_movement","points":0,"present":false},{"factor":"more_frequent_stools_with_pain_onset","points":0,"present":false},{"factor":"looser_stools_with_pain_onset","points":0,"present":false},{"factor":"rectal_mucus","points":0,"present":false},{"factor":"incomplete_evacuation","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":"manning","formula_expression":"manning = visible_abdominal_distension + pain_relief_with_bowel_movement + more_frequent_stools_with_pain_onset + looser_stools_with_pain_onset + rectal_mucus + incomplete_evacuation; each 1 if true; max 6","max_score":6,"score":0}],"path":"/api/calc/manning"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"incomplete_evacuation":{"description":"Feeling of incomplete evacuation (Manning 1978; more common in IBS, not statistically significant in that table). true or false as assigned by the caller.","type":"boolean"},"looser_stools_with_pain_onset":{"description":"Looser stools at onset of pain (Manning 1978; one of four symptoms significantly more common in IBS). true or false as assigned by the caller.","type":"boolean"},"more_frequent_stools_with_pain_onset":{"description":"More frequent stools at onset of pain (Manning 1978; one of four symptoms significantly more common in IBS). true or false as assigned by the caller.","type":"boolean"},"pain_relief_with_bowel_movement":{"description":"Pain eased after bowel action (Manning 1978; one of four symptoms significantly more common in IBS). true or false as assigned by the caller.","type":"boolean"},"rectal_mucus":{"description":"Passage of mucus per rectum (Manning 1978; more common in IBS, not statistically significant in that table). true or false as assigned by the caller.","type":"boolean"},"visible_abdominal_distension":{"description":"Visible abdominal distension (Manning 1978; one of four symptoms significantly more common in IBS). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["visible_abdominal_distension","pain_relief_with_bowel_movement","more_frequent_stools_with_pain_onset","looser_stools_with_pain_onset","rectal_mucus","incomplete_evacuation"],"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},{"id":39048,"slug":"39048","resource":"https://api.magentlab.com/api/calc/mallampati","description":"Samsoon 1987 modified Mallampati: caller-assigned integer class 1-4 (I: soft palate, fauces, uvula, pillars; II: soft palate, fauces, uvula; III: soft palate, base of uvula; IV: soft palate not visible). Returns score, max 4, and a stable class label. Not original Mallampati 1985 three-class and not a Cormack-Lehane grade; magent does not look in the mouth or assign an intubation order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"mallampati":1},{"mallampati":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Samsoon GLT, Young JRB","doi":"10.1111/j.1365-2044.1987.tb04039.x","id":"samsoon-1987","pmid":"3592174","source":"Anaesthesia. 1987;42(5):487-490","title":"Difficult tracheal intubation: a retrospective study"},"components":[{"factor":"mallampati","points":1,"present":true}],"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":"mallampati","formula_expression":"Modified Mallampati = caller-assigned integer class 1-4 (Samsoon 1987). Max 4","mallampati":1,"mallampati_label":"class_1","max_score":4,"score":1},{"citation":{"authors":"Samsoon GLT, Young JRB","doi":"10.1111/j.1365-2044.1987.tb04039.x","id":"samsoon-1987","pmid":"3592174","source":"Anaesthesia. 1987;42(5):487-490","title":"Difficult tracheal intubation: a retrospective study"},"components":[{"factor":"mallampati","points":1,"present":true}],"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":"mallampati","formula_expression":"Modified Mallampati = caller-assigned integer class 1-4 (Samsoon 1987). Max 4","mallampati":1,"mallampati_label":"class_1","max_score":4,"score":1}],"path":"/api/calc/mallampati"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"mallampati":{"description":"Samsoon 1987 modified Mallampati class 1-4 as assigned by the caller (1: soft palate, fauces, uvula, pillars; 2: soft palate, fauces, uvula; 3: soft palate, base of uvula; 4: soft palate not visible at all). Not original Mallampati 1985 three-class. Not a Cormack-Lehane grade. magent does not look in the mouth.","type":"integer"}},"required":["mallampati"],"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":["mallampati","airway","emergency","intubation","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:11:34.687Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:11:34.569Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"mallampati":1},{"mallampati":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Samsoon GLT, Young JRB","doi":"10.1111/j.1365-2044.1987.tb04039.x","id":"samsoon-1987","pmid":"3592174","source":"Anaesthesia. 1987;42(5):487-490","title":"Difficult tracheal intubation: a retrospective study"},"components":[{"factor":"mallampati","points":1,"present":true}],"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":"mallampati","formula_expression":"Modified Mallampati = caller-assigned integer class 1-4 (Samsoon 1987). Max 4","mallampati":1,"mallampati_label":"class_1","max_score":4,"score":1},{"citation":{"authors":"Samsoon GLT, Young JRB","doi":"10.1111/j.1365-2044.1987.tb04039.x","id":"samsoon-1987","pmid":"3592174","source":"Anaesthesia. 1987;42(5):487-490","title":"Difficult tracheal intubation: a retrospective study"},"components":[{"factor":"mallampati","points":1,"present":true}],"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":"mallampati","formula_expression":"Modified Mallampati = caller-assigned integer class 1-4 (Samsoon 1987). Max 4","mallampati":1,"mallampati_label":"class_1","max_score":4,"score":1}],"path":"/api/calc/mallampati"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"mallampati":{"description":"Samsoon 1987 modified Mallampati class 1-4 as assigned by the caller (1: soft palate, fauces, uvula, pillars; 2: soft palate, fauces, uvula; 3: soft palate, base of uvula; 4: soft palate not visible at all). Not original Mallampati 1985 three-class. Not a Cormack-Lehane grade. magent does not look in the mouth.","type":"integer"}},"required":["mallampati"],"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},{"id":39049,"slug":"39049","resource":"https://api.magentlab.com/api/calc/maintenance_fluids","description":"Holliday–Segar 1957 daily maintenance water from weight: 100 mL/kg for the first 10 kg, 50 mL/kg for the next 10 kg, 20 mL/kg thereafter. Returns daily and hourly milliliters. Deterministic published arithmetic with citation; not a treatment order or IV prescription.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"weight_kg":30,"weight_lb":66.1387},{"weight_kg":30,"weight_lb":66.1387}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Holliday MA, Segar WE","doi":"10.1542/peds.19.5.823","id":"holliday-segar-1957","source":"Pediatrics. 1957;19(5):823-832","title":"The maintenance need for water in parenteral fluid therapy"},"daily_ml":1700,"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":"holliday_segar","formula_expression":"daily_ml = 100*min(kg,10) + 50*max(0, min(kg,20)-10) + 20*max(0, kg-20); hourly_ml = daily_ml / 24","hourly_ml":70.8,"weight_kg":30},{"citation":{"authors":"Holliday MA, Segar WE","doi":"10.1542/peds.19.5.823","id":"holliday-segar-1957","source":"Pediatrics. 1957;19(5):823-832","title":"The maintenance need for water in parenteral fluid therapy"},"daily_ml":1700,"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":"holliday_segar","formula_expression":"daily_ml = 100*min(kg,10) + 50*max(0, min(kg,20)-10) + 20*max(0, kg-20); hourly_ml = daily_ml / 24","hourly_ml":70.8,"weight_kg":30}],"path":"/api/calc/maintenance_fluids"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":[],"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":["fluids","holliday-segar","maintenance","pediatrics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:11:33.464Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:11:33.322Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"weight_kg":30,"weight_lb":66.1387},{"weight_kg":30,"weight_lb":66.1387}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Holliday MA, Segar WE","doi":"10.1542/peds.19.5.823","id":"holliday-segar-1957","source":"Pediatrics. 1957;19(5):823-832","title":"The maintenance need for water in parenteral fluid therapy"},"daily_ml":1700,"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":"holliday_segar","formula_expression":"daily_ml = 100*min(kg,10) + 50*max(0, min(kg,20)-10) + 20*max(0, kg-20); hourly_ml = daily_ml / 24","hourly_ml":70.8,"weight_kg":30},{"citation":{"authors":"Holliday MA, Segar WE","doi":"10.1542/peds.19.5.823","id":"holliday-segar-1957","source":"Pediatrics. 1957;19(5):823-832","title":"The maintenance need for water in parenteral fluid therapy"},"daily_ml":1700,"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":"holliday_segar","formula_expression":"daily_ml = 100*min(kg,10) + 50*max(0, min(kg,20)-10) + 20*max(0, kg-20); hourly_ml = daily_ml / 24","hourly_ml":70.8,"weight_kg":30}],"path":"/api/calc/maintenance_fluids"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":[],"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},{"id":39050,"slug":"39050","resource":"https://api.magentlab.com/api/calc/madrs","description":"Montgomery 1979 MADRS: ten caller-assigned integers 0-6 (apparent sadness, reported sadness, inner tension, reduced sleep, reduced appetite, concentration difficulties, lassitude, inability to feel, pessimistic thoughts, suicidal thoughts). Sum 0-60. magent does not interview. Montgomery 1979 printed no total-score severity bands; later 0-6/7-19/20-34/35-60 cutoffs are not applied. Not a diagnosis, not Hamilton 1960, not PHQ-9, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"apparent_sadness":0,"concentration_difficulties":0,"inability_to_feel":0,"inner_tension":0,"lassitude":0,"pessimistic_thoughts":0,"reduced_appetite":0,"reduced_sleep":0,"reported_sadness":0,"suicidal_thoughts":0},{"apparent_sadness":0,"concentration_difficulties":0,"inability_to_feel":0,"inner_tension":0,"lassitude":0,"pessimistic_thoughts":0,"reduced_appetite":0,"reduced_sleep":0,"reported_sadness":0,"suicidal_thoughts":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Montgomery SA, Åsberg M","doi":"10.1192/bjp.134.4.382","id":"montgomery-1979","pmid":"444788","source":"Br J Psychiatry. 1979;134:382-389","title":"A new depression scale designed to be sensitive to change"},"components":[{"factor":"apparent_sadness","points":0,"present":true,"value":0},{"factor":"reported_sadness","points":0,"present":true,"value":0},{"factor":"inner_tension","points":0,"present":true,"value":0},{"factor":"reduced_sleep","points":0,"present":true,"value":0},{"factor":"reduced_appetite","points":0,"present":true,"value":0},{"factor":"concentration_difficulties","points":0,"present":true,"value":0},{"factor":"lassitude","points":0,"present":true,"value":0},{"factor":"inability_to_feel","points":0,"present":true,"value":0},{"factor":"pessimistic_thoughts","points":0,"present":true,"value":0},{"factor":"suicidal_thoughts","points":0,"present":true,"value":0}],"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":"madrs","formula_expression":"MADRS = apparent_sadness + reported_sadness + inner_tension + reduced_sleep + reduced_appetite + concentration_difficulties + lassitude + inability_to_feel + pessimistic_thoughts + suicidal_thoughts; each caller-assigned 0-6; Montgomery 1979 ten items; max 60; no total-score severity bands","max_score":60,"score":0},{"citation":{"authors":"Montgomery SA, Åsberg M","doi":"10.1192/bjp.134.4.382","id":"montgomery-1979","pmid":"444788","source":"Br J Psychiatry. 1979;134:382-389","title":"A new depression scale designed to be sensitive to change"},"components":[{"factor":"apparent_sadness","points":0,"present":true,"value":0},{"factor":"reported_sadness","points":0,"present":true,"value":0},{"factor":"inner_tension","points":0,"present":true,"value":0},{"factor":"reduced_sleep","points":0,"present":true,"value":0},{"factor":"reduced_appetite","points":0,"present":true,"value":0},{"factor":"concentration_difficulties","points":0,"present":true,"value":0},{"factor":"lassitude","points":0,"present":true,"value":0},{"factor":"inability_to_feel","points":0,"present":true,"value":0},{"factor":"pessimistic_thoughts","points":0,"present":true,"value":0},{"factor":"suicidal_thoughts","points":0,"present":true,"value":0}],"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":"madrs","formula_expression":"MADRS = apparent_sadness + reported_sadness + inner_tension + reduced_sleep + reduced_appetite + concentration_difficulties + lassitude + inability_to_feel + pessimistic_thoughts + suicidal_thoughts; each caller-assigned 0-6; Montgomery 1979 ten items; max 60; no total-score severity bands","max_score":60,"score":0}],"path":"/api/calc/madrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"apparent_sadness":{"description":"Caller-assigned Montgomery 1979 apparent sadness (integer 0-6): despondency, gloom, and despair reflected in speech, facial expression, and posture, rated by depth and inability to brighten up. magent does not interview the patient.","type":"integer"},"concentration_difficulties":{"description":"Caller-assigned Montgomery 1979 concentration difficulties (integer 0-6): difficulty collecting one's thoughts mounting to incapacitating lack of concentration. magent does not interview the patient.","type":"integer"},"inability_to_feel":{"description":"Caller-assigned Montgomery 1979 inability to feel (integer 0-6): reduced interest in surroundings or activities that normally give pleasure, or reduced ability to react with adequate emotion. magent does not interview the patient.","type":"integer"},"inner_tension":{"description":"Caller-assigned Montgomery 1979 inner tension (integer 0-6): ill-defined discomfort, edginess, inner turmoil, or mental tension mounting to panic, dread, or anguish. magent does not interview the patient.","type":"integer"},"lassitude":{"description":"Caller-assigned Montgomery 1979 lassitude (integer 0-6): difficulty getting started or slowness initiating and performing everyday activities. magent does not interview the patient.","type":"integer"},"pessimistic_thoughts":{"description":"Caller-assigned Montgomery 1979 pessimistic thoughts (integer 0-6): thoughts of guilt, inferiority, self-reproach, sinfulness, remorse, or ruin. magent does not interview the patient.","type":"integer"},"reduced_appetite":{"description":"Caller-assigned Montgomery 1979 reduced appetite (integer 0-6): loss of desire for food or the need to force oneself to eat compared with when well. magent does not interview the patient.","type":"integer"},"reduced_sleep":{"description":"Caller-assigned Montgomery 1979 reduced sleep (integer 0-6): reduced duration or depth of sleep compared with the subject's own normal pattern when well. magent does not interview the patient.","type":"integer"},"reported_sadness":{"description":"Caller-assigned Montgomery 1979 reported sadness (integer 0-6): reports of depressed mood, low spirits, despondency, or feeling beyond help, regardless of appearance. magent does not interview the patient.","type":"integer"},"suicidal_thoughts":{"description":"Caller-assigned Montgomery 1979 suicidal thoughts (integer 0-6): feeling that life is not worth living, that a natural death would be welcome, suicidal thoughts, or preparations for suicide. A suicide attempt should not in itself influence the rating. magent does not interview the patient.","type":"integer"}},"required":["apparent_sadness","reported_sadness","inner_tension","reduced_sleep","reduced_appetite","concentration_difficulties","lassitude","inability_to_feel","pessimistic_thoughts","suicidal_thoughts"],"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":["madrs","depression","montgomery","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:06:30.615Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:06:30.497Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"apparent_sadness":0,"concentration_difficulties":0,"inability_to_feel":0,"inner_tension":0,"lassitude":0,"pessimistic_thoughts":0,"reduced_appetite":0,"reduced_sleep":0,"reported_sadness":0,"suicidal_thoughts":0},{"apparent_sadness":0,"concentration_difficulties":0,"inability_to_feel":0,"inner_tension":0,"lassitude":0,"pessimistic_thoughts":0,"reduced_appetite":0,"reduced_sleep":0,"reported_sadness":0,"suicidal_thoughts":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Montgomery SA, Åsberg M","doi":"10.1192/bjp.134.4.382","id":"montgomery-1979","pmid":"444788","source":"Br J Psychiatry. 1979;134:382-389","title":"A new depression scale designed to be sensitive to change"},"components":[{"factor":"apparent_sadness","points":0,"present":true,"value":0},{"factor":"reported_sadness","points":0,"present":true,"value":0},{"factor":"inner_tension","points":0,"present":true,"value":0},{"factor":"reduced_sleep","points":0,"present":true,"value":0},{"factor":"reduced_appetite","points":0,"present":true,"value":0},{"factor":"concentration_difficulties","points":0,"present":true,"value":0},{"factor":"lassitude","points":0,"present":true,"value":0},{"factor":"inability_to_feel","points":0,"present":true,"value":0},{"factor":"pessimistic_thoughts","points":0,"present":true,"value":0},{"factor":"suicidal_thoughts","points":0,"present":true,"value":0}],"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":"madrs","formula_expression":"MADRS = apparent_sadness + reported_sadness + inner_tension + reduced_sleep + reduced_appetite + concentration_difficulties + lassitude + inability_to_feel + pessimistic_thoughts + suicidal_thoughts; each caller-assigned 0-6; Montgomery 1979 ten items; max 60; no total-score severity bands","max_score":60,"score":0},{"citation":{"authors":"Montgomery SA, Åsberg M","doi":"10.1192/bjp.134.4.382","id":"montgomery-1979","pmid":"444788","source":"Br J Psychiatry. 1979;134:382-389","title":"A new depression scale designed to be sensitive to change"},"components":[{"factor":"apparent_sadness","points":0,"present":true,"value":0},{"factor":"reported_sadness","points":0,"present":true,"value":0},{"factor":"inner_tension","points":0,"present":true,"value":0},{"factor":"reduced_sleep","points":0,"present":true,"value":0},{"factor":"reduced_appetite","points":0,"present":true,"value":0},{"factor":"concentration_difficulties","points":0,"present":true,"value":0},{"factor":"lassitude","points":0,"present":true,"value":0},{"factor":"inability_to_feel","points":0,"present":true,"value":0},{"factor":"pessimistic_thoughts","points":0,"present":true,"value":0},{"factor":"suicidal_thoughts","points":0,"present":true,"value":0}],"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":"madrs","formula_expression":"MADRS = apparent_sadness + reported_sadness + inner_tension + reduced_sleep + reduced_appetite + concentration_difficulties + lassitude + inability_to_feel + pessimistic_thoughts + suicidal_thoughts; each caller-assigned 0-6; Montgomery 1979 ten items; max 60; no total-score severity bands","max_score":60,"score":0}],"path":"/api/calc/madrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"apparent_sadness":{"description":"Caller-assigned Montgomery 1979 apparent sadness (integer 0-6): despondency, gloom, and despair reflected in speech, facial expression, and posture, rated by depth and inability to brighten up. magent does not interview the patient.","type":"integer"},"concentration_difficulties":{"description":"Caller-assigned Montgomery 1979 concentration difficulties (integer 0-6): difficulty collecting one's thoughts mounting to incapacitating lack of concentration. magent does not interview the patient.","type":"integer"},"inability_to_feel":{"description":"Caller-assigned Montgomery 1979 inability to feel (integer 0-6): reduced interest in surroundings or activities that normally give pleasure, or reduced ability to react with adequate emotion. magent does not interview the patient.","type":"integer"},"inner_tension":{"description":"Caller-assigned Montgomery 1979 inner tension (integer 0-6): ill-defined discomfort, edginess, inner turmoil, or mental tension mounting to panic, dread, or anguish. magent does not interview the patient.","type":"integer"},"lassitude":{"description":"Caller-assigned Montgomery 1979 lassitude (integer 0-6): difficulty getting started or slowness initiating and performing everyday activities. magent does not interview the patient.","type":"integer"},"pessimistic_thoughts":{"description":"Caller-assigned Montgomery 1979 pessimistic thoughts (integer 0-6): thoughts of guilt, inferiority, self-reproach, sinfulness, remorse, or ruin. magent does not interview the patient.","type":"integer"},"reduced_appetite":{"description":"Caller-assigned Montgomery 1979 reduced appetite (integer 0-6): loss of desire for food or the need to force oneself to eat compared with when well. magent does not interview the patient.","type":"integer"},"reduced_sleep":{"description":"Caller-assigned Montgomery 1979 reduced sleep (integer 0-6): reduced duration or depth of sleep compared with the subject's own normal pattern when well. magent does not interview the patient.","type":"integer"},"reported_sadness":{"description":"Caller-assigned Montgomery 1979 reported sadness (integer 0-6): reports of depressed mood, low spirits, despondency, or feeling beyond help, regardless of appearance. magent does not interview the patient.","type":"integer"},"suicidal_thoughts":{"description":"Caller-assigned Montgomery 1979 suicidal thoughts (integer 0-6): feeling that life is not worth living, that a natural death would be welcome, suicidal thoughts, or preparations for suicide. A suicide attempt should not in itself influence the rating. magent does not interview the patient.","type":"integer"}},"required":["apparent_sadness","reported_sadness","inner_tension","reduced_sleep","reduced_appetite","concentration_difficulties","lassitude","inability_to_feel","pessimistic_thoughts","suicidal_thoughts"],"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},{"id":39051,"slug":"39051","resource":"https://api.magentlab.com/api/calc/maddrey","description":"Maddrey discriminant function (1978) from patient and control prothrombin time in seconds plus bilirubin. Deterministic published formula with citation; not a diagnosis or steroid order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bilirubin_mg_dl":8,"bilirubin_umol_l":136.8,"pt_control_sec":12,"pt_patient_sec":20},{"bilirubin_mg_dl":8,"bilirubin_umol_l":136.8,"pt_control_sec":12,"pt_patient_sec":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bilirubin_mg_dl":8,"citation":{"authors":"Maddrey WC, Boitnott JK, Bedine MS, Weber FL Jr, Mezey E, White RI Jr","doi":"10.1016/0016-5085(78)90401-8","id":"maddrey-1978","source":"Gastroenterology. 1978;75(2):193-199","title":"Corticosteroid therapy of alcoholic hepatitis"},"df":44.8,"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":"maddrey_1978","formula_expression":"DF = 4.6 * (pt_patient_sec - pt_control_sec) + bilirubin_mg_dl","pt_control_sec":12,"pt_patient_sec":20},{"bilirubin_mg_dl":8,"citation":{"authors":"Maddrey WC, Boitnott JK, Bedine MS, Weber FL Jr, Mezey E, White RI Jr","doi":"10.1016/0016-5085(78)90401-8","id":"maddrey-1978","source":"Gastroenterology. 1978;75(2):193-199","title":"Corticosteroid therapy of alcoholic hepatitis"},"df":44.8,"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":"maddrey_1978","formula_expression":"DF = 4.6 * (pt_patient_sec - pt_control_sec) + bilirubin_mg_dl","pt_control_sec":12,"pt_patient_sec":20}],"path":"/api/calc/maddrey"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"pt_control_sec":{"description":"Laboratory control prothrombin time in seconds (8-20). INR is not accepted.","type":"number"},"pt_patient_sec":{"description":"Patient prothrombin time in seconds (8-120). INR is not accepted.","type":"number"}},"required":["pt_patient_sec","pt_control_sec"],"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":["maddrey","liver","hepatitis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:06:29.866Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:06:29.73Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bilirubin_mg_dl":8,"bilirubin_umol_l":136.8,"pt_control_sec":12,"pt_patient_sec":20},{"bilirubin_mg_dl":8,"bilirubin_umol_l":136.8,"pt_control_sec":12,"pt_patient_sec":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bilirubin_mg_dl":8,"citation":{"authors":"Maddrey WC, Boitnott JK, Bedine MS, Weber FL Jr, Mezey E, White RI Jr","doi":"10.1016/0016-5085(78)90401-8","id":"maddrey-1978","source":"Gastroenterology. 1978;75(2):193-199","title":"Corticosteroid therapy of alcoholic hepatitis"},"df":44.8,"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":"maddrey_1978","formula_expression":"DF = 4.6 * (pt_patient_sec - pt_control_sec) + bilirubin_mg_dl","pt_control_sec":12,"pt_patient_sec":20},{"bilirubin_mg_dl":8,"citation":{"authors":"Maddrey WC, Boitnott JK, Bedine MS, Weber FL Jr, Mezey E, White RI Jr","doi":"10.1016/0016-5085(78)90401-8","id":"maddrey-1978","source":"Gastroenterology. 1978;75(2):193-199","title":"Corticosteroid therapy of alcoholic hepatitis"},"df":44.8,"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":"maddrey_1978","formula_expression":"DF = 4.6 * (pt_patient_sec - pt_control_sec) + bilirubin_mg_dl","pt_control_sec":12,"pt_patient_sec":20}],"path":"/api/calc/maddrey"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"pt_control_sec":{"description":"Laboratory control prothrombin time in seconds (8-20). INR is not accepted.","type":"number"},"pt_patient_sec":{"description":"Patient prothrombin time in seconds (8-120). INR is not accepted.","type":"number"}},"required":["pt_patient_sec","pt_control_sec"],"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},{"id":39052,"slug":"39052","resource":"https://api.magentlab.com/api/calc/macs","description":"Body 2014 MACS ACS probability from caller-assigned ECG ischaemia, worsening angina, right-arm radiation, vomiting, observed sweating, hypotension (SBP <100), Roche hs-cTnT ng/L, and ELISA H-FABP ng/mL. Table 2 rounded coefficients. Bands p<0.02 very_low, 0.02<=p<0.05 low, 0.05<=p<0.95 moderate, p>=0.95 high. magent does not interpret ECG or assay biomarkers. Not T-MACS, HEART, or EDACS. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ecg_ischaemia":false,"h_fabp_ng_ml":1,"hs_ctnt_ng_l":3,"hypotension":false,"pain_radiation_right_arm_or_shoulder":false,"sweating_observed":false,"vomiting":false,"worsening_angina":false},{"ecg_ischaemia":false,"h_fabp_ng_ml":1,"hs_ctnt_ng_l":3,"hypotension":false,"pain_radiation_right_arm_or_shoulder":false,"sweating_observed":false,"vomiting":false,"worsening_angina":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Body R, Carley S, McDowell G, et al.","doi":"10.1136/heartjnl-2014-305564","id":"body-2014","pmid":"24780911","source":"Heart. 2014;100(18):1462-1468","title":"The Manchester Acute Coronary Syndromes (MACS) decision rule for suspected cardiac chest pain: derivation and external validation"},"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.","ecg_ischaemia":false,"formula":"macs","formula_expression":"p = 1/(1+e^(-λ)); λ = 0.068*a + 0.17*b + 1.75*c + 1.85*d + 1.72*e + 1.46*f + 0.92*g + 0.87*h - 4.83; a Roche Elecsys hs-cTnT ng/L; b ELISA H-FABP ng/mL; c ECG ischaemia 0/1; d sweating observed 0/1; e vomiting 0/1; f hypotension SBP<100 0/1; g worsening angina 0/1; h right-arm/shoulder radiation 0/1; very_low p<0.02, low 0.02<=p<0.05, moderate 0.05<=p<0.95, high p>=0.95 (Body 2014 Table 2 rounded values)","h_fabp_ng_ml":1,"hs_ctnt_ng_l":3,"hypotension":false,"linear_predictor":-4.456,"macs_band":"very_low","pain_radiation_right_arm_or_shoulder":false,"probability":0.0115,"sweating_observed":false,"vomiting":false,"worsening_angina":false},{"citation":{"authors":"Body R, Carley S, McDowell G, et al.","doi":"10.1136/heartjnl-2014-305564","id":"body-2014","pmid":"24780911","source":"Heart. 2014;100(18):1462-1468","title":"The Manchester Acute Coronary Syndromes (MACS) decision rule for suspected cardiac chest pain: derivation and external validation"},"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.","ecg_ischaemia":false,"formula":"macs","formula_expression":"p = 1/(1+e^(-λ)); λ = 0.068*a + 0.17*b + 1.75*c + 1.85*d + 1.72*e + 1.46*f + 0.92*g + 0.87*h - 4.83; a Roche Elecsys hs-cTnT ng/L; b ELISA H-FABP ng/mL; c ECG ischaemia 0/1; d sweating observed 0/1; e vomiting 0/1; f hypotension SBP<100 0/1; g worsening angina 0/1; h right-arm/shoulder radiation 0/1; very_low p<0.02, low 0.02<=p<0.05, moderate 0.05<=p<0.95, high p>=0.95 (Body 2014 Table 2 rounded values)","h_fabp_ng_ml":1,"hs_ctnt_ng_l":3,"hypotension":false,"linear_predictor":-4.456,"macs_band":"very_low","pain_radiation_right_arm_or_shoulder":false,"probability":0.0115,"sweating_observed":false,"vomiting":false,"worsening_angina":false}],"path":"/api/calc/macs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecg_ischaemia":{"description":"Caller-assigned ECG ischaemia as used in Body 2014 (c; 1 if true, 0 if false). magent does not interpret an ECG.","type":"boolean"},"h_fabp_ng_ml":{"description":"Heart-type fatty acid-binding protein by ELISA in ng/mL as in Body 2014 (b; 0-200, implementation clamp). Continuous linear predictor. magent does not convert units, assay H-FABP, or apply the later immunoturbidimetric transform.","type":"number"},"hs_ctnt_ng_l":{"description":"Roche Diagnostics Elecsys high-sensitivity cardiac troponin T on arrival in ng/L (a; 0-100000, implementation clamp). Continuous linear predictor in Body 2014 Table 2. magent does not convert units or assay troponin.","type":"number"},"hypotension":{"description":"Hypotension as assigned by the caller (f): systolic BP <100 mm Hg on arrival (Body 2014, dichotomised as in that paper). true or false.","type":"boolean"},"pain_radiation_right_arm_or_shoulder":{"description":"Pain radiating to the right arm or shoulder as assigned by the caller (h; Body 2014). true or false. magent does not take a pain history.","type":"boolean"},"sweating_observed":{"description":"Sweating observed by the treating clinician as assigned by the caller (d; Body 2014). true or false. magent does not examine the patient.","type":"boolean"},"vomiting":{"description":"Vomiting in association with the presenting symptoms as assigned by the caller (e; Body 2014). true or false.","type":"boolean"},"worsening_angina":{"description":"Worsening or crescendo angina as assigned by the caller (g): anginal pain with increasing frequency, occurring with less exertion, or becoming more prolonged (Body 2014). true or false.","type":"boolean"}},"required":["ecg_ischaemia","worsening_angina","pain_radiation_right_arm_or_shoulder","vomiting","sweating_observed","hypotension","hs_ctnt_ng_l","h_fabp_ng_ml"],"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":["macs","acs","chest-pain","h-fabp","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:06:29.049Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:06:28.891Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ecg_ischaemia":false,"h_fabp_ng_ml":1,"hs_ctnt_ng_l":3,"hypotension":false,"pain_radiation_right_arm_or_shoulder":false,"sweating_observed":false,"vomiting":false,"worsening_angina":false},{"ecg_ischaemia":false,"h_fabp_ng_ml":1,"hs_ctnt_ng_l":3,"hypotension":false,"pain_radiation_right_arm_or_shoulder":false,"sweating_observed":false,"vomiting":false,"worsening_angina":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Body R, Carley S, McDowell G, et al.","doi":"10.1136/heartjnl-2014-305564","id":"body-2014","pmid":"24780911","source":"Heart. 2014;100(18):1462-1468","title":"The Manchester Acute Coronary Syndromes (MACS) decision rule for suspected cardiac chest pain: derivation and external validation"},"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.","ecg_ischaemia":false,"formula":"macs","formula_expression":"p = 1/(1+e^(-λ)); λ = 0.068*a + 0.17*b + 1.75*c + 1.85*d + 1.72*e + 1.46*f + 0.92*g + 0.87*h - 4.83; a Roche Elecsys hs-cTnT ng/L; b ELISA H-FABP ng/mL; c ECG ischaemia 0/1; d sweating observed 0/1; e vomiting 0/1; f hypotension SBP<100 0/1; g worsening angina 0/1; h right-arm/shoulder radiation 0/1; very_low p<0.02, low 0.02<=p<0.05, moderate 0.05<=p<0.95, high p>=0.95 (Body 2014 Table 2 rounded values)","h_fabp_ng_ml":1,"hs_ctnt_ng_l":3,"hypotension":false,"linear_predictor":-4.456,"macs_band":"very_low","pain_radiation_right_arm_or_shoulder":false,"probability":0.0115,"sweating_observed":false,"vomiting":false,"worsening_angina":false},{"citation":{"authors":"Body R, Carley S, McDowell G, et al.","doi":"10.1136/heartjnl-2014-305564","id":"body-2014","pmid":"24780911","source":"Heart. 2014;100(18):1462-1468","title":"The Manchester Acute Coronary Syndromes (MACS) decision rule for suspected cardiac chest pain: derivation and external validation"},"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.","ecg_ischaemia":false,"formula":"macs","formula_expression":"p = 1/(1+e^(-λ)); λ = 0.068*a + 0.17*b + 1.75*c + 1.85*d + 1.72*e + 1.46*f + 0.92*g + 0.87*h - 4.83; a Roche Elecsys hs-cTnT ng/L; b ELISA H-FABP ng/mL; c ECG ischaemia 0/1; d sweating observed 0/1; e vomiting 0/1; f hypotension SBP<100 0/1; g worsening angina 0/1; h right-arm/shoulder radiation 0/1; very_low p<0.02, low 0.02<=p<0.05, moderate 0.05<=p<0.95, high p>=0.95 (Body 2014 Table 2 rounded values)","h_fabp_ng_ml":1,"hs_ctnt_ng_l":3,"hypotension":false,"linear_predictor":-4.456,"macs_band":"very_low","pain_radiation_right_arm_or_shoulder":false,"probability":0.0115,"sweating_observed":false,"vomiting":false,"worsening_angina":false}],"path":"/api/calc/macs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecg_ischaemia":{"description":"Caller-assigned ECG ischaemia as used in Body 2014 (c; 1 if true, 0 if false). magent does not interpret an ECG.","type":"boolean"},"h_fabp_ng_ml":{"description":"Heart-type fatty acid-binding protein by ELISA in ng/mL as in Body 2014 (b; 0-200, implementation clamp). Continuous linear predictor. magent does not convert units, assay H-FABP, or apply the later immunoturbidimetric transform.","type":"number"},"hs_ctnt_ng_l":{"description":"Roche Diagnostics Elecsys high-sensitivity cardiac troponin T on arrival in ng/L (a; 0-100000, implementation clamp). Continuous linear predictor in Body 2014 Table 2. magent does not convert units or assay troponin.","type":"number"},"hypotension":{"description":"Hypotension as assigned by the caller (f): systolic BP <100 mm Hg on arrival (Body 2014, dichotomised as in that paper). true or false.","type":"boolean"},"pain_radiation_right_arm_or_shoulder":{"description":"Pain radiating to the right arm or shoulder as assigned by the caller (h; Body 2014). true or false. magent does not take a pain history.","type":"boolean"},"sweating_observed":{"description":"Sweating observed by the treating clinician as assigned by the caller (d; Body 2014). true or false. magent does not examine the patient.","type":"boolean"},"vomiting":{"description":"Vomiting in association with the presenting symptoms as assigned by the caller (e; Body 2014). true or false.","type":"boolean"},"worsening_angina":{"description":"Worsening or crescendo angina as assigned by the caller (g): anginal pain with increasing frequency, occurring with less exertion, or becoming more prolonged (Body 2014). true or false.","type":"boolean"}},"required":["ecg_ischaemia","worsening_angina","pain_radiation_right_arm_or_shoulder","vomiting","sweating_observed","hypotension","hs_ctnt_ng_l","h_fabp_ng_ml"],"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},{"id":39053,"slug":"39053","resource":"https://api.magentlab.com/api/calc/rome_iv_functional_dysphagia","description":"Aziz 2016 Rome IV functional dysphagia. rome_iv_functional_dysphagia is true iff sense of food sticking or passing abnormally, no mucosal or structural abnormality, not explained by GERD or eosinophilic esophagitis, no major esophageal motor disorder, last-3-months criteria, and 6-month onset. Caller assigns six flags. magent does not read barium, endoscopy, or manometry. Not a diagnosis, not globus, not oropharyngeal dysphagia. Minor or borderline motor disorders remain compatible.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fulfilled_last_3_months":true,"no_major_esophageal_motor_disorder":true,"no_mucosal_or_structural_abnormality":true,"not_explained_by_gerd_or_eoe":true,"onset_at_least_6_months":true,"sense_of_food_sticking_or_passing_abnormally":true},{"fulfilled_last_3_months":true,"no_major_esophageal_motor_disorder":true,"no_mucosal_or_structural_abnormality":true,"not_explained_by_gerd_or_eoe":true,"onset_at_least_6_months":true,"sense_of_food_sticking_or_passing_abnormally":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"sense_of_food_sticking_or_passing_abnormally","met":true},{"factor":"no_mucosal_or_structural_abnormality","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_functional_dysphagia","formula_expression":"rome_iv_functional_dysphagia iff sense_of_food_sticking_or_passing_abnormally and no_mucosal_or_structural_abnormality and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional dysphagia)","rome_iv_functional_dysphagia":true},{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"sense_of_food_sticking_or_passing_abnormally","met":true},{"factor":"no_mucosal_or_structural_abnormality","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_functional_dysphagia","formula_expression":"rome_iv_functional_dysphagia iff sense_of_food_sticking_or_passing_abnormally and no_mucosal_or_structural_abnormality and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional dysphagia)","rome_iv_functional_dysphagia":true}],"path":"/api/calc/rome_iv_functional_dysphagia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_major_esophageal_motor_disorder":{"description":"Absence of a major esophageal motor disorder, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not interpret manometry. Minor or borderline motor disorders remain compatible.","type":"boolean"},"no_mucosal_or_structural_abnormality":{"description":"Absence of evidence that esophageal mucosal or structural abnormality is the cause, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy or barium.","type":"boolean"},"not_explained_by_gerd_or_eoe":{"description":"Symptoms not explained by GERD or eosinophilic esophagitis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"sense_of_food_sticking_or_passing_abnormally":{"description":"Sense of solid and/or liquid foods sticking, lodging, or passing abnormally through the esophagus, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["sense_of_food_sticking_or_passing_abnormally","no_mucosal_or_structural_abnormality","not_explained_by_gerd_or_eoe","no_major_esophageal_motor_disorder","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-functional-dysphagia","functional-dysphagia","gi","esophageal","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:01:22.938Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:01:22.807Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fulfilled_last_3_months":true,"no_major_esophageal_motor_disorder":true,"no_mucosal_or_structural_abnormality":true,"not_explained_by_gerd_or_eoe":true,"onset_at_least_6_months":true,"sense_of_food_sticking_or_passing_abnormally":true},{"fulfilled_last_3_months":true,"no_major_esophageal_motor_disorder":true,"no_mucosal_or_structural_abnormality":true,"not_explained_by_gerd_or_eoe":true,"onset_at_least_6_months":true,"sense_of_food_sticking_or_passing_abnormally":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"sense_of_food_sticking_or_passing_abnormally","met":true},{"factor":"no_mucosal_or_structural_abnormality","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_functional_dysphagia","formula_expression":"rome_iv_functional_dysphagia iff sense_of_food_sticking_or_passing_abnormally and no_mucosal_or_structural_abnormality and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional dysphagia)","rome_iv_functional_dysphagia":true},{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"sense_of_food_sticking_or_passing_abnormally","met":true},{"factor":"no_mucosal_or_structural_abnormality","met":true},{"factor":"not_explained_by_gerd_or_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_functional_dysphagia","formula_expression":"rome_iv_functional_dysphagia iff sense_of_food_sticking_or_passing_abnormally and no_mucosal_or_structural_abnormality and not_explained_by_gerd_or_eoe and no_major_esophageal_motor_disorder and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV functional dysphagia)","rome_iv_functional_dysphagia":true}],"path":"/api/calc/rome_iv_functional_dysphagia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_major_esophageal_motor_disorder":{"description":"Absence of a major esophageal motor disorder, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not interpret manometry. Minor or borderline motor disorders remain compatible.","type":"boolean"},"no_mucosal_or_structural_abnormality":{"description":"Absence of evidence that esophageal mucosal or structural abnormality is the cause, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy or barium.","type":"boolean"},"not_explained_by_gerd_or_eoe":{"description":"Symptoms not explained by GERD or eosinophilic esophagitis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"sense_of_food_sticking_or_passing_abnormally":{"description":"Sense of solid and/or liquid foods sticking, lodging, or passing abnormally through the esophagus, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["sense_of_food_sticking_or_passing_abnormally","no_mucosal_or_structural_abnormality","not_explained_by_gerd_or_eoe","no_major_esophageal_motor_disorder","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":39054,"slug":"39054","resource":"https://api.magentlab.com/api/calc/rome_iv_functional_defecation","description":"Rao 2016 Rome IV F3. rome_iv_functional_defecation is true iff FC and/or IBS-C, at least two of three evacuation tests (balloon expulsion, manometry or anal surface EMG, imaging), last-3-months criteria, and 6-month onset. evacuation_tests_met is 0-3. magent does not perform those tests. Not a diagnosis. Not F3a or F3b as separate diagnoses.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_anorectal_evacuation_pattern_manometry_or_emg":true,"abnormal_balloon_expulsion":true,"fulfilled_last_3_months":true,"impaired_rectal_evacuation_by_imaging":false,"onset_at_least_6_months":true,"satisfies_fc_and_or_ibs_with_constipation":true},{"abnormal_anorectal_evacuation_pattern_manometry_or_emg":true,"abnormal_balloon_expulsion":true,"fulfilled_last_3_months":true,"impaired_rectal_evacuation_by_imaging":false,"onset_at_least_6_months":true,"satisfies_fc_and_or_ibs_with_constipation":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"satisfies_fc_and_or_ibs_with_constipation","met":true},{"factor":"abnormal_balloon_expulsion","met":true},{"factor":"abnormal_anorectal_evacuation_pattern_manometry_or_emg","met":true},{"factor":"impaired_rectal_evacuation_by_imaging","met":false},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"evacuation_tests_ge_2","met":true,"value":2}],"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.","evacuation_tests_met":2,"formula":"rome_iv_functional_defecation","formula_expression":"rome_iv_functional_defecation iff satisfies_fc_and_or_ibs_with_constipation and evacuation_tests_met >= 2 and fulfilled_last_3_months and onset_at_least_6_months; evacuation_tests_met counts abnormal_balloon_expulsion, abnormal_anorectal_evacuation_pattern_manometry_or_emg, and impaired_rectal_evacuation_by_imaging (Rao 2016 Rome IV F3 functional defecation disorders)","rome_iv_functional_defecation":true},{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"satisfies_fc_and_or_ibs_with_constipation","met":true},{"factor":"abnormal_balloon_expulsion","met":true},{"factor":"abnormal_anorectal_evacuation_pattern_manometry_or_emg","met":true},{"factor":"impaired_rectal_evacuation_by_imaging","met":false},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"evacuation_tests_ge_2","met":true,"value":2}],"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.","evacuation_tests_met":2,"formula":"rome_iv_functional_defecation","formula_expression":"rome_iv_functional_defecation iff satisfies_fc_and_or_ibs_with_constipation and evacuation_tests_met >= 2 and fulfilled_last_3_months and onset_at_least_6_months; evacuation_tests_met counts abnormal_balloon_expulsion, abnormal_anorectal_evacuation_pattern_manometry_or_emg, and impaired_rectal_evacuation_by_imaging (Rao 2016 Rome IV F3 functional defecation disorders)","rome_iv_functional_defecation":true}],"path":"/api/calc/rome_iv_functional_defecation"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_anorectal_evacuation_pattern_manometry_or_emg":{"description":"Abnormal anorectal evacuation pattern with manometry or anal surface EMG (one of three evacuation tests; at least two required). true or false as assigned by the caller. magent does not perform manometry or EMG.","type":"boolean"},"abnormal_balloon_expulsion":{"description":"Abnormal balloon expulsion test (one of three evacuation tests; at least two required). true or false as assigned by the caller. magent does not perform balloon expulsion.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"impaired_rectal_evacuation_by_imaging":{"description":"Impaired rectal evacuation by imaging (one of three evacuation tests; at least two required). true or false as assigned by the caller. magent does not perform imaging.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"satisfies_fc_and_or_ibs_with_constipation":{"description":"The patient already satisfies diagnostic criteria for functional constipation and/or IBS with constipation, as assigned (Rao 2016 F3). true or false as assigned by the caller. magent does not re-run those tools.","type":"boolean"}},"required":["satisfies_fc_and_or_ibs_with_constipation","abnormal_balloon_expulsion","abnormal_anorectal_evacuation_pattern_manometry_or_emg","impaired_rectal_evacuation_by_imaging","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-fdd","functional-defecation","gi","anorectal","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T08:01:21.66Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T08:01:21.521Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_anorectal_evacuation_pattern_manometry_or_emg":true,"abnormal_balloon_expulsion":true,"fulfilled_last_3_months":true,"impaired_rectal_evacuation_by_imaging":false,"onset_at_least_6_months":true,"satisfies_fc_and_or_ibs_with_constipation":true},{"abnormal_anorectal_evacuation_pattern_manometry_or_emg":true,"abnormal_balloon_expulsion":true,"fulfilled_last_3_months":true,"impaired_rectal_evacuation_by_imaging":false,"onset_at_least_6_months":true,"satisfies_fc_and_or_ibs_with_constipation":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"satisfies_fc_and_or_ibs_with_constipation","met":true},{"factor":"abnormal_balloon_expulsion","met":true},{"factor":"abnormal_anorectal_evacuation_pattern_manometry_or_emg","met":true},{"factor":"impaired_rectal_evacuation_by_imaging","met":false},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"evacuation_tests_ge_2","met":true,"value":2}],"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.","evacuation_tests_met":2,"formula":"rome_iv_functional_defecation","formula_expression":"rome_iv_functional_defecation iff satisfies_fc_and_or_ibs_with_constipation and evacuation_tests_met >= 2 and fulfilled_last_3_months and onset_at_least_6_months; evacuation_tests_met counts abnormal_balloon_expulsion, abnormal_anorectal_evacuation_pattern_manometry_or_emg, and impaired_rectal_evacuation_by_imaging (Rao 2016 Rome IV F3 functional defecation disorders)","rome_iv_functional_defecation":true},{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"satisfies_fc_and_or_ibs_with_constipation","met":true},{"factor":"abnormal_balloon_expulsion","met":true},{"factor":"abnormal_anorectal_evacuation_pattern_manometry_or_emg","met":true},{"factor":"impaired_rectal_evacuation_by_imaging","met":false},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true},{"factor":"evacuation_tests_ge_2","met":true,"value":2}],"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.","evacuation_tests_met":2,"formula":"rome_iv_functional_defecation","formula_expression":"rome_iv_functional_defecation iff satisfies_fc_and_or_ibs_with_constipation and evacuation_tests_met >= 2 and fulfilled_last_3_months and onset_at_least_6_months; evacuation_tests_met counts abnormal_balloon_expulsion, abnormal_anorectal_evacuation_pattern_manometry_or_emg, and impaired_rectal_evacuation_by_imaging (Rao 2016 Rome IV F3 functional defecation disorders)","rome_iv_functional_defecation":true}],"path":"/api/calc/rome_iv_functional_defecation"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_anorectal_evacuation_pattern_manometry_or_emg":{"description":"Abnormal anorectal evacuation pattern with manometry or anal surface EMG (one of three evacuation tests; at least two required). true or false as assigned by the caller. magent does not perform manometry or EMG.","type":"boolean"},"abnormal_balloon_expulsion":{"description":"Abnormal balloon expulsion test (one of three evacuation tests; at least two required). true or false as assigned by the caller. magent does not perform balloon expulsion.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"impaired_rectal_evacuation_by_imaging":{"description":"Impaired rectal evacuation by imaging (one of three evacuation tests; at least two required). true or false as assigned by the caller. magent does not perform imaging.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"satisfies_fc_and_or_ibs_with_constipation":{"description":"The patient already satisfies diagnostic criteria for functional constipation and/or IBS with constipation, as assigned (Rao 2016 F3). true or false as assigned by the caller. magent does not re-run those tools.","type":"boolean"}},"required":["satisfies_fc_and_or_ibs_with_constipation","abnormal_balloon_expulsion","abnormal_anorectal_evacuation_pattern_manometry_or_emg","impaired_rectal_evacuation_by_imaging","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":39055,"slug":"39055","resource":"https://api.magentlab.com/api/calc/liu_respiratory","description":"Liu 2004 respiratory clinical score: four caller-assigned 0-3 domains — respiratory_rate (age-banded Table 1 ordinal, not raw breaths/min), retractions, dyspnea, and auscultation. magent sums only (max 12) and does not count breaths or auscultate. Score only; Liu 2004 does not print mild/moderate/severe total-score cutoffs. Not a diagnosis or treatment order. Not PRAM. Not Westley 1978 croup.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"auscultation":0,"dyspnea":0,"respiratory_rate":0,"retractions":0},{"auscultation":0,"dyspnea":0,"respiratory_rate":0,"retractions":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"auscultation":0,"citation":{"authors":"Liu LL, Gallaher MM, Davis RL, Rutter CM, Lewis TC, Marcuse EK","doi":"10.1002/ppul.10425","id":"liu-2004","source":"Pediatr Pulmonol. 2004;37(3):243-248","title":"Use of a respiratory clinical score among different providers"},"components":[{"factor":"respiratory_rate","points":0,"present":true,"value":0},{"factor":"retractions","points":0,"present":true,"value":0},{"factor":"dyspnea","points":0,"present":true,"value":0},{"factor":"auscultation","points":0,"present":true,"value":0}],"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.","dyspnea":0,"formula":"liu_respiratory","formula_expression":"Liu = respiratory_rate + retractions + dyspnea + auscultation; each caller-assigned 0-3; max 12","max_score":12,"respiratory_rate":0,"retractions":0,"score":0},{"auscultation":0,"citation":{"authors":"Liu LL, Gallaher MM, Davis RL, Rutter CM, Lewis TC, Marcuse EK","doi":"10.1002/ppul.10425","id":"liu-2004","source":"Pediatr Pulmonol. 2004;37(3):243-248","title":"Use of a respiratory clinical score among different providers"},"components":[{"factor":"respiratory_rate","points":0,"present":true,"value":0},{"factor":"retractions","points":0,"present":true,"value":0},{"factor":"dyspnea","points":0,"present":true,"value":0},{"factor":"auscultation","points":0,"present":true,"value":0}],"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.","dyspnea":0,"formula":"liu_respiratory","formula_expression":"Liu = respiratory_rate + retractions + dyspnea + auscultation; each caller-assigned 0-3; max 12","max_score":12,"respiratory_rate":0,"retractions":0,"score":0}],"path":"/api/calc/liu_respiratory"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"auscultation":{"description":"Caller-assigned Liu 2004 auscultation (integer 0-3): 0 normal breathing, no wheezing; 1 end-expiratory wheeze only; 2 expiratory wheeze only (greater than end-expiratory); 3 inspiratory and expiratory wheeze or diminished breath sounds or both. magent does not auscultate.","type":"integer"},"dyspnea":{"description":"Caller-assigned Liu 2004 dyspnea (integer 0-3). 0-2 years: 0 normal feeding, vocalizations and activity; 1 one of difficulty feeding, decreased vocalization or agitated; 2 two of those; 3 stops feeding, no vocalization, drowsy or confused. 2-4 years: 0 normal feeding, vocalizations and activity; 1 one of decreased appetite, increased coughing after play, hyperactivity; 2 two of those; 3 stops eating or drinking, stops playing, or drowsy and confused. >4 years: 0 counts to ≥10 in one breath; 1 counts to 7-9; 2 counts to 4-6; 3 counts to ≤3. magent does not examine the patient.","type":"integer"},"respiratory_rate":{"description":"Caller-assigned Liu 2004 respiratory-rate points (integer 0-3), not raw breaths/min. Table 1 age bands for 1/2/3: <2 months ≤60 / 61-69 / ≥70; 2-12 months ≤50 / 51-59 / ≥60; 1-2 years ≤40 / 41-44 / ≥45; 2-3 years ≤34 / 35-39 / ≥40; 4-5 years ≤30 / 31-35 / ≥36; 6-12 years ≤26 / 27-30 / ≥31; >12 years ≤23 / 24-27 / ≥28. 0 is the 0-point ordinal. magent does not count breaths.","type":"integer"},"retractions":{"description":"Caller-assigned Liu 2004 retractions (integer 0-3): 0 none; 1 subcostal or intercostal; 2 two of subcostal, intercostal, substernal or nasal flaring (infant); 3 three of subcostal, intercostal, substernal, infraclavicular or nasal flaring/head bobbing (infant). magent does not examine the patient.","type":"integer"}},"required":["respiratory_rate","retractions","dyspnea","auscultation"],"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":["liu","respiratory","asthma","pediatric","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:46:35.856Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:46:35.719Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"auscultation":0,"dyspnea":0,"respiratory_rate":0,"retractions":0},{"auscultation":0,"dyspnea":0,"respiratory_rate":0,"retractions":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"auscultation":0,"citation":{"authors":"Liu LL, Gallaher MM, Davis RL, Rutter CM, Lewis TC, Marcuse EK","doi":"10.1002/ppul.10425","id":"liu-2004","source":"Pediatr Pulmonol. 2004;37(3):243-248","title":"Use of a respiratory clinical score among different providers"},"components":[{"factor":"respiratory_rate","points":0,"present":true,"value":0},{"factor":"retractions","points":0,"present":true,"value":0},{"factor":"dyspnea","points":0,"present":true,"value":0},{"factor":"auscultation","points":0,"present":true,"value":0}],"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.","dyspnea":0,"formula":"liu_respiratory","formula_expression":"Liu = respiratory_rate + retractions + dyspnea + auscultation; each caller-assigned 0-3; max 12","max_score":12,"respiratory_rate":0,"retractions":0,"score":0},{"auscultation":0,"citation":{"authors":"Liu LL, Gallaher MM, Davis RL, Rutter CM, Lewis TC, Marcuse EK","doi":"10.1002/ppul.10425","id":"liu-2004","source":"Pediatr Pulmonol. 2004;37(3):243-248","title":"Use of a respiratory clinical score among different providers"},"components":[{"factor":"respiratory_rate","points":0,"present":true,"value":0},{"factor":"retractions","points":0,"present":true,"value":0},{"factor":"dyspnea","points":0,"present":true,"value":0},{"factor":"auscultation","points":0,"present":true,"value":0}],"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.","dyspnea":0,"formula":"liu_respiratory","formula_expression":"Liu = respiratory_rate + retractions + dyspnea + auscultation; each caller-assigned 0-3; max 12","max_score":12,"respiratory_rate":0,"retractions":0,"score":0}],"path":"/api/calc/liu_respiratory"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"auscultation":{"description":"Caller-assigned Liu 2004 auscultation (integer 0-3): 0 normal breathing, no wheezing; 1 end-expiratory wheeze only; 2 expiratory wheeze only (greater than end-expiratory); 3 inspiratory and expiratory wheeze or diminished breath sounds or both. magent does not auscultate.","type":"integer"},"dyspnea":{"description":"Caller-assigned Liu 2004 dyspnea (integer 0-3). 0-2 years: 0 normal feeding, vocalizations and activity; 1 one of difficulty feeding, decreased vocalization or agitated; 2 two of those; 3 stops feeding, no vocalization, drowsy or confused. 2-4 years: 0 normal feeding, vocalizations and activity; 1 one of decreased appetite, increased coughing after play, hyperactivity; 2 two of those; 3 stops eating or drinking, stops playing, or drowsy and confused. >4 years: 0 counts to ≥10 in one breath; 1 counts to 7-9; 2 counts to 4-6; 3 counts to ≤3. magent does not examine the patient.","type":"integer"},"respiratory_rate":{"description":"Caller-assigned Liu 2004 respiratory-rate points (integer 0-3), not raw breaths/min. Table 1 age bands for 1/2/3: <2 months ≤60 / 61-69 / ≥70; 2-12 months ≤50 / 51-59 / ≥60; 1-2 years ≤40 / 41-44 / ≥45; 2-3 years ≤34 / 35-39 / ≥40; 4-5 years ≤30 / 31-35 / ≥36; 6-12 years ≤26 / 27-30 / ≥31; >12 years ≤23 / 24-27 / ≥28. 0 is the 0-point ordinal. magent does not count breaths.","type":"integer"},"retractions":{"description":"Caller-assigned Liu 2004 retractions (integer 0-3): 0 none; 1 subcostal or intercostal; 2 two of subcostal, intercostal, substernal or nasal flaring (infant); 3 three of subcostal, intercostal, substernal, infraclavicular or nasal flaring/head bobbing (infant). magent does not examine the patient.","type":"integer"}},"required":["respiratory_rate","retractions","dyspnea","auscultation"],"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},{"id":39056,"slug":"39056","resource":"https://api.magentlab.com/api/calc/lights","description":"Light 1972 pleural fluid criteria: exudate if protein ratio > 0.5, LDH ratio > 0.6, or pleural LDH > two-thirds the laboratory LDH ULN. ULN is required; magent does not assume 200 U/L. Strictly greater than those cutoffs. Deterministic published arithmetic with citation; not a diagnosis of cause, not Heffner's abbreviated criteria, and not a chest x-ray interpretation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ldh_uln_u_l":200,"pleural_ldh_u_l":100,"pleural_protein_g_dl":3,"serum_ldh_u_l":200,"serum_protein_g_dl":6},{"ldh_uln_u_l":200,"pleural_ldh_u_l":100,"pleural_protein_g_dl":3,"serum_ldh_u_l":200,"serum_protein_g_dl":6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Light RW, Macgregor MI, Luchsinger PC, Ball WC Jr","doi":"10.7326/0003-4819-77-4-507","id":"light-1972","source":"Ann Intern Med. 1972;77(4):507-513","title":"Pleural effusions: the diagnostic separation of transudates and exudates"},"criteria":[{"factor":"protein_ratio_gt_0_5","met":false,"value":0.5},{"factor":"ldh_ratio_gt_0_6","met":false,"value":0.5},{"factor":"pleural_ldh_gt_two_thirds_uln","met":false,"value":100}],"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.","exudate":false,"formula":"lights","formula_expression":"exudate if pleural_protein_g_dl / serum_protein_g_dl > 0.5 or pleural_ldh_u_l / serum_ldh_u_l > 0.6 or pleural_ldh_u_l > (2/3) * ldh_uln_u_l","ldh_ratio":0.5,"ldh_two_thirds_uln":133.3,"pleural_ldh_u_l":100,"protein_ratio":0.5},{"citation":{"authors":"Light RW, Macgregor MI, Luchsinger PC, Ball WC Jr","doi":"10.7326/0003-4819-77-4-507","id":"light-1972","source":"Ann Intern Med. 1972;77(4):507-513","title":"Pleural effusions: the diagnostic separation of transudates and exudates"},"criteria":[{"factor":"protein_ratio_gt_0_5","met":false,"value":0.5},{"factor":"ldh_ratio_gt_0_6","met":false,"value":0.5},{"factor":"pleural_ldh_gt_two_thirds_uln","met":false,"value":100}],"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.","exudate":false,"formula":"lights","formula_expression":"exudate if pleural_protein_g_dl / serum_protein_g_dl > 0.5 or pleural_ldh_u_l / serum_ldh_u_l > 0.6 or pleural_ldh_u_l > (2/3) * ldh_uln_u_l","ldh_ratio":0.5,"ldh_two_thirds_uln":133.3,"pleural_ldh_u_l":100,"protein_ratio":0.5}],"path":"/api/calc/lights"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ldh_uln_u_l":{"description":"Laboratory LDH upper limit of normal in U/L (50-2000). Required; magent does not assume 200.","type":"number"},"pleural_ldh_u_l":{"description":"Pleural fluid LDH in U/L (1-10000).","type":"number"},"pleural_protein_g_dl":{"description":"Pleural fluid protein in g/dL (0.1-20).","type":"number"},"serum_ldh_u_l":{"description":"Serum LDH in U/L (1-10000).","type":"number"},"serum_protein_g_dl":{"description":"Serum protein in g/dL (0.1-20).","type":"number"}},"required":["pleural_protein_g_dl","serum_protein_g_dl","pleural_ldh_u_l","serum_ldh_u_l","ldh_uln_u_l"],"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":["lights","pleural","respiratory","exudate","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:46:34.854Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:46:34.512Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ldh_uln_u_l":200,"pleural_ldh_u_l":100,"pleural_protein_g_dl":3,"serum_ldh_u_l":200,"serum_protein_g_dl":6},{"ldh_uln_u_l":200,"pleural_ldh_u_l":100,"pleural_protein_g_dl":3,"serum_ldh_u_l":200,"serum_protein_g_dl":6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Light RW, Macgregor MI, Luchsinger PC, Ball WC Jr","doi":"10.7326/0003-4819-77-4-507","id":"light-1972","source":"Ann Intern Med. 1972;77(4):507-513","title":"Pleural effusions: the diagnostic separation of transudates and exudates"},"criteria":[{"factor":"protein_ratio_gt_0_5","met":false,"value":0.5},{"factor":"ldh_ratio_gt_0_6","met":false,"value":0.5},{"factor":"pleural_ldh_gt_two_thirds_uln","met":false,"value":100}],"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.","exudate":false,"formula":"lights","formula_expression":"exudate if pleural_protein_g_dl / serum_protein_g_dl > 0.5 or pleural_ldh_u_l / serum_ldh_u_l > 0.6 or pleural_ldh_u_l > (2/3) * ldh_uln_u_l","ldh_ratio":0.5,"ldh_two_thirds_uln":133.3,"pleural_ldh_u_l":100,"protein_ratio":0.5},{"citation":{"authors":"Light RW, Macgregor MI, Luchsinger PC, Ball WC Jr","doi":"10.7326/0003-4819-77-4-507","id":"light-1972","source":"Ann Intern Med. 1972;77(4):507-513","title":"Pleural effusions: the diagnostic separation of transudates and exudates"},"criteria":[{"factor":"protein_ratio_gt_0_5","met":false,"value":0.5},{"factor":"ldh_ratio_gt_0_6","met":false,"value":0.5},{"factor":"pleural_ldh_gt_two_thirds_uln","met":false,"value":100}],"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.","exudate":false,"formula":"lights","formula_expression":"exudate if pleural_protein_g_dl / serum_protein_g_dl > 0.5 or pleural_ldh_u_l / serum_ldh_u_l > 0.6 or pleural_ldh_u_l > (2/3) * ldh_uln_u_l","ldh_ratio":0.5,"ldh_two_thirds_uln":133.3,"pleural_ldh_u_l":100,"protein_ratio":0.5}],"path":"/api/calc/lights"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ldh_uln_u_l":{"description":"Laboratory LDH upper limit of normal in U/L (50-2000). Required; magent does not assume 200.","type":"number"},"pleural_ldh_u_l":{"description":"Pleural fluid LDH in U/L (1-10000).","type":"number"},"pleural_protein_g_dl":{"description":"Pleural fluid protein in g/dL (0.1-20).","type":"number"},"serum_ldh_u_l":{"description":"Serum LDH in U/L (1-10000).","type":"number"},"serum_protein_g_dl":{"description":"Serum protein in g/dL (0.1-20).","type":"number"}},"required":["pleural_protein_g_dl","serum_protein_g_dl","pleural_ldh_u_l","serum_ldh_u_l","ldh_uln_u_l"],"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},{"id":39057,"slug":"39057","resource":"https://api.magentlab.com/api/calc/licurse","description":"Licurse 2010 AKI hydronephrosis points: history of hydronephrosis +4; nonblack (black=false) +1; recurrent UTI +1; obstruction-consistent diagnosis (mass, BPH, pelvic surgery, or neurogenic bladder) +1; absence of inpatient nephrotoxins, CHF, and prerenal AKI (pressor or sepsis) +1 each. Score 0-10. 2010 split only: <=2 low (HN 3.1%, HNRI 0.4%), >=3 higher (HN 15.7%, HNRI 4.7%). Not an imaging order. magent does not assign race or perform ultrasound.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"black":true,"chf":true,"history_hydronephrosis":false,"nephrotoxins":true,"obstruction_diagnosis":false,"prerenal_aki":true,"recurrent_uti":false},{"black":true,"chf":true,"history_hydronephrosis":false,"nephrotoxins":true,"obstruction_diagnosis":false,"prerenal_aki":true,"recurrent_uti":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"black":true,"chf":true,"citation":{"authors":"Licurse A, Kim MC, Dziura J, Forman HP, Formica RN, Makarov DV, Parikh CR, Gross CP","doi":"10.1001/archinternmed.2010.419","id":"licurse-2010","pmid":"21098343","source":"Arch Intern Med. 2010;170(21):1900-1907","title":"Renal Ultrasonography in the Evaluation of Acute Kidney Injury: Developing a Risk Stratification Framework"},"components":[{"factor":"history_hydronephrosis","points":0,"present":false},{"factor":"nonblack","points":0,"present":false,"value":true},{"factor":"recurrent_uti","points":0,"present":false},{"factor":"obstruction_diagnosis","points":0,"present":false},{"factor":"no_nephrotoxins","points":0,"present":false,"value":true},{"factor":"no_chf","points":0,"present":false,"value":true},{"factor":"no_prerenal_aki","points":0,"present":false,"value":true}],"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":"licurse","formula_expression":"Licurse = 4 if history_hydronephrosis + 1 if not black (nonblack race) + 1 if recurrent_uti + 1 if obstruction_diagnosis + 1 if not nephrotoxins + 1 if not chf + 1 if not prerenal_aki; integer points as used for the 2010 validation split; score 0-10; low iff score<=2 (validation HN 3.1%, HNRI 0.4%); higher iff score>=3 (validation HN 15.7%, HNRI 4.7%)","history_hydronephrosis":false,"max_score":10,"nephrotoxins":true,"obstruction_diagnosis":false,"prerenal_aki":true,"recurrent_uti":false,"risk_band":"low","score":0,"validation_hn_percent":3.1,"validation_hnri_percent":0.4},{"black":true,"chf":true,"citation":{"authors":"Licurse A, Kim MC, Dziura J, Forman HP, Formica RN, Makarov DV, Parikh CR, Gross CP","doi":"10.1001/archinternmed.2010.419","id":"licurse-2010","pmid":"21098343","source":"Arch Intern Med. 2010;170(21):1900-1907","title":"Renal Ultrasonography in the Evaluation of Acute Kidney Injury: Developing a Risk Stratification Framework"},"components":[{"factor":"history_hydronephrosis","points":0,"present":false},{"factor":"nonblack","points":0,"present":false,"value":true},{"factor":"recurrent_uti","points":0,"present":false},{"factor":"obstruction_diagnosis","points":0,"present":false},{"factor":"no_nephrotoxins","points":0,"present":false,"value":true},{"factor":"no_chf","points":0,"present":false,"value":true},{"factor":"no_prerenal_aki","points":0,"present":false,"value":true}],"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":"licurse","formula_expression":"Licurse = 4 if history_hydronephrosis + 1 if not black (nonblack race) + 1 if recurrent_uti + 1 if obstruction_diagnosis + 1 if not nephrotoxins + 1 if not chf + 1 if not prerenal_aki; integer points as used for the 2010 validation split; score 0-10; low iff score<=2 (validation HN 3.1%, HNRI 0.4%); higher iff score>=3 (validation HN 15.7%, HNRI 4.7%)","history_hydronephrosis":false,"max_score":10,"nephrotoxins":true,"obstruction_diagnosis":false,"prerenal_aki":true,"recurrent_uti":false,"risk_band":"low","score":0,"validation_hn_percent":3.1,"validation_hnri_percent":0.4}],"path":"/api/calc/licurse"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"black":{"description":"Caller-assigned Black as used in Licurse 2010; magent does not assign race. Nonblack race (false) scores 1. true or false.","type":"boolean"},"chf":{"description":"Congestive heart failure as assigned by the caller (Licurse 2010). Absence (false) scores 1. magent does not diagnose heart failure.","type":"boolean"},"history_hydronephrosis":{"description":"History of hydronephrosis as assigned by the caller (Licurse 2010). true scores 4. magent does not read imaging or perform ultrasound.","type":"boolean"},"nephrotoxins":{"description":"Inpatient nephrotoxic exposure as assigned by the caller (Licurse 2010). Absence (false) scores 1. magent does not identify medications.","type":"boolean"},"obstruction_diagnosis":{"description":"Diagnosis consistent with possible obstruction (abdominal or pelvic mass, BPH, pelvic surgery, or neurogenic bladder) as one caller-assigned flag (Licurse 2010). true scores 1. magent does not examine the patient.","type":"boolean"},"prerenal_aki":{"description":"Prerenal AKI (pressor use or sepsis) as assigned by the caller (Licurse 2010). Absence (false) scores 1. magent does not diagnose sepsis or read pressor use.","type":"boolean"},"recurrent_uti":{"description":"Recurrent urinary tract infections as assigned by the caller (Licurse 2010). true scores 1. magent does not take a culture history.","type":"boolean"}},"required":["history_hydronephrosis","black","recurrent_uti","obstruction_diagnosis","nephrotoxins","chf","prerenal_aki"],"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":["licurse","aki","hydronephrosis","kidney","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:46:33.554Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:46:33.385Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"black":true,"chf":true,"history_hydronephrosis":false,"nephrotoxins":true,"obstruction_diagnosis":false,"prerenal_aki":true,"recurrent_uti":false},{"black":true,"chf":true,"history_hydronephrosis":false,"nephrotoxins":true,"obstruction_diagnosis":false,"prerenal_aki":true,"recurrent_uti":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"black":true,"chf":true,"citation":{"authors":"Licurse A, Kim MC, Dziura J, Forman HP, Formica RN, Makarov DV, Parikh CR, Gross CP","doi":"10.1001/archinternmed.2010.419","id":"licurse-2010","pmid":"21098343","source":"Arch Intern Med. 2010;170(21):1900-1907","title":"Renal Ultrasonography in the Evaluation of Acute Kidney Injury: Developing a Risk Stratification Framework"},"components":[{"factor":"history_hydronephrosis","points":0,"present":false},{"factor":"nonblack","points":0,"present":false,"value":true},{"factor":"recurrent_uti","points":0,"present":false},{"factor":"obstruction_diagnosis","points":0,"present":false},{"factor":"no_nephrotoxins","points":0,"present":false,"value":true},{"factor":"no_chf","points":0,"present":false,"value":true},{"factor":"no_prerenal_aki","points":0,"present":false,"value":true}],"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":"licurse","formula_expression":"Licurse = 4 if history_hydronephrosis + 1 if not black (nonblack race) + 1 if recurrent_uti + 1 if obstruction_diagnosis + 1 if not nephrotoxins + 1 if not chf + 1 if not prerenal_aki; integer points as used for the 2010 validation split; score 0-10; low iff score<=2 (validation HN 3.1%, HNRI 0.4%); higher iff score>=3 (validation HN 15.7%, HNRI 4.7%)","history_hydronephrosis":false,"max_score":10,"nephrotoxins":true,"obstruction_diagnosis":false,"prerenal_aki":true,"recurrent_uti":false,"risk_band":"low","score":0,"validation_hn_percent":3.1,"validation_hnri_percent":0.4},{"black":true,"chf":true,"citation":{"authors":"Licurse A, Kim MC, Dziura J, Forman HP, Formica RN, Makarov DV, Parikh CR, Gross CP","doi":"10.1001/archinternmed.2010.419","id":"licurse-2010","pmid":"21098343","source":"Arch Intern Med. 2010;170(21):1900-1907","title":"Renal Ultrasonography in the Evaluation of Acute Kidney Injury: Developing a Risk Stratification Framework"},"components":[{"factor":"history_hydronephrosis","points":0,"present":false},{"factor":"nonblack","points":0,"present":false,"value":true},{"factor":"recurrent_uti","points":0,"present":false},{"factor":"obstruction_diagnosis","points":0,"present":false},{"factor":"no_nephrotoxins","points":0,"present":false,"value":true},{"factor":"no_chf","points":0,"present":false,"value":true},{"factor":"no_prerenal_aki","points":0,"present":false,"value":true}],"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":"licurse","formula_expression":"Licurse = 4 if history_hydronephrosis + 1 if not black (nonblack race) + 1 if recurrent_uti + 1 if obstruction_diagnosis + 1 if not nephrotoxins + 1 if not chf + 1 if not prerenal_aki; integer points as used for the 2010 validation split; score 0-10; low iff score<=2 (validation HN 3.1%, HNRI 0.4%); higher iff score>=3 (validation HN 15.7%, HNRI 4.7%)","history_hydronephrosis":false,"max_score":10,"nephrotoxins":true,"obstruction_diagnosis":false,"prerenal_aki":true,"recurrent_uti":false,"risk_band":"low","score":0,"validation_hn_percent":3.1,"validation_hnri_percent":0.4}],"path":"/api/calc/licurse"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"black":{"description":"Caller-assigned Black as used in Licurse 2010; magent does not assign race. Nonblack race (false) scores 1. true or false.","type":"boolean"},"chf":{"description":"Congestive heart failure as assigned by the caller (Licurse 2010). Absence (false) scores 1. magent does not diagnose heart failure.","type":"boolean"},"history_hydronephrosis":{"description":"History of hydronephrosis as assigned by the caller (Licurse 2010). true scores 4. magent does not read imaging or perform ultrasound.","type":"boolean"},"nephrotoxins":{"description":"Inpatient nephrotoxic exposure as assigned by the caller (Licurse 2010). Absence (false) scores 1. magent does not identify medications.","type":"boolean"},"obstruction_diagnosis":{"description":"Diagnosis consistent with possible obstruction (abdominal or pelvic mass, BPH, pelvic surgery, or neurogenic bladder) as one caller-assigned flag (Licurse 2010). true scores 1. magent does not examine the patient.","type":"boolean"},"prerenal_aki":{"description":"Prerenal AKI (pressor use or sepsis) as assigned by the caller (Licurse 2010). Absence (false) scores 1. magent does not diagnose sepsis or read pressor use.","type":"boolean"},"recurrent_uti":{"description":"Recurrent urinary tract infections as assigned by the caller (Licurse 2010). true scores 1. magent does not take a culture history.","type":"boolean"}},"required":["history_hydronephrosis","black","recurrent_uti","obstruction_diagnosis","nephrotoxins","chf","prerenal_aki"],"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},{"id":39058,"slug":"39058","resource":"https://api.magentlab.com/api/calc/lent","description":"Clive 2014 LENT score for malignant pleural effusion: pleural LDH IU/L (<1500 → 0, >1500 → 1), ECOG 0-4 (0→0, 1→1, 2→2, 3-4→3), serum NLR as a number (<9 → 0, >9 → 1), tumour type (mesothelioma/haematological 0; breast/gynaecological/renal_cell 1; lung/other 2). Score 0-7: 0-1 low, 2-4 moderate, 5-7 high. Equality at 1500 or 9 is not scored. Not a diagnosis or treatment order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ecog":0,"nlr":5,"pleural_ldh_u_l":1000,"tumor_type":"mesothelioma"},{"ecog":0,"nlr":5,"pleural_ldh_u_l":1000,"tumor_type":"mesothelioma"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Clive AO, Kahan BC, Hooper CE, Bhatnagar R, Morley AJ, Zahan-Evans N, Bintcliffe OJ, Boshuizen RC, Fysh ETH, Tobin CL, Medford ARL, Harvey JE, van den Heuvel MM, Lee YCG, Maskell NA","doi":"10.1136/thoraxjnl-2014-205285","id":"clive-2014","pmid":"25100651","source":"Thorax. 2014;69(12):1098-1104","title":"Predicting survival in malignant pleural effusion: development and validation of the LENT prognostic score"},"components":[{"factor":"pleural_ldh","points":0,"present":false,"value":1000},{"factor":"ecog","points":0,"present":true,"value":0},{"factor":"nlr","points":0,"present":false,"value":5},{"factor":"tumor_type","points":0,"present":false,"value":"mesothelioma"}],"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.","ecog":0,"formula":"lent","formula_expression":"LENT = L (pleural LDH IU/L: <1500 → 0, >1500 → 1) + E (ECOG 0→0, 1→1, 2→2, 3-4→3) + N (serum NLR: <9 → 0, >9 → 1) + T (mesothelioma/haematological → 0; breast/gynaecological/renal_cell → 1; lung/other → 2); Clive 2014 Table 3; max 7; 0-1 low, 2-4 moderate, 5-7 high","max_score":7,"nlr":5,"pleural_ldh_u_l":1000,"risk":"low","score":0,"tumor_type":"mesothelioma"},{"citation":{"authors":"Clive AO, Kahan BC, Hooper CE, Bhatnagar R, Morley AJ, Zahan-Evans N, Bintcliffe OJ, Boshuizen RC, Fysh ETH, Tobin CL, Medford ARL, Harvey JE, van den Heuvel MM, Lee YCG, Maskell NA","doi":"10.1136/thoraxjnl-2014-205285","id":"clive-2014","pmid":"25100651","source":"Thorax. 2014;69(12):1098-1104","title":"Predicting survival in malignant pleural effusion: development and validation of the LENT prognostic score"},"components":[{"factor":"pleural_ldh","points":0,"present":false,"value":1000},{"factor":"ecog","points":0,"present":true,"value":0},{"factor":"nlr","points":0,"present":false,"value":5},{"factor":"tumor_type","points":0,"present":false,"value":"mesothelioma"}],"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.","ecog":0,"formula":"lent","formula_expression":"LENT = L (pleural LDH IU/L: <1500 → 0, >1500 → 1) + E (ECOG 0→0, 1→1, 2→2, 3-4→3) + N (serum NLR: <9 → 0, >9 → 1) + T (mesothelioma/haematological → 0; breast/gynaecological/renal_cell → 1; lung/other → 2); Clive 2014 Table 3; max 7; 0-1 low, 2-4 moderate, 5-7 high","max_score":7,"nlr":5,"pleural_ldh_u_l":1000,"risk":"low","score":0,"tumor_type":"mesothelioma"}],"path":"/api/calc/lent"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecog":{"description":"Oken 1982 ECOG performance status 0-4 as assigned by the caller. Clive 2014: 0→0, 1→1, 2→2, 3-4→3. Grade 5 (dead) is not scored. magent does not observe the patient.","type":"integer"},"nlr":{"description":"Serum neutrophil-to-lymphocyte ratio as a number (0.05-200, not 9). Clive 2014 Table 3: <9 scores 0, >9 scores 1. Equality at 9 is not scored. Pass nlr; magent does not compute it from percents.","type":"number"},"pleural_ldh_u_l":{"description":"Pleural fluid LDH in IU/L (1-20000, not 1500). Clive 2014 Table 3: <1500 scores 0, >1500 scores 1. Equality at 1500 is not scored.","type":"number"},"tumor_type":{"description":"Clive 2014 tumour type. mesothelioma or haematological (also hematological) scores 0; breast, gynaecological (also gynecological), or renal_cell scores 1; lung or other scores 2. magent does not assign tumour type from histology text.","enum":["mesothelioma","haematological","breast","gynaecological","renal_cell","lung","other"],"type":"string"}},"required":["pleural_ldh_u_l","ecog","nlr","tumor_type"],"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":["lent","pleural","respiratory","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:36:33.486Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:36:33.362Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ecog":0,"nlr":5,"pleural_ldh_u_l":1000,"tumor_type":"mesothelioma"},{"ecog":0,"nlr":5,"pleural_ldh_u_l":1000,"tumor_type":"mesothelioma"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Clive AO, Kahan BC, Hooper CE, Bhatnagar R, Morley AJ, Zahan-Evans N, Bintcliffe OJ, Boshuizen RC, Fysh ETH, Tobin CL, Medford ARL, Harvey JE, van den Heuvel MM, Lee YCG, Maskell NA","doi":"10.1136/thoraxjnl-2014-205285","id":"clive-2014","pmid":"25100651","source":"Thorax. 2014;69(12):1098-1104","title":"Predicting survival in malignant pleural effusion: development and validation of the LENT prognostic score"},"components":[{"factor":"pleural_ldh","points":0,"present":false,"value":1000},{"factor":"ecog","points":0,"present":true,"value":0},{"factor":"nlr","points":0,"present":false,"value":5},{"factor":"tumor_type","points":0,"present":false,"value":"mesothelioma"}],"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.","ecog":0,"formula":"lent","formula_expression":"LENT = L (pleural LDH IU/L: <1500 → 0, >1500 → 1) + E (ECOG 0→0, 1→1, 2→2, 3-4→3) + N (serum NLR: <9 → 0, >9 → 1) + T (mesothelioma/haematological → 0; breast/gynaecological/renal_cell → 1; lung/other → 2); Clive 2014 Table 3; max 7; 0-1 low, 2-4 moderate, 5-7 high","max_score":7,"nlr":5,"pleural_ldh_u_l":1000,"risk":"low","score":0,"tumor_type":"mesothelioma"},{"citation":{"authors":"Clive AO, Kahan BC, Hooper CE, Bhatnagar R, Morley AJ, Zahan-Evans N, Bintcliffe OJ, Boshuizen RC, Fysh ETH, Tobin CL, Medford ARL, Harvey JE, van den Heuvel MM, Lee YCG, Maskell NA","doi":"10.1136/thoraxjnl-2014-205285","id":"clive-2014","pmid":"25100651","source":"Thorax. 2014;69(12):1098-1104","title":"Predicting survival in malignant pleural effusion: development and validation of the LENT prognostic score"},"components":[{"factor":"pleural_ldh","points":0,"present":false,"value":1000},{"factor":"ecog","points":0,"present":true,"value":0},{"factor":"nlr","points":0,"present":false,"value":5},{"factor":"tumor_type","points":0,"present":false,"value":"mesothelioma"}],"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.","ecog":0,"formula":"lent","formula_expression":"LENT = L (pleural LDH IU/L: <1500 → 0, >1500 → 1) + E (ECOG 0→0, 1→1, 2→2, 3-4→3) + N (serum NLR: <9 → 0, >9 → 1) + T (mesothelioma/haematological → 0; breast/gynaecological/renal_cell → 1; lung/other → 2); Clive 2014 Table 3; max 7; 0-1 low, 2-4 moderate, 5-7 high","max_score":7,"nlr":5,"pleural_ldh_u_l":1000,"risk":"low","score":0,"tumor_type":"mesothelioma"}],"path":"/api/calc/lent"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecog":{"description":"Oken 1982 ECOG performance status 0-4 as assigned by the caller. Clive 2014: 0→0, 1→1, 2→2, 3-4→3. Grade 5 (dead) is not scored. magent does not observe the patient.","type":"integer"},"nlr":{"description":"Serum neutrophil-to-lymphocyte ratio as a number (0.05-200, not 9). Clive 2014 Table 3: <9 scores 0, >9 scores 1. Equality at 9 is not scored. Pass nlr; magent does not compute it from percents.","type":"number"},"pleural_ldh_u_l":{"description":"Pleural fluid LDH in IU/L (1-20000, not 1500). Clive 2014 Table 3: <1500 scores 0, >1500 scores 1. Equality at 1500 is not scored.","type":"number"},"tumor_type":{"description":"Clive 2014 tumour type. mesothelioma or haematological (also hematological) scores 0; breast, gynaecological (also gynecological), or renal_cell scores 1; lung or other scores 2. magent does not assign tumour type from histology text.","enum":["mesothelioma","haematological","breast","gynaecological","renal_cell","lung","other"],"type":"string"}},"required":["pleural_ldh_u_l","ecog","nlr","tumor_type"],"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},{"id":39059,"slug":"39059","resource":"https://api.magentlab.com/api/calc/leibovich_2018","description":"Leibovich 2018 histology-specific RCC models after surgery. Required histology clear_cell, papillary, or chromophobe. ccRCC PFS points (2010 TNM): t1a/t1b/t2a 0, t2b 2, t3a-t3c 3, t4 4; nx/n0 0, n1 2; size ≥10 cm 1; grade 1-2 0, 3 1, 4 3; necrosis 2; max 12; risk low 0-2, intermediate 3-5, high ≥6. Papillary and chromophobe return the 2018 three PFS groups (score 0-2). Not SSIGN. Not Leibovich 2003. magent does not stage or read pathology. Not a diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"histology":"clear_cell","n_stage":"n0","necrosis":false,"nuclear_grade":2,"t_stage":"t1a","tumor_size_cm":3},{"histology":"clear_cell","n_stage":"n0","necrosis":false,"nuclear_grade":2,"t_stage":"t1a","tumor_size_cm":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Leibovich BC, Lohse CM, Cheville JC, Zaid HB, Boorjian SA, Frank I, Thompson RH, Parker WP","doi":"10.1016/j.eururo.2018.01.005","id":"leibovich-2018","pmid":"29398265","source":"Eur Urol. 2018;73(5):772-780","title":"Predicting Oncologic Outcomes in Renal Cell Carcinoma After Surgery"},"components":[{"factor":"t_stage","points":0,"present":true,"value":"t1a"},{"factor":"n_stage","points":0,"present":true,"value":"n0"},{"factor":"tumor_size_cm","points":0,"present":false,"value":3},{"factor":"nuclear_grade","points":0,"present":true,"value":2},{"factor":"necrosis","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":"leibovich_2018","formula_expression":"ccRCC PFS (Leibovich 2018, 2010 TNM): t_stage (t1a/t1b/t2a 0, t2b 2, t3a/t3b/t3c 3, t4 4) + n_stage (nx/n0 0, n1 2) + tumor_size_cm >=10 1 + nuclear_grade (1-2 0, 3 1, 4 3) + necrosis 2; max 12; risk low 0-2, intermediate 3-5, high >=6. papillary PFS groups: low grade 1-2 and t1-t2; intermediate grade 3 and t1-t2; high grade 4 or t3a-t4 (fat or thrombus). chromophobe PFS groups: low t1-t2 and nx/n0; intermediate t3a-t4 and nx/n0 (fat); high n1. Not Frank 2002 SSIGN. Not Leibovich 2003. No chromophobe CSS model.","histology":"clear_cell","max_score":12,"n_stage":"n0","necrosis":false,"nuclear_grade":2,"risk":"low","score":0,"t_stage":"t1a","tumor_size_cm":3},{"citation":{"authors":"Leibovich BC, Lohse CM, Cheville JC, Zaid HB, Boorjian SA, Frank I, Thompson RH, Parker WP","doi":"10.1016/j.eururo.2018.01.005","id":"leibovich-2018","pmid":"29398265","source":"Eur Urol. 2018;73(5):772-780","title":"Predicting Oncologic Outcomes in Renal Cell Carcinoma After Surgery"},"components":[{"factor":"t_stage","points":0,"present":true,"value":"t1a"},{"factor":"n_stage","points":0,"present":true,"value":"n0"},{"factor":"tumor_size_cm","points":0,"present":false,"value":3},{"factor":"nuclear_grade","points":0,"present":true,"value":2},{"factor":"necrosis","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":"leibovich_2018","formula_expression":"ccRCC PFS (Leibovich 2018, 2010 TNM): t_stage (t1a/t1b/t2a 0, t2b 2, t3a/t3b/t3c 3, t4 4) + n_stage (nx/n0 0, n1 2) + tumor_size_cm >=10 1 + nuclear_grade (1-2 0, 3 1, 4 3) + necrosis 2; max 12; risk low 0-2, intermediate 3-5, high >=6. papillary PFS groups: low grade 1-2 and t1-t2; intermediate grade 3 and t1-t2; high grade 4 or t3a-t4 (fat or thrombus). chromophobe PFS groups: low t1-t2 and nx/n0; intermediate t3a-t4 and nx/n0 (fat); high n1. Not Frank 2002 SSIGN. Not Leibovich 2003. No chromophobe CSS model.","histology":"clear_cell","max_score":12,"n_stage":"n0","necrosis":false,"nuclear_grade":2,"risk":"low","score":0,"t_stage":"t1a","tumor_size_cm":3}],"path":"/api/calc/leibovich_2018"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"histology":{"description":"Surgical histology as assigned by the caller (Leibovich 2018). clear_cell, papillary, or chromophobe. Not collecting-duct or unclassified. magent does not read slides.","enum":["clear_cell","papillary","chromophobe"],"type":"string"},"n_stage":{"description":"2010 pathologic N as assigned by the caller (Leibovich 2018). nx or n0 scores 0 on ccRCC; n1 scores 2. Not n2 (2002 N). magent does not stage nodes.","enum":["nx","n0","n1"],"type":"string"},"necrosis":{"description":"Histologic tumor necrosis as assigned by the caller (Leibovich 2018). true scores 2 on ccRCC. magent does not read slides.","type":"boolean"},"nuclear_grade":{"description":"Nuclear grade 1-4 as assigned by the caller (Leibovich 2018). On ccRCC, 1-2 score 0; 3 scores 1; 4 scores 3. Integer 1-4 only; reject 0, 5, 1.5, and roman I. magent does not read slides.","type":"integer"},"t_stage":{"description":"2010 pathologic T as assigned by the caller (Leibovich 2018). t1a, t1b, t2a, t2b, t3a, t3b, t3c, or t4. Not 1997/2002 T without a/b substages. magent does not stage the tumor.","enum":["t1a","t1b","t2a","t2b","t3a","t3b","t3c","t4"],"type":"string"},"tumor_size_cm":{"description":"Maximum tumor size in cm as assigned by the caller (Leibovich 2018). Unrounded; 10.0 cm or greater scores 1 on ccRCC. Magent clamp 0.1-30, not a published range. magent does not measure the tumor.","type":"number"}},"required":["histology","t_stage","n_stage","tumor_size_cm","nuclear_grade","necrosis"],"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":["leibovich-2018","rcc","kidney","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:36:31.499Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:36:31.351Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"histology":"clear_cell","n_stage":"n0","necrosis":false,"nuclear_grade":2,"t_stage":"t1a","tumor_size_cm":3},{"histology":"clear_cell","n_stage":"n0","necrosis":false,"nuclear_grade":2,"t_stage":"t1a","tumor_size_cm":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Leibovich BC, Lohse CM, Cheville JC, Zaid HB, Boorjian SA, Frank I, Thompson RH, Parker WP","doi":"10.1016/j.eururo.2018.01.005","id":"leibovich-2018","pmid":"29398265","source":"Eur Urol. 2018;73(5):772-780","title":"Predicting Oncologic Outcomes in Renal Cell Carcinoma After Surgery"},"components":[{"factor":"t_stage","points":0,"present":true,"value":"t1a"},{"factor":"n_stage","points":0,"present":true,"value":"n0"},{"factor":"tumor_size_cm","points":0,"present":false,"value":3},{"factor":"nuclear_grade","points":0,"present":true,"value":2},{"factor":"necrosis","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":"leibovich_2018","formula_expression":"ccRCC PFS (Leibovich 2018, 2010 TNM): t_stage (t1a/t1b/t2a 0, t2b 2, t3a/t3b/t3c 3, t4 4) + n_stage (nx/n0 0, n1 2) + tumor_size_cm >=10 1 + nuclear_grade (1-2 0, 3 1, 4 3) + necrosis 2; max 12; risk low 0-2, intermediate 3-5, high >=6. papillary PFS groups: low grade 1-2 and t1-t2; intermediate grade 3 and t1-t2; high grade 4 or t3a-t4 (fat or thrombus). chromophobe PFS groups: low t1-t2 and nx/n0; intermediate t3a-t4 and nx/n0 (fat); high n1. Not Frank 2002 SSIGN. Not Leibovich 2003. No chromophobe CSS model.","histology":"clear_cell","max_score":12,"n_stage":"n0","necrosis":false,"nuclear_grade":2,"risk":"low","score":0,"t_stage":"t1a","tumor_size_cm":3},{"citation":{"authors":"Leibovich BC, Lohse CM, Cheville JC, Zaid HB, Boorjian SA, Frank I, Thompson RH, Parker WP","doi":"10.1016/j.eururo.2018.01.005","id":"leibovich-2018","pmid":"29398265","source":"Eur Urol. 2018;73(5):772-780","title":"Predicting Oncologic Outcomes in Renal Cell Carcinoma After Surgery"},"components":[{"factor":"t_stage","points":0,"present":true,"value":"t1a"},{"factor":"n_stage","points":0,"present":true,"value":"n0"},{"factor":"tumor_size_cm","points":0,"present":false,"value":3},{"factor":"nuclear_grade","points":0,"present":true,"value":2},{"factor":"necrosis","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":"leibovich_2018","formula_expression":"ccRCC PFS (Leibovich 2018, 2010 TNM): t_stage (t1a/t1b/t2a 0, t2b 2, t3a/t3b/t3c 3, t4 4) + n_stage (nx/n0 0, n1 2) + tumor_size_cm >=10 1 + nuclear_grade (1-2 0, 3 1, 4 3) + necrosis 2; max 12; risk low 0-2, intermediate 3-5, high >=6. papillary PFS groups: low grade 1-2 and t1-t2; intermediate grade 3 and t1-t2; high grade 4 or t3a-t4 (fat or thrombus). chromophobe PFS groups: low t1-t2 and nx/n0; intermediate t3a-t4 and nx/n0 (fat); high n1. Not Frank 2002 SSIGN. Not Leibovich 2003. No chromophobe CSS model.","histology":"clear_cell","max_score":12,"n_stage":"n0","necrosis":false,"nuclear_grade":2,"risk":"low","score":0,"t_stage":"t1a","tumor_size_cm":3}],"path":"/api/calc/leibovich_2018"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"histology":{"description":"Surgical histology as assigned by the caller (Leibovich 2018). clear_cell, papillary, or chromophobe. Not collecting-duct or unclassified. magent does not read slides.","enum":["clear_cell","papillary","chromophobe"],"type":"string"},"n_stage":{"description":"2010 pathologic N as assigned by the caller (Leibovich 2018). nx or n0 scores 0 on ccRCC; n1 scores 2. Not n2 (2002 N). magent does not stage nodes.","enum":["nx","n0","n1"],"type":"string"},"necrosis":{"description":"Histologic tumor necrosis as assigned by the caller (Leibovich 2018). true scores 2 on ccRCC. magent does not read slides.","type":"boolean"},"nuclear_grade":{"description":"Nuclear grade 1-4 as assigned by the caller (Leibovich 2018). On ccRCC, 1-2 score 0; 3 scores 1; 4 scores 3. Integer 1-4 only; reject 0, 5, 1.5, and roman I. magent does not read slides.","type":"integer"},"t_stage":{"description":"2010 pathologic T as assigned by the caller (Leibovich 2018). t1a, t1b, t2a, t2b, t3a, t3b, t3c, or t4. Not 1997/2002 T without a/b substages. magent does not stage the tumor.","enum":["t1a","t1b","t2a","t2b","t3a","t3b","t3c","t4"],"type":"string"},"tumor_size_cm":{"description":"Maximum tumor size in cm as assigned by the caller (Leibovich 2018). Unrounded; 10.0 cm or greater scores 1 on ccRCC. Magent clamp 0.1-30, not a published range. magent does not measure the tumor.","type":"number"}},"required":["histology","t_stage","n_stage","tumor_size_cm","nuclear_grade","necrosis"],"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},{"id":39060,"slug":"39060","resource":"https://api.magentlab.com/api/calc/lams","description":"Llanes 2004 Los Angeles Motor Scale (LAMS): facial droop 0 absent / 1 present + arm drift 0 absent / 1 drifts down / 2 falls rapidly + grip 0 normal / 1 weak / 2 no grip. Max 5. Point values assigned to LAPSS motor items. Deterministic published arithmetic with citation; not NIHSS, not a stroke diagnosis or thrombolysis order. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"arm_drift":0,"facial_droop":0,"grip":0},{"arm_drift":0,"facial_droop":0,"grip":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arm_drift":0,"citation":{"authors":"Llanes JN, Kidwell CS, Starkman S, Leary MC, Eckstein M, Saver JL","doi":"10.1080/312703002806","id":"llanes-2004","pmid":"14691787","source":"Prehosp Emerg Care. 2004;8(1):46-50","title":"The Los Angeles Motor Scale (LAMS): a new measure to characterize stroke severity in the field"},"components":[{"factor":"facial_droop","points":0,"present":false,"value":0},{"factor":"arm_drift","points":0,"present":false,"value":0},{"factor":"grip","points":0,"present":false,"value":0}],"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.","facial_droop":0,"formula":"lams","formula_expression":"LAMS = facial_droop (0 absent, 1 present) + arm_drift (0 absent, 1 drifts down, 2 falls rapidly) + grip (0 normal, 1 weak, 2 no grip); Llanes 2004 LAPSS motor items; max 5","grip":0,"max_score":5,"score":0},{"arm_drift":0,"citation":{"authors":"Llanes JN, Kidwell CS, Starkman S, Leary MC, Eckstein M, Saver JL","doi":"10.1080/312703002806","id":"llanes-2004","pmid":"14691787","source":"Prehosp Emerg Care. 2004;8(1):46-50","title":"The Los Angeles Motor Scale (LAMS): a new measure to characterize stroke severity in the field"},"components":[{"factor":"facial_droop","points":0,"present":false,"value":0},{"factor":"arm_drift","points":0,"present":false,"value":0},{"factor":"grip","points":0,"present":false,"value":0}],"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.","facial_droop":0,"formula":"lams","formula_expression":"LAMS = facial_droop (0 absent, 1 present) + arm_drift (0 absent, 1 drifts down, 2 falls rapidly) + grip (0 normal, 1 weak, 2 no grip); Llanes 2004 LAPSS motor items; max 5","grip":0,"max_score":5,"score":0}],"path":"/api/calc/lams"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arm_drift":{"description":"Llanes 2004 arm drift as assigned by the caller. 0 absent, 1 drifts down, 2 falls rapidly. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"facial_droop":{"description":"Llanes 2004 facial droop as assigned by the caller. 0 absent, 1 present. magent does not examine the patient.","enum":[0,1],"type":"integer"},"grip":{"description":"Llanes 2004 grip as assigned by the caller. 0 normal, 1 weak, 2 no grip. magent does not examine the patient.","enum":[0,1,2],"type":"integer"}},"required":["facial_droop","arm_drift","grip"],"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":["lams","stroke","prehospital","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:36:28.054Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:36:27.935Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"arm_drift":0,"facial_droop":0,"grip":0},{"arm_drift":0,"facial_droop":0,"grip":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arm_drift":0,"citation":{"authors":"Llanes JN, Kidwell CS, Starkman S, Leary MC, Eckstein M, Saver JL","doi":"10.1080/312703002806","id":"llanes-2004","pmid":"14691787","source":"Prehosp Emerg Care. 2004;8(1):46-50","title":"The Los Angeles Motor Scale (LAMS): a new measure to characterize stroke severity in the field"},"components":[{"factor":"facial_droop","points":0,"present":false,"value":0},{"factor":"arm_drift","points":0,"present":false,"value":0},{"factor":"grip","points":0,"present":false,"value":0}],"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.","facial_droop":0,"formula":"lams","formula_expression":"LAMS = facial_droop (0 absent, 1 present) + arm_drift (0 absent, 1 drifts down, 2 falls rapidly) + grip (0 normal, 1 weak, 2 no grip); Llanes 2004 LAPSS motor items; max 5","grip":0,"max_score":5,"score":0},{"arm_drift":0,"citation":{"authors":"Llanes JN, Kidwell CS, Starkman S, Leary MC, Eckstein M, Saver JL","doi":"10.1080/312703002806","id":"llanes-2004","pmid":"14691787","source":"Prehosp Emerg Care. 2004;8(1):46-50","title":"The Los Angeles Motor Scale (LAMS): a new measure to characterize stroke severity in the field"},"components":[{"factor":"facial_droop","points":0,"present":false,"value":0},{"factor":"arm_drift","points":0,"present":false,"value":0},{"factor":"grip","points":0,"present":false,"value":0}],"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.","facial_droop":0,"formula":"lams","formula_expression":"LAMS = facial_droop (0 absent, 1 present) + arm_drift (0 absent, 1 drifts down, 2 falls rapidly) + grip (0 normal, 1 weak, 2 no grip); Llanes 2004 LAPSS motor items; max 5","grip":0,"max_score":5,"score":0}],"path":"/api/calc/lams"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arm_drift":{"description":"Llanes 2004 arm drift as assigned by the caller. 0 absent, 1 drifts down, 2 falls rapidly. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"facial_droop":{"description":"Llanes 2004 facial droop as assigned by the caller. 0 absent, 1 present. magent does not examine the patient.","enum":[0,1],"type":"integer"},"grip":{"description":"Llanes 2004 grip as assigned by the caller. 0 normal, 1 weak, 2 no grip. magent does not examine the patient.","enum":[0,1,2],"type":"integer"}},"required":["facial_droop","arm_drift","grip"],"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},{"id":39061,"slug":"39061","resource":"https://api.magentlab.com/api/calc/lace","description":"LACE (van Walraven 2010 CMAJ Table 3) from length of stay in days (<1 0; 1 1; 2 2; 3 3; 4-6 4; 7-13 5; >=14 7), acute (emergent) admission (true 3), caller-supplied Charlson comorbidity index (0-3 identity; >=4 5), and ED visits in the previous 6 months (0-3 identity; >=4 4). Score 0-19 only; no unpublished high-risk class. Not a discharge order. magent does not compute Charlson.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_admission":false,"charlson":0,"ed_visits_6mo":0,"length_of_stay_days":1},{"acute_admission":false,"charlson":0,"ed_visits_6mo":0,"length_of_stay_days":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acute_admission":false,"charlson":0,"citation":{"authors":"van Walraven C, Dhalla IA, Bell C, Etchells E, Stiell IG, Zarnke K, Austin PC, Forster AJ","doi":"10.1503/cmaj.091117","id":"van-walraven-2010","pmid":"20194559","source":"CMAJ. 2010;182(6):551-557","title":"Derivation and validation of an index to predict early death or unplanned readmission after discharge from hospital to the community"},"components":[{"factor":"length_of_stay","points":1,"present":true,"value":1},{"factor":"acute_admission","points":0,"present":false},{"factor":"charlson","points":0,"present":false,"value":0},{"factor":"ed_visits_6mo","points":0,"present":false,"value":0}],"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.","ed_visits_6mo":0,"formula":"lace","formula_expression":"LACE = los_points + acute_admission_points + charlson_points + ed_visits_points; van Walraven 2010 Table 3; LOS <1 0, 1 1, 2 2, 3 3, 4-6 4, 7-13 5, >=14 7; acute true 3; Charlson 0-3 identity, >=4 5; ED 0-3 identity, >=4 4; max 19","length_of_stay_days":1,"max_score":19,"score":1},{"acute_admission":false,"charlson":0,"citation":{"authors":"van Walraven C, Dhalla IA, Bell C, Etchells E, Stiell IG, Zarnke K, Austin PC, Forster AJ","doi":"10.1503/cmaj.091117","id":"van-walraven-2010","pmid":"20194559","source":"CMAJ. 2010;182(6):551-557","title":"Derivation and validation of an index to predict early death or unplanned readmission after discharge from hospital to the community"},"components":[{"factor":"length_of_stay","points":1,"present":true,"value":1},{"factor":"acute_admission","points":0,"present":false},{"factor":"charlson","points":0,"present":false,"value":0},{"factor":"ed_visits_6mo","points":0,"present":false,"value":0}],"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.","ed_visits_6mo":0,"formula":"lace","formula_expression":"LACE = los_points + acute_admission_points + charlson_points + ed_visits_points; van Walraven 2010 Table 3; LOS <1 0, 1 1, 2 2, 3 3, 4-6 4, 7-13 5, >=14 7; acute true 3; Charlson 0-3 identity, >=4 5; ED 0-3 identity, >=4 4; max 19","length_of_stay_days":1,"max_score":19,"score":1}],"path":"/api/calc/lace"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_admission":{"description":"Acute (emergent) admission as assigned by the caller (true or false). van Walraven 2010 Table 3 A: true → 3, false → 0.","type":"boolean"},"charlson":{"description":"Caller-supplied Charlson comorbidity index (integer 0-37). magent does not compute Charlson. van Walraven 2010 Table 3 C: 0 → 0, 1 → 1, 2 → 2, 3 → 3, ≥4 → 5.","type":"integer"},"ed_visits_6mo":{"description":"Emergency-department visits in the previous 6 months (integer 0-30). van Walraven 2010 Table 3 E: 0 → 0, 1 → 1, 2 → 2, 3 → 3, ≥4 → 4.","type":"integer"},"length_of_stay_days":{"description":"Length of stay in days (integer 0-365). van Walraven 2010 Table 3 L: <1 → 0, 1 → 1, 2 → 2, 3 → 3, 4-6 → 4, 7-13 → 5, ≥14 → 7. 0 days is the <1 bin.","type":"integer"}},"required":["length_of_stay_days","acute_admission","charlson","ed_visits_6mo"],"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":["lace","readmission","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:31:18.411Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:31:18.298Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_admission":false,"charlson":0,"ed_visits_6mo":0,"length_of_stay_days":1},{"acute_admission":false,"charlson":0,"ed_visits_6mo":0,"length_of_stay_days":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acute_admission":false,"charlson":0,"citation":{"authors":"van Walraven C, Dhalla IA, Bell C, Etchells E, Stiell IG, Zarnke K, Austin PC, Forster AJ","doi":"10.1503/cmaj.091117","id":"van-walraven-2010","pmid":"20194559","source":"CMAJ. 2010;182(6):551-557","title":"Derivation and validation of an index to predict early death or unplanned readmission after discharge from hospital to the community"},"components":[{"factor":"length_of_stay","points":1,"present":true,"value":1},{"factor":"acute_admission","points":0,"present":false},{"factor":"charlson","points":0,"present":false,"value":0},{"factor":"ed_visits_6mo","points":0,"present":false,"value":0}],"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.","ed_visits_6mo":0,"formula":"lace","formula_expression":"LACE = los_points + acute_admission_points + charlson_points + ed_visits_points; van Walraven 2010 Table 3; LOS <1 0, 1 1, 2 2, 3 3, 4-6 4, 7-13 5, >=14 7; acute true 3; Charlson 0-3 identity, >=4 5; ED 0-3 identity, >=4 4; max 19","length_of_stay_days":1,"max_score":19,"score":1},{"acute_admission":false,"charlson":0,"citation":{"authors":"van Walraven C, Dhalla IA, Bell C, Etchells E, Stiell IG, Zarnke K, Austin PC, Forster AJ","doi":"10.1503/cmaj.091117","id":"van-walraven-2010","pmid":"20194559","source":"CMAJ. 2010;182(6):551-557","title":"Derivation and validation of an index to predict early death or unplanned readmission after discharge from hospital to the community"},"components":[{"factor":"length_of_stay","points":1,"present":true,"value":1},{"factor":"acute_admission","points":0,"present":false},{"factor":"charlson","points":0,"present":false,"value":0},{"factor":"ed_visits_6mo","points":0,"present":false,"value":0}],"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.","ed_visits_6mo":0,"formula":"lace","formula_expression":"LACE = los_points + acute_admission_points + charlson_points + ed_visits_points; van Walraven 2010 Table 3; LOS <1 0, 1 1, 2 2, 3 3, 4-6 4, 7-13 5, >=14 7; acute true 3; Charlson 0-3 identity, >=4 5; ED 0-3 identity, >=4 4; max 19","length_of_stay_days":1,"max_score":19,"score":1}],"path":"/api/calc/lace"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_admission":{"description":"Acute (emergent) admission as assigned by the caller (true or false). van Walraven 2010 Table 3 A: true → 3, false → 0.","type":"boolean"},"charlson":{"description":"Caller-supplied Charlson comorbidity index (integer 0-37). magent does not compute Charlson. van Walraven 2010 Table 3 C: 0 → 0, 1 → 1, 2 → 2, 3 → 3, ≥4 → 5.","type":"integer"},"ed_visits_6mo":{"description":"Emergency-department visits in the previous 6 months (integer 0-30). van Walraven 2010 Table 3 E: 0 → 0, 1 → 1, 2 → 2, 3 → 3, ≥4 → 4.","type":"integer"},"length_of_stay_days":{"description":"Length of stay in days (integer 0-365). van Walraven 2010 Table 3 L: <1 → 0, 1 → 1, 2 → 2, 3 → 3, 4-6 → 4, 7-13 → 5, ≥14 → 7. 0 days is the <1 bin.","type":"integer"}},"required":["length_of_stay_days","acute_admission","charlson","ed_visits_6mo"],"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},{"id":39062,"slug":"39062","resource":"https://api.magentlab.com/api/calc/kruis","description":"Kruis 1984 weighted IBS versus organic score. History: pain/flatulence/irregularity triad +34, duration >2 years +16, characteristic pain descriptors +23, alternating constipation/diarrhea +14. Organic flags: abnormal physical or pathognomonic history -47, ESR >10 mm/h -13, leukocytosis -50, anemia -98, blood in stool -98. IBS iff score >= 44. Caller assigns flags. magent does not examine the patient or run labs. Not a diagnosis, not Manning, not Rome.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_physical_or_pathognomonic_history":false,"alternating_constipation_diarrhea":true,"anemia":false,"blood_in_stool":false,"characteristic_pain_descriptors":true,"duration_gt_2_years":true,"esr_gt_10_mm_h":false,"leukocytosis":false,"symptom_triad":true},{"abnormal_physical_or_pathognomonic_history":false,"alternating_constipation_diarrhea":true,"anemia":false,"blood_in_stool":false,"characteristic_pain_descriptors":true,"duration_gt_2_years":true,"esr_gt_10_mm_h":false,"leukocytosis":false,"symptom_triad":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"ibs","citation":{"authors":"Kruis W, Thieme C, Weinzierl M, Schüssler P, Holl J, Paulus W","doi":"10.1016/0016-5085(84)90119-7","id":"kruis-1984","pmid":"6724251","source":"Gastroenterology. 1984;87(1):1-7","title":"A diagnostic score for the irritable bowel syndrome. Its value in the exclusion of organic disease"},"components":[{"factor":"symptom_triad","points":34,"present":true},{"factor":"duration_gt_2_years","points":16,"present":true},{"factor":"characteristic_pain_descriptors","points":23,"present":true},{"factor":"alternating_constipation_diarrhea","points":14,"present":true},{"factor":"abnormal_physical_or_pathognomonic_history","points":0,"present":false},{"factor":"esr_gt_10_mm_h","points":0,"present":false},{"factor":"leukocytosis","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"blood_in_stool","points":0,"present":false}],"cutoff":44,"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":"kruis","formula_expression":"kruis = symptom_triad 34 + duration_gt_2_years 16 + characteristic_pain_descriptors 23 + alternating_constipation_diarrhea 14 + abnormal_physical_or_pathognomonic_history -47 + esr_gt_10_mm_h -13 + leukocytosis -50 + anemia -98 + blood_in_stool -98; IBS iff score >= 44 (Kruis 1984 minimum score 44)","kruis_ibs":true,"max_score":87,"score":87},{"band":"ibs","citation":{"authors":"Kruis W, Thieme C, Weinzierl M, Schüssler P, Holl J, Paulus W","doi":"10.1016/0016-5085(84)90119-7","id":"kruis-1984","pmid":"6724251","source":"Gastroenterology. 1984;87(1):1-7","title":"A diagnostic score for the irritable bowel syndrome. Its value in the exclusion of organic disease"},"components":[{"factor":"symptom_triad","points":34,"present":true},{"factor":"duration_gt_2_years","points":16,"present":true},{"factor":"characteristic_pain_descriptors","points":23,"present":true},{"factor":"alternating_constipation_diarrhea","points":14,"present":true},{"factor":"abnormal_physical_or_pathognomonic_history","points":0,"present":false},{"factor":"esr_gt_10_mm_h","points":0,"present":false},{"factor":"leukocytosis","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"blood_in_stool","points":0,"present":false}],"cutoff":44,"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":"kruis","formula_expression":"kruis = symptom_triad 34 + duration_gt_2_years 16 + characteristic_pain_descriptors 23 + alternating_constipation_diarrhea 14 + abnormal_physical_or_pathognomonic_history -47 + esr_gt_10_mm_h -13 + leukocytosis -50 + anemia -98 + blood_in_stool -98; IBS iff score >= 44 (Kruis 1984 minimum score 44)","kruis_ibs":true,"max_score":87,"score":87}],"path":"/api/calc/kruis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_physical_or_pathognomonic_history":{"description":"Abnormal physical findings and/or history pathognomonic for any diagnosis other than IBS as assigned by the caller (Kruis 1984). true scores -47. magent does not examine the patient.","type":"boolean"},"alternating_constipation_diarrhea":{"description":"Alternating bowel movements (constipation/diarrhea) as assigned by the caller (Kruis 1984). true scores +14.","type":"boolean"},"anemia":{"description":"Anemia: hemoglobin <12 g/dL in females or <14 g/dL in males as assigned by the caller (Kruis 1984). true scores -98. magent does not run labs.","type":"boolean"},"blood_in_stool":{"description":"History of blood in stool as assigned by the caller (Kruis 1984; retained at -98 though not independently significant in the logistic model). magent does not examine stool.","type":"boolean"},"characteristic_pain_descriptors":{"description":"Abdominal pain described as burning, cutting, very strong, terrible, feeling of pressure, dull, boring, or not so bad (Kruis 1984 Figure 1). true scores +23. magent does not examine the patient.","type":"boolean"},"duration_gt_2_years":{"description":"Those symptoms for more than 2 years as assigned by the caller (Kruis 1984). true scores +16. magent does not take a history.","type":"boolean"},"esr_gt_10_mm_h":{"description":"Erythrocyte sedimentation rate >10 mm/h (>20 mm/2 h on the 1984 Westergren form) as assigned by the caller (Kruis 1984). true scores -13. magent does not run labs.","type":"boolean"},"leukocytosis":{"description":"Leukocytosis, white-cell count >10,000/µL, as assigned by the caller (Kruis 1984). true scores -50. magent does not run labs.","type":"boolean"},"symptom_triad":{"description":"Abdominal pain, flatulence, and irregularities of bowel movement in the same patient (Kruis 1984 Table 4 A+B+C triad). true scores +34. true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["symptom_triad","duration_gt_2_years","characteristic_pain_descriptors","alternating_constipation_diarrhea","abnormal_physical_or_pathognomonic_history","esr_gt_10_mm_h","leukocytosis","anemia","blood_in_stool"],"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":["kruis","ibs","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:31:16.793Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:31:16.674Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_physical_or_pathognomonic_history":false,"alternating_constipation_diarrhea":true,"anemia":false,"blood_in_stool":false,"characteristic_pain_descriptors":true,"duration_gt_2_years":true,"esr_gt_10_mm_h":false,"leukocytosis":false,"symptom_triad":true},{"abnormal_physical_or_pathognomonic_history":false,"alternating_constipation_diarrhea":true,"anemia":false,"blood_in_stool":false,"characteristic_pain_descriptors":true,"duration_gt_2_years":true,"esr_gt_10_mm_h":false,"leukocytosis":false,"symptom_triad":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"ibs","citation":{"authors":"Kruis W, Thieme C, Weinzierl M, Schüssler P, Holl J, Paulus W","doi":"10.1016/0016-5085(84)90119-7","id":"kruis-1984","pmid":"6724251","source":"Gastroenterology. 1984;87(1):1-7","title":"A diagnostic score for the irritable bowel syndrome. Its value in the exclusion of organic disease"},"components":[{"factor":"symptom_triad","points":34,"present":true},{"factor":"duration_gt_2_years","points":16,"present":true},{"factor":"characteristic_pain_descriptors","points":23,"present":true},{"factor":"alternating_constipation_diarrhea","points":14,"present":true},{"factor":"abnormal_physical_or_pathognomonic_history","points":0,"present":false},{"factor":"esr_gt_10_mm_h","points":0,"present":false},{"factor":"leukocytosis","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"blood_in_stool","points":0,"present":false}],"cutoff":44,"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":"kruis","formula_expression":"kruis = symptom_triad 34 + duration_gt_2_years 16 + characteristic_pain_descriptors 23 + alternating_constipation_diarrhea 14 + abnormal_physical_or_pathognomonic_history -47 + esr_gt_10_mm_h -13 + leukocytosis -50 + anemia -98 + blood_in_stool -98; IBS iff score >= 44 (Kruis 1984 minimum score 44)","kruis_ibs":true,"max_score":87,"score":87},{"band":"ibs","citation":{"authors":"Kruis W, Thieme C, Weinzierl M, Schüssler P, Holl J, Paulus W","doi":"10.1016/0016-5085(84)90119-7","id":"kruis-1984","pmid":"6724251","source":"Gastroenterology. 1984;87(1):1-7","title":"A diagnostic score for the irritable bowel syndrome. Its value in the exclusion of organic disease"},"components":[{"factor":"symptom_triad","points":34,"present":true},{"factor":"duration_gt_2_years","points":16,"present":true},{"factor":"characteristic_pain_descriptors","points":23,"present":true},{"factor":"alternating_constipation_diarrhea","points":14,"present":true},{"factor":"abnormal_physical_or_pathognomonic_history","points":0,"present":false},{"factor":"esr_gt_10_mm_h","points":0,"present":false},{"factor":"leukocytosis","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"blood_in_stool","points":0,"present":false}],"cutoff":44,"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":"kruis","formula_expression":"kruis = symptom_triad 34 + duration_gt_2_years 16 + characteristic_pain_descriptors 23 + alternating_constipation_diarrhea 14 + abnormal_physical_or_pathognomonic_history -47 + esr_gt_10_mm_h -13 + leukocytosis -50 + anemia -98 + blood_in_stool -98; IBS iff score >= 44 (Kruis 1984 minimum score 44)","kruis_ibs":true,"max_score":87,"score":87}],"path":"/api/calc/kruis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_physical_or_pathognomonic_history":{"description":"Abnormal physical findings and/or history pathognomonic for any diagnosis other than IBS as assigned by the caller (Kruis 1984). true scores -47. magent does not examine the patient.","type":"boolean"},"alternating_constipation_diarrhea":{"description":"Alternating bowel movements (constipation/diarrhea) as assigned by the caller (Kruis 1984). true scores +14.","type":"boolean"},"anemia":{"description":"Anemia: hemoglobin <12 g/dL in females or <14 g/dL in males as assigned by the caller (Kruis 1984). true scores -98. magent does not run labs.","type":"boolean"},"blood_in_stool":{"description":"History of blood in stool as assigned by the caller (Kruis 1984; retained at -98 though not independently significant in the logistic model). magent does not examine stool.","type":"boolean"},"characteristic_pain_descriptors":{"description":"Abdominal pain described as burning, cutting, very strong, terrible, feeling of pressure, dull, boring, or not so bad (Kruis 1984 Figure 1). true scores +23. magent does not examine the patient.","type":"boolean"},"duration_gt_2_years":{"description":"Those symptoms for more than 2 years as assigned by the caller (Kruis 1984). true scores +16. magent does not take a history.","type":"boolean"},"esr_gt_10_mm_h":{"description":"Erythrocyte sedimentation rate >10 mm/h (>20 mm/2 h on the 1984 Westergren form) as assigned by the caller (Kruis 1984). true scores -13. magent does not run labs.","type":"boolean"},"leukocytosis":{"description":"Leukocytosis, white-cell count >10,000/µL, as assigned by the caller (Kruis 1984). true scores -50. magent does not run labs.","type":"boolean"},"symptom_triad":{"description":"Abdominal pain, flatulence, and irregularities of bowel movement in the same patient (Kruis 1984 Table 4 A+B+C triad). true scores +34. true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["symptom_triad","duration_gt_2_years","characteristic_pain_descriptors","alternating_constipation_diarrhea","abnormal_physical_or_pathognomonic_history","esr_gt_10_mm_h","leukocytosis","anemia","blood_in_stool"],"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},{"id":39063,"slug":"39063","resource":"https://api.magentlab.com/api/calc/kocher","description":"Kocher 1999 four predictors for children with irritable hip: history of fever (oral temperature >38.5 C), non-weight-bearing, ESR >=40 mm/h, and serum WBC >12000/uL; 1 point each, max 4. Returns published predicted probability of septic arthritis vs transient synovitis. Deterministic published score with citation; not a diagnosis, not Caird CRP, not adults, and not an aspiration order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"esr_mm_h":20,"history_of_fever":false,"non_weight_bearing":false,"wbc_k_ul":8,"wbc_ul":8000},{"esr_mm_h":20,"history_of_fever":false,"non_weight_bearing":false,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kocher MS, Zurakowski D, Kasser JR","doi":"10.2106/00004623-199912000-00002","id":"kocher-1999","pmid":"10608376","source":"J Bone Joint Surg Am. 1999;81(12):1662-1670","title":"Differentiating between septic arthritis and transient synovitis of the hip in children: an evidence-based clinical prediction algorithm"},"components":[{"factor":"history_of_fever","points":0,"present":false},{"factor":"non_weight_bearing","points":0,"present":false},{"factor":"esr_ge_40","points":0,"present":false,"value":20},{"factor":"wbc_gt_12000","points":0,"present":false,"value":8000}],"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.","esr_mm_h":20,"formula":"kocher","formula_expression":"Kocher = history_of_fever + non_weight_bearing + (esr_mm_h >= 40) + (wbc_ul > 12000); each 1; max 4; predicted probability 0:<0.2% 1:3.0% 2:40.0% 3:93.1% 4:99.6%","max_score":4,"predicted_probability":"<0.2%","score":0,"wbc_ul":8000},{"citation":{"authors":"Kocher MS, Zurakowski D, Kasser JR","doi":"10.2106/00004623-199912000-00002","id":"kocher-1999","pmid":"10608376","source":"J Bone Joint Surg Am. 1999;81(12):1662-1670","title":"Differentiating between septic arthritis and transient synovitis of the hip in children: an evidence-based clinical prediction algorithm"},"components":[{"factor":"history_of_fever","points":0,"present":false},{"factor":"non_weight_bearing","points":0,"present":false},{"factor":"esr_ge_40","points":0,"present":false,"value":20},{"factor":"wbc_gt_12000","points":0,"present":false,"value":8000}],"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.","esr_mm_h":20,"formula":"kocher","formula_expression":"Kocher = history_of_fever + non_weight_bearing + (esr_mm_h >= 40) + (wbc_ul > 12000); each 1; max 4; predicted probability 0:<0.2% 1:3.0% 2:40.0% 3:93.1% 4:99.6%","max_score":4,"predicted_probability":"<0.2%","score":0,"wbc_ul":8000}],"path":"/api/calc/kocher"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"esr_mm_h":{"description":"Erythrocyte sedimentation rate in mm/h (1.0-150.0). ≥40 scores 1 (40 scores; 39.9 does not).","type":"number"},"history_of_fever":{"description":"History of fever (oral temperature >38.5°C in Kocher 1999). true or false as assigned by the caller.","type":"boolean"},"non_weight_bearing":{"description":"Non-weight-bearing on the affected limb (Kocher 1999). true or false as assigned by the caller.","type":"boolean"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. >12000/µL scores 1.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. >12000 scores 1 (12000 does not; 12001 does).","type":"number"}},"required":["history_of_fever","non_weight_bearing","esr_mm_h"],"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":["kocher","septic-arthritis","pediatric-hip","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:26:24.201Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:26:24.053Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"esr_mm_h":20,"history_of_fever":false,"non_weight_bearing":false,"wbc_k_ul":8,"wbc_ul":8000},{"esr_mm_h":20,"history_of_fever":false,"non_weight_bearing":false,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kocher MS, Zurakowski D, Kasser JR","doi":"10.2106/00004623-199912000-00002","id":"kocher-1999","pmid":"10608376","source":"J Bone Joint Surg Am. 1999;81(12):1662-1670","title":"Differentiating between septic arthritis and transient synovitis of the hip in children: an evidence-based clinical prediction algorithm"},"components":[{"factor":"history_of_fever","points":0,"present":false},{"factor":"non_weight_bearing","points":0,"present":false},{"factor":"esr_ge_40","points":0,"present":false,"value":20},{"factor":"wbc_gt_12000","points":0,"present":false,"value":8000}],"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.","esr_mm_h":20,"formula":"kocher","formula_expression":"Kocher = history_of_fever + non_weight_bearing + (esr_mm_h >= 40) + (wbc_ul > 12000); each 1; max 4; predicted probability 0:<0.2% 1:3.0% 2:40.0% 3:93.1% 4:99.6%","max_score":4,"predicted_probability":"<0.2%","score":0,"wbc_ul":8000},{"citation":{"authors":"Kocher MS, Zurakowski D, Kasser JR","doi":"10.2106/00004623-199912000-00002","id":"kocher-1999","pmid":"10608376","source":"J Bone Joint Surg Am. 1999;81(12):1662-1670","title":"Differentiating between septic arthritis and transient synovitis of the hip in children: an evidence-based clinical prediction algorithm"},"components":[{"factor":"history_of_fever","points":0,"present":false},{"factor":"non_weight_bearing","points":0,"present":false},{"factor":"esr_ge_40","points":0,"present":false,"value":20},{"factor":"wbc_gt_12000","points":0,"present":false,"value":8000}],"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.","esr_mm_h":20,"formula":"kocher","formula_expression":"Kocher = history_of_fever + non_weight_bearing + (esr_mm_h >= 40) + (wbc_ul > 12000); each 1; max 4; predicted probability 0:<0.2% 1:3.0% 2:40.0% 3:93.1% 4:99.6%","max_score":4,"predicted_probability":"<0.2%","score":0,"wbc_ul":8000}],"path":"/api/calc/kocher"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"esr_mm_h":{"description":"Erythrocyte sedimentation rate in mm/h (1.0-150.0). ≥40 scores 1 (40 scores; 39.9 does not).","type":"number"},"history_of_fever":{"description":"History of fever (oral temperature >38.5°C in Kocher 1999). true or false as assigned by the caller.","type":"boolean"},"non_weight_bearing":{"description":"Non-weight-bearing on the affected limb (Kocher 1999). true or false as assigned by the caller.","type":"boolean"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. >12000/µL scores 1.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. >12000 scores 1 (12000 does not; 12001 does).","type":"number"}},"required":["history_of_fever","non_weight_bearing","esr_mm_h"],"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},{"id":39064,"slug":"39064","resource":"https://api.magentlab.com/api/calc/kings_college","description":"King's College criteria (O'Grady 1989) for poor prognosis in fulminant hepatic failure. Acetaminophen: arterial pH <7.30, or PT >100 s plus creatinine >300 umol/L plus grade III/IV encephalopathy. Non-acetaminophen: PT >100 s, or any 3 of age <11 or >40, unfavorable etiology (non-A non-B or drug reaction), jaundice-to-encephalopathy >7 days, bilirubin >300 umol/L, PT >50 s. PT seconds, not INR. Not a transplant listing order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":30,"arterial_ph":7.4,"bilirubin_umol_l":50,"creatinine_umol_l":80,"encephalopathy_grade":1,"etiology":"acetaminophen","jaundice_to_encephalopathy_days":2,"pt_sec":20,"unfavorable_etiology":false},{"age_years":30,"arterial_ph":7.4,"bilirubin_umol_l":50,"creatinine_umol_l":80,"encephalopathy_grade":1,"etiology":"acetaminophen","jaundice_to_encephalopathy_days":2,"pt_sec":20,"unfavorable_etiology":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"O'Grady JG, Alexander GJ, Hayllar KM, Williams R","doi":"10.1016/0016-5085(89)90081-4","id":"ogrady-1989","pmid":"2490426","source":"Gastroenterology. 1989;97(2):439-445","title":"Early indicators of prognosis in fulminant hepatic failure"},"criteria":[{"factor":"arterial_ph_lt_7_30","met":false,"value":7.4},{"factor":"pt_sec_gt_100","met":false,"value":20},{"factor":"creatinine_umol_l_gt_300","met":false,"value":80},{"factor":"encephalopathy_grade_ge_3","met":false,"value":1}],"criteria_met":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.","etiology":"acetaminophen","formula":"kings_college","formula_expression":"acetaminophen: arterial_ph < 7.30, or (pt_sec > 100 and creatinine_umol_l > 300 and encephalopathy_grade >= 3); non_acetaminophen: pt_sec > 100, or at least 3 of (age_years < 11 or > 40; unfavorable_etiology; jaundice_to_encephalopathy_days > 7; bilirubin_umol_l > 300; pt_sec > 50)"},{"citation":{"authors":"O'Grady JG, Alexander GJ, Hayllar KM, Williams R","doi":"10.1016/0016-5085(89)90081-4","id":"ogrady-1989","pmid":"2490426","source":"Gastroenterology. 1989;97(2):439-445","title":"Early indicators of prognosis in fulminant hepatic failure"},"criteria":[{"factor":"arterial_ph_lt_7_30","met":false,"value":7.4},{"factor":"pt_sec_gt_100","met":false,"value":20},{"factor":"creatinine_umol_l_gt_300","met":false,"value":80},{"factor":"encephalopathy_grade_ge_3","met":false,"value":1}],"criteria_met":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.","etiology":"acetaminophen","formula":"kings_college","formula_expression":"acetaminophen: arterial_ph < 7.30, or (pt_sec > 100 and creatinine_umol_l > 300 and encephalopathy_grade >= 3); non_acetaminophen: pt_sec > 100, or at least 3 of (age_years < 11 or > 40; unfavorable_etiology; jaundice_to_encephalopathy_days > 7; bilirubin_umol_l > 300; pt_sec > 50)"}],"path":"/api/calc/kings_college"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (0-120). Non-acetaminophen factor met when age < 11 or age > 40 (1989 abstract, not a later <10 restatement). Required even on the acetaminophen tree; not scored there.","type":"integer"},"arterial_ph":{"description":"Arterial pH (6.80-7.80). Acetaminophen criterion met when pH < 7.30, independent of encephalopathy. Required even on the non-acetaminophen tree; not scored there.","type":"number"},"bilirubin_umol_l":{"description":"Serum bilirubin in umol/L (2-684). Non-acetaminophen factor met when > 300. Required even on the acetaminophen tree; not scored there.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in umol/L (9-1768). Acetaminophen combo criterion met when > 300. Required even on the non-acetaminophen tree; not scored there.","type":"number"},"encephalopathy_grade":{"description":"Hepatic encephalopathy grade 0-4 as assigned by the caller (Conn 1977 / West Haven). Acetaminophen combo uses grade >= 3 (grade III/IV). Required even on the non-acetaminophen tree; not scored there. magent does not examine the patient.","type":"integer"},"etiology":{"description":"acetaminophen or non_acetaminophen (O'Grady 1989). Selects the paracetamol or non-paracetamol poor-prognosis tree. Required on every request.","enum":["acetaminophen","non_acetaminophen"],"type":"string"},"jaundice_to_encephalopathy_days":{"description":"Days from jaundice to encephalopathy (integer 0-90). Non-acetaminophen factor met when > 7. Required even on the acetaminophen tree; not scored there.","type":"integer"},"pt_sec":{"description":"Prothrombin time in seconds (8-120) as published in 1989. INR is not accepted. Acetaminophen combo uses PT > 100; non-acetaminophen uses PT > 100 alone or PT > 50 as one of five factors.","type":"number"},"unfavorable_etiology":{"description":"Unfavorable etiology as assigned by the caller (paper: non-A non-B hepatitis or drug reaction). true or false. Non-acetaminophen any-3 factor. Required even on the acetaminophen tree; not scored there.","type":"boolean"}},"required":["etiology","arterial_ph","pt_sec","creatinine_umol_l","encephalopathy_grade","age_years","unfavorable_etiology","jaundice_to_encephalopathy_days","bilirubin_umol_l"],"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":["kings-college","liver","acetaminophen","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:26:23.403Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:26:23.265Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":30,"arterial_ph":7.4,"bilirubin_umol_l":50,"creatinine_umol_l":80,"encephalopathy_grade":1,"etiology":"acetaminophen","jaundice_to_encephalopathy_days":2,"pt_sec":20,"unfavorable_etiology":false},{"age_years":30,"arterial_ph":7.4,"bilirubin_umol_l":50,"creatinine_umol_l":80,"encephalopathy_grade":1,"etiology":"acetaminophen","jaundice_to_encephalopathy_days":2,"pt_sec":20,"unfavorable_etiology":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"O'Grady JG, Alexander GJ, Hayllar KM, Williams R","doi":"10.1016/0016-5085(89)90081-4","id":"ogrady-1989","pmid":"2490426","source":"Gastroenterology. 1989;97(2):439-445","title":"Early indicators of prognosis in fulminant hepatic failure"},"criteria":[{"factor":"arterial_ph_lt_7_30","met":false,"value":7.4},{"factor":"pt_sec_gt_100","met":false,"value":20},{"factor":"creatinine_umol_l_gt_300","met":false,"value":80},{"factor":"encephalopathy_grade_ge_3","met":false,"value":1}],"criteria_met":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.","etiology":"acetaminophen","formula":"kings_college","formula_expression":"acetaminophen: arterial_ph < 7.30, or (pt_sec > 100 and creatinine_umol_l > 300 and encephalopathy_grade >= 3); non_acetaminophen: pt_sec > 100, or at least 3 of (age_years < 11 or > 40; unfavorable_etiology; jaundice_to_encephalopathy_days > 7; bilirubin_umol_l > 300; pt_sec > 50)"},{"citation":{"authors":"O'Grady JG, Alexander GJ, Hayllar KM, Williams R","doi":"10.1016/0016-5085(89)90081-4","id":"ogrady-1989","pmid":"2490426","source":"Gastroenterology. 1989;97(2):439-445","title":"Early indicators of prognosis in fulminant hepatic failure"},"criteria":[{"factor":"arterial_ph_lt_7_30","met":false,"value":7.4},{"factor":"pt_sec_gt_100","met":false,"value":20},{"factor":"creatinine_umol_l_gt_300","met":false,"value":80},{"factor":"encephalopathy_grade_ge_3","met":false,"value":1}],"criteria_met":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.","etiology":"acetaminophen","formula":"kings_college","formula_expression":"acetaminophen: arterial_ph < 7.30, or (pt_sec > 100 and creatinine_umol_l > 300 and encephalopathy_grade >= 3); non_acetaminophen: pt_sec > 100, or at least 3 of (age_years < 11 or > 40; unfavorable_etiology; jaundice_to_encephalopathy_days > 7; bilirubin_umol_l > 300; pt_sec > 50)"}],"path":"/api/calc/kings_college"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (0-120). Non-acetaminophen factor met when age < 11 or age > 40 (1989 abstract, not a later <10 restatement). Required even on the acetaminophen tree; not scored there.","type":"integer"},"arterial_ph":{"description":"Arterial pH (6.80-7.80). Acetaminophen criterion met when pH < 7.30, independent of encephalopathy. Required even on the non-acetaminophen tree; not scored there.","type":"number"},"bilirubin_umol_l":{"description":"Serum bilirubin in umol/L (2-684). Non-acetaminophen factor met when > 300. Required even on the acetaminophen tree; not scored there.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in umol/L (9-1768). Acetaminophen combo criterion met when > 300. Required even on the non-acetaminophen tree; not scored there.","type":"number"},"encephalopathy_grade":{"description":"Hepatic encephalopathy grade 0-4 as assigned by the caller (Conn 1977 / West Haven). Acetaminophen combo uses grade >= 3 (grade III/IV). Required even on the non-acetaminophen tree; not scored there. magent does not examine the patient.","type":"integer"},"etiology":{"description":"acetaminophen or non_acetaminophen (O'Grady 1989). Selects the paracetamol or non-paracetamol poor-prognosis tree. Required on every request.","enum":["acetaminophen","non_acetaminophen"],"type":"string"},"jaundice_to_encephalopathy_days":{"description":"Days from jaundice to encephalopathy (integer 0-90). Non-acetaminophen factor met when > 7. Required even on the acetaminophen tree; not scored there.","type":"integer"},"pt_sec":{"description":"Prothrombin time in seconds (8-120) as published in 1989. INR is not accepted. Acetaminophen combo uses PT > 100; non-acetaminophen uses PT > 100 alone or PT > 50 as one of five factors.","type":"number"},"unfavorable_etiology":{"description":"Unfavorable etiology as assigned by the caller (paper: non-A non-B hepatitis or drug reaction). true or false. Non-acetaminophen any-3 factor. Required even on the acetaminophen tree; not scored there.","type":"boolean"}},"required":["etiology","arterial_ph","pt_sec","creatinine_umol_l","encephalopathy_grade","age_years","unfavorable_etiology","jaundice_to_encephalopathy_days","bilirubin_umol_l"],"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},{"id":39065,"slug":"39065","resource":"https://api.magentlab.com/api/calc/kim_meldna","description":"Kim 2008 NEJM MELD-Na from creatinine, bilirubin, INR, sodium, and dialysis. Then-current UNOS MELD: dialysis sets creatinine 4.0 else clamp 1.0-4.0; bilirubin and INR floor 1.0. Sodium bound 125-140. MELDNa = MELD - Na - 0.025*MELD*(140-Na) + 140. Not OPTN 2016 MELD-Na (Na 125-137 only if MELD>11). Not Kim 2021 MELD 3.0. Not a transplant listing or allocation order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bilirubin_mg_dl":1.1,"bilirubin_umol_l":19,"creatinine_mg_dl":1.2,"creatinine_umol_l":106,"dialysis":false,"inr":1.1,"sodium_mmol_l":125},{"bilirubin_mg_dl":1.1,"bilirubin_umol_l":19,"creatinine_mg_dl":1.2,"creatinine_umol_l":106,"dialysis":false,"inr":1.1,"sodium_mmol_l":125}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bilirubin_mg_dl":1.1,"bilirubin_used_mg_dl":1.1,"citation":{"authors":"Kim WR, Biggins SW, Kremers WK, Wiesner RH, Kamath PS, Benson JT, Edwards E, Therneau TM","doi":"10.1056/NEJMoa0801209","id":"kim-2008-meldna","pmid":"18768945","source":"N Engl J Med. 2008;359(10):1018-1026","title":"Hyponatremia and mortality among patients on the liver-transplant waiting list"},"creatinine_mg_dl":1.2,"creatinine_used_mg_dl":1.2,"dialysis":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":"kim_meldna_2008","formula_expression":"MELD = round(10 * (0.957*ln(Cr) + 0.378*ln(bili) + 1.120*ln(INR) + 0.643)); MELDNa = round(MELD - Na - 0.025*MELD*(140 - Na) + 140); dialysis sets Cr 4.0 else Cr clamp 1.0-4.0; bili and INR floor 1.0; Na bound 125-140. Kim 2008 NEJM, not OPTN 2016, not MELD 3.0","inr":1.1,"inr_used":1.1,"meld":10,"meld_na":21,"sodium_mmol_l":125,"sodium_used_mmol_l":125},{"bilirubin_mg_dl":1.1,"bilirubin_used_mg_dl":1.1,"citation":{"authors":"Kim WR, Biggins SW, Kremers WK, Wiesner RH, Kamath PS, Benson JT, Edwards E, Therneau TM","doi":"10.1056/NEJMoa0801209","id":"kim-2008-meldna","pmid":"18768945","source":"N Engl J Med. 2008;359(10):1018-1026","title":"Hyponatremia and mortality among patients on the liver-transplant waiting list"},"creatinine_mg_dl":1.2,"creatinine_used_mg_dl":1.2,"dialysis":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":"kim_meldna_2008","formula_expression":"MELD = round(10 * (0.957*ln(Cr) + 0.378*ln(bili) + 1.120*ln(INR) + 0.643)); MELDNa = round(MELD - Na - 0.025*MELD*(140 - Na) + 140); dialysis sets Cr 4.0 else Cr clamp 1.0-4.0; bili and INR floor 1.0; Na bound 125-140. Kim 2008 NEJM, not OPTN 2016, not MELD 3.0","inr":1.1,"inr_used":1.1,"meld":10,"meld_na":21,"sodium_mmol_l":125,"sodium_used_mmol_l":125}],"path":"/api/calc/kim_meldna"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. Floored at 1.0.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Dialysis sets used creatinine to 4.0; otherwise clamp 1.0-4.0 (then-current UNOS, Kim 2008).","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.","type":"number"},"dialysis":{"description":"Dialysis twice in the last week. true sets creatinine used to 4.0.","type":"boolean"},"inr":{"description":"INR (0.8-10). Floored at 1.0.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). Kim 2008 bounds the sodium term at 125-140. Applied at every MELD (not only MELD>11).","type":"number"}},"required":["inr","sodium_mmol_l","dialysis"],"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":["kim-meldna","liver","meld-na","hyponatremia","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:26:22.319Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:26:22.17Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bilirubin_mg_dl":1.1,"bilirubin_umol_l":19,"creatinine_mg_dl":1.2,"creatinine_umol_l":106,"dialysis":false,"inr":1.1,"sodium_mmol_l":125},{"bilirubin_mg_dl":1.1,"bilirubin_umol_l":19,"creatinine_mg_dl":1.2,"creatinine_umol_l":106,"dialysis":false,"inr":1.1,"sodium_mmol_l":125}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bilirubin_mg_dl":1.1,"bilirubin_used_mg_dl":1.1,"citation":{"authors":"Kim WR, Biggins SW, Kremers WK, Wiesner RH, Kamath PS, Benson JT, Edwards E, Therneau TM","doi":"10.1056/NEJMoa0801209","id":"kim-2008-meldna","pmid":"18768945","source":"N Engl J Med. 2008;359(10):1018-1026","title":"Hyponatremia and mortality among patients on the liver-transplant waiting list"},"creatinine_mg_dl":1.2,"creatinine_used_mg_dl":1.2,"dialysis":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":"kim_meldna_2008","formula_expression":"MELD = round(10 * (0.957*ln(Cr) + 0.378*ln(bili) + 1.120*ln(INR) + 0.643)); MELDNa = round(MELD - Na - 0.025*MELD*(140 - Na) + 140); dialysis sets Cr 4.0 else Cr clamp 1.0-4.0; bili and INR floor 1.0; Na bound 125-140. Kim 2008 NEJM, not OPTN 2016, not MELD 3.0","inr":1.1,"inr_used":1.1,"meld":10,"meld_na":21,"sodium_mmol_l":125,"sodium_used_mmol_l":125},{"bilirubin_mg_dl":1.1,"bilirubin_used_mg_dl":1.1,"citation":{"authors":"Kim WR, Biggins SW, Kremers WK, Wiesner RH, Kamath PS, Benson JT, Edwards E, Therneau TM","doi":"10.1056/NEJMoa0801209","id":"kim-2008-meldna","pmid":"18768945","source":"N Engl J Med. 2008;359(10):1018-1026","title":"Hyponatremia and mortality among patients on the liver-transplant waiting list"},"creatinine_mg_dl":1.2,"creatinine_used_mg_dl":1.2,"dialysis":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":"kim_meldna_2008","formula_expression":"MELD = round(10 * (0.957*ln(Cr) + 0.378*ln(bili) + 1.120*ln(INR) + 0.643)); MELDNa = round(MELD - Na - 0.025*MELD*(140 - Na) + 140); dialysis sets Cr 4.0 else Cr clamp 1.0-4.0; bili and INR floor 1.0; Na bound 125-140. Kim 2008 NEJM, not OPTN 2016, not MELD 3.0","inr":1.1,"inr_used":1.1,"meld":10,"meld_na":21,"sodium_mmol_l":125,"sodium_used_mmol_l":125}],"path":"/api/calc/kim_meldna"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. Floored at 1.0.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Dialysis sets used creatinine to 4.0; otherwise clamp 1.0-4.0 (then-current UNOS, Kim 2008).","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.","type":"number"},"dialysis":{"description":"Dialysis twice in the last week. true sets creatinine used to 4.0.","type":"boolean"},"inr":{"description":"INR (0.8-10). Floored at 1.0.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). Kim 2008 bounds the sodium term at 125-140. Applied at every MELD (not only MELD>11).","type":"number"}},"required":["inr","sodium_mmol_l","dialysis"],"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},{"id":39066,"slug":"39066","resource":"https://api.magentlab.com/api/calc/killip","description":"Killip and Kimball 1967 myocardial-infarction heart-failure class 1-4 as assigned by the caller. Returns the published class, description (no heart failure; S3 and basilar rales; pulmonary edema; cardiogenic shock), and 1967 CCU hospital mortality (6%, 17%, 38%, 81%). Not a diagnosis; magent does not examine the patient. Not GRACE or contemporary registry mortality.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"killip_class":1},{"killip_class":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Killip T 3rd, Kimball JT","doi":"10.1016/0002-9149(67)90023-9","id":"killip-1967","pmid":"6059183","source":"Am J Cardiol. 1967;20(4):457-464","title":"Treatment of myocardial infarction in a coronary care unit. A two year experience with 250 patients"},"components":[{"factor":"killip_class","points":1,"present":true}],"description":"No heart failure","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":"killip","formula_expression":"Killip class 1-4 as assigned by the caller; 1967 CCU hospital mortality 6/17/38/81 percent (Killip and Kimball 1967)","hospital_mortality_percent":6,"killip_class":1,"max_score":4,"score":1},{"citation":{"authors":"Killip T 3rd, Kimball JT","doi":"10.1016/0002-9149(67)90023-9","id":"killip-1967","pmid":"6059183","source":"Am J Cardiol. 1967;20(4):457-464","title":"Treatment of myocardial infarction in a coronary care unit. A two year experience with 250 patients"},"components":[{"factor":"killip_class","points":1,"present":true}],"description":"No heart failure","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":"killip","formula_expression":"Killip class 1-4 as assigned by the caller; 1967 CCU hospital mortality 6/17/38/81 percent (Killip and Kimball 1967)","hospital_mortality_percent":6,"killip_class":1,"max_score":4,"score":1}],"path":"/api/calc/killip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"killip_class":{"description":"Killip and Kimball 1967 class 1-4 as assigned by the caller (1 no heart failure; 2 heart failure with S3 and basilar rales; 3 pulmonary edema; 4 cardiogenic shock). magent does not examine the patient.","type":"integer"}},"required":["killip_class"],"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":["killip","acs","myocardial-infarction","heart-failure","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:21:19.46Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:21:19.319Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"killip_class":1},{"killip_class":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Killip T 3rd, Kimball JT","doi":"10.1016/0002-9149(67)90023-9","id":"killip-1967","pmid":"6059183","source":"Am J Cardiol. 1967;20(4):457-464","title":"Treatment of myocardial infarction in a coronary care unit. A two year experience with 250 patients"},"components":[{"factor":"killip_class","points":1,"present":true}],"description":"No heart failure","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":"killip","formula_expression":"Killip class 1-4 as assigned by the caller; 1967 CCU hospital mortality 6/17/38/81 percent (Killip and Kimball 1967)","hospital_mortality_percent":6,"killip_class":1,"max_score":4,"score":1},{"citation":{"authors":"Killip T 3rd, Kimball JT","doi":"10.1016/0002-9149(67)90023-9","id":"killip-1967","pmid":"6059183","source":"Am J Cardiol. 1967;20(4):457-464","title":"Treatment of myocardial infarction in a coronary care unit. A two year experience with 250 patients"},"components":[{"factor":"killip_class","points":1,"present":true}],"description":"No heart failure","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":"killip","formula_expression":"Killip class 1-4 as assigned by the caller; 1967 CCU hospital mortality 6/17/38/81 percent (Killip and Kimball 1967)","hospital_mortality_percent":6,"killip_class":1,"max_score":4,"score":1}],"path":"/api/calc/killip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"killip_class":{"description":"Killip and Kimball 1967 class 1-4 as assigned by the caller (1 no heart failure; 2 heart failure with S3 and basilar rales; 3 pulmonary edema; 4 cardiogenic shock). magent does not examine the patient.","type":"integer"}},"required":["killip_class"],"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},{"id":39067,"slug":"39067","resource":"https://api.magentlab.com/api/calc/kegfr","description":"Chen 2013 kinetic eGFR (KeGFR) from two plasma creatinines, hours between them, caller-assigned steady-state creatinine and corresponding eGFR/CrCl, and required max_delta_pcr_mg_dl_day (Chen usual default 1.5). KeGFR = (SSPCr * CrCl / MeanPCr) * (1 - 24*dPCr / (dTime_hours * MaxdPCr/Day)), clamped at 0 when that (1 - ratio) term is negative. Creatinine mg/dL only. Not a CKD-EPI result. Not a dialysis prescription. magent does not compute MDRD or CKD-EPI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"creatinine_1_mg_dl":1,"creatinine_2_mg_dl":1,"delta_hours":24,"max_delta_pcr_mg_dl_day":1.5,"steady_state_creatinine_mg_dl":1,"steady_state_egfr":90},{"creatinine_1_mg_dl":1,"creatinine_2_mg_dl":1,"delta_hours":24,"max_delta_pcr_mg_dl_day":1.5,"steady_state_creatinine_mg_dl":1,"steady_state_egfr":90}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Chen S","doi":"10.1681/ASN.2012070653","id":"chen-2013","pmid":"23704286","source":"J Am Soc Nephrol. 2013;24(6):877-888","title":"Retooling the Creatinine Clearance Equation to Estimate Kinetic GFR when the Plasma Creatinine Is Changing Acutely"},"creatinine_1_mg_dl":1,"creatinine_2_mg_dl":1,"delta_hours":24,"delta_pcr_mg_dl":0,"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":"kegfr","formula_expression":"kegfr_ml_min = (steady_state_creatinine_mg_dl * steady_state_egfr / mean_pcr_mg_dl) * (1 - (24 * delta_pcr_mg_dl) / (delta_hours * max_delta_pcr_mg_dl_day)); mean_pcr_mg_dl = (creatinine_1_mg_dl + creatinine_2_mg_dl) / 2; delta_pcr_mg_dl = creatinine_2_mg_dl - creatinine_1_mg_dl; clamp kegfr_ml_min at 0 when (1 - ratio) is negative (Chen 2013)","kegfr_ml_min":90,"max_delta_pcr_mg_dl_day":1.5,"mean_pcr_mg_dl":1,"steady_state_creatinine_mg_dl":1,"steady_state_egfr":90,"units":"mL/min"},{"citation":{"authors":"Chen S","doi":"10.1681/ASN.2012070653","id":"chen-2013","pmid":"23704286","source":"J Am Soc Nephrol. 2013;24(6):877-888","title":"Retooling the Creatinine Clearance Equation to Estimate Kinetic GFR when the Plasma Creatinine Is Changing Acutely"},"creatinine_1_mg_dl":1,"creatinine_2_mg_dl":1,"delta_hours":24,"delta_pcr_mg_dl":0,"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":"kegfr","formula_expression":"kegfr_ml_min = (steady_state_creatinine_mg_dl * steady_state_egfr / mean_pcr_mg_dl) * (1 - (24 * delta_pcr_mg_dl) / (delta_hours * max_delta_pcr_mg_dl_day)); mean_pcr_mg_dl = (creatinine_1_mg_dl + creatinine_2_mg_dl) / 2; delta_pcr_mg_dl = creatinine_2_mg_dl - creatinine_1_mg_dl; clamp kegfr_ml_min at 0 when (1 - ratio) is negative (Chen 2013)","kegfr_ml_min":90,"max_delta_pcr_mg_dl_day":1.5,"mean_pcr_mg_dl":1,"steady_state_creatinine_mg_dl":1,"steady_state_egfr":90,"units":"mL/min"}],"path":"/api/calc/kegfr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_1_mg_dl":{"description":"First plasma creatinine in mg/dL (0.1-20). mg/dL only.","type":"number"},"creatinine_2_mg_dl":{"description":"Second plasma creatinine in mg/dL (0.1-20). mg/dL only.","type":"number"},"delta_hours":{"description":"Hours between creatinine_1 and creatinine_2 (1-72). Chen: endpoints <48-72 h apart.","type":"number"},"max_delta_pcr_mg_dl_day":{"description":"Maximum creatinine rise per day in mg/dL (0.5-3). Chen usual default 1.5. Required; magent does not omit it.","type":"number"},"steady_state_creatinine_mg_dl":{"description":"Steady-state plasma creatinine in mg/dL (0.1-20) corresponding to steady_state_egfr. mg/dL only.","type":"number"},"steady_state_egfr":{"description":"Caller-assigned eGFR/CrCl in mL/min corresponding to steady_state_creatinine_mg_dl (5-200). magent does not compute MDRD or CKD-EPI.","type":"number"}},"required":["creatinine_1_mg_dl","creatinine_2_mg_dl","delta_hours","steady_state_creatinine_mg_dl","steady_state_egfr","max_delta_pcr_mg_dl_day"],"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":["kegfr","kidney","creatinine","gfr","aki","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:21:18.389Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:21:18.273Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"creatinine_1_mg_dl":1,"creatinine_2_mg_dl":1,"delta_hours":24,"max_delta_pcr_mg_dl_day":1.5,"steady_state_creatinine_mg_dl":1,"steady_state_egfr":90},{"creatinine_1_mg_dl":1,"creatinine_2_mg_dl":1,"delta_hours":24,"max_delta_pcr_mg_dl_day":1.5,"steady_state_creatinine_mg_dl":1,"steady_state_egfr":90}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Chen S","doi":"10.1681/ASN.2012070653","id":"chen-2013","pmid":"23704286","source":"J Am Soc Nephrol. 2013;24(6):877-888","title":"Retooling the Creatinine Clearance Equation to Estimate Kinetic GFR when the Plasma Creatinine Is Changing Acutely"},"creatinine_1_mg_dl":1,"creatinine_2_mg_dl":1,"delta_hours":24,"delta_pcr_mg_dl":0,"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":"kegfr","formula_expression":"kegfr_ml_min = (steady_state_creatinine_mg_dl * steady_state_egfr / mean_pcr_mg_dl) * (1 - (24 * delta_pcr_mg_dl) / (delta_hours * max_delta_pcr_mg_dl_day)); mean_pcr_mg_dl = (creatinine_1_mg_dl + creatinine_2_mg_dl) / 2; delta_pcr_mg_dl = creatinine_2_mg_dl - creatinine_1_mg_dl; clamp kegfr_ml_min at 0 when (1 - ratio) is negative (Chen 2013)","kegfr_ml_min":90,"max_delta_pcr_mg_dl_day":1.5,"mean_pcr_mg_dl":1,"steady_state_creatinine_mg_dl":1,"steady_state_egfr":90,"units":"mL/min"},{"citation":{"authors":"Chen S","doi":"10.1681/ASN.2012070653","id":"chen-2013","pmid":"23704286","source":"J Am Soc Nephrol. 2013;24(6):877-888","title":"Retooling the Creatinine Clearance Equation to Estimate Kinetic GFR when the Plasma Creatinine Is Changing Acutely"},"creatinine_1_mg_dl":1,"creatinine_2_mg_dl":1,"delta_hours":24,"delta_pcr_mg_dl":0,"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":"kegfr","formula_expression":"kegfr_ml_min = (steady_state_creatinine_mg_dl * steady_state_egfr / mean_pcr_mg_dl) * (1 - (24 * delta_pcr_mg_dl) / (delta_hours * max_delta_pcr_mg_dl_day)); mean_pcr_mg_dl = (creatinine_1_mg_dl + creatinine_2_mg_dl) / 2; delta_pcr_mg_dl = creatinine_2_mg_dl - creatinine_1_mg_dl; clamp kegfr_ml_min at 0 when (1 - ratio) is negative (Chen 2013)","kegfr_ml_min":90,"max_delta_pcr_mg_dl_day":1.5,"mean_pcr_mg_dl":1,"steady_state_creatinine_mg_dl":1,"steady_state_egfr":90,"units":"mL/min"}],"path":"/api/calc/kegfr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_1_mg_dl":{"description":"First plasma creatinine in mg/dL (0.1-20). mg/dL only.","type":"number"},"creatinine_2_mg_dl":{"description":"Second plasma creatinine in mg/dL (0.1-20). mg/dL only.","type":"number"},"delta_hours":{"description":"Hours between creatinine_1 and creatinine_2 (1-72). Chen: endpoints <48-72 h apart.","type":"number"},"max_delta_pcr_mg_dl_day":{"description":"Maximum creatinine rise per day in mg/dL (0.5-3). Chen usual default 1.5. Required; magent does not omit it.","type":"number"},"steady_state_creatinine_mg_dl":{"description":"Steady-state plasma creatinine in mg/dL (0.1-20) corresponding to steady_state_egfr. mg/dL only.","type":"number"},"steady_state_egfr":{"description":"Caller-assigned eGFR/CrCl in mL/min corresponding to steady_state_creatinine_mg_dl (5-200). magent does not compute MDRD or CKD-EPI.","type":"number"}},"required":["creatinine_1_mg_dl","creatinine_2_mg_dl","delta_hours","steady_state_creatinine_mg_dl","steady_state_egfr","max_delta_pcr_mg_dl_day"],"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},{"id":39068,"slug":"39068","resource":"https://api.magentlab.com/api/calc/kdigo_aki","description":"KDIGO 2012 Table 2 AKI stage 0-3 from baseline and current creatinine in mg/dL and a caller-assigned urine-output category. Stage is the worse of the two limbs; RRT or a caller pediatric eGFR <35 flag is stage 3. magent does not assay creatinine, measure urine, collect weight, or compute eGFR (no MDRD). Not a medical device, not a diagnosis, not AKIN 2007, and not RIFLE.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"baseline_creatinine_mg_dl":1,"current_creatinine_mg_dl":1,"pediatric_egfr_lt_35":false,"rrt":false,"urine_output":"none"},{"baseline_creatinine_mg_dl":1,"current_creatinine_mg_dl":1,"pediatric_egfr_lt_35":false,"rrt":false,"urine_output":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Kidney Disease: Improving Global Outcomes (KDIGO) Acute Kidney Injury Work Group","doi":"10.1038/kisup.2012.1","id":"kdigo-aki-2012","source":"Kidney Int Suppl. 2012;2:1-138","title":"KDIGO Clinical Practice Guideline for Acute Kidney Injury"},"components":[{"factor":"creat_stage","met":false,"value":0},{"factor":"uo_stage","met":false,"value":0}],"creat_stage":0,"current_creatinine_mg_dl":1,"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":"kdigo_aki","formula_expression":"KDIGO stage = max(creatinine_stage, urine_stage); RRT or pediatric_egfr_lt_35 maps to stage 3. Creatinine vs baseline (unrounded mg/dL): stage 1 if increase ≥0.3 mg/dL or ratio 1.5–1.9× baseline; stage 2 if ratio 2.0–2.9× baseline; stage 3 if ratio ≥3.0× baseline or current ≥4.0 mg/dL. Urine (caller-assigned): none → 0; oliguria_6_to_12h → 1; oliguria_ge_12h → 2; oliguria_24h_or_anuria_12h → 3. Stage 0 if neither criterion and both flags are false (KDIGO 2012 Table 2)","pediatric_egfr_lt_35":false,"rrt":false,"stage":0,"uo_stage":0,"urine_output":"none"},{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Kidney Disease: Improving Global Outcomes (KDIGO) Acute Kidney Injury Work Group","doi":"10.1038/kisup.2012.1","id":"kdigo-aki-2012","source":"Kidney Int Suppl. 2012;2:1-138","title":"KDIGO Clinical Practice Guideline for Acute Kidney Injury"},"components":[{"factor":"creat_stage","met":false,"value":0},{"factor":"uo_stage","met":false,"value":0}],"creat_stage":0,"current_creatinine_mg_dl":1,"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":"kdigo_aki","formula_expression":"KDIGO stage = max(creatinine_stage, urine_stage); RRT or pediatric_egfr_lt_35 maps to stage 3. Creatinine vs baseline (unrounded mg/dL): stage 1 if increase ≥0.3 mg/dL or ratio 1.5–1.9× baseline; stage 2 if ratio 2.0–2.9× baseline; stage 3 if ratio ≥3.0× baseline or current ≥4.0 mg/dL. Urine (caller-assigned): none → 0; oliguria_6_to_12h → 1; oliguria_ge_12h → 2; oliguria_24h_or_anuria_12h → 3. Stage 0 if neither criterion and both flags are false (KDIGO 2012 Table 2)","pediatric_egfr_lt_35":false,"rrt":false,"stage":0,"uo_stage":0,"urine_output":"none"}],"path":"/api/calc/kdigo_aki"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"baseline_creatinine_mg_dl":{"description":"Baseline serum creatinine in mg/dL (0.1-20). Staging uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"current_creatinine_mg_dl":{"description":"Current serum creatinine in mg/dL (0.1-20). Staging uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"pediatric_egfr_lt_35":{"description":"Caller-assigned KDIGO Table 2 pediatric limb: patients <18 years with a decrease in eGFR to <35 mL/min/1.73 m². true maps to stage 3 irrespective of creatinine or urine stage. magent does not compute eGFR and does not use MDRD. true or false.","type":"boolean"},"rrt":{"description":"Renal replacement therapy initiated as assigned by the caller. true maps to KDIGO stage 3 irrespective of creatinine or urine stage (KDIGO 2012 Table 2). true or false.","type":"boolean"},"urine_output":{"description":"Caller-assigned KDIGO urine-output category (KDIGO 2012 Table 2): none (no oliguria or anuria criterion); oliguria_6_to_12h (<0.5 mL/kg/h for 6–12 hours); oliguria_ge_12h (<0.5 mL/kg/h for ≥12 hours); oliguria_24h_or_anuria_12h (<0.3 mL/kg/h for ≥24 hours or anuria for ≥12 hours). Case-insensitive. magent does not collect weight or measure urine.","enum":["none","oliguria_6_to_12h","oliguria_ge_12h","oliguria_24h_or_anuria_12h"],"type":"string"}},"required":["baseline_creatinine_mg_dl","current_creatinine_mg_dl","urine_output","rrt","pediatric_egfr_lt_35"],"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":["kdigo","aki","kidney","creatinine","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:21:17.495Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:21:17.384Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"baseline_creatinine_mg_dl":1,"current_creatinine_mg_dl":1,"pediatric_egfr_lt_35":false,"rrt":false,"urine_output":"none"},{"baseline_creatinine_mg_dl":1,"current_creatinine_mg_dl":1,"pediatric_egfr_lt_35":false,"rrt":false,"urine_output":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Kidney Disease: Improving Global Outcomes (KDIGO) Acute Kidney Injury Work Group","doi":"10.1038/kisup.2012.1","id":"kdigo-aki-2012","source":"Kidney Int Suppl. 2012;2:1-138","title":"KDIGO Clinical Practice Guideline for Acute Kidney Injury"},"components":[{"factor":"creat_stage","met":false,"value":0},{"factor":"uo_stage","met":false,"value":0}],"creat_stage":0,"current_creatinine_mg_dl":1,"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":"kdigo_aki","formula_expression":"KDIGO stage = max(creatinine_stage, urine_stage); RRT or pediatric_egfr_lt_35 maps to stage 3. Creatinine vs baseline (unrounded mg/dL): stage 1 if increase ≥0.3 mg/dL or ratio 1.5–1.9× baseline; stage 2 if ratio 2.0–2.9× baseline; stage 3 if ratio ≥3.0× baseline or current ≥4.0 mg/dL. Urine (caller-assigned): none → 0; oliguria_6_to_12h → 1; oliguria_ge_12h → 2; oliguria_24h_or_anuria_12h → 3. Stage 0 if neither criterion and both flags are false (KDIGO 2012 Table 2)","pediatric_egfr_lt_35":false,"rrt":false,"stage":0,"uo_stage":0,"urine_output":"none"},{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Kidney Disease: Improving Global Outcomes (KDIGO) Acute Kidney Injury Work Group","doi":"10.1038/kisup.2012.1","id":"kdigo-aki-2012","source":"Kidney Int Suppl. 2012;2:1-138","title":"KDIGO Clinical Practice Guideline for Acute Kidney Injury"},"components":[{"factor":"creat_stage","met":false,"value":0},{"factor":"uo_stage","met":false,"value":0}],"creat_stage":0,"current_creatinine_mg_dl":1,"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":"kdigo_aki","formula_expression":"KDIGO stage = max(creatinine_stage, urine_stage); RRT or pediatric_egfr_lt_35 maps to stage 3. Creatinine vs baseline (unrounded mg/dL): stage 1 if increase ≥0.3 mg/dL or ratio 1.5–1.9× baseline; stage 2 if ratio 2.0–2.9× baseline; stage 3 if ratio ≥3.0× baseline or current ≥4.0 mg/dL. Urine (caller-assigned): none → 0; oliguria_6_to_12h → 1; oliguria_ge_12h → 2; oliguria_24h_or_anuria_12h → 3. Stage 0 if neither criterion and both flags are false (KDIGO 2012 Table 2)","pediatric_egfr_lt_35":false,"rrt":false,"stage":0,"uo_stage":0,"urine_output":"none"}],"path":"/api/calc/kdigo_aki"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"baseline_creatinine_mg_dl":{"description":"Baseline serum creatinine in mg/dL (0.1-20). Staging uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"current_creatinine_mg_dl":{"description":"Current serum creatinine in mg/dL (0.1-20). Staging uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"pediatric_egfr_lt_35":{"description":"Caller-assigned KDIGO Table 2 pediatric limb: patients <18 years with a decrease in eGFR to <35 mL/min/1.73 m². true maps to stage 3 irrespective of creatinine or urine stage. magent does not compute eGFR and does not use MDRD. true or false.","type":"boolean"},"rrt":{"description":"Renal replacement therapy initiated as assigned by the caller. true maps to KDIGO stage 3 irrespective of creatinine or urine stage (KDIGO 2012 Table 2). true or false.","type":"boolean"},"urine_output":{"description":"Caller-assigned KDIGO urine-output category (KDIGO 2012 Table 2): none (no oliguria or anuria criterion); oliguria_6_to_12h (<0.5 mL/kg/h for 6–12 hours); oliguria_ge_12h (<0.5 mL/kg/h for ≥12 hours); oliguria_24h_or_anuria_12h (<0.3 mL/kg/h for ≥24 hours or anuria for ≥12 hours). Case-insensitive. magent does not collect weight or measure urine.","enum":["none","oliguria_6_to_12h","oliguria_ge_12h","oliguria_24h_or_anuria_12h"],"type":"string"}},"required":["baseline_creatinine_mg_dl","current_creatinine_mg_dl","urine_output","rrt","pediatric_egfr_lt_35"],"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},{"id":39069,"slug":"39069","resource":"https://api.magentlab.com/api/calc/katz","description":"Katz 1963 Index of Independence in Activities of Daily Living: six caller-assigned independence flags (bathing, dressing, toileting, transferring, continence, feeding). Each independent function scores 1; max 6. magent sums the published 0–6 count and does not observe the patient. Not the Barthel Index, not Katz letter grades A–G, and not a rehab order or placement decision. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bathing_independent":false,"continence_independent":false,"dressing_independent":false,"feeding_independent":false,"toileting_independent":false,"transferring_independent":false},{"bathing_independent":false,"continence_independent":false,"dressing_independent":false,"feeding_independent":false,"toileting_independent":false,"transferring_independent":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Katz S, Ford AB, Moskowitz RW, Jackson BA, Jaffe MW","doi":"10.1001/jama.1963.03060120024016","id":"katz-1963","pmid":"14044222","source":"JAMA. 1963;185(12):914-919","title":"Studies of illness in the aged. The index of ADL: a standardized measure of biological and psychosocial function"},"components":[{"factor":"bathing_independent","points":0,"present":false},{"factor":"dressing_independent","points":0,"present":false},{"factor":"toileting_independent","points":0,"present":false},{"factor":"transferring_independent","points":0,"present":false},{"factor":"continence_independent","points":0,"present":false},{"factor":"feeding_independent","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":"katz","formula_expression":"Katz Index of ADL = bathing_independent + dressing_independent + toileting_independent + transferring_independent + continence_independent + feeding_independent; each 1 if independent; max 6 (Katz 1963)","max_score":6,"score":0},{"citation":{"authors":"Katz S, Ford AB, Moskowitz RW, Jackson BA, Jaffe MW","doi":"10.1001/jama.1963.03060120024016","id":"katz-1963","pmid":"14044222","source":"JAMA. 1963;185(12):914-919","title":"Studies of illness in the aged. The index of ADL: a standardized measure of biological and psychosocial function"},"components":[{"factor":"bathing_independent","points":0,"present":false},{"factor":"dressing_independent","points":0,"present":false},{"factor":"toileting_independent","points":0,"present":false},{"factor":"transferring_independent","points":0,"present":false},{"factor":"continence_independent","points":0,"present":false},{"factor":"feeding_independent","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":"katz","formula_expression":"Katz Index of ADL = bathing_independent + dressing_independent + toileting_independent + transferring_independent + continence_independent + feeding_independent; each 1 if independent; max 6 (Katz 1963)","max_score":6,"score":0}],"path":"/api/calc/katz"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bathing_independent":{"description":"Caller-assigned Katz 1963 bathing independence (sponge, shower, or tub). true scores 1; false scores 0. magent does not observe the patient.","type":"boolean"},"continence_independent":{"description":"Caller-assigned Katz 1963 continence independence (controls urination and bowel movement completely by self). true scores 1; false scores 0. magent does not observe the patient.","type":"boolean"},"dressing_independent":{"description":"Caller-assigned Katz 1963 dressing independence (gets clothes and puts on garments; may have help tying shoes). true scores 1; false scores 0. magent does not observe the patient.","type":"boolean"},"feeding_independent":{"description":"Caller-assigned Katz 1963 feeding independence (gets food from plate into mouth; precutting of meat may be done by another). true scores 1; false scores 0. magent does not observe the patient.","type":"boolean"},"toileting_independent":{"description":"Caller-assigned Katz 1963 toileting independence (goes to toilet, gets on and off, arranges clothes, cleans self). true scores 1; false scores 0. magent does not observe the patient.","type":"boolean"},"transferring_independent":{"description":"Caller-assigned Katz 1963 transferring independence (moves in and out of bed and chair; may use an object for support). true scores 1; false scores 0. magent does not observe the patient.","type":"boolean"}},"required":["bathing_independent","dressing_independent","toileting_independent","transferring_independent","continence_independent","feeding_independent"],"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":["katz","adl","neurology","independence","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:17:00.886Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:17:00.584Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bathing_independent":false,"continence_independent":false,"dressing_independent":false,"feeding_independent":false,"toileting_independent":false,"transferring_independent":false},{"bathing_independent":false,"continence_independent":false,"dressing_independent":false,"feeding_independent":false,"toileting_independent":false,"transferring_independent":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Katz S, Ford AB, Moskowitz RW, Jackson BA, Jaffe MW","doi":"10.1001/jama.1963.03060120024016","id":"katz-1963","pmid":"14044222","source":"JAMA. 1963;185(12):914-919","title":"Studies of illness in the aged. The index of ADL: a standardized measure of biological and psychosocial function"},"components":[{"factor":"bathing_independent","points":0,"present":false},{"factor":"dressing_independent","points":0,"present":false},{"factor":"toileting_independent","points":0,"present":false},{"factor":"transferring_independent","points":0,"present":false},{"factor":"continence_independent","points":0,"present":false},{"factor":"feeding_independent","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":"katz","formula_expression":"Katz Index of ADL = bathing_independent + dressing_independent + toileting_independent + transferring_independent + continence_independent + feeding_independent; each 1 if independent; max 6 (Katz 1963)","max_score":6,"score":0},{"citation":{"authors":"Katz S, Ford AB, Moskowitz RW, Jackson BA, Jaffe MW","doi":"10.1001/jama.1963.03060120024016","id":"katz-1963","pmid":"14044222","source":"JAMA. 1963;185(12):914-919","title":"Studies of illness in the aged. The index of ADL: a standardized measure of biological and psychosocial function"},"components":[{"factor":"bathing_independent","points":0,"present":false},{"factor":"dressing_independent","points":0,"present":false},{"factor":"toileting_independent","points":0,"present":false},{"factor":"transferring_independent","points":0,"present":false},{"factor":"continence_independent","points":0,"present":false},{"factor":"feeding_independent","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":"katz","formula_expression":"Katz Index of ADL = bathing_independent + dressing_independent + toileting_independent + transferring_independent + continence_independent + feeding_independent; each 1 if independent; max 6 (Katz 1963)","max_score":6,"score":0}],"path":"/api/calc/katz"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bathing_independent":{"description":"Caller-assigned Katz 1963 bathing independence (sponge, shower, or tub). true scores 1; false scores 0. magent does not observe the patient.","type":"boolean"},"continence_independent":{"description":"Caller-assigned Katz 1963 continence independence (controls urination and bowel movement completely by self). true scores 1; false scores 0. magent does not observe the patient.","type":"boolean"},"dressing_independent":{"description":"Caller-assigned Katz 1963 dressing independence (gets clothes and puts on garments; may have help tying shoes). true scores 1; false scores 0. magent does not observe the patient.","type":"boolean"},"feeding_independent":{"description":"Caller-assigned Katz 1963 feeding independence (gets food from plate into mouth; precutting of meat may be done by another). true scores 1; false scores 0. magent does not observe the patient.","type":"boolean"},"toileting_independent":{"description":"Caller-assigned Katz 1963 toileting independence (goes to toilet, gets on and off, arranges clothes, cleans self). true scores 1; false scores 0. magent does not observe the patient.","type":"boolean"},"transferring_independent":{"description":"Caller-assigned Katz 1963 transferring independence (moves in and out of bed and chair; may use an object for support). true scores 1; false scores 0. magent does not observe the patient.","type":"boolean"}},"required":["bathing_independent","dressing_independent","toileting_independent","transferring_independent","continence_independent","feeding_independent"],"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},{"id":39070,"slug":"39070","resource":"https://api.magentlab.com/api/calc/jones","description":"Gewitz 2015 AHA Jones criteria (Table 7). jones_arf iff evidence_of_preceding_gas and the episode rule: initial 2 major or 1 major plus 2 minor; recurrent also allows 3 minor. Majors/minors follow population_risk for arthritis vs arthralgia, fever, and ESR/CRP. Prolonged PR does not count with carditis. Joints count in major or minor, not both. magent does not examine the patient or read an echocardiogram. Not Jones 1944. Not a diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"carditis":true,"chorea":false,"episode":"initial","erythema_marginatum":false,"esr_ge_30_or_crp_ge_3":false,"esr_ge_60_or_crp_ge_3":false,"evidence_of_preceding_gas":true,"fever_ge_38":false,"fever_ge_38_5":false,"monoarthralgia":false,"monoarthritis":false,"polyarthralgia":false,"polyarthritis":true,"population_risk":"low","prolonged_pr":false,"subcutaneous_nodules":false},{"carditis":true,"chorea":false,"episode":"initial","erythema_marginatum":false,"esr_ge_30_or_crp_ge_3":false,"esr_ge_60_or_crp_ge_3":false,"evidence_of_preceding_gas":true,"fever_ge_38":false,"fever_ge_38_5":false,"monoarthralgia":false,"monoarthritis":false,"polyarthralgia":false,"polyarthritis":true,"population_risk":"low","prolonged_pr":false,"subcutaneous_nodules":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gewitz MH, Baltimore RS, Tani LY, Sable CA, Shulman ST, Carapetis J, Remenyi B, Taubert KA, Bolger AF, Beerman L, Mayosi BM, Beaton A, Pandian NG, Kaplan EL","doi":"10.1161/CIR.0000000000000205","id":"gewitz-2015","pmid":"25908771","source":"Circulation. 2015;131(20):1806-1818","title":"Revision of the Jones Criteria for the Diagnosis of Acute Rheumatic Fever in the Era of Doppler Echocardiography: A Scientific Statement From the American Heart Association"},"criteria":[{"factor":"evidence_of_preceding_gas","met":true},{"factor":"carditis","met":true},{"factor":"polyarthritis","met":true},{"factor":"monoarthritis","met":false},{"factor":"polyarthralgia","met":false},{"factor":"monoarthralgia","met":false},{"factor":"chorea","met":false},{"factor":"erythema_marginatum","met":false},{"factor":"subcutaneous_nodules","met":false},{"factor":"fever_ge_38_5","met":false},{"factor":"fever_ge_38","met":false},{"factor":"esr_ge_60_or_crp_ge_3","met":false},{"factor":"esr_ge_30_or_crp_ge_3","met":false},{"factor":"prolonged_pr","met":false},{"factor":"episode_rule","met":true},{"factor":"jones_arf","met":true}],"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.","episode":"initial","formula":"jones","formula_expression":"jones_arf iff evidence_of_preceding_gas and episode rule (Gewitz 2015 Table 7). initial: 2 major or (1 major and 2 minor). recurrent: 2 major or (1 major and 2 minor) or 3 minor. Majors: carditis (clinical and/or subclinical); arthritis (low: polyarthritis; moderate_high: polyarthritis or monoarthritis, else polyarthralgia); chorea; erythema_marginatum; subcutaneous_nodules. Minors: polyarthralgia (low, if no arthritis major); monoarthralgia (moderate_high, if no arthritis or polyarthralgia major); fever (low: fever_ge_38_5; moderate_high: fever_ge_38); ESR/CRP (low: esr_ge_60_or_crp_ge_3; moderate_high: esr_ge_30_or_crp_ge_3); prolonged_pr only when carditis is false. Joints count in major or minor, not both, at most one joint major. Not Jones 1944. Not a diagnosis","jones_arf":true,"major_count":2,"minor_count":0,"population_risk":"low"},{"citation":{"authors":"Gewitz MH, Baltimore RS, Tani LY, Sable CA, Shulman ST, Carapetis J, Remenyi B, Taubert KA, Bolger AF, Beerman L, Mayosi BM, Beaton A, Pandian NG, Kaplan EL","doi":"10.1161/CIR.0000000000000205","id":"gewitz-2015","pmid":"25908771","source":"Circulation. 2015;131(20):1806-1818","title":"Revision of the Jones Criteria for the Diagnosis of Acute Rheumatic Fever in the Era of Doppler Echocardiography: A Scientific Statement From the American Heart Association"},"criteria":[{"factor":"evidence_of_preceding_gas","met":true},{"factor":"carditis","met":true},{"factor":"polyarthritis","met":true},{"factor":"monoarthritis","met":false},{"factor":"polyarthralgia","met":false},{"factor":"monoarthralgia","met":false},{"factor":"chorea","met":false},{"factor":"erythema_marginatum","met":false},{"factor":"subcutaneous_nodules","met":false},{"factor":"fever_ge_38_5","met":false},{"factor":"fever_ge_38","met":false},{"factor":"esr_ge_60_or_crp_ge_3","met":false},{"factor":"esr_ge_30_or_crp_ge_3","met":false},{"factor":"prolonged_pr","met":false},{"factor":"episode_rule","met":true},{"factor":"jones_arf","met":true}],"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.","episode":"initial","formula":"jones","formula_expression":"jones_arf iff evidence_of_preceding_gas and episode rule (Gewitz 2015 Table 7). initial: 2 major or (1 major and 2 minor). recurrent: 2 major or (1 major and 2 minor) or 3 minor. Majors: carditis (clinical and/or subclinical); arthritis (low: polyarthritis; moderate_high: polyarthritis or monoarthritis, else polyarthralgia); chorea; erythema_marginatum; subcutaneous_nodules. Minors: polyarthralgia (low, if no arthritis major); monoarthralgia (moderate_high, if no arthritis or polyarthralgia major); fever (low: fever_ge_38_5; moderate_high: fever_ge_38); ESR/CRP (low: esr_ge_60_or_crp_ge_3; moderate_high: esr_ge_30_or_crp_ge_3); prolonged_pr only when carditis is false. Joints count in major or minor, not both, at most one joint major. Not Jones 1944. Not a diagnosis","jones_arf":true,"major_count":2,"minor_count":0,"population_risk":"low"}],"path":"/api/calc/jones"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"carditis":{"description":"Clinical and/or subclinical carditis as assigned by the caller (subclinical = echocardiographic valvulitis). Counts as one major. When true, prolonged_pr does not count as a minor. magent does not examine the patient or read an echocardiogram.","type":"boolean"},"chorea":{"description":"Sydenham chorea as assigned by the caller (Gewitz 2015 major). true or false. magent does not examine the patient.","type":"boolean"},"episode":{"description":"ARF episode: initial or recurrent (Gewitz 2015 Table 7). Recurrent also allows 3 minor manifestations. magent does not date prior ARF.","enum":["initial","recurrent"],"type":"string"},"erythema_marginatum":{"description":"Erythema marginatum as assigned by the caller (Gewitz 2015 major). true or false. magent does not examine the skin.","type":"boolean"},"esr_ge_30_or_crp_ge_3":{"description":"ESR ≥30 mm/h or CRP ≥3.0 mg/dL as assigned by the caller. Counts as the acute-phase minor only when population_risk is moderate_high. Ignored for counting when population_risk is low. magent does not interpret laboratory values.","type":"boolean"},"esr_ge_60_or_crp_ge_3":{"description":"ESR ≥60 mm/h or CRP ≥3.0 mg/dL as assigned by the caller. Counts as the acute-phase minor only when population_risk is low. Ignored for counting when population_risk is moderate_high. magent does not interpret laboratory values.","type":"boolean"},"evidence_of_preceding_gas":{"description":"Evidence of preceding group A streptococcal infection as assigned by the caller (Gewitz 2015). true or false. magent does not interpret serology or culture.","type":"boolean"},"fever_ge_38":{"description":"Fever ≥38.0 C as assigned by the caller. Counts as a minor only when population_risk is moderate_high. Ignored for counting when population_risk is low. magent does not measure temperature.","type":"boolean"},"fever_ge_38_5":{"description":"Fever ≥38.5 C as assigned by the caller. Counts as a minor only when population_risk is low. Ignored for counting when population_risk is moderate_high. magent does not measure temperature.","type":"boolean"},"monoarthralgia":{"description":"Monoarthralgia as assigned by the caller. Counts as a minor only when population_risk is moderate_high and no arthritis or polyarthralgia major is counted. Does not count in low-risk. magent does not examine the joints.","type":"boolean"},"monoarthritis":{"description":"Monoarthritis as assigned by the caller. Counts as the arthritis major only when population_risk is moderate_high (and polyarthritis is false). Does not count in low-risk. magent does not examine the joints.","type":"boolean"},"polyarthralgia":{"description":"Polyarthralgia as assigned by the caller. Low-risk: a minor only if polyarthritis is false. Moderate_high: a major only if neither polyarthritis nor monoarthritis is true. Not a second joint major. magent does not examine the joints.","type":"boolean"},"polyarthritis":{"description":"Polyarthritis as assigned by the caller. Counts as the arthritis major in low-risk and in moderate_high-risk populations. Joints count in major or minor, not both. magent does not examine the joints.","type":"boolean"},"population_risk":{"description":"Caller-assigned population risk. low means ARF incidence ≤2 per 100000 school-aged children or all-age RHD prevalence ≤1 per 1000 as already assigned by the caller; moderate_high otherwise. magent does not compute incidence.","enum":["low","moderate_high"],"type":"string"},"prolonged_pr":{"description":"Prolonged PR interval as assigned by the caller. Counts as a minor only when carditis is false. magent does not interpret an electrocardiogram.","type":"boolean"},"subcutaneous_nodules":{"description":"Subcutaneous nodules as assigned by the caller (Gewitz 2015 major). true or false. magent does not examine the patient.","type":"boolean"}},"required":["episode","population_risk","evidence_of_preceding_gas","carditis","polyarthritis","monoarthritis","polyarthralgia","monoarthralgia","chorea","erythema_marginatum","subcutaneous_nodules","fever_ge_38_5","fever_ge_38","esr_ge_60_or_crp_ge_3","esr_ge_30_or_crp_ge_3","prolonged_pr"],"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":["jones","rheumatic-fever","arf","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:16:59.553Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:16:59.264Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"carditis":true,"chorea":false,"episode":"initial","erythema_marginatum":false,"esr_ge_30_or_crp_ge_3":false,"esr_ge_60_or_crp_ge_3":false,"evidence_of_preceding_gas":true,"fever_ge_38":false,"fever_ge_38_5":false,"monoarthralgia":false,"monoarthritis":false,"polyarthralgia":false,"polyarthritis":true,"population_risk":"low","prolonged_pr":false,"subcutaneous_nodules":false},{"carditis":true,"chorea":false,"episode":"initial","erythema_marginatum":false,"esr_ge_30_or_crp_ge_3":false,"esr_ge_60_or_crp_ge_3":false,"evidence_of_preceding_gas":true,"fever_ge_38":false,"fever_ge_38_5":false,"monoarthralgia":false,"monoarthritis":false,"polyarthralgia":false,"polyarthritis":true,"population_risk":"low","prolonged_pr":false,"subcutaneous_nodules":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gewitz MH, Baltimore RS, Tani LY, Sable CA, Shulman ST, Carapetis J, Remenyi B, Taubert KA, Bolger AF, Beerman L, Mayosi BM, Beaton A, Pandian NG, Kaplan EL","doi":"10.1161/CIR.0000000000000205","id":"gewitz-2015","pmid":"25908771","source":"Circulation. 2015;131(20):1806-1818","title":"Revision of the Jones Criteria for the Diagnosis of Acute Rheumatic Fever in the Era of Doppler Echocardiography: A Scientific Statement From the American Heart Association"},"criteria":[{"factor":"evidence_of_preceding_gas","met":true},{"factor":"carditis","met":true},{"factor":"polyarthritis","met":true},{"factor":"monoarthritis","met":false},{"factor":"polyarthralgia","met":false},{"factor":"monoarthralgia","met":false},{"factor":"chorea","met":false},{"factor":"erythema_marginatum","met":false},{"factor":"subcutaneous_nodules","met":false},{"factor":"fever_ge_38_5","met":false},{"factor":"fever_ge_38","met":false},{"factor":"esr_ge_60_or_crp_ge_3","met":false},{"factor":"esr_ge_30_or_crp_ge_3","met":false},{"factor":"prolonged_pr","met":false},{"factor":"episode_rule","met":true},{"factor":"jones_arf","met":true}],"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.","episode":"initial","formula":"jones","formula_expression":"jones_arf iff evidence_of_preceding_gas and episode rule (Gewitz 2015 Table 7). initial: 2 major or (1 major and 2 minor). recurrent: 2 major or (1 major and 2 minor) or 3 minor. Majors: carditis (clinical and/or subclinical); arthritis (low: polyarthritis; moderate_high: polyarthritis or monoarthritis, else polyarthralgia); chorea; erythema_marginatum; subcutaneous_nodules. Minors: polyarthralgia (low, if no arthritis major); monoarthralgia (moderate_high, if no arthritis or polyarthralgia major); fever (low: fever_ge_38_5; moderate_high: fever_ge_38); ESR/CRP (low: esr_ge_60_or_crp_ge_3; moderate_high: esr_ge_30_or_crp_ge_3); prolonged_pr only when carditis is false. Joints count in major or minor, not both, at most one joint major. Not Jones 1944. Not a diagnosis","jones_arf":true,"major_count":2,"minor_count":0,"population_risk":"low"},{"citation":{"authors":"Gewitz MH, Baltimore RS, Tani LY, Sable CA, Shulman ST, Carapetis J, Remenyi B, Taubert KA, Bolger AF, Beerman L, Mayosi BM, Beaton A, Pandian NG, Kaplan EL","doi":"10.1161/CIR.0000000000000205","id":"gewitz-2015","pmid":"25908771","source":"Circulation. 2015;131(20):1806-1818","title":"Revision of the Jones Criteria for the Diagnosis of Acute Rheumatic Fever in the Era of Doppler Echocardiography: A Scientific Statement From the American Heart Association"},"criteria":[{"factor":"evidence_of_preceding_gas","met":true},{"factor":"carditis","met":true},{"factor":"polyarthritis","met":true},{"factor":"monoarthritis","met":false},{"factor":"polyarthralgia","met":false},{"factor":"monoarthralgia","met":false},{"factor":"chorea","met":false},{"factor":"erythema_marginatum","met":false},{"factor":"subcutaneous_nodules","met":false},{"factor":"fever_ge_38_5","met":false},{"factor":"fever_ge_38","met":false},{"factor":"esr_ge_60_or_crp_ge_3","met":false},{"factor":"esr_ge_30_or_crp_ge_3","met":false},{"factor":"prolonged_pr","met":false},{"factor":"episode_rule","met":true},{"factor":"jones_arf","met":true}],"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.","episode":"initial","formula":"jones","formula_expression":"jones_arf iff evidence_of_preceding_gas and episode rule (Gewitz 2015 Table 7). initial: 2 major or (1 major and 2 minor). recurrent: 2 major or (1 major and 2 minor) or 3 minor. Majors: carditis (clinical and/or subclinical); arthritis (low: polyarthritis; moderate_high: polyarthritis or monoarthritis, else polyarthralgia); chorea; erythema_marginatum; subcutaneous_nodules. Minors: polyarthralgia (low, if no arthritis major); monoarthralgia (moderate_high, if no arthritis or polyarthralgia major); fever (low: fever_ge_38_5; moderate_high: fever_ge_38); ESR/CRP (low: esr_ge_60_or_crp_ge_3; moderate_high: esr_ge_30_or_crp_ge_3); prolonged_pr only when carditis is false. Joints count in major or minor, not both, at most one joint major. Not Jones 1944. Not a diagnosis","jones_arf":true,"major_count":2,"minor_count":0,"population_risk":"low"}],"path":"/api/calc/jones"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"carditis":{"description":"Clinical and/or subclinical carditis as assigned by the caller (subclinical = echocardiographic valvulitis). Counts as one major. When true, prolonged_pr does not count as a minor. magent does not examine the patient or read an echocardiogram.","type":"boolean"},"chorea":{"description":"Sydenham chorea as assigned by the caller (Gewitz 2015 major). true or false. magent does not examine the patient.","type":"boolean"},"episode":{"description":"ARF episode: initial or recurrent (Gewitz 2015 Table 7). Recurrent also allows 3 minor manifestations. magent does not date prior ARF.","enum":["initial","recurrent"],"type":"string"},"erythema_marginatum":{"description":"Erythema marginatum as assigned by the caller (Gewitz 2015 major). true or false. magent does not examine the skin.","type":"boolean"},"esr_ge_30_or_crp_ge_3":{"description":"ESR ≥30 mm/h or CRP ≥3.0 mg/dL as assigned by the caller. Counts as the acute-phase minor only when population_risk is moderate_high. Ignored for counting when population_risk is low. magent does not interpret laboratory values.","type":"boolean"},"esr_ge_60_or_crp_ge_3":{"description":"ESR ≥60 mm/h or CRP ≥3.0 mg/dL as assigned by the caller. Counts as the acute-phase minor only when population_risk is low. Ignored for counting when population_risk is moderate_high. magent does not interpret laboratory values.","type":"boolean"},"evidence_of_preceding_gas":{"description":"Evidence of preceding group A streptococcal infection as assigned by the caller (Gewitz 2015). true or false. magent does not interpret serology or culture.","type":"boolean"},"fever_ge_38":{"description":"Fever ≥38.0 C as assigned by the caller. Counts as a minor only when population_risk is moderate_high. Ignored for counting when population_risk is low. magent does not measure temperature.","type":"boolean"},"fever_ge_38_5":{"description":"Fever ≥38.5 C as assigned by the caller. Counts as a minor only when population_risk is low. Ignored for counting when population_risk is moderate_high. magent does not measure temperature.","type":"boolean"},"monoarthralgia":{"description":"Monoarthralgia as assigned by the caller. Counts as a minor only when population_risk is moderate_high and no arthritis or polyarthralgia major is counted. Does not count in low-risk. magent does not examine the joints.","type":"boolean"},"monoarthritis":{"description":"Monoarthritis as assigned by the caller. Counts as the arthritis major only when population_risk is moderate_high (and polyarthritis is false). Does not count in low-risk. magent does not examine the joints.","type":"boolean"},"polyarthralgia":{"description":"Polyarthralgia as assigned by the caller. Low-risk: a minor only if polyarthritis is false. Moderate_high: a major only if neither polyarthritis nor monoarthritis is true. Not a second joint major. magent does not examine the joints.","type":"boolean"},"polyarthritis":{"description":"Polyarthritis as assigned by the caller. Counts as the arthritis major in low-risk and in moderate_high-risk populations. Joints count in major or minor, not both. magent does not examine the joints.","type":"boolean"},"population_risk":{"description":"Caller-assigned population risk. low means ARF incidence ≤2 per 100000 school-aged children or all-age RHD prevalence ≤1 per 1000 as already assigned by the caller; moderate_high otherwise. magent does not compute incidence.","enum":["low","moderate_high"],"type":"string"},"prolonged_pr":{"description":"Prolonged PR interval as assigned by the caller. Counts as a minor only when carditis is false. magent does not interpret an electrocardiogram.","type":"boolean"},"subcutaneous_nodules":{"description":"Subcutaneous nodules as assigned by the caller (Gewitz 2015 major). true or false. magent does not examine the patient.","type":"boolean"}},"required":["episode","population_risk","evidence_of_preceding_gas","carditis","polyarthritis","monoarthritis","polyarthralgia","monoarthralgia","chorea","erythema_marginatum","subcutaneous_nodules","fever_ge_38_5","fever_ge_38","esr_ge_60_or_crp_ge_3","esr_ge_30_or_crp_ge_3","prolonged_pr"],"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},{"id":39071,"slug":"39071","resource":"https://api.magentlab.com/api/calc/iss","description":"Injury Severity Score (Baker 1974): ISS is the sum of squares of the three highest caller-assigned AIS body-region grades (head, face, chest, abdomen, extremity, external; each 0-6). Any AIS 6 (unsurvivable) is ISS 75. Deterministic published arithmetic with citation; not a triage order and not NISS (which squares the three worst injuries regardless of region).","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ais_abdomen":1,"ais_chest":2,"ais_external":0,"ais_extremity":0,"ais_face":0,"ais_head":3},{"ais_abdomen":1,"ais_chest":2,"ais_external":0,"ais_extremity":0,"ais_face":0,"ais_head":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ais_abdomen":1,"ais_chest":2,"ais_external":0,"ais_extremity":0,"ais_face":0,"ais_head":3,"citation":{"authors":"Baker SP, O'Neill B, Haddon W Jr, Long WB","doi":"10.1097/00005373-197403000-00001","id":"baker-1974","source":"J Trauma. 1974;14(3):187-196","title":"The injury severity score: a method for describing patients with multiple injuries and evaluating emergency care"},"components":[{"ais":3,"factor":"ais_head","points":9,"present":true},{"ais":0,"factor":"ais_face","points":0,"present":false},{"ais":2,"factor":"ais_chest","points":4,"present":true},{"ais":1,"factor":"ais_abdomen","points":1,"present":true},{"ais":0,"factor":"ais_extremity","points":0,"present":false},{"ais":0,"factor":"ais_external","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":"iss","formula_expression":"ISS = a^2 + b^2 + c^2 for the three highest AIS body-region grades (0-5); any AIS 6 => 75","max_score":75,"score":14,"used_ais":[3,2,1]},{"ais_abdomen":1,"ais_chest":2,"ais_external":0,"ais_extremity":0,"ais_face":0,"ais_head":3,"citation":{"authors":"Baker SP, O'Neill B, Haddon W Jr, Long WB","doi":"10.1097/00005373-197403000-00001","id":"baker-1974","source":"J Trauma. 1974;14(3):187-196","title":"The injury severity score: a method for describing patients with multiple injuries and evaluating emergency care"},"components":[{"ais":3,"factor":"ais_head","points":9,"present":true},{"ais":0,"factor":"ais_face","points":0,"present":false},{"ais":2,"factor":"ais_chest","points":4,"present":true},{"ais":1,"factor":"ais_abdomen","points":1,"present":true},{"ais":0,"factor":"ais_extremity","points":0,"present":false},{"ais":0,"factor":"ais_external","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":"iss","formula_expression":"ISS = a^2 + b^2 + c^2 for the three highest AIS body-region grades (0-5); any AIS 6 => 75","max_score":75,"score":14,"used_ais":[3,2,1]}],"path":"/api/calc/iss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ais_abdomen":{"description":"Caller-assigned AIS grade for the abdomen or pelvic contents (integer 0-6).","type":"integer"},"ais_chest":{"description":"Caller-assigned AIS grade for the chest (integer 0-6).","type":"integer"},"ais_external":{"description":"Caller-assigned AIS grade for external (integer 0-6).","type":"integer"},"ais_extremity":{"description":"Caller-assigned AIS grade for the extremities or pelvic girdle (integer 0-6).","type":"integer"},"ais_face":{"description":"Caller-assigned AIS grade for the face (integer 0-6).","type":"integer"},"ais_head":{"description":"Caller-assigned AIS grade for the head or neck (integer 0-6). magent does not assign AIS from an injury list.","type":"integer"}},"required":["ais_head","ais_face","ais_chest","ais_abdomen","ais_extremity","ais_external"],"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":["iss","trauma","ais","injury-severity","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:16:57.623Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:16:57.419Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ais_abdomen":1,"ais_chest":2,"ais_external":0,"ais_extremity":0,"ais_face":0,"ais_head":3},{"ais_abdomen":1,"ais_chest":2,"ais_external":0,"ais_extremity":0,"ais_face":0,"ais_head":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ais_abdomen":1,"ais_chest":2,"ais_external":0,"ais_extremity":0,"ais_face":0,"ais_head":3,"citation":{"authors":"Baker SP, O'Neill B, Haddon W Jr, Long WB","doi":"10.1097/00005373-197403000-00001","id":"baker-1974","source":"J Trauma. 1974;14(3):187-196","title":"The injury severity score: a method for describing patients with multiple injuries and evaluating emergency care"},"components":[{"ais":3,"factor":"ais_head","points":9,"present":true},{"ais":0,"factor":"ais_face","points":0,"present":false},{"ais":2,"factor":"ais_chest","points":4,"present":true},{"ais":1,"factor":"ais_abdomen","points":1,"present":true},{"ais":0,"factor":"ais_extremity","points":0,"present":false},{"ais":0,"factor":"ais_external","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":"iss","formula_expression":"ISS = a^2 + b^2 + c^2 for the three highest AIS body-region grades (0-5); any AIS 6 => 75","max_score":75,"score":14,"used_ais":[3,2,1]},{"ais_abdomen":1,"ais_chest":2,"ais_external":0,"ais_extremity":0,"ais_face":0,"ais_head":3,"citation":{"authors":"Baker SP, O'Neill B, Haddon W Jr, Long WB","doi":"10.1097/00005373-197403000-00001","id":"baker-1974","source":"J Trauma. 1974;14(3):187-196","title":"The injury severity score: a method for describing patients with multiple injuries and evaluating emergency care"},"components":[{"ais":3,"factor":"ais_head","points":9,"present":true},{"ais":0,"factor":"ais_face","points":0,"present":false},{"ais":2,"factor":"ais_chest","points":4,"present":true},{"ais":1,"factor":"ais_abdomen","points":1,"present":true},{"ais":0,"factor":"ais_extremity","points":0,"present":false},{"ais":0,"factor":"ais_external","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":"iss","formula_expression":"ISS = a^2 + b^2 + c^2 for the three highest AIS body-region grades (0-5); any AIS 6 => 75","max_score":75,"score":14,"used_ais":[3,2,1]}],"path":"/api/calc/iss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ais_abdomen":{"description":"Caller-assigned AIS grade for the abdomen or pelvic contents (integer 0-6).","type":"integer"},"ais_chest":{"description":"Caller-assigned AIS grade for the chest (integer 0-6).","type":"integer"},"ais_external":{"description":"Caller-assigned AIS grade for external (integer 0-6).","type":"integer"},"ais_extremity":{"description":"Caller-assigned AIS grade for the extremities or pelvic girdle (integer 0-6).","type":"integer"},"ais_face":{"description":"Caller-assigned AIS grade for the face (integer 0-6).","type":"integer"},"ais_head":{"description":"Caller-assigned AIS grade for the head or neck (integer 0-6). magent does not assign AIS from an injury list.","type":"integer"}},"required":["ais_head","ais_face","ais_chest","ais_abdomen","ais_extremity","ais_external"],"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},{"id":39072,"slug":"39072","resource":"https://api.magentlab.com/api/calc/irae_pneumonitis","description":"Brahmer 2018 ASCO Table 3.1 irAE pneumonitis. First-match: G4 life-threatening respiratory compromise; else G3 hospitalization, oxygen, limiting self-care, or all lobes/>50%; else G2 symptomatic, >1 lobe, 25-50% parenchyma, or limiting instrumental ADL; else G1. ICPi: hold_if_radiographic_progression (G1), hold (G2), permanently_discontinue (G3-4). Caller-assigned flags. magent does not read CT or pulse oximetry. Not SITC 2021, not a CTCAE instrument, not a diagnosis, not a steroid dose.","type":"http","serviceName":"magent","resourceType":"AI Inference","x402Version":2,"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":[{"all_lobes_or_gt_50_pct":false,"extent_25_to_50_pct":false,"hospitalization_required":false,"life_threatening_respiratory":false,"limiting_instrumental_adl":false,"limiting_self_care":false,"more_than_one_lobe":false,"oxygen_indicated":false,"symptomatic":false},{"all_lobes_or_gt_50_pct":false,"extent_25_to_50_pct":false,"hospitalization_required":false,"life_threatening_respiratory":false,"limiting_instrumental_adl":false,"limiting_self_care":false,"more_than_one_lobe":false,"oxygen_indicated":false,"symptomatic":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"all_lobes_or_gt_50_pct":false,"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"life_threatening_respiratory","met":false},{"factor":"hospitalization_required","met":false},{"factor":"oxygen_indicated","met":false},{"factor":"limiting_self_care","met":false},{"factor":"all_lobes_or_gt_50_pct","met":false},{"factor":"symptomatic","met":false},{"factor":"more_than_one_lobe","met":false},{"factor":"extent_25_to_50_pct","met":false},{"factor":"limiting_instrumental_adl","met":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.","extent_25_to_50_pct":false,"formula":"irae_pneumonitis","formula_expression":"irae_pneumonitis first-match worst-wins (Brahmer 2018 Table 3.1): grade 4 if life_threatening_respiratory; else grade 3 if hospitalization_required or oxygen_indicated or limiting_self_care or all_lobes_or_gt_50_pct; else grade 2 if symptomatic or more_than_one_lobe or extent_25_to_50_pct or limiting_instrumental_adl; else grade 1. icpi_action hold_if_radiographic_progression (grade 1), hold (grade 2), permanently_discontinue (grade 3 or 4). magent does not read CT or pulse oximetry. Not SITC 2021. Not CTCAE pneumonitis as a separate instrument. Not a diagnosis. Not a steroid dose","grade":1,"hospitalization_required":false,"icpi_action":"hold_if_radiographic_progression","life_threatening_respiratory":false,"limiting_instrumental_adl":false,"limiting_self_care":false,"more_than_one_lobe":false,"oxygen_indicated":false,"symptomatic":false},{"all_lobes_or_gt_50_pct":false,"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"life_threatening_respiratory","met":false},{"factor":"hospitalization_required","met":false},{"factor":"oxygen_indicated","met":false},{"factor":"limiting_self_care","met":false},{"factor":"all_lobes_or_gt_50_pct","met":false},{"factor":"symptomatic","met":false},{"factor":"more_than_one_lobe","met":false},{"factor":"extent_25_to_50_pct","met":false},{"factor":"limiting_instrumental_adl","met":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.","extent_25_to_50_pct":false,"formula":"irae_pneumonitis","formula_expression":"irae_pneumonitis first-match worst-wins (Brahmer 2018 Table 3.1): grade 4 if life_threatening_respiratory; else grade 3 if hospitalization_required or oxygen_indicated or limiting_self_care or all_lobes_or_gt_50_pct; else grade 2 if symptomatic or more_than_one_lobe or extent_25_to_50_pct or limiting_instrumental_adl; else grade 1. icpi_action hold_if_radiographic_progression (grade 1), hold (grade 2), permanently_discontinue (grade 3 or 4). magent does not read CT or pulse oximetry. Not SITC 2021. Not CTCAE pneumonitis as a separate instrument. Not a diagnosis. Not a steroid dose","grade":1,"hospitalization_required":false,"icpi_action":"hold_if_radiographic_progression","life_threatening_respiratory":false,"limiting_instrumental_adl":false,"limiting_self_care":false,"more_than_one_lobe":false,"oxygen_indicated":false,"symptomatic":false}],"path":"/api/calc/irae_pneumonitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"all_lobes_or_gt_50_pct":{"description":"Involves all lung lobes or >50% of lung parenchyma as assigned by the caller (Brahmer 2018 Table 3.1 grade 3). true or false. magent does not read CT.","type":"boolean"},"extent_25_to_50_pct":{"description":"Involves 25%–50% of lung parenchyma as assigned by the caller (Brahmer 2018 Table 3.1 grade 2). true or false. magent does not read CT.","type":"boolean"},"hospitalization_required":{"description":"Hospitalization required as assigned by the caller (Brahmer 2018 Table 3.1 grade 3). true or false. magent does not decide admission.","type":"boolean"},"life_threatening_respiratory":{"description":"Life-threatening respiratory compromise with urgent intervention indicated (intubation) as assigned by the caller (Brahmer 2018 Table 3.1 grade 4). true or false. When true, grade is 4 regardless of other flags. magent does not examine the patient or set a ventilator.","type":"boolean"},"limiting_instrumental_adl":{"description":"Limiting instrumental ADL as assigned by the caller (Brahmer 2018 Table 3.1 grade 2). true or false. magent does not assess ADL.","type":"boolean"},"limiting_self_care":{"description":"Limiting self-care ADL as assigned by the caller (Brahmer 2018 Table 3.1 grade 3). true or false. magent does not assess ADL.","type":"boolean"},"more_than_one_lobe":{"description":"Involves more than one lobe as assigned by the caller (Brahmer 2018 Table 3.1 grade 2). true or false. magent does not read CT.","type":"boolean"},"oxygen_indicated":{"description":"Oxygen indicated as assigned by the caller (Brahmer 2018 Table 3.1 grade 3). true or false. magent does not read pulse oximetry or start oxygen.","type":"boolean"},"symptomatic":{"description":"Symptomatic as assigned by the caller (Brahmer 2018 Table 3.1 grade 2). true or false. magent does not examine the patient.","type":"boolean"}},"required":["life_threatening_respiratory","hospitalization_required","oxygen_indicated","limiting_self_care","all_lobes_or_gt_50_pct","symptomatic","more_than_one_lobe","extent_25_to_50_pct","limiting_instrumental_adl"],"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":["irae","pneumonitis","asco","checkpoint","respiratory","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:11:27.747Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:11:27.6Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"all_lobes_or_gt_50_pct":false,"extent_25_to_50_pct":false,"hospitalization_required":false,"life_threatening_respiratory":false,"limiting_instrumental_adl":false,"limiting_self_care":false,"more_than_one_lobe":false,"oxygen_indicated":false,"symptomatic":false},{"all_lobes_or_gt_50_pct":false,"extent_25_to_50_pct":false,"hospitalization_required":false,"life_threatening_respiratory":false,"limiting_instrumental_adl":false,"limiting_self_care":false,"more_than_one_lobe":false,"oxygen_indicated":false,"symptomatic":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"all_lobes_or_gt_50_pct":false,"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"life_threatening_respiratory","met":false},{"factor":"hospitalization_required","met":false},{"factor":"oxygen_indicated","met":false},{"factor":"limiting_self_care","met":false},{"factor":"all_lobes_or_gt_50_pct","met":false},{"factor":"symptomatic","met":false},{"factor":"more_than_one_lobe","met":false},{"factor":"extent_25_to_50_pct","met":false},{"factor":"limiting_instrumental_adl","met":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.","extent_25_to_50_pct":false,"formula":"irae_pneumonitis","formula_expression":"irae_pneumonitis first-match worst-wins (Brahmer 2018 Table 3.1): grade 4 if life_threatening_respiratory; else grade 3 if hospitalization_required or oxygen_indicated or limiting_self_care or all_lobes_or_gt_50_pct; else grade 2 if symptomatic or more_than_one_lobe or extent_25_to_50_pct or limiting_instrumental_adl; else grade 1. icpi_action hold_if_radiographic_progression (grade 1), hold (grade 2), permanently_discontinue (grade 3 or 4). magent does not read CT or pulse oximetry. Not SITC 2021. Not CTCAE pneumonitis as a separate instrument. Not a diagnosis. Not a steroid dose","grade":1,"hospitalization_required":false,"icpi_action":"hold_if_radiographic_progression","life_threatening_respiratory":false,"limiting_instrumental_adl":false,"limiting_self_care":false,"more_than_one_lobe":false,"oxygen_indicated":false,"symptomatic":false},{"all_lobes_or_gt_50_pct":false,"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"life_threatening_respiratory","met":false},{"factor":"hospitalization_required","met":false},{"factor":"oxygen_indicated","met":false},{"factor":"limiting_self_care","met":false},{"factor":"all_lobes_or_gt_50_pct","met":false},{"factor":"symptomatic","met":false},{"factor":"more_than_one_lobe","met":false},{"factor":"extent_25_to_50_pct","met":false},{"factor":"limiting_instrumental_adl","met":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.","extent_25_to_50_pct":false,"formula":"irae_pneumonitis","formula_expression":"irae_pneumonitis first-match worst-wins (Brahmer 2018 Table 3.1): grade 4 if life_threatening_respiratory; else grade 3 if hospitalization_required or oxygen_indicated or limiting_self_care or all_lobes_or_gt_50_pct; else grade 2 if symptomatic or more_than_one_lobe or extent_25_to_50_pct or limiting_instrumental_adl; else grade 1. icpi_action hold_if_radiographic_progression (grade 1), hold (grade 2), permanently_discontinue (grade 3 or 4). magent does not read CT or pulse oximetry. Not SITC 2021. Not CTCAE pneumonitis as a separate instrument. Not a diagnosis. Not a steroid dose","grade":1,"hospitalization_required":false,"icpi_action":"hold_if_radiographic_progression","life_threatening_respiratory":false,"limiting_instrumental_adl":false,"limiting_self_care":false,"more_than_one_lobe":false,"oxygen_indicated":false,"symptomatic":false}],"path":"/api/calc/irae_pneumonitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"all_lobes_or_gt_50_pct":{"description":"Involves all lung lobes or >50% of lung parenchyma as assigned by the caller (Brahmer 2018 Table 3.1 grade 3). true or false. magent does not read CT.","type":"boolean"},"extent_25_to_50_pct":{"description":"Involves 25%–50% of lung parenchyma as assigned by the caller (Brahmer 2018 Table 3.1 grade 2). true or false. magent does not read CT.","type":"boolean"},"hospitalization_required":{"description":"Hospitalization required as assigned by the caller (Brahmer 2018 Table 3.1 grade 3). true or false. magent does not decide admission.","type":"boolean"},"life_threatening_respiratory":{"description":"Life-threatening respiratory compromise with urgent intervention indicated (intubation) as assigned by the caller (Brahmer 2018 Table 3.1 grade 4). true or false. When true, grade is 4 regardless of other flags. magent does not examine the patient or set a ventilator.","type":"boolean"},"limiting_instrumental_adl":{"description":"Limiting instrumental ADL as assigned by the caller (Brahmer 2018 Table 3.1 grade 2). true or false. magent does not assess ADL.","type":"boolean"},"limiting_self_care":{"description":"Limiting self-care ADL as assigned by the caller (Brahmer 2018 Table 3.1 grade 3). true or false. magent does not assess ADL.","type":"boolean"},"more_than_one_lobe":{"description":"Involves more than one lobe as assigned by the caller (Brahmer 2018 Table 3.1 grade 2). true or false. magent does not read CT.","type":"boolean"},"oxygen_indicated":{"description":"Oxygen indicated as assigned by the caller (Brahmer 2018 Table 3.1 grade 3). true or false. magent does not read pulse oximetry or start oxygen.","type":"boolean"},"symptomatic":{"description":"Symptomatic as assigned by the caller (Brahmer 2018 Table 3.1 grade 2). true or false. magent does not examine the patient.","type":"boolean"}},"required":["life_threatening_respiratory","hospitalization_required","oxygen_indicated","limiting_self_care","all_lobes_or_gt_50_pct","symptomatic","more_than_one_lobe","extent_25_to_50_pct","limiting_instrumental_adl"],"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},{"id":39073,"slug":"39073","resource":"https://api.magentlab.com/api/calc/irae_nephritis","description":"ASCO 2018 (Brahmer) irAE nephritis grade from creatinine vs baseline (mg/dL). First-match: 4 if dialysis or life-threatening; 3 if fold >3, creatinine >=4.0, or hospitalization; 2 if fold >2; 1 if fold >=1.5 or delta >=0.3; else 0. ICI action continue (0), consider_hold (1), hold (2), permanently_discontinue (3-4). Not a medical device, not a diagnosis, not KDIGO/AKIN, not a steroid dose; magent does not assay creatinine.","type":"http","serviceName":"magent","resourceType":"AI Inference","x402Version":2,"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":[{"baseline_creatinine_mg_dl":1,"creatinine_mg_dl":1.6,"dialysis_indicated":false,"hospitalization_indicated":false,"life_threatening":false},{"baseline_creatinine_mg_dl":1,"creatinine_mg_dl":1.6,"dialysis_indicated":false,"hospitalization_indicated":false,"life_threatening":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"creatinine_mg_dl":1.6,"criteria":[{"factor":"dialysis_indicated","met":false},{"factor":"life_threatening","met":false},{"factor":"fold_gt_3","met":false,"value":1.6},{"factor":"creatinine_ge_4","met":false,"value":1.6},{"factor":"hospitalization_indicated","met":false},{"factor":"fold_gt_2","met":false,"value":1.6},{"factor":"fold_ge_1_5","met":true,"value":1.6},{"factor":"delta_ge_0_3","met":true,"value":0.6}],"delta":0.6,"dialysis_indicated":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.","fold":1.6,"formula":"irae_nephritis","formula_expression":"irae_nephritis first-match worst-wins (Brahmer 2018 Table 6.1): fold = creatinine_mg_dl / baseline_creatinine_mg_dl; delta = creatinine_mg_dl - baseline_creatinine_mg_dl. Grade 4 if dialysis_indicated or life_threatening; else grade 3 if fold > 3 or creatinine_mg_dl >= 4.0 or hospitalization_indicated; else grade 2 if fold > 2; else grade 1 if fold >= 1.5 or delta >= 0.3; else grade 0. icpi_action: 0 continue, 1 consider_hold, 2 hold, 3-4 permanently_discontinue. mg/dL only. Not KDIGO/AKIN. magent does not assay creatinine. Not a diagnosis. Not a steroid dose","grade":1,"hospitalization_indicated":false,"icpi_action":"consider_hold","life_threatening":false},{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"creatinine_mg_dl":1.6,"criteria":[{"factor":"dialysis_indicated","met":false},{"factor":"life_threatening","met":false},{"factor":"fold_gt_3","met":false,"value":1.6},{"factor":"creatinine_ge_4","met":false,"value":1.6},{"factor":"hospitalization_indicated","met":false},{"factor":"fold_gt_2","met":false,"value":1.6},{"factor":"fold_ge_1_5","met":true,"value":1.6},{"factor":"delta_ge_0_3","met":true,"value":0.6}],"delta":0.6,"dialysis_indicated":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.","fold":1.6,"formula":"irae_nephritis","formula_expression":"irae_nephritis first-match worst-wins (Brahmer 2018 Table 6.1): fold = creatinine_mg_dl / baseline_creatinine_mg_dl; delta = creatinine_mg_dl - baseline_creatinine_mg_dl. Grade 4 if dialysis_indicated or life_threatening; else grade 3 if fold > 3 or creatinine_mg_dl >= 4.0 or hospitalization_indicated; else grade 2 if fold > 2; else grade 1 if fold >= 1.5 or delta >= 0.3; else grade 0. icpi_action: 0 continue, 1 consider_hold, 2 hold, 3-4 permanently_discontinue. mg/dL only. Not KDIGO/AKIN. magent does not assay creatinine. Not a diagnosis. Not a steroid dose","grade":1,"hospitalization_indicated":false,"icpi_action":"consider_hold","life_threatening":false}],"path":"/api/calc/irae_nephritis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"baseline_creatinine_mg_dl":{"description":"Baseline serum creatinine in mg/dL (0.1-20). µmol/L is not accepted. magent does not assay creatinine.","type":"number"},"creatinine_mg_dl":{"description":"Current serum creatinine in mg/dL (0.1-20). Used with baseline_creatinine_mg_dl for fold and delta (Brahmer 2018 Table 6.1). magent does not assay creatinine.","type":"number"},"dialysis_indicated":{"description":"Dialysis indicated as assigned by the caller (Brahmer 2018 Table 6.1 grade 4). true or false. When true, grade is 4 regardless of fold. magent does not start dialysis.","type":"boolean"},"hospitalization_indicated":{"description":"Hospitalization indicated as assigned by the caller (Brahmer 2018 Table 6.1 grade 3). true or false. When true and neither dialysis_indicated nor life_threatening is true, grade is 3. magent does not admit the patient.","type":"boolean"},"life_threatening":{"description":"Life-threatening consequences as assigned by the caller (Brahmer 2018 Table 6.1 grade 4). true or false. When true, grade is 4 regardless of fold. magent does not examine the patient.","type":"boolean"}},"required":["creatinine_mg_dl","baseline_creatinine_mg_dl","hospitalization_indicated","dialysis_indicated","life_threatening"],"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":["irae-nephritis","kidney","checkpoint","asco","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:11:26.5Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:11:26.382Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"baseline_creatinine_mg_dl":1,"creatinine_mg_dl":1.6,"dialysis_indicated":false,"hospitalization_indicated":false,"life_threatening":false},{"baseline_creatinine_mg_dl":1,"creatinine_mg_dl":1.6,"dialysis_indicated":false,"hospitalization_indicated":false,"life_threatening":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"creatinine_mg_dl":1.6,"criteria":[{"factor":"dialysis_indicated","met":false},{"factor":"life_threatening","met":false},{"factor":"fold_gt_3","met":false,"value":1.6},{"factor":"creatinine_ge_4","met":false,"value":1.6},{"factor":"hospitalization_indicated","met":false},{"factor":"fold_gt_2","met":false,"value":1.6},{"factor":"fold_ge_1_5","met":true,"value":1.6},{"factor":"delta_ge_0_3","met":true,"value":0.6}],"delta":0.6,"dialysis_indicated":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.","fold":1.6,"formula":"irae_nephritis","formula_expression":"irae_nephritis first-match worst-wins (Brahmer 2018 Table 6.1): fold = creatinine_mg_dl / baseline_creatinine_mg_dl; delta = creatinine_mg_dl - baseline_creatinine_mg_dl. Grade 4 if dialysis_indicated or life_threatening; else grade 3 if fold > 3 or creatinine_mg_dl >= 4.0 or hospitalization_indicated; else grade 2 if fold > 2; else grade 1 if fold >= 1.5 or delta >= 0.3; else grade 0. icpi_action: 0 continue, 1 consider_hold, 2 hold, 3-4 permanently_discontinue. mg/dL only. Not KDIGO/AKIN. magent does not assay creatinine. Not a diagnosis. Not a steroid dose","grade":1,"hospitalization_indicated":false,"icpi_action":"consider_hold","life_threatening":false},{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"creatinine_mg_dl":1.6,"criteria":[{"factor":"dialysis_indicated","met":false},{"factor":"life_threatening","met":false},{"factor":"fold_gt_3","met":false,"value":1.6},{"factor":"creatinine_ge_4","met":false,"value":1.6},{"factor":"hospitalization_indicated","met":false},{"factor":"fold_gt_2","met":false,"value":1.6},{"factor":"fold_ge_1_5","met":true,"value":1.6},{"factor":"delta_ge_0_3","met":true,"value":0.6}],"delta":0.6,"dialysis_indicated":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.","fold":1.6,"formula":"irae_nephritis","formula_expression":"irae_nephritis first-match worst-wins (Brahmer 2018 Table 6.1): fold = creatinine_mg_dl / baseline_creatinine_mg_dl; delta = creatinine_mg_dl - baseline_creatinine_mg_dl. Grade 4 if dialysis_indicated or life_threatening; else grade 3 if fold > 3 or creatinine_mg_dl >= 4.0 or hospitalization_indicated; else grade 2 if fold > 2; else grade 1 if fold >= 1.5 or delta >= 0.3; else grade 0. icpi_action: 0 continue, 1 consider_hold, 2 hold, 3-4 permanently_discontinue. mg/dL only. Not KDIGO/AKIN. magent does not assay creatinine. Not a diagnosis. Not a steroid dose","grade":1,"hospitalization_indicated":false,"icpi_action":"consider_hold","life_threatening":false}],"path":"/api/calc/irae_nephritis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"baseline_creatinine_mg_dl":{"description":"Baseline serum creatinine in mg/dL (0.1-20). µmol/L is not accepted. magent does not assay creatinine.","type":"number"},"creatinine_mg_dl":{"description":"Current serum creatinine in mg/dL (0.1-20). Used with baseline_creatinine_mg_dl for fold and delta (Brahmer 2018 Table 6.1). magent does not assay creatinine.","type":"number"},"dialysis_indicated":{"description":"Dialysis indicated as assigned by the caller (Brahmer 2018 Table 6.1 grade 4). true or false. When true, grade is 4 regardless of fold. magent does not start dialysis.","type":"boolean"},"hospitalization_indicated":{"description":"Hospitalization indicated as assigned by the caller (Brahmer 2018 Table 6.1 grade 3). true or false. When true and neither dialysis_indicated nor life_threatening is true, grade is 3. magent does not admit the patient.","type":"boolean"},"life_threatening":{"description":"Life-threatening consequences as assigned by the caller (Brahmer 2018 Table 6.1 grade 4). true or false. When true, grade is 4 regardless of fold. magent does not examine the patient.","type":"boolean"}},"required":["creatinine_mg_dl","baseline_creatinine_mg_dl","hospitalization_indicated","dialysis_indicated","life_threatening"],"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},{"id":39074,"slug":"39074","resource":"https://api.magentlab.com/api/calc/irae_hypothyroidism","description":"Brahmer 2018 ASCO Table 4.1.1 irAE primary hypothyroidism grade from tsh_miu_l (0.01-150 mIU/L) and three caller-assigned flags. First-match: grade 3 if severe_or_life_threatening or unable_to_perform_adl (paper G3-4 as grade 3); else 2 if moderate_symptoms or TSH >= 10; else 1 if TSH < 10. Returns icpi_action continue (grade 1) or hold_until_baseline (grade 2 or 3). Not hyperthyroidism (Table 4.1.2). magent does not assay TSH/FT4. Not a medical device, not a diagnosis, not a levothyroxine dose.","type":"http","serviceName":"magent","resourceType":"AI Inference","x402Version":2,"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":[{"moderate_symptoms":false,"severe_or_life_threatening":false,"tsh_miu_l":8,"unable_to_perform_adl":false},{"moderate_symptoms":false,"severe_or_life_threatening":false,"tsh_miu_l":8,"unable_to_perform_adl":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"severe_or_life_threatening","met":false},{"factor":"unable_to_perform_adl","met":false},{"factor":"moderate_symptoms","met":false},{"factor":"tsh_ge_10","met":false,"value":8}],"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":"irae_hypothyroidism","formula_expression":"irae hypothyroidism first-match (Brahmer 2018 Table 4.1.1 primary hypothyroidism): grade 3 if severe_or_life_threatening or unable_to_perform_adl (paper G3-4 as grade 3); else grade 2 if moderate_symptoms or tsh_miu_l >= 10; else grade 1 if tsh_miu_l < 10. icpi_action continue (1), hold_until_baseline (2 and 3). Not hyperthyroidism (Table 4.1.2). magent does not assay TSH/FT4. Not a diagnosis. Not a levothyroxine dose","grade":1,"icpi_action":"continue","moderate_symptoms":false,"severe_or_life_threatening":false,"tsh_miu_l":8,"unable_to_perform_adl":false},{"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"severe_or_life_threatening","met":false},{"factor":"unable_to_perform_adl","met":false},{"factor":"moderate_symptoms","met":false},{"factor":"tsh_ge_10","met":false,"value":8}],"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":"irae_hypothyroidism","formula_expression":"irae hypothyroidism first-match (Brahmer 2018 Table 4.1.1 primary hypothyroidism): grade 3 if severe_or_life_threatening or unable_to_perform_adl (paper G3-4 as grade 3); else grade 2 if moderate_symptoms or tsh_miu_l >= 10; else grade 1 if tsh_miu_l < 10. icpi_action continue (1), hold_until_baseline (2 and 3). Not hyperthyroidism (Table 4.1.2). magent does not assay TSH/FT4. Not a diagnosis. Not a levothyroxine dose","grade":1,"icpi_action":"continue","moderate_symptoms":false,"severe_or_life_threatening":false,"tsh_miu_l":8,"unable_to_perform_adl":false}],"path":"/api/calc/irae_hypothyroidism"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"moderate_symptoms":{"description":"Moderate symptoms with ability to perform ADL as assigned by the caller (Brahmer 2018 Table 4.1.1 grade 2). true or false. When true and no grade 3 flag is true, grade is 2. magent does not examine the patient.","type":"boolean"},"severe_or_life_threatening":{"description":"Severe symptoms, medically significant or life-threatening consequences as assigned by the caller (Brahmer 2018 Table 4.1.1 grade 3-4, returned as grade 3). true or false. When true, grade is 3. magent does not examine the patient.","type":"boolean"},"tsh_miu_l":{"description":"TSH in mIU/L (0.01-150; Brahmer 2018 Table 4.1.1 primary hypothyroidism). Persistently TSH >10 mIU/L is grade 2 unless a grade 3 flag is true; TSH 10 is this band. TSH <10 mIU/L with no moderate or severe flags is grade 1. magent does not assay TSH.","type":"number"},"unable_to_perform_adl":{"description":"Unable to perform ADL as assigned by the caller (Brahmer 2018 Table 4.1.1 grade 3-4, returned as grade 3). true or false. When true, grade is 3. magent does not assess ADL.","type":"boolean"}},"required":["tsh_miu_l","moderate_symptoms","severe_or_life_threatening","unable_to_perform_adl"],"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":["irae-hypothyroidism","thyroid","immunotherapy","asco","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:11:25.7Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:11:25.538Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"moderate_symptoms":false,"severe_or_life_threatening":false,"tsh_miu_l":8,"unable_to_perform_adl":false},{"moderate_symptoms":false,"severe_or_life_threatening":false,"tsh_miu_l":8,"unable_to_perform_adl":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"severe_or_life_threatening","met":false},{"factor":"unable_to_perform_adl","met":false},{"factor":"moderate_symptoms","met":false},{"factor":"tsh_ge_10","met":false,"value":8}],"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":"irae_hypothyroidism","formula_expression":"irae hypothyroidism first-match (Brahmer 2018 Table 4.1.1 primary hypothyroidism): grade 3 if severe_or_life_threatening or unable_to_perform_adl (paper G3-4 as grade 3); else grade 2 if moderate_symptoms or tsh_miu_l >= 10; else grade 1 if tsh_miu_l < 10. icpi_action continue (1), hold_until_baseline (2 and 3). Not hyperthyroidism (Table 4.1.2). magent does not assay TSH/FT4. Not a diagnosis. Not a levothyroxine dose","grade":1,"icpi_action":"continue","moderate_symptoms":false,"severe_or_life_threatening":false,"tsh_miu_l":8,"unable_to_perform_adl":false},{"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"severe_or_life_threatening","met":false},{"factor":"unable_to_perform_adl","met":false},{"factor":"moderate_symptoms","met":false},{"factor":"tsh_ge_10","met":false,"value":8}],"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":"irae_hypothyroidism","formula_expression":"irae hypothyroidism first-match (Brahmer 2018 Table 4.1.1 primary hypothyroidism): grade 3 if severe_or_life_threatening or unable_to_perform_adl (paper G3-4 as grade 3); else grade 2 if moderate_symptoms or tsh_miu_l >= 10; else grade 1 if tsh_miu_l < 10. icpi_action continue (1), hold_until_baseline (2 and 3). Not hyperthyroidism (Table 4.1.2). magent does not assay TSH/FT4. Not a diagnosis. Not a levothyroxine dose","grade":1,"icpi_action":"continue","moderate_symptoms":false,"severe_or_life_threatening":false,"tsh_miu_l":8,"unable_to_perform_adl":false}],"path":"/api/calc/irae_hypothyroidism"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"moderate_symptoms":{"description":"Moderate symptoms with ability to perform ADL as assigned by the caller (Brahmer 2018 Table 4.1.1 grade 2). true or false. When true and no grade 3 flag is true, grade is 2. magent does not examine the patient.","type":"boolean"},"severe_or_life_threatening":{"description":"Severe symptoms, medically significant or life-threatening consequences as assigned by the caller (Brahmer 2018 Table 4.1.1 grade 3-4, returned as grade 3). true or false. When true, grade is 3. magent does not examine the patient.","type":"boolean"},"tsh_miu_l":{"description":"TSH in mIU/L (0.01-150; Brahmer 2018 Table 4.1.1 primary hypothyroidism). Persistently TSH >10 mIU/L is grade 2 unless a grade 3 flag is true; TSH 10 is this band. TSH <10 mIU/L with no moderate or severe flags is grade 1. magent does not assay TSH.","type":"number"},"unable_to_perform_adl":{"description":"Unable to perform ADL as assigned by the caller (Brahmer 2018 Table 4.1.1 grade 3-4, returned as grade 3). true or false. When true, grade is 3. magent does not assess ADL.","type":"boolean"}},"required":["tsh_miu_l","moderate_symptoms","severe_or_life_threatening","unable_to_perform_adl"],"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},{"id":39075,"slug":"39075","resource":"https://api.magentlab.com/api/calc/irae_hepatitis","description":"ASCO 2018 (Brahmer) immune-related hepatitis grade from caller AST, ALT, and total bilirubin as folds of laboratory ULN (mg/dL only). Lab grade is the max of transaminase and bilirubin Table 2.2 bands; decompensated liver upgrades to grade 4; symptomatic compensated liver dysfunction upgrades to grade 3. ICI action: continue (0-1), hold (2), or permanently discontinue (3-4). Not a medical device, not a diagnosis, not DILI/RUCAM, not R factor, not a steroid dose; magent does not assay enzymes.","type":"http","serviceName":"magent","resourceType":"AI Inference","x402Version":2,"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":[{"alt_u_l":50,"alt_uln_u_l":40,"ast_u_l":80,"ast_uln_u_l":40,"bilirubin_mg_dl":1,"bilirubin_uln_mg_dl":1,"decompensated_liver":false,"symptomatic_liver_dysfunction":false},{"alt_u_l":50,"alt_uln_u_l":40,"ast_u_l":80,"ast_uln_u_l":40,"bilirubin_mg_dl":1,"bilirubin_uln_mg_dl":1,"decompensated_liver":false,"symptomatic_liver_dysfunction":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alt_u_l":50,"alt_uln_u_l":40,"ast_u_l":80,"ast_uln_u_l":40,"bilirubin_mg_dl":1,"bilirubin_ratio":1,"bilirubin_uln_mg_dl":1,"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"decompensated_liver","met":false},{"factor":"symptomatic_liver_dysfunction","met":false}],"decompensated_liver":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":"irae_hepatitis","formula_expression":"lab_grade = max(transaminase_grade(max(AST/AST_ULN, ALT/ALT_ULN)), bilirubin_grade(TBili/TBili_ULN)); first-match: decompensated_liver -> max(lab_grade, 4); else symptomatic_liver_dysfunction -> max(lab_grade, 3); else lab_grade. Transaminase: <1x -> 0, ULN-3x -> 1, >3-5x -> 2, >5-20x -> 3, >20x -> 4. Bilirubin: <1x -> 0, ULN-1.5x -> 1, >1.5-3x -> 2, >3-10x -> 3, >10x -> 4 (Brahmer 2018 Table 2.2). icpi_action: 0-1 continue, 2 hold, 3-4 permanently_discontinue. mg/dL bilirubin only. Not DILI/RUCAM. Not R factor. magent does not assay enzymes. Not a diagnosis. Not a steroid dose","grade":1,"icpi_action":"continue","symptomatic_liver_dysfunction":false,"transaminase_ratio":2},{"alt_u_l":50,"alt_uln_u_l":40,"ast_u_l":80,"ast_uln_u_l":40,"bilirubin_mg_dl":1,"bilirubin_ratio":1,"bilirubin_uln_mg_dl":1,"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"decompensated_liver","met":false},{"factor":"symptomatic_liver_dysfunction","met":false}],"decompensated_liver":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":"irae_hepatitis","formula_expression":"lab_grade = max(transaminase_grade(max(AST/AST_ULN, ALT/ALT_ULN)), bilirubin_grade(TBili/TBili_ULN)); first-match: decompensated_liver -> max(lab_grade, 4); else symptomatic_liver_dysfunction -> max(lab_grade, 3); else lab_grade. Transaminase: <1x -> 0, ULN-3x -> 1, >3-5x -> 2, >5-20x -> 3, >20x -> 4. Bilirubin: <1x -> 0, ULN-1.5x -> 1, >1.5-3x -> 2, >3-10x -> 3, >10x -> 4 (Brahmer 2018 Table 2.2). icpi_action: 0-1 continue, 2 hold, 3-4 permanently_discontinue. mg/dL bilirubin only. Not DILI/RUCAM. Not R factor. magent does not assay enzymes. Not a diagnosis. Not a steroid dose","grade":1,"icpi_action":"continue","symptomatic_liver_dysfunction":false,"transaminase_ratio":2}],"path":"/api/calc/irae_hepatitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000). Used with alt_uln_u_l for the ALT fold. magent does not assay enzymes.","type":"number"},"alt_uln_u_l":{"description":"Laboratory ALT upper limit of normal in U/L (5-200). Required; magent does not assume 40.","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000). Used with ast_uln_u_l for the AST fold. magent does not assay enzymes.","type":"number"},"ast_uln_u_l":{"description":"Laboratory AST upper limit of normal in U/L (5-200). Required; magent does not assume 40.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). µmol/L is not accepted. magent does not assay bilirubin.","type":"number"},"bilirubin_uln_mg_dl":{"description":"Laboratory total-bilirubin upper limit of normal in mg/dL (0.1-5). Required; magent does not assume 1.0.","type":"number"},"decompensated_liver":{"description":"Decompensated liver (ascites, encephalopathy, coagulopathy, or coma) as assigned by the caller (Brahmer 2018). true or false. When true, grade is max(lab_grade, 4). magent does not examine the patient.","type":"boolean"},"symptomatic_liver_dysfunction":{"description":"Symptomatic compensated hepatitis / liver dysfunction as assigned by the caller (Brahmer 2018). true or false. When true and decompensated_liver is false, grade is max(lab_grade, 3). magent does not examine the patient.","type":"boolean"}},"required":["ast_u_l","ast_uln_u_l","alt_u_l","alt_uln_u_l","bilirubin_mg_dl","bilirubin_uln_mg_dl","decompensated_liver","symptomatic_liver_dysfunction"],"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":["irae-hepatitis","liver","checkpoint","asco","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:06:26.74Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:06:26.584Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alt_u_l":50,"alt_uln_u_l":40,"ast_u_l":80,"ast_uln_u_l":40,"bilirubin_mg_dl":1,"bilirubin_uln_mg_dl":1,"decompensated_liver":false,"symptomatic_liver_dysfunction":false},{"alt_u_l":50,"alt_uln_u_l":40,"ast_u_l":80,"ast_uln_u_l":40,"bilirubin_mg_dl":1,"bilirubin_uln_mg_dl":1,"decompensated_liver":false,"symptomatic_liver_dysfunction":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alt_u_l":50,"alt_uln_u_l":40,"ast_u_l":80,"ast_uln_u_l":40,"bilirubin_mg_dl":1,"bilirubin_ratio":1,"bilirubin_uln_mg_dl":1,"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"decompensated_liver","met":false},{"factor":"symptomatic_liver_dysfunction","met":false}],"decompensated_liver":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":"irae_hepatitis","formula_expression":"lab_grade = max(transaminase_grade(max(AST/AST_ULN, ALT/ALT_ULN)), bilirubin_grade(TBili/TBili_ULN)); first-match: decompensated_liver -> max(lab_grade, 4); else symptomatic_liver_dysfunction -> max(lab_grade, 3); else lab_grade. Transaminase: <1x -> 0, ULN-3x -> 1, >3-5x -> 2, >5-20x -> 3, >20x -> 4. Bilirubin: <1x -> 0, ULN-1.5x -> 1, >1.5-3x -> 2, >3-10x -> 3, >10x -> 4 (Brahmer 2018 Table 2.2). icpi_action: 0-1 continue, 2 hold, 3-4 permanently_discontinue. mg/dL bilirubin only. Not DILI/RUCAM. Not R factor. magent does not assay enzymes. Not a diagnosis. Not a steroid dose","grade":1,"icpi_action":"continue","symptomatic_liver_dysfunction":false,"transaminase_ratio":2},{"alt_u_l":50,"alt_uln_u_l":40,"ast_u_l":80,"ast_uln_u_l":40,"bilirubin_mg_dl":1,"bilirubin_ratio":1,"bilirubin_uln_mg_dl":1,"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"decompensated_liver","met":false},{"factor":"symptomatic_liver_dysfunction","met":false}],"decompensated_liver":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":"irae_hepatitis","formula_expression":"lab_grade = max(transaminase_grade(max(AST/AST_ULN, ALT/ALT_ULN)), bilirubin_grade(TBili/TBili_ULN)); first-match: decompensated_liver -> max(lab_grade, 4); else symptomatic_liver_dysfunction -> max(lab_grade, 3); else lab_grade. Transaminase: <1x -> 0, ULN-3x -> 1, >3-5x -> 2, >5-20x -> 3, >20x -> 4. Bilirubin: <1x -> 0, ULN-1.5x -> 1, >1.5-3x -> 2, >3-10x -> 3, >10x -> 4 (Brahmer 2018 Table 2.2). icpi_action: 0-1 continue, 2 hold, 3-4 permanently_discontinue. mg/dL bilirubin only. Not DILI/RUCAM. Not R factor. magent does not assay enzymes. Not a diagnosis. Not a steroid dose","grade":1,"icpi_action":"continue","symptomatic_liver_dysfunction":false,"transaminase_ratio":2}],"path":"/api/calc/irae_hepatitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000). Used with alt_uln_u_l for the ALT fold. magent does not assay enzymes.","type":"number"},"alt_uln_u_l":{"description":"Laboratory ALT upper limit of normal in U/L (5-200). Required; magent does not assume 40.","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000). Used with ast_uln_u_l for the AST fold. magent does not assay enzymes.","type":"number"},"ast_uln_u_l":{"description":"Laboratory AST upper limit of normal in U/L (5-200). Required; magent does not assume 40.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). µmol/L is not accepted. magent does not assay bilirubin.","type":"number"},"bilirubin_uln_mg_dl":{"description":"Laboratory total-bilirubin upper limit of normal in mg/dL (0.1-5). Required; magent does not assume 1.0.","type":"number"},"decompensated_liver":{"description":"Decompensated liver (ascites, encephalopathy, coagulopathy, or coma) as assigned by the caller (Brahmer 2018). true or false. When true, grade is max(lab_grade, 4). magent does not examine the patient.","type":"boolean"},"symptomatic_liver_dysfunction":{"description":"Symptomatic compensated hepatitis / liver dysfunction as assigned by the caller (Brahmer 2018). true or false. When true and decompensated_liver is false, grade is max(lab_grade, 3). magent does not examine the patient.","type":"boolean"}},"required":["ast_u_l","ast_uln_u_l","alt_u_l","alt_uln_u_l","bilirubin_mg_dl","bilirubin_uln_mg_dl","decompensated_liver","symptomatic_liver_dysfunction"],"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},{"id":39076,"slug":"39076","resource":"https://api.magentlab.com/api/calc/irae_diabetes","description":"Brahmer 2018 ASCO Table 4.4 irAE diabetes from glucose_mg_dl (50-1000, mg/dL only) plus caller ketosis, t1dm, severe_unable_adl, and life_threatening. First-match: G4 if life_threatening or glucose >500; else G3 if severe_unable_adl or glucose >250; else G2 if ketosis or t1dm or glucose >160; else G1 if glucose >99; else G0. ICI continue (0-1), hold_until_control (2), hold_admit (3-4). Not DKA diagnostic criteria. magent does not assay glucose. Not a diagnosis. Not an insulin dose.","type":"http","serviceName":"magent","resourceType":"AI Inference","x402Version":2,"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":[{"glucose_mg_dl":140,"ketosis":false,"life_threatening":false,"severe_unable_adl":false,"t1dm":false},{"glucose_mg_dl":140,"ketosis":false,"life_threatening":false,"severe_unable_adl":false,"t1dm":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"life_threatening","met":false},{"factor":"glucose_gt_500","met":false,"value":140},{"factor":"severe_unable_adl","met":false},{"factor":"glucose_gt_250","met":false,"value":140},{"factor":"ketosis","met":false},{"factor":"t1dm","met":false},{"factor":"glucose_gt_160","met":false,"value":140},{"factor":"glucose_gt_99","met":true,"value":140}],"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":"irae_diabetes","formula_expression":"irae_diabetes first-match worst-wins (Brahmer 2018 Table 4.4 fasting glucose mg/dL): grade 4 if life_threatening or glucose_mg_dl > 500; else grade 3 if severe_unable_adl or glucose_mg_dl > 250; else grade 2 if ketosis or t1dm or glucose_mg_dl > 160; else grade 1 if glucose_mg_dl > 99; else grade 0. icpi_action continue (0-1), hold_until_control (2), hold_admit (3-4). mg/dL only. Not DKA diagnostic criteria as a separate instrument. magent does not assay glucose. Not a diagnosis. Not an insulin dose","glucose_mg_dl":140,"grade":1,"icpi_action":"continue","ketosis":false,"life_threatening":false,"severe_unable_adl":false,"t1dm":false},{"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"life_threatening","met":false},{"factor":"glucose_gt_500","met":false,"value":140},{"factor":"severe_unable_adl","met":false},{"factor":"glucose_gt_250","met":false,"value":140},{"factor":"ketosis","met":false},{"factor":"t1dm","met":false},{"factor":"glucose_gt_160","met":false,"value":140},{"factor":"glucose_gt_99","met":true,"value":140}],"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":"irae_diabetes","formula_expression":"irae_diabetes first-match worst-wins (Brahmer 2018 Table 4.4 fasting glucose mg/dL): grade 4 if life_threatening or glucose_mg_dl > 500; else grade 3 if severe_unable_adl or glucose_mg_dl > 250; else grade 2 if ketosis or t1dm or glucose_mg_dl > 160; else grade 1 if glucose_mg_dl > 99; else grade 0. icpi_action continue (0-1), hold_until_control (2), hold_admit (3-4). mg/dL only. Not DKA diagnostic criteria as a separate instrument. magent does not assay glucose. Not a diagnosis. Not an insulin dose","glucose_mg_dl":140,"grade":1,"icpi_action":"continue","ketosis":false,"life_threatening":false,"severe_unable_adl":false,"t1dm":false}],"path":"/api/calc/irae_diabetes"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"glucose_mg_dl":{"description":"Fasting glucose in mg/dL (50-1000). Brahmer 2018 Table 4.4 bands: >500 grade 4; >250 grade 3; >160 grade 2; >99 grade 1; else grade 0 unless a flag upgrades. mmol/L is not accepted. magent does not assay glucose.","type":"number"},"ketosis":{"description":"Ketosis as assigned by the caller (Brahmer 2018 Table 4.4 grade 2; ketosis at any glucose). true or false. When true and grade 4/3 criteria are not met, grade is 2. magent does not assay ketones.","type":"boolean"},"life_threatening":{"description":"Life-threatening consequences as assigned by the caller (Brahmer 2018 Table 4.4 grade 4). true or false. When true, grade is 4 regardless of glucose. magent does not examine the patient.","type":"boolean"},"severe_unable_adl":{"description":"Severe symptoms limiting self-care ADL as assigned by the caller (Brahmer 2018 Table 4.4 grade 3). true or false. When true and life_threatening is false and glucose is not >500, grade is 3. magent does not assess ADL.","type":"boolean"},"t1dm":{"description":"Evidence of type 1 diabetes as assigned by the caller (Brahmer 2018 Table 4.4 grade 2; T1DM at any glucose). true or false. When true and grade 4/3 criteria are not met, grade is 2. magent does not diagnose diabetes.","type":"boolean"}},"required":["glucose_mg_dl","ketosis","t1dm","life_threatening","severe_unable_adl"],"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":["irae-diabetes","glucose","checkpoint","asco","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:06:25.84Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:06:25.7Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"glucose_mg_dl":140,"ketosis":false,"life_threatening":false,"severe_unable_adl":false,"t1dm":false},{"glucose_mg_dl":140,"ketosis":false,"life_threatening":false,"severe_unable_adl":false,"t1dm":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"life_threatening","met":false},{"factor":"glucose_gt_500","met":false,"value":140},{"factor":"severe_unable_adl","met":false},{"factor":"glucose_gt_250","met":false,"value":140},{"factor":"ketosis","met":false},{"factor":"t1dm","met":false},{"factor":"glucose_gt_160","met":false,"value":140},{"factor":"glucose_gt_99","met":true,"value":140}],"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":"irae_diabetes","formula_expression":"irae_diabetes first-match worst-wins (Brahmer 2018 Table 4.4 fasting glucose mg/dL): grade 4 if life_threatening or glucose_mg_dl > 500; else grade 3 if severe_unable_adl or glucose_mg_dl > 250; else grade 2 if ketosis or t1dm or glucose_mg_dl > 160; else grade 1 if glucose_mg_dl > 99; else grade 0. icpi_action continue (0-1), hold_until_control (2), hold_admit (3-4). mg/dL only. Not DKA diagnostic criteria as a separate instrument. magent does not assay glucose. Not a diagnosis. Not an insulin dose","glucose_mg_dl":140,"grade":1,"icpi_action":"continue","ketosis":false,"life_threatening":false,"severe_unable_adl":false,"t1dm":false},{"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"life_threatening","met":false},{"factor":"glucose_gt_500","met":false,"value":140},{"factor":"severe_unable_adl","met":false},{"factor":"glucose_gt_250","met":false,"value":140},{"factor":"ketosis","met":false},{"factor":"t1dm","met":false},{"factor":"glucose_gt_160","met":false,"value":140},{"factor":"glucose_gt_99","met":true,"value":140}],"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":"irae_diabetes","formula_expression":"irae_diabetes first-match worst-wins (Brahmer 2018 Table 4.4 fasting glucose mg/dL): grade 4 if life_threatening or glucose_mg_dl > 500; else grade 3 if severe_unable_adl or glucose_mg_dl > 250; else grade 2 if ketosis or t1dm or glucose_mg_dl > 160; else grade 1 if glucose_mg_dl > 99; else grade 0. icpi_action continue (0-1), hold_until_control (2), hold_admit (3-4). mg/dL only. Not DKA diagnostic criteria as a separate instrument. magent does not assay glucose. Not a diagnosis. Not an insulin dose","glucose_mg_dl":140,"grade":1,"icpi_action":"continue","ketosis":false,"life_threatening":false,"severe_unable_adl":false,"t1dm":false}],"path":"/api/calc/irae_diabetes"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"glucose_mg_dl":{"description":"Fasting glucose in mg/dL (50-1000). Brahmer 2018 Table 4.4 bands: >500 grade 4; >250 grade 3; >160 grade 2; >99 grade 1; else grade 0 unless a flag upgrades. mmol/L is not accepted. magent does not assay glucose.","type":"number"},"ketosis":{"description":"Ketosis as assigned by the caller (Brahmer 2018 Table 4.4 grade 2; ketosis at any glucose). true or false. When true and grade 4/3 criteria are not met, grade is 2. magent does not assay ketones.","type":"boolean"},"life_threatening":{"description":"Life-threatening consequences as assigned by the caller (Brahmer 2018 Table 4.4 grade 4). true or false. When true, grade is 4 regardless of glucose. magent does not examine the patient.","type":"boolean"},"severe_unable_adl":{"description":"Severe symptoms limiting self-care ADL as assigned by the caller (Brahmer 2018 Table 4.4 grade 3). true or false. When true and life_threatening is false and glucose is not >500, grade is 3. magent does not assess ADL.","type":"boolean"},"t1dm":{"description":"Evidence of type 1 diabetes as assigned by the caller (Brahmer 2018 Table 4.4 grade 2; T1DM at any glucose). true or false. When true and grade 4/3 criteria are not met, grade is 2. magent does not diagnose diabetes.","type":"boolean"}},"required":["glucose_mg_dl","ketosis","t1dm","life_threatening","severe_unable_adl"],"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},{"id":39077,"slug":"39077","resource":"https://api.magentlab.com/api/calc/irae_colitis","description":"Brahmer 2018 ASCO Table 2.1 irAE colitis grade from stools_over_baseline (0-40) and four caller-assigned flags. First-match: grade 4 if life_threatening; else 3 if stools >= 7 or incontinence or hospitalization_indicated or limiting_self_care; else 2 if stools >= 4; else 1. Returns icpi_action continue, hold, hold_consider_discontinue_ctla4, or permanently_discontinue. Ostomy-output bands not implemented. magent does not count stools. Not a medical device, not a diagnosis, not a steroid dose.","type":"http","serviceName":"magent","resourceType":"AI Inference","x402Version":2,"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":[{"hospitalization_indicated":false,"incontinence":false,"life_threatening":false,"limiting_self_care":false,"stools_over_baseline":2},{"hospitalization_indicated":false,"incontinence":false,"life_threatening":false,"limiting_self_care":false,"stools_over_baseline":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"life_threatening","met":false},{"factor":"stools_ge_7","met":false,"value":2},{"factor":"incontinence","met":false},{"factor":"hospitalization_indicated","met":false},{"factor":"limiting_self_care","met":false},{"factor":"stools_ge_4","met":false,"value":2}],"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":"irae_colitis","formula_expression":"irae colitis first-match (Brahmer 2018 Table 2.1 CTCAE diarrhea): grade 4 if life_threatening; else grade 3 if stools_over_baseline >= 7 or incontinence or hospitalization_indicated or limiting_self_care; else grade 2 if stools_over_baseline >= 4; else grade 1. icpi_action continue (1), hold (2), hold_consider_discontinue_ctla4 (3), permanently_discontinue (4). Ostomy-output bands not implemented. magent does not count stools. Not a diagnosis. Not a steroid dose","grade":1,"hospitalization_indicated":false,"icpi_action":"continue","incontinence":false,"life_threatening":false,"limiting_self_care":false,"stools_over_baseline":2},{"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"life_threatening","met":false},{"factor":"stools_ge_7","met":false,"value":2},{"factor":"incontinence","met":false},{"factor":"hospitalization_indicated","met":false},{"factor":"limiting_self_care","met":false},{"factor":"stools_ge_4","met":false,"value":2}],"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":"irae_colitis","formula_expression":"irae colitis first-match (Brahmer 2018 Table 2.1 CTCAE diarrhea): grade 4 if life_threatening; else grade 3 if stools_over_baseline >= 7 or incontinence or hospitalization_indicated or limiting_self_care; else grade 2 if stools_over_baseline >= 4; else grade 1. icpi_action continue (1), hold (2), hold_consider_discontinue_ctla4 (3), permanently_discontinue (4). Ostomy-output bands not implemented. magent does not count stools. Not a diagnosis. Not a steroid dose","grade":1,"hospitalization_indicated":false,"icpi_action":"continue","incontinence":false,"life_threatening":false,"limiting_self_care":false,"stools_over_baseline":2}],"path":"/api/calc/irae_colitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hospitalization_indicated":{"description":"Hospitalization indicated as assigned by the caller (Brahmer 2018 Table 2.1 grade 3). true or false. When true and life_threatening is false, grade is 3. magent does not admit the patient.","type":"boolean"},"incontinence":{"description":"Incontinence as assigned by the caller (Brahmer 2018 Table 2.1 grade 3). true or false. When true and life_threatening is false, grade is 3. magent does not examine the patient.","type":"boolean"},"life_threatening":{"description":"Life-threatening consequences with urgent intervention indicated, as assigned by the caller (Brahmer 2018 Table 2.1 grade 4). true or false. When true, grade is 4 regardless of stool count. magent does not examine the patient.","type":"boolean"},"limiting_self_care":{"description":"Limiting self-care ADL as assigned by the caller (Brahmer 2018 Table 2.1 grade 3). true or false. When true and life_threatening is false, grade is 3. magent does not assess ADL.","type":"boolean"},"stools_over_baseline":{"description":"Increase of stools per day over baseline as assigned by the caller (integer 0-40; Brahmer 2018 Table 2.1 CTCAE diarrhea). Fewer than four is grade 1; four to six is grade 2; seven or more is grade 3 unless life_threatening is true. Ostomy-output increase is not an input. magent does not count stools.","type":"integer"}},"required":["stools_over_baseline","incontinence","hospitalization_indicated","limiting_self_care","life_threatening"],"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":["irae-colitis","gi","immunotherapy","ctcae","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:06:25.004Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:06:24.86Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hospitalization_indicated":false,"incontinence":false,"life_threatening":false,"limiting_self_care":false,"stools_over_baseline":2},{"hospitalization_indicated":false,"incontinence":false,"life_threatening":false,"limiting_self_care":false,"stools_over_baseline":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"life_threatening","met":false},{"factor":"stools_ge_7","met":false,"value":2},{"factor":"incontinence","met":false},{"factor":"hospitalization_indicated","met":false},{"factor":"limiting_self_care","met":false},{"factor":"stools_ge_4","met":false,"value":2}],"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":"irae_colitis","formula_expression":"irae colitis first-match (Brahmer 2018 Table 2.1 CTCAE diarrhea): grade 4 if life_threatening; else grade 3 if stools_over_baseline >= 7 or incontinence or hospitalization_indicated or limiting_self_care; else grade 2 if stools_over_baseline >= 4; else grade 1. icpi_action continue (1), hold (2), hold_consider_discontinue_ctla4 (3), permanently_discontinue (4). Ostomy-output bands not implemented. magent does not count stools. Not a diagnosis. Not a steroid dose","grade":1,"hospitalization_indicated":false,"icpi_action":"continue","incontinence":false,"life_threatening":false,"limiting_self_care":false,"stools_over_baseline":2},{"citation":{"authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA","doi":"10.1200/JCO.2017.77.6385","id":"brahmer-2018","pmid":"29442540","source":"J Clin Oncol. 2018;36(17):1714-1768","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline"},"criteria":[{"factor":"life_threatening","met":false},{"factor":"stools_ge_7","met":false,"value":2},{"factor":"incontinence","met":false},{"factor":"hospitalization_indicated","met":false},{"factor":"limiting_self_care","met":false},{"factor":"stools_ge_4","met":false,"value":2}],"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":"irae_colitis","formula_expression":"irae colitis first-match (Brahmer 2018 Table 2.1 CTCAE diarrhea): grade 4 if life_threatening; else grade 3 if stools_over_baseline >= 7 or incontinence or hospitalization_indicated or limiting_self_care; else grade 2 if stools_over_baseline >= 4; else grade 1. icpi_action continue (1), hold (2), hold_consider_discontinue_ctla4 (3), permanently_discontinue (4). Ostomy-output bands not implemented. magent does not count stools. Not a diagnosis. Not a steroid dose","grade":1,"hospitalization_indicated":false,"icpi_action":"continue","incontinence":false,"life_threatening":false,"limiting_self_care":false,"stools_over_baseline":2}],"path":"/api/calc/irae_colitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hospitalization_indicated":{"description":"Hospitalization indicated as assigned by the caller (Brahmer 2018 Table 2.1 grade 3). true or false. When true and life_threatening is false, grade is 3. magent does not admit the patient.","type":"boolean"},"incontinence":{"description":"Incontinence as assigned by the caller (Brahmer 2018 Table 2.1 grade 3). true or false. When true and life_threatening is false, grade is 3. magent does not examine the patient.","type":"boolean"},"life_threatening":{"description":"Life-threatening consequences with urgent intervention indicated, as assigned by the caller (Brahmer 2018 Table 2.1 grade 4). true or false. When true, grade is 4 regardless of stool count. magent does not examine the patient.","type":"boolean"},"limiting_self_care":{"description":"Limiting self-care ADL as assigned by the caller (Brahmer 2018 Table 2.1 grade 3). true or false. When true and life_threatening is false, grade is 3. magent does not assess ADL.","type":"boolean"},"stools_over_baseline":{"description":"Increase of stools per day over baseline as assigned by the caller (integer 0-40; Brahmer 2018 Table 2.1 CTCAE diarrhea). Fewer than four is grade 1; four to six is grade 2; seven or more is grade 3 unless life_threatening is true. Ostomy-output increase is not an input. magent does not count stools.","type":"integer"}},"required":["stools_over_baseline","incontinence","hospitalization_indicated","limiting_self_care","life_threatening"],"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},{"id":39078,"slug":"39078","resource":"https://api.magentlab.com/api/calc/rems","description":"REMS from Olsson 2004 Table 1: MAP, heart rate, respiratory rate, SpO2, GCS (RAPS 0–4, not 15−GCS), and age summed to a 0–26 total for nonsurgical adult ED in-hospital mortality. Deterministic published arithmetic with citation; not MEWS, NEWS, or APACHE II; not an ICU-admission order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"gcs":15,"heart_rate_bpm":80,"map_mm_hg":90,"respiratory_rate":16,"spo2_percent":96},{"age":40,"gcs":15,"heart_rate_bpm":80,"map_mm_hg":90,"respiratory_rate":16,"spo2_percent":96}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"citation":{"authors":"Olsson T, Terent A, Lind L","doi":"10.1111/j.1365-2796.2004.01321.x","id":"olsson-2004","pmid":"15078500","source":"J Intern Med. 2004;255(5):579-587","title":"Rapid Emergency Medicine score: a new prognostic tool for in-hospital mortality in nonsurgical emergency department patients"},"components":[{"factor":"map_mm_hg","points":0,"present":false,"value":90},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":96},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"age","points":0,"present":false,"value":40}],"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":"rems","formula_expression":"REMS = map_points + hr_points + rr_points + spo2_points + gcs_points + age_points; Olsson 2004 Table 1 (RAPS vitals + SpO2 + age); max 26","gcs":15,"heart_rate_bpm":80,"map_mm_hg":90,"max_score":26,"respiratory_rate":16,"score":0,"spo2_percent":96},{"age":40,"citation":{"authors":"Olsson T, Terent A, Lind L","doi":"10.1111/j.1365-2796.2004.01321.x","id":"olsson-2004","pmid":"15078500","source":"J Intern Med. 2004;255(5):579-587","title":"Rapid Emergency Medicine score: a new prognostic tool for in-hospital mortality in nonsurgical emergency department patients"},"components":[{"factor":"map_mm_hg","points":0,"present":false,"value":90},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":96},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"age","points":0,"present":false,"value":40}],"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":"rems","formula_expression":"REMS = map_points + hr_points + rr_points + spo2_points + gcs_points + age_points; Olsson 2004 Table 1 (RAPS vitals + SpO2 + age); max 26","gcs":15,"heart_rate_bpm":80,"map_mm_hg":90,"max_score":26,"respiratory_rate":16,"score":0,"spo2_percent":96}],"path":"/api/calc/rems"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Adult ED. Olsson 2004 Table 1: <45 → 0, 45-54 → 2, 55-64 → 3, 65-74 → 5, >74 → 6.","type":"integer"},"gcs":{"description":"Glasgow Coma Scale total 3-15, caller-assigned. Olsson 2004 REMS/RAPS 0-4: 14-15 → 0, 11-13 → 1, 8-10 → 2, 5-7 → 3, 3-4 → 4. Not APACHE II 15−GCS. magent does not score eye/verbal/motor.","type":"integer"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Olsson 2004 Table 1: ≤39 → 4, 40-54 → 2, 55-69 → 1, 70-109 → 0, 110-139 → 2, 140-179 → 3, ≥180 → 4.","type":"integer"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (integer 30-180). Olsson 2004 Table 1: ≤49 → 4, 50-69 → 2, 70-109 → 0, 110-129 → 2, 130-159 → 3, ≥160 → 4. magent does not compute MAP from SBP/DBP.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 0-80). Olsson 2004 Table 1: ≤5 → 4, 6-9 → 2, 10-11 → 1, 12-24 → 0, 25-34 → 1, 35-49 → 3, ≥50 → 4.","type":"integer"},"spo2_percent":{"description":"Pulse oximetry SpO2 percent (integer 50-100). Olsson 2004 Table 1: >89 → 0, 86-89 → 1, 75-85 → 3, <75 → 4.","type":"integer"}},"required":["map_mm_hg","heart_rate_bpm","respiratory_rate","spo2_percent","gcs","age"],"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":["rems","emergency","prognosis","vitals","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:01:14.338Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:01:14.105Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"gcs":15,"heart_rate_bpm":80,"map_mm_hg":90,"respiratory_rate":16,"spo2_percent":96},{"age":40,"gcs":15,"heart_rate_bpm":80,"map_mm_hg":90,"respiratory_rate":16,"spo2_percent":96}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"citation":{"authors":"Olsson T, Terent A, Lind L","doi":"10.1111/j.1365-2796.2004.01321.x","id":"olsson-2004","pmid":"15078500","source":"J Intern Med. 2004;255(5):579-587","title":"Rapid Emergency Medicine score: a new prognostic tool for in-hospital mortality in nonsurgical emergency department patients"},"components":[{"factor":"map_mm_hg","points":0,"present":false,"value":90},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":96},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"age","points":0,"present":false,"value":40}],"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":"rems","formula_expression":"REMS = map_points + hr_points + rr_points + spo2_points + gcs_points + age_points; Olsson 2004 Table 1 (RAPS vitals + SpO2 + age); max 26","gcs":15,"heart_rate_bpm":80,"map_mm_hg":90,"max_score":26,"respiratory_rate":16,"score":0,"spo2_percent":96},{"age":40,"citation":{"authors":"Olsson T, Terent A, Lind L","doi":"10.1111/j.1365-2796.2004.01321.x","id":"olsson-2004","pmid":"15078500","source":"J Intern Med. 2004;255(5):579-587","title":"Rapid Emergency Medicine score: a new prognostic tool for in-hospital mortality in nonsurgical emergency department patients"},"components":[{"factor":"map_mm_hg","points":0,"present":false,"value":90},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":96},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"age","points":0,"present":false,"value":40}],"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":"rems","formula_expression":"REMS = map_points + hr_points + rr_points + spo2_points + gcs_points + age_points; Olsson 2004 Table 1 (RAPS vitals + SpO2 + age); max 26","gcs":15,"heart_rate_bpm":80,"map_mm_hg":90,"max_score":26,"respiratory_rate":16,"score":0,"spo2_percent":96}],"path":"/api/calc/rems"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Adult ED. Olsson 2004 Table 1: <45 → 0, 45-54 → 2, 55-64 → 3, 65-74 → 5, >74 → 6.","type":"integer"},"gcs":{"description":"Glasgow Coma Scale total 3-15, caller-assigned. Olsson 2004 REMS/RAPS 0-4: 14-15 → 0, 11-13 → 1, 8-10 → 2, 5-7 → 3, 3-4 → 4. Not APACHE II 15−GCS. magent does not score eye/verbal/motor.","type":"integer"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Olsson 2004 Table 1: ≤39 → 4, 40-54 → 2, 55-69 → 1, 70-109 → 0, 110-139 → 2, 140-179 → 3, ≥180 → 4.","type":"integer"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (integer 30-180). Olsson 2004 Table 1: ≤49 → 4, 50-69 → 2, 70-109 → 0, 110-129 → 2, 130-159 → 3, ≥160 → 4. magent does not compute MAP from SBP/DBP.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 0-80). Olsson 2004 Table 1: ≤5 → 4, 6-9 → 2, 10-11 → 1, 12-24 → 0, 25-34 → 1, 35-49 → 3, ≥50 → 4.","type":"integer"},"spo2_percent":{"description":"Pulse oximetry SpO2 percent (integer 50-100). Olsson 2004 Table 1: >89 → 0, 86-89 → 1, 75-85 → 3, <75 → 4.","type":"integer"}},"required":["map_mm_hg","heart_rate_bpm","respiratory_rate","spo2_percent","gcs","age"],"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},{"id":39079,"slug":"39079","resource":"https://api.magentlab.com/api/calc/pts","description":"Pediatric Trauma Score from Tepas 1987: six caller-assigned items (weight, airway, systolic BP, CNS, skeletal, wound), each +2 / +1 / −1, total −6 to +12 (higher is better). Returns score_le_8 because scores ≤8 were associated with significant mortality and trauma-center care. Deterministic published arithmetic with citation; not ISS or RTS; not a triage order. magent does not examine the child.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"airway":"normal","cns":"awake","skeletal":"none","systolic_mm_hg":100,"weight_kg":25,"weight_lb":55.1156,"wound":"none"},{"airway":"normal","cns":"awake","skeletal":"none","systolic_mm_hg":100,"weight_kg":25,"weight_lb":55.1156,"wound":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"airway":"normal","citation":{"authors":"Tepas JJ, Mollitt DL, Talbert JL, Bryant M","doi":"10.1016/s0022-3468(87)80006-4","id":"tepas-1987","pmid":"3102714","source":"J Pediatr Surg. 1987;22(1):14-18","title":"The pediatric trauma score as a predictor of injury severity in the injured child"},"cns":"awake","components":[{"factor":"weight_kg","points":2,"present":true,"value":25},{"factor":"airway","points":2,"present":true,"value":"normal"},{"factor":"systolic_mm_hg","points":2,"present":true,"value":100},{"factor":"cns","points":2,"present":true,"value":"awake"},{"factor":"skeletal","points":2,"present":true,"value":"none"},{"factor":"wound","points":2,"present":true,"value":"none"}],"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":"pts","formula_expression":"PTS = weight_points + airway_points + sbp_points + cns_points + skeletal_points + wound_points; Tepas 1987; each +2/+1/−1; total −6 to +12","max_score":12,"min_score":-6,"score":12,"score_le_8":false,"skeletal":"none","systolic_mm_hg":100,"weight_kg":25,"wound":"none"},{"airway":"normal","citation":{"authors":"Tepas JJ, Mollitt DL, Talbert JL, Bryant M","doi":"10.1016/s0022-3468(87)80006-4","id":"tepas-1987","pmid":"3102714","source":"J Pediatr Surg. 1987;22(1):14-18","title":"The pediatric trauma score as a predictor of injury severity in the injured child"},"cns":"awake","components":[{"factor":"weight_kg","points":2,"present":true,"value":25},{"factor":"airway","points":2,"present":true,"value":"normal"},{"factor":"systolic_mm_hg","points":2,"present":true,"value":100},{"factor":"cns","points":2,"present":true,"value":"awake"},{"factor":"skeletal","points":2,"present":true,"value":"none"},{"factor":"wound","points":2,"present":true,"value":"none"}],"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":"pts","formula_expression":"PTS = weight_points + airway_points + sbp_points + cns_points + skeletal_points + wound_points; Tepas 1987; each +2/+1/−1; total −6 to +12","max_score":12,"min_score":-6,"score":12,"score_le_8":false,"skeletal":"none","systolic_mm_hg":100,"weight_kg":25,"wound":"none"}],"path":"/api/calc/pts"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"airway":{"description":"Caller-assigned airway (normal, maintainable, or unmaintainable). Tepas 1987: normal → +2, maintainable → +1, unmaintainable → −1. magent does not examine the airway.","enum":["normal","maintainable","unmaintainable"],"type":"string"},"cns":{"description":"Caller-assigned CNS (awake, obtunded, or coma). Tepas 1987: awake → +2, obtunded → +1, coma → −1. magent does not examine the child.","enum":["awake","obtunded","coma"],"type":"string"},"skeletal":{"description":"Caller-assigned skeletal injury (none, closed, or open_or_multiple). Tepas 1987: none → +2, closed → +1, open_or_multiple → −1. magent does not assign fractures.","enum":["none","closed","open_or_multiple"],"type":"string"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (integer 0-300). Tepas 1987: >90 → +2; 50-90 inclusive → +1; <50 → −1. 0 is a published −1 band.","type":"integer"},"weight_kg":{"description":"Weight in kilograms (1-500), the Tepas 1987 size item. Provide weight_kg or weight_lb. >20 → +2; 10-20 inclusive → +1; <10 → −1.","type":"number"},"weight_lb":{"description":"Weight in pounds (2-1100). Converted as kg = lb * 0.45359237.","type":"number"},"wound":{"description":"Caller-assigned cutaneous wound (none, minor, or major). Tepas 1987: none → +2, minor → +1, major → −1. magent does not inspect wounds.","enum":["none","minor","major"],"type":"string"}},"required":["airway","systolic_mm_hg","cns","skeletal","wound"],"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":["pts","pediatric-trauma","trauma","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T07:01:13.407Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T07:01:13.288Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"airway":"normal","cns":"awake","skeletal":"none","systolic_mm_hg":100,"weight_kg":25,"weight_lb":55.1156,"wound":"none"},{"airway":"normal","cns":"awake","skeletal":"none","systolic_mm_hg":100,"weight_kg":25,"weight_lb":55.1156,"wound":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"airway":"normal","citation":{"authors":"Tepas JJ, Mollitt DL, Talbert JL, Bryant M","doi":"10.1016/s0022-3468(87)80006-4","id":"tepas-1987","pmid":"3102714","source":"J Pediatr Surg. 1987;22(1):14-18","title":"The pediatric trauma score as a predictor of injury severity in the injured child"},"cns":"awake","components":[{"factor":"weight_kg","points":2,"present":true,"value":25},{"factor":"airway","points":2,"present":true,"value":"normal"},{"factor":"systolic_mm_hg","points":2,"present":true,"value":100},{"factor":"cns","points":2,"present":true,"value":"awake"},{"factor":"skeletal","points":2,"present":true,"value":"none"},{"factor":"wound","points":2,"present":true,"value":"none"}],"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":"pts","formula_expression":"PTS = weight_points + airway_points + sbp_points + cns_points + skeletal_points + wound_points; Tepas 1987; each +2/+1/−1; total −6 to +12","max_score":12,"min_score":-6,"score":12,"score_le_8":false,"skeletal":"none","systolic_mm_hg":100,"weight_kg":25,"wound":"none"},{"airway":"normal","citation":{"authors":"Tepas JJ, Mollitt DL, Talbert JL, Bryant M","doi":"10.1016/s0022-3468(87)80006-4","id":"tepas-1987","pmid":"3102714","source":"J Pediatr Surg. 1987;22(1):14-18","title":"The pediatric trauma score as a predictor of injury severity in the injured child"},"cns":"awake","components":[{"factor":"weight_kg","points":2,"present":true,"value":25},{"factor":"airway","points":2,"present":true,"value":"normal"},{"factor":"systolic_mm_hg","points":2,"present":true,"value":100},{"factor":"cns","points":2,"present":true,"value":"awake"},{"factor":"skeletal","points":2,"present":true,"value":"none"},{"factor":"wound","points":2,"present":true,"value":"none"}],"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":"pts","formula_expression":"PTS = weight_points + airway_points + sbp_points + cns_points + skeletal_points + wound_points; Tepas 1987; each +2/+1/−1; total −6 to +12","max_score":12,"min_score":-6,"score":12,"score_le_8":false,"skeletal":"none","systolic_mm_hg":100,"weight_kg":25,"wound":"none"}],"path":"/api/calc/pts"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"airway":{"description":"Caller-assigned airway (normal, maintainable, or unmaintainable). Tepas 1987: normal → +2, maintainable → +1, unmaintainable → −1. magent does not examine the airway.","enum":["normal","maintainable","unmaintainable"],"type":"string"},"cns":{"description":"Caller-assigned CNS (awake, obtunded, or coma). Tepas 1987: awake → +2, obtunded → +1, coma → −1. magent does not examine the child.","enum":["awake","obtunded","coma"],"type":"string"},"skeletal":{"description":"Caller-assigned skeletal injury (none, closed, or open_or_multiple). Tepas 1987: none → +2, closed → +1, open_or_multiple → −1. magent does not assign fractures.","enum":["none","closed","open_or_multiple"],"type":"string"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (integer 0-300). Tepas 1987: >90 → +2; 50-90 inclusive → +1; <50 → −1. 0 is a published −1 band.","type":"integer"},"weight_kg":{"description":"Weight in kilograms (1-500), the Tepas 1987 size item. Provide weight_kg or weight_lb. >20 → +2; 10-20 inclusive → +1; <10 → −1.","type":"number"},"weight_lb":{"description":"Weight in pounds (2-1100). Converted as kg = lb * 0.45359237.","type":"number"},"wound":{"description":"Caller-assigned cutaneous wound (none, minor, or major). Tepas 1987: none → +2, minor → +1, major → −1. magent does not inspect wounds.","enum":["none","minor","major"],"type":"string"}},"required":["airway","systolic_mm_hg","cns","skeletal","wound"],"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},{"id":39080,"slug":"39080","resource":"https://api.magentlab.com/api/calc/pons","description":"Wischmeyer 2018 PONS: four caller-assigned yes/no flags (BMI <18.5 kg/m² if age ≤65 or <20 if age >65; weight loss >10% in 6 months; oral intake reduced >50% in the past week; preoperative albumin <3.0 g/dL), 1 point each, max 4. high_risk true iff score ≥1. Not a medical device, diet order, or malnutrition diagnosis. magent does not weigh the patient, compute BMI, or assay albumin. Not NRS-2002, NUTRIC, or MUST.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_lt_3_g_dl":false,"bmi_low":false,"oral_intake_reduced_gt_50pct_week":false,"weight_loss_gt_10pct_6mo":false},{"albumin_lt_3_g_dl":false,"bmi_low":false,"oral_intake_reduced_gt_50pct_week":false,"weight_loss_gt_10pct_6mo":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wischmeyer PE, Carli F, Evans DC, et al.","doi":"10.1213/ANE.0000000000002743","id":"wischmeyer-2018","pmid":"29369092","source":"Anesth Analg. 2018;126(6):1883-1895","title":"American Society for Enhanced Recovery and Perioperative Quality Initiative Joint Consensus Statement on Nutrition Screening and Therapy Within a Surgical Enhanced Recovery Pathway"},"components":[{"factor":"bmi_low","points":0,"present":false},{"factor":"weight_loss_gt_10pct_6mo","points":0,"present":false},{"factor":"oral_intake_reduced_gt_50pct_week","points":0,"present":false},{"factor":"albumin_lt_3_g_dl","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":"pons","formula_expression":"PONS = bmi_low + weight_loss_gt_10pct_6mo + oral_intake_reduced_gt_50pct_week + albumin_lt_3_g_dl; each 1 if true; max 4; high_risk iff score ≥ 1","high_risk":false,"max_score":4,"score":0},{"citation":{"authors":"Wischmeyer PE, Carli F, Evans DC, et al.","doi":"10.1213/ANE.0000000000002743","id":"wischmeyer-2018","pmid":"29369092","source":"Anesth Analg. 2018;126(6):1883-1895","title":"American Society for Enhanced Recovery and Perioperative Quality Initiative Joint Consensus Statement on Nutrition Screening and Therapy Within a Surgical Enhanced Recovery Pathway"},"components":[{"factor":"bmi_low","points":0,"present":false},{"factor":"weight_loss_gt_10pct_6mo","points":0,"present":false},{"factor":"oral_intake_reduced_gt_50pct_week","points":0,"present":false},{"factor":"albumin_lt_3_g_dl","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":"pons","formula_expression":"PONS = bmi_low + weight_loss_gt_10pct_6mo + oral_intake_reduced_gt_50pct_week + albumin_lt_3_g_dl; each 1 if true; max 4; high_risk iff score ≥ 1","high_risk":false,"max_score":4,"score":0}],"path":"/api/calc/pons"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_lt_3_g_dl":{"description":"Caller-assigned Wischmeyer 2018 PONS flag: preoperative serum albumin <3.0 g/dL (not 3 g/L). true or false. magent does not assay albumin.","type":"boolean"},"bmi_low":{"description":"Caller-assigned Wischmeyer 2018 PONS low-BMI flag: BMI <18.5 kg/m² if age ≤65, or BMI <20 kg/m² if age >65. true or false. magent does not take age, weigh the patient, or compute BMI.","type":"boolean"},"oral_intake_reduced_gt_50pct_week":{"description":"Caller-assigned Wischmeyer 2018 PONS flag: reduced oral intake by >50% in the past week. true or false. magent does not measure intake.","type":"boolean"},"weight_loss_gt_10pct_6mo":{"description":"Caller-assigned Wischmeyer 2018 PONS flag: weight loss >10% in the past 6 months. true or false. magent does not weigh the patient.","type":"boolean"}},"required":["bmi_low","weight_loss_gt_10pct_6mo","oral_intake_reduced_gt_50pct_week","albumin_lt_3_g_dl"],"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":["pons","nutrition","preoperative","screening","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:56:32.332Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:56:32.19Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_lt_3_g_dl":false,"bmi_low":false,"oral_intake_reduced_gt_50pct_week":false,"weight_loss_gt_10pct_6mo":false},{"albumin_lt_3_g_dl":false,"bmi_low":false,"oral_intake_reduced_gt_50pct_week":false,"weight_loss_gt_10pct_6mo":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wischmeyer PE, Carli F, Evans DC, et al.","doi":"10.1213/ANE.0000000000002743","id":"wischmeyer-2018","pmid":"29369092","source":"Anesth Analg. 2018;126(6):1883-1895","title":"American Society for Enhanced Recovery and Perioperative Quality Initiative Joint Consensus Statement on Nutrition Screening and Therapy Within a Surgical Enhanced Recovery Pathway"},"components":[{"factor":"bmi_low","points":0,"present":false},{"factor":"weight_loss_gt_10pct_6mo","points":0,"present":false},{"factor":"oral_intake_reduced_gt_50pct_week","points":0,"present":false},{"factor":"albumin_lt_3_g_dl","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":"pons","formula_expression":"PONS = bmi_low + weight_loss_gt_10pct_6mo + oral_intake_reduced_gt_50pct_week + albumin_lt_3_g_dl; each 1 if true; max 4; high_risk iff score ≥ 1","high_risk":false,"max_score":4,"score":0},{"citation":{"authors":"Wischmeyer PE, Carli F, Evans DC, et al.","doi":"10.1213/ANE.0000000000002743","id":"wischmeyer-2018","pmid":"29369092","source":"Anesth Analg. 2018;126(6):1883-1895","title":"American Society for Enhanced Recovery and Perioperative Quality Initiative Joint Consensus Statement on Nutrition Screening and Therapy Within a Surgical Enhanced Recovery Pathway"},"components":[{"factor":"bmi_low","points":0,"present":false},{"factor":"weight_loss_gt_10pct_6mo","points":0,"present":false},{"factor":"oral_intake_reduced_gt_50pct_week","points":0,"present":false},{"factor":"albumin_lt_3_g_dl","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":"pons","formula_expression":"PONS = bmi_low + weight_loss_gt_10pct_6mo + oral_intake_reduced_gt_50pct_week + albumin_lt_3_g_dl; each 1 if true; max 4; high_risk iff score ≥ 1","high_risk":false,"max_score":4,"score":0}],"path":"/api/calc/pons"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_lt_3_g_dl":{"description":"Caller-assigned Wischmeyer 2018 PONS flag: preoperative serum albumin <3.0 g/dL (not 3 g/L). true or false. magent does not assay albumin.","type":"boolean"},"bmi_low":{"description":"Caller-assigned Wischmeyer 2018 PONS low-BMI flag: BMI <18.5 kg/m² if age ≤65, or BMI <20 kg/m² if age >65. true or false. magent does not take age, weigh the patient, or compute BMI.","type":"boolean"},"oral_intake_reduced_gt_50pct_week":{"description":"Caller-assigned Wischmeyer 2018 PONS flag: reduced oral intake by >50% in the past week. true or false. magent does not measure intake.","type":"boolean"},"weight_loss_gt_10pct_6mo":{"description":"Caller-assigned Wischmeyer 2018 PONS flag: weight loss >10% in the past 6 months. true or false. magent does not weigh the patient.","type":"boolean"}},"required":["bmi_low","weight_loss_gt_10pct_6mo","oral_intake_reduced_gt_50pct_week","albumin_lt_3_g_dl"],"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},{"id":39081,"slug":"39081","resource":"https://api.magentlab.com/api/calc/perc","description":"Eight-factor pulmonary embolism rule-out criteria (Kline 2004). PERC-negative only when all eight hold: age <50, pulse <100, SaO2 >94%, and no unilateral leg swelling, hemoptysis, recent trauma or surgery, prior PE or DVT, or hormone use. Caller must already have low pretest probability as in the paper. Not a diagnosis, not a D-dimer protocol, and not altitude-adjusted PERC.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"estrogen_use":false,"heart_rate_bpm":80,"hemoptysis":false,"prior_vte":false,"recent_surgery_or_trauma":false,"spo2_percent":98,"unilateral_leg_swelling":false},{"age":40,"estrogen_use":false,"heart_rate_bpm":80,"hemoptysis":false,"prior_vte":false,"recent_surgery_or_trauma":false,"spo2_percent":98,"unilateral_leg_swelling":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kline JA, Mitchell AM, Kabrhel C, Richman PB, Courtney DM","doi":"10.1111/j.1538-7836.2004.00790.x","id":"kline-2004","source":"J Thromb Haemost. 2004;2(8):1247-1255","title":"Clinical criteria to prevent unnecessary diagnostic testing in emergency department patients with suspected pulmonary embolism"},"criteria":[{"factor":"age_lt_50","met":true,"value":40},{"factor":"pulse_lt_100","met":true,"value":80},{"factor":"sao2_gt_94","met":true,"value":98},{"factor":"no_unilateral_leg_swelling","met":true},{"factor":"no_hemoptysis","met":true},{"factor":"no_recent_surgery_or_trauma","met":true},{"factor":"no_prior_vte","met":true},{"factor":"no_estrogen_use","met":true}],"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":"perc","formula_expression":"PERC-negative iff age < 50 and pulse < 100 bpm and SaO2 > 94% and no unilateral leg swelling and no hemoptysis and no recent trauma or surgery and no prior PE or DVT and no hormone use","perc_negative":true},{"citation":{"authors":"Kline JA, Mitchell AM, Kabrhel C, Richman PB, Courtney DM","doi":"10.1111/j.1538-7836.2004.00790.x","id":"kline-2004","source":"J Thromb Haemost. 2004;2(8):1247-1255","title":"Clinical criteria to prevent unnecessary diagnostic testing in emergency department patients with suspected pulmonary embolism"},"criteria":[{"factor":"age_lt_50","met":true,"value":40},{"factor":"pulse_lt_100","met":true,"value":80},{"factor":"sao2_gt_94","met":true,"value":98},{"factor":"no_unilateral_leg_swelling","met":true},{"factor":"no_hemoptysis","met":true},{"factor":"no_recent_surgery_or_trauma","met":true},{"factor":"no_prior_vte","met":true},{"factor":"no_estrogen_use","met":true}],"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":"perc","formula_expression":"PERC-negative iff age < 50 and pulse < 100 bpm and SaO2 > 94% and no unilateral leg swelling and no hemoptysis and no recent trauma or surgery and no prior PE or DVT and no hormone use","perc_negative":true}],"path":"/api/calc/perc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Criterion met when age < 50; 50 does not meet.","type":"integer"},"estrogen_use":{"description":"Hormone or exogenous estrogen use. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"heart_rate_bpm":{"description":"Pulse in beats per minute (integer 30-220). Criterion met when pulse < 100; 100 does not meet.","type":"integer"},"hemoptysis":{"description":"Hemoptysis. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"prior_vte":{"description":"Prior PE or DVT. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"recent_surgery_or_trauma":{"description":"Recent trauma or surgery. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Criterion met when SaO2 > 94; 94 does not meet.","type":"number"},"unilateral_leg_swelling":{"description":"Unilateral leg swelling. true or false as assigned by the caller. Criterion met when false.","type":"boolean"}},"required":["age","heart_rate_bpm","spo2_percent","unilateral_leg_swelling","hemoptysis","recent_surgery_or_trauma","prior_vte","estrogen_use"],"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":["perc","pe","vte","rule-out","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:56:30.879Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:56:30.74Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"estrogen_use":false,"heart_rate_bpm":80,"hemoptysis":false,"prior_vte":false,"recent_surgery_or_trauma":false,"spo2_percent":98,"unilateral_leg_swelling":false},{"age":40,"estrogen_use":false,"heart_rate_bpm":80,"hemoptysis":false,"prior_vte":false,"recent_surgery_or_trauma":false,"spo2_percent":98,"unilateral_leg_swelling":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kline JA, Mitchell AM, Kabrhel C, Richman PB, Courtney DM","doi":"10.1111/j.1538-7836.2004.00790.x","id":"kline-2004","source":"J Thromb Haemost. 2004;2(8):1247-1255","title":"Clinical criteria to prevent unnecessary diagnostic testing in emergency department patients with suspected pulmonary embolism"},"criteria":[{"factor":"age_lt_50","met":true,"value":40},{"factor":"pulse_lt_100","met":true,"value":80},{"factor":"sao2_gt_94","met":true,"value":98},{"factor":"no_unilateral_leg_swelling","met":true},{"factor":"no_hemoptysis","met":true},{"factor":"no_recent_surgery_or_trauma","met":true},{"factor":"no_prior_vte","met":true},{"factor":"no_estrogen_use","met":true}],"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":"perc","formula_expression":"PERC-negative iff age < 50 and pulse < 100 bpm and SaO2 > 94% and no unilateral leg swelling and no hemoptysis and no recent trauma or surgery and no prior PE or DVT and no hormone use","perc_negative":true},{"citation":{"authors":"Kline JA, Mitchell AM, Kabrhel C, Richman PB, Courtney DM","doi":"10.1111/j.1538-7836.2004.00790.x","id":"kline-2004","source":"J Thromb Haemost. 2004;2(8):1247-1255","title":"Clinical criteria to prevent unnecessary diagnostic testing in emergency department patients with suspected pulmonary embolism"},"criteria":[{"factor":"age_lt_50","met":true,"value":40},{"factor":"pulse_lt_100","met":true,"value":80},{"factor":"sao2_gt_94","met":true,"value":98},{"factor":"no_unilateral_leg_swelling","met":true},{"factor":"no_hemoptysis","met":true},{"factor":"no_recent_surgery_or_trauma","met":true},{"factor":"no_prior_vte","met":true},{"factor":"no_estrogen_use","met":true}],"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":"perc","formula_expression":"PERC-negative iff age < 50 and pulse < 100 bpm and SaO2 > 94% and no unilateral leg swelling and no hemoptysis and no recent trauma or surgery and no prior PE or DVT and no hormone use","perc_negative":true}],"path":"/api/calc/perc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Criterion met when age < 50; 50 does not meet.","type":"integer"},"estrogen_use":{"description":"Hormone or exogenous estrogen use. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"heart_rate_bpm":{"description":"Pulse in beats per minute (integer 30-220). Criterion met when pulse < 100; 100 does not meet.","type":"integer"},"hemoptysis":{"description":"Hemoptysis. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"prior_vte":{"description":"Prior PE or DVT. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"recent_surgery_or_trauma":{"description":"Recent trauma or surgery. true or false as assigned by the caller. Criterion met when false.","type":"boolean"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Criterion met when SaO2 > 94; 94 does not meet.","type":"number"},"unilateral_leg_swelling":{"description":"Unilateral leg swelling. true or false as assigned by the caller. Criterion met when false.","type":"boolean"}},"required":["age","heart_rate_bpm","spo2_percent","unilateral_leg_swelling","hemoptysis","recent_surgery_or_trauma","prior_vte","estrogen_use"],"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},{"id":39082,"slug":"39082","resource":"https://api.magentlab.com/api/calc/pen_fast","description":"Trubiano 2020 PEN-FAST for patients who already report a penicillin allergy. Three caller-assigned flags: allergy event 5 or fewer years ago (2), anaphylaxis/angioedema or potential SCAR as one criterion (2), treatment required (1). Max 5. Risk: 0 very_low, 1–2 low, 3 moderate, 4–5 high. low_risk_for_testing iff score < 3. Not an allergy diagnosis or delabeling order. magent does not take an allergy history.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anaphylaxis_angioedema_or_scar":false,"five_or_fewer_years_ago":false,"treatment_required":false},{"anaphylaxis_angioedema_or_scar":false,"five_or_fewer_years_ago":false,"treatment_required":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Trubiano JA, Vogrin S, Chua KYL, et al.","doi":"10.1001/jamainternmed.2020.0403","id":"trubiano-2020","pmid":"32176248","source":"JAMA Intern Med. 2020;180(5):745-752","title":"Development and Validation of a Penicillin Allergy Clinical Decision Rule"},"components":[{"factor":"five_or_fewer_years_ago","points":0,"present":false},{"factor":"anaphylaxis_angioedema_or_scar","points":0,"present":false},{"factor":"treatment_required","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":"pen_fast","formula_expression":"PEN-FAST = five_or_fewer_years_ago (true 2) + anaphylaxis_angioedema_or_scar (true 2) + treatment_required (true 1); Trubiano 2020; max 5; 0 very_low, 1-2 low, 3 moderate, 4-5 high; low_risk_for_testing iff score < 3","low_risk_for_testing":true,"max_score":5,"risk":"very_low","score":0},{"citation":{"authors":"Trubiano JA, Vogrin S, Chua KYL, et al.","doi":"10.1001/jamainternmed.2020.0403","id":"trubiano-2020","pmid":"32176248","source":"JAMA Intern Med. 2020;180(5):745-752","title":"Development and Validation of a Penicillin Allergy Clinical Decision Rule"},"components":[{"factor":"five_or_fewer_years_ago","points":0,"present":false},{"factor":"anaphylaxis_angioedema_or_scar","points":0,"present":false},{"factor":"treatment_required","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":"pen_fast","formula_expression":"PEN-FAST = five_or_fewer_years_ago (true 2) + anaphylaxis_angioedema_or_scar (true 2) + treatment_required (true 1); Trubiano 2020; max 5; 0 very_low, 1-2 low, 3 moderate, 4-5 high; low_risk_for_testing iff score < 3","low_risk_for_testing":true,"max_score":5,"risk":"very_low","score":0}],"path":"/api/calc/pen_fast"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anaphylaxis_angioedema_or_scar":{"description":"Anaphylaxis/angioedema or potential SCAR as one 2-point criterion (Trubiano 2020). true scores 2; do not add both phenotypes separately. magent does not take an allergy history.","type":"boolean"},"five_or_fewer_years_ago":{"description":"Allergy event 5 or fewer years ago as assigned by the caller (Trubiano 2020). true scores 2. magent does not take an allergy history.","type":"boolean"},"treatment_required":{"description":"Treatment required for the allergy episode as assigned by the caller (Trubiano 2020). true scores 1. magent does not take an allergy history.","type":"boolean"}},"required":["five_or_fewer_years_ago","anaphylaxis_angioedema_or_scar","treatment_required"],"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":["pen-fast","penicillin-allergy","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:56:29.409Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:56:29.174Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anaphylaxis_angioedema_or_scar":false,"five_or_fewer_years_ago":false,"treatment_required":false},{"anaphylaxis_angioedema_or_scar":false,"five_or_fewer_years_ago":false,"treatment_required":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Trubiano JA, Vogrin S, Chua KYL, et al.","doi":"10.1001/jamainternmed.2020.0403","id":"trubiano-2020","pmid":"32176248","source":"JAMA Intern Med. 2020;180(5):745-752","title":"Development and Validation of a Penicillin Allergy Clinical Decision Rule"},"components":[{"factor":"five_or_fewer_years_ago","points":0,"present":false},{"factor":"anaphylaxis_angioedema_or_scar","points":0,"present":false},{"factor":"treatment_required","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":"pen_fast","formula_expression":"PEN-FAST = five_or_fewer_years_ago (true 2) + anaphylaxis_angioedema_or_scar (true 2) + treatment_required (true 1); Trubiano 2020; max 5; 0 very_low, 1-2 low, 3 moderate, 4-5 high; low_risk_for_testing iff score < 3","low_risk_for_testing":true,"max_score":5,"risk":"very_low","score":0},{"citation":{"authors":"Trubiano JA, Vogrin S, Chua KYL, et al.","doi":"10.1001/jamainternmed.2020.0403","id":"trubiano-2020","pmid":"32176248","source":"JAMA Intern Med. 2020;180(5):745-752","title":"Development and Validation of a Penicillin Allergy Clinical Decision Rule"},"components":[{"factor":"five_or_fewer_years_ago","points":0,"present":false},{"factor":"anaphylaxis_angioedema_or_scar","points":0,"present":false},{"factor":"treatment_required","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":"pen_fast","formula_expression":"PEN-FAST = five_or_fewer_years_ago (true 2) + anaphylaxis_angioedema_or_scar (true 2) + treatment_required (true 1); Trubiano 2020; max 5; 0 very_low, 1-2 low, 3 moderate, 4-5 high; low_risk_for_testing iff score < 3","low_risk_for_testing":true,"max_score":5,"risk":"very_low","score":0}],"path":"/api/calc/pen_fast"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anaphylaxis_angioedema_or_scar":{"description":"Anaphylaxis/angioedema or potential SCAR as one 2-point criterion (Trubiano 2020). true scores 2; do not add both phenotypes separately. magent does not take an allergy history.","type":"boolean"},"five_or_fewer_years_ago":{"description":"Allergy event 5 or fewer years ago as assigned by the caller (Trubiano 2020). true scores 2. magent does not take an allergy history.","type":"boolean"},"treatment_required":{"description":"Treatment required for the allergy episode as assigned by the caller (Trubiano 2020). true scores 1. magent does not take an allergy history.","type":"boolean"}},"required":["five_or_fewer_years_ago","anaphylaxis_angioedema_or_scar","treatment_required"],"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},{"id":39083,"slug":"39083","resource":"https://api.magentlab.com/api/calc/peg","description":"Krebs 2009 PEG from three caller-assigned integers 0-10 (pain_average, enjoyment_of_life, general_activity). Unweighted mean (range 0-10, one decimal). magent does not interview the patient. Krebs 2009 published no diagnostic cutoff; magent does not invent mild, moderate, or severe bands. Not a pain diagnosis, opioid order, or the full Brief Pain Inventory.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"enjoyment_of_life":0,"general_activity":0,"pain_average":0},{"enjoyment_of_life":0,"general_activity":0,"pain_average":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Krebs EE, Lorenz KA, Bair MJ, Damush TM, Wu J, Sutherland JM, Asch SM, Kroenke K","doi":"10.1007/s11606-009-0981-1","id":"krebs-2009","pmid":"19418100","source":"J Gen Intern Med. 2009;24(6):733-738","title":"Development and initial validation of the PEG, a three-item scale assessing pain intensity and interference"},"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.","enjoyment_of_life":0,"formula":"peg","formula_expression":"PEG = (pain_average + enjoyment_of_life + general_activity) / 3; each caller-assigned 0-10; Krebs 2009; potential range 0-10","general_activity":0,"max_score":10,"pain_average":0,"score":0},{"citation":{"authors":"Krebs EE, Lorenz KA, Bair MJ, Damush TM, Wu J, Sutherland JM, Asch SM, Kroenke K","doi":"10.1007/s11606-009-0981-1","id":"krebs-2009","pmid":"19418100","source":"J Gen Intern Med. 2009;24(6):733-738","title":"Development and initial validation of the PEG, a three-item scale assessing pain intensity and interference"},"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.","enjoyment_of_life":0,"formula":"peg","formula_expression":"PEG = (pain_average + enjoyment_of_life + general_activity) / 3; each caller-assigned 0-10; Krebs 2009; potential range 0-10","general_activity":0,"max_score":10,"pain_average":0,"score":0}],"path":"/api/calc/peg"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"enjoyment_of_life":{"description":"Caller-assigned Krebs 2009 PEG interference with enjoyment of life in the past week (integer 0-10). 0 = does not interfere, 10 = completely interferes. magent does not interview the patient.","type":"integer"},"general_activity":{"description":"Caller-assigned Krebs 2009 PEG interference with general activity in the past week (integer 0-10). 0 = does not interfere, 10 = completely interferes. magent does not interview the patient.","type":"integer"},"pain_average":{"description":"Caller-assigned Krebs 2009 PEG item (integer 0-10): \"What number best describes your pain on average in the past week?\" 0 = no pain, 10 = pain as bad as you can imagine. magent does not interview the patient.","type":"integer"}},"required":["pain_average","enjoyment_of_life","general_activity"],"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":["peg","pain","interference","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:51:29.374Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:51:29.251Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"enjoyment_of_life":0,"general_activity":0,"pain_average":0},{"enjoyment_of_life":0,"general_activity":0,"pain_average":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Krebs EE, Lorenz KA, Bair MJ, Damush TM, Wu J, Sutherland JM, Asch SM, Kroenke K","doi":"10.1007/s11606-009-0981-1","id":"krebs-2009","pmid":"19418100","source":"J Gen Intern Med. 2009;24(6):733-738","title":"Development and initial validation of the PEG, a three-item scale assessing pain intensity and interference"},"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.","enjoyment_of_life":0,"formula":"peg","formula_expression":"PEG = (pain_average + enjoyment_of_life + general_activity) / 3; each caller-assigned 0-10; Krebs 2009; potential range 0-10","general_activity":0,"max_score":10,"pain_average":0,"score":0},{"citation":{"authors":"Krebs EE, Lorenz KA, Bair MJ, Damush TM, Wu J, Sutherland JM, Asch SM, Kroenke K","doi":"10.1007/s11606-009-0981-1","id":"krebs-2009","pmid":"19418100","source":"J Gen Intern Med. 2009;24(6):733-738","title":"Development and initial validation of the PEG, a three-item scale assessing pain intensity and interference"},"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.","enjoyment_of_life":0,"formula":"peg","formula_expression":"PEG = (pain_average + enjoyment_of_life + general_activity) / 3; each caller-assigned 0-10; Krebs 2009; potential range 0-10","general_activity":0,"max_score":10,"pain_average":0,"score":0}],"path":"/api/calc/peg"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"enjoyment_of_life":{"description":"Caller-assigned Krebs 2009 PEG interference with enjoyment of life in the past week (integer 0-10). 0 = does not interfere, 10 = completely interferes. magent does not interview the patient.","type":"integer"},"general_activity":{"description":"Caller-assigned Krebs 2009 PEG interference with general activity in the past week (integer 0-10). 0 = does not interfere, 10 = completely interferes. magent does not interview the patient.","type":"integer"},"pain_average":{"description":"Caller-assigned Krebs 2009 PEG item (integer 0-10): \"What number best describes your pain on average in the past week?\" 0 = no pain, 10 = pain as bad as you can imagine. magent does not interview the patient.","type":"integer"}},"required":["pain_average","enjoyment_of_life","general_activity"],"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},{"id":39084,"slug":"39084","resource":"https://api.magentlab.com/api/calc/pediatric_asthma_score","description":"Qureshi 1998 pediatric asthma score: five caller-assigned 1-3 domains — respiratory_rate (Table 1 age-banded ordinal, not raw breaths/min), oxygen_saturation, auscultation, retractions, and dyspnea. magent sums only (5-15) and returns Table 1 asthma_band mild 5-7, moderate 8-11, or severe 12-15. magent does not count breaths, measure SpO2, auscultate, or grade work of breathing. Not a diagnosis or treatment order. Not PRAM. Not Liu 2004. Not Westley croup.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"auscultation":1,"dyspnea":1,"oxygen_saturation":1,"respiratory_rate":1,"retractions":1},{"auscultation":1,"dyspnea":1,"oxygen_saturation":1,"respiratory_rate":1,"retractions":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"asthma_band":"mild","auscultation":1,"citation":{"authors":"Qureshi F, Pestian J, Davis P, Zaritsky A","doi":"10.1056/NEJM199810083391503","id":"qureshi-1998","source":"N Engl J Med. 1998;339(15):1030-1035","title":"Effect of nebulized ipratropium on the hospitalization rates of children with asthma"},"components":[{"factor":"respiratory_rate","points":1,"present":true,"value":1},{"factor":"oxygen_saturation","points":1,"present":true,"value":1},{"factor":"auscultation","points":1,"present":true,"value":1},{"factor":"retractions","points":1,"present":true,"value":1},{"factor":"dyspnea","points":1,"present":true,"value":1}],"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.","dyspnea":1,"formula":"pediatric_asthma_score","formula_expression":"Qureshi 1998 = respiratory_rate + oxygen_saturation + auscultation + retractions + dyspnea; each caller-assigned Table 1 integer 1-3; max 15; asthma_band mild 5-7, moderate 8-11, severe 12-15","max_score":15,"oxygen_saturation":1,"respiratory_rate":1,"retractions":1,"score":5},{"asthma_band":"mild","auscultation":1,"citation":{"authors":"Qureshi F, Pestian J, Davis P, Zaritsky A","doi":"10.1056/NEJM199810083391503","id":"qureshi-1998","source":"N Engl J Med. 1998;339(15):1030-1035","title":"Effect of nebulized ipratropium on the hospitalization rates of children with asthma"},"components":[{"factor":"respiratory_rate","points":1,"present":true,"value":1},{"factor":"oxygen_saturation","points":1,"present":true,"value":1},{"factor":"auscultation","points":1,"present":true,"value":1},{"factor":"retractions","points":1,"present":true,"value":1},{"factor":"dyspnea","points":1,"present":true,"value":1}],"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.","dyspnea":1,"formula":"pediatric_asthma_score","formula_expression":"Qureshi 1998 = respiratory_rate + oxygen_saturation + auscultation + retractions + dyspnea; each caller-assigned Table 1 integer 1-3; max 15; asthma_band mild 5-7, moderate 8-11, severe 12-15","max_score":15,"oxygen_saturation":1,"respiratory_rate":1,"retractions":1,"score":5}],"path":"/api/calc/pediatric_asthma_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"auscultation":{"description":"Caller-assigned Qureshi 1998 Table 1 auscultation (integer 1-3): 1 normal breathing or end-expiratory wheeze; 2 expiratory wheezing; 3 inspiratory and expiratory wheezing, diminished breath sounds, or both. magent does not auscultate.","type":"integer"},"dyspnea":{"description":"Caller-assigned Qureshi 1998 Table 1 dyspnea (integer 1-3): 1 speaks in sentences or coos and babbles; 2 speaks in partial sentences or short cries; 3 speaks in single words, short phrases, or grunts. magent does not examine the patient.","type":"integer"},"oxygen_saturation":{"description":"Caller-assigned Qureshi 1998 Table 1 oxygen-saturation points (integer 1-3): 1 if >95% on room air; 2 if 90-95% on room air or >90% with supplemental oxygen; 3 if <90% on room air or supplemental oxygen as in Table 1. magent does not measure SpO2.","type":"integer"},"respiratory_rate":{"description":"Caller-assigned Qureshi 1998 Table 1 respiratory-rate points (integer 1-3), not raw breaths/min and not age. Table 1 age bands for 1/2/3: 2-3 yr ≤34 / 35-39 / ≥40; 4-5 yr ≤30 / 31-35 / ≥36; 6-12 yr ≤26 / 27-30 / ≥31; >12 yr ≤23 / 24-27 / ≥28. That paper enrolled ages 2-18 and has no <2 yr column. magent does not count breaths.","type":"integer"},"retractions":{"description":"Caller-assigned Qureshi 1998 Table 1 retractions (integer 1-3): 1 none or intercostal; 2 intercostal and substernal; 3 intercostal, substernal, and supraclavicular. magent does not examine the patient.","type":"integer"}},"required":["respiratory_rate","oxygen_saturation","auscultation","retractions","dyspnea"],"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":["asthma","pediatric","respiratory","qureshi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:51:27.462Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:51:27.318Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"auscultation":1,"dyspnea":1,"oxygen_saturation":1,"respiratory_rate":1,"retractions":1},{"auscultation":1,"dyspnea":1,"oxygen_saturation":1,"respiratory_rate":1,"retractions":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"asthma_band":"mild","auscultation":1,"citation":{"authors":"Qureshi F, Pestian J, Davis P, Zaritsky A","doi":"10.1056/NEJM199810083391503","id":"qureshi-1998","source":"N Engl J Med. 1998;339(15):1030-1035","title":"Effect of nebulized ipratropium on the hospitalization rates of children with asthma"},"components":[{"factor":"respiratory_rate","points":1,"present":true,"value":1},{"factor":"oxygen_saturation","points":1,"present":true,"value":1},{"factor":"auscultation","points":1,"present":true,"value":1},{"factor":"retractions","points":1,"present":true,"value":1},{"factor":"dyspnea","points":1,"present":true,"value":1}],"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.","dyspnea":1,"formula":"pediatric_asthma_score","formula_expression":"Qureshi 1998 = respiratory_rate + oxygen_saturation + auscultation + retractions + dyspnea; each caller-assigned Table 1 integer 1-3; max 15; asthma_band mild 5-7, moderate 8-11, severe 12-15","max_score":15,"oxygen_saturation":1,"respiratory_rate":1,"retractions":1,"score":5},{"asthma_band":"mild","auscultation":1,"citation":{"authors":"Qureshi F, Pestian J, Davis P, Zaritsky A","doi":"10.1056/NEJM199810083391503","id":"qureshi-1998","source":"N Engl J Med. 1998;339(15):1030-1035","title":"Effect of nebulized ipratropium on the hospitalization rates of children with asthma"},"components":[{"factor":"respiratory_rate","points":1,"present":true,"value":1},{"factor":"oxygen_saturation","points":1,"present":true,"value":1},{"factor":"auscultation","points":1,"present":true,"value":1},{"factor":"retractions","points":1,"present":true,"value":1},{"factor":"dyspnea","points":1,"present":true,"value":1}],"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.","dyspnea":1,"formula":"pediatric_asthma_score","formula_expression":"Qureshi 1998 = respiratory_rate + oxygen_saturation + auscultation + retractions + dyspnea; each caller-assigned Table 1 integer 1-3; max 15; asthma_band mild 5-7, moderate 8-11, severe 12-15","max_score":15,"oxygen_saturation":1,"respiratory_rate":1,"retractions":1,"score":5}],"path":"/api/calc/pediatric_asthma_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"auscultation":{"description":"Caller-assigned Qureshi 1998 Table 1 auscultation (integer 1-3): 1 normal breathing or end-expiratory wheeze; 2 expiratory wheezing; 3 inspiratory and expiratory wheezing, diminished breath sounds, or both. magent does not auscultate.","type":"integer"},"dyspnea":{"description":"Caller-assigned Qureshi 1998 Table 1 dyspnea (integer 1-3): 1 speaks in sentences or coos and babbles; 2 speaks in partial sentences or short cries; 3 speaks in single words, short phrases, or grunts. magent does not examine the patient.","type":"integer"},"oxygen_saturation":{"description":"Caller-assigned Qureshi 1998 Table 1 oxygen-saturation points (integer 1-3): 1 if >95% on room air; 2 if 90-95% on room air or >90% with supplemental oxygen; 3 if <90% on room air or supplemental oxygen as in Table 1. magent does not measure SpO2.","type":"integer"},"respiratory_rate":{"description":"Caller-assigned Qureshi 1998 Table 1 respiratory-rate points (integer 1-3), not raw breaths/min and not age. Table 1 age bands for 1/2/3: 2-3 yr ≤34 / 35-39 / ≥40; 4-5 yr ≤30 / 31-35 / ≥36; 6-12 yr ≤26 / 27-30 / ≥31; >12 yr ≤23 / 24-27 / ≥28. That paper enrolled ages 2-18 and has no <2 yr column. magent does not count breaths.","type":"integer"},"retractions":{"description":"Caller-assigned Qureshi 1998 Table 1 retractions (integer 1-3): 1 none or intercostal; 2 intercostal and substernal; 3 intercostal, substernal, and supraclavicular. magent does not examine the patient.","type":"integer"}},"required":["respiratory_rate","oxygen_saturation","auscultation","retractions","dyspnea"],"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},{"id":39085,"slug":"39085","resource":"https://api.magentlab.com/api/calc/pecarn_head","description":"PECARN pediatric head CT (Kuppermann 2009). Two age trees (under 2 vs 2-17). High if any age-applicable high-risk factor (GCS <=14 or altered mental status in both; palpable skull fracture if under 2; signs of basilar skull fracture if 2 or older), else intermediate if any age-applicable intermediate factor, else low. CT recommended only when high. Not a diagnosis. Not Canadian CT Head, CATCH, CHALICE, NEXUS, or PECARN IAI/febrile/c-spine. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":10,"altered_mental_status":false,"gcs_le_14":false,"history_of_loc":false,"history_of_vomiting":false,"loc_ge_5_seconds":false,"nonfrontal_scalp_hematoma":false,"not_acting_normally":false,"palpable_skull_fracture":false,"severe_headache":false,"severe_mechanism":false,"signs_basilar_skull_fracture":false},{"age":10,"altered_mental_status":false,"gcs_le_14":false,"history_of_loc":false,"history_of_vomiting":false,"loc_ge_5_seconds":false,"nonfrontal_scalp_hematoma":false,"not_acting_normally":false,"palpable_skull_fracture":false,"severe_headache":false,"severe_mechanism":false,"signs_basilar_skull_fracture":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_band":"ge_2","age_years":10,"citation":{"authors":"Kuppermann N, Holmes JF, Dayan PS, et al.","doi":"10.1016/S0140-6736(09)61558-0","id":"kuppermann-2009","source":"Lancet. 2009;374(9696):1160-1170","title":"Identification of children at very low risk of clinically-important brain injuries after head trauma: a prospective cohort study"},"criteria":[{"factor":"gcs_le_14","met":false},{"factor":"altered_mental_status","met":false},{"factor":"signs_basilar_skull_fracture","met":false},{"factor":"history_of_loc","met":false},{"factor":"history_of_vomiting","met":false},{"factor":"severe_headache","met":false},{"factor":"severe_mechanism","met":false}],"ct_not_recommended":true,"ct_recommended":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":"pecarn_head","formula_expression":"high if any age-applicable high-risk factor, else intermediate if any age-applicable intermediate factor, else low; lt_2 tree if age < 2, ge_2 tree if age 2-17","observation_vs_ct":false,"risk_tier":"low"},{"age_band":"ge_2","age_years":10,"citation":{"authors":"Kuppermann N, Holmes JF, Dayan PS, et al.","doi":"10.1016/S0140-6736(09)61558-0","id":"kuppermann-2009","source":"Lancet. 2009;374(9696):1160-1170","title":"Identification of children at very low risk of clinically-important brain injuries after head trauma: a prospective cohort study"},"criteria":[{"factor":"gcs_le_14","met":false},{"factor":"altered_mental_status","met":false},{"factor":"signs_basilar_skull_fracture","met":false},{"factor":"history_of_loc","met":false},{"factor":"history_of_vomiting","met":false},{"factor":"severe_headache","met":false},{"factor":"severe_mechanism","met":false}],"ct_not_recommended":true,"ct_recommended":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":"pecarn_head","formula_expression":"high if any age-applicable high-risk factor, else intermediate if any age-applicable intermediate factor, else low; lt_2 tree if age < 2, ge_2 tree if age 2-17","observation_vs_ct":false,"risk_tier":"low"}],"path":"/api/calc/pecarn_head"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (0-17). Age 0 and 1 use the lt_2 tree; age 2 through 17 use the ge_2 tree. Age 18 is rejected.","type":"integer"},"altered_mental_status":{"description":"Altered mental status as assigned by the caller (paper: agitation, somnolence, repetitive questioning, or slow response). true or false. High-risk in both trees.","type":"boolean"},"gcs_le_14":{"description":"GCS <=14 as assigned by the caller. true or false. High-risk in both trees. GCS 15 is not <=14. magent does not take a GCS integer.","type":"boolean"},"history_of_loc":{"description":"History of loss of consciousness as assigned by the caller. true or false. Intermediate only on the ge_2 tree; parsed but not scored when age < 2.","type":"boolean"},"history_of_vomiting":{"description":"History of vomiting as assigned by the caller. true or false. Intermediate only on the ge_2 tree; parsed but not scored when age < 2.","type":"boolean"},"loc_ge_5_seconds":{"description":"Loss of consciousness >=5 seconds as assigned by the caller. true or false. Intermediate only on the lt_2 tree; parsed but not scored when age >= 2.","type":"boolean"},"nonfrontal_scalp_hematoma":{"description":"Occipital, parietal, or temporal scalp hematoma (not frontal) as assigned by the caller. true or false. Intermediate only on the lt_2 tree; parsed but not scored when age >= 2.","type":"boolean"},"not_acting_normally":{"description":"Not acting normally per parent report as assigned by the caller. true or false. Intermediate only on the lt_2 tree; parsed but not scored when age >= 2.","type":"boolean"},"palpable_skull_fracture":{"description":"Palpable skull fracture as assigned by the caller. true or false. High-risk only on the lt_2 tree; parsed but not scored when age >= 2.","type":"boolean"},"severe_headache":{"description":"Severe headache as assigned by the caller. true or false. Intermediate only on the ge_2 tree; parsed but not scored when age < 2.","type":"boolean"},"severe_mechanism":{"description":"Severe mechanism as assigned by the caller. true or false. Intermediate in both trees. Paper list: MVC ejection/rollover/death of another passenger; unhelmeted pedestrian or bicyclist struck by a motorized vehicle; fall >3 ft if <2 years or >5 ft if >=2 years; head struck by a high-impact object. magent does not classify mechanism or take fall height.","type":"boolean"},"signs_basilar_skull_fracture":{"description":"Signs of basilar skull fracture as assigned by the caller. true or false. High-risk only on the ge_2 tree; parsed but not scored when age < 2.","type":"boolean"}},"required":["age","gcs_le_14","altered_mental_status","palpable_skull_fracture","signs_basilar_skull_fracture","nonfrontal_scalp_hematoma","loc_ge_5_seconds","not_acting_normally","history_of_loc","history_of_vomiting","severe_headache","severe_mechanism"],"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":["pecarn-head","pediatric","head-ct","emergency","citbi","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:51:25.46Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:51:25.237Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":10,"altered_mental_status":false,"gcs_le_14":false,"history_of_loc":false,"history_of_vomiting":false,"loc_ge_5_seconds":false,"nonfrontal_scalp_hematoma":false,"not_acting_normally":false,"palpable_skull_fracture":false,"severe_headache":false,"severe_mechanism":false,"signs_basilar_skull_fracture":false},{"age":10,"altered_mental_status":false,"gcs_le_14":false,"history_of_loc":false,"history_of_vomiting":false,"loc_ge_5_seconds":false,"nonfrontal_scalp_hematoma":false,"not_acting_normally":false,"palpable_skull_fracture":false,"severe_headache":false,"severe_mechanism":false,"signs_basilar_skull_fracture":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_band":"ge_2","age_years":10,"citation":{"authors":"Kuppermann N, Holmes JF, Dayan PS, et al.","doi":"10.1016/S0140-6736(09)61558-0","id":"kuppermann-2009","source":"Lancet. 2009;374(9696):1160-1170","title":"Identification of children at very low risk of clinically-important brain injuries after head trauma: a prospective cohort study"},"criteria":[{"factor":"gcs_le_14","met":false},{"factor":"altered_mental_status","met":false},{"factor":"signs_basilar_skull_fracture","met":false},{"factor":"history_of_loc","met":false},{"factor":"history_of_vomiting","met":false},{"factor":"severe_headache","met":false},{"factor":"severe_mechanism","met":false}],"ct_not_recommended":true,"ct_recommended":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":"pecarn_head","formula_expression":"high if any age-applicable high-risk factor, else intermediate if any age-applicable intermediate factor, else low; lt_2 tree if age < 2, ge_2 tree if age 2-17","observation_vs_ct":false,"risk_tier":"low"},{"age_band":"ge_2","age_years":10,"citation":{"authors":"Kuppermann N, Holmes JF, Dayan PS, et al.","doi":"10.1016/S0140-6736(09)61558-0","id":"kuppermann-2009","source":"Lancet. 2009;374(9696):1160-1170","title":"Identification of children at very low risk of clinically-important brain injuries after head trauma: a prospective cohort study"},"criteria":[{"factor":"gcs_le_14","met":false},{"factor":"altered_mental_status","met":false},{"factor":"signs_basilar_skull_fracture","met":false},{"factor":"history_of_loc","met":false},{"factor":"history_of_vomiting","met":false},{"factor":"severe_headache","met":false},{"factor":"severe_mechanism","met":false}],"ct_not_recommended":true,"ct_recommended":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":"pecarn_head","formula_expression":"high if any age-applicable high-risk factor, else intermediate if any age-applicable intermediate factor, else low; lt_2 tree if age < 2, ge_2 tree if age 2-17","observation_vs_ct":false,"risk_tier":"low"}],"path":"/api/calc/pecarn_head"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (0-17). Age 0 and 1 use the lt_2 tree; age 2 through 17 use the ge_2 tree. Age 18 is rejected.","type":"integer"},"altered_mental_status":{"description":"Altered mental status as assigned by the caller (paper: agitation, somnolence, repetitive questioning, or slow response). true or false. High-risk in both trees.","type":"boolean"},"gcs_le_14":{"description":"GCS <=14 as assigned by the caller. true or false. High-risk in both trees. GCS 15 is not <=14. magent does not take a GCS integer.","type":"boolean"},"history_of_loc":{"description":"History of loss of consciousness as assigned by the caller. true or false. Intermediate only on the ge_2 tree; parsed but not scored when age < 2.","type":"boolean"},"history_of_vomiting":{"description":"History of vomiting as assigned by the caller. true or false. Intermediate only on the ge_2 tree; parsed but not scored when age < 2.","type":"boolean"},"loc_ge_5_seconds":{"description":"Loss of consciousness >=5 seconds as assigned by the caller. true or false. Intermediate only on the lt_2 tree; parsed but not scored when age >= 2.","type":"boolean"},"nonfrontal_scalp_hematoma":{"description":"Occipital, parietal, or temporal scalp hematoma (not frontal) as assigned by the caller. true or false. Intermediate only on the lt_2 tree; parsed but not scored when age >= 2.","type":"boolean"},"not_acting_normally":{"description":"Not acting normally per parent report as assigned by the caller. true or false. Intermediate only on the lt_2 tree; parsed but not scored when age >= 2.","type":"boolean"},"palpable_skull_fracture":{"description":"Palpable skull fracture as assigned by the caller. true or false. High-risk only on the lt_2 tree; parsed but not scored when age >= 2.","type":"boolean"},"severe_headache":{"description":"Severe headache as assigned by the caller. true or false. Intermediate only on the ge_2 tree; parsed but not scored when age < 2.","type":"boolean"},"severe_mechanism":{"description":"Severe mechanism as assigned by the caller. true or false. Intermediate in both trees. Paper list: MVC ejection/rollover/death of another passenger; unhelmeted pedestrian or bicyclist struck by a motorized vehicle; fall >3 ft if <2 years or >5 ft if >=2 years; head struck by a high-impact object. magent does not classify mechanism or take fall height.","type":"boolean"},"signs_basilar_skull_fracture":{"description":"Signs of basilar skull fracture as assigned by the caller. true or false. High-risk only on the ge_2 tree; parsed but not scored when age < 2.","type":"boolean"}},"required":["age","gcs_le_14","altered_mental_status","palpable_skull_fracture","signs_basilar_skull_fracture","nonfrontal_scalp_hematoma","loc_ge_5_seconds","not_acting_normally","history_of_loc","history_of_vomiting","severe_headache","severe_mechanism"],"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},{"id":39086,"slug":"39086","resource":"https://api.magentlab.com/api/calc/pas_ra","description":"Wolfe 2005 Patient Activity Scale (PAS): (haq * 3.33 + pain_vas + patient_global_vas) / 3. HAQ 0-3 (not HAQ-II); pain and patient global 0-10 VAS. magent does not administer the HAQ. Not PAS-II, Samuel 2002 pediatric appendicitis PAS, DAS28, or CDAI. Not a diagnosis. PAS total only; no remission or severity cutoffs.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"haq":0,"pain_vas":0,"patient_global_vas":0},{"haq":0,"pain_vas":0,"patient_global_vas":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wolfe F, Michaud K, Pincus T","id":"wolfe-2005","pmid":"16331773","source":"J Rheumatol. 2005;32(12):2410-2415","title":"A composite disease activity scale for clinical practice, observational studies, and clinical trials: the patient activity scale (PAS/PAS-II)"},"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":"pas_ra","formula_expression":"PAS = (haq * 3.33 + pain_vas + patient_global_vas) / 3; Wolfe 2005 Patient Activity Scale (not PAS-II); HAQ 0-3 (not HAQ-II); pain and patient global 0-10 VAS; magent does not administer the HAQ; not Samuel 2002 pediatric appendicitis PAS; not DAS28; not CDAI; not a diagnosis; no published remission/minimal/moderate/severe cutoffs","haq":0,"pain_vas":0,"pas":0,"patient_global_vas":0},{"citation":{"authors":"Wolfe F, Michaud K, Pincus T","id":"wolfe-2005","pmid":"16331773","source":"J Rheumatol. 2005;32(12):2410-2415","title":"A composite disease activity scale for clinical practice, observational studies, and clinical trials: the patient activity scale (PAS/PAS-II)"},"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":"pas_ra","formula_expression":"PAS = (haq * 3.33 + pain_vas + patient_global_vas) / 3; Wolfe 2005 Patient Activity Scale (not PAS-II); HAQ 0-3 (not HAQ-II); pain and patient global 0-10 VAS; magent does not administer the HAQ; not Samuel 2002 pediatric appendicitis PAS; not DAS28; not CDAI; not a diagnosis; no published remission/minimal/moderate/severe cutoffs","haq":0,"pain_vas":0,"pas":0,"patient_global_vas":0}],"path":"/api/calc/pas_ra"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"haq":{"description":"Caller-assigned HAQ disability index (Wolfe 2005 PAS). Number 0-3. Not HAQ-II. magent does not administer the HAQ.","type":"number"},"pain_vas":{"description":"Caller-assigned pain visual analog scale (Wolfe 2005 PAS). Number 0-10. magent does not examine the patient.","type":"number"},"patient_global_vas":{"description":"Caller-assigned patient global visual analog scale (Wolfe 2005 PAS). Number 0-10. magent does not examine the patient.","type":"number"}},"required":["haq","pain_vas","patient_global_vas"],"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":["pas-ra","rheumatoid-arthritis","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:46:20.335Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:46:20.216Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"haq":0,"pain_vas":0,"patient_global_vas":0},{"haq":0,"pain_vas":0,"patient_global_vas":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wolfe F, Michaud K, Pincus T","id":"wolfe-2005","pmid":"16331773","source":"J Rheumatol. 2005;32(12):2410-2415","title":"A composite disease activity scale for clinical practice, observational studies, and clinical trials: the patient activity scale (PAS/PAS-II)"},"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":"pas_ra","formula_expression":"PAS = (haq * 3.33 + pain_vas + patient_global_vas) / 3; Wolfe 2005 Patient Activity Scale (not PAS-II); HAQ 0-3 (not HAQ-II); pain and patient global 0-10 VAS; magent does not administer the HAQ; not Samuel 2002 pediatric appendicitis PAS; not DAS28; not CDAI; not a diagnosis; no published remission/minimal/moderate/severe cutoffs","haq":0,"pain_vas":0,"pas":0,"patient_global_vas":0},{"citation":{"authors":"Wolfe F, Michaud K, Pincus T","id":"wolfe-2005","pmid":"16331773","source":"J Rheumatol. 2005;32(12):2410-2415","title":"A composite disease activity scale for clinical practice, observational studies, and clinical trials: the patient activity scale (PAS/PAS-II)"},"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":"pas_ra","formula_expression":"PAS = (haq * 3.33 + pain_vas + patient_global_vas) / 3; Wolfe 2005 Patient Activity Scale (not PAS-II); HAQ 0-3 (not HAQ-II); pain and patient global 0-10 VAS; magent does not administer the HAQ; not Samuel 2002 pediatric appendicitis PAS; not DAS28; not CDAI; not a diagnosis; no published remission/minimal/moderate/severe cutoffs","haq":0,"pain_vas":0,"pas":0,"patient_global_vas":0}],"path":"/api/calc/pas_ra"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"haq":{"description":"Caller-assigned HAQ disability index (Wolfe 2005 PAS). Number 0-3. Not HAQ-II. magent does not administer the HAQ.","type":"number"},"pain_vas":{"description":"Caller-assigned pain visual analog scale (Wolfe 2005 PAS). Number 0-10. magent does not examine the patient.","type":"number"},"patient_global_vas":{"description":"Caller-assigned patient global visual analog scale (Wolfe 2005 PAS). Number 0-10. magent does not examine the patient.","type":"number"}},"required":["haq","pain_vas","patient_global_vas"],"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},{"id":39087,"slug":"39087","resource":"https://api.magentlab.com/api/calc/pas_ii","description":"Wolfe 2005 Patient Activity Scale II (PAS-II): (haq_ii * 3.33 + pain_vas + patient_global_vas) / 3. HAQ-II 0-3 (not HAQ); pain and patient global 0-10 VAS. magent does not administer HAQ-II. Not PAS-RA, Samuel 2002 pediatric appendicitis PAS, DAS28, or CDAI. Not a diagnosis. PAS-II total only; no remission or severity cutoffs.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"haq_ii":0,"pain_vas":0,"patient_global_vas":0},{"haq_ii":0,"pain_vas":0,"patient_global_vas":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wolfe F, Michaud K, Pincus T","id":"wolfe-2005","pmid":"16331773","source":"J Rheumatol. 2005;32(12):2410-2415","title":"A composite disease activity scale for clinical practice, observational studies, and clinical trials: the patient activity scale (PAS/PAS-II)"},"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":"pas_ii","formula_expression":"PAS-II = (haq_ii * 3.33 + pain_vas + patient_global_vas) / 3; Wolfe 2005 Patient Activity Scale II (not PAS-RA); HAQ-II 0-3 (not HAQ); pain and patient global 0-10 VAS; magent does not administer HAQ-II; not Samuel 2002 pediatric appendicitis PAS; not DAS28; not CDAI; not a diagnosis; no published remission/minimal/moderate/severe cutoffs","haq_ii":0,"pain_vas":0,"pas_ii":0,"patient_global_vas":0},{"citation":{"authors":"Wolfe F, Michaud K, Pincus T","id":"wolfe-2005","pmid":"16331773","source":"J Rheumatol. 2005;32(12):2410-2415","title":"A composite disease activity scale for clinical practice, observational studies, and clinical trials: the patient activity scale (PAS/PAS-II)"},"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":"pas_ii","formula_expression":"PAS-II = (haq_ii * 3.33 + pain_vas + patient_global_vas) / 3; Wolfe 2005 Patient Activity Scale II (not PAS-RA); HAQ-II 0-3 (not HAQ); pain and patient global 0-10 VAS; magent does not administer HAQ-II; not Samuel 2002 pediatric appendicitis PAS; not DAS28; not CDAI; not a diagnosis; no published remission/minimal/moderate/severe cutoffs","haq_ii":0,"pain_vas":0,"pas_ii":0,"patient_global_vas":0}],"path":"/api/calc/pas_ii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"haq_ii":{"description":"Caller-assigned HAQ-II disability index (Wolfe 2005 PAS-II). Number 0-3. Not HAQ. magent does not administer HAQ-II.","type":"number"},"pain_vas":{"description":"Caller-assigned pain visual analog scale (Wolfe 2005 PAS-II). Number 0-10. magent does not examine the patient.","type":"number"},"patient_global_vas":{"description":"Caller-assigned patient global visual analog scale (Wolfe 2005 PAS-II). Number 0-10. magent does not examine the patient.","type":"number"}},"required":["haq_ii","pain_vas","patient_global_vas"],"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":["pas-ii","rheumatoid-arthritis","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:46:19.546Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:46:19.429Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"haq_ii":0,"pain_vas":0,"patient_global_vas":0},{"haq_ii":0,"pain_vas":0,"patient_global_vas":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wolfe F, Michaud K, Pincus T","id":"wolfe-2005","pmid":"16331773","source":"J Rheumatol. 2005;32(12):2410-2415","title":"A composite disease activity scale for clinical practice, observational studies, and clinical trials: the patient activity scale (PAS/PAS-II)"},"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":"pas_ii","formula_expression":"PAS-II = (haq_ii * 3.33 + pain_vas + patient_global_vas) / 3; Wolfe 2005 Patient Activity Scale II (not PAS-RA); HAQ-II 0-3 (not HAQ); pain and patient global 0-10 VAS; magent does not administer HAQ-II; not Samuel 2002 pediatric appendicitis PAS; not DAS28; not CDAI; not a diagnosis; no published remission/minimal/moderate/severe cutoffs","haq_ii":0,"pain_vas":0,"pas_ii":0,"patient_global_vas":0},{"citation":{"authors":"Wolfe F, Michaud K, Pincus T","id":"wolfe-2005","pmid":"16331773","source":"J Rheumatol. 2005;32(12):2410-2415","title":"A composite disease activity scale for clinical practice, observational studies, and clinical trials: the patient activity scale (PAS/PAS-II)"},"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":"pas_ii","formula_expression":"PAS-II = (haq_ii * 3.33 + pain_vas + patient_global_vas) / 3; Wolfe 2005 Patient Activity Scale II (not PAS-RA); HAQ-II 0-3 (not HAQ); pain and patient global 0-10 VAS; magent does not administer HAQ-II; not Samuel 2002 pediatric appendicitis PAS; not DAS28; not CDAI; not a diagnosis; no published remission/minimal/moderate/severe cutoffs","haq_ii":0,"pain_vas":0,"pas_ii":0,"patient_global_vas":0}],"path":"/api/calc/pas_ii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"haq_ii":{"description":"Caller-assigned HAQ-II disability index (Wolfe 2005 PAS-II). Number 0-3. Not HAQ. magent does not administer HAQ-II.","type":"number"},"pain_vas":{"description":"Caller-assigned pain visual analog scale (Wolfe 2005 PAS-II). Number 0-10. magent does not examine the patient.","type":"number"},"patient_global_vas":{"description":"Caller-assigned patient global visual analog scale (Wolfe 2005 PAS-II). Number 0-10. magent does not examine the patient.","type":"number"}},"required":["haq_ii","pain_vas","patient_global_vas"],"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},{"id":39088,"slug":"39088","resource":"https://api.magentlab.com/api/calc/pars","description":"Biagini Myers 2019 Pediatric Asthma Risk Score (PARS). Table III weights (OR rounded to nearest integer): parental asthma 2, eczema before age 3 2, wheezing apart from colds 3, wheezing before age 3 3, caller-assigned African American race 2, SPT ≥2 aeroallergens and/or food allergens 2. Max 14. Fig E1 predicted asthma by age 7 as an integer percent. Scores 1 and 13 are unattainable. Not API or mAPI. Not a diagnosis. magent does not assign race and does not perform SPT.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"african_american":false,"eczema_before_age_3":false,"parental_asthma":false,"spt_ge_2":false,"wheezing_apart_from_colds":false,"wheezing_before_age_3":false},{"african_american":false,"eczema_before_age_3":false,"parental_asthma":false,"spt_ge_2":false,"wheezing_apart_from_colds":false,"wheezing_before_age_3":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Biagini Myers JM, Schauberger E, He H, Martin LJ, Kroner J, Hill GM, Ryan PH, LeMasters GK, Bernstein DI, Lockey JE, Arshad SH, Kurukulaaratchy R, Khurana Hershey GK","doi":"10.1016/j.jaci.2018.09.037","id":"biagini-myers-2019-pars","pmid":"30554722","source":"J Allergy Clin Immunol. 2019;143(4):1803-1810.e2","title":"A Pediatric Asthma Risk Score to better predict asthma development in young children"},"components":[{"factor":"parental_asthma","points":0,"present":false},{"factor":"eczema_before_age_3","points":0,"present":false},{"factor":"wheezing_apart_from_colds","points":0,"present":false},{"factor":"wheezing_before_age_3","points":0,"present":false},{"factor":"african_american","points":0,"present":false},{"factor":"spt_ge_2","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":"pars","formula_expression":"PARS = 2*parental_asthma + 2*eczema_before_age_3 + 3*wheezing_apart_from_colds + 3*wheezing_before_age_3 + 2*african_american + 2*spt_ge_2; Biagini Myers 2019 Table III (OR rounded to nearest integer) and Fig E1; max 14; predicted_asthma_percent is the Fig E1 integer predicted risk of asthma by age 7; scores 1 and 13 are unattainable","max_score":14,"predicted_asthma_percent":3,"score":0},{"citation":{"authors":"Biagini Myers JM, Schauberger E, He H, Martin LJ, Kroner J, Hill GM, Ryan PH, LeMasters GK, Bernstein DI, Lockey JE, Arshad SH, Kurukulaaratchy R, Khurana Hershey GK","doi":"10.1016/j.jaci.2018.09.037","id":"biagini-myers-2019-pars","pmid":"30554722","source":"J Allergy Clin Immunol. 2019;143(4):1803-1810.e2","title":"A Pediatric Asthma Risk Score to better predict asthma development in young children"},"components":[{"factor":"parental_asthma","points":0,"present":false},{"factor":"eczema_before_age_3","points":0,"present":false},{"factor":"wheezing_apart_from_colds","points":0,"present":false},{"factor":"wheezing_before_age_3","points":0,"present":false},{"factor":"african_american","points":0,"present":false},{"factor":"spt_ge_2","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":"pars","formula_expression":"PARS = 2*parental_asthma + 2*eczema_before_age_3 + 3*wheezing_apart_from_colds + 3*wheezing_before_age_3 + 2*african_american + 2*spt_ge_2; Biagini Myers 2019 Table III (OR rounded to nearest integer) and Fig E1; max 14; predicted_asthma_percent is the Fig E1 integer predicted risk of asthma by age 7; scores 1 and 13 are unattainable","max_score":14,"predicted_asthma_percent":3,"score":0}],"path":"/api/calc/pars"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"african_american":{"description":"Caller-assigned African American race as used in Biagini Myers 2019 Table III. true scores 2. magent does not assign race. true or false.","type":"boolean"},"eczema_before_age_3":{"description":"Eczema before age 3 years as assigned by the caller (Biagini Myers 2019 Table III). true scores 2. magent does not examine the child. true or false.","type":"boolean"},"parental_asthma":{"description":"Parental asthma as assigned by the caller (Biagini Myers 2019 Table III). true scores 2. magent does not take a family history. true or false.","type":"boolean"},"spt_ge_2":{"description":"Skin prick test positive to ≥2 aeroallergens and/or food allergens as assigned by the caller (Biagini Myers 2019 Table III). true scores 2. magent does not perform SPT. true or false.","type":"boolean"},"wheezing_apart_from_colds":{"description":"Wheezing apart from colds as assigned by the caller (Biagini Myers 2019 Table III). true scores 3. magent does not auscultate. true or false.","type":"boolean"},"wheezing_before_age_3":{"description":"Wheezing before age 3 years as assigned by the caller (Biagini Myers 2019 Table III). true scores 3. magent does not auscultate. true or false.","type":"boolean"}},"required":["parental_asthma","eczema_before_age_3","wheezing_apart_from_colds","wheezing_before_age_3","african_american","spt_ge_2"],"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":["pars","asthma","pediatric","respiratory","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:46:18.426Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:46:18.248Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"african_american":false,"eczema_before_age_3":false,"parental_asthma":false,"spt_ge_2":false,"wheezing_apart_from_colds":false,"wheezing_before_age_3":false},{"african_american":false,"eczema_before_age_3":false,"parental_asthma":false,"spt_ge_2":false,"wheezing_apart_from_colds":false,"wheezing_before_age_3":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Biagini Myers JM, Schauberger E, He H, Martin LJ, Kroner J, Hill GM, Ryan PH, LeMasters GK, Bernstein DI, Lockey JE, Arshad SH, Kurukulaaratchy R, Khurana Hershey GK","doi":"10.1016/j.jaci.2018.09.037","id":"biagini-myers-2019-pars","pmid":"30554722","source":"J Allergy Clin Immunol. 2019;143(4):1803-1810.e2","title":"A Pediatric Asthma Risk Score to better predict asthma development in young children"},"components":[{"factor":"parental_asthma","points":0,"present":false},{"factor":"eczema_before_age_3","points":0,"present":false},{"factor":"wheezing_apart_from_colds","points":0,"present":false},{"factor":"wheezing_before_age_3","points":0,"present":false},{"factor":"african_american","points":0,"present":false},{"factor":"spt_ge_2","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":"pars","formula_expression":"PARS = 2*parental_asthma + 2*eczema_before_age_3 + 3*wheezing_apart_from_colds + 3*wheezing_before_age_3 + 2*african_american + 2*spt_ge_2; Biagini Myers 2019 Table III (OR rounded to nearest integer) and Fig E1; max 14; predicted_asthma_percent is the Fig E1 integer predicted risk of asthma by age 7; scores 1 and 13 are unattainable","max_score":14,"predicted_asthma_percent":3,"score":0},{"citation":{"authors":"Biagini Myers JM, Schauberger E, He H, Martin LJ, Kroner J, Hill GM, Ryan PH, LeMasters GK, Bernstein DI, Lockey JE, Arshad SH, Kurukulaaratchy R, Khurana Hershey GK","doi":"10.1016/j.jaci.2018.09.037","id":"biagini-myers-2019-pars","pmid":"30554722","source":"J Allergy Clin Immunol. 2019;143(4):1803-1810.e2","title":"A Pediatric Asthma Risk Score to better predict asthma development in young children"},"components":[{"factor":"parental_asthma","points":0,"present":false},{"factor":"eczema_before_age_3","points":0,"present":false},{"factor":"wheezing_apart_from_colds","points":0,"present":false},{"factor":"wheezing_before_age_3","points":0,"present":false},{"factor":"african_american","points":0,"present":false},{"factor":"spt_ge_2","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":"pars","formula_expression":"PARS = 2*parental_asthma + 2*eczema_before_age_3 + 3*wheezing_apart_from_colds + 3*wheezing_before_age_3 + 2*african_american + 2*spt_ge_2; Biagini Myers 2019 Table III (OR rounded to nearest integer) and Fig E1; max 14; predicted_asthma_percent is the Fig E1 integer predicted risk of asthma by age 7; scores 1 and 13 are unattainable","max_score":14,"predicted_asthma_percent":3,"score":0}],"path":"/api/calc/pars"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"african_american":{"description":"Caller-assigned African American race as used in Biagini Myers 2019 Table III. true scores 2. magent does not assign race. true or false.","type":"boolean"},"eczema_before_age_3":{"description":"Eczema before age 3 years as assigned by the caller (Biagini Myers 2019 Table III). true scores 2. magent does not examine the child. true or false.","type":"boolean"},"parental_asthma":{"description":"Parental asthma as assigned by the caller (Biagini Myers 2019 Table III). true scores 2. magent does not take a family history. true or false.","type":"boolean"},"spt_ge_2":{"description":"Skin prick test positive to ≥2 aeroallergens and/or food allergens as assigned by the caller (Biagini Myers 2019 Table III). true scores 2. magent does not perform SPT. true or false.","type":"boolean"},"wheezing_apart_from_colds":{"description":"Wheezing apart from colds as assigned by the caller (Biagini Myers 2019 Table III). true scores 3. magent does not auscultate. true or false.","type":"boolean"},"wheezing_before_age_3":{"description":"Wheezing before age 3 years as assigned by the caller (Biagini Myers 2019 Table III). true scores 3. magent does not auscultate. true or false.","type":"boolean"}},"required":["parental_asthma","eczema_before_age_3","wheezing_apart_from_colds","wheezing_before_age_3","african_american","spt_ge_2"],"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},{"id":39089,"slug":"39089","resource":"https://api.magentlab.com/api/calc/oxygenation_index","description":"Oxygenation index from FiO2 as a fraction (0.21–1.0), mean airway pressure in cm H2O, and PaO2: FiO2 × MAP × 100 / PaO2. Deterministic published arithmetic with citation; not a diagnosis or an ECMO-initiation protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fio2":0.5,"mean_airway_pressure_cm_h2o":12,"pao2_mm_hg":80},{"fio2":0.5,"mean_airway_pressure_cm_h2o":12,"pao2_mm_hg":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ortiz RM, Cilley RE, Bartlett RH","doi":"10.1016/S0031-3955(16)36180-7","id":"ortiz-bartlett-1987","source":"Pediatr Clin North Am. 1987;34(1):39-46","title":"Extracorporeal membrane oxygenation in pediatric respiratory failure"},"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.","fio2":0.5,"formula":"oxygenation_index","formula_expression":"oxygenation_index = fio2 * mean_airway_pressure_cm_h2o * 100 / pao2_mm_hg","mean_airway_pressure_cm_h2o":12,"oxygenation_index":7.5,"pao2_mm_hg":80},{"citation":{"authors":"Ortiz RM, Cilley RE, Bartlett RH","doi":"10.1016/S0031-3955(16)36180-7","id":"ortiz-bartlett-1987","source":"Pediatr Clin North Am. 1987;34(1):39-46","title":"Extracorporeal membrane oxygenation in pediatric respiratory failure"},"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.","fio2":0.5,"formula":"oxygenation_index","formula_expression":"oxygenation_index = fio2 * mean_airway_pressure_cm_h2o * 100 / pao2_mm_hg","mean_airway_pressure_cm_h2o":12,"oxygenation_index":7.5,"pao2_mm_hg":80}],"path":"/api/calc/oxygenation_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent.","type":"number"},"mean_airway_pressure_cm_h2o":{"description":"Mean airway pressure in cm H2O (4-45), not blood-pressure MAP.","type":"number"},"pao2_mm_hg":{"description":"Arterial PO2 in mm Hg (20-700).","type":"number"}},"required":["fio2","mean_airway_pressure_cm_h2o","pao2_mm_hg"],"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":["oxygenation-index","oi","respiratory","oxygenation","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:41:47.772Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:41:47.614Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fio2":0.5,"mean_airway_pressure_cm_h2o":12,"pao2_mm_hg":80},{"fio2":0.5,"mean_airway_pressure_cm_h2o":12,"pao2_mm_hg":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ortiz RM, Cilley RE, Bartlett RH","doi":"10.1016/S0031-3955(16)36180-7","id":"ortiz-bartlett-1987","source":"Pediatr Clin North Am. 1987;34(1):39-46","title":"Extracorporeal membrane oxygenation in pediatric respiratory failure"},"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.","fio2":0.5,"formula":"oxygenation_index","formula_expression":"oxygenation_index = fio2 * mean_airway_pressure_cm_h2o * 100 / pao2_mm_hg","mean_airway_pressure_cm_h2o":12,"oxygenation_index":7.5,"pao2_mm_hg":80},{"citation":{"authors":"Ortiz RM, Cilley RE, Bartlett RH","doi":"10.1016/S0031-3955(16)36180-7","id":"ortiz-bartlett-1987","source":"Pediatr Clin North Am. 1987;34(1):39-46","title":"Extracorporeal membrane oxygenation in pediatric respiratory failure"},"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.","fio2":0.5,"formula":"oxygenation_index","formula_expression":"oxygenation_index = fio2 * mean_airway_pressure_cm_h2o * 100 / pao2_mm_hg","mean_airway_pressure_cm_h2o":12,"oxygenation_index":7.5,"pao2_mm_hg":80}],"path":"/api/calc/oxygenation_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent.","type":"number"},"mean_airway_pressure_cm_h2o":{"description":"Mean airway pressure in cm H2O (4-45), not blood-pressure MAP.","type":"number"},"pao2_mm_hg":{"description":"Arterial PO2 in mm Hg (20-700).","type":"number"}},"required":["fio2","mean_airway_pressure_cm_h2o","pao2_mm_hg"],"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},{"id":39090,"slug":"39090","resource":"https://api.magentlab.com/api/calc/interchest","description":"Aerts 2017 INTERCHEST: six equally weighted predictors for CAD in primary-care chest pain (age ≥55 male or ≥65 female +1; physician suspected serious +1; history of CAD +1; pain on exertion +1; pressure quality +1; pain reproducible on palpation −1). Range −1 to 5. CAD considered absent iff score <2. Published CAD probability 2.1% (95% CI 1.1–3.9) when <2 and 43.0% (35.8–50.4) when ≥2 in the 13.2% prevalence setting. Not HEART, not EDACS. magent does not examine the chest.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"history_of_cad":false,"pain_on_exertion":false,"pain_reproducible_on_palpation":false,"physician_suspected_serious":false,"pressure_quality":false,"sex":"female"},{"age":40,"history_of_cad":false,"pain_on_exertion":false,"pain_reproducible_on_palpation":false,"physician_suspected_serious":false,"pressure_quality":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"cad_absent":true,"cad_probability_ci_high_percent":3.9,"cad_probability_ci_low_percent":1.1,"cad_probability_percent":2.1,"citation":{"authors":"Aerts M, Minalu G, Bösner S, Buntinx F, Burnand B, Haasenritter J, Herzig L, Knottnerus JA, Nilsson S, Renier W, Sox C, Sox H, Donner-Banzhoff N, International Working Group on Chest Pain in Primary Care (INTERCHEST)","doi":"10.1016/j.jclinepi.2016.09.011","id":"aerts-2017","pmid":"27773828","source":"J Clin Epidemiol. 2017;81:120-128","title":"Pooled individual patient data from five countries were used to derive a clinical prediction rule for coronary artery disease in primary care"},"components":[{"factor":"age_sex","points":0,"present":false,"value":40},{"factor":"physician_suspected_serious","points":0,"present":false},{"factor":"history_of_cad","points":0,"present":false},{"factor":"pain_on_exertion","points":0,"present":false},{"factor":"pressure_quality","points":0,"present":false},{"factor":"pain_reproducible_on_palpation","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":"interchest","formula_expression":"INTERCHEST = (age ≥55 if male or ≥65 if female) + physician_suspected_serious + history_of_cad + pain_on_exertion + pressure_quality − pain_reproducible_on_palpation; each ±1; range −1 to 5; CAD considered absent iff score <2 (Aerts 2017); CAD probability 2.1% (95% CI 1.1–3.9) when <2 and 43.0% (35.8–50.4) when ≥2 in the 13.2% prevalence setting","max_score":5,"min_score":-1,"prevalence_setting_percent":13.2,"score":0,"sex":"female"},{"age_years":40,"cad_absent":true,"cad_probability_ci_high_percent":3.9,"cad_probability_ci_low_percent":1.1,"cad_probability_percent":2.1,"citation":{"authors":"Aerts M, Minalu G, Bösner S, Buntinx F, Burnand B, Haasenritter J, Herzig L, Knottnerus JA, Nilsson S, Renier W, Sox C, Sox H, Donner-Banzhoff N, International Working Group on Chest Pain in Primary Care (INTERCHEST)","doi":"10.1016/j.jclinepi.2016.09.011","id":"aerts-2017","pmid":"27773828","source":"J Clin Epidemiol. 2017;81:120-128","title":"Pooled individual patient data from five countries were used to derive a clinical prediction rule for coronary artery disease in primary care"},"components":[{"factor":"age_sex","points":0,"present":false,"value":40},{"factor":"physician_suspected_serious","points":0,"present":false},{"factor":"history_of_cad","points":0,"present":false},{"factor":"pain_on_exertion","points":0,"present":false},{"factor":"pressure_quality","points":0,"present":false},{"factor":"pain_reproducible_on_palpation","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":"interchest","formula_expression":"INTERCHEST = (age ≥55 if male or ≥65 if female) + physician_suspected_serious + history_of_cad + pain_on_exertion + pressure_quality − pain_reproducible_on_palpation; each ±1; range −1 to 5; CAD considered absent iff score <2 (Aerts 2017); CAD probability 2.1% (95% CI 1.1–3.9) when <2 and 43.0% (35.8–50.4) when ≥2 in the 13.2% prevalence setting","max_score":5,"min_score":-1,"prevalence_setting_percent":13.2,"score":0,"sex":"female"}],"path":"/api/calc/interchest"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Combined with sex: female ≥65 or male ≥55 scores 1 (Aerts 2017). Age 54 male does not score; 55 male does. Age 64 female does not; 65 female does. magent computes this; do not send a precomputed flag.","type":"integer"},"history_of_cad":{"description":"History of coronary artery disease (Aerts 2017). true or false as assigned by the caller. magent does not take a cardiac history. +1 if true.","type":"boolean"},"pain_on_exertion":{"description":"Pain related to exertion (Aerts 2017). true or false as assigned by the caller. +1 if true.","type":"boolean"},"pain_reproducible_on_palpation":{"description":"Pain reproducible on chest-wall palpation (Aerts 2017). true or false as assigned by the caller. magent does not examine the chest. −1 if true.","type":"boolean"},"physician_suspected_serious":{"description":"Physician initially suspected a serious diagnosis (Aerts 2017). true or false as assigned by the caller. magent does not examine the chest. +1 if true.","type":"boolean"},"pressure_quality":{"description":"Pain has a pressure quality (Aerts 2017). true or false as assigned by the caller. +1 if true.","type":"boolean"},"sex":{"description":"female or male (required). Combined with age: female ≥65 or male ≥55 scores 1 (Aerts 2017).","enum":["female","male"],"type":"string"}},"required":["age","sex","physician_suspected_serious","history_of_cad","pain_on_exertion","pressure_quality","pain_reproducible_on_palpation"],"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":["interchest","acs","chest-pain","primary-care","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:41:46.531Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:41:46.293Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"history_of_cad":false,"pain_on_exertion":false,"pain_reproducible_on_palpation":false,"physician_suspected_serious":false,"pressure_quality":false,"sex":"female"},{"age":40,"history_of_cad":false,"pain_on_exertion":false,"pain_reproducible_on_palpation":false,"physician_suspected_serious":false,"pressure_quality":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"cad_absent":true,"cad_probability_ci_high_percent":3.9,"cad_probability_ci_low_percent":1.1,"cad_probability_percent":2.1,"citation":{"authors":"Aerts M, Minalu G, Bösner S, Buntinx F, Burnand B, Haasenritter J, Herzig L, Knottnerus JA, Nilsson S, Renier W, Sox C, Sox H, Donner-Banzhoff N, International Working Group on Chest Pain in Primary Care (INTERCHEST)","doi":"10.1016/j.jclinepi.2016.09.011","id":"aerts-2017","pmid":"27773828","source":"J Clin Epidemiol. 2017;81:120-128","title":"Pooled individual patient data from five countries were used to derive a clinical prediction rule for coronary artery disease in primary care"},"components":[{"factor":"age_sex","points":0,"present":false,"value":40},{"factor":"physician_suspected_serious","points":0,"present":false},{"factor":"history_of_cad","points":0,"present":false},{"factor":"pain_on_exertion","points":0,"present":false},{"factor":"pressure_quality","points":0,"present":false},{"factor":"pain_reproducible_on_palpation","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":"interchest","formula_expression":"INTERCHEST = (age ≥55 if male or ≥65 if female) + physician_suspected_serious + history_of_cad + pain_on_exertion + pressure_quality − pain_reproducible_on_palpation; each ±1; range −1 to 5; CAD considered absent iff score <2 (Aerts 2017); CAD probability 2.1% (95% CI 1.1–3.9) when <2 and 43.0% (35.8–50.4) when ≥2 in the 13.2% prevalence setting","max_score":5,"min_score":-1,"prevalence_setting_percent":13.2,"score":0,"sex":"female"},{"age_years":40,"cad_absent":true,"cad_probability_ci_high_percent":3.9,"cad_probability_ci_low_percent":1.1,"cad_probability_percent":2.1,"citation":{"authors":"Aerts M, Minalu G, Bösner S, Buntinx F, Burnand B, Haasenritter J, Herzig L, Knottnerus JA, Nilsson S, Renier W, Sox C, Sox H, Donner-Banzhoff N, International Working Group on Chest Pain in Primary Care (INTERCHEST)","doi":"10.1016/j.jclinepi.2016.09.011","id":"aerts-2017","pmid":"27773828","source":"J Clin Epidemiol. 2017;81:120-128","title":"Pooled individual patient data from five countries were used to derive a clinical prediction rule for coronary artery disease in primary care"},"components":[{"factor":"age_sex","points":0,"present":false,"value":40},{"factor":"physician_suspected_serious","points":0,"present":false},{"factor":"history_of_cad","points":0,"present":false},{"factor":"pain_on_exertion","points":0,"present":false},{"factor":"pressure_quality","points":0,"present":false},{"factor":"pain_reproducible_on_palpation","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":"interchest","formula_expression":"INTERCHEST = (age ≥55 if male or ≥65 if female) + physician_suspected_serious + history_of_cad + pain_on_exertion + pressure_quality − pain_reproducible_on_palpation; each ±1; range −1 to 5; CAD considered absent iff score <2 (Aerts 2017); CAD probability 2.1% (95% CI 1.1–3.9) when <2 and 43.0% (35.8–50.4) when ≥2 in the 13.2% prevalence setting","max_score":5,"min_score":-1,"prevalence_setting_percent":13.2,"score":0,"sex":"female"}],"path":"/api/calc/interchest"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Combined with sex: female ≥65 or male ≥55 scores 1 (Aerts 2017). Age 54 male does not score; 55 male does. Age 64 female does not; 65 female does. magent computes this; do not send a precomputed flag.","type":"integer"},"history_of_cad":{"description":"History of coronary artery disease (Aerts 2017). true or false as assigned by the caller. magent does not take a cardiac history. +1 if true.","type":"boolean"},"pain_on_exertion":{"description":"Pain related to exertion (Aerts 2017). true or false as assigned by the caller. +1 if true.","type":"boolean"},"pain_reproducible_on_palpation":{"description":"Pain reproducible on chest-wall palpation (Aerts 2017). true or false as assigned by the caller. magent does not examine the chest. −1 if true.","type":"boolean"},"physician_suspected_serious":{"description":"Physician initially suspected a serious diagnosis (Aerts 2017). true or false as assigned by the caller. magent does not examine the chest. +1 if true.","type":"boolean"},"pressure_quality":{"description":"Pain has a pressure quality (Aerts 2017). true or false as assigned by the caller. +1 if true.","type":"boolean"},"sex":{"description":"female or male (required). Combined with age: female ≥65 or male ≥55 scores 1 (Aerts 2017).","enum":["female","male"],"type":"string"}},"required":["age","sex","physician_suspected_serious","history_of_cad","pain_on_exertion","pressure_quality","pain_reproducible_on_palpation"],"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},{"id":39091,"slug":"39091","resource":"https://api.magentlab.com/api/calc/infant_scalp","description":"Greenes 2001 infant scalp score: age points (0-2 months → 3; 3-5 → 2; 6-11 → 1; 12-24 months → 0) plus caller-assigned hematoma size (0 none, 1 small, 2 medium, 3 large) and location (0 frontal, 1 occipital, 2 temporal/parietal). Total 0-8. magent does not examine the scalp, measure the hematoma, or decide CT. Does not apply later ≥4 clinically important TBI cuts.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_months":13,"hematoma_location":0,"hematoma_size":0},{"age_months":13,"hematoma_location":0,"hematoma_size":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Greenes DS, Schutzman SA","doi":"10.1097/00006565-200104000-00002","id":"greenes-2001","pmid":"11334014","source":"Pediatr Emerg Care. 2001;17(2):88-92","title":"Clinical significance of scalp abnormalities in asymptomatic head-injured infants"},"components":[{"factor":"age_months","points":0,"present":true,"value":13},{"factor":"hematoma_size","points":0,"present":true,"value":0},{"factor":"hematoma_location","points":0,"present":true,"value":0}],"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":"infant_scalp","formula_expression":"Infant Scalp Score = age_points + hematoma_size + hematoma_location; age 0-2 mo → 3, 3-5 → 2, 6-11 → 1, ≥12 → 0; size caller-assigned 0-3; location 0 frontal / 1 occipital / 2 temporal-parietal; max 8","max_score":8,"score":0},{"citation":{"authors":"Greenes DS, Schutzman SA","doi":"10.1097/00006565-200104000-00002","id":"greenes-2001","pmid":"11334014","source":"Pediatr Emerg Care. 2001;17(2):88-92","title":"Clinical significance of scalp abnormalities in asymptomatic head-injured infants"},"components":[{"factor":"age_months","points":0,"present":true,"value":13},{"factor":"hematoma_size","points":0,"present":true,"value":0},{"factor":"hematoma_location","points":0,"present":true,"value":0}],"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":"infant_scalp","formula_expression":"Infant Scalp Score = age_points + hematoma_size + hematoma_location; age 0-2 mo → 3, 3-5 → 2, 6-11 → 1, ≥12 → 0; size caller-assigned 0-3; location 0 frontal / 1 occipital / 2 temporal-parietal; max 8","max_score":8,"score":0}],"path":"/api/calc/infant_scalp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_months":{"description":"Age in completed months, integer 0-24 as in Greenes 2001 (infants 0-24 months). Points: 0-2 months → 3; 3-5 → 2; 6-11 → 1; ≥12 → 0. magent does not convert years or days.","type":"integer"},"hematoma_location":{"description":"Caller-assigned hematoma location points (0 frontal, 1 occipital, 2 temporal/parietal). magent does not examine the scalp.","type":"integer"},"hematoma_size":{"description":"Caller-assigned hematoma size points 0-3 (0 none, 1 small, 2 medium, 3 large). magent does not measure the hematoma or invent centimeter cuts.","type":"integer"}},"required":["age_months","hematoma_size","hematoma_location"],"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":["infant-scalp","scalp-hematoma","head-injury","infant","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:41:44.348Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:41:44.198Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_months":13,"hematoma_location":0,"hematoma_size":0},{"age_months":13,"hematoma_location":0,"hematoma_size":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Greenes DS, Schutzman SA","doi":"10.1097/00006565-200104000-00002","id":"greenes-2001","pmid":"11334014","source":"Pediatr Emerg Care. 2001;17(2):88-92","title":"Clinical significance of scalp abnormalities in asymptomatic head-injured infants"},"components":[{"factor":"age_months","points":0,"present":true,"value":13},{"factor":"hematoma_size","points":0,"present":true,"value":0},{"factor":"hematoma_location","points":0,"present":true,"value":0}],"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":"infant_scalp","formula_expression":"Infant Scalp Score = age_points + hematoma_size + hematoma_location; age 0-2 mo → 3, 3-5 → 2, 6-11 → 1, ≥12 → 0; size caller-assigned 0-3; location 0 frontal / 1 occipital / 2 temporal-parietal; max 8","max_score":8,"score":0},{"citation":{"authors":"Greenes DS, Schutzman SA","doi":"10.1097/00006565-200104000-00002","id":"greenes-2001","pmid":"11334014","source":"Pediatr Emerg Care. 2001;17(2):88-92","title":"Clinical significance of scalp abnormalities in asymptomatic head-injured infants"},"components":[{"factor":"age_months","points":0,"present":true,"value":13},{"factor":"hematoma_size","points":0,"present":true,"value":0},{"factor":"hematoma_location","points":0,"present":true,"value":0}],"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":"infant_scalp","formula_expression":"Infant Scalp Score = age_points + hematoma_size + hematoma_location; age 0-2 mo → 3, 3-5 → 2, 6-11 → 1, ≥12 → 0; size caller-assigned 0-3; location 0 frontal / 1 occipital / 2 temporal-parietal; max 8","max_score":8,"score":0}],"path":"/api/calc/infant_scalp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_months":{"description":"Age in completed months, integer 0-24 as in Greenes 2001 (infants 0-24 months). Points: 0-2 months → 3; 3-5 → 2; 6-11 → 1; ≥12 → 0. magent does not convert years or days.","type":"integer"},"hematoma_location":{"description":"Caller-assigned hematoma location points (0 frontal, 1 occipital, 2 temporal/parietal). magent does not examine the scalp.","type":"integer"},"hematoma_size":{"description":"Caller-assigned hematoma size points 0-3 (0 none, 1 small, 2 medium, 3 large). magent does not measure the hematoma or invent centimeter cuts.","type":"integer"}},"required":["age_months","hematoma_size","hematoma_location"],"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},{"id":39092,"slug":"39092","resource":"https://api.magentlab.com/api/calc/improvedd","description":"Gibson 2017 IMPROVEDD VTE score: Spyropoulos 2011 7-factor IMPROVE items (previous VTE 3, known thrombophilia 2, lower-limb paralysis 2, current cancer 2, immobilized >=7 days 1, ICU/CCU 1, age >60 1) plus 2 if caller-assigned D-dimer >=2x ULN. Max 14. low 0-1 vs high >=2 (heightened VTE through 77 days when >=2). Not a VTE diagnosis or prophylaxis order. Not the 4-factor admission model. Not Padua or Caprini. magent does not assay D-dimer.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"current_cancer":false,"d_dimer_ge_2x_uln":false,"icu_ccu_stay":false,"immobilized_ge_7_days":false,"known_thrombophilia":false,"lower_limb_paralysis":false,"previous_vte":false},{"age":50,"current_cancer":false,"d_dimer_ge_2x_uln":false,"icu_ccu_stay":false,"immobilized_ge_7_days":false,"known_thrombophilia":false,"lower_limb_paralysis":false,"previous_vte":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Gibson CM, Spyropoulos AC, Cohen AT, Hull RD, Goldhaber SZ, Yusen RD, Hernandez AF, Korjian S, Daaboul Y, Gold A, Harrington RA, Chi G","doi":"10.1055/s-0037-1603929","id":"gibson-2017","pmid":"31249911","source":"TH Open. 2017;1(1):e56-e65","title":"The IMPROVEDD VTE Risk Score: Incorporation of D-Dimer into the IMPROVE Score to Improve Venous Thromboembolism Risk Stratification"},"components":[{"factor":"previous_vte","points":0,"present":false},{"factor":"known_thrombophilia","points":0,"present":false},{"factor":"lower_limb_paralysis","points":0,"present":false},{"factor":"current_cancer","points":0,"present":false},{"factor":"immobilized_ge_7_days","points":0,"present":false},{"factor":"icu_ccu_stay","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"d_dimer_ge_2x_uln","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":"improvedd","formula_expression":"IMPROVEDD VTE (Gibson 2017; Spyropoulos 2011 7-factor associative items plus D-dimer >=2x ULN) = previous_vte (3) + known_thrombophilia (2) + lower_limb_paralysis (2) + current_cancer (2) + immobilized_ge_7_days (1) + icu_ccu_stay (1) + age>60 (1) + d_dimer_ge_2x_uln (2); max 14; 0-1 low vs >=2 high (heightened VTE risk through 77 days when >=2); not the 4-factor admission predictive model; not Padua; not Caprini","max_score":14,"score":0,"vte_band":"low"},{"age_years":50,"citation":{"authors":"Gibson CM, Spyropoulos AC, Cohen AT, Hull RD, Goldhaber SZ, Yusen RD, Hernandez AF, Korjian S, Daaboul Y, Gold A, Harrington RA, Chi G","doi":"10.1055/s-0037-1603929","id":"gibson-2017","pmid":"31249911","source":"TH Open. 2017;1(1):e56-e65","title":"The IMPROVEDD VTE Risk Score: Incorporation of D-Dimer into the IMPROVE Score to Improve Venous Thromboembolism Risk Stratification"},"components":[{"factor":"previous_vte","points":0,"present":false},{"factor":"known_thrombophilia","points":0,"present":false},{"factor":"lower_limb_paralysis","points":0,"present":false},{"factor":"current_cancer","points":0,"present":false},{"factor":"immobilized_ge_7_days","points":0,"present":false},{"factor":"icu_ccu_stay","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"d_dimer_ge_2x_uln","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":"improvedd","formula_expression":"IMPROVEDD VTE (Gibson 2017; Spyropoulos 2011 7-factor associative items plus D-dimer >=2x ULN) = previous_vte (3) + known_thrombophilia (2) + lower_limb_paralysis (2) + current_cancer (2) + immobilized_ge_7_days (1) + icu_ccu_stay (1) + age>60 (1) + d_dimer_ge_2x_uln (2); max 14; 0-1 low vs >=2 high (heightened VTE risk through 77 days when >=2); not the 4-factor admission predictive model; not Padua; not Caprini","max_score":14,"score":0,"vte_band":"low"}],"path":"/api/calc/improvedd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Scores 1 when age >60 (Spyropoulos 2011 / Gibson 2017). Age 60 scores 0; age 61 scores 1.","type":"integer"},"current_cancer":{"description":"Current cancer as assigned by the caller (Spyropoulos 2011 / Gibson 2017). true or false. 2 points if true. magent does not diagnose cancer.","type":"boolean"},"d_dimer_ge_2x_uln":{"description":"D-dimer >=2x the local upper limit of normal as assigned by the caller (Gibson 2017). true or false. 2 points if true. magent does not assay D-dimer.","type":"boolean"},"icu_ccu_stay":{"description":"ICU or CCU stay as assigned by the caller (Spyropoulos 2011 / Gibson 2017, during hospitalization). true or false. 1 point if true. magent does not assign level of care.","type":"boolean"},"immobilized_ge_7_days":{"description":"Immobilized >=7 days as assigned by the caller (Spyropoulos 2011 / Gibson 2017, during hospitalization). true or false. 1 point if true. magent does not observe mobility.","type":"boolean"},"known_thrombophilia":{"description":"Known thrombophilia as assigned by the caller (Spyropoulos 2011 / Gibson 2017). true or false. 2 points if true. magent does not interpret a thrombophilia panel.","type":"boolean"},"lower_limb_paralysis":{"description":"Lower-limb paralysis as assigned by the caller (Spyropoulos 2011 / Gibson 2017). true or false. 2 points if true. magent does not examine the patient.","type":"boolean"},"previous_vte":{"description":"Previous VTE as assigned by the caller (Spyropoulos 2011 7-factor associative items in Gibson 2017 IMPROVEDD). true or false. 3 points if true. magent does not diagnose VTE.","type":"boolean"}},"required":["age","previous_vte","known_thrombophilia","lower_limb_paralysis","current_cancer","immobilized_ge_7_days","icu_ccu_stay","d_dimer_ge_2x_uln"],"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":["improvedd","vte","thrombosis","d-dimer","hospital","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:37:16.298Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:37:16.163Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"current_cancer":false,"d_dimer_ge_2x_uln":false,"icu_ccu_stay":false,"immobilized_ge_7_days":false,"known_thrombophilia":false,"lower_limb_paralysis":false,"previous_vte":false},{"age":50,"current_cancer":false,"d_dimer_ge_2x_uln":false,"icu_ccu_stay":false,"immobilized_ge_7_days":false,"known_thrombophilia":false,"lower_limb_paralysis":false,"previous_vte":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Gibson CM, Spyropoulos AC, Cohen AT, Hull RD, Goldhaber SZ, Yusen RD, Hernandez AF, Korjian S, Daaboul Y, Gold A, Harrington RA, Chi G","doi":"10.1055/s-0037-1603929","id":"gibson-2017","pmid":"31249911","source":"TH Open. 2017;1(1):e56-e65","title":"The IMPROVEDD VTE Risk Score: Incorporation of D-Dimer into the IMPROVE Score to Improve Venous Thromboembolism Risk Stratification"},"components":[{"factor":"previous_vte","points":0,"present":false},{"factor":"known_thrombophilia","points":0,"present":false},{"factor":"lower_limb_paralysis","points":0,"present":false},{"factor":"current_cancer","points":0,"present":false},{"factor":"immobilized_ge_7_days","points":0,"present":false},{"factor":"icu_ccu_stay","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"d_dimer_ge_2x_uln","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":"improvedd","formula_expression":"IMPROVEDD VTE (Gibson 2017; Spyropoulos 2011 7-factor associative items plus D-dimer >=2x ULN) = previous_vte (3) + known_thrombophilia (2) + lower_limb_paralysis (2) + current_cancer (2) + immobilized_ge_7_days (1) + icu_ccu_stay (1) + age>60 (1) + d_dimer_ge_2x_uln (2); max 14; 0-1 low vs >=2 high (heightened VTE risk through 77 days when >=2); not the 4-factor admission predictive model; not Padua; not Caprini","max_score":14,"score":0,"vte_band":"low"},{"age_years":50,"citation":{"authors":"Gibson CM, Spyropoulos AC, Cohen AT, Hull RD, Goldhaber SZ, Yusen RD, Hernandez AF, Korjian S, Daaboul Y, Gold A, Harrington RA, Chi G","doi":"10.1055/s-0037-1603929","id":"gibson-2017","pmid":"31249911","source":"TH Open. 2017;1(1):e56-e65","title":"The IMPROVEDD VTE Risk Score: Incorporation of D-Dimer into the IMPROVE Score to Improve Venous Thromboembolism Risk Stratification"},"components":[{"factor":"previous_vte","points":0,"present":false},{"factor":"known_thrombophilia","points":0,"present":false},{"factor":"lower_limb_paralysis","points":0,"present":false},{"factor":"current_cancer","points":0,"present":false},{"factor":"immobilized_ge_7_days","points":0,"present":false},{"factor":"icu_ccu_stay","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"d_dimer_ge_2x_uln","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":"improvedd","formula_expression":"IMPROVEDD VTE (Gibson 2017; Spyropoulos 2011 7-factor associative items plus D-dimer >=2x ULN) = previous_vte (3) + known_thrombophilia (2) + lower_limb_paralysis (2) + current_cancer (2) + immobilized_ge_7_days (1) + icu_ccu_stay (1) + age>60 (1) + d_dimer_ge_2x_uln (2); max 14; 0-1 low vs >=2 high (heightened VTE risk through 77 days when >=2); not the 4-factor admission predictive model; not Padua; not Caprini","max_score":14,"score":0,"vte_band":"low"}],"path":"/api/calc/improvedd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Scores 1 when age >60 (Spyropoulos 2011 / Gibson 2017). Age 60 scores 0; age 61 scores 1.","type":"integer"},"current_cancer":{"description":"Current cancer as assigned by the caller (Spyropoulos 2011 / Gibson 2017). true or false. 2 points if true. magent does not diagnose cancer.","type":"boolean"},"d_dimer_ge_2x_uln":{"description":"D-dimer >=2x the local upper limit of normal as assigned by the caller (Gibson 2017). true or false. 2 points if true. magent does not assay D-dimer.","type":"boolean"},"icu_ccu_stay":{"description":"ICU or CCU stay as assigned by the caller (Spyropoulos 2011 / Gibson 2017, during hospitalization). true or false. 1 point if true. magent does not assign level of care.","type":"boolean"},"immobilized_ge_7_days":{"description":"Immobilized >=7 days as assigned by the caller (Spyropoulos 2011 / Gibson 2017, during hospitalization). true or false. 1 point if true. magent does not observe mobility.","type":"boolean"},"known_thrombophilia":{"description":"Known thrombophilia as assigned by the caller (Spyropoulos 2011 / Gibson 2017). true or false. 2 points if true. magent does not interpret a thrombophilia panel.","type":"boolean"},"lower_limb_paralysis":{"description":"Lower-limb paralysis as assigned by the caller (Spyropoulos 2011 / Gibson 2017). true or false. 2 points if true. magent does not examine the patient.","type":"boolean"},"previous_vte":{"description":"Previous VTE as assigned by the caller (Spyropoulos 2011 7-factor associative items in Gibson 2017 IMPROVEDD). true or false. 3 points if true. magent does not diagnose VTE.","type":"boolean"}},"required":["age","previous_vte","known_thrombophilia","lower_limb_paralysis","current_cancer","immobilized_ge_7_days","icu_ccu_stay","d_dimer_ge_2x_uln"],"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},{"id":39093,"slug":"39093","resource":"https://api.magentlab.com/api/calc/improve_vte","description":"Spyropoulos 2011 7-factor associative IMPROVE VTE score during hospitalization: previous VTE 3, known thrombophilia 2, lower-limb paralysis 2, current cancer 2, immobilized >=7 days 1, ICU/CCU stay 1, age >60 1. Max 12. Bands: 0-1; 2-3 (observed VTE 1.5%); >=4 (observed VTE 5.7%). Not a VTE diagnosis or prophylaxis order. Not the 4-factor admission predictive model. Not IMPROVEDD. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"current_cancer":false,"icu_ccu_stay":false,"immobilized_ge_7_days":false,"known_thrombophilia":false,"lower_limb_paralysis":false,"previous_vte":false},{"age":50,"current_cancer":false,"icu_ccu_stay":false,"immobilized_ge_7_days":false,"known_thrombophilia":false,"lower_limb_paralysis":false,"previous_vte":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Spyropoulos AC, Anderson FA Jr, FitzGerald G, Decousus H, Pini M, Chong BH, Zotz RB, Bergmann JF, Tapson VF, Froehlich JB, Monreal M, Merli GJ, Pavanello R, Turpie AGG, Nakamura M, Piovella F, Kakkar AK, Spencer FA, IMPROVE Investigators","doi":"10.1378/chest.10-1944","id":"spyropoulos-2011","pmid":"21436241","source":"Chest. 2011;140(3):706-714","title":"Predictive and associative models to identify hospitalized medical patients at risk for VTE"},"components":[{"factor":"previous_vte","points":0,"present":false},{"factor":"known_thrombophilia","points":0,"present":false},{"factor":"lower_limb_paralysis","points":0,"present":false},{"factor":"current_cancer","points":0,"present":false},{"factor":"immobilized_ge_7_days","points":0,"present":false},{"factor":"icu_ccu_stay","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50}],"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":"improve_vte","formula_expression":"IMPROVE VTE (Spyropoulos 2011 7-factor associative during hospitalization) = previous_vte (3) + known_thrombophilia (2) + lower_limb_paralysis (2) + current_cancer (2) + immobilized_ge_7_days (1) + icu_ccu_stay (1) + age>60 (1); max 12; 0-1, 2-3 (observed VTE 1.5%), >=4 (observed VTE 5.7%); not the 4-factor admission predictive model; not IMPROVEDD","max_score":12,"score":0,"vte_band":"0-1"},{"age_years":50,"citation":{"authors":"Spyropoulos AC, Anderson FA Jr, FitzGerald G, Decousus H, Pini M, Chong BH, Zotz RB, Bergmann JF, Tapson VF, Froehlich JB, Monreal M, Merli GJ, Pavanello R, Turpie AGG, Nakamura M, Piovella F, Kakkar AK, Spencer FA, IMPROVE Investigators","doi":"10.1378/chest.10-1944","id":"spyropoulos-2011","pmid":"21436241","source":"Chest. 2011;140(3):706-714","title":"Predictive and associative models to identify hospitalized medical patients at risk for VTE"},"components":[{"factor":"previous_vte","points":0,"present":false},{"factor":"known_thrombophilia","points":0,"present":false},{"factor":"lower_limb_paralysis","points":0,"present":false},{"factor":"current_cancer","points":0,"present":false},{"factor":"immobilized_ge_7_days","points":0,"present":false},{"factor":"icu_ccu_stay","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50}],"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":"improve_vte","formula_expression":"IMPROVE VTE (Spyropoulos 2011 7-factor associative during hospitalization) = previous_vte (3) + known_thrombophilia (2) + lower_limb_paralysis (2) + current_cancer (2) + immobilized_ge_7_days (1) + icu_ccu_stay (1) + age>60 (1); max 12; 0-1, 2-3 (observed VTE 1.5%), >=4 (observed VTE 5.7%); not the 4-factor admission predictive model; not IMPROVEDD","max_score":12,"score":0,"vte_band":"0-1"}],"path":"/api/calc/improve_vte"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Scores 1 when age >60 (Spyropoulos 2011). Age 60 scores 0; age 61 scores 1.","type":"integer"},"current_cancer":{"description":"Current cancer as assigned by the caller (Spyropoulos 2011). true or false. 2 points if true. magent does not diagnose cancer.","type":"boolean"},"icu_ccu_stay":{"description":"ICU or CCU stay as assigned by the caller (Spyropoulos 2011, during hospitalization). true or false. 1 point if true. magent does not assign level of care.","type":"boolean"},"immobilized_ge_7_days":{"description":"Immobilized ≥7 days as assigned by the caller (Spyropoulos 2011, during hospitalization). true or false. 1 point if true. magent does not observe mobility.","type":"boolean"},"known_thrombophilia":{"description":"Known thrombophilia as assigned by the caller (Spyropoulos 2011). true or false. 2 points if true. magent does not interpret a thrombophilia panel.","type":"boolean"},"lower_limb_paralysis":{"description":"Lower-limb paralysis as assigned by the caller (Spyropoulos 2011). true or false. 2 points if true. magent does not examine the patient.","type":"boolean"},"previous_vte":{"description":"Previous VTE as assigned by the caller (Spyropoulos 2011 7-factor associative model). true or false. 3 points if true. magent does not diagnose VTE.","type":"boolean"}},"required":["age","previous_vte","known_thrombophilia","lower_limb_paralysis","current_cancer","immobilized_ge_7_days","icu_ccu_stay"],"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":["improve-vte","vte","thrombosis","hospital","score","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:37:15.456Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:37:15.313Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"current_cancer":false,"icu_ccu_stay":false,"immobilized_ge_7_days":false,"known_thrombophilia":false,"lower_limb_paralysis":false,"previous_vte":false},{"age":50,"current_cancer":false,"icu_ccu_stay":false,"immobilized_ge_7_days":false,"known_thrombophilia":false,"lower_limb_paralysis":false,"previous_vte":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Spyropoulos AC, Anderson FA Jr, FitzGerald G, Decousus H, Pini M, Chong BH, Zotz RB, Bergmann JF, Tapson VF, Froehlich JB, Monreal M, Merli GJ, Pavanello R, Turpie AGG, Nakamura M, Piovella F, Kakkar AK, Spencer FA, IMPROVE Investigators","doi":"10.1378/chest.10-1944","id":"spyropoulos-2011","pmid":"21436241","source":"Chest. 2011;140(3):706-714","title":"Predictive and associative models to identify hospitalized medical patients at risk for VTE"},"components":[{"factor":"previous_vte","points":0,"present":false},{"factor":"known_thrombophilia","points":0,"present":false},{"factor":"lower_limb_paralysis","points":0,"present":false},{"factor":"current_cancer","points":0,"present":false},{"factor":"immobilized_ge_7_days","points":0,"present":false},{"factor":"icu_ccu_stay","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50}],"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":"improve_vte","formula_expression":"IMPROVE VTE (Spyropoulos 2011 7-factor associative during hospitalization) = previous_vte (3) + known_thrombophilia (2) + lower_limb_paralysis (2) + current_cancer (2) + immobilized_ge_7_days (1) + icu_ccu_stay (1) + age>60 (1); max 12; 0-1, 2-3 (observed VTE 1.5%), >=4 (observed VTE 5.7%); not the 4-factor admission predictive model; not IMPROVEDD","max_score":12,"score":0,"vte_band":"0-1"},{"age_years":50,"citation":{"authors":"Spyropoulos AC, Anderson FA Jr, FitzGerald G, Decousus H, Pini M, Chong BH, Zotz RB, Bergmann JF, Tapson VF, Froehlich JB, Monreal M, Merli GJ, Pavanello R, Turpie AGG, Nakamura M, Piovella F, Kakkar AK, Spencer FA, IMPROVE Investigators","doi":"10.1378/chest.10-1944","id":"spyropoulos-2011","pmid":"21436241","source":"Chest. 2011;140(3):706-714","title":"Predictive and associative models to identify hospitalized medical patients at risk for VTE"},"components":[{"factor":"previous_vte","points":0,"present":false},{"factor":"known_thrombophilia","points":0,"present":false},{"factor":"lower_limb_paralysis","points":0,"present":false},{"factor":"current_cancer","points":0,"present":false},{"factor":"immobilized_ge_7_days","points":0,"present":false},{"factor":"icu_ccu_stay","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50}],"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":"improve_vte","formula_expression":"IMPROVE VTE (Spyropoulos 2011 7-factor associative during hospitalization) = previous_vte (3) + known_thrombophilia (2) + lower_limb_paralysis (2) + current_cancer (2) + immobilized_ge_7_days (1) + icu_ccu_stay (1) + age>60 (1); max 12; 0-1, 2-3 (observed VTE 1.5%), >=4 (observed VTE 5.7%); not the 4-factor admission predictive model; not IMPROVEDD","max_score":12,"score":0,"vte_band":"0-1"}],"path":"/api/calc/improve_vte"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Scores 1 when age >60 (Spyropoulos 2011). Age 60 scores 0; age 61 scores 1.","type":"integer"},"current_cancer":{"description":"Current cancer as assigned by the caller (Spyropoulos 2011). true or false. 2 points if true. magent does not diagnose cancer.","type":"boolean"},"icu_ccu_stay":{"description":"ICU or CCU stay as assigned by the caller (Spyropoulos 2011, during hospitalization). true or false. 1 point if true. magent does not assign level of care.","type":"boolean"},"immobilized_ge_7_days":{"description":"Immobilized ≥7 days as assigned by the caller (Spyropoulos 2011, during hospitalization). true or false. 1 point if true. magent does not observe mobility.","type":"boolean"},"known_thrombophilia":{"description":"Known thrombophilia as assigned by the caller (Spyropoulos 2011). true or false. 2 points if true. magent does not interpret a thrombophilia panel.","type":"boolean"},"lower_limb_paralysis":{"description":"Lower-limb paralysis as assigned by the caller (Spyropoulos 2011). true or false. 2 points if true. magent does not examine the patient.","type":"boolean"},"previous_vte":{"description":"Previous VTE as assigned by the caller (Spyropoulos 2011 7-factor associative model). true or false. 3 points if true. magent does not diagnose VTE.","type":"boolean"}},"required":["age","previous_vte","known_thrombophilia","lower_limb_paralysis","current_cancer","immobilized_ge_7_days","icu_ccu_stay"],"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},{"id":39094,"slug":"39094","resource":"https://api.magentlab.com/api/calc/improve_bleed","description":"Decousus 2011 IMPROVE admission bleeding-risk score: ulcer 4.5, prior bleeding 4, platelets <50 4, age >=85 3.5, hepatic failure 2.5, severe renal failure 2.5, ICU/CCU 2.5, CVC 2, rheumatic disease 2, current cancer 2, age 40-84 1.5, male 1, moderate renal failure 1. Max 30.5. Increased risk at >=7. Not a VTE-prophylaxis order. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"active_gastroduodenal_ulcer":false,"age":35,"central_venous_catheter":false,"current_cancer":false,"hepatic_failure":false,"icu_ccu":false,"platelet_count_lt_50":false,"prior_bleeding":false,"renal_failure":"none","rheumatic_disease":false,"sex":"female"},{"active_gastroduodenal_ulcer":false,"age":35,"central_venous_catheter":false,"current_cancer":false,"hepatic_failure":false,"icu_ccu":false,"platelet_count_lt_50":false,"prior_bleeding":false,"renal_failure":"none","rheumatic_disease":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":35,"bleed_band":"not_increased","citation":{"authors":"Decousus H, Tapson VF, Bergmann JF, Chong BH, Froehlich JB, Kakkar AK, et al.","doi":"10.1378/chest.09-3081","id":"decousus-2011","pmid":"20453069","source":"Chest. 2011;139(1):69-79","title":"Factors at admission associated with bleeding risk in medical patients: findings from the IMPROVE investigators"},"components":[{"factor":"active_gastroduodenal_ulcer","points":0,"present":false},{"factor":"prior_bleeding","points":0,"present":false},{"factor":"platelet_count_lt_50","points":0,"present":false},{"factor":"age_ge_85","points":0,"present":false,"value":35},{"factor":"hepatic_failure","points":0,"present":false},{"factor":"severe_renal_failure","points":0,"present":false},{"factor":"icu_ccu","points":0,"present":false},{"factor":"central_venous_catheter","points":0,"present":false},{"factor":"rheumatic_disease","points":0,"present":false},{"factor":"current_cancer","points":0,"present":false},{"factor":"age_40_84","points":0,"present":false,"value":35},{"factor":"male_sex","points":0,"present":false},{"factor":"moderate_renal_failure","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":"improve_bleed","formula_expression":"IMPROVE bleed (Decousus 2011 admission) = active_gastroduodenal_ulcer (4.5) + prior_bleeding (4) + platelet_count_lt_50 (4) + age>=85 (3.5) + hepatic_failure INR>1.5 (2.5) + severe_renal_failure GFR<30 (2.5) + icu_ccu (2.5) + central_venous_catheter (2) + rheumatic_disease (2) + current_cancer (2) + age 40-84 (1.5) + male (1) + moderate_renal_failure GFR 30-59 (1); max 30.5; <7 not_increased, >=7 increased; half-points not integer-rounded; not Hostler 2016; not IMPROVE VTE","max_score":30.5,"renal_failure":"none","score":0,"sex":"female"},{"age_years":35,"bleed_band":"not_increased","citation":{"authors":"Decousus H, Tapson VF, Bergmann JF, Chong BH, Froehlich JB, Kakkar AK, et al.","doi":"10.1378/chest.09-3081","id":"decousus-2011","pmid":"20453069","source":"Chest. 2011;139(1):69-79","title":"Factors at admission associated with bleeding risk in medical patients: findings from the IMPROVE investigators"},"components":[{"factor":"active_gastroduodenal_ulcer","points":0,"present":false},{"factor":"prior_bleeding","points":0,"present":false},{"factor":"platelet_count_lt_50","points":0,"present":false},{"factor":"age_ge_85","points":0,"present":false,"value":35},{"factor":"hepatic_failure","points":0,"present":false},{"factor":"severe_renal_failure","points":0,"present":false},{"factor":"icu_ccu","points":0,"present":false},{"factor":"central_venous_catheter","points":0,"present":false},{"factor":"rheumatic_disease","points":0,"present":false},{"factor":"current_cancer","points":0,"present":false},{"factor":"age_40_84","points":0,"present":false,"value":35},{"factor":"male_sex","points":0,"present":false},{"factor":"moderate_renal_failure","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":"improve_bleed","formula_expression":"IMPROVE bleed (Decousus 2011 admission) = active_gastroduodenal_ulcer (4.5) + prior_bleeding (4) + platelet_count_lt_50 (4) + age>=85 (3.5) + hepatic_failure INR>1.5 (2.5) + severe_renal_failure GFR<30 (2.5) + icu_ccu (2.5) + central_venous_catheter (2) + rheumatic_disease (2) + current_cancer (2) + age 40-84 (1.5) + male (1) + moderate_renal_failure GFR 30-59 (1); max 30.5; <7 not_increased, >=7 increased; half-points not integer-rounded; not Hostler 2016; not IMPROVE VTE","max_score":30.5,"renal_failure":"none","score":0,"sex":"female"}],"path":"/api/calc/improve_bleed"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_gastroduodenal_ulcer":{"description":"Active gastroduodenal ulcer as assigned by the caller (Decousus 2011). true or false. 4.5 points if true. magent does not examine the patient.","type":"boolean"},"age":{"description":"Age in years (18-120). Decousus 2011 bands: <40 scores 0, 40-84 scores 1.5, >=85 scores 3.5. Age 39 scores 0; age 40 scores 1.5; age 84 scores 1.5; age 85 scores 3.5. Bands are mutually exclusive.","type":"integer"},"central_venous_catheter":{"description":"Central venous catheter as assigned by the caller (Decousus 2011). true or false. 2 points if true. magent does not examine the patient.","type":"boolean"},"current_cancer":{"description":"Current cancer as assigned by the caller (Decousus 2011). true or false. 2 points if true. magent does not diagnose cancer.","type":"boolean"},"hepatic_failure":{"description":"Hepatic failure (INR >1.5) as assigned by the caller (Decousus 2011). true or false. 2.5 points if true. magent does not assay INR.","type":"boolean"},"icu_ccu":{"description":"ICU or CCU stay as assigned by the caller (Decousus 2011). true or false. 2.5 points if true. magent does not assign level of care.","type":"boolean"},"platelet_count_lt_50":{"description":"Platelet count <50 x 10^9/L at admission as assigned by the caller (Decousus 2011). true or false. 4 points if true. magent does not assay platelets.","type":"boolean"},"prior_bleeding":{"description":"Bleeding during the 3 months before admission as assigned by the caller (Decousus 2011). true or false. 4 points if true. magent does not take a bleeding history.","type":"boolean"},"renal_failure":{"description":"none, moderate, or severe as assigned by the caller (Decousus 2011). none is GFR >=60 mL/min/m2 (0 points); moderate is GFR 30-59 (1 point); severe is GFR <30 (2.5 points). Bands are mutually exclusive. magent does not compute GFR.","type":"string"},"rheumatic_disease":{"description":"Rheumatic disease as assigned by the caller (Decousus 2011). true or false. 2 points if true. magent does not diagnose rheumatic disease.","type":"boolean"},"sex":{"description":"male or female (Decousus 2011). Male scores 1; female scores 0. magent does not examine the patient.","type":"string"}},"required":["age","sex","renal_failure","active_gastroduodenal_ulcer","prior_bleeding","platelet_count_lt_50","hepatic_failure","icu_ccu","central_venous_catheter","rheumatic_disease","current_cancer"],"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":["improve-bleed","bleeding","vte","hospital","score","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:37:14.709Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:37:14.527Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"active_gastroduodenal_ulcer":false,"age":35,"central_venous_catheter":false,"current_cancer":false,"hepatic_failure":false,"icu_ccu":false,"platelet_count_lt_50":false,"prior_bleeding":false,"renal_failure":"none","rheumatic_disease":false,"sex":"female"},{"active_gastroduodenal_ulcer":false,"age":35,"central_venous_catheter":false,"current_cancer":false,"hepatic_failure":false,"icu_ccu":false,"platelet_count_lt_50":false,"prior_bleeding":false,"renal_failure":"none","rheumatic_disease":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":35,"bleed_band":"not_increased","citation":{"authors":"Decousus H, Tapson VF, Bergmann JF, Chong BH, Froehlich JB, Kakkar AK, et al.","doi":"10.1378/chest.09-3081","id":"decousus-2011","pmid":"20453069","source":"Chest. 2011;139(1):69-79","title":"Factors at admission associated with bleeding risk in medical patients: findings from the IMPROVE investigators"},"components":[{"factor":"active_gastroduodenal_ulcer","points":0,"present":false},{"factor":"prior_bleeding","points":0,"present":false},{"factor":"platelet_count_lt_50","points":0,"present":false},{"factor":"age_ge_85","points":0,"present":false,"value":35},{"factor":"hepatic_failure","points":0,"present":false},{"factor":"severe_renal_failure","points":0,"present":false},{"factor":"icu_ccu","points":0,"present":false},{"factor":"central_venous_catheter","points":0,"present":false},{"factor":"rheumatic_disease","points":0,"present":false},{"factor":"current_cancer","points":0,"present":false},{"factor":"age_40_84","points":0,"present":false,"value":35},{"factor":"male_sex","points":0,"present":false},{"factor":"moderate_renal_failure","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":"improve_bleed","formula_expression":"IMPROVE bleed (Decousus 2011 admission) = active_gastroduodenal_ulcer (4.5) + prior_bleeding (4) + platelet_count_lt_50 (4) + age>=85 (3.5) + hepatic_failure INR>1.5 (2.5) + severe_renal_failure GFR<30 (2.5) + icu_ccu (2.5) + central_venous_catheter (2) + rheumatic_disease (2) + current_cancer (2) + age 40-84 (1.5) + male (1) + moderate_renal_failure GFR 30-59 (1); max 30.5; <7 not_increased, >=7 increased; half-points not integer-rounded; not Hostler 2016; not IMPROVE VTE","max_score":30.5,"renal_failure":"none","score":0,"sex":"female"},{"age_years":35,"bleed_band":"not_increased","citation":{"authors":"Decousus H, Tapson VF, Bergmann JF, Chong BH, Froehlich JB, Kakkar AK, et al.","doi":"10.1378/chest.09-3081","id":"decousus-2011","pmid":"20453069","source":"Chest. 2011;139(1):69-79","title":"Factors at admission associated with bleeding risk in medical patients: findings from the IMPROVE investigators"},"components":[{"factor":"active_gastroduodenal_ulcer","points":0,"present":false},{"factor":"prior_bleeding","points":0,"present":false},{"factor":"platelet_count_lt_50","points":0,"present":false},{"factor":"age_ge_85","points":0,"present":false,"value":35},{"factor":"hepatic_failure","points":0,"present":false},{"factor":"severe_renal_failure","points":0,"present":false},{"factor":"icu_ccu","points":0,"present":false},{"factor":"central_venous_catheter","points":0,"present":false},{"factor":"rheumatic_disease","points":0,"present":false},{"factor":"current_cancer","points":0,"present":false},{"factor":"age_40_84","points":0,"present":false,"value":35},{"factor":"male_sex","points":0,"present":false},{"factor":"moderate_renal_failure","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":"improve_bleed","formula_expression":"IMPROVE bleed (Decousus 2011 admission) = active_gastroduodenal_ulcer (4.5) + prior_bleeding (4) + platelet_count_lt_50 (4) + age>=85 (3.5) + hepatic_failure INR>1.5 (2.5) + severe_renal_failure GFR<30 (2.5) + icu_ccu (2.5) + central_venous_catheter (2) + rheumatic_disease (2) + current_cancer (2) + age 40-84 (1.5) + male (1) + moderate_renal_failure GFR 30-59 (1); max 30.5; <7 not_increased, >=7 increased; half-points not integer-rounded; not Hostler 2016; not IMPROVE VTE","max_score":30.5,"renal_failure":"none","score":0,"sex":"female"}],"path":"/api/calc/improve_bleed"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_gastroduodenal_ulcer":{"description":"Active gastroduodenal ulcer as assigned by the caller (Decousus 2011). true or false. 4.5 points if true. magent does not examine the patient.","type":"boolean"},"age":{"description":"Age in years (18-120). Decousus 2011 bands: <40 scores 0, 40-84 scores 1.5, >=85 scores 3.5. Age 39 scores 0; age 40 scores 1.5; age 84 scores 1.5; age 85 scores 3.5. Bands are mutually exclusive.","type":"integer"},"central_venous_catheter":{"description":"Central venous catheter as assigned by the caller (Decousus 2011). true or false. 2 points if true. magent does not examine the patient.","type":"boolean"},"current_cancer":{"description":"Current cancer as assigned by the caller (Decousus 2011). true or false. 2 points if true. magent does not diagnose cancer.","type":"boolean"},"hepatic_failure":{"description":"Hepatic failure (INR >1.5) as assigned by the caller (Decousus 2011). true or false. 2.5 points if true. magent does not assay INR.","type":"boolean"},"icu_ccu":{"description":"ICU or CCU stay as assigned by the caller (Decousus 2011). true or false. 2.5 points if true. magent does not assign level of care.","type":"boolean"},"platelet_count_lt_50":{"description":"Platelet count <50 x 10^9/L at admission as assigned by the caller (Decousus 2011). true or false. 4 points if true. magent does not assay platelets.","type":"boolean"},"prior_bleeding":{"description":"Bleeding during the 3 months before admission as assigned by the caller (Decousus 2011). true or false. 4 points if true. magent does not take a bleeding history.","type":"boolean"},"renal_failure":{"description":"none, moderate, or severe as assigned by the caller (Decousus 2011). none is GFR >=60 mL/min/m2 (0 points); moderate is GFR 30-59 (1 point); severe is GFR <30 (2.5 points). Bands are mutually exclusive. magent does not compute GFR.","type":"string"},"rheumatic_disease":{"description":"Rheumatic disease as assigned by the caller (Decousus 2011). true or false. 2 points if true. magent does not diagnose rheumatic disease.","type":"boolean"},"sex":{"description":"male or female (Decousus 2011). Male scores 1; female scores 0. magent does not examine the patient.","type":"string"}},"required":["age","sex","renal_failure","active_gastroduodenal_ulcer","prior_bleeding","platelet_count_lt_50","hepatic_failure","icu_ccu","central_venous_catheter","rheumatic_disease","current_cancer"],"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},{"id":39095,"slug":"39095","resource":"https://api.magentlab.com/api/calc/ie_mortality","description":"Park 2016 ICE Table 5 simplified 6-month IE mortality score: constant 4, age bands (<=45: 0; 46-60: 2; 61-70: 3; >70: 4), and caller-assigned flags (dialysis +3, nosocomial +2, prosthetic +1, symptoms >1 month -1, S. aureus +1, viridans -2, aortic/mitral vegetation +1 each, NYHA 3-4 +3, stroke +2, paravalvular +2, persistent bacteremia +2, surgery -2). Returns score, quadratic mortality percent, and score >= 8. Not a diagnosis. magent does not examine the patient or decide surgery.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"aortic_vegetation":false,"dialysis":false,"mitral_vegetation":false,"nosocomial_ie":false,"nyha_class_3_or_4":false,"paravalvular_complication":false,"persistent_bacteremia":false,"prosthetic_ie":false,"staphylococcus_aureus":false,"stroke":false,"surgical_treatment":false,"symptoms_gt_1_month":false,"viridans_group_streptococci":false},{"age":40,"aortic_vegetation":false,"dialysis":false,"mitral_vegetation":false,"nosocomial_ie":false,"nyha_class_3_or_4":false,"paravalvular_complication":false,"persistent_bacteremia":false,"prosthetic_ie":false,"staphylococcus_aureus":false,"stroke":false,"surgical_treatment":false,"symptoms_gt_1_month":false,"viridans_group_streptococci":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Park LP, Chu VH, Peterson G, et al.","doi":"10.1161/JAHA.115.003016","id":"park-2016","pmid":"27091179","source":"J Am Heart Assoc. 2016;5(4):e003016","title":"Validated Risk Score for Predicting 6-Month Mortality in Infective Endocarditis"},"components":[{"factor":"constant","points":4,"present":true},{"factor":"age","points":0,"present":true,"value":40},{"factor":"dialysis","points":0,"present":false},{"factor":"nosocomial_ie","points":0,"present":false},{"factor":"prosthetic_ie","points":0,"present":false},{"factor":"symptoms_gt_1_month","points":0,"present":false},{"factor":"staphylococcus_aureus","points":0,"present":false},{"factor":"viridans_group_streptococci","points":0,"present":false},{"factor":"aortic_vegetation","points":0,"present":false},{"factor":"mitral_vegetation","points":0,"present":false},{"factor":"nyha_class_3_or_4","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"paravalvular_complication","points":0,"present":false},{"factor":"persistent_bacteremia","points":0,"present":false},{"factor":"surgical_treatment","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":"ie_mortality","formula_expression":"Park 2016 Table 5 simplified IE 6-month mortality score = constant 4 + age (<=45: 0, 46-60: 2, 61-70: 3, >70: 4) + dialysis 3 + nosocomial_ie 2 + prosthetic_ie 1 + symptoms_gt_1_month -1 + staphylococcus_aureus 1 + viridans_group_streptococci -2 + aortic_vegetation 1 + mitral_vegetation 1 + nyha_class_3_or_4 3 + stroke 2 + paravalvular_complication 2 + persistent_bacteremia 2 + surgical_treatment -2; mortality_percent = 2.416*score + 0.109*score*score - 4.849 rounded to 1 decimal (Table 5 footnote); score_ge_8 iff score >= 8 (paper ROC operating point). Not Table 6 quintile bands","mortality_percent":6.6,"score":4,"score_ge_8":false},{"age_years":40,"citation":{"authors":"Park LP, Chu VH, Peterson G, et al.","doi":"10.1161/JAHA.115.003016","id":"park-2016","pmid":"27091179","source":"J Am Heart Assoc. 2016;5(4):e003016","title":"Validated Risk Score for Predicting 6-Month Mortality in Infective Endocarditis"},"components":[{"factor":"constant","points":4,"present":true},{"factor":"age","points":0,"present":true,"value":40},{"factor":"dialysis","points":0,"present":false},{"factor":"nosocomial_ie","points":0,"present":false},{"factor":"prosthetic_ie","points":0,"present":false},{"factor":"symptoms_gt_1_month","points":0,"present":false},{"factor":"staphylococcus_aureus","points":0,"present":false},{"factor":"viridans_group_streptococci","points":0,"present":false},{"factor":"aortic_vegetation","points":0,"present":false},{"factor":"mitral_vegetation","points":0,"present":false},{"factor":"nyha_class_3_or_4","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"paravalvular_complication","points":0,"present":false},{"factor":"persistent_bacteremia","points":0,"present":false},{"factor":"surgical_treatment","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":"ie_mortality","formula_expression":"Park 2016 Table 5 simplified IE 6-month mortality score = constant 4 + age (<=45: 0, 46-60: 2, 61-70: 3, >70: 4) + dialysis 3 + nosocomial_ie 2 + prosthetic_ie 1 + symptoms_gt_1_month -1 + staphylococcus_aureus 1 + viridans_group_streptococci -2 + aortic_vegetation 1 + mitral_vegetation 1 + nyha_class_3_or_4 3 + stroke 2 + paravalvular_complication 2 + persistent_bacteremia 2 + surgical_treatment -2; mortality_percent = 2.416*score + 0.109*score*score - 4.849 rounded to 1 decimal (Table 5 footnote); score_ge_8 iff score >= 8 (paper ROC operating point). Not Table 6 quintile bands","mortality_percent":6.6,"score":4,"score_ge_8":false}],"path":"/api/calc/ie_mortality"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Park 2016 Table 5: <=45 scores 0; 46-60 scores 2; 61-70 scores 3; >70 scores 4. Age 45 scores 0; 46 scores 2; 70 scores 3; 71 scores 4. magent does not examine the patient.","type":"integer"},"aortic_vegetation":{"description":"Aortic vegetation as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. Independent of mitral_vegetation. magent does not read an echocardiogram.","type":"boolean"},"dialysis":{"description":"History of dialysis as assigned by the caller (Park 2016 Table 5). true or false. +3 if true. magent does not review dialysis records.","type":"boolean"},"mitral_vegetation":{"description":"Mitral vegetation as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. Independent of aortic_vegetation. magent does not read an echocardiogram.","type":"boolean"},"nosocomial_ie":{"description":"Nosocomial infective endocarditis as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not classify acquisition.","type":"boolean"},"nyha_class_3_or_4":{"description":"NYHA class 3 or 4 heart failure as assigned by the caller (Park 2016 Table 5). true or false. +3 if true. magent does not examine the patient or assign NYHA class.","type":"boolean"},"paravalvular_complication":{"description":"Paravalvular complication as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not read imaging.","type":"boolean"},"persistent_bacteremia":{"description":"Persistent bacteremia as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not interpret cultures.","type":"boolean"},"prosthetic_ie":{"description":"Prosthetic-valve infective endocarditis as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. magent does not examine the valve.","type":"boolean"},"staphylococcus_aureus":{"description":"Staphylococcus aureus as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. Independent of viridans_group_streptococci; both may be true. magent does not interpret cultures.","type":"boolean"},"stroke":{"description":"Stroke as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not diagnose stroke.","type":"boolean"},"surgical_treatment":{"description":"Surgical treatment as assigned by the caller (Park 2016 Table 5). true or false. -2 if true. magent does not decide surgery.","type":"boolean"},"symptoms_gt_1_month":{"description":"Symptoms for more than 1 month before admission as assigned by the caller (Park 2016 Table 5). true or false. -1 if true. magent does not date symptom onset.","type":"boolean"},"viridans_group_streptococci":{"description":"Viridans group streptococci as assigned by the caller (Park 2016 Table 5). true or false. -2 if true. Independent of staphylococcus_aureus; both may be true. magent does not interpret cultures.","type":"boolean"}},"required":["age","dialysis","nosocomial_ie","prosthetic_ie","symptoms_gt_1_month","staphylococcus_aureus","viridans_group_streptococci","aortic_vegetation","mitral_vegetation","nyha_class_3_or_4","stroke","paravalvular_complication","persistent_bacteremia","surgical_treatment"],"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":["ie-mortality","endocarditis","infection","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:32:07.15Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:32:06.87Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"aortic_vegetation":false,"dialysis":false,"mitral_vegetation":false,"nosocomial_ie":false,"nyha_class_3_or_4":false,"paravalvular_complication":false,"persistent_bacteremia":false,"prosthetic_ie":false,"staphylococcus_aureus":false,"stroke":false,"surgical_treatment":false,"symptoms_gt_1_month":false,"viridans_group_streptococci":false},{"age":40,"aortic_vegetation":false,"dialysis":false,"mitral_vegetation":false,"nosocomial_ie":false,"nyha_class_3_or_4":false,"paravalvular_complication":false,"persistent_bacteremia":false,"prosthetic_ie":false,"staphylococcus_aureus":false,"stroke":false,"surgical_treatment":false,"symptoms_gt_1_month":false,"viridans_group_streptococci":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Park LP, Chu VH, Peterson G, et al.","doi":"10.1161/JAHA.115.003016","id":"park-2016","pmid":"27091179","source":"J Am Heart Assoc. 2016;5(4):e003016","title":"Validated Risk Score for Predicting 6-Month Mortality in Infective Endocarditis"},"components":[{"factor":"constant","points":4,"present":true},{"factor":"age","points":0,"present":true,"value":40},{"factor":"dialysis","points":0,"present":false},{"factor":"nosocomial_ie","points":0,"present":false},{"factor":"prosthetic_ie","points":0,"present":false},{"factor":"symptoms_gt_1_month","points":0,"present":false},{"factor":"staphylococcus_aureus","points":0,"present":false},{"factor":"viridans_group_streptococci","points":0,"present":false},{"factor":"aortic_vegetation","points":0,"present":false},{"factor":"mitral_vegetation","points":0,"present":false},{"factor":"nyha_class_3_or_4","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"paravalvular_complication","points":0,"present":false},{"factor":"persistent_bacteremia","points":0,"present":false},{"factor":"surgical_treatment","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":"ie_mortality","formula_expression":"Park 2016 Table 5 simplified IE 6-month mortality score = constant 4 + age (<=45: 0, 46-60: 2, 61-70: 3, >70: 4) + dialysis 3 + nosocomial_ie 2 + prosthetic_ie 1 + symptoms_gt_1_month -1 + staphylococcus_aureus 1 + viridans_group_streptococci -2 + aortic_vegetation 1 + mitral_vegetation 1 + nyha_class_3_or_4 3 + stroke 2 + paravalvular_complication 2 + persistent_bacteremia 2 + surgical_treatment -2; mortality_percent = 2.416*score + 0.109*score*score - 4.849 rounded to 1 decimal (Table 5 footnote); score_ge_8 iff score >= 8 (paper ROC operating point). Not Table 6 quintile bands","mortality_percent":6.6,"score":4,"score_ge_8":false},{"age_years":40,"citation":{"authors":"Park LP, Chu VH, Peterson G, et al.","doi":"10.1161/JAHA.115.003016","id":"park-2016","pmid":"27091179","source":"J Am Heart Assoc. 2016;5(4):e003016","title":"Validated Risk Score for Predicting 6-Month Mortality in Infective Endocarditis"},"components":[{"factor":"constant","points":4,"present":true},{"factor":"age","points":0,"present":true,"value":40},{"factor":"dialysis","points":0,"present":false},{"factor":"nosocomial_ie","points":0,"present":false},{"factor":"prosthetic_ie","points":0,"present":false},{"factor":"symptoms_gt_1_month","points":0,"present":false},{"factor":"staphylococcus_aureus","points":0,"present":false},{"factor":"viridans_group_streptococci","points":0,"present":false},{"factor":"aortic_vegetation","points":0,"present":false},{"factor":"mitral_vegetation","points":0,"present":false},{"factor":"nyha_class_3_or_4","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"paravalvular_complication","points":0,"present":false},{"factor":"persistent_bacteremia","points":0,"present":false},{"factor":"surgical_treatment","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":"ie_mortality","formula_expression":"Park 2016 Table 5 simplified IE 6-month mortality score = constant 4 + age (<=45: 0, 46-60: 2, 61-70: 3, >70: 4) + dialysis 3 + nosocomial_ie 2 + prosthetic_ie 1 + symptoms_gt_1_month -1 + staphylococcus_aureus 1 + viridans_group_streptococci -2 + aortic_vegetation 1 + mitral_vegetation 1 + nyha_class_3_or_4 3 + stroke 2 + paravalvular_complication 2 + persistent_bacteremia 2 + surgical_treatment -2; mortality_percent = 2.416*score + 0.109*score*score - 4.849 rounded to 1 decimal (Table 5 footnote); score_ge_8 iff score >= 8 (paper ROC operating point). Not Table 6 quintile bands","mortality_percent":6.6,"score":4,"score_ge_8":false}],"path":"/api/calc/ie_mortality"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Park 2016 Table 5: <=45 scores 0; 46-60 scores 2; 61-70 scores 3; >70 scores 4. Age 45 scores 0; 46 scores 2; 70 scores 3; 71 scores 4. magent does not examine the patient.","type":"integer"},"aortic_vegetation":{"description":"Aortic vegetation as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. Independent of mitral_vegetation. magent does not read an echocardiogram.","type":"boolean"},"dialysis":{"description":"History of dialysis as assigned by the caller (Park 2016 Table 5). true or false. +3 if true. magent does not review dialysis records.","type":"boolean"},"mitral_vegetation":{"description":"Mitral vegetation as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. Independent of aortic_vegetation. magent does not read an echocardiogram.","type":"boolean"},"nosocomial_ie":{"description":"Nosocomial infective endocarditis as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not classify acquisition.","type":"boolean"},"nyha_class_3_or_4":{"description":"NYHA class 3 or 4 heart failure as assigned by the caller (Park 2016 Table 5). true or false. +3 if true. magent does not examine the patient or assign NYHA class.","type":"boolean"},"paravalvular_complication":{"description":"Paravalvular complication as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not read imaging.","type":"boolean"},"persistent_bacteremia":{"description":"Persistent bacteremia as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not interpret cultures.","type":"boolean"},"prosthetic_ie":{"description":"Prosthetic-valve infective endocarditis as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. magent does not examine the valve.","type":"boolean"},"staphylococcus_aureus":{"description":"Staphylococcus aureus as assigned by the caller (Park 2016 Table 5). true or false. +1 if true. Independent of viridans_group_streptococci; both may be true. magent does not interpret cultures.","type":"boolean"},"stroke":{"description":"Stroke as assigned by the caller (Park 2016 Table 5). true or false. +2 if true. magent does not diagnose stroke.","type":"boolean"},"surgical_treatment":{"description":"Surgical treatment as assigned by the caller (Park 2016 Table 5). true or false. -2 if true. magent does not decide surgery.","type":"boolean"},"symptoms_gt_1_month":{"description":"Symptoms for more than 1 month before admission as assigned by the caller (Park 2016 Table 5). true or false. -1 if true. magent does not date symptom onset.","type":"boolean"},"viridans_group_streptococci":{"description":"Viridans group streptococci as assigned by the caller (Park 2016 Table 5). true or false. -2 if true. Independent of staphylococcus_aureus; both may be true. magent does not interpret cultures.","type":"boolean"}},"required":["age","dialysis","nosocomial_ie","prosthetic_ie","symptoms_gt_1_month","staphylococcus_aureus","viridans_group_streptococci","aortic_vegetation","mitral_vegetation","nyha_class_3_or_4","stroke","paravalvular_complication","persistent_bacteremia","surgical_treatment"],"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},{"id":39096,"slug":"39096","resource":"https://api.magentlab.com/api/calc/idf_dar","description":"Hassanein 2021 IDF-DAR fasting risk table: type 1 scores 1; duration ≥10 scores 1; hypoglycemia 0/1/3.5/5.5/6.5; HbA1c band 0/1/2; treatment 0/0.5/1/1.5/2/2.5/3; SMBG 0/1/2; DKA/HONC 0/1/2/3; MVD 0/2/6.5; eGFR band 0/2/4/6.5; pregnancy 0/3.5/6.5; frailty 0/3.5/6.5; labour 0/2/4; prior negative Ramadan 1; fasting ≥16 h 1. Low 0–3, moderate 3.5–6, high >6. Caller-assigned; not a fasting order or insulin dose.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_complication":"none","age":50,"duration_ge_10":false,"fasting_hours_ge_16":false,"glycaemic_control":"lt_7_5","home_support":true,"hypoglycemia":"none","impaired_cognition_or_frail":false,"mvd":"none","physical_labor":"none","pregnancy":"not_pregnant","previous_ramadan_negative":false,"renal":"egfr_gt_60","smbg":"as_indicated","treatment":"other","type_1_diabetes":false},{"acute_complication":"none","age":50,"duration_ge_10":false,"fasting_hours_ge_16":false,"glycaemic_control":"lt_7_5","home_support":true,"hypoglycemia":"none","impaired_cognition_or_frail":false,"mvd":"none","physical_labor":"none","pregnancy":"not_pregnant","previous_ramadan_negative":false,"renal":"egfr_gt_60","smbg":"as_indicated","treatment":"other","type_1_diabetes":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Hassanein M, Afandi B, Yakoob Ahmedani M, et al.","doi":"10.1016/j.diabres.2021.109185","id":"hassanein-2021","pmid":"35016991","source":"Diabetes Res Clin Pract. 2022;185:109185","title":"Diabetes and Ramadan: Practical guidelines 2021"},"components":[{"factor":"diabetes_type","points":0,"present":false,"value":false},{"factor":"duration","points":0,"present":false,"value":false},{"factor":"hypoglycemia","points":0,"present":false,"value":"none"},{"factor":"glycaemic_control","points":0,"present":false,"value":"lt_7_5"},{"factor":"treatment","points":0,"present":false,"value":"other"},{"factor":"smbg","points":0,"present":false,"value":"as_indicated"},{"factor":"acute_complication","points":0,"present":false,"value":"none"},{"factor":"mvd","points":0,"present":false,"value":"none"},{"factor":"renal","points":0,"present":false,"value":"egfr_gt_60"},{"factor":"pregnancy","points":0,"present":false,"value":"not_pregnant"},{"factor":"frailty","points":0,"present":false,"value":"none"},{"factor":"physical_labor","points":0,"present":false,"value":"none"},{"factor":"previous_ramadan","points":0,"present":false,"value":false},{"factor":"fasting_hours","points":0,"present":false,"value":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":"idf_dar","formula_expression":"IDF-DAR 2021 = type1 1 / type2 0 + duration>=10 1 + hypoglycemia (unawareness 6.5, recent_severe 5.5, multiple_weekly 3.5, lt_weekly 1, none 0) + hba1c_band (>9% 2, 7.5-9% 1, <7.5% 0) + treatment (multiple_daily_mixed 3, basal_bolus_pump 2.5, once_daily_mixed 2, basal_insulin 1.5, glibenclamide 1, gliclazide_class 0.5, other 0) + smbg (not_conducted 2, suboptimal 1, as_indicated 0) + dka_honc (3mo 3, 6mo 2, 12mo 1, none 0) + mvd (unstable 6.5, stable 2, none 0) + egfr (<30 6.5, 30-45 4, 45-60 2, >60 0) + pregnancy (not_within_targets 6.5, within_targets 3.5, not_pregnant 0) + frailty (impaired_or_frail 6.5, age>70_no_home_support 3.5, none 0) + labor (high 4, moderate 2, none 0) + prior_ramadan_negative 1 + fasting>=16h 1; low 0-3, moderate 3.5-6, high >6; Hassanein 2021 table","max_score":50.5,"risk":"low","score":0},{"age_years":50,"citation":{"authors":"Hassanein M, Afandi B, Yakoob Ahmedani M, et al.","doi":"10.1016/j.diabres.2021.109185","id":"hassanein-2021","pmid":"35016991","source":"Diabetes Res Clin Pract. 2022;185:109185","title":"Diabetes and Ramadan: Practical guidelines 2021"},"components":[{"factor":"diabetes_type","points":0,"present":false,"value":false},{"factor":"duration","points":0,"present":false,"value":false},{"factor":"hypoglycemia","points":0,"present":false,"value":"none"},{"factor":"glycaemic_control","points":0,"present":false,"value":"lt_7_5"},{"factor":"treatment","points":0,"present":false,"value":"other"},{"factor":"smbg","points":0,"present":false,"value":"as_indicated"},{"factor":"acute_complication","points":0,"present":false,"value":"none"},{"factor":"mvd","points":0,"present":false,"value":"none"},{"factor":"renal","points":0,"present":false,"value":"egfr_gt_60"},{"factor":"pregnancy","points":0,"present":false,"value":"not_pregnant"},{"factor":"frailty","points":0,"present":false,"value":"none"},{"factor":"physical_labor","points":0,"present":false,"value":"none"},{"factor":"previous_ramadan","points":0,"present":false,"value":false},{"factor":"fasting_hours","points":0,"present":false,"value":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":"idf_dar","formula_expression":"IDF-DAR 2021 = type1 1 / type2 0 + duration>=10 1 + hypoglycemia (unawareness 6.5, recent_severe 5.5, multiple_weekly 3.5, lt_weekly 1, none 0) + hba1c_band (>9% 2, 7.5-9% 1, <7.5% 0) + treatment (multiple_daily_mixed 3, basal_bolus_pump 2.5, once_daily_mixed 2, basal_insulin 1.5, glibenclamide 1, gliclazide_class 0.5, other 0) + smbg (not_conducted 2, suboptimal 1, as_indicated 0) + dka_honc (3mo 3, 6mo 2, 12mo 1, none 0) + mvd (unstable 6.5, stable 2, none 0) + egfr (<30 6.5, 30-45 4, 45-60 2, >60 0) + pregnancy (not_within_targets 6.5, within_targets 3.5, not_pregnant 0) + frailty (impaired_or_frail 6.5, age>70_no_home_support 3.5, none 0) + labor (high 4, moderate 2, none 0) + prior_ramadan_negative 1 + fasting>=16h 1; low 0-3, moderate 3.5-6, high >6; Hassanein 2021 table","max_score":50.5,"risk":"low","score":0}],"path":"/api/calc/idf_dar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_complication":{"description":"Caller-assigned DKA or HONC recency (Hassanein 2021). none 0; last_12_months 1; last_6_months 2; last_3_months 3.","enum":["none","last_12_months","last_6_months","last_3_months"],"type":"string"},"age":{"description":"Age in years (integer 18-120). Hassanein 2021 frailty band: age >70 with no home support scores 3.5 unless impaired_cognition_or_frail is true (6.5). Age 70 does not enter that band. magent does not read a chart.","type":"integer"},"duration_ge_10":{"description":"Caller-assigned diabetes duration ≥10 years (Hassanein 2021). true scores 1; false (<10 years) scores 0.","type":"boolean"},"fasting_hours_ge_16":{"description":"Caller-assigned fasting hours ≥16 (location; Hassanein 2021). true scores 1; false (<16 hours) scores 0. magent does not advise fasting.","type":"boolean"},"glycaemic_control":{"description":"Caller-assigned HbA1c band (Hassanein 2021). lt_7_5 (<7.5%) scores 0; 7_5_to_9 (7.5–9%) scores 1; gt_9 (>9%) scores 2. magent does not assay glucose or HbA1c.","enum":["lt_7_5","7_5_to_9","gt_9"],"type":"string"},"home_support":{"description":"Caller-assigned home support (Hassanein 2021). When age >70 and this is false and impaired_cognition_or_frail is false, frailty scores 3.5. true or false.","type":"boolean"},"hypoglycemia":{"description":"Caller-assigned hypoglycemia history (Hassanein 2021; highest applicable). none 0; lt_weekly (less than once per week) 1; multiple_weekly 3.5; recent_severe 5.5; unawareness 6.5. magent does not assay glucose.","enum":["none","lt_weekly","multiple_weekly","recent_severe","unawareness"],"type":"string"},"impaired_cognition_or_frail":{"description":"Caller-assigned impaired cognitive function or frailty (Hassanein 2021). true scores 6.5 and supersedes the age>70 / no-home-support band.","type":"boolean"},"mvd":{"description":"Caller-assigned macrovascular disease (Hassanein 2021). none 0; stable 2; unstable 6.5.","enum":["none","stable","unstable"],"type":"string"},"physical_labor":{"description":"Caller-assigned physical labour (Hassanein 2021). none 0; moderate 2; high 4.","enum":["none","moderate","high"],"type":"string"},"pregnancy":{"description":"Caller-assigned pregnancy band (Hassanein 2021). not_pregnant 0; within_targets 3.5; not_within_targets 6.5. magent does not advise fasting.","enum":["not_pregnant","within_targets","not_within_targets"],"type":"string"},"previous_ramadan_negative":{"description":"Caller-assigned overall negative previous Ramadan experience (Hassanein 2021). true scores 1; false scores 0.","type":"boolean"},"renal":{"description":"Caller-assigned eGFR band in mL/min (Hassanein 2021). egfr_gt_60 (>60) 0; egfr_45_to_60 (45–60) 2; egfr_30_to_45 (30–45) 4; egfr_lt_30 (<30) 6.5. magent does not compute eGFR.","enum":["egfr_gt_60","egfr_45_to_60","egfr_30_to_45","egfr_lt_30"],"type":"string"},"smbg":{"description":"Caller-assigned self-monitoring of blood glucose (Hassanein 2021). as_indicated 0; suboptimal 1; not_conducted 2. magent does not assay glucose.","enum":["as_indicated","suboptimal","not_conducted"],"type":"string"},"treatment":{"description":"Caller-assigned treatment (Hassanein 2021). other (diet or metformin-class, no SU or insulin) 0; gliclazide_class (gliclazide/MR, glimepiride, or repaglinide) 0.5; glibenclamide 1; basal_insulin 1.5; once_daily_mixed 2; basal_bolus_pump 2.5; multiple_daily_mixed 3. Not an insulin dose.","enum":["other","gliclazide_class","glibenclamide","basal_insulin","once_daily_mixed","basal_bolus_pump","multiple_daily_mixed"],"type":"string"},"type_1_diabetes":{"description":"Caller-assigned diabetes type (Hassanein 2021). true is type 1 and scores 1; false is type 2 and scores 0. magent does not diagnose diabetes.","type":"boolean"}},"required":["age","type_1_diabetes","duration_ge_10","hypoglycemia","glycaemic_control","treatment","smbg","acute_complication","mvd","renal","pregnancy","impaired_cognition_or_frail","home_support","physical_labor","previous_ramadan_negative","fasting_hours_ge_16"],"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":["idf-dar","ramadan","diabetes","fasting-risk","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:32:05.735Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:32:05.506Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_complication":"none","age":50,"duration_ge_10":false,"fasting_hours_ge_16":false,"glycaemic_control":"lt_7_5","home_support":true,"hypoglycemia":"none","impaired_cognition_or_frail":false,"mvd":"none","physical_labor":"none","pregnancy":"not_pregnant","previous_ramadan_negative":false,"renal":"egfr_gt_60","smbg":"as_indicated","treatment":"other","type_1_diabetes":false},{"acute_complication":"none","age":50,"duration_ge_10":false,"fasting_hours_ge_16":false,"glycaemic_control":"lt_7_5","home_support":true,"hypoglycemia":"none","impaired_cognition_or_frail":false,"mvd":"none","physical_labor":"none","pregnancy":"not_pregnant","previous_ramadan_negative":false,"renal":"egfr_gt_60","smbg":"as_indicated","treatment":"other","type_1_diabetes":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Hassanein M, Afandi B, Yakoob Ahmedani M, et al.","doi":"10.1016/j.diabres.2021.109185","id":"hassanein-2021","pmid":"35016991","source":"Diabetes Res Clin Pract. 2022;185:109185","title":"Diabetes and Ramadan: Practical guidelines 2021"},"components":[{"factor":"diabetes_type","points":0,"present":false,"value":false},{"factor":"duration","points":0,"present":false,"value":false},{"factor":"hypoglycemia","points":0,"present":false,"value":"none"},{"factor":"glycaemic_control","points":0,"present":false,"value":"lt_7_5"},{"factor":"treatment","points":0,"present":false,"value":"other"},{"factor":"smbg","points":0,"present":false,"value":"as_indicated"},{"factor":"acute_complication","points":0,"present":false,"value":"none"},{"factor":"mvd","points":0,"present":false,"value":"none"},{"factor":"renal","points":0,"present":false,"value":"egfr_gt_60"},{"factor":"pregnancy","points":0,"present":false,"value":"not_pregnant"},{"factor":"frailty","points":0,"present":false,"value":"none"},{"factor":"physical_labor","points":0,"present":false,"value":"none"},{"factor":"previous_ramadan","points":0,"present":false,"value":false},{"factor":"fasting_hours","points":0,"present":false,"value":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":"idf_dar","formula_expression":"IDF-DAR 2021 = type1 1 / type2 0 + duration>=10 1 + hypoglycemia (unawareness 6.5, recent_severe 5.5, multiple_weekly 3.5, lt_weekly 1, none 0) + hba1c_band (>9% 2, 7.5-9% 1, <7.5% 0) + treatment (multiple_daily_mixed 3, basal_bolus_pump 2.5, once_daily_mixed 2, basal_insulin 1.5, glibenclamide 1, gliclazide_class 0.5, other 0) + smbg (not_conducted 2, suboptimal 1, as_indicated 0) + dka_honc (3mo 3, 6mo 2, 12mo 1, none 0) + mvd (unstable 6.5, stable 2, none 0) + egfr (<30 6.5, 30-45 4, 45-60 2, >60 0) + pregnancy (not_within_targets 6.5, within_targets 3.5, not_pregnant 0) + frailty (impaired_or_frail 6.5, age>70_no_home_support 3.5, none 0) + labor (high 4, moderate 2, none 0) + prior_ramadan_negative 1 + fasting>=16h 1; low 0-3, moderate 3.5-6, high >6; Hassanein 2021 table","max_score":50.5,"risk":"low","score":0},{"age_years":50,"citation":{"authors":"Hassanein M, Afandi B, Yakoob Ahmedani M, et al.","doi":"10.1016/j.diabres.2021.109185","id":"hassanein-2021","pmid":"35016991","source":"Diabetes Res Clin Pract. 2022;185:109185","title":"Diabetes and Ramadan: Practical guidelines 2021"},"components":[{"factor":"diabetes_type","points":0,"present":false,"value":false},{"factor":"duration","points":0,"present":false,"value":false},{"factor":"hypoglycemia","points":0,"present":false,"value":"none"},{"factor":"glycaemic_control","points":0,"present":false,"value":"lt_7_5"},{"factor":"treatment","points":0,"present":false,"value":"other"},{"factor":"smbg","points":0,"present":false,"value":"as_indicated"},{"factor":"acute_complication","points":0,"present":false,"value":"none"},{"factor":"mvd","points":0,"present":false,"value":"none"},{"factor":"renal","points":0,"present":false,"value":"egfr_gt_60"},{"factor":"pregnancy","points":0,"present":false,"value":"not_pregnant"},{"factor":"frailty","points":0,"present":false,"value":"none"},{"factor":"physical_labor","points":0,"present":false,"value":"none"},{"factor":"previous_ramadan","points":0,"present":false,"value":false},{"factor":"fasting_hours","points":0,"present":false,"value":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":"idf_dar","formula_expression":"IDF-DAR 2021 = type1 1 / type2 0 + duration>=10 1 + hypoglycemia (unawareness 6.5, recent_severe 5.5, multiple_weekly 3.5, lt_weekly 1, none 0) + hba1c_band (>9% 2, 7.5-9% 1, <7.5% 0) + treatment (multiple_daily_mixed 3, basal_bolus_pump 2.5, once_daily_mixed 2, basal_insulin 1.5, glibenclamide 1, gliclazide_class 0.5, other 0) + smbg (not_conducted 2, suboptimal 1, as_indicated 0) + dka_honc (3mo 3, 6mo 2, 12mo 1, none 0) + mvd (unstable 6.5, stable 2, none 0) + egfr (<30 6.5, 30-45 4, 45-60 2, >60 0) + pregnancy (not_within_targets 6.5, within_targets 3.5, not_pregnant 0) + frailty (impaired_or_frail 6.5, age>70_no_home_support 3.5, none 0) + labor (high 4, moderate 2, none 0) + prior_ramadan_negative 1 + fasting>=16h 1; low 0-3, moderate 3.5-6, high >6; Hassanein 2021 table","max_score":50.5,"risk":"low","score":0}],"path":"/api/calc/idf_dar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_complication":{"description":"Caller-assigned DKA or HONC recency (Hassanein 2021). none 0; last_12_months 1; last_6_months 2; last_3_months 3.","enum":["none","last_12_months","last_6_months","last_3_months"],"type":"string"},"age":{"description":"Age in years (integer 18-120). Hassanein 2021 frailty band: age >70 with no home support scores 3.5 unless impaired_cognition_or_frail is true (6.5). Age 70 does not enter that band. magent does not read a chart.","type":"integer"},"duration_ge_10":{"description":"Caller-assigned diabetes duration ≥10 years (Hassanein 2021). true scores 1; false (<10 years) scores 0.","type":"boolean"},"fasting_hours_ge_16":{"description":"Caller-assigned fasting hours ≥16 (location; Hassanein 2021). true scores 1; false (<16 hours) scores 0. magent does not advise fasting.","type":"boolean"},"glycaemic_control":{"description":"Caller-assigned HbA1c band (Hassanein 2021). lt_7_5 (<7.5%) scores 0; 7_5_to_9 (7.5–9%) scores 1; gt_9 (>9%) scores 2. magent does not assay glucose or HbA1c.","enum":["lt_7_5","7_5_to_9","gt_9"],"type":"string"},"home_support":{"description":"Caller-assigned home support (Hassanein 2021). When age >70 and this is false and impaired_cognition_or_frail is false, frailty scores 3.5. true or false.","type":"boolean"},"hypoglycemia":{"description":"Caller-assigned hypoglycemia history (Hassanein 2021; highest applicable). none 0; lt_weekly (less than once per week) 1; multiple_weekly 3.5; recent_severe 5.5; unawareness 6.5. magent does not assay glucose.","enum":["none","lt_weekly","multiple_weekly","recent_severe","unawareness"],"type":"string"},"impaired_cognition_or_frail":{"description":"Caller-assigned impaired cognitive function or frailty (Hassanein 2021). true scores 6.5 and supersedes the age>70 / no-home-support band.","type":"boolean"},"mvd":{"description":"Caller-assigned macrovascular disease (Hassanein 2021). none 0; stable 2; unstable 6.5.","enum":["none","stable","unstable"],"type":"string"},"physical_labor":{"description":"Caller-assigned physical labour (Hassanein 2021). none 0; moderate 2; high 4.","enum":["none","moderate","high"],"type":"string"},"pregnancy":{"description":"Caller-assigned pregnancy band (Hassanein 2021). not_pregnant 0; within_targets 3.5; not_within_targets 6.5. magent does not advise fasting.","enum":["not_pregnant","within_targets","not_within_targets"],"type":"string"},"previous_ramadan_negative":{"description":"Caller-assigned overall negative previous Ramadan experience (Hassanein 2021). true scores 1; false scores 0.","type":"boolean"},"renal":{"description":"Caller-assigned eGFR band in mL/min (Hassanein 2021). egfr_gt_60 (>60) 0; egfr_45_to_60 (45–60) 2; egfr_30_to_45 (30–45) 4; egfr_lt_30 (<30) 6.5. magent does not compute eGFR.","enum":["egfr_gt_60","egfr_45_to_60","egfr_30_to_45","egfr_lt_30"],"type":"string"},"smbg":{"description":"Caller-assigned self-monitoring of blood glucose (Hassanein 2021). as_indicated 0; suboptimal 1; not_conducted 2. magent does not assay glucose.","enum":["as_indicated","suboptimal","not_conducted"],"type":"string"},"treatment":{"description":"Caller-assigned treatment (Hassanein 2021). other (diet or metformin-class, no SU or insulin) 0; gliclazide_class (gliclazide/MR, glimepiride, or repaglinide) 0.5; glibenclamide 1; basal_insulin 1.5; once_daily_mixed 2; basal_bolus_pump 2.5; multiple_daily_mixed 3. Not an insulin dose.","enum":["other","gliclazide_class","glibenclamide","basal_insulin","once_daily_mixed","basal_bolus_pump","multiple_daily_mixed"],"type":"string"},"type_1_diabetes":{"description":"Caller-assigned diabetes type (Hassanein 2021). true is type 1 and scores 1; false is type 2 and scores 0. magent does not diagnose diabetes.","type":"boolean"}},"required":["age","type_1_diabetes","duration_ge_10","hypoglycemia","glycaemic_control","treatment","smbg","acute_complication","mvd","renal","pregnancy","impaired_cognition_or_frail","home_support","physical_labor","previous_ramadan_negative","fasting_hours_ge_16"],"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},{"id":39097,"slug":"39097","resource":"https://api.magentlab.com/api/calc/ibw_devine","description":"Devine ideal body weight and 0.4 adjusted body weight from height, sex, and actual weight. Deterministic published formula with citation; not a dosing recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"height_cm":177.8,"height_in":70,"sex":"male","weight_kg":90,"weight_lb":198},{"height_cm":177.8,"height_in":70,"sex":"male","weight_kg":90,"weight_lb":198}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"actual_weight_kg":90,"adjbw_factor":0.4,"adjbw_kg":79.8,"citation":{"authors":"Devine BJ","doi":null,"id":"devine-1974","source":"Drug Intell Clin Pharm. 1974;8:650-655","title":"Gentamicin therapy"},"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":"devine_ibw_adjbw","formula_expression":"IBW_kg = 50 (male) or 45.5 (female) + 2.3 * (height_in - 60); AdjBW_kg = IBW_kg + 0.4 * (TBW_kg - IBW_kg) when TBW > IBW, else TBW_kg","height_cm":177.8,"height_in":70,"ibw_kg":73,"sex":"male"},{"actual_weight_kg":90,"adjbw_factor":0.4,"adjbw_kg":79.8,"citation":{"authors":"Devine BJ","doi":null,"id":"devine-1974","source":"Drug Intell Clin Pharm. 1974;8:650-655","title":"Gentamicin therapy"},"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":"devine_ibw_adjbw","formula_expression":"IBW_kg = 50 (male) or 45.5 (female) + 2.3 * (height_in - 60); AdjBW_kg = IBW_kg + 0.4 * (TBW_kg - IBW_kg) when TBW > IBW, else TBW_kg","height_cm":177.8,"height_in":70,"ibw_kg":73,"sex":"male"}],"path":"/api/calc/ibw_devine"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Devine uses inches: IBW adds 2.3 kg per inch over 60.","type":"number"},"sex":{"description":"Sex used by Devine (50 kg male, 45.5 kg female base).","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Actual total body weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Actual total body weight in pounds.","type":"number"}},"required":["sex"],"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":["ibw","devine","dosing","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:32:04.097Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:32:03.799Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"height_cm":177.8,"height_in":70,"sex":"male","weight_kg":90,"weight_lb":198},{"height_cm":177.8,"height_in":70,"sex":"male","weight_kg":90,"weight_lb":198}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"actual_weight_kg":90,"adjbw_factor":0.4,"adjbw_kg":79.8,"citation":{"authors":"Devine BJ","doi":null,"id":"devine-1974","source":"Drug Intell Clin Pharm. 1974;8:650-655","title":"Gentamicin therapy"},"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":"devine_ibw_adjbw","formula_expression":"IBW_kg = 50 (male) or 45.5 (female) + 2.3 * (height_in - 60); AdjBW_kg = IBW_kg + 0.4 * (TBW_kg - IBW_kg) when TBW > IBW, else TBW_kg","height_cm":177.8,"height_in":70,"ibw_kg":73,"sex":"male"},{"actual_weight_kg":90,"adjbw_factor":0.4,"adjbw_kg":79.8,"citation":{"authors":"Devine BJ","doi":null,"id":"devine-1974","source":"Drug Intell Clin Pharm. 1974;8:650-655","title":"Gentamicin therapy"},"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":"devine_ibw_adjbw","formula_expression":"IBW_kg = 50 (male) or 45.5 (female) + 2.3 * (height_in - 60); AdjBW_kg = IBW_kg + 0.4 * (TBW_kg - IBW_kg) when TBW > IBW, else TBW_kg","height_cm":177.8,"height_in":70,"ibw_kg":73,"sex":"male"}],"path":"/api/calc/ibw_devine"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Devine uses inches: IBW adds 2.3 kg per inch over 60.","type":"number"},"sex":{"description":"Sex used by Devine (50 kg male, 45.5 kg female base).","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Actual total body weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Actual total body weight in pounds.","type":"number"}},"required":["sex"],"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},{"id":39098,"slug":"39098","resource":"https://api.magentlab.com/api/calc/i_see","description":"Dellon 2022 I-SEE Table I: symptoms 0/1/2/4, food_impaction 0/2/4, stacking complications (hospitalization 4, perforation 15, malnutrition 15, persistent_inflammation 15), inflam endoscopy 0-2, peak eos 0-2, fibro endoscopy 0/1/2/15, histologic fibrosis 2. Max 78. Bands <1 inactive, 1-6 mild, 7-14 moderate, ≥15 severe. magent does not perform endoscopy or count eos. Not EREFS. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"esophageal_perforation":false,"fibro_endoscopy":"none","food_impaction":"none","histologic_fibrosis":false,"hospitalization_eoe":false,"inflam_endoscopy":"localized","malnutrition":false,"peak_eos":"15_60","persistent_inflammation":false,"symptoms":"daily"},{"esophageal_perforation":false,"fibro_endoscopy":"none","food_impaction":"none","histologic_fibrosis":false,"hospitalization_eoe":false,"inflam_endoscopy":"localized","malnutrition":false,"peak_eos":"15_60","persistent_inflammation":false,"symptoms":"daily"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Dellon ES, Khoury P, Muir AB, Liacouras CA, Safroneeva E, Atkins D, Collins MH, Gonsalves N, Falk GW, Spergel JM, Schoepfer AM, Menard-Katcher C, Furuta GT, Aceves S","doi":"10.1016/j.jaci.2022.03.015","id":"dellon-2022","pmid":"35606166","source":"J Allergy Clin Immunol. 2022;150(1):33-47","title":"A Clinical Severity Index for Eosinophilic Esophagitis: Development, Consensus, and Future Directions"},"components":[{"factor":"symptoms","points":2,"present":true,"value":"daily"},{"factor":"food_impaction","points":0,"present":true,"value":"none"},{"factor":"hospitalization_eoe","points":0,"present":false},{"factor":"esophageal_perforation","points":0,"present":false},{"factor":"malnutrition","points":0,"present":false},{"factor":"persistent_inflammation","points":0,"present":false},{"factor":"inflam_endoscopy","points":1,"present":true,"value":"localized"},{"factor":"peak_eos","points":1,"present":true,"value":"15_60"},{"factor":"fibro_endoscopy","points":0,"present":true,"value":"none"},{"factor":"histologic_fibrosis","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.","esophageal_perforation":false,"fibro_endoscopy":"none","food_impaction":"none","formula":"i_see","formula_expression":"I-SEE = symptoms (none 0, weekly 1, daily 2, multiple_or_social 4) + food_impaction (none 0, adult_ge_18 2, child_lt_18 4) + hospitalization_eoe 4 + esophageal_perforation 15 + malnutrition 15 + persistent_inflammation 15 + inflam_endoscopy (none 0, localized 1, diffuse 2) + peak_eos (lt_15 0, 15_60 1, gt_60 2) + fibro_endoscopy (none 0, passes_easily 1, dilation_or_snug 2, cannot_pass_or_repeated 15) + histologic_fibrosis 2; Dellon 2022 Table I; complications stack (each selected feature gets points); exclusive within other rows; bands <1 inactive, 1-6 mild, 7-14 moderate, ≥15 severe; max 78; not EREFS","histologic_fibrosis":false,"hospitalization_eoe":false,"inflam_endoscopy":"localized","isee_band":"mild","malnutrition":false,"max_score":78,"peak_eos":"15_60","persistent_inflammation":false,"score":4,"symptoms":"daily"},{"citation":{"authors":"Dellon ES, Khoury P, Muir AB, Liacouras CA, Safroneeva E, Atkins D, Collins MH, Gonsalves N, Falk GW, Spergel JM, Schoepfer AM, Menard-Katcher C, Furuta GT, Aceves S","doi":"10.1016/j.jaci.2022.03.015","id":"dellon-2022","pmid":"35606166","source":"J Allergy Clin Immunol. 2022;150(1):33-47","title":"A Clinical Severity Index for Eosinophilic Esophagitis: Development, Consensus, and Future Directions"},"components":[{"factor":"symptoms","points":2,"present":true,"value":"daily"},{"factor":"food_impaction","points":0,"present":true,"value":"none"},{"factor":"hospitalization_eoe","points":0,"present":false},{"factor":"esophageal_perforation","points":0,"present":false},{"factor":"malnutrition","points":0,"present":false},{"factor":"persistent_inflammation","points":0,"present":false},{"factor":"inflam_endoscopy","points":1,"present":true,"value":"localized"},{"factor":"peak_eos","points":1,"present":true,"value":"15_60"},{"factor":"fibro_endoscopy","points":0,"present":true,"value":"none"},{"factor":"histologic_fibrosis","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.","esophageal_perforation":false,"fibro_endoscopy":"none","food_impaction":"none","formula":"i_see","formula_expression":"I-SEE = symptoms (none 0, weekly 1, daily 2, multiple_or_social 4) + food_impaction (none 0, adult_ge_18 2, child_lt_18 4) + hospitalization_eoe 4 + esophageal_perforation 15 + malnutrition 15 + persistent_inflammation 15 + inflam_endoscopy (none 0, localized 1, diffuse 2) + peak_eos (lt_15 0, 15_60 1, gt_60 2) + fibro_endoscopy (none 0, passes_easily 1, dilation_or_snug 2, cannot_pass_or_repeated 15) + histologic_fibrosis 2; Dellon 2022 Table I; complications stack (each selected feature gets points); exclusive within other rows; bands <1 inactive, 1-6 mild, 7-14 moderate, ≥15 severe; max 78; not EREFS","histologic_fibrosis":false,"hospitalization_eoe":false,"inflam_endoscopy":"localized","isee_band":"mild","malnutrition":false,"max_score":78,"peak_eos":"15_60","persistent_inflammation":false,"score":4,"symptoms":"daily"}],"path":"/api/calc/i_see"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"esophageal_perforation":{"description":"Caller-assigned esophageal perforation (Dellon 2022 Table I complication; stacks). true (15) or false (0).","type":"boolean"},"fibro_endoscopy":{"description":"Caller-assigned Dellon 2022 Table I fibrostenotic endoscopy (rings, strictures): none (0), passes_easily (1; present but endoscope passes easily), dilation_or_snug (2; requires dilation or is a snug pass), or cannot_pass_or_repeated (15; cannot pass a standard endoscope; repeated dilations in an adult ≥18; or any dilation in a child <18). The caller assigns the 15-point token; magent does not take a separate age parameter. magent does not perform endoscopy.","enum":["none","passes_easily","dilation_or_snug","cannot_pass_or_repeated"],"type":"string"},"food_impaction":{"description":"Caller-assigned Dellon 2022 Table I food impaction with ER visit or endoscopy: none (0), adult_ge_18 (2; patient ≥18 years), or child_lt_18 (4; patient <18 years). The caller assigns the age-specific token; magent does not take a separate age parameter.","enum":["none","adult_ge_18","child_lt_18"],"type":"string"},"histologic_fibrosis":{"description":"Caller-assigned Dellon 2022 Table I histologic fibrosis: true (2; basal zone hyperplasia or lamina propria fibrosis, or dilated intercellular spaces/surface epithelial alteration if no lamina propria) or false (0). magent does not read histology.","type":"boolean"},"hospitalization_eoe":{"description":"Caller-assigned hospitalization due to EoE (Dellon 2022 Table I complication; stacks with other selected complication features). true (4) or false (0).","type":"boolean"},"inflam_endoscopy":{"description":"Caller-assigned Dellon 2022 Table I inflammatory endoscopy (edema, furrows, and/or exudates): none (0), localized (1), or diffuse (2). magent does not perform endoscopy. Not EREFS.","enum":["none","localized","diffuse"],"type":"string"},"malnutrition":{"description":"Caller-assigned malnutrition with BMI <5th percentile or decreased growth trajectory (Dellon 2022 Table I complication; stacks). true (15) or false (0). The caller assigns this flag; magent does not compute BMI percentiles.","type":"boolean"},"peak_eos":{"description":"Caller-assigned Dellon 2022 Table I peak eosinophils per hpf: lt_15 (0; <15), 15_60 (1; 15-60), or gt_60 (2; >60). magent does not count eosinophils.","enum":["lt_15","15_60","gt_60"],"type":"string"},"persistent_inflammation":{"description":"Caller-assigned persistent inflammation requiring elemental formula or systemic corticosteroid or immunomodulatory treatment (Dellon 2022 Table I complication; stacks). true (15) or false (0).","type":"boolean"},"symptoms":{"description":"Caller-assigned Dellon 2022 Table I symptoms: none (0), weekly (1), daily (2), or multiple_or_social (4; multiple times per day or disrupting social functioning).","enum":["none","weekly","daily","multiple_or_social"],"type":"string"}},"required":["symptoms","food_impaction","hospitalization_eoe","esophageal_perforation","malnutrition","persistent_inflammation","inflam_endoscopy","peak_eos","fibro_endoscopy","histologic_fibrosis"],"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":["i-see","eosinophilic-esophagitis","eoe","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:27:00.931Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:27:00.785Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"esophageal_perforation":false,"fibro_endoscopy":"none","food_impaction":"none","histologic_fibrosis":false,"hospitalization_eoe":false,"inflam_endoscopy":"localized","malnutrition":false,"peak_eos":"15_60","persistent_inflammation":false,"symptoms":"daily"},{"esophageal_perforation":false,"fibro_endoscopy":"none","food_impaction":"none","histologic_fibrosis":false,"hospitalization_eoe":false,"inflam_endoscopy":"localized","malnutrition":false,"peak_eos":"15_60","persistent_inflammation":false,"symptoms":"daily"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Dellon ES, Khoury P, Muir AB, Liacouras CA, Safroneeva E, Atkins D, Collins MH, Gonsalves N, Falk GW, Spergel JM, Schoepfer AM, Menard-Katcher C, Furuta GT, Aceves S","doi":"10.1016/j.jaci.2022.03.015","id":"dellon-2022","pmid":"35606166","source":"J Allergy Clin Immunol. 2022;150(1):33-47","title":"A Clinical Severity Index for Eosinophilic Esophagitis: Development, Consensus, and Future Directions"},"components":[{"factor":"symptoms","points":2,"present":true,"value":"daily"},{"factor":"food_impaction","points":0,"present":true,"value":"none"},{"factor":"hospitalization_eoe","points":0,"present":false},{"factor":"esophageal_perforation","points":0,"present":false},{"factor":"malnutrition","points":0,"present":false},{"factor":"persistent_inflammation","points":0,"present":false},{"factor":"inflam_endoscopy","points":1,"present":true,"value":"localized"},{"factor":"peak_eos","points":1,"present":true,"value":"15_60"},{"factor":"fibro_endoscopy","points":0,"present":true,"value":"none"},{"factor":"histologic_fibrosis","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.","esophageal_perforation":false,"fibro_endoscopy":"none","food_impaction":"none","formula":"i_see","formula_expression":"I-SEE = symptoms (none 0, weekly 1, daily 2, multiple_or_social 4) + food_impaction (none 0, adult_ge_18 2, child_lt_18 4) + hospitalization_eoe 4 + esophageal_perforation 15 + malnutrition 15 + persistent_inflammation 15 + inflam_endoscopy (none 0, localized 1, diffuse 2) + peak_eos (lt_15 0, 15_60 1, gt_60 2) + fibro_endoscopy (none 0, passes_easily 1, dilation_or_snug 2, cannot_pass_or_repeated 15) + histologic_fibrosis 2; Dellon 2022 Table I; complications stack (each selected feature gets points); exclusive within other rows; bands <1 inactive, 1-6 mild, 7-14 moderate, ≥15 severe; max 78; not EREFS","histologic_fibrosis":false,"hospitalization_eoe":false,"inflam_endoscopy":"localized","isee_band":"mild","malnutrition":false,"max_score":78,"peak_eos":"15_60","persistent_inflammation":false,"score":4,"symptoms":"daily"},{"citation":{"authors":"Dellon ES, Khoury P, Muir AB, Liacouras CA, Safroneeva E, Atkins D, Collins MH, Gonsalves N, Falk GW, Spergel JM, Schoepfer AM, Menard-Katcher C, Furuta GT, Aceves S","doi":"10.1016/j.jaci.2022.03.015","id":"dellon-2022","pmid":"35606166","source":"J Allergy Clin Immunol. 2022;150(1):33-47","title":"A Clinical Severity Index for Eosinophilic Esophagitis: Development, Consensus, and Future Directions"},"components":[{"factor":"symptoms","points":2,"present":true,"value":"daily"},{"factor":"food_impaction","points":0,"present":true,"value":"none"},{"factor":"hospitalization_eoe","points":0,"present":false},{"factor":"esophageal_perforation","points":0,"present":false},{"factor":"malnutrition","points":0,"present":false},{"factor":"persistent_inflammation","points":0,"present":false},{"factor":"inflam_endoscopy","points":1,"present":true,"value":"localized"},{"factor":"peak_eos","points":1,"present":true,"value":"15_60"},{"factor":"fibro_endoscopy","points":0,"present":true,"value":"none"},{"factor":"histologic_fibrosis","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.","esophageal_perforation":false,"fibro_endoscopy":"none","food_impaction":"none","formula":"i_see","formula_expression":"I-SEE = symptoms (none 0, weekly 1, daily 2, multiple_or_social 4) + food_impaction (none 0, adult_ge_18 2, child_lt_18 4) + hospitalization_eoe 4 + esophageal_perforation 15 + malnutrition 15 + persistent_inflammation 15 + inflam_endoscopy (none 0, localized 1, diffuse 2) + peak_eos (lt_15 0, 15_60 1, gt_60 2) + fibro_endoscopy (none 0, passes_easily 1, dilation_or_snug 2, cannot_pass_or_repeated 15) + histologic_fibrosis 2; Dellon 2022 Table I; complications stack (each selected feature gets points); exclusive within other rows; bands <1 inactive, 1-6 mild, 7-14 moderate, ≥15 severe; max 78; not EREFS","histologic_fibrosis":false,"hospitalization_eoe":false,"inflam_endoscopy":"localized","isee_band":"mild","malnutrition":false,"max_score":78,"peak_eos":"15_60","persistent_inflammation":false,"score":4,"symptoms":"daily"}],"path":"/api/calc/i_see"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"esophageal_perforation":{"description":"Caller-assigned esophageal perforation (Dellon 2022 Table I complication; stacks). true (15) or false (0).","type":"boolean"},"fibro_endoscopy":{"description":"Caller-assigned Dellon 2022 Table I fibrostenotic endoscopy (rings, strictures): none (0), passes_easily (1; present but endoscope passes easily), dilation_or_snug (2; requires dilation or is a snug pass), or cannot_pass_or_repeated (15; cannot pass a standard endoscope; repeated dilations in an adult ≥18; or any dilation in a child <18). The caller assigns the 15-point token; magent does not take a separate age parameter. magent does not perform endoscopy.","enum":["none","passes_easily","dilation_or_snug","cannot_pass_or_repeated"],"type":"string"},"food_impaction":{"description":"Caller-assigned Dellon 2022 Table I food impaction with ER visit or endoscopy: none (0), adult_ge_18 (2; patient ≥18 years), or child_lt_18 (4; patient <18 years). The caller assigns the age-specific token; magent does not take a separate age parameter.","enum":["none","adult_ge_18","child_lt_18"],"type":"string"},"histologic_fibrosis":{"description":"Caller-assigned Dellon 2022 Table I histologic fibrosis: true (2; basal zone hyperplasia or lamina propria fibrosis, or dilated intercellular spaces/surface epithelial alteration if no lamina propria) or false (0). magent does not read histology.","type":"boolean"},"hospitalization_eoe":{"description":"Caller-assigned hospitalization due to EoE (Dellon 2022 Table I complication; stacks with other selected complication features). true (4) or false (0).","type":"boolean"},"inflam_endoscopy":{"description":"Caller-assigned Dellon 2022 Table I inflammatory endoscopy (edema, furrows, and/or exudates): none (0), localized (1), or diffuse (2). magent does not perform endoscopy. Not EREFS.","enum":["none","localized","diffuse"],"type":"string"},"malnutrition":{"description":"Caller-assigned malnutrition with BMI <5th percentile or decreased growth trajectory (Dellon 2022 Table I complication; stacks). true (15) or false (0). The caller assigns this flag; magent does not compute BMI percentiles.","type":"boolean"},"peak_eos":{"description":"Caller-assigned Dellon 2022 Table I peak eosinophils per hpf: lt_15 (0; <15), 15_60 (1; 15-60), or gt_60 (2; >60). magent does not count eosinophils.","enum":["lt_15","15_60","gt_60"],"type":"string"},"persistent_inflammation":{"description":"Caller-assigned persistent inflammation requiring elemental formula or systemic corticosteroid or immunomodulatory treatment (Dellon 2022 Table I complication; stacks). true (15) or false (0).","type":"boolean"},"symptoms":{"description":"Caller-assigned Dellon 2022 Table I symptoms: none (0), weekly (1), daily (2), or multiple_or_social (4; multiple times per day or disrupting social functioning).","enum":["none","weekly","daily","multiple_or_social"],"type":"string"}},"required":["symptoms","food_impaction","hospitalization_eoe","esophageal_perforation","malnutrition","persistent_inflammation","inflam_endoscopy","peak_eos","fibro_endoscopy","histologic_fibrosis"],"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},{"id":39099,"slug":"39099","resource":"https://api.magentlab.com/api/calc/hospital","description":"HOSPITAL (Donze 2013 JAMA Intern Med acronym table): hemoglobin_lt_12 (last Hb <12 g/dL) 1; oncology_service 2; sodium_lt_135 (last Na <135 mmol/L) 1; procedure (any ICD-coded procedure during the stay) 1; urgent_or_emergent_admission 1; admissions_12mo 0-1→0, 2-5→2, >5→5; los_ge_5_days 2. Max 13. Bands 0-4 low, 5-6 intermediate, >=7 high for potentially avoidable 30-day readmission (SQLape), not all-cause. Flags and counts are caller-assigned. Not a discharge order or diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"admissions_12mo":0,"hemoglobin_lt_12":false,"los_ge_5_days":false,"oncology_service":false,"procedure":false,"sodium_lt_135":false,"urgent_or_emergent_admission":false},{"admissions_12mo":0,"hemoglobin_lt_12":false,"los_ge_5_days":false,"oncology_service":false,"procedure":false,"sodium_lt_135":false,"urgent_or_emergent_admission":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"admissions_12mo":0,"citation":{"authors":"Donze J, Aujesky D, Williams D, Schnipper JL","doi":"10.1001/jamainternmed.2013.3023","id":"donze-2013","pmid":"23529115","source":"JAMA Intern Med. 2013;173(8):632-638","title":"Potentially Avoidable 30-Day Hospital Readmissions in Medical Patients: Derivation and Validation of a Prediction Model"},"components":[{"factor":"hemoglobin_lt_12","points":0,"present":false},{"factor":"oncology_service","points":0,"present":false},{"factor":"sodium_lt_135","points":0,"present":false},{"factor":"procedure","points":0,"present":false},{"factor":"urgent_or_emergent_admission","points":0,"present":false},{"factor":"admissions_12mo","points":0,"present":false,"value":0},{"factor":"los_ge_5_days","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":"hospital","formula_expression":"HOSPITAL = hemoglobin_lt_12 (1) + oncology_service (2) + sodium_lt_135 (1) + procedure (1) + urgent_or_emergent_admission (1) + admissions_12mo (0-1: 0, 2-5: 2, >5: 5) + los_ge_5_days (2); Donze 2013 acronym table; max 13; 0-4 low, 5-6 intermediate, >=7 high","max_score":13,"risk_band":"low","score":0},{"admissions_12mo":0,"citation":{"authors":"Donze J, Aujesky D, Williams D, Schnipper JL","doi":"10.1001/jamainternmed.2013.3023","id":"donze-2013","pmid":"23529115","source":"JAMA Intern Med. 2013;173(8):632-638","title":"Potentially Avoidable 30-Day Hospital Readmissions in Medical Patients: Derivation and Validation of a Prediction Model"},"components":[{"factor":"hemoglobin_lt_12","points":0,"present":false},{"factor":"oncology_service","points":0,"present":false},{"factor":"sodium_lt_135","points":0,"present":false},{"factor":"procedure","points":0,"present":false},{"factor":"urgent_or_emergent_admission","points":0,"present":false},{"factor":"admissions_12mo","points":0,"present":false,"value":0},{"factor":"los_ge_5_days","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":"hospital","formula_expression":"HOSPITAL = hemoglobin_lt_12 (1) + oncology_service (2) + sodium_lt_135 (1) + procedure (1) + urgent_or_emergent_admission (1) + admissions_12mo (0-1: 0, 2-5: 2, >5: 5) + los_ge_5_days (2); Donze 2013 acronym table; max 13; 0-4 low, 5-6 intermediate, >=7 high","max_score":13,"risk_band":"low","score":0}],"path":"/api/calc/hospital"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"admissions_12mo":{"description":"Hospital admissions during the previous year (integer 0-50, magent clamp). Donze 2013 A: 0-1 scores 0; 2-5 scores 2; >5 scores 5. Count 0 and 1 both score 0; 2 scores 2; 5 scores 2; 6 scores 5.","type":"integer"},"hemoglobin_lt_12":{"description":"Last hemoglobin <12 g/dL as assigned by the caller (Donze 2013 H). true scores 1. magent does not assay hemoglobin. Do not send a hemoglobin number.","type":"boolean"},"los_ge_5_days":{"description":"Length of stay ≥5 days as assigned by the caller (Donze 2013 L). true scores 2. magent does not compute length of stay from dates.","type":"boolean"},"oncology_service":{"description":"Discharge from an oncology service as assigned by the caller (Donze 2013 O). true scores 2.","type":"boolean"},"procedure":{"description":"Any ICD-coded procedure during the stay as assigned by the caller (Donze 2013 P). true scores 1. magent does not read the chart.","type":"boolean"},"sodium_lt_135":{"description":"Last sodium <135 mmol/L as assigned by the caller (Donze 2013 S). true scores 1. magent does not assay sodium. Do not send a sodium number.","type":"boolean"},"urgent_or_emergent_admission":{"description":"Index admission type urgent or emergent, not elective, as assigned by the caller (Donze 2013 I). true scores 1.","type":"boolean"}},"required":["hemoglobin_lt_12","oncology_service","sodium_lt_135","procedure","urgent_or_emergent_admission","admissions_12mo","los_ge_5_days"],"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":["hospital","readmission","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:26:59.363Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:26:59.213Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"admissions_12mo":0,"hemoglobin_lt_12":false,"los_ge_5_days":false,"oncology_service":false,"procedure":false,"sodium_lt_135":false,"urgent_or_emergent_admission":false},{"admissions_12mo":0,"hemoglobin_lt_12":false,"los_ge_5_days":false,"oncology_service":false,"procedure":false,"sodium_lt_135":false,"urgent_or_emergent_admission":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"admissions_12mo":0,"citation":{"authors":"Donze J, Aujesky D, Williams D, Schnipper JL","doi":"10.1001/jamainternmed.2013.3023","id":"donze-2013","pmid":"23529115","source":"JAMA Intern Med. 2013;173(8):632-638","title":"Potentially Avoidable 30-Day Hospital Readmissions in Medical Patients: Derivation and Validation of a Prediction Model"},"components":[{"factor":"hemoglobin_lt_12","points":0,"present":false},{"factor":"oncology_service","points":0,"present":false},{"factor":"sodium_lt_135","points":0,"present":false},{"factor":"procedure","points":0,"present":false},{"factor":"urgent_or_emergent_admission","points":0,"present":false},{"factor":"admissions_12mo","points":0,"present":false,"value":0},{"factor":"los_ge_5_days","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":"hospital","formula_expression":"HOSPITAL = hemoglobin_lt_12 (1) + oncology_service (2) + sodium_lt_135 (1) + procedure (1) + urgent_or_emergent_admission (1) + admissions_12mo (0-1: 0, 2-5: 2, >5: 5) + los_ge_5_days (2); Donze 2013 acronym table; max 13; 0-4 low, 5-6 intermediate, >=7 high","max_score":13,"risk_band":"low","score":0},{"admissions_12mo":0,"citation":{"authors":"Donze J, Aujesky D, Williams D, Schnipper JL","doi":"10.1001/jamainternmed.2013.3023","id":"donze-2013","pmid":"23529115","source":"JAMA Intern Med. 2013;173(8):632-638","title":"Potentially Avoidable 30-Day Hospital Readmissions in Medical Patients: Derivation and Validation of a Prediction Model"},"components":[{"factor":"hemoglobin_lt_12","points":0,"present":false},{"factor":"oncology_service","points":0,"present":false},{"factor":"sodium_lt_135","points":0,"present":false},{"factor":"procedure","points":0,"present":false},{"factor":"urgent_or_emergent_admission","points":0,"present":false},{"factor":"admissions_12mo","points":0,"present":false,"value":0},{"factor":"los_ge_5_days","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":"hospital","formula_expression":"HOSPITAL = hemoglobin_lt_12 (1) + oncology_service (2) + sodium_lt_135 (1) + procedure (1) + urgent_or_emergent_admission (1) + admissions_12mo (0-1: 0, 2-5: 2, >5: 5) + los_ge_5_days (2); Donze 2013 acronym table; max 13; 0-4 low, 5-6 intermediate, >=7 high","max_score":13,"risk_band":"low","score":0}],"path":"/api/calc/hospital"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"admissions_12mo":{"description":"Hospital admissions during the previous year (integer 0-50, magent clamp). Donze 2013 A: 0-1 scores 0; 2-5 scores 2; >5 scores 5. Count 0 and 1 both score 0; 2 scores 2; 5 scores 2; 6 scores 5.","type":"integer"},"hemoglobin_lt_12":{"description":"Last hemoglobin <12 g/dL as assigned by the caller (Donze 2013 H). true scores 1. magent does not assay hemoglobin. Do not send a hemoglobin number.","type":"boolean"},"los_ge_5_days":{"description":"Length of stay ≥5 days as assigned by the caller (Donze 2013 L). true scores 2. magent does not compute length of stay from dates.","type":"boolean"},"oncology_service":{"description":"Discharge from an oncology service as assigned by the caller (Donze 2013 O). true scores 2.","type":"boolean"},"procedure":{"description":"Any ICD-coded procedure during the stay as assigned by the caller (Donze 2013 P). true scores 1. magent does not read the chart.","type":"boolean"},"sodium_lt_135":{"description":"Last sodium <135 mmol/L as assigned by the caller (Donze 2013 S). true scores 1. magent does not assay sodium. Do not send a sodium number.","type":"boolean"},"urgent_or_emergent_admission":{"description":"Index admission type urgent or emergent, not elective, as assigned by the caller (Donze 2013 I). true scores 1.","type":"boolean"}},"required":["hemoglobin_lt_12","oncology_service","sodium_lt_135","procedure","urgent_or_emergent_admission","admissions_12mo","los_ge_5_days"],"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},{"id":39100,"slug":"39100","resource":"https://api.magentlab.com/api/calc/hits","description":"Sherin 1998 HITS from four caller-assigned integers 1-5 (hurt, insult, threaten, scream; never=1 to frequently=5). magent does not interview the patient or interpret the items. Sum 4-20. Screen-positive when score ≥10. Deterministic published score with citation; not a diagnosis of intimate partner violence and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hurt":1,"insult":1,"scream":1,"threaten":1},{"hurt":1,"insult":1,"scream":1,"threaten":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sherin KM, Sinacore JM, Li XQ, Zitter RE, Shakil A","id":"sherin-1998","pmid":"9669164","source":"Fam Med. 1998;30(7):508-512","title":"HITS: a short domestic violence screening tool for use in a family practice setting"},"components":[{"factor":"hurt","points":1,"present":true,"value":1},{"factor":"insult","points":1,"present":true,"value":1},{"factor":"threaten","points":1,"present":true,"value":1},{"factor":"scream","points":1,"present":true,"value":1}],"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":"hits","formula_expression":"HITS = hurt + insult + threaten + scream; each caller-assigned 1-5 (never=1 to frequently=5); max 20; screen-positive at ≥10","max_score":20,"score":4,"screen_positive":false},{"citation":{"authors":"Sherin KM, Sinacore JM, Li XQ, Zitter RE, Shakil A","id":"sherin-1998","pmid":"9669164","source":"Fam Med. 1998;30(7):508-512","title":"HITS: a short domestic violence screening tool for use in a family practice setting"},"components":[{"factor":"hurt","points":1,"present":true,"value":1},{"factor":"insult","points":1,"present":true,"value":1},{"factor":"threaten","points":1,"present":true,"value":1},{"factor":"scream","points":1,"present":true,"value":1}],"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":"hits","formula_expression":"HITS = hurt + insult + threaten + scream; each caller-assigned 1-5 (never=1 to frequently=5); max 20; screen-positive at ≥10","max_score":20,"score":4,"screen_positive":false}],"path":"/api/calc/hits"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hurt":{"description":"Caller-assigned Sherin 1998 HITS Hurt item (integer 1-5; never=1 to frequently=5): how often the partner physically hurt the patient. magent does not interview the patient.","type":"integer"},"insult":{"description":"Caller-assigned Sherin 1998 HITS Insult item (integer 1-5; never=1 to frequently=5): how often the partner insulted or talked down to the patient. magent does not interview the patient.","type":"integer"},"scream":{"description":"Caller-assigned Sherin 1998 HITS Scream item (integer 1-5; never=1 to frequently=5): how often the partner screamed or cursed at the patient. magent does not interview the patient.","type":"integer"},"threaten":{"description":"Caller-assigned Sherin 1998 HITS Threaten item (integer 1-5; never=1 to frequently=5): how often the partner threatened the patient with harm. magent does not interview the patient.","type":"integer"}},"required":["hurt","insult","threaten","scream"],"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":["hits","ipv","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:26:57.697Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:26:57.405Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hurt":1,"insult":1,"scream":1,"threaten":1},{"hurt":1,"insult":1,"scream":1,"threaten":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sherin KM, Sinacore JM, Li XQ, Zitter RE, Shakil A","id":"sherin-1998","pmid":"9669164","source":"Fam Med. 1998;30(7):508-512","title":"HITS: a short domestic violence screening tool for use in a family practice setting"},"components":[{"factor":"hurt","points":1,"present":true,"value":1},{"factor":"insult","points":1,"present":true,"value":1},{"factor":"threaten","points":1,"present":true,"value":1},{"factor":"scream","points":1,"present":true,"value":1}],"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":"hits","formula_expression":"HITS = hurt + insult + threaten + scream; each caller-assigned 1-5 (never=1 to frequently=5); max 20; screen-positive at ≥10","max_score":20,"score":4,"screen_positive":false},{"citation":{"authors":"Sherin KM, Sinacore JM, Li XQ, Zitter RE, Shakil A","id":"sherin-1998","pmid":"9669164","source":"Fam Med. 1998;30(7):508-512","title":"HITS: a short domestic violence screening tool for use in a family practice setting"},"components":[{"factor":"hurt","points":1,"present":true,"value":1},{"factor":"insult","points":1,"present":true,"value":1},{"factor":"threaten","points":1,"present":true,"value":1},{"factor":"scream","points":1,"present":true,"value":1}],"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":"hits","formula_expression":"HITS = hurt + insult + threaten + scream; each caller-assigned 1-5 (never=1 to frequently=5); max 20; screen-positive at ≥10","max_score":20,"score":4,"screen_positive":false}],"path":"/api/calc/hits"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hurt":{"description":"Caller-assigned Sherin 1998 HITS Hurt item (integer 1-5; never=1 to frequently=5): how often the partner physically hurt the patient. magent does not interview the patient.","type":"integer"},"insult":{"description":"Caller-assigned Sherin 1998 HITS Insult item (integer 1-5; never=1 to frequently=5): how often the partner insulted or talked down to the patient. magent does not interview the patient.","type":"integer"},"scream":{"description":"Caller-assigned Sherin 1998 HITS Scream item (integer 1-5; never=1 to frequently=5): how often the partner screamed or cursed at the patient. magent does not interview the patient.","type":"integer"},"threaten":{"description":"Caller-assigned Sherin 1998 HITS Threaten item (integer 1-5; never=1 to frequently=5): how often the partner threatened the patient with harm. magent does not interview the patient.","type":"integer"}},"required":["hurt","insult","threaten","scream"],"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},{"id":39101,"slug":"39101","resource":"https://api.magentlab.com/api/calc/hiri_msm","description":"Smith 2012 seven-item HIV incidence risk index for MSM. Age 18-28=8, 29-40=5, 41-48=2, >=49=0; male partners 0-5=0, 6-10=4, >=11=7; HIV-positive partners 0=0, 1=4, >=2=8; unprotected receptive anal 0=0, >=1=10; insertive anal with HIV-positive partner 0-4=0, >=5=6; poppers 3; amphetamines 5. Range 0-47; at_or_above_10 when score >=10. Caller-assigned. Not a diagnosis or PrEP order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":55,"amphetamines_6mo":false,"hiv_positive_male_partners_6mo":0,"insertive_anal_hiv_positive_6mo":0,"male_sex_partners_6mo":0,"poppers_6mo":false,"unprotected_receptive_anal_6mo":0},{"age":55,"amphetamines_6mo":false,"hiv_positive_male_partners_6mo":0,"insertive_anal_hiv_positive_6mo":0,"male_sex_partners_6mo":0,"poppers_6mo":false,"unprotected_receptive_anal_6mo":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":55,"at_or_above_10":false,"citation":{"authors":"Smith DK, Pals SL, Herbst JH, Shinde S, Carey JW","doi":"10.1097/QAI.0b013e318256b2f6","id":"smith-dk-2012","pmid":"22487585","source":"J Acquir Immune Defic Syndr. 2012;60(4):421-427","title":"Development of a Clinical Screening Index Predictive of Incident HIV Infection Among Men Who Have Sex With Men in the United States"},"components":[{"factor":"age","points":0,"present":false,"value":55},{"factor":"male_sex_partners_6mo","points":0,"present":false,"value":0},{"factor":"hiv_positive_male_partners_6mo","points":0,"present":false,"value":0},{"factor":"unprotected_receptive_anal_6mo","points":0,"present":false,"value":0},{"factor":"insertive_anal_hiv_positive_6mo","points":0,"present":false,"value":0},{"factor":"poppers_6mo","points":0,"present":false},{"factor":"amphetamines_6mo","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":"hiri_msm","formula_expression":"HIRI-MSM = age + male_sex_partners_6mo + hiv_positive_male_partners_6mo + unprotected_receptive_anal_6mo + insertive_anal_hiv_positive_6mo + poppers_6mo + amphetamines_6mo; age 18-28 -> 8, 29-40 -> 5, 41-48 -> 2, >=49 -> 0; male partners 0-5 -> 0, 6-10 -> 4, >=11 -> 7; HIV-positive partners 0 -> 0, 1 -> 4, >=2 -> 8; unprotected receptive anal 0 -> 0, >=1 -> 10; insertive anal with HIV-positive partner 0-4 -> 0, >=5 -> 6; poppers true -> 3; amphetamines true -> 5; max 47; at_or_above_10 iff score>=10","hiv_positive_male_partners_6mo":0,"insertive_anal_hiv_positive_6mo":0,"male_sex_partners_6mo":0,"max_score":47,"score":0,"unprotected_receptive_anal_6mo":0},{"age_years":55,"at_or_above_10":false,"citation":{"authors":"Smith DK, Pals SL, Herbst JH, Shinde S, Carey JW","doi":"10.1097/QAI.0b013e318256b2f6","id":"smith-dk-2012","pmid":"22487585","source":"J Acquir Immune Defic Syndr. 2012;60(4):421-427","title":"Development of a Clinical Screening Index Predictive of Incident HIV Infection Among Men Who Have Sex With Men in the United States"},"components":[{"factor":"age","points":0,"present":false,"value":55},{"factor":"male_sex_partners_6mo","points":0,"present":false,"value":0},{"factor":"hiv_positive_male_partners_6mo","points":0,"present":false,"value":0},{"factor":"unprotected_receptive_anal_6mo","points":0,"present":false,"value":0},{"factor":"insertive_anal_hiv_positive_6mo","points":0,"present":false,"value":0},{"factor":"poppers_6mo","points":0,"present":false},{"factor":"amphetamines_6mo","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":"hiri_msm","formula_expression":"HIRI-MSM = age + male_sex_partners_6mo + hiv_positive_male_partners_6mo + unprotected_receptive_anal_6mo + insertive_anal_hiv_positive_6mo + poppers_6mo + amphetamines_6mo; age 18-28 -> 8, 29-40 -> 5, 41-48 -> 2, >=49 -> 0; male partners 0-5 -> 0, 6-10 -> 4, >=11 -> 7; HIV-positive partners 0 -> 0, 1 -> 4, >=2 -> 8; unprotected receptive anal 0 -> 0, >=1 -> 10; insertive anal with HIV-positive partner 0-4 -> 0, >=5 -> 6; poppers true -> 3; amphetamines true -> 5; max 47; at_or_above_10 iff score>=10","hiv_positive_male_partners_6mo":0,"insertive_anal_hiv_positive_6mo":0,"male_sex_partners_6mo":0,"max_score":47,"score":0,"unprotected_receptive_anal_6mo":0}],"path":"/api/calc/hiri_msm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Smith 2012: 18-28 scores 8; 29-40 scores 5; 41-48 scores 2; ≥49 scores 0. Caller-assigned. magent does not take a sexual history.","type":"integer"},"amphetamines_6mo":{"description":"Caller-assigned amphetamine use in the prior 6 months (Smith 2012). true or false. magent does not take a substance-use history.","type":"boolean"},"hiv_positive_male_partners_6mo":{"description":"Caller-assigned number of HIV-positive male sex partners in the prior 6 months (0-500). Smith 2012: 0 scores 0; 1 scores 4; ≥2 scores 8. Do not drop this item.","type":"integer"},"insertive_anal_hiv_positive_6mo":{"description":"Caller-assigned times the person had insertive anal sex with an HIV-positive male partner in the prior 6 months (0-500). Smith 2012: 0-4 scores 0; ≥5 scores 6.","type":"integer"},"male_sex_partners_6mo":{"description":"Caller-assigned number of male sex partners in the prior 6 months (0-500). Smith 2012: 0-5 scores 0; 6-10 scores 4; ≥11 scores 7.","type":"integer"},"poppers_6mo":{"description":"Caller-assigned popper (amyl nitrate) use in the prior 6 months (Smith 2012). true or false. magent does not take a substance-use history.","type":"boolean"},"unprotected_receptive_anal_6mo":{"description":"Caller-assigned times the person had unprotected receptive anal sex with a male partner of any HIV status in the prior 6 months (0-500). Smith 2012: 0 scores 0; ≥1 scores 10.","type":"integer"}},"required":["age","male_sex_partners_6mo","hiv_positive_male_partners_6mo","unprotected_receptive_anal_6mo","insertive_anal_hiv_positive_6mo","poppers_6mo","amphetamines_6mo"],"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":["hiri-msm","hiv-risk","msm","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:17:23.649Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:17:23.353Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":55,"amphetamines_6mo":false,"hiv_positive_male_partners_6mo":0,"insertive_anal_hiv_positive_6mo":0,"male_sex_partners_6mo":0,"poppers_6mo":false,"unprotected_receptive_anal_6mo":0},{"age":55,"amphetamines_6mo":false,"hiv_positive_male_partners_6mo":0,"insertive_anal_hiv_positive_6mo":0,"male_sex_partners_6mo":0,"poppers_6mo":false,"unprotected_receptive_anal_6mo":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":55,"at_or_above_10":false,"citation":{"authors":"Smith DK, Pals SL, Herbst JH, Shinde S, Carey JW","doi":"10.1097/QAI.0b013e318256b2f6","id":"smith-dk-2012","pmid":"22487585","source":"J Acquir Immune Defic Syndr. 2012;60(4):421-427","title":"Development of a Clinical Screening Index Predictive of Incident HIV Infection Among Men Who Have Sex With Men in the United States"},"components":[{"factor":"age","points":0,"present":false,"value":55},{"factor":"male_sex_partners_6mo","points":0,"present":false,"value":0},{"factor":"hiv_positive_male_partners_6mo","points":0,"present":false,"value":0},{"factor":"unprotected_receptive_anal_6mo","points":0,"present":false,"value":0},{"factor":"insertive_anal_hiv_positive_6mo","points":0,"present":false,"value":0},{"factor":"poppers_6mo","points":0,"present":false},{"factor":"amphetamines_6mo","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":"hiri_msm","formula_expression":"HIRI-MSM = age + male_sex_partners_6mo + hiv_positive_male_partners_6mo + unprotected_receptive_anal_6mo + insertive_anal_hiv_positive_6mo + poppers_6mo + amphetamines_6mo; age 18-28 -> 8, 29-40 -> 5, 41-48 -> 2, >=49 -> 0; male partners 0-5 -> 0, 6-10 -> 4, >=11 -> 7; HIV-positive partners 0 -> 0, 1 -> 4, >=2 -> 8; unprotected receptive anal 0 -> 0, >=1 -> 10; insertive anal with HIV-positive partner 0-4 -> 0, >=5 -> 6; poppers true -> 3; amphetamines true -> 5; max 47; at_or_above_10 iff score>=10","hiv_positive_male_partners_6mo":0,"insertive_anal_hiv_positive_6mo":0,"male_sex_partners_6mo":0,"max_score":47,"score":0,"unprotected_receptive_anal_6mo":0},{"age_years":55,"at_or_above_10":false,"citation":{"authors":"Smith DK, Pals SL, Herbst JH, Shinde S, Carey JW","doi":"10.1097/QAI.0b013e318256b2f6","id":"smith-dk-2012","pmid":"22487585","source":"J Acquir Immune Defic Syndr. 2012;60(4):421-427","title":"Development of a Clinical Screening Index Predictive of Incident HIV Infection Among Men Who Have Sex With Men in the United States"},"components":[{"factor":"age","points":0,"present":false,"value":55},{"factor":"male_sex_partners_6mo","points":0,"present":false,"value":0},{"factor":"hiv_positive_male_partners_6mo","points":0,"present":false,"value":0},{"factor":"unprotected_receptive_anal_6mo","points":0,"present":false,"value":0},{"factor":"insertive_anal_hiv_positive_6mo","points":0,"present":false,"value":0},{"factor":"poppers_6mo","points":0,"present":false},{"factor":"amphetamines_6mo","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":"hiri_msm","formula_expression":"HIRI-MSM = age + male_sex_partners_6mo + hiv_positive_male_partners_6mo + unprotected_receptive_anal_6mo + insertive_anal_hiv_positive_6mo + poppers_6mo + amphetamines_6mo; age 18-28 -> 8, 29-40 -> 5, 41-48 -> 2, >=49 -> 0; male partners 0-5 -> 0, 6-10 -> 4, >=11 -> 7; HIV-positive partners 0 -> 0, 1 -> 4, >=2 -> 8; unprotected receptive anal 0 -> 0, >=1 -> 10; insertive anal with HIV-positive partner 0-4 -> 0, >=5 -> 6; poppers true -> 3; amphetamines true -> 5; max 47; at_or_above_10 iff score>=10","hiv_positive_male_partners_6mo":0,"insertive_anal_hiv_positive_6mo":0,"male_sex_partners_6mo":0,"max_score":47,"score":0,"unprotected_receptive_anal_6mo":0}],"path":"/api/calc/hiri_msm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Smith 2012: 18-28 scores 8; 29-40 scores 5; 41-48 scores 2; ≥49 scores 0. Caller-assigned. magent does not take a sexual history.","type":"integer"},"amphetamines_6mo":{"description":"Caller-assigned amphetamine use in the prior 6 months (Smith 2012). true or false. magent does not take a substance-use history.","type":"boolean"},"hiv_positive_male_partners_6mo":{"description":"Caller-assigned number of HIV-positive male sex partners in the prior 6 months (0-500). Smith 2012: 0 scores 0; 1 scores 4; ≥2 scores 8. Do not drop this item.","type":"integer"},"insertive_anal_hiv_positive_6mo":{"description":"Caller-assigned times the person had insertive anal sex with an HIV-positive male partner in the prior 6 months (0-500). Smith 2012: 0-4 scores 0; ≥5 scores 6.","type":"integer"},"male_sex_partners_6mo":{"description":"Caller-assigned number of male sex partners in the prior 6 months (0-500). Smith 2012: 0-5 scores 0; 6-10 scores 4; ≥11 scores 7.","type":"integer"},"poppers_6mo":{"description":"Caller-assigned popper (amyl nitrate) use in the prior 6 months (Smith 2012). true or false. magent does not take a substance-use history.","type":"boolean"},"unprotected_receptive_anal_6mo":{"description":"Caller-assigned times the person had unprotected receptive anal sex with a male partner of any HIV status in the prior 6 months (0-500). Smith 2012: 0 scores 0; ≥1 scores 10.","type":"integer"}},"required":["age","male_sex_partners_6mo","hiv_positive_male_partners_6mo","unprotected_receptive_anal_6mo","insertive_anal_hiv_positive_6mo","poppers_6mo","amphetamines_6mo"],"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},{"id":39102,"slug":"39102","resource":"https://api.magentlab.com/api/calc/hints","description":"Kattah 2009 three-step HINTS (Head-Impulse, Nystagmus, Test-of-Skew) for patients already in acute vestibular syndrome (AVS). Three caller-assigned flags: head_impulse_normal, direction_changing_nystagmus, and skew_deviation. dangerous is true if any flag is true (INFARCT: Impulse Normal, Fast-phase Alternating, Refixation on Cover Test). benign iff none. Not HINTS-plus (hearing). Not a stroke diagnosis or a substitute for neuroimaging. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"direction_changing_nystagmus":false,"head_impulse_normal":false,"skew_deviation":false},{"direction_changing_nystagmus":false,"head_impulse_normal":false,"skew_deviation":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"benign":true,"citation":{"authors":"Kattah JC, Talkad AV, Wang DZ, Hsieh YH, Newman-Toker DE","doi":"10.1161/STROKEAHA.109.551234","id":"kattah-2009","pmid":"19762709","source":"Stroke. 2009;40(11):3504-3510","title":"HINTS to Diagnose Stroke in the Acute Vestibular Syndrome"},"criteria":[{"factor":"head_impulse_normal","met":false},{"factor":"direction_changing_nystagmus","met":false},{"factor":"skew_deviation","met":false},{"factor":"dangerous_any","met":false}],"dangerous":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":"hints","formula_expression":"dangerous iff head_impulse_normal or direction_changing_nystagmus or skew_deviation; benign iff not dangerous (Kattah 2009 three-step HINTS for acute vestibular syndrome; INFARCT: Impulse Normal, Fast-phase Alternating, Refixation on Cover Test)"},{"benign":true,"citation":{"authors":"Kattah JC, Talkad AV, Wang DZ, Hsieh YH, Newman-Toker DE","doi":"10.1161/STROKEAHA.109.551234","id":"kattah-2009","pmid":"19762709","source":"Stroke. 2009;40(11):3504-3510","title":"HINTS to Diagnose Stroke in the Acute Vestibular Syndrome"},"criteria":[{"factor":"head_impulse_normal","met":false},{"factor":"direction_changing_nystagmus","met":false},{"factor":"skew_deviation","met":false},{"factor":"dangerous_any","met":false}],"dangerous":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":"hints","formula_expression":"dangerous iff head_impulse_normal or direction_changing_nystagmus or skew_deviation; benign iff not dangerous (Kattah 2009 three-step HINTS for acute vestibular syndrome; INFARCT: Impulse Normal, Fast-phase Alternating, Refixation on Cover Test)"}],"path":"/api/calc/hints"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"direction_changing_nystagmus":{"description":"Direction-changing nystagmus in eccentric gaze as assigned by the caller (Kattah 2009). true is a dangerous central sign (INFARCT: Fast-phase Alternating). magent does not examine the patient.","type":"boolean"},"head_impulse_normal":{"description":"Normal horizontal head-impulse test (h-HIT) as assigned by the caller (Kattah 2009). true is a dangerous central sign (INFARCT: Impulse Normal). magent does not examine the patient.","type":"boolean"},"skew_deviation":{"description":"Skew deviation / vertical ocular misalignment on cover test as assigned by the caller (Kattah 2009). true is a dangerous central sign (INFARCT: Refixation on Cover Test). magent does not examine the patient.","type":"boolean"}},"required":["head_impulse_normal","direction_changing_nystagmus","skew_deviation"],"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":["hints","stroke","avs","neurology","nystagmus","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:17:22.375Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:17:22.215Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"direction_changing_nystagmus":false,"head_impulse_normal":false,"skew_deviation":false},{"direction_changing_nystagmus":false,"head_impulse_normal":false,"skew_deviation":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"benign":true,"citation":{"authors":"Kattah JC, Talkad AV, Wang DZ, Hsieh YH, Newman-Toker DE","doi":"10.1161/STROKEAHA.109.551234","id":"kattah-2009","pmid":"19762709","source":"Stroke. 2009;40(11):3504-3510","title":"HINTS to Diagnose Stroke in the Acute Vestibular Syndrome"},"criteria":[{"factor":"head_impulse_normal","met":false},{"factor":"direction_changing_nystagmus","met":false},{"factor":"skew_deviation","met":false},{"factor":"dangerous_any","met":false}],"dangerous":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":"hints","formula_expression":"dangerous iff head_impulse_normal or direction_changing_nystagmus or skew_deviation; benign iff not dangerous (Kattah 2009 three-step HINTS for acute vestibular syndrome; INFARCT: Impulse Normal, Fast-phase Alternating, Refixation on Cover Test)"},{"benign":true,"citation":{"authors":"Kattah JC, Talkad AV, Wang DZ, Hsieh YH, Newman-Toker DE","doi":"10.1161/STROKEAHA.109.551234","id":"kattah-2009","pmid":"19762709","source":"Stroke. 2009;40(11):3504-3510","title":"HINTS to Diagnose Stroke in the Acute Vestibular Syndrome"},"criteria":[{"factor":"head_impulse_normal","met":false},{"factor":"direction_changing_nystagmus","met":false},{"factor":"skew_deviation","met":false},{"factor":"dangerous_any","met":false}],"dangerous":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":"hints","formula_expression":"dangerous iff head_impulse_normal or direction_changing_nystagmus or skew_deviation; benign iff not dangerous (Kattah 2009 three-step HINTS for acute vestibular syndrome; INFARCT: Impulse Normal, Fast-phase Alternating, Refixation on Cover Test)"}],"path":"/api/calc/hints"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"direction_changing_nystagmus":{"description":"Direction-changing nystagmus in eccentric gaze as assigned by the caller (Kattah 2009). true is a dangerous central sign (INFARCT: Fast-phase Alternating). magent does not examine the patient.","type":"boolean"},"head_impulse_normal":{"description":"Normal horizontal head-impulse test (h-HIT) as assigned by the caller (Kattah 2009). true is a dangerous central sign (INFARCT: Impulse Normal). magent does not examine the patient.","type":"boolean"},"skew_deviation":{"description":"Skew deviation / vertical ocular misalignment on cover test as assigned by the caller (Kattah 2009). true is a dangerous central sign (INFARCT: Refixation on Cover Test). magent does not examine the patient.","type":"boolean"}},"required":["head_impulse_normal","direction_changing_nystagmus","skew_deviation"],"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},{"id":39103,"slug":"39103","resource":"https://api.magentlab.com/api/calc/hii","description":"Hack 2014 H-Impairment Index (HII). Five caller-assigned bedside tasks (gross motor, mentation and speech, tracing curve, nystagmus, finger-to-nose), each integer 0-4. HII is completed-sum / (4 × completed tasks); denominator 20 if all five; range 0-1. Omit a task that was not attempted. Serial decline is not modeled. Does not take blood alcohol concentration. Not a diagnosis, discharge order, or legal sobriety test. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"finger_to_nose":0,"gross_motor":0,"mentation_speech":0,"nystagmus":0,"tracing_curve":0},{"finger_to_nose":0,"gross_motor":0,"mentation_speech":0,"nystagmus":0,"tracing_curve":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hack JB, Goldlust EJ, Gibbs F, Zink BJ","doi":"10.3109/00952990.2013.865034","id":"hack-2014","pmid":"24555813","source":"Am J Drug Alcohol Abuse. 2014;40(2):111-117","title":"The H-Impairment Index (HII): a standardized assessment of alcohol-induced impairment in the Emergency Department"},"components":[{"factor":"gross_motor","points":0,"present":true,"value":0},{"factor":"mentation_speech","points":0,"present":true,"value":0},{"factor":"tracing_curve","points":0,"present":true,"value":0},{"factor":"nystagmus","points":0,"present":true,"value":0},{"factor":"finger_to_nose","points":0,"present":true,"value":0}],"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":"hii","formula_expression":"HII = (gross_motor + mentation_speech + tracing_curve + nystagmus + finger_to_nose) / (4 × tasks_completed); each completed task a caller-assigned integer 0-4; omitted tasks excluded from numerator and denominator; max denominator 20 if all five completed; range 0-1; current index only","max_points":20,"max_score":1,"score":0,"task_sum":0,"tasks_completed":5},{"citation":{"authors":"Hack JB, Goldlust EJ, Gibbs F, Zink BJ","doi":"10.3109/00952990.2013.865034","id":"hack-2014","pmid":"24555813","source":"Am J Drug Alcohol Abuse. 2014;40(2):111-117","title":"The H-Impairment Index (HII): a standardized assessment of alcohol-induced impairment in the Emergency Department"},"components":[{"factor":"gross_motor","points":0,"present":true,"value":0},{"factor":"mentation_speech","points":0,"present":true,"value":0},{"factor":"tracing_curve","points":0,"present":true,"value":0},{"factor":"nystagmus","points":0,"present":true,"value":0},{"factor":"finger_to_nose","points":0,"present":true,"value":0}],"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":"hii","formula_expression":"HII = (gross_motor + mentation_speech + tracing_curve + nystagmus + finger_to_nose) / (4 × tasks_completed); each completed task a caller-assigned integer 0-4; omitted tasks excluded from numerator and denominator; max denominator 20 if all five completed; range 0-1; current index only","max_points":20,"max_score":1,"score":0,"task_sum":0,"tasks_completed":5}],"path":"/api/calc/hii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"finger_to_nose":{"description":"Caller-assigned Hack 2014 HII finger-to-nose (integer 0-4). Omit when that task was not attempted. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"gross_motor":{"description":"Caller-assigned Hack 2014 HII gross motor function (integer 0-4). Omit when that task was not attempted. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"mentation_speech":{"description":"Caller-assigned Hack 2014 HII mentation and speech (integer 0-4). Omit when that task was not attempted. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"nystagmus":{"description":"Caller-assigned Hack 2014 HII nystagmus (integer 0-4). Omit when that task was not attempted. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"tracing_curve":{"description":"Caller-assigned Hack 2014 HII tracing curve (integer 0-4). Omit when that task was not attempted. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"}},"required":[],"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":["hii","alcohol","impairment","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:17:21.467Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:17:21.306Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"finger_to_nose":0,"gross_motor":0,"mentation_speech":0,"nystagmus":0,"tracing_curve":0},{"finger_to_nose":0,"gross_motor":0,"mentation_speech":0,"nystagmus":0,"tracing_curve":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hack JB, Goldlust EJ, Gibbs F, Zink BJ","doi":"10.3109/00952990.2013.865034","id":"hack-2014","pmid":"24555813","source":"Am J Drug Alcohol Abuse. 2014;40(2):111-117","title":"The H-Impairment Index (HII): a standardized assessment of alcohol-induced impairment in the Emergency Department"},"components":[{"factor":"gross_motor","points":0,"present":true,"value":0},{"factor":"mentation_speech","points":0,"present":true,"value":0},{"factor":"tracing_curve","points":0,"present":true,"value":0},{"factor":"nystagmus","points":0,"present":true,"value":0},{"factor":"finger_to_nose","points":0,"present":true,"value":0}],"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":"hii","formula_expression":"HII = (gross_motor + mentation_speech + tracing_curve + nystagmus + finger_to_nose) / (4 × tasks_completed); each completed task a caller-assigned integer 0-4; omitted tasks excluded from numerator and denominator; max denominator 20 if all five completed; range 0-1; current index only","max_points":20,"max_score":1,"score":0,"task_sum":0,"tasks_completed":5},{"citation":{"authors":"Hack JB, Goldlust EJ, Gibbs F, Zink BJ","doi":"10.3109/00952990.2013.865034","id":"hack-2014","pmid":"24555813","source":"Am J Drug Alcohol Abuse. 2014;40(2):111-117","title":"The H-Impairment Index (HII): a standardized assessment of alcohol-induced impairment in the Emergency Department"},"components":[{"factor":"gross_motor","points":0,"present":true,"value":0},{"factor":"mentation_speech","points":0,"present":true,"value":0},{"factor":"tracing_curve","points":0,"present":true,"value":0},{"factor":"nystagmus","points":0,"present":true,"value":0},{"factor":"finger_to_nose","points":0,"present":true,"value":0}],"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":"hii","formula_expression":"HII = (gross_motor + mentation_speech + tracing_curve + nystagmus + finger_to_nose) / (4 × tasks_completed); each completed task a caller-assigned integer 0-4; omitted tasks excluded from numerator and denominator; max denominator 20 if all five completed; range 0-1; current index only","max_points":20,"max_score":1,"score":0,"task_sum":0,"tasks_completed":5}],"path":"/api/calc/hii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"finger_to_nose":{"description":"Caller-assigned Hack 2014 HII finger-to-nose (integer 0-4). Omit when that task was not attempted. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"gross_motor":{"description":"Caller-assigned Hack 2014 HII gross motor function (integer 0-4). Omit when that task was not attempted. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"mentation_speech":{"description":"Caller-assigned Hack 2014 HII mentation and speech (integer 0-4). Omit when that task was not attempted. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"nystagmus":{"description":"Caller-assigned Hack 2014 HII nystagmus (integer 0-4). Omit when that task was not attempted. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"tracing_curve":{"description":"Caller-assigned Hack 2014 HII tracing curve (integer 0-4). Omit when that task was not attempted. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"}},"required":[],"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},{"id":39104,"slug":"39104","resource":"https://api.magentlab.com/api/calc/hfa_icos_raf_mek","description":"Lyon 2020 HFA-ICOS baseline CV risk before combination RAF and MEK inhibitors. Very high if heart failure or cardiomyopathy; High if MI/CABG, stable angina, severe valvular disease, prior anthracycline, or ≥5 medium points; Medium if 2-4 medium points; Low if 0-1. Age ≥65 is Medium 1 only. LVEF 50-54 is Medium 2; this table has no printed LVEF <50 High row. Expert-opinion cardiotoxicity guide <2% / 2-9% / 10-19% / ≥20%. Not a treatment order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":50,"arrhythmia":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_cabg":false,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"severe_valvular_heart_disease":false,"stable_angina":false},{"age_years":50,"arrhythmia":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_cabg":false,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"severe_valvular_heart_disease":false,"stable_angina":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"mi_or_cabg","points":0,"present":false,"tier":"high"},{"factor":"stable_angina","points":0,"present":false,"tier":"high"},{"factor":"severe_valvular_heart_disease","points":0,"present":false,"tier":"high"},{"factor":"lvef_50_54","points":0,"present":false,"tier":"medium","value":60},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium"},{"factor":"age_ge_65","points":0,"present":false,"tier":"medium","value":50},{"factor":"hypertension","points":0,"present":false,"tier":"medium"},{"factor":"diabetes","points":0,"present":false,"tier":"medium"},{"factor":"ckd","points":0,"present":false,"tier":"medium"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"medium"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium"},{"factor":"obesity","points":0,"present":false,"tier":"medium"}],"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":"hfa_icos_raf_mek","formula_expression":"HFA-ICOS RAF-MEK (Lyon 2020): very_high if heart_failure_or_cardiomyopathy; high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or prior_anthracycline or medium_points>=5; medium if medium_points 2-4; low if medium_points 0-1; medium_points = M2 (lvef 50-54, elevated_troponin, elevated_bnp, hypertension, prior_left_chest_or_mediastinal_rt) + M1 (arrhythmia, age>=65, diabetes, ckd, current_or_significant_smoker, obesity); LVEF <50 is not a printed High row on this table; age>=65 Medium 1 only (no High age band); cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"},{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"mi_or_cabg","points":0,"present":false,"tier":"high"},{"factor":"stable_angina","points":0,"present":false,"tier":"high"},{"factor":"severe_valvular_heart_disease","points":0,"present":false,"tier":"high"},{"factor":"lvef_50_54","points":0,"present":false,"tier":"medium","value":60},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium"},{"factor":"age_ge_65","points":0,"present":false,"tier":"medium","value":50},{"factor":"hypertension","points":0,"present":false,"tier":"medium"},{"factor":"diabetes","points":0,"present":false,"tier":"medium"},{"factor":"ckd","points":0,"present":false,"tier":"medium"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"medium"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium"},{"factor":"obesity","points":0,"present":false,"tier":"medium"}],"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":"hfa_icos_raf_mek","formula_expression":"HFA-ICOS RAF-MEK (Lyon 2020): very_high if heart_failure_or_cardiomyopathy; high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or prior_anthracycline or medium_points>=5; medium if medium_points 2-4; low if medium_points 0-1; medium_points = M2 (lvef 50-54, elevated_troponin, elevated_bnp, hypertension, prior_left_chest_or_mediastinal_rt) + M1 (arrhythmia, age>=65, diabetes, ckd, current_or_significant_smoker, obesity); LVEF <50 is not a printed High row on this table; age>=65 Medium 1 only (no High age band); cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"}],"path":"/api/calc/hfa_icos_raf_mek"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in whole years (18-100). Lyon 2020 RAF-MEK table: age ≥65 is Medium 1. There is no High age band on this table. magent does not read an identity document.","type":"integer"},"arrhythmia":{"description":"Atrial fibrillation, atrial flutter, ventricular tachycardia, or ventricular fibrillation as assigned by the caller (Lyon 2020 RAF-MEK table footnote). true is Medium 1. magent does not read an ECG.","type":"boolean"},"ckd":{"description":"Chronic kidney disease (estimated glomerular filtration rate <60 mL/min/1.73 m2) as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 1. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Current smoker or significant smoking history as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 1.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus (glycated haemoglobin >7.0% or >53 mmol/mol, or on treatment) as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 1. magent does not assay haemoglobin A1c.","type":"boolean"},"elevated_bnp":{"description":"Elevated baseline BNP or NT-proBNP above the local laboratory upper limit of normal as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 2. magent does not assay natriuretic peptides.","type":"boolean"},"elevated_troponin":{"description":"Elevated baseline troponin above the local laboratory upper limit of normal as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 2. magent does not assay troponin.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy as assigned by the caller (Lyon 2020 RAF-MEK table). true is Very high. magent does not diagnose heart failure.","type":"boolean"},"hypertension":{"description":"Hypertension (systolic >140 mm Hg or diastolic >90 mm Hg, or on treatment) as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 2. magent does not measure blood pressure.","type":"boolean"},"lvef_percent":{"description":"Baseline LVEF in whole percent (10-80) as assigned by the caller. 50-54 is Medium 2. ≥55 adds no points. This table has no printed LVEF <50 High row; LVEF <50 does not raise risk_level by itself. magent does not read an echocardiogram.","type":"integer"},"mi_or_cabg":{"description":"Myocardial infarction or CABG as assigned by the caller (Lyon 2020 RAF-MEK table). true is High.","type":"boolean"},"obesity":{"description":"Obesity (BMI >30 kg/m2) as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 1. magent does not compute BMI.","type":"boolean"},"prior_anthracycline":{"description":"Prior anthracycline exposure as assigned by the caller (Lyon 2020 RAF-MEK table). true is High. magent does not read a chemotherapy record.","type":"boolean"},"prior_left_chest_or_mediastinal_rt":{"description":"Prior radiotherapy to the left chest or mediastinum as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 2.","type":"boolean"},"severe_valvular_heart_disease":{"description":"Severe valvular heart disease as assigned by the caller (Lyon 2020 RAF-MEK table). true is High.","type":"boolean"},"stable_angina":{"description":"Stable angina as assigned by the caller (Lyon 2020 RAF-MEK table). true is High. magent does not diagnose angina.","type":"boolean"}},"required":["age_years","lvef_percent","heart_failure_or_cardiomyopathy","mi_or_cabg","stable_angina","severe_valvular_heart_disease","prior_anthracycline","elevated_troponin","elevated_bnp","hypertension","prior_left_chest_or_mediastinal_rt","arrhythmia","diabetes","ckd","current_or_significant_smoker","obesity"],"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":["hfa-icos","raf-mek","cardio-oncology","lyon-2020","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:06:40.724Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:06:40.58Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":50,"arrhythmia":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_cabg":false,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"severe_valvular_heart_disease":false,"stable_angina":false},{"age_years":50,"arrhythmia":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_cabg":false,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"severe_valvular_heart_disease":false,"stable_angina":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"mi_or_cabg","points":0,"present":false,"tier":"high"},{"factor":"stable_angina","points":0,"present":false,"tier":"high"},{"factor":"severe_valvular_heart_disease","points":0,"present":false,"tier":"high"},{"factor":"lvef_50_54","points":0,"present":false,"tier":"medium","value":60},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium"},{"factor":"age_ge_65","points":0,"present":false,"tier":"medium","value":50},{"factor":"hypertension","points":0,"present":false,"tier":"medium"},{"factor":"diabetes","points":0,"present":false,"tier":"medium"},{"factor":"ckd","points":0,"present":false,"tier":"medium"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"medium"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium"},{"factor":"obesity","points":0,"present":false,"tier":"medium"}],"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":"hfa_icos_raf_mek","formula_expression":"HFA-ICOS RAF-MEK (Lyon 2020): very_high if heart_failure_or_cardiomyopathy; high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or prior_anthracycline or medium_points>=5; medium if medium_points 2-4; low if medium_points 0-1; medium_points = M2 (lvef 50-54, elevated_troponin, elevated_bnp, hypertension, prior_left_chest_or_mediastinal_rt) + M1 (arrhythmia, age>=65, diabetes, ckd, current_or_significant_smoker, obesity); LVEF <50 is not a printed High row on this table; age>=65 Medium 1 only (no High age band); cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"},{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"mi_or_cabg","points":0,"present":false,"tier":"high"},{"factor":"stable_angina","points":0,"present":false,"tier":"high"},{"factor":"severe_valvular_heart_disease","points":0,"present":false,"tier":"high"},{"factor":"lvef_50_54","points":0,"present":false,"tier":"medium","value":60},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium"},{"factor":"age_ge_65","points":0,"present":false,"tier":"medium","value":50},{"factor":"hypertension","points":0,"present":false,"tier":"medium"},{"factor":"diabetes","points":0,"present":false,"tier":"medium"},{"factor":"ckd","points":0,"present":false,"tier":"medium"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"medium"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium"},{"factor":"obesity","points":0,"present":false,"tier":"medium"}],"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":"hfa_icos_raf_mek","formula_expression":"HFA-ICOS RAF-MEK (Lyon 2020): very_high if heart_failure_or_cardiomyopathy; high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or prior_anthracycline or medium_points>=5; medium if medium_points 2-4; low if medium_points 0-1; medium_points = M2 (lvef 50-54, elevated_troponin, elevated_bnp, hypertension, prior_left_chest_or_mediastinal_rt) + M1 (arrhythmia, age>=65, diabetes, ckd, current_or_significant_smoker, obesity); LVEF <50 is not a printed High row on this table; age>=65 Medium 1 only (no High age band); cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"}],"path":"/api/calc/hfa_icos_raf_mek"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in whole years (18-100). Lyon 2020 RAF-MEK table: age ≥65 is Medium 1. There is no High age band on this table. magent does not read an identity document.","type":"integer"},"arrhythmia":{"description":"Atrial fibrillation, atrial flutter, ventricular tachycardia, or ventricular fibrillation as assigned by the caller (Lyon 2020 RAF-MEK table footnote). true is Medium 1. magent does not read an ECG.","type":"boolean"},"ckd":{"description":"Chronic kidney disease (estimated glomerular filtration rate <60 mL/min/1.73 m2) as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 1. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Current smoker or significant smoking history as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 1.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus (glycated haemoglobin >7.0% or >53 mmol/mol, or on treatment) as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 1. magent does not assay haemoglobin A1c.","type":"boolean"},"elevated_bnp":{"description":"Elevated baseline BNP or NT-proBNP above the local laboratory upper limit of normal as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 2. magent does not assay natriuretic peptides.","type":"boolean"},"elevated_troponin":{"description":"Elevated baseline troponin above the local laboratory upper limit of normal as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 2. magent does not assay troponin.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy as assigned by the caller (Lyon 2020 RAF-MEK table). true is Very high. magent does not diagnose heart failure.","type":"boolean"},"hypertension":{"description":"Hypertension (systolic >140 mm Hg or diastolic >90 mm Hg, or on treatment) as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 2. magent does not measure blood pressure.","type":"boolean"},"lvef_percent":{"description":"Baseline LVEF in whole percent (10-80) as assigned by the caller. 50-54 is Medium 2. ≥55 adds no points. This table has no printed LVEF <50 High row; LVEF <50 does not raise risk_level by itself. magent does not read an echocardiogram.","type":"integer"},"mi_or_cabg":{"description":"Myocardial infarction or CABG as assigned by the caller (Lyon 2020 RAF-MEK table). true is High.","type":"boolean"},"obesity":{"description":"Obesity (BMI >30 kg/m2) as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 1. magent does not compute BMI.","type":"boolean"},"prior_anthracycline":{"description":"Prior anthracycline exposure as assigned by the caller (Lyon 2020 RAF-MEK table). true is High. magent does not read a chemotherapy record.","type":"boolean"},"prior_left_chest_or_mediastinal_rt":{"description":"Prior radiotherapy to the left chest or mediastinum as assigned by the caller (Lyon 2020 RAF-MEK table). true is Medium 2.","type":"boolean"},"severe_valvular_heart_disease":{"description":"Severe valvular heart disease as assigned by the caller (Lyon 2020 RAF-MEK table). true is High.","type":"boolean"},"stable_angina":{"description":"Stable angina as assigned by the caller (Lyon 2020 RAF-MEK table). true is High. magent does not diagnose angina.","type":"boolean"}},"required":["age_years","lvef_percent","heart_failure_or_cardiomyopathy","mi_or_cabg","stable_angina","severe_valvular_heart_disease","prior_anthracycline","elevated_troponin","elevated_bnp","hypertension","prior_left_chest_or_mediastinal_rt","arrhythmia","diabetes","ckd","current_or_significant_smoker","obesity"],"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},{"id":39105,"slug":"39105","resource":"https://api.magentlab.com/api/calc/hestia","description":"Hestia criteria (Zondag 2011). Outpatient PE is eligible only when none of 11 caller-assigned exclusions hold: hemodynamic instability, thrombolysis or embolectomy, high bleeding risk, oxygen >24 h, PE on anticoagulation, IV pain medication >24 h, medical or social admission, CrCl <30, severe liver impairment, pregnancy, or documented HIT. Any yes excludes home treatment. Not a diagnosis, not PESI, not sPESI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"creatinine_clearance_lt_30":false,"hemodynamically_unstable":false,"high_bleeding_risk":false,"history_of_hit":false,"iv_pain_meds_gt_24h":false,"medical_or_social_admission":false,"oxygen_gt_24h":false,"pe_on_anticoagulation":false,"pregnant":false,"severe_liver_impairment":false,"thrombolysis_or_embolectomy":false},{"creatinine_clearance_lt_30":false,"hemodynamically_unstable":false,"high_bleeding_risk":false,"history_of_hit":false,"iv_pain_meds_gt_24h":false,"medical_or_social_admission":false,"oxygen_gt_24h":false,"pe_on_anticoagulation":false,"pregnant":false,"severe_liver_impairment":false,"thrombolysis_or_embolectomy":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Zondag W, Mos ICM, Creemers-Schild D, et al.","doi":"10.1111/j.1538-7836.2011.04388.x","id":"zondag-2011","source":"J Thromb Haemost. 2011;9(8):1500-1507","title":"Outpatient treatment in patients with acute pulmonary embolism: the Hestia Study"},"criteria":[{"factor":"hemodynamically_unstable","met":false},{"factor":"thrombolysis_or_embolectomy","met":false},{"factor":"high_bleeding_risk","met":false},{"factor":"oxygen_gt_24h","met":false},{"factor":"pe_on_anticoagulation","met":false},{"factor":"iv_pain_meds_gt_24h","met":false},{"factor":"medical_or_social_admission","met":false},{"factor":"creatinine_clearance_lt_30","met":false},{"factor":"severe_liver_impairment","met":false},{"factor":"pregnant","met":false},{"factor":"history_of_hit","met":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":"hestia","formula_expression":"outpatient eligible iff none of the 11 exclusion criteria","outpatient_eligible":true},{"citation":{"authors":"Zondag W, Mos ICM, Creemers-Schild D, et al.","doi":"10.1111/j.1538-7836.2011.04388.x","id":"zondag-2011","source":"J Thromb Haemost. 2011;9(8):1500-1507","title":"Outpatient treatment in patients with acute pulmonary embolism: the Hestia Study"},"criteria":[{"factor":"hemodynamically_unstable","met":false},{"factor":"thrombolysis_or_embolectomy","met":false},{"factor":"high_bleeding_risk","met":false},{"factor":"oxygen_gt_24h","met":false},{"factor":"pe_on_anticoagulation","met":false},{"factor":"iv_pain_meds_gt_24h","met":false},{"factor":"medical_or_social_admission","met":false},{"factor":"creatinine_clearance_lt_30","met":false},{"factor":"severe_liver_impairment","met":false},{"factor":"pregnant","met":false},{"factor":"history_of_hit","met":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":"hestia","formula_expression":"outpatient eligible iff none of the 11 exclusion criteria","outpatient_eligible":true}],"path":"/api/calc/hestia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_clearance_lt_30":{"description":"Creatinine clearance <30 mL/min by Cockcroft-Gault, as assigned by the caller. true or false. magent does not compute Cockcroft-Gault.","type":"boolean"},"hemodynamically_unstable":{"description":"Hemodynamic instability left to the clinician, including SBP <100 mmHg with heart rate >100 or ICU admission, as assigned by the caller. true or false. magent does not measure blood pressure or heart rate.","type":"boolean"},"high_bleeding_risk":{"description":"Active bleeding or high risk of bleeding as assigned by the caller (paper: GI bleeding in the preceding 14 days, stroke <4 weeks, operation <2 weeks, bleeding disorder or platelets <75×10^9/L, or uncontrolled hypertension SBP >180 or DBP >110). true or false. magent does not compute bleeding risk.","type":"boolean"},"history_of_hit":{"description":"Documented history of heparin-induced thrombocytopenia (HIT). true or false as assigned by the caller. magent does not diagnose HIT.","type":"boolean"},"iv_pain_meds_gt_24h":{"description":"Severe pain needing intravenous pain medication for more than 24 h. true or false as assigned by the caller.","type":"boolean"},"medical_or_social_admission":{"description":"Medical or social reason for hospital treatment >24 h (paper: infection, malignancy, no support system). true or false as assigned by the caller.","type":"boolean"},"oxygen_gt_24h":{"description":"More than 24 h of oxygen supply to keep SaO2 >90%, as assigned by the caller. true or false. magent does not compute oxygen duration or saturation.","type":"boolean"},"pe_on_anticoagulation":{"description":"Pulmonary embolism diagnosed during anticoagulant treatment. true or false as assigned by the caller.","type":"boolean"},"pregnant":{"description":"Pregnancy. true or false as assigned by the caller.","type":"boolean"},"severe_liver_impairment":{"description":"Severe liver impairment as judged by the caller (paper: physician judgement). true or false. magent does not grade liver impairment.","type":"boolean"},"thrombolysis_or_embolectomy":{"description":"Thrombolysis or embolectomy necessary. true or false as assigned by the caller. magent does not decide reperfusion.","type":"boolean"}},"required":["hemodynamically_unstable","thrombolysis_or_embolectomy","high_bleeding_risk","oxygen_gt_24h","pe_on_anticoagulation","iv_pain_meds_gt_24h","medical_or_social_admission","creatinine_clearance_lt_30","severe_liver_impairment","pregnant","history_of_hit"],"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":["hestia","pe","vte","outpatient","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:06:38.529Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:06:38.356Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"creatinine_clearance_lt_30":false,"hemodynamically_unstable":false,"high_bleeding_risk":false,"history_of_hit":false,"iv_pain_meds_gt_24h":false,"medical_or_social_admission":false,"oxygen_gt_24h":false,"pe_on_anticoagulation":false,"pregnant":false,"severe_liver_impairment":false,"thrombolysis_or_embolectomy":false},{"creatinine_clearance_lt_30":false,"hemodynamically_unstable":false,"high_bleeding_risk":false,"history_of_hit":false,"iv_pain_meds_gt_24h":false,"medical_or_social_admission":false,"oxygen_gt_24h":false,"pe_on_anticoagulation":false,"pregnant":false,"severe_liver_impairment":false,"thrombolysis_or_embolectomy":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Zondag W, Mos ICM, Creemers-Schild D, et al.","doi":"10.1111/j.1538-7836.2011.04388.x","id":"zondag-2011","source":"J Thromb Haemost. 2011;9(8):1500-1507","title":"Outpatient treatment in patients with acute pulmonary embolism: the Hestia Study"},"criteria":[{"factor":"hemodynamically_unstable","met":false},{"factor":"thrombolysis_or_embolectomy","met":false},{"factor":"high_bleeding_risk","met":false},{"factor":"oxygen_gt_24h","met":false},{"factor":"pe_on_anticoagulation","met":false},{"factor":"iv_pain_meds_gt_24h","met":false},{"factor":"medical_or_social_admission","met":false},{"factor":"creatinine_clearance_lt_30","met":false},{"factor":"severe_liver_impairment","met":false},{"factor":"pregnant","met":false},{"factor":"history_of_hit","met":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":"hestia","formula_expression":"outpatient eligible iff none of the 11 exclusion criteria","outpatient_eligible":true},{"citation":{"authors":"Zondag W, Mos ICM, Creemers-Schild D, et al.","doi":"10.1111/j.1538-7836.2011.04388.x","id":"zondag-2011","source":"J Thromb Haemost. 2011;9(8):1500-1507","title":"Outpatient treatment in patients with acute pulmonary embolism: the Hestia Study"},"criteria":[{"factor":"hemodynamically_unstable","met":false},{"factor":"thrombolysis_or_embolectomy","met":false},{"factor":"high_bleeding_risk","met":false},{"factor":"oxygen_gt_24h","met":false},{"factor":"pe_on_anticoagulation","met":false},{"factor":"iv_pain_meds_gt_24h","met":false},{"factor":"medical_or_social_admission","met":false},{"factor":"creatinine_clearance_lt_30","met":false},{"factor":"severe_liver_impairment","met":false},{"factor":"pregnant","met":false},{"factor":"history_of_hit","met":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":"hestia","formula_expression":"outpatient eligible iff none of the 11 exclusion criteria","outpatient_eligible":true}],"path":"/api/calc/hestia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_clearance_lt_30":{"description":"Creatinine clearance <30 mL/min by Cockcroft-Gault, as assigned by the caller. true or false. magent does not compute Cockcroft-Gault.","type":"boolean"},"hemodynamically_unstable":{"description":"Hemodynamic instability left to the clinician, including SBP <100 mmHg with heart rate >100 or ICU admission, as assigned by the caller. true or false. magent does not measure blood pressure or heart rate.","type":"boolean"},"high_bleeding_risk":{"description":"Active bleeding or high risk of bleeding as assigned by the caller (paper: GI bleeding in the preceding 14 days, stroke <4 weeks, operation <2 weeks, bleeding disorder or platelets <75×10^9/L, or uncontrolled hypertension SBP >180 or DBP >110). true or false. magent does not compute bleeding risk.","type":"boolean"},"history_of_hit":{"description":"Documented history of heparin-induced thrombocytopenia (HIT). true or false as assigned by the caller. magent does not diagnose HIT.","type":"boolean"},"iv_pain_meds_gt_24h":{"description":"Severe pain needing intravenous pain medication for more than 24 h. true or false as assigned by the caller.","type":"boolean"},"medical_or_social_admission":{"description":"Medical or social reason for hospital treatment >24 h (paper: infection, malignancy, no support system). true or false as assigned by the caller.","type":"boolean"},"oxygen_gt_24h":{"description":"More than 24 h of oxygen supply to keep SaO2 >90%, as assigned by the caller. true or false. magent does not compute oxygen duration or saturation.","type":"boolean"},"pe_on_anticoagulation":{"description":"Pulmonary embolism diagnosed during anticoagulant treatment. true or false as assigned by the caller.","type":"boolean"},"pregnant":{"description":"Pregnancy. true or false as assigned by the caller.","type":"boolean"},"severe_liver_impairment":{"description":"Severe liver impairment as judged by the caller (paper: physician judgement). true or false. magent does not grade liver impairment.","type":"boolean"},"thrombolysis_or_embolectomy":{"description":"Thrombolysis or embolectomy necessary. true or false as assigned by the caller. magent does not decide reperfusion.","type":"boolean"}},"required":["hemodynamically_unstable","thrombolysis_or_embolectomy","high_bleeding_risk","oxygen_gt_24h","pe_on_anticoagulation","iv_pain_meds_gt_24h","medical_or_social_admission","creatinine_clearance_lt_30","severe_liver_impairment","pregnant","history_of_hit"],"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},{"id":39106,"slug":"39106","resource":"https://api.magentlab.com/api/calc/herdoo2","description":"Rodger 2008 HERDOO2 after a first unprovoked VTE. Score 1 each for hyperpigmentation, edema, or redness in either leg; D-dimer ≥250 μg/L while on anticoagulants; BMI ≥30; age ≥65 (equality scores). Max 4. low_risk is true only for women with score ≤1. Men have no low-risk subgroup in the derivation. Not a medical device and not a duration-of-anticoagulation order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"bmi_kg_m2":22,"d_dimer_ge_250":false,"her_signs":false,"sex":"female"},{"age":40,"bmi_kg_m2":22,"d_dimer_ge_250":false,"her_signs":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"bmi_kg_m2":22,"citation":{"authors":"Rodger MA, Kahn SR, Wells PS, Anderson DA, Chagnon I, Le Gal G, Solymoss S, Crowther M, Perrier A, White R, Vickars L, Ramsay T, Betancourt MT, Kovacs MJ","doi":"10.1503/cmaj.080493","id":"rodger-2008","pmid":"18725614","source":"CMAJ. 2008;179(5):417-426","title":"Identifying unprovoked thromboembolism patients at low risk for recurrence who can discontinue anticoagulant therapy"},"components":[{"factor":"her_signs","points":0,"present":false},{"factor":"d_dimer_ge_250","points":0,"present":false},{"factor":"bmi_ge_30","points":0,"present":false,"value":22},{"factor":"age_ge_65","points":0,"present":false,"value":40}],"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":"herdoo2","formula_expression":"HERDOO2 = her_signs + d_dimer_ge_250 + (bmi_kg_m2>=30) + (age>=65); each 1 if true; max 4; low_risk iff female and score<=1 (men have no low-risk subgroup)","low_risk":true,"max_score":4,"score":0,"sex":"female"},{"age_years":40,"bmi_kg_m2":22,"citation":{"authors":"Rodger MA, Kahn SR, Wells PS, Anderson DA, Chagnon I, Le Gal G, Solymoss S, Crowther M, Perrier A, White R, Vickars L, Ramsay T, Betancourt MT, Kovacs MJ","doi":"10.1503/cmaj.080493","id":"rodger-2008","pmid":"18725614","source":"CMAJ. 2008;179(5):417-426","title":"Identifying unprovoked thromboembolism patients at low risk for recurrence who can discontinue anticoagulant therapy"},"components":[{"factor":"her_signs","points":0,"present":false},{"factor":"d_dimer_ge_250","points":0,"present":false},{"factor":"bmi_ge_30","points":0,"present":false,"value":22},{"factor":"age_ge_65","points":0,"present":false,"value":40}],"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":"herdoo2","formula_expression":"HERDOO2 = her_signs + d_dimer_ge_250 + (bmi_kg_m2>=30) + (age>=65); each 1 if true; max 4; low_risk iff female and score<=1 (men have no low-risk subgroup)","low_risk":true,"max_score":4,"score":0,"sex":"female"}],"path":"/api/calc/herdoo2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Scores 1 when ≥65. Age 65 meets (Rodger 2008).","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Scores 1 when ≥30. Equality at 30.0 meets.","type":"number"},"d_dimer_ge_250":{"description":"D-dimer ≥250 μg/L while on anticoagulants (Rodger 2008). Caller-assigned; magent does not assay D-dimer. true or false. 1 point if true.","type":"boolean"},"her_signs":{"description":"Hyperpigmentation, edema, or redness in either leg (Rodger 2008). Caller-assigned. true or false. 1 point if true.","type":"boolean"},"sex":{"description":"female or male. low_risk is true only when female and score ≤1. Men have no low-risk subgroup in Rodger 2008.","enum":["female","male"],"type":"string"}},"required":["sex","her_signs","d_dimer_ge_250","bmi_kg_m2","age"],"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":["herdoo2","vte","recurrence","d-dimer","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:06:36.309Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:06:36.144Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"bmi_kg_m2":22,"d_dimer_ge_250":false,"her_signs":false,"sex":"female"},{"age":40,"bmi_kg_m2":22,"d_dimer_ge_250":false,"her_signs":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"bmi_kg_m2":22,"citation":{"authors":"Rodger MA, Kahn SR, Wells PS, Anderson DA, Chagnon I, Le Gal G, Solymoss S, Crowther M, Perrier A, White R, Vickars L, Ramsay T, Betancourt MT, Kovacs MJ","doi":"10.1503/cmaj.080493","id":"rodger-2008","pmid":"18725614","source":"CMAJ. 2008;179(5):417-426","title":"Identifying unprovoked thromboembolism patients at low risk for recurrence who can discontinue anticoagulant therapy"},"components":[{"factor":"her_signs","points":0,"present":false},{"factor":"d_dimer_ge_250","points":0,"present":false},{"factor":"bmi_ge_30","points":0,"present":false,"value":22},{"factor":"age_ge_65","points":0,"present":false,"value":40}],"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":"herdoo2","formula_expression":"HERDOO2 = her_signs + d_dimer_ge_250 + (bmi_kg_m2>=30) + (age>=65); each 1 if true; max 4; low_risk iff female and score<=1 (men have no low-risk subgroup)","low_risk":true,"max_score":4,"score":0,"sex":"female"},{"age_years":40,"bmi_kg_m2":22,"citation":{"authors":"Rodger MA, Kahn SR, Wells PS, Anderson DA, Chagnon I, Le Gal G, Solymoss S, Crowther M, Perrier A, White R, Vickars L, Ramsay T, Betancourt MT, Kovacs MJ","doi":"10.1503/cmaj.080493","id":"rodger-2008","pmid":"18725614","source":"CMAJ. 2008;179(5):417-426","title":"Identifying unprovoked thromboembolism patients at low risk for recurrence who can discontinue anticoagulant therapy"},"components":[{"factor":"her_signs","points":0,"present":false},{"factor":"d_dimer_ge_250","points":0,"present":false},{"factor":"bmi_ge_30","points":0,"present":false,"value":22},{"factor":"age_ge_65","points":0,"present":false,"value":40}],"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":"herdoo2","formula_expression":"HERDOO2 = her_signs + d_dimer_ge_250 + (bmi_kg_m2>=30) + (age>=65); each 1 if true; max 4; low_risk iff female and score<=1 (men have no low-risk subgroup)","low_risk":true,"max_score":4,"score":0,"sex":"female"}],"path":"/api/calc/herdoo2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Scores 1 when ≥65. Age 65 meets (Rodger 2008).","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Scores 1 when ≥30. Equality at 30.0 meets.","type":"number"},"d_dimer_ge_250":{"description":"D-dimer ≥250 μg/L while on anticoagulants (Rodger 2008). Caller-assigned; magent does not assay D-dimer. true or false. 1 point if true.","type":"boolean"},"her_signs":{"description":"Hyperpigmentation, edema, or redness in either leg (Rodger 2008). Caller-assigned. true or false. 1 point if true.","type":"boolean"},"sex":{"description":"female or male. low_risk is true only when female and score ≤1. Men have no low-risk subgroup in Rodger 2008.","enum":["female","male"],"type":"string"}},"required":["sex","her_signs","d_dimer_ge_250","bmi_kg_m2","age"],"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},{"id":39107,"slug":"39107","resource":"https://api.magentlab.com/api/calc/ottawa_sah","description":"Ottawa SAH Rule (Perry 2013 JAMA). Investigate when any of six findings is present: age 40 or older, neck pain or stiffness, witnessed loss of consciousness, onset during exertion, thunderclap headache (instantly peaking pain), or limited neck flexion on examination. Not a diagnosis of SAH, not Hunt-Hess, and not Fisher grade. For alert, neurologically intact adults with nontraumatic headache peaking within 1 hour as published. magent does not examine the neck.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":30,"limited_neck_flexion":false,"neck_pain_or_stiffness":false,"onset_during_exertion":false,"thunderclap_headache":false,"witnessed_loc":false},{"age":30,"limited_neck_flexion":false,"neck_pain_or_stiffness":false,"onset_during_exertion":false,"thunderclap_headache":false,"witnessed_loc":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"citation":{"authors":"Perry JJ, Stiell IG, Sivilotti MLA, et al.","doi":"10.1001/jama.2013.278018","id":"perry-2013","source":"JAMA. 2013;310(12):1248-1255","title":"Clinical decision rules to rule out subarachnoid hemorrhage for acute headache"},"criteria":[{"factor":"age_ge_40","met":false,"value":30},{"factor":"neck_pain_or_stiffness","met":false},{"factor":"witnessed_loc","met":false},{"factor":"onset_during_exertion","met":false},{"factor":"thunderclap_headache","met":false},{"factor":"limited_neck_flexion","met":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":"ottawa_sah","formula_expression":"Investigation indicated iff age >= 40 or neck_pain_or_stiffness or witnessed_loc or onset_during_exertion or thunderclap_headache or limited_neck_flexion","investigation_indicated":false},{"age_years":30,"citation":{"authors":"Perry JJ, Stiell IG, Sivilotti MLA, et al.","doi":"10.1001/jama.2013.278018","id":"perry-2013","source":"JAMA. 2013;310(12):1248-1255","title":"Clinical decision rules to rule out subarachnoid hemorrhage for acute headache"},"criteria":[{"factor":"age_ge_40","met":false,"value":30},{"factor":"neck_pain_or_stiffness","met":false},{"factor":"witnessed_loc","met":false},{"factor":"onset_during_exertion","met":false},{"factor":"thunderclap_headache","met":false},{"factor":"limited_neck_flexion","met":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":"ottawa_sah","formula_expression":"Investigation indicated iff age >= 40 or neck_pain_or_stiffness or witnessed_loc or onset_during_exertion or thunderclap_headache or limited_neck_flexion","investigation_indicated":false}],"path":"/api/calc/ottawa_sah"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥40 meets this criterion; 39 does not.","type":"integer"},"limited_neck_flexion":{"description":"Limited neck flexion on examination as assigned by the caller. true or false. magent does not examine the neck.","type":"boolean"},"neck_pain_or_stiffness":{"description":"Neck pain or stiffness as assigned by the caller. true or false.","type":"boolean"},"onset_during_exertion":{"description":"Onset during exertion. true or false as assigned by the caller.","type":"boolean"},"thunderclap_headache":{"description":"Thunderclap headache (instantly peaking pain as published). true or false as assigned by the caller.","type":"boolean"},"witnessed_loc":{"description":"Witnessed loss of consciousness. true or false as assigned by the caller.","type":"boolean"}},"required":["age","neck_pain_or_stiffness","witnessed_loc","onset_during_exertion","thunderclap_headache","limited_neck_flexion"],"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":["ottawa-sah","sah","headache","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:01:39.568Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:01:39.428Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":30,"limited_neck_flexion":false,"neck_pain_or_stiffness":false,"onset_during_exertion":false,"thunderclap_headache":false,"witnessed_loc":false},{"age":30,"limited_neck_flexion":false,"neck_pain_or_stiffness":false,"onset_during_exertion":false,"thunderclap_headache":false,"witnessed_loc":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"citation":{"authors":"Perry JJ, Stiell IG, Sivilotti MLA, et al.","doi":"10.1001/jama.2013.278018","id":"perry-2013","source":"JAMA. 2013;310(12):1248-1255","title":"Clinical decision rules to rule out subarachnoid hemorrhage for acute headache"},"criteria":[{"factor":"age_ge_40","met":false,"value":30},{"factor":"neck_pain_or_stiffness","met":false},{"factor":"witnessed_loc","met":false},{"factor":"onset_during_exertion","met":false},{"factor":"thunderclap_headache","met":false},{"factor":"limited_neck_flexion","met":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":"ottawa_sah","formula_expression":"Investigation indicated iff age >= 40 or neck_pain_or_stiffness or witnessed_loc or onset_during_exertion or thunderclap_headache or limited_neck_flexion","investigation_indicated":false},{"age_years":30,"citation":{"authors":"Perry JJ, Stiell IG, Sivilotti MLA, et al.","doi":"10.1001/jama.2013.278018","id":"perry-2013","source":"JAMA. 2013;310(12):1248-1255","title":"Clinical decision rules to rule out subarachnoid hemorrhage for acute headache"},"criteria":[{"factor":"age_ge_40","met":false,"value":30},{"factor":"neck_pain_or_stiffness","met":false},{"factor":"witnessed_loc","met":false},{"factor":"onset_during_exertion","met":false},{"factor":"thunderclap_headache","met":false},{"factor":"limited_neck_flexion","met":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":"ottawa_sah","formula_expression":"Investigation indicated iff age >= 40 or neck_pain_or_stiffness or witnessed_loc or onset_during_exertion or thunderclap_headache or limited_neck_flexion","investigation_indicated":false}],"path":"/api/calc/ottawa_sah"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥40 meets this criterion; 39 does not.","type":"integer"},"limited_neck_flexion":{"description":"Limited neck flexion on examination as assigned by the caller. true or false. magent does not examine the neck.","type":"boolean"},"neck_pain_or_stiffness":{"description":"Neck pain or stiffness as assigned by the caller. true or false.","type":"boolean"},"onset_during_exertion":{"description":"Onset during exertion. true or false as assigned by the caller.","type":"boolean"},"thunderclap_headache":{"description":"Thunderclap headache (instantly peaking pain as published). true or false as assigned by the caller.","type":"boolean"},"witnessed_loc":{"description":"Witnessed loss of consciousness. true or false as assigned by the caller.","type":"boolean"}},"required":["age","neck_pain_or_stiffness","witnessed_loc","onset_during_exertion","thunderclap_headache","limited_neck_flexion"],"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},{"id":39108,"slug":"39108","resource":"https://api.magentlab.com/api/calc/ottawa_ankle","description":"Ottawa ankle rule (Stiell 1992). Ankle x-ray is indicated when there is malleolar-zone pain and any of: bone tenderness at the posterior edge or tip of the lateral or medial malleolus, or inability to bear weight both immediately after injury and in the emergency department (four steps). One weight-bearing failure alone is not enough. Not a diagnosis of fracture, not the Ottawa foot rule, and not the Pittsburgh knee rule. magent does not examine the ankle.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"lateral_malleolus_tenderness":false,"malleolar_pain":false,"medial_malleolus_tenderness":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":false},{"lateral_malleolus_tenderness":false,"malleolar_pain":false,"medial_malleolus_tenderness":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stiell IG, Greenberg GH, McKnight RD, Nair RC, McDowell I, Worthington JR","doi":"10.1016/S0196-0644(05)82656-3","id":"stiell-1992","source":"Ann Emerg Med. 1992;21(4):384-390","title":"A study to develop clinical decision rules for the use of radiography in acute ankle injuries"},"criteria":[{"factor":"malleolar_pain","met":false},{"factor":"lateral_malleolus_tenderness","met":false},{"factor":"medial_malleolus_tenderness","met":false},{"factor":"unable_to_bear_weight_both","met":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":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":"ottawa_ankle","formula_expression":"Ankle x-ray indicated iff malleolar_pain and (lateral_malleolus_tenderness or medial_malleolus_tenderness or (unable_to_bear_weight_immediately and unable_to_bear_weight_in_ed))","xray_indicated":false},{"citation":{"authors":"Stiell IG, Greenberg GH, McKnight RD, Nair RC, McDowell I, Worthington JR","doi":"10.1016/S0196-0644(05)82656-3","id":"stiell-1992","source":"Ann Emerg Med. 1992;21(4):384-390","title":"A study to develop clinical decision rules for the use of radiography in acute ankle injuries"},"criteria":[{"factor":"malleolar_pain","met":false},{"factor":"lateral_malleolus_tenderness","met":false},{"factor":"medial_malleolus_tenderness","met":false},{"factor":"unable_to_bear_weight_both","met":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":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":"ottawa_ankle","formula_expression":"Ankle x-ray indicated iff malleolar_pain and (lateral_malleolus_tenderness or medial_malleolus_tenderness or (unable_to_bear_weight_immediately and unable_to_bear_weight_in_ed))","xray_indicated":false}],"path":"/api/calc/ottawa_ankle"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"lateral_malleolus_tenderness":{"description":"Bone tenderness at the posterior edge or tip of the lateral malleolus. true or false. Applies only inside the malleolar zone.","type":"boolean"},"malleolar_pain":{"description":"Pain in the malleolar zone as assigned by the caller. true or false. Ankle x-ray is not indicated when false, even if tenderness flags are true.","type":"boolean"},"medial_malleolus_tenderness":{"description":"Bone tenderness at the posterior edge or tip of the medial malleolus. true or false. Applies only inside the malleolar zone.","type":"boolean"},"unable_to_bear_weight_immediately":{"description":"Unable to bear weight immediately after injury (four steps). true or false. Counts only when also unable in the emergency department.","type":"boolean"},"unable_to_bear_weight_in_ed":{"description":"Unable to bear weight in the emergency department (four steps). true or false. Counts only when also unable immediately after injury.","type":"boolean"}},"required":["malleolar_pain","lateral_malleolus_tenderness","medial_malleolus_tenderness","unable_to_bear_weight_immediately","unable_to_bear_weight_in_ed"],"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":["ottawa-ankle","ankle","radiography","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:01:38.542Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:01:38.351Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"lateral_malleolus_tenderness":false,"malleolar_pain":false,"medial_malleolus_tenderness":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":false},{"lateral_malleolus_tenderness":false,"malleolar_pain":false,"medial_malleolus_tenderness":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stiell IG, Greenberg GH, McKnight RD, Nair RC, McDowell I, Worthington JR","doi":"10.1016/S0196-0644(05)82656-3","id":"stiell-1992","source":"Ann Emerg Med. 1992;21(4):384-390","title":"A study to develop clinical decision rules for the use of radiography in acute ankle injuries"},"criteria":[{"factor":"malleolar_pain","met":false},{"factor":"lateral_malleolus_tenderness","met":false},{"factor":"medial_malleolus_tenderness","met":false},{"factor":"unable_to_bear_weight_both","met":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":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":"ottawa_ankle","formula_expression":"Ankle x-ray indicated iff malleolar_pain and (lateral_malleolus_tenderness or medial_malleolus_tenderness or (unable_to_bear_weight_immediately and unable_to_bear_weight_in_ed))","xray_indicated":false},{"citation":{"authors":"Stiell IG, Greenberg GH, McKnight RD, Nair RC, McDowell I, Worthington JR","doi":"10.1016/S0196-0644(05)82656-3","id":"stiell-1992","source":"Ann Emerg Med. 1992;21(4):384-390","title":"A study to develop clinical decision rules for the use of radiography in acute ankle injuries"},"criteria":[{"factor":"malleolar_pain","met":false},{"factor":"lateral_malleolus_tenderness","met":false},{"factor":"medial_malleolus_tenderness","met":false},{"factor":"unable_to_bear_weight_both","met":false,"unable_to_bear_weight_immediately":false,"unable_to_bear_weight_in_ed":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":"ottawa_ankle","formula_expression":"Ankle x-ray indicated iff malleolar_pain and (lateral_malleolus_tenderness or medial_malleolus_tenderness or (unable_to_bear_weight_immediately and unable_to_bear_weight_in_ed))","xray_indicated":false}],"path":"/api/calc/ottawa_ankle"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"lateral_malleolus_tenderness":{"description":"Bone tenderness at the posterior edge or tip of the lateral malleolus. true or false. Applies only inside the malleolar zone.","type":"boolean"},"malleolar_pain":{"description":"Pain in the malleolar zone as assigned by the caller. true or false. Ankle x-ray is not indicated when false, even if tenderness flags are true.","type":"boolean"},"medial_malleolus_tenderness":{"description":"Bone tenderness at the posterior edge or tip of the medial malleolus. true or false. Applies only inside the malleolar zone.","type":"boolean"},"unable_to_bear_weight_immediately":{"description":"Unable to bear weight immediately after injury (four steps). true or false. Counts only when also unable in the emergency department.","type":"boolean"},"unable_to_bear_weight_in_ed":{"description":"Unable to bear weight in the emergency department (four steps). true or false. Counts only when also unable immediately after injury.","type":"boolean"}},"required":["malleolar_pain","lateral_malleolus_tenderness","medial_malleolus_tenderness","unable_to_bear_weight_immediately","unable_to_bear_weight_in_ed"],"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},{"id":39109,"slug":"39109","resource":"https://api.magentlab.com/api/calc/ort_oud","description":"Cheatle 2019 revised Opioid Risk Tool (ORT-OUD): nine unweighted yes/no flags (each 1; max 9). No sex. No preadolescent sexual abuse item. Scores 0-2 are non_oud; 3 or more are oud (integer cutoff for the paper's 2.5). Not Webster 2005 weighted ORT. Cheatle 2019 enrolled only Caucasian patients of European descent (parent-study genotype design); that is a population limit, not a race coefficient. Not a diagnosis of opioid use disorder. magent does not interview the patient. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"add_ocd_bipolar_schizophrenia":false,"age_16_to_45":false,"depression":false,"family_alcohol":false,"family_illegal_drugs":false,"family_prescription_drugs":false,"personal_alcohol":false,"personal_illegal_drugs":false,"personal_prescription_drugs":false},{"add_ocd_bipolar_schizophrenia":false,"age_16_to_45":false,"depression":false,"family_alcohol":false,"family_illegal_drugs":false,"family_prescription_drugs":false,"personal_alcohol":false,"personal_illegal_drugs":false,"personal_prescription_drugs":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cheatle MD, Compton PA, Dhingra L, Wasser TE, O'Brien CP","doi":"10.1016/j.jpain.2019.01.011","id":"cheatle-2019","pmid":"30690168","source":"J Pain. 2019;20(7):842-851 (Epub 2019 Jan 26)","title":"Development of the Revised Opioid Risk Tool to Predict Opioid Use Disorder in Patients with Chronic Nonmalignant Pain."},"components":[{"factor":"family_alcohol","points":0,"present":false},{"factor":"family_illegal_drugs","points":0,"present":false},{"factor":"family_prescription_drugs","points":0,"present":false},{"factor":"personal_alcohol","points":0,"present":false},{"factor":"personal_illegal_drugs","points":0,"present":false},{"factor":"personal_prescription_drugs","points":0,"present":false},{"factor":"age_16_to_45","points":0,"present":false},{"factor":"add_ocd_bipolar_schizophrenia","points":0,"present":false},{"factor":"depression","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":"ort_oud","formula_expression":"ORT-OUD = family_alcohol + family_illegal_drugs + family_prescription_drugs + personal_alcohol + personal_illegal_drugs + personal_prescription_drugs + age_16_to_45 + add_ocd_bipolar_schizophrenia + depression; each 1; Cheatle 2019; max 9; oud_class non_oud 0-2, oud >=3; no sex; no preadolescent_sexual_abuse","max_score":9,"oud_class":"non_oud","score":0},{"citation":{"authors":"Cheatle MD, Compton PA, Dhingra L, Wasser TE, O'Brien CP","doi":"10.1016/j.jpain.2019.01.011","id":"cheatle-2019","pmid":"30690168","source":"J Pain. 2019;20(7):842-851 (Epub 2019 Jan 26)","title":"Development of the Revised Opioid Risk Tool to Predict Opioid Use Disorder in Patients with Chronic Nonmalignant Pain."},"components":[{"factor":"family_alcohol","points":0,"present":false},{"factor":"family_illegal_drugs","points":0,"present":false},{"factor":"family_prescription_drugs","points":0,"present":false},{"factor":"personal_alcohol","points":0,"present":false},{"factor":"personal_illegal_drugs","points":0,"present":false},{"factor":"personal_prescription_drugs","points":0,"present":false},{"factor":"age_16_to_45","points":0,"present":false},{"factor":"add_ocd_bipolar_schizophrenia","points":0,"present":false},{"factor":"depression","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":"ort_oud","formula_expression":"ORT-OUD = family_alcohol + family_illegal_drugs + family_prescription_drugs + personal_alcohol + personal_illegal_drugs + personal_prescription_drugs + age_16_to_45 + add_ocd_bipolar_schizophrenia + depression; each 1; Cheatle 2019; max 9; oud_class non_oud 0-2, oud >=3; no sex; no preadolescent_sexual_abuse","max_score":9,"oud_class":"non_oud","score":0}],"path":"/api/calc/ort_oud"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"add_ocd_bipolar_schizophrenia":{"description":"ADD, OCD, bipolar disorder, or schizophrenia as one flag (Cheatle 2019). true scores 1. Assigned by the caller. magent does not diagnose.","type":"boolean"},"age_16_to_45":{"description":"Age 16-45 years as a flag, not a numeric age (Cheatle 2019). true scores 1. Assigned by the caller.","type":"boolean"},"depression":{"description":"Depression as assigned by the caller (Cheatle 2019). true scores 1. magent does not diagnose.","type":"boolean"},"family_alcohol":{"description":"Family history of alcohol abuse as assigned by the caller (Cheatle 2019). true scores 1. magent does not interview the patient.","type":"boolean"},"family_illegal_drugs":{"description":"Family history of illegal-drug abuse as assigned by the caller (Cheatle 2019). true scores 1. true or false.","type":"boolean"},"family_prescription_drugs":{"description":"Family history of prescription-drug abuse as assigned by the caller (Cheatle 2019). true scores 1. true or false.","type":"boolean"},"personal_alcohol":{"description":"Personal history of alcohol abuse as assigned by the caller (Cheatle 2019). true scores 1. magent does not interview the patient.","type":"boolean"},"personal_illegal_drugs":{"description":"Personal history of illegal-drug abuse as assigned by the caller (Cheatle 2019). true scores 1. true or false.","type":"boolean"},"personal_prescription_drugs":{"description":"Personal history of prescription-drug abuse as assigned by the caller (Cheatle 2019). true scores 1. true or false.","type":"boolean"}},"required":["family_alcohol","family_illegal_drugs","family_prescription_drugs","personal_alcohol","personal_illegal_drugs","personal_prescription_drugs","age_16_to_45","add_ocd_bipolar_schizophrenia","depression"],"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":["ort-oud","opioid","oud","pain","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T06:01:37.715Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T06:01:37.556Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"add_ocd_bipolar_schizophrenia":false,"age_16_to_45":false,"depression":false,"family_alcohol":false,"family_illegal_drugs":false,"family_prescription_drugs":false,"personal_alcohol":false,"personal_illegal_drugs":false,"personal_prescription_drugs":false},{"add_ocd_bipolar_schizophrenia":false,"age_16_to_45":false,"depression":false,"family_alcohol":false,"family_illegal_drugs":false,"family_prescription_drugs":false,"personal_alcohol":false,"personal_illegal_drugs":false,"personal_prescription_drugs":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cheatle MD, Compton PA, Dhingra L, Wasser TE, O'Brien CP","doi":"10.1016/j.jpain.2019.01.011","id":"cheatle-2019","pmid":"30690168","source":"J Pain. 2019;20(7):842-851 (Epub 2019 Jan 26)","title":"Development of the Revised Opioid Risk Tool to Predict Opioid Use Disorder in Patients with Chronic Nonmalignant Pain."},"components":[{"factor":"family_alcohol","points":0,"present":false},{"factor":"family_illegal_drugs","points":0,"present":false},{"factor":"family_prescription_drugs","points":0,"present":false},{"factor":"personal_alcohol","points":0,"present":false},{"factor":"personal_illegal_drugs","points":0,"present":false},{"factor":"personal_prescription_drugs","points":0,"present":false},{"factor":"age_16_to_45","points":0,"present":false},{"factor":"add_ocd_bipolar_schizophrenia","points":0,"present":false},{"factor":"depression","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":"ort_oud","formula_expression":"ORT-OUD = family_alcohol + family_illegal_drugs + family_prescription_drugs + personal_alcohol + personal_illegal_drugs + personal_prescription_drugs + age_16_to_45 + add_ocd_bipolar_schizophrenia + depression; each 1; Cheatle 2019; max 9; oud_class non_oud 0-2, oud >=3; no sex; no preadolescent_sexual_abuse","max_score":9,"oud_class":"non_oud","score":0},{"citation":{"authors":"Cheatle MD, Compton PA, Dhingra L, Wasser TE, O'Brien CP","doi":"10.1016/j.jpain.2019.01.011","id":"cheatle-2019","pmid":"30690168","source":"J Pain. 2019;20(7):842-851 (Epub 2019 Jan 26)","title":"Development of the Revised Opioid Risk Tool to Predict Opioid Use Disorder in Patients with Chronic Nonmalignant Pain."},"components":[{"factor":"family_alcohol","points":0,"present":false},{"factor":"family_illegal_drugs","points":0,"present":false},{"factor":"family_prescription_drugs","points":0,"present":false},{"factor":"personal_alcohol","points":0,"present":false},{"factor":"personal_illegal_drugs","points":0,"present":false},{"factor":"personal_prescription_drugs","points":0,"present":false},{"factor":"age_16_to_45","points":0,"present":false},{"factor":"add_ocd_bipolar_schizophrenia","points":0,"present":false},{"factor":"depression","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":"ort_oud","formula_expression":"ORT-OUD = family_alcohol + family_illegal_drugs + family_prescription_drugs + personal_alcohol + personal_illegal_drugs + personal_prescription_drugs + age_16_to_45 + add_ocd_bipolar_schizophrenia + depression; each 1; Cheatle 2019; max 9; oud_class non_oud 0-2, oud >=3; no sex; no preadolescent_sexual_abuse","max_score":9,"oud_class":"non_oud","score":0}],"path":"/api/calc/ort_oud"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"add_ocd_bipolar_schizophrenia":{"description":"ADD, OCD, bipolar disorder, or schizophrenia as one flag (Cheatle 2019). true scores 1. Assigned by the caller. magent does not diagnose.","type":"boolean"},"age_16_to_45":{"description":"Age 16-45 years as a flag, not a numeric age (Cheatle 2019). true scores 1. Assigned by the caller.","type":"boolean"},"depression":{"description":"Depression as assigned by the caller (Cheatle 2019). true scores 1. magent does not diagnose.","type":"boolean"},"family_alcohol":{"description":"Family history of alcohol abuse as assigned by the caller (Cheatle 2019). true scores 1. magent does not interview the patient.","type":"boolean"},"family_illegal_drugs":{"description":"Family history of illegal-drug abuse as assigned by the caller (Cheatle 2019). true scores 1. true or false.","type":"boolean"},"family_prescription_drugs":{"description":"Family history of prescription-drug abuse as assigned by the caller (Cheatle 2019). true scores 1. true or false.","type":"boolean"},"personal_alcohol":{"description":"Personal history of alcohol abuse as assigned by the caller (Cheatle 2019). true scores 1. magent does not interview the patient.","type":"boolean"},"personal_illegal_drugs":{"description":"Personal history of illegal-drug abuse as assigned by the caller (Cheatle 2019). true scores 1. true or false.","type":"boolean"},"personal_prescription_drugs":{"description":"Personal history of prescription-drug abuse as assigned by the caller (Cheatle 2019). true scores 1. true or false.","type":"boolean"}},"required":["family_alcohol","family_illegal_drugs","family_prescription_drugs","personal_alcohol","personal_illegal_drugs","personal_prescription_drugs","age_16_to_45","add_ocd_bipolar_schizophrenia","depression"],"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},{"id":39110,"slug":"39110","resource":"https://api.magentlab.com/api/calc/orai","description":"Cadarette 2000 Osteoporosis Risk Assessment Instrument (ORAI). Additive Table 4 score: age ≥75 → 15, 65–74 → 9, 55–64 → 5, 45–54 → 0; weight <60 kg → 9, 60–69 kg → 3, ≥70 kg → 0; current estrogen no → 2, yes → 0. Max 26. Score ≥9 would be selected for bone densitometry. Age 45–120; weight_kg or weight_lb. Not a medical device, not OSTA, not FRAX, not a DXA order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"current_estrogen":true,"weight_kg":65,"weight_lb":143},{"age":70,"current_estrogen":true,"weight_kg":65,"weight_lb":143}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":70,"age_score":9,"citation":{"authors":"Cadarette SM, Jaglal SB, Kreiger N, McIsaac WJ, Darlington GA, Tu JV","id":"cadarette-2000","pmid":"10813010","source":"CMAJ. 2000;162(9):1289-1294","title":"Development and validation of the Osteoporosis Risk Assessment Instrument to facilitate selection of women for bone densitometry"},"components":[{"factor":"age","points":9,"present":true,"value":70},{"factor":"weight","points":3,"present":true,"value":65},{"factor":"no_current_estrogen","points":0,"present":false,"value":true}],"current_estrogen":true,"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.","estrogen_score":0,"formula":"orai","formula_expression":"ORAI = age_score + weight_score + estrogen_score; age >=75 -> 15, 65-74 -> 9, 55-64 -> 5, 45-54 -> 0; weight <60 kg -> 9, 60-69 kg -> 3, >=70 kg -> 0; current_estrogen false -> 2, true -> 0; max 26; select_for_dxa iff score>=9","max_score":26,"orai_band":"select_for_dxa","score":12,"weight_kg":65,"weight_score":3},{"age":70,"age_score":9,"citation":{"authors":"Cadarette SM, Jaglal SB, Kreiger N, McIsaac WJ, Darlington GA, Tu JV","id":"cadarette-2000","pmid":"10813010","source":"CMAJ. 2000;162(9):1289-1294","title":"Development and validation of the Osteoporosis Risk Assessment Instrument to facilitate selection of women for bone densitometry"},"components":[{"factor":"age","points":9,"present":true,"value":70},{"factor":"weight","points":3,"present":true,"value":65},{"factor":"no_current_estrogen","points":0,"present":false,"value":true}],"current_estrogen":true,"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.","estrogen_score":0,"formula":"orai","formula_expression":"ORAI = age_score + weight_score + estrogen_score; age >=75 -> 15, 65-74 -> 9, 55-64 -> 5, 45-54 -> 0; weight <60 kg -> 9, 60-69 kg -> 3, >=70 kg -> 0; current_estrogen false -> 2, true -> 0; max 26; select_for_dxa iff score>=9","max_score":26,"orai_band":"select_for_dxa","score":12,"weight_kg":65,"weight_score":3}],"path":"/api/calc/orai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 45-120). Cadarette 2000 ORAI Table 4: 45-54 scores 0; 55-64 scores 5; 65-74 scores 9; >=75 scores 15. Derivation starts at 45; not the adult 18-120 clamp.","type":"integer"},"current_estrogen":{"description":"Current estrogen use (Cadarette 2000 Table 4). true scores 0; false scores 2. true or false.","type":"boolean"},"weight_kg":{"description":"Body weight in kilograms (1-500). Provide weight_kg or weight_lb. Cadarette 2000 Table 4: <60 kg scores 9; 60-69 kg scores 3; >=70 kg scores 0. 60.0 and 69.0 score 3; 70.0 scores 0. magent does not weigh the patient.","type":"number"},"weight_lb":{"description":"Body weight in pounds (2-1100). Converted as kg = lb × 0.45359237, then Cadarette 2000 Table 4 kg bands apply. Provide weight_kg or weight_lb.","type":"number"}},"required":["age","current_estrogen"],"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":["orai","osteoporosis","densitometry","body-size","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:57:10.148Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:57:10.022Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"current_estrogen":true,"weight_kg":65,"weight_lb":143},{"age":70,"current_estrogen":true,"weight_kg":65,"weight_lb":143}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":70,"age_score":9,"citation":{"authors":"Cadarette SM, Jaglal SB, Kreiger N, McIsaac WJ, Darlington GA, Tu JV","id":"cadarette-2000","pmid":"10813010","source":"CMAJ. 2000;162(9):1289-1294","title":"Development and validation of the Osteoporosis Risk Assessment Instrument to facilitate selection of women for bone densitometry"},"components":[{"factor":"age","points":9,"present":true,"value":70},{"factor":"weight","points":3,"present":true,"value":65},{"factor":"no_current_estrogen","points":0,"present":false,"value":true}],"current_estrogen":true,"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.","estrogen_score":0,"formula":"orai","formula_expression":"ORAI = age_score + weight_score + estrogen_score; age >=75 -> 15, 65-74 -> 9, 55-64 -> 5, 45-54 -> 0; weight <60 kg -> 9, 60-69 kg -> 3, >=70 kg -> 0; current_estrogen false -> 2, true -> 0; max 26; select_for_dxa iff score>=9","max_score":26,"orai_band":"select_for_dxa","score":12,"weight_kg":65,"weight_score":3},{"age":70,"age_score":9,"citation":{"authors":"Cadarette SM, Jaglal SB, Kreiger N, McIsaac WJ, Darlington GA, Tu JV","id":"cadarette-2000","pmid":"10813010","source":"CMAJ. 2000;162(9):1289-1294","title":"Development and validation of the Osteoporosis Risk Assessment Instrument to facilitate selection of women for bone densitometry"},"components":[{"factor":"age","points":9,"present":true,"value":70},{"factor":"weight","points":3,"present":true,"value":65},{"factor":"no_current_estrogen","points":0,"present":false,"value":true}],"current_estrogen":true,"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.","estrogen_score":0,"formula":"orai","formula_expression":"ORAI = age_score + weight_score + estrogen_score; age >=75 -> 15, 65-74 -> 9, 55-64 -> 5, 45-54 -> 0; weight <60 kg -> 9, 60-69 kg -> 3, >=70 kg -> 0; current_estrogen false -> 2, true -> 0; max 26; select_for_dxa iff score>=9","max_score":26,"orai_band":"select_for_dxa","score":12,"weight_kg":65,"weight_score":3}],"path":"/api/calc/orai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 45-120). Cadarette 2000 ORAI Table 4: 45-54 scores 0; 55-64 scores 5; 65-74 scores 9; >=75 scores 15. Derivation starts at 45; not the adult 18-120 clamp.","type":"integer"},"current_estrogen":{"description":"Current estrogen use (Cadarette 2000 Table 4). true scores 0; false scores 2. true or false.","type":"boolean"},"weight_kg":{"description":"Body weight in kilograms (1-500). Provide weight_kg or weight_lb. Cadarette 2000 Table 4: <60 kg scores 9; 60-69 kg scores 3; >=70 kg scores 0. 60.0 and 69.0 score 3; 70.0 scores 0. magent does not weigh the patient.","type":"number"},"weight_lb":{"description":"Body weight in pounds (2-1100). Converted as kg = lb × 0.45359237, then Cadarette 2000 Table 4 kg bands apply. Provide weight_kg or weight_lb.","type":"number"}},"required":["age","current_estrogen"],"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},{"id":39111,"slug":"39111","resource":"https://api.magentlab.com/api/calc/ohfrs","description":"Ottawa Heart Failure Risk Scale (OHFRS; Stiell 2013 derivation). Ten caller-assigned flags (stroke/TIA 1, intubation 2, arrival HR >=110 2, arrival SaO2 <90% 1, walk-test HR >=110 or unable 1, new ischemic ECG 2, urea >=12 mmol/L 1, CO2 >=35 mmol/L 2, troponin at MI level 2, NT-proBNP >=5000 ng/L 1); integer points, max 15. Derivation SAE risk 2.8% to 89.0%. Not a medical device, not a disposition or discharge order, not EHMRG. magent does not walk the patient or read the ECG.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"co2_ge_35_mmol_l":false,"history_stroke_or_tia":false,"hr_arrival_ge_110":false,"intubation_respiratory_distress":false,"new_ischemic_ecg":false,"ntprobnp_ge_5000":false,"sao2_lt_90_arrival":false,"troponin_mi_level":false,"urea_ge_12_mmol_l":false,"walk_test_hr_ge_110_or_unable":false},{"co2_ge_35_mmol_l":false,"history_stroke_or_tia":false,"hr_arrival_ge_110":false,"intubation_respiratory_distress":false,"new_ischemic_ecg":false,"ntprobnp_ge_5000":false,"sao2_lt_90_arrival":false,"troponin_mi_level":false,"urea_ge_12_mmol_l":false,"walk_test_hr_ge_110_or_unable":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stiell IG, Clement CM, Brison RJ, et al.","doi":"10.1111/acem.12056","id":"stiell-2013","pmid":"23570474","source":"Acad Emerg Med. 2013;20(1):17-26","title":"A risk scoring system to identify emergency department patients with heart failure at high risk for serious adverse events"},"components":[{"factor":"history_stroke_or_tia","points":0,"present":false},{"factor":"intubation_respiratory_distress","points":0,"present":false},{"factor":"hr_arrival_ge_110","points":0,"present":false},{"factor":"sao2_lt_90_arrival","points":0,"present":false},{"factor":"walk_test_hr_ge_110_or_unable","points":0,"present":false},{"factor":"new_ischemic_ecg","points":0,"present":false},{"factor":"urea_ge_12_mmol_l","points":0,"present":false},{"factor":"co2_ge_35_mmol_l","points":0,"present":false},{"factor":"troponin_mi_level","points":0,"present":false},{"factor":"ntprobnp_ge_5000","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":"ohfrs","formula_expression":"OHFRS = history_stroke_or_tia(1) + intubation_respiratory_distress(2) + hr_arrival_ge_110(2) + sao2_lt_90_arrival(1) + walk_test_hr_ge_110_or_unable(1) + new_ischemic_ecg(2) + urea_ge_12_mmol_l(1) + co2_ge_35_mmol_l(2) + troponin_mi_level(2) + ntprobnp_ge_5000(1); Stiell 2013 derivation; max 15; SAE risk varied from 2.8% to 89.0%; admission thresholds of total score 1, 2, or 3 had sensitivities 95.2 / 80.6 / 64.5%","max_score":15,"score":0},{"citation":{"authors":"Stiell IG, Clement CM, Brison RJ, et al.","doi":"10.1111/acem.12056","id":"stiell-2013","pmid":"23570474","source":"Acad Emerg Med. 2013;20(1):17-26","title":"A risk scoring system to identify emergency department patients with heart failure at high risk for serious adverse events"},"components":[{"factor":"history_stroke_or_tia","points":0,"present":false},{"factor":"intubation_respiratory_distress","points":0,"present":false},{"factor":"hr_arrival_ge_110","points":0,"present":false},{"factor":"sao2_lt_90_arrival","points":0,"present":false},{"factor":"walk_test_hr_ge_110_or_unable","points":0,"present":false},{"factor":"new_ischemic_ecg","points":0,"present":false},{"factor":"urea_ge_12_mmol_l","points":0,"present":false},{"factor":"co2_ge_35_mmol_l","points":0,"present":false},{"factor":"troponin_mi_level","points":0,"present":false},{"factor":"ntprobnp_ge_5000","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":"ohfrs","formula_expression":"OHFRS = history_stroke_or_tia(1) + intubation_respiratory_distress(2) + hr_arrival_ge_110(2) + sao2_lt_90_arrival(1) + walk_test_hr_ge_110_or_unable(1) + new_ischemic_ecg(2) + urea_ge_12_mmol_l(1) + co2_ge_35_mmol_l(2) + troponin_mi_level(2) + ntprobnp_ge_5000(1); Stiell 2013 derivation; max 15; SAE risk varied from 2.8% to 89.0%; admission thresholds of total score 1, 2, or 3 had sensitivities 95.2 / 80.6 / 64.5%","max_score":15,"score":0}],"path":"/api/calc/ohfrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"co2_ge_35_mmol_l":{"description":"Serum CO2 >=35 mmol/L as assigned by the caller after applying the Stiell 2013 cutoff (2 points if true). true or false. magent does not assay CO2.","type":"boolean"},"history_stroke_or_tia":{"description":"History of stroke or TIA as assigned by the caller (Stiell 2013; 1 point if true). true or false. magent does not take the history.","type":"boolean"},"hr_arrival_ge_110":{"description":"Heart rate on ED arrival >=110 as assigned by the caller after applying the Stiell 2013 cutoff (2 points if true). true or false. magent does not measure heart rate.","type":"boolean"},"intubation_respiratory_distress":{"description":"Intubation for respiratory distress as assigned by the caller (Stiell 2013; 2 points if true). true or false.","type":"boolean"},"new_ischemic_ecg":{"description":"New ischemic ECG changes as assigned by the caller (Stiell 2013 derivation; 2 points if true). true or false. magent does not interpret the ECG.","type":"boolean"},"ntprobnp_ge_5000":{"description":"NT-proBNP >=5000 ng/L as assigned by the caller after applying the Stiell 2013 cutoff (1 point if true). true or false. magent does not assay NT-proBNP.","type":"boolean"},"sao2_lt_90_arrival":{"description":"Oxygen saturation <90% on ED arrival as assigned by the caller after applying the Stiell 2013 cutoff (1 point if true). true or false. magent does not measure saturation.","type":"boolean"},"troponin_mi_level":{"description":"Troponin I or T elevated to MI level as assigned by the caller (Stiell 2013; 2 points if true). true or false. magent does not assay troponin.","type":"boolean"},"urea_ge_12_mmol_l":{"description":"Urea >=12 mmol/L as assigned by the caller after applying the Stiell 2013 cutoff (1 point if true). true or false. magent does not assay urea.","type":"boolean"},"walk_test_hr_ge_110_or_unable":{"description":"Heart rate >=110 during the 3-minute walk test, or unable to perform the walk test, as assigned by the caller after ED intervention (Stiell 2013; 1 point if true). true or false. magent does not walk the patient.","type":"boolean"}},"required":["history_stroke_or_tia","intubation_respiratory_distress","hr_arrival_ge_110","sao2_lt_90_arrival","walk_test_hr_ge_110_or_unable","new_ischemic_ecg","urea_ge_12_mmol_l","co2_ge_35_mmol_l","troponin_mi_level","ntprobnp_ge_5000"],"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":["ohfrs","heart-failure","emergency","stiell","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:57:08.668Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:57:08.542Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"co2_ge_35_mmol_l":false,"history_stroke_or_tia":false,"hr_arrival_ge_110":false,"intubation_respiratory_distress":false,"new_ischemic_ecg":false,"ntprobnp_ge_5000":false,"sao2_lt_90_arrival":false,"troponin_mi_level":false,"urea_ge_12_mmol_l":false,"walk_test_hr_ge_110_or_unable":false},{"co2_ge_35_mmol_l":false,"history_stroke_or_tia":false,"hr_arrival_ge_110":false,"intubation_respiratory_distress":false,"new_ischemic_ecg":false,"ntprobnp_ge_5000":false,"sao2_lt_90_arrival":false,"troponin_mi_level":false,"urea_ge_12_mmol_l":false,"walk_test_hr_ge_110_or_unable":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Stiell IG, Clement CM, Brison RJ, et al.","doi":"10.1111/acem.12056","id":"stiell-2013","pmid":"23570474","source":"Acad Emerg Med. 2013;20(1):17-26","title":"A risk scoring system to identify emergency department patients with heart failure at high risk for serious adverse events"},"components":[{"factor":"history_stroke_or_tia","points":0,"present":false},{"factor":"intubation_respiratory_distress","points":0,"present":false},{"factor":"hr_arrival_ge_110","points":0,"present":false},{"factor":"sao2_lt_90_arrival","points":0,"present":false},{"factor":"walk_test_hr_ge_110_or_unable","points":0,"present":false},{"factor":"new_ischemic_ecg","points":0,"present":false},{"factor":"urea_ge_12_mmol_l","points":0,"present":false},{"factor":"co2_ge_35_mmol_l","points":0,"present":false},{"factor":"troponin_mi_level","points":0,"present":false},{"factor":"ntprobnp_ge_5000","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":"ohfrs","formula_expression":"OHFRS = history_stroke_or_tia(1) + intubation_respiratory_distress(2) + hr_arrival_ge_110(2) + sao2_lt_90_arrival(1) + walk_test_hr_ge_110_or_unable(1) + new_ischemic_ecg(2) + urea_ge_12_mmol_l(1) + co2_ge_35_mmol_l(2) + troponin_mi_level(2) + ntprobnp_ge_5000(1); Stiell 2013 derivation; max 15; SAE risk varied from 2.8% to 89.0%; admission thresholds of total score 1, 2, or 3 had sensitivities 95.2 / 80.6 / 64.5%","max_score":15,"score":0},{"citation":{"authors":"Stiell IG, Clement CM, Brison RJ, et al.","doi":"10.1111/acem.12056","id":"stiell-2013","pmid":"23570474","source":"Acad Emerg Med. 2013;20(1):17-26","title":"A risk scoring system to identify emergency department patients with heart failure at high risk for serious adverse events"},"components":[{"factor":"history_stroke_or_tia","points":0,"present":false},{"factor":"intubation_respiratory_distress","points":0,"present":false},{"factor":"hr_arrival_ge_110","points":0,"present":false},{"factor":"sao2_lt_90_arrival","points":0,"present":false},{"factor":"walk_test_hr_ge_110_or_unable","points":0,"present":false},{"factor":"new_ischemic_ecg","points":0,"present":false},{"factor":"urea_ge_12_mmol_l","points":0,"present":false},{"factor":"co2_ge_35_mmol_l","points":0,"present":false},{"factor":"troponin_mi_level","points":0,"present":false},{"factor":"ntprobnp_ge_5000","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":"ohfrs","formula_expression":"OHFRS = history_stroke_or_tia(1) + intubation_respiratory_distress(2) + hr_arrival_ge_110(2) + sao2_lt_90_arrival(1) + walk_test_hr_ge_110_or_unable(1) + new_ischemic_ecg(2) + urea_ge_12_mmol_l(1) + co2_ge_35_mmol_l(2) + troponin_mi_level(2) + ntprobnp_ge_5000(1); Stiell 2013 derivation; max 15; SAE risk varied from 2.8% to 89.0%; admission thresholds of total score 1, 2, or 3 had sensitivities 95.2 / 80.6 / 64.5%","max_score":15,"score":0}],"path":"/api/calc/ohfrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"co2_ge_35_mmol_l":{"description":"Serum CO2 >=35 mmol/L as assigned by the caller after applying the Stiell 2013 cutoff (2 points if true). true or false. magent does not assay CO2.","type":"boolean"},"history_stroke_or_tia":{"description":"History of stroke or TIA as assigned by the caller (Stiell 2013; 1 point if true). true or false. magent does not take the history.","type":"boolean"},"hr_arrival_ge_110":{"description":"Heart rate on ED arrival >=110 as assigned by the caller after applying the Stiell 2013 cutoff (2 points if true). true or false. magent does not measure heart rate.","type":"boolean"},"intubation_respiratory_distress":{"description":"Intubation for respiratory distress as assigned by the caller (Stiell 2013; 2 points if true). true or false.","type":"boolean"},"new_ischemic_ecg":{"description":"New ischemic ECG changes as assigned by the caller (Stiell 2013 derivation; 2 points if true). true or false. magent does not interpret the ECG.","type":"boolean"},"ntprobnp_ge_5000":{"description":"NT-proBNP >=5000 ng/L as assigned by the caller after applying the Stiell 2013 cutoff (1 point if true). true or false. magent does not assay NT-proBNP.","type":"boolean"},"sao2_lt_90_arrival":{"description":"Oxygen saturation <90% on ED arrival as assigned by the caller after applying the Stiell 2013 cutoff (1 point if true). true or false. magent does not measure saturation.","type":"boolean"},"troponin_mi_level":{"description":"Troponin I or T elevated to MI level as assigned by the caller (Stiell 2013; 2 points if true). true or false. magent does not assay troponin.","type":"boolean"},"urea_ge_12_mmol_l":{"description":"Urea >=12 mmol/L as assigned by the caller after applying the Stiell 2013 cutoff (1 point if true). true or false. magent does not assay urea.","type":"boolean"},"walk_test_hr_ge_110_or_unable":{"description":"Heart rate >=110 during the 3-minute walk test, or unable to perform the walk test, as assigned by the caller after ED intervention (Stiell 2013; 1 point if true). true or false. magent does not walk the patient.","type":"boolean"}},"required":["history_stroke_or_tia","intubation_respiratory_distress","hr_arrival_ge_110","sao2_lt_90_arrival","walk_test_hr_ge_110_or_unable","new_ischemic_ecg","urea_ge_12_mmol_l","co2_ge_35_mmol_l","troponin_mi_level","ntprobnp_ge_5000"],"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},{"id":39112,"slug":"39112","resource":"https://api.magentlab.com/api/calc/nivo","description":"Hartley 2021 NIVO: consolidation, GCS ≤14, AF, and pH <7.25 score 1 each; time to acidaemia >12 h scores 2; eMRCD 1_to_4 → 0, 5a → 2, 5b → 3 (cannot score both). Returns 0–9 and Table 4 bands 0-2 / 3-4 / 5-6 / 7-9 with grouped in-hospital mortality 5.0 / 16.8 / 41.2 / 71.4%. Not HACOR, DECAF, APACHE II, or a weaning predictor. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"atrial_fibrillation":false,"chest_radiograph_consolidation":false,"emrcd":"1_to_4","gcs_le_14":false,"ph_lt_7_25":false,"time_to_acidaemia_gt_12h":false},{"atrial_fibrillation":false,"chest_radiograph_consolidation":false,"emrcd":"1_to_4","gcs_le_14":false,"ph_lt_7_25":false,"time_to_acidaemia_gt_12h":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"atrial_fibrillation":false,"chest_radiograph_consolidation":false,"citation":{"authors":"Hartley T, Lane ND, Steer J, et al.","doi":"10.1183/13993003.04042-2020","id":"hartley-2021","pmid":"33479109","source":"Eur Respir J. 2021;58(2):2004042","title":"The Noninvasive Ventilation Outcomes (NIVO) score: prediction of in-hospital mortality in exacerbations of COPD requiring assisted ventilation"},"components":[{"factor":"chest_radiograph_consolidation","points":0,"present":false},{"factor":"gcs_le_14","points":0,"present":false},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"ph_lt_7_25","points":0,"present":false},{"factor":"time_to_acidaemia_gt_12h","points":0,"present":false},{"factor":"emrcd","points":0,"present":false,"value":"1_to_4"}],"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.","emrcd":"1_to_4","formula":"nivo","formula_expression":"NIVO = chest_radiograph_consolidation + gcs_le_14 + atrial_fibrillation + ph_lt_7_25 + time_to_acidaemia_gt_12h + emrcd; consolidation true -> 1; GCS <=14 prior to ventilation -> 1; AF (persistent, new, or paroxysmal even if sinus at NIV start) true -> 1; pH <7.25 -> 1; time from hospital arrival to index acidaemia >12 h -> 2; eMRCD 1_to_4 -> 0, 5a -> 2, 5b -> 3; cannot score both 5a and 5b; Hartley 2021 validation Table 4 bands 0-2 / 3-4 / 5-6 / 7-9; max 9","gcs_le_14":false,"in_hospital_mortality_percent":5,"max_score":9,"nivo_band":"0_to_2","ph_lt_7_25":false,"score":0,"time_to_acidaemia_gt_12h":false},{"atrial_fibrillation":false,"chest_radiograph_consolidation":false,"citation":{"authors":"Hartley T, Lane ND, Steer J, et al.","doi":"10.1183/13993003.04042-2020","id":"hartley-2021","pmid":"33479109","source":"Eur Respir J. 2021;58(2):2004042","title":"The Noninvasive Ventilation Outcomes (NIVO) score: prediction of in-hospital mortality in exacerbations of COPD requiring assisted ventilation"},"components":[{"factor":"chest_radiograph_consolidation","points":0,"present":false},{"factor":"gcs_le_14","points":0,"present":false},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"ph_lt_7_25","points":0,"present":false},{"factor":"time_to_acidaemia_gt_12h","points":0,"present":false},{"factor":"emrcd","points":0,"present":false,"value":"1_to_4"}],"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.","emrcd":"1_to_4","formula":"nivo","formula_expression":"NIVO = chest_radiograph_consolidation + gcs_le_14 + atrial_fibrillation + ph_lt_7_25 + time_to_acidaemia_gt_12h + emrcd; consolidation true -> 1; GCS <=14 prior to ventilation -> 1; AF (persistent, new, or paroxysmal even if sinus at NIV start) true -> 1; pH <7.25 -> 1; time from hospital arrival to index acidaemia >12 h -> 2; eMRCD 1_to_4 -> 0, 5a -> 2, 5b -> 3; cannot score both 5a and 5b; Hartley 2021 validation Table 4 bands 0-2 / 3-4 / 5-6 / 7-9; max 9","gcs_le_14":false,"in_hospital_mortality_percent":5,"max_score":9,"nivo_band":"0_to_2","ph_lt_7_25":false,"score":0,"time_to_acidaemia_gt_12h":false}],"path":"/api/calc/nivo"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"atrial_fibrillation":{"description":"Persistent AF, new AF, or paroxysmal AF even if in sinus rhythm at NIV start (Hartley 2021). true or false. 1 point if true. magent does not interpret the ECG.","type":"boolean"},"chest_radiograph_consolidation":{"description":"Chest radiograph consolidation as assigned by the caller (Hartley 2021). true or false. 1 point if true. magent does not interpret radiographs.","type":"boolean"},"emrcd":{"description":"Hartley 2021 extended MRC dyspnoea as assigned by the caller. 1_to_4 scores 0; 5a scores 2; 5b scores 3. 5a and 5b are mutually exclusive. magent does not interview the patient.","enum":["1_to_4","5a","5b"],"type":"string"},"gcs_le_14":{"description":"GCS ≤14 prior to ventilation as assigned by the caller (Hartley 2021). true or false. 1 point if true. magent does not measure GCS.","type":"boolean"},"ph_lt_7_25":{"description":"Arterial pH <7.25 as assigned by the caller (Hartley 2021). true or false. 1 point if true. magent does not measure pH.","type":"boolean"},"time_to_acidaemia_gt_12h":{"description":">12 h from hospital arrival to index acidaemia as assigned by the caller (Hartley 2021). true or false. 2 points if true. magent does not clock admission time.","type":"boolean"}},"required":["chest_radiograph_consolidation","gcs_le_14","atrial_fibrillation","ph_lt_7_25","time_to_acidaemia_gt_12h","emrcd"],"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":["nivo","copd","niv","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:57:07.333Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:57:07.173Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"atrial_fibrillation":false,"chest_radiograph_consolidation":false,"emrcd":"1_to_4","gcs_le_14":false,"ph_lt_7_25":false,"time_to_acidaemia_gt_12h":false},{"atrial_fibrillation":false,"chest_radiograph_consolidation":false,"emrcd":"1_to_4","gcs_le_14":false,"ph_lt_7_25":false,"time_to_acidaemia_gt_12h":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"atrial_fibrillation":false,"chest_radiograph_consolidation":false,"citation":{"authors":"Hartley T, Lane ND, Steer J, et al.","doi":"10.1183/13993003.04042-2020","id":"hartley-2021","pmid":"33479109","source":"Eur Respir J. 2021;58(2):2004042","title":"The Noninvasive Ventilation Outcomes (NIVO) score: prediction of in-hospital mortality in exacerbations of COPD requiring assisted ventilation"},"components":[{"factor":"chest_radiograph_consolidation","points":0,"present":false},{"factor":"gcs_le_14","points":0,"present":false},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"ph_lt_7_25","points":0,"present":false},{"factor":"time_to_acidaemia_gt_12h","points":0,"present":false},{"factor":"emrcd","points":0,"present":false,"value":"1_to_4"}],"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.","emrcd":"1_to_4","formula":"nivo","formula_expression":"NIVO = chest_radiograph_consolidation + gcs_le_14 + atrial_fibrillation + ph_lt_7_25 + time_to_acidaemia_gt_12h + emrcd; consolidation true -> 1; GCS <=14 prior to ventilation -> 1; AF (persistent, new, or paroxysmal even if sinus at NIV start) true -> 1; pH <7.25 -> 1; time from hospital arrival to index acidaemia >12 h -> 2; eMRCD 1_to_4 -> 0, 5a -> 2, 5b -> 3; cannot score both 5a and 5b; Hartley 2021 validation Table 4 bands 0-2 / 3-4 / 5-6 / 7-9; max 9","gcs_le_14":false,"in_hospital_mortality_percent":5,"max_score":9,"nivo_band":"0_to_2","ph_lt_7_25":false,"score":0,"time_to_acidaemia_gt_12h":false},{"atrial_fibrillation":false,"chest_radiograph_consolidation":false,"citation":{"authors":"Hartley T, Lane ND, Steer J, et al.","doi":"10.1183/13993003.04042-2020","id":"hartley-2021","pmid":"33479109","source":"Eur Respir J. 2021;58(2):2004042","title":"The Noninvasive Ventilation Outcomes (NIVO) score: prediction of in-hospital mortality in exacerbations of COPD requiring assisted ventilation"},"components":[{"factor":"chest_radiograph_consolidation","points":0,"present":false},{"factor":"gcs_le_14","points":0,"present":false},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"ph_lt_7_25","points":0,"present":false},{"factor":"time_to_acidaemia_gt_12h","points":0,"present":false},{"factor":"emrcd","points":0,"present":false,"value":"1_to_4"}],"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.","emrcd":"1_to_4","formula":"nivo","formula_expression":"NIVO = chest_radiograph_consolidation + gcs_le_14 + atrial_fibrillation + ph_lt_7_25 + time_to_acidaemia_gt_12h + emrcd; consolidation true -> 1; GCS <=14 prior to ventilation -> 1; AF (persistent, new, or paroxysmal even if sinus at NIV start) true -> 1; pH <7.25 -> 1; time from hospital arrival to index acidaemia >12 h -> 2; eMRCD 1_to_4 -> 0, 5a -> 2, 5b -> 3; cannot score both 5a and 5b; Hartley 2021 validation Table 4 bands 0-2 / 3-4 / 5-6 / 7-9; max 9","gcs_le_14":false,"in_hospital_mortality_percent":5,"max_score":9,"nivo_band":"0_to_2","ph_lt_7_25":false,"score":0,"time_to_acidaemia_gt_12h":false}],"path":"/api/calc/nivo"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"atrial_fibrillation":{"description":"Persistent AF, new AF, or paroxysmal AF even if in sinus rhythm at NIV start (Hartley 2021). true or false. 1 point if true. magent does not interpret the ECG.","type":"boolean"},"chest_radiograph_consolidation":{"description":"Chest radiograph consolidation as assigned by the caller (Hartley 2021). true or false. 1 point if true. magent does not interpret radiographs.","type":"boolean"},"emrcd":{"description":"Hartley 2021 extended MRC dyspnoea as assigned by the caller. 1_to_4 scores 0; 5a scores 2; 5b scores 3. 5a and 5b are mutually exclusive. magent does not interview the patient.","enum":["1_to_4","5a","5b"],"type":"string"},"gcs_le_14":{"description":"GCS ≤14 prior to ventilation as assigned by the caller (Hartley 2021). true or false. 1 point if true. magent does not measure GCS.","type":"boolean"},"ph_lt_7_25":{"description":"Arterial pH <7.25 as assigned by the caller (Hartley 2021). true or false. 1 point if true. magent does not measure pH.","type":"boolean"},"time_to_acidaemia_gt_12h":{"description":">12 h from hospital arrival to index acidaemia as assigned by the caller (Hartley 2021). true or false. 2 points if true. magent does not clock admission time.","type":"boolean"}},"required":["chest_radiograph_consolidation","gcs_le_14","atrial_fibrillation","ph_lt_7_25","time_to_acidaemia_gt_12h","emrcd"],"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},{"id":39113,"slug":"39113","resource":"https://api.magentlab.com/api/calc/nexus_chest","description":"NEXUS Chest (Rodriguez 2011). Chest radiography is not indicated by this instrument only when all seven caller-assigned findings are absent: chest pain, distracting injury, chest-wall tenderness, intoxication, age >60, rapid deceleration, and altered mental status. Any one present means chest x-ray is indicated. Not a diagnosis, not Hoffman 2000 NEXUS C-spine, and not a NEXUS Chest CT instrument. Derivation enrolled blunt trauma age >14. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_gt_60":false,"altered_mental_status":false,"chest_pain":false,"chest_wall_tenderness":false,"distracting_injury":false,"intoxication":false,"rapid_deceleration":false},{"age_gt_60":false,"altered_mental_status":false,"chest_pain":false,"chest_wall_tenderness":false,"distracting_injury":false,"intoxication":false,"rapid_deceleration":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"chest_xray_indicated":false,"citation":{"authors":"Rodriguez RM, Hendey GW, Mower W, et al.","doi":"10.1097/TA.0b013e3181f2ac9d","id":"rodriguez-2011","pmid":"21045745","source":"J Trauma. 2011;71(3):549-553","title":"Derivation of a decision instrument for selective chest radiography in blunt trauma"},"criteria":[{"factor":"no_chest_pain","met":true},{"factor":"no_distracting_injury","met":true},{"factor":"no_chest_wall_tenderness","met":true},{"factor":"no_intoxication","met":true},{"factor":"no_age_gt_60","met":true},{"factor":"no_rapid_deceleration","met":true},{"factor":"no_altered_mental_status","met":true}],"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":"nexus_chest","formula_expression":"NEXUS Chest low-risk iff no chest pain and no distracting injury and no chest-wall tenderness and no intoxication and age not >60 and no rapid deceleration and no altered mental status","nexus_chest_low_risk":true},{"chest_xray_indicated":false,"citation":{"authors":"Rodriguez RM, Hendey GW, Mower W, et al.","doi":"10.1097/TA.0b013e3181f2ac9d","id":"rodriguez-2011","pmid":"21045745","source":"J Trauma. 2011;71(3):549-553","title":"Derivation of a decision instrument for selective chest radiography in blunt trauma"},"criteria":[{"factor":"no_chest_pain","met":true},{"factor":"no_distracting_injury","met":true},{"factor":"no_chest_wall_tenderness","met":true},{"factor":"no_intoxication","met":true},{"factor":"no_age_gt_60","met":true},{"factor":"no_rapid_deceleration","met":true},{"factor":"no_altered_mental_status","met":true}],"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":"nexus_chest","formula_expression":"NEXUS Chest low-risk iff no chest pain and no distracting injury and no chest-wall tenderness and no intoxication and age not >60 and no rapid deceleration and no altered mental status","nexus_chest_low_risk":true}],"path":"/api/calc/nexus_chest"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_60":{"description":"Age greater than 60 years as assigned by the caller (a NEXUS Chest criterion, not a numeric age input). true means age >60 and the low-risk criterion fails. true or false. magent does not take numeric age.","type":"boolean"},"altered_mental_status":{"description":"Altered alertness or mental status. true means altered mental status is present and the low-risk criterion fails. true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"chest_pain":{"description":"Chest pain. true means chest pain is present and the low-risk criterion fails. true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"chest_wall_tenderness":{"description":"Tenderness to chest-wall palpation. true means tenderness is present and the low-risk criterion fails. true or false as assigned by the caller. magent does not palpate the chest.","type":"boolean"},"distracting_injury":{"description":"Painful, distracting injury. true means a distracting injury is present and the low-risk criterion fails. true or false as assigned by the caller.","type":"boolean"},"intoxication":{"description":"Intoxication. true means intoxicated and the low-risk criterion fails. true or false as assigned by the caller.","type":"boolean"},"rapid_deceleration":{"description":"Rapid deceleration mechanism (paper: fall from >20 feet or motor vehicle crash >40 mph) as assigned by the caller. true means the mechanism is present and the low-risk criterion fails. true or false. magent does not classify mechanism.","type":"boolean"}},"required":["chest_pain","distracting_injury","chest_wall_tenderness","intoxication","age_gt_60","rapid_deceleration","altered_mental_status"],"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":["nexus-chest","chest-xray","trauma","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:51:22.746Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:51:22.614Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_gt_60":false,"altered_mental_status":false,"chest_pain":false,"chest_wall_tenderness":false,"distracting_injury":false,"intoxication":false,"rapid_deceleration":false},{"age_gt_60":false,"altered_mental_status":false,"chest_pain":false,"chest_wall_tenderness":false,"distracting_injury":false,"intoxication":false,"rapid_deceleration":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"chest_xray_indicated":false,"citation":{"authors":"Rodriguez RM, Hendey GW, Mower W, et al.","doi":"10.1097/TA.0b013e3181f2ac9d","id":"rodriguez-2011","pmid":"21045745","source":"J Trauma. 2011;71(3):549-553","title":"Derivation of a decision instrument for selective chest radiography in blunt trauma"},"criteria":[{"factor":"no_chest_pain","met":true},{"factor":"no_distracting_injury","met":true},{"factor":"no_chest_wall_tenderness","met":true},{"factor":"no_intoxication","met":true},{"factor":"no_age_gt_60","met":true},{"factor":"no_rapid_deceleration","met":true},{"factor":"no_altered_mental_status","met":true}],"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":"nexus_chest","formula_expression":"NEXUS Chest low-risk iff no chest pain and no distracting injury and no chest-wall tenderness and no intoxication and age not >60 and no rapid deceleration and no altered mental status","nexus_chest_low_risk":true},{"chest_xray_indicated":false,"citation":{"authors":"Rodriguez RM, Hendey GW, Mower W, et al.","doi":"10.1097/TA.0b013e3181f2ac9d","id":"rodriguez-2011","pmid":"21045745","source":"J Trauma. 2011;71(3):549-553","title":"Derivation of a decision instrument for selective chest radiography in blunt trauma"},"criteria":[{"factor":"no_chest_pain","met":true},{"factor":"no_distracting_injury","met":true},{"factor":"no_chest_wall_tenderness","met":true},{"factor":"no_intoxication","met":true},{"factor":"no_age_gt_60","met":true},{"factor":"no_rapid_deceleration","met":true},{"factor":"no_altered_mental_status","met":true}],"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":"nexus_chest","formula_expression":"NEXUS Chest low-risk iff no chest pain and no distracting injury and no chest-wall tenderness and no intoxication and age not >60 and no rapid deceleration and no altered mental status","nexus_chest_low_risk":true}],"path":"/api/calc/nexus_chest"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_60":{"description":"Age greater than 60 years as assigned by the caller (a NEXUS Chest criterion, not a numeric age input). true means age >60 and the low-risk criterion fails. true or false. magent does not take numeric age.","type":"boolean"},"altered_mental_status":{"description":"Altered alertness or mental status. true means altered mental status is present and the low-risk criterion fails. true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"chest_pain":{"description":"Chest pain. true means chest pain is present and the low-risk criterion fails. true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"chest_wall_tenderness":{"description":"Tenderness to chest-wall palpation. true means tenderness is present and the low-risk criterion fails. true or false as assigned by the caller. magent does not palpate the chest.","type":"boolean"},"distracting_injury":{"description":"Painful, distracting injury. true means a distracting injury is present and the low-risk criterion fails. true or false as assigned by the caller.","type":"boolean"},"intoxication":{"description":"Intoxication. true means intoxicated and the low-risk criterion fails. true or false as assigned by the caller.","type":"boolean"},"rapid_deceleration":{"description":"Rapid deceleration mechanism (paper: fall from >20 feet or motor vehicle crash >40 mph) as assigned by the caller. true means the mechanism is present and the low-risk criterion fails. true or false. magent does not classify mechanism.","type":"boolean"}},"required":["chest_pain","distracting_injury","chest_wall_tenderness","intoxication","age_gt_60","rapid_deceleration","altered_mental_status"],"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},{"id":39114,"slug":"39114","resource":"https://api.magentlab.com/api/calc/news","description":"NEWS from RCP 2012 Chart 1: respiratory rate, SpO2, supplemental oxygen, temperature (°C), systolic BP, heart rate, and caller-assigned AVPU (alert 0; voice, pain, or unresponsive 3 each) summed to a 0–20 total. Returns Chart 2 clinical_risk (low/medium/high) and red_score when any parameter scores 3. Deterministic published arithmetic with citation; not NEWS2; not an ICU-admission order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"avpu":"alert","heart_rate_bpm":70,"respiratory_rate":16,"spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37},{"avpu":"alert","heart_rate_bpm":70,"respiratory_rate":16,"spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"avpu":"alert","citation":{"authors":"Royal College of Physicians","id":"rcp-news-2012","source":"London: RCP; 2012. ISBN 978-1-86016-471-2","title":"National Early Warning Score (NEWS): Standardising the assessment of acute-illness severity in the NHS"},"clinical_risk":"low","components":[{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"supplemental_oxygen","points":0,"present":false,"value":false},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"heart_rate_bpm","points":0,"present":false,"value":70},{"factor":"avpu","points":0,"present":false,"value":"alert"}],"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":"news","formula_expression":"NEWS = rr_points + spo2_points + oxygen_points + temp_points + sbp_points + hr_points + avpu_points; RCP NEWS 2012 Chart 1; max 20","heart_rate_bpm":70,"max_score":20,"red_score":false,"respiratory_rate":16,"score":0,"spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37},{"avpu":"alert","citation":{"authors":"Royal College of Physicians","id":"rcp-news-2012","source":"London: RCP; 2012. ISBN 978-1-86016-471-2","title":"National Early Warning Score (NEWS): Standardising the assessment of acute-illness severity in the NHS"},"clinical_risk":"low","components":[{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"supplemental_oxygen","points":0,"present":false,"value":false},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"heart_rate_bpm","points":0,"present":false,"value":70},{"factor":"avpu","points":0,"present":false,"value":"alert"}],"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":"news","formula_expression":"NEWS = rr_points + spo2_points + oxygen_points + temp_points + sbp_points + hr_points + avpu_points; RCP NEWS 2012 Chart 1; max 20","heart_rate_bpm":70,"max_score":20,"red_score":false,"respiratory_rate":16,"score":0,"spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37}],"path":"/api/calc/news"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"avpu":{"description":"Caller-assigned AVPU (alert, voice, pain, or unresponsive). RCP NEWS 2012 Chart 1: alert → 0; voice, pain, or unresponsive → 3 each. magent does not compute GCS here.","enum":["alert","voice","pain","unresponsive"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). RCP NEWS 2012 Chart 1: ≤40 → 3, 41-50 → 1, 51-90 → 0, 91-110 → 1, 111-130 → 2, ≥131 → 3.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 0-80). RCP NEWS 2012 Chart 1: ≤8 → 3, 9-11 → 1, 12-20 → 0, 21-24 → 2, ≥25 → 3.","type":"integer"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). RCP NEWS 2012 Chart 1 Scale 1: ≤91 → 3, 92-93 → 2, 94-95 → 1, ≥96 → 0. Not NEWS2 Scale 2.","type":"number"},"supplemental_oxygen":{"description":"Any supplemental oxygen as assigned by the caller (true or false). RCP NEWS 2012 Chart 1: true → 2, false → 0.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (integer 0-300). RCP NEWS 2012 Chart 1: ≤90 → 3, 91-100 → 2, 101-110 → 1, 111-219 → 0, ≥220 → 3.","type":"integer"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). RCP NEWS 2012 Chart 1: ≤35.0 → 3, 35.1-36.0 → 1, 36.1-38.0 → 0, 38.1-39.0 → 1, ≥39.1 → 2. magent does not convert Fahrenheit.","type":"number"}},"required":["systolic_mm_hg","heart_rate_bpm","respiratory_rate","temperature_c","spo2_percent","supplemental_oxygen","avpu"],"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":["news","early-warning","emergency","avpu","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:51:21.973Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:51:21.819Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"avpu":"alert","heart_rate_bpm":70,"respiratory_rate":16,"spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37},{"avpu":"alert","heart_rate_bpm":70,"respiratory_rate":16,"spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"avpu":"alert","citation":{"authors":"Royal College of Physicians","id":"rcp-news-2012","source":"London: RCP; 2012. ISBN 978-1-86016-471-2","title":"National Early Warning Score (NEWS): Standardising the assessment of acute-illness severity in the NHS"},"clinical_risk":"low","components":[{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"supplemental_oxygen","points":0,"present":false,"value":false},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"heart_rate_bpm","points":0,"present":false,"value":70},{"factor":"avpu","points":0,"present":false,"value":"alert"}],"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":"news","formula_expression":"NEWS = rr_points + spo2_points + oxygen_points + temp_points + sbp_points + hr_points + avpu_points; RCP NEWS 2012 Chart 1; max 20","heart_rate_bpm":70,"max_score":20,"red_score":false,"respiratory_rate":16,"score":0,"spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37},{"avpu":"alert","citation":{"authors":"Royal College of Physicians","id":"rcp-news-2012","source":"London: RCP; 2012. ISBN 978-1-86016-471-2","title":"National Early Warning Score (NEWS): Standardising the assessment of acute-illness severity in the NHS"},"clinical_risk":"low","components":[{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"supplemental_oxygen","points":0,"present":false,"value":false},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"systolic_mm_hg","points":0,"present":false,"value":120},{"factor":"heart_rate_bpm","points":0,"present":false,"value":70},{"factor":"avpu","points":0,"present":false,"value":"alert"}],"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":"news","formula_expression":"NEWS = rr_points + spo2_points + oxygen_points + temp_points + sbp_points + hr_points + avpu_points; RCP NEWS 2012 Chart 1; max 20","heart_rate_bpm":70,"max_score":20,"red_score":false,"respiratory_rate":16,"score":0,"spo2_percent":98,"supplemental_oxygen":false,"systolic_mm_hg":120,"temperature_c":37}],"path":"/api/calc/news"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"avpu":{"description":"Caller-assigned AVPU (alert, voice, pain, or unresponsive). RCP NEWS 2012 Chart 1: alert → 0; voice, pain, or unresponsive → 3 each. magent does not compute GCS here.","enum":["alert","voice","pain","unresponsive"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). RCP NEWS 2012 Chart 1: ≤40 → 3, 41-50 → 1, 51-90 → 0, 91-110 → 1, 111-130 → 2, ≥131 → 3.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 0-80). RCP NEWS 2012 Chart 1: ≤8 → 3, 9-11 → 1, 12-20 → 0, 21-24 → 2, ≥25 → 3.","type":"integer"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). RCP NEWS 2012 Chart 1 Scale 1: ≤91 → 3, 92-93 → 2, 94-95 → 1, ≥96 → 0. Not NEWS2 Scale 2.","type":"number"},"supplemental_oxygen":{"description":"Any supplemental oxygen as assigned by the caller (true or false). RCP NEWS 2012 Chart 1: true → 2, false → 0.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (integer 0-300). RCP NEWS 2012 Chart 1: ≤90 → 3, 91-100 → 2, 101-110 → 1, 111-219 → 0, ≥220 → 3.","type":"integer"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). RCP NEWS 2012 Chart 1: ≤35.0 → 3, 35.1-36.0 → 1, 36.1-38.0 → 0, 38.1-39.0 → 1, ≥39.1 → 2. magent does not convert Fahrenheit.","type":"number"}},"required":["systolic_mm_hg","heart_rate_bpm","respiratory_rate","temperature_c","spo2_percent","supplemental_oxygen","avpu"],"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},{"id":39115,"slug":"39115","resource":"https://api.magentlab.com/api/calc/ndi","description":"Vernon 1991 Neck Disability Index: ten caller-assigned integers 0-5 (pain intensity, personal care, lifting, reading, headaches, concentration, work, driving, sleeping, recreation). Sum 0-50. Vernon 1991 raw-score bands 0-4 none, 5-14 mild, 15-24 moderate, 25-34 severe, >34 complete. Does not apply later 0-8%/10-28% website percentage bands or score Oswestry. magent does not interview. Not a diagnosis and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"concentration":0,"driving":0,"headaches":0,"lifting":0,"pain_intensity":0,"personal_care":0,"reading":0,"recreation":0,"sleeping":0,"work":0},{"concentration":0,"driving":0,"headaches":0,"lifting":0,"pain_intensity":0,"personal_care":0,"reading":0,"recreation":0,"sleeping":0,"work":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Vernon H, Mior S","id":"vernon-1991","pmid":"1834753","source":"J Manipulative Physiol Ther. 1991;14(7):409-415","title":"The Neck Disability Index: a study of reliability and validity"},"components":[{"factor":"pain_intensity","points":0,"present":true,"value":0},{"factor":"personal_care","points":0,"present":true,"value":0},{"factor":"lifting","points":0,"present":true,"value":0},{"factor":"reading","points":0,"present":true,"value":0},{"factor":"headaches","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"work","points":0,"present":true,"value":0},{"factor":"driving","points":0,"present":true,"value":0},{"factor":"sleeping","points":0,"present":true,"value":0},{"factor":"recreation","points":0,"present":true,"value":0}],"disability":"none","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":"ndi","formula_expression":"NDI = pain_intensity + personal_care + lifting + reading + headaches + concentration + work + driving + sleeping + recreation; each caller-assigned 0-5; Vernon 1991 ten sections; max 50; raw 0-50 bands 0-4 none, 5-14 mild, 15-24 moderate, 25-34 severe, >34 complete","max_score":50,"score":0},{"citation":{"authors":"Vernon H, Mior S","id":"vernon-1991","pmid":"1834753","source":"J Manipulative Physiol Ther. 1991;14(7):409-415","title":"The Neck Disability Index: a study of reliability and validity"},"components":[{"factor":"pain_intensity","points":0,"present":true,"value":0},{"factor":"personal_care","points":0,"present":true,"value":0},{"factor":"lifting","points":0,"present":true,"value":0},{"factor":"reading","points":0,"present":true,"value":0},{"factor":"headaches","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"work","points":0,"present":true,"value":0},{"factor":"driving","points":0,"present":true,"value":0},{"factor":"sleeping","points":0,"present":true,"value":0},{"factor":"recreation","points":0,"present":true,"value":0}],"disability":"none","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":"ndi","formula_expression":"NDI = pain_intensity + personal_care + lifting + reading + headaches + concentration + work + driving + sleeping + recreation; each caller-assigned 0-5; Vernon 1991 ten sections; max 50; raw 0-50 bands 0-4 none, 5-14 mild, 15-24 moderate, 25-34 severe, >34 complete","max_score":50,"score":0}],"path":"/api/calc/ndi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"concentration":{"description":"Caller-assigned Vernon 1991 NDI concentration (integer 0-5): 0 can concentrate fully with no difficulty through 5 cannot concentrate at all. magent does not interview the patient.","type":"integer"},"driving":{"description":"Caller-assigned Vernon 1991 NDI driving (integer 0-5): 0 can drive without neck pain through 5 cannot drive at all. magent does not interview the patient.","type":"integer"},"headaches":{"description":"Caller-assigned Vernon 1991 NDI headaches (integer 0-5): 0 no headaches through 5 headaches almost all the time. magent does not interview the patient.","type":"integer"},"lifting":{"description":"Caller-assigned Vernon 1991 NDI lifting (integer 0-5): 0 can lift heavy weights without extra pain through 5 cannot lift or carry anything. magent does not interview the patient.","type":"integer"},"pain_intensity":{"description":"Caller-assigned Vernon 1991 NDI pain intensity (integer 0-5): 0 no pain at the moment through 5 worst imaginable pain at the moment. magent does not interview the patient.","type":"integer"},"personal_care":{"description":"Caller-assigned Vernon 1991 NDI personal care (washing, dressing) (integer 0-5): 0 looks after self normally without extra pain through 5 does not get dressed, washes with difficulty and stays in bed. magent does not interview the patient.","type":"integer"},"reading":{"description":"Caller-assigned Vernon 1991 NDI reading (integer 0-5): 0 can read as much as wanted with no neck pain through 5 cannot read at all. magent does not interview the patient.","type":"integer"},"recreation":{"description":"Caller-assigned Vernon 1991 NDI recreation (integer 0-5): 0 can engage in all recreation activities with no neck pain through 5 cannot do any recreation activities. magent does not interview the patient.","type":"integer"},"sleeping":{"description":"Caller-assigned Vernon 1991 NDI sleeping (integer 0-5): 0 no trouble sleeping through 5 sleep completely disturbed (5-7 hours sleepless). magent does not interview the patient.","type":"integer"},"work":{"description":"Caller-assigned Vernon 1991 NDI work (integer 0-5): 0 can do as much work as wanted through 5 cannot do any work at all. magent does not interview the patient.","type":"integer"}},"required":["pain_intensity","personal_care","lifting","reading","headaches","concentration","work","driving","sleeping","recreation"],"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":["ndi","neck","disability","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:51:21.036Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:51:20.882Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"concentration":0,"driving":0,"headaches":0,"lifting":0,"pain_intensity":0,"personal_care":0,"reading":0,"recreation":0,"sleeping":0,"work":0},{"concentration":0,"driving":0,"headaches":0,"lifting":0,"pain_intensity":0,"personal_care":0,"reading":0,"recreation":0,"sleeping":0,"work":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Vernon H, Mior S","id":"vernon-1991","pmid":"1834753","source":"J Manipulative Physiol Ther. 1991;14(7):409-415","title":"The Neck Disability Index: a study of reliability and validity"},"components":[{"factor":"pain_intensity","points":0,"present":true,"value":0},{"factor":"personal_care","points":0,"present":true,"value":0},{"factor":"lifting","points":0,"present":true,"value":0},{"factor":"reading","points":0,"present":true,"value":0},{"factor":"headaches","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"work","points":0,"present":true,"value":0},{"factor":"driving","points":0,"present":true,"value":0},{"factor":"sleeping","points":0,"present":true,"value":0},{"factor":"recreation","points":0,"present":true,"value":0}],"disability":"none","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":"ndi","formula_expression":"NDI = pain_intensity + personal_care + lifting + reading + headaches + concentration + work + driving + sleeping + recreation; each caller-assigned 0-5; Vernon 1991 ten sections; max 50; raw 0-50 bands 0-4 none, 5-14 mild, 15-24 moderate, 25-34 severe, >34 complete","max_score":50,"score":0},{"citation":{"authors":"Vernon H, Mior S","id":"vernon-1991","pmid":"1834753","source":"J Manipulative Physiol Ther. 1991;14(7):409-415","title":"The Neck Disability Index: a study of reliability and validity"},"components":[{"factor":"pain_intensity","points":0,"present":true,"value":0},{"factor":"personal_care","points":0,"present":true,"value":0},{"factor":"lifting","points":0,"present":true,"value":0},{"factor":"reading","points":0,"present":true,"value":0},{"factor":"headaches","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"work","points":0,"present":true,"value":0},{"factor":"driving","points":0,"present":true,"value":0},{"factor":"sleeping","points":0,"present":true,"value":0},{"factor":"recreation","points":0,"present":true,"value":0}],"disability":"none","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":"ndi","formula_expression":"NDI = pain_intensity + personal_care + lifting + reading + headaches + concentration + work + driving + sleeping + recreation; each caller-assigned 0-5; Vernon 1991 ten sections; max 50; raw 0-50 bands 0-4 none, 5-14 mild, 15-24 moderate, 25-34 severe, >34 complete","max_score":50,"score":0}],"path":"/api/calc/ndi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"concentration":{"description":"Caller-assigned Vernon 1991 NDI concentration (integer 0-5): 0 can concentrate fully with no difficulty through 5 cannot concentrate at all. magent does not interview the patient.","type":"integer"},"driving":{"description":"Caller-assigned Vernon 1991 NDI driving (integer 0-5): 0 can drive without neck pain through 5 cannot drive at all. magent does not interview the patient.","type":"integer"},"headaches":{"description":"Caller-assigned Vernon 1991 NDI headaches (integer 0-5): 0 no headaches through 5 headaches almost all the time. magent does not interview the patient.","type":"integer"},"lifting":{"description":"Caller-assigned Vernon 1991 NDI lifting (integer 0-5): 0 can lift heavy weights without extra pain through 5 cannot lift or carry anything. magent does not interview the patient.","type":"integer"},"pain_intensity":{"description":"Caller-assigned Vernon 1991 NDI pain intensity (integer 0-5): 0 no pain at the moment through 5 worst imaginable pain at the moment. magent does not interview the patient.","type":"integer"},"personal_care":{"description":"Caller-assigned Vernon 1991 NDI personal care (washing, dressing) (integer 0-5): 0 looks after self normally without extra pain through 5 does not get dressed, washes with difficulty and stays in bed. magent does not interview the patient.","type":"integer"},"reading":{"description":"Caller-assigned Vernon 1991 NDI reading (integer 0-5): 0 can read as much as wanted with no neck pain through 5 cannot read at all. magent does not interview the patient.","type":"integer"},"recreation":{"description":"Caller-assigned Vernon 1991 NDI recreation (integer 0-5): 0 can engage in all recreation activities with no neck pain through 5 cannot do any recreation activities. magent does not interview the patient.","type":"integer"},"sleeping":{"description":"Caller-assigned Vernon 1991 NDI sleeping (integer 0-5): 0 no trouble sleeping through 5 sleep completely disturbed (5-7 hours sleepless). magent does not interview the patient.","type":"integer"},"work":{"description":"Caller-assigned Vernon 1991 NDI work (integer 0-5): 0 can do as much work as wanted through 5 cannot do any work at all. magent does not interview the patient.","type":"integer"}},"required":["pain_intensity","personal_care","lifting","reading","headaches","concentration","work","driving","sleeping","recreation"],"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},{"id":39116,"slug":"39116","resource":"https://api.magentlab.com/api/calc/mnihss","description":"Meyer/Lyden 2001 modified NIH Stroke Scale (mNIHSS): eleven caller-assigned NINDS-style integers. Drops LOC, facial palsy, limb ataxia, and dysarthria; collapses sensory to 0 = normal or 1 = abnormal; keeps left/right motor arm and leg (each 0-4). Sum 0-31. magent does not examine the patient. No total-score severity bands in Meyer 2001; later website cutoffs are not applied. Not Brott 1989 NIHSS, not a tPA order, not a diagnosis, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"best_gaze":0,"best_language":0,"best_visual":0,"left_arm":0,"left_leg":0,"loc_commands":0,"loc_questions":0,"neglect":0,"right_arm":0,"right_leg":0,"sensory":0},{"best_gaze":0,"best_language":0,"best_visual":0,"left_arm":0,"left_leg":0,"loc_commands":0,"loc_questions":0,"neglect":0,"right_arm":0,"right_leg":0,"sensory":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Meyer BC, Hemmen TM, Jackson CM, Lyden PD","doi":"10.1161/01.str.32.6.1310","id":"meyer-2001","pmid":"11387492","source":"Stroke. 2001;32(6):1310-1317","title":"A modified National Institutes of Health Stroke Scale for use in stroke clinical trials: preliminary reliability and validity"},"components":[{"factor":"loc_questions","points":0,"present":true,"value":0},{"factor":"loc_commands","points":0,"present":true,"value":0},{"factor":"best_gaze","points":0,"present":true,"value":0},{"factor":"best_visual","points":0,"present":true,"value":0},{"factor":"left_arm","points":0,"present":true,"value":0},{"factor":"right_arm","points":0,"present":true,"value":0},{"factor":"left_leg","points":0,"present":true,"value":0},{"factor":"right_leg","points":0,"present":true,"value":0},{"factor":"sensory","points":0,"present":true,"value":0},{"factor":"best_language","points":0,"present":true,"value":0},{"factor":"neglect","points":0,"present":true,"value":0}],"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":"mnihss","formula_expression":"mNIHSS = loc_questions (0-2) + loc_commands (0-2) + best_gaze (0-2) + best_visual (0-3) + left_arm (0-4) + right_arm (0-4) + left_leg (0-4) + right_leg (0-4) + sensory (0-1) + best_language (0-3) + neglect (0-2); Meyer/Lyden 2001 modified NIHSS (NINDS 11-item form; L/R motor; sensory collapsed to 0-1); total = sum; max 31; no published total-score severity bands","max_score":31,"score":0},{"citation":{"authors":"Meyer BC, Hemmen TM, Jackson CM, Lyden PD","doi":"10.1161/01.str.32.6.1310","id":"meyer-2001","pmid":"11387492","source":"Stroke. 2001;32(6):1310-1317","title":"A modified National Institutes of Health Stroke Scale for use in stroke clinical trials: preliminary reliability and validity"},"components":[{"factor":"loc_questions","points":0,"present":true,"value":0},{"factor":"loc_commands","points":0,"present":true,"value":0},{"factor":"best_gaze","points":0,"present":true,"value":0},{"factor":"best_visual","points":0,"present":true,"value":0},{"factor":"left_arm","points":0,"present":true,"value":0},{"factor":"right_arm","points":0,"present":true,"value":0},{"factor":"left_leg","points":0,"present":true,"value":0},{"factor":"right_leg","points":0,"present":true,"value":0},{"factor":"sensory","points":0,"present":true,"value":0},{"factor":"best_language","points":0,"present":true,"value":0},{"factor":"neglect","points":0,"present":true,"value":0}],"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":"mnihss","formula_expression":"mNIHSS = loc_questions (0-2) + loc_commands (0-2) + best_gaze (0-2) + best_visual (0-3) + left_arm (0-4) + right_arm (0-4) + left_leg (0-4) + right_leg (0-4) + sensory (0-1) + best_language (0-3) + neglect (0-2); Meyer/Lyden 2001 modified NIHSS (NINDS 11-item form; L/R motor; sensory collapsed to 0-1); total = sum; max 31; no published total-score severity bands","max_score":31,"score":0}],"path":"/api/calc/mnihss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"best_gaze":{"description":"Caller-assigned Meyer 2001 best gaze (integer 0-2): 0 normal, 1 partial gaze palsy, 2 forced deviation. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"best_language":{"description":"Caller-assigned Meyer 2001 best language (integer 0-3): 0 no aphasia, 1 mild to moderate, 2 severe aphasia, 3 mute. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"best_visual":{"description":"Caller-assigned Meyer 2001 best visual (integer 0-3): 0 no visual loss, 1 partial hemianopia, 2 complete hemianopia, 3 bilateral hemianopia. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"left_arm":{"description":"Caller-assigned Meyer 2001 left arm motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"left_leg":{"description":"Caller-assigned Meyer 2001 left leg motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"loc_commands":{"description":"Caller-assigned Meyer 2001 LOC commands (integer 0-2): 0 obeys both correctly, 1 obeys one correctly, 2 incorrect. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"loc_questions":{"description":"Caller-assigned Meyer 2001 LOC questions (integer 0-2): 0 answers both correctly, 1 answers one correctly, 2 incorrect. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"neglect":{"description":"Caller-assigned Meyer 2001 neglect (integer 0-2): 0 no neglect, 1 partial neglect, 2 complete neglect. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"right_arm":{"description":"Caller-assigned Meyer 2001 right arm motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"right_leg":{"description":"Caller-assigned Meyer 2001 right leg motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"sensory":{"description":"Caller-assigned Meyer 2001 sensory (integer 0-1): 0 normal, 1 abnormal. Collapsed from NIHSS 0-2; 2 is invalid. magent does not examine the patient.","enum":[0,1],"type":"integer"}},"required":["loc_questions","loc_commands","best_gaze","best_visual","left_arm","right_arm","left_leg","right_leg","sensory","best_language","neglect"],"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":["mnihss","stroke","neurology","meyer","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:46:21.388Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:46:21.274Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"best_gaze":0,"best_language":0,"best_visual":0,"left_arm":0,"left_leg":0,"loc_commands":0,"loc_questions":0,"neglect":0,"right_arm":0,"right_leg":0,"sensory":0},{"best_gaze":0,"best_language":0,"best_visual":0,"left_arm":0,"left_leg":0,"loc_commands":0,"loc_questions":0,"neglect":0,"right_arm":0,"right_leg":0,"sensory":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Meyer BC, Hemmen TM, Jackson CM, Lyden PD","doi":"10.1161/01.str.32.6.1310","id":"meyer-2001","pmid":"11387492","source":"Stroke. 2001;32(6):1310-1317","title":"A modified National Institutes of Health Stroke Scale for use in stroke clinical trials: preliminary reliability and validity"},"components":[{"factor":"loc_questions","points":0,"present":true,"value":0},{"factor":"loc_commands","points":0,"present":true,"value":0},{"factor":"best_gaze","points":0,"present":true,"value":0},{"factor":"best_visual","points":0,"present":true,"value":0},{"factor":"left_arm","points":0,"present":true,"value":0},{"factor":"right_arm","points":0,"present":true,"value":0},{"factor":"left_leg","points":0,"present":true,"value":0},{"factor":"right_leg","points":0,"present":true,"value":0},{"factor":"sensory","points":0,"present":true,"value":0},{"factor":"best_language","points":0,"present":true,"value":0},{"factor":"neglect","points":0,"present":true,"value":0}],"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":"mnihss","formula_expression":"mNIHSS = loc_questions (0-2) + loc_commands (0-2) + best_gaze (0-2) + best_visual (0-3) + left_arm (0-4) + right_arm (0-4) + left_leg (0-4) + right_leg (0-4) + sensory (0-1) + best_language (0-3) + neglect (0-2); Meyer/Lyden 2001 modified NIHSS (NINDS 11-item form; L/R motor; sensory collapsed to 0-1); total = sum; max 31; no published total-score severity bands","max_score":31,"score":0},{"citation":{"authors":"Meyer BC, Hemmen TM, Jackson CM, Lyden PD","doi":"10.1161/01.str.32.6.1310","id":"meyer-2001","pmid":"11387492","source":"Stroke. 2001;32(6):1310-1317","title":"A modified National Institutes of Health Stroke Scale for use in stroke clinical trials: preliminary reliability and validity"},"components":[{"factor":"loc_questions","points":0,"present":true,"value":0},{"factor":"loc_commands","points":0,"present":true,"value":0},{"factor":"best_gaze","points":0,"present":true,"value":0},{"factor":"best_visual","points":0,"present":true,"value":0},{"factor":"left_arm","points":0,"present":true,"value":0},{"factor":"right_arm","points":0,"present":true,"value":0},{"factor":"left_leg","points":0,"present":true,"value":0},{"factor":"right_leg","points":0,"present":true,"value":0},{"factor":"sensory","points":0,"present":true,"value":0},{"factor":"best_language","points":0,"present":true,"value":0},{"factor":"neglect","points":0,"present":true,"value":0}],"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":"mnihss","formula_expression":"mNIHSS = loc_questions (0-2) + loc_commands (0-2) + best_gaze (0-2) + best_visual (0-3) + left_arm (0-4) + right_arm (0-4) + left_leg (0-4) + right_leg (0-4) + sensory (0-1) + best_language (0-3) + neglect (0-2); Meyer/Lyden 2001 modified NIHSS (NINDS 11-item form; L/R motor; sensory collapsed to 0-1); total = sum; max 31; no published total-score severity bands","max_score":31,"score":0}],"path":"/api/calc/mnihss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"best_gaze":{"description":"Caller-assigned Meyer 2001 best gaze (integer 0-2): 0 normal, 1 partial gaze palsy, 2 forced deviation. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"best_language":{"description":"Caller-assigned Meyer 2001 best language (integer 0-3): 0 no aphasia, 1 mild to moderate, 2 severe aphasia, 3 mute. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"best_visual":{"description":"Caller-assigned Meyer 2001 best visual (integer 0-3): 0 no visual loss, 1 partial hemianopia, 2 complete hemianopia, 3 bilateral hemianopia. magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"left_arm":{"description":"Caller-assigned Meyer 2001 left arm motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"left_leg":{"description":"Caller-assigned Meyer 2001 left leg motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"loc_commands":{"description":"Caller-assigned Meyer 2001 LOC commands (integer 0-2): 0 obeys both correctly, 1 obeys one correctly, 2 incorrect. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"loc_questions":{"description":"Caller-assigned Meyer 2001 LOC questions (integer 0-2): 0 answers both correctly, 1 answers one correctly, 2 incorrect. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"neglect":{"description":"Caller-assigned Meyer 2001 neglect (integer 0-2): 0 no neglect, 1 partial neglect, 2 complete neglect. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"right_arm":{"description":"Caller-assigned Meyer 2001 right arm motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"right_leg":{"description":"Caller-assigned Meyer 2001 right leg motor, NINDS style (integer 0-4): 0 no drift, 1 drift, 2 some effort against gravity, 3 no effort against gravity, 4 no movement. Not Brott weaker-limb. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"sensory":{"description":"Caller-assigned Meyer 2001 sensory (integer 0-1): 0 normal, 1 abnormal. Collapsed from NIHSS 0-2; 2 is invalid. magent does not examine the patient.","enum":[0,1],"type":"integer"}},"required":["loc_questions","loc_commands","best_gaze","best_visual","left_arm","right_arm","left_leg","right_leg","sensory","best_language","neglect"],"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},{"id":39117,"slug":"39117","resource":"https://api.magentlab.com/api/calc/hemorr2hages","description":"Gage 2006 HEMORR2HAGES (NRAF) AF major-bleed score: prior bleed 2; hepatic or renal, ethanol, malignancy, age >75, reduced platelet count or function, uncontrolled hypertension, anemia, genetic factors, excessive fall risk, and stroke each 1. Max 12. Warfarin major bleed per 100 patient-years: 0→1.9, 1→2.5, 2→5.3, 3→8.4, 4→10.4, ≥5→12.3. Not a medical device. Not a decision to start or stop anticoagulation. Not HAS-BLED, ORBIT, or ATRIA.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":60,"anemia":false,"ethanol":false,"excessive_fall_risk":false,"genetic_factors":false,"hepatic_or_renal":false,"malignancy":false,"prior_bleed":false,"reduced_platelet":false,"stroke":false,"uncontrolled_hypertension":false},{"age":60,"anemia":false,"ethanol":false,"excessive_fall_risk":false,"genetic_factors":false,"hepatic_or_renal":false,"malignancy":false,"prior_bleed":false,"reduced_platelet":false,"stroke":false,"uncontrolled_hypertension":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"bleed_rate_per_100_pt_years":1.9,"citation":{"authors":"Gage BF, Yan Y, Milligan PE, et al.","doi":"10.1016/j.ahj.2005.04.017","id":"gage-2006","pmid":"16504638","source":"Am Heart J. 2006;151(3):713-719","title":"Clinical classification schemes for predicting hemorrhage: results from the National Registry of Atrial Fibrillation (NRAF)"},"components":[{"factor":"prior_bleed","points":0,"present":false},{"factor":"hepatic_or_renal","points":0,"present":false},{"factor":"ethanol","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"age_gt_75","points":0,"present":false,"value":60},{"factor":"reduced_platelet","points":0,"present":false},{"factor":"uncontrolled_hypertension","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"genetic_factors","points":0,"present":false},{"factor":"excessive_fall_risk","points":0,"present":false},{"factor":"stroke","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":"hemorr2hages","formula_expression":"HEMORR2HAGES = prior_bleed (2) + hepatic_or_renal (1) + ethanol (1) + malignancy (1) + age_gt_75 (1) + reduced_platelet (1) + uncontrolled_hypertension (1) + anemia (1) + genetic_factors (1) + excessive_fall_risk (1) + stroke (1); max 12; warfarin major bleed per 100 pt-years: 0=1.9, 1=2.5, 2=5.3, 3=8.4, 4=10.4, >=5=12.3","max_score":12,"score":0},{"age_years":60,"bleed_rate_per_100_pt_years":1.9,"citation":{"authors":"Gage BF, Yan Y, Milligan PE, et al.","doi":"10.1016/j.ahj.2005.04.017","id":"gage-2006","pmid":"16504638","source":"Am Heart J. 2006;151(3):713-719","title":"Clinical classification schemes for predicting hemorrhage: results from the National Registry of Atrial Fibrillation (NRAF)"},"components":[{"factor":"prior_bleed","points":0,"present":false},{"factor":"hepatic_or_renal","points":0,"present":false},{"factor":"ethanol","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"age_gt_75","points":0,"present":false,"value":60},{"factor":"reduced_platelet","points":0,"present":false},{"factor":"uncontrolled_hypertension","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"genetic_factors","points":0,"present":false},{"factor":"excessive_fall_risk","points":0,"present":false},{"factor":"stroke","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":"hemorr2hages","formula_expression":"HEMORR2HAGES = prior_bleed (2) + hepatic_or_renal (1) + ethanol (1) + malignancy (1) + age_gt_75 (1) + reduced_platelet (1) + uncontrolled_hypertension (1) + anemia (1) + genetic_factors (1) + excessive_fall_risk (1) + stroke (1); max 12; warfarin major bleed per 100 pt-years: 0=1.9, 1=2.5, 2=5.3, 3=8.4, 4=10.4, >=5=12.3","max_score":12,"score":0}],"path":"/api/calc/hemorr2hages"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age >75 scores 1 (76 scores; 75 does not).","type":"integer"},"anemia":{"description":"Anemia as assigned by the caller. true or false. Scores 1. magent does not take hemoglobin.","type":"boolean"},"ethanol":{"description":"Ethanol abuse as assigned by the caller. true or false. Scores 1.","type":"boolean"},"excessive_fall_risk":{"description":"Excessive fall risk as assigned by the caller. true or false. Scores 1.","type":"boolean"},"genetic_factors":{"description":"Genetic factors as assigned by the caller (paper: CYP2C9). true or false. Scores 1. magent does not genotype.","type":"boolean"},"hepatic_or_renal":{"description":"Hepatic or renal disease as assigned by the caller. true or false. Scores 1 as a single flag.","type":"boolean"},"malignancy":{"description":"Malignancy as assigned by the caller. true or false. Scores 1.","type":"boolean"},"prior_bleed":{"description":"Prior bleed / rebleeding as assigned by the caller. true or false. Scores 2 (the 2 in HEMORR2HAGES).","type":"boolean"},"reduced_platelet":{"description":"Reduced platelet count or function as assigned by the caller. true or false. Scores 1. magent does not take a platelet count.","type":"boolean"},"stroke":{"description":"Prior stroke as assigned by the caller. true or false. Scores 1.","type":"boolean"},"uncontrolled_hypertension":{"description":"Uncontrolled hypertension as assigned by the caller. true or false. Scores 1.","type":"boolean"}},"required":["age","prior_bleed","hepatic_or_renal","ethanol","malignancy","reduced_platelet","uncontrolled_hypertension","anemia","genetic_factors","excessive_fall_risk","stroke"],"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":["hemorr2hages","bleeding","afib","hemorrhage","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:46:20.411Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:46:20.289Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":60,"anemia":false,"ethanol":false,"excessive_fall_risk":false,"genetic_factors":false,"hepatic_or_renal":false,"malignancy":false,"prior_bleed":false,"reduced_platelet":false,"stroke":false,"uncontrolled_hypertension":false},{"age":60,"anemia":false,"ethanol":false,"excessive_fall_risk":false,"genetic_factors":false,"hepatic_or_renal":false,"malignancy":false,"prior_bleed":false,"reduced_platelet":false,"stroke":false,"uncontrolled_hypertension":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"bleed_rate_per_100_pt_years":1.9,"citation":{"authors":"Gage BF, Yan Y, Milligan PE, et al.","doi":"10.1016/j.ahj.2005.04.017","id":"gage-2006","pmid":"16504638","source":"Am Heart J. 2006;151(3):713-719","title":"Clinical classification schemes for predicting hemorrhage: results from the National Registry of Atrial Fibrillation (NRAF)"},"components":[{"factor":"prior_bleed","points":0,"present":false},{"factor":"hepatic_or_renal","points":0,"present":false},{"factor":"ethanol","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"age_gt_75","points":0,"present":false,"value":60},{"factor":"reduced_platelet","points":0,"present":false},{"factor":"uncontrolled_hypertension","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"genetic_factors","points":0,"present":false},{"factor":"excessive_fall_risk","points":0,"present":false},{"factor":"stroke","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":"hemorr2hages","formula_expression":"HEMORR2HAGES = prior_bleed (2) + hepatic_or_renal (1) + ethanol (1) + malignancy (1) + age_gt_75 (1) + reduced_platelet (1) + uncontrolled_hypertension (1) + anemia (1) + genetic_factors (1) + excessive_fall_risk (1) + stroke (1); max 12; warfarin major bleed per 100 pt-years: 0=1.9, 1=2.5, 2=5.3, 3=8.4, 4=10.4, >=5=12.3","max_score":12,"score":0},{"age_years":60,"bleed_rate_per_100_pt_years":1.9,"citation":{"authors":"Gage BF, Yan Y, Milligan PE, et al.","doi":"10.1016/j.ahj.2005.04.017","id":"gage-2006","pmid":"16504638","source":"Am Heart J. 2006;151(3):713-719","title":"Clinical classification schemes for predicting hemorrhage: results from the National Registry of Atrial Fibrillation (NRAF)"},"components":[{"factor":"prior_bleed","points":0,"present":false},{"factor":"hepatic_or_renal","points":0,"present":false},{"factor":"ethanol","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"age_gt_75","points":0,"present":false,"value":60},{"factor":"reduced_platelet","points":0,"present":false},{"factor":"uncontrolled_hypertension","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"genetic_factors","points":0,"present":false},{"factor":"excessive_fall_risk","points":0,"present":false},{"factor":"stroke","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":"hemorr2hages","formula_expression":"HEMORR2HAGES = prior_bleed (2) + hepatic_or_renal (1) + ethanol (1) + malignancy (1) + age_gt_75 (1) + reduced_platelet (1) + uncontrolled_hypertension (1) + anemia (1) + genetic_factors (1) + excessive_fall_risk (1) + stroke (1); max 12; warfarin major bleed per 100 pt-years: 0=1.9, 1=2.5, 2=5.3, 3=8.4, 4=10.4, >=5=12.3","max_score":12,"score":0}],"path":"/api/calc/hemorr2hages"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age >75 scores 1 (76 scores; 75 does not).","type":"integer"},"anemia":{"description":"Anemia as assigned by the caller. true or false. Scores 1. magent does not take hemoglobin.","type":"boolean"},"ethanol":{"description":"Ethanol abuse as assigned by the caller. true or false. Scores 1.","type":"boolean"},"excessive_fall_risk":{"description":"Excessive fall risk as assigned by the caller. true or false. Scores 1.","type":"boolean"},"genetic_factors":{"description":"Genetic factors as assigned by the caller (paper: CYP2C9). true or false. Scores 1. magent does not genotype.","type":"boolean"},"hepatic_or_renal":{"description":"Hepatic or renal disease as assigned by the caller. true or false. Scores 1 as a single flag.","type":"boolean"},"malignancy":{"description":"Malignancy as assigned by the caller. true or false. Scores 1.","type":"boolean"},"prior_bleed":{"description":"Prior bleed / rebleeding as assigned by the caller. true or false. Scores 2 (the 2 in HEMORR2HAGES).","type":"boolean"},"reduced_platelet":{"description":"Reduced platelet count or function as assigned by the caller. true or false. Scores 1. magent does not take a platelet count.","type":"boolean"},"stroke":{"description":"Prior stroke as assigned by the caller. true or false. Scores 1.","type":"boolean"},"uncontrolled_hypertension":{"description":"Uncontrolled hypertension as assigned by the caller. true or false. Scores 1.","type":"boolean"}},"required":["age","prior_bleed","hepatic_or_renal","ethanol","malignancy","reduced_platelet","uncontrolled_hypertension","anemia","genetic_factors","excessive_fall_risk","stroke"],"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},{"id":39118,"slug":"39118","resource":"https://api.magentlab.com/api/calc/heaven","description":"Davis 2017 HEAVEN criteria from six caller-assigned flags: hypoxemia (SpO2 ≤93% at initial laryngoscopy as assigned), extremes of size (pediatric ≤8 years or clinical obesity as assigned), anatomic challenges, vomit/blood/fluid, exsanguination, and limited neck mobility. high_risk iff any is true; criteria_met is the count of true flags (0-6); low_risk iff none. Not an intubation order. magent does not measure SpO2 or examine the airway. Not Mallampati, not EGRI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anatomic_challenges":false,"exsanguination":false,"extremes_of_size":false,"hypoxemia":false,"neck_mobility_limited":false,"vomit_blood_fluid":false},{"anatomic_challenges":false,"exsanguination":false,"extremes_of_size":false,"hypoxemia":false,"neck_mobility_limited":false,"vomit_blood_fluid":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Davis DP, Olvera DJ","doi":"10.1016/j.amj.2017.04.001","id":"davis-2017","pmid":"28739243","source":"Air Med J. 2017;36(4):195-197","title":"HEAVEN Criteria: Derivation of a New Difficult Airway Prediction Tool"},"criteria":[{"factor":"hypoxemia","met":false},{"factor":"extremes_of_size","met":false},{"factor":"anatomic_challenges","met":false},{"factor":"vomit_blood_fluid","met":false},{"factor":"exsanguination","met":false},{"factor":"neck_mobility_limited","met":false},{"factor":"high_risk_any","met":false}],"criteria_met":0,"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":"heaven","formula_expression":"high_risk iff hypoxemia or extremes_of_size or anatomic_challenges or vomit_blood_fluid or exsanguination or neck_mobility_limited; low_risk iff not high_risk; criteria_met is the count of those six flags that are true (Davis 2017 HEAVEN; high_risk iff any of six caller-assigned flags)","high_risk":false,"low_risk":true},{"citation":{"authors":"Davis DP, Olvera DJ","doi":"10.1016/j.amj.2017.04.001","id":"davis-2017","pmid":"28739243","source":"Air Med J. 2017;36(4):195-197","title":"HEAVEN Criteria: Derivation of a New Difficult Airway Prediction Tool"},"criteria":[{"factor":"hypoxemia","met":false},{"factor":"extremes_of_size","met":false},{"factor":"anatomic_challenges","met":false},{"factor":"vomit_blood_fluid","met":false},{"factor":"exsanguination","met":false},{"factor":"neck_mobility_limited","met":false},{"factor":"high_risk_any","met":false}],"criteria_met":0,"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":"heaven","formula_expression":"high_risk iff hypoxemia or extremes_of_size or anatomic_challenges or vomit_blood_fluid or exsanguination or neck_mobility_limited; low_risk iff not high_risk; criteria_met is the count of those six flags that are true (Davis 2017 HEAVEN; high_risk iff any of six caller-assigned flags)","high_risk":false,"low_risk":true}],"path":"/api/calc/heaven"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anatomic_challenges":{"description":"Anatomic challenges that limit laryngoscopy as assigned by the caller (Davis 2017). true is a HEAVEN flag. magent does not examine the airway.","type":"boolean"},"exsanguination":{"description":"Exsanguination (suspected anemia that would accelerate desaturation) as assigned by the caller (Davis 2017). true is a HEAVEN flag. magent does not assay hemoglobin.","type":"boolean"},"extremes_of_size":{"description":"Extremes of size (pediatric ≤8 years or clinical obesity) as assigned by the caller (Davis 2017). true is a HEAVEN flag. magent does not examine the patient or assign age.","type":"boolean"},"hypoxemia":{"description":"Hypoxemia (SpO2 ≤93% at initial laryngoscopy) as assigned by the caller (Davis 2017). true is a HEAVEN flag. magent does not measure SpO2.","type":"boolean"},"neck_mobility_limited":{"description":"Limited neck mobility as assigned by the caller (Davis 2017). true is a HEAVEN flag. magent does not examine the neck.","type":"boolean"},"vomit_blood_fluid":{"description":"Vomit, blood, or fluid in the pharynx or hypopharynx as assigned by the caller (Davis 2017). true is a HEAVEN flag. magent does not examine the airway.","type":"boolean"}},"required":["hypoxemia","extremes_of_size","anatomic_challenges","vomit_blood_fluid","exsanguination","neck_mobility_limited"],"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":["heaven","airway","emergency","intubation","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:46:19.511Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:46:19.382Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anatomic_challenges":false,"exsanguination":false,"extremes_of_size":false,"hypoxemia":false,"neck_mobility_limited":false,"vomit_blood_fluid":false},{"anatomic_challenges":false,"exsanguination":false,"extremes_of_size":false,"hypoxemia":false,"neck_mobility_limited":false,"vomit_blood_fluid":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Davis DP, Olvera DJ","doi":"10.1016/j.amj.2017.04.001","id":"davis-2017","pmid":"28739243","source":"Air Med J. 2017;36(4):195-197","title":"HEAVEN Criteria: Derivation of a New Difficult Airway Prediction Tool"},"criteria":[{"factor":"hypoxemia","met":false},{"factor":"extremes_of_size","met":false},{"factor":"anatomic_challenges","met":false},{"factor":"vomit_blood_fluid","met":false},{"factor":"exsanguination","met":false},{"factor":"neck_mobility_limited","met":false},{"factor":"high_risk_any","met":false}],"criteria_met":0,"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":"heaven","formula_expression":"high_risk iff hypoxemia or extremes_of_size or anatomic_challenges or vomit_blood_fluid or exsanguination or neck_mobility_limited; low_risk iff not high_risk; criteria_met is the count of those six flags that are true (Davis 2017 HEAVEN; high_risk iff any of six caller-assigned flags)","high_risk":false,"low_risk":true},{"citation":{"authors":"Davis DP, Olvera DJ","doi":"10.1016/j.amj.2017.04.001","id":"davis-2017","pmid":"28739243","source":"Air Med J. 2017;36(4):195-197","title":"HEAVEN Criteria: Derivation of a New Difficult Airway Prediction Tool"},"criteria":[{"factor":"hypoxemia","met":false},{"factor":"extremes_of_size","met":false},{"factor":"anatomic_challenges","met":false},{"factor":"vomit_blood_fluid","met":false},{"factor":"exsanguination","met":false},{"factor":"neck_mobility_limited","met":false},{"factor":"high_risk_any","met":false}],"criteria_met":0,"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":"heaven","formula_expression":"high_risk iff hypoxemia or extremes_of_size or anatomic_challenges or vomit_blood_fluid or exsanguination or neck_mobility_limited; low_risk iff not high_risk; criteria_met is the count of those six flags that are true (Davis 2017 HEAVEN; high_risk iff any of six caller-assigned flags)","high_risk":false,"low_risk":true}],"path":"/api/calc/heaven"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anatomic_challenges":{"description":"Anatomic challenges that limit laryngoscopy as assigned by the caller (Davis 2017). true is a HEAVEN flag. magent does not examine the airway.","type":"boolean"},"exsanguination":{"description":"Exsanguination (suspected anemia that would accelerate desaturation) as assigned by the caller (Davis 2017). true is a HEAVEN flag. magent does not assay hemoglobin.","type":"boolean"},"extremes_of_size":{"description":"Extremes of size (pediatric ≤8 years or clinical obesity) as assigned by the caller (Davis 2017). true is a HEAVEN flag. magent does not examine the patient or assign age.","type":"boolean"},"hypoxemia":{"description":"Hypoxemia (SpO2 ≤93% at initial laryngoscopy) as assigned by the caller (Davis 2017). true is a HEAVEN flag. magent does not measure SpO2.","type":"boolean"},"neck_mobility_limited":{"description":"Limited neck mobility as assigned by the caller (Davis 2017). true is a HEAVEN flag. magent does not examine the neck.","type":"boolean"},"vomit_blood_fluid":{"description":"Vomit, blood, or fluid in the pharynx or hypopharynx as assigned by the caller (Davis 2017). true is a HEAVEN flag. magent does not examine the airway.","type":"boolean"}},"required":["hypoxemia","extremes_of_size","anatomic_challenges","vomit_blood_fluid","exsanguination","neck_mobility_limited"],"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},{"id":39119,"slug":"39119","resource":"https://api.magentlab.com/api/calc/hear","description":"HEAR score for emergency chest pain from age and caller-assigned history, ECG, and risk factors (each 0-2, max 8). No troponin. Smith 2020 very-low-risk group is scores 0 and 1 (MACE ~0.9% in that paper). Deterministic published score with citation; not a diagnosis or discharge protocol. magent does not interpret history, count risk factors, or read an ECG.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"ecg":0,"history":0,"risk_factors":0},{"age":40,"ecg":0,"history":0,"risk_factors":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Smith LM, Ashburn NP, Snavely AC, Mahler SA","doi":"10.1136/emermed-2020-209698","id":"smith-2020","pmid":"32753395","source":"Emerg Med J. 2020;37(11):690-695","title":"Identification of very low-risk acute chest pain patients without troponin testing"},"components":[{"factor":"history","points":0,"present":false,"value":0},{"factor":"ecg","points":0,"present":false,"value":0},{"factor":"age","points":0,"present":false,"value":40},{"factor":"risk_factors","points":0,"present":false,"value":0}],"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":"hear","formula_expression":"HEAR = history + ECG + age_points + risk_factors; each 0-2; age <45 0, 45-64 1, >=65 2; very_low_risk iff score 0 or 1 (Smith 2020); max 8","max_score":8,"score":0,"very_low_risk":true},{"age_years":40,"citation":{"authors":"Smith LM, Ashburn NP, Snavely AC, Mahler SA","doi":"10.1136/emermed-2020-209698","id":"smith-2020","pmid":"32753395","source":"Emerg Med J. 2020;37(11):690-695","title":"Identification of very low-risk acute chest pain patients without troponin testing"},"components":[{"factor":"history","points":0,"present":false,"value":0},{"factor":"ecg","points":0,"present":false,"value":0},{"factor":"age","points":0,"present":false,"value":40},{"factor":"risk_factors","points":0,"present":false,"value":0}],"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":"hear","formula_expression":"HEAR = history + ECG + age_points + risk_factors; each 0-2; age <45 0, 45-64 1, >=65 2; very_low_risk iff score 0 or 1 (Smith 2020); max 8","max_score":8,"score":0,"very_low_risk":true}],"path":"/api/calc/hear"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Younger than 45 scores 0; 45-64 scores 1; 65 or older scores 2 (same cuts as Six 2008 HEART).","type":"integer"},"ecg":{"description":"Caller-assigned ECG. 0 normal; 1 repolarization without significant ST depression (including BBB, LVH, digoxin, or known unchanged); 2 significant ST depression or elevation without those confounders. magent does not read an ECG.","type":"integer"},"history":{"description":"Caller-assigned history. 0 nonspecific, 1 moderately suspicious, 2 highly suspicious. magent does not interpret the history.","type":"integer"},"risk_factors":{"description":"Caller-assigned risk-factor points. 0 none, 1 = 1-2 risk factors, 2 = ≥3 or atherosclerotic disease. magent does not count diabetes, smoking, or other factors.","type":"integer"}},"required":["age","history","ecg","risk_factors"],"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":["hear","acs","chest-pain","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:41:27.371Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:41:27.224Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"ecg":0,"history":0,"risk_factors":0},{"age":40,"ecg":0,"history":0,"risk_factors":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Smith LM, Ashburn NP, Snavely AC, Mahler SA","doi":"10.1136/emermed-2020-209698","id":"smith-2020","pmid":"32753395","source":"Emerg Med J. 2020;37(11):690-695","title":"Identification of very low-risk acute chest pain patients without troponin testing"},"components":[{"factor":"history","points":0,"present":false,"value":0},{"factor":"ecg","points":0,"present":false,"value":0},{"factor":"age","points":0,"present":false,"value":40},{"factor":"risk_factors","points":0,"present":false,"value":0}],"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":"hear","formula_expression":"HEAR = history + ECG + age_points + risk_factors; each 0-2; age <45 0, 45-64 1, >=65 2; very_low_risk iff score 0 or 1 (Smith 2020); max 8","max_score":8,"score":0,"very_low_risk":true},{"age_years":40,"citation":{"authors":"Smith LM, Ashburn NP, Snavely AC, Mahler SA","doi":"10.1136/emermed-2020-209698","id":"smith-2020","pmid":"32753395","source":"Emerg Med J. 2020;37(11):690-695","title":"Identification of very low-risk acute chest pain patients without troponin testing"},"components":[{"factor":"history","points":0,"present":false,"value":0},{"factor":"ecg","points":0,"present":false,"value":0},{"factor":"age","points":0,"present":false,"value":40},{"factor":"risk_factors","points":0,"present":false,"value":0}],"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":"hear","formula_expression":"HEAR = history + ECG + age_points + risk_factors; each 0-2; age <45 0, 45-64 1, >=65 2; very_low_risk iff score 0 or 1 (Smith 2020); max 8","max_score":8,"score":0,"very_low_risk":true}],"path":"/api/calc/hear"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Younger than 45 scores 0; 45-64 scores 1; 65 or older scores 2 (same cuts as Six 2008 HEART).","type":"integer"},"ecg":{"description":"Caller-assigned ECG. 0 normal; 1 repolarization without significant ST depression (including BBB, LVH, digoxin, or known unchanged); 2 significant ST depression or elevation without those confounders. magent does not read an ECG.","type":"integer"},"history":{"description":"Caller-assigned history. 0 nonspecific, 1 moderately suspicious, 2 highly suspicious. magent does not interpret the history.","type":"integer"},"risk_factors":{"description":"Caller-assigned risk-factor points. 0 none, 1 = 1-2 risk factors, 2 = ≥3 or atherosclerotic disease. magent does not count diabetes, smoking, or other factors.","type":"integer"}},"required":["age","history","ecg","risk_factors"],"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},{"id":39120,"slug":"39120","resource":"https://api.magentlab.com/api/calc/heads_ed","description":"Cappelli 2012 HEADS-ED from seven caller-assigned 0-2 domains (Home, Education, Activities/peers, Drugs/alcohol, Suicidality, Emotions/behavior, Discharge resources). 0 no action needed, 1 needs action but not immediately, 2 needs immediate action. magent sums only (max 14) and does not interview a child. No labeled high-risk band. Not a medical device or psychiatric admission order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"activities":0,"discharge_resources":0,"drugs":0,"education":0,"emotions":0,"home":0,"suicidality":0},{"activities":0,"discharge_resources":0,"drugs":0,"education":0,"emotions":0,"home":0,"suicidality":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"activities":0,"citation":{"authors":"Cappelli M, Gray C, Zemek R, Cloutier P, Kennedy A, Glennie E, Doucet G, Lyons JS","doi":"10.1542/peds.2011-3798","id":"cappelli-2012","pmid":"22826567","source":"Pediatrics. 2012;130(2):e321-e327","title":"The HEADS-ED: a rapid mental health screening tool for pediatric patients in the emergency department"},"components":[{"factor":"home","points":0,"present":true,"value":0},{"factor":"education","points":0,"present":true,"value":0},{"factor":"activities","points":0,"present":true,"value":0},{"factor":"drugs","points":0,"present":true,"value":0},{"factor":"suicidality","points":0,"present":true,"value":0},{"factor":"emotions","points":0,"present":true,"value":0},{"factor":"discharge_resources","points":0,"present":true,"value":0}],"discharge_resources":0,"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.","drugs":0,"education":0,"emotions":0,"formula":"heads_ed","formula_expression":"HEADS-ED = home + education + activities + drugs + suicidality + emotions + discharge_resources; each caller-assigned 0-2 (0 no action needed, 1 needs action but not immediately, 2 needs immediate action); max 14","home":0,"max_score":14,"score":0,"suicidality":0},{"activities":0,"citation":{"authors":"Cappelli M, Gray C, Zemek R, Cloutier P, Kennedy A, Glennie E, Doucet G, Lyons JS","doi":"10.1542/peds.2011-3798","id":"cappelli-2012","pmid":"22826567","source":"Pediatrics. 2012;130(2):e321-e327","title":"The HEADS-ED: a rapid mental health screening tool for pediatric patients in the emergency department"},"components":[{"factor":"home","points":0,"present":true,"value":0},{"factor":"education","points":0,"present":true,"value":0},{"factor":"activities","points":0,"present":true,"value":0},{"factor":"drugs","points":0,"present":true,"value":0},{"factor":"suicidality","points":0,"present":true,"value":0},{"factor":"emotions","points":0,"present":true,"value":0},{"factor":"discharge_resources","points":0,"present":true,"value":0}],"discharge_resources":0,"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.","drugs":0,"education":0,"emotions":0,"formula":"heads_ed","formula_expression":"HEADS-ED = home + education + activities + drugs + suicidality + emotions + discharge_resources; each caller-assigned 0-2 (0 no action needed, 1 needs action but not immediately, 2 needs immediate action); max 14","home":0,"max_score":14,"score":0,"suicidality":0}],"path":"/api/calc/heads_ed"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activities":{"description":"Caller-assigned Cappelli 2012 Activities/peers (integer 0-2): 0 no action needed (no change); 1 needs action but not immediately (reduction in activities/increased peer conflicts); 2 needs immediate action (increasingly to fully withdrawn/significant peer conflicts). magent does not interview a child.","type":"integer"},"discharge_resources":{"description":"Caller-assigned Cappelli 2012 Discharge resources (integer 0-2): 0 no action needed (ongoing/well connected); 1 needs action but not immediately (some/not meeting needs); 2 needs immediate action (none/on waitlist). magent does not interview a child.","type":"integer"},"drugs":{"description":"Caller-assigned Cappelli 2012 Drugs/alcohol (integer 0-2): 0 no action needed (none or infrequent); 1 needs action but not immediately (occasional); 2 needs immediate action (frequent/daily). magent does not interview a child.","type":"integer"},"education":{"description":"Caller-assigned Cappelli 2012 Education (integer 0-2): 0 no action needed (on track); 1 needs action but not immediately (grades dropping or absenteeism); 2 needs immediate action (failing/not attending). magent does not interview a child.","type":"integer"},"emotions":{"description":"Caller-assigned Cappelli 2012 Emotions/behavior (integer 0-2): 0 no action needed (mildly anxious/sad/acting out); 1 needs action but not immediately (moderately anxious/sad/acting out); 2 needs immediate action (significantly distressed/unable to function/out of control). magent does not interview a child.","type":"integer"},"home":{"description":"Caller-assigned Cappelli 2012 Home (integer 0-2): 0 no action needed (supportive); 1 needs action but not immediately (conflicts); 2 needs immediate action (chaotic/dysfunctional). magent does not interview a child.","type":"integer"},"suicidality":{"description":"Caller-assigned Cappelli 2012 Suicidality (integer 0-2): 0 no action needed (no thoughts); 1 needs action but not immediately (ideation); 2 needs immediate action (plan or gesture). magent does not interview a child.","type":"integer"}},"required":["home","education","activities","drugs","suicidality","emotions","discharge_resources"],"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":["heads-ed","pediatric","mental-health","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:41:25.572Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:41:25.448Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"activities":0,"discharge_resources":0,"drugs":0,"education":0,"emotions":0,"home":0,"suicidality":0},{"activities":0,"discharge_resources":0,"drugs":0,"education":0,"emotions":0,"home":0,"suicidality":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"activities":0,"citation":{"authors":"Cappelli M, Gray C, Zemek R, Cloutier P, Kennedy A, Glennie E, Doucet G, Lyons JS","doi":"10.1542/peds.2011-3798","id":"cappelli-2012","pmid":"22826567","source":"Pediatrics. 2012;130(2):e321-e327","title":"The HEADS-ED: a rapid mental health screening tool for pediatric patients in the emergency department"},"components":[{"factor":"home","points":0,"present":true,"value":0},{"factor":"education","points":0,"present":true,"value":0},{"factor":"activities","points":0,"present":true,"value":0},{"factor":"drugs","points":0,"present":true,"value":0},{"factor":"suicidality","points":0,"present":true,"value":0},{"factor":"emotions","points":0,"present":true,"value":0},{"factor":"discharge_resources","points":0,"present":true,"value":0}],"discharge_resources":0,"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.","drugs":0,"education":0,"emotions":0,"formula":"heads_ed","formula_expression":"HEADS-ED = home + education + activities + drugs + suicidality + emotions + discharge_resources; each caller-assigned 0-2 (0 no action needed, 1 needs action but not immediately, 2 needs immediate action); max 14","home":0,"max_score":14,"score":0,"suicidality":0},{"activities":0,"citation":{"authors":"Cappelli M, Gray C, Zemek R, Cloutier P, Kennedy A, Glennie E, Doucet G, Lyons JS","doi":"10.1542/peds.2011-3798","id":"cappelli-2012","pmid":"22826567","source":"Pediatrics. 2012;130(2):e321-e327","title":"The HEADS-ED: a rapid mental health screening tool for pediatric patients in the emergency department"},"components":[{"factor":"home","points":0,"present":true,"value":0},{"factor":"education","points":0,"present":true,"value":0},{"factor":"activities","points":0,"present":true,"value":0},{"factor":"drugs","points":0,"present":true,"value":0},{"factor":"suicidality","points":0,"present":true,"value":0},{"factor":"emotions","points":0,"present":true,"value":0},{"factor":"discharge_resources","points":0,"present":true,"value":0}],"discharge_resources":0,"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.","drugs":0,"education":0,"emotions":0,"formula":"heads_ed","formula_expression":"HEADS-ED = home + education + activities + drugs + suicidality + emotions + discharge_resources; each caller-assigned 0-2 (0 no action needed, 1 needs action but not immediately, 2 needs immediate action); max 14","home":0,"max_score":14,"score":0,"suicidality":0}],"path":"/api/calc/heads_ed"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activities":{"description":"Caller-assigned Cappelli 2012 Activities/peers (integer 0-2): 0 no action needed (no change); 1 needs action but not immediately (reduction in activities/increased peer conflicts); 2 needs immediate action (increasingly to fully withdrawn/significant peer conflicts). magent does not interview a child.","type":"integer"},"discharge_resources":{"description":"Caller-assigned Cappelli 2012 Discharge resources (integer 0-2): 0 no action needed (ongoing/well connected); 1 needs action but not immediately (some/not meeting needs); 2 needs immediate action (none/on waitlist). magent does not interview a child.","type":"integer"},"drugs":{"description":"Caller-assigned Cappelli 2012 Drugs/alcohol (integer 0-2): 0 no action needed (none or infrequent); 1 needs action but not immediately (occasional); 2 needs immediate action (frequent/daily). magent does not interview a child.","type":"integer"},"education":{"description":"Caller-assigned Cappelli 2012 Education (integer 0-2): 0 no action needed (on track); 1 needs action but not immediately (grades dropping or absenteeism); 2 needs immediate action (failing/not attending). magent does not interview a child.","type":"integer"},"emotions":{"description":"Caller-assigned Cappelli 2012 Emotions/behavior (integer 0-2): 0 no action needed (mildly anxious/sad/acting out); 1 needs action but not immediately (moderately anxious/sad/acting out); 2 needs immediate action (significantly distressed/unable to function/out of control). magent does not interview a child.","type":"integer"},"home":{"description":"Caller-assigned Cappelli 2012 Home (integer 0-2): 0 no action needed (supportive); 1 needs action but not immediately (conflicts); 2 needs immediate action (chaotic/dysfunctional). magent does not interview a child.","type":"integer"},"suicidality":{"description":"Caller-assigned Cappelli 2012 Suicidality (integer 0-2): 0 no action needed (no thoughts); 1 needs action but not immediately (ideation); 2 needs immediate action (plan or gesture). magent does not interview a child.","type":"integer"}},"required":["home","education","activities","drugs","suicidality","emotions","discharge_resources"],"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},{"id":39121,"slug":"39121","resource":"https://api.magentlab.com/api/calc/he_macs","description":"Alghamdi 2019 HE-MACS ACS probability from age, sex, caller-assigned observed sweating, acute ECG ischaemia, right-arm or shoulder radiation, vomiting, hypotension (SBP <100), and current smoking. Table 2 printed coefficients. Returns probability only; four-group ROC thresholds are in that paper's supplement and are not restated here. magent does not interpret ECG or take a history. Not MACS (Body 2014 biomarkers) or T-MACS. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_ecg_ischaemia":false,"age":40,"current_smoker":false,"hypotension":false,"pain_radiation_right_arm_or_shoulder":false,"sex":"female","sweating_observed":false,"vomiting":false},{"acute_ecg_ischaemia":false,"age":40,"current_smoker":false,"hypotension":false,"pain_radiation_right_arm_or_shoulder":false,"sex":"female","sweating_observed":false,"vomiting":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acute_ecg_ischaemia":false,"age":40,"citation":{"authors":"Alghamdi A, Howard L, Reynard C, et al.","doi":"10.1097/MEJ.0000000000000575","id":"alghamdi-2019","pmid":"30289775","source":"Eur J Emerg Med. 2019;26(5):356-361","title":"Enhanced triage for patients with suspected cardiac chest pain: the History and Electrocardiogram-only Manchester Acute Coronary Syndromes decision aid"},"current_smoker":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":"he_macs","formula_expression":"p = 1/(1+e^(-λ)); λ = 1.426*a + 1.838*b + 0.734*c + 0.996*d + 1.353*e + 0.675*f + 0.024*g + 0.462*h - 4.416; a sweating observed 0/1; b acute ECG ischaemia 0/1; c pain radiating to right arm or shoulder 0/1; d vomiting associated with pain 0/1; e systolic BP <100 mmHg 0/1; f current tobacco smoker 0/1; g age in years (continuous); h male sex 1, female 0 (Alghamdi 2019 Table 2 printed values)","hypotension":false,"linear_predictor":-3.456,"pain_radiation_right_arm_or_shoulder":false,"probability":0.0306,"sex":"female","sweating_observed":false,"vomiting":false},{"acute_ecg_ischaemia":false,"age":40,"citation":{"authors":"Alghamdi A, Howard L, Reynard C, et al.","doi":"10.1097/MEJ.0000000000000575","id":"alghamdi-2019","pmid":"30289775","source":"Eur J Emerg Med. 2019;26(5):356-361","title":"Enhanced triage for patients with suspected cardiac chest pain: the History and Electrocardiogram-only Manchester Acute Coronary Syndromes decision aid"},"current_smoker":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":"he_macs","formula_expression":"p = 1/(1+e^(-λ)); λ = 1.426*a + 1.838*b + 0.734*c + 0.996*d + 1.353*e + 0.675*f + 0.024*g + 0.462*h - 4.416; a sweating observed 0/1; b acute ECG ischaemia 0/1; c pain radiating to right arm or shoulder 0/1; d vomiting associated with pain 0/1; e systolic BP <100 mmHg 0/1; f current tobacco smoker 0/1; g age in years (continuous); h male sex 1, female 0 (Alghamdi 2019 Table 2 printed values)","hypotension":false,"linear_predictor":-3.456,"pain_radiation_right_arm_or_shoulder":false,"probability":0.0306,"sex":"female","sweating_observed":false,"vomiting":false}],"path":"/api/calc/he_macs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_ecg_ischaemia":{"description":"Caller-assigned acute ECG ischaemia as used in Alghamdi 2019 (b): ST-deviation or abnormal T inversion (1 if true, 0 if false). magent does not interpret an ECG.","type":"boolean"},"age":{"description":"Age in years as a continuous linear predictor (g; 18-100, implementation clamp). Alghamdi 2019 Table 2. magent does not read an identity document.","type":"number"},"current_smoker":{"description":"Current tobacco smoker as assigned by the caller (f; Alghamdi 2019). true or false. magent does not take a smoking history.","type":"boolean"},"hypotension":{"description":"Hypotension as assigned by the caller (e): systolic BP <100 mm Hg (Alghamdi 2019, dichotomised as in that paper). true or false.","type":"boolean"},"pain_radiation_right_arm_or_shoulder":{"description":"Pain radiating to the right arm or shoulder as assigned by the caller (c; Alghamdi 2019). true or false. magent does not take a pain history.","type":"boolean"},"sex":{"description":"Sex used as h in Alghamdi 2019 Table 2 (male = 1, female = 0). male or female, case-insensitive. magent does not examine the patient.","enum":["female","male"],"type":"string"},"sweating_observed":{"description":"Sweating observed by the treating clinician as assigned by the caller (a; 1 if true, 0 if false). true or false. magent does not examine the patient.","type":"boolean"},"vomiting":{"description":"Vomiting associated with the pain as assigned by the caller (d; Alghamdi 2019). true or false.","type":"boolean"}},"required":["age","sex","sweating_observed","acute_ecg_ischaemia","pain_radiation_right_arm_or_shoulder","vomiting","hypotension","current_smoker"],"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":["he-macs","acs","chest-pain","ecg","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:41:23.751Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:41:23.639Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_ecg_ischaemia":false,"age":40,"current_smoker":false,"hypotension":false,"pain_radiation_right_arm_or_shoulder":false,"sex":"female","sweating_observed":false,"vomiting":false},{"acute_ecg_ischaemia":false,"age":40,"current_smoker":false,"hypotension":false,"pain_radiation_right_arm_or_shoulder":false,"sex":"female","sweating_observed":false,"vomiting":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acute_ecg_ischaemia":false,"age":40,"citation":{"authors":"Alghamdi A, Howard L, Reynard C, et al.","doi":"10.1097/MEJ.0000000000000575","id":"alghamdi-2019","pmid":"30289775","source":"Eur J Emerg Med. 2019;26(5):356-361","title":"Enhanced triage for patients with suspected cardiac chest pain: the History and Electrocardiogram-only Manchester Acute Coronary Syndromes decision aid"},"current_smoker":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":"he_macs","formula_expression":"p = 1/(1+e^(-λ)); λ = 1.426*a + 1.838*b + 0.734*c + 0.996*d + 1.353*e + 0.675*f + 0.024*g + 0.462*h - 4.416; a sweating observed 0/1; b acute ECG ischaemia 0/1; c pain radiating to right arm or shoulder 0/1; d vomiting associated with pain 0/1; e systolic BP <100 mmHg 0/1; f current tobacco smoker 0/1; g age in years (continuous); h male sex 1, female 0 (Alghamdi 2019 Table 2 printed values)","hypotension":false,"linear_predictor":-3.456,"pain_radiation_right_arm_or_shoulder":false,"probability":0.0306,"sex":"female","sweating_observed":false,"vomiting":false},{"acute_ecg_ischaemia":false,"age":40,"citation":{"authors":"Alghamdi A, Howard L, Reynard C, et al.","doi":"10.1097/MEJ.0000000000000575","id":"alghamdi-2019","pmid":"30289775","source":"Eur J Emerg Med. 2019;26(5):356-361","title":"Enhanced triage for patients with suspected cardiac chest pain: the History and Electrocardiogram-only Manchester Acute Coronary Syndromes decision aid"},"current_smoker":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":"he_macs","formula_expression":"p = 1/(1+e^(-λ)); λ = 1.426*a + 1.838*b + 0.734*c + 0.996*d + 1.353*e + 0.675*f + 0.024*g + 0.462*h - 4.416; a sweating observed 0/1; b acute ECG ischaemia 0/1; c pain radiating to right arm or shoulder 0/1; d vomiting associated with pain 0/1; e systolic BP <100 mmHg 0/1; f current tobacco smoker 0/1; g age in years (continuous); h male sex 1, female 0 (Alghamdi 2019 Table 2 printed values)","hypotension":false,"linear_predictor":-3.456,"pain_radiation_right_arm_or_shoulder":false,"probability":0.0306,"sex":"female","sweating_observed":false,"vomiting":false}],"path":"/api/calc/he_macs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_ecg_ischaemia":{"description":"Caller-assigned acute ECG ischaemia as used in Alghamdi 2019 (b): ST-deviation or abnormal T inversion (1 if true, 0 if false). magent does not interpret an ECG.","type":"boolean"},"age":{"description":"Age in years as a continuous linear predictor (g; 18-100, implementation clamp). Alghamdi 2019 Table 2. magent does not read an identity document.","type":"number"},"current_smoker":{"description":"Current tobacco smoker as assigned by the caller (f; Alghamdi 2019). true or false. magent does not take a smoking history.","type":"boolean"},"hypotension":{"description":"Hypotension as assigned by the caller (e): systolic BP <100 mm Hg (Alghamdi 2019, dichotomised as in that paper). true or false.","type":"boolean"},"pain_radiation_right_arm_or_shoulder":{"description":"Pain radiating to the right arm or shoulder as assigned by the caller (c; Alghamdi 2019). true or false. magent does not take a pain history.","type":"boolean"},"sex":{"description":"Sex used as h in Alghamdi 2019 Table 2 (male = 1, female = 0). male or female, case-insensitive. magent does not examine the patient.","enum":["female","male"],"type":"string"},"sweating_observed":{"description":"Sweating observed by the treating clinician as assigned by the caller (a; 1 if true, 0 if false). true or false. magent does not examine the patient.","type":"boolean"},"vomiting":{"description":"Vomiting associated with the pain as assigned by the caller (d; Alghamdi 2019). true or false.","type":"boolean"}},"required":["age","sex","sweating_observed","acute_ecg_ischaemia","pain_radiation_right_arm_or_shoulder","vomiting","hypotension","current_smoker"],"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},{"id":39122,"slug":"39122","resource":"https://api.magentlab.com/api/calc/hcm_risk_scd","description":"O'Mahony 2014 HCM Risk-SCD: 5-year SCD probability from wall thickness, LA diameter, LVOT gradient, family history of SCD, NSVT, unexplained syncope, and age. Returns prognostic_index, five_year_scd_risk_percent, and 4%/6% risk_band (lower / intermediate / higher). Not an ICD or device order. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"family_history_scd":false,"la_diameter_mm":40,"max_lvot_gradient_mm_hg":20,"max_wall_thickness_mm":20,"nsvt":false,"unexplained_syncope":false},{"age":40,"family_history_scd":false,"la_diameter_mm":40,"max_lvot_gradient_mm_hg":20,"max_wall_thickness_mm":20,"nsvt":false,"unexplained_syncope":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"citation":{"authors":"O'Mahony C, Jichi F, Pavlou M, et al.","doi":"10.1093/eurheartj/eht439","id":"omahony-2014","pmid":"24126876","source":"Eur Heart J. 2014;35(30):2010-2020","title":"A novel clinical risk prediction model for sudden cardiac death in hypertrophic cardiomyopathy (HCM Risk-SCD)"},"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.","family_history_scd":false,"five_year_scd_risk_percent":2.2,"formula":"hcm_risk_scd","formula_expression":"P_5y = 1 - 0.998^exp(PI); PI = 0.15939858*max_wall_thickness_mm - 0.00294271*max_wall_thickness_mm^2 + 0.0259082*la_diameter_mm + 0.00446131*max_lvot_gradient_mm_hg + 0.4583082*family_history_scd + 0.82639195*nsvt + 0.71650361*unexplained_syncope - 0.01799934*age; flags 1 if true else 0; O'Mahony 2014; risk_band <4 lower, 4 to <6 intermediate, >=6 higher","la_diameter_mm":40,"max_lvot_gradient_mm_hg":20,"max_wall_thickness_mm":20,"nsvt":false,"prognostic_index":2.416468,"risk_band":"lower","unexplained_syncope":false},{"age":40,"citation":{"authors":"O'Mahony C, Jichi F, Pavlou M, et al.","doi":"10.1093/eurheartj/eht439","id":"omahony-2014","pmid":"24126876","source":"Eur Heart J. 2014;35(30):2010-2020","title":"A novel clinical risk prediction model for sudden cardiac death in hypertrophic cardiomyopathy (HCM Risk-SCD)"},"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.","family_history_scd":false,"five_year_scd_risk_percent":2.2,"formula":"hcm_risk_scd","formula_expression":"P_5y = 1 - 0.998^exp(PI); PI = 0.15939858*max_wall_thickness_mm - 0.00294271*max_wall_thickness_mm^2 + 0.0259082*la_diameter_mm + 0.00446131*max_lvot_gradient_mm_hg + 0.4583082*family_history_scd + 0.82639195*nsvt + 0.71650361*unexplained_syncope - 0.01799934*age; flags 1 if true else 0; O'Mahony 2014; risk_band <4 lower, 4 to <6 intermediate, >=6 higher","la_diameter_mm":40,"max_lvot_gradient_mm_hg":20,"max_wall_thickness_mm":20,"nsvt":false,"prognostic_index":2.416468,"risk_band":"lower","unexplained_syncope":false}],"path":"/api/calc/hcm_risk_scd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age at clinical evaluation in years (integer 16-80). O'Mahony 2014 continuous predictor (coefficient -0.01799934). Derivation was HCM evaluated at 16 years or older. magent does not examine the patient.","type":"integer"},"family_history_scd":{"description":"Family history of sudden cardiac death as assigned by the caller (true=1, false=0). magent does not take a family history.","type":"boolean"},"la_diameter_mm":{"description":"Left-atrial diameter in mm (20.0-70.0). O'Mahony 2014 continuous predictor. magent does not measure the atrium.","type":"number"},"max_lvot_gradient_mm_hg":{"description":"Maximal left-ventricular outflow-tract gradient in mm Hg (0.0-154.0). magent does not measure the gradient.","type":"number"},"max_wall_thickness_mm":{"description":"Maximal left-ventricular wall thickness in mm (10.0-35.0). Enters as linear and squared terms. magent does not read an echocardiogram.","type":"number"},"nsvt":{"description":"Non-sustained ventricular tachycardia as assigned by the caller (true=1, false=0). magent does not interpret Holter monitoring.","type":"boolean"},"unexplained_syncope":{"description":"Unexplained syncope as assigned by the caller (true=1, false=0). magent does not adjudicate syncope.","type":"boolean"}},"required":["age","max_wall_thickness_mm","la_diameter_mm","max_lvot_gradient_mm_hg","family_history_scd","nsvt","unexplained_syncope"],"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":["hcm-risk-scd","hypertrophic-cm","scd","hemodynamics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:36:26.014Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:36:25.627Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"family_history_scd":false,"la_diameter_mm":40,"max_lvot_gradient_mm_hg":20,"max_wall_thickness_mm":20,"nsvt":false,"unexplained_syncope":false},{"age":40,"family_history_scd":false,"la_diameter_mm":40,"max_lvot_gradient_mm_hg":20,"max_wall_thickness_mm":20,"nsvt":false,"unexplained_syncope":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"citation":{"authors":"O'Mahony C, Jichi F, Pavlou M, et al.","doi":"10.1093/eurheartj/eht439","id":"omahony-2014","pmid":"24126876","source":"Eur Heart J. 2014;35(30):2010-2020","title":"A novel clinical risk prediction model for sudden cardiac death in hypertrophic cardiomyopathy (HCM Risk-SCD)"},"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.","family_history_scd":false,"five_year_scd_risk_percent":2.2,"formula":"hcm_risk_scd","formula_expression":"P_5y = 1 - 0.998^exp(PI); PI = 0.15939858*max_wall_thickness_mm - 0.00294271*max_wall_thickness_mm^2 + 0.0259082*la_diameter_mm + 0.00446131*max_lvot_gradient_mm_hg + 0.4583082*family_history_scd + 0.82639195*nsvt + 0.71650361*unexplained_syncope - 0.01799934*age; flags 1 if true else 0; O'Mahony 2014; risk_band <4 lower, 4 to <6 intermediate, >=6 higher","la_diameter_mm":40,"max_lvot_gradient_mm_hg":20,"max_wall_thickness_mm":20,"nsvt":false,"prognostic_index":2.416468,"risk_band":"lower","unexplained_syncope":false},{"age":40,"citation":{"authors":"O'Mahony C, Jichi F, Pavlou M, et al.","doi":"10.1093/eurheartj/eht439","id":"omahony-2014","pmid":"24126876","source":"Eur Heart J. 2014;35(30):2010-2020","title":"A novel clinical risk prediction model for sudden cardiac death in hypertrophic cardiomyopathy (HCM Risk-SCD)"},"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.","family_history_scd":false,"five_year_scd_risk_percent":2.2,"formula":"hcm_risk_scd","formula_expression":"P_5y = 1 - 0.998^exp(PI); PI = 0.15939858*max_wall_thickness_mm - 0.00294271*max_wall_thickness_mm^2 + 0.0259082*la_diameter_mm + 0.00446131*max_lvot_gradient_mm_hg + 0.4583082*family_history_scd + 0.82639195*nsvt + 0.71650361*unexplained_syncope - 0.01799934*age; flags 1 if true else 0; O'Mahony 2014; risk_band <4 lower, 4 to <6 intermediate, >=6 higher","la_diameter_mm":40,"max_lvot_gradient_mm_hg":20,"max_wall_thickness_mm":20,"nsvt":false,"prognostic_index":2.416468,"risk_band":"lower","unexplained_syncope":false}],"path":"/api/calc/hcm_risk_scd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age at clinical evaluation in years (integer 16-80). O'Mahony 2014 continuous predictor (coefficient -0.01799934). Derivation was HCM evaluated at 16 years or older. magent does not examine the patient.","type":"integer"},"family_history_scd":{"description":"Family history of sudden cardiac death as assigned by the caller (true=1, false=0). magent does not take a family history.","type":"boolean"},"la_diameter_mm":{"description":"Left-atrial diameter in mm (20.0-70.0). O'Mahony 2014 continuous predictor. magent does not measure the atrium.","type":"number"},"max_lvot_gradient_mm_hg":{"description":"Maximal left-ventricular outflow-tract gradient in mm Hg (0.0-154.0). magent does not measure the gradient.","type":"number"},"max_wall_thickness_mm":{"description":"Maximal left-ventricular wall thickness in mm (10.0-35.0). Enters as linear and squared terms. magent does not read an echocardiogram.","type":"number"},"nsvt":{"description":"Non-sustained ventricular tachycardia as assigned by the caller (true=1, false=0). magent does not interpret Holter monitoring.","type":"boolean"},"unexplained_syncope":{"description":"Unexplained syncope as assigned by the caller (true=1, false=0). magent does not adjudicate syncope.","type":"boolean"}},"required":["age","max_wall_thickness_mm","la_diameter_mm","max_lvot_gradient_mm_hg","family_history_scd","nsvt","unexplained_syncope"],"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},{"id":39123,"slug":"39123","resource":"https://api.magentlab.com/api/calc/hcc_ld","description":"Citterio 2016 JAMA Surgery hierarchic classes for liver decompensation after HCC resection from caller-assigned portal_hypertension, major_hepatectomy, and meld (integer 6-40). High if PHT and major (LD 60.0%, liver-related mortality 25.0%). Low if no PHT, minor, and MELD ≤ 9 (LD 4.9%, mortality 4.4%). Else intermediate (LD 28.6%, mortality 9.0%). magent does not compute MELD or HVPG. Not a surgical indication, transplant listing, or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"major_hepatectomy":false,"meld":8,"portal_hypertension":false},{"major_hepatectomy":false,"meld":8,"portal_hypertension":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Citterio D, Facciorusso A, Sposito C, Rota R, Bhoori S, Mazzaferro V","doi":"10.1001/jamasurg.2016.1121","id":"citterio-2016","pmid":"27248425","source":"JAMA Surg. 2016;151(9):846-853","title":"Hierarchic Interaction of Factors Associated With Liver Decompensation After Resection for Hepatocellular Carcinoma"},"criteria":[{"factor":"portal_hypertension","met":false},{"factor":"major_hepatectomy","met":false},{"factor":"meld_le_9","met":true,"value":8},{"factor":"low","met":true},{"factor":"intermediate","met":false},{"factor":"high","met":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":"hcc_ld","formula_expression":"Citterio 2016 JAMA Surgery: high if portal_hypertension and major_hepatectomy; low if not portal_hypertension and not major_hepatectomy and meld ≤ 9; else intermediate. Published LD 4.9 / 28.6 / 60.0 and liver-related mortality 4.4 / 9.0 / 25.0. Caller-assigned PHT, planned extent, and MELD. magent does not compute MELD or HVPG.","ld_rate_percent":4.9,"liver_related_mortality_percent":4.4,"major_hepatectomy":false,"meld":8,"portal_hypertension":false,"risk":"low"},{"citation":{"authors":"Citterio D, Facciorusso A, Sposito C, Rota R, Bhoori S, Mazzaferro V","doi":"10.1001/jamasurg.2016.1121","id":"citterio-2016","pmid":"27248425","source":"JAMA Surg. 2016;151(9):846-853","title":"Hierarchic Interaction of Factors Associated With Liver Decompensation After Resection for Hepatocellular Carcinoma"},"criteria":[{"factor":"portal_hypertension","met":false},{"factor":"major_hepatectomy","met":false},{"factor":"meld_le_9","met":true,"value":8},{"factor":"low","met":true},{"factor":"intermediate","met":false},{"factor":"high","met":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":"hcc_ld","formula_expression":"Citterio 2016 JAMA Surgery: high if portal_hypertension and major_hepatectomy; low if not portal_hypertension and not major_hepatectomy and meld ≤ 9; else intermediate. Published LD 4.9 / 28.6 / 60.0 and liver-related mortality 4.4 / 9.0 / 25.0. Caller-assigned PHT, planned extent, and MELD. magent does not compute MELD or HVPG.","ld_rate_percent":4.9,"liver_related_mortality_percent":4.4,"major_hepatectomy":false,"meld":8,"portal_hypertension":false,"risk":"low"}],"path":"/api/calc/hcc_ld"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"major_hepatectomy":{"description":"Planned major hepatectomy as assigned by the caller (Citterio 2016). true or false. magent does not choose extent of resection.","type":"boolean"},"meld":{"description":"Caller-assigned MELD integer 6-40 (Citterio 2016). Low requires meld ≤ 9 when portal hypertension and major hepatectomy are both false. magent does not compute MELD.","type":"integer"},"portal_hypertension":{"description":"Clinically significant portal hypertension as assigned by the caller (Citterio 2016). true or false. magent does not measure HVPG or assign portal hypertension.","type":"boolean"}},"required":["portal_hypertension","major_hepatectomy","meld"],"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":["citterio","hcc","liver","resection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:36:23.997Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:36:23.882Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"major_hepatectomy":false,"meld":8,"portal_hypertension":false},{"major_hepatectomy":false,"meld":8,"portal_hypertension":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Citterio D, Facciorusso A, Sposito C, Rota R, Bhoori S, Mazzaferro V","doi":"10.1001/jamasurg.2016.1121","id":"citterio-2016","pmid":"27248425","source":"JAMA Surg. 2016;151(9):846-853","title":"Hierarchic Interaction of Factors Associated With Liver Decompensation After Resection for Hepatocellular Carcinoma"},"criteria":[{"factor":"portal_hypertension","met":false},{"factor":"major_hepatectomy","met":false},{"factor":"meld_le_9","met":true,"value":8},{"factor":"low","met":true},{"factor":"intermediate","met":false},{"factor":"high","met":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":"hcc_ld","formula_expression":"Citterio 2016 JAMA Surgery: high if portal_hypertension and major_hepatectomy; low if not portal_hypertension and not major_hepatectomy and meld ≤ 9; else intermediate. Published LD 4.9 / 28.6 / 60.0 and liver-related mortality 4.4 / 9.0 / 25.0. Caller-assigned PHT, planned extent, and MELD. magent does not compute MELD or HVPG.","ld_rate_percent":4.9,"liver_related_mortality_percent":4.4,"major_hepatectomy":false,"meld":8,"portal_hypertension":false,"risk":"low"},{"citation":{"authors":"Citterio D, Facciorusso A, Sposito C, Rota R, Bhoori S, Mazzaferro V","doi":"10.1001/jamasurg.2016.1121","id":"citterio-2016","pmid":"27248425","source":"JAMA Surg. 2016;151(9):846-853","title":"Hierarchic Interaction of Factors Associated With Liver Decompensation After Resection for Hepatocellular Carcinoma"},"criteria":[{"factor":"portal_hypertension","met":false},{"factor":"major_hepatectomy","met":false},{"factor":"meld_le_9","met":true,"value":8},{"factor":"low","met":true},{"factor":"intermediate","met":false},{"factor":"high","met":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":"hcc_ld","formula_expression":"Citterio 2016 JAMA Surgery: high if portal_hypertension and major_hepatectomy; low if not portal_hypertension and not major_hepatectomy and meld ≤ 9; else intermediate. Published LD 4.9 / 28.6 / 60.0 and liver-related mortality 4.4 / 9.0 / 25.0. Caller-assigned PHT, planned extent, and MELD. magent does not compute MELD or HVPG.","ld_rate_percent":4.9,"liver_related_mortality_percent":4.4,"major_hepatectomy":false,"meld":8,"portal_hypertension":false,"risk":"low"}],"path":"/api/calc/hcc_ld"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"major_hepatectomy":{"description":"Planned major hepatectomy as assigned by the caller (Citterio 2016). true or false. magent does not choose extent of resection.","type":"boolean"},"meld":{"description":"Caller-assigned MELD integer 6-40 (Citterio 2016). Low requires meld ≤ 9 when portal hypertension and major hepatectomy are both false. magent does not compute MELD.","type":"integer"},"portal_hypertension":{"description":"Clinically significant portal hypertension as assigned by the caller (Citterio 2016). true or false. magent does not measure HVPG or assign portal hypertension.","type":"boolean"}},"required":["portal_hypertension","major_hepatectomy","meld"],"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},{"id":39124,"slug":"39124","resource":"https://api.magentlab.com/api/calc/has_bled","description":"HAS-BLED score from discrete clinical flags. Use for bleeding-risk arithmetic in atrial fibrillation. Deterministic published score with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_liver":false,"abnormal_renal":false,"age":78,"alcohol":false,"bleeding":false,"drugs":false,"hypertension":true,"labile_inr":false,"stroke":false},{"abnormal_liver":false,"abnormal_renal":false,"age":78,"alcohol":false,"bleeding":false,"drugs":false,"hypertension":true,"labile_inr":false,"stroke":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":78,"citation":{"authors":"Pisters R, Lane DA, Nieuwlaat R, de Vos CB, Crijns HJ, Lip GYH","doi":"10.1378/chest.10-0134","id":"pisters-2010","source":"Chest. 2010;138(5):1093-1100","title":"A novel user-friendly score (HAS-BLED) to assess 1-year risk of major bleeding in patients with atrial fibrillation: the Euro Heart Survey"},"components":[{"factor":"hypertension","points":1,"present":true},{"factor":"abnormal_renal","points":0,"present":false},{"factor":"abnormal_liver","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"bleeding","points":0,"present":false},{"factor":"labile_inr","points":0,"present":false},{"factor":"elderly_age_gt_65","points":1,"present":true,"value":78},{"factor":"drugs","points":0,"present":false},{"factor":"alcohol","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":"has_bled","formula_expression":"HAS-BLED = hypertension + abnormal_renal + abnormal_liver + stroke + bleeding + labile_inr + elderly(age>65) + drugs + alcohol; max 9","max_score":9,"score":2},{"age_years":78,"citation":{"authors":"Pisters R, Lane DA, Nieuwlaat R, de Vos CB, Crijns HJ, Lip GYH","doi":"10.1378/chest.10-0134","id":"pisters-2010","source":"Chest. 2010;138(5):1093-1100","title":"A novel user-friendly score (HAS-BLED) to assess 1-year risk of major bleeding in patients with atrial fibrillation: the Euro Heart Survey"},"components":[{"factor":"hypertension","points":1,"present":true},{"factor":"abnormal_renal","points":0,"present":false},{"factor":"abnormal_liver","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"bleeding","points":0,"present":false},{"factor":"labile_inr","points":0,"present":false},{"factor":"elderly_age_gt_65","points":1,"present":true,"value":78},{"factor":"drugs","points":0,"present":false},{"factor":"alcohol","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":"has_bled","formula_expression":"HAS-BLED = hypertension + abnormal_renal + abnormal_liver + stroke + bleeding + labile_inr + elderly(age>65) + drugs + alcohol; max 9","max_score":9,"score":2}],"path":"/api/calc/has_bled"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_liver":{"description":"Abnormal liver function (A). true or false. Renal and liver each score 1.","type":"boolean"},"abnormal_renal":{"description":"Abnormal renal function (A). true or false.","type":"boolean"},"age":{"description":"Age in years (18-120). Age >65 scores 1 (E).","type":"integer"},"alcohol":{"description":"Alcohol excess (D). true or false. Drugs and alcohol each score 1.","type":"boolean"},"bleeding":{"description":"Bleeding history or predisposition (B). true or false.","type":"boolean"},"drugs":{"description":"Concomitant antiplatelet or NSAID (D). true or false.","type":"boolean"},"hypertension":{"description":"Uncontrolled hypertension (H). true or false.","type":"boolean"},"labile_inr":{"description":"Labile INR (L). true or false.","type":"boolean"},"stroke":{"description":"Prior stroke (S). true or false.","type":"boolean"}},"required":["age","hypertension","abnormal_renal","abnormal_liver","stroke","bleeding","labile_inr","drugs","alcohol"],"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":["has-bled","bleeding","afib","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:36:22.993Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:36:22.846Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_liver":false,"abnormal_renal":false,"age":78,"alcohol":false,"bleeding":false,"drugs":false,"hypertension":true,"labile_inr":false,"stroke":false},{"abnormal_liver":false,"abnormal_renal":false,"age":78,"alcohol":false,"bleeding":false,"drugs":false,"hypertension":true,"labile_inr":false,"stroke":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":78,"citation":{"authors":"Pisters R, Lane DA, Nieuwlaat R, de Vos CB, Crijns HJ, Lip GYH","doi":"10.1378/chest.10-0134","id":"pisters-2010","source":"Chest. 2010;138(5):1093-1100","title":"A novel user-friendly score (HAS-BLED) to assess 1-year risk of major bleeding in patients with atrial fibrillation: the Euro Heart Survey"},"components":[{"factor":"hypertension","points":1,"present":true},{"factor":"abnormal_renal","points":0,"present":false},{"factor":"abnormal_liver","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"bleeding","points":0,"present":false},{"factor":"labile_inr","points":0,"present":false},{"factor":"elderly_age_gt_65","points":1,"present":true,"value":78},{"factor":"drugs","points":0,"present":false},{"factor":"alcohol","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":"has_bled","formula_expression":"HAS-BLED = hypertension + abnormal_renal + abnormal_liver + stroke + bleeding + labile_inr + elderly(age>65) + drugs + alcohol; max 9","max_score":9,"score":2},{"age_years":78,"citation":{"authors":"Pisters R, Lane DA, Nieuwlaat R, de Vos CB, Crijns HJ, Lip GYH","doi":"10.1378/chest.10-0134","id":"pisters-2010","source":"Chest. 2010;138(5):1093-1100","title":"A novel user-friendly score (HAS-BLED) to assess 1-year risk of major bleeding in patients with atrial fibrillation: the Euro Heart Survey"},"components":[{"factor":"hypertension","points":1,"present":true},{"factor":"abnormal_renal","points":0,"present":false},{"factor":"abnormal_liver","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"bleeding","points":0,"present":false},{"factor":"labile_inr","points":0,"present":false},{"factor":"elderly_age_gt_65","points":1,"present":true,"value":78},{"factor":"drugs","points":0,"present":false},{"factor":"alcohol","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":"has_bled","formula_expression":"HAS-BLED = hypertension + abnormal_renal + abnormal_liver + stroke + bleeding + labile_inr + elderly(age>65) + drugs + alcohol; max 9","max_score":9,"score":2}],"path":"/api/calc/has_bled"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_liver":{"description":"Abnormal liver function (A). true or false. Renal and liver each score 1.","type":"boolean"},"abnormal_renal":{"description":"Abnormal renal function (A). true or false.","type":"boolean"},"age":{"description":"Age in years (18-120). Age >65 scores 1 (E).","type":"integer"},"alcohol":{"description":"Alcohol excess (D). true or false. Drugs and alcohol each score 1.","type":"boolean"},"bleeding":{"description":"Bleeding history or predisposition (B). true or false.","type":"boolean"},"drugs":{"description":"Concomitant antiplatelet or NSAID (D). true or false.","type":"boolean"},"hypertension":{"description":"Uncontrolled hypertension (H). true or false.","type":"boolean"},"labile_inr":{"description":"Labile INR (L). true or false.","type":"boolean"},"stroke":{"description":"Prior stroke (S). true or false.","type":"boolean"}},"required":["age","hypertension","abnormal_renal","abnormal_liver","stroke","bleeding","labile_inr","drugs","alcohol"],"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},{"id":39125,"slug":"39125","resource":"https://api.magentlab.com/api/calc/harvey_bradshaw","description":"Harvey and Bradshaw 1980 simple Crohn's-disease activity index (one-day; items 1-3 previous day). Well-being 0-4, abdominal pain 0-3, liquid stools (1 point each; magent clamp 0-30), abdominal mass 0-3, plus 1 per listed complication (arthralgia, uveitis, erythema nodosum, aphthous ulcers, pyoderma gangrenosum, anal fissure, new fistula, abscess). magent sums only (max 48) and does not return later remission cutoffs. Not a Crohn's diagnosis or Best 1976 CDAI. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abdominal_mass":0,"abdominal_pain":0,"abscess":false,"anal_fissure":false,"aphthous_ulcers":false,"arthralgia":false,"erythema_nodosum":false,"liquid_stools":0,"new_fistula":false,"pyoderma_gangrenosum":false,"uveitis":false,"well_being":0},{"abdominal_mass":0,"abdominal_pain":0,"abscess":false,"anal_fissure":false,"aphthous_ulcers":false,"arthralgia":false,"erythema_nodosum":false,"liquid_stools":0,"new_fistula":false,"pyoderma_gangrenosum":false,"uveitis":false,"well_being":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abdominal_mass":0,"abdominal_pain":0,"abscess":false,"anal_fissure":false,"aphthous_ulcers":false,"arthralgia":false,"citation":{"authors":"Harvey RF, Bradshaw JM","doi":"10.1016/s0140-6736(80)92767-1","id":"harvey-bradshaw-1980","pmid":"6102236","source":"Lancet. 1980;1(8167):514","title":"A simple index of Crohn's-disease activity"},"components":[{"factor":"well_being","points":0,"present":true,"value":0},{"factor":"abdominal_pain","points":0,"present":true,"value":0},{"factor":"liquid_stools","points":0,"present":true,"value":0},{"factor":"abdominal_mass","points":0,"present":true,"value":0},{"factor":"arthralgia","points":0,"present":false},{"factor":"uveitis","points":0,"present":false},{"factor":"erythema_nodosum","points":0,"present":false},{"factor":"aphthous_ulcers","points":0,"present":false},{"factor":"pyoderma_gangrenosum","points":0,"present":false},{"factor":"anal_fissure","points":0,"present":false},{"factor":"new_fistula","points":0,"present":false},{"factor":"abscess","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.","erythema_nodosum":false,"formula":"harvey_bradshaw","formula_expression":"HBI = well_being + abdominal_pain + liquid_stools + abdominal_mass + 1 per listed complication; Harvey 1980 previous-day items; magent max 48 (liquid_stools clamp 0-30)","liquid_stools":0,"max_score":48,"new_fistula":false,"pyoderma_gangrenosum":false,"score":0,"uveitis":false,"well_being":0},{"abdominal_mass":0,"abdominal_pain":0,"abscess":false,"anal_fissure":false,"aphthous_ulcers":false,"arthralgia":false,"citation":{"authors":"Harvey RF, Bradshaw JM","doi":"10.1016/s0140-6736(80)92767-1","id":"harvey-bradshaw-1980","pmid":"6102236","source":"Lancet. 1980;1(8167):514","title":"A simple index of Crohn's-disease activity"},"components":[{"factor":"well_being","points":0,"present":true,"value":0},{"factor":"abdominal_pain","points":0,"present":true,"value":0},{"factor":"liquid_stools","points":0,"present":true,"value":0},{"factor":"abdominal_mass","points":0,"present":true,"value":0},{"factor":"arthralgia","points":0,"present":false},{"factor":"uveitis","points":0,"present":false},{"factor":"erythema_nodosum","points":0,"present":false},{"factor":"aphthous_ulcers","points":0,"present":false},{"factor":"pyoderma_gangrenosum","points":0,"present":false},{"factor":"anal_fissure","points":0,"present":false},{"factor":"new_fistula","points":0,"present":false},{"factor":"abscess","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.","erythema_nodosum":false,"formula":"harvey_bradshaw","formula_expression":"HBI = well_being + abdominal_pain + liquid_stools + abdominal_mass + 1 per listed complication; Harvey 1980 previous-day items; magent max 48 (liquid_stools clamp 0-30)","liquid_stools":0,"max_score":48,"new_fistula":false,"pyoderma_gangrenosum":false,"score":0,"uveitis":false,"well_being":0}],"path":"/api/calc/harvey_bradshaw"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_mass":{"description":"Caller-assigned Harvey 1980 abdominal mass (integer 0-3): 0 none; 1 dubious; 2 definite; 3 definite and tender. magent does not examine the patient.","type":"integer"},"abdominal_pain":{"description":"Caller-assigned Harvey 1980 abdominal pain for the previous day (integer 0-3): 0 none; 1 mild; 2 moderate; 3 severe. magent does not examine the patient.","type":"integer"},"abscess":{"description":"Abscess present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"anal_fissure":{"description":"Anal fissure present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"aphthous_ulcers":{"description":"Aphthous ulcers present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"arthralgia":{"description":"Arthralgia present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"erythema_nodosum":{"description":"Erythema nodosum present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"liquid_stools":{"description":"Count of liquid stools that day (Harvey 1980; 1 point per stool). Integer 0-30 is a magent clamp, not a published maximum. magent does not examine the patient.","type":"integer"},"new_fistula":{"description":"New fistula present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"pyoderma_gangrenosum":{"description":"Pyoderma gangrenosum present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"uveitis":{"description":"Uveitis present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"well_being":{"description":"Caller-assigned Harvey 1980 general well-being for the previous day (integer 0-4): 0 very well; 1 slightly below par; 2 poor; 3 very poor; 4 terrible. magent does not examine the patient.","type":"integer"}},"required":["well_being","abdominal_pain","liquid_stools","abdominal_mass","arthralgia","uveitis","erythema_nodosum","aphthous_ulcers","pyoderma_gangrenosum","anal_fissure","new_fistula","abscess"],"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":["hbi","crohns","harvey-bradshaw","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:31:58.897Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:31:56.505Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abdominal_mass":0,"abdominal_pain":0,"abscess":false,"anal_fissure":false,"aphthous_ulcers":false,"arthralgia":false,"erythema_nodosum":false,"liquid_stools":0,"new_fistula":false,"pyoderma_gangrenosum":false,"uveitis":false,"well_being":0},{"abdominal_mass":0,"abdominal_pain":0,"abscess":false,"anal_fissure":false,"aphthous_ulcers":false,"arthralgia":false,"erythema_nodosum":false,"liquid_stools":0,"new_fistula":false,"pyoderma_gangrenosum":false,"uveitis":false,"well_being":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abdominal_mass":0,"abdominal_pain":0,"abscess":false,"anal_fissure":false,"aphthous_ulcers":false,"arthralgia":false,"citation":{"authors":"Harvey RF, Bradshaw JM","doi":"10.1016/s0140-6736(80)92767-1","id":"harvey-bradshaw-1980","pmid":"6102236","source":"Lancet. 1980;1(8167):514","title":"A simple index of Crohn's-disease activity"},"components":[{"factor":"well_being","points":0,"present":true,"value":0},{"factor":"abdominal_pain","points":0,"present":true,"value":0},{"factor":"liquid_stools","points":0,"present":true,"value":0},{"factor":"abdominal_mass","points":0,"present":true,"value":0},{"factor":"arthralgia","points":0,"present":false},{"factor":"uveitis","points":0,"present":false},{"factor":"erythema_nodosum","points":0,"present":false},{"factor":"aphthous_ulcers","points":0,"present":false},{"factor":"pyoderma_gangrenosum","points":0,"present":false},{"factor":"anal_fissure","points":0,"present":false},{"factor":"new_fistula","points":0,"present":false},{"factor":"abscess","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.","erythema_nodosum":false,"formula":"harvey_bradshaw","formula_expression":"HBI = well_being + abdominal_pain + liquid_stools + abdominal_mass + 1 per listed complication; Harvey 1980 previous-day items; magent max 48 (liquid_stools clamp 0-30)","liquid_stools":0,"max_score":48,"new_fistula":false,"pyoderma_gangrenosum":false,"score":0,"uveitis":false,"well_being":0},{"abdominal_mass":0,"abdominal_pain":0,"abscess":false,"anal_fissure":false,"aphthous_ulcers":false,"arthralgia":false,"citation":{"authors":"Harvey RF, Bradshaw JM","doi":"10.1016/s0140-6736(80)92767-1","id":"harvey-bradshaw-1980","pmid":"6102236","source":"Lancet. 1980;1(8167):514","title":"A simple index of Crohn's-disease activity"},"components":[{"factor":"well_being","points":0,"present":true,"value":0},{"factor":"abdominal_pain","points":0,"present":true,"value":0},{"factor":"liquid_stools","points":0,"present":true,"value":0},{"factor":"abdominal_mass","points":0,"present":true,"value":0},{"factor":"arthralgia","points":0,"present":false},{"factor":"uveitis","points":0,"present":false},{"factor":"erythema_nodosum","points":0,"present":false},{"factor":"aphthous_ulcers","points":0,"present":false},{"factor":"pyoderma_gangrenosum","points":0,"present":false},{"factor":"anal_fissure","points":0,"present":false},{"factor":"new_fistula","points":0,"present":false},{"factor":"abscess","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.","erythema_nodosum":false,"formula":"harvey_bradshaw","formula_expression":"HBI = well_being + abdominal_pain + liquid_stools + abdominal_mass + 1 per listed complication; Harvey 1980 previous-day items; magent max 48 (liquid_stools clamp 0-30)","liquid_stools":0,"max_score":48,"new_fistula":false,"pyoderma_gangrenosum":false,"score":0,"uveitis":false,"well_being":0}],"path":"/api/calc/harvey_bradshaw"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_mass":{"description":"Caller-assigned Harvey 1980 abdominal mass (integer 0-3): 0 none; 1 dubious; 2 definite; 3 definite and tender. magent does not examine the patient.","type":"integer"},"abdominal_pain":{"description":"Caller-assigned Harvey 1980 abdominal pain for the previous day (integer 0-3): 0 none; 1 mild; 2 moderate; 3 severe. magent does not examine the patient.","type":"integer"},"abscess":{"description":"Abscess present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"anal_fissure":{"description":"Anal fissure present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"aphthous_ulcers":{"description":"Aphthous ulcers present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"arthralgia":{"description":"Arthralgia present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"erythema_nodosum":{"description":"Erythema nodosum present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"liquid_stools":{"description":"Count of liquid stools that day (Harvey 1980; 1 point per stool). Integer 0-30 is a magent clamp, not a published maximum. magent does not examine the patient.","type":"integer"},"new_fistula":{"description":"New fistula present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"pyoderma_gangrenosum":{"description":"Pyoderma gangrenosum present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"uveitis":{"description":"Uveitis present (Harvey 1980 complications as used for the simple index). true or false. 1 point if true. magent does not examine the patient.","type":"boolean"},"well_being":{"description":"Caller-assigned Harvey 1980 general well-being for the previous day (integer 0-4): 0 very well; 1 slightly below par; 2 poor; 3 very poor; 4 terrible. magent does not examine the patient.","type":"integer"}},"required":["well_being","abdominal_pain","liquid_stools","abdominal_mass","arthralgia","uveitis","erythema_nodosum","aphthous_ulcers","pyoderma_gangrenosum","anal_fissure","new_fistula","abscess"],"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},{"id":39126,"slug":"39126","resource":"https://api.magentlab.com/api/calc/haps","description":"HAPS (Lankisch 2009). Harmless iff rebound tenderness and/or guarding is absent, hematocrit is normal, and serum creatinine is normal. The caller assigns each flag as already determined. magent does not examine the abdomen and does not measure hematocrit or creatinine. No millimetre or sex lab cutoffs. Not a medical device, not a diagnosis, and not a discharge order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"creatinine_normal":true,"hematocrit_normal":true,"rebound_or_guarding":false},{"creatinine_normal":true,"hematocrit_normal":true,"rebound_or_guarding":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lankisch PG, Weber-Dany B, Hebel K, Maisonneuve P, Lowenfels AB","doi":"10.1016/j.cgh.2009.02.020","id":"lankisch-2009","pmid":"19245846","source":"Clin Gastroenterol Hepatol. 2009;7(6):702-705","title":"The harmless acute pancreatitis score: a clinical algorithm for rapid initial stratification of nonsevere disease"},"criteria":[{"factor":"no_rebound_or_guarding","met":true},{"factor":"hematocrit_normal","met":true},{"factor":"creatinine_normal","met":true}],"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":"haps","formula_expression":"harmless iff no rebound tenderness and/or guarding and normal hematocrit and normal serum creatinine","haps_harmless":true},{"citation":{"authors":"Lankisch PG, Weber-Dany B, Hebel K, Maisonneuve P, Lowenfels AB","doi":"10.1016/j.cgh.2009.02.020","id":"lankisch-2009","pmid":"19245846","source":"Clin Gastroenterol Hepatol. 2009;7(6):702-705","title":"The harmless acute pancreatitis score: a clinical algorithm for rapid initial stratification of nonsevere disease"},"criteria":[{"factor":"no_rebound_or_guarding","met":true},{"factor":"hematocrit_normal","met":true},{"factor":"creatinine_normal","met":true}],"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":"haps","formula_expression":"harmless iff no rebound tenderness and/or guarding and normal hematocrit and normal serum creatinine","haps_harmless":true}],"path":"/api/calc/haps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_normal":{"description":"Serum creatinine is normal as assigned by the caller. true means normal and the harmless criterion holds; false means not normal. magent does not measure creatinine and does not apply a millimetre or sex cutoff.","type":"boolean"},"hematocrit_normal":{"description":"Hematocrit is normal as assigned by the caller. true means normal and the harmless criterion holds; false means not normal. magent does not measure hematocrit and does not apply a millimetre or sex cutoff.","type":"boolean"},"rebound_or_guarding":{"description":"Rebound tenderness and/or guarding. true means present and the harmless criterion fails. true or false as assigned by the caller. magent does not examine the abdomen.","type":"boolean"}},"required":["rebound_or_guarding","hematocrit_normal","creatinine_normal"],"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":["haps","pancreatitis","gi","severity","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:31:54.257Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:31:53.13Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"creatinine_normal":true,"hematocrit_normal":true,"rebound_or_guarding":false},{"creatinine_normal":true,"hematocrit_normal":true,"rebound_or_guarding":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lankisch PG, Weber-Dany B, Hebel K, Maisonneuve P, Lowenfels AB","doi":"10.1016/j.cgh.2009.02.020","id":"lankisch-2009","pmid":"19245846","source":"Clin Gastroenterol Hepatol. 2009;7(6):702-705","title":"The harmless acute pancreatitis score: a clinical algorithm for rapid initial stratification of nonsevere disease"},"criteria":[{"factor":"no_rebound_or_guarding","met":true},{"factor":"hematocrit_normal","met":true},{"factor":"creatinine_normal","met":true}],"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":"haps","formula_expression":"harmless iff no rebound tenderness and/or guarding and normal hematocrit and normal serum creatinine","haps_harmless":true},{"citation":{"authors":"Lankisch PG, Weber-Dany B, Hebel K, Maisonneuve P, Lowenfels AB","doi":"10.1016/j.cgh.2009.02.020","id":"lankisch-2009","pmid":"19245846","source":"Clin Gastroenterol Hepatol. 2009;7(6):702-705","title":"The harmless acute pancreatitis score: a clinical algorithm for rapid initial stratification of nonsevere disease"},"criteria":[{"factor":"no_rebound_or_guarding","met":true},{"factor":"hematocrit_normal","met":true},{"factor":"creatinine_normal","met":true}],"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":"haps","formula_expression":"harmless iff no rebound tenderness and/or guarding and normal hematocrit and normal serum creatinine","haps_harmless":true}],"path":"/api/calc/haps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_normal":{"description":"Serum creatinine is normal as assigned by the caller. true means normal and the harmless criterion holds; false means not normal. magent does not measure creatinine and does not apply a millimetre or sex cutoff.","type":"boolean"},"hematocrit_normal":{"description":"Hematocrit is normal as assigned by the caller. true means normal and the harmless criterion holds; false means not normal. magent does not measure hematocrit and does not apply a millimetre or sex cutoff.","type":"boolean"},"rebound_or_guarding":{"description":"Rebound tenderness and/or guarding. true means present and the harmless criterion fails. true or false as assigned by the caller. magent does not examine the abdomen.","type":"boolean"}},"required":["rebound_or_guarding","hematocrit_normal","creatinine_normal"],"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},{"id":39127,"slug":"39127","resource":"https://api.magentlab.com/api/calc/hamilton_depression","description":"Hamilton 1960 17-variable depression rating (not the later 21-item form). Eight caller-assigned 0-4 items and nine 0-2 items (agitation is three-point in that paper). Sum 0-50. magent does not interview. Hamilton 1960 printed no total-score severity bands; later 0-7/8-16/17-23/>=24 cutoffs are not applied. Not a diagnosis and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"agitation":0,"anxiety_psychic":0,"anxiety_somatic":0,"depressed_mood":0,"genital_symptoms":0,"guilt":0,"hypochondriasis":0,"insight":0,"insomnia_delayed":0,"insomnia_initial":0,"insomnia_middle":0,"loss_of_weight":0,"retardation":0,"somatic_gastrointestinal":0,"somatic_general":0,"suicide":0,"work_and_interests":0},{"agitation":0,"anxiety_psychic":0,"anxiety_somatic":0,"depressed_mood":0,"genital_symptoms":0,"guilt":0,"hypochondriasis":0,"insight":0,"insomnia_delayed":0,"insomnia_initial":0,"insomnia_middle":0,"loss_of_weight":0,"retardation":0,"somatic_gastrointestinal":0,"somatic_general":0,"suicide":0,"work_and_interests":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hamilton M","doi":"10.1136/jnnp.23.1.56","id":"hamilton-1960","pmid":"14399272","source":"J Neurol Neurosurg Psychiatry. 1960;23(1):56-62","title":"A rating scale for depression"},"components":[{"factor":"depressed_mood","points":0,"present":true,"value":0},{"factor":"guilt","points":0,"present":true,"value":0},{"factor":"suicide","points":0,"present":true,"value":0},{"factor":"insomnia_initial","points":0,"present":true,"value":0},{"factor":"insomnia_middle","points":0,"present":true,"value":0},{"factor":"insomnia_delayed","points":0,"present":true,"value":0},{"factor":"work_and_interests","points":0,"present":true,"value":0},{"factor":"retardation","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0},{"factor":"anxiety_psychic","points":0,"present":true,"value":0},{"factor":"anxiety_somatic","points":0,"present":true,"value":0},{"factor":"somatic_gastrointestinal","points":0,"present":true,"value":0},{"factor":"somatic_general","points":0,"present":true,"value":0},{"factor":"genital_symptoms","points":0,"present":true,"value":0},{"factor":"hypochondriasis","points":0,"present":true,"value":0},{"factor":"insight","points":0,"present":true,"value":0},{"factor":"loss_of_weight","points":0,"present":true,"value":0}],"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":"hamilton_depression","formula_expression":"HAM-D = depressed_mood + guilt + suicide + insomnia_initial + insomnia_middle + insomnia_delayed + work_and_interests + retardation + agitation + anxiety_psychic + anxiety_somatic + somatic_gastrointestinal + somatic_general + genital_symptoms + hypochondriasis + insight + loss_of_weight; Hamilton 1960 17 variables (not items 18-21); 0-4 five-point for depressed_mood, guilt, suicide, work_and_interests, retardation, anxiety_psychic, anxiety_somatic, hypochondriasis; 0-2 three-point for insomnia_initial, insomnia_middle, insomnia_delayed, agitation, somatic_gastrointestinal, somatic_general, genital_symptoms, insight, loss_of_weight; max 50; no total-score severity bands","max_score":50,"score":0},{"citation":{"authors":"Hamilton M","doi":"10.1136/jnnp.23.1.56","id":"hamilton-1960","pmid":"14399272","source":"J Neurol Neurosurg Psychiatry. 1960;23(1):56-62","title":"A rating scale for depression"},"components":[{"factor":"depressed_mood","points":0,"present":true,"value":0},{"factor":"guilt","points":0,"present":true,"value":0},{"factor":"suicide","points":0,"present":true,"value":0},{"factor":"insomnia_initial","points":0,"present":true,"value":0},{"factor":"insomnia_middle","points":0,"present":true,"value":0},{"factor":"insomnia_delayed","points":0,"present":true,"value":0},{"factor":"work_and_interests","points":0,"present":true,"value":0},{"factor":"retardation","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0},{"factor":"anxiety_psychic","points":0,"present":true,"value":0},{"factor":"anxiety_somatic","points":0,"present":true,"value":0},{"factor":"somatic_gastrointestinal","points":0,"present":true,"value":0},{"factor":"somatic_general","points":0,"present":true,"value":0},{"factor":"genital_symptoms","points":0,"present":true,"value":0},{"factor":"hypochondriasis","points":0,"present":true,"value":0},{"factor":"insight","points":0,"present":true,"value":0},{"factor":"loss_of_weight","points":0,"present":true,"value":0}],"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":"hamilton_depression","formula_expression":"HAM-D = depressed_mood + guilt + suicide + insomnia_initial + insomnia_middle + insomnia_delayed + work_and_interests + retardation + agitation + anxiety_psychic + anxiety_somatic + somatic_gastrointestinal + somatic_general + genital_symptoms + hypochondriasis + insight + loss_of_weight; Hamilton 1960 17 variables (not items 18-21); 0-4 five-point for depressed_mood, guilt, suicide, work_and_interests, retardation, anxiety_psychic, anxiety_somatic, hypochondriasis; 0-2 three-point for insomnia_initial, insomnia_middle, insomnia_delayed, agitation, somatic_gastrointestinal, somatic_general, genital_symptoms, insight, loss_of_weight; max 50; no total-score severity bands","max_score":50,"score":0}],"path":"/api/calc/hamilton_depression"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"agitation":{"description":"Caller-assigned Hamilton 1960 agitation (integer 0-2 three-point; a five-point scale was impracticable in that paper): restlessness associated with anxiety. magent does not interview the patient.","type":"integer"},"anxiety_psychic":{"description":"Caller-assigned Hamilton 1960 anxiety, psychic (integer 0-4): tension and irritability, worrying about minor matters, apprehensive attitude, fears. magent does not interview the patient.","type":"integer"},"anxiety_somatic":{"description":"Caller-assigned Hamilton 1960 anxiety, somatic (integer 0-4): gastrointestinal (wind, indigestion), cardiovascular (palpitations, headaches), respiratory, genito-urinary, and other somatic anxiety. magent does not interview the patient.","type":"integer"},"depressed_mood":{"description":"Caller-assigned Hamilton 1960 depressed mood (integer 0-4: 0 absent, 1 mild or trivial, 2 moderate, 3 severe, 4 extreme): gloomy attitude, pessimism about the future, feeling of sadness, tendency to weep. magent does not interview the patient.","type":"integer"},"genital_symptoms":{"description":"Caller-assigned Hamilton 1960 genital symptoms (integer 0-2): loss of libido, menstrual disturbances. magent does not interview the patient.","type":"integer"},"guilt":{"description":"Caller-assigned Hamilton 1960 guilt (integer 0-4): self-reproach, ideas of guilt, present illness as punishment, delusions or hallucinations of guilt. magent does not interview the patient.","type":"integer"},"hypochondriasis":{"description":"Caller-assigned Hamilton 1960 hypochondriasis (integer 0-4): self-absorption (bodily), preoccupation with health, querulous attitude, hypochondriacal delusions. magent does not interview the patient.","type":"integer"},"insight":{"description":"Caller-assigned Hamilton 1960 insight (integer 0-2: 0 no loss, 1 partial or doubtful loss, 2 loss of insight), interpreted in terms of the patient's understanding and background. magent does not interview the patient.","type":"integer"},"insomnia_delayed":{"description":"Caller-assigned Hamilton 1960 insomnia, delayed (integer 0-2): waking in the early hours of the morning and unable to fall asleep again. magent does not interview the patient.","type":"integer"},"insomnia_initial":{"description":"Caller-assigned Hamilton 1960 insomnia, initial (integer 0-2: 0 absent, 1 slight or doubtful, 2 clearly present): difficulty in falling asleep. magent does not interview the patient.","type":"integer"},"insomnia_middle":{"description":"Caller-assigned Hamilton 1960 insomnia, middle (integer 0-2): restless and disturbed during the night, waking during the night. magent does not interview the patient.","type":"integer"},"loss_of_weight":{"description":"Caller-assigned Hamilton 1960 loss of weight (integer 0-2 three-point scale as published, because few patients know their normal weight). magent does not weigh the patient.","type":"integer"},"retardation":{"description":"Caller-assigned Hamilton 1960 retardation (integer 0-4): slowness of thought, speech, and activity, apathy, stupor (1 slight at interview, 2 obvious, 3 interview difficult, 4 complete stupor). magent does not interview the patient.","type":"integer"},"somatic_gastrointestinal":{"description":"Caller-assigned Hamilton 1960 somatic symptoms, gastrointestinal (integer 0-2): loss of appetite, heavy feelings in abdomen, constipation. magent does not interview the patient.","type":"integer"},"somatic_general":{"description":"Caller-assigned Hamilton 1960 somatic symptoms, general (integer 0-2): heaviness in limbs, back, or head; diffuse backache; loss of energy and fatiguability. magent does not interview the patient.","type":"integer"},"suicide":{"description":"Caller-assigned Hamilton 1960 suicide (integer 0-4): feels life is not worth living, wishes to be dead, suicidal ideas; an attempt at suicide scores 4 (3 if sudden against little suicidal tendency). magent does not interview the patient.","type":"integer"},"work_and_interests":{"description":"Caller-assigned Hamilton 1960 work and interests (integer 0-4): feelings of incapacity, listlessness, loss of interest in hobbies, decreased social activities or productivity; given up work solely because of present illness is 4. magent does not interview the patient.","type":"integer"}},"required":["depressed_mood","guilt","suicide","insomnia_initial","insomnia_middle","insomnia_delayed","work_and_interests","retardation","agitation","anxiety_psychic","anxiety_somatic","somatic_gastrointestinal","somatic_general","genital_symptoms","hypochondriasis","insight","loss_of_weight"],"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":["ham-d","depression","hamilton","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:31:49.073Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:31:47.453Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"agitation":0,"anxiety_psychic":0,"anxiety_somatic":0,"depressed_mood":0,"genital_symptoms":0,"guilt":0,"hypochondriasis":0,"insight":0,"insomnia_delayed":0,"insomnia_initial":0,"insomnia_middle":0,"loss_of_weight":0,"retardation":0,"somatic_gastrointestinal":0,"somatic_general":0,"suicide":0,"work_and_interests":0},{"agitation":0,"anxiety_psychic":0,"anxiety_somatic":0,"depressed_mood":0,"genital_symptoms":0,"guilt":0,"hypochondriasis":0,"insight":0,"insomnia_delayed":0,"insomnia_initial":0,"insomnia_middle":0,"loss_of_weight":0,"retardation":0,"somatic_gastrointestinal":0,"somatic_general":0,"suicide":0,"work_and_interests":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hamilton M","doi":"10.1136/jnnp.23.1.56","id":"hamilton-1960","pmid":"14399272","source":"J Neurol Neurosurg Psychiatry. 1960;23(1):56-62","title":"A rating scale for depression"},"components":[{"factor":"depressed_mood","points":0,"present":true,"value":0},{"factor":"guilt","points":0,"present":true,"value":0},{"factor":"suicide","points":0,"present":true,"value":0},{"factor":"insomnia_initial","points":0,"present":true,"value":0},{"factor":"insomnia_middle","points":0,"present":true,"value":0},{"factor":"insomnia_delayed","points":0,"present":true,"value":0},{"factor":"work_and_interests","points":0,"present":true,"value":0},{"factor":"retardation","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0},{"factor":"anxiety_psychic","points":0,"present":true,"value":0},{"factor":"anxiety_somatic","points":0,"present":true,"value":0},{"factor":"somatic_gastrointestinal","points":0,"present":true,"value":0},{"factor":"somatic_general","points":0,"present":true,"value":0},{"factor":"genital_symptoms","points":0,"present":true,"value":0},{"factor":"hypochondriasis","points":0,"present":true,"value":0},{"factor":"insight","points":0,"present":true,"value":0},{"factor":"loss_of_weight","points":0,"present":true,"value":0}],"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":"hamilton_depression","formula_expression":"HAM-D = depressed_mood + guilt + suicide + insomnia_initial + insomnia_middle + insomnia_delayed + work_and_interests + retardation + agitation + anxiety_psychic + anxiety_somatic + somatic_gastrointestinal + somatic_general + genital_symptoms + hypochondriasis + insight + loss_of_weight; Hamilton 1960 17 variables (not items 18-21); 0-4 five-point for depressed_mood, guilt, suicide, work_and_interests, retardation, anxiety_psychic, anxiety_somatic, hypochondriasis; 0-2 three-point for insomnia_initial, insomnia_middle, insomnia_delayed, agitation, somatic_gastrointestinal, somatic_general, genital_symptoms, insight, loss_of_weight; max 50; no total-score severity bands","max_score":50,"score":0},{"citation":{"authors":"Hamilton M","doi":"10.1136/jnnp.23.1.56","id":"hamilton-1960","pmid":"14399272","source":"J Neurol Neurosurg Psychiatry. 1960;23(1):56-62","title":"A rating scale for depression"},"components":[{"factor":"depressed_mood","points":0,"present":true,"value":0},{"factor":"guilt","points":0,"present":true,"value":0},{"factor":"suicide","points":0,"present":true,"value":0},{"factor":"insomnia_initial","points":0,"present":true,"value":0},{"factor":"insomnia_middle","points":0,"present":true,"value":0},{"factor":"insomnia_delayed","points":0,"present":true,"value":0},{"factor":"work_and_interests","points":0,"present":true,"value":0},{"factor":"retardation","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0},{"factor":"anxiety_psychic","points":0,"present":true,"value":0},{"factor":"anxiety_somatic","points":0,"present":true,"value":0},{"factor":"somatic_gastrointestinal","points":0,"present":true,"value":0},{"factor":"somatic_general","points":0,"present":true,"value":0},{"factor":"genital_symptoms","points":0,"present":true,"value":0},{"factor":"hypochondriasis","points":0,"present":true,"value":0},{"factor":"insight","points":0,"present":true,"value":0},{"factor":"loss_of_weight","points":0,"present":true,"value":0}],"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":"hamilton_depression","formula_expression":"HAM-D = depressed_mood + guilt + suicide + insomnia_initial + insomnia_middle + insomnia_delayed + work_and_interests + retardation + agitation + anxiety_psychic + anxiety_somatic + somatic_gastrointestinal + somatic_general + genital_symptoms + hypochondriasis + insight + loss_of_weight; Hamilton 1960 17 variables (not items 18-21); 0-4 five-point for depressed_mood, guilt, suicide, work_and_interests, retardation, anxiety_psychic, anxiety_somatic, hypochondriasis; 0-2 three-point for insomnia_initial, insomnia_middle, insomnia_delayed, agitation, somatic_gastrointestinal, somatic_general, genital_symptoms, insight, loss_of_weight; max 50; no total-score severity bands","max_score":50,"score":0}],"path":"/api/calc/hamilton_depression"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"agitation":{"description":"Caller-assigned Hamilton 1960 agitation (integer 0-2 three-point; a five-point scale was impracticable in that paper): restlessness associated with anxiety. magent does not interview the patient.","type":"integer"},"anxiety_psychic":{"description":"Caller-assigned Hamilton 1960 anxiety, psychic (integer 0-4): tension and irritability, worrying about minor matters, apprehensive attitude, fears. magent does not interview the patient.","type":"integer"},"anxiety_somatic":{"description":"Caller-assigned Hamilton 1960 anxiety, somatic (integer 0-4): gastrointestinal (wind, indigestion), cardiovascular (palpitations, headaches), respiratory, genito-urinary, and other somatic anxiety. magent does not interview the patient.","type":"integer"},"depressed_mood":{"description":"Caller-assigned Hamilton 1960 depressed mood (integer 0-4: 0 absent, 1 mild or trivial, 2 moderate, 3 severe, 4 extreme): gloomy attitude, pessimism about the future, feeling of sadness, tendency to weep. magent does not interview the patient.","type":"integer"},"genital_symptoms":{"description":"Caller-assigned Hamilton 1960 genital symptoms (integer 0-2): loss of libido, menstrual disturbances. magent does not interview the patient.","type":"integer"},"guilt":{"description":"Caller-assigned Hamilton 1960 guilt (integer 0-4): self-reproach, ideas of guilt, present illness as punishment, delusions or hallucinations of guilt. magent does not interview the patient.","type":"integer"},"hypochondriasis":{"description":"Caller-assigned Hamilton 1960 hypochondriasis (integer 0-4): self-absorption (bodily), preoccupation with health, querulous attitude, hypochondriacal delusions. magent does not interview the patient.","type":"integer"},"insight":{"description":"Caller-assigned Hamilton 1960 insight (integer 0-2: 0 no loss, 1 partial or doubtful loss, 2 loss of insight), interpreted in terms of the patient's understanding and background. magent does not interview the patient.","type":"integer"},"insomnia_delayed":{"description":"Caller-assigned Hamilton 1960 insomnia, delayed (integer 0-2): waking in the early hours of the morning and unable to fall asleep again. magent does not interview the patient.","type":"integer"},"insomnia_initial":{"description":"Caller-assigned Hamilton 1960 insomnia, initial (integer 0-2: 0 absent, 1 slight or doubtful, 2 clearly present): difficulty in falling asleep. magent does not interview the patient.","type":"integer"},"insomnia_middle":{"description":"Caller-assigned Hamilton 1960 insomnia, middle (integer 0-2): restless and disturbed during the night, waking during the night. magent does not interview the patient.","type":"integer"},"loss_of_weight":{"description":"Caller-assigned Hamilton 1960 loss of weight (integer 0-2 three-point scale as published, because few patients know their normal weight). magent does not weigh the patient.","type":"integer"},"retardation":{"description":"Caller-assigned Hamilton 1960 retardation (integer 0-4): slowness of thought, speech, and activity, apathy, stupor (1 slight at interview, 2 obvious, 3 interview difficult, 4 complete stupor). magent does not interview the patient.","type":"integer"},"somatic_gastrointestinal":{"description":"Caller-assigned Hamilton 1960 somatic symptoms, gastrointestinal (integer 0-2): loss of appetite, heavy feelings in abdomen, constipation. magent does not interview the patient.","type":"integer"},"somatic_general":{"description":"Caller-assigned Hamilton 1960 somatic symptoms, general (integer 0-2): heaviness in limbs, back, or head; diffuse backache; loss of energy and fatiguability. magent does not interview the patient.","type":"integer"},"suicide":{"description":"Caller-assigned Hamilton 1960 suicide (integer 0-4): feels life is not worth living, wishes to be dead, suicidal ideas; an attempt at suicide scores 4 (3 if sudden against little suicidal tendency). magent does not interview the patient.","type":"integer"},"work_and_interests":{"description":"Caller-assigned Hamilton 1960 work and interests (integer 0-4): feelings of incapacity, listlessness, loss of interest in hobbies, decreased social activities or productivity; given up work solely because of present illness is 4. magent does not interview the patient.","type":"integer"}},"required":["depressed_mood","guilt","suicide","insomnia_initial","insomnia_middle","insomnia_delayed","work_and_interests","retardation","agitation","anxiety_psychic","anxiety_somatic","somatic_gastrointestinal","somatic_general","genital_symptoms","hypochondriasis","insight","loss_of_weight"],"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},{"id":39128,"slug":"39128","resource":"https://api.magentlab.com/api/calc/hamilton_anxiety","description":"Hamilton 1959 HAM-A: 14 caller-assigned integers 0-4 (0 not present, 1 mild, 2 moderate, 3 severe, 4 very severe) for anxious mood, tension, fears, insomnia, intellectual, depressed mood, somatic muscular, somatic sensory, cardiovascular, respiratory, gastrointestinal, genitourinary, autonomic, and behaviour at interview. Sum 0-56. magent does not interview the patient. No total-score severity bands in Hamilton 1959; later 17/24 cutoffs are not applied. Not a diagnosis and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anxious_mood":0,"autonomic":0,"cardiovascular":0,"depressed_mood":0,"fears":0,"gastrointestinal":0,"genitourinary":0,"insomnia":0,"intellectual":0,"interview_behavior":0,"respiratory":0,"somatic_muscular":0,"somatic_sensory":0,"tension":0},{"anxious_mood":0,"autonomic":0,"cardiovascular":0,"depressed_mood":0,"fears":0,"gastrointestinal":0,"genitourinary":0,"insomnia":0,"intellectual":0,"interview_behavior":0,"respiratory":0,"somatic_muscular":0,"somatic_sensory":0,"tension":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hamilton M","doi":"10.1111/j.2044-8341.1959.tb00467.x","id":"hamilton-1959","pmid":"13638508","source":"Br J Med Psychol. 1959;32(1):50-55","title":"The assessment of anxiety states by rating"},"components":[{"factor":"anxious_mood","points":0,"present":true,"value":0},{"factor":"tension","points":0,"present":true,"value":0},{"factor":"fears","points":0,"present":true,"value":0},{"factor":"insomnia","points":0,"present":true,"value":0},{"factor":"intellectual","points":0,"present":true,"value":0},{"factor":"depressed_mood","points":0,"present":true,"value":0},{"factor":"somatic_muscular","points":0,"present":true,"value":0},{"factor":"somatic_sensory","points":0,"present":true,"value":0},{"factor":"cardiovascular","points":0,"present":true,"value":0},{"factor":"respiratory","points":0,"present":true,"value":0},{"factor":"gastrointestinal","points":0,"present":true,"value":0},{"factor":"genitourinary","points":0,"present":true,"value":0},{"factor":"autonomic","points":0,"present":true,"value":0},{"factor":"interview_behavior","points":0,"present":true,"value":0}],"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":"hamilton_anxiety","formula_expression":"HAM-A = anxious_mood + tension + fears + insomnia + intellectual + depressed_mood + somatic_muscular + somatic_sensory + cardiovascular + respiratory + gastrointestinal + genitourinary + autonomic + interview_behavior; each caller-assigned 0-4; max 56; Hamilton 1959; no total-score severity bands","max_score":56,"score":0},{"citation":{"authors":"Hamilton M","doi":"10.1111/j.2044-8341.1959.tb00467.x","id":"hamilton-1959","pmid":"13638508","source":"Br J Med Psychol. 1959;32(1):50-55","title":"The assessment of anxiety states by rating"},"components":[{"factor":"anxious_mood","points":0,"present":true,"value":0},{"factor":"tension","points":0,"present":true,"value":0},{"factor":"fears","points":0,"present":true,"value":0},{"factor":"insomnia","points":0,"present":true,"value":0},{"factor":"intellectual","points":0,"present":true,"value":0},{"factor":"depressed_mood","points":0,"present":true,"value":0},{"factor":"somatic_muscular","points":0,"present":true,"value":0},{"factor":"somatic_sensory","points":0,"present":true,"value":0},{"factor":"cardiovascular","points":0,"present":true,"value":0},{"factor":"respiratory","points":0,"present":true,"value":0},{"factor":"gastrointestinal","points":0,"present":true,"value":0},{"factor":"genitourinary","points":0,"present":true,"value":0},{"factor":"autonomic","points":0,"present":true,"value":0},{"factor":"interview_behavior","points":0,"present":true,"value":0}],"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":"hamilton_anxiety","formula_expression":"HAM-A = anxious_mood + tension + fears + insomnia + intellectual + depressed_mood + somatic_muscular + somatic_sensory + cardiovascular + respiratory + gastrointestinal + genitourinary + autonomic + interview_behavior; each caller-assigned 0-4; max 56; Hamilton 1959; no total-score severity bands","max_score":56,"score":0}],"path":"/api/calc/hamilton_anxiety"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anxious_mood":{"description":"Caller-assigned Hamilton 1959 anxious mood (integer 0-4: 0 not present, 1 mild, 2 moderate, 3 severe, 4 very severe): worries, anticipation of the worst, fearful anticipation, irritability. magent does not interview the patient.","type":"integer"},"autonomic":{"description":"Caller-assigned Hamilton 1959 autonomic symptoms (integer 0-4): dry mouth, flushing, pallor, tendency to sweat, giddiness, tension headache, raising of hair. magent does not interview the patient.","type":"integer"},"cardiovascular":{"description":"Caller-assigned Hamilton 1959 cardiovascular symptoms (integer 0-4): tachycardia, palpitations, pain in chest, throbbing of vessels, fainting feelings, missing beat. magent does not interview the patient.","type":"integer"},"depressed_mood":{"description":"Caller-assigned Hamilton 1959 depressed mood (integer 0-4): loss of interest, lack of pleasure in hobbies, depression, early waking, diurnal swing. magent does not interview the patient.","type":"integer"},"fears":{"description":"Caller-assigned Hamilton 1959 fears (integer 0-4): of dark, of strangers, of being left alone, of animals, of traffic, of crowds. magent does not interview the patient.","type":"integer"},"gastrointestinal":{"description":"Caller-assigned Hamilton 1959 gastro-intestinal symptoms (integer 0-4): difficulty in swallowing, wind, abdominal pain, burning sensations, abdominal fullness, nausea, vomiting, borborygmi, looseness of bowels, loss of weight, constipation. magent does not interview the patient.","type":"integer"},"genitourinary":{"description":"Caller-assigned Hamilton 1959 genito-urinary symptoms (integer 0-4): frequency or urgency of micturition, amenorrhea, menorrhagia, development of frigidity, premature ejaculation, loss of libido, impotence. magent does not interview the patient.","type":"integer"},"insomnia":{"description":"Caller-assigned Hamilton 1959 insomnia (integer 0-4): difficulty falling asleep, broken sleep, unsatisfying sleep and fatigue on waking, dreams, nightmares, night terrors. magent does not interview the patient.","type":"integer"},"intellectual":{"description":"Caller-assigned Hamilton 1959 intellectual / cognitive (integer 0-4): difficulty in concentration, poor memory. magent does not interview the patient.","type":"integer"},"interview_behavior":{"description":"Caller-assigned Hamilton 1959 behaviour at interview (integer 0-4): fidgeting, restlessness or pacing, tremor of hands, furrowed brow, strained face, sighing or rapid respiration, facial pallor, swallowing. magent does not interview the patient.","type":"integer"},"respiratory":{"description":"Caller-assigned Hamilton 1959 respiratory symptoms (integer 0-4): pressure or constriction in chest, choking feelings, sighing, dyspnea. magent does not interview the patient.","type":"integer"},"somatic_muscular":{"description":"Caller-assigned Hamilton 1959 somatic (muscular) (integer 0-4): pains and aches, twitching, stiffness, myoclonic jerks, grinding of teeth, unsteady voice, increased muscular tone. magent does not interview the patient.","type":"integer"},"somatic_sensory":{"description":"Caller-assigned Hamilton 1959 somatic (sensory) (integer 0-4): tinnitus, blurring of vision, hot and cold flushes, feelings of weakness, pricking sensation. magent does not interview the patient.","type":"integer"},"tension":{"description":"Caller-assigned Hamilton 1959 tension (integer 0-4): feelings of tension, fatigability, startle response, moved to tears easily, trembling, restlessness, inability to relax. magent does not interview the patient.","type":"integer"}},"required":["anxious_mood","tension","fears","insomnia","intellectual","depressed_mood","somatic_muscular","somatic_sensory","cardiovascular","respiratory","gastrointestinal","genitourinary","autonomic","interview_behavior"],"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":["ham-a","anxiety","hamilton","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:26:42.376Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:26:42.261Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anxious_mood":0,"autonomic":0,"cardiovascular":0,"depressed_mood":0,"fears":0,"gastrointestinal":0,"genitourinary":0,"insomnia":0,"intellectual":0,"interview_behavior":0,"respiratory":0,"somatic_muscular":0,"somatic_sensory":0,"tension":0},{"anxious_mood":0,"autonomic":0,"cardiovascular":0,"depressed_mood":0,"fears":0,"gastrointestinal":0,"genitourinary":0,"insomnia":0,"intellectual":0,"interview_behavior":0,"respiratory":0,"somatic_muscular":0,"somatic_sensory":0,"tension":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hamilton M","doi":"10.1111/j.2044-8341.1959.tb00467.x","id":"hamilton-1959","pmid":"13638508","source":"Br J Med Psychol. 1959;32(1):50-55","title":"The assessment of anxiety states by rating"},"components":[{"factor":"anxious_mood","points":0,"present":true,"value":0},{"factor":"tension","points":0,"present":true,"value":0},{"factor":"fears","points":0,"present":true,"value":0},{"factor":"insomnia","points":0,"present":true,"value":0},{"factor":"intellectual","points":0,"present":true,"value":0},{"factor":"depressed_mood","points":0,"present":true,"value":0},{"factor":"somatic_muscular","points":0,"present":true,"value":0},{"factor":"somatic_sensory","points":0,"present":true,"value":0},{"factor":"cardiovascular","points":0,"present":true,"value":0},{"factor":"respiratory","points":0,"present":true,"value":0},{"factor":"gastrointestinal","points":0,"present":true,"value":0},{"factor":"genitourinary","points":0,"present":true,"value":0},{"factor":"autonomic","points":0,"present":true,"value":0},{"factor":"interview_behavior","points":0,"present":true,"value":0}],"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":"hamilton_anxiety","formula_expression":"HAM-A = anxious_mood + tension + fears + insomnia + intellectual + depressed_mood + somatic_muscular + somatic_sensory + cardiovascular + respiratory + gastrointestinal + genitourinary + autonomic + interview_behavior; each caller-assigned 0-4; max 56; Hamilton 1959; no total-score severity bands","max_score":56,"score":0},{"citation":{"authors":"Hamilton M","doi":"10.1111/j.2044-8341.1959.tb00467.x","id":"hamilton-1959","pmid":"13638508","source":"Br J Med Psychol. 1959;32(1):50-55","title":"The assessment of anxiety states by rating"},"components":[{"factor":"anxious_mood","points":0,"present":true,"value":0},{"factor":"tension","points":0,"present":true,"value":0},{"factor":"fears","points":0,"present":true,"value":0},{"factor":"insomnia","points":0,"present":true,"value":0},{"factor":"intellectual","points":0,"present":true,"value":0},{"factor":"depressed_mood","points":0,"present":true,"value":0},{"factor":"somatic_muscular","points":0,"present":true,"value":0},{"factor":"somatic_sensory","points":0,"present":true,"value":0},{"factor":"cardiovascular","points":0,"present":true,"value":0},{"factor":"respiratory","points":0,"present":true,"value":0},{"factor":"gastrointestinal","points":0,"present":true,"value":0},{"factor":"genitourinary","points":0,"present":true,"value":0},{"factor":"autonomic","points":0,"present":true,"value":0},{"factor":"interview_behavior","points":0,"present":true,"value":0}],"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":"hamilton_anxiety","formula_expression":"HAM-A = anxious_mood + tension + fears + insomnia + intellectual + depressed_mood + somatic_muscular + somatic_sensory + cardiovascular + respiratory + gastrointestinal + genitourinary + autonomic + interview_behavior; each caller-assigned 0-4; max 56; Hamilton 1959; no total-score severity bands","max_score":56,"score":0}],"path":"/api/calc/hamilton_anxiety"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anxious_mood":{"description":"Caller-assigned Hamilton 1959 anxious mood (integer 0-4: 0 not present, 1 mild, 2 moderate, 3 severe, 4 very severe): worries, anticipation of the worst, fearful anticipation, irritability. magent does not interview the patient.","type":"integer"},"autonomic":{"description":"Caller-assigned Hamilton 1959 autonomic symptoms (integer 0-4): dry mouth, flushing, pallor, tendency to sweat, giddiness, tension headache, raising of hair. magent does not interview the patient.","type":"integer"},"cardiovascular":{"description":"Caller-assigned Hamilton 1959 cardiovascular symptoms (integer 0-4): tachycardia, palpitations, pain in chest, throbbing of vessels, fainting feelings, missing beat. magent does not interview the patient.","type":"integer"},"depressed_mood":{"description":"Caller-assigned Hamilton 1959 depressed mood (integer 0-4): loss of interest, lack of pleasure in hobbies, depression, early waking, diurnal swing. magent does not interview the patient.","type":"integer"},"fears":{"description":"Caller-assigned Hamilton 1959 fears (integer 0-4): of dark, of strangers, of being left alone, of animals, of traffic, of crowds. magent does not interview the patient.","type":"integer"},"gastrointestinal":{"description":"Caller-assigned Hamilton 1959 gastro-intestinal symptoms (integer 0-4): difficulty in swallowing, wind, abdominal pain, burning sensations, abdominal fullness, nausea, vomiting, borborygmi, looseness of bowels, loss of weight, constipation. magent does not interview the patient.","type":"integer"},"genitourinary":{"description":"Caller-assigned Hamilton 1959 genito-urinary symptoms (integer 0-4): frequency or urgency of micturition, amenorrhea, menorrhagia, development of frigidity, premature ejaculation, loss of libido, impotence. magent does not interview the patient.","type":"integer"},"insomnia":{"description":"Caller-assigned Hamilton 1959 insomnia (integer 0-4): difficulty falling asleep, broken sleep, unsatisfying sleep and fatigue on waking, dreams, nightmares, night terrors. magent does not interview the patient.","type":"integer"},"intellectual":{"description":"Caller-assigned Hamilton 1959 intellectual / cognitive (integer 0-4): difficulty in concentration, poor memory. magent does not interview the patient.","type":"integer"},"interview_behavior":{"description":"Caller-assigned Hamilton 1959 behaviour at interview (integer 0-4): fidgeting, restlessness or pacing, tremor of hands, furrowed brow, strained face, sighing or rapid respiration, facial pallor, swallowing. magent does not interview the patient.","type":"integer"},"respiratory":{"description":"Caller-assigned Hamilton 1959 respiratory symptoms (integer 0-4): pressure or constriction in chest, choking feelings, sighing, dyspnea. magent does not interview the patient.","type":"integer"},"somatic_muscular":{"description":"Caller-assigned Hamilton 1959 somatic (muscular) (integer 0-4): pains and aches, twitching, stiffness, myoclonic jerks, grinding of teeth, unsteady voice, increased muscular tone. magent does not interview the patient.","type":"integer"},"somatic_sensory":{"description":"Caller-assigned Hamilton 1959 somatic (sensory) (integer 0-4): tinnitus, blurring of vision, hot and cold flushes, feelings of weakness, pricking sensation. magent does not interview the patient.","type":"integer"},"tension":{"description":"Caller-assigned Hamilton 1959 tension (integer 0-4): feelings of tension, fatigability, startle response, moved to tears easily, trembling, restlessness, inability to relax. magent does not interview the patient.","type":"integer"}},"required":["anxious_mood","tension","fears","insomnia","intellectual","depressed_mood","somatic_muscular","somatic_sensory","cardiovascular","respiratory","gastrointestinal","genitourinary","autonomic","interview_behavior"],"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},{"id":39129,"slug":"39129","resource":"https://api.magentlab.com/api/calc/hacor","description":"Duan 2017 HACOR (ESM Table 2): HR ≤120 → 0, ≥121 → 1; pH ≥7.35 → 0, 7.30–7.34 → 2, 7.25–7.29 → 3, <7.25 → 4; GCS 15 → 0, 13–14 → 2, 11–12 → 5, ≤10 → 10; P/F ≥201 → 0, 176–200 → 2, 151–175 → 3, 126–150 → 4, 101–125 → 5, ≤100 → 6; RR ≤30 → 0, 31–35 → 1, 36–40 → 2, 41–45 → 3, ≥46 → 4. Max 25. Low ≤5, high >5. Not an intubation or NIV-failure order. magent does not read an ABG, GCS the patient, or a ventilator.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"gcs":15,"heart_rate_bpm":80,"pf_ratio":300,"ph":7.4,"respiratory_rate":18},{"gcs":15,"heart_rate_bpm":80,"pf_ratio":300,"ph":7.4,"respiratory_rate":18}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Duan J, Han X, Bai L, Zhou L, Huang S","doi":"10.1007/s00134-016-4601-3","id":"duan-2017","pmid":"27812731","source":"Intensive Care Med. 2017;43(2):192-199","title":"Assessment of heart rate, acidosis, consciousness, oxygenation, and respiratory rate to predict noninvasive ventilation failure in hypoxemic patients"},"components":[{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"ph","points":0,"present":false,"value":7.4},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"pf_ratio","points":0,"present":false,"value":300},{"factor":"respiratory_rate","points":0,"present":false,"value":18}],"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":"hacor","formula_expression":"HACOR = HR(≤120→0, ≥121→1) + pH(≥7.35→0, 7.30–7.34→2, 7.25–7.29→3, <7.25→4) + GCS(15→0, 13–14→2, 11–12→5, ≤10→10) + P/F(≥201→0, 176–200→2, 151–175→3, 126–150→4, 101–125→5, ≤100→6) + RR(≤30→0, 31–35→1, 36–40→2, 41–45→3, ≥46→4); Duan 2017 ESM Table 2; max 25; low ≤5, high >5","gcs":15,"hacor_band":"low","heart_rate_bpm":80,"max_score":25,"pf_ratio":300,"ph":7.4,"respiratory_rate":18,"score":0},{"citation":{"authors":"Duan J, Han X, Bai L, Zhou L, Huang S","doi":"10.1007/s00134-016-4601-3","id":"duan-2017","pmid":"27812731","source":"Intensive Care Med. 2017;43(2):192-199","title":"Assessment of heart rate, acidosis, consciousness, oxygenation, and respiratory rate to predict noninvasive ventilation failure in hypoxemic patients"},"components":[{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"ph","points":0,"present":false,"value":7.4},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"pf_ratio","points":0,"present":false,"value":300},{"factor":"respiratory_rate","points":0,"present":false,"value":18}],"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":"hacor","formula_expression":"HACOR = HR(≤120→0, ≥121→1) + pH(≥7.35→0, 7.30–7.34→2, 7.25–7.29→3, <7.25→4) + GCS(15→0, 13–14→2, 11–12→5, ≤10→10) + P/F(≥201→0, 176–200→2, 151–175→3, 126–150→4, 101–125→5, ≤100→6) + RR(≤30→0, 31–35→1, 36–40→2, 41–45→3, ≥46→4); Duan 2017 ESM Table 2; max 25; low ≤5, high >5","gcs":15,"hacor_band":"low","heart_rate_bpm":80,"max_score":25,"pf_ratio":300,"ph":7.4,"respiratory_rate":18,"score":0}],"path":"/api/calc/hacor"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"gcs":{"description":"Total Glasgow Coma Scale 3-15 as assigned by the caller. Duan 2017 ESM Table 2: 15 → 0, 13-14 → 2, 11-12 → 5, ≤10 → 10. Not a GCS 10-12 / ≤9 table. magent does not GCS the patient.","type":"integer"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Duan 2017 ESM Table 2: ≤120 → 0, ≥121 → 1.","type":"integer"},"pf_ratio":{"description":"PaO2/FiO2 ratio (20-800). Duan 2017 ESM Table 2: ≥201 → 0, 176-200 → 2, 151-175 → 3, 126-150 → 4, 101-125 → 5, ≤100 → 6. magent does not read an ABG or a ventilator.","type":"number"},"ph":{"description":"Arterial pH (6.80-7.80). Duan 2017 ESM Table 2: ≥7.35 → 0, 7.30-7.34 → 2, 7.25-7.29 → 3, <7.25 → 4. magent does not read an ABG.","type":"number"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). Duan 2017 ESM Table 2: ≤30 → 0, 31-35 → 1, 36-40 → 2, 41-45 → 3, ≥46 → 4.","type":"integer"}},"required":["heart_rate_bpm","ph","gcs","pf_ratio","respiratory_rate"],"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":["hacor","niv","respiratory","hypoxemia","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:26:40.804Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:26:40.668Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"gcs":15,"heart_rate_bpm":80,"pf_ratio":300,"ph":7.4,"respiratory_rate":18},{"gcs":15,"heart_rate_bpm":80,"pf_ratio":300,"ph":7.4,"respiratory_rate":18}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Duan J, Han X, Bai L, Zhou L, Huang S","doi":"10.1007/s00134-016-4601-3","id":"duan-2017","pmid":"27812731","source":"Intensive Care Med. 2017;43(2):192-199","title":"Assessment of heart rate, acidosis, consciousness, oxygenation, and respiratory rate to predict noninvasive ventilation failure in hypoxemic patients"},"components":[{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"ph","points":0,"present":false,"value":7.4},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"pf_ratio","points":0,"present":false,"value":300},{"factor":"respiratory_rate","points":0,"present":false,"value":18}],"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":"hacor","formula_expression":"HACOR = HR(≤120→0, ≥121→1) + pH(≥7.35→0, 7.30–7.34→2, 7.25–7.29→3, <7.25→4) + GCS(15→0, 13–14→2, 11–12→5, ≤10→10) + P/F(≥201→0, 176–200→2, 151–175→3, 126–150→4, 101–125→5, ≤100→6) + RR(≤30→0, 31–35→1, 36–40→2, 41–45→3, ≥46→4); Duan 2017 ESM Table 2; max 25; low ≤5, high >5","gcs":15,"hacor_band":"low","heart_rate_bpm":80,"max_score":25,"pf_ratio":300,"ph":7.4,"respiratory_rate":18,"score":0},{"citation":{"authors":"Duan J, Han X, Bai L, Zhou L, Huang S","doi":"10.1007/s00134-016-4601-3","id":"duan-2017","pmid":"27812731","source":"Intensive Care Med. 2017;43(2):192-199","title":"Assessment of heart rate, acidosis, consciousness, oxygenation, and respiratory rate to predict noninvasive ventilation failure in hypoxemic patients"},"components":[{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"ph","points":0,"present":false,"value":7.4},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"pf_ratio","points":0,"present":false,"value":300},{"factor":"respiratory_rate","points":0,"present":false,"value":18}],"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":"hacor","formula_expression":"HACOR = HR(≤120→0, ≥121→1) + pH(≥7.35→0, 7.30–7.34→2, 7.25–7.29→3, <7.25→4) + GCS(15→0, 13–14→2, 11–12→5, ≤10→10) + P/F(≥201→0, 176–200→2, 151–175→3, 126–150→4, 101–125→5, ≤100→6) + RR(≤30→0, 31–35→1, 36–40→2, 41–45→3, ≥46→4); Duan 2017 ESM Table 2; max 25; low ≤5, high >5","gcs":15,"hacor_band":"low","heart_rate_bpm":80,"max_score":25,"pf_ratio":300,"ph":7.4,"respiratory_rate":18,"score":0}],"path":"/api/calc/hacor"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"gcs":{"description":"Total Glasgow Coma Scale 3-15 as assigned by the caller. Duan 2017 ESM Table 2: 15 → 0, 13-14 → 2, 11-12 → 5, ≤10 → 10. Not a GCS 10-12 / ≤9 table. magent does not GCS the patient.","type":"integer"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Duan 2017 ESM Table 2: ≤120 → 0, ≥121 → 1.","type":"integer"},"pf_ratio":{"description":"PaO2/FiO2 ratio (20-800). Duan 2017 ESM Table 2: ≥201 → 0, 176-200 → 2, 151-175 → 3, 126-150 → 4, 101-125 → 5, ≤100 → 6. magent does not read an ABG or a ventilator.","type":"number"},"ph":{"description":"Arterial pH (6.80-7.80). Duan 2017 ESM Table 2: ≥7.35 → 0, 7.30-7.34 → 2, 7.25-7.29 → 3, <7.25 → 4. magent does not read an ABG.","type":"number"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). Duan 2017 ESM Table 2: ≤30 → 0, 31-35 → 1, 36-40 → 2, 41-45 → 3, ≥46 → 4.","type":"integer"}},"required":["heart_rate_bpm","ph","gcs","pf_ratio","respiratory_rate"],"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},{"id":39130,"slug":"39130","resource":"https://api.magentlab.com/api/calc/h2fpef","description":"Reddy 2018 H2FPEF points score. Six components, max 9: BMI >30 (2), >=2 antihypertensives (1), atrial fibrillation (3), echo PASP >35 mm Hg (1), age >60 (1), E/e' >9 (1). BMI 30 and age 60 do not score. Returns score and max_score only; odds roughly double per point. Not probability classes, not the continuous nomogram, not HFA-PEFF, not a diagnosis or cath substitute. magent does not read echo or compute BMI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"antihypertensive_ge_2":false,"atrial_fibrillation":false,"bmi_kg_m2":25,"e_over_e_prime_gt_9":false,"pasp_gt_35":false},{"age":50,"antihypertensive_ge_2":false,"atrial_fibrillation":false,"bmi_kg_m2":25,"e_over_e_prime_gt_9":false,"pasp_gt_35":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"bmi_kg_m2":25,"citation":{"authors":"Reddy YNV, Carter RE, Obokata M, Redfield MM, Borlaug BA","doi":"10.1161/CIRCULATIONAHA.118.034646","id":"reddy-2018","pmid":"29792299","source":"Circulation. 2018;138(9):861-870","title":"A Simple, Evidence-Based Approach to Help Guide Diagnosis of Heart Failure With Preserved Ejection Fraction"},"components":[{"factor":"obesity","points":0,"present":false,"value":25},{"factor":"antihypertensive_ge_2","points":0,"present":false},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"pasp_gt_35","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"e_over_e_prime_gt_9","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":"h2fpef","formula_expression":"H2FPEF = 2*(bmi_kg_m2>30) + antihypertensive_ge_2 + 3*atrial_fibrillation + pasp_gt_35 + (age>60) + e_over_e_prime_gt_9; max 9 (Reddy 2018 points score; not the continuous nomogram, not HFA-PEFF)","max_score":9,"score":0},{"age_years":50,"bmi_kg_m2":25,"citation":{"authors":"Reddy YNV, Carter RE, Obokata M, Redfield MM, Borlaug BA","doi":"10.1161/CIRCULATIONAHA.118.034646","id":"reddy-2018","pmid":"29792299","source":"Circulation. 2018;138(9):861-870","title":"A Simple, Evidence-Based Approach to Help Guide Diagnosis of Heart Failure With Preserved Ejection Fraction"},"components":[{"factor":"obesity","points":0,"present":false,"value":25},{"factor":"antihypertensive_ge_2","points":0,"present":false},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"pasp_gt_35","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"e_over_e_prime_gt_9","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":"h2fpef","formula_expression":"H2FPEF = 2*(bmi_kg_m2>30) + antihypertensive_ge_2 + 3*atrial_fibrillation + pasp_gt_35 + (age>60) + e_over_e_prime_gt_9; max 9 (Reddy 2018 points score; not the continuous nomogram, not HFA-PEFF)","max_score":9,"score":0}],"path":"/api/calc/h2fpef"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Reddy 2018 elderly: scores 1 when >60. Age 60 does not score.","type":"integer"},"antihypertensive_ge_2":{"description":"Treatment with two or more antihypertensive drugs (Reddy 2018 hypertensive). true or false. Caller-assigned. 1 point if true.","type":"boolean"},"atrial_fibrillation":{"description":"Paroxysmal or persistent atrial fibrillation (Reddy 2018). true or false. Caller-assigned. 3 points if true.","type":"boolean"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Reddy 2018 heavy/obesity: scores 2 when >30. BMI 30 does not score. Caller-supplied; magent does not compute BMI from height and weight.","type":"number"},"e_over_e_prime_gt_9":{"description":"E/e' ratio >9 (Reddy 2018 filling pressures). true or false. Caller-assigned. 1 point if true. magent does not measure E/e'.","type":"boolean"},"pasp_gt_35":{"description":"Echocardiographic pulmonary artery systolic pressure >35 mm Hg (Reddy 2018 pulmonary hypertension). true or false. Caller-assigned. 1 point if true. magent does not measure PASP.","type":"boolean"}},"required":["age","bmi_kg_m2","antihypertensive_ge_2","atrial_fibrillation","pasp_gt_35","e_over_e_prime_gt_9"],"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":["h2fpef","hfpef","heart-failure","hemodynamics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:26:39.86Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:26:39.689Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"antihypertensive_ge_2":false,"atrial_fibrillation":false,"bmi_kg_m2":25,"e_over_e_prime_gt_9":false,"pasp_gt_35":false},{"age":50,"antihypertensive_ge_2":false,"atrial_fibrillation":false,"bmi_kg_m2":25,"e_over_e_prime_gt_9":false,"pasp_gt_35":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"bmi_kg_m2":25,"citation":{"authors":"Reddy YNV, Carter RE, Obokata M, Redfield MM, Borlaug BA","doi":"10.1161/CIRCULATIONAHA.118.034646","id":"reddy-2018","pmid":"29792299","source":"Circulation. 2018;138(9):861-870","title":"A Simple, Evidence-Based Approach to Help Guide Diagnosis of Heart Failure With Preserved Ejection Fraction"},"components":[{"factor":"obesity","points":0,"present":false,"value":25},{"factor":"antihypertensive_ge_2","points":0,"present":false},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"pasp_gt_35","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"e_over_e_prime_gt_9","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":"h2fpef","formula_expression":"H2FPEF = 2*(bmi_kg_m2>30) + antihypertensive_ge_2 + 3*atrial_fibrillation + pasp_gt_35 + (age>60) + e_over_e_prime_gt_9; max 9 (Reddy 2018 points score; not the continuous nomogram, not HFA-PEFF)","max_score":9,"score":0},{"age_years":50,"bmi_kg_m2":25,"citation":{"authors":"Reddy YNV, Carter RE, Obokata M, Redfield MM, Borlaug BA","doi":"10.1161/CIRCULATIONAHA.118.034646","id":"reddy-2018","pmid":"29792299","source":"Circulation. 2018;138(9):861-870","title":"A Simple, Evidence-Based Approach to Help Guide Diagnosis of Heart Failure With Preserved Ejection Fraction"},"components":[{"factor":"obesity","points":0,"present":false,"value":25},{"factor":"antihypertensive_ge_2","points":0,"present":false},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"pasp_gt_35","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"e_over_e_prime_gt_9","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":"h2fpef","formula_expression":"H2FPEF = 2*(bmi_kg_m2>30) + antihypertensive_ge_2 + 3*atrial_fibrillation + pasp_gt_35 + (age>60) + e_over_e_prime_gt_9; max 9 (Reddy 2018 points score; not the continuous nomogram, not HFA-PEFF)","max_score":9,"score":0}],"path":"/api/calc/h2fpef"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Reddy 2018 elderly: scores 1 when >60. Age 60 does not score.","type":"integer"},"antihypertensive_ge_2":{"description":"Treatment with two or more antihypertensive drugs (Reddy 2018 hypertensive). true or false. Caller-assigned. 1 point if true.","type":"boolean"},"atrial_fibrillation":{"description":"Paroxysmal or persistent atrial fibrillation (Reddy 2018). true or false. Caller-assigned. 3 points if true.","type":"boolean"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Reddy 2018 heavy/obesity: scores 2 when >30. BMI 30 does not score. Caller-supplied; magent does not compute BMI from height and weight.","type":"number"},"e_over_e_prime_gt_9":{"description":"E/e' ratio >9 (Reddy 2018 filling pressures). true or false. Caller-assigned. 1 point if true. magent does not measure E/e'.","type":"boolean"},"pasp_gt_35":{"description":"Echocardiographic pulmonary artery systolic pressure >35 mm Hg (Reddy 2018 pulmonary hypertension). true or false. Caller-assigned. 1 point if true. magent does not measure PASP.","type":"boolean"}},"required":["age","bmi_kg_m2","antihypertensive_ge_2","atrial_fibrillation","pasp_gt_35","e_over_e_prime_gt_9"],"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},{"id":39131,"slug":"39131","resource":"https://api.magentlab.com/api/calc/gwtg_hf","description":"Peterson 2010 GWTG-HF Figure 2 integer points for in-hospital mortality in hospitalized heart failure: age 0-28, systolic BP 0-28, BUN 0-28, sodium 0-4, heart rate 0-8, COPD +2, caller-assigned nonblack (black=false) +3. Total 0-100. magent does not assign race. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"black":true,"bun_mg_dl":20,"copd":false,"heart_rate_bpm":80,"sbp_mm_hg":130,"sodium_mmol_l":138},{"age":70,"black":true,"bun_mg_dl":20,"copd":false,"heart_rate_bpm":80,"sbp_mm_hg":130,"sodium_mmol_l":138}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":70,"black":true,"bun_mg_dl":20,"citation":{"authors":"Peterson PN, Rumsfeld JS, Liang L, Albert NM, Hernandez AF, Peterson ED, Fonarow GC, Masoudi FA","doi":"10.1161/CIRCOUTCOMES.109.854877","id":"peterson-2010-gwtg-hf","pmid":"20123668","source":"Circ Cardiovasc Qual Outcomes. 2010;3(1):25-32","title":"A validated risk score for in-hospital mortality in patients with heart failure from the American Heart Association Get With the Guidelines Program"},"components":[{"factor":"age","points":17,"present":true,"value":70},{"factor":"sbp_mm_hg","points":13,"present":true,"value":130},{"factor":"bun_mg_dl","points":4,"present":true,"value":20},{"factor":"sodium_mmol_l","points":1,"present":true,"value":138},{"factor":"heart_rate_bpm","points":1,"present":true,"value":80},{"factor":"copd","points":0,"present":false},{"factor":"nonblack","points":0,"present":false,"value":true}],"copd":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":"gwtg_hf","formula_expression":"GWTG-HF = age (<=19 0, 20-29 3, 30-39 6, 40-49 8, 50-59 11, 60-69 14, 70-79 17, 80-89 19, 90-99 22, 100-109 25, >=110 28) + sbp_mm_hg (50-59 28, 60-69 26, 70-79 24, 80-89 23, 90-99 21, 100-109 19, 110-119 17, 120-129 15, 130-139 13, 140-149 11, 150-159 9, 160-169 8, 170-179 6, 180-189 4, 190-199 2, >=200 0) + bun_mg_dl (<=9 0, 10-19 2, 20-29 4, 30-39 6, 40-49 8, 50-59 9, 60-69 11, 70-79 13, 80-89 15, 90-99 17, 100-109 19, 110-119 21, 120-129 23, 130-139 25, 140-149 27, >=150 28) + sodium_mmol_l (<=130 4, 131-133 3, 134-136 2, 137-138 1, >=139 0) + heart_rate_bpm (<=79 0, 80-84 1, 85-89 3, 90-94 4, 95-99 5, 100-104 6, >=105 8) + copd 2 + nonblack (black=false) 3; Peterson 2010 Figure 2 integer points; total clamped to 0-100","heart_rate_bpm":80,"max_score":100,"sbp_mm_hg":130,"score":36,"sodium_mmol_l":138},{"age":70,"black":true,"bun_mg_dl":20,"citation":{"authors":"Peterson PN, Rumsfeld JS, Liang L, Albert NM, Hernandez AF, Peterson ED, Fonarow GC, Masoudi FA","doi":"10.1161/CIRCOUTCOMES.109.854877","id":"peterson-2010-gwtg-hf","pmid":"20123668","source":"Circ Cardiovasc Qual Outcomes. 2010;3(1):25-32","title":"A validated risk score for in-hospital mortality in patients with heart failure from the American Heart Association Get With the Guidelines Program"},"components":[{"factor":"age","points":17,"present":true,"value":70},{"factor":"sbp_mm_hg","points":13,"present":true,"value":130},{"factor":"bun_mg_dl","points":4,"present":true,"value":20},{"factor":"sodium_mmol_l","points":1,"present":true,"value":138},{"factor":"heart_rate_bpm","points":1,"present":true,"value":80},{"factor":"copd","points":0,"present":false},{"factor":"nonblack","points":0,"present":false,"value":true}],"copd":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":"gwtg_hf","formula_expression":"GWTG-HF = age (<=19 0, 20-29 3, 30-39 6, 40-49 8, 50-59 11, 60-69 14, 70-79 17, 80-89 19, 90-99 22, 100-109 25, >=110 28) + sbp_mm_hg (50-59 28, 60-69 26, 70-79 24, 80-89 23, 90-99 21, 100-109 19, 110-119 17, 120-129 15, 130-139 13, 140-149 11, 150-159 9, 160-169 8, 170-179 6, 180-189 4, 190-199 2, >=200 0) + bun_mg_dl (<=9 0, 10-19 2, 20-29 4, 30-39 6, 40-49 8, 50-59 9, 60-69 11, 70-79 13, 80-89 15, 90-99 17, 100-109 19, 110-119 21, 120-129 23, 130-139 25, 140-149 27, >=150 28) + sodium_mmol_l (<=130 4, 131-133 3, 134-136 2, 137-138 1, >=139 0) + heart_rate_bpm (<=79 0, 80-84 1, 85-89 3, 90-94 4, 95-99 5, 100-104 6, >=105 8) + copd 2 + nonblack (black=false) 3; Peterson 2010 Figure 2 integer points; total clamped to 0-100","heart_rate_bpm":80,"max_score":100,"sbp_mm_hg":130,"score":36,"sodium_mmol_l":138}],"path":"/api/calc/gwtg_hf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Peterson 2010 Figure 2: ≤19 scores 0; 20-29 scores 3; 30-39 scores 6; 40-49 scores 8; 50-59 scores 11; 60-69 scores 14; 70-79 scores 17; 80-89 scores 19; 90-99 scores 22; 100-109 scores 25; ≥110 scores 28.","type":"integer"},"black":{"description":"Caller-assigned black as used in Peterson 2010; magent does not assign race. Nonblack race (false) scores 3. true or false.","type":"boolean"},"bun_mg_dl":{"description":"Admission blood urea nitrogen in mg/dL (integer 1-200). Peterson 2010 Figure 2: ≤9 scores 0; ≥150 scores 28. magent does not assay BUN.","type":"integer"},"copd":{"description":"History of chronic obstructive pulmonary disease as assigned by the caller (Peterson 2010 Figure 2). true scores 2. magent does not diagnose COPD.","type":"boolean"},"heart_rate_bpm":{"description":"Admission heart rate in beats per minute (integer 30-220). Peterson 2010 Figure 2: ≤79 scores 0; 80-84 scores 1; 85-89 scores 3; 90-94 scores 4; 95-99 scores 5; 100-104 scores 6; ≥105 scores 8. magent does not measure heart rate.","type":"integer"},"sbp_mm_hg":{"description":"Admission systolic blood pressure in mm Hg (integer 50-250). Peterson 2010 Figure 2: 50-59 scores 28, then lower points as SBP rises, to ≥200 scores 0. magent does not measure blood pressure.","type":"integer"},"sodium_mmol_l":{"description":"Admission serum sodium in mmol/L (integer 110-160; numerically equal to mEq/L). Peterson 2010 Figure 2: ≤130 scores 4; 131-133 scores 3; 134-136 scores 2; 137-138 scores 1; ≥139 scores 0. magent does not assay sodium.","type":"integer"}},"required":["age","sbp_mm_hg","bun_mg_dl","sodium_mmol_l","heart_rate_bpm","copd","black"],"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":["gwtg-hf","heart-failure","mortality","hemodynamics","score","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:21:56.353Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:21:56.244Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"black":true,"bun_mg_dl":20,"copd":false,"heart_rate_bpm":80,"sbp_mm_hg":130,"sodium_mmol_l":138},{"age":70,"black":true,"bun_mg_dl":20,"copd":false,"heart_rate_bpm":80,"sbp_mm_hg":130,"sodium_mmol_l":138}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":70,"black":true,"bun_mg_dl":20,"citation":{"authors":"Peterson PN, Rumsfeld JS, Liang L, Albert NM, Hernandez AF, Peterson ED, Fonarow GC, Masoudi FA","doi":"10.1161/CIRCOUTCOMES.109.854877","id":"peterson-2010-gwtg-hf","pmid":"20123668","source":"Circ Cardiovasc Qual Outcomes. 2010;3(1):25-32","title":"A validated risk score for in-hospital mortality in patients with heart failure from the American Heart Association Get With the Guidelines Program"},"components":[{"factor":"age","points":17,"present":true,"value":70},{"factor":"sbp_mm_hg","points":13,"present":true,"value":130},{"factor":"bun_mg_dl","points":4,"present":true,"value":20},{"factor":"sodium_mmol_l","points":1,"present":true,"value":138},{"factor":"heart_rate_bpm","points":1,"present":true,"value":80},{"factor":"copd","points":0,"present":false},{"factor":"nonblack","points":0,"present":false,"value":true}],"copd":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":"gwtg_hf","formula_expression":"GWTG-HF = age (<=19 0, 20-29 3, 30-39 6, 40-49 8, 50-59 11, 60-69 14, 70-79 17, 80-89 19, 90-99 22, 100-109 25, >=110 28) + sbp_mm_hg (50-59 28, 60-69 26, 70-79 24, 80-89 23, 90-99 21, 100-109 19, 110-119 17, 120-129 15, 130-139 13, 140-149 11, 150-159 9, 160-169 8, 170-179 6, 180-189 4, 190-199 2, >=200 0) + bun_mg_dl (<=9 0, 10-19 2, 20-29 4, 30-39 6, 40-49 8, 50-59 9, 60-69 11, 70-79 13, 80-89 15, 90-99 17, 100-109 19, 110-119 21, 120-129 23, 130-139 25, 140-149 27, >=150 28) + sodium_mmol_l (<=130 4, 131-133 3, 134-136 2, 137-138 1, >=139 0) + heart_rate_bpm (<=79 0, 80-84 1, 85-89 3, 90-94 4, 95-99 5, 100-104 6, >=105 8) + copd 2 + nonblack (black=false) 3; Peterson 2010 Figure 2 integer points; total clamped to 0-100","heart_rate_bpm":80,"max_score":100,"sbp_mm_hg":130,"score":36,"sodium_mmol_l":138},{"age":70,"black":true,"bun_mg_dl":20,"citation":{"authors":"Peterson PN, Rumsfeld JS, Liang L, Albert NM, Hernandez AF, Peterson ED, Fonarow GC, Masoudi FA","doi":"10.1161/CIRCOUTCOMES.109.854877","id":"peterson-2010-gwtg-hf","pmid":"20123668","source":"Circ Cardiovasc Qual Outcomes. 2010;3(1):25-32","title":"A validated risk score for in-hospital mortality in patients with heart failure from the American Heart Association Get With the Guidelines Program"},"components":[{"factor":"age","points":17,"present":true,"value":70},{"factor":"sbp_mm_hg","points":13,"present":true,"value":130},{"factor":"bun_mg_dl","points":4,"present":true,"value":20},{"factor":"sodium_mmol_l","points":1,"present":true,"value":138},{"factor":"heart_rate_bpm","points":1,"present":true,"value":80},{"factor":"copd","points":0,"present":false},{"factor":"nonblack","points":0,"present":false,"value":true}],"copd":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":"gwtg_hf","formula_expression":"GWTG-HF = age (<=19 0, 20-29 3, 30-39 6, 40-49 8, 50-59 11, 60-69 14, 70-79 17, 80-89 19, 90-99 22, 100-109 25, >=110 28) + sbp_mm_hg (50-59 28, 60-69 26, 70-79 24, 80-89 23, 90-99 21, 100-109 19, 110-119 17, 120-129 15, 130-139 13, 140-149 11, 150-159 9, 160-169 8, 170-179 6, 180-189 4, 190-199 2, >=200 0) + bun_mg_dl (<=9 0, 10-19 2, 20-29 4, 30-39 6, 40-49 8, 50-59 9, 60-69 11, 70-79 13, 80-89 15, 90-99 17, 100-109 19, 110-119 21, 120-129 23, 130-139 25, 140-149 27, >=150 28) + sodium_mmol_l (<=130 4, 131-133 3, 134-136 2, 137-138 1, >=139 0) + heart_rate_bpm (<=79 0, 80-84 1, 85-89 3, 90-94 4, 95-99 5, 100-104 6, >=105 8) + copd 2 + nonblack (black=false) 3; Peterson 2010 Figure 2 integer points; total clamped to 0-100","heart_rate_bpm":80,"max_score":100,"sbp_mm_hg":130,"score":36,"sodium_mmol_l":138}],"path":"/api/calc/gwtg_hf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Peterson 2010 Figure 2: ≤19 scores 0; 20-29 scores 3; 30-39 scores 6; 40-49 scores 8; 50-59 scores 11; 60-69 scores 14; 70-79 scores 17; 80-89 scores 19; 90-99 scores 22; 100-109 scores 25; ≥110 scores 28.","type":"integer"},"black":{"description":"Caller-assigned black as used in Peterson 2010; magent does not assign race. Nonblack race (false) scores 3. true or false.","type":"boolean"},"bun_mg_dl":{"description":"Admission blood urea nitrogen in mg/dL (integer 1-200). Peterson 2010 Figure 2: ≤9 scores 0; ≥150 scores 28. magent does not assay BUN.","type":"integer"},"copd":{"description":"History of chronic obstructive pulmonary disease as assigned by the caller (Peterson 2010 Figure 2). true scores 2. magent does not diagnose COPD.","type":"boolean"},"heart_rate_bpm":{"description":"Admission heart rate in beats per minute (integer 30-220). Peterson 2010 Figure 2: ≤79 scores 0; 80-84 scores 1; 85-89 scores 3; 90-94 scores 4; 95-99 scores 5; 100-104 scores 6; ≥105 scores 8. magent does not measure heart rate.","type":"integer"},"sbp_mm_hg":{"description":"Admission systolic blood pressure in mm Hg (integer 50-250). Peterson 2010 Figure 2: 50-59 scores 28, then lower points as SBP rises, to ≥200 scores 0. magent does not measure blood pressure.","type":"integer"},"sodium_mmol_l":{"description":"Admission serum sodium in mmol/L (integer 110-160; numerically equal to mEq/L). Peterson 2010 Figure 2: ≤130 scores 4; 131-133 scores 3; 134-136 scores 2; 137-138 scores 1; ≥139 scores 0. magent does not assay sodium.","type":"integer"}},"required":["age","sbp_mm_hg","bun_mg_dl","sodium_mmol_l","heart_rate_bpm","copd","black"],"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},{"id":39132,"slug":"39132","resource":"https://api.magentlab.com/api/calc/gupta_prf","description":"Gupta 2011 Chest logistic probability of postoperative respiratory failure (mechanical ventilation >48 h after surgery or unplanned intubation within 30 days) from ASA class, functional status, preoperative sepsis, emergency case, and surgery type (hernia reference). Returns logit and estimated_probability_percent. Not a medical device, not a diagnosis, not a ventilator order, and not ARISCAT. Gupta 2011 publishes no low/high cutoff.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"asa_class":2,"emergency":false,"functional_status":"independent","sepsis":"none","surgery":"hernia"},{"asa_class":2,"emergency":false,"functional_status":"independent","sepsis":"none","surgery":"hernia"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"asa_class":2,"citation":{"authors":"Gupta H, Gupta PK, Fang X, Miller WJ, Cemaj S, Forse RA, Morrow LE","doi":"10.1378/chest.11-0466","id":"gupta-2011-prf","pmid":"21757571","source":"Chest. 2011;140(5):1207-1215","title":"Development and validation of a risk calculator predicting postoperative respiratory failure"},"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.","emergency":false,"estimated_probability_percent":0.61,"formula":"gupta_prf","formula_expression":"L = -1.7397 + functional_status + asa_class + sepsis + emergency + surgery (Gupta 2011 Chest logistic table); independent 0, partially_dependent 0.7678, totally_dependent 1.4046; ASA1 -3.5265, ASA2 -2.0008, ASA3 -0.6201, ASA4 0.2441, ASA5 0; sepsis none -0.7840, sirs 0, sepsis 0.2752, septic_shock 0.9035; elective -0.5739, emergency 0; hernia 0, anorectal -1.3530, aortic 1.0781, bariatric -1.0112, brain 0.7336, breast -2.6462, cardiac 0.2744, ent 0.1060, foregut_hpb 0.9694, gbaas -0.5668, intestinal 0.5737, neck -0.5271, obstetric_gynecologic -1.2431, orthopedic -0.8577, other_abdomen 0.2416, peripheral_vascular -0.2389, skin -0.3206, spine -0.5220, thoracic 0.6715, vein -2.0080, urology 0.3093; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","functional_status":"independent","logit":-5.0984,"sepsis":"none","surgery":"hernia"},{"asa_class":2,"citation":{"authors":"Gupta H, Gupta PK, Fang X, Miller WJ, Cemaj S, Forse RA, Morrow LE","doi":"10.1378/chest.11-0466","id":"gupta-2011-prf","pmid":"21757571","source":"Chest. 2011;140(5):1207-1215","title":"Development and validation of a risk calculator predicting postoperative respiratory failure"},"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.","emergency":false,"estimated_probability_percent":0.61,"formula":"gupta_prf","formula_expression":"L = -1.7397 + functional_status + asa_class + sepsis + emergency + surgery (Gupta 2011 Chest logistic table); independent 0, partially_dependent 0.7678, totally_dependent 1.4046; ASA1 -3.5265, ASA2 -2.0008, ASA3 -0.6201, ASA4 0.2441, ASA5 0; sepsis none -0.7840, sirs 0, sepsis 0.2752, septic_shock 0.9035; elective -0.5739, emergency 0; hernia 0, anorectal -1.3530, aortic 1.0781, bariatric -1.0112, brain 0.7336, breast -2.6462, cardiac 0.2744, ent 0.1060, foregut_hpb 0.9694, gbaas -0.5668, intestinal 0.5737, neck -0.5271, obstetric_gynecologic -1.2431, orthopedic -0.8577, other_abdomen 0.2416, peripheral_vascular -0.2389, skin -0.3206, spine -0.5220, thoracic 0.6715, vein -2.0080, urology 0.3093; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","functional_status":"independent","logit":-5.0984,"sepsis":"none","surgery":"hernia"}],"path":"/api/calc/gupta_prf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"asa_class":{"description":"ASA physical status 1-5 (Gupta 2011 Chest logistic table; class 5 is the reference). class 1 -3.5265, class 2 -2.0008, class 3 -0.6201, class 4 +0.2441, class 5 adds 0. Caller-assigned integer.","type":"integer"},"emergency":{"description":"Gupta 2011 Chest emergency case as assigned by the caller: true (reference, 0) or false (elective, -0.5739).","type":"boolean"},"functional_status":{"description":"Gupta 2011 Chest functional status as assigned by the caller: independent (reference, 0), partially_dependent (+0.7678), or totally_dependent (+1.4046). magent does not examine the patient.","enum":["independent","partially_dependent","totally_dependent"],"type":"string"},"sepsis":{"description":"Gupta 2011 Chest preoperative sepsis category as assigned by the caller: none (-0.7840), sirs (reference, 0), sepsis (+0.2752), or septic_shock (+0.9035). magent does not diagnose sepsis.","enum":["none","sirs","sepsis","septic_shock"],"type":"string"},"surgery":{"description":"Gupta 2011 Chest procedure category as assigned by the caller. hernia (ventral, inguinal, or femoral) is the reference (0). gbaas is gallbladder, appendix, adrenal, or spleen. thoracic is non-esophageal thoracic. orthopedic is orthopedic or non-vascular extremity. ent excludes thyroid/parathyroid (neck). magent does not classify a CPT code.","enum":["hernia","anorectal","aortic","bariatric","brain","breast","cardiac","ent","foregut_hpb","gbaas","intestinal","neck","obstetric_gynecologic","orthopedic","other_abdomen","peripheral_vascular","skin","spine","thoracic","vein","urology"],"type":"string"}},"required":["functional_status","asa_class","sepsis","emergency","surgery"],"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":["gupta-prf","preoperative","respiratory-failure","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:21:55.476Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:21:55.321Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"asa_class":2,"emergency":false,"functional_status":"independent","sepsis":"none","surgery":"hernia"},{"asa_class":2,"emergency":false,"functional_status":"independent","sepsis":"none","surgery":"hernia"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"asa_class":2,"citation":{"authors":"Gupta H, Gupta PK, Fang X, Miller WJ, Cemaj S, Forse RA, Morrow LE","doi":"10.1378/chest.11-0466","id":"gupta-2011-prf","pmid":"21757571","source":"Chest. 2011;140(5):1207-1215","title":"Development and validation of a risk calculator predicting postoperative respiratory failure"},"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.","emergency":false,"estimated_probability_percent":0.61,"formula":"gupta_prf","formula_expression":"L = -1.7397 + functional_status + asa_class + sepsis + emergency + surgery (Gupta 2011 Chest logistic table); independent 0, partially_dependent 0.7678, totally_dependent 1.4046; ASA1 -3.5265, ASA2 -2.0008, ASA3 -0.6201, ASA4 0.2441, ASA5 0; sepsis none -0.7840, sirs 0, sepsis 0.2752, septic_shock 0.9035; elective -0.5739, emergency 0; hernia 0, anorectal -1.3530, aortic 1.0781, bariatric -1.0112, brain 0.7336, breast -2.6462, cardiac 0.2744, ent 0.1060, foregut_hpb 0.9694, gbaas -0.5668, intestinal 0.5737, neck -0.5271, obstetric_gynecologic -1.2431, orthopedic -0.8577, other_abdomen 0.2416, peripheral_vascular -0.2389, skin -0.3206, spine -0.5220, thoracic 0.6715, vein -2.0080, urology 0.3093; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","functional_status":"independent","logit":-5.0984,"sepsis":"none","surgery":"hernia"},{"asa_class":2,"citation":{"authors":"Gupta H, Gupta PK, Fang X, Miller WJ, Cemaj S, Forse RA, Morrow LE","doi":"10.1378/chest.11-0466","id":"gupta-2011-prf","pmid":"21757571","source":"Chest. 2011;140(5):1207-1215","title":"Development and validation of a risk calculator predicting postoperative respiratory failure"},"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.","emergency":false,"estimated_probability_percent":0.61,"formula":"gupta_prf","formula_expression":"L = -1.7397 + functional_status + asa_class + sepsis + emergency + surgery (Gupta 2011 Chest logistic table); independent 0, partially_dependent 0.7678, totally_dependent 1.4046; ASA1 -3.5265, ASA2 -2.0008, ASA3 -0.6201, ASA4 0.2441, ASA5 0; sepsis none -0.7840, sirs 0, sepsis 0.2752, septic_shock 0.9035; elective -0.5739, emergency 0; hernia 0, anorectal -1.3530, aortic 1.0781, bariatric -1.0112, brain 0.7336, breast -2.6462, cardiac 0.2744, ent 0.1060, foregut_hpb 0.9694, gbaas -0.5668, intestinal 0.5737, neck -0.5271, obstetric_gynecologic -1.2431, orthopedic -0.8577, other_abdomen 0.2416, peripheral_vascular -0.2389, skin -0.3206, spine -0.5220, thoracic 0.6715, vein -2.0080, urology 0.3093; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","functional_status":"independent","logit":-5.0984,"sepsis":"none","surgery":"hernia"}],"path":"/api/calc/gupta_prf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"asa_class":{"description":"ASA physical status 1-5 (Gupta 2011 Chest logistic table; class 5 is the reference). class 1 -3.5265, class 2 -2.0008, class 3 -0.6201, class 4 +0.2441, class 5 adds 0. Caller-assigned integer.","type":"integer"},"emergency":{"description":"Gupta 2011 Chest emergency case as assigned by the caller: true (reference, 0) or false (elective, -0.5739).","type":"boolean"},"functional_status":{"description":"Gupta 2011 Chest functional status as assigned by the caller: independent (reference, 0), partially_dependent (+0.7678), or totally_dependent (+1.4046). magent does not examine the patient.","enum":["independent","partially_dependent","totally_dependent"],"type":"string"},"sepsis":{"description":"Gupta 2011 Chest preoperative sepsis category as assigned by the caller: none (-0.7840), sirs (reference, 0), sepsis (+0.2752), or septic_shock (+0.9035). magent does not diagnose sepsis.","enum":["none","sirs","sepsis","septic_shock"],"type":"string"},"surgery":{"description":"Gupta 2011 Chest procedure category as assigned by the caller. hernia (ventral, inguinal, or femoral) is the reference (0). gbaas is gallbladder, appendix, adrenal, or spleen. thoracic is non-esophageal thoracic. orthopedic is orthopedic or non-vascular extremity. ent excludes thyroid/parathyroid (neck). magent does not classify a CPT code.","enum":["hernia","anorectal","aortic","bariatric","brain","breast","cardiac","ent","foregut_hpb","gbaas","intestinal","neck","obstetric_gynecologic","orthopedic","other_abdomen","peripheral_vascular","skin","spine","thoracic","vein","urology"],"type":"string"}},"required":["functional_status","asa_class","sepsis","emergency","surgery"],"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},{"id":39133,"slug":"39133","resource":"https://api.magentlab.com/api/calc/gupta_pneumonia","description":"Gupta 2013 Mayo Clin Proc logistic probability of postoperative pneumonia from age, COPD, ASA class, functional status, preoperative sepsis, smoking in the last year, and surgery type (hernia reference). Returns logit and estimated_probability_percent. Not a medical device, not a diagnosis, not an antibiotic order, and not a ventilator order. Gupta 2013 publishes no low/high cutoff and does not use race.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"asa_class":2,"copd":false,"functional_status":"independent","sepsis":"none","smoking":false,"surgery":"hernia"},{"age":40,"asa_class":2,"copd":false,"functional_status":"independent","sepsis":"none","smoking":false,"surgery":"hernia"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"asa_class":2,"citation":{"authors":"Gupta H, Gupta PK, Schuller D, Fang X, Miller WJ, Modrykamien A, Wichman TO, Morrow LE","doi":"10.1016/j.mayocp.2013.06.027","id":"gupta-2013-pneumonia","pmid":"24182703","source":"Mayo Clin Proc. 2013;88(11):1241-1249","title":"Development and validation of a risk calculator for predicting postoperative pneumonia"},"copd":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.","estimated_probability_percent":0.38,"formula":"gupta_pneumonia","formula_expression":"L = -2.8977 + 0.0144*age + copd + functional_status + asa_class + sepsis + smoking + surgery (Gupta 2013 Mayo Clin Proc logistic table); COPD no -0.4553, yes 0; independent 0, partially_dependent 0.7653, totally_dependent 0.9400; ASA1 -3.0225, ASA2 -1.6057, ASA3 -0.4915, ASA4 0.0123, ASA5 0; sepsis none -0.7641, sirs 0, sepsis -0.0842, septic_shock 0.1048; smoking no -0.4306, yes 0; hernia 0, anorectal -0.8470, aortic 0.7178, bariatric -0.6282, brain 0.6841, breast -2.3318, cardiac 0.1382, ent -0.3665, foregut_hpb 1.0660, gbaas -0.3951, intestinal 0.6169, neck -0.0872, obstetric_gynecologic -0.4101, orthopedic -0.5415, other_abdomen 0.4021, peripheral_vascular -0.4519, skin -0.5075, spine -0.5672, thoracic 0.8901, vein -1.4760, urology 0.1076; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","functional_status":"independent","logit":-5.5774,"sepsis":"none","smoking":false,"surgery":"hernia"},{"age_years":40,"asa_class":2,"citation":{"authors":"Gupta H, Gupta PK, Schuller D, Fang X, Miller WJ, Modrykamien A, Wichman TO, Morrow LE","doi":"10.1016/j.mayocp.2013.06.027","id":"gupta-2013-pneumonia","pmid":"24182703","source":"Mayo Clin Proc. 2013;88(11):1241-1249","title":"Development and validation of a risk calculator for predicting postoperative pneumonia"},"copd":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.","estimated_probability_percent":0.38,"formula":"gupta_pneumonia","formula_expression":"L = -2.8977 + 0.0144*age + copd + functional_status + asa_class + sepsis + smoking + surgery (Gupta 2013 Mayo Clin Proc logistic table); COPD no -0.4553, yes 0; independent 0, partially_dependent 0.7653, totally_dependent 0.9400; ASA1 -3.0225, ASA2 -1.6057, ASA3 -0.4915, ASA4 0.0123, ASA5 0; sepsis none -0.7641, sirs 0, sepsis -0.0842, septic_shock 0.1048; smoking no -0.4306, yes 0; hernia 0, anorectal -0.8470, aortic 0.7178, bariatric -0.6282, brain 0.6841, breast -2.3318, cardiac 0.1382, ent -0.3665, foregut_hpb 1.0660, gbaas -0.3951, intestinal 0.6169, neck -0.0872, obstetric_gynecologic -0.4101, orthopedic -0.5415, other_abdomen 0.4021, peripheral_vascular -0.4519, skin -0.5075, spine -0.5672, thoracic 0.8901, vein -1.4760, urology 0.1076; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","functional_status":"independent","logit":-5.5774,"sepsis":"none","smoking":false,"surgery":"hernia"}],"path":"/api/calc/gupta_pneumonia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Gupta 2013 Mayo Clin Proc: +0.0144 per year.","type":"integer"},"asa_class":{"description":"ASA physical status 1-5 (Gupta 2013 Mayo Clin Proc logistic table; class 5 is the reference). class 1 -3.0225, class 2 -1.6057, class 3 -0.4915, class 4 +0.0123, class 5 adds 0. Caller-assigned integer.","type":"integer"},"copd":{"description":"Gupta 2013 COPD causing functional disability or hospitalization, or FEV1 <75%, as assigned by the caller: true (reference, 0) or false (-0.4553). magent does not diagnose COPD.","type":"boolean"},"functional_status":{"description":"Gupta 2013 Mayo Clin Proc functional status as assigned by the caller: independent (reference, 0), partially_dependent (+0.7653), or totally_dependent (+0.9400). magent does not examine the patient.","enum":["independent","partially_dependent","totally_dependent"],"type":"string"},"sepsis":{"description":"Gupta 2013 Mayo Clin Proc preoperative sepsis category as assigned by the caller: none (-0.7641), sirs (reference, 0), sepsis (-0.0842), or septic_shock (+0.1048). magent does not diagnose sepsis.","enum":["none","sirs","sepsis","septic_shock"],"type":"string"},"smoking":{"description":"Gupta 2013 smoking within the last year as assigned by the caller: true (reference, 0) or false (-0.4306).","type":"boolean"},"surgery":{"description":"Gupta 2013 Mayo Clin Proc procedure category as assigned by the caller. hernia (ventral, inguinal, or femoral) is the reference (0). gbaas is gallbladder, appendix, adrenal, or spleen. thoracic is non-esophageal thoracic. orthopedic is orthopedic or non-vascular extremity. ent excludes thyroid/parathyroid (neck). magent does not classify a CPT code.","enum":["hernia","anorectal","aortic","bariatric","brain","breast","cardiac","ent","foregut_hpb","gbaas","intestinal","neck","obstetric_gynecologic","orthopedic","other_abdomen","peripheral_vascular","skin","spine","thoracic","vein","urology"],"type":"string"}},"required":["age","copd","functional_status","asa_class","sepsis","smoking","surgery"],"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":["gupta-pneumonia","preoperative","pneumonia","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:21:54.374Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:21:54.219Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"asa_class":2,"copd":false,"functional_status":"independent","sepsis":"none","smoking":false,"surgery":"hernia"},{"age":40,"asa_class":2,"copd":false,"functional_status":"independent","sepsis":"none","smoking":false,"surgery":"hernia"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"asa_class":2,"citation":{"authors":"Gupta H, Gupta PK, Schuller D, Fang X, Miller WJ, Modrykamien A, Wichman TO, Morrow LE","doi":"10.1016/j.mayocp.2013.06.027","id":"gupta-2013-pneumonia","pmid":"24182703","source":"Mayo Clin Proc. 2013;88(11):1241-1249","title":"Development and validation of a risk calculator for predicting postoperative pneumonia"},"copd":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.","estimated_probability_percent":0.38,"formula":"gupta_pneumonia","formula_expression":"L = -2.8977 + 0.0144*age + copd + functional_status + asa_class + sepsis + smoking + surgery (Gupta 2013 Mayo Clin Proc logistic table); COPD no -0.4553, yes 0; independent 0, partially_dependent 0.7653, totally_dependent 0.9400; ASA1 -3.0225, ASA2 -1.6057, ASA3 -0.4915, ASA4 0.0123, ASA5 0; sepsis none -0.7641, sirs 0, sepsis -0.0842, septic_shock 0.1048; smoking no -0.4306, yes 0; hernia 0, anorectal -0.8470, aortic 0.7178, bariatric -0.6282, brain 0.6841, breast -2.3318, cardiac 0.1382, ent -0.3665, foregut_hpb 1.0660, gbaas -0.3951, intestinal 0.6169, neck -0.0872, obstetric_gynecologic -0.4101, orthopedic -0.5415, other_abdomen 0.4021, peripheral_vascular -0.4519, skin -0.5075, spine -0.5672, thoracic 0.8901, vein -1.4760, urology 0.1076; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","functional_status":"independent","logit":-5.5774,"sepsis":"none","smoking":false,"surgery":"hernia"},{"age_years":40,"asa_class":2,"citation":{"authors":"Gupta H, Gupta PK, Schuller D, Fang X, Miller WJ, Modrykamien A, Wichman TO, Morrow LE","doi":"10.1016/j.mayocp.2013.06.027","id":"gupta-2013-pneumonia","pmid":"24182703","source":"Mayo Clin Proc. 2013;88(11):1241-1249","title":"Development and validation of a risk calculator for predicting postoperative pneumonia"},"copd":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.","estimated_probability_percent":0.38,"formula":"gupta_pneumonia","formula_expression":"L = -2.8977 + 0.0144*age + copd + functional_status + asa_class + sepsis + smoking + surgery (Gupta 2013 Mayo Clin Proc logistic table); COPD no -0.4553, yes 0; independent 0, partially_dependent 0.7653, totally_dependent 0.9400; ASA1 -3.0225, ASA2 -1.6057, ASA3 -0.4915, ASA4 0.0123, ASA5 0; sepsis none -0.7641, sirs 0, sepsis -0.0842, septic_shock 0.1048; smoking no -0.4306, yes 0; hernia 0, anorectal -0.8470, aortic 0.7178, bariatric -0.6282, brain 0.6841, breast -2.3318, cardiac 0.1382, ent -0.3665, foregut_hpb 1.0660, gbaas -0.3951, intestinal 0.6169, neck -0.0872, obstetric_gynecologic -0.4101, orthopedic -0.5415, other_abdomen 0.4021, peripheral_vascular -0.4519, skin -0.5075, spine -0.5672, thoracic 0.8901, vein -1.4760, urology 0.1076; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","functional_status":"independent","logit":-5.5774,"sepsis":"none","smoking":false,"surgery":"hernia"}],"path":"/api/calc/gupta_pneumonia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Gupta 2013 Mayo Clin Proc: +0.0144 per year.","type":"integer"},"asa_class":{"description":"ASA physical status 1-5 (Gupta 2013 Mayo Clin Proc logistic table; class 5 is the reference). class 1 -3.0225, class 2 -1.6057, class 3 -0.4915, class 4 +0.0123, class 5 adds 0. Caller-assigned integer.","type":"integer"},"copd":{"description":"Gupta 2013 COPD causing functional disability or hospitalization, or FEV1 <75%, as assigned by the caller: true (reference, 0) or false (-0.4553). magent does not diagnose COPD.","type":"boolean"},"functional_status":{"description":"Gupta 2013 Mayo Clin Proc functional status as assigned by the caller: independent (reference, 0), partially_dependent (+0.7653), or totally_dependent (+0.9400). magent does not examine the patient.","enum":["independent","partially_dependent","totally_dependent"],"type":"string"},"sepsis":{"description":"Gupta 2013 Mayo Clin Proc preoperative sepsis category as assigned by the caller: none (-0.7641), sirs (reference, 0), sepsis (-0.0842), or septic_shock (+0.1048). magent does not diagnose sepsis.","enum":["none","sirs","sepsis","septic_shock"],"type":"string"},"smoking":{"description":"Gupta 2013 smoking within the last year as assigned by the caller: true (reference, 0) or false (-0.4306).","type":"boolean"},"surgery":{"description":"Gupta 2013 Mayo Clin Proc procedure category as assigned by the caller. hernia (ventral, inguinal, or femoral) is the reference (0). gbaas is gallbladder, appendix, adrenal, or spleen. thoracic is non-esophageal thoracic. orthopedic is orthopedic or non-vascular extremity. ent excludes thyroid/parathyroid (neck). magent does not classify a CPT code.","enum":["hernia","anorectal","aortic","bariatric","brain","breast","cardiac","ent","foregut_hpb","gbaas","intestinal","neck","obstetric_gynecologic","orthopedic","other_abdomen","peripheral_vascular","skin","spine","thoracic","vein","urology"],"type":"string"}},"required":["age","copd","functional_status","asa_class","sepsis","smoking","surgery"],"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},{"id":39134,"slug":"39134","resource":"https://api.magentlab.com/api/calc/gupta_mica","description":"Gupta 2011 Table 2 logistic probability of 30-day myocardial infarction or cardiac arrest after surgery from age, ASA class, functional status, creatinine category (normal, abnormal >1.5 mg/dL, or missing), and surgery type (hernia reference). Returns logit and estimated_probability_percent. Not a medical device, not a diagnosis, not surgical clearance, and not RCRI. Gupta 2011 publishes no low/high cutoff.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"asa_class":2,"creatinine":"normal","functional_status":"independent","surgery":"gbaas"},{"age":40,"asa_class":2,"creatinine":"normal","functional_status":"independent","surgery":"gbaas"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"asa_class":2,"citation":{"authors":"Gupta PK, Gupta H, Sundaram A, et al.","doi":"10.1161/CIRCULATIONAHA.110.015701","id":"gupta-2011","pmid":"21730309","source":"Circulation. 2011;124(4):381-387","title":"Development and validation of a risk calculator for prediction of cardiac risk after surgery"},"creatinine":"normal","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.","estimated_probability_percent":0.08,"formula":"gupta_mica","formula_expression":"L = -5.25 + 0.02*age + functional_status + asa_class + creatinine + surgery (Gupta 2011 Table 2); independent 0, partially_dependent 0.65, totally_dependent 1.03; ASA1 -5.17, ASA2 -3.29, ASA3 -1.92, ASA4 -0.95, ASA5 0; creatinine normal 0, abnormal 0.61, missing -0.10; hernia 0, anorectal -0.16, aortic 1.60, bariatric -0.25, brain 1.40, breast -1.61, cardiac 1.01, ent 0.71, foregut_hpb 1.39, gbaas 0.59, intestinal 1.14, neck 0.18, obstetric_gynecologic 0.76, orthopedic 0.80, other_abdomen 1.13, peripheral_vascular 0.86, skin 0.54, spine 0.21, thoracic 0.40, vein -1.09, urology -0.26; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","functional_status":"independent","logit":-7.15,"surgery":"gbaas"},{"age_years":40,"asa_class":2,"citation":{"authors":"Gupta PK, Gupta H, Sundaram A, et al.","doi":"10.1161/CIRCULATIONAHA.110.015701","id":"gupta-2011","pmid":"21730309","source":"Circulation. 2011;124(4):381-387","title":"Development and validation of a risk calculator for prediction of cardiac risk after surgery"},"creatinine":"normal","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.","estimated_probability_percent":0.08,"formula":"gupta_mica","formula_expression":"L = -5.25 + 0.02*age + functional_status + asa_class + creatinine + surgery (Gupta 2011 Table 2); independent 0, partially_dependent 0.65, totally_dependent 1.03; ASA1 -5.17, ASA2 -3.29, ASA3 -1.92, ASA4 -0.95, ASA5 0; creatinine normal 0, abnormal 0.61, missing -0.10; hernia 0, anorectal -0.16, aortic 1.60, bariatric -0.25, brain 1.40, breast -1.61, cardiac 1.01, ent 0.71, foregut_hpb 1.39, gbaas 0.59, intestinal 1.14, neck 0.18, obstetric_gynecologic 0.76, orthopedic 0.80, other_abdomen 1.13, peripheral_vascular 0.86, skin 0.54, spine 0.21, thoracic 0.40, vein -1.09, urology -0.26; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","functional_status":"independent","logit":-7.15,"surgery":"gbaas"}],"path":"/api/calc/gupta_mica"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Gupta 2011 Table 2: +0.02 per year.","type":"integer"},"asa_class":{"description":"ASA physical status 1-5 (Gupta 2011 Table 2; class 5 is the reference). class 1 -5.17, class 2 -3.29, class 3 -1.92, class 4 -0.95, class 5 adds 0. Caller-assigned integer.","type":"integer"},"creatinine":{"description":"Gupta 2011 creatinine category as assigned by the caller: normal (reference, 0), abnormal (>1.5 mg/dL, +0.61), or missing (-0.10). Do not send a creatinine number.","enum":["normal","abnormal","missing"],"type":"string"},"functional_status":{"description":"Gupta 2011 functional status as assigned by the caller: independent (reference, 0), partially_dependent (+0.65), or totally_dependent (+1.03). magent does not examine the patient.","enum":["independent","partially_dependent","totally_dependent"],"type":"string"},"surgery":{"description":"Gupta 2011 Table 2 procedure category as assigned by the caller. hernia is the reference (0). gbaas is gallbladder, adrenal, appendix, or spleen (laparoscopic cholecystectomy in the paper example). magent does not classify a CPT code.","enum":["hernia","anorectal","aortic","bariatric","brain","breast","cardiac","ent","foregut_hpb","gbaas","intestinal","neck","obstetric_gynecologic","orthopedic","other_abdomen","peripheral_vascular","skin","spine","thoracic","vein","urology"],"type":"string"}},"required":["age","functional_status","asa_class","creatinine","surgery"],"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":["gupta-mica","preoperative","cardiac-risk","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:16:36.681Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:16:36.564Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"asa_class":2,"creatinine":"normal","functional_status":"independent","surgery":"gbaas"},{"age":40,"asa_class":2,"creatinine":"normal","functional_status":"independent","surgery":"gbaas"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"asa_class":2,"citation":{"authors":"Gupta PK, Gupta H, Sundaram A, et al.","doi":"10.1161/CIRCULATIONAHA.110.015701","id":"gupta-2011","pmid":"21730309","source":"Circulation. 2011;124(4):381-387","title":"Development and validation of a risk calculator for prediction of cardiac risk after surgery"},"creatinine":"normal","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.","estimated_probability_percent":0.08,"formula":"gupta_mica","formula_expression":"L = -5.25 + 0.02*age + functional_status + asa_class + creatinine + surgery (Gupta 2011 Table 2); independent 0, partially_dependent 0.65, totally_dependent 1.03; ASA1 -5.17, ASA2 -3.29, ASA3 -1.92, ASA4 -0.95, ASA5 0; creatinine normal 0, abnormal 0.61, missing -0.10; hernia 0, anorectal -0.16, aortic 1.60, bariatric -0.25, brain 1.40, breast -1.61, cardiac 1.01, ent 0.71, foregut_hpb 1.39, gbaas 0.59, intestinal 1.14, neck 0.18, obstetric_gynecologic 0.76, orthopedic 0.80, other_abdomen 1.13, peripheral_vascular 0.86, skin 0.54, spine 0.21, thoracic 0.40, vein -1.09, urology -0.26; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","functional_status":"independent","logit":-7.15,"surgery":"gbaas"},{"age_years":40,"asa_class":2,"citation":{"authors":"Gupta PK, Gupta H, Sundaram A, et al.","doi":"10.1161/CIRCULATIONAHA.110.015701","id":"gupta-2011","pmid":"21730309","source":"Circulation. 2011;124(4):381-387","title":"Development and validation of a risk calculator for prediction of cardiac risk after surgery"},"creatinine":"normal","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.","estimated_probability_percent":0.08,"formula":"gupta_mica","formula_expression":"L = -5.25 + 0.02*age + functional_status + asa_class + creatinine + surgery (Gupta 2011 Table 2); independent 0, partially_dependent 0.65, totally_dependent 1.03; ASA1 -5.17, ASA2 -3.29, ASA3 -1.92, ASA4 -0.95, ASA5 0; creatinine normal 0, abnormal 0.61, missing -0.10; hernia 0, anorectal -0.16, aortic 1.60, bariatric -0.25, brain 1.40, breast -1.61, cardiac 1.01, ent 0.71, foregut_hpb 1.39, gbaas 0.59, intestinal 1.14, neck 0.18, obstetric_gynecologic 0.76, orthopedic 0.80, other_abdomen 1.13, peripheral_vascular 0.86, skin 0.54, spine 0.21, thoracic 0.40, vein -1.09, urology -0.26; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","functional_status":"independent","logit":-7.15,"surgery":"gbaas"}],"path":"/api/calc/gupta_mica"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Gupta 2011 Table 2: +0.02 per year.","type":"integer"},"asa_class":{"description":"ASA physical status 1-5 (Gupta 2011 Table 2; class 5 is the reference). class 1 -5.17, class 2 -3.29, class 3 -1.92, class 4 -0.95, class 5 adds 0. Caller-assigned integer.","type":"integer"},"creatinine":{"description":"Gupta 2011 creatinine category as assigned by the caller: normal (reference, 0), abnormal (>1.5 mg/dL, +0.61), or missing (-0.10). Do not send a creatinine number.","enum":["normal","abnormal","missing"],"type":"string"},"functional_status":{"description":"Gupta 2011 functional status as assigned by the caller: independent (reference, 0), partially_dependent (+0.65), or totally_dependent (+1.03). magent does not examine the patient.","enum":["independent","partially_dependent","totally_dependent"],"type":"string"},"surgery":{"description":"Gupta 2011 Table 2 procedure category as assigned by the caller. hernia is the reference (0). gbaas is gallbladder, adrenal, appendix, or spleen (laparoscopic cholecystectomy in the paper example). magent does not classify a CPT code.","enum":["hernia","anorectal","aortic","bariatric","brain","breast","cardiac","ent","foregut_hpb","gbaas","intestinal","neck","obstetric_gynecologic","orthopedic","other_abdomen","peripheral_vascular","skin","spine","thoracic","vein","urology"],"type":"string"}},"required":["age","functional_status","asa_class","creatinine","surgery"],"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},{"id":39135,"slug":"39135","resource":"https://api.magentlab.com/api/calc/grogan","description":"Grogan 2016 ATTRwt staging: 1 point when NT-proBNP >3000 ng/L; 1 point when cardiac TnT >0.05 ng/mL. Stage I = 0, II = 1, III = 2. Equal to a cutoff does not score. Cohort 4-year OS I 57% / II 42% / III 18%; stage III median 20 months (labels, not a prediction). Troponin T only. Not Gillmore NAC (no eGFR). Not Mayo AL. Not NYHA. magent does not assay the biomarkers.","type":"http","serviceName":"magent","resourceType":"AI Inference","x402Version":2,"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":[{"nt_probnp_ng_l":1500,"troponin_t_ng_ml":0.02},{"nt_probnp_ng_l":1500,"troponin_t_ng_ml":0.02}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Grogan M, Scott CG, Kyle RA, Zeldenrust SR, Gertz MA, Lin G, Klarich KW, Miller WL, Maleszewski JJ, Dispenzieri A","doi":"10.1016/j.jacc.2016.06.033","id":"grogan-2016","pmid":"27585505","source":"J Am Coll Cardiol. 2016;68(10):1014-1020","title":"Natural History of Wild-Type Transthyretin Cardiac Amyloidosis and Risk Stratification Using a Novel Staging System"},"components":[{"factor":"nt_probnp_gt_3000","points":0,"present":false,"value":1500},{"factor":"troponin_t_gt_0_05","points":0,"present":false,"value":0.02}],"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":"grogan","formula_expression":"Grogan = (nt_probnp_ng_l > 3000) + (troponin_t_ng_ml > 0.05); each 1; Grogan 2016 ATTRwt; stage I = 0, II = 1, III = 2; equal to a cutoff does not add a point","grogan_stage":"I","max_score":2,"nt_probnp_ng_l":1500,"published_os_4_year_percent":57,"score":0,"troponin_t_ng_ml":0.02},{"citation":{"authors":"Grogan M, Scott CG, Kyle RA, Zeldenrust SR, Gertz MA, Lin G, Klarich KW, Miller WL, Maleszewski JJ, Dispenzieri A","doi":"10.1016/j.jacc.2016.06.033","id":"grogan-2016","pmid":"27585505","source":"J Am Coll Cardiol. 2016;68(10):1014-1020","title":"Natural History of Wild-Type Transthyretin Cardiac Amyloidosis and Risk Stratification Using a Novel Staging System"},"components":[{"factor":"nt_probnp_gt_3000","points":0,"present":false,"value":1500},{"factor":"troponin_t_gt_0_05","points":0,"present":false,"value":0.02}],"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":"grogan","formula_expression":"Grogan = (nt_probnp_ng_l > 3000) + (troponin_t_ng_ml > 0.05); each 1; Grogan 2016 ATTRwt; stage I = 0, II = 1, III = 2; equal to a cutoff does not add a point","grogan_stage":"I","max_score":2,"nt_probnp_ng_l":1500,"published_os_4_year_percent":57,"score":0,"troponin_t_ng_ml":0.02}],"path":"/api/calc/grogan"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"nt_probnp_ng_l":{"description":"NT-proBNP in ng/L (10-100000), same numeric value as pg/mL. Grogan 2016 scores 1 point when > 3000; equal to 3000 does not score. magent does not assay NT-proBNP.","type":"number"},"troponin_t_ng_ml":{"description":"Cardiac troponin T (cTnT) in ng/mL (0.001-50), same numeric value as 0.05 μg/L. Grogan 2016 scores 1 point when > 0.05; equal to 0.05 does not score. Troponin T only; magent does not invent a troponin I cutoff and does not assay troponin.","type":"number"}},"required":["nt_probnp_ng_l","troponin_t_ng_ml"],"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":["grogan","attr","amyloidosis","staging","hemodynamics","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:16:35.933Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:16:35.803Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"nt_probnp_ng_l":1500,"troponin_t_ng_ml":0.02},{"nt_probnp_ng_l":1500,"troponin_t_ng_ml":0.02}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Grogan M, Scott CG, Kyle RA, Zeldenrust SR, Gertz MA, Lin G, Klarich KW, Miller WL, Maleszewski JJ, Dispenzieri A","doi":"10.1016/j.jacc.2016.06.033","id":"grogan-2016","pmid":"27585505","source":"J Am Coll Cardiol. 2016;68(10):1014-1020","title":"Natural History of Wild-Type Transthyretin Cardiac Amyloidosis and Risk Stratification Using a Novel Staging System"},"components":[{"factor":"nt_probnp_gt_3000","points":0,"present":false,"value":1500},{"factor":"troponin_t_gt_0_05","points":0,"present":false,"value":0.02}],"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":"grogan","formula_expression":"Grogan = (nt_probnp_ng_l > 3000) + (troponin_t_ng_ml > 0.05); each 1; Grogan 2016 ATTRwt; stage I = 0, II = 1, III = 2; equal to a cutoff does not add a point","grogan_stage":"I","max_score":2,"nt_probnp_ng_l":1500,"published_os_4_year_percent":57,"score":0,"troponin_t_ng_ml":0.02},{"citation":{"authors":"Grogan M, Scott CG, Kyle RA, Zeldenrust SR, Gertz MA, Lin G, Klarich KW, Miller WL, Maleszewski JJ, Dispenzieri A","doi":"10.1016/j.jacc.2016.06.033","id":"grogan-2016","pmid":"27585505","source":"J Am Coll Cardiol. 2016;68(10):1014-1020","title":"Natural History of Wild-Type Transthyretin Cardiac Amyloidosis and Risk Stratification Using a Novel Staging System"},"components":[{"factor":"nt_probnp_gt_3000","points":0,"present":false,"value":1500},{"factor":"troponin_t_gt_0_05","points":0,"present":false,"value":0.02}],"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":"grogan","formula_expression":"Grogan = (nt_probnp_ng_l > 3000) + (troponin_t_ng_ml > 0.05); each 1; Grogan 2016 ATTRwt; stage I = 0, II = 1, III = 2; equal to a cutoff does not add a point","grogan_stage":"I","max_score":2,"nt_probnp_ng_l":1500,"published_os_4_year_percent":57,"score":0,"troponin_t_ng_ml":0.02}],"path":"/api/calc/grogan"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"nt_probnp_ng_l":{"description":"NT-proBNP in ng/L (10-100000), same numeric value as pg/mL. Grogan 2016 scores 1 point when > 3000; equal to 3000 does not score. magent does not assay NT-proBNP.","type":"number"},"troponin_t_ng_ml":{"description":"Cardiac troponin T (cTnT) in ng/mL (0.001-50), same numeric value as 0.05 μg/L. Grogan 2016 scores 1 point when > 0.05; equal to 0.05 does not score. Troponin T only; magent does not invent a troponin I cutoff and does not assay troponin.","type":"number"}},"required":["nt_probnp_ng_l","troponin_t_ng_ml"],"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},{"id":39136,"slug":"39136","resource":"https://api.magentlab.com/api/calc/grace","description":"Granger 2003 in-hospital GRACE 1.0: integer nomogram points from age, heart rate, systolic BP, creatinine (mg/dL or µmol/L), Killip class 1-4, cardiac arrest, ST-segment deviation, and elevated initial enzymes. Total 1-372. In-hospital mortality percent is that paper's printed score readout. Not GRACE 2.0, not Fox 2006 6-month, not ESC 108/140 cutoffs. Not a medical device and not a cath-lab order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":65,"cardiac_arrest":false,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"elevated_enzymes":false,"heart_rate_bpm":80,"killip_class":1,"sbp_mm_hg":130,"st_deviation":false},{"age":65,"cardiac_arrest":false,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"elevated_enzymes":false,"heart_rate_bpm":80,"killip_class":1,"sbp_mm_hg":130,"st_deviation":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"cardiac_arrest":false,"citation":{"authors":"Granger CB, Goldberg RJ, Dabbous O, Pieper KS, Eagle KA, Cannon CP, Van De Werf F, Avezum A, Goodman SG, Flather MD, Fox KA; Global Registry of Acute Coronary Events Investigators","doi":"10.1001/archinte.163.19.2345","id":"granger-2003-grace","pmid":"14581255","source":"Arch Intern Med. 2003;163(19):2345-2353","title":"Predictors of hospital mortality in the global registry of acute coronary events"},"components":[{"factor":"age","points":58,"present":true,"value":65},{"factor":"heart_rate_bpm","points":9,"present":true,"value":80},{"factor":"sbp_mm_hg","points":34,"present":true,"value":130},{"factor":"creatinine_mg_dl","points":7,"present":true,"value":1},{"factor":"killip_class","points":0,"present":false,"value":1},{"factor":"cardiac_arrest","points":0,"present":false},{"factor":"st_deviation","points":0,"present":false},{"factor":"elevated_enzymes","points":0,"present":false}],"creatinine_mg_dl":1,"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.","elevated_enzymes":false,"formula":"grace","formula_expression":"GRACE = age_points(<30:0, 30-39:8, 40-49:25, 50-59:41, 60-69:58, 70-79:75, 80-89:91, >=90:100) + heart_rate_points(<50:0, 50-69:3, 70-89:9, 90-109:15, 110-149:24, 150-199:38, >=200:46) + sbp_points(<80:58, 80-99:53, 100-119:43, 120-139:34, 140-159:24, 160-199:10, >=200:0) + creatinine_mg_dl_points(0-0.39:1, 0.4-0.79:4, 0.8-1.19:7, 1.2-1.59:10, 1.6-1.99:13, 2.0-3.99:21, >=4:28) + killip(1:0, 2:20, 3:39, 4:59) + 39 if cardiac_arrest + 28 if st_deviation + 14 if elevated_enzymes; Granger 2003 in-hospital GRACE 1.0 nomogram; max 372; in_hospital_mortality_percent is that paper's printed score readout (score<=60 → 0.2; then the labeled 70-240 percents at or below the total; score>=250 → 52); not ESC 108/140 cutoffs, not GRACE 2.0, not Fox 2006 6-month","heart_rate_bpm":80,"in_hospital_mortality_percent":0.8,"killip_class":1,"max_score":372,"sbp_mm_hg":130,"score":108,"st_deviation":false},{"age_years":65,"cardiac_arrest":false,"citation":{"authors":"Granger CB, Goldberg RJ, Dabbous O, Pieper KS, Eagle KA, Cannon CP, Van De Werf F, Avezum A, Goodman SG, Flather MD, Fox KA; Global Registry of Acute Coronary Events Investigators","doi":"10.1001/archinte.163.19.2345","id":"granger-2003-grace","pmid":"14581255","source":"Arch Intern Med. 2003;163(19):2345-2353","title":"Predictors of hospital mortality in the global registry of acute coronary events"},"components":[{"factor":"age","points":58,"present":true,"value":65},{"factor":"heart_rate_bpm","points":9,"present":true,"value":80},{"factor":"sbp_mm_hg","points":34,"present":true,"value":130},{"factor":"creatinine_mg_dl","points":7,"present":true,"value":1},{"factor":"killip_class","points":0,"present":false,"value":1},{"factor":"cardiac_arrest","points":0,"present":false},{"factor":"st_deviation","points":0,"present":false},{"factor":"elevated_enzymes","points":0,"present":false}],"creatinine_mg_dl":1,"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.","elevated_enzymes":false,"formula":"grace","formula_expression":"GRACE = age_points(<30:0, 30-39:8, 40-49:25, 50-59:41, 60-69:58, 70-79:75, 80-89:91, >=90:100) + heart_rate_points(<50:0, 50-69:3, 70-89:9, 90-109:15, 110-149:24, 150-199:38, >=200:46) + sbp_points(<80:58, 80-99:53, 100-119:43, 120-139:34, 140-159:24, 160-199:10, >=200:0) + creatinine_mg_dl_points(0-0.39:1, 0.4-0.79:4, 0.8-1.19:7, 1.2-1.59:10, 1.6-1.99:13, 2.0-3.99:21, >=4:28) + killip(1:0, 2:20, 3:39, 4:59) + 39 if cardiac_arrest + 28 if st_deviation + 14 if elevated_enzymes; Granger 2003 in-hospital GRACE 1.0 nomogram; max 372; in_hospital_mortality_percent is that paper's printed score readout (score<=60 → 0.2; then the labeled 70-240 percents at or below the total; score>=250 → 52); not ESC 108/140 cutoffs, not GRACE 2.0, not Fox 2006 6-month","heart_rate_bpm":80,"in_hospital_mortality_percent":0.8,"killip_class":1,"max_score":372,"sbp_mm_hg":130,"score":108,"st_deviation":false}],"path":"/api/calc/grace"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Granger 2003 nomogram: <30 scores 0; 30-39 scores 8; 40-49 scores 25; 50-59 scores 41; 60-69 scores 58; 70-79 scores 75; 80-89 scores 91; ≥90 scores 100.","type":"integer"},"cardiac_arrest":{"description":"Cardiac arrest at presentation as assigned by the caller (Granger 2003). true scores 39. magent does not read the chart. true or false.","type":"boolean"},"creatinine_mg_dl":{"description":"Initial serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. If both are sent, creatinine_mg_dl is scored. Granger 2003 nomogram: 0.0-0.39 scores 1; 0.4-0.79 scores 4; 0.8-1.19 scores 7; 1.2-1.59 scores 10; 1.6-1.99 scores 13; 2.0-3.99 scores 21; ≥4.0 scores 28.","type":"number"},"creatinine_umol_l":{"description":"Initial serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Alternate to creatinine_mg_dl. Ignored when creatinine_mg_dl is present.","type":"number"},"elevated_enzymes":{"description":"Elevated initial cardiac enzymes as assigned by the caller (Granger 2003). true scores 14. magent does not read the laboratory. true or false.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats/min (20-300). Granger 2003 nomogram: <50 scores 0; 50-69 scores 3; 70-89 scores 9; 90-109 scores 15; 110-149 scores 24; 150-199 scores 38; ≥200 scores 46.","type":"integer"},"killip_class":{"description":"Killip class 1-4 as assigned by the caller (1 no heart failure scores 0; 2 rales or elevated venous pressure scores 20; 3 pulmonary edema scores 39; 4 cardiogenic shock scores 59). magent does not examine the patient.","type":"integer"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (40-300). Granger 2003 nomogram, inverse: <80 scores 58; 80-99 scores 53; 100-119 scores 43; 120-139 scores 34; 140-159 scores 24; 160-199 scores 10; ≥200 scores 0.","type":"integer"},"st_deviation":{"description":"ST-segment deviation on the presenting ECG as assigned by the caller (Granger 2003). true scores 28. magent does not interpret the ECG. true or false.","type":"boolean"}},"required":["age","heart_rate_bpm","sbp_mm_hg","killip_class","cardiac_arrest","st_deviation","elevated_enzymes"],"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":["grace","acs","killip","mortality","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:16:34.985Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:16:34.86Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":65,"cardiac_arrest":false,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"elevated_enzymes":false,"heart_rate_bpm":80,"killip_class":1,"sbp_mm_hg":130,"st_deviation":false},{"age":65,"cardiac_arrest":false,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"elevated_enzymes":false,"heart_rate_bpm":80,"killip_class":1,"sbp_mm_hg":130,"st_deviation":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"cardiac_arrest":false,"citation":{"authors":"Granger CB, Goldberg RJ, Dabbous O, Pieper KS, Eagle KA, Cannon CP, Van De Werf F, Avezum A, Goodman SG, Flather MD, Fox KA; Global Registry of Acute Coronary Events Investigators","doi":"10.1001/archinte.163.19.2345","id":"granger-2003-grace","pmid":"14581255","source":"Arch Intern Med. 2003;163(19):2345-2353","title":"Predictors of hospital mortality in the global registry of acute coronary events"},"components":[{"factor":"age","points":58,"present":true,"value":65},{"factor":"heart_rate_bpm","points":9,"present":true,"value":80},{"factor":"sbp_mm_hg","points":34,"present":true,"value":130},{"factor":"creatinine_mg_dl","points":7,"present":true,"value":1},{"factor":"killip_class","points":0,"present":false,"value":1},{"factor":"cardiac_arrest","points":0,"present":false},{"factor":"st_deviation","points":0,"present":false},{"factor":"elevated_enzymes","points":0,"present":false}],"creatinine_mg_dl":1,"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.","elevated_enzymes":false,"formula":"grace","formula_expression":"GRACE = age_points(<30:0, 30-39:8, 40-49:25, 50-59:41, 60-69:58, 70-79:75, 80-89:91, >=90:100) + heart_rate_points(<50:0, 50-69:3, 70-89:9, 90-109:15, 110-149:24, 150-199:38, >=200:46) + sbp_points(<80:58, 80-99:53, 100-119:43, 120-139:34, 140-159:24, 160-199:10, >=200:0) + creatinine_mg_dl_points(0-0.39:1, 0.4-0.79:4, 0.8-1.19:7, 1.2-1.59:10, 1.6-1.99:13, 2.0-3.99:21, >=4:28) + killip(1:0, 2:20, 3:39, 4:59) + 39 if cardiac_arrest + 28 if st_deviation + 14 if elevated_enzymes; Granger 2003 in-hospital GRACE 1.0 nomogram; max 372; in_hospital_mortality_percent is that paper's printed score readout (score<=60 → 0.2; then the labeled 70-240 percents at or below the total; score>=250 → 52); not ESC 108/140 cutoffs, not GRACE 2.0, not Fox 2006 6-month","heart_rate_bpm":80,"in_hospital_mortality_percent":0.8,"killip_class":1,"max_score":372,"sbp_mm_hg":130,"score":108,"st_deviation":false},{"age_years":65,"cardiac_arrest":false,"citation":{"authors":"Granger CB, Goldberg RJ, Dabbous O, Pieper KS, Eagle KA, Cannon CP, Van De Werf F, Avezum A, Goodman SG, Flather MD, Fox KA; Global Registry of Acute Coronary Events Investigators","doi":"10.1001/archinte.163.19.2345","id":"granger-2003-grace","pmid":"14581255","source":"Arch Intern Med. 2003;163(19):2345-2353","title":"Predictors of hospital mortality in the global registry of acute coronary events"},"components":[{"factor":"age","points":58,"present":true,"value":65},{"factor":"heart_rate_bpm","points":9,"present":true,"value":80},{"factor":"sbp_mm_hg","points":34,"present":true,"value":130},{"factor":"creatinine_mg_dl","points":7,"present":true,"value":1},{"factor":"killip_class","points":0,"present":false,"value":1},{"factor":"cardiac_arrest","points":0,"present":false},{"factor":"st_deviation","points":0,"present":false},{"factor":"elevated_enzymes","points":0,"present":false}],"creatinine_mg_dl":1,"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.","elevated_enzymes":false,"formula":"grace","formula_expression":"GRACE = age_points(<30:0, 30-39:8, 40-49:25, 50-59:41, 60-69:58, 70-79:75, 80-89:91, >=90:100) + heart_rate_points(<50:0, 50-69:3, 70-89:9, 90-109:15, 110-149:24, 150-199:38, >=200:46) + sbp_points(<80:58, 80-99:53, 100-119:43, 120-139:34, 140-159:24, 160-199:10, >=200:0) + creatinine_mg_dl_points(0-0.39:1, 0.4-0.79:4, 0.8-1.19:7, 1.2-1.59:10, 1.6-1.99:13, 2.0-3.99:21, >=4:28) + killip(1:0, 2:20, 3:39, 4:59) + 39 if cardiac_arrest + 28 if st_deviation + 14 if elevated_enzymes; Granger 2003 in-hospital GRACE 1.0 nomogram; max 372; in_hospital_mortality_percent is that paper's printed score readout (score<=60 → 0.2; then the labeled 70-240 percents at or below the total; score>=250 → 52); not ESC 108/140 cutoffs, not GRACE 2.0, not Fox 2006 6-month","heart_rate_bpm":80,"in_hospital_mortality_percent":0.8,"killip_class":1,"max_score":372,"sbp_mm_hg":130,"score":108,"st_deviation":false}],"path":"/api/calc/grace"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Granger 2003 nomogram: <30 scores 0; 30-39 scores 8; 40-49 scores 25; 50-59 scores 41; 60-69 scores 58; 70-79 scores 75; 80-89 scores 91; ≥90 scores 100.","type":"integer"},"cardiac_arrest":{"description":"Cardiac arrest at presentation as assigned by the caller (Granger 2003). true scores 39. magent does not read the chart. true or false.","type":"boolean"},"creatinine_mg_dl":{"description":"Initial serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. If both are sent, creatinine_mg_dl is scored. Granger 2003 nomogram: 0.0-0.39 scores 1; 0.4-0.79 scores 4; 0.8-1.19 scores 7; 1.2-1.59 scores 10; 1.6-1.99 scores 13; 2.0-3.99 scores 21; ≥4.0 scores 28.","type":"number"},"creatinine_umol_l":{"description":"Initial serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Alternate to creatinine_mg_dl. Ignored when creatinine_mg_dl is present.","type":"number"},"elevated_enzymes":{"description":"Elevated initial cardiac enzymes as assigned by the caller (Granger 2003). true scores 14. magent does not read the laboratory. true or false.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats/min (20-300). Granger 2003 nomogram: <50 scores 0; 50-69 scores 3; 70-89 scores 9; 90-109 scores 15; 110-149 scores 24; 150-199 scores 38; ≥200 scores 46.","type":"integer"},"killip_class":{"description":"Killip class 1-4 as assigned by the caller (1 no heart failure scores 0; 2 rales or elevated venous pressure scores 20; 3 pulmonary edema scores 39; 4 cardiogenic shock scores 59). magent does not examine the patient.","type":"integer"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (40-300). Granger 2003 nomogram, inverse: <80 scores 58; 80-99 scores 53; 100-119 scores 43; 120-139 scores 34; 140-159 scores 24; 160-199 scores 10; ≥200 scores 0.","type":"integer"},"st_deviation":{"description":"ST-segment deviation on the presenting ECG as assigned by the caller (Granger 2003). true scores 28. magent does not interpret the ECG. true or false.","type":"boolean"}},"required":["age","heart_rate_bpm","sbp_mm_hg","killip_class","cardiac_arrest","st_deviation","elevated_enzymes"],"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},{"id":39137,"slug":"39137","resource":"https://api.magentlab.com/api/calc/gold_copd","description":"GOLD 2017 spirometric grade (Vogelmeier executive summary). Post-bronchodilator FEV1/FVC < 0.70 defines obstruction; then GOLD 1 if FEV1 % predicted >= 80, GOLD 2 if 50 to <80, GOLD 3 if 30 to <50, GOLD 4 if <30. Ratio >= 0.70 returns not_obstructed even when FEV1 is low. Not GOLD ABE (no mMRC, CAT, or exacerbations). magent does not perform spirometry. Not a medical device or a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fev1_fvc_ratio":0.65,"fev1_percent_predicted":85},{"fev1_fvc_ratio":0.65,"fev1_percent_predicted":85}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Vogelmeier CF, Criner GJ, Martinez FJ, Anzueto A, Barnes PJ, Bourbeau J, Celli BR, Chen R, Decramer M, Fabbri LM, Frith P, Halpin DMG, López Varela MV, Nishimura M, Roche N, Rodriguez-Roisin R, Sin DD, Singh D, Stockley R, Vestbo J, Wedzicha JA, Agustí A","doi":"10.1183/13993003.00214-2017","id":"vogelmeier-2017","source":"Eur Respir J. 2017;49(3):1700214","title":"Global Strategy for the Diagnosis, Management, and Prevention of Chronic Obstructive Lung Disease 2017 Report. GOLD Executive Summary"},"components":[{"factor":"obstructed","met":true,"value":0.65},{"factor":"gold_1","met":true,"value":85},{"factor":"gold_2","met":false,"value":85},{"factor":"gold_3","met":false,"value":85},{"factor":"gold_4","met":false,"value":85}],"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.","fev1_fvc_ratio":0.65,"fev1_percent_predicted":85,"formula":"gold_copd","formula_expression":"If post-bronchodilator FEV1/FVC >= 0.70 then gold_grade is not_obstructed (no GOLD 1-4). If FEV1/FVC < 0.70: GOLD 1 (mild) FEV1 >= 80% predicted; GOLD 2 (moderate) 50% <= FEV1 < 80%; GOLD 3 (severe) 30% <= FEV1 < 50%; GOLD 4 (very severe) FEV1 < 30% (Vogelmeier 2017 GOLD executive summary)","gold_grade":"1","obstructed":true},{"citation":{"authors":"Vogelmeier CF, Criner GJ, Martinez FJ, Anzueto A, Barnes PJ, Bourbeau J, Celli BR, Chen R, Decramer M, Fabbri LM, Frith P, Halpin DMG, López Varela MV, Nishimura M, Roche N, Rodriguez-Roisin R, Sin DD, Singh D, Stockley R, Vestbo J, Wedzicha JA, Agustí A","doi":"10.1183/13993003.00214-2017","id":"vogelmeier-2017","source":"Eur Respir J. 2017;49(3):1700214","title":"Global Strategy for the Diagnosis, Management, and Prevention of Chronic Obstructive Lung Disease 2017 Report. GOLD Executive Summary"},"components":[{"factor":"obstructed","met":true,"value":0.65},{"factor":"gold_1","met":true,"value":85},{"factor":"gold_2","met":false,"value":85},{"factor":"gold_3","met":false,"value":85},{"factor":"gold_4","met":false,"value":85}],"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.","fev1_fvc_ratio":0.65,"fev1_percent_predicted":85,"formula":"gold_copd","formula_expression":"If post-bronchodilator FEV1/FVC >= 0.70 then gold_grade is not_obstructed (no GOLD 1-4). If FEV1/FVC < 0.70: GOLD 1 (mild) FEV1 >= 80% predicted; GOLD 2 (moderate) 50% <= FEV1 < 80%; GOLD 3 (severe) 30% <= FEV1 < 50%; GOLD 4 (very severe) FEV1 < 30% (Vogelmeier 2017 GOLD executive summary)","gold_grade":"1","obstructed":true}],"path":"/api/calc/gold_copd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fev1_fvc_ratio":{"description":"Post-bronchodilator FEV1/FVC as a fraction (0.20-1.00). Values < 0.70 are obstructed; 0.70 and above are not_obstructed with no GOLD 1-4. magent does not perform spirometry.","type":"number"},"fev1_percent_predicted":{"description":"Post-bronchodilator FEV1 as percent of predicted (10-150). Used for GOLD 1-4 only when FEV1/FVC is < 0.70. magent does not perform spirometry.","type":"number"}},"required":["fev1_percent_predicted","fev1_fvc_ratio"],"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":["gold-copd","copd","spirometry","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:11:47.608Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:11:47.481Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fev1_fvc_ratio":0.65,"fev1_percent_predicted":85},{"fev1_fvc_ratio":0.65,"fev1_percent_predicted":85}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Vogelmeier CF, Criner GJ, Martinez FJ, Anzueto A, Barnes PJ, Bourbeau J, Celli BR, Chen R, Decramer M, Fabbri LM, Frith P, Halpin DMG, López Varela MV, Nishimura M, Roche N, Rodriguez-Roisin R, Sin DD, Singh D, Stockley R, Vestbo J, Wedzicha JA, Agustí A","doi":"10.1183/13993003.00214-2017","id":"vogelmeier-2017","source":"Eur Respir J. 2017;49(3):1700214","title":"Global Strategy for the Diagnosis, Management, and Prevention of Chronic Obstructive Lung Disease 2017 Report. GOLD Executive Summary"},"components":[{"factor":"obstructed","met":true,"value":0.65},{"factor":"gold_1","met":true,"value":85},{"factor":"gold_2","met":false,"value":85},{"factor":"gold_3","met":false,"value":85},{"factor":"gold_4","met":false,"value":85}],"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.","fev1_fvc_ratio":0.65,"fev1_percent_predicted":85,"formula":"gold_copd","formula_expression":"If post-bronchodilator FEV1/FVC >= 0.70 then gold_grade is not_obstructed (no GOLD 1-4). If FEV1/FVC < 0.70: GOLD 1 (mild) FEV1 >= 80% predicted; GOLD 2 (moderate) 50% <= FEV1 < 80%; GOLD 3 (severe) 30% <= FEV1 < 50%; GOLD 4 (very severe) FEV1 < 30% (Vogelmeier 2017 GOLD executive summary)","gold_grade":"1","obstructed":true},{"citation":{"authors":"Vogelmeier CF, Criner GJ, Martinez FJ, Anzueto A, Barnes PJ, Bourbeau J, Celli BR, Chen R, Decramer M, Fabbri LM, Frith P, Halpin DMG, López Varela MV, Nishimura M, Roche N, Rodriguez-Roisin R, Sin DD, Singh D, Stockley R, Vestbo J, Wedzicha JA, Agustí A","doi":"10.1183/13993003.00214-2017","id":"vogelmeier-2017","source":"Eur Respir J. 2017;49(3):1700214","title":"Global Strategy for the Diagnosis, Management, and Prevention of Chronic Obstructive Lung Disease 2017 Report. GOLD Executive Summary"},"components":[{"factor":"obstructed","met":true,"value":0.65},{"factor":"gold_1","met":true,"value":85},{"factor":"gold_2","met":false,"value":85},{"factor":"gold_3","met":false,"value":85},{"factor":"gold_4","met":false,"value":85}],"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.","fev1_fvc_ratio":0.65,"fev1_percent_predicted":85,"formula":"gold_copd","formula_expression":"If post-bronchodilator FEV1/FVC >= 0.70 then gold_grade is not_obstructed (no GOLD 1-4). If FEV1/FVC < 0.70: GOLD 1 (mild) FEV1 >= 80% predicted; GOLD 2 (moderate) 50% <= FEV1 < 80%; GOLD 3 (severe) 30% <= FEV1 < 50%; GOLD 4 (very severe) FEV1 < 30% (Vogelmeier 2017 GOLD executive summary)","gold_grade":"1","obstructed":true}],"path":"/api/calc/gold_copd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fev1_fvc_ratio":{"description":"Post-bronchodilator FEV1/FVC as a fraction (0.20-1.00). Values < 0.70 are obstructed; 0.70 and above are not_obstructed with no GOLD 1-4. magent does not perform spirometry.","type":"number"},"fev1_percent_predicted":{"description":"Post-bronchodilator FEV1 as percent of predicted (10-150). Used for GOLD 1-4 only when FEV1/FVC is < 0.70. magent does not perform spirometry.","type":"number"}},"required":["fev1_percent_predicted","fev1_fvc_ratio"],"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},{"id":39138,"slug":"39138","resource":"https://api.magentlab.com/api/calc/go_far","description":"Ebell 2013 GO-FAR integer score for CPC 1 after in-hospital CPR. Exclusive age (<70=0, 70-74=2, 75-79=5, 80-84=6, >=85=11) plus 12 caller-assigned flags (intact CPC 1 at admission -15; trauma 10; stroke 8; cancer 7; septicemia 7; medical noncardiac 7; hepatic 6; SNF 6; hypotension 5; renal 4; respiratory 4; pneumonia 1). Range -15 to 76. Bands: >=24 very_low, 14-23 low, -5 to 13 average, <=-6 above_average. Not GO-FAR 2. Not a DNAR order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_stroke":false,"admit_from_skilled_nursing":false,"age":60,"hepatic_insufficiency":false,"hypotension_or_hypoperfusion":false,"major_trauma":false,"medical_noncardiac_diagnosis":false,"metastatic_or_hematologic_cancer":false,"neurologically_intact_or_minimal_deficits":false,"pneumonia":false,"renal_insufficiency_or_dialysis":false,"respiratory_insufficiency":false,"septicemia":false},{"acute_stroke":false,"admit_from_skilled_nursing":false,"age":60,"hepatic_insufficiency":false,"hypotension_or_hypoperfusion":false,"major_trauma":false,"medical_noncardiac_diagnosis":false,"metastatic_or_hematologic_cancer":false,"neurologically_intact_or_minimal_deficits":false,"pneumonia":false,"renal_insufficiency_or_dialysis":false,"respiratory_insufficiency":false,"septicemia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Ebell MH, Jang W, Shen Y, Geocadin RG, et al","doi":"10.1001/jamainternmed.2013.10037","id":"ebell-2013","pmid":"24018585","source":"JAMA Intern Med. 2013;173(20):1872-1878","title":"Development and Validation of the Good Outcome Following Attempted Resuscitation (GO-FAR) Score to Predict Neurologically Intact Survival After In-Hospital Cardiopulmonary Resuscitation"},"components":[{"factor":"age","points":0,"present":false,"value":60},{"factor":"neurologically_intact_or_minimal_deficits","points":0,"present":false},{"factor":"major_trauma","points":0,"present":false},{"factor":"acute_stroke","points":0,"present":false},{"factor":"metastatic_or_hematologic_cancer","points":0,"present":false},{"factor":"septicemia","points":0,"present":false},{"factor":"medical_noncardiac_diagnosis","points":0,"present":false},{"factor":"hepatic_insufficiency","points":0,"present":false},{"factor":"admit_from_skilled_nursing","points":0,"present":false},{"factor":"hypotension_or_hypoperfusion","points":0,"present":false},{"factor":"renal_insufficiency_or_dialysis","points":0,"present":false},{"factor":"respiratory_insufficiency","points":0,"present":false},{"factor":"pneumonia","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":"go_far","formula_expression":"GO-FAR = exclusive age (<70: 0, 70-74: 2, 75-79: 5, 80-84: 6, >=85: 11) + Table 3 flags (neurologically intact -15, major trauma 10, acute stroke 8, metastatic or hematologic cancer 7, septicemia 7, medical noncardiac 7, hepatic insufficiency 6, admit from SNF 6, hypotension or hypoperfusion 5, renal insufficiency or dialysis 4, respiratory insufficiency 4, pneumonia 1); range -15 to 76; >=24 very_low, 14-23 low, -5 to 13 average, <=-6 above_average (Ebell 2013)","max_score":76,"risk_band":"average","score":0},{"age_years":60,"citation":{"authors":"Ebell MH, Jang W, Shen Y, Geocadin RG, et al","doi":"10.1001/jamainternmed.2013.10037","id":"ebell-2013","pmid":"24018585","source":"JAMA Intern Med. 2013;173(20):1872-1878","title":"Development and Validation of the Good Outcome Following Attempted Resuscitation (GO-FAR) Score to Predict Neurologically Intact Survival After In-Hospital Cardiopulmonary Resuscitation"},"components":[{"factor":"age","points":0,"present":false,"value":60},{"factor":"neurologically_intact_or_minimal_deficits","points":0,"present":false},{"factor":"major_trauma","points":0,"present":false},{"factor":"acute_stroke","points":0,"present":false},{"factor":"metastatic_or_hematologic_cancer","points":0,"present":false},{"factor":"septicemia","points":0,"present":false},{"factor":"medical_noncardiac_diagnosis","points":0,"present":false},{"factor":"hepatic_insufficiency","points":0,"present":false},{"factor":"admit_from_skilled_nursing","points":0,"present":false},{"factor":"hypotension_or_hypoperfusion","points":0,"present":false},{"factor":"renal_insufficiency_or_dialysis","points":0,"present":false},{"factor":"respiratory_insufficiency","points":0,"present":false},{"factor":"pneumonia","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":"go_far","formula_expression":"GO-FAR = exclusive age (<70: 0, 70-74: 2, 75-79: 5, 80-84: 6, >=85: 11) + Table 3 flags (neurologically intact -15, major trauma 10, acute stroke 8, metastatic or hematologic cancer 7, septicemia 7, medical noncardiac 7, hepatic insufficiency 6, admit from SNF 6, hypotension or hypoperfusion 5, renal insufficiency or dialysis 4, respiratory insufficiency 4, pneumonia 1); range -15 to 76; >=24 very_low, 14-23 low, -5 to 13 average, <=-6 above_average (Ebell 2013)","max_score":76,"risk_band":"average","score":0}],"path":"/api/calc/go_far"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_stroke":{"description":"Acute stroke as assigned by the caller (Ebell 2013 Table 3). true scores 8. magent does not diagnose stroke.","type":"boolean"},"admit_from_skilled_nursing":{"description":"Admitted from a skilled nursing facility as assigned by the caller (Ebell 2013 Table 3). true scores 6.","type":"boolean"},"age":{"description":"Age in years (18-120). Ebell 2013 exclusive bands: younger than 70 scores 0; 70-74 scores 2; 75-79 scores 5; 80-84 scores 6; 85 or older scores 11. Age 69 scores 0; 70 scores 2.","type":"integer"},"hepatic_insufficiency":{"description":"Hepatic insufficiency as assigned by the caller (Ebell 2013 Table 3). true scores 6. magent does not grade liver tests.","type":"boolean"},"hypotension_or_hypoperfusion":{"description":"Hypotension or hypoperfusion as assigned by the caller (Ebell 2013 Table 3). true scores 5. magent does not take blood pressure.","type":"boolean"},"major_trauma":{"description":"Major trauma as assigned by the caller (Ebell 2013 Table 3). true scores 10. magent does not examine the patient.","type":"boolean"},"medical_noncardiac_diagnosis":{"description":"Medical noncardiac diagnosis as assigned by the caller (Ebell 2013 Table 3). true scores 7. Independent of the other flags.","type":"boolean"},"metastatic_or_hematologic_cancer":{"description":"Metastatic or hematologic cancer as assigned by the caller (Ebell 2013 Table 3). true scores 7. magent does not diagnose cancer.","type":"boolean"},"neurologically_intact_or_minimal_deficits":{"description":"Neurologically intact or with minimal deficits at admission (CPC 1) as assigned by the caller (Ebell 2013 Table 3). true scores -15. false scores 0. magent does not assign CPC or examine the patient.","type":"boolean"},"pneumonia":{"description":"Pneumonia as assigned by the caller (Ebell 2013 Table 3). true scores 1. magent does not diagnose pneumonia.","type":"boolean"},"renal_insufficiency_or_dialysis":{"description":"Renal insufficiency or dialysis as assigned by the caller (Ebell 2013 Table 3). true scores 4. magent does not grade creatinine.","type":"boolean"},"respiratory_insufficiency":{"description":"Respiratory insufficiency as assigned by the caller (Ebell 2013 Table 3). true scores 4. magent does not interpret blood gas or ventilator settings.","type":"boolean"},"septicemia":{"description":"Septicemia as assigned by the caller (Ebell 2013 Table 3). true scores 7. magent does not diagnose infection.","type":"boolean"}},"required":["age","neurologically_intact_or_minimal_deficits","major_trauma","acute_stroke","metastatic_or_hematologic_cancer","septicemia","medical_noncardiac_diagnosis","hepatic_insufficiency","admit_from_skilled_nursing","hypotension_or_hypoperfusion","renal_insufficiency_or_dialysis","respiratory_insufficiency","pneumonia"],"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":["go-far","ihca","resuscitation","cpr","score","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:11:46.82Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:11:46.651Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_stroke":false,"admit_from_skilled_nursing":false,"age":60,"hepatic_insufficiency":false,"hypotension_or_hypoperfusion":false,"major_trauma":false,"medical_noncardiac_diagnosis":false,"metastatic_or_hematologic_cancer":false,"neurologically_intact_or_minimal_deficits":false,"pneumonia":false,"renal_insufficiency_or_dialysis":false,"respiratory_insufficiency":false,"septicemia":false},{"acute_stroke":false,"admit_from_skilled_nursing":false,"age":60,"hepatic_insufficiency":false,"hypotension_or_hypoperfusion":false,"major_trauma":false,"medical_noncardiac_diagnosis":false,"metastatic_or_hematologic_cancer":false,"neurologically_intact_or_minimal_deficits":false,"pneumonia":false,"renal_insufficiency_or_dialysis":false,"respiratory_insufficiency":false,"septicemia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Ebell MH, Jang W, Shen Y, Geocadin RG, et al","doi":"10.1001/jamainternmed.2013.10037","id":"ebell-2013","pmid":"24018585","source":"JAMA Intern Med. 2013;173(20):1872-1878","title":"Development and Validation of the Good Outcome Following Attempted Resuscitation (GO-FAR) Score to Predict Neurologically Intact Survival After In-Hospital Cardiopulmonary Resuscitation"},"components":[{"factor":"age","points":0,"present":false,"value":60},{"factor":"neurologically_intact_or_minimal_deficits","points":0,"present":false},{"factor":"major_trauma","points":0,"present":false},{"factor":"acute_stroke","points":0,"present":false},{"factor":"metastatic_or_hematologic_cancer","points":0,"present":false},{"factor":"septicemia","points":0,"present":false},{"factor":"medical_noncardiac_diagnosis","points":0,"present":false},{"factor":"hepatic_insufficiency","points":0,"present":false},{"factor":"admit_from_skilled_nursing","points":0,"present":false},{"factor":"hypotension_or_hypoperfusion","points":0,"present":false},{"factor":"renal_insufficiency_or_dialysis","points":0,"present":false},{"factor":"respiratory_insufficiency","points":0,"present":false},{"factor":"pneumonia","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":"go_far","formula_expression":"GO-FAR = exclusive age (<70: 0, 70-74: 2, 75-79: 5, 80-84: 6, >=85: 11) + Table 3 flags (neurologically intact -15, major trauma 10, acute stroke 8, metastatic or hematologic cancer 7, septicemia 7, medical noncardiac 7, hepatic insufficiency 6, admit from SNF 6, hypotension or hypoperfusion 5, renal insufficiency or dialysis 4, respiratory insufficiency 4, pneumonia 1); range -15 to 76; >=24 very_low, 14-23 low, -5 to 13 average, <=-6 above_average (Ebell 2013)","max_score":76,"risk_band":"average","score":0},{"age_years":60,"citation":{"authors":"Ebell MH, Jang W, Shen Y, Geocadin RG, et al","doi":"10.1001/jamainternmed.2013.10037","id":"ebell-2013","pmid":"24018585","source":"JAMA Intern Med. 2013;173(20):1872-1878","title":"Development and Validation of the Good Outcome Following Attempted Resuscitation (GO-FAR) Score to Predict Neurologically Intact Survival After In-Hospital Cardiopulmonary Resuscitation"},"components":[{"factor":"age","points":0,"present":false,"value":60},{"factor":"neurologically_intact_or_minimal_deficits","points":0,"present":false},{"factor":"major_trauma","points":0,"present":false},{"factor":"acute_stroke","points":0,"present":false},{"factor":"metastatic_or_hematologic_cancer","points":0,"present":false},{"factor":"septicemia","points":0,"present":false},{"factor":"medical_noncardiac_diagnosis","points":0,"present":false},{"factor":"hepatic_insufficiency","points":0,"present":false},{"factor":"admit_from_skilled_nursing","points":0,"present":false},{"factor":"hypotension_or_hypoperfusion","points":0,"present":false},{"factor":"renal_insufficiency_or_dialysis","points":0,"present":false},{"factor":"respiratory_insufficiency","points":0,"present":false},{"factor":"pneumonia","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":"go_far","formula_expression":"GO-FAR = exclusive age (<70: 0, 70-74: 2, 75-79: 5, 80-84: 6, >=85: 11) + Table 3 flags (neurologically intact -15, major trauma 10, acute stroke 8, metastatic or hematologic cancer 7, septicemia 7, medical noncardiac 7, hepatic insufficiency 6, admit from SNF 6, hypotension or hypoperfusion 5, renal insufficiency or dialysis 4, respiratory insufficiency 4, pneumonia 1); range -15 to 76; >=24 very_low, 14-23 low, -5 to 13 average, <=-6 above_average (Ebell 2013)","max_score":76,"risk_band":"average","score":0}],"path":"/api/calc/go_far"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_stroke":{"description":"Acute stroke as assigned by the caller (Ebell 2013 Table 3). true scores 8. magent does not diagnose stroke.","type":"boolean"},"admit_from_skilled_nursing":{"description":"Admitted from a skilled nursing facility as assigned by the caller (Ebell 2013 Table 3). true scores 6.","type":"boolean"},"age":{"description":"Age in years (18-120). Ebell 2013 exclusive bands: younger than 70 scores 0; 70-74 scores 2; 75-79 scores 5; 80-84 scores 6; 85 or older scores 11. Age 69 scores 0; 70 scores 2.","type":"integer"},"hepatic_insufficiency":{"description":"Hepatic insufficiency as assigned by the caller (Ebell 2013 Table 3). true scores 6. magent does not grade liver tests.","type":"boolean"},"hypotension_or_hypoperfusion":{"description":"Hypotension or hypoperfusion as assigned by the caller (Ebell 2013 Table 3). true scores 5. magent does not take blood pressure.","type":"boolean"},"major_trauma":{"description":"Major trauma as assigned by the caller (Ebell 2013 Table 3). true scores 10. magent does not examine the patient.","type":"boolean"},"medical_noncardiac_diagnosis":{"description":"Medical noncardiac diagnosis as assigned by the caller (Ebell 2013 Table 3). true scores 7. Independent of the other flags.","type":"boolean"},"metastatic_or_hematologic_cancer":{"description":"Metastatic or hematologic cancer as assigned by the caller (Ebell 2013 Table 3). true scores 7. magent does not diagnose cancer.","type":"boolean"},"neurologically_intact_or_minimal_deficits":{"description":"Neurologically intact or with minimal deficits at admission (CPC 1) as assigned by the caller (Ebell 2013 Table 3). true scores -15. false scores 0. magent does not assign CPC or examine the patient.","type":"boolean"},"pneumonia":{"description":"Pneumonia as assigned by the caller (Ebell 2013 Table 3). true scores 1. magent does not diagnose pneumonia.","type":"boolean"},"renal_insufficiency_or_dialysis":{"description":"Renal insufficiency or dialysis as assigned by the caller (Ebell 2013 Table 3). true scores 4. magent does not grade creatinine.","type":"boolean"},"respiratory_insufficiency":{"description":"Respiratory insufficiency as assigned by the caller (Ebell 2013 Table 3). true scores 4. magent does not interpret blood gas or ventilator settings.","type":"boolean"},"septicemia":{"description":"Septicemia as assigned by the caller (Ebell 2013 Table 3). true scores 7. magent does not diagnose infection.","type":"boolean"}},"required":["age","neurologically_intact_or_minimal_deficits","major_trauma","acute_stroke","metastatic_or_hematologic_cancer","septicemia","medical_noncardiac_diagnosis","hepatic_insufficiency","admit_from_skilled_nursing","hypotension_or_hypoperfusion","renal_insufficiency_or_dialysis","respiratory_insufficiency","pneumonia"],"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},{"id":39139,"slug":"39139","resource":"https://api.magentlab.com/api/calc/gmaws","description":"McPherson 2012 GMAWS from five caller-assigned 0-2 items (tremor, sweating, hallucination, orientation, agitation) using that paper's Figure 1 0/1/2 descriptors. magent sums only (max 10) and returns Figure 1 bands zero, 1_to_3, 4_to_8, or 9_to_10. Temperature is not an item. magent does not observe the patient. Not a benzodiazepine or treatment order.","type":"http","serviceName":"magent","resourceType":"MCP Tool","x402Version":2,"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":[{"agitation":0,"hallucination":0,"orientation":0,"sweating":0,"tremor":0},{"agitation":0,"hallucination":0,"orientation":0,"sweating":0,"tremor":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"McPherson A, Benson G, Forrest EH","doi":"10.1093/qjmed/hcs020","id":"mcpherson-2012","pmid":"22328545","source":"QJM. 2012;105(7):649-656","title":"Appraisal of the Glasgow assessment and management of alcohol guideline: a comprehensive alcohol management protocol for use in general hospitals"},"components":[{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"hallucination","points":0,"present":true,"value":0},{"factor":"orientation","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0}],"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":"gmaws","formula_expression":"GMAWS = tremor + sweating + hallucination + orientation + agitation; each caller-assigned 0-2; max 10","gmaws_band":"zero","max_score":10,"score":0},{"citation":{"authors":"McPherson A, Benson G, Forrest EH","doi":"10.1093/qjmed/hcs020","id":"mcpherson-2012","pmid":"22328545","source":"QJM. 2012;105(7):649-656","title":"Appraisal of the Glasgow assessment and management of alcohol guideline: a comprehensive alcohol management protocol for use in general hospitals"},"components":[{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"hallucination","points":0,"present":true,"value":0},{"factor":"orientation","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0}],"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":"gmaws","formula_expression":"GMAWS = tremor + sweating + hallucination + orientation + agitation; each caller-assigned 0-2; max 10","gmaws_band":"zero","max_score":10,"score":0}],"path":"/api/calc/gmaws"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"agitation":{"description":"Caller-assigned McPherson 2012 Figure 1 agitation (integer 0-2): 0 calm; 1 anxious; 2 panicky. magent does not observe the patient.","type":"integer"},"hallucination":{"description":"Caller-assigned McPherson 2012 Figure 1 hallucination (integer 0-2): 0 not present; 1 dissuadable; 2 not dissuadable. magent does not observe the patient.","type":"integer"},"orientation":{"description":"Caller-assigned McPherson 2012 Figure 1 orientation (integer 0-2): 0 orientated; 1 vague/detached; 2 disorientated, no contact. magent does not observe the patient.","type":"integer"},"sweating":{"description":"Caller-assigned McPherson 2012 Figure 1 sweating (integer 0-2): 0 no sweat visible; 1 moist; 2 drenching sweats. magent does not observe the patient.","type":"integer"},"tremor":{"description":"Caller-assigned McPherson 2012 Figure 1 tremor (integer 0-2): 0 no tremor; 1 on movement; 2 at rest. magent does not observe the patient.","type":"integer"}},"required":["tremor","sweating","hallucination","orientation","agitation"],"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":["gmaws","alcohol","withdrawal","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:11:45.674Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:11:45.507Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"agitation":0,"hallucination":0,"orientation":0,"sweating":0,"tremor":0},{"agitation":0,"hallucination":0,"orientation":0,"sweating":0,"tremor":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"McPherson A, Benson G, Forrest EH","doi":"10.1093/qjmed/hcs020","id":"mcpherson-2012","pmid":"22328545","source":"QJM. 2012;105(7):649-656","title":"Appraisal of the Glasgow assessment and management of alcohol guideline: a comprehensive alcohol management protocol for use in general hospitals"},"components":[{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"hallucination","points":0,"present":true,"value":0},{"factor":"orientation","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0}],"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":"gmaws","formula_expression":"GMAWS = tremor + sweating + hallucination + orientation + agitation; each caller-assigned 0-2; max 10","gmaws_band":"zero","max_score":10,"score":0},{"citation":{"authors":"McPherson A, Benson G, Forrest EH","doi":"10.1093/qjmed/hcs020","id":"mcpherson-2012","pmid":"22328545","source":"QJM. 2012;105(7):649-656","title":"Appraisal of the Glasgow assessment and management of alcohol guideline: a comprehensive alcohol management protocol for use in general hospitals"},"components":[{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"hallucination","points":0,"present":true,"value":0},{"factor":"orientation","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0}],"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":"gmaws","formula_expression":"GMAWS = tremor + sweating + hallucination + orientation + agitation; each caller-assigned 0-2; max 10","gmaws_band":"zero","max_score":10,"score":0}],"path":"/api/calc/gmaws"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"agitation":{"description":"Caller-assigned McPherson 2012 Figure 1 agitation (integer 0-2): 0 calm; 1 anxious; 2 panicky. magent does not observe the patient.","type":"integer"},"hallucination":{"description":"Caller-assigned McPherson 2012 Figure 1 hallucination (integer 0-2): 0 not present; 1 dissuadable; 2 not dissuadable. magent does not observe the patient.","type":"integer"},"orientation":{"description":"Caller-assigned McPherson 2012 Figure 1 orientation (integer 0-2): 0 orientated; 1 vague/detached; 2 disorientated, no contact. magent does not observe the patient.","type":"integer"},"sweating":{"description":"Caller-assigned McPherson 2012 Figure 1 sweating (integer 0-2): 0 no sweat visible; 1 moist; 2 drenching sweats. magent does not observe the patient.","type":"integer"},"tremor":{"description":"Caller-assigned McPherson 2012 Figure 1 tremor (integer 0-2): 0 no tremor; 1 on movement; 2 at rest. magent does not observe the patient.","type":"integer"}},"required":["tremor","sweating","hallucination","orientation","agitation"],"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},{"id":39140,"slug":"39140","resource":"https://api.magentlab.com/api/calc/gleason","description":"Gleason 1974 prostatic adenocarcinoma score from caller-assigned primary pattern 1-5 plus secondary pattern 1-5. Score equals primary plus secondary (range 2-10). magent does not read slides. Not ISUP/Epstein 2016 Grade Groups. Not 2005 ISUP modified pattern rules. Not a diagnosis or treatment recommendation. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"primary":3,"secondary":3},{"primary":3,"secondary":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gleason DF, Mellinger GT, Veterans Administration Cooperative Urological Research Group","doi":"10.1016/S0022-5347(17)59889-4","id":"gleason-1974","pmid":"4813554","source":"J Urol. 1974;111(1):58-64","title":"Prediction of prognosis for prostatic adenocarcinoma by combined histological grading and clinical staging"},"components":[{"factor":"primary","points":3,"present":true,"value":3},{"factor":"secondary","points":3,"present":true,"value":3}],"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":"gleason","formula_expression":"Gleason score = primary + secondary; each pattern 1-5 as assigned by the caller (Gleason 1974); range 2-10. magent does not read slides. Not ISUP/Epstein 2016 Grade Groups. Not 2005 ISUP modified pattern rules.","max_score":10,"primary":3,"score":6,"secondary":3},{"citation":{"authors":"Gleason DF, Mellinger GT, Veterans Administration Cooperative Urological Research Group","doi":"10.1016/S0022-5347(17)59889-4","id":"gleason-1974","pmid":"4813554","source":"J Urol. 1974;111(1):58-64","title":"Prediction of prognosis for prostatic adenocarcinoma by combined histological grading and clinical staging"},"components":[{"factor":"primary","points":3,"present":true,"value":3},{"factor":"secondary","points":3,"present":true,"value":3}],"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":"gleason","formula_expression":"Gleason score = primary + secondary; each pattern 1-5 as assigned by the caller (Gleason 1974); range 2-10. magent does not read slides. Not ISUP/Epstein 2016 Grade Groups. Not 2005 ISUP modified pattern rules.","max_score":10,"primary":3,"score":6,"secondary":3}],"path":"/api/calc/gleason"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"primary":{"description":"Caller-assigned Gleason 1974 primary (predominant) histologic pattern. Integer 1-5 only; reject 0, 6, 1.5, and roman I. magent does not read slides or apply 2005 ISUP modified pattern rules.","type":"integer"},"secondary":{"description":"Caller-assigned Gleason 1974 secondary histologic pattern. Integer 1-5 only; reject 0, 6, 1.5, and roman I. magent does not read slides or apply 2005 ISUP modified pattern rules.","type":"integer"}},"required":["primary","secondary"],"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":["gleason","prostate","kidney","grading","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:06:20.302Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:06:20.184Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"primary":3,"secondary":3},{"primary":3,"secondary":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gleason DF, Mellinger GT, Veterans Administration Cooperative Urological Research Group","doi":"10.1016/S0022-5347(17)59889-4","id":"gleason-1974","pmid":"4813554","source":"J Urol. 1974;111(1):58-64","title":"Prediction of prognosis for prostatic adenocarcinoma by combined histological grading and clinical staging"},"components":[{"factor":"primary","points":3,"present":true,"value":3},{"factor":"secondary","points":3,"present":true,"value":3}],"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":"gleason","formula_expression":"Gleason score = primary + secondary; each pattern 1-5 as assigned by the caller (Gleason 1974); range 2-10. magent does not read slides. Not ISUP/Epstein 2016 Grade Groups. Not 2005 ISUP modified pattern rules.","max_score":10,"primary":3,"score":6,"secondary":3},{"citation":{"authors":"Gleason DF, Mellinger GT, Veterans Administration Cooperative Urological Research Group","doi":"10.1016/S0022-5347(17)59889-4","id":"gleason-1974","pmid":"4813554","source":"J Urol. 1974;111(1):58-64","title":"Prediction of prognosis for prostatic adenocarcinoma by combined histological grading and clinical staging"},"components":[{"factor":"primary","points":3,"present":true,"value":3},{"factor":"secondary","points":3,"present":true,"value":3}],"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":"gleason","formula_expression":"Gleason score = primary + secondary; each pattern 1-5 as assigned by the caller (Gleason 1974); range 2-10. magent does not read slides. Not ISUP/Epstein 2016 Grade Groups. Not 2005 ISUP modified pattern rules.","max_score":10,"primary":3,"score":6,"secondary":3}],"path":"/api/calc/gleason"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"primary":{"description":"Caller-assigned Gleason 1974 primary (predominant) histologic pattern. Integer 1-5 only; reject 0, 6, 1.5, and roman I. magent does not read slides or apply 2005 ISUP modified pattern rules.","type":"integer"},"secondary":{"description":"Caller-assigned Gleason 1974 secondary histologic pattern. Integer 1-5 only; reject 0, 6, 1.5, and roman I. magent does not read slides or apply 2005 ISUP modified pattern rules.","type":"integer"}},"required":["primary","secondary"],"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},{"id":39141,"slug":"39141","resource":"https://api.magentlab.com/api/calc/glasgow_imrie","description":"Blamey 1984 Glasgow-Imrie eight-factor pancreatitis score: age >55, WBC >15 ×10^9/L, glucose >10 mmol/L, urea >16 mmol/L, PaO2 <60 mm Hg, calcium <2.0 mmol/L, albumin <32 g/L, LDH >600 U/L; 1 point each, max 8. Severe predicted if score ≥3. Caller-assigned flags; magent does not convert units. Not a diagnosis. Not Ranson. Transaminases omitted as in the paper.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_gt_55":false,"albumin_lt_32":false,"calcium_lt_2":false,"glucose_gt_10":false,"ldh_gt_600":false,"pao2_lt_60":false,"urea_gt_16":false,"wbc_gt_15":false},{"age_gt_55":false,"albumin_lt_32":false,"calcium_lt_2":false,"glucose_gt_10":false,"ldh_gt_600":false,"pao2_lt_60":false,"urea_gt_16":false,"wbc_gt_15":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Blamey SL, Imrie CW, O'Neill J, Gilmour WH, Carter DC","doi":"10.1136/gut.25.12.1340","id":"blamey-1984","pmid":"6510766","source":"Gut. 1984;25(12):1340-1346","title":"Prognostic factors in acute pancreatitis"},"components":[{"factor":"age_gt_55","points":0,"present":false},{"factor":"wbc_gt_15","points":0,"present":false},{"factor":"glucose_gt_10","points":0,"present":false},{"factor":"urea_gt_16","points":0,"present":false},{"factor":"pao2_lt_60","points":0,"present":false},{"factor":"calcium_lt_2","points":0,"present":false},{"factor":"albumin_lt_32","points":0,"present":false},{"factor":"ldh_gt_600","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":"glasgow_imrie","formula_expression":"Glasgow-Imrie = age_gt_55 + wbc_gt_15 + glucose_gt_10 + urea_gt_16 + pao2_lt_60 + calcium_lt_2 + albumin_lt_32 + ldh_gt_600; each 1 if present; max 8; severe_predicted if score >= 3","max_score":8,"score":0,"severe_predicted":false},{"citation":{"authors":"Blamey SL, Imrie CW, O'Neill J, Gilmour WH, Carter DC","doi":"10.1136/gut.25.12.1340","id":"blamey-1984","pmid":"6510766","source":"Gut. 1984;25(12):1340-1346","title":"Prognostic factors in acute pancreatitis"},"components":[{"factor":"age_gt_55","points":0,"present":false},{"factor":"wbc_gt_15","points":0,"present":false},{"factor":"glucose_gt_10","points":0,"present":false},{"factor":"urea_gt_16","points":0,"present":false},{"factor":"pao2_lt_60","points":0,"present":false},{"factor":"calcium_lt_2","points":0,"present":false},{"factor":"albumin_lt_32","points":0,"present":false},{"factor":"ldh_gt_600","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":"glasgow_imrie","formula_expression":"Glasgow-Imrie = age_gt_55 + wbc_gt_15 + glucose_gt_10 + urea_gt_16 + pao2_lt_60 + calcium_lt_2 + albumin_lt_32 + ldh_gt_600; each 1 if present; max 8; severe_predicted if score >= 3","max_score":8,"score":0,"severe_predicted":false}],"path":"/api/calc/glasgow_imrie"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_55":{"description":"Age >55 years (Blamey 1984). true or false.","type":"boolean"},"albumin_lt_32":{"description":"Albumin <32 g/L. true or false.","type":"boolean"},"calcium_lt_2":{"description":"Calcium <2.0 mmol/L. true or false.","type":"boolean"},"glucose_gt_10":{"description":"Glucose >10 mmol/L. true or false.","type":"boolean"},"ldh_gt_600":{"description":"LDH >600 U/L. true or false.","type":"boolean"},"pao2_lt_60":{"description":"Arterial PaO2 <60 mm Hg. true or false.","type":"boolean"},"urea_gt_16":{"description":"Urea >16 mmol/L. true or false.","type":"boolean"},"wbc_gt_15":{"description":"WBC >15 ×10^9/L. true or false.","type":"boolean"}},"required":["age_gt_55","wbc_gt_15","glucose_gt_10","urea_gt_16","pao2_lt_60","calcium_lt_2","albumin_lt_32","ldh_gt_600"],"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":["glasgow-imrie","pancreatitis","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:06:19.348Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:06:19.221Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_gt_55":false,"albumin_lt_32":false,"calcium_lt_2":false,"glucose_gt_10":false,"ldh_gt_600":false,"pao2_lt_60":false,"urea_gt_16":false,"wbc_gt_15":false},{"age_gt_55":false,"albumin_lt_32":false,"calcium_lt_2":false,"glucose_gt_10":false,"ldh_gt_600":false,"pao2_lt_60":false,"urea_gt_16":false,"wbc_gt_15":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Blamey SL, Imrie CW, O'Neill J, Gilmour WH, Carter DC","doi":"10.1136/gut.25.12.1340","id":"blamey-1984","pmid":"6510766","source":"Gut. 1984;25(12):1340-1346","title":"Prognostic factors in acute pancreatitis"},"components":[{"factor":"age_gt_55","points":0,"present":false},{"factor":"wbc_gt_15","points":0,"present":false},{"factor":"glucose_gt_10","points":0,"present":false},{"factor":"urea_gt_16","points":0,"present":false},{"factor":"pao2_lt_60","points":0,"present":false},{"factor":"calcium_lt_2","points":0,"present":false},{"factor":"albumin_lt_32","points":0,"present":false},{"factor":"ldh_gt_600","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":"glasgow_imrie","formula_expression":"Glasgow-Imrie = age_gt_55 + wbc_gt_15 + glucose_gt_10 + urea_gt_16 + pao2_lt_60 + calcium_lt_2 + albumin_lt_32 + ldh_gt_600; each 1 if present; max 8; severe_predicted if score >= 3","max_score":8,"score":0,"severe_predicted":false},{"citation":{"authors":"Blamey SL, Imrie CW, O'Neill J, Gilmour WH, Carter DC","doi":"10.1136/gut.25.12.1340","id":"blamey-1984","pmid":"6510766","source":"Gut. 1984;25(12):1340-1346","title":"Prognostic factors in acute pancreatitis"},"components":[{"factor":"age_gt_55","points":0,"present":false},{"factor":"wbc_gt_15","points":0,"present":false},{"factor":"glucose_gt_10","points":0,"present":false},{"factor":"urea_gt_16","points":0,"present":false},{"factor":"pao2_lt_60","points":0,"present":false},{"factor":"calcium_lt_2","points":0,"present":false},{"factor":"albumin_lt_32","points":0,"present":false},{"factor":"ldh_gt_600","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":"glasgow_imrie","formula_expression":"Glasgow-Imrie = age_gt_55 + wbc_gt_15 + glucose_gt_10 + urea_gt_16 + pao2_lt_60 + calcium_lt_2 + albumin_lt_32 + ldh_gt_600; each 1 if present; max 8; severe_predicted if score >= 3","max_score":8,"score":0,"severe_predicted":false}],"path":"/api/calc/glasgow_imrie"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_55":{"description":"Age >55 years (Blamey 1984). true or false.","type":"boolean"},"albumin_lt_32":{"description":"Albumin <32 g/L. true or false.","type":"boolean"},"calcium_lt_2":{"description":"Calcium <2.0 mmol/L. true or false.","type":"boolean"},"glucose_gt_10":{"description":"Glucose >10 mmol/L. true or false.","type":"boolean"},"ldh_gt_600":{"description":"LDH >600 U/L. true or false.","type":"boolean"},"pao2_lt_60":{"description":"Arterial PaO2 <60 mm Hg. true or false.","type":"boolean"},"urea_gt_16":{"description":"Urea >16 mmol/L. true or false.","type":"boolean"},"wbc_gt_15":{"description":"WBC >15 ×10^9/L. true or false.","type":"boolean"}},"required":["age_gt_55","wbc_gt_15","glucose_gt_10","urea_gt_16","pao2_lt_60","calcium_lt_2","albumin_lt_32","ldh_gt_600"],"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},{"id":39142,"slug":"39142","resource":"https://api.magentlab.com/api/calc/gillmore","description":"Gillmore 2018 NAC ATTR cardiac staging from NT-proBNP (ng/L) and caller-assigned eGFR. Stage I: NT-proBNP <=3000 and eGFR >=45. Stage III: NT-proBNP >3000 and eGFR <45. Stage II: exactly one of those two adverse cut points. Returns gillmore_stage 1/2/3. ATTRwt and ATTRv. Not Mayo AL amyloid staging. Not NYHA. Not a treatment order. magent does not compute MDRD or CKD-EPI.","type":"http","serviceName":"magent","resourceType":"AI Inference","x402Version":2,"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":[{"egfr_ml_min_1_73m2":70,"nt_probnp_ng_l":500},{"egfr_ml_min_1_73m2":70,"nt_probnp_ng_l":500}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gillmore JD, Damy T, Fontana M, Hutchinson M, Lachmann HJ, Martinez-Naharro A, Quarta CC, Rezk T, Whelan CJ, Gonzalez-Lopez E, Lane T, Gilbertson JA, Rowczenio D, Petrie A, Hawkins PN","doi":"10.1093/eurheartj/ehx589","id":"gillmore-2018","pmid":"29048471","source":"Eur Heart J. 2018;39(30):2799-2806","title":"A new staging system for cardiac transthyretin amyloidosis"},"criteria":[{"factor":"nt_probnp_gt_3000","met":false,"value":500},{"factor":"egfr_lt_45","met":false,"value":70}],"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.","egfr_ml_min_1_73m2":70,"formula":"gillmore","formula_expression":"Stage I: nt_probnp_ng_l <= 3000 AND egfr_ml_min_1_73m2 >= 45; stage III: nt_probnp_ng_l > 3000 AND egfr_ml_min_1_73m2 < 45; stage II: exactly one of those two adverse cut points (Gillmore 2018 NAC ATTR)","gillmore_stage":1,"gillmore_stage_label":"I","nt_probnp_ng_l":500},{"citation":{"authors":"Gillmore JD, Damy T, Fontana M, Hutchinson M, Lachmann HJ, Martinez-Naharro A, Quarta CC, Rezk T, Whelan CJ, Gonzalez-Lopez E, Lane T, Gilbertson JA, Rowczenio D, Petrie A, Hawkins PN","doi":"10.1093/eurheartj/ehx589","id":"gillmore-2018","pmid":"29048471","source":"Eur Heart J. 2018;39(30):2799-2806","title":"A new staging system for cardiac transthyretin amyloidosis"},"criteria":[{"factor":"nt_probnp_gt_3000","met":false,"value":500},{"factor":"egfr_lt_45","met":false,"value":70}],"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.","egfr_ml_min_1_73m2":70,"formula":"gillmore","formula_expression":"Stage I: nt_probnp_ng_l <= 3000 AND egfr_ml_min_1_73m2 >= 45; stage III: nt_probnp_ng_l > 3000 AND egfr_ml_min_1_73m2 < 45; stage II: exactly one of those two adverse cut points (Gillmore 2018 NAC ATTR)","gillmore_stage":1,"gillmore_stage_label":"I","nt_probnp_ng_l":500}],"path":"/api/calc/gillmore"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m² (5-200). Gillmore 2018 Stage I requires >= 45; Stage III when < 45. magent does not compute MDRD or CKD-EPI.","type":"number"},"nt_probnp_ng_l":{"description":"NT-proBNP in ng/L (10-100000), same numeric value as pg/mL. Gillmore 2018 Stage I requires <= 3000; Stage III when > 3000. magent does not assay NT-proBNP.","type":"number"}},"required":["nt_probnp_ng_l","egfr_ml_min_1_73m2"],"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":["gillmore","attr","amyloidosis","staging","hemodynamics","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:06:18.358Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:06:18.224Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"egfr_ml_min_1_73m2":70,"nt_probnp_ng_l":500},{"egfr_ml_min_1_73m2":70,"nt_probnp_ng_l":500}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gillmore JD, Damy T, Fontana M, Hutchinson M, Lachmann HJ, Martinez-Naharro A, Quarta CC, Rezk T, Whelan CJ, Gonzalez-Lopez E, Lane T, Gilbertson JA, Rowczenio D, Petrie A, Hawkins PN","doi":"10.1093/eurheartj/ehx589","id":"gillmore-2018","pmid":"29048471","source":"Eur Heart J. 2018;39(30):2799-2806","title":"A new staging system for cardiac transthyretin amyloidosis"},"criteria":[{"factor":"nt_probnp_gt_3000","met":false,"value":500},{"factor":"egfr_lt_45","met":false,"value":70}],"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.","egfr_ml_min_1_73m2":70,"formula":"gillmore","formula_expression":"Stage I: nt_probnp_ng_l <= 3000 AND egfr_ml_min_1_73m2 >= 45; stage III: nt_probnp_ng_l > 3000 AND egfr_ml_min_1_73m2 < 45; stage II: exactly one of those two adverse cut points (Gillmore 2018 NAC ATTR)","gillmore_stage":1,"gillmore_stage_label":"I","nt_probnp_ng_l":500},{"citation":{"authors":"Gillmore JD, Damy T, Fontana M, Hutchinson M, Lachmann HJ, Martinez-Naharro A, Quarta CC, Rezk T, Whelan CJ, Gonzalez-Lopez E, Lane T, Gilbertson JA, Rowczenio D, Petrie A, Hawkins PN","doi":"10.1093/eurheartj/ehx589","id":"gillmore-2018","pmid":"29048471","source":"Eur Heart J. 2018;39(30):2799-2806","title":"A new staging system for cardiac transthyretin amyloidosis"},"criteria":[{"factor":"nt_probnp_gt_3000","met":false,"value":500},{"factor":"egfr_lt_45","met":false,"value":70}],"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.","egfr_ml_min_1_73m2":70,"formula":"gillmore","formula_expression":"Stage I: nt_probnp_ng_l <= 3000 AND egfr_ml_min_1_73m2 >= 45; stage III: nt_probnp_ng_l > 3000 AND egfr_ml_min_1_73m2 < 45; stage II: exactly one of those two adverse cut points (Gillmore 2018 NAC ATTR)","gillmore_stage":1,"gillmore_stage_label":"I","nt_probnp_ng_l":500}],"path":"/api/calc/gillmore"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m² (5-200). Gillmore 2018 Stage I requires >= 45; Stage III when < 45. magent does not compute MDRD or CKD-EPI.","type":"number"},"nt_probnp_ng_l":{"description":"NT-proBNP in ng/L (10-100000), same numeric value as pg/mL. Gillmore 2018 Stage I requires <= 3000; Stage III when > 3000. magent does not assay NT-proBNP.","type":"number"}},"required":["nt_probnp_ng_l","egfr_ml_min_1_73m2"],"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},{"id":39143,"slug":"39143","resource":"https://api.magentlab.com/api/calc/mmrc","description":"Mahler 1988 modified Medical Research Council (mMRC) dyspnea grade 0-4 as assigned by the caller. Returns the grade, score (same as grade), max 4, and published wording (breathless only with strenuous exercise through too breathless to leave the house or breathless when dressing). Not GOLD ABE groups, not a BODE index, and not Bestall MRC grades 1-5. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"mmrc":0},{"mmrc":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mahler DA, Wells CK","doi":"10.1378/chest.93.3.580","id":"mahler-1988","pmid":"3342669","source":"Chest. 1988;93(3):580-586","title":"Evaluation of clinical methods for rating dyspnea"},"components":[{"factor":"mmrc","points":0,"present":true}],"description":"Breathless only with strenuous exercise","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":"mmrc","formula_expression":"modified MRC (mMRC) grade 0-4 as assigned by the caller; Mahler 1988 (not Bestall MRC 1-5)","max_score":4,"mmrc":0,"score":0},{"citation":{"authors":"Mahler DA, Wells CK","doi":"10.1378/chest.93.3.580","id":"mahler-1988","pmid":"3342669","source":"Chest. 1988;93(3):580-586","title":"Evaluation of clinical methods for rating dyspnea"},"components":[{"factor":"mmrc","points":0,"present":true}],"description":"Breathless only with strenuous exercise","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":"mmrc","formula_expression":"modified MRC (mMRC) grade 0-4 as assigned by the caller; Mahler 1988 (not Bestall MRC 1-5)","max_score":4,"mmrc":0,"score":0}],"path":"/api/calc/mmrc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"mmrc":{"description":"Mahler 1988 modified MRC dyspnea grade 0-4 as assigned by the caller (0 breathless only with strenuous exercise; 1 short of breath when hurrying on the level or walking up a slight hill; 2 walks slower than people of the same age on the level because of breathlessness, or has to stop for breath when walking at own pace on the level; 3 stops for breath after walking about 100 yards or after a few minutes on the level; 4 too breathless to leave the house, or breathless when dressing or undressing). Not Bestall MRC 1-5. magent does not examine the patient.","type":"integer"}},"required":["mmrc"],"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":["mmrc","dyspnea","copd","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:01:32.729Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:01:32.605Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"mmrc":0},{"mmrc":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mahler DA, Wells CK","doi":"10.1378/chest.93.3.580","id":"mahler-1988","pmid":"3342669","source":"Chest. 1988;93(3):580-586","title":"Evaluation of clinical methods for rating dyspnea"},"components":[{"factor":"mmrc","points":0,"present":true}],"description":"Breathless only with strenuous exercise","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":"mmrc","formula_expression":"modified MRC (mMRC) grade 0-4 as assigned by the caller; Mahler 1988 (not Bestall MRC 1-5)","max_score":4,"mmrc":0,"score":0},{"citation":{"authors":"Mahler DA, Wells CK","doi":"10.1378/chest.93.3.580","id":"mahler-1988","pmid":"3342669","source":"Chest. 1988;93(3):580-586","title":"Evaluation of clinical methods for rating dyspnea"},"components":[{"factor":"mmrc","points":0,"present":true}],"description":"Breathless only with strenuous exercise","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":"mmrc","formula_expression":"modified MRC (mMRC) grade 0-4 as assigned by the caller; Mahler 1988 (not Bestall MRC 1-5)","max_score":4,"mmrc":0,"score":0}],"path":"/api/calc/mmrc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"mmrc":{"description":"Mahler 1988 modified MRC dyspnea grade 0-4 as assigned by the caller (0 breathless only with strenuous exercise; 1 short of breath when hurrying on the level or walking up a slight hill; 2 walks slower than people of the same age on the level because of breathlessness, or has to stop for breath when walking at own pace on the level; 3 stops for breath after walking about 100 yards or after a few minutes on the level; 4 too breathless to leave the house, or breathless when dressing or undressing). Not Bestall MRC 1-5. magent does not examine the patient.","type":"integer"}},"required":["mmrc"],"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},{"id":39144,"slug":"39144","resource":"https://api.magentlab.com/api/calc/meld_na","description":"Cited OPTN/UNOS 2016 MELD-Na score. Agents must not invent MELD-Na from model memory; pay per request with x402 USDC on Base. Deterministic published score with citation. Not a treatment recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bilirubin_mg_dl":4.2,"bilirubin_umol_l":72,"creatinine_mg_dl":1.9,"creatinine_umol_l":168,"dialysis":false,"inr":1.2,"sodium_mmol_l":128},{"bilirubin_mg_dl":4.2,"bilirubin_umol_l":72,"creatinine_mg_dl":1.9,"creatinine_umol_l":168,"dialysis":false,"inr":1.2,"sodium_mmol_l":128}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bilirubin_mg_dl":4.2,"bilirubin_used_mg_dl":4.2,"citation":{"authors":"Biggins SW, Kim WR, Terrault NA, et al.; OPTN/UNOS","doi":"10.1053/j.gastro.2006.02.010","id":"optn-meld-na-2016","source":"Gastroenterology. 2006;130(6):1652-1660; OPTN Policy 9 (2016)","title":"Serum sodium predicts mortality in patients listed for liver transplantation; OPTN Policy 9 MELD-Na bounds"},"creatinine_mg_dl":1.9,"creatinine_used_mg_dl":1.9,"dialysis":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":"optn_meld_na_2016","formula_expression":"MELD = round(10 * (0.957*ln(Cr) + 0.378*ln(bili) + 1.120*ln(INR) + 0.643)); if MELD > 11, MELD-Na = round(MELD + 1.32*(137-Na) - 0.033*MELD*(137-Na))","inr":1.2,"inr_used":1.2,"meld":20,"meld_na":26,"sodium_mmol_l":128,"sodium_used_mmol_l":128},{"bilirubin_mg_dl":4.2,"bilirubin_used_mg_dl":4.2,"citation":{"authors":"Biggins SW, Kim WR, Terrault NA, et al.; OPTN/UNOS","doi":"10.1053/j.gastro.2006.02.010","id":"optn-meld-na-2016","source":"Gastroenterology. 2006;130(6):1652-1660; OPTN Policy 9 (2016)","title":"Serum sodium predicts mortality in patients listed for liver transplantation; OPTN Policy 9 MELD-Na bounds"},"creatinine_mg_dl":1.9,"creatinine_used_mg_dl":1.9,"dialysis":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":"optn_meld_na_2016","formula_expression":"MELD = round(10 * (0.957*ln(Cr) + 0.378*ln(bili) + 1.120*ln(INR) + 0.643)); if MELD > 11, MELD-Na = round(MELD + 1.32*(137-Na) - 0.033*MELD*(137-Na))","inr":1.2,"inr_used":1.2,"meld":20,"meld_na":26,"sodium_mmol_l":128,"sodium_used_mmol_l":128}],"path":"/api/calc/meld_na"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. OPTN floors at 1.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL. Provide this or creatinine_umol_l. OPTN floors at 1 and caps at 4.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L.","type":"number"},"dialysis":{"description":"Dialysis twice in the last week. true sets creatinine used to 4.0.","type":"boolean"},"inr":{"description":"INR (0.8-10). OPTN floors at 1.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). OPTN clamps 125-137. Applied only when MELD > 11.","type":"number"}},"required":["inr","sodium_mmol_l","dialysis"],"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":["meld-na","liver","optn","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:01:31.845Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:01:31.679Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bilirubin_mg_dl":4.2,"bilirubin_umol_l":72,"creatinine_mg_dl":1.9,"creatinine_umol_l":168,"dialysis":false,"inr":1.2,"sodium_mmol_l":128},{"bilirubin_mg_dl":4.2,"bilirubin_umol_l":72,"creatinine_mg_dl":1.9,"creatinine_umol_l":168,"dialysis":false,"inr":1.2,"sodium_mmol_l":128}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bilirubin_mg_dl":4.2,"bilirubin_used_mg_dl":4.2,"citation":{"authors":"Biggins SW, Kim WR, Terrault NA, et al.; OPTN/UNOS","doi":"10.1053/j.gastro.2006.02.010","id":"optn-meld-na-2016","source":"Gastroenterology. 2006;130(6):1652-1660; OPTN Policy 9 (2016)","title":"Serum sodium predicts mortality in patients listed for liver transplantation; OPTN Policy 9 MELD-Na bounds"},"creatinine_mg_dl":1.9,"creatinine_used_mg_dl":1.9,"dialysis":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":"optn_meld_na_2016","formula_expression":"MELD = round(10 * (0.957*ln(Cr) + 0.378*ln(bili) + 1.120*ln(INR) + 0.643)); if MELD > 11, MELD-Na = round(MELD + 1.32*(137-Na) - 0.033*MELD*(137-Na))","inr":1.2,"inr_used":1.2,"meld":20,"meld_na":26,"sodium_mmol_l":128,"sodium_used_mmol_l":128},{"bilirubin_mg_dl":4.2,"bilirubin_used_mg_dl":4.2,"citation":{"authors":"Biggins SW, Kim WR, Terrault NA, et al.; OPTN/UNOS","doi":"10.1053/j.gastro.2006.02.010","id":"optn-meld-na-2016","source":"Gastroenterology. 2006;130(6):1652-1660; OPTN Policy 9 (2016)","title":"Serum sodium predicts mortality in patients listed for liver transplantation; OPTN Policy 9 MELD-Na bounds"},"creatinine_mg_dl":1.9,"creatinine_used_mg_dl":1.9,"dialysis":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":"optn_meld_na_2016","formula_expression":"MELD = round(10 * (0.957*ln(Cr) + 0.378*ln(bili) + 1.120*ln(INR) + 0.643)); if MELD > 11, MELD-Na = round(MELD + 1.32*(137-Na) - 0.033*MELD*(137-Na))","inr":1.2,"inr_used":1.2,"meld":20,"meld_na":26,"sodium_mmol_l":128,"sodium_used_mmol_l":128}],"path":"/api/calc/meld_na"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. OPTN floors at 1.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL. Provide this or creatinine_umol_l. OPTN floors at 1 and caps at 4.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L.","type":"number"},"dialysis":{"description":"Dialysis twice in the last week. true sets creatinine used to 4.0.","type":"boolean"},"inr":{"description":"INR (0.8-10). OPTN floors at 1.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). OPTN clamps 125-137. Applied only when MELD > 11.","type":"number"}},"required":["inr","sodium_mmol_l","dialysis"],"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},{"id":39145,"slug":"39145","resource":"https://api.magentlab.com/api/calc/mcmahon","description":"McMahon 2013 Table 3 rhabdomyolysis score: age ≤50→0, >50–≤70→1.5, >70–≤80→2.5, >80→3; female 1; Cr <1.4→0, 1.4–2.2→1.5, >2.2→3; Ca <7.5→2; CPK >40000→2; origin not seizure/syncope/exercise/statin/myositis→3; PO4 <4.0→0, 4.0–5.4→1.5, >5.4→3; HCO3 <19→2. Max 19. Caller-supplied labs and origin. Numeric total only; not a dialysis order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"bicarbonate_mmol_l":24,"calcium_mg_dl":9,"cpk_u_l":2000,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"low_risk_origin":true,"phosphate_mg_dl":3.5,"sex":"male"},{"age":40,"bicarbonate_mmol_l":24,"calcium_mg_dl":9,"cpk_u_l":2000,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"low_risk_origin":true,"phosphate_mg_dl":3.5,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"bicarbonate_mmol_l":24,"calcium_mg_dl":9,"citation":{"authors":"McMahon GM, Zeng X, Waikar SS","doi":"10.1001/jamainternmed.2013.9774","id":"mcmahon-2013","pmid":"23939467","source":"JAMA Intern Med. 2013;173(19):1821-1828","title":"A risk prediction score for kidney failure or mortality in rhabdomyolysis"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"female","points":0,"present":false,"value":"male"},{"factor":"creatinine","points":0,"present":false,"value":1},{"factor":"calcium","points":0,"present":false,"value":9},{"factor":"cpk","points":0,"present":false,"value":2000},{"factor":"origin","points":0,"present":false,"value":true},{"factor":"phosphate","points":0,"present":false,"value":3.5},{"factor":"bicarbonate","points":0,"present":false,"value":24}],"cpk_u_l":2000,"creatinine_mg_dl":1,"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":"mcmahon","formula_expression":"McMahon = age(≤50→0, >50–≤70→1.5, >70–≤80→2.5, >80→3) + female(1) + Cr_mg_dL(<1.4→0, 1.4–2.2→1.5, >2.2→3) + Ca_mg_dL(<7.5→2) + CPK_U_L(>40000→2) + origin_not_seizure_syncope_exercise_statin_myositis(3) + PO4_mg_dL(<4.0→0, 4.0–5.4→1.5, >5.4→3) + HCO3_mEq_L(<19→2); McMahon 2013 Table 3 derivation; max 19","low_risk_origin":true,"max_score":19,"phosphate_mg_dl":3.5,"score":0,"sex":"male"},{"age":40,"bicarbonate_mmol_l":24,"calcium_mg_dl":9,"citation":{"authors":"McMahon GM, Zeng X, Waikar SS","doi":"10.1001/jamainternmed.2013.9774","id":"mcmahon-2013","pmid":"23939467","source":"JAMA Intern Med. 2013;173(19):1821-1828","title":"A risk prediction score for kidney failure or mortality in rhabdomyolysis"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"female","points":0,"present":false,"value":"male"},{"factor":"creatinine","points":0,"present":false,"value":1},{"factor":"calcium","points":0,"present":false,"value":9},{"factor":"cpk","points":0,"present":false,"value":2000},{"factor":"origin","points":0,"present":false,"value":true},{"factor":"phosphate","points":0,"present":false,"value":3.5},{"factor":"bicarbonate","points":0,"present":false,"value":24}],"cpk_u_l":2000,"creatinine_mg_dl":1,"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":"mcmahon","formula_expression":"McMahon = age(≤50→0, >50–≤70→1.5, >70–≤80→2.5, >80→3) + female(1) + Cr_mg_dL(<1.4→0, 1.4–2.2→1.5, >2.2→3) + Ca_mg_dL(<7.5→2) + CPK_U_L(>40000→2) + origin_not_seizure_syncope_exercise_statin_myositis(3) + PO4_mg_dL(<4.0→0, 4.0–5.4→1.5, >5.4→3) + HCO3_mEq_L(<19→2); McMahon 2013 Table 3 derivation; max 19","low_risk_origin":true,"max_score":19,"phosphate_mg_dl":3.5,"score":0,"sex":"male"}],"path":"/api/calc/mcmahon"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). McMahon 2013 Table 3: ≤50 → 0, >50 to ≤70 → 1.5, >70 to ≤80 → 2.5, >80 → 3. magent does not assign age.","type":"integer"},"bicarbonate_mmol_l":{"description":"Initial bicarbonate in mEq/L or mmol/L (2-45). McMahon 2013 Table 3: <19 → 2. 19 is not <19. magent does not assay bicarbonate.","type":"number"},"calcium_mg_dl":{"description":"Initial calcium in mg/dL (4-16). McMahon 2013 Table 3: <7.5 → 2. 7.5 is not <7.5. magent does not assay calcium.","type":"number"},"cpk_u_l":{"description":"Initial CPK in U/L (1-500000). McMahon 2013 Table 3: >40000 → 2. 40000 is not >40000. magent does not assay CPK.","type":"number"},"creatinine_mg_dl":{"description":"Initial serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. McMahon 2013 Table 3: <1.4 → 0, 1.4 to 2.2 inclusive → 1.5, >2.2 → 3. magent does not assay creatinine.","type":"number"},"creatinine_umol_l":{"description":"Initial serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. magent does not assay creatinine.","type":"number"},"low_risk_origin":{"description":"true when the cause is seizure, syncope, exercise, statin, or myositis (0 points). false otherwise (3 points; McMahon 2013 Table 3 origin not those causes). magent does not assign etiology.","type":"boolean"},"phosphate_mg_dl":{"description":"Initial phosphate in mg/dL (0.5-20). McMahon 2013 Table 3: <4.0 → 0, 4.0 to 5.4 inclusive → 1.5, >5.4 → 3. magent does not assay phosphate.","type":"number"},"sex":{"description":"Caller-assigned sex. Female scores 1 (McMahon 2013 Table 3). magent does not assign sex.","enum":["female","male"],"type":"string"}},"required":["age","sex","calcium_mg_dl","cpk_u_l","low_risk_origin","phosphate_mg_dl","bicarbonate_mmol_l"],"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":["mcmahon","rhabdomyolysis","kidney","aki","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T05:01:30.871Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T05:01:30.724Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"bicarbonate_mmol_l":24,"calcium_mg_dl":9,"cpk_u_l":2000,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"low_risk_origin":true,"phosphate_mg_dl":3.5,"sex":"male"},{"age":40,"bicarbonate_mmol_l":24,"calcium_mg_dl":9,"cpk_u_l":2000,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"low_risk_origin":true,"phosphate_mg_dl":3.5,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"bicarbonate_mmol_l":24,"calcium_mg_dl":9,"citation":{"authors":"McMahon GM, Zeng X, Waikar SS","doi":"10.1001/jamainternmed.2013.9774","id":"mcmahon-2013","pmid":"23939467","source":"JAMA Intern Med. 2013;173(19):1821-1828","title":"A risk prediction score for kidney failure or mortality in rhabdomyolysis"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"female","points":0,"present":false,"value":"male"},{"factor":"creatinine","points":0,"present":false,"value":1},{"factor":"calcium","points":0,"present":false,"value":9},{"factor":"cpk","points":0,"present":false,"value":2000},{"factor":"origin","points":0,"present":false,"value":true},{"factor":"phosphate","points":0,"present":false,"value":3.5},{"factor":"bicarbonate","points":0,"present":false,"value":24}],"cpk_u_l":2000,"creatinine_mg_dl":1,"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":"mcmahon","formula_expression":"McMahon = age(≤50→0, >50–≤70→1.5, >70–≤80→2.5, >80→3) + female(1) + Cr_mg_dL(<1.4→0, 1.4–2.2→1.5, >2.2→3) + Ca_mg_dL(<7.5→2) + CPK_U_L(>40000→2) + origin_not_seizure_syncope_exercise_statin_myositis(3) + PO4_mg_dL(<4.0→0, 4.0–5.4→1.5, >5.4→3) + HCO3_mEq_L(<19→2); McMahon 2013 Table 3 derivation; max 19","low_risk_origin":true,"max_score":19,"phosphate_mg_dl":3.5,"score":0,"sex":"male"},{"age":40,"bicarbonate_mmol_l":24,"calcium_mg_dl":9,"citation":{"authors":"McMahon GM, Zeng X, Waikar SS","doi":"10.1001/jamainternmed.2013.9774","id":"mcmahon-2013","pmid":"23939467","source":"JAMA Intern Med. 2013;173(19):1821-1828","title":"A risk prediction score for kidney failure or mortality in rhabdomyolysis"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"female","points":0,"present":false,"value":"male"},{"factor":"creatinine","points":0,"present":false,"value":1},{"factor":"calcium","points":0,"present":false,"value":9},{"factor":"cpk","points":0,"present":false,"value":2000},{"factor":"origin","points":0,"present":false,"value":true},{"factor":"phosphate","points":0,"present":false,"value":3.5},{"factor":"bicarbonate","points":0,"present":false,"value":24}],"cpk_u_l":2000,"creatinine_mg_dl":1,"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":"mcmahon","formula_expression":"McMahon = age(≤50→0, >50–≤70→1.5, >70–≤80→2.5, >80→3) + female(1) + Cr_mg_dL(<1.4→0, 1.4–2.2→1.5, >2.2→3) + Ca_mg_dL(<7.5→2) + CPK_U_L(>40000→2) + origin_not_seizure_syncope_exercise_statin_myositis(3) + PO4_mg_dL(<4.0→0, 4.0–5.4→1.5, >5.4→3) + HCO3_mEq_L(<19→2); McMahon 2013 Table 3 derivation; max 19","low_risk_origin":true,"max_score":19,"phosphate_mg_dl":3.5,"score":0,"sex":"male"}],"path":"/api/calc/mcmahon"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). McMahon 2013 Table 3: ≤50 → 0, >50 to ≤70 → 1.5, >70 to ≤80 → 2.5, >80 → 3. magent does not assign age.","type":"integer"},"bicarbonate_mmol_l":{"description":"Initial bicarbonate in mEq/L or mmol/L (2-45). McMahon 2013 Table 3: <19 → 2. 19 is not <19. magent does not assay bicarbonate.","type":"number"},"calcium_mg_dl":{"description":"Initial calcium in mg/dL (4-16). McMahon 2013 Table 3: <7.5 → 2. 7.5 is not <7.5. magent does not assay calcium.","type":"number"},"cpk_u_l":{"description":"Initial CPK in U/L (1-500000). McMahon 2013 Table 3: >40000 → 2. 40000 is not >40000. magent does not assay CPK.","type":"number"},"creatinine_mg_dl":{"description":"Initial serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. McMahon 2013 Table 3: <1.4 → 0, 1.4 to 2.2 inclusive → 1.5, >2.2 → 3. magent does not assay creatinine.","type":"number"},"creatinine_umol_l":{"description":"Initial serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. magent does not assay creatinine.","type":"number"},"low_risk_origin":{"description":"true when the cause is seizure, syncope, exercise, statin, or myositis (0 points). false otherwise (3 points; McMahon 2013 Table 3 origin not those causes). magent does not assign etiology.","type":"boolean"},"phosphate_mg_dl":{"description":"Initial phosphate in mg/dL (0.5-20). McMahon 2013 Table 3: <4.0 → 0, 4.0 to 5.4 inclusive → 1.5, >5.4 → 3. magent does not assay phosphate.","type":"number"},"sex":{"description":"Caller-assigned sex. Female scores 1 (McMahon 2013 Table 3). magent does not assign sex.","enum":["female","male"],"type":"string"}},"required":["age","sex","calcium_mg_dl","cpk_u_l","low_risk_origin","phosphate_mg_dl","bicarbonate_mmol_l"],"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},{"id":39146,"slug":"39146","resource":"https://api.magentlab.com/api/calc/mbig","description":"Khan 2020 modified Brain Injury Guidelines (mBIG), not original Joseph 2014 BIG. First-match worst-wins tier 3 then 2 then 1 from caller-assigned GCS, focal or pupillary abnormality, anticoagulant or antiplatelet excluding aspirin alone, EtOH >80 mg/dL, skull fracture, SDH mm, IPH mm and multiple IPH, SAH pattern and mm, any EDH, and IVH. Any EDH is mBIG 3. magent does not read CT. Adults with mild TBI and traumatic ICH. Not a diagnosis or neurosurgical plan. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ac_ap_excluding_aspirin":false,"edh":false,"etoh_gt_80":false,"focal_neuro_or_pupillary_abnormality":false,"gcs":15,"iph_mm":0,"ivh":false,"multiple_iph":false,"sah_mm":0,"sah_pattern":"none_or_trace","sdh_mm":3,"skull_fracture":"none"},{"ac_ap_excluding_aspirin":false,"edh":false,"etoh_gt_80":false,"focal_neuro_or_pupillary_abnormality":false,"gcs":15,"iph_mm":0,"ivh":false,"multiple_iph":false,"sah_mm":0,"sah_pattern":"none_or_trace","sdh_mm":3,"skull_fracture":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Khan AD, Elseth AJ, Brosius JA, et al.","doi":"10.1136/tsaco-2020-000483","id":"khan-2020","pmid":"32537518","source":"Trauma Surg Acute Care Open. 2020;5(1):e000483","title":"Multicenter assessment of the Brain Injury Guidelines and a proposal of guideline modifications"},"criteria":[{"factor":"gcs_le_12","met":false,"value":15},{"factor":"focal_neuro_or_pupillary_abnormality","met":false},{"factor":"ac_ap_excluding_aspirin","met":false},{"factor":"etoh_gt_80","met":false},{"factor":"displaced_skull_fracture","met":false,"value":"none"},{"factor":"nondisplaced_skull_fracture","met":false,"value":"none"},{"factor":"sdh_ge_8","met":false,"value":3},{"factor":"sdh_ge_4","met":false,"value":3},{"factor":"iph_ge_8","met":false,"value":0},{"factor":"iph_ge_4","met":false,"value":0},{"factor":"multiple_iph","met":false},{"factor":"sah_scattered","met":false,"value":"none_or_trace"},{"factor":"sah_localized","met":false,"value":"none_or_trace"},{"factor":"sah_mm_gt_3","met":false,"value":0},{"factor":"sah_mm_ge_1","met":false,"value":0},{"factor":"edh","met":false},{"factor":"ivh","met":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":"mbig","formula_expression":"first-match worst-wins mBIG 3 then 2 then 1 (Khan 2020 modified criteria): mBIG 3 if GCS <= 12 or focal_neuro_or_pupillary_abnormality or ac_ap_excluding_aspirin or displaced skull fracture or sdh_mm >= 8 or iph_mm >= 8 or multiple_iph or sah scattered or sah_mm > 3 or any EDH or IVH; else mBIG 2 if etoh_gt_80 or nondisplaced skull fracture or sdh_mm >= 4 or iph_mm >= 4 or sah localized or sah_mm >= 1; else mBIG 1","gcs":15,"iph_mm":0,"mbig_tier":1,"sah_mm":0,"sah_pattern":"none_or_trace","sdh_mm":3,"skull_fracture":"none"},{"citation":{"authors":"Khan AD, Elseth AJ, Brosius JA, et al.","doi":"10.1136/tsaco-2020-000483","id":"khan-2020","pmid":"32537518","source":"Trauma Surg Acute Care Open. 2020;5(1):e000483","title":"Multicenter assessment of the Brain Injury Guidelines and a proposal of guideline modifications"},"criteria":[{"factor":"gcs_le_12","met":false,"value":15},{"factor":"focal_neuro_or_pupillary_abnormality","met":false},{"factor":"ac_ap_excluding_aspirin","met":false},{"factor":"etoh_gt_80","met":false},{"factor":"displaced_skull_fracture","met":false,"value":"none"},{"factor":"nondisplaced_skull_fracture","met":false,"value":"none"},{"factor":"sdh_ge_8","met":false,"value":3},{"factor":"sdh_ge_4","met":false,"value":3},{"factor":"iph_ge_8","met":false,"value":0},{"factor":"iph_ge_4","met":false,"value":0},{"factor":"multiple_iph","met":false},{"factor":"sah_scattered","met":false,"value":"none_or_trace"},{"factor":"sah_localized","met":false,"value":"none_or_trace"},{"factor":"sah_mm_gt_3","met":false,"value":0},{"factor":"sah_mm_ge_1","met":false,"value":0},{"factor":"edh","met":false},{"factor":"ivh","met":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":"mbig","formula_expression":"first-match worst-wins mBIG 3 then 2 then 1 (Khan 2020 modified criteria): mBIG 3 if GCS <= 12 or focal_neuro_or_pupillary_abnormality or ac_ap_excluding_aspirin or displaced skull fracture or sdh_mm >= 8 or iph_mm >= 8 or multiple_iph or sah scattered or sah_mm > 3 or any EDH or IVH; else mBIG 2 if etoh_gt_80 or nondisplaced skull fracture or sdh_mm >= 4 or iph_mm >= 4 or sah localized or sah_mm >= 1; else mBIG 1","gcs":15,"iph_mm":0,"mbig_tier":1,"sah_mm":0,"sah_pattern":"none_or_trace","sdh_mm":3,"skull_fracture":"none"}],"path":"/api/calc/mbig"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ac_ap_excluding_aspirin":{"description":"Anticoagulant or antiplatelet therapy excluding aspirin alone, as assigned by the caller. true or false. true is mBIG 3. Aspirin monotherapy is false. magent does not read a medication list.","type":"boolean"},"edh":{"description":"Any epidural hematoma as assigned by the caller. true or false. Any EDH is mBIG 3 (Khan 2020 safety modification versus original BIG size bands). magent does not read CT.","type":"boolean"},"etoh_gt_80":{"description":"Blood alcohol concentration >80 mg/dL as assigned by the caller (Khan 2020 intoxication definition, US legal driving limit). true or false. true excludes mBIG 1 (mBIG 2 unless a mBIG 3 feature is also met). magent does not assay ethanol.","type":"boolean"},"focal_neuro_or_pupillary_abnormality":{"description":"Focal neurologic deficit or abnormal pupillary findings as assigned by the caller (Khan 2020 abnormal neurologic examination). true or false. true is mBIG 3. magent does not examine the patient.","type":"boolean"},"gcs":{"description":"Caller-assigned Glasgow Coma Scale total, integer 3-15. Khan 2020 methods: GCS of 12 or less is an abnormal neurologic examination and is mBIG 3. magent does not compute eye, verbal, or motor GCS.","type":"integer"},"iph_mm":{"description":"Largest intraparenchymal hemorrhage size in millimetres as assigned by the caller (0-40). mBIG 1 if <4, mBIG 2 if >=4 and <8, mBIG 3 if >=8. Use 0 when no IPH. magent does not measure IPH or read CT.","type":"number"},"ivh":{"description":"Intraventricular hemorrhage as assigned by the caller. true or false. true is mBIG 3. magent does not read CT.","type":"boolean"},"multiple_iph":{"description":"Multiple intraparenchymal hemorrhages as assigned by the caller. true or false. true is mBIG 3. magent does not count lesions on CT.","type":"boolean"},"sah_mm":{"description":"SAH thickness in millimetres as assigned by the caller (0-20). mBIG 1 if <1, mBIG 2 if 1-3, mBIG 3 if >3. Use 0 when none. Combined with sah_pattern; either scattered pattern or >3 mm is mBIG 3. magent does not measure SAH.","type":"number"},"sah_pattern":{"description":"Traumatic SAH pattern as assigned by the caller from Khan 2020 sulci/hemisphere definitions that replace original BIG trace/localized/scattered: none_or_trace (<=3 sulci and <1 mm), localized (one hemisphere, >3 sulci, 1-3 mm), or scattered (bi-hemispheric or >3 mm). magent does not read CT.","enum":["none_or_trace","localized","scattered"],"type":"string"},"sdh_mm":{"description":"Largest subdural hematoma thickness in millimetres as assigned by the caller (0-40). mBIG 1 if <4, mBIG 2 if >=4 and <8, mBIG 3 if >=8. magent does not measure SDH or read CT.","type":"number"},"skull_fracture":{"description":"Skull fracture as assigned by the caller from CT: none (mBIG 1 row), nondisplaced (mBIG 2), or displaced (mBIG 3). magent does not read CT.","enum":["none","nondisplaced","displaced"],"type":"string"}},"required":["gcs","focal_neuro_or_pupillary_abnormality","ac_ap_excluding_aspirin","etoh_gt_80","skull_fracture","sdh_mm","iph_mm","multiple_iph","sah_pattern","sah_mm","edh","ivh"],"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":["mbig","tbi","trauma","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:56:29.314Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:56:29.207Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ac_ap_excluding_aspirin":false,"edh":false,"etoh_gt_80":false,"focal_neuro_or_pupillary_abnormality":false,"gcs":15,"iph_mm":0,"ivh":false,"multiple_iph":false,"sah_mm":0,"sah_pattern":"none_or_trace","sdh_mm":3,"skull_fracture":"none"},{"ac_ap_excluding_aspirin":false,"edh":false,"etoh_gt_80":false,"focal_neuro_or_pupillary_abnormality":false,"gcs":15,"iph_mm":0,"ivh":false,"multiple_iph":false,"sah_mm":0,"sah_pattern":"none_or_trace","sdh_mm":3,"skull_fracture":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Khan AD, Elseth AJ, Brosius JA, et al.","doi":"10.1136/tsaco-2020-000483","id":"khan-2020","pmid":"32537518","source":"Trauma Surg Acute Care Open. 2020;5(1):e000483","title":"Multicenter assessment of the Brain Injury Guidelines and a proposal of guideline modifications"},"criteria":[{"factor":"gcs_le_12","met":false,"value":15},{"factor":"focal_neuro_or_pupillary_abnormality","met":false},{"factor":"ac_ap_excluding_aspirin","met":false},{"factor":"etoh_gt_80","met":false},{"factor":"displaced_skull_fracture","met":false,"value":"none"},{"factor":"nondisplaced_skull_fracture","met":false,"value":"none"},{"factor":"sdh_ge_8","met":false,"value":3},{"factor":"sdh_ge_4","met":false,"value":3},{"factor":"iph_ge_8","met":false,"value":0},{"factor":"iph_ge_4","met":false,"value":0},{"factor":"multiple_iph","met":false},{"factor":"sah_scattered","met":false,"value":"none_or_trace"},{"factor":"sah_localized","met":false,"value":"none_or_trace"},{"factor":"sah_mm_gt_3","met":false,"value":0},{"factor":"sah_mm_ge_1","met":false,"value":0},{"factor":"edh","met":false},{"factor":"ivh","met":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":"mbig","formula_expression":"first-match worst-wins mBIG 3 then 2 then 1 (Khan 2020 modified criteria): mBIG 3 if GCS <= 12 or focal_neuro_or_pupillary_abnormality or ac_ap_excluding_aspirin or displaced skull fracture or sdh_mm >= 8 or iph_mm >= 8 or multiple_iph or sah scattered or sah_mm > 3 or any EDH or IVH; else mBIG 2 if etoh_gt_80 or nondisplaced skull fracture or sdh_mm >= 4 or iph_mm >= 4 or sah localized or sah_mm >= 1; else mBIG 1","gcs":15,"iph_mm":0,"mbig_tier":1,"sah_mm":0,"sah_pattern":"none_or_trace","sdh_mm":3,"skull_fracture":"none"},{"citation":{"authors":"Khan AD, Elseth AJ, Brosius JA, et al.","doi":"10.1136/tsaco-2020-000483","id":"khan-2020","pmid":"32537518","source":"Trauma Surg Acute Care Open. 2020;5(1):e000483","title":"Multicenter assessment of the Brain Injury Guidelines and a proposal of guideline modifications"},"criteria":[{"factor":"gcs_le_12","met":false,"value":15},{"factor":"focal_neuro_or_pupillary_abnormality","met":false},{"factor":"ac_ap_excluding_aspirin","met":false},{"factor":"etoh_gt_80","met":false},{"factor":"displaced_skull_fracture","met":false,"value":"none"},{"factor":"nondisplaced_skull_fracture","met":false,"value":"none"},{"factor":"sdh_ge_8","met":false,"value":3},{"factor":"sdh_ge_4","met":false,"value":3},{"factor":"iph_ge_8","met":false,"value":0},{"factor":"iph_ge_4","met":false,"value":0},{"factor":"multiple_iph","met":false},{"factor":"sah_scattered","met":false,"value":"none_or_trace"},{"factor":"sah_localized","met":false,"value":"none_or_trace"},{"factor":"sah_mm_gt_3","met":false,"value":0},{"factor":"sah_mm_ge_1","met":false,"value":0},{"factor":"edh","met":false},{"factor":"ivh","met":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":"mbig","formula_expression":"first-match worst-wins mBIG 3 then 2 then 1 (Khan 2020 modified criteria): mBIG 3 if GCS <= 12 or focal_neuro_or_pupillary_abnormality or ac_ap_excluding_aspirin or displaced skull fracture or sdh_mm >= 8 or iph_mm >= 8 or multiple_iph or sah scattered or sah_mm > 3 or any EDH or IVH; else mBIG 2 if etoh_gt_80 or nondisplaced skull fracture or sdh_mm >= 4 or iph_mm >= 4 or sah localized or sah_mm >= 1; else mBIG 1","gcs":15,"iph_mm":0,"mbig_tier":1,"sah_mm":0,"sah_pattern":"none_or_trace","sdh_mm":3,"skull_fracture":"none"}],"path":"/api/calc/mbig"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ac_ap_excluding_aspirin":{"description":"Anticoagulant or antiplatelet therapy excluding aspirin alone, as assigned by the caller. true or false. true is mBIG 3. Aspirin monotherapy is false. magent does not read a medication list.","type":"boolean"},"edh":{"description":"Any epidural hematoma as assigned by the caller. true or false. Any EDH is mBIG 3 (Khan 2020 safety modification versus original BIG size bands). magent does not read CT.","type":"boolean"},"etoh_gt_80":{"description":"Blood alcohol concentration >80 mg/dL as assigned by the caller (Khan 2020 intoxication definition, US legal driving limit). true or false. true excludes mBIG 1 (mBIG 2 unless a mBIG 3 feature is also met). magent does not assay ethanol.","type":"boolean"},"focal_neuro_or_pupillary_abnormality":{"description":"Focal neurologic deficit or abnormal pupillary findings as assigned by the caller (Khan 2020 abnormal neurologic examination). true or false. true is mBIG 3. magent does not examine the patient.","type":"boolean"},"gcs":{"description":"Caller-assigned Glasgow Coma Scale total, integer 3-15. Khan 2020 methods: GCS of 12 or less is an abnormal neurologic examination and is mBIG 3. magent does not compute eye, verbal, or motor GCS.","type":"integer"},"iph_mm":{"description":"Largest intraparenchymal hemorrhage size in millimetres as assigned by the caller (0-40). mBIG 1 if <4, mBIG 2 if >=4 and <8, mBIG 3 if >=8. Use 0 when no IPH. magent does not measure IPH or read CT.","type":"number"},"ivh":{"description":"Intraventricular hemorrhage as assigned by the caller. true or false. true is mBIG 3. magent does not read CT.","type":"boolean"},"multiple_iph":{"description":"Multiple intraparenchymal hemorrhages as assigned by the caller. true or false. true is mBIG 3. magent does not count lesions on CT.","type":"boolean"},"sah_mm":{"description":"SAH thickness in millimetres as assigned by the caller (0-20). mBIG 1 if <1, mBIG 2 if 1-3, mBIG 3 if >3. Use 0 when none. Combined with sah_pattern; either scattered pattern or >3 mm is mBIG 3. magent does not measure SAH.","type":"number"},"sah_pattern":{"description":"Traumatic SAH pattern as assigned by the caller from Khan 2020 sulci/hemisphere definitions that replace original BIG trace/localized/scattered: none_or_trace (<=3 sulci and <1 mm), localized (one hemisphere, >3 sulci, 1-3 mm), or scattered (bi-hemispheric or >3 mm). magent does not read CT.","enum":["none_or_trace","localized","scattered"],"type":"string"},"sdh_mm":{"description":"Largest subdural hematoma thickness in millimetres as assigned by the caller (0-40). mBIG 1 if <4, mBIG 2 if >=4 and <8, mBIG 3 if >=8. magent does not measure SDH or read CT.","type":"number"},"skull_fracture":{"description":"Skull fracture as assigned by the caller from CT: none (mBIG 1 row), nondisplaced (mBIG 2), or displaced (mBIG 3). magent does not read CT.","enum":["none","nondisplaced","displaced"],"type":"string"}},"required":["gcs","focal_neuro_or_pupillary_abnormality","ac_ap_excluding_aspirin","etoh_gt_80","skull_fracture","sdh_mm","iph_mm","multiple_iph","sah_pattern","sah_mm","edh","ivh"],"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},{"id":39147,"slug":"39147","resource":"https://api.magentlab.com/api/calc/mayo_uc","description":"Schroeder 1987 ulcerative colitis disease-activity index (Mayo DAI): four caller-assigned integers 0-3 (stool frequency, rectal bleeding, endoscopy, physician global). magent sums only (max 12) and does not return later remission or activity-band cutoffs. magent does not count stools, examine the patient, or perform endoscopy. Not a diagnosis and not the Mayo SPN pulmonary-nodule model.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"endoscopy":0,"physician_global":0,"rectal_bleeding":0,"stool_frequency":0},{"endoscopy":0,"physician_global":0,"rectal_bleeding":0,"stool_frequency":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Schroeder KW, Tremaine WJ, Ilstrup DM","doi":"10.1056/NEJM198712243172603","id":"schroeder-1987","pmid":"3317057","source":"N Engl J Med. 1987;317(26):1625-1629","title":"Coated oral 5-aminosalicylic acid therapy for mildly to moderately active ulcerative colitis. A randomized study"},"components":[{"factor":"stool_frequency","points":0,"present":true,"value":0},{"factor":"rectal_bleeding","points":0,"present":true,"value":0},{"factor":"endoscopy","points":0,"present":true,"value":0},{"factor":"physician_global","points":0,"present":true,"value":0}],"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.","endoscopy":0,"formula":"mayo_uc","formula_expression":"Mayo DAI = stool_frequency + rectal_bleeding + endoscopy + physician_global; Schroeder 1987 caller-assigned integers 0-3 each; max 12; no published total-score activity bands","max_score":12,"physician_global":0,"rectal_bleeding":0,"score":0,"stool_frequency":0},{"citation":{"authors":"Schroeder KW, Tremaine WJ, Ilstrup DM","doi":"10.1056/NEJM198712243172603","id":"schroeder-1987","pmid":"3317057","source":"N Engl J Med. 1987;317(26):1625-1629","title":"Coated oral 5-aminosalicylic acid therapy for mildly to moderately active ulcerative colitis. A randomized study"},"components":[{"factor":"stool_frequency","points":0,"present":true,"value":0},{"factor":"rectal_bleeding","points":0,"present":true,"value":0},{"factor":"endoscopy","points":0,"present":true,"value":0},{"factor":"physician_global","points":0,"present":true,"value":0}],"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.","endoscopy":0,"formula":"mayo_uc","formula_expression":"Mayo DAI = stool_frequency + rectal_bleeding + endoscopy + physician_global; Schroeder 1987 caller-assigned integers 0-3 each; max 12; no published total-score activity bands","max_score":12,"physician_global":0,"rectal_bleeding":0,"score":0,"stool_frequency":0}],"path":"/api/calc/mayo_uc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"endoscopy":{"description":"Caller-assigned Schroeder 1987 endoscopy / flexible proctosigmoidoscopy (integer 0-3): 0 normal or inactive; 1 mild (erythema, decreased vascular pattern, mild friability); 2 moderate (marked erythema, absent vascular pattern, friability, erosions); 3 severe (spontaneous bleeding, ulceration). magent does not perform endoscopy.","type":"integer"},"physician_global":{"description":"Caller-assigned Schroeder 1987 physician's global assessment (integer 0-3): 0 normal; 1 mild; 2 moderate; 3 severe. magent does not examine the patient.","type":"integer"},"rectal_bleeding":{"description":"Caller-assigned Schroeder 1987 rectal bleeding (integer 0-3): 0 none; 1 streaks of blood with stool less than half the time; 2 obvious blood with stool most of the time; 3 blood alone passed. magent does not examine the patient.","type":"integer"},"stool_frequency":{"description":"Caller-assigned Schroeder 1987 stool frequency (integer 0-3): 0 normal number of stools for this patient; 1 = 1-2 stools/day more than normal; 2 = 3-4 more; 3 = 5 or more more than normal. magent does not count stools.","type":"integer"}},"required":["stool_frequency","rectal_bleeding","endoscopy","physician_global"],"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":["mayo-uc","ulcerative-colitis","dai","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:56:28.336Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:56:28.218Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"endoscopy":0,"physician_global":0,"rectal_bleeding":0,"stool_frequency":0},{"endoscopy":0,"physician_global":0,"rectal_bleeding":0,"stool_frequency":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Schroeder KW, Tremaine WJ, Ilstrup DM","doi":"10.1056/NEJM198712243172603","id":"schroeder-1987","pmid":"3317057","source":"N Engl J Med. 1987;317(26):1625-1629","title":"Coated oral 5-aminosalicylic acid therapy for mildly to moderately active ulcerative colitis. A randomized study"},"components":[{"factor":"stool_frequency","points":0,"present":true,"value":0},{"factor":"rectal_bleeding","points":0,"present":true,"value":0},{"factor":"endoscopy","points":0,"present":true,"value":0},{"factor":"physician_global","points":0,"present":true,"value":0}],"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.","endoscopy":0,"formula":"mayo_uc","formula_expression":"Mayo DAI = stool_frequency + rectal_bleeding + endoscopy + physician_global; Schroeder 1987 caller-assigned integers 0-3 each; max 12; no published total-score activity bands","max_score":12,"physician_global":0,"rectal_bleeding":0,"score":0,"stool_frequency":0},{"citation":{"authors":"Schroeder KW, Tremaine WJ, Ilstrup DM","doi":"10.1056/NEJM198712243172603","id":"schroeder-1987","pmid":"3317057","source":"N Engl J Med. 1987;317(26):1625-1629","title":"Coated oral 5-aminosalicylic acid therapy for mildly to moderately active ulcerative colitis. A randomized study"},"components":[{"factor":"stool_frequency","points":0,"present":true,"value":0},{"factor":"rectal_bleeding","points":0,"present":true,"value":0},{"factor":"endoscopy","points":0,"present":true,"value":0},{"factor":"physician_global","points":0,"present":true,"value":0}],"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.","endoscopy":0,"formula":"mayo_uc","formula_expression":"Mayo DAI = stool_frequency + rectal_bleeding + endoscopy + physician_global; Schroeder 1987 caller-assigned integers 0-3 each; max 12; no published total-score activity bands","max_score":12,"physician_global":0,"rectal_bleeding":0,"score":0,"stool_frequency":0}],"path":"/api/calc/mayo_uc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"endoscopy":{"description":"Caller-assigned Schroeder 1987 endoscopy / flexible proctosigmoidoscopy (integer 0-3): 0 normal or inactive; 1 mild (erythema, decreased vascular pattern, mild friability); 2 moderate (marked erythema, absent vascular pattern, friability, erosions); 3 severe (spontaneous bleeding, ulceration). magent does not perform endoscopy.","type":"integer"},"physician_global":{"description":"Caller-assigned Schroeder 1987 physician's global assessment (integer 0-3): 0 normal; 1 mild; 2 moderate; 3 severe. magent does not examine the patient.","type":"integer"},"rectal_bleeding":{"description":"Caller-assigned Schroeder 1987 rectal bleeding (integer 0-3): 0 none; 1 streaks of blood with stool less than half the time; 2 obvious blood with stool most of the time; 3 blood alone passed. magent does not examine the patient.","type":"integer"},"stool_frequency":{"description":"Caller-assigned Schroeder 1987 stool frequency (integer 0-3): 0 normal number of stools for this patient; 1 = 1-2 stools/day more than normal; 2 = 3-4 more; 3 = 5 or more more than normal. magent does not count stools.","type":"integer"}},"required":["stool_frequency","rectal_bleeding","endoscopy","physician_global"],"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},{"id":39148,"slug":"39148","resource":"https://api.magentlab.com/api/calc/mayo_spn","description":"Swensen 1997 Mayo Clinic logistic probability of malignancy for a 4-30 mm radiologically indeterminate solitary pulmonary nodule. Inputs: age, current or former smoking, extrathoracic cancer diagnosed ≥5 years before the nodule, largest diameter in mm, caller-assigned spiculation, and caller-assigned upper-lobe location. Returns logit x and P = e^x / (1 + e^x). magent does not read the film. Not Gould 2007, not Brock, not a diagnosis, not a biopsy order, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"cancer":false,"diameter_mm":8,"smoke":false,"spiculation":false,"upper_lobe":false},{"age":50,"cancer":false,"diameter_mm":8,"smoke":false,"spiculation":false,"upper_lobe":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cancer":false,"citation":{"authors":"Swensen SJ, Silverstein MD, Ilstrup DM, Schleck CD, Edell ES","doi":"10.1001/archinte.1997.00440290031002","id":"swensen-1997","pmid":"9129544","source":"Arch Intern Med. 1997;157(8):849-855","title":"The probability of malignancy in solitary pulmonary nodules. Application to small radiologically indeterminate nodules"},"diameter_mm":8,"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":"mayo_spn","formula_expression":"P = e^x / (1 + e^x); x = -6.8272 + 0.0391*age + 0.7917*smoke + 1.3388*cancer + 0.1274*diameter_mm + 1.0407*spiculation + 0.7838*upper_lobe; smoke 1 = current or former, 0 = never; cancer 1 = extrathoracic cancer diagnosed ≥5 years before the nodule; spiculation 1/0; upper_lobe 1/0 (Swensen 1997)","linear_predictor":-3.853,"probability":0.0208,"smoke":false,"spiculation":false,"upper_lobe":false},{"age_years":50,"cancer":false,"citation":{"authors":"Swensen SJ, Silverstein MD, Ilstrup DM, Schleck CD, Edell ES","doi":"10.1001/archinte.1997.00440290031002","id":"swensen-1997","pmid":"9129544","source":"Arch Intern Med. 1997;157(8):849-855","title":"The probability of malignancy in solitary pulmonary nodules. Application to small radiologically indeterminate nodules"},"diameter_mm":8,"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":"mayo_spn","formula_expression":"P = e^x / (1 + e^x); x = -6.8272 + 0.0391*age + 0.7917*smoke + 1.3388*cancer + 0.1274*diameter_mm + 1.0407*spiculation + 0.7838*upper_lobe; smoke 1 = current or former, 0 = never; cancer 1 = extrathoracic cancer diagnosed ≥5 years before the nodule; spiculation 1/0; upper_lobe 1/0 (Swensen 1997)","linear_predictor":-3.853,"probability":0.0208,"smoke":false,"spiculation":false,"upper_lobe":false}],"path":"/api/calc/mayo_spn"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Swensen 1997 is an adult derivation; 18 is an implementation clamp.","type":"integer"},"cancer":{"description":"Extrathoracic cancer diagnosed ≥5 years before the nodule (Swensen 1997). true scores 1; false scores 0. The derivation excluded cancer within 5 years. The caller assigns the history.","type":"boolean"},"diameter_mm":{"description":"Largest nodule diameter in millimetres (4-30). Swensen 1997 derivation range. magent does not measure the film.","type":"number"},"smoke":{"description":"Cigarette smoking as coded in Swensen 1997. true = current or former smoker (1); false = never (0). The caller assigns smoking history.","type":"boolean"},"spiculation":{"description":"Spiculated edge as assigned by the caller (Swensen 1997). true or false. magent does not read the film.","type":"boolean"},"upper_lobe":{"description":"Upper-lobe location as assigned by the caller (Swensen 1997). true or false. magent does not read the film.","type":"boolean"}},"required":["age","smoke","cancer","diameter_mm","spiculation","upper_lobe"],"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":["mayo-spn","spn","respiratory","nodule","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:56:27.515Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:56:27.35Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"cancer":false,"diameter_mm":8,"smoke":false,"spiculation":false,"upper_lobe":false},{"age":50,"cancer":false,"diameter_mm":8,"smoke":false,"spiculation":false,"upper_lobe":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cancer":false,"citation":{"authors":"Swensen SJ, Silverstein MD, Ilstrup DM, Schleck CD, Edell ES","doi":"10.1001/archinte.1997.00440290031002","id":"swensen-1997","pmid":"9129544","source":"Arch Intern Med. 1997;157(8):849-855","title":"The probability of malignancy in solitary pulmonary nodules. Application to small radiologically indeterminate nodules"},"diameter_mm":8,"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":"mayo_spn","formula_expression":"P = e^x / (1 + e^x); x = -6.8272 + 0.0391*age + 0.7917*smoke + 1.3388*cancer + 0.1274*diameter_mm + 1.0407*spiculation + 0.7838*upper_lobe; smoke 1 = current or former, 0 = never; cancer 1 = extrathoracic cancer diagnosed ≥5 years before the nodule; spiculation 1/0; upper_lobe 1/0 (Swensen 1997)","linear_predictor":-3.853,"probability":0.0208,"smoke":false,"spiculation":false,"upper_lobe":false},{"age_years":50,"cancer":false,"citation":{"authors":"Swensen SJ, Silverstein MD, Ilstrup DM, Schleck CD, Edell ES","doi":"10.1001/archinte.1997.00440290031002","id":"swensen-1997","pmid":"9129544","source":"Arch Intern Med. 1997;157(8):849-855","title":"The probability of malignancy in solitary pulmonary nodules. Application to small radiologically indeterminate nodules"},"diameter_mm":8,"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":"mayo_spn","formula_expression":"P = e^x / (1 + e^x); x = -6.8272 + 0.0391*age + 0.7917*smoke + 1.3388*cancer + 0.1274*diameter_mm + 1.0407*spiculation + 0.7838*upper_lobe; smoke 1 = current or former, 0 = never; cancer 1 = extrathoracic cancer diagnosed ≥5 years before the nodule; spiculation 1/0; upper_lobe 1/0 (Swensen 1997)","linear_predictor":-3.853,"probability":0.0208,"smoke":false,"spiculation":false,"upper_lobe":false}],"path":"/api/calc/mayo_spn"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Swensen 1997 is an adult derivation; 18 is an implementation clamp.","type":"integer"},"cancer":{"description":"Extrathoracic cancer diagnosed ≥5 years before the nodule (Swensen 1997). true scores 1; false scores 0. The derivation excluded cancer within 5 years. The caller assigns the history.","type":"boolean"},"diameter_mm":{"description":"Largest nodule diameter in millimetres (4-30). Swensen 1997 derivation range. magent does not measure the film.","type":"number"},"smoke":{"description":"Cigarette smoking as coded in Swensen 1997. true = current or former smoker (1); false = never (0). The caller assigns smoking history.","type":"boolean"},"spiculation":{"description":"Spiculated edge as assigned by the caller (Swensen 1997). true or false. magent does not read the film.","type":"boolean"},"upper_lobe":{"description":"Upper-lobe location as assigned by the caller (Swensen 1997). true or false. magent does not read the film.","type":"boolean"}},"required":["age","smoke","cancer","diameter_mm","spiculation","upper_lobe"],"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},{"id":39149,"slug":"39149","resource":"https://api.magentlab.com/api/calc/macocha","description":"De Jong 2013 MACOCHA from seven caller-assigned flags: Mallampati III or IV (5), OSA (2), reduced cervical mobility (1), mouth opening <3 cm (1), coma (1), SpO2 <80% (1), non-anesthesiologist (1). Total 0-12 (0 easy, 12 very difficult); high_risk at >=3. Not an intubation order. magent does not examine the airway, compute GCS, or measure SpO2.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"coma":false,"limited_mouth_opening":false,"mallampati_iii_iv":false,"non_anesthesiologist":false,"obstructive_sleep_apnea":false,"reduced_cervical_mobility":false,"severe_hypoxemia":false},{"coma":false,"limited_mouth_opening":false,"mallampati_iii_iv":false,"non_anesthesiologist":false,"obstructive_sleep_apnea":false,"reduced_cervical_mobility":false,"severe_hypoxemia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"De Jong A, Molinari N, Terzi N, Mongardon N, Arnal JM, Guitton C, et al.","doi":"10.1164/rccm.201210-1851OC","id":"de-jong-2013","pmid":"23348979","source":"Am J Respir Crit Care Med. 2013;187(8):832-839","title":"Early identification of patients at risk for difficult intubation in the intensive care unit: development and validation of the MACOCHA score in a multicenter cohort study"},"components":[{"factor":"mallampati_iii_iv","points":0,"present":false},{"factor":"obstructive_sleep_apnea","points":0,"present":false},{"factor":"reduced_cervical_mobility","points":0,"present":false},{"factor":"limited_mouth_opening","points":0,"present":false},{"factor":"coma","points":0,"present":false},{"factor":"severe_hypoxemia","points":0,"present":false},{"factor":"non_anesthesiologist","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":"macocha","formula_expression":"MACOCHA = mallampati_iii_iv (5) + obstructive_sleep_apnea (2) + reduced_cervical_mobility (1) + limited_mouth_opening (1) + coma (1) + severe_hypoxemia (1) + non_anesthesiologist (1); De Jong 2013 Table 1; max 12; 0 easy, 12 very difficult; high_risk iff score >= 3","high_risk":false,"max_score":12,"score":0},{"citation":{"authors":"De Jong A, Molinari N, Terzi N, Mongardon N, Arnal JM, Guitton C, et al.","doi":"10.1164/rccm.201210-1851OC","id":"de-jong-2013","pmid":"23348979","source":"Am J Respir Crit Care Med. 2013;187(8):832-839","title":"Early identification of patients at risk for difficult intubation in the intensive care unit: development and validation of the MACOCHA score in a multicenter cohort study"},"components":[{"factor":"mallampati_iii_iv","points":0,"present":false},{"factor":"obstructive_sleep_apnea","points":0,"present":false},{"factor":"reduced_cervical_mobility","points":0,"present":false},{"factor":"limited_mouth_opening","points":0,"present":false},{"factor":"coma","points":0,"present":false},{"factor":"severe_hypoxemia","points":0,"present":false},{"factor":"non_anesthesiologist","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":"macocha","formula_expression":"MACOCHA = mallampati_iii_iv (5) + obstructive_sleep_apnea (2) + reduced_cervical_mobility (1) + limited_mouth_opening (1) + coma (1) + severe_hypoxemia (1) + non_anesthesiologist (1); De Jong 2013 Table 1; max 12; 0 easy, 12 very difficult; high_risk iff score >= 3","high_risk":false,"max_score":12,"score":0}],"path":"/api/calc/macocha"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"coma":{"description":"Coma as assigned by the caller (De Jong 2013 Table 1 pathology item; typically GCS <8 in that derivation). true or false. magent does not take raw GCS or compute GCS.","type":"boolean"},"limited_mouth_opening":{"description":"Limited mouth opening <3 cm as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not measure mouth opening.","type":"boolean"},"mallampati_iii_iv":{"description":"Mallampati class III or IV as assigned by the caller (De Jong 2013 Table 1). true or false. Not a 1-4 Mallampati integer. magent does not examine the airway.","type":"boolean"},"non_anesthesiologist":{"description":"Non-anesthesiologist operator as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not identify the operator.","type":"boolean"},"obstructive_sleep_apnea":{"description":"Obstructive sleep apnea syndrome as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not diagnose sleep apnea.","type":"boolean"},"reduced_cervical_mobility":{"description":"Reduced mobility of the cervical spine as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not examine the neck.","type":"boolean"},"severe_hypoxemia":{"description":"Severe hypoxemia (SpO2 <80%) as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not measure SpO2.","type":"boolean"}},"required":["mallampati_iii_iv","obstructive_sleep_apnea","reduced_cervical_mobility","limited_mouth_opening","coma","severe_hypoxemia","non_anesthesiologist"],"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":["macocha","airway","intubation","icu","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:51:41.056Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:51:40.315Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"coma":false,"limited_mouth_opening":false,"mallampati_iii_iv":false,"non_anesthesiologist":false,"obstructive_sleep_apnea":false,"reduced_cervical_mobility":false,"severe_hypoxemia":false},{"coma":false,"limited_mouth_opening":false,"mallampati_iii_iv":false,"non_anesthesiologist":false,"obstructive_sleep_apnea":false,"reduced_cervical_mobility":false,"severe_hypoxemia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"De Jong A, Molinari N, Terzi N, Mongardon N, Arnal JM, Guitton C, et al.","doi":"10.1164/rccm.201210-1851OC","id":"de-jong-2013","pmid":"23348979","source":"Am J Respir Crit Care Med. 2013;187(8):832-839","title":"Early identification of patients at risk for difficult intubation in the intensive care unit: development and validation of the MACOCHA score in a multicenter cohort study"},"components":[{"factor":"mallampati_iii_iv","points":0,"present":false},{"factor":"obstructive_sleep_apnea","points":0,"present":false},{"factor":"reduced_cervical_mobility","points":0,"present":false},{"factor":"limited_mouth_opening","points":0,"present":false},{"factor":"coma","points":0,"present":false},{"factor":"severe_hypoxemia","points":0,"present":false},{"factor":"non_anesthesiologist","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":"macocha","formula_expression":"MACOCHA = mallampati_iii_iv (5) + obstructive_sleep_apnea (2) + reduced_cervical_mobility (1) + limited_mouth_opening (1) + coma (1) + severe_hypoxemia (1) + non_anesthesiologist (1); De Jong 2013 Table 1; max 12; 0 easy, 12 very difficult; high_risk iff score >= 3","high_risk":false,"max_score":12,"score":0},{"citation":{"authors":"De Jong A, Molinari N, Terzi N, Mongardon N, Arnal JM, Guitton C, et al.","doi":"10.1164/rccm.201210-1851OC","id":"de-jong-2013","pmid":"23348979","source":"Am J Respir Crit Care Med. 2013;187(8):832-839","title":"Early identification of patients at risk for difficult intubation in the intensive care unit: development and validation of the MACOCHA score in a multicenter cohort study"},"components":[{"factor":"mallampati_iii_iv","points":0,"present":false},{"factor":"obstructive_sleep_apnea","points":0,"present":false},{"factor":"reduced_cervical_mobility","points":0,"present":false},{"factor":"limited_mouth_opening","points":0,"present":false},{"factor":"coma","points":0,"present":false},{"factor":"severe_hypoxemia","points":0,"present":false},{"factor":"non_anesthesiologist","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":"macocha","formula_expression":"MACOCHA = mallampati_iii_iv (5) + obstructive_sleep_apnea (2) + reduced_cervical_mobility (1) + limited_mouth_opening (1) + coma (1) + severe_hypoxemia (1) + non_anesthesiologist (1); De Jong 2013 Table 1; max 12; 0 easy, 12 very difficult; high_risk iff score >= 3","high_risk":false,"max_score":12,"score":0}],"path":"/api/calc/macocha"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"coma":{"description":"Coma as assigned by the caller (De Jong 2013 Table 1 pathology item; typically GCS <8 in that derivation). true or false. magent does not take raw GCS or compute GCS.","type":"boolean"},"limited_mouth_opening":{"description":"Limited mouth opening <3 cm as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not measure mouth opening.","type":"boolean"},"mallampati_iii_iv":{"description":"Mallampati class III or IV as assigned by the caller (De Jong 2013 Table 1). true or false. Not a 1-4 Mallampati integer. magent does not examine the airway.","type":"boolean"},"non_anesthesiologist":{"description":"Non-anesthesiologist operator as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not identify the operator.","type":"boolean"},"obstructive_sleep_apnea":{"description":"Obstructive sleep apnea syndrome as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not diagnose sleep apnea.","type":"boolean"},"reduced_cervical_mobility":{"description":"Reduced mobility of the cervical spine as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not examine the neck.","type":"boolean"},"severe_hypoxemia":{"description":"Severe hypoxemia (SpO2 <80%) as assigned by the caller (De Jong 2013 Table 1). true or false. magent does not measure SpO2.","type":"boolean"}},"required":["mallampati_iii_iv","obstructive_sleep_apnea","reduced_cervical_mobility","limited_mouth_opening","coma","severe_hypoxemia","non_anesthesiologist"],"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},{"id":39150,"slug":"39150","resource":"https://api.magentlab.com/api/calc/kfre","description":"Tangri 2011 4-variable Kidney Failure Risk Equation: 2- and 5-year risk of dialysis or transplant from age, male, eGFR, and urine ACR (mg/g). Risk = 1 - S0^exp(LP) with that paper's 4-variable coefficients. Caller supplies eGFR; magent does not compute CKD-EPI or assay ACR. Not the 8-variable model, not Tangri 2016 country S0, no race. Not a dialysis or transplant order. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acr_mg_g":300,"age_years":55,"egfr_ml_min":30,"male":true},{"acr_mg_g":300,"age_years":55,"egfr_ml_min":30,"male":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acr_mg_g":300,"age_years":55,"citation":{"authors":"Tangri N, Stevens LA, Griffith J, Tighiouart H, Djurdjev O, Naimark D, Levin A, Levey AS","doi":"10.1001/jama.2011.451","id":"tangri-2011","pmid":"21642682","source":"JAMA. 2011;305(15):1553-1559","title":"A predictive model for progression of chronic kidney disease to kidney failure"},"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.","egfr_ml_min":30,"five_year_risk_percent":27,"formula":"kfre","formula_expression":"LP = -0.2201*(age_years/10 - 7.036) + 0.2467*(male - 0.5642) - 0.5567*(egfr_ml_min/5 - 7.222) + 0.4510*(ln(acr_mg_g) - 5.137); 2-year risk = 1 - 0.9750^exp(LP); 5-year risk = 1 - 0.9240^exp(LP); Tangri 2011 4-variable only; male is 1 if true else 0; ACR mg/g natural log; caller supplies eGFR; not 8-variable; not Tangri 2016 country S0; no race","linear_predictor":1.3815,"male":true,"s0_2_year":0.975,"s0_5_year":0.924,"two_year_risk_percent":9.6},{"acr_mg_g":300,"age_years":55,"citation":{"authors":"Tangri N, Stevens LA, Griffith J, Tighiouart H, Djurdjev O, Naimark D, Levin A, Levey AS","doi":"10.1001/jama.2011.451","id":"tangri-2011","pmid":"21642682","source":"JAMA. 2011;305(15):1553-1559","title":"A predictive model for progression of chronic kidney disease to kidney failure"},"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.","egfr_ml_min":30,"five_year_risk_percent":27,"formula":"kfre","formula_expression":"LP = -0.2201*(age_years/10 - 7.036) + 0.2467*(male - 0.5642) - 0.5567*(egfr_ml_min/5 - 7.222) + 0.4510*(ln(acr_mg_g) - 5.137); 2-year risk = 1 - 0.9750^exp(LP); 5-year risk = 1 - 0.9240^exp(LP); Tangri 2011 4-variable only; male is 1 if true else 0; ACR mg/g natural log; caller supplies eGFR; not 8-variable; not Tangri 2016 country S0; no race","linear_predictor":1.3815,"male":true,"s0_2_year":0.975,"s0_5_year":0.924,"two_year_risk_percent":9.6}],"path":"/api/calc/kfre"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acr_mg_g":{"description":"Urine albumin-to-creatinine ratio in mg/g (0.1-10000, magent clamp; must be positive). Enters as natural log, centered at 5.137. magent does not assay ACR and does not convert from mg/mmol.","type":"number"},"age_years":{"description":"Age in years (18-90, magent clamp). Tangri 2011 4-variable model uses age as a continuous predictor (per 10 years, centered at 7.036). Adult CKD 3-5 derivation.","type":"integer"},"egfr_ml_min":{"description":"Caller-supplied eGFR in mL/min/1.73 m2 (1-150, magent clamp; must be positive). Tangri 2011 derivation was CKD stages 3-5. magent does not compute CKD-EPI eGFR and does not assay creatinine.","type":"number"},"male":{"description":"true if male, false if female. Enters the linear predictor as 1 or 0 (centered at 0.5642). No race coefficient.","type":"boolean"}},"required":["age_years","male","egfr_ml_min","acr_mg_g"],"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":["kfre","kidney-failure","ckd","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:51:38.097Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:51:37.405Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acr_mg_g":300,"age_years":55,"egfr_ml_min":30,"male":true},{"acr_mg_g":300,"age_years":55,"egfr_ml_min":30,"male":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acr_mg_g":300,"age_years":55,"citation":{"authors":"Tangri N, Stevens LA, Griffith J, Tighiouart H, Djurdjev O, Naimark D, Levin A, Levey AS","doi":"10.1001/jama.2011.451","id":"tangri-2011","pmid":"21642682","source":"JAMA. 2011;305(15):1553-1559","title":"A predictive model for progression of chronic kidney disease to kidney failure"},"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.","egfr_ml_min":30,"five_year_risk_percent":27,"formula":"kfre","formula_expression":"LP = -0.2201*(age_years/10 - 7.036) + 0.2467*(male - 0.5642) - 0.5567*(egfr_ml_min/5 - 7.222) + 0.4510*(ln(acr_mg_g) - 5.137); 2-year risk = 1 - 0.9750^exp(LP); 5-year risk = 1 - 0.9240^exp(LP); Tangri 2011 4-variable only; male is 1 if true else 0; ACR mg/g natural log; caller supplies eGFR; not 8-variable; not Tangri 2016 country S0; no race","linear_predictor":1.3815,"male":true,"s0_2_year":0.975,"s0_5_year":0.924,"two_year_risk_percent":9.6},{"acr_mg_g":300,"age_years":55,"citation":{"authors":"Tangri N, Stevens LA, Griffith J, Tighiouart H, Djurdjev O, Naimark D, Levin A, Levey AS","doi":"10.1001/jama.2011.451","id":"tangri-2011","pmid":"21642682","source":"JAMA. 2011;305(15):1553-1559","title":"A predictive model for progression of chronic kidney disease to kidney failure"},"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.","egfr_ml_min":30,"five_year_risk_percent":27,"formula":"kfre","formula_expression":"LP = -0.2201*(age_years/10 - 7.036) + 0.2467*(male - 0.5642) - 0.5567*(egfr_ml_min/5 - 7.222) + 0.4510*(ln(acr_mg_g) - 5.137); 2-year risk = 1 - 0.9750^exp(LP); 5-year risk = 1 - 0.9240^exp(LP); Tangri 2011 4-variable only; male is 1 if true else 0; ACR mg/g natural log; caller supplies eGFR; not 8-variable; not Tangri 2016 country S0; no race","linear_predictor":1.3815,"male":true,"s0_2_year":0.975,"s0_5_year":0.924,"two_year_risk_percent":9.6}],"path":"/api/calc/kfre"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acr_mg_g":{"description":"Urine albumin-to-creatinine ratio in mg/g (0.1-10000, magent clamp; must be positive). Enters as natural log, centered at 5.137. magent does not assay ACR and does not convert from mg/mmol.","type":"number"},"age_years":{"description":"Age in years (18-90, magent clamp). Tangri 2011 4-variable model uses age as a continuous predictor (per 10 years, centered at 7.036). Adult CKD 3-5 derivation.","type":"integer"},"egfr_ml_min":{"description":"Caller-supplied eGFR in mL/min/1.73 m2 (1-150, magent clamp; must be positive). Tangri 2011 derivation was CKD stages 3-5. magent does not compute CKD-EPI eGFR and does not assay creatinine.","type":"number"},"male":{"description":"true if male, false if female. Enters the linear predictor as 1 or 0 (centered at 0.5642). No race coefficient.","type":"boolean"}},"required":["age_years","male","egfr_ml_min","acr_mg_g"],"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},{"id":39151,"slug":"39151","resource":"https://api.magentlab.com/api/calc/ivt_contraindications","description":"Powers 2018 Table 6 Class III Harm IVT. contraindicated iff any of 15 caller flags: CT ICH; recent ischemic stroke, severe head trauma, or intracranial/spinal surgery; posttraumatic infarction; history of ICH; SAH presentation; GI malignancy or bleed 21d; coagulopathy; LMWH 24h; DOAC not cleared; GP IIb/IIIa; infective endocarditis; aortic arch dissection; intra-axial neoplasm. Not Class I eligibility, time window, or a dose. magent does not read CT or assay labs. Not a treatment order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"aortic_arch_dissection":false,"coagulopathy":false,"ct_ich":false,"doac_not_cleared":false,"gi_malignancy_or_gi_bleed_21d":false,"gp2b3a_concurrent":false,"history_ich":false,"infective_endocarditis":false,"intra_axial_neoplasm":false,"intracranial_spinal_surgery_within_3_mo":false,"ischemic_stroke_within_3_mo":false,"lmwh_treatment_dose_within_24h":false,"posttraumatic_infarction_in_hospital":false,"sah_presentation":false,"severe_head_trauma_within_3_mo":false},{"aortic_arch_dissection":false,"coagulopathy":false,"ct_ich":false,"doac_not_cleared":false,"gi_malignancy_or_gi_bleed_21d":false,"gp2b3a_concurrent":false,"history_ich":false,"infective_endocarditis":false,"intra_axial_neoplasm":false,"intracranial_spinal_surgery_within_3_mo":false,"ischemic_stroke_within_3_mo":false,"lmwh_treatment_dose_within_24h":false,"posttraumatic_infarction_in_hospital":false,"sah_presentation":false,"severe_head_trauma_within_3_mo":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"aortic_arch_dissection":false,"citation":{"authors":"Powers WJ, Rabinstein AA, Ackerson T, et al.","doi":"10.1161/STR.0000000000000158","id":"powers-2018","pmid":"29133354","source":"Stroke. 2018;49(3):e46-e110","title":"2018 Guidelines for the Early Management of Patients With Acute Ischemic Stroke: A Guideline for Healthcare Professionals From the American Heart Association/American Stroke Association"},"coagulopathy":false,"contraindicated":false,"criteria":[{"factor":"ct_ich","met":false},{"factor":"ischemic_stroke_within_3_mo","met":false},{"factor":"severe_head_trauma_within_3_mo","met":false},{"factor":"posttraumatic_infarction_in_hospital","met":false},{"factor":"intracranial_spinal_surgery_within_3_mo","met":false},{"factor":"history_ich","met":false},{"factor":"sah_presentation","met":false},{"factor":"gi_malignancy_or_gi_bleed_21d","met":false},{"factor":"coagulopathy","met":false},{"factor":"lmwh_treatment_dose_within_24h","met":false},{"factor":"doac_not_cleared","met":false},{"factor":"gp2b3a_concurrent","met":false},{"factor":"infective_endocarditis","met":false},{"factor":"aortic_arch_dissection","met":false},{"factor":"intra_axial_neoplasm","met":false},{"factor":"contraindicated","met":false}],"ct_ich":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.","doac_not_cleared":false,"formula":"ivt_contraindications","formula_expression":"contraindicated iff ct_ich or ischemic_stroke_within_3_mo or severe_head_trauma_within_3_mo or posttraumatic_infarction_in_hospital or intracranial_spinal_surgery_within_3_mo or history_ich or sah_presentation or gi_malignancy_or_gi_bleed_21d or coagulopathy or lmwh_treatment_dose_within_24h or doac_not_cleared or gp2b3a_concurrent or infective_endocarditis or aortic_arch_dissection or intra_axial_neoplasm (Powers 2018 Table 6 Class III: Harm). Not Class III No Benefit (unclear/wake-up onset windows, extensive CT hypoattenuation). Not Class I eligibility. Not 0-3h vs 3-4.5h. Not a dose. magent does not read CT, assay coagulation, or examine the patient. Not a treatment order","gi_malignancy_or_gi_bleed_21d":false,"gp2b3a_concurrent":false,"history_ich":false,"infective_endocarditis":false,"intra_axial_neoplasm":false,"intracranial_spinal_surgery_within_3_mo":false,"ischemic_stroke_within_3_mo":false,"lmwh_treatment_dose_within_24h":false,"posttraumatic_infarction_in_hospital":false,"sah_presentation":false,"severe_head_trauma_within_3_mo":false},{"aortic_arch_dissection":false,"citation":{"authors":"Powers WJ, Rabinstein AA, Ackerson T, et al.","doi":"10.1161/STR.0000000000000158","id":"powers-2018","pmid":"29133354","source":"Stroke. 2018;49(3):e46-e110","title":"2018 Guidelines for the Early Management of Patients With Acute Ischemic Stroke: A Guideline for Healthcare Professionals From the American Heart Association/American Stroke Association"},"coagulopathy":false,"contraindicated":false,"criteria":[{"factor":"ct_ich","met":false},{"factor":"ischemic_stroke_within_3_mo","met":false},{"factor":"severe_head_trauma_within_3_mo","met":false},{"factor":"posttraumatic_infarction_in_hospital","met":false},{"factor":"intracranial_spinal_surgery_within_3_mo","met":false},{"factor":"history_ich","met":false},{"factor":"sah_presentation","met":false},{"factor":"gi_malignancy_or_gi_bleed_21d","met":false},{"factor":"coagulopathy","met":false},{"factor":"lmwh_treatment_dose_within_24h","met":false},{"factor":"doac_not_cleared","met":false},{"factor":"gp2b3a_concurrent","met":false},{"factor":"infective_endocarditis","met":false},{"factor":"aortic_arch_dissection","met":false},{"factor":"intra_axial_neoplasm","met":false},{"factor":"contraindicated","met":false}],"ct_ich":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.","doac_not_cleared":false,"formula":"ivt_contraindications","formula_expression":"contraindicated iff ct_ich or ischemic_stroke_within_3_mo or severe_head_trauma_within_3_mo or posttraumatic_infarction_in_hospital or intracranial_spinal_surgery_within_3_mo or history_ich or sah_presentation or gi_malignancy_or_gi_bleed_21d or coagulopathy or lmwh_treatment_dose_within_24h or doac_not_cleared or gp2b3a_concurrent or infective_endocarditis or aortic_arch_dissection or intra_axial_neoplasm (Powers 2018 Table 6 Class III: Harm). Not Class III No Benefit (unclear/wake-up onset windows, extensive CT hypoattenuation). Not Class I eligibility. Not 0-3h vs 3-4.5h. Not a dose. magent does not read CT, assay coagulation, or examine the patient. Not a treatment order","gi_malignancy_or_gi_bleed_21d":false,"gp2b3a_concurrent":false,"history_ich":false,"infective_endocarditis":false,"intra_axial_neoplasm":false,"intracranial_spinal_surgery_within_3_mo":false,"ischemic_stroke_within_3_mo":false,"lmwh_treatment_dose_within_24h":false,"posttraumatic_infarction_in_hospital":false,"sah_presentation":false,"severe_head_trauma_within_3_mo":false}],"path":"/api/calc/ivt_contraindications"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"aortic_arch_dissection":{"description":"Known or suspected aortic arch dissection as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not examine the patient.","type":"boolean"},"coagulopathy":{"description":"Caller-assigned coagulopathy as in Table 6 (platelets <100000/mm3 or INR >1.7 or aPTT >40 s or PT >15 s). One flag. true or false. magent does not assay labs.","type":"boolean"},"ct_ich":{"description":"CT reveals acute intracranial hemorrhage as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not read CT.","type":"boolean"},"doac_not_cleared":{"description":"Taking a direct thrombin or factor Xa inhibitor AND labs not documented normal AND last dose not >48 h with normal renal function, as assigned by the caller from that Table 6 row. true or false. magent does not assay labs.","type":"boolean"},"gi_malignancy_or_gi_bleed_21d":{"description":"Structural GI malignancy or GI bleed within 21 days as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not examine the patient.","type":"boolean"},"gp2b3a_concurrent":{"description":"Concurrent GP IIb/IIIa inhibitor as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not read a medication list.","type":"boolean"},"history_ich":{"description":"History of intracranial hemorrhage as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not read prior imaging.","type":"boolean"},"infective_endocarditis":{"description":"Symptoms consistent with infective endocarditis as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not examine the patient.","type":"boolean"},"intra_axial_neoplasm":{"description":"Intra-axial intracranial neoplasm as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not read imaging.","type":"boolean"},"intracranial_spinal_surgery_within_3_mo":{"description":"Intracranial or spinal surgery within 3 months as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not read an operative note.","type":"boolean"},"ischemic_stroke_within_3_mo":{"description":"Prior ischemic stroke within 3 months as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not date prior strokes.","type":"boolean"},"lmwh_treatment_dose_within_24h":{"description":"Treatment-dose LMWH within the previous 24 h as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not read a medication list.","type":"boolean"},"posttraumatic_infarction_in_hospital":{"description":"Posttraumatic infarction in the acute in-hospital phase as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not examine the patient.","type":"boolean"},"sah_presentation":{"description":"Presentation most consistent with subarachnoid hemorrhage as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not examine the patient.","type":"boolean"},"severe_head_trauma_within_3_mo":{"description":"Recent severe head trauma within 3 months as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not examine the patient.","type":"boolean"}},"required":["ct_ich","ischemic_stroke_within_3_mo","severe_head_trauma_within_3_mo","posttraumatic_infarction_in_hospital","intracranial_spinal_surgery_within_3_mo","history_ich","sah_presentation","gi_malignancy_or_gi_bleed_21d","coagulopathy","lmwh_treatment_dose_within_24h","doac_not_cleared","gp2b3a_concurrent","infective_endocarditis","aortic_arch_dissection","intra_axial_neoplasm"],"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":["ivt","alteplase","stroke","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:51:36.459Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:51:36.307Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"aortic_arch_dissection":false,"coagulopathy":false,"ct_ich":false,"doac_not_cleared":false,"gi_malignancy_or_gi_bleed_21d":false,"gp2b3a_concurrent":false,"history_ich":false,"infective_endocarditis":false,"intra_axial_neoplasm":false,"intracranial_spinal_surgery_within_3_mo":false,"ischemic_stroke_within_3_mo":false,"lmwh_treatment_dose_within_24h":false,"posttraumatic_infarction_in_hospital":false,"sah_presentation":false,"severe_head_trauma_within_3_mo":false},{"aortic_arch_dissection":false,"coagulopathy":false,"ct_ich":false,"doac_not_cleared":false,"gi_malignancy_or_gi_bleed_21d":false,"gp2b3a_concurrent":false,"history_ich":false,"infective_endocarditis":false,"intra_axial_neoplasm":false,"intracranial_spinal_surgery_within_3_mo":false,"ischemic_stroke_within_3_mo":false,"lmwh_treatment_dose_within_24h":false,"posttraumatic_infarction_in_hospital":false,"sah_presentation":false,"severe_head_trauma_within_3_mo":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"aortic_arch_dissection":false,"citation":{"authors":"Powers WJ, Rabinstein AA, Ackerson T, et al.","doi":"10.1161/STR.0000000000000158","id":"powers-2018","pmid":"29133354","source":"Stroke. 2018;49(3):e46-e110","title":"2018 Guidelines for the Early Management of Patients With Acute Ischemic Stroke: A Guideline for Healthcare Professionals From the American Heart Association/American Stroke Association"},"coagulopathy":false,"contraindicated":false,"criteria":[{"factor":"ct_ich","met":false},{"factor":"ischemic_stroke_within_3_mo","met":false},{"factor":"severe_head_trauma_within_3_mo","met":false},{"factor":"posttraumatic_infarction_in_hospital","met":false},{"factor":"intracranial_spinal_surgery_within_3_mo","met":false},{"factor":"history_ich","met":false},{"factor":"sah_presentation","met":false},{"factor":"gi_malignancy_or_gi_bleed_21d","met":false},{"factor":"coagulopathy","met":false},{"factor":"lmwh_treatment_dose_within_24h","met":false},{"factor":"doac_not_cleared","met":false},{"factor":"gp2b3a_concurrent","met":false},{"factor":"infective_endocarditis","met":false},{"factor":"aortic_arch_dissection","met":false},{"factor":"intra_axial_neoplasm","met":false},{"factor":"contraindicated","met":false}],"ct_ich":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.","doac_not_cleared":false,"formula":"ivt_contraindications","formula_expression":"contraindicated iff ct_ich or ischemic_stroke_within_3_mo or severe_head_trauma_within_3_mo or posttraumatic_infarction_in_hospital or intracranial_spinal_surgery_within_3_mo or history_ich or sah_presentation or gi_malignancy_or_gi_bleed_21d or coagulopathy or lmwh_treatment_dose_within_24h or doac_not_cleared or gp2b3a_concurrent or infective_endocarditis or aortic_arch_dissection or intra_axial_neoplasm (Powers 2018 Table 6 Class III: Harm). Not Class III No Benefit (unclear/wake-up onset windows, extensive CT hypoattenuation). Not Class I eligibility. Not 0-3h vs 3-4.5h. Not a dose. magent does not read CT, assay coagulation, or examine the patient. Not a treatment order","gi_malignancy_or_gi_bleed_21d":false,"gp2b3a_concurrent":false,"history_ich":false,"infective_endocarditis":false,"intra_axial_neoplasm":false,"intracranial_spinal_surgery_within_3_mo":false,"ischemic_stroke_within_3_mo":false,"lmwh_treatment_dose_within_24h":false,"posttraumatic_infarction_in_hospital":false,"sah_presentation":false,"severe_head_trauma_within_3_mo":false},{"aortic_arch_dissection":false,"citation":{"authors":"Powers WJ, Rabinstein AA, Ackerson T, et al.","doi":"10.1161/STR.0000000000000158","id":"powers-2018","pmid":"29133354","source":"Stroke. 2018;49(3):e46-e110","title":"2018 Guidelines for the Early Management of Patients With Acute Ischemic Stroke: A Guideline for Healthcare Professionals From the American Heart Association/American Stroke Association"},"coagulopathy":false,"contraindicated":false,"criteria":[{"factor":"ct_ich","met":false},{"factor":"ischemic_stroke_within_3_mo","met":false},{"factor":"severe_head_trauma_within_3_mo","met":false},{"factor":"posttraumatic_infarction_in_hospital","met":false},{"factor":"intracranial_spinal_surgery_within_3_mo","met":false},{"factor":"history_ich","met":false},{"factor":"sah_presentation","met":false},{"factor":"gi_malignancy_or_gi_bleed_21d","met":false},{"factor":"coagulopathy","met":false},{"factor":"lmwh_treatment_dose_within_24h","met":false},{"factor":"doac_not_cleared","met":false},{"factor":"gp2b3a_concurrent","met":false},{"factor":"infective_endocarditis","met":false},{"factor":"aortic_arch_dissection","met":false},{"factor":"intra_axial_neoplasm","met":false},{"factor":"contraindicated","met":false}],"ct_ich":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.","doac_not_cleared":false,"formula":"ivt_contraindications","formula_expression":"contraindicated iff ct_ich or ischemic_stroke_within_3_mo or severe_head_trauma_within_3_mo or posttraumatic_infarction_in_hospital or intracranial_spinal_surgery_within_3_mo or history_ich or sah_presentation or gi_malignancy_or_gi_bleed_21d or coagulopathy or lmwh_treatment_dose_within_24h or doac_not_cleared or gp2b3a_concurrent or infective_endocarditis or aortic_arch_dissection or intra_axial_neoplasm (Powers 2018 Table 6 Class III: Harm). Not Class III No Benefit (unclear/wake-up onset windows, extensive CT hypoattenuation). Not Class I eligibility. Not 0-3h vs 3-4.5h. Not a dose. magent does not read CT, assay coagulation, or examine the patient. Not a treatment order","gi_malignancy_or_gi_bleed_21d":false,"gp2b3a_concurrent":false,"history_ich":false,"infective_endocarditis":false,"intra_axial_neoplasm":false,"intracranial_spinal_surgery_within_3_mo":false,"ischemic_stroke_within_3_mo":false,"lmwh_treatment_dose_within_24h":false,"posttraumatic_infarction_in_hospital":false,"sah_presentation":false,"severe_head_trauma_within_3_mo":false}],"path":"/api/calc/ivt_contraindications"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"aortic_arch_dissection":{"description":"Known or suspected aortic arch dissection as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not examine the patient.","type":"boolean"},"coagulopathy":{"description":"Caller-assigned coagulopathy as in Table 6 (platelets <100000/mm3 or INR >1.7 or aPTT >40 s or PT >15 s). One flag. true or false. magent does not assay labs.","type":"boolean"},"ct_ich":{"description":"CT reveals acute intracranial hemorrhage as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not read CT.","type":"boolean"},"doac_not_cleared":{"description":"Taking a direct thrombin or factor Xa inhibitor AND labs not documented normal AND last dose not >48 h with normal renal function, as assigned by the caller from that Table 6 row. true or false. magent does not assay labs.","type":"boolean"},"gi_malignancy_or_gi_bleed_21d":{"description":"Structural GI malignancy or GI bleed within 21 days as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not examine the patient.","type":"boolean"},"gp2b3a_concurrent":{"description":"Concurrent GP IIb/IIIa inhibitor as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not read a medication list.","type":"boolean"},"history_ich":{"description":"History of intracranial hemorrhage as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not read prior imaging.","type":"boolean"},"infective_endocarditis":{"description":"Symptoms consistent with infective endocarditis as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not examine the patient.","type":"boolean"},"intra_axial_neoplasm":{"description":"Intra-axial intracranial neoplasm as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not read imaging.","type":"boolean"},"intracranial_spinal_surgery_within_3_mo":{"description":"Intracranial or spinal surgery within 3 months as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not read an operative note.","type":"boolean"},"ischemic_stroke_within_3_mo":{"description":"Prior ischemic stroke within 3 months as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not date prior strokes.","type":"boolean"},"lmwh_treatment_dose_within_24h":{"description":"Treatment-dose LMWH within the previous 24 h as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not read a medication list.","type":"boolean"},"posttraumatic_infarction_in_hospital":{"description":"Posttraumatic infarction in the acute in-hospital phase as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not examine the patient.","type":"boolean"},"sah_presentation":{"description":"Presentation most consistent with subarachnoid hemorrhage as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not examine the patient.","type":"boolean"},"severe_head_trauma_within_3_mo":{"description":"Recent severe head trauma within 3 months as assigned by the caller (Powers 2018 Table 6 Class III: Harm). true or false. magent does not examine the patient.","type":"boolean"}},"required":["ct_ich","ischemic_stroke_within_3_mo","severe_head_trauma_within_3_mo","posttraumatic_infarction_in_hospital","intracranial_spinal_surgery_within_3_mo","history_ich","sah_presentation","gi_malignancy_or_gi_bleed_21d","coagulopathy","lmwh_treatment_dose_within_24h","doac_not_cleared","gp2b3a_concurrent","infective_endocarditis","aortic_arch_dissection","intra_axial_neoplasm"],"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},{"id":39152,"slug":"39152","resource":"https://api.magentlab.com/api/calc/iv_drip","description":"INS gravity drip rate: gtt/min = (volume_ml × drop_factor_gtt_ml) / time_min, rounded half away from zero to an integer. Drop factor 10, 15, or 20 gtt/mL macrodrip or 60 gtt/mL microdrip. Also reports mL/hour. Not a pump program, drug order, or device. Deterministic published arithmetic with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"drop_factor_gtt_ml":15,"time_min":480,"volume_ml":1000},{"drop_factor_gtt_ml":15,"time_min":480,"volume_ml":1000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gorski LA, Hadaway L, Hagle ME, Broadhurst D, Clare S, Kleidon T, Meyer BM, Nickel B, Rowley S, Sharpe E, Alexander M","doi":"10.1097/NAN.0000000000000396","id":"gorski-ins-infusion-standards","pmid":"33394637","source":"J Infus Nurs. 2021;44(1S Suppl 1):S1-S224","title":"Infusion Therapy Standards of Practice, 8th Edition"},"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.","drop_factor_gtt_ml":15,"formula":"iv_drip","formula_expression":"gtt_per_min = round_half_away((volume_ml * drop_factor_gtt_ml) / time_min); ml_per_hour = volume_ml / (time_min / 60)","gtt_per_min":31,"ml_per_hour":125,"time_min":480,"volume_ml":1000},{"citation":{"authors":"Gorski LA, Hadaway L, Hagle ME, Broadhurst D, Clare S, Kleidon T, Meyer BM, Nickel B, Rowley S, Sharpe E, Alexander M","doi":"10.1097/NAN.0000000000000396","id":"gorski-ins-infusion-standards","pmid":"33394637","source":"J Infus Nurs. 2021;44(1S Suppl 1):S1-S224","title":"Infusion Therapy Standards of Practice, 8th Edition"},"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.","drop_factor_gtt_ml":15,"formula":"iv_drip","formula_expression":"gtt_per_min = round_half_away((volume_ml * drop_factor_gtt_ml) / time_min); ml_per_hour = volume_ml / (time_min / 60)","gtt_per_min":31,"ml_per_hour":125,"time_min":480,"volume_ml":1000}],"path":"/api/calc/iv_drip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"drop_factor_gtt_ml":{"description":"Administration-set drop factor in gtt/mL printed on the tubing package: 10, 15, or 20 (macrodrip) or 60 (microdrip). Integers 10, 15, 20, or 60 only. magent does not choose tubing.","enum":[10,15,20,60],"type":"integer"},"time_min":{"description":"Infusion duration in minutes (1-1440, magent clamp). Convert hours to minutes before calling (8 hours = 480).","type":"integer"},"volume_ml":{"description":"Infused volume in mL (1-10000, magent clamp). Caller-assigned bag or syringe volume; magent does not choose a fluid.","type":"number"}},"required":["volume_ml","time_min","drop_factor_gtt_ml"],"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":["fluids","iv","gravity","drip","ins","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:46:48.31Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:46:48.206Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"drop_factor_gtt_ml":15,"time_min":480,"volume_ml":1000},{"drop_factor_gtt_ml":15,"time_min":480,"volume_ml":1000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gorski LA, Hadaway L, Hagle ME, Broadhurst D, Clare S, Kleidon T, Meyer BM, Nickel B, Rowley S, Sharpe E, Alexander M","doi":"10.1097/NAN.0000000000000396","id":"gorski-ins-infusion-standards","pmid":"33394637","source":"J Infus Nurs. 2021;44(1S Suppl 1):S1-S224","title":"Infusion Therapy Standards of Practice, 8th Edition"},"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.","drop_factor_gtt_ml":15,"formula":"iv_drip","formula_expression":"gtt_per_min = round_half_away((volume_ml * drop_factor_gtt_ml) / time_min); ml_per_hour = volume_ml / (time_min / 60)","gtt_per_min":31,"ml_per_hour":125,"time_min":480,"volume_ml":1000},{"citation":{"authors":"Gorski LA, Hadaway L, Hagle ME, Broadhurst D, Clare S, Kleidon T, Meyer BM, Nickel B, Rowley S, Sharpe E, Alexander M","doi":"10.1097/NAN.0000000000000396","id":"gorski-ins-infusion-standards","pmid":"33394637","source":"J Infus Nurs. 2021;44(1S Suppl 1):S1-S224","title":"Infusion Therapy Standards of Practice, 8th Edition"},"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.","drop_factor_gtt_ml":15,"formula":"iv_drip","formula_expression":"gtt_per_min = round_half_away((volume_ml * drop_factor_gtt_ml) / time_min); ml_per_hour = volume_ml / (time_min / 60)","gtt_per_min":31,"ml_per_hour":125,"time_min":480,"volume_ml":1000}],"path":"/api/calc/iv_drip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"drop_factor_gtt_ml":{"description":"Administration-set drop factor in gtt/mL printed on the tubing package: 10, 15, or 20 (macrodrip) or 60 (microdrip). Integers 10, 15, 20, or 60 only. magent does not choose tubing.","enum":[10,15,20,60],"type":"integer"},"time_min":{"description":"Infusion duration in minutes (1-1440, magent clamp). Convert hours to minutes before calling (8 hours = 480).","type":"integer"},"volume_ml":{"description":"Infused volume in mL (1-10000, magent clamp). Caller-assigned bag or syringe volume; magent does not choose a fluid.","type":"number"}},"required":["volume_ml","time_min","drop_factor_gtt_ml"],"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},{"id":39153,"slug":"39153","resource":"https://api.magentlab.com/api/calc/igan_predict","description":"Barbour 2019 race-free full IgAN model: 5-year risk of 50% eGFR decline or ESKD from age, eGFR, MAP, proteinuria g/day, Oxford MEST, RAS blockade, and immunosuppression at biopsy. Risk = 1 - S0(60)^exp(LP) with eTable 3 coefficients. Caller supplies eGFR; magent does not compute CKD-EPI or score the biopsy. Not the race/ethnicity model. Not KFRE. Not a diagnosis or treatment order. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":38,"egfr_ml_min_1_73m2":77,"immunosuppression_at_biopsy":false,"map_mm_hg":97,"mest_e":0,"mest_m":1,"mest_s":1,"mest_t":0,"proteinuria_g_day":1.1,"rasb_at_biopsy":true},{"age_years":38,"egfr_ml_min_1_73m2":77,"immunosuppression_at_biopsy":false,"map_mm_hg":97,"mest_e":0,"mest_m":1,"mest_s":1,"mest_t":0,"proteinuria_g_day":1.1,"rasb_at_biopsy":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":38,"citation":{"authors":"Barbour SJ, Coppo R, Zhang H, Liu ZH, Suzuki Y, Matsuzaki K, Katafuchi R, Er L, Espino-Hernandez G, Kim SJ, Reich HN, Cattran DC, Feehally J; International IgA Nephropathy Network","doi":"10.1001/jamainternmed.2019.0600","id":"barbour-2019-igan","pmid":"30980653","source":"JAMA Intern Med. 2019;179(7):942-952","title":"Evaluating a new international risk-prediction tool in IgA nephropathy"},"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.","egfr_ml_min_1_73m2":77,"five_year_risk_percent":8.8,"formula":"igan_predict","formula_expression":"LP = -0.320*(sqrt(egfr_ml_min_1_73m2) - 8.8) + 0.002*(map_mm_hg - 97) - 0.035*(ln(proteinuria_g_day) - 0.09) + 0.004*(map_mm_hg*ln(proteinuria_g_day) - 8.73) + 0.201*M1 - 0.035*E1 + 0.084*S1 + 0.700*T1 + 1.237*T2 + 0.101*T1*ln(proteinuria_g_day) - 0.321*T2*ln(proteinuria_g_day) - 0.017*(age_years - 38) + 0.118*RASB + 0.166*RASB*ln(proteinuria_g_day) - 0.266*immunosuppression; S0(t) = 1.0003754 - 0.1131641*u^2 + 0.0964763*u^2*ln(u), u = (t + 0.1)/100, t months; 5-year risk = 1 - S0(60)^exp(LP); Barbour 2019 eTable 3 full model without race/ethnicity only; M/E/S/T1/T2 RASB and immunosuppression are 0 or 1; natural log; caller supplies eGFR; not the race model; not KFRE","horizon_months":60,"immunosuppression_at_biopsy":false,"linear_predictor":0.4287,"map_mm_hg":97,"mest_e":0,"mest_m":1,"mest_s":1,"mest_t":0,"proteinuria_g_day":1.1,"rasb_at_biopsy":true,"s0_5_year":0.94176},{"age_years":38,"citation":{"authors":"Barbour SJ, Coppo R, Zhang H, Liu ZH, Suzuki Y, Matsuzaki K, Katafuchi R, Er L, Espino-Hernandez G, Kim SJ, Reich HN, Cattran DC, Feehally J; International IgA Nephropathy Network","doi":"10.1001/jamainternmed.2019.0600","id":"barbour-2019-igan","pmid":"30980653","source":"JAMA Intern Med. 2019;179(7):942-952","title":"Evaluating a new international risk-prediction tool in IgA nephropathy"},"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.","egfr_ml_min_1_73m2":77,"five_year_risk_percent":8.8,"formula":"igan_predict","formula_expression":"LP = -0.320*(sqrt(egfr_ml_min_1_73m2) - 8.8) + 0.002*(map_mm_hg - 97) - 0.035*(ln(proteinuria_g_day) - 0.09) + 0.004*(map_mm_hg*ln(proteinuria_g_day) - 8.73) + 0.201*M1 - 0.035*E1 + 0.084*S1 + 0.700*T1 + 1.237*T2 + 0.101*T1*ln(proteinuria_g_day) - 0.321*T2*ln(proteinuria_g_day) - 0.017*(age_years - 38) + 0.118*RASB + 0.166*RASB*ln(proteinuria_g_day) - 0.266*immunosuppression; S0(t) = 1.0003754 - 0.1131641*u^2 + 0.0964763*u^2*ln(u), u = (t + 0.1)/100, t months; 5-year risk = 1 - S0(60)^exp(LP); Barbour 2019 eTable 3 full model without race/ethnicity only; M/E/S/T1/T2 RASB and immunosuppression are 0 or 1; natural log; caller supplies eGFR; not the race model; not KFRE","horizon_months":60,"immunosuppression_at_biopsy":false,"linear_predictor":0.4287,"map_mm_hg":97,"mest_e":0,"mest_m":1,"mest_s":1,"mest_t":0,"proteinuria_g_day":1.1,"rasb_at_biopsy":true,"s0_5_year":0.94176}],"path":"/api/calc/igan_predict"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age at biopsy in years (integer 18-120). Barbour 2019 derivation was adults 18 years or older. Enters the linear predictor as age_years - 38.","type":"integer"},"egfr_ml_min_1_73m2":{"description":"Caller-supplied eGFR in mL/min/1.73 m2 (5-200). Enters as sqrt(eGFR) centered at 8.8. Derivation used CKD-EPI and excluded ESKD at biopsy. magent does not compute CKD-EPI and does not assay creatinine.","type":"number"},"immunosuppression_at_biopsy":{"description":"true if immunosuppression was in use at biopsy. Enters as 1 or 0. magent does not prescribe immunosuppression.","type":"boolean"},"map_mm_hg":{"description":"Mean arterial pressure at biopsy in mm Hg (30-180). Enters centered at 97 and in the proteinuria×MAP interaction.","type":"number"},"mest_e":{"description":"Oxford MEST endocapillary hypercellularity at biopsy. 0 = E0, 1 = E1. magent does not score the biopsy.","enum":[0,1],"type":"integer"},"mest_m":{"description":"Oxford MEST mesangial hypercellularity at biopsy. 0 = M0, 1 = M1. magent does not score the biopsy.","enum":[0,1],"type":"integer"},"mest_s":{"description":"Oxford MEST segmental sclerosis at biopsy. 0 = S0, 1 = S1. magent does not score the biopsy.","enum":[0,1],"type":"integer"},"mest_t":{"description":"Oxford MEST tubular atrophy/interstitial fibrosis at biopsy. 0 = T0, 1 = T1, 2 = T2. T1 and T2 have main-effect and proteinuria-interaction terms. magent does not score the biopsy.","enum":[0,1,2],"type":"integer"},"proteinuria_g_day":{"description":"Proteinuria at biopsy in g/day (0.01-20). Enters as natural log, centered at 0.09, plus interactions with MAP, T, and RASB. magent does not assay urine protein.","type":"number"},"rasb_at_biopsy":{"description":"true if renin-angiotensin system blockade (ACE inhibitor or ARB) was in use at biopsy. Enters as 1 or 0 plus a RASB×proteinuria term. magent does not prescribe RAS blockade.","type":"boolean"}},"required":["age_years","egfr_ml_min_1_73m2","map_mm_hg","proteinuria_g_day","mest_m","mest_e","mest_s","mest_t","rasb_at_biopsy","immunosuppression_at_biopsy"],"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":["igan","kidney","mest","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:46:47.471Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:46:47.32Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":38,"egfr_ml_min_1_73m2":77,"immunosuppression_at_biopsy":false,"map_mm_hg":97,"mest_e":0,"mest_m":1,"mest_s":1,"mest_t":0,"proteinuria_g_day":1.1,"rasb_at_biopsy":true},{"age_years":38,"egfr_ml_min_1_73m2":77,"immunosuppression_at_biopsy":false,"map_mm_hg":97,"mest_e":0,"mest_m":1,"mest_s":1,"mest_t":0,"proteinuria_g_day":1.1,"rasb_at_biopsy":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":38,"citation":{"authors":"Barbour SJ, Coppo R, Zhang H, Liu ZH, Suzuki Y, Matsuzaki K, Katafuchi R, Er L, Espino-Hernandez G, Kim SJ, Reich HN, Cattran DC, Feehally J; International IgA Nephropathy Network","doi":"10.1001/jamainternmed.2019.0600","id":"barbour-2019-igan","pmid":"30980653","source":"JAMA Intern Med. 2019;179(7):942-952","title":"Evaluating a new international risk-prediction tool in IgA nephropathy"},"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.","egfr_ml_min_1_73m2":77,"five_year_risk_percent":8.8,"formula":"igan_predict","formula_expression":"LP = -0.320*(sqrt(egfr_ml_min_1_73m2) - 8.8) + 0.002*(map_mm_hg - 97) - 0.035*(ln(proteinuria_g_day) - 0.09) + 0.004*(map_mm_hg*ln(proteinuria_g_day) - 8.73) + 0.201*M1 - 0.035*E1 + 0.084*S1 + 0.700*T1 + 1.237*T2 + 0.101*T1*ln(proteinuria_g_day) - 0.321*T2*ln(proteinuria_g_day) - 0.017*(age_years - 38) + 0.118*RASB + 0.166*RASB*ln(proteinuria_g_day) - 0.266*immunosuppression; S0(t) = 1.0003754 - 0.1131641*u^2 + 0.0964763*u^2*ln(u), u = (t + 0.1)/100, t months; 5-year risk = 1 - S0(60)^exp(LP); Barbour 2019 eTable 3 full model without race/ethnicity only; M/E/S/T1/T2 RASB and immunosuppression are 0 or 1; natural log; caller supplies eGFR; not the race model; not KFRE","horizon_months":60,"immunosuppression_at_biopsy":false,"linear_predictor":0.4287,"map_mm_hg":97,"mest_e":0,"mest_m":1,"mest_s":1,"mest_t":0,"proteinuria_g_day":1.1,"rasb_at_biopsy":true,"s0_5_year":0.94176},{"age_years":38,"citation":{"authors":"Barbour SJ, Coppo R, Zhang H, Liu ZH, Suzuki Y, Matsuzaki K, Katafuchi R, Er L, Espino-Hernandez G, Kim SJ, Reich HN, Cattran DC, Feehally J; International IgA Nephropathy Network","doi":"10.1001/jamainternmed.2019.0600","id":"barbour-2019-igan","pmid":"30980653","source":"JAMA Intern Med. 2019;179(7):942-952","title":"Evaluating a new international risk-prediction tool in IgA nephropathy"},"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.","egfr_ml_min_1_73m2":77,"five_year_risk_percent":8.8,"formula":"igan_predict","formula_expression":"LP = -0.320*(sqrt(egfr_ml_min_1_73m2) - 8.8) + 0.002*(map_mm_hg - 97) - 0.035*(ln(proteinuria_g_day) - 0.09) + 0.004*(map_mm_hg*ln(proteinuria_g_day) - 8.73) + 0.201*M1 - 0.035*E1 + 0.084*S1 + 0.700*T1 + 1.237*T2 + 0.101*T1*ln(proteinuria_g_day) - 0.321*T2*ln(proteinuria_g_day) - 0.017*(age_years - 38) + 0.118*RASB + 0.166*RASB*ln(proteinuria_g_day) - 0.266*immunosuppression; S0(t) = 1.0003754 - 0.1131641*u^2 + 0.0964763*u^2*ln(u), u = (t + 0.1)/100, t months; 5-year risk = 1 - S0(60)^exp(LP); Barbour 2019 eTable 3 full model without race/ethnicity only; M/E/S/T1/T2 RASB and immunosuppression are 0 or 1; natural log; caller supplies eGFR; not the race model; not KFRE","horizon_months":60,"immunosuppression_at_biopsy":false,"linear_predictor":0.4287,"map_mm_hg":97,"mest_e":0,"mest_m":1,"mest_s":1,"mest_t":0,"proteinuria_g_day":1.1,"rasb_at_biopsy":true,"s0_5_year":0.94176}],"path":"/api/calc/igan_predict"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age at biopsy in years (integer 18-120). Barbour 2019 derivation was adults 18 years or older. Enters the linear predictor as age_years - 38.","type":"integer"},"egfr_ml_min_1_73m2":{"description":"Caller-supplied eGFR in mL/min/1.73 m2 (5-200). Enters as sqrt(eGFR) centered at 8.8. Derivation used CKD-EPI and excluded ESKD at biopsy. magent does not compute CKD-EPI and does not assay creatinine.","type":"number"},"immunosuppression_at_biopsy":{"description":"true if immunosuppression was in use at biopsy. Enters as 1 or 0. magent does not prescribe immunosuppression.","type":"boolean"},"map_mm_hg":{"description":"Mean arterial pressure at biopsy in mm Hg (30-180). Enters centered at 97 and in the proteinuria×MAP interaction.","type":"number"},"mest_e":{"description":"Oxford MEST endocapillary hypercellularity at biopsy. 0 = E0, 1 = E1. magent does not score the biopsy.","enum":[0,1],"type":"integer"},"mest_m":{"description":"Oxford MEST mesangial hypercellularity at biopsy. 0 = M0, 1 = M1. magent does not score the biopsy.","enum":[0,1],"type":"integer"},"mest_s":{"description":"Oxford MEST segmental sclerosis at biopsy. 0 = S0, 1 = S1. magent does not score the biopsy.","enum":[0,1],"type":"integer"},"mest_t":{"description":"Oxford MEST tubular atrophy/interstitial fibrosis at biopsy. 0 = T0, 1 = T1, 2 = T2. T1 and T2 have main-effect and proteinuria-interaction terms. magent does not score the biopsy.","enum":[0,1,2],"type":"integer"},"proteinuria_g_day":{"description":"Proteinuria at biopsy in g/day (0.01-20). Enters as natural log, centered at 0.09, plus interactions with MAP, T, and RASB. magent does not assay urine protein.","type":"number"},"rasb_at_biopsy":{"description":"true if renin-angiotensin system blockade (ACE inhibitor or ARB) was in use at biopsy. Enters as 1 or 0 plus a RASB×proteinuria term. magent does not prescribe RAS blockade.","type":"boolean"}},"required":["age_years","egfr_ml_min_1_73m2","map_mm_hg","proteinuria_g_day","mest_m","mest_e","mest_s","mest_t","rasb_at_biopsy","immunosuppression_at_biopsy"],"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},{"id":39154,"slug":"39154","resource":"https://api.magentlab.com/api/calc/ich_score","description":"Hemphill 2001 ICH Score from caller-assigned GCS, age, infratentorial origin, ICH volume (mL), and IVH; max 6. GCS 3-4 scores 2, 5-12 scores 1, 13-15 scores 0; age ≥80, volume ≥30 mL, infratentorial origin, and IVH score 1 each. Deterministic published score with citation; not a diagnosis or withdrawal-of-care protocol. magent does not read CT. Not FUNC and not ICH-GS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"gcs":15,"ich_volume_ml":10,"infratentorial_origin":false,"ivh":false},{"age":70,"gcs":15,"ich_volume_ml":10,"infratentorial_origin":false,"ivh":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Hemphill JC 3rd, Bonovich DC, Besmertis L, Manley GT, Johnston SC","doi":"10.1161/01.STR.32.4.891","id":"hemphill-2001","source":"Stroke. 2001;32(4):891-897","title":"The ICH Score: a simple, reliable grading scale for intracerebral hemorrhage"},"components":[{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"age","points":0,"present":false,"value":70},{"factor":"infratentorial_origin","points":0,"present":false},{"factor":"ich_volume_ml","points":0,"present":false,"value":10},{"factor":"ivh","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":"ich_score","formula_expression":"ICH Score = gcs + age_ge_80 + infratentorial_origin + ich_volume_ge_30_ml + ivh; GCS 3-4 → 2, 5-12 → 1, 13-15 → 0; age >=80 1; infratentorial origin 1; volume >=30 mL 1; IVH 1; max 6","gcs":15,"ich_volume_ml":10,"max_score":6,"score":0},{"age_years":70,"citation":{"authors":"Hemphill JC 3rd, Bonovich DC, Besmertis L, Manley GT, Johnston SC","doi":"10.1161/01.STR.32.4.891","id":"hemphill-2001","source":"Stroke. 2001;32(4):891-897","title":"The ICH Score: a simple, reliable grading scale for intracerebral hemorrhage"},"components":[{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"age","points":0,"present":false,"value":70},{"factor":"infratentorial_origin","points":0,"present":false},{"factor":"ich_volume_ml","points":0,"present":false,"value":10},{"factor":"ivh","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":"ich_score","formula_expression":"ICH Score = gcs + age_ge_80 + infratentorial_origin + ich_volume_ge_30_ml + ivh; GCS 3-4 → 2, 5-12 → 1, 13-15 → 0; age >=80 1; infratentorial origin 1; volume >=30 mL 1; IVH 1; max 6","gcs":15,"ich_volume_ml":10,"max_score":6,"score":0}],"path":"/api/calc/ich_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥80 scores 1; 79 does not.","type":"integer"},"gcs":{"description":"Caller-assigned GCS total (integer 3-15). 3-4 scores 2; 5-12 scores 1; 13-15 scores 0. magent does not compute GCS from eye, verbal, and motor here.","type":"integer"},"ich_volume_ml":{"description":"ICH volume in mL (cm^3 in Hemphill 2001). Number from 0.1 to 300. ≥30 scores 1; 29.9 does not. magent does not measure volume from imaging.","type":"number"},"infratentorial_origin":{"description":"Infratentorial origin of the hemorrhage as assigned by the caller. true or false. 1 point if true. magent does not read a CT scan.","type":"boolean"},"ivh":{"description":"Intraventricular hemorrhage as assigned by the caller. true or false. 1 point if true. magent does not read a CT scan.","type":"boolean"}},"required":["gcs","age","infratentorial_origin","ich_volume_ml","ivh"],"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":["ich-score","ich","neurology","hemorrhage","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:46:46.669Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:46:46.497Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"gcs":15,"ich_volume_ml":10,"infratentorial_origin":false,"ivh":false},{"age":70,"gcs":15,"ich_volume_ml":10,"infratentorial_origin":false,"ivh":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Hemphill JC 3rd, Bonovich DC, Besmertis L, Manley GT, Johnston SC","doi":"10.1161/01.STR.32.4.891","id":"hemphill-2001","source":"Stroke. 2001;32(4):891-897","title":"The ICH Score: a simple, reliable grading scale for intracerebral hemorrhage"},"components":[{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"age","points":0,"present":false,"value":70},{"factor":"infratentorial_origin","points":0,"present":false},{"factor":"ich_volume_ml","points":0,"present":false,"value":10},{"factor":"ivh","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":"ich_score","formula_expression":"ICH Score = gcs + age_ge_80 + infratentorial_origin + ich_volume_ge_30_ml + ivh; GCS 3-4 → 2, 5-12 → 1, 13-15 → 0; age >=80 1; infratentorial origin 1; volume >=30 mL 1; IVH 1; max 6","gcs":15,"ich_volume_ml":10,"max_score":6,"score":0},{"age_years":70,"citation":{"authors":"Hemphill JC 3rd, Bonovich DC, Besmertis L, Manley GT, Johnston SC","doi":"10.1161/01.STR.32.4.891","id":"hemphill-2001","source":"Stroke. 2001;32(4):891-897","title":"The ICH Score: a simple, reliable grading scale for intracerebral hemorrhage"},"components":[{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"age","points":0,"present":false,"value":70},{"factor":"infratentorial_origin","points":0,"present":false},{"factor":"ich_volume_ml","points":0,"present":false,"value":10},{"factor":"ivh","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":"ich_score","formula_expression":"ICH Score = gcs + age_ge_80 + infratentorial_origin + ich_volume_ge_30_ml + ivh; GCS 3-4 → 2, 5-12 → 1, 13-15 → 0; age >=80 1; infratentorial origin 1; volume >=30 mL 1; IVH 1; max 6","gcs":15,"ich_volume_ml":10,"max_score":6,"score":0}],"path":"/api/calc/ich_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥80 scores 1; 79 does not.","type":"integer"},"gcs":{"description":"Caller-assigned GCS total (integer 3-15). 3-4 scores 2; 5-12 scores 1; 13-15 scores 0. magent does not compute GCS from eye, verbal, and motor here.","type":"integer"},"ich_volume_ml":{"description":"ICH volume in mL (cm^3 in Hemphill 2001). Number from 0.1 to 300. ≥30 scores 1; 29.9 does not. magent does not measure volume from imaging.","type":"number"},"infratentorial_origin":{"description":"Infratentorial origin of the hemorrhage as assigned by the caller. true or false. 1 point if true. magent does not read a CT scan.","type":"boolean"},"ivh":{"description":"Intraventricular hemorrhage as assigned by the caller. true or false. 1 point if true. magent does not read a CT scan.","type":"boolean"}},"required":["gcs","age","infratentorial_origin","ich_volume_ml","ivh"],"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},{"id":39155,"slug":"39155","resource":"https://api.magentlab.com/api/calc/hypoglycemia_risk_score","description":"Karter 2017 Figure 2 T2D 12-month hypoglycemia-related ED/hospital-use risk from prior_hypo_ed_hospital_count (0-20), ed_visits_12mo (0-50), insulin, sulfonylurea, severe_or_esrd (dialysis or CKD 4-5, eGFR <=29), and age_lt_77. First-match 6 options: >=3 prior or 1-2 plus insulin = high (>5%); remaining rows intermediate (1-5%) or low (<1%). Not a points sum. magent does not assay glucose. Not a diagnosis. Not an insulin dose.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_lt_77":true,"ed_visits_12mo":0,"insulin":false,"prior_hypo_ed_hospital_count":3,"severe_or_esrd":false,"sulfonylurea":false},{"age_lt_77":true,"ed_visits_12mo":0,"insulin":false,"prior_hypo_ed_hospital_count":3,"severe_or_esrd":false,"sulfonylurea":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_lt_77":true,"citation":{"authors":"Karter AJ, Warton EM, Lipska KJ, Ralston JD, Moffet HH, Jackson GG, Huang ES, Miller DR","doi":"10.1001/jamainternmed.2017.3844","id":"karter-2017","pmid":"28828479","source":"JAMA Intern Med. 2017;177(10):1461-1470","title":"Development and Validation of a Tool to Identify Patients With Type 2 Diabetes at High Risk of Hypoglycemia-Related Emergency Department or Hospital Use"},"criteria":[{"factor":"prior_hypo_ge_3","met":true,"value":3},{"factor":"prior_hypo_1_or_2","met":false,"value":3},{"factor":"insulin","met":false},{"factor":"sulfonylurea","met":false},{"factor":"ed_visits_ge_2","met":false,"value":0},{"factor":"severe_or_esrd","met":false},{"factor":"age_lt_77","met":true}],"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.","ed_visits_12mo":0,"ed_visits_band":"lt_2","figure2_option":1,"formula":"hypoglycemia_risk_score","formula_expression":"hypoglycemia_risk_score first-match Karter 2017 Figure 2 (6 mutually exclusive options; eTable 2 source): (1) prior_hypo_ed_hospital_count >= 3 -> high; (2) prior 1-2 and insulin -> high; (3) prior 1-2 and not insulin -> intermediate; (4) prior 0 and insulin and (ed_visits_12mo >= 2 or severe_or_esrd or not age_lt_77) -> intermediate; (5) prior 0 and not insulin and sulfonylurea and (ed_visits_12mo >= 2 or severe_or_esrd) -> intermediate; (6) else -> low. high >5%, intermediate 1-5%, low <1% 12-month hypoglycemia-related ED/hospital use. T2D only. Not a points sum. magent does not assay glucose. Not a diagnosis. Not an insulin dose","insulin":false,"prior_hypo_band":"ge_3","prior_hypo_ed_hospital_count":3,"rate_band":">5%","risk":"high","severe_or_esrd":false,"sulfonylurea":false},{"age_lt_77":true,"citation":{"authors":"Karter AJ, Warton EM, Lipska KJ, Ralston JD, Moffet HH, Jackson GG, Huang ES, Miller DR","doi":"10.1001/jamainternmed.2017.3844","id":"karter-2017","pmid":"28828479","source":"JAMA Intern Med. 2017;177(10):1461-1470","title":"Development and Validation of a Tool to Identify Patients With Type 2 Diabetes at High Risk of Hypoglycemia-Related Emergency Department or Hospital Use"},"criteria":[{"factor":"prior_hypo_ge_3","met":true,"value":3},{"factor":"prior_hypo_1_or_2","met":false,"value":3},{"factor":"insulin","met":false},{"factor":"sulfonylurea","met":false},{"factor":"ed_visits_ge_2","met":false,"value":0},{"factor":"severe_or_esrd","met":false},{"factor":"age_lt_77","met":true}],"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.","ed_visits_12mo":0,"ed_visits_band":"lt_2","figure2_option":1,"formula":"hypoglycemia_risk_score","formula_expression":"hypoglycemia_risk_score first-match Karter 2017 Figure 2 (6 mutually exclusive options; eTable 2 source): (1) prior_hypo_ed_hospital_count >= 3 -> high; (2) prior 1-2 and insulin -> high; (3) prior 1-2 and not insulin -> intermediate; (4) prior 0 and insulin and (ed_visits_12mo >= 2 or severe_or_esrd or not age_lt_77) -> intermediate; (5) prior 0 and not insulin and sulfonylurea and (ed_visits_12mo >= 2 or severe_or_esrd) -> intermediate; (6) else -> low. high >5%, intermediate 1-5%, low <1% 12-month hypoglycemia-related ED/hospital use. T2D only. Not a points sum. magent does not assay glucose. Not a diagnosis. Not an insulin dose","insulin":false,"prior_hypo_band":"ge_3","prior_hypo_ed_hospital_count":3,"rate_band":">5%","risk":"high","severe_or_esrd":false,"sulfonylurea":false}],"path":"/api/calc/hypoglycemia_risk_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_lt_77":{"description":"Age younger than 77 years as assigned by the caller (Karter 2017 Figure 2). true or false. When prior episodes are 0 and insulin is true, age not <77 (with ED visits <2 and severe_or_esrd false) is intermediate. magent does not compute age.","type":"boolean"},"ed_visits_12mo":{"description":"ED encounters for any reason in the prior 12 months (integer 0-50). Karter 2017 Figure 2 bands: <2 vs >=2. magent does not count visits.","type":"integer"},"insulin":{"description":"Current insulin use as assigned by the caller (Karter 2017 Figure 2). true or false. With 1-2 prior hypoglycemia-related ED or hospital episodes, insulin is high; with 0 prior episodes, insulin plus ED visits >=2, severe_or_esrd, or age not <77 is intermediate. Not an insulin dose.","type":"boolean"},"prior_hypo_ed_hospital_count":{"description":"Count of prior hypoglycemia-related ED visits or hospitalizations (integer 0-20). Karter 2017 Figure 2 bands: 0, 1-2, or >=3. >=3 is high regardless of other inputs. magent does not read claims.","type":"integer"},"severe_or_esrd":{"description":"Severe or end-stage kidney disease as assigned by the caller (Karter 2017: dialysis or CKD stage 4-5, eGFR <=29 mL/min/1.73 m2). true or false. magent does not compute eGFR.","type":"boolean"},"sulfonylurea":{"description":"Current sulfonylurea use as assigned by the caller (Karter 2017 Figure 2). true or false. With 0 prior episodes and no insulin, sulfonylurea plus ED visits >=2 or severe_or_esrd is intermediate. magent does not dispense medication.","type":"boolean"}},"required":["prior_hypo_ed_hospital_count","ed_visits_12mo","insulin","sulfonylurea","severe_or_esrd","age_lt_77"],"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":["hypoglycemia","karter","diabetes","t2d","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:37:21.502Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:37:21.357Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_lt_77":true,"ed_visits_12mo":0,"insulin":false,"prior_hypo_ed_hospital_count":3,"severe_or_esrd":false,"sulfonylurea":false},{"age_lt_77":true,"ed_visits_12mo":0,"insulin":false,"prior_hypo_ed_hospital_count":3,"severe_or_esrd":false,"sulfonylurea":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_lt_77":true,"citation":{"authors":"Karter AJ, Warton EM, Lipska KJ, Ralston JD, Moffet HH, Jackson GG, Huang ES, Miller DR","doi":"10.1001/jamainternmed.2017.3844","id":"karter-2017","pmid":"28828479","source":"JAMA Intern Med. 2017;177(10):1461-1470","title":"Development and Validation of a Tool to Identify Patients With Type 2 Diabetes at High Risk of Hypoglycemia-Related Emergency Department or Hospital Use"},"criteria":[{"factor":"prior_hypo_ge_3","met":true,"value":3},{"factor":"prior_hypo_1_or_2","met":false,"value":3},{"factor":"insulin","met":false},{"factor":"sulfonylurea","met":false},{"factor":"ed_visits_ge_2","met":false,"value":0},{"factor":"severe_or_esrd","met":false},{"factor":"age_lt_77","met":true}],"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.","ed_visits_12mo":0,"ed_visits_band":"lt_2","figure2_option":1,"formula":"hypoglycemia_risk_score","formula_expression":"hypoglycemia_risk_score first-match Karter 2017 Figure 2 (6 mutually exclusive options; eTable 2 source): (1) prior_hypo_ed_hospital_count >= 3 -> high; (2) prior 1-2 and insulin -> high; (3) prior 1-2 and not insulin -> intermediate; (4) prior 0 and insulin and (ed_visits_12mo >= 2 or severe_or_esrd or not age_lt_77) -> intermediate; (5) prior 0 and not insulin and sulfonylurea and (ed_visits_12mo >= 2 or severe_or_esrd) -> intermediate; (6) else -> low. high >5%, intermediate 1-5%, low <1% 12-month hypoglycemia-related ED/hospital use. T2D only. Not a points sum. magent does not assay glucose. Not a diagnosis. Not an insulin dose","insulin":false,"prior_hypo_band":"ge_3","prior_hypo_ed_hospital_count":3,"rate_band":">5%","risk":"high","severe_or_esrd":false,"sulfonylurea":false},{"age_lt_77":true,"citation":{"authors":"Karter AJ, Warton EM, Lipska KJ, Ralston JD, Moffet HH, Jackson GG, Huang ES, Miller DR","doi":"10.1001/jamainternmed.2017.3844","id":"karter-2017","pmid":"28828479","source":"JAMA Intern Med. 2017;177(10):1461-1470","title":"Development and Validation of a Tool to Identify Patients With Type 2 Diabetes at High Risk of Hypoglycemia-Related Emergency Department or Hospital Use"},"criteria":[{"factor":"prior_hypo_ge_3","met":true,"value":3},{"factor":"prior_hypo_1_or_2","met":false,"value":3},{"factor":"insulin","met":false},{"factor":"sulfonylurea","met":false},{"factor":"ed_visits_ge_2","met":false,"value":0},{"factor":"severe_or_esrd","met":false},{"factor":"age_lt_77","met":true}],"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.","ed_visits_12mo":0,"ed_visits_band":"lt_2","figure2_option":1,"formula":"hypoglycemia_risk_score","formula_expression":"hypoglycemia_risk_score first-match Karter 2017 Figure 2 (6 mutually exclusive options; eTable 2 source): (1) prior_hypo_ed_hospital_count >= 3 -> high; (2) prior 1-2 and insulin -> high; (3) prior 1-2 and not insulin -> intermediate; (4) prior 0 and insulin and (ed_visits_12mo >= 2 or severe_or_esrd or not age_lt_77) -> intermediate; (5) prior 0 and not insulin and sulfonylurea and (ed_visits_12mo >= 2 or severe_or_esrd) -> intermediate; (6) else -> low. high >5%, intermediate 1-5%, low <1% 12-month hypoglycemia-related ED/hospital use. T2D only. Not a points sum. magent does not assay glucose. Not a diagnosis. Not an insulin dose","insulin":false,"prior_hypo_band":"ge_3","prior_hypo_ed_hospital_count":3,"rate_band":">5%","risk":"high","severe_or_esrd":false,"sulfonylurea":false}],"path":"/api/calc/hypoglycemia_risk_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_lt_77":{"description":"Age younger than 77 years as assigned by the caller (Karter 2017 Figure 2). true or false. When prior episodes are 0 and insulin is true, age not <77 (with ED visits <2 and severe_or_esrd false) is intermediate. magent does not compute age.","type":"boolean"},"ed_visits_12mo":{"description":"ED encounters for any reason in the prior 12 months (integer 0-50). Karter 2017 Figure 2 bands: <2 vs >=2. magent does not count visits.","type":"integer"},"insulin":{"description":"Current insulin use as assigned by the caller (Karter 2017 Figure 2). true or false. With 1-2 prior hypoglycemia-related ED or hospital episodes, insulin is high; with 0 prior episodes, insulin plus ED visits >=2, severe_or_esrd, or age not <77 is intermediate. Not an insulin dose.","type":"boolean"},"prior_hypo_ed_hospital_count":{"description":"Count of prior hypoglycemia-related ED visits or hospitalizations (integer 0-20). Karter 2017 Figure 2 bands: 0, 1-2, or >=3. >=3 is high regardless of other inputs. magent does not read claims.","type":"integer"},"severe_or_esrd":{"description":"Severe or end-stage kidney disease as assigned by the caller (Karter 2017: dialysis or CKD stage 4-5, eGFR <=29 mL/min/1.73 m2). true or false. magent does not compute eGFR.","type":"boolean"},"sulfonylurea":{"description":"Current sulfonylurea use as assigned by the caller (Karter 2017 Figure 2). true or false. With 0 prior episodes and no insulin, sulfonylurea plus ED visits >=2 or severe_or_esrd is intermediate. magent does not dispense medication.","type":"boolean"}},"required":["prior_hypo_ed_hospital_count","ed_visits_12mo","insulin","sulfonylurea","severe_or_esrd","age_lt_77"],"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},{"id":39156,"slug":"39156","resource":"https://api.magentlab.com/api/calc/hope","description":"Pasquier 2018 HOPE survival probability after ECLS for hypothermic cardiac arrest from sex (published male coefficient, not race), asphyxia, age, potassium, CPR duration, and temperature. Returns logit, estimated_survival_percent from the unrounded logit, and Table 2 HOPE >= 10% flag. Not an ECLS or rewarming order. magent does not cannulate.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"asphyxia":false,"cpr_duration_min":30,"potassium_mmol_l":4,"sex":"female","temperature_c":28},{"age":40,"asphyxia":false,"cpr_duration_min":30,"potassium_mmol_l":4,"sex":"female","temperature_c":28}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"asphyxia":false,"citation":{"authors":"Pasquier M, Hugli O, Paal P, Darocha T, Blancher M, Husby P, Silfvast T, Carron PN, Rousson V","doi":"10.1016/j.resuscitation.2018.02.026","id":"pasquier-2018","pmid":"29481910","source":"Resuscitation. 2018;126:58-64","title":"Hypothermia outcome prediction after extracorporeal life support for hypothermic cardiac arrest patients: The HOPE score"},"cpr_duration_min":30,"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.","estimated_survival_percent":83.14,"formula":"hope","formula_expression":"logit = 2.44 - 1.55*male - 1.95*asphyxia - 0.0191*age - 2.07*log2(potassium_mmol_l) - 0.573*log2(cpr_duration_min) + 0.937*temperature_c - 0.0247*temperature_c^2; survival_probability = exp(logit)/(1+exp(logit)); estimated_survival_percent = 100 * survival_probability from the unrounded logit, 2 decimals; male is 1 if sex is male else 0; asphyxia is 1 if asphyxia-related (head fully covered by water or snow AND cardiac arrest at extrication) else 0; hope_ge_10_percent is true when survival_probability >= 0.10 (Pasquier 2018 Table 2)","hope_ge_10_percent":true,"logit":1.6,"potassium_mmol_l":4,"sex":"female","temperature_c":28},{"age_years":40,"asphyxia":false,"citation":{"authors":"Pasquier M, Hugli O, Paal P, Darocha T, Blancher M, Husby P, Silfvast T, Carron PN, Rousson V","doi":"10.1016/j.resuscitation.2018.02.026","id":"pasquier-2018","pmid":"29481910","source":"Resuscitation. 2018;126:58-64","title":"Hypothermia outcome prediction after extracorporeal life support for hypothermic cardiac arrest patients: The HOPE score"},"cpr_duration_min":30,"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.","estimated_survival_percent":83.14,"formula":"hope","formula_expression":"logit = 2.44 - 1.55*male - 1.95*asphyxia - 0.0191*age - 2.07*log2(potassium_mmol_l) - 0.573*log2(cpr_duration_min) + 0.937*temperature_c - 0.0247*temperature_c^2; survival_probability = exp(logit)/(1+exp(logit)); estimated_survival_percent = 100 * survival_probability from the unrounded logit, 2 decimals; male is 1 if sex is male else 0; asphyxia is 1 if asphyxia-related (head fully covered by water or snow AND cardiac arrest at extrication) else 0; hope_ge_10_percent is true when survival_probability >= 0.10 (Pasquier 2018 Table 2)","hope_ge_10_percent":true,"logit":1.6,"potassium_mmol_l":4,"sex":"female","temperature_c":28}],"path":"/api/calc/hope"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years, integer 0-100. Pasquier 2018 coefficient -0.0191 per year. magent does not read an identity document.","type":"integer"},"asphyxia":{"description":"true if the caller assigns an asphyxia-related mechanism: head fully covered by water or snow AND cardiac arrest at extrication (Pasquier 2018). true scores 1 in the logit; false scores 0. magent does not classify the scene.","type":"boolean"},"cpr_duration_min":{"description":"Duration of CPR in minutes from start of CPR to ECLS (1-480). Enters as log2. Must be greater than 0 (0 is invalid). Caller-supplied; magent does not time the arrest.","type":"number"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (0.5-20). Enters as log2. Must be greater than 0. Caller-supplied; magent does not assay potassium.","type":"number"},"sex":{"description":"Sex used as the published Pasquier 2018 male coefficient (male = 1, female = 0). Not race. magent does not examine the patient.","enum":["female","male"],"type":"string"},"temperature_c":{"description":"Core temperature in C (10-37). Linear and squared Pasquier 2018 terms. Caller-supplied; magent does not measure temperature or convert Fahrenheit.","type":"number"}},"required":["age","sex","asphyxia","cpr_duration_min","potassium_mmol_l","temperature_c"],"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":["hope","hypothermia","cardiac-arrest","ecls","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:37:19.865Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:37:19.722Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"asphyxia":false,"cpr_duration_min":30,"potassium_mmol_l":4,"sex":"female","temperature_c":28},{"age":40,"asphyxia":false,"cpr_duration_min":30,"potassium_mmol_l":4,"sex":"female","temperature_c":28}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"asphyxia":false,"citation":{"authors":"Pasquier M, Hugli O, Paal P, Darocha T, Blancher M, Husby P, Silfvast T, Carron PN, Rousson V","doi":"10.1016/j.resuscitation.2018.02.026","id":"pasquier-2018","pmid":"29481910","source":"Resuscitation. 2018;126:58-64","title":"Hypothermia outcome prediction after extracorporeal life support for hypothermic cardiac arrest patients: The HOPE score"},"cpr_duration_min":30,"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.","estimated_survival_percent":83.14,"formula":"hope","formula_expression":"logit = 2.44 - 1.55*male - 1.95*asphyxia - 0.0191*age - 2.07*log2(potassium_mmol_l) - 0.573*log2(cpr_duration_min) + 0.937*temperature_c - 0.0247*temperature_c^2; survival_probability = exp(logit)/(1+exp(logit)); estimated_survival_percent = 100 * survival_probability from the unrounded logit, 2 decimals; male is 1 if sex is male else 0; asphyxia is 1 if asphyxia-related (head fully covered by water or snow AND cardiac arrest at extrication) else 0; hope_ge_10_percent is true when survival_probability >= 0.10 (Pasquier 2018 Table 2)","hope_ge_10_percent":true,"logit":1.6,"potassium_mmol_l":4,"sex":"female","temperature_c":28},{"age_years":40,"asphyxia":false,"citation":{"authors":"Pasquier M, Hugli O, Paal P, Darocha T, Blancher M, Husby P, Silfvast T, Carron PN, Rousson V","doi":"10.1016/j.resuscitation.2018.02.026","id":"pasquier-2018","pmid":"29481910","source":"Resuscitation. 2018;126:58-64","title":"Hypothermia outcome prediction after extracorporeal life support for hypothermic cardiac arrest patients: The HOPE score"},"cpr_duration_min":30,"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.","estimated_survival_percent":83.14,"formula":"hope","formula_expression":"logit = 2.44 - 1.55*male - 1.95*asphyxia - 0.0191*age - 2.07*log2(potassium_mmol_l) - 0.573*log2(cpr_duration_min) + 0.937*temperature_c - 0.0247*temperature_c^2; survival_probability = exp(logit)/(1+exp(logit)); estimated_survival_percent = 100 * survival_probability from the unrounded logit, 2 decimals; male is 1 if sex is male else 0; asphyxia is 1 if asphyxia-related (head fully covered by water or snow AND cardiac arrest at extrication) else 0; hope_ge_10_percent is true when survival_probability >= 0.10 (Pasquier 2018 Table 2)","hope_ge_10_percent":true,"logit":1.6,"potassium_mmol_l":4,"sex":"female","temperature_c":28}],"path":"/api/calc/hope"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years, integer 0-100. Pasquier 2018 coefficient -0.0191 per year. magent does not read an identity document.","type":"integer"},"asphyxia":{"description":"true if the caller assigns an asphyxia-related mechanism: head fully covered by water or snow AND cardiac arrest at extrication (Pasquier 2018). true scores 1 in the logit; false scores 0. magent does not classify the scene.","type":"boolean"},"cpr_duration_min":{"description":"Duration of CPR in minutes from start of CPR to ECLS (1-480). Enters as log2. Must be greater than 0 (0 is invalid). Caller-supplied; magent does not time the arrest.","type":"number"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (0.5-20). Enters as log2. Must be greater than 0. Caller-supplied; magent does not assay potassium.","type":"number"},"sex":{"description":"Sex used as the published Pasquier 2018 male coefficient (male = 1, female = 0). Not race. magent does not examine the patient.","enum":["female","male"],"type":"string"},"temperature_c":{"description":"Core temperature in C (10-37). Linear and squared Pasquier 2018 terms. Caller-supplied; magent does not measure temperature or convert Fahrenheit.","type":"number"}},"required":["age","sex","asphyxia","cpr_duration_min","potassium_mmol_l","temperature_c"],"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},{"id":39157,"slug":"39157","resource":"https://api.magentlab.com/api/calc/heart_pathway","description":"Mahler 2015 HEART Pathway for emergency chest pain. early_discharge_candidate is true only when the caller-assigned HEART score is 0-3 and both 0-hour and 3-hour troponin flags are not elevated (above the 99th percentile). HEART items are not assigned here. magent does not read an ECG or assay a troponin. Does not order a stress test or angiogram. High-risk features do not mandate a test. Not a medical device and not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"heart_score":2,"troponin_0_elevated":false,"troponin_3h_elevated":false},{"heart_score":2,"troponin_0_elevated":false,"troponin_3h_elevated":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mahler SA, Riley RF, Hiestand BC, Russell GB, Hoekstra JW, Lefebvre CW, Nicks BA, Cline DM, Askew KL, Elliott SB, Herrington DM, Burke GL, Miller CD","doi":"10.1161/CIRCOUTCOMES.114.001384","id":"mahler-2015","pmid":"25737484","source":"Circ Cardiovasc Qual Outcomes. 2015;8(2):195-203","title":"The HEART Pathway randomized trial: identifying emergency department patients with acute chest pain for early discharge"},"components":[{"factor":"heart_score_le_3","met":true,"value":2},{"factor":"trop0_not_elevated","met":true,"value":false},{"factor":"trop3h_not_elevated","met":true,"value":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.","early_discharge_candidate":true,"formula":"heart_pathway","formula_expression":"early_discharge_candidate iff heart_score <= 3 and troponin_0_elevated is false and troponin_3h_elevated is false; heart_score is the caller-assigned Six 2008 HEART total 0-10; troponin flags are caller-assigned above the 99th percentile at 0 and 3 hours (Mahler 2015)","heart_score":2,"troponin_0_elevated":false,"troponin_3h_elevated":false},{"citation":{"authors":"Mahler SA, Riley RF, Hiestand BC, Russell GB, Hoekstra JW, Lefebvre CW, Nicks BA, Cline DM, Askew KL, Elliott SB, Herrington DM, Burke GL, Miller CD","doi":"10.1161/CIRCOUTCOMES.114.001384","id":"mahler-2015","pmid":"25737484","source":"Circ Cardiovasc Qual Outcomes. 2015;8(2):195-203","title":"The HEART Pathway randomized trial: identifying emergency department patients with acute chest pain for early discharge"},"components":[{"factor":"heart_score_le_3","met":true,"value":2},{"factor":"trop0_not_elevated","met":true,"value":false},{"factor":"trop3h_not_elevated","met":true,"value":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.","early_discharge_candidate":true,"formula":"heart_pathway","formula_expression":"early_discharge_candidate iff heart_score <= 3 and troponin_0_elevated is false and troponin_3h_elevated is false; heart_score is the caller-assigned Six 2008 HEART total 0-10; troponin flags are caller-assigned above the 99th percentile at 0 and 3 hours (Mahler 2015)","heart_score":2,"troponin_0_elevated":false,"troponin_3h_elevated":false}],"path":"/api/calc/heart_pathway"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"heart_score":{"description":"Caller-assigned HEART score integer 0-10 (Six 2008 components already summed by the caller). magent does not assign history, ECG, age, risk-factor, or troponin HEART items. Early discharge requires 0-3 when both serial troponin flags are false.","type":"integer"},"troponin_0_elevated":{"description":"0-hour troponin above the 99th percentile threshold as assigned by the caller. true or false. true blocks early discharge. magent does not assay a troponin.","type":"boolean"},"troponin_3h_elevated":{"description":"3-hour troponin above the 99th percentile threshold as assigned by the caller. true or false. true blocks early discharge. magent does not assay a troponin.","type":"boolean"}},"required":["heart_score","troponin_0_elevated","troponin_3h_elevated"],"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":["heart-pathway","acs","chest-pain","troponin","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:37:18.453Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:37:18.137Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"heart_score":2,"troponin_0_elevated":false,"troponin_3h_elevated":false},{"heart_score":2,"troponin_0_elevated":false,"troponin_3h_elevated":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mahler SA, Riley RF, Hiestand BC, Russell GB, Hoekstra JW, Lefebvre CW, Nicks BA, Cline DM, Askew KL, Elliott SB, Herrington DM, Burke GL, Miller CD","doi":"10.1161/CIRCOUTCOMES.114.001384","id":"mahler-2015","pmid":"25737484","source":"Circ Cardiovasc Qual Outcomes. 2015;8(2):195-203","title":"The HEART Pathway randomized trial: identifying emergency department patients with acute chest pain for early discharge"},"components":[{"factor":"heart_score_le_3","met":true,"value":2},{"factor":"trop0_not_elevated","met":true,"value":false},{"factor":"trop3h_not_elevated","met":true,"value":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.","early_discharge_candidate":true,"formula":"heart_pathway","formula_expression":"early_discharge_candidate iff heart_score <= 3 and troponin_0_elevated is false and troponin_3h_elevated is false; heart_score is the caller-assigned Six 2008 HEART total 0-10; troponin flags are caller-assigned above the 99th percentile at 0 and 3 hours (Mahler 2015)","heart_score":2,"troponin_0_elevated":false,"troponin_3h_elevated":false},{"citation":{"authors":"Mahler SA, Riley RF, Hiestand BC, Russell GB, Hoekstra JW, Lefebvre CW, Nicks BA, Cline DM, Askew KL, Elliott SB, Herrington DM, Burke GL, Miller CD","doi":"10.1161/CIRCOUTCOMES.114.001384","id":"mahler-2015","pmid":"25737484","source":"Circ Cardiovasc Qual Outcomes. 2015;8(2):195-203","title":"The HEART Pathway randomized trial: identifying emergency department patients with acute chest pain for early discharge"},"components":[{"factor":"heart_score_le_3","met":true,"value":2},{"factor":"trop0_not_elevated","met":true,"value":false},{"factor":"trop3h_not_elevated","met":true,"value":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.","early_discharge_candidate":true,"formula":"heart_pathway","formula_expression":"early_discharge_candidate iff heart_score <= 3 and troponin_0_elevated is false and troponin_3h_elevated is false; heart_score is the caller-assigned Six 2008 HEART total 0-10; troponin flags are caller-assigned above the 99th percentile at 0 and 3 hours (Mahler 2015)","heart_score":2,"troponin_0_elevated":false,"troponin_3h_elevated":false}],"path":"/api/calc/heart_pathway"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"heart_score":{"description":"Caller-assigned HEART score integer 0-10 (Six 2008 components already summed by the caller). magent does not assign history, ECG, age, risk-factor, or troponin HEART items. Early discharge requires 0-3 when both serial troponin flags are false.","type":"integer"},"troponin_0_elevated":{"description":"0-hour troponin above the 99th percentile threshold as assigned by the caller. true or false. true blocks early discharge. magent does not assay a troponin.","type":"boolean"},"troponin_3h_elevated":{"description":"3-hour troponin above the 99th percentile threshold as assigned by the caller. true or false. true blocks early discharge. magent does not assay a troponin.","type":"boolean"}},"required":["heart_score","troponin_0_elevated","troponin_3h_elevated"],"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},{"id":39158,"slug":"39158","resource":"https://api.magentlab.com/api/calc/heart","description":"HEART score for emergency chest pain from age and caller-assigned history, ECG, risk factors, and troponin (each 0-2, max 10). Bands 0-3, 4-6, and 7-10 from Six 2008. Deterministic published score with citation; not a diagnosis or discharge protocol. magent does not read an ECG.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"ecg":0,"history":0,"risk_factors":0,"troponin":0},{"age":40,"ecg":0,"history":0,"risk_factors":0,"troponin":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Six AJ, Backus BE, Kelder JC","doi":"10.1007/BF03086144","id":"six-2008","source":"Neth Heart J. 2008;16(6):191-196","title":"Chest pain in the emergency room: value of the HEART score"},"components":[{"factor":"history","points":0,"present":false,"value":0},{"factor":"ecg","points":0,"present":false,"value":0},{"factor":"age","points":0,"present":false,"value":40},{"factor":"risk_factors","points":0,"present":false,"value":0},{"factor":"troponin","points":0,"present":false,"value":0}],"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":"heart","formula_expression":"HEART = history + ECG + age + risk_factors + troponin; each 0-2; age <45 0, 45-64 1, >=65 2; bands 0-3 / 4-6 / 7-10; max 10","heart_band":"0-3","max_score":10,"score":0},{"age_years":40,"citation":{"authors":"Six AJ, Backus BE, Kelder JC","doi":"10.1007/BF03086144","id":"six-2008","source":"Neth Heart J. 2008;16(6):191-196","title":"Chest pain in the emergency room: value of the HEART score"},"components":[{"factor":"history","points":0,"present":false,"value":0},{"factor":"ecg","points":0,"present":false,"value":0},{"factor":"age","points":0,"present":false,"value":40},{"factor":"risk_factors","points":0,"present":false,"value":0},{"factor":"troponin","points":0,"present":false,"value":0}],"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":"heart","formula_expression":"HEART = history + ECG + age + risk_factors + troponin; each 0-2; age <45 0, 45-64 1, >=65 2; bands 0-3 / 4-6 / 7-10; max 10","heart_band":"0-3","max_score":10,"score":0}],"path":"/api/calc/heart"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Younger than 45 scores 0; 45-64 scores 1; 65 or older scores 2.","type":"integer"},"ecg":{"description":"Caller-assigned ECG. 0 normal; 1 repolarization without significant ST depression (including BBB, LVH, digoxin, or known unchanged); 2 significant ST depression or elevation without those confounders. magent does not read an ECG.","type":"integer"},"history":{"description":"Caller-assigned history. 0 nonspecific, 1 moderately suspicious, 2 highly suspicious. magent does not interpret the history.","type":"integer"},"risk_factors":{"description":"Caller-assigned risk-factor points. 0 none, 1 = 1-2 risk factors, 2 = ≥3 or atherosclerotic disease. magent does not count diabetes, smoking, or other factors.","type":"integer"},"troponin":{"description":"Caller-assigned troponin. 0 ≤ULN, 1 = 1-2× ULN, 2 = >2× ULN (Six 2008). magent does not interpret assays.","type":"integer"}},"required":["age","history","ecg","risk_factors","troponin"],"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":["heart","acs","chest-pain","troponin","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:31:14.575Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:31:14.463Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"ecg":0,"history":0,"risk_factors":0,"troponin":0},{"age":40,"ecg":0,"history":0,"risk_factors":0,"troponin":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Six AJ, Backus BE, Kelder JC","doi":"10.1007/BF03086144","id":"six-2008","source":"Neth Heart J. 2008;16(6):191-196","title":"Chest pain in the emergency room: value of the HEART score"},"components":[{"factor":"history","points":0,"present":false,"value":0},{"factor":"ecg","points":0,"present":false,"value":0},{"factor":"age","points":0,"present":false,"value":40},{"factor":"risk_factors","points":0,"present":false,"value":0},{"factor":"troponin","points":0,"present":false,"value":0}],"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":"heart","formula_expression":"HEART = history + ECG + age + risk_factors + troponin; each 0-2; age <45 0, 45-64 1, >=65 2; bands 0-3 / 4-6 / 7-10; max 10","heart_band":"0-3","max_score":10,"score":0},{"age_years":40,"citation":{"authors":"Six AJ, Backus BE, Kelder JC","doi":"10.1007/BF03086144","id":"six-2008","source":"Neth Heart J. 2008;16(6):191-196","title":"Chest pain in the emergency room: value of the HEART score"},"components":[{"factor":"history","points":0,"present":false,"value":0},{"factor":"ecg","points":0,"present":false,"value":0},{"factor":"age","points":0,"present":false,"value":40},{"factor":"risk_factors","points":0,"present":false,"value":0},{"factor":"troponin","points":0,"present":false,"value":0}],"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":"heart","formula_expression":"HEART = history + ECG + age + risk_factors + troponin; each 0-2; age <45 0, 45-64 1, >=65 2; bands 0-3 / 4-6 / 7-10; max 10","heart_band":"0-3","max_score":10,"score":0}],"path":"/api/calc/heart"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Younger than 45 scores 0; 45-64 scores 1; 65 or older scores 2.","type":"integer"},"ecg":{"description":"Caller-assigned ECG. 0 normal; 1 repolarization without significant ST depression (including BBB, LVH, digoxin, or known unchanged); 2 significant ST depression or elevation without those confounders. magent does not read an ECG.","type":"integer"},"history":{"description":"Caller-assigned history. 0 nonspecific, 1 moderately suspicious, 2 highly suspicious. magent does not interpret the history.","type":"integer"},"risk_factors":{"description":"Caller-assigned risk-factor points. 0 none, 1 = 1-2 risk factors, 2 = ≥3 or atherosclerotic disease. magent does not count diabetes, smoking, or other factors.","type":"integer"},"troponin":{"description":"Caller-assigned troponin. 0 ≤ULN, 1 = 1-2× ULN, 2 = >2× ULN (Six 2008). magent does not interpret assays.","type":"integer"}},"required":["age","history","ecg","risk_factors","troponin"],"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},{"id":39159,"slug":"39159","resource":"https://api.magentlab.com/api/calc/hark","description":"Sohal 2007 HARK: four caller-assigned yes/no flags (humiliation, afraid, rape, kick), 1 point each, max 4. Screen-positive when score ≥1 (ROC-optimal cut-off in Sohal 2007). Deterministic published score with citation; not a diagnosis of intimate partner violence and not a medical device. magent does not interview the patient. Not HITS 1-5 scoring. Not the AAS pregnancy item (HARK removed it).","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"afraid":false,"humiliation":false,"kick":false,"rape":false},{"afraid":false,"humiliation":false,"kick":false,"rape":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sohal H, Eldridge S, Feder G","doi":"10.1186/1471-2296-8-49","id":"sohal-2007","pmid":"17727730","source":"BMC Fam Pract. 2007;8:49","title":"The sensitivity and specificity of four questions (HARK) to identify intimate partner violence: a diagnostic accuracy study in general practice"},"components":[{"factor":"humiliation","points":0,"present":false},{"factor":"afraid","points":0,"present":false},{"factor":"rape","points":0,"present":false},{"factor":"kick","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":"hark","formula_expression":"HARK = humiliation + afraid + rape + kick; each 1 if true; max 4","max_score":4,"score":0,"screen_positive":false},{"citation":{"authors":"Sohal H, Eldridge S, Feder G","doi":"10.1186/1471-2296-8-49","id":"sohal-2007","pmid":"17727730","source":"BMC Fam Pract. 2007;8:49","title":"The sensitivity and specificity of four questions (HARK) to identify intimate partner violence: a diagnostic accuracy study in general practice"},"components":[{"factor":"humiliation","points":0,"present":false},{"factor":"afraid","points":0,"present":false},{"factor":"rape","points":0,"present":false},{"factor":"kick","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":"hark","formula_expression":"HARK = humiliation + afraid + rape + kick; each 1 if true; max 4","max_score":4,"score":0,"screen_positive":false}],"path":"/api/calc/hark"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"afraid":{"description":"Within the last year, afraid of partner or ex-partner (HARK A; Sohal 2007). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"humiliation":{"description":"Within the last year, humiliated or emotionally abused in other ways by partner or ex-partner (HARK H; Sohal 2007). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"kick":{"description":"Within the last year, kicked, hit, slapped or otherwise physically hurt by partner or ex-partner (HARK K; Sohal 2007). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"rape":{"description":"Within the last year, raped or forced to have any kind of sexual activity by partner or ex-partner (HARK R; Sohal 2007). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"}},"required":["humiliation","afraid","rape","kick"],"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":["hark","ipv","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:31:13.73Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:31:13.611Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"afraid":false,"humiliation":false,"kick":false,"rape":false},{"afraid":false,"humiliation":false,"kick":false,"rape":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sohal H, Eldridge S, Feder G","doi":"10.1186/1471-2296-8-49","id":"sohal-2007","pmid":"17727730","source":"BMC Fam Pract. 2007;8:49","title":"The sensitivity and specificity of four questions (HARK) to identify intimate partner violence: a diagnostic accuracy study in general practice"},"components":[{"factor":"humiliation","points":0,"present":false},{"factor":"afraid","points":0,"present":false},{"factor":"rape","points":0,"present":false},{"factor":"kick","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":"hark","formula_expression":"HARK = humiliation + afraid + rape + kick; each 1 if true; max 4","max_score":4,"score":0,"screen_positive":false},{"citation":{"authors":"Sohal H, Eldridge S, Feder G","doi":"10.1186/1471-2296-8-49","id":"sohal-2007","pmid":"17727730","source":"BMC Fam Pract. 2007;8:49","title":"The sensitivity and specificity of four questions (HARK) to identify intimate partner violence: a diagnostic accuracy study in general practice"},"components":[{"factor":"humiliation","points":0,"present":false},{"factor":"afraid","points":0,"present":false},{"factor":"rape","points":0,"present":false},{"factor":"kick","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":"hark","formula_expression":"HARK = humiliation + afraid + rape + kick; each 1 if true; max 4","max_score":4,"score":0,"screen_positive":false}],"path":"/api/calc/hark"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"afraid":{"description":"Within the last year, afraid of partner or ex-partner (HARK A; Sohal 2007). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"humiliation":{"description":"Within the last year, humiliated or emotionally abused in other ways by partner or ex-partner (HARK H; Sohal 2007). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"kick":{"description":"Within the last year, kicked, hit, slapped or otherwise physically hurt by partner or ex-partner (HARK K; Sohal 2007). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"rape":{"description":"Within the last year, raped or forced to have any kind of sexual activity by partner or ex-partner (HARK R; Sohal 2007). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"}},"required":["humiliation","afraid","rape","kick"],"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},{"id":39160,"slug":"39160","resource":"https://api.magentlab.com/api/calc/gds_15","description":"Sheikh 1986 GDS-15: fifteen yes/no items as asked. Reverse-scored (false=1): satisfied_with_life, good_spirits, happy_most_of_time, wonderful_to_be_alive, full_of_energy; other ten score 1 if true. Sum 0-15. No later 0-4/5-9/10+ cutoffs. Not a diagnosis, not PHQ-9, not the 30-item GDS, not a medical device. magent does not interview.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"afraid_something_bad":false,"dropped_activities":false,"full_of_energy":true,"good_spirits":true,"happy_most_of_time":true,"life_empty":false,"more_memory_problems":false,"most_people_better_off":false,"often_bored":false,"often_helpless":false,"prefer_stay_home":false,"pretty_worthless":false,"satisfied_with_life":true,"situation_hopeless":false,"wonderful_to_be_alive":true},{"afraid_something_bad":false,"dropped_activities":false,"full_of_energy":true,"good_spirits":true,"happy_most_of_time":true,"life_empty":false,"more_memory_problems":false,"most_people_better_off":false,"often_bored":false,"often_helpless":false,"prefer_stay_home":false,"pretty_worthless":false,"satisfied_with_life":true,"situation_hopeless":false,"wonderful_to_be_alive":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sheikh JI, Yesavage JA","doi":"10.1300/J018v05n01_09","id":"sheikh-1986","source":"Clin Gerontol. 1986;5(1-2):165-173","title":"Geriatric Depression Scale (GDS): recent evidence and development of a shorter version"},"components":[{"factor":"satisfied_with_life","points":0,"present":false},{"factor":"dropped_activities","points":0,"present":false},{"factor":"life_empty","points":0,"present":false},{"factor":"often_bored","points":0,"present":false},{"factor":"good_spirits","points":0,"present":false},{"factor":"afraid_something_bad","points":0,"present":false},{"factor":"happy_most_of_time","points":0,"present":false},{"factor":"often_helpless","points":0,"present":false},{"factor":"prefer_stay_home","points":0,"present":false},{"factor":"more_memory_problems","points":0,"present":false},{"factor":"wonderful_to_be_alive","points":0,"present":false},{"factor":"pretty_worthless","points":0,"present":false},{"factor":"full_of_energy","points":0,"present":false},{"factor":"situation_hopeless","points":0,"present":false},{"factor":"most_people_better_off","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":"gds_15","formula_expression":"GDS-15 = (1 if not satisfied_with_life) + dropped_activities + life_empty + often_bored + (1 if not good_spirits) + afraid_something_bad + (1 if not happy_most_of_time) + often_helpless + prefer_stay_home + more_memory_problems + (1 if not wonderful_to_be_alive) + pretty_worthless + (1 if not full_of_energy) + situation_hopeless + most_people_better_off; Sheikh 1986 15-item short form; each yes/no as asked; reverse-scored items 1, 5, 7, 11, 13; max 15; no total-score severity bands","max_score":15,"score":0},{"citation":{"authors":"Sheikh JI, Yesavage JA","doi":"10.1300/J018v05n01_09","id":"sheikh-1986","source":"Clin Gerontol. 1986;5(1-2):165-173","title":"Geriatric Depression Scale (GDS): recent evidence and development of a shorter version"},"components":[{"factor":"satisfied_with_life","points":0,"present":false},{"factor":"dropped_activities","points":0,"present":false},{"factor":"life_empty","points":0,"present":false},{"factor":"often_bored","points":0,"present":false},{"factor":"good_spirits","points":0,"present":false},{"factor":"afraid_something_bad","points":0,"present":false},{"factor":"happy_most_of_time","points":0,"present":false},{"factor":"often_helpless","points":0,"present":false},{"factor":"prefer_stay_home","points":0,"present":false},{"factor":"more_memory_problems","points":0,"present":false},{"factor":"wonderful_to_be_alive","points":0,"present":false},{"factor":"pretty_worthless","points":0,"present":false},{"factor":"full_of_energy","points":0,"present":false},{"factor":"situation_hopeless","points":0,"present":false},{"factor":"most_people_better_off","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":"gds_15","formula_expression":"GDS-15 = (1 if not satisfied_with_life) + dropped_activities + life_empty + often_bored + (1 if not good_spirits) + afraid_something_bad + (1 if not happy_most_of_time) + often_helpless + prefer_stay_home + more_memory_problems + (1 if not wonderful_to_be_alive) + pretty_worthless + (1 if not full_of_energy) + situation_hopeless + most_people_better_off; Sheikh 1986 15-item short form; each yes/no as asked; reverse-scored items 1, 5, 7, 11, 13; max 15; no total-score severity bands","max_score":15,"score":0}],"path":"/api/calc/gds_15"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"afraid_something_bad":{"description":"Are you afraid that something bad is going to happen to you? (Sheikh 1986 GDS-15 item 6). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"dropped_activities":{"description":"Have you dropped many of your activities and interests? (Sheikh 1986 GDS-15 item 2). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"full_of_energy":{"description":"Do you feel full of energy? (Sheikh 1986 GDS-15 item 13). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"good_spirits":{"description":"Are you in good spirits most of the time? (Sheikh 1986 GDS-15 item 5). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"happy_most_of_time":{"description":"Do you feel happy most of the time? (Sheikh 1986 GDS-15 item 7). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"life_empty":{"description":"Do you feel that your life is empty? (Sheikh 1986 GDS-15 item 3). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"more_memory_problems":{"description":"Do you feel you have more problems with memory than most? (Sheikh 1986 GDS-15 item 10). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"most_people_better_off":{"description":"Do you think that most people are better off than you are? (Sheikh 1986 GDS-15 item 15). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"often_bored":{"description":"Do you often get bored? (Sheikh 1986 GDS-15 item 4). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"often_helpless":{"description":"Do you often feel helpless? (Sheikh 1986 GDS-15 item 8). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"prefer_stay_home":{"description":"Do you prefer to stay at home, rather than going out and doing new things? (Sheikh 1986 GDS-15 item 9). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"pretty_worthless":{"description":"Do you feel pretty worthless the way you are now? (Sheikh 1986 GDS-15 item 12). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"satisfied_with_life":{"description":"Are you basically satisfied with your life? (Sheikh 1986 GDS-15 item 1). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"situation_hopeless":{"description":"Do you feel that your situation is hopeless? (Sheikh 1986 GDS-15 item 14). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"wonderful_to_be_alive":{"description":"Do you think it is wonderful to be alive now? (Sheikh 1986 GDS-15 item 11). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"}},"required":["satisfied_with_life","dropped_activities","life_empty","often_bored","good_spirits","afraid_something_bad","happy_most_of_time","often_helpless","prefer_stay_home","more_memory_problems","wonderful_to_be_alive","pretty_worthless","full_of_energy","situation_hopeless","most_people_better_off"],"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":["gds-15","depression","geriatric","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:31:12.971Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:31:12.81Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"afraid_something_bad":false,"dropped_activities":false,"full_of_energy":true,"good_spirits":true,"happy_most_of_time":true,"life_empty":false,"more_memory_problems":false,"most_people_better_off":false,"often_bored":false,"often_helpless":false,"prefer_stay_home":false,"pretty_worthless":false,"satisfied_with_life":true,"situation_hopeless":false,"wonderful_to_be_alive":true},{"afraid_something_bad":false,"dropped_activities":false,"full_of_energy":true,"good_spirits":true,"happy_most_of_time":true,"life_empty":false,"more_memory_problems":false,"most_people_better_off":false,"often_bored":false,"often_helpless":false,"prefer_stay_home":false,"pretty_worthless":false,"satisfied_with_life":true,"situation_hopeless":false,"wonderful_to_be_alive":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sheikh JI, Yesavage JA","doi":"10.1300/J018v05n01_09","id":"sheikh-1986","source":"Clin Gerontol. 1986;5(1-2):165-173","title":"Geriatric Depression Scale (GDS): recent evidence and development of a shorter version"},"components":[{"factor":"satisfied_with_life","points":0,"present":false},{"factor":"dropped_activities","points":0,"present":false},{"factor":"life_empty","points":0,"present":false},{"factor":"often_bored","points":0,"present":false},{"factor":"good_spirits","points":0,"present":false},{"factor":"afraid_something_bad","points":0,"present":false},{"factor":"happy_most_of_time","points":0,"present":false},{"factor":"often_helpless","points":0,"present":false},{"factor":"prefer_stay_home","points":0,"present":false},{"factor":"more_memory_problems","points":0,"present":false},{"factor":"wonderful_to_be_alive","points":0,"present":false},{"factor":"pretty_worthless","points":0,"present":false},{"factor":"full_of_energy","points":0,"present":false},{"factor":"situation_hopeless","points":0,"present":false},{"factor":"most_people_better_off","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":"gds_15","formula_expression":"GDS-15 = (1 if not satisfied_with_life) + dropped_activities + life_empty + often_bored + (1 if not good_spirits) + afraid_something_bad + (1 if not happy_most_of_time) + often_helpless + prefer_stay_home + more_memory_problems + (1 if not wonderful_to_be_alive) + pretty_worthless + (1 if not full_of_energy) + situation_hopeless + most_people_better_off; Sheikh 1986 15-item short form; each yes/no as asked; reverse-scored items 1, 5, 7, 11, 13; max 15; no total-score severity bands","max_score":15,"score":0},{"citation":{"authors":"Sheikh JI, Yesavage JA","doi":"10.1300/J018v05n01_09","id":"sheikh-1986","source":"Clin Gerontol. 1986;5(1-2):165-173","title":"Geriatric Depression Scale (GDS): recent evidence and development of a shorter version"},"components":[{"factor":"satisfied_with_life","points":0,"present":false},{"factor":"dropped_activities","points":0,"present":false},{"factor":"life_empty","points":0,"present":false},{"factor":"often_bored","points":0,"present":false},{"factor":"good_spirits","points":0,"present":false},{"factor":"afraid_something_bad","points":0,"present":false},{"factor":"happy_most_of_time","points":0,"present":false},{"factor":"often_helpless","points":0,"present":false},{"factor":"prefer_stay_home","points":0,"present":false},{"factor":"more_memory_problems","points":0,"present":false},{"factor":"wonderful_to_be_alive","points":0,"present":false},{"factor":"pretty_worthless","points":0,"present":false},{"factor":"full_of_energy","points":0,"present":false},{"factor":"situation_hopeless","points":0,"present":false},{"factor":"most_people_better_off","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":"gds_15","formula_expression":"GDS-15 = (1 if not satisfied_with_life) + dropped_activities + life_empty + often_bored + (1 if not good_spirits) + afraid_something_bad + (1 if not happy_most_of_time) + often_helpless + prefer_stay_home + more_memory_problems + (1 if not wonderful_to_be_alive) + pretty_worthless + (1 if not full_of_energy) + situation_hopeless + most_people_better_off; Sheikh 1986 15-item short form; each yes/no as asked; reverse-scored items 1, 5, 7, 11, 13; max 15; no total-score severity bands","max_score":15,"score":0}],"path":"/api/calc/gds_15"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"afraid_something_bad":{"description":"Are you afraid that something bad is going to happen to you? (Sheikh 1986 GDS-15 item 6). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"dropped_activities":{"description":"Have you dropped many of your activities and interests? (Sheikh 1986 GDS-15 item 2). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"full_of_energy":{"description":"Do you feel full of energy? (Sheikh 1986 GDS-15 item 13). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"good_spirits":{"description":"Are you in good spirits most of the time? (Sheikh 1986 GDS-15 item 5). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"happy_most_of_time":{"description":"Do you feel happy most of the time? (Sheikh 1986 GDS-15 item 7). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"life_empty":{"description":"Do you feel that your life is empty? (Sheikh 1986 GDS-15 item 3). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"more_memory_problems":{"description":"Do you feel you have more problems with memory than most? (Sheikh 1986 GDS-15 item 10). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"most_people_better_off":{"description":"Do you think that most people are better off than you are? (Sheikh 1986 GDS-15 item 15). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"often_bored":{"description":"Do you often get bored? (Sheikh 1986 GDS-15 item 4). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"often_helpless":{"description":"Do you often feel helpless? (Sheikh 1986 GDS-15 item 8). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"prefer_stay_home":{"description":"Do you prefer to stay at home, rather than going out and doing new things? (Sheikh 1986 GDS-15 item 9). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"pretty_worthless":{"description":"Do you feel pretty worthless the way you are now? (Sheikh 1986 GDS-15 item 12). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"satisfied_with_life":{"description":"Are you basically satisfied with your life? (Sheikh 1986 GDS-15 item 1). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"situation_hopeless":{"description":"Do you feel that your situation is hopeless? (Sheikh 1986 GDS-15 item 14). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"},"wonderful_to_be_alive":{"description":"Do you think it is wonderful to be alive now? (Sheikh 1986 GDS-15 item 11). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.","type":"boolean"}},"required":["satisfied_with_life","dropped_activities","life_empty","often_bored","good_spirits","afraid_something_bad","happy_most_of_time","often_helpless","prefer_stay_home","more_memory_problems","wonderful_to_be_alive","pretty_worthless","full_of_energy","situation_hopeless","most_people_better_off"],"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},{"id":39161,"slug":"39161","resource":"https://api.magentlab.com/api/calc/gcs","description":"Glasgow Coma Scale from eye, verbal, and motor integers. edition=1974 (motor 1-5, max 14) or edition=1976 (motor 1-6, max 15) is required; magent does not pick one. Deterministic published score with citation; not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"edition":"1976","eye":4,"motor":6,"verbal":5},{"edition":"1976","eye":4,"motor":6,"verbal":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Teasdale G, Jennett B","doi":"10.1007/BF01405862","id":"teasdale-jennett-1976","source":"Acta Neurochir (Wien). 1976;34:45-55","title":"Assessment and prognosis of coma after head injury"},"components":[{"factor":"eye","points":4,"present":true,"value":4},{"factor":"verbal","points":5,"present":true,"value":5},{"factor":"motor","points":6,"present":true,"value":6}],"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.","edition":"1976","formula":"gcs","formula_expression":"GCS = eye + verbal + motor; eye 1-4, verbal 1-5, motor 1-6; max 15","max_score":15,"score":15},{"citation":{"authors":"Teasdale G, Jennett B","doi":"10.1007/BF01405862","id":"teasdale-jennett-1976","source":"Acta Neurochir (Wien). 1976;34:45-55","title":"Assessment and prognosis of coma after head injury"},"components":[{"factor":"eye","points":4,"present":true,"value":4},{"factor":"verbal","points":5,"present":true,"value":5},{"factor":"motor","points":6,"present":true,"value":6}],"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.","edition":"1976","formula":"gcs","formula_expression":"GCS = eye + verbal + motor; eye 1-4, verbal 1-5, motor 1-6; max 15","max_score":15,"score":15}],"path":"/api/calc/gcs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"edition":{"description":"Published motor scale. Required; magent does not pick 1974 (motor 1-5) or 1976 (motor 1-6).","enum":["1974","1976"],"type":"string"},"eye":{"description":"Eye opening (E). Integer 1-4 as assigned by the caller.","type":"integer"},"motor":{"description":"Motor response (M). Integer 1-5 when edition=1974, or 1-6 when edition=1976, as assigned by the caller.","type":"integer"},"verbal":{"description":"Verbal response (V). Integer 1-5 as assigned by the caller.","type":"integer"}},"required":["eye","verbal","motor","edition"],"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":["gcs","coma","neurology","glasgow","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:26:31.86Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:26:31.738Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"edition":"1976","eye":4,"motor":6,"verbal":5},{"edition":"1976","eye":4,"motor":6,"verbal":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Teasdale G, Jennett B","doi":"10.1007/BF01405862","id":"teasdale-jennett-1976","source":"Acta Neurochir (Wien). 1976;34:45-55","title":"Assessment and prognosis of coma after head injury"},"components":[{"factor":"eye","points":4,"present":true,"value":4},{"factor":"verbal","points":5,"present":true,"value":5},{"factor":"motor","points":6,"present":true,"value":6}],"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.","edition":"1976","formula":"gcs","formula_expression":"GCS = eye + verbal + motor; eye 1-4, verbal 1-5, motor 1-6; max 15","max_score":15,"score":15},{"citation":{"authors":"Teasdale G, Jennett B","doi":"10.1007/BF01405862","id":"teasdale-jennett-1976","source":"Acta Neurochir (Wien). 1976;34:45-55","title":"Assessment and prognosis of coma after head injury"},"components":[{"factor":"eye","points":4,"present":true,"value":4},{"factor":"verbal","points":5,"present":true,"value":5},{"factor":"motor","points":6,"present":true,"value":6}],"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.","edition":"1976","formula":"gcs","formula_expression":"GCS = eye + verbal + motor; eye 1-4, verbal 1-5, motor 1-6; max 15","max_score":15,"score":15}],"path":"/api/calc/gcs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"edition":{"description":"Published motor scale. Required; magent does not pick 1974 (motor 1-5) or 1976 (motor 1-6).","enum":["1974","1976"],"type":"string"},"eye":{"description":"Eye opening (E). Integer 1-4 as assigned by the caller.","type":"integer"},"motor":{"description":"Motor response (M). Integer 1-5 when edition=1974, or 1-6 when edition=1976, as assigned by the caller.","type":"integer"},"verbal":{"description":"Verbal response (V). Integer 1-5 as assigned by the caller.","type":"integer"}},"required":["eye","verbal","motor","edition"],"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},{"id":39162,"slug":"39162","resource":"https://api.magentlab.com/api/calc/garfield_af","description":"Fox 2017 GARFIELD-AF 1-year all-cause mortality, ischaemic stroke/systemic embolism, and major bleed from age, sex, weight, pulse, diastolic BP, comorbidities, smoking, caller-assigned ethnicity (White/Caucasian reference; Hispanic/Latino, Asian, Black/Mixed/Other), oral anticoagulant class (none, NOAC, VKA), carotid occlusive disease, and antiplatelet therapy. Published 1-year equations. magent does not assign race or ethnicity. Not a diagnosis or anticoagulation order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":65,"antiplatelet":false,"carotid_occlusive_disease":false,"current_smoking":false,"dementia":false,"diabetes":false,"diastolic_bp_mm_hg":80,"ethnicity":"white","heart_failure":false,"history_of_bleeding":false,"moderate_to_severe_ckd":false,"oac":"none","prior_stroke":false,"pulse":70,"sex":"male","vascular_disease":false,"weight_kg":75},{"age":65,"antiplatelet":false,"carotid_occlusive_disease":false,"current_smoking":false,"dementia":false,"diabetes":false,"diastolic_bp_mm_hg":80,"ethnicity":"white","heart_failure":false,"history_of_bleeding":false,"moderate_to_severe_ckd":false,"oac":"none","prior_stroke":false,"pulse":70,"sex":"male","vascular_disease":false,"weight_kg":75}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":65,"antiplatelet":false,"bleed_1y_percent":0.7,"bleed_lp":-0.20835515,"carotid_occlusive_disease":false,"citation":{"authors":"Fox KAA, Lucas JE, Pieper KS, et al.","doi":"10.1136/bmjopen-2017-017157","id":"fox-2017-garfield-af","pmid":"29273652","source":"BMJ Open. 2017;7(12):e017157","title":"Improved risk stratification of patients with atrial fibrillation: an integrated GARFIELD-AF tool for the prediction of mortality, stroke and bleed in patients with and without anticoagulation"},"current_smoking":false,"dementia":false,"diabetes":false,"diastolic_bp_mm_hg":80,"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.","ethnicity":"white","formula":"garfield_af","formula_expression":"mortality_1y_percent = 100*(1-0.962450119**exp(lp_mort)); lp_mort = 0.306202287*female + 0.693789082*heart_failure + 0.306120964*vascular_disease + 0.26585298*prior_stroke + 0.385407386*history_of_bleeding + 0.280133213*diabetes + 0.377903886*moderate_to_severe_ckd + 0.489453313*dementia + 0.345481149*current_smoking - 0.414591263*oac_noac - 0.18593561*oac_vka + 0.157023564*ethnicity_hispanic_latino - 0.609609055*ethnicity_asian + 0.375675102*ethnicity_black_mixed_other + 0.031050027*(age-65) if age<=65 + 0.064594824*(age-65) if age>65 - 0.021535182*(weight_kg-75) if weight_kg<=75 + 0.007678035*(pulse-120) if pulse<=120 - 0.019304333*(dbp-80) if dbp<=80; stroke_1y_percent = 100*(1-0.987574311**exp(lp_stroke)); lp_stroke = 0.233182644*heart_failure + 0.197919709*vascular_disease + 0.800863063*prior_stroke + 0.29883967*history_of_bleeding + 0.211995445*diabetes + 0.349516938*moderate_to_severe_ckd + 0.513221391*dementia + 0.478831506*current_smoking - 0.572199357*oac_noac - 0.352373263*oac_vka + 0.039138147*(age-65) + 0.01590016*(dbp-80) if dbp>80; bleed_1y_percent = 100*(1-0.991720115**exp(lp_bleed)); lp_bleed = 0.168950627*vascular_disease + 0.782237771*history_of_bleeding + 0.316245771*carotid_occlusive_disease + 0.498686574*moderate_to_severe_ckd + 0.24232543*oac_noac + 0.609713354*oac_vka + 0.236620846*antiplatelet + 0.176898047*diabetes + 0.043476276*(age-65) + 0.004167103*(pulse-120); Fox 2017 / GARFIELD-AF 1-year equations; White/Caucasian ethnicity reference 0; magent does not assign race or ethnicity","heart_failure":false,"history_of_bleeding":false,"moderate_to_severe_ckd":false,"mortality_1y_percent":2.6,"mortality_lp":-0.38390175,"oac":"none","prior_stroke":false,"pulse":70,"sex":"male","stroke_1y_percent":1.2,"stroke_lp":0,"vascular_disease":false,"weight_kg":75},{"age":65,"antiplatelet":false,"bleed_1y_percent":0.7,"bleed_lp":-0.20835515,"carotid_occlusive_disease":false,"citation":{"authors":"Fox KAA, Lucas JE, Pieper KS, et al.","doi":"10.1136/bmjopen-2017-017157","id":"fox-2017-garfield-af","pmid":"29273652","source":"BMJ Open. 2017;7(12):e017157","title":"Improved risk stratification of patients with atrial fibrillation: an integrated GARFIELD-AF tool for the prediction of mortality, stroke and bleed in patients with and without anticoagulation"},"current_smoking":false,"dementia":false,"diabetes":false,"diastolic_bp_mm_hg":80,"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.","ethnicity":"white","formula":"garfield_af","formula_expression":"mortality_1y_percent = 100*(1-0.962450119**exp(lp_mort)); lp_mort = 0.306202287*female + 0.693789082*heart_failure + 0.306120964*vascular_disease + 0.26585298*prior_stroke + 0.385407386*history_of_bleeding + 0.280133213*diabetes + 0.377903886*moderate_to_severe_ckd + 0.489453313*dementia + 0.345481149*current_smoking - 0.414591263*oac_noac - 0.18593561*oac_vka + 0.157023564*ethnicity_hispanic_latino - 0.609609055*ethnicity_asian + 0.375675102*ethnicity_black_mixed_other + 0.031050027*(age-65) if age<=65 + 0.064594824*(age-65) if age>65 - 0.021535182*(weight_kg-75) if weight_kg<=75 + 0.007678035*(pulse-120) if pulse<=120 - 0.019304333*(dbp-80) if dbp<=80; stroke_1y_percent = 100*(1-0.987574311**exp(lp_stroke)); lp_stroke = 0.233182644*heart_failure + 0.197919709*vascular_disease + 0.800863063*prior_stroke + 0.29883967*history_of_bleeding + 0.211995445*diabetes + 0.349516938*moderate_to_severe_ckd + 0.513221391*dementia + 0.478831506*current_smoking - 0.572199357*oac_noac - 0.352373263*oac_vka + 0.039138147*(age-65) + 0.01590016*(dbp-80) if dbp>80; bleed_1y_percent = 100*(1-0.991720115**exp(lp_bleed)); lp_bleed = 0.168950627*vascular_disease + 0.782237771*history_of_bleeding + 0.316245771*carotid_occlusive_disease + 0.498686574*moderate_to_severe_ckd + 0.24232543*oac_noac + 0.609713354*oac_vka + 0.236620846*antiplatelet + 0.176898047*diabetes + 0.043476276*(age-65) + 0.004167103*(pulse-120); Fox 2017 / GARFIELD-AF 1-year equations; White/Caucasian ethnicity reference 0; magent does not assign race or ethnicity","heart_failure":false,"history_of_bleeding":false,"moderate_to_severe_ckd":false,"mortality_1y_percent":2.6,"mortality_lp":-0.38390175,"oac":"none","prior_stroke":false,"pulse":70,"sex":"male","stroke_1y_percent":1.2,"stroke_lp":0,"vascular_disease":false,"weight_kg":75}],"path":"/api/calc/garfield_af"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Fox 2017 / GARFIELD-AF: mortality uses 0.031050027*(age-65) when age<=65 and 0.064594824*(age-65) when age>65. Stroke and bleed use 0.039138147*(age-65) and 0.043476276*(age-65) with no knot.","type":"integer"},"antiplatelet":{"description":"Caller-assigned antiplatelet therapy (true or false). Bleed +0.236620846. Mortality and stroke have no antiplatelet term. magent does not order antiplatelet therapy.","type":"boolean"},"carotid_occlusive_disease":{"description":"Caller-assigned carotid occlusive disease (true or false). Bleed +0.316245771. Mortality and stroke have no carotid term.","type":"boolean"},"current_smoking":{"description":"Caller-assigned current smoking (true or false). Mortality +0.345481149; stroke +0.478831506.","type":"boolean"},"dementia":{"description":"Caller-assigned dementia (true or false). Mortality +0.489453313; stroke +0.513221391.","type":"boolean"},"diabetes":{"description":"Caller-assigned diabetes (true or false). Mortality +0.280133213; stroke +0.211995445; bleed +0.176898047.","type":"boolean"},"diastolic_bp_mm_hg":{"description":"Diastolic blood pressure in mm Hg (30-150). Mortality: -0.019304333*(dbp-80) when dbp<=80; 0 when dbp>80. Stroke: 0.01590016*(dbp-80) when dbp>80; 0 when dbp<=80.","type":"number"},"ethnicity":{"description":"Caller-assigned ethnicity using Fox 2017 / GARFIELD-AF terms. white (White/Caucasian) is the mortality reference (0); hispanic_latino +0.157023564; asian -0.609609055; black_mixed_other +0.375675102. Stroke and bleed have no ethnicity term. magent does not assign race or ethnicity.","enum":["white","hispanic_latino","asian","black_mixed_other"],"type":"string"},"heart_failure":{"description":"Caller-assigned heart failure (true or false). Mortality +0.693789082; stroke +0.233182644. magent does not diagnose heart failure.","type":"boolean"},"history_of_bleeding":{"description":"Caller-assigned history of bleeding (true or false). Mortality +0.385407386; stroke +0.29883967; bleed +0.782237771.","type":"boolean"},"moderate_to_severe_ckd":{"description":"Caller-assigned moderate-to-severe chronic kidney disease (true or false). Mortality +0.377903886; stroke +0.349516938; bleed +0.498686574. magent does not compute eGFR.","type":"boolean"},"oac":{"description":"Caller-assigned oral anticoagulant class: none, noac, or vka (mutually exclusive). NOAC and VKA enter as separate Fox 2017 terms. magent does not choose an anticoagulant.","enum":["none","noac","vka"],"type":"string"},"prior_stroke":{"description":"Caller-assigned prior stroke (true or false). Mortality +0.26585298; stroke +0.800863063.","type":"boolean"},"pulse":{"description":"Pulse in beats per minute (30-250). Mortality: 0.007678035*(pulse-120) when pulse<=120; 0 when pulse>120. Bleed uses 0.004167103*(pulse-120) with no truncation.","type":"number"},"sex":{"description":"Sex as recorded (female or male). Fox 2017 female sex adds 0.306202287 to the mortality linear predictor. Stroke and bleed equations have no sex term.","enum":["female","male"],"type":"string"},"vascular_disease":{"description":"Caller-assigned vascular disease (true or false). Mortality +0.306120964; stroke +0.197919709; bleed +0.168950627.","type":"boolean"},"weight_kg":{"description":"Weight in kg (20-300). Mortality: -0.021535182*(weight_kg-75) when weight_kg<=75; 0 when weight_kg>75. magent does not convert lb.","type":"number"}},"required":["age","sex","weight_kg","pulse","diastolic_bp_mm_hg","heart_failure","vascular_disease","prior_stroke","history_of_bleeding","diabetes","moderate_to_severe_ckd","dementia","current_smoking","oac","ethnicity","carotid_occlusive_disease","antiplatelet"],"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":["garfield-af","atrial-fibrillation","mortality","stroke","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:26:30.746Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:26:30.608Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":65,"antiplatelet":false,"carotid_occlusive_disease":false,"current_smoking":false,"dementia":false,"diabetes":false,"diastolic_bp_mm_hg":80,"ethnicity":"white","heart_failure":false,"history_of_bleeding":false,"moderate_to_severe_ckd":false,"oac":"none","prior_stroke":false,"pulse":70,"sex":"male","vascular_disease":false,"weight_kg":75},{"age":65,"antiplatelet":false,"carotid_occlusive_disease":false,"current_smoking":false,"dementia":false,"diabetes":false,"diastolic_bp_mm_hg":80,"ethnicity":"white","heart_failure":false,"history_of_bleeding":false,"moderate_to_severe_ckd":false,"oac":"none","prior_stroke":false,"pulse":70,"sex":"male","vascular_disease":false,"weight_kg":75}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":65,"antiplatelet":false,"bleed_1y_percent":0.7,"bleed_lp":-0.20835515,"carotid_occlusive_disease":false,"citation":{"authors":"Fox KAA, Lucas JE, Pieper KS, et al.","doi":"10.1136/bmjopen-2017-017157","id":"fox-2017-garfield-af","pmid":"29273652","source":"BMJ Open. 2017;7(12):e017157","title":"Improved risk stratification of patients with atrial fibrillation: an integrated GARFIELD-AF tool for the prediction of mortality, stroke and bleed in patients with and without anticoagulation"},"current_smoking":false,"dementia":false,"diabetes":false,"diastolic_bp_mm_hg":80,"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.","ethnicity":"white","formula":"garfield_af","formula_expression":"mortality_1y_percent = 100*(1-0.962450119**exp(lp_mort)); lp_mort = 0.306202287*female + 0.693789082*heart_failure + 0.306120964*vascular_disease + 0.26585298*prior_stroke + 0.385407386*history_of_bleeding + 0.280133213*diabetes + 0.377903886*moderate_to_severe_ckd + 0.489453313*dementia + 0.345481149*current_smoking - 0.414591263*oac_noac - 0.18593561*oac_vka + 0.157023564*ethnicity_hispanic_latino - 0.609609055*ethnicity_asian + 0.375675102*ethnicity_black_mixed_other + 0.031050027*(age-65) if age<=65 + 0.064594824*(age-65) if age>65 - 0.021535182*(weight_kg-75) if weight_kg<=75 + 0.007678035*(pulse-120) if pulse<=120 - 0.019304333*(dbp-80) if dbp<=80; stroke_1y_percent = 100*(1-0.987574311**exp(lp_stroke)); lp_stroke = 0.233182644*heart_failure + 0.197919709*vascular_disease + 0.800863063*prior_stroke + 0.29883967*history_of_bleeding + 0.211995445*diabetes + 0.349516938*moderate_to_severe_ckd + 0.513221391*dementia + 0.478831506*current_smoking - 0.572199357*oac_noac - 0.352373263*oac_vka + 0.039138147*(age-65) + 0.01590016*(dbp-80) if dbp>80; bleed_1y_percent = 100*(1-0.991720115**exp(lp_bleed)); lp_bleed = 0.168950627*vascular_disease + 0.782237771*history_of_bleeding + 0.316245771*carotid_occlusive_disease + 0.498686574*moderate_to_severe_ckd + 0.24232543*oac_noac + 0.609713354*oac_vka + 0.236620846*antiplatelet + 0.176898047*diabetes + 0.043476276*(age-65) + 0.004167103*(pulse-120); Fox 2017 / GARFIELD-AF 1-year equations; White/Caucasian ethnicity reference 0; magent does not assign race or ethnicity","heart_failure":false,"history_of_bleeding":false,"moderate_to_severe_ckd":false,"mortality_1y_percent":2.6,"mortality_lp":-0.38390175,"oac":"none","prior_stroke":false,"pulse":70,"sex":"male","stroke_1y_percent":1.2,"stroke_lp":0,"vascular_disease":false,"weight_kg":75},{"age":65,"antiplatelet":false,"bleed_1y_percent":0.7,"bleed_lp":-0.20835515,"carotid_occlusive_disease":false,"citation":{"authors":"Fox KAA, Lucas JE, Pieper KS, et al.","doi":"10.1136/bmjopen-2017-017157","id":"fox-2017-garfield-af","pmid":"29273652","source":"BMJ Open. 2017;7(12):e017157","title":"Improved risk stratification of patients with atrial fibrillation: an integrated GARFIELD-AF tool for the prediction of mortality, stroke and bleed in patients with and without anticoagulation"},"current_smoking":false,"dementia":false,"diabetes":false,"diastolic_bp_mm_hg":80,"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.","ethnicity":"white","formula":"garfield_af","formula_expression":"mortality_1y_percent = 100*(1-0.962450119**exp(lp_mort)); lp_mort = 0.306202287*female + 0.693789082*heart_failure + 0.306120964*vascular_disease + 0.26585298*prior_stroke + 0.385407386*history_of_bleeding + 0.280133213*diabetes + 0.377903886*moderate_to_severe_ckd + 0.489453313*dementia + 0.345481149*current_smoking - 0.414591263*oac_noac - 0.18593561*oac_vka + 0.157023564*ethnicity_hispanic_latino - 0.609609055*ethnicity_asian + 0.375675102*ethnicity_black_mixed_other + 0.031050027*(age-65) if age<=65 + 0.064594824*(age-65) if age>65 - 0.021535182*(weight_kg-75) if weight_kg<=75 + 0.007678035*(pulse-120) if pulse<=120 - 0.019304333*(dbp-80) if dbp<=80; stroke_1y_percent = 100*(1-0.987574311**exp(lp_stroke)); lp_stroke = 0.233182644*heart_failure + 0.197919709*vascular_disease + 0.800863063*prior_stroke + 0.29883967*history_of_bleeding + 0.211995445*diabetes + 0.349516938*moderate_to_severe_ckd + 0.513221391*dementia + 0.478831506*current_smoking - 0.572199357*oac_noac - 0.352373263*oac_vka + 0.039138147*(age-65) + 0.01590016*(dbp-80) if dbp>80; bleed_1y_percent = 100*(1-0.991720115**exp(lp_bleed)); lp_bleed = 0.168950627*vascular_disease + 0.782237771*history_of_bleeding + 0.316245771*carotid_occlusive_disease + 0.498686574*moderate_to_severe_ckd + 0.24232543*oac_noac + 0.609713354*oac_vka + 0.236620846*antiplatelet + 0.176898047*diabetes + 0.043476276*(age-65) + 0.004167103*(pulse-120); Fox 2017 / GARFIELD-AF 1-year equations; White/Caucasian ethnicity reference 0; magent does not assign race or ethnicity","heart_failure":false,"history_of_bleeding":false,"moderate_to_severe_ckd":false,"mortality_1y_percent":2.6,"mortality_lp":-0.38390175,"oac":"none","prior_stroke":false,"pulse":70,"sex":"male","stroke_1y_percent":1.2,"stroke_lp":0,"vascular_disease":false,"weight_kg":75}],"path":"/api/calc/garfield_af"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Fox 2017 / GARFIELD-AF: mortality uses 0.031050027*(age-65) when age<=65 and 0.064594824*(age-65) when age>65. Stroke and bleed use 0.039138147*(age-65) and 0.043476276*(age-65) with no knot.","type":"integer"},"antiplatelet":{"description":"Caller-assigned antiplatelet therapy (true or false). Bleed +0.236620846. Mortality and stroke have no antiplatelet term. magent does not order antiplatelet therapy.","type":"boolean"},"carotid_occlusive_disease":{"description":"Caller-assigned carotid occlusive disease (true or false). Bleed +0.316245771. Mortality and stroke have no carotid term.","type":"boolean"},"current_smoking":{"description":"Caller-assigned current smoking (true or false). Mortality +0.345481149; stroke +0.478831506.","type":"boolean"},"dementia":{"description":"Caller-assigned dementia (true or false). Mortality +0.489453313; stroke +0.513221391.","type":"boolean"},"diabetes":{"description":"Caller-assigned diabetes (true or false). Mortality +0.280133213; stroke +0.211995445; bleed +0.176898047.","type":"boolean"},"diastolic_bp_mm_hg":{"description":"Diastolic blood pressure in mm Hg (30-150). Mortality: -0.019304333*(dbp-80) when dbp<=80; 0 when dbp>80. Stroke: 0.01590016*(dbp-80) when dbp>80; 0 when dbp<=80.","type":"number"},"ethnicity":{"description":"Caller-assigned ethnicity using Fox 2017 / GARFIELD-AF terms. white (White/Caucasian) is the mortality reference (0); hispanic_latino +0.157023564; asian -0.609609055; black_mixed_other +0.375675102. Stroke and bleed have no ethnicity term. magent does not assign race or ethnicity.","enum":["white","hispanic_latino","asian","black_mixed_other"],"type":"string"},"heart_failure":{"description":"Caller-assigned heart failure (true or false). Mortality +0.693789082; stroke +0.233182644. magent does not diagnose heart failure.","type":"boolean"},"history_of_bleeding":{"description":"Caller-assigned history of bleeding (true or false). Mortality +0.385407386; stroke +0.29883967; bleed +0.782237771.","type":"boolean"},"moderate_to_severe_ckd":{"description":"Caller-assigned moderate-to-severe chronic kidney disease (true or false). Mortality +0.377903886; stroke +0.349516938; bleed +0.498686574. magent does not compute eGFR.","type":"boolean"},"oac":{"description":"Caller-assigned oral anticoagulant class: none, noac, or vka (mutually exclusive). NOAC and VKA enter as separate Fox 2017 terms. magent does not choose an anticoagulant.","enum":["none","noac","vka"],"type":"string"},"prior_stroke":{"description":"Caller-assigned prior stroke (true or false). Mortality +0.26585298; stroke +0.800863063.","type":"boolean"},"pulse":{"description":"Pulse in beats per minute (30-250). Mortality: 0.007678035*(pulse-120) when pulse<=120; 0 when pulse>120. Bleed uses 0.004167103*(pulse-120) with no truncation.","type":"number"},"sex":{"description":"Sex as recorded (female or male). Fox 2017 female sex adds 0.306202287 to the mortality linear predictor. Stroke and bleed equations have no sex term.","enum":["female","male"],"type":"string"},"vascular_disease":{"description":"Caller-assigned vascular disease (true or false). Mortality +0.306120964; stroke +0.197919709; bleed +0.168950627.","type":"boolean"},"weight_kg":{"description":"Weight in kg (20-300). Mortality: -0.021535182*(weight_kg-75) when weight_kg<=75; 0 when weight_kg>75. magent does not convert lb.","type":"number"}},"required":["age","sex","weight_kg","pulse","diastolic_bp_mm_hg","heart_failure","vascular_disease","prior_stroke","history_of_bleeding","diabetes","moderate_to_severe_ckd","dementia","current_smoking","oac","ethnicity","carotid_occlusive_disease","antiplatelet"],"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},{"id":39163,"slug":"39163","resource":"https://api.magentlab.com/api/calc/galad","description":"Johnson 2014 GALAD linear predictor from age, sex, AFP ng/mL, AFP-L3 percent, and DCP ng/mL. galad_score = -10.08 + 0.09*age + 1.67*sex + 2.34*log10(AFP) + 0.04*AFP-L3 + 1.33*log10(DCP); sex is 1 if male else 0. Returns galad_score to 2 decimals. Not an HCC diagnosis, listing protocol, probability, or Johnson 2015 ALBI. DCP is ng/mL, not mAU/mL.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"afp_l3_percent":10,"afp_ng_ml":10,"age":60,"dcp_ng_ml":10,"sex":"male"},{"afp_l3_percent":10,"afp_ng_ml":10,"age":60,"dcp_ng_ml":10,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"afp_l3_percent":10,"afp_ng_ml":10,"age_years":60,"citation":{"authors":"Johnson PJ, Pirrie SJ, Cox TF, Berhane S, Teng M, Palmer D, Morse J, Hull D, Patman G, Kagebayashi C, et al.","doi":"10.1158/1055-9965.EPI-13-0870","id":"johnson-2014","pmid":"24220911","source":"Cancer Epidemiol Biomarkers Prev. 2014;23(1):144-153","title":"The detection of hepatocellular carcinoma using a prospectively developed and validated model based on serological biomarkers"},"dcp_ng_ml":10,"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":"galad","formula_expression":"galad_score = -10.08 + 0.09*age + 1.67*sex + 2.34*log10(afp_ng_ml) + 0.04*afp_l3_percent + 1.33*log10(dcp_ng_ml)","galad_score":1.06,"sex":"male"},{"afp_l3_percent":10,"afp_ng_ml":10,"age_years":60,"citation":{"authors":"Johnson PJ, Pirrie SJ, Cox TF, Berhane S, Teng M, Palmer D, Morse J, Hull D, Patman G, Kagebayashi C, et al.","doi":"10.1158/1055-9965.EPI-13-0870","id":"johnson-2014","pmid":"24220911","source":"Cancer Epidemiol Biomarkers Prev. 2014;23(1):144-153","title":"The detection of hepatocellular carcinoma using a prospectively developed and validated model based on serological biomarkers"},"dcp_ng_ml":10,"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":"galad","formula_expression":"galad_score = -10.08 + 0.09*age + 1.67*sex + 2.34*log10(afp_ng_ml) + 0.04*afp_l3_percent + 1.33*log10(dcp_ng_ml)","galad_score":1.06,"sex":"male"}],"path":"/api/calc/galad"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"afp_l3_percent":{"description":"AFP-L3 as a raw percent of total AFP (0-100). Enters unlogged. Johnson 2014 does not take log10 of AFP-L3.","type":"number"},"afp_ng_ml":{"description":"AFP in ng/mL (0.1-100000). Johnson 2014 uses log10 of ng/mL. Not a conversion from other units.","type":"number"},"age":{"description":"Age in years (18-120). Eighteen is an implementation clamp; Johnson 2014 is adult chronic liver disease.","type":"integer"},"dcp_ng_ml":{"description":"DCP (des-gamma-carboxy prothrombin) in ng/mL (0.1-100000). Johnson 2014 uses log10 of ng/mL. Not mAU/mL; magent does not convert.","type":"number"},"sex":{"description":"Sex used in the linear predictor (male = 1, female = 0).","enum":["female","male"],"type":"string"}},"required":["age","sex","afp_ng_ml","afp_l3_percent","dcp_ng_ml"],"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":["galad","liver","hcc","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:26:29.845Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:26:29.704Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"afp_l3_percent":10,"afp_ng_ml":10,"age":60,"dcp_ng_ml":10,"sex":"male"},{"afp_l3_percent":10,"afp_ng_ml":10,"age":60,"dcp_ng_ml":10,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"afp_l3_percent":10,"afp_ng_ml":10,"age_years":60,"citation":{"authors":"Johnson PJ, Pirrie SJ, Cox TF, Berhane S, Teng M, Palmer D, Morse J, Hull D, Patman G, Kagebayashi C, et al.","doi":"10.1158/1055-9965.EPI-13-0870","id":"johnson-2014","pmid":"24220911","source":"Cancer Epidemiol Biomarkers Prev. 2014;23(1):144-153","title":"The detection of hepatocellular carcinoma using a prospectively developed and validated model based on serological biomarkers"},"dcp_ng_ml":10,"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":"galad","formula_expression":"galad_score = -10.08 + 0.09*age + 1.67*sex + 2.34*log10(afp_ng_ml) + 0.04*afp_l3_percent + 1.33*log10(dcp_ng_ml)","galad_score":1.06,"sex":"male"},{"afp_l3_percent":10,"afp_ng_ml":10,"age_years":60,"citation":{"authors":"Johnson PJ, Pirrie SJ, Cox TF, Berhane S, Teng M, Palmer D, Morse J, Hull D, Patman G, Kagebayashi C, et al.","doi":"10.1158/1055-9965.EPI-13-0870","id":"johnson-2014","pmid":"24220911","source":"Cancer Epidemiol Biomarkers Prev. 2014;23(1):144-153","title":"The detection of hepatocellular carcinoma using a prospectively developed and validated model based on serological biomarkers"},"dcp_ng_ml":10,"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":"galad","formula_expression":"galad_score = -10.08 + 0.09*age + 1.67*sex + 2.34*log10(afp_ng_ml) + 0.04*afp_l3_percent + 1.33*log10(dcp_ng_ml)","galad_score":1.06,"sex":"male"}],"path":"/api/calc/galad"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"afp_l3_percent":{"description":"AFP-L3 as a raw percent of total AFP (0-100). Enters unlogged. Johnson 2014 does not take log10 of AFP-L3.","type":"number"},"afp_ng_ml":{"description":"AFP in ng/mL (0.1-100000). Johnson 2014 uses log10 of ng/mL. Not a conversion from other units.","type":"number"},"age":{"description":"Age in years (18-120). Eighteen is an implementation clamp; Johnson 2014 is adult chronic liver disease.","type":"integer"},"dcp_ng_ml":{"description":"DCP (des-gamma-carboxy prothrombin) in ng/mL (0.1-100000). Johnson 2014 uses log10 of ng/mL. Not mAU/mL; magent does not convert.","type":"number"},"sex":{"description":"Sex used in the linear predictor (male = 1, female = 0).","enum":["female","male"],"type":"string"}},"required":["age","sex","afp_ng_ml","afp_l3_percent","dcp_ng_ml"],"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},{"id":39164,"slug":"39164","resource":"https://api.magentlab.com/api/calc/g8","description":"Bellera 2012 G8 geriatric screening tool: seven MNA items (A, B, C, E, F, H, P) plus age. Food intake 0–2, weight loss 0–3, mobility 0–2, neuropsychological 0–2, BMI 0–3, more than 3 medications 0 if true else 1, health vs peers 0/0.5/1/2, age 0–2. Total 0–17, higher is better. Score ≤14 is an impaired screen. Not a CGA, chemotherapy order, Soubeyran 2014 ONCODAGE, or VES-13. magent does not interview or weigh the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_band":"lt_80","bmi":"ge_23","food_intake":"no_decrease","health_vs_peers":"better","mobility":"goes_out","more_than_3_medications":false,"neuropsychological":"none","weight_loss":"none"},{"age_band":"lt_80","bmi":"ge_23","food_intake":"no_decrease","health_vs_peers":"better","mobility":"goes_out","more_than_3_medications":false,"neuropsychological":"none","weight_loss":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_band":"lt_80","at_or_below_cutoff":false,"bmi":"ge_23","citation":{"authors":"Bellera CA, Rainfray M, Mathoulin-Pélissier S, et al.","doi":"10.1093/annonc/mdr587","id":"bellera-2012","pmid":"22250183","source":"Ann Oncol. 2012;23(8):2166-2172","title":"Screening older cancer patients: first evaluation of the G-8 geriatric screening tool"},"components":[{"factor":"food_intake","points":2,"present":true,"value":"no_decrease"},{"factor":"weight_loss","points":3,"present":true,"value":"none"},{"factor":"mobility","points":2,"present":true,"value":"goes_out"},{"factor":"neuropsychological","points":2,"present":true,"value":"none"},{"factor":"bmi","points":3,"present":true,"value":"ge_23"},{"factor":"more_than_3_medications","points":1,"present":true,"value":false},{"factor":"health_vs_peers","points":2,"present":true,"value":"better"},{"factor":"age_band","points":2,"present":true,"value":"lt_80"}],"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.","food_intake":"no_decrease","formula":"g8","formula_expression":"G8 (Bellera 2012) = food_intake (severe_decrease 0, moderate_decrease 1, no_decrease 2) + weight_loss (gt_3kg 0, unknown 1, 1_to_3kg 2, none 3) + mobility (bed_or_chair 0, bed_chair_no_out 1, goes_out 2) + neuropsychological (severe 0, mild 1, none 2) + bmi (lt_19 0, 19_to_lt_21 1, 21_to_lt_23 2, ge_23 3) + more_than_3_medications (true 0, false 1) + health_vs_peers (not_as_good 0, unknown 0.5, as_good 1, better 2) + age_band (gt_85 0, 80_to_85 1, lt_80 2); seven MNA items A,B,C,E,F,H,P plus age; max 17; higher is better; <=14 impaired screen; half-point on health unknown; not Soubeyran 2014 ONCODAGE; not VES-13","health_vs_peers":"better","max_score":17,"mobility":"goes_out","more_than_3_medications":false,"neuropsychological":"none","score":17,"weight_loss":"none"},{"age_band":"lt_80","at_or_below_cutoff":false,"bmi":"ge_23","citation":{"authors":"Bellera CA, Rainfray M, Mathoulin-Pélissier S, et al.","doi":"10.1093/annonc/mdr587","id":"bellera-2012","pmid":"22250183","source":"Ann Oncol. 2012;23(8):2166-2172","title":"Screening older cancer patients: first evaluation of the G-8 geriatric screening tool"},"components":[{"factor":"food_intake","points":2,"present":true,"value":"no_decrease"},{"factor":"weight_loss","points":3,"present":true,"value":"none"},{"factor":"mobility","points":2,"present":true,"value":"goes_out"},{"factor":"neuropsychological","points":2,"present":true,"value":"none"},{"factor":"bmi","points":3,"present":true,"value":"ge_23"},{"factor":"more_than_3_medications","points":1,"present":true,"value":false},{"factor":"health_vs_peers","points":2,"present":true,"value":"better"},{"factor":"age_band","points":2,"present":true,"value":"lt_80"}],"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.","food_intake":"no_decrease","formula":"g8","formula_expression":"G8 (Bellera 2012) = food_intake (severe_decrease 0, moderate_decrease 1, no_decrease 2) + weight_loss (gt_3kg 0, unknown 1, 1_to_3kg 2, none 3) + mobility (bed_or_chair 0, bed_chair_no_out 1, goes_out 2) + neuropsychological (severe 0, mild 1, none 2) + bmi (lt_19 0, 19_to_lt_21 1, 21_to_lt_23 2, ge_23 3) + more_than_3_medications (true 0, false 1) + health_vs_peers (not_as_good 0, unknown 0.5, as_good 1, better 2) + age_band (gt_85 0, 80_to_85 1, lt_80 2); seven MNA items A,B,C,E,F,H,P plus age; max 17; higher is better; <=14 impaired screen; half-point on health unknown; not Soubeyran 2014 ONCODAGE; not VES-13","health_vs_peers":"better","max_score":17,"mobility":"goes_out","more_than_3_medications":false,"neuropsychological":"none","score":17,"weight_loss":"none"}],"path":"/api/calc/g8"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_band":{"description":"Bellera 2012 G8 age band as assigned by the caller. gt_85 0, 80_to_85 1, lt_80 2. magent does not assign the age band from a numeric age.","type":"string"},"bmi":{"description":"Bellera 2012 G8 BMI band (MNA item F) as assigned by the caller. lt_19 0, 19_to_lt_21 1, 21_to_lt_23 2, ge_23 3. magent does not weigh the patient or compute BMI.","type":"string"},"food_intake":{"description":"Bellera 2012 G8 food-intake decline over 3 months (MNA item A) as assigned by the caller. severe_decrease 0, moderate_decrease 1, no_decrease 2. magent does not interview the patient.","type":"string"},"health_vs_peers":{"description":"Bellera 2012 G8 self-rated health versus people of the same age (MNA item P) as assigned by the caller. not_as_good 0, unknown 0.5, as_good 1, better 2. Half-point on unknown is not integer-rounded. magent does not interview the patient.","type":"string"},"mobility":{"description":"Bellera 2012 G8 mobility (MNA item C) as assigned by the caller. bed_or_chair 0, bed_chair_no_out 1, goes_out 2. magent does not examine the patient.","type":"string"},"more_than_3_medications":{"description":"Bellera 2012 G8 takes more than 3 medications per day (MNA item H) as assigned by the caller. true scores 0; false scores 1. magent does not review the medication list.","type":"boolean"},"neuropsychological":{"description":"Bellera 2012 G8 neuropsychological problems (MNA item E) as assigned by the caller. severe 0, mild 1, none 2. magent does not interview the patient.","type":"string"},"weight_loss":{"description":"Bellera 2012 G8 weight loss during the last 3 months (MNA item B) as assigned by the caller. gt_3kg 0, unknown 1, 1_to_3kg 2, none 3. magent does not weigh the patient.","type":"string"}},"required":["food_intake","weight_loss","mobility","neuropsychological","bmi","more_than_3_medications","health_vs_peers","age_band"],"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":["g8","geriatric","screening","oncology","cancer","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:21:51.529Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:21:51.376Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_band":"lt_80","bmi":"ge_23","food_intake":"no_decrease","health_vs_peers":"better","mobility":"goes_out","more_than_3_medications":false,"neuropsychological":"none","weight_loss":"none"},{"age_band":"lt_80","bmi":"ge_23","food_intake":"no_decrease","health_vs_peers":"better","mobility":"goes_out","more_than_3_medications":false,"neuropsychological":"none","weight_loss":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_band":"lt_80","at_or_below_cutoff":false,"bmi":"ge_23","citation":{"authors":"Bellera CA, Rainfray M, Mathoulin-Pélissier S, et al.","doi":"10.1093/annonc/mdr587","id":"bellera-2012","pmid":"22250183","source":"Ann Oncol. 2012;23(8):2166-2172","title":"Screening older cancer patients: first evaluation of the G-8 geriatric screening tool"},"components":[{"factor":"food_intake","points":2,"present":true,"value":"no_decrease"},{"factor":"weight_loss","points":3,"present":true,"value":"none"},{"factor":"mobility","points":2,"present":true,"value":"goes_out"},{"factor":"neuropsychological","points":2,"present":true,"value":"none"},{"factor":"bmi","points":3,"present":true,"value":"ge_23"},{"factor":"more_than_3_medications","points":1,"present":true,"value":false},{"factor":"health_vs_peers","points":2,"present":true,"value":"better"},{"factor":"age_band","points":2,"present":true,"value":"lt_80"}],"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.","food_intake":"no_decrease","formula":"g8","formula_expression":"G8 (Bellera 2012) = food_intake (severe_decrease 0, moderate_decrease 1, no_decrease 2) + weight_loss (gt_3kg 0, unknown 1, 1_to_3kg 2, none 3) + mobility (bed_or_chair 0, bed_chair_no_out 1, goes_out 2) + neuropsychological (severe 0, mild 1, none 2) + bmi (lt_19 0, 19_to_lt_21 1, 21_to_lt_23 2, ge_23 3) + more_than_3_medications (true 0, false 1) + health_vs_peers (not_as_good 0, unknown 0.5, as_good 1, better 2) + age_band (gt_85 0, 80_to_85 1, lt_80 2); seven MNA items A,B,C,E,F,H,P plus age; max 17; higher is better; <=14 impaired screen; half-point on health unknown; not Soubeyran 2014 ONCODAGE; not VES-13","health_vs_peers":"better","max_score":17,"mobility":"goes_out","more_than_3_medications":false,"neuropsychological":"none","score":17,"weight_loss":"none"},{"age_band":"lt_80","at_or_below_cutoff":false,"bmi":"ge_23","citation":{"authors":"Bellera CA, Rainfray M, Mathoulin-Pélissier S, et al.","doi":"10.1093/annonc/mdr587","id":"bellera-2012","pmid":"22250183","source":"Ann Oncol. 2012;23(8):2166-2172","title":"Screening older cancer patients: first evaluation of the G-8 geriatric screening tool"},"components":[{"factor":"food_intake","points":2,"present":true,"value":"no_decrease"},{"factor":"weight_loss","points":3,"present":true,"value":"none"},{"factor":"mobility","points":2,"present":true,"value":"goes_out"},{"factor":"neuropsychological","points":2,"present":true,"value":"none"},{"factor":"bmi","points":3,"present":true,"value":"ge_23"},{"factor":"more_than_3_medications","points":1,"present":true,"value":false},{"factor":"health_vs_peers","points":2,"present":true,"value":"better"},{"factor":"age_band","points":2,"present":true,"value":"lt_80"}],"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.","food_intake":"no_decrease","formula":"g8","formula_expression":"G8 (Bellera 2012) = food_intake (severe_decrease 0, moderate_decrease 1, no_decrease 2) + weight_loss (gt_3kg 0, unknown 1, 1_to_3kg 2, none 3) + mobility (bed_or_chair 0, bed_chair_no_out 1, goes_out 2) + neuropsychological (severe 0, mild 1, none 2) + bmi (lt_19 0, 19_to_lt_21 1, 21_to_lt_23 2, ge_23 3) + more_than_3_medications (true 0, false 1) + health_vs_peers (not_as_good 0, unknown 0.5, as_good 1, better 2) + age_band (gt_85 0, 80_to_85 1, lt_80 2); seven MNA items A,B,C,E,F,H,P plus age; max 17; higher is better; <=14 impaired screen; half-point on health unknown; not Soubeyran 2014 ONCODAGE; not VES-13","health_vs_peers":"better","max_score":17,"mobility":"goes_out","more_than_3_medications":false,"neuropsychological":"none","score":17,"weight_loss":"none"}],"path":"/api/calc/g8"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_band":{"description":"Bellera 2012 G8 age band as assigned by the caller. gt_85 0, 80_to_85 1, lt_80 2. magent does not assign the age band from a numeric age.","type":"string"},"bmi":{"description":"Bellera 2012 G8 BMI band (MNA item F) as assigned by the caller. lt_19 0, 19_to_lt_21 1, 21_to_lt_23 2, ge_23 3. magent does not weigh the patient or compute BMI.","type":"string"},"food_intake":{"description":"Bellera 2012 G8 food-intake decline over 3 months (MNA item A) as assigned by the caller. severe_decrease 0, moderate_decrease 1, no_decrease 2. magent does not interview the patient.","type":"string"},"health_vs_peers":{"description":"Bellera 2012 G8 self-rated health versus people of the same age (MNA item P) as assigned by the caller. not_as_good 0, unknown 0.5, as_good 1, better 2. Half-point on unknown is not integer-rounded. magent does not interview the patient.","type":"string"},"mobility":{"description":"Bellera 2012 G8 mobility (MNA item C) as assigned by the caller. bed_or_chair 0, bed_chair_no_out 1, goes_out 2. magent does not examine the patient.","type":"string"},"more_than_3_medications":{"description":"Bellera 2012 G8 takes more than 3 medications per day (MNA item H) as assigned by the caller. true scores 0; false scores 1. magent does not review the medication list.","type":"boolean"},"neuropsychological":{"description":"Bellera 2012 G8 neuropsychological problems (MNA item E) as assigned by the caller. severe 0, mild 1, none 2. magent does not interview the patient.","type":"string"},"weight_loss":{"description":"Bellera 2012 G8 weight loss during the last 3 months (MNA item B) as assigned by the caller. gt_3kg 0, unknown 1, 1_to_3kg 2, none 3. magent does not weigh the patient.","type":"string"}},"required":["food_intake","weight_loss","mobility","neuropsychological","bmi","more_than_3_medications","health_vs_peers","age_band"],"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},{"id":39165,"slug":"39165","resource":"https://api.magentlab.com/api/calc/fuhrman","description":"Fuhrman 1982 nuclear grade for renal cell carcinoma as assigned by the caller (grades 1-4). Returns the grade and the published nuclear-feature description. magent does not read slides. Not WHO/ISUP 2016. Not an RCC diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fuhrman_grade":1},{"fuhrman_grade":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Fuhrman SA, Lasky LC, Limas C","doi":"10.1097/00000478-198210000-00007","id":"fuhrman-1982","pmid":"7180965","source":"Am J Surg Pathol. 1982;6(7):655-663","title":"Prognostic significance of morphologic parameters in renal cell carcinoma"},"components":[{"factor":"grade_1","met":true},{"factor":"grade_2","met":false},{"factor":"grade_3","met":false},{"factor":"grade_4","met":false}],"description":"Small (~10 μm) round, uniform nuclei; nucleoli absent or inconspicuous","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":"fuhrman","formula_expression":"fuhrman_grade in {1, 2, 3, 4} as assigned by the caller (Fuhrman 1982 four nuclear grades in order of increasing nuclear size, irregularity, and nucleolar prominence). Not WHO/ISUP 2016. magent does not read slides.","fuhrman_grade":1},{"citation":{"authors":"Fuhrman SA, Lasky LC, Limas C","doi":"10.1097/00000478-198210000-00007","id":"fuhrman-1982","pmid":"7180965","source":"Am J Surg Pathol. 1982;6(7):655-663","title":"Prognostic significance of morphologic parameters in renal cell carcinoma"},"components":[{"factor":"grade_1","met":true},{"factor":"grade_2","met":false},{"factor":"grade_3","met":false},{"factor":"grade_4","met":false}],"description":"Small (~10 μm) round, uniform nuclei; nucleoli absent or inconspicuous","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":"fuhrman","formula_expression":"fuhrman_grade in {1, 2, 3, 4} as assigned by the caller (Fuhrman 1982 four nuclear grades in order of increasing nuclear size, irregularity, and nucleolar prominence). Not WHO/ISUP 2016. magent does not read slides.","fuhrman_grade":1}],"path":"/api/calc/fuhrman"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fuhrman_grade":{"description":"Fuhrman 1982 nuclear grade 1-4 as assigned by the caller (1 small ~10 μm round uniform nuclei, nucleoli absent or inconspicuous; 2 larger ~15 μm nuclei with outline irregularities, nucleoli visible at ×400; 3 even larger ~20 μm with obvious irregular outline, nucleoli prominent at ×100; 4 as for grade 3 with bizarre often multilobed nuclei ± spindle cells). Integer 1-4 only; reject 0, 5, 1.5, and roman I. Not WHO/ISUP 2016. magent does not read slides.","type":"integer"}},"required":["fuhrman_grade"],"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":["fuhrman","rcc","kidney","nuclear-grade","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:21:50.53Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:21:50.358Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fuhrman_grade":1},{"fuhrman_grade":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Fuhrman SA, Lasky LC, Limas C","doi":"10.1097/00000478-198210000-00007","id":"fuhrman-1982","pmid":"7180965","source":"Am J Surg Pathol. 1982;6(7):655-663","title":"Prognostic significance of morphologic parameters in renal cell carcinoma"},"components":[{"factor":"grade_1","met":true},{"factor":"grade_2","met":false},{"factor":"grade_3","met":false},{"factor":"grade_4","met":false}],"description":"Small (~10 μm) round, uniform nuclei; nucleoli absent or inconspicuous","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":"fuhrman","formula_expression":"fuhrman_grade in {1, 2, 3, 4} as assigned by the caller (Fuhrman 1982 four nuclear grades in order of increasing nuclear size, irregularity, and nucleolar prominence). Not WHO/ISUP 2016. magent does not read slides.","fuhrman_grade":1},{"citation":{"authors":"Fuhrman SA, Lasky LC, Limas C","doi":"10.1097/00000478-198210000-00007","id":"fuhrman-1982","pmid":"7180965","source":"Am J Surg Pathol. 1982;6(7):655-663","title":"Prognostic significance of morphologic parameters in renal cell carcinoma"},"components":[{"factor":"grade_1","met":true},{"factor":"grade_2","met":false},{"factor":"grade_3","met":false},{"factor":"grade_4","met":false}],"description":"Small (~10 μm) round, uniform nuclei; nucleoli absent or inconspicuous","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":"fuhrman","formula_expression":"fuhrman_grade in {1, 2, 3, 4} as assigned by the caller (Fuhrman 1982 four nuclear grades in order of increasing nuclear size, irregularity, and nucleolar prominence). Not WHO/ISUP 2016. magent does not read slides.","fuhrman_grade":1}],"path":"/api/calc/fuhrman"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fuhrman_grade":{"description":"Fuhrman 1982 nuclear grade 1-4 as assigned by the caller (1 small ~10 μm round uniform nuclei, nucleoli absent or inconspicuous; 2 larger ~15 μm nuclei with outline irregularities, nucleoli visible at ×400; 3 even larger ~20 μm with obvious irregular outline, nucleoli prominent at ×100; 4 as for grade 3 with bizarre often multilobed nuclei ± spindle cells). Integer 1-4 only; reject 0, 5, 1.5, and roman I. Not WHO/ISUP 2016. magent does not read slides.","type":"integer"}},"required":["fuhrman_grade"],"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},{"id":39166,"slug":"39166","resource":"https://api.magentlab.com/api/calc/framingham_hf","description":"McKee 1971 Framingham CHF criteria. Definite if two major, or one major plus two minor, are concurrent. Nine major and seven minor caller-assigned flags. Weight loss ≥4.5 kg in 5 days in response to treatment is dual: major if that is definite, else minor if that is definite, else unused. major_count and minor_count are the fixed flags only. Not a medical device, not an echocardiographic diagnosis, and not HFrEF or HFpEF staging.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_pulmonary_edema":false,"ankle_edema":false,"cardiomegaly":false,"circulation_time_ge_25":false,"dyspnea_on_exertion":false,"hepatojugular_reflux":false,"hepatomegaly":false,"neck_vein_distention":false,"night_cough":false,"pleural_effusion":false,"pnd_or_orthopnea":false,"rales":false,"s3_gallop":false,"tachycardia_ge_120":false,"venous_pressure_gt_16":false,"vital_capacity_decreased_third":false,"weight_loss_45kg_5d_treatment":false},{"acute_pulmonary_edema":false,"ankle_edema":false,"cardiomegaly":false,"circulation_time_ge_25":false,"dyspnea_on_exertion":false,"hepatojugular_reflux":false,"hepatomegaly":false,"neck_vein_distention":false,"night_cough":false,"pleural_effusion":false,"pnd_or_orthopnea":false,"rales":false,"s3_gallop":false,"tachycardia_ge_120":false,"venous_pressure_gt_16":false,"vital_capacity_decreased_third":false,"weight_loss_45kg_5d_treatment":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"McKee PA, Castelli WP, McNamara PM, Kannel WB","doi":"10.1056/NEJM197112232852601","id":"mckee-1971","pmid":"5122894","source":"N Engl J Med. 1971;285(26):1441-1446","title":"The natural history of congestive heart failure: the Framingham study"},"classification":"not_definite","components":[{"factor":"pnd_or_orthopnea","met":false},{"factor":"neck_vein_distention","met":false},{"factor":"rales","met":false},{"factor":"cardiomegaly","met":false},{"factor":"acute_pulmonary_edema","met":false},{"factor":"s3_gallop","met":false},{"factor":"venous_pressure_gt_16","met":false},{"factor":"circulation_time_ge_25","met":false},{"factor":"hepatojugular_reflux","met":false},{"factor":"ankle_edema","met":false},{"factor":"night_cough","met":false},{"factor":"dyspnea_on_exertion","met":false},{"factor":"hepatomegaly","met":false},{"factor":"pleural_effusion","met":false},{"factor":"vital_capacity_decreased_third","met":false},{"factor":"tachycardia_ge_120","met":false},{"factor":"weight_loss_45kg_5d_treatment","met":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":"framingham_hf","formula_expression":"definite iff 2 major OR (1 major AND 2 minor) concurrent (McKee 1971). weight_loss_45kg_5d_treatment (≥4.5 kg in 5 days in response to treatment) counts as major if that assignment is definite, else as minor if that assignment is definite, else unused. major_count is the 9 fixed majors; minor_count is the 7 fixed minors","major_count":0,"minor_count":0,"weight_loss_45kg_5d_treatment":false},{"citation":{"authors":"McKee PA, Castelli WP, McNamara PM, Kannel WB","doi":"10.1056/NEJM197112232852601","id":"mckee-1971","pmid":"5122894","source":"N Engl J Med. 1971;285(26):1441-1446","title":"The natural history of congestive heart failure: the Framingham study"},"classification":"not_definite","components":[{"factor":"pnd_or_orthopnea","met":false},{"factor":"neck_vein_distention","met":false},{"factor":"rales","met":false},{"factor":"cardiomegaly","met":false},{"factor":"acute_pulmonary_edema","met":false},{"factor":"s3_gallop","met":false},{"factor":"venous_pressure_gt_16","met":false},{"factor":"circulation_time_ge_25","met":false},{"factor":"hepatojugular_reflux","met":false},{"factor":"ankle_edema","met":false},{"factor":"night_cough","met":false},{"factor":"dyspnea_on_exertion","met":false},{"factor":"hepatomegaly","met":false},{"factor":"pleural_effusion","met":false},{"factor":"vital_capacity_decreased_third","met":false},{"factor":"tachycardia_ge_120","met":false},{"factor":"weight_loss_45kg_5d_treatment","met":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":"framingham_hf","formula_expression":"definite iff 2 major OR (1 major AND 2 minor) concurrent (McKee 1971). weight_loss_45kg_5d_treatment (≥4.5 kg in 5 days in response to treatment) counts as major if that assignment is definite, else as minor if that assignment is definite, else unused. major_count is the 9 fixed majors; minor_count is the 7 fixed minors","major_count":0,"minor_count":0,"weight_loss_45kg_5d_treatment":false}],"path":"/api/calc/framingham_hf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_pulmonary_edema":{"description":"Acute pulmonary edema (McKee 1971 major). true or false as assigned by the caller. magent does not diagnose pulmonary edema.","type":"boolean"},"ankle_edema":{"description":"Ankle edema (McKee 1971 minor). true or false as assigned by the caller. magent does not examine the ankles.","type":"boolean"},"cardiomegaly":{"description":"Cardiomegaly (McKee 1971 major). true or false as assigned by the caller. magent does not interpret a chest radiograph.","type":"boolean"},"circulation_time_ge_25":{"description":"Circulation time ≥25 seconds (McKee 1971 major). true or false as assigned by the caller. magent does not measure circulation time.","type":"boolean"},"dyspnea_on_exertion":{"description":"Dyspnea on exertion (McKee 1971 minor). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"hepatojugular_reflux":{"description":"Hepatojugular reflux (McKee 1971 major). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"hepatomegaly":{"description":"Hepatomegaly (McKee 1971 minor). true or false as assigned by the caller. magent does not examine the liver.","type":"boolean"},"neck_vein_distention":{"description":"Neck-vein distention (McKee 1971 major). true or false as assigned by the caller. magent does not examine the neck veins.","type":"boolean"},"night_cough":{"description":"Night cough (McKee 1971 minor). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"pleural_effusion":{"description":"Pleural effusion (McKee 1971 minor). true or false as assigned by the caller. magent does not interpret imaging.","type":"boolean"},"pnd_or_orthopnea":{"description":"Paroxysmal nocturnal dyspnea or orthopnea (McKee 1971 major). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"rales":{"description":"Rales (McKee 1971 major). true or false as assigned by the caller. magent does not auscultate the lungs.","type":"boolean"},"s3_gallop":{"description":"S3 gallop (McKee 1971 major). true or false as assigned by the caller. magent does not auscultate the heart.","type":"boolean"},"tachycardia_ge_120":{"description":"Tachycardia ≥120 per minute (McKee 1971 minor). true or false as assigned by the caller. magent does not measure heart rate.","type":"boolean"},"venous_pressure_gt_16":{"description":"Increased venous pressure >16 cm of water (McKee 1971 major). true or false as assigned by the caller. magent does not measure venous pressure.","type":"boolean"},"vital_capacity_decreased_third":{"description":"Vital capacity decreased one third from maximum (McKee 1971 minor). true or false as assigned by the caller. magent does not measure vital capacity.","type":"boolean"},"weight_loss_45kg_5d_treatment":{"description":"Weight loss ≥4.5 kg in 5 days in response to treatment (McKee 1971 dual major-or-minor). true or false as assigned by the caller. Counted as major if that assignment is definite, else as minor if that assignment is definite, else unused. magent does not weigh the patient.","type":"boolean"}},"required":["pnd_or_orthopnea","neck_vein_distention","rales","cardiomegaly","acute_pulmonary_edema","s3_gallop","venous_pressure_gt_16","circulation_time_ge_25","hepatojugular_reflux","ankle_edema","night_cough","dyspnea_on_exertion","hepatomegaly","pleural_effusion","vital_capacity_decreased_third","tachycardia_ge_120","weight_loss_45kg_5d_treatment"],"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":["framingham-hf","heart-failure","hemodynamics","chf","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:21:49.687Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:21:49.53Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_pulmonary_edema":false,"ankle_edema":false,"cardiomegaly":false,"circulation_time_ge_25":false,"dyspnea_on_exertion":false,"hepatojugular_reflux":false,"hepatomegaly":false,"neck_vein_distention":false,"night_cough":false,"pleural_effusion":false,"pnd_or_orthopnea":false,"rales":false,"s3_gallop":false,"tachycardia_ge_120":false,"venous_pressure_gt_16":false,"vital_capacity_decreased_third":false,"weight_loss_45kg_5d_treatment":false},{"acute_pulmonary_edema":false,"ankle_edema":false,"cardiomegaly":false,"circulation_time_ge_25":false,"dyspnea_on_exertion":false,"hepatojugular_reflux":false,"hepatomegaly":false,"neck_vein_distention":false,"night_cough":false,"pleural_effusion":false,"pnd_or_orthopnea":false,"rales":false,"s3_gallop":false,"tachycardia_ge_120":false,"venous_pressure_gt_16":false,"vital_capacity_decreased_third":false,"weight_loss_45kg_5d_treatment":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"McKee PA, Castelli WP, McNamara PM, Kannel WB","doi":"10.1056/NEJM197112232852601","id":"mckee-1971","pmid":"5122894","source":"N Engl J Med. 1971;285(26):1441-1446","title":"The natural history of congestive heart failure: the Framingham study"},"classification":"not_definite","components":[{"factor":"pnd_or_orthopnea","met":false},{"factor":"neck_vein_distention","met":false},{"factor":"rales","met":false},{"factor":"cardiomegaly","met":false},{"factor":"acute_pulmonary_edema","met":false},{"factor":"s3_gallop","met":false},{"factor":"venous_pressure_gt_16","met":false},{"factor":"circulation_time_ge_25","met":false},{"factor":"hepatojugular_reflux","met":false},{"factor":"ankle_edema","met":false},{"factor":"night_cough","met":false},{"factor":"dyspnea_on_exertion","met":false},{"factor":"hepatomegaly","met":false},{"factor":"pleural_effusion","met":false},{"factor":"vital_capacity_decreased_third","met":false},{"factor":"tachycardia_ge_120","met":false},{"factor":"weight_loss_45kg_5d_treatment","met":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":"framingham_hf","formula_expression":"definite iff 2 major OR (1 major AND 2 minor) concurrent (McKee 1971). weight_loss_45kg_5d_treatment (≥4.5 kg in 5 days in response to treatment) counts as major if that assignment is definite, else as minor if that assignment is definite, else unused. major_count is the 9 fixed majors; minor_count is the 7 fixed minors","major_count":0,"minor_count":0,"weight_loss_45kg_5d_treatment":false},{"citation":{"authors":"McKee PA, Castelli WP, McNamara PM, Kannel WB","doi":"10.1056/NEJM197112232852601","id":"mckee-1971","pmid":"5122894","source":"N Engl J Med. 1971;285(26):1441-1446","title":"The natural history of congestive heart failure: the Framingham study"},"classification":"not_definite","components":[{"factor":"pnd_or_orthopnea","met":false},{"factor":"neck_vein_distention","met":false},{"factor":"rales","met":false},{"factor":"cardiomegaly","met":false},{"factor":"acute_pulmonary_edema","met":false},{"factor":"s3_gallop","met":false},{"factor":"venous_pressure_gt_16","met":false},{"factor":"circulation_time_ge_25","met":false},{"factor":"hepatojugular_reflux","met":false},{"factor":"ankle_edema","met":false},{"factor":"night_cough","met":false},{"factor":"dyspnea_on_exertion","met":false},{"factor":"hepatomegaly","met":false},{"factor":"pleural_effusion","met":false},{"factor":"vital_capacity_decreased_third","met":false},{"factor":"tachycardia_ge_120","met":false},{"factor":"weight_loss_45kg_5d_treatment","met":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":"framingham_hf","formula_expression":"definite iff 2 major OR (1 major AND 2 minor) concurrent (McKee 1971). weight_loss_45kg_5d_treatment (≥4.5 kg in 5 days in response to treatment) counts as major if that assignment is definite, else as minor if that assignment is definite, else unused. major_count is the 9 fixed majors; minor_count is the 7 fixed minors","major_count":0,"minor_count":0,"weight_loss_45kg_5d_treatment":false}],"path":"/api/calc/framingham_hf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_pulmonary_edema":{"description":"Acute pulmonary edema (McKee 1971 major). true or false as assigned by the caller. magent does not diagnose pulmonary edema.","type":"boolean"},"ankle_edema":{"description":"Ankle edema (McKee 1971 minor). true or false as assigned by the caller. magent does not examine the ankles.","type":"boolean"},"cardiomegaly":{"description":"Cardiomegaly (McKee 1971 major). true or false as assigned by the caller. magent does not interpret a chest radiograph.","type":"boolean"},"circulation_time_ge_25":{"description":"Circulation time ≥25 seconds (McKee 1971 major). true or false as assigned by the caller. magent does not measure circulation time.","type":"boolean"},"dyspnea_on_exertion":{"description":"Dyspnea on exertion (McKee 1971 minor). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"hepatojugular_reflux":{"description":"Hepatojugular reflux (McKee 1971 major). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"hepatomegaly":{"description":"Hepatomegaly (McKee 1971 minor). true or false as assigned by the caller. magent does not examine the liver.","type":"boolean"},"neck_vein_distention":{"description":"Neck-vein distention (McKee 1971 major). true or false as assigned by the caller. magent does not examine the neck veins.","type":"boolean"},"night_cough":{"description":"Night cough (McKee 1971 minor). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"pleural_effusion":{"description":"Pleural effusion (McKee 1971 minor). true or false as assigned by the caller. magent does not interpret imaging.","type":"boolean"},"pnd_or_orthopnea":{"description":"Paroxysmal nocturnal dyspnea or orthopnea (McKee 1971 major). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"rales":{"description":"Rales (McKee 1971 major). true or false as assigned by the caller. magent does not auscultate the lungs.","type":"boolean"},"s3_gallop":{"description":"S3 gallop (McKee 1971 major). true or false as assigned by the caller. magent does not auscultate the heart.","type":"boolean"},"tachycardia_ge_120":{"description":"Tachycardia ≥120 per minute (McKee 1971 minor). true or false as assigned by the caller. magent does not measure heart rate.","type":"boolean"},"venous_pressure_gt_16":{"description":"Increased venous pressure >16 cm of water (McKee 1971 major). true or false as assigned by the caller. magent does not measure venous pressure.","type":"boolean"},"vital_capacity_decreased_third":{"description":"Vital capacity decreased one third from maximum (McKee 1971 minor). true or false as assigned by the caller. magent does not measure vital capacity.","type":"boolean"},"weight_loss_45kg_5d_treatment":{"description":"Weight loss ≥4.5 kg in 5 days in response to treatment (McKee 1971 dual major-or-minor). true or false as assigned by the caller. Counted as major if that assignment is definite, else as minor if that assignment is definite, else unused. magent does not weigh the patient.","type":"boolean"}},"required":["pnd_or_orthopnea","neck_vein_distention","rales","cardiomegaly","acute_pulmonary_edema","s3_gallop","venous_pressure_gt_16","circulation_time_ge_25","hepatojugular_reflux","ankle_edema","night_cough","dyspnea_on_exertion","hepatomegaly","pleural_effusion","vital_capacity_decreased_third","tachycardia_ge_120","weight_loss_45kg_5d_treatment"],"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},{"id":39167,"slug":"39167","resource":"https://api.magentlab.com/api/calc/fracture_index","description":"Black 2001 FRACTURE Index with known total-hip T-score. Age <65 0 through >=85 5. T >= -1 0; -2 <= T < -1 2; -2.5 <= T < -2 3; T < -2.5 4. Fracture after 50, maternal hip after 50, weight <=125 lb, smoker +1 each; arms to stand +2. Max 15. 5-year hip/vertebral/nonvertebral percents from printed quintiles 1-2, 3-4, 5, 6-7, 8-13. Age 18-120; T -5.0 to 4.0. Not a device, not FRAX, not a DXA order. Postmenopausal derivation; magent does not DXA-scan or take a history.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":60,"arms_to_stand":false,"bmd_t_score":-0.5,"current_smoker":false,"fracture_after_50":false,"maternal_hip_fracture_after_50":false,"weight_le_125_lb":false},{"age":60,"arms_to_stand":false,"bmd_t_score":-0.5,"current_smoker":false,"fracture_after_50":false,"maternal_hip_fracture_after_50":false,"weight_le_125_lb":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":60,"age_score":0,"arms_to_stand":false,"bmd_t_score":-0.5,"citation":{"authors":"Black DM, Steinbuch M, Palermo L, et al.","doi":"10.1007/s001980170072","id":"black-2001","pmid":"11527048","source":"Osteoporos Int. 2001;12(7):519-528","title":"An assessment tool for predicting fracture risk in postmenopausal women"},"components":[{"factor":"age","points":0,"present":false,"value":60},{"factor":"bmd_t_score","points":0,"present":false,"value":-0.5},{"factor":"fracture_after_50","points":0,"present":false},{"factor":"maternal_hip_fracture_after_50","points":0,"present":false},{"factor":"weight_le_125_lb","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"arms_to_stand","points":0,"present":false}],"current_smoker":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":"fracture_index","formula_expression":"FRACTURE Index (with BMD) = age (<65 0, 65-69 1, 70-74 2, 75-79 3, 80-84 4, >=85 5) + total_hip_T (>= -1 0, -2 <= T < -1 2, -2.5 <= T < -2 3, T < -2.5 4) + fracture_after_50 1 + maternal_hip_fracture_after_50 1 + weight_le_125_lb 1 + current_smoker 1 + arms_to_stand 2; Black 2001; max 15; 5-year hip/vertebral/nonvertebral percents by printed quintiles 1-2, 3-4, 5, 6-7, 8-13 (score >=8 maps to 8-13); score 0 unpublished","fracture_after_50":false,"hip_risk_5y_percent":null,"maternal_hip_fracture_after_50":false,"max_score":15,"nonvertebral_risk_5y_percent":null,"score":0,"score_group":null,"t_score_points":0,"vertebral_risk_5y_percent":null,"weight_le_125_lb":false},{"age":60,"age_score":0,"arms_to_stand":false,"bmd_t_score":-0.5,"citation":{"authors":"Black DM, Steinbuch M, Palermo L, et al.","doi":"10.1007/s001980170072","id":"black-2001","pmid":"11527048","source":"Osteoporos Int. 2001;12(7):519-528","title":"An assessment tool for predicting fracture risk in postmenopausal women"},"components":[{"factor":"age","points":0,"present":false,"value":60},{"factor":"bmd_t_score","points":0,"present":false,"value":-0.5},{"factor":"fracture_after_50","points":0,"present":false},{"factor":"maternal_hip_fracture_after_50","points":0,"present":false},{"factor":"weight_le_125_lb","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"arms_to_stand","points":0,"present":false}],"current_smoker":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":"fracture_index","formula_expression":"FRACTURE Index (with BMD) = age (<65 0, 65-69 1, 70-74 2, 75-79 3, 80-84 4, >=85 5) + total_hip_T (>= -1 0, -2 <= T < -1 2, -2.5 <= T < -2 3, T < -2.5 4) + fracture_after_50 1 + maternal_hip_fracture_after_50 1 + weight_le_125_lb 1 + current_smoker 1 + arms_to_stand 2; Black 2001; max 15; 5-year hip/vertebral/nonvertebral percents by printed quintiles 1-2, 3-4, 5, 6-7, 8-13 (score >=8 maps to 8-13); score 0 unpublished","fracture_after_50":false,"hip_risk_5y_percent":null,"maternal_hip_fracture_after_50":false,"max_score":15,"nonvertebral_risk_5y_percent":null,"score":0,"score_group":null,"t_score_points":0,"vertebral_risk_5y_percent":null,"weight_le_125_lb":false}],"path":"/api/calc/fracture_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Black 2001 FRACTURE Index: <65 scores 0; 65-69 scores 1; 70-74 scores 2; 75-79 scores 3; 80-84 scores 4; >=85 scores 5. Derivation was postmenopausal SOF women age 65 or older; the published instrument still lists <65 as 0.","type":"integer"},"arms_to_stand":{"description":"Usually needs arms to stand from a chair (Black 2001). true scores 2; false scores 0. true or false. magent does not examine the patient.","type":"boolean"},"bmd_t_score":{"description":"Caller-assigned total-hip BMD T-score (number -5.0 to 4.0). Black 2001 with-BMD instrument: T >= -1 scores 0; -2 <= T < -1 scores 2; -2.5 <= T < -2 scores 3; T < -2.5 scores 4. magent does not DXA-scan.","type":"number"},"current_smoker":{"description":"Current smoker (Black 2001). true scores 1; false scores 0. true or false. magent does not take a smoking history.","type":"boolean"},"fracture_after_50":{"description":"Any fracture after age 50 (Black 2001). true scores 1; false scores 0. true or false. magent does not take a history.","type":"boolean"},"maternal_hip_fracture_after_50":{"description":"Maternal hip fracture after age 50 (Black 2001). true scores 1; false scores 0. true or false. magent does not take a history.","type":"boolean"},"weight_le_125_lb":{"description":"Weight 125 pounds (57 kg) or less (Black 2001). true scores 1; false scores 0. true or false. magent does not weigh the patient.","type":"boolean"}},"required":["age","bmd_t_score","fracture_after_50","maternal_hip_fracture_after_50","weight_le_125_lb","current_smoker","arms_to_stand"],"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":["fracture-index","osteoporosis","bmd","hip-fracture","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:16:20.281Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:16:20.153Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":60,"arms_to_stand":false,"bmd_t_score":-0.5,"current_smoker":false,"fracture_after_50":false,"maternal_hip_fracture_after_50":false,"weight_le_125_lb":false},{"age":60,"arms_to_stand":false,"bmd_t_score":-0.5,"current_smoker":false,"fracture_after_50":false,"maternal_hip_fracture_after_50":false,"weight_le_125_lb":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":60,"age_score":0,"arms_to_stand":false,"bmd_t_score":-0.5,"citation":{"authors":"Black DM, Steinbuch M, Palermo L, et al.","doi":"10.1007/s001980170072","id":"black-2001","pmid":"11527048","source":"Osteoporos Int. 2001;12(7):519-528","title":"An assessment tool for predicting fracture risk in postmenopausal women"},"components":[{"factor":"age","points":0,"present":false,"value":60},{"factor":"bmd_t_score","points":0,"present":false,"value":-0.5},{"factor":"fracture_after_50","points":0,"present":false},{"factor":"maternal_hip_fracture_after_50","points":0,"present":false},{"factor":"weight_le_125_lb","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"arms_to_stand","points":0,"present":false}],"current_smoker":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":"fracture_index","formula_expression":"FRACTURE Index (with BMD) = age (<65 0, 65-69 1, 70-74 2, 75-79 3, 80-84 4, >=85 5) + total_hip_T (>= -1 0, -2 <= T < -1 2, -2.5 <= T < -2 3, T < -2.5 4) + fracture_after_50 1 + maternal_hip_fracture_after_50 1 + weight_le_125_lb 1 + current_smoker 1 + arms_to_stand 2; Black 2001; max 15; 5-year hip/vertebral/nonvertebral percents by printed quintiles 1-2, 3-4, 5, 6-7, 8-13 (score >=8 maps to 8-13); score 0 unpublished","fracture_after_50":false,"hip_risk_5y_percent":null,"maternal_hip_fracture_after_50":false,"max_score":15,"nonvertebral_risk_5y_percent":null,"score":0,"score_group":null,"t_score_points":0,"vertebral_risk_5y_percent":null,"weight_le_125_lb":false},{"age":60,"age_score":0,"arms_to_stand":false,"bmd_t_score":-0.5,"citation":{"authors":"Black DM, Steinbuch M, Palermo L, et al.","doi":"10.1007/s001980170072","id":"black-2001","pmid":"11527048","source":"Osteoporos Int. 2001;12(7):519-528","title":"An assessment tool for predicting fracture risk in postmenopausal women"},"components":[{"factor":"age","points":0,"present":false,"value":60},{"factor":"bmd_t_score","points":0,"present":false,"value":-0.5},{"factor":"fracture_after_50","points":0,"present":false},{"factor":"maternal_hip_fracture_after_50","points":0,"present":false},{"factor":"weight_le_125_lb","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"arms_to_stand","points":0,"present":false}],"current_smoker":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":"fracture_index","formula_expression":"FRACTURE Index (with BMD) = age (<65 0, 65-69 1, 70-74 2, 75-79 3, 80-84 4, >=85 5) + total_hip_T (>= -1 0, -2 <= T < -1 2, -2.5 <= T < -2 3, T < -2.5 4) + fracture_after_50 1 + maternal_hip_fracture_after_50 1 + weight_le_125_lb 1 + current_smoker 1 + arms_to_stand 2; Black 2001; max 15; 5-year hip/vertebral/nonvertebral percents by printed quintiles 1-2, 3-4, 5, 6-7, 8-13 (score >=8 maps to 8-13); score 0 unpublished","fracture_after_50":false,"hip_risk_5y_percent":null,"maternal_hip_fracture_after_50":false,"max_score":15,"nonvertebral_risk_5y_percent":null,"score":0,"score_group":null,"t_score_points":0,"vertebral_risk_5y_percent":null,"weight_le_125_lb":false}],"path":"/api/calc/fracture_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Black 2001 FRACTURE Index: <65 scores 0; 65-69 scores 1; 70-74 scores 2; 75-79 scores 3; 80-84 scores 4; >=85 scores 5. Derivation was postmenopausal SOF women age 65 or older; the published instrument still lists <65 as 0.","type":"integer"},"arms_to_stand":{"description":"Usually needs arms to stand from a chair (Black 2001). true scores 2; false scores 0. true or false. magent does not examine the patient.","type":"boolean"},"bmd_t_score":{"description":"Caller-assigned total-hip BMD T-score (number -5.0 to 4.0). Black 2001 with-BMD instrument: T >= -1 scores 0; -2 <= T < -1 scores 2; -2.5 <= T < -2 scores 3; T < -2.5 scores 4. magent does not DXA-scan.","type":"number"},"current_smoker":{"description":"Current smoker (Black 2001). true scores 1; false scores 0. true or false. magent does not take a smoking history.","type":"boolean"},"fracture_after_50":{"description":"Any fracture after age 50 (Black 2001). true scores 1; false scores 0. true or false. magent does not take a history.","type":"boolean"},"maternal_hip_fracture_after_50":{"description":"Maternal hip fracture after age 50 (Black 2001). true scores 1; false scores 0. true or false. magent does not take a history.","type":"boolean"},"weight_le_125_lb":{"description":"Weight 125 pounds (57 kg) or less (Black 2001). true scores 1; false scores 0. true or false. magent does not weigh the patient.","type":"boolean"}},"required":["age","bmd_t_score","fracture_after_50","maternal_hip_fracture_after_50","weight_le_125_lb","current_smoker","arms_to_stand"],"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},{"id":39168,"slug":"39168","resource":"https://api.magentlab.com/api/calc/forrest","description":"Forrest 1974 endoscopic ulcer class as assigned by the caller: ia active spurting haemorrhage, ib active oozing, iia non-bleeding visible vessel, iib adherent clot, iic flat pigmented haematin / coffee-ground base, iii clean ulcer base. Returns the canonical class and 1974 lesion description. magent does not interpret endoscopy images or invent rebleeding percentages. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"forrest":"iii"},{"forrest":"iii"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Forrest JA, Finlayson ND, Shearman DJ","doi":"10.1016/s0140-6736(74)91770-x","id":"forrest-1974","pmid":"4136718","source":"Lancet. 1974;2(7877):394-397","title":"Endoscopy in gastrointestinal bleeding"},"criteria":[{"factor":"ia","met":false},{"factor":"ib","met":false},{"factor":"iia","met":false},{"factor":"iib","met":false},{"factor":"iic","met":false},{"factor":"iii","met":true}],"description":"Clean ulcer base / no signs of recent hemorrhage","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":"forrest","formula_expression":"forrest in {ia, ib, iia, iib, iic, iii} as assigned by the caller (Forrest 1974); Ia active spurting, Ib active oozing, IIa non-bleeding visible vessel, IIb adherent clot, IIc flat pigmented haematin / coffee-ground base, III clean ulcer base","forrest":"iii"},{"citation":{"authors":"Forrest JA, Finlayson ND, Shearman DJ","doi":"10.1016/s0140-6736(74)91770-x","id":"forrest-1974","pmid":"4136718","source":"Lancet. 1974;2(7877):394-397","title":"Endoscopy in gastrointestinal bleeding"},"criteria":[{"factor":"ia","met":false},{"factor":"ib","met":false},{"factor":"iia","met":false},{"factor":"iib","met":false},{"factor":"iic","met":false},{"factor":"iii","met":true}],"description":"Clean ulcer base / no signs of recent hemorrhage","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":"forrest","formula_expression":"forrest in {ia, ib, iia, iib, iic, iii} as assigned by the caller (Forrest 1974); Ia active spurting, Ib active oozing, IIa non-bleeding visible vessel, IIb adherent clot, IIc flat pigmented haematin / coffee-ground base, III clean ulcer base","forrest":"iii"}],"path":"/api/calc/forrest"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"forrest":{"description":"Forrest 1974 endoscopic lesion class as assigned by the caller: ia (active spurting hemorrhage), ib (active oozing hemorrhage), iia (non-bleeding visible vessel), iib (adherent clot), iic (flat pigmented haematin / coffee-ground base), or iii (clean ulcer base / no signs of recent hemorrhage). Case-insensitive. magent does not interpret endoscopy images.","type":"string"}},"required":["forrest"],"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":["forrest","ugib","endoscopy","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:16:19.421Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:16:19.258Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"forrest":"iii"},{"forrest":"iii"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Forrest JA, Finlayson ND, Shearman DJ","doi":"10.1016/s0140-6736(74)91770-x","id":"forrest-1974","pmid":"4136718","source":"Lancet. 1974;2(7877):394-397","title":"Endoscopy in gastrointestinal bleeding"},"criteria":[{"factor":"ia","met":false},{"factor":"ib","met":false},{"factor":"iia","met":false},{"factor":"iib","met":false},{"factor":"iic","met":false},{"factor":"iii","met":true}],"description":"Clean ulcer base / no signs of recent hemorrhage","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":"forrest","formula_expression":"forrest in {ia, ib, iia, iib, iic, iii} as assigned by the caller (Forrest 1974); Ia active spurting, Ib active oozing, IIa non-bleeding visible vessel, IIb adherent clot, IIc flat pigmented haematin / coffee-ground base, III clean ulcer base","forrest":"iii"},{"citation":{"authors":"Forrest JA, Finlayson ND, Shearman DJ","doi":"10.1016/s0140-6736(74)91770-x","id":"forrest-1974","pmid":"4136718","source":"Lancet. 1974;2(7877):394-397","title":"Endoscopy in gastrointestinal bleeding"},"criteria":[{"factor":"ia","met":false},{"factor":"ib","met":false},{"factor":"iia","met":false},{"factor":"iib","met":false},{"factor":"iic","met":false},{"factor":"iii","met":true}],"description":"Clean ulcer base / no signs of recent hemorrhage","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":"forrest","formula_expression":"forrest in {ia, ib, iia, iib, iic, iii} as assigned by the caller (Forrest 1974); Ia active spurting, Ib active oozing, IIa non-bleeding visible vessel, IIb adherent clot, IIc flat pigmented haematin / coffee-ground base, III clean ulcer base","forrest":"iii"}],"path":"/api/calc/forrest"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"forrest":{"description":"Forrest 1974 endoscopic lesion class as assigned by the caller: ia (active spurting hemorrhage), ib (active oozing hemorrhage), iia (non-bleeding visible vessel), iib (adherent clot), iic (flat pigmented haematin / coffee-ground base), or iii (clean ulcer base / no signs of recent hemorrhage). Case-insensitive. magent does not interpret endoscopy images.","type":"string"}},"required":["forrest"],"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},{"id":39169,"slug":"39169","resource":"https://api.magentlab.com/api/calc/fong","description":"Fong 1999 clinical score after hepatic resection for metastatic colorectal cancer: five caller-assigned preoperative flags (node-positive primary, disease-free interval <12 months, more than one hepatic tumor, largest tumor >5 cm, CEA >200 ng/mL), 1 point each, score 0–5. favorable is true iff score ≤2. Not a resectability decision or adjuvant protocol. magent does not interpret imaging or pathology.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cea_gt_200":false,"dfi_lt_12_months":false,"largest_tumor_gt_5_cm":false,"more_than_one_hepatic_tumor":false,"node_positive_primary":false},{"cea_gt_200":false,"dfi_lt_12_months":false,"largest_tumor_gt_5_cm":false,"more_than_one_hepatic_tumor":false,"node_positive_primary":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Fong Y, Fortner J, Sun RL, Brennan MF, Blumgart LH","doi":"10.1097/00000658-199909000-00004","id":"fong-1999","pmid":"10493478","source":"Ann Surg. 1999;230(3):309-318","title":"Clinical score for predicting recurrence after hepatic resection for metastatic colorectal cancer: analysis of 1001 consecutive cases"},"components":[{"factor":"node_positive_primary","points":0,"present":false},{"factor":"dfi_lt_12_months","points":0,"present":false},{"factor":"more_than_one_hepatic_tumor","points":0,"present":false},{"factor":"largest_tumor_gt_5_cm","points":0,"present":false},{"factor":"cea_gt_200","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.","favorable":true,"formula":"fong","formula_expression":"Fong = node_positive_primary + dfi_lt_12_months + more_than_one_hepatic_tumor + largest_tumor_gt_5_cm + cea_gt_200; each 1; max 5","max_score":5,"score":0},{"citation":{"authors":"Fong Y, Fortner J, Sun RL, Brennan MF, Blumgart LH","doi":"10.1097/00000658-199909000-00004","id":"fong-1999","pmid":"10493478","source":"Ann Surg. 1999;230(3):309-318","title":"Clinical score for predicting recurrence after hepatic resection for metastatic colorectal cancer: analysis of 1001 consecutive cases"},"components":[{"factor":"node_positive_primary","points":0,"present":false},{"factor":"dfi_lt_12_months","points":0,"present":false},{"factor":"more_than_one_hepatic_tumor","points":0,"present":false},{"factor":"largest_tumor_gt_5_cm","points":0,"present":false},{"factor":"cea_gt_200","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.","favorable":true,"formula":"fong","formula_expression":"Fong = node_positive_primary + dfi_lt_12_months + more_than_one_hepatic_tumor + largest_tumor_gt_5_cm + cea_gt_200; each 1; max 5","max_score":5,"score":0}],"path":"/api/calc/fong"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cea_gt_200":{"description":"CEA >200 ng/mL (Fong 1999). Caller already applied the published threshold; equality at 200 ng/mL does not meet. true or false.","type":"boolean"},"dfi_lt_12_months":{"description":"Disease-free interval from primary to metastases <12 months (Fong 1999). Caller already applied the published threshold; equality at 12 months does not meet. true or false.","type":"boolean"},"largest_tumor_gt_5_cm":{"description":"Largest hepatic tumor >5 cm (Fong 1999). Caller already applied the published threshold; equality at 5 cm does not meet. true or false.","type":"boolean"},"more_than_one_hepatic_tumor":{"description":"More than one hepatic tumor (Fong 1999). true or false as assigned by the caller. magent does not interpret imaging.","type":"boolean"},"node_positive_primary":{"description":"Node-positive primary (Fong 1999). true or false as assigned by the caller. magent does not interpret pathology.","type":"boolean"}},"required":["node_positive_primary","dfi_lt_12_months","more_than_one_hepatic_tumor","largest_tumor_gt_5_cm","cea_gt_200"],"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":["fong","liver","colorectal","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:16:18.486Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:16:18.33Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cea_gt_200":false,"dfi_lt_12_months":false,"largest_tumor_gt_5_cm":false,"more_than_one_hepatic_tumor":false,"node_positive_primary":false},{"cea_gt_200":false,"dfi_lt_12_months":false,"largest_tumor_gt_5_cm":false,"more_than_one_hepatic_tumor":false,"node_positive_primary":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Fong Y, Fortner J, Sun RL, Brennan MF, Blumgart LH","doi":"10.1097/00000658-199909000-00004","id":"fong-1999","pmid":"10493478","source":"Ann Surg. 1999;230(3):309-318","title":"Clinical score for predicting recurrence after hepatic resection for metastatic colorectal cancer: analysis of 1001 consecutive cases"},"components":[{"factor":"node_positive_primary","points":0,"present":false},{"factor":"dfi_lt_12_months","points":0,"present":false},{"factor":"more_than_one_hepatic_tumor","points":0,"present":false},{"factor":"largest_tumor_gt_5_cm","points":0,"present":false},{"factor":"cea_gt_200","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.","favorable":true,"formula":"fong","formula_expression":"Fong = node_positive_primary + dfi_lt_12_months + more_than_one_hepatic_tumor + largest_tumor_gt_5_cm + cea_gt_200; each 1; max 5","max_score":5,"score":0},{"citation":{"authors":"Fong Y, Fortner J, Sun RL, Brennan MF, Blumgart LH","doi":"10.1097/00000658-199909000-00004","id":"fong-1999","pmid":"10493478","source":"Ann Surg. 1999;230(3):309-318","title":"Clinical score for predicting recurrence after hepatic resection for metastatic colorectal cancer: analysis of 1001 consecutive cases"},"components":[{"factor":"node_positive_primary","points":0,"present":false},{"factor":"dfi_lt_12_months","points":0,"present":false},{"factor":"more_than_one_hepatic_tumor","points":0,"present":false},{"factor":"largest_tumor_gt_5_cm","points":0,"present":false},{"factor":"cea_gt_200","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.","favorable":true,"formula":"fong","formula_expression":"Fong = node_positive_primary + dfi_lt_12_months + more_than_one_hepatic_tumor + largest_tumor_gt_5_cm + cea_gt_200; each 1; max 5","max_score":5,"score":0}],"path":"/api/calc/fong"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cea_gt_200":{"description":"CEA >200 ng/mL (Fong 1999). Caller already applied the published threshold; equality at 200 ng/mL does not meet. true or false.","type":"boolean"},"dfi_lt_12_months":{"description":"Disease-free interval from primary to metastases <12 months (Fong 1999). Caller already applied the published threshold; equality at 12 months does not meet. true or false.","type":"boolean"},"largest_tumor_gt_5_cm":{"description":"Largest hepatic tumor >5 cm (Fong 1999). Caller already applied the published threshold; equality at 5 cm does not meet. true or false.","type":"boolean"},"more_than_one_hepatic_tumor":{"description":"More than one hepatic tumor (Fong 1999). true or false as assigned by the caller. magent does not interpret imaging.","type":"boolean"},"node_positive_primary":{"description":"Node-positive primary (Fong 1999). true or false as assigned by the caller. magent does not interpret pathology.","type":"boolean"}},"required":["node_positive_primary","dfi_lt_12_months","more_than_one_hepatic_tumor","largest_tumor_gt_5_cm","cea_gt_200"],"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},{"id":39170,"slug":"39170","resource":"https://api.magentlab.com/api/calc/fluid_io","description":"Net fluid balance in mL: caller-assigned total intake minus total output over the same interval. Optional oral plus IV intake and urine, ultrafiltration, drain, and GI output must sum to those totals when sent (Acheampong and Vincent 2015). Does not estimate insensible losses. Not a resuscitation or diuretic order; magent does not measure I/O. Deterministic published arithmetic with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"drain_output_ml":200,"gi_output_ml":100,"iv_intake_ml":2000,"oral_intake_ml":500,"total_intake_ml":2500,"total_output_ml":1800,"ultrafiltration_ml":0,"urine_output_ml":1500},{"drain_output_ml":200,"gi_output_ml":100,"iv_intake_ml":2000,"oral_intake_ml":500,"total_intake_ml":2500,"total_output_ml":1800,"ultrafiltration_ml":0,"urine_output_ml":1500}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"balance_label":"positive","citation":{"authors":"Acheampong A, Vincent JL","doi":"10.1186/s13054-015-0970-1","id":"acheampong-2015","pmid":"26073560","source":"Crit Care. 2015;19(1):251","title":"A positive fluid balance is an independent prognostic factor in patients with sepsis"},"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":"acheampong_2015","formula_expression":"net_balance_ml = total_intake_ml - total_output_ml","net_balance_ml":700,"total_intake_ml":2500,"total_output_ml":1800},{"balance_label":"positive","citation":{"authors":"Acheampong A, Vincent JL","doi":"10.1186/s13054-015-0970-1","id":"acheampong-2015","pmid":"26073560","source":"Crit Care. 2015;19(1):251","title":"A positive fluid balance is an independent prognostic factor in patients with sepsis"},"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":"acheampong_2015","formula_expression":"net_balance_ml = total_intake_ml - total_output_ml","net_balance_ml":700,"total_intake_ml":2500,"total_output_ml":1800}],"path":"/api/calc/fluid_io"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"drain_output_ml":{"description":"Optional drain fluid in mL (0-100000). When any output addend is sent, the output addends (missing as 0) must equal total_output_ml.","type":"number"},"gi_output_ml":{"description":"Optional estimated gastrointestinal losses in mL (0-100000). Acheampong 2015 counted stool only with profound diarrhea. When any output addend is sent, the output addends (missing as 0) must equal total_output_ml. magent does not estimate insensible loss.","type":"number"},"iv_intake_ml":{"description":"Optional intravenous intake in mL (0-100000). When any intake addend is sent, oral_intake_ml + iv_intake_ml (missing as 0) must equal total_intake_ml.","type":"number"},"oral_intake_ml":{"description":"Optional oral intake in mL (0-100000). When any intake addend is sent, oral_intake_ml + iv_intake_ml (missing as 0) must equal total_intake_ml.","type":"number"},"total_intake_ml":{"description":"Caller-assigned total fluid intake in mL over the interval (0-100000). Acheampong 2015: sum of intravenous and oral fluids. magent does not measure intake.","type":"number"},"total_output_ml":{"description":"Caller-assigned total fluid output in mL over the same interval (0-100000). Acheampong 2015: urine, ultrafiltration, drain fluid, and estimated gastrointestinal losses. magent does not measure output.","type":"number"},"ultrafiltration_ml":{"description":"Optional ultrafiltration volume in mL (0-100000). When any output addend is sent, the output addends (missing as 0) must equal total_output_ml.","type":"number"},"urine_output_ml":{"description":"Optional urine output in mL (0-100000). When any output addend is sent, urine + ultrafiltration + drain + GI (missing as 0) must equal total_output_ml.","type":"number"}},"required":["total_intake_ml","total_output_ml"],"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":["fluids","balance","intake-output","icu","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:11:39.908Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:11:39.781Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"drain_output_ml":200,"gi_output_ml":100,"iv_intake_ml":2000,"oral_intake_ml":500,"total_intake_ml":2500,"total_output_ml":1800,"ultrafiltration_ml":0,"urine_output_ml":1500},{"drain_output_ml":200,"gi_output_ml":100,"iv_intake_ml":2000,"oral_intake_ml":500,"total_intake_ml":2500,"total_output_ml":1800,"ultrafiltration_ml":0,"urine_output_ml":1500}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"balance_label":"positive","citation":{"authors":"Acheampong A, Vincent JL","doi":"10.1186/s13054-015-0970-1","id":"acheampong-2015","pmid":"26073560","source":"Crit Care. 2015;19(1):251","title":"A positive fluid balance is an independent prognostic factor in patients with sepsis"},"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":"acheampong_2015","formula_expression":"net_balance_ml = total_intake_ml - total_output_ml","net_balance_ml":700,"total_intake_ml":2500,"total_output_ml":1800},{"balance_label":"positive","citation":{"authors":"Acheampong A, Vincent JL","doi":"10.1186/s13054-015-0970-1","id":"acheampong-2015","pmid":"26073560","source":"Crit Care. 2015;19(1):251","title":"A positive fluid balance is an independent prognostic factor in patients with sepsis"},"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":"acheampong_2015","formula_expression":"net_balance_ml = total_intake_ml - total_output_ml","net_balance_ml":700,"total_intake_ml":2500,"total_output_ml":1800}],"path":"/api/calc/fluid_io"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"drain_output_ml":{"description":"Optional drain fluid in mL (0-100000). When any output addend is sent, the output addends (missing as 0) must equal total_output_ml.","type":"number"},"gi_output_ml":{"description":"Optional estimated gastrointestinal losses in mL (0-100000). Acheampong 2015 counted stool only with profound diarrhea. When any output addend is sent, the output addends (missing as 0) must equal total_output_ml. magent does not estimate insensible loss.","type":"number"},"iv_intake_ml":{"description":"Optional intravenous intake in mL (0-100000). When any intake addend is sent, oral_intake_ml + iv_intake_ml (missing as 0) must equal total_intake_ml.","type":"number"},"oral_intake_ml":{"description":"Optional oral intake in mL (0-100000). When any intake addend is sent, oral_intake_ml + iv_intake_ml (missing as 0) must equal total_intake_ml.","type":"number"},"total_intake_ml":{"description":"Caller-assigned total fluid intake in mL over the interval (0-100000). Acheampong 2015: sum of intravenous and oral fluids. magent does not measure intake.","type":"number"},"total_output_ml":{"description":"Caller-assigned total fluid output in mL over the same interval (0-100000). Acheampong 2015: urine, ultrafiltration, drain fluid, and estimated gastrointestinal losses. magent does not measure output.","type":"number"},"ultrafiltration_ml":{"description":"Optional ultrafiltration volume in mL (0-100000). When any output addend is sent, the output addends (missing as 0) must equal total_output_ml.","type":"number"},"urine_output_ml":{"description":"Optional urine output in mL (0-100000). When any output addend is sent, urine + ultrafiltration + drain + GI (missing as 0) must equal total_output_ml.","type":"number"}},"required":["total_intake_ml","total_output_ml"],"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},{"id":39171,"slug":"39171","resource":"https://api.magentlab.com/api/calc/fistula_risk","description":"Callery 2013 Fistula Risk Score after pancreatoduodenectomy: gland texture firm 0 / soft 2; pathology PDAC or pancreatitis 0 / other (ampullary, duodenal, cystic, islet cell) 1; duct mm ≥5 0, ≥4 1, ≥3 2, ≥2 3, else 4; EBL mL ≤400 0, 401–700 1, 701–1000 2, >1000 3. Max 10. Bands negligible 0, low 1–2, intermediate 3–6, high 7–10. magent does not palpate the gland or measure EBL. Not a CR-POPF diagnosis, not an ISGPS grade, not Ranson or BISAP. Not a medical device.","type":"http","serviceName":"magent","resourceType":"AI Inference","x402Version":2,"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":[{"duct_mm":5,"ebl_ml":300,"gland_texture":"firm","pathology":"pdac_or_pancreatitis"},{"duct_mm":5,"ebl_ml":300,"gland_texture":"firm","pathology":"pdac_or_pancreatitis"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Callery MP, Pratt WB, Kent TS, Chaikof EL, Vollmer CM","doi":"10.1016/j.jamcollsurg.2012.09.002","id":"callery-2013","pmid":"23122535","source":"J Am Coll Surg. 2013;216(1):1-14","title":"A prospectively validated clinical risk score accurately predicts pancreatic fistula after pancreatoduodenectomy."},"components":[{"factor":"gland_texture","points":0,"present":true,"value":"firm"},{"factor":"pathology","points":0,"present":true,"value":"pdac_or_pancreatitis"},{"factor":"duct_mm","points":0,"present":true,"value":5},{"factor":"ebl_ml","points":0,"present":true,"value":300}],"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.","duct_mm":5,"ebl_ml":300,"fistula_band":"negligible","formula":"fistula_risk","formula_expression":"FRS = gland_texture (firm 0, soft 2) + pathology (pdac_or_pancreatitis 0, other 1) + duct_mm (>=5 0, >=4 1, >=3 2, >=2 3, else 4) + ebl_ml (<=400 0, <=700 1, <=1000 2, else 3); Callery 2013; max 10; negligible 0, low 1-2, intermediate 3-6, high 7-10","gland_texture":"firm","max_score":10,"pathology":"pdac_or_pancreatitis","score":0},{"citation":{"authors":"Callery MP, Pratt WB, Kent TS, Chaikof EL, Vollmer CM","doi":"10.1016/j.jamcollsurg.2012.09.002","id":"callery-2013","pmid":"23122535","source":"J Am Coll Surg. 2013;216(1):1-14","title":"A prospectively validated clinical risk score accurately predicts pancreatic fistula after pancreatoduodenectomy."},"components":[{"factor":"gland_texture","points":0,"present":true,"value":"firm"},{"factor":"pathology","points":0,"present":true,"value":"pdac_or_pancreatitis"},{"factor":"duct_mm","points":0,"present":true,"value":5},{"factor":"ebl_ml","points":0,"present":true,"value":300}],"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.","duct_mm":5,"ebl_ml":300,"fistula_band":"negligible","formula":"fistula_risk","formula_expression":"FRS = gland_texture (firm 0, soft 2) + pathology (pdac_or_pancreatitis 0, other 1) + duct_mm (>=5 0, >=4 1, >=3 2, >=2 3, else 4) + ebl_ml (<=400 0, <=700 1, <=1000 2, else 3); Callery 2013; max 10; negligible 0, low 1-2, intermediate 3-6, high 7-10","gland_texture":"firm","max_score":10,"pathology":"pdac_or_pancreatitis","score":0}],"path":"/api/calc/fistula_risk"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"duct_mm":{"description":"Caller-assigned pancreatic duct diameter in mm, number 0.5–20 (Callery 2013 integer-mm table). ≥5 scores 0; ≥4 scores 1; ≥3 scores 2; ≥2 scores 3; else 4 (so 4.0–4.999 scores 1; 1.5 and ≤1 score 4). magent does not measure the duct.","type":"number"},"ebl_ml":{"description":"Caller-assigned estimated blood loss in mL, number 0–10000 (Callery 2013). ≤400 scores 0; 401–700 scores 1; 701–1000 scores 2; >1000 scores 3. magent does not measure EBL.","type":"number"},"gland_texture":{"description":"Caller-assigned pancreatic gland texture at pancreatoduodenectomy (Callery 2013). firm or soft. firm scores 0; soft scores 2. magent does not palpate the gland.","enum":["firm","soft"],"type":"string"},"pathology":{"description":"Caller-assigned pathology (Callery 2013). pdac_or_pancreatitis (pancreatic ductal adenocarcinoma or pancreatitis) scores 0. other (ampullary, duodenal, cystic, or islet cell) scores 1.","enum":["pdac_or_pancreatitis","other"],"type":"string"}},"required":["gland_texture","pathology","duct_mm","ebl_ml"],"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":["fistula-risk","pancreas","whipple","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:11:37.572Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:11:36.736Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"duct_mm":5,"ebl_ml":300,"gland_texture":"firm","pathology":"pdac_or_pancreatitis"},{"duct_mm":5,"ebl_ml":300,"gland_texture":"firm","pathology":"pdac_or_pancreatitis"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Callery MP, Pratt WB, Kent TS, Chaikof EL, Vollmer CM","doi":"10.1016/j.jamcollsurg.2012.09.002","id":"callery-2013","pmid":"23122535","source":"J Am Coll Surg. 2013;216(1):1-14","title":"A prospectively validated clinical risk score accurately predicts pancreatic fistula after pancreatoduodenectomy."},"components":[{"factor":"gland_texture","points":0,"present":true,"value":"firm"},{"factor":"pathology","points":0,"present":true,"value":"pdac_or_pancreatitis"},{"factor":"duct_mm","points":0,"present":true,"value":5},{"factor":"ebl_ml","points":0,"present":true,"value":300}],"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.","duct_mm":5,"ebl_ml":300,"fistula_band":"negligible","formula":"fistula_risk","formula_expression":"FRS = gland_texture (firm 0, soft 2) + pathology (pdac_or_pancreatitis 0, other 1) + duct_mm (>=5 0, >=4 1, >=3 2, >=2 3, else 4) + ebl_ml (<=400 0, <=700 1, <=1000 2, else 3); Callery 2013; max 10; negligible 0, low 1-2, intermediate 3-6, high 7-10","gland_texture":"firm","max_score":10,"pathology":"pdac_or_pancreatitis","score":0},{"citation":{"authors":"Callery MP, Pratt WB, Kent TS, Chaikof EL, Vollmer CM","doi":"10.1016/j.jamcollsurg.2012.09.002","id":"callery-2013","pmid":"23122535","source":"J Am Coll Surg. 2013;216(1):1-14","title":"A prospectively validated clinical risk score accurately predicts pancreatic fistula after pancreatoduodenectomy."},"components":[{"factor":"gland_texture","points":0,"present":true,"value":"firm"},{"factor":"pathology","points":0,"present":true,"value":"pdac_or_pancreatitis"},{"factor":"duct_mm","points":0,"present":true,"value":5},{"factor":"ebl_ml","points":0,"present":true,"value":300}],"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.","duct_mm":5,"ebl_ml":300,"fistula_band":"negligible","formula":"fistula_risk","formula_expression":"FRS = gland_texture (firm 0, soft 2) + pathology (pdac_or_pancreatitis 0, other 1) + duct_mm (>=5 0, >=4 1, >=3 2, >=2 3, else 4) + ebl_ml (<=400 0, <=700 1, <=1000 2, else 3); Callery 2013; max 10; negligible 0, low 1-2, intermediate 3-6, high 7-10","gland_texture":"firm","max_score":10,"pathology":"pdac_or_pancreatitis","score":0}],"path":"/api/calc/fistula_risk"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"duct_mm":{"description":"Caller-assigned pancreatic duct diameter in mm, number 0.5–20 (Callery 2013 integer-mm table). ≥5 scores 0; ≥4 scores 1; ≥3 scores 2; ≥2 scores 3; else 4 (so 4.0–4.999 scores 1; 1.5 and ≤1 score 4). magent does not measure the duct.","type":"number"},"ebl_ml":{"description":"Caller-assigned estimated blood loss in mL, number 0–10000 (Callery 2013). ≤400 scores 0; 401–700 scores 1; 701–1000 scores 2; >1000 scores 3. magent does not measure EBL.","type":"number"},"gland_texture":{"description":"Caller-assigned pancreatic gland texture at pancreatoduodenectomy (Callery 2013). firm or soft. firm scores 0; soft scores 2. magent does not palpate the gland.","enum":["firm","soft"],"type":"string"},"pathology":{"description":"Caller-assigned pathology (Callery 2013). pdac_or_pancreatitis (pancreatic ductal adenocarcinoma or pancreatitis) scores 0. other (ampullary, duodenal, cystic, or islet cell) scores 1.","enum":["pdac_or_pancreatitis","other"],"type":"string"}},"required":["gland_texture","pathology","duct_mm","ebl_ml"],"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},{"id":39172,"slug":"39172","resource":"https://api.magentlab.com/api/calc/gcs_pupils","description":"GCS-Pupils (GCS-P) as caller-assigned total GCS 3-15 minus pupil reactivity score (unreactive pupils 0, 1, or 2) per Brennan 2018. Returns the index only (GCS-P range 1-15). magent does not examine pupils, assign GCS, compute eye/verbal/motor (use /api/calc/gcs), or implement Part 2 probability charts. Not a medical device and not a TBI-severity diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"gcs":15,"unreactive_pupils":0},{"gcs":15,"unreactive_pupils":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brennan PM, Murray GD, Teasdale GM","doi":"10.3171/2017.12.JNS172780","id":"brennan-2018","pmid":"29631516","source":"J Neurosurg. 2018;128(6):1612-1620","title":"Simplifying the use of prognostic information in traumatic brain injury. Part 1: The GCS-Pupils score: an extended index of clinical severity"},"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":"gcs_pupils","formula_expression":"GCS-P = GCS - PRS; PRS is the number of unreactive pupils (0, 1, or 2); GCS 3-15; GCS-P range 1-15 (Brennan 2018)","gcs":15,"gcs_p":15,"pupil_reactivity_score":0},{"citation":{"authors":"Brennan PM, Murray GD, Teasdale GM","doi":"10.3171/2017.12.JNS172780","id":"brennan-2018","pmid":"29631516","source":"J Neurosurg. 2018;128(6):1612-1620","title":"Simplifying the use of prognostic information in traumatic brain injury. Part 1: The GCS-Pupils score: an extended index of clinical severity"},"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":"gcs_pupils","formula_expression":"GCS-P = GCS - PRS; PRS is the number of unreactive pupils (0, 1, or 2); GCS 3-15; GCS-P range 1-15 (Brennan 2018)","gcs":15,"gcs_p":15,"pupil_reactivity_score":0}],"path":"/api/calc/gcs_pupils"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"gcs":{"description":"Caller-assigned total GCS as an integer 3-15 (1976-style total). magent does not assign GCS and does not take eye, verbal, or motor here (use /api/calc/gcs).","type":"integer"},"unreactive_pupils":{"description":"Pupil reactivity score (PRS): integer 0, 1, or 2. 0 both pupils reactive, 1 one unreactive, 2 both unreactive. magent does not examine pupils.","type":"integer"}},"required":["gcs","unreactive_pupils"],"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":["gcs-pupils","gcs-p","pupils","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:11:35.911Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:11:35.754Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"gcs":15,"unreactive_pupils":0},{"gcs":15,"unreactive_pupils":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brennan PM, Murray GD, Teasdale GM","doi":"10.3171/2017.12.JNS172780","id":"brennan-2018","pmid":"29631516","source":"J Neurosurg. 2018;128(6):1612-1620","title":"Simplifying the use of prognostic information in traumatic brain injury. Part 1: The GCS-Pupils score: an extended index of clinical severity"},"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":"gcs_pupils","formula_expression":"GCS-P = GCS - PRS; PRS is the number of unreactive pupils (0, 1, or 2); GCS 3-15; GCS-P range 1-15 (Brennan 2018)","gcs":15,"gcs_p":15,"pupil_reactivity_score":0},{"citation":{"authors":"Brennan PM, Murray GD, Teasdale GM","doi":"10.3171/2017.12.JNS172780","id":"brennan-2018","pmid":"29631516","source":"J Neurosurg. 2018;128(6):1612-1620","title":"Simplifying the use of prognostic information in traumatic brain injury. Part 1: The GCS-Pupils score: an extended index of clinical severity"},"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":"gcs_pupils","formula_expression":"GCS-P = GCS - PRS; PRS is the number of unreactive pupils (0, 1, or 2); GCS 3-15; GCS-P range 1-15 (Brennan 2018)","gcs":15,"gcs_p":15,"pupil_reactivity_score":0}],"path":"/api/calc/gcs_pupils"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"gcs":{"description":"Caller-assigned total GCS as an integer 3-15 (1976-style total). magent does not assign GCS and does not take eye, verbal, or motor here (use /api/calc/gcs).","type":"integer"},"unreactive_pupils":{"description":"Pupil reactivity score (PRS): integer 0, 1, or 2. 0 both pupils reactive, 1 one unreactive, 2 both unreactive. magent does not examine pupils.","type":"integer"}},"required":["gcs","unreactive_pupils"],"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},{"id":39173,"slug":"39173","resource":"https://api.magentlab.com/api/calc/gad_7","description":"Spitzer 2006 GAD-7 from seven caller-assigned integers 0-3 (nervous, control worry, worry too much, relaxing, restless, irritable, afraid); magent does not interpret the items. Total 0-21. Cut points 5/10/15 (mild/moderate/severe); 0-4 is below the mild cut (minimal). Returns case_finding_ge_10 (score ≥10; paper sensitivity 89% and specificity 82% for GAD). Not a GAD diagnosis, not a treatment order, not PHQ-9, and not GAD-2.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"afraid":0,"control_worry":0,"irritable":0,"nervous":0,"relaxing":0,"restless":0,"worry_too_much":0},{"afraid":0,"control_worry":0,"irritable":0,"nervous":0,"relaxing":0,"restless":0,"worry_too_much":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"case_finding_ge_10":false,"citation":{"authors":"Spitzer RL, Kroenke K, Williams JBW, Löwe B","doi":"10.1001/archinte.166.10.1092","id":"spitzer-2006","pmid":"16717171","source":"Arch Intern Med. 2006;166(10):1092-1097","title":"A brief measure for assessing generalized anxiety disorder: the GAD-7"},"components":[{"factor":"nervous","points":0,"present":true,"value":0},{"factor":"control_worry","points":0,"present":true,"value":0},{"factor":"worry_too_much","points":0,"present":true,"value":0},{"factor":"relaxing","points":0,"present":true,"value":0},{"factor":"restless","points":0,"present":true,"value":0},{"factor":"irritable","points":0,"present":true,"value":0},{"factor":"afraid","points":0,"present":true,"value":0}],"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":"gad_7","formula_expression":"GAD-7 = nervous + control_worry + worry_too_much + relaxing + restless + irritable + afraid; each caller-assigned 0-3; max 21","max_score":21,"score":0,"severity":"minimal"},{"case_finding_ge_10":false,"citation":{"authors":"Spitzer RL, Kroenke K, Williams JBW, Löwe B","doi":"10.1001/archinte.166.10.1092","id":"spitzer-2006","pmid":"16717171","source":"Arch Intern Med. 2006;166(10):1092-1097","title":"A brief measure for assessing generalized anxiety disorder: the GAD-7"},"components":[{"factor":"nervous","points":0,"present":true,"value":0},{"factor":"control_worry","points":0,"present":true,"value":0},{"factor":"worry_too_much","points":0,"present":true,"value":0},{"factor":"relaxing","points":0,"present":true,"value":0},{"factor":"restless","points":0,"present":true,"value":0},{"factor":"irritable","points":0,"present":true,"value":0},{"factor":"afraid","points":0,"present":true,"value":0}],"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":"gad_7","formula_expression":"GAD-7 = nervous + control_worry + worry_too_much + relaxing + restless + irritable + afraid; each caller-assigned 0-3; max 21","max_score":21,"score":0,"severity":"minimal"}],"path":"/api/calc/gad_7"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"afraid":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 7 points (integer 0-3): feeling afraid as if something awful might happen. magent does not interpret the item.","type":"integer"},"control_worry":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 2 points (integer 0-3): not being able to stop or control worrying. magent does not interpret the item.","type":"integer"},"irritable":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 6 points (integer 0-3): becoming easily annoyed or irritable. magent does not interpret the item.","type":"integer"},"nervous":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 1 points (integer 0-3): feeling nervous, anxious, or on edge. magent does not interpret the item.","type":"integer"},"relaxing":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 4 points (integer 0-3): trouble relaxing. magent does not interpret the item.","type":"integer"},"restless":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 5 points (integer 0-3): being so restless that it is hard to sit still. magent does not interpret the item.","type":"integer"},"worry_too_much":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 3 points (integer 0-3): worrying too much about different things. magent does not interpret the item.","type":"integer"}},"required":["nervous","control_worry","worry_too_much","relaxing","restless","irritable","afraid"],"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":["gad-7","anxiety","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:02:28.924Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:02:28.805Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"afraid":0,"control_worry":0,"irritable":0,"nervous":0,"relaxing":0,"restless":0,"worry_too_much":0},{"afraid":0,"control_worry":0,"irritable":0,"nervous":0,"relaxing":0,"restless":0,"worry_too_much":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"case_finding_ge_10":false,"citation":{"authors":"Spitzer RL, Kroenke K, Williams JBW, Löwe B","doi":"10.1001/archinte.166.10.1092","id":"spitzer-2006","pmid":"16717171","source":"Arch Intern Med. 2006;166(10):1092-1097","title":"A brief measure for assessing generalized anxiety disorder: the GAD-7"},"components":[{"factor":"nervous","points":0,"present":true,"value":0},{"factor":"control_worry","points":0,"present":true,"value":0},{"factor":"worry_too_much","points":0,"present":true,"value":0},{"factor":"relaxing","points":0,"present":true,"value":0},{"factor":"restless","points":0,"present":true,"value":0},{"factor":"irritable","points":0,"present":true,"value":0},{"factor":"afraid","points":0,"present":true,"value":0}],"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":"gad_7","formula_expression":"GAD-7 = nervous + control_worry + worry_too_much + relaxing + restless + irritable + afraid; each caller-assigned 0-3; max 21","max_score":21,"score":0,"severity":"minimal"},{"case_finding_ge_10":false,"citation":{"authors":"Spitzer RL, Kroenke K, Williams JBW, Löwe B","doi":"10.1001/archinte.166.10.1092","id":"spitzer-2006","pmid":"16717171","source":"Arch Intern Med. 2006;166(10):1092-1097","title":"A brief measure for assessing generalized anxiety disorder: the GAD-7"},"components":[{"factor":"nervous","points":0,"present":true,"value":0},{"factor":"control_worry","points":0,"present":true,"value":0},{"factor":"worry_too_much","points":0,"present":true,"value":0},{"factor":"relaxing","points":0,"present":true,"value":0},{"factor":"restless","points":0,"present":true,"value":0},{"factor":"irritable","points":0,"present":true,"value":0},{"factor":"afraid","points":0,"present":true,"value":0}],"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":"gad_7","formula_expression":"GAD-7 = nervous + control_worry + worry_too_much + relaxing + restless + irritable + afraid; each caller-assigned 0-3; max 21","max_score":21,"score":0,"severity":"minimal"}],"path":"/api/calc/gad_7"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"afraid":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 7 points (integer 0-3): feeling afraid as if something awful might happen. magent does not interpret the item.","type":"integer"},"control_worry":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 2 points (integer 0-3): not being able to stop or control worrying. magent does not interpret the item.","type":"integer"},"irritable":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 6 points (integer 0-3): becoming easily annoyed or irritable. magent does not interpret the item.","type":"integer"},"nervous":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 1 points (integer 0-3): feeling nervous, anxious, or on edge. magent does not interpret the item.","type":"integer"},"relaxing":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 4 points (integer 0-3): trouble relaxing. magent does not interpret the item.","type":"integer"},"restless":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 5 points (integer 0-3): being so restless that it is hard to sit still. magent does not interpret the item.","type":"integer"},"worry_too_much":{"description":"Caller-assigned Spitzer 2006 GAD-7 item 3 points (integer 0-3): worrying too much about different things. magent does not interpret the item.","type":"integer"}},"required":["nervous","control_worry","worry_too_much","relaxing","restless","irritable","afraid"],"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},{"id":39174,"slug":"39174","resource":"https://api.magentlab.com/api/calc/func_score","description":"Rost 2008 FUNC score (0-11) after primary ICH from caller-assigned volume, age, location (lobar/deep/infratentorial), GCS, and pre-ICH cognitive impairment. Volume <30 mL scores 4, 30-60 scores 2, >60 scores 0; age <70 scores 2, 70-79 scores 1, >=80 scores 0; lobar 2, deep 1, infratentorial 0; GCS >=9 scores 2, <=8 scores 0; cognitive impairment absent scores 1. Companion to the Hemphill ICH Score, not a replacement. Not a diagnosis or withdrawal-of-care protocol. magent does not read CT.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":60,"gcs":14,"ich_volume_ml":15,"location":"lobar","pre_ich_cognitive_impairment":false},{"age":60,"gcs":14,"ich_volume_ml":15,"location":"lobar","pre_ich_cognitive_impairment":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Rost NS, Smith EE, Chang Y, et al.","doi":"10.1161/STROKEAHA.107.512202","id":"rost-2008","pmid":"18556582","source":"Stroke. 2008;39(8):2304-2309","title":"Prediction of functional outcome in patients with primary intracerebral hemorrhage: the FUNC score"},"components":[{"factor":"ich_volume_ml","points":4,"present":true,"value":15},{"factor":"age","points":2,"present":true,"value":60},{"factor":"location","points":2,"present":true,"value":"lobar"},{"factor":"gcs","points":2,"present":true,"value":14},{"factor":"pre_ich_cognitive_impairment","points":1,"present":true,"value":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":"func_score","formula_expression":"FUNC = ich_volume + age + location + gcs + pre_ich_cognitive_impairment; volume <30 → 4, 30-60 → 2, >60 → 0; age <70 → 2, 70-79 → 1, >=80 → 0; lobar 2, deep 1, infratentorial 0; GCS >=9 → 2, <=8 → 0; pre-ICH cognitive impairment absent 1, present 0; max 11","func_band":"11","gcs":14,"ich_volume_ml":15,"location":"lobar","max_score":11,"pre_ich_cognitive_impairment":false,"score":11},{"age_years":60,"citation":{"authors":"Rost NS, Smith EE, Chang Y, et al.","doi":"10.1161/STROKEAHA.107.512202","id":"rost-2008","pmid":"18556582","source":"Stroke. 2008;39(8):2304-2309","title":"Prediction of functional outcome in patients with primary intracerebral hemorrhage: the FUNC score"},"components":[{"factor":"ich_volume_ml","points":4,"present":true,"value":15},{"factor":"age","points":2,"present":true,"value":60},{"factor":"location","points":2,"present":true,"value":"lobar"},{"factor":"gcs","points":2,"present":true,"value":14},{"factor":"pre_ich_cognitive_impairment","points":1,"present":true,"value":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":"func_score","formula_expression":"FUNC = ich_volume + age + location + gcs + pre_ich_cognitive_impairment; volume <30 → 4, 30-60 → 2, >60 → 0; age <70 → 2, 70-79 → 1, >=80 → 0; lobar 2, deep 1, infratentorial 0; GCS >=9 → 2, <=8 → 0; pre-ICH cognitive impairment absent 1, present 0; max 11","func_band":"11","gcs":14,"ich_volume_ml":15,"location":"lobar","max_score":11,"pre_ich_cognitive_impairment":false,"score":11}],"path":"/api/calc/func_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). <70 scores 2; 70-79 scores 1; ≥80 scores 0.","type":"integer"},"gcs":{"description":"Caller-assigned GCS total (integer 3-15). ≥9 scores 2; ≤8 scores 0. magent does not compute GCS from eye, verbal, and motor here.","type":"integer"},"ich_volume_ml":{"description":"ICH volume in mL (cm^3 in Rost 2008). Number from 0.1 to 300. <30 scores 4; 30-60 scores 2; >60 scores 0. magent does not measure volume from imaging.","type":"number"},"location":{"description":"ICH location as assigned by the caller: lobar (2), deep (1), or infratentorial (0). magent does not read a CT scan.","type":"string"},"pre_ich_cognitive_impairment":{"description":"Pre-ICH cognitive impairment as assigned by the caller. true or false. Absent (false) scores 1; present (true) scores 0.","type":"boolean"}},"required":["ich_volume_ml","age","location","gcs","pre_ich_cognitive_impairment"],"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":["func-score","ich","neurology","hemorrhage","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:02:27.659Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:02:27.451Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":60,"gcs":14,"ich_volume_ml":15,"location":"lobar","pre_ich_cognitive_impairment":false},{"age":60,"gcs":14,"ich_volume_ml":15,"location":"lobar","pre_ich_cognitive_impairment":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Rost NS, Smith EE, Chang Y, et al.","doi":"10.1161/STROKEAHA.107.512202","id":"rost-2008","pmid":"18556582","source":"Stroke. 2008;39(8):2304-2309","title":"Prediction of functional outcome in patients with primary intracerebral hemorrhage: the FUNC score"},"components":[{"factor":"ich_volume_ml","points":4,"present":true,"value":15},{"factor":"age","points":2,"present":true,"value":60},{"factor":"location","points":2,"present":true,"value":"lobar"},{"factor":"gcs","points":2,"present":true,"value":14},{"factor":"pre_ich_cognitive_impairment","points":1,"present":true,"value":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":"func_score","formula_expression":"FUNC = ich_volume + age + location + gcs + pre_ich_cognitive_impairment; volume <30 → 4, 30-60 → 2, >60 → 0; age <70 → 2, 70-79 → 1, >=80 → 0; lobar 2, deep 1, infratentorial 0; GCS >=9 → 2, <=8 → 0; pre-ICH cognitive impairment absent 1, present 0; max 11","func_band":"11","gcs":14,"ich_volume_ml":15,"location":"lobar","max_score":11,"pre_ich_cognitive_impairment":false,"score":11},{"age_years":60,"citation":{"authors":"Rost NS, Smith EE, Chang Y, et al.","doi":"10.1161/STROKEAHA.107.512202","id":"rost-2008","pmid":"18556582","source":"Stroke. 2008;39(8):2304-2309","title":"Prediction of functional outcome in patients with primary intracerebral hemorrhage: the FUNC score"},"components":[{"factor":"ich_volume_ml","points":4,"present":true,"value":15},{"factor":"age","points":2,"present":true,"value":60},{"factor":"location","points":2,"present":true,"value":"lobar"},{"factor":"gcs","points":2,"present":true,"value":14},{"factor":"pre_ich_cognitive_impairment","points":1,"present":true,"value":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":"func_score","formula_expression":"FUNC = ich_volume + age + location + gcs + pre_ich_cognitive_impairment; volume <30 → 4, 30-60 → 2, >60 → 0; age <70 → 2, 70-79 → 1, >=80 → 0; lobar 2, deep 1, infratentorial 0; GCS >=9 → 2, <=8 → 0; pre-ICH cognitive impairment absent 1, present 0; max 11","func_band":"11","gcs":14,"ich_volume_ml":15,"location":"lobar","max_score":11,"pre_ich_cognitive_impairment":false,"score":11}],"path":"/api/calc/func_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). <70 scores 2; 70-79 scores 1; ≥80 scores 0.","type":"integer"},"gcs":{"description":"Caller-assigned GCS total (integer 3-15). ≥9 scores 2; ≤8 scores 0. magent does not compute GCS from eye, verbal, and motor here.","type":"integer"},"ich_volume_ml":{"description":"ICH volume in mL (cm^3 in Rost 2008). Number from 0.1 to 300. <30 scores 4; 30-60 scores 2; >60 scores 0. magent does not measure volume from imaging.","type":"number"},"location":{"description":"ICH location as assigned by the caller: lobar (2), deep (1), or infratentorial (0). magent does not read a CT scan.","type":"string"},"pre_ich_cognitive_impairment":{"description":"Pre-ICH cognitive impairment as assigned by the caller. true or false. Absent (false) scores 1; present (true) scores 0.","type":"boolean"}},"required":["ich_volume_ml","age","location","gcs","pre_ich_cognitive_impairment"],"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},{"id":39175,"slug":"39175","resource":"https://api.magentlab.com/api/calc/findrisc","description":"Lindström 2003 Finnish diabetes risk score (FINDRISC). Original seven-item 0–20 score, cutoff ≥9: age (<45 → 0, 45–54 → 2, 55–64 → 3, ≥65 → 4); BMI (<25 → 0, 25–30 → 1, >30 → 3); sex-specific waist; BP medication 2; high-glucose history 5; daily 30-min activity 0 else 2; daily vegetables 0 else 1. Returns score and at_risk. Not a diabetes diagnosis and not the later family-history revision.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"activity_30min":true,"age":40,"bmi_kg_m2":22,"bp_medication":false,"daily_vegetables":true,"history_high_glucose":false,"sex":"male","waist_cm":80},{"activity_30min":true,"age":40,"bmi_kg_m2":22,"bp_medication":false,"daily_vegetables":true,"history_high_glucose":false,"sex":"male","waist_cm":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"at_risk":false,"bmi_kg_m2":22,"citation":{"authors":"Lindström J, Tuomilehto J","doi":"10.2337/diacare.26.3.725","id":"lindstrom-2003","pmid":"12610029","source":"Diabetes Care. 2003;26(3):725-731","title":"The diabetes risk score: a practical tool to predict type 2 diabetes risk"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"bmi","points":0,"present":false,"value":22},{"factor":"waist","points":0,"present":false,"value":80},{"factor":"bp_medication","points":0,"present":false},{"factor":"history_high_glucose","points":0,"present":false},{"factor":"inactivity","points":0,"present":false},{"factor":"no_daily_vegetables","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":"findrisc","formula_expression":"FINDRISC = age + bmi + waist + bp_medication + history_high_glucose + inactivity + no_daily_vegetables; age <45 -> 0, 45-54 -> 2, 55-64 -> 3, >=65 -> 4; BMI <25 -> 0, 25-30 -> 1, >30 -> 3; waist men <94 -> 0, 94-102 -> 3, >102 -> 4; women <80 -> 0, 80-88 -> 3, >88 -> 4; bp_medication 2; history_high_glucose 5; activity_30min false -> 2; daily_vegetables false -> 1; max 20; at_risk iff score>=9","max_score":20,"score":0,"sex":"male","waist_cm":80},{"age_years":40,"at_risk":false,"bmi_kg_m2":22,"citation":{"authors":"Lindström J, Tuomilehto J","doi":"10.2337/diacare.26.3.725","id":"lindstrom-2003","pmid":"12610029","source":"Diabetes Care. 2003;26(3):725-731","title":"The diabetes risk score: a practical tool to predict type 2 diabetes risk"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"bmi","points":0,"present":false,"value":22},{"factor":"waist","points":0,"present":false,"value":80},{"factor":"bp_medication","points":0,"present":false},{"factor":"history_high_glucose","points":0,"present":false},{"factor":"inactivity","points":0,"present":false},{"factor":"no_daily_vegetables","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":"findrisc","formula_expression":"FINDRISC = age + bmi + waist + bp_medication + history_high_glucose + inactivity + no_daily_vegetables; age <45 -> 0, 45-54 -> 2, 55-64 -> 3, >=65 -> 4; BMI <25 -> 0, 25-30 -> 1, >30 -> 3; waist men <94 -> 0, 94-102 -> 3, >102 -> 4; women <80 -> 0, 80-88 -> 3, >88 -> 4; bp_medication 2; history_high_glucose 5; activity_30min false -> 2; daily_vegetables false -> 1; max 20; at_risk iff score>=9","max_score":20,"score":0,"sex":"male","waist_cm":80}],"path":"/api/calc/findrisc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity_30min":{"description":"Usually at least 30 minutes of physical activity daily at work and/or leisure, including normal daily activity (Lindström 2003). true scores 0; false scores 2.","type":"boolean"},"age":{"description":"Age in years (18-120). Lindström 2003: <45 scores 0; 45-54 scores 2; 55-64 scores 3; ≥65 scores 4. Age 45 and 54 score 2; 55 and 64 score 3; 65 scores 4.","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Lindström 2003: <25 scores 0; 25-30 scores 1; >30 scores 3. 25.0 and 30.0 score 1; 30.1 scores 3.","type":"number"},"bp_medication":{"description":"History of antihypertensive drug treatment (Lindström 2003). true scores 2; false scores 0.","type":"boolean"},"daily_vegetables":{"description":"Daily consumption of vegetables, fruit, or berries (Lindström 2003). true scores 0; false scores 1.","type":"boolean"},"history_high_glucose":{"description":"History of high blood glucose (health examination, illness, or pregnancy) (Lindström 2003). Caller-assigned; magent does not assay glucose. true scores 5; false scores 0.","type":"boolean"},"sex":{"description":"female or male. Selects the Lindström 2003 waist bands.","enum":["female","male"],"type":"string"},"waist_cm":{"description":"Waist circumference in cm (40-200). Lindström 2003 men: <94 scores 0; 94-102 scores 3; >102 scores 4. Women: <80 scores 0; 80-88 scores 3; >88 scores 4. 94 and 102 (men) and 80 and 88 (women) score 3.","type":"number"}},"required":["age","bmi_kg_m2","sex","waist_cm","bp_medication","history_high_glucose","activity_30min","daily_vegetables"],"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":["findrisc","diabetes-risk","glucose","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T04:02:25.538Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T04:02:25.204Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"activity_30min":true,"age":40,"bmi_kg_m2":22,"bp_medication":false,"daily_vegetables":true,"history_high_glucose":false,"sex":"male","waist_cm":80},{"activity_30min":true,"age":40,"bmi_kg_m2":22,"bp_medication":false,"daily_vegetables":true,"history_high_glucose":false,"sex":"male","waist_cm":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"at_risk":false,"bmi_kg_m2":22,"citation":{"authors":"Lindström J, Tuomilehto J","doi":"10.2337/diacare.26.3.725","id":"lindstrom-2003","pmid":"12610029","source":"Diabetes Care. 2003;26(3):725-731","title":"The diabetes risk score: a practical tool to predict type 2 diabetes risk"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"bmi","points":0,"present":false,"value":22},{"factor":"waist","points":0,"present":false,"value":80},{"factor":"bp_medication","points":0,"present":false},{"factor":"history_high_glucose","points":0,"present":false},{"factor":"inactivity","points":0,"present":false},{"factor":"no_daily_vegetables","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":"findrisc","formula_expression":"FINDRISC = age + bmi + waist + bp_medication + history_high_glucose + inactivity + no_daily_vegetables; age <45 -> 0, 45-54 -> 2, 55-64 -> 3, >=65 -> 4; BMI <25 -> 0, 25-30 -> 1, >30 -> 3; waist men <94 -> 0, 94-102 -> 3, >102 -> 4; women <80 -> 0, 80-88 -> 3, >88 -> 4; bp_medication 2; history_high_glucose 5; activity_30min false -> 2; daily_vegetables false -> 1; max 20; at_risk iff score>=9","max_score":20,"score":0,"sex":"male","waist_cm":80},{"age_years":40,"at_risk":false,"bmi_kg_m2":22,"citation":{"authors":"Lindström J, Tuomilehto J","doi":"10.2337/diacare.26.3.725","id":"lindstrom-2003","pmid":"12610029","source":"Diabetes Care. 2003;26(3):725-731","title":"The diabetes risk score: a practical tool to predict type 2 diabetes risk"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"bmi","points":0,"present":false,"value":22},{"factor":"waist","points":0,"present":false,"value":80},{"factor":"bp_medication","points":0,"present":false},{"factor":"history_high_glucose","points":0,"present":false},{"factor":"inactivity","points":0,"present":false},{"factor":"no_daily_vegetables","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":"findrisc","formula_expression":"FINDRISC = age + bmi + waist + bp_medication + history_high_glucose + inactivity + no_daily_vegetables; age <45 -> 0, 45-54 -> 2, 55-64 -> 3, >=65 -> 4; BMI <25 -> 0, 25-30 -> 1, >30 -> 3; waist men <94 -> 0, 94-102 -> 3, >102 -> 4; women <80 -> 0, 80-88 -> 3, >88 -> 4; bp_medication 2; history_high_glucose 5; activity_30min false -> 2; daily_vegetables false -> 1; max 20; at_risk iff score>=9","max_score":20,"score":0,"sex":"male","waist_cm":80}],"path":"/api/calc/findrisc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity_30min":{"description":"Usually at least 30 minutes of physical activity daily at work and/or leisure, including normal daily activity (Lindström 2003). true scores 0; false scores 2.","type":"boolean"},"age":{"description":"Age in years (18-120). Lindström 2003: <45 scores 0; 45-54 scores 2; 55-64 scores 3; ≥65 scores 4. Age 45 and 54 score 2; 55 and 64 score 3; 65 scores 4.","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Lindström 2003: <25 scores 0; 25-30 scores 1; >30 scores 3. 25.0 and 30.0 score 1; 30.1 scores 3.","type":"number"},"bp_medication":{"description":"History of antihypertensive drug treatment (Lindström 2003). true scores 2; false scores 0.","type":"boolean"},"daily_vegetables":{"description":"Daily consumption of vegetables, fruit, or berries (Lindström 2003). true scores 0; false scores 1.","type":"boolean"},"history_high_glucose":{"description":"History of high blood glucose (health examination, illness, or pregnancy) (Lindström 2003). Caller-assigned; magent does not assay glucose. true scores 5; false scores 0.","type":"boolean"},"sex":{"description":"female or male. Selects the Lindström 2003 waist bands.","enum":["female","male"],"type":"string"},"waist_cm":{"description":"Waist circumference in cm (40-200). Lindström 2003 men: <94 scores 0; 94-102 scores 3; >102 scores 4. Women: <80 scores 0; 80-88 scores 3; >88 scores 4. 94 and 102 (men) and 80 and 88 (women) score 3.","type":"number"}},"required":["age","bmi_kg_m2","sex","waist_cm","bp_medication","history_high_glucose","activity_30min","daily_vegetables"],"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},{"id":39176,"slug":"39176","resource":"https://api.magentlab.com/api/calc/fib4","description":"Cited Sterling 2006 FIB-4 fibrosis index. Agents must not invent FIB-4 from model memory; pay per request with x402 USDC on Base. Deterministic published index with citation. Not a treatment recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"alt_u_l":40,"ast_u_l":100,"platelets_10e9_l":200},{"age":50,"alt_u_l":40,"ast_u_l":100,"platelets_10e9_l":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"alt_u_l":40,"ast_u_l":100,"citation":{"authors":"Sterling RK, Lissen E, Clumeck N, et al.","doi":"10.1002/hep.21172","id":"sterling-2006","source":"Hepatology. 2006;43(6):1317-1325","title":"Development of a simple noninvasive index to predict significant fibrosis in patients with HIV/HCV coinfection"},"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.","fib4":3.95,"formula":"fib4","formula_expression":"FIB-4 = (age_years * AST_U_L) / (platelets_10e9_L * sqrt(ALT_U_L))","platelets_10e9_l":200,"sterling_band":"high"},{"age_years":50,"alt_u_l":40,"ast_u_l":100,"citation":{"authors":"Sterling RK, Lissen E, Clumeck N, et al.","doi":"10.1002/hep.21172","id":"sterling-2006","source":"Hepatology. 2006;43(6):1317-1325","title":"Development of a simple noninvasive index to predict significant fibrosis in patients with HIV/HCV coinfection"},"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.","fib4":3.95,"formula":"fib4","formula_expression":"FIB-4 = (age_years * AST_U_L) / (platelets_10e9_L * sqrt(ALT_U_L))","platelets_10e9_l":200,"sterling_band":"high"}],"path":"/api/calc/fib4"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000).","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000).","type":"number"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000).","type":"number"}},"required":["age","ast_u_l","alt_u_l","platelets_10e9_l"],"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":["fib-4","nash","liver","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:56:22.528Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:56:22.413Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"alt_u_l":40,"ast_u_l":100,"platelets_10e9_l":200},{"age":50,"alt_u_l":40,"ast_u_l":100,"platelets_10e9_l":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"alt_u_l":40,"ast_u_l":100,"citation":{"authors":"Sterling RK, Lissen E, Clumeck N, et al.","doi":"10.1002/hep.21172","id":"sterling-2006","source":"Hepatology. 2006;43(6):1317-1325","title":"Development of a simple noninvasive index to predict significant fibrosis in patients with HIV/HCV coinfection"},"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.","fib4":3.95,"formula":"fib4","formula_expression":"FIB-4 = (age_years * AST_U_L) / (platelets_10e9_L * sqrt(ALT_U_L))","platelets_10e9_l":200,"sterling_band":"high"},{"age_years":50,"alt_u_l":40,"ast_u_l":100,"citation":{"authors":"Sterling RK, Lissen E, Clumeck N, et al.","doi":"10.1002/hep.21172","id":"sterling-2006","source":"Hepatology. 2006;43(6):1317-1325","title":"Development of a simple noninvasive index to predict significant fibrosis in patients with HIV/HCV coinfection"},"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.","fib4":3.95,"formula":"fib4","formula_expression":"FIB-4 = (age_years * AST_U_L) / (platelets_10e9_L * sqrt(ALT_U_L))","platelets_10e9_l":200,"sterling_band":"high"}],"path":"/api/calc/fib4"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000).","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000).","type":"number"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000).","type":"number"}},"required":["age","ast_u_l","alt_u_l","platelets_10e9_l"],"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},{"id":39177,"slug":"39177","resource":"https://api.magentlab.com/api/calc/ffm","description":"Boer 1984 estimated lean body mass from sex, height_cm, and weight_kg (male 0.407W+0.267H-19.2; female 0.252W+0.473H-48.3). Reports lbm_kg (paper term) with ffm_kg as the same alias. Height 100-220 cm and weight 20-300 kg are magent clamps, not Boer bands. Not a dosing weight, James/Hume formula, or measured body composition. magent does not measure the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"height_cm":163,"sex":"female","weight_kg":60},{"height_cm":163,"sex":"female","weight_kg":60}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Boer P","doi":"10.1152/ajprenal.1984.247.4.F632","id":"boer-1984","pmid":"6496691","source":"Am J Physiol. 1984;247(4 Pt 2):F632-F636","title":"Estimated lean body mass as an index for normalization of body fluid volumes in humans"},"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.","ffm_kg":43.9,"formula":"boer_lbm","formula_expression":"male: LBM_kg = 0.407 × weight_kg + 0.267 × height_cm − 19.2; female: LBM_kg = 0.252 × weight_kg + 0.473 × height_cm − 48.3","height_cm":163,"lbm_kg":43.9,"sex":"female","weight_kg":60},{"citation":{"authors":"Boer P","doi":"10.1152/ajprenal.1984.247.4.F632","id":"boer-1984","pmid":"6496691","source":"Am J Physiol. 1984;247(4 Pt 2):F632-F636","title":"Estimated lean body mass as an index for normalization of body fluid volumes in humans"},"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.","ffm_kg":43.9,"formula":"boer_lbm","formula_expression":"male: LBM_kg = 0.407 × weight_kg + 0.267 × height_cm − 19.2; female: LBM_kg = 0.252 × weight_kg + 0.473 × height_cm − 48.3","height_cm":163,"lbm_kg":43.9,"sex":"female","weight_kg":60}],"path":"/api/calc/ffm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters (100-220, magent clamp; Boer 1984 does not publish an input band).","type":"number"},"sex":{"description":"Sex used by Boer 1984 (separate male and female estimated lean-body-mass equations).","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Weight in kilograms (20-300, magent clamp; Boer 1984 does not publish an input band).","type":"number"}},"required":["sex","weight_kg","height_cm"],"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":["ffm","lbm","boer","body-size","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:56:21.394Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:56:21.256Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"height_cm":163,"sex":"female","weight_kg":60},{"height_cm":163,"sex":"female","weight_kg":60}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Boer P","doi":"10.1152/ajprenal.1984.247.4.F632","id":"boer-1984","pmid":"6496691","source":"Am J Physiol. 1984;247(4 Pt 2):F632-F636","title":"Estimated lean body mass as an index for normalization of body fluid volumes in humans"},"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.","ffm_kg":43.9,"formula":"boer_lbm","formula_expression":"male: LBM_kg = 0.407 × weight_kg + 0.267 × height_cm − 19.2; female: LBM_kg = 0.252 × weight_kg + 0.473 × height_cm − 48.3","height_cm":163,"lbm_kg":43.9,"sex":"female","weight_kg":60},{"citation":{"authors":"Boer P","doi":"10.1152/ajprenal.1984.247.4.F632","id":"boer-1984","pmid":"6496691","source":"Am J Physiol. 1984;247(4 Pt 2):F632-F636","title":"Estimated lean body mass as an index for normalization of body fluid volumes in humans"},"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.","ffm_kg":43.9,"formula":"boer_lbm","formula_expression":"male: LBM_kg = 0.407 × weight_kg + 0.267 × height_cm − 19.2; female: LBM_kg = 0.252 × weight_kg + 0.473 × height_cm − 48.3","height_cm":163,"lbm_kg":43.9,"sex":"female","weight_kg":60}],"path":"/api/calc/ffm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters (100-220, magent clamp; Boer 1984 does not publish an input band).","type":"number"},"sex":{"description":"Sex used by Boer 1984 (separate male and female estimated lean-body-mass equations).","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Weight in kilograms (20-300, magent clamp; Boer 1984 does not publish an input band).","type":"number"}},"required":["sex","weight_kg","height_cm"],"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},{"id":39178,"slug":"39178","resource":"https://api.magentlab.com/api/calc/feverpain","description":"FeverPAIN from Little 2013 (PRISM): five caller-assigned flags (fever in past 24 hours, purulent tonsils, attendance within 3 days, severely inflamed tonsils, no cough or coryza), 1 point each, max 5. Returns published score groups 0-1 / 2-3 / 4-5. Deterministic published score with citation; not a medical device, not a test-or-treat order, and not a diagnosis of streptococcal pharyngitis. magent does not examine the throat.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"attends_within_3_days":false,"fever_in_past_24h":false,"no_cough_or_coryza":false,"purulent_tonsils":false,"severely_inflamed_tonsils":false},{"attends_within_3_days":false,"fever_in_past_24h":false,"no_cough_or_coryza":false,"purulent_tonsils":false,"severely_inflamed_tonsils":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"0-1","citation":{"authors":"Little P, Hobbs FDR, Moore M, et al.","doi":"10.1136/bmj.f5806","id":"little-2013","pmid":"24114306","source":"BMJ. 2013;347:f5806","title":"Clinical score and rapid antigen detection test to guide antibiotic use for sore throats: randomised controlled trial of PRISM (primary care streptococcal management)"},"components":[{"factor":"fever_in_past_24h","points":0,"present":false},{"factor":"purulent_tonsils","points":0,"present":false},{"factor":"attends_within_3_days","points":0,"present":false},{"factor":"severely_inflamed_tonsils","points":0,"present":false},{"factor":"no_cough_or_coryza","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":"feverpain","formula_expression":"FeverPAIN = fever_in_past_24h + purulent_tonsils + attends_within_3_days + severely_inflamed_tonsils + no_cough_or_coryza; each 1 if true; max 5","max_score":5,"score":0},{"band":"0-1","citation":{"authors":"Little P, Hobbs FDR, Moore M, et al.","doi":"10.1136/bmj.f5806","id":"little-2013","pmid":"24114306","source":"BMJ. 2013;347:f5806","title":"Clinical score and rapid antigen detection test to guide antibiotic use for sore throats: randomised controlled trial of PRISM (primary care streptococcal management)"},"components":[{"factor":"fever_in_past_24h","points":0,"present":false},{"factor":"purulent_tonsils","points":0,"present":false},{"factor":"attends_within_3_days","points":0,"present":false},{"factor":"severely_inflamed_tonsils","points":0,"present":false},{"factor":"no_cough_or_coryza","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":"feverpain","formula_expression":"FeverPAIN = fever_in_past_24h + purulent_tonsils + attends_within_3_days + severely_inflamed_tonsils + no_cough_or_coryza; each 1 if true; max 5","max_score":5,"score":0}],"path":"/api/calc/feverpain"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"attends_within_3_days":{"description":"Attendance within 3 days of onset (Little 2013). true or false as assigned by the caller.","type":"boolean"},"fever_in_past_24h":{"description":"Fever in the past 24 hours (Little 2013). true or false as assigned by the caller.","type":"boolean"},"no_cough_or_coryza":{"description":"Absence of cough or coryza (Little 2013). true when the published finding is present; false otherwise. Assigned by the caller.","type":"boolean"},"purulent_tonsils":{"description":"Purulent tonsils (Little 2013). true or false as assigned by the caller.","type":"boolean"},"severely_inflamed_tonsils":{"description":"Severely inflamed tonsils (Little 2013). true or false as assigned by the caller.","type":"boolean"}},"required":["fever_in_past_24h","purulent_tonsils","attends_within_3_days","severely_inflamed_tonsils","no_cough_or_coryza"],"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":["feverpain","pharyngitis","infection","sore-throat","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:56:19.083Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:56:18.953Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"attends_within_3_days":false,"fever_in_past_24h":false,"no_cough_or_coryza":false,"purulent_tonsils":false,"severely_inflamed_tonsils":false},{"attends_within_3_days":false,"fever_in_past_24h":false,"no_cough_or_coryza":false,"purulent_tonsils":false,"severely_inflamed_tonsils":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"0-1","citation":{"authors":"Little P, Hobbs FDR, Moore M, et al.","doi":"10.1136/bmj.f5806","id":"little-2013","pmid":"24114306","source":"BMJ. 2013;347:f5806","title":"Clinical score and rapid antigen detection test to guide antibiotic use for sore throats: randomised controlled trial of PRISM (primary care streptococcal management)"},"components":[{"factor":"fever_in_past_24h","points":0,"present":false},{"factor":"purulent_tonsils","points":0,"present":false},{"factor":"attends_within_3_days","points":0,"present":false},{"factor":"severely_inflamed_tonsils","points":0,"present":false},{"factor":"no_cough_or_coryza","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":"feverpain","formula_expression":"FeverPAIN = fever_in_past_24h + purulent_tonsils + attends_within_3_days + severely_inflamed_tonsils + no_cough_or_coryza; each 1 if true; max 5","max_score":5,"score":0},{"band":"0-1","citation":{"authors":"Little P, Hobbs FDR, Moore M, et al.","doi":"10.1136/bmj.f5806","id":"little-2013","pmid":"24114306","source":"BMJ. 2013;347:f5806","title":"Clinical score and rapid antigen detection test to guide antibiotic use for sore throats: randomised controlled trial of PRISM (primary care streptococcal management)"},"components":[{"factor":"fever_in_past_24h","points":0,"present":false},{"factor":"purulent_tonsils","points":0,"present":false},{"factor":"attends_within_3_days","points":0,"present":false},{"factor":"severely_inflamed_tonsils","points":0,"present":false},{"factor":"no_cough_or_coryza","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":"feverpain","formula_expression":"FeverPAIN = fever_in_past_24h + purulent_tonsils + attends_within_3_days + severely_inflamed_tonsils + no_cough_or_coryza; each 1 if true; max 5","max_score":5,"score":0}],"path":"/api/calc/feverpain"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"attends_within_3_days":{"description":"Attendance within 3 days of onset (Little 2013). true or false as assigned by the caller.","type":"boolean"},"fever_in_past_24h":{"description":"Fever in the past 24 hours (Little 2013). true or false as assigned by the caller.","type":"boolean"},"no_cough_or_coryza":{"description":"Absence of cough or coryza (Little 2013). true when the published finding is present; false otherwise. Assigned by the caller.","type":"boolean"},"purulent_tonsils":{"description":"Purulent tonsils (Little 2013). true or false as assigned by the caller.","type":"boolean"},"severely_inflamed_tonsils":{"description":"Severely inflamed tonsils (Little 2013). true or false as assigned by the caller.","type":"boolean"}},"required":["fever_in_past_24h","purulent_tonsils","attends_within_3_days","severely_inflamed_tonsils","no_cough_or_coryza"],"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},{"id":39179,"slug":"39179","resource":"https://api.magentlab.com/api/calc/feurea","description":"Fractional excretion of urea (FEUN) from BUN, urine urea nitrogen, and plasma/urine creatinine (Carvounis 2002). Use when diuretics make FENa unhelpful. Deterministic published formula with citation; not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bun_mg_dl":20,"creatinine_mg_dl":2,"creatinine_umol_l":176.84,"urine_creatinine_mg_dl":100,"urine_creatinine_umol_l":8842,"urine_urea_mg_dl":200},{"bun_mg_dl":20,"creatinine_mg_dl":2,"creatinine_umol_l":176.84,"urine_creatinine_mg_dl":100,"urine_creatinine_umol_l":8842,"urine_urea_mg_dl":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bun_mg_dl":20,"carvounis_band":"low","citation":{"authors":"Carvounis CP, Nisar S, Guro-Razuman S","doi":"10.1046/j.1523-1755.2002.00683.x","id":"carvounis-2002","source":"Kidney Int. 2002;62(6):2223-2229","title":"Significance of the fractional excretion of urea in the differential diagnosis of acute renal failure"},"creatinine_mg_dl":2,"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.","feurea_percent":20,"formula":"carvounis","formula_expression":"FEUrea_percent = 100 * (urine_urea_mg_dl * plasma_creatinine_mg_dl) / (bun_mg_dl * urine_creatinine_mg_dl)","units":"%","urine_creatinine_mg_dl":100,"urine_urea_mg_dl":200},{"bun_mg_dl":20,"carvounis_band":"low","citation":{"authors":"Carvounis CP, Nisar S, Guro-Razuman S","doi":"10.1046/j.1523-1755.2002.00683.x","id":"carvounis-2002","source":"Kidney Int. 2002;62(6):2223-2229","title":"Significance of the fractional excretion of urea in the differential diagnosis of acute renal failure"},"creatinine_mg_dl":2,"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.","feurea_percent":20,"formula":"carvounis","formula_expression":"FEUrea_percent = 100 * (urine_urea_mg_dl * plasma_creatinine_mg_dl) / (bun_mg_dl * urine_creatinine_mg_dl)","units":"%","urine_creatinine_mg_dl":100,"urine_urea_mg_dl":200}],"path":"/api/calc/feurea"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-200). Same units as urine urea nitrogen.","type":"number"},"creatinine_mg_dl":{"description":"Plasma creatinine in mg/dL. Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Plasma creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.","type":"number"},"urine_creatinine_mg_dl":{"description":"Urine creatinine in mg/dL (1-500). Provide this or urine_creatinine_umol_l.","type":"number"},"urine_creatinine_umol_l":{"description":"Urine creatinine in µmol/L (88-44210). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"urine_urea_mg_dl":{"description":"Urine urea nitrogen in mg/dL (1-2000). Same units as BUN.","type":"number"}},"required":["bun_mg_dl","urine_urea_mg_dl"],"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":["feurea","feun","kidney","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:52:10.946Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:52:10.799Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bun_mg_dl":20,"creatinine_mg_dl":2,"creatinine_umol_l":176.84,"urine_creatinine_mg_dl":100,"urine_creatinine_umol_l":8842,"urine_urea_mg_dl":200},{"bun_mg_dl":20,"creatinine_mg_dl":2,"creatinine_umol_l":176.84,"urine_creatinine_mg_dl":100,"urine_creatinine_umol_l":8842,"urine_urea_mg_dl":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bun_mg_dl":20,"carvounis_band":"low","citation":{"authors":"Carvounis CP, Nisar S, Guro-Razuman S","doi":"10.1046/j.1523-1755.2002.00683.x","id":"carvounis-2002","source":"Kidney Int. 2002;62(6):2223-2229","title":"Significance of the fractional excretion of urea in the differential diagnosis of acute renal failure"},"creatinine_mg_dl":2,"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.","feurea_percent":20,"formula":"carvounis","formula_expression":"FEUrea_percent = 100 * (urine_urea_mg_dl * plasma_creatinine_mg_dl) / (bun_mg_dl * urine_creatinine_mg_dl)","units":"%","urine_creatinine_mg_dl":100,"urine_urea_mg_dl":200},{"bun_mg_dl":20,"carvounis_band":"low","citation":{"authors":"Carvounis CP, Nisar S, Guro-Razuman S","doi":"10.1046/j.1523-1755.2002.00683.x","id":"carvounis-2002","source":"Kidney Int. 2002;62(6):2223-2229","title":"Significance of the fractional excretion of urea in the differential diagnosis of acute renal failure"},"creatinine_mg_dl":2,"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.","feurea_percent":20,"formula":"carvounis","formula_expression":"FEUrea_percent = 100 * (urine_urea_mg_dl * plasma_creatinine_mg_dl) / (bun_mg_dl * urine_creatinine_mg_dl)","units":"%","urine_creatinine_mg_dl":100,"urine_urea_mg_dl":200}],"path":"/api/calc/feurea"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-200). Same units as urine urea nitrogen.","type":"number"},"creatinine_mg_dl":{"description":"Plasma creatinine in mg/dL. Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Plasma creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.","type":"number"},"urine_creatinine_mg_dl":{"description":"Urine creatinine in mg/dL (1-500). Provide this or urine_creatinine_umol_l.","type":"number"},"urine_creatinine_umol_l":{"description":"Urine creatinine in µmol/L (88-44210). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"urine_urea_mg_dl":{"description":"Urine urea nitrogen in mg/dL (1-2000). Same units as BUN.","type":"number"}},"required":["bun_mg_dl","urine_urea_mg_dl"],"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},{"id":39180,"slug":"39180","resource":"https://api.magentlab.com/api/calc/fast_ed","description":"Lima 2016 FAST-ED (Field Assessment Stroke Triage for Emergency Destination): facial_palsy 0-1 + arm_weakness 0-2 + speech 0-2 + eye_deviation 0-2 + neglect 0-2. Max 9. lvo_suggested iff score ≥4. Bands 0_to_1 / 2_to_3 / gte_4. Time is documented for decision making (0 points, not scored). Not a stroke diagnosis or transfer order. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"arm_weakness":0,"eye_deviation":0,"facial_palsy":0,"neglect":0,"speech":0},{"arm_weakness":0,"eye_deviation":0,"facial_palsy":0,"neglect":0,"speech":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arm_weakness":0,"citation":{"authors":"Lima FO, Silva GS, Furie KL, et al.","doi":"10.1161/STROKEAHA.116.013301","id":"lima-2016","pmid":"27364531","source":"Stroke. 2016;47(8):1997-2002","title":"Field Assessment Stroke Triage for Emergency Destination: A Simple and Accurate Prehospital Scale to Detect Large Vessel Occlusion Strokes"},"components":[{"factor":"facial_palsy","points":0,"present":false,"value":0},{"factor":"arm_weakness","points":0,"present":false,"value":0},{"factor":"speech","points":0,"present":false,"value":0},{"factor":"eye_deviation","points":0,"present":false,"value":0},{"factor":"neglect","points":0,"present":false,"value":0}],"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.","eye_deviation":0,"facial_palsy":0,"fast_ed_band":"0_to_1","formula":"fast_ed","formula_expression":"FAST-ED = facial_palsy (0 normal or minor, 1 partial or complete) + arm_weakness (0 no drift, 1 drift or some effort against gravity, 2 no effort against gravity or no movement) + speech (0 absent, 1 mild to moderate, 2 severe, global aphasia, or mute) + eye_deviation (0 absent, 1 partial, 2 forced) + neglect (0 absent, 1 extinction to bilateral stimulation in only one sensory modality, 2 does not recognize own hand or orients only to one side); Lima 2016 Table 1; Time documented for decision making (0 points, not scored); max 9; lvo_suggested if score ≥ 4; fast_ed_band 0_to_1 (score 0–1, <15% LVO), 2_to_3 (score 2–3, ~30%), gte_4 (score ≥4, ~60%+)","lvo_suggested":false,"max_score":9,"neglect":0,"score":0,"speech":0},{"arm_weakness":0,"citation":{"authors":"Lima FO, Silva GS, Furie KL, et al.","doi":"10.1161/STROKEAHA.116.013301","id":"lima-2016","pmid":"27364531","source":"Stroke. 2016;47(8):1997-2002","title":"Field Assessment Stroke Triage for Emergency Destination: A Simple and Accurate Prehospital Scale to Detect Large Vessel Occlusion Strokes"},"components":[{"factor":"facial_palsy","points":0,"present":false,"value":0},{"factor":"arm_weakness","points":0,"present":false,"value":0},{"factor":"speech","points":0,"present":false,"value":0},{"factor":"eye_deviation","points":0,"present":false,"value":0},{"factor":"neglect","points":0,"present":false,"value":0}],"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.","eye_deviation":0,"facial_palsy":0,"fast_ed_band":"0_to_1","formula":"fast_ed","formula_expression":"FAST-ED = facial_palsy (0 normal or minor, 1 partial or complete) + arm_weakness (0 no drift, 1 drift or some effort against gravity, 2 no effort against gravity or no movement) + speech (0 absent, 1 mild to moderate, 2 severe, global aphasia, or mute) + eye_deviation (0 absent, 1 partial, 2 forced) + neglect (0 absent, 1 extinction to bilateral stimulation in only one sensory modality, 2 does not recognize own hand or orients only to one side); Lima 2016 Table 1; Time documented for decision making (0 points, not scored); max 9; lvo_suggested if score ≥ 4; fast_ed_band 0_to_1 (score 0–1, <15% LVO), 2_to_3 (score 2–3, ~30%), gte_4 (score ≥4, ~60%+)","lvo_suggested":false,"max_score":9,"neglect":0,"score":0,"speech":0}],"path":"/api/calc/fast_ed"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arm_weakness":{"description":"Caller-assigned Lima 2016 FAST-ED arm weakness (integer 0-2): 0 no drift, 1 drift or some effort against gravity, 2 no effort against gravity or no movement. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"eye_deviation":{"description":"Caller-assigned Lima 2016 FAST-ED eye deviation (integer 0-2): 0 absent, 1 partial, 2 forced. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"facial_palsy":{"description":"Caller-assigned Lima 2016 FAST-ED facial palsy (integer 0-1): 0 normal or minor, 1 partial or complete. magent does not examine the patient.","enum":[0,1],"type":"integer"},"neglect":{"description":"Caller-assigned Lima 2016 FAST-ED denial/neglect (integer 0-2): 0 absent, 1 extinction to bilateral stimulation in only one sensory modality, 2 does not recognize own hand or orients only to one side. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"speech":{"description":"Caller-assigned Lima 2016 FAST-ED speech changes (integer 0-2): 0 absent, 1 mild to moderate, 2 severe, global aphasia, or mute. magent does not examine the patient.","enum":[0,1,2],"type":"integer"}},"required":["facial_palsy","arm_weakness","speech","eye_deviation","neglect"],"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":["fast-ed","stroke","lvo","prehospital","neurology","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:52:06.789Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:52:06.644Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"arm_weakness":0,"eye_deviation":0,"facial_palsy":0,"neglect":0,"speech":0},{"arm_weakness":0,"eye_deviation":0,"facial_palsy":0,"neglect":0,"speech":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arm_weakness":0,"citation":{"authors":"Lima FO, Silva GS, Furie KL, et al.","doi":"10.1161/STROKEAHA.116.013301","id":"lima-2016","pmid":"27364531","source":"Stroke. 2016;47(8):1997-2002","title":"Field Assessment Stroke Triage for Emergency Destination: A Simple and Accurate Prehospital Scale to Detect Large Vessel Occlusion Strokes"},"components":[{"factor":"facial_palsy","points":0,"present":false,"value":0},{"factor":"arm_weakness","points":0,"present":false,"value":0},{"factor":"speech","points":0,"present":false,"value":0},{"factor":"eye_deviation","points":0,"present":false,"value":0},{"factor":"neglect","points":0,"present":false,"value":0}],"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.","eye_deviation":0,"facial_palsy":0,"fast_ed_band":"0_to_1","formula":"fast_ed","formula_expression":"FAST-ED = facial_palsy (0 normal or minor, 1 partial or complete) + arm_weakness (0 no drift, 1 drift or some effort against gravity, 2 no effort against gravity or no movement) + speech (0 absent, 1 mild to moderate, 2 severe, global aphasia, or mute) + eye_deviation (0 absent, 1 partial, 2 forced) + neglect (0 absent, 1 extinction to bilateral stimulation in only one sensory modality, 2 does not recognize own hand or orients only to one side); Lima 2016 Table 1; Time documented for decision making (0 points, not scored); max 9; lvo_suggested if score ≥ 4; fast_ed_band 0_to_1 (score 0–1, <15% LVO), 2_to_3 (score 2–3, ~30%), gte_4 (score ≥4, ~60%+)","lvo_suggested":false,"max_score":9,"neglect":0,"score":0,"speech":0},{"arm_weakness":0,"citation":{"authors":"Lima FO, Silva GS, Furie KL, et al.","doi":"10.1161/STROKEAHA.116.013301","id":"lima-2016","pmid":"27364531","source":"Stroke. 2016;47(8):1997-2002","title":"Field Assessment Stroke Triage for Emergency Destination: A Simple and Accurate Prehospital Scale to Detect Large Vessel Occlusion Strokes"},"components":[{"factor":"facial_palsy","points":0,"present":false,"value":0},{"factor":"arm_weakness","points":0,"present":false,"value":0},{"factor":"speech","points":0,"present":false,"value":0},{"factor":"eye_deviation","points":0,"present":false,"value":0},{"factor":"neglect","points":0,"present":false,"value":0}],"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.","eye_deviation":0,"facial_palsy":0,"fast_ed_band":"0_to_1","formula":"fast_ed","formula_expression":"FAST-ED = facial_palsy (0 normal or minor, 1 partial or complete) + arm_weakness (0 no drift, 1 drift or some effort against gravity, 2 no effort against gravity or no movement) + speech (0 absent, 1 mild to moderate, 2 severe, global aphasia, or mute) + eye_deviation (0 absent, 1 partial, 2 forced) + neglect (0 absent, 1 extinction to bilateral stimulation in only one sensory modality, 2 does not recognize own hand or orients only to one side); Lima 2016 Table 1; Time documented for decision making (0 points, not scored); max 9; lvo_suggested if score ≥ 4; fast_ed_band 0_to_1 (score 0–1, <15% LVO), 2_to_3 (score 2–3, ~30%), gte_4 (score ≥4, ~60%+)","lvo_suggested":false,"max_score":9,"neglect":0,"score":0,"speech":0}],"path":"/api/calc/fast_ed"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arm_weakness":{"description":"Caller-assigned Lima 2016 FAST-ED arm weakness (integer 0-2): 0 no drift, 1 drift or some effort against gravity, 2 no effort against gravity or no movement. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"eye_deviation":{"description":"Caller-assigned Lima 2016 FAST-ED eye deviation (integer 0-2): 0 absent, 1 partial, 2 forced. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"facial_palsy":{"description":"Caller-assigned Lima 2016 FAST-ED facial palsy (integer 0-1): 0 normal or minor, 1 partial or complete. magent does not examine the patient.","enum":[0,1],"type":"integer"},"neglect":{"description":"Caller-assigned Lima 2016 FAST-ED denial/neglect (integer 0-2): 0 absent, 1 extinction to bilateral stimulation in only one sensory modality, 2 does not recognize own hand or orients only to one side. magent does not examine the patient.","enum":[0,1,2],"type":"integer"},"speech":{"description":"Caller-assigned Lima 2016 FAST-ED speech changes (integer 0-2): 0 absent, 1 mild to moderate, 2 severe, global aphasia, or mute. magent does not examine the patient.","enum":[0,1,2],"type":"integer"}},"required":["facial_palsy","arm_weakness","speech","eye_deviation","neglect"],"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},{"id":39181,"slug":"39181","resource":"https://api.magentlab.com/api/calc/fast","description":"Scalea 1999 FAST four Ps (pericardial, perihepatic, perisplenic, pelvic). Each window is a caller-assigned boolean for free intraperitoneal fluid (perihepatic/Morison, perisplenic, pelvic) or pericardial fluid. positive is true if any window is positive and false only if all four are negative. Sequence is not required. Not eFAST pleural views. Not Huang or McKenney scoring. Not a laparotomy order. magent does not scan or interpret ultrasound. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"pelvic":false,"pericardial":false,"perihepatic":false,"perisplenic":false},{"pelvic":false,"pericardial":false,"perihepatic":false,"perisplenic":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Scalea TM, Rodriguez A, Chiu WC, Brenneman FD, Fallon WF Jr, Kato K, McKenney MG, Nerlich ML, Ochsner MG, Yoshii H","doi":"10.1097/00005373-199903000-00022","id":"scalea-1999","pmid":"10088853","source":"J Trauma. 1999;46(3):466-472","title":"Focused Assessment with Sonography for Trauma (FAST): results from an international consensus conference"},"components":[{"factor":"perihepatic","met":false},{"factor":"perisplenic","met":false},{"factor":"pelvic","met":false},{"factor":"pericardial","met":false},{"factor":"positive","met":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":"fast","formula_expression":"positive iff perihepatic or perisplenic or pelvic or pericardial (Scalea 1999 four Ps: pericardial, perihepatic, perisplenic, pelvic). Each flag is caller-assigned free intraperitoneal fluid (perihepatic/Morison, perisplenic, pelvic) or pericardial fluid. Absence of all four is negative. Sequence is not required. Not pleural/eFAST views. Not Huang or McKenney scoring. Not a laparotomy order","pelvic":false,"pericardial":false,"perihepatic":false,"perisplenic":false,"positive":false},{"citation":{"authors":"Scalea TM, Rodriguez A, Chiu WC, Brenneman FD, Fallon WF Jr, Kato K, McKenney MG, Nerlich ML, Ochsner MG, Yoshii H","doi":"10.1097/00005373-199903000-00022","id":"scalea-1999","pmid":"10088853","source":"J Trauma. 1999;46(3):466-472","title":"Focused Assessment with Sonography for Trauma (FAST): results from an international consensus conference"},"components":[{"factor":"perihepatic","met":false},{"factor":"perisplenic","met":false},{"factor":"pelvic","met":false},{"factor":"pericardial","met":false},{"factor":"positive","met":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":"fast","formula_expression":"positive iff perihepatic or perisplenic or pelvic or pericardial (Scalea 1999 four Ps: pericardial, perihepatic, perisplenic, pelvic). Each flag is caller-assigned free intraperitoneal fluid (perihepatic/Morison, perisplenic, pelvic) or pericardial fluid. Absence of all four is negative. Sequence is not required. Not pleural/eFAST views. Not Huang or McKenney scoring. Not a laparotomy order","pelvic":false,"pericardial":false,"perihepatic":false,"perisplenic":false,"positive":false}],"path":"/api/calc/fast"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"pelvic":{"description":"Pelvic window positive for free intraperitoneal fluid as assigned by the caller (Scalea 1999 four Ps). true or false. magent does not interpret ultrasound.","type":"boolean"},"pericardial":{"description":"Pericardial window positive for pericardial fluid as assigned by the caller (Scalea 1999 four Ps). true or false. magent does not interpret ultrasound.","type":"boolean"},"perihepatic":{"description":"Perihepatic (Morison / right-upper-quadrant) window positive for free intraperitoneal fluid as assigned by the caller (Scalea 1999 four Ps). true or false. magent does not interpret ultrasound.","type":"boolean"},"perisplenic":{"description":"Perisplenic (left-upper-quadrant) window positive for free intraperitoneal fluid as assigned by the caller (Scalea 1999 four Ps). true or false. magent does not interpret ultrasound.","type":"boolean"}},"required":["perihepatic","perisplenic","pelvic","pericardial"],"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":["fast","trauma","ultrasound","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:52:05.838Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:52:05.573Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"pelvic":false,"pericardial":false,"perihepatic":false,"perisplenic":false},{"pelvic":false,"pericardial":false,"perihepatic":false,"perisplenic":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Scalea TM, Rodriguez A, Chiu WC, Brenneman FD, Fallon WF Jr, Kato K, McKenney MG, Nerlich ML, Ochsner MG, Yoshii H","doi":"10.1097/00005373-199903000-00022","id":"scalea-1999","pmid":"10088853","source":"J Trauma. 1999;46(3):466-472","title":"Focused Assessment with Sonography for Trauma (FAST): results from an international consensus conference"},"components":[{"factor":"perihepatic","met":false},{"factor":"perisplenic","met":false},{"factor":"pelvic","met":false},{"factor":"pericardial","met":false},{"factor":"positive","met":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":"fast","formula_expression":"positive iff perihepatic or perisplenic or pelvic or pericardial (Scalea 1999 four Ps: pericardial, perihepatic, perisplenic, pelvic). Each flag is caller-assigned free intraperitoneal fluid (perihepatic/Morison, perisplenic, pelvic) or pericardial fluid. Absence of all four is negative. Sequence is not required. Not pleural/eFAST views. Not Huang or McKenney scoring. Not a laparotomy order","pelvic":false,"pericardial":false,"perihepatic":false,"perisplenic":false,"positive":false},{"citation":{"authors":"Scalea TM, Rodriguez A, Chiu WC, Brenneman FD, Fallon WF Jr, Kato K, McKenney MG, Nerlich ML, Ochsner MG, Yoshii H","doi":"10.1097/00005373-199903000-00022","id":"scalea-1999","pmid":"10088853","source":"J Trauma. 1999;46(3):466-472","title":"Focused Assessment with Sonography for Trauma (FAST): results from an international consensus conference"},"components":[{"factor":"perihepatic","met":false},{"factor":"perisplenic","met":false},{"factor":"pelvic","met":false},{"factor":"pericardial","met":false},{"factor":"positive","met":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":"fast","formula_expression":"positive iff perihepatic or perisplenic or pelvic or pericardial (Scalea 1999 four Ps: pericardial, perihepatic, perisplenic, pelvic). Each flag is caller-assigned free intraperitoneal fluid (perihepatic/Morison, perisplenic, pelvic) or pericardial fluid. Absence of all four is negative. Sequence is not required. Not pleural/eFAST views. Not Huang or McKenney scoring. Not a laparotomy order","pelvic":false,"pericardial":false,"perihepatic":false,"perisplenic":false,"positive":false}],"path":"/api/calc/fast"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"pelvic":{"description":"Pelvic window positive for free intraperitoneal fluid as assigned by the caller (Scalea 1999 four Ps). true or false. magent does not interpret ultrasound.","type":"boolean"},"pericardial":{"description":"Pericardial window positive for pericardial fluid as assigned by the caller (Scalea 1999 four Ps). true or false. magent does not interpret ultrasound.","type":"boolean"},"perihepatic":{"description":"Perihepatic (Morison / right-upper-quadrant) window positive for free intraperitoneal fluid as assigned by the caller (Scalea 1999 four Ps). true or false. magent does not interpret ultrasound.","type":"boolean"},"perisplenic":{"description":"Perisplenic (left-upper-quadrant) window positive for free intraperitoneal fluid as assigned by the caller (Scalea 1999 four Ps). true or false. magent does not interpret ultrasound.","type":"boolean"}},"required":["perihepatic","perisplenic","pelvic","pericardial"],"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},{"id":39182,"slug":"39182","resource":"https://api.magentlab.com/api/calc/face_drops","description":"McEntire 2025 FACE DROPS: seven caller-assigned flags for acute Lyme disease-associated facial palsy versus Bell palsy. Fever +8, aches (arthralgia/myalgia) +6, cephalalgia +3, exhaustion +4, dermatomal or radicular pattern +4, otalgia or postauricular pain −1, stiff neck +3. Score −1 to 28. Scores ≤4 favor Bell palsy; ≥7 favor LDFP; 5–6 indeterminate. Not a Lyme test, diagnosis, serology order, or stroke FACE-DROPS mimic score. magent does not examine the face.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"aches":false,"cephalalgia":false,"dermatomal_or_radicular":false,"exhaustion":false,"fever":false,"otalgia_or_postauricular_pain":false,"stiff_neck":false},{"aches":false,"cephalalgia":false,"dermatomal_or_radicular":false,"exhaustion":false,"fever":false,"otalgia_or_postauricular_pain":false,"stiff_neck":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"McEntire CRS, Chung SY, Chang B, Barrera KJ, Zhao Y, Joseph JW, Wormser GP, Jowett N, Chwalisz BK","doi":"10.1212/CPJ.0000000000200476","id":"mcentire-2025","pmid":"40290705","source":"Neurol Clin Pract. 2025;15(3):e200476","title":"FACE DROPS: A Clinical Risk Assessment Tool for Differentiation of Acute Lyme Disease-Associated Facial Palsy From Bell Palsy"},"classification":"favors_bell_palsy","components":[{"factor":"fever","points":0,"present":false},{"factor":"aches","points":0,"present":false},{"factor":"cephalalgia","points":0,"present":false},{"factor":"exhaustion","points":0,"present":false},{"factor":"dermatomal_or_radicular","points":0,"present":false},{"factor":"otalgia_or_postauricular_pain","points":0,"present":false},{"factor":"stiff_neck","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":"face_drops","formula_expression":"FACE DROPS = 8*fever + 6*aches + 3*cephalalgia + 4*exhaustion + 4*dermatomal_or_radicular - 1*otalgia_or_postauricular_pain + 3*stiff_neck; range -1 to 28; favors_bell_palsy iff score <= 4; indeterminate iff 5-6; favors_ldfp iff score >= 7 (McEntire 2025)","max_score":28,"score":0},{"citation":{"authors":"McEntire CRS, Chung SY, Chang B, Barrera KJ, Zhao Y, Joseph JW, Wormser GP, Jowett N, Chwalisz BK","doi":"10.1212/CPJ.0000000000200476","id":"mcentire-2025","pmid":"40290705","source":"Neurol Clin Pract. 2025;15(3):e200476","title":"FACE DROPS: A Clinical Risk Assessment Tool for Differentiation of Acute Lyme Disease-Associated Facial Palsy From Bell Palsy"},"classification":"favors_bell_palsy","components":[{"factor":"fever","points":0,"present":false},{"factor":"aches","points":0,"present":false},{"factor":"cephalalgia","points":0,"present":false},{"factor":"exhaustion","points":0,"present":false},{"factor":"dermatomal_or_radicular","points":0,"present":false},{"factor":"otalgia_or_postauricular_pain","points":0,"present":false},{"factor":"stiff_neck","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":"face_drops","formula_expression":"FACE DROPS = 8*fever + 6*aches + 3*cephalalgia + 4*exhaustion + 4*dermatomal_or_radicular - 1*otalgia_or_postauricular_pain + 3*stiff_neck; range -1 to 28; favors_bell_palsy iff score <= 4; indeterminate iff 5-6; favors_ldfp iff score >= 7 (McEntire 2025)","max_score":28,"score":0}],"path":"/api/calc/face_drops"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"aches":{"description":"Arthralgia or myalgia (McEntire 2025, +6 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"cephalalgia":{"description":"Headache / cephalalgia (McEntire 2025, +3 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"dermatomal_or_radicular":{"description":"Dermatomal or radicular pattern (transverse myelitis or radiculitis) (McEntire 2025, +4 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"exhaustion":{"description":"Unusual fatigue / exhaustion (McEntire 2025, +4 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fever":{"description":"Fever (McEntire 2025, +8 if true). true or false as assigned by the caller. magent does not examine the patient or measure temperature.","type":"boolean"},"otalgia_or_postauricular_pain":{"description":"Otalgia or postauricular pain (McEntire 2025, −1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"stiff_neck":{"description":"Stiff neck / nuchal rigidity (McEntire 2025, +3 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["fever","aches","cephalalgia","exhaustion","dermatomal_or_radicular","otalgia_or_postauricular_pain","stiff_neck"],"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":["face-drops","lyme","bell-palsy","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:36:52.718Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:36:52.587Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"aches":false,"cephalalgia":false,"dermatomal_or_radicular":false,"exhaustion":false,"fever":false,"otalgia_or_postauricular_pain":false,"stiff_neck":false},{"aches":false,"cephalalgia":false,"dermatomal_or_radicular":false,"exhaustion":false,"fever":false,"otalgia_or_postauricular_pain":false,"stiff_neck":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"McEntire CRS, Chung SY, Chang B, Barrera KJ, Zhao Y, Joseph JW, Wormser GP, Jowett N, Chwalisz BK","doi":"10.1212/CPJ.0000000000200476","id":"mcentire-2025","pmid":"40290705","source":"Neurol Clin Pract. 2025;15(3):e200476","title":"FACE DROPS: A Clinical Risk Assessment Tool for Differentiation of Acute Lyme Disease-Associated Facial Palsy From Bell Palsy"},"classification":"favors_bell_palsy","components":[{"factor":"fever","points":0,"present":false},{"factor":"aches","points":0,"present":false},{"factor":"cephalalgia","points":0,"present":false},{"factor":"exhaustion","points":0,"present":false},{"factor":"dermatomal_or_radicular","points":0,"present":false},{"factor":"otalgia_or_postauricular_pain","points":0,"present":false},{"factor":"stiff_neck","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":"face_drops","formula_expression":"FACE DROPS = 8*fever + 6*aches + 3*cephalalgia + 4*exhaustion + 4*dermatomal_or_radicular - 1*otalgia_or_postauricular_pain + 3*stiff_neck; range -1 to 28; favors_bell_palsy iff score <= 4; indeterminate iff 5-6; favors_ldfp iff score >= 7 (McEntire 2025)","max_score":28,"score":0},{"citation":{"authors":"McEntire CRS, Chung SY, Chang B, Barrera KJ, Zhao Y, Joseph JW, Wormser GP, Jowett N, Chwalisz BK","doi":"10.1212/CPJ.0000000000200476","id":"mcentire-2025","pmid":"40290705","source":"Neurol Clin Pract. 2025;15(3):e200476","title":"FACE DROPS: A Clinical Risk Assessment Tool for Differentiation of Acute Lyme Disease-Associated Facial Palsy From Bell Palsy"},"classification":"favors_bell_palsy","components":[{"factor":"fever","points":0,"present":false},{"factor":"aches","points":0,"present":false},{"factor":"cephalalgia","points":0,"present":false},{"factor":"exhaustion","points":0,"present":false},{"factor":"dermatomal_or_radicular","points":0,"present":false},{"factor":"otalgia_or_postauricular_pain","points":0,"present":false},{"factor":"stiff_neck","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":"face_drops","formula_expression":"FACE DROPS = 8*fever + 6*aches + 3*cephalalgia + 4*exhaustion + 4*dermatomal_or_radicular - 1*otalgia_or_postauricular_pain + 3*stiff_neck; range -1 to 28; favors_bell_palsy iff score <= 4; indeterminate iff 5-6; favors_ldfp iff score >= 7 (McEntire 2025)","max_score":28,"score":0}],"path":"/api/calc/face_drops"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"aches":{"description":"Arthralgia or myalgia (McEntire 2025, +6 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"cephalalgia":{"description":"Headache / cephalalgia (McEntire 2025, +3 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"dermatomal_or_radicular":{"description":"Dermatomal or radicular pattern (transverse myelitis or radiculitis) (McEntire 2025, +4 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"exhaustion":{"description":"Unusual fatigue / exhaustion (McEntire 2025, +4 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fever":{"description":"Fever (McEntire 2025, +8 if true). true or false as assigned by the caller. magent does not examine the patient or measure temperature.","type":"boolean"},"otalgia_or_postauricular_pain":{"description":"Otalgia or postauricular pain (McEntire 2025, −1 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"stiff_neck":{"description":"Stiff neck / nuchal rigidity (McEntire 2025, +3 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["fever","aches","cephalalgia","exhaustion","dermatomal_or_radicular","otalgia_or_postauricular_pain","stiff_neck"],"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},{"id":39183,"slug":"39183","resource":"https://api.magentlab.com/api/calc/euroscore_ii","description":"Nashef 2012 EuroSCORE II Table 6 logistic in-hospital mortality after adult cardiac surgery. Age Xi is 1 if age <= 60, else age - 59. Renal function is a caller-assigned creatinine-clearance band or dialysis; magent does not run Cockcroft-Gault. Returns logit and estimated_probability_percent from the unrounded logit. Not additive EuroSCORE I, not a medical device, and Nashef 2012 publishes no low/intermediate/high percent cuts.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"active_endocarditis":false,"age":60,"ccs_class_4":false,"chronic_lung_disease":false,"critical_preoperative_state":false,"extracardiac_arteriopathy":false,"insulin_dependent_diabetes":false,"lv_function":"good","nyha":1,"poor_mobility":false,"previous_cardiac_surgery":false,"pulmonary_hypertension":"none","recent_mi":false,"renal":"cc_gt_85","sex":"male","thoracic_aorta":false,"urgency":"elective","weight_of_procedure":"isolated_cabg"},{"active_endocarditis":false,"age":60,"ccs_class_4":false,"chronic_lung_disease":false,"critical_preoperative_state":false,"extracardiac_arteriopathy":false,"insulin_dependent_diabetes":false,"lv_function":"good","nyha":1,"poor_mobility":false,"previous_cardiac_surgery":false,"pulmonary_hypertension":"none","recent_mi":false,"renal":"cc_gt_85","sex":"male","thoracic_aorta":false,"urgency":"elective","weight_of_procedure":"isolated_cabg"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"active_endocarditis":false,"age_step":1,"age_years":60,"ccs_class_4":false,"chronic_lung_disease":false,"citation":{"authors":"Nashef SAM, Roques F, Sharples LD, Nilsson J, Smith C, Goldstone AR, Lockowandt U","doi":"10.1093/ejcts/ezs043","id":"nashef-2012","pmid":"22378855","source":"Eur J Cardiothorac Surg. 2012;41(4):734-745","title":"EuroSCORE II"},"critical_preoperative_state":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.","estimated_probability_percent":0.5,"extracardiac_arteriopathy":false,"formula":"euroscore_ii","formula_expression":"y = -5.324537 + 0.0285181*age_step + female + renal + extracardiac_arteriopathy + poor_mobility + previous_cardiac_surgery + chronic_lung_disease + active_endocarditis + critical_preoperative_state + insulin_dependent_diabetes + nyha + ccs_class_4 + lv_function + recent_mi + pulmonary_hypertension + urgency + weight_of_procedure + thoracic_aorta (Nashef 2012 Table 6 multivariable); age_step = 1 if age <= 60 else (age - 59); female 0.2196434; renal cc_gt_85 0, cc_51_85 0.303553, cc_le_50 0.8592256, dialysis 0.6421508; extracardiac_arteriopathy 0.5360268; poor_mobility 0.2407181; previous_cardiac_surgery 1.118599; chronic_lung_disease 0.1886564; active_endocarditis 0.6194522; critical_preoperative_state 1.086517; insulin_dependent_diabetes 0.3542749; nyha 1 0, 2 0.1070545, 3 0.2958358, 4 0.5597929; ccs_class_4 0.2226147; lv_function good 0, moderate 0.3150652, poor 0.8084096, very_poor 0.9346919; recent_mi 0.1528943; pulmonary_hypertension none 0, moderate 0.1788899, severe 0.3491475; urgency elective 0, urgent 0.3174673, emergency 0.7039121, salvage 1.362947; weight_of_procedure isolated_cabg 0, single_non_cabg 0.0062118, two 0.5521478, three_plus 0.9724533; thoracic_aorta 0.6527205; estimated_probability_percent = 100 * exp(y) / (1 + exp(y))","insulin_dependent_diabetes":false,"logit":-5.296,"lv_function":"good","nyha":1,"poor_mobility":false,"previous_cardiac_surgery":false,"pulmonary_hypertension":"none","recent_mi":false,"renal":"cc_gt_85","sex":"male","thoracic_aorta":false,"urgency":"elective","weight_of_procedure":"isolated_cabg"},{"active_endocarditis":false,"age_step":1,"age_years":60,"ccs_class_4":false,"chronic_lung_disease":false,"citation":{"authors":"Nashef SAM, Roques F, Sharples LD, Nilsson J, Smith C, Goldstone AR, Lockowandt U","doi":"10.1093/ejcts/ezs043","id":"nashef-2012","pmid":"22378855","source":"Eur J Cardiothorac Surg. 2012;41(4):734-745","title":"EuroSCORE II"},"critical_preoperative_state":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.","estimated_probability_percent":0.5,"extracardiac_arteriopathy":false,"formula":"euroscore_ii","formula_expression":"y = -5.324537 + 0.0285181*age_step + female + renal + extracardiac_arteriopathy + poor_mobility + previous_cardiac_surgery + chronic_lung_disease + active_endocarditis + critical_preoperative_state + insulin_dependent_diabetes + nyha + ccs_class_4 + lv_function + recent_mi + pulmonary_hypertension + urgency + weight_of_procedure + thoracic_aorta (Nashef 2012 Table 6 multivariable); age_step = 1 if age <= 60 else (age - 59); female 0.2196434; renal cc_gt_85 0, cc_51_85 0.303553, cc_le_50 0.8592256, dialysis 0.6421508; extracardiac_arteriopathy 0.5360268; poor_mobility 0.2407181; previous_cardiac_surgery 1.118599; chronic_lung_disease 0.1886564; active_endocarditis 0.6194522; critical_preoperative_state 1.086517; insulin_dependent_diabetes 0.3542749; nyha 1 0, 2 0.1070545, 3 0.2958358, 4 0.5597929; ccs_class_4 0.2226147; lv_function good 0, moderate 0.3150652, poor 0.8084096, very_poor 0.9346919; recent_mi 0.1528943; pulmonary_hypertension none 0, moderate 0.1788899, severe 0.3491475; urgency elective 0, urgent 0.3174673, emergency 0.7039121, salvage 1.362947; weight_of_procedure isolated_cabg 0, single_non_cabg 0.0062118, two 0.5521478, three_plus 0.9724533; thoracic_aorta 0.6527205; estimated_probability_percent = 100 * exp(y) / (1 + exp(y))","insulin_dependent_diabetes":false,"logit":-5.296,"lv_function":"good","nyha":1,"poor_mobility":false,"previous_cardiac_surgery":false,"pulmonary_hypertension":"none","recent_mi":false,"renal":"cc_gt_85","sex":"male","thoracic_aorta":false,"urgency":"elective","weight_of_procedure":"isolated_cabg"}],"path":"/api/calc/euroscore_ii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_endocarditis":{"description":"true if still on antibiotic treatment for endocarditis at the time of surgery (Nashef 2012 Table 6 AE +0.6194522). true or false.","type":"boolean"},"age":{"description":"Age in years (18-120). Nashef 2012 Table 6: Xi = 1 if age <= 60; Xi = age - 59 if older (age 61 → 2). Coefficient 0.0285181 on the encoded step, not on raw years.","type":"integer"},"ccs_class_4":{"description":"true if CCS class 4 angina (Nashef 2012 Table 6 CCS4 +0.2226147). true or false.","type":"boolean"},"chronic_lung_disease":{"description":"true if chronic pulmonary dysfunction is present (Nashef 2012 Table 6 CPD +0.1886564). true or false.","type":"boolean"},"critical_preoperative_state":{"description":"true if a Nashef 2012 critical preoperative state is present (Table 6 +1.086517). true or false. magent does not assign this from a chart.","type":"boolean"},"extracardiac_arteriopathy":{"description":"true if extracardiac arteriopathy is present (Nashef 2012 Table 6 ECA +0.5360268). true or false.","type":"boolean"},"insulin_dependent_diabetes":{"description":"true if insulin-dependent diabetes mellitus (Nashef 2012 Table 6 IDDM +0.3542749). true or false.","type":"boolean"},"lv_function":{"description":"Left-ventricular function band as assigned by the caller: good (LVEF 51% or more, reference 0), moderate (31-50%, +0.3150652), poor (21-30%, +0.8084096), or very_poor (20% or less, +0.9346919). magent does not parse an ejection-fraction number.","enum":["good","moderate","poor","very_poor"],"type":"string"},"nyha":{"description":"NYHA class 1-4 as assigned by the caller (Nashef 2012 Table 6). class 1 is the reference (0); class 2 +0.1070545; class 3 +0.2958358; class 4 +0.5597929.","type":"integer"},"poor_mobility":{"description":"true if severe impairment of mobility secondary to musculoskeletal or neurological dysfunction (Nashef 2012 Table 6 N/M mob +0.2407181). true or false.","type":"boolean"},"previous_cardiac_surgery":{"description":"true if one or more previous major cardiac operations involving opening the pericardium (Nashef 2012 Table 6 redo +1.118599). true or false.","type":"boolean"},"pulmonary_hypertension":{"description":"Nashef 2012 Table 6 PA systolic-pressure band as assigned by the caller: none (reference, 0), moderate (31-55 mmHg, +0.1788899), or severe (>=55 mmHg, +0.3491475). magent does not parse a PA pressure number.","enum":["none","moderate","severe"],"type":"string"},"recent_mi":{"description":"true if myocardial infarction within 90 days before operation (Nashef 2012 Table 6 +0.1528943). true or false.","type":"boolean"},"renal":{"description":"Nashef 2012 renal-function band as assigned by the caller: cc_gt_85 (reference, 0), cc_51_85 (+0.303553), cc_le_50 (+0.8592256), or dialysis (+0.6421508). magent does not run Cockcroft-Gault and does not parse a creatinine number.","enum":["cc_gt_85","cc_51_85","cc_le_50","dialysis"],"type":"string"},"sex":{"description":"Sex as assigned by the caller. male is the reference (0). female adds 0.2196434 (Nashef 2012 Table 6).","enum":["male","female"],"type":"string"},"thoracic_aorta":{"description":"true if surgery on the thoracic aorta (Nashef 2012 Table 6 +0.6527205). true or false.","type":"boolean"},"urgency":{"description":"Nashef 2012 urgency as assigned by the caller: elective (reference, 0), urgent (+0.3174673), emergency (+0.7039121), or salvage (+1.362947).","enum":["elective","urgent","emergency","salvage"],"type":"string"},"weight_of_procedure":{"description":"Nashef 2012 weight of the intervention as assigned by the caller: isolated_cabg (reference, 0), single_non_cabg (+0.0062118), two (+0.5521478), or three_plus (+0.9724533). magent does not classify an operative note.","enum":["isolated_cabg","single_non_cabg","two","three_plus"],"type":"string"}},"required":["age","sex","renal","nyha","lv_function","urgency","weight_of_procedure","pulmonary_hypertension","extracardiac_arteriopathy","poor_mobility","previous_cardiac_surgery","chronic_lung_disease","active_endocarditis","critical_preoperative_state","insulin_dependent_diabetes","ccs_class_4","recent_mi","thoracic_aorta"],"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":["euroscore-ii","cardiac-surgery","mortality","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:36:50.818Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:36:50.682Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"active_endocarditis":false,"age":60,"ccs_class_4":false,"chronic_lung_disease":false,"critical_preoperative_state":false,"extracardiac_arteriopathy":false,"insulin_dependent_diabetes":false,"lv_function":"good","nyha":1,"poor_mobility":false,"previous_cardiac_surgery":false,"pulmonary_hypertension":"none","recent_mi":false,"renal":"cc_gt_85","sex":"male","thoracic_aorta":false,"urgency":"elective","weight_of_procedure":"isolated_cabg"},{"active_endocarditis":false,"age":60,"ccs_class_4":false,"chronic_lung_disease":false,"critical_preoperative_state":false,"extracardiac_arteriopathy":false,"insulin_dependent_diabetes":false,"lv_function":"good","nyha":1,"poor_mobility":false,"previous_cardiac_surgery":false,"pulmonary_hypertension":"none","recent_mi":false,"renal":"cc_gt_85","sex":"male","thoracic_aorta":false,"urgency":"elective","weight_of_procedure":"isolated_cabg"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"active_endocarditis":false,"age_step":1,"age_years":60,"ccs_class_4":false,"chronic_lung_disease":false,"citation":{"authors":"Nashef SAM, Roques F, Sharples LD, Nilsson J, Smith C, Goldstone AR, Lockowandt U","doi":"10.1093/ejcts/ezs043","id":"nashef-2012","pmid":"22378855","source":"Eur J Cardiothorac Surg. 2012;41(4):734-745","title":"EuroSCORE II"},"critical_preoperative_state":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.","estimated_probability_percent":0.5,"extracardiac_arteriopathy":false,"formula":"euroscore_ii","formula_expression":"y = -5.324537 + 0.0285181*age_step + female + renal + extracardiac_arteriopathy + poor_mobility + previous_cardiac_surgery + chronic_lung_disease + active_endocarditis + critical_preoperative_state + insulin_dependent_diabetes + nyha + ccs_class_4 + lv_function + recent_mi + pulmonary_hypertension + urgency + weight_of_procedure + thoracic_aorta (Nashef 2012 Table 6 multivariable); age_step = 1 if age <= 60 else (age - 59); female 0.2196434; renal cc_gt_85 0, cc_51_85 0.303553, cc_le_50 0.8592256, dialysis 0.6421508; extracardiac_arteriopathy 0.5360268; poor_mobility 0.2407181; previous_cardiac_surgery 1.118599; chronic_lung_disease 0.1886564; active_endocarditis 0.6194522; critical_preoperative_state 1.086517; insulin_dependent_diabetes 0.3542749; nyha 1 0, 2 0.1070545, 3 0.2958358, 4 0.5597929; ccs_class_4 0.2226147; lv_function good 0, moderate 0.3150652, poor 0.8084096, very_poor 0.9346919; recent_mi 0.1528943; pulmonary_hypertension none 0, moderate 0.1788899, severe 0.3491475; urgency elective 0, urgent 0.3174673, emergency 0.7039121, salvage 1.362947; weight_of_procedure isolated_cabg 0, single_non_cabg 0.0062118, two 0.5521478, three_plus 0.9724533; thoracic_aorta 0.6527205; estimated_probability_percent = 100 * exp(y) / (1 + exp(y))","insulin_dependent_diabetes":false,"logit":-5.296,"lv_function":"good","nyha":1,"poor_mobility":false,"previous_cardiac_surgery":false,"pulmonary_hypertension":"none","recent_mi":false,"renal":"cc_gt_85","sex":"male","thoracic_aorta":false,"urgency":"elective","weight_of_procedure":"isolated_cabg"},{"active_endocarditis":false,"age_step":1,"age_years":60,"ccs_class_4":false,"chronic_lung_disease":false,"citation":{"authors":"Nashef SAM, Roques F, Sharples LD, Nilsson J, Smith C, Goldstone AR, Lockowandt U","doi":"10.1093/ejcts/ezs043","id":"nashef-2012","pmid":"22378855","source":"Eur J Cardiothorac Surg. 2012;41(4):734-745","title":"EuroSCORE II"},"critical_preoperative_state":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.","estimated_probability_percent":0.5,"extracardiac_arteriopathy":false,"formula":"euroscore_ii","formula_expression":"y = -5.324537 + 0.0285181*age_step + female + renal + extracardiac_arteriopathy + poor_mobility + previous_cardiac_surgery + chronic_lung_disease + active_endocarditis + critical_preoperative_state + insulin_dependent_diabetes + nyha + ccs_class_4 + lv_function + recent_mi + pulmonary_hypertension + urgency + weight_of_procedure + thoracic_aorta (Nashef 2012 Table 6 multivariable); age_step = 1 if age <= 60 else (age - 59); female 0.2196434; renal cc_gt_85 0, cc_51_85 0.303553, cc_le_50 0.8592256, dialysis 0.6421508; extracardiac_arteriopathy 0.5360268; poor_mobility 0.2407181; previous_cardiac_surgery 1.118599; chronic_lung_disease 0.1886564; active_endocarditis 0.6194522; critical_preoperative_state 1.086517; insulin_dependent_diabetes 0.3542749; nyha 1 0, 2 0.1070545, 3 0.2958358, 4 0.5597929; ccs_class_4 0.2226147; lv_function good 0, moderate 0.3150652, poor 0.8084096, very_poor 0.9346919; recent_mi 0.1528943; pulmonary_hypertension none 0, moderate 0.1788899, severe 0.3491475; urgency elective 0, urgent 0.3174673, emergency 0.7039121, salvage 1.362947; weight_of_procedure isolated_cabg 0, single_non_cabg 0.0062118, two 0.5521478, three_plus 0.9724533; thoracic_aorta 0.6527205; estimated_probability_percent = 100 * exp(y) / (1 + exp(y))","insulin_dependent_diabetes":false,"logit":-5.296,"lv_function":"good","nyha":1,"poor_mobility":false,"previous_cardiac_surgery":false,"pulmonary_hypertension":"none","recent_mi":false,"renal":"cc_gt_85","sex":"male","thoracic_aorta":false,"urgency":"elective","weight_of_procedure":"isolated_cabg"}],"path":"/api/calc/euroscore_ii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_endocarditis":{"description":"true if still on antibiotic treatment for endocarditis at the time of surgery (Nashef 2012 Table 6 AE +0.6194522). true or false.","type":"boolean"},"age":{"description":"Age in years (18-120). Nashef 2012 Table 6: Xi = 1 if age <= 60; Xi = age - 59 if older (age 61 → 2). Coefficient 0.0285181 on the encoded step, not on raw years.","type":"integer"},"ccs_class_4":{"description":"true if CCS class 4 angina (Nashef 2012 Table 6 CCS4 +0.2226147). true or false.","type":"boolean"},"chronic_lung_disease":{"description":"true if chronic pulmonary dysfunction is present (Nashef 2012 Table 6 CPD +0.1886564). true or false.","type":"boolean"},"critical_preoperative_state":{"description":"true if a Nashef 2012 critical preoperative state is present (Table 6 +1.086517). true or false. magent does not assign this from a chart.","type":"boolean"},"extracardiac_arteriopathy":{"description":"true if extracardiac arteriopathy is present (Nashef 2012 Table 6 ECA +0.5360268). true or false.","type":"boolean"},"insulin_dependent_diabetes":{"description":"true if insulin-dependent diabetes mellitus (Nashef 2012 Table 6 IDDM +0.3542749). true or false.","type":"boolean"},"lv_function":{"description":"Left-ventricular function band as assigned by the caller: good (LVEF 51% or more, reference 0), moderate (31-50%, +0.3150652), poor (21-30%, +0.8084096), or very_poor (20% or less, +0.9346919). magent does not parse an ejection-fraction number.","enum":["good","moderate","poor","very_poor"],"type":"string"},"nyha":{"description":"NYHA class 1-4 as assigned by the caller (Nashef 2012 Table 6). class 1 is the reference (0); class 2 +0.1070545; class 3 +0.2958358; class 4 +0.5597929.","type":"integer"},"poor_mobility":{"description":"true if severe impairment of mobility secondary to musculoskeletal or neurological dysfunction (Nashef 2012 Table 6 N/M mob +0.2407181). true or false.","type":"boolean"},"previous_cardiac_surgery":{"description":"true if one or more previous major cardiac operations involving opening the pericardium (Nashef 2012 Table 6 redo +1.118599). true or false.","type":"boolean"},"pulmonary_hypertension":{"description":"Nashef 2012 Table 6 PA systolic-pressure band as assigned by the caller: none (reference, 0), moderate (31-55 mmHg, +0.1788899), or severe (>=55 mmHg, +0.3491475). magent does not parse a PA pressure number.","enum":["none","moderate","severe"],"type":"string"},"recent_mi":{"description":"true if myocardial infarction within 90 days before operation (Nashef 2012 Table 6 +0.1528943). true or false.","type":"boolean"},"renal":{"description":"Nashef 2012 renal-function band as assigned by the caller: cc_gt_85 (reference, 0), cc_51_85 (+0.303553), cc_le_50 (+0.8592256), or dialysis (+0.6421508). magent does not run Cockcroft-Gault and does not parse a creatinine number.","enum":["cc_gt_85","cc_51_85","cc_le_50","dialysis"],"type":"string"},"sex":{"description":"Sex as assigned by the caller. male is the reference (0). female adds 0.2196434 (Nashef 2012 Table 6).","enum":["male","female"],"type":"string"},"thoracic_aorta":{"description":"true if surgery on the thoracic aorta (Nashef 2012 Table 6 +0.6527205). true or false.","type":"boolean"},"urgency":{"description":"Nashef 2012 urgency as assigned by the caller: elective (reference, 0), urgent (+0.3174673), emergency (+0.7039121), or salvage (+1.362947).","enum":["elective","urgent","emergency","salvage"],"type":"string"},"weight_of_procedure":{"description":"Nashef 2012 weight of the intervention as assigned by the caller: isolated_cabg (reference, 0), single_non_cabg (+0.0062118), two (+0.5521478), or three_plus (+0.9724533). magent does not classify an operative note.","enum":["isolated_cabg","single_non_cabg","two","three_plus"],"type":"string"}},"required":["age","sex","renal","nyha","lv_function","urgency","weight_of_procedure","pulmonary_hypertension","extracardiac_arteriopathy","poor_mobility","previous_cardiac_surgery","chronic_lung_disease","active_endocarditis","critical_preoperative_state","insulin_dependent_diabetes","ccs_class_4","recent_mi","thoracic_aorta"],"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},{"id":39184,"slug":"39184","resource":"https://api.magentlab.com/api/calc/euromacs_rhf","description":"Soliman 2018 EUROMACS 9.5-point right-sided heart failure score after continuous-flow LVAD. Five caller-assigned flags: RA/PCWP >0.54 (2), hemoglobin ≤10 g/dL (1), multiple IV inotropes (2.5), INTERMACS class 1-3 (2), severe RV dysfunction (2). Max 9.5; half-points not integer-rounded. Bands: low 0-2, intermediate >2 to 4, high >4. Not a device indication. Not Michigan RV-failure score. Not CRITT. magent does not catheterize or echo.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hemoglobin_le_10":false,"intermacs_1_to_3":false,"multiple_iv_inotropes":false,"rap_pcwp_gt_054":false,"severe_rv_dysfunction":false},{"hemoglobin_le_10":false,"intermacs_1_to_3":false,"multiple_iv_inotropes":false,"rap_pcwp_gt_054":false,"severe_rv_dysfunction":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"low","citation":{"authors":"Soliman OII, Akin S, Muslem R, Boersma E, Manintveld OC, Krabatsch T, Gummert JF, de By TMMH, Bogers AJJC, Zijlstra F, Mohacsi P, Caliskan K, EUROMACS Investigators","doi":"10.1161/CIRCULATIONAHA.117.030543","id":"soliman-2018","pmid":"28972007","source":"Circulation. 2018;137(9):891-906","title":"Derivation and Validation of a Novel Right-Sided Heart Failure Model After Implantation of Continuous Flow Left Ventricular Assist Devices: The EUROMACS (European Registry for Patients with Mechanical Circulatory Support) Right-Sided Heart Failure Risk Score"},"components":[{"factor":"rap_pcwp_gt_054","points":0,"present":false},{"factor":"hemoglobin_le_10","points":0,"present":false},{"factor":"multiple_iv_inotropes","points":0,"present":false},{"factor":"intermacs_1_to_3","points":0,"present":false},{"factor":"severe_rv_dysfunction","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":"euromacs_rhf","formula_expression":"EUROMACS-RHF = 2*(rap_pcwp_gt_054) + 1*(hemoglobin_le_10) + 2.5*(multiple_iv_inotropes) + 2*(intermacs_1_to_3) + 2*(severe_rv_dysfunction); Soliman 2018; max 9.5; half-points not integer-rounded; bands low 0-2 inclusive, intermediate >2 to 4 inclusive, high >4; INTERMACS 1-3 (not 1-2 only)","hemoglobin_le_10":false,"intermacs_1_to_3":false,"max_score":9.5,"multiple_iv_inotropes":false,"rap_pcwp_gt_054":false,"score":0,"severe_rv_dysfunction":false},{"band":"low","citation":{"authors":"Soliman OII, Akin S, Muslem R, Boersma E, Manintveld OC, Krabatsch T, Gummert JF, de By TMMH, Bogers AJJC, Zijlstra F, Mohacsi P, Caliskan K, EUROMACS Investigators","doi":"10.1161/CIRCULATIONAHA.117.030543","id":"soliman-2018","pmid":"28972007","source":"Circulation. 2018;137(9):891-906","title":"Derivation and Validation of a Novel Right-Sided Heart Failure Model After Implantation of Continuous Flow Left Ventricular Assist Devices: The EUROMACS (European Registry for Patients with Mechanical Circulatory Support) Right-Sided Heart Failure Risk Score"},"components":[{"factor":"rap_pcwp_gt_054","points":0,"present":false},{"factor":"hemoglobin_le_10","points":0,"present":false},{"factor":"multiple_iv_inotropes","points":0,"present":false},{"factor":"intermacs_1_to_3","points":0,"present":false},{"factor":"severe_rv_dysfunction","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":"euromacs_rhf","formula_expression":"EUROMACS-RHF = 2*(rap_pcwp_gt_054) + 1*(hemoglobin_le_10) + 2.5*(multiple_iv_inotropes) + 2*(intermacs_1_to_3) + 2*(severe_rv_dysfunction); Soliman 2018; max 9.5; half-points not integer-rounded; bands low 0-2 inclusive, intermediate >2 to 4 inclusive, high >4; INTERMACS 1-3 (not 1-2 only)","hemoglobin_le_10":false,"intermacs_1_to_3":false,"max_score":9.5,"multiple_iv_inotropes":false,"rap_pcwp_gt_054":false,"score":0,"severe_rv_dysfunction":false}],"path":"/api/calc/euromacs_rhf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hemoglobin_le_10":{"description":"Hemoglobin ≤10 g/dL as assigned by the caller (Soliman 2018). true scores 1. magent does not measure hemoglobin.","type":"boolean"},"intermacs_1_to_3":{"description":"INTERMACS class 1, 2, or 3 as assigned by the caller (Soliman 2018). true scores 2. The primary paper uses classes 1-3, not 1-2 only. magent does not assign INTERMACS class.","type":"boolean"},"multiple_iv_inotropes":{"description":"Use of multiple intravenous inotropes as assigned by the caller (Soliman 2018). true scores 2.5. magent does not order inotropes.","type":"boolean"},"rap_pcwp_gt_054":{"description":"RA/PCWP ratio >0.54 as assigned by the caller (Soliman 2018). true scores 2. magent does not catheterize or compute the ratio.","type":"boolean"},"severe_rv_dysfunction":{"description":"Severe RV dysfunction on echocardiography as assigned by the caller (Soliman 2018). true scores 2. magent does not echo.","type":"boolean"}},"required":["rap_pcwp_gt_054","hemoglobin_le_10","multiple_iv_inotropes","intermacs_1_to_3","severe_rv_dysfunction"],"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":["euromacs-rhf","lvad","rv-failure","hemodynamics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:36:48.617Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:36:48.45Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hemoglobin_le_10":false,"intermacs_1_to_3":false,"multiple_iv_inotropes":false,"rap_pcwp_gt_054":false,"severe_rv_dysfunction":false},{"hemoglobin_le_10":false,"intermacs_1_to_3":false,"multiple_iv_inotropes":false,"rap_pcwp_gt_054":false,"severe_rv_dysfunction":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"low","citation":{"authors":"Soliman OII, Akin S, Muslem R, Boersma E, Manintveld OC, Krabatsch T, Gummert JF, de By TMMH, Bogers AJJC, Zijlstra F, Mohacsi P, Caliskan K, EUROMACS Investigators","doi":"10.1161/CIRCULATIONAHA.117.030543","id":"soliman-2018","pmid":"28972007","source":"Circulation. 2018;137(9):891-906","title":"Derivation and Validation of a Novel Right-Sided Heart Failure Model After Implantation of Continuous Flow Left Ventricular Assist Devices: The EUROMACS (European Registry for Patients with Mechanical Circulatory Support) Right-Sided Heart Failure Risk Score"},"components":[{"factor":"rap_pcwp_gt_054","points":0,"present":false},{"factor":"hemoglobin_le_10","points":0,"present":false},{"factor":"multiple_iv_inotropes","points":0,"present":false},{"factor":"intermacs_1_to_3","points":0,"present":false},{"factor":"severe_rv_dysfunction","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":"euromacs_rhf","formula_expression":"EUROMACS-RHF = 2*(rap_pcwp_gt_054) + 1*(hemoglobin_le_10) + 2.5*(multiple_iv_inotropes) + 2*(intermacs_1_to_3) + 2*(severe_rv_dysfunction); Soliman 2018; max 9.5; half-points not integer-rounded; bands low 0-2 inclusive, intermediate >2 to 4 inclusive, high >4; INTERMACS 1-3 (not 1-2 only)","hemoglobin_le_10":false,"intermacs_1_to_3":false,"max_score":9.5,"multiple_iv_inotropes":false,"rap_pcwp_gt_054":false,"score":0,"severe_rv_dysfunction":false},{"band":"low","citation":{"authors":"Soliman OII, Akin S, Muslem R, Boersma E, Manintveld OC, Krabatsch T, Gummert JF, de By TMMH, Bogers AJJC, Zijlstra F, Mohacsi P, Caliskan K, EUROMACS Investigators","doi":"10.1161/CIRCULATIONAHA.117.030543","id":"soliman-2018","pmid":"28972007","source":"Circulation. 2018;137(9):891-906","title":"Derivation and Validation of a Novel Right-Sided Heart Failure Model After Implantation of Continuous Flow Left Ventricular Assist Devices: The EUROMACS (European Registry for Patients with Mechanical Circulatory Support) Right-Sided Heart Failure Risk Score"},"components":[{"factor":"rap_pcwp_gt_054","points":0,"present":false},{"factor":"hemoglobin_le_10","points":0,"present":false},{"factor":"multiple_iv_inotropes","points":0,"present":false},{"factor":"intermacs_1_to_3","points":0,"present":false},{"factor":"severe_rv_dysfunction","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":"euromacs_rhf","formula_expression":"EUROMACS-RHF = 2*(rap_pcwp_gt_054) + 1*(hemoglobin_le_10) + 2.5*(multiple_iv_inotropes) + 2*(intermacs_1_to_3) + 2*(severe_rv_dysfunction); Soliman 2018; max 9.5; half-points not integer-rounded; bands low 0-2 inclusive, intermediate >2 to 4 inclusive, high >4; INTERMACS 1-3 (not 1-2 only)","hemoglobin_le_10":false,"intermacs_1_to_3":false,"max_score":9.5,"multiple_iv_inotropes":false,"rap_pcwp_gt_054":false,"score":0,"severe_rv_dysfunction":false}],"path":"/api/calc/euromacs_rhf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hemoglobin_le_10":{"description":"Hemoglobin ≤10 g/dL as assigned by the caller (Soliman 2018). true scores 1. magent does not measure hemoglobin.","type":"boolean"},"intermacs_1_to_3":{"description":"INTERMACS class 1, 2, or 3 as assigned by the caller (Soliman 2018). true scores 2. The primary paper uses classes 1-3, not 1-2 only. magent does not assign INTERMACS class.","type":"boolean"},"multiple_iv_inotropes":{"description":"Use of multiple intravenous inotropes as assigned by the caller (Soliman 2018). true scores 2.5. magent does not order inotropes.","type":"boolean"},"rap_pcwp_gt_054":{"description":"RA/PCWP ratio >0.54 as assigned by the caller (Soliman 2018). true scores 2. magent does not catheterize or compute the ratio.","type":"boolean"},"severe_rv_dysfunction":{"description":"Severe RV dysfunction on echocardiography as assigned by the caller (Soliman 2018). true scores 2. magent does not echo.","type":"boolean"}},"required":["rap_pcwp_gt_054","hemoglobin_le_10","multiple_iv_inotropes","intermacs_1_to_3","severe_rv_dysfunction"],"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},{"id":39185,"slug":"39185","resource":"https://api.magentlab.com/api/calc/estimated_ethanol","description":"Fasting Watson 1981 theoretical Co from ingested ethanol grams and sex-specific Watson 1980 total body water. Blood-water fraction 0.80; absorbed fraction 1. Fasting Widmark-type estimate only. Ethanol only; not a medicolegal BAC or treatment dose.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":30,"ethanol_g":14,"height_cm":175,"height_in":68.9,"sex":"male","weight_kg":70,"weight_lb":154.3},{"age":30,"ethanol_g":14,"height_cm":175,"height_in":68.9,"sex":"male","weight_kg":70,"weight_lb":154.3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"absorbed_fraction":1,"age_years":30,"blood_water_fraction":0.8,"citation":{"authors":"Watson PE, Watson ID, Batt RD","doi":"10.15288/jsa.1981.42.547","id":"watson-1981","pmid":"7289599","source":"J Stud Alcohol. 1981;42(7):547-556","title":"Prediction of blood alcohol concentrations in human subjects. Updating the Widmark Equation"},"co_g_l":0.267,"co_mg_dl":26.7,"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.","ethanol_g":14,"formula":"watson_1981","formula_expression":"TBW_L (male) = 2.447 - 0.09516*age_years + 0.1074*height_cm + 0.3362*weight_kg; TBW_L (female) = -2.097 + 0.1069*height_cm + 0.2466*weight_kg; Co_g_l = absorbed_fraction * ethanol_g * blood_water_fraction / TBW_L (fasting absorbed_fraction = 1, blood_water_fraction = 0.80)","height_cm":175,"sex":"male","tbw_l":41.92,"weight_kg":70},{"absorbed_fraction":1,"age_years":30,"blood_water_fraction":0.8,"citation":{"authors":"Watson PE, Watson ID, Batt RD","doi":"10.15288/jsa.1981.42.547","id":"watson-1981","pmid":"7289599","source":"J Stud Alcohol. 1981;42(7):547-556","title":"Prediction of blood alcohol concentrations in human subjects. Updating the Widmark Equation"},"co_g_l":0.267,"co_mg_dl":26.7,"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.","ethanol_g":14,"formula":"watson_1981","formula_expression":"TBW_L (male) = 2.447 - 0.09516*age_years + 0.1074*height_cm + 0.3362*weight_kg; TBW_L (female) = -2.097 + 0.1069*height_cm + 0.2466*weight_kg; Co_g_l = absorbed_fraction * ethanol_g * blood_water_fraction / TBW_L (fasting absorbed_fraction = 1, blood_water_fraction = 0.80)","height_cm":175,"sex":"male","tbw_l":41.92,"weight_kg":70}],"path":"/api/calc/estimated_ethanol"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Used in male TBW; required for both sexes.","type":"integer"},"ethanol_g":{"description":"Ingested ethanol mass in grams (0-500). Watson 1981 does not publish a mass clamp; one US standard drink is about 14 g.","type":"number"},"height_cm":{"description":"Height in centimeters (50-250). Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches (20-98). Converted as cm = in * 2.54.","type":"number"},"sex":{"description":"Sex for Watson 1980 TBW: male uses age, height, and weight; female uses height and weight only.","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Weight in kilograms (1-500). Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds (2-1100). Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sex","age","ethanol_g"],"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":["ethanol","electrolytes","widmark","tbw","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:27:03.296Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:27:02.972Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":30,"ethanol_g":14,"height_cm":175,"height_in":68.9,"sex":"male","weight_kg":70,"weight_lb":154.3},{"age":30,"ethanol_g":14,"height_cm":175,"height_in":68.9,"sex":"male","weight_kg":70,"weight_lb":154.3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"absorbed_fraction":1,"age_years":30,"blood_water_fraction":0.8,"citation":{"authors":"Watson PE, Watson ID, Batt RD","doi":"10.15288/jsa.1981.42.547","id":"watson-1981","pmid":"7289599","source":"J Stud Alcohol. 1981;42(7):547-556","title":"Prediction of blood alcohol concentrations in human subjects. Updating the Widmark Equation"},"co_g_l":0.267,"co_mg_dl":26.7,"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.","ethanol_g":14,"formula":"watson_1981","formula_expression":"TBW_L (male) = 2.447 - 0.09516*age_years + 0.1074*height_cm + 0.3362*weight_kg; TBW_L (female) = -2.097 + 0.1069*height_cm + 0.2466*weight_kg; Co_g_l = absorbed_fraction * ethanol_g * blood_water_fraction / TBW_L (fasting absorbed_fraction = 1, blood_water_fraction = 0.80)","height_cm":175,"sex":"male","tbw_l":41.92,"weight_kg":70},{"absorbed_fraction":1,"age_years":30,"blood_water_fraction":0.8,"citation":{"authors":"Watson PE, Watson ID, Batt RD","doi":"10.15288/jsa.1981.42.547","id":"watson-1981","pmid":"7289599","source":"J Stud Alcohol. 1981;42(7):547-556","title":"Prediction of blood alcohol concentrations in human subjects. Updating the Widmark Equation"},"co_g_l":0.267,"co_mg_dl":26.7,"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.","ethanol_g":14,"formula":"watson_1981","formula_expression":"TBW_L (male) = 2.447 - 0.09516*age_years + 0.1074*height_cm + 0.3362*weight_kg; TBW_L (female) = -2.097 + 0.1069*height_cm + 0.2466*weight_kg; Co_g_l = absorbed_fraction * ethanol_g * blood_water_fraction / TBW_L (fasting absorbed_fraction = 1, blood_water_fraction = 0.80)","height_cm":175,"sex":"male","tbw_l":41.92,"weight_kg":70}],"path":"/api/calc/estimated_ethanol"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Used in male TBW; required for both sexes.","type":"integer"},"ethanol_g":{"description":"Ingested ethanol mass in grams (0-500). Watson 1981 does not publish a mass clamp; one US standard drink is about 14 g.","type":"number"},"height_cm":{"description":"Height in centimeters (50-250). Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches (20-98). Converted as cm = in * 2.54.","type":"number"},"sex":{"description":"Sex for Watson 1980 TBW: male uses age, height, and weight; female uses height and weight only.","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Weight in kilograms (1-500). Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds (2-1100). Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sex","age","ethanol_g"],"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},{"id":39186,"slug":"39186","resource":"https://api.magentlab.com/api/calc/esas_r","description":"Watanabe 2011 ESAS-r from nine caller-assigned integers 0-10 (pain, tiredness, drowsiness, nausea, lack of appetite, shortness of breath, depression, anxiety, wellbeing; now; 0 none/best, 10 worst). magent does not administer the form. Sum 0-90. Watanabe 2011 published no severity classes for that sum. Not Bruera 1991 ESAS, not ESAS-r Renal (itch is not a core item), not a diagnosis or treatment order, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anxiety":0,"depression":0,"drowsiness":0,"lack_of_appetite":0,"nausea":0,"pain":0,"shortness_of_breath":0,"tiredness":0,"wellbeing":0},{"anxiety":0,"depression":0,"drowsiness":0,"lack_of_appetite":0,"nausea":0,"pain":0,"shortness_of_breath":0,"tiredness":0,"wellbeing":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Watanabe SM, Nekolaichuk C, Beaumont C, Johnson L, Myers J, Strasser F","doi":"10.1016/j.jpainsymman.2010.04.020","id":"watanabe-2011","pmid":"20832987","source":"J Pain Symptom Manage. 2011;41(2):456-468","title":"A multicenter study comparing two numerical versions of the Edmonton Symptom Assessment System in palliative care patients"},"components":[{"factor":"pain","points":0,"present":true,"value":0},{"factor":"tiredness","points":0,"present":true,"value":0},{"factor":"drowsiness","points":0,"present":true,"value":0},{"factor":"nausea","points":0,"present":true,"value":0},{"factor":"lack_of_appetite","points":0,"present":true,"value":0},{"factor":"shortness_of_breath","points":0,"present":true,"value":0},{"factor":"depression","points":0,"present":true,"value":0},{"factor":"anxiety","points":0,"present":true,"value":0},{"factor":"wellbeing","points":0,"present":true,"value":0}],"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":"esas_r","formula_expression":"ESAS-r = pain + tiredness + drowsiness + nausea + lack_of_appetite + shortness_of_breath + depression + anxiety + wellbeing; each caller-assigned 0-10; max 90; Watanabe 2011; no total-score severity classes; not Bruera 1991 ESAS","max_score":90,"score":0},{"citation":{"authors":"Watanabe SM, Nekolaichuk C, Beaumont C, Johnson L, Myers J, Strasser F","doi":"10.1016/j.jpainsymman.2010.04.020","id":"watanabe-2011","pmid":"20832987","source":"J Pain Symptom Manage. 2011;41(2):456-468","title":"A multicenter study comparing two numerical versions of the Edmonton Symptom Assessment System in palliative care patients"},"components":[{"factor":"pain","points":0,"present":true,"value":0},{"factor":"tiredness","points":0,"present":true,"value":0},{"factor":"drowsiness","points":0,"present":true,"value":0},{"factor":"nausea","points":0,"present":true,"value":0},{"factor":"lack_of_appetite","points":0,"present":true,"value":0},{"factor":"shortness_of_breath","points":0,"present":true,"value":0},{"factor":"depression","points":0,"present":true,"value":0},{"factor":"anxiety","points":0,"present":true,"value":0},{"factor":"wellbeing","points":0,"present":true,"value":0}],"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":"esas_r","formula_expression":"ESAS-r = pain + tiredness + drowsiness + nausea + lack_of_appetite + shortness_of_breath + depression + anxiety + wellbeing; each caller-assigned 0-10; max 90; Watanabe 2011; no total-score severity classes; not Bruera 1991 ESAS","max_score":90,"score":0}],"path":"/api/calc/esas_r"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anxiety":{"description":"Caller-assigned Watanabe 2011 ESAS-r anxiety (integer 0-10): 0 no anxiety, 10 worst possible anxiety (anxiety = feeling nervous); how the person feels now. magent does not administer the form.","type":"integer"},"depression":{"description":"Caller-assigned Watanabe 2011 ESAS-r depression (integer 0-10): 0 no depression, 10 worst possible depression (depression = feeling sad); how the person feels now. magent does not administer the form.","type":"integer"},"drowsiness":{"description":"Caller-assigned Watanabe 2011 ESAS-r drowsiness (integer 0-10): 0 no drowsiness, 10 worst possible drowsiness (drowsiness = feeling sleepy); how the person feels now. magent does not administer the form.","type":"integer"},"lack_of_appetite":{"description":"Caller-assigned Watanabe 2011 ESAS-r lack of appetite (integer 0-10): 0 no lack of appetite, 10 worst possible lack of appetite; how the person feels now. magent does not administer the form.","type":"integer"},"nausea":{"description":"Caller-assigned Watanabe 2011 ESAS-r nausea (integer 0-10): 0 no nausea, 10 worst possible nausea; how the person feels now. magent does not administer the form.","type":"integer"},"pain":{"description":"Caller-assigned Watanabe 2011 ESAS-r pain (integer 0-10): 0 no pain, 10 worst possible pain; how the person feels now. magent does not administer the form.","type":"integer"},"shortness_of_breath":{"description":"Caller-assigned Watanabe 2011 ESAS-r shortness of breath (integer 0-10): 0 no shortness of breath, 10 worst possible shortness of breath; how the person feels now. magent does not administer the form.","type":"integer"},"tiredness":{"description":"Caller-assigned Watanabe 2011 ESAS-r tiredness (integer 0-10): 0 no tiredness, 10 worst possible tiredness (tiredness = lack of energy); how the person feels now. magent does not administer the form.","type":"integer"},"wellbeing":{"description":"Caller-assigned Watanabe 2011 ESAS-r wellbeing (integer 0-10): 0 best wellbeing, 10 worst possible wellbeing (wellbeing = how you feel overall); how the person feels now. magent does not administer the form.","type":"integer"}},"required":["pain","tiredness","drowsiness","nausea","lack_of_appetite","shortness_of_breath","depression","anxiety","wellbeing"],"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":["esas-r","palliative","symptoms","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:26:58.26Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:26:58.095Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anxiety":0,"depression":0,"drowsiness":0,"lack_of_appetite":0,"nausea":0,"pain":0,"shortness_of_breath":0,"tiredness":0,"wellbeing":0},{"anxiety":0,"depression":0,"drowsiness":0,"lack_of_appetite":0,"nausea":0,"pain":0,"shortness_of_breath":0,"tiredness":0,"wellbeing":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Watanabe SM, Nekolaichuk C, Beaumont C, Johnson L, Myers J, Strasser F","doi":"10.1016/j.jpainsymman.2010.04.020","id":"watanabe-2011","pmid":"20832987","source":"J Pain Symptom Manage. 2011;41(2):456-468","title":"A multicenter study comparing two numerical versions of the Edmonton Symptom Assessment System in palliative care patients"},"components":[{"factor":"pain","points":0,"present":true,"value":0},{"factor":"tiredness","points":0,"present":true,"value":0},{"factor":"drowsiness","points":0,"present":true,"value":0},{"factor":"nausea","points":0,"present":true,"value":0},{"factor":"lack_of_appetite","points":0,"present":true,"value":0},{"factor":"shortness_of_breath","points":0,"present":true,"value":0},{"factor":"depression","points":0,"present":true,"value":0},{"factor":"anxiety","points":0,"present":true,"value":0},{"factor":"wellbeing","points":0,"present":true,"value":0}],"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":"esas_r","formula_expression":"ESAS-r = pain + tiredness + drowsiness + nausea + lack_of_appetite + shortness_of_breath + depression + anxiety + wellbeing; each caller-assigned 0-10; max 90; Watanabe 2011; no total-score severity classes; not Bruera 1991 ESAS","max_score":90,"score":0},{"citation":{"authors":"Watanabe SM, Nekolaichuk C, Beaumont C, Johnson L, Myers J, Strasser F","doi":"10.1016/j.jpainsymman.2010.04.020","id":"watanabe-2011","pmid":"20832987","source":"J Pain Symptom Manage. 2011;41(2):456-468","title":"A multicenter study comparing two numerical versions of the Edmonton Symptom Assessment System in palliative care patients"},"components":[{"factor":"pain","points":0,"present":true,"value":0},{"factor":"tiredness","points":0,"present":true,"value":0},{"factor":"drowsiness","points":0,"present":true,"value":0},{"factor":"nausea","points":0,"present":true,"value":0},{"factor":"lack_of_appetite","points":0,"present":true,"value":0},{"factor":"shortness_of_breath","points":0,"present":true,"value":0},{"factor":"depression","points":0,"present":true,"value":0},{"factor":"anxiety","points":0,"present":true,"value":0},{"factor":"wellbeing","points":0,"present":true,"value":0}],"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":"esas_r","formula_expression":"ESAS-r = pain + tiredness + drowsiness + nausea + lack_of_appetite + shortness_of_breath + depression + anxiety + wellbeing; each caller-assigned 0-10; max 90; Watanabe 2011; no total-score severity classes; not Bruera 1991 ESAS","max_score":90,"score":0}],"path":"/api/calc/esas_r"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anxiety":{"description":"Caller-assigned Watanabe 2011 ESAS-r anxiety (integer 0-10): 0 no anxiety, 10 worst possible anxiety (anxiety = feeling nervous); how the person feels now. magent does not administer the form.","type":"integer"},"depression":{"description":"Caller-assigned Watanabe 2011 ESAS-r depression (integer 0-10): 0 no depression, 10 worst possible depression (depression = feeling sad); how the person feels now. magent does not administer the form.","type":"integer"},"drowsiness":{"description":"Caller-assigned Watanabe 2011 ESAS-r drowsiness (integer 0-10): 0 no drowsiness, 10 worst possible drowsiness (drowsiness = feeling sleepy); how the person feels now. magent does not administer the form.","type":"integer"},"lack_of_appetite":{"description":"Caller-assigned Watanabe 2011 ESAS-r lack of appetite (integer 0-10): 0 no lack of appetite, 10 worst possible lack of appetite; how the person feels now. magent does not administer the form.","type":"integer"},"nausea":{"description":"Caller-assigned Watanabe 2011 ESAS-r nausea (integer 0-10): 0 no nausea, 10 worst possible nausea; how the person feels now. magent does not administer the form.","type":"integer"},"pain":{"description":"Caller-assigned Watanabe 2011 ESAS-r pain (integer 0-10): 0 no pain, 10 worst possible pain; how the person feels now. magent does not administer the form.","type":"integer"},"shortness_of_breath":{"description":"Caller-assigned Watanabe 2011 ESAS-r shortness of breath (integer 0-10): 0 no shortness of breath, 10 worst possible shortness of breath; how the person feels now. magent does not administer the form.","type":"integer"},"tiredness":{"description":"Caller-assigned Watanabe 2011 ESAS-r tiredness (integer 0-10): 0 no tiredness, 10 worst possible tiredness (tiredness = lack of energy); how the person feels now. magent does not administer the form.","type":"integer"},"wellbeing":{"description":"Caller-assigned Watanabe 2011 ESAS-r wellbeing (integer 0-10): 0 best wellbeing, 10 worst possible wellbeing (wellbeing = how you feel overall); how the person feels now. magent does not administer the form.","type":"integer"}},"required":["pain","tiredness","drowsiness","nausea","lack_of_appetite","shortness_of_breath","depression","anxiety","wellbeing"],"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},{"id":39187,"slug":"39187","resource":"https://api.magentlab.com/api/calc/erefs","description":"Hirano 2013 modified EREFS: caller-assigned edema (absent 0, present 1), rings (none 0, mild 1, moderate 2, severe 3), exudates (none 0, mild_lt_10pct 1, severe_gt_10pct 2), furrows (absent 0, present 1; original 0-2 collapsed), stricture (absent 0, present 1). magent sums only (max 8; not later 0-9). No activity bands, inflammatory/fibrostenotic subscores, crepe-paper, or narrow-calibre. magent does not perform endoscopy. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"edema":"absent","exudates":"none","furrows":"absent","rings":"none","stricture":"absent"},{"edema":"absent","exudates":"none","furrows":"absent","rings":"none","stricture":"absent"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hirano I, Moy N, Heckman MG, Thomas CS, Gonsalves N, Achem SR","doi":"10.1136/gutjnl-2011-301817","id":"hirano-2013","pmid":"22619364","source":"Gut. 2013;62(4):489-495","title":"Endoscopic assessment of the oesophageal features of eosinophilic oesophagitis: validation of a novel classification and grading system."},"components":[{"factor":"edema","points":0,"present":true,"value":"absent"},{"factor":"rings","points":0,"present":true,"value":"none"},{"factor":"exudates","points":0,"present":true,"value":"none"},{"factor":"furrows","points":0,"present":true,"value":"absent"},{"factor":"stricture","points":0,"present":true,"value":"absent"}],"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.","edema":"absent","exudates":"none","formula":"erefs","formula_expression":"EREFS = edema (absent 0, present 1; loss of vascular markings) + rings (none 0, mild 1, moderate 2, severe 3) + exudates (none 0, mild_lt_10pct 1, severe_gt_10pct 2) + furrows (absent 0, present 1; modified, original 0-2 collapsed) + stricture (absent 0, present 1); Hirano 2013 modified good-agreement version; not later 0-9 furrows 0-2; crepe-paper and narrow-calibre not scored; no published total-score activity bands","furrows":"absent","max_score":8,"rings":"none","score":0,"stricture":"absent"},{"citation":{"authors":"Hirano I, Moy N, Heckman MG, Thomas CS, Gonsalves N, Achem SR","doi":"10.1136/gutjnl-2011-301817","id":"hirano-2013","pmid":"22619364","source":"Gut. 2013;62(4):489-495","title":"Endoscopic assessment of the oesophageal features of eosinophilic oesophagitis: validation of a novel classification and grading system."},"components":[{"factor":"edema","points":0,"present":true,"value":"absent"},{"factor":"rings","points":0,"present":true,"value":"none"},{"factor":"exudates","points":0,"present":true,"value":"none"},{"factor":"furrows","points":0,"present":true,"value":"absent"},{"factor":"stricture","points":0,"present":true,"value":"absent"}],"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.","edema":"absent","exudates":"none","formula":"erefs","formula_expression":"EREFS = edema (absent 0, present 1; loss of vascular markings) + rings (none 0, mild 1, moderate 2, severe 3) + exudates (none 0, mild_lt_10pct 1, severe_gt_10pct 2) + furrows (absent 0, present 1; modified, original 0-2 collapsed) + stricture (absent 0, present 1); Hirano 2013 modified good-agreement version; not later 0-9 furrows 0-2; crepe-paper and narrow-calibre not scored; no published total-score activity bands","furrows":"absent","max_score":8,"rings":"none","score":0,"stricture":"absent"}],"path":"/api/calc/erefs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"edema":{"description":"Caller-assigned Hirano 2013 modified EREFS edema (oedema; loss of vascular markings): absent (0; vascular markings present) or present (1; decreased or absent vascular markings). magent does not perform endoscopy.","enum":["absent","present"],"type":"string"},"exudates":{"description":"Caller-assigned Hirano 2013 EREFS exudates (white plaques): none (0), mild_lt_10pct (1; lesions involving <10% of the oesophageal surface area), or severe_gt_10pct (2; lesions involving >10% of the oesophageal surface area). magent does not perform endoscopy.","enum":["none","mild_lt_10pct","severe_gt_10pct"],"type":"string"},"furrows":{"description":"Caller-assigned Hirano 2013 modified EREFS furrows (vertical lines): absent (0) or present (1). Original Hirano 2013 graded furrows 0-2 (none / mild without depth / severe with indentation); the modified good-agreement version collapses that to absent vs present. Not the later 0-9 expansion that restores furrows 0-2. magent does not perform endoscopy.","enum":["absent","present"],"type":"string"},"rings":{"description":"Caller-assigned Hirano 2013 EREFS rings (fixed rings): none (0), mild (1; subtle circumferential ridges), moderate (2; distinct rings that a diagnostic adult endoscope still passes), or severe (3; cannot pass a diagnostic adult endoscope). magent does not perform endoscopy.","enum":["none","mild","moderate","severe"],"type":"string"},"stricture":{"description":"Caller-assigned Hirano 2013 EREFS stricture: absent (0) or present (1). magent does not perform endoscopy.","enum":["absent","present"],"type":"string"}},"required":["edema","rings","exudates","furrows","stricture"],"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":["erefs","eosinophilic-oesophagitis","endoscopy","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:26:56.65Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:26:56.514Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"edema":"absent","exudates":"none","furrows":"absent","rings":"none","stricture":"absent"},{"edema":"absent","exudates":"none","furrows":"absent","rings":"none","stricture":"absent"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hirano I, Moy N, Heckman MG, Thomas CS, Gonsalves N, Achem SR","doi":"10.1136/gutjnl-2011-301817","id":"hirano-2013","pmid":"22619364","source":"Gut. 2013;62(4):489-495","title":"Endoscopic assessment of the oesophageal features of eosinophilic oesophagitis: validation of a novel classification and grading system."},"components":[{"factor":"edema","points":0,"present":true,"value":"absent"},{"factor":"rings","points":0,"present":true,"value":"none"},{"factor":"exudates","points":0,"present":true,"value":"none"},{"factor":"furrows","points":0,"present":true,"value":"absent"},{"factor":"stricture","points":0,"present":true,"value":"absent"}],"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.","edema":"absent","exudates":"none","formula":"erefs","formula_expression":"EREFS = edema (absent 0, present 1; loss of vascular markings) + rings (none 0, mild 1, moderate 2, severe 3) + exudates (none 0, mild_lt_10pct 1, severe_gt_10pct 2) + furrows (absent 0, present 1; modified, original 0-2 collapsed) + stricture (absent 0, present 1); Hirano 2013 modified good-agreement version; not later 0-9 furrows 0-2; crepe-paper and narrow-calibre not scored; no published total-score activity bands","furrows":"absent","max_score":8,"rings":"none","score":0,"stricture":"absent"},{"citation":{"authors":"Hirano I, Moy N, Heckman MG, Thomas CS, Gonsalves N, Achem SR","doi":"10.1136/gutjnl-2011-301817","id":"hirano-2013","pmid":"22619364","source":"Gut. 2013;62(4):489-495","title":"Endoscopic assessment of the oesophageal features of eosinophilic oesophagitis: validation of a novel classification and grading system."},"components":[{"factor":"edema","points":0,"present":true,"value":"absent"},{"factor":"rings","points":0,"present":true,"value":"none"},{"factor":"exudates","points":0,"present":true,"value":"none"},{"factor":"furrows","points":0,"present":true,"value":"absent"},{"factor":"stricture","points":0,"present":true,"value":"absent"}],"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.","edema":"absent","exudates":"none","formula":"erefs","formula_expression":"EREFS = edema (absent 0, present 1; loss of vascular markings) + rings (none 0, mild 1, moderate 2, severe 3) + exudates (none 0, mild_lt_10pct 1, severe_gt_10pct 2) + furrows (absent 0, present 1; modified, original 0-2 collapsed) + stricture (absent 0, present 1); Hirano 2013 modified good-agreement version; not later 0-9 furrows 0-2; crepe-paper and narrow-calibre not scored; no published total-score activity bands","furrows":"absent","max_score":8,"rings":"none","score":0,"stricture":"absent"}],"path":"/api/calc/erefs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"edema":{"description":"Caller-assigned Hirano 2013 modified EREFS edema (oedema; loss of vascular markings): absent (0; vascular markings present) or present (1; decreased or absent vascular markings). magent does not perform endoscopy.","enum":["absent","present"],"type":"string"},"exudates":{"description":"Caller-assigned Hirano 2013 EREFS exudates (white plaques): none (0), mild_lt_10pct (1; lesions involving <10% of the oesophageal surface area), or severe_gt_10pct (2; lesions involving >10% of the oesophageal surface area). magent does not perform endoscopy.","enum":["none","mild_lt_10pct","severe_gt_10pct"],"type":"string"},"furrows":{"description":"Caller-assigned Hirano 2013 modified EREFS furrows (vertical lines): absent (0) or present (1). Original Hirano 2013 graded furrows 0-2 (none / mild without depth / severe with indentation); the modified good-agreement version collapses that to absent vs present. Not the later 0-9 expansion that restores furrows 0-2. magent does not perform endoscopy.","enum":["absent","present"],"type":"string"},"rings":{"description":"Caller-assigned Hirano 2013 EREFS rings (fixed rings): none (0), mild (1; subtle circumferential ridges), moderate (2; distinct rings that a diagnostic adult endoscope still passes), or severe (3; cannot pass a diagnostic adult endoscope). magent does not perform endoscopy.","enum":["none","mild","moderate","severe"],"type":"string"},"stricture":{"description":"Caller-assigned Hirano 2013 EREFS stricture: absent (0) or present (1). magent does not perform endoscopy.","enum":["absent","present"],"type":"string"}},"required":["edema","rings","exudates","furrows","stricture"],"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},{"id":39188,"slug":"39188","resource":"https://api.magentlab.com/api/calc/epiphany","description":"Carmona-Bayonas 2017 EPIPHANY CHAID tree for cancer-associated PE. Hestia-like CDR any vs none, then ECOG-PS, SaO2, PE symptoms, tumour response, and primary resection as in Figure 2. Returns low, intermediate, or high with 15-day complication rates 1.6/9.4/30.6% and mortality 0.3/6.1/17.1%. Caller assigns the six covariates. Not a diagnosis or anticoagulation order. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ecog_ps_ge_2":false,"hestia_like_any":false,"oxygen_sat_lt_90":false,"pe_specific_symptoms":false,"primary_tumour_resected":true,"tumour_uncontrolled":false},{"ecog_ps_ge_2":false,"hestia_like_any":false,"oxygen_sat_lt_90":false,"pe_specific_symptoms":false,"primary_tumour_resected":true,"tumour_uncontrolled":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Carmona-Bayonas A, Jiménez-Fonseca P, Font C, Fenoy F, Otero R, Beato C, Plasencia JM, Biosca M, Sánchez M, Benegas M, Calvo-Temprano D, Varona D, Faez L, de la Haba I, Antonio M, Madridano O, Solis MP, Ramchandani A, Castañón E, Marchena PJ, Martín M, Ayala de la Peña F, Vicente V; Asociación de Investigación de la Enfermedad Tromboembólica de la Región de Murcia","doi":"10.1038/bjc.2017.48","id":"carmona-bayonas-2017","pmid":"28267709","source":"Br J Cancer. 2017;116:994-1001","title":"Predicting serious complications in patients with cancer and pulmonary embolism using decision tree modelling: the EPIPHANY Index"},"criteria":[{"factor":"hestia_like_any","met":false},{"factor":"ecog_ps_ge_2","met":false},{"factor":"oxygen_sat_lt_90","met":false},{"factor":"pe_specific_symptoms","met":false},{"factor":"tumour_uncontrolled","met":false},{"factor":"primary_tumour_resected","met":true}],"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.","ecog_ps_ge_2":false,"formula":"epiphany","formula_expression":"root: hestia-like CDR any vs none (Carmona-Bayonas 2017 Figure 2). CDR any: ECOG-PS >=2 then SaO2 <90 vs >=90 (both high), else PE-specific symptoms yes (high) vs no (intermediate). CDR none: tumour progression/unknown/not evaluated vs others (CR/PR/SD/NED); if uncontrolled then primary tumour resection yes (low) vs no (intermediate); if others then low. Classes low/intermediate/high with 15-day serious complications 1.6/9.4/30.6% and 15-day mortality 0.3/6.1/17.1%","hestia_like_any":false,"leaf":"low_controlled","mortality_15d_percent":0.3,"oxygen_sat_lt_90":false,"pe_specific_symptoms":false,"primary_tumour_resected":true,"risk_class":"low","serious_complication_15d_percent":1.6,"tumour_uncontrolled":false},{"citation":{"authors":"Carmona-Bayonas A, Jiménez-Fonseca P, Font C, Fenoy F, Otero R, Beato C, Plasencia JM, Biosca M, Sánchez M, Benegas M, Calvo-Temprano D, Varona D, Faez L, de la Haba I, Antonio M, Madridano O, Solis MP, Ramchandani A, Castañón E, Marchena PJ, Martín M, Ayala de la Peña F, Vicente V; Asociación de Investigación de la Enfermedad Tromboembólica de la Región de Murcia","doi":"10.1038/bjc.2017.48","id":"carmona-bayonas-2017","pmid":"28267709","source":"Br J Cancer. 2017;116:994-1001","title":"Predicting serious complications in patients with cancer and pulmonary embolism using decision tree modelling: the EPIPHANY Index"},"criteria":[{"factor":"hestia_like_any","met":false},{"factor":"ecog_ps_ge_2","met":false},{"factor":"oxygen_sat_lt_90","met":false},{"factor":"pe_specific_symptoms","met":false},{"factor":"tumour_uncontrolled","met":false},{"factor":"primary_tumour_resected","met":true}],"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.","ecog_ps_ge_2":false,"formula":"epiphany","formula_expression":"root: hestia-like CDR any vs none (Carmona-Bayonas 2017 Figure 2). CDR any: ECOG-PS >=2 then SaO2 <90 vs >=90 (both high), else PE-specific symptoms yes (high) vs no (intermediate). CDR none: tumour progression/unknown/not evaluated vs others (CR/PR/SD/NED); if uncontrolled then primary tumour resection yes (low) vs no (intermediate); if others then low. Classes low/intermediate/high with 15-day serious complications 1.6/9.4/30.6% and 15-day mortality 0.3/6.1/17.1%","hestia_like_any":false,"leaf":"low_controlled","mortality_15d_percent":0.3,"oxygen_sat_lt_90":false,"pe_specific_symptoms":false,"primary_tumour_resected":true,"risk_class":"low","serious_complication_15d_percent":1.6,"tumour_uncontrolled":false}],"path":"/api/calc/epiphany"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecog_ps_ge_2":{"description":"ECOG-PS >=2 as assigned by the caller (Carmona-Bayonas 2017: <2 vs >=2). true or false. Used on the Hestia-like-any branch. magent does not assign performance status.","type":"boolean"},"hestia_like_any":{"description":"true if any Carmona-Bayonas 2017 Hestia-like clinical decision rule item is present: SBP <100 mm Hg, arterial oxygen saturation <90%, respiratory rate >=30 breaths/min, pulse >=110 beats/min, sudden or progressive dyspnoea, or clinically relevant haemorrhage / high bleeding risk / platelets <50 000 mm^-3 (Figure 2). false if none. Caller-assigned; magent does not measure vitals or score the 11-item Zondag Hestia checklist.","type":"boolean"},"oxygen_sat_lt_90":{"description":"Arterial oxygen saturation <90% as assigned by the caller (Figure 2: <90 vs >=90%). true or false. Used when Hestia-like any is present and ECOG-PS >=2; both sat leaves are high class. Distinct from the same cutoff inside the Hestia-like CDR. magent does not measure saturation.","type":"boolean"},"pe_specific_symptoms":{"description":"PE-specific symptoms present as assigned by the caller (Carmona-Bayonas 2017 Figure 2). true or false. Used when Hestia-like any is present and ECOG-PS <2. Distinct from incidental vs symptomatic diagnosis and from the dyspnoea CDR item. magent does not take a history.","type":"boolean"},"primary_tumour_resected":{"description":"Prior surgical resection of the primary tumour as assigned by the caller. true or false. Used when Hestia-like none and tumour_uncontrolled are both true. magent does not read an operative note.","type":"boolean"},"tumour_uncontrolled":{"description":"true if tumour response is progression, unknown, or not evaluated; false for others (complete or partial response, stable disease, or no evidence of disease) per Carmona-Bayonas 2017 Table 1 / Figure 2. Used on the Hestia-like-none branch. magent does not apply RECIST.","type":"boolean"}},"required":["hestia_like_any","ecog_ps_ge_2","oxygen_sat_lt_90","pe_specific_symptoms","tumour_uncontrolled","primary_tumour_resected"],"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":["epiphany","pe","cancer","vte","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:21:43.137Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:21:42.93Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ecog_ps_ge_2":false,"hestia_like_any":false,"oxygen_sat_lt_90":false,"pe_specific_symptoms":false,"primary_tumour_resected":true,"tumour_uncontrolled":false},{"ecog_ps_ge_2":false,"hestia_like_any":false,"oxygen_sat_lt_90":false,"pe_specific_symptoms":false,"primary_tumour_resected":true,"tumour_uncontrolled":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Carmona-Bayonas A, Jiménez-Fonseca P, Font C, Fenoy F, Otero R, Beato C, Plasencia JM, Biosca M, Sánchez M, Benegas M, Calvo-Temprano D, Varona D, Faez L, de la Haba I, Antonio M, Madridano O, Solis MP, Ramchandani A, Castañón E, Marchena PJ, Martín M, Ayala de la Peña F, Vicente V; Asociación de Investigación de la Enfermedad Tromboembólica de la Región de Murcia","doi":"10.1038/bjc.2017.48","id":"carmona-bayonas-2017","pmid":"28267709","source":"Br J Cancer. 2017;116:994-1001","title":"Predicting serious complications in patients with cancer and pulmonary embolism using decision tree modelling: the EPIPHANY Index"},"criteria":[{"factor":"hestia_like_any","met":false},{"factor":"ecog_ps_ge_2","met":false},{"factor":"oxygen_sat_lt_90","met":false},{"factor":"pe_specific_symptoms","met":false},{"factor":"tumour_uncontrolled","met":false},{"factor":"primary_tumour_resected","met":true}],"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.","ecog_ps_ge_2":false,"formula":"epiphany","formula_expression":"root: hestia-like CDR any vs none (Carmona-Bayonas 2017 Figure 2). CDR any: ECOG-PS >=2 then SaO2 <90 vs >=90 (both high), else PE-specific symptoms yes (high) vs no (intermediate). CDR none: tumour progression/unknown/not evaluated vs others (CR/PR/SD/NED); if uncontrolled then primary tumour resection yes (low) vs no (intermediate); if others then low. Classes low/intermediate/high with 15-day serious complications 1.6/9.4/30.6% and 15-day mortality 0.3/6.1/17.1%","hestia_like_any":false,"leaf":"low_controlled","mortality_15d_percent":0.3,"oxygen_sat_lt_90":false,"pe_specific_symptoms":false,"primary_tumour_resected":true,"risk_class":"low","serious_complication_15d_percent":1.6,"tumour_uncontrolled":false},{"citation":{"authors":"Carmona-Bayonas A, Jiménez-Fonseca P, Font C, Fenoy F, Otero R, Beato C, Plasencia JM, Biosca M, Sánchez M, Benegas M, Calvo-Temprano D, Varona D, Faez L, de la Haba I, Antonio M, Madridano O, Solis MP, Ramchandani A, Castañón E, Marchena PJ, Martín M, Ayala de la Peña F, Vicente V; Asociación de Investigación de la Enfermedad Tromboembólica de la Región de Murcia","doi":"10.1038/bjc.2017.48","id":"carmona-bayonas-2017","pmid":"28267709","source":"Br J Cancer. 2017;116:994-1001","title":"Predicting serious complications in patients with cancer and pulmonary embolism using decision tree modelling: the EPIPHANY Index"},"criteria":[{"factor":"hestia_like_any","met":false},{"factor":"ecog_ps_ge_2","met":false},{"factor":"oxygen_sat_lt_90","met":false},{"factor":"pe_specific_symptoms","met":false},{"factor":"tumour_uncontrolled","met":false},{"factor":"primary_tumour_resected","met":true}],"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.","ecog_ps_ge_2":false,"formula":"epiphany","formula_expression":"root: hestia-like CDR any vs none (Carmona-Bayonas 2017 Figure 2). CDR any: ECOG-PS >=2 then SaO2 <90 vs >=90 (both high), else PE-specific symptoms yes (high) vs no (intermediate). CDR none: tumour progression/unknown/not evaluated vs others (CR/PR/SD/NED); if uncontrolled then primary tumour resection yes (low) vs no (intermediate); if others then low. Classes low/intermediate/high with 15-day serious complications 1.6/9.4/30.6% and 15-day mortality 0.3/6.1/17.1%","hestia_like_any":false,"leaf":"low_controlled","mortality_15d_percent":0.3,"oxygen_sat_lt_90":false,"pe_specific_symptoms":false,"primary_tumour_resected":true,"risk_class":"low","serious_complication_15d_percent":1.6,"tumour_uncontrolled":false}],"path":"/api/calc/epiphany"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecog_ps_ge_2":{"description":"ECOG-PS >=2 as assigned by the caller (Carmona-Bayonas 2017: <2 vs >=2). true or false. Used on the Hestia-like-any branch. magent does not assign performance status.","type":"boolean"},"hestia_like_any":{"description":"true if any Carmona-Bayonas 2017 Hestia-like clinical decision rule item is present: SBP <100 mm Hg, arterial oxygen saturation <90%, respiratory rate >=30 breaths/min, pulse >=110 beats/min, sudden or progressive dyspnoea, or clinically relevant haemorrhage / high bleeding risk / platelets <50 000 mm^-3 (Figure 2). false if none. Caller-assigned; magent does not measure vitals or score the 11-item Zondag Hestia checklist.","type":"boolean"},"oxygen_sat_lt_90":{"description":"Arterial oxygen saturation <90% as assigned by the caller (Figure 2: <90 vs >=90%). true or false. Used when Hestia-like any is present and ECOG-PS >=2; both sat leaves are high class. Distinct from the same cutoff inside the Hestia-like CDR. magent does not measure saturation.","type":"boolean"},"pe_specific_symptoms":{"description":"PE-specific symptoms present as assigned by the caller (Carmona-Bayonas 2017 Figure 2). true or false. Used when Hestia-like any is present and ECOG-PS <2. Distinct from incidental vs symptomatic diagnosis and from the dyspnoea CDR item. magent does not take a history.","type":"boolean"},"primary_tumour_resected":{"description":"Prior surgical resection of the primary tumour as assigned by the caller. true or false. Used when Hestia-like none and tumour_uncontrolled are both true. magent does not read an operative note.","type":"boolean"},"tumour_uncontrolled":{"description":"true if tumour response is progression, unknown, or not evaluated; false for others (complete or partial response, stable disease, or no evidence of disease) per Carmona-Bayonas 2017 Table 1 / Figure 2. Used on the Hestia-like-none branch. magent does not apply RECIST.","type":"boolean"}},"required":["hestia_like_any","ecog_ps_ge_2","oxygen_sat_lt_90","pe_specific_symptoms","tumour_uncontrolled","primary_tumour_resected"],"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},{"id":39189,"slug":"39189","resource":"https://api.magentlab.com/api/calc/epds","description":"Cox 1987 EPDS: 10 caller-assigned integers 0-3 (past 7 days). laugh, enjoyment, and anxious are reverse-scored in that paper; the caller assigns the published 0-3 (0 = least symptomatic pole after that reverse key). Total 0-30. This paper's threshold is 12/13 (at or above iff score ≥13). magent does not interview, apply later ≥10 community cuts, PHQ-9, QIDS, or MDI. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anxious":0,"coping":0,"crying":0,"enjoyment":0,"laugh":0,"sad":0,"scared":0,"self_blame":0,"self_harm":0,"sleep":0},{"anxious":0,"coping":0,"crying":0,"enjoyment":0,"laugh":0,"sad":0,"scared":0,"self_blame":0,"self_harm":0,"sleep":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"at_or_above_cutoff":false,"citation":{"authors":"Cox JL, Holden JM, Sagovsky R","doi":"10.1192/bjp.150.6.782","id":"cox-1987","pmid":"3651732","source":"Br J Psychiatry. 1987;150:782-786","title":"Detection of postnatal depression. Development of the 10-item Edinburgh Postnatal Depression Scale"},"components":[{"factor":"laugh","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"enjoyment","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"self_blame","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"anxious","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"scared","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"coping","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"sleep","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"sad","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"crying","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"self_harm","points":0,"present":true,"reverse_scored":false,"value":0}],"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":"epds","formula_expression":"EPDS = laugh + enjoyment + self_blame + anxious + scared + coping + sleep + sad + crying + self_harm; each caller-assigned 0-3 as in Cox 1987 (laugh, enjoyment, and anxious reverse-scored in that paper; 0 is the least symptomatic published pole); max 30; Cox 1987 threshold 12/13 (at or above iff score ≥ 13)","max_score":30,"score":0},{"at_or_above_cutoff":false,"citation":{"authors":"Cox JL, Holden JM, Sagovsky R","doi":"10.1192/bjp.150.6.782","id":"cox-1987","pmid":"3651732","source":"Br J Psychiatry. 1987;150:782-786","title":"Detection of postnatal depression. Development of the 10-item Edinburgh Postnatal Depression Scale"},"components":[{"factor":"laugh","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"enjoyment","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"self_blame","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"anxious","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"scared","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"coping","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"sleep","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"sad","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"crying","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"self_harm","points":0,"present":true,"reverse_scored":false,"value":0}],"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":"epds","formula_expression":"EPDS = laugh + enjoyment + self_blame + anxious + scared + coping + sleep + sad + crying + self_harm; each caller-assigned 0-3 as in Cox 1987 (laugh, enjoyment, and anxious reverse-scored in that paper; 0 is the least symptomatic published pole); max 30; Cox 1987 threshold 12/13 (at or above iff score ≥ 13)","max_score":30,"score":0}],"path":"/api/calc/epds"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anxious":{"description":"Caller-assigned Cox 1987 EPDS item 4 (integer 0-3). Reverse-scored in that paper: anxious or worried for no good reason over the past 7 days. 0 is the least symptomatic published pole after reverse scoring; 3 is the most. magent does not interpret the item.","type":"integer"},"coping":{"description":"Caller-assigned Cox 1987 EPDS item 6 (integer 0-3): things getting on top of the respondent over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"},"crying":{"description":"Caller-assigned Cox 1987 EPDS item 9 (integer 0-3): crying from unhappiness over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"},"enjoyment":{"description":"Caller-assigned Cox 1987 EPDS item 2 (integer 0-3). Reverse-scored in that paper: looking forward with enjoyment to things over the past 7 days. 0 is the least symptomatic published pole after reverse scoring; 3 is the most. magent does not interpret the item.","type":"integer"},"laugh":{"description":"Caller-assigned Cox 1987 EPDS item 1 (integer 0-3). Reverse-scored in that paper: ability to laugh and see the funny side of things over the past 7 days. 0 is the least symptomatic published pole after reverse scoring; 3 is the most. magent does not interpret the item.","type":"integer"},"sad":{"description":"Caller-assigned Cox 1987 EPDS item 8 (integer 0-3): felt sad or miserable over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"},"scared":{"description":"Caller-assigned Cox 1987 EPDS item 5 (integer 0-3): scared or panicky for no very good reason over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"},"self_blame":{"description":"Caller-assigned Cox 1987 EPDS item 3 (integer 0-3): blamed self unnecessarily when things went wrong over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"},"self_harm":{"description":"Caller-assigned Cox 1987 EPDS item 10 (integer 0-3): thoughts of harming oneself over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"},"sleep":{"description":"Caller-assigned Cox 1987 EPDS item 7 (integer 0-3): unhappiness with difficulty sleeping over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"}},"required":["laugh","enjoyment","self_blame","anxious","scared","coping","sleep","sad","crying","self_harm"],"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":["epds","postnatal-depression","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:21:41.358Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:21:41.195Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anxious":0,"coping":0,"crying":0,"enjoyment":0,"laugh":0,"sad":0,"scared":0,"self_blame":0,"self_harm":0,"sleep":0},{"anxious":0,"coping":0,"crying":0,"enjoyment":0,"laugh":0,"sad":0,"scared":0,"self_blame":0,"self_harm":0,"sleep":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"at_or_above_cutoff":false,"citation":{"authors":"Cox JL, Holden JM, Sagovsky R","doi":"10.1192/bjp.150.6.782","id":"cox-1987","pmid":"3651732","source":"Br J Psychiatry. 1987;150:782-786","title":"Detection of postnatal depression. Development of the 10-item Edinburgh Postnatal Depression Scale"},"components":[{"factor":"laugh","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"enjoyment","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"self_blame","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"anxious","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"scared","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"coping","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"sleep","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"sad","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"crying","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"self_harm","points":0,"present":true,"reverse_scored":false,"value":0}],"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":"epds","formula_expression":"EPDS = laugh + enjoyment + self_blame + anxious + scared + coping + sleep + sad + crying + self_harm; each caller-assigned 0-3 as in Cox 1987 (laugh, enjoyment, and anxious reverse-scored in that paper; 0 is the least symptomatic published pole); max 30; Cox 1987 threshold 12/13 (at or above iff score ≥ 13)","max_score":30,"score":0},{"at_or_above_cutoff":false,"citation":{"authors":"Cox JL, Holden JM, Sagovsky R","doi":"10.1192/bjp.150.6.782","id":"cox-1987","pmid":"3651732","source":"Br J Psychiatry. 1987;150:782-786","title":"Detection of postnatal depression. Development of the 10-item Edinburgh Postnatal Depression Scale"},"components":[{"factor":"laugh","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"enjoyment","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"self_blame","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"anxious","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"scared","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"coping","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"sleep","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"sad","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"crying","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"self_harm","points":0,"present":true,"reverse_scored":false,"value":0}],"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":"epds","formula_expression":"EPDS = laugh + enjoyment + self_blame + anxious + scared + coping + sleep + sad + crying + self_harm; each caller-assigned 0-3 as in Cox 1987 (laugh, enjoyment, and anxious reverse-scored in that paper; 0 is the least symptomatic published pole); max 30; Cox 1987 threshold 12/13 (at or above iff score ≥ 13)","max_score":30,"score":0}],"path":"/api/calc/epds"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anxious":{"description":"Caller-assigned Cox 1987 EPDS item 4 (integer 0-3). Reverse-scored in that paper: anxious or worried for no good reason over the past 7 days. 0 is the least symptomatic published pole after reverse scoring; 3 is the most. magent does not interpret the item.","type":"integer"},"coping":{"description":"Caller-assigned Cox 1987 EPDS item 6 (integer 0-3): things getting on top of the respondent over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"},"crying":{"description":"Caller-assigned Cox 1987 EPDS item 9 (integer 0-3): crying from unhappiness over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"},"enjoyment":{"description":"Caller-assigned Cox 1987 EPDS item 2 (integer 0-3). Reverse-scored in that paper: looking forward with enjoyment to things over the past 7 days. 0 is the least symptomatic published pole after reverse scoring; 3 is the most. magent does not interpret the item.","type":"integer"},"laugh":{"description":"Caller-assigned Cox 1987 EPDS item 1 (integer 0-3). Reverse-scored in that paper: ability to laugh and see the funny side of things over the past 7 days. 0 is the least symptomatic published pole after reverse scoring; 3 is the most. magent does not interpret the item.","type":"integer"},"sad":{"description":"Caller-assigned Cox 1987 EPDS item 8 (integer 0-3): felt sad or miserable over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"},"scared":{"description":"Caller-assigned Cox 1987 EPDS item 5 (integer 0-3): scared or panicky for no very good reason over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"},"self_blame":{"description":"Caller-assigned Cox 1987 EPDS item 3 (integer 0-3): blamed self unnecessarily when things went wrong over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"},"self_harm":{"description":"Caller-assigned Cox 1987 EPDS item 10 (integer 0-3): thoughts of harming oneself over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"},"sleep":{"description":"Caller-assigned Cox 1987 EPDS item 7 (integer 0-3): unhappiness with difficulty sleeping over the past 7 days. Adds as published (0 least symptomatic pole, 3 most). magent does not interpret the item.","type":"integer"}},"required":["laugh","enjoyment","self_blame","anxious","scared","coping","sleep","sad","crying","self_harm"],"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},{"id":39190,"slug":"39190","resource":"https://api.magentlab.com/api/calc/eoss","description":"Sharma 2009 Edmonton Obesity Staging System (EOSS). Caller-assigned stage 0-4 with the published clinical-picture wording. magent does not assign stage from BMI or from separate medical, functional, or psychological domain scores. Not WHO BMI class. Not a diagnosis. Not a surgical-eligibility gate. magent does not examine the patient. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"eoss_stage":0},{"eoss_stage":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sharma AM, Kushner RF","doi":"10.1038/ijo.2009.2","id":"sharma-2009","pmid":"19139700","source":"Int J Obes (Lond). 2009;33(3):289-295","title":"A proposed clinical staging system for obesity"},"components":[{"factor":"stage_0","met":true},{"factor":"stage_1","met":false},{"factor":"stage_2","met":false},{"factor":"stage_3","met":false},{"factor":"stage_4","met":false}],"description":"no apparent obesity-related risk factors (e.g. BP, lipids, fasting glucose in normal range), no physical symptoms, no psychopathology, no functional limitations and/or impairment of well being","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.","eoss_stage":0,"formula":"eoss","formula_expression":"eoss_stage in {0, 1, 2, 3, 4} as assigned by the caller (Sharma 2009 Edmonton Obesity Staging System five stages). magent does not assign stage from BMI or from separate medical/functional/psychological domain scores. Not WHO BMI class. Not a surgical-eligibility gate. magent does not examine the patient."},{"citation":{"authors":"Sharma AM, Kushner RF","doi":"10.1038/ijo.2009.2","id":"sharma-2009","pmid":"19139700","source":"Int J Obes (Lond). 2009;33(3):289-295","title":"A proposed clinical staging system for obesity"},"components":[{"factor":"stage_0","met":true},{"factor":"stage_1","met":false},{"factor":"stage_2","met":false},{"factor":"stage_3","met":false},{"factor":"stage_4","met":false}],"description":"no apparent obesity-related risk factors (e.g. BP, lipids, fasting glucose in normal range), no physical symptoms, no psychopathology, no functional limitations and/or impairment of well being","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.","eoss_stage":0,"formula":"eoss","formula_expression":"eoss_stage in {0, 1, 2, 3, 4} as assigned by the caller (Sharma 2009 Edmonton Obesity Staging System five stages). magent does not assign stage from BMI or from separate medical/functional/psychological domain scores. Not WHO BMI class. Not a surgical-eligibility gate. magent does not examine the patient."}],"path":"/api/calc/eoss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"eoss_stage":{"description":"Sharma 2009 Edmonton Obesity Staging System stage 0-4 as assigned by the caller (0 no apparent obesity-related risk factors, no physical symptoms, no psychopathology, no functional limitations and/or impairment of well being; 1 obesity-related subclinical risk factor(s) OR mild physical symptoms OR mild psychopathology / mild functional limitations / mild impairment of well being; 2 established obesity-related chronic disease(s) OR moderate limitations in activities of daily living and/or well being; 3 established end-organ damage OR significant psychopathology OR significant functional limitation(s) and/or impairment of well being; 4 severe (potentially end-stage) disability/ies from obesity-related chronic diseases, severe disabling psychopathology, severe functional limitation(s) and/or severe impairment of well being). Integer 0-4 only; reject 5, -1, and non-integers. magent does not assign stage from BMI or from separate medical/functional/psychological domain scores. Not WHO BMI class. magent does not examine the patient.","type":"integer"}},"required":["eoss_stage"],"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":["eoss","obesity","staging","body-size","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:21:39.288Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:21:39.142Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"eoss_stage":0},{"eoss_stage":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sharma AM, Kushner RF","doi":"10.1038/ijo.2009.2","id":"sharma-2009","pmid":"19139700","source":"Int J Obes (Lond). 2009;33(3):289-295","title":"A proposed clinical staging system for obesity"},"components":[{"factor":"stage_0","met":true},{"factor":"stage_1","met":false},{"factor":"stage_2","met":false},{"factor":"stage_3","met":false},{"factor":"stage_4","met":false}],"description":"no apparent obesity-related risk factors (e.g. BP, lipids, fasting glucose in normal range), no physical symptoms, no psychopathology, no functional limitations and/or impairment of well being","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.","eoss_stage":0,"formula":"eoss","formula_expression":"eoss_stage in {0, 1, 2, 3, 4} as assigned by the caller (Sharma 2009 Edmonton Obesity Staging System five stages). magent does not assign stage from BMI or from separate medical/functional/psychological domain scores. Not WHO BMI class. Not a surgical-eligibility gate. magent does not examine the patient."},{"citation":{"authors":"Sharma AM, Kushner RF","doi":"10.1038/ijo.2009.2","id":"sharma-2009","pmid":"19139700","source":"Int J Obes (Lond). 2009;33(3):289-295","title":"A proposed clinical staging system for obesity"},"components":[{"factor":"stage_0","met":true},{"factor":"stage_1","met":false},{"factor":"stage_2","met":false},{"factor":"stage_3","met":false},{"factor":"stage_4","met":false}],"description":"no apparent obesity-related risk factors (e.g. BP, lipids, fasting glucose in normal range), no physical symptoms, no psychopathology, no functional limitations and/or impairment of well being","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.","eoss_stage":0,"formula":"eoss","formula_expression":"eoss_stage in {0, 1, 2, 3, 4} as assigned by the caller (Sharma 2009 Edmonton Obesity Staging System five stages). magent does not assign stage from BMI or from separate medical/functional/psychological domain scores. Not WHO BMI class. Not a surgical-eligibility gate. magent does not examine the patient."}],"path":"/api/calc/eoss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"eoss_stage":{"description":"Sharma 2009 Edmonton Obesity Staging System stage 0-4 as assigned by the caller (0 no apparent obesity-related risk factors, no physical symptoms, no psychopathology, no functional limitations and/or impairment of well being; 1 obesity-related subclinical risk factor(s) OR mild physical symptoms OR mild psychopathology / mild functional limitations / mild impairment of well being; 2 established obesity-related chronic disease(s) OR moderate limitations in activities of daily living and/or well being; 3 established end-organ damage OR significant psychopathology OR significant functional limitation(s) and/or impairment of well being; 4 severe (potentially end-stage) disability/ies from obesity-related chronic diseases, severe disabling psychopathology, severe functional limitation(s) and/or severe impairment of well being). Integer 0-4 only; reject 5, -1, and non-integers. magent does not assign stage from BMI or from separate medical/functional/psychological domain scores. Not WHO BMI class. magent does not examine the patient.","type":"integer"}},"required":["eoss_stage"],"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},{"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","x402Version":2,"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},{"id":39192,"slug":"39192","resource":"https://api.magentlab.com/api/calc/egus","description":"Brindle 2021 Edinburgh gastric ulcer score (human gastric ulcer at index OGD): age <68 → 0, 68-79 → 1, ≥80 → 2; size <1.25 cm → 0, 1.25-2.99 cm → 2, ≥3.00 cm → 3 (no 1-point size band); antral 0, non-antral 1. Total 0-6. higher_malignancy_risk iff score ≥ 3. Use only with macroscopically benign appearance and ≥6 negative biopsies. magent does not read endoscopy images. Not equine EGUS. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"location":"antral","ulcer_size_cm":1},{"age":50,"location":"antral","ulcer_size_cm":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brindle WM, Grant RK, Smith M, Suddaby M, Wallace A, Gillespie SL, Church NI, Noble CL, Penman ID, Plevris JN, Robertson AR, Watson EF, Selinger CP, Kalla R, Masterton GSM, EGAR (Edinburgh GI Audit and Research) Collaborative","doi":"10.1136/flgastro-2020-101759","id":"brindle-2021","pmid":"35295750","source":"Frontline Gastroenterol. 2021;13(2):111-118","title":"Risk stratifying gastric ulcers: development and validation of a scoring system"},"components":[{"factor":"age","points":0,"present":true,"value":50},{"factor":"ulcer_size_cm","points":0,"present":true,"value":1},{"factor":"location","points":0,"present":true,"value":"antral"}],"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":"egus","formula_expression":"EGUS = age_points + ulcer_size_points + location_points; age <68 → 0, 68-79 → 1, ≥80 → 2; size <1.25 cm → 0, 1.25-2.99 cm → 2, ≥3.00 cm → 3 (no 1-point size band); antral 0, non-antral 1; max 6; higher_malignancy_risk iff score ≥ 3 (Brindle 2021 Youden cut)","higher_malignancy_risk":false,"max_score":6,"score":0},{"citation":{"authors":"Brindle WM, Grant RK, Smith M, Suddaby M, Wallace A, Gillespie SL, Church NI, Noble CL, Penman ID, Plevris JN, Robertson AR, Watson EF, Selinger CP, Kalla R, Masterton GSM, EGAR (Edinburgh GI Audit and Research) Collaborative","doi":"10.1136/flgastro-2020-101759","id":"brindle-2021","pmid":"35295750","source":"Frontline Gastroenterol. 2021;13(2):111-118","title":"Risk stratifying gastric ulcers: development and validation of a scoring system"},"components":[{"factor":"age","points":0,"present":true,"value":50},{"factor":"ulcer_size_cm","points":0,"present":true,"value":1},{"factor":"location","points":0,"present":true,"value":"antral"}],"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":"egus","formula_expression":"EGUS = age_points + ulcer_size_points + location_points; age <68 → 0, 68-79 → 1, ≥80 → 2; size <1.25 cm → 0, 1.25-2.99 cm → 2, ≥3.00 cm → 3 (no 1-point size band); antral 0, non-antral 1; max 6; higher_malignancy_risk iff score ≥ 3 (Brindle 2021 Youden cut)","higher_malignancy_risk":false,"max_score":6,"score":0}],"path":"/api/calc/egus"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Brindle 2021: <68 → 0; 68-79 → 1; ≥80 → 2.","type":"integer"},"location":{"description":"Caller-assigned ulcer location (Brindle 2021). antral (antrum or pre-pylorus) scores 0; non-antral scores 1. Case-insensitive. magent does not read endoscopy images or assign location.","enum":["antral","non-antral"],"type":"string"},"ulcer_size_cm":{"description":"Endoscopist-estimated ulcer size in cm as assigned by the caller (Brindle 2021). <1.25 cm → 0; 1.25-2.99 cm → 2; ≥3.00 cm → 3. There is no 1-point size band. Magent clamp 0.1-40, not a published range. magent does not measure the ulcer.","type":"number"}},"required":["age","ulcer_size_cm","location"],"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":["egus","gastric-ulcer","ogd","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:16:18.288Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:16:18.142Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"location":"antral","ulcer_size_cm":1},{"age":50,"location":"antral","ulcer_size_cm":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brindle WM, Grant RK, Smith M, Suddaby M, Wallace A, Gillespie SL, Church NI, Noble CL, Penman ID, Plevris JN, Robertson AR, Watson EF, Selinger CP, Kalla R, Masterton GSM, EGAR (Edinburgh GI Audit and Research) Collaborative","doi":"10.1136/flgastro-2020-101759","id":"brindle-2021","pmid":"35295750","source":"Frontline Gastroenterol. 2021;13(2):111-118","title":"Risk stratifying gastric ulcers: development and validation of a scoring system"},"components":[{"factor":"age","points":0,"present":true,"value":50},{"factor":"ulcer_size_cm","points":0,"present":true,"value":1},{"factor":"location","points":0,"present":true,"value":"antral"}],"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":"egus","formula_expression":"EGUS = age_points + ulcer_size_points + location_points; age <68 → 0, 68-79 → 1, ≥80 → 2; size <1.25 cm → 0, 1.25-2.99 cm → 2, ≥3.00 cm → 3 (no 1-point size band); antral 0, non-antral 1; max 6; higher_malignancy_risk iff score ≥ 3 (Brindle 2021 Youden cut)","higher_malignancy_risk":false,"max_score":6,"score":0},{"citation":{"authors":"Brindle WM, Grant RK, Smith M, Suddaby M, Wallace A, Gillespie SL, Church NI, Noble CL, Penman ID, Plevris JN, Robertson AR, Watson EF, Selinger CP, Kalla R, Masterton GSM, EGAR (Edinburgh GI Audit and Research) Collaborative","doi":"10.1136/flgastro-2020-101759","id":"brindle-2021","pmid":"35295750","source":"Frontline Gastroenterol. 2021;13(2):111-118","title":"Risk stratifying gastric ulcers: development and validation of a scoring system"},"components":[{"factor":"age","points":0,"present":true,"value":50},{"factor":"ulcer_size_cm","points":0,"present":true,"value":1},{"factor":"location","points":0,"present":true,"value":"antral"}],"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":"egus","formula_expression":"EGUS = age_points + ulcer_size_points + location_points; age <68 → 0, 68-79 → 1, ≥80 → 2; size <1.25 cm → 0, 1.25-2.99 cm → 2, ≥3.00 cm → 3 (no 1-point size band); antral 0, non-antral 1; max 6; higher_malignancy_risk iff score ≥ 3 (Brindle 2021 Youden cut)","higher_malignancy_risk":false,"max_score":6,"score":0}],"path":"/api/calc/egus"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Brindle 2021: <68 → 0; 68-79 → 1; ≥80 → 2.","type":"integer"},"location":{"description":"Caller-assigned ulcer location (Brindle 2021). antral (antrum or pre-pylorus) scores 0; non-antral scores 1. Case-insensitive. magent does not read endoscopy images or assign location.","enum":["antral","non-antral"],"type":"string"},"ulcer_size_cm":{"description":"Endoscopist-estimated ulcer size in cm as assigned by the caller (Brindle 2021). <1.25 cm → 0; 1.25-2.99 cm → 2; ≥3.00 cm → 3. There is no 1-point size band. Magent clamp 0.1-40, not a published range. magent does not measure the ulcer.","type":"number"}},"required":["age","ulcer_size_cm","location"],"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},{"id":39193,"slug":"39193","resource":"https://api.magentlab.com/api/calc/egsys","description":"Del Rosso 2008 EGSYS: palpitations +4, abnormal ECG or heart disease +3, syncope during effort +3, syncope while supine +2, absence of autonomic prodromes −1, absence of predisposing and/or precipitating factors −1. Range −2 to 12. Discriminator is score ≥3 versus <3 (cardiac-syncope triage). Caller assigns six flags. Not a medical device, not a cardiac-syncope diagnosis, and magent does not take a history.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_ecg_or_heart_disease":false,"no_autonomic_prodromes":false,"no_precipitating_factors":false,"palpitations":false,"syncope_during_effort":false,"syncope_supine":false},{"abnormal_ecg_or_heart_disease":false,"no_autonomic_prodromes":false,"no_precipitating_factors":false,"palpitations":false,"syncope_during_effort":false,"syncope_supine":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Del Rosso A, Ungar A, Maggi R, Giada F, Petix NR, De Santo T, Menozzi C, Brignole M","doi":"10.1136/hrt.2008.143123","id":"del-rosso-2008","pmid":"18519550","source":"Heart. 2008;94(12):1620-1626","title":"Clinical predictors of cardiac syncope at initial evaluation in patients referred urgently to a general hospital: the EGSYS score"},"components":[{"factor":"palpitations","points":0,"present":false},{"factor":"abnormal_ecg_or_heart_disease","points":0,"present":false},{"factor":"syncope_during_effort","points":0,"present":false},{"factor":"syncope_supine","points":0,"present":false},{"factor":"no_autonomic_prodromes","points":0,"present":false},{"factor":"no_precipitating_factors","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":"egsys","formula_expression":"EGSYS = 4*palpitations + 3*abnormal_ecg_or_heart_disease + 3*syncope_during_effort + 2*syncope_supine - 1*no_autonomic_prodromes - 1*no_precipitating_factors; range -2 to 12; score_ge_3 iff total >= 3 (Del Rosso 2008)","max_score":12,"score":0,"score_ge_3":false},{"citation":{"authors":"Del Rosso A, Ungar A, Maggi R, Giada F, Petix NR, De Santo T, Menozzi C, Brignole M","doi":"10.1136/hrt.2008.143123","id":"del-rosso-2008","pmid":"18519550","source":"Heart. 2008;94(12):1620-1626","title":"Clinical predictors of cardiac syncope at initial evaluation in patients referred urgently to a general hospital: the EGSYS score"},"components":[{"factor":"palpitations","points":0,"present":false},{"factor":"abnormal_ecg_or_heart_disease","points":0,"present":false},{"factor":"syncope_during_effort","points":0,"present":false},{"factor":"syncope_supine","points":0,"present":false},{"factor":"no_autonomic_prodromes","points":0,"present":false},{"factor":"no_precipitating_factors","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":"egsys","formula_expression":"EGSYS = 4*palpitations + 3*abnormal_ecg_or_heart_disease + 3*syncope_during_effort + 2*syncope_supine - 1*no_autonomic_prodromes - 1*no_precipitating_factors; range -2 to 12; score_ge_3 iff total >= 3 (Del Rosso 2008)","max_score":12,"score":0,"score_ge_3":false}],"path":"/api/calc/egsys"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_ecg_or_heart_disease":{"description":"Abnormal ECG and/or heart disease (Del Rosso 2008, +3). true or false as assigned by the caller. magent does not read an ECG.","type":"boolean"},"no_autonomic_prodromes":{"description":"Absence of autonomic prodromes (Del Rosso 2008, −1). true or false as assigned by the caller.","type":"boolean"},"no_precipitating_factors":{"description":"Absence of predisposing and/or precipitating factors (Del Rosso 2008, −1). true or false as assigned by the caller.","type":"boolean"},"palpitations":{"description":"Palpitations preceding syncope (Del Rosso 2008, +4). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"syncope_during_effort":{"description":"Syncope during effort (Del Rosso 2008, +3). true or false as assigned by the caller.","type":"boolean"},"syncope_supine":{"description":"Syncope while supine (Del Rosso 2008, +2). true or false as assigned by the caller.","type":"boolean"}},"required":["palpitations","abnormal_ecg_or_heart_disease","syncope_during_effort","syncope_supine","no_autonomic_prodromes","no_precipitating_factors"],"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":["egsys","syncope","emergency","cardiac","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:16:16.7Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:16:16.55Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_ecg_or_heart_disease":false,"no_autonomic_prodromes":false,"no_precipitating_factors":false,"palpitations":false,"syncope_during_effort":false,"syncope_supine":false},{"abnormal_ecg_or_heart_disease":false,"no_autonomic_prodromes":false,"no_precipitating_factors":false,"palpitations":false,"syncope_during_effort":false,"syncope_supine":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Del Rosso A, Ungar A, Maggi R, Giada F, Petix NR, De Santo T, Menozzi C, Brignole M","doi":"10.1136/hrt.2008.143123","id":"del-rosso-2008","pmid":"18519550","source":"Heart. 2008;94(12):1620-1626","title":"Clinical predictors of cardiac syncope at initial evaluation in patients referred urgently to a general hospital: the EGSYS score"},"components":[{"factor":"palpitations","points":0,"present":false},{"factor":"abnormal_ecg_or_heart_disease","points":0,"present":false},{"factor":"syncope_during_effort","points":0,"present":false},{"factor":"syncope_supine","points":0,"present":false},{"factor":"no_autonomic_prodromes","points":0,"present":false},{"factor":"no_precipitating_factors","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":"egsys","formula_expression":"EGSYS = 4*palpitations + 3*abnormal_ecg_or_heart_disease + 3*syncope_during_effort + 2*syncope_supine - 1*no_autonomic_prodromes - 1*no_precipitating_factors; range -2 to 12; score_ge_3 iff total >= 3 (Del Rosso 2008)","max_score":12,"score":0,"score_ge_3":false},{"citation":{"authors":"Del Rosso A, Ungar A, Maggi R, Giada F, Petix NR, De Santo T, Menozzi C, Brignole M","doi":"10.1136/hrt.2008.143123","id":"del-rosso-2008","pmid":"18519550","source":"Heart. 2008;94(12):1620-1626","title":"Clinical predictors of cardiac syncope at initial evaluation in patients referred urgently to a general hospital: the EGSYS score"},"components":[{"factor":"palpitations","points":0,"present":false},{"factor":"abnormal_ecg_or_heart_disease","points":0,"present":false},{"factor":"syncope_during_effort","points":0,"present":false},{"factor":"syncope_supine","points":0,"present":false},{"factor":"no_autonomic_prodromes","points":0,"present":false},{"factor":"no_precipitating_factors","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":"egsys","formula_expression":"EGSYS = 4*palpitations + 3*abnormal_ecg_or_heart_disease + 3*syncope_during_effort + 2*syncope_supine - 1*no_autonomic_prodromes - 1*no_precipitating_factors; range -2 to 12; score_ge_3 iff total >= 3 (Del Rosso 2008)","max_score":12,"score":0,"score_ge_3":false}],"path":"/api/calc/egsys"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_ecg_or_heart_disease":{"description":"Abnormal ECG and/or heart disease (Del Rosso 2008, +3). true or false as assigned by the caller. magent does not read an ECG.","type":"boolean"},"no_autonomic_prodromes":{"description":"Absence of autonomic prodromes (Del Rosso 2008, −1). true or false as assigned by the caller.","type":"boolean"},"no_precipitating_factors":{"description":"Absence of predisposing and/or precipitating factors (Del Rosso 2008, −1). true or false as assigned by the caller.","type":"boolean"},"palpitations":{"description":"Palpitations preceding syncope (Del Rosso 2008, +4). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"syncope_during_effort":{"description":"Syncope during effort (Del Rosso 2008, +3). true or false as assigned by the caller.","type":"boolean"},"syncope_supine":{"description":"Syncope while supine (Del Rosso 2008, +2). true or false as assigned by the caller.","type":"boolean"}},"required":["palpitations","abnormal_ecg_or_heart_disease","syncope_during_effort","syncope_supine","no_autonomic_prodromes","no_precipitating_factors"],"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},{"id":39194,"slug":"39194","resource":"https://api.magentlab.com/api/calc/egri","description":"El-Ganzouri 1996 simplified airway risk index (0/1/2): mouth opening >4 cm=0, <=4=1; thyromental >6.5 cm=0, 6.0-6.5=1, <6.0=2; original Mallampati 1/2/3 = 0/1/2 (class 4 not used); neck >90 deg=0, 80-90=1, <80=2; can prognath true=0, false=1; weight <90 kg=0, 90-110=1, >110=2; intubation history none/questionable/definite = 0/1/2. Max 12. High risk if score >=4. Not an intubation order; magent does not examine the airway.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"can_prognath":true,"history_difficult_intubation":"none","mallampati":1,"mouth_opening_cm":5,"neck_movement_deg":100,"thyromental_cm":7,"weight_kg":70,"weight_lb":154},{"can_prognath":true,"history_difficult_intubation":"none","mallampati":1,"mouth_opening_cm":5,"neck_movement_deg":100,"thyromental_cm":7,"weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"can_prognath":true,"citation":{"authors":"el-Ganzouri AR, McCarthy RJ, Tuman KJ, Tanck EN, Ivankovich AD","doi":"10.1097/00000539-199606000-00017","id":"el-ganzouri-1996","pmid":"8638791","source":"Anesth Analg. 1996;82(6):1197-1204","title":"Preoperative airway assessment: predictive value of a multivariate risk index"},"components":[{"factor":"mouth_opening_cm","points":0,"present":false,"value":5},{"factor":"thyromental_cm","points":0,"present":false,"value":7},{"factor":"mallampati","points":0,"present":false,"value":1},{"factor":"neck_movement_deg","points":0,"present":false,"value":100},{"factor":"can_prognath","points":0,"present":false,"value":true},{"factor":"weight","points":0,"present":false,"value":70},{"factor":"history_difficult_intubation","points":0,"present":false,"value":"none"}],"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.","egri_band":"lt_4","formula":"egri","formula_expression":"EGRI = mouth_opening (>4 cm: 0, <=4 cm: 1) + thyromental (>6.5 cm: 0, 6.0-6.5: 1, <6.0: 2) + mallampati (1: 0, 2: 1, 3: 2) + neck_movement (>90 deg: 0, 80-90: 1, <80: 2) + can_prognath (true: 0, false: 1) + weight (<90 kg: 0, 90-110: 1, >110: 2) + history_difficult_intubation (none: 0, questionable: 1, definite: 2); max 12; high_risk if score >= 4","high_risk":false,"history_difficult_intubation":"none","mallampati":1,"max_score":12,"mouth_opening_cm":5,"neck_movement_deg":100,"score":0,"thyromental_cm":7,"weight_kg":70},{"can_prognath":true,"citation":{"authors":"el-Ganzouri AR, McCarthy RJ, Tuman KJ, Tanck EN, Ivankovich AD","doi":"10.1097/00000539-199606000-00017","id":"el-ganzouri-1996","pmid":"8638791","source":"Anesth Analg. 1996;82(6):1197-1204","title":"Preoperative airway assessment: predictive value of a multivariate risk index"},"components":[{"factor":"mouth_opening_cm","points":0,"present":false,"value":5},{"factor":"thyromental_cm","points":0,"present":false,"value":7},{"factor":"mallampati","points":0,"present":false,"value":1},{"factor":"neck_movement_deg","points":0,"present":false,"value":100},{"factor":"can_prognath","points":0,"present":false,"value":true},{"factor":"weight","points":0,"present":false,"value":70},{"factor":"history_difficult_intubation","points":0,"present":false,"value":"none"}],"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.","egri_band":"lt_4","formula":"egri","formula_expression":"EGRI = mouth_opening (>4 cm: 0, <=4 cm: 1) + thyromental (>6.5 cm: 0, 6.0-6.5: 1, <6.0: 2) + mallampati (1: 0, 2: 1, 3: 2) + neck_movement (>90 deg: 0, 80-90: 1, <80: 2) + can_prognath (true: 0, false: 1) + weight (<90 kg: 0, 90-110: 1, >110: 2) + history_difficult_intubation (none: 0, questionable: 1, definite: 2); max 12; high_risk if score >= 4","high_risk":false,"history_difficult_intubation":"none","mallampati":1,"max_score":12,"mouth_opening_cm":5,"neck_movement_deg":100,"score":0,"thyromental_cm":7,"weight_kg":70}],"path":"/api/calc/egri"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"can_prognath":{"description":"Ability to prognath (jaw protrusion) as assigned by the caller (El-Ganzouri 1996). true scores 0; false scores 1. true or false.","type":"boolean"},"history_difficult_intubation":{"description":"History of difficult intubation as assigned by the caller (El-Ganzouri 1996): none scores 0, questionable scores 1, definite scores 2.","enum":["none","questionable","definite"],"type":"string"},"mallampati":{"description":"Original Mallampati class 1, 2, or 3 as assigned by the caller (El-Ganzouri 1996). 1 scores 0; 2 scores 1; 3 scores 2. Samsoon class 4 is not used and is rejected.","type":"integer"},"mouth_opening_cm":{"description":"Interincisor gap in centimetres (0.5-10) as assigned by the caller. El-Ganzouri 1996: >4 cm scores 0; <=4 cm scores 1. Exactly 4.0 scores 1. magent does not measure mouth opening.","type":"number"},"neck_movement_deg":{"description":"Head and neck range of motion in degrees (0-180) as assigned by the caller. El-Ganzouri 1996: >90 scores 0; 80-90 inclusive scores 1; <80 scores 2. Exactly 90 scores 1. magent does not measure neck motion.","type":"number"},"thyromental_cm":{"description":"Thyromental distance in centimetres (2-15) as assigned by the caller. El-Ganzouri 1996: >6.5 cm scores 0; 6.0-6.5 inclusive scores 1; <6.0 cm scores 2. Exactly 6.5 scores 1.","type":"number"},"weight_kg":{"description":"Body weight in kilograms (1-500). Provide weight_kg or weight_lb. El-Ganzouri 1996: <90 kg scores 0; 90-110 inclusive scores 1; >110 kg scores 2. Exactly 90 and 110 score 1.","type":"number"},"weight_lb":{"description":"Body weight in pounds (2-1100). Converted as kg = lb × 0.45359237, then the El-Ganzouri 1996 kg bands apply. Provide weight_kg or weight_lb.","type":"number"}},"required":["mouth_opening_cm","thyromental_cm","mallampati","neck_movement_deg","can_prognath","history_difficult_intubation"],"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":["egri","airway","intubation","preoperative","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:06:27.742Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:06:27.606Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"can_prognath":true,"history_difficult_intubation":"none","mallampati":1,"mouth_opening_cm":5,"neck_movement_deg":100,"thyromental_cm":7,"weight_kg":70,"weight_lb":154},{"can_prognath":true,"history_difficult_intubation":"none","mallampati":1,"mouth_opening_cm":5,"neck_movement_deg":100,"thyromental_cm":7,"weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"can_prognath":true,"citation":{"authors":"el-Ganzouri AR, McCarthy RJ, Tuman KJ, Tanck EN, Ivankovich AD","doi":"10.1097/00000539-199606000-00017","id":"el-ganzouri-1996","pmid":"8638791","source":"Anesth Analg. 1996;82(6):1197-1204","title":"Preoperative airway assessment: predictive value of a multivariate risk index"},"components":[{"factor":"mouth_opening_cm","points":0,"present":false,"value":5},{"factor":"thyromental_cm","points":0,"present":false,"value":7},{"factor":"mallampati","points":0,"present":false,"value":1},{"factor":"neck_movement_deg","points":0,"present":false,"value":100},{"factor":"can_prognath","points":0,"present":false,"value":true},{"factor":"weight","points":0,"present":false,"value":70},{"factor":"history_difficult_intubation","points":0,"present":false,"value":"none"}],"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.","egri_band":"lt_4","formula":"egri","formula_expression":"EGRI = mouth_opening (>4 cm: 0, <=4 cm: 1) + thyromental (>6.5 cm: 0, 6.0-6.5: 1, <6.0: 2) + mallampati (1: 0, 2: 1, 3: 2) + neck_movement (>90 deg: 0, 80-90: 1, <80: 2) + can_prognath (true: 0, false: 1) + weight (<90 kg: 0, 90-110: 1, >110: 2) + history_difficult_intubation (none: 0, questionable: 1, definite: 2); max 12; high_risk if score >= 4","high_risk":false,"history_difficult_intubation":"none","mallampati":1,"max_score":12,"mouth_opening_cm":5,"neck_movement_deg":100,"score":0,"thyromental_cm":7,"weight_kg":70},{"can_prognath":true,"citation":{"authors":"el-Ganzouri AR, McCarthy RJ, Tuman KJ, Tanck EN, Ivankovich AD","doi":"10.1097/00000539-199606000-00017","id":"el-ganzouri-1996","pmid":"8638791","source":"Anesth Analg. 1996;82(6):1197-1204","title":"Preoperative airway assessment: predictive value of a multivariate risk index"},"components":[{"factor":"mouth_opening_cm","points":0,"present":false,"value":5},{"factor":"thyromental_cm","points":0,"present":false,"value":7},{"factor":"mallampati","points":0,"present":false,"value":1},{"factor":"neck_movement_deg","points":0,"present":false,"value":100},{"factor":"can_prognath","points":0,"present":false,"value":true},{"factor":"weight","points":0,"present":false,"value":70},{"factor":"history_difficult_intubation","points":0,"present":false,"value":"none"}],"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.","egri_band":"lt_4","formula":"egri","formula_expression":"EGRI = mouth_opening (>4 cm: 0, <=4 cm: 1) + thyromental (>6.5 cm: 0, 6.0-6.5: 1, <6.0: 2) + mallampati (1: 0, 2: 1, 3: 2) + neck_movement (>90 deg: 0, 80-90: 1, <80: 2) + can_prognath (true: 0, false: 1) + weight (<90 kg: 0, 90-110: 1, >110: 2) + history_difficult_intubation (none: 0, questionable: 1, definite: 2); max 12; high_risk if score >= 4","high_risk":false,"history_difficult_intubation":"none","mallampati":1,"max_score":12,"mouth_opening_cm":5,"neck_movement_deg":100,"score":0,"thyromental_cm":7,"weight_kg":70}],"path":"/api/calc/egri"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"can_prognath":{"description":"Ability to prognath (jaw protrusion) as assigned by the caller (El-Ganzouri 1996). true scores 0; false scores 1. true or false.","type":"boolean"},"history_difficult_intubation":{"description":"History of difficult intubation as assigned by the caller (El-Ganzouri 1996): none scores 0, questionable scores 1, definite scores 2.","enum":["none","questionable","definite"],"type":"string"},"mallampati":{"description":"Original Mallampati class 1, 2, or 3 as assigned by the caller (El-Ganzouri 1996). 1 scores 0; 2 scores 1; 3 scores 2. Samsoon class 4 is not used and is rejected.","type":"integer"},"mouth_opening_cm":{"description":"Interincisor gap in centimetres (0.5-10) as assigned by the caller. El-Ganzouri 1996: >4 cm scores 0; <=4 cm scores 1. Exactly 4.0 scores 1. magent does not measure mouth opening.","type":"number"},"neck_movement_deg":{"description":"Head and neck range of motion in degrees (0-180) as assigned by the caller. El-Ganzouri 1996: >90 scores 0; 80-90 inclusive scores 1; <80 scores 2. Exactly 90 scores 1. magent does not measure neck motion.","type":"number"},"thyromental_cm":{"description":"Thyromental distance in centimetres (2-15) as assigned by the caller. El-Ganzouri 1996: >6.5 cm scores 0; 6.0-6.5 inclusive scores 1; <6.0 cm scores 2. Exactly 6.5 scores 1.","type":"number"},"weight_kg":{"description":"Body weight in kilograms (1-500). Provide weight_kg or weight_lb. El-Ganzouri 1996: <90 kg scores 0; 90-110 inclusive scores 1; >110 kg scores 2. Exactly 90 and 110 score 1.","type":"number"},"weight_lb":{"description":"Body weight in pounds (2-1100). Converted as kg = lb × 0.45359237, then the El-Ganzouri 1996 kg bands apply. Provide weight_kg or weight_lb.","type":"number"}},"required":["mouth_opening_cm","thyromental_cm","mallampati","neck_movement_deg","can_prognath","history_difficult_intubation"],"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},{"id":39195,"slug":"39195","resource":"https://api.magentlab.com/api/calc/egfr_ckd_epi","description":"Cited race-free CKD-EPI 2021 creatinine eGFR. Agents must not invent eGFR from model memory; pay per request with x402 USDC on Base. Deterministic published formula with citation. Not a treatment recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":65,"creatinine_mg_dl":1.1,"creatinine_umol_l":97.2,"sex":"female"},{"age":65,"creatinine_mg_dl":1.1,"creatinine_umol_l":97.2,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"citation":{"authors":"Inker LA, Eneanya ND, Coresh J, et al.","doi":"10.1056/NEJMoa2102953","id":"inker-2021","source":"N Engl J Med. 2021;385(19):1737-1749","title":"New Creatinine- and Cystatin C-Based Equations to Estimate GFR without Race"},"creatinine_mg_dl":1.1,"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.","egfr_ml_min_1_73m2":55.8,"formula":"ckd_epi_2021_creatinine","formula_expression":"142 * min(Scr/κ,1)^α * max(Scr/κ,1)^(-1.200) * 0.9938^age * (1.012 if female)","sex":"female","units":"mL/min/1.73m2"},{"age_years":65,"citation":{"authors":"Inker LA, Eneanya ND, Coresh J, et al.","doi":"10.1056/NEJMoa2102953","id":"inker-2021","source":"N Engl J Med. 2021;385(19):1737-1749","title":"New Creatinine- and Cystatin C-Based Equations to Estimate GFR without Race"},"creatinine_mg_dl":1.1,"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.","egfr_ml_min_1_73m2":55.8,"formula":"ckd_epi_2021_creatinine","formula_expression":"142 * min(Scr/κ,1)^α * max(Scr/κ,1)^(-1.200) * 0.9938^age * (1.012 if female)","sex":"female","units":"mL/min/1.73m2"}],"path":"/api/calc/egfr_ckd_epi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). CKD-EPI 2021 is validated in adults.","type":"integer"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL. Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.","type":"number"},"sex":{"description":"Sex used by the published equation. female or male.","enum":["female","male"],"type":"string"}},"required":["age","sex"],"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":["egfr","ckd-epi","kidney","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:06:25.69Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:06:25.524Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":65,"creatinine_mg_dl":1.1,"creatinine_umol_l":97.2,"sex":"female"},{"age":65,"creatinine_mg_dl":1.1,"creatinine_umol_l":97.2,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"citation":{"authors":"Inker LA, Eneanya ND, Coresh J, et al.","doi":"10.1056/NEJMoa2102953","id":"inker-2021","source":"N Engl J Med. 2021;385(19):1737-1749","title":"New Creatinine- and Cystatin C-Based Equations to Estimate GFR without Race"},"creatinine_mg_dl":1.1,"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.","egfr_ml_min_1_73m2":55.8,"formula":"ckd_epi_2021_creatinine","formula_expression":"142 * min(Scr/κ,1)^α * max(Scr/κ,1)^(-1.200) * 0.9938^age * (1.012 if female)","sex":"female","units":"mL/min/1.73m2"},{"age_years":65,"citation":{"authors":"Inker LA, Eneanya ND, Coresh J, et al.","doi":"10.1056/NEJMoa2102953","id":"inker-2021","source":"N Engl J Med. 2021;385(19):1737-1749","title":"New Creatinine- and Cystatin C-Based Equations to Estimate GFR without Race"},"creatinine_mg_dl":1.1,"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.","egfr_ml_min_1_73m2":55.8,"formula":"ckd_epi_2021_creatinine","formula_expression":"142 * min(Scr/κ,1)^α * max(Scr/κ,1)^(-1.200) * 0.9938^age * (1.012 if female)","sex":"female","units":"mL/min/1.73m2"}],"path":"/api/calc/egfr_ckd_epi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). CKD-EPI 2021 is validated in adults.","type":"integer"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL. Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.","type":"number"},"sex":{"description":"Sex used by the published equation. female or male.","enum":["female","male"],"type":"string"}},"required":["age","sex"],"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},{"id":39196,"slug":"39196","resource":"https://api.magentlab.com/api/calc/edacs","description":"Than 2014 EDACS from age bands, male sex, known CAD or three risk factors (age 18-50 only), diaphoresis, radiation, inspiration (−4), and palpation (−6). Returns the point total (may be negative) and whether the score is <16. The paper ADP also requires ECG and 0/2h troponin, which magent does not take. Not a diagnosis or discharge order. Deterministic published arithmetic with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"diaphoresis":false,"known_cad_or_three_risk_factors":false,"pain_radiates_arm_shoulder_neck_jaw":false,"pain_reproduced_by_palpation":false,"pain_with_inspiration":false,"sex":"female"},{"age":40,"diaphoresis":false,"known_cad_or_three_risk_factors":false,"pain_radiates_arm_shoulder_neck_jaw":false,"pain_reproduced_by_palpation":false,"pain_with_inspiration":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Than M, Flaws D, Sanders S, et al.","doi":"10.1111/1742-6723.12164","id":"than-2014","pmid":"24428678","source":"Emerg Med Australas. 2014;26(1):34-44","title":"Development and validation of the Emergency Department Assessment of Chest pain Score and 2 h accelerated diagnostic protocol"},"components":[{"factor":"age","points":2,"present":true,"value":40},{"factor":"sex_male","points":0,"present":false,"value":"female"},{"factor":"known_cad_or_three_risk_factors","points":0,"present":false},{"factor":"diaphoresis","points":0,"present":false},{"factor":"pain_radiates_arm_shoulder_neck_jaw","points":0,"present":false},{"factor":"pain_with_inspiration","points":0,"present":false},{"factor":"pain_reproduced_by_palpation","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":"edacs","formula_expression":"EDACS = age (18-45:2, 46-50:4, 51-55:6, 56-60:8, 61-65:10, 66-70:12, 71-75:14, 76-80:16, 81-85:18, >=86:20) + male 6 + known_cad_or_three_risk_factors 4 if age 18-50 else 0 + diaphoresis 3 + pain_radiates_arm_shoulder_neck_jaw 5 + pain_with_inspiration -4 + pain_reproduced_by_palpation -6; score may be negative; paper ADP uses EDACS < 16 plus ECG and 0/2h troponin","score":2,"score_lt_16":true,"sex":"female"},{"age_years":40,"citation":{"authors":"Than M, Flaws D, Sanders S, et al.","doi":"10.1111/1742-6723.12164","id":"than-2014","pmid":"24428678","source":"Emerg Med Australas. 2014;26(1):34-44","title":"Development and validation of the Emergency Department Assessment of Chest pain Score and 2 h accelerated diagnostic protocol"},"components":[{"factor":"age","points":2,"present":true,"value":40},{"factor":"sex_male","points":0,"present":false,"value":"female"},{"factor":"known_cad_or_three_risk_factors","points":0,"present":false},{"factor":"diaphoresis","points":0,"present":false},{"factor":"pain_radiates_arm_shoulder_neck_jaw","points":0,"present":false},{"factor":"pain_with_inspiration","points":0,"present":false},{"factor":"pain_reproduced_by_palpation","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":"edacs","formula_expression":"EDACS = age (18-45:2, 46-50:4, 51-55:6, 56-60:8, 61-65:10, 66-70:12, 71-75:14, 76-80:16, 81-85:18, >=86:20) + male 6 + known_cad_or_three_risk_factors 4 if age 18-50 else 0 + diaphoresis 3 + pain_radiates_arm_shoulder_neck_jaw 5 + pain_with_inspiration -4 + pain_reproduced_by_palpation -6; score may be negative; paper ADP uses EDACS < 16 plus ECG and 0/2h troponin","score":2,"score_lt_16":true,"sex":"female"}],"path":"/api/calc/edacs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). 18-45 scores 2; then +2 per 5-year band through 81-85 (18); ≥86 scores 20.","type":"integer"},"diaphoresis":{"description":"Diaphoresis with the pain. true scores +3.","type":"boolean"},"known_cad_or_three_risk_factors":{"description":"Caller-assigned known CAD or ≥3 risk factors (Than 2014). Scores +4 only when age is 18-50; required even when age >50 (then 0). magent does not count risk factors. true or false.","type":"boolean"},"pain_radiates_arm_shoulder_neck_jaw":{"description":"Pain radiates to arm, shoulder, neck, or jaw. true scores +5. magent does not interpret the history.","type":"boolean"},"pain_reproduced_by_palpation":{"description":"Pain reproduced by palpation. true scores −6.","type":"boolean"},"pain_with_inspiration":{"description":"Pain occurred or worsened with inspiration. true scores −4.","type":"boolean"},"sex":{"description":"male scores 6; female scores 0.","enum":["female","male"],"type":"string"}},"required":["age","sex","known_cad_or_three_risk_factors","diaphoresis","pain_radiates_arm_shoulder_neck_jaw","pain_with_inspiration","pain_reproduced_by_palpation"],"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":["edacs","acs","chest-pain","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:06:24.339Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:06:24.094Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"diaphoresis":false,"known_cad_or_three_risk_factors":false,"pain_radiates_arm_shoulder_neck_jaw":false,"pain_reproduced_by_palpation":false,"pain_with_inspiration":false,"sex":"female"},{"age":40,"diaphoresis":false,"known_cad_or_three_risk_factors":false,"pain_radiates_arm_shoulder_neck_jaw":false,"pain_reproduced_by_palpation":false,"pain_with_inspiration":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Than M, Flaws D, Sanders S, et al.","doi":"10.1111/1742-6723.12164","id":"than-2014","pmid":"24428678","source":"Emerg Med Australas. 2014;26(1):34-44","title":"Development and validation of the Emergency Department Assessment of Chest pain Score and 2 h accelerated diagnostic protocol"},"components":[{"factor":"age","points":2,"present":true,"value":40},{"factor":"sex_male","points":0,"present":false,"value":"female"},{"factor":"known_cad_or_three_risk_factors","points":0,"present":false},{"factor":"diaphoresis","points":0,"present":false},{"factor":"pain_radiates_arm_shoulder_neck_jaw","points":0,"present":false},{"factor":"pain_with_inspiration","points":0,"present":false},{"factor":"pain_reproduced_by_palpation","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":"edacs","formula_expression":"EDACS = age (18-45:2, 46-50:4, 51-55:6, 56-60:8, 61-65:10, 66-70:12, 71-75:14, 76-80:16, 81-85:18, >=86:20) + male 6 + known_cad_or_three_risk_factors 4 if age 18-50 else 0 + diaphoresis 3 + pain_radiates_arm_shoulder_neck_jaw 5 + pain_with_inspiration -4 + pain_reproduced_by_palpation -6; score may be negative; paper ADP uses EDACS < 16 plus ECG and 0/2h troponin","score":2,"score_lt_16":true,"sex":"female"},{"age_years":40,"citation":{"authors":"Than M, Flaws D, Sanders S, et al.","doi":"10.1111/1742-6723.12164","id":"than-2014","pmid":"24428678","source":"Emerg Med Australas. 2014;26(1):34-44","title":"Development and validation of the Emergency Department Assessment of Chest pain Score and 2 h accelerated diagnostic protocol"},"components":[{"factor":"age","points":2,"present":true,"value":40},{"factor":"sex_male","points":0,"present":false,"value":"female"},{"factor":"known_cad_or_three_risk_factors","points":0,"present":false},{"factor":"diaphoresis","points":0,"present":false},{"factor":"pain_radiates_arm_shoulder_neck_jaw","points":0,"present":false},{"factor":"pain_with_inspiration","points":0,"present":false},{"factor":"pain_reproduced_by_palpation","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":"edacs","formula_expression":"EDACS = age (18-45:2, 46-50:4, 51-55:6, 56-60:8, 61-65:10, 66-70:12, 71-75:14, 76-80:16, 81-85:18, >=86:20) + male 6 + known_cad_or_three_risk_factors 4 if age 18-50 else 0 + diaphoresis 3 + pain_radiates_arm_shoulder_neck_jaw 5 + pain_with_inspiration -4 + pain_reproduced_by_palpation -6; score may be negative; paper ADP uses EDACS < 16 plus ECG and 0/2h troponin","score":2,"score_lt_16":true,"sex":"female"}],"path":"/api/calc/edacs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). 18-45 scores 2; then +2 per 5-year band through 81-85 (18); ≥86 scores 20.","type":"integer"},"diaphoresis":{"description":"Diaphoresis with the pain. true scores +3.","type":"boolean"},"known_cad_or_three_risk_factors":{"description":"Caller-assigned known CAD or ≥3 risk factors (Than 2014). Scores +4 only when age is 18-50; required even when age >50 (then 0). magent does not count risk factors. true or false.","type":"boolean"},"pain_radiates_arm_shoulder_neck_jaw":{"description":"Pain radiates to arm, shoulder, neck, or jaw. true scores +5. magent does not interpret the history.","type":"boolean"},"pain_reproduced_by_palpation":{"description":"Pain reproduced by palpation. true scores −6.","type":"boolean"},"pain_with_inspiration":{"description":"Pain occurred or worsened with inspiration. true scores −4.","type":"boolean"},"sex":{"description":"male scores 6; female scores 0.","enum":["female","male"],"type":"string"}},"required":["age","sex","known_cad_or_three_risk_factors","diaphoresis","pain_radiates_arm_shoulder_neck_jaw","pain_with_inspiration","pain_reproduced_by_palpation"],"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},{"id":39197,"slug":"39197","resource":"https://api.magentlab.com/api/calc/free_water_deficit","description":"Free water deficit from weight, sex, and measured Na using Adrogué–Madias TBW (0.6 male / 0.5 female). Deterministic published arithmetic with citation; not a water-replacement infusion protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"desired_na_mmol_l":140,"sex":"male","sodium_mmol_l":160,"weight_kg":70,"weight_lb":154.3236},{"desired_na_mmol_l":140,"sex":"male","sodium_mmol_l":160,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM200005183422006","id":"adrogue-madias-hypernatremia-2000","source":"N Engl J Med. 2000;342(20):1493-1499","title":"Hypernatremia"},"desired_na_mmol_l":140,"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":"adrogue_madias","formula_expression":"TBW_L = 0.6 * weight_kg (male) or 0.5 * weight_kg (female); free_water_deficit_l = TBW_L * (sodium_mmol_l / desired_na_mmol_l - 1)","free_water_deficit_l":6,"sex":"male","sodium_mmol_l":160,"tbw_l":42,"weight_kg":70},{"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM200005183422006","id":"adrogue-madias-hypernatremia-2000","source":"N Engl J Med. 2000;342(20):1493-1499","title":"Hypernatremia"},"desired_na_mmol_l":140,"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":"adrogue_madias","formula_expression":"TBW_L = 0.6 * weight_kg (male) or 0.5 * weight_kg (female); free_water_deficit_l = TBW_L * (sodium_mmol_l / desired_na_mmol_l - 1)","free_water_deficit_l":6,"sex":"male","sodium_mmol_l":160,"tbw_l":42,"weight_kg":70}],"path":"/api/calc/free_water_deficit"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"desired_na_mmol_l":{"description":"Target serum sodium in mmol/L (130-145), must be less than measured Na. Omitted uses 140.","type":"number"},"sex":{"description":"Sex used for TBW: 0.6 × weight (male) or 0.5 × weight (female).","enum":["female","male"],"type":"string"},"sodium_mmol_l":{"description":"Measured serum sodium in mmol/L. Range 146-190 (hypernatremia).","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sex","sodium_mmol_l"],"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":["sodium","hypernatremia","electrolytes","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:01:07.64Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:01:07.536Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"desired_na_mmol_l":140,"sex":"male","sodium_mmol_l":160,"weight_kg":70,"weight_lb":154.3236},{"desired_na_mmol_l":140,"sex":"male","sodium_mmol_l":160,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM200005183422006","id":"adrogue-madias-hypernatremia-2000","source":"N Engl J Med. 2000;342(20):1493-1499","title":"Hypernatremia"},"desired_na_mmol_l":140,"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":"adrogue_madias","formula_expression":"TBW_L = 0.6 * weight_kg (male) or 0.5 * weight_kg (female); free_water_deficit_l = TBW_L * (sodium_mmol_l / desired_na_mmol_l - 1)","free_water_deficit_l":6,"sex":"male","sodium_mmol_l":160,"tbw_l":42,"weight_kg":70},{"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM200005183422006","id":"adrogue-madias-hypernatremia-2000","source":"N Engl J Med. 2000;342(20):1493-1499","title":"Hypernatremia"},"desired_na_mmol_l":140,"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":"adrogue_madias","formula_expression":"TBW_L = 0.6 * weight_kg (male) or 0.5 * weight_kg (female); free_water_deficit_l = TBW_L * (sodium_mmol_l / desired_na_mmol_l - 1)","free_water_deficit_l":6,"sex":"male","sodium_mmol_l":160,"tbw_l":42,"weight_kg":70}],"path":"/api/calc/free_water_deficit"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"desired_na_mmol_l":{"description":"Target serum sodium in mmol/L (130-145), must be less than measured Na. Omitted uses 140.","type":"number"},"sex":{"description":"Sex used for TBW: 0.6 × weight (male) or 0.5 × weight (female).","enum":["female","male"],"type":"string"},"sodium_mmol_l":{"description":"Measured serum sodium in mmol/L. Range 146-190 (hypernatremia).","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sex","sodium_mmol_l"],"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},{"id":39198,"slug":"39198","resource":"https://api.magentlab.com/api/calc/framingham_chd","description":"Wilson 1998 Framingham 10-year CHD from sex-specific total-cholesterol point sheets: age 30-74, TC, HDL, JNC-V blood pressure, diabetes, and smoking. Deterministic published arithmetic with citation. Not a statin order, not ATP-III 2001, not pooled-cohort ASCVD. magent does not measure lipids or BP.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":30,"dbp_mm_hg":70,"diabetes":false,"hdl_mg_dl":45,"sbp_mm_hg":110,"sex":"male","smoker":false,"total_cholesterol_mg_dl":180},{"age":30,"dbp_mm_hg":70,"diabetes":false,"hdl_mg_dl":45,"sbp_mm_hg":110,"sex":"male","smoker":false,"total_cholesterol_mg_dl":180}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_band":"30-34","age_years":30,"blood_pressure_category":"optimal","cholesterol_band":"160-199","citation":{"authors":"Wilson PW, D'Agostino RB, Levy D, Belanger AM, Silbershatz H, Kannel WB","doi":"10.1161/01.CIR.97.18.1837","id":"wilson-1998","pmid":"9603539","source":"Circulation. 1998;97(18):1837-1847","title":"Prediction of coronary heart disease using risk factor categories"},"components":[{"band":"30-34","factor":"age","points":-1,"present":true,"value":30},{"band":"160-199","factor":"total_cholesterol","points":0,"present":true,"value":180},{"band":"45-59","factor":"hdl","points":0,"present":true,"value":45},{"factor":"blood_pressure","points":0,"present":true,"value":"optimal"},{"factor":"diabetes","points":0,"present":false},{"factor":"smoker","points":0,"present":false}],"dbp_mm_hg":70,"diabetes":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":"framingham_chd","formula_expression":"Wilson 1998 TC point sheets (Figs 3-4): sex-specific age + total cholesterol + HDL + JNC-V BP (higher of SBP/DBP stage) + diabetes + smoker; men age 30-34 -1, 35-39 0, 40-44 1, 45-49 2, 50-54 3, 55-59 4, 60-64 5, 65-69 6, 70-74 7; men TC <160 -3, 160-199 0, 200-239 1, 240-279 2, >=280 3; men HDL <35 2, 35-44 1, 45-59 0, >=60 -2; men BP optimal/normal 0, high-normal 1, stage I 2, stage II-IV 3; men diabetes 2, smoker 2; women age 30-34 -9, 35-39 -4, 40-44 0, 45-49 3, 50-54 6, 55-59 7, 60-74 8; women TC <160 -2, 160-199 0, 200-239 1, 240-279 1, >=280 3; women HDL <35 5, 35-44 2, 45-49 1, 50-59 0, >=60 -3; women BP optimal -3, normal/high-normal 0, stage I 2, stage II-IV 3; women diabetes 4, smoker 2; 10-year CHD % from the published point-total lookup; age 30-74; no race; not ATP-III","hdl_band":"45-59","hdl_mg_dl":45,"max_score":19,"sbp_mm_hg":110,"score":-1,"sex":"male","smoker":false,"ten_year_chd_risk_at_or_above":false,"ten_year_chd_risk_percent":2,"total_cholesterol_mg_dl":180},{"age_band":"30-34","age_years":30,"blood_pressure_category":"optimal","cholesterol_band":"160-199","citation":{"authors":"Wilson PW, D'Agostino RB, Levy D, Belanger AM, Silbershatz H, Kannel WB","doi":"10.1161/01.CIR.97.18.1837","id":"wilson-1998","pmid":"9603539","source":"Circulation. 1998;97(18):1837-1847","title":"Prediction of coronary heart disease using risk factor categories"},"components":[{"band":"30-34","factor":"age","points":-1,"present":true,"value":30},{"band":"160-199","factor":"total_cholesterol","points":0,"present":true,"value":180},{"band":"45-59","factor":"hdl","points":0,"present":true,"value":45},{"factor":"blood_pressure","points":0,"present":true,"value":"optimal"},{"factor":"diabetes","points":0,"present":false},{"factor":"smoker","points":0,"present":false}],"dbp_mm_hg":70,"diabetes":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":"framingham_chd","formula_expression":"Wilson 1998 TC point sheets (Figs 3-4): sex-specific age + total cholesterol + HDL + JNC-V BP (higher of SBP/DBP stage) + diabetes + smoker; men age 30-34 -1, 35-39 0, 40-44 1, 45-49 2, 50-54 3, 55-59 4, 60-64 5, 65-69 6, 70-74 7; men TC <160 -3, 160-199 0, 200-239 1, 240-279 2, >=280 3; men HDL <35 2, 35-44 1, 45-59 0, >=60 -2; men BP optimal/normal 0, high-normal 1, stage I 2, stage II-IV 3; men diabetes 2, smoker 2; women age 30-34 -9, 35-39 -4, 40-44 0, 45-49 3, 50-54 6, 55-59 7, 60-74 8; women TC <160 -2, 160-199 0, 200-239 1, 240-279 1, >=280 3; women HDL <35 5, 35-44 2, 45-49 1, 50-59 0, >=60 -3; women BP optimal -3, normal/high-normal 0, stage I 2, stage II-IV 3; women diabetes 4, smoker 2; 10-year CHD % from the published point-total lookup; age 30-74; no race; not ATP-III","hdl_band":"45-59","hdl_mg_dl":45,"max_score":19,"sbp_mm_hg":110,"score":-1,"sex":"male","smoker":false,"ten_year_chd_risk_at_or_above":false,"ten_year_chd_risk_percent":2,"total_cholesterol_mg_dl":180}],"path":"/api/calc/framingham_chd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years. Wilson 1998 derivation was ages 30-74; magent accepts that published range only. Sex-specific 5-year point bands from Figs 3-4.","type":"integer"},"dbp_mm_hg":{"description":"Diastolic blood pressure in mm Hg (40-150, magent clamp). JNC-V: <80 optimal, 80-84 normal, 85-89 high-normal, 90-99 stage I, >=100 stage II-IV. magent does not measure blood pressure.","type":"number"},"diabetes":{"description":"Diabetes as assigned by the caller (Wilson 1998 dichotomous). true is 2 points in men and 4 points in women. magent does not assay glucose.","type":"boolean"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150, magent clamp). Wilson 1998 HDL bands: <35, 35-44, 45-49, 50-59, >=60. magent does not assay lipids.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (70-260, magent clamp). JNC-V categories with diastolic: when SBP and DBP stages differ, use the higher point value (Wilson 1998 Fig 3-4). magent does not measure blood pressure. Not ATP-III treated vs untreated SBP.","type":"number"},"sex":{"description":"female or male. Wilson 1998 published separate point sheets. No race coefficient.","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (Wilson 1998 dichotomous). true is 2 points in both sexes. Former smoking is false. magent does not take a smoking history.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-500, magent clamp). Wilson 1998 TC bands: <160, 160-199, 200-239, 240-279, >=280. Not the LDL-C sheet. magent does not assay lipids.","type":"number"}},"required":["age","sex","total_cholesterol_mg_dl","hdl_mg_dl","sbp_mm_hg","dbp_mm_hg","diabetes","smoker"],"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":["framingham-chd","chd-risk","lipids","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:01:06.643Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:01:06.531Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":30,"dbp_mm_hg":70,"diabetes":false,"hdl_mg_dl":45,"sbp_mm_hg":110,"sex":"male","smoker":false,"total_cholesterol_mg_dl":180},{"age":30,"dbp_mm_hg":70,"diabetes":false,"hdl_mg_dl":45,"sbp_mm_hg":110,"sex":"male","smoker":false,"total_cholesterol_mg_dl":180}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_band":"30-34","age_years":30,"blood_pressure_category":"optimal","cholesterol_band":"160-199","citation":{"authors":"Wilson PW, D'Agostino RB, Levy D, Belanger AM, Silbershatz H, Kannel WB","doi":"10.1161/01.CIR.97.18.1837","id":"wilson-1998","pmid":"9603539","source":"Circulation. 1998;97(18):1837-1847","title":"Prediction of coronary heart disease using risk factor categories"},"components":[{"band":"30-34","factor":"age","points":-1,"present":true,"value":30},{"band":"160-199","factor":"total_cholesterol","points":0,"present":true,"value":180},{"band":"45-59","factor":"hdl","points":0,"present":true,"value":45},{"factor":"blood_pressure","points":0,"present":true,"value":"optimal"},{"factor":"diabetes","points":0,"present":false},{"factor":"smoker","points":0,"present":false}],"dbp_mm_hg":70,"diabetes":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":"framingham_chd","formula_expression":"Wilson 1998 TC point sheets (Figs 3-4): sex-specific age + total cholesterol + HDL + JNC-V BP (higher of SBP/DBP stage) + diabetes + smoker; men age 30-34 -1, 35-39 0, 40-44 1, 45-49 2, 50-54 3, 55-59 4, 60-64 5, 65-69 6, 70-74 7; men TC <160 -3, 160-199 0, 200-239 1, 240-279 2, >=280 3; men HDL <35 2, 35-44 1, 45-59 0, >=60 -2; men BP optimal/normal 0, high-normal 1, stage I 2, stage II-IV 3; men diabetes 2, smoker 2; women age 30-34 -9, 35-39 -4, 40-44 0, 45-49 3, 50-54 6, 55-59 7, 60-74 8; women TC <160 -2, 160-199 0, 200-239 1, 240-279 1, >=280 3; women HDL <35 5, 35-44 2, 45-49 1, 50-59 0, >=60 -3; women BP optimal -3, normal/high-normal 0, stage I 2, stage II-IV 3; women diabetes 4, smoker 2; 10-year CHD % from the published point-total lookup; age 30-74; no race; not ATP-III","hdl_band":"45-59","hdl_mg_dl":45,"max_score":19,"sbp_mm_hg":110,"score":-1,"sex":"male","smoker":false,"ten_year_chd_risk_at_or_above":false,"ten_year_chd_risk_percent":2,"total_cholesterol_mg_dl":180},{"age_band":"30-34","age_years":30,"blood_pressure_category":"optimal","cholesterol_band":"160-199","citation":{"authors":"Wilson PW, D'Agostino RB, Levy D, Belanger AM, Silbershatz H, Kannel WB","doi":"10.1161/01.CIR.97.18.1837","id":"wilson-1998","pmid":"9603539","source":"Circulation. 1998;97(18):1837-1847","title":"Prediction of coronary heart disease using risk factor categories"},"components":[{"band":"30-34","factor":"age","points":-1,"present":true,"value":30},{"band":"160-199","factor":"total_cholesterol","points":0,"present":true,"value":180},{"band":"45-59","factor":"hdl","points":0,"present":true,"value":45},{"factor":"blood_pressure","points":0,"present":true,"value":"optimal"},{"factor":"diabetes","points":0,"present":false},{"factor":"smoker","points":0,"present":false}],"dbp_mm_hg":70,"diabetes":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":"framingham_chd","formula_expression":"Wilson 1998 TC point sheets (Figs 3-4): sex-specific age + total cholesterol + HDL + JNC-V BP (higher of SBP/DBP stage) + diabetes + smoker; men age 30-34 -1, 35-39 0, 40-44 1, 45-49 2, 50-54 3, 55-59 4, 60-64 5, 65-69 6, 70-74 7; men TC <160 -3, 160-199 0, 200-239 1, 240-279 2, >=280 3; men HDL <35 2, 35-44 1, 45-59 0, >=60 -2; men BP optimal/normal 0, high-normal 1, stage I 2, stage II-IV 3; men diabetes 2, smoker 2; women age 30-34 -9, 35-39 -4, 40-44 0, 45-49 3, 50-54 6, 55-59 7, 60-74 8; women TC <160 -2, 160-199 0, 200-239 1, 240-279 1, >=280 3; women HDL <35 5, 35-44 2, 45-49 1, 50-59 0, >=60 -3; women BP optimal -3, normal/high-normal 0, stage I 2, stage II-IV 3; women diabetes 4, smoker 2; 10-year CHD % from the published point-total lookup; age 30-74; no race; not ATP-III","hdl_band":"45-59","hdl_mg_dl":45,"max_score":19,"sbp_mm_hg":110,"score":-1,"sex":"male","smoker":false,"ten_year_chd_risk_at_or_above":false,"ten_year_chd_risk_percent":2,"total_cholesterol_mg_dl":180}],"path":"/api/calc/framingham_chd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years. Wilson 1998 derivation was ages 30-74; magent accepts that published range only. Sex-specific 5-year point bands from Figs 3-4.","type":"integer"},"dbp_mm_hg":{"description":"Diastolic blood pressure in mm Hg (40-150, magent clamp). JNC-V: <80 optimal, 80-84 normal, 85-89 high-normal, 90-99 stage I, >=100 stage II-IV. magent does not measure blood pressure.","type":"number"},"diabetes":{"description":"Diabetes as assigned by the caller (Wilson 1998 dichotomous). true is 2 points in men and 4 points in women. magent does not assay glucose.","type":"boolean"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150, magent clamp). Wilson 1998 HDL bands: <35, 35-44, 45-49, 50-59, >=60. magent does not assay lipids.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (70-260, magent clamp). JNC-V categories with diastolic: when SBP and DBP stages differ, use the higher point value (Wilson 1998 Fig 3-4). magent does not measure blood pressure. Not ATP-III treated vs untreated SBP.","type":"number"},"sex":{"description":"female or male. Wilson 1998 published separate point sheets. No race coefficient.","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (Wilson 1998 dichotomous). true is 2 points in both sexes. Former smoking is false. magent does not take a smoking history.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-500, magent clamp). Wilson 1998 TC bands: <160, 160-199, 200-239, 240-279, >=280. Not the LDL-C sheet. magent does not assay lipids.","type":"number"}},"required":["age","sex","total_cholesterol_mg_dl","hdl_mg_dl","sbp_mm_hg","dbp_mm_hg","diabetes","smoker"],"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},{"id":39199,"slug":"39199","resource":"https://api.magentlab.com/api/calc/fleischner_2017","description":"MacMahon 2017 Fleischner table for one solid noncalcified incidental nodule. size_mm 1-30 and caller-assigned high_risk. <6 mm: no routine follow-up (optional CT at 12 months if high risk). 6-8 mm: CT at 6-12 months, then consider or obtain 18-24 month CT by risk. >8 mm: consider CT at 3 months, PET/CT, or tissue sampling. Not subsolid, multiple, or Lung-RADS screening. magent does not read CT. Not a diagnosis or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"high_risk":false,"size_mm":5},{"high_risk":false,"size_mm":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"MacMahon H, Naidich DP, Goo JM, Lee KS, Leung ANC, Rajendran K, Travis WD, Bankier AA","doi":"10.1148/radiol.2017161659","id":"macmahon-2017","pmid":"28240562","source":"Radiology. 2017;284(1):228-243","title":"Guidelines for Management of Incidental Pulmonary Nodules Detected on CT Images: From the Fleischner Society 2017"},"criteria":[{"factor":"size_lt_6","met":true,"value":5},{"factor":"size_6_to_8","met":false,"value":5},{"factor":"size_gt_8","met":false,"value":5},{"factor":"high_risk","met":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":"fleischner_2017","formula_expression":"Single solid noncalcified incidental nodule (MacMahon 2017): size_mm < 6 → no_routine_followup if not high_risk else optional_ct_12_months; 6 <= size_mm <= 8 → ct_6_12_then_consider_18_24 if not high_risk else ct_6_12_then_18_24; size_mm > 8 → consider_ct_3_pet_or_tissue (low or high risk). Not subsolid. Not multiple nodules. Not Lung-RADS screening. magent does not read CT.","high_risk":false,"recommendation":"no_routine_followup","size_band":"<6"},{"citation":{"authors":"MacMahon H, Naidich DP, Goo JM, Lee KS, Leung ANC, Rajendran K, Travis WD, Bankier AA","doi":"10.1148/radiol.2017161659","id":"macmahon-2017","pmid":"28240562","source":"Radiology. 2017;284(1):228-243","title":"Guidelines for Management of Incidental Pulmonary Nodules Detected on CT Images: From the Fleischner Society 2017"},"criteria":[{"factor":"size_lt_6","met":true,"value":5},{"factor":"size_6_to_8","met":false,"value":5},{"factor":"size_gt_8","met":false,"value":5},{"factor":"high_risk","met":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":"fleischner_2017","formula_expression":"Single solid noncalcified incidental nodule (MacMahon 2017): size_mm < 6 → no_routine_followup if not high_risk else optional_ct_12_months; 6 <= size_mm <= 8 → ct_6_12_then_consider_18_24 if not high_risk else ct_6_12_then_18_24; size_mm > 8 → consider_ct_3_pet_or_tissue (low or high risk). Not subsolid. Not multiple nodules. Not Lung-RADS screening. magent does not read CT.","high_risk":false,"recommendation":"no_routine_followup","size_band":"<6"}],"path":"/api/calc/fleischner_2017"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"high_risk":{"description":"High versus low clinical risk as assigned by the caller (for example heavy smoking or other published high-risk features in MacMahon 2017). true or false. magent does not compute a risk model.","type":"boolean"},"size_mm":{"description":"Average diameter in millimetres of a single solid noncalcified incidental nodule (1-30). MacMahon 2017 bands: <6, 6-8, and >8. magent does not measure the nodule or read CT.","type":"number"}},"required":["size_mm","high_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":["fleischner-2017","nodule","respiratory","incidental","ct","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T03:01:05.878Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T03:01:05.709Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"high_risk":false,"size_mm":5},{"high_risk":false,"size_mm":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"MacMahon H, Naidich DP, Goo JM, Lee KS, Leung ANC, Rajendran K, Travis WD, Bankier AA","doi":"10.1148/radiol.2017161659","id":"macmahon-2017","pmid":"28240562","source":"Radiology. 2017;284(1):228-243","title":"Guidelines for Management of Incidental Pulmonary Nodules Detected on CT Images: From the Fleischner Society 2017"},"criteria":[{"factor":"size_lt_6","met":true,"value":5},{"factor":"size_6_to_8","met":false,"value":5},{"factor":"size_gt_8","met":false,"value":5},{"factor":"high_risk","met":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":"fleischner_2017","formula_expression":"Single solid noncalcified incidental nodule (MacMahon 2017): size_mm < 6 → no_routine_followup if not high_risk else optional_ct_12_months; 6 <= size_mm <= 8 → ct_6_12_then_consider_18_24 if not high_risk else ct_6_12_then_18_24; size_mm > 8 → consider_ct_3_pet_or_tissue (low or high risk). Not subsolid. Not multiple nodules. Not Lung-RADS screening. magent does not read CT.","high_risk":false,"recommendation":"no_routine_followup","size_band":"<6"},{"citation":{"authors":"MacMahon H, Naidich DP, Goo JM, Lee KS, Leung ANC, Rajendran K, Travis WD, Bankier AA","doi":"10.1148/radiol.2017161659","id":"macmahon-2017","pmid":"28240562","source":"Radiology. 2017;284(1):228-243","title":"Guidelines for Management of Incidental Pulmonary Nodules Detected on CT Images: From the Fleischner Society 2017"},"criteria":[{"factor":"size_lt_6","met":true,"value":5},{"factor":"size_6_to_8","met":false,"value":5},{"factor":"size_gt_8","met":false,"value":5},{"factor":"high_risk","met":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":"fleischner_2017","formula_expression":"Single solid noncalcified incidental nodule (MacMahon 2017): size_mm < 6 → no_routine_followup if not high_risk else optional_ct_12_months; 6 <= size_mm <= 8 → ct_6_12_then_consider_18_24 if not high_risk else ct_6_12_then_18_24; size_mm > 8 → consider_ct_3_pet_or_tissue (low or high risk). Not subsolid. Not multiple nodules. Not Lung-RADS screening. magent does not read CT.","high_risk":false,"recommendation":"no_routine_followup","size_band":"<6"}],"path":"/api/calc/fleischner_2017"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"high_risk":{"description":"High versus low clinical risk as assigned by the caller (for example heavy smoking or other published high-risk features in MacMahon 2017). true or false. magent does not compute a risk model.","type":"boolean"},"size_mm":{"description":"Average diameter in millimetres of a single solid noncalcified incidental nodule (1-30). MacMahon 2017 bands: <6, 6-8, and >8. magent does not measure the nodule or read CT.","type":"number"}},"required":["size_mm","high_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},{"id":39200,"slug":"39200","resource":"https://api.magentlab.com/api/calc/fena","description":"Fractional excretion of sodium (FENa) from plasma and urine sodium and creatinine. Espinel 1976 oliguric ARF strata. Deterministic published formula with citation; not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"creatinine_mg_dl":2,"creatinine_umol_l":176.84,"sodium_mmol_l":140,"urine_creatinine_mg_dl":100,"urine_creatinine_umol_l":8842,"urine_sodium_mmol_l":20},{"creatinine_mg_dl":2,"creatinine_umol_l":176.84,"sodium_mmol_l":140,"urine_creatinine_mg_dl":100,"urine_creatinine_umol_l":8842,"urine_sodium_mmol_l":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Espinel CH","doi":"10.1001/jama.1976.03270060029022","id":"espinel-1976","source":"JAMA. 1976;236(6):579-581","title":"The FENa test. Use in the differential diagnosis of acute renal failure"},"creatinine_mg_dl":2,"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.","espinel_stratum":"prerenal","fena_percent":0.29,"formula":"fena","formula_expression":"FENa_percent = 100 * (urine_sodium_mmol_l * plasma_creatinine_mg_dl) / (plasma_sodium_mmol_l * urine_creatinine_mg_dl)","sodium_mmol_l":140,"urine_creatinine_mg_dl":100,"urine_sodium_mmol_l":20},{"citation":{"authors":"Espinel CH","doi":"10.1001/jama.1976.03270060029022","id":"espinel-1976","source":"JAMA. 1976;236(6):579-581","title":"The FENa test. Use in the differential diagnosis of acute renal failure"},"creatinine_mg_dl":2,"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.","espinel_stratum":"prerenal","fena_percent":0.29,"formula":"fena","formula_expression":"FENa_percent = 100 * (urine_sodium_mmol_l * plasma_creatinine_mg_dl) / (plasma_sodium_mmol_l * urine_creatinine_mg_dl)","sodium_mmol_l":140,"urine_creatinine_mg_dl":100,"urine_sodium_mmol_l":20}],"path":"/api/calc/fena"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_mg_dl":{"description":"Plasma creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Plasma creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"sodium_mmol_l":{"description":"Plasma or serum sodium in mmol/L (110-160).","type":"number"},"urine_creatinine_mg_dl":{"description":"Urine creatinine in mg/dL (1-500). Provide this or urine_creatinine_umol_l.","type":"number"},"urine_creatinine_umol_l":{"description":"Urine creatinine in µmol/L (88-44210). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"urine_sodium_mmol_l":{"description":"Urine sodium in mmol/L (1-300).","type":"number"}},"required":["sodium_mmol_l","urine_sodium_mmol_l"],"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":["fena","kidney","aki","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:56:15.73Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:56:15.591Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"creatinine_mg_dl":2,"creatinine_umol_l":176.84,"sodium_mmol_l":140,"urine_creatinine_mg_dl":100,"urine_creatinine_umol_l":8842,"urine_sodium_mmol_l":20},{"creatinine_mg_dl":2,"creatinine_umol_l":176.84,"sodium_mmol_l":140,"urine_creatinine_mg_dl":100,"urine_creatinine_umol_l":8842,"urine_sodium_mmol_l":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Espinel CH","doi":"10.1001/jama.1976.03270060029022","id":"espinel-1976","source":"JAMA. 1976;236(6):579-581","title":"The FENa test. Use in the differential diagnosis of acute renal failure"},"creatinine_mg_dl":2,"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.","espinel_stratum":"prerenal","fena_percent":0.29,"formula":"fena","formula_expression":"FENa_percent = 100 * (urine_sodium_mmol_l * plasma_creatinine_mg_dl) / (plasma_sodium_mmol_l * urine_creatinine_mg_dl)","sodium_mmol_l":140,"urine_creatinine_mg_dl":100,"urine_sodium_mmol_l":20},{"citation":{"authors":"Espinel CH","doi":"10.1001/jama.1976.03270060029022","id":"espinel-1976","source":"JAMA. 1976;236(6):579-581","title":"The FENa test. Use in the differential diagnosis of acute renal failure"},"creatinine_mg_dl":2,"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.","espinel_stratum":"prerenal","fena_percent":0.29,"formula":"fena","formula_expression":"FENa_percent = 100 * (urine_sodium_mmol_l * plasma_creatinine_mg_dl) / (plasma_sodium_mmol_l * urine_creatinine_mg_dl)","sodium_mmol_l":140,"urine_creatinine_mg_dl":100,"urine_sodium_mmol_l":20}],"path":"/api/calc/fena"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_mg_dl":{"description":"Plasma creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Plasma creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"sodium_mmol_l":{"description":"Plasma or serum sodium in mmol/L (110-160).","type":"number"},"urine_creatinine_mg_dl":{"description":"Urine creatinine in mg/dL (1-500). Provide this or urine_creatinine_umol_l.","type":"number"},"urine_creatinine_umol_l":{"description":"Urine creatinine in µmol/L (88-44210). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"urine_sodium_mmol_l":{"description":"Urine sodium in mmol/L (1-300).","type":"number"}},"required":["sodium_mmol_l","urine_sodium_mmol_l"],"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},{"id":39201,"slug":"39201","resource":"https://api.magentlab.com/api/calc/evendo","description":"Dong 2019 EVendo score for screening high-risk esophageal varices. A = (8.5 * INR) + (AST/35); B = (platelets/150) + (BUN/20) + (hemoglobin/15); score = A/B + 1 if ascites. US conventional units. Round to 2 decimals. Published cutoff strictly below 3.90. magent clamps: INR 0.8-4.0, AST 5-4000 U/L, platelets 10-800 k/uL, BUN 2-150 mg/dL, hemoglobin 4-20 g/dL. Not a varices diagnosis or endoscopy order. magent does not assay labs. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ascites":false,"ast_u_l":35,"bun_mg_dl":20,"hemoglobin_g_dl":15,"inr":1,"platelets_k_ul":150},{"ascites":false,"ast_u_l":35,"bun_mg_dl":20,"hemoglobin_g_dl":15,"inr":1,"platelets_k_ul":150}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ascites":false,"ast_u_l":35,"below_cutoff_3_90":true,"bun_mg_dl":20,"citation":{"authors":"Dong TS, Kalani A, Aby ES, Le L, Luu K, Hauer M, Kamath R, Lindor KD, Tabibian JH","doi":"10.1016/j.cgh.2019.01.025","id":"dong-2019","pmid":"30708109","source":"Clin Gastroenterol Hepatol. 2019;17(9):1894-1901.e1","title":"Machine learning-based development and validation of a scoring system for screening high-risk esophageal varices"},"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.","evendo":3.17,"formula":"evendo","formula_expression":"A = (8.5 * inr) + (ast_u_l / 35); B = (platelets_k_ul / 150) + (bun_mg_dl / 20) + (hemoglobin_g_dl / 15); evendo = A / B + (1 if ascites else 0); cutoff strictly below 3.90 (Dong 2019)","hemoglobin_g_dl":15,"inr":1,"platelets_k_ul":150},{"ascites":false,"ast_u_l":35,"below_cutoff_3_90":true,"bun_mg_dl":20,"citation":{"authors":"Dong TS, Kalani A, Aby ES, Le L, Luu K, Hauer M, Kamath R, Lindor KD, Tabibian JH","doi":"10.1016/j.cgh.2019.01.025","id":"dong-2019","pmid":"30708109","source":"Clin Gastroenterol Hepatol. 2019;17(9):1894-1901.e1","title":"Machine learning-based development and validation of a scoring system for screening high-risk esophageal varices"},"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.","evendo":3.17,"formula":"evendo","formula_expression":"A = (8.5 * inr) + (ast_u_l / 35); B = (platelets_k_ul / 150) + (bun_mg_dl / 20) + (hemoglobin_g_dl / 15); evendo = A / B + (1 if ascites else 0); cutoff strictly below 3.90 (Dong 2019)","hemoglobin_g_dl":15,"inr":1,"platelets_k_ul":150}],"path":"/api/calc/evendo"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ascites":{"description":"Clinically evident ascites as assigned by the caller (Dong 2019). true adds 1 to the score; false adds 0. true or false. magent does not examine the abdomen.","type":"boolean"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (5-4000, magent clamp). US conventional units as in Dong 2019. Rejects non-positive AST. magent does not assay AST.","type":"number"},"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (2-150, magent clamp). US conventional units as in Dong 2019. Rejects non-positive BUN. magent does not assay BUN.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (4-20, magent clamp). US conventional units as in Dong 2019. Rejects non-positive hemoglobin. magent does not assay hemoglobin.","type":"number"},"inr":{"description":"International normalized ratio (0.8-4.0, magent clamp). Dong 2019 uses INR. Rejects non-positive INR. magent does not assay coagulation.","type":"number"},"platelets_k_ul":{"description":"Platelet count in 10^3/µL (10-800, magent clamp), the same unit as 10^9/L. US conventional units as in Dong 2019. Rejects non-positive platelets. magent does not assay platelets.","type":"number"}},"required":["inr","ast_u_l","platelets_k_ul","bun_mg_dl","hemoglobin_g_dl","ascites"],"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":["evendo","varices","liver","cirrhosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:56:14.291Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:56:14.166Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ascites":false,"ast_u_l":35,"bun_mg_dl":20,"hemoglobin_g_dl":15,"inr":1,"platelets_k_ul":150},{"ascites":false,"ast_u_l":35,"bun_mg_dl":20,"hemoglobin_g_dl":15,"inr":1,"platelets_k_ul":150}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ascites":false,"ast_u_l":35,"below_cutoff_3_90":true,"bun_mg_dl":20,"citation":{"authors":"Dong TS, Kalani A, Aby ES, Le L, Luu K, Hauer M, Kamath R, Lindor KD, Tabibian JH","doi":"10.1016/j.cgh.2019.01.025","id":"dong-2019","pmid":"30708109","source":"Clin Gastroenterol Hepatol. 2019;17(9):1894-1901.e1","title":"Machine learning-based development and validation of a scoring system for screening high-risk esophageal varices"},"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.","evendo":3.17,"formula":"evendo","formula_expression":"A = (8.5 * inr) + (ast_u_l / 35); B = (platelets_k_ul / 150) + (bun_mg_dl / 20) + (hemoglobin_g_dl / 15); evendo = A / B + (1 if ascites else 0); cutoff strictly below 3.90 (Dong 2019)","hemoglobin_g_dl":15,"inr":1,"platelets_k_ul":150},{"ascites":false,"ast_u_l":35,"below_cutoff_3_90":true,"bun_mg_dl":20,"citation":{"authors":"Dong TS, Kalani A, Aby ES, Le L, Luu K, Hauer M, Kamath R, Lindor KD, Tabibian JH","doi":"10.1016/j.cgh.2019.01.025","id":"dong-2019","pmid":"30708109","source":"Clin Gastroenterol Hepatol. 2019;17(9):1894-1901.e1","title":"Machine learning-based development and validation of a scoring system for screening high-risk esophageal varices"},"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.","evendo":3.17,"formula":"evendo","formula_expression":"A = (8.5 * inr) + (ast_u_l / 35); B = (platelets_k_ul / 150) + (bun_mg_dl / 20) + (hemoglobin_g_dl / 15); evendo = A / B + (1 if ascites else 0); cutoff strictly below 3.90 (Dong 2019)","hemoglobin_g_dl":15,"inr":1,"platelets_k_ul":150}],"path":"/api/calc/evendo"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ascites":{"description":"Clinically evident ascites as assigned by the caller (Dong 2019). true adds 1 to the score; false adds 0. true or false. magent does not examine the abdomen.","type":"boolean"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (5-4000, magent clamp). US conventional units as in Dong 2019. Rejects non-positive AST. magent does not assay AST.","type":"number"},"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (2-150, magent clamp). US conventional units as in Dong 2019. Rejects non-positive BUN. magent does not assay BUN.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (4-20, magent clamp). US conventional units as in Dong 2019. Rejects non-positive hemoglobin. magent does not assay hemoglobin.","type":"number"},"inr":{"description":"International normalized ratio (0.8-4.0, magent clamp). Dong 2019 uses INR. Rejects non-positive INR. magent does not assay coagulation.","type":"number"},"platelets_k_ul":{"description":"Platelet count in 10^3/µL (10-800, magent clamp), the same unit as 10^9/L. US conventional units as in Dong 2019. Rejects non-positive platelets. magent does not assay platelets.","type":"number"}},"required":["inr","ast_u_l","platelets_k_ul","bun_mg_dl","hemoglobin_g_dl","ascites"],"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},{"id":39202,"slug":"39202","resource":"https://api.magentlab.com/api/calc/duke_treadmill","description":"Mark 1991 Duke treadmill score: duke_treadmill_score = exercise_min - (5 * st_deviation_mm) - (4 * angina_index), 1 decimal. Angina index 0 none, 1 nonlimiting, 2 exercise-limiting. High if score < -10, moderate -10 to 4, low >= 5. Not a catheterization order, CAD diagnosis, or Bruce-protocol prescription. magent does not read the ECG.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"angina_index":0,"exercise_min":10,"st_deviation_mm":1},{"angina_index":0,"exercise_min":10,"st_deviation_mm":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"angina_index":0,"citation":{"authors":"Mark DB, Shaw L, Harrell FE Jr, Hlatky MA, Lee KL, Bengtson JR, McCants CB, Califf RM, Pryor DB","doi":"10.1056/NEJM199109193251204","id":"mark-1991","pmid":"1875969","source":"N Engl J Med. 1991;325(12):849-853","title":"Prognostic value of a treadmill exercise score in outpatients with suspected coronary artery disease"},"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.","duke_band":"low","duke_treadmill_score":5,"exercise_min":10,"formula":"duke_treadmill","formula_expression":"duke_treadmill_score = exercise_min - (5 * st_deviation_mm) - (4 * angina_index)","st_deviation_mm":1},{"angina_index":0,"citation":{"authors":"Mark DB, Shaw L, Harrell FE Jr, Hlatky MA, Lee KL, Bengtson JR, McCants CB, Califf RM, Pryor DB","doi":"10.1056/NEJM199109193251204","id":"mark-1991","pmid":"1875969","source":"N Engl J Med. 1991;325(12):849-853","title":"Prognostic value of a treadmill exercise score in outpatients with suspected coronary artery disease"},"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.","duke_band":"low","duke_treadmill_score":5,"exercise_min":10,"formula":"duke_treadmill","formula_expression":"duke_treadmill_score = exercise_min - (5 * st_deviation_mm) - (4 * angina_index)","st_deviation_mm":1}],"path":"/api/calc/duke_treadmill"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"angina_index":{"description":"Mark 1991 angina index: 0 no angina during exercise, 1 nonlimiting angina, 2 exercise-limiting angina. Integer 0, 1, or 2.","enum":[0,1,2],"type":"integer"},"exercise_min":{"description":"Bruce-protocol exercise duration in minutes (number 0-21). Mark 1991. Not a Bruce-protocol prescription.","type":"number"},"st_deviation_mm":{"description":"Maximal net ST-segment deviation during or after exercise in millimetres (number 0-10). Mark 1991. magent does not read the ECG.","type":"number"}},"required":["exercise_min","st_deviation_mm","angina_index"],"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":["duke-treadmill","acs","exercise","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:56:12.973Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:56:12.827Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"angina_index":0,"exercise_min":10,"st_deviation_mm":1},{"angina_index":0,"exercise_min":10,"st_deviation_mm":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"angina_index":0,"citation":{"authors":"Mark DB, Shaw L, Harrell FE Jr, Hlatky MA, Lee KL, Bengtson JR, McCants CB, Califf RM, Pryor DB","doi":"10.1056/NEJM199109193251204","id":"mark-1991","pmid":"1875969","source":"N Engl J Med. 1991;325(12):849-853","title":"Prognostic value of a treadmill exercise score in outpatients with suspected coronary artery disease"},"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.","duke_band":"low","duke_treadmill_score":5,"exercise_min":10,"formula":"duke_treadmill","formula_expression":"duke_treadmill_score = exercise_min - (5 * st_deviation_mm) - (4 * angina_index)","st_deviation_mm":1},{"angina_index":0,"citation":{"authors":"Mark DB, Shaw L, Harrell FE Jr, Hlatky MA, Lee KL, Bengtson JR, McCants CB, Califf RM, Pryor DB","doi":"10.1056/NEJM199109193251204","id":"mark-1991","pmid":"1875969","source":"N Engl J Med. 1991;325(12):849-853","title":"Prognostic value of a treadmill exercise score in outpatients with suspected coronary artery disease"},"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.","duke_band":"low","duke_treadmill_score":5,"exercise_min":10,"formula":"duke_treadmill","formula_expression":"duke_treadmill_score = exercise_min - (5 * st_deviation_mm) - (4 * angina_index)","st_deviation_mm":1}],"path":"/api/calc/duke_treadmill"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"angina_index":{"description":"Mark 1991 angina index: 0 no angina during exercise, 1 nonlimiting angina, 2 exercise-limiting angina. Integer 0, 1, or 2.","enum":[0,1,2],"type":"integer"},"exercise_min":{"description":"Bruce-protocol exercise duration in minutes (number 0-21). Mark 1991. Not a Bruce-protocol prescription.","type":"number"},"st_deviation_mm":{"description":"Maximal net ST-segment deviation during or after exercise in millimetres (number 0-10). Mark 1991. magent does not read the ECG.","type":"number"}},"required":["exercise_min","st_deviation_mm","angina_index"],"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},{"id":39203,"slug":"39203","resource":"https://api.magentlab.com/api/calc/duke","description":"Durack 1994 original Duke criteria for infective endocarditis. Definite if pathologic_definite or clinical_definite (2 major, or 1 major plus 3 minor, or 5 minor); else rejected if any rejected flag; else possible. Suggestive echo and suggestive micro are not double-counted with the matching major. Caller assigns flags. magent does not examine the patient, read an echocardiogram, or interpret cultures. Not Li 2000 modified Duke. Not ISCVID 2023. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"major_positive_echo":true,"major_typical_blood_culture":true,"minor_fever":false,"minor_immunologic_phenomena":false,"minor_predisposition":false,"minor_suggestive_echo":false,"minor_suggestive_micro":false,"minor_vascular_phenomena":false,"pathologic_definite":false,"rejected_firm_alternate_diagnosis":false,"rejected_no_pathology_le_4_days_antibiotics":false,"rejected_resolved_le_4_days_antibiotics":false},{"major_positive_echo":true,"major_typical_blood_culture":true,"minor_fever":false,"minor_immunologic_phenomena":false,"minor_predisposition":false,"minor_suggestive_echo":false,"minor_suggestive_micro":false,"minor_vascular_phenomena":false,"pathologic_definite":false,"rejected_firm_alternate_diagnosis":false,"rejected_no_pathology_le_4_days_antibiotics":false,"rejected_resolved_le_4_days_antibiotics":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Durack DT, Lukes AS, Bright DK","doi":"10.1016/0002-9343(94)90143-0","id":"durack-1994","pmid":"8154507","source":"Am J Med. 1994;96(3):200-209","title":"New criteria for diagnosis of infective endocarditis: utilization of specific echocardiographic findings. Duke Endocarditis Service"},"classification":"definite","criteria":[{"factor":"pathologic_definite","met":false},{"factor":"major_typical_blood_culture","met":true},{"factor":"major_positive_echo","met":true},{"factor":"minor_predisposition","met":false},{"factor":"minor_fever","met":false},{"factor":"minor_vascular_phenomena","met":false},{"factor":"minor_immunologic_phenomena","met":false},{"factor":"minor_suggestive_echo","met":false},{"factor":"minor_suggestive_micro","met":false},{"factor":"rejected_firm_alternate_diagnosis","met":false},{"factor":"rejected_resolved_le_4_days_antibiotics","met":false},{"factor":"rejected_no_pathology_le_4_days_antibiotics","met":false},{"factor":"clinical_definite","met":true},{"factor":"rejected","met":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":"duke","formula_expression":"definite iff pathologic_definite or clinical_definite; clinical_definite iff major_count >= 2 or (major_count >= 1 and minor_count >= 3) or minor_count >= 5; else rejected if any rejected flag; else possible (Durack 1994 original Duke). minor_suggestive_echo is not counted when major_positive_echo is true; minor_suggestive_micro is not counted when major_typical_blood_culture is true. Not Li 2000. Not ISCVID 2023","major_count":2,"minor_count":0},{"citation":{"authors":"Durack DT, Lukes AS, Bright DK","doi":"10.1016/0002-9343(94)90143-0","id":"durack-1994","pmid":"8154507","source":"Am J Med. 1994;96(3):200-209","title":"New criteria for diagnosis of infective endocarditis: utilization of specific echocardiographic findings. Duke Endocarditis Service"},"classification":"definite","criteria":[{"factor":"pathologic_definite","met":false},{"factor":"major_typical_blood_culture","met":true},{"factor":"major_positive_echo","met":true},{"factor":"minor_predisposition","met":false},{"factor":"minor_fever","met":false},{"factor":"minor_vascular_phenomena","met":false},{"factor":"minor_immunologic_phenomena","met":false},{"factor":"minor_suggestive_echo","met":false},{"factor":"minor_suggestive_micro","met":false},{"factor":"rejected_firm_alternate_diagnosis","met":false},{"factor":"rejected_resolved_le_4_days_antibiotics","met":false},{"factor":"rejected_no_pathology_le_4_days_antibiotics","met":false},{"factor":"clinical_definite","met":true},{"factor":"rejected","met":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":"duke","formula_expression":"definite iff pathologic_definite or clinical_definite; clinical_definite iff major_count >= 2 or (major_count >= 1 and minor_count >= 3) or minor_count >= 5; else rejected if any rejected flag; else possible (Durack 1994 original Duke). minor_suggestive_echo is not counted when major_positive_echo is true; minor_suggestive_micro is not counted when major_typical_blood_culture is true. Not Li 2000. Not ISCVID 2023","major_count":2,"minor_count":0}],"path":"/api/calc/duke"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"major_positive_echo":{"description":"Positive echocardiogram for IE: oscillating mass or vegetation, abscess, new partial dehiscence of a prosthetic valve, or new valvular regurgitation (Durack 1994 major). true or false as assigned by the caller. magent does not read an echocardiogram.","type":"boolean"},"major_typical_blood_culture":{"description":"Typical microorganism from two separate blood cultures, or persistently positive blood cultures, as assigned by the caller (Durack 1994 major typical blood culture). true or false. magent does not interpret cultures.","type":"boolean"},"minor_fever":{"description":"Fever ≥38.0 C (Durack 1994 minor). true or false as assigned by the caller. magent does not measure temperature.","type":"boolean"},"minor_immunologic_phenomena":{"description":"Immunologic phenomena (Durack 1994 minor): glomerulonephritis, Osler nodes, Roth spots, or rheumatoid factor, as assigned by the caller. magent does not examine the patient.","type":"boolean"},"minor_predisposition":{"description":"Predisposing heart condition or intravenous drug use (Durack 1994 minor). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"minor_suggestive_echo":{"description":"Echocardiogram consistent with IE but not meeting the major echo definition (Durack 1994 minor). true or false as assigned by the caller. Not counted in minor_count when major_positive_echo is true. magent does not read an echocardiogram.","type":"boolean"},"minor_suggestive_micro":{"description":"Microbiologic evidence not meeting the major culture definition (Durack 1994 minor). true or false as assigned by the caller. Not counted in minor_count when major_typical_blood_culture is true. magent does not interpret cultures.","type":"boolean"},"minor_vascular_phenomena":{"description":"Vascular phenomena (Durack 1994 minor): major arterial emboli, septic pulmonary infarcts, mycotic aneurysm, intracranial hemorrhage, conjunctival hemorrhages, or Janeway lesions, as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pathologic_definite":{"description":"Microorganisms demonstrated by culture or histology in a vegetation, embolus, or intracardiac abscess, or pathologic lesions (vegetation or abscess) confirmed by histology showing active endocarditis (Durack 1994 pathologic definite). true or false as assigned by the caller. magent does not examine tissue.","type":"boolean"},"rejected_firm_alternate_diagnosis":{"description":"Firm alternate diagnosis explaining evidence of IE (Durack 1994 rejected). true or false as assigned by the caller. Classification is rejected only when definite does not hold.","type":"boolean"},"rejected_no_pathology_le_4_days_antibiotics":{"description":"No pathologic evidence of IE at surgery or autopsy after antibiotic therapy for 4 days or less (Durack 1994 rejected). true or false as assigned by the caller. magent does not examine tissue.","type":"boolean"},"rejected_resolved_le_4_days_antibiotics":{"description":"Manifestations of IE resolved with antibiotic therapy for 4 days or less (Durack 1994 rejected). true or false as assigned by the caller.","type":"boolean"}},"required":["pathologic_definite","major_typical_blood_culture","major_positive_echo","minor_predisposition","minor_fever","minor_vascular_phenomena","minor_immunologic_phenomena","minor_suggestive_echo","minor_suggestive_micro","rejected_firm_alternate_diagnosis","rejected_resolved_le_4_days_antibiotics","rejected_no_pathology_le_4_days_antibiotics"],"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":["duke","endocarditis","infection","ie","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:51:02.364Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:51:02.236Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"major_positive_echo":true,"major_typical_blood_culture":true,"minor_fever":false,"minor_immunologic_phenomena":false,"minor_predisposition":false,"minor_suggestive_echo":false,"minor_suggestive_micro":false,"minor_vascular_phenomena":false,"pathologic_definite":false,"rejected_firm_alternate_diagnosis":false,"rejected_no_pathology_le_4_days_antibiotics":false,"rejected_resolved_le_4_days_antibiotics":false},{"major_positive_echo":true,"major_typical_blood_culture":true,"minor_fever":false,"minor_immunologic_phenomena":false,"minor_predisposition":false,"minor_suggestive_echo":false,"minor_suggestive_micro":false,"minor_vascular_phenomena":false,"pathologic_definite":false,"rejected_firm_alternate_diagnosis":false,"rejected_no_pathology_le_4_days_antibiotics":false,"rejected_resolved_le_4_days_antibiotics":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Durack DT, Lukes AS, Bright DK","doi":"10.1016/0002-9343(94)90143-0","id":"durack-1994","pmid":"8154507","source":"Am J Med. 1994;96(3):200-209","title":"New criteria for diagnosis of infective endocarditis: utilization of specific echocardiographic findings. Duke Endocarditis Service"},"classification":"definite","criteria":[{"factor":"pathologic_definite","met":false},{"factor":"major_typical_blood_culture","met":true},{"factor":"major_positive_echo","met":true},{"factor":"minor_predisposition","met":false},{"factor":"minor_fever","met":false},{"factor":"minor_vascular_phenomena","met":false},{"factor":"minor_immunologic_phenomena","met":false},{"factor":"minor_suggestive_echo","met":false},{"factor":"minor_suggestive_micro","met":false},{"factor":"rejected_firm_alternate_diagnosis","met":false},{"factor":"rejected_resolved_le_4_days_antibiotics","met":false},{"factor":"rejected_no_pathology_le_4_days_antibiotics","met":false},{"factor":"clinical_definite","met":true},{"factor":"rejected","met":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":"duke","formula_expression":"definite iff pathologic_definite or clinical_definite; clinical_definite iff major_count >= 2 or (major_count >= 1 and minor_count >= 3) or minor_count >= 5; else rejected if any rejected flag; else possible (Durack 1994 original Duke). minor_suggestive_echo is not counted when major_positive_echo is true; minor_suggestive_micro is not counted when major_typical_blood_culture is true. Not Li 2000. Not ISCVID 2023","major_count":2,"minor_count":0},{"citation":{"authors":"Durack DT, Lukes AS, Bright DK","doi":"10.1016/0002-9343(94)90143-0","id":"durack-1994","pmid":"8154507","source":"Am J Med. 1994;96(3):200-209","title":"New criteria for diagnosis of infective endocarditis: utilization of specific echocardiographic findings. Duke Endocarditis Service"},"classification":"definite","criteria":[{"factor":"pathologic_definite","met":false},{"factor":"major_typical_blood_culture","met":true},{"factor":"major_positive_echo","met":true},{"factor":"minor_predisposition","met":false},{"factor":"minor_fever","met":false},{"factor":"minor_vascular_phenomena","met":false},{"factor":"minor_immunologic_phenomena","met":false},{"factor":"minor_suggestive_echo","met":false},{"factor":"minor_suggestive_micro","met":false},{"factor":"rejected_firm_alternate_diagnosis","met":false},{"factor":"rejected_resolved_le_4_days_antibiotics","met":false},{"factor":"rejected_no_pathology_le_4_days_antibiotics","met":false},{"factor":"clinical_definite","met":true},{"factor":"rejected","met":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":"duke","formula_expression":"definite iff pathologic_definite or clinical_definite; clinical_definite iff major_count >= 2 or (major_count >= 1 and minor_count >= 3) or minor_count >= 5; else rejected if any rejected flag; else possible (Durack 1994 original Duke). minor_suggestive_echo is not counted when major_positive_echo is true; minor_suggestive_micro is not counted when major_typical_blood_culture is true. Not Li 2000. Not ISCVID 2023","major_count":2,"minor_count":0}],"path":"/api/calc/duke"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"major_positive_echo":{"description":"Positive echocardiogram for IE: oscillating mass or vegetation, abscess, new partial dehiscence of a prosthetic valve, or new valvular regurgitation (Durack 1994 major). true or false as assigned by the caller. magent does not read an echocardiogram.","type":"boolean"},"major_typical_blood_culture":{"description":"Typical microorganism from two separate blood cultures, or persistently positive blood cultures, as assigned by the caller (Durack 1994 major typical blood culture). true or false. magent does not interpret cultures.","type":"boolean"},"minor_fever":{"description":"Fever ≥38.0 C (Durack 1994 minor). true or false as assigned by the caller. magent does not measure temperature.","type":"boolean"},"minor_immunologic_phenomena":{"description":"Immunologic phenomena (Durack 1994 minor): glomerulonephritis, Osler nodes, Roth spots, or rheumatoid factor, as assigned by the caller. magent does not examine the patient.","type":"boolean"},"minor_predisposition":{"description":"Predisposing heart condition or intravenous drug use (Durack 1994 minor). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"minor_suggestive_echo":{"description":"Echocardiogram consistent with IE but not meeting the major echo definition (Durack 1994 minor). true or false as assigned by the caller. Not counted in minor_count when major_positive_echo is true. magent does not read an echocardiogram.","type":"boolean"},"minor_suggestive_micro":{"description":"Microbiologic evidence not meeting the major culture definition (Durack 1994 minor). true or false as assigned by the caller. Not counted in minor_count when major_typical_blood_culture is true. magent does not interpret cultures.","type":"boolean"},"minor_vascular_phenomena":{"description":"Vascular phenomena (Durack 1994 minor): major arterial emboli, septic pulmonary infarcts, mycotic aneurysm, intracranial hemorrhage, conjunctival hemorrhages, or Janeway lesions, as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pathologic_definite":{"description":"Microorganisms demonstrated by culture or histology in a vegetation, embolus, or intracardiac abscess, or pathologic lesions (vegetation or abscess) confirmed by histology showing active endocarditis (Durack 1994 pathologic definite). true or false as assigned by the caller. magent does not examine tissue.","type":"boolean"},"rejected_firm_alternate_diagnosis":{"description":"Firm alternate diagnosis explaining evidence of IE (Durack 1994 rejected). true or false as assigned by the caller. Classification is rejected only when definite does not hold.","type":"boolean"},"rejected_no_pathology_le_4_days_antibiotics":{"description":"No pathologic evidence of IE at surgery or autopsy after antibiotic therapy for 4 days or less (Durack 1994 rejected). true or false as assigned by the caller. magent does not examine tissue.","type":"boolean"},"rejected_resolved_le_4_days_antibiotics":{"description":"Manifestations of IE resolved with antibiotic therapy for 4 days or less (Durack 1994 rejected). true or false as assigned by the caller.","type":"boolean"}},"required":["pathologic_definite","major_typical_blood_culture","major_positive_echo","minor_predisposition","minor_fever","minor_vascular_phenomena","minor_immunologic_phenomena","minor_suggestive_echo","minor_suggestive_micro","rejected_firm_alternate_diagnosis","rejected_resolved_le_4_days_antibiotics","rejected_no_pathology_le_4_days_antibiotics"],"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},{"id":39204,"slug":"39204","resource":"https://api.magentlab.com/api/calc/du_bois","description":"du Bois 2011 abbreviated four-predictor IPF score from age (<60 → 0, 60–69 → 4, ≥70 → 8), 24-week respiratory hospitalization (true → 14), FVC % predicted (<50 → 18, 51–65 → 13, 66–79 → 8, >80 → 0; 50 and 80 unpublished), and 24-week FVC % change (≤ −10 → 21, > −10 and < −4.9 → 10, ≥ −4.9 → 0). Returns a 0–61 total only. Does not interpolate Table 4 risk percents. Not GAP and not a transplant listing.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"fvc_change_24wk":-7,"fvc_percent_predicted":55,"respiratory_hospitalization":false},{"age":70,"fvc_change_24wk":-7,"fvc_percent_predicted":55,"respiratory_hospitalization":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"du Bois RM, Weycker D, Albera C, Bradford WZ, Costabel U, Kartashov A, Lancaster L, Noble PW, Raghu G, Sahn SA, Szwarcberg J, Thomeer M, Valeyre D, King TE Jr","doi":"10.1164/rccm.201011-1790OC","id":"du-bois-2011","pmid":"21616999","source":"Am J Respir Crit Care Med. 2011;184(4):459-466","title":"Ascertainment of individual risk of mortality for patients with idiopathic pulmonary fibrosis"},"components":[{"factor":"age","points":8,"present":true,"value":70},{"factor":"respiratory_hospitalization","points":0,"present":false,"value":false},{"factor":"fvc","points":13,"present":true,"value":55},{"factor":"fvc_change","points":10,"present":true,"value":-7}],"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":"du_bois","formula_expression":"du_bois = age_points + hospitalization_points + fvc_points + fvc_change_points; age <60 -> 0, 60-69 -> 4, >=70 -> 8; respiratory_hospitalization false -> 0, true -> 14; FVC% <50 -> 18, 51-65 -> 13, 66-79 -> 8, >80 -> 0 (50 and 80 unpublished); 24-wk FVC% change <= -10 -> 21, > -10 and < -4.9 -> 10, >= -4.9 -> 0; max 61; score only","fvc_change_24wk":-7,"fvc_percent_predicted":55,"max_score":61,"respiratory_hospitalization":false,"score":31},{"age_years":70,"citation":{"authors":"du Bois RM, Weycker D, Albera C, Bradford WZ, Costabel U, Kartashov A, Lancaster L, Noble PW, Raghu G, Sahn SA, Szwarcberg J, Thomeer M, Valeyre D, King TE Jr","doi":"10.1164/rccm.201011-1790OC","id":"du-bois-2011","pmid":"21616999","source":"Am J Respir Crit Care Med. 2011;184(4):459-466","title":"Ascertainment of individual risk of mortality for patients with idiopathic pulmonary fibrosis"},"components":[{"factor":"age","points":8,"present":true,"value":70},{"factor":"respiratory_hospitalization","points":0,"present":false,"value":false},{"factor":"fvc","points":13,"present":true,"value":55},{"factor":"fvc_change","points":10,"present":true,"value":-7}],"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":"du_bois","formula_expression":"du_bois = age_points + hospitalization_points + fvc_points + fvc_change_points; age <60 -> 0, 60-69 -> 4, >=70 -> 8; respiratory_hospitalization false -> 0, true -> 14; FVC% <50 -> 18, 51-65 -> 13, 66-79 -> 8, >80 -> 0 (50 and 80 unpublished); 24-wk FVC% change <= -10 -> 21, > -10 and < -4.9 -> 10, >= -4.9 -> 0; max 61; score only","fvc_change_24wk":-7,"fvc_percent_predicted":55,"max_score":61,"respiratory_hospitalization":false,"score":31}],"path":"/api/calc/du_bois"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). du Bois 2011 Table 4: <60 scores 0; 60-69 scores 4; >=70 scores 8.","type":"integer"},"fvc_change_24wk":{"description":"24-week change in FVC percent predicted, in percentage points (-50 to 50). du Bois 2011 Table 4: <= -10 scores 21; > -10 and < -4.9 scores 10; >= -4.9 scores 0.","type":"number"},"fvc_percent_predicted":{"description":"FVC percent predicted (10-150). du Bois 2011 Table 4: <50 scores 18; 51-65 scores 13; 66-79 scores 8; >80 scores 0. Exactly 50 or 80 is unpublished.","type":"number"},"respiratory_hospitalization":{"description":"24-week history of respiratory hospitalization (true or false). du Bois 2011 Table 4: false scores 0; true scores 14.","type":"boolean"}},"required":["age","respiratory_hospitalization","fvc_percent_predicted","fvc_change_24wk"],"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":["du-bois","ipf","fibrosis","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:51:01.447Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:51:01.295Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"fvc_change_24wk":-7,"fvc_percent_predicted":55,"respiratory_hospitalization":false},{"age":70,"fvc_change_24wk":-7,"fvc_percent_predicted":55,"respiratory_hospitalization":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"du Bois RM, Weycker D, Albera C, Bradford WZ, Costabel U, Kartashov A, Lancaster L, Noble PW, Raghu G, Sahn SA, Szwarcberg J, Thomeer M, Valeyre D, King TE Jr","doi":"10.1164/rccm.201011-1790OC","id":"du-bois-2011","pmid":"21616999","source":"Am J Respir Crit Care Med. 2011;184(4):459-466","title":"Ascertainment of individual risk of mortality for patients with idiopathic pulmonary fibrosis"},"components":[{"factor":"age","points":8,"present":true,"value":70},{"factor":"respiratory_hospitalization","points":0,"present":false,"value":false},{"factor":"fvc","points":13,"present":true,"value":55},{"factor":"fvc_change","points":10,"present":true,"value":-7}],"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":"du_bois","formula_expression":"du_bois = age_points + hospitalization_points + fvc_points + fvc_change_points; age <60 -> 0, 60-69 -> 4, >=70 -> 8; respiratory_hospitalization false -> 0, true -> 14; FVC% <50 -> 18, 51-65 -> 13, 66-79 -> 8, >80 -> 0 (50 and 80 unpublished); 24-wk FVC% change <= -10 -> 21, > -10 and < -4.9 -> 10, >= -4.9 -> 0; max 61; score only","fvc_change_24wk":-7,"fvc_percent_predicted":55,"max_score":61,"respiratory_hospitalization":false,"score":31},{"age_years":70,"citation":{"authors":"du Bois RM, Weycker D, Albera C, Bradford WZ, Costabel U, Kartashov A, Lancaster L, Noble PW, Raghu G, Sahn SA, Szwarcberg J, Thomeer M, Valeyre D, King TE Jr","doi":"10.1164/rccm.201011-1790OC","id":"du-bois-2011","pmid":"21616999","source":"Am J Respir Crit Care Med. 2011;184(4):459-466","title":"Ascertainment of individual risk of mortality for patients with idiopathic pulmonary fibrosis"},"components":[{"factor":"age","points":8,"present":true,"value":70},{"factor":"respiratory_hospitalization","points":0,"present":false,"value":false},{"factor":"fvc","points":13,"present":true,"value":55},{"factor":"fvc_change","points":10,"present":true,"value":-7}],"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":"du_bois","formula_expression":"du_bois = age_points + hospitalization_points + fvc_points + fvc_change_points; age <60 -> 0, 60-69 -> 4, >=70 -> 8; respiratory_hospitalization false -> 0, true -> 14; FVC% <50 -> 18, 51-65 -> 13, 66-79 -> 8, >80 -> 0 (50 and 80 unpublished); 24-wk FVC% change <= -10 -> 21, > -10 and < -4.9 -> 10, >= -4.9 -> 0; max 61; score only","fvc_change_24wk":-7,"fvc_percent_predicted":55,"max_score":61,"respiratory_hospitalization":false,"score":31}],"path":"/api/calc/du_bois"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). du Bois 2011 Table 4: <60 scores 0; 60-69 scores 4; >=70 scores 8.","type":"integer"},"fvc_change_24wk":{"description":"24-week change in FVC percent predicted, in percentage points (-50 to 50). du Bois 2011 Table 4: <= -10 scores 21; > -10 and < -4.9 scores 10; >= -4.9 scores 0.","type":"number"},"fvc_percent_predicted":{"description":"FVC percent predicted (10-150). du Bois 2011 Table 4: <50 scores 18; 51-65 scores 13; 66-79 scores 8; >80 scores 0. Exactly 50 or 80 is unpublished.","type":"number"},"respiratory_hospitalization":{"description":"24-week history of respiratory hospitalization (true or false). du Bois 2011 Table 4: false scores 0; true scores 14.","type":"boolean"}},"required":["age","respiratory_hospitalization","fvc_percent_predicted","fvc_change_24wk"],"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},{"id":39205,"slug":"39205","resource":"https://api.magentlab.com/api/calc/doac_score","description":"Aggarwal 2023 DOAC Score (Circulation Table 2) for AF on DOACs: age 65-69 2 / 70-74 3 / 75-79 4 / >=80 5 (<65 0); CrCl/eGFR 30-60 inclusive 1, <30 2; underweight caller BMI <18.5 flag 1; stroke/TIA/embolism 1; diabetes 1; hypertension 1; antiplatelet none 0, aspirin 2, dual 3; NSAID 1; bleeding history 3; liver disease 2. Score min(raw, 10). Bands 0-3 very_low, 4-5 low, 6-7 moderate, 8-9 high, 10 very_high. Not HAS-BLED. Not DOAC dosing. Not warfarin.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":65,"antiplatelet":"none","bleeding_history":false,"crcl_or_egfr_ml_min":70,"diabetes":false,"hypertension":false,"liver_disease":false,"nsaid_use":false,"stroke_tia_embolism_history":false,"underweight":false},{"age":65,"antiplatelet":"none","bleeding_history":false,"crcl_or_egfr_ml_min":70,"diabetes":false,"hypertension":false,"liver_disease":false,"nsaid_use":false,"stroke_tia_embolism_history":false,"underweight":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"antiplatelet":"none","band":"very_low","citation":{"authors":"Aggarwal R, Ruff CT, Virdone S, Perreault S, Kakkar AK, Palazzolo MG, Dorais M, Kayani G, Singer DE, Secemsky E, Piccini J, Tahir UA, Shen C, Yeh RW","doi":"10.1161/CIRCULATIONAHA.123.064556","id":"aggarwal-2023","pmid":"37621213","source":"Circulation. 2023;148(12):936-946","title":"Development and Validation of the DOAC Score: A Novel Bleeding Risk Prediction Tool for Patients With Atrial Fibrillation on Direct-Acting Oral Anticoagulants"},"components":[{"factor":"age","points":2,"present":true,"value":65},{"factor":"crcl_or_egfr","points":0,"present":false,"value":70},{"factor":"underweight","points":0,"present":false},{"factor":"stroke_tia_embolism_history","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"antiplatelet","points":0,"present":false,"value":"none"},{"factor":"nsaid_use","points":0,"present":false},{"factor":"bleeding_history","points":0,"present":false},{"factor":"liver_disease","points":0,"present":false}],"crcl_or_egfr_ml_min":70,"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":"doac_score","formula_expression":"DOAC Score (Aggarwal 2023 Circulation Table 2) = age (65-69 2, 70-74 3, 75-79 4, >=80 5; <65 0) + crcl_or_egfr_ml_min (30-60 inclusive 1, <30 2, >60 0) + underweight 1 + stroke_tia_embolism_history 1 + diabetes 1 + hypertension 1 + antiplatelet (none 0, aspirin 2, dual 3) + nsaid_use 1 + bleeding_history 3 + liver_disease 2; score = min(raw_sum, 10); bands 0-3 very_low, 4-5 low, 6-7 moderate, 8-9 high, 10 very_high; not HAS-BLED; not DOAC dosing; not warfarin","max_score":10,"score":2,"uncapped_sum":2},{"age_years":65,"antiplatelet":"none","band":"very_low","citation":{"authors":"Aggarwal R, Ruff CT, Virdone S, Perreault S, Kakkar AK, Palazzolo MG, Dorais M, Kayani G, Singer DE, Secemsky E, Piccini J, Tahir UA, Shen C, Yeh RW","doi":"10.1161/CIRCULATIONAHA.123.064556","id":"aggarwal-2023","pmid":"37621213","source":"Circulation. 2023;148(12):936-946","title":"Development and Validation of the DOAC Score: A Novel Bleeding Risk Prediction Tool for Patients With Atrial Fibrillation on Direct-Acting Oral Anticoagulants"},"components":[{"factor":"age","points":2,"present":true,"value":65},{"factor":"crcl_or_egfr","points":0,"present":false,"value":70},{"factor":"underweight","points":0,"present":false},{"factor":"stroke_tia_embolism_history","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"antiplatelet","points":0,"present":false,"value":"none"},{"factor":"nsaid_use","points":0,"present":false},{"factor":"bleeding_history","points":0,"present":false},{"factor":"liver_disease","points":0,"present":false}],"crcl_or_egfr_ml_min":70,"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":"doac_score","formula_expression":"DOAC Score (Aggarwal 2023 Circulation Table 2) = age (65-69 2, 70-74 3, 75-79 4, >=80 5; <65 0) + crcl_or_egfr_ml_min (30-60 inclusive 1, <30 2, >60 0) + underweight 1 + stroke_tia_embolism_history 1 + diabetes 1 + hypertension 1 + antiplatelet (none 0, aspirin 2, dual 3) + nsaid_use 1 + bleeding_history 3 + liver_disease 2; score = min(raw_sum, 10); bands 0-3 very_low, 4-5 low, 6-7 moderate, 8-9 high, 10 very_high; not HAS-BLED; not DOAC dosing; not warfarin","max_score":10,"score":2,"uncapped_sum":2}],"path":"/api/calc/doac_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Table 2: 65-69 scores 2; 70-74 scores 3; 75-79 scores 4; ≥80 scores 5; age <65 scores 0 and is accepted.","type":"integer"},"antiplatelet":{"description":"Antiplatelet use: none (0), aspirin (2), or dual (aspirin + P2Y12; 3). Table 2.","enum":["none","aspirin","dual"],"type":"string"},"bleeding_history":{"description":"Bleeding history as assigned by the caller. true or false. Scores 3.","type":"boolean"},"crcl_or_egfr_ml_min":{"description":"Creatinine clearance or eGFR in mL/min (5-200). Table 2: 30-60 inclusive scores 1; <30 scores 2; >60 scores 0. Exactly 30 and exactly 60 score 1.","type":"number"},"diabetes":{"description":"Diabetes as assigned by the caller. true or false. Scores 1.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller. true or false. Scores 1.","type":"boolean"},"liver_disease":{"description":"Liver disease as assigned by the caller (Table 2 footnote: AST, ALT, or ALP ≥3× ULN, ALP ≥2× ULN, or cirrhosis). true or false. Scores 2. magent does not assay labs or assign Child-Pugh.","type":"boolean"},"nsaid_use":{"description":"NSAID use as assigned by the caller. true or false. Scores 1.","type":"boolean"},"stroke_tia_embolism_history":{"description":"History of stroke, TIA, or embolism as assigned by the caller. true or false. Scores 1.","type":"boolean"},"underweight":{"description":"Caller-assigned BMI <18.5 kg/m² (Table 2 underweight). true or false. Scores 1. magent does not compute BMI.","type":"boolean"}},"required":["age","crcl_or_egfr_ml_min","underweight","stroke_tia_embolism_history","diabetes","hypertension","antiplatelet","nsaid_use","bleeding_history","liver_disease"],"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":["doac-score","bleeding","afib","doac","score","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:51:00.508Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:51:00.359Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":65,"antiplatelet":"none","bleeding_history":false,"crcl_or_egfr_ml_min":70,"diabetes":false,"hypertension":false,"liver_disease":false,"nsaid_use":false,"stroke_tia_embolism_history":false,"underweight":false},{"age":65,"antiplatelet":"none","bleeding_history":false,"crcl_or_egfr_ml_min":70,"diabetes":false,"hypertension":false,"liver_disease":false,"nsaid_use":false,"stroke_tia_embolism_history":false,"underweight":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"antiplatelet":"none","band":"very_low","citation":{"authors":"Aggarwal R, Ruff CT, Virdone S, Perreault S, Kakkar AK, Palazzolo MG, Dorais M, Kayani G, Singer DE, Secemsky E, Piccini J, Tahir UA, Shen C, Yeh RW","doi":"10.1161/CIRCULATIONAHA.123.064556","id":"aggarwal-2023","pmid":"37621213","source":"Circulation. 2023;148(12):936-946","title":"Development and Validation of the DOAC Score: A Novel Bleeding Risk Prediction Tool for Patients With Atrial Fibrillation on Direct-Acting Oral Anticoagulants"},"components":[{"factor":"age","points":2,"present":true,"value":65},{"factor":"crcl_or_egfr","points":0,"present":false,"value":70},{"factor":"underweight","points":0,"present":false},{"factor":"stroke_tia_embolism_history","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"antiplatelet","points":0,"present":false,"value":"none"},{"factor":"nsaid_use","points":0,"present":false},{"factor":"bleeding_history","points":0,"present":false},{"factor":"liver_disease","points":0,"present":false}],"crcl_or_egfr_ml_min":70,"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":"doac_score","formula_expression":"DOAC Score (Aggarwal 2023 Circulation Table 2) = age (65-69 2, 70-74 3, 75-79 4, >=80 5; <65 0) + crcl_or_egfr_ml_min (30-60 inclusive 1, <30 2, >60 0) + underweight 1 + stroke_tia_embolism_history 1 + diabetes 1 + hypertension 1 + antiplatelet (none 0, aspirin 2, dual 3) + nsaid_use 1 + bleeding_history 3 + liver_disease 2; score = min(raw_sum, 10); bands 0-3 very_low, 4-5 low, 6-7 moderate, 8-9 high, 10 very_high; not HAS-BLED; not DOAC dosing; not warfarin","max_score":10,"score":2,"uncapped_sum":2},{"age_years":65,"antiplatelet":"none","band":"very_low","citation":{"authors":"Aggarwal R, Ruff CT, Virdone S, Perreault S, Kakkar AK, Palazzolo MG, Dorais M, Kayani G, Singer DE, Secemsky E, Piccini J, Tahir UA, Shen C, Yeh RW","doi":"10.1161/CIRCULATIONAHA.123.064556","id":"aggarwal-2023","pmid":"37621213","source":"Circulation. 2023;148(12):936-946","title":"Development and Validation of the DOAC Score: A Novel Bleeding Risk Prediction Tool for Patients With Atrial Fibrillation on Direct-Acting Oral Anticoagulants"},"components":[{"factor":"age","points":2,"present":true,"value":65},{"factor":"crcl_or_egfr","points":0,"present":false,"value":70},{"factor":"underweight","points":0,"present":false},{"factor":"stroke_tia_embolism_history","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"antiplatelet","points":0,"present":false,"value":"none"},{"factor":"nsaid_use","points":0,"present":false},{"factor":"bleeding_history","points":0,"present":false},{"factor":"liver_disease","points":0,"present":false}],"crcl_or_egfr_ml_min":70,"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":"doac_score","formula_expression":"DOAC Score (Aggarwal 2023 Circulation Table 2) = age (65-69 2, 70-74 3, 75-79 4, >=80 5; <65 0) + crcl_or_egfr_ml_min (30-60 inclusive 1, <30 2, >60 0) + underweight 1 + stroke_tia_embolism_history 1 + diabetes 1 + hypertension 1 + antiplatelet (none 0, aspirin 2, dual 3) + nsaid_use 1 + bleeding_history 3 + liver_disease 2; score = min(raw_sum, 10); bands 0-3 very_low, 4-5 low, 6-7 moderate, 8-9 high, 10 very_high; not HAS-BLED; not DOAC dosing; not warfarin","max_score":10,"score":2,"uncapped_sum":2}],"path":"/api/calc/doac_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Table 2: 65-69 scores 2; 70-74 scores 3; 75-79 scores 4; ≥80 scores 5; age <65 scores 0 and is accepted.","type":"integer"},"antiplatelet":{"description":"Antiplatelet use: none (0), aspirin (2), or dual (aspirin + P2Y12; 3). Table 2.","enum":["none","aspirin","dual"],"type":"string"},"bleeding_history":{"description":"Bleeding history as assigned by the caller. true or false. Scores 3.","type":"boolean"},"crcl_or_egfr_ml_min":{"description":"Creatinine clearance or eGFR in mL/min (5-200). Table 2: 30-60 inclusive scores 1; <30 scores 2; >60 scores 0. Exactly 30 and exactly 60 score 1.","type":"number"},"diabetes":{"description":"Diabetes as assigned by the caller. true or false. Scores 1.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller. true or false. Scores 1.","type":"boolean"},"liver_disease":{"description":"Liver disease as assigned by the caller (Table 2 footnote: AST, ALT, or ALP ≥3× ULN, ALP ≥2× ULN, or cirrhosis). true or false. Scores 2. magent does not assay labs or assign Child-Pugh.","type":"boolean"},"nsaid_use":{"description":"NSAID use as assigned by the caller. true or false. Scores 1.","type":"boolean"},"stroke_tia_embolism_history":{"description":"History of stroke, TIA, or embolism as assigned by the caller. true or false. Scores 1.","type":"boolean"},"underweight":{"description":"Caller-assigned BMI <18.5 kg/m² (Table 2 underweight). true or false. Scores 1. magent does not compute BMI.","type":"boolean"}},"required":["age","crcl_or_egfr_ml_min","underweight","stroke_tia_embolism_history","diabetes","hypertension","antiplatelet","nsaid_use","bleeding_history","liver_disease"],"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},{"id":39206,"slug":"39206","resource":"https://api.magentlab.com/api/calc/dka_mpm","description":"Efstathiou 2002 DKA-MPM. Six caller-assigned flags: severe coexisting disease at presentation (+6), pH <7.0 at presentation (+4), regular insulin >50 IU in the first 12 h (+4), glucose >16.7 mmol/L after 12 h (+4), depressed mental state after 24 h (+4), fever after 24 h (+3). Max 25. Published in-hospital death 0.86% for scores 0–14 and 93.3% for 19–25; scores 15–18 return the total only. magent does not assay pH or glucose. Not a DKA treatment or insulin-dose order. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"depressed_mental_24h":false,"fever_24h":false,"glucose_gt_16_7_12h":false,"insulin_gt_50_12h":false,"ph_lt_7":false,"severe_comorbidity":false},{"depressed_mental_24h":false,"fever_24h":false,"glucose_gt_16_7_12h":false,"insulin_gt_50_12h":false,"ph_lt_7":false,"severe_comorbidity":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Efstathiou SP, Tsioulos DI, Tsiakou AG, Gratsias YG, Pefanis AV, Mountokalakis TD","doi":"10.1046/j.1365-2265.2002.01636.x","id":"efstathiou-2002","pmid":"12390332","source":"Clin Endocrinol (Oxf). 2002;57(5):595-601","title":"A mortality prediction model in diabetic ketoacidosis"},"components":[{"factor":"severe_comorbidity","points":0,"present":false},{"factor":"ph_lt_7","points":0,"present":false},{"factor":"insulin_gt_50_12h","points":0,"present":false},{"factor":"glucose_gt_16_7_12h","points":0,"present":false},{"factor":"depressed_mental_24h","points":0,"present":false},{"factor":"fever_24h","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":"dka_mpm","formula_expression":"DKA-MPM = severe_comorbidity 6 + ph_lt_7 4 + insulin_gt_50_12h 4 + glucose_gt_16_7_12h 4 + depressed_mental_24h 4 + fever_24h 3; Efstathiou 2002; max 25; published in-hospital death 0.86% scores 0-14 and 93.3% scores 19-25","max_score":25,"observed_mortality_percent":0.86,"score":0},{"citation":{"authors":"Efstathiou SP, Tsioulos DI, Tsiakou AG, Gratsias YG, Pefanis AV, Mountokalakis TD","doi":"10.1046/j.1365-2265.2002.01636.x","id":"efstathiou-2002","pmid":"12390332","source":"Clin Endocrinol (Oxf). 2002;57(5):595-601","title":"A mortality prediction model in diabetic ketoacidosis"},"components":[{"factor":"severe_comorbidity","points":0,"present":false},{"factor":"ph_lt_7","points":0,"present":false},{"factor":"insulin_gt_50_12h","points":0,"present":false},{"factor":"glucose_gt_16_7_12h","points":0,"present":false},{"factor":"depressed_mental_24h","points":0,"present":false},{"factor":"fever_24h","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":"dka_mpm","formula_expression":"DKA-MPM = severe_comorbidity 6 + ph_lt_7 4 + insulin_gt_50_12h 4 + glucose_gt_16_7_12h 4 + depressed_mental_24h 4 + fever_24h 3; Efstathiou 2002; max 25; published in-hospital death 0.86% scores 0-14 and 93.3% scores 19-25","max_score":25,"observed_mortality_percent":0.86,"score":0}],"path":"/api/calc/dka_mpm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"depressed_mental_24h":{"description":"Depressed mental state after 24 h as assigned by the caller (Efstathiou 2002). true scores 4. true or false. magent does not examine the patient.","type":"boolean"},"fever_24h":{"description":"Fever after 24 h as assigned by the caller (Efstathiou 2002). true scores 3. true or false. magent does not take temperature.","type":"boolean"},"glucose_gt_16_7_12h":{"description":"Serum glucose > 16.7 mmol/L after 12 h as assigned by the caller (Efstathiou 2002). true scores 4. true or false. magent does not assay glucose.","type":"boolean"},"insulin_gt_50_12h":{"description":"Regular insulin > 50 IU in the first 12 h as assigned by the caller (Efstathiou 2002). true scores 4. true or false. Not an insulin dose. magent does not order insulin.","type":"boolean"},"ph_lt_7":{"description":"Arterial pH < 7.0 at presentation as assigned by the caller (Efstathiou 2002). true scores 4. true or false. magent does not assay pH.","type":"boolean"},"severe_comorbidity":{"description":"Severe coexisting disease at presentation as assigned by the caller (Efstathiou 2002). true scores 6. true or false. magent does not diagnose comorbidity.","type":"boolean"}},"required":["severe_comorbidity","ph_lt_7","insulin_gt_50_12h","glucose_gt_16_7_12h","depressed_mental_24h","fever_24h"],"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":["dka-mpm","dka","ketoacidosis","mortality","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:46:12.647Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:46:12.54Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"depressed_mental_24h":false,"fever_24h":false,"glucose_gt_16_7_12h":false,"insulin_gt_50_12h":false,"ph_lt_7":false,"severe_comorbidity":false},{"depressed_mental_24h":false,"fever_24h":false,"glucose_gt_16_7_12h":false,"insulin_gt_50_12h":false,"ph_lt_7":false,"severe_comorbidity":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Efstathiou SP, Tsioulos DI, Tsiakou AG, Gratsias YG, Pefanis AV, Mountokalakis TD","doi":"10.1046/j.1365-2265.2002.01636.x","id":"efstathiou-2002","pmid":"12390332","source":"Clin Endocrinol (Oxf). 2002;57(5):595-601","title":"A mortality prediction model in diabetic ketoacidosis"},"components":[{"factor":"severe_comorbidity","points":0,"present":false},{"factor":"ph_lt_7","points":0,"present":false},{"factor":"insulin_gt_50_12h","points":0,"present":false},{"factor":"glucose_gt_16_7_12h","points":0,"present":false},{"factor":"depressed_mental_24h","points":0,"present":false},{"factor":"fever_24h","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":"dka_mpm","formula_expression":"DKA-MPM = severe_comorbidity 6 + ph_lt_7 4 + insulin_gt_50_12h 4 + glucose_gt_16_7_12h 4 + depressed_mental_24h 4 + fever_24h 3; Efstathiou 2002; max 25; published in-hospital death 0.86% scores 0-14 and 93.3% scores 19-25","max_score":25,"observed_mortality_percent":0.86,"score":0},{"citation":{"authors":"Efstathiou SP, Tsioulos DI, Tsiakou AG, Gratsias YG, Pefanis AV, Mountokalakis TD","doi":"10.1046/j.1365-2265.2002.01636.x","id":"efstathiou-2002","pmid":"12390332","source":"Clin Endocrinol (Oxf). 2002;57(5):595-601","title":"A mortality prediction model in diabetic ketoacidosis"},"components":[{"factor":"severe_comorbidity","points":0,"present":false},{"factor":"ph_lt_7","points":0,"present":false},{"factor":"insulin_gt_50_12h","points":0,"present":false},{"factor":"glucose_gt_16_7_12h","points":0,"present":false},{"factor":"depressed_mental_24h","points":0,"present":false},{"factor":"fever_24h","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":"dka_mpm","formula_expression":"DKA-MPM = severe_comorbidity 6 + ph_lt_7 4 + insulin_gt_50_12h 4 + glucose_gt_16_7_12h 4 + depressed_mental_24h 4 + fever_24h 3; Efstathiou 2002; max 25; published in-hospital death 0.86% scores 0-14 and 93.3% scores 19-25","max_score":25,"observed_mortality_percent":0.86,"score":0}],"path":"/api/calc/dka_mpm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"depressed_mental_24h":{"description":"Depressed mental state after 24 h as assigned by the caller (Efstathiou 2002). true scores 4. true or false. magent does not examine the patient.","type":"boolean"},"fever_24h":{"description":"Fever after 24 h as assigned by the caller (Efstathiou 2002). true scores 3. true or false. magent does not take temperature.","type":"boolean"},"glucose_gt_16_7_12h":{"description":"Serum glucose > 16.7 mmol/L after 12 h as assigned by the caller (Efstathiou 2002). true scores 4. true or false. magent does not assay glucose.","type":"boolean"},"insulin_gt_50_12h":{"description":"Regular insulin > 50 IU in the first 12 h as assigned by the caller (Efstathiou 2002). true scores 4. true or false. Not an insulin dose. magent does not order insulin.","type":"boolean"},"ph_lt_7":{"description":"Arterial pH < 7.0 at presentation as assigned by the caller (Efstathiou 2002). true scores 4. true or false. magent does not assay pH.","type":"boolean"},"severe_comorbidity":{"description":"Severe coexisting disease at presentation as assigned by the caller (Efstathiou 2002). true scores 6. true or false. magent does not diagnose comorbidity.","type":"boolean"}},"required":["severe_comorbidity","ph_lt_7","insulin_gt_50_12h","glucose_gt_16_7_12h","depressed_mental_24h","fever_24h"],"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},{"id":39207,"slug":"39207","resource":"https://api.magentlab.com/api/calc/dire","description":"Belgrade 2006 DIRE score: Diagnosis, Intractability, and Efficacy each caller-assigned 1-3; Risk is the sum of Psychological, Chemical, Reliability, and Social support (each 1-3, so Risk 4-12). Total 7-21. Scores 14-21 are more suitable for long-term opioid maintenance; 7-13 less suitable. Caller assigns the integers. magent does not take a pain history or write an opioid prescription or taper. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"chemical":1,"diagnosis":1,"efficacy":1,"intractability":1,"psychological":1,"reliability":1,"social_support":1},{"chemical":1,"diagnosis":1,"efficacy":1,"intractability":1,"psychological":1,"reliability":1,"social_support":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"chemical":1,"citation":{"authors":"Belgrade MJ, Schamber CD, Lindgren BR","doi":"10.1016/j.jpain.2006.03.001","id":"belgrade-2006","pmid":"16942953","source":"J Pain. 2006;7(9):671-681","title":"The DIRE score: predicting outcomes of opioid prescribing for chronic pain"},"components":[{"factor":"diagnosis","points":1,"present":true,"value":1},{"factor":"intractability","points":1,"present":true,"value":1},{"factor":"psychological","points":1,"present":true,"value":1},{"factor":"chemical","points":1,"present":true,"value":1},{"factor":"reliability","points":1,"present":true,"value":1},{"factor":"social_support","points":1,"present":true,"value":1},{"factor":"efficacy","points":1,"present":true,"value":1}],"diagnosis":1,"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.","efficacy":1,"formula":"dire","formula_expression":"DIRE = diagnosis + intractability + risk + efficacy; diagnosis, intractability, and efficacy each caller-assigned 1-3; risk = psychological + chemical + reliability + social_support (each 1-3, so risk 4-12); total 7-21; Belgrade 2006; score 14-21 more suitable for long-term opioid maintenance, 7-13 less suitable","intractability":1,"max_score":21,"psychological":1,"reliability":1,"risk":4,"score":7,"social_support":1,"suitable_candidate":false},{"chemical":1,"citation":{"authors":"Belgrade MJ, Schamber CD, Lindgren BR","doi":"10.1016/j.jpain.2006.03.001","id":"belgrade-2006","pmid":"16942953","source":"J Pain. 2006;7(9):671-681","title":"The DIRE score: predicting outcomes of opioid prescribing for chronic pain"},"components":[{"factor":"diagnosis","points":1,"present":true,"value":1},{"factor":"intractability","points":1,"present":true,"value":1},{"factor":"psychological","points":1,"present":true,"value":1},{"factor":"chemical","points":1,"present":true,"value":1},{"factor":"reliability","points":1,"present":true,"value":1},{"factor":"social_support","points":1,"present":true,"value":1},{"factor":"efficacy","points":1,"present":true,"value":1}],"diagnosis":1,"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.","efficacy":1,"formula":"dire","formula_expression":"DIRE = diagnosis + intractability + risk + efficacy; diagnosis, intractability, and efficacy each caller-assigned 1-3; risk = psychological + chemical + reliability + social_support (each 1-3, so risk 4-12); total 7-21; Belgrade 2006; score 14-21 more suitable for long-term opioid maintenance, 7-13 less suitable","intractability":1,"max_score":21,"psychological":1,"reliability":1,"risk":4,"score":7,"social_support":1,"suitable_candidate":false}],"path":"/api/calc/dire"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chemical":{"description":"Caller-assigned Belgrade 2006 Risk subcategory Chemical (integer 1-3): 1 active or recent substance abuse; 2 chemical coper or history of chemical dependence in remission; 3 no chemical-dependence history. One of four Risk items (Risk 4-12). magent does not interview the patient.","type":"integer"},"diagnosis":{"description":"Caller-assigned Belgrade 2006 Diagnosis (integer 1-3): 1 benign chronic condition with minimal objective findings or no definite diagnosis; 2 slowly progressive condition concordant with moderate pain, or fixed deficit; 3 advanced condition concordant with severe pain with objective findings. magent does not take a pain history.","type":"integer"},"efficacy":{"description":"Caller-assigned Belgrade 2006 Efficacy (integer 1-3): 1 poor function or minimal pain relief despite moderate-to-high doses; 2 moderate benefit with moderate function on moderate doses; 3 good function and pain relief on stable low-to-moderate doses. magent does not take a pain history or write an opioid prescription.","type":"integer"},"intractability":{"description":"Caller-assigned Belgrade 2006 Intractability (integer 1-3): 1 few therapies tried and the patient is passively involved; 2 most appropriate treatments tried with inadequate response and the patient is reasonably involved; 3 patient fully engaged in appropriate treatments with inadequate response. magent does not take a pain history.","type":"integer"},"psychological":{"description":"Caller-assigned Belgrade 2006 Risk subcategory Psychological (integer 1-3): 1 serious personality dysfunction or mental illness interfering with care; 2 personality or mental health interferes moderately; 3 good psychological functioning. One of four Risk items (Risk 4-12). magent does not interview the patient.","type":"integer"},"reliability":{"description":"Caller-assigned Belgrade 2006 Risk subcategory Reliability (integer 1-3): 1 many missed appointments, lacks insight, or poor observer of laws and rules; 2 generally reliable; 3 highly reliable. One of four Risk items (Risk 4-12). magent does not interview the patient.","type":"integer"},"social_support":{"description":"Caller-assigned Belgrade 2006 Risk subcategory Social support (integer 1-3): 1 life in chaos, few resources, close relationships dysfunctional; 2 relationships exist but are strained; 3 stable supportive relationships and sufficient resources. One of four Risk items (Risk 4-12). magent does not interview the patient.","type":"integer"}},"required":["diagnosis","intractability","psychological","chemical","reliability","social_support","efficacy"],"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":["dire","opioid","chronic-pain","pain","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:46:11.479Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:46:11.375Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"chemical":1,"diagnosis":1,"efficacy":1,"intractability":1,"psychological":1,"reliability":1,"social_support":1},{"chemical":1,"diagnosis":1,"efficacy":1,"intractability":1,"psychological":1,"reliability":1,"social_support":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"chemical":1,"citation":{"authors":"Belgrade MJ, Schamber CD, Lindgren BR","doi":"10.1016/j.jpain.2006.03.001","id":"belgrade-2006","pmid":"16942953","source":"J Pain. 2006;7(9):671-681","title":"The DIRE score: predicting outcomes of opioid prescribing for chronic pain"},"components":[{"factor":"diagnosis","points":1,"present":true,"value":1},{"factor":"intractability","points":1,"present":true,"value":1},{"factor":"psychological","points":1,"present":true,"value":1},{"factor":"chemical","points":1,"present":true,"value":1},{"factor":"reliability","points":1,"present":true,"value":1},{"factor":"social_support","points":1,"present":true,"value":1},{"factor":"efficacy","points":1,"present":true,"value":1}],"diagnosis":1,"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.","efficacy":1,"formula":"dire","formula_expression":"DIRE = diagnosis + intractability + risk + efficacy; diagnosis, intractability, and efficacy each caller-assigned 1-3; risk = psychological + chemical + reliability + social_support (each 1-3, so risk 4-12); total 7-21; Belgrade 2006; score 14-21 more suitable for long-term opioid maintenance, 7-13 less suitable","intractability":1,"max_score":21,"psychological":1,"reliability":1,"risk":4,"score":7,"social_support":1,"suitable_candidate":false},{"chemical":1,"citation":{"authors":"Belgrade MJ, Schamber CD, Lindgren BR","doi":"10.1016/j.jpain.2006.03.001","id":"belgrade-2006","pmid":"16942953","source":"J Pain. 2006;7(9):671-681","title":"The DIRE score: predicting outcomes of opioid prescribing for chronic pain"},"components":[{"factor":"diagnosis","points":1,"present":true,"value":1},{"factor":"intractability","points":1,"present":true,"value":1},{"factor":"psychological","points":1,"present":true,"value":1},{"factor":"chemical","points":1,"present":true,"value":1},{"factor":"reliability","points":1,"present":true,"value":1},{"factor":"social_support","points":1,"present":true,"value":1},{"factor":"efficacy","points":1,"present":true,"value":1}],"diagnosis":1,"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.","efficacy":1,"formula":"dire","formula_expression":"DIRE = diagnosis + intractability + risk + efficacy; diagnosis, intractability, and efficacy each caller-assigned 1-3; risk = psychological + chemical + reliability + social_support (each 1-3, so risk 4-12); total 7-21; Belgrade 2006; score 14-21 more suitable for long-term opioid maintenance, 7-13 less suitable","intractability":1,"max_score":21,"psychological":1,"reliability":1,"risk":4,"score":7,"social_support":1,"suitable_candidate":false}],"path":"/api/calc/dire"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chemical":{"description":"Caller-assigned Belgrade 2006 Risk subcategory Chemical (integer 1-3): 1 active or recent substance abuse; 2 chemical coper or history of chemical dependence in remission; 3 no chemical-dependence history. One of four Risk items (Risk 4-12). magent does not interview the patient.","type":"integer"},"diagnosis":{"description":"Caller-assigned Belgrade 2006 Diagnosis (integer 1-3): 1 benign chronic condition with minimal objective findings or no definite diagnosis; 2 slowly progressive condition concordant with moderate pain, or fixed deficit; 3 advanced condition concordant with severe pain with objective findings. magent does not take a pain history.","type":"integer"},"efficacy":{"description":"Caller-assigned Belgrade 2006 Efficacy (integer 1-3): 1 poor function or minimal pain relief despite moderate-to-high doses; 2 moderate benefit with moderate function on moderate doses; 3 good function and pain relief on stable low-to-moderate doses. magent does not take a pain history or write an opioid prescription.","type":"integer"},"intractability":{"description":"Caller-assigned Belgrade 2006 Intractability (integer 1-3): 1 few therapies tried and the patient is passively involved; 2 most appropriate treatments tried with inadequate response and the patient is reasonably involved; 3 patient fully engaged in appropriate treatments with inadequate response. magent does not take a pain history.","type":"integer"},"psychological":{"description":"Caller-assigned Belgrade 2006 Risk subcategory Psychological (integer 1-3): 1 serious personality dysfunction or mental illness interfering with care; 2 personality or mental health interferes moderately; 3 good psychological functioning. One of four Risk items (Risk 4-12). magent does not interview the patient.","type":"integer"},"reliability":{"description":"Caller-assigned Belgrade 2006 Risk subcategory Reliability (integer 1-3): 1 many missed appointments, lacks insight, or poor observer of laws and rules; 2 generally reliable; 3 highly reliable. One of four Risk items (Risk 4-12). magent does not interview the patient.","type":"integer"},"social_support":{"description":"Caller-assigned Belgrade 2006 Risk subcategory Social support (integer 1-3): 1 life in chaos, few resources, close relationships dysfunctional; 2 relationships exist but are strained; 3 stable supportive relationships and sufficient resources. One of four Risk items (Risk 4-12). magent does not interview the patient.","type":"integer"}},"required":["diagnosis","intractability","psychological","chemical","reliability","social_support","efficacy"],"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},{"id":39208,"slug":"39208","resource":"https://api.magentlab.com/api/calc/dhrs","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.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":20,"ethnicity":"white","idu":false,"pht":false,"rai":false,"sex":"female","sm":false,"vi":false},{"age":20,"ethnicity":"white","idu":false,"pht":false,"rai":false,"sex":"female","sm":false,"vi":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":20,"band":"very_low","citation":{"authors":"Haukoos JS, Lyons MS, Lindsell CJ, Hopkins E, Bender B, Rothman RE, Hsieh YH, MacLaren LA, Thrun MW, Sasson C, Byyny RL","doi":"10.1093/aje/kwr389","id":"haukoos-2012-denver-hiv","pmid":"22425121","source":"Am J Epidemiol. 2012;175(8):838-846","title":"Derivation and Validation of the Denver Human Immunodeficiency Virus (HIV) Risk Score for Targeted HIV Screening"},"components":[{"factor":"age","points":0,"present":false,"value":20},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"ethnicity","points":0,"present":false,"value":"white"},{"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}],"derivation_hiv_percent":0.12,"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.","ethnicity":"white","formula":"denver_hiv","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%","idu":false,"max_score":81,"min_score":-14,"pht":false,"rai":false,"score":0,"sex":"female","sm":false,"vi":false},{"age_years":20,"band":"very_low","citation":{"authors":"Haukoos JS, Lyons MS, Lindsell CJ, Hopkins E, Bender B, Rothman RE, Hsieh YH, MacLaren LA, Thrun MW, Sasson C, Byyny RL","doi":"10.1093/aje/kwr389","id":"haukoos-2012-denver-hiv","pmid":"22425121","source":"Am J Epidemiol. 2012;175(8):838-846","title":"Derivation and Validation of the Denver Human Immunodeficiency Virus (HIV) Risk Score for Targeted HIV Screening"},"components":[{"factor":"age","points":0,"present":false,"value":20},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"ethnicity","points":0,"present":false,"value":"white"},{"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}],"derivation_hiv_percent":0.12,"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.","ethnicity":"white","formula":"denver_hiv","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%","idu":false,"max_score":81,"min_score":-14,"pht":false,"rai":false,"score":0,"sex":"female","sm":false,"vi":false}],"path":"/api/calc/dhrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"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.","type":"integer"},"ethnicity":{"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.","enum":["black","hispanic","white","other"],"type":"string"},"idu":{"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.","type":"boolean"},"pht":{"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.","type":"boolean"},"rai":{"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.","type":"boolean"},"sex":{"description":"female or male as assigned by the caller (Haukoos 2012 Table 2 gender). female scores 0; male scores 21.","enum":["female","male"],"type":"string"},"sm":{"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.","type":"boolean"},"vi":{"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.","type":"boolean"}},"required":["age","sex","ethnicity","sm","vi","rai","idu","pht"],"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":["hiv-screening","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:46:10.389Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:46:10.257Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":20,"ethnicity":"white","idu":false,"pht":false,"rai":false,"sex":"female","sm":false,"vi":false},{"age":20,"ethnicity":"white","idu":false,"pht":false,"rai":false,"sex":"female","sm":false,"vi":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":20,"band":"very_low","citation":{"authors":"Haukoos JS, Lyons MS, Lindsell CJ, Hopkins E, Bender B, Rothman RE, Hsieh YH, MacLaren LA, Thrun MW, Sasson C, Byyny RL","doi":"10.1093/aje/kwr389","id":"haukoos-2012-denver-hiv","pmid":"22425121","source":"Am J Epidemiol. 2012;175(8):838-846","title":"Derivation and Validation of the Denver Human Immunodeficiency Virus (HIV) Risk Score for Targeted HIV Screening"},"components":[{"factor":"age","points":0,"present":false,"value":20},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"ethnicity","points":0,"present":false,"value":"white"},{"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}],"derivation_hiv_percent":0.12,"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.","ethnicity":"white","formula":"denver_hiv","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%","idu":false,"max_score":81,"min_score":-14,"pht":false,"rai":false,"score":0,"sex":"female","sm":false,"vi":false},{"age_years":20,"band":"very_low","citation":{"authors":"Haukoos JS, Lyons MS, Lindsell CJ, Hopkins E, Bender B, Rothman RE, Hsieh YH, MacLaren LA, Thrun MW, Sasson C, Byyny RL","doi":"10.1093/aje/kwr389","id":"haukoos-2012-denver-hiv","pmid":"22425121","source":"Am J Epidemiol. 2012;175(8):838-846","title":"Derivation and Validation of the Denver Human Immunodeficiency Virus (HIV) Risk Score for Targeted HIV Screening"},"components":[{"factor":"age","points":0,"present":false,"value":20},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"ethnicity","points":0,"present":false,"value":"white"},{"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}],"derivation_hiv_percent":0.12,"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.","ethnicity":"white","formula":"denver_hiv","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%","idu":false,"max_score":81,"min_score":-14,"pht":false,"rai":false,"score":0,"sex":"female","sm":false,"vi":false}],"path":"/api/calc/dhrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"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.","type":"integer"},"ethnicity":{"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.","enum":["black","hispanic","white","other"],"type":"string"},"idu":{"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.","type":"boolean"},"pht":{"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.","type":"boolean"},"rai":{"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.","type":"boolean"},"sex":{"description":"female or male as assigned by the caller (Haukoos 2012 Table 2 gender). female scores 0; male scores 21.","enum":["female","male"],"type":"string"},"sm":{"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.","type":"boolean"},"vi":{"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.","type":"boolean"}},"required":["age","sex","ethnicity","sm","vi","rai","idu","pht"],"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},{"id":39209,"slug":"39209","resource":"https://api.magentlab.com/api/calc/dhaka","description":"Levine 2015 DHAKA Dehydration Score (Table 3, not the Tree): appearance 0/2/4, respirations 0/2, skin pinch 0/2/4, tears 0/1/2. Max 12. Bands 0-1 / 2-3 / ≥4. Derived in children <5 with acute diarrhea. magent does not examine the child or order fluids. Not a WHO IMCI clone. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"general_appearance":"normal","respirations":"normal","skin_pinch":"normal","tears":"normal"},{"general_appearance":"normal","respirations":"normal","skin_pinch":"normal","tears":"normal"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Levine AC, Glavis-Bloom J, Modi P, Nasrin S, Rege S, Chu C, Schmid CH, Alam NH","doi":"10.9745/GHSP-D-15-00097","id":"levine-2015","pmid":"26374802","source":"Glob Health Sci Pract. 2015;3(3):405-418","title":"Empirically Derived Dehydration Scoring and Decision Tree Models for Children With Diarrhea: Assessment and Internal Validation in a Prospective Cohort Study in Dhaka, Bangladesh"},"components":[{"factor":"general_appearance","points":0,"present":true,"value":"normal"},{"factor":"respirations","points":0,"present":true,"value":"normal"},{"factor":"skin_pinch","points":0,"present":true,"value":"normal"},{"factor":"tears","points":0,"present":true,"value":"normal"}],"dhaka_band":"no_dehydration","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":"dhaka","formula_expression":"DHAKA = general_appearance (normal 0, restless_irritable 2, lethargic_unconscious 4) + respirations (normal 0, deep 2) + skin_pinch (normal 0, slow 2, very_slow 4) + tears (normal 0, decreased 1, absent 2); Levine 2015 Table 3; max 12","general_appearance":"normal","max_score":12,"respirations":"normal","score":0,"skin_pinch":"normal","tears":"normal"},{"citation":{"authors":"Levine AC, Glavis-Bloom J, Modi P, Nasrin S, Rege S, Chu C, Schmid CH, Alam NH","doi":"10.9745/GHSP-D-15-00097","id":"levine-2015","pmid":"26374802","source":"Glob Health Sci Pract. 2015;3(3):405-418","title":"Empirically Derived Dehydration Scoring and Decision Tree Models for Children With Diarrhea: Assessment and Internal Validation in a Prospective Cohort Study in Dhaka, Bangladesh"},"components":[{"factor":"general_appearance","points":0,"present":true,"value":"normal"},{"factor":"respirations","points":0,"present":true,"value":"normal"},{"factor":"skin_pinch","points":0,"present":true,"value":"normal"},{"factor":"tears","points":0,"present":true,"value":"normal"}],"dhaka_band":"no_dehydration","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":"dhaka","formula_expression":"DHAKA = general_appearance (normal 0, restless_irritable 2, lethargic_unconscious 4) + respirations (normal 0, deep 2) + skin_pinch (normal 0, slow 2, very_slow 4) + tears (normal 0, decreased 1, absent 2); Levine 2015 Table 3; max 12","general_appearance":"normal","max_score":12,"respirations":"normal","score":0,"skin_pinch":"normal","tears":"normal"}],"path":"/api/calc/dhaka"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"general_appearance":{"description":"Caller-assigned Levine 2015 Table 3 general appearance: normal (0), restless_irritable (2), or lethargic_unconscious (4). magent does not examine the child.","enum":["normal","restless_irritable","lethargic_unconscious"],"type":"string"},"respirations":{"description":"Caller-assigned Levine 2015 Table 3 respirations: normal (0) or deep (2). Table 3 has no very-deep cell. magent does not examine the child.","enum":["normal","deep"],"type":"string"},"skin_pinch":{"description":"Caller-assigned Levine 2015 Table 3 skin pinch: normal (0), slow (2), or very_slow (4). magent does not examine the child.","enum":["normal","slow","very_slow"],"type":"string"},"tears":{"description":"Caller-assigned Levine 2015 Table 3 tears: normal (0), decreased (1), or absent (2). magent does not examine the child.","enum":["normal","decreased","absent"],"type":"string"}},"required":["general_appearance","respirations","skin_pinch","tears"],"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":["dhaka","dehydration","pediatric","diarrhea","emergency","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:41:46.255Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:41:45.719Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"general_appearance":"normal","respirations":"normal","skin_pinch":"normal","tears":"normal"},{"general_appearance":"normal","respirations":"normal","skin_pinch":"normal","tears":"normal"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Levine AC, Glavis-Bloom J, Modi P, Nasrin S, Rege S, Chu C, Schmid CH, Alam NH","doi":"10.9745/GHSP-D-15-00097","id":"levine-2015","pmid":"26374802","source":"Glob Health Sci Pract. 2015;3(3):405-418","title":"Empirically Derived Dehydration Scoring and Decision Tree Models for Children With Diarrhea: Assessment and Internal Validation in a Prospective Cohort Study in Dhaka, Bangladesh"},"components":[{"factor":"general_appearance","points":0,"present":true,"value":"normal"},{"factor":"respirations","points":0,"present":true,"value":"normal"},{"factor":"skin_pinch","points":0,"present":true,"value":"normal"},{"factor":"tears","points":0,"present":true,"value":"normal"}],"dhaka_band":"no_dehydration","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":"dhaka","formula_expression":"DHAKA = general_appearance (normal 0, restless_irritable 2, lethargic_unconscious 4) + respirations (normal 0, deep 2) + skin_pinch (normal 0, slow 2, very_slow 4) + tears (normal 0, decreased 1, absent 2); Levine 2015 Table 3; max 12","general_appearance":"normal","max_score":12,"respirations":"normal","score":0,"skin_pinch":"normal","tears":"normal"},{"citation":{"authors":"Levine AC, Glavis-Bloom J, Modi P, Nasrin S, Rege S, Chu C, Schmid CH, Alam NH","doi":"10.9745/GHSP-D-15-00097","id":"levine-2015","pmid":"26374802","source":"Glob Health Sci Pract. 2015;3(3):405-418","title":"Empirically Derived Dehydration Scoring and Decision Tree Models for Children With Diarrhea: Assessment and Internal Validation in a Prospective Cohort Study in Dhaka, Bangladesh"},"components":[{"factor":"general_appearance","points":0,"present":true,"value":"normal"},{"factor":"respirations","points":0,"present":true,"value":"normal"},{"factor":"skin_pinch","points":0,"present":true,"value":"normal"},{"factor":"tears","points":0,"present":true,"value":"normal"}],"dhaka_band":"no_dehydration","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":"dhaka","formula_expression":"DHAKA = general_appearance (normal 0, restless_irritable 2, lethargic_unconscious 4) + respirations (normal 0, deep 2) + skin_pinch (normal 0, slow 2, very_slow 4) + tears (normal 0, decreased 1, absent 2); Levine 2015 Table 3; max 12","general_appearance":"normal","max_score":12,"respirations":"normal","score":0,"skin_pinch":"normal","tears":"normal"}],"path":"/api/calc/dhaka"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"general_appearance":{"description":"Caller-assigned Levine 2015 Table 3 general appearance: normal (0), restless_irritable (2), or lethargic_unconscious (4). magent does not examine the child.","enum":["normal","restless_irritable","lethargic_unconscious"],"type":"string"},"respirations":{"description":"Caller-assigned Levine 2015 Table 3 respirations: normal (0) or deep (2). Table 3 has no very-deep cell. magent does not examine the child.","enum":["normal","deep"],"type":"string"},"skin_pinch":{"description":"Caller-assigned Levine 2015 Table 3 skin pinch: normal (0), slow (2), or very_slow (4). magent does not examine the child.","enum":["normal","slow","very_slow"],"type":"string"},"tears":{"description":"Caller-assigned Levine 2015 Table 3 tears: normal (0), decreased (1), or absent (2). magent does not examine the child.","enum":["normal","decreased","absent"],"type":"string"}},"required":["general_appearance","respirations","skin_pinch","tears"],"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},{"id":39210,"slug":"39210","resource":"https://api.magentlab.com/api/calc/denver_bcvi","description":"Modified Denver BCVI (Cothren 2005). Positive if any sign (arterial hemorrhage; cervical bruit age <50; expanding cervical hematoma; focal deficit; neuro exam incongruous with head CT; stroke on secondary CT) or any risk factor (LeFort II/III; C-spine subluxation, transverse foramen, or C1-C3; basilar skull with carotid canal; DAI with GCS <6; near hanging with anoxia). Imaging indicated when positive. Not Biffl grade, expanded Denver, NEXUS, or Canadian C-spine. magent does not read CTA.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"arterial_hemorrhage":false,"basilar_skull_fracture_carotid_canal":false,"cervical_bruit_age_lt_50":false,"cspine_subluxation_transverse_foramen_or_c1_c3":false,"dai_gcs_lt_6":false,"expanding_cervical_hematoma":false,"focal_neuro_deficit":false,"lefort_ii_or_iii":false,"near_hanging_anoxic_brain_injury":false,"neuro_exam_incongruous_head_ct":false,"stroke_on_secondary_ct":false},{"arterial_hemorrhage":false,"basilar_skull_fracture_carotid_canal":false,"cervical_bruit_age_lt_50":false,"cspine_subluxation_transverse_foramen_or_c1_c3":false,"dai_gcs_lt_6":false,"expanding_cervical_hematoma":false,"focal_neuro_deficit":false,"lefort_ii_or_iii":false,"near_hanging_anoxic_brain_injury":false,"neuro_exam_incongruous_head_ct":false,"stroke_on_secondary_ct":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cothren CC, Moore EE","doi":"10.1590/S1807-59322005000600011","id":"cothren-2005","pmid":"16358138","source":"Clinics (Sao Paulo). 2005;60(6):489-496","title":"Blunt cerebrovascular injuries"},"criteria":[{"factor":"arterial_hemorrhage","met":false},{"factor":"cervical_bruit_age_lt_50","met":false},{"factor":"expanding_cervical_hematoma","met":false},{"factor":"focal_neuro_deficit","met":false},{"factor":"neuro_exam_incongruous_head_ct","met":false},{"factor":"stroke_on_secondary_ct","met":false},{"factor":"lefort_ii_or_iii","met":false},{"factor":"cspine_subluxation_transverse_foramen_or_c1_c3","met":false},{"factor":"basilar_skull_fracture_carotid_canal","met":false},{"factor":"dai_gcs_lt_6","met":false},{"factor":"near_hanging_anoxic_brain_injury","met":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":"denver_bcvi","formula_expression":"screen positive iff any published sign (arterial hemorrhage, cervical bruit age <50, expanding cervical hematoma, focal neurologic deficit, neurologic exam incongruous with head CT, or stroke on secondary CT) or any published high-energy risk factor (LeFort II or III, C-spine subluxation or transverse-foramen or C1-C3 fracture, basilar skull fracture with carotid canal, DAI with GCS <6, or near hanging with anoxic brain injury); imaging indicated when screen positive","imaging_indicated":false,"risk_factor_positive":false,"screen_positive":false,"sign_positive":false},{"citation":{"authors":"Cothren CC, Moore EE","doi":"10.1590/S1807-59322005000600011","id":"cothren-2005","pmid":"16358138","source":"Clinics (Sao Paulo). 2005;60(6):489-496","title":"Blunt cerebrovascular injuries"},"criteria":[{"factor":"arterial_hemorrhage","met":false},{"factor":"cervical_bruit_age_lt_50","met":false},{"factor":"expanding_cervical_hematoma","met":false},{"factor":"focal_neuro_deficit","met":false},{"factor":"neuro_exam_incongruous_head_ct","met":false},{"factor":"stroke_on_secondary_ct","met":false},{"factor":"lefort_ii_or_iii","met":false},{"factor":"cspine_subluxation_transverse_foramen_or_c1_c3","met":false},{"factor":"basilar_skull_fracture_carotid_canal","met":false},{"factor":"dai_gcs_lt_6","met":false},{"factor":"near_hanging_anoxic_brain_injury","met":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":"denver_bcvi","formula_expression":"screen positive iff any published sign (arterial hemorrhage, cervical bruit age <50, expanding cervical hematoma, focal neurologic deficit, neurologic exam incongruous with head CT, or stroke on secondary CT) or any published high-energy risk factor (LeFort II or III, C-spine subluxation or transverse-foramen or C1-C3 fracture, basilar skull fracture with carotid canal, DAI with GCS <6, or near hanging with anoxic brain injury); imaging indicated when screen positive","imaging_indicated":false,"risk_factor_positive":false,"screen_positive":false,"sign_positive":false}],"path":"/api/calc/denver_bcvi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arterial_hemorrhage":{"description":"Arterial hemorrhage as assigned by the caller (Cothren 2005 Table 1 sign). true or false. A true flag is a published indication for imaging. magent does not examine the patient.","type":"boolean"},"basilar_skull_fracture_carotid_canal":{"description":"High-energy transfer with basilar skull fracture with carotid canal involvement as assigned by the caller (Cothren 2005 Table 1 risk factor). true or false. magent does not interpret skull imaging.","type":"boolean"},"cervical_bruit_age_lt_50":{"description":"Cervical bruit in a patient younger than 50 years as assigned by the caller (Cothren 2005 Table 1 sign). true or false. Caller assigns the published <50 indication; magent does not take numeric age.","type":"boolean"},"cspine_subluxation_transverse_foramen_or_c1_c3":{"description":"High-energy transfer with the published C-spine patterns (subluxation, fracture extending into the transverse foramen, or fracture of C1-C3) as assigned by the caller (Cothren 2005 Table 1 risk factor). true or false. Not any cervical-spine fracture. magent does not interpret C-spine imaging.","type":"boolean"},"dai_gcs_lt_6":{"description":"High-energy transfer with diffuse axonal injury and GCS <6 as assigned by the caller (Cothren 2005 Table 1 risk factor). true or false. Caller assigns the published compound; magent does not take a GCS integer.","type":"boolean"},"expanding_cervical_hematoma":{"description":"Expanding cervical hematoma as assigned by the caller (Cothren 2005 Table 1 sign). true or false. A true flag is a published indication for imaging. magent does not examine the neck.","type":"boolean"},"focal_neuro_deficit":{"description":"Focal neurologic deficit as assigned by the caller (Cothren 2005 Table 1 sign). true or false. A true flag is a published indication for imaging. magent does not examine the patient.","type":"boolean"},"lefort_ii_or_iii":{"description":"High-energy transfer with LeFort II or III fracture as assigned by the caller (Cothren 2005 Table 1 risk factor). true or false. A true flag is a published indication for imaging. magent does not interpret facial imaging.","type":"boolean"},"near_hanging_anoxic_brain_injury":{"description":"High-energy transfer with near hanging and anoxic brain injury as assigned by the caller (Cothren 2005 Table 1 risk factor). true or false. magent does not classify mechanism.","type":"boolean"},"neuro_exam_incongruous_head_ct":{"description":"Neurologic exam incongruous with head CT scan findings as assigned by the caller (Cothren 2005 Table 1 sign). true or false. magent does not read a head CT.","type":"boolean"},"stroke_on_secondary_ct":{"description":"Stroke on secondary CT scan as assigned by the caller (Cothren 2005 Table 1 sign). true or false. magent does not read a CT scan.","type":"boolean"}},"required":["arterial_hemorrhage","cervical_bruit_age_lt_50","expanding_cervical_hematoma","focal_neuro_deficit","neuro_exam_incongruous_head_ct","stroke_on_secondary_ct","lefort_ii_or_iii","cspine_subluxation_transverse_foramen_or_c1_c3","basilar_skull_fracture_carotid_canal","dai_gcs_lt_6","near_hanging_anoxic_brain_injury"],"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":["denver-bcvi","bcvi","trauma","emergency","screening","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:41:35.173Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:41:29.937Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"arterial_hemorrhage":false,"basilar_skull_fracture_carotid_canal":false,"cervical_bruit_age_lt_50":false,"cspine_subluxation_transverse_foramen_or_c1_c3":false,"dai_gcs_lt_6":false,"expanding_cervical_hematoma":false,"focal_neuro_deficit":false,"lefort_ii_or_iii":false,"near_hanging_anoxic_brain_injury":false,"neuro_exam_incongruous_head_ct":false,"stroke_on_secondary_ct":false},{"arterial_hemorrhage":false,"basilar_skull_fracture_carotid_canal":false,"cervical_bruit_age_lt_50":false,"cspine_subluxation_transverse_foramen_or_c1_c3":false,"dai_gcs_lt_6":false,"expanding_cervical_hematoma":false,"focal_neuro_deficit":false,"lefort_ii_or_iii":false,"near_hanging_anoxic_brain_injury":false,"neuro_exam_incongruous_head_ct":false,"stroke_on_secondary_ct":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cothren CC, Moore EE","doi":"10.1590/S1807-59322005000600011","id":"cothren-2005","pmid":"16358138","source":"Clinics (Sao Paulo). 2005;60(6):489-496","title":"Blunt cerebrovascular injuries"},"criteria":[{"factor":"arterial_hemorrhage","met":false},{"factor":"cervical_bruit_age_lt_50","met":false},{"factor":"expanding_cervical_hematoma","met":false},{"factor":"focal_neuro_deficit","met":false},{"factor":"neuro_exam_incongruous_head_ct","met":false},{"factor":"stroke_on_secondary_ct","met":false},{"factor":"lefort_ii_or_iii","met":false},{"factor":"cspine_subluxation_transverse_foramen_or_c1_c3","met":false},{"factor":"basilar_skull_fracture_carotid_canal","met":false},{"factor":"dai_gcs_lt_6","met":false},{"factor":"near_hanging_anoxic_brain_injury","met":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":"denver_bcvi","formula_expression":"screen positive iff any published sign (arterial hemorrhage, cervical bruit age <50, expanding cervical hematoma, focal neurologic deficit, neurologic exam incongruous with head CT, or stroke on secondary CT) or any published high-energy risk factor (LeFort II or III, C-spine subluxation or transverse-foramen or C1-C3 fracture, basilar skull fracture with carotid canal, DAI with GCS <6, or near hanging with anoxic brain injury); imaging indicated when screen positive","imaging_indicated":false,"risk_factor_positive":false,"screen_positive":false,"sign_positive":false},{"citation":{"authors":"Cothren CC, Moore EE","doi":"10.1590/S1807-59322005000600011","id":"cothren-2005","pmid":"16358138","source":"Clinics (Sao Paulo). 2005;60(6):489-496","title":"Blunt cerebrovascular injuries"},"criteria":[{"factor":"arterial_hemorrhage","met":false},{"factor":"cervical_bruit_age_lt_50","met":false},{"factor":"expanding_cervical_hematoma","met":false},{"factor":"focal_neuro_deficit","met":false},{"factor":"neuro_exam_incongruous_head_ct","met":false},{"factor":"stroke_on_secondary_ct","met":false},{"factor":"lefort_ii_or_iii","met":false},{"factor":"cspine_subluxation_transverse_foramen_or_c1_c3","met":false},{"factor":"basilar_skull_fracture_carotid_canal","met":false},{"factor":"dai_gcs_lt_6","met":false},{"factor":"near_hanging_anoxic_brain_injury","met":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":"denver_bcvi","formula_expression":"screen positive iff any published sign (arterial hemorrhage, cervical bruit age <50, expanding cervical hematoma, focal neurologic deficit, neurologic exam incongruous with head CT, or stroke on secondary CT) or any published high-energy risk factor (LeFort II or III, C-spine subluxation or transverse-foramen or C1-C3 fracture, basilar skull fracture with carotid canal, DAI with GCS <6, or near hanging with anoxic brain injury); imaging indicated when screen positive","imaging_indicated":false,"risk_factor_positive":false,"screen_positive":false,"sign_positive":false}],"path":"/api/calc/denver_bcvi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arterial_hemorrhage":{"description":"Arterial hemorrhage as assigned by the caller (Cothren 2005 Table 1 sign). true or false. A true flag is a published indication for imaging. magent does not examine the patient.","type":"boolean"},"basilar_skull_fracture_carotid_canal":{"description":"High-energy transfer with basilar skull fracture with carotid canal involvement as assigned by the caller (Cothren 2005 Table 1 risk factor). true or false. magent does not interpret skull imaging.","type":"boolean"},"cervical_bruit_age_lt_50":{"description":"Cervical bruit in a patient younger than 50 years as assigned by the caller (Cothren 2005 Table 1 sign). true or false. Caller assigns the published <50 indication; magent does not take numeric age.","type":"boolean"},"cspine_subluxation_transverse_foramen_or_c1_c3":{"description":"High-energy transfer with the published C-spine patterns (subluxation, fracture extending into the transverse foramen, or fracture of C1-C3) as assigned by the caller (Cothren 2005 Table 1 risk factor). true or false. Not any cervical-spine fracture. magent does not interpret C-spine imaging.","type":"boolean"},"dai_gcs_lt_6":{"description":"High-energy transfer with diffuse axonal injury and GCS <6 as assigned by the caller (Cothren 2005 Table 1 risk factor). true or false. Caller assigns the published compound; magent does not take a GCS integer.","type":"boolean"},"expanding_cervical_hematoma":{"description":"Expanding cervical hematoma as assigned by the caller (Cothren 2005 Table 1 sign). true or false. A true flag is a published indication for imaging. magent does not examine the neck.","type":"boolean"},"focal_neuro_deficit":{"description":"Focal neurologic deficit as assigned by the caller (Cothren 2005 Table 1 sign). true or false. A true flag is a published indication for imaging. magent does not examine the patient.","type":"boolean"},"lefort_ii_or_iii":{"description":"High-energy transfer with LeFort II or III fracture as assigned by the caller (Cothren 2005 Table 1 risk factor). true or false. A true flag is a published indication for imaging. magent does not interpret facial imaging.","type":"boolean"},"near_hanging_anoxic_brain_injury":{"description":"High-energy transfer with near hanging and anoxic brain injury as assigned by the caller (Cothren 2005 Table 1 risk factor). true or false. magent does not classify mechanism.","type":"boolean"},"neuro_exam_incongruous_head_ct":{"description":"Neurologic exam incongruous with head CT scan findings as assigned by the caller (Cothren 2005 Table 1 sign). true or false. magent does not read a head CT.","type":"boolean"},"stroke_on_secondary_ct":{"description":"Stroke on secondary CT scan as assigned by the caller (Cothren 2005 Table 1 sign). true or false. magent does not read a CT scan.","type":"boolean"}},"required":["arterial_hemorrhage","cervical_bruit_age_lt_50","expanding_cervical_hematoma","focal_neuro_deficit","neuro_exam_incongruous_head_ct","stroke_on_secondary_ct","lefort_ii_or_iii","cspine_subluxation_transverse_foramen_or_c1_c3","basilar_skull_fracture_carotid_canal","dai_gcs_lt_6","near_hanging_anoxic_brain_injury"],"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},{"id":39211,"slug":"39211","resource":"https://api.magentlab.com/api/calc/decaf","description":"Steer 2012 DECAF: eMRCD 1-4 → 0, 5a → 1, 5b → 2; eosinophils <0.05 ×10^9/L → 1 (0.05 does not score); caller-assigned consolidation → 1; arterial pH <7.30 → 1 (7.30 does not score); atrial fibrillation → 1. Returns a 0–6 total and band 0-1 / 2 / 3-6. Deterministic published points with citation. Not an early-discharge or escalation protocol and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"arterial_ph":7.4,"atrial_fibrillation":false,"consolidation":false,"emrcd":"1-4","eosinophils_10e9_l":0.1},{"arterial_ph":7.4,"atrial_fibrillation":false,"consolidation":false,"emrcd":"1-4","eosinophils_10e9_l":0.1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arterial_ph":7.4,"atrial_fibrillation":false,"citation":{"authors":"Steer J, Gibson J, Bourke SC","doi":"10.1136/thoraxjnl-2012-202103","id":"steer-2012","pmid":"22895999","source":"Thorax. 2012;67(11):970-976","title":"The DECAF Score: predicting hospital mortality in exacerbations of chronic obstructive pulmonary disease"},"components":[{"factor":"emrcd","points":0,"present":false,"value":"1-4"},{"factor":"eosinopenia","points":0,"present":false,"value":0.1},{"factor":"consolidation","points":0,"present":false},{"factor":"acidemia","points":0,"present":false,"value":7.4},{"factor":"atrial_fibrillation","points":0,"present":false}],"consolidation":false,"decaf_band":"0-1","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.","emrcd":"1-4","eosinophils_10e9_l":0.1,"formula":"decaf","formula_expression":"DECAF = emrcd_points + eosinopenia + consolidation + acidemia + atrial_fibrillation; eMRCD 1-4 -> 0, 5a -> 1, 5b -> 2; eosinophils_10e9_l < 0.05 -> 1 (0.05 does not score); consolidation true -> 1; arterial_ph < 7.30 -> 1 (7.30 does not score); atrial_fibrillation true -> 1; bands 0-1 / 2 / 3-6; max 6","max_score":6,"score":0},{"arterial_ph":7.4,"atrial_fibrillation":false,"citation":{"authors":"Steer J, Gibson J, Bourke SC","doi":"10.1136/thoraxjnl-2012-202103","id":"steer-2012","pmid":"22895999","source":"Thorax. 2012;67(11):970-976","title":"The DECAF Score: predicting hospital mortality in exacerbations of chronic obstructive pulmonary disease"},"components":[{"factor":"emrcd","points":0,"present":false,"value":"1-4"},{"factor":"eosinopenia","points":0,"present":false,"value":0.1},{"factor":"consolidation","points":0,"present":false},{"factor":"acidemia","points":0,"present":false,"value":7.4},{"factor":"atrial_fibrillation","points":0,"present":false}],"consolidation":false,"decaf_band":"0-1","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.","emrcd":"1-4","eosinophils_10e9_l":0.1,"formula":"decaf","formula_expression":"DECAF = emrcd_points + eosinopenia + consolidation + acidemia + atrial_fibrillation; eMRCD 1-4 -> 0, 5a -> 1, 5b -> 2; eosinophils_10e9_l < 0.05 -> 1 (0.05 does not score); consolidation true -> 1; arterial_ph < 7.30 -> 1 (7.30 does not score); atrial_fibrillation true -> 1; bands 0-1 / 2 / 3-6; max 6","max_score":6,"score":0}],"path":"/api/calc/decaf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arterial_ph":{"description":"Arterial pH (6.80-7.80). Steer 2012: <7.30 scores 1; 7.30 does not score.","type":"number"},"atrial_fibrillation":{"description":"Atrial fibrillation as assigned by the caller (Steer 2012 F). true or false. 1 point if true. magent does not interpret the ECG.","type":"boolean"},"consolidation":{"description":"Chest radiograph consolidation as assigned by the caller (Steer 2012 C). true or false. 1 point if true. magent does not interpret radiographs.","type":"boolean"},"emrcd":{"description":"Steer 2012 extended MRC dyspnoea as assigned by the caller. 1-4 scores 0; 5a scores 1; 5b scores 2. magent does not interview the patient.","enum":["1-4","5a","5b"],"type":"string"},"eosinophils_10e9_l":{"description":"Blood eosinophil count ×10^9/L (0-5). Steer 2012: <0.05 scores 1; 0.05 does not score.","type":"number"}},"required":["emrcd","eosinophils_10e9_l","consolidation","arterial_ph","atrial_fibrillation"],"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":["decaf","copd","eosinopenia","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:41:28.287Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:41:28.136Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"arterial_ph":7.4,"atrial_fibrillation":false,"consolidation":false,"emrcd":"1-4","eosinophils_10e9_l":0.1},{"arterial_ph":7.4,"atrial_fibrillation":false,"consolidation":false,"emrcd":"1-4","eosinophils_10e9_l":0.1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arterial_ph":7.4,"atrial_fibrillation":false,"citation":{"authors":"Steer J, Gibson J, Bourke SC","doi":"10.1136/thoraxjnl-2012-202103","id":"steer-2012","pmid":"22895999","source":"Thorax. 2012;67(11):970-976","title":"The DECAF Score: predicting hospital mortality in exacerbations of chronic obstructive pulmonary disease"},"components":[{"factor":"emrcd","points":0,"present":false,"value":"1-4"},{"factor":"eosinopenia","points":0,"present":false,"value":0.1},{"factor":"consolidation","points":0,"present":false},{"factor":"acidemia","points":0,"present":false,"value":7.4},{"factor":"atrial_fibrillation","points":0,"present":false}],"consolidation":false,"decaf_band":"0-1","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.","emrcd":"1-4","eosinophils_10e9_l":0.1,"formula":"decaf","formula_expression":"DECAF = emrcd_points + eosinopenia + consolidation + acidemia + atrial_fibrillation; eMRCD 1-4 -> 0, 5a -> 1, 5b -> 2; eosinophils_10e9_l < 0.05 -> 1 (0.05 does not score); consolidation true -> 1; arterial_ph < 7.30 -> 1 (7.30 does not score); atrial_fibrillation true -> 1; bands 0-1 / 2 / 3-6; max 6","max_score":6,"score":0},{"arterial_ph":7.4,"atrial_fibrillation":false,"citation":{"authors":"Steer J, Gibson J, Bourke SC","doi":"10.1136/thoraxjnl-2012-202103","id":"steer-2012","pmid":"22895999","source":"Thorax. 2012;67(11):970-976","title":"The DECAF Score: predicting hospital mortality in exacerbations of chronic obstructive pulmonary disease"},"components":[{"factor":"emrcd","points":0,"present":false,"value":"1-4"},{"factor":"eosinopenia","points":0,"present":false,"value":0.1},{"factor":"consolidation","points":0,"present":false},{"factor":"acidemia","points":0,"present":false,"value":7.4},{"factor":"atrial_fibrillation","points":0,"present":false}],"consolidation":false,"decaf_band":"0-1","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.","emrcd":"1-4","eosinophils_10e9_l":0.1,"formula":"decaf","formula_expression":"DECAF = emrcd_points + eosinopenia + consolidation + acidemia + atrial_fibrillation; eMRCD 1-4 -> 0, 5a -> 1, 5b -> 2; eosinophils_10e9_l < 0.05 -> 1 (0.05 does not score); consolidation true -> 1; arterial_ph < 7.30 -> 1 (7.30 does not score); atrial_fibrillation true -> 1; bands 0-1 / 2 / 3-6; max 6","max_score":6,"score":0}],"path":"/api/calc/decaf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arterial_ph":{"description":"Arterial pH (6.80-7.80). Steer 2012: <7.30 scores 1; 7.30 does not score.","type":"number"},"atrial_fibrillation":{"description":"Atrial fibrillation as assigned by the caller (Steer 2012 F). true or false. 1 point if true. magent does not interpret the ECG.","type":"boolean"},"consolidation":{"description":"Chest radiograph consolidation as assigned by the caller (Steer 2012 C). true or false. 1 point if true. magent does not interpret radiographs.","type":"boolean"},"emrcd":{"description":"Steer 2012 extended MRC dyspnoea as assigned by the caller. 1-4 scores 0; 5a scores 1; 5b scores 2. magent does not interview the patient.","enum":["1-4","5a","5b"],"type":"string"},"eosinophils_10e9_l":{"description":"Blood eosinophil count ×10^9/L (0-5). Steer 2012: <0.05 scores 1; 0.05 does not score.","type":"number"}},"required":["emrcd","eosinophils_10e9_l","consolidation","arterial_ph","atrial_fibrillation"],"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},{"id":39212,"slug":"39212","resource":"https://api.magentlab.com/api/calc/dast_10","description":"Skinner 1982 10-item Drug Abuse Screening Test (DAST-10). Caller-assigned yes/no items; score is the count of answers in the problem direction (able_to_stop scores 1 if false; the other nine score 1 if true), max 10. Degree-of-problems bands 0 no problems, 1-2 low, 3-5 moderate, 6-8 substantial, 9-10 severe. Not a diagnosis, not a toxicology panel, not DAST-20, and not DAST-28. magent does not interpret the items.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"able_to_stop":true,"abuse_more_than_one":false,"blackouts_flashbacks":false,"feel_bad_guilty":false,"illegal_activities":false,"medical_problems":false,"neglected_family":false,"others_complain":false,"used_drugs_nonmedical":false,"withdrawal":false},{"able_to_stop":true,"abuse_more_than_one":false,"blackouts_flashbacks":false,"feel_bad_guilty":false,"illegal_activities":false,"medical_problems":false,"neglected_family":false,"others_complain":false,"used_drugs_nonmedical":false,"withdrawal":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Skinner HA","doi":"10.1016/0306-4603(82)90005-3","id":"skinner-1982","source":"Addict Behav. 1982;7(4):363-371","title":"The drug abuse screening test"},"components":[{"factor":"used_drugs_nonmedical","points":0,"present":false},{"factor":"abuse_more_than_one","points":0,"present":false},{"factor":"able_to_stop","points":0,"present":false},{"factor":"blackouts_flashbacks","points":0,"present":false},{"factor":"feel_bad_guilty","points":0,"present":false},{"factor":"others_complain","points":0,"present":false},{"factor":"neglected_family","points":0,"present":false},{"factor":"illegal_activities","points":0,"present":false},{"factor":"withdrawal","points":0,"present":false},{"factor":"medical_problems","points":0,"present":false}],"dast_band":"no_problems","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":"dast_10","formula_expression":"DAST-10 = used_drugs_nonmedical + abuse_more_than_one + (1 if not able_to_stop) + blackouts_flashbacks + feel_bad_guilty + others_complain + neglected_family + illegal_activities + withdrawal + medical_problems; each 1 in the Skinner 1982 problem direction; max 10","max_score":10,"score":0},{"citation":{"authors":"Skinner HA","doi":"10.1016/0306-4603(82)90005-3","id":"skinner-1982","source":"Addict Behav. 1982;7(4):363-371","title":"The drug abuse screening test"},"components":[{"factor":"used_drugs_nonmedical","points":0,"present":false},{"factor":"abuse_more_than_one","points":0,"present":false},{"factor":"able_to_stop","points":0,"present":false},{"factor":"blackouts_flashbacks","points":0,"present":false},{"factor":"feel_bad_guilty","points":0,"present":false},{"factor":"others_complain","points":0,"present":false},{"factor":"neglected_family","points":0,"present":false},{"factor":"illegal_activities","points":0,"present":false},{"factor":"withdrawal","points":0,"present":false},{"factor":"medical_problems","points":0,"present":false}],"dast_band":"no_problems","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":"dast_10","formula_expression":"DAST-10 = used_drugs_nonmedical + abuse_more_than_one + (1 if not able_to_stop) + blackouts_flashbacks + feel_bad_guilty + others_complain + neglected_family + illegal_activities + withdrawal + medical_problems; each 1 in the Skinner 1982 problem direction; max 10","max_score":10,"score":0}],"path":"/api/calc/dast_10"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"able_to_stop":{"description":"Are you always able to stop using drugs when you want to? (Skinner 1982 DAST-10 item 3; past 12 months). true or false as assigned by the caller. false is the problem-direction answer and scores 1 (reverse-scored). magent does not interpret the item.","type":"boolean"},"abuse_more_than_one":{"description":"Do you abuse more than one drug at a time? (Skinner 1982 DAST-10 item 2; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"blackouts_flashbacks":{"description":"Have you had blackouts or flashbacks as a result of drug use? (Skinner 1982 DAST-10 item 4; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"feel_bad_guilty":{"description":"Do you ever feel bad or guilty about your drug use? (Skinner 1982 DAST-10 item 5; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"illegal_activities":{"description":"Have you engaged in illegal activities in order to obtain drugs? (Skinner 1982 DAST-10 item 8; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"medical_problems":{"description":"Have you had medical problems as a result of your drug use (e.g., memory loss, hepatitis, convulsions, bleeding)? (Skinner 1982 DAST-10 item 10; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"neglected_family":{"description":"Have you neglected your family because of your use of drugs? (Skinner 1982 DAST-10 item 7; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"others_complain":{"description":"Does your spouse (or parents) ever complain about your involvement with drugs? (Skinner 1982 DAST-10 item 6; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"used_drugs_nonmedical":{"description":"Have you used drugs other than those required for medical reasons? (Skinner 1982 DAST-10 item 1; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"withdrawal":{"description":"Have you ever experienced withdrawal symptoms (felt sick) when you stopped taking drugs? (Skinner 1982 DAST-10 item 9; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"}},"required":["used_drugs_nonmedical","abuse_more_than_one","able_to_stop","blackouts_flashbacks","feel_bad_guilty","others_complain","neglected_family","illegal_activities","withdrawal","medical_problems"],"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":["dast-10","drug-screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:36:21.056Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:36:20.849Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"able_to_stop":true,"abuse_more_than_one":false,"blackouts_flashbacks":false,"feel_bad_guilty":false,"illegal_activities":false,"medical_problems":false,"neglected_family":false,"others_complain":false,"used_drugs_nonmedical":false,"withdrawal":false},{"able_to_stop":true,"abuse_more_than_one":false,"blackouts_flashbacks":false,"feel_bad_guilty":false,"illegal_activities":false,"medical_problems":false,"neglected_family":false,"others_complain":false,"used_drugs_nonmedical":false,"withdrawal":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Skinner HA","doi":"10.1016/0306-4603(82)90005-3","id":"skinner-1982","source":"Addict Behav. 1982;7(4):363-371","title":"The drug abuse screening test"},"components":[{"factor":"used_drugs_nonmedical","points":0,"present":false},{"factor":"abuse_more_than_one","points":0,"present":false},{"factor":"able_to_stop","points":0,"present":false},{"factor":"blackouts_flashbacks","points":0,"present":false},{"factor":"feel_bad_guilty","points":0,"present":false},{"factor":"others_complain","points":0,"present":false},{"factor":"neglected_family","points":0,"present":false},{"factor":"illegal_activities","points":0,"present":false},{"factor":"withdrawal","points":0,"present":false},{"factor":"medical_problems","points":0,"present":false}],"dast_band":"no_problems","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":"dast_10","formula_expression":"DAST-10 = used_drugs_nonmedical + abuse_more_than_one + (1 if not able_to_stop) + blackouts_flashbacks + feel_bad_guilty + others_complain + neglected_family + illegal_activities + withdrawal + medical_problems; each 1 in the Skinner 1982 problem direction; max 10","max_score":10,"score":0},{"citation":{"authors":"Skinner HA","doi":"10.1016/0306-4603(82)90005-3","id":"skinner-1982","source":"Addict Behav. 1982;7(4):363-371","title":"The drug abuse screening test"},"components":[{"factor":"used_drugs_nonmedical","points":0,"present":false},{"factor":"abuse_more_than_one","points":0,"present":false},{"factor":"able_to_stop","points":0,"present":false},{"factor":"blackouts_flashbacks","points":0,"present":false},{"factor":"feel_bad_guilty","points":0,"present":false},{"factor":"others_complain","points":0,"present":false},{"factor":"neglected_family","points":0,"present":false},{"factor":"illegal_activities","points":0,"present":false},{"factor":"withdrawal","points":0,"present":false},{"factor":"medical_problems","points":0,"present":false}],"dast_band":"no_problems","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":"dast_10","formula_expression":"DAST-10 = used_drugs_nonmedical + abuse_more_than_one + (1 if not able_to_stop) + blackouts_flashbacks + feel_bad_guilty + others_complain + neglected_family + illegal_activities + withdrawal + medical_problems; each 1 in the Skinner 1982 problem direction; max 10","max_score":10,"score":0}],"path":"/api/calc/dast_10"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"able_to_stop":{"description":"Are you always able to stop using drugs when you want to? (Skinner 1982 DAST-10 item 3; past 12 months). true or false as assigned by the caller. false is the problem-direction answer and scores 1 (reverse-scored). magent does not interpret the item.","type":"boolean"},"abuse_more_than_one":{"description":"Do you abuse more than one drug at a time? (Skinner 1982 DAST-10 item 2; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"blackouts_flashbacks":{"description":"Have you had blackouts or flashbacks as a result of drug use? (Skinner 1982 DAST-10 item 4; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"feel_bad_guilty":{"description":"Do you ever feel bad or guilty about your drug use? (Skinner 1982 DAST-10 item 5; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"illegal_activities":{"description":"Have you engaged in illegal activities in order to obtain drugs? (Skinner 1982 DAST-10 item 8; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"medical_problems":{"description":"Have you had medical problems as a result of your drug use (e.g., memory loss, hepatitis, convulsions, bleeding)? (Skinner 1982 DAST-10 item 10; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"neglected_family":{"description":"Have you neglected your family because of your use of drugs? (Skinner 1982 DAST-10 item 7; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"others_complain":{"description":"Does your spouse (or parents) ever complain about your involvement with drugs? (Skinner 1982 DAST-10 item 6; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"used_drugs_nonmedical":{"description":"Have you used drugs other than those required for medical reasons? (Skinner 1982 DAST-10 item 1; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"},"withdrawal":{"description":"Have you ever experienced withdrawal symptoms (felt sick) when you stopped taking drugs? (Skinner 1982 DAST-10 item 9; past 12 months). true or false as assigned by the caller. true is the problem-direction answer and scores 1. magent does not interpret the item.","type":"boolean"}},"required":["used_drugs_nonmedical","abuse_more_than_one","able_to_stop","blackouts_flashbacks","feel_bad_guilty","others_complain","neglected_family","illegal_activities","withdrawal","medical_problems"],"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},{"id":39213,"slug":"39213","resource":"https://api.magentlab.com/api/calc/dash","description":"Tosetto 2012 DASH (D-dimer, Age, Sex, Hormonal therapy) after a first unprovoked VTE: abnormal D-dimer after stopping anticoagulation +2, age <50 +1 (age 50 does not score), male +1, hormone use at the initial VTE in women -2. Score -2 to 4. Returns published recurrence bands <=1, 2, and >=3 without percents. Not a medical device and not a duration-of-anticoagulation order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_d_dimer":false,"age":60,"hormone_use":false,"sex":"female"},{"abnormal_d_dimer":false,"age":60,"hormone_use":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Tosetto A, Iorio A, Marcucci M, et al.","doi":"10.1111/j.1538-7836.2012.04735.x","id":"tosetto-2012","pmid":"22489957","source":"J Thromb Haemost. 2012;10(6):1019-1025","title":"Predicting disease recurrence in patients with previous unprovoked venous thromboembolism: a proposed prediction score (DASH)"},"components":[{"factor":"abnormal_d_dimer","points":0,"present":false},{"factor":"age_lt_50","points":0,"present":false,"value":60},{"factor":"male","points":0,"present":false},{"factor":"hormone_use","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":"dash","formula_expression":"DASH = 2*abnormal_d_dimer + 1*(age<50) + 1*male + (-2)*hormone_use(female only); max 4; recurrence_band <=1 / 2 / >=3","max_score":4,"recurrence_band":"<=1","score":0,"sex":"female"},{"age_years":60,"citation":{"authors":"Tosetto A, Iorio A, Marcucci M, et al.","doi":"10.1111/j.1538-7836.2012.04735.x","id":"tosetto-2012","pmid":"22489957","source":"J Thromb Haemost. 2012;10(6):1019-1025","title":"Predicting disease recurrence in patients with previous unprovoked venous thromboembolism: a proposed prediction score (DASH)"},"components":[{"factor":"abnormal_d_dimer","points":0,"present":false},{"factor":"age_lt_50","points":0,"present":false,"value":60},{"factor":"male","points":0,"present":false},{"factor":"hormone_use","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":"dash","formula_expression":"DASH = 2*abnormal_d_dimer + 1*(age<50) + 1*male + (-2)*hormone_use(female only); max 4; recurrence_band <=1 / 2 / >=3","max_score":4,"recurrence_band":"<=1","score":0,"sex":"female"}],"path":"/api/calc/dash"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_d_dimer":{"description":"Abnormal D-dimer after stopping anticoagulation (Tosetto 2012). true or false. 2 points if true.","type":"boolean"},"age":{"description":"Age in years (18-120). Scores 1 when age is <50 (Tosetto 2012). Age 50 does not score.","type":"integer"},"hormone_use":{"description":"Hormone use at the initial VTE. Required. Scores -2 only when sex is female and true. Must be false when sex is male.","type":"boolean"},"sex":{"description":"female or male. Male scores 1. Hormone use applies only when female.","enum":["female","male"],"type":"string"}},"required":["age","sex","abnormal_d_dimer","hormone_use"],"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":["dash","vte","recurrence","d-dimer","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:36:19.695Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:36:19.337Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_d_dimer":false,"age":60,"hormone_use":false,"sex":"female"},{"abnormal_d_dimer":false,"age":60,"hormone_use":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Tosetto A, Iorio A, Marcucci M, et al.","doi":"10.1111/j.1538-7836.2012.04735.x","id":"tosetto-2012","pmid":"22489957","source":"J Thromb Haemost. 2012;10(6):1019-1025","title":"Predicting disease recurrence in patients with previous unprovoked venous thromboembolism: a proposed prediction score (DASH)"},"components":[{"factor":"abnormal_d_dimer","points":0,"present":false},{"factor":"age_lt_50","points":0,"present":false,"value":60},{"factor":"male","points":0,"present":false},{"factor":"hormone_use","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":"dash","formula_expression":"DASH = 2*abnormal_d_dimer + 1*(age<50) + 1*male + (-2)*hormone_use(female only); max 4; recurrence_band <=1 / 2 / >=3","max_score":4,"recurrence_band":"<=1","score":0,"sex":"female"},{"age_years":60,"citation":{"authors":"Tosetto A, Iorio A, Marcucci M, et al.","doi":"10.1111/j.1538-7836.2012.04735.x","id":"tosetto-2012","pmid":"22489957","source":"J Thromb Haemost. 2012;10(6):1019-1025","title":"Predicting disease recurrence in patients with previous unprovoked venous thromboembolism: a proposed prediction score (DASH)"},"components":[{"factor":"abnormal_d_dimer","points":0,"present":false},{"factor":"age_lt_50","points":0,"present":false,"value":60},{"factor":"male","points":0,"present":false},{"factor":"hormone_use","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":"dash","formula_expression":"DASH = 2*abnormal_d_dimer + 1*(age<50) + 1*male + (-2)*hormone_use(female only); max 4; recurrence_band <=1 / 2 / >=3","max_score":4,"recurrence_band":"<=1","score":0,"sex":"female"}],"path":"/api/calc/dash"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_d_dimer":{"description":"Abnormal D-dimer after stopping anticoagulation (Tosetto 2012). true or false. 2 points if true.","type":"boolean"},"age":{"description":"Age in years (18-120). Scores 1 when age is <50 (Tosetto 2012). Age 50 does not score.","type":"integer"},"hormone_use":{"description":"Hormone use at the initial VTE. Required. Scores -2 only when sex is female and true. Must be false when sex is male.","type":"boolean"},"sex":{"description":"female or male. Male scores 1. Hormone use applies only when female.","enum":["female","male"],"type":"string"}},"required":["age","sex","abnormal_d_dimer","hormone_use"],"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},{"id":39214,"slug":"39214","resource":"https://api.magentlab.com/api/calc/dapt","description":"Yeh 2016 DAPT prediction rule after PCI: exclusive age (<65: 0; 65 to younger than 75: -1; 75 or older: -2) plus MI at presentation, prior MI or PCI, diabetes, stent diameter <3 mm, smoking (current or within past year), and paclitaxel-eluting stent (1 each); CHF or LVEF <30% and vein-graft intervention (2 each). Max 10. Score >=2 high, <2 low. Not a duration order. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":60,"chf_or_lvef_lt_30":false,"diabetes":false,"myocardial_infarction_at_presentation":false,"paclitaxel_eluting_stent":false,"prior_mi_or_pci":false,"smoking":false,"stent_diameter_lt_3mm":false,"vein_graft_intervention":false},{"age":60,"chf_or_lvef_lt_30":false,"diabetes":false,"myocardial_infarction_at_presentation":false,"paclitaxel_eluting_stent":false,"prior_mi_or_pci":false,"smoking":false,"stent_diameter_lt_3mm":false,"vein_graft_intervention":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Yeh RW, Secemsky EA, Kereiakes DJ, et al","doi":"10.1001/jama.2016.3775","id":"yeh-2016","pmid":"27022822","source":"JAMA. 2016;315(16):1735-1749","title":"Development and Validation of a Prediction Rule for Benefit and Harm of Dual Antiplatelet Therapy Beyond 1 Year After Percutaneous Coronary Intervention"},"components":[{"factor":"age","points":0,"present":false,"value":60},{"factor":"myocardial_infarction_at_presentation","points":0,"present":false},{"factor":"prior_mi_or_pci","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"stent_diameter_lt_3mm","points":0,"present":false},{"factor":"smoking","points":0,"present":false},{"factor":"paclitaxel_eluting_stent","points":0,"present":false},{"factor":"chf_or_lvef_lt_30","points":0,"present":false},{"factor":"vein_graft_intervention","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":"dapt","formula_expression":"DAPT = exclusive age (<65: 0, 65 to <75: -1, >=75: -2) + myocardial_infarction_at_presentation 1 + prior_mi_or_pci 1 + diabetes 1 + stent_diameter_lt_3mm 1 + smoking 1 + paclitaxel_eluting_stent 1 + chf_or_lvef_lt_30 2 + vein_graft_intervention 2; max 10; >=2 high, <2 low (Yeh 2016)","max_score":10,"risk_band":"low","score":0},{"age_years":60,"citation":{"authors":"Yeh RW, Secemsky EA, Kereiakes DJ, et al","doi":"10.1001/jama.2016.3775","id":"yeh-2016","pmid":"27022822","source":"JAMA. 2016;315(16):1735-1749","title":"Development and Validation of a Prediction Rule for Benefit and Harm of Dual Antiplatelet Therapy Beyond 1 Year After Percutaneous Coronary Intervention"},"components":[{"factor":"age","points":0,"present":false,"value":60},{"factor":"myocardial_infarction_at_presentation","points":0,"present":false},{"factor":"prior_mi_or_pci","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"stent_diameter_lt_3mm","points":0,"present":false},{"factor":"smoking","points":0,"present":false},{"factor":"paclitaxel_eluting_stent","points":0,"present":false},{"factor":"chf_or_lvef_lt_30","points":0,"present":false},{"factor":"vein_graft_intervention","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":"dapt","formula_expression":"DAPT = exclusive age (<65: 0, 65 to <75: -1, >=75: -2) + myocardial_infarction_at_presentation 1 + prior_mi_or_pci 1 + diabetes 1 + stent_diameter_lt_3mm 1 + smoking 1 + paclitaxel_eluting_stent 1 + chf_or_lvef_lt_30 2 + vein_graft_intervention 2; max 10; >=2 high, <2 low (Yeh 2016)","max_score":10,"risk_band":"low","score":0}],"path":"/api/calc/dapt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Yeh 2016 exclusive bands: younger than 65 scores 0; 65 to younger than 75 scores -1; 75 or older scores -2. Age 75 is -2, not -1.","type":"integer"},"chf_or_lvef_lt_30":{"description":"Congestive heart failure or LVEF <30% as assigned by the caller (Yeh 2016). true scores 2. magent does not measure LVEF.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (Yeh 2016). true scores 1.","type":"boolean"},"myocardial_infarction_at_presentation":{"description":"Myocardial infarction at presentation as assigned by the caller (Yeh 2016). true scores 1. magent does not diagnose MI.","type":"boolean"},"paclitaxel_eluting_stent":{"description":"Paclitaxel-eluting stent as assigned by the caller (Yeh 2016). true scores 1.","type":"boolean"},"prior_mi_or_pci":{"description":"Prior myocardial infarction or prior PCI as assigned by the caller (Yeh 2016). true scores 1.","type":"boolean"},"smoking":{"description":"Current cigarette smoking or smoking within the past year as assigned by the caller (Yeh 2016). true scores 1.","type":"boolean"},"stent_diameter_lt_3mm":{"description":"Stent diameter <3 mm as assigned by the caller (Yeh 2016). true scores 1. magent does not measure the stent.","type":"boolean"},"vein_graft_intervention":{"description":"Vein-graft PCI as assigned by the caller (Yeh 2016). true scores 2. magent does not interpret the angiogram.","type":"boolean"}},"required":["age","myocardial_infarction_at_presentation","prior_mi_or_pci","diabetes","stent_diameter_lt_3mm","smoking","paclitaxel_eluting_stent","chf_or_lvef_lt_30","vein_graft_intervention"],"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":["dapt","pci","antiplatelet","acs","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:36:17.863Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:36:17.492Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":60,"chf_or_lvef_lt_30":false,"diabetes":false,"myocardial_infarction_at_presentation":false,"paclitaxel_eluting_stent":false,"prior_mi_or_pci":false,"smoking":false,"stent_diameter_lt_3mm":false,"vein_graft_intervention":false},{"age":60,"chf_or_lvef_lt_30":false,"diabetes":false,"myocardial_infarction_at_presentation":false,"paclitaxel_eluting_stent":false,"prior_mi_or_pci":false,"smoking":false,"stent_diameter_lt_3mm":false,"vein_graft_intervention":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Yeh RW, Secemsky EA, Kereiakes DJ, et al","doi":"10.1001/jama.2016.3775","id":"yeh-2016","pmid":"27022822","source":"JAMA. 2016;315(16):1735-1749","title":"Development and Validation of a Prediction Rule for Benefit and Harm of Dual Antiplatelet Therapy Beyond 1 Year After Percutaneous Coronary Intervention"},"components":[{"factor":"age","points":0,"present":false,"value":60},{"factor":"myocardial_infarction_at_presentation","points":0,"present":false},{"factor":"prior_mi_or_pci","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"stent_diameter_lt_3mm","points":0,"present":false},{"factor":"smoking","points":0,"present":false},{"factor":"paclitaxel_eluting_stent","points":0,"present":false},{"factor":"chf_or_lvef_lt_30","points":0,"present":false},{"factor":"vein_graft_intervention","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":"dapt","formula_expression":"DAPT = exclusive age (<65: 0, 65 to <75: -1, >=75: -2) + myocardial_infarction_at_presentation 1 + prior_mi_or_pci 1 + diabetes 1 + stent_diameter_lt_3mm 1 + smoking 1 + paclitaxel_eluting_stent 1 + chf_or_lvef_lt_30 2 + vein_graft_intervention 2; max 10; >=2 high, <2 low (Yeh 2016)","max_score":10,"risk_band":"low","score":0},{"age_years":60,"citation":{"authors":"Yeh RW, Secemsky EA, Kereiakes DJ, et al","doi":"10.1001/jama.2016.3775","id":"yeh-2016","pmid":"27022822","source":"JAMA. 2016;315(16):1735-1749","title":"Development and Validation of a Prediction Rule for Benefit and Harm of Dual Antiplatelet Therapy Beyond 1 Year After Percutaneous Coronary Intervention"},"components":[{"factor":"age","points":0,"present":false,"value":60},{"factor":"myocardial_infarction_at_presentation","points":0,"present":false},{"factor":"prior_mi_or_pci","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"stent_diameter_lt_3mm","points":0,"present":false},{"factor":"smoking","points":0,"present":false},{"factor":"paclitaxel_eluting_stent","points":0,"present":false},{"factor":"chf_or_lvef_lt_30","points":0,"present":false},{"factor":"vein_graft_intervention","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":"dapt","formula_expression":"DAPT = exclusive age (<65: 0, 65 to <75: -1, >=75: -2) + myocardial_infarction_at_presentation 1 + prior_mi_or_pci 1 + diabetes 1 + stent_diameter_lt_3mm 1 + smoking 1 + paclitaxel_eluting_stent 1 + chf_or_lvef_lt_30 2 + vein_graft_intervention 2; max 10; >=2 high, <2 low (Yeh 2016)","max_score":10,"risk_band":"low","score":0}],"path":"/api/calc/dapt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Yeh 2016 exclusive bands: younger than 65 scores 0; 65 to younger than 75 scores -1; 75 or older scores -2. Age 75 is -2, not -1.","type":"integer"},"chf_or_lvef_lt_30":{"description":"Congestive heart failure or LVEF <30% as assigned by the caller (Yeh 2016). true scores 2. magent does not measure LVEF.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (Yeh 2016). true scores 1.","type":"boolean"},"myocardial_infarction_at_presentation":{"description":"Myocardial infarction at presentation as assigned by the caller (Yeh 2016). true scores 1. magent does not diagnose MI.","type":"boolean"},"paclitaxel_eluting_stent":{"description":"Paclitaxel-eluting stent as assigned by the caller (Yeh 2016). true scores 1.","type":"boolean"},"prior_mi_or_pci":{"description":"Prior myocardial infarction or prior PCI as assigned by the caller (Yeh 2016). true scores 1.","type":"boolean"},"smoking":{"description":"Current cigarette smoking or smoking within the past year as assigned by the caller (Yeh 2016). true scores 1.","type":"boolean"},"stent_diameter_lt_3mm":{"description":"Stent diameter <3 mm as assigned by the caller (Yeh 2016). true scores 1. magent does not measure the stent.","type":"boolean"},"vein_graft_intervention":{"description":"Vein-graft PCI as assigned by the caller (Yeh 2016). true scores 2. magent does not interpret the angiogram.","type":"boolean"}},"required":["age","myocardial_infarction_at_presentation","prior_mi_or_pci","diabetes","stent_diameter_lt_3mm","smoking","paclitaxel_eluting_stent","chf_or_lvef_lt_30","vein_graft_intervention"],"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},{"id":39215,"slug":"39215","resource":"https://api.magentlab.com/api/calc/damico","description":"D'Amico 1998 JAMA clinically localized prostate-cancer groups from caller-assigned T (t1c, t2a, t2b, t2c), Gleason 2-10, and PSA ng/mL (0.1-200). Returns low, intermediate, or high. High if T2c or PSA > 20 or Gleason ≥ 8; else intermediate if T2b or Gleason 7 or PSA > 10 and ≤ 20; else low if T1c/T2a and PSA ≤ 10 and Gleason ≤ 6. Not CAPRA. Not NCCN. magent does not assay PSA or assign Gleason. Not a diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"gleason_score":6,"psa_ng_ml":5,"t_stage":"t1c"},{"gleason_score":6,"psa_ng_ml":5,"t_stage":"t1c"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"D'Amico AV, Whittington R, Malkowicz SB, Schultz D, Blank K, Broderick GA, Tomaszewski JE, Renshaw AA, Kaplan I, Beard CJ, Wein A","doi":"10.1001/jama.280.11.969","id":"damico-1998","pmid":"9749478","source":"JAMA. 1998;280(11):969-974","title":"Biochemical outcome after radical prostatectomy, external beam radiation therapy, or interstitial radiation therapy for clinically localized prostate cancer"},"components":[{"factor":"t_stage","met":true,"value":"t1c"},{"factor":"gleason_score","met":true,"value":6},{"factor":"psa_ng_ml","met":true,"value":5},{"factor":"low","met":true},{"factor":"intermediate","met":false},{"factor":"high","met":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":"damico","formula_expression":"D'Amico 1998 JAMA clinically localized groups: high if t_stage t2c OR psa_ng_ml > 20 OR gleason_score ≥ 8; else intermediate if t_stage t2b OR gleason_score == 7 OR (psa_ng_ml > 10 AND psa_ng_ml ≤ 20); else low if t_stage in {t1c, t2a} AND psa_ng_ml ≤ 10 AND gleason_score ≤ 6. Not CAPRA. Not NCCN. magent does not assay PSA or assign Gleason.","gleason_score":6,"psa_ng_ml":5,"risk":"low","t_stage":"t1c"},{"citation":{"authors":"D'Amico AV, Whittington R, Malkowicz SB, Schultz D, Blank K, Broderick GA, Tomaszewski JE, Renshaw AA, Kaplan I, Beard CJ, Wein A","doi":"10.1001/jama.280.11.969","id":"damico-1998","pmid":"9749478","source":"JAMA. 1998;280(11):969-974","title":"Biochemical outcome after radical prostatectomy, external beam radiation therapy, or interstitial radiation therapy for clinically localized prostate cancer"},"components":[{"factor":"t_stage","met":true,"value":"t1c"},{"factor":"gleason_score","met":true,"value":6},{"factor":"psa_ng_ml","met":true,"value":5},{"factor":"low","met":true},{"factor":"intermediate","met":false},{"factor":"high","met":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":"damico","formula_expression":"D'Amico 1998 JAMA clinically localized groups: high if t_stage t2c OR psa_ng_ml > 20 OR gleason_score ≥ 8; else intermediate if t_stage t2b OR gleason_score == 7 OR (psa_ng_ml > 10 AND psa_ng_ml ≤ 20); else low if t_stage in {t1c, t2a} AND psa_ng_ml ≤ 10 AND gleason_score ≤ 6. Not CAPRA. Not NCCN. magent does not assay PSA or assign Gleason.","gleason_score":6,"psa_ng_ml":5,"risk":"low","t_stage":"t1c"}],"path":"/api/calc/damico"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"gleason_score":{"description":"Gleason sum 2-10 as assigned by the caller (D'Amico 1998). Integer 2-10 only; reject 1, 11, and 6.5. Not Grade Group / ISUP 2014. magent does not assign Gleason or read slides.","type":"integer"},"psa_ng_ml":{"description":"Serum PSA in ng/mL as assayed by the caller (0.1-200). D'Amico 1998 uses ≤10, >10 and ≤20, and >20. magent does not assay PSA.","type":"number"},"t_stage":{"description":"Clinical T as assigned by the caller (D'Amico 1998 clinically localized groups). t1c, t2a, t2b, or t2c. T1a, T1b, and T3+ are out of scope. magent does not assign TNM or read staging studies.","enum":["t1c","t2a","t2b","t2c"],"type":"string"}},"required":["t_stage","gleason_score","psa_ng_ml"],"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":["damico","prostate","kidney","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:31:29.828Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:31:29.694Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"gleason_score":6,"psa_ng_ml":5,"t_stage":"t1c"},{"gleason_score":6,"psa_ng_ml":5,"t_stage":"t1c"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"D'Amico AV, Whittington R, Malkowicz SB, Schultz D, Blank K, Broderick GA, Tomaszewski JE, Renshaw AA, Kaplan I, Beard CJ, Wein A","doi":"10.1001/jama.280.11.969","id":"damico-1998","pmid":"9749478","source":"JAMA. 1998;280(11):969-974","title":"Biochemical outcome after radical prostatectomy, external beam radiation therapy, or interstitial radiation therapy for clinically localized prostate cancer"},"components":[{"factor":"t_stage","met":true,"value":"t1c"},{"factor":"gleason_score","met":true,"value":6},{"factor":"psa_ng_ml","met":true,"value":5},{"factor":"low","met":true},{"factor":"intermediate","met":false},{"factor":"high","met":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":"damico","formula_expression":"D'Amico 1998 JAMA clinically localized groups: high if t_stage t2c OR psa_ng_ml > 20 OR gleason_score ≥ 8; else intermediate if t_stage t2b OR gleason_score == 7 OR (psa_ng_ml > 10 AND psa_ng_ml ≤ 20); else low if t_stage in {t1c, t2a} AND psa_ng_ml ≤ 10 AND gleason_score ≤ 6. Not CAPRA. Not NCCN. magent does not assay PSA or assign Gleason.","gleason_score":6,"psa_ng_ml":5,"risk":"low","t_stage":"t1c"},{"citation":{"authors":"D'Amico AV, Whittington R, Malkowicz SB, Schultz D, Blank K, Broderick GA, Tomaszewski JE, Renshaw AA, Kaplan I, Beard CJ, Wein A","doi":"10.1001/jama.280.11.969","id":"damico-1998","pmid":"9749478","source":"JAMA. 1998;280(11):969-974","title":"Biochemical outcome after radical prostatectomy, external beam radiation therapy, or interstitial radiation therapy for clinically localized prostate cancer"},"components":[{"factor":"t_stage","met":true,"value":"t1c"},{"factor":"gleason_score","met":true,"value":6},{"factor":"psa_ng_ml","met":true,"value":5},{"factor":"low","met":true},{"factor":"intermediate","met":false},{"factor":"high","met":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":"damico","formula_expression":"D'Amico 1998 JAMA clinically localized groups: high if t_stage t2c OR psa_ng_ml > 20 OR gleason_score ≥ 8; else intermediate if t_stage t2b OR gleason_score == 7 OR (psa_ng_ml > 10 AND psa_ng_ml ≤ 20); else low if t_stage in {t1c, t2a} AND psa_ng_ml ≤ 10 AND gleason_score ≤ 6. Not CAPRA. Not NCCN. magent does not assay PSA or assign Gleason.","gleason_score":6,"psa_ng_ml":5,"risk":"low","t_stage":"t1c"}],"path":"/api/calc/damico"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"gleason_score":{"description":"Gleason sum 2-10 as assigned by the caller (D'Amico 1998). Integer 2-10 only; reject 1, 11, and 6.5. Not Grade Group / ISUP 2014. magent does not assign Gleason or read slides.","type":"integer"},"psa_ng_ml":{"description":"Serum PSA in ng/mL as assayed by the caller (0.1-200). D'Amico 1998 uses ≤10, >10 and ≤20, and >20. magent does not assay PSA.","type":"number"},"t_stage":{"description":"Clinical T as assigned by the caller (D'Amico 1998 clinically localized groups). t1c, t2a, t2b, or t2c. T1a, T1b, and T3+ are out of scope. magent does not assign TNM or read staging studies.","enum":["t1c","t2a","t2b","t2c"],"type":"string"}},"required":["t_stage","gleason_score","psa_ng_ml"],"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},{"id":39216,"slug":"39216","resource":"https://api.magentlab.com/api/calc/dad_ckd","description":"Mocroft 2015 D:A:D full CKD risk score (Table 2 integer points only): IDU, hepatitis C, age, caller-assigned eGFR >60, sex, nadir CD4, hypertension, prior CVD, and diabetes. Bands low <0, medium 0–4, high ≥5. Not the short score, not the Poisson probability model, not NNTH, and not an ART start order. Race is not an input.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":38,"diabetes":true,"egfr_ml_min":68,"hepatitis_c":false,"hypertension":false,"ivdu":false,"nadir_cd4_cells_mm3":250,"prior_cvd":false,"sex":"female"},{"age_years":38,"diabetes":true,"egfr_ml_min":68,"hepatitis_c":false,"hypertension":false,"ivdu":false,"nadir_cd4_cells_mm3":250,"prior_cvd":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":38,"citation":{"authors":"Mocroft A, Lundgren JD, Ross M, Law M, Reiss P, Kirk O, et al.","doi":"10.1371/journal.pmed.1001809","id":"mocroft-2015","pmid":"25826420","source":"PLoS Med. 2015;12(3):e1001809","title":"Development and Validation of a Risk Score for Chronic Kidney Disease in HIV Infection Using Prospective Cohort Data from the D:A:D Study"},"components":[{"factor":"ivdu","points":0,"present":false},{"factor":"hepatitis_c","points":0,"present":false},{"factor":"age_years","points":4,"present":true,"value":38},{"factor":"egfr_ml_min","points":6,"present":true,"value":68},{"factor":"sex","points":1,"present":true,"value":"female"},{"factor":"nadir_cd4_cells_mm3","points":-1,"present":true,"value":250},{"factor":"hypertension","points":0,"present":false},{"factor":"prior_cvd","points":0,"present":false},{"factor":"diabetes","points":2,"present":true}],"diabetes":true,"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.","egfr_ml_min":68,"formula":"dad_ckd","formula_expression":"D:A:D full CKD = ivdu 2 + hepatitis_c 1 + age (≤35 0; >35 and ≤50 4; >50 and ≤60 7; >60 10) + egfr (>90 −6; >70 and ≤90 0; >60 and ≤70 6) + female 1 + nadir_cd4 (>200 −1; ≤200 0) + hypertension 1 + prior_cvd 1 + diabetes 2; Mocroft 2015 Table 2; max 24; bands low <0, medium 0–4, high ≥5","hepatitis_c":false,"hypertension":false,"ivdu":false,"max_score":24,"nadir_cd4_cells_mm3":250,"prior_cvd":false,"risk_band":"high","score":12,"sex":"female"},{"age_years":38,"citation":{"authors":"Mocroft A, Lundgren JD, Ross M, Law M, Reiss P, Kirk O, et al.","doi":"10.1371/journal.pmed.1001809","id":"mocroft-2015","pmid":"25826420","source":"PLoS Med. 2015;12(3):e1001809","title":"Development and Validation of a Risk Score for Chronic Kidney Disease in HIV Infection Using Prospective Cohort Data from the D:A:D Study"},"components":[{"factor":"ivdu","points":0,"present":false},{"factor":"hepatitis_c","points":0,"present":false},{"factor":"age_years","points":4,"present":true,"value":38},{"factor":"egfr_ml_min","points":6,"present":true,"value":68},{"factor":"sex","points":1,"present":true,"value":"female"},{"factor":"nadir_cd4_cells_mm3","points":-1,"present":true,"value":250},{"factor":"hypertension","points":0,"present":false},{"factor":"prior_cvd","points":0,"present":false},{"factor":"diabetes","points":2,"present":true}],"diabetes":true,"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.","egfr_ml_min":68,"formula":"dad_ckd","formula_expression":"D:A:D full CKD = ivdu 2 + hepatitis_c 1 + age (≤35 0; >35 and ≤50 4; >50 and ≤60 7; >60 10) + egfr (>90 −6; >70 and ≤90 0; >60 and ≤70 6) + female 1 + nadir_cd4 (>200 −1; ≤200 0) + hypertension 1 + prior_cvd 1 + diabetes 2; Mocroft 2015 Table 2; max 24; bands low <0, medium 0–4, high ≥5","hepatitis_c":false,"hypertension":false,"ivdu":false,"max_score":24,"nadir_cd4_cells_mm3":250,"prior_cvd":false,"risk_band":"high","score":12,"sex":"female"}],"path":"/api/calc/dad_ckd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (integer 16-120). Mocroft 2015 Table 2: ≤35 scores 0; >35 and ≤50 scores 4; >50 and ≤60 scores 7; >60 scores 10.","type":"integer"},"diabetes":{"description":"Caller-assigned diabetes (Mocroft 2015 Table 2). true scores 2. magent does not diagnose diabetes.","type":"boolean"},"egfr_ml_min":{"description":"Caller-assigned eGFR in mL/min (0.1-250, must be >60). Mocroft 2015 Table 2: >90 scores −6; >70 and ≤90 scores 0; >60 and ≤70 scores 6. eGFR ≤60 is outside the derivation population. magent does not compute eGFR.","type":"number"},"hepatitis_c":{"description":"Caller-assigned hepatitis C co-infection (Mocroft 2015 Table 2). true scores 1. magent does not diagnose hepatitis C.","type":"boolean"},"hypertension":{"description":"Caller-assigned hypertension (Mocroft 2015 Table 2). true scores 1. magent does not diagnose hypertension.","type":"boolean"},"ivdu":{"description":"Caller-assigned injecting drug use (Mocroft 2015 Table 2). true scores 2. magent does not diagnose injecting drug use.","type":"boolean"},"nadir_cd4_cells_mm3":{"description":"Nadir CD4 count in cells/mm³ (integer 0-3000). Mocroft 2015 Table 2: ≤200 scores 0; >200 scores −1. magent does not assay CD4.","type":"integer"},"prior_cvd":{"description":"Caller-assigned prior cardiovascular disease (Mocroft 2015 Table 2). true scores 1. magent does not diagnose CVD.","type":"boolean"},"sex":{"description":"Sex (Mocroft 2015 Table 2). female scores 1; male scores 0.","enum":["female","male"],"type":"string"}},"required":["ivdu","hepatitis_c","age_years","egfr_ml_min","sex","nadir_cd4_cells_mm3","hypertension","prior_cvd","diabetes"],"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":["dad-ckd","ckd","hiv","kidney","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:31:28.937Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:31:28.789Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":38,"diabetes":true,"egfr_ml_min":68,"hepatitis_c":false,"hypertension":false,"ivdu":false,"nadir_cd4_cells_mm3":250,"prior_cvd":false,"sex":"female"},{"age_years":38,"diabetes":true,"egfr_ml_min":68,"hepatitis_c":false,"hypertension":false,"ivdu":false,"nadir_cd4_cells_mm3":250,"prior_cvd":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":38,"citation":{"authors":"Mocroft A, Lundgren JD, Ross M, Law M, Reiss P, Kirk O, et al.","doi":"10.1371/journal.pmed.1001809","id":"mocroft-2015","pmid":"25826420","source":"PLoS Med. 2015;12(3):e1001809","title":"Development and Validation of a Risk Score for Chronic Kidney Disease in HIV Infection Using Prospective Cohort Data from the D:A:D Study"},"components":[{"factor":"ivdu","points":0,"present":false},{"factor":"hepatitis_c","points":0,"present":false},{"factor":"age_years","points":4,"present":true,"value":38},{"factor":"egfr_ml_min","points":6,"present":true,"value":68},{"factor":"sex","points":1,"present":true,"value":"female"},{"factor":"nadir_cd4_cells_mm3","points":-1,"present":true,"value":250},{"factor":"hypertension","points":0,"present":false},{"factor":"prior_cvd","points":0,"present":false},{"factor":"diabetes","points":2,"present":true}],"diabetes":true,"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.","egfr_ml_min":68,"formula":"dad_ckd","formula_expression":"D:A:D full CKD = ivdu 2 + hepatitis_c 1 + age (≤35 0; >35 and ≤50 4; >50 and ≤60 7; >60 10) + egfr (>90 −6; >70 and ≤90 0; >60 and ≤70 6) + female 1 + nadir_cd4 (>200 −1; ≤200 0) + hypertension 1 + prior_cvd 1 + diabetes 2; Mocroft 2015 Table 2; max 24; bands low <0, medium 0–4, high ≥5","hepatitis_c":false,"hypertension":false,"ivdu":false,"max_score":24,"nadir_cd4_cells_mm3":250,"prior_cvd":false,"risk_band":"high","score":12,"sex":"female"},{"age_years":38,"citation":{"authors":"Mocroft A, Lundgren JD, Ross M, Law M, Reiss P, Kirk O, et al.","doi":"10.1371/journal.pmed.1001809","id":"mocroft-2015","pmid":"25826420","source":"PLoS Med. 2015;12(3):e1001809","title":"Development and Validation of a Risk Score for Chronic Kidney Disease in HIV Infection Using Prospective Cohort Data from the D:A:D Study"},"components":[{"factor":"ivdu","points":0,"present":false},{"factor":"hepatitis_c","points":0,"present":false},{"factor":"age_years","points":4,"present":true,"value":38},{"factor":"egfr_ml_min","points":6,"present":true,"value":68},{"factor":"sex","points":1,"present":true,"value":"female"},{"factor":"nadir_cd4_cells_mm3","points":-1,"present":true,"value":250},{"factor":"hypertension","points":0,"present":false},{"factor":"prior_cvd","points":0,"present":false},{"factor":"diabetes","points":2,"present":true}],"diabetes":true,"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.","egfr_ml_min":68,"formula":"dad_ckd","formula_expression":"D:A:D full CKD = ivdu 2 + hepatitis_c 1 + age (≤35 0; >35 and ≤50 4; >50 and ≤60 7; >60 10) + egfr (>90 −6; >70 and ≤90 0; >60 and ≤70 6) + female 1 + nadir_cd4 (>200 −1; ≤200 0) + hypertension 1 + prior_cvd 1 + diabetes 2; Mocroft 2015 Table 2; max 24; bands low <0, medium 0–4, high ≥5","hepatitis_c":false,"hypertension":false,"ivdu":false,"max_score":24,"nadir_cd4_cells_mm3":250,"prior_cvd":false,"risk_band":"high","score":12,"sex":"female"}],"path":"/api/calc/dad_ckd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (integer 16-120). Mocroft 2015 Table 2: ≤35 scores 0; >35 and ≤50 scores 4; >50 and ≤60 scores 7; >60 scores 10.","type":"integer"},"diabetes":{"description":"Caller-assigned diabetes (Mocroft 2015 Table 2). true scores 2. magent does not diagnose diabetes.","type":"boolean"},"egfr_ml_min":{"description":"Caller-assigned eGFR in mL/min (0.1-250, must be >60). Mocroft 2015 Table 2: >90 scores −6; >70 and ≤90 scores 0; >60 and ≤70 scores 6. eGFR ≤60 is outside the derivation population. magent does not compute eGFR.","type":"number"},"hepatitis_c":{"description":"Caller-assigned hepatitis C co-infection (Mocroft 2015 Table 2). true scores 1. magent does not diagnose hepatitis C.","type":"boolean"},"hypertension":{"description":"Caller-assigned hypertension (Mocroft 2015 Table 2). true scores 1. magent does not diagnose hypertension.","type":"boolean"},"ivdu":{"description":"Caller-assigned injecting drug use (Mocroft 2015 Table 2). true scores 2. magent does not diagnose injecting drug use.","type":"boolean"},"nadir_cd4_cells_mm3":{"description":"Nadir CD4 count in cells/mm³ (integer 0-3000). Mocroft 2015 Table 2: ≤200 scores 0; >200 scores −1. magent does not assay CD4.","type":"integer"},"prior_cvd":{"description":"Caller-assigned prior cardiovascular disease (Mocroft 2015 Table 2). true scores 1. magent does not diagnose CVD.","type":"boolean"},"sex":{"description":"Sex (Mocroft 2015 Table 2). female scores 1; male scores 0.","enum":["female","male"],"type":"string"}},"required":["ivdu","hepatitis_c","age_years","egfr_ml_min","sex","nadir_cd4_cells_mm3","hypertension","prior_cvd","diabetes"],"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},{"id":39217,"slug":"39217","resource":"https://api.magentlab.com/api/calc/curb65","description":"CURB-65 pneumonia severity from age and discrete clinical flags. Deterministic published score with citation; not a treatment recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"confusion":true,"low_blood_pressure":false,"respiratory_rate_ge_30":false,"urea_high":true},{"age":70,"confusion":true,"low_blood_pressure":false,"respiratory_rate_ge_30":false,"urea_high":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Lim WS, van der Eerden MM, Laing R, et al.","doi":"10.1136/thorax.58.5.377","id":"lim-2003","source":"Thorax. 2003;58(5):377-382","title":"Defining community acquired pneumonia severity on presentation to hospital: an international derivation and validation study"},"components":[{"factor":"confusion","points":1,"present":true},{"factor":"urea_high","points":1,"present":true},{"factor":"respiratory_rate_ge_30","points":0,"present":false},{"factor":"low_blood_pressure","points":0,"present":false},{"factor":"age_ge_65","points":1,"present":true,"value":70}],"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":"curb65","formula_expression":"CURB-65 = confusion + urea_high + respiratory_rate_ge_30 + low_blood_pressure + age_ge_65; max 5","max_score":5,"score":3},{"age_years":70,"citation":{"authors":"Lim WS, van der Eerden MM, Laing R, et al.","doi":"10.1136/thorax.58.5.377","id":"lim-2003","source":"Thorax. 2003;58(5):377-382","title":"Defining community acquired pneumonia severity on presentation to hospital: an international derivation and validation study"},"components":[{"factor":"confusion","points":1,"present":true},{"factor":"urea_high","points":1,"present":true},{"factor":"respiratory_rate_ge_30","points":0,"present":false},{"factor":"low_blood_pressure","points":0,"present":false},{"factor":"age_ge_65","points":1,"present":true,"value":70}],"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":"curb65","formula_expression":"CURB-65 = confusion + urea_high + respiratory_rate_ge_30 + low_blood_pressure + age_ge_65; max 5","max_score":5,"score":3}],"path":"/api/calc/curb65"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥65 scores 1.","type":"integer"},"confusion":{"description":"New confusion (C). true or false.","type":"boolean"},"low_blood_pressure":{"description":"SBP <90 mmHg or DBP ≤60 mmHg (B). true or false.","type":"boolean"},"respiratory_rate_ge_30":{"description":"Respiratory rate ≥30/min (R). true or false.","type":"boolean"},"urea_high":{"description":"Urea >7 mmol/L (U). Pass the published cutoff as a flag; magent does not convert BUN.","type":"boolean"}},"required":["age","confusion","urea_high","respiratory_rate_ge_30","low_blood_pressure"],"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":["curb-65","pneumonia","severity","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:31:28.093Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:31:27.955Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"confusion":true,"low_blood_pressure":false,"respiratory_rate_ge_30":false,"urea_high":true},{"age":70,"confusion":true,"low_blood_pressure":false,"respiratory_rate_ge_30":false,"urea_high":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Lim WS, van der Eerden MM, Laing R, et al.","doi":"10.1136/thorax.58.5.377","id":"lim-2003","source":"Thorax. 2003;58(5):377-382","title":"Defining community acquired pneumonia severity on presentation to hospital: an international derivation and validation study"},"components":[{"factor":"confusion","points":1,"present":true},{"factor":"urea_high","points":1,"present":true},{"factor":"respiratory_rate_ge_30","points":0,"present":false},{"factor":"low_blood_pressure","points":0,"present":false},{"factor":"age_ge_65","points":1,"present":true,"value":70}],"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":"curb65","formula_expression":"CURB-65 = confusion + urea_high + respiratory_rate_ge_30 + low_blood_pressure + age_ge_65; max 5","max_score":5,"score":3},{"age_years":70,"citation":{"authors":"Lim WS, van der Eerden MM, Laing R, et al.","doi":"10.1136/thorax.58.5.377","id":"lim-2003","source":"Thorax. 2003;58(5):377-382","title":"Defining community acquired pneumonia severity on presentation to hospital: an international derivation and validation study"},"components":[{"factor":"confusion","points":1,"present":true},{"factor":"urea_high","points":1,"present":true},{"factor":"respiratory_rate_ge_30","points":0,"present":false},{"factor":"low_blood_pressure","points":0,"present":false},{"factor":"age_ge_65","points":1,"present":true,"value":70}],"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":"curb65","formula_expression":"CURB-65 = confusion + urea_high + respiratory_rate_ge_30 + low_blood_pressure + age_ge_65; max 5","max_score":5,"score":3}],"path":"/api/calc/curb65"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥65 scores 1.","type":"integer"},"confusion":{"description":"New confusion (C). true or false.","type":"boolean"},"low_blood_pressure":{"description":"SBP <90 mmHg or DBP ≤60 mmHg (B). true or false.","type":"boolean"},"respiratory_rate_ge_30":{"description":"Respiratory rate ≥30/min (R). true or false.","type":"boolean"},"urea_high":{"description":"Urea >7 mmol/L (U). Pass the published cutoff as a flag; magent does not convert BUN.","type":"boolean"}},"required":["age","confusion","urea_high","respiratory_rate_ge_30","low_blood_pressure"],"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},{"id":39218,"slug":"39218","resource":"https://api.magentlab.com/api/calc/cstat","description":"Static respiratory-system compliance (Cstat) as in ARDS Network 2000 methods: Cstat (mL/cm H2O) = tidal_volume_ml / (pplat_cm_h2o - peep_cm_h2o). Caller supplies the three measured terms. Rejects Pplat less than or equal to PEEP. Does not invent ARDS severity bands from Cstat (Murray 1988 compliance bands are a different tool). Not a ventilator order or medical device. magent does not read the ventilator.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"peep_cm_h2o":5,"pplat_cm_h2o":20,"tidal_volume_ml":500},{"peep_cm_h2o":5,"pplat_cm_h2o":20,"tidal_volume_ml":500}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Acute Respiratory Distress Syndrome Network; Brower RG, Matthay MA, Morris A, Schoenfeld D, Thompson BT, Wheeler A","doi":"10.1056/NEJM200005043421801","id":"ardsnet-2000","pmid":"10793162","source":"N Engl J Med. 2000;342(18):1301-1308","title":"Ventilation with lower tidal volumes as compared with traditional tidal volumes for acute lung injury and the acute respiratory distress syndrome"},"cstat_ml_cm_h2o":33.3,"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.","driving_pressure_cm_h2o":15,"formula":"cstat","formula_expression":"cstat_ml_cm_h2o = tidal_volume_ml / (pplat_cm_h2o - peep_cm_h2o)","peep_cm_h2o":5,"pplat_cm_h2o":20,"tidal_volume_ml":500},{"citation":{"authors":"Acute Respiratory Distress Syndrome Network; Brower RG, Matthay MA, Morris A, Schoenfeld D, Thompson BT, Wheeler A","doi":"10.1056/NEJM200005043421801","id":"ardsnet-2000","pmid":"10793162","source":"N Engl J Med. 2000;342(18):1301-1308","title":"Ventilation with lower tidal volumes as compared with traditional tidal volumes for acute lung injury and the acute respiratory distress syndrome"},"cstat_ml_cm_h2o":33.3,"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.","driving_pressure_cm_h2o":15,"formula":"cstat","formula_expression":"cstat_ml_cm_h2o = tidal_volume_ml / (pplat_cm_h2o - peep_cm_h2o)","peep_cm_h2o":5,"pplat_cm_h2o":20,"tidal_volume_ml":500}],"path":"/api/calc/cstat"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"peep_cm_h2o":{"description":"Positive end-expiratory pressure in cm H2O (0-40, magent clamp). Must be less than plateau pressure. magent does not read the ventilator.","type":"number"},"pplat_cm_h2o":{"description":"End-inspiratory plateau pressure in cm H2O (5-80, magent clamp). Must be greater than PEEP. magent does not read the ventilator.","type":"number"},"tidal_volume_ml":{"description":"Expired tidal volume in mL (50-2000, magent clamp). Caller supplies the measured term. magent does not read the ventilator.","type":"number"}},"required":["tidal_volume_ml","pplat_cm_h2o","peep_cm_h2o"],"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":["cstat","compliance","respiratory","ards","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:26:15.26Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:26:15.146Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"peep_cm_h2o":5,"pplat_cm_h2o":20,"tidal_volume_ml":500},{"peep_cm_h2o":5,"pplat_cm_h2o":20,"tidal_volume_ml":500}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Acute Respiratory Distress Syndrome Network; Brower RG, Matthay MA, Morris A, Schoenfeld D, Thompson BT, Wheeler A","doi":"10.1056/NEJM200005043421801","id":"ardsnet-2000","pmid":"10793162","source":"N Engl J Med. 2000;342(18):1301-1308","title":"Ventilation with lower tidal volumes as compared with traditional tidal volumes for acute lung injury and the acute respiratory distress syndrome"},"cstat_ml_cm_h2o":33.3,"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.","driving_pressure_cm_h2o":15,"formula":"cstat","formula_expression":"cstat_ml_cm_h2o = tidal_volume_ml / (pplat_cm_h2o - peep_cm_h2o)","peep_cm_h2o":5,"pplat_cm_h2o":20,"tidal_volume_ml":500},{"citation":{"authors":"Acute Respiratory Distress Syndrome Network; Brower RG, Matthay MA, Morris A, Schoenfeld D, Thompson BT, Wheeler A","doi":"10.1056/NEJM200005043421801","id":"ardsnet-2000","pmid":"10793162","source":"N Engl J Med. 2000;342(18):1301-1308","title":"Ventilation with lower tidal volumes as compared with traditional tidal volumes for acute lung injury and the acute respiratory distress syndrome"},"cstat_ml_cm_h2o":33.3,"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.","driving_pressure_cm_h2o":15,"formula":"cstat","formula_expression":"cstat_ml_cm_h2o = tidal_volume_ml / (pplat_cm_h2o - peep_cm_h2o)","peep_cm_h2o":5,"pplat_cm_h2o":20,"tidal_volume_ml":500}],"path":"/api/calc/cstat"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"peep_cm_h2o":{"description":"Positive end-expiratory pressure in cm H2O (0-40, magent clamp). Must be less than plateau pressure. magent does not read the ventilator.","type":"number"},"pplat_cm_h2o":{"description":"End-inspiratory plateau pressure in cm H2O (5-80, magent clamp). Must be greater than PEEP. magent does not read the ventilator.","type":"number"},"tidal_volume_ml":{"description":"Expired tidal volume in mL (50-2000, magent clamp). Caller supplies the measured term. magent does not read the ventilator.","type":"number"}},"required":["tidal_volume_ml","pplat_cm_h2o","peep_cm_h2o"],"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},{"id":39219,"slug":"39219","resource":"https://api.magentlab.com/api/calc/csrs","description":"Thiruganasambandamoorthy 2016 Canadian Syncope Risk Score: vasovagal predisposition −1, heart disease +1, any ED SBP <90 or >180 +2, troponin above the 99th percentile +2, QRS axis < −30° or >100° +1, QRS duration >130 ms +1, QTc >480 ms +2, ED vasovagal diagnosis −2, ED cardiac diagnosis +2. Score −3 to 11. Caller assigns flags and ECG numbers. Not a medical device, not a syncope diagnosis, and not a disposition protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ed_cardiac_syncope":false,"ed_vasovagal_syncope":false,"elevated_troponin":false,"heart_disease":false,"predisposition_vasovagal":false,"qrs_axis_deg":0,"qrs_duration_ms":80,"qtc_ms":400,"sbp_lt_90_or_gt_180":false},{"ed_cardiac_syncope":false,"ed_vasovagal_syncope":false,"elevated_troponin":false,"heart_disease":false,"predisposition_vasovagal":false,"qrs_axis_deg":0,"qrs_duration_ms":80,"qtc_ms":400,"sbp_lt_90_or_gt_180":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Thiruganasambandamoorthy V, Kwong K, Wells GA, et al.","doi":"10.1503/cmaj.151469","id":"thiruganasambandamoorthy-2016","pmid":"27378464","source":"CMAJ. 2016;188(12):E289-E298","title":"Development of the Canadian Syncope Risk Score to predict serious adverse events after emergency department assessment of syncope."},"components":[{"factor":"predisposition_vasovagal","points":0,"present":false},{"factor":"heart_disease","points":0,"present":false},{"factor":"sbp_lt_90_or_gt_180","points":0,"present":false},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"qrs_axis","points":0,"present":false,"value":0},{"factor":"qrs_duration","points":0,"present":false,"value":80},{"factor":"qtc","points":0,"present":false,"value":400},{"factor":"ed_vasovagal_syncope","points":0,"present":false},{"factor":"ed_cardiac_syncope","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":"csrs","formula_expression":"CSRS = predisposition_vasovagal(-1) + heart_disease(1) + sbp_lt_90_or_gt_180(2) + elevated_troponin(2) + (qrs_axis < -30 or > 100)(1) + (qrs_duration > 130)(1) + (qtc > 480)(2) + ed_vasovagal_syncope(-2) + ed_cardiac_syncope(2); range -3 to 11; max 11; Figure 2 / abstract (axis >100, not table 110)","max_score":11,"qrs_axis_deg":0,"qrs_duration_ms":80,"qtc_ms":400,"score":0},{"citation":{"authors":"Thiruganasambandamoorthy V, Kwong K, Wells GA, et al.","doi":"10.1503/cmaj.151469","id":"thiruganasambandamoorthy-2016","pmid":"27378464","source":"CMAJ. 2016;188(12):E289-E298","title":"Development of the Canadian Syncope Risk Score to predict serious adverse events after emergency department assessment of syncope."},"components":[{"factor":"predisposition_vasovagal","points":0,"present":false},{"factor":"heart_disease","points":0,"present":false},{"factor":"sbp_lt_90_or_gt_180","points":0,"present":false},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"qrs_axis","points":0,"present":false,"value":0},{"factor":"qrs_duration","points":0,"present":false,"value":80},{"factor":"qtc","points":0,"present":false,"value":400},{"factor":"ed_vasovagal_syncope","points":0,"present":false},{"factor":"ed_cardiac_syncope","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":"csrs","formula_expression":"CSRS = predisposition_vasovagal(-1) + heart_disease(1) + sbp_lt_90_or_gt_180(2) + elevated_troponin(2) + (qrs_axis < -30 or > 100)(1) + (qrs_duration > 130)(1) + (qtc > 480)(2) + ed_vasovagal_syncope(-2) + ed_cardiac_syncope(2); range -3 to 11; max 11; Figure 2 / abstract (axis >100, not table 110)","max_score":11,"qrs_axis_deg":0,"qrs_duration_ms":80,"qtc_ms":400,"score":0}],"path":"/api/calc/csrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ed_cardiac_syncope":{"description":"ED diagnosis of cardiac syncope (Thiruganasambandamoorthy 2016). true or false. Scores 2 if true. Cannot be true together with ed_vasovagal_syncope.","type":"boolean"},"ed_vasovagal_syncope":{"description":"ED diagnosis of vasovagal syncope (Thiruganasambandamoorthy 2016). true or false. Scores -2 if true. Cannot be true together with ed_cardiac_syncope.","type":"boolean"},"elevated_troponin":{"description":"Troponin above the 99th percentile (Thiruganasambandamoorthy 2016). true or false. Scores 2 if true.","type":"boolean"},"heart_disease":{"description":"History of heart disease (Thiruganasambandamoorthy 2016). true or false. Scores 1 if true.","type":"boolean"},"predisposition_vasovagal":{"description":"Predisposition to vasovagal syncope (Thiruganasambandamoorthy 2016). true or false. Scores -1 if true.","type":"boolean"},"qrs_axis_deg":{"description":"QRS axis in degrees (-180 to 180). Scores 1 when < -30 or > 100 (Figure 2 / abstract; not table 110). -30 and 100 do not score; -31 and 101 do.","type":"number"},"qrs_duration_ms":{"description":"QRS duration in milliseconds (40-300). Scores 1 when >130. 130 does not score; 131 does.","type":"number"},"qtc_ms":{"description":"QTc in milliseconds (200-800). Scores 2 when >480. 480 does not score; 481 does.","type":"number"},"sbp_lt_90_or_gt_180":{"description":"Any ED systolic BP <90 or >180 mm Hg (caller-assigned; SBP 90 and 180 are not out of range). true or false. Scores 2 if true. magent does not take a numeric SBP.","type":"boolean"}},"required":["predisposition_vasovagal","heart_disease","sbp_lt_90_or_gt_180","elevated_troponin","qrs_axis_deg","qrs_duration_ms","qtc_ms","ed_vasovagal_syncope","ed_cardiac_syncope"],"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":["csrs","syncope","emergency","ecg","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:26:14.324Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:26:14.216Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ed_cardiac_syncope":false,"ed_vasovagal_syncope":false,"elevated_troponin":false,"heart_disease":false,"predisposition_vasovagal":false,"qrs_axis_deg":0,"qrs_duration_ms":80,"qtc_ms":400,"sbp_lt_90_or_gt_180":false},{"ed_cardiac_syncope":false,"ed_vasovagal_syncope":false,"elevated_troponin":false,"heart_disease":false,"predisposition_vasovagal":false,"qrs_axis_deg":0,"qrs_duration_ms":80,"qtc_ms":400,"sbp_lt_90_or_gt_180":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Thiruganasambandamoorthy V, Kwong K, Wells GA, et al.","doi":"10.1503/cmaj.151469","id":"thiruganasambandamoorthy-2016","pmid":"27378464","source":"CMAJ. 2016;188(12):E289-E298","title":"Development of the Canadian Syncope Risk Score to predict serious adverse events after emergency department assessment of syncope."},"components":[{"factor":"predisposition_vasovagal","points":0,"present":false},{"factor":"heart_disease","points":0,"present":false},{"factor":"sbp_lt_90_or_gt_180","points":0,"present":false},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"qrs_axis","points":0,"present":false,"value":0},{"factor":"qrs_duration","points":0,"present":false,"value":80},{"factor":"qtc","points":0,"present":false,"value":400},{"factor":"ed_vasovagal_syncope","points":0,"present":false},{"factor":"ed_cardiac_syncope","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":"csrs","formula_expression":"CSRS = predisposition_vasovagal(-1) + heart_disease(1) + sbp_lt_90_or_gt_180(2) + elevated_troponin(2) + (qrs_axis < -30 or > 100)(1) + (qrs_duration > 130)(1) + (qtc > 480)(2) + ed_vasovagal_syncope(-2) + ed_cardiac_syncope(2); range -3 to 11; max 11; Figure 2 / abstract (axis >100, not table 110)","max_score":11,"qrs_axis_deg":0,"qrs_duration_ms":80,"qtc_ms":400,"score":0},{"citation":{"authors":"Thiruganasambandamoorthy V, Kwong K, Wells GA, et al.","doi":"10.1503/cmaj.151469","id":"thiruganasambandamoorthy-2016","pmid":"27378464","source":"CMAJ. 2016;188(12):E289-E298","title":"Development of the Canadian Syncope Risk Score to predict serious adverse events after emergency department assessment of syncope."},"components":[{"factor":"predisposition_vasovagal","points":0,"present":false},{"factor":"heart_disease","points":0,"present":false},{"factor":"sbp_lt_90_or_gt_180","points":0,"present":false},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"qrs_axis","points":0,"present":false,"value":0},{"factor":"qrs_duration","points":0,"present":false,"value":80},{"factor":"qtc","points":0,"present":false,"value":400},{"factor":"ed_vasovagal_syncope","points":0,"present":false},{"factor":"ed_cardiac_syncope","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":"csrs","formula_expression":"CSRS = predisposition_vasovagal(-1) + heart_disease(1) + sbp_lt_90_or_gt_180(2) + elevated_troponin(2) + (qrs_axis < -30 or > 100)(1) + (qrs_duration > 130)(1) + (qtc > 480)(2) + ed_vasovagal_syncope(-2) + ed_cardiac_syncope(2); range -3 to 11; max 11; Figure 2 / abstract (axis >100, not table 110)","max_score":11,"qrs_axis_deg":0,"qrs_duration_ms":80,"qtc_ms":400,"score":0}],"path":"/api/calc/csrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ed_cardiac_syncope":{"description":"ED diagnosis of cardiac syncope (Thiruganasambandamoorthy 2016). true or false. Scores 2 if true. Cannot be true together with ed_vasovagal_syncope.","type":"boolean"},"ed_vasovagal_syncope":{"description":"ED diagnosis of vasovagal syncope (Thiruganasambandamoorthy 2016). true or false. Scores -2 if true. Cannot be true together with ed_cardiac_syncope.","type":"boolean"},"elevated_troponin":{"description":"Troponin above the 99th percentile (Thiruganasambandamoorthy 2016). true or false. Scores 2 if true.","type":"boolean"},"heart_disease":{"description":"History of heart disease (Thiruganasambandamoorthy 2016). true or false. Scores 1 if true.","type":"boolean"},"predisposition_vasovagal":{"description":"Predisposition to vasovagal syncope (Thiruganasambandamoorthy 2016). true or false. Scores -1 if true.","type":"boolean"},"qrs_axis_deg":{"description":"QRS axis in degrees (-180 to 180). Scores 1 when < -30 or > 100 (Figure 2 / abstract; not table 110). -30 and 100 do not score; -31 and 101 do.","type":"number"},"qrs_duration_ms":{"description":"QRS duration in milliseconds (40-300). Scores 1 when >130. 130 does not score; 131 does.","type":"number"},"qtc_ms":{"description":"QTc in milliseconds (200-800). Scores 2 when >480. 480 does not score; 481 does.","type":"number"},"sbp_lt_90_or_gt_180":{"description":"Any ED systolic BP <90 or >180 mm Hg (caller-assigned; SBP 90 and 180 are not out of range). true or false. Scores 2 if true. magent does not take a numeric SBP.","type":"boolean"}},"required":["predisposition_vasovagal","heart_disease","sbp_lt_90_or_gt_180","elevated_troponin","qrs_axis_deg","qrs_duration_ms","qtc_ms","ed_vasovagal_syncope","ed_cardiac_syncope"],"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},{"id":39220,"slug":"39220","resource":"https://api.magentlab.com/api/calc/crusade","description":"CRUSADE in-hospital major bleeding score (Subherwal 2009 Table 4) for NSTE-ACS / NSTEMI. Points from hematocrit, caller-assigned Cockcroft–Gault CrCl, heart rate, sex, CHF, prior vascular disease, diabetes, and systolic BP. Returns integer score (max 96), quintile band, and published in-hospital major-bleeding percent. Not a medical device; magent does not compute CrCl or examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"crcl_ml_min":130,"diabetes":false,"heart_rate_bpm":65,"hematocrit_percent":42,"prior_vascular_disease":false,"sex":"male","signs_of_chf":false,"systolic_mm_hg":140},{"crcl_ml_min":130,"diabetes":false,"heart_rate_bpm":65,"hematocrit_percent":42,"prior_vascular_disease":false,"sex":"male","signs_of_chf":false,"systolic_mm_hg":140}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Subherwal S, Bach RG, Chen AY, et al.","doi":"10.1161/CIRCULATIONAHA.108.828541","id":"subherwal-2009","pmid":"19332461","source":"Circulation. 2009;119(14):1873-1882","title":"Baseline risk of major bleeding in non–ST-segment-elevation myocardial infarction: the CRUSADE Bleeding Score"},"components":[{"factor":"hematocrit_percent","points":0,"present":false,"value":42},{"factor":"crcl_ml_min","points":0,"present":false,"value":130},{"factor":"heart_rate_bpm","points":0,"present":false,"value":65},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"signs_of_chf","points":0,"present":false},{"factor":"prior_vascular_disease","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"systolic_mm_hg","points":1,"present":true,"value":140}],"crcl_ml_min":130,"crusade_band":"very_low","diabetes":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":"crusade","formula_expression":"CRUSADE = hematocrit(<31:9, 31-<34:7, 34-<37:3, 37-<40:2, >=40:0) + crcl_ml_min(<=15:39, >15-30:35, >30-60:28, >60-90:17, >90-120:7, >120:0) + heart_rate(<=70:0, 71-80:1, 81-90:3, 91-100:6, 101-110:8, 111-120:10, >=121:11) + female(8) + signs_of_chf(7) + prior_vascular_disease(6) + diabetes(6) + systolic(<=90:10, 91-100:8, 101-120:5, 121-180:1, 181-200:3, >=201:5); Subherwal 2009 Table 4; quintiles <=20 3.1%, 21-30 5.5%, 31-40 8.6%, 41-50 11.9%, >50 19.5%; max 96","heart_rate_bpm":65,"hematocrit_percent":42,"in_hospital_major_bleeding_percent":3.1,"max_score":96,"prior_vascular_disease":false,"score":1,"sex":"male","signs_of_chf":false,"systolic_mm_hg":140},{"citation":{"authors":"Subherwal S, Bach RG, Chen AY, et al.","doi":"10.1161/CIRCULATIONAHA.108.828541","id":"subherwal-2009","pmid":"19332461","source":"Circulation. 2009;119(14):1873-1882","title":"Baseline risk of major bleeding in non–ST-segment-elevation myocardial infarction: the CRUSADE Bleeding Score"},"components":[{"factor":"hematocrit_percent","points":0,"present":false,"value":42},{"factor":"crcl_ml_min","points":0,"present":false,"value":130},{"factor":"heart_rate_bpm","points":0,"present":false,"value":65},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"signs_of_chf","points":0,"present":false},{"factor":"prior_vascular_disease","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"systolic_mm_hg","points":1,"present":true,"value":140}],"crcl_ml_min":130,"crusade_band":"very_low","diabetes":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":"crusade","formula_expression":"CRUSADE = hematocrit(<31:9, 31-<34:7, 34-<37:3, 37-<40:2, >=40:0) + crcl_ml_min(<=15:39, >15-30:35, >30-60:28, >60-90:17, >90-120:7, >120:0) + heart_rate(<=70:0, 71-80:1, 81-90:3, 91-100:6, 101-110:8, 111-120:10, >=121:11) + female(8) + signs_of_chf(7) + prior_vascular_disease(6) + diabetes(6) + systolic(<=90:10, 91-100:8, 101-120:5, 121-180:1, 181-200:3, >=201:5); Subherwal 2009 Table 4; quintiles <=20 3.1%, 21-30 5.5%, 31-40 8.6%, 41-50 11.9%, >50 19.5%; max 96","heart_rate_bpm":65,"hematocrit_percent":42,"in_hospital_major_bleeding_percent":3.1,"max_score":96,"prior_vascular_disease":false,"score":1,"sex":"male","signs_of_chf":false,"systolic_mm_hg":140}],"path":"/api/calc/crusade"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crcl_ml_min":{"description":"Creatinine clearance in mL/min (1-300), Cockcroft–Gault as assigned by the caller. magent does not compute Cockcroft–Gault. Table 4: ≤15 → 39; >15–30 → 35; >30–60 → 28; >60–90 → 17; >90–120 → 7; >120 → 0.","type":"number"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller. true or false. 6 points if true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Table 4: ≤70 → 0; 71–80 → 1; 81–90 → 3; 91–100 → 6; 101–110 → 8; 111–120 → 10; ≥121 → 11.","type":"integer"},"hematocrit_percent":{"description":"Hematocrit percent (10-70). Subherwal 2009 Table 4: <31 → 9; 31–<34 → 7; 34–<37 → 3; 37–<40 → 2; ≥40 → 0.","type":"number"},"prior_vascular_disease":{"description":"Prior vascular disease (PAD or prior stroke) as assigned by the caller. true or false. 6 points if true.","type":"boolean"},"sex":{"description":"Sex (female or male). Female scores 8; male scores 0.","type":"string"},"signs_of_chf":{"description":"Signs of CHF at presentation as assigned by the caller. true or false. 7 points if true. magent does not examine the patient.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Table 4 is non-monotonic: ≤90 → 10; 91–100 → 8; 101–120 → 5; 121–180 → 1; 181–200 → 3; ≥201 → 5.","type":"number"}},"required":["hematocrit_percent","crcl_ml_min","heart_rate_bpm","sex","signs_of_chf","prior_vascular_disease","diabetes","systolic_mm_hg"],"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":["crusade","bleeding","nstemi","acs","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:26:13.653Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:26:13.49Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"crcl_ml_min":130,"diabetes":false,"heart_rate_bpm":65,"hematocrit_percent":42,"prior_vascular_disease":false,"sex":"male","signs_of_chf":false,"systolic_mm_hg":140},{"crcl_ml_min":130,"diabetes":false,"heart_rate_bpm":65,"hematocrit_percent":42,"prior_vascular_disease":false,"sex":"male","signs_of_chf":false,"systolic_mm_hg":140}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Subherwal S, Bach RG, Chen AY, et al.","doi":"10.1161/CIRCULATIONAHA.108.828541","id":"subherwal-2009","pmid":"19332461","source":"Circulation. 2009;119(14):1873-1882","title":"Baseline risk of major bleeding in non–ST-segment-elevation myocardial infarction: the CRUSADE Bleeding Score"},"components":[{"factor":"hematocrit_percent","points":0,"present":false,"value":42},{"factor":"crcl_ml_min","points":0,"present":false,"value":130},{"factor":"heart_rate_bpm","points":0,"present":false,"value":65},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"signs_of_chf","points":0,"present":false},{"factor":"prior_vascular_disease","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"systolic_mm_hg","points":1,"present":true,"value":140}],"crcl_ml_min":130,"crusade_band":"very_low","diabetes":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":"crusade","formula_expression":"CRUSADE = hematocrit(<31:9, 31-<34:7, 34-<37:3, 37-<40:2, >=40:0) + crcl_ml_min(<=15:39, >15-30:35, >30-60:28, >60-90:17, >90-120:7, >120:0) + heart_rate(<=70:0, 71-80:1, 81-90:3, 91-100:6, 101-110:8, 111-120:10, >=121:11) + female(8) + signs_of_chf(7) + prior_vascular_disease(6) + diabetes(6) + systolic(<=90:10, 91-100:8, 101-120:5, 121-180:1, 181-200:3, >=201:5); Subherwal 2009 Table 4; quintiles <=20 3.1%, 21-30 5.5%, 31-40 8.6%, 41-50 11.9%, >50 19.5%; max 96","heart_rate_bpm":65,"hematocrit_percent":42,"in_hospital_major_bleeding_percent":3.1,"max_score":96,"prior_vascular_disease":false,"score":1,"sex":"male","signs_of_chf":false,"systolic_mm_hg":140},{"citation":{"authors":"Subherwal S, Bach RG, Chen AY, et al.","doi":"10.1161/CIRCULATIONAHA.108.828541","id":"subherwal-2009","pmid":"19332461","source":"Circulation. 2009;119(14):1873-1882","title":"Baseline risk of major bleeding in non–ST-segment-elevation myocardial infarction: the CRUSADE Bleeding Score"},"components":[{"factor":"hematocrit_percent","points":0,"present":false,"value":42},{"factor":"crcl_ml_min","points":0,"present":false,"value":130},{"factor":"heart_rate_bpm","points":0,"present":false,"value":65},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"signs_of_chf","points":0,"present":false},{"factor":"prior_vascular_disease","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"systolic_mm_hg","points":1,"present":true,"value":140}],"crcl_ml_min":130,"crusade_band":"very_low","diabetes":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":"crusade","formula_expression":"CRUSADE = hematocrit(<31:9, 31-<34:7, 34-<37:3, 37-<40:2, >=40:0) + crcl_ml_min(<=15:39, >15-30:35, >30-60:28, >60-90:17, >90-120:7, >120:0) + heart_rate(<=70:0, 71-80:1, 81-90:3, 91-100:6, 101-110:8, 111-120:10, >=121:11) + female(8) + signs_of_chf(7) + prior_vascular_disease(6) + diabetes(6) + systolic(<=90:10, 91-100:8, 101-120:5, 121-180:1, 181-200:3, >=201:5); Subherwal 2009 Table 4; quintiles <=20 3.1%, 21-30 5.5%, 31-40 8.6%, 41-50 11.9%, >50 19.5%; max 96","heart_rate_bpm":65,"hematocrit_percent":42,"in_hospital_major_bleeding_percent":3.1,"max_score":96,"prior_vascular_disease":false,"score":1,"sex":"male","signs_of_chf":false,"systolic_mm_hg":140}],"path":"/api/calc/crusade"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crcl_ml_min":{"description":"Creatinine clearance in mL/min (1-300), Cockcroft–Gault as assigned by the caller. magent does not compute Cockcroft–Gault. Table 4: ≤15 → 39; >15–30 → 35; >30–60 → 28; >60–90 → 17; >90–120 → 7; >120 → 0.","type":"number"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller. true or false. 6 points if true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Table 4: ≤70 → 0; 71–80 → 1; 81–90 → 3; 91–100 → 6; 101–110 → 8; 111–120 → 10; ≥121 → 11.","type":"integer"},"hematocrit_percent":{"description":"Hematocrit percent (10-70). Subherwal 2009 Table 4: <31 → 9; 31–<34 → 7; 34–<37 → 3; 37–<40 → 2; ≥40 → 0.","type":"number"},"prior_vascular_disease":{"description":"Prior vascular disease (PAD or prior stroke) as assigned by the caller. true or false. 6 points if true.","type":"boolean"},"sex":{"description":"Sex (female or male). Female scores 8; male scores 0.","type":"string"},"signs_of_chf":{"description":"Signs of CHF at presentation as assigned by the caller. true or false. 7 points if true. magent does not examine the patient.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Table 4 is non-monotonic: ≤90 → 10; 91–100 → 8; 101–120 → 5; 121–180 → 1; 181–200 → 3; ≥201 → 5.","type":"number"}},"required":["hematocrit_percent","crcl_ml_min","heart_rate_bpm","sex","signs_of_chf","prior_vascular_disease","diabetes","systolic_mm_hg"],"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},{"id":39221,"slug":"39221","resource":"https://api.magentlab.com/api/calc/crcl_cockcroft_gault","description":"Cited Cockcroft–Gault creatinine clearance. Agents must not invent CrCl from model memory; pay per request with x402 USDC on Base. Deterministic published formula with citation. Not a treatment recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":65,"creatinine_mg_dl":1.1,"creatinine_umol_l":97.2,"sex":"female","weight_kg":70,"weight_lb":154},{"age":65,"creatinine_mg_dl":1.1,"creatinine_umol_l":97.2,"sex":"female","weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"citation":{"authors":"Cockcroft DW, Gault MH","doi":"10.1159/000180580","id":"cockcroft-1976","source":"Nephron. 1976;16(1):31-41","title":"Prediction of creatinine clearance from serum creatinine"},"crcl_ml_min":56.3,"creatinine_mg_dl":1.1,"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":"cockcroft_gault","formula_expression":"CrCl_mL_min = ((140 - age) * weight_kg * (0.85 if female else 1)) / (72 * Scr_mg_dL)","sex":"female","units":"mL/min","weight_basis":"total_body_weight","weight_kg":70},{"age_years":65,"citation":{"authors":"Cockcroft DW, Gault MH","doi":"10.1159/000180580","id":"cockcroft-1976","source":"Nephron. 1976;16(1):31-41","title":"Prediction of creatinine clearance from serum creatinine"},"crcl_ml_min":56.3,"creatinine_mg_dl":1.1,"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":"cockcroft_gault","formula_expression":"CrCl_mL_min = ((140 - age) * weight_kg * (0.85 if female else 1)) / (72 * Scr_mg_dL)","sex":"female","units":"mL/min","weight_basis":"total_body_weight","weight_kg":70}],"path":"/api/calc/crcl_cockcroft_gault"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL. Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.","type":"number"},"sex":{"description":"female applies the published 0.85 factor; male does not.","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Total body weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Total body weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["age","sex"],"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":["crcl","cockcroft-gault","kidney","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:21:25.304Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:21:25.172Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":65,"creatinine_mg_dl":1.1,"creatinine_umol_l":97.2,"sex":"female","weight_kg":70,"weight_lb":154},{"age":65,"creatinine_mg_dl":1.1,"creatinine_umol_l":97.2,"sex":"female","weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"citation":{"authors":"Cockcroft DW, Gault MH","doi":"10.1159/000180580","id":"cockcroft-1976","source":"Nephron. 1976;16(1):31-41","title":"Prediction of creatinine clearance from serum creatinine"},"crcl_ml_min":56.3,"creatinine_mg_dl":1.1,"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":"cockcroft_gault","formula_expression":"CrCl_mL_min = ((140 - age) * weight_kg * (0.85 if female else 1)) / (72 * Scr_mg_dL)","sex":"female","units":"mL/min","weight_basis":"total_body_weight","weight_kg":70},{"age_years":65,"citation":{"authors":"Cockcroft DW, Gault MH","doi":"10.1159/000180580","id":"cockcroft-1976","source":"Nephron. 1976;16(1):31-41","title":"Prediction of creatinine clearance from serum creatinine"},"crcl_ml_min":56.3,"creatinine_mg_dl":1.1,"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":"cockcroft_gault","formula_expression":"CrCl_mL_min = ((140 - age) * weight_kg * (0.85 if female else 1)) / (72 * Scr_mg_dL)","sex":"female","units":"mL/min","weight_basis":"total_body_weight","weight_kg":70}],"path":"/api/calc/crcl_cockcroft_gault"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL. Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42.","type":"number"},"sex":{"description":"female applies the published 0.85 factor; male does not.","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Total body weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Total body weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["age","sex"],"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},{"id":39222,"slug":"39222","resource":"https://api.magentlab.com/api/calc/crb65","description":"Lim 2003 CRB-65 for community-acquired pneumonia: confusion, respiratory rate ≥30/min, low blood pressure (SBP <90 or DBP ≤60), and age ≥65; 1 point each, max 4. No urea. Score only; no mortality percentages or site-of-care bands. Not a diagnosis. Not CURB-65. Caller assigns the C, R, and B flags; magent does not convert BUN or take BP numbers.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"confusion":false,"low_blood_pressure":false,"respiratory_rate_ge_30":false},{"age":40,"confusion":false,"low_blood_pressure":false,"respiratory_rate_ge_30":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Lim WS, van der Eerden MM, Laing R, et al.","doi":"10.1136/thorax.58.5.377","id":"lim-2003","source":"Thorax. 2003;58(5):377-382","title":"Defining community acquired pneumonia severity on presentation to hospital: an international derivation and validation study"},"components":[{"factor":"confusion","points":0,"present":false},{"factor":"respiratory_rate_ge_30","points":0,"present":false},{"factor":"low_blood_pressure","points":0,"present":false},{"factor":"age_ge_65","points":0,"present":false,"value":40}],"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":"crb65","formula_expression":"CRB-65 = confusion + respiratory_rate_ge_30 + low_blood_pressure + age_ge_65; max 4","max_score":4,"score":0},{"age_years":40,"citation":{"authors":"Lim WS, van der Eerden MM, Laing R, et al.","doi":"10.1136/thorax.58.5.377","id":"lim-2003","source":"Thorax. 2003;58(5):377-382","title":"Defining community acquired pneumonia severity on presentation to hospital: an international derivation and validation study"},"components":[{"factor":"confusion","points":0,"present":false},{"factor":"respiratory_rate_ge_30","points":0,"present":false},{"factor":"low_blood_pressure","points":0,"present":false},{"factor":"age_ge_65","points":0,"present":false,"value":40}],"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":"crb65","formula_expression":"CRB-65 = confusion + respiratory_rate_ge_30 + low_blood_pressure + age_ge_65; max 4","max_score":4,"score":0}],"path":"/api/calc/crb65"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥65 scores 1.","type":"integer"},"confusion":{"description":"New confusion (C) as assigned by the caller. true or false.","type":"boolean"},"low_blood_pressure":{"description":"SBP <90 mmHg or DBP ≤60 mmHg (B) as assigned by the caller. true or false. magent does not take BP numbers.","type":"boolean"},"respiratory_rate_ge_30":{"description":"Respiratory rate ≥30/min (R) as assigned by the caller. true or false.","type":"boolean"}},"required":["age","confusion","respiratory_rate_ge_30","low_blood_pressure"],"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":["crb-65","pneumonia","cap","score","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:21:23.852Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:21:23.71Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"confusion":false,"low_blood_pressure":false,"respiratory_rate_ge_30":false},{"age":40,"confusion":false,"low_blood_pressure":false,"respiratory_rate_ge_30":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Lim WS, van der Eerden MM, Laing R, et al.","doi":"10.1136/thorax.58.5.377","id":"lim-2003","source":"Thorax. 2003;58(5):377-382","title":"Defining community acquired pneumonia severity on presentation to hospital: an international derivation and validation study"},"components":[{"factor":"confusion","points":0,"present":false},{"factor":"respiratory_rate_ge_30","points":0,"present":false},{"factor":"low_blood_pressure","points":0,"present":false},{"factor":"age_ge_65","points":0,"present":false,"value":40}],"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":"crb65","formula_expression":"CRB-65 = confusion + respiratory_rate_ge_30 + low_blood_pressure + age_ge_65; max 4","max_score":4,"score":0},{"age_years":40,"citation":{"authors":"Lim WS, van der Eerden MM, Laing R, et al.","doi":"10.1136/thorax.58.5.377","id":"lim-2003","source":"Thorax. 2003;58(5):377-382","title":"Defining community acquired pneumonia severity on presentation to hospital: an international derivation and validation study"},"components":[{"factor":"confusion","points":0,"present":false},{"factor":"respiratory_rate_ge_30","points":0,"present":false},{"factor":"low_blood_pressure","points":0,"present":false},{"factor":"age_ge_65","points":0,"present":false,"value":40}],"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":"crb65","formula_expression":"CRB-65 = confusion + respiratory_rate_ge_30 + low_blood_pressure + age_ge_65; max 4","max_score":4,"score":0}],"path":"/api/calc/crb65"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥65 scores 1.","type":"integer"},"confusion":{"description":"New confusion (C) as assigned by the caller. true or false.","type":"boolean"},"low_blood_pressure":{"description":"SBP <90 mmHg or DBP ≤60 mmHg (B) as assigned by the caller. true or false. magent does not take BP numbers.","type":"boolean"},"respiratory_rate_ge_30":{"description":"Respiratory rate ≥30/min (R) as assigned by the caller. true or false.","type":"boolean"}},"required":["age","confusion","respiratory_rate_ge_30","low_blood_pressure"],"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},{"id":39223,"slug":"39223","resource":"https://api.magentlab.com/api/calc/crafft","description":"Knight 2002 CRAFFT: six caller-assigned yes/no flags (car, relax, alone, forget, friends, trouble), 1 point each, max 6. Screen-positive when score ≥2 (optimal cutoff in Knight 2002 for any problem / any disorder / dependence). Deterministic published score with citation; not a diagnosis of a substance use disorder and not a medical device. magent does not interview the patient. Not CAGE and not CRAFFT 2.1 / 2.0 quantity questions.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"alone":false,"car":false,"forget":false,"friends":false,"relax":false,"trouble":false},{"alone":false,"car":false,"forget":false,"friends":false,"relax":false,"trouble":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Knight JR, Sherritt L, Shrier LA, Harris SK, Chang G","doi":"10.1001/archpedi.156.6.607","id":"knight-2002","pmid":"12038895","source":"Arch Pediatr Adolesc Med. 2002;156(6):607-614","title":"Validity of the CRAFFT substance abuse screening test among adolescent clinic patients"},"components":[{"factor":"car","points":0,"present":false},{"factor":"relax","points":0,"present":false},{"factor":"alone","points":0,"present":false},{"factor":"forget","points":0,"present":false},{"factor":"friends","points":0,"present":false},{"factor":"trouble","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":"crafft","formula_expression":"CRAFFT = car + relax + alone + forget + friends + trouble; each 1 if true; max 6","max_score":6,"score":0,"screen_positive":false},{"citation":{"authors":"Knight JR, Sherritt L, Shrier LA, Harris SK, Chang G","doi":"10.1001/archpedi.156.6.607","id":"knight-2002","pmid":"12038895","source":"Arch Pediatr Adolesc Med. 2002;156(6):607-614","title":"Validity of the CRAFFT substance abuse screening test among adolescent clinic patients"},"components":[{"factor":"car","points":0,"present":false},{"factor":"relax","points":0,"present":false},{"factor":"alone","points":0,"present":false},{"factor":"forget","points":0,"present":false},{"factor":"friends","points":0,"present":false},{"factor":"trouble","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":"crafft","formula_expression":"CRAFFT = car + relax + alone + forget + friends + trouble; each 1 if true; max 6","max_score":6,"score":0,"screen_positive":false}],"path":"/api/calc/crafft"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alone":{"description":"Do you ever use alcohol or drugs while you are by yourself, or ALONE? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"car":{"description":"Have you ever ridden in a CAR driven by someone (including yourself) who was high or had been using alcohol or drugs? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"forget":{"description":"Do you ever FORGET things you did while using alcohol or drugs? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"friends":{"description":"Do your family or FRIENDS ever tell you that you should cut down on your drinking or drug use? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"relax":{"description":"Do you ever use alcohol or drugs to RELAX, feel better about yourself, or fit in? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"trouble":{"description":"Have you gotten into TROUBLE while using alcohol or drugs? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"}},"required":["car","relax","alone","forget","friends","trouble"],"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":["crafft","substance-use","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:21:21.855Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:21:21.56Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alone":false,"car":false,"forget":false,"friends":false,"relax":false,"trouble":false},{"alone":false,"car":false,"forget":false,"friends":false,"relax":false,"trouble":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Knight JR, Sherritt L, Shrier LA, Harris SK, Chang G","doi":"10.1001/archpedi.156.6.607","id":"knight-2002","pmid":"12038895","source":"Arch Pediatr Adolesc Med. 2002;156(6):607-614","title":"Validity of the CRAFFT substance abuse screening test among adolescent clinic patients"},"components":[{"factor":"car","points":0,"present":false},{"factor":"relax","points":0,"present":false},{"factor":"alone","points":0,"present":false},{"factor":"forget","points":0,"present":false},{"factor":"friends","points":0,"present":false},{"factor":"trouble","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":"crafft","formula_expression":"CRAFFT = car + relax + alone + forget + friends + trouble; each 1 if true; max 6","max_score":6,"score":0,"screen_positive":false},{"citation":{"authors":"Knight JR, Sherritt L, Shrier LA, Harris SK, Chang G","doi":"10.1001/archpedi.156.6.607","id":"knight-2002","pmid":"12038895","source":"Arch Pediatr Adolesc Med. 2002;156(6):607-614","title":"Validity of the CRAFFT substance abuse screening test among adolescent clinic patients"},"components":[{"factor":"car","points":0,"present":false},{"factor":"relax","points":0,"present":false},{"factor":"alone","points":0,"present":false},{"factor":"forget","points":0,"present":false},{"factor":"friends","points":0,"present":false},{"factor":"trouble","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":"crafft","formula_expression":"CRAFFT = car + relax + alone + forget + friends + trouble; each 1 if true; max 6","max_score":6,"score":0,"screen_positive":false}],"path":"/api/calc/crafft"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alone":{"description":"Do you ever use alcohol or drugs while you are by yourself, or ALONE? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"car":{"description":"Have you ever ridden in a CAR driven by someone (including yourself) who was high or had been using alcohol or drugs? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"forget":{"description":"Do you ever FORGET things you did while using alcohol or drugs? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"friends":{"description":"Do your family or FRIENDS ever tell you that you should cut down on your drinking or drug use? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"relax":{"description":"Do you ever use alcohol or drugs to RELAX, feel better about yourself, or fit in? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"trouble":{"description":"Have you gotten into TROUBLE while using alcohol or drugs? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"}},"required":["car","relax","alone","forget","friends","trouble"],"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},{"id":39224,"slug":"39224","resource":"https://api.magentlab.com/api/calc/cpsss","description":"Katz 2015 Cincinnati Prehospital Stroke Severity Scale (CP-SSS): gaze deviation 2 if present else 0 + abnormal LOC 1 + arm cannot hold 10 s 1. Max 4. severe_stroke_suggested iff score ≥ 2. Not the 3-item CPSS facial/arm/speech screen, not NIHSS, not a tPA decision. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"arm_weakness":false,"gaze_deviation":0,"loc_abnormal":false},{"arm_weakness":false,"gaze_deviation":0,"loc_abnormal":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arm_weakness":false,"citation":{"authors":"Katz BS, McMullan JT, Sucharew H, Adeoye O, Broderick JP","doi":"10.1161/STROKEAHA.115.008804","id":"katz-2015","pmid":"25899242","source":"Stroke. 2015;46(6):1508-1512","title":"Design and validation of a prehospital scale to predict stroke severity: Cincinnati Prehospital Stroke Severity Scale"},"components":[{"factor":"gaze_deviation","points":0,"present":false,"value":0},{"factor":"loc_abnormal","points":0,"present":false},{"factor":"arm_weakness","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":"cpsss","formula_expression":"CP-SSS = gaze_deviation (2 if present, else 0) + loc_abnormal (1 if cannot answer age or current month, or cannot follow commands) + arm_weakness (1 if cannot hold arm 10 s); Katz 2015; max 4; severe_stroke_suggested if score ≥ 2","gaze_deviation":0,"loc_abnormal":false,"max_score":4,"score":0,"severe_stroke_suggested":false},{"arm_weakness":false,"citation":{"authors":"Katz BS, McMullan JT, Sucharew H, Adeoye O, Broderick JP","doi":"10.1161/STROKEAHA.115.008804","id":"katz-2015","pmid":"25899242","source":"Stroke. 2015;46(6):1508-1512","title":"Design and validation of a prehospital scale to predict stroke severity: Cincinnati Prehospital Stroke Severity Scale"},"components":[{"factor":"gaze_deviation","points":0,"present":false,"value":0},{"factor":"loc_abnormal","points":0,"present":false},{"factor":"arm_weakness","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":"cpsss","formula_expression":"CP-SSS = gaze_deviation (2 if present, else 0) + loc_abnormal (1 if cannot answer age or current month, or cannot follow commands) + arm_weakness (1 if cannot hold arm 10 s); Katz 2015; max 4; severe_stroke_suggested if score ≥ 2","gaze_deviation":0,"loc_abnormal":false,"max_score":4,"score":0,"severe_stroke_suggested":false}],"path":"/api/calc/cpsss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arm_weakness":{"description":"Caller-assigned Katz 2015 arm weakness: cannot hold arm up for 10 s (arm falls or no effort against gravity). true if present. magent does not examine the patient.","type":"boolean"},"gaze_deviation":{"description":"Caller-assigned Katz 2015 conjugate gaze deviation. Integer 0 absent or 2 present (not 1). magent does not examine the patient.","enum":[0,2],"type":"integer"},"loc_abnormal":{"description":"Caller-assigned Katz 2015 incorrect level of consciousness (cannot answer age or current month correctly, or cannot follow commands). true if abnormal, false if normal. magent does not examine the patient.","type":"boolean"}},"required":["gaze_deviation","loc_abnormal","arm_weakness"],"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":["cpsss","stroke","prehospital","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:16:06.785Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:16:06.668Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"arm_weakness":false,"gaze_deviation":0,"loc_abnormal":false},{"arm_weakness":false,"gaze_deviation":0,"loc_abnormal":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arm_weakness":false,"citation":{"authors":"Katz BS, McMullan JT, Sucharew H, Adeoye O, Broderick JP","doi":"10.1161/STROKEAHA.115.008804","id":"katz-2015","pmid":"25899242","source":"Stroke. 2015;46(6):1508-1512","title":"Design and validation of a prehospital scale to predict stroke severity: Cincinnati Prehospital Stroke Severity Scale"},"components":[{"factor":"gaze_deviation","points":0,"present":false,"value":0},{"factor":"loc_abnormal","points":0,"present":false},{"factor":"arm_weakness","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":"cpsss","formula_expression":"CP-SSS = gaze_deviation (2 if present, else 0) + loc_abnormal (1 if cannot answer age or current month, or cannot follow commands) + arm_weakness (1 if cannot hold arm 10 s); Katz 2015; max 4; severe_stroke_suggested if score ≥ 2","gaze_deviation":0,"loc_abnormal":false,"max_score":4,"score":0,"severe_stroke_suggested":false},{"arm_weakness":false,"citation":{"authors":"Katz BS, McMullan JT, Sucharew H, Adeoye O, Broderick JP","doi":"10.1161/STROKEAHA.115.008804","id":"katz-2015","pmid":"25899242","source":"Stroke. 2015;46(6):1508-1512","title":"Design and validation of a prehospital scale to predict stroke severity: Cincinnati Prehospital Stroke Severity Scale"},"components":[{"factor":"gaze_deviation","points":0,"present":false,"value":0},{"factor":"loc_abnormal","points":0,"present":false},{"factor":"arm_weakness","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":"cpsss","formula_expression":"CP-SSS = gaze_deviation (2 if present, else 0) + loc_abnormal (1 if cannot answer age or current month, or cannot follow commands) + arm_weakness (1 if cannot hold arm 10 s); Katz 2015; max 4; severe_stroke_suggested if score ≥ 2","gaze_deviation":0,"loc_abnormal":false,"max_score":4,"score":0,"severe_stroke_suggested":false}],"path":"/api/calc/cpsss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arm_weakness":{"description":"Caller-assigned Katz 2015 arm weakness: cannot hold arm up for 10 s (arm falls or no effort against gravity). true if present. magent does not examine the patient.","type":"boolean"},"gaze_deviation":{"description":"Caller-assigned Katz 2015 conjugate gaze deviation. Integer 0 absent or 2 present (not 1). magent does not examine the patient.","enum":[0,2],"type":"integer"},"loc_abnormal":{"description":"Caller-assigned Katz 2015 incorrect level of consciousness (cannot answer age or current month correctly, or cannot follow commands). true if abnormal, false if normal. magent does not examine the patient.","type":"boolean"}},"required":["gaze_deviation","loc_abnormal","arm_weakness"],"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},{"id":39225,"slug":"39225","resource":"https://api.magentlab.com/api/calc/cpri","description":"Saisho 2011 CPR index: serum C-peptide (ng/mL) / plasma glucose (mg/dL) * 100, two decimals. timing fasting or postprandial (same formula; required label). below_best_cutoff true iff cpri < 2.02 (ROC for later insulin therapy; 80.8% sensitivity, 63.3% specificity). Glucose mg/dL only. Not HOMA-IR, not a diabetes diagnosis, not C-peptide alone, and not an insulin order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"c_peptide_ng_ml":2.02,"glucose_mg_dl":100,"timing":"postprandial"},{"c_peptide_ng_ml":2.02,"glucose_mg_dl":100,"timing":"postprandial"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"below_best_cutoff":false,"c_peptide_ng_ml":2.02,"citation":{"authors":"Saisho Y, Kou K, Tanaka K, Abe T, Kurosawa H, Shimada A, Meguro S, Kawai T, Itoh H","doi":"10.1507/endocrj.K10E-399","id":"saisho-2011","pmid":"21528347","source":"Endocr J. 2011;58(4):315-322","title":"Postprandial serum C-peptide to plasma glucose ratio as a predictor of subsequent insulin treatment in patients with type 2 diabetes"},"cpri":2.02,"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":"cpri","formula_expression":"cpri = c_peptide_ng_ml / glucose_mg_dl * 100","glucose_mg_dl":100,"timing":"postprandial"},{"below_best_cutoff":false,"c_peptide_ng_ml":2.02,"citation":{"authors":"Saisho Y, Kou K, Tanaka K, Abe T, Kurosawa H, Shimada A, Meguro S, Kawai T, Itoh H","doi":"10.1507/endocrj.K10E-399","id":"saisho-2011","pmid":"21528347","source":"Endocr J. 2011;58(4):315-322","title":"Postprandial serum C-peptide to plasma glucose ratio as a predictor of subsequent insulin treatment in patients with type 2 diabetes"},"cpri":2.02,"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":"cpri","formula_expression":"cpri = c_peptide_ng_ml / glucose_mg_dl * 100","glucose_mg_dl":100,"timing":"postprandial"}],"path":"/api/calc/cpri"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"c_peptide_ng_ml":{"description":"Serum C-peptide in ng/mL (0-40). Saisho 2011 CPR units.","type":"number"},"glucose_mg_dl":{"description":"Plasma glucose in mg/dL (50-1000). mg/dL only; magent does not convert mmol/L.","type":"number"},"timing":{"description":"Sample timing as assigned by the caller: fasting or postprandial. Same CPR-index arithmetic; magent does not pick a formula from the clock.","enum":["fasting","postprandial"],"type":"string"}},"required":["timing","c_peptide_ng_ml","glucose_mg_dl"],"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":["cpri","c-peptide","glucose","diabetes","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:16:05.887Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:16:05.764Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"c_peptide_ng_ml":2.02,"glucose_mg_dl":100,"timing":"postprandial"},{"c_peptide_ng_ml":2.02,"glucose_mg_dl":100,"timing":"postprandial"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"below_best_cutoff":false,"c_peptide_ng_ml":2.02,"citation":{"authors":"Saisho Y, Kou K, Tanaka K, Abe T, Kurosawa H, Shimada A, Meguro S, Kawai T, Itoh H","doi":"10.1507/endocrj.K10E-399","id":"saisho-2011","pmid":"21528347","source":"Endocr J. 2011;58(4):315-322","title":"Postprandial serum C-peptide to plasma glucose ratio as a predictor of subsequent insulin treatment in patients with type 2 diabetes"},"cpri":2.02,"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":"cpri","formula_expression":"cpri = c_peptide_ng_ml / glucose_mg_dl * 100","glucose_mg_dl":100,"timing":"postprandial"},{"below_best_cutoff":false,"c_peptide_ng_ml":2.02,"citation":{"authors":"Saisho Y, Kou K, Tanaka K, Abe T, Kurosawa H, Shimada A, Meguro S, Kawai T, Itoh H","doi":"10.1507/endocrj.K10E-399","id":"saisho-2011","pmid":"21528347","source":"Endocr J. 2011;58(4):315-322","title":"Postprandial serum C-peptide to plasma glucose ratio as a predictor of subsequent insulin treatment in patients with type 2 diabetes"},"cpri":2.02,"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":"cpri","formula_expression":"cpri = c_peptide_ng_ml / glucose_mg_dl * 100","glucose_mg_dl":100,"timing":"postprandial"}],"path":"/api/calc/cpri"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"c_peptide_ng_ml":{"description":"Serum C-peptide in ng/mL (0-40). Saisho 2011 CPR units.","type":"number"},"glucose_mg_dl":{"description":"Plasma glucose in mg/dL (50-1000). mg/dL only; magent does not convert mmol/L.","type":"number"},"timing":{"description":"Sample timing as assigned by the caller: fasting or postprandial. Same CPR-index arithmetic; magent does not pick a formula from the clock.","enum":["fasting","postprandial"],"type":"string"}},"required":["timing","c_peptide_ng_ml","glucose_mg_dl"],"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},{"id":39226,"slug":"39226","resource":"https://api.magentlab.com/api/calc/dsi","description":"Diastolic shock index as heart rate in bpm divided by cuff diastolic pressure in mm Hg (Ospina-Tascón 2020). Returns the ratio rounded to two decimals. Not a shock diagnosis, treatment target, or cutoff. Distinct from Allgöwer–Burri HR/SBP shock index. The 2020 cohort had no normal-subject control group, so a DSI cutoff to identify abnormality could be misleading.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"diastolic_mm_hg":80,"heart_rate_bpm":80},{"diastolic_mm_hg":80,"heart_rate_bpm":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ospina-Tascón GA, Teboul JL, Hernandez G, et al.","doi":"10.1186/s13613-020-00658-8","id":"ospina-tascon-2020","pmid":"32296976","source":"Ann Intensive Care. 2020;10(1):41","title":"Diastolic shock index and clinical outcomes in patients with septic shock."},"diastolic_mm_hg":80,"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.","dsi":1,"formula":"dsi","formula_expression":"dsi = heart_rate_bpm / diastolic_mm_hg","heart_rate_bpm":80},{"citation":{"authors":"Ospina-Tascón GA, Teboul JL, Hernandez G, et al.","doi":"10.1186/s13613-020-00658-8","id":"ospina-tascon-2020","pmid":"32296976","source":"Ann Intensive Care. 2020;10(1):41","title":"Diastolic shock index and clinical outcomes in patients with septic shock."},"diastolic_mm_hg":80,"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.","dsi":1,"formula":"dsi","formula_expression":"dsi = heart_rate_bpm / diastolic_mm_hg","heart_rate_bpm":80}],"path":"/api/calc/dsi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"diastolic_mm_hg":{"description":"Cuff diastolic blood pressure in mm Hg (20-160).","type":"number"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220).","type":"integer"}},"required":["heart_rate_bpm","diastolic_mm_hg"],"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":["dsi","hemodynamics","heart-rate","diastolic","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:16:05.106Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:16:04.98Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"diastolic_mm_hg":80,"heart_rate_bpm":80},{"diastolic_mm_hg":80,"heart_rate_bpm":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ospina-Tascón GA, Teboul JL, Hernandez G, et al.","doi":"10.1186/s13613-020-00658-8","id":"ospina-tascon-2020","pmid":"32296976","source":"Ann Intensive Care. 2020;10(1):41","title":"Diastolic shock index and clinical outcomes in patients with septic shock."},"diastolic_mm_hg":80,"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.","dsi":1,"formula":"dsi","formula_expression":"dsi = heart_rate_bpm / diastolic_mm_hg","heart_rate_bpm":80},{"citation":{"authors":"Ospina-Tascón GA, Teboul JL, Hernandez G, et al.","doi":"10.1186/s13613-020-00658-8","id":"ospina-tascon-2020","pmid":"32296976","source":"Ann Intensive Care. 2020;10(1):41","title":"Diastolic shock index and clinical outcomes in patients with septic shock."},"diastolic_mm_hg":80,"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.","dsi":1,"formula":"dsi","formula_expression":"dsi = heart_rate_bpm / diastolic_mm_hg","heart_rate_bpm":80}],"path":"/api/calc/dsi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"diastolic_mm_hg":{"description":"Cuff diastolic blood pressure in mm Hg (20-160).","type":"number"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220).","type":"integer"}},"required":["heart_rate_bpm","diastolic_mm_hg"],"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},{"id":39227,"slug":"39227","resource":"https://api.magentlab.com/api/calc/cpp","description":"Cerebral perfusion pressure from caller-supplied MAP and ICP in mm Hg: CPP = MAP − ICP, rounded to 1 decimal. Returns cpp_ge_70 when CPP is at least 70 mm Hg (Rosner 1995 protocol minimum). magent does not measure MAP or ICP and is not an invasive monitor. Not a medical device and not a treatment protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"icp_mm_hg":10,"map_mm_hg":90},{"icp_mm_hg":10,"map_mm_hg":90}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rosner MJ, Rosner SD, Johnson AH","doi":"10.3171/jns.1995.83.6.0949","id":"rosner-1995","pmid":"7490638","source":"J Neurosurg. 1995;83(6):949-962","title":"Cerebral perfusion pressure: management protocol and clinical results"},"cpp_ge_70":true,"cpp_mm_hg":80,"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":"cpp","formula_expression":"cpp_mm_hg = map_mm_hg - icp_mm_hg","icp_mm_hg":10,"map_mm_hg":90},{"citation":{"authors":"Rosner MJ, Rosner SD, Johnson AH","doi":"10.3171/jns.1995.83.6.0949","id":"rosner-1995","pmid":"7490638","source":"J Neurosurg. 1995;83(6):949-962","title":"Cerebral perfusion pressure: management protocol and clinical results"},"cpp_ge_70":true,"cpp_mm_hg":80,"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":"cpp","formula_expression":"cpp_mm_hg = map_mm_hg - icp_mm_hg","icp_mm_hg":10,"map_mm_hg":90}],"path":"/api/calc/cpp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"icp_mm_hg":{"description":"Intracranial pressure in mm Hg (0-100). Caller-supplied; magent does not measure ICP. ICP may exceed MAP.","type":"number"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (30-180). Caller-supplied; magent does not measure MAP.","type":"number"}},"required":["map_mm_hg","icp_mm_hg"],"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":["cpp","neurology","perfusion","icp","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:11:24.287Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:11:22.631Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"icp_mm_hg":10,"map_mm_hg":90},{"icp_mm_hg":10,"map_mm_hg":90}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rosner MJ, Rosner SD, Johnson AH","doi":"10.3171/jns.1995.83.6.0949","id":"rosner-1995","pmid":"7490638","source":"J Neurosurg. 1995;83(6):949-962","title":"Cerebral perfusion pressure: management protocol and clinical results"},"cpp_ge_70":true,"cpp_mm_hg":80,"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":"cpp","formula_expression":"cpp_mm_hg = map_mm_hg - icp_mm_hg","icp_mm_hg":10,"map_mm_hg":90},{"citation":{"authors":"Rosner MJ, Rosner SD, Johnson AH","doi":"10.3171/jns.1995.83.6.0949","id":"rosner-1995","pmid":"7490638","source":"J Neurosurg. 1995;83(6):949-962","title":"Cerebral perfusion pressure: management protocol and clinical results"},"cpp_ge_70":true,"cpp_mm_hg":80,"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":"cpp","formula_expression":"cpp_mm_hg = map_mm_hg - icp_mm_hg","icp_mm_hg":10,"map_mm_hg":90}],"path":"/api/calc/cpp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"icp_mm_hg":{"description":"Intracranial pressure in mm Hg (0-100). Caller-supplied; magent does not measure ICP. ICP may exceed MAP.","type":"number"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (30-180). Caller-supplied; magent does not measure MAP.","type":"number"}},"required":["map_mm_hg","icp_mm_hg"],"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},{"id":39228,"slug":"39228","resource":"https://api.magentlab.com/api/calc/cpes","description":"Bangalore 2023 composite PE shock score for intermediate-risk PE. Six equally weighted caller-assigned flags (elevated troponin per local assay, elevated BNP, moderate or severe RV dysfunction, saddle PE, concomitant DVT, tachycardia ≥100 beats/min), 1 point each, max 6. Integer 0–6 score only; no named bands. magent does not invent biomarker cutoffs, read echo, or take raw heart rate. Not a shock diagnosis, not sPESI/Bova/PESI, not hypotensive PE, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"concomitant_dvt":false,"elevated_bnp":false,"elevated_troponin":false,"moderate_or_severe_rv_dysfunction":false,"saddle_pe":false,"tachycardia":false},{"concomitant_dvt":false,"elevated_bnp":false,"elevated_troponin":false,"moderate_or_severe_rv_dysfunction":false,"saddle_pe":false,"tachycardia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bangalore S, Horowitz JM, Beam D, Jaber WA, Khandhar S, Toma C, Weinberg MD, Mina B","doi":"10.1016/j.jcin.2023.02.004","id":"bangalore-2023","pmid":"37100559","source":"JACC Cardiovasc Interv. 2023;16(8):958-972","title":"Prevalence and Predictors of Cardiogenic Shock in Intermediate-Risk Pulmonary Embolism: Insights From the FLASH Registry"},"components":[{"factor":"elevated_troponin","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"moderate_or_severe_rv_dysfunction","points":0,"present":false},{"factor":"saddle_pe","points":0,"present":false},{"factor":"concomitant_dvt","points":0,"present":false},{"factor":"tachycardia","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":"cpes","formula_expression":"CPES = elevated_troponin + elevated_bnp + moderate_or_severe_rv_dysfunction + saddle_pe + concomitant_dvt + tachycardia; each 1 if true; max 6 (Bangalore 2023)","max_score":6,"score":0},{"citation":{"authors":"Bangalore S, Horowitz JM, Beam D, Jaber WA, Khandhar S, Toma C, Weinberg MD, Mina B","doi":"10.1016/j.jcin.2023.02.004","id":"bangalore-2023","pmid":"37100559","source":"JACC Cardiovasc Interv. 2023;16(8):958-972","title":"Prevalence and Predictors of Cardiogenic Shock in Intermediate-Risk Pulmonary Embolism: Insights From the FLASH Registry"},"components":[{"factor":"elevated_troponin","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"moderate_or_severe_rv_dysfunction","points":0,"present":false},{"factor":"saddle_pe","points":0,"present":false},{"factor":"concomitant_dvt","points":0,"present":false},{"factor":"tachycardia","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":"cpes","formula_expression":"CPES = elevated_troponin + elevated_bnp + moderate_or_severe_rv_dysfunction + saddle_pe + concomitant_dvt + tachycardia; each 1 if true; max 6 (Bangalore 2023)","max_score":6,"score":0}],"path":"/api/calc/cpes"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"concomitant_dvt":{"description":"Concomitant DVT, as assigned by the caller (Bangalore 2023). true scores 1; false scores 0. magent does not diagnose DVT.","type":"boolean"},"elevated_bnp":{"description":"Elevated BNP, as assigned by the caller (Bangalore 2023). true scores 1; false scores 0. Site cutoffs were not standardized; magent does not invent a numeric threshold or read the assay.","type":"boolean"},"elevated_troponin":{"description":"Elevated troponin per local assay, as assigned by the caller (Bangalore 2023). true scores 1; false scores 0. Site cutoffs were not standardized; magent does not invent a numeric threshold or read the assay.","type":"boolean"},"moderate_or_severe_rv_dysfunction":{"description":"Moderately or severely reduced RV function, as assigned by the caller (Bangalore 2023). Normal or mild reduction is false. true scores 1; false scores 0. magent does not read echo.","type":"boolean"},"saddle_pe":{"description":"Saddle PE or central thrombus burden, as assigned by the caller (Bangalore 2023). true scores 1; false scores 0. magent does not read imaging.","type":"boolean"},"tachycardia":{"description":"Tachycardia ≥100 beats/min as assigned by the caller (Bangalore 2023). true scores 1; false scores 0. magent does not take raw heart rate.","type":"boolean"}},"required":["elevated_troponin","elevated_bnp","moderate_or_severe_rv_dysfunction","saddle_pe","concomitant_dvt","tachycardia"],"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":["cpes","pe","vte","shock","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:11:20.853Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:11:19.488Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"concomitant_dvt":false,"elevated_bnp":false,"elevated_troponin":false,"moderate_or_severe_rv_dysfunction":false,"saddle_pe":false,"tachycardia":false},{"concomitant_dvt":false,"elevated_bnp":false,"elevated_troponin":false,"moderate_or_severe_rv_dysfunction":false,"saddle_pe":false,"tachycardia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bangalore S, Horowitz JM, Beam D, Jaber WA, Khandhar S, Toma C, Weinberg MD, Mina B","doi":"10.1016/j.jcin.2023.02.004","id":"bangalore-2023","pmid":"37100559","source":"JACC Cardiovasc Interv. 2023;16(8):958-972","title":"Prevalence and Predictors of Cardiogenic Shock in Intermediate-Risk Pulmonary Embolism: Insights From the FLASH Registry"},"components":[{"factor":"elevated_troponin","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"moderate_or_severe_rv_dysfunction","points":0,"present":false},{"factor":"saddle_pe","points":0,"present":false},{"factor":"concomitant_dvt","points":0,"present":false},{"factor":"tachycardia","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":"cpes","formula_expression":"CPES = elevated_troponin + elevated_bnp + moderate_or_severe_rv_dysfunction + saddle_pe + concomitant_dvt + tachycardia; each 1 if true; max 6 (Bangalore 2023)","max_score":6,"score":0},{"citation":{"authors":"Bangalore S, Horowitz JM, Beam D, Jaber WA, Khandhar S, Toma C, Weinberg MD, Mina B","doi":"10.1016/j.jcin.2023.02.004","id":"bangalore-2023","pmid":"37100559","source":"JACC Cardiovasc Interv. 2023;16(8):958-972","title":"Prevalence and Predictors of Cardiogenic Shock in Intermediate-Risk Pulmonary Embolism: Insights From the FLASH Registry"},"components":[{"factor":"elevated_troponin","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"moderate_or_severe_rv_dysfunction","points":0,"present":false},{"factor":"saddle_pe","points":0,"present":false},{"factor":"concomitant_dvt","points":0,"present":false},{"factor":"tachycardia","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":"cpes","formula_expression":"CPES = elevated_troponin + elevated_bnp + moderate_or_severe_rv_dysfunction + saddle_pe + concomitant_dvt + tachycardia; each 1 if true; max 6 (Bangalore 2023)","max_score":6,"score":0}],"path":"/api/calc/cpes"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"concomitant_dvt":{"description":"Concomitant DVT, as assigned by the caller (Bangalore 2023). true scores 1; false scores 0. magent does not diagnose DVT.","type":"boolean"},"elevated_bnp":{"description":"Elevated BNP, as assigned by the caller (Bangalore 2023). true scores 1; false scores 0. Site cutoffs were not standardized; magent does not invent a numeric threshold or read the assay.","type":"boolean"},"elevated_troponin":{"description":"Elevated troponin per local assay, as assigned by the caller (Bangalore 2023). true scores 1; false scores 0. Site cutoffs were not standardized; magent does not invent a numeric threshold or read the assay.","type":"boolean"},"moderate_or_severe_rv_dysfunction":{"description":"Moderately or severely reduced RV function, as assigned by the caller (Bangalore 2023). Normal or mild reduction is false. true scores 1; false scores 0. magent does not read echo.","type":"boolean"},"saddle_pe":{"description":"Saddle PE or central thrombus burden, as assigned by the caller (Bangalore 2023). true scores 1; false scores 0. magent does not read imaging.","type":"boolean"},"tachycardia":{"description":"Tachycardia ≥100 beats/min as assigned by the caller (Bangalore 2023). true scores 1; false scores 0. magent does not take raw heart rate.","type":"boolean"}},"required":["elevated_troponin","elevated_bnp","moderate_or_severe_rv_dysfunction","saddle_pe","concomitant_dvt","tachycardia"],"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},{"id":39229,"slug":"39229","resource":"https://api.magentlab.com/api/calc/duke_iscvid","description":"2023 Duke-ISCVID (Fowler) IE criteria. Definite if pathologic_definite or clinical_definite (2 major, or 1 major plus 3 minor, or 5 minor). Possible if 1 major plus 1 minor or 3 minor. Rejected if neither, or if a rejected flag is true and definite does not hold. Majors are caller-assigned microbiologic, imaging, and surgical domains. minor_microbiologic is not counted when major_microbiologic is true. magent does not read echo, PET, or cultures. Not Durack 1994. Not Li 2000. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"major_imaging":true,"major_microbiologic":true,"major_surgical":false,"minor_fever":false,"minor_immunologic":false,"minor_microbiologic":false,"minor_predisposition":false,"minor_vascular":false,"pathologic_definite":false,"rejected_firm_alternate_diagnosis":false,"rejected_no_pathology_le_4_days_antibiotics":false,"rejected_resolved_le_4_days_antibiotics":false},{"major_imaging":true,"major_microbiologic":true,"major_surgical":false,"minor_fever":false,"minor_immunologic":false,"minor_microbiologic":false,"minor_predisposition":false,"minor_vascular":false,"pathologic_definite":false,"rejected_firm_alternate_diagnosis":false,"rejected_no_pathology_le_4_days_antibiotics":false,"rejected_resolved_le_4_days_antibiotics":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Fowler VG Jr, Durack DT, Selton-Suty C, Athan E, Bayer AS, Chamis JG, Dahl A, DiBernardo L, Durante-Mangoni E, Duval X, Fortes CQ, Fosbøl E, Hannan MM, Hasse B, Hoen B, Iversen K, et al.","doi":"10.1093/cid/ciad271","id":"fowler-2023","pmid":"37138445","source":"Clin Infect Dis. 2023;77(4):518-526","title":"The 2023 Duke-International Society for Cardiovascular Infectious Diseases Criteria for Infective Endocarditis: Updating the Modified Duke Criteria"},"classification":"definite","criteria":[{"factor":"pathologic_definite","met":false},{"factor":"major_microbiologic","met":true},{"factor":"major_imaging","met":true},{"factor":"major_surgical","met":false},{"factor":"minor_predisposition","met":false},{"factor":"minor_fever","met":false},{"factor":"minor_vascular","met":false},{"factor":"minor_immunologic","met":false},{"factor":"minor_microbiologic","met":false},{"factor":"rejected_firm_alternate_diagnosis","met":false},{"factor":"rejected_resolved_le_4_days_antibiotics","met":false},{"factor":"rejected_no_pathology_le_4_days_antibiotics","met":false},{"factor":"clinical_definite","met":true},{"factor":"rejected","met":false}],"definite":true,"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":"duke_iscvid","formula_expression":"definite iff pathologic_definite or clinical_definite; clinical_definite iff major_count >= 2 or (major_count >= 1 and minor_count >= 3) or minor_count >= 5; possible iff not definite and ((major_count >= 1 and minor_count >= 1) or minor_count >= 3); rejected iff not definite and not possible, or (not definite and any rejected flag); definite is not overridden by rejected flags (Fowler 2023 Duke-ISCVID). minor_microbiologic is not counted when major_microbiologic is true. Majors are caller-assigned microbiologic, imaging, and surgical domains. Not Durack 1994. Not Li 2000","major_count":2,"minor_count":0,"pathologic_definite":false,"possible":false,"rejected":false},{"citation":{"authors":"Fowler VG Jr, Durack DT, Selton-Suty C, Athan E, Bayer AS, Chamis JG, Dahl A, DiBernardo L, Durante-Mangoni E, Duval X, Fortes CQ, Fosbøl E, Hannan MM, Hasse B, Hoen B, Iversen K, et al.","doi":"10.1093/cid/ciad271","id":"fowler-2023","pmid":"37138445","source":"Clin Infect Dis. 2023;77(4):518-526","title":"The 2023 Duke-International Society for Cardiovascular Infectious Diseases Criteria for Infective Endocarditis: Updating the Modified Duke Criteria"},"classification":"definite","criteria":[{"factor":"pathologic_definite","met":false},{"factor":"major_microbiologic","met":true},{"factor":"major_imaging","met":true},{"factor":"major_surgical","met":false},{"factor":"minor_predisposition","met":false},{"factor":"minor_fever","met":false},{"factor":"minor_vascular","met":false},{"factor":"minor_immunologic","met":false},{"factor":"minor_microbiologic","met":false},{"factor":"rejected_firm_alternate_diagnosis","met":false},{"factor":"rejected_resolved_le_4_days_antibiotics","met":false},{"factor":"rejected_no_pathology_le_4_days_antibiotics","met":false},{"factor":"clinical_definite","met":true},{"factor":"rejected","met":false}],"definite":true,"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":"duke_iscvid","formula_expression":"definite iff pathologic_definite or clinical_definite; clinical_definite iff major_count >= 2 or (major_count >= 1 and minor_count >= 3) or minor_count >= 5; possible iff not definite and ((major_count >= 1 and minor_count >= 1) or minor_count >= 3); rejected iff not definite and not possible, or (not definite and any rejected flag); definite is not overridden by rejected flags (Fowler 2023 Duke-ISCVID). minor_microbiologic is not counted when major_microbiologic is true. Majors are caller-assigned microbiologic, imaging, and surgical domains. Not Durack 1994. Not Li 2000","major_count":2,"minor_count":0,"pathologic_definite":false,"possible":false,"rejected":false}],"path":"/api/calc/duke_iscvid"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"major_imaging":{"description":"Fowler 2023 imaging major as assigned by the caller (echocardiogram, cardiac CT, or 18F-FDG PET/CT meeting the 2023 imaging major). true or false. magent does not read imaging.","type":"boolean"},"major_microbiologic":{"description":"Fowler 2023 microbiologic major as assigned by the caller (typical organisms from two or more sets, or another published microbiologic major including Coxiella or Bartonella serology). true or false. magent does not interpret cultures.","type":"boolean"},"major_surgical":{"description":"Fowler 2023 surgical major as assigned by the caller (intraoperative inspection or subsequent histology or microbiology documenting IE). true or false. New 2023 major domain. magent does not examine the operative field.","type":"boolean"},"minor_fever":{"description":"Fever ≥38.0 C (Fowler 2023 minor). true or false as assigned by the caller. magent does not measure temperature.","type":"boolean"},"minor_immunologic":{"description":"Immunologic phenomena (Fowler 2023 minor) as assigned by the caller. true or false. magent does not examine the patient.","type":"boolean"},"minor_microbiologic":{"description":"Microbiologic evidence not meeting the microbiologic major (Fowler 2023 minor). true or false as assigned by the caller. Not counted in minor_count when major_microbiologic is true. magent does not interpret cultures.","type":"boolean"},"minor_predisposition":{"description":"Predisposing heart condition or intravenous drug use (Fowler 2023 minor). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"minor_vascular":{"description":"Vascular phenomena (Fowler 2023 minor) as assigned by the caller. true or false. magent does not examine the patient.","type":"boolean"},"pathologic_definite":{"description":"Microorganisms or histopathology of active IE in a vegetation, embolus, or intracardiac abscess, including 2023 molecular or tissue methods, as assigned by the caller (Fowler 2023 pathologic definite). true or false. magent does not examine tissue.","type":"boolean"},"rejected_firm_alternate_diagnosis":{"description":"Firm alternate diagnosis explaining evidence of IE (Fowler 2023 rejected). true or false as assigned by the caller. Classification is rejected only when definite does not hold.","type":"boolean"},"rejected_no_pathology_le_4_days_antibiotics":{"description":"No pathologic evidence of IE at surgery or autopsy after antibiotic therapy for 4 days or less (Fowler 2023 rejected). true or false as assigned by the caller. magent does not examine tissue.","type":"boolean"},"rejected_resolved_le_4_days_antibiotics":{"description":"Manifestations of IE resolved with antibiotic therapy for 4 days or less (Fowler 2023 rejected). true or false as assigned by the caller.","type":"boolean"}},"required":["pathologic_definite","major_microbiologic","major_imaging","major_surgical","minor_predisposition","minor_fever","minor_vascular","minor_immunologic","minor_microbiologic","rejected_firm_alternate_diagnosis","rejected_resolved_le_4_days_antibiotics","rejected_no_pathology_le_4_days_antibiotics"],"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":["duke-iscvid","endocarditis","infection","ie","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:11:16.902Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:11:15.991Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"major_imaging":true,"major_microbiologic":true,"major_surgical":false,"minor_fever":false,"minor_immunologic":false,"minor_microbiologic":false,"minor_predisposition":false,"minor_vascular":false,"pathologic_definite":false,"rejected_firm_alternate_diagnosis":false,"rejected_no_pathology_le_4_days_antibiotics":false,"rejected_resolved_le_4_days_antibiotics":false},{"major_imaging":true,"major_microbiologic":true,"major_surgical":false,"minor_fever":false,"minor_immunologic":false,"minor_microbiologic":false,"minor_predisposition":false,"minor_vascular":false,"pathologic_definite":false,"rejected_firm_alternate_diagnosis":false,"rejected_no_pathology_le_4_days_antibiotics":false,"rejected_resolved_le_4_days_antibiotics":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Fowler VG Jr, Durack DT, Selton-Suty C, Athan E, Bayer AS, Chamis JG, Dahl A, DiBernardo L, Durante-Mangoni E, Duval X, Fortes CQ, Fosbøl E, Hannan MM, Hasse B, Hoen B, Iversen K, et al.","doi":"10.1093/cid/ciad271","id":"fowler-2023","pmid":"37138445","source":"Clin Infect Dis. 2023;77(4):518-526","title":"The 2023 Duke-International Society for Cardiovascular Infectious Diseases Criteria for Infective Endocarditis: Updating the Modified Duke Criteria"},"classification":"definite","criteria":[{"factor":"pathologic_definite","met":false},{"factor":"major_microbiologic","met":true},{"factor":"major_imaging","met":true},{"factor":"major_surgical","met":false},{"factor":"minor_predisposition","met":false},{"factor":"minor_fever","met":false},{"factor":"minor_vascular","met":false},{"factor":"minor_immunologic","met":false},{"factor":"minor_microbiologic","met":false},{"factor":"rejected_firm_alternate_diagnosis","met":false},{"factor":"rejected_resolved_le_4_days_antibiotics","met":false},{"factor":"rejected_no_pathology_le_4_days_antibiotics","met":false},{"factor":"clinical_definite","met":true},{"factor":"rejected","met":false}],"definite":true,"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":"duke_iscvid","formula_expression":"definite iff pathologic_definite or clinical_definite; clinical_definite iff major_count >= 2 or (major_count >= 1 and minor_count >= 3) or minor_count >= 5; possible iff not definite and ((major_count >= 1 and minor_count >= 1) or minor_count >= 3); rejected iff not definite and not possible, or (not definite and any rejected flag); definite is not overridden by rejected flags (Fowler 2023 Duke-ISCVID). minor_microbiologic is not counted when major_microbiologic is true. Majors are caller-assigned microbiologic, imaging, and surgical domains. Not Durack 1994. Not Li 2000","major_count":2,"minor_count":0,"pathologic_definite":false,"possible":false,"rejected":false},{"citation":{"authors":"Fowler VG Jr, Durack DT, Selton-Suty C, Athan E, Bayer AS, Chamis JG, Dahl A, DiBernardo L, Durante-Mangoni E, Duval X, Fortes CQ, Fosbøl E, Hannan MM, Hasse B, Hoen B, Iversen K, et al.","doi":"10.1093/cid/ciad271","id":"fowler-2023","pmid":"37138445","source":"Clin Infect Dis. 2023;77(4):518-526","title":"The 2023 Duke-International Society for Cardiovascular Infectious Diseases Criteria for Infective Endocarditis: Updating the Modified Duke Criteria"},"classification":"definite","criteria":[{"factor":"pathologic_definite","met":false},{"factor":"major_microbiologic","met":true},{"factor":"major_imaging","met":true},{"factor":"major_surgical","met":false},{"factor":"minor_predisposition","met":false},{"factor":"minor_fever","met":false},{"factor":"minor_vascular","met":false},{"factor":"minor_immunologic","met":false},{"factor":"minor_microbiologic","met":false},{"factor":"rejected_firm_alternate_diagnosis","met":false},{"factor":"rejected_resolved_le_4_days_antibiotics","met":false},{"factor":"rejected_no_pathology_le_4_days_antibiotics","met":false},{"factor":"clinical_definite","met":true},{"factor":"rejected","met":false}],"definite":true,"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":"duke_iscvid","formula_expression":"definite iff pathologic_definite or clinical_definite; clinical_definite iff major_count >= 2 or (major_count >= 1 and minor_count >= 3) or minor_count >= 5; possible iff not definite and ((major_count >= 1 and minor_count >= 1) or minor_count >= 3); rejected iff not definite and not possible, or (not definite and any rejected flag); definite is not overridden by rejected flags (Fowler 2023 Duke-ISCVID). minor_microbiologic is not counted when major_microbiologic is true. Majors are caller-assigned microbiologic, imaging, and surgical domains. Not Durack 1994. Not Li 2000","major_count":2,"minor_count":0,"pathologic_definite":false,"possible":false,"rejected":false}],"path":"/api/calc/duke_iscvid"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"major_imaging":{"description":"Fowler 2023 imaging major as assigned by the caller (echocardiogram, cardiac CT, or 18F-FDG PET/CT meeting the 2023 imaging major). true or false. magent does not read imaging.","type":"boolean"},"major_microbiologic":{"description":"Fowler 2023 microbiologic major as assigned by the caller (typical organisms from two or more sets, or another published microbiologic major including Coxiella or Bartonella serology). true or false. magent does not interpret cultures.","type":"boolean"},"major_surgical":{"description":"Fowler 2023 surgical major as assigned by the caller (intraoperative inspection or subsequent histology or microbiology documenting IE). true or false. New 2023 major domain. magent does not examine the operative field.","type":"boolean"},"minor_fever":{"description":"Fever ≥38.0 C (Fowler 2023 minor). true or false as assigned by the caller. magent does not measure temperature.","type":"boolean"},"minor_immunologic":{"description":"Immunologic phenomena (Fowler 2023 minor) as assigned by the caller. true or false. magent does not examine the patient.","type":"boolean"},"minor_microbiologic":{"description":"Microbiologic evidence not meeting the microbiologic major (Fowler 2023 minor). true or false as assigned by the caller. Not counted in minor_count when major_microbiologic is true. magent does not interpret cultures.","type":"boolean"},"minor_predisposition":{"description":"Predisposing heart condition or intravenous drug use (Fowler 2023 minor). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"minor_vascular":{"description":"Vascular phenomena (Fowler 2023 minor) as assigned by the caller. true or false. magent does not examine the patient.","type":"boolean"},"pathologic_definite":{"description":"Microorganisms or histopathology of active IE in a vegetation, embolus, or intracardiac abscess, including 2023 molecular or tissue methods, as assigned by the caller (Fowler 2023 pathologic definite). true or false. magent does not examine tissue.","type":"boolean"},"rejected_firm_alternate_diagnosis":{"description":"Firm alternate diagnosis explaining evidence of IE (Fowler 2023 rejected). true or false as assigned by the caller. Classification is rejected only when definite does not hold.","type":"boolean"},"rejected_no_pathology_le_4_days_antibiotics":{"description":"No pathologic evidence of IE at surgery or autopsy after antibiotic therapy for 4 days or less (Fowler 2023 rejected). true or false as assigned by the caller. magent does not examine tissue.","type":"boolean"},"rejected_resolved_le_4_days_antibiotics":{"description":"Manifestations of IE resolved with antibiotic therapy for 4 days or less (Fowler 2023 rejected). true or false as assigned by the caller.","type":"boolean"}},"required":["pathologic_definite","major_microbiologic","major_imaging","major_surgical","minor_predisposition","minor_fever","minor_vascular","minor_immunologic","minor_microbiologic","rejected_firm_alternate_diagnosis","rejected_resolved_le_4_days_antibiotics","rejected_no_pathology_le_4_days_antibiotics"],"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},{"id":39230,"slug":"39230","resource":"https://api.magentlab.com/api/calc/drip","description":"Webb 2016 DRIP (drug resistance in pneumonia): ten caller-assigned flags, four major at 2 points and six minor at 1, max 14. high_risk if score >= 4. Deterministic published score with citation; not a medical device, not an antibiotic order, and not HCAP. magent does not classify the facility or compute Karnofsky.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"antibiotics_60d":false,"chronic_pulmonary_disease":false,"gastric_acid_suppression":false,"hospitalization_60d":false,"long_term_care":false,"mrsa_colonization_1yr":false,"poor_functional_status":false,"prior_drp_1yr":false,"tube_feeding":false,"wound_care":false},{"antibiotics_60d":false,"chronic_pulmonary_disease":false,"gastric_acid_suppression":false,"hospitalization_60d":false,"long_term_care":false,"mrsa_colonization_1yr":false,"poor_functional_status":false,"prior_drp_1yr":false,"tube_feeding":false,"wound_care":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Webb BJ, Dascomb K, Stenehjem E, et al.","doi":"10.1128/AAC.03071-15","id":"webb-2016","pmid":"26856838","source":"Antimicrob Agents Chemother. 2016;60(5):2652-2663","title":"Derivation and multicenter validation of the drug resistance in pneumonia clinical prediction score"},"components":[{"factor":"antibiotics_60d","points":0,"present":false},{"factor":"long_term_care","points":0,"present":false},{"factor":"tube_feeding","points":0,"present":false},{"factor":"prior_drp_1yr","points":0,"present":false},{"factor":"hospitalization_60d","points":0,"present":false},{"factor":"chronic_pulmonary_disease","points":0,"present":false},{"factor":"poor_functional_status","points":0,"present":false},{"factor":"gastric_acid_suppression","points":0,"present":false},{"factor":"wound_care","points":0,"present":false},{"factor":"mrsa_colonization_1yr","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":"drip","formula_expression":"DRIP = antibiotics_60d (2) + long_term_care (2) + tube_feeding (2) + prior_drp_1yr (2) + hospitalization_60d (1) + chronic_pulmonary_disease (1) + poor_functional_status (1) + gastric_acid_suppression (1) + wound_care (1) + mrsa_colonization_1yr (1); max 14; high_risk iff score >= 4","high_risk":false,"max_score":14,"score":0},{"citation":{"authors":"Webb BJ, Dascomb K, Stenehjem E, et al.","doi":"10.1128/AAC.03071-15","id":"webb-2016","pmid":"26856838","source":"Antimicrob Agents Chemother. 2016;60(5):2652-2663","title":"Derivation and multicenter validation of the drug resistance in pneumonia clinical prediction score"},"components":[{"factor":"antibiotics_60d","points":0,"present":false},{"factor":"long_term_care","points":0,"present":false},{"factor":"tube_feeding","points":0,"present":false},{"factor":"prior_drp_1yr","points":0,"present":false},{"factor":"hospitalization_60d","points":0,"present":false},{"factor":"chronic_pulmonary_disease","points":0,"present":false},{"factor":"poor_functional_status","points":0,"present":false},{"factor":"gastric_acid_suppression","points":0,"present":false},{"factor":"wound_care","points":0,"present":false},{"factor":"mrsa_colonization_1yr","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":"drip","formula_expression":"DRIP = antibiotics_60d (2) + long_term_care (2) + tube_feeding (2) + prior_drp_1yr (2) + hospitalization_60d (1) + chronic_pulmonary_disease (1) + poor_functional_status (1) + gastric_acid_suppression (1) + wound_care (1) + mrsa_colonization_1yr (1); max 14; high_risk iff score >= 4","high_risk":false,"max_score":14,"score":0}],"path":"/api/calc/drip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"antibiotics_60d":{"description":"Antibiotic use within 60 days (Webb 2016 major, 2 points). true or false as assigned by the caller.","type":"boolean"},"chronic_pulmonary_disease":{"description":"Chronic pulmonary disease (Webb 2016 minor, 1 point). true or false as assigned by the caller.","type":"boolean"},"gastric_acid_suppression":{"description":"Gastric acid suppression (Webb 2016 minor, 1 point). true or false as assigned by the caller.","type":"boolean"},"hospitalization_60d":{"description":"Hospitalization within 60 days (Webb 2016 minor, 1 point). true or false as assigned by the caller.","type":"boolean"},"long_term_care":{"description":"Residence in long-term acute care, a skilled nursing facility, or inpatient rehabilitation (Webb 2016 major, 2 points). Not assisted living or a group home. The caller assigns the flag; magent does not classify the facility. true or false.","type":"boolean"},"mrsa_colonization_1yr":{"description":"MRSA colonization within 1 year (Webb 2016 minor, 1 point). true or false as assigned by the caller.","type":"boolean"},"poor_functional_status":{"description":"Poor functional status as in Webb 2016 (Karnofsky <70 or non-ambulatory). Caller-assigned boolean; magent does not compute Karnofsky. 1 point if true.","type":"boolean"},"prior_drp_1yr":{"description":"Prior drug-resistant pneumonia within 1 year (Webb 2016 major, 2 points). true or false as assigned by the caller.","type":"boolean"},"tube_feeding":{"description":"Tube feeding (Webb 2016 major, 2 points). true or false as assigned by the caller.","type":"boolean"},"wound_care":{"description":"Wound care (Webb 2016 minor, 1 point). true or false as assigned by the caller.","type":"boolean"}},"required":["antibiotics_60d","long_term_care","tube_feeding","prior_drp_1yr","hospitalization_60d","chronic_pulmonary_disease","poor_functional_status","gastric_acid_suppression","wound_care","mrsa_colonization_1yr"],"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":["drip","pneumonia","drug-resistance","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:06:17.543Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:06:17.423Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"antibiotics_60d":false,"chronic_pulmonary_disease":false,"gastric_acid_suppression":false,"hospitalization_60d":false,"long_term_care":false,"mrsa_colonization_1yr":false,"poor_functional_status":false,"prior_drp_1yr":false,"tube_feeding":false,"wound_care":false},{"antibiotics_60d":false,"chronic_pulmonary_disease":false,"gastric_acid_suppression":false,"hospitalization_60d":false,"long_term_care":false,"mrsa_colonization_1yr":false,"poor_functional_status":false,"prior_drp_1yr":false,"tube_feeding":false,"wound_care":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Webb BJ, Dascomb K, Stenehjem E, et al.","doi":"10.1128/AAC.03071-15","id":"webb-2016","pmid":"26856838","source":"Antimicrob Agents Chemother. 2016;60(5):2652-2663","title":"Derivation and multicenter validation of the drug resistance in pneumonia clinical prediction score"},"components":[{"factor":"antibiotics_60d","points":0,"present":false},{"factor":"long_term_care","points":0,"present":false},{"factor":"tube_feeding","points":0,"present":false},{"factor":"prior_drp_1yr","points":0,"present":false},{"factor":"hospitalization_60d","points":0,"present":false},{"factor":"chronic_pulmonary_disease","points":0,"present":false},{"factor":"poor_functional_status","points":0,"present":false},{"factor":"gastric_acid_suppression","points":0,"present":false},{"factor":"wound_care","points":0,"present":false},{"factor":"mrsa_colonization_1yr","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":"drip","formula_expression":"DRIP = antibiotics_60d (2) + long_term_care (2) + tube_feeding (2) + prior_drp_1yr (2) + hospitalization_60d (1) + chronic_pulmonary_disease (1) + poor_functional_status (1) + gastric_acid_suppression (1) + wound_care (1) + mrsa_colonization_1yr (1); max 14; high_risk iff score >= 4","high_risk":false,"max_score":14,"score":0},{"citation":{"authors":"Webb BJ, Dascomb K, Stenehjem E, et al.","doi":"10.1128/AAC.03071-15","id":"webb-2016","pmid":"26856838","source":"Antimicrob Agents Chemother. 2016;60(5):2652-2663","title":"Derivation and multicenter validation of the drug resistance in pneumonia clinical prediction score"},"components":[{"factor":"antibiotics_60d","points":0,"present":false},{"factor":"long_term_care","points":0,"present":false},{"factor":"tube_feeding","points":0,"present":false},{"factor":"prior_drp_1yr","points":0,"present":false},{"factor":"hospitalization_60d","points":0,"present":false},{"factor":"chronic_pulmonary_disease","points":0,"present":false},{"factor":"poor_functional_status","points":0,"present":false},{"factor":"gastric_acid_suppression","points":0,"present":false},{"factor":"wound_care","points":0,"present":false},{"factor":"mrsa_colonization_1yr","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":"drip","formula_expression":"DRIP = antibiotics_60d (2) + long_term_care (2) + tube_feeding (2) + prior_drp_1yr (2) + hospitalization_60d (1) + chronic_pulmonary_disease (1) + poor_functional_status (1) + gastric_acid_suppression (1) + wound_care (1) + mrsa_colonization_1yr (1); max 14; high_risk iff score >= 4","high_risk":false,"max_score":14,"score":0}],"path":"/api/calc/drip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"antibiotics_60d":{"description":"Antibiotic use within 60 days (Webb 2016 major, 2 points). true or false as assigned by the caller.","type":"boolean"},"chronic_pulmonary_disease":{"description":"Chronic pulmonary disease (Webb 2016 minor, 1 point). true or false as assigned by the caller.","type":"boolean"},"gastric_acid_suppression":{"description":"Gastric acid suppression (Webb 2016 minor, 1 point). true or false as assigned by the caller.","type":"boolean"},"hospitalization_60d":{"description":"Hospitalization within 60 days (Webb 2016 minor, 1 point). true or false as assigned by the caller.","type":"boolean"},"long_term_care":{"description":"Residence in long-term acute care, a skilled nursing facility, or inpatient rehabilitation (Webb 2016 major, 2 points). Not assisted living or a group home. The caller assigns the flag; magent does not classify the facility. true or false.","type":"boolean"},"mrsa_colonization_1yr":{"description":"MRSA colonization within 1 year (Webb 2016 minor, 1 point). true or false as assigned by the caller.","type":"boolean"},"poor_functional_status":{"description":"Poor functional status as in Webb 2016 (Karnofsky <70 or non-ambulatory). Caller-assigned boolean; magent does not compute Karnofsky. 1 point if true.","type":"boolean"},"prior_drp_1yr":{"description":"Prior drug-resistant pneumonia within 1 year (Webb 2016 major, 2 points). true or false as assigned by the caller.","type":"boolean"},"tube_feeding":{"description":"Tube feeding (Webb 2016 major, 2 points). true or false as assigned by the caller.","type":"boolean"},"wound_care":{"description":"Wound care (Webb 2016 minor, 1 point). true or false as assigned by the caller.","type":"boolean"}},"required":["antibiotics_60d","long_term_care","tube_feeding","prior_drp_1yr","hospitalization_60d","chronic_pulmonary_disease","poor_functional_status","gastric_acid_suppression","wound_care","mrsa_colonization_1yr"],"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},{"id":39231,"slug":"39231","resource":"https://api.magentlab.com/api/calc/dasi","description":"Hlatky 1989 Duke Activity Status Index. Twelve caller-assigned yes/no items (self-care through strenuous sports); Yes adds the Table I weight, No adds 0. Light housework is 2.70. DASI is the sum (0-58.2). Estimated peak VO2 mL/kg/min = 0.43 x DASI + 9.6. magent does not observe the patient. Not a functional-capacity assignment or exercise-test replacement.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"climb_stairs":false,"heavy_housework":false,"light_housework":false,"moderate_housework":false,"moderate_recreation":false,"run_short":false,"self_care":false,"sexual_relations":false,"strenuous_sports":false,"walk_blocks":false,"walk_indoors":false,"yardwork":false},{"climb_stairs":false,"heavy_housework":false,"light_housework":false,"moderate_housework":false,"moderate_recreation":false,"run_short":false,"self_care":false,"sexual_relations":false,"strenuous_sports":false,"walk_blocks":false,"walk_indoors":false,"yardwork":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hlatky MA, Boineau RE, Higginbotham MB, Lee KL, Mark DB, Califf RM, Cobb FR, Pryor DB","doi":"10.1016/0002-9149(89)90496-7","id":"hlatky-1989","pmid":"2782256","source":"Am J Cardiol. 1989;64(10):651-654","title":"A brief self-administered questionnaire to determine functional capacity (The Duke Activity Status Index)"},"components":[{"factor":"self_care","points":0,"present":false},{"factor":"walk_indoors","points":0,"present":false},{"factor":"walk_blocks","points":0,"present":false},{"factor":"climb_stairs","points":0,"present":false},{"factor":"run_short","points":0,"present":false},{"factor":"light_housework","points":0,"present":false},{"factor":"moderate_housework","points":0,"present":false},{"factor":"heavy_housework","points":0,"present":false},{"factor":"yardwork","points":0,"present":false},{"factor":"sexual_relations","points":0,"present":false},{"factor":"moderate_recreation","points":0,"present":false},{"factor":"strenuous_sports","points":0,"present":false}],"dasi":0,"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":"dasi","formula_expression":"DASI = 2.75*self_care + 1.75*walk_indoors + 2.75*walk_blocks + 5.50*climb_stairs + 8.00*run_short + 2.70*light_housework + 3.50*moderate_housework + 8.00*heavy_housework + 4.50*yardwork + 5.25*sexual_relations + 6.00*moderate_recreation + 7.50*strenuous_sports (Yes = weight, No = 0); VO2peak_mL/kg/min = 0.43*DASI + 9.6 (Hlatky 1989 Table I)","max_score":58.2,"score":0,"vo2peak_ml_kg_min":9.6},{"citation":{"authors":"Hlatky MA, Boineau RE, Higginbotham MB, Lee KL, Mark DB, Califf RM, Cobb FR, Pryor DB","doi":"10.1016/0002-9149(89)90496-7","id":"hlatky-1989","pmid":"2782256","source":"Am J Cardiol. 1989;64(10):651-654","title":"A brief self-administered questionnaire to determine functional capacity (The Duke Activity Status Index)"},"components":[{"factor":"self_care","points":0,"present":false},{"factor":"walk_indoors","points":0,"present":false},{"factor":"walk_blocks","points":0,"present":false},{"factor":"climb_stairs","points":0,"present":false},{"factor":"run_short","points":0,"present":false},{"factor":"light_housework","points":0,"present":false},{"factor":"moderate_housework","points":0,"present":false},{"factor":"heavy_housework","points":0,"present":false},{"factor":"yardwork","points":0,"present":false},{"factor":"sexual_relations","points":0,"present":false},{"factor":"moderate_recreation","points":0,"present":false},{"factor":"strenuous_sports","points":0,"present":false}],"dasi":0,"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":"dasi","formula_expression":"DASI = 2.75*self_care + 1.75*walk_indoors + 2.75*walk_blocks + 5.50*climb_stairs + 8.00*run_short + 2.70*light_housework + 3.50*moderate_housework + 8.00*heavy_housework + 4.50*yardwork + 5.25*sexual_relations + 6.00*moderate_recreation + 7.50*strenuous_sports (Yes = weight, No = 0); VO2peak_mL/kg/min = 0.43*DASI + 9.6 (Hlatky 1989 Table I)","max_score":58.2,"score":0,"vo2peak_ml_kg_min":9.6}],"path":"/api/calc/dasi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"climb_stairs":{"description":"Can climb a flight of stairs or walk up a hill (Hlatky 1989 Table I). true or false. Yes adds 5.50.","type":"boolean"},"heavy_housework":{"description":"Can do heavy work around the house like scrubbing floors, or lifting or moving heavy furniture (Hlatky 1989 Table I). true or false. Yes adds 8.00.","type":"boolean"},"light_housework":{"description":"Can do light work around the house like dusting or washing dishes (Hlatky 1989 Table I). true or false. Yes adds 2.70.","type":"boolean"},"moderate_housework":{"description":"Can do moderate work around the house like vacuuming, sweeping floors, or carrying in groceries (Hlatky 1989 Table I). true or false. Yes adds 3.50.","type":"boolean"},"moderate_recreation":{"description":"Can participate in moderate recreational activities like golf, bowling, dancing, doubles tennis, or throwing a baseball or football (Hlatky 1989 Table I). true or false. Yes adds 6.00.","type":"boolean"},"run_short":{"description":"Can run a short distance (Hlatky 1989 Table I). true or false. Yes adds 8.00.","type":"boolean"},"self_care":{"description":"Can take care of self: eating, dressing, bathing, or using the toilet (Hlatky 1989 Table I). true or false. Yes adds 2.75.","type":"boolean"},"sexual_relations":{"description":"Can have sexual relations (Hlatky 1989 Table I). true or false. Yes adds 5.25.","type":"boolean"},"strenuous_sports":{"description":"Can participate in strenuous sports like swimming, singles tennis, football, basketball, or skiing (Hlatky 1989 Table I). true or false. Yes adds 7.50.","type":"boolean"},"walk_blocks":{"description":"Can walk a block or two on level ground (Hlatky 1989 Table I). true or false. Yes adds 2.75.","type":"boolean"},"walk_indoors":{"description":"Can walk indoors, such as around the house (Hlatky 1989 Table I). true or false. Yes adds 1.75.","type":"boolean"},"yardwork":{"description":"Can do yardwork like raking leaves, weeding, or pushing a power mower (Hlatky 1989 Table I). true or false. Yes adds 4.50.","type":"boolean"}},"required":["self_care","walk_indoors","walk_blocks","climb_stairs","run_short","light_housework","moderate_housework","heavy_housework","yardwork","sexual_relations","moderate_recreation","strenuous_sports"],"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":["dasi","vo2peak","functional-capacity","hemodynamics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:06:15.891Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:06:15.704Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"climb_stairs":false,"heavy_housework":false,"light_housework":false,"moderate_housework":false,"moderate_recreation":false,"run_short":false,"self_care":false,"sexual_relations":false,"strenuous_sports":false,"walk_blocks":false,"walk_indoors":false,"yardwork":false},{"climb_stairs":false,"heavy_housework":false,"light_housework":false,"moderate_housework":false,"moderate_recreation":false,"run_short":false,"self_care":false,"sexual_relations":false,"strenuous_sports":false,"walk_blocks":false,"walk_indoors":false,"yardwork":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hlatky MA, Boineau RE, Higginbotham MB, Lee KL, Mark DB, Califf RM, Cobb FR, Pryor DB","doi":"10.1016/0002-9149(89)90496-7","id":"hlatky-1989","pmid":"2782256","source":"Am J Cardiol. 1989;64(10):651-654","title":"A brief self-administered questionnaire to determine functional capacity (The Duke Activity Status Index)"},"components":[{"factor":"self_care","points":0,"present":false},{"factor":"walk_indoors","points":0,"present":false},{"factor":"walk_blocks","points":0,"present":false},{"factor":"climb_stairs","points":0,"present":false},{"factor":"run_short","points":0,"present":false},{"factor":"light_housework","points":0,"present":false},{"factor":"moderate_housework","points":0,"present":false},{"factor":"heavy_housework","points":0,"present":false},{"factor":"yardwork","points":0,"present":false},{"factor":"sexual_relations","points":0,"present":false},{"factor":"moderate_recreation","points":0,"present":false},{"factor":"strenuous_sports","points":0,"present":false}],"dasi":0,"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":"dasi","formula_expression":"DASI = 2.75*self_care + 1.75*walk_indoors + 2.75*walk_blocks + 5.50*climb_stairs + 8.00*run_short + 2.70*light_housework + 3.50*moderate_housework + 8.00*heavy_housework + 4.50*yardwork + 5.25*sexual_relations + 6.00*moderate_recreation + 7.50*strenuous_sports (Yes = weight, No = 0); VO2peak_mL/kg/min = 0.43*DASI + 9.6 (Hlatky 1989 Table I)","max_score":58.2,"score":0,"vo2peak_ml_kg_min":9.6},{"citation":{"authors":"Hlatky MA, Boineau RE, Higginbotham MB, Lee KL, Mark DB, Califf RM, Cobb FR, Pryor DB","doi":"10.1016/0002-9149(89)90496-7","id":"hlatky-1989","pmid":"2782256","source":"Am J Cardiol. 1989;64(10):651-654","title":"A brief self-administered questionnaire to determine functional capacity (The Duke Activity Status Index)"},"components":[{"factor":"self_care","points":0,"present":false},{"factor":"walk_indoors","points":0,"present":false},{"factor":"walk_blocks","points":0,"present":false},{"factor":"climb_stairs","points":0,"present":false},{"factor":"run_short","points":0,"present":false},{"factor":"light_housework","points":0,"present":false},{"factor":"moderate_housework","points":0,"present":false},{"factor":"heavy_housework","points":0,"present":false},{"factor":"yardwork","points":0,"present":false},{"factor":"sexual_relations","points":0,"present":false},{"factor":"moderate_recreation","points":0,"present":false},{"factor":"strenuous_sports","points":0,"present":false}],"dasi":0,"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":"dasi","formula_expression":"DASI = 2.75*self_care + 1.75*walk_indoors + 2.75*walk_blocks + 5.50*climb_stairs + 8.00*run_short + 2.70*light_housework + 3.50*moderate_housework + 8.00*heavy_housework + 4.50*yardwork + 5.25*sexual_relations + 6.00*moderate_recreation + 7.50*strenuous_sports (Yes = weight, No = 0); VO2peak_mL/kg/min = 0.43*DASI + 9.6 (Hlatky 1989 Table I)","max_score":58.2,"score":0,"vo2peak_ml_kg_min":9.6}],"path":"/api/calc/dasi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"climb_stairs":{"description":"Can climb a flight of stairs or walk up a hill (Hlatky 1989 Table I). true or false. Yes adds 5.50.","type":"boolean"},"heavy_housework":{"description":"Can do heavy work around the house like scrubbing floors, or lifting or moving heavy furniture (Hlatky 1989 Table I). true or false. Yes adds 8.00.","type":"boolean"},"light_housework":{"description":"Can do light work around the house like dusting or washing dishes (Hlatky 1989 Table I). true or false. Yes adds 2.70.","type":"boolean"},"moderate_housework":{"description":"Can do moderate work around the house like vacuuming, sweeping floors, or carrying in groceries (Hlatky 1989 Table I). true or false. Yes adds 3.50.","type":"boolean"},"moderate_recreation":{"description":"Can participate in moderate recreational activities like golf, bowling, dancing, doubles tennis, or throwing a baseball or football (Hlatky 1989 Table I). true or false. Yes adds 6.00.","type":"boolean"},"run_short":{"description":"Can run a short distance (Hlatky 1989 Table I). true or false. Yes adds 8.00.","type":"boolean"},"self_care":{"description":"Can take care of self: eating, dressing, bathing, or using the toilet (Hlatky 1989 Table I). true or false. Yes adds 2.75.","type":"boolean"},"sexual_relations":{"description":"Can have sexual relations (Hlatky 1989 Table I). true or false. Yes adds 5.25.","type":"boolean"},"strenuous_sports":{"description":"Can participate in strenuous sports like swimming, singles tennis, football, basketball, or skiing (Hlatky 1989 Table I). true or false. Yes adds 7.50.","type":"boolean"},"walk_blocks":{"description":"Can walk a block or two on level ground (Hlatky 1989 Table I). true or false. Yes adds 2.75.","type":"boolean"},"walk_indoors":{"description":"Can walk indoors, such as around the house (Hlatky 1989 Table I). true or false. Yes adds 1.75.","type":"boolean"},"yardwork":{"description":"Can do yardwork like raking leaves, weeding, or pushing a power mower (Hlatky 1989 Table I). true or false. Yes adds 4.50.","type":"boolean"}},"required":["self_care","walk_indoors","walk_blocks","climb_stairs","run_short","light_housework","moderate_housework","heavy_housework","yardwork","sexual_relations","moderate_recreation","strenuous_sports"],"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},{"id":39232,"slug":"39232","resource":"https://api.magentlab.com/api/calc/crash","description":"Extermann 2012 CRASH chemotherapy toxicity score (not trauma CRASH): diastolic BP, IADL, LDH versus ULN, caller-assigned MAX2 Chemotox, ECOG, Mini-Mental Status, Mini-Nutritional Assessment. Hematologic 0–6, nonhematologic 0–8, combined 0–12 counting Chemotox once. Four-level low/medium_low/medium_high/high bands with derivation incidences. Not a chemotherapy order and not CARG-TT. magent does not look up regimens.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"chemotox":0.5,"diastolic_mm_hg":80,"ecog":1,"iadl":20,"ldh_u_l":500,"ldh_uln_u_l":618,"mms":28,"mna":26},{"chemotox":0.5,"diastolic_mm_hg":80,"ecog":1,"iadl":20,"ldh_u_l":500,"ldh_uln_u_l":618,"mms":28,"mna":26}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"chemotox":0.5,"citation":{"authors":"Extermann M, Boler I, Reich RR, et al.","doi":"10.1002/cncr.26646","id":"extermann-2012","pmid":"22072065","source":"Cancer. 2012;118(13):3377-3386","title":"Predicting the risk of chemotherapy toxicity in older patients: the Chemotherapy Risk Assessment Scale for High-Age Patients (CRASH) score"},"combined_incidence_percent":79,"combined_risk":"high","combined_score":10,"components":[{"factor":"diastolic_mm_hg","points":1,"present":true,"value":80},{"factor":"iadl","points":1,"present":true,"value":20},{"factor":"ldh","points":2,"present":true,"value":500},{"factor":"chemotox","points":1,"present":true,"value":0.5},{"factor":"ecog","points":1,"present":true,"value":1},{"factor":"mms","points":2,"present":true,"value":28},{"factor":"mna","points":2,"present":true,"value":26}],"diastolic_mm_hg":80,"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.","ecog":1,"formula":"crash","formula_expression":"CRASH (Extermann 2012 Table 4) hematologic = diastolic_mm_hg (<=72 0, >72 1) + iadl (26-29 0, 10-25 1) + ldh (ldh_u_l > 0.74 * ldh_uln_u_l 2 else 0; empty 1-point column) + chemotox (0-0.44 0, 0.45-0.57 1, >0.57 2); max 6; nonhematologic = ecog (0 → 0, 1-2 → 1, 3-4 → 2) + mms (30 → 0, <30 → 2) + mna (28-30 → 0, <28 → 2) + chemotox (same); max 8; combined = hematologic + nonhematologic - chemotox (count Chemotox once; max 12 not 14); H 0-1 low 7%, 2-3 medium_low 23%, 4-5 medium_high 54%, 6 high 100%; NH 0-2 low 33%, 3-4 medium_low 46%, 5-6 medium_high 67%, 7-8 high 93%; combined 0-3 low 50%, 4-6 medium_low 58%, 7-9 medium_high 77%, 10-12 high 79%; not trauma CRASH; not CARG-TT; Chemotox is caller-assigned MAX2","hematologic_incidence_percent":54,"hematologic_risk":"medium_high","hematologic_score":5,"iadl":20,"ldh_u_l":500,"ldh_uln_u_l":618,"max_combined_score":12,"max_hematologic_score":6,"max_nonhematologic_score":8,"mms":28,"mna":26,"nonhematologic_incidence_percent":67,"nonhematologic_risk":"medium_high","nonhematologic_score":6},{"chemotox":0.5,"citation":{"authors":"Extermann M, Boler I, Reich RR, et al.","doi":"10.1002/cncr.26646","id":"extermann-2012","pmid":"22072065","source":"Cancer. 2012;118(13):3377-3386","title":"Predicting the risk of chemotherapy toxicity in older patients: the Chemotherapy Risk Assessment Scale for High-Age Patients (CRASH) score"},"combined_incidence_percent":79,"combined_risk":"high","combined_score":10,"components":[{"factor":"diastolic_mm_hg","points":1,"present":true,"value":80},{"factor":"iadl","points":1,"present":true,"value":20},{"factor":"ldh","points":2,"present":true,"value":500},{"factor":"chemotox","points":1,"present":true,"value":0.5},{"factor":"ecog","points":1,"present":true,"value":1},{"factor":"mms","points":2,"present":true,"value":28},{"factor":"mna","points":2,"present":true,"value":26}],"diastolic_mm_hg":80,"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.","ecog":1,"formula":"crash","formula_expression":"CRASH (Extermann 2012 Table 4) hematologic = diastolic_mm_hg (<=72 0, >72 1) + iadl (26-29 0, 10-25 1) + ldh (ldh_u_l > 0.74 * ldh_uln_u_l 2 else 0; empty 1-point column) + chemotox (0-0.44 0, 0.45-0.57 1, >0.57 2); max 6; nonhematologic = ecog (0 → 0, 1-2 → 1, 3-4 → 2) + mms (30 → 0, <30 → 2) + mna (28-30 → 0, <28 → 2) + chemotox (same); max 8; combined = hematologic + nonhematologic - chemotox (count Chemotox once; max 12 not 14); H 0-1 low 7%, 2-3 medium_low 23%, 4-5 medium_high 54%, 6 high 100%; NH 0-2 low 33%, 3-4 medium_low 46%, 5-6 medium_high 67%, 7-8 high 93%; combined 0-3 low 50%, 4-6 medium_low 58%, 7-9 medium_high 77%, 10-12 high 79%; not trauma CRASH; not CARG-TT; Chemotox is caller-assigned MAX2","hematologic_incidence_percent":54,"hematologic_risk":"medium_high","hematologic_score":5,"iadl":20,"ldh_u_l":500,"ldh_uln_u_l":618,"max_combined_score":12,"max_hematologic_score":6,"max_nonhematologic_score":8,"mms":28,"mna":26,"nonhematologic_incidence_percent":67,"nonhematologic_risk":"medium_high","nonhematologic_score":6}],"path":"/api/calc/crash"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chemotox":{"description":"Caller-assigned MAX2 Chemotox from 0 to 1. 0-0.44 → 0, 0.45-0.57 → 1, >0.57 → 2. Counted once in the combined score. magent does not look up regimens.","type":"number"},"diastolic_mm_hg":{"description":"Diastolic blood pressure in mm Hg (20-160). Extermann 2012 Table 4: ≤72 → 0, >72 → 1 hematologic point. magent does not measure blood pressure.","type":"number"},"ecog":{"description":"ECOG performance status integer 0-4. Extermann 2012: 0 → 0, 1-2 → 1, 3-4 → 2 nonhematologic points. magent does not assign performance status.","type":"integer"},"iadl":{"description":"Instrumental activities of daily living integer 10-29 (Extermann 2012 CRASH IADL). 26-29 → 0, 10-25 → 1 hematologic point. magent does not interview the patient.","type":"integer"},"ldh_u_l":{"description":"Lactate dehydrogenase in U/L (1-20000). +2 hematologic points if ldh_u_l > 0.74 × ldh_uln_u_l, else 0 (empty 1-point column). magent does not assay LDH.","type":"number"},"ldh_uln_u_l":{"description":"Laboratory LDH upper limit of normal in U/L (50-2000). Used only as 0.74 × ULN for the LDH rule. No special-case ULN value. magent does not assay LDH.","type":"number"},"mms":{"description":"Mini-Mental Status integer 0-30. Extermann 2012: 30 → 0, <30 → 2 nonhematologic points. magent does not administer the Mini-Mental Status.","type":"integer"},"mna":{"description":"Mini-Nutritional Assessment integer 0-30. Extermann 2012: 28-30 → 0, <28 → 2 nonhematologic points. magent does not administer the Mini-Nutritional Assessment.","type":"integer"}},"required":["diastolic_mm_hg","iadl","ldh_u_l","ldh_uln_u_l","chemotox","ecog","mms","mna"],"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":["crash","chemotherapy","toxicity","geriatric","oncology","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:06:14.973Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:06:14.83Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"chemotox":0.5,"diastolic_mm_hg":80,"ecog":1,"iadl":20,"ldh_u_l":500,"ldh_uln_u_l":618,"mms":28,"mna":26},{"chemotox":0.5,"diastolic_mm_hg":80,"ecog":1,"iadl":20,"ldh_u_l":500,"ldh_uln_u_l":618,"mms":28,"mna":26}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"chemotox":0.5,"citation":{"authors":"Extermann M, Boler I, Reich RR, et al.","doi":"10.1002/cncr.26646","id":"extermann-2012","pmid":"22072065","source":"Cancer. 2012;118(13):3377-3386","title":"Predicting the risk of chemotherapy toxicity in older patients: the Chemotherapy Risk Assessment Scale for High-Age Patients (CRASH) score"},"combined_incidence_percent":79,"combined_risk":"high","combined_score":10,"components":[{"factor":"diastolic_mm_hg","points":1,"present":true,"value":80},{"factor":"iadl","points":1,"present":true,"value":20},{"factor":"ldh","points":2,"present":true,"value":500},{"factor":"chemotox","points":1,"present":true,"value":0.5},{"factor":"ecog","points":1,"present":true,"value":1},{"factor":"mms","points":2,"present":true,"value":28},{"factor":"mna","points":2,"present":true,"value":26}],"diastolic_mm_hg":80,"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.","ecog":1,"formula":"crash","formula_expression":"CRASH (Extermann 2012 Table 4) hematologic = diastolic_mm_hg (<=72 0, >72 1) + iadl (26-29 0, 10-25 1) + ldh (ldh_u_l > 0.74 * ldh_uln_u_l 2 else 0; empty 1-point column) + chemotox (0-0.44 0, 0.45-0.57 1, >0.57 2); max 6; nonhematologic = ecog (0 → 0, 1-2 → 1, 3-4 → 2) + mms (30 → 0, <30 → 2) + mna (28-30 → 0, <28 → 2) + chemotox (same); max 8; combined = hematologic + nonhematologic - chemotox (count Chemotox once; max 12 not 14); H 0-1 low 7%, 2-3 medium_low 23%, 4-5 medium_high 54%, 6 high 100%; NH 0-2 low 33%, 3-4 medium_low 46%, 5-6 medium_high 67%, 7-8 high 93%; combined 0-3 low 50%, 4-6 medium_low 58%, 7-9 medium_high 77%, 10-12 high 79%; not trauma CRASH; not CARG-TT; Chemotox is caller-assigned MAX2","hematologic_incidence_percent":54,"hematologic_risk":"medium_high","hematologic_score":5,"iadl":20,"ldh_u_l":500,"ldh_uln_u_l":618,"max_combined_score":12,"max_hematologic_score":6,"max_nonhematologic_score":8,"mms":28,"mna":26,"nonhematologic_incidence_percent":67,"nonhematologic_risk":"medium_high","nonhematologic_score":6},{"chemotox":0.5,"citation":{"authors":"Extermann M, Boler I, Reich RR, et al.","doi":"10.1002/cncr.26646","id":"extermann-2012","pmid":"22072065","source":"Cancer. 2012;118(13):3377-3386","title":"Predicting the risk of chemotherapy toxicity in older patients: the Chemotherapy Risk Assessment Scale for High-Age Patients (CRASH) score"},"combined_incidence_percent":79,"combined_risk":"high","combined_score":10,"components":[{"factor":"diastolic_mm_hg","points":1,"present":true,"value":80},{"factor":"iadl","points":1,"present":true,"value":20},{"factor":"ldh","points":2,"present":true,"value":500},{"factor":"chemotox","points":1,"present":true,"value":0.5},{"factor":"ecog","points":1,"present":true,"value":1},{"factor":"mms","points":2,"present":true,"value":28},{"factor":"mna","points":2,"present":true,"value":26}],"diastolic_mm_hg":80,"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.","ecog":1,"formula":"crash","formula_expression":"CRASH (Extermann 2012 Table 4) hematologic = diastolic_mm_hg (<=72 0, >72 1) + iadl (26-29 0, 10-25 1) + ldh (ldh_u_l > 0.74 * ldh_uln_u_l 2 else 0; empty 1-point column) + chemotox (0-0.44 0, 0.45-0.57 1, >0.57 2); max 6; nonhematologic = ecog (0 → 0, 1-2 → 1, 3-4 → 2) + mms (30 → 0, <30 → 2) + mna (28-30 → 0, <28 → 2) + chemotox (same); max 8; combined = hematologic + nonhematologic - chemotox (count Chemotox once; max 12 not 14); H 0-1 low 7%, 2-3 medium_low 23%, 4-5 medium_high 54%, 6 high 100%; NH 0-2 low 33%, 3-4 medium_low 46%, 5-6 medium_high 67%, 7-8 high 93%; combined 0-3 low 50%, 4-6 medium_low 58%, 7-9 medium_high 77%, 10-12 high 79%; not trauma CRASH; not CARG-TT; Chemotox is caller-assigned MAX2","hematologic_incidence_percent":54,"hematologic_risk":"medium_high","hematologic_score":5,"iadl":20,"ldh_u_l":500,"ldh_uln_u_l":618,"max_combined_score":12,"max_hematologic_score":6,"max_nonhematologic_score":8,"mms":28,"mna":26,"nonhematologic_incidence_percent":67,"nonhematologic_risk":"medium_high","nonhematologic_score":6}],"path":"/api/calc/crash"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chemotox":{"description":"Caller-assigned MAX2 Chemotox from 0 to 1. 0-0.44 → 0, 0.45-0.57 → 1, >0.57 → 2. Counted once in the combined score. magent does not look up regimens.","type":"number"},"diastolic_mm_hg":{"description":"Diastolic blood pressure in mm Hg (20-160). Extermann 2012 Table 4: ≤72 → 0, >72 → 1 hematologic point. magent does not measure blood pressure.","type":"number"},"ecog":{"description":"ECOG performance status integer 0-4. Extermann 2012: 0 → 0, 1-2 → 1, 3-4 → 2 nonhematologic points. magent does not assign performance status.","type":"integer"},"iadl":{"description":"Instrumental activities of daily living integer 10-29 (Extermann 2012 CRASH IADL). 26-29 → 0, 10-25 → 1 hematologic point. magent does not interview the patient.","type":"integer"},"ldh_u_l":{"description":"Lactate dehydrogenase in U/L (1-20000). +2 hematologic points if ldh_u_l > 0.74 × ldh_uln_u_l, else 0 (empty 1-point column). magent does not assay LDH.","type":"number"},"ldh_uln_u_l":{"description":"Laboratory LDH upper limit of normal in U/L (50-2000). Used only as 0.74 × ULN for the LDH rule. No special-case ULN value. magent does not assay LDH.","type":"number"},"mms":{"description":"Mini-Mental Status integer 0-30. Extermann 2012: 30 → 0, <30 → 2 nonhematologic points. magent does not administer the Mini-Mental Status.","type":"integer"},"mna":{"description":"Mini-Nutritional Assessment integer 0-30. Extermann 2012: 28-30 → 0, <28 → 2 nonhematologic points. magent does not administer the Mini-Nutritional Assessment.","type":"integer"}},"required":["diastolic_mm_hg","iadl","ldh_u_l","ldh_uln_u_l","chemotox","ecog","mms","mna"],"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},{"id":39233,"slug":"39233","resource":"https://api.magentlab.com/api/calc/corrected_sodium","description":"Sodium correction for hyperglycemia (Katz 1.6 or Hillier 2.4). formula is required; magent does not pick one silently. Deterministic published correction with citation; not a treatment recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"formula":"katz","glucose_mg_dl":400,"glucose_mmol_l":20,"sodium_mmol_l":125},{"formula":"katz","glucose_mg_dl":400,"glucose_mmol_l":20,"sodium_mmol_l":125}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Katz MA","doi":"10.1056/NEJM197310182891607","id":"katz-1973","source":"N Engl J Med. 1973;289(16):843-844","title":"Hyperglycemia-induced hyponatremia — calculation of expected serum sodium depression"},"corrected_sodium_mmol_l":129.8,"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.","factor":1.6,"formula":"katz","formula_expression":"corrected_na_mmol_l = sodium_mmol_l + 1.6 * (glucose_mg_dl - 100) / 100","glucose_mg_dl":400,"sodium_mmol_l":125},{"citation":{"authors":"Katz MA","doi":"10.1056/NEJM197310182891607","id":"katz-1973","source":"N Engl J Med. 1973;289(16):843-844","title":"Hyperglycemia-induced hyponatremia — calculation of expected serum sodium depression"},"corrected_sodium_mmol_l":129.8,"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.","factor":1.6,"formula":"katz","formula_expression":"corrected_na_mmol_l = sodium_mmol_l + 1.6 * (glucose_mg_dl - 100) / 100","glucose_mg_dl":400,"sodium_mmol_l":125}],"path":"/api/calc/corrected_sodium"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"formula":{"description":"Correction factor. Required; magent does not pick one silently.","enum":["katz","hillier"],"type":"string"},"glucose_mg_dl":{"description":"Plasma glucose in mg/dL (50-1000). Provide this or glucose_mmol_l.","type":"number"},"glucose_mmol_l":{"description":"Plasma glucose in mmol/L (2.8-55.5). Converted as mg/dL = mmol/L * 18.015.","type":"number"},"sodium_mmol_l":{"description":"Measured serum sodium in mmol/L (110-160).","type":"number"}},"required":["sodium_mmol_l","formula"],"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":["corrected-sodium","hyperglycemia","katz","hillier","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:01:23.857Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:01:23.302Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"formula":"katz","glucose_mg_dl":400,"glucose_mmol_l":20,"sodium_mmol_l":125},{"formula":"katz","glucose_mg_dl":400,"glucose_mmol_l":20,"sodium_mmol_l":125}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Katz MA","doi":"10.1056/NEJM197310182891607","id":"katz-1973","source":"N Engl J Med. 1973;289(16):843-844","title":"Hyperglycemia-induced hyponatremia — calculation of expected serum sodium depression"},"corrected_sodium_mmol_l":129.8,"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.","factor":1.6,"formula":"katz","formula_expression":"corrected_na_mmol_l = sodium_mmol_l + 1.6 * (glucose_mg_dl - 100) / 100","glucose_mg_dl":400,"sodium_mmol_l":125},{"citation":{"authors":"Katz MA","doi":"10.1056/NEJM197310182891607","id":"katz-1973","source":"N Engl J Med. 1973;289(16):843-844","title":"Hyperglycemia-induced hyponatremia — calculation of expected serum sodium depression"},"corrected_sodium_mmol_l":129.8,"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.","factor":1.6,"formula":"katz","formula_expression":"corrected_na_mmol_l = sodium_mmol_l + 1.6 * (glucose_mg_dl - 100) / 100","glucose_mg_dl":400,"sodium_mmol_l":125}],"path":"/api/calc/corrected_sodium"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"formula":{"description":"Correction factor. Required; magent does not pick one silently.","enum":["katz","hillier"],"type":"string"},"glucose_mg_dl":{"description":"Plasma glucose in mg/dL (50-1000). Provide this or glucose_mmol_l.","type":"number"},"glucose_mmol_l":{"description":"Plasma glucose in mmol/L (2.8-55.5). Converted as mg/dL = mmol/L * 18.015.","type":"number"},"sodium_mmol_l":{"description":"Measured serum sodium in mmol/L (110-160).","type":"number"}},"required":["sodium_mmol_l","formula"],"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},{"id":39234,"slug":"39234","resource":"https://api.magentlab.com/api/calc/corrected_calcium","description":"Payne albumin-corrected calcium from total calcium and albumin. Deterministic published formula with citation; not a treatment recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":3,"albumin_g_l":30,"calcium_mg_dl":8,"calcium_mmol_l":2},{"albumin_g_dl":3,"albumin_g_l":30,"calcium_mg_dl":8,"calcium_mmol_l":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":3,"calcium_mg_dl":8,"citation":{"authors":"Payne RB, Little AJ, Williams RB, Milner JR","doi":"10.1136/bmj.4.5893.643","id":"payne-1973","source":"Br Med J. 1973;4(5893):643-646","title":"Interpretation of serum calcium in patients with abnormal serum proteins"},"corrected_calcium_mg_dl":8.8,"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":"payne","formula_expression":"corrected_ca_mg_dl = calcium_mg_dl + 0.8 * (4.0 - albumin_g_dl)"},{"albumin_g_dl":3,"calcium_mg_dl":8,"citation":{"authors":"Payne RB, Little AJ, Williams RB, Milner JR","doi":"10.1136/bmj.4.5893.643","id":"payne-1973","source":"Br Med J. 1973;4(5893):643-646","title":"Interpretation of serum calcium in patients with abnormal serum proteins"},"corrected_calcium_mg_dl":8.8,"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":"payne","formula_expression":"corrected_ca_mg_dl = calcium_mg_dl + 0.8 * (4.0 - albumin_g_dl)"}],"path":"/api/calc/corrected_calcium"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide this or albumin_g_l.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L. Converted as g/dL = g/L / 10.","type":"number"},"calcium_mg_dl":{"description":"Total calcium in mg/dL (4-16). Provide this or calcium_mmol_l.","type":"number"},"calcium_mmol_l":{"description":"Total calcium in mmol/L. Converted as mg/dL = mmol/L * 4.0.","type":"number"}},"required":[],"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":["calcium","albumin","payne","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:01:22.016Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:01:21.231Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":3,"albumin_g_l":30,"calcium_mg_dl":8,"calcium_mmol_l":2},{"albumin_g_dl":3,"albumin_g_l":30,"calcium_mg_dl":8,"calcium_mmol_l":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":3,"calcium_mg_dl":8,"citation":{"authors":"Payne RB, Little AJ, Williams RB, Milner JR","doi":"10.1136/bmj.4.5893.643","id":"payne-1973","source":"Br Med J. 1973;4(5893):643-646","title":"Interpretation of serum calcium in patients with abnormal serum proteins"},"corrected_calcium_mg_dl":8.8,"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":"payne","formula_expression":"corrected_ca_mg_dl = calcium_mg_dl + 0.8 * (4.0 - albumin_g_dl)"},{"albumin_g_dl":3,"calcium_mg_dl":8,"citation":{"authors":"Payne RB, Little AJ, Williams RB, Milner JR","doi":"10.1136/bmj.4.5893.643","id":"payne-1973","source":"Br Med J. 1973;4(5893):643-646","title":"Interpretation of serum calcium in patients with abnormal serum proteins"},"corrected_calcium_mg_dl":8.8,"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":"payne","formula_expression":"corrected_ca_mg_dl = calcium_mg_dl + 0.8 * (4.0 - albumin_g_dl)"}],"path":"/api/calc/corrected_calcium"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide this or albumin_g_l.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L. Converted as g/dL = g/L / 10.","type":"number"},"calcium_mg_dl":{"description":"Total calcium in mg/dL (4-16). Provide this or calcium_mmol_l.","type":"number"},"calcium_mmol_l":{"description":"Total calcium in mmol/L. Converted as mg/dL = mmol/L * 4.0.","type":"number"}},"required":[],"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},{"id":39235,"slug":"39235","resource":"https://api.magentlab.com/api/calc/ckid_u25","description":"CKiD U25 eGFR (Pierce 2021) for ages 1-25: age- and sex-dependent K times height in meters over creatinine (mg/dL), or K over cystatin C (mg/L), or the average of both when both markers are given. Height may be cm or inches; creatinine may be mg/dL or µmol/L. Not the Schwartz 2009 bedside 0.413 formula, not a drug dose, and not a CKD stage. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":10,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"cystatin_c_mg_l":1,"height_cm":140,"height_in":55.1181,"sex":"male"},{"age_years":10,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"cystatin_c_mg_l":1,"height_cm":140,"height_in":55.1181,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":10,"citation":{"authors":"Pierce CB, Muñoz A, Ng DK, Warady BA, Furth SL, Schwartz GJ","doi":"10.1016/j.kint.2020.10.047","id":"pierce-2021-ckid-u25","pmid":"33301749","source":"Kidney Int. 2021;99(4):948-956","title":"Age- and sex-dependent clinical equations to estimate glomerular filtration rates in children and young adults with chronic kidney disease"},"creatinine_mg_dl":1,"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.","egfr_ml_min_1_73m2":53.7,"formula":"ckid_u25_cr","formula_expression":"egfr_cr = K_cr * (height_m / creatinine_mg_dl); egfr_cys = K_cys * (1 / cystatin_c_mg_l); combined = (egfr_cr + egfr_cys) / 2 when both markers; K_cr and K_cys are Pierce 2021 Table 2 age-dependent (not constant-K models); height in meters; ages 1-25","height_cm":140,"k_cr":38.3834,"sex":"male","units":"mL/min/1.73m2"},{"age_years":10,"citation":{"authors":"Pierce CB, Muñoz A, Ng DK, Warady BA, Furth SL, Schwartz GJ","doi":"10.1016/j.kint.2020.10.047","id":"pierce-2021-ckid-u25","pmid":"33301749","source":"Kidney Int. 2021;99(4):948-956","title":"Age- and sex-dependent clinical equations to estimate glomerular filtration rates in children and young adults with chronic kidney disease"},"creatinine_mg_dl":1,"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.","egfr_ml_min_1_73m2":53.7,"formula":"ckid_u25_cr","formula_expression":"egfr_cr = K_cr * (height_m / creatinine_mg_dl); egfr_cys = K_cys * (1 / cystatin_c_mg_l); combined = (egfr_cr + egfr_cys) / 2 when both markers; K_cr and K_cys are Pierce 2021 Table 2 age-dependent (not constant-K models); height in meters; ages 1-25","height_cm":140,"k_cr":38.3834,"sex":"male","units":"mL/min/1.73m2"}],"path":"/api/calc/ckid_u25"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (1-25, fractional ages allowed). Pierce 2021 CKiD U25 age-dependent K is evaluated at that age. Not the adult 18-120 clamp.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Required with height for the creatinine or combined path. Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"cystatin_c_mg_l":{"description":"Serum cystatin C in mg/L (0.2-10). Required for the cystatin-only or combined path. Height is not required when this is the only marker.","type":"number"},"height_cm":{"description":"Height in centimeters (50-250). Required with creatinine for the creatinine or combined path. Converted to meters in the equation. Provide height_cm or height_in. Not required for cystatin-only.","type":"number"},"height_in":{"description":"Height in inches (20-98). Converted as cm = in * 2.54.","type":"number"},"sex":{"description":"Sex used by Pierce 2021 Table 2 K. female or male.","enum":["female","male"],"type":"string"}},"required":["age_years","sex"],"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":["ckid-u25","pediatric","kidney","egfr","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T02:01:20.416Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T02:01:19.868Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":10,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"cystatin_c_mg_l":1,"height_cm":140,"height_in":55.1181,"sex":"male"},{"age_years":10,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"cystatin_c_mg_l":1,"height_cm":140,"height_in":55.1181,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":10,"citation":{"authors":"Pierce CB, Muñoz A, Ng DK, Warady BA, Furth SL, Schwartz GJ","doi":"10.1016/j.kint.2020.10.047","id":"pierce-2021-ckid-u25","pmid":"33301749","source":"Kidney Int. 2021;99(4):948-956","title":"Age- and sex-dependent clinical equations to estimate glomerular filtration rates in children and young adults with chronic kidney disease"},"creatinine_mg_dl":1,"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.","egfr_ml_min_1_73m2":53.7,"formula":"ckid_u25_cr","formula_expression":"egfr_cr = K_cr * (height_m / creatinine_mg_dl); egfr_cys = K_cys * (1 / cystatin_c_mg_l); combined = (egfr_cr + egfr_cys) / 2 when both markers; K_cr and K_cys are Pierce 2021 Table 2 age-dependent (not constant-K models); height in meters; ages 1-25","height_cm":140,"k_cr":38.3834,"sex":"male","units":"mL/min/1.73m2"},{"age_years":10,"citation":{"authors":"Pierce CB, Muñoz A, Ng DK, Warady BA, Furth SL, Schwartz GJ","doi":"10.1016/j.kint.2020.10.047","id":"pierce-2021-ckid-u25","pmid":"33301749","source":"Kidney Int. 2021;99(4):948-956","title":"Age- and sex-dependent clinical equations to estimate glomerular filtration rates in children and young adults with chronic kidney disease"},"creatinine_mg_dl":1,"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.","egfr_ml_min_1_73m2":53.7,"formula":"ckid_u25_cr","formula_expression":"egfr_cr = K_cr * (height_m / creatinine_mg_dl); egfr_cys = K_cys * (1 / cystatin_c_mg_l); combined = (egfr_cr + egfr_cys) / 2 when both markers; K_cr and K_cys are Pierce 2021 Table 2 age-dependent (not constant-K models); height in meters; ages 1-25","height_cm":140,"k_cr":38.3834,"sex":"male","units":"mL/min/1.73m2"}],"path":"/api/calc/ckid_u25"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (1-25, fractional ages allowed). Pierce 2021 CKiD U25 age-dependent K is evaluated at that age. Not the adult 18-120 clamp.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Required with height for the creatinine or combined path. Provide this or creatinine_umol_l.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"cystatin_c_mg_l":{"description":"Serum cystatin C in mg/L (0.2-10). Required for the cystatin-only or combined path. Height is not required when this is the only marker.","type":"number"},"height_cm":{"description":"Height in centimeters (50-250). Required with creatinine for the creatinine or combined path. Converted to meters in the equation. Provide height_cm or height_in. Not required for cystatin-only.","type":"number"},"height_in":{"description":"Height in inches (20-98). Converted as cm = in * 2.54.","type":"number"},"sex":{"description":"Sex used by Pierce 2021 Table 2 K. female or male.","enum":["female","male"],"type":"string"}},"required":["age_years","sex"],"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},{"id":39236,"slug":"39236","resource":"https://api.magentlab.com/api/calc/ciwa_b","description":"Busto 1989 CIWA-B: twenty caller-assigned 0-4 items summed (max 80). Optional hours of sleep and minutes to fall asleep are recorded only and are not in the total. magent does not observe the patient and does not apply later mild-to-very-severe manuals. Not a benzodiazepine prescription and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anxiety":0,"appetite":0,"concentration":0,"enough_sleep":0,"fatigue":0,"fear":0,"headache":0,"hours_of_sleep":8,"irritability":0,"minutes_to_fall_asleep":15,"muscle_aches":0,"numbness":0,"palpitations":0,"restlessness":0,"sleep_restfulness":0,"sweating":0,"tension":0,"tremor":0,"upset":0,"visual_disturbances":0,"weakness":0,"worry":0},{"anxiety":0,"appetite":0,"concentration":0,"enough_sleep":0,"fatigue":0,"fear":0,"headache":0,"hours_of_sleep":8,"irritability":0,"minutes_to_fall_asleep":15,"muscle_aches":0,"numbness":0,"palpitations":0,"restlessness":0,"sleep_restfulness":0,"sweating":0,"tension":0,"tremor":0,"upset":0,"visual_disturbances":0,"weakness":0,"worry":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Busto UE, Sykora K, Sellers EM","doi":"10.1097/00004714-198912000-00005","id":"busto-1989","pmid":"2574193","source":"J Clin Psychopharmacol. 1989;9(6):412-416","title":"A clinical scale to assess benzodiazepine withdrawal"},"components":[{"factor":"restlessness","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"irritability","points":0,"present":true,"value":0},{"factor":"fatigue","points":0,"present":true,"value":0},{"factor":"tension","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0},{"factor":"numbness","points":0,"present":true,"value":0},{"factor":"palpitations","points":0,"present":true,"value":0},{"factor":"headache","points":0,"present":true,"value":0},{"factor":"muscle_aches","points":0,"present":true,"value":0},{"factor":"anxiety","points":0,"present":true,"value":0},{"factor":"upset","points":0,"present":true,"value":0},{"factor":"sleep_restfulness","points":0,"present":true,"value":0},{"factor":"weakness","points":0,"present":true,"value":0},{"factor":"enough_sleep","points":0,"present":true,"value":0},{"factor":"visual_disturbances","points":0,"present":true,"value":0},{"factor":"fear","points":0,"present":true,"value":0},{"factor":"worry","points":0,"present":true,"value":0}],"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":"ciwa_b","formula_expression":"CIWA-B = restlessness + tremor + sweating + irritability + fatigue + tension + concentration + appetite + numbness + palpitations + headache + muscle_aches + anxiety + upset + sleep_restfulness + weakness + enough_sleep + visual_disturbances + fear + worry; each caller-assigned 0-4; max 80; Busto 1989; hours_of_sleep and minutes_to_fall_asleep recorded only, not in the total; no published total-score severity bands","max_score":80,"score":0},{"citation":{"authors":"Busto UE, Sykora K, Sellers EM","doi":"10.1097/00004714-198912000-00005","id":"busto-1989","pmid":"2574193","source":"J Clin Psychopharmacol. 1989;9(6):412-416","title":"A clinical scale to assess benzodiazepine withdrawal"},"components":[{"factor":"restlessness","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"irritability","points":0,"present":true,"value":0},{"factor":"fatigue","points":0,"present":true,"value":0},{"factor":"tension","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0},{"factor":"numbness","points":0,"present":true,"value":0},{"factor":"palpitations","points":0,"present":true,"value":0},{"factor":"headache","points":0,"present":true,"value":0},{"factor":"muscle_aches","points":0,"present":true,"value":0},{"factor":"anxiety","points":0,"present":true,"value":0},{"factor":"upset","points":0,"present":true,"value":0},{"factor":"sleep_restfulness","points":0,"present":true,"value":0},{"factor":"weakness","points":0,"present":true,"value":0},{"factor":"enough_sleep","points":0,"present":true,"value":0},{"factor":"visual_disturbances","points":0,"present":true,"value":0},{"factor":"fear","points":0,"present":true,"value":0},{"factor":"worry","points":0,"present":true,"value":0}],"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":"ciwa_b","formula_expression":"CIWA-B = restlessness + tremor + sweating + irritability + fatigue + tension + concentration + appetite + numbness + palpitations + headache + muscle_aches + anxiety + upset + sleep_restfulness + weakness + enough_sleep + visual_disturbances + fear + worry; each caller-assigned 0-4; max 80; Busto 1989; hours_of_sleep and minutes_to_fall_asleep recorded only, not in the total; no published total-score severity bands","max_score":80,"score":0}],"path":"/api/calc/ciwa_b"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anxiety":{"description":"Caller-assigned Busto 1989 anxious, nervous, or jittery (integer 0-4). magent does not observe the patient.","type":"integer"},"appetite":{"description":"Caller-assigned Busto 1989 loss of appetite (integer 0-4). magent does not observe the patient.","type":"integer"},"concentration":{"description":"Caller-assigned Busto 1989 difficulty concentrating (integer 0-4). magent does not observe the patient.","type":"integer"},"enough_sleep":{"description":"Caller-assigned Busto 1989 whether you had enough sleep last night (integer 0-4). magent does not observe the patient.","type":"integer"},"fatigue":{"description":"Caller-assigned Busto 1989 fatigue (Do you feel fatigued / tired?; integer 0-4). magent does not observe the patient.","type":"integer"},"fear":{"description":"Caller-assigned Busto 1989 fear (Are you fearful?; integer 0-4). magent does not observe the patient.","type":"integer"},"headache":{"description":"Caller-assigned Busto 1989 head full or achy (integer 0-4). magent does not observe the patient.","type":"integer"},"hours_of_sleep":{"description":"Optional Busto 1989 recorded hours of sleep last night (integer 0-24). Not added to the CIWA-B total. magent does not observe the patient.","type":"integer"},"irritability":{"description":"Caller-assigned Busto 1989 irritability (Do you feel irritable?; integer 0-4). magent does not observe the patient.","type":"integer"},"minutes_to_fall_asleep":{"description":"Optional Busto 1989 recorded minutes to fall asleep last night (integer 0-1440). Not added to the CIWA-B total. magent does not observe the patient.","type":"integer"},"muscle_aches":{"description":"Caller-assigned Busto 1989 muscle aches or stiffness (integer 0-4). magent does not observe the patient.","type":"integer"},"numbness":{"description":"Caller-assigned Busto 1989 numbness or burning in the face, hands, or feet (integer 0-4). magent does not observe the patient.","type":"integer"},"palpitations":{"description":"Caller-assigned Busto 1989 heart racing / palpitations (integer 0-4). magent does not observe the patient.","type":"integer"},"restlessness":{"description":"Caller-assigned Busto 1989 observation of restlessness and agitation (integer 0-4). magent does not observe the patient.","type":"integer"},"sleep_restfulness":{"description":"Caller-assigned Busto 1989 how restful was your sleep last night (integer 0-4). magent does not observe the patient.","type":"integer"},"sweating":{"description":"Caller-assigned Busto 1989 sweating, including palms (integer 0-4). magent does not observe the patient.","type":"integer"},"tension":{"description":"Caller-assigned Busto 1989 tension (Do you feel tense?; integer 0-4). magent does not observe the patient.","type":"integer"},"tremor":{"description":"Caller-assigned Busto 1989 tremor with arms extended and fingers apart (integer 0-4). magent does not observe the patient.","type":"integer"},"upset":{"description":"Caller-assigned Busto 1989 upset (Do you feel upset?; integer 0-4). magent does not observe the patient.","type":"integer"},"visual_disturbances":{"description":"Caller-assigned Busto 1989 visual disturbances (sensitivity to light, blurred vision; integer 0-4). magent does not observe the patient.","type":"integer"},"weakness":{"description":"Caller-assigned Busto 1989 weakness (Do you feel weak?; integer 0-4). magent does not observe the patient.","type":"integer"},"worry":{"description":"Caller-assigned Busto 1989 worrying about possible misfortunes lately (integer 0-4). magent does not observe the patient.","type":"integer"}},"required":["restlessness","tremor","sweating","irritability","fatigue","tension","concentration","appetite","numbness","palpitations","headache","muscle_aches","anxiety","upset","sleep_restfulness","weakness","enough_sleep","visual_disturbances","fear","worry"],"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":["ciwa-b","benzodiazepine","withdrawal","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:56:33.532Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:56:33.342Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anxiety":0,"appetite":0,"concentration":0,"enough_sleep":0,"fatigue":0,"fear":0,"headache":0,"hours_of_sleep":8,"irritability":0,"minutes_to_fall_asleep":15,"muscle_aches":0,"numbness":0,"palpitations":0,"restlessness":0,"sleep_restfulness":0,"sweating":0,"tension":0,"tremor":0,"upset":0,"visual_disturbances":0,"weakness":0,"worry":0},{"anxiety":0,"appetite":0,"concentration":0,"enough_sleep":0,"fatigue":0,"fear":0,"headache":0,"hours_of_sleep":8,"irritability":0,"minutes_to_fall_asleep":15,"muscle_aches":0,"numbness":0,"palpitations":0,"restlessness":0,"sleep_restfulness":0,"sweating":0,"tension":0,"tremor":0,"upset":0,"visual_disturbances":0,"weakness":0,"worry":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Busto UE, Sykora K, Sellers EM","doi":"10.1097/00004714-198912000-00005","id":"busto-1989","pmid":"2574193","source":"J Clin Psychopharmacol. 1989;9(6):412-416","title":"A clinical scale to assess benzodiazepine withdrawal"},"components":[{"factor":"restlessness","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"irritability","points":0,"present":true,"value":0},{"factor":"fatigue","points":0,"present":true,"value":0},{"factor":"tension","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0},{"factor":"numbness","points":0,"present":true,"value":0},{"factor":"palpitations","points":0,"present":true,"value":0},{"factor":"headache","points":0,"present":true,"value":0},{"factor":"muscle_aches","points":0,"present":true,"value":0},{"factor":"anxiety","points":0,"present":true,"value":0},{"factor":"upset","points":0,"present":true,"value":0},{"factor":"sleep_restfulness","points":0,"present":true,"value":0},{"factor":"weakness","points":0,"present":true,"value":0},{"factor":"enough_sleep","points":0,"present":true,"value":0},{"factor":"visual_disturbances","points":0,"present":true,"value":0},{"factor":"fear","points":0,"present":true,"value":0},{"factor":"worry","points":0,"present":true,"value":0}],"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":"ciwa_b","formula_expression":"CIWA-B = restlessness + tremor + sweating + irritability + fatigue + tension + concentration + appetite + numbness + palpitations + headache + muscle_aches + anxiety + upset + sleep_restfulness + weakness + enough_sleep + visual_disturbances + fear + worry; each caller-assigned 0-4; max 80; Busto 1989; hours_of_sleep and minutes_to_fall_asleep recorded only, not in the total; no published total-score severity bands","max_score":80,"score":0},{"citation":{"authors":"Busto UE, Sykora K, Sellers EM","doi":"10.1097/00004714-198912000-00005","id":"busto-1989","pmid":"2574193","source":"J Clin Psychopharmacol. 1989;9(6):412-416","title":"A clinical scale to assess benzodiazepine withdrawal"},"components":[{"factor":"restlessness","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"irritability","points":0,"present":true,"value":0},{"factor":"fatigue","points":0,"present":true,"value":0},{"factor":"tension","points":0,"present":true,"value":0},{"factor":"concentration","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0},{"factor":"numbness","points":0,"present":true,"value":0},{"factor":"palpitations","points":0,"present":true,"value":0},{"factor":"headache","points":0,"present":true,"value":0},{"factor":"muscle_aches","points":0,"present":true,"value":0},{"factor":"anxiety","points":0,"present":true,"value":0},{"factor":"upset","points":0,"present":true,"value":0},{"factor":"sleep_restfulness","points":0,"present":true,"value":0},{"factor":"weakness","points":0,"present":true,"value":0},{"factor":"enough_sleep","points":0,"present":true,"value":0},{"factor":"visual_disturbances","points":0,"present":true,"value":0},{"factor":"fear","points":0,"present":true,"value":0},{"factor":"worry","points":0,"present":true,"value":0}],"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":"ciwa_b","formula_expression":"CIWA-B = restlessness + tremor + sweating + irritability + fatigue + tension + concentration + appetite + numbness + palpitations + headache + muscle_aches + anxiety + upset + sleep_restfulness + weakness + enough_sleep + visual_disturbances + fear + worry; each caller-assigned 0-4; max 80; Busto 1989; hours_of_sleep and minutes_to_fall_asleep recorded only, not in the total; no published total-score severity bands","max_score":80,"score":0}],"path":"/api/calc/ciwa_b"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anxiety":{"description":"Caller-assigned Busto 1989 anxious, nervous, or jittery (integer 0-4). magent does not observe the patient.","type":"integer"},"appetite":{"description":"Caller-assigned Busto 1989 loss of appetite (integer 0-4). magent does not observe the patient.","type":"integer"},"concentration":{"description":"Caller-assigned Busto 1989 difficulty concentrating (integer 0-4). magent does not observe the patient.","type":"integer"},"enough_sleep":{"description":"Caller-assigned Busto 1989 whether you had enough sleep last night (integer 0-4). magent does not observe the patient.","type":"integer"},"fatigue":{"description":"Caller-assigned Busto 1989 fatigue (Do you feel fatigued / tired?; integer 0-4). magent does not observe the patient.","type":"integer"},"fear":{"description":"Caller-assigned Busto 1989 fear (Are you fearful?; integer 0-4). magent does not observe the patient.","type":"integer"},"headache":{"description":"Caller-assigned Busto 1989 head full or achy (integer 0-4). magent does not observe the patient.","type":"integer"},"hours_of_sleep":{"description":"Optional Busto 1989 recorded hours of sleep last night (integer 0-24). Not added to the CIWA-B total. magent does not observe the patient.","type":"integer"},"irritability":{"description":"Caller-assigned Busto 1989 irritability (Do you feel irritable?; integer 0-4). magent does not observe the patient.","type":"integer"},"minutes_to_fall_asleep":{"description":"Optional Busto 1989 recorded minutes to fall asleep last night (integer 0-1440). Not added to the CIWA-B total. magent does not observe the patient.","type":"integer"},"muscle_aches":{"description":"Caller-assigned Busto 1989 muscle aches or stiffness (integer 0-4). magent does not observe the patient.","type":"integer"},"numbness":{"description":"Caller-assigned Busto 1989 numbness or burning in the face, hands, or feet (integer 0-4). magent does not observe the patient.","type":"integer"},"palpitations":{"description":"Caller-assigned Busto 1989 heart racing / palpitations (integer 0-4). magent does not observe the patient.","type":"integer"},"restlessness":{"description":"Caller-assigned Busto 1989 observation of restlessness and agitation (integer 0-4). magent does not observe the patient.","type":"integer"},"sleep_restfulness":{"description":"Caller-assigned Busto 1989 how restful was your sleep last night (integer 0-4). magent does not observe the patient.","type":"integer"},"sweating":{"description":"Caller-assigned Busto 1989 sweating, including palms (integer 0-4). magent does not observe the patient.","type":"integer"},"tension":{"description":"Caller-assigned Busto 1989 tension (Do you feel tense?; integer 0-4). magent does not observe the patient.","type":"integer"},"tremor":{"description":"Caller-assigned Busto 1989 tremor with arms extended and fingers apart (integer 0-4). magent does not observe the patient.","type":"integer"},"upset":{"description":"Caller-assigned Busto 1989 upset (Do you feel upset?; integer 0-4). magent does not observe the patient.","type":"integer"},"visual_disturbances":{"description":"Caller-assigned Busto 1989 visual disturbances (sensitivity to light, blurred vision; integer 0-4). magent does not observe the patient.","type":"integer"},"weakness":{"description":"Caller-assigned Busto 1989 weakness (Do you feel weak?; integer 0-4). magent does not observe the patient.","type":"integer"},"worry":{"description":"Caller-assigned Busto 1989 worrying about possible misfortunes lately (integer 0-4). magent does not observe the patient.","type":"integer"}},"required":["restlessness","tremor","sweating","irritability","fatigue","tension","concentration","appetite","numbness","palpitations","headache","muscle_aches","anxiety","upset","sleep_restfulness","weakness","enough_sleep","visual_disturbances","fear","worry"],"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},{"id":39237,"slug":"39237","resource":"https://api.magentlab.com/api/calc/ciwa_ar","description":"Sullivan 1989 CIWA-Ar (revised Clinical Institute Withdrawal Assessment for Alcohol). Ten caller-assigned integers: nausea/vomiting, tremor, paroxysmal sweats, anxiety, agitation, tactile, auditory, visual, and headache each 0-7; orientation 0-4 (not 0-7). Max 67. magent sums only and does not observe the patient or apply later protocol treatment cutoffs such as benzodiazepine orders. Not a diagnosis and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"agitation":0,"anxiety":0,"auditory":0,"headache":0,"nausea_vomiting":0,"orientation":0,"paroxysmal_sweats":0,"tactile":0,"tremor":0,"visual":0},{"agitation":0,"anxiety":0,"auditory":0,"headache":0,"nausea_vomiting":0,"orientation":0,"paroxysmal_sweats":0,"tactile":0,"tremor":0,"visual":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sullivan JT, Sykora K, Schneiderman J, Naranjo CA, Sellers EM","doi":"10.1111/j.1360-0443.1989.tb00737.x","id":"sullivan-1989","pmid":"2597811","source":"Br J Addict. 1989;84(11):1353-1357","title":"Assessment of alcohol withdrawal: the revised clinical institute withdrawal assessment for alcohol scale (CIWA-Ar)"},"components":[{"factor":"nausea_vomiting","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"paroxysmal_sweats","points":0,"present":true,"value":0},{"factor":"anxiety","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0},{"factor":"tactile","points":0,"present":true,"value":0},{"factor":"auditory","points":0,"present":true,"value":0},{"factor":"visual","points":0,"present":true,"value":0},{"factor":"headache","points":0,"present":true,"value":0},{"factor":"orientation","points":0,"present":true,"value":0}],"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":"ciwa_ar","formula_expression":"CIWA-Ar = nausea_vomiting + tremor + paroxysmal_sweats + anxiety + agitation + tactile + auditory + visual + headache + orientation; nine items 0-7, orientation 0-4; max 67","max_score":67,"score":0},{"citation":{"authors":"Sullivan JT, Sykora K, Schneiderman J, Naranjo CA, Sellers EM","doi":"10.1111/j.1360-0443.1989.tb00737.x","id":"sullivan-1989","pmid":"2597811","source":"Br J Addict. 1989;84(11):1353-1357","title":"Assessment of alcohol withdrawal: the revised clinical institute withdrawal assessment for alcohol scale (CIWA-Ar)"},"components":[{"factor":"nausea_vomiting","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"paroxysmal_sweats","points":0,"present":true,"value":0},{"factor":"anxiety","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0},{"factor":"tactile","points":0,"present":true,"value":0},{"factor":"auditory","points":0,"present":true,"value":0},{"factor":"visual","points":0,"present":true,"value":0},{"factor":"headache","points":0,"present":true,"value":0},{"factor":"orientation","points":0,"present":true,"value":0}],"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":"ciwa_ar","formula_expression":"CIWA-Ar = nausea_vomiting + tremor + paroxysmal_sweats + anxiety + agitation + tactile + auditory + visual + headache + orientation; nine items 0-7, orientation 0-4; max 67","max_score":67,"score":0}],"path":"/api/calc/ciwa_ar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"agitation":{"description":"Caller-assigned Sullivan 1989 agitation points (integer 0-7). magent does not observe the patient.","type":"integer"},"anxiety":{"description":"Caller-assigned Sullivan 1989 anxiety points (integer 0-7). magent does not observe the patient.","type":"integer"},"auditory":{"description":"Caller-assigned Sullivan 1989 auditory disturbances points (integer 0-7). magent does not observe the patient.","type":"integer"},"headache":{"description":"Caller-assigned Sullivan 1989 headache / fullness in head points (integer 0-7). magent does not observe the patient.","type":"integer"},"nausea_vomiting":{"description":"Caller-assigned Sullivan 1989 nausea and vomiting points (integer 0-7). magent does not observe the patient.","type":"integer"},"orientation":{"description":"Caller-assigned Sullivan 1989 orientation and clouding of sensorium (integer 0-4). This item is not 0-7. magent does not observe the patient.","type":"integer"},"paroxysmal_sweats":{"description":"Caller-assigned Sullivan 1989 paroxysmal sweats points (integer 0-7). magent does not observe the patient.","type":"integer"},"tactile":{"description":"Caller-assigned Sullivan 1989 tactile disturbances points (integer 0-7). magent does not observe the patient.","type":"integer"},"tremor":{"description":"Caller-assigned Sullivan 1989 tremor points (integer 0-7). magent does not observe the patient.","type":"integer"},"visual":{"description":"Caller-assigned Sullivan 1989 visual disturbances points (integer 0-7). magent does not observe the patient.","type":"integer"}},"required":["nausea_vomiting","tremor","paroxysmal_sweats","anxiety","agitation","tactile","auditory","visual","headache","orientation"],"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":["ciwa-ar","alcohol","withdrawal","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:56:31.7Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:56:31.556Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"agitation":0,"anxiety":0,"auditory":0,"headache":0,"nausea_vomiting":0,"orientation":0,"paroxysmal_sweats":0,"tactile":0,"tremor":0,"visual":0},{"agitation":0,"anxiety":0,"auditory":0,"headache":0,"nausea_vomiting":0,"orientation":0,"paroxysmal_sweats":0,"tactile":0,"tremor":0,"visual":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sullivan JT, Sykora K, Schneiderman J, Naranjo CA, Sellers EM","doi":"10.1111/j.1360-0443.1989.tb00737.x","id":"sullivan-1989","pmid":"2597811","source":"Br J Addict. 1989;84(11):1353-1357","title":"Assessment of alcohol withdrawal: the revised clinical institute withdrawal assessment for alcohol scale (CIWA-Ar)"},"components":[{"factor":"nausea_vomiting","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"paroxysmal_sweats","points":0,"present":true,"value":0},{"factor":"anxiety","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0},{"factor":"tactile","points":0,"present":true,"value":0},{"factor":"auditory","points":0,"present":true,"value":0},{"factor":"visual","points":0,"present":true,"value":0},{"factor":"headache","points":0,"present":true,"value":0},{"factor":"orientation","points":0,"present":true,"value":0}],"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":"ciwa_ar","formula_expression":"CIWA-Ar = nausea_vomiting + tremor + paroxysmal_sweats + anxiety + agitation + tactile + auditory + visual + headache + orientation; nine items 0-7, orientation 0-4; max 67","max_score":67,"score":0},{"citation":{"authors":"Sullivan JT, Sykora K, Schneiderman J, Naranjo CA, Sellers EM","doi":"10.1111/j.1360-0443.1989.tb00737.x","id":"sullivan-1989","pmid":"2597811","source":"Br J Addict. 1989;84(11):1353-1357","title":"Assessment of alcohol withdrawal: the revised clinical institute withdrawal assessment for alcohol scale (CIWA-Ar)"},"components":[{"factor":"nausea_vomiting","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"paroxysmal_sweats","points":0,"present":true,"value":0},{"factor":"anxiety","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0},{"factor":"tactile","points":0,"present":true,"value":0},{"factor":"auditory","points":0,"present":true,"value":0},{"factor":"visual","points":0,"present":true,"value":0},{"factor":"headache","points":0,"present":true,"value":0},{"factor":"orientation","points":0,"present":true,"value":0}],"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":"ciwa_ar","formula_expression":"CIWA-Ar = nausea_vomiting + tremor + paroxysmal_sweats + anxiety + agitation + tactile + auditory + visual + headache + orientation; nine items 0-7, orientation 0-4; max 67","max_score":67,"score":0}],"path":"/api/calc/ciwa_ar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"agitation":{"description":"Caller-assigned Sullivan 1989 agitation points (integer 0-7). magent does not observe the patient.","type":"integer"},"anxiety":{"description":"Caller-assigned Sullivan 1989 anxiety points (integer 0-7). magent does not observe the patient.","type":"integer"},"auditory":{"description":"Caller-assigned Sullivan 1989 auditory disturbances points (integer 0-7). magent does not observe the patient.","type":"integer"},"headache":{"description":"Caller-assigned Sullivan 1989 headache / fullness in head points (integer 0-7). magent does not observe the patient.","type":"integer"},"nausea_vomiting":{"description":"Caller-assigned Sullivan 1989 nausea and vomiting points (integer 0-7). magent does not observe the patient.","type":"integer"},"orientation":{"description":"Caller-assigned Sullivan 1989 orientation and clouding of sensorium (integer 0-4). This item is not 0-7. magent does not observe the patient.","type":"integer"},"paroxysmal_sweats":{"description":"Caller-assigned Sullivan 1989 paroxysmal sweats points (integer 0-7). magent does not observe the patient.","type":"integer"},"tactile":{"description":"Caller-assigned Sullivan 1989 tactile disturbances points (integer 0-7). magent does not observe the patient.","type":"integer"},"tremor":{"description":"Caller-assigned Sullivan 1989 tremor points (integer 0-7). magent does not observe the patient.","type":"integer"},"visual":{"description":"Caller-assigned Sullivan 1989 visual disturbances points (integer 0-7). magent does not observe the patient.","type":"integer"}},"required":["nausea_vomiting","tremor","paroxysmal_sweats","anxiety","agitation","tactile","auditory","visual","headache","orientation"],"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},{"id":39238,"slug":"39238","resource":"https://api.magentlab.com/api/calc/cirs_g","description":"Miller 1992 CIRS-G from 14 caller-assigned organ-system integers 0-4 (heart, vascular, hematopoietic, respiratory, EENT, upper GI, lower GI, liver, renal, genitourinary, musculoskeletal, neurologic, endocrine-metabolic, psychiatric). magent does not examine the patient. Total 0-56 plus count of categories rated ≥3. No total-score class. Not Charlson. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"eent":0,"endocrine_metabolic":0,"genitourinary":0,"heart":0,"hematopoietic":0,"liver":0,"lower_gi":0,"musculoskeletal":0,"neurologic":0,"psychiatric":0,"renal":0,"respiratory":0,"upper_gi":0,"vascular":0},{"eent":0,"endocrine_metabolic":0,"genitourinary":0,"heart":0,"hematopoietic":0,"liver":0,"lower_gi":0,"musculoskeletal":0,"neurologic":0,"psychiatric":0,"renal":0,"respiratory":0,"upper_gi":0,"vascular":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"categories_endorsed":0,"categories_ge_3":0,"citation":{"authors":"Miller MD, Paradis CF, Houck PR, et al.","doi":"10.1016/0165-1781(92)90005-N","id":"miller-1992","pmid":"1594710","source":"Psychiatry Res. 1992;41(3):237-248","title":"Rating chronic medical illness burden in geropsychiatric practice and research: application of the Cumulative Illness Rating Scale"},"components":[{"factor":"heart","points":0,"present":true,"value":0},{"factor":"vascular","points":0,"present":true,"value":0},{"factor":"hematopoietic","points":0,"present":true,"value":0},{"factor":"respiratory","points":0,"present":true,"value":0},{"factor":"eent","points":0,"present":true,"value":0},{"factor":"upper_gi","points":0,"present":true,"value":0},{"factor":"lower_gi","points":0,"present":true,"value":0},{"factor":"liver","points":0,"present":true,"value":0},{"factor":"renal","points":0,"present":true,"value":0},{"factor":"genitourinary","points":0,"present":true,"value":0},{"factor":"musculoskeletal","points":0,"present":true,"value":0},{"factor":"neurologic","points":0,"present":true,"value":0},{"factor":"endocrine_metabolic","points":0,"present":true,"value":0},{"factor":"psychiatric","points":0,"present":true,"value":0}],"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":"cirs_g","formula_expression":"CIRS-G = heart + vascular + hematopoietic + respiratory + eent + upper_gi + lower_gi + liver + renal + genitourinary + musculoskeletal + neurologic + endocrine_metabolic + psychiatric; each caller-assigned 0-4; max 56; Miller 1992; categories_endorsed is count of ratings ≥1; categories_ge_3 is count of ratings ≥3; no total-score class","max_score":56,"score":0},{"categories_endorsed":0,"categories_ge_3":0,"citation":{"authors":"Miller MD, Paradis CF, Houck PR, et al.","doi":"10.1016/0165-1781(92)90005-N","id":"miller-1992","pmid":"1594710","source":"Psychiatry Res. 1992;41(3):237-248","title":"Rating chronic medical illness burden in geropsychiatric practice and research: application of the Cumulative Illness Rating Scale"},"components":[{"factor":"heart","points":0,"present":true,"value":0},{"factor":"vascular","points":0,"present":true,"value":0},{"factor":"hematopoietic","points":0,"present":true,"value":0},{"factor":"respiratory","points":0,"present":true,"value":0},{"factor":"eent","points":0,"present":true,"value":0},{"factor":"upper_gi","points":0,"present":true,"value":0},{"factor":"lower_gi","points":0,"present":true,"value":0},{"factor":"liver","points":0,"present":true,"value":0},{"factor":"renal","points":0,"present":true,"value":0},{"factor":"genitourinary","points":0,"present":true,"value":0},{"factor":"musculoskeletal","points":0,"present":true,"value":0},{"factor":"neurologic","points":0,"present":true,"value":0},{"factor":"endocrine_metabolic","points":0,"present":true,"value":0},{"factor":"psychiatric","points":0,"present":true,"value":0}],"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":"cirs_g","formula_expression":"CIRS-G = heart + vascular + hematopoietic + respiratory + eent + upper_gi + lower_gi + liver + renal + genitourinary + musculoskeletal + neurologic + endocrine_metabolic + psychiatric; each caller-assigned 0-4; max 56; Miller 1992; categories_endorsed is count of ratings ≥1; categories_ge_3 is count of ratings ≥3; no total-score class","max_score":56,"score":0}],"path":"/api/calc/cirs_g"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"eent":{"description":"Caller-assigned Miller 1992 CIRS-G EENT — eyes, ears, nose, throat, and larynx (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"endocrine_metabolic":{"description":"Caller-assigned Miller 1992 CIRS-G endocrine/metabolic and breast (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"genitourinary":{"description":"Caller-assigned Miller 1992 CIRS-G genitourinary — ureters, bladder, urethra, prostate, genitals, uterus, ovaries (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"heart":{"description":"Caller-assigned Miller 1992 CIRS-G heart (integer 0-4: 0 no problem, 1 current mild or past significant, 2 moderate disability or first-line therapy, 3 severe or uncontrollable chronic, 4 extremely severe, immediate treatment, or end-organ failure). magent does not examine the patient.","type":"integer"},"hematopoietic":{"description":"Caller-assigned Miller 1992 CIRS-G hematopoietic — blood, marrow, spleen, lymphatics (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"liver":{"description":"Caller-assigned Miller 1992 CIRS-G liver — including biliary and pancreatic trees (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"lower_gi":{"description":"Caller-assigned Miller 1992 CIRS-G lower GI — intestines, hernias (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"musculoskeletal":{"description":"Caller-assigned Miller 1992 CIRS-G musculoskeletal/integument — muscles, bone, and skin (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"neurologic":{"description":"Caller-assigned Miller 1992 CIRS-G neurologic — brain, spinal cord, and nerves (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"psychiatric":{"description":"Caller-assigned Miller 1992 CIRS-G psychiatric illness (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"renal":{"description":"Caller-assigned Miller 1992 CIRS-G renal — kidneys only (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"respiratory":{"description":"Caller-assigned Miller 1992 CIRS-G respiratory — lungs, bronchi, trachea below the larynx (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"upper_gi":{"description":"Caller-assigned Miller 1992 CIRS-G upper GI — esophagus, stomach, duodenum (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"vascular":{"description":"Caller-assigned Miller 1992 CIRS-G vascular (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"}},"required":["heart","vascular","hematopoietic","respiratory","eent","upper_gi","lower_gi","liver","renal","genitourinary","musculoskeletal","neurologic","endocrine_metabolic","psychiatric"],"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":["cirs-g","comorbidity","geriatric","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:56:30.265Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:56:30.113Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"eent":0,"endocrine_metabolic":0,"genitourinary":0,"heart":0,"hematopoietic":0,"liver":0,"lower_gi":0,"musculoskeletal":0,"neurologic":0,"psychiatric":0,"renal":0,"respiratory":0,"upper_gi":0,"vascular":0},{"eent":0,"endocrine_metabolic":0,"genitourinary":0,"heart":0,"hematopoietic":0,"liver":0,"lower_gi":0,"musculoskeletal":0,"neurologic":0,"psychiatric":0,"renal":0,"respiratory":0,"upper_gi":0,"vascular":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"categories_endorsed":0,"categories_ge_3":0,"citation":{"authors":"Miller MD, Paradis CF, Houck PR, et al.","doi":"10.1016/0165-1781(92)90005-N","id":"miller-1992","pmid":"1594710","source":"Psychiatry Res. 1992;41(3):237-248","title":"Rating chronic medical illness burden in geropsychiatric practice and research: application of the Cumulative Illness Rating Scale"},"components":[{"factor":"heart","points":0,"present":true,"value":0},{"factor":"vascular","points":0,"present":true,"value":0},{"factor":"hematopoietic","points":0,"present":true,"value":0},{"factor":"respiratory","points":0,"present":true,"value":0},{"factor":"eent","points":0,"present":true,"value":0},{"factor":"upper_gi","points":0,"present":true,"value":0},{"factor":"lower_gi","points":0,"present":true,"value":0},{"factor":"liver","points":0,"present":true,"value":0},{"factor":"renal","points":0,"present":true,"value":0},{"factor":"genitourinary","points":0,"present":true,"value":0},{"factor":"musculoskeletal","points":0,"present":true,"value":0},{"factor":"neurologic","points":0,"present":true,"value":0},{"factor":"endocrine_metabolic","points":0,"present":true,"value":0},{"factor":"psychiatric","points":0,"present":true,"value":0}],"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":"cirs_g","formula_expression":"CIRS-G = heart + vascular + hematopoietic + respiratory + eent + upper_gi + lower_gi + liver + renal + genitourinary + musculoskeletal + neurologic + endocrine_metabolic + psychiatric; each caller-assigned 0-4; max 56; Miller 1992; categories_endorsed is count of ratings ≥1; categories_ge_3 is count of ratings ≥3; no total-score class","max_score":56,"score":0},{"categories_endorsed":0,"categories_ge_3":0,"citation":{"authors":"Miller MD, Paradis CF, Houck PR, et al.","doi":"10.1016/0165-1781(92)90005-N","id":"miller-1992","pmid":"1594710","source":"Psychiatry Res. 1992;41(3):237-248","title":"Rating chronic medical illness burden in geropsychiatric practice and research: application of the Cumulative Illness Rating Scale"},"components":[{"factor":"heart","points":0,"present":true,"value":0},{"factor":"vascular","points":0,"present":true,"value":0},{"factor":"hematopoietic","points":0,"present":true,"value":0},{"factor":"respiratory","points":0,"present":true,"value":0},{"factor":"eent","points":0,"present":true,"value":0},{"factor":"upper_gi","points":0,"present":true,"value":0},{"factor":"lower_gi","points":0,"present":true,"value":0},{"factor":"liver","points":0,"present":true,"value":0},{"factor":"renal","points":0,"present":true,"value":0},{"factor":"genitourinary","points":0,"present":true,"value":0},{"factor":"musculoskeletal","points":0,"present":true,"value":0},{"factor":"neurologic","points":0,"present":true,"value":0},{"factor":"endocrine_metabolic","points":0,"present":true,"value":0},{"factor":"psychiatric","points":0,"present":true,"value":0}],"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":"cirs_g","formula_expression":"CIRS-G = heart + vascular + hematopoietic + respiratory + eent + upper_gi + lower_gi + liver + renal + genitourinary + musculoskeletal + neurologic + endocrine_metabolic + psychiatric; each caller-assigned 0-4; max 56; Miller 1992; categories_endorsed is count of ratings ≥1; categories_ge_3 is count of ratings ≥3; no total-score class","max_score":56,"score":0}],"path":"/api/calc/cirs_g"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"eent":{"description":"Caller-assigned Miller 1992 CIRS-G EENT — eyes, ears, nose, throat, and larynx (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"endocrine_metabolic":{"description":"Caller-assigned Miller 1992 CIRS-G endocrine/metabolic and breast (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"genitourinary":{"description":"Caller-assigned Miller 1992 CIRS-G genitourinary — ureters, bladder, urethra, prostate, genitals, uterus, ovaries (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"heart":{"description":"Caller-assigned Miller 1992 CIRS-G heart (integer 0-4: 0 no problem, 1 current mild or past significant, 2 moderate disability or first-line therapy, 3 severe or uncontrollable chronic, 4 extremely severe, immediate treatment, or end-organ failure). magent does not examine the patient.","type":"integer"},"hematopoietic":{"description":"Caller-assigned Miller 1992 CIRS-G hematopoietic — blood, marrow, spleen, lymphatics (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"liver":{"description":"Caller-assigned Miller 1992 CIRS-G liver — including biliary and pancreatic trees (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"lower_gi":{"description":"Caller-assigned Miller 1992 CIRS-G lower GI — intestines, hernias (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"musculoskeletal":{"description":"Caller-assigned Miller 1992 CIRS-G musculoskeletal/integument — muscles, bone, and skin (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"neurologic":{"description":"Caller-assigned Miller 1992 CIRS-G neurologic — brain, spinal cord, and nerves (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"psychiatric":{"description":"Caller-assigned Miller 1992 CIRS-G psychiatric illness (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"renal":{"description":"Caller-assigned Miller 1992 CIRS-G renal — kidneys only (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"respiratory":{"description":"Caller-assigned Miller 1992 CIRS-G respiratory — lungs, bronchi, trachea below the larynx (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"upper_gi":{"description":"Caller-assigned Miller 1992 CIRS-G upper GI — esophagus, stomach, duodenum (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"},"vascular":{"description":"Caller-assigned Miller 1992 CIRS-G vascular (integer 0-4: 0 no problem through 4 extremely severe). magent does not examine the patient.","type":"integer"}},"required":["heart","vascular","hematopoietic","respiratory","eent","upper_gi","lower_gi","liver","renal","genitourinary","musculoskeletal","neurologic","endocrine_metabolic","psychiatric"],"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},{"id":39239,"slug":"39239","resource":"https://api.magentlab.com/api/calc/circ","description":"Garibaldi 2020 CIRC day-2/4/7 probability of severe disease or death from admission age, nursing-home residence, caller-assigned race term, Charlson CCI, BMI, symptoms, vitals, and listed laboratories. Appendix Table 1 coefficients on the printed reference cumulative incidences. Not a diagnosis, triage order, or the death-only Appendix Table 2 model.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":65,"albumin_g_dl":3.7,"alt_u_l":30,"bmi":30,"cci":0,"constitutional_symptoms":false,"crp_mg_dl":5.7,"d_dimer_gt_1":false,"ferritin_ng_ml":545,"fever":false,"gastrointestinal_symptoms":false,"gfr":71,"hemoglobin_g_dl":12.9,"leukocyte_k":6.8,"loss_of_taste_smell":false,"lymphocyte_k":1,"nursing_home":false,"pulse":85,"race":"white","respiratory_rate":21,"respiratory_symptoms":false,"sex":"female","troponin_detectable":false},{"age":65,"albumin_g_dl":3.7,"alt_u_l":30,"bmi":30,"cci":0,"constitutional_symptoms":false,"crp_mg_dl":5.7,"d_dimer_gt_1":false,"ferritin_ng_ml":545,"fever":false,"gastrointestinal_symptoms":false,"gfr":71,"hemoglobin_g_dl":12.9,"leukocyte_k":6.8,"loss_of_taste_smell":false,"lymphocyte_k":1,"nursing_home":false,"pulse":85,"race":"white","respiratory_rate":21,"respiratory_symptoms":false,"sex":"female","troponin_detectable":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":65,"age_band":"60_74","albumin_g_dl":3.7,"alt_u_l":30,"bmi":30,"cci":0,"citation":{"authors":"Garibaldi BT, Fiksel J, Muschelli J, et al.","doi":"10.7326/M20-3905","id":"garibaldi-2020-circ","pmid":"32960645","source":"Ann Intern Med. 2021;174(1):33-41","title":"Patient Trajectories Among Persons Hospitalized for COVID-19: A Cohort Study"},"constitutional_symptoms":false,"crp_mg_dl":5.7,"d_dimer_gt_1":false,"day_2_percent":10,"day_4_percent":13,"day_7_percent":15,"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.","ferritin_ng_ml":545,"fever":false,"formula":"circ","formula_expression":"delta = lp(x) - lp(x0); P(t) = 1-(1-P0(t))^exp(delta); Garibaldi 2020 Appendix Table 1 estimates; x0 White female age 60-74 not from a nursing home BMI 30 CCI 0 no symptoms no fever pulse 85 RR 21 leukocyte 6.8 ALC 1.0 ALT 30 albumin 3.7 GFR 71 CRP 5.7 hemoglobin 12.9 ferritin 545 troponin not detectable D-dimer not >1; P0 day2 0.10 day4 0.13 day7 0.15; age<60 -0.61 age>=75 -0.71; NH <75 -0.24 >=75 -0.22; male <60 0.31 60-74 -0.47 >=75 0.10; BMI per 5 0.17; Non-White vs White 0.08 (caller-assigned); CCI per 1 <60 0.19 60-74 -0.23 >=75 0.14; respiratory 0.81 GI -0.14 constitutional -0.57 taste/smell -0.30 fever>38.0 0.56; pulse per 10 -0.02; RR linear spline knot 18: <18 per unit -0.25, >=18 per unit 0.13; ln leukocyte -0.06 ln ALC -0.29 ln ALT 0.02; hemoglobin per 1 g/dL decrease 0.04; albumin per 0.5 g/dL decrease below 4 0.23; GFR per 10 -0.03; ln CRP 0.20 ln ferritin 0.11; troponin detectable <60 0.19 60-74 1.36 >=75 0.35; D-dimer >1 0.24; natural log; not Appendix Table 2 death-only; discharge competing-risk coefficients were not printed","gastrointestinal_symptoms":false,"gfr":71,"hemoglobin_g_dl":12.9,"leukocyte_k":6.8,"logit_delta":0,"loss_of_taste_smell":false,"lymphocyte_k":1,"nursing_home":false,"obesity":true,"pulse":85,"race":"white","respiratory_rate":21,"respiratory_symptoms":false,"sex":"female","troponin_detectable":false},{"age":65,"age_band":"60_74","albumin_g_dl":3.7,"alt_u_l":30,"bmi":30,"cci":0,"citation":{"authors":"Garibaldi BT, Fiksel J, Muschelli J, et al.","doi":"10.7326/M20-3905","id":"garibaldi-2020-circ","pmid":"32960645","source":"Ann Intern Med. 2021;174(1):33-41","title":"Patient Trajectories Among Persons Hospitalized for COVID-19: A Cohort Study"},"constitutional_symptoms":false,"crp_mg_dl":5.7,"d_dimer_gt_1":false,"day_2_percent":10,"day_4_percent":13,"day_7_percent":15,"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.","ferritin_ng_ml":545,"fever":false,"formula":"circ","formula_expression":"delta = lp(x) - lp(x0); P(t) = 1-(1-P0(t))^exp(delta); Garibaldi 2020 Appendix Table 1 estimates; x0 White female age 60-74 not from a nursing home BMI 30 CCI 0 no symptoms no fever pulse 85 RR 21 leukocyte 6.8 ALC 1.0 ALT 30 albumin 3.7 GFR 71 CRP 5.7 hemoglobin 12.9 ferritin 545 troponin not detectable D-dimer not >1; P0 day2 0.10 day4 0.13 day7 0.15; age<60 -0.61 age>=75 -0.71; NH <75 -0.24 >=75 -0.22; male <60 0.31 60-74 -0.47 >=75 0.10; BMI per 5 0.17; Non-White vs White 0.08 (caller-assigned); CCI per 1 <60 0.19 60-74 -0.23 >=75 0.14; respiratory 0.81 GI -0.14 constitutional -0.57 taste/smell -0.30 fever>38.0 0.56; pulse per 10 -0.02; RR linear spline knot 18: <18 per unit -0.25, >=18 per unit 0.13; ln leukocyte -0.06 ln ALC -0.29 ln ALT 0.02; hemoglobin per 1 g/dL decrease 0.04; albumin per 0.5 g/dL decrease below 4 0.23; GFR per 10 -0.03; ln CRP 0.20 ln ferritin 0.11; troponin detectable <60 0.19 60-74 1.36 >=75 0.35; D-dimer >1 0.24; natural log; not Appendix Table 2 death-only; discharge competing-risk coefficients were not printed","gastrointestinal_symptoms":false,"gfr":71,"hemoglobin_g_dl":12.9,"leukocyte_k":6.8,"logit_delta":0,"loss_of_taste_smell":false,"lymphocyte_k":1,"nursing_home":false,"obesity":true,"pulse":85,"race":"white","respiratory_rate":21,"respiratory_symptoms":false,"sex":"female","troponin_detectable":false}],"path":"/api/calc/circ"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Appendix Table 1 bands: <60 (term -0.61), 60-74 (reference 0), >=75 (term -0.71). Derivation excluded ages under 18.","type":"integer"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Appendix Table 1: 0.23 per 0.5 g/dL decrease below 4 g/dL (no term when albumin >= 4). Reference 3.7.","type":"number"},"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-2000). Appendix Table 1: 0.02 times the natural log. Reference 30.0.","type":"number"},"bmi":{"description":"Body mass index in kg/m2 (10-80). Appendix Table 1: 0.17 per increment of 5 kg/m2 versus the reference BMI of 30. obesity in the response is BMI >= 30.","type":"number"},"cci":{"description":"Caller-assigned Charlson comorbidity index (integer 0-37). Appendix Table 1 per 1-point: 0.19 if age<60, -0.23 if age 60-74, 0.14 if age>=75. Reference CCI 0. magent does not assign Charlson diagnoses.","type":"integer"},"constitutional_symptoms":{"description":"Constitutional symptoms present vs absent as assigned by the caller. false is the reference. true adds -0.57.","type":"boolean"},"crp_mg_dl":{"description":"C-reactive protein in mg/dL (0.1-50). Appendix Table 1: 0.20 times the natural log. Reference 5.7.","type":"number"},"d_dimer_gt_1":{"description":"D-dimer above the Appendix Table 1 threshold (>1 mg/dL FEU) as assigned by the caller. false is the reference. true adds 0.24.","type":"boolean"},"ferritin_ng_ml":{"description":"Ferritin in ng/mL (10-20000). Appendix Table 1: 0.11 times the natural log. Reference 545.","type":"number"},"fever":{"description":"Temperature >38.0 C within 24 hours of admission as assigned by the caller. false is the reference. true adds 0.56.","type":"boolean"},"gastrointestinal_symptoms":{"description":"Gastrointestinal symptoms present vs absent as assigned by the caller. false is the reference. true adds -0.14.","type":"boolean"},"gfr":{"description":"GFR in mL/min per 1.73 m2 (5-150). Appendix Table 1: -0.03 per increase of 10 versus the reference 71.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (4-20). Appendix Table 1: 0.04 per 1-point decrease versus the reference 12.9 g/dL.","type":"number"},"leukocyte_k":{"description":"Leukocyte count in K cells/mm3 (0.5-100). Appendix Table 1: -0.06 times the natural log. Reference 6.8.","type":"number"},"loss_of_taste_smell":{"description":"Loss of taste and smell present vs absent as assigned by the caller. false is the reference. true adds -0.30.","type":"boolean"},"lymphocyte_k":{"description":"Absolute lymphocyte count in K cells/mm3 (0.1-10). Appendix Table 1: -0.29 times the natural log. Reference 1.0.","type":"number"},"nursing_home":{"description":"Admitted from a nursing home as assigned by the caller. false is the reference (0). true adds -0.24 if age<75, -0.22 if age>=75.","type":"boolean"},"pulse":{"description":"Pulse in beats/min (30-220). Appendix Table 1: -0.02 per increment of 10 versus the reference pulse of 85.","type":"number"},"race":{"description":"Caller-assigned Garibaldi 2020 paper term Non-White race vs White race. white is the reference (0). nonwhite adds 0.08. magent does not assign race.","enum":["white","nonwhite"],"type":"string"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (6-60). Appendix Table 1 linear spline with knot at 18: -0.25 per unit below 18, 0.13 per unit at or above 18. Reference RR 21.","type":"number"},"respiratory_symptoms":{"description":"Respiratory symptoms present vs absent as assigned by the caller. false is the reference. true adds 0.81.","type":"boolean"},"sex":{"description":"Sex as assigned by the caller. female is the Appendix Table 1 reference (0). male adds 0.31 if age<60, -0.47 if age 60-74, 0.10 if age>=75. magent does not assign sex.","enum":["female","male"],"type":"string"},"troponin_detectable":{"description":"Detectable troponin vs not as assigned by the caller. false is the reference. true adds 0.19 if age<60, 1.36 if age 60-74, 0.35 if age>=75.","type":"boolean"}},"required":["age","sex","race","nursing_home","bmi","cci","respiratory_symptoms","gastrointestinal_symptoms","constitutional_symptoms","loss_of_taste_smell","fever","pulse","respiratory_rate","leukocyte_k","lymphocyte_k","alt_u_l","hemoglobin_g_dl","albumin_g_dl","gfr","crp_mg_dl","ferritin_ng_ml","troponin_detectable","d_dimer_gt_1"],"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":["circ","infection","prognosis","charlson","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:51:15.574Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:51:15.245Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":65,"albumin_g_dl":3.7,"alt_u_l":30,"bmi":30,"cci":0,"constitutional_symptoms":false,"crp_mg_dl":5.7,"d_dimer_gt_1":false,"ferritin_ng_ml":545,"fever":false,"gastrointestinal_symptoms":false,"gfr":71,"hemoglobin_g_dl":12.9,"leukocyte_k":6.8,"loss_of_taste_smell":false,"lymphocyte_k":1,"nursing_home":false,"pulse":85,"race":"white","respiratory_rate":21,"respiratory_symptoms":false,"sex":"female","troponin_detectable":false},{"age":65,"albumin_g_dl":3.7,"alt_u_l":30,"bmi":30,"cci":0,"constitutional_symptoms":false,"crp_mg_dl":5.7,"d_dimer_gt_1":false,"ferritin_ng_ml":545,"fever":false,"gastrointestinal_symptoms":false,"gfr":71,"hemoglobin_g_dl":12.9,"leukocyte_k":6.8,"loss_of_taste_smell":false,"lymphocyte_k":1,"nursing_home":false,"pulse":85,"race":"white","respiratory_rate":21,"respiratory_symptoms":false,"sex":"female","troponin_detectable":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":65,"age_band":"60_74","albumin_g_dl":3.7,"alt_u_l":30,"bmi":30,"cci":0,"citation":{"authors":"Garibaldi BT, Fiksel J, Muschelli J, et al.","doi":"10.7326/M20-3905","id":"garibaldi-2020-circ","pmid":"32960645","source":"Ann Intern Med. 2021;174(1):33-41","title":"Patient Trajectories Among Persons Hospitalized for COVID-19: A Cohort Study"},"constitutional_symptoms":false,"crp_mg_dl":5.7,"d_dimer_gt_1":false,"day_2_percent":10,"day_4_percent":13,"day_7_percent":15,"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.","ferritin_ng_ml":545,"fever":false,"formula":"circ","formula_expression":"delta = lp(x) - lp(x0); P(t) = 1-(1-P0(t))^exp(delta); Garibaldi 2020 Appendix Table 1 estimates; x0 White female age 60-74 not from a nursing home BMI 30 CCI 0 no symptoms no fever pulse 85 RR 21 leukocyte 6.8 ALC 1.0 ALT 30 albumin 3.7 GFR 71 CRP 5.7 hemoglobin 12.9 ferritin 545 troponin not detectable D-dimer not >1; P0 day2 0.10 day4 0.13 day7 0.15; age<60 -0.61 age>=75 -0.71; NH <75 -0.24 >=75 -0.22; male <60 0.31 60-74 -0.47 >=75 0.10; BMI per 5 0.17; Non-White vs White 0.08 (caller-assigned); CCI per 1 <60 0.19 60-74 -0.23 >=75 0.14; respiratory 0.81 GI -0.14 constitutional -0.57 taste/smell -0.30 fever>38.0 0.56; pulse per 10 -0.02; RR linear spline knot 18: <18 per unit -0.25, >=18 per unit 0.13; ln leukocyte -0.06 ln ALC -0.29 ln ALT 0.02; hemoglobin per 1 g/dL decrease 0.04; albumin per 0.5 g/dL decrease below 4 0.23; GFR per 10 -0.03; ln CRP 0.20 ln ferritin 0.11; troponin detectable <60 0.19 60-74 1.36 >=75 0.35; D-dimer >1 0.24; natural log; not Appendix Table 2 death-only; discharge competing-risk coefficients were not printed","gastrointestinal_symptoms":false,"gfr":71,"hemoglobin_g_dl":12.9,"leukocyte_k":6.8,"logit_delta":0,"loss_of_taste_smell":false,"lymphocyte_k":1,"nursing_home":false,"obesity":true,"pulse":85,"race":"white","respiratory_rate":21,"respiratory_symptoms":false,"sex":"female","troponin_detectable":false},{"age":65,"age_band":"60_74","albumin_g_dl":3.7,"alt_u_l":30,"bmi":30,"cci":0,"citation":{"authors":"Garibaldi BT, Fiksel J, Muschelli J, et al.","doi":"10.7326/M20-3905","id":"garibaldi-2020-circ","pmid":"32960645","source":"Ann Intern Med. 2021;174(1):33-41","title":"Patient Trajectories Among Persons Hospitalized for COVID-19: A Cohort Study"},"constitutional_symptoms":false,"crp_mg_dl":5.7,"d_dimer_gt_1":false,"day_2_percent":10,"day_4_percent":13,"day_7_percent":15,"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.","ferritin_ng_ml":545,"fever":false,"formula":"circ","formula_expression":"delta = lp(x) - lp(x0); P(t) = 1-(1-P0(t))^exp(delta); Garibaldi 2020 Appendix Table 1 estimates; x0 White female age 60-74 not from a nursing home BMI 30 CCI 0 no symptoms no fever pulse 85 RR 21 leukocyte 6.8 ALC 1.0 ALT 30 albumin 3.7 GFR 71 CRP 5.7 hemoglobin 12.9 ferritin 545 troponin not detectable D-dimer not >1; P0 day2 0.10 day4 0.13 day7 0.15; age<60 -0.61 age>=75 -0.71; NH <75 -0.24 >=75 -0.22; male <60 0.31 60-74 -0.47 >=75 0.10; BMI per 5 0.17; Non-White vs White 0.08 (caller-assigned); CCI per 1 <60 0.19 60-74 -0.23 >=75 0.14; respiratory 0.81 GI -0.14 constitutional -0.57 taste/smell -0.30 fever>38.0 0.56; pulse per 10 -0.02; RR linear spline knot 18: <18 per unit -0.25, >=18 per unit 0.13; ln leukocyte -0.06 ln ALC -0.29 ln ALT 0.02; hemoglobin per 1 g/dL decrease 0.04; albumin per 0.5 g/dL decrease below 4 0.23; GFR per 10 -0.03; ln CRP 0.20 ln ferritin 0.11; troponin detectable <60 0.19 60-74 1.36 >=75 0.35; D-dimer >1 0.24; natural log; not Appendix Table 2 death-only; discharge competing-risk coefficients were not printed","gastrointestinal_symptoms":false,"gfr":71,"hemoglobin_g_dl":12.9,"leukocyte_k":6.8,"logit_delta":0,"loss_of_taste_smell":false,"lymphocyte_k":1,"nursing_home":false,"obesity":true,"pulse":85,"race":"white","respiratory_rate":21,"respiratory_symptoms":false,"sex":"female","troponin_detectable":false}],"path":"/api/calc/circ"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Appendix Table 1 bands: <60 (term -0.61), 60-74 (reference 0), >=75 (term -0.71). Derivation excluded ages under 18.","type":"integer"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Appendix Table 1: 0.23 per 0.5 g/dL decrease below 4 g/dL (no term when albumin >= 4). Reference 3.7.","type":"number"},"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-2000). Appendix Table 1: 0.02 times the natural log. Reference 30.0.","type":"number"},"bmi":{"description":"Body mass index in kg/m2 (10-80). Appendix Table 1: 0.17 per increment of 5 kg/m2 versus the reference BMI of 30. obesity in the response is BMI >= 30.","type":"number"},"cci":{"description":"Caller-assigned Charlson comorbidity index (integer 0-37). Appendix Table 1 per 1-point: 0.19 if age<60, -0.23 if age 60-74, 0.14 if age>=75. Reference CCI 0. magent does not assign Charlson diagnoses.","type":"integer"},"constitutional_symptoms":{"description":"Constitutional symptoms present vs absent as assigned by the caller. false is the reference. true adds -0.57.","type":"boolean"},"crp_mg_dl":{"description":"C-reactive protein in mg/dL (0.1-50). Appendix Table 1: 0.20 times the natural log. Reference 5.7.","type":"number"},"d_dimer_gt_1":{"description":"D-dimer above the Appendix Table 1 threshold (>1 mg/dL FEU) as assigned by the caller. false is the reference. true adds 0.24.","type":"boolean"},"ferritin_ng_ml":{"description":"Ferritin in ng/mL (10-20000). Appendix Table 1: 0.11 times the natural log. Reference 545.","type":"number"},"fever":{"description":"Temperature >38.0 C within 24 hours of admission as assigned by the caller. false is the reference. true adds 0.56.","type":"boolean"},"gastrointestinal_symptoms":{"description":"Gastrointestinal symptoms present vs absent as assigned by the caller. false is the reference. true adds -0.14.","type":"boolean"},"gfr":{"description":"GFR in mL/min per 1.73 m2 (5-150). Appendix Table 1: -0.03 per increase of 10 versus the reference 71.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (4-20). Appendix Table 1: 0.04 per 1-point decrease versus the reference 12.9 g/dL.","type":"number"},"leukocyte_k":{"description":"Leukocyte count in K cells/mm3 (0.5-100). Appendix Table 1: -0.06 times the natural log. Reference 6.8.","type":"number"},"loss_of_taste_smell":{"description":"Loss of taste and smell present vs absent as assigned by the caller. false is the reference. true adds -0.30.","type":"boolean"},"lymphocyte_k":{"description":"Absolute lymphocyte count in K cells/mm3 (0.1-10). Appendix Table 1: -0.29 times the natural log. Reference 1.0.","type":"number"},"nursing_home":{"description":"Admitted from a nursing home as assigned by the caller. false is the reference (0). true adds -0.24 if age<75, -0.22 if age>=75.","type":"boolean"},"pulse":{"description":"Pulse in beats/min (30-220). Appendix Table 1: -0.02 per increment of 10 versus the reference pulse of 85.","type":"number"},"race":{"description":"Caller-assigned Garibaldi 2020 paper term Non-White race vs White race. white is the reference (0). nonwhite adds 0.08. magent does not assign race.","enum":["white","nonwhite"],"type":"string"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (6-60). Appendix Table 1 linear spline with knot at 18: -0.25 per unit below 18, 0.13 per unit at or above 18. Reference RR 21.","type":"number"},"respiratory_symptoms":{"description":"Respiratory symptoms present vs absent as assigned by the caller. false is the reference. true adds 0.81.","type":"boolean"},"sex":{"description":"Sex as assigned by the caller. female is the Appendix Table 1 reference (0). male adds 0.31 if age<60, -0.47 if age 60-74, 0.10 if age>=75. magent does not assign sex.","enum":["female","male"],"type":"string"},"troponin_detectable":{"description":"Detectable troponin vs not as assigned by the caller. false is the reference. true adds 0.19 if age<60, 1.36 if age 60-74, 0.35 if age>=75.","type":"boolean"}},"required":["age","sex","race","nursing_home","bmi","cci","respiratory_symptoms","gastrointestinal_symptoms","constitutional_symptoms","loss_of_taste_smell","fever","pulse","respiratory_rate","leukocyte_k","lymphocyte_k","alt_u_l","hemoglobin_g_dl","albumin_g_dl","gfr","crp_mg_dl","ferritin_ng_ml","troponin_detectable","d_dimer_gt_1"],"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},{"id":39240,"slug":"39240","resource":"https://api.magentlab.com/api/calc/chosen","description":"Levine 2020 CHOSEN (COVID Home Safely Now): age 18-45 +5, 46-59 +2, 60-73 +1, >73 +0; SpO2 <94 +0, 94-96 +9, 97-98 +14, >98 +21; albumin g/dL <2.8 +0, 2.8-3.3 +5, 3.4-3.7 +15, >3.7 +29. Score 0-55. Cutpoint 30 (derivation sensitivity 83%, specificity 82%). Higher score favored event-free status in the paper. Not a discharge order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"albumin_g_dl":4,"spo2_percent":99},{"age":40,"albumin_g_dl":4,"spo2_percent":99}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"albumin_g_dl":4,"at_or_above_cutpoint":true,"citation":{"authors":"Levine DM, Lipsitz SR, Co Z, Song W, Dykes PC, Samal L","doi":"10.1007/s11606-020-06353-5","id":"levine-2020-chosen","pmid":"33274414","source":"J Gen Intern Med. 2021;36(3):730-737","title":"Derivation of a clinical risk score to predict 14-day occurrence of hypoxia, ICU admission, and death among patients with coronavirus disease 2019"},"components":[{"factor":"age","points":5,"present":true,"value":40},{"factor":"spo2_percent","points":21,"present":true,"value":99},{"factor":"albumin_g_dl","points":29,"present":true,"value":4}],"cutpoint":30,"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":"chosen","formula_expression":"CHOSEN = age_points + spo2_points + albumin_points; Levine 2020 Figure 2; age 18-45 → 5, 46-59 → 2, 60-73 → 1, >73 → 0; SpO2 % <94 → 0, 94-96 → 9, 97-98 → 14, >98 → 21; albumin g/dL <2.8 → 0, 2.8-3.3 → 5, 3.4-3.7 → 15, >3.7 → 29; range 0-55; at_or_above_cutpoint iff score ≥30 (derivation sensitivity 83%, specificity 82%)","max_score":55,"score":55,"spo2_percent":99},{"age":40,"albumin_g_dl":4,"at_or_above_cutpoint":true,"citation":{"authors":"Levine DM, Lipsitz SR, Co Z, Song W, Dykes PC, Samal L","doi":"10.1007/s11606-020-06353-5","id":"levine-2020-chosen","pmid":"33274414","source":"J Gen Intern Med. 2021;36(3):730-737","title":"Derivation of a clinical risk score to predict 14-day occurrence of hypoxia, ICU admission, and death among patients with coronavirus disease 2019"},"components":[{"factor":"age","points":5,"present":true,"value":40},{"factor":"spo2_percent","points":21,"present":true,"value":99},{"factor":"albumin_g_dl","points":29,"present":true,"value":4}],"cutpoint":30,"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":"chosen","formula_expression":"CHOSEN = age_points + spo2_points + albumin_points; Levine 2020 Figure 2; age 18-45 → 5, 46-59 → 2, 60-73 → 1, >73 → 0; SpO2 % <94 → 0, 94-96 → 9, 97-98 → 14, >98 → 21; albumin g/dL <2.8 → 0, 2.8-3.3 → 5, 3.4-3.7 → 15, >3.7 → 29; range 0-55; at_or_above_cutpoint iff score ≥30 (derivation sensitivity 83%, specificity 82%)","max_score":55,"score":55,"spo2_percent":99}],"path":"/api/calc/chosen"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Levine 2020 Figure 2: 18-45 → 5; 46-59 → 2; 60-73 → 1; >73 → 0. Age 73 scores 1; age 74 scores 0. Adults as in the derivation cohort.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1.0-6.0). Levine 2020 Figure 2: <2.8 → 0; 2.8-3.3 → 5; 3.4-3.7 → 15; >3.7 → 29. Not g/L. magent does not assay albumin.","type":"number"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Levine 2020 Figure 2: <94 → 0; 94-96 → 9; 97-98 → 14; >98 → 21. magent does not measure SpO2.","type":"number"}},"required":["age","spo2_percent","albumin_g_dl"],"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":["chosen","covid-19","albumin","spo2","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:51:13.576Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:51:13.371Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"albumin_g_dl":4,"spo2_percent":99},{"age":40,"albumin_g_dl":4,"spo2_percent":99}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"albumin_g_dl":4,"at_or_above_cutpoint":true,"citation":{"authors":"Levine DM, Lipsitz SR, Co Z, Song W, Dykes PC, Samal L","doi":"10.1007/s11606-020-06353-5","id":"levine-2020-chosen","pmid":"33274414","source":"J Gen Intern Med. 2021;36(3):730-737","title":"Derivation of a clinical risk score to predict 14-day occurrence of hypoxia, ICU admission, and death among patients with coronavirus disease 2019"},"components":[{"factor":"age","points":5,"present":true,"value":40},{"factor":"spo2_percent","points":21,"present":true,"value":99},{"factor":"albumin_g_dl","points":29,"present":true,"value":4}],"cutpoint":30,"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":"chosen","formula_expression":"CHOSEN = age_points + spo2_points + albumin_points; Levine 2020 Figure 2; age 18-45 → 5, 46-59 → 2, 60-73 → 1, >73 → 0; SpO2 % <94 → 0, 94-96 → 9, 97-98 → 14, >98 → 21; albumin g/dL <2.8 → 0, 2.8-3.3 → 5, 3.4-3.7 → 15, >3.7 → 29; range 0-55; at_or_above_cutpoint iff score ≥30 (derivation sensitivity 83%, specificity 82%)","max_score":55,"score":55,"spo2_percent":99},{"age":40,"albumin_g_dl":4,"at_or_above_cutpoint":true,"citation":{"authors":"Levine DM, Lipsitz SR, Co Z, Song W, Dykes PC, Samal L","doi":"10.1007/s11606-020-06353-5","id":"levine-2020-chosen","pmid":"33274414","source":"J Gen Intern Med. 2021;36(3):730-737","title":"Derivation of a clinical risk score to predict 14-day occurrence of hypoxia, ICU admission, and death among patients with coronavirus disease 2019"},"components":[{"factor":"age","points":5,"present":true,"value":40},{"factor":"spo2_percent","points":21,"present":true,"value":99},{"factor":"albumin_g_dl","points":29,"present":true,"value":4}],"cutpoint":30,"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":"chosen","formula_expression":"CHOSEN = age_points + spo2_points + albumin_points; Levine 2020 Figure 2; age 18-45 → 5, 46-59 → 2, 60-73 → 1, >73 → 0; SpO2 % <94 → 0, 94-96 → 9, 97-98 → 14, >98 → 21; albumin g/dL <2.8 → 0, 2.8-3.3 → 5, 3.4-3.7 → 15, >3.7 → 29; range 0-55; at_or_above_cutpoint iff score ≥30 (derivation sensitivity 83%, specificity 82%)","max_score":55,"score":55,"spo2_percent":99}],"path":"/api/calc/chosen"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Levine 2020 Figure 2: 18-45 → 5; 46-59 → 2; 60-73 → 1; >73 → 0. Age 73 scores 1; age 74 scores 0. Adults as in the derivation cohort.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1.0-6.0). Levine 2020 Figure 2: <2.8 → 0; 2.8-3.3 → 5; 3.4-3.7 → 15; >3.7 → 29. Not g/L. magent does not assay albumin.","type":"number"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Levine 2020 Figure 2: <94 → 0; 94-96 → 9; 97-98 → 14; >98 → 21. magent does not measure SpO2.","type":"number"}},"required":["age","spo2_percent","albumin_g_dl"],"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},{"id":39241,"slug":"39241","resource":"https://api.magentlab.com/api/calc/choles_score","description":"Bharamgoudar 2018 CholeS Table 3 score for elective laparoscopic cholecystectomy duration. Age, sex, indication, BMI, CBD diameter, gallbladder wall, pre-op CT, planned IOC, prior surgical admissions, ASA class. Max 20. Numeric total only; no duration bands. Not a booking, not Nassar, not Tokyo. magent does not image the gallbladder.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":35,"asa_class":1,"bmi_kg_m2":24,"cbd_diameter":"normal","gallbladder_wall":"normal","indication":"pancreatitis","planned_intraop_cholangiogram":false,"pre_operative_ct":false,"previous_surgical_admissions":0,"sex":"female"},{"age":35,"asa_class":1,"bmi_kg_m2":24,"cbd_diameter":"normal","gallbladder_wall":"normal","indication":"pancreatitis","planned_intraop_cholangiogram":false,"pre_operative_ct":false,"previous_surgical_admissions":0,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":35,"asa_class":1,"bmi_kg_m2":24,"cbd_diameter":"normal","citation":{"authors":"Bharamgoudar R, Sonsale A, Hodson J, Griffiths E; CholeS Study Group, West Midlands Research Collaborative","doi":"10.1007/s00464-018-6030-6","id":"bharamgoudar-2018","pmid":"29340820","source":"Surg Endosc. 2018;32(7):3149-3157","title":"The development and validation of a scoring tool to predict the operative duration of elective laparoscopic cholecystectomy"},"components":[{"factor":"age","points":0,"present":true,"value":35},{"factor":"sex","points":0,"present":true,"value":"female"},{"factor":"indication","points":0,"present":true,"value":"pancreatitis"},{"factor":"bmi_kg_m2","points":0,"present":true,"value":24},{"factor":"cbd_diameter","points":0,"present":true,"value":"normal"},{"factor":"gallbladder_wall","points":0,"present":true,"value":"normal"},{"factor":"pre_operative_ct","points":0,"present":true},{"factor":"planned_intraop_cholangiogram","points":0,"present":true},{"factor":"previous_surgical_admissions","points":0,"present":true,"value":0},{"factor":"asa_class","points":0,"present":true,"value":1}],"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":"choles_score","formula_expression":"CholeS = age (<40 0, >=40 1.5) + sex (female 0, male 1) + indication (pancreatitis 0, colic_dyskinesia_polyp 0.5, cbd_stone 2, acalculous_cholecystitis 2.5) + bmi_kg_m2 (<25 0, 25-35 inclusive 1, >35 2) + cbd_diameter (normal 0, dilated 2) + gallbladder_wall (normal 0, thick 1.5) + pre_operative_ct (true 1.5) + planned_intraop_cholangiogram (true 3) + previous_surgical_admissions (0 0, 1-2 1, >2 2.5) + asa_class (1 0, 2 1, 3-5 2.5); Bharamgoudar 2018 Table 3; max 20; numeric total only, no duration or risk bands","gallbladder_wall":"normal","indication":"pancreatitis","max_score":20,"planned_intraop_cholangiogram":false,"pre_operative_ct":false,"previous_surgical_admissions":0,"score":0,"sex":"female"},{"age_years":35,"asa_class":1,"bmi_kg_m2":24,"cbd_diameter":"normal","citation":{"authors":"Bharamgoudar R, Sonsale A, Hodson J, Griffiths E; CholeS Study Group, West Midlands Research Collaborative","doi":"10.1007/s00464-018-6030-6","id":"bharamgoudar-2018","pmid":"29340820","source":"Surg Endosc. 2018;32(7):3149-3157","title":"The development and validation of a scoring tool to predict the operative duration of elective laparoscopic cholecystectomy"},"components":[{"factor":"age","points":0,"present":true,"value":35},{"factor":"sex","points":0,"present":true,"value":"female"},{"factor":"indication","points":0,"present":true,"value":"pancreatitis"},{"factor":"bmi_kg_m2","points":0,"present":true,"value":24},{"factor":"cbd_diameter","points":0,"present":true,"value":"normal"},{"factor":"gallbladder_wall","points":0,"present":true,"value":"normal"},{"factor":"pre_operative_ct","points":0,"present":true},{"factor":"planned_intraop_cholangiogram","points":0,"present":true},{"factor":"previous_surgical_admissions","points":0,"present":true,"value":0},{"factor":"asa_class","points":0,"present":true,"value":1}],"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":"choles_score","formula_expression":"CholeS = age (<40 0, >=40 1.5) + sex (female 0, male 1) + indication (pancreatitis 0, colic_dyskinesia_polyp 0.5, cbd_stone 2, acalculous_cholecystitis 2.5) + bmi_kg_m2 (<25 0, 25-35 inclusive 1, >35 2) + cbd_diameter (normal 0, dilated 2) + gallbladder_wall (normal 0, thick 1.5) + pre_operative_ct (true 1.5) + planned_intraop_cholangiogram (true 3) + previous_surgical_admissions (0 0, 1-2 1, >2 2.5) + asa_class (1 0, 2 1, 3-5 2.5); Bharamgoudar 2018 Table 3; max 20; numeric total only, no duration or risk bands","gallbladder_wall":"normal","indication":"pancreatitis","max_score":20,"planned_intraop_cholangiogram":false,"pre_operative_ct":false,"previous_surgical_admissions":0,"score":0,"sex":"female"}],"path":"/api/calc/choles_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Bharamgoudar 2018 Table 3: <40 scores 0; ≥40 scores 1.5. Age 39 scores 0; 40 scores 1.5.","type":"integer"},"asa_class":{"description":"ASA physical status class, integer 1-5 (Bharamgoudar 2018 Table 3; Gupta 2011 1-5 range). 1 scores 0; 2 scores 1; 3-5 scores 2.5. magent does not assign ASA class.","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Bharamgoudar 2018 Table 3: <25 scores 0; 25-35 inclusive scores 1; >35 scores 2. 25.0 and 35.0 score 1; 36 scores 2.","type":"number"},"cbd_diameter":{"description":"Caller-assigned common bile duct diameter (Bharamgoudar 2018 Table 3). normal scores 0; dilated scores 2. magent does not image the gallbladder or measure the CBD.","enum":["normal","dilated"],"type":"string"},"gallbladder_wall":{"description":"Caller-assigned gallbladder wall (Bharamgoudar 2018 Table 3). normal scores 0; thick scores 1.5. magent does not image the gallbladder.","enum":["normal","thick"],"type":"string"},"indication":{"description":"Caller-assigned indication for elective laparoscopic cholecystectomy (Bharamgoudar 2018 Table 3). pancreatitis scores 0. colic_dyskinesia_polyp (biliary colic, biliary dyskinesia, or gallbladder polyp) scores 0.5. cbd_stone scores 2. acalculous_cholecystitis scores 2.5. magent does not diagnose the indication.","enum":["pancreatitis","colic_dyskinesia_polyp","cbd_stone","acalculous_cholecystitis"],"type":"string"},"planned_intraop_cholangiogram":{"description":"Planned intraoperative cholangiogram as assigned by the caller (Bharamgoudar 2018 Table 3). true scores 3. magent does not plan the operation.","type":"boolean"},"pre_operative_ct":{"description":"Pre-operative CT as assigned by the caller (Bharamgoudar 2018 Table 3). true scores 1.5. magent does not read imaging.","type":"boolean"},"previous_surgical_admissions":{"description":"Previous surgical admissions, integer 0-20 (Bharamgoudar 2018 Table 3). 0 scores 0; 1-2 scores 1; >2 scores 2.5.","type":"integer"},"sex":{"description":"female or male. Female scores 0; male scores 1 (Bharamgoudar 2018 Table 3).","enum":["female","male"],"type":"string"}},"required":["age","sex","indication","bmi_kg_m2","cbd_diameter","gallbladder_wall","pre_operative_ct","planned_intraop_cholangiogram","previous_surgical_admissions","asa_class"],"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":["choles-score","cholecystectomy","gi","score","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:51:11.568Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:51:11.435Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":35,"asa_class":1,"bmi_kg_m2":24,"cbd_diameter":"normal","gallbladder_wall":"normal","indication":"pancreatitis","planned_intraop_cholangiogram":false,"pre_operative_ct":false,"previous_surgical_admissions":0,"sex":"female"},{"age":35,"asa_class":1,"bmi_kg_m2":24,"cbd_diameter":"normal","gallbladder_wall":"normal","indication":"pancreatitis","planned_intraop_cholangiogram":false,"pre_operative_ct":false,"previous_surgical_admissions":0,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":35,"asa_class":1,"bmi_kg_m2":24,"cbd_diameter":"normal","citation":{"authors":"Bharamgoudar R, Sonsale A, Hodson J, Griffiths E; CholeS Study Group, West Midlands Research Collaborative","doi":"10.1007/s00464-018-6030-6","id":"bharamgoudar-2018","pmid":"29340820","source":"Surg Endosc. 2018;32(7):3149-3157","title":"The development and validation of a scoring tool to predict the operative duration of elective laparoscopic cholecystectomy"},"components":[{"factor":"age","points":0,"present":true,"value":35},{"factor":"sex","points":0,"present":true,"value":"female"},{"factor":"indication","points":0,"present":true,"value":"pancreatitis"},{"factor":"bmi_kg_m2","points":0,"present":true,"value":24},{"factor":"cbd_diameter","points":0,"present":true,"value":"normal"},{"factor":"gallbladder_wall","points":0,"present":true,"value":"normal"},{"factor":"pre_operative_ct","points":0,"present":true},{"factor":"planned_intraop_cholangiogram","points":0,"present":true},{"factor":"previous_surgical_admissions","points":0,"present":true,"value":0},{"factor":"asa_class","points":0,"present":true,"value":1}],"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":"choles_score","formula_expression":"CholeS = age (<40 0, >=40 1.5) + sex (female 0, male 1) + indication (pancreatitis 0, colic_dyskinesia_polyp 0.5, cbd_stone 2, acalculous_cholecystitis 2.5) + bmi_kg_m2 (<25 0, 25-35 inclusive 1, >35 2) + cbd_diameter (normal 0, dilated 2) + gallbladder_wall (normal 0, thick 1.5) + pre_operative_ct (true 1.5) + planned_intraop_cholangiogram (true 3) + previous_surgical_admissions (0 0, 1-2 1, >2 2.5) + asa_class (1 0, 2 1, 3-5 2.5); Bharamgoudar 2018 Table 3; max 20; numeric total only, no duration or risk bands","gallbladder_wall":"normal","indication":"pancreatitis","max_score":20,"planned_intraop_cholangiogram":false,"pre_operative_ct":false,"previous_surgical_admissions":0,"score":0,"sex":"female"},{"age_years":35,"asa_class":1,"bmi_kg_m2":24,"cbd_diameter":"normal","citation":{"authors":"Bharamgoudar R, Sonsale A, Hodson J, Griffiths E; CholeS Study Group, West Midlands Research Collaborative","doi":"10.1007/s00464-018-6030-6","id":"bharamgoudar-2018","pmid":"29340820","source":"Surg Endosc. 2018;32(7):3149-3157","title":"The development and validation of a scoring tool to predict the operative duration of elective laparoscopic cholecystectomy"},"components":[{"factor":"age","points":0,"present":true,"value":35},{"factor":"sex","points":0,"present":true,"value":"female"},{"factor":"indication","points":0,"present":true,"value":"pancreatitis"},{"factor":"bmi_kg_m2","points":0,"present":true,"value":24},{"factor":"cbd_diameter","points":0,"present":true,"value":"normal"},{"factor":"gallbladder_wall","points":0,"present":true,"value":"normal"},{"factor":"pre_operative_ct","points":0,"present":true},{"factor":"planned_intraop_cholangiogram","points":0,"present":true},{"factor":"previous_surgical_admissions","points":0,"present":true,"value":0},{"factor":"asa_class","points":0,"present":true,"value":1}],"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":"choles_score","formula_expression":"CholeS = age (<40 0, >=40 1.5) + sex (female 0, male 1) + indication (pancreatitis 0, colic_dyskinesia_polyp 0.5, cbd_stone 2, acalculous_cholecystitis 2.5) + bmi_kg_m2 (<25 0, 25-35 inclusive 1, >35 2) + cbd_diameter (normal 0, dilated 2) + gallbladder_wall (normal 0, thick 1.5) + pre_operative_ct (true 1.5) + planned_intraop_cholangiogram (true 3) + previous_surgical_admissions (0 0, 1-2 1, >2 2.5) + asa_class (1 0, 2 1, 3-5 2.5); Bharamgoudar 2018 Table 3; max 20; numeric total only, no duration or risk bands","gallbladder_wall":"normal","indication":"pancreatitis","max_score":20,"planned_intraop_cholangiogram":false,"pre_operative_ct":false,"previous_surgical_admissions":0,"score":0,"sex":"female"}],"path":"/api/calc/choles_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Bharamgoudar 2018 Table 3: <40 scores 0; ≥40 scores 1.5. Age 39 scores 0; 40 scores 1.5.","type":"integer"},"asa_class":{"description":"ASA physical status class, integer 1-5 (Bharamgoudar 2018 Table 3; Gupta 2011 1-5 range). 1 scores 0; 2 scores 1; 3-5 scores 2.5. magent does not assign ASA class.","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Bharamgoudar 2018 Table 3: <25 scores 0; 25-35 inclusive scores 1; >35 scores 2. 25.0 and 35.0 score 1; 36 scores 2.","type":"number"},"cbd_diameter":{"description":"Caller-assigned common bile duct diameter (Bharamgoudar 2018 Table 3). normal scores 0; dilated scores 2. magent does not image the gallbladder or measure the CBD.","enum":["normal","dilated"],"type":"string"},"gallbladder_wall":{"description":"Caller-assigned gallbladder wall (Bharamgoudar 2018 Table 3). normal scores 0; thick scores 1.5. magent does not image the gallbladder.","enum":["normal","thick"],"type":"string"},"indication":{"description":"Caller-assigned indication for elective laparoscopic cholecystectomy (Bharamgoudar 2018 Table 3). pancreatitis scores 0. colic_dyskinesia_polyp (biliary colic, biliary dyskinesia, or gallbladder polyp) scores 0.5. cbd_stone scores 2. acalculous_cholecystitis scores 2.5. magent does not diagnose the indication.","enum":["pancreatitis","colic_dyskinesia_polyp","cbd_stone","acalculous_cholecystitis"],"type":"string"},"planned_intraop_cholangiogram":{"description":"Planned intraoperative cholangiogram as assigned by the caller (Bharamgoudar 2018 Table 3). true scores 3. magent does not plan the operation.","type":"boolean"},"pre_operative_ct":{"description":"Pre-operative CT as assigned by the caller (Bharamgoudar 2018 Table 3). true scores 1.5. magent does not read imaging.","type":"boolean"},"previous_surgical_admissions":{"description":"Previous surgical admissions, integer 0-20 (Bharamgoudar 2018 Table 3). 0 scores 0; 1-2 scores 1; >2 scores 2.5.","type":"integer"},"sex":{"description":"female or male. Female scores 0; male scores 1 (Bharamgoudar 2018 Table 3).","enum":["female","male"],"type":"string"}},"required":["age","sex","indication","bmi_kg_m2","cbd_diameter","gallbladder_wall","pre_operative_ct","planned_intraop_cholangiogram","previous_surgical_admissions","asa_class"],"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},{"id":39242,"slug":"39242","resource":"https://api.magentlab.com/api/calc/chip","description":"Smits 2007 CHIP rule (adults ≥16, GCS 13-15). CT if ≥1 major (pedestrian/cyclist vs vehicle, ejected, vomiting, PTA ≥4 h, skull-fracture signs, GCS <15, GCS drop ≥2 at 1 h, anticoagulants, posttraumatic seizure, age ≥60) or ≥2 minor (fall from elevation, persistent anterograde amnesia, PTA 2 to <4 h, skull contusion, neurologic deficit, LOC, GCS drop of 1 at 1 h, age 40-60). Not a diagnosis; not Canadian CT Head, NEXUS, PECARN, or 2022 CHIP. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":30,"anticoagulant_therapy":false,"clinical_signs_skull_fracture":false,"ejected_from_vehicle":false,"fall_from_any_elevation":false,"gcs":15,"gcs_deterioration_1":false,"gcs_deterioration_ge_2":false,"loss_of_consciousness":false,"neurologic_deficit":false,"pedestrian_or_cyclist_vs_vehicle":false,"persistent_anterograde_amnesia":false,"posttraumatic_seizure":false,"pta_2_to_lt_4h":false,"pta_ge_4h":false,"skull_contusion":false,"vomiting":false},{"age":30,"anticoagulant_therapy":false,"clinical_signs_skull_fracture":false,"ejected_from_vehicle":false,"fall_from_any_elevation":false,"gcs":15,"gcs_deterioration_1":false,"gcs_deterioration_ge_2":false,"loss_of_consciousness":false,"neurologic_deficit":false,"pedestrian_or_cyclist_vs_vehicle":false,"persistent_anterograde_amnesia":false,"posttraumatic_seizure":false,"pta_2_to_lt_4h":false,"pta_ge_4h":false,"skull_contusion":false,"vomiting":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"citation":{"authors":"Smits M, Dippel DW, Steyerberg EW, et al.","doi":"10.7326/0003-4819-146-6-200703200-00004","id":"smits-2007","pmid":"17371884","source":"Ann Intern Med. 2007;146(6):397-405","title":"Predicting intracranial traumatic findings on computed tomography in patients with minor head injury: the CHIP prediction rule"},"criteria":[{"factor":"pedestrian_or_cyclist_vs_vehicle","met":false},{"factor":"ejected_from_vehicle","met":false},{"factor":"vomiting","met":false},{"factor":"pta_ge_4h","met":false},{"factor":"clinical_signs_skull_fracture","met":false},{"factor":"gcs_lt_15","met":false,"value":15},{"factor":"gcs_deterioration_ge_2","met":false},{"factor":"anticoagulant_therapy","met":false},{"factor":"posttraumatic_seizure","met":false},{"factor":"age_ge_60","met":false,"value":30},{"factor":"fall_from_any_elevation","met":false},{"factor":"persistent_anterograde_amnesia","met":false},{"factor":"pta_2_to_lt_4h","met":false},{"factor":"skull_contusion","met":false},{"factor":"neurologic_deficit","met":false},{"factor":"loss_of_consciousness","met":false},{"factor":"gcs_deterioration_1","met":false},{"factor":"age_40_to_60","met":false,"value":30}],"ct_indicated":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":"chip","formula_expression":"ct indicated if ≥1 major (pedestrian_or_cyclist_vs_vehicle, ejected_from_vehicle, vomiting, pta_ge_4h, clinical_signs_skull_fracture, gcs < 15, gcs_deterioration_ge_2, anticoagulant_therapy, posttraumatic_seizure, age ≥ 60) or ≥2 minor (fall_from_any_elevation, persistent_anterograde_amnesia, pta_2_to_lt_4h, skull_contusion, neurologic_deficit, loss_of_consciousness, gcs_deterioration_1, age 40-60)","gcs":15,"major_count":0,"minor_count":0},{"age_years":30,"citation":{"authors":"Smits M, Dippel DW, Steyerberg EW, et al.","doi":"10.7326/0003-4819-146-6-200703200-00004","id":"smits-2007","pmid":"17371884","source":"Ann Intern Med. 2007;146(6):397-405","title":"Predicting intracranial traumatic findings on computed tomography in patients with minor head injury: the CHIP prediction rule"},"criteria":[{"factor":"pedestrian_or_cyclist_vs_vehicle","met":false},{"factor":"ejected_from_vehicle","met":false},{"factor":"vomiting","met":false},{"factor":"pta_ge_4h","met":false},{"factor":"clinical_signs_skull_fracture","met":false},{"factor":"gcs_lt_15","met":false,"value":15},{"factor":"gcs_deterioration_ge_2","met":false},{"factor":"anticoagulant_therapy","met":false},{"factor":"posttraumatic_seizure","met":false},{"factor":"age_ge_60","met":false,"value":30},{"factor":"fall_from_any_elevation","met":false},{"factor":"persistent_anterograde_amnesia","met":false},{"factor":"pta_2_to_lt_4h","met":false},{"factor":"skull_contusion","met":false},{"factor":"neurologic_deficit","met":false},{"factor":"loss_of_consciousness","met":false},{"factor":"gcs_deterioration_1","met":false},{"factor":"age_40_to_60","met":false,"value":30}],"ct_indicated":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":"chip","formula_expression":"ct indicated if ≥1 major (pedestrian_or_cyclist_vs_vehicle, ejected_from_vehicle, vomiting, pta_ge_4h, clinical_signs_skull_fracture, gcs < 15, gcs_deterioration_ge_2, anticoagulant_therapy, posttraumatic_seizure, age ≥ 60) or ≥2 minor (fall_from_any_elevation, persistent_anterograde_amnesia, pta_2_to_lt_4h, skull_contusion, neurologic_deficit, loss_of_consciousness, gcs_deterioration_1, age 40-60)","gcs":15,"major_count":0,"minor_count":0}],"path":"/api/calc/chip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 16-120). Age ≥60 is a major criterion. Age 40-59 is the 40-60 y minor band; 39 is neither. The published rule is for patients ≥16 years.","type":"integer"},"anticoagulant_therapy":{"description":"Use of anticoagulant therapy (Smits 2007 major). true or false as assigned by the caller. This is the 2007 simple rule, not the 2022 CHIP update. magent does not interpret a coagulation assay.","type":"boolean"},"clinical_signs_skull_fracture":{"description":"Clinical signs of skull fracture (Smits 2007 major): any injury that suggests a skull fracture, such as palpable discontinuity of the skull, leakage of cerebrospinal fluid, raccoon-eye bruising, and bleeding from the ear, as assigned by the caller. true or false. magent does not examine the patient.","type":"boolean"},"ejected_from_vehicle":{"description":"Ejected from vehicle (Smits 2007 major). true or false as assigned by the caller. magent does not classify mechanism.","type":"boolean"},"fall_from_any_elevation":{"description":"Fall from any elevation (Smits 2007 minor). true or false as assigned by the caller. magent does not classify mechanism.","type":"boolean"},"gcs":{"description":"Glasgow Coma Scale integer 13-15 as published. GCS 13 or 14 (GCS <15) is a major criterion; 15 is not. magent does not assign GCS from an exam.","type":"integer"},"gcs_deterioration_1":{"description":"GCS deterioration of 1 point 1 hour after presentation (Smits 2007 minor). true or false as assigned by the caller. Mutually exclusive with gcs_deterioration_ge_2. magent does not assign GCS change.","type":"boolean"},"gcs_deterioration_ge_2":{"description":"GCS deterioration ≥2 points 1 hour after presentation (Smits 2007 major). true or false as assigned by the caller. Mutually exclusive with gcs_deterioration_1. magent does not assign GCS change.","type":"boolean"},"loss_of_consciousness":{"description":"Loss of consciousness (Smits 2007 minor). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"neurologic_deficit":{"description":"Neurologic deficit (Smits 2007 minor). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pedestrian_or_cyclist_vs_vehicle":{"description":"Pedestrian or cyclist versus vehicle (Smits 2007 major). true or false as assigned by the caller. magent does not classify mechanism.","type":"boolean"},"persistent_anterograde_amnesia":{"description":"Persistent anterograde amnesia, any deficit of short-term memory (Smits 2007 minor). true or false as assigned by the caller. magent does not test memory.","type":"boolean"},"posttraumatic_seizure":{"description":"Posttraumatic seizure (Smits 2007 major). true or false as assigned by the caller. magent does not witness a seizure.","type":"boolean"},"pta_2_to_lt_4h":{"description":"Posttraumatic amnesia of 2 to <4 hours (Smits 2007 minor). true or false as assigned by the caller. Mutually exclusive with pta_ge_4h. magent does not measure amnesia duration.","type":"boolean"},"pta_ge_4h":{"description":"Posttraumatic amnesia ≥4 hours (Smits 2007 major). true or false as assigned by the caller. Mutually exclusive with pta_2_to_lt_4h. magent does not measure amnesia duration.","type":"boolean"},"skull_contusion":{"description":"Contusion of the skull (Smits 2007 minor). true or false as assigned by the caller. magent does not examine the scalp.","type":"boolean"},"vomiting":{"description":"Vomiting (Smits 2007 major). true or false as assigned by the caller. magent does not take a vomit count.","type":"boolean"}},"required":["age","gcs","pedestrian_or_cyclist_vs_vehicle","ejected_from_vehicle","vomiting","pta_ge_4h","clinical_signs_skull_fracture","gcs_deterioration_ge_2","anticoagulant_therapy","posttraumatic_seizure","fall_from_any_elevation","persistent_anterograde_amnesia","pta_2_to_lt_4h","skull_contusion","neurologic_deficit","loss_of_consciousness","gcs_deterioration_1"],"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":["chip","head-ct","emergency","trauma","minor-head-injury","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:46:16.78Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:46:16.654Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":30,"anticoagulant_therapy":false,"clinical_signs_skull_fracture":false,"ejected_from_vehicle":false,"fall_from_any_elevation":false,"gcs":15,"gcs_deterioration_1":false,"gcs_deterioration_ge_2":false,"loss_of_consciousness":false,"neurologic_deficit":false,"pedestrian_or_cyclist_vs_vehicle":false,"persistent_anterograde_amnesia":false,"posttraumatic_seizure":false,"pta_2_to_lt_4h":false,"pta_ge_4h":false,"skull_contusion":false,"vomiting":false},{"age":30,"anticoagulant_therapy":false,"clinical_signs_skull_fracture":false,"ejected_from_vehicle":false,"fall_from_any_elevation":false,"gcs":15,"gcs_deterioration_1":false,"gcs_deterioration_ge_2":false,"loss_of_consciousness":false,"neurologic_deficit":false,"pedestrian_or_cyclist_vs_vehicle":false,"persistent_anterograde_amnesia":false,"posttraumatic_seizure":false,"pta_2_to_lt_4h":false,"pta_ge_4h":false,"skull_contusion":false,"vomiting":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"citation":{"authors":"Smits M, Dippel DW, Steyerberg EW, et al.","doi":"10.7326/0003-4819-146-6-200703200-00004","id":"smits-2007","pmid":"17371884","source":"Ann Intern Med. 2007;146(6):397-405","title":"Predicting intracranial traumatic findings on computed tomography in patients with minor head injury: the CHIP prediction rule"},"criteria":[{"factor":"pedestrian_or_cyclist_vs_vehicle","met":false},{"factor":"ejected_from_vehicle","met":false},{"factor":"vomiting","met":false},{"factor":"pta_ge_4h","met":false},{"factor":"clinical_signs_skull_fracture","met":false},{"factor":"gcs_lt_15","met":false,"value":15},{"factor":"gcs_deterioration_ge_2","met":false},{"factor":"anticoagulant_therapy","met":false},{"factor":"posttraumatic_seizure","met":false},{"factor":"age_ge_60","met":false,"value":30},{"factor":"fall_from_any_elevation","met":false},{"factor":"persistent_anterograde_amnesia","met":false},{"factor":"pta_2_to_lt_4h","met":false},{"factor":"skull_contusion","met":false},{"factor":"neurologic_deficit","met":false},{"factor":"loss_of_consciousness","met":false},{"factor":"gcs_deterioration_1","met":false},{"factor":"age_40_to_60","met":false,"value":30}],"ct_indicated":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":"chip","formula_expression":"ct indicated if ≥1 major (pedestrian_or_cyclist_vs_vehicle, ejected_from_vehicle, vomiting, pta_ge_4h, clinical_signs_skull_fracture, gcs < 15, gcs_deterioration_ge_2, anticoagulant_therapy, posttraumatic_seizure, age ≥ 60) or ≥2 minor (fall_from_any_elevation, persistent_anterograde_amnesia, pta_2_to_lt_4h, skull_contusion, neurologic_deficit, loss_of_consciousness, gcs_deterioration_1, age 40-60)","gcs":15,"major_count":0,"minor_count":0},{"age_years":30,"citation":{"authors":"Smits M, Dippel DW, Steyerberg EW, et al.","doi":"10.7326/0003-4819-146-6-200703200-00004","id":"smits-2007","pmid":"17371884","source":"Ann Intern Med. 2007;146(6):397-405","title":"Predicting intracranial traumatic findings on computed tomography in patients with minor head injury: the CHIP prediction rule"},"criteria":[{"factor":"pedestrian_or_cyclist_vs_vehicle","met":false},{"factor":"ejected_from_vehicle","met":false},{"factor":"vomiting","met":false},{"factor":"pta_ge_4h","met":false},{"factor":"clinical_signs_skull_fracture","met":false},{"factor":"gcs_lt_15","met":false,"value":15},{"factor":"gcs_deterioration_ge_2","met":false},{"factor":"anticoagulant_therapy","met":false},{"factor":"posttraumatic_seizure","met":false},{"factor":"age_ge_60","met":false,"value":30},{"factor":"fall_from_any_elevation","met":false},{"factor":"persistent_anterograde_amnesia","met":false},{"factor":"pta_2_to_lt_4h","met":false},{"factor":"skull_contusion","met":false},{"factor":"neurologic_deficit","met":false},{"factor":"loss_of_consciousness","met":false},{"factor":"gcs_deterioration_1","met":false},{"factor":"age_40_to_60","met":false,"value":30}],"ct_indicated":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":"chip","formula_expression":"ct indicated if ≥1 major (pedestrian_or_cyclist_vs_vehicle, ejected_from_vehicle, vomiting, pta_ge_4h, clinical_signs_skull_fracture, gcs < 15, gcs_deterioration_ge_2, anticoagulant_therapy, posttraumatic_seizure, age ≥ 60) or ≥2 minor (fall_from_any_elevation, persistent_anterograde_amnesia, pta_2_to_lt_4h, skull_contusion, neurologic_deficit, loss_of_consciousness, gcs_deterioration_1, age 40-60)","gcs":15,"major_count":0,"minor_count":0}],"path":"/api/calc/chip"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 16-120). Age ≥60 is a major criterion. Age 40-59 is the 40-60 y minor band; 39 is neither. The published rule is for patients ≥16 years.","type":"integer"},"anticoagulant_therapy":{"description":"Use of anticoagulant therapy (Smits 2007 major). true or false as assigned by the caller. This is the 2007 simple rule, not the 2022 CHIP update. magent does not interpret a coagulation assay.","type":"boolean"},"clinical_signs_skull_fracture":{"description":"Clinical signs of skull fracture (Smits 2007 major): any injury that suggests a skull fracture, such as palpable discontinuity of the skull, leakage of cerebrospinal fluid, raccoon-eye bruising, and bleeding from the ear, as assigned by the caller. true or false. magent does not examine the patient.","type":"boolean"},"ejected_from_vehicle":{"description":"Ejected from vehicle (Smits 2007 major). true or false as assigned by the caller. magent does not classify mechanism.","type":"boolean"},"fall_from_any_elevation":{"description":"Fall from any elevation (Smits 2007 minor). true or false as assigned by the caller. magent does not classify mechanism.","type":"boolean"},"gcs":{"description":"Glasgow Coma Scale integer 13-15 as published. GCS 13 or 14 (GCS <15) is a major criterion; 15 is not. magent does not assign GCS from an exam.","type":"integer"},"gcs_deterioration_1":{"description":"GCS deterioration of 1 point 1 hour after presentation (Smits 2007 minor). true or false as assigned by the caller. Mutually exclusive with gcs_deterioration_ge_2. magent does not assign GCS change.","type":"boolean"},"gcs_deterioration_ge_2":{"description":"GCS deterioration ≥2 points 1 hour after presentation (Smits 2007 major). true or false as assigned by the caller. Mutually exclusive with gcs_deterioration_1. magent does not assign GCS change.","type":"boolean"},"loss_of_consciousness":{"description":"Loss of consciousness (Smits 2007 minor). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"neurologic_deficit":{"description":"Neurologic deficit (Smits 2007 minor). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"pedestrian_or_cyclist_vs_vehicle":{"description":"Pedestrian or cyclist versus vehicle (Smits 2007 major). true or false as assigned by the caller. magent does not classify mechanism.","type":"boolean"},"persistent_anterograde_amnesia":{"description":"Persistent anterograde amnesia, any deficit of short-term memory (Smits 2007 minor). true or false as assigned by the caller. magent does not test memory.","type":"boolean"},"posttraumatic_seizure":{"description":"Posttraumatic seizure (Smits 2007 major). true or false as assigned by the caller. magent does not witness a seizure.","type":"boolean"},"pta_2_to_lt_4h":{"description":"Posttraumatic amnesia of 2 to <4 hours (Smits 2007 minor). true or false as assigned by the caller. Mutually exclusive with pta_ge_4h. magent does not measure amnesia duration.","type":"boolean"},"pta_ge_4h":{"description":"Posttraumatic amnesia ≥4 hours (Smits 2007 major). true or false as assigned by the caller. Mutually exclusive with pta_2_to_lt_4h. magent does not measure amnesia duration.","type":"boolean"},"skull_contusion":{"description":"Contusion of the skull (Smits 2007 minor). true or false as assigned by the caller. magent does not examine the scalp.","type":"boolean"},"vomiting":{"description":"Vomiting (Smits 2007 major). true or false as assigned by the caller. magent does not take a vomit count.","type":"boolean"}},"required":["age","gcs","pedestrian_or_cyclist_vs_vehicle","ejected_from_vehicle","vomiting","pta_ge_4h","clinical_signs_skull_fracture","gcs_deterioration_ge_2","anticoagulant_therapy","posttraumatic_seizure","fall_from_any_elevation","persistent_anterograde_amnesia","pta_2_to_lt_4h","skull_contusion","neurologic_deficit","loss_of_consciousness","gcs_deterioration_1"],"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},{"id":39243,"slug":"39243","resource":"https://api.magentlab.com/api/calc/child_pugh","description":"Child–Pugh (Child–Turcotte–Pugh) cirrhosis severity from bilirubin, albumin, INR, caller-assigned encephalopathy, and ascites. Deterministic published score with citation; not a transplant listing protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":4,"albumin_g_l":40,"ascites":"none","bilirubin_mg_dl":1,"bilirubin_umol_l":17.1,"encephalopathy":"none","inr":1.2},{"albumin_g_dl":4,"albumin_g_l":40,"ascites":"none","bilirubin_mg_dl":1,"bilirubin_umol_l":17.1,"encephalopathy":"none","inr":1.2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":4,"ascites":"none","bilirubin_mg_dl":1,"child_pugh_class":"A","citation":{"authors":"Pugh RNH, Murray-Lyon IM, Dawson JL, Pietroni MC, Williams R","doi":"10.1002/bjs.1800600817","id":"pugh-1973","source":"Br J Surg. 1973;60(8):646-649","title":"Transection of the oesophagus for bleeding oesophageal varices"},"components":[{"factor":"bilirubin","points":1,"present":false,"value":1},{"factor":"albumin","points":1,"present":false,"value":4},{"factor":"inr","points":1,"present":false,"value":1.2},{"factor":"encephalopathy","points":1,"present":false,"value":"none"},{"factor":"ascites","points":1,"present":false,"value":"none"}],"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.","encephalopathy":"none","formula":"child_pugh","formula_expression":"Child-Pugh = bilirubin + albumin + INR + encephalopathy + ascites; each 1-3; class A 5-6, B 7-9, C 10-15; max 15","inr":1.2,"max_score":15,"score":5},{"albumin_g_dl":4,"ascites":"none","bilirubin_mg_dl":1,"child_pugh_class":"A","citation":{"authors":"Pugh RNH, Murray-Lyon IM, Dawson JL, Pietroni MC, Williams R","doi":"10.1002/bjs.1800600817","id":"pugh-1973","source":"Br J Surg. 1973;60(8):646-649","title":"Transection of the oesophagus for bleeding oesophageal varices"},"components":[{"factor":"bilirubin","points":1,"present":false,"value":1},{"factor":"albumin","points":1,"present":false,"value":4},{"factor":"inr","points":1,"present":false,"value":1.2},{"factor":"encephalopathy","points":1,"present":false,"value":"none"},{"factor":"ascites","points":1,"present":false,"value":"none"}],"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.","encephalopathy":"none","formula":"child_pugh","formula_expression":"Child-Pugh = bilirubin + albumin + INR + encephalopathy + ascites; each 1-3; class A 5-6, B 7-9, C 10-15; max 15","inr":1.2,"max_score":15,"score":5}],"path":"/api/calc/child_pugh"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide this or albumin_g_l. >3.5 scores 1; 2.8-3.5 scores 2; <2.8 scores 3.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L. Converted as g/dL = g/L / 10.","type":"number"},"ascites":{"description":"Caller-assigned ascites. none scores 1; slight scores 2; moderate scores 3. magent does not examine the patient.","enum":["none","slight","moderate"],"type":"string"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. <2.0 scores 1; 2.0-3.0 scores 2; >3.0 scores 3.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1.","type":"number"},"encephalopathy":{"description":"Caller-assigned encephalopathy grade. none scores 1; grade_1_2 scores 2; grade_3_4 scores 3. magent does not examine the patient.","enum":["none","grade_1_2","grade_3_4"],"type":"string"},"inr":{"description":"INR (0.8-10). Contemporary substitute for Pugh PT-prolongation seconds. <1.70 scores 1; 1.70-2.30 scores 2; >2.30 scores 3.","type":"number"}},"required":["inr","encephalopathy","ascites"],"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":["child-pugh","cirrhosis","liver","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:46:15.874Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:46:15.669Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":4,"albumin_g_l":40,"ascites":"none","bilirubin_mg_dl":1,"bilirubin_umol_l":17.1,"encephalopathy":"none","inr":1.2},{"albumin_g_dl":4,"albumin_g_l":40,"ascites":"none","bilirubin_mg_dl":1,"bilirubin_umol_l":17.1,"encephalopathy":"none","inr":1.2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":4,"ascites":"none","bilirubin_mg_dl":1,"child_pugh_class":"A","citation":{"authors":"Pugh RNH, Murray-Lyon IM, Dawson JL, Pietroni MC, Williams R","doi":"10.1002/bjs.1800600817","id":"pugh-1973","source":"Br J Surg. 1973;60(8):646-649","title":"Transection of the oesophagus for bleeding oesophageal varices"},"components":[{"factor":"bilirubin","points":1,"present":false,"value":1},{"factor":"albumin","points":1,"present":false,"value":4},{"factor":"inr","points":1,"present":false,"value":1.2},{"factor":"encephalopathy","points":1,"present":false,"value":"none"},{"factor":"ascites","points":1,"present":false,"value":"none"}],"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.","encephalopathy":"none","formula":"child_pugh","formula_expression":"Child-Pugh = bilirubin + albumin + INR + encephalopathy + ascites; each 1-3; class A 5-6, B 7-9, C 10-15; max 15","inr":1.2,"max_score":15,"score":5},{"albumin_g_dl":4,"ascites":"none","bilirubin_mg_dl":1,"child_pugh_class":"A","citation":{"authors":"Pugh RNH, Murray-Lyon IM, Dawson JL, Pietroni MC, Williams R","doi":"10.1002/bjs.1800600817","id":"pugh-1973","source":"Br J Surg. 1973;60(8):646-649","title":"Transection of the oesophagus for bleeding oesophageal varices"},"components":[{"factor":"bilirubin","points":1,"present":false,"value":1},{"factor":"albumin","points":1,"present":false,"value":4},{"factor":"inr","points":1,"present":false,"value":1.2},{"factor":"encephalopathy","points":1,"present":false,"value":"none"},{"factor":"ascites","points":1,"present":false,"value":"none"}],"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.","encephalopathy":"none","formula":"child_pugh","formula_expression":"Child-Pugh = bilirubin + albumin + INR + encephalopathy + ascites; each 1-3; class A 5-6, B 7-9, C 10-15; max 15","inr":1.2,"max_score":15,"score":5}],"path":"/api/calc/child_pugh"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide this or albumin_g_l. >3.5 scores 1; 2.8-3.5 scores 2; <2.8 scores 3.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L. Converted as g/dL = g/L / 10.","type":"number"},"ascites":{"description":"Caller-assigned ascites. none scores 1; slight scores 2; moderate scores 3. magent does not examine the patient.","enum":["none","slight","moderate"],"type":"string"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. <2.0 scores 1; 2.0-3.0 scores 2; >3.0 scores 3.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1.","type":"number"},"encephalopathy":{"description":"Caller-assigned encephalopathy grade. none scores 1; grade_1_2 scores 2; grade_3_4 scores 3. magent does not examine the patient.","enum":["none","grade_1_2","grade_3_4"],"type":"string"},"inr":{"description":"INR (0.8-10). Contemporary substitute for Pugh PT-prolongation seconds. <1.70 scores 1; 1.70-2.30 scores 2; >2.30 scores 3.","type":"number"}},"required":["inr","encephalopathy","ascites"],"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},{"id":39244,"slug":"39244","resource":"https://api.magentlab.com/api/calc/cheops","description":"McGrath 1985 CHEOPS from six caller-assigned observational categories (cry 1-3; facial 0-2; child_verbal 0-2; torso, touch, and legs 1-2). magent sums only (published range 4-13) and does not observe the child. No invented analgesic cutoffs. Not a pain diagnosis or analgesic order. Not FLACC. Not BOPS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"child_verbal":0,"cry":1,"facial":0,"legs":1,"torso":1,"touch":1},{"child_verbal":0,"cry":1,"facial":0,"legs":1,"torso":1,"touch":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"child_verbal":0,"citation":{"authors":"McGrath PJ, Johnson G, Goodman JT, Schillinger J, Dunn J, Chapman J","doi":"10.1016/0304-3959(84)90167-2","id":"mcgrath-1985","source":"In: Fields HL, ed. Advances in Pain Research and Therapy. Vol 9. New York: Raven Press; 1985:395-402","title":"CHEOPS: a behavioral scale for rating postoperative pain in children"},"components":[{"factor":"cry","points":1,"present":true,"value":1},{"factor":"facial","points":0,"present":true,"value":0},{"factor":"child_verbal","points":0,"present":true,"value":0},{"factor":"torso","points":1,"present":true,"value":1},{"factor":"touch","points":1,"present":true,"value":1},{"factor":"legs","points":1,"present":true,"value":1}],"cry":1,"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.","facial":0,"formula":"cheops","formula_expression":"CHEOPS = cry + facial + child_verbal + torso + touch + legs; McGrath 1985 published integers; min 4, max 13","legs":1,"max_score":13,"score":4,"torso":1,"touch":1},{"child_verbal":0,"citation":{"authors":"McGrath PJ, Johnson G, Goodman JT, Schillinger J, Dunn J, Chapman J","doi":"10.1016/0304-3959(84)90167-2","id":"mcgrath-1985","source":"In: Fields HL, ed. Advances in Pain Research and Therapy. Vol 9. New York: Raven Press; 1985:395-402","title":"CHEOPS: a behavioral scale for rating postoperative pain in children"},"components":[{"factor":"cry","points":1,"present":true,"value":1},{"factor":"facial","points":0,"present":true,"value":0},{"factor":"child_verbal","points":0,"present":true,"value":0},{"factor":"torso","points":1,"present":true,"value":1},{"factor":"touch","points":1,"present":true,"value":1},{"factor":"legs","points":1,"present":true,"value":1}],"cry":1,"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.","facial":0,"formula":"cheops","formula_expression":"CHEOPS = cry + facial + child_verbal + torso + touch + legs; McGrath 1985 published integers; min 4, max 13","legs":1,"max_score":13,"score":4,"torso":1,"touch":1}],"path":"/api/calc/cheops"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"child_verbal":{"description":"Caller-assigned McGrath 1985 CHEOPS child verbal (integer 0-2): 0 positive statements; 1 none or other non-pain complaints; 2 pain complaints (both-complaints also 2; there is no published 3). magent does not observe the child.","type":"integer"},"cry":{"description":"Caller-assigned McGrath 1985 CHEOPS cry (integer 1-3; 0 is not published): 1 no crying; 2 moaning or crying; 3 scream. magent does not observe the child.","type":"integer"},"facial":{"description":"Caller-assigned McGrath 1985 CHEOPS facial (integer 0-2): 0 smiling; 1 composed/neutral; 2 grimace. magent does not observe the child.","type":"integer"},"legs":{"description":"Caller-assigned McGrath 1985 CHEOPS legs (integer 1-2; 0 is not published): 1 neutral; 2 squirm/kicking, drawn up/tense, standing, or restrained. magent does not observe the child.","type":"integer"},"torso":{"description":"Caller-assigned McGrath 1985 CHEOPS torso (integer 1-2; 0 is not published): 1 neutral/resting; 2 shifting, tense, shivering, upright, or restrained. magent does not observe the child.","type":"integer"},"touch":{"description":"Caller-assigned McGrath 1985 CHEOPS touch (integer 1-2; 0 is not published): 1 not touching wound; 2 reaching, touching, grabbing, or arms restrained. magent does not observe the child.","type":"integer"}},"required":["cry","facial","child_verbal","torso","touch","legs"],"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":["cheops","pain","pediatric","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:46:15.067Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:46:14.884Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"child_verbal":0,"cry":1,"facial":0,"legs":1,"torso":1,"touch":1},{"child_verbal":0,"cry":1,"facial":0,"legs":1,"torso":1,"touch":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"child_verbal":0,"citation":{"authors":"McGrath PJ, Johnson G, Goodman JT, Schillinger J, Dunn J, Chapman J","doi":"10.1016/0304-3959(84)90167-2","id":"mcgrath-1985","source":"In: Fields HL, ed. Advances in Pain Research and Therapy. Vol 9. New York: Raven Press; 1985:395-402","title":"CHEOPS: a behavioral scale for rating postoperative pain in children"},"components":[{"factor":"cry","points":1,"present":true,"value":1},{"factor":"facial","points":0,"present":true,"value":0},{"factor":"child_verbal","points":0,"present":true,"value":0},{"factor":"torso","points":1,"present":true,"value":1},{"factor":"touch","points":1,"present":true,"value":1},{"factor":"legs","points":1,"present":true,"value":1}],"cry":1,"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.","facial":0,"formula":"cheops","formula_expression":"CHEOPS = cry + facial + child_verbal + torso + touch + legs; McGrath 1985 published integers; min 4, max 13","legs":1,"max_score":13,"score":4,"torso":1,"touch":1},{"child_verbal":0,"citation":{"authors":"McGrath PJ, Johnson G, Goodman JT, Schillinger J, Dunn J, Chapman J","doi":"10.1016/0304-3959(84)90167-2","id":"mcgrath-1985","source":"In: Fields HL, ed. Advances in Pain Research and Therapy. Vol 9. New York: Raven Press; 1985:395-402","title":"CHEOPS: a behavioral scale for rating postoperative pain in children"},"components":[{"factor":"cry","points":1,"present":true,"value":1},{"factor":"facial","points":0,"present":true,"value":0},{"factor":"child_verbal","points":0,"present":true,"value":0},{"factor":"torso","points":1,"present":true,"value":1},{"factor":"touch","points":1,"present":true,"value":1},{"factor":"legs","points":1,"present":true,"value":1}],"cry":1,"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.","facial":0,"formula":"cheops","formula_expression":"CHEOPS = cry + facial + child_verbal + torso + touch + legs; McGrath 1985 published integers; min 4, max 13","legs":1,"max_score":13,"score":4,"torso":1,"touch":1}],"path":"/api/calc/cheops"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"child_verbal":{"description":"Caller-assigned McGrath 1985 CHEOPS child verbal (integer 0-2): 0 positive statements; 1 none or other non-pain complaints; 2 pain complaints (both-complaints also 2; there is no published 3). magent does not observe the child.","type":"integer"},"cry":{"description":"Caller-assigned McGrath 1985 CHEOPS cry (integer 1-3; 0 is not published): 1 no crying; 2 moaning or crying; 3 scream. magent does not observe the child.","type":"integer"},"facial":{"description":"Caller-assigned McGrath 1985 CHEOPS facial (integer 0-2): 0 smiling; 1 composed/neutral; 2 grimace. magent does not observe the child.","type":"integer"},"legs":{"description":"Caller-assigned McGrath 1985 CHEOPS legs (integer 1-2; 0 is not published): 1 neutral; 2 squirm/kicking, drawn up/tense, standing, or restrained. magent does not observe the child.","type":"integer"},"torso":{"description":"Caller-assigned McGrath 1985 CHEOPS torso (integer 1-2; 0 is not published): 1 neutral/resting; 2 shifting, tense, shivering, upright, or restrained. magent does not observe the child.","type":"integer"},"touch":{"description":"Caller-assigned McGrath 1985 CHEOPS touch (integer 1-2; 0 is not published): 1 not touching wound; 2 reaching, touching, grabbing, or arms restrained. magent does not observe the child.","type":"integer"}},"required":["cry","facial","child_verbal","torso","touch","legs"],"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},{"id":39245,"slug":"39245","resource":"https://api.magentlab.com/api/calc/charlson","description":"Charlson 1987 original weighted comorbidity index. Nineteen caller-assigned flags with published weights 1, 2, 3, or 6 (max 37). 1-year mortality groups: 0, 1–2, 3–4, ≥5. Flags are independent (overlapping pairs are not dropped). Not a diagnosis, not Deyo or Quan ICD mapping, not age-adjusted Charlson. LACE takes the integer this tool returns. magent does not diagnose.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"aids":false,"any_tumor":false,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"congestive_heart_failure":false,"connective_tissue_disease":false,"dementia":false,"diabetes":false,"diabetes_end_organ":false,"hemiplegia":false,"leukemia":false,"lymphoma":false,"metastatic_solid_tumor":false,"mild_liver_disease":false,"moderate_severe_liver_disease":false,"moderate_severe_renal_disease":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false},{"aids":false,"any_tumor":false,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"congestive_heart_failure":false,"connective_tissue_disease":false,"dementia":false,"diabetes":false,"diabetes_end_organ":false,"hemiplegia":false,"leukemia":false,"lymphoma":false,"metastatic_solid_tumor":false,"mild_liver_disease":false,"moderate_severe_liver_disease":false,"moderate_severe_renal_disease":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"charlson_band":"score_0","citation":{"authors":"Charlson ME, Pompei P, Ales KL, MacKenzie CR","doi":"10.1016/0021-9681(87)90171-8","id":"charlson-1987","pmid":"3558716","source":"J Chronic Dis. 1987;40(5):373-383","title":"A new method of classifying prognostic comorbidity in longitudinal studies: development and validation"},"components":[{"factor":"myocardial_infarction","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"peripheral_vascular_disease","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"dementia","points":0,"present":false},{"factor":"chronic_pulmonary_disease","points":0,"present":false},{"factor":"connective_tissue_disease","points":0,"present":false},{"factor":"peptic_ulcer_disease","points":0,"present":false},{"factor":"mild_liver_disease","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hemiplegia","points":0,"present":false},{"factor":"moderate_severe_renal_disease","points":0,"present":false},{"factor":"diabetes_end_organ","points":0,"present":false},{"factor":"any_tumor","points":0,"present":false},{"factor":"leukemia","points":0,"present":false},{"factor":"lymphoma","points":0,"present":false},{"factor":"moderate_severe_liver_disease","points":0,"present":false},{"factor":"metastatic_solid_tumor","points":0,"present":false},{"factor":"aids","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":"charlson","formula_expression":"CCI = myocardial_infarction 1 + congestive_heart_failure 1 + peripheral_vascular_disease 1 + cerebrovascular_disease 1 + dementia 1 + chronic_pulmonary_disease 1 + connective_tissue_disease 1 + peptic_ulcer_disease 1 + mild_liver_disease 1 + diabetes 1 + hemiplegia 2 + moderate_severe_renal_disease 2 + diabetes_end_organ 2 + any_tumor 2 + leukemia 2 + lymphoma 2 + moderate_severe_liver_disease 3 + metastatic_solid_tumor 6 + aids 6; Charlson 1987 original weighted index; max 37; 1-year mortality groups 0 / 1-2 / 3-4 / >=5; flags independent","max_score":37,"score":0},{"charlson_band":"score_0","citation":{"authors":"Charlson ME, Pompei P, Ales KL, MacKenzie CR","doi":"10.1016/0021-9681(87)90171-8","id":"charlson-1987","pmid":"3558716","source":"J Chronic Dis. 1987;40(5):373-383","title":"A new method of classifying prognostic comorbidity in longitudinal studies: development and validation"},"components":[{"factor":"myocardial_infarction","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"peripheral_vascular_disease","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"dementia","points":0,"present":false},{"factor":"chronic_pulmonary_disease","points":0,"present":false},{"factor":"connective_tissue_disease","points":0,"present":false},{"factor":"peptic_ulcer_disease","points":0,"present":false},{"factor":"mild_liver_disease","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hemiplegia","points":0,"present":false},{"factor":"moderate_severe_renal_disease","points":0,"present":false},{"factor":"diabetes_end_organ","points":0,"present":false},{"factor":"any_tumor","points":0,"present":false},{"factor":"leukemia","points":0,"present":false},{"factor":"lymphoma","points":0,"present":false},{"factor":"moderate_severe_liver_disease","points":0,"present":false},{"factor":"metastatic_solid_tumor","points":0,"present":false},{"factor":"aids","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":"charlson","formula_expression":"CCI = myocardial_infarction 1 + congestive_heart_failure 1 + peripheral_vascular_disease 1 + cerebrovascular_disease 1 + dementia 1 + chronic_pulmonary_disease 1 + connective_tissue_disease 1 + peptic_ulcer_disease 1 + mild_liver_disease 1 + diabetes 1 + hemiplegia 2 + moderate_severe_renal_disease 2 + diabetes_end_organ 2 + any_tumor 2 + leukemia 2 + lymphoma 2 + moderate_severe_liver_disease 3 + metastatic_solid_tumor 6 + aids 6; Charlson 1987 original weighted index; max 37; 1-year mortality groups 0 / 1-2 / 3-4 / >=5; flags independent","max_score":37,"score":0}],"path":"/api/calc/charlson"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"aids":{"description":"AIDS as assigned by the caller (Charlson 1987). true scores 6. magent does not diagnose AIDS.","type":"boolean"},"any_tumor":{"description":"Any tumor (solid tumor without metastasis) as assigned by the caller (Charlson 1987). true scores 2. Independent of metastatic_solid_tumor. magent does not diagnose cancer.","type":"boolean"},"cerebrovascular_disease":{"description":"Cerebrovascular disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose stroke or TIA.","type":"boolean"},"chronic_pulmonary_disease":{"description":"Chronic pulmonary disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose lung disease.","type":"boolean"},"congestive_heart_failure":{"description":"Congestive heart failure as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose heart failure.","type":"boolean"},"connective_tissue_disease":{"description":"Connective tissue disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose connective-tissue disease.","type":"boolean"},"dementia":{"description":"Dementia as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose dementia.","type":"boolean"},"diabetes":{"description":"Diabetes without end-organ damage as assigned by the caller (Charlson 1987). true scores 1. Independent of diabetes_end_organ. magent does not diagnose diabetes.","type":"boolean"},"diabetes_end_organ":{"description":"Diabetes with end-organ damage as assigned by the caller (Charlson 1987). true scores 2. Independent of diabetes. magent does not diagnose diabetes.","type":"boolean"},"hemiplegia":{"description":"Hemiplegia as assigned by the caller (Charlson 1987). true scores 2. magent does not diagnose hemiplegia.","type":"boolean"},"leukemia":{"description":"Leukemia as assigned by the caller (Charlson 1987). true scores 2. magent does not diagnose leukemia.","type":"boolean"},"lymphoma":{"description":"Lymphoma as assigned by the caller (Charlson 1987). true scores 2. magent does not diagnose lymphoma.","type":"boolean"},"metastatic_solid_tumor":{"description":"Metastatic solid tumor as assigned by the caller (Charlson 1987). true scores 6. Independent of any_tumor. magent does not diagnose cancer.","type":"boolean"},"mild_liver_disease":{"description":"Mild liver disease as assigned by the caller (Charlson 1987). true scores 1. magent does not grade liver disease.","type":"boolean"},"moderate_severe_liver_disease":{"description":"Moderate or severe liver disease as assigned by the caller (Charlson 1987). true scores 3. Independent of mild_liver_disease. magent does not grade liver disease.","type":"boolean"},"moderate_severe_renal_disease":{"description":"Moderate or severe renal disease as assigned by the caller (Charlson 1987). true scores 2. magent does not grade kidney disease.","type":"boolean"},"myocardial_infarction":{"description":"Myocardial infarction as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose infarction.","type":"boolean"},"peptic_ulcer_disease":{"description":"Peptic ulcer disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose ulcer disease.","type":"boolean"},"peripheral_vascular_disease":{"description":"Peripheral vascular disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose vascular disease.","type":"boolean"}},"required":["myocardial_infarction","congestive_heart_failure","peripheral_vascular_disease","cerebrovascular_disease","dementia","chronic_pulmonary_disease","connective_tissue_disease","peptic_ulcer_disease","mild_liver_disease","diabetes","hemiplegia","moderate_severe_renal_disease","diabetes_end_organ","any_tumor","leukemia","lymphoma","moderate_severe_liver_disease","metastatic_solid_tumor","aids"],"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":["charlson","cci","comorbidity","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:36:20.45Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:36:20.301Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"aids":false,"any_tumor":false,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"congestive_heart_failure":false,"connective_tissue_disease":false,"dementia":false,"diabetes":false,"diabetes_end_organ":false,"hemiplegia":false,"leukemia":false,"lymphoma":false,"metastatic_solid_tumor":false,"mild_liver_disease":false,"moderate_severe_liver_disease":false,"moderate_severe_renal_disease":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false},{"aids":false,"any_tumor":false,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"congestive_heart_failure":false,"connective_tissue_disease":false,"dementia":false,"diabetes":false,"diabetes_end_organ":false,"hemiplegia":false,"leukemia":false,"lymphoma":false,"metastatic_solid_tumor":false,"mild_liver_disease":false,"moderate_severe_liver_disease":false,"moderate_severe_renal_disease":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"charlson_band":"score_0","citation":{"authors":"Charlson ME, Pompei P, Ales KL, MacKenzie CR","doi":"10.1016/0021-9681(87)90171-8","id":"charlson-1987","pmid":"3558716","source":"J Chronic Dis. 1987;40(5):373-383","title":"A new method of classifying prognostic comorbidity in longitudinal studies: development and validation"},"components":[{"factor":"myocardial_infarction","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"peripheral_vascular_disease","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"dementia","points":0,"present":false},{"factor":"chronic_pulmonary_disease","points":0,"present":false},{"factor":"connective_tissue_disease","points":0,"present":false},{"factor":"peptic_ulcer_disease","points":0,"present":false},{"factor":"mild_liver_disease","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hemiplegia","points":0,"present":false},{"factor":"moderate_severe_renal_disease","points":0,"present":false},{"factor":"diabetes_end_organ","points":0,"present":false},{"factor":"any_tumor","points":0,"present":false},{"factor":"leukemia","points":0,"present":false},{"factor":"lymphoma","points":0,"present":false},{"factor":"moderate_severe_liver_disease","points":0,"present":false},{"factor":"metastatic_solid_tumor","points":0,"present":false},{"factor":"aids","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":"charlson","formula_expression":"CCI = myocardial_infarction 1 + congestive_heart_failure 1 + peripheral_vascular_disease 1 + cerebrovascular_disease 1 + dementia 1 + chronic_pulmonary_disease 1 + connective_tissue_disease 1 + peptic_ulcer_disease 1 + mild_liver_disease 1 + diabetes 1 + hemiplegia 2 + moderate_severe_renal_disease 2 + diabetes_end_organ 2 + any_tumor 2 + leukemia 2 + lymphoma 2 + moderate_severe_liver_disease 3 + metastatic_solid_tumor 6 + aids 6; Charlson 1987 original weighted index; max 37; 1-year mortality groups 0 / 1-2 / 3-4 / >=5; flags independent","max_score":37,"score":0},{"charlson_band":"score_0","citation":{"authors":"Charlson ME, Pompei P, Ales KL, MacKenzie CR","doi":"10.1016/0021-9681(87)90171-8","id":"charlson-1987","pmid":"3558716","source":"J Chronic Dis. 1987;40(5):373-383","title":"A new method of classifying prognostic comorbidity in longitudinal studies: development and validation"},"components":[{"factor":"myocardial_infarction","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"peripheral_vascular_disease","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"dementia","points":0,"present":false},{"factor":"chronic_pulmonary_disease","points":0,"present":false},{"factor":"connective_tissue_disease","points":0,"present":false},{"factor":"peptic_ulcer_disease","points":0,"present":false},{"factor":"mild_liver_disease","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hemiplegia","points":0,"present":false},{"factor":"moderate_severe_renal_disease","points":0,"present":false},{"factor":"diabetes_end_organ","points":0,"present":false},{"factor":"any_tumor","points":0,"present":false},{"factor":"leukemia","points":0,"present":false},{"factor":"lymphoma","points":0,"present":false},{"factor":"moderate_severe_liver_disease","points":0,"present":false},{"factor":"metastatic_solid_tumor","points":0,"present":false},{"factor":"aids","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":"charlson","formula_expression":"CCI = myocardial_infarction 1 + congestive_heart_failure 1 + peripheral_vascular_disease 1 + cerebrovascular_disease 1 + dementia 1 + chronic_pulmonary_disease 1 + connective_tissue_disease 1 + peptic_ulcer_disease 1 + mild_liver_disease 1 + diabetes 1 + hemiplegia 2 + moderate_severe_renal_disease 2 + diabetes_end_organ 2 + any_tumor 2 + leukemia 2 + lymphoma 2 + moderate_severe_liver_disease 3 + metastatic_solid_tumor 6 + aids 6; Charlson 1987 original weighted index; max 37; 1-year mortality groups 0 / 1-2 / 3-4 / >=5; flags independent","max_score":37,"score":0}],"path":"/api/calc/charlson"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"aids":{"description":"AIDS as assigned by the caller (Charlson 1987). true scores 6. magent does not diagnose AIDS.","type":"boolean"},"any_tumor":{"description":"Any tumor (solid tumor without metastasis) as assigned by the caller (Charlson 1987). true scores 2. Independent of metastatic_solid_tumor. magent does not diagnose cancer.","type":"boolean"},"cerebrovascular_disease":{"description":"Cerebrovascular disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose stroke or TIA.","type":"boolean"},"chronic_pulmonary_disease":{"description":"Chronic pulmonary disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose lung disease.","type":"boolean"},"congestive_heart_failure":{"description":"Congestive heart failure as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose heart failure.","type":"boolean"},"connective_tissue_disease":{"description":"Connective tissue disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose connective-tissue disease.","type":"boolean"},"dementia":{"description":"Dementia as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose dementia.","type":"boolean"},"diabetes":{"description":"Diabetes without end-organ damage as assigned by the caller (Charlson 1987). true scores 1. Independent of diabetes_end_organ. magent does not diagnose diabetes.","type":"boolean"},"diabetes_end_organ":{"description":"Diabetes with end-organ damage as assigned by the caller (Charlson 1987). true scores 2. Independent of diabetes. magent does not diagnose diabetes.","type":"boolean"},"hemiplegia":{"description":"Hemiplegia as assigned by the caller (Charlson 1987). true scores 2. magent does not diagnose hemiplegia.","type":"boolean"},"leukemia":{"description":"Leukemia as assigned by the caller (Charlson 1987). true scores 2. magent does not diagnose leukemia.","type":"boolean"},"lymphoma":{"description":"Lymphoma as assigned by the caller (Charlson 1987). true scores 2. magent does not diagnose lymphoma.","type":"boolean"},"metastatic_solid_tumor":{"description":"Metastatic solid tumor as assigned by the caller (Charlson 1987). true scores 6. Independent of any_tumor. magent does not diagnose cancer.","type":"boolean"},"mild_liver_disease":{"description":"Mild liver disease as assigned by the caller (Charlson 1987). true scores 1. magent does not grade liver disease.","type":"boolean"},"moderate_severe_liver_disease":{"description":"Moderate or severe liver disease as assigned by the caller (Charlson 1987). true scores 3. Independent of mild_liver_disease. magent does not grade liver disease.","type":"boolean"},"moderate_severe_renal_disease":{"description":"Moderate or severe renal disease as assigned by the caller (Charlson 1987). true scores 2. magent does not grade kidney disease.","type":"boolean"},"myocardial_infarction":{"description":"Myocardial infarction as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose infarction.","type":"boolean"},"peptic_ulcer_disease":{"description":"Peptic ulcer disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose ulcer disease.","type":"boolean"},"peripheral_vascular_disease":{"description":"Peripheral vascular disease as assigned by the caller (Charlson 1987). true scores 1. magent does not diagnose vascular disease.","type":"boolean"}},"required":["myocardial_infarction","congestive_heart_failure","peripheral_vascular_disease","cerebrovascular_disease","dementia","chronic_pulmonary_disease","connective_tissue_disease","peptic_ulcer_disease","mild_liver_disease","diabetes","hemiplegia","moderate_severe_renal_disease","diabetes_end_organ","any_tumor","leukemia","lymphoma","moderate_severe_liver_disease","metastatic_solid_tumor","aids"],"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},{"id":39246,"slug":"39246","resource":"https://api.magentlab.com/api/calc/chalice","description":"CHALICE (Dunning 2006). CT required in children 0-15 if any history, exam, or mechanism criterion is present; else low risk. GCS <14, or GCS <15 if age <1 year. Bruise/swelling/laceration >5 cm only if age <1 year. Mechanism is caller-assigned (paper: high-speed RTA >40 mph as occupant/pedestrian/cyclist; fall >3 m; high-speed projectile or object). NAI is caller-assigned. Not PECARN, CATCH, or Canadian CT Head. magent does not examine the child. Not a diagnosis or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_drowsiness":false,"age":10,"amnesia_gt_5_min":false,"basal_skull_fracture":false,"bruise_swelling_laceration_gt_5cm":false,"fall_gt_3m":false,"focal_neurology":false,"gcs":15,"high_speed_projectile_or_object":false,"high_speed_rta":false,"loc_gt_5_min":false,"penetrating_depressed_or_tense_fontanelle":false,"seizure_no_epilepsy":false,"suspicion_nai":false,"vomits_ge_3":false},{"abnormal_drowsiness":false,"age":10,"amnesia_gt_5_min":false,"basal_skull_fracture":false,"bruise_swelling_laceration_gt_5cm":false,"fall_gt_3m":false,"focal_neurology":false,"gcs":15,"high_speed_projectile_or_object":false,"high_speed_rta":false,"loc_gt_5_min":false,"penetrating_depressed_or_tense_fontanelle":false,"seizure_no_epilepsy":false,"suspicion_nai":false,"vomits_ge_3":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":10,"chalice_ct_required":false,"chalice_low_risk":true,"citation":{"authors":"Dunning J, Daly JP, Lomas JP, Lecky F, Batchelor J, Mackway-Jones K","doi":"10.1136/adc.2005.083980","id":"dunning-2006","pmid":"17056862","source":"Arch Dis Child. 2006;91(11):885-891","title":"Derivation of the children's head injury algorithm for the prediction of important clinical events decision rule for head injury in children"},"criteria":[{"factor":"loc_gt_5_min","met":false},{"factor":"amnesia_gt_5_min","met":false},{"factor":"abnormal_drowsiness","met":false},{"factor":"vomits_ge_3","met":false},{"factor":"suspicion_nai","met":false},{"factor":"seizure_no_epilepsy","met":false},{"factor":"gcs_criterion","met":false,"value":15},{"factor":"penetrating_depressed_or_tense_fontanelle","met":false},{"factor":"basal_skull_fracture","met":false},{"factor":"focal_neurology","met":false},{"factor":"bruise_swelling_laceration_gt_5cm","met":false,"value":10},{"factor":"high_speed_rta","met":false},{"factor":"fall_gt_3m","met":false},{"factor":"high_speed_projectile_or_object","met":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":"chalice","formula_expression":"CT required if any history, examination, or mechanism criterion is present; else low risk. GCS <14, or GCS <15 if age <1 year. Bruise, swelling, or laceration >5 cm only if age <1 year. Mechanism is caller-assigned.","gcs":15},{"age_years":10,"chalice_ct_required":false,"chalice_low_risk":true,"citation":{"authors":"Dunning J, Daly JP, Lomas JP, Lecky F, Batchelor J, Mackway-Jones K","doi":"10.1136/adc.2005.083980","id":"dunning-2006","pmid":"17056862","source":"Arch Dis Child. 2006;91(11):885-891","title":"Derivation of the children's head injury algorithm for the prediction of important clinical events decision rule for head injury in children"},"criteria":[{"factor":"loc_gt_5_min","met":false},{"factor":"amnesia_gt_5_min","met":false},{"factor":"abnormal_drowsiness","met":false},{"factor":"vomits_ge_3","met":false},{"factor":"suspicion_nai","met":false},{"factor":"seizure_no_epilepsy","met":false},{"factor":"gcs_criterion","met":false,"value":15},{"factor":"penetrating_depressed_or_tense_fontanelle","met":false},{"factor":"basal_skull_fracture","met":false},{"factor":"focal_neurology","met":false},{"factor":"bruise_swelling_laceration_gt_5cm","met":false,"value":10},{"factor":"high_speed_rta","met":false},{"factor":"fall_gt_3m","met":false},{"factor":"high_speed_projectile_or_object","met":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":"chalice","formula_expression":"CT required if any history, examination, or mechanism criterion is present; else low risk. GCS <14, or GCS <15 if age <1 year. Bruise, swelling, or laceration >5 cm only if age <1 year. Mechanism is caller-assigned.","gcs":15}],"path":"/api/calc/chalice"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_drowsiness":{"description":"Abnormal drowsiness. true or false as assigned by the caller. History criterion. magent does not examine the child.","type":"boolean"},"age":{"description":"Age in whole years (0-15). CHALICE is for children younger than 16. Age 0 is younger than 1 year (GCS <15 and bruise >5 cm apply). Age 1-15 uses GCS <14. Age 16 is rejected.","type":"integer"},"amnesia_gt_5_min":{"description":"Amnesia (anterograde or retrograde) >5 minutes. true or false as assigned by the caller. History criterion. magent does not take a duration integer.","type":"boolean"},"basal_skull_fracture":{"description":"Signs of basal skull fracture. true or false as assigned by the caller. Examination criterion. magent does not examine the child.","type":"boolean"},"bruise_swelling_laceration_gt_5cm":{"description":"Bruise, swelling, or laceration >5 cm. true or false as assigned by the caller. Examination criterion that scores only when age <1 year; parsed but not scored when age >= 1. magent does not measure the lesion.","type":"boolean"},"fall_gt_3m":{"description":"Fall >3 m as assigned by the caller. true or false. Mechanism criterion. magent does not classify mechanism or take a height integer.","type":"boolean"},"focal_neurology":{"description":"Positive focal neurology. true or false as assigned by the caller. Examination criterion. magent does not examine the child.","type":"boolean"},"gcs":{"description":"Glasgow Coma Scale total, integer 3-15 as assigned by the caller. Examination criterion: GCS <14, or GCS <15 if age <1 year.","type":"integer"},"high_speed_projectile_or_object":{"description":"High-speed injury from a projectile or object as assigned by the caller. true or false. Mechanism criterion. magent does not classify mechanism.","type":"boolean"},"high_speed_rta":{"description":"High-speed road traffic accident as occupant, pedestrian, or cyclist as assigned by the caller (paper: speed >40 mph). true or false. Mechanism criterion. magent does not classify mechanism.","type":"boolean"},"loc_gt_5_min":{"description":"Witnessed loss of consciousness >5 minutes. true or false as assigned by the caller. History criterion. magent does not take a duration integer.","type":"boolean"},"penetrating_depressed_or_tense_fontanelle":{"description":"Suspicion of penetrating or depressed skull injury or tense fontanelle. true or false as assigned by the caller. Examination criterion. magent does not examine the child.","type":"boolean"},"seizure_no_epilepsy":{"description":"Seizure after the head injury in a child with no history of epilepsy. true or false as assigned by the caller. History criterion.","type":"boolean"},"suspicion_nai":{"description":"Suspicion of non-accidental injury as assigned by the caller. true or false. History criterion. magent does not diagnose NAI.","type":"boolean"},"vomits_ge_3":{"description":"Three or more vomits after the head injury. true or false as assigned by the caller. History criterion.","type":"boolean"}},"required":["age","gcs","loc_gt_5_min","amnesia_gt_5_min","abnormal_drowsiness","vomits_ge_3","suspicion_nai","seizure_no_epilepsy","penetrating_depressed_or_tense_fontanelle","basal_skull_fracture","focal_neurology","bruise_swelling_laceration_gt_5cm","high_speed_rta","fall_gt_3m","high_speed_projectile_or_object"],"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":["chalice","pediatric","head-ct","emergency","trauma","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:36:18.635Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:36:18.491Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_drowsiness":false,"age":10,"amnesia_gt_5_min":false,"basal_skull_fracture":false,"bruise_swelling_laceration_gt_5cm":false,"fall_gt_3m":false,"focal_neurology":false,"gcs":15,"high_speed_projectile_or_object":false,"high_speed_rta":false,"loc_gt_5_min":false,"penetrating_depressed_or_tense_fontanelle":false,"seizure_no_epilepsy":false,"suspicion_nai":false,"vomits_ge_3":false},{"abnormal_drowsiness":false,"age":10,"amnesia_gt_5_min":false,"basal_skull_fracture":false,"bruise_swelling_laceration_gt_5cm":false,"fall_gt_3m":false,"focal_neurology":false,"gcs":15,"high_speed_projectile_or_object":false,"high_speed_rta":false,"loc_gt_5_min":false,"penetrating_depressed_or_tense_fontanelle":false,"seizure_no_epilepsy":false,"suspicion_nai":false,"vomits_ge_3":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":10,"chalice_ct_required":false,"chalice_low_risk":true,"citation":{"authors":"Dunning J, Daly JP, Lomas JP, Lecky F, Batchelor J, Mackway-Jones K","doi":"10.1136/adc.2005.083980","id":"dunning-2006","pmid":"17056862","source":"Arch Dis Child. 2006;91(11):885-891","title":"Derivation of the children's head injury algorithm for the prediction of important clinical events decision rule for head injury in children"},"criteria":[{"factor":"loc_gt_5_min","met":false},{"factor":"amnesia_gt_5_min","met":false},{"factor":"abnormal_drowsiness","met":false},{"factor":"vomits_ge_3","met":false},{"factor":"suspicion_nai","met":false},{"factor":"seizure_no_epilepsy","met":false},{"factor":"gcs_criterion","met":false,"value":15},{"factor":"penetrating_depressed_or_tense_fontanelle","met":false},{"factor":"basal_skull_fracture","met":false},{"factor":"focal_neurology","met":false},{"factor":"bruise_swelling_laceration_gt_5cm","met":false,"value":10},{"factor":"high_speed_rta","met":false},{"factor":"fall_gt_3m","met":false},{"factor":"high_speed_projectile_or_object","met":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":"chalice","formula_expression":"CT required if any history, examination, or mechanism criterion is present; else low risk. GCS <14, or GCS <15 if age <1 year. Bruise, swelling, or laceration >5 cm only if age <1 year. Mechanism is caller-assigned.","gcs":15},{"age_years":10,"chalice_ct_required":false,"chalice_low_risk":true,"citation":{"authors":"Dunning J, Daly JP, Lomas JP, Lecky F, Batchelor J, Mackway-Jones K","doi":"10.1136/adc.2005.083980","id":"dunning-2006","pmid":"17056862","source":"Arch Dis Child. 2006;91(11):885-891","title":"Derivation of the children's head injury algorithm for the prediction of important clinical events decision rule for head injury in children"},"criteria":[{"factor":"loc_gt_5_min","met":false},{"factor":"amnesia_gt_5_min","met":false},{"factor":"abnormal_drowsiness","met":false},{"factor":"vomits_ge_3","met":false},{"factor":"suspicion_nai","met":false},{"factor":"seizure_no_epilepsy","met":false},{"factor":"gcs_criterion","met":false,"value":15},{"factor":"penetrating_depressed_or_tense_fontanelle","met":false},{"factor":"basal_skull_fracture","met":false},{"factor":"focal_neurology","met":false},{"factor":"bruise_swelling_laceration_gt_5cm","met":false,"value":10},{"factor":"high_speed_rta","met":false},{"factor":"fall_gt_3m","met":false},{"factor":"high_speed_projectile_or_object","met":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":"chalice","formula_expression":"CT required if any history, examination, or mechanism criterion is present; else low risk. GCS <14, or GCS <15 if age <1 year. Bruise, swelling, or laceration >5 cm only if age <1 year. Mechanism is caller-assigned.","gcs":15}],"path":"/api/calc/chalice"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_drowsiness":{"description":"Abnormal drowsiness. true or false as assigned by the caller. History criterion. magent does not examine the child.","type":"boolean"},"age":{"description":"Age in whole years (0-15). CHALICE is for children younger than 16. Age 0 is younger than 1 year (GCS <15 and bruise >5 cm apply). Age 1-15 uses GCS <14. Age 16 is rejected.","type":"integer"},"amnesia_gt_5_min":{"description":"Amnesia (anterograde or retrograde) >5 minutes. true or false as assigned by the caller. History criterion. magent does not take a duration integer.","type":"boolean"},"basal_skull_fracture":{"description":"Signs of basal skull fracture. true or false as assigned by the caller. Examination criterion. magent does not examine the child.","type":"boolean"},"bruise_swelling_laceration_gt_5cm":{"description":"Bruise, swelling, or laceration >5 cm. true or false as assigned by the caller. Examination criterion that scores only when age <1 year; parsed but not scored when age >= 1. magent does not measure the lesion.","type":"boolean"},"fall_gt_3m":{"description":"Fall >3 m as assigned by the caller. true or false. Mechanism criterion. magent does not classify mechanism or take a height integer.","type":"boolean"},"focal_neurology":{"description":"Positive focal neurology. true or false as assigned by the caller. Examination criterion. magent does not examine the child.","type":"boolean"},"gcs":{"description":"Glasgow Coma Scale total, integer 3-15 as assigned by the caller. Examination criterion: GCS <14, or GCS <15 if age <1 year.","type":"integer"},"high_speed_projectile_or_object":{"description":"High-speed injury from a projectile or object as assigned by the caller. true or false. Mechanism criterion. magent does not classify mechanism.","type":"boolean"},"high_speed_rta":{"description":"High-speed road traffic accident as occupant, pedestrian, or cyclist as assigned by the caller (paper: speed >40 mph). true or false. Mechanism criterion. magent does not classify mechanism.","type":"boolean"},"loc_gt_5_min":{"description":"Witnessed loss of consciousness >5 minutes. true or false as assigned by the caller. History criterion. magent does not take a duration integer.","type":"boolean"},"penetrating_depressed_or_tense_fontanelle":{"description":"Suspicion of penetrating or depressed skull injury or tense fontanelle. true or false as assigned by the caller. Examination criterion. magent does not examine the child.","type":"boolean"},"seizure_no_epilepsy":{"description":"Seizure after the head injury in a child with no history of epilepsy. true or false as assigned by the caller. History criterion.","type":"boolean"},"suspicion_nai":{"description":"Suspicion of non-accidental injury as assigned by the caller. true or false. History criterion. magent does not diagnose NAI.","type":"boolean"},"vomits_ge_3":{"description":"Three or more vomits after the head injury. true or false as assigned by the caller. History criterion.","type":"boolean"}},"required":["age","gcs","loc_gt_5_min","amnesia_gt_5_min","abnormal_drowsiness","vomits_ge_3","suspicion_nai","seizure_no_epilepsy","penetrating_depressed_or_tense_fontanelle","basal_skull_fracture","focal_neurology","bruise_swelling_laceration_gt_5cm","high_speed_rta","fall_gt_3m","high_speed_projectile_or_object"],"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},{"id":39247,"slug":"39247","resource":"https://api.magentlab.com/api/calc/chads_65","description":"CCS 2014 CHADS-65 algorithm for nonvalvular AF/AFL stroke-prevention discussion. Oral anticoagulant if age ≥65 or CHF, hypertension, diabetes, or prior stroke/TIA. Else aspirin if coronary, aortic, or peripheral arterial disease. Else none. Not CHADS2, not CHA2DS2-VASc, not HAS-BLED, and not an anticoagulation order. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"chf":false,"diabetes":false,"hypertension":false,"stroke_tia":false,"vascular_disease":false},{"age":70,"chf":false,"diabetes":false,"hypertension":false,"stroke_tia":false,"vascular_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Verma A, Cairns JA, Mitchell LB, Macle L, Stiell IG, Gladstone D, McMurtry MS, Connolly S, Cox JL, Dorian P, Ivers N, Leblanc K, Nattel S, Healey JS","doi":"10.1016/j.cjca.2014.08.001","id":"verma-2014","pmid":"25262857","source":"Can J Cardiol. 2014;30(10):1114-1130","title":"2014 focused update of the Canadian Cardiovascular Society Guidelines for the management of atrial fibrillation"},"criteria":[{"factor":"age_ge_65","met":true,"value":70},{"factor":"chf","met":false},{"factor":"hypertension","met":false},{"factor":"diabetes","met":false},{"factor":"stroke_tia","met":false},{"factor":"vascular_disease","met":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":"chads_65","formula_expression":"OAC if age ≥ 65 or CHF or hypertension or diabetes or prior stroke/TIA; else ASA if vascular disease (coronary, aortic, or peripheral arterial); else none (CCS 2014 CHADS-65)","oac_indicated":true,"recommendation":"oac"},{"citation":{"authors":"Verma A, Cairns JA, Mitchell LB, Macle L, Stiell IG, Gladstone D, McMurtry MS, Connolly S, Cox JL, Dorian P, Ivers N, Leblanc K, Nattel S, Healey JS","doi":"10.1016/j.cjca.2014.08.001","id":"verma-2014","pmid":"25262857","source":"Can J Cardiol. 2014;30(10):1114-1130","title":"2014 focused update of the Canadian Cardiovascular Society Guidelines for the management of atrial fibrillation"},"criteria":[{"factor":"age_ge_65","met":true,"value":70},{"factor":"chf","met":false},{"factor":"hypertension","met":false},{"factor":"diabetes","met":false},{"factor":"stroke_tia","met":false},{"factor":"vascular_disease","met":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":"chads_65","formula_expression":"OAC if age ≥ 65 or CHF or hypertension or diabetes or prior stroke/TIA; else ASA if vascular disease (coronary, aortic, or peripheral arterial); else none (CCS 2014 CHADS-65)","oac_indicated":true,"recommendation":"oac"}],"path":"/api/calc/chads_65"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥65 indicates oral anticoagulant (OAC). Age ≥75 is subsumed by ≥65; there is no separate age≥75 input. 64 does not indicate OAC on age alone.","type":"integer"},"chf":{"description":"Congestive heart failure as assigned by the caller. true or false. Any true CHADS2 factor other than age≥75 (CHF, hypertension, diabetes, prior stroke/TIA) indicates OAC.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller. true or false. Indicates OAC when true.","type":"boolean"},"hypertension":{"description":"Hypertension history as assigned by the caller. true or false. Indicates OAC when true.","type":"boolean"},"stroke_tia":{"description":"Prior stroke or TIA as assigned by the caller. true or false. Indicates OAC when true.","type":"boolean"},"vascular_disease":{"description":"Coronary, aortic, or peripheral arterial disease as assigned by the caller. true or false. Indicates ASA only when OAC is not indicated.","type":"boolean"}},"required":["age","chf","hypertension","diabetes","stroke_tia","vascular_disease"],"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":["chads-65","afib","stroke","ccs","oac","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:36:16.481Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:36:16.324Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"chf":false,"diabetes":false,"hypertension":false,"stroke_tia":false,"vascular_disease":false},{"age":70,"chf":false,"diabetes":false,"hypertension":false,"stroke_tia":false,"vascular_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Verma A, Cairns JA, Mitchell LB, Macle L, Stiell IG, Gladstone D, McMurtry MS, Connolly S, Cox JL, Dorian P, Ivers N, Leblanc K, Nattel S, Healey JS","doi":"10.1016/j.cjca.2014.08.001","id":"verma-2014","pmid":"25262857","source":"Can J Cardiol. 2014;30(10):1114-1130","title":"2014 focused update of the Canadian Cardiovascular Society Guidelines for the management of atrial fibrillation"},"criteria":[{"factor":"age_ge_65","met":true,"value":70},{"factor":"chf","met":false},{"factor":"hypertension","met":false},{"factor":"diabetes","met":false},{"factor":"stroke_tia","met":false},{"factor":"vascular_disease","met":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":"chads_65","formula_expression":"OAC if age ≥ 65 or CHF or hypertension or diabetes or prior stroke/TIA; else ASA if vascular disease (coronary, aortic, or peripheral arterial); else none (CCS 2014 CHADS-65)","oac_indicated":true,"recommendation":"oac"},{"citation":{"authors":"Verma A, Cairns JA, Mitchell LB, Macle L, Stiell IG, Gladstone D, McMurtry MS, Connolly S, Cox JL, Dorian P, Ivers N, Leblanc K, Nattel S, Healey JS","doi":"10.1016/j.cjca.2014.08.001","id":"verma-2014","pmid":"25262857","source":"Can J Cardiol. 2014;30(10):1114-1130","title":"2014 focused update of the Canadian Cardiovascular Society Guidelines for the management of atrial fibrillation"},"criteria":[{"factor":"age_ge_65","met":true,"value":70},{"factor":"chf","met":false},{"factor":"hypertension","met":false},{"factor":"diabetes","met":false},{"factor":"stroke_tia","met":false},{"factor":"vascular_disease","met":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":"chads_65","formula_expression":"OAC if age ≥ 65 or CHF or hypertension or diabetes or prior stroke/TIA; else ASA if vascular disease (coronary, aortic, or peripheral arterial); else none (CCS 2014 CHADS-65)","oac_indicated":true,"recommendation":"oac"}],"path":"/api/calc/chads_65"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥65 indicates oral anticoagulant (OAC). Age ≥75 is subsumed by ≥65; there is no separate age≥75 input. 64 does not indicate OAC on age alone.","type":"integer"},"chf":{"description":"Congestive heart failure as assigned by the caller. true or false. Any true CHADS2 factor other than age≥75 (CHF, hypertension, diabetes, prior stroke/TIA) indicates OAC.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller. true or false. Indicates OAC when true.","type":"boolean"},"hypertension":{"description":"Hypertension history as assigned by the caller. true or false. Indicates OAC when true.","type":"boolean"},"stroke_tia":{"description":"Prior stroke or TIA as assigned by the caller. true or false. Indicates OAC when true.","type":"boolean"},"vascular_disease":{"description":"Coronary, aortic, or peripheral arterial disease as assigned by the caller. true or false. Indicates ASA only when OAC is not indicated.","type":"boolean"}},"required":["age","chf","hypertension","diabetes","stroke_tia","vascular_disease"],"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},{"id":39248,"slug":"39248","resource":"https://api.magentlab.com/api/calc/chads2","description":"CHADS2 score from discrete clinical flags. Use for the 2001 Gage atrial-fibrillation stroke-risk arithmetic. Deterministic published score with citation; not an anticoagulation order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":78,"chf":false,"diabetes":true,"hypertension":true,"stroke_tia":false},{"age":78,"chf":false,"diabetes":true,"hypertension":true,"stroke_tia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":78,"citation":{"authors":"Gage BF, Waterman AD, Shannon W, Boechler M, Rich MW, Radford MJ","doi":"10.1001/jama.285.22.2864","id":"gage-2001","source":"JAMA. 2001;285(22):2864-2870","title":"Validation of clinical classification schemes for predicting stroke: results from the National Registry of Atrial Fibrillation"},"components":[{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"hypertension","points":1,"present":true},{"factor":"age_ge_75","points":1,"present":true,"value":78},{"factor":"diabetes","points":1,"present":true},{"factor":"stroke_tia","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":"chads2","formula_expression":"CHADS2 = CHF 1 + hypertension 1 + age≥75 1 + diabetes 1 + stroke/TIA 2; max 6","max_score":6,"score":3},{"age_years":78,"citation":{"authors":"Gage BF, Waterman AD, Shannon W, Boechler M, Rich MW, Radford MJ","doi":"10.1001/jama.285.22.2864","id":"gage-2001","source":"JAMA. 2001;285(22):2864-2870","title":"Validation of clinical classification schemes for predicting stroke: results from the National Registry of Atrial Fibrillation"},"components":[{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"hypertension","points":1,"present":true},{"factor":"age_ge_75","points":1,"present":true,"value":78},{"factor":"diabetes","points":1,"present":true},{"factor":"stroke_tia","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":"chads2","formula_expression":"CHADS2 = CHF 1 + hypertension 1 + age≥75 1 + diabetes 1 + stroke/TIA 2; max 6","max_score":6,"score":3}],"path":"/api/calc/chads2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥75 scores 1.","type":"integer"},"chf":{"description":"Congestive heart failure or LV dysfunction. true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus. true or false.","type":"boolean"},"hypertension":{"description":"Hypertension history. true or false.","type":"boolean"},"stroke_tia":{"description":"Prior stroke or TIA. true or false (2 points).","type":"boolean"}},"required":["age","chf","hypertension","diabetes","stroke_tia"],"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":["chads2","stroke","afib","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:31:17.336Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:31:17.149Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":78,"chf":false,"diabetes":true,"hypertension":true,"stroke_tia":false},{"age":78,"chf":false,"diabetes":true,"hypertension":true,"stroke_tia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":78,"citation":{"authors":"Gage BF, Waterman AD, Shannon W, Boechler M, Rich MW, Radford MJ","doi":"10.1001/jama.285.22.2864","id":"gage-2001","source":"JAMA. 2001;285(22):2864-2870","title":"Validation of clinical classification schemes for predicting stroke: results from the National Registry of Atrial Fibrillation"},"components":[{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"hypertension","points":1,"present":true},{"factor":"age_ge_75","points":1,"present":true,"value":78},{"factor":"diabetes","points":1,"present":true},{"factor":"stroke_tia","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":"chads2","formula_expression":"CHADS2 = CHF 1 + hypertension 1 + age≥75 1 + diabetes 1 + stroke/TIA 2; max 6","max_score":6,"score":3},{"age_years":78,"citation":{"authors":"Gage BF, Waterman AD, Shannon W, Boechler M, Rich MW, Radford MJ","doi":"10.1001/jama.285.22.2864","id":"gage-2001","source":"JAMA. 2001;285(22):2864-2870","title":"Validation of clinical classification schemes for predicting stroke: results from the National Registry of Atrial Fibrillation"},"components":[{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"hypertension","points":1,"present":true},{"factor":"age_ge_75","points":1,"present":true,"value":78},{"factor":"diabetes","points":1,"present":true},{"factor":"stroke_tia","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":"chads2","formula_expression":"CHADS2 = CHF 1 + hypertension 1 + age≥75 1 + diabetes 1 + stroke/TIA 2; max 6","max_score":6,"score":3}],"path":"/api/calc/chads2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥75 scores 1.","type":"integer"},"chf":{"description":"Congestive heart failure or LV dysfunction. true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus. true or false.","type":"boolean"},"hypertension":{"description":"Hypertension history. true or false.","type":"boolean"},"stroke_tia":{"description":"Prior stroke or TIA. true or false (2 points).","type":"boolean"}},"required":["age","chf","hypertension","diabetes","stroke_tia"],"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},{"id":39249,"slug":"39249","resource":"https://api.magentlab.com/api/calc/cha2ds2_vasc","description":"Cited Lip 2010 CHA2DS2-VASc stroke-risk score. Agents must not invent CHA2DS2-VASc from model memory; pay per request with x402 USDC on Base. Deterministic published score with citation. Not a treatment recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":78,"chf":false,"diabetes":true,"hypertension":true,"sex":"female","stroke_tia":false,"vascular_disease":false},{"age":78,"chf":false,"diabetes":true,"hypertension":true,"sex":"female","stroke_tia":false,"vascular_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":78,"citation":{"authors":"Lip GYH, Nieuwlaat R, Pisters R, Lane DA, Crijns HJ","doi":"10.1378/chest.09-1584","id":"lip-2010","source":"Chest. 2010;137(2):263-272","title":"Refining clinical risk stratification for predicting stroke and thromboembolism in atrial fibrillation using a novel risk factor-based approach: the euro heart survey on atrial fibrillation"},"components":[{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"hypertension","points":1,"present":true},{"factor":"age","points":2,"present":true,"value":78},{"factor":"diabetes","points":1,"present":true},{"factor":"stroke_tia_thromboembolism","points":0,"present":false},{"factor":"vascular_disease","points":0,"present":false},{"factor":"sex_female","points":1,"present":true}],"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":"cha2ds2_vasc","formula_expression":"CHA2DS2-VASc = CHF 1 + HTN 1 + Age≥75 2 (or 65-74 1) + diabetes 1 + stroke/TIA 2 + vascular 1 + female 1; max 9","max_score":9,"score":5,"sex":"female"},{"age_years":78,"citation":{"authors":"Lip GYH, Nieuwlaat R, Pisters R, Lane DA, Crijns HJ","doi":"10.1378/chest.09-1584","id":"lip-2010","source":"Chest. 2010;137(2):263-272","title":"Refining clinical risk stratification for predicting stroke and thromboembolism in atrial fibrillation using a novel risk factor-based approach: the euro heart survey on atrial fibrillation"},"components":[{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"hypertension","points":1,"present":true},{"factor":"age","points":2,"present":true,"value":78},{"factor":"diabetes","points":1,"present":true},{"factor":"stroke_tia_thromboembolism","points":0,"present":false},{"factor":"vascular_disease","points":0,"present":false},{"factor":"sex_female","points":1,"present":true}],"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":"cha2ds2_vasc","formula_expression":"CHA2DS2-VASc = CHF 1 + HTN 1 + Age≥75 2 (or 65-74 1) + diabetes 1 + stroke/TIA 2 + vascular 1 + female 1; max 9","max_score":9,"score":5,"sex":"female"}],"path":"/api/calc/cha2ds2_vasc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥75 scores 2; 65-74 scores 1.","type":"integer"},"chf":{"description":"Congestive heart failure or LV dysfunction. true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus. true or false.","type":"boolean"},"hypertension":{"description":"Hypertension history. true or false.","type":"boolean"},"sex":{"description":"female scores 1 (Sc); male scores 0.","enum":["female","male"],"type":"string"},"stroke_tia":{"description":"Prior stroke, TIA, or thromboembolism. true or false (2 points).","type":"boolean"},"vascular_disease":{"description":"Prior MI, peripheral artery disease, or aortic plaque. true or false.","type":"boolean"}},"required":["age","sex","chf","hypertension","diabetes","stroke_tia","vascular_disease"],"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":["cha2ds2-vasc","stroke","afib","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:31:16.375Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:31:16.171Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":78,"chf":false,"diabetes":true,"hypertension":true,"sex":"female","stroke_tia":false,"vascular_disease":false},{"age":78,"chf":false,"diabetes":true,"hypertension":true,"sex":"female","stroke_tia":false,"vascular_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":78,"citation":{"authors":"Lip GYH, Nieuwlaat R, Pisters R, Lane DA, Crijns HJ","doi":"10.1378/chest.09-1584","id":"lip-2010","source":"Chest. 2010;137(2):263-272","title":"Refining clinical risk stratification for predicting stroke and thromboembolism in atrial fibrillation using a novel risk factor-based approach: the euro heart survey on atrial fibrillation"},"components":[{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"hypertension","points":1,"present":true},{"factor":"age","points":2,"present":true,"value":78},{"factor":"diabetes","points":1,"present":true},{"factor":"stroke_tia_thromboembolism","points":0,"present":false},{"factor":"vascular_disease","points":0,"present":false},{"factor":"sex_female","points":1,"present":true}],"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":"cha2ds2_vasc","formula_expression":"CHA2DS2-VASc = CHF 1 + HTN 1 + Age≥75 2 (or 65-74 1) + diabetes 1 + stroke/TIA 2 + vascular 1 + female 1; max 9","max_score":9,"score":5,"sex":"female"},{"age_years":78,"citation":{"authors":"Lip GYH, Nieuwlaat R, Pisters R, Lane DA, Crijns HJ","doi":"10.1378/chest.09-1584","id":"lip-2010","source":"Chest. 2010;137(2):263-272","title":"Refining clinical risk stratification for predicting stroke and thromboembolism in atrial fibrillation using a novel risk factor-based approach: the euro heart survey on atrial fibrillation"},"components":[{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"hypertension","points":1,"present":true},{"factor":"age","points":2,"present":true,"value":78},{"factor":"diabetes","points":1,"present":true},{"factor":"stroke_tia_thromboembolism","points":0,"present":false},{"factor":"vascular_disease","points":0,"present":false},{"factor":"sex_female","points":1,"present":true}],"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":"cha2ds2_vasc","formula_expression":"CHA2DS2-VASc = CHF 1 + HTN 1 + Age≥75 2 (or 65-74 1) + diabetes 1 + stroke/TIA 2 + vascular 1 + female 1; max 9","max_score":9,"score":5,"sex":"female"}],"path":"/api/calc/cha2ds2_vasc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥75 scores 2; 65-74 scores 1.","type":"integer"},"chf":{"description":"Congestive heart failure or LV dysfunction. true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus. true or false.","type":"boolean"},"hypertension":{"description":"Hypertension history. true or false.","type":"boolean"},"sex":{"description":"female scores 1 (Sc); male scores 0.","enum":["female","male"],"type":"string"},"stroke_tia":{"description":"Prior stroke, TIA, or thromboembolism. true or false (2 points).","type":"boolean"},"vascular_disease":{"description":"Prior MI, peripheral artery disease, or aortic plaque. true or false.","type":"boolean"}},"required":["age","sex","chf","hypertension","diabetes","stroke_tia","vascular_disease"],"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},{"id":39250,"slug":"39250","resource":"https://api.magentlab.com/api/calc/cha2ds2_va","description":"ESC 2024 CHA2DS2-VA stroke-risk score from age and discrete flags (CHF, hypertension, diabetes, prior stroke/TIA, vascular disease). No sex category (not CHA2DS2-VASc). Score 0 none, 1 consider OAC, ≥2 OAC recommended. Deterministic published arithmetic with citation; not an anticoagulation order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":78,"chf":false,"diabetes":false,"hypertension":false,"stroke_tia":false,"vascular_disease":false},{"age":78,"chf":false,"diabetes":false,"hypertension":false,"stroke_tia":false,"vascular_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":78,"category":"recommended","citation":{"authors":"Van Gelder IC, Rienstra M, Bunting KV, et al.","doi":"10.1093/eurheartj/ehae176","id":"van-gelder-2024","pmid":"39210723","source":"Eur Heart J. 2024;45(36):3314-3414","title":"2024 ESC Guidelines for the management of atrial fibrillation developed in collaboration with the European Association for Cardio-Thoracic Surgery (EACTS)"},"components":[{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"age","points":2,"present":true,"value":78},{"factor":"diabetes","points":0,"present":false},{"factor":"stroke_tia_thromboembolism","points":0,"present":false},{"factor":"vascular_disease","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":"cha2ds2_va","formula_expression":"CHA2DS2-VA = CHF 1 + HTN 1 + Age≥75 2 (or 65-74 1) + diabetes 1 + stroke/TIA 2 + vascular 1; no sex; max 8; OAC none (0) consider (1) recommended (≥2) (ESC 2024)","max_score":8,"oac":"recommended","score":2},{"age_years":78,"category":"recommended","citation":{"authors":"Van Gelder IC, Rienstra M, Bunting KV, et al.","doi":"10.1093/eurheartj/ehae176","id":"van-gelder-2024","pmid":"39210723","source":"Eur Heart J. 2024;45(36):3314-3414","title":"2024 ESC Guidelines for the management of atrial fibrillation developed in collaboration with the European Association for Cardio-Thoracic Surgery (EACTS)"},"components":[{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"age","points":2,"present":true,"value":78},{"factor":"diabetes","points":0,"present":false},{"factor":"stroke_tia_thromboembolism","points":0,"present":false},{"factor":"vascular_disease","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":"cha2ds2_va","formula_expression":"CHA2DS2-VA = CHF 1 + HTN 1 + Age≥75 2 (or 65-74 1) + diabetes 1 + stroke/TIA 2 + vascular 1; no sex; max 8; OAC none (0) consider (1) recommended (≥2) (ESC 2024)","max_score":8,"oac":"recommended","score":2}],"path":"/api/calc/cha2ds2_va"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥75 scores 2; 65-74 scores 1.","type":"integer"},"chf":{"description":"Congestive heart failure or LV dysfunction. true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus. true or false.","type":"boolean"},"hypertension":{"description":"Hypertension history. true or false.","type":"boolean"},"stroke_tia":{"description":"Prior stroke, TIA, or arterial thromboembolism. true or false (2 points).","type":"boolean"},"vascular_disease":{"description":"Prior MI, peripheral artery disease, or aortic plaque. true or false.","type":"boolean"}},"required":["age","chf","hypertension","diabetes","stroke_tia","vascular_disease"],"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":["cha2ds2-va","stroke","afib","oac","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:31:15.372Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:31:15.214Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":78,"chf":false,"diabetes":false,"hypertension":false,"stroke_tia":false,"vascular_disease":false},{"age":78,"chf":false,"diabetes":false,"hypertension":false,"stroke_tia":false,"vascular_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":78,"category":"recommended","citation":{"authors":"Van Gelder IC, Rienstra M, Bunting KV, et al.","doi":"10.1093/eurheartj/ehae176","id":"van-gelder-2024","pmid":"39210723","source":"Eur Heart J. 2024;45(36):3314-3414","title":"2024 ESC Guidelines for the management of atrial fibrillation developed in collaboration with the European Association for Cardio-Thoracic Surgery (EACTS)"},"components":[{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"age","points":2,"present":true,"value":78},{"factor":"diabetes","points":0,"present":false},{"factor":"stroke_tia_thromboembolism","points":0,"present":false},{"factor":"vascular_disease","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":"cha2ds2_va","formula_expression":"CHA2DS2-VA = CHF 1 + HTN 1 + Age≥75 2 (or 65-74 1) + diabetes 1 + stroke/TIA 2 + vascular 1; no sex; max 8; OAC none (0) consider (1) recommended (≥2) (ESC 2024)","max_score":8,"oac":"recommended","score":2},{"age_years":78,"category":"recommended","citation":{"authors":"Van Gelder IC, Rienstra M, Bunting KV, et al.","doi":"10.1093/eurheartj/ehae176","id":"van-gelder-2024","pmid":"39210723","source":"Eur Heart J. 2024;45(36):3314-3414","title":"2024 ESC Guidelines for the management of atrial fibrillation developed in collaboration with the European Association for Cardio-Thoracic Surgery (EACTS)"},"components":[{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"age","points":2,"present":true,"value":78},{"factor":"diabetes","points":0,"present":false},{"factor":"stroke_tia_thromboembolism","points":0,"present":false},{"factor":"vascular_disease","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":"cha2ds2_va","formula_expression":"CHA2DS2-VA = CHF 1 + HTN 1 + Age≥75 2 (or 65-74 1) + diabetes 1 + stroke/TIA 2 + vascular 1; no sex; max 8; OAC none (0) consider (1) recommended (≥2) (ESC 2024)","max_score":8,"oac":"recommended","score":2}],"path":"/api/calc/cha2ds2_va"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥75 scores 2; 65-74 scores 1.","type":"integer"},"chf":{"description":"Congestive heart failure or LV dysfunction. true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus. true or false.","type":"boolean"},"hypertension":{"description":"Hypertension history. true or false.","type":"boolean"},"stroke_tia":{"description":"Prior stroke, TIA, or arterial thromboembolism. true or false (2 points).","type":"boolean"},"vascular_disease":{"description":"Prior MI, peripheral artery disease, or aortic plaque. true or false.","type":"boolean"}},"required":["age","chf","hypertension","diabetes","stroke_tia","vascular_disease"],"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},{"id":39251,"slug":"39251","resource":"https://api.magentlab.com/api/calc/cgram","description":"Liang 2020 COVID-GRAM logistic probability of critical illness (ICU, invasive ventilation, or death) among hospitalized COVID-19 from age, caller-assigned chest radiograph abnormality, hemoptysis, dyspnea, unconsciousness, comorbidity count, cancer history, neutrophil-to-lymphocyte ratio, LDH (U/L), and direct bilirubin (umol/L). Table 3 coefficients. magent does not read the film or count comorbidities. Not a diagnosis or ICU-allocation order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":30,"cancer_history":false,"chest_xray_abnormal":false,"direct_bilirubin_umol_l":3,"dyspnea":false,"hemoptysis":false,"ldh_u_l":150,"nlr":2,"number_of_comorbidities":0,"unconsciousness":false},{"age":30,"cancer_history":false,"chest_xray_abnormal":false,"direct_bilirubin_umol_l":3,"dyspnea":false,"hemoptysis":false,"ldh_u_l":150,"nlr":2,"number_of_comorbidities":0,"unconsciousness":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":30,"cancer_history":false,"chest_xray_abnormal":false,"citation":{"authors":"Liang W, Liang H, Ou L, Chen B, Chen A, Li C, et al.","doi":"10.1001/jamainternmed.2020.2033","id":"liang-2020-covid-gram","pmid":"32396163","source":"JAMA Intern Med. 2020;180(8):1081-1089","title":"Development and Validation of a Clinical Risk Score to Predict the Occurrence of Critical Illness in Hospitalized Patients With COVID-19"},"direct_bilirubin_umol_l":3,"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.","dyspnea":false,"estimated_probability_percent":0.7,"formula":"covid_gram","formula_expression":"lp = 1.2205*chest_xray_abnormal + 0.0276*age + 1.5116*hemoptysis + 0.632*dyspnea + 1.5494*unconsciousness + 0.4668*number_of_comorbidities + 1.4037*cancer_history + 0.0562*nlr + 0.0024*ldh_u_l + 0.1376*direct_bilirubin_umol_l - 6.6127; probability = exp(lp)/(1+exp(lp)); Liang 2020 Table 3 logistic (printed ORs; intercept -6.6127 matches constant 0.001); critical illness = ICU, invasive ventilation, or death; LDH U/L; direct bilirubin umol/L; magent does not read the chest film or count comorbidities; Liang 2020 did not publish low/medium/high cutoffs","hemoptysis":false,"ldh_u_l":150,"logit":-4.8995,"nlr":2,"number_of_comorbidities":0,"unconsciousness":false},{"age":30,"cancer_history":false,"chest_xray_abnormal":false,"citation":{"authors":"Liang W, Liang H, Ou L, Chen B, Chen A, Li C, et al.","doi":"10.1001/jamainternmed.2020.2033","id":"liang-2020-covid-gram","pmid":"32396163","source":"JAMA Intern Med. 2020;180(8):1081-1089","title":"Development and Validation of a Clinical Risk Score to Predict the Occurrence of Critical Illness in Hospitalized Patients With COVID-19"},"direct_bilirubin_umol_l":3,"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.","dyspnea":false,"estimated_probability_percent":0.7,"formula":"covid_gram","formula_expression":"lp = 1.2205*chest_xray_abnormal + 0.0276*age + 1.5116*hemoptysis + 0.632*dyspnea + 1.5494*unconsciousness + 0.4668*number_of_comorbidities + 1.4037*cancer_history + 0.0562*nlr + 0.0024*ldh_u_l + 0.1376*direct_bilirubin_umol_l - 6.6127; probability = exp(lp)/(1+exp(lp)); Liang 2020 Table 3 logistic (printed ORs; intercept -6.6127 matches constant 0.001); critical illness = ICU, invasive ventilation, or death; LDH U/L; direct bilirubin umol/L; magent does not read the chest film or count comorbidities; Liang 2020 did not publish low/medium/high cutoffs","hemoptysis":false,"ldh_u_l":150,"logit":-4.8995,"nlr":2,"number_of_comorbidities":0,"unconsciousness":false}],"path":"/api/calc/cgram"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 1-120). Liang 2020 Table 3: +0.0276 per year (OR 1.03 per year). Development cohort ages 1-95.","type":"integer"},"cancer_history":{"description":"Cancer history as assigned by the caller (true or false). Liang 2020 Table 3: true adds 1.4037 (OR 4.07), separate from the comorbidity count.","type":"boolean"},"chest_xray_abnormal":{"description":"Chest radiograph abnormality as assigned by the caller (true or false). Liang 2020 Table 3: true adds 1.2205 (OR 3.39). magent does not read the film.","type":"boolean"},"direct_bilirubin_umol_l":{"description":"Direct bilirubin in umol/L (0-200). Liang 2020 Table 3: +0.1376 per umol/L (OR 1.15). magent does not convert mg/dL.","type":"number"},"dyspnea":{"description":"Dyspnea (shortness of breath) as assigned by the caller (true or false). Liang 2020 Table 3: true adds 0.632 (OR 1.88).","type":"boolean"},"hemoptysis":{"description":"Hemoptysis as assigned by the caller (true or false). Liang 2020 Table 3: true adds 1.5116 (OR 4.53).","type":"boolean"},"ldh_u_l":{"description":"Lactate dehydrogenase in U/L (1-5000). Liang 2020 Table 3: +0.0024 per U/L (OR 1.002). magent does not convert other LDH units.","type":"number"},"nlr":{"description":"Neutrophil-to-lymphocyte ratio (0.01-200). Liang 2020 Table 3: +0.0562 per unit (OR 1.06). Caller assigns the ratio; magent does not compute it from counts.","type":"number"},"number_of_comorbidities":{"description":"Caller-assigned count of comorbidities as Liang 2020 defined (integer 0-10): COPD, diabetes, hypertension, cardiovascular disease, cerebrovascular disease, hepatitis B, cancer, chronic kidney disease, immunodeficiency. Table 3: +0.4668 per comorbidity (OR 1.60). magent does not count diagnoses.","type":"integer"},"unconsciousness":{"description":"Unconsciousness as assigned by the caller (true or false). Liang 2020 Table 3: true adds 1.5494 (OR 4.71).","type":"boolean"}},"required":["age","chest_xray_abnormal","hemoptysis","dyspnea","unconsciousness","number_of_comorbidities","cancer_history","nlr","ldh_u_l","direct_bilirubin_umol_l"],"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":["covid-gram","covid-19","critical-illness","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:26:20.369Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:26:20.228Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":30,"cancer_history":false,"chest_xray_abnormal":false,"direct_bilirubin_umol_l":3,"dyspnea":false,"hemoptysis":false,"ldh_u_l":150,"nlr":2,"number_of_comorbidities":0,"unconsciousness":false},{"age":30,"cancer_history":false,"chest_xray_abnormal":false,"direct_bilirubin_umol_l":3,"dyspnea":false,"hemoptysis":false,"ldh_u_l":150,"nlr":2,"number_of_comorbidities":0,"unconsciousness":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":30,"cancer_history":false,"chest_xray_abnormal":false,"citation":{"authors":"Liang W, Liang H, Ou L, Chen B, Chen A, Li C, et al.","doi":"10.1001/jamainternmed.2020.2033","id":"liang-2020-covid-gram","pmid":"32396163","source":"JAMA Intern Med. 2020;180(8):1081-1089","title":"Development and Validation of a Clinical Risk Score to Predict the Occurrence of Critical Illness in Hospitalized Patients With COVID-19"},"direct_bilirubin_umol_l":3,"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.","dyspnea":false,"estimated_probability_percent":0.7,"formula":"covid_gram","formula_expression":"lp = 1.2205*chest_xray_abnormal + 0.0276*age + 1.5116*hemoptysis + 0.632*dyspnea + 1.5494*unconsciousness + 0.4668*number_of_comorbidities + 1.4037*cancer_history + 0.0562*nlr + 0.0024*ldh_u_l + 0.1376*direct_bilirubin_umol_l - 6.6127; probability = exp(lp)/(1+exp(lp)); Liang 2020 Table 3 logistic (printed ORs; intercept -6.6127 matches constant 0.001); critical illness = ICU, invasive ventilation, or death; LDH U/L; direct bilirubin umol/L; magent does not read the chest film or count comorbidities; Liang 2020 did not publish low/medium/high cutoffs","hemoptysis":false,"ldh_u_l":150,"logit":-4.8995,"nlr":2,"number_of_comorbidities":0,"unconsciousness":false},{"age":30,"cancer_history":false,"chest_xray_abnormal":false,"citation":{"authors":"Liang W, Liang H, Ou L, Chen B, Chen A, Li C, et al.","doi":"10.1001/jamainternmed.2020.2033","id":"liang-2020-covid-gram","pmid":"32396163","source":"JAMA Intern Med. 2020;180(8):1081-1089","title":"Development and Validation of a Clinical Risk Score to Predict the Occurrence of Critical Illness in Hospitalized Patients With COVID-19"},"direct_bilirubin_umol_l":3,"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.","dyspnea":false,"estimated_probability_percent":0.7,"formula":"covid_gram","formula_expression":"lp = 1.2205*chest_xray_abnormal + 0.0276*age + 1.5116*hemoptysis + 0.632*dyspnea + 1.5494*unconsciousness + 0.4668*number_of_comorbidities + 1.4037*cancer_history + 0.0562*nlr + 0.0024*ldh_u_l + 0.1376*direct_bilirubin_umol_l - 6.6127; probability = exp(lp)/(1+exp(lp)); Liang 2020 Table 3 logistic (printed ORs; intercept -6.6127 matches constant 0.001); critical illness = ICU, invasive ventilation, or death; LDH U/L; direct bilirubin umol/L; magent does not read the chest film or count comorbidities; Liang 2020 did not publish low/medium/high cutoffs","hemoptysis":false,"ldh_u_l":150,"logit":-4.8995,"nlr":2,"number_of_comorbidities":0,"unconsciousness":false}],"path":"/api/calc/cgram"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 1-120). Liang 2020 Table 3: +0.0276 per year (OR 1.03 per year). Development cohort ages 1-95.","type":"integer"},"cancer_history":{"description":"Cancer history as assigned by the caller (true or false). Liang 2020 Table 3: true adds 1.4037 (OR 4.07), separate from the comorbidity count.","type":"boolean"},"chest_xray_abnormal":{"description":"Chest radiograph abnormality as assigned by the caller (true or false). Liang 2020 Table 3: true adds 1.2205 (OR 3.39). magent does not read the film.","type":"boolean"},"direct_bilirubin_umol_l":{"description":"Direct bilirubin in umol/L (0-200). Liang 2020 Table 3: +0.1376 per umol/L (OR 1.15). magent does not convert mg/dL.","type":"number"},"dyspnea":{"description":"Dyspnea (shortness of breath) as assigned by the caller (true or false). Liang 2020 Table 3: true adds 0.632 (OR 1.88).","type":"boolean"},"hemoptysis":{"description":"Hemoptysis as assigned by the caller (true or false). Liang 2020 Table 3: true adds 1.5116 (OR 4.53).","type":"boolean"},"ldh_u_l":{"description":"Lactate dehydrogenase in U/L (1-5000). Liang 2020 Table 3: +0.0024 per U/L (OR 1.002). magent does not convert other LDH units.","type":"number"},"nlr":{"description":"Neutrophil-to-lymphocyte ratio (0.01-200). Liang 2020 Table 3: +0.0562 per unit (OR 1.06). Caller assigns the ratio; magent does not compute it from counts.","type":"number"},"number_of_comorbidities":{"description":"Caller-assigned count of comorbidities as Liang 2020 defined (integer 0-10): COPD, diabetes, hypertension, cardiovascular disease, cerebrovascular disease, hepatitis B, cancer, chronic kidney disease, immunodeficiency. Table 3: +0.4668 per comorbidity (OR 1.60). magent does not count diagnoses.","type":"integer"},"unconsciousness":{"description":"Unconsciousness as assigned by the caller (true or false). Liang 2020 Table 3: true adds 1.5494 (OR 4.71).","type":"boolean"}},"required":["age","chest_xray_abnormal","hemoptysis","dyspnea","unconsciousness","number_of_comorbidities","cancer_history","nlr","ldh_u_l","direct_bilirubin_umol_l"],"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},{"id":39252,"slug":"39252","resource":"https://api.magentlab.com/api/calc/cfs","description":"Rockwood 2005 CSHA Clinical Frailty Scale 1-7 as assigned by the caller (Box 1). Returns cfs, score, max 7, and the published label. Does not implement the later 9-point CFS (8 very severely frail, 9 terminally ill) or CFS 2.0 label changes. Not a diagnosis; magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cfs":1},{"cfs":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cfs":1,"citation":{"authors":"Rockwood K, Song X, MacKnight C, Bergman H, Hogan DB, McDowell I, Mitnitski A","doi":"10.1503/cmaj.050051","id":"rockwood-2005","pmid":"16129869","source":"CMAJ. 2005;173(5):489-495","title":"A global clinical measure of fitness and frailty in elderly people"},"components":[{"factor":"cfs","points":1,"present":true}],"description":"Very fit — robust, active, energetic, well motivated and fit; these people commonly exercise regularly and are in the most fit group for their age","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":"cfs","formula_expression":"CSHA Clinical Frailty Scale 1-7 as assigned by the caller (Rockwood 2005 Box 1); not the later 9-point CFS","max_score":7,"score":1},{"cfs":1,"citation":{"authors":"Rockwood K, Song X, MacKnight C, Bergman H, Hogan DB, McDowell I, Mitnitski A","doi":"10.1503/cmaj.050051","id":"rockwood-2005","pmid":"16129869","source":"CMAJ. 2005;173(5):489-495","title":"A global clinical measure of fitness and frailty in elderly people"},"components":[{"factor":"cfs","points":1,"present":true}],"description":"Very fit — robust, active, energetic, well motivated and fit; these people commonly exercise regularly and are in the most fit group for their age","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":"cfs","formula_expression":"CSHA Clinical Frailty Scale 1-7 as assigned by the caller (Rockwood 2005 Box 1); not the later 9-point CFS","max_score":7,"score":1}],"path":"/api/calc/cfs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cfs":{"description":"Rockwood 2005 CSHA Clinical Frailty Scale 1-7 as assigned by the caller (1 very fit; 2 well; 3 well, with treated comorbid disease; 4 apparently vulnerable; 5 mildly frail; 6 moderately frail; 7 severely frail, completely dependent or terminally ill). magent does not examine the patient. The later 9-point CFS (8 very severely frail, 9 terminally ill) is not accepted.","type":"integer"}},"required":["cfs"],"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":["cfs","frailty","emergency","geriatrics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:26:19.391Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:26:19.239Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cfs":1},{"cfs":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cfs":1,"citation":{"authors":"Rockwood K, Song X, MacKnight C, Bergman H, Hogan DB, McDowell I, Mitnitski A","doi":"10.1503/cmaj.050051","id":"rockwood-2005","pmid":"16129869","source":"CMAJ. 2005;173(5):489-495","title":"A global clinical measure of fitness and frailty in elderly people"},"components":[{"factor":"cfs","points":1,"present":true}],"description":"Very fit — robust, active, energetic, well motivated and fit; these people commonly exercise regularly and are in the most fit group for their age","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":"cfs","formula_expression":"CSHA Clinical Frailty Scale 1-7 as assigned by the caller (Rockwood 2005 Box 1); not the later 9-point CFS","max_score":7,"score":1},{"cfs":1,"citation":{"authors":"Rockwood K, Song X, MacKnight C, Bergman H, Hogan DB, McDowell I, Mitnitski A","doi":"10.1503/cmaj.050051","id":"rockwood-2005","pmid":"16129869","source":"CMAJ. 2005;173(5):489-495","title":"A global clinical measure of fitness and frailty in elderly people"},"components":[{"factor":"cfs","points":1,"present":true}],"description":"Very fit — robust, active, energetic, well motivated and fit; these people commonly exercise regularly and are in the most fit group for their age","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":"cfs","formula_expression":"CSHA Clinical Frailty Scale 1-7 as assigned by the caller (Rockwood 2005 Box 1); not the later 9-point CFS","max_score":7,"score":1}],"path":"/api/calc/cfs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cfs":{"description":"Rockwood 2005 CSHA Clinical Frailty Scale 1-7 as assigned by the caller (1 very fit; 2 well; 3 well, with treated comorbid disease; 4 apparently vulnerable; 5 mildly frail; 6 moderately frail; 7 severely frail, completely dependent or terminally ill). magent does not examine the patient. The later 9-point CFS (8 very severely frail, 9 terminally ill) is not accepted.","type":"integer"}},"required":["cfs"],"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},{"id":39253,"slug":"39253","resource":"https://api.magentlab.com/api/calc/centor","description":"Centor or McIsaac (age-modified) score for streptococcal pharyngitis from four caller-assigned findings. edition=centor (max 4) or edition=mcisaac (age 3-14 +1, 15-44 0, >=45 -1, max 5) is required; magent does not pick one. Deterministic published score with citation; not a test-or-treat protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":30,"cough_absent":false,"edition":"mcisaac","history_of_fever":false,"tender_anterior_cervical_nodes":false,"tonsillar_exudates":false},{"age":30,"cough_absent":false,"edition":"mcisaac","history_of_fever":false,"tender_anterior_cervical_nodes":false,"tonsillar_exudates":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"citation":{"authors":"McIsaac WJ, Kellner JD, Aufricht P, Vanjaka A, Low DE","doi":"10.1001/jama.291.13.1587","id":"mcisaac-2004","source":"JAMA. 2004;291(13):1587-1595","title":"Empirical validation of guidelines for the management of pharyngitis in children and adults"},"components":[{"factor":"tonsillar_exudates","points":0,"present":false},{"factor":"tender_anterior_cervical_nodes","points":0,"present":false},{"factor":"history_of_fever","points":0,"present":false},{"factor":"cough_absent","points":0,"present":false},{"factor":"age_adjustment","points":0,"present":false,"value":30}],"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.","edition":"mcisaac","formula":"mcisaac","formula_expression":"McIsaac = Centor criteria + age 3-14 +1, 15-44 0, >=45 -1; max 5","max_score":5,"score":0},{"age_years":30,"citation":{"authors":"McIsaac WJ, Kellner JD, Aufricht P, Vanjaka A, Low DE","doi":"10.1001/jama.291.13.1587","id":"mcisaac-2004","source":"JAMA. 2004;291(13):1587-1595","title":"Empirical validation of guidelines for the management of pharyngitis in children and adults"},"components":[{"factor":"tonsillar_exudates","points":0,"present":false},{"factor":"tender_anterior_cervical_nodes","points":0,"present":false},{"factor":"history_of_fever","points":0,"present":false},{"factor":"cough_absent","points":0,"present":false},{"factor":"age_adjustment","points":0,"present":false,"value":30}],"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.","edition":"mcisaac","formula":"mcisaac","formula_expression":"McIsaac = Centor criteria + age 3-14 +1, 15-44 0, >=45 -1; max 5","max_score":5,"score":0}],"path":"/api/calc/centor"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (3-120). Required when edition=mcisaac (3-14 +1, 15-44 0, >=45 -1). Ignored when edition=centor.","type":"integer"},"cough_absent":{"description":"Absence of cough. true when cough is absent; false when cough is present.","type":"boolean"},"edition":{"description":"Published score. Required; magent does not pick Centor (four findings, max 4) or McIsaac (age-modified, max 5).","enum":["centor","mcisaac"],"type":"string"},"history_of_fever":{"description":"History of fever. true or false as assigned by the caller.","type":"boolean"},"tender_anterior_cervical_nodes":{"description":"Tender anterior cervical nodes. true or false as assigned by the caller.","type":"boolean"},"tonsillar_exudates":{"description":"Tonsillar exudates. true or false as assigned by the caller.","type":"boolean"}},"required":["edition","tonsillar_exudates","tender_anterior_cervical_nodes","history_of_fever","cough_absent"],"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":["centor","mcisaac","pharyngitis","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:26:18.267Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:26:18.114Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":30,"cough_absent":false,"edition":"mcisaac","history_of_fever":false,"tender_anterior_cervical_nodes":false,"tonsillar_exudates":false},{"age":30,"cough_absent":false,"edition":"mcisaac","history_of_fever":false,"tender_anterior_cervical_nodes":false,"tonsillar_exudates":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"citation":{"authors":"McIsaac WJ, Kellner JD, Aufricht P, Vanjaka A, Low DE","doi":"10.1001/jama.291.13.1587","id":"mcisaac-2004","source":"JAMA. 2004;291(13):1587-1595","title":"Empirical validation of guidelines for the management of pharyngitis in children and adults"},"components":[{"factor":"tonsillar_exudates","points":0,"present":false},{"factor":"tender_anterior_cervical_nodes","points":0,"present":false},{"factor":"history_of_fever","points":0,"present":false},{"factor":"cough_absent","points":0,"present":false},{"factor":"age_adjustment","points":0,"present":false,"value":30}],"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.","edition":"mcisaac","formula":"mcisaac","formula_expression":"McIsaac = Centor criteria + age 3-14 +1, 15-44 0, >=45 -1; max 5","max_score":5,"score":0},{"age_years":30,"citation":{"authors":"McIsaac WJ, Kellner JD, Aufricht P, Vanjaka A, Low DE","doi":"10.1001/jama.291.13.1587","id":"mcisaac-2004","source":"JAMA. 2004;291(13):1587-1595","title":"Empirical validation of guidelines for the management of pharyngitis in children and adults"},"components":[{"factor":"tonsillar_exudates","points":0,"present":false},{"factor":"tender_anterior_cervical_nodes","points":0,"present":false},{"factor":"history_of_fever","points":0,"present":false},{"factor":"cough_absent","points":0,"present":false},{"factor":"age_adjustment","points":0,"present":false,"value":30}],"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.","edition":"mcisaac","formula":"mcisaac","formula_expression":"McIsaac = Centor criteria + age 3-14 +1, 15-44 0, >=45 -1; max 5","max_score":5,"score":0}],"path":"/api/calc/centor"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (3-120). Required when edition=mcisaac (3-14 +1, 15-44 0, >=45 -1). Ignored when edition=centor.","type":"integer"},"cough_absent":{"description":"Absence of cough. true when cough is absent; false when cough is present.","type":"boolean"},"edition":{"description":"Published score. Required; magent does not pick Centor (four findings, max 4) or McIsaac (age-modified, max 5).","enum":["centor","mcisaac"],"type":"string"},"history_of_fever":{"description":"History of fever. true or false as assigned by the caller.","type":"boolean"},"tender_anterior_cervical_nodes":{"description":"Tender anterior cervical nodes. true or false as assigned by the caller.","type":"boolean"},"tonsillar_exudates":{"description":"Tonsillar exudates. true or false as assigned by the caller.","type":"boolean"}},"required":["edition","tonsillar_exudates","tender_anterior_cervical_nodes","history_of_fever","cough_absent"],"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},{"id":39254,"slug":"39254","resource":"https://api.magentlab.com/api/calc/cedocs","description":"Weiss 2014 Community ED Overcrowding Scale (CEDOCS) reduced model: critical-care patients, longest admitted-patient hours since admission, waiting-room count, ED patients indexed to ED beds, and annual ED visits with a restricted cubic spline. Returns the 1-decimal score on the paper's 0-100 scale without clamping or named class bands. Caller supplies counts and hours; magent does not count patients or wait times. Not a medical device and not a diversion or ambulance-bypass order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"admit_time_hours":0,"critical_care_patients":0,"ed_beds":20,"ed_patients":0,"ed_visits_per_year":46000,"waiting_room_patients":0},{"admit_time_hours":0,"critical_care_patients":0,"ed_beds":20,"ed_patients":0,"ed_visits_per_year":46000,"waiting_room_patients":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"admit_time_hours":0,"cedocs_score":5.5,"citation":{"authors":"Weiss SJ, Rogers DB, Maas F, Ernst AA, Nick TG","doi":"10.1016/j.ajem.2014.08.035","id":"weiss-2014","pmid":"25234796","source":"Am J Emerg Med. 2014;32(11):1357-1363","title":"Evaluating community ED crowding: the Community ED Overcrowding Scale study"},"critical_care_patients":0,"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.","ed_beds":20,"ed_patients":0,"ed_visits_per_year":46000,"formula":"cedocs","formula_expression":"cedocs_score = -30.39 + 3.00 * critical_care_patients + 0.53 * admit_time_hours + 1.16 * waiting_room_patients + 20.66 * (ed_patients / ed_beds) + 0.00126 * ed_visits_per_year - 1.11e-12 * pmax(ed_visits_per_year - 18811, 0)^3 + 8.23e-12 * pmax(ed_visits_per_year - 43012, 0)^3 - 8.20e-12 * pmax(ed_visits_per_year - 49466, 0)^3 + 1.08e-12 * pmax(ed_visits_per_year - 67273, 0)^3","occupancy":0,"waiting_room_patients":0},{"admit_time_hours":0,"cedocs_score":5.5,"citation":{"authors":"Weiss SJ, Rogers DB, Maas F, Ernst AA, Nick TG","doi":"10.1016/j.ajem.2014.08.035","id":"weiss-2014","pmid":"25234796","source":"Am J Emerg Med. 2014;32(11):1357-1363","title":"Evaluating community ED crowding: the Community ED Overcrowding Scale study"},"critical_care_patients":0,"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.","ed_beds":20,"ed_patients":0,"ed_visits_per_year":46000,"formula":"cedocs","formula_expression":"cedocs_score = -30.39 + 3.00 * critical_care_patients + 0.53 * admit_time_hours + 1.16 * waiting_room_patients + 20.66 * (ed_patients / ed_beds) + 0.00126 * ed_visits_per_year - 1.11e-12 * pmax(ed_visits_per_year - 18811, 0)^3 + 8.23e-12 * pmax(ed_visits_per_year - 43012, 0)^3 - 8.20e-12 * pmax(ed_visits_per_year - 49466, 0)^3 + 1.08e-12 * pmax(ed_visits_per_year - 67273, 0)^3","occupancy":0,"waiting_room_patients":0}],"path":"/api/calc/cedocs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"admit_time_hours":{"description":"Hours the longest-waiting admitted patient has been in the ED since admission (0-120). Weiss 2014 reduced-model B. Not time since registration. magent does not measure wait times.","type":"number"},"critical_care_patients":{"description":"Critical-care patients in the ED (integer 0-20). Weiss 2014 reduced-model A. magent does not count patients.","type":"integer"},"ed_beds":{"description":"Number of ED beds (integer 1-300). Weiss 2014 occupancy denominator. magent does not count beds.","type":"integer"},"ed_patients":{"description":"Total patients in the ED (integer 0-200). Weiss 2014 occupancy numerator (beds plus doubled-up or hallway). magent does not count patients.","type":"integer"},"ed_visits_per_year":{"description":"ED visits per year (integer 1000-200000). Weiss 2014 reduced-model E with restricted cubic spline knots at 18811, 43012, 49466, and 67273. The paper's spline worked example uses 46000. magent does not count visits.","type":"integer"},"waiting_room_patients":{"description":"Patients in the waiting room (integer 0-200). Weiss 2014 reduced-model C. magent does not count waiting-room patients.","type":"integer"}},"required":["critical_care_patients","admit_time_hours","waiting_room_patients","ed_patients","ed_beds","ed_visits_per_year"],"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":["cedocs","overcrowding","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:21:08.804Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:21:08.66Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"admit_time_hours":0,"critical_care_patients":0,"ed_beds":20,"ed_patients":0,"ed_visits_per_year":46000,"waiting_room_patients":0},{"admit_time_hours":0,"critical_care_patients":0,"ed_beds":20,"ed_patients":0,"ed_visits_per_year":46000,"waiting_room_patients":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"admit_time_hours":0,"cedocs_score":5.5,"citation":{"authors":"Weiss SJ, Rogers DB, Maas F, Ernst AA, Nick TG","doi":"10.1016/j.ajem.2014.08.035","id":"weiss-2014","pmid":"25234796","source":"Am J Emerg Med. 2014;32(11):1357-1363","title":"Evaluating community ED crowding: the Community ED Overcrowding Scale study"},"critical_care_patients":0,"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.","ed_beds":20,"ed_patients":0,"ed_visits_per_year":46000,"formula":"cedocs","formula_expression":"cedocs_score = -30.39 + 3.00 * critical_care_patients + 0.53 * admit_time_hours + 1.16 * waiting_room_patients + 20.66 * (ed_patients / ed_beds) + 0.00126 * ed_visits_per_year - 1.11e-12 * pmax(ed_visits_per_year - 18811, 0)^3 + 8.23e-12 * pmax(ed_visits_per_year - 43012, 0)^3 - 8.20e-12 * pmax(ed_visits_per_year - 49466, 0)^3 + 1.08e-12 * pmax(ed_visits_per_year - 67273, 0)^3","occupancy":0,"waiting_room_patients":0},{"admit_time_hours":0,"cedocs_score":5.5,"citation":{"authors":"Weiss SJ, Rogers DB, Maas F, Ernst AA, Nick TG","doi":"10.1016/j.ajem.2014.08.035","id":"weiss-2014","pmid":"25234796","source":"Am J Emerg Med. 2014;32(11):1357-1363","title":"Evaluating community ED crowding: the Community ED Overcrowding Scale study"},"critical_care_patients":0,"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.","ed_beds":20,"ed_patients":0,"ed_visits_per_year":46000,"formula":"cedocs","formula_expression":"cedocs_score = -30.39 + 3.00 * critical_care_patients + 0.53 * admit_time_hours + 1.16 * waiting_room_patients + 20.66 * (ed_patients / ed_beds) + 0.00126 * ed_visits_per_year - 1.11e-12 * pmax(ed_visits_per_year - 18811, 0)^3 + 8.23e-12 * pmax(ed_visits_per_year - 43012, 0)^3 - 8.20e-12 * pmax(ed_visits_per_year - 49466, 0)^3 + 1.08e-12 * pmax(ed_visits_per_year - 67273, 0)^3","occupancy":0,"waiting_room_patients":0}],"path":"/api/calc/cedocs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"admit_time_hours":{"description":"Hours the longest-waiting admitted patient has been in the ED since admission (0-120). Weiss 2014 reduced-model B. Not time since registration. magent does not measure wait times.","type":"number"},"critical_care_patients":{"description":"Critical-care patients in the ED (integer 0-20). Weiss 2014 reduced-model A. magent does not count patients.","type":"integer"},"ed_beds":{"description":"Number of ED beds (integer 1-300). Weiss 2014 occupancy denominator. magent does not count beds.","type":"integer"},"ed_patients":{"description":"Total patients in the ED (integer 0-200). Weiss 2014 occupancy numerator (beds plus doubled-up or hallway). magent does not count patients.","type":"integer"},"ed_visits_per_year":{"description":"ED visits per year (integer 1000-200000). Weiss 2014 reduced-model E with restricted cubic spline knots at 18811, 43012, 49466, and 67273. The paper's spline worked example uses 46000. magent does not count visits.","type":"integer"},"waiting_room_patients":{"description":"Patients in the waiting room (integer 0-200). Weiss 2014 reduced-model C. magent does not count waiting-room patients.","type":"integer"}},"required":["critical_care_patients","admit_time_hours","waiting_room_patients","ed_patients","ed_beds","ed_visits_per_year"],"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},{"id":39255,"slug":"39255","resource":"https://api.magentlab.com/api/calc/cdai","description":"Best 1976 Crohn's disease activity index (CDAI): eight weighted variables (7-day liquid stools *2, abdominal-pain sum *5, well-being sum *7, extra-intestinal count *20, antidiarrheal *30, abdominal mass 0/2/5 *10, hematocrit deficit *6, caller-assigned weight-percent deviation). magent returns the rounded integer index only and does not apply later trial activity bands. magent does not examine the patient. Not a Crohn's diagnosis and not the Harvey-Bradshaw one-day index.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abdominal_mass":0,"abdominal_pain_sum_7d":0,"extra_intestinal_count":0,"hematocrit_percent":47,"liquid_stool_count_7d":0,"sex":"male","taking_antidiarrheal":false,"weight_percent_deviation":0,"wellbeing_sum_7d":0},{"abdominal_mass":0,"abdominal_pain_sum_7d":0,"extra_intestinal_count":0,"hematocrit_percent":47,"liquid_stool_count_7d":0,"sex":"male","taking_antidiarrheal":false,"weight_percent_deviation":0,"wellbeing_sum_7d":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abdominal_mass":0,"abdominal_pain_sum_7d":0,"citation":{"authors":"Best WR, Becktel JM, Singleton JW, Kern F Jr","doi":"10.1016/S0016-5085(76)80163-1","id":"best-1976","pmid":"1248701","source":"Gastroenterology. 1976;70(3):439-444","title":"Development of a Crohn's disease activity index. National Cooperative Crohn's Disease Study"},"components":[{"factor":"liquid_stool_count_7d","points":0,"present":true,"value":0},{"factor":"abdominal_pain_sum_7d","points":0,"present":true,"value":0},{"factor":"wellbeing_sum_7d","points":0,"present":true,"value":0},{"factor":"extra_intestinal_count","points":0,"present":true,"value":0},{"factor":"taking_antidiarrheal","points":0,"present":false},{"factor":"abdominal_mass","points":0,"present":true,"value":0},{"factor":"hematocrit_deficit","points":0,"present":true,"value":0},{"factor":"weight_percent_deviation","points":0,"present":true,"value":0}],"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.","extra_intestinal_count":0,"formula":"cdai","formula_expression":"CDAI = liquid_stool_count_7d*2 + abdominal_pain_sum_7d*5 + wellbeing_sum_7d*7 + extra_intestinal_count*20 + taking_antidiarrheal*30 + abdominal_mass*10 + hematocrit_deficit*6 + weight_percent_deviation; hematocrit_deficit = 47-hematocrit_percent (male) or 42-hematocrit_percent (female); Best 1976; score rounded after the weight term","hematocrit_deficit":0,"hematocrit_percent":47,"liquid_stool_count_7d":0,"score":0,"sex":"male","taking_antidiarrheal":false,"weight_percent_deviation":0,"wellbeing_sum_7d":0},{"abdominal_mass":0,"abdominal_pain_sum_7d":0,"citation":{"authors":"Best WR, Becktel JM, Singleton JW, Kern F Jr","doi":"10.1016/S0016-5085(76)80163-1","id":"best-1976","pmid":"1248701","source":"Gastroenterology. 1976;70(3):439-444","title":"Development of a Crohn's disease activity index. National Cooperative Crohn's Disease Study"},"components":[{"factor":"liquid_stool_count_7d","points":0,"present":true,"value":0},{"factor":"abdominal_pain_sum_7d","points":0,"present":true,"value":0},{"factor":"wellbeing_sum_7d","points":0,"present":true,"value":0},{"factor":"extra_intestinal_count","points":0,"present":true,"value":0},{"factor":"taking_antidiarrheal","points":0,"present":false},{"factor":"abdominal_mass","points":0,"present":true,"value":0},{"factor":"hematocrit_deficit","points":0,"present":true,"value":0},{"factor":"weight_percent_deviation","points":0,"present":true,"value":0}],"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.","extra_intestinal_count":0,"formula":"cdai","formula_expression":"CDAI = liquid_stool_count_7d*2 + abdominal_pain_sum_7d*5 + wellbeing_sum_7d*7 + extra_intestinal_count*20 + taking_antidiarrheal*30 + abdominal_mass*10 + hematocrit_deficit*6 + weight_percent_deviation; hematocrit_deficit = 47-hematocrit_percent (male) or 42-hematocrit_percent (female); Best 1976; score rounded after the weight term","hematocrit_deficit":0,"hematocrit_percent":47,"liquid_stool_count_7d":0,"score":0,"sex":"male","taking_antidiarrheal":false,"weight_percent_deviation":0,"wellbeing_sum_7d":0}],"path":"/api/calc/cdai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_mass":{"description":"Caller-assigned Best 1976 abdominal mass (exactly 0 none, 2 questionable, or 5 definite; ×10). Not 1, 3, or 4. magent does not examine the patient.","type":"integer"},"abdominal_pain_sum_7d":{"description":"Sum of daily Best 1976 abdominal-pain ratings over 7 days (integer 0-21; each day 0 none, 1 mild, 2 moderate, 3 severe; ×5). magent does not examine the patient.","type":"integer"},"extra_intestinal_count":{"description":"Caller-assigned count 0-6 of Best 1976 extra-intestinal findings (one each: arthritis/arthralgia; iritis/uveitis; erythema nodosum/pyoderma gangrenosum/aphthous ulcer; anal fissure/fistula/abscess; other fistula; fever >37.8 C in the past week; ×20). magent takes the integer count and does not enumerate those names as separate params.","type":"integer"},"hematocrit_percent":{"description":"Hematocrit in percent (10-70). Best 1976 uses a whole-number hematocrit. Deficit is 47 minus this value (male) or 42 minus this value (female), then ×6; may be negative if above the sex standard. magent does not assay hematocrit.","type":"number"},"liquid_stool_count_7d":{"description":"Sum of liquid or very soft stools over 7 days (Best 1976; ×2). Integer 0-70 is a magent clamp, not a published maximum. magent does not count stools.","type":"integer"},"sex":{"description":"male or female. Best 1976 hematocrit standard is 47 (male) or 42 (female). magent does not examine the patient.","type":"string"},"taking_antidiarrheal":{"description":"Taking diphenoxylate/atropine (Lomotil) or opiates for diarrhea as in Best 1976. true or false. true scores 30. magent does not examine the patient.","type":"boolean"},"weight_percent_deviation":{"description":"Caller-assigned Best 1976 weight term 100*(1 - current/standard). May be negative if current is above standard. Magent clamp -50 to 80, not a published range. magent does not look up a standard weight.","type":"number"},"wellbeing_sum_7d":{"description":"Sum of daily Best 1976 general well-being ratings over 7 days (integer 0-28; each day 0 generally well, 1 slightly below par, 2 poor, 3 very poor, 4 terrible; ×7). magent does not examine the patient.","type":"integer"}},"required":["sex","liquid_stool_count_7d","abdominal_pain_sum_7d","wellbeing_sum_7d","extra_intestinal_count","taking_antidiarrheal","abdominal_mass","hematocrit_percent","weight_percent_deviation"],"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":["cdai","crohns","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:21:08.074Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:21:07.906Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abdominal_mass":0,"abdominal_pain_sum_7d":0,"extra_intestinal_count":0,"hematocrit_percent":47,"liquid_stool_count_7d":0,"sex":"male","taking_antidiarrheal":false,"weight_percent_deviation":0,"wellbeing_sum_7d":0},{"abdominal_mass":0,"abdominal_pain_sum_7d":0,"extra_intestinal_count":0,"hematocrit_percent":47,"liquid_stool_count_7d":0,"sex":"male","taking_antidiarrheal":false,"weight_percent_deviation":0,"wellbeing_sum_7d":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abdominal_mass":0,"abdominal_pain_sum_7d":0,"citation":{"authors":"Best WR, Becktel JM, Singleton JW, Kern F Jr","doi":"10.1016/S0016-5085(76)80163-1","id":"best-1976","pmid":"1248701","source":"Gastroenterology. 1976;70(3):439-444","title":"Development of a Crohn's disease activity index. National Cooperative Crohn's Disease Study"},"components":[{"factor":"liquid_stool_count_7d","points":0,"present":true,"value":0},{"factor":"abdominal_pain_sum_7d","points":0,"present":true,"value":0},{"factor":"wellbeing_sum_7d","points":0,"present":true,"value":0},{"factor":"extra_intestinal_count","points":0,"present":true,"value":0},{"factor":"taking_antidiarrheal","points":0,"present":false},{"factor":"abdominal_mass","points":0,"present":true,"value":0},{"factor":"hematocrit_deficit","points":0,"present":true,"value":0},{"factor":"weight_percent_deviation","points":0,"present":true,"value":0}],"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.","extra_intestinal_count":0,"formula":"cdai","formula_expression":"CDAI = liquid_stool_count_7d*2 + abdominal_pain_sum_7d*5 + wellbeing_sum_7d*7 + extra_intestinal_count*20 + taking_antidiarrheal*30 + abdominal_mass*10 + hematocrit_deficit*6 + weight_percent_deviation; hematocrit_deficit = 47-hematocrit_percent (male) or 42-hematocrit_percent (female); Best 1976; score rounded after the weight term","hematocrit_deficit":0,"hematocrit_percent":47,"liquid_stool_count_7d":0,"score":0,"sex":"male","taking_antidiarrheal":false,"weight_percent_deviation":0,"wellbeing_sum_7d":0},{"abdominal_mass":0,"abdominal_pain_sum_7d":0,"citation":{"authors":"Best WR, Becktel JM, Singleton JW, Kern F Jr","doi":"10.1016/S0016-5085(76)80163-1","id":"best-1976","pmid":"1248701","source":"Gastroenterology. 1976;70(3):439-444","title":"Development of a Crohn's disease activity index. National Cooperative Crohn's Disease Study"},"components":[{"factor":"liquid_stool_count_7d","points":0,"present":true,"value":0},{"factor":"abdominal_pain_sum_7d","points":0,"present":true,"value":0},{"factor":"wellbeing_sum_7d","points":0,"present":true,"value":0},{"factor":"extra_intestinal_count","points":0,"present":true,"value":0},{"factor":"taking_antidiarrheal","points":0,"present":false},{"factor":"abdominal_mass","points":0,"present":true,"value":0},{"factor":"hematocrit_deficit","points":0,"present":true,"value":0},{"factor":"weight_percent_deviation","points":0,"present":true,"value":0}],"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.","extra_intestinal_count":0,"formula":"cdai","formula_expression":"CDAI = liquid_stool_count_7d*2 + abdominal_pain_sum_7d*5 + wellbeing_sum_7d*7 + extra_intestinal_count*20 + taking_antidiarrheal*30 + abdominal_mass*10 + hematocrit_deficit*6 + weight_percent_deviation; hematocrit_deficit = 47-hematocrit_percent (male) or 42-hematocrit_percent (female); Best 1976; score rounded after the weight term","hematocrit_deficit":0,"hematocrit_percent":47,"liquid_stool_count_7d":0,"score":0,"sex":"male","taking_antidiarrheal":false,"weight_percent_deviation":0,"wellbeing_sum_7d":0}],"path":"/api/calc/cdai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_mass":{"description":"Caller-assigned Best 1976 abdominal mass (exactly 0 none, 2 questionable, or 5 definite; ×10). Not 1, 3, or 4. magent does not examine the patient.","type":"integer"},"abdominal_pain_sum_7d":{"description":"Sum of daily Best 1976 abdominal-pain ratings over 7 days (integer 0-21; each day 0 none, 1 mild, 2 moderate, 3 severe; ×5). magent does not examine the patient.","type":"integer"},"extra_intestinal_count":{"description":"Caller-assigned count 0-6 of Best 1976 extra-intestinal findings (one each: arthritis/arthralgia; iritis/uveitis; erythema nodosum/pyoderma gangrenosum/aphthous ulcer; anal fissure/fistula/abscess; other fistula; fever >37.8 C in the past week; ×20). magent takes the integer count and does not enumerate those names as separate params.","type":"integer"},"hematocrit_percent":{"description":"Hematocrit in percent (10-70). Best 1976 uses a whole-number hematocrit. Deficit is 47 minus this value (male) or 42 minus this value (female), then ×6; may be negative if above the sex standard. magent does not assay hematocrit.","type":"number"},"liquid_stool_count_7d":{"description":"Sum of liquid or very soft stools over 7 days (Best 1976; ×2). Integer 0-70 is a magent clamp, not a published maximum. magent does not count stools.","type":"integer"},"sex":{"description":"male or female. Best 1976 hematocrit standard is 47 (male) or 42 (female). magent does not examine the patient.","type":"string"},"taking_antidiarrheal":{"description":"Taking diphenoxylate/atropine (Lomotil) or opiates for diarrhea as in Best 1976. true or false. true scores 30. magent does not examine the patient.","type":"boolean"},"weight_percent_deviation":{"description":"Caller-assigned Best 1976 weight term 100*(1 - current/standard). May be negative if current is above standard. Magent clamp -50 to 80, not a published range. magent does not look up a standard weight.","type":"number"},"wellbeing_sum_7d":{"description":"Sum of daily Best 1976 general well-being ratings over 7 days (integer 0-28; each day 0 generally well, 1 slightly below par, 2 poor, 3 very poor, 4 terrible; ×7). magent does not examine the patient.","type":"integer"}},"required":["sex","liquid_stool_count_7d","abdominal_pain_sum_7d","wellbeing_sum_7d","extra_intestinal_count","taking_antidiarrheal","abdominal_mass","hematocrit_percent","weight_percent_deviation"],"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},{"id":39256,"slug":"39256","resource":"https://api.magentlab.com/api/calc/ccs_angina","description":"CCS angina of effort class 1-4 as assigned by the caller (Campeau 1976 Table 1). Returns class, score, max 4, and the published class description. Class 1-4 only; no class 0. magent does not walk the patient, interpret a treadmill, or examine the patient. Not an ACS diagnosis, not NYHA, and not a silent-ischemia screen.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ccs_class":1},{"ccs_class":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ccs_class":1,"citation":{"authors":"Campeau L","doi":"10.1161/circ.54.3.947585","id":"campeau-1976","pmid":"947585","source":"Circulation. 1976;54(3):522-523","title":"Grading of angina pectoris"},"components":[{"factor":"ccs_class","points":1,"present":true}],"description":"Ordinary physical activity does not cause angina, such as walking and climbing stairs. Angina with strenuous or rapid or prolonged exertion at work or recreation.","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":"ccs_angina","formula_expression":"CCS angina of effort class 1-4 as assigned by the caller (Campeau 1976 Table 1); not a treadmill interpretation","max_score":4,"score":1},{"ccs_class":1,"citation":{"authors":"Campeau L","doi":"10.1161/circ.54.3.947585","id":"campeau-1976","pmid":"947585","source":"Circulation. 1976;54(3):522-523","title":"Grading of angina pectoris"},"components":[{"factor":"ccs_class","points":1,"present":true}],"description":"Ordinary physical activity does not cause angina, such as walking and climbing stairs. Angina with strenuous or rapid or prolonged exertion at work or recreation.","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":"ccs_angina","formula_expression":"CCS angina of effort class 1-4 as assigned by the caller (Campeau 1976 Table 1); not a treadmill interpretation","max_score":4,"score":1}],"path":"/api/calc/ccs_angina"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ccs_class":{"description":"CCS angina of effort class 1-4 as assigned by the caller (Campeau 1976 Table 1: 1 ordinary activity does not cause angina; angina with strenuous or rapid or prolonged exertion at work or recreation; 2 slight limitation of ordinary activity, including walking more than 2 blocks or climbing more than one flight of ordinary stairs at a normal pace; 3 marked limitation, walking one to two blocks or climbing one flight of stairs in normal conditions; 4 inability to carry on any physical activity without discomfort, anginal syndrome may be present at rest). magent does not examine the patient.","type":"integer"}},"required":["ccs_class"],"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":["ccs-angina","angina","acs","campeau","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:21:06.898Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:21:06.583Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ccs_class":1},{"ccs_class":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ccs_class":1,"citation":{"authors":"Campeau L","doi":"10.1161/circ.54.3.947585","id":"campeau-1976","pmid":"947585","source":"Circulation. 1976;54(3):522-523","title":"Grading of angina pectoris"},"components":[{"factor":"ccs_class","points":1,"present":true}],"description":"Ordinary physical activity does not cause angina, such as walking and climbing stairs. Angina with strenuous or rapid or prolonged exertion at work or recreation.","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":"ccs_angina","formula_expression":"CCS angina of effort class 1-4 as assigned by the caller (Campeau 1976 Table 1); not a treadmill interpretation","max_score":4,"score":1},{"ccs_class":1,"citation":{"authors":"Campeau L","doi":"10.1161/circ.54.3.947585","id":"campeau-1976","pmid":"947585","source":"Circulation. 1976;54(3):522-523","title":"Grading of angina pectoris"},"components":[{"factor":"ccs_class","points":1,"present":true}],"description":"Ordinary physical activity does not cause angina, such as walking and climbing stairs. Angina with strenuous or rapid or prolonged exertion at work or recreation.","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":"ccs_angina","formula_expression":"CCS angina of effort class 1-4 as assigned by the caller (Campeau 1976 Table 1); not a treadmill interpretation","max_score":4,"score":1}],"path":"/api/calc/ccs_angina"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ccs_class":{"description":"CCS angina of effort class 1-4 as assigned by the caller (Campeau 1976 Table 1: 1 ordinary activity does not cause angina; angina with strenuous or rapid or prolonged exertion at work or recreation; 2 slight limitation of ordinary activity, including walking more than 2 blocks or climbing more than one flight of ordinary stairs at a normal pace; 3 marked limitation, walking one to two blocks or climbing one flight of stairs in normal conditions; 4 inability to carry on any physical activity without discomfort, anginal syndrome may be present at rest). magent does not examine the patient.","type":"integer"}},"required":["ccs_class"],"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},{"id":39257,"slug":"39257","resource":"https://api.magentlab.com/api/calc/cat","description":"Jones 2009 COPD Assessment Test (CAT): eight caller-assigned integers 0-5 (cough, phlegm, chest tightness, breathlessness, activities, confidence, sleep, energy). Sum 0-40. magent does not interview. Jones 2009 printed no GOLD 0-10/11-20/21-30/31-40 impact bands; later website cutoffs are not applied. Not a diagnosis, not GOLD ABE, not BODE, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"activities":0,"breathlessness":0,"chest_tightness":0,"confidence":0,"cough":0,"energy":0,"phlegm":0,"sleep":0},{"activities":0,"breathlessness":0,"chest_tightness":0,"confidence":0,"cough":0,"energy":0,"phlegm":0,"sleep":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Jones PW, Harding G, Berry P, Wiklund I, Chen WH, Kline Leidy N","doi":"10.1183/09031936.00102509","id":"jones-2009","pmid":"19720809","source":"Eur Respir J. 2009;34(3):648-654","title":"Development and first validation of the COPD Assessment Test"},"components":[{"factor":"cough","points":0,"present":true,"value":0},{"factor":"phlegm","points":0,"present":true,"value":0},{"factor":"chest_tightness","points":0,"present":true,"value":0},{"factor":"breathlessness","points":0,"present":true,"value":0},{"factor":"activities","points":0,"present":true,"value":0},{"factor":"confidence","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"energy","points":0,"present":true,"value":0}],"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":"cat","formula_expression":"CAT = cough + phlegm + chest_tightness + breathlessness + activities + confidence + sleep + energy; each caller-assigned 0-5; Jones 2009 eight items; max 40; no GOLD 0-10 / 11-20 / 21-30 / 31-40 impact bands","max_score":40,"score":0},{"citation":{"authors":"Jones PW, Harding G, Berry P, Wiklund I, Chen WH, Kline Leidy N","doi":"10.1183/09031936.00102509","id":"jones-2009","pmid":"19720809","source":"Eur Respir J. 2009;34(3):648-654","title":"Development and first validation of the COPD Assessment Test"},"components":[{"factor":"cough","points":0,"present":true,"value":0},{"factor":"phlegm","points":0,"present":true,"value":0},{"factor":"chest_tightness","points":0,"present":true,"value":0},{"factor":"breathlessness","points":0,"present":true,"value":0},{"factor":"activities","points":0,"present":true,"value":0},{"factor":"confidence","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"energy","points":0,"present":true,"value":0}],"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":"cat","formula_expression":"CAT = cough + phlegm + chest_tightness + breathlessness + activities + confidence + sleep + energy; each caller-assigned 0-5; Jones 2009 eight items; max 40; no GOLD 0-10 / 11-20 / 21-30 / 31-40 impact bands","max_score":40,"score":0}],"path":"/api/calc/cat"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activities":{"description":"Caller-assigned Jones 2009 CAT activities (integer 0-5): 0 I am not limited doing any activities at home to 5 I am very limited doing activities at home. magent does not interview the patient.","type":"integer"},"breathlessness":{"description":"Caller-assigned Jones 2009 CAT breathlessness (integer 0-5): 0 when I walk up a hill or one flight of stairs I am not breathless to 5 when I walk up a hill or one flight of stairs I am very breathless. magent does not interview the patient.","type":"integer"},"chest_tightness":{"description":"Caller-assigned Jones 2009 CAT chest tightness (integer 0-5): 0 my chest does not feel tight at all to 5 my chest feels very tight. magent does not interview the patient.","type":"integer"},"confidence":{"description":"Caller-assigned Jones 2009 CAT confidence (integer 0-5): 0 I am confident leaving my home despite my lung condition to 5 I am not at all confident leaving my home because of my lung condition. magent does not interview the patient.","type":"integer"},"cough":{"description":"Caller-assigned Jones 2009 CAT cough (integer 0-5): 0 I never cough to 5 I cough all the time. magent does not interview the patient.","type":"integer"},"energy":{"description":"Caller-assigned Jones 2009 CAT energy (integer 0-5): 0 I have lots of energy to 5 I have no energy at all. magent does not interview the patient.","type":"integer"},"phlegm":{"description":"Caller-assigned Jones 2009 CAT phlegm (integer 0-5): 0 I have no phlegm (mucus) in my chest at all to 5 my chest is completely full of phlegm (mucus). magent does not interview the patient.","type":"integer"},"sleep":{"description":"Caller-assigned Jones 2009 CAT sleep (integer 0-5): 0 I sleep soundly to 5 I don't sleep soundly because of my lung condition. magent does not interview the patient.","type":"integer"}},"required":["cough","phlegm","chest_tightness","breathlessness","activities","confidence","sleep","energy"],"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":["cat","copd","respiratory","jones","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:16:04.121Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:16:04.012Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"activities":0,"breathlessness":0,"chest_tightness":0,"confidence":0,"cough":0,"energy":0,"phlegm":0,"sleep":0},{"activities":0,"breathlessness":0,"chest_tightness":0,"confidence":0,"cough":0,"energy":0,"phlegm":0,"sleep":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Jones PW, Harding G, Berry P, Wiklund I, Chen WH, Kline Leidy N","doi":"10.1183/09031936.00102509","id":"jones-2009","pmid":"19720809","source":"Eur Respir J. 2009;34(3):648-654","title":"Development and first validation of the COPD Assessment Test"},"components":[{"factor":"cough","points":0,"present":true,"value":0},{"factor":"phlegm","points":0,"present":true,"value":0},{"factor":"chest_tightness","points":0,"present":true,"value":0},{"factor":"breathlessness","points":0,"present":true,"value":0},{"factor":"activities","points":0,"present":true,"value":0},{"factor":"confidence","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"energy","points":0,"present":true,"value":0}],"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":"cat","formula_expression":"CAT = cough + phlegm + chest_tightness + breathlessness + activities + confidence + sleep + energy; each caller-assigned 0-5; Jones 2009 eight items; max 40; no GOLD 0-10 / 11-20 / 21-30 / 31-40 impact bands","max_score":40,"score":0},{"citation":{"authors":"Jones PW, Harding G, Berry P, Wiklund I, Chen WH, Kline Leidy N","doi":"10.1183/09031936.00102509","id":"jones-2009","pmid":"19720809","source":"Eur Respir J. 2009;34(3):648-654","title":"Development and first validation of the COPD Assessment Test"},"components":[{"factor":"cough","points":0,"present":true,"value":0},{"factor":"phlegm","points":0,"present":true,"value":0},{"factor":"chest_tightness","points":0,"present":true,"value":0},{"factor":"breathlessness","points":0,"present":true,"value":0},{"factor":"activities","points":0,"present":true,"value":0},{"factor":"confidence","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"energy","points":0,"present":true,"value":0}],"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":"cat","formula_expression":"CAT = cough + phlegm + chest_tightness + breathlessness + activities + confidence + sleep + energy; each caller-assigned 0-5; Jones 2009 eight items; max 40; no GOLD 0-10 / 11-20 / 21-30 / 31-40 impact bands","max_score":40,"score":0}],"path":"/api/calc/cat"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activities":{"description":"Caller-assigned Jones 2009 CAT activities (integer 0-5): 0 I am not limited doing any activities at home to 5 I am very limited doing activities at home. magent does not interview the patient.","type":"integer"},"breathlessness":{"description":"Caller-assigned Jones 2009 CAT breathlessness (integer 0-5): 0 when I walk up a hill or one flight of stairs I am not breathless to 5 when I walk up a hill or one flight of stairs I am very breathless. magent does not interview the patient.","type":"integer"},"chest_tightness":{"description":"Caller-assigned Jones 2009 CAT chest tightness (integer 0-5): 0 my chest does not feel tight at all to 5 my chest feels very tight. magent does not interview the patient.","type":"integer"},"confidence":{"description":"Caller-assigned Jones 2009 CAT confidence (integer 0-5): 0 I am confident leaving my home despite my lung condition to 5 I am not at all confident leaving my home because of my lung condition. magent does not interview the patient.","type":"integer"},"cough":{"description":"Caller-assigned Jones 2009 CAT cough (integer 0-5): 0 I never cough to 5 I cough all the time. magent does not interview the patient.","type":"integer"},"energy":{"description":"Caller-assigned Jones 2009 CAT energy (integer 0-5): 0 I have lots of energy to 5 I have no energy at all. magent does not interview the patient.","type":"integer"},"phlegm":{"description":"Caller-assigned Jones 2009 CAT phlegm (integer 0-5): 0 I have no phlegm (mucus) in my chest at all to 5 my chest is completely full of phlegm (mucus). magent does not interview the patient.","type":"integer"},"sleep":{"description":"Caller-assigned Jones 2009 CAT sleep (integer 0-5): 0 I sleep soundly to 5 I don't sleep soundly because of my lung condition. magent does not interview the patient.","type":"integer"}},"required":["cough","phlegm","chest_tightness","breathlessness","activities","confidence","sleep","energy"],"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},{"id":39258,"slug":"39258","resource":"https://api.magentlab.com/api/calc/cas","description":"Lee 2020 Coronavirus Anxiety Scale from five caller-assigned integers 0-4 over the past two weeks (dizzy, sleep, paralyzed, appetite, nausea). magent does not interview the patient. 0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day. Total 0-20. Returns screen_ge_9 (score ≥9; this paper 90% sensitivity and 85% specificity). Not a diagnosis, not GAD-7, and not extra mild/moderate bands.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"appetite":0,"dizzy":0,"nausea":0,"paralyzed":0,"sleep":0},{"appetite":0,"dizzy":0,"nausea":0,"paralyzed":0,"sleep":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lee SA","doi":"10.1080/07481187.2020.1748481","id":"lee-2020","pmid":"32299304","source":"Death Studies. 2020;44(7):393-401","title":"Coronavirus Anxiety Scale: A brief mental health screener for COVID-19 related anxiety"},"components":[{"factor":"dizzy","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"paralyzed","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0},{"factor":"nausea","points":0,"present":true,"value":0}],"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":"cas","formula_expression":"CAS = dizzy + sleep + paralyzed + appetite + nausea; each caller-assigned 0-4 (Lee 2020 / DSM-5 cross-cutting: 0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day); past two weeks; max 20; screen_ge_9 iff score ≥ 9","max_score":20,"score":0,"screen_ge_9":false},{"citation":{"authors":"Lee SA","doi":"10.1080/07481187.2020.1748481","id":"lee-2020","pmid":"32299304","source":"Death Studies. 2020;44(7):393-401","title":"Coronavirus Anxiety Scale: A brief mental health screener for COVID-19 related anxiety"},"components":[{"factor":"dizzy","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"paralyzed","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0},{"factor":"nausea","points":0,"present":true,"value":0}],"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":"cas","formula_expression":"CAS = dizzy + sleep + paralyzed + appetite + nausea; each caller-assigned 0-4 (Lee 2020 / DSM-5 cross-cutting: 0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day); past two weeks; max 20; screen_ge_9 iff score ≥ 9","max_score":20,"score":0,"screen_ge_9":false}],"path":"/api/calc/cas"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"appetite":{"description":"Caller-assigned Lee 2020 CAS item 4 (integer 0-4, past two weeks): I lost interest in eating when I thought about or was exposed to information about the coronavirus (0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day). magent does not interview the patient.","type":"integer"},"dizzy":{"description":"Caller-assigned Lee 2020 CAS item 1 (integer 0-4, past two weeks): I felt dizzy, lightheaded, or faint when I read or listened to news about the coronavirus (0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day). magent does not interview the patient.","type":"integer"},"nausea":{"description":"Caller-assigned Lee 2020 CAS item 5 (integer 0-4, past two weeks): I felt nauseous or had stomach problems when I thought about or was exposed to information about the coronavirus (0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day). magent does not interview the patient.","type":"integer"},"paralyzed":{"description":"Caller-assigned Lee 2020 CAS item 3 (integer 0-4, past two weeks): I felt paralyzed or frozen when I thought about or was exposed to information about the coronavirus (0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day). magent does not interview the patient.","type":"integer"},"sleep":{"description":"Caller-assigned Lee 2020 CAS item 2 (integer 0-4, past two weeks): I had trouble falling or staying asleep because I was thinking about the coronavirus (0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day). magent does not interview the patient.","type":"integer"}},"required":["dizzy","sleep","paralyzed","appetite","nausea"],"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":["cas","anxiety","covid-19","screening","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:16:02.92Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:16:02.792Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"appetite":0,"dizzy":0,"nausea":0,"paralyzed":0,"sleep":0},{"appetite":0,"dizzy":0,"nausea":0,"paralyzed":0,"sleep":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lee SA","doi":"10.1080/07481187.2020.1748481","id":"lee-2020","pmid":"32299304","source":"Death Studies. 2020;44(7):393-401","title":"Coronavirus Anxiety Scale: A brief mental health screener for COVID-19 related anxiety"},"components":[{"factor":"dizzy","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"paralyzed","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0},{"factor":"nausea","points":0,"present":true,"value":0}],"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":"cas","formula_expression":"CAS = dizzy + sleep + paralyzed + appetite + nausea; each caller-assigned 0-4 (Lee 2020 / DSM-5 cross-cutting: 0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day); past two weeks; max 20; screen_ge_9 iff score ≥ 9","max_score":20,"score":0,"screen_ge_9":false},{"citation":{"authors":"Lee SA","doi":"10.1080/07481187.2020.1748481","id":"lee-2020","pmid":"32299304","source":"Death Studies. 2020;44(7):393-401","title":"Coronavirus Anxiety Scale: A brief mental health screener for COVID-19 related anxiety"},"components":[{"factor":"dizzy","points":0,"present":true,"value":0},{"factor":"sleep","points":0,"present":true,"value":0},{"factor":"paralyzed","points":0,"present":true,"value":0},{"factor":"appetite","points":0,"present":true,"value":0},{"factor":"nausea","points":0,"present":true,"value":0}],"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":"cas","formula_expression":"CAS = dizzy + sleep + paralyzed + appetite + nausea; each caller-assigned 0-4 (Lee 2020 / DSM-5 cross-cutting: 0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day); past two weeks; max 20; screen_ge_9 iff score ≥ 9","max_score":20,"score":0,"screen_ge_9":false}],"path":"/api/calc/cas"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"appetite":{"description":"Caller-assigned Lee 2020 CAS item 4 (integer 0-4, past two weeks): I lost interest in eating when I thought about or was exposed to information about the coronavirus (0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day). magent does not interview the patient.","type":"integer"},"dizzy":{"description":"Caller-assigned Lee 2020 CAS item 1 (integer 0-4, past two weeks): I felt dizzy, lightheaded, or faint when I read or listened to news about the coronavirus (0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day). magent does not interview the patient.","type":"integer"},"nausea":{"description":"Caller-assigned Lee 2020 CAS item 5 (integer 0-4, past two weeks): I felt nauseous or had stomach problems when I thought about or was exposed to information about the coronavirus (0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day). magent does not interview the patient.","type":"integer"},"paralyzed":{"description":"Caller-assigned Lee 2020 CAS item 3 (integer 0-4, past two weeks): I felt paralyzed or frozen when I thought about or was exposed to information about the coronavirus (0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day). magent does not interview the patient.","type":"integer"},"sleep":{"description":"Caller-assigned Lee 2020 CAS item 2 (integer 0-4, past two weeks): I had trouble falling or staying asleep because I was thinking about the coronavirus (0 not at all, 1 rare less than a day or two, 2 several days, 3 more than 7 days, 4 nearly every day). magent does not interview the patient.","type":"integer"}},"required":["dizzy","sleep","paralyzed","appetite","nausea"],"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},{"id":39259,"slug":"39259","resource":"https://api.magentlab.com/api/calc/cart","description":"CART integer score from Churpek 2012 Table 3 (beta x 9): maximum respiratory rate, maximum heart rate, minimum diastolic BP, and age, summed to 0-57. magent does not measure vitals; the caller assigns the numbers. Deterministic published arithmetic with citation; not a cardiac-arrest diagnosis and not an RRT order. Does not return risk-band percents.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"diastolic_mm_hg":80,"heart_rate_bpm":80,"respiratory_rate":20},{"age":40,"diastolic_mm_hg":80,"heart_rate_bpm":80,"respiratory_rate":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"citation":{"authors":"Churpek MM, Yuen TC, Park SY, Meltzer DO, Hall JB, Edelson DP","doi":"10.1097/CCM.0b013e318250aa5a","id":"churpek-2012","pmid":"22584764","source":"Crit Care Med. 2012;40(7):2102-2108","title":"Derivation of a Cardiac Arrest Prediction Model Using Ward Vital Signs"},"components":[{"factor":"respiratory_rate","points":0,"present":false,"value":20},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"diastolic_mm_hg","points":0,"present":false,"value":80},{"factor":"age","points":0,"present":false,"value":40}],"diastolic_mm_hg":80,"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":"cart","formula_expression":"CART = rr_points + hr_points + dbp_points + age_points; Churpek 2012 Table 3 integer score (beta x 9); max 57","heart_rate_bpm":80,"max_score":57,"respiratory_rate":20,"score":0},{"age":40,"citation":{"authors":"Churpek MM, Yuen TC, Park SY, Meltzer DO, Hall JB, Edelson DP","doi":"10.1097/CCM.0b013e318250aa5a","id":"churpek-2012","pmid":"22584764","source":"Crit Care Med. 2012;40(7):2102-2108","title":"Derivation of a Cardiac Arrest Prediction Model Using Ward Vital Signs"},"components":[{"factor":"respiratory_rate","points":0,"present":false,"value":20},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"diastolic_mm_hg","points":0,"present":false,"value":80},{"factor":"age","points":0,"present":false,"value":40}],"diastolic_mm_hg":80,"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":"cart","formula_expression":"CART = rr_points + hr_points + dbp_points + age_points; Churpek 2012 Table 3 integer score (beta x 9); max 57","heart_rate_bpm":80,"max_score":57,"respiratory_rate":20,"score":0}],"path":"/api/calc/cart"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Churpek 2012 Table 3: <55 → 0, 55-69 → 4, >69 → 9. magent does not assign age.","type":"integer"},"diastolic_mm_hg":{"description":"Minimum diastolic blood pressure in mm Hg (integer 20-160). Churpek 2012 Table 3: >49 → 0, 40-49 → 4, 35-39 → 6, <35 → 13. magent does not measure vitals; the caller assigns the number.","type":"integer"},"heart_rate_bpm":{"description":"Maximum heart rate in beats/min (integer 30-220). Churpek 2012 Table 3: <110 → 0, 110-139 → 4, >139 → 13. magent does not measure vitals; the caller assigns the number.","type":"integer"},"respiratory_rate":{"description":"Maximum respiratory rate in breaths/min (integer 0-80). Churpek 2012 Table 3: <21 → 0, 21-23 → 8, 24-25 → 12, 26-29 → 15, >29 → 22. magent does not measure vitals; the caller assigns the number.","type":"integer"}},"required":["respiratory_rate","heart_rate_bpm","diastolic_mm_hg","age"],"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":["cart","cardiac-arrest","emergency","early-warning","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:16:02.055Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:16:01.929Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"diastolic_mm_hg":80,"heart_rate_bpm":80,"respiratory_rate":20},{"age":40,"diastolic_mm_hg":80,"heart_rate_bpm":80,"respiratory_rate":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"citation":{"authors":"Churpek MM, Yuen TC, Park SY, Meltzer DO, Hall JB, Edelson DP","doi":"10.1097/CCM.0b013e318250aa5a","id":"churpek-2012","pmid":"22584764","source":"Crit Care Med. 2012;40(7):2102-2108","title":"Derivation of a Cardiac Arrest Prediction Model Using Ward Vital Signs"},"components":[{"factor":"respiratory_rate","points":0,"present":false,"value":20},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"diastolic_mm_hg","points":0,"present":false,"value":80},{"factor":"age","points":0,"present":false,"value":40}],"diastolic_mm_hg":80,"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":"cart","formula_expression":"CART = rr_points + hr_points + dbp_points + age_points; Churpek 2012 Table 3 integer score (beta x 9); max 57","heart_rate_bpm":80,"max_score":57,"respiratory_rate":20,"score":0},{"age":40,"citation":{"authors":"Churpek MM, Yuen TC, Park SY, Meltzer DO, Hall JB, Edelson DP","doi":"10.1097/CCM.0b013e318250aa5a","id":"churpek-2012","pmid":"22584764","source":"Crit Care Med. 2012;40(7):2102-2108","title":"Derivation of a Cardiac Arrest Prediction Model Using Ward Vital Signs"},"components":[{"factor":"respiratory_rate","points":0,"present":false,"value":20},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"diastolic_mm_hg","points":0,"present":false,"value":80},{"factor":"age","points":0,"present":false,"value":40}],"diastolic_mm_hg":80,"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":"cart","formula_expression":"CART = rr_points + hr_points + dbp_points + age_points; Churpek 2012 Table 3 integer score (beta x 9); max 57","heart_rate_bpm":80,"max_score":57,"respiratory_rate":20,"score":0}],"path":"/api/calc/cart"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Churpek 2012 Table 3: <55 → 0, 55-69 → 4, >69 → 9. magent does not assign age.","type":"integer"},"diastolic_mm_hg":{"description":"Minimum diastolic blood pressure in mm Hg (integer 20-160). Churpek 2012 Table 3: >49 → 0, 40-49 → 4, 35-39 → 6, <35 → 13. magent does not measure vitals; the caller assigns the number.","type":"integer"},"heart_rate_bpm":{"description":"Maximum heart rate in beats/min (integer 30-220). Churpek 2012 Table 3: <110 → 0, 110-139 → 4, >139 → 13. magent does not measure vitals; the caller assigns the number.","type":"integer"},"respiratory_rate":{"description":"Maximum respiratory rate in breaths/min (integer 0-80). Churpek 2012 Table 3: <21 → 0, 21-23 → 8, 24-25 → 12, 26-29 → 15, >29 → 22. magent does not measure vitals; the caller assigns the number.","type":"integer"}},"required":["respiratory_rate","heart_rate_bpm","diastolic_mm_hg","age"],"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},{"id":39260,"slug":"39260","resource":"https://api.magentlab.com/api/calc/caroc","description":"CAROC 2010 10-year MOF category from age, sex, femoral-neck T-score, and fragility or glucocorticoid flags. Basal low/moderate/high from printed T-score bands; hip or spine fragility or multiple fractures is high; fracture after 40 plus steroids is high; either flag alone bumps one class. Labels <10%, 10-20%, >20%. Not FRAX or a drug order. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"femoral_neck_t_score":-1,"fragility_fracture_after_40":false,"hip_or_spine_fragility":false,"multiple_fragility_fractures":false,"prolonged_glucocorticoids":false,"sex":"female"},{"age":50,"femoral_neck_t_score":-1,"fragility_fracture_after_40":false,"hip_or_spine_fragility":false,"multiple_fragility_fractures":false,"prolonged_glucocorticoids":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"basal_risk_level":"low","citation":{"authors":"Papaioannou A, Morin S, Cheung AM, Atkinson S, Brown JP, Feldman S, et al.","doi":"10.1503/cmaj.100771","id":"papaioannou-2010","pmid":"20937681","source":"CMAJ. 2010;182(17):1864-1873","title":"2010 clinical practice guidelines for the diagnosis and management of osteoporosis in Canada: summary"},"components":[{"factor":"hip_or_spine_fragility","met":false},{"factor":"multiple_fragility_fractures","met":false},{"factor":"fragility_fracture_after_40","met":false},{"factor":"prolonged_glucocorticoids","met":false},{"factor":"basal_low","met":true,"value":-1},{"factor":"basal_moderate","met":false,"value":-1},{"factor":"basal_high","met":false,"value":-1}],"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.","femoral_neck_t_score":-1,"formula":"caroc","formula_expression":"CAROC 2010 10-year MOF category from age, sex, and caller-assigned femoral-neck T-score, then clinical bumps. row_age = min(85, max(50, 5 * floor(age / 5))) for age 50-89. Basal low if T-score is strictly above the printed moderate floor; high if strictly below the moderate ceiling; moderate inclusive between. Women 50/55: low > -2.5, moderate -2.5 to -3.8, high < -3.8; 60: > -2.3 / -2.3 to -3.7 / < -3.7; 65: > -1.9 / -1.9 to -3.5 / < -3.5; 70: > -1.7 / -1.7 to -3.2 / < -3.2; 75: > -1.2 / -1.2 to -2.9 / < -2.9; 80: > -0.5 / -0.5 to -2.6 / < -2.6; 85: > +0.1 / +0.1 to -2.2 / < -2.2. Men 50/55: low > -2.5, moderate -2.5 to -3.9, high < -3.9; 60: > -2.5 / -2.5 to -3.7 / < -3.7; 65: > -2.4 / -2.4 to -3.7 / < -3.7; 70: > -2.3 / -2.3 to -3.7 / < -3.7; 75: > -2.3 / -2.3 to -3.8 / < -3.8; 80: > -2.1 / -2.1 to -3.8 / < -3.8; 85: > -2.0 / -2.0 to -3.8 / < -3.8. hip_or_spine_fragility or multiple_fragility_fractures → high; else fragility_fracture_after_40 and prolonged_glucocorticoids → high; else either of those two flags bumps one class (low→moderate, moderate→high). Labels: low <10%, moderate 10-20%, high >20% 10-year MOF. Papaioannou 2010 / Lentle table. Not FRAX.","fragility_fracture_after_40":false,"hip_or_spine_fragility":false,"multiple_fragility_fractures":false,"prolonged_glucocorticoids":false,"risk_level":"low","row_age":50,"sex":"female","ten_year_mof_label":"<10%"},{"age":50,"basal_risk_level":"low","citation":{"authors":"Papaioannou A, Morin S, Cheung AM, Atkinson S, Brown JP, Feldman S, et al.","doi":"10.1503/cmaj.100771","id":"papaioannou-2010","pmid":"20937681","source":"CMAJ. 2010;182(17):1864-1873","title":"2010 clinical practice guidelines for the diagnosis and management of osteoporosis in Canada: summary"},"components":[{"factor":"hip_or_spine_fragility","met":false},{"factor":"multiple_fragility_fractures","met":false},{"factor":"fragility_fracture_after_40","met":false},{"factor":"prolonged_glucocorticoids","met":false},{"factor":"basal_low","met":true,"value":-1},{"factor":"basal_moderate","met":false,"value":-1},{"factor":"basal_high","met":false,"value":-1}],"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.","femoral_neck_t_score":-1,"formula":"caroc","formula_expression":"CAROC 2010 10-year MOF category from age, sex, and caller-assigned femoral-neck T-score, then clinical bumps. row_age = min(85, max(50, 5 * floor(age / 5))) for age 50-89. Basal low if T-score is strictly above the printed moderate floor; high if strictly below the moderate ceiling; moderate inclusive between. Women 50/55: low > -2.5, moderate -2.5 to -3.8, high < -3.8; 60: > -2.3 / -2.3 to -3.7 / < -3.7; 65: > -1.9 / -1.9 to -3.5 / < -3.5; 70: > -1.7 / -1.7 to -3.2 / < -3.2; 75: > -1.2 / -1.2 to -2.9 / < -2.9; 80: > -0.5 / -0.5 to -2.6 / < -2.6; 85: > +0.1 / +0.1 to -2.2 / < -2.2. Men 50/55: low > -2.5, moderate -2.5 to -3.9, high < -3.9; 60: > -2.5 / -2.5 to -3.7 / < -3.7; 65: > -2.4 / -2.4 to -3.7 / < -3.7; 70: > -2.3 / -2.3 to -3.7 / < -3.7; 75: > -2.3 / -2.3 to -3.8 / < -3.8; 80: > -2.1 / -2.1 to -3.8 / < -3.8; 85: > -2.0 / -2.0 to -3.8 / < -3.8. hip_or_spine_fragility or multiple_fragility_fractures → high; else fragility_fracture_after_40 and prolonged_glucocorticoids → high; else either of those two flags bumps one class (low→moderate, moderate→high). Labels: low <10%, moderate 10-20%, high >20% 10-year MOF. Papaioannou 2010 / Lentle table. Not FRAX.","fragility_fracture_after_40":false,"hip_or_spine_fragility":false,"multiple_fragility_fractures":false,"prolonged_glucocorticoids":false,"risk_level":"low","row_age":50,"sex":"female","ten_year_mof_label":"<10%"}],"path":"/api/calc/caroc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years. CAROC 2010 accepts 50-89 (integer). Ages 50-85 map to the printed 5-year row; 86-89 use the 85-year row. Ages under 50 or over 89 are rejected. magent does not take a date of birth.","type":"integer"},"femoral_neck_t_score":{"description":"Caller-assigned femoral-neck BMD T-score (-6.0 to 4.0). The NHANES III Caucasian-women reference is a densitometry convention for how that T-score was computed; this tool does not take a race input. magent does not perform DXA.","type":"number"},"fragility_fracture_after_40":{"description":"Fragility fracture after age 40 as assigned by the caller (Papaioannou 2010). true or false. Alone, bumps one class; with prolonged_glucocorticoids, risk_level is high. magent does not take a fracture history.","type":"boolean"},"hip_or_spine_fragility":{"description":"Hip or clinical spine fragility fracture as assigned by the caller (Papaioannou 2010). true or false. When true, risk_level is high regardless of BMD. magent does not read imaging.","type":"boolean"},"multiple_fragility_fractures":{"description":"Multiple fragility fractures as assigned by the caller (Papaioannou 2010). true or false. When true, risk_level is high regardless of BMD. magent does not take a fracture history.","type":"boolean"},"prolonged_glucocorticoids":{"description":"Prolonged glucocorticoids as assigned by the caller: at least 3 months in the prior year at prednisone-equivalent 7.5 mg/day or more (Papaioannou 2010). true or false. Alone, bumps one class; with fragility_fracture_after_40, risk_level is high. magent does not compute a steroid dose.","type":"boolean"},"sex":{"description":"Sex used by the printed table: female or male.","type":"string"}},"required":["age","sex","femoral_neck_t_score","fragility_fracture_after_40","prolonged_glucocorticoids","hip_or_spine_fragility","multiple_fragility_fractures"],"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":["caroc","osteoporosis","fracture-risk","body-size","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:11:17.61Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:11:17.478Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"femoral_neck_t_score":-1,"fragility_fracture_after_40":false,"hip_or_spine_fragility":false,"multiple_fragility_fractures":false,"prolonged_glucocorticoids":false,"sex":"female"},{"age":50,"femoral_neck_t_score":-1,"fragility_fracture_after_40":false,"hip_or_spine_fragility":false,"multiple_fragility_fractures":false,"prolonged_glucocorticoids":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"basal_risk_level":"low","citation":{"authors":"Papaioannou A, Morin S, Cheung AM, Atkinson S, Brown JP, Feldman S, et al.","doi":"10.1503/cmaj.100771","id":"papaioannou-2010","pmid":"20937681","source":"CMAJ. 2010;182(17):1864-1873","title":"2010 clinical practice guidelines for the diagnosis and management of osteoporosis in Canada: summary"},"components":[{"factor":"hip_or_spine_fragility","met":false},{"factor":"multiple_fragility_fractures","met":false},{"factor":"fragility_fracture_after_40","met":false},{"factor":"prolonged_glucocorticoids","met":false},{"factor":"basal_low","met":true,"value":-1},{"factor":"basal_moderate","met":false,"value":-1},{"factor":"basal_high","met":false,"value":-1}],"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.","femoral_neck_t_score":-1,"formula":"caroc","formula_expression":"CAROC 2010 10-year MOF category from age, sex, and caller-assigned femoral-neck T-score, then clinical bumps. row_age = min(85, max(50, 5 * floor(age / 5))) for age 50-89. Basal low if T-score is strictly above the printed moderate floor; high if strictly below the moderate ceiling; moderate inclusive between. Women 50/55: low > -2.5, moderate -2.5 to -3.8, high < -3.8; 60: > -2.3 / -2.3 to -3.7 / < -3.7; 65: > -1.9 / -1.9 to -3.5 / < -3.5; 70: > -1.7 / -1.7 to -3.2 / < -3.2; 75: > -1.2 / -1.2 to -2.9 / < -2.9; 80: > -0.5 / -0.5 to -2.6 / < -2.6; 85: > +0.1 / +0.1 to -2.2 / < -2.2. Men 50/55: low > -2.5, moderate -2.5 to -3.9, high < -3.9; 60: > -2.5 / -2.5 to -3.7 / < -3.7; 65: > -2.4 / -2.4 to -3.7 / < -3.7; 70: > -2.3 / -2.3 to -3.7 / < -3.7; 75: > -2.3 / -2.3 to -3.8 / < -3.8; 80: > -2.1 / -2.1 to -3.8 / < -3.8; 85: > -2.0 / -2.0 to -3.8 / < -3.8. hip_or_spine_fragility or multiple_fragility_fractures → high; else fragility_fracture_after_40 and prolonged_glucocorticoids → high; else either of those two flags bumps one class (low→moderate, moderate→high). Labels: low <10%, moderate 10-20%, high >20% 10-year MOF. Papaioannou 2010 / Lentle table. Not FRAX.","fragility_fracture_after_40":false,"hip_or_spine_fragility":false,"multiple_fragility_fractures":false,"prolonged_glucocorticoids":false,"risk_level":"low","row_age":50,"sex":"female","ten_year_mof_label":"<10%"},{"age":50,"basal_risk_level":"low","citation":{"authors":"Papaioannou A, Morin S, Cheung AM, Atkinson S, Brown JP, Feldman S, et al.","doi":"10.1503/cmaj.100771","id":"papaioannou-2010","pmid":"20937681","source":"CMAJ. 2010;182(17):1864-1873","title":"2010 clinical practice guidelines for the diagnosis and management of osteoporosis in Canada: summary"},"components":[{"factor":"hip_or_spine_fragility","met":false},{"factor":"multiple_fragility_fractures","met":false},{"factor":"fragility_fracture_after_40","met":false},{"factor":"prolonged_glucocorticoids","met":false},{"factor":"basal_low","met":true,"value":-1},{"factor":"basal_moderate","met":false,"value":-1},{"factor":"basal_high","met":false,"value":-1}],"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.","femoral_neck_t_score":-1,"formula":"caroc","formula_expression":"CAROC 2010 10-year MOF category from age, sex, and caller-assigned femoral-neck T-score, then clinical bumps. row_age = min(85, max(50, 5 * floor(age / 5))) for age 50-89. Basal low if T-score is strictly above the printed moderate floor; high if strictly below the moderate ceiling; moderate inclusive between. Women 50/55: low > -2.5, moderate -2.5 to -3.8, high < -3.8; 60: > -2.3 / -2.3 to -3.7 / < -3.7; 65: > -1.9 / -1.9 to -3.5 / < -3.5; 70: > -1.7 / -1.7 to -3.2 / < -3.2; 75: > -1.2 / -1.2 to -2.9 / < -2.9; 80: > -0.5 / -0.5 to -2.6 / < -2.6; 85: > +0.1 / +0.1 to -2.2 / < -2.2. Men 50/55: low > -2.5, moderate -2.5 to -3.9, high < -3.9; 60: > -2.5 / -2.5 to -3.7 / < -3.7; 65: > -2.4 / -2.4 to -3.7 / < -3.7; 70: > -2.3 / -2.3 to -3.7 / < -3.7; 75: > -2.3 / -2.3 to -3.8 / < -3.8; 80: > -2.1 / -2.1 to -3.8 / < -3.8; 85: > -2.0 / -2.0 to -3.8 / < -3.8. hip_or_spine_fragility or multiple_fragility_fractures → high; else fragility_fracture_after_40 and prolonged_glucocorticoids → high; else either of those two flags bumps one class (low→moderate, moderate→high). Labels: low <10%, moderate 10-20%, high >20% 10-year MOF. Papaioannou 2010 / Lentle table. Not FRAX.","fragility_fracture_after_40":false,"hip_or_spine_fragility":false,"multiple_fragility_fractures":false,"prolonged_glucocorticoids":false,"risk_level":"low","row_age":50,"sex":"female","ten_year_mof_label":"<10%"}],"path":"/api/calc/caroc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years. CAROC 2010 accepts 50-89 (integer). Ages 50-85 map to the printed 5-year row; 86-89 use the 85-year row. Ages under 50 or over 89 are rejected. magent does not take a date of birth.","type":"integer"},"femoral_neck_t_score":{"description":"Caller-assigned femoral-neck BMD T-score (-6.0 to 4.0). The NHANES III Caucasian-women reference is a densitometry convention for how that T-score was computed; this tool does not take a race input. magent does not perform DXA.","type":"number"},"fragility_fracture_after_40":{"description":"Fragility fracture after age 40 as assigned by the caller (Papaioannou 2010). true or false. Alone, bumps one class; with prolonged_glucocorticoids, risk_level is high. magent does not take a fracture history.","type":"boolean"},"hip_or_spine_fragility":{"description":"Hip or clinical spine fragility fracture as assigned by the caller (Papaioannou 2010). true or false. When true, risk_level is high regardless of BMD. magent does not read imaging.","type":"boolean"},"multiple_fragility_fractures":{"description":"Multiple fragility fractures as assigned by the caller (Papaioannou 2010). true or false. When true, risk_level is high regardless of BMD. magent does not take a fracture history.","type":"boolean"},"prolonged_glucocorticoids":{"description":"Prolonged glucocorticoids as assigned by the caller: at least 3 months in the prior year at prednisone-equivalent 7.5 mg/day or more (Papaioannou 2010). true or false. Alone, bumps one class; with fragility_fracture_after_40, risk_level is high. magent does not compute a steroid dose.","type":"boolean"},"sex":{"description":"Sex used by the printed table: female or male.","type":"string"}},"required":["age","sex","femoral_neck_t_score","fragility_fracture_after_40","prolonged_glucocorticoids","hip_or_spine_fragility","multiple_fragility_fractures"],"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},{"id":39261,"slug":"39261","resource":"https://api.magentlab.com/api/calc/carg_tt","description":"Hurria 2011 Table 5 CARG toxicity: age ≥72 (+2), GI/GU (+2, not inverted), standard dose (+2), polychemotherapy (+2), Hb male <11 or female <10 g/dL (+3), caller-assigned Jelliffe CrCl <34 (+3; magent does not compute Jelliffe), hearing fair/worse (+2), ≥1 fall in 6 months (+3), limited walking 1 block (+2), help with meds (+1), decreased social activity (+1). Max 19. 0-5 low 30%, 6-9 intermediate 52%, 10-19 high 83%. Not the 2016 revision, not CRASH, not a chemo order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":75,"decreased_social_activity":false,"falls_last_6_months":false,"gi_or_gu":true,"hearing_fair_or_worse":false,"hemoglobin_g_dl":12,"jelliffe_crcl_ml_min":50,"limited_walking_one_block":false,"needs_help_with_medications":false,"polychemotherapy":true,"sex":"male","standard_dose":true},{"age":75,"decreased_social_activity":false,"falls_last_6_months":false,"gi_or_gu":true,"hearing_fair_or_worse":false,"hemoglobin_g_dl":12,"jelliffe_crcl_ml_min":50,"limited_walking_one_block":false,"needs_help_with_medications":false,"polychemotherapy":true,"sex":"male","standard_dose":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hurria A, Togawa K, Mohile SG, et al.","doi":"10.1200/JCO.2011.34.7625","id":"hurria-2011","pmid":"21810685","source":"J Clin Oncol. 2011;29(25):3457-3465","title":"Predicting chemotherapy toxicity in older adults with cancer: a prospective multicenter study"},"components":[{"factor":"age_ge_72","points":2,"present":true,"value":75},{"factor":"gi_or_gu","points":2,"present":true},{"factor":"standard_dose","points":2,"present":true},{"factor":"polychemotherapy","points":2,"present":true},{"factor":"hemoglobin_low","points":0,"present":false,"value":{"hemoglobin_g_dl":12,"sex":"male"}},{"factor":"jelliffe_crcl_lt_34","points":0,"present":false,"value":50},{"factor":"hearing_fair_or_worse","points":0,"present":false},{"factor":"falls_last_6_months","points":0,"present":false},{"factor":"limited_walking_one_block","points":0,"present":false},{"factor":"needs_help_with_medications","points":0,"present":false},{"factor":"decreased_social_activity","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":"carg_tt","formula_expression":"CARG-TT = age_ge_72 (2) + gi_or_gu (2) + standard_dose (2) + polychemotherapy (2) + hemoglobin_low (3; male <11 g/dL or female <10 g/dL) + jelliffe_crcl_lt_34 (3) + hearing_fair_or_worse (2) + falls_last_6_months (3) + limited_walking_one_block (2) + needs_help_with_medications (1) + decreased_social_activity (1); Hurria 2011 Table 5; max 19; 0-5 low 30%, 6-9 intermediate 52%, 10-19 high 83%; GI/GU is +2 when present (not inverted); not CARG-TT 2016; not CRASH","grade_3_to_5_toxicity_percent":52,"max_score":19,"risk_group":"intermediate","score":8},{"citation":{"authors":"Hurria A, Togawa K, Mohile SG, et al.","doi":"10.1200/JCO.2011.34.7625","id":"hurria-2011","pmid":"21810685","source":"J Clin Oncol. 2011;29(25):3457-3465","title":"Predicting chemotherapy toxicity in older adults with cancer: a prospective multicenter study"},"components":[{"factor":"age_ge_72","points":2,"present":true,"value":75},{"factor":"gi_or_gu","points":2,"present":true},{"factor":"standard_dose","points":2,"present":true},{"factor":"polychemotherapy","points":2,"present":true},{"factor":"hemoglobin_low","points":0,"present":false,"value":{"hemoglobin_g_dl":12,"sex":"male"}},{"factor":"jelliffe_crcl_lt_34","points":0,"present":false,"value":50},{"factor":"hearing_fair_or_worse","points":0,"present":false},{"factor":"falls_last_6_months","points":0,"present":false},{"factor":"limited_walking_one_block","points":0,"present":false},{"factor":"needs_help_with_medications","points":0,"present":false},{"factor":"decreased_social_activity","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":"carg_tt","formula_expression":"CARG-TT = age_ge_72 (2) + gi_or_gu (2) + standard_dose (2) + polychemotherapy (2) + hemoglobin_low (3; male <11 g/dL or female <10 g/dL) + jelliffe_crcl_lt_34 (3) + hearing_fair_or_worse (2) + falls_last_6_months (3) + limited_walking_one_block (2) + needs_help_with_medications (1) + decreased_social_activity (1); Hurria 2011 Table 5; max 19; 0-5 low 30%, 6-9 intermediate 52%, 10-19 high 83%; GI/GU is +2 when present (not inverted); not CARG-TT 2016; not CRASH","grade_3_to_5_toxicity_percent":52,"max_score":19,"risk_group":"intermediate","score":8}],"path":"/api/calc/carg_tt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Hurria 2011 Table 5: ≥72 scores 2. Derived in patients ≥65; magent still applies the ≥72 rule at any accepted age.","type":"integer"},"decreased_social_activity":{"description":"MOS decreased social activity limited at least sometimes as assigned by the caller (Hurria 2011 Table 5). true scores 1. magent does not administer MOS.","type":"boolean"},"falls_last_6_months":{"description":"≥1 fall in the last 6 months as assigned by the caller (Hurria 2011 Table 5). true scores 3. magent does not take a fall history.","type":"boolean"},"gi_or_gu":{"description":"GI or GU cancer as assigned by the caller (Hurria 2011 Table 5). true scores 2. Lung, breast, GYN, and other cancers are 0. This is a risk factor present (+2), not inverted. magent does not assign cancer type from histology text.","type":"boolean"},"hearing_fair_or_worse":{"description":"Hearing fair or worse as assigned by the caller (Hurria 2011 Table 5). true scores 2. magent does not examine hearing.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Male <11 or female <10 scores 3 (Hurria 2011 Table 5). 11.0 male and 10.0 female do not score.","type":"number"},"jelliffe_crcl_ml_min":{"description":"Jelliffe ideal-weight creatinine clearance in mL/min as assigned by the caller (1-300). <34 scores 3 (Hurria 2011 Table 5). 34 does not score. magent does not compute Jelliffe.","type":"number"},"limited_walking_one_block":{"description":"MOS walking 1 block somewhat limited or limited a lot as assigned by the caller (Hurria 2011 Table 5). true scores 2. magent does not administer MOS.","type":"boolean"},"needs_help_with_medications":{"description":"IADL taking medications some help or unable as assigned by the caller (Hurria 2011 Table 5). true scores 1. magent does not administer IADL.","type":"boolean"},"polychemotherapy":{"description":"Polychemotherapy as assigned by the caller (Hurria 2011 Table 5). true scores 2.","type":"boolean"},"sex":{"description":"Sex used for the hemoglobin cutoff (female or male). Male <11 g/dL or female <10 g/dL scores 3.","enum":["female","male"],"type":"string"},"standard_dose":{"description":"Standard chemotherapy dose as assigned by the caller (Hurria 2011 Table 5). true scores 2. Dose-reduced is 0. magent does not read a chemo order.","type":"boolean"}},"required":["age","gi_or_gu","standard_dose","polychemotherapy","hemoglobin_g_dl","sex","jelliffe_crcl_ml_min","hearing_fair_or_worse","falls_last_6_months","limited_walking_one_block","needs_help_with_medications","decreased_social_activity"],"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":["carg-tt","chemotherapy","geriatric","toxicity","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:11:16.858Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:11:16.675Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":75,"decreased_social_activity":false,"falls_last_6_months":false,"gi_or_gu":true,"hearing_fair_or_worse":false,"hemoglobin_g_dl":12,"jelliffe_crcl_ml_min":50,"limited_walking_one_block":false,"needs_help_with_medications":false,"polychemotherapy":true,"sex":"male","standard_dose":true},{"age":75,"decreased_social_activity":false,"falls_last_6_months":false,"gi_or_gu":true,"hearing_fair_or_worse":false,"hemoglobin_g_dl":12,"jelliffe_crcl_ml_min":50,"limited_walking_one_block":false,"needs_help_with_medications":false,"polychemotherapy":true,"sex":"male","standard_dose":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hurria A, Togawa K, Mohile SG, et al.","doi":"10.1200/JCO.2011.34.7625","id":"hurria-2011","pmid":"21810685","source":"J Clin Oncol. 2011;29(25):3457-3465","title":"Predicting chemotherapy toxicity in older adults with cancer: a prospective multicenter study"},"components":[{"factor":"age_ge_72","points":2,"present":true,"value":75},{"factor":"gi_or_gu","points":2,"present":true},{"factor":"standard_dose","points":2,"present":true},{"factor":"polychemotherapy","points":2,"present":true},{"factor":"hemoglobin_low","points":0,"present":false,"value":{"hemoglobin_g_dl":12,"sex":"male"}},{"factor":"jelliffe_crcl_lt_34","points":0,"present":false,"value":50},{"factor":"hearing_fair_or_worse","points":0,"present":false},{"factor":"falls_last_6_months","points":0,"present":false},{"factor":"limited_walking_one_block","points":0,"present":false},{"factor":"needs_help_with_medications","points":0,"present":false},{"factor":"decreased_social_activity","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":"carg_tt","formula_expression":"CARG-TT = age_ge_72 (2) + gi_or_gu (2) + standard_dose (2) + polychemotherapy (2) + hemoglobin_low (3; male <11 g/dL or female <10 g/dL) + jelliffe_crcl_lt_34 (3) + hearing_fair_or_worse (2) + falls_last_6_months (3) + limited_walking_one_block (2) + needs_help_with_medications (1) + decreased_social_activity (1); Hurria 2011 Table 5; max 19; 0-5 low 30%, 6-9 intermediate 52%, 10-19 high 83%; GI/GU is +2 when present (not inverted); not CARG-TT 2016; not CRASH","grade_3_to_5_toxicity_percent":52,"max_score":19,"risk_group":"intermediate","score":8},{"citation":{"authors":"Hurria A, Togawa K, Mohile SG, et al.","doi":"10.1200/JCO.2011.34.7625","id":"hurria-2011","pmid":"21810685","source":"J Clin Oncol. 2011;29(25):3457-3465","title":"Predicting chemotherapy toxicity in older adults with cancer: a prospective multicenter study"},"components":[{"factor":"age_ge_72","points":2,"present":true,"value":75},{"factor":"gi_or_gu","points":2,"present":true},{"factor":"standard_dose","points":2,"present":true},{"factor":"polychemotherapy","points":2,"present":true},{"factor":"hemoglobin_low","points":0,"present":false,"value":{"hemoglobin_g_dl":12,"sex":"male"}},{"factor":"jelliffe_crcl_lt_34","points":0,"present":false,"value":50},{"factor":"hearing_fair_or_worse","points":0,"present":false},{"factor":"falls_last_6_months","points":0,"present":false},{"factor":"limited_walking_one_block","points":0,"present":false},{"factor":"needs_help_with_medications","points":0,"present":false},{"factor":"decreased_social_activity","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":"carg_tt","formula_expression":"CARG-TT = age_ge_72 (2) + gi_or_gu (2) + standard_dose (2) + polychemotherapy (2) + hemoglobin_low (3; male <11 g/dL or female <10 g/dL) + jelliffe_crcl_lt_34 (3) + hearing_fair_or_worse (2) + falls_last_6_months (3) + limited_walking_one_block (2) + needs_help_with_medications (1) + decreased_social_activity (1); Hurria 2011 Table 5; max 19; 0-5 low 30%, 6-9 intermediate 52%, 10-19 high 83%; GI/GU is +2 when present (not inverted); not CARG-TT 2016; not CRASH","grade_3_to_5_toxicity_percent":52,"max_score":19,"risk_group":"intermediate","score":8}],"path":"/api/calc/carg_tt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Hurria 2011 Table 5: ≥72 scores 2. Derived in patients ≥65; magent still applies the ≥72 rule at any accepted age.","type":"integer"},"decreased_social_activity":{"description":"MOS decreased social activity limited at least sometimes as assigned by the caller (Hurria 2011 Table 5). true scores 1. magent does not administer MOS.","type":"boolean"},"falls_last_6_months":{"description":"≥1 fall in the last 6 months as assigned by the caller (Hurria 2011 Table 5). true scores 3. magent does not take a fall history.","type":"boolean"},"gi_or_gu":{"description":"GI or GU cancer as assigned by the caller (Hurria 2011 Table 5). true scores 2. Lung, breast, GYN, and other cancers are 0. This is a risk factor present (+2), not inverted. magent does not assign cancer type from histology text.","type":"boolean"},"hearing_fair_or_worse":{"description":"Hearing fair or worse as assigned by the caller (Hurria 2011 Table 5). true scores 2. magent does not examine hearing.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Male <11 or female <10 scores 3 (Hurria 2011 Table 5). 11.0 male and 10.0 female do not score.","type":"number"},"jelliffe_crcl_ml_min":{"description":"Jelliffe ideal-weight creatinine clearance in mL/min as assigned by the caller (1-300). <34 scores 3 (Hurria 2011 Table 5). 34 does not score. magent does not compute Jelliffe.","type":"number"},"limited_walking_one_block":{"description":"MOS walking 1 block somewhat limited or limited a lot as assigned by the caller (Hurria 2011 Table 5). true scores 2. magent does not administer MOS.","type":"boolean"},"needs_help_with_medications":{"description":"IADL taking medications some help or unable as assigned by the caller (Hurria 2011 Table 5). true scores 1. magent does not administer IADL.","type":"boolean"},"polychemotherapy":{"description":"Polychemotherapy as assigned by the caller (Hurria 2011 Table 5). true scores 2.","type":"boolean"},"sex":{"description":"Sex used for the hemoglobin cutoff (female or male). Male <11 g/dL or female <10 g/dL scores 3.","enum":["female","male"],"type":"string"},"standard_dose":{"description":"Standard chemotherapy dose as assigned by the caller (Hurria 2011 Table 5). true scores 2. Dose-reduced is 0. magent does not read a chemo order.","type":"boolean"}},"required":["age","gi_or_gu","standard_dose","polychemotherapy","hemoglobin_g_dl","sex","jelliffe_crcl_ml_min","hearing_fair_or_worse","falls_last_6_months","limited_walking_one_block","needs_help_with_medications","decreased_social_activity"],"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},{"id":39262,"slug":"39262","resource":"https://api.magentlab.com/api/calc/care","description":"Cardiac Anesthesia Risk Evaluation (CARE) score (Dupuis 2001). Caller-assigned class 1-5; emergency suffix E only for classes 3-5 (labels 3E, 4E, 5E). Returns care_label plus Dupuis 2001 Table 4 in-hospital mortality and morbidity percents from the Ottawa reference population. Not an anesthetic plan or surgical booking. magent does not examine the patient. Not Parsonnet, EuroSCORE, or Gupta MICA.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"care_class":1,"emergency":false},{"care_class":1,"emergency":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"care_class":1,"care_label":"1","citation":{"authors":"Dupuis JY, Wang F, Nathan H, Lam M, Grimes S, Bourke M","doi":"10.1097/00000542-200102000-00006","id":"dupuis-2001","pmid":"11176081","source":"Anesthesiology. 2001;94(2):194-204","title":"The cardiac anesthesia risk evaluation score: a clinically useful predictor of mortality and morbidity after cardiac surgery"},"components":[{"factor":"care_class","met":true,"value":1},{"factor":"emergency","met":false}],"description":"Patient with stable cardiac disease and no other medical problem. A noncomplex surgery is undertaken.","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.","emergency":false,"formula":"care","formula_expression":"Caller-assigned CARE class 1-5; append E when emergency is true for classes 3-5 only (Dupuis 2001). Emergency never applies to CARE 1 or 2.","morbidity_percent":5.4,"mortality_percent":0.5},{"care_class":1,"care_label":"1","citation":{"authors":"Dupuis JY, Wang F, Nathan H, Lam M, Grimes S, Bourke M","doi":"10.1097/00000542-200102000-00006","id":"dupuis-2001","pmid":"11176081","source":"Anesthesiology. 2001;94(2):194-204","title":"The cardiac anesthesia risk evaluation score: a clinically useful predictor of mortality and morbidity after cardiac surgery"},"components":[{"factor":"care_class","met":true,"value":1},{"factor":"emergency","met":false}],"description":"Patient with stable cardiac disease and no other medical problem. A noncomplex surgery is undertaken.","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.","emergency":false,"formula":"care","formula_expression":"Caller-assigned CARE class 1-5; append E when emergency is true for classes 3-5 only (Dupuis 2001). Emergency never applies to CARE 1 or 2.","morbidity_percent":5.4,"mortality_percent":0.5}],"path":"/api/calc/care"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"care_class":{"description":"Dupuis 2001 CARE class 1-5 as assigned by the caller (1 stable cardiac disease, no other medical problem, noncomplex surgery; 2 stable cardiac disease, one or more controlled medical problems, noncomplex surgery; 3 any uncontrolled medical problem or complex surgery; 4 uncontrolled medical problem and complex surgery; 5 chronic or advanced cardiac disease, surgery as last hope). magent does not examine the patient.","type":"integer"},"emergency":{"description":"true appends E for emergency surgery as soon as the diagnosis is made and an operating room is available (Dupuis 2001). Required. E applies only to classes 3-5 (labels 3E, 4E, 5E). Class 1 or 2 with emergency true is rejected. Unstable conditions needing surgery within 24 h but not immediately are uncontrolled medical problems, not E. magent does not examine the patient.","type":"boolean"}},"required":["care_class","emergency"],"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":["care","cardiac-surgery","preoperative","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:11:16.07Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:11:15.913Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"care_class":1,"emergency":false},{"care_class":1,"emergency":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"care_class":1,"care_label":"1","citation":{"authors":"Dupuis JY, Wang F, Nathan H, Lam M, Grimes S, Bourke M","doi":"10.1097/00000542-200102000-00006","id":"dupuis-2001","pmid":"11176081","source":"Anesthesiology. 2001;94(2):194-204","title":"The cardiac anesthesia risk evaluation score: a clinically useful predictor of mortality and morbidity after cardiac surgery"},"components":[{"factor":"care_class","met":true,"value":1},{"factor":"emergency","met":false}],"description":"Patient with stable cardiac disease and no other medical problem. A noncomplex surgery is undertaken.","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.","emergency":false,"formula":"care","formula_expression":"Caller-assigned CARE class 1-5; append E when emergency is true for classes 3-5 only (Dupuis 2001). Emergency never applies to CARE 1 or 2.","morbidity_percent":5.4,"mortality_percent":0.5},{"care_class":1,"care_label":"1","citation":{"authors":"Dupuis JY, Wang F, Nathan H, Lam M, Grimes S, Bourke M","doi":"10.1097/00000542-200102000-00006","id":"dupuis-2001","pmid":"11176081","source":"Anesthesiology. 2001;94(2):194-204","title":"The cardiac anesthesia risk evaluation score: a clinically useful predictor of mortality and morbidity after cardiac surgery"},"components":[{"factor":"care_class","met":true,"value":1},{"factor":"emergency","met":false}],"description":"Patient with stable cardiac disease and no other medical problem. A noncomplex surgery is undertaken.","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.","emergency":false,"formula":"care","formula_expression":"Caller-assigned CARE class 1-5; append E when emergency is true for classes 3-5 only (Dupuis 2001). Emergency never applies to CARE 1 or 2.","morbidity_percent":5.4,"mortality_percent":0.5}],"path":"/api/calc/care"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"care_class":{"description":"Dupuis 2001 CARE class 1-5 as assigned by the caller (1 stable cardiac disease, no other medical problem, noncomplex surgery; 2 stable cardiac disease, one or more controlled medical problems, noncomplex surgery; 3 any uncontrolled medical problem or complex surgery; 4 uncontrolled medical problem and complex surgery; 5 chronic or advanced cardiac disease, surgery as last hope). magent does not examine the patient.","type":"integer"},"emergency":{"description":"true appends E for emergency surgery as soon as the diagnosis is made and an operating room is available (Dupuis 2001). Required. E applies only to classes 3-5 (labels 3E, 4E, 5E). Class 1 or 2 with emergency true is rejected. Unstable conditions needing surgery within 24 h but not immediately are uncontrolled medical problems, not E. magent does not examine the patient.","type":"boolean"}},"required":["care_class","emergency"],"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},{"id":39263,"slug":"39263","resource":"https://api.magentlab.com/api/calc/cpo","description":"Fincke 2004 cardiac power output from MAP (mm Hg) and cardiac output (L/min): CPO = MAP × CO / 451. Returns cpo_watts to two decimals and the paper ROC band (<=0.53 or >0.53) from the unrounded value. Equality at 0.53 W is <=0.53. MAP is caller-supplied (Fincke used diastolic + (systolic−diastolic)/3); this tool does not take SBP/DBP or compute cardiac power index. Not a medical device, shock diagnosis, or treatment target.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cardiac_output_l_min":5,"map_mm_hg":90},{"cardiac_output_l_min":5,"map_mm_hg":90}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":">0.53","cardiac_output_l_min":5,"citation":{"authors":"Fincke R, Hochman JS, Lowe AM, et al.","doi":"10.1016/j.jacc.2004.03.060","id":"fincke-2004","pmid":"15261929","source":"J Am Coll Cardiol. 2004;44(2):340-348","title":"Cardiac power is the strongest hemodynamic correlate of mortality in cardiogenic shock: a report from the SHOCK trial registry"},"cpo_watts":1,"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":"cpo","formula_expression":"cpo_watts = map_mm_hg * cardiac_output_l_min / 451","map_mm_hg":90},{"band":">0.53","cardiac_output_l_min":5,"citation":{"authors":"Fincke R, Hochman JS, Lowe AM, et al.","doi":"10.1016/j.jacc.2004.03.060","id":"fincke-2004","pmid":"15261929","source":"J Am Coll Cardiol. 2004;44(2):340-348","title":"Cardiac power is the strongest hemodynamic correlate of mortality in cardiogenic shock: a report from the SHOCK trial registry"},"cpo_watts":1,"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":"cpo","formula_expression":"cpo_watts = map_mm_hg * cardiac_output_l_min / 451","map_mm_hg":90}],"path":"/api/calc/cpo"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cardiac_output_l_min":{"description":"Cardiac output in L/min (0.5-20). Not indexed to body surface area.","type":"number"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (30-180). Fincke 2004 used diastolic + (systolic−diastolic)/3. Callers may send MAP from /api/calc/map; this tool does not take SBP or DBP.","type":"number"}},"required":["map_mm_hg","cardiac_output_l_min"],"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":["cpo","hemodynamics","cardiogenic-shock","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:06:16.437Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:06:16.313Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cardiac_output_l_min":5,"map_mm_hg":90},{"cardiac_output_l_min":5,"map_mm_hg":90}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":">0.53","cardiac_output_l_min":5,"citation":{"authors":"Fincke R, Hochman JS, Lowe AM, et al.","doi":"10.1016/j.jacc.2004.03.060","id":"fincke-2004","pmid":"15261929","source":"J Am Coll Cardiol. 2004;44(2):340-348","title":"Cardiac power is the strongest hemodynamic correlate of mortality in cardiogenic shock: a report from the SHOCK trial registry"},"cpo_watts":1,"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":"cpo","formula_expression":"cpo_watts = map_mm_hg * cardiac_output_l_min / 451","map_mm_hg":90},{"band":">0.53","cardiac_output_l_min":5,"citation":{"authors":"Fincke R, Hochman JS, Lowe AM, et al.","doi":"10.1016/j.jacc.2004.03.060","id":"fincke-2004","pmid":"15261929","source":"J Am Coll Cardiol. 2004;44(2):340-348","title":"Cardiac power is the strongest hemodynamic correlate of mortality in cardiogenic shock: a report from the SHOCK trial registry"},"cpo_watts":1,"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":"cpo","formula_expression":"cpo_watts = map_mm_hg * cardiac_output_l_min / 451","map_mm_hg":90}],"path":"/api/calc/cpo"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cardiac_output_l_min":{"description":"Cardiac output in L/min (0.5-20). Not indexed to body surface area.","type":"number"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (30-180). Fincke 2004 used diastolic + (systolic−diastolic)/3. Callers may send MAP from /api/calc/map; this tool does not take SBP or DBP.","type":"number"}},"required":["map_mm_hg","cardiac_output_l_min"],"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},{"id":39264,"slug":"39264","resource":"https://api.magentlab.com/api/calc/cows","description":"Wesson 2003 Clinical Opiate Withdrawal Scale (COWS). Eleven caller-assigned appendix integers (pulse 0/1/2/4, GI 0/1/2/3/5, sweating 0-4, tremor 0/1/2/4, restlessness 0/1/3/5, yawning 0/1/2/4, pupils 0/1/2/5, anxiety 0/1/2/4, aches 0/1/2/4, gooseflesh 0/3/5, rhinorrhea/tearing 0/1/4). Max 48. Severity 5-12 mild, 13-24 moderate, 25-36 moderately severe, >36 severe; 0-4 below mild (none). magent does not observe the patient. Not a buprenorphine induction protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anxiety_or_irritability":0,"bone_or_joint_aches":0,"gi_upset":0,"gooseflesh_skin":0,"pupil_size":0,"resting_pulse_rate":0,"restlessness":0,"runny_nose_or_tearing":0,"sweating":0,"tremor":0,"yawning":0},{"anxiety_or_irritability":0,"bone_or_joint_aches":0,"gi_upset":0,"gooseflesh_skin":0,"pupil_size":0,"resting_pulse_rate":0,"restlessness":0,"runny_nose_or_tearing":0,"sweating":0,"tremor":0,"yawning":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wesson DR, Ling W","doi":"10.1080/02791072.2003.10400007","id":"wesson-2003","pmid":"12924748","source":"J Psychoactive Drugs. 2003;35(2):253-259","title":"The Clinical Opiate Withdrawal Scale (COWS)"},"components":[{"factor":"resting_pulse_rate","points":0,"present":true,"value":0},{"factor":"gi_upset","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"restlessness","points":0,"present":true,"value":0},{"factor":"yawning","points":0,"present":true,"value":0},{"factor":"pupil_size","points":0,"present":true,"value":0},{"factor":"anxiety_or_irritability","points":0,"present":true,"value":0},{"factor":"bone_or_joint_aches","points":0,"present":true,"value":0},{"factor":"gooseflesh_skin","points":0,"present":true,"value":0},{"factor":"runny_nose_or_tearing","points":0,"present":true,"value":0}],"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":"cows","formula_expression":"COWS = resting_pulse_rate + gi_upset + sweating + tremor + restlessness + yawning + pupil_size + anxiety_or_irritability + bone_or_joint_aches + gooseflesh_skin + runny_nose_or_tearing; Wesson 2003 appendix integers only; max 48","max_score":48,"score":0,"severity":"none"},{"citation":{"authors":"Wesson DR, Ling W","doi":"10.1080/02791072.2003.10400007","id":"wesson-2003","pmid":"12924748","source":"J Psychoactive Drugs. 2003;35(2):253-259","title":"The Clinical Opiate Withdrawal Scale (COWS)"},"components":[{"factor":"resting_pulse_rate","points":0,"present":true,"value":0},{"factor":"gi_upset","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"restlessness","points":0,"present":true,"value":0},{"factor":"yawning","points":0,"present":true,"value":0},{"factor":"pupil_size","points":0,"present":true,"value":0},{"factor":"anxiety_or_irritability","points":0,"present":true,"value":0},{"factor":"bone_or_joint_aches","points":0,"present":true,"value":0},{"factor":"gooseflesh_skin","points":0,"present":true,"value":0},{"factor":"runny_nose_or_tearing","points":0,"present":true,"value":0}],"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":"cows","formula_expression":"COWS = resting_pulse_rate + gi_upset + sweating + tremor + restlessness + yawning + pupil_size + anxiety_or_irritability + bone_or_joint_aches + gooseflesh_skin + runny_nose_or_tearing; Wesson 2003 appendix integers only; max 48","max_score":48,"score":0,"severity":"none"}],"path":"/api/calc/cows"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anxiety_or_irritability":{"description":"Caller-assigned Wesson 2003 anxiety or irritability points (integer 0, 1, 2, or 4). magent does not observe the patient.","type":"integer"},"bone_or_joint_aches":{"description":"Caller-assigned Wesson 2003 bone or joint aches points (integer 0, 1, 2, or 4). magent does not observe the patient.","type":"integer"},"gi_upset":{"description":"Caller-assigned Wesson 2003 GI upset points (integer 0, 1, 2, 3, or 5). magent does not observe the patient.","type":"integer"},"gooseflesh_skin":{"description":"Caller-assigned Wesson 2003 gooseflesh skin points (integer 0, 3, or 5). magent does not observe the patient.","type":"integer"},"pupil_size":{"description":"Caller-assigned Wesson 2003 pupil size points (integer 0, 1, 2, or 5). magent does not observe the patient.","type":"integer"},"resting_pulse_rate":{"description":"Caller-assigned Wesson 2003 resting pulse rate points (integer 0, 1, 2, or 4). magent does not observe the patient.","type":"integer"},"restlessness":{"description":"Caller-assigned Wesson 2003 restlessness points (integer 0, 1, 3, or 5). magent does not observe the patient.","type":"integer"},"runny_nose_or_tearing":{"description":"Caller-assigned Wesson 2003 runny nose or tearing points (integer 0, 1, or 4). magent does not observe the patient.","type":"integer"},"sweating":{"description":"Caller-assigned Wesson 2003 sweating points (integer 0, 1, 2, 3, or 4). magent does not observe the patient.","type":"integer"},"tremor":{"description":"Caller-assigned Wesson 2003 tremor points (integer 0, 1, 2, or 4). magent does not observe the patient.","type":"integer"},"yawning":{"description":"Caller-assigned Wesson 2003 yawning points (integer 0, 1, 2, or 4). magent does not observe the patient.","type":"integer"}},"required":["resting_pulse_rate","gi_upset","sweating","tremor","restlessness","yawning","pupil_size","anxiety_or_irritability","bone_or_joint_aches","gooseflesh_skin","runny_nose_or_tearing"],"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":["cows","opiate","withdrawal","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:06:15.577Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:06:15.438Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anxiety_or_irritability":0,"bone_or_joint_aches":0,"gi_upset":0,"gooseflesh_skin":0,"pupil_size":0,"resting_pulse_rate":0,"restlessness":0,"runny_nose_or_tearing":0,"sweating":0,"tremor":0,"yawning":0},{"anxiety_or_irritability":0,"bone_or_joint_aches":0,"gi_upset":0,"gooseflesh_skin":0,"pupil_size":0,"resting_pulse_rate":0,"restlessness":0,"runny_nose_or_tearing":0,"sweating":0,"tremor":0,"yawning":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wesson DR, Ling W","doi":"10.1080/02791072.2003.10400007","id":"wesson-2003","pmid":"12924748","source":"J Psychoactive Drugs. 2003;35(2):253-259","title":"The Clinical Opiate Withdrawal Scale (COWS)"},"components":[{"factor":"resting_pulse_rate","points":0,"present":true,"value":0},{"factor":"gi_upset","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"restlessness","points":0,"present":true,"value":0},{"factor":"yawning","points":0,"present":true,"value":0},{"factor":"pupil_size","points":0,"present":true,"value":0},{"factor":"anxiety_or_irritability","points":0,"present":true,"value":0},{"factor":"bone_or_joint_aches","points":0,"present":true,"value":0},{"factor":"gooseflesh_skin","points":0,"present":true,"value":0},{"factor":"runny_nose_or_tearing","points":0,"present":true,"value":0}],"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":"cows","formula_expression":"COWS = resting_pulse_rate + gi_upset + sweating + tremor + restlessness + yawning + pupil_size + anxiety_or_irritability + bone_or_joint_aches + gooseflesh_skin + runny_nose_or_tearing; Wesson 2003 appendix integers only; max 48","max_score":48,"score":0,"severity":"none"},{"citation":{"authors":"Wesson DR, Ling W","doi":"10.1080/02791072.2003.10400007","id":"wesson-2003","pmid":"12924748","source":"J Psychoactive Drugs. 2003;35(2):253-259","title":"The Clinical Opiate Withdrawal Scale (COWS)"},"components":[{"factor":"resting_pulse_rate","points":0,"present":true,"value":0},{"factor":"gi_upset","points":0,"present":true,"value":0},{"factor":"sweating","points":0,"present":true,"value":0},{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"restlessness","points":0,"present":true,"value":0},{"factor":"yawning","points":0,"present":true,"value":0},{"factor":"pupil_size","points":0,"present":true,"value":0},{"factor":"anxiety_or_irritability","points":0,"present":true,"value":0},{"factor":"bone_or_joint_aches","points":0,"present":true,"value":0},{"factor":"gooseflesh_skin","points":0,"present":true,"value":0},{"factor":"runny_nose_or_tearing","points":0,"present":true,"value":0}],"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":"cows","formula_expression":"COWS = resting_pulse_rate + gi_upset + sweating + tremor + restlessness + yawning + pupil_size + anxiety_or_irritability + bone_or_joint_aches + gooseflesh_skin + runny_nose_or_tearing; Wesson 2003 appendix integers only; max 48","max_score":48,"score":0,"severity":"none"}],"path":"/api/calc/cows"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anxiety_or_irritability":{"description":"Caller-assigned Wesson 2003 anxiety or irritability points (integer 0, 1, 2, or 4). magent does not observe the patient.","type":"integer"},"bone_or_joint_aches":{"description":"Caller-assigned Wesson 2003 bone or joint aches points (integer 0, 1, 2, or 4). magent does not observe the patient.","type":"integer"},"gi_upset":{"description":"Caller-assigned Wesson 2003 GI upset points (integer 0, 1, 2, 3, or 5). magent does not observe the patient.","type":"integer"},"gooseflesh_skin":{"description":"Caller-assigned Wesson 2003 gooseflesh skin points (integer 0, 3, or 5). magent does not observe the patient.","type":"integer"},"pupil_size":{"description":"Caller-assigned Wesson 2003 pupil size points (integer 0, 1, 2, or 5). magent does not observe the patient.","type":"integer"},"resting_pulse_rate":{"description":"Caller-assigned Wesson 2003 resting pulse rate points (integer 0, 1, 2, or 4). magent does not observe the patient.","type":"integer"},"restlessness":{"description":"Caller-assigned Wesson 2003 restlessness points (integer 0, 1, 3, or 5). magent does not observe the patient.","type":"integer"},"runny_nose_or_tearing":{"description":"Caller-assigned Wesson 2003 runny nose or tearing points (integer 0, 1, or 4). magent does not observe the patient.","type":"integer"},"sweating":{"description":"Caller-assigned Wesson 2003 sweating points (integer 0, 1, 2, 3, or 4). magent does not observe the patient.","type":"integer"},"tremor":{"description":"Caller-assigned Wesson 2003 tremor points (integer 0, 1, 2, or 4). magent does not observe the patient.","type":"integer"},"yawning":{"description":"Caller-assigned Wesson 2003 yawning points (integer 0, 1, 2, or 4). magent does not observe the patient.","type":"integer"}},"required":["resting_pulse_rate","gi_upset","sweating","tremor","restlessness","yawning","pupil_size","anxiety_or_irritability","bone_or_joint_aches","gooseflesh_skin","runny_nose_or_tearing"],"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},{"id":39265,"slug":"39265","resource":"https://api.magentlab.com/api/calc/clif_c_aclf","description":"Jalan 2014 CLIF-C ACLF (CANONIC) from caller-assigned CLIF-C OF (integer 6-18), age, and WBC in 10^9/L. Score = 10 × (0.33 × CLIF-C OF + 0.04 × age + 0.63 × ln(WBC) − 2), rounded to 1 decimal then clamped 0-100. magent does not score the six organs or compute CLIF-C OF. Not MELD, MELD-Na, Child-Pugh, CLIF-SOFA, or a transplant listing protocol. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"clif_c_of":6,"wbc_10e9_l":5},{"age":50,"clif_c_of":6,"wbc_10e9_l":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Jalan R, Saliba F, Pavesi M, et al.","doi":"10.1016/j.jhep.2014.06.012","id":"jalan-2014","pmid":"24950482","source":"J Hepatol. 2014;61(5):1038-1047","title":"Development and validation of a prognostic score to predict mortality in patients with acute-on-chronic liver failure."},"clif_c_aclf":29.9,"clif_c_of":6,"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":"clif_c_aclf","formula_expression":"clif_c_aclf = 10 * (0.33 * clif_c_of + 0.04 * age + 0.63 * ln(wbc_10e9_l) - 2); caller-assigned CLIF-C OF 6-18; round 1 decimal then clamp 0-100 (Jalan 2014 CANONIC)","wbc_10e9_l":5},{"age_years":50,"citation":{"authors":"Jalan R, Saliba F, Pavesi M, et al.","doi":"10.1016/j.jhep.2014.06.012","id":"jalan-2014","pmid":"24950482","source":"J Hepatol. 2014;61(5):1038-1047","title":"Development and validation of a prognostic score to predict mortality in patients with acute-on-chronic liver failure."},"clif_c_aclf":29.9,"clif_c_of":6,"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":"clif_c_aclf","formula_expression":"clif_c_aclf = 10 * (0.33 * clif_c_of + 0.04 * age + 0.63 * ln(wbc_10e9_l) - 2); caller-assigned CLIF-C OF 6-18; round 1 decimal then clamp 0-100 (Jalan 2014 CANONIC)","wbc_10e9_l":5}],"path":"/api/calc/clif_c_aclf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"clif_c_of":{"description":"Caller-assigned CLIF-C organ-failure score, integer 6-18 (Jalan 2014). magent does not score the six organs or compute CLIF-C OF.","type":"integer"},"wbc_10e9_l":{"description":"White-cell count in 10^9/L (0.1-200). Natural log in the equation.","type":"number"}},"required":["clif_c_of","age","wbc_10e9_l"],"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":["clif-c-aclf","liver","aclf","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:06:13.975Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:06:13.825Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"clif_c_of":6,"wbc_10e9_l":5},{"age":50,"clif_c_of":6,"wbc_10e9_l":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Jalan R, Saliba F, Pavesi M, et al.","doi":"10.1016/j.jhep.2014.06.012","id":"jalan-2014","pmid":"24950482","source":"J Hepatol. 2014;61(5):1038-1047","title":"Development and validation of a prognostic score to predict mortality in patients with acute-on-chronic liver failure."},"clif_c_aclf":29.9,"clif_c_of":6,"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":"clif_c_aclf","formula_expression":"clif_c_aclf = 10 * (0.33 * clif_c_of + 0.04 * age + 0.63 * ln(wbc_10e9_l) - 2); caller-assigned CLIF-C OF 6-18; round 1 decimal then clamp 0-100 (Jalan 2014 CANONIC)","wbc_10e9_l":5},{"age_years":50,"citation":{"authors":"Jalan R, Saliba F, Pavesi M, et al.","doi":"10.1016/j.jhep.2014.06.012","id":"jalan-2014","pmid":"24950482","source":"J Hepatol. 2014;61(5):1038-1047","title":"Development and validation of a prognostic score to predict mortality in patients with acute-on-chronic liver failure."},"clif_c_aclf":29.9,"clif_c_of":6,"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":"clif_c_aclf","formula_expression":"clif_c_aclf = 10 * (0.33 * clif_c_of + 0.04 * age + 0.63 * ln(wbc_10e9_l) - 2); caller-assigned CLIF-C OF 6-18; round 1 decimal then clamp 0-100 (Jalan 2014 CANONIC)","wbc_10e9_l":5}],"path":"/api/calc/clif_c_aclf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"clif_c_of":{"description":"Caller-assigned CLIF-C organ-failure score, integer 6-18 (Jalan 2014). magent does not score the six organs or compute CLIF-C OF.","type":"integer"},"wbc_10e9_l":{"description":"White-cell count in 10^9/L (0.1-200). Natural log in the equation.","type":"number"}},"required":["clif_c_of","age","wbc_10e9_l"],"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},{"id":39266,"slug":"39266","resource":"https://api.magentlab.com/api/calc/car_olt","description":"VanWagner 2017 CAR-OLT integer points (Table 3) for 1-year CVD complication after first orthotopic liver transplant: age bands, sex, caller-assigned race (white 7, black 10, other 0), work, education, atrial fibrillation 25, ventilator 13, pulmonary hypertension 9, no HCC 6, hypertension 4, diabetes 4, heart failure 7. Table 4 predicted percent. Not a listing decision. magent does not assign race.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"atrial_fibrillation":false,"diabetes":false,"education":"college","hcc":true,"heart_failure":false,"hypertension":false,"pulmonary_hypertension":false,"race_group":"other","sex":"male","ventilator_respiratory_failure":false,"working_for_income":true},{"age":40,"atrial_fibrillation":false,"diabetes":false,"education":"college","hcc":true,"heart_failure":false,"hypertension":false,"pulmonary_hypertension":false,"race_group":"other","sex":"male","ventilator_respiratory_failure":false,"working_for_income":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"VanWagner LB, Ning H, Whitsett M, Levitsky J, Uttal S, Wilkins JT, Abecassis MM, Ladner DP, Skaro AI, Lloyd-Jones DM","doi":"10.1002/hep.29329","id":"vanwagner-2017-car-olt","pmid":"28703417","source":"Hepatology. 2017;66(6):1968-1979","title":"A point-based prediction model for cardiovascular risk in orthotopic liver transplantation: The CAR-OLT score"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"race_group","points":0,"present":false,"value":"other"},{"factor":"working_for_income","points":0,"present":false,"value":true},{"factor":"education","points":0,"present":false,"value":"college"},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"ventilator_respiratory_failure","points":0,"present":false},{"factor":"pulmonary_hypertension","points":0,"present":false},{"factor":"hcc","points":0,"present":false,"value":true},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"heart_failure","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.","education":"college","formula":"car_olt","formula_expression":"CAR-OLT = age (<45 0, 45-49 -6, 50-54 -4, 55-59 2, 60-64 5, >=65 8) + sex (male 0, female 1) + race_group (white 7, black 10, other 0) + not working 10 + education (high_school_or_unknown 5, college 0) + atrial_fibrillation 25 + ventilator_respiratory_failure 13 + pulmonary_hypertension 9 + no HCC 6 + hypertension 4 + diabetes 4 + heart_failure 7; VanWagner 2017 Table 3; Table 4 1-year predicted CVD %; unclamped; score 9 uses the <9 row","max_score":102,"predicted_1yr_cvd_percent":"<5%","race_group":"other","score":0,"sex":"male","working_for_income":true},{"age_years":40,"citation":{"authors":"VanWagner LB, Ning H, Whitsett M, Levitsky J, Uttal S, Wilkins JT, Abecassis MM, Ladner DP, Skaro AI, Lloyd-Jones DM","doi":"10.1002/hep.29329","id":"vanwagner-2017-car-olt","pmid":"28703417","source":"Hepatology. 2017;66(6):1968-1979","title":"A point-based prediction model for cardiovascular risk in orthotopic liver transplantation: The CAR-OLT score"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"race_group","points":0,"present":false,"value":"other"},{"factor":"working_for_income","points":0,"present":false,"value":true},{"factor":"education","points":0,"present":false,"value":"college"},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"ventilator_respiratory_failure","points":0,"present":false},{"factor":"pulmonary_hypertension","points":0,"present":false},{"factor":"hcc","points":0,"present":false,"value":true},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"heart_failure","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.","education":"college","formula":"car_olt","formula_expression":"CAR-OLT = age (<45 0, 45-49 -6, 50-54 -4, 55-59 2, 60-64 5, >=65 8) + sex (male 0, female 1) + race_group (white 7, black 10, other 0) + not working 10 + education (high_school_or_unknown 5, college 0) + atrial_fibrillation 25 + ventilator_respiratory_failure 13 + pulmonary_hypertension 9 + no HCC 6 + hypertension 4 + diabetes 4 + heart_failure 7; VanWagner 2017 Table 3; Table 4 1-year predicted CVD %; unclamped; score 9 uses the <9 row","max_score":102,"predicted_1yr_cvd_percent":"<5%","race_group":"other","score":0,"sex":"male","working_for_income":true}],"path":"/api/calc/car_olt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). VanWagner 2017 Table 3: <45 scores 0; 45-49 scores -6; 50-54 scores -4; 55-59 scores 2; 60-64 scores 5; ≥65 scores 8. Derivation was first OLT ages 18-75; ≥65 is the top Table 3 band.","type":"integer"},"atrial_fibrillation":{"description":"History of atrial fibrillation prior to transplant (VanWagner 2017 Table 3). true scores 25. magent does not read an ECG.","type":"boolean"},"diabetes":{"description":"History of diabetes prior to transplant (VanWagner 2017 Table 3). true scores 4. magent does not assay glucose.","type":"boolean"},"education":{"description":"Caller-assigned education (VanWagner 2017 Table 3). college scores 0 (College+ referent); high_school_or_unknown scores 5. magent does not assign education.","enum":["high_school_or_unknown","college"],"type":"string"},"hcc":{"description":"History of hepatocellular carcinoma (VanWagner 2017 Table 3). true scores 0 (referent); false scores 6. No HCC is the higher-risk term. magent does not diagnose HCC.","type":"boolean"},"heart_failure":{"description":"History of heart failure prior to transplant (VanWagner 2017 Table 3). true scores 7. magent does not diagnose heart failure.","type":"boolean"},"hypertension":{"description":"History of systemic hypertension prior to transplant (VanWagner 2017 Table 3). true scores 4. magent does not measure blood pressure.","type":"boolean"},"pulmonary_hypertension":{"description":"History of pulmonary hypertension prior to transplant (VanWagner 2017 Table 3). true scores 9. magent does not perform right-heart catheterization.","type":"boolean"},"race_group":{"description":"Caller-assigned race as used in VanWagner 2017 Table 3. white scores 7; black scores 10; other scores 0 (referent). Hispanic and Asian map to other in this model. magent does not assign race.","enum":["white","black","other"],"type":"string"},"sex":{"description":"Caller-assigned sex (VanWagner 2017 Table 3). male scores 0 (referent); female scores 1. magent does not assign sex.","enum":["female","male"],"type":"string"},"ventilator_respiratory_failure":{"description":"Respiratory failure on a ventilator at transplant (VanWagner 2017 Table 3). true scores 13. magent does not observe ventilation.","type":"boolean"},"working_for_income":{"description":"Working for income at transplant (VanWagner 2017 Table 3). true scores 0 (referent); false scores 10. magent does not assign employment.","type":"boolean"}},"required":["age","sex","race_group","working_for_income","education","atrial_fibrillation","ventilator_respiratory_failure","pulmonary_hypertension","hcc","hypertension","diabetes","heart_failure"],"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":["car-olt","liver","transplant","cvd","score","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T01:01:08.609Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T01:01:08.494Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"atrial_fibrillation":false,"diabetes":false,"education":"college","hcc":true,"heart_failure":false,"hypertension":false,"pulmonary_hypertension":false,"race_group":"other","sex":"male","ventilator_respiratory_failure":false,"working_for_income":true},{"age":40,"atrial_fibrillation":false,"diabetes":false,"education":"college","hcc":true,"heart_failure":false,"hypertension":false,"pulmonary_hypertension":false,"race_group":"other","sex":"male","ventilator_respiratory_failure":false,"working_for_income":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"VanWagner LB, Ning H, Whitsett M, Levitsky J, Uttal S, Wilkins JT, Abecassis MM, Ladner DP, Skaro AI, Lloyd-Jones DM","doi":"10.1002/hep.29329","id":"vanwagner-2017-car-olt","pmid":"28703417","source":"Hepatology. 2017;66(6):1968-1979","title":"A point-based prediction model for cardiovascular risk in orthotopic liver transplantation: The CAR-OLT score"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"race_group","points":0,"present":false,"value":"other"},{"factor":"working_for_income","points":0,"present":false,"value":true},{"factor":"education","points":0,"present":false,"value":"college"},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"ventilator_respiratory_failure","points":0,"present":false},{"factor":"pulmonary_hypertension","points":0,"present":false},{"factor":"hcc","points":0,"present":false,"value":true},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"heart_failure","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.","education":"college","formula":"car_olt","formula_expression":"CAR-OLT = age (<45 0, 45-49 -6, 50-54 -4, 55-59 2, 60-64 5, >=65 8) + sex (male 0, female 1) + race_group (white 7, black 10, other 0) + not working 10 + education (high_school_or_unknown 5, college 0) + atrial_fibrillation 25 + ventilator_respiratory_failure 13 + pulmonary_hypertension 9 + no HCC 6 + hypertension 4 + diabetes 4 + heart_failure 7; VanWagner 2017 Table 3; Table 4 1-year predicted CVD %; unclamped; score 9 uses the <9 row","max_score":102,"predicted_1yr_cvd_percent":"<5%","race_group":"other","score":0,"sex":"male","working_for_income":true},{"age_years":40,"citation":{"authors":"VanWagner LB, Ning H, Whitsett M, Levitsky J, Uttal S, Wilkins JT, Abecassis MM, Ladner DP, Skaro AI, Lloyd-Jones DM","doi":"10.1002/hep.29329","id":"vanwagner-2017-car-olt","pmid":"28703417","source":"Hepatology. 2017;66(6):1968-1979","title":"A point-based prediction model for cardiovascular risk in orthotopic liver transplantation: The CAR-OLT score"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"race_group","points":0,"present":false,"value":"other"},{"factor":"working_for_income","points":0,"present":false,"value":true},{"factor":"education","points":0,"present":false,"value":"college"},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"ventilator_respiratory_failure","points":0,"present":false},{"factor":"pulmonary_hypertension","points":0,"present":false},{"factor":"hcc","points":0,"present":false,"value":true},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"heart_failure","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.","education":"college","formula":"car_olt","formula_expression":"CAR-OLT = age (<45 0, 45-49 -6, 50-54 -4, 55-59 2, 60-64 5, >=65 8) + sex (male 0, female 1) + race_group (white 7, black 10, other 0) + not working 10 + education (high_school_or_unknown 5, college 0) + atrial_fibrillation 25 + ventilator_respiratory_failure 13 + pulmonary_hypertension 9 + no HCC 6 + hypertension 4 + diabetes 4 + heart_failure 7; VanWagner 2017 Table 3; Table 4 1-year predicted CVD %; unclamped; score 9 uses the <9 row","max_score":102,"predicted_1yr_cvd_percent":"<5%","race_group":"other","score":0,"sex":"male","working_for_income":true}],"path":"/api/calc/car_olt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). VanWagner 2017 Table 3: <45 scores 0; 45-49 scores -6; 50-54 scores -4; 55-59 scores 2; 60-64 scores 5; ≥65 scores 8. Derivation was first OLT ages 18-75; ≥65 is the top Table 3 band.","type":"integer"},"atrial_fibrillation":{"description":"History of atrial fibrillation prior to transplant (VanWagner 2017 Table 3). true scores 25. magent does not read an ECG.","type":"boolean"},"diabetes":{"description":"History of diabetes prior to transplant (VanWagner 2017 Table 3). true scores 4. magent does not assay glucose.","type":"boolean"},"education":{"description":"Caller-assigned education (VanWagner 2017 Table 3). college scores 0 (College+ referent); high_school_or_unknown scores 5. magent does not assign education.","enum":["high_school_or_unknown","college"],"type":"string"},"hcc":{"description":"History of hepatocellular carcinoma (VanWagner 2017 Table 3). true scores 0 (referent); false scores 6. No HCC is the higher-risk term. magent does not diagnose HCC.","type":"boolean"},"heart_failure":{"description":"History of heart failure prior to transplant (VanWagner 2017 Table 3). true scores 7. magent does not diagnose heart failure.","type":"boolean"},"hypertension":{"description":"History of systemic hypertension prior to transplant (VanWagner 2017 Table 3). true scores 4. magent does not measure blood pressure.","type":"boolean"},"pulmonary_hypertension":{"description":"History of pulmonary hypertension prior to transplant (VanWagner 2017 Table 3). true scores 9. magent does not perform right-heart catheterization.","type":"boolean"},"race_group":{"description":"Caller-assigned race as used in VanWagner 2017 Table 3. white scores 7; black scores 10; other scores 0 (referent). Hispanic and Asian map to other in this model. magent does not assign race.","enum":["white","black","other"],"type":"string"},"sex":{"description":"Caller-assigned sex (VanWagner 2017 Table 3). male scores 0 (referent); female scores 1. magent does not assign sex.","enum":["female","male"],"type":"string"},"ventilator_respiratory_failure":{"description":"Respiratory failure on a ventilator at transplant (VanWagner 2017 Table 3). true scores 13. magent does not observe ventilation.","type":"boolean"},"working_for_income":{"description":"Working for income at transplant (VanWagner 2017 Table 3). true scores 0 (referent); false scores 10. magent does not assign employment.","type":"boolean"}},"required":["age","sex","race_group","working_for_income","education","atrial_fibrillation","ventilator_respiratory_failure","pulmonary_hypertension","hcc","hypertension","diabetes","heart_failure"],"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},{"id":39267,"slug":"39267","resource":"https://api.magentlab.com/api/calc/canadian_ct_head","description":"Canadian CT Head Rule (Stiell 2001). CT is indicated if any high-risk factor (GCS <15 at 2 hours, suspected open or depressed skull fracture, any sign of basal skull fracture, vomiting 2 or more times, or age 65 or older) or any medium-risk factor (amnesia before impact >30 min, or dangerous mechanism as assigned by the caller). Not a diagnosis, not NEXUS, not PECARN, not CATCH, and not pediatric. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"amnesia_before_impact_gt_30min":false,"any_sign_basal_skull_fx":false,"dangerous_mechanism":false,"gcs_lt_15_at_2h":false,"suspected_open_or_depressed_skull_fx":false,"vomiting_two_or_more":false},{"age":40,"amnesia_before_impact_gt_30min":false,"any_sign_basal_skull_fx":false,"dangerous_mechanism":false,"gcs_lt_15_at_2h":false,"suspected_open_or_depressed_skull_fx":false,"vomiting_two_or_more":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Stiell IG, Wells GA, Vandemheen K, et al.","doi":"10.1016/S0140-6736(00)04561-X","id":"stiell-2001-ct-head","source":"Lancet. 2001;357(9266):1391-1396","title":"The Canadian CT Head Rule for patients with minor head injury"},"criteria":[{"factor":"gcs_lt_15_at_2h","met":false},{"factor":"suspected_open_or_depressed_skull_fx","met":false},{"factor":"any_sign_basal_skull_fx","met":false},{"factor":"vomiting_two_or_more","met":false},{"factor":"age_ge_65","met":false,"value":40},{"factor":"amnesia_before_impact_gt_30min","met":false},{"factor":"dangerous_mechanism","met":false}],"ct_indicated":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":"canadian_ct_head","formula_expression":"ct indicated if any high-risk (gcs_lt_15_at_2h or suspected_open_or_depressed_skull_fx or any_sign_basal_skull_fx or vomiting_two_or_more or age >= 65) or any medium-risk (amnesia_before_impact_gt_30min or dangerous_mechanism)","high_risk":false,"medium_risk":false},{"age_years":40,"citation":{"authors":"Stiell IG, Wells GA, Vandemheen K, et al.","doi":"10.1016/S0140-6736(00)04561-X","id":"stiell-2001-ct-head","source":"Lancet. 2001;357(9266):1391-1396","title":"The Canadian CT Head Rule for patients with minor head injury"},"criteria":[{"factor":"gcs_lt_15_at_2h","met":false},{"factor":"suspected_open_or_depressed_skull_fx","met":false},{"factor":"any_sign_basal_skull_fx","met":false},{"factor":"vomiting_two_or_more","met":false},{"factor":"age_ge_65","met":false,"value":40},{"factor":"amnesia_before_impact_gt_30min","met":false},{"factor":"dangerous_mechanism","met":false}],"ct_indicated":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":"canadian_ct_head","formula_expression":"ct indicated if any high-risk (gcs_lt_15_at_2h or suspected_open_or_depressed_skull_fx or any_sign_basal_skull_fx or vomiting_two_or_more or age >= 65) or any medium-risk (amnesia_before_impact_gt_30min or dangerous_mechanism)","high_risk":false,"medium_risk":false}],"path":"/api/calc/canadian_ct_head"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (16-120). Age ≥65 is a high-risk factor that indicates CT; 64 does not. The published rule is for patients ≥16 years.","type":"integer"},"amnesia_before_impact_gt_30min":{"description":"Amnesia before impact of more than 30 minutes. true or false as assigned by the caller. Medium-risk.","type":"boolean"},"any_sign_basal_skull_fx":{"description":"Any sign of basal skull fracture (hemotympanum, raccoon eyes, CSF otorrhea/rhinorrhea, or Battle's sign). true or false as assigned by the caller. High-risk.","type":"boolean"},"dangerous_mechanism":{"description":"Dangerous mechanism as assigned by the caller. true or false. Medium-risk. Published list: pedestrian struck by a motor vehicle, occupant ejected from a motor vehicle, fall from elevation >3 feet or 5 stairs. magent does not classify mechanism.","type":"boolean"},"gcs_lt_15_at_2h":{"description":"GCS <15 at 2 hours after injury. true or false as assigned by the caller. High-risk. magent does not take a GCS integer.","type":"boolean"},"suspected_open_or_depressed_skull_fx":{"description":"Suspected open or depressed skull fracture. true or false as assigned by the caller. High-risk.","type":"boolean"},"vomiting_two_or_more":{"description":"Two or more episodes of vomiting. true or false as assigned by the caller. High-risk.","type":"boolean"}},"required":["age","gcs_lt_15_at_2h","suspected_open_or_depressed_skull_fx","any_sign_basal_skull_fx","vomiting_two_or_more","amnesia_before_impact_gt_30min","dangerous_mechanism"],"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":["canadian-ct-head","head-ct","emergency","trauma","cibi","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:56:43.476Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:56:43.363Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"amnesia_before_impact_gt_30min":false,"any_sign_basal_skull_fx":false,"dangerous_mechanism":false,"gcs_lt_15_at_2h":false,"suspected_open_or_depressed_skull_fx":false,"vomiting_two_or_more":false},{"age":40,"amnesia_before_impact_gt_30min":false,"any_sign_basal_skull_fx":false,"dangerous_mechanism":false,"gcs_lt_15_at_2h":false,"suspected_open_or_depressed_skull_fx":false,"vomiting_two_or_more":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Stiell IG, Wells GA, Vandemheen K, et al.","doi":"10.1016/S0140-6736(00)04561-X","id":"stiell-2001-ct-head","source":"Lancet. 2001;357(9266):1391-1396","title":"The Canadian CT Head Rule for patients with minor head injury"},"criteria":[{"factor":"gcs_lt_15_at_2h","met":false},{"factor":"suspected_open_or_depressed_skull_fx","met":false},{"factor":"any_sign_basal_skull_fx","met":false},{"factor":"vomiting_two_or_more","met":false},{"factor":"age_ge_65","met":false,"value":40},{"factor":"amnesia_before_impact_gt_30min","met":false},{"factor":"dangerous_mechanism","met":false}],"ct_indicated":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":"canadian_ct_head","formula_expression":"ct indicated if any high-risk (gcs_lt_15_at_2h or suspected_open_or_depressed_skull_fx or any_sign_basal_skull_fx or vomiting_two_or_more or age >= 65) or any medium-risk (amnesia_before_impact_gt_30min or dangerous_mechanism)","high_risk":false,"medium_risk":false},{"age_years":40,"citation":{"authors":"Stiell IG, Wells GA, Vandemheen K, et al.","doi":"10.1016/S0140-6736(00)04561-X","id":"stiell-2001-ct-head","source":"Lancet. 2001;357(9266):1391-1396","title":"The Canadian CT Head Rule for patients with minor head injury"},"criteria":[{"factor":"gcs_lt_15_at_2h","met":false},{"factor":"suspected_open_or_depressed_skull_fx","met":false},{"factor":"any_sign_basal_skull_fx","met":false},{"factor":"vomiting_two_or_more","met":false},{"factor":"age_ge_65","met":false,"value":40},{"factor":"amnesia_before_impact_gt_30min","met":false},{"factor":"dangerous_mechanism","met":false}],"ct_indicated":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":"canadian_ct_head","formula_expression":"ct indicated if any high-risk (gcs_lt_15_at_2h or suspected_open_or_depressed_skull_fx or any_sign_basal_skull_fx or vomiting_two_or_more or age >= 65) or any medium-risk (amnesia_before_impact_gt_30min or dangerous_mechanism)","high_risk":false,"medium_risk":false}],"path":"/api/calc/canadian_ct_head"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (16-120). Age ≥65 is a high-risk factor that indicates CT; 64 does not. The published rule is for patients ≥16 years.","type":"integer"},"amnesia_before_impact_gt_30min":{"description":"Amnesia before impact of more than 30 minutes. true or false as assigned by the caller. Medium-risk.","type":"boolean"},"any_sign_basal_skull_fx":{"description":"Any sign of basal skull fracture (hemotympanum, raccoon eyes, CSF otorrhea/rhinorrhea, or Battle's sign). true or false as assigned by the caller. High-risk.","type":"boolean"},"dangerous_mechanism":{"description":"Dangerous mechanism as assigned by the caller. true or false. Medium-risk. Published list: pedestrian struck by a motor vehicle, occupant ejected from a motor vehicle, fall from elevation >3 feet or 5 stairs. magent does not classify mechanism.","type":"boolean"},"gcs_lt_15_at_2h":{"description":"GCS <15 at 2 hours after injury. true or false as assigned by the caller. High-risk. magent does not take a GCS integer.","type":"boolean"},"suspected_open_or_depressed_skull_fx":{"description":"Suspected open or depressed skull fracture. true or false as assigned by the caller. High-risk.","type":"boolean"},"vomiting_two_or_more":{"description":"Two or more episodes of vomiting. true or false as assigned by the caller. High-risk.","type":"boolean"}},"required":["age","gcs_lt_15_at_2h","suspected_open_or_depressed_skull_fx","any_sign_basal_skull_fx","vomiting_two_or_more","amnesia_before_impact_gt_30min","dangerous_mechanism"],"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},{"id":39268,"slug":"39268","resource":"https://api.magentlab.com/api/calc/canadian_cspine","description":"Canadian C-spine rule (Stiell 2001). Cervical radiography is indicated if any high-risk factor is present (age ≥65, dangerous mechanism, or paresthesias in the extremities). If none, radiography is indicated unless at least one low-risk factor allows safe range-of-motion assessment and the patient can rotate the neck 45° left and right. Not a diagnosis, not NEXUS, and not pediatric. For alert, stable blunt-trauma adults with GCS 15. magent does not examine the neck.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"able_to_rotate_45":true,"age":40,"ambulatory_since_injury":false,"dangerous_mechanism":false,"delayed_neck_pain":true,"midline_cspine_tenderness":true,"paresthesias_extremities":false,"simple_rear_end_mvc":false,"sitting_in_ed":false},{"able_to_rotate_45":true,"age":40,"ambulatory_since_injury":false,"dangerous_mechanism":false,"delayed_neck_pain":true,"midline_cspine_tenderness":true,"paresthesias_extremities":false,"simple_rear_end_mvc":false,"sitting_in_ed":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"able_to_rotate_45":true,"age_years":40,"citation":{"authors":"Stiell IG, Wells GA, Vandemheen KL, et al.","doi":"10.1001/jama.286.15.1841","id":"stiell-2001","source":"JAMA. 2001;286(15):1841-1848","title":"The Canadian C-spine rule for radiography in alert and stable trauma patients"},"criteria":[{"age_ge_65":false,"dangerous_mechanism":false,"factor":"high_risk","met":false,"paresthesias_extremities":false,"value":40},{"ambulatory_since_injury":false,"delayed_neck_pain":true,"factor":"low_risk_allows_rom","met":true,"midline_cspine_tenderness":true,"simple_rear_end_mvc":false,"sitting_in_ed":false},{"factor":"able_to_rotate_45","met":true}],"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":"canadian_c_spine","formula_expression":"xray indicated if any high-risk (age >= 65 or dangerous_mechanism or paresthesias_extremities); else if no low-risk allowing ROM (simple_rear_end_mvc or sitting_in_ed or ambulatory_since_injury or delayed_neck_pain or midline_cspine_tenderness false); else if not able_to_rotate_45","high_risk":false,"low_risk_allows_rom":true,"xray_indicated":false},{"able_to_rotate_45":true,"age_years":40,"citation":{"authors":"Stiell IG, Wells GA, Vandemheen KL, et al.","doi":"10.1001/jama.286.15.1841","id":"stiell-2001","source":"JAMA. 2001;286(15):1841-1848","title":"The Canadian C-spine rule for radiography in alert and stable trauma patients"},"criteria":[{"age_ge_65":false,"dangerous_mechanism":false,"factor":"high_risk","met":false,"paresthesias_extremities":false,"value":40},{"ambulatory_since_injury":false,"delayed_neck_pain":true,"factor":"low_risk_allows_rom","met":true,"midline_cspine_tenderness":true,"simple_rear_end_mvc":false,"sitting_in_ed":false},{"factor":"able_to_rotate_45","met":true}],"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":"canadian_c_spine","formula_expression":"xray indicated if any high-risk (age >= 65 or dangerous_mechanism or paresthesias_extremities); else if no low-risk allowing ROM (simple_rear_end_mvc or sitting_in_ed or ambulatory_since_injury or delayed_neck_pain or midline_cspine_tenderness false); else if not able_to_rotate_45","high_risk":false,"low_risk_allows_rom":true,"xray_indicated":false}],"path":"/api/calc/canadian_cspine"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"able_to_rotate_45":{"description":"Able to actively rotate the neck 45 degrees left and right. true or false as assigned by the caller. Consulted only when there is no high-risk factor and at least one low-risk factor.","type":"boolean"},"age":{"description":"Age in years (18-120). Age ≥65 is a high-risk factor that mandates radiography; 64 does not.","type":"integer"},"ambulatory_since_injury":{"description":"Ambulatory at any time since injury. true or false as assigned by the caller. A low-risk factor that can allow safe range-of-motion assessment.","type":"boolean"},"dangerous_mechanism":{"description":"Dangerous mechanism as assigned by the caller. true or false. High-risk; when true, radiography is indicated without range-of-motion assessment.","type":"boolean"},"delayed_neck_pain":{"description":"Delayed onset of neck pain. true or false as assigned by the caller. A low-risk factor that can allow safe range-of-motion assessment.","type":"boolean"},"midline_cspine_tenderness":{"description":"Midline cervical-spine tenderness. true or false as assigned by the caller. Absence of midline tenderness (false) is a low-risk factor that can allow safe range-of-motion assessment.","type":"boolean"},"paresthesias_extremities":{"description":"Paresthesias in the extremities. true or false as assigned by the caller. High-risk; when true, radiography is indicated without range-of-motion assessment.","type":"boolean"},"simple_rear_end_mvc":{"description":"Simple rear-end motor vehicle collision as assigned by the caller. true or false. A low-risk factor that can allow safe range-of-motion assessment.","type":"boolean"},"sitting_in_ed":{"description":"Sitting position in the emergency department. true or false as assigned by the caller. A low-risk factor that can allow safe range-of-motion assessment.","type":"boolean"}},"required":["age","dangerous_mechanism","paresthesias_extremities","simple_rear_end_mvc","sitting_in_ed","ambulatory_since_injury","delayed_neck_pain","midline_cspine_tenderness","able_to_rotate_45"],"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":["canadian-c-spine","c-spine","radiography","emergency","trauma","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:56:42.743Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:56:42.606Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"able_to_rotate_45":true,"age":40,"ambulatory_since_injury":false,"dangerous_mechanism":false,"delayed_neck_pain":true,"midline_cspine_tenderness":true,"paresthesias_extremities":false,"simple_rear_end_mvc":false,"sitting_in_ed":false},{"able_to_rotate_45":true,"age":40,"ambulatory_since_injury":false,"dangerous_mechanism":false,"delayed_neck_pain":true,"midline_cspine_tenderness":true,"paresthesias_extremities":false,"simple_rear_end_mvc":false,"sitting_in_ed":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"able_to_rotate_45":true,"age_years":40,"citation":{"authors":"Stiell IG, Wells GA, Vandemheen KL, et al.","doi":"10.1001/jama.286.15.1841","id":"stiell-2001","source":"JAMA. 2001;286(15):1841-1848","title":"The Canadian C-spine rule for radiography in alert and stable trauma patients"},"criteria":[{"age_ge_65":false,"dangerous_mechanism":false,"factor":"high_risk","met":false,"paresthesias_extremities":false,"value":40},{"ambulatory_since_injury":false,"delayed_neck_pain":true,"factor":"low_risk_allows_rom","met":true,"midline_cspine_tenderness":true,"simple_rear_end_mvc":false,"sitting_in_ed":false},{"factor":"able_to_rotate_45","met":true}],"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":"canadian_c_spine","formula_expression":"xray indicated if any high-risk (age >= 65 or dangerous_mechanism or paresthesias_extremities); else if no low-risk allowing ROM (simple_rear_end_mvc or sitting_in_ed or ambulatory_since_injury or delayed_neck_pain or midline_cspine_tenderness false); else if not able_to_rotate_45","high_risk":false,"low_risk_allows_rom":true,"xray_indicated":false},{"able_to_rotate_45":true,"age_years":40,"citation":{"authors":"Stiell IG, Wells GA, Vandemheen KL, et al.","doi":"10.1001/jama.286.15.1841","id":"stiell-2001","source":"JAMA. 2001;286(15):1841-1848","title":"The Canadian C-spine rule for radiography in alert and stable trauma patients"},"criteria":[{"age_ge_65":false,"dangerous_mechanism":false,"factor":"high_risk","met":false,"paresthesias_extremities":false,"value":40},{"ambulatory_since_injury":false,"delayed_neck_pain":true,"factor":"low_risk_allows_rom","met":true,"midline_cspine_tenderness":true,"simple_rear_end_mvc":false,"sitting_in_ed":false},{"factor":"able_to_rotate_45","met":true}],"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":"canadian_c_spine","formula_expression":"xray indicated if any high-risk (age >= 65 or dangerous_mechanism or paresthesias_extremities); else if no low-risk allowing ROM (simple_rear_end_mvc or sitting_in_ed or ambulatory_since_injury or delayed_neck_pain or midline_cspine_tenderness false); else if not able_to_rotate_45","high_risk":false,"low_risk_allows_rom":true,"xray_indicated":false}],"path":"/api/calc/canadian_cspine"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"able_to_rotate_45":{"description":"Able to actively rotate the neck 45 degrees left and right. true or false as assigned by the caller. Consulted only when there is no high-risk factor and at least one low-risk factor.","type":"boolean"},"age":{"description":"Age in years (18-120). Age ≥65 is a high-risk factor that mandates radiography; 64 does not.","type":"integer"},"ambulatory_since_injury":{"description":"Ambulatory at any time since injury. true or false as assigned by the caller. A low-risk factor that can allow safe range-of-motion assessment.","type":"boolean"},"dangerous_mechanism":{"description":"Dangerous mechanism as assigned by the caller. true or false. High-risk; when true, radiography is indicated without range-of-motion assessment.","type":"boolean"},"delayed_neck_pain":{"description":"Delayed onset of neck pain. true or false as assigned by the caller. A low-risk factor that can allow safe range-of-motion assessment.","type":"boolean"},"midline_cspine_tenderness":{"description":"Midline cervical-spine tenderness. true or false as assigned by the caller. Absence of midline tenderness (false) is a low-risk factor that can allow safe range-of-motion assessment.","type":"boolean"},"paresthesias_extremities":{"description":"Paresthesias in the extremities. true or false as assigned by the caller. High-risk; when true, radiography is indicated without range-of-motion assessment.","type":"boolean"},"simple_rear_end_mvc":{"description":"Simple rear-end motor vehicle collision as assigned by the caller. true or false. A low-risk factor that can allow safe range-of-motion assessment.","type":"boolean"},"sitting_in_ed":{"description":"Sitting position in the emergency department. true or false as assigned by the caller. A low-risk factor that can allow safe range-of-motion assessment.","type":"boolean"}},"required":["age","dangerous_mechanism","paresthesias_extremities","simple_rear_end_mvc","sitting_in_ed","ambulatory_since_injury","delayed_neck_pain","midline_cspine_tenderness","able_to_rotate_45"],"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},{"id":39269,"slug":"39269","resource":"https://api.magentlab.com/api/calc/cambridge_diabetes","description":"Griffin 2000 Cambridge logistic risk of undetected type 2 diabetes. p = 1/(1+e^(-λ)); λ = -6.322 - 0.879 if female + 1.222 antihypertensive + 2.191 steroids + 0.063×age + BMI band (<25 0; 25 to <27.5 0.699; 27.5 to <30 1.97; ≥30 2.518) + family (parent or sibling 0.728; parent and sibling 0.753) + smoking (former -0.218; current 0.855). Age 40-64. Probability 0-1. Not FINDRISC, not ADA, not a glucose assay, not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"antihypertensive":false,"bmi_kg_m2":24,"family_history":"none","sex":"male","smoking":"never","steroids":false},{"age":50,"antihypertensive":false,"bmi_kg_m2":24,"family_history":"none","sex":"male","smoking":"never","steroids":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"antihypertensive":false,"bmi_kg_m2":24,"citation":{"authors":"Griffin SJ, Little PS, Hales CN, Kinmonth AL, Wareham NJ","doi":"10.1002/1520-7560(200005/06)16:3<164::AID-DMRR103>3.0.CO;2-R","id":"griffin-2000","pmid":"10867715","source":"Diabetes Metab Res Rev. 2000;16(3):164-171","title":"Diabetes risk score: towards earlier detection of type 2 diabetes in general practice"},"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.","family_history":"none","formula":"cambridge_diabetes","formula_expression":"p = 1/(1+e^(-λ)); λ = -6.322 -0.879*(sex=female) + 1.222*antihypertensive + 2.191*steroids + 0.063*age + bmi + family + smoking; BMI <25 -> 0, >=25 and <27.5 -> 0.699, >=27.5 and <30 -> 1.97, >=30 -> 2.518; family none 0, parent_or_sibling 0.728, parent_and_sibling 0.753; smoking never 0, former -0.218, current 0.855; Griffin 2000 logistic risk of undetected type 2 diabetes; age 40-64","linear_predictor":-3.172,"probability":0.0402,"sex":"male","smoking":"never","steroids":false},{"age_years":50,"antihypertensive":false,"bmi_kg_m2":24,"citation":{"authors":"Griffin SJ, Little PS, Hales CN, Kinmonth AL, Wareham NJ","doi":"10.1002/1520-7560(200005/06)16:3<164::AID-DMRR103>3.0.CO;2-R","id":"griffin-2000","pmid":"10867715","source":"Diabetes Metab Res Rev. 2000;16(3):164-171","title":"Diabetes risk score: towards earlier detection of type 2 diabetes in general practice"},"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.","family_history":"none","formula":"cambridge_diabetes","formula_expression":"p = 1/(1+e^(-λ)); λ = -6.322 -0.879*(sex=female) + 1.222*antihypertensive + 2.191*steroids + 0.063*age + bmi + family + smoking; BMI <25 -> 0, >=25 and <27.5 -> 0.699, >=27.5 and <30 -> 1.97, >=30 -> 2.518; family none 0, parent_or_sibling 0.728, parent_and_sibling 0.753; smoking never 0, former -0.218, current 0.855; Griffin 2000 logistic risk of undetected type 2 diabetes; age 40-64","linear_predictor":-3.172,"probability":0.0402,"sex":"male","smoking":"never","steroids":false}],"path":"/api/calc/cambridge_diabetes"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years. Griffin 2000 derivation was ages 40-64; magent accepts that published range only. Continuous linear predictor at 0.063 per year.","type":"integer"},"antihypertensive":{"description":"Prescribed antihypertensive medication as assigned by the caller (Griffin 2000). true adds 1.222; false adds 0. magent does not read a medication list.","type":"boolean"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80, magent clamp). Caller-supplied; magent does not compute BMI from height and weight. Griffin 2000: <25 -> 0; >=25 and <27.5 -> 0.699; >=27.5 and <30 -> 1.97; >=30 -> 2.518.","type":"number"},"family_history":{"description":"First-degree family history of diabetes (Griffin 2000). none 0; parent_or_sibling 0.728 (parent or sibling, not both); parent_and_sibling 0.753 (parent and sibling). magent does not take a pedigree.","enum":["none","parent_or_sibling","parent_and_sibling"],"type":"string"},"sex":{"description":"female or male. Griffin 2000 female coefficient is -0.879; male is the reference (0).","enum":["female","male"],"type":"string"},"smoking":{"description":"Smoking history (Griffin 2000). never (nonsmoker) 0; former (ex-smoker) -0.218; current 0.855. magent does not take a smoking history.","enum":["never","former","current"],"type":"string"},"steroids":{"description":"Prescribed steroids as assigned by the caller (Griffin 2000). true adds 2.191; false adds 0. magent does not read a medication list.","type":"boolean"}},"required":["age","sex","bmi_kg_m2","antihypertensive","steroids","family_history","smoking"],"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":["cambridge-diabetes","diabetes-risk","glucose","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:56:41.871Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:56:41.703Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"antihypertensive":false,"bmi_kg_m2":24,"family_history":"none","sex":"male","smoking":"never","steroids":false},{"age":50,"antihypertensive":false,"bmi_kg_m2":24,"family_history":"none","sex":"male","smoking":"never","steroids":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"antihypertensive":false,"bmi_kg_m2":24,"citation":{"authors":"Griffin SJ, Little PS, Hales CN, Kinmonth AL, Wareham NJ","doi":"10.1002/1520-7560(200005/06)16:3<164::AID-DMRR103>3.0.CO;2-R","id":"griffin-2000","pmid":"10867715","source":"Diabetes Metab Res Rev. 2000;16(3):164-171","title":"Diabetes risk score: towards earlier detection of type 2 diabetes in general practice"},"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.","family_history":"none","formula":"cambridge_diabetes","formula_expression":"p = 1/(1+e^(-λ)); λ = -6.322 -0.879*(sex=female) + 1.222*antihypertensive + 2.191*steroids + 0.063*age + bmi + family + smoking; BMI <25 -> 0, >=25 and <27.5 -> 0.699, >=27.5 and <30 -> 1.97, >=30 -> 2.518; family none 0, parent_or_sibling 0.728, parent_and_sibling 0.753; smoking never 0, former -0.218, current 0.855; Griffin 2000 logistic risk of undetected type 2 diabetes; age 40-64","linear_predictor":-3.172,"probability":0.0402,"sex":"male","smoking":"never","steroids":false},{"age_years":50,"antihypertensive":false,"bmi_kg_m2":24,"citation":{"authors":"Griffin SJ, Little PS, Hales CN, Kinmonth AL, Wareham NJ","doi":"10.1002/1520-7560(200005/06)16:3<164::AID-DMRR103>3.0.CO;2-R","id":"griffin-2000","pmid":"10867715","source":"Diabetes Metab Res Rev. 2000;16(3):164-171","title":"Diabetes risk score: towards earlier detection of type 2 diabetes in general practice"},"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.","family_history":"none","formula":"cambridge_diabetes","formula_expression":"p = 1/(1+e^(-λ)); λ = -6.322 -0.879*(sex=female) + 1.222*antihypertensive + 2.191*steroids + 0.063*age + bmi + family + smoking; BMI <25 -> 0, >=25 and <27.5 -> 0.699, >=27.5 and <30 -> 1.97, >=30 -> 2.518; family none 0, parent_or_sibling 0.728, parent_and_sibling 0.753; smoking never 0, former -0.218, current 0.855; Griffin 2000 logistic risk of undetected type 2 diabetes; age 40-64","linear_predictor":-3.172,"probability":0.0402,"sex":"male","smoking":"never","steroids":false}],"path":"/api/calc/cambridge_diabetes"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years. Griffin 2000 derivation was ages 40-64; magent accepts that published range only. Continuous linear predictor at 0.063 per year.","type":"integer"},"antihypertensive":{"description":"Prescribed antihypertensive medication as assigned by the caller (Griffin 2000). true adds 1.222; false adds 0. magent does not read a medication list.","type":"boolean"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80, magent clamp). Caller-supplied; magent does not compute BMI from height and weight. Griffin 2000: <25 -> 0; >=25 and <27.5 -> 0.699; >=27.5 and <30 -> 1.97; >=30 -> 2.518.","type":"number"},"family_history":{"description":"First-degree family history of diabetes (Griffin 2000). none 0; parent_or_sibling 0.728 (parent or sibling, not both); parent_and_sibling 0.753 (parent and sibling). magent does not take a pedigree.","enum":["none","parent_or_sibling","parent_and_sibling"],"type":"string"},"sex":{"description":"female or male. Griffin 2000 female coefficient is -0.879; male is the reference (0).","enum":["female","male"],"type":"string"},"smoking":{"description":"Smoking history (Griffin 2000). never (nonsmoker) 0; former (ex-smoker) -0.218; current 0.855. magent does not take a smoking history.","enum":["never","former","current"],"type":"string"},"steroids":{"description":"Prescribed steroids as assigned by the caller (Griffin 2000). true adds 2.191; false adds 0. magent does not read a medication list.","type":"boolean"}},"required":["age","sex","bmi_kg_m2","antihypertensive","steroids","family_history","smoking"],"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},{"id":39270,"slug":"39270","resource":"https://api.magentlab.com/api/calc/cahp","description":"Maupain 2016 CAHP nomogram after OHCA. Integer points from age, home vs public arrest, shockable vs non-shockable rhythm, no-flow min, low-flow min, epinephrine tertile (0 / 1-2 / >=3 mg), and arterial pH. Table 3: low <150, medium 150-200, high >200. Figure 2 caption total 177 reads 88% poor outcome. Not a withdrawal-of-care order. magent does not measure pH.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":30,"arrest_at_home":true,"arterial_ph":7.1,"epinephrine_mg":3,"low_flow_min":10,"no_flow_min":5,"shockable_rhythm":false},{"age":30,"arrest_at_home":true,"arterial_ph":7.1,"epinephrine_mg":3,"low_flow_min":10,"no_flow_min":5,"shockable_rhythm":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"arrest_at_home":true,"arterial_ph":7.1,"cahp_risk":"medium","citation":{"authors":"Maupain C, Bougouin W, Lamhaut L, et al.","doi":"10.1093/eurheartj/ehv556","id":"maupain-2016-cahp","pmid":"26497161","source":"Eur Heart J. 2016;37(42):3222-3231","title":"The CAHP (Cardiac Arrest Hospital Prognosis) score: a tool for risk stratification after out-of-hospital cardiac arrest"},"components":[{"factor":"age","points":22,"present":true,"value":30},{"factor":"arrest_at_home","points":25,"present":true},{"factor":"shockable_rhythm","points":27,"present":true,"value":false},{"factor":"no_flow_min","points":14,"present":true,"value":5},{"factor":"low_flow_min","points":8,"present":true,"value":10},{"factor":"epinephrine_mg","points":43,"present":true,"value":3},{"factor":"arterial_ph","points":38,"present":true,"value":7.1}],"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.","epinephrine_mg":3,"formula":"cahp","formula_expression":"CAHP = round(1.1*(age-10)) + 25 if arrest_at_home + 27 if not shockable_rhythm + round(2.8*no_flow_min) + round(0.8*low_flow_min) + epinephrine mg (0 → 0; 1-2 → 27; ≥3 → 43) + round(585-77*arterial_ph); Maupain 2016 Figure 2 nomogram integer points (caption: age 30 → 22, home → 25, non-shockable → 27, no-flow 5 min → 14, low-flow 10 min → 8, epinephrine 3 mg → 43, pH 7.10 → 38, total 177 → 88%); Table 3 low <150, medium 150-200, high >200 (150 and 200 are medium); max 411","low_flow_min":10,"max_score":411,"no_flow_min":5,"nomogram_poor_outcome_percent":88,"score":177,"shockable_rhythm":false},{"age_years":30,"arrest_at_home":true,"arterial_ph":7.1,"cahp_risk":"medium","citation":{"authors":"Maupain C, Bougouin W, Lamhaut L, et al.","doi":"10.1093/eurheartj/ehv556","id":"maupain-2016-cahp","pmid":"26497161","source":"Eur Heart J. 2016;37(42):3222-3231","title":"The CAHP (Cardiac Arrest Hospital Prognosis) score: a tool for risk stratification after out-of-hospital cardiac arrest"},"components":[{"factor":"age","points":22,"present":true,"value":30},{"factor":"arrest_at_home","points":25,"present":true},{"factor":"shockable_rhythm","points":27,"present":true,"value":false},{"factor":"no_flow_min","points":14,"present":true,"value":5},{"factor":"low_flow_min","points":8,"present":true,"value":10},{"factor":"epinephrine_mg","points":43,"present":true,"value":3},{"factor":"arterial_ph","points":38,"present":true,"value":7.1}],"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.","epinephrine_mg":3,"formula":"cahp","formula_expression":"CAHP = round(1.1*(age-10)) + 25 if arrest_at_home + 27 if not shockable_rhythm + round(2.8*no_flow_min) + round(0.8*low_flow_min) + epinephrine mg (0 → 0; 1-2 → 27; ≥3 → 43) + round(585-77*arterial_ph); Maupain 2016 Figure 2 nomogram integer points (caption: age 30 → 22, home → 25, non-shockable → 27, no-flow 5 min → 14, low-flow 10 min → 8, epinephrine 3 mg → 43, pH 7.10 → 38, total 177 → 88%); Table 3 low <150, medium 150-200, high >200 (150 and 200 are medium); max 411","low_flow_min":10,"max_score":411,"no_flow_min":5,"nomogram_poor_outcome_percent":88,"score":177,"shockable_rhythm":false}],"path":"/api/calc/cahp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Figure 2 caption: 30 years → 22. Linear nomogram: round(1.1*(age-10)); truncated below 10 and above 100.","type":"integer"},"arrest_at_home":{"description":"Cardiac arrest at home versus public, as assigned by the caller. true scores 25 (Figure 2 caption); false (public) scores 0.","type":"boolean"},"arterial_ph":{"description":"Admission arterial pH (6.5-7.8). Figure 2 caption: 7.10 → 38. Linear nomogram: round(585-77*pH); truncated to 6.5-7.5. magent does not measure pH.","type":"number"},"epinephrine_mg":{"description":"Total pre-ROSC epinephrine in mg (integer 0-30). Table 2 tertiles on the nomogram: 0 → 0; 1-2 → 27; ≥3 → 43 (Figure 2 caption 3 mg → 43).","type":"integer"},"low_flow_min":{"description":"BLS-to-ROSC (low-flow) minutes (integer 0-180). Figure 2 caption: 10 min → 8. Linear nomogram: round(0.8*minutes); truncated above 60.","type":"integer"},"no_flow_min":{"description":"Collapse-to-BLS (no-flow) minutes (integer 0-90). Figure 2 caption: 5 min → 14. Linear nomogram: round(2.8*minutes); truncated above 30.","type":"integer"},"shockable_rhythm":{"description":"Initial shockable rhythm (VF or pulseless VT) as assigned by the caller. true scores 0; false (non-shockable) scores 27 (Figure 2 caption).","type":"boolean"}},"required":["age","arrest_at_home","shockable_rhythm","no_flow_min","low_flow_min","epinephrine_mg","arterial_ph"],"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":["cahp","cardiac-arrest","ohca","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:50:57.394Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:50:57.272Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":30,"arrest_at_home":true,"arterial_ph":7.1,"epinephrine_mg":3,"low_flow_min":10,"no_flow_min":5,"shockable_rhythm":false},{"age":30,"arrest_at_home":true,"arterial_ph":7.1,"epinephrine_mg":3,"low_flow_min":10,"no_flow_min":5,"shockable_rhythm":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"arrest_at_home":true,"arterial_ph":7.1,"cahp_risk":"medium","citation":{"authors":"Maupain C, Bougouin W, Lamhaut L, et al.","doi":"10.1093/eurheartj/ehv556","id":"maupain-2016-cahp","pmid":"26497161","source":"Eur Heart J. 2016;37(42):3222-3231","title":"The CAHP (Cardiac Arrest Hospital Prognosis) score: a tool for risk stratification after out-of-hospital cardiac arrest"},"components":[{"factor":"age","points":22,"present":true,"value":30},{"factor":"arrest_at_home","points":25,"present":true},{"factor":"shockable_rhythm","points":27,"present":true,"value":false},{"factor":"no_flow_min","points":14,"present":true,"value":5},{"factor":"low_flow_min","points":8,"present":true,"value":10},{"factor":"epinephrine_mg","points":43,"present":true,"value":3},{"factor":"arterial_ph","points":38,"present":true,"value":7.1}],"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.","epinephrine_mg":3,"formula":"cahp","formula_expression":"CAHP = round(1.1*(age-10)) + 25 if arrest_at_home + 27 if not shockable_rhythm + round(2.8*no_flow_min) + round(0.8*low_flow_min) + epinephrine mg (0 → 0; 1-2 → 27; ≥3 → 43) + round(585-77*arterial_ph); Maupain 2016 Figure 2 nomogram integer points (caption: age 30 → 22, home → 25, non-shockable → 27, no-flow 5 min → 14, low-flow 10 min → 8, epinephrine 3 mg → 43, pH 7.10 → 38, total 177 → 88%); Table 3 low <150, medium 150-200, high >200 (150 and 200 are medium); max 411","low_flow_min":10,"max_score":411,"no_flow_min":5,"nomogram_poor_outcome_percent":88,"score":177,"shockable_rhythm":false},{"age_years":30,"arrest_at_home":true,"arterial_ph":7.1,"cahp_risk":"medium","citation":{"authors":"Maupain C, Bougouin W, Lamhaut L, et al.","doi":"10.1093/eurheartj/ehv556","id":"maupain-2016-cahp","pmid":"26497161","source":"Eur Heart J. 2016;37(42):3222-3231","title":"The CAHP (Cardiac Arrest Hospital Prognosis) score: a tool for risk stratification after out-of-hospital cardiac arrest"},"components":[{"factor":"age","points":22,"present":true,"value":30},{"factor":"arrest_at_home","points":25,"present":true},{"factor":"shockable_rhythm","points":27,"present":true,"value":false},{"factor":"no_flow_min","points":14,"present":true,"value":5},{"factor":"low_flow_min","points":8,"present":true,"value":10},{"factor":"epinephrine_mg","points":43,"present":true,"value":3},{"factor":"arterial_ph","points":38,"present":true,"value":7.1}],"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.","epinephrine_mg":3,"formula":"cahp","formula_expression":"CAHP = round(1.1*(age-10)) + 25 if arrest_at_home + 27 if not shockable_rhythm + round(2.8*no_flow_min) + round(0.8*low_flow_min) + epinephrine mg (0 → 0; 1-2 → 27; ≥3 → 43) + round(585-77*arterial_ph); Maupain 2016 Figure 2 nomogram integer points (caption: age 30 → 22, home → 25, non-shockable → 27, no-flow 5 min → 14, low-flow 10 min → 8, epinephrine 3 mg → 43, pH 7.10 → 38, total 177 → 88%); Table 3 low <150, medium 150-200, high >200 (150 and 200 are medium); max 411","low_flow_min":10,"max_score":411,"no_flow_min":5,"nomogram_poor_outcome_percent":88,"score":177,"shockable_rhythm":false}],"path":"/api/calc/cahp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Figure 2 caption: 30 years → 22. Linear nomogram: round(1.1*(age-10)); truncated below 10 and above 100.","type":"integer"},"arrest_at_home":{"description":"Cardiac arrest at home versus public, as assigned by the caller. true scores 25 (Figure 2 caption); false (public) scores 0.","type":"boolean"},"arterial_ph":{"description":"Admission arterial pH (6.5-7.8). Figure 2 caption: 7.10 → 38. Linear nomogram: round(585-77*pH); truncated to 6.5-7.5. magent does not measure pH.","type":"number"},"epinephrine_mg":{"description":"Total pre-ROSC epinephrine in mg (integer 0-30). Table 2 tertiles on the nomogram: 0 → 0; 1-2 → 27; ≥3 → 43 (Figure 2 caption 3 mg → 43).","type":"integer"},"low_flow_min":{"description":"BLS-to-ROSC (low-flow) minutes (integer 0-180). Figure 2 caption: 10 min → 8. Linear nomogram: round(0.8*minutes); truncated above 60.","type":"integer"},"no_flow_min":{"description":"Collapse-to-BLS (no-flow) minutes (integer 0-90). Figure 2 caption: 5 min → 14. Linear nomogram: round(2.8*minutes); truncated above 30.","type":"integer"},"shockable_rhythm":{"description":"Initial shockable rhythm (VF or pulseless VT) as assigned by the caller. true scores 0; false (non-shockable) scores 27 (Figure 2 caption).","type":"boolean"}},"required":["age","arrest_at_home","shockable_rhythm","no_flow_min","low_flow_min","epinephrine_mg","arterial_ph"],"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},{"id":39271,"slug":"39271","resource":"https://api.magentlab.com/api/calc/cage","description":"Ewing 1984 CAGE questionnaire: four caller-assigned yes/no items (cut down, annoyed, guilty, eye-opener), 1 point each, max 4. Screen-positive when two or more answers are affirmative (score ≥2). Deterministic published score with citation; not a diagnosis of alcohol use disorder, not CIWA-Ar, and not AUDIT. magent does not interpret individual items.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"annoyed":false,"cut_down":false,"eye_opener":false,"guilty":false},{"annoyed":false,"cut_down":false,"eye_opener":false,"guilty":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ewing JA","doi":"10.1001/jama.1984.03350140051025","id":"ewing-1984","source":"JAMA. 1984;252(14):1905-1907","title":"Detecting alcoholism. The CAGE questionnaire"},"components":[{"factor":"cut_down","points":0,"present":false},{"factor":"annoyed","points":0,"present":false},{"factor":"guilty","points":0,"present":false},{"factor":"eye_opener","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":"cage","formula_expression":"CAGE = cut_down + annoyed + guilty + eye_opener; each 1 if true; max 4","max_score":4,"score":0,"screen_positive":false},{"citation":{"authors":"Ewing JA","doi":"10.1001/jama.1984.03350140051025","id":"ewing-1984","source":"JAMA. 1984;252(14):1905-1907","title":"Detecting alcoholism. The CAGE questionnaire"},"components":[{"factor":"cut_down","points":0,"present":false},{"factor":"annoyed","points":0,"present":false},{"factor":"guilty","points":0,"present":false},{"factor":"eye_opener","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":"cage","formula_expression":"CAGE = cut_down + annoyed + guilty + eye_opener; each 1 if true; max 4","max_score":4,"score":0,"screen_positive":false}],"path":"/api/calc/cage"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"annoyed":{"description":"Have people Annoyed you by criticizing your drinking? (Ewing 1984). true or false as assigned by the caller. magent does not interpret the item.","type":"boolean"},"cut_down":{"description":"Have you ever felt you should Cut down on your drinking? (Ewing 1984). true or false as assigned by the caller. magent does not interpret the item.","type":"boolean"},"eye_opener":{"description":"Have you ever had a drink first thing in the morning to steady your nerves or get rid of a hangover (Eye-opener)? (Ewing 1984). true or false as assigned by the caller. magent does not interpret the item.","type":"boolean"},"guilty":{"description":"Have you ever felt bad or Guilty about your drinking? (Ewing 1984). true or false as assigned by the caller. magent does not interpret the item.","type":"boolean"}},"required":["cut_down","annoyed","guilty","eye_opener"],"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":["cage","alcohol","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:50:56.136Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:50:56.014Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"annoyed":false,"cut_down":false,"eye_opener":false,"guilty":false},{"annoyed":false,"cut_down":false,"eye_opener":false,"guilty":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ewing JA","doi":"10.1001/jama.1984.03350140051025","id":"ewing-1984","source":"JAMA. 1984;252(14):1905-1907","title":"Detecting alcoholism. The CAGE questionnaire"},"components":[{"factor":"cut_down","points":0,"present":false},{"factor":"annoyed","points":0,"present":false},{"factor":"guilty","points":0,"present":false},{"factor":"eye_opener","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":"cage","formula_expression":"CAGE = cut_down + annoyed + guilty + eye_opener; each 1 if true; max 4","max_score":4,"score":0,"screen_positive":false},{"citation":{"authors":"Ewing JA","doi":"10.1001/jama.1984.03350140051025","id":"ewing-1984","source":"JAMA. 1984;252(14):1905-1907","title":"Detecting alcoholism. The CAGE questionnaire"},"components":[{"factor":"cut_down","points":0,"present":false},{"factor":"annoyed","points":0,"present":false},{"factor":"guilty","points":0,"present":false},{"factor":"eye_opener","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":"cage","formula_expression":"CAGE = cut_down + annoyed + guilty + eye_opener; each 1 if true; max 4","max_score":4,"score":0,"screen_positive":false}],"path":"/api/calc/cage"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"annoyed":{"description":"Have people Annoyed you by criticizing your drinking? (Ewing 1984). true or false as assigned by the caller. magent does not interpret the item.","type":"boolean"},"cut_down":{"description":"Have you ever felt you should Cut down on your drinking? (Ewing 1984). true or false as assigned by the caller. magent does not interpret the item.","type":"boolean"},"eye_opener":{"description":"Have you ever had a drink first thing in the morning to steady your nerves or get rid of a hangover (Eye-opener)? (Ewing 1984). true or false as assigned by the caller. magent does not interpret the item.","type":"boolean"},"guilty":{"description":"Have you ever felt bad or Guilty about your drinking? (Ewing 1984). true or false as assigned by the caller. magent does not interpret the item.","type":"boolean"}},"required":["cut_down","annoyed","guilty","eye_opener"],"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},{"id":39272,"slug":"39272","resource":"https://api.magentlab.com/api/calc/c_diva","description":"Bell 2023 C-DIVA from four caller-assigned 0-2 domains (visual appearance, palpable sites, history of difficult access, clinical factors) using that paper's Figure 1 0/1/2 descriptors. magent sums only (max 8) and returns Figure 1 bands low (0-3), medium (4-5), or high (6-8). magent does not examine veins or insert a catheter. Not a vascular-access order, not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"clinical_factors":0,"history_of_difficult_access":0,"palpable_sites":0,"visual_appearance":0},{"clinical_factors":0,"history_of_difficult_access":0,"palpable_sites":0,"visual_appearance":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"c_diva_band":"low","citation":{"authors":"Bell JA, Campos C, Moureau N","doi":"10.29011/2688-9501.101414","id":"bell-2023","source":"Int J Nurs Health Care Res. 2023;6:1414","title":"Validation and Reliability of the Comprehensive Difficult IV Access Scoring Tool"},"components":[{"factor":"visual_appearance","points":0,"present":true,"value":0},{"factor":"palpable_sites","points":0,"present":true,"value":0},{"factor":"history_of_difficult_access","points":0,"present":true,"value":0},{"factor":"clinical_factors","points":0,"present":true,"value":0}],"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":"c_diva","formula_expression":"C-DIVA = visual_appearance + palpable_sites + history_of_difficult_access + clinical_factors; each caller-assigned 0-2 (Bell 2023 Figure 1); max 8","max_score":8,"score":0},{"c_diva_band":"low","citation":{"authors":"Bell JA, Campos C, Moureau N","doi":"10.29011/2688-9501.101414","id":"bell-2023","source":"Int J Nurs Health Care Res. 2023;6:1414","title":"Validation and Reliability of the Comprehensive Difficult IV Access Scoring Tool"},"components":[{"factor":"visual_appearance","points":0,"present":true,"value":0},{"factor":"palpable_sites","points":0,"present":true,"value":0},{"factor":"history_of_difficult_access","points":0,"present":true,"value":0},{"factor":"clinical_factors","points":0,"present":true,"value":0}],"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":"c_diva","formula_expression":"C-DIVA = visual_appearance + palpable_sites + history_of_difficult_access + clinical_factors; each caller-assigned 0-2 (Bell 2023 Figure 1); max 8","max_score":8,"score":0}],"path":"/api/calc/c_diva"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"clinical_factors":{"description":"Caller-assigned Bell 2023 Figure 1 clinical factors (integer 0-2): 0 not applicable; 1 pediatric patients or urgent conditions (ESI 3-4); 2 comorbidities or emergency conditions (ESI 1-2). magent does not assign ESI or examine the patient.","type":"integer"},"history_of_difficult_access":{"description":"Caller-assigned Bell 2023 Figure 1 history of difficult access (integer 0-2): 0 no difficulty; 1 reported difficulty or recent missed attempts; 2 history of major difficulty as evidenced by previous central lines or PICCs. magent does not take a history.","type":"integer"},"palpable_sites":{"description":"Caller-assigned Bell 2023 Figure 1 palpable sites (integer 0-2): 0 many palpable veins; 1 few palpable veins; 2 no palpable veins. magent does not examine the patient.","type":"integer"},"visual_appearance":{"description":"Caller-assigned Bell 2023 Figure 1 visual appearance (integer 0-2): 0 many visible veins; 1 few visible veins; 2 no visible veins. magent does not examine the patient.","type":"integer"}},"required":["visual_appearance","palpable_sites","history_of_difficult_access","clinical_factors"],"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":["c-diva","diva","iv-access","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:50:55.425Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:50:55.295Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"clinical_factors":0,"history_of_difficult_access":0,"palpable_sites":0,"visual_appearance":0},{"clinical_factors":0,"history_of_difficult_access":0,"palpable_sites":0,"visual_appearance":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"c_diva_band":"low","citation":{"authors":"Bell JA, Campos C, Moureau N","doi":"10.29011/2688-9501.101414","id":"bell-2023","source":"Int J Nurs Health Care Res. 2023;6:1414","title":"Validation and Reliability of the Comprehensive Difficult IV Access Scoring Tool"},"components":[{"factor":"visual_appearance","points":0,"present":true,"value":0},{"factor":"palpable_sites","points":0,"present":true,"value":0},{"factor":"history_of_difficult_access","points":0,"present":true,"value":0},{"factor":"clinical_factors","points":0,"present":true,"value":0}],"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":"c_diva","formula_expression":"C-DIVA = visual_appearance + palpable_sites + history_of_difficult_access + clinical_factors; each caller-assigned 0-2 (Bell 2023 Figure 1); max 8","max_score":8,"score":0},{"c_diva_band":"low","citation":{"authors":"Bell JA, Campos C, Moureau N","doi":"10.29011/2688-9501.101414","id":"bell-2023","source":"Int J Nurs Health Care Res. 2023;6:1414","title":"Validation and Reliability of the Comprehensive Difficult IV Access Scoring Tool"},"components":[{"factor":"visual_appearance","points":0,"present":true,"value":0},{"factor":"palpable_sites","points":0,"present":true,"value":0},{"factor":"history_of_difficult_access","points":0,"present":true,"value":0},{"factor":"clinical_factors","points":0,"present":true,"value":0}],"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":"c_diva","formula_expression":"C-DIVA = visual_appearance + palpable_sites + history_of_difficult_access + clinical_factors; each caller-assigned 0-2 (Bell 2023 Figure 1); max 8","max_score":8,"score":0}],"path":"/api/calc/c_diva"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"clinical_factors":{"description":"Caller-assigned Bell 2023 Figure 1 clinical factors (integer 0-2): 0 not applicable; 1 pediatric patients or urgent conditions (ESI 3-4); 2 comorbidities or emergency conditions (ESI 1-2). magent does not assign ESI or examine the patient.","type":"integer"},"history_of_difficult_access":{"description":"Caller-assigned Bell 2023 Figure 1 history of difficult access (integer 0-2): 0 no difficulty; 1 reported difficulty or recent missed attempts; 2 history of major difficulty as evidenced by previous central lines or PICCs. magent does not take a history.","type":"integer"},"palpable_sites":{"description":"Caller-assigned Bell 2023 Figure 1 palpable sites (integer 0-2): 0 many palpable veins; 1 few palpable veins; 2 no palpable veins. magent does not examine the patient.","type":"integer"},"visual_appearance":{"description":"Caller-assigned Bell 2023 Figure 1 visual appearance (integer 0-2): 0 many visible veins; 1 few visible veins; 2 no visible veins. magent does not examine the patient.","type":"integer"}},"required":["visual_appearance","palpable_sites","history_of_difficult_access","clinical_factors"],"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},{"id":39273,"slug":"39273","resource":"https://api.magentlab.com/api/calc/bsa_mosteller","description":"Cited Mosteller body surface area. Agents must not invent BSA from model memory; pay per request with x402 USDC on Base. Deterministic published formula with citation. Not a treatment recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"height_cm":170,"height_in":67,"weight_kg":70,"weight_lb":154},{"height_cm":170,"height_in":67,"weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bsa_m2":1.8181,"citation":{"authors":"Mosteller RD","doi":"10.1056/NEJM198710223171717","id":"mosteller-1987","source":"N Engl J Med. 1987;317(17):1098","title":"Simplified calculation of body-surface area"},"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":"mosteller","formula_expression":"BSA_m2 = sqrt((height_cm * weight_kg) / 3600)","height_cm":170,"weight_kg":70},{"bsa_m2":1.8181,"citation":{"authors":"Mosteller RD","doi":"10.1056/NEJM198710223171717","id":"mosteller-1987","source":"N Engl J Med. 1987;317(17):1098","title":"Simplified calculation of body-surface area"},"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":"mosteller","formula_expression":"BSA_m2 = sqrt((height_cm * weight_kg) / 3600)","height_cm":170,"weight_kg":70}],"path":"/api/calc/bsa_mosteller"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":[],"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":["bsa","mosteller","oncology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:46:00.217Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:46:00.047Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"height_cm":170,"height_in":67,"weight_kg":70,"weight_lb":154},{"height_cm":170,"height_in":67,"weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bsa_m2":1.8181,"citation":{"authors":"Mosteller RD","doi":"10.1056/NEJM198710223171717","id":"mosteller-1987","source":"N Engl J Med. 1987;317(17):1098","title":"Simplified calculation of body-surface area"},"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":"mosteller","formula_expression":"BSA_m2 = sqrt((height_cm * weight_kg) / 3600)","height_cm":170,"weight_kg":70},{"bsa_m2":1.8181,"citation":{"authors":"Mosteller RD","doi":"10.1056/NEJM198710223171717","id":"mosteller-1987","source":"N Engl J Med. 1987;317(17):1098","title":"Simplified calculation of body-surface area"},"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":"mosteller","formula_expression":"BSA_m2 = sqrt((height_cm * weight_kg) / 3600)","height_cm":170,"weight_kg":70}],"path":"/api/calc/bsa_mosteller"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":[],"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},{"id":39274,"slug":"39274","resource":"https://api.magentlab.com/api/calc/brugada","description":"Brugada 1991 four-step algorithm for a regular tachycardia with a wide QRS complex. Caller assigns absence of an RS complex in all precordial leads, RS interval >100 ms in one precordial lead, AV dissociation, and VT morphology in V1–V2 and V6. Returns diagnosis vt or svt and the stopping step. magent does not interpret ECGs. Not Brugada syndrome, not Vereckei aVR, not RWPT, not Sgarbossa, and not a cardioversion order. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"av_dissociation":false,"morphology_vt":false,"no_rs_precordial":false,"rs_interval_gt_100":false},{"av_dissociation":false,"morphology_vt":false,"no_rs_precordial":false,"rs_interval_gt_100":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"av_dissociation":false,"citation":{"authors":"Brugada P, Brugada J, Mont L, Smeets J, Andries EW","doi":"10.1161/01.CIR.83.5.1649","id":"brugada-1991","pmid":"2022022","source":"Circulation. 1991;83(5):1649-1659","title":"A new approach to the differential diagnosis of a regular tachycardia with a wide QRS complex"},"criteria":[{"factor":"no_rs_precordial","met":false},{"factor":"rs_interval_gt_100","met":false},{"factor":"av_dissociation","met":false},{"factor":"morphology_vt","met":false}],"diagnosis":"svt","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":"brugada","formula_expression":"VT iff no_rs_precordial or else rs_interval_gt_100 or else av_dissociation or else morphology_vt (Brugada 1991; stop at first true); else SVT","morphology_vt":false,"no_rs_precordial":false,"rs_interval_gt_100":false,"stopped_at":"none"},{"av_dissociation":false,"citation":{"authors":"Brugada P, Brugada J, Mont L, Smeets J, Andries EW","doi":"10.1161/01.CIR.83.5.1649","id":"brugada-1991","pmid":"2022022","source":"Circulation. 1991;83(5):1649-1659","title":"A new approach to the differential diagnosis of a regular tachycardia with a wide QRS complex"},"criteria":[{"factor":"no_rs_precordial","met":false},{"factor":"rs_interval_gt_100","met":false},{"factor":"av_dissociation","met":false},{"factor":"morphology_vt","met":false}],"diagnosis":"svt","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":"brugada","formula_expression":"VT iff no_rs_precordial or else rs_interval_gt_100 or else av_dissociation or else morphology_vt (Brugada 1991; stop at first true); else SVT","morphology_vt":false,"no_rs_precordial":false,"rs_interval_gt_100":false,"stopped_at":"none"}],"path":"/api/calc/brugada"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"av_dissociation":{"description":"Step 3: atrioventricular dissociation (Brugada 1991). true or false as assigned by the caller. Evaluated only when steps 1 and 2 are false. magent does not interpret ECGs.","type":"boolean"},"morphology_vt":{"description":"Step 4: both V1–V2 and V6 morphology criteria for VT as in Brugada 1991. true or false as assigned by the caller. Evaluated only when steps 1–3 are false. magent does not interpret ECGs.","type":"boolean"},"no_rs_precordial":{"description":"Step 1: absence of an RS complex in all precordial leads (Brugada 1991). true or false as assigned by the caller. true diagnoses VT and stops the tree. magent does not interpret ECGs.","type":"boolean"},"rs_interval_gt_100":{"description":"Step 2: RS interval >100 ms in one precordial lead (Brugada 1991). true or false as assigned by the caller. Evaluated only when step 1 is false. magent does not measure the tracing.","type":"boolean"}},"required":["no_rs_precordial","rs_interval_gt_100","av_dissociation","morphology_vt"],"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":["brugada","ecg","vt","wide-qrs","tachycardia","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:45:59.014Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:45:58.753Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"av_dissociation":false,"morphology_vt":false,"no_rs_precordial":false,"rs_interval_gt_100":false},{"av_dissociation":false,"morphology_vt":false,"no_rs_precordial":false,"rs_interval_gt_100":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"av_dissociation":false,"citation":{"authors":"Brugada P, Brugada J, Mont L, Smeets J, Andries EW","doi":"10.1161/01.CIR.83.5.1649","id":"brugada-1991","pmid":"2022022","source":"Circulation. 1991;83(5):1649-1659","title":"A new approach to the differential diagnosis of a regular tachycardia with a wide QRS complex"},"criteria":[{"factor":"no_rs_precordial","met":false},{"factor":"rs_interval_gt_100","met":false},{"factor":"av_dissociation","met":false},{"factor":"morphology_vt","met":false}],"diagnosis":"svt","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":"brugada","formula_expression":"VT iff no_rs_precordial or else rs_interval_gt_100 or else av_dissociation or else morphology_vt (Brugada 1991; stop at first true); else SVT","morphology_vt":false,"no_rs_precordial":false,"rs_interval_gt_100":false,"stopped_at":"none"},{"av_dissociation":false,"citation":{"authors":"Brugada P, Brugada J, Mont L, Smeets J, Andries EW","doi":"10.1161/01.CIR.83.5.1649","id":"brugada-1991","pmid":"2022022","source":"Circulation. 1991;83(5):1649-1659","title":"A new approach to the differential diagnosis of a regular tachycardia with a wide QRS complex"},"criteria":[{"factor":"no_rs_precordial","met":false},{"factor":"rs_interval_gt_100","met":false},{"factor":"av_dissociation","met":false},{"factor":"morphology_vt","met":false}],"diagnosis":"svt","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":"brugada","formula_expression":"VT iff no_rs_precordial or else rs_interval_gt_100 or else av_dissociation or else morphology_vt (Brugada 1991; stop at first true); else SVT","morphology_vt":false,"no_rs_precordial":false,"rs_interval_gt_100":false,"stopped_at":"none"}],"path":"/api/calc/brugada"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"av_dissociation":{"description":"Step 3: atrioventricular dissociation (Brugada 1991). true or false as assigned by the caller. Evaluated only when steps 1 and 2 are false. magent does not interpret ECGs.","type":"boolean"},"morphology_vt":{"description":"Step 4: both V1–V2 and V6 morphology criteria for VT as in Brugada 1991. true or false as assigned by the caller. Evaluated only when steps 1–3 are false. magent does not interpret ECGs.","type":"boolean"},"no_rs_precordial":{"description":"Step 1: absence of an RS complex in all precordial leads (Brugada 1991). true or false as assigned by the caller. true diagnoses VT and stops the tree. magent does not interpret ECGs.","type":"boolean"},"rs_interval_gt_100":{"description":"Step 2: RS interval >100 ms in one precordial lead (Brugada 1991). true or false as assigned by the caller. Evaluated only when step 1 is false. magent does not measure the tracing.","type":"boolean"}},"required":["no_rs_precordial","rs_interval_gt_100","av_dissociation","morphology_vt"],"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},{"id":39275,"slug":"39275","resource":"https://api.magentlab.com/api/calc/brue_2","description":"Nama 2022 Supplemental Table 7 logistic probabilities of a serious underlying diagnosis and of event recurrence after a brief resolved unexplained event from age in days, similar-event history, abnormal medical history, prematurity, event clusters, color change, abnormal breathing, and tone change. Returns logits and percents from the unrounded logits. Not a medical device. No admission cutoff. magent does not examine the infant.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_medical_history":false,"abnormal_respiratory_pattern":false,"age_days":90,"color_change":false,"history_of_event_clusters":false,"history_of_similar_event":false,"prematurity":false,"tone_change":false},{"abnormal_medical_history":false,"abnormal_respiratory_pattern":false,"age_days":90,"color_change":false,"history_of_event_clusters":false,"history_of_similar_event":false,"prematurity":false,"tone_change":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abnormal_medical_history":false,"abnormal_respiratory_pattern":false,"age_days":90,"citation":{"authors":"Nama N, Hall M, Neuman M, et al.","doi":"10.1542/hpeds.2022-006637","id":"nama-2022","pmid":"35965279","source":"Hosp Pediatr. 2022;12(9):772-785","title":"Risk Prediction After a Brief Resolved Unexplained Event"},"color_change":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.","estimated_event_recurrence_percent":8.02,"estimated_serious_diagnosis_percent":2.86,"event_recurrence_logit":-2.44,"formula":"brue_2","formula_expression":"Ls = -3.75 + 0.56*history_of_similar_event + 0.65*abnormal_medical_history + 0.0025*age_days; Lr = -2.44 + 0.46*prematurity + 0.58*history_of_similar_event + 1.17*history_of_event_clusters + 0.36*color_change - 0.32*abnormal_respiratory_pattern - 0.31*tone_change (Nama 2022 Supplemental Table 7); estimated_serious_diagnosis_percent = 100 * exp(Ls) / (1 + exp(Ls)); estimated_event_recurrence_percent = 100 * exp(Lr) / (1 + exp(Lr))","history_of_event_clusters":false,"history_of_similar_event":false,"prematurity":false,"serious_diagnosis_logit":-3.525,"tone_change":false},{"abnormal_medical_history":false,"abnormal_respiratory_pattern":false,"age_days":90,"citation":{"authors":"Nama N, Hall M, Neuman M, et al.","doi":"10.1542/hpeds.2022-006637","id":"nama-2022","pmid":"35965279","source":"Hosp Pediatr. 2022;12(9):772-785","title":"Risk Prediction After a Brief Resolved Unexplained Event"},"color_change":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.","estimated_event_recurrence_percent":8.02,"estimated_serious_diagnosis_percent":2.86,"event_recurrence_logit":-2.44,"formula":"brue_2","formula_expression":"Ls = -3.75 + 0.56*history_of_similar_event + 0.65*abnormal_medical_history + 0.0025*age_days; Lr = -2.44 + 0.46*prematurity + 0.58*history_of_similar_event + 1.17*history_of_event_clusters + 0.36*color_change - 0.32*abnormal_respiratory_pattern - 0.31*tone_change (Nama 2022 Supplemental Table 7); estimated_serious_diagnosis_percent = 100 * exp(Ls) / (1 + exp(Ls)); estimated_event_recurrence_percent = 100 * exp(Lr) / (1 + exp(Lr))","history_of_event_clusters":false,"history_of_similar_event":false,"prematurity":false,"serious_diagnosis_logit":-3.525,"tone_change":false}],"path":"/api/calc/brue_2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_medical_history":{"description":"Abnormal medical history such as previous hospitalization or an underlying medical condition (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Serious-diagnosis +0.65. Recurrence model does not use this flag.","type":"boolean"},"abnormal_respiratory_pattern":{"description":"Abnormal respiratory pattern (absent, decreased, or irregular breathing) during the event (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence -0.32.","type":"boolean"},"age_days":{"description":"Age in days (0-364). Nama 2022 Supplemental Table 7 serious-diagnosis model: +0.0025 per day. Recurrence model does not use age. magent does not examine the infant.","type":"integer"},"color_change":{"description":"Color change (cyanosis or pallor) during the event (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence +0.36. magent does not examine the infant.","type":"boolean"},"history_of_event_clusters":{"description":"History of multiple events or event clusters before presentation (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence +1.17.","type":"boolean"},"history_of_similar_event":{"description":"History of a similar event before the index presentation (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Serious-diagnosis +0.56; recurrence +0.58. magent does not examine the infant.","type":"boolean"},"prematurity":{"description":"Prematurity as published: born <32 weeks, or born between 32 and 38 weeks and corrected to <45 weeks (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence +0.46.","type":"boolean"},"tone_change":{"description":"Marked change in tone (hypertonia or hypotonia) during the event (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence -0.31.","type":"boolean"}},"required":["age_days","history_of_similar_event","abnormal_medical_history","prematurity","history_of_event_clusters","color_change","abnormal_respiratory_pattern","tone_change"],"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":["brue-2","emergency","infant","nama-2022","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:45:58.041Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:45:57.916Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_medical_history":false,"abnormal_respiratory_pattern":false,"age_days":90,"color_change":false,"history_of_event_clusters":false,"history_of_similar_event":false,"prematurity":false,"tone_change":false},{"abnormal_medical_history":false,"abnormal_respiratory_pattern":false,"age_days":90,"color_change":false,"history_of_event_clusters":false,"history_of_similar_event":false,"prematurity":false,"tone_change":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abnormal_medical_history":false,"abnormal_respiratory_pattern":false,"age_days":90,"citation":{"authors":"Nama N, Hall M, Neuman M, et al.","doi":"10.1542/hpeds.2022-006637","id":"nama-2022","pmid":"35965279","source":"Hosp Pediatr. 2022;12(9):772-785","title":"Risk Prediction After a Brief Resolved Unexplained Event"},"color_change":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.","estimated_event_recurrence_percent":8.02,"estimated_serious_diagnosis_percent":2.86,"event_recurrence_logit":-2.44,"formula":"brue_2","formula_expression":"Ls = -3.75 + 0.56*history_of_similar_event + 0.65*abnormal_medical_history + 0.0025*age_days; Lr = -2.44 + 0.46*prematurity + 0.58*history_of_similar_event + 1.17*history_of_event_clusters + 0.36*color_change - 0.32*abnormal_respiratory_pattern - 0.31*tone_change (Nama 2022 Supplemental Table 7); estimated_serious_diagnosis_percent = 100 * exp(Ls) / (1 + exp(Ls)); estimated_event_recurrence_percent = 100 * exp(Lr) / (1 + exp(Lr))","history_of_event_clusters":false,"history_of_similar_event":false,"prematurity":false,"serious_diagnosis_logit":-3.525,"tone_change":false},{"abnormal_medical_history":false,"abnormal_respiratory_pattern":false,"age_days":90,"citation":{"authors":"Nama N, Hall M, Neuman M, et al.","doi":"10.1542/hpeds.2022-006637","id":"nama-2022","pmid":"35965279","source":"Hosp Pediatr. 2022;12(9):772-785","title":"Risk Prediction After a Brief Resolved Unexplained Event"},"color_change":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.","estimated_event_recurrence_percent":8.02,"estimated_serious_diagnosis_percent":2.86,"event_recurrence_logit":-2.44,"formula":"brue_2","formula_expression":"Ls = -3.75 + 0.56*history_of_similar_event + 0.65*abnormal_medical_history + 0.0025*age_days; Lr = -2.44 + 0.46*prematurity + 0.58*history_of_similar_event + 1.17*history_of_event_clusters + 0.36*color_change - 0.32*abnormal_respiratory_pattern - 0.31*tone_change (Nama 2022 Supplemental Table 7); estimated_serious_diagnosis_percent = 100 * exp(Ls) / (1 + exp(Ls)); estimated_event_recurrence_percent = 100 * exp(Lr) / (1 + exp(Lr))","history_of_event_clusters":false,"history_of_similar_event":false,"prematurity":false,"serious_diagnosis_logit":-3.525,"tone_change":false}],"path":"/api/calc/brue_2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_medical_history":{"description":"Abnormal medical history such as previous hospitalization or an underlying medical condition (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Serious-diagnosis +0.65. Recurrence model does not use this flag.","type":"boolean"},"abnormal_respiratory_pattern":{"description":"Abnormal respiratory pattern (absent, decreased, or irregular breathing) during the event (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence -0.32.","type":"boolean"},"age_days":{"description":"Age in days (0-364). Nama 2022 Supplemental Table 7 serious-diagnosis model: +0.0025 per day. Recurrence model does not use age. magent does not examine the infant.","type":"integer"},"color_change":{"description":"Color change (cyanosis or pallor) during the event (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence +0.36. magent does not examine the infant.","type":"boolean"},"history_of_event_clusters":{"description":"History of multiple events or event clusters before presentation (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence +1.17.","type":"boolean"},"history_of_similar_event":{"description":"History of a similar event before the index presentation (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Serious-diagnosis +0.56; recurrence +0.58. magent does not examine the infant.","type":"boolean"},"prematurity":{"description":"Prematurity as published: born <32 weeks, or born between 32 and 38 weeks and corrected to <45 weeks (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence +0.46.","type":"boolean"},"tone_change":{"description":"Marked change in tone (hypertonia or hypotonia) during the event (Nama 2022 Supplemental Table 7). true or false as assigned by the caller. Recurrence -0.31.","type":"boolean"}},"required":["age_days","history_of_similar_event","abnormal_medical_history","prematurity","history_of_event_clusters","color_change","abnormal_respiratory_pattern","tone_change"],"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},{"id":39276,"slug":"39276","resource":"https://api.magentlab.com/api/calc/brue","description":"BRUE (Tieder 2016 AAP). brue is true iff the infant is younger than 1 year, the episode was sudden, brief, and now resolved, no explanation remains after appropriate history and physical examination, and at least one of: cyanosis or pallor; absent, decreased, or irregular breathing; marked change in tone; altered level of responsiveness. feature_count is 0-4. Caller assigns seven flags. magent does not examine the infant. Not a diagnosis, not ALTE, not SIDS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"absent_decreased_irregular_breathing":false,"age_under_1_year":true,"altered_responsiveness":false,"cyanosis_or_pallor":true,"marked_tone_change":false,"sudden_brief_now_resolved":true,"unexplained_after_history_exam":true},{"absent_decreased_irregular_breathing":false,"age_under_1_year":true,"altered_responsiveness":false,"cyanosis_or_pallor":true,"marked_tone_change":false,"sudden_brief_now_resolved":true,"unexplained_after_history_exam":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"brue":true,"citation":{"authors":"Tieder JS, Bonkowsky JL, Etzel RA, et al; American Academy of Pediatrics Subcommittee on Apparent Life-Threatening Events","doi":"10.1542/peds.2016-0590","id":"tieder-2016","pmid":"27244835","source":"Pediatrics. 2016;137(5):e20160590","title":"Brief Resolved Unexplained Events (Formerly Apparent Life-Threatening Events) and Evaluation of Lower-Risk Infants"},"criteria":[{"factor":"age_under_1_year","met":true},{"factor":"sudden_brief_now_resolved","met":true},{"factor":"cyanosis_or_pallor","met":true},{"factor":"absent_decreased_irregular_breathing","met":false},{"factor":"marked_tone_change","met":false},{"factor":"altered_responsiveness","met":false},{"factor":"unexplained_after_history_exam","met":true},{"factor":"feature_count_ge_1","met":true,"value":1}],"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.","feature_count":1,"formula":"brue","formula_expression":"brue iff age_under_1_year and sudden_brief_now_resolved and unexplained_after_history_exam and feature_count >= 1; feature_count counts cyanosis_or_pallor, absent_decreased_irregular_breathing, marked_tone_change, and altered_responsiveness (Tieder 2016 AAP BRUE definition)"},{"brue":true,"citation":{"authors":"Tieder JS, Bonkowsky JL, Etzel RA, et al; American Academy of Pediatrics Subcommittee on Apparent Life-Threatening Events","doi":"10.1542/peds.2016-0590","id":"tieder-2016","pmid":"27244835","source":"Pediatrics. 2016;137(5):e20160590","title":"Brief Resolved Unexplained Events (Formerly Apparent Life-Threatening Events) and Evaluation of Lower-Risk Infants"},"criteria":[{"factor":"age_under_1_year","met":true},{"factor":"sudden_brief_now_resolved","met":true},{"factor":"cyanosis_or_pallor","met":true},{"factor":"absent_decreased_irregular_breathing","met":false},{"factor":"marked_tone_change","met":false},{"factor":"altered_responsiveness","met":false},{"factor":"unexplained_after_history_exam","met":true},{"factor":"feature_count_ge_1","met":true,"value":1}],"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.","feature_count":1,"formula":"brue","formula_expression":"brue iff age_under_1_year and sudden_brief_now_resolved and unexplained_after_history_exam and feature_count >= 1; feature_count counts cyanosis_or_pallor, absent_decreased_irregular_breathing, marked_tone_change, and altered_responsiveness (Tieder 2016 AAP BRUE definition)"}],"path":"/api/calc/brue"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"absent_decreased_irregular_breathing":{"description":"Absent, decreased, or irregular breathing during the episode (one of four event features; at least one required). true or false as assigned by the caller.","type":"boolean"},"age_under_1_year":{"description":"Infant younger than 1 year as assigned by the caller (Tieder 2016 BRUE definition). true or false. magent does not examine the infant or take an age in days.","type":"boolean"},"altered_responsiveness":{"description":"Altered level of responsiveness during the episode (one of four event features; at least one required). true or false as assigned by the caller.","type":"boolean"},"cyanosis_or_pallor":{"description":"Cyanosis or pallor during the episode (one of four event features; at least one required). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"marked_tone_change":{"description":"Marked change in tone (hyper- or hypotonia) during the episode (one of four event features; at least one required). true or false as assigned by the caller.","type":"boolean"},"sudden_brief_now_resolved":{"description":"Observer reports a sudden, brief, and now resolved episode as assigned by the caller. true or false. magent does not take a history.","type":"boolean"},"unexplained_after_history_exam":{"description":"No explanation remains after appropriate history and physical examination as assigned by the caller. true means unexplained and is required for BRUE. true or false. magent does not examine the infant.","type":"boolean"}},"required":["age_under_1_year","sudden_brief_now_resolved","cyanosis_or_pallor","absent_decreased_irregular_breathing","marked_tone_change","altered_responsiveness","unexplained_after_history_exam"],"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":["brue","emergency","pediatric","infant","alte","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:41:05.418Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:41:05.3Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"absent_decreased_irregular_breathing":false,"age_under_1_year":true,"altered_responsiveness":false,"cyanosis_or_pallor":true,"marked_tone_change":false,"sudden_brief_now_resolved":true,"unexplained_after_history_exam":true},{"absent_decreased_irregular_breathing":false,"age_under_1_year":true,"altered_responsiveness":false,"cyanosis_or_pallor":true,"marked_tone_change":false,"sudden_brief_now_resolved":true,"unexplained_after_history_exam":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"brue":true,"citation":{"authors":"Tieder JS, Bonkowsky JL, Etzel RA, et al; American Academy of Pediatrics Subcommittee on Apparent Life-Threatening Events","doi":"10.1542/peds.2016-0590","id":"tieder-2016","pmid":"27244835","source":"Pediatrics. 2016;137(5):e20160590","title":"Brief Resolved Unexplained Events (Formerly Apparent Life-Threatening Events) and Evaluation of Lower-Risk Infants"},"criteria":[{"factor":"age_under_1_year","met":true},{"factor":"sudden_brief_now_resolved","met":true},{"factor":"cyanosis_or_pallor","met":true},{"factor":"absent_decreased_irregular_breathing","met":false},{"factor":"marked_tone_change","met":false},{"factor":"altered_responsiveness","met":false},{"factor":"unexplained_after_history_exam","met":true},{"factor":"feature_count_ge_1","met":true,"value":1}],"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.","feature_count":1,"formula":"brue","formula_expression":"brue iff age_under_1_year and sudden_brief_now_resolved and unexplained_after_history_exam and feature_count >= 1; feature_count counts cyanosis_or_pallor, absent_decreased_irregular_breathing, marked_tone_change, and altered_responsiveness (Tieder 2016 AAP BRUE definition)"},{"brue":true,"citation":{"authors":"Tieder JS, Bonkowsky JL, Etzel RA, et al; American Academy of Pediatrics Subcommittee on Apparent Life-Threatening Events","doi":"10.1542/peds.2016-0590","id":"tieder-2016","pmid":"27244835","source":"Pediatrics. 2016;137(5):e20160590","title":"Brief Resolved Unexplained Events (Formerly Apparent Life-Threatening Events) and Evaluation of Lower-Risk Infants"},"criteria":[{"factor":"age_under_1_year","met":true},{"factor":"sudden_brief_now_resolved","met":true},{"factor":"cyanosis_or_pallor","met":true},{"factor":"absent_decreased_irregular_breathing","met":false},{"factor":"marked_tone_change","met":false},{"factor":"altered_responsiveness","met":false},{"factor":"unexplained_after_history_exam","met":true},{"factor":"feature_count_ge_1","met":true,"value":1}],"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.","feature_count":1,"formula":"brue","formula_expression":"brue iff age_under_1_year and sudden_brief_now_resolved and unexplained_after_history_exam and feature_count >= 1; feature_count counts cyanosis_or_pallor, absent_decreased_irregular_breathing, marked_tone_change, and altered_responsiveness (Tieder 2016 AAP BRUE definition)"}],"path":"/api/calc/brue"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"absent_decreased_irregular_breathing":{"description":"Absent, decreased, or irregular breathing during the episode (one of four event features; at least one required). true or false as assigned by the caller.","type":"boolean"},"age_under_1_year":{"description":"Infant younger than 1 year as assigned by the caller (Tieder 2016 BRUE definition). true or false. magent does not examine the infant or take an age in days.","type":"boolean"},"altered_responsiveness":{"description":"Altered level of responsiveness during the episode (one of four event features; at least one required). true or false as assigned by the caller.","type":"boolean"},"cyanosis_or_pallor":{"description":"Cyanosis or pallor during the episode (one of four event features; at least one required). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"marked_tone_change":{"description":"Marked change in tone (hyper- or hypotonia) during the episode (one of four event features; at least one required). true or false as assigned by the caller.","type":"boolean"},"sudden_brief_now_resolved":{"description":"Observer reports a sudden, brief, and now resolved episode as assigned by the caller. true or false. magent does not take a history.","type":"boolean"},"unexplained_after_history_exam":{"description":"No explanation remains after appropriate history and physical examination as assigned by the caller. true means unexplained and is required for BRUE. true or false. magent does not examine the infant.","type":"boolean"}},"required":["age_under_1_year","sudden_brief_now_resolved","cyanosis_or_pallor","absent_decreased_irregular_breathing","marked_tone_change","altered_responsiveness","unexplained_after_history_exam"],"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},{"id":39277,"slug":"39277","resource":"https://api.magentlab.com/api/calc/bristol_stool","description":"Lewis 1997 Bristol stool form scale: caller-assigned stool_type 1-7. Returns the assigned type and the published form wording (hard lumps like nuts through watery, entirely liquid). Stool form correlates with whole-gut transit time. magent does not inspect stool. Not a diagnosis, not constipation or diarrhea bands, and not a Rome IBS subtype.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"stool_type":4},{"stool_type":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lewis SJ, Heaton KW","doi":"10.3109/00365529709011203","id":"lewis-heaton-1997","pmid":"9299672","source":"Scand J Gastroenterol. 1997;32(9):920-924","title":"Stool form scale as a useful guide to intestinal transit time"},"components":[{"factor":"stool_type","points":4,"present":true}],"description":"Like a sausage or snake, smooth and soft","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":"bristol_stool","formula_expression":"stool_type = caller-assigned integer 1-7 (Lewis 1997 Bristol stool form scale); the tool echoes stool_type; stool form correlates with whole-gut transit time; no constipation or diarrhea bands","max_score":7,"score":4,"stool_type":4},{"citation":{"authors":"Lewis SJ, Heaton KW","doi":"10.3109/00365529709011203","id":"lewis-heaton-1997","pmid":"9299672","source":"Scand J Gastroenterol. 1997;32(9):920-924","title":"Stool form scale as a useful guide to intestinal transit time"},"components":[{"factor":"stool_type","points":4,"present":true}],"description":"Like a sausage or snake, smooth and soft","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":"bristol_stool","formula_expression":"stool_type = caller-assigned integer 1-7 (Lewis 1997 Bristol stool form scale); the tool echoes stool_type; stool form correlates with whole-gut transit time; no constipation or diarrhea bands","max_score":7,"score":4,"stool_type":4}],"path":"/api/calc/bristol_stool"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"stool_type":{"description":"Lewis 1997 Bristol stool form scale type 1-7 as assigned by the caller (1 separate hard lumps, like nuts; 2 sausage-shaped but lumpy; 3 like a sausage but with cracks on its surface; 4 like a sausage or snake, smooth and soft; 5 soft blobs with clear-cut edges; 6 fluffy pieces with ragged edges, a mushy stool; 7 watery, no solid pieces, entirely liquid). magent does not inspect stool.","type":"integer"}},"required":["stool_type"],"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":["bristol-stool","stool-form","gi","transit","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:41:03.464Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:41:03.303Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"stool_type":4},{"stool_type":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lewis SJ, Heaton KW","doi":"10.3109/00365529709011203","id":"lewis-heaton-1997","pmid":"9299672","source":"Scand J Gastroenterol. 1997;32(9):920-924","title":"Stool form scale as a useful guide to intestinal transit time"},"components":[{"factor":"stool_type","points":4,"present":true}],"description":"Like a sausage or snake, smooth and soft","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":"bristol_stool","formula_expression":"stool_type = caller-assigned integer 1-7 (Lewis 1997 Bristol stool form scale); the tool echoes stool_type; stool form correlates with whole-gut transit time; no constipation or diarrhea bands","max_score":7,"score":4,"stool_type":4},{"citation":{"authors":"Lewis SJ, Heaton KW","doi":"10.3109/00365529709011203","id":"lewis-heaton-1997","pmid":"9299672","source":"Scand J Gastroenterol. 1997;32(9):920-924","title":"Stool form scale as a useful guide to intestinal transit time"},"components":[{"factor":"stool_type","points":4,"present":true}],"description":"Like a sausage or snake, smooth and soft","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":"bristol_stool","formula_expression":"stool_type = caller-assigned integer 1-7 (Lewis 1997 Bristol stool form scale); the tool echoes stool_type; stool form correlates with whole-gut transit time; no constipation or diarrhea bands","max_score":7,"score":4,"stool_type":4}],"path":"/api/calc/bristol_stool"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"stool_type":{"description":"Lewis 1997 Bristol stool form scale type 1-7 as assigned by the caller (1 separate hard lumps, like nuts; 2 sausage-shaped but lumpy; 3 like a sausage but with cracks on its surface; 4 like a sausage or snake, smooth and soft; 5 soft blobs with clear-cut edges; 6 fluffy pieces with ragged edges, a mushy stool; 7 watery, no solid pieces, entirely liquid). magent does not inspect stool.","type":"integer"}},"required":["stool_type"],"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},{"id":39278,"slug":"39278","resource":"https://api.magentlab.com/api/calc/bri","description":"Body roundness index from height and waist (Thomas 2013). Models the body as an ellipse: e = sqrt(1 - (waist/(pi*height))^2), BRI = 364.2 - 365.5*e. Deterministic published formula with citation. Not a medical device, VAT measurement, or body-fat diagnosis; magent does not measure the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"height_cm":170,"height_in":67,"waist_cm":80},{"height_cm":170,"height_in":67,"waist_cm":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bri":2.82,"citation":{"authors":"Thomas DM, Bredlau C, Bosy-Westphal A, Mueller MJ, Shen W, Gallagher D, McDougall A, Peterson CM, Ravussin E, Heymsfield SB","doi":"10.1002/oby.20408","id":"thomas-2013","pmid":"23519954","source":"Obesity (Silver Spring). 2013;21(11):2264-2271","title":"Relationships between body roundness with body fat and visceral adipose tissue emerging from a new geometrical model"},"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":"bri","formula_expression":"BRI = 364.2 - 365.5 * sqrt(1 - (waist_cm / (pi * height_cm))^2)","height_cm":170,"waist_cm":80},{"bri":2.82,"citation":{"authors":"Thomas DM, Bredlau C, Bosy-Westphal A, Mueller MJ, Shen W, Gallagher D, McDougall A, Peterson CM, Ravussin E, Heymsfield SB","doi":"10.1002/oby.20408","id":"thomas-2013","pmid":"23519954","source":"Obesity (Silver Spring). 2013;21(11):2264-2271","title":"Relationships between body roundness with body fat and visceral adipose tissue emerging from a new geometrical model"},"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":"bri","formula_expression":"BRI = 364.2 - 365.5 * sqrt(1 - (waist_cm / (pi * height_cm))^2)","height_cm":170,"waist_cm":80}],"path":"/api/calc/bri"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"waist_cm":{"description":"Waist circumference in centimeters (40-200). Compared to height in cm after normalize.","type":"number"}},"required":["waist_cm"],"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":["bri","waist","ellipse","adiposity","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:41:01.543Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:41:01.341Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"height_cm":170,"height_in":67,"waist_cm":80},{"height_cm":170,"height_in":67,"waist_cm":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bri":2.82,"citation":{"authors":"Thomas DM, Bredlau C, Bosy-Westphal A, Mueller MJ, Shen W, Gallagher D, McDougall A, Peterson CM, Ravussin E, Heymsfield SB","doi":"10.1002/oby.20408","id":"thomas-2013","pmid":"23519954","source":"Obesity (Silver Spring). 2013;21(11):2264-2271","title":"Relationships between body roundness with body fat and visceral adipose tissue emerging from a new geometrical model"},"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":"bri","formula_expression":"BRI = 364.2 - 365.5 * sqrt(1 - (waist_cm / (pi * height_cm))^2)","height_cm":170,"waist_cm":80},{"bri":2.82,"citation":{"authors":"Thomas DM, Bredlau C, Bosy-Westphal A, Mueller MJ, Shen W, Gallagher D, McDougall A, Peterson CM, Ravussin E, Heymsfield SB","doi":"10.1002/oby.20408","id":"thomas-2013","pmid":"23519954","source":"Obesity (Silver Spring). 2013;21(11):2264-2271","title":"Relationships between body roundness with body fat and visceral adipose tissue emerging from a new geometrical model"},"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":"bri","formula_expression":"BRI = 364.2 - 365.5 * sqrt(1 - (waist_cm / (pi * height_cm))^2)","height_cm":170,"waist_cm":80}],"path":"/api/calc/bri"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"waist_cm":{"description":"Waist circumference in centimeters (40-200). Compared to height in cm after normalize.","type":"number"}},"required":["waist_cm"],"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},{"id":39279,"slug":"39279","resource":"https://api.magentlab.com/api/calc/brescia_covid","description":"Duca 2020 Brescia-COVID Respiratory Severity Scale testing-criteria count: four caller-assigned binaries (wheezing or inability to speak in full sentences at rest or with minimal effort; respiratory rate >22; PaO2 <65 mmHg or SpO2 <90%; significant worsening on chest radiograph). bcrss is the count of positives (0–4). magent does not examine the patient or read imaging. Not a COVID-19 diagnosis, ventilator order, or medical device. Not the 0–8 NIV/intubation/proning ladder.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"chest_radiograph_worsening":false,"pao2_lt_65_or_spo2_lt_90":false,"respiratory_rate_gt_22":false,"wheezing_or_unable_full_sentences":false},{"chest_radiograph_worsening":false,"pao2_lt_65_or_spo2_lt_90":false,"respiratory_rate_gt_22":false,"wheezing_or_unable_full_sentences":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bcrss":0,"citation":{"authors":"Duca A, Piva S, Focà E, Latronico N, Rizzi M","id":"duca-2020","pmid":"32297727","source":"Emerg Med Pract. 2020 Apr 16;22(5 Suppl):CD1-CD2","title":"Calculated Decisions: Brescia-COVID Respiratory Severity Scale (BCRSS)/Algorithm"},"criteria":[{"factor":"wheezing_or_unable_full_sentences","met":false},{"factor":"respiratory_rate_gt_22","met":false},{"factor":"pao2_lt_65_or_spo2_lt_90","met":false},{"factor":"chest_radiograph_worsening","met":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":"brescia_covid","formula_expression":"bcrss = wheezing_or_unable_full_sentences + respiratory_rate_gt_22 + pao2_lt_65_or_spo2_lt_90 + chest_radiograph_worsening; each 1 if true; Duca 2020 BCRSS testing criteria; max 4","max_score":4},{"bcrss":0,"citation":{"authors":"Duca A, Piva S, Focà E, Latronico N, Rizzi M","id":"duca-2020","pmid":"32297727","source":"Emerg Med Pract. 2020 Apr 16;22(5 Suppl):CD1-CD2","title":"Calculated Decisions: Brescia-COVID Respiratory Severity Scale (BCRSS)/Algorithm"},"criteria":[{"factor":"wheezing_or_unable_full_sentences","met":false},{"factor":"respiratory_rate_gt_22","met":false},{"factor":"pao2_lt_65_or_spo2_lt_90","met":false},{"factor":"chest_radiograph_worsening","met":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":"brescia_covid","formula_expression":"bcrss = wheezing_or_unable_full_sentences + respiratory_rate_gt_22 + pao2_lt_65_or_spo2_lt_90 + chest_radiograph_worsening; each 1 if true; Duca 2020 BCRSS testing criteria; max 4","max_score":4}],"path":"/api/calc/brescia_covid"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chest_radiograph_worsening":{"description":"Significant worsening on chest radiograph as assigned by the caller (Duca 2020 testing criterion 4). true or false. magent does not read imaging.","type":"boolean"},"pao2_lt_65_or_spo2_lt_90":{"description":"PaO2 <65 mmHg or SpO2 <90% as assigned by the caller (Duca 2020 testing criterion 3). true or false. magent does not measure SpO2 or PaO2.","type":"boolean"},"respiratory_rate_gt_22":{"description":"Respiratory rate >22 breaths/min as assigned by the caller (Duca 2020 testing criterion 2). true or false. magent does not count breaths.","type":"boolean"},"wheezing_or_unable_full_sentences":{"description":"Wheezing or inability to speak in full sentences while at rest or with minimal effort, as assigned by the caller (Duca 2020 testing criterion 1). true or false. magent does not examine the patient.","type":"boolean"}},"required":["wheezing_or_unable_full_sentences","respiratory_rate_gt_22","pao2_lt_65_or_spo2_lt_90","chest_radiograph_worsening"],"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":["brescia-covid","bcrss","respiratory","covid-19","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:36:30.45Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:36:29.495Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"chest_radiograph_worsening":false,"pao2_lt_65_or_spo2_lt_90":false,"respiratory_rate_gt_22":false,"wheezing_or_unable_full_sentences":false},{"chest_radiograph_worsening":false,"pao2_lt_65_or_spo2_lt_90":false,"respiratory_rate_gt_22":false,"wheezing_or_unable_full_sentences":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bcrss":0,"citation":{"authors":"Duca A, Piva S, Focà E, Latronico N, Rizzi M","id":"duca-2020","pmid":"32297727","source":"Emerg Med Pract. 2020 Apr 16;22(5 Suppl):CD1-CD2","title":"Calculated Decisions: Brescia-COVID Respiratory Severity Scale (BCRSS)/Algorithm"},"criteria":[{"factor":"wheezing_or_unable_full_sentences","met":false},{"factor":"respiratory_rate_gt_22","met":false},{"factor":"pao2_lt_65_or_spo2_lt_90","met":false},{"factor":"chest_radiograph_worsening","met":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":"brescia_covid","formula_expression":"bcrss = wheezing_or_unable_full_sentences + respiratory_rate_gt_22 + pao2_lt_65_or_spo2_lt_90 + chest_radiograph_worsening; each 1 if true; Duca 2020 BCRSS testing criteria; max 4","max_score":4},{"bcrss":0,"citation":{"authors":"Duca A, Piva S, Focà E, Latronico N, Rizzi M","id":"duca-2020","pmid":"32297727","source":"Emerg Med Pract. 2020 Apr 16;22(5 Suppl):CD1-CD2","title":"Calculated Decisions: Brescia-COVID Respiratory Severity Scale (BCRSS)/Algorithm"},"criteria":[{"factor":"wheezing_or_unable_full_sentences","met":false},{"factor":"respiratory_rate_gt_22","met":false},{"factor":"pao2_lt_65_or_spo2_lt_90","met":false},{"factor":"chest_radiograph_worsening","met":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":"brescia_covid","formula_expression":"bcrss = wheezing_or_unable_full_sentences + respiratory_rate_gt_22 + pao2_lt_65_or_spo2_lt_90 + chest_radiograph_worsening; each 1 if true; Duca 2020 BCRSS testing criteria; max 4","max_score":4}],"path":"/api/calc/brescia_covid"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chest_radiograph_worsening":{"description":"Significant worsening on chest radiograph as assigned by the caller (Duca 2020 testing criterion 4). true or false. magent does not read imaging.","type":"boolean"},"pao2_lt_65_or_spo2_lt_90":{"description":"PaO2 <65 mmHg or SpO2 <90% as assigned by the caller (Duca 2020 testing criterion 3). true or false. magent does not measure SpO2 or PaO2.","type":"boolean"},"respiratory_rate_gt_22":{"description":"Respiratory rate >22 breaths/min as assigned by the caller (Duca 2020 testing criterion 2). true or false. magent does not count breaths.","type":"boolean"},"wheezing_or_unable_full_sentences":{"description":"Wheezing or inability to speak in full sentences while at rest or with minimal effort, as assigned by the caller (Duca 2020 testing criterion 1). true or false. magent does not examine the patient.","type":"boolean"}},"required":["wheezing_or_unable_full_sentences","respiratory_rate_gt_22","pao2_lt_65_or_spo2_lt_90","chest_radiograph_worsening"],"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},{"id":39280,"slug":"39280","resource":"https://api.magentlab.com/api/calc/braden","description":"Bergstrom 1987 Braden Scale: six caller-assigned subscales — sensory_perception, moisture, activity, mobility, nutrition (each 1-4) and friction_shear (1-3). magent sums only (range 6-23; lower is higher pressure-sore risk) and returns at_risk true iff score ≤16, the only cutoff in that paper's predictive-validity studies. magent does not examine the patient. Not a medical device, not a diagnosis, and not a treatment plan.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"activity":1,"friction_shear":1,"mobility":1,"moisture":1,"nutrition":1,"sensory_perception":1},{"activity":1,"friction_shear":1,"mobility":1,"moisture":1,"nutrition":1,"sensory_perception":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"at_risk":true,"citation":{"authors":"Bergstrom N, Braden BJ, Laguzza A, Holman V","doi":"10.1097/00006199-198707000-00002","id":"bergstrom-1987","pmid":"3299278","source":"Nurs Res. 1987;36(4):205-210","title":"The Braden Scale for Predicting Pressure Sore Risk"},"components":[{"factor":"sensory_perception","points":1,"present":true,"value":1},{"factor":"moisture","points":1,"present":true,"value":1},{"factor":"activity","points":1,"present":true,"value":1},{"factor":"mobility","points":1,"present":true,"value":1},{"factor":"nutrition","points":1,"present":true,"value":1},{"factor":"friction_shear","points":1,"present":true,"value":1}],"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":"braden","formula_expression":"Braden = sensory_perception + moisture + activity + mobility + nutrition + friction_shear; Bergstrom 1987 caller-assigned points; 1-4 except friction_shear 1-3; range 6-23; at_risk iff score ≤ 16","max_score":23,"score":6},{"at_risk":true,"citation":{"authors":"Bergstrom N, Braden BJ, Laguzza A, Holman V","doi":"10.1097/00006199-198707000-00002","id":"bergstrom-1987","pmid":"3299278","source":"Nurs Res. 1987;36(4):205-210","title":"The Braden Scale for Predicting Pressure Sore Risk"},"components":[{"factor":"sensory_perception","points":1,"present":true,"value":1},{"factor":"moisture","points":1,"present":true,"value":1},{"factor":"activity","points":1,"present":true,"value":1},{"factor":"mobility","points":1,"present":true,"value":1},{"factor":"nutrition","points":1,"present":true,"value":1},{"factor":"friction_shear","points":1,"present":true,"value":1}],"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":"braden","formula_expression":"Braden = sensory_perception + moisture + activity + mobility + nutrition + friction_shear; Bergstrom 1987 caller-assigned points; 1-4 except friction_shear 1-3; range 6-23; at_risk iff score ≤ 16","max_score":23,"score":6}],"path":"/api/calc/braden"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity":{"description":"Caller-assigned Bergstrom 1987 Braden activity (integer 1-4): 1 bedfast; 2 chairfast; 3 walks occasionally; 4 walks frequently. magent does not examine the patient.","type":"integer"},"friction_shear":{"description":"Caller-assigned Bergstrom 1987 Braden friction and shear (integer 1-3 only): 1 problem; 2 potential problem; 3 no apparent problem. magent does not examine the patient.","type":"integer"},"mobility":{"description":"Caller-assigned Bergstrom 1987 Braden mobility (integer 1-4): 1 completely immobile; 2 very limited; 3 slightly limited; 4 no limitations. magent does not examine the patient.","type":"integer"},"moisture":{"description":"Caller-assigned Bergstrom 1987 Braden moisture (integer 1-4): 1 constantly moist; 2 very moist; 3 occasionally moist; 4 rarely moist. magent does not examine the patient.","type":"integer"},"nutrition":{"description":"Caller-assigned Bergstrom 1987 Braden nutrition (integer 1-4): 1 very poor; 2 probably inadequate; 3 adequate; 4 excellent. magent does not examine the patient.","type":"integer"},"sensory_perception":{"description":"Caller-assigned Bergstrom 1987 Braden sensory perception (integer 1-4): 1 completely limited; 2 very limited; 3 slightly limited; 4 no impairment. magent does not examine the patient.","type":"integer"}},"required":["sensory_perception","moisture","activity","mobility","nutrition","friction_shear"],"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":["braden","pressure-sore","emergency","screening","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:36:28.446Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:36:28.044Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"activity":1,"friction_shear":1,"mobility":1,"moisture":1,"nutrition":1,"sensory_perception":1},{"activity":1,"friction_shear":1,"mobility":1,"moisture":1,"nutrition":1,"sensory_perception":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"at_risk":true,"citation":{"authors":"Bergstrom N, Braden BJ, Laguzza A, Holman V","doi":"10.1097/00006199-198707000-00002","id":"bergstrom-1987","pmid":"3299278","source":"Nurs Res. 1987;36(4):205-210","title":"The Braden Scale for Predicting Pressure Sore Risk"},"components":[{"factor":"sensory_perception","points":1,"present":true,"value":1},{"factor":"moisture","points":1,"present":true,"value":1},{"factor":"activity","points":1,"present":true,"value":1},{"factor":"mobility","points":1,"present":true,"value":1},{"factor":"nutrition","points":1,"present":true,"value":1},{"factor":"friction_shear","points":1,"present":true,"value":1}],"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":"braden","formula_expression":"Braden = sensory_perception + moisture + activity + mobility + nutrition + friction_shear; Bergstrom 1987 caller-assigned points; 1-4 except friction_shear 1-3; range 6-23; at_risk iff score ≤ 16","max_score":23,"score":6},{"at_risk":true,"citation":{"authors":"Bergstrom N, Braden BJ, Laguzza A, Holman V","doi":"10.1097/00006199-198707000-00002","id":"bergstrom-1987","pmid":"3299278","source":"Nurs Res. 1987;36(4):205-210","title":"The Braden Scale for Predicting Pressure Sore Risk"},"components":[{"factor":"sensory_perception","points":1,"present":true,"value":1},{"factor":"moisture","points":1,"present":true,"value":1},{"factor":"activity","points":1,"present":true,"value":1},{"factor":"mobility","points":1,"present":true,"value":1},{"factor":"nutrition","points":1,"present":true,"value":1},{"factor":"friction_shear","points":1,"present":true,"value":1}],"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":"braden","formula_expression":"Braden = sensory_perception + moisture + activity + mobility + nutrition + friction_shear; Bergstrom 1987 caller-assigned points; 1-4 except friction_shear 1-3; range 6-23; at_risk iff score ≤ 16","max_score":23,"score":6}],"path":"/api/calc/braden"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity":{"description":"Caller-assigned Bergstrom 1987 Braden activity (integer 1-4): 1 bedfast; 2 chairfast; 3 walks occasionally; 4 walks frequently. magent does not examine the patient.","type":"integer"},"friction_shear":{"description":"Caller-assigned Bergstrom 1987 Braden friction and shear (integer 1-3 only): 1 problem; 2 potential problem; 3 no apparent problem. magent does not examine the patient.","type":"integer"},"mobility":{"description":"Caller-assigned Bergstrom 1987 Braden mobility (integer 1-4): 1 completely immobile; 2 very limited; 3 slightly limited; 4 no limitations. magent does not examine the patient.","type":"integer"},"moisture":{"description":"Caller-assigned Bergstrom 1987 Braden moisture (integer 1-4): 1 constantly moist; 2 very moist; 3 occasionally moist; 4 rarely moist. magent does not examine the patient.","type":"integer"},"nutrition":{"description":"Caller-assigned Bergstrom 1987 Braden nutrition (integer 1-4): 1 very poor; 2 probably inadequate; 3 adequate; 4 excellent. magent does not examine the patient.","type":"integer"},"sensory_perception":{"description":"Caller-assigned Bergstrom 1987 Braden sensory perception (integer 1-4): 1 completely limited; 2 very limited; 3 slightly limited; 4 no impairment. magent does not examine the patient.","type":"integer"}},"required":["sensory_perception","moisture","activity","mobility","nutrition","friction_shear"],"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},{"id":39281,"slug":"39281","resource":"https://api.magentlab.com/api/calc/bova","description":"Bova 2014 seven-point index for confirmed acute PE that is not hypotensive: SBP 90–100 mm Hg +2 (SBP 100 scores; 101 does not; SBP <90 rejected), elevated troponin +2 (caller-assigned lab cutoff; magent does not grade assays), RV dysfunction on echo or CT +2, heart rate ≥110 +1 (110 scores; 109 does not). Max 7. Returns bands 0-2 / 3-4 / >4 (stages I–III) without mortality percents. Not a medical device and not a thrombolysis order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"elevated_troponin":false,"heart_rate_bpm":80,"rv_dysfunction":false,"systolic_mm_hg":120},{"elevated_troponin":false,"heart_rate_bpm":80,"rv_dysfunction":false,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bova_band":"0-2","citation":{"authors":"Bova C, Sanchez O, Prandoni P, et al.","doi":"10.1183/09031936.00006114","id":"bova-2014","pmid":"24696111","source":"Eur Respir J. 2014;44(3):694-703","title":"Identification of intermediate-risk patients with acute symptomatic pulmonary embolism"},"components":[{"factor":"systolic_mm_hg_90_100","points":0,"present":false,"value":120},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"rv_dysfunction","points":0,"present":false},{"factor":"heart_rate_ge_110","points":0,"present":false,"value":80}],"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.","elevated_troponin":false,"formula":"bova","formula_expression":"BOVA = 2*(systolic_mm_hg in 90-100) + 2*elevated_troponin + 2*rv_dysfunction + 1*(heart_rate_bpm>=110); max 7; bands 0-2 / 3-4 / >4 (stages I / II / III)","heart_rate_bpm":80,"max_score":7,"rv_dysfunction":false,"score":0,"systolic_mm_hg":120},{"bova_band":"0-2","citation":{"authors":"Bova C, Sanchez O, Prandoni P, et al.","doi":"10.1183/09031936.00006114","id":"bova-2014","pmid":"24696111","source":"Eur Respir J. 2014;44(3):694-703","title":"Identification of intermediate-risk patients with acute symptomatic pulmonary embolism"},"components":[{"factor":"systolic_mm_hg_90_100","points":0,"present":false,"value":120},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"rv_dysfunction","points":0,"present":false},{"factor":"heart_rate_ge_110","points":0,"present":false,"value":80}],"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.","elevated_troponin":false,"formula":"bova","formula_expression":"BOVA = 2*(systolic_mm_hg in 90-100) + 2*elevated_troponin + 2*rv_dysfunction + 1*(heart_rate_bpm>=110); max 7; bands 0-2 / 3-4 / >4 (stages I / II / III)","heart_rate_bpm":80,"max_score":7,"rv_dysfunction":false,"score":0,"systolic_mm_hg":120}],"path":"/api/calc/bova"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"elevated_troponin":{"description":"Elevated cardiac troponin as assigned by the caller at the local lab cutoff (Bova 2014). true or false. 2 points if true. magent does not grade troponin ng/mL.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 1 when ≥110 (Bova 2014 Table 5). HR 110 scores; HR 109 does not.","type":"integer"},"rv_dysfunction":{"description":"Right-ventricular dysfunction on echocardiography or CT as assigned by the caller (Bova 2014). true or false. 2 points if true.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (90-250). Scores 2 when 90-100 inclusive (Bova 2014 Table 5). SBP 100 scores; SBP 101 does not. SBP <90 is rejected (normotensive PE cohort).","type":"number"}},"required":["systolic_mm_hg","elevated_troponin","rv_dysfunction","heart_rate_bpm"],"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":["bova","pe","vte","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:36:26.534Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:36:25.486Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"elevated_troponin":false,"heart_rate_bpm":80,"rv_dysfunction":false,"systolic_mm_hg":120},{"elevated_troponin":false,"heart_rate_bpm":80,"rv_dysfunction":false,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bova_band":"0-2","citation":{"authors":"Bova C, Sanchez O, Prandoni P, et al.","doi":"10.1183/09031936.00006114","id":"bova-2014","pmid":"24696111","source":"Eur Respir J. 2014;44(3):694-703","title":"Identification of intermediate-risk patients with acute symptomatic pulmonary embolism"},"components":[{"factor":"systolic_mm_hg_90_100","points":0,"present":false,"value":120},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"rv_dysfunction","points":0,"present":false},{"factor":"heart_rate_ge_110","points":0,"present":false,"value":80}],"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.","elevated_troponin":false,"formula":"bova","formula_expression":"BOVA = 2*(systolic_mm_hg in 90-100) + 2*elevated_troponin + 2*rv_dysfunction + 1*(heart_rate_bpm>=110); max 7; bands 0-2 / 3-4 / >4 (stages I / II / III)","heart_rate_bpm":80,"max_score":7,"rv_dysfunction":false,"score":0,"systolic_mm_hg":120},{"bova_band":"0-2","citation":{"authors":"Bova C, Sanchez O, Prandoni P, et al.","doi":"10.1183/09031936.00006114","id":"bova-2014","pmid":"24696111","source":"Eur Respir J. 2014;44(3):694-703","title":"Identification of intermediate-risk patients with acute symptomatic pulmonary embolism"},"components":[{"factor":"systolic_mm_hg_90_100","points":0,"present":false,"value":120},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"rv_dysfunction","points":0,"present":false},{"factor":"heart_rate_ge_110","points":0,"present":false,"value":80}],"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.","elevated_troponin":false,"formula":"bova","formula_expression":"BOVA = 2*(systolic_mm_hg in 90-100) + 2*elevated_troponin + 2*rv_dysfunction + 1*(heart_rate_bpm>=110); max 7; bands 0-2 / 3-4 / >4 (stages I / II / III)","heart_rate_bpm":80,"max_score":7,"rv_dysfunction":false,"score":0,"systolic_mm_hg":120}],"path":"/api/calc/bova"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"elevated_troponin":{"description":"Elevated cardiac troponin as assigned by the caller at the local lab cutoff (Bova 2014). true or false. 2 points if true. magent does not grade troponin ng/mL.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 1 when ≥110 (Bova 2014 Table 5). HR 110 scores; HR 109 does not.","type":"integer"},"rv_dysfunction":{"description":"Right-ventricular dysfunction on echocardiography or CT as assigned by the caller (Bova 2014). true or false. 2 points if true.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (90-250). Scores 2 when 90-100 inclusive (Bova 2014 Table 5). SBP 100 scores; SBP 101 does not. SBP <90 is rejected (normotensive PE cohort).","type":"number"}},"required":["systolic_mm_hg","elevated_troponin","rv_dysfunction","heart_rate_bpm"],"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},{"id":39282,"slug":"39282","resource":"https://api.magentlab.com/api/calc/boston_syncope","description":"Grossman 2007 Boston Syncope from eight caller-assigned flags: ACS signs/symptoms, conduction disease, worrisome cardiac history, valvular heart disease, family history of sudden death, persistent abnormal ED vitals, volume depletion, and primary CNS event. high_risk (Boston-positive) iff any is true; low_risk iff none. Adult (enrolled 18+). Not a disposition or admission order. magent does not examine the patient or interpret ECG/hematocrit. Not San Francisco Syncope, EGSYS, ROSE, or OESIL.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acs_signs_symptoms":false,"conduction_disease":false,"family_history_sudden_death":false,"persistent_abnormal_vitals":false,"primary_cns_event":false,"valvular_heart_disease":false,"volume_depletion":false,"worrisome_cardiac_history":false},{"acs_signs_symptoms":false,"conduction_disease":false,"family_history_sudden_death":false,"persistent_abnormal_vitals":false,"primary_cns_event":false,"valvular_heart_disease":false,"volume_depletion":false,"worrisome_cardiac_history":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Grossman SA, Fischer C, Lipsitz LA, et al.","doi":"10.1016/j.jemermed.2007.04.001","id":"grossman-2007","pmid":"17976548","source":"J Emerg Med. 2007;33(3):233-239","title":"Predicting adverse outcomes in syncope"},"criteria":[{"factor":"acs_signs_symptoms","met":false},{"factor":"conduction_disease","met":false},{"factor":"worrisome_cardiac_history","met":false},{"factor":"valvular_heart_disease","met":false},{"factor":"family_history_sudden_death","met":false},{"factor":"persistent_abnormal_vitals","met":false},{"factor":"volume_depletion","met":false},{"factor":"primary_cns_event","met":false},{"factor":"high_risk_any","met":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":"boston_syncope","formula_expression":"high_risk iff acs_signs_symptoms or conduction_disease or worrisome_cardiac_history or valvular_heart_disease or family_history_sudden_death or persistent_abnormal_vitals or volume_depletion or primary_cns_event; low_risk iff not high_risk (Grossman 2007 Boston Syncope; Boston-positive iff any of eight caller-assigned flags)","high_risk":false,"low_risk":true},{"citation":{"authors":"Grossman SA, Fischer C, Lipsitz LA, et al.","doi":"10.1016/j.jemermed.2007.04.001","id":"grossman-2007","pmid":"17976548","source":"J Emerg Med. 2007;33(3):233-239","title":"Predicting adverse outcomes in syncope"},"criteria":[{"factor":"acs_signs_symptoms","met":false},{"factor":"conduction_disease","met":false},{"factor":"worrisome_cardiac_history","met":false},{"factor":"valvular_heart_disease","met":false},{"factor":"family_history_sudden_death","met":false},{"factor":"persistent_abnormal_vitals","met":false},{"factor":"volume_depletion","met":false},{"factor":"primary_cns_event","met":false},{"factor":"high_risk_any","met":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":"boston_syncope","formula_expression":"high_risk iff acs_signs_symptoms or conduction_disease or worrisome_cardiac_history or valvular_heart_disease or family_history_sudden_death or persistent_abnormal_vitals or volume_depletion or primary_cns_event; low_risk iff not high_risk (Grossman 2007 Boston Syncope; Boston-positive iff any of eight caller-assigned flags)","high_risk":false,"low_risk":true}],"path":"/api/calc/boston_syncope"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acs_signs_symptoms":{"description":"Signs and symptoms of acute coronary syndrome as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not examine the patient.","type":"boolean"},"conduction_disease":{"description":"Signs of conduction disease as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not interpret an ECG.","type":"boolean"},"family_history_sudden_death":{"description":"Family history of sudden death as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not take a history.","type":"boolean"},"persistent_abnormal_vitals":{"description":"Persistent abnormal vital signs in the ED as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not measure vital signs.","type":"boolean"},"primary_cns_event":{"description":"Primary central nervous system event as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not interpret imaging.","type":"boolean"},"valvular_heart_disease":{"description":"Valvular heart disease by history or physical examination as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not examine the patient.","type":"boolean"},"volume_depletion":{"description":"Volume depletion (persistent dehydration, GI bleeding, or hematocrit <30) as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not assay hematocrit.","type":"boolean"},"worrisome_cardiac_history":{"description":"Worrisome cardiac history as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not take a history.","type":"boolean"}},"required":["acs_signs_symptoms","conduction_disease","worrisome_cardiac_history","valvular_heart_disease","family_history_sudden_death","persistent_abnormal_vitals","volume_depletion","primary_cns_event"],"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":["boston-syncope","syncope","emergency","grossman","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:31:45.89Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:31:45.742Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acs_signs_symptoms":false,"conduction_disease":false,"family_history_sudden_death":false,"persistent_abnormal_vitals":false,"primary_cns_event":false,"valvular_heart_disease":false,"volume_depletion":false,"worrisome_cardiac_history":false},{"acs_signs_symptoms":false,"conduction_disease":false,"family_history_sudden_death":false,"persistent_abnormal_vitals":false,"primary_cns_event":false,"valvular_heart_disease":false,"volume_depletion":false,"worrisome_cardiac_history":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Grossman SA, Fischer C, Lipsitz LA, et al.","doi":"10.1016/j.jemermed.2007.04.001","id":"grossman-2007","pmid":"17976548","source":"J Emerg Med. 2007;33(3):233-239","title":"Predicting adverse outcomes in syncope"},"criteria":[{"factor":"acs_signs_symptoms","met":false},{"factor":"conduction_disease","met":false},{"factor":"worrisome_cardiac_history","met":false},{"factor":"valvular_heart_disease","met":false},{"factor":"family_history_sudden_death","met":false},{"factor":"persistent_abnormal_vitals","met":false},{"factor":"volume_depletion","met":false},{"factor":"primary_cns_event","met":false},{"factor":"high_risk_any","met":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":"boston_syncope","formula_expression":"high_risk iff acs_signs_symptoms or conduction_disease or worrisome_cardiac_history or valvular_heart_disease or family_history_sudden_death or persistent_abnormal_vitals or volume_depletion or primary_cns_event; low_risk iff not high_risk (Grossman 2007 Boston Syncope; Boston-positive iff any of eight caller-assigned flags)","high_risk":false,"low_risk":true},{"citation":{"authors":"Grossman SA, Fischer C, Lipsitz LA, et al.","doi":"10.1016/j.jemermed.2007.04.001","id":"grossman-2007","pmid":"17976548","source":"J Emerg Med. 2007;33(3):233-239","title":"Predicting adverse outcomes in syncope"},"criteria":[{"factor":"acs_signs_symptoms","met":false},{"factor":"conduction_disease","met":false},{"factor":"worrisome_cardiac_history","met":false},{"factor":"valvular_heart_disease","met":false},{"factor":"family_history_sudden_death","met":false},{"factor":"persistent_abnormal_vitals","met":false},{"factor":"volume_depletion","met":false},{"factor":"primary_cns_event","met":false},{"factor":"high_risk_any","met":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":"boston_syncope","formula_expression":"high_risk iff acs_signs_symptoms or conduction_disease or worrisome_cardiac_history or valvular_heart_disease or family_history_sudden_death or persistent_abnormal_vitals or volume_depletion or primary_cns_event; low_risk iff not high_risk (Grossman 2007 Boston Syncope; Boston-positive iff any of eight caller-assigned flags)","high_risk":false,"low_risk":true}],"path":"/api/calc/boston_syncope"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acs_signs_symptoms":{"description":"Signs and symptoms of acute coronary syndrome as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not examine the patient.","type":"boolean"},"conduction_disease":{"description":"Signs of conduction disease as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not interpret an ECG.","type":"boolean"},"family_history_sudden_death":{"description":"Family history of sudden death as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not take a history.","type":"boolean"},"persistent_abnormal_vitals":{"description":"Persistent abnormal vital signs in the ED as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not measure vital signs.","type":"boolean"},"primary_cns_event":{"description":"Primary central nervous system event as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not interpret imaging.","type":"boolean"},"valvular_heart_disease":{"description":"Valvular heart disease by history or physical examination as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not examine the patient.","type":"boolean"},"volume_depletion":{"description":"Volume depletion (persistent dehydration, GI bleeding, or hematocrit <30) as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not assay hematocrit.","type":"boolean"},"worrisome_cardiac_history":{"description":"Worrisome cardiac history as assigned by the caller (Grossman 2007). true is a Boston-positive flag. magent does not take a history.","type":"boolean"}},"required":["acs_signs_symptoms","conduction_disease","worrisome_cardiac_history","valvular_heart_disease","family_history_sudden_death","persistent_abnormal_vitals","volume_depletion","primary_cns_event"],"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},{"id":39283,"slug":"39283","resource":"https://api.magentlab.com/api/calc/bmi","description":"Body-mass index from height and weight (Keys/Quetelet). Use for GLP-1 and bariatric prior-auth arithmetic. Deterministic published index with citation; not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"height_cm":170,"height_in":67,"weight_kg":70,"weight_lb":154},{"height_cm":170,"height_in":67,"weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmi":24.2,"citation":{"authors":"Keys A, Fidanza F, Karvonen MJ, Kimura N, Taylor HL","doi":"10.1016/0021-9681(72)90027-6","id":"keys-1972","source":"J Chronic Dis. 1972;25(6):329-343","title":"Indices of relative weight and obesity"},"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":"bmi","formula_expression":"BMI = weight_kg / (height_m ^ 2)","height_cm":170,"weight_kg":70,"who_adult_category":"normal"},{"bmi":24.2,"citation":{"authors":"Keys A, Fidanza F, Karvonen MJ, Kimura N, Taylor HL","doi":"10.1016/0021-9681(72)90027-6","id":"keys-1972","source":"J Chronic Dis. 1972;25(6):329-343","title":"Indices of relative weight and obesity"},"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":"bmi","formula_expression":"BMI = weight_kg / (height_m ^ 2)","height_cm":170,"weight_kg":70,"who_adult_category":"normal"}],"path":"/api/calc/bmi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":[],"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":["bmi","who","obesity","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:31:44.688Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:31:44.433Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"height_cm":170,"height_in":67,"weight_kg":70,"weight_lb":154},{"height_cm":170,"height_in":67,"weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmi":24.2,"citation":{"authors":"Keys A, Fidanza F, Karvonen MJ, Kimura N, Taylor HL","doi":"10.1016/0021-9681(72)90027-6","id":"keys-1972","source":"J Chronic Dis. 1972;25(6):329-343","title":"Indices of relative weight and obesity"},"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":"bmi","formula_expression":"BMI = weight_kg / (height_m ^ 2)","height_cm":170,"weight_kg":70,"who_adult_category":"normal"},{"bmi":24.2,"citation":{"authors":"Keys A, Fidanza F, Karvonen MJ, Kimura N, Taylor HL","doi":"10.1016/0021-9681(72)90027-6","id":"keys-1972","source":"J Chronic Dis. 1972;25(6):329-343","title":"Indices of relative weight and obesity"},"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":"bmi","formula_expression":"BMI = weight_kg / (height_m ^ 2)","height_cm":170,"weight_kg":70,"who_adult_category":"normal"}],"path":"/api/calc/bmi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":[],"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},{"id":39284,"slug":"39284","resource":"https://api.magentlab.com/api/calc/bli","description":"Pizov 1999 blast lung injury severity. Mild, moderate, or severe only when inputs match a published definition: mild PaO2/FiO2 > 200, localized infiltrates, no pneumothorax; moderate 60 to 200, diffuse infiltrates, with or without pneumothorax; severe < 60, bilateral infiltrates, and bronchopleural fistula. Unmatched combinations are rejected. Caller assigns all findings. magent does not read a chest radiograph or assay blood gas. Not a ventilator prescription.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bronchopleural_fistula":false,"infiltrates":"localized","pf_ratio":250,"pneumothorax":false},{"bronchopleural_fistula":false,"infiltrates":"localized","pf_ratio":250,"pneumothorax":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bronchopleural_fistula":false,"citation":{"authors":"Pizov R, Oppenheim-Eden A, Matot I, Weiss YG, Eidelman LA, Rivkind AI, Sprung CL","doi":"10.1378/chest.115.1.165","id":"pizov-1999","pmid":"9925079","source":"Chest. 1999;115(1):165-172","title":"Blast lung injury from an explosion on a civilian bus"},"components":[{"factor":"pf_ratio","met":true,"value":250},{"factor":"infiltrates","met":true,"value":"localized"},{"factor":"pneumothorax","met":false},{"factor":"bronchopleural_fistula","met":false},{"factor":"mild","met":true},{"factor":"moderate","met":false},{"factor":"severe","met":false}],"description":"PaO2/FiO2 > 200, localized lung infiltrates, no pneumothorax","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":"bli","formula_expression":"mild iff pf_ratio > 200 and infiltrates localized and no pneumothorax and no bronchopleural fistula; moderate iff 60 <= pf_ratio <= 200 and infiltrates diffuse and no bronchopleural fistula (pneumothorax optional); severe iff pf_ratio < 60 and infiltrates bilateral and bronchopleural fistula; unmatched combinations are invalid (Pizov 1999). Not a numeric point total","infiltrates":"localized","pf_ratio":250,"pneumothorax":false,"severity":"mild"},{"bronchopleural_fistula":false,"citation":{"authors":"Pizov R, Oppenheim-Eden A, Matot I, Weiss YG, Eidelman LA, Rivkind AI, Sprung CL","doi":"10.1378/chest.115.1.165","id":"pizov-1999","pmid":"9925079","source":"Chest. 1999;115(1):165-172","title":"Blast lung injury from an explosion on a civilian bus"},"components":[{"factor":"pf_ratio","met":true,"value":250},{"factor":"infiltrates","met":true,"value":"localized"},{"factor":"pneumothorax","met":false},{"factor":"bronchopleural_fistula","met":false},{"factor":"mild","met":true},{"factor":"moderate","met":false},{"factor":"severe","met":false}],"description":"PaO2/FiO2 > 200, localized lung infiltrates, no pneumothorax","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":"bli","formula_expression":"mild iff pf_ratio > 200 and infiltrates localized and no pneumothorax and no bronchopleural fistula; moderate iff 60 <= pf_ratio <= 200 and infiltrates diffuse and no bronchopleural fistula (pneumothorax optional); severe iff pf_ratio < 60 and infiltrates bilateral and bronchopleural fistula; unmatched combinations are invalid (Pizov 1999). Not a numeric point total","infiltrates":"localized","pf_ratio":250,"pneumothorax":false,"severity":"mild"}],"path":"/api/calc/bli"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bronchopleural_fistula":{"description":"true when the caller assigns bronchopleural fistula. Required true for severe; mild and moderate require false so the combination matches a Pizov 1999 definition exactly. magent does not read a chest radiograph.","type":"boolean"},"infiltrates":{"description":"Lung infiltrate pattern as assigned by the caller: localized (mild), diffuse (moderate; Pizov 1999 diffuse bilateral or unilateral), or bilateral (severe). magent does not read a chest radiograph.","type":"string"},"pf_ratio":{"description":"PaO2/FiO2 ratio in mm Hg (20-600). Pizov 1999 bands: >200 mild, 60 to 200 moderate, <60 severe. Caller-supplied; magent does not assay blood gas.","type":"number"},"pneumothorax":{"description":"true when the caller assigns pneumothorax. Mild requires false; moderate allows true or false; severe does not use this flag (Pizov 1999). magent does not read a chest radiograph.","type":"boolean"}},"required":["pf_ratio","infiltrates","pneumothorax","bronchopleural_fistula"],"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":["bli","blast-lung","respiratory","trauma","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:31:43.69Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:31:43.482Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bronchopleural_fistula":false,"infiltrates":"localized","pf_ratio":250,"pneumothorax":false},{"bronchopleural_fistula":false,"infiltrates":"localized","pf_ratio":250,"pneumothorax":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bronchopleural_fistula":false,"citation":{"authors":"Pizov R, Oppenheim-Eden A, Matot I, Weiss YG, Eidelman LA, Rivkind AI, Sprung CL","doi":"10.1378/chest.115.1.165","id":"pizov-1999","pmid":"9925079","source":"Chest. 1999;115(1):165-172","title":"Blast lung injury from an explosion on a civilian bus"},"components":[{"factor":"pf_ratio","met":true,"value":250},{"factor":"infiltrates","met":true,"value":"localized"},{"factor":"pneumothorax","met":false},{"factor":"bronchopleural_fistula","met":false},{"factor":"mild","met":true},{"factor":"moderate","met":false},{"factor":"severe","met":false}],"description":"PaO2/FiO2 > 200, localized lung infiltrates, no pneumothorax","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":"bli","formula_expression":"mild iff pf_ratio > 200 and infiltrates localized and no pneumothorax and no bronchopleural fistula; moderate iff 60 <= pf_ratio <= 200 and infiltrates diffuse and no bronchopleural fistula (pneumothorax optional); severe iff pf_ratio < 60 and infiltrates bilateral and bronchopleural fistula; unmatched combinations are invalid (Pizov 1999). Not a numeric point total","infiltrates":"localized","pf_ratio":250,"pneumothorax":false,"severity":"mild"},{"bronchopleural_fistula":false,"citation":{"authors":"Pizov R, Oppenheim-Eden A, Matot I, Weiss YG, Eidelman LA, Rivkind AI, Sprung CL","doi":"10.1378/chest.115.1.165","id":"pizov-1999","pmid":"9925079","source":"Chest. 1999;115(1):165-172","title":"Blast lung injury from an explosion on a civilian bus"},"components":[{"factor":"pf_ratio","met":true,"value":250},{"factor":"infiltrates","met":true,"value":"localized"},{"factor":"pneumothorax","met":false},{"factor":"bronchopleural_fistula","met":false},{"factor":"mild","met":true},{"factor":"moderate","met":false},{"factor":"severe","met":false}],"description":"PaO2/FiO2 > 200, localized lung infiltrates, no pneumothorax","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":"bli","formula_expression":"mild iff pf_ratio > 200 and infiltrates localized and no pneumothorax and no bronchopleural fistula; moderate iff 60 <= pf_ratio <= 200 and infiltrates diffuse and no bronchopleural fistula (pneumothorax optional); severe iff pf_ratio < 60 and infiltrates bilateral and bronchopleural fistula; unmatched combinations are invalid (Pizov 1999). Not a numeric point total","infiltrates":"localized","pf_ratio":250,"pneumothorax":false,"severity":"mild"}],"path":"/api/calc/bli"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bronchopleural_fistula":{"description":"true when the caller assigns bronchopleural fistula. Required true for severe; mild and moderate require false so the combination matches a Pizov 1999 definition exactly. magent does not read a chest radiograph.","type":"boolean"},"infiltrates":{"description":"Lung infiltrate pattern as assigned by the caller: localized (mild), diffuse (moderate; Pizov 1999 diffuse bilateral or unilateral), or bilateral (severe). magent does not read a chest radiograph.","type":"string"},"pf_ratio":{"description":"PaO2/FiO2 ratio in mm Hg (20-600). Pizov 1999 bands: >200 mild, 60 to 200 moderate, <60 severe. Caller-supplied; magent does not assay blood gas.","type":"number"},"pneumothorax":{"description":"true when the caller assigns pneumothorax. Mild requires false; moderate allows true or false; severe does not use this flag (Pizov 1999). magent does not read a chest radiograph.","type":"boolean"}},"required":["pf_ratio","infiltrates","pneumothorax","bronchopleural_fistula"],"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},{"id":39285,"slug":"39285","resource":"https://api.magentlab.com/api/calc/bisap","description":"Wu 2008 BISAP for early mortality prediction in acute pancreatitis: BUN >25 mg/dL, caller-assigned impaired mental status, caller-assigned SIRS, age >60, and caller-assigned pleural effusion; 1 point each, max 5. BUN 25.0 and age 60 do not score. Score only; no mortality percentages. Not a diagnosis. Not Ranson, APACHE II, or CTSI. magent does not recompute SIRS, assign mental status, or read imaging.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"bun_mg_dl":20,"impaired_mental_status":false,"pleural_effusion":false,"sirs":false},{"age":50,"bun_mg_dl":20,"impaired_mental_status":false,"pleural_effusion":false,"sirs":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"bun_mg_dl":20,"citation":{"authors":"Wu BU, Johannes RS, Sun X, Tabak Y, Conwell DL, Banks PA","doi":"10.1136/gut.2008.150862","id":"wu-2008","source":"Gut. 2008;57(12):1698-1703","title":"The early prediction of mortality in acute pancreatitis: a large population-based study"},"components":[{"factor":"bun_gt_25","points":0,"present":false,"value":20},{"factor":"impaired_mental_status","points":0,"present":false},{"factor":"sirs","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"pleural_effusion","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":"bisap","formula_expression":"BISAP = (bun_mg_dl>25) + impaired_mental_status + sirs + (age>60) + pleural_effusion; each 1 if present; max 5","max_score":5,"score":0},{"age_years":50,"bun_mg_dl":20,"citation":{"authors":"Wu BU, Johannes RS, Sun X, Tabak Y, Conwell DL, Banks PA","doi":"10.1136/gut.2008.150862","id":"wu-2008","source":"Gut. 2008;57(12):1698-1703","title":"The early prediction of mortality in acute pancreatitis: a large population-based study"},"components":[{"factor":"bun_gt_25","points":0,"present":false,"value":20},{"factor":"impaired_mental_status","points":0,"present":false},{"factor":"sirs","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"pleural_effusion","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":"bisap","formula_expression":"BISAP = (bun_mg_dl>25) + impaired_mental_status + sirs + (age>60) + pleural_effusion; each 1 if present; max 5","max_score":5,"score":0}],"path":"/api/calc/bisap"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Scores 1 when age >60; 60 does not score.","type":"integer"},"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-200). Scores 1 when >25; 25.0 does not score.","type":"number"},"impaired_mental_status":{"description":"Impaired mental status as assigned by the caller (paper: GCS <15). true or false. magent does not take GCS or assign mental status. 1 point if true.","type":"boolean"},"pleural_effusion":{"description":"Pleural effusion as assigned by the caller from imaging. true or false. magent does not read imaging. 1 point if true.","type":"boolean"},"sirs":{"description":"SIRS present as assigned by the caller. true or false. magent does not recompute Bone SIRS from vitals. 1 point if true.","type":"boolean"}},"required":["age","bun_mg_dl","impaired_mental_status","sirs","pleural_effusion"],"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":["bisap","pancreatitis","gi","score","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:26:27.821Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:26:27.713Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"bun_mg_dl":20,"impaired_mental_status":false,"pleural_effusion":false,"sirs":false},{"age":50,"bun_mg_dl":20,"impaired_mental_status":false,"pleural_effusion":false,"sirs":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"bun_mg_dl":20,"citation":{"authors":"Wu BU, Johannes RS, Sun X, Tabak Y, Conwell DL, Banks PA","doi":"10.1136/gut.2008.150862","id":"wu-2008","source":"Gut. 2008;57(12):1698-1703","title":"The early prediction of mortality in acute pancreatitis: a large population-based study"},"components":[{"factor":"bun_gt_25","points":0,"present":false,"value":20},{"factor":"impaired_mental_status","points":0,"present":false},{"factor":"sirs","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"pleural_effusion","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":"bisap","formula_expression":"BISAP = (bun_mg_dl>25) + impaired_mental_status + sirs + (age>60) + pleural_effusion; each 1 if present; max 5","max_score":5,"score":0},{"age_years":50,"bun_mg_dl":20,"citation":{"authors":"Wu BU, Johannes RS, Sun X, Tabak Y, Conwell DL, Banks PA","doi":"10.1136/gut.2008.150862","id":"wu-2008","source":"Gut. 2008;57(12):1698-1703","title":"The early prediction of mortality in acute pancreatitis: a large population-based study"},"components":[{"factor":"bun_gt_25","points":0,"present":false,"value":20},{"factor":"impaired_mental_status","points":0,"present":false},{"factor":"sirs","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"pleural_effusion","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":"bisap","formula_expression":"BISAP = (bun_mg_dl>25) + impaired_mental_status + sirs + (age>60) + pleural_effusion; each 1 if present; max 5","max_score":5,"score":0}],"path":"/api/calc/bisap"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Scores 1 when age >60; 60 does not score.","type":"integer"},"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-200). Scores 1 when >25; 25.0 does not score.","type":"number"},"impaired_mental_status":{"description":"Impaired mental status as assigned by the caller (paper: GCS <15). true or false. magent does not take GCS or assign mental status. 1 point if true.","type":"boolean"},"pleural_effusion":{"description":"Pleural effusion as assigned by the caller from imaging. true or false. magent does not read imaging. 1 point if true.","type":"boolean"},"sirs":{"description":"SIRS present as assigned by the caller. true or false. magent does not recompute Bone SIRS from vitals. 1 point if true.","type":"boolean"}},"required":["age","bun_mg_dl","impaired_mental_status","sirs","pleural_effusion"],"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},{"id":39286,"slug":"39286","resource":"https://api.magentlab.com/api/calc/berlin_ards","description":"Berlin Definition of ARDS (Ranieri 2012). berlin_ards iff clinical box (onset within 1 week, bilateral opacities not fully explained, origin not fully HF or fluid) and severity mild, moderate, or severe. Severe: PF<=100 with PEEP>=5. Moderate: 100<PF<=200 with PEEP>=5. Mild: 200<PF<=300 with PEEP or CPAP>=5. Caller assigns flags and pf_ratio. magent does not read radiographs or echo, diagnose ARDS, or set ventilator mode. Not AECC 1994, not Kigali, not the oxygenation index.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bilateral_opacities_not_fully_explained":true,"cpap_ge_5":false,"onset_within_1_week":true,"origin_not_fully_hf_or_fluid":true,"peep_ge_5":true,"pf_ratio":90},{"bilateral_opacities_not_fully_explained":true,"cpap_ge_5":false,"onset_within_1_week":true,"origin_not_fully_hf_or_fluid":true,"peep_ge_5":true,"pf_ratio":90}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"berlin_ards":true,"citation":{"authors":"The ARDS Definition Task Force; Ranieri VM, Rubenfeld GD, Thompson BT, Ferguson ND, Caldwell E, Fan E, Camporota L, Slutsky AS","doi":"10.1001/jama.2012.5669","id":"ranieri-2012","pmid":"22797452","source":"JAMA. 2012;307(23):2526-2533","title":"Acute respiratory distress syndrome: the Berlin Definition"},"clinical_box":true,"criteria":[{"factor":"onset_within_1_week","met":true},{"factor":"bilateral_opacities_not_fully_explained","met":true},{"factor":"origin_not_fully_hf_or_fluid","met":true},{"factor":"clinical_box","met":true},{"factor":"peep_ge_5","met":true},{"factor":"cpap_ge_5","met":false},{"factor":"severe","met":true,"value":90},{"factor":"moderate","met":false,"value":90},{"factor":"mild","met":false,"value":90}],"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":"berlin_ards","formula_expression":"clinical_box iff onset_within_1_week and bilateral_opacities_not_fully_explained and origin_not_fully_hf_or_fluid; severe iff clinical_box and pf_ratio <= 100 and peep_ge_5; moderate iff clinical_box and 100 < pf_ratio <= 200 and peep_ge_5; mild iff clinical_box and 200 < pf_ratio <= 300 and (peep_ge_5 or cpap_ge_5); berlin_ards iff severity is mild, moderate, or severe; else none (Ranieri 2012 Berlin Definition)","pf_ratio":90,"severity":"severe"},{"berlin_ards":true,"citation":{"authors":"The ARDS Definition Task Force; Ranieri VM, Rubenfeld GD, Thompson BT, Ferguson ND, Caldwell E, Fan E, Camporota L, Slutsky AS","doi":"10.1001/jama.2012.5669","id":"ranieri-2012","pmid":"22797452","source":"JAMA. 2012;307(23):2526-2533","title":"Acute respiratory distress syndrome: the Berlin Definition"},"clinical_box":true,"criteria":[{"factor":"onset_within_1_week","met":true},{"factor":"bilateral_opacities_not_fully_explained","met":true},{"factor":"origin_not_fully_hf_or_fluid","met":true},{"factor":"clinical_box","met":true},{"factor":"peep_ge_5","met":true},{"factor":"cpap_ge_5","met":false},{"factor":"severe","met":true,"value":90},{"factor":"moderate","met":false,"value":90},{"factor":"mild","met":false,"value":90}],"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":"berlin_ards","formula_expression":"clinical_box iff onset_within_1_week and bilateral_opacities_not_fully_explained and origin_not_fully_hf_or_fluid; severe iff clinical_box and pf_ratio <= 100 and peep_ge_5; moderate iff clinical_box and 100 < pf_ratio <= 200 and peep_ge_5; mild iff clinical_box and 200 < pf_ratio <= 300 and (peep_ge_5 or cpap_ge_5); berlin_ards iff severity is mild, moderate, or severe; else none (Ranieri 2012 Berlin Definition)","pf_ratio":90,"severity":"severe"}],"path":"/api/calc/berlin_ards"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilateral_opacities_not_fully_explained":{"description":"Bilateral opacities not fully explained by effusions, lobar/lung collapse, or nodules (Ranieri 2012). true or false as assigned by the caller. magent does not read radiographs.","type":"boolean"},"cpap_ge_5":{"description":"CPAP >= 5 cm H2O as assigned by the caller (counts for mild only; CPAP without PEEP is not moderate or severe). magent does not set ventilator mode.","type":"boolean"},"onset_within_1_week":{"description":"Onset within 1 week of a known clinical insult or new or worsening respiratory symptoms (Ranieri 2012). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"origin_not_fully_hf_or_fluid":{"description":"Respiratory failure not fully explained by cardiac failure or fluid overload (Ranieri 2012). true or false as assigned by the caller. magent does not read echocardiography.","type":"boolean"},"peep_ge_5":{"description":"PEEP >= 5 cm H2O as assigned by the caller (required for moderate and severe; either PEEP or CPAP for mild). magent does not set ventilator mode.","type":"boolean"},"pf_ratio":{"description":"PaO2/FiO2 ratio in mm Hg (20-800). Caller-supplied; magent does not recompute from PaO2 and FiO2.","type":"number"}},"required":["onset_within_1_week","bilateral_opacities_not_fully_explained","origin_not_fully_hf_or_fluid","peep_ge_5","cpap_ge_5","pf_ratio"],"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":["berlin-ards","ards","respiratory","oxygenation","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:26:26.421Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:26:26.304Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bilateral_opacities_not_fully_explained":true,"cpap_ge_5":false,"onset_within_1_week":true,"origin_not_fully_hf_or_fluid":true,"peep_ge_5":true,"pf_ratio":90},{"bilateral_opacities_not_fully_explained":true,"cpap_ge_5":false,"onset_within_1_week":true,"origin_not_fully_hf_or_fluid":true,"peep_ge_5":true,"pf_ratio":90}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"berlin_ards":true,"citation":{"authors":"The ARDS Definition Task Force; Ranieri VM, Rubenfeld GD, Thompson BT, Ferguson ND, Caldwell E, Fan E, Camporota L, Slutsky AS","doi":"10.1001/jama.2012.5669","id":"ranieri-2012","pmid":"22797452","source":"JAMA. 2012;307(23):2526-2533","title":"Acute respiratory distress syndrome: the Berlin Definition"},"clinical_box":true,"criteria":[{"factor":"onset_within_1_week","met":true},{"factor":"bilateral_opacities_not_fully_explained","met":true},{"factor":"origin_not_fully_hf_or_fluid","met":true},{"factor":"clinical_box","met":true},{"factor":"peep_ge_5","met":true},{"factor":"cpap_ge_5","met":false},{"factor":"severe","met":true,"value":90},{"factor":"moderate","met":false,"value":90},{"factor":"mild","met":false,"value":90}],"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":"berlin_ards","formula_expression":"clinical_box iff onset_within_1_week and bilateral_opacities_not_fully_explained and origin_not_fully_hf_or_fluid; severe iff clinical_box and pf_ratio <= 100 and peep_ge_5; moderate iff clinical_box and 100 < pf_ratio <= 200 and peep_ge_5; mild iff clinical_box and 200 < pf_ratio <= 300 and (peep_ge_5 or cpap_ge_5); berlin_ards iff severity is mild, moderate, or severe; else none (Ranieri 2012 Berlin Definition)","pf_ratio":90,"severity":"severe"},{"berlin_ards":true,"citation":{"authors":"The ARDS Definition Task Force; Ranieri VM, Rubenfeld GD, Thompson BT, Ferguson ND, Caldwell E, Fan E, Camporota L, Slutsky AS","doi":"10.1001/jama.2012.5669","id":"ranieri-2012","pmid":"22797452","source":"JAMA. 2012;307(23):2526-2533","title":"Acute respiratory distress syndrome: the Berlin Definition"},"clinical_box":true,"criteria":[{"factor":"onset_within_1_week","met":true},{"factor":"bilateral_opacities_not_fully_explained","met":true},{"factor":"origin_not_fully_hf_or_fluid","met":true},{"factor":"clinical_box","met":true},{"factor":"peep_ge_5","met":true},{"factor":"cpap_ge_5","met":false},{"factor":"severe","met":true,"value":90},{"factor":"moderate","met":false,"value":90},{"factor":"mild","met":false,"value":90}],"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":"berlin_ards","formula_expression":"clinical_box iff onset_within_1_week and bilateral_opacities_not_fully_explained and origin_not_fully_hf_or_fluid; severe iff clinical_box and pf_ratio <= 100 and peep_ge_5; moderate iff clinical_box and 100 < pf_ratio <= 200 and peep_ge_5; mild iff clinical_box and 200 < pf_ratio <= 300 and (peep_ge_5 or cpap_ge_5); berlin_ards iff severity is mild, moderate, or severe; else none (Ranieri 2012 Berlin Definition)","pf_ratio":90,"severity":"severe"}],"path":"/api/calc/berlin_ards"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilateral_opacities_not_fully_explained":{"description":"Bilateral opacities not fully explained by effusions, lobar/lung collapse, or nodules (Ranieri 2012). true or false as assigned by the caller. magent does not read radiographs.","type":"boolean"},"cpap_ge_5":{"description":"CPAP >= 5 cm H2O as assigned by the caller (counts for mild only; CPAP without PEEP is not moderate or severe). magent does not set ventilator mode.","type":"boolean"},"onset_within_1_week":{"description":"Onset within 1 week of a known clinical insult or new or worsening respiratory symptoms (Ranieri 2012). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"origin_not_fully_hf_or_fluid":{"description":"Respiratory failure not fully explained by cardiac failure or fluid overload (Ranieri 2012). true or false as assigned by the caller. magent does not read echocardiography.","type":"boolean"},"peep_ge_5":{"description":"PEEP >= 5 cm H2O as assigned by the caller (required for moderate and severe; either PEEP or CPAP for mild). magent does not set ventilator mode.","type":"boolean"},"pf_ratio":{"description":"PaO2/FiO2 ratio in mm Hg (20-800). Caller-supplied; magent does not recompute from PaO2 and FiO2.","type":"number"}},"required":["onset_within_1_week","bilateral_opacities_not_fully_explained","origin_not_fully_hf_or_fluid","peep_ge_5","cpap_ge_5","pf_ratio"],"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},{"id":39287,"slug":"39287","resource":"https://api.magentlab.com/api/calc/bee_harris_benedict","description":"Harris–Benedict 1919 basal energy expenditure (kcal/day) from height, weight, age, and sex. Deterministic published formula with citation; not a nutrition prescription.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":25,"height_cm":175,"height_in":70,"sex":"male","weight_kg":70,"weight_lb":154},{"age":25,"height_cm":175,"height_in":70,"sex":"male","weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":25,"bee_kcal_day":1735.8,"citation":{"authors":"Harris JA, Benedict FG","doi":null,"id":"harris-benedict-1919","source":"Carnegie Institution of Washington Publication No. 279; 1919","title":"A Biometric Study of Basal Metabolism in Man"},"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":"harris_benedict_1919","formula_expression":"BEE_kcal_day = 66.4730 + 13.7516*kg + 5.0033*cm - 6.7550*age (male); BEE_kcal_day = 655.0955 + 9.5634*kg + 1.8496*cm - 4.6756*age (female)","height_cm":175,"sex":"male","units":"kcal/day","weight_kg":70},{"age_years":25,"bee_kcal_day":1735.8,"citation":{"authors":"Harris JA, Benedict FG","doi":null,"id":"harris-benedict-1919","source":"Carnegie Institution of Washington Publication No. 279; 1919","title":"A Biometric Study of Basal Metabolism in Man"},"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":"harris_benedict_1919","formula_expression":"BEE_kcal_day = 66.4730 + 13.7516*kg + 5.0033*cm - 6.7550*age (male); BEE_kcal_day = 655.0955 + 9.5634*kg + 1.8496*cm - 4.6756*age (female)","height_cm":175,"sex":"male","units":"kcal/day","weight_kg":70}],"path":"/api/calc/bee_harris_benedict"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"sex":{"description":"Sex used by Harris–Benedict 1919 (separate male and female equations).","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["age","sex"],"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":["bee","harris-benedict","bmr","kcal","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:26:24.993Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:26:24.86Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":25,"height_cm":175,"height_in":70,"sex":"male","weight_kg":70,"weight_lb":154},{"age":25,"height_cm":175,"height_in":70,"sex":"male","weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":25,"bee_kcal_day":1735.8,"citation":{"authors":"Harris JA, Benedict FG","doi":null,"id":"harris-benedict-1919","source":"Carnegie Institution of Washington Publication No. 279; 1919","title":"A Biometric Study of Basal Metabolism in Man"},"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":"harris_benedict_1919","formula_expression":"BEE_kcal_day = 66.4730 + 13.7516*kg + 5.0033*cm - 6.7550*age (male); BEE_kcal_day = 655.0955 + 9.5634*kg + 1.8496*cm - 4.6756*age (female)","height_cm":175,"sex":"male","units":"kcal/day","weight_kg":70},{"age_years":25,"bee_kcal_day":1735.8,"citation":{"authors":"Harris JA, Benedict FG","doi":null,"id":"harris-benedict-1919","source":"Carnegie Institution of Washington Publication No. 279; 1919","title":"A Biometric Study of Basal Metabolism in Man"},"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":"harris_benedict_1919","formula_expression":"BEE_kcal_day = 66.4730 + 13.7516*kg + 5.0033*cm - 6.7550*age (male); BEE_kcal_day = 655.0955 + 9.5634*kg + 1.8496*cm - 4.6756*age (female)","height_cm":175,"sex":"male","units":"kcal/day","weight_kg":70}],"path":"/api/calc/bee_harris_benedict"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"height_cm":{"description":"Height in centimeters. Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches. Converted as cm = in * 2.54.","type":"number"},"sex":{"description":"Sex used by Harris–Benedict 1919 (separate male and female equations).","enum":["female","male"],"type":"string"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["age","sex"],"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},{"id":39288,"slug":"39288","resource":"https://api.magentlab.com/api/calc/bclc","description":"Reig 2022 BCLC stage 0/A/B/C/D from caller-assigned cancer-related ECOG, preserved liver function, transplant option, vascular invasion, extrahepatic disease, tumor count, and largest diameter. Returns stage and expected median survival only. Not a treatment recommendation. magent does not assign ECOG, compute Child-Pugh, or interpret imaging. Not a medical device. Not Milan or UCSF listing.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ecog":0,"extrahepatic":false,"largest_cm":1.5,"preserved_liver_function":true,"transplant_option":false,"tumor_count":1,"vascular_invasion":false},{"ecog":0,"extrahepatic":false,"largest_cm":1.5,"preserved_liver_function":true,"transplant_option":false,"tumor_count":1,"vascular_invasion":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bclc_stage":"0","citation":{"authors":"Reig M, Forner A, Rimola J, Ferrer-Fàbrega J, Burrel M, Garcia-Criado Á, Kelley RK, Galle PR, Mazzaferro V, Salem R, Sangro B, Singal AG, Vogel A, Fuster J, Ayuso C, Bruix J","doi":"10.1016/j.jhep.2021.11.018","id":"reig-2022","pmid":"34801630","source":"J Hepatol. 2022;76(3):681-693","title":"BCLC strategy for prognosis prediction and treatment recommendation: The 2022 update"},"criteria":[{"factor":"ps_gt_2","met":false},{"factor":"impaired_liver_without_lt","met":false},{"factor":"preserved_liver_function","met":true},{"factor":"vascular_invasion","met":false},{"factor":"extrahepatic","met":false},{"factor":"cancer_related_symptoms","met":false},{"factor":"single_leq_2cm","met":true},{"factor":"early_solitary_or_upto_3","met":false},{"factor":"multifocal_beyond_a","met":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.","ecog":0,"expected_median_survival":">5 years","extrahepatic":false,"formula":"bclc","formula_expression":"bclc_stage D iff ecog > 2 or (not preserved_liver_function and not transplant_option); else C iff preserved_liver_function and ecog <= 2 and (vascular_invasion or extrahepatic or ecog >= 1); else 0 iff ecog == 0 and not vascular_invasion and not extrahepatic and (preserved_liver_function or transplant_option) and tumor_count == 1 and largest_cm <= 2; else A iff same eligibility and ((tumor_count == 1 and largest_cm > 2) or (tumor_count in 2..3 and largest_cm <= 3)); else B iff same eligibility and (tumor_count >= 4 or (tumor_count in 2..3 and largest_cm > 3)); else invalid_bclc_profile (Reig 2022)","largest_cm":1.5,"preserved_liver_function":true,"transplant_option":false,"tumor_count":1,"vascular_invasion":false},{"bclc_stage":"0","citation":{"authors":"Reig M, Forner A, Rimola J, Ferrer-Fàbrega J, Burrel M, Garcia-Criado Á, Kelley RK, Galle PR, Mazzaferro V, Salem R, Sangro B, Singal AG, Vogel A, Fuster J, Ayuso C, Bruix J","doi":"10.1016/j.jhep.2021.11.018","id":"reig-2022","pmid":"34801630","source":"J Hepatol. 2022;76(3):681-693","title":"BCLC strategy for prognosis prediction and treatment recommendation: The 2022 update"},"criteria":[{"factor":"ps_gt_2","met":false},{"factor":"impaired_liver_without_lt","met":false},{"factor":"preserved_liver_function","met":true},{"factor":"vascular_invasion","met":false},{"factor":"extrahepatic","met":false},{"factor":"cancer_related_symptoms","met":false},{"factor":"single_leq_2cm","met":true},{"factor":"early_solitary_or_upto_3","met":false},{"factor":"multifocal_beyond_a","met":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.","ecog":0,"expected_median_survival":">5 years","extrahepatic":false,"formula":"bclc","formula_expression":"bclc_stage D iff ecog > 2 or (not preserved_liver_function and not transplant_option); else C iff preserved_liver_function and ecog <= 2 and (vascular_invasion or extrahepatic or ecog >= 1); else 0 iff ecog == 0 and not vascular_invasion and not extrahepatic and (preserved_liver_function or transplant_option) and tumor_count == 1 and largest_cm <= 2; else A iff same eligibility and ((tumor_count == 1 and largest_cm > 2) or (tumor_count in 2..3 and largest_cm <= 3)); else B iff same eligibility and (tumor_count >= 4 or (tumor_count in 2..3 and largest_cm > 3)); else invalid_bclc_profile (Reig 2022)","largest_cm":1.5,"preserved_liver_function":true,"transplant_option":false,"tumor_count":1,"vascular_invasion":false}],"path":"/api/calc/bclc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecog":{"description":"Cancer-related ECOG performance status 0-4 as assigned by the caller (Reig 2022: do not count baseline comorbidity PS). Integer 0-4. magent does not assign ECOG.","type":"integer"},"extrahepatic":{"description":"Extrahepatic spread as assigned by the caller. true or false. magent does not interpret imaging.","type":"boolean"},"largest_cm":{"description":"Largest tumor diameter in centimetres (0.1-30). Stage 0 meets at 2.0 cm and is A at 2.1 when solitary. Two or three nodules meet A at 3.0 cm and are B at 3.1. magent does not interpret imaging.","type":"number"},"preserved_liver_function":{"description":"Preserved liver function as assigned by the caller (Reig 2022 abandoned Child-Pugh class for this assignment). true or false. magent does not compute Child-Pugh or ALBI.","type":"boolean"},"transplant_option":{"description":"Option of liver transplantation when liver function is not preserved, as assigned by the caller (Reig 2022). true or false. magent does not list for transplant.","type":"boolean"},"tumor_count":{"description":"Number of HCC nodules (integer 1-20) as assigned by the caller. Stage 0 is a single tumor <=2 cm; stage A allows a solitary tumor of any size or 2-3 nodules none >3 cm; four or more nodules are stage B when otherwise 0/A/B-eligible. magent does not interpret imaging.","type":"integer"},"vascular_invasion":{"description":"Vascular (vessel) invasion as assigned by the caller. true or false. magent does not interpret imaging.","type":"boolean"}},"required":["ecog","preserved_liver_function","transplant_option","vascular_invasion","extrahepatic","tumor_count","largest_cm"],"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":["bclc","hcc","liver","staging","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:21:40.647Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:21:40.51Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ecog":0,"extrahepatic":false,"largest_cm":1.5,"preserved_liver_function":true,"transplant_option":false,"tumor_count":1,"vascular_invasion":false},{"ecog":0,"extrahepatic":false,"largest_cm":1.5,"preserved_liver_function":true,"transplant_option":false,"tumor_count":1,"vascular_invasion":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bclc_stage":"0","citation":{"authors":"Reig M, Forner A, Rimola J, Ferrer-Fàbrega J, Burrel M, Garcia-Criado Á, Kelley RK, Galle PR, Mazzaferro V, Salem R, Sangro B, Singal AG, Vogel A, Fuster J, Ayuso C, Bruix J","doi":"10.1016/j.jhep.2021.11.018","id":"reig-2022","pmid":"34801630","source":"J Hepatol. 2022;76(3):681-693","title":"BCLC strategy for prognosis prediction and treatment recommendation: The 2022 update"},"criteria":[{"factor":"ps_gt_2","met":false},{"factor":"impaired_liver_without_lt","met":false},{"factor":"preserved_liver_function","met":true},{"factor":"vascular_invasion","met":false},{"factor":"extrahepatic","met":false},{"factor":"cancer_related_symptoms","met":false},{"factor":"single_leq_2cm","met":true},{"factor":"early_solitary_or_upto_3","met":false},{"factor":"multifocal_beyond_a","met":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.","ecog":0,"expected_median_survival":">5 years","extrahepatic":false,"formula":"bclc","formula_expression":"bclc_stage D iff ecog > 2 or (not preserved_liver_function and not transplant_option); else C iff preserved_liver_function and ecog <= 2 and (vascular_invasion or extrahepatic or ecog >= 1); else 0 iff ecog == 0 and not vascular_invasion and not extrahepatic and (preserved_liver_function or transplant_option) and tumor_count == 1 and largest_cm <= 2; else A iff same eligibility and ((tumor_count == 1 and largest_cm > 2) or (tumor_count in 2..3 and largest_cm <= 3)); else B iff same eligibility and (tumor_count >= 4 or (tumor_count in 2..3 and largest_cm > 3)); else invalid_bclc_profile (Reig 2022)","largest_cm":1.5,"preserved_liver_function":true,"transplant_option":false,"tumor_count":1,"vascular_invasion":false},{"bclc_stage":"0","citation":{"authors":"Reig M, Forner A, Rimola J, Ferrer-Fàbrega J, Burrel M, Garcia-Criado Á, Kelley RK, Galle PR, Mazzaferro V, Salem R, Sangro B, Singal AG, Vogel A, Fuster J, Ayuso C, Bruix J","doi":"10.1016/j.jhep.2021.11.018","id":"reig-2022","pmid":"34801630","source":"J Hepatol. 2022;76(3):681-693","title":"BCLC strategy for prognosis prediction and treatment recommendation: The 2022 update"},"criteria":[{"factor":"ps_gt_2","met":false},{"factor":"impaired_liver_without_lt","met":false},{"factor":"preserved_liver_function","met":true},{"factor":"vascular_invasion","met":false},{"factor":"extrahepatic","met":false},{"factor":"cancer_related_symptoms","met":false},{"factor":"single_leq_2cm","met":true},{"factor":"early_solitary_or_upto_3","met":false},{"factor":"multifocal_beyond_a","met":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.","ecog":0,"expected_median_survival":">5 years","extrahepatic":false,"formula":"bclc","formula_expression":"bclc_stage D iff ecog > 2 or (not preserved_liver_function and not transplant_option); else C iff preserved_liver_function and ecog <= 2 and (vascular_invasion or extrahepatic or ecog >= 1); else 0 iff ecog == 0 and not vascular_invasion and not extrahepatic and (preserved_liver_function or transplant_option) and tumor_count == 1 and largest_cm <= 2; else A iff same eligibility and ((tumor_count == 1 and largest_cm > 2) or (tumor_count in 2..3 and largest_cm <= 3)); else B iff same eligibility and (tumor_count >= 4 or (tumor_count in 2..3 and largest_cm > 3)); else invalid_bclc_profile (Reig 2022)","largest_cm":1.5,"preserved_liver_function":true,"transplant_option":false,"tumor_count":1,"vascular_invasion":false}],"path":"/api/calc/bclc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecog":{"description":"Cancer-related ECOG performance status 0-4 as assigned by the caller (Reig 2022: do not count baseline comorbidity PS). Integer 0-4. magent does not assign ECOG.","type":"integer"},"extrahepatic":{"description":"Extrahepatic spread as assigned by the caller. true or false. magent does not interpret imaging.","type":"boolean"},"largest_cm":{"description":"Largest tumor diameter in centimetres (0.1-30). Stage 0 meets at 2.0 cm and is A at 2.1 when solitary. Two or three nodules meet A at 3.0 cm and are B at 3.1. magent does not interpret imaging.","type":"number"},"preserved_liver_function":{"description":"Preserved liver function as assigned by the caller (Reig 2022 abandoned Child-Pugh class for this assignment). true or false. magent does not compute Child-Pugh or ALBI.","type":"boolean"},"transplant_option":{"description":"Option of liver transplantation when liver function is not preserved, as assigned by the caller (Reig 2022). true or false. magent does not list for transplant.","type":"boolean"},"tumor_count":{"description":"Number of HCC nodules (integer 1-20) as assigned by the caller. Stage 0 is a single tumor <=2 cm; stage A allows a solitary tumor of any size or 2-3 nodules none >3 cm; four or more nodules are stage B when otherwise 0/A/B-eligible. magent does not interpret imaging.","type":"integer"},"vascular_invasion":{"description":"Vascular (vessel) invasion as assigned by the caller. true or false. magent does not interpret imaging.","type":"boolean"}},"required":["ecog","preserved_liver_function","transplant_option","vascular_invasion","extrahepatic","tumor_count","largest_cm"],"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},{"id":39289,"slug":"39289","resource":"https://api.magentlab.com/api/calc/baws","description":"Rastegar 2017 Brief Alcohol Withdrawal Scale (BAWS): five caller-assigned integers 0-3 (tremor, diaphoresis, agitation, orientation, hallucinations), summed 0-15. BAWS >=3 predicted CIWA-Ar >=8 in that paper (sensitivity 85.3%, specificity 65.8%). magent does not examine the patient or order benzodiazepines. Not later ICU dose bands. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"agitation":0,"diaphoresis":0,"hallucinations":0,"orientation":0,"tremor":0},{"agitation":0,"diaphoresis":0,"hallucinations":0,"orientation":0,"tremor":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rastegar DA, Applewhite D, Alvanzo AAH, Welsh C, Niessen T, Chen ES","doi":"10.1080/08897077.2017.1354119","id":"rastegar-2017","pmid":"28699845","source":"Subst Abus. 2017;38(4):394-400","title":"Development and Implementation of an Alcohol Withdrawal Protocol using a 5-Item Scale, the Brief Alcohol Withdrawal Scale (BAWS)"},"components":[{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"diaphoresis","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0},{"factor":"orientation","points":0,"present":true,"value":0},{"factor":"hallucinations","points":0,"present":true,"value":0}],"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":"baws","formula_expression":"BAWS = tremor + diaphoresis + agitation + orientation + hallucinations; each a caller-assigned integer 0-3; max 15; Rastegar 2017; predicts_ciwa_ar_ge_8 iff score >= 3","max_score":15,"predicts_ciwa_ar_ge_8":false,"score":0},{"citation":{"authors":"Rastegar DA, Applewhite D, Alvanzo AAH, Welsh C, Niessen T, Chen ES","doi":"10.1080/08897077.2017.1354119","id":"rastegar-2017","pmid":"28699845","source":"Subst Abus. 2017;38(4):394-400","title":"Development and Implementation of an Alcohol Withdrawal Protocol using a 5-Item Scale, the Brief Alcohol Withdrawal Scale (BAWS)"},"components":[{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"diaphoresis","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0},{"factor":"orientation","points":0,"present":true,"value":0},{"factor":"hallucinations","points":0,"present":true,"value":0}],"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":"baws","formula_expression":"BAWS = tremor + diaphoresis + agitation + orientation + hallucinations; each a caller-assigned integer 0-3; max 15; Rastegar 2017; predicts_ciwa_ar_ge_8 iff score >= 3","max_score":15,"predicts_ciwa_ar_ge_8":false,"score":0}],"path":"/api/calc/baws"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"agitation":{"description":"Caller-assigned Rastegar 2017 BAWS agitation points (integer 0-3). magent does not examine the patient.","type":"integer"},"diaphoresis":{"description":"Caller-assigned Rastegar 2017 BAWS diaphoresis (sweats) points (integer 0-3). magent does not examine the patient.","type":"integer"},"hallucinations":{"description":"Caller-assigned Rastegar 2017 BAWS hallucinations points (integer 0-3). One item, not separate CIWA-Ar tactile/auditory/visual scores. magent does not examine the patient.","type":"integer"},"orientation":{"description":"Caller-assigned Rastegar 2017 BAWS confusion/orientation points (integer 0-3). magent does not examine the patient.","type":"integer"},"tremor":{"description":"Caller-assigned Rastegar 2017 BAWS tremor points (integer 0-3). magent does not examine the patient.","type":"integer"}},"required":["tremor","diaphoresis","agitation","orientation","hallucinations"],"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":["baws","alcohol","withdrawal","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:21:39.363Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:21:39.157Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"agitation":0,"diaphoresis":0,"hallucinations":0,"orientation":0,"tremor":0},{"agitation":0,"diaphoresis":0,"hallucinations":0,"orientation":0,"tremor":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rastegar DA, Applewhite D, Alvanzo AAH, Welsh C, Niessen T, Chen ES","doi":"10.1080/08897077.2017.1354119","id":"rastegar-2017","pmid":"28699845","source":"Subst Abus. 2017;38(4):394-400","title":"Development and Implementation of an Alcohol Withdrawal Protocol using a 5-Item Scale, the Brief Alcohol Withdrawal Scale (BAWS)"},"components":[{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"diaphoresis","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0},{"factor":"orientation","points":0,"present":true,"value":0},{"factor":"hallucinations","points":0,"present":true,"value":0}],"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":"baws","formula_expression":"BAWS = tremor + diaphoresis + agitation + orientation + hallucinations; each a caller-assigned integer 0-3; max 15; Rastegar 2017; predicts_ciwa_ar_ge_8 iff score >= 3","max_score":15,"predicts_ciwa_ar_ge_8":false,"score":0},{"citation":{"authors":"Rastegar DA, Applewhite D, Alvanzo AAH, Welsh C, Niessen T, Chen ES","doi":"10.1080/08897077.2017.1354119","id":"rastegar-2017","pmid":"28699845","source":"Subst Abus. 2017;38(4):394-400","title":"Development and Implementation of an Alcohol Withdrawal Protocol using a 5-Item Scale, the Brief Alcohol Withdrawal Scale (BAWS)"},"components":[{"factor":"tremor","points":0,"present":true,"value":0},{"factor":"diaphoresis","points":0,"present":true,"value":0},{"factor":"agitation","points":0,"present":true,"value":0},{"factor":"orientation","points":0,"present":true,"value":0},{"factor":"hallucinations","points":0,"present":true,"value":0}],"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":"baws","formula_expression":"BAWS = tremor + diaphoresis + agitation + orientation + hallucinations; each a caller-assigned integer 0-3; max 15; Rastegar 2017; predicts_ciwa_ar_ge_8 iff score >= 3","max_score":15,"predicts_ciwa_ar_ge_8":false,"score":0}],"path":"/api/calc/baws"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"agitation":{"description":"Caller-assigned Rastegar 2017 BAWS agitation points (integer 0-3). magent does not examine the patient.","type":"integer"},"diaphoresis":{"description":"Caller-assigned Rastegar 2017 BAWS diaphoresis (sweats) points (integer 0-3). magent does not examine the patient.","type":"integer"},"hallucinations":{"description":"Caller-assigned Rastegar 2017 BAWS hallucinations points (integer 0-3). One item, not separate CIWA-Ar tactile/auditory/visual scores. magent does not examine the patient.","type":"integer"},"orientation":{"description":"Caller-assigned Rastegar 2017 BAWS confusion/orientation points (integer 0-3). magent does not examine the patient.","type":"integer"},"tremor":{"description":"Caller-assigned Rastegar 2017 BAWS tremor points (integer 0-3). magent does not examine the patient.","type":"integer"}},"required":["tremor","diaphoresis","agitation","orientation","hallucinations"],"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},{"id":39290,"slug":"39290","resource":"https://api.magentlab.com/api/calc/bastion","description":"Bastion classification of lower-limb IED injury (Jacobs 2014). Caller assigns class 1-5 as the most proximal extent. Returns the class description, associated-injury flags (segmental, intraperitoneal abdomen, genital/perineal, pelvic ring, upper limb), and tourniquet_effective (true for class 1-3, false for class 4-5). Not MESS, not ISS AIS, not a treatment protocol. Paper was not designed for mortality or transfusion rates. magent does not examine the casualty.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bastion_class":1,"genital_perineal":false,"intraperitoneal_abdomen":false,"pelvic_ring":false,"segmental":false,"upper_limb":false},{"bastion_class":1,"genital_perineal":false,"intraperitoneal_abdomen":false,"pelvic_ring":false,"segmental":false,"upper_limb":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bastion_class":1,"citation":{"authors":"Jacobs N, Rourke K, Rutherford J, Hicks A, Smith SR, Templeton P, Adams SA, Jansen JO","doi":"10.1016/j.injury.2012.05.001","id":"jacobs-2014","pmid":"22613453","source":"Injury. 2014;45(9):1422-1428","title":"Lower limb injuries caused by improvised explosive devices: proposed 'Bastion classification' and prospective validation"},"components":[{"factor":"bastion_class","met":true,"value":1},{"factor":"segmental","met":false},{"factor":"intraperitoneal_abdomen","met":false},{"factor":"genital_perineal","met":false},{"factor":"pelvic_ring","met":false},{"factor":"upper_limb","met":false},{"factor":"tourniquet_effective","met":true}],"description":"Injury confined to the foot","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":"bastion","formula_expression":"Caller-assigned Bastion class 1-5 is the most proximal extent of the lower-limb blast injury; associated flags are segmental, intraperitoneal_abdomen, genital_perineal, pelvic_ring, and upper_limb; tourniquet_effective is true for class 1-3 and false for class 4-5 (Jacobs 2014)","genital_perineal":false,"intraperitoneal_abdomen":false,"pelvic_ring":false,"segmental":false,"tourniquet_effective":true,"upper_limb":false},{"bastion_class":1,"citation":{"authors":"Jacobs N, Rourke K, Rutherford J, Hicks A, Smith SR, Templeton P, Adams SA, Jansen JO","doi":"10.1016/j.injury.2012.05.001","id":"jacobs-2014","pmid":"22613453","source":"Injury. 2014;45(9):1422-1428","title":"Lower limb injuries caused by improvised explosive devices: proposed 'Bastion classification' and prospective validation"},"components":[{"factor":"bastion_class","met":true,"value":1},{"factor":"segmental","met":false},{"factor":"intraperitoneal_abdomen","met":false},{"factor":"genital_perineal","met":false},{"factor":"pelvic_ring","met":false},{"factor":"upper_limb","met":false},{"factor":"tourniquet_effective","met":true}],"description":"Injury confined to the foot","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":"bastion","formula_expression":"Caller-assigned Bastion class 1-5 is the most proximal extent of the lower-limb blast injury; associated flags are segmental, intraperitoneal_abdomen, genital_perineal, pelvic_ring, and upper_limb; tourniquet_effective is true for class 1-3 and false for class 4-5 (Jacobs 2014)","genital_perineal":false,"intraperitoneal_abdomen":false,"pelvic_ring":false,"segmental":false,"tourniquet_effective":true,"upper_limb":false}],"path":"/api/calc/bastion"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bastion_class":{"description":"Bastion class 1-5 as assigned by the caller: most proximal extent of the lower-limb blast injury (1 injury confined to the foot; 2 lower leg, effective below-knee tourniquet; 3 proximal lower leg or thigh, effective above-knee tourniquet; 4 proximal thigh, tourniquet not effective; 5 any injury with buttock involvement). Jacobs 2014. magent does not examine the casualty.","type":"integer"},"genital_perineal":{"description":"true when associated genital or perineal injury is present as assigned by the caller (Jacobs 2014). Required. magent does not examine the casualty.","type":"boolean"},"intraperitoneal_abdomen":{"description":"true when associated intraperitoneal abdominal injury is present as assigned by the caller (Jacobs 2014). Required. magent does not examine the casualty.","type":"boolean"},"pelvic_ring":{"description":"true when associated pelvic ring injury is present as assigned by the caller (Jacobs 2014). Required. magent does not examine the casualty.","type":"boolean"},"segmental":{"description":"true when there is potentially viable tissue distal to the most proximal injury (Jacobs 2014: segmental injuries recognised as a distinct entity). Required. magent does not examine the casualty.","type":"boolean"},"upper_limb":{"description":"true when associated upper-limb injury is present as assigned by the caller (Jacobs 2014). Required. magent does not examine the casualty.","type":"boolean"}},"required":["bastion_class","segmental","intraperitoneal_abdomen","genital_perineal","pelvic_ring","upper_limb"],"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":["bastion","blast","ied","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:21:37.65Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:21:37.466Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bastion_class":1,"genital_perineal":false,"intraperitoneal_abdomen":false,"pelvic_ring":false,"segmental":false,"upper_limb":false},{"bastion_class":1,"genital_perineal":false,"intraperitoneal_abdomen":false,"pelvic_ring":false,"segmental":false,"upper_limb":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bastion_class":1,"citation":{"authors":"Jacobs N, Rourke K, Rutherford J, Hicks A, Smith SR, Templeton P, Adams SA, Jansen JO","doi":"10.1016/j.injury.2012.05.001","id":"jacobs-2014","pmid":"22613453","source":"Injury. 2014;45(9):1422-1428","title":"Lower limb injuries caused by improvised explosive devices: proposed 'Bastion classification' and prospective validation"},"components":[{"factor":"bastion_class","met":true,"value":1},{"factor":"segmental","met":false},{"factor":"intraperitoneal_abdomen","met":false},{"factor":"genital_perineal","met":false},{"factor":"pelvic_ring","met":false},{"factor":"upper_limb","met":false},{"factor":"tourniquet_effective","met":true}],"description":"Injury confined to the foot","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":"bastion","formula_expression":"Caller-assigned Bastion class 1-5 is the most proximal extent of the lower-limb blast injury; associated flags are segmental, intraperitoneal_abdomen, genital_perineal, pelvic_ring, and upper_limb; tourniquet_effective is true for class 1-3 and false for class 4-5 (Jacobs 2014)","genital_perineal":false,"intraperitoneal_abdomen":false,"pelvic_ring":false,"segmental":false,"tourniquet_effective":true,"upper_limb":false},{"bastion_class":1,"citation":{"authors":"Jacobs N, Rourke K, Rutherford J, Hicks A, Smith SR, Templeton P, Adams SA, Jansen JO","doi":"10.1016/j.injury.2012.05.001","id":"jacobs-2014","pmid":"22613453","source":"Injury. 2014;45(9):1422-1428","title":"Lower limb injuries caused by improvised explosive devices: proposed 'Bastion classification' and prospective validation"},"components":[{"factor":"bastion_class","met":true,"value":1},{"factor":"segmental","met":false},{"factor":"intraperitoneal_abdomen","met":false},{"factor":"genital_perineal","met":false},{"factor":"pelvic_ring","met":false},{"factor":"upper_limb","met":false},{"factor":"tourniquet_effective","met":true}],"description":"Injury confined to the foot","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":"bastion","formula_expression":"Caller-assigned Bastion class 1-5 is the most proximal extent of the lower-limb blast injury; associated flags are segmental, intraperitoneal_abdomen, genital_perineal, pelvic_ring, and upper_limb; tourniquet_effective is true for class 1-3 and false for class 4-5 (Jacobs 2014)","genital_perineal":false,"intraperitoneal_abdomen":false,"pelvic_ring":false,"segmental":false,"tourniquet_effective":true,"upper_limb":false}],"path":"/api/calc/bastion"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bastion_class":{"description":"Bastion class 1-5 as assigned by the caller: most proximal extent of the lower-limb blast injury (1 injury confined to the foot; 2 lower leg, effective below-knee tourniquet; 3 proximal lower leg or thigh, effective above-knee tourniquet; 4 proximal thigh, tourniquet not effective; 5 any injury with buttock involvement). Jacobs 2014. magent does not examine the casualty.","type":"integer"},"genital_perineal":{"description":"true when associated genital or perineal injury is present as assigned by the caller (Jacobs 2014). Required. magent does not examine the casualty.","type":"boolean"},"intraperitoneal_abdomen":{"description":"true when associated intraperitoneal abdominal injury is present as assigned by the caller (Jacobs 2014). Required. magent does not examine the casualty.","type":"boolean"},"pelvic_ring":{"description":"true when associated pelvic ring injury is present as assigned by the caller (Jacobs 2014). Required. magent does not examine the casualty.","type":"boolean"},"segmental":{"description":"true when there is potentially viable tissue distal to the most proximal injury (Jacobs 2014: segmental injuries recognised as a distinct entity). Required. magent does not examine the casualty.","type":"boolean"},"upper_limb":{"description":"true when associated upper-limb injury is present as assigned by the caller (Jacobs 2014). Required. magent does not examine the casualty.","type":"boolean"}},"required":["bastion_class","segmental","intraperitoneal_abdomen","genital_perineal","pelvic_ring","upper_limb"],"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},{"id":39291,"slug":"39291","resource":"https://api.magentlab.com/api/calc/barthel","description":"Mahoney 1965 Barthel Index: ten caller-assigned activity points (feeding, bathing, grooming, dressing, bowels, bladder, toilet, transfers, mobility, stairs) using that paper's 0/5, 0/5/10, or 0/5/10/15 values. magent sums only (max 100 in fives) and does not observe the patient. Not the Collin 0-20 Barthel and not a disability rating or placement decision.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bathing":0,"bladder":0,"bowels":0,"dressing":0,"feeding":0,"grooming":0,"mobility":0,"stairs":0,"toilet":0,"transfers":0},{"bathing":0,"bladder":0,"bowels":0,"dressing":0,"feeding":0,"grooming":0,"mobility":0,"stairs":0,"toilet":0,"transfers":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mahoney FI, Barthel DW","id":"mahoney-1965","pmid":"14258950","source":"Md State Med J. 1965;14:61-65","title":"Functional evaluation: the Barthel Index"},"components":[{"factor":"feeding","points":0,"present":true,"value":0},{"factor":"bathing","points":0,"present":true,"value":0},{"factor":"grooming","points":0,"present":true,"value":0},{"factor":"dressing","points":0,"present":true,"value":0},{"factor":"bowels","points":0,"present":true,"value":0},{"factor":"bladder","points":0,"present":true,"value":0},{"factor":"toilet","points":0,"present":true,"value":0},{"factor":"transfers","points":0,"present":true,"value":0},{"factor":"mobility","points":0,"present":true,"value":0},{"factor":"stairs","points":0,"present":true,"value":0}],"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":"barthel","formula_expression":"Barthel Index = feeding + bathing + grooming + dressing + bowels + bladder + toilet + transfers + mobility + stairs; Mahoney 1965 caller-assigned points; 0-100 in fives; max 100","max_score":100,"score":0},{"citation":{"authors":"Mahoney FI, Barthel DW","id":"mahoney-1965","pmid":"14258950","source":"Md State Med J. 1965;14:61-65","title":"Functional evaluation: the Barthel Index"},"components":[{"factor":"feeding","points":0,"present":true,"value":0},{"factor":"bathing","points":0,"present":true,"value":0},{"factor":"grooming","points":0,"present":true,"value":0},{"factor":"dressing","points":0,"present":true,"value":0},{"factor":"bowels","points":0,"present":true,"value":0},{"factor":"bladder","points":0,"present":true,"value":0},{"factor":"toilet","points":0,"present":true,"value":0},{"factor":"transfers","points":0,"present":true,"value":0},{"factor":"mobility","points":0,"present":true,"value":0},{"factor":"stairs","points":0,"present":true,"value":0}],"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":"barthel","formula_expression":"Barthel Index = feeding + bathing + grooming + dressing + bowels + bladder + toilet + transfers + mobility + stairs; Mahoney 1965 caller-assigned points; 0-100 in fives; max 100","max_score":100,"score":0}],"path":"/api/calc/barthel"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bathing":{"description":"Caller-assigned Mahoney 1965 Barthel bathing points (integer 0 or 5): 0 dependent; 5 independent. magent does not observe the patient.","type":"integer"},"bladder":{"description":"Caller-assigned Mahoney 1965 Barthel bladder points (integer 0, 5, or 10): 0 incontinent or catheterized; 5 occasional accident; 10 continent. magent does not observe the patient.","type":"integer"},"bowels":{"description":"Caller-assigned Mahoney 1965 Barthel bowels points (integer 0, 5, or 10): 0 incontinent; 5 occasional accident; 10 continent. magent does not observe the patient.","type":"integer"},"dressing":{"description":"Caller-assigned Mahoney 1965 Barthel dressing points (integer 0, 5, or 10): 0 dependent; 5 needs help; 10 independent. magent does not observe the patient.","type":"integer"},"feeding":{"description":"Caller-assigned Mahoney 1965 Barthel feeding points (integer 0, 5, or 10): 0 unable; 5 needs help; 10 independent. magent does not observe the patient.","type":"integer"},"grooming":{"description":"Caller-assigned Mahoney 1965 Barthel grooming points (integer 0 or 5): 0 needs help; 5 independent. magent does not observe the patient.","type":"integer"},"mobility":{"description":"Caller-assigned Mahoney 1965 Barthel mobility points (integer 0, 5, 10, or 15): 0 immobile; 5 wheelchair independent; 10 walks with help; 15 independent. magent does not observe the patient.","type":"integer"},"stairs":{"description":"Caller-assigned Mahoney 1965 Barthel stairs points (integer 0, 5, or 10): 0 unable; 5 needs help; 10 independent. magent does not observe the patient.","type":"integer"},"toilet":{"description":"Caller-assigned Mahoney 1965 Barthel toilet points (integer 0, 5, or 10): 0 dependent; 5 needs help; 10 independent. magent does not observe the patient.","type":"integer"},"transfers":{"description":"Caller-assigned Mahoney 1965 Barthel transfers points (integer 0, 5, 10, or 15): 0 unable; 5 major help; 10 minor help; 15 independent. magent does not observe the patient.","type":"integer"}},"required":["feeding","bathing","grooming","dressing","bowels","bladder","toilet","transfers","mobility","stairs"],"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":["barthel","adl","neurology","stroke","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:16:30.727Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:16:30.598Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bathing":0,"bladder":0,"bowels":0,"dressing":0,"feeding":0,"grooming":0,"mobility":0,"stairs":0,"toilet":0,"transfers":0},{"bathing":0,"bladder":0,"bowels":0,"dressing":0,"feeding":0,"grooming":0,"mobility":0,"stairs":0,"toilet":0,"transfers":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mahoney FI, Barthel DW","id":"mahoney-1965","pmid":"14258950","source":"Md State Med J. 1965;14:61-65","title":"Functional evaluation: the Barthel Index"},"components":[{"factor":"feeding","points":0,"present":true,"value":0},{"factor":"bathing","points":0,"present":true,"value":0},{"factor":"grooming","points":0,"present":true,"value":0},{"factor":"dressing","points":0,"present":true,"value":0},{"factor":"bowels","points":0,"present":true,"value":0},{"factor":"bladder","points":0,"present":true,"value":0},{"factor":"toilet","points":0,"present":true,"value":0},{"factor":"transfers","points":0,"present":true,"value":0},{"factor":"mobility","points":0,"present":true,"value":0},{"factor":"stairs","points":0,"present":true,"value":0}],"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":"barthel","formula_expression":"Barthel Index = feeding + bathing + grooming + dressing + bowels + bladder + toilet + transfers + mobility + stairs; Mahoney 1965 caller-assigned points; 0-100 in fives; max 100","max_score":100,"score":0},{"citation":{"authors":"Mahoney FI, Barthel DW","id":"mahoney-1965","pmid":"14258950","source":"Md State Med J. 1965;14:61-65","title":"Functional evaluation: the Barthel Index"},"components":[{"factor":"feeding","points":0,"present":true,"value":0},{"factor":"bathing","points":0,"present":true,"value":0},{"factor":"grooming","points":0,"present":true,"value":0},{"factor":"dressing","points":0,"present":true,"value":0},{"factor":"bowels","points":0,"present":true,"value":0},{"factor":"bladder","points":0,"present":true,"value":0},{"factor":"toilet","points":0,"present":true,"value":0},{"factor":"transfers","points":0,"present":true,"value":0},{"factor":"mobility","points":0,"present":true,"value":0},{"factor":"stairs","points":0,"present":true,"value":0}],"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":"barthel","formula_expression":"Barthel Index = feeding + bathing + grooming + dressing + bowels + bladder + toilet + transfers + mobility + stairs; Mahoney 1965 caller-assigned points; 0-100 in fives; max 100","max_score":100,"score":0}],"path":"/api/calc/barthel"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bathing":{"description":"Caller-assigned Mahoney 1965 Barthel bathing points (integer 0 or 5): 0 dependent; 5 independent. magent does not observe the patient.","type":"integer"},"bladder":{"description":"Caller-assigned Mahoney 1965 Barthel bladder points (integer 0, 5, or 10): 0 incontinent or catheterized; 5 occasional accident; 10 continent. magent does not observe the patient.","type":"integer"},"bowels":{"description":"Caller-assigned Mahoney 1965 Barthel bowels points (integer 0, 5, or 10): 0 incontinent; 5 occasional accident; 10 continent. magent does not observe the patient.","type":"integer"},"dressing":{"description":"Caller-assigned Mahoney 1965 Barthel dressing points (integer 0, 5, or 10): 0 dependent; 5 needs help; 10 independent. magent does not observe the patient.","type":"integer"},"feeding":{"description":"Caller-assigned Mahoney 1965 Barthel feeding points (integer 0, 5, or 10): 0 unable; 5 needs help; 10 independent. magent does not observe the patient.","type":"integer"},"grooming":{"description":"Caller-assigned Mahoney 1965 Barthel grooming points (integer 0 or 5): 0 needs help; 5 independent. magent does not observe the patient.","type":"integer"},"mobility":{"description":"Caller-assigned Mahoney 1965 Barthel mobility points (integer 0, 5, 10, or 15): 0 immobile; 5 wheelchair independent; 10 walks with help; 15 independent. magent does not observe the patient.","type":"integer"},"stairs":{"description":"Caller-assigned Mahoney 1965 Barthel stairs points (integer 0, 5, or 10): 0 unable; 5 needs help; 10 independent. magent does not observe the patient.","type":"integer"},"toilet":{"description":"Caller-assigned Mahoney 1965 Barthel toilet points (integer 0, 5, or 10): 0 dependent; 5 needs help; 10 independent. magent does not observe the patient.","type":"integer"},"transfers":{"description":"Caller-assigned Mahoney 1965 Barthel transfers points (integer 0, 5, 10, or 15): 0 unable; 5 major help; 10 minor help; 15 independent. magent does not observe the patient.","type":"integer"}},"required":["feeding","bathing","grooming","dressing","bowels","bladder","toilet","transfers","mobility","stairs"],"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},{"id":39292,"slug":"39292","resource":"https://api.magentlab.com/api/calc/bard","description":"Harrison 2008 BARD score for NAFLD advanced fibrosis: BMI ≥28 kg/m² (1), AST/ALT ≥0.8 (2), diabetes mellitus (1); max 4. Low 0–1, high 2–4 (paper 2–4 vs 0–1 split). Not a NASH diagnosis; magent does not interpret a biopsy or compute BMI. Not FIB-4, APRI, or the NAFLD fibrosis score.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"alt_u_l":40,"ast_u_l":20,"bmi":25,"diabetes":false},{"alt_u_l":40,"ast_u_l":20,"bmi":25,"diabetes":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alt_u_l":40,"ast_alt_ratio":0.5,"ast_u_l":20,"bmi":25,"citation":{"authors":"Harrison SA, Oliver D, Arnold HL, Gogia S, Neuschwander-Tetri BA","doi":"10.1136/gut.2007.146019","id":"harrison-2008","pmid":"18390575","source":"Gut. 2008;57(10):1441-1447","title":"Development and validation of a simple NAFLD clinical scoring system for identifying patients without advanced disease"},"components":[{"factor":"bmi_ge_28","points":0,"present":false,"value":25},{"factor":"ast_alt_ratio_ge_0_8","points":0,"present":false,"value":0.5},{"factor":"diabetes","points":0,"present":false}],"diabetes":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":"bard","formula_expression":"BARD = 1 if BMI >= 28 + 2 if AST/ALT >= 0.8 + 1 if diabetes; Harrison 2008; max 4; risk_group low 0-1, high 2-4. Not a biopsy. Not F0-F4.","max_score":4,"risk_group":"low","score":0},{"alt_u_l":40,"ast_alt_ratio":0.5,"ast_u_l":20,"bmi":25,"citation":{"authors":"Harrison SA, Oliver D, Arnold HL, Gogia S, Neuschwander-Tetri BA","doi":"10.1136/gut.2007.146019","id":"harrison-2008","pmid":"18390575","source":"Gut. 2008;57(10):1441-1447","title":"Development and validation of a simple NAFLD clinical scoring system for identifying patients without advanced disease"},"components":[{"factor":"bmi_ge_28","points":0,"present":false,"value":25},{"factor":"ast_alt_ratio_ge_0_8","points":0,"present":false,"value":0.5},{"factor":"diabetes","points":0,"present":false}],"diabetes":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":"bard","formula_expression":"BARD = 1 if BMI >= 28 + 2 if AST/ALT >= 0.8 + 1 if diabetes; Harrison 2008; max 4; risk_group low 0-1, high 2-4. Not a biopsy. Not F0-F4.","max_score":4,"risk_group":"low","score":0}],"path":"/api/calc/bard"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000). AST/ALT >= 0.8 scores 2 (Harrison 2008). 0.799 scores 0. ALT must be >0.","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000). Used with ALT for the AAR.","type":"number"},"bmi":{"description":"Body-mass index in kg/m^2 (10-80). >=28 scores 1 (Harrison 2008). 27.9 scores 0. Caller-supplied; magent does not compute BMI from height and weight.","type":"number"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (Harrison 2008). true scores 1. magent does not diagnose diabetes.","type":"boolean"}},"required":["bmi","ast_u_l","alt_u_l","diabetes"],"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":["bard","nafld","fibrosis","liver","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:16:29.93Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:16:29.787Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alt_u_l":40,"ast_u_l":20,"bmi":25,"diabetes":false},{"alt_u_l":40,"ast_u_l":20,"bmi":25,"diabetes":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alt_u_l":40,"ast_alt_ratio":0.5,"ast_u_l":20,"bmi":25,"citation":{"authors":"Harrison SA, Oliver D, Arnold HL, Gogia S, Neuschwander-Tetri BA","doi":"10.1136/gut.2007.146019","id":"harrison-2008","pmid":"18390575","source":"Gut. 2008;57(10):1441-1447","title":"Development and validation of a simple NAFLD clinical scoring system for identifying patients without advanced disease"},"components":[{"factor":"bmi_ge_28","points":0,"present":false,"value":25},{"factor":"ast_alt_ratio_ge_0_8","points":0,"present":false,"value":0.5},{"factor":"diabetes","points":0,"present":false}],"diabetes":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":"bard","formula_expression":"BARD = 1 if BMI >= 28 + 2 if AST/ALT >= 0.8 + 1 if diabetes; Harrison 2008; max 4; risk_group low 0-1, high 2-4. Not a biopsy. Not F0-F4.","max_score":4,"risk_group":"low","score":0},{"alt_u_l":40,"ast_alt_ratio":0.5,"ast_u_l":20,"bmi":25,"citation":{"authors":"Harrison SA, Oliver D, Arnold HL, Gogia S, Neuschwander-Tetri BA","doi":"10.1136/gut.2007.146019","id":"harrison-2008","pmid":"18390575","source":"Gut. 2008;57(10):1441-1447","title":"Development and validation of a simple NAFLD clinical scoring system for identifying patients without advanced disease"},"components":[{"factor":"bmi_ge_28","points":0,"present":false,"value":25},{"factor":"ast_alt_ratio_ge_0_8","points":0,"present":false,"value":0.5},{"factor":"diabetes","points":0,"present":false}],"diabetes":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":"bard","formula_expression":"BARD = 1 if BMI >= 28 + 2 if AST/ALT >= 0.8 + 1 if diabetes; Harrison 2008; max 4; risk_group low 0-1, high 2-4. Not a biopsy. Not F0-F4.","max_score":4,"risk_group":"low","score":0}],"path":"/api/calc/bard"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000). AST/ALT >= 0.8 scores 2 (Harrison 2008). 0.799 scores 0. ALT must be >0.","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000). Used with ALT for the AAR.","type":"number"},"bmi":{"description":"Body-mass index in kg/m^2 (10-80). >=28 scores 1 (Harrison 2008). 27.9 scores 0. Caller-supplied; magent does not compute BMI from height and weight.","type":"number"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (Harrison 2008). true scores 1. magent does not diagnose diabetes.","type":"boolean"}},"required":["bmi","ast_u_l","alt_u_l","diabetes"],"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},{"id":39293,"slug":"39293","resource":"https://api.magentlab.com/api/calc/bacterial_meningitis","description":"Nigrovic 2002 Bacterial Meningitis Score: CSF Gram stain (2), CSF ANC ≥1000 cells/µL (1), CSF protein ≥80 mg/dL (1), peripheral ANC ≥10 000 cells/µL (1), seizure (1). Max 6. very_low_risk if 0, not_low_risk if ≥1. Children with CSF pleocytosis as in Nigrovic 2002; not a neonatal score. Not a meningitis diagnosis or an antibiotic/LP order. magent does not stain CSF, count neutrophils, assay protein, or witness a seizure.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"csf_anc_ge_1000":false,"csf_gram_stain":false,"csf_protein_ge_80":false,"peripheral_anc_ge_10000":false,"seizure":false},{"csf_anc_ge_1000":false,"csf_gram_stain":false,"csf_protein_ge_80":false,"peripheral_anc_ge_10000":false,"seizure":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bacterial_meningitis_band":"very_low_risk","citation":{"authors":"Nigrovic LE, Kuppermann N, Malley R","doi":"10.1542/peds.110.4.712","id":"nigrovic-2002","pmid":"12359784","source":"Pediatrics. 2002;110(4):712-719","title":"Development and validation of a multivariable predictive model to distinguish bacterial from aseptic meningitis in children in the post-Haemophilus influenzae era"},"components":[{"factor":"csf_gram_stain","points":0,"present":false},{"factor":"csf_anc_ge_1000","points":0,"present":false},{"factor":"csf_protein_ge_80","points":0,"present":false},{"factor":"peripheral_anc_ge_10000","points":0,"present":false},{"factor":"seizure","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":"bacterial_meningitis","formula_expression":"Bacterial Meningitis Score = csf_gram_stain 2 + csf_anc_ge_1000 1 + csf_protein_ge_80 1 + peripheral_anc_ge_10000 1 + seizure 1; Nigrovic 2002; max 6; very_low_risk 0, not_low_risk ≥1","max_score":6,"score":0},{"bacterial_meningitis_band":"very_low_risk","citation":{"authors":"Nigrovic LE, Kuppermann N, Malley R","doi":"10.1542/peds.110.4.712","id":"nigrovic-2002","pmid":"12359784","source":"Pediatrics. 2002;110(4):712-719","title":"Development and validation of a multivariable predictive model to distinguish bacterial from aseptic meningitis in children in the post-Haemophilus influenzae era"},"components":[{"factor":"csf_gram_stain","points":0,"present":false},{"factor":"csf_anc_ge_1000","points":0,"present":false},{"factor":"csf_protein_ge_80","points":0,"present":false},{"factor":"peripheral_anc_ge_10000","points":0,"present":false},{"factor":"seizure","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":"bacterial_meningitis","formula_expression":"Bacterial Meningitis Score = csf_gram_stain 2 + csf_anc_ge_1000 1 + csf_protein_ge_80 1 + peripheral_anc_ge_10000 1 + seizure 1; Nigrovic 2002; max 6; very_low_risk 0, not_low_risk ≥1","max_score":6,"score":0}],"path":"/api/calc/bacterial_meningitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"csf_anc_ge_1000":{"description":"CSF ANC ≥1000 cells/µL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not count neutrophils.","type":"boolean"},"csf_gram_stain":{"description":"Positive CSF Gram stain as assigned by the caller (Nigrovic 2002). true scores 2, not 1. magent does not stain CSF.","type":"boolean"},"csf_protein_ge_80":{"description":"CSF protein ≥80 mg/dL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not assay protein.","type":"boolean"},"peripheral_anc_ge_10000":{"description":"Peripheral ANC ≥10 000 cells/µL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not count neutrophils.","type":"boolean"},"seizure":{"description":"Seizure at or before presentation as assigned by the caller (Nigrovic 2002). true scores 1. magent does not witness a seizure.","type":"boolean"}},"required":["csf_gram_stain","csf_anc_ge_1000","csf_protein_ge_80","peripheral_anc_ge_10000","seizure"],"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":["meningitis","csf","emergency","pediatric","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:16:29.073Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:16:28.908Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"csf_anc_ge_1000":false,"csf_gram_stain":false,"csf_protein_ge_80":false,"peripheral_anc_ge_10000":false,"seizure":false},{"csf_anc_ge_1000":false,"csf_gram_stain":false,"csf_protein_ge_80":false,"peripheral_anc_ge_10000":false,"seizure":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bacterial_meningitis_band":"very_low_risk","citation":{"authors":"Nigrovic LE, Kuppermann N, Malley R","doi":"10.1542/peds.110.4.712","id":"nigrovic-2002","pmid":"12359784","source":"Pediatrics. 2002;110(4):712-719","title":"Development and validation of a multivariable predictive model to distinguish bacterial from aseptic meningitis in children in the post-Haemophilus influenzae era"},"components":[{"factor":"csf_gram_stain","points":0,"present":false},{"factor":"csf_anc_ge_1000","points":0,"present":false},{"factor":"csf_protein_ge_80","points":0,"present":false},{"factor":"peripheral_anc_ge_10000","points":0,"present":false},{"factor":"seizure","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":"bacterial_meningitis","formula_expression":"Bacterial Meningitis Score = csf_gram_stain 2 + csf_anc_ge_1000 1 + csf_protein_ge_80 1 + peripheral_anc_ge_10000 1 + seizure 1; Nigrovic 2002; max 6; very_low_risk 0, not_low_risk ≥1","max_score":6,"score":0},{"bacterial_meningitis_band":"very_low_risk","citation":{"authors":"Nigrovic LE, Kuppermann N, Malley R","doi":"10.1542/peds.110.4.712","id":"nigrovic-2002","pmid":"12359784","source":"Pediatrics. 2002;110(4):712-719","title":"Development and validation of a multivariable predictive model to distinguish bacterial from aseptic meningitis in children in the post-Haemophilus influenzae era"},"components":[{"factor":"csf_gram_stain","points":0,"present":false},{"factor":"csf_anc_ge_1000","points":0,"present":false},{"factor":"csf_protein_ge_80","points":0,"present":false},{"factor":"peripheral_anc_ge_10000","points":0,"present":false},{"factor":"seizure","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":"bacterial_meningitis","formula_expression":"Bacterial Meningitis Score = csf_gram_stain 2 + csf_anc_ge_1000 1 + csf_protein_ge_80 1 + peripheral_anc_ge_10000 1 + seizure 1; Nigrovic 2002; max 6; very_low_risk 0, not_low_risk ≥1","max_score":6,"score":0}],"path":"/api/calc/bacterial_meningitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"csf_anc_ge_1000":{"description":"CSF ANC ≥1000 cells/µL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not count neutrophils.","type":"boolean"},"csf_gram_stain":{"description":"Positive CSF Gram stain as assigned by the caller (Nigrovic 2002). true scores 2, not 1. magent does not stain CSF.","type":"boolean"},"csf_protein_ge_80":{"description":"CSF protein ≥80 mg/dL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not assay protein.","type":"boolean"},"peripheral_anc_ge_10000":{"description":"Peripheral ANC ≥10 000 cells/µL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not count neutrophils.","type":"boolean"},"seizure":{"description":"Seizure at or before presentation as assigned by the caller (Nigrovic 2002). true scores 1. magent does not witness a seizure.","type":"boolean"}},"required":["csf_gram_stain","csf_anc_ge_1000","csf_protein_ge_80","peripheral_anc_ge_10000","seizure"],"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},{"id":39294,"slug":"39294","resource":"https://api.magentlab.com/api/calc/audit_c","description":"Bush 1998 AUDIT-C from three caller-assigned integers 0-4 (frequency, typical drinks, binge frequency); magent does not map drink-count categories. Total 0-12. This paper reported ≥3 as sensitive and ≥4 as more specific for heavy drinking / active abuse or dependence in VA outpatients (mostly men). Returns screen_ge_3 and screen_ge_4. Not later sex-specific VA primary-care cutoffs, not the full 10-item AUDIT, and not CIWA-Ar. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"binge_frequency":0,"frequency":0,"typical_drinks":0},{"binge_frequency":0,"frequency":0,"typical_drinks":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bush K, Kivlahan DR, McDonell MB, Fihn SD, Bradley KA","doi":"10.1001/archinte.158.16.1789","id":"bush-1998","source":"Arch Intern Med. 1998;158(16):1789-1795","title":"The AUDIT alcohol consumption questions (AUDIT-C): an effective brief screening test for problem drinking"},"components":[{"factor":"frequency","points":0,"present":true,"value":0},{"factor":"typical_drinks","points":0,"present":true,"value":0},{"factor":"binge_frequency","points":0,"present":true,"value":0}],"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":"audit_c","formula_expression":"AUDIT-C = frequency + typical_drinks + binge_frequency; each caller-assigned 0-4; max 12","max_score":12,"score":0,"screen_ge_3":false,"screen_ge_4":false},{"citation":{"authors":"Bush K, Kivlahan DR, McDonell MB, Fihn SD, Bradley KA","doi":"10.1001/archinte.158.16.1789","id":"bush-1998","source":"Arch Intern Med. 1998;158(16):1789-1795","title":"The AUDIT alcohol consumption questions (AUDIT-C): an effective brief screening test for problem drinking"},"components":[{"factor":"frequency","points":0,"present":true,"value":0},{"factor":"typical_drinks","points":0,"present":true,"value":0},{"factor":"binge_frequency","points":0,"present":true,"value":0}],"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":"audit_c","formula_expression":"AUDIT-C = frequency + typical_drinks + binge_frequency; each caller-assigned 0-4; max 12","max_score":12,"score":0,"screen_ge_3":false,"screen_ge_4":false}],"path":"/api/calc/audit_c"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"binge_frequency":{"description":"Caller-assigned Bush 1998 AUDIT item 3 points (integer 0-4): how often six or more drinks on one occasion. magent does not map drink-count categories.","type":"integer"},"frequency":{"description":"Caller-assigned Bush 1998 AUDIT item 1 points (integer 0-4): how often the patient had a drink containing alcohol in the past year. magent does not map drink-count categories.","type":"integer"},"typical_drinks":{"description":"Caller-assigned Bush 1998 AUDIT item 2 points (integer 0-4): how many drinks on a typical drinking day. magent does not map drink-count categories.","type":"integer"}},"required":["frequency","typical_drinks","binge_frequency"],"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":["audit-c","alcohol","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:06:45.417Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:06:45.3Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"binge_frequency":0,"frequency":0,"typical_drinks":0},{"binge_frequency":0,"frequency":0,"typical_drinks":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bush K, Kivlahan DR, McDonell MB, Fihn SD, Bradley KA","doi":"10.1001/archinte.158.16.1789","id":"bush-1998","source":"Arch Intern Med. 1998;158(16):1789-1795","title":"The AUDIT alcohol consumption questions (AUDIT-C): an effective brief screening test for problem drinking"},"components":[{"factor":"frequency","points":0,"present":true,"value":0},{"factor":"typical_drinks","points":0,"present":true,"value":0},{"factor":"binge_frequency","points":0,"present":true,"value":0}],"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":"audit_c","formula_expression":"AUDIT-C = frequency + typical_drinks + binge_frequency; each caller-assigned 0-4; max 12","max_score":12,"score":0,"screen_ge_3":false,"screen_ge_4":false},{"citation":{"authors":"Bush K, Kivlahan DR, McDonell MB, Fihn SD, Bradley KA","doi":"10.1001/archinte.158.16.1789","id":"bush-1998","source":"Arch Intern Med. 1998;158(16):1789-1795","title":"The AUDIT alcohol consumption questions (AUDIT-C): an effective brief screening test for problem drinking"},"components":[{"factor":"frequency","points":0,"present":true,"value":0},{"factor":"typical_drinks","points":0,"present":true,"value":0},{"factor":"binge_frequency","points":0,"present":true,"value":0}],"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":"audit_c","formula_expression":"AUDIT-C = frequency + typical_drinks + binge_frequency; each caller-assigned 0-4; max 12","max_score":12,"score":0,"screen_ge_3":false,"screen_ge_4":false}],"path":"/api/calc/audit_c"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"binge_frequency":{"description":"Caller-assigned Bush 1998 AUDIT item 3 points (integer 0-4): how often six or more drinks on one occasion. magent does not map drink-count categories.","type":"integer"},"frequency":{"description":"Caller-assigned Bush 1998 AUDIT item 1 points (integer 0-4): how often the patient had a drink containing alcohol in the past year. magent does not map drink-count categories.","type":"integer"},"typical_drinks":{"description":"Caller-assigned Bush 1998 AUDIT item 2 points (integer 0-4): how many drinks on a typical drinking day. magent does not map drink-count categories.","type":"integer"}},"required":["frequency","typical_drinks","binge_frequency"],"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},{"id":39295,"slug":"39295","resource":"https://api.magentlab.com/api/calc/atria_stroke","description":"Singer 2013 ATRIA stroke risk score (not Fang 2011 ATRIA bleed). Age x prior stroke Table 3: <65 0/8, 65-74 3/7, 75-84 5/7, >=85 6/9 without/with prior stroke. Plus 1 each: female, diabetes, heart failure, hypertension, proteinuria, eGFR<45 or ESRD. Max 15 (12 without prior stroke). 0-5 low, 6 moderate, 7-15 high. Not a stroke diagnosis or anticoagulation order. Not CHA2DS2-VASc. magent does not assay eGFR or urine.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"diabetes":false,"egfr_lt_45_or_esrd":false,"female":false,"heart_failure":false,"hypertension":false,"prior_stroke":false,"proteinuria":false},{"age":50,"diabetes":false,"egfr_lt_45_or_esrd":false,"female":false,"heart_failure":false,"hypertension":false,"prior_stroke":false,"proteinuria":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"atria_stroke_band":"low","citation":{"authors":"Singer DE, Chang Y, Borowsky LH, Fang MC, Pomernacki NK, Udaltsova N, Reynolds K, Go AS.","doi":"10.1161/JAHA.113.000250","id":"singer-2013","pmid":"23782923","source":"J Am Heart Assoc. 2013;2(3):e000250","title":"A new risk scheme to predict ischemic stroke and other thromboembolism in atrial fibrillation: the ATRIA study stroke risk score"},"components":[{"factor":"age_prior_stroke","points":0,"present":false,"value":50},{"factor":"female","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"heart_failure","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"proteinuria","points":0,"present":false},{"factor":"egfr_lt_45_or_esrd","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":"atria_stroke","formula_expression":"ATRIA stroke = age_prior_stroke (Singer 2013 Table 3: <65 0/8, 65-74 3/7, 75-84 5/7, >=85 6/9 without/with prior stroke) + female 1 + diabetes 1 + heart_failure 1 + hypertension 1 + proteinuria 1 + egfr_lt_45_or_esrd 1; max 15 (12 without prior stroke); 0-5 low, 6 moderate, 7-15 high","max_score":15,"score":0},{"age_years":50,"atria_stroke_band":"low","citation":{"authors":"Singer DE, Chang Y, Borowsky LH, Fang MC, Pomernacki NK, Udaltsova N, Reynolds K, Go AS.","doi":"10.1161/JAHA.113.000250","id":"singer-2013","pmid":"23782923","source":"J Am Heart Assoc. 2013;2(3):e000250","title":"A new risk scheme to predict ischemic stroke and other thromboembolism in atrial fibrillation: the ATRIA study stroke risk score"},"components":[{"factor":"age_prior_stroke","points":0,"present":false,"value":50},{"factor":"female","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"heart_failure","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"proteinuria","points":0,"present":false},{"factor":"egfr_lt_45_or_esrd","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":"atria_stroke","formula_expression":"ATRIA stroke = age_prior_stroke (Singer 2013 Table 3: <65 0/8, 65-74 3/7, 75-84 5/7, >=85 6/9 without/with prior stroke) + female 1 + diabetes 1 + heart_failure 1 + hypertension 1 + proteinuria 1 + egfr_lt_45_or_esrd 1; max 15 (12 without prior stroke); 0-5 low, 6 moderate, 7-15 high","max_score":15,"score":0}],"path":"/api/calc/atria_stroke"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Singer 2013 Table 3 without prior stroke: <65 scores 0, 65-74 scores 3, 75-84 scores 5, ≥85 scores 6. With prior stroke: <65 scores 8, 65-74 scores 7, 75-84 scores 7, ≥85 scores 9.","type":"integer"},"diabetes":{"description":"Diabetes as assigned by the caller. true or false. Scores 1.","type":"boolean"},"egfr_lt_45_or_esrd":{"description":"eGFR <45 or ESRD as assigned by the caller. true or false. Scores 1. magent does not assay eGFR.","type":"boolean"},"female":{"description":"Female sex as assigned by the caller. true or false. Scores 1.","type":"boolean"},"heart_failure":{"description":"Congestive heart failure as assigned by the caller (paper CHF). true or false. Scores 1.","type":"boolean"},"hypertension":{"description":"Diagnosed hypertension as assigned by the caller. true or false. Scores 1.","type":"boolean"},"prior_stroke":{"description":"Prior ischemic stroke as assigned by the caller. true or false. Selects the Table 3 age column. Not a stroke diagnosis.","type":"boolean"},"proteinuria":{"description":"Proteinuria as assigned by the caller. true or false. Scores 1. magent does not assay urine.","type":"boolean"}},"required":["age","prior_stroke","female","diabetes","heart_failure","hypertension","proteinuria","egfr_lt_45_or_esrd"],"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":["atria-stroke","stroke","afib","score","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:06:44.213Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:06:43.955Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"diabetes":false,"egfr_lt_45_or_esrd":false,"female":false,"heart_failure":false,"hypertension":false,"prior_stroke":false,"proteinuria":false},{"age":50,"diabetes":false,"egfr_lt_45_or_esrd":false,"female":false,"heart_failure":false,"hypertension":false,"prior_stroke":false,"proteinuria":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"atria_stroke_band":"low","citation":{"authors":"Singer DE, Chang Y, Borowsky LH, Fang MC, Pomernacki NK, Udaltsova N, Reynolds K, Go AS.","doi":"10.1161/JAHA.113.000250","id":"singer-2013","pmid":"23782923","source":"J Am Heart Assoc. 2013;2(3):e000250","title":"A new risk scheme to predict ischemic stroke and other thromboembolism in atrial fibrillation: the ATRIA study stroke risk score"},"components":[{"factor":"age_prior_stroke","points":0,"present":false,"value":50},{"factor":"female","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"heart_failure","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"proteinuria","points":0,"present":false},{"factor":"egfr_lt_45_or_esrd","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":"atria_stroke","formula_expression":"ATRIA stroke = age_prior_stroke (Singer 2013 Table 3: <65 0/8, 65-74 3/7, 75-84 5/7, >=85 6/9 without/with prior stroke) + female 1 + diabetes 1 + heart_failure 1 + hypertension 1 + proteinuria 1 + egfr_lt_45_or_esrd 1; max 15 (12 without prior stroke); 0-5 low, 6 moderate, 7-15 high","max_score":15,"score":0},{"age_years":50,"atria_stroke_band":"low","citation":{"authors":"Singer DE, Chang Y, Borowsky LH, Fang MC, Pomernacki NK, Udaltsova N, Reynolds K, Go AS.","doi":"10.1161/JAHA.113.000250","id":"singer-2013","pmid":"23782923","source":"J Am Heart Assoc. 2013;2(3):e000250","title":"A new risk scheme to predict ischemic stroke and other thromboembolism in atrial fibrillation: the ATRIA study stroke risk score"},"components":[{"factor":"age_prior_stroke","points":0,"present":false,"value":50},{"factor":"female","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"heart_failure","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"proteinuria","points":0,"present":false},{"factor":"egfr_lt_45_or_esrd","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":"atria_stroke","formula_expression":"ATRIA stroke = age_prior_stroke (Singer 2013 Table 3: <65 0/8, 65-74 3/7, 75-84 5/7, >=85 6/9 without/with prior stroke) + female 1 + diabetes 1 + heart_failure 1 + hypertension 1 + proteinuria 1 + egfr_lt_45_or_esrd 1; max 15 (12 without prior stroke); 0-5 low, 6 moderate, 7-15 high","max_score":15,"score":0}],"path":"/api/calc/atria_stroke"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Singer 2013 Table 3 without prior stroke: <65 scores 0, 65-74 scores 3, 75-84 scores 5, ≥85 scores 6. With prior stroke: <65 scores 8, 65-74 scores 7, 75-84 scores 7, ≥85 scores 9.","type":"integer"},"diabetes":{"description":"Diabetes as assigned by the caller. true or false. Scores 1.","type":"boolean"},"egfr_lt_45_or_esrd":{"description":"eGFR <45 or ESRD as assigned by the caller. true or false. Scores 1. magent does not assay eGFR.","type":"boolean"},"female":{"description":"Female sex as assigned by the caller. true or false. Scores 1.","type":"boolean"},"heart_failure":{"description":"Congestive heart failure as assigned by the caller (paper CHF). true or false. Scores 1.","type":"boolean"},"hypertension":{"description":"Diagnosed hypertension as assigned by the caller. true or false. Scores 1.","type":"boolean"},"prior_stroke":{"description":"Prior ischemic stroke as assigned by the caller. true or false. Selects the Table 3 age column. Not a stroke diagnosis.","type":"boolean"},"proteinuria":{"description":"Proteinuria as assigned by the caller. true or false. Scores 1. magent does not assay urine.","type":"boolean"}},"required":["age","prior_stroke","female","diabetes","heart_failure","hypertension","proteinuria","egfr_lt_45_or_esrd"],"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},{"id":39296,"slug":"39296","resource":"https://api.magentlab.com/api/calc/catch","description":"CATCH (Osmond 2010). CT indicated if any of 7 caller-assigned findings after pediatric minor head injury. High (neurologic intervention): GCS <15 at 2h, open/depressed skull fracture, worsening headache, irritability. Medium if not high (brain injury on CT): basal skull fracture, large boggy scalp hematoma, dangerous mechanism. Low if none. Not PECARN, CHALICE, Canadian CT Head, NEXUS, or CATCH-2. magent does not examine the child or read CT. Not a diagnosis or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"basal_skull_fracture":false,"dangerous_mechanism":false,"gcs_lt_15_at_2h":false,"irritability":false,"large_boggy_scalp_hematoma":false,"suspected_open_or_depressed_skull_fracture":false,"worsening_headache":false},{"basal_skull_fracture":false,"dangerous_mechanism":false,"gcs_lt_15_at_2h":false,"irritability":false,"large_boggy_scalp_hematoma":false,"suspected_open_or_depressed_skull_fracture":false,"worsening_headache":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"catch_high_risk":false,"catch_low_risk":true,"catch_medium_risk":false,"citation":{"authors":"Osmond MH, Klassen TP, Wells GA, et al.","doi":"10.1503/cmaj.091421","id":"osmond-2010","pmid":"20142371","source":"CMAJ. 2010;182(4):341-348","title":"CATCH: a clinical decision rule for the use of computed tomography in children with minor head injury"},"criteria":[{"factor":"gcs_lt_15_at_2h","met":false},{"factor":"suspected_open_or_depressed_skull_fracture","met":false},{"factor":"worsening_headache","met":false},{"factor":"irritability","met":false},{"factor":"basal_skull_fracture","met":false},{"factor":"large_boggy_scalp_hematoma","met":false},{"factor":"dangerous_mechanism","met":false}],"ct_indicated":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":"catch","formula_expression":"high if any of gcs_lt_15_at_2h, suspected_open_or_depressed_skull_fracture, worsening_headache, irritability; else medium if any of basal_skull_fracture, large_boggy_scalp_hematoma, dangerous_mechanism; else low; CT indicated if high or medium"},{"catch_high_risk":false,"catch_low_risk":true,"catch_medium_risk":false,"citation":{"authors":"Osmond MH, Klassen TP, Wells GA, et al.","doi":"10.1503/cmaj.091421","id":"osmond-2010","pmid":"20142371","source":"CMAJ. 2010;182(4):341-348","title":"CATCH: a clinical decision rule for the use of computed tomography in children with minor head injury"},"criteria":[{"factor":"gcs_lt_15_at_2h","met":false},{"factor":"suspected_open_or_depressed_skull_fracture","met":false},{"factor":"worsening_headache","met":false},{"factor":"irritability","met":false},{"factor":"basal_skull_fracture","met":false},{"factor":"large_boggy_scalp_hematoma","met":false},{"factor":"dangerous_mechanism","met":false}],"ct_indicated":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":"catch","formula_expression":"high if any of gcs_lt_15_at_2h, suspected_open_or_depressed_skull_fracture, worsening_headache, irritability; else medium if any of basal_skull_fracture, large_boggy_scalp_hematoma, dangerous_mechanism; else low; CT indicated if high or medium"}],"path":"/api/calc/catch"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"basal_skull_fracture":{"description":"Any sign of basal skull fracture. true or false as assigned by the caller. Medium-risk (brain injury on CT). magent does not examine the child.","type":"boolean"},"dangerous_mechanism":{"description":"Dangerous mechanism of injury as assigned by the caller. true or false. Medium-risk (brain injury on CT). Paper examples: motor vehicle collision, fall from elevation ≥3 ft / ≥91 cm or 5 stairs, fall from bicycle with no helmet. magent does not classify mechanism.","type":"boolean"},"gcs_lt_15_at_2h":{"description":"GCS score <15 at two hours after injury. true or false as assigned by the caller. High-risk (need for neurologic intervention). magent does not take a GCS integer.","type":"boolean"},"irritability":{"description":"Irritability on examination. true or false as assigned by the caller. High-risk (need for neurologic intervention). magent does not examine the child.","type":"boolean"},"large_boggy_scalp_hematoma":{"description":"Large, boggy hematoma of the scalp. true or false as assigned by the caller. Medium-risk (brain injury on CT). magent does not examine the child.","type":"boolean"},"suspected_open_or_depressed_skull_fracture":{"description":"Suspected open or depressed skull fracture. true or false as assigned by the caller. High-risk (need for neurologic intervention). magent does not examine the child.","type":"boolean"},"worsening_headache":{"description":"History of worsening headache. true or false as assigned by the caller. High-risk (need for neurologic intervention).","type":"boolean"}},"required":["gcs_lt_15_at_2h","suspected_open_or_depressed_skull_fracture","worsening_headache","irritability","basal_skull_fracture","large_boggy_scalp_hematoma","dangerous_mechanism"],"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":["catch","head-ct","pediatric","emergency","trauma","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:06:41.903Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:06:41.69Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"basal_skull_fracture":false,"dangerous_mechanism":false,"gcs_lt_15_at_2h":false,"irritability":false,"large_boggy_scalp_hematoma":false,"suspected_open_or_depressed_skull_fracture":false,"worsening_headache":false},{"basal_skull_fracture":false,"dangerous_mechanism":false,"gcs_lt_15_at_2h":false,"irritability":false,"large_boggy_scalp_hematoma":false,"suspected_open_or_depressed_skull_fracture":false,"worsening_headache":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"catch_high_risk":false,"catch_low_risk":true,"catch_medium_risk":false,"citation":{"authors":"Osmond MH, Klassen TP, Wells GA, et al.","doi":"10.1503/cmaj.091421","id":"osmond-2010","pmid":"20142371","source":"CMAJ. 2010;182(4):341-348","title":"CATCH: a clinical decision rule for the use of computed tomography in children with minor head injury"},"criteria":[{"factor":"gcs_lt_15_at_2h","met":false},{"factor":"suspected_open_or_depressed_skull_fracture","met":false},{"factor":"worsening_headache","met":false},{"factor":"irritability","met":false},{"factor":"basal_skull_fracture","met":false},{"factor":"large_boggy_scalp_hematoma","met":false},{"factor":"dangerous_mechanism","met":false}],"ct_indicated":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":"catch","formula_expression":"high if any of gcs_lt_15_at_2h, suspected_open_or_depressed_skull_fracture, worsening_headache, irritability; else medium if any of basal_skull_fracture, large_boggy_scalp_hematoma, dangerous_mechanism; else low; CT indicated if high or medium"},{"catch_high_risk":false,"catch_low_risk":true,"catch_medium_risk":false,"citation":{"authors":"Osmond MH, Klassen TP, Wells GA, et al.","doi":"10.1503/cmaj.091421","id":"osmond-2010","pmid":"20142371","source":"CMAJ. 2010;182(4):341-348","title":"CATCH: a clinical decision rule for the use of computed tomography in children with minor head injury"},"criteria":[{"factor":"gcs_lt_15_at_2h","met":false},{"factor":"suspected_open_or_depressed_skull_fracture","met":false},{"factor":"worsening_headache","met":false},{"factor":"irritability","met":false},{"factor":"basal_skull_fracture","met":false},{"factor":"large_boggy_scalp_hematoma","met":false},{"factor":"dangerous_mechanism","met":false}],"ct_indicated":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":"catch","formula_expression":"high if any of gcs_lt_15_at_2h, suspected_open_or_depressed_skull_fracture, worsening_headache, irritability; else medium if any of basal_skull_fracture, large_boggy_scalp_hematoma, dangerous_mechanism; else low; CT indicated if high or medium"}],"path":"/api/calc/catch"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"basal_skull_fracture":{"description":"Any sign of basal skull fracture. true or false as assigned by the caller. Medium-risk (brain injury on CT). magent does not examine the child.","type":"boolean"},"dangerous_mechanism":{"description":"Dangerous mechanism of injury as assigned by the caller. true or false. Medium-risk (brain injury on CT). Paper examples: motor vehicle collision, fall from elevation ≥3 ft / ≥91 cm or 5 stairs, fall from bicycle with no helmet. magent does not classify mechanism.","type":"boolean"},"gcs_lt_15_at_2h":{"description":"GCS score <15 at two hours after injury. true or false as assigned by the caller. High-risk (need for neurologic intervention). magent does not take a GCS integer.","type":"boolean"},"irritability":{"description":"Irritability on examination. true or false as assigned by the caller. High-risk (need for neurologic intervention). magent does not examine the child.","type":"boolean"},"large_boggy_scalp_hematoma":{"description":"Large, boggy hematoma of the scalp. true or false as assigned by the caller. Medium-risk (brain injury on CT). magent does not examine the child.","type":"boolean"},"suspected_open_or_depressed_skull_fracture":{"description":"Suspected open or depressed skull fracture. true or false as assigned by the caller. High-risk (need for neurologic intervention). magent does not examine the child.","type":"boolean"},"worsening_headache":{"description":"History of worsening headache. true or false as assigned by the caller. High-risk (need for neurologic intervention).","type":"boolean"}},"required":["gcs_lt_15_at_2h","suspected_open_or_depressed_skull_fracture","worsening_headache","irritability","basal_skull_fracture","large_boggy_scalp_hematoma","dangerous_mechanism"],"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},{"id":39297,"slug":"39297","resource":"https://api.magentlab.com/api/calc/atria","description":"Fang 2011 ATRIA hemorrhage score: anemia caller flag 3 (paper Hb <13 g/dL men or <12 g/dL women); severe renal disease (eGFR <30 or dialysis) caller flag 3; age >=75 scores 2; prior hemorrhage 1; diagnosed hypertension 1. Max 10. Score 0-3 low, 4 intermediate, 5-10 high. Not a diagnosis. Not a warfarin order. Not HAS-BLED. magent does not measure hemoglobin or compute eGFR.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":60,"anemia":false,"hypertension":false,"prior_hemorrhage":false,"severe_renal_disease":false},{"age":60,"anemia":false,"hypertension":false,"prior_hemorrhage":false,"severe_renal_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Fang MC, Go AS, Chang Y, et al.","doi":"10.1016/j.jacc.2011.03.031","id":"fang-2011","pmid":"21757117","source":"J Am Coll Cardiol. 2011;58(4):395-401","title":"A new risk scheme to predict warfarin-associated hemorrhage: the ATRIA (Anticoagulation and Risk Factors in Atrial Fibrillation) Study"},"components":[{"factor":"anemia","points":0,"present":false},{"factor":"severe_renal_disease","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false,"value":60},{"factor":"prior_hemorrhage","points":0,"present":false},{"factor":"hypertension","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":"atria","formula_expression":"ATRIA = anemia (3) + severe_renal_disease (3) + age_ge_75 (2) + prior_hemorrhage (1) + hypertension (1); max 10; 0-3 low, 4 intermediate, 5-10 high","max_score":10,"risk_band":"low","score":0},{"age_years":60,"citation":{"authors":"Fang MC, Go AS, Chang Y, et al.","doi":"10.1016/j.jacc.2011.03.031","id":"fang-2011","pmid":"21757117","source":"J Am Coll Cardiol. 2011;58(4):395-401","title":"A new risk scheme to predict warfarin-associated hemorrhage: the ATRIA (Anticoagulation and Risk Factors in Atrial Fibrillation) Study"},"components":[{"factor":"anemia","points":0,"present":false},{"factor":"severe_renal_disease","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false,"value":60},{"factor":"prior_hemorrhage","points":0,"present":false},{"factor":"hypertension","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":"atria","formula_expression":"ATRIA = anemia (3) + severe_renal_disease (3) + age_ge_75 (2) + prior_hemorrhage (1) + hypertension (1); max 10; 0-3 low, 4 intermediate, 5-10 high","max_score":10,"risk_band":"low","score":0}],"path":"/api/calc/atria"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥75 scores 2 (75 scores; 74 does not).","type":"integer"},"anemia":{"description":"Anemia as assigned by the caller (paper: hemoglobin <13 g/dL in men or <12 g/dL in women). true or false. Scores 3. magent does not measure hemoglobin.","type":"boolean"},"hypertension":{"description":"Diagnosed hypertension as assigned by the caller. true or false. Scores 1.","type":"boolean"},"prior_hemorrhage":{"description":"Any prior hemorrhage diagnosis as assigned by the caller. true or false. Scores 1.","type":"boolean"},"severe_renal_disease":{"description":"Severe renal disease as assigned by the caller (paper: eGFR <30 or dialysis). true or false. Scores 3. magent does not compute eGFR.","type":"boolean"}},"required":["anemia","severe_renal_disease","age","prior_hemorrhage","hypertension"],"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":["atria","bleeding","afib","hemorrhage","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:00:52.686Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:00:52.534Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":60,"anemia":false,"hypertension":false,"prior_hemorrhage":false,"severe_renal_disease":false},{"age":60,"anemia":false,"hypertension":false,"prior_hemorrhage":false,"severe_renal_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Fang MC, Go AS, Chang Y, et al.","doi":"10.1016/j.jacc.2011.03.031","id":"fang-2011","pmid":"21757117","source":"J Am Coll Cardiol. 2011;58(4):395-401","title":"A new risk scheme to predict warfarin-associated hemorrhage: the ATRIA (Anticoagulation and Risk Factors in Atrial Fibrillation) Study"},"components":[{"factor":"anemia","points":0,"present":false},{"factor":"severe_renal_disease","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false,"value":60},{"factor":"prior_hemorrhage","points":0,"present":false},{"factor":"hypertension","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":"atria","formula_expression":"ATRIA = anemia (3) + severe_renal_disease (3) + age_ge_75 (2) + prior_hemorrhage (1) + hypertension (1); max 10; 0-3 low, 4 intermediate, 5-10 high","max_score":10,"risk_band":"low","score":0},{"age_years":60,"citation":{"authors":"Fang MC, Go AS, Chang Y, et al.","doi":"10.1016/j.jacc.2011.03.031","id":"fang-2011","pmid":"21757117","source":"J Am Coll Cardiol. 2011;58(4):395-401","title":"A new risk scheme to predict warfarin-associated hemorrhage: the ATRIA (Anticoagulation and Risk Factors in Atrial Fibrillation) Study"},"components":[{"factor":"anemia","points":0,"present":false},{"factor":"severe_renal_disease","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false,"value":60},{"factor":"prior_hemorrhage","points":0,"present":false},{"factor":"hypertension","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":"atria","formula_expression":"ATRIA = anemia (3) + severe_renal_disease (3) + age_ge_75 (2) + prior_hemorrhage (1) + hypertension (1); max 10; 0-3 low, 4 intermediate, 5-10 high","max_score":10,"risk_band":"low","score":0}],"path":"/api/calc/atria"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥75 scores 2 (75 scores; 74 does not).","type":"integer"},"anemia":{"description":"Anemia as assigned by the caller (paper: hemoglobin <13 g/dL in men or <12 g/dL in women). true or false. Scores 3. magent does not measure hemoglobin.","type":"boolean"},"hypertension":{"description":"Diagnosed hypertension as assigned by the caller. true or false. Scores 1.","type":"boolean"},"prior_hemorrhage":{"description":"Any prior hemorrhage diagnosis as assigned by the caller. true or false. Scores 1.","type":"boolean"},"severe_renal_disease":{"description":"Severe renal disease as assigned by the caller (paper: eGFR <30 or dialysis). true or false. Scores 3. magent does not compute eGFR.","type":"boolean"}},"required":["anemia","severe_renal_disease","age","prior_hemorrhage","hypertension"],"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},{"id":39298,"slug":"39298","resource":"https://api.magentlab.com/api/calc/asthma_api","description":"Asthma Predictive Index (Castro-Rodriguez 2000, Tucson Children's Respiratory Study). Stringent positive if early frequent wheeze (parent frequency scale > 3) plus 1+ major or 2+ minor criteria. Loose positive if any early wheeze plus the same risk factors. Majors: parental MD asthma, MD eczema. Minors: MD allergic rhinitis, wheezing apart from colds, circulating eosinophils >4% of WBC (caller-assigned). Not mAPI. Not an asthma diagnosis. magent does not examine the child. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"eosinophilia_gt_4pct":false,"md_allergic_rhinitis":false,"md_eczema":false,"parental_md_asthma":false,"wheeze":"none","wheezing_apart_from_colds":false},{"eosinophilia_gt_4pct":false,"md_allergic_rhinitis":false,"md_eczema":false,"parental_md_asthma":false,"wheeze":"none","wheezing_apart_from_colds":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Castro-Rodríguez JA, Holberg CJ, Wright AL, Martinez FD","doi":"10.1164/ajrccm.162.4.9912111","id":"castro-rodriguez-2000","pmid":"11029352","source":"Am J Respir Crit Care Med. 2000;162(4 Pt 1):1403-1406","title":"A clinical index to define risk of asthma in young children with recurrent wheezing"},"criteria":[{"factor":"parental_md_asthma","met":false},{"factor":"md_eczema","met":false},{"factor":"md_allergic_rhinitis","met":false},{"factor":"wheezing_apart_from_colds","met":false},{"factor":"eosinophilia_gt_4pct","met":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":"asthma_api","formula_expression":"stringent_positive iff wheeze is frequent and (major_count >= 1 or minor_count >= 2); loose_positive iff wheeze is any or frequent and the same risk factors; majors parental_md_asthma and md_eczema; minors md_allergic_rhinitis, wheezing_apart_from_colds, eosinophilia_gt_4pct (Castro-Rodriguez 2000 Table 1)","loose_positive":false,"major_count":0,"minor_count":0,"risk_factors_met":false,"stringent_positive":false,"wheeze":"none"},{"citation":{"authors":"Castro-Rodríguez JA, Holberg CJ, Wright AL, Martinez FD","doi":"10.1164/ajrccm.162.4.9912111","id":"castro-rodriguez-2000","pmid":"11029352","source":"Am J Respir Crit Care Med. 2000;162(4 Pt 1):1403-1406","title":"A clinical index to define risk of asthma in young children with recurrent wheezing"},"criteria":[{"factor":"parental_md_asthma","met":false},{"factor":"md_eczema","met":false},{"factor":"md_allergic_rhinitis","met":false},{"factor":"wheezing_apart_from_colds","met":false},{"factor":"eosinophilia_gt_4pct","met":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":"asthma_api","formula_expression":"stringent_positive iff wheeze is frequent and (major_count >= 1 or minor_count >= 2); loose_positive iff wheeze is any or frequent and the same risk factors; majors parental_md_asthma and md_eczema; minors md_allergic_rhinitis, wheezing_apart_from_colds, eosinophilia_gt_4pct (Castro-Rodriguez 2000 Table 1)","loose_positive":false,"major_count":0,"minor_count":0,"risk_factors_met":false,"stringent_positive":false,"wheeze":"none"}],"path":"/api/calc/asthma_api"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"eosinophilia_gt_4pct":{"description":"Circulating eosinophils >4% of WBC as assigned by the caller (Castro-Rodriguez 2000 Table 1). true or false. Minor criterion. magent does not take an eosinophil percent and does not interpret a CBC.","type":"boolean"},"md_allergic_rhinitis":{"description":"Physician-diagnosed allergic rhinitis as assigned by the caller. true or false. Minor criterion (Castro-Rodriguez 2000 Table 1). magent does not examine the child.","type":"boolean"},"md_eczema":{"description":"Physician-diagnosed eczema as assigned by the caller. true or false. Major criterion (Castro-Rodriguez 2000 Table 1). magent does not examine the child.","type":"boolean"},"parental_md_asthma":{"description":"Parental physician-diagnosed asthma as assigned by the caller. true or false. Major criterion (Castro-Rodriguez 2000 Table 1). magent does not take a family history.","type":"boolean"},"wheeze":{"description":"Early-wheeze class from Castro-Rodriguez 2000. none = not an early wheezer; any = early wheezer (chest ever sounded wheezy in the first 3 years); frequent = early frequent wheezer (parent frequency scale > 3). Loose index requires any or frequent. Stringent index requires frequent.","enum":["none","any","frequent"],"type":"string"},"wheezing_apart_from_colds":{"description":"Wheezing apart from colds as assigned by the caller. true or false. Minor criterion (Castro-Rodriguez 2000 Table 1). magent does not auscultate.","type":"boolean"}},"required":["wheeze","parental_md_asthma","md_eczema","md_allergic_rhinitis","wheezing_apart_from_colds","eosinophilia_gt_4pct"],"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":["asthma-api","pediatric-wheeze","respiratory","predictive-index","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:00:51.413Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:00:51.295Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"eosinophilia_gt_4pct":false,"md_allergic_rhinitis":false,"md_eczema":false,"parental_md_asthma":false,"wheeze":"none","wheezing_apart_from_colds":false},{"eosinophilia_gt_4pct":false,"md_allergic_rhinitis":false,"md_eczema":false,"parental_md_asthma":false,"wheeze":"none","wheezing_apart_from_colds":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Castro-Rodríguez JA, Holberg CJ, Wright AL, Martinez FD","doi":"10.1164/ajrccm.162.4.9912111","id":"castro-rodriguez-2000","pmid":"11029352","source":"Am J Respir Crit Care Med. 2000;162(4 Pt 1):1403-1406","title":"A clinical index to define risk of asthma in young children with recurrent wheezing"},"criteria":[{"factor":"parental_md_asthma","met":false},{"factor":"md_eczema","met":false},{"factor":"md_allergic_rhinitis","met":false},{"factor":"wheezing_apart_from_colds","met":false},{"factor":"eosinophilia_gt_4pct","met":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":"asthma_api","formula_expression":"stringent_positive iff wheeze is frequent and (major_count >= 1 or minor_count >= 2); loose_positive iff wheeze is any or frequent and the same risk factors; majors parental_md_asthma and md_eczema; minors md_allergic_rhinitis, wheezing_apart_from_colds, eosinophilia_gt_4pct (Castro-Rodriguez 2000 Table 1)","loose_positive":false,"major_count":0,"minor_count":0,"risk_factors_met":false,"stringent_positive":false,"wheeze":"none"},{"citation":{"authors":"Castro-Rodríguez JA, Holberg CJ, Wright AL, Martinez FD","doi":"10.1164/ajrccm.162.4.9912111","id":"castro-rodriguez-2000","pmid":"11029352","source":"Am J Respir Crit Care Med. 2000;162(4 Pt 1):1403-1406","title":"A clinical index to define risk of asthma in young children with recurrent wheezing"},"criteria":[{"factor":"parental_md_asthma","met":false},{"factor":"md_eczema","met":false},{"factor":"md_allergic_rhinitis","met":false},{"factor":"wheezing_apart_from_colds","met":false},{"factor":"eosinophilia_gt_4pct","met":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":"asthma_api","formula_expression":"stringent_positive iff wheeze is frequent and (major_count >= 1 or minor_count >= 2); loose_positive iff wheeze is any or frequent and the same risk factors; majors parental_md_asthma and md_eczema; minors md_allergic_rhinitis, wheezing_apart_from_colds, eosinophilia_gt_4pct (Castro-Rodriguez 2000 Table 1)","loose_positive":false,"major_count":0,"minor_count":0,"risk_factors_met":false,"stringent_positive":false,"wheeze":"none"}],"path":"/api/calc/asthma_api"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"eosinophilia_gt_4pct":{"description":"Circulating eosinophils >4% of WBC as assigned by the caller (Castro-Rodriguez 2000 Table 1). true or false. Minor criterion. magent does not take an eosinophil percent and does not interpret a CBC.","type":"boolean"},"md_allergic_rhinitis":{"description":"Physician-diagnosed allergic rhinitis as assigned by the caller. true or false. Minor criterion (Castro-Rodriguez 2000 Table 1). magent does not examine the child.","type":"boolean"},"md_eczema":{"description":"Physician-diagnosed eczema as assigned by the caller. true or false. Major criterion (Castro-Rodriguez 2000 Table 1). magent does not examine the child.","type":"boolean"},"parental_md_asthma":{"description":"Parental physician-diagnosed asthma as assigned by the caller. true or false. Major criterion (Castro-Rodriguez 2000 Table 1). magent does not take a family history.","type":"boolean"},"wheeze":{"description":"Early-wheeze class from Castro-Rodriguez 2000. none = not an early wheezer; any = early wheezer (chest ever sounded wheezy in the first 3 years); frequent = early frequent wheezer (parent frequency scale > 3). Loose index requires any or frequent. Stringent index requires frequent.","enum":["none","any","frequent"],"type":"string"},"wheezing_apart_from_colds":{"description":"Wheezing apart from colds as assigned by the caller. true or false. Minor criterion (Castro-Rodriguez 2000 Table 1). magent does not auscultate.","type":"boolean"}},"required":["wheeze","parental_md_asthma","md_eczema","md_allergic_rhinitis","wheezing_apart_from_colds","eosinophilia_gt_4pct"],"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},{"id":39299,"slug":"39299","resource":"https://api.magentlab.com/api/calc/asrs","description":"Kessler 2005 Adult ADHD Self-Report Scale (ASRS) v1.1 Part A: six caller-assigned 0-4 items (never to very often). wrap_up, organization, and remembering count at sometimes or more; avoid_delay, fidget, and motor count at often or more. Screen-positive at ≥4 of 6. Not an ADHD diagnosis, not a medical device, and not the 18-item ASRS or later 0-24 sum cutoffs. magent does not interpret the items.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"avoid_delay":0,"fidget":0,"motor":0,"organization":0,"remembering":0,"wrap_up":0},{"avoid_delay":0,"fidget":0,"motor":0,"organization":0,"remembering":0,"wrap_up":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kessler RC, Adler L, Ames M, et al.","doi":"10.1017/s0033291704002892","id":"kessler-2005","pmid":"15841682","source":"Psychol Med. 2005;35(2):245-256","title":"The World Health Organization Adult ADHD Self-Report Scale (ASRS): a short screening scale for use in the general population"},"components":[{"factor":"wrap_up","points":0,"present":false,"value":0},{"factor":"organization","points":0,"present":false,"value":0},{"factor":"remembering","points":0,"present":false,"value":0},{"factor":"avoid_delay","points":0,"present":false,"value":0},{"factor":"fidget","points":0,"present":false,"value":0},{"factor":"motor","points":0,"present":false,"value":0}],"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":"asrs","formula_expression":"ASRS Part A = count of Kessler 2005 clinically significant items among wrap_up, organization, remembering, avoid_delay, fidget, motor; wrap_up/organization/remembering ≥2 (sometimes); avoid_delay/fidget/motor ≥3 (often); screen-positive at ≥4; max 6","max_score":6,"score":0,"screen_positive":false},{"citation":{"authors":"Kessler RC, Adler L, Ames M, et al.","doi":"10.1017/s0033291704002892","id":"kessler-2005","pmid":"15841682","source":"Psychol Med. 2005;35(2):245-256","title":"The World Health Organization Adult ADHD Self-Report Scale (ASRS): a short screening scale for use in the general population"},"components":[{"factor":"wrap_up","points":0,"present":false,"value":0},{"factor":"organization","points":0,"present":false,"value":0},{"factor":"remembering","points":0,"present":false,"value":0},{"factor":"avoid_delay","points":0,"present":false,"value":0},{"factor":"fidget","points":0,"present":false,"value":0},{"factor":"motor","points":0,"present":false,"value":0}],"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":"asrs","formula_expression":"ASRS Part A = count of Kessler 2005 clinically significant items among wrap_up, organization, remembering, avoid_delay, fidget, motor; wrap_up/organization/remembering ≥2 (sometimes); avoid_delay/fidget/motor ≥3 (often); screen-positive at ≥4; max 6","max_score":6,"score":0,"screen_positive":false}],"path":"/api/calc/asrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"avoid_delay":{"description":"Caller-assigned Kessler 2005 ASRS v1.1 Part A item 4 (integer 0-4): when you have a task that requires a lot of thought, how often do you avoid or delay getting started? Clinically significant at often or more. magent does not interpret the item.","type":"integer"},"fidget":{"description":"Caller-assigned Kessler 2005 ASRS v1.1 Part A item 5 (integer 0-4): how often do you fidget or squirm with your hands or your feet when you have to sit down for a long time? Clinically significant at often or more. magent does not interpret the item.","type":"integer"},"motor":{"description":"Caller-assigned Kessler 2005 ASRS v1.1 Part A item 6 (integer 0-4): how often do you feel overly active and compelled to do things, like you were driven by a motor? Clinically significant at often or more. magent does not interpret the item.","type":"integer"},"organization":{"description":"Caller-assigned Kessler 2005 ASRS v1.1 Part A item 2 (integer 0-4): how often do you have difficulty getting things in order when you have to do a task that requires organization? Clinically significant at sometimes or more. magent does not interpret the item.","type":"integer"},"remembering":{"description":"Caller-assigned Kessler 2005 ASRS v1.1 Part A item 3 (integer 0-4): how often do you have problems remembering appointments or obligations? Clinically significant at sometimes or more. magent does not interpret the item.","type":"integer"},"wrap_up":{"description":"Caller-assigned Kessler 2005 ASRS v1.1 Part A item 1 (integer 0-4): how often do you have trouble wrapping up the fine details of a project, once the challenging parts have been done? (0 never, 1 rarely, 2 sometimes, 3 often, 4 very often). Clinically significant at sometimes or more. magent does not interpret the item.","type":"integer"}},"required":["wrap_up","organization","remembering","avoid_delay","fidget","motor"],"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":["asrs","adhd","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T00:00:50.428Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T00:00:50.263Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"avoid_delay":0,"fidget":0,"motor":0,"organization":0,"remembering":0,"wrap_up":0},{"avoid_delay":0,"fidget":0,"motor":0,"organization":0,"remembering":0,"wrap_up":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kessler RC, Adler L, Ames M, et al.","doi":"10.1017/s0033291704002892","id":"kessler-2005","pmid":"15841682","source":"Psychol Med. 2005;35(2):245-256","title":"The World Health Organization Adult ADHD Self-Report Scale (ASRS): a short screening scale for use in the general population"},"components":[{"factor":"wrap_up","points":0,"present":false,"value":0},{"factor":"organization","points":0,"present":false,"value":0},{"factor":"remembering","points":0,"present":false,"value":0},{"factor":"avoid_delay","points":0,"present":false,"value":0},{"factor":"fidget","points":0,"present":false,"value":0},{"factor":"motor","points":0,"present":false,"value":0}],"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":"asrs","formula_expression":"ASRS Part A = count of Kessler 2005 clinically significant items among wrap_up, organization, remembering, avoid_delay, fidget, motor; wrap_up/organization/remembering ≥2 (sometimes); avoid_delay/fidget/motor ≥3 (often); screen-positive at ≥4; max 6","max_score":6,"score":0,"screen_positive":false},{"citation":{"authors":"Kessler RC, Adler L, Ames M, et al.","doi":"10.1017/s0033291704002892","id":"kessler-2005","pmid":"15841682","source":"Psychol Med. 2005;35(2):245-256","title":"The World Health Organization Adult ADHD Self-Report Scale (ASRS): a short screening scale for use in the general population"},"components":[{"factor":"wrap_up","points":0,"present":false,"value":0},{"factor":"organization","points":0,"present":false,"value":0},{"factor":"remembering","points":0,"present":false,"value":0},{"factor":"avoid_delay","points":0,"present":false,"value":0},{"factor":"fidget","points":0,"present":false,"value":0},{"factor":"motor","points":0,"present":false,"value":0}],"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":"asrs","formula_expression":"ASRS Part A = count of Kessler 2005 clinically significant items among wrap_up, organization, remembering, avoid_delay, fidget, motor; wrap_up/organization/remembering ≥2 (sometimes); avoid_delay/fidget/motor ≥3 (often); screen-positive at ≥4; max 6","max_score":6,"score":0,"screen_positive":false}],"path":"/api/calc/asrs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"avoid_delay":{"description":"Caller-assigned Kessler 2005 ASRS v1.1 Part A item 4 (integer 0-4): when you have a task that requires a lot of thought, how often do you avoid or delay getting started? Clinically significant at often or more. magent does not interpret the item.","type":"integer"},"fidget":{"description":"Caller-assigned Kessler 2005 ASRS v1.1 Part A item 5 (integer 0-4): how often do you fidget or squirm with your hands or your feet when you have to sit down for a long time? Clinically significant at often or more. magent does not interpret the item.","type":"integer"},"motor":{"description":"Caller-assigned Kessler 2005 ASRS v1.1 Part A item 6 (integer 0-4): how often do you feel overly active and compelled to do things, like you were driven by a motor? Clinically significant at often or more. magent does not interpret the item.","type":"integer"},"organization":{"description":"Caller-assigned Kessler 2005 ASRS v1.1 Part A item 2 (integer 0-4): how often do you have difficulty getting things in order when you have to do a task that requires organization? Clinically significant at sometimes or more. magent does not interpret the item.","type":"integer"},"remembering":{"description":"Caller-assigned Kessler 2005 ASRS v1.1 Part A item 3 (integer 0-4): how often do you have problems remembering appointments or obligations? Clinically significant at sometimes or more. magent does not interpret the item.","type":"integer"},"wrap_up":{"description":"Caller-assigned Kessler 2005 ASRS v1.1 Part A item 1 (integer 0-4): how often do you have trouble wrapping up the fine details of a project, once the challenging parts have been done? (0 never, 1 rarely, 2 sometimes, 3 often, 4 very often). Clinically significant at sometimes or more. magent does not interpret the item.","type":"integer"}},"required":["wrap_up","organization","remembering","avoid_delay","fidget","motor"],"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},{"id":39300,"slug":"39300","resource":"https://api.magentlab.com/api/calc/aspects","description":"Barber 2000 ASPECTS: 10 minus 1 for each caller-assigned MCA region with early ischemic change (C caudate, L lentiform, IC internal capsule, I insular ribbon, M1–M6). Score 0–10. Not pc-ASPECTS. magent does not read the CT. Not a diagnosis, lytic order, or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"caudate":false,"insular_ribbon":false,"internal_capsule":false,"lentiform":false,"m1":false,"m2":false,"m3":false,"m4":false,"m5":false,"m6":false},{"caudate":false,"insular_ribbon":false,"internal_capsule":false,"lentiform":false,"m1":false,"m2":false,"m3":false,"m4":false,"m5":false,"m6":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Barber PA, Demchuk AM, Zhang J, Buchan AM","doi":"10.1016/S0140-6736(00)02237-6","id":"barber-2000-aspects","pmid":"10905241","source":"Lancet. 2000;355(9216):1670-1674","title":"Validity and reliability of a quantitative computed tomography score in predicting outcome of hyperacute stroke before thrombolytic therapy"},"components":[{"factor":"caudate","points":0,"present":false},{"factor":"lentiform","points":0,"present":false},{"factor":"internal_capsule","points":0,"present":false},{"factor":"insular_ribbon","points":0,"present":false},{"factor":"m1","points":0,"present":false},{"factor":"m2","points":0,"present":false},{"factor":"m3","points":0,"present":false},{"factor":"m4","points":0,"present":false},{"factor":"m5","points":0,"present":false},{"factor":"m6","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":"aspects","formula_expression":"ASPECTS = 10 - (C + L + IC + I + M1 + M2 + M3 + M4 + M5 + M6); 1 point subtracted for caller-assigned early ischemic change (focal swelling or parenchymal hypoattenuation) in each published MCA-territory region; C=caudate, L=lentiform, IC=internal capsule, I=insular ribbon, M1=anterior MCA cortex, M2=MCA cortex lateral to insular ribbon, M3=posterior MCA cortex, M4/M5/M6=anterior/lateral/posterior MCA territories immediately superior to M1/M2/M3, rostral to basal ganglia; Barber 2000; score 0-10; not posterior-circulation pc-ASPECTS","max_score":10,"score":10},{"citation":{"authors":"Barber PA, Demchuk AM, Zhang J, Buchan AM","doi":"10.1016/S0140-6736(00)02237-6","id":"barber-2000-aspects","pmid":"10905241","source":"Lancet. 2000;355(9216):1670-1674","title":"Validity and reliability of a quantitative computed tomography score in predicting outcome of hyperacute stroke before thrombolytic therapy"},"components":[{"factor":"caudate","points":0,"present":false},{"factor":"lentiform","points":0,"present":false},{"factor":"internal_capsule","points":0,"present":false},{"factor":"insular_ribbon","points":0,"present":false},{"factor":"m1","points":0,"present":false},{"factor":"m2","points":0,"present":false},{"factor":"m3","points":0,"present":false},{"factor":"m4","points":0,"present":false},{"factor":"m5","points":0,"present":false},{"factor":"m6","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":"aspects","formula_expression":"ASPECTS = 10 - (C + L + IC + I + M1 + M2 + M3 + M4 + M5 + M6); 1 point subtracted for caller-assigned early ischemic change (focal swelling or parenchymal hypoattenuation) in each published MCA-territory region; C=caudate, L=lentiform, IC=internal capsule, I=insular ribbon, M1=anterior MCA cortex, M2=MCA cortex lateral to insular ribbon, M3=posterior MCA cortex, M4/M5/M6=anterior/lateral/posterior MCA territories immediately superior to M1/M2/M3, rostral to basal ganglia; Barber 2000; score 0-10; not posterior-circulation pc-ASPECTS","max_score":10,"score":10}],"path":"/api/calc/aspects"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"caudate":{"description":"Caudate (C). Caller-assigned early ischemic change in the published caudate region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"insular_ribbon":{"description":"Insular ribbon (I). Caller-assigned early ischemic change in the published insular-ribbon region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"internal_capsule":{"description":"Internal capsule (IC). Caller-assigned early ischemic change in the published internal-capsule region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"lentiform":{"description":"Lentiform (L). Caller-assigned early ischemic change in the published lentiform region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"m1":{"description":"Anterior MCA cortex (M1). Caller-assigned early ischemic change in the published M1 region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"m2":{"description":"MCA cortex lateral to insular ribbon (M2). Caller-assigned early ischemic change in the published M2 region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"m3":{"description":"Posterior MCA cortex (M3). Caller-assigned early ischemic change in the published M3 region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"m4":{"description":"Anterior MCA territory immediately superior to M1, rostral to basal ganglia (M4). Caller-assigned early ischemic change in the published M4 region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"m5":{"description":"Lateral MCA territory immediately superior to M2, rostral to basal ganglia (M5). Caller-assigned early ischemic change in the published M5 region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"m6":{"description":"Posterior MCA territory immediately superior to M3, rostral to basal ganglia (M6). Caller-assigned early ischemic change in the published M6 region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"}},"required":["caudate","lentiform","internal_capsule","insular_ribbon","m1","m2","m3","m4","m5","m6"],"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":["aspects","stroke","neurology","barber","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:56:04.909Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:56:04.8Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"caudate":false,"insular_ribbon":false,"internal_capsule":false,"lentiform":false,"m1":false,"m2":false,"m3":false,"m4":false,"m5":false,"m6":false},{"caudate":false,"insular_ribbon":false,"internal_capsule":false,"lentiform":false,"m1":false,"m2":false,"m3":false,"m4":false,"m5":false,"m6":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Barber PA, Demchuk AM, Zhang J, Buchan AM","doi":"10.1016/S0140-6736(00)02237-6","id":"barber-2000-aspects","pmid":"10905241","source":"Lancet. 2000;355(9216):1670-1674","title":"Validity and reliability of a quantitative computed tomography score in predicting outcome of hyperacute stroke before thrombolytic therapy"},"components":[{"factor":"caudate","points":0,"present":false},{"factor":"lentiform","points":0,"present":false},{"factor":"internal_capsule","points":0,"present":false},{"factor":"insular_ribbon","points":0,"present":false},{"factor":"m1","points":0,"present":false},{"factor":"m2","points":0,"present":false},{"factor":"m3","points":0,"present":false},{"factor":"m4","points":0,"present":false},{"factor":"m5","points":0,"present":false},{"factor":"m6","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":"aspects","formula_expression":"ASPECTS = 10 - (C + L + IC + I + M1 + M2 + M3 + M4 + M5 + M6); 1 point subtracted for caller-assigned early ischemic change (focal swelling or parenchymal hypoattenuation) in each published MCA-territory region; C=caudate, L=lentiform, IC=internal capsule, I=insular ribbon, M1=anterior MCA cortex, M2=MCA cortex lateral to insular ribbon, M3=posterior MCA cortex, M4/M5/M6=anterior/lateral/posterior MCA territories immediately superior to M1/M2/M3, rostral to basal ganglia; Barber 2000; score 0-10; not posterior-circulation pc-ASPECTS","max_score":10,"score":10},{"citation":{"authors":"Barber PA, Demchuk AM, Zhang J, Buchan AM","doi":"10.1016/S0140-6736(00)02237-6","id":"barber-2000-aspects","pmid":"10905241","source":"Lancet. 2000;355(9216):1670-1674","title":"Validity and reliability of a quantitative computed tomography score in predicting outcome of hyperacute stroke before thrombolytic therapy"},"components":[{"factor":"caudate","points":0,"present":false},{"factor":"lentiform","points":0,"present":false},{"factor":"internal_capsule","points":0,"present":false},{"factor":"insular_ribbon","points":0,"present":false},{"factor":"m1","points":0,"present":false},{"factor":"m2","points":0,"present":false},{"factor":"m3","points":0,"present":false},{"factor":"m4","points":0,"present":false},{"factor":"m5","points":0,"present":false},{"factor":"m6","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":"aspects","formula_expression":"ASPECTS = 10 - (C + L + IC + I + M1 + M2 + M3 + M4 + M5 + M6); 1 point subtracted for caller-assigned early ischemic change (focal swelling or parenchymal hypoattenuation) in each published MCA-territory region; C=caudate, L=lentiform, IC=internal capsule, I=insular ribbon, M1=anterior MCA cortex, M2=MCA cortex lateral to insular ribbon, M3=posterior MCA cortex, M4/M5/M6=anterior/lateral/posterior MCA territories immediately superior to M1/M2/M3, rostral to basal ganglia; Barber 2000; score 0-10; not posterior-circulation pc-ASPECTS","max_score":10,"score":10}],"path":"/api/calc/aspects"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"caudate":{"description":"Caudate (C). Caller-assigned early ischemic change in the published caudate region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"insular_ribbon":{"description":"Insular ribbon (I). Caller-assigned early ischemic change in the published insular-ribbon region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"internal_capsule":{"description":"Internal capsule (IC). Caller-assigned early ischemic change in the published internal-capsule region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"lentiform":{"description":"Lentiform (L). Caller-assigned early ischemic change in the published lentiform region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"m1":{"description":"Anterior MCA cortex (M1). Caller-assigned early ischemic change in the published M1 region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"m2":{"description":"MCA cortex lateral to insular ribbon (M2). Caller-assigned early ischemic change in the published M2 region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"m3":{"description":"Posterior MCA cortex (M3). Caller-assigned early ischemic change in the published M3 region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"m4":{"description":"Anterior MCA territory immediately superior to M1, rostral to basal ganglia (M4). Caller-assigned early ischemic change in the published M4 region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"m5":{"description":"Lateral MCA territory immediately superior to M2, rostral to basal ganglia (M5). Caller-assigned early ischemic change in the published M5 region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"},"m6":{"description":"Posterior MCA territory immediately superior to M3, rostral to basal ganglia (M6). Caller-assigned early ischemic change in the published M6 region (Barber 2000). magent does not read the CT. true or false.","type":"boolean"}},"required":["caudate","lentiform","internal_capsule","insular_ribbon","m1","m2","m3","m4","m5","m6"],"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},{"id":39301,"slug":"39301","resource":"https://api.magentlab.com/api/calc/asds","description":"Acute Stroke Dysphagia Screen (Edmiaston 2010). Pass only when all five hold: GCS ≥13 and no facial, tongue, or palatal asymmetry or weakness, and no 3-ounce water-swallow aspiration signs. Fail-any screen. Caller assigns GCS and the four bedside flags. magent does not examine cranial nerves or administer water. Not a dysphagia diagnosis, not a diet order, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"facial_asymmetry_or_weakness":false,"gcs":15,"palatal_asymmetry_or_weakness":false,"tongue_asymmetry_or_weakness":false,"water_swallow_aspiration_signs":false},{"facial_asymmetry_or_weakness":false,"gcs":15,"palatal_asymmetry_or_weakness":false,"tongue_asymmetry_or_weakness":false,"water_swallow_aspiration_signs":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"asds_pass":true,"citation":{"authors":"Edmiaston J, Connor LT, Loehr L, Nassief A","doi":"10.4037/ajcc2009961","id":"edmiaston-2010","pmid":"19875722","source":"Am J Crit Care. 2010;19(4):357-364","title":"Validation of a dysphagia screening tool in acute stroke patients"},"criteria":[{"factor":"gcs_ge_13","met":true,"value":15},{"factor":"no_facial_asymmetry_or_weakness","met":true},{"factor":"no_tongue_asymmetry_or_weakness","met":true},{"factor":"no_palatal_asymmetry_or_weakness","met":true},{"factor":"no_water_swallow_aspiration_signs","met":true}],"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":"asds","formula_expression":"asds_pass iff GCS >= 13 and no facial_asymmetry_or_weakness and no tongue_asymmetry_or_weakness and no palatal_asymmetry_or_weakness and no water_swallow_aspiration_signs (Edmiaston 2010 five-item fail-any)"},{"asds_pass":true,"citation":{"authors":"Edmiaston J, Connor LT, Loehr L, Nassief A","doi":"10.4037/ajcc2009961","id":"edmiaston-2010","pmid":"19875722","source":"Am J Crit Care. 2010;19(4):357-364","title":"Validation of a dysphagia screening tool in acute stroke patients"},"criteria":[{"factor":"gcs_ge_13","met":true,"value":15},{"factor":"no_facial_asymmetry_or_weakness","met":true},{"factor":"no_tongue_asymmetry_or_weakness","met":true},{"factor":"no_palatal_asymmetry_or_weakness","met":true},{"factor":"no_water_swallow_aspiration_signs","met":true}],"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":"asds","formula_expression":"asds_pass iff GCS >= 13 and no facial_asymmetry_or_weakness and no tongue_asymmetry_or_weakness and no palatal_asymmetry_or_weakness and no water_swallow_aspiration_signs (Edmiaston 2010 five-item fail-any)"}],"path":"/api/calc/asds"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"facial_asymmetry_or_weakness":{"description":"Facial asymmetry or weakness. true or false as assigned by the caller. Criterion met when false. magent does not examine cranial nerves.","type":"boolean"},"gcs":{"description":"Caller-assigned total GCS as an integer 3-15. Criterion met when GCS ≥ 13; 12 does not meet. magent does not assign GCS (use /api/calc/gcs for eye, verbal, and motor).","type":"integer"},"palatal_asymmetry_or_weakness":{"description":"Palatal asymmetry or weakness. true or false as assigned by the caller. Criterion met when false. magent does not examine cranial nerves.","type":"boolean"},"tongue_asymmetry_or_weakness":{"description":"Tongue asymmetry or weakness. true or false as assigned by the caller. Criterion met when false. magent does not examine cranial nerves.","type":"boolean"},"water_swallow_aspiration_signs":{"description":"Signs of aspiration on a 3-ounce water swallow as assigned by the caller. true or false. Criterion met when false. magent does not administer a swallow test.","type":"boolean"}},"required":["gcs","facial_asymmetry_or_weakness","tongue_asymmetry_or_weakness","palatal_asymmetry_or_weakness","water_swallow_aspiration_signs"],"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":["asds","dysphagia","stroke","swallow","neurology","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:56:03.233Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:56:02.963Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"facial_asymmetry_or_weakness":false,"gcs":15,"palatal_asymmetry_or_weakness":false,"tongue_asymmetry_or_weakness":false,"water_swallow_aspiration_signs":false},{"facial_asymmetry_or_weakness":false,"gcs":15,"palatal_asymmetry_or_weakness":false,"tongue_asymmetry_or_weakness":false,"water_swallow_aspiration_signs":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"asds_pass":true,"citation":{"authors":"Edmiaston J, Connor LT, Loehr L, Nassief A","doi":"10.4037/ajcc2009961","id":"edmiaston-2010","pmid":"19875722","source":"Am J Crit Care. 2010;19(4):357-364","title":"Validation of a dysphagia screening tool in acute stroke patients"},"criteria":[{"factor":"gcs_ge_13","met":true,"value":15},{"factor":"no_facial_asymmetry_or_weakness","met":true},{"factor":"no_tongue_asymmetry_or_weakness","met":true},{"factor":"no_palatal_asymmetry_or_weakness","met":true},{"factor":"no_water_swallow_aspiration_signs","met":true}],"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":"asds","formula_expression":"asds_pass iff GCS >= 13 and no facial_asymmetry_or_weakness and no tongue_asymmetry_or_weakness and no palatal_asymmetry_or_weakness and no water_swallow_aspiration_signs (Edmiaston 2010 five-item fail-any)"},{"asds_pass":true,"citation":{"authors":"Edmiaston J, Connor LT, Loehr L, Nassief A","doi":"10.4037/ajcc2009961","id":"edmiaston-2010","pmid":"19875722","source":"Am J Crit Care. 2010;19(4):357-364","title":"Validation of a dysphagia screening tool in acute stroke patients"},"criteria":[{"factor":"gcs_ge_13","met":true,"value":15},{"factor":"no_facial_asymmetry_or_weakness","met":true},{"factor":"no_tongue_asymmetry_or_weakness","met":true},{"factor":"no_palatal_asymmetry_or_weakness","met":true},{"factor":"no_water_swallow_aspiration_signs","met":true}],"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":"asds","formula_expression":"asds_pass iff GCS >= 13 and no facial_asymmetry_or_weakness and no tongue_asymmetry_or_weakness and no palatal_asymmetry_or_weakness and no water_swallow_aspiration_signs (Edmiaston 2010 five-item fail-any)"}],"path":"/api/calc/asds"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"facial_asymmetry_or_weakness":{"description":"Facial asymmetry or weakness. true or false as assigned by the caller. Criterion met when false. magent does not examine cranial nerves.","type":"boolean"},"gcs":{"description":"Caller-assigned total GCS as an integer 3-15. Criterion met when GCS ≥ 13; 12 does not meet. magent does not assign GCS (use /api/calc/gcs for eye, verbal, and motor).","type":"integer"},"palatal_asymmetry_or_weakness":{"description":"Palatal asymmetry or weakness. true or false as assigned by the caller. Criterion met when false. magent does not examine cranial nerves.","type":"boolean"},"tongue_asymmetry_or_weakness":{"description":"Tongue asymmetry or weakness. true or false as assigned by the caller. Criterion met when false. magent does not examine cranial nerves.","type":"boolean"},"water_swallow_aspiration_signs":{"description":"Signs of aspiration on a 3-ounce water swallow as assigned by the caller. true or false. Criterion met when false. magent does not administer a swallow test.","type":"boolean"}},"required":["gcs","facial_asymmetry_or_weakness","tongue_asymmetry_or_weakness","palatal_asymmetry_or_weakness","water_swallow_aspiration_signs"],"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},{"id":39302,"slug":"39302","resource":"https://api.magentlab.com/api/calc/ascvd_vhr","description":"AHA/ACC 2018 Table 4 very high-risk ASCVD for known clinical ASCVD. Very high-risk if ≥2 major events (recent ACS, prior MI, ischemic stroke, symptomatic PAD) or 1 major event and ≥2 high-risk conditions (age ≥65, heterozygous FH, CABG/PCI outside those events, diabetes, hypertension, CKD eGFR 15-59, current smoking, LDL-C ≥100 on max statin and ezetimibe, congestive HF). Not PCE. Not a statin, ezetimibe, or PCSK9 order. magent does not diagnose ASCVD or measure ABI or LDL-C.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"ckd_egfr_15_to_59":false,"congestive_hf":false,"current_smoking":false,"diabetes":true,"heterozygous_fh":false,"history_mi":true,"hypertension":false,"ischemic_stroke":false,"ldl_c_ge_100_on_max_statin_ezetimibe":false,"prior_cabg_or_pci_outside_major":false,"recent_acs":false,"symptomatic_pad":false},{"age":70,"ckd_egfr_15_to_59":false,"congestive_hf":false,"current_smoking":false,"diabetes":true,"heterozygous_fh":false,"history_mi":true,"hypertension":false,"ischemic_stroke":false,"ldl_c_ge_100_on_max_statin_ezetimibe":false,"prior_cabg_or_pci_outside_major":false,"recent_acs":false,"symptomatic_pad":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":70,"citation":{"authors":"Grundy SM, Stone NJ, Bailey AL, et al.","doi":"10.1161/CIR.0000000000000625","id":"grundy-2018-aha-acc-cholesterol","pmid":"30586774","source":"Circulation. 2019;139(25):e1082-e1143","title":"2018 AHA/ACC/AACVPR/AAPA/ABC/ACPM/ADA/AGS/APhA/ASPC/NLA/PCNA Guideline on the Management of Blood Cholesterol"},"classifying_rule":"one_major_and_multiple_high_risk_conditions","criteria":[{"factor":"recent_acs","met":false},{"factor":"history_mi","met":true},{"factor":"ischemic_stroke","met":false},{"factor":"symptomatic_pad","met":false},{"factor":"age_ge_65","met":true,"value":70},{"factor":"heterozygous_fh","met":false},{"factor":"prior_cabg_or_pci_outside_major","met":false},{"factor":"diabetes","met":true},{"factor":"hypertension","met":false},{"factor":"ckd_egfr_15_to_59","met":false},{"factor":"current_smoking","met":false},{"factor":"ldl_c_ge_100_on_max_statin_ezetimibe","met":false},{"factor":"congestive_hf","met":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":"ascvd_vhr","formula_expression":"very_high_risk iff major_event_count ≥ 2 or (major_event_count = 1 and high_risk_condition_count ≥ 2) (AHA/ACC 2018 Table 4 / Figure 1). Major events (caller-assigned): recent ACS within 12 months; history of MI other than that recent ACS; history of ischemic stroke; symptomatic PAD (claudication with ABI <0.85, or prior revascularization or amputation). High-risk conditions: age ≥65 years; heterozygous familial hypercholesterolemia; prior CABG or PCI outside the major ASCVD event(s); diabetes mellitus; hypertension; CKD (eGFR 15–59 mL/min/1.73 m²); current smoking; persistently elevated LDL-C ≥100 mg/dL (≥2.6 mmol/L) despite maximally tolerated statin and ezetimibe; history of congestive HF. Not PCE 10-year risk. Not a statin, ezetimibe, or PCSK9 order. magent does not diagnose ASCVD or measure ABI or LDL-C","high_risk_condition_count":2,"major_event_count":1,"very_high_risk":true},{"age":70,"citation":{"authors":"Grundy SM, Stone NJ, Bailey AL, et al.","doi":"10.1161/CIR.0000000000000625","id":"grundy-2018-aha-acc-cholesterol","pmid":"30586774","source":"Circulation. 2019;139(25):e1082-e1143","title":"2018 AHA/ACC/AACVPR/AAPA/ABC/ACPM/ADA/AGS/APhA/ASPC/NLA/PCNA Guideline on the Management of Blood Cholesterol"},"classifying_rule":"one_major_and_multiple_high_risk_conditions","criteria":[{"factor":"recent_acs","met":false},{"factor":"history_mi","met":true},{"factor":"ischemic_stroke","met":false},{"factor":"symptomatic_pad","met":false},{"factor":"age_ge_65","met":true,"value":70},{"factor":"heterozygous_fh","met":false},{"factor":"prior_cabg_or_pci_outside_major","met":false},{"factor":"diabetes","met":true},{"factor":"hypertension","met":false},{"factor":"ckd_egfr_15_to_59","met":false},{"factor":"current_smoking","met":false},{"factor":"ldl_c_ge_100_on_max_statin_ezetimibe","met":false},{"factor":"congestive_hf","met":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":"ascvd_vhr","formula_expression":"very_high_risk iff major_event_count ≥ 2 or (major_event_count = 1 and high_risk_condition_count ≥ 2) (AHA/ACC 2018 Table 4 / Figure 1). Major events (caller-assigned): recent ACS within 12 months; history of MI other than that recent ACS; history of ischemic stroke; symptomatic PAD (claudication with ABI <0.85, or prior revascularization or amputation). High-risk conditions: age ≥65 years; heterozygous familial hypercholesterolemia; prior CABG or PCI outside the major ASCVD event(s); diabetes mellitus; hypertension; CKD (eGFR 15–59 mL/min/1.73 m²); current smoking; persistently elevated LDL-C ≥100 mg/dL (≥2.6 mmol/L) despite maximally tolerated statin and ezetimibe; history of congestive HF. Not PCE 10-year risk. Not a statin, ezetimibe, or PCSK9 order. magent does not diagnose ASCVD or measure ABI or LDL-C","high_risk_condition_count":2,"major_event_count":1,"very_high_risk":true}],"path":"/api/calc/ascvd_vhr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥65 is an AHA/ACC 2018 Table 4 high-risk condition. magent does not assign age.","type":"integer"},"ckd_egfr_15_to_59":{"description":"CKD with eGFR 15–59 mL/min/1.73 m² as assigned by the caller (AHA/ACC 2018 Table 4 printed band). true or false. magent does not compute eGFR.","type":"boolean"},"congestive_hf":{"description":"History of congestive HF as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not diagnose HF.","type":"boolean"},"current_smoking":{"description":"Current smoking as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not assign smoking status.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not diagnose diabetes.","type":"boolean"},"heterozygous_fh":{"description":"Heterozygous familial hypercholesterolemia as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not diagnose FH.","type":"boolean"},"history_mi":{"description":"History of MI other than a caller-assigned recent ACS as assigned by the caller (AHA/ACC 2018 Table 4 major ASCVD event). true or false. magent does not diagnose MI.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not measure blood pressure.","type":"boolean"},"ischemic_stroke":{"description":"History of ischemic stroke as assigned by the caller (AHA/ACC 2018 Table 4 major ASCVD event). true or false. magent does not diagnose stroke.","type":"boolean"},"ldl_c_ge_100_on_max_statin_ezetimibe":{"description":"Persistently elevated LDL-C ≥100 mg/dL (≥2.6 mmol/L) despite maximally tolerated statin and ezetimibe as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not assay LDL-C.","type":"boolean"},"prior_cabg_or_pci_outside_major":{"description":"Prior CABG or PCI outside the major ASCVD event(s) as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not read an operative note.","type":"boolean"},"recent_acs":{"description":"Recent ACS within the past 12 months as assigned by the caller (AHA/ACC 2018 Table 4 major ASCVD event). true or false. magent does not date ACS.","type":"boolean"},"symptomatic_pad":{"description":"Symptomatic PAD as assigned by the caller from the Table 4 row (claudication with ABI <0.85, or previous revascularization or amputation). true or false. magent does not measure ABI.","type":"boolean"}},"required":["age","recent_acs","history_mi","ischemic_stroke","symptomatic_pad","heterozygous_fh","prior_cabg_or_pci_outside_major","diabetes","hypertension","ckd_egfr_15_to_59","current_smoking","ldl_c_ge_100_on_max_statin_ezetimibe","congestive_hf"],"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":["ascvd","very-high-risk","aha-acc-2018","lipids","cholesterol","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:56:01.106Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:56:00.925Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"ckd_egfr_15_to_59":false,"congestive_hf":false,"current_smoking":false,"diabetes":true,"heterozygous_fh":false,"history_mi":true,"hypertension":false,"ischemic_stroke":false,"ldl_c_ge_100_on_max_statin_ezetimibe":false,"prior_cabg_or_pci_outside_major":false,"recent_acs":false,"symptomatic_pad":false},{"age":70,"ckd_egfr_15_to_59":false,"congestive_hf":false,"current_smoking":false,"diabetes":true,"heterozygous_fh":false,"history_mi":true,"hypertension":false,"ischemic_stroke":false,"ldl_c_ge_100_on_max_statin_ezetimibe":false,"prior_cabg_or_pci_outside_major":false,"recent_acs":false,"symptomatic_pad":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":70,"citation":{"authors":"Grundy SM, Stone NJ, Bailey AL, et al.","doi":"10.1161/CIR.0000000000000625","id":"grundy-2018-aha-acc-cholesterol","pmid":"30586774","source":"Circulation. 2019;139(25):e1082-e1143","title":"2018 AHA/ACC/AACVPR/AAPA/ABC/ACPM/ADA/AGS/APhA/ASPC/NLA/PCNA Guideline on the Management of Blood Cholesterol"},"classifying_rule":"one_major_and_multiple_high_risk_conditions","criteria":[{"factor":"recent_acs","met":false},{"factor":"history_mi","met":true},{"factor":"ischemic_stroke","met":false},{"factor":"symptomatic_pad","met":false},{"factor":"age_ge_65","met":true,"value":70},{"factor":"heterozygous_fh","met":false},{"factor":"prior_cabg_or_pci_outside_major","met":false},{"factor":"diabetes","met":true},{"factor":"hypertension","met":false},{"factor":"ckd_egfr_15_to_59","met":false},{"factor":"current_smoking","met":false},{"factor":"ldl_c_ge_100_on_max_statin_ezetimibe","met":false},{"factor":"congestive_hf","met":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":"ascvd_vhr","formula_expression":"very_high_risk iff major_event_count ≥ 2 or (major_event_count = 1 and high_risk_condition_count ≥ 2) (AHA/ACC 2018 Table 4 / Figure 1). Major events (caller-assigned): recent ACS within 12 months; history of MI other than that recent ACS; history of ischemic stroke; symptomatic PAD (claudication with ABI <0.85, or prior revascularization or amputation). High-risk conditions: age ≥65 years; heterozygous familial hypercholesterolemia; prior CABG or PCI outside the major ASCVD event(s); diabetes mellitus; hypertension; CKD (eGFR 15–59 mL/min/1.73 m²); current smoking; persistently elevated LDL-C ≥100 mg/dL (≥2.6 mmol/L) despite maximally tolerated statin and ezetimibe; history of congestive HF. Not PCE 10-year risk. Not a statin, ezetimibe, or PCSK9 order. magent does not diagnose ASCVD or measure ABI or LDL-C","high_risk_condition_count":2,"major_event_count":1,"very_high_risk":true},{"age":70,"citation":{"authors":"Grundy SM, Stone NJ, Bailey AL, et al.","doi":"10.1161/CIR.0000000000000625","id":"grundy-2018-aha-acc-cholesterol","pmid":"30586774","source":"Circulation. 2019;139(25):e1082-e1143","title":"2018 AHA/ACC/AACVPR/AAPA/ABC/ACPM/ADA/AGS/APhA/ASPC/NLA/PCNA Guideline on the Management of Blood Cholesterol"},"classifying_rule":"one_major_and_multiple_high_risk_conditions","criteria":[{"factor":"recent_acs","met":false},{"factor":"history_mi","met":true},{"factor":"ischemic_stroke","met":false},{"factor":"symptomatic_pad","met":false},{"factor":"age_ge_65","met":true,"value":70},{"factor":"heterozygous_fh","met":false},{"factor":"prior_cabg_or_pci_outside_major","met":false},{"factor":"diabetes","met":true},{"factor":"hypertension","met":false},{"factor":"ckd_egfr_15_to_59","met":false},{"factor":"current_smoking","met":false},{"factor":"ldl_c_ge_100_on_max_statin_ezetimibe","met":false},{"factor":"congestive_hf","met":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":"ascvd_vhr","formula_expression":"very_high_risk iff major_event_count ≥ 2 or (major_event_count = 1 and high_risk_condition_count ≥ 2) (AHA/ACC 2018 Table 4 / Figure 1). Major events (caller-assigned): recent ACS within 12 months; history of MI other than that recent ACS; history of ischemic stroke; symptomatic PAD (claudication with ABI <0.85, or prior revascularization or amputation). High-risk conditions: age ≥65 years; heterozygous familial hypercholesterolemia; prior CABG or PCI outside the major ASCVD event(s); diabetes mellitus; hypertension; CKD (eGFR 15–59 mL/min/1.73 m²); current smoking; persistently elevated LDL-C ≥100 mg/dL (≥2.6 mmol/L) despite maximally tolerated statin and ezetimibe; history of congestive HF. Not PCE 10-year risk. Not a statin, ezetimibe, or PCSK9 order. magent does not diagnose ASCVD or measure ABI or LDL-C","high_risk_condition_count":2,"major_event_count":1,"very_high_risk":true}],"path":"/api/calc/ascvd_vhr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≥65 is an AHA/ACC 2018 Table 4 high-risk condition. magent does not assign age.","type":"integer"},"ckd_egfr_15_to_59":{"description":"CKD with eGFR 15–59 mL/min/1.73 m² as assigned by the caller (AHA/ACC 2018 Table 4 printed band). true or false. magent does not compute eGFR.","type":"boolean"},"congestive_hf":{"description":"History of congestive HF as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not diagnose HF.","type":"boolean"},"current_smoking":{"description":"Current smoking as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not assign smoking status.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not diagnose diabetes.","type":"boolean"},"heterozygous_fh":{"description":"Heterozygous familial hypercholesterolemia as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not diagnose FH.","type":"boolean"},"history_mi":{"description":"History of MI other than a caller-assigned recent ACS as assigned by the caller (AHA/ACC 2018 Table 4 major ASCVD event). true or false. magent does not diagnose MI.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not measure blood pressure.","type":"boolean"},"ischemic_stroke":{"description":"History of ischemic stroke as assigned by the caller (AHA/ACC 2018 Table 4 major ASCVD event). true or false. magent does not diagnose stroke.","type":"boolean"},"ldl_c_ge_100_on_max_statin_ezetimibe":{"description":"Persistently elevated LDL-C ≥100 mg/dL (≥2.6 mmol/L) despite maximally tolerated statin and ezetimibe as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not assay LDL-C.","type":"boolean"},"prior_cabg_or_pci_outside_major":{"description":"Prior CABG or PCI outside the major ASCVD event(s) as assigned by the caller (AHA/ACC 2018 Table 4 high-risk condition). true or false. magent does not read an operative note.","type":"boolean"},"recent_acs":{"description":"Recent ACS within the past 12 months as assigned by the caller (AHA/ACC 2018 Table 4 major ASCVD event). true or false. magent does not date ACS.","type":"boolean"},"symptomatic_pad":{"description":"Symptomatic PAD as assigned by the caller from the Table 4 row (claudication with ABI <0.85, or previous revascularization or amputation). true or false. magent does not measure ABI.","type":"boolean"}},"required":["age","recent_acs","history_mi","ischemic_stroke","symptomatic_pad","heterozygous_fh","prior_cabg_or_pci_outside_major","diabetes","hypertension","ckd_egfr_15_to_59","current_smoking","ldl_c_ge_100_on_max_statin_ezetimibe","congestive_hf"],"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},{"id":39303,"slug":"39303","resource":"https://api.magentlab.com/api/calc/ascvd_pce","description":"Goff 2013 ACC/AHA pooled-cohort 10-year hard ASCVD percent for age 40-79 from sex, caller-assigned white or african_american cohort, total and HDL cholesterol, treated or untreated systolic BP, smoking, and diabetes. Table A coefficients. Caller assigns cohort; magent does not assign race and does not apply Recommendation 2 as a silent swap. Not PREVENT 2024, not Framingham CHD, not SCORE2, not a diagnosis or statin order. magent does not assay lipids.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":55,"antihypertensive":false,"cohort":"white","diabetes":false,"hdl_mg_dl":50,"sbp_mm_hg":120,"sex":"female","smoker":false,"total_cholesterol_mg_dl":213},{"age":55,"antihypertensive":false,"cohort":"white","diabetes":false,"hdl_mg_dl":50,"sbp_mm_hg":120,"sex":"female","smoker":false,"total_cholesterol_mg_dl":213}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":55,"antihypertensive":false,"citation":{"authors":"Goff DC Jr, Lloyd-Jones DM, Bennett G, Coady S, D'Agostino RB, Gibbons R, Greenland P, Lackland DT, Levy D, O'Donnell CJ, Robinson JG, Schwartz JS, Shero ST, Smith SC Jr, Sorlie P, Stone NJ, Wilson PW","doi":"10.1161/01.cir.0000437741.48606.98","id":"goff-2013-pce","pmid":"24222018","source":"Circulation. 2014;129(25 Suppl 2):S49-S73","title":"2013 ACC/AHA Guideline on the Assessment of Cardiovascular Risk: A Report of the American College of Cardiology/American Heart Association Task Force on Practice Guidelines"},"cohort":"white","diabetes":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":"ascvd_pce","formula_expression":"10-year hard ASCVD % = 100*(1-S10**exp(individualSum-meanSum)); Goff 2013 Table A; Ln=natural log; age 40-79; cohort white|african_american (caller-assigned paper terms; not param race; Recommendation 2 is not a silent swap); treated vs untreated SBP (not both); interactions only where Table A is not N/A; WHITE WOMEN: ln_age -29.799, ln_age^2 4.884, ln_tc 13.540, ln_age*ln_tc -3.114, ln_hdl -13.578, ln_age*ln_hdl 3.149, ln_treated_sbp 2.019, ln_untreated_sbp 1.957, smoker 7.574, ln_age*smoker -1.665, diabetes 0.661, meanSum -29.18, S10 0.9665; AFRICAN AMERICAN WOMEN: ln_age 17.114, ln_tc 0.940, ln_hdl -18.920, ln_age*ln_hdl 4.475, ln_treated_sbp 29.291, ln_age*ln_treated_sbp -6.432, ln_untreated_sbp 27.820, ln_age*ln_untreated_sbp -6.087, smoker 0.691, diabetes 0.874, meanSum 86.61, S10 0.9533; WHITE MEN: ln_age 12.344, ln_tc 11.853, ln_age*ln_tc -2.664, ln_hdl -7.990, ln_age*ln_hdl 1.769, ln_treated_sbp 1.797, ln_untreated_sbp 1.764, smoker 7.837, ln_age*smoker -1.795, diabetes 0.658, meanSum 61.18, S10 0.9144; AFRICAN AMERICAN MEN: ln_age 2.469, ln_tc 0.302, ln_hdl -0.307, ln_treated_sbp 1.916, ln_untreated_sbp 1.809, smoker 0.549, diabetes 0.645, meanSum 19.54, S10 0.8954; round 1 decimal; not PREVENT 2024; not Framingham CHD; not SCORE2; not a statin order","hdl_mg_dl":50,"individual_sum":-29.6767,"sbp_mm_hg":120,"sex":"female","smoker":false,"ten_year_ascvd_percent":2.1,"total_cholesterol_mg_dl":213},{"age":55,"antihypertensive":false,"citation":{"authors":"Goff DC Jr, Lloyd-Jones DM, Bennett G, Coady S, D'Agostino RB, Gibbons R, Greenland P, Lackland DT, Levy D, O'Donnell CJ, Robinson JG, Schwartz JS, Shero ST, Smith SC Jr, Sorlie P, Stone NJ, Wilson PW","doi":"10.1161/01.cir.0000437741.48606.98","id":"goff-2013-pce","pmid":"24222018","source":"Circulation. 2014;129(25 Suppl 2):S49-S73","title":"2013 ACC/AHA Guideline on the Assessment of Cardiovascular Risk: A Report of the American College of Cardiology/American Heart Association Task Force on Practice Guidelines"},"cohort":"white","diabetes":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":"ascvd_pce","formula_expression":"10-year hard ASCVD % = 100*(1-S10**exp(individualSum-meanSum)); Goff 2013 Table A; Ln=natural log; age 40-79; cohort white|african_american (caller-assigned paper terms; not param race; Recommendation 2 is not a silent swap); treated vs untreated SBP (not both); interactions only where Table A is not N/A; WHITE WOMEN: ln_age -29.799, ln_age^2 4.884, ln_tc 13.540, ln_age*ln_tc -3.114, ln_hdl -13.578, ln_age*ln_hdl 3.149, ln_treated_sbp 2.019, ln_untreated_sbp 1.957, smoker 7.574, ln_age*smoker -1.665, diabetes 0.661, meanSum -29.18, S10 0.9665; AFRICAN AMERICAN WOMEN: ln_age 17.114, ln_tc 0.940, ln_hdl -18.920, ln_age*ln_hdl 4.475, ln_treated_sbp 29.291, ln_age*ln_treated_sbp -6.432, ln_untreated_sbp 27.820, ln_age*ln_untreated_sbp -6.087, smoker 0.691, diabetes 0.874, meanSum 86.61, S10 0.9533; WHITE MEN: ln_age 12.344, ln_tc 11.853, ln_age*ln_tc -2.664, ln_hdl -7.990, ln_age*ln_hdl 1.769, ln_treated_sbp 1.797, ln_untreated_sbp 1.764, smoker 7.837, ln_age*smoker -1.795, diabetes 0.658, meanSum 61.18, S10 0.9144; AFRICAN AMERICAN MEN: ln_age 2.469, ln_tc 0.302, ln_hdl -0.307, ln_treated_sbp 1.916, ln_untreated_sbp 1.809, smoker 0.549, diabetes 0.645, meanSum 19.54, S10 0.8954; round 1 decimal; not PREVENT 2024; not Framingham CHD; not SCORE2; not a statin order","hdl_mg_dl":50,"individual_sum":-29.6767,"sbp_mm_hg":120,"sex":"female","smoker":false,"ten_year_ascvd_percent":2.1,"total_cholesterol_mg_dl":213}],"path":"/api/calc/ascvd_pce"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 40-79). Goff 2013 Table A 10-year hard ASCVD is for ages 40-79. magent does not take a date of birth.","type":"integer"},"antihypertensive":{"description":"Current antihypertensive treatment as assigned by the caller (true or false). true uses the Table A treated-SBP coefficient (and age × treated SBP when that cell is not N/A). false uses untreated SBP. Not both.","type":"boolean"},"cohort":{"description":"Caller-assigned cohort as used in Goff 2013 Table A: white or african_american (paper terms). Not param race. magent does not assign race or ethnicity. Recommendation 2 (use the White equations for other groups) is not applied as a silent swap; other strings are rejected.","enum":["white","african_american"],"type":"string"},"diabetes":{"description":"Diabetes as assigned by the caller (true or false). Adds the Table A diabetes term. magent does not assay glucose.","type":"boolean"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Enters as ln(HDL-C). magent does not assay lipids.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Enters as ln(SBP) with the treated or untreated Table A coefficient according to antihypertensive. magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the sex-specific Table A coefficients (female or male). Not cohort.","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (true or false). Adds the Table A smoker term and ln(age) × smoker when that cell is not N/A. magent does not take a smoking history.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Enters as ln(total cholesterol). magent does not assay lipids.","type":"number"}},"required":["age","sex","cohort","total_cholesterol_mg_dl","hdl_mg_dl","sbp_mm_hg","antihypertensive","smoker","diabetes"],"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":["ascvd","pce-2013","lipids","cvd-risk","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:50:53.69Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:50:53.576Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":55,"antihypertensive":false,"cohort":"white","diabetes":false,"hdl_mg_dl":50,"sbp_mm_hg":120,"sex":"female","smoker":false,"total_cholesterol_mg_dl":213},{"age":55,"antihypertensive":false,"cohort":"white","diabetes":false,"hdl_mg_dl":50,"sbp_mm_hg":120,"sex":"female","smoker":false,"total_cholesterol_mg_dl":213}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":55,"antihypertensive":false,"citation":{"authors":"Goff DC Jr, Lloyd-Jones DM, Bennett G, Coady S, D'Agostino RB, Gibbons R, Greenland P, Lackland DT, Levy D, O'Donnell CJ, Robinson JG, Schwartz JS, Shero ST, Smith SC Jr, Sorlie P, Stone NJ, Wilson PW","doi":"10.1161/01.cir.0000437741.48606.98","id":"goff-2013-pce","pmid":"24222018","source":"Circulation. 2014;129(25 Suppl 2):S49-S73","title":"2013 ACC/AHA Guideline on the Assessment of Cardiovascular Risk: A Report of the American College of Cardiology/American Heart Association Task Force on Practice Guidelines"},"cohort":"white","diabetes":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":"ascvd_pce","formula_expression":"10-year hard ASCVD % = 100*(1-S10**exp(individualSum-meanSum)); Goff 2013 Table A; Ln=natural log; age 40-79; cohort white|african_american (caller-assigned paper terms; not param race; Recommendation 2 is not a silent swap); treated vs untreated SBP (not both); interactions only where Table A is not N/A; WHITE WOMEN: ln_age -29.799, ln_age^2 4.884, ln_tc 13.540, ln_age*ln_tc -3.114, ln_hdl -13.578, ln_age*ln_hdl 3.149, ln_treated_sbp 2.019, ln_untreated_sbp 1.957, smoker 7.574, ln_age*smoker -1.665, diabetes 0.661, meanSum -29.18, S10 0.9665; AFRICAN AMERICAN WOMEN: ln_age 17.114, ln_tc 0.940, ln_hdl -18.920, ln_age*ln_hdl 4.475, ln_treated_sbp 29.291, ln_age*ln_treated_sbp -6.432, ln_untreated_sbp 27.820, ln_age*ln_untreated_sbp -6.087, smoker 0.691, diabetes 0.874, meanSum 86.61, S10 0.9533; WHITE MEN: ln_age 12.344, ln_tc 11.853, ln_age*ln_tc -2.664, ln_hdl -7.990, ln_age*ln_hdl 1.769, ln_treated_sbp 1.797, ln_untreated_sbp 1.764, smoker 7.837, ln_age*smoker -1.795, diabetes 0.658, meanSum 61.18, S10 0.9144; AFRICAN AMERICAN MEN: ln_age 2.469, ln_tc 0.302, ln_hdl -0.307, ln_treated_sbp 1.916, ln_untreated_sbp 1.809, smoker 0.549, diabetes 0.645, meanSum 19.54, S10 0.8954; round 1 decimal; not PREVENT 2024; not Framingham CHD; not SCORE2; not a statin order","hdl_mg_dl":50,"individual_sum":-29.6767,"sbp_mm_hg":120,"sex":"female","smoker":false,"ten_year_ascvd_percent":2.1,"total_cholesterol_mg_dl":213},{"age":55,"antihypertensive":false,"citation":{"authors":"Goff DC Jr, Lloyd-Jones DM, Bennett G, Coady S, D'Agostino RB, Gibbons R, Greenland P, Lackland DT, Levy D, O'Donnell CJ, Robinson JG, Schwartz JS, Shero ST, Smith SC Jr, Sorlie P, Stone NJ, Wilson PW","doi":"10.1161/01.cir.0000437741.48606.98","id":"goff-2013-pce","pmid":"24222018","source":"Circulation. 2014;129(25 Suppl 2):S49-S73","title":"2013 ACC/AHA Guideline on the Assessment of Cardiovascular Risk: A Report of the American College of Cardiology/American Heart Association Task Force on Practice Guidelines"},"cohort":"white","diabetes":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":"ascvd_pce","formula_expression":"10-year hard ASCVD % = 100*(1-S10**exp(individualSum-meanSum)); Goff 2013 Table A; Ln=natural log; age 40-79; cohort white|african_american (caller-assigned paper terms; not param race; Recommendation 2 is not a silent swap); treated vs untreated SBP (not both); interactions only where Table A is not N/A; WHITE WOMEN: ln_age -29.799, ln_age^2 4.884, ln_tc 13.540, ln_age*ln_tc -3.114, ln_hdl -13.578, ln_age*ln_hdl 3.149, ln_treated_sbp 2.019, ln_untreated_sbp 1.957, smoker 7.574, ln_age*smoker -1.665, diabetes 0.661, meanSum -29.18, S10 0.9665; AFRICAN AMERICAN WOMEN: ln_age 17.114, ln_tc 0.940, ln_hdl -18.920, ln_age*ln_hdl 4.475, ln_treated_sbp 29.291, ln_age*ln_treated_sbp -6.432, ln_untreated_sbp 27.820, ln_age*ln_untreated_sbp -6.087, smoker 0.691, diabetes 0.874, meanSum 86.61, S10 0.9533; WHITE MEN: ln_age 12.344, ln_tc 11.853, ln_age*ln_tc -2.664, ln_hdl -7.990, ln_age*ln_hdl 1.769, ln_treated_sbp 1.797, ln_untreated_sbp 1.764, smoker 7.837, ln_age*smoker -1.795, diabetes 0.658, meanSum 61.18, S10 0.9144; AFRICAN AMERICAN MEN: ln_age 2.469, ln_tc 0.302, ln_hdl -0.307, ln_treated_sbp 1.916, ln_untreated_sbp 1.809, smoker 0.549, diabetes 0.645, meanSum 19.54, S10 0.8954; round 1 decimal; not PREVENT 2024; not Framingham CHD; not SCORE2; not a statin order","hdl_mg_dl":50,"individual_sum":-29.6767,"sbp_mm_hg":120,"sex":"female","smoker":false,"ten_year_ascvd_percent":2.1,"total_cholesterol_mg_dl":213}],"path":"/api/calc/ascvd_pce"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 40-79). Goff 2013 Table A 10-year hard ASCVD is for ages 40-79. magent does not take a date of birth.","type":"integer"},"antihypertensive":{"description":"Current antihypertensive treatment as assigned by the caller (true or false). true uses the Table A treated-SBP coefficient (and age × treated SBP when that cell is not N/A). false uses untreated SBP. Not both.","type":"boolean"},"cohort":{"description":"Caller-assigned cohort as used in Goff 2013 Table A: white or african_american (paper terms). Not param race. magent does not assign race or ethnicity. Recommendation 2 (use the White equations for other groups) is not applied as a silent swap; other strings are rejected.","enum":["white","african_american"],"type":"string"},"diabetes":{"description":"Diabetes as assigned by the caller (true or false). Adds the Table A diabetes term. magent does not assay glucose.","type":"boolean"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Enters as ln(HDL-C). magent does not assay lipids.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Enters as ln(SBP) with the treated or untreated Table A coefficient according to antihypertensive. magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the sex-specific Table A coefficients (female or male). Not cohort.","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (true or false). Adds the Table A smoker term and ln(age) × smoker when that cell is not N/A. magent does not take a smoking history.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Enters as ln(total cholesterol). magent does not assay lipids.","type":"number"}},"required":["age","sex","cohort","total_cholesterol_mg_dl","hdl_mg_dl","sbp_mm_hg","antihypertensive","smoker","diabetes"],"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},{"id":39304,"slug":"39304","resource":"https://api.magentlab.com/api/calc/ascod","description":"Amarenco 2013 ASCOD phenotyping of ischemic stroke from caller-assigned grades. A atherosclerosis, S small-vessel disease, C cardiac pathology, O other causes, D dissection. Each grade is 1 potentially causal, 2 causality uncertain, 3 unlikely causal but disease present, 0 absent, or 9 insufficient workup. Returns A1-S0-C2-O0-D0 style phenotype, not a summed score. magent does not read imaging. Not TOAST. Not CCS. Not a treatment. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"atherosclerosis":0,"cardiac":0,"dissection":0,"other":0,"small_vessel":0},{"atherosclerosis":0,"cardiac":0,"dissection":0,"other":0,"small_vessel":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"atherosclerosis":0,"cardiac":0,"citation":{"authors":"Amarenco P, Bogousslavsky J, Caplan LR, Donnan GA, Wolf ME, Hennerici MG","doi":"10.1159/000352050","id":"amarenco-2013","pmid":"23899749","source":"Cerebrovasc Dis. 2013;36(1):1-5","title":"The ASCOD phenotyping of ischemic stroke (Updated ASCO Phenotyping)"},"components":[{"factor":"atherosclerosis","met":true,"value":0},{"factor":"small_vessel","met":true,"value":0},{"factor":"cardiac","met":true,"value":0},{"factor":"other","met":true,"value":0},{"factor":"dissection","met":true,"value":0}],"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.","dissection":0,"formula":"ascod","formula_expression":"ASCOD phenotype A{atherosclerosis}-S{small_vessel}-C{cardiac}-O{other}-D{dissection}; each caller-assigned Amarenco 2013 grade is 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup to rule out the disease; grades are independent and are not summed; not TOAST; not CCS; magent does not read imaging","other":0,"phenotype":"A0-S0-C0-O0-D0","small_vessel":0},{"atherosclerosis":0,"cardiac":0,"citation":{"authors":"Amarenco P, Bogousslavsky J, Caplan LR, Donnan GA, Wolf ME, Hennerici MG","doi":"10.1159/000352050","id":"amarenco-2013","pmid":"23899749","source":"Cerebrovasc Dis. 2013;36(1):1-5","title":"The ASCOD phenotyping of ischemic stroke (Updated ASCO Phenotyping)"},"components":[{"factor":"atherosclerosis","met":true,"value":0},{"factor":"small_vessel","met":true,"value":0},{"factor":"cardiac","met":true,"value":0},{"factor":"other","met":true,"value":0},{"factor":"dissection","met":true,"value":0}],"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.","dissection":0,"formula":"ascod","formula_expression":"ASCOD phenotype A{atherosclerosis}-S{small_vessel}-C{cardiac}-O{other}-D{dissection}; each caller-assigned Amarenco 2013 grade is 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup to rule out the disease; grades are independent and are not summed; not TOAST; not CCS; magent does not read imaging","other":0,"phenotype":"A0-S0-C0-O0-D0","small_vessel":0}],"path":"/api/calc/ascod"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"atherosclerosis":{"description":"Caller-assigned Amarenco 2013 atherosclerosis (A) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.","enum":[0,1,2,3,9],"type":"integer"},"cardiac":{"description":"Caller-assigned Amarenco 2013 cardiac pathology (C) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.","enum":[0,1,2,3,9],"type":"integer"},"dissection":{"description":"Caller-assigned Amarenco 2013 dissection (D) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.","enum":[0,1,2,3,9],"type":"integer"},"other":{"description":"Caller-assigned Amarenco 2013 other causes (O) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.","enum":[0,1,2,3,9],"type":"integer"},"small_vessel":{"description":"Caller-assigned Amarenco 2013 small-vessel disease (S) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.","enum":[0,1,2,3,9],"type":"integer"}},"required":["atherosclerosis","small_vessel","cardiac","other","dissection"],"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":["ascod","ischemic-stroke","neurology","phenotyping","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:50:52.655Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:50:52.411Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"atherosclerosis":0,"cardiac":0,"dissection":0,"other":0,"small_vessel":0},{"atherosclerosis":0,"cardiac":0,"dissection":0,"other":0,"small_vessel":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"atherosclerosis":0,"cardiac":0,"citation":{"authors":"Amarenco P, Bogousslavsky J, Caplan LR, Donnan GA, Wolf ME, Hennerici MG","doi":"10.1159/000352050","id":"amarenco-2013","pmid":"23899749","source":"Cerebrovasc Dis. 2013;36(1):1-5","title":"The ASCOD phenotyping of ischemic stroke (Updated ASCO Phenotyping)"},"components":[{"factor":"atherosclerosis","met":true,"value":0},{"factor":"small_vessel","met":true,"value":0},{"factor":"cardiac","met":true,"value":0},{"factor":"other","met":true,"value":0},{"factor":"dissection","met":true,"value":0}],"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.","dissection":0,"formula":"ascod","formula_expression":"ASCOD phenotype A{atherosclerosis}-S{small_vessel}-C{cardiac}-O{other}-D{dissection}; each caller-assigned Amarenco 2013 grade is 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup to rule out the disease; grades are independent and are not summed; not TOAST; not CCS; magent does not read imaging","other":0,"phenotype":"A0-S0-C0-O0-D0","small_vessel":0},{"atherosclerosis":0,"cardiac":0,"citation":{"authors":"Amarenco P, Bogousslavsky J, Caplan LR, Donnan GA, Wolf ME, Hennerici MG","doi":"10.1159/000352050","id":"amarenco-2013","pmid":"23899749","source":"Cerebrovasc Dis. 2013;36(1):1-5","title":"The ASCOD phenotyping of ischemic stroke (Updated ASCO Phenotyping)"},"components":[{"factor":"atherosclerosis","met":true,"value":0},{"factor":"small_vessel","met":true,"value":0},{"factor":"cardiac","met":true,"value":0},{"factor":"other","met":true,"value":0},{"factor":"dissection","met":true,"value":0}],"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.","dissection":0,"formula":"ascod","formula_expression":"ASCOD phenotype A{atherosclerosis}-S{small_vessel}-C{cardiac}-O{other}-D{dissection}; each caller-assigned Amarenco 2013 grade is 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup to rule out the disease; grades are independent and are not summed; not TOAST; not CCS; magent does not read imaging","other":0,"phenotype":"A0-S0-C0-O0-D0","small_vessel":0}],"path":"/api/calc/ascod"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"atherosclerosis":{"description":"Caller-assigned Amarenco 2013 atherosclerosis (A) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.","enum":[0,1,2,3,9],"type":"integer"},"cardiac":{"description":"Caller-assigned Amarenco 2013 cardiac pathology (C) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.","enum":[0,1,2,3,9],"type":"integer"},"dissection":{"description":"Caller-assigned Amarenco 2013 dissection (D) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.","enum":[0,1,2,3,9],"type":"integer"},"other":{"description":"Caller-assigned Amarenco 2013 other causes (O) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.","enum":[0,1,2,3,9],"type":"integer"},"small_vessel":{"description":"Caller-assigned Amarenco 2013 small-vessel disease (S) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.","enum":[0,1,2,3,9],"type":"integer"}},"required":["atherosclerosis","small_vessel","cardiac","other","dissection"],"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},{"id":39305,"slug":"39305","resource":"https://api.magentlab.com/api/calc/asa_physical_status","description":"ASA Physical Status Classification System (ASA House of Delegates 2014, last amended 2020). Caller-assigned class 1-6 plus optional emergency suffix E. Returns asa_label (e.g. 1 or 2E) and the published class definition. Classification alone does not predict perioperative risk. Not an anesthetic plan, not Gupta MICA, not Mallampati. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"asa_class":1,"emergency":false},{"asa_class":1,"emergency":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"asa_class":1,"asa_label":"1","citation":{"authors":"American Society of Anesthesiologists; Committee of Oversight: Economics","id":"asa-2020","source":"Approved by the ASA House of Delegates on October 15, 2014, and last amended on December 13, 2020","title":"ASA Physical Status Classification System"},"components":[{"factor":"asa_class","met":true,"value":1},{"factor":"emergency","met":false}],"description":"A normal healthy patient","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.","emergency":false,"formula":"asa_physical_status","formula_expression":"Caller-assigned ASA Physical Status class 1-6; append E when emergency is true (ASA House of Delegates 2014, last amended 2020)"},{"asa_class":1,"asa_label":"1","citation":{"authors":"American Society of Anesthesiologists; Committee of Oversight: Economics","id":"asa-2020","source":"Approved by the ASA House of Delegates on October 15, 2014, and last amended on December 13, 2020","title":"ASA Physical Status Classification System"},"components":[{"factor":"asa_class","met":true,"value":1},{"factor":"emergency","met":false}],"description":"A normal healthy patient","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.","emergency":false,"formula":"asa_physical_status","formula_expression":"Caller-assigned ASA Physical Status class 1-6; append E when emergency is true (ASA House of Delegates 2014, last amended 2020)"}],"path":"/api/calc/asa_physical_status"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"asa_class":{"description":"ASA Physical Status class 1-6 as assigned by the caller (1 a normal healthy patient; 2 mild systemic disease; 3 severe systemic disease; 4 severe systemic disease that is a constant threat to life; 5 moribund, not expected to survive without the operation; 6 declared brain-dead organ donor). Not Gupta 2011 MICA (ASA 1-5). magent does not examine the patient.","type":"integer"},"emergency":{"description":"true appends E for emergency surgery: delay in treatment of the patient would lead to a significant increase in the threat to life or body part (ASA 2014/2020). Required. Class 6 may still take E. magent does not examine the patient.","type":"boolean"}},"required":["asa_class","emergency"],"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":["asa","asa-ps","preoperative","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:50:51.627Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:50:51.438Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"asa_class":1,"emergency":false},{"asa_class":1,"emergency":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"asa_class":1,"asa_label":"1","citation":{"authors":"American Society of Anesthesiologists; Committee of Oversight: Economics","id":"asa-2020","source":"Approved by the ASA House of Delegates on October 15, 2014, and last amended on December 13, 2020","title":"ASA Physical Status Classification System"},"components":[{"factor":"asa_class","met":true,"value":1},{"factor":"emergency","met":false}],"description":"A normal healthy patient","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.","emergency":false,"formula":"asa_physical_status","formula_expression":"Caller-assigned ASA Physical Status class 1-6; append E when emergency is true (ASA House of Delegates 2014, last amended 2020)"},{"asa_class":1,"asa_label":"1","citation":{"authors":"American Society of Anesthesiologists; Committee of Oversight: Economics","id":"asa-2020","source":"Approved by the ASA House of Delegates on October 15, 2014, and last amended on December 13, 2020","title":"ASA Physical Status Classification System"},"components":[{"factor":"asa_class","met":true,"value":1},{"factor":"emergency","met":false}],"description":"A normal healthy patient","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.","emergency":false,"formula":"asa_physical_status","formula_expression":"Caller-assigned ASA Physical Status class 1-6; append E when emergency is true (ASA House of Delegates 2014, last amended 2020)"}],"path":"/api/calc/asa_physical_status"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"asa_class":{"description":"ASA Physical Status class 1-6 as assigned by the caller (1 a normal healthy patient; 2 mild systemic disease; 3 severe systemic disease; 4 severe systemic disease that is a constant threat to life; 5 moribund, not expected to survive without the operation; 6 declared brain-dead organ donor). Not Gupta 2011 MICA (ASA 1-5). magent does not examine the patient.","type":"integer"},"emergency":{"description":"true appends E for emergency surgery: delay in treatment of the patient would lead to a significant increase in the threat to life or body part (ASA 2014/2020). Required. Class 6 may still take E. magent does not examine the patient.","type":"boolean"}},"required":["asa_class","emergency"],"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},{"id":39306,"slug":"39306","resource":"https://api.magentlab.com/api/calc/ariscat","description":"Canet 2010 ARISCAT simplified risk score (Table 6, β×10 rounded; Mazo 2014 reprints the same points): age <=50=0, 51-80=3, >80=16; SpO2 >=96=0, 91-95=8, <=90=24; respiratory infection last month=17; anemia Hb <=10 flag=11; incision peripheral 0, upper_abdominal 15, intrathoracic 24; duration hours <=2=0, >2 to 3=16, >3=23; emergency=8. Max 123. Low <26, intermediate 26-44, high >=45. Not a diagnosis or cancel-surgery order. magent does not measure SpO2.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"anemia":false,"duration_hours":2,"emergency":false,"incision":"peripheral","respiratory_infection":false,"spo2_percent":97},{"age":50,"anemia":false,"duration_hours":2,"emergency":false,"incision":"peripheral","respiratory_infection":false,"spo2_percent":97}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"anemia":false,"citation":{"authors":"Canet J, Gallart L, Gomar C, et al","doi":"10.1097/ALN.0b013e3181fc6e0a","id":"canet-2010","pmid":"21045639","source":"Anesthesiology. 2010;113(6):1338-1350","title":"Prediction of Postoperative Pulmonary Complications in a Population-based Surgical Cohort"},"components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"spo2_percent","points":0,"present":false,"value":97},{"factor":"respiratory_infection","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"incision","points":0,"present":false,"value":"peripheral"},{"factor":"duration_hours","points":0,"present":false,"value":2},{"factor":"emergency","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.","duration_hours":2,"emergency":false,"formula":"ariscat","formula_expression":"ARISCAT = age (<=50: 0, 51-80: 3, >80: 16) + spo2 (>=96: 0, 91-95: 8, <=90: 24) + respiratory_infection(17) + anemia(11) + incision (peripheral 0, upper_abdominal 15, intrathoracic 24) + duration_hours (<=2: 0, >2 to 3: 16, >3: 23) + emergency(8); max 123; low <26, intermediate 26-44, high >=45","incision":"peripheral","max_score":123,"respiratory_infection":false,"risk_band":"low","score":0,"spo2_percent":97},{"age_years":50,"anemia":false,"citation":{"authors":"Canet J, Gallart L, Gomar C, et al","doi":"10.1097/ALN.0b013e3181fc6e0a","id":"canet-2010","pmid":"21045639","source":"Anesthesiology. 2010;113(6):1338-1350","title":"Prediction of Postoperative Pulmonary Complications in a Population-based Surgical Cohort"},"components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"spo2_percent","points":0,"present":false,"value":97},{"factor":"respiratory_infection","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"incision","points":0,"present":false,"value":"peripheral"},{"factor":"duration_hours","points":0,"present":false,"value":2},{"factor":"emergency","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.","duration_hours":2,"emergency":false,"formula":"ariscat","formula_expression":"ARISCAT = age (<=50: 0, 51-80: 3, >80: 16) + spo2 (>=96: 0, 91-95: 8, <=90: 24) + respiratory_infection(17) + anemia(11) + incision (peripheral 0, upper_abdominal 15, intrathoracic 24) + duration_hours (<=2: 0, >2 to 3: 16, >3: 23) + emergency(8); max 123; low <26, intermediate 26-44, high >=45","incision":"peripheral","max_score":123,"respiratory_infection":false,"risk_band":"low","score":0,"spo2_percent":97}],"path":"/api/calc/ariscat"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Canet 2010 Table 6: <=50 scores 0; 51-80 scores 3; >80 scores 16. Age 50 scores 0; 51 scores 3; 80 scores 3; 81 scores 16.","type":"integer"},"anemia":{"description":"Preoperative anemia (Hb <=10 g/dL) as assigned by the caller (Canet 2010 Table 6). true scores 11. Flag only; do not send a hemoglobin number.","type":"boolean"},"duration_hours":{"description":"Duration of surgery in hours (0.1-24). Canet 2010 Table 6: <=2 scores 0; >2 to 3 scores 16; >3 scores 23. Duration 2.0 scores 0; 2.1 scores 16; 3.0 scores 16; 3.1 scores 23.","type":"number"},"emergency":{"description":"Emergency procedure as assigned by the caller (Canet 2010 Table 6; β 0.768 × 10 rounded). true scores 8. true or false.","type":"boolean"},"incision":{"description":"Surgical incision as assigned by the caller (Canet 2010 Table 6): peripheral scores 0, upper_abdominal scores 15, intrathoracic scores 24. magent does not classify the procedure from an op note.","enum":["peripheral","upper_abdominal","intrathoracic"],"type":"string"},"respiratory_infection":{"description":"Respiratory infection in the last month as assigned by the caller (Canet 2010 Table 6). true scores 17. true or false.","type":"boolean"},"spo2_percent":{"description":"Preoperative SpO2 percent (50-100) as assigned by the caller. Canet 2010 Table 6: >=96 scores 0; 91-95 scores 8; <=90 scores 24. magent does not measure SpO2.","type":"number"}},"required":["age","spo2_percent","respiratory_infection","anemia","incision","duration_hours","emergency"],"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":["ariscat","ppc","preoperative","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:45:57.414Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:45:57.282Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"anemia":false,"duration_hours":2,"emergency":false,"incision":"peripheral","respiratory_infection":false,"spo2_percent":97},{"age":50,"anemia":false,"duration_hours":2,"emergency":false,"incision":"peripheral","respiratory_infection":false,"spo2_percent":97}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"anemia":false,"citation":{"authors":"Canet J, Gallart L, Gomar C, et al","doi":"10.1097/ALN.0b013e3181fc6e0a","id":"canet-2010","pmid":"21045639","source":"Anesthesiology. 2010;113(6):1338-1350","title":"Prediction of Postoperative Pulmonary Complications in a Population-based Surgical Cohort"},"components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"spo2_percent","points":0,"present":false,"value":97},{"factor":"respiratory_infection","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"incision","points":0,"present":false,"value":"peripheral"},{"factor":"duration_hours","points":0,"present":false,"value":2},{"factor":"emergency","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.","duration_hours":2,"emergency":false,"formula":"ariscat","formula_expression":"ARISCAT = age (<=50: 0, 51-80: 3, >80: 16) + spo2 (>=96: 0, 91-95: 8, <=90: 24) + respiratory_infection(17) + anemia(11) + incision (peripheral 0, upper_abdominal 15, intrathoracic 24) + duration_hours (<=2: 0, >2 to 3: 16, >3: 23) + emergency(8); max 123; low <26, intermediate 26-44, high >=45","incision":"peripheral","max_score":123,"respiratory_infection":false,"risk_band":"low","score":0,"spo2_percent":97},{"age_years":50,"anemia":false,"citation":{"authors":"Canet J, Gallart L, Gomar C, et al","doi":"10.1097/ALN.0b013e3181fc6e0a","id":"canet-2010","pmid":"21045639","source":"Anesthesiology. 2010;113(6):1338-1350","title":"Prediction of Postoperative Pulmonary Complications in a Population-based Surgical Cohort"},"components":[{"factor":"age","points":0,"present":false,"value":50},{"factor":"spo2_percent","points":0,"present":false,"value":97},{"factor":"respiratory_infection","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"incision","points":0,"present":false,"value":"peripheral"},{"factor":"duration_hours","points":0,"present":false,"value":2},{"factor":"emergency","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.","duration_hours":2,"emergency":false,"formula":"ariscat","formula_expression":"ARISCAT = age (<=50: 0, 51-80: 3, >80: 16) + spo2 (>=96: 0, 91-95: 8, <=90: 24) + respiratory_infection(17) + anemia(11) + incision (peripheral 0, upper_abdominal 15, intrathoracic 24) + duration_hours (<=2: 0, >2 to 3: 16, >3: 23) + emergency(8); max 123; low <26, intermediate 26-44, high >=45","incision":"peripheral","max_score":123,"respiratory_infection":false,"risk_band":"low","score":0,"spo2_percent":97}],"path":"/api/calc/ariscat"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Canet 2010 Table 6: <=50 scores 0; 51-80 scores 3; >80 scores 16. Age 50 scores 0; 51 scores 3; 80 scores 3; 81 scores 16.","type":"integer"},"anemia":{"description":"Preoperative anemia (Hb <=10 g/dL) as assigned by the caller (Canet 2010 Table 6). true scores 11. Flag only; do not send a hemoglobin number.","type":"boolean"},"duration_hours":{"description":"Duration of surgery in hours (0.1-24). Canet 2010 Table 6: <=2 scores 0; >2 to 3 scores 16; >3 scores 23. Duration 2.0 scores 0; 2.1 scores 16; 3.0 scores 16; 3.1 scores 23.","type":"number"},"emergency":{"description":"Emergency procedure as assigned by the caller (Canet 2010 Table 6; β 0.768 × 10 rounded). true scores 8. true or false.","type":"boolean"},"incision":{"description":"Surgical incision as assigned by the caller (Canet 2010 Table 6): peripheral scores 0, upper_abdominal scores 15, intrathoracic scores 24. magent does not classify the procedure from an op note.","enum":["peripheral","upper_abdominal","intrathoracic"],"type":"string"},"respiratory_infection":{"description":"Respiratory infection in the last month as assigned by the caller (Canet 2010 Table 6). true scores 17. true or false.","type":"boolean"},"spo2_percent":{"description":"Preoperative SpO2 percent (50-100) as assigned by the caller. Canet 2010 Table 6: >=96 scores 0; 91-95 scores 8; <=90 scores 24. magent does not measure SpO2.","type":"number"}},"required":["age","spo2_percent","respiratory_infection","anemia","incision","duration_hours","emergency"],"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},{"id":39307,"slug":"39307","resource":"https://api.magentlab.com/api/calc/ardsnet_tv","description":"ARDS Network 2000 predicted body weight (PBW) from height and sex, and the lower-tidal-volume arm 6 mL/kg PBW. Male PBW_kg = 50 + 0.91*(height_cm-152.4); female uses 45.5. Also returns the published 4 mL/kg minimum. Height in cm or inches. Not a ventilator order, plateau-pressure titration, Berlin/AECC diagnosis, pediatric tube size, or ETT insertion depth. Not Devine IBW. Deterministic published arithmetic with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"height_cm":170,"height_in":67,"sex":"male"},{"height_cm":170,"height_in":67,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"The Acute Respiratory Distress Syndrome Network","doi":"10.1056/NEJM200005043421801","id":"ardsnet-2000","pmid":"10793162","source":"N Engl J Med. 2000;342(18):1301-1308","title":"Ventilation with lower tidal volumes as compared with traditional tidal volumes for acute lung injury and the acute respiratory distress syndrome"},"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":"ardsnet_tv","formula_expression":"PBW_kg = 50 + 0.91 * (height_cm - 152.4) (male); PBW_kg = 45.5 + 0.91 * (height_cm - 152.4) (female); tidal_volume_6_ml = 6 * PBW_kg; tidal_volume_4_ml = 4 * PBW_kg","height_cm":170,"pbw_kg":66,"sex":"male","tidal_volume_4_ml":264,"tidal_volume_6_ml":396},{"citation":{"authors":"The Acute Respiratory Distress Syndrome Network","doi":"10.1056/NEJM200005043421801","id":"ardsnet-2000","pmid":"10793162","source":"N Engl J Med. 2000;342(18):1301-1308","title":"Ventilation with lower tidal volumes as compared with traditional tidal volumes for acute lung injury and the acute respiratory distress syndrome"},"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":"ardsnet_tv","formula_expression":"PBW_kg = 50 + 0.91 * (height_cm - 152.4) (male); PBW_kg = 45.5 + 0.91 * (height_cm - 152.4) (female); tidal_volume_6_ml = 6 * PBW_kg; tidal_volume_4_ml = 4 * PBW_kg","height_cm":170,"pbw_kg":66,"sex":"male","tidal_volume_4_ml":264,"tidal_volume_6_ml":396}],"path":"/api/calc/ardsnet_tv"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters (50-250). Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches (20-98). Converted as cm = in * 2.54.","type":"number"},"sex":{"description":"Sex used by ARDSNet PBW (50 kg male, 45.5 kg female base).","enum":["female","male"],"type":"string"}},"required":["sex"],"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":["ards","tidal-volume","pbw","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:45:56.695Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:45:56.554Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"height_cm":170,"height_in":67,"sex":"male"},{"height_cm":170,"height_in":67,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"The Acute Respiratory Distress Syndrome Network","doi":"10.1056/NEJM200005043421801","id":"ardsnet-2000","pmid":"10793162","source":"N Engl J Med. 2000;342(18):1301-1308","title":"Ventilation with lower tidal volumes as compared with traditional tidal volumes for acute lung injury and the acute respiratory distress syndrome"},"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":"ardsnet_tv","formula_expression":"PBW_kg = 50 + 0.91 * (height_cm - 152.4) (male); PBW_kg = 45.5 + 0.91 * (height_cm - 152.4) (female); tidal_volume_6_ml = 6 * PBW_kg; tidal_volume_4_ml = 4 * PBW_kg","height_cm":170,"pbw_kg":66,"sex":"male","tidal_volume_4_ml":264,"tidal_volume_6_ml":396},{"citation":{"authors":"The Acute Respiratory Distress Syndrome Network","doi":"10.1056/NEJM200005043421801","id":"ardsnet-2000","pmid":"10793162","source":"N Engl J Med. 2000;342(18):1301-1308","title":"Ventilation with lower tidal volumes as compared with traditional tidal volumes for acute lung injury and the acute respiratory distress syndrome"},"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":"ardsnet_tv","formula_expression":"PBW_kg = 50 + 0.91 * (height_cm - 152.4) (male); PBW_kg = 45.5 + 0.91 * (height_cm - 152.4) (female); tidal_volume_6_ml = 6 * PBW_kg; tidal_volume_4_ml = 4 * PBW_kg","height_cm":170,"pbw_kg":66,"sex":"male","tidal_volume_4_ml":264,"tidal_volume_6_ml":396}],"path":"/api/calc/ardsnet_tv"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"height_cm":{"description":"Height in centimeters (50-250). Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches (20-98). Converted as cm = in * 2.54.","type":"number"},"sex":{"description":"Sex used by ARDSNet PBW (50 kg male, 45.5 kg female base).","enum":["female","male"],"type":"string"}},"required":["sex"],"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},{"id":39308,"slug":"39308","resource":"https://api.magentlab.com/api/calc/apri","description":"Wai 2003 AST to platelet ratio index (APRI) from AST, laboratory AST ULN, and platelet count. Returns APRI to two decimals plus published training-set cut-offs for significant fibrosis (Ishak ≥3) and cirrhosis. ULN is required; magent does not assume 40 U/L. Not a diagnosis, not FIB-4, and not a biopsy.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ast_u_l":90,"ast_uln_u_l":45,"platelets_10e9_l":120},{"ast_u_l":90,"ast_uln_u_l":45,"platelets_10e9_l":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"apri":1.67,"ast_u_l":90,"ast_uln_u_l":45,"citation":{"authors":"Wai CT, Greenson JK, Fontana RJ, et al.","doi":"10.1053/jhep.2003.50346","id":"wai-2003","source":"Hepatology. 2003;38(2):518-526","title":"A simple noninvasive index can predict both significant fibrosis and cirrhosis in patients with chronic hepatitis C"},"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":"apri","formula_expression":"APRI = ((AST / AST_ULN) / platelet_count_10e9_L) * 100","platelets_10e9_l":120,"wai_cirrhosis_band":"indeterminate","wai_fibrosis_band":"high"},{"apri":1.67,"ast_u_l":90,"ast_uln_u_l":45,"citation":{"authors":"Wai CT, Greenson JK, Fontana RJ, et al.","doi":"10.1053/jhep.2003.50346","id":"wai-2003","source":"Hepatology. 2003;38(2):518-526","title":"A simple noninvasive index can predict both significant fibrosis and cirrhosis in patients with chronic hepatitis C"},"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":"apri","formula_expression":"APRI = ((AST / AST_ULN) / platelet_count_10e9_L) * 100","platelets_10e9_l":120,"wai_cirrhosis_band":"indeterminate","wai_fibrosis_band":"high"}],"path":"/api/calc/apri"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000).","type":"number"},"ast_uln_u_l":{"description":"Laboratory AST upper limit of normal in U/L (5-200). Required; magent does not assume 40.","type":"number"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000).","type":"number"}},"required":["ast_u_l","ast_uln_u_l","platelets_10e9_l"],"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":["apri","liver","fibrosis","hepatitis-c","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:45:55.771Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:45:55.603Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ast_u_l":90,"ast_uln_u_l":45,"platelets_10e9_l":120},{"ast_u_l":90,"ast_uln_u_l":45,"platelets_10e9_l":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"apri":1.67,"ast_u_l":90,"ast_uln_u_l":45,"citation":{"authors":"Wai CT, Greenson JK, Fontana RJ, et al.","doi":"10.1053/jhep.2003.50346","id":"wai-2003","source":"Hepatology. 2003;38(2):518-526","title":"A simple noninvasive index can predict both significant fibrosis and cirrhosis in patients with chronic hepatitis C"},"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":"apri","formula_expression":"APRI = ((AST / AST_ULN) / platelet_count_10e9_L) * 100","platelets_10e9_l":120,"wai_cirrhosis_band":"indeterminate","wai_fibrosis_band":"high"},{"apri":1.67,"ast_u_l":90,"ast_uln_u_l":45,"citation":{"authors":"Wai CT, Greenson JK, Fontana RJ, et al.","doi":"10.1053/jhep.2003.50346","id":"wai-2003","source":"Hepatology. 2003;38(2):518-526","title":"A simple noninvasive index can predict both significant fibrosis and cirrhosis in patients with chronic hepatitis C"},"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":"apri","formula_expression":"APRI = ((AST / AST_ULN) / platelet_count_10e9_L) * 100","platelets_10e9_l":120,"wai_cirrhosis_band":"indeterminate","wai_fibrosis_band":"high"}],"path":"/api/calc/apri"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000).","type":"number"},"ast_uln_u_l":{"description":"Laboratory AST upper limit of normal in U/L (5-200). Required; magent does not assume 40.","type":"number"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000).","type":"number"}},"required":["ast_u_l","ast_uln_u_l","platelets_10e9_l"],"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},{"id":39309,"slug":"39309","resource":"https://api.magentlab.com/api/calc/apfel","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.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"history_motion_sickness_or_ponv":false,"nonsmoker":false,"postoperative_opioids":false,"sex":"male"},{"history_motion_sickness_or_ponv":false,"nonsmoker":false,"postoperative_opioids":false,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"0","citation":{"authors":"Apfel CC, Läärä E, Koivuranta M, Greim CA, Roewer N","doi":"10.1097/00000542-199909000-00022","id":"apfel-1999","pmid":"10485781","source":"Anesthesiology. 1999;91(3):693-700","title":"A simplified risk score for predicting postoperative nausea and vomiting: conclusions from cross-validations between two centers."},"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":"apfel","formula_expression":"Apfel = female + history_motion_sickness_or_ponv + nonsmoker + postoperative_opioids; each 1 if true; max 4","max_score":4,"score":0,"sex":"male"},{"band":"0","citation":{"authors":"Apfel CC, Läärä E, Koivuranta M, Greim CA, Roewer N","doi":"10.1097/00000542-199909000-00022","id":"apfel-1999","pmid":"10485781","source":"Anesthesiology. 1999;91(3):693-700","title":"A simplified risk score for predicting postoperative nausea and vomiting: conclusions from cross-validations between two centers."},"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":"apfel","formula_expression":"Apfel = female + history_motion_sickness_or_ponv + nonsmoker + postoperative_opioids; each 1 if true; max 4","max_score":4,"score":0,"sex":"male"}],"path":"/api/calc/apfel"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"history_motion_sickness_or_ponv":{"description":"History of motion sickness or postoperative nausea and vomiting (Apfel 1999). true or false as assigned by the caller. 1 point if true.","type":"boolean"},"nonsmoker":{"description":"Nonsmoking status (Apfel 1999). true scores 1. Smokers (false) score 0. Assigned by the caller.","type":"boolean"},"postoperative_opioids":{"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.","type":"boolean"},"sex":{"description":"female or male (Apfel 1999). Female scores 1. Male scores 0. Assigned by the caller.","enum":["female","male"],"type":"string"}},"required":["sex","history_motion_sickness_or_ponv","nonsmoker","postoperative_opioids"],"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":["apfel","ponv","nausea","anesthesia","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:41:01.98Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:41:01.821Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"history_motion_sickness_or_ponv":false,"nonsmoker":false,"postoperative_opioids":false,"sex":"male"},{"history_motion_sickness_or_ponv":false,"nonsmoker":false,"postoperative_opioids":false,"sex":"male"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"0","citation":{"authors":"Apfel CC, Läärä E, Koivuranta M, Greim CA, Roewer N","doi":"10.1097/00000542-199909000-00022","id":"apfel-1999","pmid":"10485781","source":"Anesthesiology. 1999;91(3):693-700","title":"A simplified risk score for predicting postoperative nausea and vomiting: conclusions from cross-validations between two centers."},"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":"apfel","formula_expression":"Apfel = female + history_motion_sickness_or_ponv + nonsmoker + postoperative_opioids; each 1 if true; max 4","max_score":4,"score":0,"sex":"male"},{"band":"0","citation":{"authors":"Apfel CC, Läärä E, Koivuranta M, Greim CA, Roewer N","doi":"10.1097/00000542-199909000-00022","id":"apfel-1999","pmid":"10485781","source":"Anesthesiology. 1999;91(3):693-700","title":"A simplified risk score for predicting postoperative nausea and vomiting: conclusions from cross-validations between two centers."},"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":"apfel","formula_expression":"Apfel = female + history_motion_sickness_or_ponv + nonsmoker + postoperative_opioids; each 1 if true; max 4","max_score":4,"score":0,"sex":"male"}],"path":"/api/calc/apfel"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"history_motion_sickness_or_ponv":{"description":"History of motion sickness or postoperative nausea and vomiting (Apfel 1999). true or false as assigned by the caller. 1 point if true.","type":"boolean"},"nonsmoker":{"description":"Nonsmoking status (Apfel 1999). true scores 1. Smokers (false) score 0. Assigned by the caller.","type":"boolean"},"postoperative_opioids":{"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.","type":"boolean"},"sex":{"description":"female or male (Apfel 1999). Female scores 1. Male scores 0. Assigned by the caller.","enum":["female","male"],"type":"string"}},"required":["sex","history_motion_sickness_or_ponv","nonsmoker","postoperative_opioids"],"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},{"id":39310,"slug":"39310","resource":"https://api.magentlab.com/api/calc/ap_prediction","description":"Jin 2018 ED model for early diagnosis of acute pancreatitis when lipase is at least 3x ULN. Integer points: prior episodes 0/1/2/3/4, cholelithiasis +2, abdominal surgery in 2 months -2, epigastric pain +2, worsening pain +1, pain duration >=5 days -1, severity mild 0 / moderate +2 / severe +3, lipase fold +0/+1/+2. Score max 14; jin2018_high_ppv if score>=8; jin2024_accuracy_cut if score>=6. Not a diagnosis. Not an imaging order. Not Ranson, BISAP, or Glasgow-Imrie.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abdominal_surgery_2mo":false,"cholelithiasis":false,"epigastric_pain":false,"lipase_uln_fold":4,"pain_duration_days":"lt_5","pain_severity":"mild_0_3","prior_ap_episodes":"0","worsening_pain":false},{"abdominal_surgery_2mo":false,"cholelithiasis":false,"epigastric_pain":false,"lipase_uln_fold":4,"pain_duration_days":"lt_5","pain_severity":"mild_0_3","prior_ap_episodes":"0","worsening_pain":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Jin DX, McNabb-Baltar J, Suleiman SL, Wu BU, Khorasani R, Bollen TL, et al.","doi":"10.1097/MPA.0000000000001102","id":"jin-2018","pmid":"29975351","source":"Pancreas. 2018;47(7):871-879","title":"A Clinical Model for the Early Diagnosis of Acute Pancreatitis in the Emergency Department"},"components":[{"factor":"prior_ap_episodes","points":0,"present":true,"value":"0"},{"factor":"cholelithiasis","points":0,"present":false},{"factor":"abdominal_surgery_2mo","points":0,"present":false},{"factor":"epigastric_pain","points":0,"present":false},{"factor":"worsening_pain","points":0,"present":false},{"factor":"pain_duration_days","points":0,"present":true,"value":"lt_5"},{"factor":"pain_severity","points":0,"present":true,"value":"mild_0_3"},{"factor":"lipase_uln_fold","points":0,"present":true,"value":4}],"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":"ap_prediction","formula_expression":"AP prediction = prior_ap_episodes (0→0, 1→1, 2→2, 3→3, 4_or_more→4) + cholelithiasis (true +2) + abdominal_surgery_2mo (true -2) + epigastric_pain (true +2) + worsening_pain (true +1) + pain_duration_days (lt_5 0, gte_5 -1) + pain_severity (mild_0_3 0, moderate_4_6 +2, severe_7_10 +3) + lipase_uln_fold (≥3 and <10 → 0, ≥10 and <20 → +1, ≥20 → +2); Jin 2018; max 14; jin2018_high_ppv iff score ≥ 8; jin2024_accuracy_cut iff score ≥ 6","jin2018_high_ppv":false,"jin2024_accuracy_cut":false,"max_score":14,"score":0},{"citation":{"authors":"Jin DX, McNabb-Baltar J, Suleiman SL, Wu BU, Khorasani R, Bollen TL, et al.","doi":"10.1097/MPA.0000000000001102","id":"jin-2018","pmid":"29975351","source":"Pancreas. 2018;47(7):871-879","title":"A Clinical Model for the Early Diagnosis of Acute Pancreatitis in the Emergency Department"},"components":[{"factor":"prior_ap_episodes","points":0,"present":true,"value":"0"},{"factor":"cholelithiasis","points":0,"present":false},{"factor":"abdominal_surgery_2mo","points":0,"present":false},{"factor":"epigastric_pain","points":0,"present":false},{"factor":"worsening_pain","points":0,"present":false},{"factor":"pain_duration_days","points":0,"present":true,"value":"lt_5"},{"factor":"pain_severity","points":0,"present":true,"value":"mild_0_3"},{"factor":"lipase_uln_fold","points":0,"present":true,"value":4}],"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":"ap_prediction","formula_expression":"AP prediction = prior_ap_episodes (0→0, 1→1, 2→2, 3→3, 4_or_more→4) + cholelithiasis (true +2) + abdominal_surgery_2mo (true -2) + epigastric_pain (true +2) + worsening_pain (true +1) + pain_duration_days (lt_5 0, gte_5 -1) + pain_severity (mild_0_3 0, moderate_4_6 +2, severe_7_10 +3) + lipase_uln_fold (≥3 and <10 → 0, ≥10 and <20 → +1, ≥20 → +2); Jin 2018; max 14; jin2018_high_ppv iff score ≥ 8; jin2024_accuracy_cut iff score ≥ 6","jin2018_high_ppv":false,"jin2024_accuracy_cut":false,"max_score":14,"score":0}],"path":"/api/calc/ap_prediction"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_surgery_2mo":{"description":"Caller-assigned abdominal surgery within 2 months (Jin 2018). true scores -2; false scores 0.","type":"boolean"},"cholelithiasis":{"description":"Caller-assigned cholelithiasis (Jin 2018). true scores +2; false scores 0. magent does not read imaging.","type":"boolean"},"epigastric_pain":{"description":"Caller-assigned epigastric pain (Jin 2018). true scores +2; false scores 0. magent does not examine the patient.","type":"boolean"},"lipase_uln_fold":{"description":"Serum lipase as a fold of the laboratory ULN. Population is lipase ≥3× ULN (Jin 2018). ≥3 and <10 scores 0; ≥10 and <20 scores +1; ≥20 scores +2. Below 3 is invalid_ap_prediction.","type":"number"},"pain_duration_days":{"description":"Caller-assigned pain-duration token (Jin 2018). lt_5 (<5 days) scores 0; gte_5 (≥5 days) scores -1. magent does not take a history.","enum":["lt_5","gte_5"],"type":"string"},"pain_severity":{"description":"Caller-assigned pain-severity token (Jin 2018). mild_0_3 (0-3) scores 0; moderate_4_6 (4-6) scores +2; severe_7_10 (7-10) scores +3. magent does not assign a pain scale.","enum":["mild_0_3","moderate_4_6","severe_7_10"],"type":"string"},"prior_ap_episodes":{"description":"Caller-assigned prior acute-pancreatitis episode token (Jin 2018). 0 scores 0; 1 scores 1; 2 scores 2; 3 scores 3; 4_or_more scores 4. magent does not take a history.","enum":["0","1","2","3","4_or_more"],"type":"string"},"worsening_pain":{"description":"Caller-assigned worsening pain (Jin 2018). true scores +1; false scores 0.","type":"boolean"}},"required":["prior_ap_episodes","cholelithiasis","abdominal_surgery_2mo","epigastric_pain","worsening_pain","pain_duration_days","pain_severity","lipase_uln_fold"],"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":["pancreatitis","lipase","gi","ed","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:41:00.511Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:41:00.367Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abdominal_surgery_2mo":false,"cholelithiasis":false,"epigastric_pain":false,"lipase_uln_fold":4,"pain_duration_days":"lt_5","pain_severity":"mild_0_3","prior_ap_episodes":"0","worsening_pain":false},{"abdominal_surgery_2mo":false,"cholelithiasis":false,"epigastric_pain":false,"lipase_uln_fold":4,"pain_duration_days":"lt_5","pain_severity":"mild_0_3","prior_ap_episodes":"0","worsening_pain":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Jin DX, McNabb-Baltar J, Suleiman SL, Wu BU, Khorasani R, Bollen TL, et al.","doi":"10.1097/MPA.0000000000001102","id":"jin-2018","pmid":"29975351","source":"Pancreas. 2018;47(7):871-879","title":"A Clinical Model for the Early Diagnosis of Acute Pancreatitis in the Emergency Department"},"components":[{"factor":"prior_ap_episodes","points":0,"present":true,"value":"0"},{"factor":"cholelithiasis","points":0,"present":false},{"factor":"abdominal_surgery_2mo","points":0,"present":false},{"factor":"epigastric_pain","points":0,"present":false},{"factor":"worsening_pain","points":0,"present":false},{"factor":"pain_duration_days","points":0,"present":true,"value":"lt_5"},{"factor":"pain_severity","points":0,"present":true,"value":"mild_0_3"},{"factor":"lipase_uln_fold","points":0,"present":true,"value":4}],"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":"ap_prediction","formula_expression":"AP prediction = prior_ap_episodes (0→0, 1→1, 2→2, 3→3, 4_or_more→4) + cholelithiasis (true +2) + abdominal_surgery_2mo (true -2) + epigastric_pain (true +2) + worsening_pain (true +1) + pain_duration_days (lt_5 0, gte_5 -1) + pain_severity (mild_0_3 0, moderate_4_6 +2, severe_7_10 +3) + lipase_uln_fold (≥3 and <10 → 0, ≥10 and <20 → +1, ≥20 → +2); Jin 2018; max 14; jin2018_high_ppv iff score ≥ 8; jin2024_accuracy_cut iff score ≥ 6","jin2018_high_ppv":false,"jin2024_accuracy_cut":false,"max_score":14,"score":0},{"citation":{"authors":"Jin DX, McNabb-Baltar J, Suleiman SL, Wu BU, Khorasani R, Bollen TL, et al.","doi":"10.1097/MPA.0000000000001102","id":"jin-2018","pmid":"29975351","source":"Pancreas. 2018;47(7):871-879","title":"A Clinical Model for the Early Diagnosis of Acute Pancreatitis in the Emergency Department"},"components":[{"factor":"prior_ap_episodes","points":0,"present":true,"value":"0"},{"factor":"cholelithiasis","points":0,"present":false},{"factor":"abdominal_surgery_2mo","points":0,"present":false},{"factor":"epigastric_pain","points":0,"present":false},{"factor":"worsening_pain","points":0,"present":false},{"factor":"pain_duration_days","points":0,"present":true,"value":"lt_5"},{"factor":"pain_severity","points":0,"present":true,"value":"mild_0_3"},{"factor":"lipase_uln_fold","points":0,"present":true,"value":4}],"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":"ap_prediction","formula_expression":"AP prediction = prior_ap_episodes (0→0, 1→1, 2→2, 3→3, 4_or_more→4) + cholelithiasis (true +2) + abdominal_surgery_2mo (true -2) + epigastric_pain (true +2) + worsening_pain (true +1) + pain_duration_days (lt_5 0, gte_5 -1) + pain_severity (mild_0_3 0, moderate_4_6 +2, severe_7_10 +3) + lipase_uln_fold (≥3 and <10 → 0, ≥10 and <20 → +1, ≥20 → +2); Jin 2018; max 14; jin2018_high_ppv iff score ≥ 8; jin2024_accuracy_cut iff score ≥ 6","jin2018_high_ppv":false,"jin2024_accuracy_cut":false,"max_score":14,"score":0}],"path":"/api/calc/ap_prediction"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_surgery_2mo":{"description":"Caller-assigned abdominal surgery within 2 months (Jin 2018). true scores -2; false scores 0.","type":"boolean"},"cholelithiasis":{"description":"Caller-assigned cholelithiasis (Jin 2018). true scores +2; false scores 0. magent does not read imaging.","type":"boolean"},"epigastric_pain":{"description":"Caller-assigned epigastric pain (Jin 2018). true scores +2; false scores 0. magent does not examine the patient.","type":"boolean"},"lipase_uln_fold":{"description":"Serum lipase as a fold of the laboratory ULN. Population is lipase ≥3× ULN (Jin 2018). ≥3 and <10 scores 0; ≥10 and <20 scores +1; ≥20 scores +2. Below 3 is invalid_ap_prediction.","type":"number"},"pain_duration_days":{"description":"Caller-assigned pain-duration token (Jin 2018). lt_5 (<5 days) scores 0; gte_5 (≥5 days) scores -1. magent does not take a history.","enum":["lt_5","gte_5"],"type":"string"},"pain_severity":{"description":"Caller-assigned pain-severity token (Jin 2018). mild_0_3 (0-3) scores 0; moderate_4_6 (4-6) scores +2; severe_7_10 (7-10) scores +3. magent does not assign a pain scale.","enum":["mild_0_3","moderate_4_6","severe_7_10"],"type":"string"},"prior_ap_episodes":{"description":"Caller-assigned prior acute-pancreatitis episode token (Jin 2018). 0 scores 0; 1 scores 1; 2 scores 2; 3 scores 3; 4_or_more scores 4. magent does not take a history.","enum":["0","1","2","3","4_or_more"],"type":"string"},"worsening_pain":{"description":"Caller-assigned worsening pain (Jin 2018). true scores +1; false scores 0.","type":"boolean"}},"required":["prior_ap_episodes","cholelithiasis","abdominal_surgery_2mo","epigastric_pain","worsening_pain","pain_duration_days","pain_severity","lipase_uln_fold"],"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},{"id":39311,"slug":"39311","resource":"https://api.magentlab.com/api/calc/anion_gap","description":"Serum anion gap from sodium, chloride, and bicarbonate, with or without potassium. formula=without_k or formula=with_k is required; magent does not pick one. Deterministic Emmett–Narins 1977 arithmetic with citation. Not a diagnosis, albumin-corrected gap (Figge/Fencl), or delta gap.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bicarbonate_mmol_l":24,"chloride_mmol_l":104,"formula":"without_k","potassium_mmol_l":4,"sodium_mmol_l":140},{"bicarbonate_mmol_l":24,"chloride_mmol_l":104,"formula":"without_k","potassium_mmol_l":4,"sodium_mmol_l":140}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anion_gap_mmol_l":12,"bicarbonate_mmol_l":24,"chloride_mmol_l":104,"citation":{"authors":"Emmett M, Narins RG","doi":"10.1097/00005792-197701000-00002","id":"emmett-narins-1977","source":"Medicine (Baltimore). 1977;56(1):38-54","title":"Clinical use of the anion gap"},"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":"without_k","formula_expression":"anion_gap_mmol_l = sodium_mmol_l - chloride_mmol_l - bicarbonate_mmol_l","sodium_mmol_l":140},{"anion_gap_mmol_l":12,"bicarbonate_mmol_l":24,"chloride_mmol_l":104,"citation":{"authors":"Emmett M, Narins RG","doi":"10.1097/00005792-197701000-00002","id":"emmett-narins-1977","source":"Medicine (Baltimore). 1977;56(1):38-54","title":"Clinical use of the anion gap"},"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":"without_k","formula_expression":"anion_gap_mmol_l = sodium_mmol_l - chloride_mmol_l - bicarbonate_mmol_l","sodium_mmol_l":140}],"path":"/api/calc/anion_gap"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bicarbonate_mmol_l":{"description":"Serum bicarbonate in mmol/L (2-45).","type":"number"},"chloride_mmol_l":{"description":"Serum chloride in mmol/L (70-130).","type":"number"},"formula":{"description":"without_k (Na - Cl - HCO3) or with_k (Na + K - Cl - HCO3). Required; magent does not pick one silently.","enum":["without_k","with_k"],"type":"string"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1.5-8.0). Required when formula=with_k. Ignored when formula=without_k.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160).","type":"number"}},"required":["sodium_mmol_l","chloride_mmol_l","bicarbonate_mmol_l","formula"],"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":["anion-gap","electrolytes","acid-base","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:40:59.085Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:40:58.924Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bicarbonate_mmol_l":24,"chloride_mmol_l":104,"formula":"without_k","potassium_mmol_l":4,"sodium_mmol_l":140},{"bicarbonate_mmol_l":24,"chloride_mmol_l":104,"formula":"without_k","potassium_mmol_l":4,"sodium_mmol_l":140}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anion_gap_mmol_l":12,"bicarbonate_mmol_l":24,"chloride_mmol_l":104,"citation":{"authors":"Emmett M, Narins RG","doi":"10.1097/00005792-197701000-00002","id":"emmett-narins-1977","source":"Medicine (Baltimore). 1977;56(1):38-54","title":"Clinical use of the anion gap"},"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":"without_k","formula_expression":"anion_gap_mmol_l = sodium_mmol_l - chloride_mmol_l - bicarbonate_mmol_l","sodium_mmol_l":140},{"anion_gap_mmol_l":12,"bicarbonate_mmol_l":24,"chloride_mmol_l":104,"citation":{"authors":"Emmett M, Narins RG","doi":"10.1097/00005792-197701000-00002","id":"emmett-narins-1977","source":"Medicine (Baltimore). 1977;56(1):38-54","title":"Clinical use of the anion gap"},"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":"without_k","formula_expression":"anion_gap_mmol_l = sodium_mmol_l - chloride_mmol_l - bicarbonate_mmol_l","sodium_mmol_l":140}],"path":"/api/calc/anion_gap"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bicarbonate_mmol_l":{"description":"Serum bicarbonate in mmol/L (2-45).","type":"number"},"chloride_mmol_l":{"description":"Serum chloride in mmol/L (70-130).","type":"number"},"formula":{"description":"without_k (Na - Cl - HCO3) or with_k (Na + K - Cl - HCO3). Required; magent does not pick one silently.","enum":["without_k","with_k"],"type":"string"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1.5-8.0). Required when formula=with_k. Ignored when formula=without_k.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160).","type":"number"}},"required":["sodium_mmol_l","chloride_mmol_l","bicarbonate_mmol_l","formula"],"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},{"id":39312,"slug":"39312","resource":"https://api.magentlab.com/api/calc/alvarado","description":"Alvarado 1986 MANTRELS score from caller-assigned findings, temperature, WBC, and neutrophil percent (max 10). Bands 0-4, 5-6, and 7-10. Deterministic published score with citation; not a diagnosis or operating-room protocol. magent does not examine the abdomen.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anorexia":false,"migration":false,"nausea_vomiting":false,"neutrophil_percent":60,"rebound":false,"rlq_tenderness":false,"temperature_c":37,"wbc_k_ul":8,"wbc_ul":8000},{"anorexia":false,"migration":false,"nausea_vomiting":false,"neutrophil_percent":60,"rebound":false,"rlq_tenderness":false,"temperature_c":37,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alvarado_band":"0-4","citation":{"authors":"Alvarado A","doi":"10.1016/S0196-0644(86)80993-3","id":"alvarado-1986","source":"Ann Emerg Med. 1986;15(5):557-564","title":"A practical score for the early diagnosis of acute appendicitis"},"components":[{"factor":"migration","points":0,"present":false},{"factor":"anorexia","points":0,"present":false},{"factor":"nausea_vomiting","points":0,"present":false},{"factor":"rlq_tenderness","points":0,"present":false},{"factor":"rebound","points":0,"present":false},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"leukocytosis","points":0,"present":false,"value":8000},{"factor":"left_shift","points":0,"present":false,"value":60}],"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":"alvarado","formula_expression":"Alvarado (MANTRELS) = migration + anorexia + nausea_vomiting + 2*rlq_tenderness + rebound + (temperature_c >= 37.3) + 2*(wbc_ul > 10000) + (neutrophil_percent > 75); max 10; bands 0-4 / 5-6 / 7-10","max_score":10,"neutrophil_percent":60,"score":0,"temperature_c":37,"wbc_ul":8000},{"alvarado_band":"0-4","citation":{"authors":"Alvarado A","doi":"10.1016/S0196-0644(86)80993-3","id":"alvarado-1986","source":"Ann Emerg Med. 1986;15(5):557-564","title":"A practical score for the early diagnosis of acute appendicitis"},"components":[{"factor":"migration","points":0,"present":false},{"factor":"anorexia","points":0,"present":false},{"factor":"nausea_vomiting","points":0,"present":false},{"factor":"rlq_tenderness","points":0,"present":false},{"factor":"rebound","points":0,"present":false},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"leukocytosis","points":0,"present":false,"value":8000},{"factor":"left_shift","points":0,"present":false,"value":60}],"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":"alvarado","formula_expression":"Alvarado (MANTRELS) = migration + anorexia + nausea_vomiting + 2*rlq_tenderness + rebound + (temperature_c >= 37.3) + 2*(wbc_ul > 10000) + (neutrophil_percent > 75); max 10; bands 0-4 / 5-6 / 7-10","max_score":10,"neutrophil_percent":60,"score":0,"temperature_c":37,"wbc_ul":8000}],"path":"/api/calc/alvarado"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anorexia":{"description":"Anorexia (A). true or false.","type":"boolean"},"migration":{"description":"Pain migration to the right lower quadrant (M). true or false.","type":"boolean"},"nausea_vomiting":{"description":"Nausea or vomiting (N). true or false.","type":"boolean"},"neutrophil_percent":{"description":"Neutrophil percent (0-100). Left shift scores 1 if >75 (75.0 does not; 75.1 does).","type":"number"},"rebound":{"description":"Rebound tenderness (R). true or false.","type":"boolean"},"rlq_tenderness":{"description":"Right-lower-quadrant tenderness (T). true scores 2; false scores 0.","type":"boolean"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). ≥37.3 scores 1 (37.3 scores; 37.2 does not).","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. >10000/µL scores 2.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. >10000 scores 2 (10000 does not; 10001 does).","type":"number"}},"required":["migration","anorexia","nausea_vomiting","rlq_tenderness","rebound","temperature_c","neutrophil_percent"],"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":["alvarado","appendicitis","mantrels","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:35:51.676Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:35:51.536Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anorexia":false,"migration":false,"nausea_vomiting":false,"neutrophil_percent":60,"rebound":false,"rlq_tenderness":false,"temperature_c":37,"wbc_k_ul":8,"wbc_ul":8000},{"anorexia":false,"migration":false,"nausea_vomiting":false,"neutrophil_percent":60,"rebound":false,"rlq_tenderness":false,"temperature_c":37,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alvarado_band":"0-4","citation":{"authors":"Alvarado A","doi":"10.1016/S0196-0644(86)80993-3","id":"alvarado-1986","source":"Ann Emerg Med. 1986;15(5):557-564","title":"A practical score for the early diagnosis of acute appendicitis"},"components":[{"factor":"migration","points":0,"present":false},{"factor":"anorexia","points":0,"present":false},{"factor":"nausea_vomiting","points":0,"present":false},{"factor":"rlq_tenderness","points":0,"present":false},{"factor":"rebound","points":0,"present":false},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"leukocytosis","points":0,"present":false,"value":8000},{"factor":"left_shift","points":0,"present":false,"value":60}],"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":"alvarado","formula_expression":"Alvarado (MANTRELS) = migration + anorexia + nausea_vomiting + 2*rlq_tenderness + rebound + (temperature_c >= 37.3) + 2*(wbc_ul > 10000) + (neutrophil_percent > 75); max 10; bands 0-4 / 5-6 / 7-10","max_score":10,"neutrophil_percent":60,"score":0,"temperature_c":37,"wbc_ul":8000},{"alvarado_band":"0-4","citation":{"authors":"Alvarado A","doi":"10.1016/S0196-0644(86)80993-3","id":"alvarado-1986","source":"Ann Emerg Med. 1986;15(5):557-564","title":"A practical score for the early diagnosis of acute appendicitis"},"components":[{"factor":"migration","points":0,"present":false},{"factor":"anorexia","points":0,"present":false},{"factor":"nausea_vomiting","points":0,"present":false},{"factor":"rlq_tenderness","points":0,"present":false},{"factor":"rebound","points":0,"present":false},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"leukocytosis","points":0,"present":false,"value":8000},{"factor":"left_shift","points":0,"present":false,"value":60}],"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":"alvarado","formula_expression":"Alvarado (MANTRELS) = migration + anorexia + nausea_vomiting + 2*rlq_tenderness + rebound + (temperature_c >= 37.3) + 2*(wbc_ul > 10000) + (neutrophil_percent > 75); max 10; bands 0-4 / 5-6 / 7-10","max_score":10,"neutrophil_percent":60,"score":0,"temperature_c":37,"wbc_ul":8000}],"path":"/api/calc/alvarado"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anorexia":{"description":"Anorexia (A). true or false.","type":"boolean"},"migration":{"description":"Pain migration to the right lower quadrant (M). true or false.","type":"boolean"},"nausea_vomiting":{"description":"Nausea or vomiting (N). true or false.","type":"boolean"},"neutrophil_percent":{"description":"Neutrophil percent (0-100). Left shift scores 1 if >75 (75.0 does not; 75.1 does).","type":"number"},"rebound":{"description":"Rebound tenderness (R). true or false.","type":"boolean"},"rlq_tenderness":{"description":"Right-lower-quadrant tenderness (T). true scores 2; false scores 0.","type":"boolean"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). ≥37.3 scores 1 (37.3 scores; 37.2 does not).","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. >10000/µL scores 2.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. >10000 scores 2 (10000 does not; 10001 does).","type":"number"}},"required":["migration","anorexia","nausea_vomiting","rlq_tenderness","rebound","temperature_c","neutrophil_percent"],"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},{"id":39313,"slug":"39313","resource":"https://api.magentlab.com/api/calc/alteplase_stroke","description":"NINDS 1995 IV alteplase milligram arithmetic from weight: total_mg = min(0.9 × weight_kg, 90), 10% bolus, 90% infusion over 60 minutes. Reports milligrams and whether the 90 mg cap applied. Not a medical device, not a prescription, not an eligibility screen, and not tenecteplase.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"weight_kg":80},{"weight_kg":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bolus_mg":7.2,"capped":false,"citation":{"authors":"National Institute of Neurological Disorders and Stroke rt-PA Stroke Study Group","doi":"10.1056/NEJM199512143332401","id":"ninds-1995","pmid":"7477192","source":"N Engl J Med. 1995;333(24):1581-1587","title":"Tissue plasminogen activator for acute ischemic stroke"},"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":"alteplase_stroke","formula_expression":"total_mg = min(0.9 * weight_kg, 90.0); bolus_mg = 0.10 * total_mg; infusion_mg = 0.90 * total_mg; infusion_minutes = 60","infusion_mg":64.8,"infusion_minutes":60,"total_mg":72,"weight_kg":80},{"bolus_mg":7.2,"capped":false,"citation":{"authors":"National Institute of Neurological Disorders and Stroke rt-PA Stroke Study Group","doi":"10.1056/NEJM199512143332401","id":"ninds-1995","pmid":"7477192","source":"N Engl J Med. 1995;333(24):1581-1587","title":"Tissue plasminogen activator for acute ischemic stroke"},"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":"alteplase_stroke","formula_expression":"total_mg = min(0.9 * weight_kg, 90.0); bolus_mg = 0.10 * total_mg; infusion_mg = 0.90 * total_mg; infusion_minutes = 60","infusion_mg":64.8,"infusion_minutes":60,"total_mg":72,"weight_kg":80}],"path":"/api/calc/alteplase_stroke"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"weight_kg":{"description":"Weight in kilograms (1-500). NINDS 1995 dose is 0.9 mg/kg, maximum 90 mg. magent clamp, not an eligibility band.","type":"number"}},"required":["weight_kg"],"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":["alteplase","stroke","neurology","ninds","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:35:50.767Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:35:50.634Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"weight_kg":80},{"weight_kg":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bolus_mg":7.2,"capped":false,"citation":{"authors":"National Institute of Neurological Disorders and Stroke rt-PA Stroke Study Group","doi":"10.1056/NEJM199512143332401","id":"ninds-1995","pmid":"7477192","source":"N Engl J Med. 1995;333(24):1581-1587","title":"Tissue plasminogen activator for acute ischemic stroke"},"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":"alteplase_stroke","formula_expression":"total_mg = min(0.9 * weight_kg, 90.0); bolus_mg = 0.10 * total_mg; infusion_mg = 0.90 * total_mg; infusion_minutes = 60","infusion_mg":64.8,"infusion_minutes":60,"total_mg":72,"weight_kg":80},{"bolus_mg":7.2,"capped":false,"citation":{"authors":"National Institute of Neurological Disorders and Stroke rt-PA Stroke Study Group","doi":"10.1056/NEJM199512143332401","id":"ninds-1995","pmid":"7477192","source":"N Engl J Med. 1995;333(24):1581-1587","title":"Tissue plasminogen activator for acute ischemic stroke"},"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":"alteplase_stroke","formula_expression":"total_mg = min(0.9 * weight_kg, 90.0); bolus_mg = 0.10 * total_mg; infusion_mg = 0.90 * total_mg; infusion_minutes = 60","infusion_mg":64.8,"infusion_minutes":60,"total_mg":72,"weight_kg":80}],"path":"/api/calc/alteplase_stroke"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"weight_kg":{"description":"Weight in kilograms (1-500). NINDS 1995 dose is 0.9 mg/kg, maximum 90 mg. magent clamp, not an eligibility band.","type":"number"}},"required":["weight_kg"],"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},{"id":39314,"slug":"39314","resource":"https://api.magentlab.com/api/calc/alsfrs_r","description":"Cedarbaum 1999 ALSFRS-R: twelve caller-assigned integers 0-4 (speech, salivation, swallowing, handwriting, cutting_food, dressing_hygiene, turning_in_bed, walking, climbing_stairs, dyspnea, orthopnea, respiratory_insufficiency). One cutting_food slot for with or without gastrostomy. Sum 0-48. magent does not examine. Cedarbaum 1999 printed no total-score severity bands. Not a diagnosis, not original 10-item ALSFRS, not Karnofsky or ECOG, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"climbing_stairs":0,"cutting_food":0,"dressing_hygiene":0,"dyspnea":0,"handwriting":0,"orthopnea":0,"respiratory_insufficiency":0,"salivation":0,"speech":0,"swallowing":0,"turning_in_bed":0,"walking":0},{"climbing_stairs":0,"cutting_food":0,"dressing_hygiene":0,"dyspnea":0,"handwriting":0,"orthopnea":0,"respiratory_insufficiency":0,"salivation":0,"speech":0,"swallowing":0,"turning_in_bed":0,"walking":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cedarbaum JM, Stambler N, Malta E, Fuller C, Hilt D, Thurmond B, Nakanishi A","doi":"10.1016/s0022-510x(99)00210-5","id":"cedarbaum-1999","pmid":"10540002","source":"J Neurol Sci. 1999;169(1-2):13-21","title":"The ALSFRS-R: a revised ALS functional rating scale that incorporates assessments of respiratory function. BDNF Study Group (Phase III)"},"components":[{"factor":"speech","points":0,"present":true,"value":0},{"factor":"salivation","points":0,"present":true,"value":0},{"factor":"swallowing","points":0,"present":true,"value":0},{"factor":"handwriting","points":0,"present":true,"value":0},{"factor":"cutting_food","points":0,"present":true,"value":0},{"factor":"dressing_hygiene","points":0,"present":true,"value":0},{"factor":"turning_in_bed","points":0,"present":true,"value":0},{"factor":"walking","points":0,"present":true,"value":0},{"factor":"climbing_stairs","points":0,"present":true,"value":0},{"factor":"dyspnea","points":0,"present":true,"value":0},{"factor":"orthopnea","points":0,"present":true,"value":0},{"factor":"respiratory_insufficiency","points":0,"present":true,"value":0}],"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":"alsfrs_r","formula_expression":"ALSFRS-R = speech + salivation + swallowing + handwriting + cutting_food + dressing_hygiene + turning_in_bed + walking + climbing_stairs + dyspnea + orthopnea + respiratory_insufficiency; each caller-assigned 0-4; Cedarbaum 1999 twelve items including three respiratory; cutting_food is one 0-4 slot for with or without gastrostomy; max 48; no total-score severity bands","max_score":48,"score":0},{"citation":{"authors":"Cedarbaum JM, Stambler N, Malta E, Fuller C, Hilt D, Thurmond B, Nakanishi A","doi":"10.1016/s0022-510x(99)00210-5","id":"cedarbaum-1999","pmid":"10540002","source":"J Neurol Sci. 1999;169(1-2):13-21","title":"The ALSFRS-R: a revised ALS functional rating scale that incorporates assessments of respiratory function. BDNF Study Group (Phase III)"},"components":[{"factor":"speech","points":0,"present":true,"value":0},{"factor":"salivation","points":0,"present":true,"value":0},{"factor":"swallowing","points":0,"present":true,"value":0},{"factor":"handwriting","points":0,"present":true,"value":0},{"factor":"cutting_food","points":0,"present":true,"value":0},{"factor":"dressing_hygiene","points":0,"present":true,"value":0},{"factor":"turning_in_bed","points":0,"present":true,"value":0},{"factor":"walking","points":0,"present":true,"value":0},{"factor":"climbing_stairs","points":0,"present":true,"value":0},{"factor":"dyspnea","points":0,"present":true,"value":0},{"factor":"orthopnea","points":0,"present":true,"value":0},{"factor":"respiratory_insufficiency","points":0,"present":true,"value":0}],"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":"alsfrs_r","formula_expression":"ALSFRS-R = speech + salivation + swallowing + handwriting + cutting_food + dressing_hygiene + turning_in_bed + walking + climbing_stairs + dyspnea + orthopnea + respiratory_insufficiency; each caller-assigned 0-4; Cedarbaum 1999 twelve items including three respiratory; cutting_food is one 0-4 slot for with or without gastrostomy; max 48; no total-score severity bands","max_score":48,"score":0}],"path":"/api/calc/alsfrs_r"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"climbing_stairs":{"description":"Caller-assigned Cedarbaum 1999 climbing stairs (integer 0-4): 4 normal; 3 slow; 2 mild unsteadiness or fatigue; 1 needs assistance; 0 cannot do. magent does not examine the patient.","type":"integer"},"cutting_food":{"description":"Caller-assigned Cedarbaum 1999 cutting food and handling utensils (integer 0-4). Patients without gastrostomy and patients with gastrostomy share this single 0-4 slot; the caller assigns 0-4 from whichever Table 1 column applies. Without gastrostomy: 4 normal; 3 somewhat slow and clumsy, but no help needed; 2 can cut most foods, although slow and clumsy, some help needed; 1 food must be cut by someone, but can still feed slowly; 0 needs to be fed. With gastrostomy: 4 normal; 3 clumsy but able to perform all manipulations independently; 2 some help needed with closures and fasteners; 1 provides minimal assistance to caregiver; 0 unable to perform any aspect of task. magent does not examine the patient.","type":"integer"},"dressing_hygiene":{"description":"Caller-assigned Cedarbaum 1999 dressing and hygiene (integer 0-4): 4 normal function; 3 independent and complete self-care with effort or decreased efficiency; 2 intermittent assistance or substitute methods; 1 needs attendant for self-care; 0 total dependence. magent does not examine the patient.","type":"integer"},"dyspnea":{"description":"Caller-assigned Cedarbaum 1999 dyspnea (integer 0-4): 4 none; 3 occurs when walking; 2 occurs with one or more of eating, bathing, dressing (ADL); 1 occurs at rest, difficulty breathing when either sitting or lying; 0 significant difficulty, considering using mechanical respiratory support. magent does not examine the patient.","type":"integer"},"handwriting":{"description":"Caller-assigned Cedarbaum 1999 handwriting (integer 0-4): 4 normal; 3 slow or sloppy, all words are legible; 2 not all words are legible; 1 able to grip pen but unable to write; 0 unable to grip pen. magent does not examine the patient.","type":"integer"},"orthopnea":{"description":"Caller-assigned Cedarbaum 1999 orthopnea (integer 0-4): 4 none; 3 some difficulty sleeping at night due to shortness of breath, does not routinely use more than two pillows; 2 needs extra pillows in order to sleep (more than two); 1 can only sleep sitting up; 0 unable to sleep. magent does not examine the patient.","type":"integer"},"respiratory_insufficiency":{"description":"Caller-assigned Cedarbaum 1999 respiratory insufficiency (integer 0-4): 4 none; 3 intermittent use of NIPPV; 2 continuous use of NIPPV during the night; 1 continuous use of NIPPV during the night and day; 0 invasive mechanical ventilation by intubation or tracheostomy. magent does not examine the patient.","type":"integer"},"salivation":{"description":"Caller-assigned Cedarbaum 1999 salivation (integer 0-4): 4 normal; 3 slight but definite excess of saliva in mouth, may have nighttime drooling; 2 moderately excessive saliva, may have minimal drooling; 1 marked excess of saliva with some drooling; 0 marked drooling, requires constant tissue or handkerchief. magent does not examine the patient.","type":"integer"},"speech":{"description":"Caller-assigned Cedarbaum 1999 speech (integer 0-4): 4 normal speech processes; 3 detectable speech disturbance; 2 intelligible with repeating; 1 speech combined with nonvocal communication; 0 loss of useful speech. magent does not examine the patient.","type":"integer"},"swallowing":{"description":"Caller-assigned Cedarbaum 1999 swallowing (integer 0-4): 4 normal eating habits; 3 early eating problems, occasional choking; 2 dietary consistency changes; 1 needs supplemental tube feeding; 0 NPO (exclusively parenteral or enteral feeding). magent does not examine the patient.","type":"integer"},"turning_in_bed":{"description":"Caller-assigned Cedarbaum 1999 turning in bed and adjusting bed clothes (integer 0-4): 4 normal; 3 somewhat slow and clumsy, but no help needed; 2 can turn alone or adjust sheets, but with great difficulty; 1 can initiate, but not turn or adjust sheets alone; 0 helpless. magent does not examine the patient.","type":"integer"},"walking":{"description":"Caller-assigned Cedarbaum 1999 walking (integer 0-4): 4 normal; 3 early ambulation difficulties; 2 walks with assistance; 1 nonambulatory functional movement only; 0 no purposeful leg movement. magent does not examine the patient.","type":"integer"}},"required":["speech","salivation","swallowing","handwriting","cutting_food","dressing_hygiene","turning_in_bed","walking","climbing_stairs","dyspnea","orthopnea","respiratory_insufficiency"],"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":["alsfrs-r","als","neurology","cedarbaum","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:35:49.812Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:35:49.689Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"climbing_stairs":0,"cutting_food":0,"dressing_hygiene":0,"dyspnea":0,"handwriting":0,"orthopnea":0,"respiratory_insufficiency":0,"salivation":0,"speech":0,"swallowing":0,"turning_in_bed":0,"walking":0},{"climbing_stairs":0,"cutting_food":0,"dressing_hygiene":0,"dyspnea":0,"handwriting":0,"orthopnea":0,"respiratory_insufficiency":0,"salivation":0,"speech":0,"swallowing":0,"turning_in_bed":0,"walking":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cedarbaum JM, Stambler N, Malta E, Fuller C, Hilt D, Thurmond B, Nakanishi A","doi":"10.1016/s0022-510x(99)00210-5","id":"cedarbaum-1999","pmid":"10540002","source":"J Neurol Sci. 1999;169(1-2):13-21","title":"The ALSFRS-R: a revised ALS functional rating scale that incorporates assessments of respiratory function. BDNF Study Group (Phase III)"},"components":[{"factor":"speech","points":0,"present":true,"value":0},{"factor":"salivation","points":0,"present":true,"value":0},{"factor":"swallowing","points":0,"present":true,"value":0},{"factor":"handwriting","points":0,"present":true,"value":0},{"factor":"cutting_food","points":0,"present":true,"value":0},{"factor":"dressing_hygiene","points":0,"present":true,"value":0},{"factor":"turning_in_bed","points":0,"present":true,"value":0},{"factor":"walking","points":0,"present":true,"value":0},{"factor":"climbing_stairs","points":0,"present":true,"value":0},{"factor":"dyspnea","points":0,"present":true,"value":0},{"factor":"orthopnea","points":0,"present":true,"value":0},{"factor":"respiratory_insufficiency","points":0,"present":true,"value":0}],"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":"alsfrs_r","formula_expression":"ALSFRS-R = speech + salivation + swallowing + handwriting + cutting_food + dressing_hygiene + turning_in_bed + walking + climbing_stairs + dyspnea + orthopnea + respiratory_insufficiency; each caller-assigned 0-4; Cedarbaum 1999 twelve items including three respiratory; cutting_food is one 0-4 slot for with or without gastrostomy; max 48; no total-score severity bands","max_score":48,"score":0},{"citation":{"authors":"Cedarbaum JM, Stambler N, Malta E, Fuller C, Hilt D, Thurmond B, Nakanishi A","doi":"10.1016/s0022-510x(99)00210-5","id":"cedarbaum-1999","pmid":"10540002","source":"J Neurol Sci. 1999;169(1-2):13-21","title":"The ALSFRS-R: a revised ALS functional rating scale that incorporates assessments of respiratory function. BDNF Study Group (Phase III)"},"components":[{"factor":"speech","points":0,"present":true,"value":0},{"factor":"salivation","points":0,"present":true,"value":0},{"factor":"swallowing","points":0,"present":true,"value":0},{"factor":"handwriting","points":0,"present":true,"value":0},{"factor":"cutting_food","points":0,"present":true,"value":0},{"factor":"dressing_hygiene","points":0,"present":true,"value":0},{"factor":"turning_in_bed","points":0,"present":true,"value":0},{"factor":"walking","points":0,"present":true,"value":0},{"factor":"climbing_stairs","points":0,"present":true,"value":0},{"factor":"dyspnea","points":0,"present":true,"value":0},{"factor":"orthopnea","points":0,"present":true,"value":0},{"factor":"respiratory_insufficiency","points":0,"present":true,"value":0}],"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":"alsfrs_r","formula_expression":"ALSFRS-R = speech + salivation + swallowing + handwriting + cutting_food + dressing_hygiene + turning_in_bed + walking + climbing_stairs + dyspnea + orthopnea + respiratory_insufficiency; each caller-assigned 0-4; Cedarbaum 1999 twelve items including three respiratory; cutting_food is one 0-4 slot for with or without gastrostomy; max 48; no total-score severity bands","max_score":48,"score":0}],"path":"/api/calc/alsfrs_r"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"climbing_stairs":{"description":"Caller-assigned Cedarbaum 1999 climbing stairs (integer 0-4): 4 normal; 3 slow; 2 mild unsteadiness or fatigue; 1 needs assistance; 0 cannot do. magent does not examine the patient.","type":"integer"},"cutting_food":{"description":"Caller-assigned Cedarbaum 1999 cutting food and handling utensils (integer 0-4). Patients without gastrostomy and patients with gastrostomy share this single 0-4 slot; the caller assigns 0-4 from whichever Table 1 column applies. Without gastrostomy: 4 normal; 3 somewhat slow and clumsy, but no help needed; 2 can cut most foods, although slow and clumsy, some help needed; 1 food must be cut by someone, but can still feed slowly; 0 needs to be fed. With gastrostomy: 4 normal; 3 clumsy but able to perform all manipulations independently; 2 some help needed with closures and fasteners; 1 provides minimal assistance to caregiver; 0 unable to perform any aspect of task. magent does not examine the patient.","type":"integer"},"dressing_hygiene":{"description":"Caller-assigned Cedarbaum 1999 dressing and hygiene (integer 0-4): 4 normal function; 3 independent and complete self-care with effort or decreased efficiency; 2 intermittent assistance or substitute methods; 1 needs attendant for self-care; 0 total dependence. magent does not examine the patient.","type":"integer"},"dyspnea":{"description":"Caller-assigned Cedarbaum 1999 dyspnea (integer 0-4): 4 none; 3 occurs when walking; 2 occurs with one or more of eating, bathing, dressing (ADL); 1 occurs at rest, difficulty breathing when either sitting or lying; 0 significant difficulty, considering using mechanical respiratory support. magent does not examine the patient.","type":"integer"},"handwriting":{"description":"Caller-assigned Cedarbaum 1999 handwriting (integer 0-4): 4 normal; 3 slow or sloppy, all words are legible; 2 not all words are legible; 1 able to grip pen but unable to write; 0 unable to grip pen. magent does not examine the patient.","type":"integer"},"orthopnea":{"description":"Caller-assigned Cedarbaum 1999 orthopnea (integer 0-4): 4 none; 3 some difficulty sleeping at night due to shortness of breath, does not routinely use more than two pillows; 2 needs extra pillows in order to sleep (more than two); 1 can only sleep sitting up; 0 unable to sleep. magent does not examine the patient.","type":"integer"},"respiratory_insufficiency":{"description":"Caller-assigned Cedarbaum 1999 respiratory insufficiency (integer 0-4): 4 none; 3 intermittent use of NIPPV; 2 continuous use of NIPPV during the night; 1 continuous use of NIPPV during the night and day; 0 invasive mechanical ventilation by intubation or tracheostomy. magent does not examine the patient.","type":"integer"},"salivation":{"description":"Caller-assigned Cedarbaum 1999 salivation (integer 0-4): 4 normal; 3 slight but definite excess of saliva in mouth, may have nighttime drooling; 2 moderately excessive saliva, may have minimal drooling; 1 marked excess of saliva with some drooling; 0 marked drooling, requires constant tissue or handkerchief. magent does not examine the patient.","type":"integer"},"speech":{"description":"Caller-assigned Cedarbaum 1999 speech (integer 0-4): 4 normal speech processes; 3 detectable speech disturbance; 2 intelligible with repeating; 1 speech combined with nonvocal communication; 0 loss of useful speech. magent does not examine the patient.","type":"integer"},"swallowing":{"description":"Caller-assigned Cedarbaum 1999 swallowing (integer 0-4): 4 normal eating habits; 3 early eating problems, occasional choking; 2 dietary consistency changes; 1 needs supplemental tube feeding; 0 NPO (exclusively parenteral or enteral feeding). magent does not examine the patient.","type":"integer"},"turning_in_bed":{"description":"Caller-assigned Cedarbaum 1999 turning in bed and adjusting bed clothes (integer 0-4): 4 normal; 3 somewhat slow and clumsy, but no help needed; 2 can turn alone or adjust sheets, but with great difficulty; 1 can initiate, but not turn or adjust sheets alone; 0 helpless. magent does not examine the patient.","type":"integer"},"walking":{"description":"Caller-assigned Cedarbaum 1999 walking (integer 0-4): 4 normal; 3 early ambulation difficulties; 2 walks with assistance; 1 nonambulatory functional movement only; 0 no purposeful leg movement. magent does not examine the patient.","type":"integer"}},"required":["speech","salivation","swallowing","handwriting","cutting_food","dressing_hygiene","turning_in_bed","walking","climbing_stairs","dyspnea","orthopnea","respiratory_insufficiency"],"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},{"id":39315,"slug":"39315","resource":"https://api.magentlab.com/api/calc/aldrete","description":"Aldrete 1970 postanesthetic recovery score from five caller-assigned 0-2 signs (activity, respiration, circulation, consciousness, color), summed to 0-10. Returns 0_to_7 (close observation), 8_to_9 (acceptable for recovery-room discharge to the ward), or 10 (ideal). Deterministic published score with citation; not the 1995 SpO2 revision; not PADSS; not a discharge order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"activity":2,"circulation":2,"color":2,"consciousness":2,"respiration":2},{"activity":2,"circulation":2,"color":2,"consciousness":2,"respiration":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"category":"10","citation":{"authors":"Aldrete JA, Kroulik D","doi":"10.1213/00000539-197011000-00020","id":"aldrete-1970","pmid":"5534693","source":"Anesth Analg. 1970;49(6):924-934","title":"A postanesthetic recovery score"},"components":[{"factor":"activity","points":2,"present":true,"value":2},{"factor":"respiration","points":2,"present":true,"value":2},{"factor":"circulation","points":2,"present":true,"value":2},{"factor":"consciousness","points":2,"present":true,"value":2},{"factor":"color","points":2,"present":true,"value":2}],"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":"aldrete","formula_expression":"Aldrete = activity + respiration + circulation + consciousness + color; each 0-2; max 10; 8-9 acceptable for recovery-room discharge to ward; 10 ideal; 0-7 close observation (Aldrete 1970)","max_score":10,"score":10},{"category":"10","citation":{"authors":"Aldrete JA, Kroulik D","doi":"10.1213/00000539-197011000-00020","id":"aldrete-1970","pmid":"5534693","source":"Anesth Analg. 1970;49(6):924-934","title":"A postanesthetic recovery score"},"components":[{"factor":"activity","points":2,"present":true,"value":2},{"factor":"respiration","points":2,"present":true,"value":2},{"factor":"circulation","points":2,"present":true,"value":2},{"factor":"consciousness","points":2,"present":true,"value":2},{"factor":"color","points":2,"present":true,"value":2}],"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":"aldrete","formula_expression":"Aldrete = activity + respiration + circulation + consciousness + color; each 0-2; max 10; 8-9 acceptable for recovery-room discharge to ward; 10 ideal; 0-7 close observation (Aldrete 1970)","max_score":10,"score":10}],"path":"/api/calc/aldrete"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity":{"description":"Muscle activity (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = moves 4 extremities voluntarily or on command; 1 = 2 extremities; 0 = none. magent does not examine the patient.","type":"integer"},"circulation":{"description":"Circulation (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = BP within 20% of preanesthetic level; 1 = BP 20-50% of preanesthetic; 0 = BP 50% or more from preanesthetic. magent does not measure blood pressure.","type":"integer"},"color":{"description":"Color (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = pink; 1 = pale, dusky, blotchy, jaundiced, or other; 0 = cyanotic. Not the 1995 SpO2 revision. magent does not observe skin color.","type":"integer"},"consciousness":{"description":"Consciousness (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = fully awake; 1 = arousable on calling; 0 = not responding. magent does not examine the patient.","type":"integer"},"respiration":{"description":"Respiration (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = able to deep breathe and cough freely; 1 = dyspnea or limited breathing; 0 = apneic. magent does not auscultate.","type":"integer"}},"required":["activity","respiration","circulation","consciousness","color"],"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":["aldrete","pacu","anesthesia","recovery","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:30:52.03Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:30:51.873Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"activity":2,"circulation":2,"color":2,"consciousness":2,"respiration":2},{"activity":2,"circulation":2,"color":2,"consciousness":2,"respiration":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"category":"10","citation":{"authors":"Aldrete JA, Kroulik D","doi":"10.1213/00000539-197011000-00020","id":"aldrete-1970","pmid":"5534693","source":"Anesth Analg. 1970;49(6):924-934","title":"A postanesthetic recovery score"},"components":[{"factor":"activity","points":2,"present":true,"value":2},{"factor":"respiration","points":2,"present":true,"value":2},{"factor":"circulation","points":2,"present":true,"value":2},{"factor":"consciousness","points":2,"present":true,"value":2},{"factor":"color","points":2,"present":true,"value":2}],"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":"aldrete","formula_expression":"Aldrete = activity + respiration + circulation + consciousness + color; each 0-2; max 10; 8-9 acceptable for recovery-room discharge to ward; 10 ideal; 0-7 close observation (Aldrete 1970)","max_score":10,"score":10},{"category":"10","citation":{"authors":"Aldrete JA, Kroulik D","doi":"10.1213/00000539-197011000-00020","id":"aldrete-1970","pmid":"5534693","source":"Anesth Analg. 1970;49(6):924-934","title":"A postanesthetic recovery score"},"components":[{"factor":"activity","points":2,"present":true,"value":2},{"factor":"respiration","points":2,"present":true,"value":2},{"factor":"circulation","points":2,"present":true,"value":2},{"factor":"consciousness","points":2,"present":true,"value":2},{"factor":"color","points":2,"present":true,"value":2}],"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":"aldrete","formula_expression":"Aldrete = activity + respiration + circulation + consciousness + color; each 0-2; max 10; 8-9 acceptable for recovery-room discharge to ward; 10 ideal; 0-7 close observation (Aldrete 1970)","max_score":10,"score":10}],"path":"/api/calc/aldrete"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity":{"description":"Muscle activity (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = moves 4 extremities voluntarily or on command; 1 = 2 extremities; 0 = none. magent does not examine the patient.","type":"integer"},"circulation":{"description":"Circulation (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = BP within 20% of preanesthetic level; 1 = BP 20-50% of preanesthetic; 0 = BP 50% or more from preanesthetic. magent does not measure blood pressure.","type":"integer"},"color":{"description":"Color (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = pink; 1 = pale, dusky, blotchy, jaundiced, or other; 0 = cyanotic. Not the 1995 SpO2 revision. magent does not observe skin color.","type":"integer"},"consciousness":{"description":"Consciousness (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = fully awake; 1 = arousable on calling; 0 = not responding. magent does not examine the patient.","type":"integer"},"respiration":{"description":"Respiration (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = able to deep breathe and cough freely; 1 = dyspnea or limited breathing; 0 = apneic. magent does not auscultate.","type":"integer"}},"required":["activity","respiration","circulation","consciousness","color"],"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},{"id":39316,"slug":"39316","resource":"https://api.magentlab.com/api/calc/ais_inhalation","description":"Endorf 2007 bronchoscopic AIS inhalation injury grade 0-4 as assigned by the caller. Returns ais_grade, the published bronchoscopic description, and high_grade (true when grade is 2-4; those grades had worse survival than 0-1, P = .03). magent does not perform bronchoscopy. Not a diagnosis. Not ISS body-region AIS. Not RADS CT smoke score. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ais_grade":0},{"ais_grade":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ais_grade":0,"citation":{"authors":"Endorf FW, Gamelli RL","doi":"10.1097/bcr.0b013e31802c889f","id":"endorf-2007","pmid":"17211205","source":"J Burn Care Res. 2007;28(1):80-83","title":"Inhalation injury, pulmonary perturbations, and fluid resuscitation"},"components":[{"factor":"grade_0","met":true},{"factor":"grade_1","met":false},{"factor":"grade_2","met":false},{"factor":"grade_3","met":false},{"factor":"grade_4","met":false}],"description":"No injury: absence of carbonaceous deposits, erythema, edema, bronchorrhea, or obstruction","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":"ais_inhalation","formula_expression":"ais_grade in {0, 1, 2, 3, 4} as assigned by the caller (Endorf 2007 bronchoscopic grading derived from AIS criteria). high_grade iff ais_grade >= 2 (grades 2, 3, and 4 had significantly worse survival than grades 0 or 1, P = .03). magent does not perform bronchoscopy. Not ISS body-region AIS. Not RADS CT smoke score.","high_grade":false},{"ais_grade":0,"citation":{"authors":"Endorf FW, Gamelli RL","doi":"10.1097/bcr.0b013e31802c889f","id":"endorf-2007","pmid":"17211205","source":"J Burn Care Res. 2007;28(1):80-83","title":"Inhalation injury, pulmonary perturbations, and fluid resuscitation"},"components":[{"factor":"grade_0","met":true},{"factor":"grade_1","met":false},{"factor":"grade_2","met":false},{"factor":"grade_3","met":false},{"factor":"grade_4","met":false}],"description":"No injury: absence of carbonaceous deposits, erythema, edema, bronchorrhea, or obstruction","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":"ais_inhalation","formula_expression":"ais_grade in {0, 1, 2, 3, 4} as assigned by the caller (Endorf 2007 bronchoscopic grading derived from AIS criteria). high_grade iff ais_grade >= 2 (grades 2, 3, and 4 had significantly worse survival than grades 0 or 1, P = .03). magent does not perform bronchoscopy. Not ISS body-region AIS. Not RADS CT smoke score.","high_grade":false}],"path":"/api/calc/ais_inhalation"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ais_grade":{"description":"Endorf 2007 bronchoscopic AIS inhalation grade 0-4 as assigned by the caller (0 no injury: absence of carbonaceous deposits, erythema, edema, bronchorrhea, or obstruction; 1 mild: minor or patchy areas of erythema, carbonaceous deposits in proximal or distal bronchi, any or combination; 2 moderate: moderate degree of erythema, carbonaceous deposits, bronchorrhea, with or without compromise of the bronchi, any or combination; 3 severe: severe inflammation with friability, copious carbonaceous deposits, bronchorrhea, bronchial obstruction, any or combination; 4 massive: evidence of mucosal sloughing, necrosis, endoluminal obliteration, any or combination). Integer 0-4 only; reject 5, 1.5, and roman I. magent does not perform bronchoscopy. Not ISS body-region AIS. Not RADS CT smoke score.","type":"integer"}},"required":["ais_grade"],"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":["ais-inhalation","burns","bronchoscopy","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:30:50.632Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:30:50.5Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ais_grade":0},{"ais_grade":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ais_grade":0,"citation":{"authors":"Endorf FW, Gamelli RL","doi":"10.1097/bcr.0b013e31802c889f","id":"endorf-2007","pmid":"17211205","source":"J Burn Care Res. 2007;28(1):80-83","title":"Inhalation injury, pulmonary perturbations, and fluid resuscitation"},"components":[{"factor":"grade_0","met":true},{"factor":"grade_1","met":false},{"factor":"grade_2","met":false},{"factor":"grade_3","met":false},{"factor":"grade_4","met":false}],"description":"No injury: absence of carbonaceous deposits, erythema, edema, bronchorrhea, or obstruction","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":"ais_inhalation","formula_expression":"ais_grade in {0, 1, 2, 3, 4} as assigned by the caller (Endorf 2007 bronchoscopic grading derived from AIS criteria). high_grade iff ais_grade >= 2 (grades 2, 3, and 4 had significantly worse survival than grades 0 or 1, P = .03). magent does not perform bronchoscopy. Not ISS body-region AIS. Not RADS CT smoke score.","high_grade":false},{"ais_grade":0,"citation":{"authors":"Endorf FW, Gamelli RL","doi":"10.1097/bcr.0b013e31802c889f","id":"endorf-2007","pmid":"17211205","source":"J Burn Care Res. 2007;28(1):80-83","title":"Inhalation injury, pulmonary perturbations, and fluid resuscitation"},"components":[{"factor":"grade_0","met":true},{"factor":"grade_1","met":false},{"factor":"grade_2","met":false},{"factor":"grade_3","met":false},{"factor":"grade_4","met":false}],"description":"No injury: absence of carbonaceous deposits, erythema, edema, bronchorrhea, or obstruction","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":"ais_inhalation","formula_expression":"ais_grade in {0, 1, 2, 3, 4} as assigned by the caller (Endorf 2007 bronchoscopic grading derived from AIS criteria). high_grade iff ais_grade >= 2 (grades 2, 3, and 4 had significantly worse survival than grades 0 or 1, P = .03). magent does not perform bronchoscopy. Not ISS body-region AIS. Not RADS CT smoke score.","high_grade":false}],"path":"/api/calc/ais_inhalation"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ais_grade":{"description":"Endorf 2007 bronchoscopic AIS inhalation grade 0-4 as assigned by the caller (0 no injury: absence of carbonaceous deposits, erythema, edema, bronchorrhea, or obstruction; 1 mild: minor or patchy areas of erythema, carbonaceous deposits in proximal or distal bronchi, any or combination; 2 moderate: moderate degree of erythema, carbonaceous deposits, bronchorrhea, with or without compromise of the bronchi, any or combination; 3 severe: severe inflammation with friability, copious carbonaceous deposits, bronchorrhea, bronchial obstruction, any or combination; 4 massive: evidence of mucosal sloughing, necrosis, endoluminal obliteration, any or combination). Integer 0-4 only; reject 5, 1.5, and roman I. magent does not perform bronchoscopy. Not ISS body-region AIS. Not RADS CT smoke score.","type":"integer"}},"required":["ais_grade"],"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},{"id":39317,"slug":"39317","resource":"https://api.magentlab.com/api/calc/air","description":"Andersson 2008 appendicitis inflammatory response (AIR) score from caller-assigned vomiting, right-iliac-fossa pain, rebound or guarding (none/light/medium/strong), temperature, WBC, neutrophil percent, and CRP in mg/L (max 12). Bands 0-4, 5-8, and 9-12. Deterministic published score with citation; not a diagnosis or operating-room protocol. magent does not examine the abdomen.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"crp_mg_l":5,"neutrophil_percent":60,"rebound_or_guarding":"none","rif_pain":false,"temperature_c":37,"vomiting":false,"wbc_k_ul":8,"wbc_ul":8000},{"crp_mg_l":5,"neutrophil_percent":60,"rebound_or_guarding":"none","rif_pain":false,"temperature_c":37,"vomiting":false,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"air_band":"0-4","citation":{"authors":"Andersson M, Andersson RE","doi":"10.1007/s00268-008-9649-y","id":"andersson-2008","pmid":"18553045","source":"World J Surg. 2008;32(8):1843-1849","title":"The appendicitis inflammatory response score: a tool for the diagnosis of acute appendicitis that outperforms the Alvarado score"},"components":[{"factor":"vomiting","points":0,"present":false},{"factor":"rif_pain","points":0,"present":false},{"factor":"rebound_or_guarding","points":0,"present":false,"value":"none"},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"wbc","points":0,"present":false,"value":8000},{"factor":"neutrophil_percent","points":0,"present":false,"value":60},{"factor":"crp_mg_l","points":0,"present":false,"value":5}],"crp_mg_l":5,"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":"air","formula_expression":"AIR = vomiting + rif_pain + rebound_or_guarding (none 0, light 1, medium 2, strong 3) + (temperature_c >= 38.5) + WBC 10^9/L (<10 → 0; 10.0–14.9 → 1; ≥15.0 → 2) + neutrophil_percent (<70 → 0; 70–84 → 1; ≥85 → 2) + crp_mg_l (<10 → 0; 10–49 → 1; ≥50 → 2); max 12; bands 0-4 / 5-8 / 9-12","max_score":12,"neutrophil_percent":60,"rebound_or_guarding":"none","rif_pain":false,"score":0,"temperature_c":37,"vomiting":false,"wbc_10e9_l":8,"wbc_ul":8000},{"air_band":"0-4","citation":{"authors":"Andersson M, Andersson RE","doi":"10.1007/s00268-008-9649-y","id":"andersson-2008","pmid":"18553045","source":"World J Surg. 2008;32(8):1843-1849","title":"The appendicitis inflammatory response score: a tool for the diagnosis of acute appendicitis that outperforms the Alvarado score"},"components":[{"factor":"vomiting","points":0,"present":false},{"factor":"rif_pain","points":0,"present":false},{"factor":"rebound_or_guarding","points":0,"present":false,"value":"none"},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"wbc","points":0,"present":false,"value":8000},{"factor":"neutrophil_percent","points":0,"present":false,"value":60},{"factor":"crp_mg_l","points":0,"present":false,"value":5}],"crp_mg_l":5,"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":"air","formula_expression":"AIR = vomiting + rif_pain + rebound_or_guarding (none 0, light 1, medium 2, strong 3) + (temperature_c >= 38.5) + WBC 10^9/L (<10 → 0; 10.0–14.9 → 1; ≥15.0 → 2) + neutrophil_percent (<70 → 0; 70–84 → 1; ≥85 → 2) + crp_mg_l (<10 → 0; 10–49 → 1; ≥50 → 2); max 12; bands 0-4 / 5-8 / 9-12","max_score":12,"neutrophil_percent":60,"rebound_or_guarding":"none","rif_pain":false,"score":0,"temperature_c":37,"vomiting":false,"wbc_10e9_l":8,"wbc_ul":8000}],"path":"/api/calc/air"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500), not mg/dL. <10 scores 0; 10-49 scores 1; ≥50 scores 2 (9.9 does not; 10 and 49 score 1; 50 scores 2).","type":"number"},"neutrophil_percent":{"description":"Neutrophil percent (0-100). <70 scores 0; 70-84 scores 1; ≥85 scores 2 (69.9 does not; 70 and 84 score 1; 85 scores 2).","type":"number"},"rebound_or_guarding":{"description":"Caller-assigned rebound tenderness or muscular guarding (Andersson 2008). none scores 0; light 1; medium 2; strong 3. magent does not examine the abdomen.","enum":["none","light","medium","strong"],"type":"string"},"rif_pain":{"description":"Pain in the right iliac fossa / right lower quadrant (Andersson 2008). true scores 1; false scores 0.","type":"boolean"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). ≥38.5 scores 1 (38.5 scores; 38.49 does not).","type":"number"},"vomiting":{"description":"Vomiting (Andersson 2008). true scores 1; false scores 0.","type":"boolean"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. Converted to ×10^9/L: <10 scores 0; 10.0-14.9 scores 1; ≥15.0 scores 2.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. Converted to ×10^9/L (= wbc_ul/1000): <10 scores 0; 10.0-14.9 scores 1; ≥15.0 scores 2.","type":"number"}},"required":["vomiting","rif_pain","rebound_or_guarding","temperature_c","neutrophil_percent","crp_mg_l"],"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":["air","appendicitis","air-score","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:30:49.714Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:30:49.585Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"crp_mg_l":5,"neutrophil_percent":60,"rebound_or_guarding":"none","rif_pain":false,"temperature_c":37,"vomiting":false,"wbc_k_ul":8,"wbc_ul":8000},{"crp_mg_l":5,"neutrophil_percent":60,"rebound_or_guarding":"none","rif_pain":false,"temperature_c":37,"vomiting":false,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"air_band":"0-4","citation":{"authors":"Andersson M, Andersson RE","doi":"10.1007/s00268-008-9649-y","id":"andersson-2008","pmid":"18553045","source":"World J Surg. 2008;32(8):1843-1849","title":"The appendicitis inflammatory response score: a tool for the diagnosis of acute appendicitis that outperforms the Alvarado score"},"components":[{"factor":"vomiting","points":0,"present":false},{"factor":"rif_pain","points":0,"present":false},{"factor":"rebound_or_guarding","points":0,"present":false,"value":"none"},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"wbc","points":0,"present":false,"value":8000},{"factor":"neutrophil_percent","points":0,"present":false,"value":60},{"factor":"crp_mg_l","points":0,"present":false,"value":5}],"crp_mg_l":5,"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":"air","formula_expression":"AIR = vomiting + rif_pain + rebound_or_guarding (none 0, light 1, medium 2, strong 3) + (temperature_c >= 38.5) + WBC 10^9/L (<10 → 0; 10.0–14.9 → 1; ≥15.0 → 2) + neutrophil_percent (<70 → 0; 70–84 → 1; ≥85 → 2) + crp_mg_l (<10 → 0; 10–49 → 1; ≥50 → 2); max 12; bands 0-4 / 5-8 / 9-12","max_score":12,"neutrophil_percent":60,"rebound_or_guarding":"none","rif_pain":false,"score":0,"temperature_c":37,"vomiting":false,"wbc_10e9_l":8,"wbc_ul":8000},{"air_band":"0-4","citation":{"authors":"Andersson M, Andersson RE","doi":"10.1007/s00268-008-9649-y","id":"andersson-2008","pmid":"18553045","source":"World J Surg. 2008;32(8):1843-1849","title":"The appendicitis inflammatory response score: a tool for the diagnosis of acute appendicitis that outperforms the Alvarado score"},"components":[{"factor":"vomiting","points":0,"present":false},{"factor":"rif_pain","points":0,"present":false},{"factor":"rebound_or_guarding","points":0,"present":false,"value":"none"},{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"wbc","points":0,"present":false,"value":8000},{"factor":"neutrophil_percent","points":0,"present":false,"value":60},{"factor":"crp_mg_l","points":0,"present":false,"value":5}],"crp_mg_l":5,"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":"air","formula_expression":"AIR = vomiting + rif_pain + rebound_or_guarding (none 0, light 1, medium 2, strong 3) + (temperature_c >= 38.5) + WBC 10^9/L (<10 → 0; 10.0–14.9 → 1; ≥15.0 → 2) + neutrophil_percent (<70 → 0; 70–84 → 1; ≥85 → 2) + crp_mg_l (<10 → 0; 10–49 → 1; ≥50 → 2); max 12; bands 0-4 / 5-8 / 9-12","max_score":12,"neutrophil_percent":60,"rebound_or_guarding":"none","rif_pain":false,"score":0,"temperature_c":37,"vomiting":false,"wbc_10e9_l":8,"wbc_ul":8000}],"path":"/api/calc/air"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500), not mg/dL. <10 scores 0; 10-49 scores 1; ≥50 scores 2 (9.9 does not; 10 and 49 score 1; 50 scores 2).","type":"number"},"neutrophil_percent":{"description":"Neutrophil percent (0-100). <70 scores 0; 70-84 scores 1; ≥85 scores 2 (69.9 does not; 70 and 84 score 1; 85 scores 2).","type":"number"},"rebound_or_guarding":{"description":"Caller-assigned rebound tenderness or muscular guarding (Andersson 2008). none scores 0; light 1; medium 2; strong 3. magent does not examine the abdomen.","enum":["none","light","medium","strong"],"type":"string"},"rif_pain":{"description":"Pain in the right iliac fossa / right lower quadrant (Andersson 2008). true scores 1; false scores 0.","type":"boolean"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). ≥38.5 scores 1 (38.5 scores; 38.49 does not).","type":"number"},"vomiting":{"description":"Vomiting (Andersson 2008). true scores 1; false scores 0.","type":"boolean"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. Converted to ×10^9/L: <10 scores 0; 10.0-14.9 scores 1; ≥15.0 scores 2.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. Converted to ×10^9/L (= wbc_ul/1000): <10 scores 0; 10.0-14.9 scores 1; ≥15.0 scores 2.","type":"number"}},"required":["vomiting","rif_pain","rebound_or_guarding","temperature_c","neutrophil_percent","crp_mg_l"],"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},{"id":39318,"slug":"39318","resource":"https://api.magentlab.com/api/calc/ain_risk","description":"Moledina 2022 development-model logistic probability of biopsy-proven acute interstitial nephritis from serum creatinine, BUN:creatinine ratio, urine dipstick specific gravity, and dipstick protein (0 or 1+ versus 2+ or higher, caller-assigned). Returns logit and estimated_probability_percent. Not a medical device, not a diagnosis, and not a kidney biopsy. Does not include urine IL-9 or TNF-α. Moledina 2022 publishes no named low/high cutoff.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bun_cr_ratio":15,"creatinine_mg_dl":2.1,"protein":"le_1","specific_gravity":1.015},{"bun_cr_ratio":15,"creatinine_mg_dl":2.1,"protein":"le_1","specific_gravity":1.015}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bun_cr_ratio":15,"citation":{"authors":"Moledina DG, Eadon MT, Calderon F, et al.","doi":"10.1093/ndt/gfab346","id":"moledina-2022","pmid":"34865148","source":"Nephrol Dial Transplant. 2022;37(11):2214-2222","title":"Development and external validation of a diagnostic model for biopsy-proven acute interstitial nephritis using electronic health record data"},"creatinine_mg_dl":2.1,"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.","estimated_probability_percent":28.68,"formula":"ain_risk","formula_expression":"L = 0.770398 + 0.8367518*ln(creatinine_mg_dl) - 0.9181938*ln(bun_cr_ratio) - 0.0501203*1000*(specific_gravity - 1) + protein (Moledina 2022 development model; Table 4 aORs / supplement weights); protein le_1 (0 or 1+) 0.9360127, ge_2 (2+ or higher, reference) 0; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","logit":-0.9111,"protein":"le_1","specific_gravity":1.015},{"bun_cr_ratio":15,"citation":{"authors":"Moledina DG, Eadon MT, Calderon F, et al.","doi":"10.1093/ndt/gfab346","id":"moledina-2022","pmid":"34865148","source":"Nephrol Dial Transplant. 2022;37(11):2214-2222","title":"Development and external validation of a diagnostic model for biopsy-proven acute interstitial nephritis using electronic health record data"},"creatinine_mg_dl":2.1,"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.","estimated_probability_percent":28.68,"formula":"ain_risk","formula_expression":"L = 0.770398 + 0.8367518*ln(creatinine_mg_dl) - 0.9181938*ln(bun_cr_ratio) - 0.0501203*1000*(specific_gravity - 1) + protein (Moledina 2022 development model; Table 4 aORs / supplement weights); protein le_1 (0 or 1+) 0.9360127, ge_2 (2+ or higher, reference) 0; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","logit":-0.9111,"protein":"le_1","specific_gravity":1.015}],"path":"/api/calc/ain_risk"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_cr_ratio":{"description":"BUN:creatinine ratio (mg/dL : mg/dL, 0.5-200) as computed by the caller. Moledina 2022 Table 4: -0.9181938 per natural log. magent does not compute BUN from other labs.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Moledina 2022 Table 4: +0.8367518 per natural log. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"protein":{"description":"Moledina 2022 dipstick protein category as assigned by the caller: le_1 (0 or 1+, +0.9360127) or ge_2 (2+ or higher, reference, 0). magent does not interpret the dipstick.","enum":["le_1","ge_2"],"type":"string"},"specific_gravity":{"description":"Urine dipstick specific gravity (1.000-1.050) as assigned by the caller, e.g. 1.015. Moledina 2022 Table 4: -0.0501203 per 0.001 unit. magent does not read the dipstick.","type":"number"}},"required":["creatinine_mg_dl","bun_cr_ratio","specific_gravity","protein"],"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":["ain-risk","kidney","interstitial-nephritis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:25:50.207Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:25:49.917Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bun_cr_ratio":15,"creatinine_mg_dl":2.1,"protein":"le_1","specific_gravity":1.015},{"bun_cr_ratio":15,"creatinine_mg_dl":2.1,"protein":"le_1","specific_gravity":1.015}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bun_cr_ratio":15,"citation":{"authors":"Moledina DG, Eadon MT, Calderon F, et al.","doi":"10.1093/ndt/gfab346","id":"moledina-2022","pmid":"34865148","source":"Nephrol Dial Transplant. 2022;37(11):2214-2222","title":"Development and external validation of a diagnostic model for biopsy-proven acute interstitial nephritis using electronic health record data"},"creatinine_mg_dl":2.1,"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.","estimated_probability_percent":28.68,"formula":"ain_risk","formula_expression":"L = 0.770398 + 0.8367518*ln(creatinine_mg_dl) - 0.9181938*ln(bun_cr_ratio) - 0.0501203*1000*(specific_gravity - 1) + protein (Moledina 2022 development model; Table 4 aORs / supplement weights); protein le_1 (0 or 1+) 0.9360127, ge_2 (2+ or higher, reference) 0; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","logit":-0.9111,"protein":"le_1","specific_gravity":1.015},{"bun_cr_ratio":15,"citation":{"authors":"Moledina DG, Eadon MT, Calderon F, et al.","doi":"10.1093/ndt/gfab346","id":"moledina-2022","pmid":"34865148","source":"Nephrol Dial Transplant. 2022;37(11):2214-2222","title":"Development and external validation of a diagnostic model for biopsy-proven acute interstitial nephritis using electronic health record data"},"creatinine_mg_dl":2.1,"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.","estimated_probability_percent":28.68,"formula":"ain_risk","formula_expression":"L = 0.770398 + 0.8367518*ln(creatinine_mg_dl) - 0.9181938*ln(bun_cr_ratio) - 0.0501203*1000*(specific_gravity - 1) + protein (Moledina 2022 development model; Table 4 aORs / supplement weights); protein le_1 (0 or 1+) 0.9360127, ge_2 (2+ or higher, reference) 0; estimated_probability_percent = 100 * exp(L) / (1 + exp(L))","logit":-0.9111,"protein":"le_1","specific_gravity":1.015}],"path":"/api/calc/ain_risk"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_cr_ratio":{"description":"BUN:creatinine ratio (mg/dL : mg/dL, 0.5-200) as computed by the caller. Moledina 2022 Table 4: -0.9181938 per natural log. magent does not compute BUN from other labs.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Moledina 2022 Table 4: +0.8367518 per natural log. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"protein":{"description":"Moledina 2022 dipstick protein category as assigned by the caller: le_1 (0 or 1+, +0.9360127) or ge_2 (2+ or higher, reference, 0). magent does not interpret the dipstick.","enum":["le_1","ge_2"],"type":"string"},"specific_gravity":{"description":"Urine dipstick specific gravity (1.000-1.050) as assigned by the caller, e.g. 1.015. Moledina 2022 Table 4: -0.0501203 per 0.001 unit. magent does not read the dipstick.","type":"number"}},"required":["creatinine_mg_dl","bun_cr_ratio","specific_gravity","protein"],"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},{"id":39319,"slug":"39319","resource":"https://api.magentlab.com/api/calc/age_adjusted_dimer","description":"Age-adjusted D-dimer cutoff (Righini 2014 ADJUST-PE). PE excluded only when D-dimer (ng/mL FEU) is strictly below 500 if age <50 or age×10 if age ≥50. Equality is not excluded. FEU only, not DDU; magent does not convert units. Not a diagnosis, not YEARS, not Wells.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"d_dimer_ng_ml":499},{"age":40,"d_dimer_ng_ml":499}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Righini M, Van Es J, Den Exter PL, et al.","doi":"10.1001/jama.2014.2135","id":"righini-2014","source":"JAMA. 2014;311(11):1117-1124","title":"Age-adjusted D-dimer cutoff levels to rule out pulmonary embolism: the ADJUST-PE study"},"criteria":[{"factor":"age_ge_50","met":false,"value":40}],"ctpa_indicated":false,"d_dimer_ng_ml":499,"d_dimer_threshold_ng_ml":500,"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":"age_adjusted_dimer","formula_expression":"PE excluded iff d_dimer_ng_ml < (500 if age < 50 else age * 10); D-dimer is ng/mL FEU; equality is not excluded","pe_excluded":true},{"age_years":40,"citation":{"authors":"Righini M, Van Es J, Den Exter PL, et al.","doi":"10.1001/jama.2014.2135","id":"righini-2014","source":"JAMA. 2014;311(11):1117-1124","title":"Age-adjusted D-dimer cutoff levels to rule out pulmonary embolism: the ADJUST-PE study"},"criteria":[{"factor":"age_ge_50","met":false,"value":40}],"ctpa_indicated":false,"d_dimer_ng_ml":499,"d_dimer_threshold_ng_ml":500,"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":"age_adjusted_dimer","formula_expression":"PE excluded iff d_dimer_ng_ml < (500 if age < 50 else age * 10); D-dimer is ng/mL FEU; equality is not excluded","pe_excluded":true}],"path":"/api/calc/age_adjusted_dimer"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Cutoff is 500 ng/mL FEU when age < 50; age × 10 when age ≥ 50 (age 50 → 500).","type":"integer"},"d_dimer_ng_ml":{"description":"D-dimer in ng/mL fibrinogen-equivalent units (FEU) as in Righini 2014 (0-20000). PE excluded only when strictly below the age-adjusted cutoff. Equality is not excluded. DDU and other units are not this tool.","type":"number"}},"required":["age","d_dimer_ng_ml"],"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":["d-dimer","pe","vte","adjust-pe","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:25:49.012Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:25:48.698Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"d_dimer_ng_ml":499},{"age":40,"d_dimer_ng_ml":499}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Righini M, Van Es J, Den Exter PL, et al.","doi":"10.1001/jama.2014.2135","id":"righini-2014","source":"JAMA. 2014;311(11):1117-1124","title":"Age-adjusted D-dimer cutoff levels to rule out pulmonary embolism: the ADJUST-PE study"},"criteria":[{"factor":"age_ge_50","met":false,"value":40}],"ctpa_indicated":false,"d_dimer_ng_ml":499,"d_dimer_threshold_ng_ml":500,"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":"age_adjusted_dimer","formula_expression":"PE excluded iff d_dimer_ng_ml < (500 if age < 50 else age * 10); D-dimer is ng/mL FEU; equality is not excluded","pe_excluded":true},{"age_years":40,"citation":{"authors":"Righini M, Van Es J, Den Exter PL, et al.","doi":"10.1001/jama.2014.2135","id":"righini-2014","source":"JAMA. 2014;311(11):1117-1124","title":"Age-adjusted D-dimer cutoff levels to rule out pulmonary embolism: the ADJUST-PE study"},"criteria":[{"factor":"age_ge_50","met":false,"value":40}],"ctpa_indicated":false,"d_dimer_ng_ml":499,"d_dimer_threshold_ng_ml":500,"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":"age_adjusted_dimer","formula_expression":"PE excluded iff d_dimer_ng_ml < (500 if age < 50 else age * 10); D-dimer is ng/mL FEU; equality is not excluded","pe_excluded":true}],"path":"/api/calc/age_adjusted_dimer"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Cutoff is 500 ng/mL FEU when age < 50; age × 10 when age ≥ 50 (age 50 → 500).","type":"integer"},"d_dimer_ng_ml":{"description":"D-dimer in ng/mL fibrinogen-equivalent units (FEU) as in Righini 2014 (0-20000). PE excluded only when strictly below the age-adjusted cutoff. Equality is not excluded. DDU and other units are not this tool.","type":"number"}},"required":["age","d_dimer_ng_ml"],"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},{"id":39320,"slug":"39320","resource":"https://api.magentlab.com/api/calc/add_rs","description":"Rogers 2011 aortic dissection detection risk score (ADD-RS). One point per high-risk category with any marker (conditions, pain features, exam features); two markers in the same category still add only 1; max 3. Bands 0 / 1 / 2-3. Deterministic published score with citation. Not an imaging order, not ADvISED D-dimer rule-out; score 0 does not exclude dissection.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"family_aortic_disease":false,"focal_neuro_deficit_with_pain":false,"hypotension_or_shock":false,"known_aortic_valve_disease":false,"known_thoracic_aneurysm":false,"marfan_or_connective_tissue":false,"new_ai_murmur_with_pain":false,"pain_ripping_or_tearing":false,"pain_severe":false,"pain_sudden":false,"pulse_deficit_or_sbp_differential":false,"recent_aortic_manipulation":false},{"family_aortic_disease":false,"focal_neuro_deficit_with_pain":false,"hypotension_or_shock":false,"known_aortic_valve_disease":false,"known_thoracic_aneurysm":false,"marfan_or_connective_tissue":false,"new_ai_murmur_with_pain":false,"pain_ripping_or_tearing":false,"pain_severe":false,"pain_sudden":false,"pulse_deficit_or_sbp_differential":false,"recent_aortic_manipulation":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"add_rs_band":"0","citation":{"authors":"Rogers AM, Hermann LK, Booher AM, et al.","doi":"10.1161/CIRCULATIONAHA.110.988568","id":"rogers-2011","pmid":"21555704","source":"Circulation. 2011;123(20):2213-2218","title":"Sensitivity of the aortic dissection detection risk score, a novel guideline-based tool for identification of acute aortic dissection at initial presentation: results from the international registry of acute aortic dissection"},"components":[{"factor":"high_risk_conditions","points":0,"present":false},{"factor":"high_risk_pain","points":0,"present":false},{"factor":"high_risk_exam","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":"add_rs","formula_expression":"ADD-RS = 1 if any high-risk condition (Marfan/connective tissue, family aortic disease, known aortic valve disease, recent aortic manipulation, known thoracic aneurysm) + 1 if any high-risk pain feature of chest/back/abdominal pain (sudden, severe, ripping/tearing) + 1 if any high-risk exam feature (pulse deficit or SBP differential, focal neurologic deficit with pain, new AI murmur with pain, hypotension or shock); two markers in the same category still add only 1; max 3; Rogers 2011 bands 0 / 1 / 2-3 (2010 ACCF/AHA high-risk markers)","max_score":3,"score":0},{"add_rs_band":"0","citation":{"authors":"Rogers AM, Hermann LK, Booher AM, et al.","doi":"10.1161/CIRCULATIONAHA.110.988568","id":"rogers-2011","pmid":"21555704","source":"Circulation. 2011;123(20):2213-2218","title":"Sensitivity of the aortic dissection detection risk score, a novel guideline-based tool for identification of acute aortic dissection at initial presentation: results from the international registry of acute aortic dissection"},"components":[{"factor":"high_risk_conditions","points":0,"present":false},{"factor":"high_risk_pain","points":0,"present":false},{"factor":"high_risk_exam","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":"add_rs","formula_expression":"ADD-RS = 1 if any high-risk condition (Marfan/connective tissue, family aortic disease, known aortic valve disease, recent aortic manipulation, known thoracic aneurysm) + 1 if any high-risk pain feature of chest/back/abdominal pain (sudden, severe, ripping/tearing) + 1 if any high-risk exam feature (pulse deficit or SBP differential, focal neurologic deficit with pain, new AI murmur with pain, hypotension or shock); two markers in the same category still add only 1; max 3; Rogers 2011 bands 0 / 1 / 2-3 (2010 ACCF/AHA high-risk markers)","max_score":3,"score":0}],"path":"/api/calc/add_rs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"family_aortic_disease":{"description":"Family history of aortic disease (Rogers 2011 high-risk condition). true or false.","type":"boolean"},"focal_neuro_deficit_with_pain":{"description":"Focal neurologic deficit in conjunction with pain (Rogers 2011 high-risk exam feature). true or false.","type":"boolean"},"hypotension_or_shock":{"description":"Hypotension or shock state (Rogers 2011 high-risk exam feature). true or false.","type":"boolean"},"known_aortic_valve_disease":{"description":"Known aortic valve disease (Rogers 2011 high-risk condition). true or false.","type":"boolean"},"known_thoracic_aneurysm":{"description":"Known thoracic aortic aneurysm (Rogers 2011 high-risk condition). true or false.","type":"boolean"},"marfan_or_connective_tissue":{"description":"Marfan syndrome or other connective-tissue disease (Rogers 2011 high-risk condition). true or false. Caller-assigned; magent does not diagnose a syndrome.","type":"boolean"},"new_ai_murmur_with_pain":{"description":"New murmur of aortic insufficiency in conjunction with pain (Rogers 2011 high-risk exam feature). true or false. Caller-assigned; magent does not auscultate.","type":"boolean"},"pain_ripping_or_tearing":{"description":"Chest, back, or abdominal pain described as ripping or tearing (Rogers 2011 high-risk pain feature). true or false.","type":"boolean"},"pain_severe":{"description":"Chest, back, or abdominal pain of severe intensity (Rogers 2011 high-risk pain feature). true or false.","type":"boolean"},"pain_sudden":{"description":"Chest, back, or abdominal pain of abrupt onset (Rogers 2011 high-risk pain feature). true or false.","type":"boolean"},"pulse_deficit_or_sbp_differential":{"description":"Pulse deficit or systolic blood-pressure differential (Rogers 2011 high-risk exam feature). true or false. Caller-assigned; magent does not measure pulses.","type":"boolean"},"recent_aortic_manipulation":{"description":"Recent aortic manipulation such as catheterization or cardiac surgery (Rogers 2011 high-risk condition). true or false.","type":"boolean"}},"required":["marfan_or_connective_tissue","family_aortic_disease","known_aortic_valve_disease","recent_aortic_manipulation","known_thoracic_aneurysm","pain_sudden","pain_severe","pain_ripping_or_tearing","pulse_deficit_or_sbp_differential","focal_neuro_deficit_with_pain","new_ai_murmur_with_pain","hypotension_or_shock"],"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":["add-rs","aortic-dissection","acs","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:25:48.052Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:25:47.721Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"family_aortic_disease":false,"focal_neuro_deficit_with_pain":false,"hypotension_or_shock":false,"known_aortic_valve_disease":false,"known_thoracic_aneurysm":false,"marfan_or_connective_tissue":false,"new_ai_murmur_with_pain":false,"pain_ripping_or_tearing":false,"pain_severe":false,"pain_sudden":false,"pulse_deficit_or_sbp_differential":false,"recent_aortic_manipulation":false},{"family_aortic_disease":false,"focal_neuro_deficit_with_pain":false,"hypotension_or_shock":false,"known_aortic_valve_disease":false,"known_thoracic_aneurysm":false,"marfan_or_connective_tissue":false,"new_ai_murmur_with_pain":false,"pain_ripping_or_tearing":false,"pain_severe":false,"pain_sudden":false,"pulse_deficit_or_sbp_differential":false,"recent_aortic_manipulation":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"add_rs_band":"0","citation":{"authors":"Rogers AM, Hermann LK, Booher AM, et al.","doi":"10.1161/CIRCULATIONAHA.110.988568","id":"rogers-2011","pmid":"21555704","source":"Circulation. 2011;123(20):2213-2218","title":"Sensitivity of the aortic dissection detection risk score, a novel guideline-based tool for identification of acute aortic dissection at initial presentation: results from the international registry of acute aortic dissection"},"components":[{"factor":"high_risk_conditions","points":0,"present":false},{"factor":"high_risk_pain","points":0,"present":false},{"factor":"high_risk_exam","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":"add_rs","formula_expression":"ADD-RS = 1 if any high-risk condition (Marfan/connective tissue, family aortic disease, known aortic valve disease, recent aortic manipulation, known thoracic aneurysm) + 1 if any high-risk pain feature of chest/back/abdominal pain (sudden, severe, ripping/tearing) + 1 if any high-risk exam feature (pulse deficit or SBP differential, focal neurologic deficit with pain, new AI murmur with pain, hypotension or shock); two markers in the same category still add only 1; max 3; Rogers 2011 bands 0 / 1 / 2-3 (2010 ACCF/AHA high-risk markers)","max_score":3,"score":0},{"add_rs_band":"0","citation":{"authors":"Rogers AM, Hermann LK, Booher AM, et al.","doi":"10.1161/CIRCULATIONAHA.110.988568","id":"rogers-2011","pmid":"21555704","source":"Circulation. 2011;123(20):2213-2218","title":"Sensitivity of the aortic dissection detection risk score, a novel guideline-based tool for identification of acute aortic dissection at initial presentation: results from the international registry of acute aortic dissection"},"components":[{"factor":"high_risk_conditions","points":0,"present":false},{"factor":"high_risk_pain","points":0,"present":false},{"factor":"high_risk_exam","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":"add_rs","formula_expression":"ADD-RS = 1 if any high-risk condition (Marfan/connective tissue, family aortic disease, known aortic valve disease, recent aortic manipulation, known thoracic aneurysm) + 1 if any high-risk pain feature of chest/back/abdominal pain (sudden, severe, ripping/tearing) + 1 if any high-risk exam feature (pulse deficit or SBP differential, focal neurologic deficit with pain, new AI murmur with pain, hypotension or shock); two markers in the same category still add only 1; max 3; Rogers 2011 bands 0 / 1 / 2-3 (2010 ACCF/AHA high-risk markers)","max_score":3,"score":0}],"path":"/api/calc/add_rs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"family_aortic_disease":{"description":"Family history of aortic disease (Rogers 2011 high-risk condition). true or false.","type":"boolean"},"focal_neuro_deficit_with_pain":{"description":"Focal neurologic deficit in conjunction with pain (Rogers 2011 high-risk exam feature). true or false.","type":"boolean"},"hypotension_or_shock":{"description":"Hypotension or shock state (Rogers 2011 high-risk exam feature). true or false.","type":"boolean"},"known_aortic_valve_disease":{"description":"Known aortic valve disease (Rogers 2011 high-risk condition). true or false.","type":"boolean"},"known_thoracic_aneurysm":{"description":"Known thoracic aortic aneurysm (Rogers 2011 high-risk condition). true or false.","type":"boolean"},"marfan_or_connective_tissue":{"description":"Marfan syndrome or other connective-tissue disease (Rogers 2011 high-risk condition). true or false. Caller-assigned; magent does not diagnose a syndrome.","type":"boolean"},"new_ai_murmur_with_pain":{"description":"New murmur of aortic insufficiency in conjunction with pain (Rogers 2011 high-risk exam feature). true or false. Caller-assigned; magent does not auscultate.","type":"boolean"},"pain_ripping_or_tearing":{"description":"Chest, back, or abdominal pain described as ripping or tearing (Rogers 2011 high-risk pain feature). true or false.","type":"boolean"},"pain_severe":{"description":"Chest, back, or abdominal pain of severe intensity (Rogers 2011 high-risk pain feature). true or false.","type":"boolean"},"pain_sudden":{"description":"Chest, back, or abdominal pain of abrupt onset (Rogers 2011 high-risk pain feature). true or false.","type":"boolean"},"pulse_deficit_or_sbp_differential":{"description":"Pulse deficit or systolic blood-pressure differential (Rogers 2011 high-risk exam feature). true or false. Caller-assigned; magent does not measure pulses.","type":"boolean"},"recent_aortic_manipulation":{"description":"Recent aortic manipulation such as catheterization or cardiac surgery (Rogers 2011 high-risk condition). true or false.","type":"boolean"}},"required":["marfan_or_connective_tissue","family_aortic_disease","known_aortic_valve_disease","recent_aortic_manipulation","known_thoracic_aneurysm","pain_sudden","pain_severe","pain_ripping_or_tearing","pulse_deficit_or_sbp_differential","focal_neuro_deficit_with_pain","new_ai_murmur_with_pain","hypotension_or_shock"],"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},{"id":39321,"slug":"39321","resource":"https://api.magentlab.com/api/calc/adapt","description":"Than 2012 ADAPT 2-hour accelerated diagnostic protocol for emergency chest pain. low_risk is true only when the caller-assigned TIMI UA/NSTEMI score is 0, new ischemic ECG changes are absent, and both 0-hour and 2-hour (not 3-hour) troponin flags are not elevated. magent does not assign TIMI items, read an ECG, or assay troponin. Not HEART Pathway. Not a discharge order, ACS diagnosis, or stress-test order. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"new_ischemic_ecg":false,"timi_score":0,"troponin_0_elevated":false,"troponin_2h_elevated":false},{"new_ischemic_ecg":false,"timi_score":0,"troponin_0_elevated":false,"troponin_2h_elevated":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Than M, Cullen L, Aldous S, Parsonage WA, Reid CM, Greenslade J, et al.","doi":"10.1016/j.jacc.2012.02.035","id":"than-2012","pmid":"22578923","source":"J Am Coll Cardiol. 2012;59(23):2091-2098","title":"2-Hour accelerated diagnostic protocol to assess patients with chest pain symptoms using contemporary troponins as the only biomarker: the ADAPT trial"},"components":[{"factor":"timi_score_eq_0","met":true,"value":0},{"factor":"no_new_ischemic_ecg","met":true,"value":false},{"factor":"trop0_not_elevated","met":true,"value":false},{"factor":"trop2h_not_elevated","met":true,"value":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":"adapt","formula_expression":"low_risk iff timi_score == 0 and new_ischemic_ecg is false and troponin_0_elevated is false and troponin_2h_elevated is false; timi_score is the caller-assigned Antman 2000 TIMI UA/NSTEMI total 0-7; ECG and troponin flags are caller-assigned (Than 2012 ADAPT Table 1)","low_risk":true,"new_ischemic_ecg":false,"timi_score":0,"troponin_0_elevated":false,"troponin_2h_elevated":false},{"citation":{"authors":"Than M, Cullen L, Aldous S, Parsonage WA, Reid CM, Greenslade J, et al.","doi":"10.1016/j.jacc.2012.02.035","id":"than-2012","pmid":"22578923","source":"J Am Coll Cardiol. 2012;59(23):2091-2098","title":"2-Hour accelerated diagnostic protocol to assess patients with chest pain symptoms using contemporary troponins as the only biomarker: the ADAPT trial"},"components":[{"factor":"timi_score_eq_0","met":true,"value":0},{"factor":"no_new_ischemic_ecg","met":true,"value":false},{"factor":"trop0_not_elevated","met":true,"value":false},{"factor":"trop2h_not_elevated","met":true,"value":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":"adapt","formula_expression":"low_risk iff timi_score == 0 and new_ischemic_ecg is false and troponin_0_elevated is false and troponin_2h_elevated is false; timi_score is the caller-assigned Antman 2000 TIMI UA/NSTEMI total 0-7; ECG and troponin flags are caller-assigned (Than 2012 ADAPT Table 1)","low_risk":true,"new_ischemic_ecg":false,"timi_score":0,"troponin_0_elevated":false,"troponin_2h_elevated":false}],"path":"/api/calc/adapt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"new_ischemic_ecg":{"description":"New ischemic changes on the initial ECG (not known to be pre-existing), as assigned by the caller. true or false. true blocks low-risk. magent does not read an ECG.","type":"boolean"},"timi_score":{"description":"Caller-assigned TIMI UA/NSTEMI score integer 0-7 (Antman 2000 components already summed by the caller). magent does not assign TIMI items. Low-risk (ADP-negative) requires 0 when the ECG and both 2-hour serial troponin flags are false.","type":"integer"},"troponin_0_elevated":{"description":"0-hour cTnI at or above the institutional cutoff as assigned by the caller. true or false. true blocks low-risk. magent does not assay troponin.","type":"boolean"},"troponin_2h_elevated":{"description":"2-hour (not 3-hour) troponin at or above the institutional cutoff as assigned by the caller. true or false. true blocks low-risk. magent does not assay troponin.","type":"boolean"}},"required":["timi_score","new_ischemic_ecg","troponin_0_elevated","troponin_2h_elevated"],"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":["adapt","acs","chest-pain","troponin","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:20:53.728Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:20:53.561Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"new_ischemic_ecg":false,"timi_score":0,"troponin_0_elevated":false,"troponin_2h_elevated":false},{"new_ischemic_ecg":false,"timi_score":0,"troponin_0_elevated":false,"troponin_2h_elevated":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Than M, Cullen L, Aldous S, Parsonage WA, Reid CM, Greenslade J, et al.","doi":"10.1016/j.jacc.2012.02.035","id":"than-2012","pmid":"22578923","source":"J Am Coll Cardiol. 2012;59(23):2091-2098","title":"2-Hour accelerated diagnostic protocol to assess patients with chest pain symptoms using contemporary troponins as the only biomarker: the ADAPT trial"},"components":[{"factor":"timi_score_eq_0","met":true,"value":0},{"factor":"no_new_ischemic_ecg","met":true,"value":false},{"factor":"trop0_not_elevated","met":true,"value":false},{"factor":"trop2h_not_elevated","met":true,"value":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":"adapt","formula_expression":"low_risk iff timi_score == 0 and new_ischemic_ecg is false and troponin_0_elevated is false and troponin_2h_elevated is false; timi_score is the caller-assigned Antman 2000 TIMI UA/NSTEMI total 0-7; ECG and troponin flags are caller-assigned (Than 2012 ADAPT Table 1)","low_risk":true,"new_ischemic_ecg":false,"timi_score":0,"troponin_0_elevated":false,"troponin_2h_elevated":false},{"citation":{"authors":"Than M, Cullen L, Aldous S, Parsonage WA, Reid CM, Greenslade J, et al.","doi":"10.1016/j.jacc.2012.02.035","id":"than-2012","pmid":"22578923","source":"J Am Coll Cardiol. 2012;59(23):2091-2098","title":"2-Hour accelerated diagnostic protocol to assess patients with chest pain symptoms using contemporary troponins as the only biomarker: the ADAPT trial"},"components":[{"factor":"timi_score_eq_0","met":true,"value":0},{"factor":"no_new_ischemic_ecg","met":true,"value":false},{"factor":"trop0_not_elevated","met":true,"value":false},{"factor":"trop2h_not_elevated","met":true,"value":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":"adapt","formula_expression":"low_risk iff timi_score == 0 and new_ischemic_ecg is false and troponin_0_elevated is false and troponin_2h_elevated is false; timi_score is the caller-assigned Antman 2000 TIMI UA/NSTEMI total 0-7; ECG and troponin flags are caller-assigned (Than 2012 ADAPT Table 1)","low_risk":true,"new_ischemic_ecg":false,"timi_score":0,"troponin_0_elevated":false,"troponin_2h_elevated":false}],"path":"/api/calc/adapt"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"new_ischemic_ecg":{"description":"New ischemic changes on the initial ECG (not known to be pre-existing), as assigned by the caller. true or false. true blocks low-risk. magent does not read an ECG.","type":"boolean"},"timi_score":{"description":"Caller-assigned TIMI UA/NSTEMI score integer 0-7 (Antman 2000 components already summed by the caller). magent does not assign TIMI items. Low-risk (ADP-negative) requires 0 when the ECG and both 2-hour serial troponin flags are false.","type":"integer"},"troponin_0_elevated":{"description":"0-hour cTnI at or above the institutional cutoff as assigned by the caller. true or false. true blocks low-risk. magent does not assay troponin.","type":"boolean"},"troponin_2h_elevated":{"description":"2-hour (not 3-hour) troponin at or above the institutional cutoff as assigned by the caller. true or false. true blocks low-risk. magent does not assay troponin.","type":"boolean"}},"required":["timi_score","new_ischemic_ecg","troponin_0_elevated","troponin_2h_elevated"],"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},{"id":39322,"slug":"39322","resource":"https://api.magentlab.com/api/calc/action_icu","description":"Fanaroff 2018 ACTION ICU integer score (Table 3) for initially hemodynamically stable NSTEMI. Points from age, creatinine, heart rate, systolic BP (lower SBP scores more), troponin × ULN, HF signs, ST depression, absence of prior revascularization, and chronic lung disease. Returns integer score 0–19. Not a medical device or triage order; magent does not read an ECG or assay labs.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":66,"chronic_lung_disease":false,"creatinine_mg_dl":1,"heart_failure":false,"heart_rate_bpm":80,"prior_revascularization":true,"st_depression":false,"systolic_mm_hg":150,"troponin_x_uln":1},{"age":66,"chronic_lung_disease":false,"creatinine_mg_dl":1,"heart_failure":false,"heart_rate_bpm":80,"prior_revascularization":true,"st_depression":false,"systolic_mm_hg":150,"troponin_x_uln":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":66,"chronic_lung_disease":false,"citation":{"authors":"Fanaroff AC, Chen AY, Thomas LE, et al","doi":"10.1161/JAHA.118.008894","id":"fanaroff-2018","pmid":"29802146","source":"J Am Heart Assoc. 2018;7(11):e008894","title":"Risk Score to Predict Need for Intensive Care in Initially Hemodynamically Stable Adults With Non–ST-Segment–Elevation Myocardial Infarction"},"components":[{"factor":"age","points":0,"present":false,"value":66},{"factor":"creatinine_mg_dl","points":0,"present":false,"value":1},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"systolic_mm_hg","points":0,"present":false,"value":150},{"factor":"troponin_x_uln","points":0,"present":false,"value":1},{"factor":"heart_failure","points":0,"present":false},{"factor":"st_depression","points":0,"present":false},{"factor":"prior_revascularization","points":0,"present":false,"value":true},{"factor":"chronic_lung_disease","points":0,"present":false}],"creatinine_mg_dl":1,"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":"action_icu","formula_expression":"ACTION ICU = age(<70:0, >=70:1) + creatinine_mg_dl(<1.1:0, >=1.1:1) + heart_rate_bpm(<85:0, 85-<100:1, >=100:3) + systolic_mm_hg(<125:3, 125-<145:1, >=145:0) + troponin_x_uln(<12:0, >=12:2) + heart_failure(5) + st_depression(1) + no_prior_revascularization(1) + chronic_lung_disease(2); Fanaroff 2018 Table 3; max 19; overlapping Table 3 bounds at HR 100 and SBP 145 use the >= row; score <=2 very low (<5% ICU-complication likelihood); <=5 <10%; >=12 >30%","heart_failure":false,"heart_rate_bpm":80,"max_score":19,"prior_revascularization":true,"score":0,"st_depression":false,"systolic_mm_hg":150,"troponin_x_uln":1},{"age_years":66,"chronic_lung_disease":false,"citation":{"authors":"Fanaroff AC, Chen AY, Thomas LE, et al","doi":"10.1161/JAHA.118.008894","id":"fanaroff-2018","pmid":"29802146","source":"J Am Heart Assoc. 2018;7(11):e008894","title":"Risk Score to Predict Need for Intensive Care in Initially Hemodynamically Stable Adults With Non–ST-Segment–Elevation Myocardial Infarction"},"components":[{"factor":"age","points":0,"present":false,"value":66},{"factor":"creatinine_mg_dl","points":0,"present":false,"value":1},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"systolic_mm_hg","points":0,"present":false,"value":150},{"factor":"troponin_x_uln","points":0,"present":false,"value":1},{"factor":"heart_failure","points":0,"present":false},{"factor":"st_depression","points":0,"present":false},{"factor":"prior_revascularization","points":0,"present":false,"value":true},{"factor":"chronic_lung_disease","points":0,"present":false}],"creatinine_mg_dl":1,"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":"action_icu","formula_expression":"ACTION ICU = age(<70:0, >=70:1) + creatinine_mg_dl(<1.1:0, >=1.1:1) + heart_rate_bpm(<85:0, 85-<100:1, >=100:3) + systolic_mm_hg(<125:3, 125-<145:1, >=145:0) + troponin_x_uln(<12:0, >=12:2) + heart_failure(5) + st_depression(1) + no_prior_revascularization(1) + chronic_lung_disease(2); Fanaroff 2018 Table 3; max 19; overlapping Table 3 bounds at HR 100 and SBP 145 use the >= row; score <=2 very low (<5% ICU-complication likelihood); <=5 <10%; >=12 >30%","heart_failure":false,"heart_rate_bpm":80,"max_score":19,"prior_revascularization":true,"score":0,"st_depression":false,"systolic_mm_hg":150,"troponin_x_uln":1}],"path":"/api/calc/action_icu"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Fanaroff 2018 Table 3: younger than 70 scores 0; 70 or older scores 1.","type":"integer"},"chronic_lung_disease":{"description":"Chronic lung disease as assigned by the caller (Fanaroff 2018 Table 3). true or false. 2 points if true.","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20), or creatinine_umol_l (9-1768) converted as mg/dL = µmol/L / 88.42. Table 3: <1.1 → 0; ≥1.1 → 1. magent does not assay labs.","type":"number"},"heart_failure":{"description":"Signs or symptoms of heart failure on first medical contact as assigned by the caller (Fanaroff 2018 Table 3). true or false. 5 points if true. magent does not examine the patient.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Table 3 lists <85 → 0; 85–100 → 1; ≥100 → 3. The overlapping bound at 100 uses the ≥100 row (3 points).","type":"integer"},"prior_revascularization":{"description":"Prior coronary revascularization as assigned by the caller (Fanaroff 2018 Table 3). true or false. Absence of prior revascularization scores 1; presence scores 0.","type":"boolean"},"st_depression":{"description":"ST-segment depression on the ECG as assigned by the caller (Fanaroff 2018 Table 3). true or false. 1 point if true. magent does not read an ECG.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Table 3: <125 → 3; 125–145 → 1; ≥145 → 0. Lower SBP scores more. The overlapping bound at 145 uses the ≥145 row (0 points).","type":"number"},"troponin_x_uln":{"description":"Initial troponin as a multiple of the local upper limit of normal (0-1000). Table 3: <12 → 0; ≥12 → 2. magent does not assay labs; the caller assigns the ratio.","type":"number"}},"required":["age","creatinine_mg_dl","heart_rate_bpm","systolic_mm_hg","troponin_x_uln","heart_failure","st_depression","prior_revascularization","chronic_lung_disease"],"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":["action-icu","nstemi","acs","icu","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:20:52.609Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:20:52.272Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":66,"chronic_lung_disease":false,"creatinine_mg_dl":1,"heart_failure":false,"heart_rate_bpm":80,"prior_revascularization":true,"st_depression":false,"systolic_mm_hg":150,"troponin_x_uln":1},{"age":66,"chronic_lung_disease":false,"creatinine_mg_dl":1,"heart_failure":false,"heart_rate_bpm":80,"prior_revascularization":true,"st_depression":false,"systolic_mm_hg":150,"troponin_x_uln":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":66,"chronic_lung_disease":false,"citation":{"authors":"Fanaroff AC, Chen AY, Thomas LE, et al","doi":"10.1161/JAHA.118.008894","id":"fanaroff-2018","pmid":"29802146","source":"J Am Heart Assoc. 2018;7(11):e008894","title":"Risk Score to Predict Need for Intensive Care in Initially Hemodynamically Stable Adults With Non–ST-Segment–Elevation Myocardial Infarction"},"components":[{"factor":"age","points":0,"present":false,"value":66},{"factor":"creatinine_mg_dl","points":0,"present":false,"value":1},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"systolic_mm_hg","points":0,"present":false,"value":150},{"factor":"troponin_x_uln","points":0,"present":false,"value":1},{"factor":"heart_failure","points":0,"present":false},{"factor":"st_depression","points":0,"present":false},{"factor":"prior_revascularization","points":0,"present":false,"value":true},{"factor":"chronic_lung_disease","points":0,"present":false}],"creatinine_mg_dl":1,"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":"action_icu","formula_expression":"ACTION ICU = age(<70:0, >=70:1) + creatinine_mg_dl(<1.1:0, >=1.1:1) + heart_rate_bpm(<85:0, 85-<100:1, >=100:3) + systolic_mm_hg(<125:3, 125-<145:1, >=145:0) + troponin_x_uln(<12:0, >=12:2) + heart_failure(5) + st_depression(1) + no_prior_revascularization(1) + chronic_lung_disease(2); Fanaroff 2018 Table 3; max 19; overlapping Table 3 bounds at HR 100 and SBP 145 use the >= row; score <=2 very low (<5% ICU-complication likelihood); <=5 <10%; >=12 >30%","heart_failure":false,"heart_rate_bpm":80,"max_score":19,"prior_revascularization":true,"score":0,"st_depression":false,"systolic_mm_hg":150,"troponin_x_uln":1},{"age_years":66,"chronic_lung_disease":false,"citation":{"authors":"Fanaroff AC, Chen AY, Thomas LE, et al","doi":"10.1161/JAHA.118.008894","id":"fanaroff-2018","pmid":"29802146","source":"J Am Heart Assoc. 2018;7(11):e008894","title":"Risk Score to Predict Need for Intensive Care in Initially Hemodynamically Stable Adults With Non–ST-Segment–Elevation Myocardial Infarction"},"components":[{"factor":"age","points":0,"present":false,"value":66},{"factor":"creatinine_mg_dl","points":0,"present":false,"value":1},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"systolic_mm_hg","points":0,"present":false,"value":150},{"factor":"troponin_x_uln","points":0,"present":false,"value":1},{"factor":"heart_failure","points":0,"present":false},{"factor":"st_depression","points":0,"present":false},{"factor":"prior_revascularization","points":0,"present":false,"value":true},{"factor":"chronic_lung_disease","points":0,"present":false}],"creatinine_mg_dl":1,"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":"action_icu","formula_expression":"ACTION ICU = age(<70:0, >=70:1) + creatinine_mg_dl(<1.1:0, >=1.1:1) + heart_rate_bpm(<85:0, 85-<100:1, >=100:3) + systolic_mm_hg(<125:3, 125-<145:1, >=145:0) + troponin_x_uln(<12:0, >=12:2) + heart_failure(5) + st_depression(1) + no_prior_revascularization(1) + chronic_lung_disease(2); Fanaroff 2018 Table 3; max 19; overlapping Table 3 bounds at HR 100 and SBP 145 use the >= row; score <=2 very low (<5% ICU-complication likelihood); <=5 <10%; >=12 >30%","heart_failure":false,"heart_rate_bpm":80,"max_score":19,"prior_revascularization":true,"score":0,"st_depression":false,"systolic_mm_hg":150,"troponin_x_uln":1}],"path":"/api/calc/action_icu"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Fanaroff 2018 Table 3: younger than 70 scores 0; 70 or older scores 1.","type":"integer"},"chronic_lung_disease":{"description":"Chronic lung disease as assigned by the caller (Fanaroff 2018 Table 3). true or false. 2 points if true.","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20), or creatinine_umol_l (9-1768) converted as mg/dL = µmol/L / 88.42. Table 3: <1.1 → 0; ≥1.1 → 1. magent does not assay labs.","type":"number"},"heart_failure":{"description":"Signs or symptoms of heart failure on first medical contact as assigned by the caller (Fanaroff 2018 Table 3). true or false. 5 points if true. magent does not examine the patient.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Table 3 lists <85 → 0; 85–100 → 1; ≥100 → 3. The overlapping bound at 100 uses the ≥100 row (3 points).","type":"integer"},"prior_revascularization":{"description":"Prior coronary revascularization as assigned by the caller (Fanaroff 2018 Table 3). true or false. Absence of prior revascularization scores 1; presence scores 0.","type":"boolean"},"st_depression":{"description":"ST-segment depression on the ECG as assigned by the caller (Fanaroff 2018 Table 3). true or false. 1 point if true. magent does not read an ECG.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Table 3: <125 → 3; 125–145 → 1; ≥145 → 0. Lower SBP scores more. The overlapping bound at 145 uses the ≥145 row (0 points).","type":"number"},"troponin_x_uln":{"description":"Initial troponin as a multiple of the local upper limit of normal (0-1000). Table 3: <12 → 0; ≥12 → 2. magent does not assay labs; the caller assigns the ratio.","type":"number"}},"required":["age","creatinine_mg_dl","heart_rate_bpm","systolic_mm_hg","troponin_x_uln","heart_failure","st_depression","prior_revascularization","chronic_lung_disease"],"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},{"id":39323,"slug":"39323","resource":"https://api.magentlab.com/api/calc/acef_ii","description":"Ranucci 2018 ACEF II for cardiac surgery: ACEF II = age/EF + 2.0 if serum creatinine > 2.0 mg/dL + 3.0 if emergency surgery + 0.2 × (hematocrit points below 36%). Hematocrit ≥ 36% contributes 0. Returns the published score only (4 decimals). Not original ACEF 2009, not a predicted-mortality percent, and not an operative clearance.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"ejection_fraction_percent":50,"emergency_surgery":false,"hematocrit_percent":40},{"age":70,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"ejection_fraction_percent":50,"emergency_surgery":false,"hematocrit_percent":40}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Ranucci M, Pistuddi V, Scolletta S, de Vincentiis C, Menicanti L","doi":"10.1093/eurheartj/ehx228","id":"ranucci-2018","pmid":"28498904","source":"Eur Heart J. 2018;39(23):2183-2189","title":"The ACEF II Risk Score for cardiac surgery: updated but still parsimonious"},"creatinine_mg_dl":1,"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.","ejection_fraction_percent":50,"emergency_surgery":false,"formula":"acef_ii","formula_expression":"ACEF II = age/EF + 2.0 (if serum creatinine > 2.0 mg/dL) + 3.0 (if emergency surgery) + 0.2 × (HCT points below 36%)","hematocrit_percent":40,"score":1.4},{"age_years":70,"citation":{"authors":"Ranucci M, Pistuddi V, Scolletta S, de Vincentiis C, Menicanti L","doi":"10.1093/eurheartj/ehx228","id":"ranucci-2018","pmid":"28498904","source":"Eur Heart J. 2018;39(23):2183-2189","title":"The ACEF II Risk Score for cardiac surgery: updated but still parsimonious"},"creatinine_mg_dl":1,"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.","ejection_fraction_percent":50,"emergency_surgery":false,"formula":"acef_ii","formula_expression":"ACEF II = age/EF + 2.0 (if serum creatinine > 2.0 mg/dL) + 3.0 (if emergency surgery) + 0.2 × (HCT points below 36%)","hematocrit_percent":40,"score":1.4}],"path":"/api/calc/acef_ii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). magent clamp; Ranucci 2018 uses age in years.","type":"integer"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Extra 2.0 only when strictly greater than 2.0 mg/dL (Ranucci 2018).","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"ejection_fraction_percent":{"description":"Left-ventricular ejection fraction in percent (10-80). magent clamp. Denominator of age/EF.","type":"number"},"emergency_surgery":{"description":"true if the operation is emergency cardiac surgery (Ranucci 2018 +3.0). true or false.","type":"boolean"},"hematocrit_percent":{"description":"Preoperative hematocrit in percent (15-60). magent clamp. HCT ≥ 36 contributes 0; each percentage point below 36 adds 0.2.","type":"number"}},"required":["age","ejection_fraction_percent","emergency_surgery","hematocrit_percent"],"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":["acef-ii","cardiac-surgery","ranucci","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:20:51.407Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:20:51.269Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"ejection_fraction_percent":50,"emergency_surgery":false,"hematocrit_percent":40},{"age":70,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"ejection_fraction_percent":50,"emergency_surgery":false,"hematocrit_percent":40}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Ranucci M, Pistuddi V, Scolletta S, de Vincentiis C, Menicanti L","doi":"10.1093/eurheartj/ehx228","id":"ranucci-2018","pmid":"28498904","source":"Eur Heart J. 2018;39(23):2183-2189","title":"The ACEF II Risk Score for cardiac surgery: updated but still parsimonious"},"creatinine_mg_dl":1,"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.","ejection_fraction_percent":50,"emergency_surgery":false,"formula":"acef_ii","formula_expression":"ACEF II = age/EF + 2.0 (if serum creatinine > 2.0 mg/dL) + 3.0 (if emergency surgery) + 0.2 × (HCT points below 36%)","hematocrit_percent":40,"score":1.4},{"age_years":70,"citation":{"authors":"Ranucci M, Pistuddi V, Scolletta S, de Vincentiis C, Menicanti L","doi":"10.1093/eurheartj/ehx228","id":"ranucci-2018","pmid":"28498904","source":"Eur Heart J. 2018;39(23):2183-2189","title":"The ACEF II Risk Score for cardiac surgery: updated but still parsimonious"},"creatinine_mg_dl":1,"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.","ejection_fraction_percent":50,"emergency_surgery":false,"formula":"acef_ii","formula_expression":"ACEF II = age/EF + 2.0 (if serum creatinine > 2.0 mg/dL) + 3.0 (if emergency surgery) + 0.2 × (HCT points below 36%)","hematocrit_percent":40,"score":1.4}],"path":"/api/calc/acef_ii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). magent clamp; Ranucci 2018 uses age in years.","type":"integer"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Extra 2.0 only when strictly greater than 2.0 mg/dL (Ranucci 2018).","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"ejection_fraction_percent":{"description":"Left-ventricular ejection fraction in percent (10-80). magent clamp. Denominator of age/EF.","type":"number"},"emergency_surgery":{"description":"true if the operation is emergency cardiac surgery (Ranucci 2018 +3.0). true or false.","type":"boolean"},"hematocrit_percent":{"description":"Preoperative hematocrit in percent (15-60). magent clamp. HCT ≥ 36 contributes 0; each percentage point below 36 adds 0.2.","type":"number"}},"required":["age","ejection_fraction_percent","emergency_surgery","hematocrit_percent"],"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},{"id":39324,"slug":"39324","resource":"https://api.magentlab.com/api/calc/ace","description":"Felitti 1998 ACE Study: seven caller-assigned exposure categories (psychological abuse, physical abuse, sexual abuse, mother treated violently, household substance abuse, household mental illness, household incarceration), 1 point each, max 7. Returns ace_band 0, 1, 2, 3, or ge_4 (score ≥4). A category count, not a diagnosis, trauma inventory, or 10-item ACE-Q. magent does not interpret the items.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"household_incarceration":false,"household_mental_illness":false,"household_substance_abuse":false,"mother_treated_violently":false,"physical_abuse":false,"psychological_abuse":false,"sexual_abuse":false},{"household_incarceration":false,"household_mental_illness":false,"household_substance_abuse":false,"mother_treated_violently":false,"physical_abuse":false,"psychological_abuse":false,"sexual_abuse":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ace_band":"0","citation":{"authors":"Felitti VJ, Anda RF, Nordenberg D, et al.","doi":"10.1016/S0749-3797(98)00017-8","id":"felitti-1998","source":"Am J Prev Med. 1998;14(4):245-258","title":"Relationship of childhood abuse and household dysfunction to many of the leading causes of death in adults. The Adverse Childhood Experiences (ACE) Study"},"components":[{"factor":"psychological_abuse","points":0,"present":false},{"factor":"physical_abuse","points":0,"present":false},{"factor":"sexual_abuse","points":0,"present":false},{"factor":"mother_treated_violently","points":0,"present":false},{"factor":"household_substance_abuse","points":0,"present":false},{"factor":"household_mental_illness","points":0,"present":false},{"factor":"household_incarceration","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":"ace","formula_expression":"ACE = psychological_abuse + physical_abuse + sexual_abuse + mother_treated_violently + household_substance_abuse + household_mental_illness + household_incarceration; each 1 if true; max 7","max_score":7,"score":0},{"ace_band":"0","citation":{"authors":"Felitti VJ, Anda RF, Nordenberg D, et al.","doi":"10.1016/S0749-3797(98)00017-8","id":"felitti-1998","source":"Am J Prev Med. 1998;14(4):245-258","title":"Relationship of childhood abuse and household dysfunction to many of the leading causes of death in adults. The Adverse Childhood Experiences (ACE) Study"},"components":[{"factor":"psychological_abuse","points":0,"present":false},{"factor":"physical_abuse","points":0,"present":false},{"factor":"sexual_abuse","points":0,"present":false},{"factor":"mother_treated_violently","points":0,"present":false},{"factor":"household_substance_abuse","points":0,"present":false},{"factor":"household_mental_illness","points":0,"present":false},{"factor":"household_incarceration","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":"ace","formula_expression":"ACE = psychological_abuse + physical_abuse + sexual_abuse + mother_treated_violently + household_substance_abuse + household_mental_illness + household_incarceration; each 1 if true; max 7","max_score":7,"score":0}],"path":"/api/calc/ace"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"household_incarceration":{"description":"Caller-assigned Felitti 1998 ACE Study criminal-behavior-in-household category (a household member went to prison). true or false. magent does not interpret the item.","type":"boolean"},"household_mental_illness":{"description":"Caller-assigned Felitti 1998 ACE Study household mental-illness category (a household member was depressed or mentally ill, or a household member attempted suicide). true or false. magent does not interpret the item.","type":"boolean"},"household_substance_abuse":{"description":"Caller-assigned Felitti 1998 ACE Study household substance-abuse category (lived with anyone who was a problem drinker or alcoholic, or who used street drugs). true or false. magent does not interpret the item.","type":"boolean"},"mother_treated_violently":{"description":"Caller-assigned Felitti 1998 ACE Study mother-treated-violently category (mother or stepmother was pushed, grabbed, slapped, had something thrown at her, kicked, bitten, hit with a fist or hard object, repeatedly hit, or threatened or hurt with a knife or gun). true or false. magent does not interpret the item.","type":"boolean"},"physical_abuse":{"description":"Caller-assigned Felitti 1998 ACE Study physical-abuse category (a parent or other adult in the household often or very often pushed, grabbed, slapped, or threw something at the respondent, or ever hit the respondent so hard that there were marks or injury). true or false. magent does not interpret the item.","type":"boolean"},"psychological_abuse":{"description":"Caller-assigned Felitti 1998 ACE Study psychological-abuse category (a parent or other adult in the household often or very often swore at, insulted, or put the respondent down, or acted in a way that made the respondent afraid of being physically hurt). true or false. magent does not interpret the item.","type":"boolean"},"sexual_abuse":{"description":"Caller-assigned Felitti 1998 ACE Study sexual-abuse category (an adult or person at least 5 years older touched or fondled the respondent in a sexual way, had the respondent touch their body in a sexual way, or attempted or completed oral, anal, or vaginal intercourse). true or false. magent does not interpret the item.","type":"boolean"}},"required":["psychological_abuse","physical_abuse","sexual_abuse","mother_treated_violently","household_substance_abuse","household_mental_illness","household_incarceration"],"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":["ace","childhood-adversity","screening","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:16:37.89Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:16:37.754Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"household_incarceration":false,"household_mental_illness":false,"household_substance_abuse":false,"mother_treated_violently":false,"physical_abuse":false,"psychological_abuse":false,"sexual_abuse":false},{"household_incarceration":false,"household_mental_illness":false,"household_substance_abuse":false,"mother_treated_violently":false,"physical_abuse":false,"psychological_abuse":false,"sexual_abuse":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ace_band":"0","citation":{"authors":"Felitti VJ, Anda RF, Nordenberg D, et al.","doi":"10.1016/S0749-3797(98)00017-8","id":"felitti-1998","source":"Am J Prev Med. 1998;14(4):245-258","title":"Relationship of childhood abuse and household dysfunction to many of the leading causes of death in adults. The Adverse Childhood Experiences (ACE) Study"},"components":[{"factor":"psychological_abuse","points":0,"present":false},{"factor":"physical_abuse","points":0,"present":false},{"factor":"sexual_abuse","points":0,"present":false},{"factor":"mother_treated_violently","points":0,"present":false},{"factor":"household_substance_abuse","points":0,"present":false},{"factor":"household_mental_illness","points":0,"present":false},{"factor":"household_incarceration","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":"ace","formula_expression":"ACE = psychological_abuse + physical_abuse + sexual_abuse + mother_treated_violently + household_substance_abuse + household_mental_illness + household_incarceration; each 1 if true; max 7","max_score":7,"score":0},{"ace_band":"0","citation":{"authors":"Felitti VJ, Anda RF, Nordenberg D, et al.","doi":"10.1016/S0749-3797(98)00017-8","id":"felitti-1998","source":"Am J Prev Med. 1998;14(4):245-258","title":"Relationship of childhood abuse and household dysfunction to many of the leading causes of death in adults. The Adverse Childhood Experiences (ACE) Study"},"components":[{"factor":"psychological_abuse","points":0,"present":false},{"factor":"physical_abuse","points":0,"present":false},{"factor":"sexual_abuse","points":0,"present":false},{"factor":"mother_treated_violently","points":0,"present":false},{"factor":"household_substance_abuse","points":0,"present":false},{"factor":"household_mental_illness","points":0,"present":false},{"factor":"household_incarceration","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":"ace","formula_expression":"ACE = psychological_abuse + physical_abuse + sexual_abuse + mother_treated_violently + household_substance_abuse + household_mental_illness + household_incarceration; each 1 if true; max 7","max_score":7,"score":0}],"path":"/api/calc/ace"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"household_incarceration":{"description":"Caller-assigned Felitti 1998 ACE Study criminal-behavior-in-household category (a household member went to prison). true or false. magent does not interpret the item.","type":"boolean"},"household_mental_illness":{"description":"Caller-assigned Felitti 1998 ACE Study household mental-illness category (a household member was depressed or mentally ill, or a household member attempted suicide). true or false. magent does not interpret the item.","type":"boolean"},"household_substance_abuse":{"description":"Caller-assigned Felitti 1998 ACE Study household substance-abuse category (lived with anyone who was a problem drinker or alcoholic, or who used street drugs). true or false. magent does not interpret the item.","type":"boolean"},"mother_treated_violently":{"description":"Caller-assigned Felitti 1998 ACE Study mother-treated-violently category (mother or stepmother was pushed, grabbed, slapped, had something thrown at her, kicked, bitten, hit with a fist or hard object, repeatedly hit, or threatened or hurt with a knife or gun). true or false. magent does not interpret the item.","type":"boolean"},"physical_abuse":{"description":"Caller-assigned Felitti 1998 ACE Study physical-abuse category (a parent or other adult in the household often or very often pushed, grabbed, slapped, or threw something at the respondent, or ever hit the respondent so hard that there were marks or injury). true or false. magent does not interpret the item.","type":"boolean"},"psychological_abuse":{"description":"Caller-assigned Felitti 1998 ACE Study psychological-abuse category (a parent or other adult in the household often or very often swore at, insulted, or put the respondent down, or acted in a way that made the respondent afraid of being physically hurt). true or false. magent does not interpret the item.","type":"boolean"},"sexual_abuse":{"description":"Caller-assigned Felitti 1998 ACE Study sexual-abuse category (an adult or person at least 5 years older touched or fondled the respondent in a sexual way, had the respondent touch their body in a sexual way, or attempted or completed oral, anal, or vaginal intercourse). true or false. magent does not interpret the item.","type":"boolean"}},"required":["psychological_abuse","physical_abuse","sexual_abuse","mother_treated_violently","household_substance_abuse","household_mental_illness","household_incarceration"],"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},{"id":39325,"slug":"39325","resource":"https://api.magentlab.com/api/calc/acc_aha_hf","description":"2013 ACCF/AHA heart-failure stages (Yancy) from four caller flags: high risk for HF, structural heart disease, prior or current HF symptoms, and refractory specialized care. Returns hf_stage A, B, C, D, or not_staged. Progressive and inviolate: D first, then C, B, A, else not_staged. Not NYHA class and not a diagnosis. magent does not examine the patient or read an echocardiogram.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hf_symptoms_prior_or_current":false,"high_risk_for_hf":false,"refractory_hf_specialized":false,"structural_heart_disease":false},{"hf_symptoms_prior_or_current":false,"high_risk_for_hf":false,"refractory_hf_specialized":false,"structural_heart_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Yancy CW, Jessup M, Bozkurt B, Butler J, Casey DE Jr, Drazner MH, Fonarow GC, Geraci SA, Horwich T, Januzzi JL, Johnson MR, Kasper EK, Levy WC, Masoudi FA, McBride PE, McMurray JJV, Mitchell JE, Peterson PN, Riegel B, Sam F, Stevenson LW, Tang WHW, Tsai EJ, Wilkoff BL","doi":"10.1161/CIR.0b013e31829e8776","id":"yancy-2013","pmid":"23741058","source":"Circulation. 2013;128(16):e240-e327","title":"2013 ACCF/AHA guideline for the management of heart failure: a report of the American College of Cardiology Foundation/American Heart Association Task Force on Practice Guidelines"},"components":[{"factor":"high_risk_for_hf","met":false},{"factor":"structural_heart_disease","met":false},{"factor":"hf_symptoms_prior_or_current","met":false},{"factor":"refractory_hf_specialized","met":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":"acc_aha_hf","formula_expression":"hf_stage D if refractory_hf_specialized; else C if structural_heart_disease and hf_symptoms_prior_or_current; else B if structural_heart_disease and not hf_symptoms_prior_or_current; else A if high_risk_for_hf and not structural_heart_disease and not hf_symptoms_prior_or_current; else not_staged (Yancy 2013 ACCF/AHA stages, progressive/inviolate). Not NYHA class","hf_stage":"not_staged","hf_symptoms_prior_or_current":false,"high_risk_for_hf":false,"refractory_hf_specialized":false,"structural_heart_disease":false},{"citation":{"authors":"Yancy CW, Jessup M, Bozkurt B, Butler J, Casey DE Jr, Drazner MH, Fonarow GC, Geraci SA, Horwich T, Januzzi JL, Johnson MR, Kasper EK, Levy WC, Masoudi FA, McBride PE, McMurray JJV, Mitchell JE, Peterson PN, Riegel B, Sam F, Stevenson LW, Tang WHW, Tsai EJ, Wilkoff BL","doi":"10.1161/CIR.0b013e31829e8776","id":"yancy-2013","pmid":"23741058","source":"Circulation. 2013;128(16):e240-e327","title":"2013 ACCF/AHA guideline for the management of heart failure: a report of the American College of Cardiology Foundation/American Heart Association Task Force on Practice Guidelines"},"components":[{"factor":"high_risk_for_hf","met":false},{"factor":"structural_heart_disease","met":false},{"factor":"hf_symptoms_prior_or_current","met":false},{"factor":"refractory_hf_specialized","met":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":"acc_aha_hf","formula_expression":"hf_stage D if refractory_hf_specialized; else C if structural_heart_disease and hf_symptoms_prior_or_current; else B if structural_heart_disease and not hf_symptoms_prior_or_current; else A if high_risk_for_hf and not structural_heart_disease and not hf_symptoms_prior_or_current; else not_staged (Yancy 2013 ACCF/AHA stages, progressive/inviolate). Not NYHA class","hf_stage":"not_staged","hf_symptoms_prior_or_current":false,"high_risk_for_hf":false,"refractory_hf_specialized":false,"structural_heart_disease":false}],"path":"/api/calc/acc_aha_hf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hf_symptoms_prior_or_current":{"description":"Prior or current symptoms of HF as assigned by the caller (Yancy 2013 stage C). true or false. magent does not examine the patient.","type":"boolean"},"high_risk_for_hf":{"description":"High risk for HF without structural heart disease or HF symptoms (Yancy 2013 stage A assignment). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"refractory_hf_specialized":{"description":"Refractory HF requiring specialized interventions as assigned by the caller (Yancy 2013 stage D). true or false. magent does not examine the patient.","type":"boolean"},"structural_heart_disease":{"description":"Structural heart disease as assigned by the caller (Yancy 2013 stage B or C). true or false. magent does not read an echocardiogram.","type":"boolean"}},"required":["high_risk_for_hf","structural_heart_disease","hf_symptoms_prior_or_current","refractory_hf_specialized"],"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":["acc-aha-hf","heart-failure","hemodynamics","staging","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:16:37.085Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:16:36.925Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hf_symptoms_prior_or_current":false,"high_risk_for_hf":false,"refractory_hf_specialized":false,"structural_heart_disease":false},{"hf_symptoms_prior_or_current":false,"high_risk_for_hf":false,"refractory_hf_specialized":false,"structural_heart_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Yancy CW, Jessup M, Bozkurt B, Butler J, Casey DE Jr, Drazner MH, Fonarow GC, Geraci SA, Horwich T, Januzzi JL, Johnson MR, Kasper EK, Levy WC, Masoudi FA, McBride PE, McMurray JJV, Mitchell JE, Peterson PN, Riegel B, Sam F, Stevenson LW, Tang WHW, Tsai EJ, Wilkoff BL","doi":"10.1161/CIR.0b013e31829e8776","id":"yancy-2013","pmid":"23741058","source":"Circulation. 2013;128(16):e240-e327","title":"2013 ACCF/AHA guideline for the management of heart failure: a report of the American College of Cardiology Foundation/American Heart Association Task Force on Practice Guidelines"},"components":[{"factor":"high_risk_for_hf","met":false},{"factor":"structural_heart_disease","met":false},{"factor":"hf_symptoms_prior_or_current","met":false},{"factor":"refractory_hf_specialized","met":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":"acc_aha_hf","formula_expression":"hf_stage D if refractory_hf_specialized; else C if structural_heart_disease and hf_symptoms_prior_or_current; else B if structural_heart_disease and not hf_symptoms_prior_or_current; else A if high_risk_for_hf and not structural_heart_disease and not hf_symptoms_prior_or_current; else not_staged (Yancy 2013 ACCF/AHA stages, progressive/inviolate). Not NYHA class","hf_stage":"not_staged","hf_symptoms_prior_or_current":false,"high_risk_for_hf":false,"refractory_hf_specialized":false,"structural_heart_disease":false},{"citation":{"authors":"Yancy CW, Jessup M, Bozkurt B, Butler J, Casey DE Jr, Drazner MH, Fonarow GC, Geraci SA, Horwich T, Januzzi JL, Johnson MR, Kasper EK, Levy WC, Masoudi FA, McBride PE, McMurray JJV, Mitchell JE, Peterson PN, Riegel B, Sam F, Stevenson LW, Tang WHW, Tsai EJ, Wilkoff BL","doi":"10.1161/CIR.0b013e31829e8776","id":"yancy-2013","pmid":"23741058","source":"Circulation. 2013;128(16):e240-e327","title":"2013 ACCF/AHA guideline for the management of heart failure: a report of the American College of Cardiology Foundation/American Heart Association Task Force on Practice Guidelines"},"components":[{"factor":"high_risk_for_hf","met":false},{"factor":"structural_heart_disease","met":false},{"factor":"hf_symptoms_prior_or_current","met":false},{"factor":"refractory_hf_specialized","met":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":"acc_aha_hf","formula_expression":"hf_stage D if refractory_hf_specialized; else C if structural_heart_disease and hf_symptoms_prior_or_current; else B if structural_heart_disease and not hf_symptoms_prior_or_current; else A if high_risk_for_hf and not structural_heart_disease and not hf_symptoms_prior_or_current; else not_staged (Yancy 2013 ACCF/AHA stages, progressive/inviolate). Not NYHA class","hf_stage":"not_staged","hf_symptoms_prior_or_current":false,"high_risk_for_hf":false,"refractory_hf_specialized":false,"structural_heart_disease":false}],"path":"/api/calc/acc_aha_hf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hf_symptoms_prior_or_current":{"description":"Prior or current symptoms of HF as assigned by the caller (Yancy 2013 stage C). true or false. magent does not examine the patient.","type":"boolean"},"high_risk_for_hf":{"description":"High risk for HF without structural heart disease or HF symptoms (Yancy 2013 stage A assignment). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"refractory_hf_specialized":{"description":"Refractory HF requiring specialized interventions as assigned by the caller (Yancy 2013 stage D). true or false. magent does not examine the patient.","type":"boolean"},"structural_heart_disease":{"description":"Structural heart disease as assigned by the caller (Yancy 2013 stage B or C). true or false. magent does not read an echocardiogram.","type":"boolean"}},"required":["high_risk_for_hf","structural_heart_disease","hf_symptoms_prior_or_current","refractory_hf_specialized"],"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},{"id":39326,"slug":"39326","resource":"https://api.magentlab.com/api/calc/abcd2","description":"ABCD2 (Johnston 2007) early stroke-risk score after TIA from age, blood pressure, caller-assigned clinical features, symptom duration, and diabetes (max 7). Bands 0-3, 4-5, and 6-7. Deterministic published score with citation; not a diagnosis or admit protocol. magent does not examine the patient. Not ABCD (Rothwell 2005) and not ABCD3-I.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":55,"clinical_features":"none","diabetes":false,"diastolic_mm_hg":80,"duration_min":5,"systolic_mm_hg":120},{"age":55,"clinical_features":"none","diabetes":false,"diastolic_mm_hg":80,"duration_min":5,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abcd2_band":"0-3","age_years":55,"citation":{"authors":"Johnston SC, Rothwell PM, Nguyen-Huynh MN, et al.","doi":"10.1016/S0140-6736(07)60150-0","id":"johnston-2007","source":"Lancet. 2007;369(9558):283-292","title":"Validation and refinement of scores to predict very early stroke risk after transient ischaemic attack"},"components":[{"factor":"age","points":0,"present":false,"value":55},{"diastolic_mm_hg":80,"factor":"blood_pressure","points":0,"present":false,"systolic_mm_hg":120},{"factor":"clinical_features","points":0,"present":false,"value":"none"},{"factor":"duration_min","points":0,"present":false,"value":5},{"factor":"diabetes","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":"abcd2","formula_expression":"ABCD2 = age_ge_60 + blood_pressure + clinical_features + duration + diabetes; age >=60 1; SBP >=140 or DBP >=90 1; none 0 / speech_without_weakness 1 / unilateral_weakness 2; duration <10 0, 10-59 1, >=60 2; diabetes 1; bands 0-3 / 4-5 / 6-7; max 7","max_score":7,"score":0},{"abcd2_band":"0-3","age_years":55,"citation":{"authors":"Johnston SC, Rothwell PM, Nguyen-Huynh MN, et al.","doi":"10.1016/S0140-6736(07)60150-0","id":"johnston-2007","source":"Lancet. 2007;369(9558):283-292","title":"Validation and refinement of scores to predict very early stroke risk after transient ischaemic attack"},"components":[{"factor":"age","points":0,"present":false,"value":55},{"diastolic_mm_hg":80,"factor":"blood_pressure","points":0,"present":false,"systolic_mm_hg":120},{"factor":"clinical_features","points":0,"present":false,"value":"none"},{"factor":"duration_min","points":0,"present":false,"value":5},{"factor":"diabetes","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":"abcd2","formula_expression":"ABCD2 = age_ge_60 + blood_pressure + clinical_features + duration + diabetes; age >=60 1; SBP >=140 or DBP >=90 1; none 0 / speech_without_weakness 1 / unilateral_weakness 2; duration <10 0, 10-59 1, >=60 2; diabetes 1; bands 0-3 / 4-5 / 6-7; max 7","max_score":7,"score":0}],"path":"/api/calc/abcd2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥60 scores 1; 59 scores 0.","type":"integer"},"clinical_features":{"description":"Caller-assigned TIA features. none scores 0; speech_without_weakness scores 1; unilateral_weakness scores 2. Mutually exclusive. magent does not examine the patient.","type":"string"},"diabetes":{"description":"Diabetes mellitus. true scores 1; false scores 0.","type":"boolean"},"diastolic_mm_hg":{"description":"Cuff diastolic blood pressure in mm Hg (20-160). Must be less than systolic. ≥90 scores 1.","type":"number"},"duration_min":{"description":"Symptom duration in minutes (integer 0-1440). Under 10 scores 0; 10-59 scores 1; 60 or more scores 2.","type":"integer"},"systolic_mm_hg":{"description":"Cuff systolic blood pressure in mm Hg (50-250). ≥140 scores 1.","type":"number"}},"required":["age","systolic_mm_hg","diastolic_mm_hg","clinical_features","duration_min","diabetes"],"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":["abcd2","tia","stroke","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:16:35.917Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:16:35.762Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":55,"clinical_features":"none","diabetes":false,"diastolic_mm_hg":80,"duration_min":5,"systolic_mm_hg":120},{"age":55,"clinical_features":"none","diabetes":false,"diastolic_mm_hg":80,"duration_min":5,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abcd2_band":"0-3","age_years":55,"citation":{"authors":"Johnston SC, Rothwell PM, Nguyen-Huynh MN, et al.","doi":"10.1016/S0140-6736(07)60150-0","id":"johnston-2007","source":"Lancet. 2007;369(9558):283-292","title":"Validation and refinement of scores to predict very early stroke risk after transient ischaemic attack"},"components":[{"factor":"age","points":0,"present":false,"value":55},{"diastolic_mm_hg":80,"factor":"blood_pressure","points":0,"present":false,"systolic_mm_hg":120},{"factor":"clinical_features","points":0,"present":false,"value":"none"},{"factor":"duration_min","points":0,"present":false,"value":5},{"factor":"diabetes","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":"abcd2","formula_expression":"ABCD2 = age_ge_60 + blood_pressure + clinical_features + duration + diabetes; age >=60 1; SBP >=140 or DBP >=90 1; none 0 / speech_without_weakness 1 / unilateral_weakness 2; duration <10 0, 10-59 1, >=60 2; diabetes 1; bands 0-3 / 4-5 / 6-7; max 7","max_score":7,"score":0},{"abcd2_band":"0-3","age_years":55,"citation":{"authors":"Johnston SC, Rothwell PM, Nguyen-Huynh MN, et al.","doi":"10.1016/S0140-6736(07)60150-0","id":"johnston-2007","source":"Lancet. 2007;369(9558):283-292","title":"Validation and refinement of scores to predict very early stroke risk after transient ischaemic attack"},"components":[{"factor":"age","points":0,"present":false,"value":55},{"diastolic_mm_hg":80,"factor":"blood_pressure","points":0,"present":false,"systolic_mm_hg":120},{"factor":"clinical_features","points":0,"present":false,"value":"none"},{"factor":"duration_min","points":0,"present":false,"value":5},{"factor":"diabetes","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":"abcd2","formula_expression":"ABCD2 = age_ge_60 + blood_pressure + clinical_features + duration + diabetes; age >=60 1; SBP >=140 or DBP >=90 1; none 0 / speech_without_weakness 1 / unilateral_weakness 2; duration <10 0, 10-59 1, >=60 2; diabetes 1; bands 0-3 / 4-5 / 6-7; max 7","max_score":7,"score":0}],"path":"/api/calc/abcd2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥60 scores 1; 59 scores 0.","type":"integer"},"clinical_features":{"description":"Caller-assigned TIA features. none scores 0; speech_without_weakness scores 1; unilateral_weakness scores 2. Mutually exclusive. magent does not examine the patient.","type":"string"},"diabetes":{"description":"Diabetes mellitus. true scores 1; false scores 0.","type":"boolean"},"diastolic_mm_hg":{"description":"Cuff diastolic blood pressure in mm Hg (20-160). Must be less than systolic. ≥90 scores 1.","type":"number"},"duration_min":{"description":"Symptom duration in minutes (integer 0-1440). Under 10 scores 0; 10-59 scores 1; 60 or more scores 2.","type":"integer"},"systolic_mm_hg":{"description":"Cuff systolic blood pressure in mm Hg (50-250). ≥140 scores 1.","type":"number"}},"required":["age","systolic_mm_hg","diastolic_mm_hg","clinical_features","duration_min","diabetes"],"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},{"id":39327,"slug":"39327","resource":"https://api.magentlab.com/api/calc/abc_score","description":"Nunez 2009 ABC (assessment of blood consumption): penetrating mechanism, arrival SBP ≤90 mm Hg, arrival HR ≥120 bpm, and positive FAST; 1 point each, max 4. score_ge_2 is the published ≥2 cutoff (75% sensitive / 86% specific for massive transfusion in that paper). Deterministic published arithmetic with citation; not a transfusion or MTP order; not TASH; not ABC/2 ICH volume.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"heart_rate_bpm":80,"penetrating":false,"positive_fast":false,"systolic_mm_hg":120},{"heart_rate_bpm":80,"penetrating":false,"positive_fast":false,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Nunez TC, Voskresensky IV, Dossett LA, Shinall R, Dutton WD, Cotton BA","doi":"10.1097/TA.0b013e3181961c35","id":"nunez-2009","pmid":"19204506","source":"J Trauma. 2009;66(2):346-352","title":"Early prediction of massive transfusion in trauma: simple as ABC (assessment of blood consumption)?"},"components":[{"factor":"penetrating","points":0,"present":false},{"factor":"sbp_le_90","points":0,"present":false,"value":120},{"factor":"hr_ge_120","points":0,"present":false,"value":80},{"factor":"positive_fast","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":"abc_score","formula_expression":"ABC = penetrating + sbp_le_90 + hr_ge_120 + positive_fast; each 1; max 4; score_ge_2 iff score >= 2","max_score":4,"score":0,"score_ge_2":false},{"citation":{"authors":"Nunez TC, Voskresensky IV, Dossett LA, Shinall R, Dutton WD, Cotton BA","doi":"10.1097/TA.0b013e3181961c35","id":"nunez-2009","pmid":"19204506","source":"J Trauma. 2009;66(2):346-352","title":"Early prediction of massive transfusion in trauma: simple as ABC (assessment of blood consumption)?"},"components":[{"factor":"penetrating","points":0,"present":false},{"factor":"sbp_le_90","points":0,"present":false,"value":120},{"factor":"hr_ge_120","points":0,"present":false,"value":80},{"factor":"positive_fast","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":"abc_score","formula_expression":"ABC = penetrating + sbp_le_90 + hr_ge_120 + positive_fast; each 1; max 4; score_ge_2 iff score >= 2","max_score":4,"score":0,"score_ge_2":false}],"path":"/api/calc/abc_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"heart_rate_bpm":{"description":"Arrival heart rate in beats per minute (integer 30-220). ≥120 scores 1.","type":"integer"},"penetrating":{"description":"Penetrating injury mechanism as assigned by the caller (Nunez 2009). true or false. magent does not assign mechanism.","type":"boolean"},"positive_fast":{"description":"Positive FAST as assigned by the caller (Nunez 2009). true or false. magent does not interpret FAST images.","type":"boolean"},"systolic_mm_hg":{"description":"Arrival systolic blood pressure in mm Hg (integer 0-300). ≤90 scores 1.","type":"integer"}},"required":["penetrating","systolic_mm_hg","heart_rate_bpm","positive_fast"],"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":["abc-score","trauma","fast","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:11:24.385Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:11:24.271Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"heart_rate_bpm":80,"penetrating":false,"positive_fast":false,"systolic_mm_hg":120},{"heart_rate_bpm":80,"penetrating":false,"positive_fast":false,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Nunez TC, Voskresensky IV, Dossett LA, Shinall R, Dutton WD, Cotton BA","doi":"10.1097/TA.0b013e3181961c35","id":"nunez-2009","pmid":"19204506","source":"J Trauma. 2009;66(2):346-352","title":"Early prediction of massive transfusion in trauma: simple as ABC (assessment of blood consumption)?"},"components":[{"factor":"penetrating","points":0,"present":false},{"factor":"sbp_le_90","points":0,"present":false,"value":120},{"factor":"hr_ge_120","points":0,"present":false,"value":80},{"factor":"positive_fast","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":"abc_score","formula_expression":"ABC = penetrating + sbp_le_90 + hr_ge_120 + positive_fast; each 1; max 4; score_ge_2 iff score >= 2","max_score":4,"score":0,"score_ge_2":false},{"citation":{"authors":"Nunez TC, Voskresensky IV, Dossett LA, Shinall R, Dutton WD, Cotton BA","doi":"10.1097/TA.0b013e3181961c35","id":"nunez-2009","pmid":"19204506","source":"J Trauma. 2009;66(2):346-352","title":"Early prediction of massive transfusion in trauma: simple as ABC (assessment of blood consumption)?"},"components":[{"factor":"penetrating","points":0,"present":false},{"factor":"sbp_le_90","points":0,"present":false,"value":120},{"factor":"hr_ge_120","points":0,"present":false,"value":80},{"factor":"positive_fast","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":"abc_score","formula_expression":"ABC = penetrating + sbp_le_90 + hr_ge_120 + positive_fast; each 1; max 4; score_ge_2 iff score >= 2","max_score":4,"score":0,"score_ge_2":false}],"path":"/api/calc/abc_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"heart_rate_bpm":{"description":"Arrival heart rate in beats per minute (integer 30-220). ≥120 scores 1.","type":"integer"},"penetrating":{"description":"Penetrating injury mechanism as assigned by the caller (Nunez 2009). true or false. magent does not assign mechanism.","type":"boolean"},"positive_fast":{"description":"Positive FAST as assigned by the caller (Nunez 2009). true or false. magent does not interpret FAST images.","type":"boolean"},"systolic_mm_hg":{"description":"Arrival systolic blood pressure in mm Hg (integer 0-300). ≤90 scores 1.","type":"integer"}},"required":["penetrating","systolic_mm_hg","heart_rate_bpm","positive_fast"],"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},{"id":39328,"slug":"39328","resource":"https://api.magentlab.com/api/calc/aa_gradient","description":"Alveolar–arterial oxygen gradient from FiO2, barometric pressure, PaCO2, PaO2, and RQ using the simplified alveolar-gas equation (PH2O 47 mm Hg). Deterministic published arithmetic with citation; not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fio2":0.21,"paco2_mm_hg":40,"pao2_mm_hg":95,"pb_mm_hg":760,"rq":0.8},{"fio2":0.21,"paco2_mm_hg":40,"pao2_mm_hg":95,"pb_mm_hg":760,"rq":0.8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"aa_gradient_mm_hg":4.7,"citation":{"authors":"Riley RL, Cournand A","doi":"10.1152/jappl.1949.1.12.825","id":"riley-cournand-1949","source":"J Appl Physiol. 1949;1(12):825-847","title":"\"Ideal\" alveolar air and the analysis of ventilation-perfusion relationships in the lungs"},"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.","fio2":0.21,"formula":"aa_gradient","formula_expression":"PAO2_mm_hg = fio2 * (pb_mm_hg - 47) - paco2_mm_hg / rq; aa_gradient_mm_hg = PAO2_mm_hg - pao2_mm_hg","paco2_mm_hg":40,"pao2_alveolar_mm_hg":99.7,"pao2_mm_hg":95,"pb_mm_hg":760,"rq":0.8,"water_vapor_mm_hg":47},{"aa_gradient_mm_hg":4.7,"citation":{"authors":"Riley RL, Cournand A","doi":"10.1152/jappl.1949.1.12.825","id":"riley-cournand-1949","source":"J Appl Physiol. 1949;1(12):825-847","title":"\"Ideal\" alveolar air and the analysis of ventilation-perfusion relationships in the lungs"},"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.","fio2":0.21,"formula":"aa_gradient","formula_expression":"PAO2_mm_hg = fio2 * (pb_mm_hg - 47) - paco2_mm_hg / rq; aa_gradient_mm_hg = PAO2_mm_hg - pao2_mm_hg","paco2_mm_hg":40,"pao2_alveolar_mm_hg":99.7,"pao2_mm_hg":95,"pb_mm_hg":760,"rq":0.8,"water_vapor_mm_hg":47}],"path":"/api/calc/aa_gradient"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent. Omitted uses 0.21 (room air).","type":"number"},"paco2_mm_hg":{"description":"Arterial PCO2 in mm Hg (8-80).","type":"number"},"pao2_mm_hg":{"description":"Arterial PO2 in mm Hg (20-700).","type":"number"},"pb_mm_hg":{"description":"Barometric pressure in mm Hg (500-800). Omitted uses 760.","type":"number"},"rq":{"description":"Respiratory exchange ratio R (0.7-1.0). Omitted uses 0.8.","type":"number"}},"required":["paco2_mm_hg","pao2_mm_hg"],"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":["aa-gradient","respiratory","oxygenation","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:11:23.57Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:11:23.414Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fio2":0.21,"paco2_mm_hg":40,"pao2_mm_hg":95,"pb_mm_hg":760,"rq":0.8},{"fio2":0.21,"paco2_mm_hg":40,"pao2_mm_hg":95,"pb_mm_hg":760,"rq":0.8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"aa_gradient_mm_hg":4.7,"citation":{"authors":"Riley RL, Cournand A","doi":"10.1152/jappl.1949.1.12.825","id":"riley-cournand-1949","source":"J Appl Physiol. 1949;1(12):825-847","title":"\"Ideal\" alveolar air and the analysis of ventilation-perfusion relationships in the lungs"},"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.","fio2":0.21,"formula":"aa_gradient","formula_expression":"PAO2_mm_hg = fio2 * (pb_mm_hg - 47) - paco2_mm_hg / rq; aa_gradient_mm_hg = PAO2_mm_hg - pao2_mm_hg","paco2_mm_hg":40,"pao2_alveolar_mm_hg":99.7,"pao2_mm_hg":95,"pb_mm_hg":760,"rq":0.8,"water_vapor_mm_hg":47},{"aa_gradient_mm_hg":4.7,"citation":{"authors":"Riley RL, Cournand A","doi":"10.1152/jappl.1949.1.12.825","id":"riley-cournand-1949","source":"J Appl Physiol. 1949;1(12):825-847","title":"\"Ideal\" alveolar air and the analysis of ventilation-perfusion relationships in the lungs"},"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.","fio2":0.21,"formula":"aa_gradient","formula_expression":"PAO2_mm_hg = fio2 * (pb_mm_hg - 47) - paco2_mm_hg / rq; aa_gradient_mm_hg = PAO2_mm_hg - pao2_mm_hg","paco2_mm_hg":40,"pao2_alveolar_mm_hg":99.7,"pao2_mm_hg":95,"pb_mm_hg":760,"rq":0.8,"water_vapor_mm_hg":47}],"path":"/api/calc/aa_gradient"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent. Omitted uses 0.21 (room air).","type":"number"},"paco2_mm_hg":{"description":"Arterial PCO2 in mm Hg (8-80).","type":"number"},"pao2_mm_hg":{"description":"Arterial PO2 in mm Hg (20-700).","type":"number"},"pb_mm_hg":{"description":"Barometric pressure in mm Hg (500-800). Omitted uses 760.","type":"number"},"rq":{"description":"Respiratory exchange ratio R (0.7-1.0). Omitted uses 0.8.","type":"number"}},"required":["paco2_mm_hg","pao2_mm_hg"],"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},{"id":39329,"slug":"39329","resource":"https://api.magentlab.com/api/calc/bode","description":"Celli 2004 BODE index from BMI (≤21 → 1), FEV1 % predicted (0–3), MMRC dyspnea (0–3), and 6-minute walk in meters (0–3). Returns a 0–10 total and quartile 1–4 (0–2 / 3–4 / 5–6 / 7–10). Deterministic published points with citation. Not a GOLD stage and not a transplant listing.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bmi_kg_m2":24,"fev1_percent_predicted":70,"mmrc":0,"six_minute_walk_m":400},{"bmi_kg_m2":24,"fev1_percent_predicted":70,"mmrc":0,"six_minute_walk_m":400}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmi_kg_m2":24,"citation":{"authors":"Celli BR, Cote CG, Marin JM, et al.","doi":"10.1056/NEJMoa021322","id":"celli-2004","pmid":"14999112","source":"N Engl J Med. 2004;350(10):1005-1012","title":"The body-mass index, airflow obstruction, dyspnea, and exercise capacity index in chronic obstructive pulmonary disease"},"components":[{"factor":"bmi","points":0,"present":false,"value":24},{"factor":"fev1","points":0,"present":false,"value":70},{"factor":"mmrc","points":0,"present":false,"value":0},{"factor":"six_minute_walk","points":0,"present":false,"value":400}],"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.","fev1_percent_predicted":70,"formula":"bode","formula_expression":"BODE = bmi_points + fev1_points + mmrc_points + walk_points; BMI <=21 -> 1 else 0; FEV1% >=65 -> 0, 50-64 -> 1, 36-49 -> 2, <=35 -> 3; MMRC 0-1 -> 0, 2 -> 1, 3 -> 2, 4 -> 3; 6MWD m >=350 -> 0, 250-349 -> 1, 150-249 -> 2, <=149 -> 3; quartiles 0-2 / 3-4 / 5-6 / 7-10; max 10","max_score":10,"mmrc":0,"quartile":1,"score":0,"six_minute_walk_m":400},{"bmi_kg_m2":24,"citation":{"authors":"Celli BR, Cote CG, Marin JM, et al.","doi":"10.1056/NEJMoa021322","id":"celli-2004","pmid":"14999112","source":"N Engl J Med. 2004;350(10):1005-1012","title":"The body-mass index, airflow obstruction, dyspnea, and exercise capacity index in chronic obstructive pulmonary disease"},"components":[{"factor":"bmi","points":0,"present":false,"value":24},{"factor":"fev1","points":0,"present":false,"value":70},{"factor":"mmrc","points":0,"present":false,"value":0},{"factor":"six_minute_walk","points":0,"present":false,"value":400}],"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.","fev1_percent_predicted":70,"formula":"bode","formula_expression":"BODE = bmi_points + fev1_points + mmrc_points + walk_points; BMI <=21 -> 1 else 0; FEV1% >=65 -> 0, 50-64 -> 1, 36-49 -> 2, <=35 -> 3; MMRC 0-1 -> 0, 2 -> 1, 3 -> 2, 4 -> 3; 6MWD m >=350 -> 0, 250-349 -> 1, 150-249 -> 2, <=149 -> 3; quartiles 0-2 / 3-4 / 5-6 / 7-10; max 10","max_score":10,"mmrc":0,"quartile":1,"score":0,"six_minute_walk_m":400}],"path":"/api/calc/bode"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Celli 2004: >21 scores 0; <=21 scores 1.","type":"number"},"fev1_percent_predicted":{"description":"FEV1 percent predicted (10-150). Celli 2004 Table 2: >=65 scores 0; 50-64 scores 1; 36-49 scores 2; <=35 scores 3.","type":"number"},"mmrc":{"description":"Modified Medical Research Council dyspnea grade as an integer 0-4 (Celli 2004). 0-1 scores 0; 2 scores 1; 3 scores 2; 4 scores 3. magent does not interview the patient.","type":"integer"},"six_minute_walk_m":{"description":"Six-minute walk distance in meters (0-1000). Celli 2004 Table 2: >=350 scores 0; 250-349 scores 1; 150-249 scores 2; <=149 scores 3.","type":"number"}},"required":["bmi_kg_m2","fev1_percent_predicted","mmrc","six_minute_walk_m"],"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":["bode","copd","dyspnea","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:11:22.975Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:11:22.82Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bmi_kg_m2":24,"fev1_percent_predicted":70,"mmrc":0,"six_minute_walk_m":400},{"bmi_kg_m2":24,"fev1_percent_predicted":70,"mmrc":0,"six_minute_walk_m":400}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmi_kg_m2":24,"citation":{"authors":"Celli BR, Cote CG, Marin JM, et al.","doi":"10.1056/NEJMoa021322","id":"celli-2004","pmid":"14999112","source":"N Engl J Med. 2004;350(10):1005-1012","title":"The body-mass index, airflow obstruction, dyspnea, and exercise capacity index in chronic obstructive pulmonary disease"},"components":[{"factor":"bmi","points":0,"present":false,"value":24},{"factor":"fev1","points":0,"present":false,"value":70},{"factor":"mmrc","points":0,"present":false,"value":0},{"factor":"six_minute_walk","points":0,"present":false,"value":400}],"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.","fev1_percent_predicted":70,"formula":"bode","formula_expression":"BODE = bmi_points + fev1_points + mmrc_points + walk_points; BMI <=21 -> 1 else 0; FEV1% >=65 -> 0, 50-64 -> 1, 36-49 -> 2, <=35 -> 3; MMRC 0-1 -> 0, 2 -> 1, 3 -> 2, 4 -> 3; 6MWD m >=350 -> 0, 250-349 -> 1, 150-249 -> 2, <=149 -> 3; quartiles 0-2 / 3-4 / 5-6 / 7-10; max 10","max_score":10,"mmrc":0,"quartile":1,"score":0,"six_minute_walk_m":400},{"bmi_kg_m2":24,"citation":{"authors":"Celli BR, Cote CG, Marin JM, et al.","doi":"10.1056/NEJMoa021322","id":"celli-2004","pmid":"14999112","source":"N Engl J Med. 2004;350(10):1005-1012","title":"The body-mass index, airflow obstruction, dyspnea, and exercise capacity index in chronic obstructive pulmonary disease"},"components":[{"factor":"bmi","points":0,"present":false,"value":24},{"factor":"fev1","points":0,"present":false,"value":70},{"factor":"mmrc","points":0,"present":false,"value":0},{"factor":"six_minute_walk","points":0,"present":false,"value":400}],"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.","fev1_percent_predicted":70,"formula":"bode","formula_expression":"BODE = bmi_points + fev1_points + mmrc_points + walk_points; BMI <=21 -> 1 else 0; FEV1% >=65 -> 0, 50-64 -> 1, 36-49 -> 2, <=35 -> 3; MMRC 0-1 -> 0, 2 -> 1, 3 -> 2, 4 -> 3; 6MWD m >=350 -> 0, 250-349 -> 1, 150-249 -> 2, <=149 -> 3; quartiles 0-2 / 3-4 / 5-6 / 7-10; max 10","max_score":10,"mmrc":0,"quartile":1,"score":0,"six_minute_walk_m":400}],"path":"/api/calc/bode"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Celli 2004: >21 scores 0; <=21 scores 1.","type":"number"},"fev1_percent_predicted":{"description":"FEV1 percent predicted (10-150). Celli 2004 Table 2: >=65 scores 0; 50-64 scores 1; 36-49 scores 2; <=35 scores 3.","type":"number"},"mmrc":{"description":"Modified Medical Research Council dyspnea grade as an integer 0-4 (Celli 2004). 0-1 scores 0; 2 scores 1; 3 scores 2; 4 scores 3. magent does not interview the patient.","type":"integer"},"six_minute_walk_m":{"description":"Six-minute walk distance in meters (0-1000). Celli 2004 Table 2: >=350 scores 0; 250-349 scores 1; 150-249 scores 2; <=149 scores 3.","type":"number"}},"required":["bmi_kg_m2","fev1_percent_predicted","mmrc","six_minute_walk_m"],"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},{"id":39330,"slug":"39330","resource":"https://api.magentlab.com/api/calc/bicarbonate_deficit","description":"Bicarbonate deficit from weight and measured HCO3 using Adrogué–Madias 50 percent body-weight space. Deterministic published arithmetic with citation; not a dosing protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bicarbonate_mmol_l":4,"desired_hco3_mmol_l":8,"weight_kg":70,"weight_lb":154.3236},{"bicarbonate_mmol_l":4,"desired_hco3_mmol_l":8,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bicarbonate_mmol_l":4,"bicarbonate_space_l":35,"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM199801013380106","id":"adrogue-madias-1998","source":"N Engl J Med. 1998;338(1):26-34","title":"Management of life-threatening acid-base disorders. First of two parts"},"deficit_meq":140,"desired_hco3_mmol_l":8,"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":"adrogue_madias","formula_expression":"bicarbonate_space_L = 0.5 * weight_kg; deficit_mEq = bicarbonate_space_L * (desired_hco3 - measured_hco3)","weight_kg":70},{"bicarbonate_mmol_l":4,"bicarbonate_space_l":35,"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM199801013380106","id":"adrogue-madias-1998","source":"N Engl J Med. 1998;338(1):26-34","title":"Management of life-threatening acid-base disorders. First of two parts"},"deficit_meq":140,"desired_hco3_mmol_l":8,"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":"adrogue_madias","formula_expression":"bicarbonate_space_L = 0.5 * weight_kg; deficit_mEq = bicarbonate_space_L * (desired_hco3 - measured_hco3)","weight_kg":70}],"path":"/api/calc/bicarbonate_deficit"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bicarbonate_mmol_l":{"description":"Measured plasma bicarbonate in mmol/L (same as mEq/L). Range 2-45.","type":"number"},"desired_hco3_mmol_l":{"description":"Target plasma bicarbonate in mmol/L (8-30), must exceed measured HCO3. Omitted uses 24.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["bicarbonate_mmol_l"],"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":["bicarbonate","acidosis","electrolytes","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:06:57.78Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:06:57.556Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bicarbonate_mmol_l":4,"desired_hco3_mmol_l":8,"weight_kg":70,"weight_lb":154.3236},{"bicarbonate_mmol_l":4,"desired_hco3_mmol_l":8,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bicarbonate_mmol_l":4,"bicarbonate_space_l":35,"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM199801013380106","id":"adrogue-madias-1998","source":"N Engl J Med. 1998;338(1):26-34","title":"Management of life-threatening acid-base disorders. First of two parts"},"deficit_meq":140,"desired_hco3_mmol_l":8,"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":"adrogue_madias","formula_expression":"bicarbonate_space_L = 0.5 * weight_kg; deficit_mEq = bicarbonate_space_L * (desired_hco3 - measured_hco3)","weight_kg":70},{"bicarbonate_mmol_l":4,"bicarbonate_space_l":35,"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM199801013380106","id":"adrogue-madias-1998","source":"N Engl J Med. 1998;338(1):26-34","title":"Management of life-threatening acid-base disorders. First of two parts"},"deficit_meq":140,"desired_hco3_mmol_l":8,"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":"adrogue_madias","formula_expression":"bicarbonate_space_L = 0.5 * weight_kg; deficit_mEq = bicarbonate_space_L * (desired_hco3 - measured_hco3)","weight_kg":70}],"path":"/api/calc/bicarbonate_deficit"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bicarbonate_mmol_l":{"description":"Measured plasma bicarbonate in mmol/L (same as mEq/L). Range 2-45.","type":"number"},"desired_hco3_mmol_l":{"description":"Target plasma bicarbonate in mmol/L (8-30), must exceed measured HCO3. Omitted uses 24.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["bicarbonate_mmol_l"],"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},{"id":39331,"slug":"39331","resource":"https://api.magentlab.com/api/calc/bars","description":"Swift 2002 Behavioural Activity Rating Scale (BARS): caller-assigned integer 1-7 (difficult or unable to rouse; asleep but responds normally to verbal or physical contact; drowsy, appears sedated; quiet and awake, normal activity; signs of overt physical or verbal activity, calms with instructions; extremely or continuously active, not requiring restraint; violent, requires restraint). Returns score, max 7, and a stable label. Not RASS and not a diagnosis. magent does not observe the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bars":4},{"bars":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bars":4,"bars_label":"quiet_and_awake","citation":{"authors":"Swift RH, Harrigan EP, Cappelleri JC, Kramer D, Chandler LP","doi":"10.1016/s0022-3956(01)00052-8","id":"swift-2002","pmid":"11777497","source":"J Psychiatr Res. 2002;36(2):87-95","title":"Validation of the Behavioural Activity Rating Scale (BARS): a novel measure of activity in agitated patients"},"components":[{"factor":"bars","points":4,"present":true}],"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":"bars","formula_expression":"BARS = caller-assigned integer 1, 2, 3, 4, 5, 6, or 7 (Swift 2002); max 7","max_score":7,"score":4},{"bars":4,"bars_label":"quiet_and_awake","citation":{"authors":"Swift RH, Harrigan EP, Cappelleri JC, Kramer D, Chandler LP","doi":"10.1016/s0022-3956(01)00052-8","id":"swift-2002","pmid":"11777497","source":"J Psychiatr Res. 2002;36(2):87-95","title":"Validation of the Behavioural Activity Rating Scale (BARS): a novel measure of activity in agitated patients"},"components":[{"factor":"bars","points":4,"present":true}],"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":"bars","formula_expression":"BARS = caller-assigned integer 1, 2, 3, 4, 5, 6, or 7 (Swift 2002); max 7","max_score":7,"score":4}],"path":"/api/calc/bars"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bars":{"description":"Swift 2002 Behavioural Activity Rating Scale integer 1, 2, 3, 4, 5, 6, or 7 as assigned by the caller (1 difficult or unable to rouse; 2 asleep but responds normally to verbal or physical contact; 3 drowsy, appears sedated; 4 quiet and awake, normal level of activity; 5 signs of overt physical or verbal activity, calms with instructions; 6 extremely or continuously active, not requiring restraint; 7 violent, requires restraint). magent does not observe the patient.","type":"integer"}},"required":["bars"],"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":["bars","agitation","activity","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:06:56.526Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:06:56.282Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bars":4},{"bars":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bars":4,"bars_label":"quiet_and_awake","citation":{"authors":"Swift RH, Harrigan EP, Cappelleri JC, Kramer D, Chandler LP","doi":"10.1016/s0022-3956(01)00052-8","id":"swift-2002","pmid":"11777497","source":"J Psychiatr Res. 2002;36(2):87-95","title":"Validation of the Behavioural Activity Rating Scale (BARS): a novel measure of activity in agitated patients"},"components":[{"factor":"bars","points":4,"present":true}],"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":"bars","formula_expression":"BARS = caller-assigned integer 1, 2, 3, 4, 5, 6, or 7 (Swift 2002); max 7","max_score":7,"score":4},{"bars":4,"bars_label":"quiet_and_awake","citation":{"authors":"Swift RH, Harrigan EP, Cappelleri JC, Kramer D, Chandler LP","doi":"10.1016/s0022-3956(01)00052-8","id":"swift-2002","pmid":"11777497","source":"J Psychiatr Res. 2002;36(2):87-95","title":"Validation of the Behavioural Activity Rating Scale (BARS): a novel measure of activity in agitated patients"},"components":[{"factor":"bars","points":4,"present":true}],"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":"bars","formula_expression":"BARS = caller-assigned integer 1, 2, 3, 4, 5, 6, or 7 (Swift 2002); max 7","max_score":7,"score":4}],"path":"/api/calc/bars"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bars":{"description":"Swift 2002 Behavioural Activity Rating Scale integer 1, 2, 3, 4, 5, 6, or 7 as assigned by the caller (1 difficult or unable to rouse; 2 asleep but responds normally to verbal or physical contact; 3 drowsy, appears sedated; 4 quiet and awake, normal level of activity; 5 signs of overt physical or verbal activity, calms with instructions; 6 extremely or continuously active, not requiring restraint; 7 violent, requires restraint). magent does not observe the patient.","type":"integer"}},"required":["bars"],"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},{"id":39332,"slug":"39332","resource":"https://api.magentlab.com/api/calc/bap_65","description":"BAP-65 (Tabak 2009) class I–V for acute exacerbation of COPD. Three caller-assigned main factors: BUN >25 mg/dL, altered mental status (GCS <14 or disoriented/stupor/coma), and pulse >109/min. Age >65 splits class I from II only when zero main factors are present; age is not a fourth additive point. magent does not compute GCS, BUN, or pulse. Not a medical device and not a ventilation or ICU-admission order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_gt_65":false,"altered_mental_status":false,"bun_gt_25":false,"pulse_gt_109":false},{"age_gt_65":false,"altered_mental_status":false,"bun_gt_25":false,"pulse_gt_109":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bap65_class":"I","citation":{"authors":"Tabak YP, Sun X, Johannes RS, Gupta V, Shorr AF","doi":"10.1001/archinternmed.2009.270","id":"tabak-2009","pmid":"19786679","source":"Arch Intern Med. 2009;169(17):1595-1602","title":"Mortality and need for mechanical ventilation in acute exacerbations of chronic obstructive pulmonary disease: development and validation of a simple risk score"},"criteria":[{"factor":"bun_gt_25","met":false},{"factor":"altered_mental_status","met":false},{"factor":"pulse_gt_109","met":false},{"factor":"age_gt_65","met":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":"bap_65","formula_expression":"class I = 0 main factors and age ≤65; II = 0 main factors and age >65; III = 1 main factor; IV = 2 main factors; V = 3 main factors (BUN >25 mg/dL, GCS <14 or disoriented/stupor/coma, pulse >109/min); age is not a 4th additive point","main_factor_count":0},{"bap65_class":"I","citation":{"authors":"Tabak YP, Sun X, Johannes RS, Gupta V, Shorr AF","doi":"10.1001/archinternmed.2009.270","id":"tabak-2009","pmid":"19786679","source":"Arch Intern Med. 2009;169(17):1595-1602","title":"Mortality and need for mechanical ventilation in acute exacerbations of chronic obstructive pulmonary disease: development and validation of a simple risk score"},"criteria":[{"factor":"bun_gt_25","met":false},{"factor":"altered_mental_status","met":false},{"factor":"pulse_gt_109","met":false},{"factor":"age_gt_65","met":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":"bap_65","formula_expression":"class I = 0 main factors and age ≤65; II = 0 main factors and age >65; III = 1 main factor; IV = 2 main factors; V = 3 main factors (BUN >25 mg/dL, GCS <14 or disoriented/stupor/coma, pulse >109/min); age is not a 4th additive point","main_factor_count":0}],"path":"/api/calc/bap_65"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_65":{"description":"Age >65 years (strict greater than). Used only when zero of the three main factors are present, to split class I from II. true or false as assigned by the caller. magent does not compute age.","type":"boolean"},"altered_mental_status":{"description":"GCS <14 or physician designation of disoriented, stupor, or coma (Tabak 2009). true or false as assigned by the caller. magent does not compute GCS.","type":"boolean"},"bun_gt_25":{"description":"BUN >25 mg/dL (strict greater than; 25 does not meet). true or false as assigned by the caller. magent does not compute BUN.","type":"boolean"},"pulse_gt_109":{"description":"Pulse >109/min (strict greater than; 109 does not meet). true or false as assigned by the caller. magent does not compute pulse.","type":"boolean"}},"required":["bun_gt_25","altered_mental_status","pulse_gt_109","age_gt_65"],"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":["bap-65","copd","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:06:55.09Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:06:54.77Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_gt_65":false,"altered_mental_status":false,"bun_gt_25":false,"pulse_gt_109":false},{"age_gt_65":false,"altered_mental_status":false,"bun_gt_25":false,"pulse_gt_109":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bap65_class":"I","citation":{"authors":"Tabak YP, Sun X, Johannes RS, Gupta V, Shorr AF","doi":"10.1001/archinternmed.2009.270","id":"tabak-2009","pmid":"19786679","source":"Arch Intern Med. 2009;169(17):1595-1602","title":"Mortality and need for mechanical ventilation in acute exacerbations of chronic obstructive pulmonary disease: development and validation of a simple risk score"},"criteria":[{"factor":"bun_gt_25","met":false},{"factor":"altered_mental_status","met":false},{"factor":"pulse_gt_109","met":false},{"factor":"age_gt_65","met":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":"bap_65","formula_expression":"class I = 0 main factors and age ≤65; II = 0 main factors and age >65; III = 1 main factor; IV = 2 main factors; V = 3 main factors (BUN >25 mg/dL, GCS <14 or disoriented/stupor/coma, pulse >109/min); age is not a 4th additive point","main_factor_count":0},{"bap65_class":"I","citation":{"authors":"Tabak YP, Sun X, Johannes RS, Gupta V, Shorr AF","doi":"10.1001/archinternmed.2009.270","id":"tabak-2009","pmid":"19786679","source":"Arch Intern Med. 2009;169(17):1595-1602","title":"Mortality and need for mechanical ventilation in acute exacerbations of chronic obstructive pulmonary disease: development and validation of a simple risk score"},"criteria":[{"factor":"bun_gt_25","met":false},{"factor":"altered_mental_status","met":false},{"factor":"pulse_gt_109","met":false},{"factor":"age_gt_65","met":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":"bap_65","formula_expression":"class I = 0 main factors and age ≤65; II = 0 main factors and age >65; III = 1 main factor; IV = 2 main factors; V = 3 main factors (BUN >25 mg/dL, GCS <14 or disoriented/stupor/coma, pulse >109/min); age is not a 4th additive point","main_factor_count":0}],"path":"/api/calc/bap_65"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_65":{"description":"Age >65 years (strict greater than). Used only when zero of the three main factors are present, to split class I from II. true or false as assigned by the caller. magent does not compute age.","type":"boolean"},"altered_mental_status":{"description":"GCS <14 or physician designation of disoriented, stupor, or coma (Tabak 2009). true or false as assigned by the caller. magent does not compute GCS.","type":"boolean"},"bun_gt_25":{"description":"BUN >25 mg/dL (strict greater than; 25 does not meet). true or false as assigned by the caller. magent does not compute BUN.","type":"boolean"},"pulse_gt_109":{"description":"Pulse >109/min (strict greater than; 109 does not meet). true or false as assigned by the caller. magent does not compute pulse.","type":"boolean"}},"required":["bun_gt_25","altered_mental_status","pulse_gt_109","age_gt_65"],"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},{"id":39333,"slug":"39333","resource":"https://api.magentlab.com/api/calc/ausdrisk","description":"Chen 2010 AUSDRISK Box 3 waist model (not BMI). Male 3; age 18-34 0, 35-44 2, 45-54 4, 55-64 6, >=65 8; ancestry atsi_or_asian or southern_european_or_pacific 2 (caller-assigned); parental diabetes 3; high glucose 6; antihypertensives 2; current smoker 2; physically inactive 2; waist cat1/2/3 = 0/4/7 (ATSI/Asian vs other cutoffs). Max 35. at_risk iff score>=12. Not a diagnosis. Not FINDRISC.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":30,"ancestry":"other","antihypertensive":false,"current_smoker":false,"history_high_glucose":false,"parental_diabetes":false,"physically_inactive":false,"sex":"female","waist_cm":80},{"age":30,"ancestry":"other","antihypertensive":false,"current_smoker":false,"history_high_glucose":false,"parental_diabetes":false,"physically_inactive":false,"sex":"female","waist_cm":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"ancestry":"other","at_risk":false,"citation":{"authors":"Chen L, Magliano DJ, Balkau B, Colagiuri S, Zimmet PZ, Tonkin AM, Mitchell P, Phillips PJ, Shaw JE","doi":"10.5694/j.1326-5377.2010.tb03506.x","id":"chen-2010-ausdrisk","pmid":"20170456","source":"Med J Aust. 2010;192(4):197-202","title":"AUSDRISK: an Australian Type 2 Diabetes Risk Assessment Tool based on demographic, lifestyle and simple anthropometric measures"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":30},{"factor":"ancestry","points":0,"present":false,"value":"other"},{"factor":"parental_diabetes","points":0,"present":false},{"factor":"history_high_glucose","points":0,"present":false},{"factor":"antihypertensive","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"physically_inactive","points":0,"present":false},{"category":"cat1","factor":"waist","points":0,"present":false,"value":80}],"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":"ausdrisk","formula_expression":"AUSDRISK = sex + age + ancestry + parental_diabetes + history_high_glucose + antihypertensive + current_smoker + physically_inactive + waist; male 3; age 18-34 -> 0, 35-44 -> 2, 45-54 -> 4, 55-64 -> 6, >=65 -> 8; ancestry atsi_or_asian or southern_european_or_pacific 2 else 0; parental_diabetes 3; history_high_glucose 6; antihypertensive 2; current_smoker 2; physically_inactive 2; waist cat1 0 cat2 4 cat3 7 (atsi_or_asian men <90 / >=90 and <100 / >=100, women <80 / >=80 and <90 / >=90; otherwise including southern_european_or_pacific men <102 / >=102 and <110 / >=110, women <88 / >=88 and <100 / >=100); max 35; at_risk iff score>=12; Chen 2010 Box 3 waist model not BMI","max_score":35,"score":0,"sex":"female","waist_category":"cat1","waist_cm":80},{"age_years":30,"ancestry":"other","at_risk":false,"citation":{"authors":"Chen L, Magliano DJ, Balkau B, Colagiuri S, Zimmet PZ, Tonkin AM, Mitchell P, Phillips PJ, Shaw JE","doi":"10.5694/j.1326-5377.2010.tb03506.x","id":"chen-2010-ausdrisk","pmid":"20170456","source":"Med J Aust. 2010;192(4):197-202","title":"AUSDRISK: an Australian Type 2 Diabetes Risk Assessment Tool based on demographic, lifestyle and simple anthropometric measures"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":30},{"factor":"ancestry","points":0,"present":false,"value":"other"},{"factor":"parental_diabetes","points":0,"present":false},{"factor":"history_high_glucose","points":0,"present":false},{"factor":"antihypertensive","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"physically_inactive","points":0,"present":false},{"category":"cat1","factor":"waist","points":0,"present":false,"value":80}],"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":"ausdrisk","formula_expression":"AUSDRISK = sex + age + ancestry + parental_diabetes + history_high_glucose + antihypertensive + current_smoker + physically_inactive + waist; male 3; age 18-34 -> 0, 35-44 -> 2, 45-54 -> 4, 55-64 -> 6, >=65 -> 8; ancestry atsi_or_asian or southern_european_or_pacific 2 else 0; parental_diabetes 3; history_high_glucose 6; antihypertensive 2; current_smoker 2; physically_inactive 2; waist cat1 0 cat2 4 cat3 7 (atsi_or_asian men <90 / >=90 and <100 / >=100, women <80 / >=80 and <90 / >=90; otherwise including southern_european_or_pacific men <102 / >=102 and <110 / >=110, women <88 / >=88 and <100 / >=100); max 35; at_risk iff score>=12; Chen 2010 Box 3 waist model not BMI","max_score":35,"score":0,"sex":"female","waist_category":"cat1","waist_cm":80}],"path":"/api/calc/ausdrisk"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Chen 2010: 25-34 scores 0; magent scores 18-34 as 0 and does not reject 18-24. 35-44 scores 2; 45-54 scores 4; 55-64 scores 6; ≥65 scores 8. Age 34 scores 0; 35 and 44 score 2; 45 and 54 score 4; 55 and 64 score 6; 65 scores 8.","type":"integer"},"ancestry":{"description":"Caller-assigned ancestry as used in Chen 2010. atsi_or_asian (Aboriginal and Torres Strait Islander or Asian) or southern_european_or_pacific (Southern European or Pacific Islander) scores 2; other scores 0. magent does not assign ancestry. Waist cutoffs for atsi_or_asian follow the paper footnote; southern_european_or_pacific uses the otherwise cutoffs.","enum":["atsi_or_asian","southern_european_or_pacific","other"],"type":"string"},"antihypertensive":{"description":"Currently taking antihypertensive medication (Chen 2010). true scores 2; false scores 0.","type":"boolean"},"current_smoker":{"description":"Currently smokes (Chen 2010). true scores 2; false scores 0.","type":"boolean"},"history_high_glucose":{"description":"History of high blood glucose including during illness or pregnancy (Chen 2010). Caller-assigned; magent does not assay glucose. true scores 6; false scores 0.","type":"boolean"},"parental_diabetes":{"description":"Parent with diabetes (Chen 2010). true scores 3; false scores 0.","type":"boolean"},"physically_inactive":{"description":"Not doing at least 2.5 hours of physical activity per week (Chen 2010). true scores 2; false scores 0. Caller-assigned; magent does not measure activity.","type":"boolean"},"sex":{"description":"female or male. Chen 2010: male scores 3; female scores 0.","enum":["female","male"],"type":"string"},"waist_cm":{"description":"Waist circumference in cm (40-200). Chen 2010 Box 3 footnote, not BMI. If ancestry is atsi_or_asian: men cat1 <90, cat2 ≥90 and <100, cat3 ≥100; women cat1 <80, cat2 ≥80 and <90, cat3 ≥90. Otherwise (including southern_european_or_pacific and other): men cat1 <102, cat2 ≥102 and <110, cat3 ≥110; women cat1 <88, cat2 ≥88 and <100, cat3 ≥100. cat1 scores 0; cat2 scores 4; cat3 scores 7. 90 and 100 (atsi_or_asian men) and 80 and 90 (atsi_or_asian women) are the published boundaries.","type":"number"}},"required":["age","sex","ancestry","parental_diabetes","history_high_glucose","antihypertensive","current_smoker","physically_inactive","waist_cm"],"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":["ausdrisk","diabetes-risk","glucose","calculator","chen-2010","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:01:34.629Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:01:34.485Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":30,"ancestry":"other","antihypertensive":false,"current_smoker":false,"history_high_glucose":false,"parental_diabetes":false,"physically_inactive":false,"sex":"female","waist_cm":80},{"age":30,"ancestry":"other","antihypertensive":false,"current_smoker":false,"history_high_glucose":false,"parental_diabetes":false,"physically_inactive":false,"sex":"female","waist_cm":80}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"ancestry":"other","at_risk":false,"citation":{"authors":"Chen L, Magliano DJ, Balkau B, Colagiuri S, Zimmet PZ, Tonkin AM, Mitchell P, Phillips PJ, Shaw JE","doi":"10.5694/j.1326-5377.2010.tb03506.x","id":"chen-2010-ausdrisk","pmid":"20170456","source":"Med J Aust. 2010;192(4):197-202","title":"AUSDRISK: an Australian Type 2 Diabetes Risk Assessment Tool based on demographic, lifestyle and simple anthropometric measures"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":30},{"factor":"ancestry","points":0,"present":false,"value":"other"},{"factor":"parental_diabetes","points":0,"present":false},{"factor":"history_high_glucose","points":0,"present":false},{"factor":"antihypertensive","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"physically_inactive","points":0,"present":false},{"category":"cat1","factor":"waist","points":0,"present":false,"value":80}],"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":"ausdrisk","formula_expression":"AUSDRISK = sex + age + ancestry + parental_diabetes + history_high_glucose + antihypertensive + current_smoker + physically_inactive + waist; male 3; age 18-34 -> 0, 35-44 -> 2, 45-54 -> 4, 55-64 -> 6, >=65 -> 8; ancestry atsi_or_asian or southern_european_or_pacific 2 else 0; parental_diabetes 3; history_high_glucose 6; antihypertensive 2; current_smoker 2; physically_inactive 2; waist cat1 0 cat2 4 cat3 7 (atsi_or_asian men <90 / >=90 and <100 / >=100, women <80 / >=80 and <90 / >=90; otherwise including southern_european_or_pacific men <102 / >=102 and <110 / >=110, women <88 / >=88 and <100 / >=100); max 35; at_risk iff score>=12; Chen 2010 Box 3 waist model not BMI","max_score":35,"score":0,"sex":"female","waist_category":"cat1","waist_cm":80},{"age_years":30,"ancestry":"other","at_risk":false,"citation":{"authors":"Chen L, Magliano DJ, Balkau B, Colagiuri S, Zimmet PZ, Tonkin AM, Mitchell P, Phillips PJ, Shaw JE","doi":"10.5694/j.1326-5377.2010.tb03506.x","id":"chen-2010-ausdrisk","pmid":"20170456","source":"Med J Aust. 2010;192(4):197-202","title":"AUSDRISK: an Australian Type 2 Diabetes Risk Assessment Tool based on demographic, lifestyle and simple anthropometric measures"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":30},{"factor":"ancestry","points":0,"present":false,"value":"other"},{"factor":"parental_diabetes","points":0,"present":false},{"factor":"history_high_glucose","points":0,"present":false},{"factor":"antihypertensive","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"physically_inactive","points":0,"present":false},{"category":"cat1","factor":"waist","points":0,"present":false,"value":80}],"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":"ausdrisk","formula_expression":"AUSDRISK = sex + age + ancestry + parental_diabetes + history_high_glucose + antihypertensive + current_smoker + physically_inactive + waist; male 3; age 18-34 -> 0, 35-44 -> 2, 45-54 -> 4, 55-64 -> 6, >=65 -> 8; ancestry atsi_or_asian or southern_european_or_pacific 2 else 0; parental_diabetes 3; history_high_glucose 6; antihypertensive 2; current_smoker 2; physically_inactive 2; waist cat1 0 cat2 4 cat3 7 (atsi_or_asian men <90 / >=90 and <100 / >=100, women <80 / >=80 and <90 / >=90; otherwise including southern_european_or_pacific men <102 / >=102 and <110 / >=110, women <88 / >=88 and <100 / >=100); max 35; at_risk iff score>=12; Chen 2010 Box 3 waist model not BMI","max_score":35,"score":0,"sex":"female","waist_category":"cat1","waist_cm":80}],"path":"/api/calc/ausdrisk"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Chen 2010: 25-34 scores 0; magent scores 18-34 as 0 and does not reject 18-24. 35-44 scores 2; 45-54 scores 4; 55-64 scores 6; ≥65 scores 8. Age 34 scores 0; 35 and 44 score 2; 45 and 54 score 4; 55 and 64 score 6; 65 scores 8.","type":"integer"},"ancestry":{"description":"Caller-assigned ancestry as used in Chen 2010. atsi_or_asian (Aboriginal and Torres Strait Islander or Asian) or southern_european_or_pacific (Southern European or Pacific Islander) scores 2; other scores 0. magent does not assign ancestry. Waist cutoffs for atsi_or_asian follow the paper footnote; southern_european_or_pacific uses the otherwise cutoffs.","enum":["atsi_or_asian","southern_european_or_pacific","other"],"type":"string"},"antihypertensive":{"description":"Currently taking antihypertensive medication (Chen 2010). true scores 2; false scores 0.","type":"boolean"},"current_smoker":{"description":"Currently smokes (Chen 2010). true scores 2; false scores 0.","type":"boolean"},"history_high_glucose":{"description":"History of high blood glucose including during illness or pregnancy (Chen 2010). Caller-assigned; magent does not assay glucose. true scores 6; false scores 0.","type":"boolean"},"parental_diabetes":{"description":"Parent with diabetes (Chen 2010). true scores 3; false scores 0.","type":"boolean"},"physically_inactive":{"description":"Not doing at least 2.5 hours of physical activity per week (Chen 2010). true scores 2; false scores 0. Caller-assigned; magent does not measure activity.","type":"boolean"},"sex":{"description":"female or male. Chen 2010: male scores 3; female scores 0.","enum":["female","male"],"type":"string"},"waist_cm":{"description":"Waist circumference in cm (40-200). Chen 2010 Box 3 footnote, not BMI. If ancestry is atsi_or_asian: men cat1 <90, cat2 ≥90 and <100, cat3 ≥100; women cat1 <80, cat2 ≥80 and <90, cat3 ≥90. Otherwise (including southern_european_or_pacific and other): men cat1 <102, cat2 ≥102 and <110, cat3 ≥110; women cat1 <88, cat2 ≥88 and <100, cat3 ≥100. cat1 scores 0; cat2 scores 4; cat3 scores 7. 90 and 100 (atsi_or_asian men) and 80 and 90 (atsi_or_asian women) are the published boundaries.","type":"number"}},"required":["age","sex","ancestry","parental_diabetes","history_high_glucose","antihypertensive","current_smoker","physically_inactive","waist_cm"],"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},{"id":39334,"slug":"39334","resource":"https://api.magentlab.com/api/calc/aua_si","description":"Barry 1992 AUA-SI: seven caller-assigned integers 0-5 for incomplete emptying, frequency, intermittency, urgency, weak stream, straining (hesitancy), and nocturia. Sum 0-35. magent does not take a voiding history. Barry 1992 published no mild/moderate/severe total-score bands; later AUA-guideline 0-7/8-19/20-35 cuts are not applied. Not the 8-item IPSS quality-of-life question, not a BPH treatment order, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"frequency":0,"incomplete_emptying":0,"intermittency":0,"nocturia":0,"straining":0,"urgency":0,"weak_stream":0},{"frequency":0,"incomplete_emptying":0,"intermittency":0,"nocturia":0,"straining":0,"urgency":0,"weak_stream":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Barry MJ, Fowler FJ Jr, O'Leary MP, Bruskewitz RC, Holtgrewe HL, Mebust WK, Cockett AT","doi":"10.1016/S0022-5347(17)36966-5","id":"barry-1992","pmid":"1279218","source":"J Urol. 1992;148(5):1549-1557","title":"The American Urological Association symptom index for benign prostatic hyperplasia"},"components":[{"factor":"incomplete_emptying","points":0,"present":true,"value":0},{"factor":"frequency","points":0,"present":true,"value":0},{"factor":"intermittency","points":0,"present":true,"value":0},{"factor":"urgency","points":0,"present":true,"value":0},{"factor":"weak_stream","points":0,"present":true,"value":0},{"factor":"straining","points":0,"present":true,"value":0},{"factor":"nocturia","points":0,"present":true,"value":0}],"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":"aua_si","formula_expression":"AUA-SI = incomplete_emptying + frequency + intermittency + urgency + weak_stream + straining + nocturia; each caller-assigned 0-5; max 35; Barry 1992; no total-score severity bands; not IPSS quality-of-life item","max_score":35,"score":0},{"citation":{"authors":"Barry MJ, Fowler FJ Jr, O'Leary MP, Bruskewitz RC, Holtgrewe HL, Mebust WK, Cockett AT","doi":"10.1016/S0022-5347(17)36966-5","id":"barry-1992","pmid":"1279218","source":"J Urol. 1992;148(5):1549-1557","title":"The American Urological Association symptom index for benign prostatic hyperplasia"},"components":[{"factor":"incomplete_emptying","points":0,"present":true,"value":0},{"factor":"frequency","points":0,"present":true,"value":0},{"factor":"intermittency","points":0,"present":true,"value":0},{"factor":"urgency","points":0,"present":true,"value":0},{"factor":"weak_stream","points":0,"present":true,"value":0},{"factor":"straining","points":0,"present":true,"value":0},{"factor":"nocturia","points":0,"present":true,"value":0}],"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":"aua_si","formula_expression":"AUA-SI = incomplete_emptying + frequency + intermittency + urgency + weak_stream + straining + nocturia; each caller-assigned 0-5; max 35; Barry 1992; no total-score severity bands; not IPSS quality-of-life item","max_score":35,"score":0}],"path":"/api/calc/aua_si"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"frequency":{"description":"Caller-assigned Barry 1992 frequency (integer 0-5: 0 not at all to 5 almost always): urinating again less than two hours after finishing. magent does not take a voiding history.","type":"integer"},"incomplete_emptying":{"description":"Caller-assigned Barry 1992 incomplete emptying (integer 0-5: 0 not at all, 1 less than 1 time in 5, 2 less than half the time, 3 about half the time, 4 more than half the time, 5 almost always): sensation of not emptying the bladder completely after finishing urination. magent does not take a voiding history.","type":"integer"},"intermittency":{"description":"Caller-assigned Barry 1992 intermittency (integer 0-5: 0 not at all to 5 almost always): stopping and starting again several times when urinating. magent does not take a voiding history.","type":"integer"},"nocturia":{"description":"Caller-assigned Barry 1992 nocturia (integer 0-5: 0 none, 1 one time, 2 two times, 3 three times, 4 four times, 5 five or more times): times typically getting up to urinate from bedtime until morning. magent does not take a voiding history.","type":"integer"},"straining":{"description":"Caller-assigned Barry 1992 hesitancy/straining (integer 0-5: 0 not at all to 5 almost always): push or strain to begin urination. magent does not take a voiding history.","type":"integer"},"urgency":{"description":"Caller-assigned Barry 1992 urgency (integer 0-5: 0 not at all to 5 almost always): difficulty postponing urination. magent does not take a voiding history.","type":"integer"},"weak_stream":{"description":"Caller-assigned Barry 1992 weak urinary stream (integer 0-5: 0 not at all to 5 almost always). magent does not take a voiding history.","type":"integer"}},"required":["incomplete_emptying","frequency","intermittency","urgency","weak_stream","straining","nocturia"],"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":["aua-si","bph","luts","urology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:01:33.7Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:01:33.441Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"frequency":0,"incomplete_emptying":0,"intermittency":0,"nocturia":0,"straining":0,"urgency":0,"weak_stream":0},{"frequency":0,"incomplete_emptying":0,"intermittency":0,"nocturia":0,"straining":0,"urgency":0,"weak_stream":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Barry MJ, Fowler FJ Jr, O'Leary MP, Bruskewitz RC, Holtgrewe HL, Mebust WK, Cockett AT","doi":"10.1016/S0022-5347(17)36966-5","id":"barry-1992","pmid":"1279218","source":"J Urol. 1992;148(5):1549-1557","title":"The American Urological Association symptom index for benign prostatic hyperplasia"},"components":[{"factor":"incomplete_emptying","points":0,"present":true,"value":0},{"factor":"frequency","points":0,"present":true,"value":0},{"factor":"intermittency","points":0,"present":true,"value":0},{"factor":"urgency","points":0,"present":true,"value":0},{"factor":"weak_stream","points":0,"present":true,"value":0},{"factor":"straining","points":0,"present":true,"value":0},{"factor":"nocturia","points":0,"present":true,"value":0}],"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":"aua_si","formula_expression":"AUA-SI = incomplete_emptying + frequency + intermittency + urgency + weak_stream + straining + nocturia; each caller-assigned 0-5; max 35; Barry 1992; no total-score severity bands; not IPSS quality-of-life item","max_score":35,"score":0},{"citation":{"authors":"Barry MJ, Fowler FJ Jr, O'Leary MP, Bruskewitz RC, Holtgrewe HL, Mebust WK, Cockett AT","doi":"10.1016/S0022-5347(17)36966-5","id":"barry-1992","pmid":"1279218","source":"J Urol. 1992;148(5):1549-1557","title":"The American Urological Association symptom index for benign prostatic hyperplasia"},"components":[{"factor":"incomplete_emptying","points":0,"present":true,"value":0},{"factor":"frequency","points":0,"present":true,"value":0},{"factor":"intermittency","points":0,"present":true,"value":0},{"factor":"urgency","points":0,"present":true,"value":0},{"factor":"weak_stream","points":0,"present":true,"value":0},{"factor":"straining","points":0,"present":true,"value":0},{"factor":"nocturia","points":0,"present":true,"value":0}],"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":"aua_si","formula_expression":"AUA-SI = incomplete_emptying + frequency + intermittency + urgency + weak_stream + straining + nocturia; each caller-assigned 0-5; max 35; Barry 1992; no total-score severity bands; not IPSS quality-of-life item","max_score":35,"score":0}],"path":"/api/calc/aua_si"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"frequency":{"description":"Caller-assigned Barry 1992 frequency (integer 0-5: 0 not at all to 5 almost always): urinating again less than two hours after finishing. magent does not take a voiding history.","type":"integer"},"incomplete_emptying":{"description":"Caller-assigned Barry 1992 incomplete emptying (integer 0-5: 0 not at all, 1 less than 1 time in 5, 2 less than half the time, 3 about half the time, 4 more than half the time, 5 almost always): sensation of not emptying the bladder completely after finishing urination. magent does not take a voiding history.","type":"integer"},"intermittency":{"description":"Caller-assigned Barry 1992 intermittency (integer 0-5: 0 not at all to 5 almost always): stopping and starting again several times when urinating. magent does not take a voiding history.","type":"integer"},"nocturia":{"description":"Caller-assigned Barry 1992 nocturia (integer 0-5: 0 none, 1 one time, 2 two times, 3 three times, 4 four times, 5 five or more times): times typically getting up to urinate from bedtime until morning. magent does not take a voiding history.","type":"integer"},"straining":{"description":"Caller-assigned Barry 1992 hesitancy/straining (integer 0-5: 0 not at all to 5 almost always): push or strain to begin urination. magent does not take a voiding history.","type":"integer"},"urgency":{"description":"Caller-assigned Barry 1992 urgency (integer 0-5: 0 not at all to 5 almost always): difficulty postponing urination. magent does not take a voiding history.","type":"integer"},"weak_stream":{"description":"Caller-assigned Barry 1992 weak urinary stream (integer 0-5: 0 not at all to 5 almost always). magent does not take a voiding history.","type":"integer"}},"required":["incomplete_emptying","frequency","intermittency","urgency","weak_stream","straining","nocturia"],"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},{"id":39335,"slug":"39335","resource":"https://api.magentlab.com/api/calc/apache_ii","description":"Knaus 1985 APACHE II integer: 12 Acute Physiology Score items (worst in 24 hours as assigned by the caller) plus age and chronic-health points, max 71. Oxygenation uses A-aDO2 when FiO2 is at least 0.5 and PaO2 when FiO2 is below 0.5. Creatinine points double in acute renal failure. Does not compute predicted death risk. magent does not measure vitals.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"aa_gradient":100,"acute_renal_failure":false,"age":40,"arterial_ph":7.4,"chronic_health":false,"creatinine_mg_dl":1,"elective_postop":false,"fio2":0.21,"gcs":15,"heart_rate":80,"hematocrit_percent":40,"map_mm_hg":90,"pao2_mm_hg":90,"potassium_mmol_l":4,"respiratory_rate":16,"sodium_mmol_l":140,"temperature_c":37,"wbc_k_ul":8},{"aa_gradient":100,"acute_renal_failure":false,"age":40,"arterial_ph":7.4,"chronic_health":false,"creatinine_mg_dl":1,"elective_postop":false,"fio2":0.21,"gcs":15,"heart_rate":80,"hematocrit_percent":40,"map_mm_hg":90,"pao2_mm_hg":90,"potassium_mmol_l":4,"respiratory_rate":16,"sodium_mmol_l":140,"temperature_c":37,"wbc_k_ul":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Knaus WA, Draper EA, Wagner DP, Zimmerman JE","doi":"10.1097/00003246-198510000-00009","id":"knaus-1985","pmid":"3928249","source":"Crit Care Med. 1985;13(10):818-829","title":"APACHE II: a severity of disease classification system"},"components":[{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"map_mm_hg","points":0,"present":false,"value":90},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"branch":"pao2_mm_hg","factor":"oxygenation","fio2":0.21,"points":0,"present":false,"value":90},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"sodium_mmol_l","points":0,"present":false,"value":140},{"factor":"potassium_mmol_l","points":0,"present":false,"value":4},{"acute_renal_failure":false,"factor":"creatinine_mg_dl","points":0,"present":false,"value":1},{"factor":"hematocrit_percent","points":0,"present":false,"value":40},{"factor":"wbc_k_ul","points":0,"present":false,"value":8},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"age","points":0,"present":false,"value":40},{"chronic_health":false,"elective_postop":false,"factor":"chronic_health","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":"apache_ii","formula_expression":"APACHE II = APS + age_points + chronic_health_points; APS is the sum of 12 Knaus 1985 Table 1 items (worst values in 24h as assigned by the caller): temperature_c, map_mm_hg, heart_rate, respiratory_rate, oxygenation (A-aDO2 if fio2 >= 0.5, PaO2 if fio2 < 0.5), arterial_ph, sodium_mmol_l, potassium_mmol_l, creatinine_mg_dl (doubled if acute_renal_failure), hematocrit_percent, wbc_k_ul, and 15-gcs; age <=44 → 0, 45-54 → 2, 55-64 → 3, 65-74 → 5, >=75 → 6; chronic health 0 if none, else +5 nonoperative or emergency postoperative or +2 elective postoperative; max 71","max_score":71,"score":0},{"citation":{"authors":"Knaus WA, Draper EA, Wagner DP, Zimmerman JE","doi":"10.1097/00003246-198510000-00009","id":"knaus-1985","pmid":"3928249","source":"Crit Care Med. 1985;13(10):818-829","title":"APACHE II: a severity of disease classification system"},"components":[{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"map_mm_hg","points":0,"present":false,"value":90},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"branch":"pao2_mm_hg","factor":"oxygenation","fio2":0.21,"points":0,"present":false,"value":90},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"sodium_mmol_l","points":0,"present":false,"value":140},{"factor":"potassium_mmol_l","points":0,"present":false,"value":4},{"acute_renal_failure":false,"factor":"creatinine_mg_dl","points":0,"present":false,"value":1},{"factor":"hematocrit_percent","points":0,"present":false,"value":40},{"factor":"wbc_k_ul","points":0,"present":false,"value":8},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"age","points":0,"present":false,"value":40},{"chronic_health":false,"elective_postop":false,"factor":"chronic_health","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":"apache_ii","formula_expression":"APACHE II = APS + age_points + chronic_health_points; APS is the sum of 12 Knaus 1985 Table 1 items (worst values in 24h as assigned by the caller): temperature_c, map_mm_hg, heart_rate, respiratory_rate, oxygenation (A-aDO2 if fio2 >= 0.5, PaO2 if fio2 < 0.5), arterial_ph, sodium_mmol_l, potassium_mmol_l, creatinine_mg_dl (doubled if acute_renal_failure), hematocrit_percent, wbc_k_ul, and 15-gcs; age <=44 → 0, 45-54 → 2, 55-64 → 3, 65-74 → 5, >=75 → 6; chronic health 0 if none, else +5 nonoperative or emergency postoperative or +2 elective postoperative; max 71","max_score":71,"score":0}],"path":"/api/calc/apache_ii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"aa_gradient":{"description":"A-aDO2 in mm Hg (0-800). Required when fio2 ≥ 0.5. ≥500 → 4; 350-499 → 3; 200-349 → 2; <200 → 0. Ignored when fio2 < 0.5. magent does not compute A-aDO2 from PaO2.","type":"number"},"acute_renal_failure":{"description":"true doubles the creatinine Table 1 points (Knaus 1985). false leaves creatinine points unchanged. magent does not diagnose renal failure.","type":"boolean"},"age":{"description":"Age in years, integer 16-120. ≤44 → 0; 45-54 → 2; 55-64 → 3; 65-74 → 5; ≥75 → 6.","type":"integer"},"arterial_ph":{"description":"Arterial pH (6.5-8.0). ≥7.70 → 4; 7.60-7.69 → 3; 7.50-7.59 → 1; 7.33-7.49 → 0; 7.25-7.32 → 2; 7.15-7.24 → 3; <7.15 → 4. Venous HCO3 substitution from Table 1 is not accepted.","type":"number"},"chronic_health":{"description":"true if the caller assigns severe organ insufficiency or immunocompromise as defined in Knaus 1985. false → 0 chronic-health points and elective_postop must be false.","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). ≥3.5 → 4; 2.0-3.4 → 3; 1.5-1.9 → 2; 0.6-1.4 → 0; <0.6 → 2. Double that row when acute_renal_failure is true.","type":"number"},"elective_postop":{"description":"true only for elective postoperative patients with chronic_health true (+2). false with chronic_health true is nonoperative or emergency postoperative (+5). Must be false when chronic_health is false.","type":"boolean"},"fio2":{"description":"Inspired oxygen as a fraction 0.21-1.00, not a percent. If fio2 ≥ 0.5, oxygenation uses aa_gradient. If fio2 < 0.5, oxygenation uses pao2_mm_hg. The unused gas parameter is ignored.","type":"number"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15). APS GCS points = 15 minus gcs. magent does not examine the patient.","type":"integer"},"heart_rate":{"description":"Heart rate, ventricular response, integer 20-250. ≥180 → 4; 140-179 → 3; 110-139 → 2; 70-109 → 0; 55-69 → 2; 40-54 → 3; ≤39 → 4.","type":"integer"},"hematocrit_percent":{"description":"Hematocrit percent (5-80). ≥60 → 4; 50-59.9 → 2; 46-49.9 → 1; 30-45.9 → 0; 20-29.9 → 2; <20 → 4.","type":"number"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (20-250). ≥160 → 4; 130-159 → 3; 110-129 → 2; 70-109 → 0; 50-69 → 2; ≤49 → 4. magent does not measure blood pressure.","type":"number"},"pao2_mm_hg":{"description":"Arterial PaO2 in mm Hg (20-700). Required when fio2 < 0.5. >70 → 0; 61-70 → 1; 55-60 → 3; <55 → 4. Ignored when fio2 ≥ 0.5.","type":"number"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1-12). ≥7.0 → 4; 6.0-6.9 → 3; 5.5-5.9 → 1; 3.5-5.4 → 0; 3.0-3.4 → 1; 2.5-2.9 → 2; <2.5 → 4.","type":"number"},"respiratory_rate":{"description":"Respiratory rate, non-ventilated or ventilated, integer 0-80. ≥50 → 4; 35-49 → 3; 25-34 → 1; 12-24 → 0; 10-11 → 1; 6-9 → 2; ≤5 → 4.","type":"integer"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (90-200). ≥180 → 4; 160-179 → 3; 155-159 → 2; 150-154 → 1; 130-149 → 0; 120-129 → 2; 111-119 → 3; ≤110 → 4.","type":"number"},"temperature_c":{"description":"Rectal temperature in °C (20-46) as assigned by the caller (Knaus 1985 Table 1). ≥41 → 4; 39-40.9 → 3; 38.5-38.9 → 1; 36-38.4 → 0; 34-35.9 → 1; 32-33.9 → 2; 30-31.9 → 3; ≤29.9 → 4. magent does not measure temperature or convert Fahrenheit.","type":"number"},"wbc_k_ul":{"description":"White blood count in thousands per mm^3 (0.1-100). ≥40 → 4; 20-39.9 → 2; 15-19.9 → 1; 3-14.9 → 0; 1-2.9 → 2; <1 → 4.","type":"number"}},"required":["temperature_c","map_mm_hg","heart_rate","respiratory_rate","fio2","arterial_ph","sodium_mmol_l","potassium_mmol_l","creatinine_mg_dl","hematocrit_percent","wbc_k_ul","gcs","age","chronic_health","elective_postop","acute_renal_failure"],"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":["apache-ii","icu","severity","physiology","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T23:01:32.672Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T23:01:32.491Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"aa_gradient":100,"acute_renal_failure":false,"age":40,"arterial_ph":7.4,"chronic_health":false,"creatinine_mg_dl":1,"elective_postop":false,"fio2":0.21,"gcs":15,"heart_rate":80,"hematocrit_percent":40,"map_mm_hg":90,"pao2_mm_hg":90,"potassium_mmol_l":4,"respiratory_rate":16,"sodium_mmol_l":140,"temperature_c":37,"wbc_k_ul":8},{"aa_gradient":100,"acute_renal_failure":false,"age":40,"arterial_ph":7.4,"chronic_health":false,"creatinine_mg_dl":1,"elective_postop":false,"fio2":0.21,"gcs":15,"heart_rate":80,"hematocrit_percent":40,"map_mm_hg":90,"pao2_mm_hg":90,"potassium_mmol_l":4,"respiratory_rate":16,"sodium_mmol_l":140,"temperature_c":37,"wbc_k_ul":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Knaus WA, Draper EA, Wagner DP, Zimmerman JE","doi":"10.1097/00003246-198510000-00009","id":"knaus-1985","pmid":"3928249","source":"Crit Care Med. 1985;13(10):818-829","title":"APACHE II: a severity of disease classification system"},"components":[{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"map_mm_hg","points":0,"present":false,"value":90},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"branch":"pao2_mm_hg","factor":"oxygenation","fio2":0.21,"points":0,"present":false,"value":90},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"sodium_mmol_l","points":0,"present":false,"value":140},{"factor":"potassium_mmol_l","points":0,"present":false,"value":4},{"acute_renal_failure":false,"factor":"creatinine_mg_dl","points":0,"present":false,"value":1},{"factor":"hematocrit_percent","points":0,"present":false,"value":40},{"factor":"wbc_k_ul","points":0,"present":false,"value":8},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"age","points":0,"present":false,"value":40},{"chronic_health":false,"elective_postop":false,"factor":"chronic_health","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":"apache_ii","formula_expression":"APACHE II = APS + age_points + chronic_health_points; APS is the sum of 12 Knaus 1985 Table 1 items (worst values in 24h as assigned by the caller): temperature_c, map_mm_hg, heart_rate, respiratory_rate, oxygenation (A-aDO2 if fio2 >= 0.5, PaO2 if fio2 < 0.5), arterial_ph, sodium_mmol_l, potassium_mmol_l, creatinine_mg_dl (doubled if acute_renal_failure), hematocrit_percent, wbc_k_ul, and 15-gcs; age <=44 → 0, 45-54 → 2, 55-64 → 3, 65-74 → 5, >=75 → 6; chronic health 0 if none, else +5 nonoperative or emergency postoperative or +2 elective postoperative; max 71","max_score":71,"score":0},{"citation":{"authors":"Knaus WA, Draper EA, Wagner DP, Zimmerman JE","doi":"10.1097/00003246-198510000-00009","id":"knaus-1985","pmid":"3928249","source":"Crit Care Med. 1985;13(10):818-829","title":"APACHE II: a severity of disease classification system"},"components":[{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"map_mm_hg","points":0,"present":false,"value":90},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"branch":"pao2_mm_hg","factor":"oxygenation","fio2":0.21,"points":0,"present":false,"value":90},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"sodium_mmol_l","points":0,"present":false,"value":140},{"factor":"potassium_mmol_l","points":0,"present":false,"value":4},{"acute_renal_failure":false,"factor":"creatinine_mg_dl","points":0,"present":false,"value":1},{"factor":"hematocrit_percent","points":0,"present":false,"value":40},{"factor":"wbc_k_ul","points":0,"present":false,"value":8},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"age","points":0,"present":false,"value":40},{"chronic_health":false,"elective_postop":false,"factor":"chronic_health","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":"apache_ii","formula_expression":"APACHE II = APS + age_points + chronic_health_points; APS is the sum of 12 Knaus 1985 Table 1 items (worst values in 24h as assigned by the caller): temperature_c, map_mm_hg, heart_rate, respiratory_rate, oxygenation (A-aDO2 if fio2 >= 0.5, PaO2 if fio2 < 0.5), arterial_ph, sodium_mmol_l, potassium_mmol_l, creatinine_mg_dl (doubled if acute_renal_failure), hematocrit_percent, wbc_k_ul, and 15-gcs; age <=44 → 0, 45-54 → 2, 55-64 → 3, 65-74 → 5, >=75 → 6; chronic health 0 if none, else +5 nonoperative or emergency postoperative or +2 elective postoperative; max 71","max_score":71,"score":0}],"path":"/api/calc/apache_ii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"aa_gradient":{"description":"A-aDO2 in mm Hg (0-800). Required when fio2 ≥ 0.5. ≥500 → 4; 350-499 → 3; 200-349 → 2; <200 → 0. Ignored when fio2 < 0.5. magent does not compute A-aDO2 from PaO2.","type":"number"},"acute_renal_failure":{"description":"true doubles the creatinine Table 1 points (Knaus 1985). false leaves creatinine points unchanged. magent does not diagnose renal failure.","type":"boolean"},"age":{"description":"Age in years, integer 16-120. ≤44 → 0; 45-54 → 2; 55-64 → 3; 65-74 → 5; ≥75 → 6.","type":"integer"},"arterial_ph":{"description":"Arterial pH (6.5-8.0). ≥7.70 → 4; 7.60-7.69 → 3; 7.50-7.59 → 1; 7.33-7.49 → 0; 7.25-7.32 → 2; 7.15-7.24 → 3; <7.15 → 4. Venous HCO3 substitution from Table 1 is not accepted.","type":"number"},"chronic_health":{"description":"true if the caller assigns severe organ insufficiency or immunocompromise as defined in Knaus 1985. false → 0 chronic-health points and elective_postop must be false.","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). ≥3.5 → 4; 2.0-3.4 → 3; 1.5-1.9 → 2; 0.6-1.4 → 0; <0.6 → 2. Double that row when acute_renal_failure is true.","type":"number"},"elective_postop":{"description":"true only for elective postoperative patients with chronic_health true (+2). false with chronic_health true is nonoperative or emergency postoperative (+5). Must be false when chronic_health is false.","type":"boolean"},"fio2":{"description":"Inspired oxygen as a fraction 0.21-1.00, not a percent. If fio2 ≥ 0.5, oxygenation uses aa_gradient. If fio2 < 0.5, oxygenation uses pao2_mm_hg. The unused gas parameter is ignored.","type":"number"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15). APS GCS points = 15 minus gcs. magent does not examine the patient.","type":"integer"},"heart_rate":{"description":"Heart rate, ventricular response, integer 20-250. ≥180 → 4; 140-179 → 3; 110-139 → 2; 70-109 → 0; 55-69 → 2; 40-54 → 3; ≤39 → 4.","type":"integer"},"hematocrit_percent":{"description":"Hematocrit percent (5-80). ≥60 → 4; 50-59.9 → 2; 46-49.9 → 1; 30-45.9 → 0; 20-29.9 → 2; <20 → 4.","type":"number"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (20-250). ≥160 → 4; 130-159 → 3; 110-129 → 2; 70-109 → 0; 50-69 → 2; ≤49 → 4. magent does not measure blood pressure.","type":"number"},"pao2_mm_hg":{"description":"Arterial PaO2 in mm Hg (20-700). Required when fio2 < 0.5. >70 → 0; 61-70 → 1; 55-60 → 3; <55 → 4. Ignored when fio2 ≥ 0.5.","type":"number"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1-12). ≥7.0 → 4; 6.0-6.9 → 3; 5.5-5.9 → 1; 3.5-5.4 → 0; 3.0-3.4 → 1; 2.5-2.9 → 2; <2.5 → 4.","type":"number"},"respiratory_rate":{"description":"Respiratory rate, non-ventilated or ventilated, integer 0-80. ≥50 → 4; 35-49 → 3; 25-34 → 1; 12-24 → 0; 10-11 → 1; 6-9 → 2; ≤5 → 4.","type":"integer"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (90-200). ≥180 → 4; 160-179 → 3; 155-159 → 2; 150-154 → 1; 130-149 → 0; 120-129 → 2; 111-119 → 3; ≤110 → 4.","type":"number"},"temperature_c":{"description":"Rectal temperature in °C (20-46) as assigned by the caller (Knaus 1985 Table 1). ≥41 → 4; 39-40.9 → 3; 38.5-38.9 → 1; 36-38.4 → 0; 34-35.9 → 1; 32-33.9 → 2; 30-31.9 → 3; ≤29.9 → 4. magent does not measure temperature or convert Fahrenheit.","type":"number"},"wbc_k_ul":{"description":"White blood count in thousands per mm^3 (0.1-100). ≥40 → 4; 20-39.9 → 2; 15-19.9 → 1; 3-14.9 → 0; 1-2.9 → 2; <1 → 4.","type":"number"}},"required":["temperature_c","map_mm_hg","heart_rate","respiratory_rate","fio2","arterial_ph","sodium_mmol_l","potassium_mmol_l","creatinine_mg_dl","hematocrit_percent","wbc_k_ul","gcs","age","chronic_health","elective_postop","acute_renal_failure"],"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},{"id":39336,"slug":"39336","resource":"https://api.magentlab.com/api/calc/akin","description":"AKIN 2007 (Mehta Table 2) stage 0-3 from baseline and current creatinine in mg/dL and a caller-assigned urine-output category. Stage is the worse of the two limbs; RRT is stage 3. magent does not assay creatinine, measure urine, or collect weight. Not a medical device, not a diagnosis, not KDIGO 2012, and not RIFLE.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"baseline_creatinine_mg_dl":1,"current_creatinine_mg_dl":1,"rrt":false,"urine_output":"none"},{"baseline_creatinine_mg_dl":1,"current_creatinine_mg_dl":1,"rrt":false,"urine_output":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Mehta RL, Kellum JA, Shah SV, et al","doi":"10.1186/cc5713","id":"mehta-2007","pmid":"17331245","source":"Crit Care. 2007;11(2):R31","title":"Acute Kidney Injury Network: report of an initiative to improve outcomes in acute kidney injury"},"components":[{"factor":"creat_stage","met":false,"value":0},{"factor":"uo_stage","met":false,"value":0}],"creat_stage":0,"current_creatinine_mg_dl":1,"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":"akin","formula_expression":"AKIN stage = max(creatinine_stage, urine_stage); RRT maps to stage 3. Creatinine vs baseline (unrounded mg/dL): stage 1 if increase ≥0.3 mg/dL or ratio 1.5–2.0; stage 2 if ratio >2.0 and ≤3.0; stage 3 if ratio >3.0 or (current ≥4.0 mg/dL and increase ≥0.5 mg/dL). Urine (caller-assigned): none → 0; oliguria_gt_6h → 1; oliguria_gt_12h → 2; oliguria_24h_or_anuria_12h → 3. Stage 0 if neither criterion and RRT is false (Mehta 2007 Table 2)","rrt":false,"stage":0,"uo_stage":0,"urine_output":"none"},{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Mehta RL, Kellum JA, Shah SV, et al","doi":"10.1186/cc5713","id":"mehta-2007","pmid":"17331245","source":"Crit Care. 2007;11(2):R31","title":"Acute Kidney Injury Network: report of an initiative to improve outcomes in acute kidney injury"},"components":[{"factor":"creat_stage","met":false,"value":0},{"factor":"uo_stage","met":false,"value":0}],"creat_stage":0,"current_creatinine_mg_dl":1,"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":"akin","formula_expression":"AKIN stage = max(creatinine_stage, urine_stage); RRT maps to stage 3. Creatinine vs baseline (unrounded mg/dL): stage 1 if increase ≥0.3 mg/dL or ratio 1.5–2.0; stage 2 if ratio >2.0 and ≤3.0; stage 3 if ratio >3.0 or (current ≥4.0 mg/dL and increase ≥0.5 mg/dL). Urine (caller-assigned): none → 0; oliguria_gt_6h → 1; oliguria_gt_12h → 2; oliguria_24h_or_anuria_12h → 3. Stage 0 if neither criterion and RRT is false (Mehta 2007 Table 2)","rrt":false,"stage":0,"uo_stage":0,"urine_output":"none"}],"path":"/api/calc/akin"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"baseline_creatinine_mg_dl":{"description":"Baseline serum creatinine in mg/dL (0.1-20). Staging uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"current_creatinine_mg_dl":{"description":"Current serum creatinine in mg/dL (0.1-20). Staging uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"rrt":{"description":"Renal replacement therapy initiated as assigned by the caller. true maps to AKIN stage 3 irrespective of creatinine or urine stage (Mehta 2007). true or false.","type":"boolean"},"urine_output":{"description":"Caller-assigned AKIN urine-output category (Mehta 2007 Table 2): none (no oliguria or anuria criterion); oliguria_gt_6h (<0.5 mL/kg/h for >6 hours); oliguria_gt_12h (<0.5 mL/kg/h for >12 hours); oliguria_24h_or_anuria_12h (<0.3 mL/kg/h for 24 hours or anuria for 12 hours). Case-insensitive. magent does not collect weight or measure urine.","enum":["none","oliguria_gt_6h","oliguria_gt_12h","oliguria_24h_or_anuria_12h"],"type":"string"}},"required":["baseline_creatinine_mg_dl","current_creatinine_mg_dl","urine_output","rrt"],"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":["akin","aki","kidney","creatinine","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T22:56:08.458Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T22:56:08.32Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"baseline_creatinine_mg_dl":1,"current_creatinine_mg_dl":1,"rrt":false,"urine_output":"none"},{"baseline_creatinine_mg_dl":1,"current_creatinine_mg_dl":1,"rrt":false,"urine_output":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Mehta RL, Kellum JA, Shah SV, et al","doi":"10.1186/cc5713","id":"mehta-2007","pmid":"17331245","source":"Crit Care. 2007;11(2):R31","title":"Acute Kidney Injury Network: report of an initiative to improve outcomes in acute kidney injury"},"components":[{"factor":"creat_stage","met":false,"value":0},{"factor":"uo_stage","met":false,"value":0}],"creat_stage":0,"current_creatinine_mg_dl":1,"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":"akin","formula_expression":"AKIN stage = max(creatinine_stage, urine_stage); RRT maps to stage 3. Creatinine vs baseline (unrounded mg/dL): stage 1 if increase ≥0.3 mg/dL or ratio 1.5–2.0; stage 2 if ratio >2.0 and ≤3.0; stage 3 if ratio >3.0 or (current ≥4.0 mg/dL and increase ≥0.5 mg/dL). Urine (caller-assigned): none → 0; oliguria_gt_6h → 1; oliguria_gt_12h → 2; oliguria_24h_or_anuria_12h → 3. Stage 0 if neither criterion and RRT is false (Mehta 2007 Table 2)","rrt":false,"stage":0,"uo_stage":0,"urine_output":"none"},{"baseline_creatinine_mg_dl":1,"citation":{"authors":"Mehta RL, Kellum JA, Shah SV, et al","doi":"10.1186/cc5713","id":"mehta-2007","pmid":"17331245","source":"Crit Care. 2007;11(2):R31","title":"Acute Kidney Injury Network: report of an initiative to improve outcomes in acute kidney injury"},"components":[{"factor":"creat_stage","met":false,"value":0},{"factor":"uo_stage","met":false,"value":0}],"creat_stage":0,"current_creatinine_mg_dl":1,"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":"akin","formula_expression":"AKIN stage = max(creatinine_stage, urine_stage); RRT maps to stage 3. Creatinine vs baseline (unrounded mg/dL): stage 1 if increase ≥0.3 mg/dL or ratio 1.5–2.0; stage 2 if ratio >2.0 and ≤3.0; stage 3 if ratio >3.0 or (current ≥4.0 mg/dL and increase ≥0.5 mg/dL). Urine (caller-assigned): none → 0; oliguria_gt_6h → 1; oliguria_gt_12h → 2; oliguria_24h_or_anuria_12h → 3. Stage 0 if neither criterion and RRT is false (Mehta 2007 Table 2)","rrt":false,"stage":0,"uo_stage":0,"urine_output":"none"}],"path":"/api/calc/akin"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"baseline_creatinine_mg_dl":{"description":"Baseline serum creatinine in mg/dL (0.1-20). Staging uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"current_creatinine_mg_dl":{"description":"Current serum creatinine in mg/dL (0.1-20). Staging uses the unrounded value. µmol/L is not accepted on this tool. magent does not assay creatinine.","type":"number"},"rrt":{"description":"Renal replacement therapy initiated as assigned by the caller. true maps to AKIN stage 3 irrespective of creatinine or urine stage (Mehta 2007). true or false.","type":"boolean"},"urine_output":{"description":"Caller-assigned AKIN urine-output category (Mehta 2007 Table 2): none (no oliguria or anuria criterion); oliguria_gt_6h (<0.5 mL/kg/h for >6 hours); oliguria_gt_12h (<0.5 mL/kg/h for >12 hours); oliguria_24h_or_anuria_12h (<0.3 mL/kg/h for 24 hours or anuria for 12 hours). Case-insensitive. magent does not collect weight or measure urine.","enum":["none","oliguria_gt_6h","oliguria_gt_12h","oliguria_24h_or_anuria_12h"],"type":"string"}},"required":["baseline_creatinine_mg_dl","current_creatinine_mg_dl","urine_output","rrt"],"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},{"id":39337,"slug":"39337","resource":"https://api.magentlab.com/api/calc/adrogue_madias","description":"Adrogué–Madias change in serum sodium after 1 L of infusate from TBW (child 0.6; adult male 0.6; adult female 0.5; elderly male 0.5; elderly female 0.45) and infusate Na plus K. Deterministic published arithmetic with citation; not a correction-rate order or infusion protocol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"infusate_k_mmol_l":0,"infusate_na_mmol_l":513,"pediatric":false,"sex":"female","sodium_mmol_l":110,"weight_kg":70,"weight_lb":154.3236},{"age":40,"infusate_k_mmol_l":0,"infusate_na_mmol_l":513,"pediatric":false,"sex":"female","sodium_mmol_l":110,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM200005253422107","id":"adrogue-madias-2000","source":"N Engl J Med. 2000;342(21):1581-1589","title":"Hyponatremia"},"delta_na_mmol_l":11.2,"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":"adrogue_madias","formula_expression":"delta_na_mmol_l = (infusate_na_mmol_l + infusate_k_mmol_l - sodium_mmol_l) / (tbw_l + 1); tbw_l = tbw_fraction * weight_kg","infusate_k_mmol_l":0,"infusate_na_mmol_l":513,"pediatric":false,"sex":"female","sodium_mmol_l":110,"tbw_fraction":0.5,"tbw_l":35,"weight_kg":70},{"age_years":40,"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM200005253422107","id":"adrogue-madias-2000","source":"N Engl J Med. 2000;342(21):1581-1589","title":"Hyponatremia"},"delta_na_mmol_l":11.2,"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":"adrogue_madias","formula_expression":"delta_na_mmol_l = (infusate_na_mmol_l + infusate_k_mmol_l - sodium_mmol_l) / (tbw_l + 1); tbw_l = tbw_fraction * weight_kg","infusate_k_mmol_l":0,"infusate_na_mmol_l":513,"pediatric":false,"sex":"female","sodium_mmol_l":110,"tbw_fraction":0.5,"tbw_l":35,"weight_kg":70}],"path":"/api/calc/adrogue_madias"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years. pediatric=false: integer 18-120; age ≥65 uses the elderly TBW fraction. pediatric=true: integer 0-17; TBW uses the child fraction 0.6.","type":"integer"},"infusate_k_mmol_l":{"description":"Potassium concentration of the same 1 L infusate in mmol/L (0-200). Omitted uses 0. Added to infusate sodium in the numerator.","type":"number"},"infusate_na_mmol_l":{"description":"Sodium concentration of 1 L of infusate in mmol/L (0-1000). Adrogué–Madias table examples: 5% dextrose 0; 0.9% NaCl 154; 3% NaCl 513.","type":"number"},"pediatric":{"description":"true uses the child TBW fraction 0.6. false uses adult or elderly fractions from sex and age. Required; magent does not infer child vs adult from age.","type":"boolean"},"sex":{"description":"Sex used for adult and elderly TBW fractions. Ignored for the TBW fraction when pediatric=true (child fraction 0.6).","enum":["female","male"],"type":"string"},"sodium_mmol_l":{"description":"Measured serum sodium in mmol/L. Range 90-190.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sodium_mmol_l","infusate_na_mmol_l","sex","age","pediatric"],"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":["adrogue-madias","sodium","electrolytes","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T22:56:07.779Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T22:56:07.547Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"infusate_k_mmol_l":0,"infusate_na_mmol_l":513,"pediatric":false,"sex":"female","sodium_mmol_l":110,"weight_kg":70,"weight_lb":154.3236},{"age":40,"infusate_k_mmol_l":0,"infusate_na_mmol_l":513,"pediatric":false,"sex":"female","sodium_mmol_l":110,"weight_kg":70,"weight_lb":154.3236}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM200005253422107","id":"adrogue-madias-2000","source":"N Engl J Med. 2000;342(21):1581-1589","title":"Hyponatremia"},"delta_na_mmol_l":11.2,"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":"adrogue_madias","formula_expression":"delta_na_mmol_l = (infusate_na_mmol_l + infusate_k_mmol_l - sodium_mmol_l) / (tbw_l + 1); tbw_l = tbw_fraction * weight_kg","infusate_k_mmol_l":0,"infusate_na_mmol_l":513,"pediatric":false,"sex":"female","sodium_mmol_l":110,"tbw_fraction":0.5,"tbw_l":35,"weight_kg":70},{"age_years":40,"citation":{"authors":"Adrogué HJ, Madias NE","doi":"10.1056/NEJM200005253422107","id":"adrogue-madias-2000","source":"N Engl J Med. 2000;342(21):1581-1589","title":"Hyponatremia"},"delta_na_mmol_l":11.2,"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":"adrogue_madias","formula_expression":"delta_na_mmol_l = (infusate_na_mmol_l + infusate_k_mmol_l - sodium_mmol_l) / (tbw_l + 1); tbw_l = tbw_fraction * weight_kg","infusate_k_mmol_l":0,"infusate_na_mmol_l":513,"pediatric":false,"sex":"female","sodium_mmol_l":110,"tbw_fraction":0.5,"tbw_l":35,"weight_kg":70}],"path":"/api/calc/adrogue_madias"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years. pediatric=false: integer 18-120; age ≥65 uses the elderly TBW fraction. pediatric=true: integer 0-17; TBW uses the child fraction 0.6.","type":"integer"},"infusate_k_mmol_l":{"description":"Potassium concentration of the same 1 L infusate in mmol/L (0-200). Omitted uses 0. Added to infusate sodium in the numerator.","type":"number"},"infusate_na_mmol_l":{"description":"Sodium concentration of 1 L of infusate in mmol/L (0-1000). Adrogué–Madias table examples: 5% dextrose 0; 0.9% NaCl 154; 3% NaCl 513.","type":"number"},"pediatric":{"description":"true uses the child TBW fraction 0.6. false uses adult or elderly fractions from sex and age. Required; magent does not infer child vs adult from age.","type":"boolean"},"sex":{"description":"Sex used for adult and elderly TBW fractions. Ignored for the TBW fraction when pediatric=true (child fraction 0.6).","enum":["female","male"],"type":"string"},"sodium_mmol_l":{"description":"Measured serum sodium in mmol/L. Range 90-190.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["sodium_mmol_l","infusate_na_mmol_l","sex","age","pediatric"],"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},{"id":39338,"slug":"39338","resource":"https://api.magentlab.com/api/calc/ada_diabetes","description":"Bang 2009 Table 2 development screening score for undiagnosed diabetes. Age (<40 → 0, 40–49 → 1, 50–59 → 2, ≥60 → 3); male 1; family history of diabetes 1; hypertension 1; BMI (≥40 extremely obese 3; 30–<40 obese 2; 25–<30 overweight 1; else 0); physically active −1. Returns score and high_risk (true iff score ≥ 5). BMI-only, no waist. Not Appendix ARIC/CHS, not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"bmi_kg_m2":22,"family_history_diabetes":false,"hypertension":false,"physically_active":true,"sex":"female"},{"age":40,"bmi_kg_m2":22,"family_history_diabetes":false,"hypertension":false,"physically_active":true,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"bmi_kg_m2":22,"citation":{"authors":"Bang H, Edwards AM, Bomback AS, Ballantyne CM, Brillon D, Callahan MA, Teutsch SM, Mushlin AI, Kern LM","doi":"10.7326/0003-4819-151-11-200912010-00005","id":"bang-2009","pmid":"19949143","source":"Ann Intern Med. 2009;151(11):775-783","title":"Development and validation of a patient self-assessment score for diabetes risk"},"components":[{"factor":"age","points":1,"present":true,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"family_history_diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"bmi","points":0,"present":true,"value":22},{"factor":"physically_active","points":-1,"present":true}],"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":"ada_diabetes","formula_expression":"score = age + sex + family_history_diabetes + hypertension + obesity + physically_active; age <40 -> 0, 40-49 -> 1, 50-59 -> 2, >=60 -> 3; female 0, male 1; family history yes 1; hypertension yes 1; BMI >=40 -> 3, 30 <= BMI < 40 -> 2, 25 <= BMI < 30 -> 1, else 0; physically_active yes -> -1; high_risk iff score>=5; Bang 2009 Table 2 development scores","high_risk":false,"max_score":9,"score":0,"sex":"female"},{"age_years":40,"bmi_kg_m2":22,"citation":{"authors":"Bang H, Edwards AM, Bomback AS, Ballantyne CM, Brillon D, Callahan MA, Teutsch SM, Mushlin AI, Kern LM","doi":"10.7326/0003-4819-151-11-200912010-00005","id":"bang-2009","pmid":"19949143","source":"Ann Intern Med. 2009;151(11):775-783","title":"Development and validation of a patient self-assessment score for diabetes risk"},"components":[{"factor":"age","points":1,"present":true,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"family_history_diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"bmi","points":0,"present":true,"value":22},{"factor":"physically_active","points":-1,"present":true}],"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":"ada_diabetes","formula_expression":"score = age + sex + family_history_diabetes + hypertension + obesity + physically_active; age <40 -> 0, 40-49 -> 1, 50-59 -> 2, >=60 -> 3; female 0, male 1; family history yes 1; hypertension yes 1; BMI >=40 -> 3, 30 <= BMI < 40 -> 2, 25 <= BMI < 30 -> 1, else 0; physically_active yes -> -1; high_risk iff score>=5; Bang 2009 Table 2 development scores","high_risk":false,"max_score":9,"score":0,"sex":"female"}],"path":"/api/calc/ada_diabetes"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (20-120). Bang 2009 Table 2: <40 scores 0; 40-49 scores 1; 50-59 scores 2; ≥60 scores 3. Age 40 and 49 score 1; 50 and 59 score 2; 60 scores 3.","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Bang 2009 Table 2 obesity from BMI only (no waist): ≥40 extremely obese scores 3; 30 ≤ BMI < 40 obese scores 2; 25 ≤ BMI < 30 overweight scores 1; else 0. 25.0 scores 1; 30.0 scores 2; 40.0 scores 3.","type":"number"},"family_history_diabetes":{"description":"Family history of diabetes (Bang 2009 Table 2). true scores 1; false scores 0.","type":"boolean"},"hypertension":{"description":"History of hypertension (Bang 2009 Table 2). true scores 1; false scores 0. magent does not read a medication list or measure blood pressure.","type":"boolean"},"physically_active":{"description":"Physically active (Bang 2009 Table 2). true scores −1; false scores 0. The total may be −1.","type":"boolean"},"sex":{"description":"female or male. Bang 2009 Table 2: female scores 0; male scores 1.","enum":["female","male"],"type":"string"}},"required":["age","sex","bmi_kg_m2","family_history_diabetes","hypertension","physically_active"],"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":["ada-diabetes","diabetes-risk","glucose","calculator","bang-2009","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T22:56:06.523Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T22:56:06.37Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"bmi_kg_m2":22,"family_history_diabetes":false,"hypertension":false,"physically_active":true,"sex":"female"},{"age":40,"bmi_kg_m2":22,"family_history_diabetes":false,"hypertension":false,"physically_active":true,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"bmi_kg_m2":22,"citation":{"authors":"Bang H, Edwards AM, Bomback AS, Ballantyne CM, Brillon D, Callahan MA, Teutsch SM, Mushlin AI, Kern LM","doi":"10.7326/0003-4819-151-11-200912010-00005","id":"bang-2009","pmid":"19949143","source":"Ann Intern Med. 2009;151(11):775-783","title":"Development and validation of a patient self-assessment score for diabetes risk"},"components":[{"factor":"age","points":1,"present":true,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"family_history_diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"bmi","points":0,"present":true,"value":22},{"factor":"physically_active","points":-1,"present":true}],"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":"ada_diabetes","formula_expression":"score = age + sex + family_history_diabetes + hypertension + obesity + physically_active; age <40 -> 0, 40-49 -> 1, 50-59 -> 2, >=60 -> 3; female 0, male 1; family history yes 1; hypertension yes 1; BMI >=40 -> 3, 30 <= BMI < 40 -> 2, 25 <= BMI < 30 -> 1, else 0; physically_active yes -> -1; high_risk iff score>=5; Bang 2009 Table 2 development scores","high_risk":false,"max_score":9,"score":0,"sex":"female"},{"age_years":40,"bmi_kg_m2":22,"citation":{"authors":"Bang H, Edwards AM, Bomback AS, Ballantyne CM, Brillon D, Callahan MA, Teutsch SM, Mushlin AI, Kern LM","doi":"10.7326/0003-4819-151-11-200912010-00005","id":"bang-2009","pmid":"19949143","source":"Ann Intern Med. 2009;151(11):775-783","title":"Development and validation of a patient self-assessment score for diabetes risk"},"components":[{"factor":"age","points":1,"present":true,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"family_history_diabetes","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"bmi","points":0,"present":true,"value":22},{"factor":"physically_active","points":-1,"present":true}],"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":"ada_diabetes","formula_expression":"score = age + sex + family_history_diabetes + hypertension + obesity + physically_active; age <40 -> 0, 40-49 -> 1, 50-59 -> 2, >=60 -> 3; female 0, male 1; family history yes 1; hypertension yes 1; BMI >=40 -> 3, 30 <= BMI < 40 -> 2, 25 <= BMI < 30 -> 1, else 0; physically_active yes -> -1; high_risk iff score>=5; Bang 2009 Table 2 development scores","high_risk":false,"max_score":9,"score":0,"sex":"female"}],"path":"/api/calc/ada_diabetes"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (20-120). Bang 2009 Table 2: <40 scores 0; 40-49 scores 1; 50-59 scores 2; ≥60 scores 3. Age 40 and 49 score 1; 50 and 59 score 2; 60 scores 3.","type":"integer"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Bang 2009 Table 2 obesity from BMI only (no waist): ≥40 extremely obese scores 3; 30 ≤ BMI < 40 obese scores 2; 25 ≤ BMI < 30 overweight scores 1; else 0. 25.0 scores 1; 30.0 scores 2; 40.0 scores 3.","type":"number"},"family_history_diabetes":{"description":"Family history of diabetes (Bang 2009 Table 2). true scores 1; false scores 0.","type":"boolean"},"hypertension":{"description":"History of hypertension (Bang 2009 Table 2). true scores 1; false scores 0. magent does not read a medication list or measure blood pressure.","type":"boolean"},"physically_active":{"description":"Physically active (Bang 2009 Table 2). true scores −1; false scores 0. The total may be −1.","type":"boolean"},"sex":{"description":"female or male. Bang 2009 Table 2: female scores 0; male scores 1.","enum":["female","male"],"type":"string"}},"required":["age","sex","bmi_kg_m2","family_history_diabetes","hypertension","physically_active"],"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},{"id":39339,"slug":"39339","resource":"https://api.magentlab.com/api/calc/abg","description":"Berend 2014 physiological acid-base assessment. Labels acidemia or alkalemia, primary metabolic vs respiratory process, anion gap (Na-Cl-HCO3), optional albumin-corrected gap, and printed delta-delta. Not a diagnosis, ventilator order, bicarbonate dose, or blood-gas assay.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":4,"bicarbonate_mmol_l":18,"chloride_mmol_l":115,"lactate_mmol_l":2,"paco2_mm_hg":39,"ph":7.28,"sodium_mmol_l":135},{"albumin_g_dl":4,"bicarbonate_mmol_l":18,"chloride_mmol_l":115,"lactate_mmol_l":2,"paco2_mm_hg":39,"ph":7.28,"sodium_mmol_l":135}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anion_gap_class":"normal","anion_gap_mmol_l":2,"bicarbonate_mmol_l":18,"chloride_mmol_l":115,"citation":{"authors":"Berend K, de Vries APJ, Gans ROB","doi":"10.1056/NEJMra1003327","id":"berend-2014-acid-base","pmid":"25295502","source":"N Engl J Med. 2014;371:1434-1445","title":"Physiological Approach to Assessment of Acid-Base Disturbances"},"criteria":[{"factor":"acidemia","met":true,"value":7.28},{"factor":"alkalemia","met":false,"value":7.28},{"factor":"metabolic_acidosis","met":true,"value":18},{"factor":"metabolic_alkalosis","met":false,"value":18},{"factor":"respiratory_acidosis","met":false,"value":39},{"factor":"respiratory_alkalosis","met":false,"value":39},{"factor":"high_anion_gap","met":false,"value":2},{"factor":"normal_anion_gap","met":true,"value":2}],"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.","disorders":["acidemia","metabolic acidosis","normal anion-gap acidosis","additional respiratory acidosis"],"expected_paco2_high_mm_hg":37,"expected_paco2_low_mm_hg":33,"expected_paco2_mm_hg":35,"formula":"abg","formula_expression":"Berend 2014: acidemia if pH<7.38; alkalemia if pH>7.42; metabolic acidosis if pH<7.38 and HCO3<22; metabolic alkalosis if pH>7.42 and HCO3>26; respiratory acidosis if pH<7.38 and PaCO2>42; respiratory alkalosis if pH>7.42 and PaCO2<38; anion_gap=Na-Cl-HCO3 (high if >12); albumin-corrected AG=AG+2.5*(4.0-albumin) when albumin<4.0 g/dL; metabolic acidosis expected PaCO2=1.5*HCO3+8±2; metabolic alkalosis expected PaCO2=0.7*(HCO3-24)+40±2; acute respiratory acidosis HCO3 +1 per 10 mm Hg PaCO2 above 40; chronic +4 to +5; acute respiratory alkalosis HCO3 -2 per 10 mm Hg PaCO2 below 40; chronic -4 to -5; ketoacidosis delta-delta=ΔAG-ΔHCO3; lactic delta-delta=0.6*ΔAG-ΔHCO3 (simple if -5 to 5)","paco2_mm_hg":39,"ph":7.28,"ph_status":"acidemia","primary_process":"metabolic acidosis","secondary_response":"additional respiratory acidosis","sodium_mmol_l":135},{"anion_gap_class":"normal","anion_gap_mmol_l":2,"bicarbonate_mmol_l":18,"chloride_mmol_l":115,"citation":{"authors":"Berend K, de Vries APJ, Gans ROB","doi":"10.1056/NEJMra1003327","id":"berend-2014-acid-base","pmid":"25295502","source":"N Engl J Med. 2014;371:1434-1445","title":"Physiological Approach to Assessment of Acid-Base Disturbances"},"criteria":[{"factor":"acidemia","met":true,"value":7.28},{"factor":"alkalemia","met":false,"value":7.28},{"factor":"metabolic_acidosis","met":true,"value":18},{"factor":"metabolic_alkalosis","met":false,"value":18},{"factor":"respiratory_acidosis","met":false,"value":39},{"factor":"respiratory_alkalosis","met":false,"value":39},{"factor":"high_anion_gap","met":false,"value":2},{"factor":"normal_anion_gap","met":true,"value":2}],"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.","disorders":["acidemia","metabolic acidosis","normal anion-gap acidosis","additional respiratory acidosis"],"expected_paco2_high_mm_hg":37,"expected_paco2_low_mm_hg":33,"expected_paco2_mm_hg":35,"formula":"abg","formula_expression":"Berend 2014: acidemia if pH<7.38; alkalemia if pH>7.42; metabolic acidosis if pH<7.38 and HCO3<22; metabolic alkalosis if pH>7.42 and HCO3>26; respiratory acidosis if pH<7.38 and PaCO2>42; respiratory alkalosis if pH>7.42 and PaCO2<38; anion_gap=Na-Cl-HCO3 (high if >12); albumin-corrected AG=AG+2.5*(4.0-albumin) when albumin<4.0 g/dL; metabolic acidosis expected PaCO2=1.5*HCO3+8±2; metabolic alkalosis expected PaCO2=0.7*(HCO3-24)+40±2; acute respiratory acidosis HCO3 +1 per 10 mm Hg PaCO2 above 40; chronic +4 to +5; acute respiratory alkalosis HCO3 -2 per 10 mm Hg PaCO2 below 40; chronic -4 to -5; ketoacidosis delta-delta=ΔAG-ΔHCO3; lactic delta-delta=0.6*ΔAG-ΔHCO3 (simple if -5 to 5)","paco2_mm_hg":39,"ph":7.28,"ph_status":"acidemia","primary_process":"metabolic acidosis","secondary_response":"additional respiratory acidosis","sodium_mmol_l":135}],"path":"/api/calc/abg"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). When supplied and below 4.0 g/dL, anion gap is increased by 2.5 mmol/L per 1 g/dL decrease (Figure 1). Omitted skips the correction.","type":"number"},"bicarbonate_mmol_l":{"description":"Plasma bicarbonate in mmol/L (2-55). Metabolic acidosis if pH<7.38 and HCO3<22; metabolic alkalosis if pH>7.42 and HCO3>26.","type":"number"},"chloride_mmol_l":{"description":"Serum chloride in mmol/L (70-130). Used for anion gap Na-Cl-HCO3.","type":"number"},"lactate_mmol_l":{"description":"Serum lactate in mmol/L (0-30) when supplied. Echoed only; magent does not pick keto vs lactic delta-delta from lactate. Both printed equations are returned when the anion gap is high.","type":"number"},"paco2_mm_hg":{"description":"Arterial PaCO2 in mm Hg (8-120). Respiratory acidosis if pH<7.38 and PaCO2>42; respiratory alkalosis if pH>7.42 and PaCO2<38.","type":"number"},"ph":{"description":"Arterial pH (6.80-7.80). Acidemia if pH<7.38; alkalemia if pH>7.42 (Berend 2014 Table 1).","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). Used for anion gap Na-Cl-HCO3.","type":"number"}},"required":["ph","paco2_mm_hg","bicarbonate_mmol_l","sodium_mmol_l","chloride_mmol_l"],"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":["abg","acid-base","berend","electrolytes","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T22:51:12.611Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T22:51:12.362Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":4,"bicarbonate_mmol_l":18,"chloride_mmol_l":115,"lactate_mmol_l":2,"paco2_mm_hg":39,"ph":7.28,"sodium_mmol_l":135},{"albumin_g_dl":4,"bicarbonate_mmol_l":18,"chloride_mmol_l":115,"lactate_mmol_l":2,"paco2_mm_hg":39,"ph":7.28,"sodium_mmol_l":135}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anion_gap_class":"normal","anion_gap_mmol_l":2,"bicarbonate_mmol_l":18,"chloride_mmol_l":115,"citation":{"authors":"Berend K, de Vries APJ, Gans ROB","doi":"10.1056/NEJMra1003327","id":"berend-2014-acid-base","pmid":"25295502","source":"N Engl J Med. 2014;371:1434-1445","title":"Physiological Approach to Assessment of Acid-Base Disturbances"},"criteria":[{"factor":"acidemia","met":true,"value":7.28},{"factor":"alkalemia","met":false,"value":7.28},{"factor":"metabolic_acidosis","met":true,"value":18},{"factor":"metabolic_alkalosis","met":false,"value":18},{"factor":"respiratory_acidosis","met":false,"value":39},{"factor":"respiratory_alkalosis","met":false,"value":39},{"factor":"high_anion_gap","met":false,"value":2},{"factor":"normal_anion_gap","met":true,"value":2}],"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.","disorders":["acidemia","metabolic acidosis","normal anion-gap acidosis","additional respiratory acidosis"],"expected_paco2_high_mm_hg":37,"expected_paco2_low_mm_hg":33,"expected_paco2_mm_hg":35,"formula":"abg","formula_expression":"Berend 2014: acidemia if pH<7.38; alkalemia if pH>7.42; metabolic acidosis if pH<7.38 and HCO3<22; metabolic alkalosis if pH>7.42 and HCO3>26; respiratory acidosis if pH<7.38 and PaCO2>42; respiratory alkalosis if pH>7.42 and PaCO2<38; anion_gap=Na-Cl-HCO3 (high if >12); albumin-corrected AG=AG+2.5*(4.0-albumin) when albumin<4.0 g/dL; metabolic acidosis expected PaCO2=1.5*HCO3+8±2; metabolic alkalosis expected PaCO2=0.7*(HCO3-24)+40±2; acute respiratory acidosis HCO3 +1 per 10 mm Hg PaCO2 above 40; chronic +4 to +5; acute respiratory alkalosis HCO3 -2 per 10 mm Hg PaCO2 below 40; chronic -4 to -5; ketoacidosis delta-delta=ΔAG-ΔHCO3; lactic delta-delta=0.6*ΔAG-ΔHCO3 (simple if -5 to 5)","paco2_mm_hg":39,"ph":7.28,"ph_status":"acidemia","primary_process":"metabolic acidosis","secondary_response":"additional respiratory acidosis","sodium_mmol_l":135},{"anion_gap_class":"normal","anion_gap_mmol_l":2,"bicarbonate_mmol_l":18,"chloride_mmol_l":115,"citation":{"authors":"Berend K, de Vries APJ, Gans ROB","doi":"10.1056/NEJMra1003327","id":"berend-2014-acid-base","pmid":"25295502","source":"N Engl J Med. 2014;371:1434-1445","title":"Physiological Approach to Assessment of Acid-Base Disturbances"},"criteria":[{"factor":"acidemia","met":true,"value":7.28},{"factor":"alkalemia","met":false,"value":7.28},{"factor":"metabolic_acidosis","met":true,"value":18},{"factor":"metabolic_alkalosis","met":false,"value":18},{"factor":"respiratory_acidosis","met":false,"value":39},{"factor":"respiratory_alkalosis","met":false,"value":39},{"factor":"high_anion_gap","met":false,"value":2},{"factor":"normal_anion_gap","met":true,"value":2}],"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.","disorders":["acidemia","metabolic acidosis","normal anion-gap acidosis","additional respiratory acidosis"],"expected_paco2_high_mm_hg":37,"expected_paco2_low_mm_hg":33,"expected_paco2_mm_hg":35,"formula":"abg","formula_expression":"Berend 2014: acidemia if pH<7.38; alkalemia if pH>7.42; metabolic acidosis if pH<7.38 and HCO3<22; metabolic alkalosis if pH>7.42 and HCO3>26; respiratory acidosis if pH<7.38 and PaCO2>42; respiratory alkalosis if pH>7.42 and PaCO2<38; anion_gap=Na-Cl-HCO3 (high if >12); albumin-corrected AG=AG+2.5*(4.0-albumin) when albumin<4.0 g/dL; metabolic acidosis expected PaCO2=1.5*HCO3+8±2; metabolic alkalosis expected PaCO2=0.7*(HCO3-24)+40±2; acute respiratory acidosis HCO3 +1 per 10 mm Hg PaCO2 above 40; chronic +4 to +5; acute respiratory alkalosis HCO3 -2 per 10 mm Hg PaCO2 below 40; chronic -4 to -5; ketoacidosis delta-delta=ΔAG-ΔHCO3; lactic delta-delta=0.6*ΔAG-ΔHCO3 (simple if -5 to 5)","paco2_mm_hg":39,"ph":7.28,"ph_status":"acidemia","primary_process":"metabolic acidosis","secondary_response":"additional respiratory acidosis","sodium_mmol_l":135}],"path":"/api/calc/abg"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). When supplied and below 4.0 g/dL, anion gap is increased by 2.5 mmol/L per 1 g/dL decrease (Figure 1). Omitted skips the correction.","type":"number"},"bicarbonate_mmol_l":{"description":"Plasma bicarbonate in mmol/L (2-55). Metabolic acidosis if pH<7.38 and HCO3<22; metabolic alkalosis if pH>7.42 and HCO3>26.","type":"number"},"chloride_mmol_l":{"description":"Serum chloride in mmol/L (70-130). Used for anion gap Na-Cl-HCO3.","type":"number"},"lactate_mmol_l":{"description":"Serum lactate in mmol/L (0-30) when supplied. Echoed only; magent does not pick keto vs lactic delta-delta from lactate. Both printed equations are returned when the anion gap is high.","type":"number"},"paco2_mm_hg":{"description":"Arterial PaCO2 in mm Hg (8-120). Respiratory acidosis if pH<7.38 and PaCO2>42; respiratory alkalosis if pH>7.42 and PaCO2<38.","type":"number"},"ph":{"description":"Arterial pH (6.80-7.80). Acidemia if pH<7.38; alkalemia if pH>7.42 (Berend 2014 Table 1).","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). Used for anion gap Na-Cl-HCO3.","type":"number"}},"required":["ph","paco2_mm_hg","bicarbonate_mmol_l","sodium_mmol_l","chloride_mmol_l"],"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},{"id":39340,"slug":"39340","resource":"https://api.magentlab.com/api/calc/6mwd","description":"Enright 1998 predicted six-minute walk distance (meters) from sex, age 40-80, height_cm, and weight_kg (Table 3 height/weight: male 7.57H−5.02age−1.76W−309; female 2.11H−2.29W−5.78age+667). Reports predicted_m and lln_m (minus 153 m men or 139 m women). Optional walked_m (0-1500) yields percent_predicted. Not a timed walk, BMI-equation path, or 80%/400 m class. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"height_cm":170,"height_in":66.9291,"sex":"male","walked_m":400,"weight_kg":70,"weight_lb":154.324},{"age":50,"height_cm":170,"height_in":66.9291,"sex":"male","walked_m":400,"weight_kg":70,"weight_lb":154.324}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Enright PL, Sherrill DL","doi":"10.1164/ajrccm.158.5.9710086","id":"enright-1998","pmid":"9817683","source":"Am J Respir Crit Care Med. 1998;158(5 Pt 1):1384-1387","title":"Reference equations for the six-minute walk in healthy adults"},"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":"enright_1998","formula_expression":"male: 6MWD_m = 7.57 × height_cm − 5.02 × age − 1.76 × weight_kg − 309; female: 6MWD_m = 2.11 × height_cm − 2.29 × weight_kg − 5.78 × age + 667; LLN_m = predicted_m − 153 (male) or predicted_m − 139 (female)","height_cm":170,"lln_m":450.7,"predicted_m":603.7,"sex":"male","weight_kg":70},{"age_years":50,"citation":{"authors":"Enright PL, Sherrill DL","doi":"10.1164/ajrccm.158.5.9710086","id":"enright-1998","pmid":"9817683","source":"Am J Respir Crit Care Med. 1998;158(5 Pt 1):1384-1387","title":"Reference equations for the six-minute walk in healthy adults"},"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":"enright_1998","formula_expression":"male: 6MWD_m = 7.57 × height_cm − 5.02 × age − 1.76 × weight_kg − 309; female: 6MWD_m = 2.11 × height_cm − 2.29 × weight_kg − 5.78 × age + 667; LLN_m = predicted_m − 153 (male) or predicted_m − 139 (female)","height_cm":170,"lln_m":450.7,"predicted_m":603.7,"sex":"male","weight_kg":70}],"path":"/api/calc/6mwd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 40-80). Enright 1998 derivation range.","type":"integer"},"height_cm":{"description":"Height in centimeters (50-250). Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches (20-98). Converted as cm = in × 2.54.","type":"number"},"sex":{"description":"Sex used by Enright 1998 Table 3 (separate male and female height/weight equations).","enum":["female","male"],"type":"string"},"walked_m":{"description":"Optional distance walked in meters (0-1500). When present, percent_predicted = walked_m / predicted_m × 100. magent does not time the walk.","type":"number"},"weight_kg":{"description":"Weight in kilograms (1-500). Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds (2-1100). Converted as kg = lb × 0.45359237.","type":"number"}},"required":["sex","age"],"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":["6mwd","six-minute-walk","respiratory","enright","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T22:51:11.503Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T22:51:11.378Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"height_cm":170,"height_in":66.9291,"sex":"male","walked_m":400,"weight_kg":70,"weight_lb":154.324},{"age":50,"height_cm":170,"height_in":66.9291,"sex":"male","walked_m":400,"weight_kg":70,"weight_lb":154.324}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Enright PL, Sherrill DL","doi":"10.1164/ajrccm.158.5.9710086","id":"enright-1998","pmid":"9817683","source":"Am J Respir Crit Care Med. 1998;158(5 Pt 1):1384-1387","title":"Reference equations for the six-minute walk in healthy adults"},"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":"enright_1998","formula_expression":"male: 6MWD_m = 7.57 × height_cm − 5.02 × age − 1.76 × weight_kg − 309; female: 6MWD_m = 2.11 × height_cm − 2.29 × weight_kg − 5.78 × age + 667; LLN_m = predicted_m − 153 (male) or predicted_m − 139 (female)","height_cm":170,"lln_m":450.7,"predicted_m":603.7,"sex":"male","weight_kg":70},{"age_years":50,"citation":{"authors":"Enright PL, Sherrill DL","doi":"10.1164/ajrccm.158.5.9710086","id":"enright-1998","pmid":"9817683","source":"Am J Respir Crit Care Med. 1998;158(5 Pt 1):1384-1387","title":"Reference equations for the six-minute walk in healthy adults"},"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":"enright_1998","formula_expression":"male: 6MWD_m = 7.57 × height_cm − 5.02 × age − 1.76 × weight_kg − 309; female: 6MWD_m = 2.11 × height_cm − 2.29 × weight_kg − 5.78 × age + 667; LLN_m = predicted_m − 153 (male) or predicted_m − 139 (female)","height_cm":170,"lln_m":450.7,"predicted_m":603.7,"sex":"male","weight_kg":70}],"path":"/api/calc/6mwd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 40-80). Enright 1998 derivation range.","type":"integer"},"height_cm":{"description":"Height in centimeters (50-250). Provide height_cm or height_in.","type":"number"},"height_in":{"description":"Height in inches (20-98). Converted as cm = in × 2.54.","type":"number"},"sex":{"description":"Sex used by Enright 1998 Table 3 (separate male and female height/weight equations).","enum":["female","male"],"type":"string"},"walked_m":{"description":"Optional distance walked in meters (0-1500). When present, percent_predicted = walked_m / predicted_m × 100. magent does not time the walk.","type":"number"},"weight_kg":{"description":"Weight in kilograms (1-500). Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds (2-1100). Converted as kg = lb × 0.45359237.","type":"number"}},"required":["sex","age"],"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},{"id":39341,"slug":"39341","resource":"https://api.magentlab.com/api/calc/4peps","description":"Roy 2021 4PEPS Table 3: age <50 −2, 50–64 −1, ≥65 0; chronic respiratory disease −1; HR <80 −1; chest pain and acute dyspnea +1; male +2; estrogen treatment +2; prior VTE +2; syncope +2; 4-week immobility +2; SpO2 <95% +3; calf pain or unilateral edema +3; PE most likely +5. Max 22. Bands: very_low <0, low 0–5, moderate 6–12, high ≥13. Not imaging or D-dimer. magent does not examine the patient or decide PE most likely.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"calf_pain_or_unilateral_edema":false,"chest_pain_and_acute_dyspnea":false,"chronic_respiratory_disease":false,"heart_rate_bpm":90,"hormonal_estrogenic_treatment":false,"immobility_4w":false,"pe_most_likely":false,"personal_history_vte":false,"sex":"female","spo2_percent":98,"syncope":false},{"age":40,"calf_pain_or_unilateral_edema":false,"chest_pain_and_acute_dyspnea":false,"chronic_respiratory_disease":false,"heart_rate_bpm":90,"hormonal_estrogenic_treatment":false,"immobility_4w":false,"pe_most_likely":false,"personal_history_vte":false,"sex":"female","spo2_percent":98,"syncope":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Roy PM, Friou E, Germeau B, et al.","doi":"10.1001/jamacardio.2021.0064","id":"roy-2021","pmid":"33656522","source":"JAMA Cardiol. 2021;6(6):669-677","title":"Derivation and Validation of a 4-Level Clinical Pretest Probability Score for Suspected Pulmonary Embolism to Safely Decrease Imaging Testing"},"components":[{"factor":"age","points":-2,"present":true,"value":40},{"factor":"chronic_respiratory_disease","points":0,"present":false},{"factor":"heart_rate_bpm","points":0,"present":false,"value":90},{"factor":"chest_pain_and_acute_dyspnea","points":0,"present":false},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"hormonal_estrogenic_treatment","points":0,"present":false},{"factor":"personal_history_vte","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"immobility_4w","points":0,"present":false},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"calf_pain_or_unilateral_edema","points":0,"present":false},{"factor":"pe_most_likely","points":0,"present":false}],"cpp":"very_low","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":"4peps","formula_expression":"4PEPS = age (<50 -2, 50-64 -1, ≥65 0) + chronic_respiratory_disease (-1) + heart_rate_bpm (<80 -1) + chest_pain_and_acute_dyspnea (1) + male (2) + hormonal_estrogenic_treatment (2) + personal_history_vte (2) + syncope (2) + immobility_4w (2) + spo2_percent (<95 3) + calf_pain_or_unilateral_edema (3) + pe_most_likely (5); Roy 2021 Table 3; cpp very_low <0, low 0-5, moderate 6-12, high ≥13; max 22 (age ≥65 plus all positive items; score may be negative)","max_score":22,"score":-2},{"citation":{"authors":"Roy PM, Friou E, Germeau B, et al.","doi":"10.1001/jamacardio.2021.0064","id":"roy-2021","pmid":"33656522","source":"JAMA Cardiol. 2021;6(6):669-677","title":"Derivation and Validation of a 4-Level Clinical Pretest Probability Score for Suspected Pulmonary Embolism to Safely Decrease Imaging Testing"},"components":[{"factor":"age","points":-2,"present":true,"value":40},{"factor":"chronic_respiratory_disease","points":0,"present":false},{"factor":"heart_rate_bpm","points":0,"present":false,"value":90},{"factor":"chest_pain_and_acute_dyspnea","points":0,"present":false},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"hormonal_estrogenic_treatment","points":0,"present":false},{"factor":"personal_history_vte","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"immobility_4w","points":0,"present":false},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"calf_pain_or_unilateral_edema","points":0,"present":false},{"factor":"pe_most_likely","points":0,"present":false}],"cpp":"very_low","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":"4peps","formula_expression":"4PEPS = age (<50 -2, 50-64 -1, ≥65 0) + chronic_respiratory_disease (-1) + heart_rate_bpm (<80 -1) + chest_pain_and_acute_dyspnea (1) + male (2) + hormonal_estrogenic_treatment (2) + personal_history_vte (2) + syncope (2) + immobility_4w (2) + spo2_percent (<95 3) + calf_pain_or_unilateral_edema (3) + pe_most_likely (5); Roy 2021 Table 3; cpp very_low <0, low 0-5, moderate 6-12, high ≥13; max 22 (age ≥65 plus all positive items; score may be negative)","max_score":22,"score":-2}],"path":"/api/calc/4peps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Roy 2021 Table 3: <50 scores −2; 50-64 scores −1; ≥65 scores 0 (65-80 and >80 were not independently associated).","type":"integer"},"calf_pain_or_unilateral_edema":{"description":"Calf pain and/or unilateral lower-limb edema as assigned by the caller (Roy 2021 Table 3). true scores +3. magent does not examine the patient.","type":"boolean"},"chest_pain_and_acute_dyspnea":{"description":"Both chest pain and acute dyspnea present as assigned by the caller (Roy 2021 Table 3). true scores +1. magent does not examine the patient.","type":"boolean"},"chronic_respiratory_disease":{"description":"Chronic respiratory disease (Roy 2021 Table 3). true scores −1. Assigned by the caller. magent does not examine the patient.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Table 3: <80 scores −1. 80-100 was not independently associated; this tool does not add tachycardia points.","type":"integer"},"hormonal_estrogenic_treatment":{"description":"Hormonal estrogenic treatment as assigned by the caller (Roy 2021 Table 3). true scores +2.","type":"boolean"},"immobility_4w":{"description":"Immobility within 4 weeks (Roy 2021 Table 3 footnote a): surgery, lower limb plaster cast, or bedridden more than 3 days for an acute medical condition. true scores +2. Assigned by the caller. magent does not examine the patient.","type":"boolean"},"pe_most_likely":{"description":"PE is the most likely diagnosis as assigned by the caller (Roy 2021 Table 3). true scores +5. magent does not examine the patient or decide PE most likely.","type":"boolean"},"personal_history_vte":{"description":"Personal history of VTE as assigned by the caller (Roy 2021 Table 3). true scores +2.","type":"boolean"},"sex":{"description":"female or male (Roy 2021 Table 3). Male scores +2. Female scores 0. Assigned by the caller.","enum":["female","male"],"type":"string"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Roy 2021 Table 3: <95 scores +3; 95 and above score 0.","type":"number"},"syncope":{"description":"Syncope as assigned by the caller (Roy 2021 Table 3). true scores +2. magent does not examine the patient.","type":"boolean"}},"required":["age","chronic_respiratory_disease","heart_rate_bpm","chest_pain_and_acute_dyspnea","sex","hormonal_estrogenic_treatment","personal_history_vte","syncope","immobility_4w","spo2_percent","calf_pain_or_unilateral_edema","pe_most_likely"],"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":["4peps","pe","vte","pretest","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T22:51:10.571Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T22:51:10.4Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"calf_pain_or_unilateral_edema":false,"chest_pain_and_acute_dyspnea":false,"chronic_respiratory_disease":false,"heart_rate_bpm":90,"hormonal_estrogenic_treatment":false,"immobility_4w":false,"pe_most_likely":false,"personal_history_vte":false,"sex":"female","spo2_percent":98,"syncope":false},{"age":40,"calf_pain_or_unilateral_edema":false,"chest_pain_and_acute_dyspnea":false,"chronic_respiratory_disease":false,"heart_rate_bpm":90,"hormonal_estrogenic_treatment":false,"immobility_4w":false,"pe_most_likely":false,"personal_history_vte":false,"sex":"female","spo2_percent":98,"syncope":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Roy PM, Friou E, Germeau B, et al.","doi":"10.1001/jamacardio.2021.0064","id":"roy-2021","pmid":"33656522","source":"JAMA Cardiol. 2021;6(6):669-677","title":"Derivation and Validation of a 4-Level Clinical Pretest Probability Score for Suspected Pulmonary Embolism to Safely Decrease Imaging Testing"},"components":[{"factor":"age","points":-2,"present":true,"value":40},{"factor":"chronic_respiratory_disease","points":0,"present":false},{"factor":"heart_rate_bpm","points":0,"present":false,"value":90},{"factor":"chest_pain_and_acute_dyspnea","points":0,"present":false},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"hormonal_estrogenic_treatment","points":0,"present":false},{"factor":"personal_history_vte","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"immobility_4w","points":0,"present":false},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"calf_pain_or_unilateral_edema","points":0,"present":false},{"factor":"pe_most_likely","points":0,"present":false}],"cpp":"very_low","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":"4peps","formula_expression":"4PEPS = age (<50 -2, 50-64 -1, ≥65 0) + chronic_respiratory_disease (-1) + heart_rate_bpm (<80 -1) + chest_pain_and_acute_dyspnea (1) + male (2) + hormonal_estrogenic_treatment (2) + personal_history_vte (2) + syncope (2) + immobility_4w (2) + spo2_percent (<95 3) + calf_pain_or_unilateral_edema (3) + pe_most_likely (5); Roy 2021 Table 3; cpp very_low <0, low 0-5, moderate 6-12, high ≥13; max 22 (age ≥65 plus all positive items; score may be negative)","max_score":22,"score":-2},{"citation":{"authors":"Roy PM, Friou E, Germeau B, et al.","doi":"10.1001/jamacardio.2021.0064","id":"roy-2021","pmid":"33656522","source":"JAMA Cardiol. 2021;6(6):669-677","title":"Derivation and Validation of a 4-Level Clinical Pretest Probability Score for Suspected Pulmonary Embolism to Safely Decrease Imaging Testing"},"components":[{"factor":"age","points":-2,"present":true,"value":40},{"factor":"chronic_respiratory_disease","points":0,"present":false},{"factor":"heart_rate_bpm","points":0,"present":false,"value":90},{"factor":"chest_pain_and_acute_dyspnea","points":0,"present":false},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"hormonal_estrogenic_treatment","points":0,"present":false},{"factor":"personal_history_vte","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"immobility_4w","points":0,"present":false},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"calf_pain_or_unilateral_edema","points":0,"present":false},{"factor":"pe_most_likely","points":0,"present":false}],"cpp":"very_low","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":"4peps","formula_expression":"4PEPS = age (<50 -2, 50-64 -1, ≥65 0) + chronic_respiratory_disease (-1) + heart_rate_bpm (<80 -1) + chest_pain_and_acute_dyspnea (1) + male (2) + hormonal_estrogenic_treatment (2) + personal_history_vte (2) + syncope (2) + immobility_4w (2) + spo2_percent (<95 3) + calf_pain_or_unilateral_edema (3) + pe_most_likely (5); Roy 2021 Table 3; cpp very_low <0, low 0-5, moderate 6-12, high ≥13; max 22 (age ≥65 plus all positive items; score may be negative)","max_score":22,"score":-2}],"path":"/api/calc/4peps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Roy 2021 Table 3: <50 scores −2; 50-64 scores −1; ≥65 scores 0 (65-80 and >80 were not independently associated).","type":"integer"},"calf_pain_or_unilateral_edema":{"description":"Calf pain and/or unilateral lower-limb edema as assigned by the caller (Roy 2021 Table 3). true scores +3. magent does not examine the patient.","type":"boolean"},"chest_pain_and_acute_dyspnea":{"description":"Both chest pain and acute dyspnea present as assigned by the caller (Roy 2021 Table 3). true scores +1. magent does not examine the patient.","type":"boolean"},"chronic_respiratory_disease":{"description":"Chronic respiratory disease (Roy 2021 Table 3). true scores −1. Assigned by the caller. magent does not examine the patient.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Table 3: <80 scores −1. 80-100 was not independently associated; this tool does not add tachycardia points.","type":"integer"},"hormonal_estrogenic_treatment":{"description":"Hormonal estrogenic treatment as assigned by the caller (Roy 2021 Table 3). true scores +2.","type":"boolean"},"immobility_4w":{"description":"Immobility within 4 weeks (Roy 2021 Table 3 footnote a): surgery, lower limb plaster cast, or bedridden more than 3 days for an acute medical condition. true scores +2. Assigned by the caller. magent does not examine the patient.","type":"boolean"},"pe_most_likely":{"description":"PE is the most likely diagnosis as assigned by the caller (Roy 2021 Table 3). true scores +5. magent does not examine the patient or decide PE most likely.","type":"boolean"},"personal_history_vte":{"description":"Personal history of VTE as assigned by the caller (Roy 2021 Table 3). true scores +2.","type":"boolean"},"sex":{"description":"female or male (Roy 2021 Table 3). Male scores +2. Female scores 0. Assigned by the caller.","enum":["female","male"],"type":"string"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Roy 2021 Table 3: <95 scores +3; 95 and above score 0.","type":"number"},"syncope":{"description":"Syncope as assigned by the caller (Roy 2021 Table 3). true scores +2. magent does not examine the patient.","type":"boolean"}},"required":["age","chronic_respiratory_disease","heart_rate_bpm","chest_pain_and_acute_dyspnea","sex","hormonal_estrogenic_treatment","personal_history_vte","syncope","immobility_4w","spo2_percent","calf_pain_or_unilateral_edema","pe_most_likely"],"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},{"id":39342,"slug":"39342","resource":"https://api.magentlab.com/api/calc/rome_iv_unspecified_bowel","description":"Mearin 2016 Rome IV C5 unspecified functional bowel. rome_iv_unspecified_bowel is true iff bowel symptoms not attributable to an organic etiology, does not meet criteria for IBS, functional constipation, functional diarrhea, or functional bloating/distension, last-3-months criteria, and 6-month onset. Caller assigns seven flags; magent does not re-score IBS/FC/diarrhea/bloating. Residual C5 only. Not a diagnosis. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bowel_symptoms_not_attributable_to_organic_etiology":true,"does_not_meet_criteria_for_functional_bloating_distension":true,"does_not_meet_criteria_for_functional_constipation":true,"does_not_meet_criteria_for_functional_diarrhea":true,"does_not_meet_criteria_for_ibs":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true},{"bowel_symptoms_not_attributable_to_organic_etiology":true,"does_not_meet_criteria_for_functional_bloating_distension":true,"does_not_meet_criteria_for_functional_constipation":true,"does_not_meet_criteria_for_functional_diarrhea":true,"does_not_meet_criteria_for_ibs":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"bowel_symptoms_not_attributable_to_organic_etiology","met":true},{"factor":"does_not_meet_criteria_for_ibs","met":true},{"factor":"does_not_meet_criteria_for_functional_constipation","met":true},{"factor":"does_not_meet_criteria_for_functional_diarrhea","met":true},{"factor":"does_not_meet_criteria_for_functional_bloating_distension","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_unspecified_bowel","formula_expression":"rome_iv_unspecified_bowel iff bowel_symptoms_not_attributable_to_organic_etiology and does_not_meet_criteria_for_ibs and does_not_meet_criteria_for_functional_constipation and does_not_meet_criteria_for_functional_diarrhea and does_not_meet_criteria_for_functional_bloating_distension and fulfilled_last_3_months and onset_at_least_6_months (Mearin 2016 Rome IV C5 unspecified functional bowel disorder)","rome_iv_unspecified_bowel":true},{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"bowel_symptoms_not_attributable_to_organic_etiology","met":true},{"factor":"does_not_meet_criteria_for_ibs","met":true},{"factor":"does_not_meet_criteria_for_functional_constipation","met":true},{"factor":"does_not_meet_criteria_for_functional_diarrhea","met":true},{"factor":"does_not_meet_criteria_for_functional_bloating_distension","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_unspecified_bowel","formula_expression":"rome_iv_unspecified_bowel iff bowel_symptoms_not_attributable_to_organic_etiology and does_not_meet_criteria_for_ibs and does_not_meet_criteria_for_functional_constipation and does_not_meet_criteria_for_functional_diarrhea and does_not_meet_criteria_for_functional_bloating_distension and fulfilled_last_3_months and onset_at_least_6_months (Mearin 2016 Rome IV C5 unspecified functional bowel disorder)","rome_iv_unspecified_bowel":true}],"path":"/api/calc/rome_iv_unspecified_bowel"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bowel_symptoms_not_attributable_to_organic_etiology":{"description":"Bowel symptoms not attributable to an organic etiology, as assigned (Mearin 2016 Rome IV C5). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"does_not_meet_criteria_for_functional_bloating_distension":{"description":"Does not meet criteria for functional abdominal bloating/distension, as assigned by the caller (Mearin 2016 C5). true or false. magent does not re-score bloating or distension.","type":"boolean"},"does_not_meet_criteria_for_functional_constipation":{"description":"Does not meet criteria for functional constipation, as assigned by the caller (Mearin 2016 C5). true or false. magent does not re-score functional constipation.","type":"boolean"},"does_not_meet_criteria_for_functional_diarrhea":{"description":"Does not meet criteria for functional diarrhea, as assigned by the caller (Mearin 2016 C5). true or false. magent does not re-score functional diarrhea.","type":"boolean"},"does_not_meet_criteria_for_ibs":{"description":"Does not meet criteria for IBS, as assigned by the caller (Mearin 2016 C5). true or false. magent does not re-score the IBS box.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Mearin 2016 C5). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Mearin 2016 C5). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["bowel_symptoms_not_attributable_to_organic_etiology","does_not_meet_criteria_for_ibs","does_not_meet_criteria_for_functional_constipation","does_not_meet_criteria_for_functional_diarrhea","does_not_meet_criteria_for_functional_bloating_distension","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-unspecified-bowel","unspecified-bowel","gi","rome-iv","functional-bowel","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:52:25.456Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T13:52:25.333Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bowel_symptoms_not_attributable_to_organic_etiology":true,"does_not_meet_criteria_for_functional_bloating_distension":true,"does_not_meet_criteria_for_functional_constipation":true,"does_not_meet_criteria_for_functional_diarrhea":true,"does_not_meet_criteria_for_ibs":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true},{"bowel_symptoms_not_attributable_to_organic_etiology":true,"does_not_meet_criteria_for_functional_bloating_distension":true,"does_not_meet_criteria_for_functional_constipation":true,"does_not_meet_criteria_for_functional_diarrhea":true,"does_not_meet_criteria_for_ibs":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"bowel_symptoms_not_attributable_to_organic_etiology","met":true},{"factor":"does_not_meet_criteria_for_ibs","met":true},{"factor":"does_not_meet_criteria_for_functional_constipation","met":true},{"factor":"does_not_meet_criteria_for_functional_diarrhea","met":true},{"factor":"does_not_meet_criteria_for_functional_bloating_distension","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_unspecified_bowel","formula_expression":"rome_iv_unspecified_bowel iff bowel_symptoms_not_attributable_to_organic_etiology and does_not_meet_criteria_for_ibs and does_not_meet_criteria_for_functional_constipation and does_not_meet_criteria_for_functional_diarrhea and does_not_meet_criteria_for_functional_bloating_distension and fulfilled_last_3_months and onset_at_least_6_months (Mearin 2016 Rome IV C5 unspecified functional bowel disorder)","rome_iv_unspecified_bowel":true},{"citation":{"authors":"Mearin F, Lacy BE, Chang L, Chey WD, Lembo AJ, Simren M, Spiller RC","doi":"10.1053/j.gastro.2016.02.031","id":"mearin-2016","pmid":"27144627","source":"Gastroenterology. 2016;150(6):1393-1407","title":"Bowel Disorders"},"criteria":[{"factor":"bowel_symptoms_not_attributable_to_organic_etiology","met":true},{"factor":"does_not_meet_criteria_for_ibs","met":true},{"factor":"does_not_meet_criteria_for_functional_constipation","met":true},{"factor":"does_not_meet_criteria_for_functional_diarrhea","met":true},{"factor":"does_not_meet_criteria_for_functional_bloating_distension","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_unspecified_bowel","formula_expression":"rome_iv_unspecified_bowel iff bowel_symptoms_not_attributable_to_organic_etiology and does_not_meet_criteria_for_ibs and does_not_meet_criteria_for_functional_constipation and does_not_meet_criteria_for_functional_diarrhea and does_not_meet_criteria_for_functional_bloating_distension and fulfilled_last_3_months and onset_at_least_6_months (Mearin 2016 Rome IV C5 unspecified functional bowel disorder)","rome_iv_unspecified_bowel":true}],"path":"/api/calc/rome_iv_unspecified_bowel"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bowel_symptoms_not_attributable_to_organic_etiology":{"description":"Bowel symptoms not attributable to an organic etiology, as assigned (Mearin 2016 Rome IV C5). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"does_not_meet_criteria_for_functional_bloating_distension":{"description":"Does not meet criteria for functional abdominal bloating/distension, as assigned by the caller (Mearin 2016 C5). true or false. magent does not re-score bloating or distension.","type":"boolean"},"does_not_meet_criteria_for_functional_constipation":{"description":"Does not meet criteria for functional constipation, as assigned by the caller (Mearin 2016 C5). true or false. magent does not re-score functional constipation.","type":"boolean"},"does_not_meet_criteria_for_functional_diarrhea":{"description":"Does not meet criteria for functional diarrhea, as assigned by the caller (Mearin 2016 C5). true or false. magent does not re-score functional diarrhea.","type":"boolean"},"does_not_meet_criteria_for_ibs":{"description":"Does not meet criteria for IBS, as assigned by the caller (Mearin 2016 C5). true or false. magent does not re-score the IBS box.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Mearin 2016 C5). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Mearin 2016 C5). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["bowel_symptoms_not_attributable_to_organic_etiology","does_not_meet_criteria_for_ibs","does_not_meet_criteria_for_functional_constipation","does_not_meet_criteria_for_functional_diarrhea","does_not_meet_criteria_for_functional_bloating_distension","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":39343,"slug":"39343","resource":"https://api.magentlab.com/api/calc/rome_iv_reflux_hypersensitivity","description":"Aziz 2016 Rome IV reflux hypersensitivity. rome_iv_reflux_hypersensitivity is true iff retrosternal heartburn or chest pain, normal endoscopy without EoE, no motor disorder, reflux-triggered despite normal acid, 3- and 6-month timing. Caller assigns six flags. magent does not read pH-impedance or endoscopy. Antisecretory response does not exclude the diagnosis and is not a required flag. Not a diagnosis, not functional heartburn, not GERD/NERD as the primary tool, not globus.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fulfilled_last_3_months":true,"no_major_esophageal_motor_disorder":true,"normal_endoscopy_no_eoe":true,"onset_at_least_6_months":true,"retrosternal_heartburn_or_chest_pain":true,"symptoms_triggered_by_reflux_despite_normal_acid_exposure":true},{"fulfilled_last_3_months":true,"no_major_esophageal_motor_disorder":true,"normal_endoscopy_no_eoe":true,"onset_at_least_6_months":true,"retrosternal_heartburn_or_chest_pain":true,"symptoms_triggered_by_reflux_despite_normal_acid_exposure":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"retrosternal_heartburn_or_chest_pain","met":true},{"factor":"normal_endoscopy_no_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"symptoms_triggered_by_reflux_despite_normal_acid_exposure","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_reflux_hypersensitivity","formula_expression":"rome_iv_reflux_hypersensitivity iff retrosternal_heartburn_or_chest_pain and normal_endoscopy_no_eoe and no_major_esophageal_motor_disorder and symptoms_triggered_by_reflux_despite_normal_acid_exposure and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV reflux hypersensitivity)","rome_iv_reflux_hypersensitivity":true},{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"retrosternal_heartburn_or_chest_pain","met":true},{"factor":"normal_endoscopy_no_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"symptoms_triggered_by_reflux_despite_normal_acid_exposure","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_reflux_hypersensitivity","formula_expression":"rome_iv_reflux_hypersensitivity iff retrosternal_heartburn_or_chest_pain and normal_endoscopy_no_eoe and no_major_esophageal_motor_disorder and symptoms_triggered_by_reflux_despite_normal_acid_exposure and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV reflux hypersensitivity)","rome_iv_reflux_hypersensitivity":true}],"path":"/api/calc/rome_iv_reflux_hypersensitivity"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_major_esophageal_motor_disorder":{"description":"Absence of a major esophageal motor disorder, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not interpret manometry.","type":"boolean"},"normal_endoscopy_no_eoe":{"description":"Normal endoscopy and absence of evidence that eosinophilic esophagitis is the cause, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"retrosternal_heartburn_or_chest_pain":{"description":"Retrosternal symptoms including heartburn and chest pain, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"symptoms_triggered_by_reflux_despite_normal_acid_exposure":{"description":"Evidence that symptoms are triggered by reflux events despite normal acid exposure on pH or pH-impedance, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not parse traces.","type":"boolean"}},"required":["retrosternal_heartburn_or_chest_pain","normal_endoscopy_no_eoe","no_major_esophageal_motor_disorder","symptoms_triggered_by_reflux_despite_normal_acid_exposure","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-reflux-hypersensitivity","reflux-hypersensitivity","gi","esophageal","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:47:03.429Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T13:47:03.304Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fulfilled_last_3_months":true,"no_major_esophageal_motor_disorder":true,"normal_endoscopy_no_eoe":true,"onset_at_least_6_months":true,"retrosternal_heartburn_or_chest_pain":true,"symptoms_triggered_by_reflux_despite_normal_acid_exposure":true},{"fulfilled_last_3_months":true,"no_major_esophageal_motor_disorder":true,"normal_endoscopy_no_eoe":true,"onset_at_least_6_months":true,"retrosternal_heartburn_or_chest_pain":true,"symptoms_triggered_by_reflux_despite_normal_acid_exposure":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"retrosternal_heartburn_or_chest_pain","met":true},{"factor":"normal_endoscopy_no_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"symptoms_triggered_by_reflux_despite_normal_acid_exposure","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_reflux_hypersensitivity","formula_expression":"rome_iv_reflux_hypersensitivity iff retrosternal_heartburn_or_chest_pain and normal_endoscopy_no_eoe and no_major_esophageal_motor_disorder and symptoms_triggered_by_reflux_despite_normal_acid_exposure and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV reflux hypersensitivity)","rome_iv_reflux_hypersensitivity":true},{"citation":{"authors":"Aziz Q, Fass R, Gyawali CP, Miwa H, Pandolfino JE, Zerbib F","doi":"10.1053/j.gastro.2016.02.012","id":"aziz-2016","pmid":"27144654","source":"Gastroenterology. 2016;150(6):1368-1379","title":"Esophageal Disorders"},"criteria":[{"factor":"retrosternal_heartburn_or_chest_pain","met":true},{"factor":"normal_endoscopy_no_eoe","met":true},{"factor":"no_major_esophageal_motor_disorder","met":true},{"factor":"symptoms_triggered_by_reflux_despite_normal_acid_exposure","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_reflux_hypersensitivity","formula_expression":"rome_iv_reflux_hypersensitivity iff retrosternal_heartburn_or_chest_pain and normal_endoscopy_no_eoe and no_major_esophageal_motor_disorder and symptoms_triggered_by_reflux_despite_normal_acid_exposure and fulfilled_last_3_months and onset_at_least_6_months (Aziz 2016 Rome IV reflux hypersensitivity)","rome_iv_reflux_hypersensitivity":true}],"path":"/api/calc/rome_iv_reflux_hypersensitivity"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_major_esophageal_motor_disorder":{"description":"Absence of a major esophageal motor disorder, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not interpret manometry.","type":"boolean"},"normal_endoscopy_no_eoe":{"description":"Normal endoscopy and absence of evidence that eosinophilic esophagitis is the cause, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not read endoscopy.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"retrosternal_heartburn_or_chest_pain":{"description":"Retrosternal symptoms including heartburn and chest pain, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"symptoms_triggered_by_reflux_despite_normal_acid_exposure":{"description":"Evidence that symptoms are triggered by reflux events despite normal acid exposure on pH or pH-impedance, as assigned (Aziz 2016). true or false as assigned by the caller. magent does not parse traces.","type":"boolean"}},"required":["retrosternal_heartburn_or_chest_pain","normal_endoscopy_no_eoe","no_major_esophageal_motor_disorder","symptoms_triggered_by_reflux_despite_normal_acid_exposure","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":39344,"slug":"39344","resource":"https://api.magentlab.com/api/calc/rome_iv_proctalgia_fugax","description":"Rao 2016 Rome IV proctalgia fugax (F2c). rome_iv_proctalgia_fugax is true iff recurrent rectal pain unrelated to defecation, episodes seconds to minutes (max 30 min), no anorectal pain between episodes, other causes excluded, last-3-months criteria, and 6-month onset. magent does not examine the rectum. Not a diagnosis, not levator ani, not unspecified functional anorectal pain.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"episodes_seconds_to_minutes_max_30_minutes":true,"fulfilled_last_3_months":true,"no_anorectal_pain_between_episodes":true,"onset_at_least_6_months":true,"other_causes_of_rectal_pain_excluded":true,"recurrent_rectal_pain_unrelated_to_defecation":true},{"episodes_seconds_to_minutes_max_30_minutes":true,"fulfilled_last_3_months":true,"no_anorectal_pain_between_episodes":true,"onset_at_least_6_months":true,"other_causes_of_rectal_pain_excluded":true,"recurrent_rectal_pain_unrelated_to_defecation":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"recurrent_rectal_pain_unrelated_to_defecation","met":true},{"factor":"episodes_seconds_to_minutes_max_30_minutes","met":true},{"factor":"no_anorectal_pain_between_episodes","met":true},{"factor":"other_causes_of_rectal_pain_excluded","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_proctalgia_fugax","formula_expression":"rome_iv_proctalgia_fugax iff recurrent_rectal_pain_unrelated_to_defecation and episodes_seconds_to_minutes_max_30_minutes and no_anorectal_pain_between_episodes and other_causes_of_rectal_pain_excluded and fulfilled_last_3_months and onset_at_least_6_months (Rao 2016 Rome IV proctalgia fugax)","rome_iv_proctalgia_fugax":true},{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"recurrent_rectal_pain_unrelated_to_defecation","met":true},{"factor":"episodes_seconds_to_minutes_max_30_minutes","met":true},{"factor":"no_anorectal_pain_between_episodes","met":true},{"factor":"other_causes_of_rectal_pain_excluded","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_proctalgia_fugax","formula_expression":"rome_iv_proctalgia_fugax iff recurrent_rectal_pain_unrelated_to_defecation and episodes_seconds_to_minutes_max_30_minutes and no_anorectal_pain_between_episodes and other_causes_of_rectal_pain_excluded and fulfilled_last_3_months and onset_at_least_6_months (Rao 2016 Rome IV proctalgia fugax)","rome_iv_proctalgia_fugax":true}],"path":"/api/calc/rome_iv_proctalgia_fugax"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"episodes_seconds_to_minutes_max_30_minutes":{"description":"Episodes last from seconds to minutes, with a maximum duration of 30 minutes, as assigned (Rao 2016 F2c). Distinguishes proctalgia fugax from levator ani syndrome (pain lasting 30 minutes or longer). true or false as assigned by the caller. magent does not examine the rectum.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_anorectal_pain_between_episodes":{"description":"Absence of anorectal pain between episodes, as assigned (Rao 2016). true or false as assigned by the caller. magent does not examine the rectum.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"other_causes_of_rectal_pain_excluded":{"description":"Other causes of rectal pain excluded as assigned: inflammatory bowel disease, intramuscular abscess, anal fissure, thrombosed hemorrhoids, prostatitis, coccygodynia, and major structural alterations of the pelvic floor (Rao 2016). true or false as assigned by the caller. magent does not examine the rectum.","type":"boolean"},"recurrent_rectal_pain_unrelated_to_defecation":{"description":"Recurrent episodes of rectal pain unrelated to defecation, as assigned (Rao 2016 Rome IV proctalgia fugax F2c). true or false as assigned by the caller. magent does not examine the rectum.","type":"boolean"}},"required":["recurrent_rectal_pain_unrelated_to_defecation","episodes_seconds_to_minutes_max_30_minutes","no_anorectal_pain_between_episodes","other_causes_of_rectal_pain_excluded","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-proctalgia-fugax","proctalgia-fugax","gi","anorectal","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:47:02.217Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T13:47:02.08Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"episodes_seconds_to_minutes_max_30_minutes":true,"fulfilled_last_3_months":true,"no_anorectal_pain_between_episodes":true,"onset_at_least_6_months":true,"other_causes_of_rectal_pain_excluded":true,"recurrent_rectal_pain_unrelated_to_defecation":true},{"episodes_seconds_to_minutes_max_30_minutes":true,"fulfilled_last_3_months":true,"no_anorectal_pain_between_episodes":true,"onset_at_least_6_months":true,"other_causes_of_rectal_pain_excluded":true,"recurrent_rectal_pain_unrelated_to_defecation":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"recurrent_rectal_pain_unrelated_to_defecation","met":true},{"factor":"episodes_seconds_to_minutes_max_30_minutes","met":true},{"factor":"no_anorectal_pain_between_episodes","met":true},{"factor":"other_causes_of_rectal_pain_excluded","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_proctalgia_fugax","formula_expression":"rome_iv_proctalgia_fugax iff recurrent_rectal_pain_unrelated_to_defecation and episodes_seconds_to_minutes_max_30_minutes and no_anorectal_pain_between_episodes and other_causes_of_rectal_pain_excluded and fulfilled_last_3_months and onset_at_least_6_months (Rao 2016 Rome IV proctalgia fugax)","rome_iv_proctalgia_fugax":true},{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"recurrent_rectal_pain_unrelated_to_defecation","met":true},{"factor":"episodes_seconds_to_minutes_max_30_minutes","met":true},{"factor":"no_anorectal_pain_between_episodes","met":true},{"factor":"other_causes_of_rectal_pain_excluded","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_proctalgia_fugax","formula_expression":"rome_iv_proctalgia_fugax iff recurrent_rectal_pain_unrelated_to_defecation and episodes_seconds_to_minutes_max_30_minutes and no_anorectal_pain_between_episodes and other_causes_of_rectal_pain_excluded and fulfilled_last_3_months and onset_at_least_6_months (Rao 2016 Rome IV proctalgia fugax)","rome_iv_proctalgia_fugax":true}],"path":"/api/calc/rome_iv_proctalgia_fugax"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"episodes_seconds_to_minutes_max_30_minutes":{"description":"Episodes last from seconds to minutes, with a maximum duration of 30 minutes, as assigned (Rao 2016 F2c). Distinguishes proctalgia fugax from levator ani syndrome (pain lasting 30 minutes or longer). true or false as assigned by the caller. magent does not examine the rectum.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"no_anorectal_pain_between_episodes":{"description":"Absence of anorectal pain between episodes, as assigned (Rao 2016). true or false as assigned by the caller. magent does not examine the rectum.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"other_causes_of_rectal_pain_excluded":{"description":"Other causes of rectal pain excluded as assigned: inflammatory bowel disease, intramuscular abscess, anal fissure, thrombosed hemorrhoids, prostatitis, coccygodynia, and major structural alterations of the pelvic floor (Rao 2016). true or false as assigned by the caller. magent does not examine the rectum.","type":"boolean"},"recurrent_rectal_pain_unrelated_to_defecation":{"description":"Recurrent episodes of rectal pain unrelated to defecation, as assigned (Rao 2016 Rome IV proctalgia fugax F2c). true or false as assigned by the caller. magent does not examine the rectum.","type":"boolean"}},"required":["recurrent_rectal_pain_unrelated_to_defecation","episodes_seconds_to_minutes_max_30_minutes","no_anorectal_pain_between_episodes","other_causes_of_rectal_pain_excluded","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":39345,"slug":"39345","resource":"https://api.magentlab.com/api/calc/rome_iv_infant_regurgitation","description":"Benninga 2016 Rome IV G1 infant regurgitation. rome_iv_infant_regurgitation is true iff otherwise_healthy_infant_3_weeks_to_12_months, regurgitation_at_least_twice_daily_for_3_or_more_weeks, and no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing. magent does not examine the infant. Not a diagnosis, not GERD, not rumination, not child or adolescent Rome IV.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing":true,"otherwise_healthy_infant_3_weeks_to_12_months":true,"regurgitation_at_least_twice_daily_for_3_or_more_weeks":true},{"no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing":true,"otherwise_healthy_infant_3_weeks_to_12_months":true,"regurgitation_at_least_twice_daily_for_3_or_more_weeks":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"otherwise_healthy_infant_3_weeks_to_12_months","met":true},{"factor":"regurgitation_at_least_twice_daily_for_3_or_more_weeks","met":true},{"factor":"no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing","met":true}],"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":"rome_iv_infant_regurgitation","formula_expression":"rome_iv_infant_regurgitation iff otherwise_healthy_infant_3_weeks_to_12_months and regurgitation_at_least_twice_daily_for_3_or_more_weeks and no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing (Benninga 2016 Rome IV G1 infant regurgitation)","rome_iv_infant_regurgitation":true},{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"otherwise_healthy_infant_3_weeks_to_12_months","met":true},{"factor":"regurgitation_at_least_twice_daily_for_3_or_more_weeks","met":true},{"factor":"no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing","met":true}],"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":"rome_iv_infant_regurgitation","formula_expression":"rome_iv_infant_regurgitation iff otherwise_healthy_infant_3_weeks_to_12_months and regurgitation_at_least_twice_daily_for_3_or_more_weeks and no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing (Benninga 2016 Rome IV G1 infant regurgitation)","rome_iv_infant_regurgitation":true}],"path":"/api/calc/rome_iv_infant_regurgitation"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing":{"description":"No retching, hematemesis, aspiration, apnea, failure to thrive, feeding or swallowing difficulties, or abnormal posturing, as assigned (Benninga 2016). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"otherwise_healthy_infant_3_weeks_to_12_months":{"description":"Otherwise healthy infant 3 weeks to 12 months of age, as assigned (Benninga 2016 Rome IV G1 infant regurgitation). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"regurgitation_at_least_twice_daily_for_3_or_more_weeks":{"description":"Regurgitation two or more times per day for 3 or more weeks, as assigned (Benninga 2016). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"}},"required":["otherwise_healthy_infant_3_weeks_to_12_months","regurgitation_at_least_twice_daily_for_3_or_more_weeks","no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing"],"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":["rome-iv-infant-regurgitation","infant-regurgitation","gi","rome-iv","neonate-toddler","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:32:19.572Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T13:32:19.33Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing":true,"otherwise_healthy_infant_3_weeks_to_12_months":true,"regurgitation_at_least_twice_daily_for_3_or_more_weeks":true},{"no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing":true,"otherwise_healthy_infant_3_weeks_to_12_months":true,"regurgitation_at_least_twice_daily_for_3_or_more_weeks":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"otherwise_healthy_infant_3_weeks_to_12_months","met":true},{"factor":"regurgitation_at_least_twice_daily_for_3_or_more_weeks","met":true},{"factor":"no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing","met":true}],"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":"rome_iv_infant_regurgitation","formula_expression":"rome_iv_infant_regurgitation iff otherwise_healthy_infant_3_weeks_to_12_months and regurgitation_at_least_twice_daily_for_3_or_more_weeks and no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing (Benninga 2016 Rome IV G1 infant regurgitation)","rome_iv_infant_regurgitation":true},{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"otherwise_healthy_infant_3_weeks_to_12_months","met":true},{"factor":"regurgitation_at_least_twice_daily_for_3_or_more_weeks","met":true},{"factor":"no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing","met":true}],"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":"rome_iv_infant_regurgitation","formula_expression":"rome_iv_infant_regurgitation iff otherwise_healthy_infant_3_weeks_to_12_months and regurgitation_at_least_twice_daily_for_3_or_more_weeks and no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing (Benninga 2016 Rome IV G1 infant regurgitation)","rome_iv_infant_regurgitation":true}],"path":"/api/calc/rome_iv_infant_regurgitation"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing":{"description":"No retching, hematemesis, aspiration, apnea, failure to thrive, feeding or swallowing difficulties, or abnormal posturing, as assigned (Benninga 2016). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"otherwise_healthy_infant_3_weeks_to_12_months":{"description":"Otherwise healthy infant 3 weeks to 12 months of age, as assigned (Benninga 2016 Rome IV G1 infant regurgitation). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"regurgitation_at_least_twice_daily_for_3_or_more_weeks":{"description":"Regurgitation two or more times per day for 3 or more weeks, as assigned (Benninga 2016). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"}},"required":["otherwise_healthy_infant_3_weeks_to_12_months","regurgitation_at_least_twice_daily_for_3_or_more_weeks","no_retching_hematemesis_aspiration_apnea_ftt_feeding_swallowing_or_abnormal_posturing"],"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},{"id":39346,"slug":"39346","resource":"https://api.magentlab.com/api/calc/rome_iv_infant_dyschezia","description":"Benninga 2016 Rome IV G6 infant dyschezia. rome_iv_infant_dyschezia is true iff infant_less_than_9_months, straining_and_crying_at_least_10_minutes_before_soft_stools, and no_other_health_problems. Caller assigns three flags. magent does not examine the infant. Not a diagnosis, not infant functional constipation, not adult Rome IV FC.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"infant_less_than_9_months":true,"no_other_health_problems":true,"straining_and_crying_at_least_10_minutes_before_soft_stools":true},{"infant_less_than_9_months":true,"no_other_health_problems":true,"straining_and_crying_at_least_10_minutes_before_soft_stools":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"infant_less_than_9_months","met":true},{"factor":"straining_and_crying_at_least_10_minutes_before_soft_stools","met":true},{"factor":"no_other_health_problems","met":true}],"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":"rome_iv_infant_dyschezia","formula_expression":"rome_iv_infant_dyschezia iff infant_less_than_9_months and straining_and_crying_at_least_10_minutes_before_soft_stools and no_other_health_problems (Benninga 2016 Rome IV G6 infant dyschezia)","rome_iv_infant_dyschezia":true},{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"infant_less_than_9_months","met":true},{"factor":"straining_and_crying_at_least_10_minutes_before_soft_stools","met":true},{"factor":"no_other_health_problems","met":true}],"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":"rome_iv_infant_dyschezia","formula_expression":"rome_iv_infant_dyschezia iff infant_less_than_9_months and straining_and_crying_at_least_10_minutes_before_soft_stools and no_other_health_problems (Benninga 2016 Rome IV G6 infant dyschezia)","rome_iv_infant_dyschezia":true}],"path":"/api/calc/rome_iv_infant_dyschezia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"infant_less_than_9_months":{"description":"Infant less than 9 months of age, as assigned (Benninga 2016 Rome IV G6). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"no_other_health_problems":{"description":"No other health problems, as assigned (Benninga 2016 Rome IV G6). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"straining_and_crying_at_least_10_minutes_before_soft_stools":{"description":"At least 10 minutes of straining and crying before successful or unsuccessful passage of soft stools, as assigned (Benninga 2016 Rome IV G6). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"}},"required":["infant_less_than_9_months","straining_and_crying_at_least_10_minutes_before_soft_stools","no_other_health_problems"],"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":["rome-iv-infant-dyschezia","infant-dyschezia","gi","rome-iv","neonate-toddler","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:32:18.281Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T13:32:18.151Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"infant_less_than_9_months":true,"no_other_health_problems":true,"straining_and_crying_at_least_10_minutes_before_soft_stools":true},{"infant_less_than_9_months":true,"no_other_health_problems":true,"straining_and_crying_at_least_10_minutes_before_soft_stools":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"infant_less_than_9_months","met":true},{"factor":"straining_and_crying_at_least_10_minutes_before_soft_stools","met":true},{"factor":"no_other_health_problems","met":true}],"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":"rome_iv_infant_dyschezia","formula_expression":"rome_iv_infant_dyschezia iff infant_less_than_9_months and straining_and_crying_at_least_10_minutes_before_soft_stools and no_other_health_problems (Benninga 2016 Rome IV G6 infant dyschezia)","rome_iv_infant_dyschezia":true},{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"infant_less_than_9_months","met":true},{"factor":"straining_and_crying_at_least_10_minutes_before_soft_stools","met":true},{"factor":"no_other_health_problems","met":true}],"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":"rome_iv_infant_dyschezia","formula_expression":"rome_iv_infant_dyschezia iff infant_less_than_9_months and straining_and_crying_at_least_10_minutes_before_soft_stools and no_other_health_problems (Benninga 2016 Rome IV G6 infant dyschezia)","rome_iv_infant_dyschezia":true}],"path":"/api/calc/rome_iv_infant_dyschezia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"infant_less_than_9_months":{"description":"Infant less than 9 months of age, as assigned (Benninga 2016 Rome IV G6). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"no_other_health_problems":{"description":"No other health problems, as assigned (Benninga 2016 Rome IV G6). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"straining_and_crying_at_least_10_minutes_before_soft_stools":{"description":"At least 10 minutes of straining and crying before successful or unsuccessful passage of soft stools, as assigned (Benninga 2016 Rome IV G6). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"}},"required":["infant_less_than_9_months","straining_and_crying_at_least_10_minutes_before_soft_stools","no_other_health_problems"],"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},{"id":39347,"slug":"39347","resource":"https://api.magentlab.com/api/calc/rome_iv_infant_constipation","description":"Benninga 2016 Rome IV G7. rome_iv_infant_constipation is true iff duration_at_least_1_month and features_met >= 2. features_met always counts five core flags; if toilet_trained also counts incontinence after toileting and stools that may obstruct the toilet. Caller assigns flags including large_fecal_mass_in_rectum. magent does not examine the infant. Not a diagnosis, not adult Rome IV FC, not child H3a.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"duration_at_least_1_month":true,"history_of_excessive_stool_retention":false,"history_of_large_diameter_stools":false,"history_of_painful_or_hard_bowel_movements":true,"incontinence_after_toileting_at_least_weekly":false,"large_diameter_stools_that_may_obstruct_toilet":false,"large_fecal_mass_in_rectum":false,"toilet_trained":false,"two_or_fewer_defecations_per_week":true},{"duration_at_least_1_month":true,"history_of_excessive_stool_retention":false,"history_of_large_diameter_stools":false,"history_of_painful_or_hard_bowel_movements":true,"incontinence_after_toileting_at_least_weekly":false,"large_diameter_stools_that_may_obstruct_toilet":false,"large_fecal_mass_in_rectum":false,"toilet_trained":false,"two_or_fewer_defecations_per_week":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"toilet_trained","met":false},{"factor":"two_or_fewer_defecations_per_week","met":true},{"factor":"history_of_excessive_stool_retention","met":false},{"factor":"history_of_painful_or_hard_bowel_movements","met":true},{"factor":"history_of_large_diameter_stools","met":false},{"factor":"large_fecal_mass_in_rectum","met":false},{"factor":"incontinence_after_toileting_at_least_weekly","met":false},{"factor":"large_diameter_stools_that_may_obstruct_toilet","met":false},{"factor":"duration_at_least_1_month","met":true},{"factor":"features_ge_2","met":true,"value":2}],"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.","features_met":2,"formula":"rome_iv_infant_constipation","formula_expression":"rome_iv_infant_constipation iff duration_at_least_1_month and features_met >= 2; features_met always counts two_or_fewer_defecations_per_week, history_of_excessive_stool_retention, history_of_painful_or_hard_bowel_movements, history_of_large_diameter_stools, and large_fecal_mass_in_rectum; if toilet_trained also counts incontinence_after_toileting_at_least_weekly and large_diameter_stools_that_may_obstruct_toilet (Benninga 2016 Rome IV G7 Functional Constipation)","rome_iv_infant_constipation":true},{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"toilet_trained","met":false},{"factor":"two_or_fewer_defecations_per_week","met":true},{"factor":"history_of_excessive_stool_retention","met":false},{"factor":"history_of_painful_or_hard_bowel_movements","met":true},{"factor":"history_of_large_diameter_stools","met":false},{"factor":"large_fecal_mass_in_rectum","met":false},{"factor":"incontinence_after_toileting_at_least_weekly","met":false},{"factor":"large_diameter_stools_that_may_obstruct_toilet","met":false},{"factor":"duration_at_least_1_month","met":true},{"factor":"features_ge_2","met":true,"value":2}],"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.","features_met":2,"formula":"rome_iv_infant_constipation","formula_expression":"rome_iv_infant_constipation iff duration_at_least_1_month and features_met >= 2; features_met always counts two_or_fewer_defecations_per_week, history_of_excessive_stool_retention, history_of_painful_or_hard_bowel_movements, history_of_large_diameter_stools, and large_fecal_mass_in_rectum; if toilet_trained also counts incontinence_after_toileting_at_least_weekly and large_diameter_stools_that_may_obstruct_toilet (Benninga 2016 Rome IV G7 Functional Constipation)","rome_iv_infant_constipation":true}],"path":"/api/calc/rome_iv_infant_constipation"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"duration_at_least_1_month":{"description":"Must include 1 month of at least 2 features, as assigned (Benninga 2016 Rome IV G7). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"history_of_excessive_stool_retention":{"description":"History of excessive stool retention, as assigned (Benninga 2016 Rome IV G7; one of five core features). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"history_of_large_diameter_stools":{"description":"History of large-diameter stools, as assigned (Benninga 2016 Rome IV G7; one of five core features). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"history_of_painful_or_hard_bowel_movements":{"description":"History of painful or hard bowel movements, as assigned (Benninga 2016 Rome IV G7; one of five core features). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"incontinence_after_toileting_at_least_weekly":{"description":"At least one episode per week of incontinence after the acquisition of toileting skills, as assigned (Benninga 2016 Rome IV G7 extra; counted only when toilet_trained is true). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"large_diameter_stools_that_may_obstruct_toilet":{"description":"History of large-diameter stools that may obstruct the toilet, as assigned (Benninga 2016 Rome IV G7 extra; counted only when toilet_trained is true). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"large_fecal_mass_in_rectum":{"description":"Large fecal mass in the rectum, as assigned (Benninga 2016 Rome IV G7; one of five core features). Digital rectal exam is caller-assigned. true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"toilet_trained":{"description":"Toilet-trained as assigned (Benninga 2016 Rome IV G7). When true, incontinence_after_toileting_at_least_weekly and large_diameter_stools_that_may_obstruct_toilet count toward features_met. true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"two_or_fewer_defecations_per_week":{"description":"Two or fewer defecations per week, as assigned (Benninga 2016 Rome IV G7; one of five core features). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"}},"required":["toilet_trained","two_or_fewer_defecations_per_week","history_of_excessive_stool_retention","history_of_painful_or_hard_bowel_movements","history_of_large_diameter_stools","large_fecal_mass_in_rectum","incontinence_after_toileting_at_least_weekly","large_diameter_stools_that_may_obstruct_toilet","duration_at_least_1_month"],"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":["rome-iv-infant-constipation","infant-constipation","gi","rome-iv","neonate-toddler","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:26:45.545Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T13:26:45.438Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"duration_at_least_1_month":true,"history_of_excessive_stool_retention":false,"history_of_large_diameter_stools":false,"history_of_painful_or_hard_bowel_movements":true,"incontinence_after_toileting_at_least_weekly":false,"large_diameter_stools_that_may_obstruct_toilet":false,"large_fecal_mass_in_rectum":false,"toilet_trained":false,"two_or_fewer_defecations_per_week":true},{"duration_at_least_1_month":true,"history_of_excessive_stool_retention":false,"history_of_large_diameter_stools":false,"history_of_painful_or_hard_bowel_movements":true,"incontinence_after_toileting_at_least_weekly":false,"large_diameter_stools_that_may_obstruct_toilet":false,"large_fecal_mass_in_rectum":false,"toilet_trained":false,"two_or_fewer_defecations_per_week":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"toilet_trained","met":false},{"factor":"two_or_fewer_defecations_per_week","met":true},{"factor":"history_of_excessive_stool_retention","met":false},{"factor":"history_of_painful_or_hard_bowel_movements","met":true},{"factor":"history_of_large_diameter_stools","met":false},{"factor":"large_fecal_mass_in_rectum","met":false},{"factor":"incontinence_after_toileting_at_least_weekly","met":false},{"factor":"large_diameter_stools_that_may_obstruct_toilet","met":false},{"factor":"duration_at_least_1_month","met":true},{"factor":"features_ge_2","met":true,"value":2}],"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.","features_met":2,"formula":"rome_iv_infant_constipation","formula_expression":"rome_iv_infant_constipation iff duration_at_least_1_month and features_met >= 2; features_met always counts two_or_fewer_defecations_per_week, history_of_excessive_stool_retention, history_of_painful_or_hard_bowel_movements, history_of_large_diameter_stools, and large_fecal_mass_in_rectum; if toilet_trained also counts incontinence_after_toileting_at_least_weekly and large_diameter_stools_that_may_obstruct_toilet (Benninga 2016 Rome IV G7 Functional Constipation)","rome_iv_infant_constipation":true},{"citation":{"authors":"Benninga MA, Faure C, Hyman PE, St James Roberts I, Schechter NL, Nurko S","doi":"10.1053/j.gastro.2016.02.016","id":"benninga-2016","pmid":"27144631","source":"Gastroenterology. 2016;150(6):1443-1455","title":"Childhood Functional Gastrointestinal Disorders: Neonate/Toddler"},"criteria":[{"factor":"toilet_trained","met":false},{"factor":"two_or_fewer_defecations_per_week","met":true},{"factor":"history_of_excessive_stool_retention","met":false},{"factor":"history_of_painful_or_hard_bowel_movements","met":true},{"factor":"history_of_large_diameter_stools","met":false},{"factor":"large_fecal_mass_in_rectum","met":false},{"factor":"incontinence_after_toileting_at_least_weekly","met":false},{"factor":"large_diameter_stools_that_may_obstruct_toilet","met":false},{"factor":"duration_at_least_1_month","met":true},{"factor":"features_ge_2","met":true,"value":2}],"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.","features_met":2,"formula":"rome_iv_infant_constipation","formula_expression":"rome_iv_infant_constipation iff duration_at_least_1_month and features_met >= 2; features_met always counts two_or_fewer_defecations_per_week, history_of_excessive_stool_retention, history_of_painful_or_hard_bowel_movements, history_of_large_diameter_stools, and large_fecal_mass_in_rectum; if toilet_trained also counts incontinence_after_toileting_at_least_weekly and large_diameter_stools_that_may_obstruct_toilet (Benninga 2016 Rome IV G7 Functional Constipation)","rome_iv_infant_constipation":true}],"path":"/api/calc/rome_iv_infant_constipation"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"duration_at_least_1_month":{"description":"Must include 1 month of at least 2 features, as assigned (Benninga 2016 Rome IV G7). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"history_of_excessive_stool_retention":{"description":"History of excessive stool retention, as assigned (Benninga 2016 Rome IV G7; one of five core features). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"history_of_large_diameter_stools":{"description":"History of large-diameter stools, as assigned (Benninga 2016 Rome IV G7; one of five core features). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"history_of_painful_or_hard_bowel_movements":{"description":"History of painful or hard bowel movements, as assigned (Benninga 2016 Rome IV G7; one of five core features). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"incontinence_after_toileting_at_least_weekly":{"description":"At least one episode per week of incontinence after the acquisition of toileting skills, as assigned (Benninga 2016 Rome IV G7 extra; counted only when toilet_trained is true). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"large_diameter_stools_that_may_obstruct_toilet":{"description":"History of large-diameter stools that may obstruct the toilet, as assigned (Benninga 2016 Rome IV G7 extra; counted only when toilet_trained is true). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"large_fecal_mass_in_rectum":{"description":"Large fecal mass in the rectum, as assigned (Benninga 2016 Rome IV G7; one of five core features). Digital rectal exam is caller-assigned. true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"toilet_trained":{"description":"Toilet-trained as assigned (Benninga 2016 Rome IV G7). When true, incontinence_after_toileting_at_least_weekly and large_diameter_stools_that_may_obstruct_toilet count toward features_met. true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"},"two_or_fewer_defecations_per_week":{"description":"Two or fewer defecations per week, as assigned (Benninga 2016 Rome IV G7; one of five core features). true or false as assigned by the caller. magent does not examine the infant.","type":"boolean"}},"required":["toilet_trained","two_or_fewer_defecations_per_week","history_of_excessive_stool_retention","history_of_painful_or_hard_bowel_movements","history_of_large_diameter_stools","large_fecal_mass_in_rectum","incontinence_after_toileting_at_least_weekly","large_diameter_stools_that_may_obstruct_toilet","duration_at_least_1_month"],"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},{"id":39348,"slug":"39348","resource":"https://api.magentlab.com/api/calc/rome_iv_functional_gallbladder","description":"Cotton 2016 Rome IV E1a functional gallbladder disorder. rome_iv_functional_gallbladder is true iff nested E1 biliary pain and absence of gallstones or other structural pathology. low_ef_on_gallbladder_scintigraphy and normal_liver_enzymes_conjugated_bilirubin_amylase_lipase are supportive and not required. Caller assigns nine flags. magent does not read ultrasound, EUS, or HIDA or decide cholecystectomy. Not a diagnosis, not biliary SOD, not pancreatic SOD.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"absence_of_gallstones_or_other_structural_pathology":true,"builds_to_steady_level_lasts_30_min_or_longer":true,"epigastric_or_ruq_pain":true,"low_ef_on_gallbladder_scintigraphy":true,"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase":true,"not_significantly_related_to_bowel_movements":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true,"occurring_at_different_intervals_not_daily":true,"severe_enough_to_interrupt_activities_or_ed_visit":true},{"absence_of_gallstones_or_other_structural_pathology":true,"builds_to_steady_level_lasts_30_min_or_longer":true,"epigastric_or_ruq_pain":true,"low_ef_on_gallbladder_scintigraphy":true,"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase":true,"not_significantly_related_to_bowel_movements":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true,"occurring_at_different_intervals_not_daily":true,"severe_enough_to_interrupt_activities_or_ed_visit":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"epigastric_or_ruq_pain","met":true},{"factor":"builds_to_steady_level_lasts_30_min_or_longer","met":true},{"factor":"occurring_at_different_intervals_not_daily","met":true},{"factor":"severe_enough_to_interrupt_activities_or_ed_visit","met":true},{"factor":"not_significantly_related_to_bowel_movements","met":true},{"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression","met":true},{"factor":"absence_of_gallstones_or_other_structural_pathology","met":true},{"factor":"low_ef_on_gallbladder_scintigraphy","met":true},{"factor":"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase","met":true}],"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":"rome_iv_functional_gallbladder","formula_expression":"rome_iv_functional_gallbladder iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression and absence_of_gallstones_or_other_structural_pathology (Cotton 2016 Rome IV E1a). low_ef_on_gallbladder_scintigraphy and normal_liver_enzymes_conjugated_bilirubin_amylase_lipase are supportive and not required.","low_ef_on_gallbladder_scintigraphy":true,"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase":true,"rome_iv_functional_gallbladder":true},{"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"epigastric_or_ruq_pain","met":true},{"factor":"builds_to_steady_level_lasts_30_min_or_longer","met":true},{"factor":"occurring_at_different_intervals_not_daily","met":true},{"factor":"severe_enough_to_interrupt_activities_or_ed_visit","met":true},{"factor":"not_significantly_related_to_bowel_movements","met":true},{"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression","met":true},{"factor":"absence_of_gallstones_or_other_structural_pathology","met":true},{"factor":"low_ef_on_gallbladder_scintigraphy","met":true},{"factor":"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase","met":true}],"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":"rome_iv_functional_gallbladder","formula_expression":"rome_iv_functional_gallbladder iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression and absence_of_gallstones_or_other_structural_pathology (Cotton 2016 Rome IV E1a). low_ef_on_gallbladder_scintigraphy and normal_liver_enzymes_conjugated_bilirubin_amylase_lipase are supportive and not required.","low_ef_on_gallbladder_scintigraphy":true,"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase":true,"rome_iv_functional_gallbladder":true}],"path":"/api/calc/rome_iv_functional_gallbladder"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"absence_of_gallstones_or_other_structural_pathology":{"description":"Absence of gallstones or other structural pathology, as assigned (Cotton 2016 Rome IV E1a). true or false as assigned by the caller. magent does not read ultrasound, EUS, or other imaging.","type":"boolean"},"builds_to_steady_level_lasts_30_min_or_longer":{"description":"Pain builds to a steady level and lasts 30 minutes or longer, as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"epigastric_or_ruq_pain":{"description":"Epigastric or right upper quadrant pain, as assigned (Cotton 2016 Rome IV E1 biliary pain). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"low_ef_on_gallbladder_scintigraphy":{"description":"Low ejection fraction on gallbladder scintigraphy, a supportive criterion that is not required for rome_iv_functional_gallbladder (Cotton 2016). true or false as assigned by the caller. magent does not read HIDA or decide cholecystectomy.","type":"boolean"},"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase":{"description":"Normal liver enzymes, conjugated bilirubin, and amylase/lipase, a supportive criterion that is not required for rome_iv_functional_gallbladder (Cotton 2016). true or false as assigned by the caller. magent does not read laboratory results.","type":"boolean"},"not_significantly_related_to_bowel_movements":{"description":"Pain not significantly related to bowel movements, as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_significantly_relieved_by_postural_change_or_acid_suppression":{"description":"Pain not significantly relieved by postural change or acid suppression, as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"occurring_at_different_intervals_not_daily":{"description":"Pain occurring at different intervals (not daily), as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"severe_enough_to_interrupt_activities_or_ed_visit":{"description":"Pain severe enough to interrupt usual activities or lead to an emergency department visit, as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["epigastric_or_ruq_pain","builds_to_steady_level_lasts_30_min_or_longer","occurring_at_different_intervals_not_daily","severe_enough_to_interrupt_activities_or_ed_visit","not_significantly_related_to_bowel_movements","not_significantly_relieved_by_postural_change_or_acid_suppression","absence_of_gallstones_or_other_structural_pathology","low_ef_on_gallbladder_scintigraphy","normal_liver_enzymes_conjugated_bilirubin_amylase_lipase"],"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":["rome-iv-fgbd","functional-gallbladder","gi","biliary","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:21:46.982Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T13:21:46.787Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"absence_of_gallstones_or_other_structural_pathology":true,"builds_to_steady_level_lasts_30_min_or_longer":true,"epigastric_or_ruq_pain":true,"low_ef_on_gallbladder_scintigraphy":true,"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase":true,"not_significantly_related_to_bowel_movements":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true,"occurring_at_different_intervals_not_daily":true,"severe_enough_to_interrupt_activities_or_ed_visit":true},{"absence_of_gallstones_or_other_structural_pathology":true,"builds_to_steady_level_lasts_30_min_or_longer":true,"epigastric_or_ruq_pain":true,"low_ef_on_gallbladder_scintigraphy":true,"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase":true,"not_significantly_related_to_bowel_movements":true,"not_significantly_relieved_by_postural_change_or_acid_suppression":true,"occurring_at_different_intervals_not_daily":true,"severe_enough_to_interrupt_activities_or_ed_visit":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"epigastric_or_ruq_pain","met":true},{"factor":"builds_to_steady_level_lasts_30_min_or_longer","met":true},{"factor":"occurring_at_different_intervals_not_daily","met":true},{"factor":"severe_enough_to_interrupt_activities_or_ed_visit","met":true},{"factor":"not_significantly_related_to_bowel_movements","met":true},{"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression","met":true},{"factor":"absence_of_gallstones_or_other_structural_pathology","met":true},{"factor":"low_ef_on_gallbladder_scintigraphy","met":true},{"factor":"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase","met":true}],"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":"rome_iv_functional_gallbladder","formula_expression":"rome_iv_functional_gallbladder iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression and absence_of_gallstones_or_other_structural_pathology (Cotton 2016 Rome IV E1a). low_ef_on_gallbladder_scintigraphy and normal_liver_enzymes_conjugated_bilirubin_amylase_lipase are supportive and not required.","low_ef_on_gallbladder_scintigraphy":true,"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase":true,"rome_iv_functional_gallbladder":true},{"citation":{"authors":"Cotton PB, Elta GH, Carter CR, Pasricha PJ, Corazziari ES","doi":"10.1053/j.gastro.2016.02.033","id":"cotton-2016","pmid":"27144629","source":"Gastroenterology. 2016;150(6):1420-1429","title":"Gallbladder and Sphincter of Oddi Disorders"},"criteria":[{"factor":"epigastric_or_ruq_pain","met":true},{"factor":"builds_to_steady_level_lasts_30_min_or_longer","met":true},{"factor":"occurring_at_different_intervals_not_daily","met":true},{"factor":"severe_enough_to_interrupt_activities_or_ed_visit","met":true},{"factor":"not_significantly_related_to_bowel_movements","met":true},{"factor":"not_significantly_relieved_by_postural_change_or_acid_suppression","met":true},{"factor":"absence_of_gallstones_or_other_structural_pathology","met":true},{"factor":"low_ef_on_gallbladder_scintigraphy","met":true},{"factor":"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase","met":true}],"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":"rome_iv_functional_gallbladder","formula_expression":"rome_iv_functional_gallbladder iff epigastric_or_ruq_pain and builds_to_steady_level_lasts_30_min_or_longer and occurring_at_different_intervals_not_daily and severe_enough_to_interrupt_activities_or_ed_visit and not_significantly_related_to_bowel_movements and not_significantly_relieved_by_postural_change_or_acid_suppression and absence_of_gallstones_or_other_structural_pathology (Cotton 2016 Rome IV E1a). low_ef_on_gallbladder_scintigraphy and normal_liver_enzymes_conjugated_bilirubin_amylase_lipase are supportive and not required.","low_ef_on_gallbladder_scintigraphy":true,"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase":true,"rome_iv_functional_gallbladder":true}],"path":"/api/calc/rome_iv_functional_gallbladder"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"absence_of_gallstones_or_other_structural_pathology":{"description":"Absence of gallstones or other structural pathology, as assigned (Cotton 2016 Rome IV E1a). true or false as assigned by the caller. magent does not read ultrasound, EUS, or other imaging.","type":"boolean"},"builds_to_steady_level_lasts_30_min_or_longer":{"description":"Pain builds to a steady level and lasts 30 minutes or longer, as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"epigastric_or_ruq_pain":{"description":"Epigastric or right upper quadrant pain, as assigned (Cotton 2016 Rome IV E1 biliary pain). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"low_ef_on_gallbladder_scintigraphy":{"description":"Low ejection fraction on gallbladder scintigraphy, a supportive criterion that is not required for rome_iv_functional_gallbladder (Cotton 2016). true or false as assigned by the caller. magent does not read HIDA or decide cholecystectomy.","type":"boolean"},"normal_liver_enzymes_conjugated_bilirubin_amylase_lipase":{"description":"Normal liver enzymes, conjugated bilirubin, and amylase/lipase, a supportive criterion that is not required for rome_iv_functional_gallbladder (Cotton 2016). true or false as assigned by the caller. magent does not read laboratory results.","type":"boolean"},"not_significantly_related_to_bowel_movements":{"description":"Pain not significantly related to bowel movements, as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_significantly_relieved_by_postural_change_or_acid_suppression":{"description":"Pain not significantly relieved by postural change or acid suppression, as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"occurring_at_different_intervals_not_daily":{"description":"Pain occurring at different intervals (not daily), as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"severe_enough_to_interrupt_activities_or_ed_visit":{"description":"Pain severe enough to interrupt usual activities or lead to an emergency department visit, as assigned (Cotton 2016 E1). true or false as assigned by the caller. magent does not take a history.","type":"boolean"}},"required":["epigastric_or_ruq_pain","builds_to_steady_level_lasts_30_min_or_longer","occurring_at_different_intervals_not_daily","severe_enough_to_interrupt_activities_or_ed_visit","not_significantly_related_to_bowel_movements","not_significantly_relieved_by_postural_change_or_acid_suppression","absence_of_gallstones_or_other_structural_pathology","low_ef_on_gallbladder_scintigraphy","normal_liver_enzymes_conjugated_bilirubin_amylase_lipase"],"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},{"id":39349,"slug":"39349","resource":"https://api.magentlab.com/api/calc/rome_iv_fecal_incontinence","description":"Rao 2016 Rome IV fecal incontinence. rome_iv_fecal_incontinence is true iff recurrent uncontrolled passage of fecal material, developmental age at least 4 years, last-3-months criteria, and 6-month onset. The research 2–4 episodes in 4 weeks frequency remark is copy-only and not parsed. magent does not examine the patient or read manometry. Not a diagnosis, not pediatric nonretentive fecal incontinence (H3b), not Wexner constipation score.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"developmental_age_at_least_4":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"recurrent_uncontrolled_passage_of_fecal_material":true},{"developmental_age_at_least_4":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"recurrent_uncontrolled_passage_of_fecal_material":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"recurrent_uncontrolled_passage_of_fecal_material","met":true},{"factor":"developmental_age_at_least_4","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_fecal_incontinence","formula_expression":"rome_iv_fecal_incontinence iff recurrent_uncontrolled_passage_of_fecal_material and developmental_age_at_least_4 and fulfilled_last_3_months and onset_at_least_6_months (Rao 2016 Rome IV fecal incontinence)","rome_iv_fecal_incontinence":true},{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"recurrent_uncontrolled_passage_of_fecal_material","met":true},{"factor":"developmental_age_at_least_4","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_fecal_incontinence","formula_expression":"rome_iv_fecal_incontinence iff recurrent_uncontrolled_passage_of_fecal_material and developmental_age_at_least_4 and fulfilled_last_3_months and onset_at_least_6_months (Rao 2016 Rome IV fecal incontinence)","rome_iv_fecal_incontinence":true}],"path":"/api/calc/rome_iv_fecal_incontinence"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"developmental_age_at_least_4":{"description":"Developmental age at least 4 years, as assigned (Rao 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Rao 2016 research timing, same as other magent Rome tools). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"recurrent_uncontrolled_passage_of_fecal_material":{"description":"Recurrent uncontrolled passage of fecal material for at least 3 months in a person with developmental age at least 4 years (Rao 2016 Rome IV fecal incontinence F1 clinical definition). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["recurrent_uncontrolled_passage_of_fecal_material","developmental_age_at_least_4","fulfilled_last_3_months","onset_at_least_6_months"],"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":["rome-iv-fecal-incontinence","fecal-incontinence","gi","anorectal","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:17:05.459Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T13:17:05.257Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"developmental_age_at_least_4":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"recurrent_uncontrolled_passage_of_fecal_material":true},{"developmental_age_at_least_4":true,"fulfilled_last_3_months":true,"onset_at_least_6_months":true,"recurrent_uncontrolled_passage_of_fecal_material":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"recurrent_uncontrolled_passage_of_fecal_material","met":true},{"factor":"developmental_age_at_least_4","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_fecal_incontinence","formula_expression":"rome_iv_fecal_incontinence iff recurrent_uncontrolled_passage_of_fecal_material and developmental_age_at_least_4 and fulfilled_last_3_months and onset_at_least_6_months (Rao 2016 Rome IV fecal incontinence)","rome_iv_fecal_incontinence":true},{"citation":{"authors":"Rao SSC, Bharucha AE, Chiarioni G, Felt-Bersma R, Knowles C, Malcolm A, Wald A","doi":"10.1053/j.gastro.2016.02.009","id":"rao-2016","pmid":"27144630","source":"Gastroenterology. 2016;150(6):1430-1442","title":"Anorectal Disorders"},"criteria":[{"factor":"recurrent_uncontrolled_passage_of_fecal_material","met":true},{"factor":"developmental_age_at_least_4","met":true},{"factor":"fulfilled_last_3_months","met":true},{"factor":"onset_at_least_6_months","met":true}],"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":"rome_iv_fecal_incontinence","formula_expression":"rome_iv_fecal_incontinence iff recurrent_uncontrolled_passage_of_fecal_material and developmental_age_at_least_4 and fulfilled_last_3_months and onset_at_least_6_months (Rao 2016 Rome IV fecal incontinence)","rome_iv_fecal_incontinence":true}],"path":"/api/calc/rome_iv_fecal_incontinence"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"developmental_age_at_least_4":{"description":"Developmental age at least 4 years, as assigned (Rao 2016). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fulfilled_last_3_months":{"description":"Criteria fulfilled for the last 3 months, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"onset_at_least_6_months":{"description":"Symptom onset at least 6 months prior to diagnosis, as assigned (Rao 2016 research timing, same as other magent Rome tools). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"recurrent_uncontrolled_passage_of_fecal_material":{"description":"Recurrent uncontrolled passage of fecal material for at least 3 months in a person with developmental age at least 4 years (Rao 2016 Rome IV fecal incontinence F1 clinical definition). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["recurrent_uncontrolled_passage_of_fecal_material","developmental_age_at_least_4","fulfilled_last_3_months","onset_at_least_6_months"],"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},{"id":39350,"slug":"39350","resource":"https://api.magentlab.com/api/calc/rome_iv_child_rumination","description":"Hyams 2016 Rome IV H1c child rumination. rome_iv_child_rumination is true iff repeated_regurgitation_rechewing_or_expulsion_soon_after_meals, does_not_occur_during_sleep, not_preceded_by_retching, not_explained_by_another_condition_or_eating_disorder, and fulfilled_at_least_2_months. GERD-treatment failure and weekly frequency are not required. Manometry is not parsed. Caller assigns five flags. magent does not observe regurgitation. Not a diagnosis, not adult Rome IV rumination, not neonate G2.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"does_not_occur_during_sleep":true,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition_or_eating_disorder":true,"not_preceded_by_retching":true,"repeated_regurgitation_rechewing_or_expulsion_soon_after_meals":true},{"does_not_occur_during_sleep":true,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition_or_eating_disorder":true,"not_preceded_by_retching":true,"repeated_regurgitation_rechewing_or_expulsion_soon_after_meals":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"repeated_regurgitation_rechewing_or_expulsion_soon_after_meals","met":true},{"factor":"does_not_occur_during_sleep","met":true},{"factor":"not_preceded_by_retching","met":true},{"factor":"not_explained_by_another_condition_or_eating_disorder","met":true},{"factor":"fulfilled_at_least_2_months","met":true}],"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":"rome_iv_child_rumination","formula_expression":"rome_iv_child_rumination iff repeated_regurgitation_rechewing_or_expulsion_soon_after_meals and does_not_occur_during_sleep and not_preceded_by_retching and not_explained_by_another_condition_or_eating_disorder and fulfilled_at_least_2_months (Hyams 2016 Rome IV H1c rumination syndrome)","rome_iv_child_rumination":true},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"repeated_regurgitation_rechewing_or_expulsion_soon_after_meals","met":true},{"factor":"does_not_occur_during_sleep","met":true},{"factor":"not_preceded_by_retching","met":true},{"factor":"not_explained_by_another_condition_or_eating_disorder","met":true},{"factor":"fulfilled_at_least_2_months","met":true}],"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":"rome_iv_child_rumination","formula_expression":"rome_iv_child_rumination iff repeated_regurgitation_rechewing_or_expulsion_soon_after_meals and does_not_occur_during_sleep and not_preceded_by_retching and not_explained_by_another_condition_or_eating_disorder and fulfilled_at_least_2_months (Hyams 2016 Rome IV H1c rumination syndrome)","rome_iv_child_rumination":true}],"path":"/api/calc/rome_iv_child_rumination"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"does_not_occur_during_sleep":{"description":"The regurgitation does not occur during sleep, as assigned (Hyams 2016 Rome IV H1c). The paper's 1b (not during sleep) is this flag. true or false as assigned by the caller. magent does not observe regurgitation.","type":"boolean"},"fulfilled_at_least_2_months":{"description":"Criteria fulfilled for at least 2 months prior to diagnosis, as assigned (Hyams 2016 Rome IV H1c). true or false as assigned by the caller.","type":"boolean"},"not_explained_by_another_condition_or_eating_disorder":{"description":"After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, and an eating disorder has been ruled out, as assigned (Hyams 2016 Rome IV H1c). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"not_preceded_by_retching":{"description":"Not preceded by retching, as assigned (Hyams 2016 Rome IV H1c). true or false as assigned by the caller. magent does not observe regurgitation.","type":"boolean"},"repeated_regurgitation_rechewing_or_expulsion_soon_after_meals":{"description":"Repeated regurgitation and rechewing or expulsion of food that begins soon after ingestion of a meal, as assigned (Hyams 2016 Rome IV H1c). The paper's 1a (begins soon after meals) is folded into this flag. true or false as assigned by the caller. magent does not observe regurgitation.","type":"boolean"}},"required":["repeated_regurgitation_rechewing_or_expulsion_soon_after_meals","does_not_occur_during_sleep","not_preceded_by_retching","not_explained_by_another_condition_or_eating_disorder","fulfilled_at_least_2_months"],"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":["rome-iv-child-rumination","child-rumination","gi","rome-iv","h1c","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:12:18.454Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T13:12:18.225Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"does_not_occur_during_sleep":true,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition_or_eating_disorder":true,"not_preceded_by_retching":true,"repeated_regurgitation_rechewing_or_expulsion_soon_after_meals":true},{"does_not_occur_during_sleep":true,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition_or_eating_disorder":true,"not_preceded_by_retching":true,"repeated_regurgitation_rechewing_or_expulsion_soon_after_meals":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"repeated_regurgitation_rechewing_or_expulsion_soon_after_meals","met":true},{"factor":"does_not_occur_during_sleep","met":true},{"factor":"not_preceded_by_retching","met":true},{"factor":"not_explained_by_another_condition_or_eating_disorder","met":true},{"factor":"fulfilled_at_least_2_months","met":true}],"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":"rome_iv_child_rumination","formula_expression":"rome_iv_child_rumination iff repeated_regurgitation_rechewing_or_expulsion_soon_after_meals and does_not_occur_during_sleep and not_preceded_by_retching and not_explained_by_another_condition_or_eating_disorder and fulfilled_at_least_2_months (Hyams 2016 Rome IV H1c rumination syndrome)","rome_iv_child_rumination":true},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"repeated_regurgitation_rechewing_or_expulsion_soon_after_meals","met":true},{"factor":"does_not_occur_during_sleep","met":true},{"factor":"not_preceded_by_retching","met":true},{"factor":"not_explained_by_another_condition_or_eating_disorder","met":true},{"factor":"fulfilled_at_least_2_months","met":true}],"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":"rome_iv_child_rumination","formula_expression":"rome_iv_child_rumination iff repeated_regurgitation_rechewing_or_expulsion_soon_after_meals and does_not_occur_during_sleep and not_preceded_by_retching and not_explained_by_another_condition_or_eating_disorder and fulfilled_at_least_2_months (Hyams 2016 Rome IV H1c rumination syndrome)","rome_iv_child_rumination":true}],"path":"/api/calc/rome_iv_child_rumination"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"does_not_occur_during_sleep":{"description":"The regurgitation does not occur during sleep, as assigned (Hyams 2016 Rome IV H1c). The paper's 1b (not during sleep) is this flag. true or false as assigned by the caller. magent does not observe regurgitation.","type":"boolean"},"fulfilled_at_least_2_months":{"description":"Criteria fulfilled for at least 2 months prior to diagnosis, as assigned (Hyams 2016 Rome IV H1c). true or false as assigned by the caller.","type":"boolean"},"not_explained_by_another_condition_or_eating_disorder":{"description":"After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, and an eating disorder has been ruled out, as assigned (Hyams 2016 Rome IV H1c). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"not_preceded_by_retching":{"description":"Not preceded by retching, as assigned (Hyams 2016 Rome IV H1c). true or false as assigned by the caller. magent does not observe regurgitation.","type":"boolean"},"repeated_regurgitation_rechewing_or_expulsion_soon_after_meals":{"description":"Repeated regurgitation and rechewing or expulsion of food that begins soon after ingestion of a meal, as assigned (Hyams 2016 Rome IV H1c). The paper's 1a (begins soon after meals) is folded into this flag. true or false as assigned by the caller. magent does not observe regurgitation.","type":"boolean"}},"required":["repeated_regurgitation_rechewing_or_expulsion_soon_after_meals","does_not_occur_during_sleep","not_preceded_by_retching","not_explained_by_another_condition_or_eating_disorder","fulfilled_at_least_2_months"],"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},{"id":39351,"slug":"39351","resource":"https://api.magentlab.com/api/calc/rome_iv_child_nausea_vomiting","description":"Hyams 2016 Rome IV H1b. Functional nausea iff 2-month duration plus bothersome_nausea_twice_weekly_not_meal_related, nausea_not_consistently_associated_with_vomiting, and nausea_not_explained_by_another_condition. Functional vomiting iff 2-month duration plus vomiting_at_least_weekly, no_self_induced_eating_disorder_or_rumination, and vomiting_not_explained_by_another_condition. Both may be true. magent does not examine the child. Not a diagnosis, not H1a, CNVS, H1c, or neonate/toddler.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bothersome_nausea_twice_weekly_not_meal_related":true,"fulfilled_at_least_2_months":true,"nausea_not_consistently_associated_with_vomiting":true,"nausea_not_explained_by_another_condition":true,"no_self_induced_eating_disorder_or_rumination":false,"vomiting_at_least_weekly":false,"vomiting_not_explained_by_another_condition":false},{"bothersome_nausea_twice_weekly_not_meal_related":true,"fulfilled_at_least_2_months":true,"nausea_not_consistently_associated_with_vomiting":true,"nausea_not_explained_by_another_condition":true,"no_self_induced_eating_disorder_or_rumination":false,"vomiting_at_least_weekly":false,"vomiting_not_explained_by_another_condition":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"fulfilled_at_least_2_months","met":true},{"factor":"bothersome_nausea_twice_weekly_not_meal_related","met":true},{"factor":"nausea_not_consistently_associated_with_vomiting","met":true},{"factor":"nausea_not_explained_by_another_condition","met":true},{"factor":"vomiting_at_least_weekly","met":false},{"factor":"no_self_induced_eating_disorder_or_rumination","met":false},{"factor":"vomiting_not_explained_by_another_condition","met":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":"rome_iv_child_nausea_vomiting","formula_expression":"rome_iv_child_functional_nausea iff fulfilled_at_least_2_months and bothersome_nausea_twice_weekly_not_meal_related and nausea_not_consistently_associated_with_vomiting and nausea_not_explained_by_another_condition; rome_iv_child_functional_vomiting iff fulfilled_at_least_2_months and vomiting_at_least_weekly and no_self_induced_eating_disorder_or_rumination and vomiting_not_explained_by_another_condition (Hyams 2016 Rome IV H1b Functional Nausea and Functional Vomiting)","rome_iv_child_functional_nausea":true,"rome_iv_child_functional_vomiting":false},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"fulfilled_at_least_2_months","met":true},{"factor":"bothersome_nausea_twice_weekly_not_meal_related","met":true},{"factor":"nausea_not_consistently_associated_with_vomiting","met":true},{"factor":"nausea_not_explained_by_another_condition","met":true},{"factor":"vomiting_at_least_weekly","met":false},{"factor":"no_self_induced_eating_disorder_or_rumination","met":false},{"factor":"vomiting_not_explained_by_another_condition","met":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":"rome_iv_child_nausea_vomiting","formula_expression":"rome_iv_child_functional_nausea iff fulfilled_at_least_2_months and bothersome_nausea_twice_weekly_not_meal_related and nausea_not_consistently_associated_with_vomiting and nausea_not_explained_by_another_condition; rome_iv_child_functional_vomiting iff fulfilled_at_least_2_months and vomiting_at_least_weekly and no_self_induced_eating_disorder_or_rumination and vomiting_not_explained_by_another_condition (Hyams 2016 Rome IV H1b Functional Nausea and Functional Vomiting)","rome_iv_child_functional_nausea":true,"rome_iv_child_functional_vomiting":false}],"path":"/api/calc/rome_iv_child_nausea_vomiting"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bothersome_nausea_twice_weekly_not_meal_related":{"description":"Bothersome nausea as the predominant symptom, occurring at least twice per week, and generally not related to meals, as assigned (Hyams 2016 Rome IV H1b1). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"fulfilled_at_least_2_months":{"description":"Criteria fulfilled for at least 2 months before diagnosis, as assigned (Hyams 2016 Rome IV H1b; shared duration for functional nausea and functional vomiting). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"nausea_not_consistently_associated_with_vomiting":{"description":"Nausea is not consistently associated with vomiting, as assigned (Hyams 2016 Rome IV H1b1). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"nausea_not_explained_by_another_condition":{"description":"After appropriate evaluation, the nausea cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H1b1). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"no_self_induced_eating_disorder_or_rumination":{"description":"Absence of self-induced vomiting or criteria for an eating disorder or rumination, as assigned (Hyams 2016 Rome IV H1b2). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"vomiting_at_least_weekly":{"description":"On average one or more episodes of vomiting per week, as assigned (Hyams 2016 Rome IV H1b2). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"vomiting_not_explained_by_another_condition":{"description":"After appropriate evaluation, the vomiting cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H1b2). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["fulfilled_at_least_2_months","bothersome_nausea_twice_weekly_not_meal_related","nausea_not_consistently_associated_with_vomiting","nausea_not_explained_by_another_condition","vomiting_at_least_weekly","no_self_induced_eating_disorder_or_rumination","vomiting_not_explained_by_another_condition"],"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":["rome-iv-h1b","child-nausea","child-vomiting","gi","rome-iv","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:12:16.86Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T13:12:16.589Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bothersome_nausea_twice_weekly_not_meal_related":true,"fulfilled_at_least_2_months":true,"nausea_not_consistently_associated_with_vomiting":true,"nausea_not_explained_by_another_condition":true,"no_self_induced_eating_disorder_or_rumination":false,"vomiting_at_least_weekly":false,"vomiting_not_explained_by_another_condition":false},{"bothersome_nausea_twice_weekly_not_meal_related":true,"fulfilled_at_least_2_months":true,"nausea_not_consistently_associated_with_vomiting":true,"nausea_not_explained_by_another_condition":true,"no_self_induced_eating_disorder_or_rumination":false,"vomiting_at_least_weekly":false,"vomiting_not_explained_by_another_condition":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"fulfilled_at_least_2_months","met":true},{"factor":"bothersome_nausea_twice_weekly_not_meal_related","met":true},{"factor":"nausea_not_consistently_associated_with_vomiting","met":true},{"factor":"nausea_not_explained_by_another_condition","met":true},{"factor":"vomiting_at_least_weekly","met":false},{"factor":"no_self_induced_eating_disorder_or_rumination","met":false},{"factor":"vomiting_not_explained_by_another_condition","met":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":"rome_iv_child_nausea_vomiting","formula_expression":"rome_iv_child_functional_nausea iff fulfilled_at_least_2_months and bothersome_nausea_twice_weekly_not_meal_related and nausea_not_consistently_associated_with_vomiting and nausea_not_explained_by_another_condition; rome_iv_child_functional_vomiting iff fulfilled_at_least_2_months and vomiting_at_least_weekly and no_self_induced_eating_disorder_or_rumination and vomiting_not_explained_by_another_condition (Hyams 2016 Rome IV H1b Functional Nausea and Functional Vomiting)","rome_iv_child_functional_nausea":true,"rome_iv_child_functional_vomiting":false},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"fulfilled_at_least_2_months","met":true},{"factor":"bothersome_nausea_twice_weekly_not_meal_related","met":true},{"factor":"nausea_not_consistently_associated_with_vomiting","met":true},{"factor":"nausea_not_explained_by_another_condition","met":true},{"factor":"vomiting_at_least_weekly","met":false},{"factor":"no_self_induced_eating_disorder_or_rumination","met":false},{"factor":"vomiting_not_explained_by_another_condition","met":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":"rome_iv_child_nausea_vomiting","formula_expression":"rome_iv_child_functional_nausea iff fulfilled_at_least_2_months and bothersome_nausea_twice_weekly_not_meal_related and nausea_not_consistently_associated_with_vomiting and nausea_not_explained_by_another_condition; rome_iv_child_functional_vomiting iff fulfilled_at_least_2_months and vomiting_at_least_weekly and no_self_induced_eating_disorder_or_rumination and vomiting_not_explained_by_another_condition (Hyams 2016 Rome IV H1b Functional Nausea and Functional Vomiting)","rome_iv_child_functional_nausea":true,"rome_iv_child_functional_vomiting":false}],"path":"/api/calc/rome_iv_child_nausea_vomiting"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bothersome_nausea_twice_weekly_not_meal_related":{"description":"Bothersome nausea as the predominant symptom, occurring at least twice per week, and generally not related to meals, as assigned (Hyams 2016 Rome IV H1b1). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"fulfilled_at_least_2_months":{"description":"Criteria fulfilled for at least 2 months before diagnosis, as assigned (Hyams 2016 Rome IV H1b; shared duration for functional nausea and functional vomiting). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"nausea_not_consistently_associated_with_vomiting":{"description":"Nausea is not consistently associated with vomiting, as assigned (Hyams 2016 Rome IV H1b1). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"nausea_not_explained_by_another_condition":{"description":"After appropriate evaluation, the nausea cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H1b1). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"no_self_induced_eating_disorder_or_rumination":{"description":"Absence of self-induced vomiting or criteria for an eating disorder or rumination, as assigned (Hyams 2016 Rome IV H1b2). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"vomiting_at_least_weekly":{"description":"On average one or more episodes of vomiting per week, as assigned (Hyams 2016 Rome IV H1b2). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"vomiting_not_explained_by_another_condition":{"description":"After appropriate evaluation, the vomiting cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H1b2). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["fulfilled_at_least_2_months","bothersome_nausea_twice_weekly_not_meal_related","nausea_not_consistently_associated_with_vomiting","nausea_not_explained_by_another_condition","vomiting_at_least_weekly","no_self_induced_eating_disorder_or_rumination","vomiting_not_explained_by_another_condition"],"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},{"id":39352,"slug":"39352","resource":"https://api.magentlab.com/api/calc/rome_iv_child_constipation","description":"Hyams 2016 Rome IV H3a. rome_iv_child_constipation is true iff developmental_age_at_least_4_years, duration_at_least_1_month, features_met >= 2, insufficient_criteria_for_ibs, and not_explained_by_another_condition. features_met always counts all six H3a flags (no G7 toilet-trained extras). Weekly frequency is folded into those flags. Caller assigns flags including large_fecal_mass_in_rectum. magent does not examine the child. Not a diagnosis, not infant G7, not adult Rome IV FC.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"developmental_age_at_least_4_years":true,"duration_at_least_1_month":true,"fecal_incontinence_at_least_weekly":false,"insufficient_criteria_for_ibs":true,"large_diameter_stools_that_can_obstruct_toilet":false,"large_fecal_mass_in_rectum":false,"not_explained_by_another_condition":true,"painful_or_hard_bowel_movements":true,"retentive_posturing_or_excessive_volitional_stool_retention":false,"two_or_fewer_defecations_in_toilet_per_week":true},{"developmental_age_at_least_4_years":true,"duration_at_least_1_month":true,"fecal_incontinence_at_least_weekly":false,"insufficient_criteria_for_ibs":true,"large_diameter_stools_that_can_obstruct_toilet":false,"large_fecal_mass_in_rectum":false,"not_explained_by_another_condition":true,"painful_or_hard_bowel_movements":true,"retentive_posturing_or_excessive_volitional_stool_retention":false,"two_or_fewer_defecations_in_toilet_per_week":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"developmental_age_at_least_4_years","met":true},{"factor":"two_or_fewer_defecations_in_toilet_per_week","met":true},{"factor":"fecal_incontinence_at_least_weekly","met":false},{"factor":"retentive_posturing_or_excessive_volitional_stool_retention","met":false},{"factor":"painful_or_hard_bowel_movements","met":true},{"factor":"large_fecal_mass_in_rectum","met":false},{"factor":"large_diameter_stools_that_can_obstruct_toilet","met":false},{"factor":"duration_at_least_1_month","met":true},{"factor":"features_ge_2","met":true,"value":2},{"factor":"insufficient_criteria_for_ibs","met":true},{"factor":"not_explained_by_another_condition","met":true}],"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.","features_met":2,"formula":"rome_iv_child_constipation","formula_expression":"rome_iv_child_constipation iff developmental_age_at_least_4_years and duration_at_least_1_month and features_met >= 2 and insufficient_criteria_for_ibs and not_explained_by_another_condition; features_met always counts two_or_fewer_defecations_in_toilet_per_week, fecal_incontinence_at_least_weekly, retentive_posturing_or_excessive_volitional_stool_retention, painful_or_hard_bowel_movements, large_fecal_mass_in_rectum, and large_diameter_stools_that_can_obstruct_toilet (Hyams 2016 Rome IV H3a Functional Constipation)","rome_iv_child_constipation":true},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"developmental_age_at_least_4_years","met":true},{"factor":"two_or_fewer_defecations_in_toilet_per_week","met":true},{"factor":"fecal_incontinence_at_least_weekly","met":false},{"factor":"retentive_posturing_or_excessive_volitional_stool_retention","met":false},{"factor":"painful_or_hard_bowel_movements","met":true},{"factor":"large_fecal_mass_in_rectum","met":false},{"factor":"large_diameter_stools_that_can_obstruct_toilet","met":false},{"factor":"duration_at_least_1_month","met":true},{"factor":"features_ge_2","met":true,"value":2},{"factor":"insufficient_criteria_for_ibs","met":true},{"factor":"not_explained_by_another_condition","met":true}],"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.","features_met":2,"formula":"rome_iv_child_constipation","formula_expression":"rome_iv_child_constipation iff developmental_age_at_least_4_years and duration_at_least_1_month and features_met >= 2 and insufficient_criteria_for_ibs and not_explained_by_another_condition; features_met always counts two_or_fewer_defecations_in_toilet_per_week, fecal_incontinence_at_least_weekly, retentive_posturing_or_excessive_volitional_stool_retention, painful_or_hard_bowel_movements, large_fecal_mass_in_rectum, and large_diameter_stools_that_can_obstruct_toilet (Hyams 2016 Rome IV H3a Functional Constipation)","rome_iv_child_constipation":true}],"path":"/api/calc/rome_iv_child_constipation"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"developmental_age_at_least_4_years":{"description":"Developmental age at least 4 years, as assigned (Hyams 2016 Rome IV H3a child/adolescent). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"duration_at_least_1_month":{"description":"Must include 1 month of at least 2 features occurring at least once per week, as assigned (Hyams 2016 Rome IV H3a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"fecal_incontinence_at_least_weekly":{"description":"At least one episode of fecal incontinence per week, as assigned (Hyams 2016 Rome IV H3a; one of six features; weekly frequency is folded into this flag). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"insufficient_criteria_for_ibs":{"description":"Insufficient criteria for irritable bowel syndrome, as assigned (Hyams 2016 Rome IV H3a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"large_diameter_stools_that_can_obstruct_toilet":{"description":"History of large-diameter stools that can obstruct the toilet, as assigned (Hyams 2016 Rome IV H3a; one of six features; weekly frequency is folded into this flag). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"large_fecal_mass_in_rectum":{"description":"Presence of a large fecal mass in the rectum, as assigned (Hyams 2016 Rome IV H3a; one of six features; digital rectal exam is caller-assigned). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H3a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"painful_or_hard_bowel_movements":{"description":"History of painful or hard bowel movements, as assigned (Hyams 2016 Rome IV H3a; one of six features; weekly frequency is folded into this flag). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"retentive_posturing_or_excessive_volitional_stool_retention":{"description":"History of retentive posturing or excessive volitional stool retention, as assigned (Hyams 2016 Rome IV H3a; one of six features; weekly frequency is folded into this flag). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"two_or_fewer_defecations_in_toilet_per_week":{"description":"Two or fewer defecations in the toilet per week, as assigned (Hyams 2016 Rome IV H3a; one of six features; weekly frequency is folded into this flag). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["developmental_age_at_least_4_years","two_or_fewer_defecations_in_toilet_per_week","fecal_incontinence_at_least_weekly","retentive_posturing_or_excessive_volitional_stool_retention","painful_or_hard_bowel_movements","large_fecal_mass_in_rectum","large_diameter_stools_that_can_obstruct_toilet","duration_at_least_1_month","insufficient_criteria_for_ibs","not_explained_by_another_condition"],"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":["rome-iv-child-constipation","child-constipation","gi","rome-iv","h3a","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:02:23.732Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T13:02:23.572Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"developmental_age_at_least_4_years":true,"duration_at_least_1_month":true,"fecal_incontinence_at_least_weekly":false,"insufficient_criteria_for_ibs":true,"large_diameter_stools_that_can_obstruct_toilet":false,"large_fecal_mass_in_rectum":false,"not_explained_by_another_condition":true,"painful_or_hard_bowel_movements":true,"retentive_posturing_or_excessive_volitional_stool_retention":false,"two_or_fewer_defecations_in_toilet_per_week":true},{"developmental_age_at_least_4_years":true,"duration_at_least_1_month":true,"fecal_incontinence_at_least_weekly":false,"insufficient_criteria_for_ibs":true,"large_diameter_stools_that_can_obstruct_toilet":false,"large_fecal_mass_in_rectum":false,"not_explained_by_another_condition":true,"painful_or_hard_bowel_movements":true,"retentive_posturing_or_excessive_volitional_stool_retention":false,"two_or_fewer_defecations_in_toilet_per_week":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"developmental_age_at_least_4_years","met":true},{"factor":"two_or_fewer_defecations_in_toilet_per_week","met":true},{"factor":"fecal_incontinence_at_least_weekly","met":false},{"factor":"retentive_posturing_or_excessive_volitional_stool_retention","met":false},{"factor":"painful_or_hard_bowel_movements","met":true},{"factor":"large_fecal_mass_in_rectum","met":false},{"factor":"large_diameter_stools_that_can_obstruct_toilet","met":false},{"factor":"duration_at_least_1_month","met":true},{"factor":"features_ge_2","met":true,"value":2},{"factor":"insufficient_criteria_for_ibs","met":true},{"factor":"not_explained_by_another_condition","met":true}],"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.","features_met":2,"formula":"rome_iv_child_constipation","formula_expression":"rome_iv_child_constipation iff developmental_age_at_least_4_years and duration_at_least_1_month and features_met >= 2 and insufficient_criteria_for_ibs and not_explained_by_another_condition; features_met always counts two_or_fewer_defecations_in_toilet_per_week, fecal_incontinence_at_least_weekly, retentive_posturing_or_excessive_volitional_stool_retention, painful_or_hard_bowel_movements, large_fecal_mass_in_rectum, and large_diameter_stools_that_can_obstruct_toilet (Hyams 2016 Rome IV H3a Functional Constipation)","rome_iv_child_constipation":true},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"developmental_age_at_least_4_years","met":true},{"factor":"two_or_fewer_defecations_in_toilet_per_week","met":true},{"factor":"fecal_incontinence_at_least_weekly","met":false},{"factor":"retentive_posturing_or_excessive_volitional_stool_retention","met":false},{"factor":"painful_or_hard_bowel_movements","met":true},{"factor":"large_fecal_mass_in_rectum","met":false},{"factor":"large_diameter_stools_that_can_obstruct_toilet","met":false},{"factor":"duration_at_least_1_month","met":true},{"factor":"features_ge_2","met":true,"value":2},{"factor":"insufficient_criteria_for_ibs","met":true},{"factor":"not_explained_by_another_condition","met":true}],"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.","features_met":2,"formula":"rome_iv_child_constipation","formula_expression":"rome_iv_child_constipation iff developmental_age_at_least_4_years and duration_at_least_1_month and features_met >= 2 and insufficient_criteria_for_ibs and not_explained_by_another_condition; features_met always counts two_or_fewer_defecations_in_toilet_per_week, fecal_incontinence_at_least_weekly, retentive_posturing_or_excessive_volitional_stool_retention, painful_or_hard_bowel_movements, large_fecal_mass_in_rectum, and large_diameter_stools_that_can_obstruct_toilet (Hyams 2016 Rome IV H3a Functional Constipation)","rome_iv_child_constipation":true}],"path":"/api/calc/rome_iv_child_constipation"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"developmental_age_at_least_4_years":{"description":"Developmental age at least 4 years, as assigned (Hyams 2016 Rome IV H3a child/adolescent). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"duration_at_least_1_month":{"description":"Must include 1 month of at least 2 features occurring at least once per week, as assigned (Hyams 2016 Rome IV H3a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"fecal_incontinence_at_least_weekly":{"description":"At least one episode of fecal incontinence per week, as assigned (Hyams 2016 Rome IV H3a; one of six features; weekly frequency is folded into this flag). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"insufficient_criteria_for_ibs":{"description":"Insufficient criteria for irritable bowel syndrome, as assigned (Hyams 2016 Rome IV H3a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"large_diameter_stools_that_can_obstruct_toilet":{"description":"History of large-diameter stools that can obstruct the toilet, as assigned (Hyams 2016 Rome IV H3a; one of six features; weekly frequency is folded into this flag). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"large_fecal_mass_in_rectum":{"description":"Presence of a large fecal mass in the rectum, as assigned (Hyams 2016 Rome IV H3a; one of six features; digital rectal exam is caller-assigned). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H3a). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"painful_or_hard_bowel_movements":{"description":"History of painful or hard bowel movements, as assigned (Hyams 2016 Rome IV H3a; one of six features; weekly frequency is folded into this flag). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"retentive_posturing_or_excessive_volitional_stool_retention":{"description":"History of retentive posturing or excessive volitional stool retention, as assigned (Hyams 2016 Rome IV H3a; one of six features; weekly frequency is folded into this flag). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"two_or_fewer_defecations_in_toilet_per_week":{"description":"Two or fewer defecations in the toilet per week, as assigned (Hyams 2016 Rome IV H3a; one of six features; weekly frequency is folded into this flag). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["developmental_age_at_least_4_years","two_or_fewer_defecations_in_toilet_per_week","fecal_incontinence_at_least_weekly","retentive_posturing_or_excessive_volitional_stool_retention","painful_or_hard_bowel_movements","large_fecal_mass_in_rectum","large_diameter_stools_that_can_obstruct_toilet","duration_at_least_1_month","insufficient_criteria_for_ibs","not_explained_by_another_condition"],"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},{"id":39353,"slug":"39353","resource":"https://api.magentlab.com/api/calc/rome_iv_child_aerophagia","description":"Hyams 2016 Rome IV H1d child aerophagia. True iff air swallowing, distention from intraluminal air that increases during the day, repetitive belching and/or increased flatus, not another condition, and 2-month duration. All three symptom criteria required. Not adult belching disorders or infant regurgitation. Caller assigns five flags. magent does not examine the patient. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abdominal_distention_intraluminal_air_increases_during_day":true,"excessive_air_swallowing":true,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition":true,"repetitive_belching_and_or_increased_flatus":true},{"abdominal_distention_intraluminal_air_increases_during_day":true,"excessive_air_swallowing":true,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition":true,"repetitive_belching_and_or_increased_flatus":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"excessive_air_swallowing","met":true},{"factor":"abdominal_distention_intraluminal_air_increases_during_day","met":true},{"factor":"repetitive_belching_and_or_increased_flatus","met":true},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true}],"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":"rome_iv_child_aerophagia","formula_expression":"rome_iv_child_aerophagia iff excessive_air_swallowing and abdominal_distention_intraluminal_air_increases_during_day and repetitive_belching_and_or_increased_flatus and not_explained_by_another_condition and fulfilled_at_least_2_months (Hyams 2016 Rome IV H1d aerophagia)","rome_iv_child_aerophagia":true},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"excessive_air_swallowing","met":true},{"factor":"abdominal_distention_intraluminal_air_increases_during_day","met":true},{"factor":"repetitive_belching_and_or_increased_flatus","met":true},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true}],"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":"rome_iv_child_aerophagia","formula_expression":"rome_iv_child_aerophagia iff excessive_air_swallowing and abdominal_distention_intraluminal_air_increases_during_day and repetitive_belching_and_or_increased_flatus and not_explained_by_another_condition and fulfilled_at_least_2_months (Hyams 2016 Rome IV H1d aerophagia)","rome_iv_child_aerophagia":true}],"path":"/api/calc/rome_iv_child_aerophagia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_distention_intraluminal_air_increases_during_day":{"description":"Abdominal distention due to intraluminal air that increases during the day, as assigned (Hyams 2016 Rome IV H1d). Distention and increases-during-the-day are one flag. true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"excessive_air_swallowing":{"description":"Excessive air swallowing, as assigned (Hyams 2016 Rome IV H1d). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fulfilled_at_least_2_months":{"description":"Criteria fulfilled for at least 2 months, as assigned (Hyams 2016 Rome IV H1d). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H1d). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"repetitive_belching_and_or_increased_flatus":{"description":"Repetitive belching and/or increased flatus, as assigned (Hyams 2016 Rome IV H1d). Belching or increased flatus is one caller-assigned flag. true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["excessive_air_swallowing","abdominal_distention_intraluminal_air_increases_during_day","repetitive_belching_and_or_increased_flatus","not_explained_by_another_condition","fulfilled_at_least_2_months"],"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":["rome-iv-child-aerophagia","child-aerophagia","gi","rome-iv","h1d","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T13:02:22.847Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T13:02:22.672Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abdominal_distention_intraluminal_air_increases_during_day":true,"excessive_air_swallowing":true,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition":true,"repetitive_belching_and_or_increased_flatus":true},{"abdominal_distention_intraluminal_air_increases_during_day":true,"excessive_air_swallowing":true,"fulfilled_at_least_2_months":true,"not_explained_by_another_condition":true,"repetitive_belching_and_or_increased_flatus":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"excessive_air_swallowing","met":true},{"factor":"abdominal_distention_intraluminal_air_increases_during_day","met":true},{"factor":"repetitive_belching_and_or_increased_flatus","met":true},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true}],"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":"rome_iv_child_aerophagia","formula_expression":"rome_iv_child_aerophagia iff excessive_air_swallowing and abdominal_distention_intraluminal_air_increases_during_day and repetitive_belching_and_or_increased_flatus and not_explained_by_another_condition and fulfilled_at_least_2_months (Hyams 2016 Rome IV H1d aerophagia)","rome_iv_child_aerophagia":true},{"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"excessive_air_swallowing","met":true},{"factor":"abdominal_distention_intraluminal_air_increases_during_day","met":true},{"factor":"repetitive_belching_and_or_increased_flatus","met":true},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_2_months","met":true}],"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":"rome_iv_child_aerophagia","formula_expression":"rome_iv_child_aerophagia iff excessive_air_swallowing and abdominal_distention_intraluminal_air_increases_during_day and repetitive_belching_and_or_increased_flatus and not_explained_by_another_condition and fulfilled_at_least_2_months (Hyams 2016 Rome IV H1d aerophagia)","rome_iv_child_aerophagia":true}],"path":"/api/calc/rome_iv_child_aerophagia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_distention_intraluminal_air_increases_during_day":{"description":"Abdominal distention due to intraluminal air that increases during the day, as assigned (Hyams 2016 Rome IV H1d). Distention and increases-during-the-day are one flag. true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"excessive_air_swallowing":{"description":"Excessive air swallowing, as assigned (Hyams 2016 Rome IV H1d). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fulfilled_at_least_2_months":{"description":"Criteria fulfilled for at least 2 months, as assigned (Hyams 2016 Rome IV H1d). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H1d). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"repetitive_belching_and_or_increased_flatus":{"description":"Repetitive belching and/or increased flatus, as assigned (Hyams 2016 Rome IV H1d). Belching or increased flatus is one caller-assigned flag. true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["excessive_air_swallowing","abdominal_distention_intraluminal_air_increases_during_day","repetitive_belching_and_or_increased_flatus","not_explained_by_another_condition","fulfilled_at_least_2_months"],"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},{"id":39354,"slug":"39354","resource":"https://api.magentlab.com/api/calc/rome_iv_child_abdominal_migraine","description":"Hyams 2016 Rome IV H2c. rome_iv_child_abdominal_migraine is true iff paroxysmal intense periumbilical, midline, or diffuse pain lasting 1 hour or more, episodes weeks to months apart, incapacitating stereotypical pain, associated_features_met at least 2 (anorexia, nausea, vomiting, headache, photophobia, pallor), not explained by another condition, and 6-month fulfillment. Count 0-6. magent does not examine the child. Not a diagnosis. Not child CVS. Not adult migraine scores.","type":"http","serviceName":"magent","resourceType":"AI Inference","x402Version":2,"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":[{"anorexia":true,"episodes_separated_weeks_to_months":true,"fulfilled_at_least_6_months":true,"headache":false,"nausea":true,"not_explained_by_another_condition":true,"pain_incapacitating":true,"pallor":false,"paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more":true,"photophobia":false,"stereotypical_pattern":true,"vomiting":false},{"anorexia":true,"episodes_separated_weeks_to_months":true,"fulfilled_at_least_6_months":true,"headache":false,"nausea":true,"not_explained_by_another_condition":true,"pain_incapacitating":true,"pallor":false,"paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more":true,"photophobia":false,"stereotypical_pattern":true,"vomiting":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"associated_features_met":2,"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more","met":true},{"factor":"episodes_separated_weeks_to_months","met":true},{"factor":"pain_incapacitating","met":true},{"factor":"stereotypical_pattern","met":true},{"factor":"anorexia","met":true},{"factor":"nausea","met":true},{"factor":"vomiting","met":false},{"factor":"headache","met":false},{"factor":"photophobia","met":false},{"factor":"pallor","met":false},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_6_months","met":true},{"factor":"associated_features_ge_2","met":true,"value":2}],"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":"rome_iv_child_abdominal_migraine","formula_expression":"rome_iv_child_abdominal_migraine iff paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more and episodes_separated_weeks_to_months and pain_incapacitating and stereotypical_pattern and associated_features_met >= 2 and not_explained_by_another_condition and fulfilled_at_least_6_months; associated_features_met counts anorexia, nausea, vomiting, headache, photophobia, and pallor (Hyams 2016 Rome IV H2c Abdominal Migraine)","rome_iv_child_abdominal_migraine":true},{"associated_features_met":2,"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more","met":true},{"factor":"episodes_separated_weeks_to_months","met":true},{"factor":"pain_incapacitating","met":true},{"factor":"stereotypical_pattern","met":true},{"factor":"anorexia","met":true},{"factor":"nausea","met":true},{"factor":"vomiting","met":false},{"factor":"headache","met":false},{"factor":"photophobia","met":false},{"factor":"pallor","met":false},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_6_months","met":true},{"factor":"associated_features_ge_2","met":true,"value":2}],"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":"rome_iv_child_abdominal_migraine","formula_expression":"rome_iv_child_abdominal_migraine iff paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more and episodes_separated_weeks_to_months and pain_incapacitating and stereotypical_pattern and associated_features_met >= 2 and not_explained_by_another_condition and fulfilled_at_least_6_months; associated_features_met counts anorexia, nausea, vomiting, headache, photophobia, and pallor (Hyams 2016 Rome IV H2c Abdominal Migraine)","rome_iv_child_abdominal_migraine":true}],"path":"/api/calc/rome_iv_child_abdominal_migraine"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anorexia":{"description":"Anorexia during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"episodes_separated_weeks_to_months":{"description":"Episodes are separated by weeks to months, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"fulfilled_at_least_6_months":{"description":"Criteria fulfilled for at least 6 months, including that all features occurred at least twice, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"headache":{"description":"Headache during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"nausea":{"description":"Nausea during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"pain_incapacitating":{"description":"The pain is incapacitating and interferes with normal activities, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"pallor":{"description":"Pallor during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more":{"description":"Paroxysmal episodes of intense, acute periumbilical, midline, or diffuse abdominal pain lasting 1 hour or more, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"photophobia":{"description":"Photophobia during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"stereotypical_pattern":{"description":"Stereotypical pattern and symptoms in the individual patient, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"vomiting":{"description":"Vomiting during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more","episodes_separated_weeks_to_months","pain_incapacitating","stereotypical_pattern","anorexia","nausea","vomiting","headache","photophobia","pallor","not_explained_by_another_condition","fulfilled_at_least_6_months"],"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":["rome-iv-child-abd-migraine","abdominal-migraine","gi","rome-iv","h2c","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:56:57.439Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T12:56:57.317Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anorexia":true,"episodes_separated_weeks_to_months":true,"fulfilled_at_least_6_months":true,"headache":false,"nausea":true,"not_explained_by_another_condition":true,"pain_incapacitating":true,"pallor":false,"paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more":true,"photophobia":false,"stereotypical_pattern":true,"vomiting":false},{"anorexia":true,"episodes_separated_weeks_to_months":true,"fulfilled_at_least_6_months":true,"headache":false,"nausea":true,"not_explained_by_another_condition":true,"pain_incapacitating":true,"pallor":false,"paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more":true,"photophobia":false,"stereotypical_pattern":true,"vomiting":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"associated_features_met":2,"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more","met":true},{"factor":"episodes_separated_weeks_to_months","met":true},{"factor":"pain_incapacitating","met":true},{"factor":"stereotypical_pattern","met":true},{"factor":"anorexia","met":true},{"factor":"nausea","met":true},{"factor":"vomiting","met":false},{"factor":"headache","met":false},{"factor":"photophobia","met":false},{"factor":"pallor","met":false},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_6_months","met":true},{"factor":"associated_features_ge_2","met":true,"value":2}],"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":"rome_iv_child_abdominal_migraine","formula_expression":"rome_iv_child_abdominal_migraine iff paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more and episodes_separated_weeks_to_months and pain_incapacitating and stereotypical_pattern and associated_features_met >= 2 and not_explained_by_another_condition and fulfilled_at_least_6_months; associated_features_met counts anorexia, nausea, vomiting, headache, photophobia, and pallor (Hyams 2016 Rome IV H2c Abdominal Migraine)","rome_iv_child_abdominal_migraine":true},{"associated_features_met":2,"citation":{"authors":"Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M","doi":"10.1053/j.gastro.2016.02.015","id":"hyams-2016","pmid":"27144632","source":"Gastroenterology. 2016;150(6):1456-1468","title":"Childhood Functional Gastrointestinal Disorders: Child/Adolescent"},"criteria":[{"factor":"paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more","met":true},{"factor":"episodes_separated_weeks_to_months","met":true},{"factor":"pain_incapacitating","met":true},{"factor":"stereotypical_pattern","met":true},{"factor":"anorexia","met":true},{"factor":"nausea","met":true},{"factor":"vomiting","met":false},{"factor":"headache","met":false},{"factor":"photophobia","met":false},{"factor":"pallor","met":false},{"factor":"not_explained_by_another_condition","met":true},{"factor":"fulfilled_at_least_6_months","met":true},{"factor":"associated_features_ge_2","met":true,"value":2}],"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":"rome_iv_child_abdominal_migraine","formula_expression":"rome_iv_child_abdominal_migraine iff paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more and episodes_separated_weeks_to_months and pain_incapacitating and stereotypical_pattern and associated_features_met >= 2 and not_explained_by_another_condition and fulfilled_at_least_6_months; associated_features_met counts anorexia, nausea, vomiting, headache, photophobia, and pallor (Hyams 2016 Rome IV H2c Abdominal Migraine)","rome_iv_child_abdominal_migraine":true}],"path":"/api/calc/rome_iv_child_abdominal_migraine"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anorexia":{"description":"Anorexia during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"episodes_separated_weeks_to_months":{"description":"Episodes are separated by weeks to months, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"fulfilled_at_least_6_months":{"description":"Criteria fulfilled for at least 6 months, including that all features occurred at least twice, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not take a history.","type":"boolean"},"headache":{"description":"Headache during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"nausea":{"description":"Nausea during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"not_explained_by_another_condition":{"description":"After appropriate evaluation, the symptoms cannot be fully explained by another medical condition, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"pain_incapacitating":{"description":"The pain is incapacitating and interferes with normal activities, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"pallor":{"description":"Pallor during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more":{"description":"Paroxysmal episodes of intense, acute periumbilical, midline, or diffuse abdominal pain lasting 1 hour or more, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"photophobia":{"description":"Photophobia during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"stereotypical_pattern":{"description":"Stereotypical pattern and symptoms in the individual patient, as assigned (Hyams 2016 Rome IV H2c). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"},"vomiting":{"description":"Vomiting during episodes (one of six associated features; at least two required). true or false as assigned by the caller. magent does not examine the child.","type":"boolean"}},"required":["paroxysmal_intense_periumbilical_midline_or_diffuse_pain_lasting_1_hour_or_more","episodes_separated_weeks_to_months","pain_incapacitating","stereotypical_pattern","anorexia","nausea","vomiting","headache","photophobia","pallor","not_explained_by_another_condition","fulfilled_at_least_6_months"],"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},{"id":39355,"slug":"39355","resource":"https://api.magentlab.com/api/calc/resp","description":"Schmidt 2014 RESP Table 3 (-22 to 15): age 18-49 0, 50-59 -2, >=60 -3; immunocompromised -2; MV lt_48h +3, h48_to_7d +1, gt_7d 0; one diagnosis (viral/bacterial pneumonia +3, asthma +11, trauma_burn +3, aspiration_pneumonitis +5, other acute +1, nonrespiratory 0); CNS -7; nonpulmonary infection -3; NMB +1; NO -1; bicarbonate -2; arrest -2; PaCO2 >=75 -1; PIP >=42 -1. Class I >=6 92%, II 3-5 76%, III -1 to 2 57%, IV -5 to -2 33%, V <=-6 18%. Not an ECMO order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_nonpulmonary_infection":false,"age_years":40,"bicarbonate_infusion_before_ecmo":false,"cardiac_arrest_before_ecmo":false,"cns_dysfunction":false,"diagnosis":"viral_pneumonia","immunocompromised":false,"mechanical_ventilation_before_ecmo":"lt_48h","neuromuscular_blockade_before_ecmo":false,"nitric_oxide_before_ecmo":false,"paco2_mm_hg":40,"peak_inspiratory_pressure_cm_h2o":30},{"acute_nonpulmonary_infection":false,"age_years":40,"bicarbonate_infusion_before_ecmo":false,"cardiac_arrest_before_ecmo":false,"cns_dysfunction":false,"diagnosis":"viral_pneumonia","immunocompromised":false,"mechanical_ventilation_before_ecmo":"lt_48h","neuromuscular_blockade_before_ecmo":false,"nitric_oxide_before_ecmo":false,"paco2_mm_hg":40,"peak_inspiratory_pressure_cm_h2o":30}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Schmidt M, Bailey M, Sheldrake J, et al.","doi":"10.1164/rccm.201311-2023OC","id":"schmidt-2014","pmid":"24693864","source":"Am J Respir Crit Care Med. 2014;189(11):1374-1382","title":"Predicting Survival after Extracorporeal Membrane Oxygenation for Severe Acute Respiratory Failure. The Respiratory Extracorporeal Membrane Oxygenation Survival Prediction (RESP) Score"},"components":[{"factor":"age_years","points":0,"present":false,"value":40},{"factor":"immunocompromised","points":0,"present":false},{"factor":"mechanical_ventilation_before_ecmo","points":3,"present":true,"value":"lt_48h"},{"factor":"diagnosis","points":3,"present":true,"value":"viral_pneumonia"},{"factor":"cns_dysfunction","points":0,"present":false},{"factor":"acute_nonpulmonary_infection","points":0,"present":false},{"factor":"neuromuscular_blockade_before_ecmo","points":0,"present":false},{"factor":"nitric_oxide_before_ecmo","points":0,"present":false},{"factor":"bicarbonate_infusion_before_ecmo","points":0,"present":false},{"factor":"cardiac_arrest_before_ecmo","points":0,"present":false},{"factor":"paco2_mm_hg","points":0,"present":false,"value":40},{"factor":"peak_inspiratory_pressure_cm_h2o","points":0,"present":false,"value":30}],"diagnosis":"viral_pneumonia","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":"resp","formula_expression":"RESP = age_years (18-49 → 0, 50-59 → -2, ≥60 → -3) + immunocompromised (-2) + mechanical_ventilation_before_ecmo (lt_48h → 3, h48_to_7d → 1, gt_7d → 0) + diagnosis (viral_pneumonia → 3, bacterial_pneumonia → 3, asthma → 11, trauma_burn → 3, aspiration_pneumonitis → 5, other_acute_respiratory → 1, nonrespiratory_or_chronic_respiratory → 0) + cns_dysfunction (-7) + acute_nonpulmonary_infection (-3) + neuromuscular_blockade_before_ecmo (1) + nitric_oxide_before_ecmo (-1) + bicarbonate_infusion_before_ecmo (-2) + cardiac_arrest_before_ecmo (-2) + (paco2_mm_hg ≥75 → -1) + (peak_inspiratory_pressure_cm_h2o ≥42 → -1); Schmidt 2014 Table 3; range -22 to 15; class I ≥6 (92%), II 3 to 5 (76%), III -1 to 2 (57%), IV -5 to -2 (33%), V ≤-6 (18%) hospital survival","hospital_survival_percent":92,"max_score":15,"mechanical_ventilation_before_ecmo":"lt_48h","min_score":-22,"paco2_mm_hg":40,"peak_inspiratory_pressure_cm_h2o":30,"resp_class":"I","score":6},{"age_years":40,"citation":{"authors":"Schmidt M, Bailey M, Sheldrake J, et al.","doi":"10.1164/rccm.201311-2023OC","id":"schmidt-2014","pmid":"24693864","source":"Am J Respir Crit Care Med. 2014;189(11):1374-1382","title":"Predicting Survival after Extracorporeal Membrane Oxygenation for Severe Acute Respiratory Failure. The Respiratory Extracorporeal Membrane Oxygenation Survival Prediction (RESP) Score"},"components":[{"factor":"age_years","points":0,"present":false,"value":40},{"factor":"immunocompromised","points":0,"present":false},{"factor":"mechanical_ventilation_before_ecmo","points":3,"present":true,"value":"lt_48h"},{"factor":"diagnosis","points":3,"present":true,"value":"viral_pneumonia"},{"factor":"cns_dysfunction","points":0,"present":false},{"factor":"acute_nonpulmonary_infection","points":0,"present":false},{"factor":"neuromuscular_blockade_before_ecmo","points":0,"present":false},{"factor":"nitric_oxide_before_ecmo","points":0,"present":false},{"factor":"bicarbonate_infusion_before_ecmo","points":0,"present":false},{"factor":"cardiac_arrest_before_ecmo","points":0,"present":false},{"factor":"paco2_mm_hg","points":0,"present":false,"value":40},{"factor":"peak_inspiratory_pressure_cm_h2o","points":0,"present":false,"value":30}],"diagnosis":"viral_pneumonia","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":"resp","formula_expression":"RESP = age_years (18-49 → 0, 50-59 → -2, ≥60 → -3) + immunocompromised (-2) + mechanical_ventilation_before_ecmo (lt_48h → 3, h48_to_7d → 1, gt_7d → 0) + diagnosis (viral_pneumonia → 3, bacterial_pneumonia → 3, asthma → 11, trauma_burn → 3, aspiration_pneumonitis → 5, other_acute_respiratory → 1, nonrespiratory_or_chronic_respiratory → 0) + cns_dysfunction (-7) + acute_nonpulmonary_infection (-3) + neuromuscular_blockade_before_ecmo (1) + nitric_oxide_before_ecmo (-1) + bicarbonate_infusion_before_ecmo (-2) + cardiac_arrest_before_ecmo (-2) + (paco2_mm_hg ≥75 → -1) + (peak_inspiratory_pressure_cm_h2o ≥42 → -1); Schmidt 2014 Table 3; range -22 to 15; class I ≥6 (92%), II 3 to 5 (76%), III -1 to 2 (57%), IV -5 to -2 (33%), V ≤-6 (18%) hospital survival","hospital_survival_percent":92,"max_score":15,"mechanical_ventilation_before_ecmo":"lt_48h","min_score":-22,"paco2_mm_hg":40,"peak_inspiratory_pressure_cm_h2o":30,"resp_class":"I","score":6}],"path":"/api/calc/resp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_nonpulmonary_infection":{"description":"Acute associated (nonpulmonary) infection as assigned by the caller (Schmidt 2014: bacteremia, pneumonia diagnosed >48 h before ECMO, or infected burns). true or false. true scores -3.","type":"boolean"},"age_years":{"description":"Age in years, integer 18-120, as assigned before ECMO (Schmidt 2014 Table 3). 18-49 → 0; 50-59 → -2; ≥60 → -3.","type":"integer"},"bicarbonate_infusion_before_ecmo":{"description":"Bicarbonate infusion before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores -2.","type":"boolean"},"cardiac_arrest_before_ecmo":{"description":"Cardiac arrest before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores -2.","type":"boolean"},"cns_dysfunction":{"description":"Central nervous system dysfunction as assigned by the caller (Schmidt 2014: neurotrauma, stroke, encephalopathy, cerebral embolism, or seizure). true or false. true scores -7. magent does not examine the patient.","type":"boolean"},"diagnosis":{"description":"One acute respiratory diagnosis group (Schmidt 2014 Table 3). viral_pneumonia → +3; bacterial_pneumonia → +3; asthma → +11; trauma_burn → +3; aspiration_pneumonitis → +5; other_acute_respiratory → +1; nonrespiratory_or_chronic_respiratory → 0. Select one token. magent does not diagnose.","enum":["viral_pneumonia","bacterial_pneumonia","asthma","trauma_burn","aspiration_pneumonitis","other_acute_respiratory","nonrespiratory_or_chronic_respiratory"],"type":"string"},"immunocompromised":{"description":"Immunocompromised status as assigned by the caller (Schmidt 2014: malignancy, solid organ transplant, HIV, or cirrhosis). true or false. true scores -2.","type":"boolean"},"mechanical_ventilation_before_ecmo":{"description":"Duration of mechanical ventilation before ECMO as one token (Schmidt 2014 Table 3). lt_48h → +3; h48_to_7d → +1; gt_7d → 0. magent does not subtract timestamps.","enum":["lt_48h","h48_to_7d","gt_7d"],"type":"string"},"neuromuscular_blockade_before_ecmo":{"description":"Neuromuscular blockade agents before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores +1.","type":"boolean"},"nitric_oxide_before_ecmo":{"description":"Nitric oxide use before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores -1.","type":"boolean"},"paco2_mm_hg":{"description":"Arterial PaCO2 in mm Hg (8-200) as assigned before ECMO. ≥75 scores -1 (Schmidt 2014 Table 3; the paper also states ≥10 kPa). magent does not convert kPa and does not read an ABG.","type":"number"},"peak_inspiratory_pressure_cm_h2o":{"description":"Peak inspiratory pressure in cm H2O (5-80) as assigned before ECMO. ≥42 scores -1 (Schmidt 2014 Table 3). magent does not read a ventilator.","type":"number"}},"required":["age_years","immunocompromised","mechanical_ventilation_before_ecmo","diagnosis","cns_dysfunction","acute_nonpulmonary_infection","neuromuscular_blockade_before_ecmo","nitric_oxide_before_ecmo","bicarbonate_infusion_before_ecmo","cardiac_arrest_before_ecmo","paco2_mm_hg","peak_inspiratory_pressure_cm_h2o"],"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":["resp","ecmo","ards","respiratory","survival","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:21:49.813Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T12:21:49.662Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_nonpulmonary_infection":false,"age_years":40,"bicarbonate_infusion_before_ecmo":false,"cardiac_arrest_before_ecmo":false,"cns_dysfunction":false,"diagnosis":"viral_pneumonia","immunocompromised":false,"mechanical_ventilation_before_ecmo":"lt_48h","neuromuscular_blockade_before_ecmo":false,"nitric_oxide_before_ecmo":false,"paco2_mm_hg":40,"peak_inspiratory_pressure_cm_h2o":30},{"acute_nonpulmonary_infection":false,"age_years":40,"bicarbonate_infusion_before_ecmo":false,"cardiac_arrest_before_ecmo":false,"cns_dysfunction":false,"diagnosis":"viral_pneumonia","immunocompromised":false,"mechanical_ventilation_before_ecmo":"lt_48h","neuromuscular_blockade_before_ecmo":false,"nitric_oxide_before_ecmo":false,"paco2_mm_hg":40,"peak_inspiratory_pressure_cm_h2o":30}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Schmidt M, Bailey M, Sheldrake J, et al.","doi":"10.1164/rccm.201311-2023OC","id":"schmidt-2014","pmid":"24693864","source":"Am J Respir Crit Care Med. 2014;189(11):1374-1382","title":"Predicting Survival after Extracorporeal Membrane Oxygenation for Severe Acute Respiratory Failure. The Respiratory Extracorporeal Membrane Oxygenation Survival Prediction (RESP) Score"},"components":[{"factor":"age_years","points":0,"present":false,"value":40},{"factor":"immunocompromised","points":0,"present":false},{"factor":"mechanical_ventilation_before_ecmo","points":3,"present":true,"value":"lt_48h"},{"factor":"diagnosis","points":3,"present":true,"value":"viral_pneumonia"},{"factor":"cns_dysfunction","points":0,"present":false},{"factor":"acute_nonpulmonary_infection","points":0,"present":false},{"factor":"neuromuscular_blockade_before_ecmo","points":0,"present":false},{"factor":"nitric_oxide_before_ecmo","points":0,"present":false},{"factor":"bicarbonate_infusion_before_ecmo","points":0,"present":false},{"factor":"cardiac_arrest_before_ecmo","points":0,"present":false},{"factor":"paco2_mm_hg","points":0,"present":false,"value":40},{"factor":"peak_inspiratory_pressure_cm_h2o","points":0,"present":false,"value":30}],"diagnosis":"viral_pneumonia","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":"resp","formula_expression":"RESP = age_years (18-49 → 0, 50-59 → -2, ≥60 → -3) + immunocompromised (-2) + mechanical_ventilation_before_ecmo (lt_48h → 3, h48_to_7d → 1, gt_7d → 0) + diagnosis (viral_pneumonia → 3, bacterial_pneumonia → 3, asthma → 11, trauma_burn → 3, aspiration_pneumonitis → 5, other_acute_respiratory → 1, nonrespiratory_or_chronic_respiratory → 0) + cns_dysfunction (-7) + acute_nonpulmonary_infection (-3) + neuromuscular_blockade_before_ecmo (1) + nitric_oxide_before_ecmo (-1) + bicarbonate_infusion_before_ecmo (-2) + cardiac_arrest_before_ecmo (-2) + (paco2_mm_hg ≥75 → -1) + (peak_inspiratory_pressure_cm_h2o ≥42 → -1); Schmidt 2014 Table 3; range -22 to 15; class I ≥6 (92%), II 3 to 5 (76%), III -1 to 2 (57%), IV -5 to -2 (33%), V ≤-6 (18%) hospital survival","hospital_survival_percent":92,"max_score":15,"mechanical_ventilation_before_ecmo":"lt_48h","min_score":-22,"paco2_mm_hg":40,"peak_inspiratory_pressure_cm_h2o":30,"resp_class":"I","score":6},{"age_years":40,"citation":{"authors":"Schmidt M, Bailey M, Sheldrake J, et al.","doi":"10.1164/rccm.201311-2023OC","id":"schmidt-2014","pmid":"24693864","source":"Am J Respir Crit Care Med. 2014;189(11):1374-1382","title":"Predicting Survival after Extracorporeal Membrane Oxygenation for Severe Acute Respiratory Failure. The Respiratory Extracorporeal Membrane Oxygenation Survival Prediction (RESP) Score"},"components":[{"factor":"age_years","points":0,"present":false,"value":40},{"factor":"immunocompromised","points":0,"present":false},{"factor":"mechanical_ventilation_before_ecmo","points":3,"present":true,"value":"lt_48h"},{"factor":"diagnosis","points":3,"present":true,"value":"viral_pneumonia"},{"factor":"cns_dysfunction","points":0,"present":false},{"factor":"acute_nonpulmonary_infection","points":0,"present":false},{"factor":"neuromuscular_blockade_before_ecmo","points":0,"present":false},{"factor":"nitric_oxide_before_ecmo","points":0,"present":false},{"factor":"bicarbonate_infusion_before_ecmo","points":0,"present":false},{"factor":"cardiac_arrest_before_ecmo","points":0,"present":false},{"factor":"paco2_mm_hg","points":0,"present":false,"value":40},{"factor":"peak_inspiratory_pressure_cm_h2o","points":0,"present":false,"value":30}],"diagnosis":"viral_pneumonia","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":"resp","formula_expression":"RESP = age_years (18-49 → 0, 50-59 → -2, ≥60 → -3) + immunocompromised (-2) + mechanical_ventilation_before_ecmo (lt_48h → 3, h48_to_7d → 1, gt_7d → 0) + diagnosis (viral_pneumonia → 3, bacterial_pneumonia → 3, asthma → 11, trauma_burn → 3, aspiration_pneumonitis → 5, other_acute_respiratory → 1, nonrespiratory_or_chronic_respiratory → 0) + cns_dysfunction (-7) + acute_nonpulmonary_infection (-3) + neuromuscular_blockade_before_ecmo (1) + nitric_oxide_before_ecmo (-1) + bicarbonate_infusion_before_ecmo (-2) + cardiac_arrest_before_ecmo (-2) + (paco2_mm_hg ≥75 → -1) + (peak_inspiratory_pressure_cm_h2o ≥42 → -1); Schmidt 2014 Table 3; range -22 to 15; class I ≥6 (92%), II 3 to 5 (76%), III -1 to 2 (57%), IV -5 to -2 (33%), V ≤-6 (18%) hospital survival","hospital_survival_percent":92,"max_score":15,"mechanical_ventilation_before_ecmo":"lt_48h","min_score":-22,"paco2_mm_hg":40,"peak_inspiratory_pressure_cm_h2o":30,"resp_class":"I","score":6}],"path":"/api/calc/resp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_nonpulmonary_infection":{"description":"Acute associated (nonpulmonary) infection as assigned by the caller (Schmidt 2014: bacteremia, pneumonia diagnosed >48 h before ECMO, or infected burns). true or false. true scores -3.","type":"boolean"},"age_years":{"description":"Age in years, integer 18-120, as assigned before ECMO (Schmidt 2014 Table 3). 18-49 → 0; 50-59 → -2; ≥60 → -3.","type":"integer"},"bicarbonate_infusion_before_ecmo":{"description":"Bicarbonate infusion before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores -2.","type":"boolean"},"cardiac_arrest_before_ecmo":{"description":"Cardiac arrest before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores -2.","type":"boolean"},"cns_dysfunction":{"description":"Central nervous system dysfunction as assigned by the caller (Schmidt 2014: neurotrauma, stroke, encephalopathy, cerebral embolism, or seizure). true or false. true scores -7. magent does not examine the patient.","type":"boolean"},"diagnosis":{"description":"One acute respiratory diagnosis group (Schmidt 2014 Table 3). viral_pneumonia → +3; bacterial_pneumonia → +3; asthma → +11; trauma_burn → +3; aspiration_pneumonitis → +5; other_acute_respiratory → +1; nonrespiratory_or_chronic_respiratory → 0. Select one token. magent does not diagnose.","enum":["viral_pneumonia","bacterial_pneumonia","asthma","trauma_burn","aspiration_pneumonitis","other_acute_respiratory","nonrespiratory_or_chronic_respiratory"],"type":"string"},"immunocompromised":{"description":"Immunocompromised status as assigned by the caller (Schmidt 2014: malignancy, solid organ transplant, HIV, or cirrhosis). true or false. true scores -2.","type":"boolean"},"mechanical_ventilation_before_ecmo":{"description":"Duration of mechanical ventilation before ECMO as one token (Schmidt 2014 Table 3). lt_48h → +3; h48_to_7d → +1; gt_7d → 0. magent does not subtract timestamps.","enum":["lt_48h","h48_to_7d","gt_7d"],"type":"string"},"neuromuscular_blockade_before_ecmo":{"description":"Neuromuscular blockade agents before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores +1.","type":"boolean"},"nitric_oxide_before_ecmo":{"description":"Nitric oxide use before ECMO as assigned by the caller (Schmidt 2014 Table 3). true or false. true scores -1.","type":"boolean"},"paco2_mm_hg":{"description":"Arterial PaCO2 in mm Hg (8-200) as assigned before ECMO. ≥75 scores -1 (Schmidt 2014 Table 3; the paper also states ≥10 kPa). magent does not convert kPa and does not read an ABG.","type":"number"},"peak_inspiratory_pressure_cm_h2o":{"description":"Peak inspiratory pressure in cm H2O (5-80) as assigned before ECMO. ≥42 scores -1 (Schmidt 2014 Table 3). magent does not read a ventilator.","type":"number"}},"required":["age_years","immunocompromised","mechanical_ventilation_before_ecmo","diagnosis","cns_dysfunction","acute_nonpulmonary_infection","neuromuscular_blockade_before_ecmo","nitric_oxide_before_ecmo","bicarbonate_infusion_before_ecmo","cardiac_arrest_before_ecmo","paco2_mm_hg","peak_inspiratory_pressure_cm_h2o"],"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},{"id":39356,"slug":"39356","resource":"https://api.magentlab.com/api/calc/resect_90","description":"Taylor 2021 RESECT-90 logistic 90-day mortality after lung resection from age, sex, ECOG, percent predicted DLCO, BMI, creatinine (umol/L), anaemia, arrhythmia, laterality, thoracotomy vs VATS, diagnosis, and resected segments. Returns logit and estimated_mortality_percent. Not a medical device, not an operative go/no-go, and not a published cutoff. magent does not assign ECOG or read spirometry.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":65,"anemia":false,"arrhythmia":false,"bmi":27,"creatinine_umol_l":74,"diagnosis":"benign","dlco_percent":73,"ecog":0,"laterality":"left","resected_segments":3,"sex":"male","surgical_approach":"vats"},{"age":65,"anemia":false,"arrhythmia":false,"bmi":27,"creatinine_umol_l":74,"diagnosis":"benign","dlco_percent":73,"ecog":0,"laterality":"left","resected_segments":3,"sex":"male","surgical_approach":"vats"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"anemia":false,"arrhythmia":false,"bmi":27,"citation":{"authors":"Taylor M, Martin GP, Abah U, Sperrin M, Smith MO, Bhullar D, Shackcloth M, Woolley S, West D, Shah R, Grant SW; North West Thoracic Surgery Collaborative (NWTSC)","doi":"10.1093/icvts/ivab200","id":"taylor-2021","pmid":"34293121","source":"Interact Cardiovasc Thorac Surg. 2021;33(6):921-927","title":"Development and internal validation of a clinical prediction model for 90-day mortality after lung resection: the RESECT-90 score"},"creatinine_umol_l":74,"diagnosis":"benign","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.","dlco_percent":73,"ecog":0,"estimated_mortality_percent":0.37,"formula":"resect_90","formula_expression":"L = -6.036 + 0.041*age + 0.493*male + 0.183*ecog - 0.029*dlco_percent - 0.056*bmi + 0.005*creatinine_umol_l + 0.242*anemia + 0.608*arrhythmia + 0.379*right + 0.179*resected_segments + 0.634*thoracotomy + 0.769*malignant (Taylor 2021 Table 3 / PMC8632783); estimated_mortality_percent = 100 / (1 + exp(-L)) from the unrounded logit, 2 decimals","laterality":"left","logit":-5.6,"resected_segments":3,"sex":"male","surgical_approach":"vats"},{"age_years":65,"anemia":false,"arrhythmia":false,"bmi":27,"citation":{"authors":"Taylor M, Martin GP, Abah U, Sperrin M, Smith MO, Bhullar D, Shackcloth M, Woolley S, West D, Shah R, Grant SW; North West Thoracic Surgery Collaborative (NWTSC)","doi":"10.1093/icvts/ivab200","id":"taylor-2021","pmid":"34293121","source":"Interact Cardiovasc Thorac Surg. 2021;33(6):921-927","title":"Development and internal validation of a clinical prediction model for 90-day mortality after lung resection: the RESECT-90 score"},"creatinine_umol_l":74,"diagnosis":"benign","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.","dlco_percent":73,"ecog":0,"estimated_mortality_percent":0.37,"formula":"resect_90","formula_expression":"L = -6.036 + 0.041*age + 0.493*male + 0.183*ecog - 0.029*dlco_percent - 0.056*bmi + 0.005*creatinine_umol_l + 0.242*anemia + 0.608*arrhythmia + 0.379*right + 0.179*resected_segments + 0.634*thoracotomy + 0.769*malignant (Taylor 2021 Table 3 / PMC8632783); estimated_mortality_percent = 100 / (1 + exp(-L)) from the unrounded logit, 2 decimals","laterality":"left","logit":-5.6,"resected_segments":3,"sex":"male","surgical_approach":"vats"}],"path":"/api/calc/resect_90"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Taylor 2021 Table 3 coefficient 0.041 per year. magent does not read a chart.","type":"integer"},"anemia":{"description":"Taylor 2021 WHO anaemia as assigned by the caller: haemoglobin <120 g/L for women or <130 g/L for men (+0.242). true or false. magent does not read a haemoglobin.","type":"boolean"},"arrhythmia":{"description":"Preoperative arrhythmia as assigned by the caller (Taylor 2021 Table 3 +0.608). true or false. magent does not read an ECG.","type":"boolean"},"bmi":{"description":"Body-mass index in kg/m2 (10-80). Taylor 2021 Table 3 subtracts 0.056 per kg/m2. magent does not weigh the patient.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L as published (20-2000). Taylor 2021 Table 3 coefficient 0.005 per µmol/L. Not mg/dL.","type":"number"},"diagnosis":{"description":"Diagnosis as assigned by the caller. benign is the reference (0). malignant (confirmed or suspected) adds 0.769 (Taylor 2021 Table 3).","enum":["benign","malignant"],"type":"string"},"dlco_percent":{"description":"Percent predicted DLCO (10-200). Taylor 2021 Table 3 subtracts 0.029 per percent. magent does not read spirometry or a gas-transfer tracing.","type":"number"},"ecog":{"description":"ECOG / WHO performance status 0-4 as assigned by the caller (Taylor 2021 Table 3 coefficient 0.183 per point). magent does not assign ECOG.","type":"integer"},"laterality":{"description":"Resection laterality as assigned by the caller. left is the reference (0). right adds 0.379 (Taylor 2021 Table 3). magent does not read an operative note.","enum":["left","right"],"type":"string"},"resected_segments":{"description":"Number of resected bronchopulmonary segments (0-19). Taylor 2021 Table 3 coefficient 0.179 per segment. magent does not map a procedure to segments.","type":"integer"},"sex":{"description":"Sex as assigned by the caller. female is the reference (0). male adds 0.493 (Taylor 2021 Table 3). This is a published sex coefficient, not race.","enum":["male","female"],"type":"string"},"surgical_approach":{"description":"Approach as assigned by the caller. vats is the non-thoracotomy reference (0). thoracotomy adds 0.634 (Taylor 2021 Table 3). magent does not classify the incision.","enum":["vats","thoracotomy"],"type":"string"}},"required":["age","sex","ecog","dlco_percent","bmi","creatinine_umol_l","anemia","arrhythmia","laterality","surgical_approach","diagnosis","resected_segments"],"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":["resect-90","lung-resection","mortality","thoracic","emergency","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T12:21:48.931Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T12:21:48.709Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":65,"anemia":false,"arrhythmia":false,"bmi":27,"creatinine_umol_l":74,"diagnosis":"benign","dlco_percent":73,"ecog":0,"laterality":"left","resected_segments":3,"sex":"male","surgical_approach":"vats"},{"age":65,"anemia":false,"arrhythmia":false,"bmi":27,"creatinine_umol_l":74,"diagnosis":"benign","dlco_percent":73,"ecog":0,"laterality":"left","resected_segments":3,"sex":"male","surgical_approach":"vats"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"anemia":false,"arrhythmia":false,"bmi":27,"citation":{"authors":"Taylor M, Martin GP, Abah U, Sperrin M, Smith MO, Bhullar D, Shackcloth M, Woolley S, West D, Shah R, Grant SW; North West Thoracic Surgery Collaborative (NWTSC)","doi":"10.1093/icvts/ivab200","id":"taylor-2021","pmid":"34293121","source":"Interact Cardiovasc Thorac Surg. 2021;33(6):921-927","title":"Development and internal validation of a clinical prediction model for 90-day mortality after lung resection: the RESECT-90 score"},"creatinine_umol_l":74,"diagnosis":"benign","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.","dlco_percent":73,"ecog":0,"estimated_mortality_percent":0.37,"formula":"resect_90","formula_expression":"L = -6.036 + 0.041*age + 0.493*male + 0.183*ecog - 0.029*dlco_percent - 0.056*bmi + 0.005*creatinine_umol_l + 0.242*anemia + 0.608*arrhythmia + 0.379*right + 0.179*resected_segments + 0.634*thoracotomy + 0.769*malignant (Taylor 2021 Table 3 / PMC8632783); estimated_mortality_percent = 100 / (1 + exp(-L)) from the unrounded logit, 2 decimals","laterality":"left","logit":-5.6,"resected_segments":3,"sex":"male","surgical_approach":"vats"},{"age_years":65,"anemia":false,"arrhythmia":false,"bmi":27,"citation":{"authors":"Taylor M, Martin GP, Abah U, Sperrin M, Smith MO, Bhullar D, Shackcloth M, Woolley S, West D, Shah R, Grant SW; North West Thoracic Surgery Collaborative (NWTSC)","doi":"10.1093/icvts/ivab200","id":"taylor-2021","pmid":"34293121","source":"Interact Cardiovasc Thorac Surg. 2021;33(6):921-927","title":"Development and internal validation of a clinical prediction model for 90-day mortality after lung resection: the RESECT-90 score"},"creatinine_umol_l":74,"diagnosis":"benign","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.","dlco_percent":73,"ecog":0,"estimated_mortality_percent":0.37,"formula":"resect_90","formula_expression":"L = -6.036 + 0.041*age + 0.493*male + 0.183*ecog - 0.029*dlco_percent - 0.056*bmi + 0.005*creatinine_umol_l + 0.242*anemia + 0.608*arrhythmia + 0.379*right + 0.179*resected_segments + 0.634*thoracotomy + 0.769*malignant (Taylor 2021 Table 3 / PMC8632783); estimated_mortality_percent = 100 / (1 + exp(-L)) from the unrounded logit, 2 decimals","laterality":"left","logit":-5.6,"resected_segments":3,"sex":"male","surgical_approach":"vats"}],"path":"/api/calc/resect_90"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Taylor 2021 Table 3 coefficient 0.041 per year. magent does not read a chart.","type":"integer"},"anemia":{"description":"Taylor 2021 WHO anaemia as assigned by the caller: haemoglobin <120 g/L for women or <130 g/L for men (+0.242). true or false. magent does not read a haemoglobin.","type":"boolean"},"arrhythmia":{"description":"Preoperative arrhythmia as assigned by the caller (Taylor 2021 Table 3 +0.608). true or false. magent does not read an ECG.","type":"boolean"},"bmi":{"description":"Body-mass index in kg/m2 (10-80). Taylor 2021 Table 3 subtracts 0.056 per kg/m2. magent does not weigh the patient.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L as published (20-2000). Taylor 2021 Table 3 coefficient 0.005 per µmol/L. Not mg/dL.","type":"number"},"diagnosis":{"description":"Diagnosis as assigned by the caller. benign is the reference (0). malignant (confirmed or suspected) adds 0.769 (Taylor 2021 Table 3).","enum":["benign","malignant"],"type":"string"},"dlco_percent":{"description":"Percent predicted DLCO (10-200). Taylor 2021 Table 3 subtracts 0.029 per percent. magent does not read spirometry or a gas-transfer tracing.","type":"number"},"ecog":{"description":"ECOG / WHO performance status 0-4 as assigned by the caller (Taylor 2021 Table 3 coefficient 0.183 per point). magent does not assign ECOG.","type":"integer"},"laterality":{"description":"Resection laterality as assigned by the caller. left is the reference (0). right adds 0.379 (Taylor 2021 Table 3). magent does not read an operative note.","enum":["left","right"],"type":"string"},"resected_segments":{"description":"Number of resected bronchopulmonary segments (0-19). Taylor 2021 Table 3 coefficient 0.179 per segment. magent does not map a procedure to segments.","type":"integer"},"sex":{"description":"Sex as assigned by the caller. female is the reference (0). male adds 0.493 (Taylor 2021 Table 3). This is a published sex coefficient, not race.","enum":["male","female"],"type":"string"},"surgical_approach":{"description":"Approach as assigned by the caller. vats is the non-thoracotomy reference (0). thoracotomy adds 0.634 (Taylor 2021 Table 3). magent does not classify the incision.","enum":["vats","thoracotomy"],"type":"string"}},"required":["age","sex","ecog","dlco_percent","bmi","creatinine_umol_l","anemia","arrhythmia","laterality","surgical_approach","diagnosis","resected_segments"],"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},{"id":39412,"slug":"39412","resource":"https://api.magentlab.com/api/calc/who_sm","description":"WHO 2016 systemic mastocytosis (Valent 2016 Table 1). Met when major infiltrates (≥15 mast cells in aggregates in BM or extracutaneous organ) plus ≥1 minor, or ≥3 minors. Minors: >25% atypical/spindle mast cells, KIT codon 816, CD2 and/or CD25, tryptase >20 ng/mL (not valid with an unrelated myeloid neoplasm). Not a diagnosis. Not cutaneous mastocytosis only. Not ICC 2022. magent does not read a biopsy or assay tryptase.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_or_cd25":false,"kit_codon_816":true,"major_infiltrates":true,"tryptase_gt_20":false},{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_or_cd25":false,"kit_codon_816":true,"major_infiltrates":true,"tryptase_gt_20":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_or_cd25":false,"citation":{"authors":"Valent P, Akin C, Hartmann K, Nilsson G, Reiter A, Hermine O, Sotlar K, Sperr WR, Escribano L, George TI, Kluin-Nelemans HC, Ustun C, Triggiani M, Brockow K, Gotlib J, Orfao A, Schwartz LB, Horny HP, Galli SJ, Arock M, Metcalfe DD","doi":"10.1182/blood-2016-09-731893","id":"valent-2016","pmid":"28031180","source":"Blood. 2017;129(11):1420-1427 (Epub 2016 Dec 28)","title":"Mastocytosis: 2016 updated WHO classification and novel emerging treatment concepts"},"criteria":[{"factor":"major","met":true},{"factor":"atypical_or_spindle","met":false},{"factor":"kit_codon_816","met":true},{"factor":"cd2_or_cd25","met":false},{"factor":"tryptase_counts","met":false},{"factor":"associated_myeloid_neoplasm","met":false},{"factor":"minor_count_ge_1","met":true},{"factor":"minor_count_ge_3","met":false}],"diagnosed":true,"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":"who_sm","formula_expression":"diagnosed iff (major_infiltrates and minor_count ≥ 1) or minor_count ≥ 3; minor_count counts atypical_or_spindle, kit_codon_816, cd2_or_cd25, and tryptase_gt_20 only when associated_myeloid_neoplasm is false (Valent 2016 Table 1 WHO SM). Not a diagnosis. Not cutaneous mastocytosis only. Not ICC 2022","kit_codon_816":true,"major":true,"major_infiltrates":true,"minor_count":1,"tryptase_counts":false,"tryptase_gt_20":false},{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_or_cd25":false,"citation":{"authors":"Valent P, Akin C, Hartmann K, Nilsson G, Reiter A, Hermine O, Sotlar K, Sperr WR, Escribano L, George TI, Kluin-Nelemans HC, Ustun C, Triggiani M, Brockow K, Gotlib J, Orfao A, Schwartz LB, Horny HP, Galli SJ, Arock M, Metcalfe DD","doi":"10.1182/blood-2016-09-731893","id":"valent-2016","pmid":"28031180","source":"Blood. 2017;129(11):1420-1427 (Epub 2016 Dec 28)","title":"Mastocytosis: 2016 updated WHO classification and novel emerging treatment concepts"},"criteria":[{"factor":"major","met":true},{"factor":"atypical_or_spindle","met":false},{"factor":"kit_codon_816","met":true},{"factor":"cd2_or_cd25","met":false},{"factor":"tryptase_counts","met":false},{"factor":"associated_myeloid_neoplasm","met":false},{"factor":"minor_count_ge_1","met":true},{"factor":"minor_count_ge_3","met":false}],"diagnosed":true,"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":"who_sm","formula_expression":"diagnosed iff (major_infiltrates and minor_count ≥ 1) or minor_count ≥ 3; minor_count counts atypical_or_spindle, kit_codon_816, cd2_or_cd25, and tryptase_gt_20 only when associated_myeloid_neoplasm is false (Valent 2016 Table 1 WHO SM). Not a diagnosis. Not cutaneous mastocytosis only. Not ICC 2022","kit_codon_816":true,"major":true,"major_infiltrates":true,"minor_count":1,"tryptase_counts":false,"tryptase_gt_20":false}],"path":"/api/calc/who_sm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"associated_myeloid_neoplasm":{"description":"Unrelated myeloid neoplasm present as assigned by the caller (Valent 2016 Table 1: item d is not valid). When true, tryptase_gt_20 does not count as a minor. true or false. magent does not diagnose a myeloid neoplasm.","type":"boolean"},"atypical_or_spindle":{"description":">25% atypical (type I/II) or spindle-shaped mast cells in infiltrates or smears, as assigned by the caller (Valent 2016 Table 1 minor a). true or false. magent does not read slides.","type":"boolean"},"cd2_or_cd25":{"description":"Mast cells in bone marrow, blood, or another extracutaneous organ exhibit CD2 and/or CD25, as assigned by the caller (Valent 2016 Table 1 minor c). true or false. magent does not phenotype mast cells.","type":"boolean"},"kit_codon_816":{"description":"KIT point mutation at codon 816 in bone marrow or another extracutaneous organ, as assigned by the caller (Valent 2016 Table 1 minor b). true or false. magent does not sequence KIT.","type":"boolean"},"major_infiltrates":{"description":"Multifocal dense infiltrates of mast cells (≥15 MCs in aggregates) in bone marrow or another extracutaneous organ, as assigned by the caller (Valent 2016 Table 1 major). true or false. magent does not read a biopsy.","type":"boolean"},"tryptase_gt_20":{"description":"Baseline serum tryptase >20 ng/mL as assigned by the caller (Valent 2016 Table 1 minor d). Does not count when associated_myeloid_neoplasm is true. true or false. magent does not assay tryptase.","type":"boolean"}},"required":["major_infiltrates","atypical_or_spindle","kit_codon_816","cd2_or_cd25","tryptase_gt_20","associated_myeloid_neoplasm"],"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":["who-2016","mastocytosis","hematology","kit","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T23:43:13.624Z","quality":{"calls30d":5,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T23:43:13.479Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_or_cd25":false,"kit_codon_816":true,"major_infiltrates":true,"tryptase_gt_20":false},{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_or_cd25":false,"kit_codon_816":true,"major_infiltrates":true,"tryptase_gt_20":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_or_cd25":false,"citation":{"authors":"Valent P, Akin C, Hartmann K, Nilsson G, Reiter A, Hermine O, Sotlar K, Sperr WR, Escribano L, George TI, Kluin-Nelemans HC, Ustun C, Triggiani M, Brockow K, Gotlib J, Orfao A, Schwartz LB, Horny HP, Galli SJ, Arock M, Metcalfe DD","doi":"10.1182/blood-2016-09-731893","id":"valent-2016","pmid":"28031180","source":"Blood. 2017;129(11):1420-1427 (Epub 2016 Dec 28)","title":"Mastocytosis: 2016 updated WHO classification and novel emerging treatment concepts"},"criteria":[{"factor":"major","met":true},{"factor":"atypical_or_spindle","met":false},{"factor":"kit_codon_816","met":true},{"factor":"cd2_or_cd25","met":false},{"factor":"tryptase_counts","met":false},{"factor":"associated_myeloid_neoplasm","met":false},{"factor":"minor_count_ge_1","met":true},{"factor":"minor_count_ge_3","met":false}],"diagnosed":true,"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":"who_sm","formula_expression":"diagnosed iff (major_infiltrates and minor_count ≥ 1) or minor_count ≥ 3; minor_count counts atypical_or_spindle, kit_codon_816, cd2_or_cd25, and tryptase_gt_20 only when associated_myeloid_neoplasm is false (Valent 2016 Table 1 WHO SM). Not a diagnosis. Not cutaneous mastocytosis only. Not ICC 2022","kit_codon_816":true,"major":true,"major_infiltrates":true,"minor_count":1,"tryptase_counts":false,"tryptase_gt_20":false},{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_or_cd25":false,"citation":{"authors":"Valent P, Akin C, Hartmann K, Nilsson G, Reiter A, Hermine O, Sotlar K, Sperr WR, Escribano L, George TI, Kluin-Nelemans HC, Ustun C, Triggiani M, Brockow K, Gotlib J, Orfao A, Schwartz LB, Horny HP, Galli SJ, Arock M, Metcalfe DD","doi":"10.1182/blood-2016-09-731893","id":"valent-2016","pmid":"28031180","source":"Blood. 2017;129(11):1420-1427 (Epub 2016 Dec 28)","title":"Mastocytosis: 2016 updated WHO classification and novel emerging treatment concepts"},"criteria":[{"factor":"major","met":true},{"factor":"atypical_or_spindle","met":false},{"factor":"kit_codon_816","met":true},{"factor":"cd2_or_cd25","met":false},{"factor":"tryptase_counts","met":false},{"factor":"associated_myeloid_neoplasm","met":false},{"factor":"minor_count_ge_1","met":true},{"factor":"minor_count_ge_3","met":false}],"diagnosed":true,"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":"who_sm","formula_expression":"diagnosed iff (major_infiltrates and minor_count ≥ 1) or minor_count ≥ 3; minor_count counts atypical_or_spindle, kit_codon_816, cd2_or_cd25, and tryptase_gt_20 only when associated_myeloid_neoplasm is false (Valent 2016 Table 1 WHO SM). Not a diagnosis. Not cutaneous mastocytosis only. Not ICC 2022","kit_codon_816":true,"major":true,"major_infiltrates":true,"minor_count":1,"tryptase_counts":false,"tryptase_gt_20":false}],"path":"/api/calc/who_sm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"associated_myeloid_neoplasm":{"description":"Unrelated myeloid neoplasm present as assigned by the caller (Valent 2016 Table 1: item d is not valid). When true, tryptase_gt_20 does not count as a minor. true or false. magent does not diagnose a myeloid neoplasm.","type":"boolean"},"atypical_or_spindle":{"description":">25% atypical (type I/II) or spindle-shaped mast cells in infiltrates or smears, as assigned by the caller (Valent 2016 Table 1 minor a). true or false. magent does not read slides.","type":"boolean"},"cd2_or_cd25":{"description":"Mast cells in bone marrow, blood, or another extracutaneous organ exhibit CD2 and/or CD25, as assigned by the caller (Valent 2016 Table 1 minor c). true or false. magent does not phenotype mast cells.","type":"boolean"},"kit_codon_816":{"description":"KIT point mutation at codon 816 in bone marrow or another extracutaneous organ, as assigned by the caller (Valent 2016 Table 1 minor b). true or false. magent does not sequence KIT.","type":"boolean"},"major_infiltrates":{"description":"Multifocal dense infiltrates of mast cells (≥15 MCs in aggregates) in bone marrow or another extracutaneous organ, as assigned by the caller (Valent 2016 Table 1 major). true or false. magent does not read a biopsy.","type":"boolean"},"tryptase_gt_20":{"description":"Baseline serum tryptase >20 ng/mL as assigned by the caller (Valent 2016 Table 1 minor d). Does not count when associated_myeloid_neoplasm is true. true or false. magent does not assay tryptase.","type":"boolean"}},"required":["major_infiltrates","atypical_or_spindle","kit_codon_816","cd2_or_cd25","tryptase_gt_20","associated_myeloid_neoplasm"],"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},{"id":39357,"slug":"39357","resource":"https://api.magentlab.com/api/calc/neonatal_eos","description":"Puopolo 2011 neonatal early-onset sepsis prior at birth (≥34 weeks) from maternal temperature, gestational age, ROM, GBS, and antibiotic timing, then Escobar 2014 posterior after a caller-assigned well, equivocal, or ill exam. Incidence intercepts 0.3-0.6 per 1000 replace the printed 47.8398 constant. Not a sepsis diagnosis or antibiotic order. magent does not examine the infant.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"broad_spectrum_abx_4h":false,"clinical_category":"well","eos_incidence_per_1000":0.5,"gbs":"negative","gbs_or_any_abx_2h":false,"gestational_age_weeks":40,"maternal_temp_f":98.6,"rom_hours":0},{"broad_spectrum_abx_4h":false,"clinical_category":"well","eos_incidence_per_1000":0.5,"gbs":"negative","gbs_or_any_abx_2h":false,"gestational_age_weeks":40,"maternal_temp_f":98.6,"rom_hours":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"broad_spectrum_abx_4h":false,"citation":{"authors":"Puopolo KM, Draper D, Wi S, Newman TB, Zupancic J, Lieberman E, Smith M, Escobar GJ","doi":"10.1542/peds.2010-3464","id":"puopolo-2011","pmid":"22025590","source":"Pediatrics. 2011;128(5):e1155-e1163","title":"Estimating the probability of neonatal early-onset infection on the basis of maternal risk factors"},"clinical_category":"well","clinical_lr":0.41,"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.","eos_incidence_per_1000":0.5,"formula":"neonatal_eos","formula_expression":"SRS = 1/(1+exp(−βx)); βx = intercept(eos_incidence_per_1000) + 0.8680×maternal_temp_f + (−6.9325)×GA + 0.0877×GA² + 1.2256×(ROM_h+0.05)^0.2 + (−1.0488)×gbs_or_any_abx_2h + (−1.1861)×broad_spectrum_abx_4h + GBS(positive 0.5771, unknown 0.0427, negative 0). Intercepts replace the printed 47.8398 case-control constant: 0.3→40.0528, 0.4→40.3415, 0.5→40.5656, 0.6→40.7489. Posterior odds = prior odds × Escobar 2014 conservative upper-95% CI LRs (well 0.41, equivocal 5.0, ill 21.2). Infants ≥34 weeks. Not a sepsis diagnosis or antibiotic order.","gbs":"negative","gbs_or_any_abx_2h":false,"gestational_age_weeks":40,"maternal_temp_f":98.6,"posterior_risk_per_1000":0.0159,"prior_risk_per_1000":0.0388,"rom_hours":0},{"broad_spectrum_abx_4h":false,"citation":{"authors":"Puopolo KM, Draper D, Wi S, Newman TB, Zupancic J, Lieberman E, Smith M, Escobar GJ","doi":"10.1542/peds.2010-3464","id":"puopolo-2011","pmid":"22025590","source":"Pediatrics. 2011;128(5):e1155-e1163","title":"Estimating the probability of neonatal early-onset infection on the basis of maternal risk factors"},"clinical_category":"well","clinical_lr":0.41,"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.","eos_incidence_per_1000":0.5,"formula":"neonatal_eos","formula_expression":"SRS = 1/(1+exp(−βx)); βx = intercept(eos_incidence_per_1000) + 0.8680×maternal_temp_f + (−6.9325)×GA + 0.0877×GA² + 1.2256×(ROM_h+0.05)^0.2 + (−1.0488)×gbs_or_any_abx_2h + (−1.1861)×broad_spectrum_abx_4h + GBS(positive 0.5771, unknown 0.0427, negative 0). Intercepts replace the printed 47.8398 case-control constant: 0.3→40.0528, 0.4→40.3415, 0.5→40.5656, 0.6→40.7489. Posterior odds = prior odds × Escobar 2014 conservative upper-95% CI LRs (well 0.41, equivocal 5.0, ill 21.2). Infants ≥34 weeks. Not a sepsis diagnosis or antibiotic order.","gbs":"negative","gbs_or_any_abx_2h":false,"gestational_age_weeks":40,"maternal_temp_f":98.6,"posterior_risk_per_1000":0.0159,"prior_risk_per_1000":0.0388,"rom_hours":0}],"path":"/api/calc/neonatal_eos"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"broad_spectrum_abx_4h":{"description":"true if broad-spectrum antibiotics ≥4 h before delivery. Caller assigns. true or false.","type":"boolean"},"clinical_category":{"description":"Caller-assigned Escobar 2014 exam category: well, equivocal, or ill. magent does not examine the infant.","enum":["well","equivocal","ill"],"type":"string"},"eos_incidence_per_1000":{"description":"Local EOS incidence per 1000 live births. Only 0.3, 0.4, 0.5, or 0.6 (published intercepts).","enum":[0.3,0.4,0.5,0.6],"type":"number"},"gbs":{"description":"Maternal GBS status: negative, positive, or unknown (Puopolo 2011).","enum":["negative","positive","unknown"],"type":"string"},"gbs_or_any_abx_2h":{"description":"true if GBS-specific antibiotics ≥2 h before delivery or any antibiotics 2-3.9 h before delivery. Caller assigns. true or false.","type":"boolean"},"gestational_age_weeks":{"description":"Gestational age in weeks (34.0-43.0). Days as fractional weeks (39+4/7 ≈ 39.5714). Infants below 34 weeks are rejected (Puopolo 2011).","type":"number"},"maternal_temp_f":{"description":"Highest maternal intrapartum temperature in °F (94.0-108.0), used to 0.1°F.","type":"number"},"rom_hours":{"description":"Duration of rupture of membranes in hours (0-240). Transformed as (hours+0.05)^0.2.","type":"number"}},"required":["gestational_age_weeks","maternal_temp_f","rom_hours","gbs","gbs_or_any_abx_2h","broad_spectrum_abx_4h","eos_incidence_per_1000","clinical_category"],"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":["neonatal-eos","sepsis","newborn","gbs","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:05:33.637Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:05:33.5Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"broad_spectrum_abx_4h":false,"clinical_category":"well","eos_incidence_per_1000":0.5,"gbs":"negative","gbs_or_any_abx_2h":false,"gestational_age_weeks":40,"maternal_temp_f":98.6,"rom_hours":0},{"broad_spectrum_abx_4h":false,"clinical_category":"well","eos_incidence_per_1000":0.5,"gbs":"negative","gbs_or_any_abx_2h":false,"gestational_age_weeks":40,"maternal_temp_f":98.6,"rom_hours":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"broad_spectrum_abx_4h":false,"citation":{"authors":"Puopolo KM, Draper D, Wi S, Newman TB, Zupancic J, Lieberman E, Smith M, Escobar GJ","doi":"10.1542/peds.2010-3464","id":"puopolo-2011","pmid":"22025590","source":"Pediatrics. 2011;128(5):e1155-e1163","title":"Estimating the probability of neonatal early-onset infection on the basis of maternal risk factors"},"clinical_category":"well","clinical_lr":0.41,"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.","eos_incidence_per_1000":0.5,"formula":"neonatal_eos","formula_expression":"SRS = 1/(1+exp(−βx)); βx = intercept(eos_incidence_per_1000) + 0.8680×maternal_temp_f + (−6.9325)×GA + 0.0877×GA² + 1.2256×(ROM_h+0.05)^0.2 + (−1.0488)×gbs_or_any_abx_2h + (−1.1861)×broad_spectrum_abx_4h + GBS(positive 0.5771, unknown 0.0427, negative 0). Intercepts replace the printed 47.8398 case-control constant: 0.3→40.0528, 0.4→40.3415, 0.5→40.5656, 0.6→40.7489. Posterior odds = prior odds × Escobar 2014 conservative upper-95% CI LRs (well 0.41, equivocal 5.0, ill 21.2). Infants ≥34 weeks. Not a sepsis diagnosis or antibiotic order.","gbs":"negative","gbs_or_any_abx_2h":false,"gestational_age_weeks":40,"maternal_temp_f":98.6,"posterior_risk_per_1000":0.0159,"prior_risk_per_1000":0.0388,"rom_hours":0},{"broad_spectrum_abx_4h":false,"citation":{"authors":"Puopolo KM, Draper D, Wi S, Newman TB, Zupancic J, Lieberman E, Smith M, Escobar GJ","doi":"10.1542/peds.2010-3464","id":"puopolo-2011","pmid":"22025590","source":"Pediatrics. 2011;128(5):e1155-e1163","title":"Estimating the probability of neonatal early-onset infection on the basis of maternal risk factors"},"clinical_category":"well","clinical_lr":0.41,"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.","eos_incidence_per_1000":0.5,"formula":"neonatal_eos","formula_expression":"SRS = 1/(1+exp(−βx)); βx = intercept(eos_incidence_per_1000) + 0.8680×maternal_temp_f + (−6.9325)×GA + 0.0877×GA² + 1.2256×(ROM_h+0.05)^0.2 + (−1.0488)×gbs_or_any_abx_2h + (−1.1861)×broad_spectrum_abx_4h + GBS(positive 0.5771, unknown 0.0427, negative 0). Intercepts replace the printed 47.8398 case-control constant: 0.3→40.0528, 0.4→40.3415, 0.5→40.5656, 0.6→40.7489. Posterior odds = prior odds × Escobar 2014 conservative upper-95% CI LRs (well 0.41, equivocal 5.0, ill 21.2). Infants ≥34 weeks. Not a sepsis diagnosis or antibiotic order.","gbs":"negative","gbs_or_any_abx_2h":false,"gestational_age_weeks":40,"maternal_temp_f":98.6,"posterior_risk_per_1000":0.0159,"prior_risk_per_1000":0.0388,"rom_hours":0}],"path":"/api/calc/neonatal_eos"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"broad_spectrum_abx_4h":{"description":"true if broad-spectrum antibiotics ≥4 h before delivery. Caller assigns. true or false.","type":"boolean"},"clinical_category":{"description":"Caller-assigned Escobar 2014 exam category: well, equivocal, or ill. magent does not examine the infant.","enum":["well","equivocal","ill"],"type":"string"},"eos_incidence_per_1000":{"description":"Local EOS incidence per 1000 live births. Only 0.3, 0.4, 0.5, or 0.6 (published intercepts).","enum":[0.3,0.4,0.5,0.6],"type":"number"},"gbs":{"description":"Maternal GBS status: negative, positive, or unknown (Puopolo 2011).","enum":["negative","positive","unknown"],"type":"string"},"gbs_or_any_abx_2h":{"description":"true if GBS-specific antibiotics ≥2 h before delivery or any antibiotics 2-3.9 h before delivery. Caller assigns. true or false.","type":"boolean"},"gestational_age_weeks":{"description":"Gestational age in weeks (34.0-43.0). Days as fractional weeks (39+4/7 ≈ 39.5714). Infants below 34 weeks are rejected (Puopolo 2011).","type":"number"},"maternal_temp_f":{"description":"Highest maternal intrapartum temperature in °F (94.0-108.0), used to 0.1°F.","type":"number"},"rom_hours":{"description":"Duration of rupture of membranes in hours (0-240). Transformed as (hours+0.05)^0.2.","type":"number"}},"required":["gestational_age_weeks","maternal_temp_f","rom_hours","gbs","gbs_or_any_abx_2h","broad_spectrum_abx_4h","eos_incidence_per_1000","clinical_category"],"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},{"id":39358,"slug":"39358","resource":"https://api.magentlab.com/api/calc/oocyte_live_birth","description":"Goldman 2017 counseling for elective mature-oocyte cryopreservation. Autologous: thaw survival 0.95 if age <36 else 0.85; p_blast = survival × exp(2.8043 − 0.1112 × equation_age) with equation_age 35 at age ≤35; p_euploid from that paper's SI table. Donor: p_blast 0.3583, p_euploid 0.647. p_oocyte = 0.6 × p_euploid × p_blast. Returns nearest-integer percents of at least 1, 2, and 3 live births. Surrogate ICSI cohort; not a live-birth guarantee. Not oncofertility.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":37,"egg_donor":false,"mature_oocytes":20},{"age_years":37,"egg_donor":false,"mature_oocytes":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":37,"citation":{"authors":"Goldman RH, Racowsky C, Farland LV, Munné S, Ribustello L, Fox JH","doi":"10.1093/humrep/dex008","id":"goldman-2017","pmid":"28166330","source":"Hum Reprod. 2017;32(4):853-859","title":"Predicting the likelihood of live birth for elective oocyte cryopreservation: a counseling tool for physicians and patients"},"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.","egg_donor":false,"formula":"oocyte_live_birth","formula_expression":"p_oocyte = 0.6 * p_euploid * p_blast; autologous p_blast = survival * exp(2.8043 - 0.1112 * equation_age), survival = 0.95 if age_years < 36 else 0.85, equation_age = 35 if age_years <= 35 else age_years; autologous p_euploid from Goldman 2017 SI / main text by integer age (<=35 0.574, 36 0.564, 37 0.486, 38 0.466, 39 0.440, 40 0.359, 41 0.327, 42 0.285, 43 0.206, 44 0.127); donor p_blast = 0.3583, p_euploid = 0.647; p_at_least_k = 1 - sum_{i=0}^{k-1} C(n,i) * p_oocyte^i * (1-p_oocyte)^{n-i} for k=1,2,3 with n = mature_oocytes; percents nearest integer 0-100 (Goldman 2017 Equations 1-2)","mature_oocytes":20,"p_at_least_1_percent":75,"p_at_least_2_percent":39,"p_at_least_3_percent":15,"p_blast":0.2293,"p_euploid":0.486,"p_oocyte":0.0669},{"age_years":37,"citation":{"authors":"Goldman RH, Racowsky C, Farland LV, Munné S, Ribustello L, Fox JH","doi":"10.1093/humrep/dex008","id":"goldman-2017","pmid":"28166330","source":"Hum Reprod. 2017;32(4):853-859","title":"Predicting the likelihood of live birth for elective oocyte cryopreservation: a counseling tool for physicians and patients"},"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.","egg_donor":false,"formula":"oocyte_live_birth","formula_expression":"p_oocyte = 0.6 * p_euploid * p_blast; autologous p_blast = survival * exp(2.8043 - 0.1112 * equation_age), survival = 0.95 if age_years < 36 else 0.85, equation_age = 35 if age_years <= 35 else age_years; autologous p_euploid from Goldman 2017 SI / main text by integer age (<=35 0.574, 36 0.564, 37 0.486, 38 0.466, 39 0.440, 40 0.359, 41 0.327, 42 0.285, 43 0.206, 44 0.127); donor p_blast = 0.3583, p_euploid = 0.647; p_at_least_k = 1 - sum_{i=0}^{k-1} C(n,i) * p_oocyte^i * (1-p_oocyte)^{n-i} for k=1,2,3 with n = mature_oocytes; percents nearest integer 0-100 (Goldman 2017 Equations 1-2)","mature_oocytes":20,"p_at_least_1_percent":75,"p_at_least_2_percent":39,"p_at_least_3_percent":15,"p_blast":0.2293,"p_euploid":0.486,"p_oocyte":0.0669}],"path":"/api/calc/oocyte_live_birth"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Integer age in years (24-44) at the time of the oocyte retrieval as assigned by the caller. Autologous Equation 1 groups age ≤35 as equation_age 35. Donor rates do not change with age, but age is still required. magent does not read an identity document.","type":"integer"},"egg_donor":{"description":"true when the mature oocytes are from a donor as assigned by the caller; false for autologous oocytes. Donor path uses p_blast 0.3583 and p_euploid 0.647. true or false.","type":"boolean"},"mature_oocytes":{"description":"Count of mature (MII) oocytes to bank, integer 1-80, as assigned by the caller. Each oocyte is an independent Bernoulli trial at p_oocyte. magent does not count oocytes.","type":"integer"}},"required":["age_years","mature_oocytes","egg_donor"],"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":["oocyte-cryopreservation","live-birth","goldman-2017","fertility","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:05:27.681Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:05:27.55Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":37,"egg_donor":false,"mature_oocytes":20},{"age_years":37,"egg_donor":false,"mature_oocytes":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":37,"citation":{"authors":"Goldman RH, Racowsky C, Farland LV, Munné S, Ribustello L, Fox JH","doi":"10.1093/humrep/dex008","id":"goldman-2017","pmid":"28166330","source":"Hum Reprod. 2017;32(4):853-859","title":"Predicting the likelihood of live birth for elective oocyte cryopreservation: a counseling tool for physicians and patients"},"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.","egg_donor":false,"formula":"oocyte_live_birth","formula_expression":"p_oocyte = 0.6 * p_euploid * p_blast; autologous p_blast = survival * exp(2.8043 - 0.1112 * equation_age), survival = 0.95 if age_years < 36 else 0.85, equation_age = 35 if age_years <= 35 else age_years; autologous p_euploid from Goldman 2017 SI / main text by integer age (<=35 0.574, 36 0.564, 37 0.486, 38 0.466, 39 0.440, 40 0.359, 41 0.327, 42 0.285, 43 0.206, 44 0.127); donor p_blast = 0.3583, p_euploid = 0.647; p_at_least_k = 1 - sum_{i=0}^{k-1} C(n,i) * p_oocyte^i * (1-p_oocyte)^{n-i} for k=1,2,3 with n = mature_oocytes; percents nearest integer 0-100 (Goldman 2017 Equations 1-2)","mature_oocytes":20,"p_at_least_1_percent":75,"p_at_least_2_percent":39,"p_at_least_3_percent":15,"p_blast":0.2293,"p_euploid":0.486,"p_oocyte":0.0669},{"age_years":37,"citation":{"authors":"Goldman RH, Racowsky C, Farland LV, Munné S, Ribustello L, Fox JH","doi":"10.1093/humrep/dex008","id":"goldman-2017","pmid":"28166330","source":"Hum Reprod. 2017;32(4):853-859","title":"Predicting the likelihood of live birth for elective oocyte cryopreservation: a counseling tool for physicians and patients"},"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.","egg_donor":false,"formula":"oocyte_live_birth","formula_expression":"p_oocyte = 0.6 * p_euploid * p_blast; autologous p_blast = survival * exp(2.8043 - 0.1112 * equation_age), survival = 0.95 if age_years < 36 else 0.85, equation_age = 35 if age_years <= 35 else age_years; autologous p_euploid from Goldman 2017 SI / main text by integer age (<=35 0.574, 36 0.564, 37 0.486, 38 0.466, 39 0.440, 40 0.359, 41 0.327, 42 0.285, 43 0.206, 44 0.127); donor p_blast = 0.3583, p_euploid = 0.647; p_at_least_k = 1 - sum_{i=0}^{k-1} C(n,i) * p_oocyte^i * (1-p_oocyte)^{n-i} for k=1,2,3 with n = mature_oocytes; percents nearest integer 0-100 (Goldman 2017 Equations 1-2)","mature_oocytes":20,"p_at_least_1_percent":75,"p_at_least_2_percent":39,"p_at_least_3_percent":15,"p_blast":0.2293,"p_euploid":0.486,"p_oocyte":0.0669}],"path":"/api/calc/oocyte_live_birth"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Integer age in years (24-44) at the time of the oocyte retrieval as assigned by the caller. Autologous Equation 1 groups age ≤35 as equation_age 35. Donor rates do not change with age, but age is still required. magent does not read an identity document.","type":"integer"},"egg_donor":{"description":"true when the mature oocytes are from a donor as assigned by the caller; false for autologous oocytes. Donor path uses p_blast 0.3583 and p_euploid 0.647. true or false.","type":"boolean"},"mature_oocytes":{"description":"Count of mature (MII) oocytes to bank, integer 1-80, as assigned by the caller. Each oocyte is an independent Bernoulli trial at p_oocyte. magent does not count oocytes.","type":"integer"}},"required":["age_years","mature_oocytes","egg_donor"],"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},{"id":39359,"slug":"39359","resource":"https://api.magentlab.com/api/calc/neonatal_partial_exchange","description":"Partial-exchange volume from Kumar 2004: volume_ml = (actual_hct_percent - 55) / actual_hct_percent * blood_volume_ml. Desired hematocrit is the trial's 55 percent only. Caller assigns blood volume; magent does not choose millilitres per kilogram or saline versus plasma. Not a transfusion order or indication (the trial found no long-term benefit in asymptomatic LBW). Deterministic published arithmetic with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"actual_hct_percent":70,"blood_volume_ml":270},{"actual_hct_percent":70,"blood_volume_ml":270}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"actual_hct_percent":70,"blood_volume_ml":270,"citation":{"authors":"Kumar A, Ramji S","id":"kumar-2004","pmid":"15123865","source":"Indian Pediatr. 2004;41(4):366-372","title":"Effect of partial exchange transfusion in asymptomatic polycythemic LBW babies"},"desired_hct_percent":55,"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":"neonatal_partial_exchange","formula_expression":"volume_ml = (actual_hct_percent - 55) / actual_hct_percent * blood_volume_ml","volume_ml":57.9},{"actual_hct_percent":70,"blood_volume_ml":270,"citation":{"authors":"Kumar A, Ramji S","id":"kumar-2004","pmid":"15123865","source":"Indian Pediatr. 2004;41(4):366-372","title":"Effect of partial exchange transfusion in asymptomatic polycythemic LBW babies"},"desired_hct_percent":55,"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":"neonatal_partial_exchange","formula_expression":"volume_ml = (actual_hct_percent - 55) / actual_hct_percent * blood_volume_ml","volume_ml":57.9}],"path":"/api/calc/neonatal_partial_exchange"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"actual_hct_percent":{"description":"Actual hematocrit as percent (56-90). Must be above the trial desired 55.","type":"number"},"blood_volume_ml":{"description":"Caller-assigned blood volume in millilitres (40-600). magent does not choose millilitres per kilogram.","type":"number"}},"required":["actual_hct_percent","blood_volume_ml"],"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":["neonatal","hematocrit","exchange","polycythemia","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:05:21.475Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:05:21.335Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"actual_hct_percent":70,"blood_volume_ml":270},{"actual_hct_percent":70,"blood_volume_ml":270}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"actual_hct_percent":70,"blood_volume_ml":270,"citation":{"authors":"Kumar A, Ramji S","id":"kumar-2004","pmid":"15123865","source":"Indian Pediatr. 2004;41(4):366-372","title":"Effect of partial exchange transfusion in asymptomatic polycythemic LBW babies"},"desired_hct_percent":55,"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":"neonatal_partial_exchange","formula_expression":"volume_ml = (actual_hct_percent - 55) / actual_hct_percent * blood_volume_ml","volume_ml":57.9},{"actual_hct_percent":70,"blood_volume_ml":270,"citation":{"authors":"Kumar A, Ramji S","id":"kumar-2004","pmid":"15123865","source":"Indian Pediatr. 2004;41(4):366-372","title":"Effect of partial exchange transfusion in asymptomatic polycythemic LBW babies"},"desired_hct_percent":55,"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":"neonatal_partial_exchange","formula_expression":"volume_ml = (actual_hct_percent - 55) / actual_hct_percent * blood_volume_ml","volume_ml":57.9}],"path":"/api/calc/neonatal_partial_exchange"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"actual_hct_percent":{"description":"Actual hematocrit as percent (56-90). Must be above the trial desired 55.","type":"number"},"blood_volume_ml":{"description":"Caller-assigned blood volume in millilitres (40-600). magent does not choose millilitres per kilogram.","type":"number"}},"required":["actual_hct_percent","blood_volume_ml"],"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},{"id":39360,"slug":"39360","resource":"https://api.magentlab.com/api/calc/intrauterine_rbc","description":"Mandelbrot 1988 intrauterine RBC transfusion volume: fetoplacental_volume_ml = 1.046 + estimated_fetal_weight_g * 0.14; volume_ml uses the unrounded fetoplacental volume times (hct_final_percent - hct_initial_percent) / hct_donor_percent. Hematocrit arm only; the paper also allowed platelet count — magent does not implement platelets. Caller-assigned estimated fetal weight; magent does not estimate weight from biometry. Not a medical device or transfusion order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"estimated_fetal_weight_g":1000,"hct_donor_percent":80,"hct_final_percent":40,"hct_initial_percent":20},{"estimated_fetal_weight_g":1000,"hct_donor_percent":80,"hct_final_percent":40,"hct_initial_percent":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mandelbrot L, Daffos F, Forestier F, MacAleese J, Descombey D","doi":"10.1159/000263335","id":"mandelbrot-1988","pmid":"3257068","source":"Fetal Ther. 1988;3(1-2):60-66","title":"Assessment of fetal blood volume for computer-assisted management of in utero transfusion"},"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.","estimated_fetal_weight_g":1000,"fetoplacental_volume_ml":141,"formula":"mandelbrot_hct","formula_expression":"fetoplacental_volume_ml = 1.046 + estimated_fetal_weight_g * 0.14; volume_ml = fetoplacental_volume_ml * (hct_final_percent - hct_initial_percent) / hct_donor_percent","hct_donor_percent":80,"hct_final_percent":40,"hct_initial_percent":20,"volume_ml":35.3},{"citation":{"authors":"Mandelbrot L, Daffos F, Forestier F, MacAleese J, Descombey D","doi":"10.1159/000263335","id":"mandelbrot-1988","pmid":"3257068","source":"Fetal Ther. 1988;3(1-2):60-66","title":"Assessment of fetal blood volume for computer-assisted management of in utero transfusion"},"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.","estimated_fetal_weight_g":1000,"fetoplacental_volume_ml":141,"formula":"mandelbrot_hct","formula_expression":"fetoplacental_volume_ml = 1.046 + estimated_fetal_weight_g * 0.14; volume_ml = fetoplacental_volume_ml * (hct_final_percent - hct_initial_percent) / hct_donor_percent","hct_donor_percent":80,"hct_final_percent":40,"hct_initial_percent":20,"volume_ml":35.3}],"path":"/api/calc/intrauterine_rbc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"estimated_fetal_weight_g":{"description":"Caller-assigned estimated fetal weight in grams (200-4000). Required. magent does not estimate fetal weight from biometry.","type":"number"},"hct_donor_percent":{"description":"Donor unit hematocrit as a percent (60-90). Must be strictly greater than hct_final_percent.","type":"number"},"hct_final_percent":{"description":"Target fetal hematocrit as a percent (20-60). Must be strictly greater than hct_initial_percent and strictly less than hct_donor_percent.","type":"number"},"hct_initial_percent":{"description":"Initial fetal hematocrit as a percent (5-50). Must be strictly less than hct_final_percent.","type":"number"}},"required":["estimated_fetal_weight_g","hct_initial_percent","hct_final_percent","hct_donor_percent"],"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":["iut","intrauterine-rbc","hematocrit","neonatal","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:05:15.517Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:05:15.351Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"estimated_fetal_weight_g":1000,"hct_donor_percent":80,"hct_final_percent":40,"hct_initial_percent":20},{"estimated_fetal_weight_g":1000,"hct_donor_percent":80,"hct_final_percent":40,"hct_initial_percent":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mandelbrot L, Daffos F, Forestier F, MacAleese J, Descombey D","doi":"10.1159/000263335","id":"mandelbrot-1988","pmid":"3257068","source":"Fetal Ther. 1988;3(1-2):60-66","title":"Assessment of fetal blood volume for computer-assisted management of in utero transfusion"},"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.","estimated_fetal_weight_g":1000,"fetoplacental_volume_ml":141,"formula":"mandelbrot_hct","formula_expression":"fetoplacental_volume_ml = 1.046 + estimated_fetal_weight_g * 0.14; volume_ml = fetoplacental_volume_ml * (hct_final_percent - hct_initial_percent) / hct_donor_percent","hct_donor_percent":80,"hct_final_percent":40,"hct_initial_percent":20,"volume_ml":35.3},{"citation":{"authors":"Mandelbrot L, Daffos F, Forestier F, MacAleese J, Descombey D","doi":"10.1159/000263335","id":"mandelbrot-1988","pmid":"3257068","source":"Fetal Ther. 1988;3(1-2):60-66","title":"Assessment of fetal blood volume for computer-assisted management of in utero transfusion"},"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.","estimated_fetal_weight_g":1000,"fetoplacental_volume_ml":141,"formula":"mandelbrot_hct","formula_expression":"fetoplacental_volume_ml = 1.046 + estimated_fetal_weight_g * 0.14; volume_ml = fetoplacental_volume_ml * (hct_final_percent - hct_initial_percent) / hct_donor_percent","hct_donor_percent":80,"hct_final_percent":40,"hct_initial_percent":20,"volume_ml":35.3}],"path":"/api/calc/intrauterine_rbc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"estimated_fetal_weight_g":{"description":"Caller-assigned estimated fetal weight in grams (200-4000). Required. magent does not estimate fetal weight from biometry.","type":"number"},"hct_donor_percent":{"description":"Donor unit hematocrit as a percent (60-90). Must be strictly greater than hct_final_percent.","type":"number"},"hct_final_percent":{"description":"Target fetal hematocrit as a percent (20-60). Must be strictly greater than hct_initial_percent and strictly less than hct_donor_percent.","type":"number"},"hct_initial_percent":{"description":"Initial fetal hematocrit as a percent (5-50). Must be strictly less than hct_final_percent.","type":"number"}},"required":["estimated_fetal_weight_g","hct_initial_percent","hct_final_percent","hct_donor_percent"],"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},{"id":39361,"slug":"39361","resource":"https://api.magentlab.com/api/calc/pregnancy_due_dates","description":"Pregnancy estimated due date from a certain LMP using ACOG Committee Opinion 700 Naegele: edd_days_from_lmp = 280 + (cycle_length_days - 28). Inputs are numeric days_since_lmp (0-294) and cycle_length_days (21-35); those bands are magent clamps. Reports gestational_age_days and days_until_edd (negative if past EDD). Not a dating ultrasound. magent does not interpret imaging. Not a delivery date order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cycle_length_days":28,"days_since_lmp":0},{"cycle_length_days":28,"days_since_lmp":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Committee on Obstetric Practice; American Institute of Ultrasound in Medicine; Society for Maternal-Fetal Medicine","doi":"10.1097/AOG.0000000000002046","id":"acog-2017-700","pmid":"28426617","source":"Obstet Gynecol. 2017;129(5):e150-e154","title":"Methods for Estimating the Due Date"},"cycle_length_days":28,"days_since_lmp":0,"days_until_edd":280,"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.","edd_days_from_lmp":280,"formula":"pregnancy_due_dates","formula_expression":"edd_days_from_lmp = 280 + (cycle_length_days - 28); gestational_age_days = days_since_lmp; days_until_edd = edd_days_from_lmp - days_since_lmp","gestational_age_days":0},{"citation":{"authors":"Committee on Obstetric Practice; American Institute of Ultrasound in Medicine; Society for Maternal-Fetal Medicine","doi":"10.1097/AOG.0000000000002046","id":"acog-2017-700","pmid":"28426617","source":"Obstet Gynecol. 2017;129(5):e150-e154","title":"Methods for Estimating the Due Date"},"cycle_length_days":28,"days_since_lmp":0,"days_until_edd":280,"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.","edd_days_from_lmp":280,"formula":"pregnancy_due_dates","formula_expression":"edd_days_from_lmp = 280 + (cycle_length_days - 28); gestational_age_days = days_since_lmp; days_until_edd = edd_days_from_lmp - days_since_lmp","gestational_age_days":0}],"path":"/api/calc/pregnancy_due_dates"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cycle_length_days":{"description":"Usual cycle length in days (integer 21-35 inclusive). magent clamp; ACOG 700 adjusts the 280-day interval by (cycle_length_days - 28) and does not publish this input band. 28 is the Naegele reference cycle.","type":"integer"},"days_since_lmp":{"description":"Completed days since the first day of a certain last menstrual period (integer 0-294 inclusive). magent clamp; ACOG 700 publishes the 280-day Naegele interval, not this input band. Numeric days only. Not a calendar date.","type":"integer"}},"required":["days_since_lmp","cycle_length_days"],"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":["edd","lmp","naegele","pregnancy","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:05:09.393Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:05:09.262Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cycle_length_days":28,"days_since_lmp":0},{"cycle_length_days":28,"days_since_lmp":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Committee on Obstetric Practice; American Institute of Ultrasound in Medicine; Society for Maternal-Fetal Medicine","doi":"10.1097/AOG.0000000000002046","id":"acog-2017-700","pmid":"28426617","source":"Obstet Gynecol. 2017;129(5):e150-e154","title":"Methods for Estimating the Due Date"},"cycle_length_days":28,"days_since_lmp":0,"days_until_edd":280,"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.","edd_days_from_lmp":280,"formula":"pregnancy_due_dates","formula_expression":"edd_days_from_lmp = 280 + (cycle_length_days - 28); gestational_age_days = days_since_lmp; days_until_edd = edd_days_from_lmp - days_since_lmp","gestational_age_days":0},{"citation":{"authors":"Committee on Obstetric Practice; American Institute of Ultrasound in Medicine; Society for Maternal-Fetal Medicine","doi":"10.1097/AOG.0000000000002046","id":"acog-2017-700","pmid":"28426617","source":"Obstet Gynecol. 2017;129(5):e150-e154","title":"Methods for Estimating the Due Date"},"cycle_length_days":28,"days_since_lmp":0,"days_until_edd":280,"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.","edd_days_from_lmp":280,"formula":"pregnancy_due_dates","formula_expression":"edd_days_from_lmp = 280 + (cycle_length_days - 28); gestational_age_days = days_since_lmp; days_until_edd = edd_days_from_lmp - days_since_lmp","gestational_age_days":0}],"path":"/api/calc/pregnancy_due_dates"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cycle_length_days":{"description":"Usual cycle length in days (integer 21-35 inclusive). magent clamp; ACOG 700 adjusts the 280-day interval by (cycle_length_days - 28) and does not publish this input band. 28 is the Naegele reference cycle.","type":"integer"},"days_since_lmp":{"description":"Completed days since the first day of a certain last menstrual period (integer 0-294 inclusive). magent clamp; ACOG 700 publishes the 280-day Naegele interval, not this input band. Numeric days only. Not a calendar date.","type":"integer"}},"required":["days_since_lmp","cycle_length_days"],"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},{"id":39362,"slug":"39362","resource":"https://api.magentlab.com/api/calc/eat_sleep_console","description":"Grossman 2018 Eat, Sleep, Console functional assessment. well_managed iff eat ≥1 oz per feed or breastfeed well, sleep undisturbed ≥1 hour, and console within 10 minutes if crying. needs_increased_treatment iff not well_managed (boolean only; not a morphine dose). Not modified Finnegan. Not the later ESC Care Tool item list. magent does not examine the infant. Not a diagnosis or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"console_ok":true,"eat_ok":true,"sleep_ok":true},{"console_ok":true,"eat_ok":true,"sleep_ok":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Grossman MR, Lipshaw MJ, Osborn RR, Berkwitt AK","doi":"10.1542/hpeds.2017-0128","id":"grossman-2018","pmid":"29263121","source":"Hosp Pediatr. 2018;8(1):1-6","title":"A Novel Approach to Assessing Infants With Neonatal Abstinence Syndrome"},"criteria":[{"factor":"eat_ok","met":true},{"factor":"sleep_ok","met":true},{"factor":"console_ok","met":true}],"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":"eat_sleep_console","formula_expression":"well_managed iff eat_ok AND sleep_ok AND console_ok (Grossman 2018 Eat, Sleep, Console). eat_ok = eat ≥1 oz per feed or breastfeed well; sleep_ok = sleep undisturbed ≥1 hour; console_ok = consoled within 10 minutes if crying. needs_increased_treatment iff not well_managed. Not modified Finnegan. Not the later ESC Care Tool item list. magent does not examine the infant. Not a morphine order.","needs_increased_treatment":false,"well_managed":true},{"citation":{"authors":"Grossman MR, Lipshaw MJ, Osborn RR, Berkwitt AK","doi":"10.1542/hpeds.2017-0128","id":"grossman-2018","pmid":"29263121","source":"Hosp Pediatr. 2018;8(1):1-6","title":"A Novel Approach to Assessing Infants With Neonatal Abstinence Syndrome"},"criteria":[{"factor":"eat_ok","met":true},{"factor":"sleep_ok","met":true},{"factor":"console_ok","met":true}],"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":"eat_sleep_console","formula_expression":"well_managed iff eat_ok AND sleep_ok AND console_ok (Grossman 2018 Eat, Sleep, Console). eat_ok = eat ≥1 oz per feed or breastfeed well; sleep_ok = sleep undisturbed ≥1 hour; console_ok = consoled within 10 minutes if crying. needs_increased_treatment iff not well_managed. Not modified Finnegan. Not the later ESC Care Tool item list. magent does not examine the infant. Not a morphine order.","needs_increased_treatment":false,"well_managed":true}],"path":"/api/calc/eat_sleep_console"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"console_ok":{"description":"Able to be consoled, if crying, within 10 minutes, as assigned by the caller (Grossman 2018 Eat, Sleep, Console). true or false. magent does not observe consolability.","type":"boolean"},"eat_ok":{"description":"Able to eat ≥1 oz per feed or breastfeed well, as assigned by the caller (Grossman 2018 Eat, Sleep, Console). true or false. magent does not observe feeding.","type":"boolean"},"sleep_ok":{"description":"Able to sleep undisturbed ≥1 hour, as assigned by the caller (Grossman 2018 Eat, Sleep, Console). true or false. magent does not observe sleep.","type":"boolean"}},"required":["eat_ok","sleep_ok","console_ok"],"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":["eat-sleep-console","nas","neonatal","esc","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:04:56.549Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:04:56.415Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"console_ok":true,"eat_ok":true,"sleep_ok":true},{"console_ok":true,"eat_ok":true,"sleep_ok":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Grossman MR, Lipshaw MJ, Osborn RR, Berkwitt AK","doi":"10.1542/hpeds.2017-0128","id":"grossman-2018","pmid":"29263121","source":"Hosp Pediatr. 2018;8(1):1-6","title":"A Novel Approach to Assessing Infants With Neonatal Abstinence Syndrome"},"criteria":[{"factor":"eat_ok","met":true},{"factor":"sleep_ok","met":true},{"factor":"console_ok","met":true}],"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":"eat_sleep_console","formula_expression":"well_managed iff eat_ok AND sleep_ok AND console_ok (Grossman 2018 Eat, Sleep, Console). eat_ok = eat ≥1 oz per feed or breastfeed well; sleep_ok = sleep undisturbed ≥1 hour; console_ok = consoled within 10 minutes if crying. needs_increased_treatment iff not well_managed. Not modified Finnegan. Not the later ESC Care Tool item list. magent does not examine the infant. Not a morphine order.","needs_increased_treatment":false,"well_managed":true},{"citation":{"authors":"Grossman MR, Lipshaw MJ, Osborn RR, Berkwitt AK","doi":"10.1542/hpeds.2017-0128","id":"grossman-2018","pmid":"29263121","source":"Hosp Pediatr. 2018;8(1):1-6","title":"A Novel Approach to Assessing Infants With Neonatal Abstinence Syndrome"},"criteria":[{"factor":"eat_ok","met":true},{"factor":"sleep_ok","met":true},{"factor":"console_ok","met":true}],"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":"eat_sleep_console","formula_expression":"well_managed iff eat_ok AND sleep_ok AND console_ok (Grossman 2018 Eat, Sleep, Console). eat_ok = eat ≥1 oz per feed or breastfeed well; sleep_ok = sleep undisturbed ≥1 hour; console_ok = consoled within 10 minutes if crying. needs_increased_treatment iff not well_managed. Not modified Finnegan. Not the later ESC Care Tool item list. magent does not examine the infant. Not a morphine order.","needs_increased_treatment":false,"well_managed":true}],"path":"/api/calc/eat_sleep_console"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"console_ok":{"description":"Able to be consoled, if crying, within 10 minutes, as assigned by the caller (Grossman 2018 Eat, Sleep, Console). true or false. magent does not observe consolability.","type":"boolean"},"eat_ok":{"description":"Able to eat ≥1 oz per feed or breastfeed well, as assigned by the caller (Grossman 2018 Eat, Sleep, Console). true or false. magent does not observe feeding.","type":"boolean"},"sleep_ok":{"description":"Able to sleep undisturbed ≥1 hour, as assigned by the caller (Grossman 2018 Eat, Sleep, Console). true or false. magent does not observe sleep.","type":"boolean"}},"required":["eat_ok","sleep_ok","console_ok"],"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},{"id":39363,"slug":"39363","resource":"https://api.magentlab.com/api/calc/puqe","description":"Koren 2002 12-hour PUQE: three caller-assigned integers 1-5 (nausea duration, vomiting episodes, and retching episodes over the last 12 hours as in that paper's table). Sum 3-15. magent does not interview the patient. Koren 2002 published no 3-6 / 7-12 / ≥13 total-score cuts; later 24-hour and trimester-long forms are not scored. Not an antiemetic order and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"nausea_duration":1,"retching_episodes":1,"vomiting_episodes":1},{"nausea_duration":1,"retching_episodes":1,"vomiting_episodes":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Koren G, Boskovic R, Hard M, Maltepe C, Navioz Y, Einarson A","doi":"10.1067/mob.2002.123054","id":"koren-2002","pmid":"12011891","source":"Am J Obstet Gynecol. 2002;186(5 Suppl Understanding):S228-S231","title":"Motherisk-PUQE (pregnancy-unique quantification of emesis and nausea) scoring system for nausea and vomiting of pregnancy"},"components":[{"factor":"nausea_duration","points":1,"present":true,"value":1},{"factor":"vomiting_episodes","points":1,"present":true,"value":1},{"factor":"retching_episodes","points":1,"present":true,"value":1}],"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":"puqe","formula_expression":"PUQE = nausea_duration + vomiting_episodes + retching_episodes; each caller-assigned 1-5 as in Koren 2002 (last 12 hours); total 3-15; Koren 2002 published no 3-6 / 7-12 / ≥13 total-score severity bands","max_score":15,"score":3},{"citation":{"authors":"Koren G, Boskovic R, Hard M, Maltepe C, Navioz Y, Einarson A","doi":"10.1067/mob.2002.123054","id":"koren-2002","pmid":"12011891","source":"Am J Obstet Gynecol. 2002;186(5 Suppl Understanding):S228-S231","title":"Motherisk-PUQE (pregnancy-unique quantification of emesis and nausea) scoring system for nausea and vomiting of pregnancy"},"components":[{"factor":"nausea_duration","points":1,"present":true,"value":1},{"factor":"vomiting_episodes","points":1,"present":true,"value":1},{"factor":"retching_episodes","points":1,"present":true,"value":1}],"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":"puqe","formula_expression":"PUQE = nausea_duration + vomiting_episodes + retching_episodes; each caller-assigned 1-5 as in Koren 2002 (last 12 hours); total 3-15; Koren 2002 published no 3-6 / 7-12 / ≥13 total-score severity bands","max_score":15,"score":3}],"path":"/api/calc/puqe"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"nausea_duration":{"description":"Caller-assigned Koren 2002 PUQE nausea duration in the last 12 hours (integer 1-5): 1 not at all; 2 1 hour or less; 3 2-3 hours; 4 4-6 hours; 5 more than 6 hours. magent does not interview the patient.","type":"integer"},"retching_episodes":{"description":"Caller-assigned Koren 2002 PUQE retching or dry heaves without bringing anything up in the last 12 hours (integer 1-5): 1 no time; 2 1-2 times; 3 3-4 times; 4 5-6 times; 5 7 or more times. magent does not interview the patient.","type":"integer"},"vomiting_episodes":{"description":"Caller-assigned Koren 2002 PUQE vomiting episodes in the last 12 hours (integer 1-5): 1 did not throw up; 2 1-2 times; 3 3-4 times; 4 5-6 times; 5 7 or more times. magent does not interview the patient.","type":"integer"}},"required":["nausea_duration","vomiting_episodes","retching_episodes"],"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":["puqe","nvp","nausea","pregnancy","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:04:42.559Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:04:42.428Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"nausea_duration":1,"retching_episodes":1,"vomiting_episodes":1},{"nausea_duration":1,"retching_episodes":1,"vomiting_episodes":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Koren G, Boskovic R, Hard M, Maltepe C, Navioz Y, Einarson A","doi":"10.1067/mob.2002.123054","id":"koren-2002","pmid":"12011891","source":"Am J Obstet Gynecol. 2002;186(5 Suppl Understanding):S228-S231","title":"Motherisk-PUQE (pregnancy-unique quantification of emesis and nausea) scoring system for nausea and vomiting of pregnancy"},"components":[{"factor":"nausea_duration","points":1,"present":true,"value":1},{"factor":"vomiting_episodes","points":1,"present":true,"value":1},{"factor":"retching_episodes","points":1,"present":true,"value":1}],"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":"puqe","formula_expression":"PUQE = nausea_duration + vomiting_episodes + retching_episodes; each caller-assigned 1-5 as in Koren 2002 (last 12 hours); total 3-15; Koren 2002 published no 3-6 / 7-12 / ≥13 total-score severity bands","max_score":15,"score":3},{"citation":{"authors":"Koren G, Boskovic R, Hard M, Maltepe C, Navioz Y, Einarson A","doi":"10.1067/mob.2002.123054","id":"koren-2002","pmid":"12011891","source":"Am J Obstet Gynecol. 2002;186(5 Suppl Understanding):S228-S231","title":"Motherisk-PUQE (pregnancy-unique quantification of emesis and nausea) scoring system for nausea and vomiting of pregnancy"},"components":[{"factor":"nausea_duration","points":1,"present":true,"value":1},{"factor":"vomiting_episodes","points":1,"present":true,"value":1},{"factor":"retching_episodes","points":1,"present":true,"value":1}],"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":"puqe","formula_expression":"PUQE = nausea_duration + vomiting_episodes + retching_episodes; each caller-assigned 1-5 as in Koren 2002 (last 12 hours); total 3-15; Koren 2002 published no 3-6 / 7-12 / ≥13 total-score severity bands","max_score":15,"score":3}],"path":"/api/calc/puqe"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"nausea_duration":{"description":"Caller-assigned Koren 2002 PUQE nausea duration in the last 12 hours (integer 1-5): 1 not at all; 2 1 hour or less; 3 2-3 hours; 4 4-6 hours; 5 more than 6 hours. magent does not interview the patient.","type":"integer"},"retching_episodes":{"description":"Caller-assigned Koren 2002 PUQE retching or dry heaves without bringing anything up in the last 12 hours (integer 1-5): 1 no time; 2 1-2 times; 3 3-4 times; 4 5-6 times; 5 7 or more times. magent does not interview the patient.","type":"integer"},"vomiting_episodes":{"description":"Caller-assigned Koren 2002 PUQE vomiting episodes in the last 12 hours (integer 1-5): 1 did not throw up; 2 1-2 times; 3 3-4 times; 4 5-6 times; 5 7 or more times. magent does not interview the patient.","type":"integer"}},"required":["nausea_duration","vomiting_episodes","retching_episodes"],"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},{"id":39364,"slug":"39364","resource":"https://api.magentlab.com/api/calc/grobman_vbac","description":"Grobman 2007 first prenatal visit logistic probability of vaginal birth after cesarean from maternal age, prepregnancy BMI, caller-assigned ethnicity (african_american, hispanic, or other), any prior vaginal delivery, prior VBAC after cesarean, and recurrent cesarean indication. Ethnicity uses the paper terms; magent does not assign race or ethnicity. Not the 2009/2010 admission model and not Grobman 2021. Not a trial-of-labor order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":30,"bmi_kg_m2":25,"ethnicity":"other","prior_vaginal":false,"prior_vbac":false,"recurrent_indication":false},{"age":30,"bmi_kg_m2":25,"ethnicity":"other","prior_vaginal":false,"prior_vbac":false,"recurrent_indication":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"bmi_kg_m2":25,"citation":{"authors":"Grobman WA, Lai Y, Landon MB, Spong CY, Leveno KJ, Rouse DJ, Varner MW, Moawad AH, Caritis SN, Harper M, Wapner RJ, Sorokin Y, Miodovnik M, Carpenter M, Peaceman AM, O'Sullivan MJ, Sibai BM, Langer O, Thorp JM, Ramin SM, Mercer BM; National Institute of Child Health and Human Development (NICHD) Maternal-Fetal Medicine Units Network (MFMU)","doi":"10.1097/01.AOG.0000259312.36053.02","id":"grobman-2007-vbac","pmid":"17400840","source":"Obstet Gynecol. 2007;109(4):806-812","title":"Development of a nomogram for prediction of vaginal birth after cesarean delivery"},"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.","ethnicity":"other","formula":"grobman_vbac","formula_expression":"w = 3.766 - 0.039*age_years - 0.060*prepregnancy_bmi - 0.671*[african_american] - 0.680*[hispanic] + 0.888*[any prior vaginal delivery] + 1.003*[VBAC after prior cesarean] - 0.632*[recurring indication for cesarean]; vbac_probability = exp(w)/(1+exp(w)); ethnicity african_american|hispanic|other (caller-assigned Grobman 2007 terms, mutually exclusive; other is the reference; magent does not assign race or ethnicity); flags 1 if true else 0; first prenatal visit model; round linear_predictor and vbac_probability 3 decimals; not Grobman 2009/2010 admission; not Grobman 2021 race-free; not a TOLAC order","linear_predictor":1.096,"prior_vaginal":false,"prior_vbac":false,"recurrent_indication":false,"vbac_probability":0.75},{"age_years":30,"bmi_kg_m2":25,"citation":{"authors":"Grobman WA, Lai Y, Landon MB, Spong CY, Leveno KJ, Rouse DJ, Varner MW, Moawad AH, Caritis SN, Harper M, Wapner RJ, Sorokin Y, Miodovnik M, Carpenter M, Peaceman AM, O'Sullivan MJ, Sibai BM, Langer O, Thorp JM, Ramin SM, Mercer BM; National Institute of Child Health and Human Development (NICHD) Maternal-Fetal Medicine Units Network (MFMU)","doi":"10.1097/01.AOG.0000259312.36053.02","id":"grobman-2007-vbac","pmid":"17400840","source":"Obstet Gynecol. 2007;109(4):806-812","title":"Development of a nomogram for prediction of vaginal birth after cesarean delivery"},"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.","ethnicity":"other","formula":"grobman_vbac","formula_expression":"w = 3.766 - 0.039*age_years - 0.060*prepregnancy_bmi - 0.671*[african_american] - 0.680*[hispanic] + 0.888*[any prior vaginal delivery] + 1.003*[VBAC after prior cesarean] - 0.632*[recurring indication for cesarean]; vbac_probability = exp(w)/(1+exp(w)); ethnicity african_american|hispanic|other (caller-assigned Grobman 2007 terms, mutually exclusive; other is the reference; magent does not assign race or ethnicity); flags 1 if true else 0; first prenatal visit model; round linear_predictor and vbac_probability 3 decimals; not Grobman 2009/2010 admission; not Grobman 2021 race-free; not a TOLAC order","linear_predictor":1.096,"prior_vaginal":false,"prior_vbac":false,"recurrent_indication":false,"vbac_probability":0.75}],"path":"/api/calc/grobman_vbac"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Maternal age in years (integer 12-55). Grobman 2007 coefficient -0.039 per year. 12-55 is a clinical range for TOLAC; the paper does not print that clamp. magent does not take a date of birth.","type":"integer"},"bmi_kg_m2":{"description":"Prepregnancy BMI in kg/m^2 (15-70). Grobman 2007 coefficient -0.060. 15-70 is a clinical range; the paper does not print that clamp. Caller-supplied; magent does not compute BMI from height and weight.","type":"number"},"ethnicity":{"description":"Caller-assigned ethnicity as used in Grobman 2007: african_american, hispanic, or other (mutually exclusive paper terms; other is the reference). magent does not assign race or ethnicity.","enum":["african_american","hispanic","other"],"type":"string"},"prior_vaginal":{"description":"Any prior vaginal delivery as assigned by the caller (Grobman 2007). true scores +0.888. true or false. magent does not read the obstetric history.","type":"boolean"},"prior_vbac":{"description":"VBAC after prior cesarean as assigned by the caller (Grobman 2007). true scores +1.003. true or false. magent does not infer this from prior_vaginal.","type":"boolean"},"recurrent_indication":{"description":"Recurring indication for cesarean as assigned by the caller (Grobman 2007). true scores -0.632. true or false. magent does not read the operative indication.","type":"boolean"}},"required":["age","bmi_kg_m2","ethnicity","prior_vaginal","prior_vbac","recurrent_indication"],"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":["grobman-vbac","vbac","tolac","obstetrics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:04:35.312Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:04:35.181Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":30,"bmi_kg_m2":25,"ethnicity":"other","prior_vaginal":false,"prior_vbac":false,"recurrent_indication":false},{"age":30,"bmi_kg_m2":25,"ethnicity":"other","prior_vaginal":false,"prior_vbac":false,"recurrent_indication":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":30,"bmi_kg_m2":25,"citation":{"authors":"Grobman WA, Lai Y, Landon MB, Spong CY, Leveno KJ, Rouse DJ, Varner MW, Moawad AH, Caritis SN, Harper M, Wapner RJ, Sorokin Y, Miodovnik M, Carpenter M, Peaceman AM, O'Sullivan MJ, Sibai BM, Langer O, Thorp JM, Ramin SM, Mercer BM; National Institute of Child Health and Human Development (NICHD) Maternal-Fetal Medicine Units Network (MFMU)","doi":"10.1097/01.AOG.0000259312.36053.02","id":"grobman-2007-vbac","pmid":"17400840","source":"Obstet Gynecol. 2007;109(4):806-812","title":"Development of a nomogram for prediction of vaginal birth after cesarean delivery"},"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.","ethnicity":"other","formula":"grobman_vbac","formula_expression":"w = 3.766 - 0.039*age_years - 0.060*prepregnancy_bmi - 0.671*[african_american] - 0.680*[hispanic] + 0.888*[any prior vaginal delivery] + 1.003*[VBAC after prior cesarean] - 0.632*[recurring indication for cesarean]; vbac_probability = exp(w)/(1+exp(w)); ethnicity african_american|hispanic|other (caller-assigned Grobman 2007 terms, mutually exclusive; other is the reference; magent does not assign race or ethnicity); flags 1 if true else 0; first prenatal visit model; round linear_predictor and vbac_probability 3 decimals; not Grobman 2009/2010 admission; not Grobman 2021 race-free; not a TOLAC order","linear_predictor":1.096,"prior_vaginal":false,"prior_vbac":false,"recurrent_indication":false,"vbac_probability":0.75},{"age_years":30,"bmi_kg_m2":25,"citation":{"authors":"Grobman WA, Lai Y, Landon MB, Spong CY, Leveno KJ, Rouse DJ, Varner MW, Moawad AH, Caritis SN, Harper M, Wapner RJ, Sorokin Y, Miodovnik M, Carpenter M, Peaceman AM, O'Sullivan MJ, Sibai BM, Langer O, Thorp JM, Ramin SM, Mercer BM; National Institute of Child Health and Human Development (NICHD) Maternal-Fetal Medicine Units Network (MFMU)","doi":"10.1097/01.AOG.0000259312.36053.02","id":"grobman-2007-vbac","pmid":"17400840","source":"Obstet Gynecol. 2007;109(4):806-812","title":"Development of a nomogram for prediction of vaginal birth after cesarean delivery"},"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.","ethnicity":"other","formula":"grobman_vbac","formula_expression":"w = 3.766 - 0.039*age_years - 0.060*prepregnancy_bmi - 0.671*[african_american] - 0.680*[hispanic] + 0.888*[any prior vaginal delivery] + 1.003*[VBAC after prior cesarean] - 0.632*[recurring indication for cesarean]; vbac_probability = exp(w)/(1+exp(w)); ethnicity african_american|hispanic|other (caller-assigned Grobman 2007 terms, mutually exclusive; other is the reference; magent does not assign race or ethnicity); flags 1 if true else 0; first prenatal visit model; round linear_predictor and vbac_probability 3 decimals; not Grobman 2009/2010 admission; not Grobman 2021 race-free; not a TOLAC order","linear_predictor":1.096,"prior_vaginal":false,"prior_vbac":false,"recurrent_indication":false,"vbac_probability":0.75}],"path":"/api/calc/grobman_vbac"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Maternal age in years (integer 12-55). Grobman 2007 coefficient -0.039 per year. 12-55 is a clinical range for TOLAC; the paper does not print that clamp. magent does not take a date of birth.","type":"integer"},"bmi_kg_m2":{"description":"Prepregnancy BMI in kg/m^2 (15-70). Grobman 2007 coefficient -0.060. 15-70 is a clinical range; the paper does not print that clamp. Caller-supplied; magent does not compute BMI from height and weight.","type":"number"},"ethnicity":{"description":"Caller-assigned ethnicity as used in Grobman 2007: african_american, hispanic, or other (mutually exclusive paper terms; other is the reference). magent does not assign race or ethnicity.","enum":["african_american","hispanic","other"],"type":"string"},"prior_vaginal":{"description":"Any prior vaginal delivery as assigned by the caller (Grobman 2007). true scores +0.888. true or false. magent does not read the obstetric history.","type":"boolean"},"prior_vbac":{"description":"VBAC after prior cesarean as assigned by the caller (Grobman 2007). true scores +1.003. true or false. magent does not infer this from prior_vaginal.","type":"boolean"},"recurrent_indication":{"description":"Recurring indication for cesarean as assigned by the caller (Grobman 2007). true scores -0.632. true or false. magent does not read the operative indication.","type":"boolean"}},"required":["age","bmi_kg_m2","ethnicity","prior_vaginal","prior_vbac","recurrent_indication"],"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},{"id":39365,"slug":"39365","resource":"https://api.magentlab.com/api/calc/flamm_vbac","description":"Flamm 1997 admission VBAC score, max 10. Points: age under 40 (+2); vaginal birth none 0, before first cesarean 1, after first cesarean 2, before and after 4; first cesarean not for failure to progress (+1); admission effacement gt_75 +2, from_25_to_75 +1, lt_25 0; dilation >=4 cm (+1). Published success 49% for scores 0-2 and 95% for 8-10; other scores return the total only. Not a trial-of-labor order. magent does not examine the cervix.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_lt_40":true,"dilation_ge_4":false,"effacement":"lt_25","non_ftp_indication":false,"vaginal_birth":"none"},{"age_lt_40":true,"dilation_ge_4":false,"effacement":"lt_25","non_ftp_indication":false,"vaginal_birth":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Flamm BL, Geiger AM","doi":"10.1016/S0029-7844(97)00531-0","id":"flamm-1997","pmid":"9397335","source":"Obstet Gynecol. 1997;90(6):907-910","title":"Vaginal birth after cesarean delivery: an admission scoring system"},"components":[{"factor":"age_lt_40","points":2,"present":true},{"factor":"vaginal_birth","points":0,"present":false,"value":"none"},{"factor":"non_ftp_indication","points":0,"present":false},{"factor":"effacement","points":0,"present":false,"value":"lt_25"},{"factor":"dilation_ge_4","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":"flamm_vbac","formula_expression":"Flamm VBAC = age_lt_40 2 + vaginal_birth (none 0, before_first_cesarean 1, after_first_cesarean 2, before_and_after 4) + non_ftp_indication 1 + effacement (gt_75 2, from_25_to_75 1, lt_25 0) + dilation_ge_4 1; Flamm 1997; max 10; published VBAC success 49% scores 0-2 and 95% scores 8-10","max_score":10,"score":2,"vbac_success_percent":49},{"citation":{"authors":"Flamm BL, Geiger AM","doi":"10.1016/S0029-7844(97)00531-0","id":"flamm-1997","pmid":"9397335","source":"Obstet Gynecol. 1997;90(6):907-910","title":"Vaginal birth after cesarean delivery: an admission scoring system"},"components":[{"factor":"age_lt_40","points":2,"present":true},{"factor":"vaginal_birth","points":0,"present":false,"value":"none"},{"factor":"non_ftp_indication","points":0,"present":false},{"factor":"effacement","points":0,"present":false,"value":"lt_25"},{"factor":"dilation_ge_4","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":"flamm_vbac","formula_expression":"Flamm VBAC = age_lt_40 2 + vaginal_birth (none 0, before_first_cesarean 1, after_first_cesarean 2, before_and_after 4) + non_ftp_indication 1 + effacement (gt_75 2, from_25_to_75 1, lt_25 0) + dilation_ge_4 1; Flamm 1997; max 10; published VBAC success 49% scores 0-2 and 95% scores 8-10","max_score":10,"score":2,"vbac_success_percent":49}],"path":"/api/calc/flamm_vbac"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_lt_40":{"description":"Maternal age under 40 years as assigned by the caller (Flamm 1997). true scores 2. true or false. magent does not date the patient.","type":"boolean"},"dilation_ge_4":{"description":"Cervical dilation at or above 4 cm at admission as assigned by the caller (Flamm 1997). true scores 1. true or false. magent does not examine the cervix.","type":"boolean"},"effacement":{"description":"Cervical effacement at admission as assigned by the caller (Flamm 1997). gt_75 scores 2; from_25_to_75 scores 1; lt_25 scores 0. magent does not examine the cervix.","enum":["gt_75","from_25_to_75","lt_25"],"type":"string"},"non_ftp_indication":{"description":"First cesarean was for a reason other than failure to progress (Flamm 1997). true scores 1. true or false. magent does not read the operative indication.","type":"boolean"},"vaginal_birth":{"description":"Prior vaginal birth history as assigned by the caller (Flamm 1997). Choose one: none scores 0; before_first_cesarean scores 1; after_first_cesarean scores 2; before_and_after scores 4. magent does not read the obstetric history.","enum":["none","before_first_cesarean","after_first_cesarean","before_and_after"],"type":"string"}},"required":["age_lt_40","vaginal_birth","non_ftp_indication","effacement","dilation_ge_4"],"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":["flamm-vbac","vbac","tolac","obstetrics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:04:28.216Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:04:28.089Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_lt_40":true,"dilation_ge_4":false,"effacement":"lt_25","non_ftp_indication":false,"vaginal_birth":"none"},{"age_lt_40":true,"dilation_ge_4":false,"effacement":"lt_25","non_ftp_indication":false,"vaginal_birth":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Flamm BL, Geiger AM","doi":"10.1016/S0029-7844(97)00531-0","id":"flamm-1997","pmid":"9397335","source":"Obstet Gynecol. 1997;90(6):907-910","title":"Vaginal birth after cesarean delivery: an admission scoring system"},"components":[{"factor":"age_lt_40","points":2,"present":true},{"factor":"vaginal_birth","points":0,"present":false,"value":"none"},{"factor":"non_ftp_indication","points":0,"present":false},{"factor":"effacement","points":0,"present":false,"value":"lt_25"},{"factor":"dilation_ge_4","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":"flamm_vbac","formula_expression":"Flamm VBAC = age_lt_40 2 + vaginal_birth (none 0, before_first_cesarean 1, after_first_cesarean 2, before_and_after 4) + non_ftp_indication 1 + effacement (gt_75 2, from_25_to_75 1, lt_25 0) + dilation_ge_4 1; Flamm 1997; max 10; published VBAC success 49% scores 0-2 and 95% scores 8-10","max_score":10,"score":2,"vbac_success_percent":49},{"citation":{"authors":"Flamm BL, Geiger AM","doi":"10.1016/S0029-7844(97)00531-0","id":"flamm-1997","pmid":"9397335","source":"Obstet Gynecol. 1997;90(6):907-910","title":"Vaginal birth after cesarean delivery: an admission scoring system"},"components":[{"factor":"age_lt_40","points":2,"present":true},{"factor":"vaginal_birth","points":0,"present":false,"value":"none"},{"factor":"non_ftp_indication","points":0,"present":false},{"factor":"effacement","points":0,"present":false,"value":"lt_25"},{"factor":"dilation_ge_4","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":"flamm_vbac","formula_expression":"Flamm VBAC = age_lt_40 2 + vaginal_birth (none 0, before_first_cesarean 1, after_first_cesarean 2, before_and_after 4) + non_ftp_indication 1 + effacement (gt_75 2, from_25_to_75 1, lt_25 0) + dilation_ge_4 1; Flamm 1997; max 10; published VBAC success 49% scores 0-2 and 95% scores 8-10","max_score":10,"score":2,"vbac_success_percent":49}],"path":"/api/calc/flamm_vbac"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_lt_40":{"description":"Maternal age under 40 years as assigned by the caller (Flamm 1997). true scores 2. true or false. magent does not date the patient.","type":"boolean"},"dilation_ge_4":{"description":"Cervical dilation at or above 4 cm at admission as assigned by the caller (Flamm 1997). true scores 1. true or false. magent does not examine the cervix.","type":"boolean"},"effacement":{"description":"Cervical effacement at admission as assigned by the caller (Flamm 1997). gt_75 scores 2; from_25_to_75 scores 1; lt_25 scores 0. magent does not examine the cervix.","enum":["gt_75","from_25_to_75","lt_25"],"type":"string"},"non_ftp_indication":{"description":"First cesarean was for a reason other than failure to progress (Flamm 1997). true scores 1. true or false. magent does not read the operative indication.","type":"boolean"},"vaginal_birth":{"description":"Prior vaginal birth history as assigned by the caller (Flamm 1997). Choose one: none scores 0; before_first_cesarean scores 1; after_first_cesarean scores 2; before_and_after scores 4. magent does not read the obstetric history.","enum":["none","before_first_cesarean","after_first_cesarean","before_and_after"],"type":"string"}},"required":["age_lt_40","vaginal_birth","non_ftp_indication","effacement","dilation_ge_4"],"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},{"id":39366,"slug":"39366","resource":"https://api.magentlab.com/api/calc/bishop","description":"Bishop 1964 pelvic score: sum of five caller-assigned integers (dilation 0-3, effacement 0-3, station 0-3, consistency 0-2, position 0-2; max 13). Paper bins: dilation 0 / 1-2 / 3-4 / 5-6 cm; effacement 0-30 / 40-50 / 60-70 / 80%; station -3 / -2 / -1 or 0 / +1 or +2; consistency firm/medium/soft; position posterior/mid/anterior. magent does not examine the cervix and does not add later favorable/unfavorable cutoffs, modified Bishop, or cervical length.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"consistency":1,"dilation":2,"effacement":2,"position":1,"station":1},{"consistency":1,"dilation":2,"effacement":2,"position":1,"station":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bishop EH","id":"bishop-1964","pmid":"14199536","source":"Obstet Gynecol. 1964;24:266-268","title":"Pelvic scoring for elective induction"},"components":[{"factor":"dilation","points":2,"present":true,"value":2},{"factor":"effacement","points":2,"present":true,"value":2},{"factor":"station","points":1,"present":true,"value":1},{"factor":"consistency","points":1,"present":true,"value":1},{"factor":"position","points":1,"present":true,"value":1}],"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":"bishop","formula_expression":"Bishop = dilation + effacement + station + consistency + position; caller-assigned integers 0-3, 0-3, 0-3, 0-2, 0-2; max 13","max_score":13,"score":7},{"citation":{"authors":"Bishop EH","id":"bishop-1964","pmid":"14199536","source":"Obstet Gynecol. 1964;24:266-268","title":"Pelvic scoring for elective induction"},"components":[{"factor":"dilation","points":2,"present":true,"value":2},{"factor":"effacement","points":2,"present":true,"value":2},{"factor":"station","points":1,"present":true,"value":1},{"factor":"consistency","points":1,"present":true,"value":1},{"factor":"position","points":1,"present":true,"value":1}],"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":"bishop","formula_expression":"Bishop = dilation + effacement + station + consistency + position; caller-assigned integers 0-3, 0-3, 0-3, 0-2, 0-2; max 13","max_score":13,"score":7}],"path":"/api/calc/bishop"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"consistency":{"description":"Caller-assigned Bishop 1964 consistency points 0-2 (paper bins: firm → 0; medium → 1; soft → 2). magent does not palpate the cervix.","type":"integer"},"dilation":{"description":"Caller-assigned Bishop 1964 dilation points 0-3 (paper bins: 0 cm → 0; 1-2 cm → 1; 3-4 cm → 2; 5-6 cm → 3). magent does not measure dilation.","type":"integer"},"effacement":{"description":"Caller-assigned Bishop 1964 effacement points 0-3 (paper bins: 0-30% → 0; 40-50% → 1; 60-70% → 2; 80% → 3). magent does not measure effacement.","type":"integer"},"position":{"description":"Caller-assigned Bishop 1964 position points 0-2 (paper bins: posterior → 0; mid → 1; anterior → 2). magent does not examine cervical position.","type":"integer"},"station":{"description":"Caller-assigned Bishop 1964 station points 0-3 (paper bins: -3 → 0; -2 → 1; -1 or 0 → 2; +1 or +2 → 3). magent does not assign station.","type":"integer"}},"required":["dilation","effacement","station","consistency","position"],"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":["bishop","pelvic-score","induction","cervix","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:04:14.948Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:04:14.817Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"consistency":1,"dilation":2,"effacement":2,"position":1,"station":1},{"consistency":1,"dilation":2,"effacement":2,"position":1,"station":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bishop EH","id":"bishop-1964","pmid":"14199536","source":"Obstet Gynecol. 1964;24:266-268","title":"Pelvic scoring for elective induction"},"components":[{"factor":"dilation","points":2,"present":true,"value":2},{"factor":"effacement","points":2,"present":true,"value":2},{"factor":"station","points":1,"present":true,"value":1},{"factor":"consistency","points":1,"present":true,"value":1},{"factor":"position","points":1,"present":true,"value":1}],"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":"bishop","formula_expression":"Bishop = dilation + effacement + station + consistency + position; caller-assigned integers 0-3, 0-3, 0-3, 0-2, 0-2; max 13","max_score":13,"score":7},{"citation":{"authors":"Bishop EH","id":"bishop-1964","pmid":"14199536","source":"Obstet Gynecol. 1964;24:266-268","title":"Pelvic scoring for elective induction"},"components":[{"factor":"dilation","points":2,"present":true,"value":2},{"factor":"effacement","points":2,"present":true,"value":2},{"factor":"station","points":1,"present":true,"value":1},{"factor":"consistency","points":1,"present":true,"value":1},{"factor":"position","points":1,"present":true,"value":1}],"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":"bishop","formula_expression":"Bishop = dilation + effacement + station + consistency + position; caller-assigned integers 0-3, 0-3, 0-3, 0-2, 0-2; max 13","max_score":13,"score":7}],"path":"/api/calc/bishop"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"consistency":{"description":"Caller-assigned Bishop 1964 consistency points 0-2 (paper bins: firm → 0; medium → 1; soft → 2). magent does not palpate the cervix.","type":"integer"},"dilation":{"description":"Caller-assigned Bishop 1964 dilation points 0-3 (paper bins: 0 cm → 0; 1-2 cm → 1; 3-4 cm → 2; 5-6 cm → 3). magent does not measure dilation.","type":"integer"},"effacement":{"description":"Caller-assigned Bishop 1964 effacement points 0-3 (paper bins: 0-30% → 0; 40-50% → 1; 60-70% → 2; 80% → 3). magent does not measure effacement.","type":"integer"},"position":{"description":"Caller-assigned Bishop 1964 position points 0-2 (paper bins: posterior → 0; mid → 1; anterior → 2). magent does not examine cervical position.","type":"integer"},"station":{"description":"Caller-assigned Bishop 1964 station points 0-3 (paper bins: -3 → 0; -2 → 1; -1 or 0 → 2; +1 or +2 → 3). magent does not assign station.","type":"integer"}},"required":["dilation","effacement","station","consistency","position"],"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},{"id":39367,"slug":"39367","resource":"https://api.magentlab.com/api/calc/aap_tsb","description":"AAP 2022 Kemper KAS 10 intensive phototherapy threshold from Supplemental Tables 1 and 2 by completed GA, age in hours, TSB, and caller-assigned extra neurotoxicity risk factors. Linear interpolation between tabulated hours. Do not subtract conjugated bilirubin. Not a phototherapy order. magent does not assay TSB.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_hours":48,"albumin_lt_3":false,"clinical_instability_24h":false,"g6pd_deficiency":false,"gestational_age_weeks":40,"isoimmune_hemolytic_disease":false,"other_hemolytic_condition":false,"sepsis":false,"tsb_mg_dl":17},{"age_hours":48,"albumin_lt_3":false,"clinical_instability_24h":false,"g6pd_deficiency":false,"gestational_age_weeks":40,"isoimmune_hemolytic_disease":false,"other_hemolytic_condition":false,"sepsis":false,"tsb_mg_dl":17}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"above_phototherapy_threshold":true,"age_hours":48,"albumin_lt_3":false,"any_neurotoxicity_risk_factor":false,"citation":{"authors":"Kemper AR, Newman TB, Slaughter JL, et al.","doi":"10.1542/peds.2022-058859","id":"kemper-2022-aap-hyperbilirubinemia","pmid":"35927462","source":"Pediatrics. 2022;150(3):e2022058859","title":"Clinical Practice Guideline Revision: Management of Hyperbilirubinemia in the Newborn Infant 35 or More Weeks of Gestation"},"clinical_instability_24h":false,"components":[{"factor":"any_neurotoxicity_risk_factor","met":false},{"factor":"above_phototherapy_threshold","met":true,"value":17}],"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":"aap_tsb","formula_expression":"Kemper 2022 KAS 10 intensive phototherapy threshold (mg/dL) from Supplemental Table 1 when the caller assigns no neurotoxicity risk factors other than gestational age, or Supplemental Table 2 when any additional listed factor is assigned. Table 1 curves are completed GA 35, 36, 37, 38, 39, and ≥40 weeks. Table 2 curves are 35, 36, 37, and ≥38 weeks. Age is in hours (tabulated hourly from 1 through 336); interpolate linearly between adjacent tabulated hours. Use total serum bilirubin; do not subtract direct-reacting or conjugated bilirubin. Gestational age <38 weeks is already in the GA-specific curve — do not apply Table 2 solely for prematurity. Not a phototherapy or exchange order. magent does not assay TSB","g6pd_deficiency":false,"gestational_age_group":"40_or_more","gestational_age_weeks":40,"isoimmune_hemolytic_disease":false,"other_hemolytic_condition":false,"phototherapy_threshold_mg_dl":17,"sepsis":false,"supplemental_table":1,"tsb_mg_dl":17,"tsb_minus_threshold":0},{"above_phototherapy_threshold":true,"age_hours":48,"albumin_lt_3":false,"any_neurotoxicity_risk_factor":false,"citation":{"authors":"Kemper AR, Newman TB, Slaughter JL, et al.","doi":"10.1542/peds.2022-058859","id":"kemper-2022-aap-hyperbilirubinemia","pmid":"35927462","source":"Pediatrics. 2022;150(3):e2022058859","title":"Clinical Practice Guideline Revision: Management of Hyperbilirubinemia in the Newborn Infant 35 or More Weeks of Gestation"},"clinical_instability_24h":false,"components":[{"factor":"any_neurotoxicity_risk_factor","met":false},{"factor":"above_phototherapy_threshold","met":true,"value":17}],"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":"aap_tsb","formula_expression":"Kemper 2022 KAS 10 intensive phototherapy threshold (mg/dL) from Supplemental Table 1 when the caller assigns no neurotoxicity risk factors other than gestational age, or Supplemental Table 2 when any additional listed factor is assigned. Table 1 curves are completed GA 35, 36, 37, 38, 39, and ≥40 weeks. Table 2 curves are 35, 36, 37, and ≥38 weeks. Age is in hours (tabulated hourly from 1 through 336); interpolate linearly between adjacent tabulated hours. Use total serum bilirubin; do not subtract direct-reacting or conjugated bilirubin. Gestational age <38 weeks is already in the GA-specific curve — do not apply Table 2 solely for prematurity. Not a phototherapy or exchange order. magent does not assay TSB","g6pd_deficiency":false,"gestational_age_group":"40_or_more","gestational_age_weeks":40,"isoimmune_hemolytic_disease":false,"other_hemolytic_condition":false,"phototherapy_threshold_mg_dl":17,"sepsis":false,"supplemental_table":1,"tsb_mg_dl":17,"tsb_minus_threshold":0}],"path":"/api/calc/aap_tsb"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_hours":{"description":"Chronologic age in hours (1-336). Supplemental Tables 1 and 2 are tabulated hourly; ages between adjacent hours are linearly interpolated. Hour 0 is not tabulated. magent does not convert days.","type":"number"},"albumin_lt_3":{"description":"Caller-assigned albumin <3.0 g/dL from Kemper 2022 Table 2. true or false. magent does not assay albumin.","type":"boolean"},"clinical_instability_24h":{"description":"Caller-assigned significant clinical instability in the previous 24 hours from Kemper 2022 Table 2. true or false. magent does not examine the infant.","type":"boolean"},"g6pd_deficiency":{"description":"Caller-assigned glucose-6-phosphate dehydrogenase (G6PD) deficiency from Kemper 2022 Table 2. true or false. magent does not assay G6PD.","type":"boolean"},"gestational_age_weeks":{"description":"Completed gestational age in weeks, integer 35-45. Table 1 uses distinct curves for 35, 36, 37, 38, 39, and ≥40. Table 2 groups ≥38 together. magent does not convert days.","type":"integer"},"isoimmune_hemolytic_disease":{"description":"Caller-assigned isoimmune hemolytic disease (positive direct antiglobulin test) from Kemper 2022 Table 2. true or false. magent does not interpret DAT.","type":"boolean"},"other_hemolytic_condition":{"description":"Caller-assigned other hemolytic condition (Kemper 2022 Table 2, same neurotoxicity-risk row as isoimmune disease and G6PD deficiency). true or false.","type":"boolean"},"sepsis":{"description":"Caller-assigned sepsis or suspected sepsis from Kemper 2022 Table 2. true or false. magent does not diagnose sepsis.","type":"boolean"},"tsb_mg_dl":{"description":"Total serum bilirubin in mg/dL (0-40). Use TSB; do not subtract direct-reacting or conjugated bilirubin. magent does not assay TSB.","type":"number"}},"required":["gestational_age_weeks","age_hours","tsb_mg_dl","isoimmune_hemolytic_disease","g6pd_deficiency","other_hemolytic_condition","sepsis","albumin_lt_3","clinical_instability_24h"],"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":["aap-2022","phototherapy","neonatal","bilirubin","hyperbilirubinemia","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:04:08.913Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:04:08.763Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_hours":48,"albumin_lt_3":false,"clinical_instability_24h":false,"g6pd_deficiency":false,"gestational_age_weeks":40,"isoimmune_hemolytic_disease":false,"other_hemolytic_condition":false,"sepsis":false,"tsb_mg_dl":17},{"age_hours":48,"albumin_lt_3":false,"clinical_instability_24h":false,"g6pd_deficiency":false,"gestational_age_weeks":40,"isoimmune_hemolytic_disease":false,"other_hemolytic_condition":false,"sepsis":false,"tsb_mg_dl":17}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"above_phototherapy_threshold":true,"age_hours":48,"albumin_lt_3":false,"any_neurotoxicity_risk_factor":false,"citation":{"authors":"Kemper AR, Newman TB, Slaughter JL, et al.","doi":"10.1542/peds.2022-058859","id":"kemper-2022-aap-hyperbilirubinemia","pmid":"35927462","source":"Pediatrics. 2022;150(3):e2022058859","title":"Clinical Practice Guideline Revision: Management of Hyperbilirubinemia in the Newborn Infant 35 or More Weeks of Gestation"},"clinical_instability_24h":false,"components":[{"factor":"any_neurotoxicity_risk_factor","met":false},{"factor":"above_phototherapy_threshold","met":true,"value":17}],"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":"aap_tsb","formula_expression":"Kemper 2022 KAS 10 intensive phototherapy threshold (mg/dL) from Supplemental Table 1 when the caller assigns no neurotoxicity risk factors other than gestational age, or Supplemental Table 2 when any additional listed factor is assigned. Table 1 curves are completed GA 35, 36, 37, 38, 39, and ≥40 weeks. Table 2 curves are 35, 36, 37, and ≥38 weeks. Age is in hours (tabulated hourly from 1 through 336); interpolate linearly between adjacent tabulated hours. Use total serum bilirubin; do not subtract direct-reacting or conjugated bilirubin. Gestational age <38 weeks is already in the GA-specific curve — do not apply Table 2 solely for prematurity. Not a phototherapy or exchange order. magent does not assay TSB","g6pd_deficiency":false,"gestational_age_group":"40_or_more","gestational_age_weeks":40,"isoimmune_hemolytic_disease":false,"other_hemolytic_condition":false,"phototherapy_threshold_mg_dl":17,"sepsis":false,"supplemental_table":1,"tsb_mg_dl":17,"tsb_minus_threshold":0},{"above_phototherapy_threshold":true,"age_hours":48,"albumin_lt_3":false,"any_neurotoxicity_risk_factor":false,"citation":{"authors":"Kemper AR, Newman TB, Slaughter JL, et al.","doi":"10.1542/peds.2022-058859","id":"kemper-2022-aap-hyperbilirubinemia","pmid":"35927462","source":"Pediatrics. 2022;150(3):e2022058859","title":"Clinical Practice Guideline Revision: Management of Hyperbilirubinemia in the Newborn Infant 35 or More Weeks of Gestation"},"clinical_instability_24h":false,"components":[{"factor":"any_neurotoxicity_risk_factor","met":false},{"factor":"above_phototherapy_threshold","met":true,"value":17}],"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":"aap_tsb","formula_expression":"Kemper 2022 KAS 10 intensive phototherapy threshold (mg/dL) from Supplemental Table 1 when the caller assigns no neurotoxicity risk factors other than gestational age, or Supplemental Table 2 when any additional listed factor is assigned. Table 1 curves are completed GA 35, 36, 37, 38, 39, and ≥40 weeks. Table 2 curves are 35, 36, 37, and ≥38 weeks. Age is in hours (tabulated hourly from 1 through 336); interpolate linearly between adjacent tabulated hours. Use total serum bilirubin; do not subtract direct-reacting or conjugated bilirubin. Gestational age <38 weeks is already in the GA-specific curve — do not apply Table 2 solely for prematurity. Not a phototherapy or exchange order. magent does not assay TSB","g6pd_deficiency":false,"gestational_age_group":"40_or_more","gestational_age_weeks":40,"isoimmune_hemolytic_disease":false,"other_hemolytic_condition":false,"phototherapy_threshold_mg_dl":17,"sepsis":false,"supplemental_table":1,"tsb_mg_dl":17,"tsb_minus_threshold":0}],"path":"/api/calc/aap_tsb"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_hours":{"description":"Chronologic age in hours (1-336). Supplemental Tables 1 and 2 are tabulated hourly; ages between adjacent hours are linearly interpolated. Hour 0 is not tabulated. magent does not convert days.","type":"number"},"albumin_lt_3":{"description":"Caller-assigned albumin <3.0 g/dL from Kemper 2022 Table 2. true or false. magent does not assay albumin.","type":"boolean"},"clinical_instability_24h":{"description":"Caller-assigned significant clinical instability in the previous 24 hours from Kemper 2022 Table 2. true or false. magent does not examine the infant.","type":"boolean"},"g6pd_deficiency":{"description":"Caller-assigned glucose-6-phosphate dehydrogenase (G6PD) deficiency from Kemper 2022 Table 2. true or false. magent does not assay G6PD.","type":"boolean"},"gestational_age_weeks":{"description":"Completed gestational age in weeks, integer 35-45. Table 1 uses distinct curves for 35, 36, 37, 38, 39, and ≥40. Table 2 groups ≥38 together. magent does not convert days.","type":"integer"},"isoimmune_hemolytic_disease":{"description":"Caller-assigned isoimmune hemolytic disease (positive direct antiglobulin test) from Kemper 2022 Table 2. true or false. magent does not interpret DAT.","type":"boolean"},"other_hemolytic_condition":{"description":"Caller-assigned other hemolytic condition (Kemper 2022 Table 2, same neurotoxicity-risk row as isoimmune disease and G6PD deficiency). true or false.","type":"boolean"},"sepsis":{"description":"Caller-assigned sepsis or suspected sepsis from Kemper 2022 Table 2. true or false. magent does not diagnose sepsis.","type":"boolean"},"tsb_mg_dl":{"description":"Total serum bilirubin in mg/dL (0-40). Use TSB; do not subtract direct-reacting or conjugated bilirubin. magent does not assay TSB.","type":"number"}},"required":["gestational_age_weeks","age_hours","tsb_mg_dl","isoimmune_hemolytic_disease","g6pd_deficiency","other_hemolytic_condition","sepsis","albumin_lt_3","clinical_instability_24h"],"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},{"id":39368,"slug":"39368","resource":"https://api.magentlab.com/api/calc/rebound_hyperbilirubinemia","description":"Chang 2017 three-variable rebound hyperbilirubinemia score: +15 if GA <38 weeks, −7 × age at phototherapy start in days, −4 × (caller AAP phototherapy threshold − TSB at termination), +50. Scores <20 correspond to a <4% chance of TSB returning to threshold within 72 hours. magent does not assay bilirubin or compute the AAP nomogram. Not Chang 2019. Not a phototherapy order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_at_initiation_days":3,"gestational_age_weeks":39,"phototherapy_threshold_mg_dl":16,"tsb_at_termination_mg_dl":12},{"age_at_initiation_days":3,"gestational_age_weeks":39,"phototherapy_threshold_mg_dl":16,"tsb_at_termination_mg_dl":12}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_at_initiation_days":3,"citation":{"authors":"Chang PW, Kuzniewicz MW, McCulloch CE, Newman TB","doi":"10.1542/peds.2016-2896","id":"chang-2017","pmid":"28196932","source":"Pediatrics. 2017;139(3):e20162896","title":"A Clinical Prediction Rule for Rebound Hyperbilirubinemia Following Inpatient Phototherapy"},"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":"rebound_hyperbilirubinemia","formula_expression":"score = (15 if gestational_age_weeks < 38 else 0) - 7 × age_at_initiation_days - 4 × (phototherapy_threshold_mg_dl − tsb_at_termination_mg_dl) + 50; Chang 2017 three-variable integer prediction score; scores <20 correspond to a <4% probability of rebound (TSB back to phototherapy threshold within 72 hours)","gestational_age_weeks":39,"phototherapy_threshold_mg_dl":16,"score":13,"score_lt_20":true,"tsb_at_termination_mg_dl":12},{"age_at_initiation_days":3,"citation":{"authors":"Chang PW, Kuzniewicz MW, McCulloch CE, Newman TB","doi":"10.1542/peds.2016-2896","id":"chang-2017","pmid":"28196932","source":"Pediatrics. 2017;139(3):e20162896","title":"A Clinical Prediction Rule for Rebound Hyperbilirubinemia Following Inpatient Phototherapy"},"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":"rebound_hyperbilirubinemia","formula_expression":"score = (15 if gestational_age_weeks < 38 else 0) - 7 × age_at_initiation_days - 4 × (phototherapy_threshold_mg_dl − tsb_at_termination_mg_dl) + 50; Chang 2017 three-variable integer prediction score; scores <20 correspond to a <4% probability of rebound (TSB back to phototherapy threshold within 72 hours)","gestational_age_weeks":39,"phototherapy_threshold_mg_dl":16,"score":13,"score_lt_20":true,"tsb_at_termination_mg_dl":12}],"path":"/api/calc/rebound_hyperbilirubinemia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_at_initiation_days":{"description":"Chronologic age at phototherapy initiation in days (0-14; fractional days allowed). Chang 2017 treated infants before age 14 days. magent does not convert hours.","type":"number"},"gestational_age_weeks":{"description":"Gestational age in completed weeks, integer 35-45. Chang 2017 cohort was ≥35 weeks. Scores +15 when <38 weeks; 38 weeks and above score 0. magent does not convert days.","type":"integer"},"phototherapy_threshold_mg_dl":{"description":"Caller-supplied AAP phototherapy threshold in mg/dL at termination (0-40). Difference is (threshold − TSB) and may be negative if TSB is still above threshold. magent does not compute the AAP nomogram.","type":"number"},"tsb_at_termination_mg_dl":{"description":"Total serum bilirubin at phototherapy termination in mg/dL (0-40). magent does not assay bilirubin.","type":"number"}},"required":["gestational_age_weeks","age_at_initiation_days","tsb_at_termination_mg_dl","phototherapy_threshold_mg_dl"],"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":["rebound-bilirubin","neonatal","phototherapy","jaundice","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:04:02.918Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:04:02.801Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_at_initiation_days":3,"gestational_age_weeks":39,"phototherapy_threshold_mg_dl":16,"tsb_at_termination_mg_dl":12},{"age_at_initiation_days":3,"gestational_age_weeks":39,"phototherapy_threshold_mg_dl":16,"tsb_at_termination_mg_dl":12}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_at_initiation_days":3,"citation":{"authors":"Chang PW, Kuzniewicz MW, McCulloch CE, Newman TB","doi":"10.1542/peds.2016-2896","id":"chang-2017","pmid":"28196932","source":"Pediatrics. 2017;139(3):e20162896","title":"A Clinical Prediction Rule for Rebound Hyperbilirubinemia Following Inpatient Phototherapy"},"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":"rebound_hyperbilirubinemia","formula_expression":"score = (15 if gestational_age_weeks < 38 else 0) - 7 × age_at_initiation_days - 4 × (phototherapy_threshold_mg_dl − tsb_at_termination_mg_dl) + 50; Chang 2017 three-variable integer prediction score; scores <20 correspond to a <4% probability of rebound (TSB back to phototherapy threshold within 72 hours)","gestational_age_weeks":39,"phototherapy_threshold_mg_dl":16,"score":13,"score_lt_20":true,"tsb_at_termination_mg_dl":12},{"age_at_initiation_days":3,"citation":{"authors":"Chang PW, Kuzniewicz MW, McCulloch CE, Newman TB","doi":"10.1542/peds.2016-2896","id":"chang-2017","pmid":"28196932","source":"Pediatrics. 2017;139(3):e20162896","title":"A Clinical Prediction Rule for Rebound Hyperbilirubinemia Following Inpatient Phototherapy"},"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":"rebound_hyperbilirubinemia","formula_expression":"score = (15 if gestational_age_weeks < 38 else 0) - 7 × age_at_initiation_days - 4 × (phototherapy_threshold_mg_dl − tsb_at_termination_mg_dl) + 50; Chang 2017 three-variable integer prediction score; scores <20 correspond to a <4% probability of rebound (TSB back to phototherapy threshold within 72 hours)","gestational_age_weeks":39,"phototherapy_threshold_mg_dl":16,"score":13,"score_lt_20":true,"tsb_at_termination_mg_dl":12}],"path":"/api/calc/rebound_hyperbilirubinemia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_at_initiation_days":{"description":"Chronologic age at phototherapy initiation in days (0-14; fractional days allowed). Chang 2017 treated infants before age 14 days. magent does not convert hours.","type":"number"},"gestational_age_weeks":{"description":"Gestational age in completed weeks, integer 35-45. Chang 2017 cohort was ≥35 weeks. Scores +15 when <38 weeks; 38 weeks and above score 0. magent does not convert days.","type":"integer"},"phototherapy_threshold_mg_dl":{"description":"Caller-supplied AAP phototherapy threshold in mg/dL at termination (0-40). Difference is (threshold − TSB) and may be negative if TSB is still above threshold. magent does not compute the AAP nomogram.","type":"number"},"tsb_at_termination_mg_dl":{"description":"Total serum bilirubin at phototherapy termination in mg/dL (0-40). magent does not assay bilirubin.","type":"number"}},"required":["gestational_age_weeks","age_at_initiation_days","tsb_at_termination_mg_dl","phototherapy_threshold_mg_dl"],"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},{"id":39369,"slug":"39369","resource":"https://api.magentlab.com/api/calc/bpp","description":"Manning 1980 fetal biophysical profile. Five caller-assigned variables, each 2 if normal or 0 if abnormal: fetal breathing movements, fetal movements, fetal tone, qualitative amniotic fluid volume, and nonstress test. Score 0-10. 1980 breathing is a 60-second episode in 30 minutes; 1980 fluid is a 1 cm pocket. magent does not ultrasound. Not a delivery order. Does not apply later 30-second breathing, 2 cm pocket, or 8-10/6/<=4 management bands.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fetal_breathing_movements":true,"fetal_movements":true,"fetal_tone":true,"nonstress_test":true,"qualitative_amniotic_fluid_volume":true},{"fetal_breathing_movements":true,"fetal_movements":true,"fetal_tone":true,"nonstress_test":true,"qualitative_amniotic_fluid_volume":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Manning FA, Platt LD, Sipos L","doi":"10.1016/0002-9378(80)90457-3","id":"manning-1980","pmid":"7355965","source":"Am J Obstet Gynecol. 1980;136(6):787-795","title":"Antepartum fetal evaluation: development of a fetal biophysical profile"},"components":[{"factor":"fetal_breathing_movements","points":2,"present":true},{"factor":"fetal_movements","points":2,"present":true},{"factor":"fetal_tone","points":2,"present":true},{"factor":"qualitative_amniotic_fluid_volume","points":2,"present":true},{"factor":"nonstress_test","points":2,"present":true}],"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":"bpp","formula_expression":"BPP = 2*(fetal_breathing_movements) + 2*(fetal_movements) + 2*(fetal_tone) + 2*(qualitative_amniotic_fluid_volume) + 2*(nonstress_test); each 2 if Manning 1980 normal else 0; max 10","max_score":10,"score":10},{"citation":{"authors":"Manning FA, Platt LD, Sipos L","doi":"10.1016/0002-9378(80)90457-3","id":"manning-1980","pmid":"7355965","source":"Am J Obstet Gynecol. 1980;136(6):787-795","title":"Antepartum fetal evaluation: development of a fetal biophysical profile"},"components":[{"factor":"fetal_breathing_movements","points":2,"present":true},{"factor":"fetal_movements","points":2,"present":true},{"factor":"fetal_tone","points":2,"present":true},{"factor":"qualitative_amniotic_fluid_volume","points":2,"present":true},{"factor":"nonstress_test","points":2,"present":true}],"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":"bpp","formula_expression":"BPP = 2*(fetal_breathing_movements) + 2*(fetal_movements) + 2*(fetal_tone) + 2*(qualitative_amniotic_fluid_volume) + 2*(nonstress_test); each 2 if Manning 1980 normal else 0; max 10","max_score":10,"score":10}],"path":"/api/calc/bpp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fetal_breathing_movements":{"description":"Manning 1980 fetal breathing movements as assigned by the caller. true if normal: at least one episode of fetal breathing of at least 60 seconds in 30 minutes. false if abnormal: absent or no 60-second episode. Later 30-second breathing is not used. magent does not ultrasound. true or false.","type":"boolean"},"fetal_movements":{"description":"Manning 1980 fetal movements as assigned by the caller. true if normal: at least three discrete body or limb movements in 30 minutes. false if abnormal: two or fewer. magent does not ultrasound. true or false.","type":"boolean"},"fetal_tone":{"description":"Manning 1980 fetal tone as assigned by the caller. true if normal: at least one episode of active extension of a limb or trunk with return to flexion. false if abnormal: slow extension with return to partial flexion, limb in full extension, or absent fetal movement. magent does not ultrasound. true or false.","type":"boolean"},"nonstress_test":{"description":"Manning 1980 nonstress test as assigned by the caller. true if normal (reactive): at least two fetal heart-rate accelerations of at least 15 bpm lasting at least 15 seconds associated with fetal movement in 20 minutes. false if abnormal (nonreactive). magent does not record cardiotocography. true or false.","type":"boolean"},"qualitative_amniotic_fluid_volume":{"description":"Manning 1980 qualitative amniotic fluid volume as assigned by the caller. true if normal: at least one pocket of fluid measuring 1 cm in two perpendicular planes. false if abnormal: no pocket or a pocket smaller than 1 cm. Later 2 cm pocket is not used. magent does not ultrasound. true or false.","type":"boolean"}},"required":["fetal_breathing_movements","fetal_movements","fetal_tone","qualitative_amniotic_fluid_volume","nonstress_test"],"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":["bpp","biophysical-profile","neonatal","antepartum","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:03:56.729Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:03:56.611Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fetal_breathing_movements":true,"fetal_movements":true,"fetal_tone":true,"nonstress_test":true,"qualitative_amniotic_fluid_volume":true},{"fetal_breathing_movements":true,"fetal_movements":true,"fetal_tone":true,"nonstress_test":true,"qualitative_amniotic_fluid_volume":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Manning FA, Platt LD, Sipos L","doi":"10.1016/0002-9378(80)90457-3","id":"manning-1980","pmid":"7355965","source":"Am J Obstet Gynecol. 1980;136(6):787-795","title":"Antepartum fetal evaluation: development of a fetal biophysical profile"},"components":[{"factor":"fetal_breathing_movements","points":2,"present":true},{"factor":"fetal_movements","points":2,"present":true},{"factor":"fetal_tone","points":2,"present":true},{"factor":"qualitative_amniotic_fluid_volume","points":2,"present":true},{"factor":"nonstress_test","points":2,"present":true}],"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":"bpp","formula_expression":"BPP = 2*(fetal_breathing_movements) + 2*(fetal_movements) + 2*(fetal_tone) + 2*(qualitative_amniotic_fluid_volume) + 2*(nonstress_test); each 2 if Manning 1980 normal else 0; max 10","max_score":10,"score":10},{"citation":{"authors":"Manning FA, Platt LD, Sipos L","doi":"10.1016/0002-9378(80)90457-3","id":"manning-1980","pmid":"7355965","source":"Am J Obstet Gynecol. 1980;136(6):787-795","title":"Antepartum fetal evaluation: development of a fetal biophysical profile"},"components":[{"factor":"fetal_breathing_movements","points":2,"present":true},{"factor":"fetal_movements","points":2,"present":true},{"factor":"fetal_tone","points":2,"present":true},{"factor":"qualitative_amniotic_fluid_volume","points":2,"present":true},{"factor":"nonstress_test","points":2,"present":true}],"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":"bpp","formula_expression":"BPP = 2*(fetal_breathing_movements) + 2*(fetal_movements) + 2*(fetal_tone) + 2*(qualitative_amniotic_fluid_volume) + 2*(nonstress_test); each 2 if Manning 1980 normal else 0; max 10","max_score":10,"score":10}],"path":"/api/calc/bpp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fetal_breathing_movements":{"description":"Manning 1980 fetal breathing movements as assigned by the caller. true if normal: at least one episode of fetal breathing of at least 60 seconds in 30 minutes. false if abnormal: absent or no 60-second episode. Later 30-second breathing is not used. magent does not ultrasound. true or false.","type":"boolean"},"fetal_movements":{"description":"Manning 1980 fetal movements as assigned by the caller. true if normal: at least three discrete body or limb movements in 30 minutes. false if abnormal: two or fewer. magent does not ultrasound. true or false.","type":"boolean"},"fetal_tone":{"description":"Manning 1980 fetal tone as assigned by the caller. true if normal: at least one episode of active extension of a limb or trunk with return to flexion. false if abnormal: slow extension with return to partial flexion, limb in full extension, or absent fetal movement. magent does not ultrasound. true or false.","type":"boolean"},"nonstress_test":{"description":"Manning 1980 nonstress test as assigned by the caller. true if normal (reactive): at least two fetal heart-rate accelerations of at least 15 bpm lasting at least 15 seconds associated with fetal movement in 20 minutes. false if abnormal (nonreactive). magent does not record cardiotocography. true or false.","type":"boolean"},"qualitative_amniotic_fluid_volume":{"description":"Manning 1980 qualitative amniotic fluid volume as assigned by the caller. true if normal: at least one pocket of fluid measuring 1 cm in two perpendicular planes. false if abnormal: no pocket or a pocket smaller than 1 cm. Later 2 cm pocket is not used. magent does not ultrasound. true or false.","type":"boolean"}},"required":["fetal_breathing_movements","fetal_movements","fetal_tone","qualitative_amniotic_fluid_volume","nonstress_test"],"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},{"id":39370,"slug":"39370","resource":"https://api.magentlab.com/api/calc/apgar","description":"Apgar score from five 0-2 newborn signs (appearance, pulse, grimace, activity, respiration). Deterministic published score with citation; not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"activity":2,"appearance":1,"grimace":1,"pulse":2,"respiration":2},{"activity":2,"appearance":1,"grimace":1,"pulse":2,"respiration":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Virginia Apgar","doi":null,"id":"apgar-1953","source":"Curr Res Anesth Analg. 1953;32(4):260-267","title":"A proposal for a new method of evaluation of the newborn infant"},"components":[{"factor":"appearance","points":1,"present":true,"value":1},{"factor":"pulse","points":2,"present":true,"value":2},{"factor":"grimace","points":1,"present":true,"value":1},{"factor":"activity","points":2,"present":true,"value":2},{"factor":"respiration","points":2,"present":true,"value":2}],"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":"apgar","formula_expression":"APGAR = appearance + pulse + grimace + activity + respiration; each 0-2; max 10","max_score":10,"score":8},{"citation":{"authors":"Virginia Apgar","doi":null,"id":"apgar-1953","source":"Curr Res Anesth Analg. 1953;32(4):260-267","title":"A proposal for a new method of evaluation of the newborn infant"},"components":[{"factor":"appearance","points":1,"present":true,"value":1},{"factor":"pulse","points":2,"present":true,"value":2},{"factor":"grimace","points":1,"present":true,"value":1},{"factor":"activity","points":2,"present":true,"value":2},{"factor":"respiration","points":2,"present":true,"value":2}],"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":"apgar","formula_expression":"APGAR = appearance + pulse + grimace + activity + respiration; each 0-2; max 10","max_score":10,"score":8}],"path":"/api/calc/apgar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity":{"description":"Muscle tone (A). Integer 0, 1, or 2 as assigned by the caller.","type":"integer"},"appearance":{"description":"Color (A). Integer 0, 1, or 2 as assigned by the caller.","type":"integer"},"grimace":{"description":"Reflex irritability (G). Integer 0, 1, or 2 as assigned by the caller.","type":"integer"},"pulse":{"description":"Heart rate (P). Integer 0, 1, or 2 as assigned by the caller.","type":"integer"},"respiration":{"description":"Respiratory effort (R). Integer 0, 1, or 2 as assigned by the caller.","type":"integer"}},"required":["appearance","pulse","grimace","activity","respiration"],"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":["apgar","newborn","neonatal","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:03:50.8Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:03:50.667Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"activity":2,"appearance":1,"grimace":1,"pulse":2,"respiration":2},{"activity":2,"appearance":1,"grimace":1,"pulse":2,"respiration":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Virginia Apgar","doi":null,"id":"apgar-1953","source":"Curr Res Anesth Analg. 1953;32(4):260-267","title":"A proposal for a new method of evaluation of the newborn infant"},"components":[{"factor":"appearance","points":1,"present":true,"value":1},{"factor":"pulse","points":2,"present":true,"value":2},{"factor":"grimace","points":1,"present":true,"value":1},{"factor":"activity","points":2,"present":true,"value":2},{"factor":"respiration","points":2,"present":true,"value":2}],"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":"apgar","formula_expression":"APGAR = appearance + pulse + grimace + activity + respiration; each 0-2; max 10","max_score":10,"score":8},{"citation":{"authors":"Virginia Apgar","doi":null,"id":"apgar-1953","source":"Curr Res Anesth Analg. 1953;32(4):260-267","title":"A proposal for a new method of evaluation of the newborn infant"},"components":[{"factor":"appearance","points":1,"present":true,"value":1},{"factor":"pulse","points":2,"present":true,"value":2},{"factor":"grimace","points":1,"present":true,"value":1},{"factor":"activity","points":2,"present":true,"value":2},{"factor":"respiration","points":2,"present":true,"value":2}],"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":"apgar","formula_expression":"APGAR = appearance + pulse + grimace + activity + respiration; each 0-2; max 10","max_score":10,"score":8}],"path":"/api/calc/apgar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity":{"description":"Muscle tone (A). Integer 0, 1, or 2 as assigned by the caller.","type":"integer"},"appearance":{"description":"Color (A). Integer 0, 1, or 2 as assigned by the caller.","type":"integer"},"grimace":{"description":"Reflex irritability (G). Integer 0, 1, or 2 as assigned by the caller.","type":"integer"},"pulse":{"description":"Heart rate (P). Integer 0, 1, or 2 as assigned by the caller.","type":"integer"},"respiration":{"description":"Respiratory effort (R). Integer 0, 1, or 2 as assigned by the caller.","type":"integer"}},"required":["appearance","pulse","grimace","activity","respiration"],"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},{"id":39371,"slug":"39371","resource":"https://api.magentlab.com/api/calc/bed","description":"Fowler 1989 BED without a time or repopulation term: BED = n * d * (1 + d / (alpha/beta)). n equal fractions (1-50), d Gy per fraction (0.5-30), caller-assigned tissue alpha/beta (1-20 Gy). Rounds to 1 decimal. Rejects non-positive n*d or alpha/beta. No T_k/T_pot, no EQD2. Not a radiotherapy prescription. magent does not plan radiotherapy. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"alpha_beta":3,"d_gy":2,"n":30},{"alpha_beta":3,"d_gy":2,"n":30}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alpha_beta":3,"bed_gy":100,"citation":{"authors":"Fowler JF","doi":"10.1259/0007-1285-62-740-679","id":"fowler-1989","pmid":"2670032","source":"Br J Radiol. 1989;62(740):679-694","title":"The linear-quadratic formula and progress in fractionated radiotherapy"},"d_gy":2,"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":"bed","formula_expression":"bed_gy = n * d_gy * (1 + d_gy / alpha_beta)","n":30},{"alpha_beta":3,"bed_gy":100,"citation":{"authors":"Fowler JF","doi":"10.1259/0007-1285-62-740-679","id":"fowler-1989","pmid":"2670032","source":"Br J Radiol. 1989;62(740):679-694","title":"The linear-quadratic formula and progress in fractionated radiotherapy"},"d_gy":2,"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":"bed","formula_expression":"bed_gy = n * d_gy * (1 + d_gy / alpha_beta)","n":30}],"path":"/api/calc/bed"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alpha_beta":{"description":"Caller-assigned tissue α/β in Gy (1-20, magent clamp). magent does not assign α/β from a tissue table.","type":"number"},"d_gy":{"description":"Dose per fraction in Gy (0.5-30, magent clamp). Caller supplies d. magent does not prescribe dose.","type":"number"},"n":{"description":"Number of equal fractions (integer 1-50, magent clamp; Fowler 1989 does not publish an input band). Caller supplies n. magent does not plan a fraction schedule.","type":"integer"}},"required":["n","d_gy","alpha_beta"],"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":["bed","linear-quadratic","fowler","medications","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:03:36.798Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:03:36.667Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alpha_beta":3,"d_gy":2,"n":30},{"alpha_beta":3,"d_gy":2,"n":30}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alpha_beta":3,"bed_gy":100,"citation":{"authors":"Fowler JF","doi":"10.1259/0007-1285-62-740-679","id":"fowler-1989","pmid":"2670032","source":"Br J Radiol. 1989;62(740):679-694","title":"The linear-quadratic formula and progress in fractionated radiotherapy"},"d_gy":2,"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":"bed","formula_expression":"bed_gy = n * d_gy * (1 + d_gy / alpha_beta)","n":30},{"alpha_beta":3,"bed_gy":100,"citation":{"authors":"Fowler JF","doi":"10.1259/0007-1285-62-740-679","id":"fowler-1989","pmid":"2670032","source":"Br J Radiol. 1989;62(740):679-694","title":"The linear-quadratic formula and progress in fractionated radiotherapy"},"d_gy":2,"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":"bed","formula_expression":"bed_gy = n * d_gy * (1 + d_gy / alpha_beta)","n":30}],"path":"/api/calc/bed"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alpha_beta":{"description":"Caller-assigned tissue α/β in Gy (1-20, magent clamp). magent does not assign α/β from a tissue table.","type":"number"},"d_gy":{"description":"Dose per fraction in Gy (0.5-30, magent clamp). Caller supplies d. magent does not prescribe dose.","type":"number"},"n":{"description":"Number of equal fractions (integer 1-50, magent clamp; Fowler 1989 does not publish an input band). Caller supplies n. magent does not plan a fraction schedule.","type":"integer"}},"required":["n","d_gy","alpha_beta"],"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},{"id":39372,"slug":"39372","resource":"https://api.magentlab.com/api/calc/hiet","description":"High-dose insulin euglycemia therapy (HIET) from Engebretsen 2011: 1 U/kg insulin bolus, then a 1-10 U/kg/h continuous infusion. Weight in kg or lb. Not a prescription. Used in beta-blocker or calcium-channel-blocker cardiogenic shock. magent does not titrate, choose dextrose, or add DigiFab, glucagon, or calcium. Deterministic published arithmetic with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"weight_kg":70,"weight_lb":154},{"weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bolus_u":70,"citation":{"authors":"Engebretsen KM, Kaczmarek KM, Morgan J, Holger JS","doi":"10.3109/15563650.2011.582471","id":"engebretsen-2011","pmid":"21563902","source":"Clin Toxicol (Phila). 2011;49(4):277-283","title":"High-dose insulin therapy in beta-blocker and calcium channel-blocker poisoning"},"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":"hiet","formula_expression":"bolus_u = weight_kg * 1; infusion_start_u_h = weight_kg * 1; infusion_max_u_h = weight_kg * 10","infusion_max_u_h":700,"infusion_start_u_h":70,"weight_kg":70},{"bolus_u":70,"citation":{"authors":"Engebretsen KM, Kaczmarek KM, Morgan J, Holger JS","doi":"10.3109/15563650.2011.582471","id":"engebretsen-2011","pmid":"21563902","source":"Clin Toxicol (Phila). 2011;49(4):277-283","title":"High-dose insulin therapy in beta-blocker and calcium channel-blocker poisoning"},"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":"hiet","formula_expression":"bolus_u = weight_kg * 1; infusion_start_u_h = weight_kg * 1; infusion_max_u_h = weight_kg * 10","infusion_max_u_h":700,"infusion_start_u_h":70,"weight_kg":70}],"path":"/api/calc/hiet"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"weight_kg":{"description":"Weight in kilograms (1-500). Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds (2-1100). Converted as kg = lb * 0.45359237.","type":"number"}},"required":[],"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":["hiet","insulin","beta-blocker","calcium-channel","medications","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:03:29.674Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:03:29.551Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"weight_kg":70,"weight_lb":154},{"weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bolus_u":70,"citation":{"authors":"Engebretsen KM, Kaczmarek KM, Morgan J, Holger JS","doi":"10.3109/15563650.2011.582471","id":"engebretsen-2011","pmid":"21563902","source":"Clin Toxicol (Phila). 2011;49(4):277-283","title":"High-dose insulin therapy in beta-blocker and calcium channel-blocker poisoning"},"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":"hiet","formula_expression":"bolus_u = weight_kg * 1; infusion_start_u_h = weight_kg * 1; infusion_max_u_h = weight_kg * 10","infusion_max_u_h":700,"infusion_start_u_h":70,"weight_kg":70},{"bolus_u":70,"citation":{"authors":"Engebretsen KM, Kaczmarek KM, Morgan J, Holger JS","doi":"10.3109/15563650.2011.582471","id":"engebretsen-2011","pmid":"21563902","source":"Clin Toxicol (Phila). 2011;49(4):277-283","title":"High-dose insulin therapy in beta-blocker and calcium channel-blocker poisoning"},"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":"hiet","formula_expression":"bolus_u = weight_kg * 1; infusion_start_u_h = weight_kg * 1; infusion_max_u_h = weight_kg * 10","infusion_max_u_h":700,"infusion_start_u_h":70,"weight_kg":70}],"path":"/api/calc/hiet"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"weight_kg":{"description":"Weight in kilograms (1-500). Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds (2-1100). Converted as kg = lb * 0.45359237.","type":"number"}},"required":[],"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},{"id":39373,"slug":"39373","resource":"https://api.magentlab.com/api/calc/levothyroxine_dose","description":"Adult levothyroxine (LT4) full-replacement estimate: daily_lt4_mcg = weight_kg * 1.6 (ATA 2014). Weight in kg or lb. Not a prescription, TSH titration, pediatric or pregnancy-specific dose, or tablet strength. Lean-body-mass adjustment may apply; elderly and cardiac patients often start lower. Deterministic published arithmetic with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"weight_kg":70,"weight_lb":154},{"weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Jonklaas J, Bianco AC, Bauer AJ, et al.","doi":"10.1089/thy.2014.0028","id":"jonklaas-2014","pmid":"25266247","source":"Thyroid. 2014;24(12):1670-1751","title":"Guidelines for the treatment of hypothyroidism: prepared by the American Thyroid Association task force on thyroid hormone replacement"},"daily_lt4_mcg":112,"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":"levothyroxine_dose","formula_expression":"daily_lt4_mcg = weight_kg * 1.6","weight_kg":70},{"citation":{"authors":"Jonklaas J, Bianco AC, Bauer AJ, et al.","doi":"10.1089/thy.2014.0028","id":"jonklaas-2014","pmid":"25266247","source":"Thyroid. 2014;24(12):1670-1751","title":"Guidelines for the treatment of hypothyroidism: prepared by the American Thyroid Association task force on thyroid hormone replacement"},"daily_lt4_mcg":112,"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":"levothyroxine_dose","formula_expression":"daily_lt4_mcg = weight_kg * 1.6","weight_kg":70}],"path":"/api/calc/levothyroxine_dose"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"weight_kg":{"description":"Weight in kilograms (1-500). Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds (2-1100). Converted as kg = lb * 0.45359237.","type":"number"}},"required":[],"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":["levothyroxine","lt4","hypothyroidism","medications","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:03:22.519Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:03:22.397Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"weight_kg":70,"weight_lb":154},{"weight_kg":70,"weight_lb":154}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Jonklaas J, Bianco AC, Bauer AJ, et al.","doi":"10.1089/thy.2014.0028","id":"jonklaas-2014","pmid":"25266247","source":"Thyroid. 2014;24(12):1670-1751","title":"Guidelines for the treatment of hypothyroidism: prepared by the American Thyroid Association task force on thyroid hormone replacement"},"daily_lt4_mcg":112,"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":"levothyroxine_dose","formula_expression":"daily_lt4_mcg = weight_kg * 1.6","weight_kg":70},{"citation":{"authors":"Jonklaas J, Bianco AC, Bauer AJ, et al.","doi":"10.1089/thy.2014.0028","id":"jonklaas-2014","pmid":"25266247","source":"Thyroid. 2014;24(12):1670-1751","title":"Guidelines for the treatment of hypothyroidism: prepared by the American Thyroid Association task force on thyroid hormone replacement"},"daily_lt4_mcg":112,"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":"levothyroxine_dose","formula_expression":"daily_lt4_mcg = weight_kg * 1.6","weight_kg":70}],"path":"/api/calc/levothyroxine_dose"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"weight_kg":{"description":"Weight in kilograms (1-500). Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds (2-1100). Converted as kg = lb * 0.45359237.","type":"number"}},"required":[],"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},{"id":39374,"slug":"39374","resource":"https://api.magentlab.com/api/calc/phenytoin_correction","description":"Sheiner–Tozer / Winter–Tozer albumin-adjusted total phenytoin: Ccorr = Cobs / ((0.2 or 0.1) × albumin_g_dl + 0.1). Renal factor 0.1 when renal_impairment is true. Deterministic published arithmetic with citation; not a free phenytoin level or a dose.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":2,"albumin_g_l":20,"phenytoin_mcg_ml":8,"renal_impairment":false},{"albumin_g_dl":2,"albumin_g_l":20,"phenytoin_mcg_ml":8,"renal_impairment":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":2,"binding_factor":0.2,"citation":{"authors":"Liponi DF, Winter ME, Tozer TN","doi":"10.1212/WNL.34.3.395","id":"liponi-1984","source":"Neurology. 1984;34(3):395-397","title":"Renal function and therapeutic concentrations of phenytoin"},"corrected_phenytoin_mcg_ml":16,"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":"sheiner_tozer","formula_expression":"corrected_phenytoin_mcg_ml = phenytoin_mcg_ml / ((binding_factor * albumin_g_dl) + 0.1); binding_factor 0.2, or 0.1 if renal_impairment","phenytoin_mcg_ml":8,"renal_impairment":false},{"albumin_g_dl":2,"binding_factor":0.2,"citation":{"authors":"Liponi DF, Winter ME, Tozer TN","doi":"10.1212/WNL.34.3.395","id":"liponi-1984","source":"Neurology. 1984;34(3):395-397","title":"Renal function and therapeutic concentrations of phenytoin"},"corrected_phenytoin_mcg_ml":16,"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":"sheiner_tozer","formula_expression":"corrected_phenytoin_mcg_ml = phenytoin_mcg_ml / ((binding_factor * albumin_g_dl) + 0.1); binding_factor 0.2, or 0.1 if renal_impairment","phenytoin_mcg_ml":8,"renal_impairment":false}],"path":"/api/calc/phenytoin_correction"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Provide this or albumin_g_l.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10.","type":"number"},"phenytoin_mcg_ml":{"description":"Observed total phenytoin in µg/mL (same as mg/L). Range 0.1-80.","type":"number"},"renal_impairment":{"description":"true uses binding factor 0.1 (Liponi/Winter–Tozer end-stage renal adjustment). false uses 0.2. true or false.","type":"boolean"}},"required":["phenytoin_mcg_ml","renal_impairment"],"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":["phenytoin","sheiner-tozer","medications","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:03:15.617Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:03:15.503Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":2,"albumin_g_l":20,"phenytoin_mcg_ml":8,"renal_impairment":false},{"albumin_g_dl":2,"albumin_g_l":20,"phenytoin_mcg_ml":8,"renal_impairment":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":2,"binding_factor":0.2,"citation":{"authors":"Liponi DF, Winter ME, Tozer TN","doi":"10.1212/WNL.34.3.395","id":"liponi-1984","source":"Neurology. 1984;34(3):395-397","title":"Renal function and therapeutic concentrations of phenytoin"},"corrected_phenytoin_mcg_ml":16,"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":"sheiner_tozer","formula_expression":"corrected_phenytoin_mcg_ml = phenytoin_mcg_ml / ((binding_factor * albumin_g_dl) + 0.1); binding_factor 0.2, or 0.1 if renal_impairment","phenytoin_mcg_ml":8,"renal_impairment":false},{"albumin_g_dl":2,"binding_factor":0.2,"citation":{"authors":"Liponi DF, Winter ME, Tozer TN","doi":"10.1212/WNL.34.3.395","id":"liponi-1984","source":"Neurology. 1984;34(3):395-397","title":"Renal function and therapeutic concentrations of phenytoin"},"corrected_phenytoin_mcg_ml":16,"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":"sheiner_tozer","formula_expression":"corrected_phenytoin_mcg_ml = phenytoin_mcg_ml / ((binding_factor * albumin_g_dl) + 0.1); binding_factor 0.2, or 0.1 if renal_impairment","phenytoin_mcg_ml":8,"renal_impairment":false}],"path":"/api/calc/phenytoin_correction"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Provide this or albumin_g_l.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10.","type":"number"},"phenytoin_mcg_ml":{"description":"Observed total phenytoin in µg/mL (same as mg/L). Range 0.1-80.","type":"number"},"renal_impairment":{"description":"true uses binding factor 0.1 (Liponi/Winter–Tozer end-stage renal adjustment). false uses 0.2. true or false.","type":"boolean"}},"required":["phenytoin_mcg_ml","renal_impairment"],"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},{"id":39375,"slug":"39375","resource":"https://api.magentlab.com/api/calc/ed_buprenorphine","description":"ED-initiated buprenorphine milligrams from D'Onofrio 2015 (JAMA; PMID 25919527): dose_mg is 8 on protocol day 1 and 16 on days 2 and 3. Take-home schedule only. Not a home-induction decision tree, not COWS scoring, and not a prescription or X-waiver. magent does not score withdrawal.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"day":1},{"day":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"D'Onofrio G, O'Connor PG, Pantalon MV, Chawarski MC, Busch SH, Owens PH, Bernstein SL, Fiellin DA","doi":"10.1001/jama.2015.3474","id":"donofrio-2015","pmid":"25919527","source":"JAMA. 2015;313(16):1636-1644","title":"Emergency Department-Initiated Buprenorphine/Naloxone Treatment for Opioid Dependence: A Randomized Clinical Trial"},"day":1,"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.","dose_mg":8,"formula":"donofrio_2015","formula_expression":"dose_mg = (day == 1) ? 8 : 16"},{"citation":{"authors":"D'Onofrio G, O'Connor PG, Pantalon MV, Chawarski MC, Busch SH, Owens PH, Bernstein SL, Fiellin DA","doi":"10.1001/jama.2015.3474","id":"donofrio-2015","pmid":"25919527","source":"JAMA. 2015;313(16):1636-1644","title":"Emergency Department-Initiated Buprenorphine/Naloxone Treatment for Opioid Dependence: A Randomized Clinical Trial"},"day":1,"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.","dose_mg":8,"formula":"donofrio_2015","formula_expression":"dose_mg = (day == 1) ? 8 : 16"}],"path":"/api/calc/ed_buprenorphine"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"day":{"description":"D'Onofrio 2015 protocol day 1, 2, or 3. Day 1 is 8 mg. Days 2 and 3 are 16 mg. Not a home-induction tree. magent does not score COWS.","type":"integer"}},"required":["day"],"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":["buprenorphine","emergency","opioid","medications","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:03:01.524Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:03:01.372Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"day":1},{"day":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"D'Onofrio G, O'Connor PG, Pantalon MV, Chawarski MC, Busch SH, Owens PH, Bernstein SL, Fiellin DA","doi":"10.1001/jama.2015.3474","id":"donofrio-2015","pmid":"25919527","source":"JAMA. 2015;313(16):1636-1644","title":"Emergency Department-Initiated Buprenorphine/Naloxone Treatment for Opioid Dependence: A Randomized Clinical Trial"},"day":1,"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.","dose_mg":8,"formula":"donofrio_2015","formula_expression":"dose_mg = (day == 1) ? 8 : 16"},{"citation":{"authors":"D'Onofrio G, O'Connor PG, Pantalon MV, Chawarski MC, Busch SH, Owens PH, Bernstein SL, Fiellin DA","doi":"10.1001/jama.2015.3474","id":"donofrio-2015","pmid":"25919527","source":"JAMA. 2015;313(16):1636-1644","title":"Emergency Department-Initiated Buprenorphine/Naloxone Treatment for Opioid Dependence: A Randomized Clinical Trial"},"day":1,"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.","dose_mg":8,"formula":"donofrio_2015","formula_expression":"dose_mg = (day == 1) ? 8 : 16"}],"path":"/api/calc/ed_buprenorphine"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"day":{"description":"D'Onofrio 2015 protocol day 1, 2, or 3. Day 1 is 8 mg. Days 2 and 3 are 16 mg. Not a home-induction tree. magent does not score COWS.","type":"integer"}},"required":["day"],"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},{"id":39376,"slug":"39376","resource":"https://api.magentlab.com/api/calc/acetylcysteine_iv","description":"Intravenous acetylcysteine milligrams from weight (Prescott 1979). load_mg = weight_kg * 150 over 15 minutes; infusion_4h_mg = weight_kg * 50 over 4 hours; infusion_16h_mg = weight_kg * 100 over 16 hours; total_mg = weight_kg * 300 over 20.25 hours. For acetaminophen (paracetamol) poisoning. Not a prescription, not a Rumack–Matthew nomogram, and not a plasma acetaminophen interpretation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"weight_kg":70},{"weight_kg":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Prescott LF, Illingworth RN, Critchley JA, Stewart MJ, Adam RD, Proudfoot AT","doi":"10.1136/bmj.2.6198.1097","id":"prescott-1979","pmid":"519312","source":"Br Med J. 1979;2(6198):1097-1100","title":"Intravenous N-acetylcysteine: the treatment of choice for paracetamol poisoning"},"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":"acetylcysteine_iv","formula_expression":"load_mg = weight_kg * 150; infusion_4h_mg = weight_kg * 50; infusion_16h_mg = weight_kg * 100; total_mg = weight_kg * 300; load_minutes = 15; infusion_4h_hours = 4; infusion_16h_hours = 16; total_hours = 20.25","infusion_16h_hours":16,"infusion_16h_mg":7000,"infusion_4h_hours":4,"infusion_4h_mg":3500,"load_mg":10500,"load_minutes":15,"total_hours":20.25,"total_mg":21000,"weight_kg":70},{"citation":{"authors":"Prescott LF, Illingworth RN, Critchley JA, Stewart MJ, Adam RD, Proudfoot AT","doi":"10.1136/bmj.2.6198.1097","id":"prescott-1979","pmid":"519312","source":"Br Med J. 1979;2(6198):1097-1100","title":"Intravenous N-acetylcysteine: the treatment of choice for paracetamol poisoning"},"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":"acetylcysteine_iv","formula_expression":"load_mg = weight_kg * 150; infusion_4h_mg = weight_kg * 50; infusion_16h_mg = weight_kg * 100; total_mg = weight_kg * 300; load_minutes = 15; infusion_4h_hours = 4; infusion_16h_hours = 16; total_hours = 20.25","infusion_16h_hours":16,"infusion_16h_mg":7000,"infusion_4h_hours":4,"infusion_4h_mg":3500,"load_mg":10500,"load_minutes":15,"total_hours":20.25,"total_mg":21000,"weight_kg":70}],"path":"/api/calc/acetylcysteine_iv"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"weight_kg":{"description":"Weight in kilograms (1-200).","type":"number"}},"required":["weight_kg"],"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":["acetylcysteine","acetaminophen","paracetamol","medications","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:02:54.342Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:02:54.225Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"weight_kg":70},{"weight_kg":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Prescott LF, Illingworth RN, Critchley JA, Stewart MJ, Adam RD, Proudfoot AT","doi":"10.1136/bmj.2.6198.1097","id":"prescott-1979","pmid":"519312","source":"Br Med J. 1979;2(6198):1097-1100","title":"Intravenous N-acetylcysteine: the treatment of choice for paracetamol poisoning"},"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":"acetylcysteine_iv","formula_expression":"load_mg = weight_kg * 150; infusion_4h_mg = weight_kg * 50; infusion_16h_mg = weight_kg * 100; total_mg = weight_kg * 300; load_minutes = 15; infusion_4h_hours = 4; infusion_16h_hours = 16; total_hours = 20.25","infusion_16h_hours":16,"infusion_16h_mg":7000,"infusion_4h_hours":4,"infusion_4h_mg":3500,"load_mg":10500,"load_minutes":15,"total_hours":20.25,"total_mg":21000,"weight_kg":70},{"citation":{"authors":"Prescott LF, Illingworth RN, Critchley JA, Stewart MJ, Adam RD, Proudfoot AT","doi":"10.1136/bmj.2.6198.1097","id":"prescott-1979","pmid":"519312","source":"Br Med J. 1979;2(6198):1097-1100","title":"Intravenous N-acetylcysteine: the treatment of choice for paracetamol poisoning"},"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":"acetylcysteine_iv","formula_expression":"load_mg = weight_kg * 150; infusion_4h_mg = weight_kg * 50; infusion_16h_mg = weight_kg * 100; total_mg = weight_kg * 300; load_minutes = 15; infusion_4h_hours = 4; infusion_16h_hours = 16; total_hours = 20.25","infusion_16h_hours":16,"infusion_16h_mg":7000,"infusion_4h_hours":4,"infusion_4h_mg":3500,"load_mg":10500,"load_minutes":15,"total_hours":20.25,"total_mg":21000,"weight_kg":70}],"path":"/api/calc/acetylcysteine_iv"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"weight_kg":{"description":"Weight in kilograms (1-200).","type":"number"}},"required":["weight_kg"],"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},{"id":39377,"slug":"39377","resource":"https://api.magentlab.com/api/calc/atropine_op","description":"Eddleston 2004 atropine maintenance infusion after atropinization. infusion_low_mg_h = 0.10 * atropine_load_mg; infusion_high_mg_h = 0.20 * atropine_load_mg. Caller supplies the total atropine loading milligrams already used to stabilize. Not doubling-bolus titration, not pralidoxime, not a prescription. magent does not diagnose organophosphate poisoning and does not choose loading boluses.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"atropine_load_mg":18},{"atropine_load_mg":18}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"atropine_load_mg":18,"citation":{"authors":"Eddleston M, Dawson A, Karalliedde L, Dissanayake W, Hittarage A, Azher S, Buckley NA","doi":"10.1186/cc2953","id":"eddleston-2004","pmid":"15569362","source":"Crit Care. 2004;8(6):R391-R397","title":"Early management after self-poisoning with an organophosphorus or carbamate pesticide – a treatment protocol for junior doctors"},"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":"eddleston_2004","formula_expression":"infusion_low_mg_h = 0.10 * atropine_load_mg; infusion_high_mg_h = 0.20 * atropine_load_mg","infusion_high_mg_h":3.6,"infusion_low_mg_h":1.8},{"atropine_load_mg":18,"citation":{"authors":"Eddleston M, Dawson A, Karalliedde L, Dissanayake W, Hittarage A, Azher S, Buckley NA","doi":"10.1186/cc2953","id":"eddleston-2004","pmid":"15569362","source":"Crit Care. 2004;8(6):R391-R397","title":"Early management after self-poisoning with an organophosphorus or carbamate pesticide – a treatment protocol for junior doctors"},"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":"eddleston_2004","formula_expression":"infusion_low_mg_h = 0.10 * atropine_load_mg; infusion_high_mg_h = 0.20 * atropine_load_mg","infusion_high_mg_h":3.6,"infusion_low_mg_h":1.8}],"path":"/api/calc/atropine_op"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"atropine_load_mg":{"description":"Caller-assigned total atropine loading milligrams already used to stabilize (0.6-200). magent does not choose loading boluses.","type":"number"}},"required":["atropine_load_mg"],"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":["atropine","organophosphate","infusion","medications","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:02:47.504Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:02:47.383Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"atropine_load_mg":18},{"atropine_load_mg":18}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"atropine_load_mg":18,"citation":{"authors":"Eddleston M, Dawson A, Karalliedde L, Dissanayake W, Hittarage A, Azher S, Buckley NA","doi":"10.1186/cc2953","id":"eddleston-2004","pmid":"15569362","source":"Crit Care. 2004;8(6):R391-R397","title":"Early management after self-poisoning with an organophosphorus or carbamate pesticide – a treatment protocol for junior doctors"},"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":"eddleston_2004","formula_expression":"infusion_low_mg_h = 0.10 * atropine_load_mg; infusion_high_mg_h = 0.20 * atropine_load_mg","infusion_high_mg_h":3.6,"infusion_low_mg_h":1.8},{"atropine_load_mg":18,"citation":{"authors":"Eddleston M, Dawson A, Karalliedde L, Dissanayake W, Hittarage A, Azher S, Buckley NA","doi":"10.1186/cc2953","id":"eddleston-2004","pmid":"15569362","source":"Crit Care. 2004;8(6):R391-R397","title":"Early management after self-poisoning with an organophosphorus or carbamate pesticide – a treatment protocol for junior doctors"},"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":"eddleston_2004","formula_expression":"infusion_low_mg_h = 0.10 * atropine_load_mg; infusion_high_mg_h = 0.20 * atropine_load_mg","infusion_high_mg_h":3.6,"infusion_low_mg_h":1.8}],"path":"/api/calc/atropine_op"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"atropine_load_mg":{"description":"Caller-assigned total atropine loading milligrams already used to stabilize (0.6-200). magent does not choose loading boluses.","type":"number"}},"required":["atropine_load_mg"],"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},{"id":39378,"slug":"39378","resource":"https://api.magentlab.com/api/calc/fomepizole","description":"Adult IV fomepizole milligrams from weight (AACT 1999). Loading 15 mg/kg. Maintenance 10 mg/kg every 12 hours for four doses, then 15 mg/kg every 12 hours after 48 hours (auto-induction). Same milligrams during hemodialysis at a 4-hour interval. Not a prescription, indication, or brand order. magent does not assay ethylene glycol or methanol.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hemodialysis":false,"weight_kg":70},{"hemodialysis":false,"weight_kg":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Barceloux DG, Krenzelok EP, Olson K, Watson W","doi":"10.1081/CLT-100102445","id":"barceloux-1999","pmid":"10497633","source":"J Toxicol Clin Toxicol. 1999;37(5):537-560","title":"American Academy of Clinical Toxicology Practice Guidelines on the Treatment of Ethylene Glycol Poisoning"},"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":"fomepizole","formula_expression":"load_mg = weight_kg * 15; maintenance_10_mg = weight_kg * 10; maintenance_15_mg = weight_kg * 15; interval_hours = hemodialysis ? 4 : 12","hemodialysis":false,"interval_hours":12,"load_mg":1050,"maintenance_10_mg":700,"maintenance_15_mg":1050,"weight_kg":70},{"citation":{"authors":"Barceloux DG, Krenzelok EP, Olson K, Watson W","doi":"10.1081/CLT-100102445","id":"barceloux-1999","pmid":"10497633","source":"J Toxicol Clin Toxicol. 1999;37(5):537-560","title":"American Academy of Clinical Toxicology Practice Guidelines on the Treatment of Ethylene Glycol Poisoning"},"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":"fomepizole","formula_expression":"load_mg = weight_kg * 15; maintenance_10_mg = weight_kg * 10; maintenance_15_mg = weight_kg * 15; interval_hours = hemodialysis ? 4 : 12","hemodialysis":false,"interval_hours":12,"load_mg":1050,"maintenance_10_mg":700,"maintenance_15_mg":1050,"weight_kg":70}],"path":"/api/calc/fomepizole"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hemodialysis":{"description":"true during hemodialysis (same milligrams, interval 4 hours). false otherwise (interval 12 hours). Required.","type":"boolean"},"weight_kg":{"description":"Weight in kilograms (1-200).","type":"number"}},"required":["weight_kg","hemodialysis"],"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":["fomepizole","toxicology","ethylene-glycol","medications","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:02:33.561Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:02:33.433Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hemodialysis":false,"weight_kg":70},{"hemodialysis":false,"weight_kg":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Barceloux DG, Krenzelok EP, Olson K, Watson W","doi":"10.1081/CLT-100102445","id":"barceloux-1999","pmid":"10497633","source":"J Toxicol Clin Toxicol. 1999;37(5):537-560","title":"American Academy of Clinical Toxicology Practice Guidelines on the Treatment of Ethylene Glycol Poisoning"},"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":"fomepizole","formula_expression":"load_mg = weight_kg * 15; maintenance_10_mg = weight_kg * 10; maintenance_15_mg = weight_kg * 15; interval_hours = hemodialysis ? 4 : 12","hemodialysis":false,"interval_hours":12,"load_mg":1050,"maintenance_10_mg":700,"maintenance_15_mg":1050,"weight_kg":70},{"citation":{"authors":"Barceloux DG, Krenzelok EP, Olson K, Watson W","doi":"10.1081/CLT-100102445","id":"barceloux-1999","pmid":"10497633","source":"J Toxicol Clin Toxicol. 1999;37(5):537-560","title":"American Academy of Clinical Toxicology Practice Guidelines on the Treatment of Ethylene Glycol Poisoning"},"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":"fomepizole","formula_expression":"load_mg = weight_kg * 15; maintenance_10_mg = weight_kg * 10; maintenance_15_mg = weight_kg * 15; interval_hours = hemodialysis ? 4 : 12","hemodialysis":false,"interval_hours":12,"load_mg":1050,"maintenance_10_mg":700,"maintenance_15_mg":1050,"weight_kg":70}],"path":"/api/calc/fomepizole"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hemodialysis":{"description":"true during hemodialysis (same milligrams, interval 4 hours). false otherwise (interval 12 hours). Required.","type":"boolean"},"weight_kg":{"description":"Weight in kilograms (1-200).","type":"number"}},"required":["weight_kg","hemodialysis"],"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},{"id":39379,"slug":"39379","resource":"https://api.magentlab.com/api/calc/cdc_imm","description":"ACIP 2025 Table 2 catch-up minimum age and previous-dose interval. Eligible if age_months meets the printed minimum and weeks_since_previous_dose meets a printed interval (omit for dose 1). HepB dose 2 is 4 weeks. MMR/HepA/varicella dose 1 is 12 months. Not a vaccine order. magent does not immunize. Not routine age bars, Hib/PCV branching, HepB dose 3, or the 4-day grace period.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_months":4,"dose_number":2,"vaccine":"hepb","weeks_since_previous_dose":4},{"age_months":4,"dose_number":2,"vaccine":"hepb","weeks_since_previous_dose":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_months":4,"citation":{"authors":"Issa AN, Wodi AP, Moser CA, Cineas S","doi":"10.15585/mmwr.mm7402a2","id":"cdc-acip-catch-up-schedule","pmid":"39819853","source":"MMWR Morb Mortal Wkly Rep. 2025;74(2):26-29","title":"Advisory Committee on Immunization Practices Recommended Immunization Schedule for Children and Adolescents Aged 18 Years or Younger — United States, 2025"},"components":[{"factor":"age_met","met":true,"value":0},{"factor":"interval_met","met":true,"value":4}],"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.","dose_number":2,"eligible":true,"formula":"cdc_imm","formula_expression":"ACIP 2025 child/adolescent catch-up Table 2: eligible if age_months >= minimum_age_months and (dose 1 has no printed interval, or weeks_since_previous_dose >= minimum_interval_weeks). HepB dose 1 birth = 0 months; HepB dose 2 = 4 weeks. MMR dose 1 = 12 months; MMR dose 2 = 4 weeks. HepA and varicella dose 1 = 12 months. DTaP/IPV dose 1 = 6 weeks as 1.5 months; DTaP doses 2-3 and IPV dose 2 = 4 weeks (DTaP only when age_months < 84). Tdap dose 1 = 84 months. Not Table 1 routine bars. Not Hib, PCV, rotavirus, HepB dose 3, 6-month intervals, the 4-day grace period, or live-virus spacing beyond this table. magent does not immunize","minimum_age_months":0,"minimum_interval_weeks":4,"vaccine":"hepb","weeks_since_previous_dose":4},{"age_months":4,"citation":{"authors":"Issa AN, Wodi AP, Moser CA, Cineas S","doi":"10.15585/mmwr.mm7402a2","id":"cdc-acip-catch-up-schedule","pmid":"39819853","source":"MMWR Morb Mortal Wkly Rep. 2025;74(2):26-29","title":"Advisory Committee on Immunization Practices Recommended Immunization Schedule for Children and Adolescents Aged 18 Years or Younger — United States, 2025"},"components":[{"factor":"age_met","met":true,"value":0},{"factor":"interval_met","met":true,"value":4}],"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.","dose_number":2,"eligible":true,"formula":"cdc_imm","formula_expression":"ACIP 2025 child/adolescent catch-up Table 2: eligible if age_months >= minimum_age_months and (dose 1 has no printed interval, or weeks_since_previous_dose >= minimum_interval_weeks). HepB dose 1 birth = 0 months; HepB dose 2 = 4 weeks. MMR dose 1 = 12 months; MMR dose 2 = 4 weeks. HepA and varicella dose 1 = 12 months. DTaP/IPV dose 1 = 6 weeks as 1.5 months; DTaP doses 2-3 and IPV dose 2 = 4 weeks (DTaP only when age_months < 84). Tdap dose 1 = 84 months. Not Table 1 routine bars. Not Hib, PCV, rotavirus, HepB dose 3, 6-month intervals, the 4-day grace period, or live-virus spacing beyond this table. magent does not immunize","minimum_age_months":0,"minimum_interval_weeks":4,"vaccine":"hepb","weeks_since_previous_dose":4}],"path":"/api/calc/cdc_imm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_months":{"description":"Caller-assigned completed age in months (integer 0-216; 18 years or younger). magent does not derive chronological age.","type":"integer"},"dose_number":{"description":"Dose number in the series as printed (integer 1-5). Only rows with a numeric minimum age and/or interval are implemented; other dose numbers are rejected.","type":"integer"},"vaccine":{"description":"Caller-assigned antigen with a numeric Table 2 minimum age and/or previous-dose interval: hepb, mmr, dtap, ipv, hepa, var, or tdap. Not a vaccine order.","enum":["hepb","mmr","dtap","ipv","hepa","var","tdap"],"type":"string"},"weeks_since_previous_dose":{"description":"Whole weeks since the previous dose (integer 0-520). Required for dose 2 and later. Must be omitted for dose 1 as Table 2 prints no previous-dose interval.","type":"integer"}},"required":["vaccine","dose_number","age_months"],"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":["cdc","acip","catch-up","vaccine","interval","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:02:26.25Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:02:26.119Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_months":4,"dose_number":2,"vaccine":"hepb","weeks_since_previous_dose":4},{"age_months":4,"dose_number":2,"vaccine":"hepb","weeks_since_previous_dose":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_months":4,"citation":{"authors":"Issa AN, Wodi AP, Moser CA, Cineas S","doi":"10.15585/mmwr.mm7402a2","id":"cdc-acip-catch-up-schedule","pmid":"39819853","source":"MMWR Morb Mortal Wkly Rep. 2025;74(2):26-29","title":"Advisory Committee on Immunization Practices Recommended Immunization Schedule for Children and Adolescents Aged 18 Years or Younger — United States, 2025"},"components":[{"factor":"age_met","met":true,"value":0},{"factor":"interval_met","met":true,"value":4}],"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.","dose_number":2,"eligible":true,"formula":"cdc_imm","formula_expression":"ACIP 2025 child/adolescent catch-up Table 2: eligible if age_months >= minimum_age_months and (dose 1 has no printed interval, or weeks_since_previous_dose >= minimum_interval_weeks). HepB dose 1 birth = 0 months; HepB dose 2 = 4 weeks. MMR dose 1 = 12 months; MMR dose 2 = 4 weeks. HepA and varicella dose 1 = 12 months. DTaP/IPV dose 1 = 6 weeks as 1.5 months; DTaP doses 2-3 and IPV dose 2 = 4 weeks (DTaP only when age_months < 84). Tdap dose 1 = 84 months. Not Table 1 routine bars. Not Hib, PCV, rotavirus, HepB dose 3, 6-month intervals, the 4-day grace period, or live-virus spacing beyond this table. magent does not immunize","minimum_age_months":0,"minimum_interval_weeks":4,"vaccine":"hepb","weeks_since_previous_dose":4},{"age_months":4,"citation":{"authors":"Issa AN, Wodi AP, Moser CA, Cineas S","doi":"10.15585/mmwr.mm7402a2","id":"cdc-acip-catch-up-schedule","pmid":"39819853","source":"MMWR Morb Mortal Wkly Rep. 2025;74(2):26-29","title":"Advisory Committee on Immunization Practices Recommended Immunization Schedule for Children and Adolescents Aged 18 Years or Younger — United States, 2025"},"components":[{"factor":"age_met","met":true,"value":0},{"factor":"interval_met","met":true,"value":4}],"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.","dose_number":2,"eligible":true,"formula":"cdc_imm","formula_expression":"ACIP 2025 child/adolescent catch-up Table 2: eligible if age_months >= minimum_age_months and (dose 1 has no printed interval, or weeks_since_previous_dose >= minimum_interval_weeks). HepB dose 1 birth = 0 months; HepB dose 2 = 4 weeks. MMR dose 1 = 12 months; MMR dose 2 = 4 weeks. HepA and varicella dose 1 = 12 months. DTaP/IPV dose 1 = 6 weeks as 1.5 months; DTaP doses 2-3 and IPV dose 2 = 4 weeks (DTaP only when age_months < 84). Tdap dose 1 = 84 months. Not Table 1 routine bars. Not Hib, PCV, rotavirus, HepB dose 3, 6-month intervals, the 4-day grace period, or live-virus spacing beyond this table. magent does not immunize","minimum_age_months":0,"minimum_interval_weeks":4,"vaccine":"hepb","weeks_since_previous_dose":4}],"path":"/api/calc/cdc_imm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_months":{"description":"Caller-assigned completed age in months (integer 0-216; 18 years or younger). magent does not derive chronological age.","type":"integer"},"dose_number":{"description":"Dose number in the series as printed (integer 1-5). Only rows with a numeric minimum age and/or interval are implemented; other dose numbers are rejected.","type":"integer"},"vaccine":{"description":"Caller-assigned antigen with a numeric Table 2 minimum age and/or previous-dose interval: hepb, mmr, dtap, ipv, hepa, var, or tdap. Not a vaccine order.","enum":["hepb","mmr","dtap","ipv","hepa","var","tdap"],"type":"string"},"weeks_since_previous_dose":{"description":"Whole weeks since the previous dose (integer 0-520). Required for dose 2 and later. Must be omitted for dose 1 as Table 2 prints no previous-dose interval.","type":"integer"}},"required":["vaccine","dose_number","age_months"],"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},{"id":39380,"slug":"39380","resource":"https://api.magentlab.com/api/calc/mme","description":"CDC 2022 morphine milligram equivalents from a published opioid key and dose (mg/day, or mcg/hr for fentanyl_transdermal). Estimates only; do not use MME to convert one opioid to another. Not a taper protocol or OUD dosing tool.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"dose":20,"opioid":"hydrocodone"},{"dose":20,"opioid":"hydrocodone"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Dowell D, Ragan KR, Jones CM, Baldwin GT, Chou R","doi":"10.15585/mmwr.rr7103a1","id":"cdc-mme-2022","source":"MMWR Recomm Rep. 2022;71(No. RR-3):1-95","title":"CDC Clinical Practice Guideline for Prescribing Opioids for Pain — United States, 2022"},"conversion_factor":1,"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.","dose":20,"dose_unit":"mg/day","formula":"mme","formula_expression":"mme = dose * conversion_factor (dose is mg/day except fentanyl_transdermal in mcg/hr)","mme":20,"opioid":"hydrocodone"},{"citation":{"authors":"Dowell D, Ragan KR, Jones CM, Baldwin GT, Chou R","doi":"10.15585/mmwr.rr7103a1","id":"cdc-mme-2022","source":"MMWR Recomm Rep. 2022;71(No. RR-3):1-95","title":"CDC Clinical Practice Guideline for Prescribing Opioids for Pain — United States, 2022"},"conversion_factor":1,"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.","dose":20,"dose_unit":"mg/day","formula":"mme","formula_expression":"mme = dose * conversion_factor (dose is mg/day except fentanyl_transdermal in mcg/hr)","mme":20,"opioid":"hydrocodone"}],"path":"/api/calc/mme"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"dose":{"description":"Daily opioid dose in mg/day (0.1-5000), or fentanyl_transdermal patch rate in mcg/hr (12-300).","type":"number"},"opioid":{"description":"CDC 2022 MME table key (case-insensitive exact match). Not a brand name or alias.","enum":["codeine","fentanyl_transdermal","hydrocodone","hydromorphone","methadone","morphine","oxycodone","oxymorphone","tapentadol","tramadol"],"type":"string"}},"required":["opioid","dose"],"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":["mme","opioid","cdc","morphine","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:02:12.038Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:02:11.914Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"dose":20,"opioid":"hydrocodone"},{"dose":20,"opioid":"hydrocodone"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Dowell D, Ragan KR, Jones CM, Baldwin GT, Chou R","doi":"10.15585/mmwr.rr7103a1","id":"cdc-mme-2022","source":"MMWR Recomm Rep. 2022;71(No. RR-3):1-95","title":"CDC Clinical Practice Guideline for Prescribing Opioids for Pain — United States, 2022"},"conversion_factor":1,"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.","dose":20,"dose_unit":"mg/day","formula":"mme","formula_expression":"mme = dose * conversion_factor (dose is mg/day except fentanyl_transdermal in mcg/hr)","mme":20,"opioid":"hydrocodone"},{"citation":{"authors":"Dowell D, Ragan KR, Jones CM, Baldwin GT, Chou R","doi":"10.15585/mmwr.rr7103a1","id":"cdc-mme-2022","source":"MMWR Recomm Rep. 2022;71(No. RR-3):1-95","title":"CDC Clinical Practice Guideline for Prescribing Opioids for Pain — United States, 2022"},"conversion_factor":1,"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.","dose":20,"dose_unit":"mg/day","formula":"mme","formula_expression":"mme = dose * conversion_factor (dose is mg/day except fentanyl_transdermal in mcg/hr)","mme":20,"opioid":"hydrocodone"}],"path":"/api/calc/mme"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"dose":{"description":"Daily opioid dose in mg/day (0.1-5000), or fentanyl_transdermal patch rate in mcg/hr (12-300).","type":"number"},"opioid":{"description":"CDC 2022 MME table key (case-insensitive exact match). Not a brand name or alias.","enum":["codeine","fentanyl_transdermal","hydrocodone","hydromorphone","methadone","morphine","oxycodone","oxymorphone","tapentadol","tramadol"],"type":"string"}},"required":["opioid","dose"],"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},{"id":39381,"slug":"39381","resource":"https://api.magentlab.com/api/calc/dli_volume","description":"Shi 2020 donor whole-blood liters to process for a CD3+ DLI target: (recipient_weight_kg × cd3_target_per_kg × num_infusions) / (0.6 × donor_alc_per_ul × collection_efficiency × 1e6). Estimates CD3 as 60% of donor ALC. Caller assigns collection_efficiency in (0,1]; the paper used first-quartile 0.57. Deterministic published arithmetic with citation. Not an apheresis order; magent does not run a device or the paper's CD34 HPC algorithm.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cd3_target_per_kg":10000000,"collection_efficiency":0.5,"donor_alc_per_ul":1800,"num_infusions":1,"recipient_weight_kg":70},{"cd3_target_per_kg":10000000,"collection_efficiency":0.5,"donor_alc_per_ul":1800,"num_infusions":1,"recipient_weight_kg":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cd3_fraction":0.6,"cd3_target_per_kg":10000000,"citation":{"authors":"Shi PA, Sachais BS, Nandi V, Brochstein JA, Weinberg RS, Zhang J, Yoon EJ","doi":"10.1111/trf.15576","id":"shi-2020-dli","pmid":"31756000","source":"Transfusion. 2020;60(1):133-143","title":"Validation of simple prediction algorithms to consistently achieve CD3+ and postselection CD34+ targets with leukapheresis"},"collection_efficiency":0.5,"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.","donor_alc_per_ul":1800,"estimated_cd3_per_ul":1080,"formula":"shi_2020","formula_expression":"process_volume_l = (recipient_weight_kg * cd3_target_per_kg * num_infusions) / (0.6 * donor_alc_per_ul * collection_efficiency * 1e6)","num_infusions":1,"process_volume_l":1.3,"recipient_weight_kg":70,"total_cd3_required":700000000},{"cd3_fraction":0.6,"cd3_target_per_kg":10000000,"citation":{"authors":"Shi PA, Sachais BS, Nandi V, Brochstein JA, Weinberg RS, Zhang J, Yoon EJ","doi":"10.1111/trf.15576","id":"shi-2020-dli","pmid":"31756000","source":"Transfusion. 2020;60(1):133-143","title":"Validation of simple prediction algorithms to consistently achieve CD3+ and postselection CD34+ targets with leukapheresis"},"collection_efficiency":0.5,"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.","donor_alc_per_ul":1800,"estimated_cd3_per_ul":1080,"formula":"shi_2020","formula_expression":"process_volume_l = (recipient_weight_kg * cd3_target_per_kg * num_infusions) / (0.6 * donor_alc_per_ul * collection_efficiency * 1e6)","num_infusions":1,"process_volume_l":1.3,"recipient_weight_kg":70,"total_cd3_required":700000000}],"path":"/api/calc/dli_volume"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cd3_target_per_kg":{"description":"Planned CD3+ cells per recipient kilogram (1e6-1e9, magent clamp). Shi 2020's haploidentical protocol used 2e8/kg; a first DLI is often 1e7/kg. Not a CD34 HPC dose.","type":"number"},"collection_efficiency":{"description":"Caller-assigned facility lymphocyte CE2 as a proportion in (0, 1]. Shi 2020 used a conservative first-quartile 0.57; magent does not default to 0.57 or invent a CE.","type":"number"},"donor_alc_per_ul":{"description":"Donor absolute lymphocyte count on the collection day, cells/µL (100-20000, magent clamp). Shi 2020 estimates CD3+ as 60% of this ALC rather than a measured CD3 count. magent does not assay ALC.","type":"number"},"num_infusions":{"description":"Optional integer infusions (1-12, default 1) multiplying the per-kg CD3 target when the planned dose is the total across infusions. Shi 2020 collected one 2e8/kg DLI product.","type":"integer"},"recipient_weight_kg":{"description":"Recipient weight in kilograms (1-500, magent clamp). Shi 2020 doses CD3 per recipient kg. magent does not weigh the recipient.","type":"number"}},"required":["recipient_weight_kg","cd3_target_per_kg","donor_alc_per_ul","collection_efficiency"],"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":["dli","cd3","leukapheresis","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:01:57.757Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:01:57.633Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cd3_target_per_kg":10000000,"collection_efficiency":0.5,"donor_alc_per_ul":1800,"num_infusions":1,"recipient_weight_kg":70},{"cd3_target_per_kg":10000000,"collection_efficiency":0.5,"donor_alc_per_ul":1800,"num_infusions":1,"recipient_weight_kg":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cd3_fraction":0.6,"cd3_target_per_kg":10000000,"citation":{"authors":"Shi PA, Sachais BS, Nandi V, Brochstein JA, Weinberg RS, Zhang J, Yoon EJ","doi":"10.1111/trf.15576","id":"shi-2020-dli","pmid":"31756000","source":"Transfusion. 2020;60(1):133-143","title":"Validation of simple prediction algorithms to consistently achieve CD3+ and postselection CD34+ targets with leukapheresis"},"collection_efficiency":0.5,"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.","donor_alc_per_ul":1800,"estimated_cd3_per_ul":1080,"formula":"shi_2020","formula_expression":"process_volume_l = (recipient_weight_kg * cd3_target_per_kg * num_infusions) / (0.6 * donor_alc_per_ul * collection_efficiency * 1e6)","num_infusions":1,"process_volume_l":1.3,"recipient_weight_kg":70,"total_cd3_required":700000000},{"cd3_fraction":0.6,"cd3_target_per_kg":10000000,"citation":{"authors":"Shi PA, Sachais BS, Nandi V, Brochstein JA, Weinberg RS, Zhang J, Yoon EJ","doi":"10.1111/trf.15576","id":"shi-2020-dli","pmid":"31756000","source":"Transfusion. 2020;60(1):133-143","title":"Validation of simple prediction algorithms to consistently achieve CD3+ and postselection CD34+ targets with leukapheresis"},"collection_efficiency":0.5,"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.","donor_alc_per_ul":1800,"estimated_cd3_per_ul":1080,"formula":"shi_2020","formula_expression":"process_volume_l = (recipient_weight_kg * cd3_target_per_kg * num_infusions) / (0.6 * donor_alc_per_ul * collection_efficiency * 1e6)","num_infusions":1,"process_volume_l":1.3,"recipient_weight_kg":70,"total_cd3_required":700000000}],"path":"/api/calc/dli_volume"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cd3_target_per_kg":{"description":"Planned CD3+ cells per recipient kilogram (1e6-1e9, magent clamp). Shi 2020's haploidentical protocol used 2e8/kg; a first DLI is often 1e7/kg. Not a CD34 HPC dose.","type":"number"},"collection_efficiency":{"description":"Caller-assigned facility lymphocyte CE2 as a proportion in (0, 1]. Shi 2020 used a conservative first-quartile 0.57; magent does not default to 0.57 or invent a CE.","type":"number"},"donor_alc_per_ul":{"description":"Donor absolute lymphocyte count on the collection day, cells/µL (100-20000, magent clamp). Shi 2020 estimates CD3+ as 60% of this ALC rather than a measured CD3 count. magent does not assay ALC.","type":"number"},"num_infusions":{"description":"Optional integer infusions (1-12, default 1) multiplying the per-kg CD3 target when the planned dose is the total across infusions. Shi 2020 collected one 2e8/kg DLI product.","type":"integer"},"recipient_weight_kg":{"description":"Recipient weight in kilograms (1-500, magent clamp). Shi 2020 doses CD3 per recipient kg. magent does not weigh the recipient.","type":"number"}},"required":["recipient_weight_kg","cd3_target_per_kg","donor_alc_per_ul","collection_efficiency"],"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},{"id":39382,"slug":"39382","resource":"https://api.magentlab.com/api/calc/pbsc_collection","description":"Rosenbaum 2012 predicted daily CD34+ leukapheresis yield: (peripheral_cd34_per_ul * 0.30 / weight_kg) * processed_volume_l, as ×10^6 cells/kg. Uses that paper's adjusted collection efficiency of 30% only. Weight via weight_kg or weight_lb. Deterministic published arithmetic with citation. Not an apheresis order; magent does not run the collection, choose a machine, or set a collection goal.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"peripheral_cd34_per_ul":40,"processed_volume_l":15,"weight_kg":70,"weight_lb":154.32},{"peripheral_cd34_per_ul":40,"processed_volume_l":15,"weight_kg":70,"weight_lb":154.32}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rosenbaum ER, O'Connell B, Cottler-Fox M","doi":"10.3109/14653249.2011.652733","id":"rosenbaum-2012","pmid":"22277012","source":"Cytotherapy. 2012;14(4):461-466","title":"Validation of a formula for predicting daily CD34+ cell collection by leukapheresis"},"collection_efficiency":0.3,"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":"rosenbaum_2012","formula_expression":"predicted_cd34_e6_per_kg = (peripheral_cd34_per_ul * 0.30 / weight_kg) * processed_volume_l","peripheral_cd34_per_ul":40,"predicted_cd34_e6_per_kg":2.57,"processed_volume_l":15,"weight_kg":70},{"citation":{"authors":"Rosenbaum ER, O'Connell B, Cottler-Fox M","doi":"10.3109/14653249.2011.652733","id":"rosenbaum-2012","pmid":"22277012","source":"Cytotherapy. 2012;14(4):461-466","title":"Validation of a formula for predicting daily CD34+ cell collection by leukapheresis"},"collection_efficiency":0.3,"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":"rosenbaum_2012","formula_expression":"predicted_cd34_e6_per_kg = (peripheral_cd34_per_ul * 0.30 / weight_kg) * processed_volume_l","peripheral_cd34_per_ul":40,"predicted_cd34_e6_per_kg":2.57,"processed_volume_l":15,"weight_kg":70}],"path":"/api/calc/pbsc_collection"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"peripheral_cd34_per_ul":{"description":"Pre-apheresis peripheral blood CD34+ cells per µL (0.1-1000, magent clamp). Rosenbaum 2012 uses this count with the printed 30% efficiency. magent does not assay CD34.","type":"number"},"processed_volume_l":{"description":"Processed blood volume in liters (1-40, magent clamp). Rosenbaum 2012 validated 30 L large-volume leukapheresis and smaller non-LVL collections. magent does not set a processed volume.","type":"number"},"weight_kg":{"description":"Recipient or patient weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Recipient or patient weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["peripheral_cd34_per_ul","processed_volume_l"],"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":["pbsc","cd34","leukapheresis","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:01:50.984Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:01:50.824Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"peripheral_cd34_per_ul":40,"processed_volume_l":15,"weight_kg":70,"weight_lb":154.32},{"peripheral_cd34_per_ul":40,"processed_volume_l":15,"weight_kg":70,"weight_lb":154.32}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rosenbaum ER, O'Connell B, Cottler-Fox M","doi":"10.3109/14653249.2011.652733","id":"rosenbaum-2012","pmid":"22277012","source":"Cytotherapy. 2012;14(4):461-466","title":"Validation of a formula for predicting daily CD34+ cell collection by leukapheresis"},"collection_efficiency":0.3,"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":"rosenbaum_2012","formula_expression":"predicted_cd34_e6_per_kg = (peripheral_cd34_per_ul * 0.30 / weight_kg) * processed_volume_l","peripheral_cd34_per_ul":40,"predicted_cd34_e6_per_kg":2.57,"processed_volume_l":15,"weight_kg":70},{"citation":{"authors":"Rosenbaum ER, O'Connell B, Cottler-Fox M","doi":"10.3109/14653249.2011.652733","id":"rosenbaum-2012","pmid":"22277012","source":"Cytotherapy. 2012;14(4):461-466","title":"Validation of a formula for predicting daily CD34+ cell collection by leukapheresis"},"collection_efficiency":0.3,"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":"rosenbaum_2012","formula_expression":"predicted_cd34_e6_per_kg = (peripheral_cd34_per_ul * 0.30 / weight_kg) * processed_volume_l","peripheral_cd34_per_ul":40,"predicted_cd34_e6_per_kg":2.57,"processed_volume_l":15,"weight_kg":70}],"path":"/api/calc/pbsc_collection"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"peripheral_cd34_per_ul":{"description":"Pre-apheresis peripheral blood CD34+ cells per µL (0.1-1000, magent clamp). Rosenbaum 2012 uses this count with the printed 30% efficiency. magent does not assay CD34.","type":"number"},"processed_volume_l":{"description":"Processed blood volume in liters (1-40, magent clamp). Rosenbaum 2012 validated 30 L large-volume leukapheresis and smaller non-LVL collections. magent does not set a processed volume.","type":"number"},"weight_kg":{"description":"Recipient or patient weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Recipient or patient weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["peripheral_cd34_per_ul","processed_volume_l"],"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},{"id":39383,"slug":"39383","resource":"https://api.magentlab.com/api/calc/cci","description":"Corrected count increment (CCI) after platelet transfusion: (post - pre platelet count per uL) * BSA_m2 / (dose in 10^11). Davis 1999 Transfusion. Returns CCI and the uncorrected increment only. Caller supplies BSA; magent does not compute Nadler BSA from height/weight, assay platelets, emit a 5000 or 7500 refractoriness cutoff, or order a transfusion. Davis 1999 cautions CCI/PPR can distort comparisons of platelet products.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bsa_m2":1.8,"platelets_transfused_e11":3,"post_plt_per_ul":30000,"pre_plt_per_ul":10000},{"bsa_m2":1.8,"platelets_transfused_e11":3,"post_plt_per_ul":30000,"pre_plt_per_ul":10000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bsa_m2":1.8,"cci":12000,"citation":{"authors":"Davis KB, Slichter SJ, Corash L","doi":"10.1046/j.1537-2995.1999.39060586.x","id":"davis-1999","pmid":"10354261","source":"Transfusion. 1999;39(6):586-592","title":"Corrected count increment and percent platelet recovery as measures of posttransfusion platelet response: problems and a solution"},"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":"cci","formula_expression":"cci = (post_plt_per_ul - pre_plt_per_ul) * bsa_m2 / platelets_transfused_e11","increment_per_ul":20000,"platelets_transfused_e11":3,"post_plt_per_ul":30000,"pre_plt_per_ul":10000},{"bsa_m2":1.8,"cci":12000,"citation":{"authors":"Davis KB, Slichter SJ, Corash L","doi":"10.1046/j.1537-2995.1999.39060586.x","id":"davis-1999","pmid":"10354261","source":"Transfusion. 1999;39(6):586-592","title":"Corrected count increment and percent platelet recovery as measures of posttransfusion platelet response: problems and a solution"},"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":"cci","formula_expression":"cci = (post_plt_per_ul - pre_plt_per_ul) * bsa_m2 / platelets_transfused_e11","increment_per_ul":20000,"platelets_transfused_e11":3,"post_plt_per_ul":30000,"pre_plt_per_ul":10000}],"path":"/api/calc/cci"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bsa_m2":{"description":"Caller-supplied body-surface area in m² (0.1-4.0). Required. magent does not measure BSA and does not compute Nadler BSA from height and weight.","type":"number"},"platelets_transfused_e11":{"description":"Platelet dose already in units of 10^11 (0.1-50). Example: 3 means 3×10^11 platelets. Must be positive. magent does not assay the unit.","type":"number"},"post_plt_per_ul":{"description":"Posttransfusion platelet count per µL (0-2000000). Must be at least pre_plt_per_ul. magent does not assay platelets.","type":"number"},"pre_plt_per_ul":{"description":"Pretransfusion platelet count per µL (0-2000000). Same numeric value as ×10^9/L for the increment. magent does not assay platelets.","type":"number"}},"required":["pre_plt_per_ul","post_plt_per_ul","bsa_m2","platelets_transfused_e11"],"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":["cci","platelets","transfusion","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:01:36.718Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:01:36.569Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bsa_m2":1.8,"platelets_transfused_e11":3,"post_plt_per_ul":30000,"pre_plt_per_ul":10000},{"bsa_m2":1.8,"platelets_transfused_e11":3,"post_plt_per_ul":30000,"pre_plt_per_ul":10000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bsa_m2":1.8,"cci":12000,"citation":{"authors":"Davis KB, Slichter SJ, Corash L","doi":"10.1046/j.1537-2995.1999.39060586.x","id":"davis-1999","pmid":"10354261","source":"Transfusion. 1999;39(6):586-592","title":"Corrected count increment and percent platelet recovery as measures of posttransfusion platelet response: problems and a solution"},"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":"cci","formula_expression":"cci = (post_plt_per_ul - pre_plt_per_ul) * bsa_m2 / platelets_transfused_e11","increment_per_ul":20000,"platelets_transfused_e11":3,"post_plt_per_ul":30000,"pre_plt_per_ul":10000},{"bsa_m2":1.8,"cci":12000,"citation":{"authors":"Davis KB, Slichter SJ, Corash L","doi":"10.1046/j.1537-2995.1999.39060586.x","id":"davis-1999","pmid":"10354261","source":"Transfusion. 1999;39(6):586-592","title":"Corrected count increment and percent platelet recovery as measures of posttransfusion platelet response: problems and a solution"},"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":"cci","formula_expression":"cci = (post_plt_per_ul - pre_plt_per_ul) * bsa_m2 / platelets_transfused_e11","increment_per_ul":20000,"platelets_transfused_e11":3,"post_plt_per_ul":30000,"pre_plt_per_ul":10000}],"path":"/api/calc/cci"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bsa_m2":{"description":"Caller-supplied body-surface area in m² (0.1-4.0). Required. magent does not measure BSA and does not compute Nadler BSA from height and weight.","type":"number"},"platelets_transfused_e11":{"description":"Platelet dose already in units of 10^11 (0.1-50). Example: 3 means 3×10^11 platelets. Must be positive. magent does not assay the unit.","type":"number"},"post_plt_per_ul":{"description":"Posttransfusion platelet count per µL (0-2000000). Must be at least pre_plt_per_ul. magent does not assay platelets.","type":"number"},"pre_plt_per_ul":{"description":"Pretransfusion platelet count per µL (0-2000000). Same numeric value as ×10^9/L for the increment. magent does not assay platelets.","type":"number"}},"required":["pre_plt_per_ul","post_plt_per_ul","bsa_m2","platelets_transfused_e11"],"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},{"id":39384,"slug":"39384","resource":"https://api.magentlab.com/api/calc/cryoprecipitate","description":"Cryoprecipitate bag estimate from the AABB Technical Manual calculation as reprinted in Nascimento 2011: 70 mL/kg blood volume, 250 mg fibrinogen per bag, bags = ceil(mg_fibrinogen / 250). Deterministic published arithmetic with citation. Not a transfusion order or major-haemorrhage protocol. The paper notes 100% recovery is likely false and fibrinogen per bag varies. magent does not choose a product or ABO group.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"current_fibrinogen_mg_dl":100,"desired_fibrinogen_mg_dl":200,"hematocrit_percent":40,"weight_kg":70},{"current_fibrinogen_mg_dl":100,"desired_fibrinogen_mg_dl":200,"hematocrit_percent":40,"weight_kg":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bags":12,"blood_volume_ml":4900,"citation":{"authors":"Nascimento B, Rizoli S, Rubenfeld G, Lin Y, Callum J, Tien HC","doi":"10.1111/j.1365-3148.2011.01098.x","id":"nascimento-2011","pmid":"21851429","source":"Transfus Med. 2011;21(6):394-401","title":"Cryoprecipitate transfusion: assessing appropriateness and dosing in trauma"},"current_fibrinogen_mg_dl":100,"desired_fibrinogen_mg_dl":200,"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":"nascimento_2011","formula_expression":"blood_volume_ml = 70 * weight_kg; plasma_volume_ml = blood_volume_ml * (1 - hematocrit_percent/100); mg_fibrinogen = (desired_fibrinogen_mg_dl - current_fibrinogen_mg_dl) * plasma_volume_ml / 100; bags = ceil(mg_fibrinogen / 250)","hematocrit_percent":40,"mg_fibrinogen":2940,"plasma_volume_ml":2940,"weight_kg":70},{"bags":12,"blood_volume_ml":4900,"citation":{"authors":"Nascimento B, Rizoli S, Rubenfeld G, Lin Y, Callum J, Tien HC","doi":"10.1111/j.1365-3148.2011.01098.x","id":"nascimento-2011","pmid":"21851429","source":"Transfus Med. 2011;21(6):394-401","title":"Cryoprecipitate transfusion: assessing appropriateness and dosing in trauma"},"current_fibrinogen_mg_dl":100,"desired_fibrinogen_mg_dl":200,"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":"nascimento_2011","formula_expression":"blood_volume_ml = 70 * weight_kg; plasma_volume_ml = blood_volume_ml * (1 - hematocrit_percent/100); mg_fibrinogen = (desired_fibrinogen_mg_dl - current_fibrinogen_mg_dl) * plasma_volume_ml / 100; bags = ceil(mg_fibrinogen / 250)","hematocrit_percent":40,"mg_fibrinogen":2940,"plasma_volume_ml":2940,"weight_kg":70}],"path":"/api/calc/cryoprecipitate"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"current_fibrinogen_mg_dl":{"description":"Current fibrinogen in mg/dL (0-400). Required.","type":"number"},"desired_fibrinogen_mg_dl":{"description":"Desired fibrinogen in mg/dL (50-400). Must be strictly greater than current_fibrinogen_mg_dl.","type":"number"},"hematocrit_percent":{"description":"Hematocrit as a percent (10-70). Required. Not a 0-1 fraction; magent does not accept hematocrit_fraction.","type":"number"},"weight_kg":{"description":"Weight in kilograms (1-200). Required.","type":"number"}},"required":["weight_kg","hematocrit_percent","current_fibrinogen_mg_dl","desired_fibrinogen_mg_dl"],"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":["cryoprecipitate","fibrinogen","hematology","transfusion","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:01:15.528Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:01:15.398Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"current_fibrinogen_mg_dl":100,"desired_fibrinogen_mg_dl":200,"hematocrit_percent":40,"weight_kg":70},{"current_fibrinogen_mg_dl":100,"desired_fibrinogen_mg_dl":200,"hematocrit_percent":40,"weight_kg":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bags":12,"blood_volume_ml":4900,"citation":{"authors":"Nascimento B, Rizoli S, Rubenfeld G, Lin Y, Callum J, Tien HC","doi":"10.1111/j.1365-3148.2011.01098.x","id":"nascimento-2011","pmid":"21851429","source":"Transfus Med. 2011;21(6):394-401","title":"Cryoprecipitate transfusion: assessing appropriateness and dosing in trauma"},"current_fibrinogen_mg_dl":100,"desired_fibrinogen_mg_dl":200,"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":"nascimento_2011","formula_expression":"blood_volume_ml = 70 * weight_kg; plasma_volume_ml = blood_volume_ml * (1 - hematocrit_percent/100); mg_fibrinogen = (desired_fibrinogen_mg_dl - current_fibrinogen_mg_dl) * plasma_volume_ml / 100; bags = ceil(mg_fibrinogen / 250)","hematocrit_percent":40,"mg_fibrinogen":2940,"plasma_volume_ml":2940,"weight_kg":70},{"bags":12,"blood_volume_ml":4900,"citation":{"authors":"Nascimento B, Rizoli S, Rubenfeld G, Lin Y, Callum J, Tien HC","doi":"10.1111/j.1365-3148.2011.01098.x","id":"nascimento-2011","pmid":"21851429","source":"Transfus Med. 2011;21(6):394-401","title":"Cryoprecipitate transfusion: assessing appropriateness and dosing in trauma"},"current_fibrinogen_mg_dl":100,"desired_fibrinogen_mg_dl":200,"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":"nascimento_2011","formula_expression":"blood_volume_ml = 70 * weight_kg; plasma_volume_ml = blood_volume_ml * (1 - hematocrit_percent/100); mg_fibrinogen = (desired_fibrinogen_mg_dl - current_fibrinogen_mg_dl) * plasma_volume_ml / 100; bags = ceil(mg_fibrinogen / 250)","hematocrit_percent":40,"mg_fibrinogen":2940,"plasma_volume_ml":2940,"weight_kg":70}],"path":"/api/calc/cryoprecipitate"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"current_fibrinogen_mg_dl":{"description":"Current fibrinogen in mg/dL (0-400). Required.","type":"number"},"desired_fibrinogen_mg_dl":{"description":"Desired fibrinogen in mg/dL (50-400). Must be strictly greater than current_fibrinogen_mg_dl.","type":"number"},"hematocrit_percent":{"description":"Hematocrit as a percent (10-70). Required. Not a 0-1 fraction; magent does not accept hematocrit_fraction.","type":"number"},"weight_kg":{"description":"Weight in kilograms (1-200). Required.","type":"number"}},"required":["weight_kg","hematocrit_percent","current_fibrinogen_mg_dl","desired_fibrinogen_mg_dl"],"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},{"id":39385,"slug":"39385","resource":"https://api.magentlab.com/api/calc/rbc_abo","description":"AABB Standards 28th ed. Standard 5.14 RBC ABO/Rh compatibility from caller-assigned recipient and unit ABO (o, a, b, ab) and RhD (positive, negative). Group O RBCs to O/A/B/AB; A to A/AB; B to B/AB; AB to AB. RhD-negative units to either RhD; RhD-positive units only to RhD-positive recipients. Not a transfusion order. magent does not type blood. Does not encode emergency RhD-positive-to-negative exceptions, plasma, or platelets.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"recipient_abo":"o","recipient_rhd":"negative","unit_abo":"o","unit_rhd":"negative"},{"recipient_abo":"o","recipient_rhd":"negative","unit_abo":"o","unit_rhd":"negative"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abo_compatible":true,"citation":{"authors":"AABB","id":"aabb-rbc-abo-compatibility","source":"28th ed. Bethesda, MD: AABB; 2012. Standard 5.14","title":"Standards for Blood Banks and Transfusion Services"},"compatible":true,"criteria":[{"factor":"abo_compatible","met":true},{"factor":"rhd_compatible","met":true}],"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":"rbc_abo","formula_expression":"compatible iff abo_compatible and rhd_compatible. RBC ABO: unit o → recipient o|a|b|ab; unit a → a|ab; unit b → b|ab; unit ab → ab. RhD: unit negative → recipient negative|positive; unit positive → recipient positive only (AABB Standards 28th ed. Standard 5.14). Not an emergency RhD-positive-to-negative exception. Not plasma or platelets. magent does not type blood","recipient_abo":"o","recipient_rhd":"negative","rhd_compatible":true,"unit_abo":"o","unit_rhd":"negative"},{"abo_compatible":true,"citation":{"authors":"AABB","id":"aabb-rbc-abo-compatibility","source":"28th ed. Bethesda, MD: AABB; 2012. Standard 5.14","title":"Standards for Blood Banks and Transfusion Services"},"compatible":true,"criteria":[{"factor":"abo_compatible","met":true},{"factor":"rhd_compatible","met":true}],"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":"rbc_abo","formula_expression":"compatible iff abo_compatible and rhd_compatible. RBC ABO: unit o → recipient o|a|b|ab; unit a → a|ab; unit b → b|ab; unit ab → ab. RhD: unit negative → recipient negative|positive; unit positive → recipient positive only (AABB Standards 28th ed. Standard 5.14). Not an emergency RhD-positive-to-negative exception. Not plasma or platelets. magent does not type blood","recipient_abo":"o","recipient_rhd":"negative","rhd_compatible":true,"unit_abo":"o","unit_rhd":"negative"}],"path":"/api/calc/rbc_abo"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"recipient_abo":{"description":"Caller-assigned recipient ABO group: o, a, b, or ab (case-insensitive). Required. magent does not type blood.","enum":["o","a","b","ab"],"type":"string"},"recipient_rhd":{"description":"Caller-assigned recipient RhD: positive or negative (case-insensitive). Required. magent does not type blood.","enum":["positive","negative"],"type":"string"},"unit_abo":{"description":"Caller-assigned RBC unit ABO group: o, a, b, or ab (case-insensitive). Required. magent does not type blood.","enum":["o","a","b","ab"],"type":"string"},"unit_rhd":{"description":"Caller-assigned RBC unit RhD: positive or negative (case-insensitive). Required. magent does not type blood.","enum":["positive","negative"],"type":"string"}},"required":["recipient_abo","recipient_rhd","unit_abo","unit_rhd"],"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":["rbc","abo","rhd","aabb","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:01:09.295Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:01:09.161Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"recipient_abo":"o","recipient_rhd":"negative","unit_abo":"o","unit_rhd":"negative"},{"recipient_abo":"o","recipient_rhd":"negative","unit_abo":"o","unit_rhd":"negative"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abo_compatible":true,"citation":{"authors":"AABB","id":"aabb-rbc-abo-compatibility","source":"28th ed. Bethesda, MD: AABB; 2012. Standard 5.14","title":"Standards for Blood Banks and Transfusion Services"},"compatible":true,"criteria":[{"factor":"abo_compatible","met":true},{"factor":"rhd_compatible","met":true}],"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":"rbc_abo","formula_expression":"compatible iff abo_compatible and rhd_compatible. RBC ABO: unit o → recipient o|a|b|ab; unit a → a|ab; unit b → b|ab; unit ab → ab. RhD: unit negative → recipient negative|positive; unit positive → recipient positive only (AABB Standards 28th ed. Standard 5.14). Not an emergency RhD-positive-to-negative exception. Not plasma or platelets. magent does not type blood","recipient_abo":"o","recipient_rhd":"negative","rhd_compatible":true,"unit_abo":"o","unit_rhd":"negative"},{"abo_compatible":true,"citation":{"authors":"AABB","id":"aabb-rbc-abo-compatibility","source":"28th ed. Bethesda, MD: AABB; 2012. Standard 5.14","title":"Standards for Blood Banks and Transfusion Services"},"compatible":true,"criteria":[{"factor":"abo_compatible","met":true},{"factor":"rhd_compatible","met":true}],"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":"rbc_abo","formula_expression":"compatible iff abo_compatible and rhd_compatible. RBC ABO: unit o → recipient o|a|b|ab; unit a → a|ab; unit b → b|ab; unit ab → ab. RhD: unit negative → recipient negative|positive; unit positive → recipient positive only (AABB Standards 28th ed. Standard 5.14). Not an emergency RhD-positive-to-negative exception. Not plasma or platelets. magent does not type blood","recipient_abo":"o","recipient_rhd":"negative","rhd_compatible":true,"unit_abo":"o","unit_rhd":"negative"}],"path":"/api/calc/rbc_abo"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"recipient_abo":{"description":"Caller-assigned recipient ABO group: o, a, b, or ab (case-insensitive). Required. magent does not type blood.","enum":["o","a","b","ab"],"type":"string"},"recipient_rhd":{"description":"Caller-assigned recipient RhD: positive or negative (case-insensitive). Required. magent does not type blood.","enum":["positive","negative"],"type":"string"},"unit_abo":{"description":"Caller-assigned RBC unit ABO group: o, a, b, or ab (case-insensitive). Required. magent does not type blood.","enum":["o","a","b","ab"],"type":"string"},"unit_rhd":{"description":"Caller-assigned RBC unit RhD: positive or negative (case-insensitive). Required. magent does not type blood.","enum":["positive","negative"],"type":"string"}},"required":["recipient_abo","recipient_rhd","unit_abo","unit_rhd"],"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},{"id":39386,"slug":"39386","resource":"https://api.magentlab.com/api/calc/plasma_dosage","description":"Starting plasma volume without major bleeding: volume_ml = 15 * weight_kg (BSH Green 2018). Adult 15 mL/kg only. Not a transfusion order, major-haemorrhage protocol, or product order. magent does not choose a product or ABO group. Deterministic published arithmetic with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"weight_kg":70},{"weight_kg":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Green L, Bolton-Maggs P, Beattie C, Cardigan R, Kallis Y, Stanworth SJ, Thachil J, Zahra S; British Society for Haematology","doi":"10.1111/bjh.15167","id":"green-2018","pmid":"29524364","source":"Br J Haematol. 2018;181(1):54-67","title":"Guidelines on the spectrum of fresh frozen plasma and cryoprecipitate products: their handling and use in various patient groups in the absence of major bleeding"},"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":"plasma_dosage","formula_expression":"volume_ml = 15 * weight_kg","ml_per_kg":15,"volume_ml":1050,"weight_kg":70},{"citation":{"authors":"Green L, Bolton-Maggs P, Beattie C, Cardigan R, Kallis Y, Stanworth SJ, Thachil J, Zahra S; British Society for Haematology","doi":"10.1111/bjh.15167","id":"green-2018","pmid":"29524364","source":"Br J Haematol. 2018;181(1):54-67","title":"Guidelines on the spectrum of fresh frozen plasma and cryoprecipitate products: their handling and use in various patient groups in the absence of major bleeding"},"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":"plasma_dosage","formula_expression":"volume_ml = 15 * weight_kg","ml_per_kg":15,"volume_ml":1050,"weight_kg":70}],"path":"/api/calc/plasma_dosage"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"weight_kg":{"description":"Weight in kilograms (1-500). Required.","type":"number"}},"required":["weight_kg"],"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":["plasma","transfusion","hematology","bsh","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:01:02.632Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:01:02.51Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"weight_kg":70},{"weight_kg":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Green L, Bolton-Maggs P, Beattie C, Cardigan R, Kallis Y, Stanworth SJ, Thachil J, Zahra S; British Society for Haematology","doi":"10.1111/bjh.15167","id":"green-2018","pmid":"29524364","source":"Br J Haematol. 2018;181(1):54-67","title":"Guidelines on the spectrum of fresh frozen plasma and cryoprecipitate products: their handling and use in various patient groups in the absence of major bleeding"},"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":"plasma_dosage","formula_expression":"volume_ml = 15 * weight_kg","ml_per_kg":15,"volume_ml":1050,"weight_kg":70},{"citation":{"authors":"Green L, Bolton-Maggs P, Beattie C, Cardigan R, Kallis Y, Stanworth SJ, Thachil J, Zahra S; British Society for Haematology","doi":"10.1111/bjh.15167","id":"green-2018","pmid":"29524364","source":"Br J Haematol. 2018;181(1):54-67","title":"Guidelines on the spectrum of fresh frozen plasma and cryoprecipitate products: their handling and use in various patient groups in the absence of major bleeding"},"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":"plasma_dosage","formula_expression":"volume_ml = 15 * weight_kg","ml_per_kg":15,"volume_ml":1050,"weight_kg":70}],"path":"/api/calc/plasma_dosage"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"weight_kg":{"description":"Weight in kilograms (1-500). Required.","type":"number"}},"required":["weight_kg"],"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},{"id":39387,"slug":"39387","resource":"https://api.magentlab.com/api/calc/allowable_blood_loss","description":"Gross 1983 dilution-corrected allowable blood loss from caller-supplied estimated blood volume and initial versus target hematocrit. Deterministic published arithmetic with citation. Not a transfusion trigger or order. Does not compute Nadler EBV; does not use the uncorrected EBV*(Hi-Hf)/Hi form.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"estimated_blood_volume_ml":5000,"hct_initial_percent":40,"hct_target_percent":30},{"estimated_blood_volume_ml":5000,"hct_initial_percent":40,"hct_target_percent":30}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abl_ml":1428.6,"citation":{"authors":"Gross JB","doi":"10.1097/00000542-198303000-00016","id":"gross-1983","source":"Anesthesiology. 1983;58(3):277-280","title":"Estimating allowable blood loss: corrected for dilution"},"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.","estimated_blood_volume_ml":5000,"formula":"gross_1983","formula_expression":"abl_ml = estimated_blood_volume_ml * (hct_initial_percent - hct_target_percent) / ((hct_initial_percent + hct_target_percent) / 2)","hct_initial_percent":40,"hct_target_percent":30},{"abl_ml":1428.6,"citation":{"authors":"Gross JB","doi":"10.1097/00000542-198303000-00016","id":"gross-1983","source":"Anesthesiology. 1983;58(3):277-280","title":"Estimating allowable blood loss: corrected for dilution"},"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.","estimated_blood_volume_ml":5000,"formula":"gross_1983","formula_expression":"abl_ml = estimated_blood_volume_ml * (hct_initial_percent - hct_target_percent) / ((hct_initial_percent + hct_target_percent) / 2)","hct_initial_percent":40,"hct_target_percent":30}],"path":"/api/calc/allowable_blood_loss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"estimated_blood_volume_ml":{"description":"Caller-supplied estimated blood volume in mL (50-15000). Required. magent does not compute Nadler EBV.","type":"number"},"hct_initial_percent":{"description":"Initial hematocrit as a percent (10-70).","type":"number"},"hct_target_percent":{"description":"Target hematocrit as a percent (10-70). Must be strictly less than hct_initial_percent.","type":"number"}},"required":["estimated_blood_volume_ml","hct_initial_percent","hct_target_percent"],"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":["abl","hematocrit","gross","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:00:56.022Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:00:55.871Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"estimated_blood_volume_ml":5000,"hct_initial_percent":40,"hct_target_percent":30},{"estimated_blood_volume_ml":5000,"hct_initial_percent":40,"hct_target_percent":30}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abl_ml":1428.6,"citation":{"authors":"Gross JB","doi":"10.1097/00000542-198303000-00016","id":"gross-1983","source":"Anesthesiology. 1983;58(3):277-280","title":"Estimating allowable blood loss: corrected for dilution"},"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.","estimated_blood_volume_ml":5000,"formula":"gross_1983","formula_expression":"abl_ml = estimated_blood_volume_ml * (hct_initial_percent - hct_target_percent) / ((hct_initial_percent + hct_target_percent) / 2)","hct_initial_percent":40,"hct_target_percent":30},{"abl_ml":1428.6,"citation":{"authors":"Gross JB","doi":"10.1097/00000542-198303000-00016","id":"gross-1983","source":"Anesthesiology. 1983;58(3):277-280","title":"Estimating allowable blood loss: corrected for dilution"},"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.","estimated_blood_volume_ml":5000,"formula":"gross_1983","formula_expression":"abl_ml = estimated_blood_volume_ml * (hct_initial_percent - hct_target_percent) / ((hct_initial_percent + hct_target_percent) / 2)","hct_initial_percent":40,"hct_target_percent":30}],"path":"/api/calc/allowable_blood_loss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"estimated_blood_volume_ml":{"description":"Caller-supplied estimated blood volume in mL (50-15000). Required. magent does not compute Nadler EBV.","type":"number"},"hct_initial_percent":{"description":"Initial hematocrit as a percent (10-70).","type":"number"},"hct_target_percent":{"description":"Target hematocrit as a percent (10-70). Must be strictly less than hct_initial_percent.","type":"number"}},"required":["estimated_blood_volume_ml","hct_initial_percent","hct_target_percent"],"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},{"id":39388,"slug":"39388","resource":"https://api.magentlab.com/api/calc/ganzoni","description":"Ganzoni 1970 iron deficit: weight_kg * (target_hemoglobin_g_dl - hemoglobin_g_dl) * 2.4 + iron_stores_mg. Deterministic published arithmetic with citation. Not an IV iron product dose or order; magent does not pick target Hb or depot iron, and this is not a diagnosis of iron deficiency.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hemoglobin_g_dl":8,"iron_stores_mg":500,"target_hemoglobin_g_dl":15,"weight_kg":70,"weight_lb":154.32},{"hemoglobin_g_dl":8,"iron_stores_mg":500,"target_hemoglobin_g_dl":15,"weight_kg":70,"weight_lb":154.32}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ganzoni AM","id":"ganzoni-1970","pmid":"5417430","source":"Schweiz Med Wochenschr. 1970;100(7):301-303","title":"Intravenous iron-dextran: therapeutic and experimental possibilities"},"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":"ganzoni","formula_expression":"iron_deficit_mg = weight_kg * (target_hemoglobin_g_dl - hemoglobin_g_dl) * 2.4 + iron_stores_mg","hemoglobin_g_dl":8,"iron_deficit_mg":1676,"iron_stores_mg":500,"target_hemoglobin_g_dl":15,"weight_kg":70},{"citation":{"authors":"Ganzoni AM","id":"ganzoni-1970","pmid":"5417430","source":"Schweiz Med Wochenschr. 1970;100(7):301-303","title":"Intravenous iron-dextran: therapeutic and experimental possibilities"},"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":"ganzoni","formula_expression":"iron_deficit_mg = weight_kg * (target_hemoglobin_g_dl - hemoglobin_g_dl) * 2.4 + iron_stores_mg","hemoglobin_g_dl":8,"iron_deficit_mg":1676,"iron_stores_mg":500,"target_hemoglobin_g_dl":15,"weight_kg":70}],"path":"/api/calc/ganzoni"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hemoglobin_g_dl":{"description":"Measured hemoglobin in g/dL (3-22). This tool does not accept g/L.","type":"number"},"iron_stores_mg":{"description":"Depot iron stores in mg (0-2000). Required; magent does not default a depot.","type":"number"},"target_hemoglobin_g_dl":{"description":"Target hemoglobin in g/dL (7-18). Must be strictly greater than hemoglobin_g_dl. magent does not pick a target.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["hemoglobin_g_dl","target_hemoglobin_g_dl","iron_stores_mg"],"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":["ganzoni","iron-deficit","hematology","hemoglobin","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:00:49.423Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:00:49.308Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hemoglobin_g_dl":8,"iron_stores_mg":500,"target_hemoglobin_g_dl":15,"weight_kg":70,"weight_lb":154.32},{"hemoglobin_g_dl":8,"iron_stores_mg":500,"target_hemoglobin_g_dl":15,"weight_kg":70,"weight_lb":154.32}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ganzoni AM","id":"ganzoni-1970","pmid":"5417430","source":"Schweiz Med Wochenschr. 1970;100(7):301-303","title":"Intravenous iron-dextran: therapeutic and experimental possibilities"},"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":"ganzoni","formula_expression":"iron_deficit_mg = weight_kg * (target_hemoglobin_g_dl - hemoglobin_g_dl) * 2.4 + iron_stores_mg","hemoglobin_g_dl":8,"iron_deficit_mg":1676,"iron_stores_mg":500,"target_hemoglobin_g_dl":15,"weight_kg":70},{"citation":{"authors":"Ganzoni AM","id":"ganzoni-1970","pmid":"5417430","source":"Schweiz Med Wochenschr. 1970;100(7):301-303","title":"Intravenous iron-dextran: therapeutic and experimental possibilities"},"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":"ganzoni","formula_expression":"iron_deficit_mg = weight_kg * (target_hemoglobin_g_dl - hemoglobin_g_dl) * 2.4 + iron_stores_mg","hemoglobin_g_dl":8,"iron_deficit_mg":1676,"iron_stores_mg":500,"target_hemoglobin_g_dl":15,"weight_kg":70}],"path":"/api/calc/ganzoni"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hemoglobin_g_dl":{"description":"Measured hemoglobin in g/dL (3-22). This tool does not accept g/L.","type":"number"},"iron_stores_mg":{"description":"Depot iron stores in mg (0-2000). Required; magent does not default a depot.","type":"number"},"target_hemoglobin_g_dl":{"description":"Target hemoglobin in g/dL (7-18). Must be strictly greater than hemoglobin_g_dl. magent does not pick a target.","type":"number"},"weight_kg":{"description":"Weight in kilograms. Provide weight_kg or weight_lb.","type":"number"},"weight_lb":{"description":"Weight in pounds. Converted as kg = lb * 0.45359237.","type":"number"}},"required":["hemoglobin_g_dl","target_hemoglobin_g_dl","iron_stores_mg"],"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},{"id":39389,"slug":"39389","resource":"https://api.magentlab.com/api/calc/reid_rci","description":"Reid 1985 four-sign colposcopic index: four caller-assigned 0-2 items (margin, color, vessels, iodine; max 8). band 0-2 low_grade (HPV or CIN I), 3-5 intermediate (CIN I or CIN II), or 6-8 high_grade (CIN II or CIN III). magent does not look through a colposcope and does not recompute iodine from the first three signs. Not a CIN diagnosis or biopsy order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"color":0,"iodine":0,"margin":0,"vessels":0},{"color":0,"iodine":0,"margin":0,"vessels":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"low_grade","citation":{"authors":"Reid R, Scalzi P","doi":"10.1016/S0002-9378(85)80244-1","id":"reid-1985","pmid":"2998190","source":"Am J Obstet Gynecol. 1985;153(6):611-618","title":"Genital warts and cervical cancer. VII. An improved colposcopic index for differentiating benign papillomaviral infections from high-grade cervical intraepithelial neoplasia"},"color":0,"components":[{"factor":"margin","points":0,"present":true,"value":0},{"factor":"color","points":0,"present":true,"value":0},{"factor":"vessels","points":0,"present":true,"value":0},{"factor":"iodine","points":0,"present":true,"value":0}],"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":"reid_rci","formula_expression":"Reid RCI = margin + color + vessels + iodine; each caller-assigned 0-2 (Reid 1985 four-sign index); max 8; bands 0-2 low_grade (HPV or CIN I), 3-5 intermediate (CIN I or CIN II), 6-8 high_grade (CIN II or CIN III)","iodine":0,"margin":0,"max_score":8,"score":0,"vessels":0},{"band":"low_grade","citation":{"authors":"Reid R, Scalzi P","doi":"10.1016/S0002-9378(85)80244-1","id":"reid-1985","pmid":"2998190","source":"Am J Obstet Gynecol. 1985;153(6):611-618","title":"Genital warts and cervical cancer. VII. An improved colposcopic index for differentiating benign papillomaviral infections from high-grade cervical intraepithelial neoplasia"},"color":0,"components":[{"factor":"margin","points":0,"present":true,"value":0},{"factor":"color","points":0,"present":true,"value":0},{"factor":"vessels","points":0,"present":true,"value":0},{"factor":"iodine","points":0,"present":true,"value":0}],"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":"reid_rci","formula_expression":"Reid RCI = margin + color + vessels + iodine; each caller-assigned 0-2 (Reid 1985 four-sign index); max 8; bands 0-2 low_grade (HPV or CIN I), 3-5 intermediate (CIN I or CIN II), 6-8 high_grade (CIN II or CIN III)","iodine":0,"margin":0,"max_score":8,"score":0,"vessels":0}],"path":"/api/calc/reid_rci"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"color":{"description":"Caller-assigned Reid 1985 color (integer 0-2): 0 shiny snow-white, indistinct, transparent or translucent; 1 intermediate shiny gray; 2 dull oyster-white. magent does not look through a colposcope.","enum":[0,1,2],"type":"integer"},"iodine":{"description":"Caller-assigned Reid 1985 iodine (integer 0-2): 0 mahogany-brown uptake or insignificant uptake with insignificant acetowhitening; 1 partial, variegated, or speckled; 2 mustard-yellow negative uptake in significant acetowhite. magent does not look through a colposcope and does not recompute iodine from the first three signs.","enum":[0,1,2],"type":"integer"},"margin":{"description":"Caller-assigned Reid 1985 margin (integer 0-2): 0 condylomatous or micropapillary contour, indistinct acetowhitening, feathered or jagged margins, satellites; 1 regular smooth straight outlines; 2 rolled peeling edges or internal demarcations. magent does not look through a colposcope.","enum":[0,1,2],"type":"integer"},"vessels":{"description":"Caller-assigned Reid 1985 vessels (integer 0-2): 0 fine-caliber poorly formed or condylomatous; 1 absent; 2 definite punctation or mosaic. magent does not look through a colposcope.","enum":[0,1,2],"type":"integer"}},"required":["margin","color","vessels","iodine"],"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":["reid-rci","colposcopy","cervix","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:00:42.133Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:00:41.987Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"color":0,"iodine":0,"margin":0,"vessels":0},{"color":0,"iodine":0,"margin":0,"vessels":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"low_grade","citation":{"authors":"Reid R, Scalzi P","doi":"10.1016/S0002-9378(85)80244-1","id":"reid-1985","pmid":"2998190","source":"Am J Obstet Gynecol. 1985;153(6):611-618","title":"Genital warts and cervical cancer. VII. An improved colposcopic index for differentiating benign papillomaviral infections from high-grade cervical intraepithelial neoplasia"},"color":0,"components":[{"factor":"margin","points":0,"present":true,"value":0},{"factor":"color","points":0,"present":true,"value":0},{"factor":"vessels","points":0,"present":true,"value":0},{"factor":"iodine","points":0,"present":true,"value":0}],"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":"reid_rci","formula_expression":"Reid RCI = margin + color + vessels + iodine; each caller-assigned 0-2 (Reid 1985 four-sign index); max 8; bands 0-2 low_grade (HPV or CIN I), 3-5 intermediate (CIN I or CIN II), 6-8 high_grade (CIN II or CIN III)","iodine":0,"margin":0,"max_score":8,"score":0,"vessels":0},{"band":"low_grade","citation":{"authors":"Reid R, Scalzi P","doi":"10.1016/S0002-9378(85)80244-1","id":"reid-1985","pmid":"2998190","source":"Am J Obstet Gynecol. 1985;153(6):611-618","title":"Genital warts and cervical cancer. VII. An improved colposcopic index for differentiating benign papillomaviral infections from high-grade cervical intraepithelial neoplasia"},"color":0,"components":[{"factor":"margin","points":0,"present":true,"value":0},{"factor":"color","points":0,"present":true,"value":0},{"factor":"vessels","points":0,"present":true,"value":0},{"factor":"iodine","points":0,"present":true,"value":0}],"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":"reid_rci","formula_expression":"Reid RCI = margin + color + vessels + iodine; each caller-assigned 0-2 (Reid 1985 four-sign index); max 8; bands 0-2 low_grade (HPV or CIN I), 3-5 intermediate (CIN I or CIN II), 6-8 high_grade (CIN II or CIN III)","iodine":0,"margin":0,"max_score":8,"score":0,"vessels":0}],"path":"/api/calc/reid_rci"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"color":{"description":"Caller-assigned Reid 1985 color (integer 0-2): 0 shiny snow-white, indistinct, transparent or translucent; 1 intermediate shiny gray; 2 dull oyster-white. magent does not look through a colposcope.","enum":[0,1,2],"type":"integer"},"iodine":{"description":"Caller-assigned Reid 1985 iodine (integer 0-2): 0 mahogany-brown uptake or insignificant uptake with insignificant acetowhitening; 1 partial, variegated, or speckled; 2 mustard-yellow negative uptake in significant acetowhite. magent does not look through a colposcope and does not recompute iodine from the first three signs.","enum":[0,1,2],"type":"integer"},"margin":{"description":"Caller-assigned Reid 1985 margin (integer 0-2): 0 condylomatous or micropapillary contour, indistinct acetowhitening, feathered or jagged margins, satellites; 1 regular smooth straight outlines; 2 rolled peeling edges or internal demarcations. magent does not look through a colposcope.","enum":[0,1,2],"type":"integer"},"vessels":{"description":"Caller-assigned Reid 1985 vessels (integer 0-2): 0 fine-caliber poorly formed or condylomatous; 1 absent; 2 definite punctation or mosaic. magent does not look through a colposcope.","enum":[0,1,2],"type":"integer"}},"required":["margin","color","vessels","iodine"],"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},{"id":39390,"slug":"39390","resource":"https://api.magentlab.com/api/calc/iota","description":"Timmerman 2008 simple ultrasound rules. Caller assigns five M-rules (irregular solid tumor; ascites; ≥4 papillary structures; irregular multilocular-solid ≥100 mm; very high color Doppler) and five B-rules (unilocular cyst; solid component <7 mm; acoustic shadows; smooth multilocular <100 mm; no Doppler flow). Malignant if any M and no B; benign if any B and no M; otherwise inconclusive. magent does not read ultrasound. Not an ovarian-cancer diagnosis. Not RMI. Not Swede. Not SRRisk.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acoustic_shadows":false,"ascites":true,"at_least_four_papillary_structures":false,"irregular_multilocular_solid_ge_100mm":false,"irregular_solid_tumor":false,"no_detectable_blood_flow":false,"smooth_multilocular_lt_100mm":false,"solid_component_lt_7mm":false,"unilocular_cyst":false,"very_high_color_doppler":false},{"acoustic_shadows":false,"ascites":true,"at_least_four_papillary_structures":false,"irregular_multilocular_solid_ge_100mm":false,"irregular_solid_tumor":false,"no_detectable_blood_flow":false,"smooth_multilocular_lt_100mm":false,"solid_component_lt_7mm":false,"unilocular_cyst":false,"very_high_color_doppler":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"b_count":0,"citation":{"authors":"Timmerman D, Testa AC, Bourne T, Ameye L, Jurkovic D, Van Holsbeke C, Paladini D, Van Calster B, Vergote I, Van Huffel S, Valentin L","doi":"10.1002/uog.5365","id":"timmerman-2008","pmid":"18504770","source":"Ultrasound Obstet Gynecol. 2008;31(6):681-690","title":"Simple ultrasound-based rules for the diagnosis of ovarian cancer."},"classification":"malignant","criteria":[{"factor":"irregular_solid_tumor","met":false},{"factor":"ascites","met":true},{"factor":"at_least_four_papillary_structures","met":false},{"factor":"irregular_multilocular_solid_ge_100mm","met":false},{"factor":"very_high_color_doppler","met":false},{"factor":"unilocular_cyst","met":false},{"factor":"solid_component_lt_7mm","met":false},{"factor":"acoustic_shadows","met":false},{"factor":"smooth_multilocular_lt_100mm","met":false},{"factor":"no_detectable_blood_flow","met":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":"iota","formula_expression":"classification malignant iff m_count >= 1 and b_count == 0; benign iff b_count >= 1 and m_count == 0; otherwise inconclusive; m_count counts irregular_solid_tumor, ascites, at_least_four_papillary_structures, irregular_multilocular_solid_ge_100mm, very_high_color_doppler; b_count counts unilocular_cyst, solid_component_lt_7mm, acoustic_shadows, smooth_multilocular_lt_100mm, no_detectable_blood_flow (Timmerman 2008 Simple Rules; not SRRisk)","m_count":1},{"b_count":0,"citation":{"authors":"Timmerman D, Testa AC, Bourne T, Ameye L, Jurkovic D, Van Holsbeke C, Paladini D, Van Calster B, Vergote I, Van Huffel S, Valentin L","doi":"10.1002/uog.5365","id":"timmerman-2008","pmid":"18504770","source":"Ultrasound Obstet Gynecol. 2008;31(6):681-690","title":"Simple ultrasound-based rules for the diagnosis of ovarian cancer."},"classification":"malignant","criteria":[{"factor":"irregular_solid_tumor","met":false},{"factor":"ascites","met":true},{"factor":"at_least_four_papillary_structures","met":false},{"factor":"irregular_multilocular_solid_ge_100mm","met":false},{"factor":"very_high_color_doppler","met":false},{"factor":"unilocular_cyst","met":false},{"factor":"solid_component_lt_7mm","met":false},{"factor":"acoustic_shadows","met":false},{"factor":"smooth_multilocular_lt_100mm","met":false},{"factor":"no_detectable_blood_flow","met":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":"iota","formula_expression":"classification malignant iff m_count >= 1 and b_count == 0; benign iff b_count >= 1 and m_count == 0; otherwise inconclusive; m_count counts irregular_solid_tumor, ascites, at_least_four_papillary_structures, irregular_multilocular_solid_ge_100mm, very_high_color_doppler; b_count counts unilocular_cyst, solid_component_lt_7mm, acoustic_shadows, smooth_multilocular_lt_100mm, no_detectable_blood_flow (Timmerman 2008 Simple Rules; not SRRisk)","m_count":1}],"path":"/api/calc/iota"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acoustic_shadows":{"description":"Acoustic shadows (B-rule). true or false as assigned by the caller. magent does not read ultrasound.","type":"boolean"},"ascites":{"description":"Ascites (M-rule). true or false as assigned by the caller. magent does not read ultrasound.","type":"boolean"},"at_least_four_papillary_structures":{"description":"At least four papillary structures (M-rule). true or false as assigned by the caller. magent does not read ultrasound.","type":"boolean"},"irregular_multilocular_solid_ge_100mm":{"description":"Irregular multilocular-solid tumor with largest diameter ≥100 mm (M-rule). true or false as assigned by the caller. magent does not measure the mass.","type":"boolean"},"irregular_solid_tumor":{"description":"Irregular solid tumor (M-rule). true or false as assigned by the caller (Timmerman 2008). magent does not read ultrasound.","type":"boolean"},"no_detectable_blood_flow":{"description":"No detectable blood flow on Doppler (B-rule). true or false as assigned by the caller. magent does not perform Doppler.","type":"boolean"},"smooth_multilocular_lt_100mm":{"description":"Smooth multilocular tumor <100 mm largest diameter (B-rule). true or false as assigned by the caller. magent does not measure the mass.","type":"boolean"},"solid_component_lt_7mm":{"description":"Solid components with largest solid component <7 mm (B-rule). true or false as assigned by the caller. magent does not measure the mass.","type":"boolean"},"unilocular_cyst":{"description":"Unilocular cyst (B-rule). true or false as assigned by the caller. magent does not read ultrasound.","type":"boolean"},"very_high_color_doppler":{"description":"Very high color content on color Doppler (M-rule). true or false as assigned by the caller. magent does not perform Doppler.","type":"boolean"}},"required":["irregular_solid_tumor","ascites","at_least_four_papillary_structures","irregular_multilocular_solid_ge_100mm","very_high_color_doppler","unilocular_cyst","solid_component_lt_7mm","acoustic_shadows","smooth_multilocular_lt_100mm","no_detectable_blood_flow"],"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":["iota","ovarian","ultrasound","hematology","simple-rules","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:00:35.733Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:00:35.542Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acoustic_shadows":false,"ascites":true,"at_least_four_papillary_structures":false,"irregular_multilocular_solid_ge_100mm":false,"irregular_solid_tumor":false,"no_detectable_blood_flow":false,"smooth_multilocular_lt_100mm":false,"solid_component_lt_7mm":false,"unilocular_cyst":false,"very_high_color_doppler":false},{"acoustic_shadows":false,"ascites":true,"at_least_four_papillary_structures":false,"irregular_multilocular_solid_ge_100mm":false,"irregular_solid_tumor":false,"no_detectable_blood_flow":false,"smooth_multilocular_lt_100mm":false,"solid_component_lt_7mm":false,"unilocular_cyst":false,"very_high_color_doppler":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"b_count":0,"citation":{"authors":"Timmerman D, Testa AC, Bourne T, Ameye L, Jurkovic D, Van Holsbeke C, Paladini D, Van Calster B, Vergote I, Van Huffel S, Valentin L","doi":"10.1002/uog.5365","id":"timmerman-2008","pmid":"18504770","source":"Ultrasound Obstet Gynecol. 2008;31(6):681-690","title":"Simple ultrasound-based rules for the diagnosis of ovarian cancer."},"classification":"malignant","criteria":[{"factor":"irregular_solid_tumor","met":false},{"factor":"ascites","met":true},{"factor":"at_least_four_papillary_structures","met":false},{"factor":"irregular_multilocular_solid_ge_100mm","met":false},{"factor":"very_high_color_doppler","met":false},{"factor":"unilocular_cyst","met":false},{"factor":"solid_component_lt_7mm","met":false},{"factor":"acoustic_shadows","met":false},{"factor":"smooth_multilocular_lt_100mm","met":false},{"factor":"no_detectable_blood_flow","met":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":"iota","formula_expression":"classification malignant iff m_count >= 1 and b_count == 0; benign iff b_count >= 1 and m_count == 0; otherwise inconclusive; m_count counts irregular_solid_tumor, ascites, at_least_four_papillary_structures, irregular_multilocular_solid_ge_100mm, very_high_color_doppler; b_count counts unilocular_cyst, solid_component_lt_7mm, acoustic_shadows, smooth_multilocular_lt_100mm, no_detectable_blood_flow (Timmerman 2008 Simple Rules; not SRRisk)","m_count":1},{"b_count":0,"citation":{"authors":"Timmerman D, Testa AC, Bourne T, Ameye L, Jurkovic D, Van Holsbeke C, Paladini D, Van Calster B, Vergote I, Van Huffel S, Valentin L","doi":"10.1002/uog.5365","id":"timmerman-2008","pmid":"18504770","source":"Ultrasound Obstet Gynecol. 2008;31(6):681-690","title":"Simple ultrasound-based rules for the diagnosis of ovarian cancer."},"classification":"malignant","criteria":[{"factor":"irregular_solid_tumor","met":false},{"factor":"ascites","met":true},{"factor":"at_least_four_papillary_structures","met":false},{"factor":"irregular_multilocular_solid_ge_100mm","met":false},{"factor":"very_high_color_doppler","met":false},{"factor":"unilocular_cyst","met":false},{"factor":"solid_component_lt_7mm","met":false},{"factor":"acoustic_shadows","met":false},{"factor":"smooth_multilocular_lt_100mm","met":false},{"factor":"no_detectable_blood_flow","met":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":"iota","formula_expression":"classification malignant iff m_count >= 1 and b_count == 0; benign iff b_count >= 1 and m_count == 0; otherwise inconclusive; m_count counts irregular_solid_tumor, ascites, at_least_four_papillary_structures, irregular_multilocular_solid_ge_100mm, very_high_color_doppler; b_count counts unilocular_cyst, solid_component_lt_7mm, acoustic_shadows, smooth_multilocular_lt_100mm, no_detectable_blood_flow (Timmerman 2008 Simple Rules; not SRRisk)","m_count":1}],"path":"/api/calc/iota"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acoustic_shadows":{"description":"Acoustic shadows (B-rule). true or false as assigned by the caller. magent does not read ultrasound.","type":"boolean"},"ascites":{"description":"Ascites (M-rule). true or false as assigned by the caller. magent does not read ultrasound.","type":"boolean"},"at_least_four_papillary_structures":{"description":"At least four papillary structures (M-rule). true or false as assigned by the caller. magent does not read ultrasound.","type":"boolean"},"irregular_multilocular_solid_ge_100mm":{"description":"Irregular multilocular-solid tumor with largest diameter ≥100 mm (M-rule). true or false as assigned by the caller. magent does not measure the mass.","type":"boolean"},"irregular_solid_tumor":{"description":"Irregular solid tumor (M-rule). true or false as assigned by the caller (Timmerman 2008). magent does not read ultrasound.","type":"boolean"},"no_detectable_blood_flow":{"description":"No detectable blood flow on Doppler (B-rule). true or false as assigned by the caller. magent does not perform Doppler.","type":"boolean"},"smooth_multilocular_lt_100mm":{"description":"Smooth multilocular tumor <100 mm largest diameter (B-rule). true or false as assigned by the caller. magent does not measure the mass.","type":"boolean"},"solid_component_lt_7mm":{"description":"Solid components with largest solid component <7 mm (B-rule). true or false as assigned by the caller. magent does not measure the mass.","type":"boolean"},"unilocular_cyst":{"description":"Unilocular cyst (B-rule). true or false as assigned by the caller. magent does not read ultrasound.","type":"boolean"},"very_high_color_doppler":{"description":"Very high color content on color Doppler (M-rule). true or false as assigned by the caller. magent does not perform Doppler.","type":"boolean"}},"required":["irregular_solid_tumor","ascites","at_least_four_papillary_structures","irregular_multilocular_solid_ge_100mm","very_high_color_doppler","unilocular_cyst","solid_component_lt_7mm","acoustic_shadows","smooth_multilocular_lt_100mm","no_detectable_blood_flow"],"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},{"id":39391,"slug":"39391","resource":"https://api.magentlab.com/api/calc/figo_ovarian","description":"Prat 2014 FIGO staging for cancer of the ovary, fallopian tube, and peritoneum as assigned by the caller (IA, IB, IC1-IC3, IIA, IIB, IIIA1i, IIIA1ii, IIIA2, IIIB, IIIC, IVA, IVB). Returns the canonical stage and Prat 2014 defining features. magent does not read imaging or pathology and does not apply AJCC TNM. Not endometrial or cervical FIGO. Not a diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"stage":"IA"},{"stage":"IA"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Prat J; FIGO Committee on Gynecologic Oncology","doi":"10.1016/j.ijgo.2013.10.001","id":"prat-2014","pmid":"24219974","source":"Int J Gynaecol Obstet. 2014;124(1):1-5","title":"Staging classification for cancer of the ovary, fallopian tube, and peritoneum"},"components":[{"factor":"ia","met":true},{"factor":"ib","met":false},{"factor":"ic1","met":false},{"factor":"ic2","met":false},{"factor":"ic3","met":false},{"factor":"iia","met":false},{"factor":"iib","met":false},{"factor":"iiia1i","met":false},{"factor":"iiia1ii","met":false},{"factor":"iiia2","met":false},{"factor":"iiib","met":false},{"factor":"iiic","met":false},{"factor":"iva","met":false},{"factor":"ivb","met":false}],"description":"Tumor limited to one ovary (capsule intact) or fallopian tube; no tumor on surface; no malignant cells in ascites or peritoneal washings","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":"figo_ovarian","formula_expression":"stage in {IA, IB, IC1, IC2, IC3, IIA, IIB, IIIA1i, IIIA1ii, IIIA2, IIIB, IIIC, IVA, IVB} as assigned by the caller (Prat 2014 FIGO for ovary, fallopian tube, and peritoneum). 2014 eliminated IIC. magent does not read imaging or pathology. Not AJCC TNM. Not endometrial or cervical FIGO.","stage":"IA"},{"citation":{"authors":"Prat J; FIGO Committee on Gynecologic Oncology","doi":"10.1016/j.ijgo.2013.10.001","id":"prat-2014","pmid":"24219974","source":"Int J Gynaecol Obstet. 2014;124(1):1-5","title":"Staging classification for cancer of the ovary, fallopian tube, and peritoneum"},"components":[{"factor":"ia","met":true},{"factor":"ib","met":false},{"factor":"ic1","met":false},{"factor":"ic2","met":false},{"factor":"ic3","met":false},{"factor":"iia","met":false},{"factor":"iib","met":false},{"factor":"iiia1i","met":false},{"factor":"iiia1ii","met":false},{"factor":"iiia2","met":false},{"factor":"iiib","met":false},{"factor":"iiic","met":false},{"factor":"iva","met":false},{"factor":"ivb","met":false}],"description":"Tumor limited to one ovary (capsule intact) or fallopian tube; no tumor on surface; no malignant cells in ascites or peritoneal washings","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":"figo_ovarian","formula_expression":"stage in {IA, IB, IC1, IC2, IC3, IIA, IIB, IIIA1i, IIIA1ii, IIIA2, IIIB, IIIC, IVA, IVB} as assigned by the caller (Prat 2014 FIGO for ovary, fallopian tube, and peritoneum). 2014 eliminated IIC. magent does not read imaging or pathology. Not AJCC TNM. Not endometrial or cervical FIGO.","stage":"IA"}],"path":"/api/calc/figo_ovarian"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"stage":{"description":"Prat 2014 FIGO token as assigned by the caller: IA, IB, IC1, IC2, IC3, IIA, IIB, IIIA1i, IIIA1ii, IIIA2, IIIB, IIIC, IVA, or IVB. Case-insensitive accept; returned canonical form keeps lowercase i/ii on IIIA1i and IIIA1ii. IIC is not valid (eliminated in 2014). Not endometrial or cervical FIGO. magent does not read imaging or pathology.","type":"string"}},"required":["stage"],"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":["figo","ovarian","staging","fallopian","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:00:21.812Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:00:21.691Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"stage":"IA"},{"stage":"IA"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Prat J; FIGO Committee on Gynecologic Oncology","doi":"10.1016/j.ijgo.2013.10.001","id":"prat-2014","pmid":"24219974","source":"Int J Gynaecol Obstet. 2014;124(1):1-5","title":"Staging classification for cancer of the ovary, fallopian tube, and peritoneum"},"components":[{"factor":"ia","met":true},{"factor":"ib","met":false},{"factor":"ic1","met":false},{"factor":"ic2","met":false},{"factor":"ic3","met":false},{"factor":"iia","met":false},{"factor":"iib","met":false},{"factor":"iiia1i","met":false},{"factor":"iiia1ii","met":false},{"factor":"iiia2","met":false},{"factor":"iiib","met":false},{"factor":"iiic","met":false},{"factor":"iva","met":false},{"factor":"ivb","met":false}],"description":"Tumor limited to one ovary (capsule intact) or fallopian tube; no tumor on surface; no malignant cells in ascites or peritoneal washings","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":"figo_ovarian","formula_expression":"stage in {IA, IB, IC1, IC2, IC3, IIA, IIB, IIIA1i, IIIA1ii, IIIA2, IIIB, IIIC, IVA, IVB} as assigned by the caller (Prat 2014 FIGO for ovary, fallopian tube, and peritoneum). 2014 eliminated IIC. magent does not read imaging or pathology. Not AJCC TNM. Not endometrial or cervical FIGO.","stage":"IA"},{"citation":{"authors":"Prat J; FIGO Committee on Gynecologic Oncology","doi":"10.1016/j.ijgo.2013.10.001","id":"prat-2014","pmid":"24219974","source":"Int J Gynaecol Obstet. 2014;124(1):1-5","title":"Staging classification for cancer of the ovary, fallopian tube, and peritoneum"},"components":[{"factor":"ia","met":true},{"factor":"ib","met":false},{"factor":"ic1","met":false},{"factor":"ic2","met":false},{"factor":"ic3","met":false},{"factor":"iia","met":false},{"factor":"iib","met":false},{"factor":"iiia1i","met":false},{"factor":"iiia1ii","met":false},{"factor":"iiia2","met":false},{"factor":"iiib","met":false},{"factor":"iiic","met":false},{"factor":"iva","met":false},{"factor":"ivb","met":false}],"description":"Tumor limited to one ovary (capsule intact) or fallopian tube; no tumor on surface; no malignant cells in ascites or peritoneal washings","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":"figo_ovarian","formula_expression":"stage in {IA, IB, IC1, IC2, IC3, IIA, IIB, IIIA1i, IIIA1ii, IIIA2, IIIB, IIIC, IVA, IVB} as assigned by the caller (Prat 2014 FIGO for ovary, fallopian tube, and peritoneum). 2014 eliminated IIC. magent does not read imaging or pathology. Not AJCC TNM. Not endometrial or cervical FIGO.","stage":"IA"}],"path":"/api/calc/figo_ovarian"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"stage":{"description":"Prat 2014 FIGO token as assigned by the caller: IA, IB, IC1, IC2, IC3, IIA, IIB, IIIA1i, IIIA1ii, IIIA2, IIIB, IIIC, IVA, or IVB. Case-insensitive accept; returned canonical form keeps lowercase i/ii on IIIA1i and IIIA1ii. IIC is not valid (eliminated in 2014). Not endometrial or cervical FIGO. magent does not read imaging or pathology.","type":"string"}},"required":["stage"],"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},{"id":39392,"slug":"39392","resource":"https://api.magentlab.com/api/calc/kasymjanova","description":"Kasymjanova 2010 prognostic index for advanced NSCLC from caller-supplied CRP in mg/L and WBC in ×10^9/L. CRP is elevated if crp_mg_l > 10 (10 is not elevated). WBC is elevated if wbc_10e9_l > 11 (11 is not elevated). PI 0 if neither marker is elevated, PI 1 if exactly one is elevated, PI 2 if both are elevated. Not Glasgow Prognostic Score, not mGPS (McMillan), not a cancer diagnosis, and not a chemotherapy order. magent does not assay CRP or WBC.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"crp_mg_l":10,"wbc_10e9_l":11},{"crp_mg_l":10,"wbc_10e9_l":11}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kasymjanova G, MacDonald N, Agulnik JS, Cohen V, Pepe C, Kreisman H, Sharma R, Small D","doi":"10.3747/co.v17i4.567","id":"kasymjanova-2010","pmid":"20697518","source":"Curr Oncol. 2010;17(4):52-58","title":"The predictive value of pre-treatment inflammatory markers in advanced non-small-cell lung cancer"},"components":[{"factor":"crp_elevated","points":0,"present":false,"value":10},{"factor":"wbc_elevated","points":0,"present":false,"value":11}],"crp_mg_l":10,"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":"kasymjanova","formula_expression":"PI = crp_elevated + wbc_elevated; CRP elevated if crp_mg_l > 10 (≤10 not elevated); WBC elevated if wbc_10e9_l > 11 (≤11 not elevated); each 1; Kasymjanova 2010; max 2","max_score":2,"pi":0,"score":0,"wbc_10e9_l":11},{"citation":{"authors":"Kasymjanova G, MacDonald N, Agulnik JS, Cohen V, Pepe C, Kreisman H, Sharma R, Small D","doi":"10.3747/co.v17i4.567","id":"kasymjanova-2010","pmid":"20697518","source":"Curr Oncol. 2010;17(4):52-58","title":"The predictive value of pre-treatment inflammatory markers in advanced non-small-cell lung cancer"},"components":[{"factor":"crp_elevated","points":0,"present":false,"value":10},{"factor":"wbc_elevated","points":0,"present":false,"value":11}],"crp_mg_l":10,"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":"kasymjanova","formula_expression":"PI = crp_elevated + wbc_elevated; CRP elevated if crp_mg_l > 10 (≤10 not elevated); WBC elevated if wbc_10e9_l > 11 (≤11 not elevated); each 1; Kasymjanova 2010; max 2","max_score":2,"pi":0,"score":0,"wbc_10e9_l":11}],"path":"/api/calc/kasymjanova"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500), not mg/dL. Kasymjanova 2010 elevated CRP is >10 mg/L. CRP = 10 is not elevated. magent does not assay CRP.","type":"number"},"wbc_10e9_l":{"description":"White-cell count in ×10^9/L (0.01-500). Kasymjanova 2010 elevated WBC is >11 ×10^9/L. WBC = 11 is not elevated. magent does not assay WBC.","type":"number"}},"required":["crp_mg_l","wbc_10e9_l"],"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":["kasymjanova","nsclc","crp","wbc","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:00:00.927Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T15:00:00.76Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"crp_mg_l":10,"wbc_10e9_l":11},{"crp_mg_l":10,"wbc_10e9_l":11}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kasymjanova G, MacDonald N, Agulnik JS, Cohen V, Pepe C, Kreisman H, Sharma R, Small D","doi":"10.3747/co.v17i4.567","id":"kasymjanova-2010","pmid":"20697518","source":"Curr Oncol. 2010;17(4):52-58","title":"The predictive value of pre-treatment inflammatory markers in advanced non-small-cell lung cancer"},"components":[{"factor":"crp_elevated","points":0,"present":false,"value":10},{"factor":"wbc_elevated","points":0,"present":false,"value":11}],"crp_mg_l":10,"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":"kasymjanova","formula_expression":"PI = crp_elevated + wbc_elevated; CRP elevated if crp_mg_l > 10 (≤10 not elevated); WBC elevated if wbc_10e9_l > 11 (≤11 not elevated); each 1; Kasymjanova 2010; max 2","max_score":2,"pi":0,"score":0,"wbc_10e9_l":11},{"citation":{"authors":"Kasymjanova G, MacDonald N, Agulnik JS, Cohen V, Pepe C, Kreisman H, Sharma R, Small D","doi":"10.3747/co.v17i4.567","id":"kasymjanova-2010","pmid":"20697518","source":"Curr Oncol. 2010;17(4):52-58","title":"The predictive value of pre-treatment inflammatory markers in advanced non-small-cell lung cancer"},"components":[{"factor":"crp_elevated","points":0,"present":false,"value":10},{"factor":"wbc_elevated","points":0,"present":false,"value":11}],"crp_mg_l":10,"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":"kasymjanova","formula_expression":"PI = crp_elevated + wbc_elevated; CRP elevated if crp_mg_l > 10 (≤10 not elevated); WBC elevated if wbc_10e9_l > 11 (≤11 not elevated); each 1; Kasymjanova 2010; max 2","max_score":2,"pi":0,"score":0,"wbc_10e9_l":11}],"path":"/api/calc/kasymjanova"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500), not mg/dL. Kasymjanova 2010 elevated CRP is >10 mg/L. CRP = 10 is not elevated. magent does not assay CRP.","type":"number"},"wbc_10e9_l":{"description":"White-cell count in ×10^9/L (0.01-500). Kasymjanova 2010 elevated WBC is >11 ×10^9/L. WBC = 11 is not elevated. magent does not assay WBC.","type":"number"}},"required":["crp_mg_l","wbc_10e9_l"],"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},{"id":39393,"slug":"39393","resource":"https://api.magentlab.com/api/calc/nlr","description":"Neutrophil-to-lymphocyte ratio from relative neutrophil and lymphocyte percents (Zahorec 2001). Deterministic published arithmetic with citation. Not a sepsis diagnosis; magent does not apply later oncology cutoffs that are not in that paper.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"lymphocyte_percent":20,"neutrophil_percent":70},{"lymphocyte_percent":20,"neutrophil_percent":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Zahorec R","id":"zahorec-2001","pmid":"11723675","source":"Bratisl Lek Listy. 2001;102(1):5-14","title":"Ratio of neutrophil to lymphocyte counts--rapid and simple parameter of systemic inflammation and stress in critically ill"},"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":"nlr","formula_expression":"nlr = neutrophil_percent / lymphocyte_percent","lymphocyte_percent":20,"neutrophil_percent":70,"nlr":3.5},{"citation":{"authors":"Zahorec R","id":"zahorec-2001","pmid":"11723675","source":"Bratisl Lek Listy. 2001;102(1):5-14","title":"Ratio of neutrophil to lymphocyte counts--rapid and simple parameter of systemic inflammation and stress in critically ill"},"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":"nlr","formula_expression":"nlr = neutrophil_percent / lymphocyte_percent","lymphocyte_percent":20,"neutrophil_percent":70,"nlr":3.5}],"path":"/api/calc/nlr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"lymphocyte_percent":{"description":"Relative lymphocyte count as a percent of leukocytes (0.1-99). Must be greater than 0.","type":"number"},"neutrophil_percent":{"description":"Relative neutrophil count as a percent of leukocytes (0.1-99).","type":"number"}},"required":["neutrophil_percent","lymphocyte_percent"],"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":["nlr","neutrophil","lymphocyte","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:59:46.548Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:59:46.43Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"lymphocyte_percent":20,"neutrophil_percent":70},{"lymphocyte_percent":20,"neutrophil_percent":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Zahorec R","id":"zahorec-2001","pmid":"11723675","source":"Bratisl Lek Listy. 2001;102(1):5-14","title":"Ratio of neutrophil to lymphocyte counts--rapid and simple parameter of systemic inflammation and stress in critically ill"},"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":"nlr","formula_expression":"nlr = neutrophil_percent / lymphocyte_percent","lymphocyte_percent":20,"neutrophil_percent":70,"nlr":3.5},{"citation":{"authors":"Zahorec R","id":"zahorec-2001","pmid":"11723675","source":"Bratisl Lek Listy. 2001;102(1):5-14","title":"Ratio of neutrophil to lymphocyte counts--rapid and simple parameter of systemic inflammation and stress in critically ill"},"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":"nlr","formula_expression":"nlr = neutrophil_percent / lymphocyte_percent","lymphocyte_percent":20,"neutrophil_percent":70,"nlr":3.5}],"path":"/api/calc/nlr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"lymphocyte_percent":{"description":"Relative lymphocyte count as a percent of leukocytes (0.1-99). Must be greater than 0.","type":"number"},"neutrophil_percent":{"description":"Relative neutrophil count as a percent of leukocytes (0.1-99).","type":"number"}},"required":["neutrophil_percent","lymphocyte_percent"],"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},{"id":39394,"slug":"39394","resource":"https://api.magentlab.com/api/calc/hscore","description":"Fardet 2014 HScore (Table 4; max 337) from nine caller-assigned items: immunosuppression 18, temperature 0/33/49, organomegaly 0/23/38, cytopenia lineages 0/24/34 (1/2/3), ferritin 0/35/50, triglycerides 0/44/64, fibrinogen 0/30, SGOT 0/19, marrow hemophagocytosis 35. Best cutoff 169. magent does not take raw labs; all nine required. Not HLH-2004. Not a diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cytopenia_lineages":1,"ferritin_band":"lt_2000","fibrinogen_band":"gt_2_5","immunosuppression":false,"marrow_hemophagocytosis":false,"organomegaly":"none","sgot_band":"lt_30","temperature_band":"lt_38_4","triglyceride_band":"lt_1_5"},{"cytopenia_lineages":1,"ferritin_band":"lt_2000","fibrinogen_band":"gt_2_5","immunosuppression":false,"marrow_hemophagocytosis":false,"organomegaly":"none","sgot_band":"lt_30","temperature_band":"lt_38_4","triglyceride_band":"lt_1_5"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Fardet L, Galicier L, Lambotte O, Marzac C, Aumont C, Chahwan D, Coppo P, Hejblum G","doi":"10.1002/art.38690","id":"fardet-2014","pmid":"24782338","source":"Arthritis Rheumatol. 2014;66(9):2613-2620","title":"Development and validation of the HScore, a score for the diagnosis of reactive hemophagocytic syndrome"},"components":[{"factor":"immunosuppression","points":0,"present":false},{"factor":"temperature_band","points":0,"present":false,"value":"lt_38_4"},{"factor":"organomegaly","points":0,"present":false,"value":"none"},{"factor":"cytopenia_lineages","points":0,"present":false,"value":1},{"factor":"ferritin_band","points":0,"present":false,"value":"lt_2000"},{"factor":"triglyceride_band","points":0,"present":false,"value":"lt_1_5"},{"factor":"fibrinogen_band","points":0,"present":false,"value":"gt_2_5"},{"factor":"sgot_band","points":0,"present":false,"value":"lt_30"},{"factor":"marrow_hemophagocytosis","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":"hscore","formula_expression":"HScore = immunosuppression (true 18) + temperature_band (lt_38_4 0, 38_4_to_39_4 33, gt_39_4 49) + organomegaly (none 0, hepato_or_spleno 23, hepato_and_spleno 38) + cytopenia_lineages (1 → 0, 2 → 24, 3 → 34) + ferritin_band (lt_2000 0, 2000_to_6000 35, gt_6000 50) + triglyceride_band (lt_1_5 0, 1_5_to_4 44, gt_4 64) + fibrinogen_band (gt_2_5 0, le_2_5 30) + sgot_band (lt_30 0, ge_30 19) + marrow_hemophagocytosis (true 35); Fardet 2014 Table 4; max 337; score_ge_169 iff total >= 169 (Table 5 best cutoff)","max_score":337,"score":0,"score_ge_169":false},{"citation":{"authors":"Fardet L, Galicier L, Lambotte O, Marzac C, Aumont C, Chahwan D, Coppo P, Hejblum G","doi":"10.1002/art.38690","id":"fardet-2014","pmid":"24782338","source":"Arthritis Rheumatol. 2014;66(9):2613-2620","title":"Development and validation of the HScore, a score for the diagnosis of reactive hemophagocytic syndrome"},"components":[{"factor":"immunosuppression","points":0,"present":false},{"factor":"temperature_band","points":0,"present":false,"value":"lt_38_4"},{"factor":"organomegaly","points":0,"present":false,"value":"none"},{"factor":"cytopenia_lineages","points":0,"present":false,"value":1},{"factor":"ferritin_band","points":0,"present":false,"value":"lt_2000"},{"factor":"triglyceride_band","points":0,"present":false,"value":"lt_1_5"},{"factor":"fibrinogen_band","points":0,"present":false,"value":"gt_2_5"},{"factor":"sgot_band","points":0,"present":false,"value":"lt_30"},{"factor":"marrow_hemophagocytosis","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":"hscore","formula_expression":"HScore = immunosuppression (true 18) + temperature_band (lt_38_4 0, 38_4_to_39_4 33, gt_39_4 49) + organomegaly (none 0, hepato_or_spleno 23, hepato_and_spleno 38) + cytopenia_lineages (1 → 0, 2 → 24, 3 → 34) + ferritin_band (lt_2000 0, 2000_to_6000 35, gt_6000 50) + triglyceride_band (lt_1_5 0, 1_5_to_4 44, gt_4 64) + fibrinogen_band (gt_2_5 0, le_2_5 30) + sgot_band (lt_30 0, ge_30 19) + marrow_hemophagocytosis (true 35); Fardet 2014 Table 4; max 337; score_ge_169 iff total >= 169 (Table 5 best cutoff)","max_score":337,"score":0,"score_ge_169":false}],"path":"/api/calc/hscore"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cytopenia_lineages":{"description":"Caller-assigned number of cytopenia lineages (integer 1, 2, or 3). 1 scores 0; 2 scores 24; 3 scores 34. Zero cytopenias were not assessed in Fardet 2014 and are rejected. Cytopenia definition (paper footnote, caller already applied): Hb ≤9.2 g/dL and/or WBC ≤5000/mm³ and/or platelets ≤110000/mm³. magent does not take those labs.","type":"integer"},"ferritin_band":{"description":"Caller-assigned Fardet 2014 Table 4 ferritin band (ng/ml). lt_2000 (<2000) scores 0; 2000_to_6000 (2000–6000) scores 35; gt_6000 (>6000) scores 50. magent does not take a raw ferritin.","type":"string"},"fibrinogen_band":{"description":"Caller-assigned Fardet 2014 Table 4 fibrinogen band (g/L). gt_2_5 (>2.5) scores 0; le_2_5 (≤2.5) scores 30. magent does not take a raw fibrinogen.","type":"string"},"immunosuppression":{"description":"Known underlying immunosuppression as assigned by the caller (Fardet 2014 Table 4 footnote: HIV positive or long-term glucocorticoids, cyclosporine, or azathioprine). true scores 18; false scores 0.","type":"boolean"},"marrow_hemophagocytosis":{"description":"Hemophagocytosis features on bone marrow aspirate as assigned by the caller (Fardet 2014 Table 4). true scores 35; false scores 0. Not required for a diagnosis; this tool is not a diagnosis.","type":"boolean"},"organomegaly":{"description":"Caller-assigned Fardet 2014 Table 4 organomegaly. none scores 0; hepato_or_spleno (hepatomegaly or splenomegaly) scores 23; hepato_and_spleno (hepatomegaly and splenomegaly) scores 38. magent does not examine the patient.","type":"string"},"sgot_band":{"description":"Caller-assigned Fardet 2014 Table 4 SGOT/AST band (IU/L). lt_30 (<30) scores 0; ge_30 (≥30) scores 19. magent does not take a raw SGOT.","type":"string"},"temperature_band":{"description":"Caller-assigned Fardet 2014 Table 4 temperature band (°C). lt_38_4 (<38.4) scores 0; 38_4_to_39_4 (38.4–39.4) scores 33; gt_39_4 (>39.4) scores 49. magent does not take a raw temperature.","type":"string"},"triglyceride_band":{"description":"Caller-assigned Fardet 2014 Table 4 triglyceride band (mmol/L). lt_1_5 (<1.5) scores 0; 1_5_to_4 (1.5–4.0) scores 44; gt_4 (>4.0) scores 64. magent does not take a raw triglyceride.","type":"string"}},"required":["immunosuppression","temperature_band","organomegaly","cytopenia_lineages","ferritin_band","triglyceride_band","fibrinogen_band","sgot_band","marrow_hemophagocytosis"],"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":["hscore","hematology","hemophagocytosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:59:33.313Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:59:33.182Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cytopenia_lineages":1,"ferritin_band":"lt_2000","fibrinogen_band":"gt_2_5","immunosuppression":false,"marrow_hemophagocytosis":false,"organomegaly":"none","sgot_band":"lt_30","temperature_band":"lt_38_4","triglyceride_band":"lt_1_5"},{"cytopenia_lineages":1,"ferritin_band":"lt_2000","fibrinogen_band":"gt_2_5","immunosuppression":false,"marrow_hemophagocytosis":false,"organomegaly":"none","sgot_band":"lt_30","temperature_band":"lt_38_4","triglyceride_band":"lt_1_5"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Fardet L, Galicier L, Lambotte O, Marzac C, Aumont C, Chahwan D, Coppo P, Hejblum G","doi":"10.1002/art.38690","id":"fardet-2014","pmid":"24782338","source":"Arthritis Rheumatol. 2014;66(9):2613-2620","title":"Development and validation of the HScore, a score for the diagnosis of reactive hemophagocytic syndrome"},"components":[{"factor":"immunosuppression","points":0,"present":false},{"factor":"temperature_band","points":0,"present":false,"value":"lt_38_4"},{"factor":"organomegaly","points":0,"present":false,"value":"none"},{"factor":"cytopenia_lineages","points":0,"present":false,"value":1},{"factor":"ferritin_band","points":0,"present":false,"value":"lt_2000"},{"factor":"triglyceride_band","points":0,"present":false,"value":"lt_1_5"},{"factor":"fibrinogen_band","points":0,"present":false,"value":"gt_2_5"},{"factor":"sgot_band","points":0,"present":false,"value":"lt_30"},{"factor":"marrow_hemophagocytosis","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":"hscore","formula_expression":"HScore = immunosuppression (true 18) + temperature_band (lt_38_4 0, 38_4_to_39_4 33, gt_39_4 49) + organomegaly (none 0, hepato_or_spleno 23, hepato_and_spleno 38) + cytopenia_lineages (1 → 0, 2 → 24, 3 → 34) + ferritin_band (lt_2000 0, 2000_to_6000 35, gt_6000 50) + triglyceride_band (lt_1_5 0, 1_5_to_4 44, gt_4 64) + fibrinogen_band (gt_2_5 0, le_2_5 30) + sgot_band (lt_30 0, ge_30 19) + marrow_hemophagocytosis (true 35); Fardet 2014 Table 4; max 337; score_ge_169 iff total >= 169 (Table 5 best cutoff)","max_score":337,"score":0,"score_ge_169":false},{"citation":{"authors":"Fardet L, Galicier L, Lambotte O, Marzac C, Aumont C, Chahwan D, Coppo P, Hejblum G","doi":"10.1002/art.38690","id":"fardet-2014","pmid":"24782338","source":"Arthritis Rheumatol. 2014;66(9):2613-2620","title":"Development and validation of the HScore, a score for the diagnosis of reactive hemophagocytic syndrome"},"components":[{"factor":"immunosuppression","points":0,"present":false},{"factor":"temperature_band","points":0,"present":false,"value":"lt_38_4"},{"factor":"organomegaly","points":0,"present":false,"value":"none"},{"factor":"cytopenia_lineages","points":0,"present":false,"value":1},{"factor":"ferritin_band","points":0,"present":false,"value":"lt_2000"},{"factor":"triglyceride_band","points":0,"present":false,"value":"lt_1_5"},{"factor":"fibrinogen_band","points":0,"present":false,"value":"gt_2_5"},{"factor":"sgot_band","points":0,"present":false,"value":"lt_30"},{"factor":"marrow_hemophagocytosis","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":"hscore","formula_expression":"HScore = immunosuppression (true 18) + temperature_band (lt_38_4 0, 38_4_to_39_4 33, gt_39_4 49) + organomegaly (none 0, hepato_or_spleno 23, hepato_and_spleno 38) + cytopenia_lineages (1 → 0, 2 → 24, 3 → 34) + ferritin_band (lt_2000 0, 2000_to_6000 35, gt_6000 50) + triglyceride_band (lt_1_5 0, 1_5_to_4 44, gt_4 64) + fibrinogen_band (gt_2_5 0, le_2_5 30) + sgot_band (lt_30 0, ge_30 19) + marrow_hemophagocytosis (true 35); Fardet 2014 Table 4; max 337; score_ge_169 iff total >= 169 (Table 5 best cutoff)","max_score":337,"score":0,"score_ge_169":false}],"path":"/api/calc/hscore"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cytopenia_lineages":{"description":"Caller-assigned number of cytopenia lineages (integer 1, 2, or 3). 1 scores 0; 2 scores 24; 3 scores 34. Zero cytopenias were not assessed in Fardet 2014 and are rejected. Cytopenia definition (paper footnote, caller already applied): Hb ≤9.2 g/dL and/or WBC ≤5000/mm³ and/or platelets ≤110000/mm³. magent does not take those labs.","type":"integer"},"ferritin_band":{"description":"Caller-assigned Fardet 2014 Table 4 ferritin band (ng/ml). lt_2000 (<2000) scores 0; 2000_to_6000 (2000–6000) scores 35; gt_6000 (>6000) scores 50. magent does not take a raw ferritin.","type":"string"},"fibrinogen_band":{"description":"Caller-assigned Fardet 2014 Table 4 fibrinogen band (g/L). gt_2_5 (>2.5) scores 0; le_2_5 (≤2.5) scores 30. magent does not take a raw fibrinogen.","type":"string"},"immunosuppression":{"description":"Known underlying immunosuppression as assigned by the caller (Fardet 2014 Table 4 footnote: HIV positive or long-term glucocorticoids, cyclosporine, or azathioprine). true scores 18; false scores 0.","type":"boolean"},"marrow_hemophagocytosis":{"description":"Hemophagocytosis features on bone marrow aspirate as assigned by the caller (Fardet 2014 Table 4). true scores 35; false scores 0. Not required for a diagnosis; this tool is not a diagnosis.","type":"boolean"},"organomegaly":{"description":"Caller-assigned Fardet 2014 Table 4 organomegaly. none scores 0; hepato_or_spleno (hepatomegaly or splenomegaly) scores 23; hepato_and_spleno (hepatomegaly and splenomegaly) scores 38. magent does not examine the patient.","type":"string"},"sgot_band":{"description":"Caller-assigned Fardet 2014 Table 4 SGOT/AST band (IU/L). lt_30 (<30) scores 0; ge_30 (≥30) scores 19. magent does not take a raw SGOT.","type":"string"},"temperature_band":{"description":"Caller-assigned Fardet 2014 Table 4 temperature band (°C). lt_38_4 (<38.4) scores 0; 38_4_to_39_4 (38.4–39.4) scores 33; gt_39_4 (>39.4) scores 49. magent does not take a raw temperature.","type":"string"},"triglyceride_band":{"description":"Caller-assigned Fardet 2014 Table 4 triglyceride band (mmol/L). lt_1_5 (<1.5) scores 0; 1_5_to_4 (1.5–4.0) scores 44; gt_4 (>4.0) scores 64. magent does not take a raw triglyceride.","type":"string"}},"required":["immunosuppression","temperature_band","organomegaly","cytopenia_lineages","ferritin_band","triglyceride_band","fibrinogen_band","sgot_band","marrow_hemophagocytosis"],"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},{"id":39395,"slug":"39395","resource":"https://api.magentlab.com/api/calc/isth_bat","description":"Rodeghiero 2010 ISTH/SSC bleeding assessment tool (BAT). Fourteen caller-assigned Table S1 symptom integers (0-4; cns_bleeding 0, 3, or 4 only). magent sums only (max 56) and does not take the bleeding history. This 2010 letter did not identify an abnormal bleeding score; magent does not apply later Elbatarny 2014 / WFH ≥4 male / ≥6 female / ≥3 child cutoffs. Not a VWD diagnosis and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cns_bleeding":0,"cutaneous":0,"epistaxis":0,"gi_bleeding":0,"hemarthrosis":0,"hematuria":0,"menorrhagia":0,"minor_wounds":0,"muscle_hematomas":0,"oral_cavity":0,"other_bleeding":0,"postpartum_hemorrhage":0,"surgery":0,"tooth_extraction":0},{"cns_bleeding":0,"cutaneous":0,"epistaxis":0,"gi_bleeding":0,"hemarthrosis":0,"hematuria":0,"menorrhagia":0,"minor_wounds":0,"muscle_hematomas":0,"oral_cavity":0,"other_bleeding":0,"postpartum_hemorrhage":0,"surgery":0,"tooth_extraction":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rodeghiero F, Tosetto A, Abshire T, et al.","doi":"10.1111/j.1538-7836.2010.03975.x","id":"rodeghiero-2010","source":"J Thromb Haemost. 2010;8(9):2063-2065","title":"ISTH/SSC bleeding assessment tool: a standardized questionnaire and a proposal for a new bleeding score for inherited bleeding disorders"},"components":[{"factor":"epistaxis","points":0,"present":false,"value":0},{"factor":"cutaneous","points":0,"present":false,"value":0},{"factor":"minor_wounds","points":0,"present":false,"value":0},{"factor":"oral_cavity","points":0,"present":false,"value":0},{"factor":"gi_bleeding","points":0,"present":false,"value":0},{"factor":"hematuria","points":0,"present":false,"value":0},{"factor":"tooth_extraction","points":0,"present":false,"value":0},{"factor":"surgery","points":0,"present":false,"value":0},{"factor":"menorrhagia","points":0,"present":false,"value":0},{"factor":"postpartum_hemorrhage","points":0,"present":false,"value":0},{"factor":"muscle_hematomas","points":0,"present":false,"value":0},{"factor":"hemarthrosis","points":0,"present":false,"value":0},{"factor":"cns_bleeding","points":0,"present":false,"value":0},{"factor":"other_bleeding","points":0,"present":false,"value":0}],"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":"isth_bat","formula_expression":"ISTH/SSC BAT = epistaxis + cutaneous + minor_wounds + oral_cavity + gi_bleeding + hematuria + tooth_extraction + surgery + menorrhagia + postpartum_hemorrhage + muscle_hematomas + hemarthrosis + cns_bleeding + other_bleeding; each caller-assigned 0-4 from Rodeghiero 2010 Table S1 (cns_bleeding 0, 3, or 4 only); max 56; no abnormal cutoff in this letter","max_score":56,"score":0},{"citation":{"authors":"Rodeghiero F, Tosetto A, Abshire T, et al.","doi":"10.1111/j.1538-7836.2010.03975.x","id":"rodeghiero-2010","source":"J Thromb Haemost. 2010;8(9):2063-2065","title":"ISTH/SSC bleeding assessment tool: a standardized questionnaire and a proposal for a new bleeding score for inherited bleeding disorders"},"components":[{"factor":"epistaxis","points":0,"present":false,"value":0},{"factor":"cutaneous","points":0,"present":false,"value":0},{"factor":"minor_wounds","points":0,"present":false,"value":0},{"factor":"oral_cavity","points":0,"present":false,"value":0},{"factor":"gi_bleeding","points":0,"present":false,"value":0},{"factor":"hematuria","points":0,"present":false,"value":0},{"factor":"tooth_extraction","points":0,"present":false,"value":0},{"factor":"surgery","points":0,"present":false,"value":0},{"factor":"menorrhagia","points":0,"present":false,"value":0},{"factor":"postpartum_hemorrhage","points":0,"present":false,"value":0},{"factor":"muscle_hematomas","points":0,"present":false,"value":0},{"factor":"hemarthrosis","points":0,"present":false,"value":0},{"factor":"cns_bleeding","points":0,"present":false,"value":0},{"factor":"other_bleeding","points":0,"present":false,"value":0}],"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":"isth_bat","formula_expression":"ISTH/SSC BAT = epistaxis + cutaneous + minor_wounds + oral_cavity + gi_bleeding + hematuria + tooth_extraction + surgery + menorrhagia + postpartum_hemorrhage + muscle_hematomas + hemarthrosis + cns_bleeding + other_bleeding; each caller-assigned 0-4 from Rodeghiero 2010 Table S1 (cns_bleeding 0, 3, or 4 only); max 56; no abnormal cutoff in this letter","max_score":56,"score":0}],"path":"/api/calc/isth_bat"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cns_bleeding":{"description":"Caller-assigned Rodeghiero 2010 Table S1 CNS bleeding integer (0, 3, or 4 only). 0 never; 3 subdural, any intervention; 4 intracerebral, any intervention. Grades 1 and 2 are not used in Table S1. magent does not take the bleeding history.","enum":[0,3,4],"type":"integer"},"cutaneous":{"description":"Caller-assigned Rodeghiero 2010 Table S1 cutaneous integer (0-4). 0 no/trivial; 1 five or more bruises >1 cm in exposed areas; 2 consultation only; 3 extensive; 4 spontaneous hematoma requiring blood transfusion. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"epistaxis":{"description":"Caller-assigned Rodeghiero 2010 Table S1 epistaxis integer (0-4). 0 no/trivial; 1 >5/year or >10 minutes; 2 consultation only; 3 packing, cauterization, or antifibrinolytic; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"gi_bleeding":{"description":"Caller-assigned Rodeghiero 2010 Table S1 GI bleeding integer (0-4). 0 no/trivial; 1 present not associated with ulcer, portal hypertension, hemorrhoids, or angiodysplasia; 2 consultation only; 3 surgical hemostasis or antifibrinolytic; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"hemarthrosis":{"description":"Caller-assigned Rodeghiero 2010 Table S1 hemarthrosis integer (0-4). 0 never; 1 post trauma, no therapy; 2 spontaneous, no therapy; 3 spontaneous or traumatic, requiring desmopressin or replacement therapy; 4 spontaneous or traumatic, requiring surgical intervention or blood transfusion. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"hematuria":{"description":"Caller-assigned Rodeghiero 2010 Table S1 hematuria integer (0-4). 0 no/trivial; 1 present (macroscopic); 2 consultation only; 3 surgical hemostasis or iron therapy; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"menorrhagia":{"description":"Caller-assigned Rodeghiero 2010 Table S1 menorrhagia integer (0-4). 0 no/trivial; 1 consultation only, pads more often than every 2 hours, clot and flooding, or PBAC >100; 2 time off work/school >2/year or antifibrinolytics, hormonal, or iron therapy; 3 combined antifibrinolytics and hormonal therapy, or present since menarche and >12 months; 4 acute menorrhagia requiring hospital admission and emergency treatment, transfusion/replacement/desmopressin, or dilatation and curettage, endometrial ablation, or hysterectomy. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"minor_wounds":{"description":"Caller-assigned Rodeghiero 2010 Table S1 bleeding from minor wounds integer (0-4). 0 no/trivial; 1 >5/year or >10 minutes; 2 consultation only; 3 surgical hemostasis; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"muscle_hematomas":{"description":"Caller-assigned Rodeghiero 2010 Table S1 muscle-hematomas integer (0-4). 0 never; 1 post trauma, no therapy; 2 spontaneous, no therapy; 3 spontaneous or traumatic, requiring desmopressin or replacement therapy; 4 spontaneous or traumatic, requiring surgical intervention or blood transfusion. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"oral_cavity":{"description":"Caller-assigned Rodeghiero 2010 Table S1 oral-cavity integer (0-4). 0 no/trivial; 1 present; 2 consultation only; 3 surgical hemostasis or antifibrinolytic; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"other_bleeding":{"description":"Caller-assigned Rodeghiero 2010 Table S1 other bleedings integer, including infancy-specific symptoms (0-4). 0 no/trivial; 1 present; 2 consultation only; 3 surgical hemostasis, antifibrinolytics, or iron therapy; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"postpartum_hemorrhage":{"description":"Caller-assigned Rodeghiero 2010 Table S1 postpartum-hemorrhage integer (0-4). 0 no/trivial or no deliveries; 1 consultation only, use of syntocin, or lochia >6 weeks; 2 iron therapy or antifibrinolytics; 3 blood transfusion, replacement therapy, desmopressin, examination under anaesthesia, or uterine balloon/packing; 4 any procedure requiring critical care or surgical intervention. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"surgery":{"description":"Caller-assigned Rodeghiero 2010 Table S1 surgery integer (0-4). 0 no/trivial or none done; 1 referred in ≤25% of procedures, no intervention; 2 referred in >25% of procedures, no intervention; 3 surgical hemostasis or antifibrinolytics; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"tooth_extraction":{"description":"Caller-assigned Rodeghiero 2010 Table S1 tooth-extraction integer (0-4). 0 no/trivial or none done; 1 referred in ≤25% of procedures, no intervention; 2 referred in >25% of procedures, no intervention; 3 resuturing or packing; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"}},"required":["epistaxis","cutaneous","minor_wounds","oral_cavity","gi_bleeding","hematuria","tooth_extraction","surgery","menorrhagia","postpartum_hemorrhage","muscle_hematomas","hemarthrosis","cns_bleeding","other_bleeding"],"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":["isth-bat","bleeding","hematology","coagulation","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:59:20.232Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:59:20.095Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cns_bleeding":0,"cutaneous":0,"epistaxis":0,"gi_bleeding":0,"hemarthrosis":0,"hematuria":0,"menorrhagia":0,"minor_wounds":0,"muscle_hematomas":0,"oral_cavity":0,"other_bleeding":0,"postpartum_hemorrhage":0,"surgery":0,"tooth_extraction":0},{"cns_bleeding":0,"cutaneous":0,"epistaxis":0,"gi_bleeding":0,"hemarthrosis":0,"hematuria":0,"menorrhagia":0,"minor_wounds":0,"muscle_hematomas":0,"oral_cavity":0,"other_bleeding":0,"postpartum_hemorrhage":0,"surgery":0,"tooth_extraction":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rodeghiero F, Tosetto A, Abshire T, et al.","doi":"10.1111/j.1538-7836.2010.03975.x","id":"rodeghiero-2010","source":"J Thromb Haemost. 2010;8(9):2063-2065","title":"ISTH/SSC bleeding assessment tool: a standardized questionnaire and a proposal for a new bleeding score for inherited bleeding disorders"},"components":[{"factor":"epistaxis","points":0,"present":false,"value":0},{"factor":"cutaneous","points":0,"present":false,"value":0},{"factor":"minor_wounds","points":0,"present":false,"value":0},{"factor":"oral_cavity","points":0,"present":false,"value":0},{"factor":"gi_bleeding","points":0,"present":false,"value":0},{"factor":"hematuria","points":0,"present":false,"value":0},{"factor":"tooth_extraction","points":0,"present":false,"value":0},{"factor":"surgery","points":0,"present":false,"value":0},{"factor":"menorrhagia","points":0,"present":false,"value":0},{"factor":"postpartum_hemorrhage","points":0,"present":false,"value":0},{"factor":"muscle_hematomas","points":0,"present":false,"value":0},{"factor":"hemarthrosis","points":0,"present":false,"value":0},{"factor":"cns_bleeding","points":0,"present":false,"value":0},{"factor":"other_bleeding","points":0,"present":false,"value":0}],"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":"isth_bat","formula_expression":"ISTH/SSC BAT = epistaxis + cutaneous + minor_wounds + oral_cavity + gi_bleeding + hematuria + tooth_extraction + surgery + menorrhagia + postpartum_hemorrhage + muscle_hematomas + hemarthrosis + cns_bleeding + other_bleeding; each caller-assigned 0-4 from Rodeghiero 2010 Table S1 (cns_bleeding 0, 3, or 4 only); max 56; no abnormal cutoff in this letter","max_score":56,"score":0},{"citation":{"authors":"Rodeghiero F, Tosetto A, Abshire T, et al.","doi":"10.1111/j.1538-7836.2010.03975.x","id":"rodeghiero-2010","source":"J Thromb Haemost. 2010;8(9):2063-2065","title":"ISTH/SSC bleeding assessment tool: a standardized questionnaire and a proposal for a new bleeding score for inherited bleeding disorders"},"components":[{"factor":"epistaxis","points":0,"present":false,"value":0},{"factor":"cutaneous","points":0,"present":false,"value":0},{"factor":"minor_wounds","points":0,"present":false,"value":0},{"factor":"oral_cavity","points":0,"present":false,"value":0},{"factor":"gi_bleeding","points":0,"present":false,"value":0},{"factor":"hematuria","points":0,"present":false,"value":0},{"factor":"tooth_extraction","points":0,"present":false,"value":0},{"factor":"surgery","points":0,"present":false,"value":0},{"factor":"menorrhagia","points":0,"present":false,"value":0},{"factor":"postpartum_hemorrhage","points":0,"present":false,"value":0},{"factor":"muscle_hematomas","points":0,"present":false,"value":0},{"factor":"hemarthrosis","points":0,"present":false,"value":0},{"factor":"cns_bleeding","points":0,"present":false,"value":0},{"factor":"other_bleeding","points":0,"present":false,"value":0}],"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":"isth_bat","formula_expression":"ISTH/SSC BAT = epistaxis + cutaneous + minor_wounds + oral_cavity + gi_bleeding + hematuria + tooth_extraction + surgery + menorrhagia + postpartum_hemorrhage + muscle_hematomas + hemarthrosis + cns_bleeding + other_bleeding; each caller-assigned 0-4 from Rodeghiero 2010 Table S1 (cns_bleeding 0, 3, or 4 only); max 56; no abnormal cutoff in this letter","max_score":56,"score":0}],"path":"/api/calc/isth_bat"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cns_bleeding":{"description":"Caller-assigned Rodeghiero 2010 Table S1 CNS bleeding integer (0, 3, or 4 only). 0 never; 3 subdural, any intervention; 4 intracerebral, any intervention. Grades 1 and 2 are not used in Table S1. magent does not take the bleeding history.","enum":[0,3,4],"type":"integer"},"cutaneous":{"description":"Caller-assigned Rodeghiero 2010 Table S1 cutaneous integer (0-4). 0 no/trivial; 1 five or more bruises >1 cm in exposed areas; 2 consultation only; 3 extensive; 4 spontaneous hematoma requiring blood transfusion. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"epistaxis":{"description":"Caller-assigned Rodeghiero 2010 Table S1 epistaxis integer (0-4). 0 no/trivial; 1 >5/year or >10 minutes; 2 consultation only; 3 packing, cauterization, or antifibrinolytic; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"gi_bleeding":{"description":"Caller-assigned Rodeghiero 2010 Table S1 GI bleeding integer (0-4). 0 no/trivial; 1 present not associated with ulcer, portal hypertension, hemorrhoids, or angiodysplasia; 2 consultation only; 3 surgical hemostasis or antifibrinolytic; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"hemarthrosis":{"description":"Caller-assigned Rodeghiero 2010 Table S1 hemarthrosis integer (0-4). 0 never; 1 post trauma, no therapy; 2 spontaneous, no therapy; 3 spontaneous or traumatic, requiring desmopressin or replacement therapy; 4 spontaneous or traumatic, requiring surgical intervention or blood transfusion. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"hematuria":{"description":"Caller-assigned Rodeghiero 2010 Table S1 hematuria integer (0-4). 0 no/trivial; 1 present (macroscopic); 2 consultation only; 3 surgical hemostasis or iron therapy; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"menorrhagia":{"description":"Caller-assigned Rodeghiero 2010 Table S1 menorrhagia integer (0-4). 0 no/trivial; 1 consultation only, pads more often than every 2 hours, clot and flooding, or PBAC >100; 2 time off work/school >2/year or antifibrinolytics, hormonal, or iron therapy; 3 combined antifibrinolytics and hormonal therapy, or present since menarche and >12 months; 4 acute menorrhagia requiring hospital admission and emergency treatment, transfusion/replacement/desmopressin, or dilatation and curettage, endometrial ablation, or hysterectomy. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"minor_wounds":{"description":"Caller-assigned Rodeghiero 2010 Table S1 bleeding from minor wounds integer (0-4). 0 no/trivial; 1 >5/year or >10 minutes; 2 consultation only; 3 surgical hemostasis; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"muscle_hematomas":{"description":"Caller-assigned Rodeghiero 2010 Table S1 muscle-hematomas integer (0-4). 0 never; 1 post trauma, no therapy; 2 spontaneous, no therapy; 3 spontaneous or traumatic, requiring desmopressin or replacement therapy; 4 spontaneous or traumatic, requiring surgical intervention or blood transfusion. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"oral_cavity":{"description":"Caller-assigned Rodeghiero 2010 Table S1 oral-cavity integer (0-4). 0 no/trivial; 1 present; 2 consultation only; 3 surgical hemostasis or antifibrinolytic; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"other_bleeding":{"description":"Caller-assigned Rodeghiero 2010 Table S1 other bleedings integer, including infancy-specific symptoms (0-4). 0 no/trivial; 1 present; 2 consultation only; 3 surgical hemostasis, antifibrinolytics, or iron therapy; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"postpartum_hemorrhage":{"description":"Caller-assigned Rodeghiero 2010 Table S1 postpartum-hemorrhage integer (0-4). 0 no/trivial or no deliveries; 1 consultation only, use of syntocin, or lochia >6 weeks; 2 iron therapy or antifibrinolytics; 3 blood transfusion, replacement therapy, desmopressin, examination under anaesthesia, or uterine balloon/packing; 4 any procedure requiring critical care or surgical intervention. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"surgery":{"description":"Caller-assigned Rodeghiero 2010 Table S1 surgery integer (0-4). 0 no/trivial or none done; 1 referred in ≤25% of procedures, no intervention; 2 referred in >25% of procedures, no intervention; 3 surgical hemostasis or antifibrinolytics; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"},"tooth_extraction":{"description":"Caller-assigned Rodeghiero 2010 Table S1 tooth-extraction integer (0-4). 0 no/trivial or none done; 1 referred in ≤25% of procedures, no intervention; 2 referred in >25% of procedures, no intervention; 3 resuturing or packing; 4 blood transfusion, replacement therapy, or desmopressin. magent does not take the bleeding history.","enum":[0,1,2,3,4],"type":"integer"}},"required":["epistaxis","cutaneous","minor_wounds","oral_cavity","gi_bleeding","hematuria","tooth_extraction","surgery","menorrhagia","postpartum_hemorrhage","muscle_hematomas","hemarthrosis","cns_bleeding","other_bleeding"],"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},{"id":39396,"slug":"39396","resource":"https://api.magentlab.com/api/calc/plasmic","description":"Bendapudi 2017 PLASMIC: seven 1-point items (platelets <30×10^9/L, caller-assigned hemolysis, no active cancer, no solid-organ or stem-cell transplant, MCV <90 fL, INR <1.5, creatinine <2.0 mg/dL), max 7. Bands 0-4 / 5 / 6-7 are pretest groups for severe ADAMTS13 deficiency, not percents or a plasma-exchange order. magent does not assay hemolysis. Cutoffs 30, 90, 1.5, and 2.0 do not score.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"active_cancer":false,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"hemolysis":true,"inr":1.1,"mcv_fl":85,"platelets_10e9_l":15,"solid_organ_or_stem_cell_transplant":false},{"active_cancer":false,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"hemolysis":true,"inr":1.1,"mcv_fl":85,"platelets_10e9_l":15,"solid_organ_or_stem_cell_transplant":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"active_cancer":false,"citation":{"authors":"Bendapudi PK, Hurwitz S, Fry A, et al.","doi":"10.1016/S2352-3026(17)30026-1","id":"bendapudi-2017","pmid":"28259520","source":"Lancet Haematol. 2017;4(4):e157-e164","title":"Derivation and external validation of the PLASMIC score for rapid assessment of adults with thrombotic microangiopathies: a cohort study"},"components":[{"factor":"platelets_lt_30","points":1,"present":true,"value":15},{"factor":"hemolysis","points":1,"present":true},{"factor":"no_active_cancer","points":1,"present":true},{"factor":"no_solid_organ_or_stem_cell_transplant","points":1,"present":true},{"factor":"mcv_lt_90","points":1,"present":true,"value":85},{"factor":"inr_lt_1_5","points":1,"present":true,"value":1.1},{"factor":"creatinine_lt_2","points":1,"present":true,"value":1}],"creatinine_mg_dl":1,"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":"plasmic","formula_expression":"PLASMIC = (platelets_10e9_l<30) + hemolysis + (not active_cancer) + (not solid_organ_or_stem_cell_transplant) + (mcv_fl<90) + (inr<1.5) + (creatinine_mg_dl<2.0); each 1; max 7; bands 0-4 / 5 / 6-7","hemolysis":true,"inr":1.1,"max_score":7,"mcv_fl":85,"plasmic_band":"6-7","platelets_10e9_l":15,"score":7,"solid_organ_or_stem_cell_transplant":false},{"active_cancer":false,"citation":{"authors":"Bendapudi PK, Hurwitz S, Fry A, et al.","doi":"10.1016/S2352-3026(17)30026-1","id":"bendapudi-2017","pmid":"28259520","source":"Lancet Haematol. 2017;4(4):e157-e164","title":"Derivation and external validation of the PLASMIC score for rapid assessment of adults with thrombotic microangiopathies: a cohort study"},"components":[{"factor":"platelets_lt_30","points":1,"present":true,"value":15},{"factor":"hemolysis","points":1,"present":true},{"factor":"no_active_cancer","points":1,"present":true},{"factor":"no_solid_organ_or_stem_cell_transplant","points":1,"present":true},{"factor":"mcv_lt_90","points":1,"present":true,"value":85},{"factor":"inr_lt_1_5","points":1,"present":true,"value":1.1},{"factor":"creatinine_lt_2","points":1,"present":true,"value":1}],"creatinine_mg_dl":1,"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":"plasmic","formula_expression":"PLASMIC = (platelets_10e9_l<30) + hemolysis + (not active_cancer) + (not solid_organ_or_stem_cell_transplant) + (mcv_fl<90) + (inr<1.5) + (creatinine_mg_dl<2.0); each 1; max 7; bands 0-4 / 5 / 6-7","hemolysis":true,"inr":1.1,"max_score":7,"mcv_fl":85,"plasmic_band":"6-7","platelets_10e9_l":15,"score":7,"solid_organ_or_stem_cell_transplant":false}],"path":"/api/calc/plasmic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_cancer":{"description":"Active cancer as assigned by the caller. true or false. 1 point when false (no active cancer).","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Scores 1 when <2.0; 2.0 does not score.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl.","type":"number"},"hemolysis":{"description":"Caller-assigned hemolysis (Bendapudi 2017: reticulocyte count >2.5% or undetectable haptoglobin or indirect bilirubin >2.0 mg/dL). true or false. magent does not assay. 1 point if true.","type":"boolean"},"inr":{"description":"INR (0.8-10). Scores 1 when <1.5; 1.5 does not score.","type":"number"},"mcv_fl":{"description":"Mean corpuscular volume in fL (50-120). Scores 1 when <90; 90.0 does not score.","type":"number"},"platelets_10e9_l":{"description":"Platelet count ×10^9/L (1-2000). Scores 1 when <30; 30 does not score (Bendapudi 2017).","type":"number"},"solid_organ_or_stem_cell_transplant":{"description":"History of solid-organ or stem-cell transplant as assigned by the caller. true or false. 1 point when false (no transplant history).","type":"boolean"}},"required":["platelets_10e9_l","hemolysis","active_cancer","solid_organ_or_stem_cell_transplant","mcv_fl","inr"],"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":["plasmic","tma","hematology","adamts13","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:59:06.136Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:59:06.013Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"active_cancer":false,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"hemolysis":true,"inr":1.1,"mcv_fl":85,"platelets_10e9_l":15,"solid_organ_or_stem_cell_transplant":false},{"active_cancer":false,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"hemolysis":true,"inr":1.1,"mcv_fl":85,"platelets_10e9_l":15,"solid_organ_or_stem_cell_transplant":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"active_cancer":false,"citation":{"authors":"Bendapudi PK, Hurwitz S, Fry A, et al.","doi":"10.1016/S2352-3026(17)30026-1","id":"bendapudi-2017","pmid":"28259520","source":"Lancet Haematol. 2017;4(4):e157-e164","title":"Derivation and external validation of the PLASMIC score for rapid assessment of adults with thrombotic microangiopathies: a cohort study"},"components":[{"factor":"platelets_lt_30","points":1,"present":true,"value":15},{"factor":"hemolysis","points":1,"present":true},{"factor":"no_active_cancer","points":1,"present":true},{"factor":"no_solid_organ_or_stem_cell_transplant","points":1,"present":true},{"factor":"mcv_lt_90","points":1,"present":true,"value":85},{"factor":"inr_lt_1_5","points":1,"present":true,"value":1.1},{"factor":"creatinine_lt_2","points":1,"present":true,"value":1}],"creatinine_mg_dl":1,"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":"plasmic","formula_expression":"PLASMIC = (platelets_10e9_l<30) + hemolysis + (not active_cancer) + (not solid_organ_or_stem_cell_transplant) + (mcv_fl<90) + (inr<1.5) + (creatinine_mg_dl<2.0); each 1; max 7; bands 0-4 / 5 / 6-7","hemolysis":true,"inr":1.1,"max_score":7,"mcv_fl":85,"plasmic_band":"6-7","platelets_10e9_l":15,"score":7,"solid_organ_or_stem_cell_transplant":false},{"active_cancer":false,"citation":{"authors":"Bendapudi PK, Hurwitz S, Fry A, et al.","doi":"10.1016/S2352-3026(17)30026-1","id":"bendapudi-2017","pmid":"28259520","source":"Lancet Haematol. 2017;4(4):e157-e164","title":"Derivation and external validation of the PLASMIC score for rapid assessment of adults with thrombotic microangiopathies: a cohort study"},"components":[{"factor":"platelets_lt_30","points":1,"present":true,"value":15},{"factor":"hemolysis","points":1,"present":true},{"factor":"no_active_cancer","points":1,"present":true},{"factor":"no_solid_organ_or_stem_cell_transplant","points":1,"present":true},{"factor":"mcv_lt_90","points":1,"present":true,"value":85},{"factor":"inr_lt_1_5","points":1,"present":true,"value":1.1},{"factor":"creatinine_lt_2","points":1,"present":true,"value":1}],"creatinine_mg_dl":1,"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":"plasmic","formula_expression":"PLASMIC = (platelets_10e9_l<30) + hemolysis + (not active_cancer) + (not solid_organ_or_stem_cell_transplant) + (mcv_fl<90) + (inr<1.5) + (creatinine_mg_dl<2.0); each 1; max 7; bands 0-4 / 5 / 6-7","hemolysis":true,"inr":1.1,"max_score":7,"mcv_fl":85,"plasmic_band":"6-7","platelets_10e9_l":15,"score":7,"solid_organ_or_stem_cell_transplant":false}],"path":"/api/calc/plasmic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_cancer":{"description":"Active cancer as assigned by the caller. true or false. 1 point when false (no active cancer).","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Scores 1 when <2.0; 2.0 does not score.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl.","type":"number"},"hemolysis":{"description":"Caller-assigned hemolysis (Bendapudi 2017: reticulocyte count >2.5% or undetectable haptoglobin or indirect bilirubin >2.0 mg/dL). true or false. magent does not assay. 1 point if true.","type":"boolean"},"inr":{"description":"INR (0.8-10). Scores 1 when <1.5; 1.5 does not score.","type":"number"},"mcv_fl":{"description":"Mean corpuscular volume in fL (50-120). Scores 1 when <90; 90.0 does not score.","type":"number"},"platelets_10e9_l":{"description":"Platelet count ×10^9/L (1-2000). Scores 1 when <30; 30 does not score (Bendapudi 2017).","type":"number"},"solid_organ_or_stem_cell_transplant":{"description":"History of solid-organ or stem-cell transplant as assigned by the caller. true or false. 1 point when false (no transplant history).","type":"boolean"}},"required":["platelets_10e9_l","hemolysis","active_cancer","solid_organ_or_stem_cell_transplant","mcv_fl","inr"],"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},{"id":39397,"slug":"39397","resource":"https://api.magentlab.com/api/calc/hep","description":"Cuker 2010 HEP score: eight features with signed weights (range -16 to 19). Magnitude of platelet fall, typical- or rapid-onset timing, nadir, thrombosis (at most one), SQ heparin skin necrosis, IV-bolus systemic reaction, bleeding, and other causes (select all; no other cause +3). Cutoff 2 was 100% sensitive / 60% specific vs the expert panel. Not a HIT diagnosis or 4Ts score. magent does not assay SRA or ELISA.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bleeding":false,"chronic_thrombocytopenia":false,"cpb_96h":false,"intra_arterial_device":false,"magnitude":"gt_50","nadir":"gt_20","new_drug_thrombocytopenia":false,"no_other_cause":true,"overt_dic":false,"severe_infection":false,"skin_necrosis":false,"systemic_reaction":false,"thrombosis":"typical_new_ge_4d","timing":"typical_5_10"},{"bleeding":false,"chronic_thrombocytopenia":false,"cpb_96h":false,"intra_arterial_device":false,"magnitude":"gt_50","nadir":"gt_20","new_drug_thrombocytopenia":false,"no_other_cause":true,"overt_dic":false,"severe_infection":false,"skin_necrosis":false,"systemic_reaction":false,"thrombosis":"typical_new_ge_4d","timing":"typical_5_10"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cuker A, Arepally G, Crowther MA, Rice L, Datko F, Hook K, Propert KJ, Kuter DJ, Ortel TL, Konkle BA, Cines DB","doi":"10.1111/j.1538-7836.2010.04059.x","id":"cuker-2010","pmid":"20854372","source":"J Thromb Haemost. 2010;8(12):2642-2650","title":"The HIT Expert Probability (HEP) Score: a novel pre-test probability model for heparin-induced thrombocytopenia based on broad expert opinion"},"components":[{"factor":"magnitude","points":3,"present":true,"value":"gt_50"},{"factor":"timing","points":3,"present":true,"value":"typical_5_10"},{"factor":"nadir","points":2,"present":true,"value":"gt_20"},{"factor":"thrombosis","points":3,"present":true,"value":"typical_new_ge_4d"},{"factor":"skin_necrosis","points":0,"present":false},{"factor":"systemic_reaction","points":0,"present":false},{"factor":"bleeding","points":0,"present":false},{"factor":"chronic_thrombocytopenia","points":0,"present":false},{"factor":"new_drug_thrombocytopenia","points":0,"present":false},{"factor":"severe_infection","points":0,"present":false},{"factor":"overt_dic","points":0,"present":false},{"factor":"intra_arterial_device","points":0,"present":false},{"factor":"cpb_96h","points":0,"present":false},{"factor":"no_other_cause","points":3,"present":true}],"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":"hep","formula_expression":"HEP = magnitude (lt_30 -1, 30_to_50 1, gt_50 3) + timing (typical_lt_4 -2, typical_day_4 2, typical_5_10 3, typical_11_14 2, typical_gt_14 -1; rapid_lt_48h 2, rapid_gt_48h -1) + nadir (le_20 -2, gt_20 2) + thrombosis select at most one (none 0; typical_new_ge_4d 3, typical_progression 2; rapid_new 3, rapid_progression 2) + skin_necrosis 3 + systemic_reaction 2 + bleeding -1 + other causes select all (chronic_thrombocytopenia -1, new_drug_thrombocytopenia -2, severe_infection -2, overt_dic -2, intra_arterial_device -2, cpb_96h -1, no_other_cause 3 mutually exclusive with other causes); Cuker 2010; range -16 to 19; cutoff 2 was 100% sensitive / 60% specific vs expert panel; cutoff 5 was 86% sensitive / 88% specific","max_score":19,"score":14,"score_ge_2":true,"score_ge_5":true},{"citation":{"authors":"Cuker A, Arepally G, Crowther MA, Rice L, Datko F, Hook K, Propert KJ, Kuter DJ, Ortel TL, Konkle BA, Cines DB","doi":"10.1111/j.1538-7836.2010.04059.x","id":"cuker-2010","pmid":"20854372","source":"J Thromb Haemost. 2010;8(12):2642-2650","title":"The HIT Expert Probability (HEP) Score: a novel pre-test probability model for heparin-induced thrombocytopenia based on broad expert opinion"},"components":[{"factor":"magnitude","points":3,"present":true,"value":"gt_50"},{"factor":"timing","points":3,"present":true,"value":"typical_5_10"},{"factor":"nadir","points":2,"present":true,"value":"gt_20"},{"factor":"thrombosis","points":3,"present":true,"value":"typical_new_ge_4d"},{"factor":"skin_necrosis","points":0,"present":false},{"factor":"systemic_reaction","points":0,"present":false},{"factor":"bleeding","points":0,"present":false},{"factor":"chronic_thrombocytopenia","points":0,"present":false},{"factor":"new_drug_thrombocytopenia","points":0,"present":false},{"factor":"severe_infection","points":0,"present":false},{"factor":"overt_dic","points":0,"present":false},{"factor":"intra_arterial_device","points":0,"present":false},{"factor":"cpb_96h","points":0,"present":false},{"factor":"no_other_cause","points":3,"present":true}],"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":"hep","formula_expression":"HEP = magnitude (lt_30 -1, 30_to_50 1, gt_50 3) + timing (typical_lt_4 -2, typical_day_4 2, typical_5_10 3, typical_11_14 2, typical_gt_14 -1; rapid_lt_48h 2, rapid_gt_48h -1) + nadir (le_20 -2, gt_20 2) + thrombosis select at most one (none 0; typical_new_ge_4d 3, typical_progression 2; rapid_new 3, rapid_progression 2) + skin_necrosis 3 + systemic_reaction 2 + bleeding -1 + other causes select all (chronic_thrombocytopenia -1, new_drug_thrombocytopenia -2, severe_infection -2, overt_dic -2, intra_arterial_device -2, cpb_96h -1, no_other_cause 3 mutually exclusive with other causes); Cuker 2010; range -16 to 19; cutoff 2 was 100% sensitive / 60% specific vs expert panel; cutoff 5 was 86% sensitive / 88% specific","max_score":19,"score":14,"score_ge_2":true,"score_ge_5":true}],"path":"/api/calc/hep"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bleeding":{"description":"Presence of bleeding, petechiae, or extensive bruising (Cuker 2010). true scores -1; false scores 0.","type":"boolean"},"chronic_thrombocytopenia":{"description":"Presence of a chronic thrombocytopenic disorder (Cuker 2010 other causes; select all that apply). true scores -1. Mutually exclusive with no_other_cause true.","type":"boolean"},"cpb_96h":{"description":"Cardiopulmonary bypass within the previous 96 hours (Cuker 2010). true scores -1. Mutually exclusive with no_other_cause true.","type":"boolean"},"intra_arterial_device":{"description":"Indwelling intra-arterial device (Cuker 2010 examples: IABP, VAD, ECMO). true scores -2. Mutually exclusive with no_other_cause true.","type":"boolean"},"magnitude":{"description":"Caller-assigned Cuker 2010 magnitude of platelet fall (peak to nadir since heparin exposure). lt_30 (<30%) scores -1; 30_to_50 (30-50%) scores 1; gt_50 (>50%) scores 3. magent does not grade platelet counts.","type":"string"},"nadir":{"description":"Caller-assigned Cuker 2010 nadir platelet count. le_20 (≤20 ×10^9/L) scores -2; gt_20 (>20 ×10^9/L) scores 2. magent does not take a raw platelet count.","type":"string"},"new_drug_thrombocytopenia":{"description":"Newly initiated non-heparin medication known to cause thrombocytopenia (Cuker 2010). true scores -2. Mutually exclusive with no_other_cause true.","type":"boolean"},"no_other_cause":{"description":"No other apparent cause of thrombocytopenia (Cuker 2010). true scores 3. Must be false if any other-cause flag is true.","type":"boolean"},"overt_dic":{"description":"Overt DIC as assigned by the caller (Cuker 2010: fibrinogen <100 mg/dL and D-dimer >5.0 μg/mL). true scores -2. magent does not assay fibrinogen or D-dimer. Mutually exclusive with no_other_cause true.","type":"boolean"},"severe_infection":{"description":"Severe infection as an other cause of thrombocytopenia (Cuker 2010). true scores -2. Mutually exclusive with no_other_cause true.","type":"boolean"},"skin_necrosis":{"description":"Skin necrosis at subcutaneous heparin injection sites (Cuker 2010). true scores 3; false scores 0. magent does not examine the skin.","type":"boolean"},"systemic_reaction":{"description":"Acute systemic reaction after intravenous heparin bolus (Cuker 2010). true scores 2; false scores 0.","type":"boolean"},"thrombosis":{"description":"Caller-assigned Cuker 2010 thrombosis (select at most one). none scores 0. Typical-onset: typical_new_ge_4d (new VTE or ATE ≥4 days after heparin) 3; typical_progression (progression of preexisting VTE or ATE while receiving heparin) 2. Rapid-onset: rapid_new (new VTE or ATE after heparin) 3; rapid_progression 2.","type":"string"},"timing":{"description":"Caller-assigned Cuker 2010 timing. Typical-onset: typical_lt_4 (fall begins <4 days) -2; typical_day_4 (day 4) 2; typical_5_10 (days 5-10) 3; typical_11_14 (days 11-14) 2; typical_gt_14 (>14 days) -1. Rapid-onset after re-exposure within 100 days: rapid_lt_48h (<48 h) 2; rapid_gt_48h (>48 h) -1. magent does not infer day of onset.","type":"string"}},"required":["magnitude","timing","nadir","thrombosis","skin_necrosis","systemic_reaction","bleeding","chronic_thrombocytopenia","new_drug_thrombocytopenia","severe_infection","overt_dic","intra_arterial_device","cpb_96h","no_other_cause"],"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":["hep","hit","heparin","thrombocytopenia","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:58:59.495Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:58:59.346Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bleeding":false,"chronic_thrombocytopenia":false,"cpb_96h":false,"intra_arterial_device":false,"magnitude":"gt_50","nadir":"gt_20","new_drug_thrombocytopenia":false,"no_other_cause":true,"overt_dic":false,"severe_infection":false,"skin_necrosis":false,"systemic_reaction":false,"thrombosis":"typical_new_ge_4d","timing":"typical_5_10"},{"bleeding":false,"chronic_thrombocytopenia":false,"cpb_96h":false,"intra_arterial_device":false,"magnitude":"gt_50","nadir":"gt_20","new_drug_thrombocytopenia":false,"no_other_cause":true,"overt_dic":false,"severe_infection":false,"skin_necrosis":false,"systemic_reaction":false,"thrombosis":"typical_new_ge_4d","timing":"typical_5_10"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cuker A, Arepally G, Crowther MA, Rice L, Datko F, Hook K, Propert KJ, Kuter DJ, Ortel TL, Konkle BA, Cines DB","doi":"10.1111/j.1538-7836.2010.04059.x","id":"cuker-2010","pmid":"20854372","source":"J Thromb Haemost. 2010;8(12):2642-2650","title":"The HIT Expert Probability (HEP) Score: a novel pre-test probability model for heparin-induced thrombocytopenia based on broad expert opinion"},"components":[{"factor":"magnitude","points":3,"present":true,"value":"gt_50"},{"factor":"timing","points":3,"present":true,"value":"typical_5_10"},{"factor":"nadir","points":2,"present":true,"value":"gt_20"},{"factor":"thrombosis","points":3,"present":true,"value":"typical_new_ge_4d"},{"factor":"skin_necrosis","points":0,"present":false},{"factor":"systemic_reaction","points":0,"present":false},{"factor":"bleeding","points":0,"present":false},{"factor":"chronic_thrombocytopenia","points":0,"present":false},{"factor":"new_drug_thrombocytopenia","points":0,"present":false},{"factor":"severe_infection","points":0,"present":false},{"factor":"overt_dic","points":0,"present":false},{"factor":"intra_arterial_device","points":0,"present":false},{"factor":"cpb_96h","points":0,"present":false},{"factor":"no_other_cause","points":3,"present":true}],"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":"hep","formula_expression":"HEP = magnitude (lt_30 -1, 30_to_50 1, gt_50 3) + timing (typical_lt_4 -2, typical_day_4 2, typical_5_10 3, typical_11_14 2, typical_gt_14 -1; rapid_lt_48h 2, rapid_gt_48h -1) + nadir (le_20 -2, gt_20 2) + thrombosis select at most one (none 0; typical_new_ge_4d 3, typical_progression 2; rapid_new 3, rapid_progression 2) + skin_necrosis 3 + systemic_reaction 2 + bleeding -1 + other causes select all (chronic_thrombocytopenia -1, new_drug_thrombocytopenia -2, severe_infection -2, overt_dic -2, intra_arterial_device -2, cpb_96h -1, no_other_cause 3 mutually exclusive with other causes); Cuker 2010; range -16 to 19; cutoff 2 was 100% sensitive / 60% specific vs expert panel; cutoff 5 was 86% sensitive / 88% specific","max_score":19,"score":14,"score_ge_2":true,"score_ge_5":true},{"citation":{"authors":"Cuker A, Arepally G, Crowther MA, Rice L, Datko F, Hook K, Propert KJ, Kuter DJ, Ortel TL, Konkle BA, Cines DB","doi":"10.1111/j.1538-7836.2010.04059.x","id":"cuker-2010","pmid":"20854372","source":"J Thromb Haemost. 2010;8(12):2642-2650","title":"The HIT Expert Probability (HEP) Score: a novel pre-test probability model for heparin-induced thrombocytopenia based on broad expert opinion"},"components":[{"factor":"magnitude","points":3,"present":true,"value":"gt_50"},{"factor":"timing","points":3,"present":true,"value":"typical_5_10"},{"factor":"nadir","points":2,"present":true,"value":"gt_20"},{"factor":"thrombosis","points":3,"present":true,"value":"typical_new_ge_4d"},{"factor":"skin_necrosis","points":0,"present":false},{"factor":"systemic_reaction","points":0,"present":false},{"factor":"bleeding","points":0,"present":false},{"factor":"chronic_thrombocytopenia","points":0,"present":false},{"factor":"new_drug_thrombocytopenia","points":0,"present":false},{"factor":"severe_infection","points":0,"present":false},{"factor":"overt_dic","points":0,"present":false},{"factor":"intra_arterial_device","points":0,"present":false},{"factor":"cpb_96h","points":0,"present":false},{"factor":"no_other_cause","points":3,"present":true}],"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":"hep","formula_expression":"HEP = magnitude (lt_30 -1, 30_to_50 1, gt_50 3) + timing (typical_lt_4 -2, typical_day_4 2, typical_5_10 3, typical_11_14 2, typical_gt_14 -1; rapid_lt_48h 2, rapid_gt_48h -1) + nadir (le_20 -2, gt_20 2) + thrombosis select at most one (none 0; typical_new_ge_4d 3, typical_progression 2; rapid_new 3, rapid_progression 2) + skin_necrosis 3 + systemic_reaction 2 + bleeding -1 + other causes select all (chronic_thrombocytopenia -1, new_drug_thrombocytopenia -2, severe_infection -2, overt_dic -2, intra_arterial_device -2, cpb_96h -1, no_other_cause 3 mutually exclusive with other causes); Cuker 2010; range -16 to 19; cutoff 2 was 100% sensitive / 60% specific vs expert panel; cutoff 5 was 86% sensitive / 88% specific","max_score":19,"score":14,"score_ge_2":true,"score_ge_5":true}],"path":"/api/calc/hep"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bleeding":{"description":"Presence of bleeding, petechiae, or extensive bruising (Cuker 2010). true scores -1; false scores 0.","type":"boolean"},"chronic_thrombocytopenia":{"description":"Presence of a chronic thrombocytopenic disorder (Cuker 2010 other causes; select all that apply). true scores -1. Mutually exclusive with no_other_cause true.","type":"boolean"},"cpb_96h":{"description":"Cardiopulmonary bypass within the previous 96 hours (Cuker 2010). true scores -1. Mutually exclusive with no_other_cause true.","type":"boolean"},"intra_arterial_device":{"description":"Indwelling intra-arterial device (Cuker 2010 examples: IABP, VAD, ECMO). true scores -2. Mutually exclusive with no_other_cause true.","type":"boolean"},"magnitude":{"description":"Caller-assigned Cuker 2010 magnitude of platelet fall (peak to nadir since heparin exposure). lt_30 (<30%) scores -1; 30_to_50 (30-50%) scores 1; gt_50 (>50%) scores 3. magent does not grade platelet counts.","type":"string"},"nadir":{"description":"Caller-assigned Cuker 2010 nadir platelet count. le_20 (≤20 ×10^9/L) scores -2; gt_20 (>20 ×10^9/L) scores 2. magent does not take a raw platelet count.","type":"string"},"new_drug_thrombocytopenia":{"description":"Newly initiated non-heparin medication known to cause thrombocytopenia (Cuker 2010). true scores -2. Mutually exclusive with no_other_cause true.","type":"boolean"},"no_other_cause":{"description":"No other apparent cause of thrombocytopenia (Cuker 2010). true scores 3. Must be false if any other-cause flag is true.","type":"boolean"},"overt_dic":{"description":"Overt DIC as assigned by the caller (Cuker 2010: fibrinogen <100 mg/dL and D-dimer >5.0 μg/mL). true scores -2. magent does not assay fibrinogen or D-dimer. Mutually exclusive with no_other_cause true.","type":"boolean"},"severe_infection":{"description":"Severe infection as an other cause of thrombocytopenia (Cuker 2010). true scores -2. Mutually exclusive with no_other_cause true.","type":"boolean"},"skin_necrosis":{"description":"Skin necrosis at subcutaneous heparin injection sites (Cuker 2010). true scores 3; false scores 0. magent does not examine the skin.","type":"boolean"},"systemic_reaction":{"description":"Acute systemic reaction after intravenous heparin bolus (Cuker 2010). true scores 2; false scores 0.","type":"boolean"},"thrombosis":{"description":"Caller-assigned Cuker 2010 thrombosis (select at most one). none scores 0. Typical-onset: typical_new_ge_4d (new VTE or ATE ≥4 days after heparin) 3; typical_progression (progression of preexisting VTE or ATE while receiving heparin) 2. Rapid-onset: rapid_new (new VTE or ATE after heparin) 3; rapid_progression 2.","type":"string"},"timing":{"description":"Caller-assigned Cuker 2010 timing. Typical-onset: typical_lt_4 (fall begins <4 days) -2; typical_day_4 (day 4) 2; typical_5_10 (days 5-10) 3; typical_11_14 (days 11-14) 2; typical_gt_14 (>14 days) -1. Rapid-onset after re-exposure within 100 days: rapid_lt_48h (<48 h) 2; rapid_gt_48h (>48 h) -1. magent does not infer day of onset.","type":"string"}},"required":["magnitude","timing","nadir","thrombosis","skin_necrosis","systemic_reaction","bleeding","chronic_thrombocytopenia","new_drug_thrombocytopenia","severe_infection","overt_dic","intra_arterial_device","cpb_96h","no_other_cause"],"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},{"id":39398,"slug":"39398","resource":"https://api.magentlab.com/api/calc/four_ts","description":"4Ts score (Lo 2006) for heparin-induced thrombocytopenia pretest probability. Four caller-assigned integers 0-2 (thrombocytopenia, timing, thrombosis, other causes) using the published table; magent sums only (max 8). Bands 0-3 low, 4-5 intermediate, and 6-8 high pretest probability. Not a diagnosis of HIT, not the HEP score, and not an antibody result. magent does not grade platelet counts or day of onset.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"other_causes":0,"thrombocytopenia":0,"thrombosis":0,"timing":0},{"other_causes":0,"thrombocytopenia":0,"thrombosis":0,"timing":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lo GK, Juhl D, Warkentin TE, Sigouin CS, Eichler P, Greinacher A","doi":"10.1111/j.1538-7836.2006.01787.x","id":"lo-2006","source":"J Thromb Haemost. 2006;4(4):759-765","title":"Evaluation of pretest clinical score (4 T's) for the diagnosis of heparin-induced thrombocytopenia in two clinical settings"},"components":[{"factor":"thrombocytopenia","points":0,"present":false,"value":0},{"factor":"timing","points":0,"present":false,"value":0},{"factor":"thrombosis","points":0,"present":false,"value":0},{"factor":"other_causes","points":0,"present":false,"value":0}],"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":"four_ts","formula_expression":"4Ts = thrombocytopenia + timing + thrombosis + other_causes; each 0-2 caller-assigned from Lo 2006 table; pretest probability low 0-3, intermediate 4-5, high 6-8; max 8","four_ts_band":"0-3","max_score":8,"score":0},{"citation":{"authors":"Lo GK, Juhl D, Warkentin TE, Sigouin CS, Eichler P, Greinacher A","doi":"10.1111/j.1538-7836.2006.01787.x","id":"lo-2006","source":"J Thromb Haemost. 2006;4(4):759-765","title":"Evaluation of pretest clinical score (4 T's) for the diagnosis of heparin-induced thrombocytopenia in two clinical settings"},"components":[{"factor":"thrombocytopenia","points":0,"present":false,"value":0},{"factor":"timing","points":0,"present":false,"value":0},{"factor":"thrombosis","points":0,"present":false,"value":0},{"factor":"other_causes","points":0,"present":false,"value":0}],"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":"four_ts","formula_expression":"4Ts = thrombocytopenia + timing + thrombosis + other_causes; each 0-2 caller-assigned from Lo 2006 table; pretest probability low 0-3, intermediate 4-5, high 6-8; max 8","four_ts_band":"0-3","max_score":8,"score":0}],"path":"/api/calc/four_ts"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"other_causes":{"description":"Caller-assigned Lo 2006 other (oTher) causes of thrombocytopenia (0, 1, or 2). More points = more HIT-like. 2: no other apparent cause. 1: possible other cause. 0: definite other cause.","type":"integer"},"thrombocytopenia":{"description":"Caller-assigned Lo 2006 thrombocytopenia points (0, 1, or 2). magent does not grade platelet counts. 2: platelet fall >50% AND nadir >=20. 1: fall 30-50% OR nadir 10-19. 0: fall <30% OR nadir <10.","type":"integer"},"thrombosis":{"description":"Caller-assigned Lo 2006 thrombosis points (0, 1, or 2). 2: new thrombosis, skin necrosis, or acute systemic reaction after heparin bolus. 1: progressive/recurrent thrombosis, silent thrombosis, or erythematous skin lesions. 0: none.","type":"integer"},"timing":{"description":"Caller-assigned Lo 2006 timing points (0, 1, or 2). magent does not infer day of onset. 2: clear onset days 5-10, or <=1 day with prior heparin within 30 days. 1: consistent with days 5-10 but not clear; onset after day 10; or <=1 day with heparin 30-100 days ago. 0: fall too early without recent heparin.","type":"integer"}},"required":["thrombocytopenia","timing","thrombosis","other_causes"],"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":["four-ts","hit","heparin","thrombocytopenia","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:58:52.117Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:58:51.99Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"other_causes":0,"thrombocytopenia":0,"thrombosis":0,"timing":0},{"other_causes":0,"thrombocytopenia":0,"thrombosis":0,"timing":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lo GK, Juhl D, Warkentin TE, Sigouin CS, Eichler P, Greinacher A","doi":"10.1111/j.1538-7836.2006.01787.x","id":"lo-2006","source":"J Thromb Haemost. 2006;4(4):759-765","title":"Evaluation of pretest clinical score (4 T's) for the diagnosis of heparin-induced thrombocytopenia in two clinical settings"},"components":[{"factor":"thrombocytopenia","points":0,"present":false,"value":0},{"factor":"timing","points":0,"present":false,"value":0},{"factor":"thrombosis","points":0,"present":false,"value":0},{"factor":"other_causes","points":0,"present":false,"value":0}],"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":"four_ts","formula_expression":"4Ts = thrombocytopenia + timing + thrombosis + other_causes; each 0-2 caller-assigned from Lo 2006 table; pretest probability low 0-3, intermediate 4-5, high 6-8; max 8","four_ts_band":"0-3","max_score":8,"score":0},{"citation":{"authors":"Lo GK, Juhl D, Warkentin TE, Sigouin CS, Eichler P, Greinacher A","doi":"10.1111/j.1538-7836.2006.01787.x","id":"lo-2006","source":"J Thromb Haemost. 2006;4(4):759-765","title":"Evaluation of pretest clinical score (4 T's) for the diagnosis of heparin-induced thrombocytopenia in two clinical settings"},"components":[{"factor":"thrombocytopenia","points":0,"present":false,"value":0},{"factor":"timing","points":0,"present":false,"value":0},{"factor":"thrombosis","points":0,"present":false,"value":0},{"factor":"other_causes","points":0,"present":false,"value":0}],"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":"four_ts","formula_expression":"4Ts = thrombocytopenia + timing + thrombosis + other_causes; each 0-2 caller-assigned from Lo 2006 table; pretest probability low 0-3, intermediate 4-5, high 6-8; max 8","four_ts_band":"0-3","max_score":8,"score":0}],"path":"/api/calc/four_ts"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"other_causes":{"description":"Caller-assigned Lo 2006 other (oTher) causes of thrombocytopenia (0, 1, or 2). More points = more HIT-like. 2: no other apparent cause. 1: possible other cause. 0: definite other cause.","type":"integer"},"thrombocytopenia":{"description":"Caller-assigned Lo 2006 thrombocytopenia points (0, 1, or 2). magent does not grade platelet counts. 2: platelet fall >50% AND nadir >=20. 1: fall 30-50% OR nadir 10-19. 0: fall <30% OR nadir <10.","type":"integer"},"thrombosis":{"description":"Caller-assigned Lo 2006 thrombosis points (0, 1, or 2). 2: new thrombosis, skin necrosis, or acute systemic reaction after heparin bolus. 1: progressive/recurrent thrombosis, silent thrombosis, or erythematous skin lesions. 0: none.","type":"integer"},"timing":{"description":"Caller-assigned Lo 2006 timing points (0, 1, or 2). magent does not infer day of onset. 2: clear onset days 5-10, or <=1 day with prior heparin within 30 days. 1: consistent with days 5-10 but not clear; onset after day 10; or <=1 day with heparin 30-100 days ago. 0: fall too early without recent heparin.","type":"integer"}},"required":["thrombocytopenia","timing","thrombosis","other_causes"],"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},{"id":39399,"slug":"39399","resource":"https://api.magentlab.com/api/calc/imwg_response","description":"Kumar 2016 IMWG measurable serum+urine M-protein response. First-match PD, sCR, CR, VGPR, PR, MR, or SD from caller-assigned flags. sCR is CR plus normal FLC ratio and no clonal BM cells by IHC. CR is negative serum and urine IFE, no plasmacytomas, and BMPC <5%. VGPR is electrophoresis-negative or ≥90% serum M-protein reduction with urine M-protein <100 mg/24 h. Not a diagnosis. Not MRD. Not FLC-only. magent does not assay labs.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bmpc_lt_5":true,"electrophoresis_negative":false,"flc_ratio_normal":true,"ife_serum_negative":true,"ife_urine_negative":true,"imwg_pd":false,"no_clonal_cells_ihc":true,"plasmacytomas_absent":true,"serum_m_reduction_25_to_49":false,"serum_m_reduction_ge_50":false,"serum_m_reduction_ge_90":false,"urine_m_lt_100":false,"urine_m_pr":false,"urine_m_reduction_50_to_89":false},{"bmpc_lt_5":true,"electrophoresis_negative":false,"flc_ratio_normal":true,"ife_serum_negative":true,"ife_urine_negative":true,"imwg_pd":false,"no_clonal_cells_ihc":true,"plasmacytomas_absent":true,"serum_m_reduction_25_to_49":false,"serum_m_reduction_ge_50":false,"serum_m_reduction_ge_90":false,"urine_m_lt_100":false,"urine_m_pr":false,"urine_m_reduction_50_to_89":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kumar S, Paiva B, Anderson KC, Durie B, Landgren O, Moreau P, Munshi N, Lonial S, Bladé J, Mateos MV, Dimopoulos M, Kastritis E, Boccadoro M, Orlowski R, Zamagni E, Palumbo A, San Miguel J, Avet-Loiseau H, Goldschmidt H, van de Donk NWCJ, et al.","doi":"10.1016/S1470-2045(16)30206-6","id":"kumar-2016","pmid":"27511158","source":"Lancet Oncol. 2016;17(8):e328-e346","title":"International Myeloma Working Group consensus criteria for response and minimal residual disease assessment in multiple myeloma"},"cr_bits":true,"criteria":[{"factor":"imwg_pd","met":false},{"factor":"ife_serum_negative","met":true},{"factor":"ife_urine_negative","met":true},{"factor":"plasmacytomas_absent","met":true},{"factor":"bmpc_lt_5","met":true},{"factor":"cr_bits","met":true},{"factor":"flc_ratio_normal","met":true},{"factor":"no_clonal_cells_ihc","met":true},{"factor":"electrophoresis_negative","met":false},{"factor":"serum_m_reduction_ge_90","met":false},{"factor":"urine_m_lt_100","met":false},{"factor":"serum_m_reduction_ge_50","met":false},{"factor":"urine_m_pr","met":false},{"factor":"serum_m_reduction_25_to_49","met":false},{"factor":"urine_m_reduction_50_to_89","met":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":"imwg_response","formula_expression":"Kumar 2016 IMWG measurable serum+urine M-protein response, first-match: PD if imwg_pd; else sCR iff CR_bits and flc_ratio_normal and no_clonal_cells_ihc; else CR iff CR_bits; else VGPR iff electrophoresis_negative or (serum_m_reduction_ge_90 and urine_m_lt_100); else PR iff serum_m_reduction_ge_50 and urine_m_pr; else MR iff serum_m_reduction_25_to_49 and urine_m_reduction_50_to_89; else SD. CR_bits = ife_serum_negative and ife_urine_negative and plasmacytomas_absent and bmpc_lt_5 (strictly <5% marrow plasma cells). Not FLC-only or nonsecretory. Not MRD. Not a diagnosis","imwg_response":"sCR"},{"citation":{"authors":"Kumar S, Paiva B, Anderson KC, Durie B, Landgren O, Moreau P, Munshi N, Lonial S, Bladé J, Mateos MV, Dimopoulos M, Kastritis E, Boccadoro M, Orlowski R, Zamagni E, Palumbo A, San Miguel J, Avet-Loiseau H, Goldschmidt H, van de Donk NWCJ, et al.","doi":"10.1016/S1470-2045(16)30206-6","id":"kumar-2016","pmid":"27511158","source":"Lancet Oncol. 2016;17(8):e328-e346","title":"International Myeloma Working Group consensus criteria for response and minimal residual disease assessment in multiple myeloma"},"cr_bits":true,"criteria":[{"factor":"imwg_pd","met":false},{"factor":"ife_serum_negative","met":true},{"factor":"ife_urine_negative","met":true},{"factor":"plasmacytomas_absent","met":true},{"factor":"bmpc_lt_5","met":true},{"factor":"cr_bits","met":true},{"factor":"flc_ratio_normal","met":true},{"factor":"no_clonal_cells_ihc","met":true},{"factor":"electrophoresis_negative","met":false},{"factor":"serum_m_reduction_ge_90","met":false},{"factor":"urine_m_lt_100","met":false},{"factor":"serum_m_reduction_ge_50","met":false},{"factor":"urine_m_pr","met":false},{"factor":"serum_m_reduction_25_to_49","met":false},{"factor":"urine_m_reduction_50_to_89","met":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":"imwg_response","formula_expression":"Kumar 2016 IMWG measurable serum+urine M-protein response, first-match: PD if imwg_pd; else sCR iff CR_bits and flc_ratio_normal and no_clonal_cells_ihc; else CR iff CR_bits; else VGPR iff electrophoresis_negative or (serum_m_reduction_ge_90 and urine_m_lt_100); else PR iff serum_m_reduction_ge_50 and urine_m_pr; else MR iff serum_m_reduction_25_to_49 and urine_m_reduction_50_to_89; else SD. CR_bits = ife_serum_negative and ife_urine_negative and plasmacytomas_absent and bmpc_lt_5 (strictly <5% marrow plasma cells). Not FLC-only or nonsecretory. Not MRD. Not a diagnosis","imwg_response":"sCR"}],"path":"/api/calc/imwg_response"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmpc_lt_5":{"description":"<5% plasma cells in bone marrow aspirates as assigned by the caller (Kumar 2016 CR; strictly fewer than 5%, not ≤5%). true or false. magent does not read a marrow.","type":"boolean"},"electrophoresis_negative":{"description":"Serum and urine M-protein detectable by immunofixation but not electrophoresis, as assigned by the caller (Kumar 2016 VGPR). true or false. magent does not perform electrophoresis.","type":"boolean"},"flc_ratio_normal":{"description":"Normal serum free light-chain ratio as assigned by the caller (Kumar 2016 sCR). true or false. magent does not assay free light chains.","type":"boolean"},"ife_serum_negative":{"description":"Negative immunofixation on serum, as assigned by the caller (Kumar 2016 CR). true or false. magent does not perform immunofixation.","type":"boolean"},"ife_urine_negative":{"description":"Negative immunofixation on urine, as assigned by the caller (Kumar 2016 CR). true or false. magent does not perform immunofixation.","type":"boolean"},"imwg_pd":{"description":"Progressive disease as assigned by the caller using IMWG PD rules (Kumar 2016). true or false. When true, response is PD regardless of CR or M-protein reduction flags. magent does not compute PD from serial M-protein, FLC, or imaging values.","type":"boolean"},"no_clonal_cells_ihc":{"description":"Absence of clonal cells in bone marrow biopsy by immunohistochemistry as assigned by the caller (Kumar 2016 sCR). true or false. magent does not read immunohistochemistry.","type":"boolean"},"plasmacytomas_absent":{"description":"Disappearance of soft-tissue plasmacytomas, as assigned by the caller (Kumar 2016 CR). true or false. magent does not read imaging or examine plasmacytomas.","type":"boolean"},"serum_m_reduction_25_to_49":{"description":"≥25% but ≤49% reduction of serum M-protein from baseline as assigned by the caller (Kumar 2016 MR). true or false. magent does not assay M-protein.","type":"boolean"},"serum_m_reduction_ge_50":{"description":"≥50% reduction of serum M-protein from baseline as assigned by the caller (Kumar 2016 PR). true or false. magent does not assay M-protein.","type":"boolean"},"serum_m_reduction_ge_90":{"description":"≥90% reduction in serum M-protein from baseline as assigned by the caller (Kumar 2016 VGPR). true or false. magent does not assay M-protein.","type":"boolean"},"urine_m_lt_100":{"description":"Urine M-protein <100 mg per 24 h as assigned by the caller (Kumar 2016 VGPR). true or false. magent does not assay urine M-protein.","type":"boolean"},"urine_m_pr":{"description":"Reduction in 24 h urinary M-protein by ≥90% or to <200 mg per 24 h, as assigned by the caller as this one flag (Kumar 2016 PR). true or false. magent does not assay urine M-protein.","type":"boolean"},"urine_m_reduction_50_to_89":{"description":"50–89% reduction of 24 h urine M-protein as assigned by the caller (Kumar 2016 MR). true or false. magent does not assay urine M-protein.","type":"boolean"}},"required":["imwg_pd","ife_serum_negative","ife_urine_negative","plasmacytomas_absent","bmpc_lt_5","flc_ratio_normal","no_clonal_cells_ihc","electrophoresis_negative","serum_m_reduction_ge_90","urine_m_lt_100","serum_m_reduction_ge_50","urine_m_pr","serum_m_reduction_25_to_49","urine_m_reduction_50_to_89"],"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":["imwg","myeloma","response","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:58:38.161Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:58:38.025Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bmpc_lt_5":true,"electrophoresis_negative":false,"flc_ratio_normal":true,"ife_serum_negative":true,"ife_urine_negative":true,"imwg_pd":false,"no_clonal_cells_ihc":true,"plasmacytomas_absent":true,"serum_m_reduction_25_to_49":false,"serum_m_reduction_ge_50":false,"serum_m_reduction_ge_90":false,"urine_m_lt_100":false,"urine_m_pr":false,"urine_m_reduction_50_to_89":false},{"bmpc_lt_5":true,"electrophoresis_negative":false,"flc_ratio_normal":true,"ife_serum_negative":true,"ife_urine_negative":true,"imwg_pd":false,"no_clonal_cells_ihc":true,"plasmacytomas_absent":true,"serum_m_reduction_25_to_49":false,"serum_m_reduction_ge_50":false,"serum_m_reduction_ge_90":false,"urine_m_lt_100":false,"urine_m_pr":false,"urine_m_reduction_50_to_89":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kumar S, Paiva B, Anderson KC, Durie B, Landgren O, Moreau P, Munshi N, Lonial S, Bladé J, Mateos MV, Dimopoulos M, Kastritis E, Boccadoro M, Orlowski R, Zamagni E, Palumbo A, San Miguel J, Avet-Loiseau H, Goldschmidt H, van de Donk NWCJ, et al.","doi":"10.1016/S1470-2045(16)30206-6","id":"kumar-2016","pmid":"27511158","source":"Lancet Oncol. 2016;17(8):e328-e346","title":"International Myeloma Working Group consensus criteria for response and minimal residual disease assessment in multiple myeloma"},"cr_bits":true,"criteria":[{"factor":"imwg_pd","met":false},{"factor":"ife_serum_negative","met":true},{"factor":"ife_urine_negative","met":true},{"factor":"plasmacytomas_absent","met":true},{"factor":"bmpc_lt_5","met":true},{"factor":"cr_bits","met":true},{"factor":"flc_ratio_normal","met":true},{"factor":"no_clonal_cells_ihc","met":true},{"factor":"electrophoresis_negative","met":false},{"factor":"serum_m_reduction_ge_90","met":false},{"factor":"urine_m_lt_100","met":false},{"factor":"serum_m_reduction_ge_50","met":false},{"factor":"urine_m_pr","met":false},{"factor":"serum_m_reduction_25_to_49","met":false},{"factor":"urine_m_reduction_50_to_89","met":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":"imwg_response","formula_expression":"Kumar 2016 IMWG measurable serum+urine M-protein response, first-match: PD if imwg_pd; else sCR iff CR_bits and flc_ratio_normal and no_clonal_cells_ihc; else CR iff CR_bits; else VGPR iff electrophoresis_negative or (serum_m_reduction_ge_90 and urine_m_lt_100); else PR iff serum_m_reduction_ge_50 and urine_m_pr; else MR iff serum_m_reduction_25_to_49 and urine_m_reduction_50_to_89; else SD. CR_bits = ife_serum_negative and ife_urine_negative and plasmacytomas_absent and bmpc_lt_5 (strictly <5% marrow plasma cells). Not FLC-only or nonsecretory. Not MRD. Not a diagnosis","imwg_response":"sCR"},{"citation":{"authors":"Kumar S, Paiva B, Anderson KC, Durie B, Landgren O, Moreau P, Munshi N, Lonial S, Bladé J, Mateos MV, Dimopoulos M, Kastritis E, Boccadoro M, Orlowski R, Zamagni E, Palumbo A, San Miguel J, Avet-Loiseau H, Goldschmidt H, van de Donk NWCJ, et al.","doi":"10.1016/S1470-2045(16)30206-6","id":"kumar-2016","pmid":"27511158","source":"Lancet Oncol. 2016;17(8):e328-e346","title":"International Myeloma Working Group consensus criteria for response and minimal residual disease assessment in multiple myeloma"},"cr_bits":true,"criteria":[{"factor":"imwg_pd","met":false},{"factor":"ife_serum_negative","met":true},{"factor":"ife_urine_negative","met":true},{"factor":"plasmacytomas_absent","met":true},{"factor":"bmpc_lt_5","met":true},{"factor":"cr_bits","met":true},{"factor":"flc_ratio_normal","met":true},{"factor":"no_clonal_cells_ihc","met":true},{"factor":"electrophoresis_negative","met":false},{"factor":"serum_m_reduction_ge_90","met":false},{"factor":"urine_m_lt_100","met":false},{"factor":"serum_m_reduction_ge_50","met":false},{"factor":"urine_m_pr","met":false},{"factor":"serum_m_reduction_25_to_49","met":false},{"factor":"urine_m_reduction_50_to_89","met":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":"imwg_response","formula_expression":"Kumar 2016 IMWG measurable serum+urine M-protein response, first-match: PD if imwg_pd; else sCR iff CR_bits and flc_ratio_normal and no_clonal_cells_ihc; else CR iff CR_bits; else VGPR iff electrophoresis_negative or (serum_m_reduction_ge_90 and urine_m_lt_100); else PR iff serum_m_reduction_ge_50 and urine_m_pr; else MR iff serum_m_reduction_25_to_49 and urine_m_reduction_50_to_89; else SD. CR_bits = ife_serum_negative and ife_urine_negative and plasmacytomas_absent and bmpc_lt_5 (strictly <5% marrow plasma cells). Not FLC-only or nonsecretory. Not MRD. Not a diagnosis","imwg_response":"sCR"}],"path":"/api/calc/imwg_response"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmpc_lt_5":{"description":"<5% plasma cells in bone marrow aspirates as assigned by the caller (Kumar 2016 CR; strictly fewer than 5%, not ≤5%). true or false. magent does not read a marrow.","type":"boolean"},"electrophoresis_negative":{"description":"Serum and urine M-protein detectable by immunofixation but not electrophoresis, as assigned by the caller (Kumar 2016 VGPR). true or false. magent does not perform electrophoresis.","type":"boolean"},"flc_ratio_normal":{"description":"Normal serum free light-chain ratio as assigned by the caller (Kumar 2016 sCR). true or false. magent does not assay free light chains.","type":"boolean"},"ife_serum_negative":{"description":"Negative immunofixation on serum, as assigned by the caller (Kumar 2016 CR). true or false. magent does not perform immunofixation.","type":"boolean"},"ife_urine_negative":{"description":"Negative immunofixation on urine, as assigned by the caller (Kumar 2016 CR). true or false. magent does not perform immunofixation.","type":"boolean"},"imwg_pd":{"description":"Progressive disease as assigned by the caller using IMWG PD rules (Kumar 2016). true or false. When true, response is PD regardless of CR or M-protein reduction flags. magent does not compute PD from serial M-protein, FLC, or imaging values.","type":"boolean"},"no_clonal_cells_ihc":{"description":"Absence of clonal cells in bone marrow biopsy by immunohistochemistry as assigned by the caller (Kumar 2016 sCR). true or false. magent does not read immunohistochemistry.","type":"boolean"},"plasmacytomas_absent":{"description":"Disappearance of soft-tissue plasmacytomas, as assigned by the caller (Kumar 2016 CR). true or false. magent does not read imaging or examine plasmacytomas.","type":"boolean"},"serum_m_reduction_25_to_49":{"description":"≥25% but ≤49% reduction of serum M-protein from baseline as assigned by the caller (Kumar 2016 MR). true or false. magent does not assay M-protein.","type":"boolean"},"serum_m_reduction_ge_50":{"description":"≥50% reduction of serum M-protein from baseline as assigned by the caller (Kumar 2016 PR). true or false. magent does not assay M-protein.","type":"boolean"},"serum_m_reduction_ge_90":{"description":"≥90% reduction in serum M-protein from baseline as assigned by the caller (Kumar 2016 VGPR). true or false. magent does not assay M-protein.","type":"boolean"},"urine_m_lt_100":{"description":"Urine M-protein <100 mg per 24 h as assigned by the caller (Kumar 2016 VGPR). true or false. magent does not assay urine M-protein.","type":"boolean"},"urine_m_pr":{"description":"Reduction in 24 h urinary M-protein by ≥90% or to <200 mg per 24 h, as assigned by the caller as this one flag (Kumar 2016 PR). true or false. magent does not assay urine M-protein.","type":"boolean"},"urine_m_reduction_50_to_89":{"description":"50–89% reduction of 24 h urine M-protein as assigned by the caller (Kumar 2016 MR). true or false. magent does not assay urine M-protein.","type":"boolean"}},"required":["imwg_pd","ife_serum_negative","ife_urine_negative","plasmacytomas_absent","bmpc_lt_5","flc_ratio_normal","no_clonal_cells_ihc","electrophoresis_negative","serum_m_reduction_ge_90","urine_m_lt_100","serum_m_reduction_ge_50","urine_m_pr","serum_m_reduction_25_to_49","urine_m_reduction_50_to_89"],"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},{"id":39400,"slug":"39400","resource":"https://api.magentlab.com/api/calc/imwg_myeloma","description":"IMWG 2014 myeloma requiring therapy (Rajkumar 2014). Met when clonal BMPC ≥10% or biopsy-proven plasmacytoma plus ≥1 MDE: hypercalcemia, renal insufficiency, anemia, osteolytic lesion (CRAB), or BMPC ≥60%, involved:uninvolved FLC ratio ≥100 with involved FLC ≥100 mg/L, or >1 focal MRI lesion ≥5 mm (SLiM). Not a diagnosis. Not smouldering MM, MGUS, POEMS, or amyloid. Not Greipp ISS or R-ISS. magent does not assay calcium, creatinine, hemoglobin, or FLC, and does not read MRI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anemia":false,"bmpc_ge_60":false,"clonal_bmpc_ge_10_or_plasmacytoma":true,"flc_ratio_ge_100":false,"hypercalcemia":true,"mri_gt_1_focal":false,"osteolytic_lesion":false,"renal_insufficiency":false},{"anemia":false,"bmpc_ge_60":false,"clonal_bmpc_ge_10_or_plasmacytoma":true,"flc_ratio_ge_100":false,"hypercalcemia":true,"mri_gt_1_focal":false,"osteolytic_lesion":false,"renal_insufficiency":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anemia":false,"any_mde":true,"bmpc_ge_60":false,"citation":{"authors":"Rajkumar SV, Dimopoulos MA, Palumbo A, Blade J, Merlini G, Mateos MV, Kumar S, Hillengass J, Kastritis E, Richardson P, Landgren O, Paiva B, Dispenzieri A, Weiss B, LeLeu X, Zweegman S, Lonial S, Rosinol L, Zamagni E, Jagannath S, Sezer O, Kristinsson SY, Caers J, Usmani SZ, Lahuerta JJ, Johnsen HE, Beksac M, Cavo M, Goldschmidt H, Terpos E, Kyle RA, Anderson KC, Durie BGM, San Miguel JF","doi":"10.1016/S1470-2045(14)70442-5","id":"rajkumar-2014","pmid":"25439696","source":"Lancet Oncol. 2014;15(12):e538-e548","title":"International Myeloma Working Group updated criteria for the diagnosis of multiple myeloma"},"clonal_bmpc_ge_10_or_plasmacytoma":true,"criteria":[{"factor":"clonal_bmpc_ge_10_or_plasmacytoma","met":true},{"factor":"hypercalcemia","met":true},{"factor":"renal_insufficiency","met":false},{"factor":"anemia","met":false},{"factor":"osteolytic_lesion","met":false},{"factor":"bmpc_ge_60","met":false},{"factor":"flc_ratio_ge_100","met":false},{"factor":"mri_gt_1_focal","met":false},{"factor":"any_mde","met":true}],"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.","flc_ratio_ge_100":false,"formula":"imwg_myeloma","formula_expression":"myeloma iff clonal_bmpc_ge_10_or_plasmacytoma and ≥1 myeloma-defining event (hypercalcemia, renal_insufficiency, anemia, osteolytic_lesion, bmpc_ge_60, flc_ratio_ge_100, or mri_gt_1_focal) (Rajkumar 2014 IMWG definition of multiple myeloma requiring therapy). Not a diagnosis. Not smouldering MM, MGUS, POEMS, or amyloid. Not Greipp ISS. Not R-ISS","hypercalcemia":true,"mri_gt_1_focal":false,"myeloma":true,"osteolytic_lesion":false,"renal_insufficiency":false},{"anemia":false,"any_mde":true,"bmpc_ge_60":false,"citation":{"authors":"Rajkumar SV, Dimopoulos MA, Palumbo A, Blade J, Merlini G, Mateos MV, Kumar S, Hillengass J, Kastritis E, Richardson P, Landgren O, Paiva B, Dispenzieri A, Weiss B, LeLeu X, Zweegman S, Lonial S, Rosinol L, Zamagni E, Jagannath S, Sezer O, Kristinsson SY, Caers J, Usmani SZ, Lahuerta JJ, Johnsen HE, Beksac M, Cavo M, Goldschmidt H, Terpos E, Kyle RA, Anderson KC, Durie BGM, San Miguel JF","doi":"10.1016/S1470-2045(14)70442-5","id":"rajkumar-2014","pmid":"25439696","source":"Lancet Oncol. 2014;15(12):e538-e548","title":"International Myeloma Working Group updated criteria for the diagnosis of multiple myeloma"},"clonal_bmpc_ge_10_or_plasmacytoma":true,"criteria":[{"factor":"clonal_bmpc_ge_10_or_plasmacytoma","met":true},{"factor":"hypercalcemia","met":true},{"factor":"renal_insufficiency","met":false},{"factor":"anemia","met":false},{"factor":"osteolytic_lesion","met":false},{"factor":"bmpc_ge_60","met":false},{"factor":"flc_ratio_ge_100","met":false},{"factor":"mri_gt_1_focal","met":false},{"factor":"any_mde","met":true}],"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.","flc_ratio_ge_100":false,"formula":"imwg_myeloma","formula_expression":"myeloma iff clonal_bmpc_ge_10_or_plasmacytoma and ≥1 myeloma-defining event (hypercalcemia, renal_insufficiency, anemia, osteolytic_lesion, bmpc_ge_60, flc_ratio_ge_100, or mri_gt_1_focal) (Rajkumar 2014 IMWG definition of multiple myeloma requiring therapy). Not a diagnosis. Not smouldering MM, MGUS, POEMS, or amyloid. Not Greipp ISS. Not R-ISS","hypercalcemia":true,"mri_gt_1_focal":false,"myeloma":true,"osteolytic_lesion":false,"renal_insufficiency":false}],"path":"/api/calc/imwg_myeloma"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia":{"description":"Anemia as assigned by the caller (Rajkumar 2014 CRAB): hemoglobin value >20 g/L below the lower limit of normal or hemoglobin <100 g/L. true or false. magent does not assay hemoglobin.","type":"boolean"},"bmpc_ge_60":{"description":"Clonal bone marrow plasma cells ≥60%, as assigned by the caller (Rajkumar 2014 SLiM). true or false. magent does not read a marrow.","type":"boolean"},"clonal_bmpc_ge_10_or_plasmacytoma":{"description":"Clonal bone marrow plasma cells ≥10% or biopsy-proven bony or extramedullary plasmacytoma, as assigned by the caller (Rajkumar 2014 IMWG entry for myeloma requiring therapy). true or false. When false, myeloma is false even if a myeloma-defining event is true. magent does not read a marrow or biopsy.","type":"boolean"},"flc_ratio_ge_100":{"description":"Involved:uninvolved serum free light-chain ratio ≥100 and involved free light chain ≥100 mg/L, as assigned by the caller as this one flag (Rajkumar 2014 SLiM). true or false. magent does not assay free light chains.","type":"boolean"},"hypercalcemia":{"description":"Hypercalcemia as assigned by the caller (Rajkumar 2014 CRAB): serum calcium >0.25 mmol/L (>1 mg/dL) above the upper limit of normal or >2.75 mmol/L (>11 mg/dL). true or false. magent does not assay calcium.","type":"boolean"},"mri_gt_1_focal":{"description":">1 focal lesion on MRI, each ≥5 mm, as assigned by the caller (Rajkumar 2014 SLiM). true or false. magent does not read MRI.","type":"boolean"},"osteolytic_lesion":{"description":"One or more osteolytic lesions on skeletal radiography, CT, or PET-CT, as assigned by the caller (Rajkumar 2014 CRAB). If marrow clonal plasma cells are <10%, more than one bone lesion is required to distinguish solitary plasmacytoma; that is the caller’s assignment of this flag. true or false. magent does not read imaging.","type":"boolean"},"renal_insufficiency":{"description":"Renal insufficiency as assigned by the caller (Rajkumar 2014 CRAB): creatinine clearance <40 mL/min or serum creatinine >177 µmol/L (>2 mg/dL). true or false. magent does not assay creatinine.","type":"boolean"}},"required":["clonal_bmpc_ge_10_or_plasmacytoma","hypercalcemia","renal_insufficiency","anemia","osteolytic_lesion","bmpc_ge_60","flc_ratio_ge_100","mri_gt_1_focal"],"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":["imwg-2014","myeloma","hematology","crab","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:58:31.253Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:58:31.108Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anemia":false,"bmpc_ge_60":false,"clonal_bmpc_ge_10_or_plasmacytoma":true,"flc_ratio_ge_100":false,"hypercalcemia":true,"mri_gt_1_focal":false,"osteolytic_lesion":false,"renal_insufficiency":false},{"anemia":false,"bmpc_ge_60":false,"clonal_bmpc_ge_10_or_plasmacytoma":true,"flc_ratio_ge_100":false,"hypercalcemia":true,"mri_gt_1_focal":false,"osteolytic_lesion":false,"renal_insufficiency":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anemia":false,"any_mde":true,"bmpc_ge_60":false,"citation":{"authors":"Rajkumar SV, Dimopoulos MA, Palumbo A, Blade J, Merlini G, Mateos MV, Kumar S, Hillengass J, Kastritis E, Richardson P, Landgren O, Paiva B, Dispenzieri A, Weiss B, LeLeu X, Zweegman S, Lonial S, Rosinol L, Zamagni E, Jagannath S, Sezer O, Kristinsson SY, Caers J, Usmani SZ, Lahuerta JJ, Johnsen HE, Beksac M, Cavo M, Goldschmidt H, Terpos E, Kyle RA, Anderson KC, Durie BGM, San Miguel JF","doi":"10.1016/S1470-2045(14)70442-5","id":"rajkumar-2014","pmid":"25439696","source":"Lancet Oncol. 2014;15(12):e538-e548","title":"International Myeloma Working Group updated criteria for the diagnosis of multiple myeloma"},"clonal_bmpc_ge_10_or_plasmacytoma":true,"criteria":[{"factor":"clonal_bmpc_ge_10_or_plasmacytoma","met":true},{"factor":"hypercalcemia","met":true},{"factor":"renal_insufficiency","met":false},{"factor":"anemia","met":false},{"factor":"osteolytic_lesion","met":false},{"factor":"bmpc_ge_60","met":false},{"factor":"flc_ratio_ge_100","met":false},{"factor":"mri_gt_1_focal","met":false},{"factor":"any_mde","met":true}],"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.","flc_ratio_ge_100":false,"formula":"imwg_myeloma","formula_expression":"myeloma iff clonal_bmpc_ge_10_or_plasmacytoma and ≥1 myeloma-defining event (hypercalcemia, renal_insufficiency, anemia, osteolytic_lesion, bmpc_ge_60, flc_ratio_ge_100, or mri_gt_1_focal) (Rajkumar 2014 IMWG definition of multiple myeloma requiring therapy). Not a diagnosis. Not smouldering MM, MGUS, POEMS, or amyloid. Not Greipp ISS. Not R-ISS","hypercalcemia":true,"mri_gt_1_focal":false,"myeloma":true,"osteolytic_lesion":false,"renal_insufficiency":false},{"anemia":false,"any_mde":true,"bmpc_ge_60":false,"citation":{"authors":"Rajkumar SV, Dimopoulos MA, Palumbo A, Blade J, Merlini G, Mateos MV, Kumar S, Hillengass J, Kastritis E, Richardson P, Landgren O, Paiva B, Dispenzieri A, Weiss B, LeLeu X, Zweegman S, Lonial S, Rosinol L, Zamagni E, Jagannath S, Sezer O, Kristinsson SY, Caers J, Usmani SZ, Lahuerta JJ, Johnsen HE, Beksac M, Cavo M, Goldschmidt H, Terpos E, Kyle RA, Anderson KC, Durie BGM, San Miguel JF","doi":"10.1016/S1470-2045(14)70442-5","id":"rajkumar-2014","pmid":"25439696","source":"Lancet Oncol. 2014;15(12):e538-e548","title":"International Myeloma Working Group updated criteria for the diagnosis of multiple myeloma"},"clonal_bmpc_ge_10_or_plasmacytoma":true,"criteria":[{"factor":"clonal_bmpc_ge_10_or_plasmacytoma","met":true},{"factor":"hypercalcemia","met":true},{"factor":"renal_insufficiency","met":false},{"factor":"anemia","met":false},{"factor":"osteolytic_lesion","met":false},{"factor":"bmpc_ge_60","met":false},{"factor":"flc_ratio_ge_100","met":false},{"factor":"mri_gt_1_focal","met":false},{"factor":"any_mde","met":true}],"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.","flc_ratio_ge_100":false,"formula":"imwg_myeloma","formula_expression":"myeloma iff clonal_bmpc_ge_10_or_plasmacytoma and ≥1 myeloma-defining event (hypercalcemia, renal_insufficiency, anemia, osteolytic_lesion, bmpc_ge_60, flc_ratio_ge_100, or mri_gt_1_focal) (Rajkumar 2014 IMWG definition of multiple myeloma requiring therapy). Not a diagnosis. Not smouldering MM, MGUS, POEMS, or amyloid. Not Greipp ISS. Not R-ISS","hypercalcemia":true,"mri_gt_1_focal":false,"myeloma":true,"osteolytic_lesion":false,"renal_insufficiency":false}],"path":"/api/calc/imwg_myeloma"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia":{"description":"Anemia as assigned by the caller (Rajkumar 2014 CRAB): hemoglobin value >20 g/L below the lower limit of normal or hemoglobin <100 g/L. true or false. magent does not assay hemoglobin.","type":"boolean"},"bmpc_ge_60":{"description":"Clonal bone marrow plasma cells ≥60%, as assigned by the caller (Rajkumar 2014 SLiM). true or false. magent does not read a marrow.","type":"boolean"},"clonal_bmpc_ge_10_or_plasmacytoma":{"description":"Clonal bone marrow plasma cells ≥10% or biopsy-proven bony or extramedullary plasmacytoma, as assigned by the caller (Rajkumar 2014 IMWG entry for myeloma requiring therapy). true or false. When false, myeloma is false even if a myeloma-defining event is true. magent does not read a marrow or biopsy.","type":"boolean"},"flc_ratio_ge_100":{"description":"Involved:uninvolved serum free light-chain ratio ≥100 and involved free light chain ≥100 mg/L, as assigned by the caller as this one flag (Rajkumar 2014 SLiM). true or false. magent does not assay free light chains.","type":"boolean"},"hypercalcemia":{"description":"Hypercalcemia as assigned by the caller (Rajkumar 2014 CRAB): serum calcium >0.25 mmol/L (>1 mg/dL) above the upper limit of normal or >2.75 mmol/L (>11 mg/dL). true or false. magent does not assay calcium.","type":"boolean"},"mri_gt_1_focal":{"description":">1 focal lesion on MRI, each ≥5 mm, as assigned by the caller (Rajkumar 2014 SLiM). true or false. magent does not read MRI.","type":"boolean"},"osteolytic_lesion":{"description":"One or more osteolytic lesions on skeletal radiography, CT, or PET-CT, as assigned by the caller (Rajkumar 2014 CRAB). If marrow clonal plasma cells are <10%, more than one bone lesion is required to distinguish solitary plasmacytoma; that is the caller’s assignment of this flag. true or false. magent does not read imaging.","type":"boolean"},"renal_insufficiency":{"description":"Renal insufficiency as assigned by the caller (Rajkumar 2014 CRAB): creatinine clearance <40 mL/min or serum creatinine >177 µmol/L (>2 mg/dL). true or false. magent does not assay creatinine.","type":"boolean"}},"required":["clonal_bmpc_ge_10_or_plasmacytoma","hypercalcemia","renal_insufficiency","anemia","osteolytic_lesion","bmpc_ge_60","flc_ratio_ge_100","mri_gt_1_focal"],"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},{"id":39401,"slug":"39401","resource":"https://api.magentlab.com/api/calc/mekhail","description":"Mekhail 2005 Motzer extension: KPS <80, LDH >1.5x ULN, hemoglobin <LLN, corrected calcium >10 mg/dL, prior radiotherapy, >=2 metastatic sites; 1 point each, max 6. Favorable 0-1, intermediate 2, poor >=3. Not Motzer 1999 0 / 1-2 / >=3. Not Motzer 2002 time-to-treatment. Mekhail dropped no-prior-nephrectomy. Deterministic published score with citation; not an RCC diagnosis or treatment recommendation; not IMDC. magent does not assign KPS, assay LDH, hemoglobin, or calcium, or image metastases.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"corrected_calcium_gt_10":false,"hemoglobin_lt_lln":false,"kps_lt_80":false,"ldh_gt_1_5_uln":false,"metastatic_sites_ge_2":false,"prior_radiotherapy":false},{"corrected_calcium_gt_10":false,"hemoglobin_lt_lln":false,"kps_lt_80":false,"ldh_gt_1_5_uln":false,"metastatic_sites_ge_2":false,"prior_radiotherapy":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mekhail TM, Abou-Jawde RM, Boumerhi G, Malhi S, Wood L, Elson P, Bukowski R","doi":"10.1200/JCO.2005.05.179","id":"mekhail-2005","pmid":"15681528","source":"J Clin Oncol. 2005;23(4):832-841","title":"Validation and extension of the Memorial Sloan-Kettering prognostic factors model for survival in patients with previously untreated metastatic renal cell carcinoma"},"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"ldh_gt_1_5_uln","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_10","points":0,"present":false},{"factor":"prior_radiotherapy","points":0,"present":false},{"factor":"metastatic_sites_ge_2","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":"mekhail","formula_expression":"Mekhail = kps_lt_80 1 + ldh_gt_1_5_uln 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_10 1 + prior_radiotherapy 1 + metastatic_sites_ge_2 1; Mekhail 2005; max 6; favorable 0-1, intermediate 2, poor ≥3","max_score":6,"mekhail_band":"favorable","score":0},{"citation":{"authors":"Mekhail TM, Abou-Jawde RM, Boumerhi G, Malhi S, Wood L, Elson P, Bukowski R","doi":"10.1200/JCO.2005.05.179","id":"mekhail-2005","pmid":"15681528","source":"J Clin Oncol. 2005;23(4):832-841","title":"Validation and extension of the Memorial Sloan-Kettering prognostic factors model for survival in patients with previously untreated metastatic renal cell carcinoma"},"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"ldh_gt_1_5_uln","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_10","points":0,"present":false},{"factor":"prior_radiotherapy","points":0,"present":false},{"factor":"metastatic_sites_ge_2","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":"mekhail","formula_expression":"Mekhail = kps_lt_80 1 + ldh_gt_1_5_uln 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_10 1 + prior_radiotherapy 1 + metastatic_sites_ge_2 1; Mekhail 2005; max 6; favorable 0-1, intermediate 2, poor ≥3","max_score":6,"mekhail_band":"favorable","score":0}],"path":"/api/calc/mekhail"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"corrected_calcium_gt_10":{"description":"Corrected calcium >10 mg/dL as assigned by the caller (Mekhail 2005; Motzer 1999 paper threshold, not institutional ULN). true scores 1. magent does not assay calcium.","type":"boolean"},"hemoglobin_lt_lln":{"description":"Hemoglobin below the institutional lower limit of normal as assigned by the caller (Mekhail 2005; Motzer 1999 factor that remained independent). true scores 1. magent does not assay hemoglobin or apply LLN.","type":"boolean"},"kps_lt_80":{"description":"Karnofsky performance status <80% as assigned by the caller (Mekhail 2005; Motzer 1999 factor that remained independent). true scores 1. magent does not observe KPS.","type":"boolean"},"ldh_gt_1_5_uln":{"description":"Serum LDH >1.5 × institutional ULN as assigned by the caller (Mekhail 2005; Motzer 1999 factor that remained independent). true scores 1. magent does not assay LDH or apply ULN.","type":"boolean"},"metastatic_sites_ge_2":{"description":"Two or more metastatic sites as assigned by the caller (Mekhail 2005: number of sites 0–1 vs 2–3 as surrogate for individual hepatic, lung, and retroperitoneal nodal sites). true scores 1. magent does not image metastases.","type":"boolean"},"prior_radiotherapy":{"description":"Prior radiotherapy as assigned by the caller (Mekhail 2005). true scores 1. magent does not review radiotherapy history.","type":"boolean"}},"required":["kps_lt_80","ldh_gt_1_5_uln","hemoglobin_lt_lln","corrected_calcium_gt_10","prior_radiotherapy","metastatic_sites_ge_2"],"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":["mekhail","rcc","mskcc","hematology","prognosis","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:58:11.009Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:58:10.897Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"corrected_calcium_gt_10":false,"hemoglobin_lt_lln":false,"kps_lt_80":false,"ldh_gt_1_5_uln":false,"metastatic_sites_ge_2":false,"prior_radiotherapy":false},{"corrected_calcium_gt_10":false,"hemoglobin_lt_lln":false,"kps_lt_80":false,"ldh_gt_1_5_uln":false,"metastatic_sites_ge_2":false,"prior_radiotherapy":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mekhail TM, Abou-Jawde RM, Boumerhi G, Malhi S, Wood L, Elson P, Bukowski R","doi":"10.1200/JCO.2005.05.179","id":"mekhail-2005","pmid":"15681528","source":"J Clin Oncol. 2005;23(4):832-841","title":"Validation and extension of the Memorial Sloan-Kettering prognostic factors model for survival in patients with previously untreated metastatic renal cell carcinoma"},"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"ldh_gt_1_5_uln","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_10","points":0,"present":false},{"factor":"prior_radiotherapy","points":0,"present":false},{"factor":"metastatic_sites_ge_2","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":"mekhail","formula_expression":"Mekhail = kps_lt_80 1 + ldh_gt_1_5_uln 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_10 1 + prior_radiotherapy 1 + metastatic_sites_ge_2 1; Mekhail 2005; max 6; favorable 0-1, intermediate 2, poor ≥3","max_score":6,"mekhail_band":"favorable","score":0},{"citation":{"authors":"Mekhail TM, Abou-Jawde RM, Boumerhi G, Malhi S, Wood L, Elson P, Bukowski R","doi":"10.1200/JCO.2005.05.179","id":"mekhail-2005","pmid":"15681528","source":"J Clin Oncol. 2005;23(4):832-841","title":"Validation and extension of the Memorial Sloan-Kettering prognostic factors model for survival in patients with previously untreated metastatic renal cell carcinoma"},"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"ldh_gt_1_5_uln","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_10","points":0,"present":false},{"factor":"prior_radiotherapy","points":0,"present":false},{"factor":"metastatic_sites_ge_2","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":"mekhail","formula_expression":"Mekhail = kps_lt_80 1 + ldh_gt_1_5_uln 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_10 1 + prior_radiotherapy 1 + metastatic_sites_ge_2 1; Mekhail 2005; max 6; favorable 0-1, intermediate 2, poor ≥3","max_score":6,"mekhail_band":"favorable","score":0}],"path":"/api/calc/mekhail"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"corrected_calcium_gt_10":{"description":"Corrected calcium >10 mg/dL as assigned by the caller (Mekhail 2005; Motzer 1999 paper threshold, not institutional ULN). true scores 1. magent does not assay calcium.","type":"boolean"},"hemoglobin_lt_lln":{"description":"Hemoglobin below the institutional lower limit of normal as assigned by the caller (Mekhail 2005; Motzer 1999 factor that remained independent). true scores 1. magent does not assay hemoglobin or apply LLN.","type":"boolean"},"kps_lt_80":{"description":"Karnofsky performance status <80% as assigned by the caller (Mekhail 2005; Motzer 1999 factor that remained independent). true scores 1. magent does not observe KPS.","type":"boolean"},"ldh_gt_1_5_uln":{"description":"Serum LDH >1.5 × institutional ULN as assigned by the caller (Mekhail 2005; Motzer 1999 factor that remained independent). true scores 1. magent does not assay LDH or apply ULN.","type":"boolean"},"metastatic_sites_ge_2":{"description":"Two or more metastatic sites as assigned by the caller (Mekhail 2005: number of sites 0–1 vs 2–3 as surrogate for individual hepatic, lung, and retroperitoneal nodal sites). true scores 1. magent does not image metastases.","type":"boolean"},"prior_radiotherapy":{"description":"Prior radiotherapy as assigned by the caller (Mekhail 2005). true scores 1. magent does not review radiotherapy history.","type":"boolean"}},"required":["kps_lt_80","ldh_gt_1_5_uln","hemoglobin_lt_lln","corrected_calcium_gt_10","prior_radiotherapy","metastatic_sites_ge_2"],"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},{"id":39402,"slug":"39402","resource":"https://api.magentlab.com/api/calc/motzer","description":"Motzer 1999 MSKCC: KPS <80, LDH >1.5×ULN, hemoglobin <LLN, corrected calcium >10 mg/dL, no prior nephrectomy; 1 point each, max 5. Favorable 0, intermediate 1–2, poor ≥3. Deterministic published score with citation; not an RCC diagnosis or treatment recommendation; not IMDC; not Motzer 2002/2004. magent does not assign KPS or assay LDH, hemoglobin, or calcium.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"corrected_calcium_gt_10":false,"hemoglobin_lt_lln":false,"kps_lt_80":false,"ldh_gt_1_5_uln":false,"no_prior_nephrectomy":false},{"corrected_calcium_gt_10":false,"hemoglobin_lt_lln":false,"kps_lt_80":false,"ldh_gt_1_5_uln":false,"no_prior_nephrectomy":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Motzer RJ, Mazumdar M, Bacik J, Berg W, Amsterdam A, Ferrara J.","doi":"10.1200/JCO.1999.17.8.2530","id":"motzer-1999","pmid":"10561319","source":"J Clin Oncol. 1999;17(8):2530-2540","title":"Survival and prognostic stratification of 670 patients with advanced renal cell carcinoma"},"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"ldh_gt_1_5_uln","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_10","points":0,"present":false},{"factor":"no_prior_nephrectomy","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":"motzer","formula_expression":"Motzer = kps_lt_80 1 + ldh_gt_1_5_uln 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_10 1 + no_prior_nephrectomy 1; Motzer 1999; max 5; favorable 0, intermediate 1-2, poor ≥3","max_score":5,"motzer_band":"favorable","score":0},{"citation":{"authors":"Motzer RJ, Mazumdar M, Bacik J, Berg W, Amsterdam A, Ferrara J.","doi":"10.1200/JCO.1999.17.8.2530","id":"motzer-1999","pmid":"10561319","source":"J Clin Oncol. 1999;17(8):2530-2540","title":"Survival and prognostic stratification of 670 patients with advanced renal cell carcinoma"},"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"ldh_gt_1_5_uln","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_10","points":0,"present":false},{"factor":"no_prior_nephrectomy","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":"motzer","formula_expression":"Motzer = kps_lt_80 1 + ldh_gt_1_5_uln 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_10 1 + no_prior_nephrectomy 1; Motzer 1999; max 5; favorable 0, intermediate 1-2, poor ≥3","max_score":5,"motzer_band":"favorable","score":0}],"path":"/api/calc/motzer"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"corrected_calcium_gt_10":{"description":"Corrected calcium >10 mg/dL as assigned by the caller (Motzer 1999 paper threshold, not institutional ULN). true scores 1. magent does not assay calcium.","type":"boolean"},"hemoglobin_lt_lln":{"description":"Hemoglobin below the institutional lower limit of normal as assigned by the caller (Motzer 1999). true scores 1. magent does not assay hemoglobin or apply LLN.","type":"boolean"},"kps_lt_80":{"description":"Karnofsky performance status <80% as assigned by the caller (Motzer 1999). true scores 1. magent does not observe KPS.","type":"boolean"},"ldh_gt_1_5_uln":{"description":"Serum LDH >1.5 × institutional ULN as assigned by the caller (Motzer 1999). true scores 1. magent does not assay LDH or apply ULN.","type":"boolean"},"no_prior_nephrectomy":{"description":"Absence of prior nephrectomy as assigned by the caller (Motzer 1999). true scores 1. Not Motzer 2004 time from diagnosis to treatment. magent does not review operative history.","type":"boolean"}},"required":["kps_lt_80","ldh_gt_1_5_uln","hemoglobin_lt_lln","corrected_calcium_gt_10","no_prior_nephrectomy"],"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":["motzer","rcc","mskcc","hematology","prognosis","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:58:03.827Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:58:03.706Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"corrected_calcium_gt_10":false,"hemoglobin_lt_lln":false,"kps_lt_80":false,"ldh_gt_1_5_uln":false,"no_prior_nephrectomy":false},{"corrected_calcium_gt_10":false,"hemoglobin_lt_lln":false,"kps_lt_80":false,"ldh_gt_1_5_uln":false,"no_prior_nephrectomy":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Motzer RJ, Mazumdar M, Bacik J, Berg W, Amsterdam A, Ferrara J.","doi":"10.1200/JCO.1999.17.8.2530","id":"motzer-1999","pmid":"10561319","source":"J Clin Oncol. 1999;17(8):2530-2540","title":"Survival and prognostic stratification of 670 patients with advanced renal cell carcinoma"},"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"ldh_gt_1_5_uln","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_10","points":0,"present":false},{"factor":"no_prior_nephrectomy","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":"motzer","formula_expression":"Motzer = kps_lt_80 1 + ldh_gt_1_5_uln 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_10 1 + no_prior_nephrectomy 1; Motzer 1999; max 5; favorable 0, intermediate 1-2, poor ≥3","max_score":5,"motzer_band":"favorable","score":0},{"citation":{"authors":"Motzer RJ, Mazumdar M, Bacik J, Berg W, Amsterdam A, Ferrara J.","doi":"10.1200/JCO.1999.17.8.2530","id":"motzer-1999","pmid":"10561319","source":"J Clin Oncol. 1999;17(8):2530-2540","title":"Survival and prognostic stratification of 670 patients with advanced renal cell carcinoma"},"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"ldh_gt_1_5_uln","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_10","points":0,"present":false},{"factor":"no_prior_nephrectomy","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":"motzer","formula_expression":"Motzer = kps_lt_80 1 + ldh_gt_1_5_uln 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_10 1 + no_prior_nephrectomy 1; Motzer 1999; max 5; favorable 0, intermediate 1-2, poor ≥3","max_score":5,"motzer_band":"favorable","score":0}],"path":"/api/calc/motzer"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"corrected_calcium_gt_10":{"description":"Corrected calcium >10 mg/dL as assigned by the caller (Motzer 1999 paper threshold, not institutional ULN). true scores 1. magent does not assay calcium.","type":"boolean"},"hemoglobin_lt_lln":{"description":"Hemoglobin below the institutional lower limit of normal as assigned by the caller (Motzer 1999). true scores 1. magent does not assay hemoglobin or apply LLN.","type":"boolean"},"kps_lt_80":{"description":"Karnofsky performance status <80% as assigned by the caller (Motzer 1999). true scores 1. magent does not observe KPS.","type":"boolean"},"ldh_gt_1_5_uln":{"description":"Serum LDH >1.5 × institutional ULN as assigned by the caller (Motzer 1999). true scores 1. magent does not assay LDH or apply ULN.","type":"boolean"},"no_prior_nephrectomy":{"description":"Absence of prior nephrectomy as assigned by the caller (Motzer 1999). true scores 1. Not Motzer 2004 time from diagnosis to treatment. magent does not review operative history.","type":"boolean"}},"required":["kps_lt_80","ldh_gt_1_5_uln","hemoglobin_lt_lln","corrected_calcium_gt_10","no_prior_nephrectomy"],"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},{"id":39403,"slug":"39403","resource":"https://api.magentlab.com/api/calc/imdc","description":"Heng 2009 IMDC: KPS <80, diagnosis-to-treatment <1 year, hemoglobin <LLN, corrected calcium >ULN, neutrophils >ULN, platelets >ULN; 1 point each, max 6. Favorable 0, intermediate 1–2, poor ≥3. Deterministic published score with citation; not an RCC diagnosis or treatment recommendation. magent does not assign KPS or compare Hb, Ca, ANC, or platelets to institutional LLN/ULN.","type":"http","serviceName":"magent","resourceType":"AI Inference","x402Version":2,"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":[{"corrected_calcium_gt_uln":false,"diagnosis_to_treatment_lt_1_year":false,"hemoglobin_lt_lln":false,"kps_lt_80":false,"neutrophils_gt_uln":false,"platelets_gt_uln":false},{"corrected_calcium_gt_uln":false,"diagnosis_to_treatment_lt_1_year":false,"hemoglobin_lt_lln":false,"kps_lt_80":false,"neutrophils_gt_uln":false,"platelets_gt_uln":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Heng DY, Xie W, Regan MM, Warren MA, Golshayan AR, Sahi C, Eigl BJ, Ruether JD, Cheng T, North S, Venner P, Knox JJ, Chi KN, Kollmannsberger C, McDermott DF, Rini BI, Bukowski RM, Rha SY, Choueiri TK","doi":"10.1200/JCO.2008.21.4809","id":"heng-2009","pmid":"19826129","source":"J Clin Oncol. 2009;27(34):5794-5799","title":"Prognostic factors for overall survival in patients with metastatic renal cell carcinoma treated with vascular endothelial growth factor-targeted agents: results from a large, multicenter study"},"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"diagnosis_to_treatment_lt_1_year","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_uln","points":0,"present":false},{"factor":"neutrophils_gt_uln","points":0,"present":false},{"factor":"platelets_gt_uln","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":"imdc","formula_expression":"IMDC = kps_lt_80 1 + diagnosis_to_treatment_lt_1_year 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_uln 1 + neutrophils_gt_uln 1 + platelets_gt_uln 1; Heng 2009; max 6; favorable 0, intermediate 1-2, poor ≥3","imdc_band":"favorable","max_score":6,"score":0},{"citation":{"authors":"Heng DY, Xie W, Regan MM, Warren MA, Golshayan AR, Sahi C, Eigl BJ, Ruether JD, Cheng T, North S, Venner P, Knox JJ, Chi KN, Kollmannsberger C, McDermott DF, Rini BI, Bukowski RM, Rha SY, Choueiri TK","doi":"10.1200/JCO.2008.21.4809","id":"heng-2009","pmid":"19826129","source":"J Clin Oncol. 2009;27(34):5794-5799","title":"Prognostic factors for overall survival in patients with metastatic renal cell carcinoma treated with vascular endothelial growth factor-targeted agents: results from a large, multicenter study"},"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"diagnosis_to_treatment_lt_1_year","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_uln","points":0,"present":false},{"factor":"neutrophils_gt_uln","points":0,"present":false},{"factor":"platelets_gt_uln","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":"imdc","formula_expression":"IMDC = kps_lt_80 1 + diagnosis_to_treatment_lt_1_year 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_uln 1 + neutrophils_gt_uln 1 + platelets_gt_uln 1; Heng 2009; max 6; favorable 0, intermediate 1-2, poor ≥3","imdc_band":"favorable","max_score":6,"score":0}],"path":"/api/calc/imdc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"corrected_calcium_gt_uln":{"description":"Corrected calcium above the institutional upper limit of normal as assigned by the caller (Heng 2009). true scores 1. magent does not assay calcium or apply ULN.","type":"boolean"},"diagnosis_to_treatment_lt_1_year":{"description":"Time from diagnosis to systemic treatment <1 year as assigned by the caller (Heng 2009). true scores 1. magent does not date the interval.","type":"boolean"},"hemoglobin_lt_lln":{"description":"Hemoglobin below the institutional lower limit of normal as assigned by the caller (Heng 2009). true scores 1. magent does not assay hemoglobin or apply LLN.","type":"boolean"},"kps_lt_80":{"description":"Karnofsky performance status <80 as assigned by the caller (Heng 2009). true scores 1. magent does not assign KPS.","type":"boolean"},"neutrophils_gt_uln":{"description":"Neutrophils above the institutional upper limit of normal as assigned by the caller (Heng 2009). true scores 1. magent does not assay ANC or apply ULN.","type":"boolean"},"platelets_gt_uln":{"description":"Platelets above the institutional upper limit of normal as assigned by the caller (Heng 2009). true scores 1. magent does not assay platelets or apply ULN.","type":"boolean"}},"required":["kps_lt_80","diagnosis_to_treatment_lt_1_year","hemoglobin_lt_lln","corrected_calcium_gt_uln","neutrophils_gt_uln","platelets_gt_uln"],"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":["imdc","rcc","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:57:56.713Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:57:56.579Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"corrected_calcium_gt_uln":false,"diagnosis_to_treatment_lt_1_year":false,"hemoglobin_lt_lln":false,"kps_lt_80":false,"neutrophils_gt_uln":false,"platelets_gt_uln":false},{"corrected_calcium_gt_uln":false,"diagnosis_to_treatment_lt_1_year":false,"hemoglobin_lt_lln":false,"kps_lt_80":false,"neutrophils_gt_uln":false,"platelets_gt_uln":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Heng DY, Xie W, Regan MM, Warren MA, Golshayan AR, Sahi C, Eigl BJ, Ruether JD, Cheng T, North S, Venner P, Knox JJ, Chi KN, Kollmannsberger C, McDermott DF, Rini BI, Bukowski RM, Rha SY, Choueiri TK","doi":"10.1200/JCO.2008.21.4809","id":"heng-2009","pmid":"19826129","source":"J Clin Oncol. 2009;27(34):5794-5799","title":"Prognostic factors for overall survival in patients with metastatic renal cell carcinoma treated with vascular endothelial growth factor-targeted agents: results from a large, multicenter study"},"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"diagnosis_to_treatment_lt_1_year","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_uln","points":0,"present":false},{"factor":"neutrophils_gt_uln","points":0,"present":false},{"factor":"platelets_gt_uln","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":"imdc","formula_expression":"IMDC = kps_lt_80 1 + diagnosis_to_treatment_lt_1_year 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_uln 1 + neutrophils_gt_uln 1 + platelets_gt_uln 1; Heng 2009; max 6; favorable 0, intermediate 1-2, poor ≥3","imdc_band":"favorable","max_score":6,"score":0},{"citation":{"authors":"Heng DY, Xie W, Regan MM, Warren MA, Golshayan AR, Sahi C, Eigl BJ, Ruether JD, Cheng T, North S, Venner P, Knox JJ, Chi KN, Kollmannsberger C, McDermott DF, Rini BI, Bukowski RM, Rha SY, Choueiri TK","doi":"10.1200/JCO.2008.21.4809","id":"heng-2009","pmid":"19826129","source":"J Clin Oncol. 2009;27(34):5794-5799","title":"Prognostic factors for overall survival in patients with metastatic renal cell carcinoma treated with vascular endothelial growth factor-targeted agents: results from a large, multicenter study"},"components":[{"factor":"kps_lt_80","points":0,"present":false},{"factor":"diagnosis_to_treatment_lt_1_year","points":0,"present":false},{"factor":"hemoglobin_lt_lln","points":0,"present":false},{"factor":"corrected_calcium_gt_uln","points":0,"present":false},{"factor":"neutrophils_gt_uln","points":0,"present":false},{"factor":"platelets_gt_uln","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":"imdc","formula_expression":"IMDC = kps_lt_80 1 + diagnosis_to_treatment_lt_1_year 1 + hemoglobin_lt_lln 1 + corrected_calcium_gt_uln 1 + neutrophils_gt_uln 1 + platelets_gt_uln 1; Heng 2009; max 6; favorable 0, intermediate 1-2, poor ≥3","imdc_band":"favorable","max_score":6,"score":0}],"path":"/api/calc/imdc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"corrected_calcium_gt_uln":{"description":"Corrected calcium above the institutional upper limit of normal as assigned by the caller (Heng 2009). true scores 1. magent does not assay calcium or apply ULN.","type":"boolean"},"diagnosis_to_treatment_lt_1_year":{"description":"Time from diagnosis to systemic treatment <1 year as assigned by the caller (Heng 2009). true scores 1. magent does not date the interval.","type":"boolean"},"hemoglobin_lt_lln":{"description":"Hemoglobin below the institutional lower limit of normal as assigned by the caller (Heng 2009). true scores 1. magent does not assay hemoglobin or apply LLN.","type":"boolean"},"kps_lt_80":{"description":"Karnofsky performance status <80 as assigned by the caller (Heng 2009). true scores 1. magent does not assign KPS.","type":"boolean"},"neutrophils_gt_uln":{"description":"Neutrophils above the institutional upper limit of normal as assigned by the caller (Heng 2009). true scores 1. magent does not assay ANC or apply ULN.","type":"boolean"},"platelets_gt_uln":{"description":"Platelets above the institutional upper limit of normal as assigned by the caller (Heng 2009). true scores 1. magent does not assay platelets or apply ULN.","type":"boolean"}},"required":["kps_lt_80","diagnosis_to_treatment_lt_1_year","hemoglobin_lt_lln","corrected_calcium_gt_uln","neutrophils_gt_uln","platelets_gt_uln"],"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},{"id":39404,"slug":"39404","resource":"https://api.magentlab.com/api/calc/gelf","description":"GELF criteria (Brice 1997). High tumor burden in follicular lymphoma if any of eight caller-assigned items: mass >7 cm; ≥3 nodes each >3 cm; B symptoms; spleen below umbilicus; compression; serous effusion; leukemic phase; cytopenia. Any yes is high_burden. Not a treatment order, not FLIPI, not IPI, not modified GELF. magent does not measure nodes, spleen, counts, or effusions.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"b_symptoms":false,"compression":false,"cytopenia":false,"effusion":false,"leukemic_phase":false,"mass_gt_7cm":false,"spleen_below_umbilicus":false,"three_nodes_gt_3cm":false},{"b_symptoms":false,"compression":false,"cytopenia":false,"effusion":false,"leukemic_phase":false,"mass_gt_7cm":false,"spleen_below_umbilicus":false,"three_nodes_gt_3cm":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brice P, Bastion Y, Lepage E, Brousse N, Haïoun C, Moreau P, Straetmans N, Tilly H, Tabah I, Solal-Céligny P","doi":"10.1200/JCO.1997.15.3.1110","id":"brice-1997","pmid":"9060552","source":"J Clin Oncol. 1997;15(3):1110-1117","title":"Comparison in low-tumor-burden follicular lymphomas between an initial no-treatment policy, prednimustine, or interferon alfa: a randomized study from the Groupe d'Etude des Lymphomes Folliculaires"},"criteria":[{"factor":"mass_gt_7cm","met":false},{"factor":"three_nodes_gt_3cm","met":false},{"factor":"b_symptoms","met":false},{"factor":"spleen_below_umbilicus","met":false},{"factor":"compression","met":false},{"factor":"effusion","met":false},{"factor":"leukemic_phase","met":false},{"factor":"cytopenia","met":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":"gelf","formula_expression":"high tumor burden iff any of the 8 Brice 1997 GELF criteria","tumor_burden":"low_burden"},{"citation":{"authors":"Brice P, Bastion Y, Lepage E, Brousse N, Haïoun C, Moreau P, Straetmans N, Tilly H, Tabah I, Solal-Céligny P","doi":"10.1200/JCO.1997.15.3.1110","id":"brice-1997","pmid":"9060552","source":"J Clin Oncol. 1997;15(3):1110-1117","title":"Comparison in low-tumor-burden follicular lymphomas between an initial no-treatment policy, prednimustine, or interferon alfa: a randomized study from the Groupe d'Etude des Lymphomes Folliculaires"},"criteria":[{"factor":"mass_gt_7cm","met":false},{"factor":"three_nodes_gt_3cm","met":false},{"factor":"b_symptoms","met":false},{"factor":"spleen_below_umbilicus","met":false},{"factor":"compression","met":false},{"factor":"effusion","met":false},{"factor":"leukemic_phase","met":false},{"factor":"cytopenia","met":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":"gelf","formula_expression":"high tumor burden iff any of the 8 Brice 1997 GELF criteria","tumor_burden":"low_burden"}],"path":"/api/calc/gelf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"b_symptoms":{"description":"Systemic / B symptoms as assigned by the caller. true or false. magent does not take a history.","type":"boolean"},"compression":{"description":"Compression syndrome (ureter, GI tract, great vessels, or other vital organ as assigned by the caller). true or false. magent does not diagnose compression.","type":"boolean"},"cytopenia":{"description":"Cytopenia as assigned by the caller (paper: granulocytes <1.0×10^9/L and/or platelets <100×10^9/L). true or false. magent does not count cells.","type":"boolean"},"effusion":{"description":"Pleural or peritoneal serous effusion as assigned by the caller. true or false. magent does not image or tap an effusion.","type":"boolean"},"leukemic_phase":{"description":"Leukemic phase as assigned by the caller (paper: circulating malignant cells >5.0×10^9/L). true or false. magent does not count cells.","type":"boolean"},"mass_gt_7cm":{"description":"Any nodal or extranodal tumor mass >7 cm as assigned by the caller. true or false. magent does not measure nodes or extranodal masses.","type":"boolean"},"spleen_below_umbilicus":{"description":"Substantial splenic enlargement (inferior margin below the umbilicus) as assigned by the caller. true or false. magent does not measure the spleen.","type":"boolean"},"three_nodes_gt_3cm":{"description":"At least 3 nodal sites, each with diameter >3 cm, as assigned by the caller. true or false. magent does not count or measure nodes.","type":"boolean"}},"required":["mass_gt_7cm","three_nodes_gt_3cm","b_symptoms","spleen_below_umbilicus","compression","effusion","leukemic_phase","cytopenia"],"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":["gelf","lymphoma","hematology","follicular","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:57:50.509Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:57:50.388Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"b_symptoms":false,"compression":false,"cytopenia":false,"effusion":false,"leukemic_phase":false,"mass_gt_7cm":false,"spleen_below_umbilicus":false,"three_nodes_gt_3cm":false},{"b_symptoms":false,"compression":false,"cytopenia":false,"effusion":false,"leukemic_phase":false,"mass_gt_7cm":false,"spleen_below_umbilicus":false,"three_nodes_gt_3cm":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Brice P, Bastion Y, Lepage E, Brousse N, Haïoun C, Moreau P, Straetmans N, Tilly H, Tabah I, Solal-Céligny P","doi":"10.1200/JCO.1997.15.3.1110","id":"brice-1997","pmid":"9060552","source":"J Clin Oncol. 1997;15(3):1110-1117","title":"Comparison in low-tumor-burden follicular lymphomas between an initial no-treatment policy, prednimustine, or interferon alfa: a randomized study from the Groupe d'Etude des Lymphomes Folliculaires"},"criteria":[{"factor":"mass_gt_7cm","met":false},{"factor":"three_nodes_gt_3cm","met":false},{"factor":"b_symptoms","met":false},{"factor":"spleen_below_umbilicus","met":false},{"factor":"compression","met":false},{"factor":"effusion","met":false},{"factor":"leukemic_phase","met":false},{"factor":"cytopenia","met":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":"gelf","formula_expression":"high tumor burden iff any of the 8 Brice 1997 GELF criteria","tumor_burden":"low_burden"},{"citation":{"authors":"Brice P, Bastion Y, Lepage E, Brousse N, Haïoun C, Moreau P, Straetmans N, Tilly H, Tabah I, Solal-Céligny P","doi":"10.1200/JCO.1997.15.3.1110","id":"brice-1997","pmid":"9060552","source":"J Clin Oncol. 1997;15(3):1110-1117","title":"Comparison in low-tumor-burden follicular lymphomas between an initial no-treatment policy, prednimustine, or interferon alfa: a randomized study from the Groupe d'Etude des Lymphomes Folliculaires"},"criteria":[{"factor":"mass_gt_7cm","met":false},{"factor":"three_nodes_gt_3cm","met":false},{"factor":"b_symptoms","met":false},{"factor":"spleen_below_umbilicus","met":false},{"factor":"compression","met":false},{"factor":"effusion","met":false},{"factor":"leukemic_phase","met":false},{"factor":"cytopenia","met":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":"gelf","formula_expression":"high tumor burden iff any of the 8 Brice 1997 GELF criteria","tumor_burden":"low_burden"}],"path":"/api/calc/gelf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"b_symptoms":{"description":"Systemic / B symptoms as assigned by the caller. true or false. magent does not take a history.","type":"boolean"},"compression":{"description":"Compression syndrome (ureter, GI tract, great vessels, or other vital organ as assigned by the caller). true or false. magent does not diagnose compression.","type":"boolean"},"cytopenia":{"description":"Cytopenia as assigned by the caller (paper: granulocytes <1.0×10^9/L and/or platelets <100×10^9/L). true or false. magent does not count cells.","type":"boolean"},"effusion":{"description":"Pleural or peritoneal serous effusion as assigned by the caller. true or false. magent does not image or tap an effusion.","type":"boolean"},"leukemic_phase":{"description":"Leukemic phase as assigned by the caller (paper: circulating malignant cells >5.0×10^9/L). true or false. magent does not count cells.","type":"boolean"},"mass_gt_7cm":{"description":"Any nodal or extranodal tumor mass >7 cm as assigned by the caller. true or false. magent does not measure nodes or extranodal masses.","type":"boolean"},"spleen_below_umbilicus":{"description":"Substantial splenic enlargement (inferior margin below the umbilicus) as assigned by the caller. true or false. magent does not measure the spleen.","type":"boolean"},"three_nodes_gt_3cm":{"description":"At least 3 nodal sites, each with diameter >3 cm, as assigned by the caller. true or false. magent does not count or measure nodes.","type":"boolean"}},"required":["mass_gt_7cm","three_nodes_gt_3cm","b_symptoms","spleen_below_umbilicus","compression","effusion","leukemic_phase","cytopenia"],"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},{"id":39405,"slug":"39405","resource":"https://api.magentlab.com/api/calc/lansky","description":"Lansky 1987 Play-Performance Scale: caller-assigned integer 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 from parent-rated play over the past week (fully active; minor physical restriction; tires more quickly; restricted play; quieter activities; lying around, quiet play; mostly in bed; bedbound; often sleeping; no play; unresponsive). Grade 0 is scored. Returns score, max 100, and a stable label. Not a performance-status assignment, not Karnofsky, not ECOG; magent does not observe the child.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"lps":100},{"lps":100}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lansky SB, List MA, Lansky LL, Ritter-Sterr C, Miller DR","doi":"10.1002/1097-0142(19871001)60:7<1651::AID-CNCR2820600738>3.0.CO;2-J","id":"lansky-1987","pmid":"3621134","source":"Cancer. 1987;60(7):1651-1656","title":"The measurement of performance in childhood cancer patients"},"components":[{"factor":"lps","points":100,"present":true}],"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":"lansky","formula_expression":"Lansky 1987 Play-Performance Scale = caller-assigned integer 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (Lansky 1987); max 100; grade 0 (unresponsive) is scored","lps":100,"lps_label":"fully_active","max_score":100,"score":100},{"citation":{"authors":"Lansky SB, List MA, Lansky LL, Ritter-Sterr C, Miller DR","doi":"10.1002/1097-0142(19871001)60:7<1651::AID-CNCR2820600738>3.0.CO;2-J","id":"lansky-1987","pmid":"3621134","source":"Cancer. 1987;60(7):1651-1656","title":"The measurement of performance in childhood cancer patients"},"components":[{"factor":"lps","points":100,"present":true}],"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":"lansky","formula_expression":"Lansky 1987 Play-Performance Scale = caller-assigned integer 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (Lansky 1987); max 100; grade 0 (unresponsive) is scored","lps":100,"lps_label":"fully_active","max_score":100,"score":100}],"path":"/api/calc/lansky"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"lps":{"description":"Lansky 1987 Play-Performance Scale 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 as assigned by the caller from parent-rated play-performance over the past week (100 fully active, normal; 90 minor restrictions in physically strenuous activity; 80 active, but tires more quickly; 70 greater restriction of play and less time spent in play; 60 up and around, but active play minimal, keeps busy with quieter activities; 50 lying around much of the day, but gets dressed, no active play, participates in all quiet play and activities; 40 mostly in bed, participates in quiet activities; 30 in bed, needs assistance even for quiet play; 20 sleeping often, play entirely limited to very passive activities; 10 does not play, does not get out of bed; 0 unresponsive). Grade 0 (unresponsive) is scored. magent does not observe the child.","type":"integer"}},"required":["lps"],"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":["lansky","play-performance","hematology","oncology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:57:43.579Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:57:43.447Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"lps":100},{"lps":100}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lansky SB, List MA, Lansky LL, Ritter-Sterr C, Miller DR","doi":"10.1002/1097-0142(19871001)60:7<1651::AID-CNCR2820600738>3.0.CO;2-J","id":"lansky-1987","pmid":"3621134","source":"Cancer. 1987;60(7):1651-1656","title":"The measurement of performance in childhood cancer patients"},"components":[{"factor":"lps","points":100,"present":true}],"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":"lansky","formula_expression":"Lansky 1987 Play-Performance Scale = caller-assigned integer 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (Lansky 1987); max 100; grade 0 (unresponsive) is scored","lps":100,"lps_label":"fully_active","max_score":100,"score":100},{"citation":{"authors":"Lansky SB, List MA, Lansky LL, Ritter-Sterr C, Miller DR","doi":"10.1002/1097-0142(19871001)60:7<1651::AID-CNCR2820600738>3.0.CO;2-J","id":"lansky-1987","pmid":"3621134","source":"Cancer. 1987;60(7):1651-1656","title":"The measurement of performance in childhood cancer patients"},"components":[{"factor":"lps","points":100,"present":true}],"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":"lansky","formula_expression":"Lansky 1987 Play-Performance Scale = caller-assigned integer 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (Lansky 1987); max 100; grade 0 (unresponsive) is scored","lps":100,"lps_label":"fully_active","max_score":100,"score":100}],"path":"/api/calc/lansky"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"lps":{"description":"Lansky 1987 Play-Performance Scale 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 as assigned by the caller from parent-rated play-performance over the past week (100 fully active, normal; 90 minor restrictions in physically strenuous activity; 80 active, but tires more quickly; 70 greater restriction of play and less time spent in play; 60 up and around, but active play minimal, keeps busy with quieter activities; 50 lying around much of the day, but gets dressed, no active play, participates in all quiet play and activities; 40 mostly in bed, participates in quiet activities; 30 in bed, needs assistance even for quiet play; 20 sleeping often, play entirely limited to very passive activities; 10 does not play, does not get out of bed; 0 unresponsive). Grade 0 (unresponsive) is scored. magent does not observe the child.","type":"integer"}},"required":["lps"],"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},{"id":39406,"slug":"39406","resource":"https://api.magentlab.com/api/calc/manchester","description":"Cerny 1987 Manchester score for small-cell lung cancer: LDH above laboratory ULN, sodium <132 mmol/L, ALP >1.5×ULN, bicarbonate <24 mmol/L, Karnofsky <60, extensive stage; 1 point each, max 6. Good 0–1, intermediate 2–3, poor ≥4. Deterministic published score with citation; not a diagnosis; not the BRCA Manchester score. magent does not stage the cancer, assay labs, or assign Karnofsky performance status.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"alp_gt_1_5_uln":false,"bicarbonate_mmol_l":24,"extensive_stage":false,"kps":80,"ldh_gt_uln":false,"sodium_mmol_l":140},{"alp_gt_1_5_uln":false,"bicarbonate_mmol_l":24,"extensive_stage":false,"kps":80,"ldh_gt_uln":false,"sodium_mmol_l":140}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bicarbonate_mmol_l":24,"citation":{"authors":"Cerny T, Blair V, Anderson H, Bramwell V, Thatcher N","doi":"10.1002/ijc.2910390204","id":"cerny-1987","pmid":"3026969","source":"Int J Cancer. 1987;39(2):146-149","title":"Pretreatment prognostic factors and scoring system in 407 small-cell lung cancer patients"},"components":[{"factor":"ldh_gt_uln","points":0,"present":false},{"factor":"sodium_lt_132","points":0,"present":false,"value":140},{"factor":"alp_gt_1_5_uln","points":0,"present":false},{"factor":"bicarbonate_lt_24","points":0,"present":false,"value":24},{"factor":"kps_lt_60","points":0,"present":false,"value":80},{"factor":"extensive_stage","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":"manchester","formula_expression":"Manchester = ldh_gt_uln 1 + sodium_lt_132 1 + alp_gt_1_5_uln 1 + bicarbonate_lt_24 1 + kps_lt_60 1 + extensive_stage 1; Cerny 1987; max 6; good 0-1, intermediate 2-3, poor ≥4","kps":80,"max_score":6,"prognostic_group":"good","score":0,"sodium_mmol_l":140},{"bicarbonate_mmol_l":24,"citation":{"authors":"Cerny T, Blair V, Anderson H, Bramwell V, Thatcher N","doi":"10.1002/ijc.2910390204","id":"cerny-1987","pmid":"3026969","source":"Int J Cancer. 1987;39(2):146-149","title":"Pretreatment prognostic factors and scoring system in 407 small-cell lung cancer patients"},"components":[{"factor":"ldh_gt_uln","points":0,"present":false},{"factor":"sodium_lt_132","points":0,"present":false,"value":140},{"factor":"alp_gt_1_5_uln","points":0,"present":false},{"factor":"bicarbonate_lt_24","points":0,"present":false,"value":24},{"factor":"kps_lt_60","points":0,"present":false,"value":80},{"factor":"extensive_stage","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":"manchester","formula_expression":"Manchester = ldh_gt_uln 1 + sodium_lt_132 1 + alp_gt_1_5_uln 1 + bicarbonate_lt_24 1 + kps_lt_60 1 + extensive_stage 1; Cerny 1987; max 6; good 0-1, intermediate 2-3, poor ≥4","kps":80,"max_score":6,"prognostic_group":"good","score":0,"sodium_mmol_l":140}],"path":"/api/calc/manchester"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alp_gt_1_5_uln":{"description":"ALP >1.5 × laboratory ULN as assigned by the caller (Cerny 1987). true scores 1. magent does not assay ALP or apply ULN.","type":"boolean"},"bicarbonate_mmol_l":{"description":"Serum bicarbonate in mmol/L (2-45). Cerny 1987 scores 1 when bicarbonate is <24 mmol/L; 24 scores 0.","type":"number"},"extensive_stage":{"description":"Extensive-stage small-cell lung cancer as assigned by the caller (Cerny 1987). true scores 1. magent does not stage the cancer.","type":"boolean"},"kps":{"description":"Karnofsky 1949 Performance Status 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 as assigned by the caller. Cerny 1987 scores 1 when kps is <60; 60 scores 0. Grade 0 (dead) is not scored. magent does not observe the patient.","type":"integer"},"ldh_gt_uln":{"description":"LDH exceeds the laboratory upper limit of normal as assigned by the caller (Cerny 1987). true scores 1. magent does not assay LDH or apply ULN.","type":"boolean"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). Cerny 1987 scores 1 when sodium is <132 mmol/L; 132 scores 0.","type":"number"}},"required":["ldh_gt_uln","sodium_mmol_l","alp_gt_1_5_uln","bicarbonate_mmol_l","kps","extensive_stage"],"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":["manchester","sclc","prognosis","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:57:36.582Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:57:36.444Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alp_gt_1_5_uln":false,"bicarbonate_mmol_l":24,"extensive_stage":false,"kps":80,"ldh_gt_uln":false,"sodium_mmol_l":140},{"alp_gt_1_5_uln":false,"bicarbonate_mmol_l":24,"extensive_stage":false,"kps":80,"ldh_gt_uln":false,"sodium_mmol_l":140}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bicarbonate_mmol_l":24,"citation":{"authors":"Cerny T, Blair V, Anderson H, Bramwell V, Thatcher N","doi":"10.1002/ijc.2910390204","id":"cerny-1987","pmid":"3026969","source":"Int J Cancer. 1987;39(2):146-149","title":"Pretreatment prognostic factors and scoring system in 407 small-cell lung cancer patients"},"components":[{"factor":"ldh_gt_uln","points":0,"present":false},{"factor":"sodium_lt_132","points":0,"present":false,"value":140},{"factor":"alp_gt_1_5_uln","points":0,"present":false},{"factor":"bicarbonate_lt_24","points":0,"present":false,"value":24},{"factor":"kps_lt_60","points":0,"present":false,"value":80},{"factor":"extensive_stage","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":"manchester","formula_expression":"Manchester = ldh_gt_uln 1 + sodium_lt_132 1 + alp_gt_1_5_uln 1 + bicarbonate_lt_24 1 + kps_lt_60 1 + extensive_stage 1; Cerny 1987; max 6; good 0-1, intermediate 2-3, poor ≥4","kps":80,"max_score":6,"prognostic_group":"good","score":0,"sodium_mmol_l":140},{"bicarbonate_mmol_l":24,"citation":{"authors":"Cerny T, Blair V, Anderson H, Bramwell V, Thatcher N","doi":"10.1002/ijc.2910390204","id":"cerny-1987","pmid":"3026969","source":"Int J Cancer. 1987;39(2):146-149","title":"Pretreatment prognostic factors and scoring system in 407 small-cell lung cancer patients"},"components":[{"factor":"ldh_gt_uln","points":0,"present":false},{"factor":"sodium_lt_132","points":0,"present":false,"value":140},{"factor":"alp_gt_1_5_uln","points":0,"present":false},{"factor":"bicarbonate_lt_24","points":0,"present":false,"value":24},{"factor":"kps_lt_60","points":0,"present":false,"value":80},{"factor":"extensive_stage","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":"manchester","formula_expression":"Manchester = ldh_gt_uln 1 + sodium_lt_132 1 + alp_gt_1_5_uln 1 + bicarbonate_lt_24 1 + kps_lt_60 1 + extensive_stage 1; Cerny 1987; max 6; good 0-1, intermediate 2-3, poor ≥4","kps":80,"max_score":6,"prognostic_group":"good","score":0,"sodium_mmol_l":140}],"path":"/api/calc/manchester"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alp_gt_1_5_uln":{"description":"ALP >1.5 × laboratory ULN as assigned by the caller (Cerny 1987). true scores 1. magent does not assay ALP or apply ULN.","type":"boolean"},"bicarbonate_mmol_l":{"description":"Serum bicarbonate in mmol/L (2-45). Cerny 1987 scores 1 when bicarbonate is <24 mmol/L; 24 scores 0.","type":"number"},"extensive_stage":{"description":"Extensive-stage small-cell lung cancer as assigned by the caller (Cerny 1987). true scores 1. magent does not stage the cancer.","type":"boolean"},"kps":{"description":"Karnofsky 1949 Performance Status 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 as assigned by the caller. Cerny 1987 scores 1 when kps is <60; 60 scores 0. Grade 0 (dead) is not scored. magent does not observe the patient.","type":"integer"},"ldh_gt_uln":{"description":"LDH exceeds the laboratory upper limit of normal as assigned by the caller (Cerny 1987). true scores 1. magent does not assay LDH or apply ULN.","type":"boolean"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). Cerny 1987 scores 1 when sodium is <132 mmol/L; 132 scores 0.","type":"number"}},"required":["ldh_gt_uln","sodium_mmol_l","alp_gt_1_5_uln","bicarbonate_mmol_l","kps","extensive_stage"],"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},{"id":39407,"slug":"39407","resource":"https://api.magentlab.com/api/calc/karnofsky","description":"Karnofsky 1949 Performance Status: caller-assigned integer 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (normal; minor signs or symptoms; normal activity with effort; cares for self; occasional assistance; considerable assistance and frequent medical care; disabled; severely disabled; very sick, hospitalization necessary; moribund). Grade 0 (dead) is not scored. Returns score, max 100, and a stable label. Not a performance-status assignment and not ECOG; magent does not observe the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"kps":100},{"kps":100}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Karnofsky DA, Burchenal JH","id":"karnofsky-1949","source":"In: MacLeod CM, ed. Evaluation of Chemotherapeutic Agents. New York: Columbia University Press; 1949:191-205","title":"The clinical evaluation of chemotherapeutic agents in cancer"},"components":[{"factor":"kps","points":100,"present":true}],"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":"karnofsky","formula_expression":"Karnofsky Performance Status = caller-assigned integer 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (Karnofsky 1949); max 100; grade 0 (dead) is not scored","kps":100,"kps_label":"normal","max_score":100,"score":100},{"citation":{"authors":"Karnofsky DA, Burchenal JH","id":"karnofsky-1949","source":"In: MacLeod CM, ed. Evaluation of Chemotherapeutic Agents. New York: Columbia University Press; 1949:191-205","title":"The clinical evaluation of chemotherapeutic agents in cancer"},"components":[{"factor":"kps","points":100,"present":true}],"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":"karnofsky","formula_expression":"Karnofsky Performance Status = caller-assigned integer 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (Karnofsky 1949); max 100; grade 0 (dead) is not scored","kps":100,"kps_label":"normal","max_score":100,"score":100}],"path":"/api/calc/karnofsky"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"kps":{"description":"Karnofsky 1949 Performance Status 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 as assigned by the caller (100 normal, no complaints; 90 minor signs or symptoms, normal activity; 80 normal activity with effort; 70 cares for self; 60 occasional assistance; 50 considerable assistance and frequent medical care; 40 disabled; 30 severely disabled; 20 very sick, hospital admission necessary; 10 moribund). Grade 0 (dead) is not scored. magent does not observe the patient.","type":"integer"}},"required":["kps"],"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":["karnofsky","performance-status","hematology","oncology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:57:29.412Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:57:29.285Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"kps":100},{"kps":100}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Karnofsky DA, Burchenal JH","id":"karnofsky-1949","source":"In: MacLeod CM, ed. Evaluation of Chemotherapeutic Agents. New York: Columbia University Press; 1949:191-205","title":"The clinical evaluation of chemotherapeutic agents in cancer"},"components":[{"factor":"kps","points":100,"present":true}],"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":"karnofsky","formula_expression":"Karnofsky Performance Status = caller-assigned integer 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (Karnofsky 1949); max 100; grade 0 (dead) is not scored","kps":100,"kps_label":"normal","max_score":100,"score":100},{"citation":{"authors":"Karnofsky DA, Burchenal JH","id":"karnofsky-1949","source":"In: MacLeod CM, ed. Evaluation of Chemotherapeutic Agents. New York: Columbia University Press; 1949:191-205","title":"The clinical evaluation of chemotherapeutic agents in cancer"},"components":[{"factor":"kps","points":100,"present":true}],"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":"karnofsky","formula_expression":"Karnofsky Performance Status = caller-assigned integer 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 (Karnofsky 1949); max 100; grade 0 (dead) is not scored","kps":100,"kps_label":"normal","max_score":100,"score":100}],"path":"/api/calc/karnofsky"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"kps":{"description":"Karnofsky 1949 Performance Status 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 as assigned by the caller (100 normal, no complaints; 90 minor signs or symptoms, normal activity; 80 normal activity with effort; 70 cares for self; 60 occasional assistance; 50 considerable assistance and frequent medical care; 40 disabled; 30 severely disabled; 20 very sick, hospital admission necessary; 10 moribund). Grade 0 (dead) is not scored. magent does not observe the patient.","type":"integer"}},"required":["kps"],"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},{"id":39408,"slug":"39408","resource":"https://api.magentlab.com/api/calc/ecog","description":"Oken 1982 ECOG performance status: caller-assigned integer 0-4 (fully active; restricted strenuous activity, ambulatory, light work; ambulatory, all self-care, unable to work, up >50% waking hours; limited self-care, bed/chair >50% waking hours; completely disabled, no self-care, totally bed/chair). Grade 5 (dead) is not scored. Returns score, max 4, and a stable label. Not a performance-status assignment and not Karnofsky; magent does not observe the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ecog":0},{"ecog":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Oken MM, Creech RH, Tormey DC, Horton J, Davis TE, McFadden ET, Carbone PP","doi":"10.1097/00000421-198212000-00014","id":"oken-1982","pmid":"7165009","source":"Am J Clin Oncol. 1982;5(6):649-655","title":"Toxicity and response criteria of the Eastern Cooperative Oncology Group"},"components":[{"factor":"ecog","points":0,"present":true}],"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.","ecog_grade":0,"ecog_label":"fully_active","formula":"ecog","formula_expression":"ECOG performance status = caller-assigned integer 0-4 (Oken 1982); max 4; grade 5 (dead) is not scored","max_score":4,"score":0},{"citation":{"authors":"Oken MM, Creech RH, Tormey DC, Horton J, Davis TE, McFadden ET, Carbone PP","doi":"10.1097/00000421-198212000-00014","id":"oken-1982","pmid":"7165009","source":"Am J Clin Oncol. 1982;5(6):649-655","title":"Toxicity and response criteria of the Eastern Cooperative Oncology Group"},"components":[{"factor":"ecog","points":0,"present":true}],"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.","ecog_grade":0,"ecog_label":"fully_active","formula":"ecog","formula_expression":"ECOG performance status = caller-assigned integer 0-4 (Oken 1982); max 4; grade 5 (dead) is not scored","max_score":4,"score":0}],"path":"/api/calc/ecog"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecog":{"description":"Oken 1982 ECOG performance status 0-4 as assigned by the caller (0 fully active; 1 restricted strenuous activity, ambulatory, light work; 2 ambulatory, all self-care, unable to work, up >50% waking hours; 3 limited self-care, bed/chair >50% waking hours; 4 completely disabled, no self-care, totally bed/chair). Grade 5 (dead) is not scored. magent does not observe the patient.","type":"integer"}},"required":["ecog"],"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":["ecog","performance-status","hematology","oncology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:57:23.284Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:57:23.157Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ecog":0},{"ecog":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Oken MM, Creech RH, Tormey DC, Horton J, Davis TE, McFadden ET, Carbone PP","doi":"10.1097/00000421-198212000-00014","id":"oken-1982","pmid":"7165009","source":"Am J Clin Oncol. 1982;5(6):649-655","title":"Toxicity and response criteria of the Eastern Cooperative Oncology Group"},"components":[{"factor":"ecog","points":0,"present":true}],"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.","ecog_grade":0,"ecog_label":"fully_active","formula":"ecog","formula_expression":"ECOG performance status = caller-assigned integer 0-4 (Oken 1982); max 4; grade 5 (dead) is not scored","max_score":4,"score":0},{"citation":{"authors":"Oken MM, Creech RH, Tormey DC, Horton J, Davis TE, McFadden ET, Carbone PP","doi":"10.1097/00000421-198212000-00014","id":"oken-1982","pmid":"7165009","source":"Am J Clin Oncol. 1982;5(6):649-655","title":"Toxicity and response criteria of the Eastern Cooperative Oncology Group"},"components":[{"factor":"ecog","points":0,"present":true}],"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.","ecog_grade":0,"ecog_label":"fully_active","formula":"ecog","formula_expression":"ECOG performance status = caller-assigned integer 0-4 (Oken 1982); max 4; grade 5 (dead) is not scored","max_score":4,"score":0}],"path":"/api/calc/ecog"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ecog":{"description":"Oken 1982 ECOG performance status 0-4 as assigned by the caller (0 fully active; 1 restricted strenuous activity, ambulatory, light work; 2 ambulatory, all self-care, unable to work, up >50% waking hours; 3 limited self-care, bed/chair >50% waking hours; 4 completely disabled, no self-care, totally bed/chair). Grade 5 (dead) is not scored. magent does not observe the patient.","type":"integer"}},"required":["ecog"],"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},{"id":39409,"slug":"39409","resource":"https://api.magentlab.com/api/calc/maps","description":"Pardanani 2018 MAPS hybrid clinical-molecular (Figure 3): advanced SM 2 (ASM, SM-AHN, or MCL; ISM/SSM 0), age >60 1, platelets <150×10^9/L 1, ALP above UNL 1, ASXL1/RUNX1/NRAS 1; max 6. Low ≤2, intermediate-1 3, intermediate-2 4, high ≥5. Not WHO SM, not ICC SM, not clinical-only Figure 1. magent does not sequence, assay ALP, or count platelets.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"adverse_mutations":false,"age":65,"alp_above_unl":true,"platelets_10e9_l":100,"sm_category":"advanced"},{"adverse_mutations":false,"age":65,"alp_above_unl":true,"platelets_10e9_l":100,"sm_category":"advanced"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"adverse_mutations":false,"age":65,"alp_above_unl":true,"citation":{"authors":"Pardanani A, Shah S, Mannelli F, Elala YC, Guglielmelli P, Lasho TL, Patnaik MM, Gangat N, Ketterling RP, Reichard KK, Hanson CA, Vannucchi AM, Tefferi A","doi":"10.1182/bloodadvances.2018026245","id":"pardanani-2018","pmid":"30413432","source":"Blood Adv. 2018;2(21):2964-2972","title":"Mayo alliance prognostic system for mastocytosis: clinical and hybrid clinical-molecular models"},"components":[{"factor":"sm_category_advanced","points":2,"present":true,"value":"advanced"},{"factor":"age_gt_60","points":1,"present":true,"value":65},{"factor":"platelets_lt_150","points":1,"present":true,"value":100},{"factor":"alp_above_unl","points":1,"present":true},{"factor":"adverse_mutations","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":"maps","formula_expression":"MAPS = sm_category_advanced 2 + age_gt_60 1 + platelets_lt_150 1 + alp_above_unl 1 + adverse_mutations 1; Pardanani 2018 hybrid Figure 3; max 6; low ≤2, intermediate_1 3, intermediate_2 4, high ≥5","max_score":6,"platelets_10e9_l":100,"risk_band":"high","score":5,"sm_category":"advanced"},{"adverse_mutations":false,"age":65,"alp_above_unl":true,"citation":{"authors":"Pardanani A, Shah S, Mannelli F, Elala YC, Guglielmelli P, Lasho TL, Patnaik MM, Gangat N, Ketterling RP, Reichard KK, Hanson CA, Vannucchi AM, Tefferi A","doi":"10.1182/bloodadvances.2018026245","id":"pardanani-2018","pmid":"30413432","source":"Blood Adv. 2018;2(21):2964-2972","title":"Mayo alliance prognostic system for mastocytosis: clinical and hybrid clinical-molecular models"},"components":[{"factor":"sm_category_advanced","points":2,"present":true,"value":"advanced"},{"factor":"age_gt_60","points":1,"present":true,"value":65},{"factor":"platelets_lt_150","points":1,"present":true,"value":100},{"factor":"alp_above_unl","points":1,"present":true},{"factor":"adverse_mutations","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":"maps","formula_expression":"MAPS = sm_category_advanced 2 + age_gt_60 1 + platelets_lt_150 1 + alp_above_unl 1 + adverse_mutations 1; Pardanani 2018 hybrid Figure 3; max 6; low ≤2, intermediate_1 3, intermediate_2 4, high ≥5","max_score":6,"platelets_10e9_l":100,"risk_band":"high","score":5,"sm_category":"advanced"}],"path":"/api/calc/maps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"adverse_mutations":{"description":"ASXL1, RUNX1, or NRAS as assigned by the caller (Pardanani 2018 hybrid Figure 3). true scores 1. magent does not sequence.","type":"boolean"},"age":{"description":"Age in years (18-120, Params.age). >60 scores 1 (Pardanani 2018 Figure 3). 60 is the ≤60 arm and scores 0.","type":"integer"},"alp_above_unl":{"description":"Serum alkaline phosphatase above the upper normal limit as assigned by the caller (Pardanani 2018 Figure 3). true scores 1. magent does not assay ALP.","type":"boolean"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000). <150 scores 1 (Pardanani 2018 Figure 3). 150.0 is the ≥150 arm and scores 0. magent does not assay platelets.","type":"number"},"sm_category":{"description":"Caller-assigned SM category for Pardanani 2018 hybrid Figure 3. indolent (ISM/SSM) scores 0. advanced (ASM, SM-AHN, or MCL) scores 2. Other tokens are invalid_maps. Not WHO SM criteria. magent does not assign WHO or ICC SM.","type":"string"}},"required":["sm_category","age","platelets_10e9_l","alp_above_unl","adverse_mutations"],"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":["maps","mastocytosis","hematology","prognosis","sm","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:57:09.508Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:57:09.387Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"adverse_mutations":false,"age":65,"alp_above_unl":true,"platelets_10e9_l":100,"sm_category":"advanced"},{"adverse_mutations":false,"age":65,"alp_above_unl":true,"platelets_10e9_l":100,"sm_category":"advanced"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"adverse_mutations":false,"age":65,"alp_above_unl":true,"citation":{"authors":"Pardanani A, Shah S, Mannelli F, Elala YC, Guglielmelli P, Lasho TL, Patnaik MM, Gangat N, Ketterling RP, Reichard KK, Hanson CA, Vannucchi AM, Tefferi A","doi":"10.1182/bloodadvances.2018026245","id":"pardanani-2018","pmid":"30413432","source":"Blood Adv. 2018;2(21):2964-2972","title":"Mayo alliance prognostic system for mastocytosis: clinical and hybrid clinical-molecular models"},"components":[{"factor":"sm_category_advanced","points":2,"present":true,"value":"advanced"},{"factor":"age_gt_60","points":1,"present":true,"value":65},{"factor":"platelets_lt_150","points":1,"present":true,"value":100},{"factor":"alp_above_unl","points":1,"present":true},{"factor":"adverse_mutations","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":"maps","formula_expression":"MAPS = sm_category_advanced 2 + age_gt_60 1 + platelets_lt_150 1 + alp_above_unl 1 + adverse_mutations 1; Pardanani 2018 hybrid Figure 3; max 6; low ≤2, intermediate_1 3, intermediate_2 4, high ≥5","max_score":6,"platelets_10e9_l":100,"risk_band":"high","score":5,"sm_category":"advanced"},{"adverse_mutations":false,"age":65,"alp_above_unl":true,"citation":{"authors":"Pardanani A, Shah S, Mannelli F, Elala YC, Guglielmelli P, Lasho TL, Patnaik MM, Gangat N, Ketterling RP, Reichard KK, Hanson CA, Vannucchi AM, Tefferi A","doi":"10.1182/bloodadvances.2018026245","id":"pardanani-2018","pmid":"30413432","source":"Blood Adv. 2018;2(21):2964-2972","title":"Mayo alliance prognostic system for mastocytosis: clinical and hybrid clinical-molecular models"},"components":[{"factor":"sm_category_advanced","points":2,"present":true,"value":"advanced"},{"factor":"age_gt_60","points":1,"present":true,"value":65},{"factor":"platelets_lt_150","points":1,"present":true,"value":100},{"factor":"alp_above_unl","points":1,"present":true},{"factor":"adverse_mutations","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":"maps","formula_expression":"MAPS = sm_category_advanced 2 + age_gt_60 1 + platelets_lt_150 1 + alp_above_unl 1 + adverse_mutations 1; Pardanani 2018 hybrid Figure 3; max 6; low ≤2, intermediate_1 3, intermediate_2 4, high ≥5","max_score":6,"platelets_10e9_l":100,"risk_band":"high","score":5,"sm_category":"advanced"}],"path":"/api/calc/maps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"adverse_mutations":{"description":"ASXL1, RUNX1, or NRAS as assigned by the caller (Pardanani 2018 hybrid Figure 3). true scores 1. magent does not sequence.","type":"boolean"},"age":{"description":"Age in years (18-120, Params.age). >60 scores 1 (Pardanani 2018 Figure 3). 60 is the ≤60 arm and scores 0.","type":"integer"},"alp_above_unl":{"description":"Serum alkaline phosphatase above the upper normal limit as assigned by the caller (Pardanani 2018 Figure 3). true scores 1. magent does not assay ALP.","type":"boolean"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000). <150 scores 1 (Pardanani 2018 Figure 3). 150.0 is the ≥150 arm and scores 0. magent does not assay platelets.","type":"number"},"sm_category":{"description":"Caller-assigned SM category for Pardanani 2018 hybrid Figure 3. indolent (ISM/SSM) scores 0. advanced (ASM, SM-AHN, or MCL) scores 2. Other tokens are invalid_maps. Not WHO SM criteria. magent does not assign WHO or ICC SM.","type":"string"}},"required":["sm_category","age","platelets_10e9_l","alp_above_unl","adverse_mutations"],"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},{"id":39410,"slug":"39410","resource":"https://api.magentlab.com/api/calc/rema","description":"Álvarez-Twose 2012 REMA: male +1, female −1; serum baseline tryptase <15 μg/L −1, 15–25 0, >25 +2; pruritus, hives or angioedema present −2, absent +1; syncope or presyncope +3. Range −4 to +7. Clonality likely iff score ≥2. Caller assigns sex, sBt, cutaneous signs, and syncope. Not a medical device, not a diagnosis of SM, not WHO SM criteria. magent does not assay tryptase.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"pruritus_hives_angioedema":false,"sex":"male","syncope_or_presyncope":true,"tryptase_ug_l":30},{"pruritus_hives_angioedema":false,"sex":"male","syncope_or_presyncope":true,"tryptase_ug_l":30}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Alvarez-Twose I, González-de-Olano D, Sánchez-Muñoz L, Matito A, Jara-Acevedo M, Teodosio C, García-Montero A, Morgado JM, Orfao A, Escribano L","doi":"10.1159/000329856","id":"alvarez-twose-2012","pmid":"22042301","source":"Int Arch Allergy Immunol. 2012;157(3):275-280 (Epub 2011 Oct 28)","title":"Validation of the REMA score for predicting mast cell clonality and systemic mastocytosis in patients with systemic mast cell activation symptoms."},"clonality_likely":true,"components":[{"factor":"sex","points":1,"present":true,"value":"male"},{"factor":"tryptase_ug_l","points":2,"present":true,"value":30},{"factor":"pruritus_hives_angioedema","points":1,"present":true},{"factor":"syncope_or_presyncope","points":3,"present":true}],"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":"rema","formula_expression":"REMA = sex (male +1, female −1) + tryptase_ug_l (<15 −1, 15–25 0, >25 +2) + pruritus_hives_angioedema (true −2, false +1) + syncope_or_presyncope (true +3, false 0); range −4 to +7; clonality_likely iff score >= 2 (Álvarez-Twose 2012)","max_score":7,"score":7,"sex":"male","tryptase_ug_l":30},{"citation":{"authors":"Alvarez-Twose I, González-de-Olano D, Sánchez-Muñoz L, Matito A, Jara-Acevedo M, Teodosio C, García-Montero A, Morgado JM, Orfao A, Escribano L","doi":"10.1159/000329856","id":"alvarez-twose-2012","pmid":"22042301","source":"Int Arch Allergy Immunol. 2012;157(3):275-280 (Epub 2011 Oct 28)","title":"Validation of the REMA score for predicting mast cell clonality and systemic mastocytosis in patients with systemic mast cell activation symptoms."},"clonality_likely":true,"components":[{"factor":"sex","points":1,"present":true,"value":"male"},{"factor":"tryptase_ug_l","points":2,"present":true,"value":30},{"factor":"pruritus_hives_angioedema","points":1,"present":true},{"factor":"syncope_or_presyncope","points":3,"present":true}],"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":"rema","formula_expression":"REMA = sex (male +1, female −1) + tryptase_ug_l (<15 −1, 15–25 0, >25 +2) + pruritus_hives_angioedema (true −2, false +1) + syncope_or_presyncope (true +3, false 0); range −4 to +7; clonality_likely iff score >= 2 (Álvarez-Twose 2012)","max_score":7,"score":7,"sex":"male","tryptase_ug_l":30}],"path":"/api/calc/rema"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"pruritus_hives_angioedema":{"description":"Presence of pruritus, hives or angioedema as assigned by the caller (Álvarez-Twose 2012). true scores −2; false (absence) scores +1. Both branches score. magent does not take a history.","type":"boolean"},"sex":{"description":"Sex as assigned by the caller (Álvarez-Twose 2012). male scores +1; female scores −1. Always one of these.","enum":["female","male"],"type":"string"},"syncope_or_presyncope":{"description":"Syncope or presyncope as assigned by the caller (Álvarez-Twose 2012). true scores +3; false scores 0.","type":"boolean"},"tryptase_ug_l":{"description":"Serum baseline tryptase (sBt) in μg/L (1-200). <15 scores −1; 15–25 inclusive scores 0; >25 scores +2. Equal to 15 is not <15; equal to 25 is not >25. magent does not assay tryptase.","type":"number"}},"required":["sex","tryptase_ug_l","pruritus_hives_angioedema","syncope_or_presyncope"],"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":["rema","mastocytosis","tryptase","hematology","clonality","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:57:02.332Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:57:02.217Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"pruritus_hives_angioedema":false,"sex":"male","syncope_or_presyncope":true,"tryptase_ug_l":30},{"pruritus_hives_angioedema":false,"sex":"male","syncope_or_presyncope":true,"tryptase_ug_l":30}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Alvarez-Twose I, González-de-Olano D, Sánchez-Muñoz L, Matito A, Jara-Acevedo M, Teodosio C, García-Montero A, Morgado JM, Orfao A, Escribano L","doi":"10.1159/000329856","id":"alvarez-twose-2012","pmid":"22042301","source":"Int Arch Allergy Immunol. 2012;157(3):275-280 (Epub 2011 Oct 28)","title":"Validation of the REMA score for predicting mast cell clonality and systemic mastocytosis in patients with systemic mast cell activation symptoms."},"clonality_likely":true,"components":[{"factor":"sex","points":1,"present":true,"value":"male"},{"factor":"tryptase_ug_l","points":2,"present":true,"value":30},{"factor":"pruritus_hives_angioedema","points":1,"present":true},{"factor":"syncope_or_presyncope","points":3,"present":true}],"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":"rema","formula_expression":"REMA = sex (male +1, female −1) + tryptase_ug_l (<15 −1, 15–25 0, >25 +2) + pruritus_hives_angioedema (true −2, false +1) + syncope_or_presyncope (true +3, false 0); range −4 to +7; clonality_likely iff score >= 2 (Álvarez-Twose 2012)","max_score":7,"score":7,"sex":"male","tryptase_ug_l":30},{"citation":{"authors":"Alvarez-Twose I, González-de-Olano D, Sánchez-Muñoz L, Matito A, Jara-Acevedo M, Teodosio C, García-Montero A, Morgado JM, Orfao A, Escribano L","doi":"10.1159/000329856","id":"alvarez-twose-2012","pmid":"22042301","source":"Int Arch Allergy Immunol. 2012;157(3):275-280 (Epub 2011 Oct 28)","title":"Validation of the REMA score for predicting mast cell clonality and systemic mastocytosis in patients with systemic mast cell activation symptoms."},"clonality_likely":true,"components":[{"factor":"sex","points":1,"present":true,"value":"male"},{"factor":"tryptase_ug_l","points":2,"present":true,"value":30},{"factor":"pruritus_hives_angioedema","points":1,"present":true},{"factor":"syncope_or_presyncope","points":3,"present":true}],"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":"rema","formula_expression":"REMA = sex (male +1, female −1) + tryptase_ug_l (<15 −1, 15–25 0, >25 +2) + pruritus_hives_angioedema (true −2, false +1) + syncope_or_presyncope (true +3, false 0); range −4 to +7; clonality_likely iff score >= 2 (Álvarez-Twose 2012)","max_score":7,"score":7,"sex":"male","tryptase_ug_l":30}],"path":"/api/calc/rema"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"pruritus_hives_angioedema":{"description":"Presence of pruritus, hives or angioedema as assigned by the caller (Álvarez-Twose 2012). true scores −2; false (absence) scores +1. Both branches score. magent does not take a history.","type":"boolean"},"sex":{"description":"Sex as assigned by the caller (Álvarez-Twose 2012). male scores +1; female scores −1. Always one of these.","enum":["female","male"],"type":"string"},"syncope_or_presyncope":{"description":"Syncope or presyncope as assigned by the caller (Álvarez-Twose 2012). true scores +3; false scores 0.","type":"boolean"},"tryptase_ug_l":{"description":"Serum baseline tryptase (sBt) in μg/L (1-200). <15 scores −1; 15–25 inclusive scores 0; >25 scores +2. Equal to 15 is not <15; equal to 25 is not >25. magent does not assay tryptase.","type":"number"}},"required":["sex","tryptase_ug_l","pruritus_hives_angioedema","syncope_or_presyncope"],"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},{"id":39411,"slug":"39411","resource":"https://api.magentlab.com/api/calc/icc_sm","description":"ICC 2022 systemic mastocytosis (Arber 2022). Met when major infiltrates (≥15 tryptase- and/or CD117-positive MCs in aggregates in BM or extracutaneous organ) alone, or ≥3 minors. Minors: >25% spindle or atypical immature morphology, KIT D816V or other activating KIT mutation, CD25/CD2/CD30, tryptase >20 ng/mL (not counted in SM-AMN). Not a diagnosis. Not Valent 2016 WHO SM. Not WHO 5th/Khoury. Not cutaneous mastocytosis only. magent does not read a biopsy or assay tryptase.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_cd25_or_cd30":false,"kit_activating":false,"major_infiltrates":true,"tryptase_gt_20":false},{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_cd25_or_cd30":false,"kit_activating":false,"major_infiltrates":true,"tryptase_gt_20":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_cd25_or_cd30":false,"citation":{"authors":"Arber DA, Orazi A, Hasserjian RP, Borowitz MJ, Calvo KR, Kvasnicka HM, Wang SA, Bagg A, Barbui T, Bennett JM, de la Fuente J, et al.","doi":"10.1182/blood.2022015850","id":"arber-2022","pmid":"35767897","source":"Blood. 2022;140(11):1200-1228","title":"International Consensus Classification of Myeloid Neoplasms and Acute Leukemias: integrating morphologic, clinical, and genomic data"},"criteria":[{"factor":"major","met":true},{"factor":"atypical_or_spindle","met":false},{"factor":"kit_activating","met":false},{"factor":"cd2_cd25_or_cd30","met":false},{"factor":"tryptase_counts","met":false},{"factor":"associated_myeloid_neoplasm","met":false},{"factor":"minor_count_ge_3","met":false}],"diagnosed":true,"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":"icc_sm","formula_expression":"diagnosed iff major_infiltrates or minor_count ≥ 3; minor_count counts atypical_or_spindle, kit_activating, cd2_cd25_or_cd30, and tryptase_gt_20 only when associated_myeloid_neoplasm is false (Arber 2022 ICC SM). Not a diagnosis. Not Valent 2016 WHO SM. Not cutaneous mastocytosis only","kit_activating":false,"major":true,"major_infiltrates":true,"minor_count":0,"tryptase_counts":false,"tryptase_gt_20":false},{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_cd25_or_cd30":false,"citation":{"authors":"Arber DA, Orazi A, Hasserjian RP, Borowitz MJ, Calvo KR, Kvasnicka HM, Wang SA, Bagg A, Barbui T, Bennett JM, de la Fuente J, et al.","doi":"10.1182/blood.2022015850","id":"arber-2022","pmid":"35767897","source":"Blood. 2022;140(11):1200-1228","title":"International Consensus Classification of Myeloid Neoplasms and Acute Leukemias: integrating morphologic, clinical, and genomic data"},"criteria":[{"factor":"major","met":true},{"factor":"atypical_or_spindle","met":false},{"factor":"kit_activating","met":false},{"factor":"cd2_cd25_or_cd30","met":false},{"factor":"tryptase_counts","met":false},{"factor":"associated_myeloid_neoplasm","met":false},{"factor":"minor_count_ge_3","met":false}],"diagnosed":true,"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":"icc_sm","formula_expression":"diagnosed iff major_infiltrates or minor_count ≥ 3; minor_count counts atypical_or_spindle, kit_activating, cd2_cd25_or_cd30, and tryptase_gt_20 only when associated_myeloid_neoplasm is false (Arber 2022 ICC SM). Not a diagnosis. Not Valent 2016 WHO SM. Not cutaneous mastocytosis only","kit_activating":false,"major":true,"major_infiltrates":true,"minor_count":0,"tryptase_counts":false,"tryptase_gt_20":false}],"path":"/api/calc/icc_sm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"associated_myeloid_neoplasm":{"description":"Associated myeloid neoplasm (ICC SM-AMN) as assigned by the caller. When true, tryptase_gt_20 does not count as a minor. true or false. magent does not diagnose a myeloid neoplasm.","type":"boolean"},"atypical_or_spindle":{"description":">25% spindle-shaped or atypical immature morphology in bone marrow or extracutaneous sections, as assigned by the caller (Arber 2022 ICC SM minor). true or false. magent does not read slides.","type":"boolean"},"cd2_cd25_or_cd30":{"description":"Mast cells express CD25, CD2, and/or CD30 in addition to mast-cell markers, as assigned by the caller (Arber 2022 ICC SM minor; ICC adds CD30). true or false. magent does not phenotype mast cells.","type":"boolean"},"kit_activating":{"description":"KIT D816V or other activating KIT mutation in bone marrow, blood, or an extracutaneous organ, as assigned by the caller (Arber 2022 ICC SM minor; not codon-816-only). true or false. magent does not sequence KIT.","type":"boolean"},"major_infiltrates":{"description":"Multifocal dense infiltrates of tryptase- and/or CD117-positive mast cells (≥15 MCs in aggregates) in bone marrow or another extracutaneous organ, as assigned by the caller (Arber 2022 ICC SM major). true or false. magent does not read a biopsy.","type":"boolean"},"tryptase_gt_20":{"description":"Serum tryptase persistently >20 ng/mL as assigned by the caller (Arber 2022 ICC SM minor). Does not count when associated_myeloid_neoplasm is true (SM-AMN). true or false. magent does not assay tryptase.","type":"boolean"}},"required":["major_infiltrates","atypical_or_spindle","kit_activating","cd2_cd25_or_cd30","tryptase_gt_20","associated_myeloid_neoplasm"],"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":["icc-2022","mastocytosis","hematology","kit","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:56:50.003Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:56:49.876Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_cd25_or_cd30":false,"kit_activating":false,"major_infiltrates":true,"tryptase_gt_20":false},{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_cd25_or_cd30":false,"kit_activating":false,"major_infiltrates":true,"tryptase_gt_20":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_cd25_or_cd30":false,"citation":{"authors":"Arber DA, Orazi A, Hasserjian RP, Borowitz MJ, Calvo KR, Kvasnicka HM, Wang SA, Bagg A, Barbui T, Bennett JM, de la Fuente J, et al.","doi":"10.1182/blood.2022015850","id":"arber-2022","pmid":"35767897","source":"Blood. 2022;140(11):1200-1228","title":"International Consensus Classification of Myeloid Neoplasms and Acute Leukemias: integrating morphologic, clinical, and genomic data"},"criteria":[{"factor":"major","met":true},{"factor":"atypical_or_spindle","met":false},{"factor":"kit_activating","met":false},{"factor":"cd2_cd25_or_cd30","met":false},{"factor":"tryptase_counts","met":false},{"factor":"associated_myeloid_neoplasm","met":false},{"factor":"minor_count_ge_3","met":false}],"diagnosed":true,"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":"icc_sm","formula_expression":"diagnosed iff major_infiltrates or minor_count ≥ 3; minor_count counts atypical_or_spindle, kit_activating, cd2_cd25_or_cd30, and tryptase_gt_20 only when associated_myeloid_neoplasm is false (Arber 2022 ICC SM). Not a diagnosis. Not Valent 2016 WHO SM. Not cutaneous mastocytosis only","kit_activating":false,"major":true,"major_infiltrates":true,"minor_count":0,"tryptase_counts":false,"tryptase_gt_20":false},{"associated_myeloid_neoplasm":false,"atypical_or_spindle":false,"cd2_cd25_or_cd30":false,"citation":{"authors":"Arber DA, Orazi A, Hasserjian RP, Borowitz MJ, Calvo KR, Kvasnicka HM, Wang SA, Bagg A, Barbui T, Bennett JM, de la Fuente J, et al.","doi":"10.1182/blood.2022015850","id":"arber-2022","pmid":"35767897","source":"Blood. 2022;140(11):1200-1228","title":"International Consensus Classification of Myeloid Neoplasms and Acute Leukemias: integrating morphologic, clinical, and genomic data"},"criteria":[{"factor":"major","met":true},{"factor":"atypical_or_spindle","met":false},{"factor":"kit_activating","met":false},{"factor":"cd2_cd25_or_cd30","met":false},{"factor":"tryptase_counts","met":false},{"factor":"associated_myeloid_neoplasm","met":false},{"factor":"minor_count_ge_3","met":false}],"diagnosed":true,"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":"icc_sm","formula_expression":"diagnosed iff major_infiltrates or minor_count ≥ 3; minor_count counts atypical_or_spindle, kit_activating, cd2_cd25_or_cd30, and tryptase_gt_20 only when associated_myeloid_neoplasm is false (Arber 2022 ICC SM). Not a diagnosis. Not Valent 2016 WHO SM. Not cutaneous mastocytosis only","kit_activating":false,"major":true,"major_infiltrates":true,"minor_count":0,"tryptase_counts":false,"tryptase_gt_20":false}],"path":"/api/calc/icc_sm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"associated_myeloid_neoplasm":{"description":"Associated myeloid neoplasm (ICC SM-AMN) as assigned by the caller. When true, tryptase_gt_20 does not count as a minor. true or false. magent does not diagnose a myeloid neoplasm.","type":"boolean"},"atypical_or_spindle":{"description":">25% spindle-shaped or atypical immature morphology in bone marrow or extracutaneous sections, as assigned by the caller (Arber 2022 ICC SM minor). true or false. magent does not read slides.","type":"boolean"},"cd2_cd25_or_cd30":{"description":"Mast cells express CD25, CD2, and/or CD30 in addition to mast-cell markers, as assigned by the caller (Arber 2022 ICC SM minor; ICC adds CD30). true or false. magent does not phenotype mast cells.","type":"boolean"},"kit_activating":{"description":"KIT D816V or other activating KIT mutation in bone marrow, blood, or an extracutaneous organ, as assigned by the caller (Arber 2022 ICC SM minor; not codon-816-only). true or false. magent does not sequence KIT.","type":"boolean"},"major_infiltrates":{"description":"Multifocal dense infiltrates of tryptase- and/or CD117-positive mast cells (≥15 MCs in aggregates) in bone marrow or another extracutaneous organ, as assigned by the caller (Arber 2022 ICC SM major). true or false. magent does not read a biopsy.","type":"boolean"},"tryptase_gt_20":{"description":"Serum tryptase persistently >20 ng/mL as assigned by the caller (Arber 2022 ICC SM minor). Does not count when associated_myeloid_neoplasm is true (SM-AMN). true or false. magent does not assay tryptase.","type":"boolean"}},"required":["major_infiltrates","atypical_or_spindle","kit_activating","cd2_cd25_or_cd30","tryptase_gt_20","associated_myeloid_neoplasm"],"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},{"id":39413,"slug":"39413","resource":"https://api.magentlab.com/api/calc/ice","description":"Lee 2019 Immune Effector Cell-Associated Encephalopathy (ICE) points: orientation 0-4 (year, month, city, hospital), naming 0-3 (three objects), following commands 1, writing 1, attention 1 (count backward from 100 by tens); total 0-10. Caller-assigned; magent does not perform the exam. Not ASTCT ICANS grading. Deterministic published arithmetic with citation; not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"attention":true,"following_commands":true,"naming":3,"orientation":4,"writing":true},{"attention":true,"following_commands":true,"naming":3,"orientation":4,"writing":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"attention":true,"citation":{"authors":"Lee DW, Santomasso BD, Locke FL, et al.","doi":"10.1016/j.bbmt.2018.12.758","id":"lee-2019","source":"Biol Blood Marrow Transplant. 2019;25(4):625-638","title":"ASTCT Consensus Grading for Cytokine Release Syndrome and Neurologic Toxicity Associated with Immune Effector Cells"},"components":[{"factor":"orientation","points":4,"present":true,"value":4},{"factor":"naming","points":3,"present":true,"value":3},{"factor":"following_commands","points":1,"present":true},{"factor":"writing","points":1,"present":true},{"factor":"attention","points":1,"present":true}],"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.","following_commands":true,"formula":"ice","formula_expression":"ICE = orientation (0-4; year, month, city, hospital) + naming (0-3; three objects) + following_commands (1) + writing (1) + attention (1; count backward from 100 by tens); max 10. ICE points only; not ASTCT ICANS grade. magent does not perform the exam","max_score":10,"naming":3,"orientation":4,"score":10,"writing":true},{"attention":true,"citation":{"authors":"Lee DW, Santomasso BD, Locke FL, et al.","doi":"10.1016/j.bbmt.2018.12.758","id":"lee-2019","source":"Biol Blood Marrow Transplant. 2019;25(4):625-638","title":"ASTCT Consensus Grading for Cytokine Release Syndrome and Neurologic Toxicity Associated with Immune Effector Cells"},"components":[{"factor":"orientation","points":4,"present":true,"value":4},{"factor":"naming","points":3,"present":true,"value":3},{"factor":"following_commands","points":1,"present":true},{"factor":"writing","points":1,"present":true},{"factor":"attention","points":1,"present":true}],"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.","following_commands":true,"formula":"ice","formula_expression":"ICE = orientation (0-4; year, month, city, hospital) + naming (0-3; three objects) + following_commands (1) + writing (1) + attention (1; count backward from 100 by tens); max 10. ICE points only; not ASTCT ICANS grade. magent does not perform the exam","max_score":10,"naming":3,"orientation":4,"score":10,"writing":true}],"path":"/api/calc/ice"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"attention":{"description":"Ability to count backward from 100 by tens (Lee 2019 ICE, 1 point). true, false, 1, or 0. magent does not perform the exam.","type":"boolean"},"following_commands":{"description":"Ability to follow commands (Lee 2019 ICE, 1 point). true, false, 1, or 0. magent does not perform the exam.","type":"boolean"},"naming":{"description":"Caller-assigned naming points 0-3 (three objects; Lee 2019 ICE). magent does not perform the exam.","type":"integer"},"orientation":{"description":"Caller-assigned orientation points 0-4 (year, month, city, hospital; Lee 2019 ICE). magent does not perform the exam.","type":"integer"},"writing":{"description":"Ability to write a standard sentence (Lee 2019 ICE, 1 point). true, false, 1, or 0. magent does not perform the exam.","type":"boolean"}},"required":["orientation","naming","following_commands","writing","attention"],"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":["ice","icans","hematology","car-t","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:56:36.972Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:56:36.836Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"attention":true,"following_commands":true,"naming":3,"orientation":4,"writing":true},{"attention":true,"following_commands":true,"naming":3,"orientation":4,"writing":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"attention":true,"citation":{"authors":"Lee DW, Santomasso BD, Locke FL, et al.","doi":"10.1016/j.bbmt.2018.12.758","id":"lee-2019","source":"Biol Blood Marrow Transplant. 2019;25(4):625-638","title":"ASTCT Consensus Grading for Cytokine Release Syndrome and Neurologic Toxicity Associated with Immune Effector Cells"},"components":[{"factor":"orientation","points":4,"present":true,"value":4},{"factor":"naming","points":3,"present":true,"value":3},{"factor":"following_commands","points":1,"present":true},{"factor":"writing","points":1,"present":true},{"factor":"attention","points":1,"present":true}],"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.","following_commands":true,"formula":"ice","formula_expression":"ICE = orientation (0-4; year, month, city, hospital) + naming (0-3; three objects) + following_commands (1) + writing (1) + attention (1; count backward from 100 by tens); max 10. ICE points only; not ASTCT ICANS grade. magent does not perform the exam","max_score":10,"naming":3,"orientation":4,"score":10,"writing":true},{"attention":true,"citation":{"authors":"Lee DW, Santomasso BD, Locke FL, et al.","doi":"10.1016/j.bbmt.2018.12.758","id":"lee-2019","source":"Biol Blood Marrow Transplant. 2019;25(4):625-638","title":"ASTCT Consensus Grading for Cytokine Release Syndrome and Neurologic Toxicity Associated with Immune Effector Cells"},"components":[{"factor":"orientation","points":4,"present":true,"value":4},{"factor":"naming","points":3,"present":true,"value":3},{"factor":"following_commands","points":1,"present":true},{"factor":"writing","points":1,"present":true},{"factor":"attention","points":1,"present":true}],"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.","following_commands":true,"formula":"ice","formula_expression":"ICE = orientation (0-4; year, month, city, hospital) + naming (0-3; three objects) + following_commands (1) + writing (1) + attention (1; count backward from 100 by tens); max 10. ICE points only; not ASTCT ICANS grade. magent does not perform the exam","max_score":10,"naming":3,"orientation":4,"score":10,"writing":true}],"path":"/api/calc/ice"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"attention":{"description":"Ability to count backward from 100 by tens (Lee 2019 ICE, 1 point). true, false, 1, or 0. magent does not perform the exam.","type":"boolean"},"following_commands":{"description":"Ability to follow commands (Lee 2019 ICE, 1 point). true, false, 1, or 0. magent does not perform the exam.","type":"boolean"},"naming":{"description":"Caller-assigned naming points 0-3 (three objects; Lee 2019 ICE). magent does not perform the exam.","type":"integer"},"orientation":{"description":"Caller-assigned orientation points 0-4 (year, month, city, hospital; Lee 2019 ICE). magent does not perform the exam.","type":"integer"},"writing":{"description":"Ability to write a standard sentence (Lee 2019 ICE, 1 point). true, false, 1, or 0. magent does not perform the exam.","type":"boolean"}},"required":["orientation","naming","following_commands","writing","attention"],"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},{"id":39414,"slug":"39414","resource":"https://api.magentlab.com/api/calc/nci_ctc_stomatitis","description":"NCI CTC v2.0 stomatitis/pharyngitis (Trotti 2000). none → 0; painless_or_mild_soreness → 1; painful_can_eat → 2; painful_cannot_eat → 3; parenteral_or_prophylactic_intubation → 4. magent does not examine the mucosa. Not radiation mucositis (nci-ctc-mucositis), CTCAE catalog, or WHO. Not a diagnosis or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"appearance":"painless_or_mild_soreness"},{"appearance":"painless_or_mild_soreness"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"appearance":"painless_or_mild_soreness","citation":{"authors":"Trotti A, Byhardt R, Stetz J, Gwede C, Corn B, Fu K, Gunderson L, McCormick B, Morris M, Rich T, Shipley W, Curran W","doi":"10.1016/s0360-3016(99)00559-3","id":"trotti-2000","pmid":"10758303","source":"Int J Radiat Oncol Biol Phys. 2000;47(1):13-47","title":"Common toxicity criteria: version 2.0. an improved reference for grading the acute effects of cancer treatment: impact on radiotherapy"},"criteria":[{"factor":"none","met":false},{"factor":"painless_or_mild_soreness","met":true},{"factor":"painful_can_eat","met":false},{"factor":"painful_cannot_eat","met":false},{"factor":"parenteral_or_prophylactic_intubation","met":false}],"description":"Painless ulcers, erythema, or mild soreness in the absence of lesions","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":"nci_ctc_stomatitis","formula_expression":"nci_ctc_stomatitis appearance none → grade 0; painless_or_mild_soreness → 1 (painless ulcers, erythema, or mild soreness in the absence of lesions); painful_can_eat → 2 (painful erythema, edema or ulcers, but can eat or swallow); painful_cannot_eat → 3 (painful erythema, edema or ulcers, and cannot eat or swallow); parenteral_or_prophylactic_intubation → 4 (severe ulceration or requires parenteral or enteral support or prophylactic intubation) (NCI CTC v2.0 Stomatitis/pharyngitis (oral/pharyngeal mucositis); Trotti 2000). Not CTC Mucositis due to radiation. Not CTCAE. Not WHO mucositis. magent does not examine the mucosa. Not a diagnosis","grade":1},{"appearance":"painless_or_mild_soreness","citation":{"authors":"Trotti A, Byhardt R, Stetz J, Gwede C, Corn B, Fu K, Gunderson L, McCormick B, Morris M, Rich T, Shipley W, Curran W","doi":"10.1016/s0360-3016(99)00559-3","id":"trotti-2000","pmid":"10758303","source":"Int J Radiat Oncol Biol Phys. 2000;47(1):13-47","title":"Common toxicity criteria: version 2.0. an improved reference for grading the acute effects of cancer treatment: impact on radiotherapy"},"criteria":[{"factor":"none","met":false},{"factor":"painless_or_mild_soreness","met":true},{"factor":"painful_can_eat","met":false},{"factor":"painful_cannot_eat","met":false},{"factor":"parenteral_or_prophylactic_intubation","met":false}],"description":"Painless ulcers, erythema, or mild soreness in the absence of lesions","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":"nci_ctc_stomatitis","formula_expression":"nci_ctc_stomatitis appearance none → grade 0; painless_or_mild_soreness → 1 (painless ulcers, erythema, or mild soreness in the absence of lesions); painful_can_eat → 2 (painful erythema, edema or ulcers, but can eat or swallow); painful_cannot_eat → 3 (painful erythema, edema or ulcers, and cannot eat or swallow); parenteral_or_prophylactic_intubation → 4 (severe ulceration or requires parenteral or enteral support or prophylactic intubation) (NCI CTC v2.0 Stomatitis/pharyngitis (oral/pharyngeal mucositis); Trotti 2000). Not CTC Mucositis due to radiation. Not CTCAE. Not WHO mucositis. magent does not examine the mucosa. Not a diagnosis","grade":1}],"path":"/api/calc/nci_ctc_stomatitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"appearance":{"description":"NCI CTC v2.0 Stomatitis/pharyngitis (oral/pharyngeal mucositis) appearance as assigned by the caller: none (grade 0), painless_or_mild_soreness (grade 1, painless ulcers, erythema, or mild soreness in the absence of lesions), painful_can_eat (grade 2, painful erythema, edema or ulcers, but can eat or swallow), painful_cannot_eat (grade 3, painful erythema, edema or ulcers, and cannot eat or swallow), or parenteral_or_prophylactic_intubation (grade 4, severe ulceration or requires parenteral or enteral support or prophylactic intubation). Case-insensitive. Not CTC Mucositis due to radiation. magent does not examine the mucosa.","type":"string"}},"required":["appearance"],"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":["nci-ctc","stomatitis","pharyngitis","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:56:29.98Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:56:29.865Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"appearance":"painless_or_mild_soreness"},{"appearance":"painless_or_mild_soreness"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"appearance":"painless_or_mild_soreness","citation":{"authors":"Trotti A, Byhardt R, Stetz J, Gwede C, Corn B, Fu K, Gunderson L, McCormick B, Morris M, Rich T, Shipley W, Curran W","doi":"10.1016/s0360-3016(99)00559-3","id":"trotti-2000","pmid":"10758303","source":"Int J Radiat Oncol Biol Phys. 2000;47(1):13-47","title":"Common toxicity criteria: version 2.0. an improved reference for grading the acute effects of cancer treatment: impact on radiotherapy"},"criteria":[{"factor":"none","met":false},{"factor":"painless_or_mild_soreness","met":true},{"factor":"painful_can_eat","met":false},{"factor":"painful_cannot_eat","met":false},{"factor":"parenteral_or_prophylactic_intubation","met":false}],"description":"Painless ulcers, erythema, or mild soreness in the absence of lesions","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":"nci_ctc_stomatitis","formula_expression":"nci_ctc_stomatitis appearance none → grade 0; painless_or_mild_soreness → 1 (painless ulcers, erythema, or mild soreness in the absence of lesions); painful_can_eat → 2 (painful erythema, edema or ulcers, but can eat or swallow); painful_cannot_eat → 3 (painful erythema, edema or ulcers, and cannot eat or swallow); parenteral_or_prophylactic_intubation → 4 (severe ulceration or requires parenteral or enteral support or prophylactic intubation) (NCI CTC v2.0 Stomatitis/pharyngitis (oral/pharyngeal mucositis); Trotti 2000). Not CTC Mucositis due to radiation. Not CTCAE. Not WHO mucositis. magent does not examine the mucosa. Not a diagnosis","grade":1},{"appearance":"painless_or_mild_soreness","citation":{"authors":"Trotti A, Byhardt R, Stetz J, Gwede C, Corn B, Fu K, Gunderson L, McCormick B, Morris M, Rich T, Shipley W, Curran W","doi":"10.1016/s0360-3016(99)00559-3","id":"trotti-2000","pmid":"10758303","source":"Int J Radiat Oncol Biol Phys. 2000;47(1):13-47","title":"Common toxicity criteria: version 2.0. an improved reference for grading the acute effects of cancer treatment: impact on radiotherapy"},"criteria":[{"factor":"none","met":false},{"factor":"painless_or_mild_soreness","met":true},{"factor":"painful_can_eat","met":false},{"factor":"painful_cannot_eat","met":false},{"factor":"parenteral_or_prophylactic_intubation","met":false}],"description":"Painless ulcers, erythema, or mild soreness in the absence of lesions","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":"nci_ctc_stomatitis","formula_expression":"nci_ctc_stomatitis appearance none → grade 0; painless_or_mild_soreness → 1 (painless ulcers, erythema, or mild soreness in the absence of lesions); painful_can_eat → 2 (painful erythema, edema or ulcers, but can eat or swallow); painful_cannot_eat → 3 (painful erythema, edema or ulcers, and cannot eat or swallow); parenteral_or_prophylactic_intubation → 4 (severe ulceration or requires parenteral or enteral support or prophylactic intubation) (NCI CTC v2.0 Stomatitis/pharyngitis (oral/pharyngeal mucositis); Trotti 2000). Not CTC Mucositis due to radiation. Not CTCAE. Not WHO mucositis. magent does not examine the mucosa. Not a diagnosis","grade":1}],"path":"/api/calc/nci_ctc_stomatitis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"appearance":{"description":"NCI CTC v2.0 Stomatitis/pharyngitis (oral/pharyngeal mucositis) appearance as assigned by the caller: none (grade 0), painless_or_mild_soreness (grade 1, painless ulcers, erythema, or mild soreness in the absence of lesions), painful_can_eat (grade 2, painful erythema, edema or ulcers, but can eat or swallow), painful_cannot_eat (grade 3, painful erythema, edema or ulcers, and cannot eat or swallow), or parenteral_or_prophylactic_intubation (grade 4, severe ulceration or requires parenteral or enteral support or prophylactic intubation). Case-insensitive. Not CTC Mucositis due to radiation. magent does not examine the mucosa.","type":"string"}},"required":["appearance"],"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},{"id":39415,"slug":"39415","resource":"https://api.magentlab.com/api/calc/nci_ctc_mucositis","description":"NCI CTC v2.0 Mucositis due to radiation (Trotti 2000). none → 0; erythema → 1; patchy_pseudomembrane (≤1.5 cm, noncontiguous) → 2; confluent_pseudomembrane (contiguous >1.5 cm) → 3; necrosis_or_deep_ulcer (may include bleeding not induced by minor trauma) → 4. magent does not examine the mucosa. Not CTC stomatitis/pharyngitis, CTCAE v3/v4/v5, or WHO mucositis. Not a diagnosis or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"appearance":"erythema"},{"appearance":"erythema"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"appearance":"erythema","citation":{"authors":"Trotti A, Byhardt R, Stetz J, Gwede C, Corn B, Fu K, Gunderson L, McCormick B, Morrisintegral M, Rich T, Shipley W, Curran W","doi":"10.1016/s0360-3016(99)00559-3","id":"trotti-2000","pmid":"10758303","source":"Int J Radiat Oncol Biol Phys. 2000;47(1):13-47","title":"Common toxicity criteria: version 2.0. an improved reference for grading the acute effects of cancer treatment: impact on radiotherapy"},"criteria":[{"factor":"none","met":false},{"factor":"erythema","met":true},{"factor":"patchy_pseudomembrane","met":false},{"factor":"confluent_pseudomembrane","met":false},{"factor":"necrosis_or_deep_ulcer","met":false}],"description":"Erythema of the mucosa","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":"nci_ctc_mucositis","formula_expression":"nci_ctc_mucositis appearance none → grade 0; erythema → 1 (erythema of the mucosa); patchy_pseudomembrane → 2 (patchy pseudomembranous reaction, patches generally ≤1.5 cm and noncontiguous); confluent_pseudomembrane → 3 (confluent pseudomembranous reaction, contiguous patches generally >1.5 cm); necrosis_or_deep_ulcer → 4 (necrosis or deep ulceration; may include bleeding not induced by minor trauma or abrasion) (NCI CTC v2.0 Mucositis due to radiation; Trotti 2000). Not CTC stomatitis/pharyngitis. Not CTCAE. Not WHO mucositis. magent does not examine the mucosa. Not a diagnosis","grade":1},{"appearance":"erythema","citation":{"authors":"Trotti A, Byhardt R, Stetz J, Gwede C, Corn B, Fu K, Gunderson L, McCormick B, Morrisintegral M, Rich T, Shipley W, Curran W","doi":"10.1016/s0360-3016(99)00559-3","id":"trotti-2000","pmid":"10758303","source":"Int J Radiat Oncol Biol Phys. 2000;47(1):13-47","title":"Common toxicity criteria: version 2.0. an improved reference for grading the acute effects of cancer treatment: impact on radiotherapy"},"criteria":[{"factor":"none","met":false},{"factor":"erythema","met":true},{"factor":"patchy_pseudomembrane","met":false},{"factor":"confluent_pseudomembrane","met":false},{"factor":"necrosis_or_deep_ulcer","met":false}],"description":"Erythema of the mucosa","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":"nci_ctc_mucositis","formula_expression":"nci_ctc_mucositis appearance none → grade 0; erythema → 1 (erythema of the mucosa); patchy_pseudomembrane → 2 (patchy pseudomembranous reaction, patches generally ≤1.5 cm and noncontiguous); confluent_pseudomembrane → 3 (confluent pseudomembranous reaction, contiguous patches generally >1.5 cm); necrosis_or_deep_ulcer → 4 (necrosis or deep ulceration; may include bleeding not induced by minor trauma or abrasion) (NCI CTC v2.0 Mucositis due to radiation; Trotti 2000). Not CTC stomatitis/pharyngitis. Not CTCAE. Not WHO mucositis. magent does not examine the mucosa. Not a diagnosis","grade":1}],"path":"/api/calc/nci_ctc_mucositis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"appearance":{"description":"NCI CTC v2.0 Mucositis due to radiation appearance as assigned by the caller: none (grade 0), erythema (grade 1, erythema of the mucosa), patchy_pseudomembrane (grade 2, patchy pseudomembranous reaction, patches generally ≤1.5 cm and noncontiguous), confluent_pseudomembrane (grade 3, confluent pseudomembranous reaction, contiguous patches generally >1.5 cm), or necrosis_or_deep_ulcer (grade 4, necrosis or deep ulceration; may include bleeding not induced by minor trauma or abrasion). Case-insensitive. Not CTC stomatitis/pharyngitis. magent does not examine the mucosa.","type":"string"}},"required":["appearance"],"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":["nci-ctc","mucositis","radiation","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:56:23.793Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:56:23.672Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"appearance":"erythema"},{"appearance":"erythema"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"appearance":"erythema","citation":{"authors":"Trotti A, Byhardt R, Stetz J, Gwede C, Corn B, Fu K, Gunderson L, McCormick B, Morrisintegral M, Rich T, Shipley W, Curran W","doi":"10.1016/s0360-3016(99)00559-3","id":"trotti-2000","pmid":"10758303","source":"Int J Radiat Oncol Biol Phys. 2000;47(1):13-47","title":"Common toxicity criteria: version 2.0. an improved reference for grading the acute effects of cancer treatment: impact on radiotherapy"},"criteria":[{"factor":"none","met":false},{"factor":"erythema","met":true},{"factor":"patchy_pseudomembrane","met":false},{"factor":"confluent_pseudomembrane","met":false},{"factor":"necrosis_or_deep_ulcer","met":false}],"description":"Erythema of the mucosa","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":"nci_ctc_mucositis","formula_expression":"nci_ctc_mucositis appearance none → grade 0; erythema → 1 (erythema of the mucosa); patchy_pseudomembrane → 2 (patchy pseudomembranous reaction, patches generally ≤1.5 cm and noncontiguous); confluent_pseudomembrane → 3 (confluent pseudomembranous reaction, contiguous patches generally >1.5 cm); necrosis_or_deep_ulcer → 4 (necrosis or deep ulceration; may include bleeding not induced by minor trauma or abrasion) (NCI CTC v2.0 Mucositis due to radiation; Trotti 2000). Not CTC stomatitis/pharyngitis. Not CTCAE. Not WHO mucositis. magent does not examine the mucosa. Not a diagnosis","grade":1},{"appearance":"erythema","citation":{"authors":"Trotti A, Byhardt R, Stetz J, Gwede C, Corn B, Fu K, Gunderson L, McCormick B, Morrisintegral M, Rich T, Shipley W, Curran W","doi":"10.1016/s0360-3016(99)00559-3","id":"trotti-2000","pmid":"10758303","source":"Int J Radiat Oncol Biol Phys. 2000;47(1):13-47","title":"Common toxicity criteria: version 2.0. an improved reference for grading the acute effects of cancer treatment: impact on radiotherapy"},"criteria":[{"factor":"none","met":false},{"factor":"erythema","met":true},{"factor":"patchy_pseudomembrane","met":false},{"factor":"confluent_pseudomembrane","met":false},{"factor":"necrosis_or_deep_ulcer","met":false}],"description":"Erythema of the mucosa","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":"nci_ctc_mucositis","formula_expression":"nci_ctc_mucositis appearance none → grade 0; erythema → 1 (erythema of the mucosa); patchy_pseudomembrane → 2 (patchy pseudomembranous reaction, patches generally ≤1.5 cm and noncontiguous); confluent_pseudomembrane → 3 (confluent pseudomembranous reaction, contiguous patches generally >1.5 cm); necrosis_or_deep_ulcer → 4 (necrosis or deep ulceration; may include bleeding not induced by minor trauma or abrasion) (NCI CTC v2.0 Mucositis due to radiation; Trotti 2000). Not CTC stomatitis/pharyngitis. Not CTCAE. Not WHO mucositis. magent does not examine the mucosa. Not a diagnosis","grade":1}],"path":"/api/calc/nci_ctc_mucositis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"appearance":{"description":"NCI CTC v2.0 Mucositis due to radiation appearance as assigned by the caller: none (grade 0), erythema (grade 1, erythema of the mucosa), patchy_pseudomembrane (grade 2, patchy pseudomembranous reaction, patches generally ≤1.5 cm and noncontiguous), confluent_pseudomembrane (grade 3, confluent pseudomembranous reaction, contiguous patches generally >1.5 cm), or necrosis_or_deep_ulcer (grade 4, necrosis or deep ulceration; may include bleeding not induced by minor trauma or abrasion). Case-insensitive. Not CTC stomatitis/pharyngitis. magent does not examine the mucosa.","type":"string"}},"required":["appearance"],"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},{"id":39416,"slug":"39416","resource":"https://api.magentlab.com/api/calc/astct_icans","description":"Adult ASTCT ICANS consensus grade (Lee 2019 Table 6). Grade is the most severe of ICE, depressed LOC, seizure, deep focal motor weakness, and ICP/edema. ICE 10 is 0; 7-9 is 1; 3-6 is 2; 0-2 is 3; ICE 0 is 4 if unarousable. Not CRS, not pediatric CAPD, and not the 10-item ICE test. magent does not perform ICE testing or examine the patient. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ice_score":8,"icp":"none","loc":"none","motor_weakness":false,"seizure":"none"},{"ice_score":8,"icp":"none","loc":"none","motor_weakness":false,"seizure":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lee DW, Santomasso BD, Locke FL, Ghobadi A, Turtle CJ, Brudno JN, Maus MV, Park JH, Mead E, Pavletic S, Go WY, Hegde M, Kadauke S, Gauthier J, Riviere I, van den Brink MRM, Gardner RA, Grupp SA, Kalos M, Neelapu SS","doi":"10.1016/j.bbmt.2018.12.758","id":"lee-2019","pmid":"30592986","source":"Biol Blood Marrow Transplant. 2019;25(4):625-638","title":"ASTCT Consensus Grading for Cytokine Release Syndrome and Neurologic Toxicity Associated with Immune Effector Cells"},"components":[{"factor":"ice","met":true,"value":1},{"factor":"loc","met":false,"value":0},{"factor":"seizure","met":false,"value":0},{"factor":"motor","met":false,"value":0},{"factor":"icp","met":false,"value":0}],"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":"astct_icans","formula_expression":"Adult ASTCT ICANS grade = max of ICE, LOC, seizure, motor, and ICP domains not attributable to another cause (Lee 2019 Table 6). ICE: 10 → 0; 7-9 → 1; 3-6 → 2; 0-2 → 3; ICE 0 is 3 if awake (loc not unarousable) and 4 if unarousable/unable to perform ICE. loc: none 0, spontaneous 1, voice 2, tactile 3, unarousable 4. seizure: none 0, rapidly_resolving 3, life_threatening 4. motor_weakness true → 4 (N/A for grades 1-3), false → 0. icp: none 0, focal_edema 3, diffuse_edema 4. icans iff grade ≥ 1. Not CRS. Not the 10-item ICE test. magent does not perform ICE testing","grade":1,"icans":true,"ice_grade":1,"ice_score":8,"icp":"none","icp_grade":0,"loc":"none","loc_grade":0,"motor_grade":0,"motor_weakness":false,"seizure":"none","seizure_grade":0},{"citation":{"authors":"Lee DW, Santomasso BD, Locke FL, Ghobadi A, Turtle CJ, Brudno JN, Maus MV, Park JH, Mead E, Pavletic S, Go WY, Hegde M, Kadauke S, Gauthier J, Riviere I, van den Brink MRM, Gardner RA, Grupp SA, Kalos M, Neelapu SS","doi":"10.1016/j.bbmt.2018.12.758","id":"lee-2019","pmid":"30592986","source":"Biol Blood Marrow Transplant. 2019;25(4):625-638","title":"ASTCT Consensus Grading for Cytokine Release Syndrome and Neurologic Toxicity Associated with Immune Effector Cells"},"components":[{"factor":"ice","met":true,"value":1},{"factor":"loc","met":false,"value":0},{"factor":"seizure","met":false,"value":0},{"factor":"motor","met":false,"value":0},{"factor":"icp","met":false,"value":0}],"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":"astct_icans","formula_expression":"Adult ASTCT ICANS grade = max of ICE, LOC, seizure, motor, and ICP domains not attributable to another cause (Lee 2019 Table 6). ICE: 10 → 0; 7-9 → 1; 3-6 → 2; 0-2 → 3; ICE 0 is 3 if awake (loc not unarousable) and 4 if unarousable/unable to perform ICE. loc: none 0, spontaneous 1, voice 2, tactile 3, unarousable 4. seizure: none 0, rapidly_resolving 3, life_threatening 4. motor_weakness true → 4 (N/A for grades 1-3), false → 0. icp: none 0, focal_edema 3, diffuse_edema 4. icans iff grade ≥ 1. Not CRS. Not the 10-item ICE test. magent does not perform ICE testing","grade":1,"icans":true,"ice_grade":1,"ice_score":8,"icp":"none","icp_grade":0,"loc":"none","loc_grade":0,"motor_grade":0,"motor_weakness":false,"seizure":"none","seizure_grade":0}],"path":"/api/calc/astct_icans"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ice_score":{"description":"Caller-assigned Immune Effector Cell-Associated Encephalopathy (ICE) total 0-10 (Lee 2019 Table 6). Domain: 10 → grade 0; 7-9 → 1; 3-6 → 2; 0-2 → 3. ICE 0 is grade 3 if awake (loc is not unarousable) and grade 4 if unarousable/unable to perform ICE. magent does not score orientation, naming, following commands, writing, or attention and is not the 10-item ICE calculator.","type":"integer"},"icp":{"description":"Caller-assigned raised intracranial pressure / cerebral edema (Lee 2019 Table 6): none (domain 0); focal_edema (focal/local edema on neuroimaging, 3); diffuse_edema (diffuse cerebral edema on imaging, or decerebrate/decorticate posturing, cranial nerve VI palsy, papilledema, or Cushing triad, 4). Case-insensitive. magent does not read imaging or examine the patient.","enum":["none","focal_edema","diffuse_edema"],"type":"string"},"loc":{"description":"Caller-assigned depressed level of consciousness (Lee 2019 Table 6): none (no depressed LOC, domain 0); spontaneous (awakens spontaneously, 1); voice (awakens to voice, 2); tactile (awakens only to tactile stimulus, 3); unarousable (unarousable or requires vigorous or repetitive tactile stimuli; stupor or coma, 4). Case-insensitive. magent does not examine the patient.","enum":["none","spontaneous","voice","tactile","unarousable"],"type":"string"},"motor_weakness":{"description":"Deep focal motor weakness such as hemiparesis or paraparesis as assigned by the caller (Lee 2019 Table 6). true maps to domain grade 4. false maps to 0. Motor is N/A for grades 1-3. true or false. magent does not examine the patient.","type":"boolean"},"seizure":{"description":"Caller-assigned seizure (Lee 2019 Table 6): none (domain 0); rapidly_resolving (any clinical seizure, focal or generalized, that resolves rapidly, or nonconvulsive seizures on EEG that resolve with intervention, 3); life_threatening (life-threatening prolonged seizure >5 min or repetitive clinical or electrical seizures without return to baseline, 4). Case-insensitive. magent does not interpret EEG.","enum":["none","rapidly_resolving","life_threatening"],"type":"string"}},"required":["ice_score","loc","seizure","motor_weakness","icp"],"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":["astct-icans","icans","hematology","car-t","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:56:17.012Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:56:16.866Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ice_score":8,"icp":"none","loc":"none","motor_weakness":false,"seizure":"none"},{"ice_score":8,"icp":"none","loc":"none","motor_weakness":false,"seizure":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lee DW, Santomasso BD, Locke FL, Ghobadi A, Turtle CJ, Brudno JN, Maus MV, Park JH, Mead E, Pavletic S, Go WY, Hegde M, Kadauke S, Gauthier J, Riviere I, van den Brink MRM, Gardner RA, Grupp SA, Kalos M, Neelapu SS","doi":"10.1016/j.bbmt.2018.12.758","id":"lee-2019","pmid":"30592986","source":"Biol Blood Marrow Transplant. 2019;25(4):625-638","title":"ASTCT Consensus Grading for Cytokine Release Syndrome and Neurologic Toxicity Associated with Immune Effector Cells"},"components":[{"factor":"ice","met":true,"value":1},{"factor":"loc","met":false,"value":0},{"factor":"seizure","met":false,"value":0},{"factor":"motor","met":false,"value":0},{"factor":"icp","met":false,"value":0}],"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":"astct_icans","formula_expression":"Adult ASTCT ICANS grade = max of ICE, LOC, seizure, motor, and ICP domains not attributable to another cause (Lee 2019 Table 6). ICE: 10 → 0; 7-9 → 1; 3-6 → 2; 0-2 → 3; ICE 0 is 3 if awake (loc not unarousable) and 4 if unarousable/unable to perform ICE. loc: none 0, spontaneous 1, voice 2, tactile 3, unarousable 4. seizure: none 0, rapidly_resolving 3, life_threatening 4. motor_weakness true → 4 (N/A for grades 1-3), false → 0. icp: none 0, focal_edema 3, diffuse_edema 4. icans iff grade ≥ 1. Not CRS. Not the 10-item ICE test. magent does not perform ICE testing","grade":1,"icans":true,"ice_grade":1,"ice_score":8,"icp":"none","icp_grade":0,"loc":"none","loc_grade":0,"motor_grade":0,"motor_weakness":false,"seizure":"none","seizure_grade":0},{"citation":{"authors":"Lee DW, Santomasso BD, Locke FL, Ghobadi A, Turtle CJ, Brudno JN, Maus MV, Park JH, Mead E, Pavletic S, Go WY, Hegde M, Kadauke S, Gauthier J, Riviere I, van den Brink MRM, Gardner RA, Grupp SA, Kalos M, Neelapu SS","doi":"10.1016/j.bbmt.2018.12.758","id":"lee-2019","pmid":"30592986","source":"Biol Blood Marrow Transplant. 2019;25(4):625-638","title":"ASTCT Consensus Grading for Cytokine Release Syndrome and Neurologic Toxicity Associated with Immune Effector Cells"},"components":[{"factor":"ice","met":true,"value":1},{"factor":"loc","met":false,"value":0},{"factor":"seizure","met":false,"value":0},{"factor":"motor","met":false,"value":0},{"factor":"icp","met":false,"value":0}],"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":"astct_icans","formula_expression":"Adult ASTCT ICANS grade = max of ICE, LOC, seizure, motor, and ICP domains not attributable to another cause (Lee 2019 Table 6). ICE: 10 → 0; 7-9 → 1; 3-6 → 2; 0-2 → 3; ICE 0 is 3 if awake (loc not unarousable) and 4 if unarousable/unable to perform ICE. loc: none 0, spontaneous 1, voice 2, tactile 3, unarousable 4. seizure: none 0, rapidly_resolving 3, life_threatening 4. motor_weakness true → 4 (N/A for grades 1-3), false → 0. icp: none 0, focal_edema 3, diffuse_edema 4. icans iff grade ≥ 1. Not CRS. Not the 10-item ICE test. magent does not perform ICE testing","grade":1,"icans":true,"ice_grade":1,"ice_score":8,"icp":"none","icp_grade":0,"loc":"none","loc_grade":0,"motor_grade":0,"motor_weakness":false,"seizure":"none","seizure_grade":0}],"path":"/api/calc/astct_icans"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ice_score":{"description":"Caller-assigned Immune Effector Cell-Associated Encephalopathy (ICE) total 0-10 (Lee 2019 Table 6). Domain: 10 → grade 0; 7-9 → 1; 3-6 → 2; 0-2 → 3. ICE 0 is grade 3 if awake (loc is not unarousable) and grade 4 if unarousable/unable to perform ICE. magent does not score orientation, naming, following commands, writing, or attention and is not the 10-item ICE calculator.","type":"integer"},"icp":{"description":"Caller-assigned raised intracranial pressure / cerebral edema (Lee 2019 Table 6): none (domain 0); focal_edema (focal/local edema on neuroimaging, 3); diffuse_edema (diffuse cerebral edema on imaging, or decerebrate/decorticate posturing, cranial nerve VI palsy, papilledema, or Cushing triad, 4). Case-insensitive. magent does not read imaging or examine the patient.","enum":["none","focal_edema","diffuse_edema"],"type":"string"},"loc":{"description":"Caller-assigned depressed level of consciousness (Lee 2019 Table 6): none (no depressed LOC, domain 0); spontaneous (awakens spontaneously, 1); voice (awakens to voice, 2); tactile (awakens only to tactile stimulus, 3); unarousable (unarousable or requires vigorous or repetitive tactile stimuli; stupor or coma, 4). Case-insensitive. magent does not examine the patient.","enum":["none","spontaneous","voice","tactile","unarousable"],"type":"string"},"motor_weakness":{"description":"Deep focal motor weakness such as hemiparesis or paraparesis as assigned by the caller (Lee 2019 Table 6). true maps to domain grade 4. false maps to 0. Motor is N/A for grades 1-3. true or false. magent does not examine the patient.","type":"boolean"},"seizure":{"description":"Caller-assigned seizure (Lee 2019 Table 6): none (domain 0); rapidly_resolving (any clinical seizure, focal or generalized, that resolves rapidly, or nonconvulsive seizures on EEG that resolve with intervention, 3); life_threatening (life-threatening prolonged seizure >5 min or repetitive clinical or electrical seizures without return to baseline, 4). Case-insensitive. magent does not interpret EEG.","enum":["none","rapidly_resolving","life_threatening"],"type":"string"}},"required":["ice_score","loc","seizure","motor_weakness","icp"],"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},{"id":39417,"slug":"39417","resource":"https://api.magentlab.com/api/calc/astct_crs","description":"Lee 2019 ASTCT CRS Table 1 grade 0-4. Fever (>=38 C, not another cause) with both axes none is grade 1. fever_waived after antipyretic, tocilizumab, or steroids. Grade is the more severe of hypotension (none / no_vasopressors / one_vasopressor / multiple_vasopressors) vs hypoxia (none / low_flow / high_flow / positive_pressure). Organ toxicities do not influence grade. Not ICANS. magent does not measure temperature or start vasopressors.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fever":true,"fever_waived":false,"hypotension":"none","hypoxia":"none"},{"fever":true,"fever_waived":false,"hypotension":"none","hypoxia":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lee DW, Santomasso BD, Locke FL, Ghobadi A, Turtle CJ, Brudno JN, Maus MV, Park JH, Mead E, Pavletic S, Go WY, Eldjerou L, Gardner RA, Frey N, Curran KJ, Peggs K, Pasquini M, DiPersio JF, van den Brink MRM, Komanduri KV, Grupp SA, Neelapu SS","doi":"10.1016/j.bbmt.2018.12.758","id":"lee-2019","pmid":"30592986","source":"Biol Blood Marrow Transplant. 2019;25(4):625-638","title":"ASTCT Consensus Grading for Cytokine Release Syndrome and Neurologic Toxicity Associated with Immune Effector Cells"},"criteria":[{"factor":"fever_or_waived","met":true},{"factor":"hypotension_none","met":true,"value":"none"},{"factor":"hypotension_no_vasopressors","met":false},{"factor":"hypotension_one_vasopressor","met":false},{"factor":"hypotension_multiple_vasopressors","met":false},{"factor":"hypoxia_none","met":true,"value":"none"},{"factor":"hypoxia_low_flow","met":false},{"factor":"hypoxia_high_flow","met":false},{"factor":"hypoxia_positive_pressure","met":false}],"crs":true,"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.","fever":true,"fever_waived":false,"formula":"astct_crs","formula_expression":"Lee 2019 ASTCT CRS Table 1. fever is temperature ≥38°C not attributable to another cause. fever_waived true if CRS already treated with antipyretic/tocilizumab/steroids so fever is no longer required. hypotension none | no_vasopressors | one_vasopressor (with or without vasopressin) | multiple_vasopressors (excluding vasopressin). hypoxia none | low_flow (≤6 L/min nasal cannula or blow-by) | high_flow (>6 L/min, facemask, NRB, or Venturi) | positive_pressure (CPAP/BiPAP/intubation). Grade is the more severe of hypotension vs hypoxia: both none → 1 if fever or fever_waived else 0 (crs false); no_vasopressors or low_flow → 2; one_vasopressor or high_flow → 3; multiple_vasopressors or positive_pressure → 4. Organ toxicities do not influence grade. Not ICANS","grade":1,"hypotension":"none","hypotension_grade":0,"hypoxia":"none","hypoxia_grade":0},{"citation":{"authors":"Lee DW, Santomasso BD, Locke FL, Ghobadi A, Turtle CJ, Brudno JN, Maus MV, Park JH, Mead E, Pavletic S, Go WY, Eldjerou L, Gardner RA, Frey N, Curran KJ, Peggs K, Pasquini M, DiPersio JF, van den Brink MRM, Komanduri KV, Grupp SA, Neelapu SS","doi":"10.1016/j.bbmt.2018.12.758","id":"lee-2019","pmid":"30592986","source":"Biol Blood Marrow Transplant. 2019;25(4):625-638","title":"ASTCT Consensus Grading for Cytokine Release Syndrome and Neurologic Toxicity Associated with Immune Effector Cells"},"criteria":[{"factor":"fever_or_waived","met":true},{"factor":"hypotension_none","met":true,"value":"none"},{"factor":"hypotension_no_vasopressors","met":false},{"factor":"hypotension_one_vasopressor","met":false},{"factor":"hypotension_multiple_vasopressors","met":false},{"factor":"hypoxia_none","met":true,"value":"none"},{"factor":"hypoxia_low_flow","met":false},{"factor":"hypoxia_high_flow","met":false},{"factor":"hypoxia_positive_pressure","met":false}],"crs":true,"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.","fever":true,"fever_waived":false,"formula":"astct_crs","formula_expression":"Lee 2019 ASTCT CRS Table 1. fever is temperature ≥38°C not attributable to another cause. fever_waived true if CRS already treated with antipyretic/tocilizumab/steroids so fever is no longer required. hypotension none | no_vasopressors | one_vasopressor (with or without vasopressin) | multiple_vasopressors (excluding vasopressin). hypoxia none | low_flow (≤6 L/min nasal cannula or blow-by) | high_flow (>6 L/min, facemask, NRB, or Venturi) | positive_pressure (CPAP/BiPAP/intubation). Grade is the more severe of hypotension vs hypoxia: both none → 1 if fever or fever_waived else 0 (crs false); no_vasopressors or low_flow → 2; one_vasopressor or high_flow → 3; multiple_vasopressors or positive_pressure → 4. Organ toxicities do not influence grade. Not ICANS","grade":1,"hypotension":"none","hypotension_grade":0,"hypoxia":"none","hypoxia_grade":0}],"path":"/api/calc/astct_crs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fever":{"description":"Fever as assigned by the caller (Lee 2019 ASTCT CRS Table 1): temperature ≥38°C not attributable to another cause. true or false. Required unless fever_waived is true when hypotension or hypoxia is not none. magent does not measure temperature.","type":"boolean"},"fever_waived":{"description":"true if CRS was already treated with antipyretic, tocilizumab, or steroids so fever is no longer required to grade subsequent CRS (Lee 2019). false otherwise. magent does not start those therapies.","type":"boolean"},"hypotension":{"description":"Lee 2019 Table 1 hypotension as assigned by the caller: none; no_vasopressors (hypotension not requiring vasopressors, grade 2); one_vasopressor (one vasopressor with or without vasopressin, grade 3); multiple_vasopressors (multiple vasopressors excluding vasopressin, grade 4). magent does not start vasopressors.","enum":["none","no_vasopressors","one_vasopressor","multiple_vasopressors"],"type":"string"},"hypoxia":{"description":"Lee 2019 Table 1 hypoxia as assigned by the caller: none; low_flow (≤6 L/min nasal cannula or blow-by, grade 2); high_flow (>6 L/min nasal cannula, facemask, nonrebreather, or Venturi, grade 3); positive_pressure (CPAP, BiPAP, or intubation and mechanical ventilation, grade 4). magent does not set oxygen or ventilator mode.","enum":["none","low_flow","high_flow","positive_pressure"],"type":"string"}},"required":["fever","fever_waived","hypotension","hypoxia"],"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":["astct-crs","crs","hematology","car-t","grading","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:56:09.872Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:56:09.743Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fever":true,"fever_waived":false,"hypotension":"none","hypoxia":"none"},{"fever":true,"fever_waived":false,"hypotension":"none","hypoxia":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lee DW, Santomasso BD, Locke FL, Ghobadi A, Turtle CJ, Brudno JN, Maus MV, Park JH, Mead E, Pavletic S, Go WY, Eldjerou L, Gardner RA, Frey N, Curran KJ, Peggs K, Pasquini M, DiPersio JF, van den Brink MRM, Komanduri KV, Grupp SA, Neelapu SS","doi":"10.1016/j.bbmt.2018.12.758","id":"lee-2019","pmid":"30592986","source":"Biol Blood Marrow Transplant. 2019;25(4):625-638","title":"ASTCT Consensus Grading for Cytokine Release Syndrome and Neurologic Toxicity Associated with Immune Effector Cells"},"criteria":[{"factor":"fever_or_waived","met":true},{"factor":"hypotension_none","met":true,"value":"none"},{"factor":"hypotension_no_vasopressors","met":false},{"factor":"hypotension_one_vasopressor","met":false},{"factor":"hypotension_multiple_vasopressors","met":false},{"factor":"hypoxia_none","met":true,"value":"none"},{"factor":"hypoxia_low_flow","met":false},{"factor":"hypoxia_high_flow","met":false},{"factor":"hypoxia_positive_pressure","met":false}],"crs":true,"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.","fever":true,"fever_waived":false,"formula":"astct_crs","formula_expression":"Lee 2019 ASTCT CRS Table 1. fever is temperature ≥38°C not attributable to another cause. fever_waived true if CRS already treated with antipyretic/tocilizumab/steroids so fever is no longer required. hypotension none | no_vasopressors | one_vasopressor (with or without vasopressin) | multiple_vasopressors (excluding vasopressin). hypoxia none | low_flow (≤6 L/min nasal cannula or blow-by) | high_flow (>6 L/min, facemask, NRB, or Venturi) | positive_pressure (CPAP/BiPAP/intubation). Grade is the more severe of hypotension vs hypoxia: both none → 1 if fever or fever_waived else 0 (crs false); no_vasopressors or low_flow → 2; one_vasopressor or high_flow → 3; multiple_vasopressors or positive_pressure → 4. Organ toxicities do not influence grade. Not ICANS","grade":1,"hypotension":"none","hypotension_grade":0,"hypoxia":"none","hypoxia_grade":0},{"citation":{"authors":"Lee DW, Santomasso BD, Locke FL, Ghobadi A, Turtle CJ, Brudno JN, Maus MV, Park JH, Mead E, Pavletic S, Go WY, Eldjerou L, Gardner RA, Frey N, Curran KJ, Peggs K, Pasquini M, DiPersio JF, van den Brink MRM, Komanduri KV, Grupp SA, Neelapu SS","doi":"10.1016/j.bbmt.2018.12.758","id":"lee-2019","pmid":"30592986","source":"Biol Blood Marrow Transplant. 2019;25(4):625-638","title":"ASTCT Consensus Grading for Cytokine Release Syndrome and Neurologic Toxicity Associated with Immune Effector Cells"},"criteria":[{"factor":"fever_or_waived","met":true},{"factor":"hypotension_none","met":true,"value":"none"},{"factor":"hypotension_no_vasopressors","met":false},{"factor":"hypotension_one_vasopressor","met":false},{"factor":"hypotension_multiple_vasopressors","met":false},{"factor":"hypoxia_none","met":true,"value":"none"},{"factor":"hypoxia_low_flow","met":false},{"factor":"hypoxia_high_flow","met":false},{"factor":"hypoxia_positive_pressure","met":false}],"crs":true,"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.","fever":true,"fever_waived":false,"formula":"astct_crs","formula_expression":"Lee 2019 ASTCT CRS Table 1. fever is temperature ≥38°C not attributable to another cause. fever_waived true if CRS already treated with antipyretic/tocilizumab/steroids so fever is no longer required. hypotension none | no_vasopressors | one_vasopressor (with or without vasopressin) | multiple_vasopressors (excluding vasopressin). hypoxia none | low_flow (≤6 L/min nasal cannula or blow-by) | high_flow (>6 L/min, facemask, NRB, or Venturi) | positive_pressure (CPAP/BiPAP/intubation). Grade is the more severe of hypotension vs hypoxia: both none → 1 if fever or fever_waived else 0 (crs false); no_vasopressors or low_flow → 2; one_vasopressor or high_flow → 3; multiple_vasopressors or positive_pressure → 4. Organ toxicities do not influence grade. Not ICANS","grade":1,"hypotension":"none","hypotension_grade":0,"hypoxia":"none","hypoxia_grade":0}],"path":"/api/calc/astct_crs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fever":{"description":"Fever as assigned by the caller (Lee 2019 ASTCT CRS Table 1): temperature ≥38°C not attributable to another cause. true or false. Required unless fever_waived is true when hypotension or hypoxia is not none. magent does not measure temperature.","type":"boolean"},"fever_waived":{"description":"true if CRS was already treated with antipyretic, tocilizumab, or steroids so fever is no longer required to grade subsequent CRS (Lee 2019). false otherwise. magent does not start those therapies.","type":"boolean"},"hypotension":{"description":"Lee 2019 Table 1 hypotension as assigned by the caller: none; no_vasopressors (hypotension not requiring vasopressors, grade 2); one_vasopressor (one vasopressor with or without vasopressin, grade 3); multiple_vasopressors (multiple vasopressors excluding vasopressin, grade 4). magent does not start vasopressors.","enum":["none","no_vasopressors","one_vasopressor","multiple_vasopressors"],"type":"string"},"hypoxia":{"description":"Lee 2019 Table 1 hypoxia as assigned by the caller: none; low_flow (≤6 L/min nasal cannula or blow-by, grade 2); high_flow (>6 L/min nasal cannula, facemask, nonrebreather, or Venturi, grade 3); positive_pressure (CPAP, BiPAP, or intubation and mechanical ventilation, grade 4). magent does not set oxygen or ventilator mode.","enum":["none","low_flow","high_flow","positive_pressure"],"type":"string"}},"required":["fever","fever_waived","hypotension","hypoxia"],"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},{"id":39418,"slug":"39418","resource":"https://api.magentlab.com/api/calc/icc_pmf","description":"ICC 2022 prefibrotic and overt PMF (Arber 2022). Diagnosed iff 3 majors and ≥1 minor. Majors: megakaryocyte morphology, not another myeloid neoplasm, JAK2/CALR/MPL or other clone or no reactive fibrosis. Minors: anemia not from comorbidity, WBC ≥11e9/L, splenomegaly, LDH above ULN; leukoerythroblastosis counts only in overt PMF. Not DIPSS, MIPSS70, WHO 5th, or post-PV/post-ET MF. magent does not read fibrosis grade or sequence drivers. Not a diagnosis or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anemia_not_comorbid":true,"clonal_or_no_reactive":true,"ldh_above_uln":false,"leukocytosis_ge_11":false,"leukoerythroblastosis":false,"megakaryocyte_morphology":true,"not_other_myeloid":true,"phenotype":"pre","splenomegaly":false},{"anemia_not_comorbid":true,"clonal_or_no_reactive":true,"ldh_above_uln":false,"leukocytosis_ge_11":false,"leukoerythroblastosis":false,"megakaryocyte_morphology":true,"not_other_myeloid":true,"phenotype":"pre","splenomegaly":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anemia_not_comorbid":true,"citation":{"authors":"Arber DA, Orazi A, Hasserjian RP, Borowitz MJ, Calvo KR, Kvasnicka HM, Wang SA, Bagg A, Barbui T, Bennett JM, de la Fuente J, et al.","doi":"10.1182/blood.2022015850","id":"arber-2022","pmid":"35767897","source":"Blood. 2022;140(11):1200-1228","title":"International Consensus Classification of Myeloid Neoplasms and Acute Leukemias: integrating morphologic, clinical, and genomic data"},"clonal_or_no_reactive":true,"criteria":[{"factor":"megakaryocyte_morphology","met":true},{"factor":"not_other_myeloid","met":true},{"factor":"clonal_or_no_reactive","met":true},{"factor":"anemia_not_comorbid","met":true},{"factor":"leukocytosis_ge_11","met":false},{"factor":"splenomegaly","met":false},{"factor":"ldh_above_uln","met":false},{"factor":"leukoerythroblastosis","met":false},{"factor":"three_majors","met":true},{"factor":"minor_count_ge_1","met":true}],"diagnosed":true,"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":"icc_pmf","formula_expression":"diagnosed iff three majors and minor_count ≥ 1; majors are megakaryocyte_morphology, not_other_myeloid, and clonal_or_no_reactive; minor_count is anemia_not_comorbid + leukocytosis_ge_11 + splenomegaly + ldh_above_uln + leukoerythroblastosis only when phenotype is overt (Arber 2022 ICC pre-PMF and overt PMF). Not DIPSS. Not WHO 5th. Not post-PV/post-ET myelofibrosis","ldh_above_uln":false,"leukocytosis_ge_11":false,"leukoerythroblastosis":false,"major_count":3,"megakaryocyte_morphology":true,"minor_count":1,"not_other_myeloid":true,"phenotype":"pre","splenomegaly":false},{"anemia_not_comorbid":true,"citation":{"authors":"Arber DA, Orazi A, Hasserjian RP, Borowitz MJ, Calvo KR, Kvasnicka HM, Wang SA, Bagg A, Barbui T, Bennett JM, de la Fuente J, et al.","doi":"10.1182/blood.2022015850","id":"arber-2022","pmid":"35767897","source":"Blood. 2022;140(11):1200-1228","title":"International Consensus Classification of Myeloid Neoplasms and Acute Leukemias: integrating morphologic, clinical, and genomic data"},"clonal_or_no_reactive":true,"criteria":[{"factor":"megakaryocyte_morphology","met":true},{"factor":"not_other_myeloid","met":true},{"factor":"clonal_or_no_reactive","met":true},{"factor":"anemia_not_comorbid","met":true},{"factor":"leukocytosis_ge_11","met":false},{"factor":"splenomegaly","met":false},{"factor":"ldh_above_uln","met":false},{"factor":"leukoerythroblastosis","met":false},{"factor":"three_majors","met":true},{"factor":"minor_count_ge_1","met":true}],"diagnosed":true,"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":"icc_pmf","formula_expression":"diagnosed iff three majors and minor_count ≥ 1; majors are megakaryocyte_morphology, not_other_myeloid, and clonal_or_no_reactive; minor_count is anemia_not_comorbid + leukocytosis_ge_11 + splenomegaly + ldh_above_uln + leukoerythroblastosis only when phenotype is overt (Arber 2022 ICC pre-PMF and overt PMF). Not DIPSS. Not WHO 5th. Not post-PV/post-ET myelofibrosis","ldh_above_uln":false,"leukocytosis_ge_11":false,"leukoerythroblastosis":false,"major_count":3,"megakaryocyte_morphology":true,"minor_count":1,"not_other_myeloid":true,"phenotype":"pre","splenomegaly":false}],"path":"/api/calc/icc_pmf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia_not_comorbid":{"description":"Anemia not attributed to a comorbid condition, as assigned by the caller (Arber 2022 ICC PMF minor). true or false. magent does not assay hemoglobin.","type":"boolean"},"clonal_or_no_reactive":{"description":"JAK2, CALR, or MPL mutation, or another clonal marker, or absence of reactive bone-marrow fibrosis, as assigned by the caller (Arber 2022 ICC PMF major). true or false. magent does not sequence.","type":"boolean"},"ldh_above_uln":{"description":"LDH above the institutional upper limit of normal as assigned by the caller (Arber 2022 ICC PMF minor). true or false. magent does not assay LDH.","type":"boolean"},"leukocytosis_ge_11":{"description":"Leukocytosis ≥11 × 10^9/L as assigned by the caller (Arber 2022 ICC PMF minor). true or false. magent does not assay WBC.","type":"boolean"},"leukoerythroblastosis":{"description":"Leukoerythroblastosis as assigned by the caller (Arber 2022 ICC overt-PMF minor). Counts toward minor_count only when phenotype is overt; echoed but not counted when phenotype is pre. true or false. magent does not read a smear.","type":"boolean"},"megakaryocyte_morphology":{"description":"Megakaryocytic proliferation and atypia for the chosen phenotype, as assigned by the caller (Arber 2022 ICC PMF major). For pre: without reticulin fibrosis grade >1, with increased age-adjusted cellularity, granulocytic proliferation, and often decreased erythropoiesis. For overt: accompanied by reticulin and/or collagen fibrosis grade 2 or 3. true or false. magent does not read a biopsy.","type":"boolean"},"not_other_myeloid":{"description":"Does not meet ICC/WHO criteria for BCR::ABL1-positive CML, PV, ET, MDS, or another defined myeloid neoplasm, as assigned by the caller (Arber 2022 ICC PMF major). true or false. magent does not diagnose those neoplasms.","type":"boolean"},"phenotype":{"description":"pre (prefibrotic/early PMF) or overt (overt fibrotic PMF) as assigned by the caller (Arber 2022 ICC). Required. magent does not assign phenotype from a biopsy.","enum":["pre","overt"],"type":"string"},"splenomegaly":{"description":"Palpable splenomegaly as assigned by the caller (Arber 2022 ICC PMF minor). true or false. magent does not examine the spleen.","type":"boolean"}},"required":["phenotype","megakaryocyte_morphology","not_other_myeloid","clonal_or_no_reactive","anemia_not_comorbid","leukocytosis_ge_11","splenomegaly","ldh_above_uln","leukoerythroblastosis"],"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":["icc-2022","pmf","myelofibrosis","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:55:41.682Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:55:41.547Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anemia_not_comorbid":true,"clonal_or_no_reactive":true,"ldh_above_uln":false,"leukocytosis_ge_11":false,"leukoerythroblastosis":false,"megakaryocyte_morphology":true,"not_other_myeloid":true,"phenotype":"pre","splenomegaly":false},{"anemia_not_comorbid":true,"clonal_or_no_reactive":true,"ldh_above_uln":false,"leukocytosis_ge_11":false,"leukoerythroblastosis":false,"megakaryocyte_morphology":true,"not_other_myeloid":true,"phenotype":"pre","splenomegaly":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anemia_not_comorbid":true,"citation":{"authors":"Arber DA, Orazi A, Hasserjian RP, Borowitz MJ, Calvo KR, Kvasnicka HM, Wang SA, Bagg A, Barbui T, Bennett JM, de la Fuente J, et al.","doi":"10.1182/blood.2022015850","id":"arber-2022","pmid":"35767897","source":"Blood. 2022;140(11):1200-1228","title":"International Consensus Classification of Myeloid Neoplasms and Acute Leukemias: integrating morphologic, clinical, and genomic data"},"clonal_or_no_reactive":true,"criteria":[{"factor":"megakaryocyte_morphology","met":true},{"factor":"not_other_myeloid","met":true},{"factor":"clonal_or_no_reactive","met":true},{"factor":"anemia_not_comorbid","met":true},{"factor":"leukocytosis_ge_11","met":false},{"factor":"splenomegaly","met":false},{"factor":"ldh_above_uln","met":false},{"factor":"leukoerythroblastosis","met":false},{"factor":"three_majors","met":true},{"factor":"minor_count_ge_1","met":true}],"diagnosed":true,"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":"icc_pmf","formula_expression":"diagnosed iff three majors and minor_count ≥ 1; majors are megakaryocyte_morphology, not_other_myeloid, and clonal_or_no_reactive; minor_count is anemia_not_comorbid + leukocytosis_ge_11 + splenomegaly + ldh_above_uln + leukoerythroblastosis only when phenotype is overt (Arber 2022 ICC pre-PMF and overt PMF). Not DIPSS. Not WHO 5th. Not post-PV/post-ET myelofibrosis","ldh_above_uln":false,"leukocytosis_ge_11":false,"leukoerythroblastosis":false,"major_count":3,"megakaryocyte_morphology":true,"minor_count":1,"not_other_myeloid":true,"phenotype":"pre","splenomegaly":false},{"anemia_not_comorbid":true,"citation":{"authors":"Arber DA, Orazi A, Hasserjian RP, Borowitz MJ, Calvo KR, Kvasnicka HM, Wang SA, Bagg A, Barbui T, Bennett JM, de la Fuente J, et al.","doi":"10.1182/blood.2022015850","id":"arber-2022","pmid":"35767897","source":"Blood. 2022;140(11):1200-1228","title":"International Consensus Classification of Myeloid Neoplasms and Acute Leukemias: integrating morphologic, clinical, and genomic data"},"clonal_or_no_reactive":true,"criteria":[{"factor":"megakaryocyte_morphology","met":true},{"factor":"not_other_myeloid","met":true},{"factor":"clonal_or_no_reactive","met":true},{"factor":"anemia_not_comorbid","met":true},{"factor":"leukocytosis_ge_11","met":false},{"factor":"splenomegaly","met":false},{"factor":"ldh_above_uln","met":false},{"factor":"leukoerythroblastosis","met":false},{"factor":"three_majors","met":true},{"factor":"minor_count_ge_1","met":true}],"diagnosed":true,"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":"icc_pmf","formula_expression":"diagnosed iff three majors and minor_count ≥ 1; majors are megakaryocyte_morphology, not_other_myeloid, and clonal_or_no_reactive; minor_count is anemia_not_comorbid + leukocytosis_ge_11 + splenomegaly + ldh_above_uln + leukoerythroblastosis only when phenotype is overt (Arber 2022 ICC pre-PMF and overt PMF). Not DIPSS. Not WHO 5th. Not post-PV/post-ET myelofibrosis","ldh_above_uln":false,"leukocytosis_ge_11":false,"leukoerythroblastosis":false,"major_count":3,"megakaryocyte_morphology":true,"minor_count":1,"not_other_myeloid":true,"phenotype":"pre","splenomegaly":false}],"path":"/api/calc/icc_pmf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia_not_comorbid":{"description":"Anemia not attributed to a comorbid condition, as assigned by the caller (Arber 2022 ICC PMF minor). true or false. magent does not assay hemoglobin.","type":"boolean"},"clonal_or_no_reactive":{"description":"JAK2, CALR, or MPL mutation, or another clonal marker, or absence of reactive bone-marrow fibrosis, as assigned by the caller (Arber 2022 ICC PMF major). true or false. magent does not sequence.","type":"boolean"},"ldh_above_uln":{"description":"LDH above the institutional upper limit of normal as assigned by the caller (Arber 2022 ICC PMF minor). true or false. magent does not assay LDH.","type":"boolean"},"leukocytosis_ge_11":{"description":"Leukocytosis ≥11 × 10^9/L as assigned by the caller (Arber 2022 ICC PMF minor). true or false. magent does not assay WBC.","type":"boolean"},"leukoerythroblastosis":{"description":"Leukoerythroblastosis as assigned by the caller (Arber 2022 ICC overt-PMF minor). Counts toward minor_count only when phenotype is overt; echoed but not counted when phenotype is pre. true or false. magent does not read a smear.","type":"boolean"},"megakaryocyte_morphology":{"description":"Megakaryocytic proliferation and atypia for the chosen phenotype, as assigned by the caller (Arber 2022 ICC PMF major). For pre: without reticulin fibrosis grade >1, with increased age-adjusted cellularity, granulocytic proliferation, and often decreased erythropoiesis. For overt: accompanied by reticulin and/or collagen fibrosis grade 2 or 3. true or false. magent does not read a biopsy.","type":"boolean"},"not_other_myeloid":{"description":"Does not meet ICC/WHO criteria for BCR::ABL1-positive CML, PV, ET, MDS, or another defined myeloid neoplasm, as assigned by the caller (Arber 2022 ICC PMF major). true or false. magent does not diagnose those neoplasms.","type":"boolean"},"phenotype":{"description":"pre (prefibrotic/early PMF) or overt (overt fibrotic PMF) as assigned by the caller (Arber 2022 ICC). Required. magent does not assign phenotype from a biopsy.","enum":["pre","overt"],"type":"string"},"splenomegaly":{"description":"Palpable splenomegaly as assigned by the caller (Arber 2022 ICC PMF minor). true or false. magent does not examine the spleen.","type":"boolean"}},"required":["phenotype","megakaryocyte_morphology","not_other_myeloid","clonal_or_no_reactive","anemia_not_comorbid","leukocytosis_ge_11","splenomegaly","ldh_above_uln","leukoerythroblastosis"],"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},{"id":39419,"slug":"39419","resource":"https://api.magentlab.com/api/calc/gipss","description":"Tefferi 2018 GIPSS for primary myelofibrosis: karyotype (favorable 0, unfavorable 1, VHR 2; caller assigns the three-tier class), absence of type 1/like CALR 1, ASXL1 1, SRSF2 1, U2AF1Q157 1 (not S34); max 6. Low 0, intermediate_1 1, intermediate_2 2, high ≥3. Published median (5-year) survivals 26.4 y (94%), 8.0 y (73%), 4.2 y (40%), 2 y (14%). Not DIPSS or MIPSS70-plus. magent does not karyotype or sequence.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"asxl1_mutated":false,"calr_type1_like":true,"karyotype":"favorable","srsf2_mutated":false,"u2af1_q157_mutated":false},{"asxl1_mutated":false,"calr_type1_like":true,"karyotype":"favorable","srsf2_mutated":false,"u2af1_q157_mutated":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"asxl1_mutated":false,"calr_type1_like":true,"citation":{"authors":"Tefferi A, Guglielmelli P, Nicolosi M, Mannelli F, Mudireddy M, Bartalucci N, Finke CM, Lasho TL, Hanson CA, Ketterling RP, Begna KH, Gangat N, Pardanani A, Vannucchi AM","doi":"10.1038/s41375-018-0107-z","id":"tefferi-2018","pmid":"29654267","source":"Leukemia. 2018;32(7):1631-1642","title":"GIPSS: genetically inspired prognostic scoring system for primary myelofibrosis"},"components":[{"factor":"karyotype","points":0,"present":false,"value":"favorable"},{"factor":"absence_of_calr_type1_like","points":0,"present":false},{"factor":"asxl1_mutated","points":0,"present":false},{"factor":"srsf2_mutated","points":0,"present":false},{"factor":"u2af1_q157_mutated","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.","five_year_survival_percent":94,"formula":"gipss","formula_expression":"GIPSS = karyotype (favorable 0, unfavorable 1, vhr 2) + absence of type 1/like CALR 1 + asxl1_mutated 1 + srsf2_mutated 1 + u2af1_q157_mutated 1; Tefferi 2018; max 6; low 0, intermediate_1 1, intermediate_2 2, high ≥3","karyotype":"favorable","max_score":6,"median_survival_years":26.4,"risk_group":"low","score":0,"srsf2_mutated":false,"u2af1_q157_mutated":false},{"asxl1_mutated":false,"calr_type1_like":true,"citation":{"authors":"Tefferi A, Guglielmelli P, Nicolosi M, Mannelli F, Mudireddy M, Bartalucci N, Finke CM, Lasho TL, Hanson CA, Ketterling RP, Begna KH, Gangat N, Pardanani A, Vannucchi AM","doi":"10.1038/s41375-018-0107-z","id":"tefferi-2018","pmid":"29654267","source":"Leukemia. 2018;32(7):1631-1642","title":"GIPSS: genetically inspired prognostic scoring system for primary myelofibrosis"},"components":[{"factor":"karyotype","points":0,"present":false,"value":"favorable"},{"factor":"absence_of_calr_type1_like","points":0,"present":false},{"factor":"asxl1_mutated","points":0,"present":false},{"factor":"srsf2_mutated","points":0,"present":false},{"factor":"u2af1_q157_mutated","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.","five_year_survival_percent":94,"formula":"gipss","formula_expression":"GIPSS = karyotype (favorable 0, unfavorable 1, vhr 2) + absence of type 1/like CALR 1 + asxl1_mutated 1 + srsf2_mutated 1 + u2af1_q157_mutated 1; Tefferi 2018; max 6; low 0, intermediate_1 1, intermediate_2 2, high ≥3","karyotype":"favorable","max_score":6,"median_survival_years":26.4,"risk_group":"low","score":0,"srsf2_mutated":false,"u2af1_q157_mutated":false}],"path":"/api/calc/gipss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"asxl1_mutated":{"description":"ASXL1 mutation as assigned by the caller (Tefferi 2018). true scores 1. magent does not sequence.","type":"boolean"},"calr_type1_like":{"description":"Presence of a type 1/like CALR mutation as assigned by the caller (Tefferi 2018). false (absence) scores 1. true scores 0. Type 2/like CALR, JAK2, MPL, and triple-negative are absence of type 1/like CALR. magent does not sequence.","type":"boolean"},"karyotype":{"description":"Tefferi 2018 revised three-tier karyotype as assigned by the caller (mutually exclusive). favorable is a normal karyotype or sole 13q−, +9, 20q−, chromosome 1 translocation/duplication, or sex chromosome abnormality including −Y and scores 0. unfavorable is all other abnormalities and scores 1. vhr is very high risk: single/multiple −7, i(17q), inv(3)/3q21, 12p−/12p11.2, 11q−/11q23, +21, or other autosomal trisomies not including +8/+9 and scores 2. magent does not karyotype.","enum":["favorable","unfavorable","vhr"],"type":"string"},"srsf2_mutated":{"description":"SRSF2 mutation as assigned by the caller (Tefferi 2018). true scores 1. magent does not sequence.","type":"boolean"},"u2af1_q157_mutated":{"description":"U2AF1 Q157 mutation (Q157P or Q157R) as assigned by the caller (Tefferi 2018). true scores 1. U2AF1 S34 does not score. magent does not sequence.","type":"boolean"}},"required":["karyotype","calr_type1_like","asxl1_mutated","srsf2_mutated","u2af1_q157_mutated"],"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":["gipss","myelofibrosis","hematology","prognosis","karyotype","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:55:34.394Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:55:34.278Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"asxl1_mutated":false,"calr_type1_like":true,"karyotype":"favorable","srsf2_mutated":false,"u2af1_q157_mutated":false},{"asxl1_mutated":false,"calr_type1_like":true,"karyotype":"favorable","srsf2_mutated":false,"u2af1_q157_mutated":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"asxl1_mutated":false,"calr_type1_like":true,"citation":{"authors":"Tefferi A, Guglielmelli P, Nicolosi M, Mannelli F, Mudireddy M, Bartalucci N, Finke CM, Lasho TL, Hanson CA, Ketterling RP, Begna KH, Gangat N, Pardanani A, Vannucchi AM","doi":"10.1038/s41375-018-0107-z","id":"tefferi-2018","pmid":"29654267","source":"Leukemia. 2018;32(7):1631-1642","title":"GIPSS: genetically inspired prognostic scoring system for primary myelofibrosis"},"components":[{"factor":"karyotype","points":0,"present":false,"value":"favorable"},{"factor":"absence_of_calr_type1_like","points":0,"present":false},{"factor":"asxl1_mutated","points":0,"present":false},{"factor":"srsf2_mutated","points":0,"present":false},{"factor":"u2af1_q157_mutated","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.","five_year_survival_percent":94,"formula":"gipss","formula_expression":"GIPSS = karyotype (favorable 0, unfavorable 1, vhr 2) + absence of type 1/like CALR 1 + asxl1_mutated 1 + srsf2_mutated 1 + u2af1_q157_mutated 1; Tefferi 2018; max 6; low 0, intermediate_1 1, intermediate_2 2, high ≥3","karyotype":"favorable","max_score":6,"median_survival_years":26.4,"risk_group":"low","score":0,"srsf2_mutated":false,"u2af1_q157_mutated":false},{"asxl1_mutated":false,"calr_type1_like":true,"citation":{"authors":"Tefferi A, Guglielmelli P, Nicolosi M, Mannelli F, Mudireddy M, Bartalucci N, Finke CM, Lasho TL, Hanson CA, Ketterling RP, Begna KH, Gangat N, Pardanani A, Vannucchi AM","doi":"10.1038/s41375-018-0107-z","id":"tefferi-2018","pmid":"29654267","source":"Leukemia. 2018;32(7):1631-1642","title":"GIPSS: genetically inspired prognostic scoring system for primary myelofibrosis"},"components":[{"factor":"karyotype","points":0,"present":false,"value":"favorable"},{"factor":"absence_of_calr_type1_like","points":0,"present":false},{"factor":"asxl1_mutated","points":0,"present":false},{"factor":"srsf2_mutated","points":0,"present":false},{"factor":"u2af1_q157_mutated","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.","five_year_survival_percent":94,"formula":"gipss","formula_expression":"GIPSS = karyotype (favorable 0, unfavorable 1, vhr 2) + absence of type 1/like CALR 1 + asxl1_mutated 1 + srsf2_mutated 1 + u2af1_q157_mutated 1; Tefferi 2018; max 6; low 0, intermediate_1 1, intermediate_2 2, high ≥3","karyotype":"favorable","max_score":6,"median_survival_years":26.4,"risk_group":"low","score":0,"srsf2_mutated":false,"u2af1_q157_mutated":false}],"path":"/api/calc/gipss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"asxl1_mutated":{"description":"ASXL1 mutation as assigned by the caller (Tefferi 2018). true scores 1. magent does not sequence.","type":"boolean"},"calr_type1_like":{"description":"Presence of a type 1/like CALR mutation as assigned by the caller (Tefferi 2018). false (absence) scores 1. true scores 0. Type 2/like CALR, JAK2, MPL, and triple-negative are absence of type 1/like CALR. magent does not sequence.","type":"boolean"},"karyotype":{"description":"Tefferi 2018 revised three-tier karyotype as assigned by the caller (mutually exclusive). favorable is a normal karyotype or sole 13q−, +9, 20q−, chromosome 1 translocation/duplication, or sex chromosome abnormality including −Y and scores 0. unfavorable is all other abnormalities and scores 1. vhr is very high risk: single/multiple −7, i(17q), inv(3)/3q21, 12p−/12p11.2, 11q−/11q23, +21, or other autosomal trisomies not including +8/+9 and scores 2. magent does not karyotype.","enum":["favorable","unfavorable","vhr"],"type":"string"},"srsf2_mutated":{"description":"SRSF2 mutation as assigned by the caller (Tefferi 2018). true scores 1. magent does not sequence.","type":"boolean"},"u2af1_q157_mutated":{"description":"U2AF1 Q157 mutation (Q157P or Q157R) as assigned by the caller (Tefferi 2018). true scores 1. U2AF1 S34 does not score. magent does not sequence.","type":"boolean"}},"required":["karyotype","calr_type1_like","asxl1_mutated","srsf2_mutated","u2af1_q157_mutated"],"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},{"id":39420,"slug":"39420","resource":"https://api.magentlab.com/api/calc/dipss","description":"Passamonti 2010 DIPSS for primary myelofibrosis: age >65 (1), WBC >25×10^9/L (1), hemoglobin <10 g/dL (2), peripheral-blood blasts ≥1% (1), constitutional symptoms (1); max 6. Low 0, intermediate_1 1–2, intermediate_2 3–4, high 5–6. Not DIPSS Plus or aaDIPSS. magent does not read a smear; constitutional symptoms are caller-assigned.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"blasts_percent":0,"constitutional_symptoms":false,"hemoglobin_g_dl":12,"wbc_10e9_l":10},{"age":50,"blasts_percent":0,"constitutional_symptoms":false,"hemoglobin_g_dl":12,"wbc_10e9_l":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"blasts_percent":0,"citation":{"authors":"Passamonti F, Cervantes F, Vannucchi AM, et al.","doi":"10.1182/blood-2009-09-245837","id":"passamonti-2010","pmid":"20008785","source":"Blood. 2010;115(9):1703-1708","title":"A dynamic prognostic model to predict survival in primary myelofibrosis: a study by the IWG-MRT (International Working Group for Myeloproliferative Neoplasms Research and Treatment)"},"components":[{"factor":"age_gt_65","points":0,"present":false,"value":50},{"factor":"wbc_gt_25","points":0,"present":false,"value":10},{"factor":"hemoglobin_lt_10","points":0,"present":false,"value":12},{"factor":"blasts_ge_1","points":0,"present":false,"value":0},{"factor":"constitutional_symptoms","points":0,"present":false}],"constitutional_symptoms":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":"dipss","formula_expression":"DIPSS = age_gt_65 1 + wbc_gt_25 1 + hemoglobin_lt_10 2 + blasts_ge_1 1 + constitutional_symptoms 1; Passamonti 2010 Table 3; max 6; low 0, intermediate_1 1-2, intermediate_2 3-4, high 5-6","hemoglobin_g_dl":12,"max_score":6,"risk_group":"low","score":0,"wbc_10e9_l":10},{"age_years":50,"blasts_percent":0,"citation":{"authors":"Passamonti F, Cervantes F, Vannucchi AM, et al.","doi":"10.1182/blood-2009-09-245837","id":"passamonti-2010","pmid":"20008785","source":"Blood. 2010;115(9):1703-1708","title":"A dynamic prognostic model to predict survival in primary myelofibrosis: a study by the IWG-MRT (International Working Group for Myeloproliferative Neoplasms Research and Treatment)"},"components":[{"factor":"age_gt_65","points":0,"present":false,"value":50},{"factor":"wbc_gt_25","points":0,"present":false,"value":10},{"factor":"hemoglobin_lt_10","points":0,"present":false,"value":12},{"factor":"blasts_ge_1","points":0,"present":false,"value":0},{"factor":"constitutional_symptoms","points":0,"present":false}],"constitutional_symptoms":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":"dipss","formula_expression":"DIPSS = age_gt_65 1 + wbc_gt_25 1 + hemoglobin_lt_10 2 + blasts_ge_1 1 + constitutional_symptoms 1; Passamonti 2010 Table 3; max 6; low 0, intermediate_1 1-2, intermediate_2 3-4, high 5-6","hemoglobin_g_dl":12,"max_score":6,"risk_group":"low","score":0,"wbc_10e9_l":10}],"path":"/api/calc/dipss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age >65 scores 1 (Passamonti 2010 Table 3). Age 65 is the ≤65 arm and scores 0.","type":"integer"},"blasts_percent":{"description":"Peripheral-blood blasts as a percent (0-30). ≥1 scores 1 (Passamonti 2010 Table 3). 0.9 is the <1 arm and scores 0. magent does not read a smear.","type":"number"},"constitutional_symptoms":{"description":"Weight loss >10% in 6 months, night sweats, or unexplained fever >37.5°C as assigned by the caller (Passamonti 2010 methods). true scores 1. magent does not take a history.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-20). <10 scores 2 (Passamonti 2010 Table 3; anemia HR 4.18). 10.0 is the ≥10 arm and scores 0. magent does not assay hemoglobin.","type":"number"},"wbc_10e9_l":{"description":"White-cell count in 10^9/L (0.1-500). >25 scores 1 (Passamonti 2010 Table 3). 25.0 is the ≤25 arm and scores 0. magent does not assay WBC.","type":"number"}},"required":["age","hemoglobin_g_dl","wbc_10e9_l","blasts_percent","constitutional_symptoms"],"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":["dipss","myelofibrosis","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:55:27.503Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:55:27.371Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"blasts_percent":0,"constitutional_symptoms":false,"hemoglobin_g_dl":12,"wbc_10e9_l":10},{"age":50,"blasts_percent":0,"constitutional_symptoms":false,"hemoglobin_g_dl":12,"wbc_10e9_l":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"blasts_percent":0,"citation":{"authors":"Passamonti F, Cervantes F, Vannucchi AM, et al.","doi":"10.1182/blood-2009-09-245837","id":"passamonti-2010","pmid":"20008785","source":"Blood. 2010;115(9):1703-1708","title":"A dynamic prognostic model to predict survival in primary myelofibrosis: a study by the IWG-MRT (International Working Group for Myeloproliferative Neoplasms Research and Treatment)"},"components":[{"factor":"age_gt_65","points":0,"present":false,"value":50},{"factor":"wbc_gt_25","points":0,"present":false,"value":10},{"factor":"hemoglobin_lt_10","points":0,"present":false,"value":12},{"factor":"blasts_ge_1","points":0,"present":false,"value":0},{"factor":"constitutional_symptoms","points":0,"present":false}],"constitutional_symptoms":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":"dipss","formula_expression":"DIPSS = age_gt_65 1 + wbc_gt_25 1 + hemoglobin_lt_10 2 + blasts_ge_1 1 + constitutional_symptoms 1; Passamonti 2010 Table 3; max 6; low 0, intermediate_1 1-2, intermediate_2 3-4, high 5-6","hemoglobin_g_dl":12,"max_score":6,"risk_group":"low","score":0,"wbc_10e9_l":10},{"age_years":50,"blasts_percent":0,"citation":{"authors":"Passamonti F, Cervantes F, Vannucchi AM, et al.","doi":"10.1182/blood-2009-09-245837","id":"passamonti-2010","pmid":"20008785","source":"Blood. 2010;115(9):1703-1708","title":"A dynamic prognostic model to predict survival in primary myelofibrosis: a study by the IWG-MRT (International Working Group for Myeloproliferative Neoplasms Research and Treatment)"},"components":[{"factor":"age_gt_65","points":0,"present":false,"value":50},{"factor":"wbc_gt_25","points":0,"present":false,"value":10},{"factor":"hemoglobin_lt_10","points":0,"present":false,"value":12},{"factor":"blasts_ge_1","points":0,"present":false,"value":0},{"factor":"constitutional_symptoms","points":0,"present":false}],"constitutional_symptoms":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":"dipss","formula_expression":"DIPSS = age_gt_65 1 + wbc_gt_25 1 + hemoglobin_lt_10 2 + blasts_ge_1 1 + constitutional_symptoms 1; Passamonti 2010 Table 3; max 6; low 0, intermediate_1 1-2, intermediate_2 3-4, high 5-6","hemoglobin_g_dl":12,"max_score":6,"risk_group":"low","score":0,"wbc_10e9_l":10}],"path":"/api/calc/dipss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age >65 scores 1 (Passamonti 2010 Table 3). Age 65 is the ≤65 arm and scores 0.","type":"integer"},"blasts_percent":{"description":"Peripheral-blood blasts as a percent (0-30). ≥1 scores 1 (Passamonti 2010 Table 3). 0.9 is the <1 arm and scores 0. magent does not read a smear.","type":"number"},"constitutional_symptoms":{"description":"Weight loss >10% in 6 months, night sweats, or unexplained fever >37.5°C as assigned by the caller (Passamonti 2010 methods). true scores 1. magent does not take a history.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-20). <10 scores 2 (Passamonti 2010 Table 3; anemia HR 4.18). 10.0 is the ≥10 arm and scores 0. magent does not assay hemoglobin.","type":"number"},"wbc_10e9_l":{"description":"White-cell count in 10^9/L (0.1-500). >25 scores 1 (Passamonti 2010 Table 3). 25.0 is the ≤25 arm and scores 0. magent does not assay WBC.","type":"number"}},"required":["age","hemoglobin_g_dl","wbc_10e9_l","blasts_percent","constitutional_symptoms"],"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},{"id":39421,"slug":"39421","resource":"https://api.magentlab.com/api/calc/ipss_r","description":"Greenberg 2012 IPSS-R for MDS: cytogenetics (very_good 0, good 1, intermediate 2, poor 3, very_poor 4; caller assigns the Schanz subgroup), BM blasts, hemoglobin g/dL, platelets, and ANC; max 10. very_low ≤1.5 through very_high >6. Deterministic published score with citation; not a diagnosis or transplant listing; not IPSS 1997 or IPSS-M. magent does not karyotype.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anc_10e9_l":2,"blasts_percent":1,"cytogenetics":"good","hemoglobin_g_dl":12,"platelets_10e9_l":150},{"anc_10e9_l":2,"blasts_percent":1,"cytogenetics":"good","hemoglobin_g_dl":12,"platelets_10e9_l":150}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anc_10e9_l":2,"blasts_percent":1,"citation":{"authors":"Greenberg PL, Tuechler H, Schanz J, et al.","doi":"10.1182/blood-2012-03-420489","id":"greenberg-2012","pmid":"22740453","source":"Blood. 2012;120(12):2454-2465","title":"Revised international prognostic scoring system for myelodysplastic syndromes"},"components":[{"factor":"cytogenetics","points":1,"present":true,"value":"good"},{"factor":"blasts_percent","points":0,"present":false,"value":1},{"factor":"hemoglobin_g_dl","points":0,"present":false,"value":12},{"factor":"platelets_10e9_l","points":0,"present":false,"value":150},{"factor":"anc_10e9_l","points":0,"present":false,"value":2}],"cytogenetics":"good","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":"ipss_r","formula_expression":"IPSS-R = cytogenetics (very_good 0, good 1, intermediate 2, poor 3, very_poor 4) + BM blasts % (≤2 → 0; >2–<5 → 1; 5–10 → 2; >10 → 3) + hemoglobin g/dL (≥10 → 0; 8–<10 → 1; <8 → 1.5) + platelets 10^9/L (≥100 → 0; 50–<100 → 0.5; <50 → 1) + ANC 10^9/L (≥0.8 → 0; <0.8 → 0.5); Greenberg 2012; max 10; ≤1.5 very_low, >1.5–3 low, >3–4.5 intermediate, >4.5–6 high, >6 very_high","hemoglobin_g_dl":12,"max_score":10,"platelets_10e9_l":150,"risk_group":"very_low","score":1},{"anc_10e9_l":2,"blasts_percent":1,"citation":{"authors":"Greenberg PL, Tuechler H, Schanz J, et al.","doi":"10.1182/blood-2012-03-420489","id":"greenberg-2012","pmid":"22740453","source":"Blood. 2012;120(12):2454-2465","title":"Revised international prognostic scoring system for myelodysplastic syndromes"},"components":[{"factor":"cytogenetics","points":1,"present":true,"value":"good"},{"factor":"blasts_percent","points":0,"present":false,"value":1},{"factor":"hemoglobin_g_dl","points":0,"present":false,"value":12},{"factor":"platelets_10e9_l","points":0,"present":false,"value":150},{"factor":"anc_10e9_l","points":0,"present":false,"value":2}],"cytogenetics":"good","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":"ipss_r","formula_expression":"IPSS-R = cytogenetics (very_good 0, good 1, intermediate 2, poor 3, very_poor 4) + BM blasts % (≤2 → 0; >2–<5 → 1; 5–10 → 2; >10 → 3) + hemoglobin g/dL (≥10 → 0; 8–<10 → 1; <8 → 1.5) + platelets 10^9/L (≥100 → 0; 50–<100 → 0.5; <50 → 1) + ANC 10^9/L (≥0.8 → 0; <0.8 → 0.5); Greenberg 2012; max 10; ≤1.5 very_low, >1.5–3 low, >3–4.5 intermediate, >4.5–6 high, >6 very_high","hemoglobin_g_dl":12,"max_score":10,"platelets_10e9_l":150,"risk_group":"very_low","score":1}],"path":"/api/calc/ipss_r"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anc_10e9_l":{"description":"Absolute neutrophil count in 10^9/L (0-50). Greenberg 2012: ≥0.8 → 0; <0.8 → 0.5. magent does not compute ANC.","type":"number"},"blasts_percent":{"description":"Bone-marrow blasts as a percent (0-30). Greenberg 2012: ≤2 → 0; >2 and <5 → 1; 5–10 → 2; >10 → 3. magent does not count blasts.","type":"number"},"cytogenetics":{"description":"Schanz/Greenberg 2012 cytogenetic subgroup as assigned by the caller (very_good 0, good 1, intermediate 2, poor 3, very_poor 4). magent does not karyotype.","enum":["very_good","good","intermediate","poor","very_poor"],"type":"string"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-20). Greenberg 2012: ≥10 → 0; 8 to <10 → 1; <8 → 1.5. magent does not assay hemoglobin.","type":"number"},"platelets_10e9_l":{"description":"Platelets in 10^9/L (0-2000). Greenberg 2012: ≥100 → 0; 50 to <100 → 0.5; <50 → 1. magent does not assay platelets.","type":"number"}},"required":["cytogenetics","blasts_percent","hemoglobin_g_dl","platelets_10e9_l","anc_10e9_l"],"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":["ipss-r","mds","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:55:20.442Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:55:20.306Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anc_10e9_l":2,"blasts_percent":1,"cytogenetics":"good","hemoglobin_g_dl":12,"platelets_10e9_l":150},{"anc_10e9_l":2,"blasts_percent":1,"cytogenetics":"good","hemoglobin_g_dl":12,"platelets_10e9_l":150}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anc_10e9_l":2,"blasts_percent":1,"citation":{"authors":"Greenberg PL, Tuechler H, Schanz J, et al.","doi":"10.1182/blood-2012-03-420489","id":"greenberg-2012","pmid":"22740453","source":"Blood. 2012;120(12):2454-2465","title":"Revised international prognostic scoring system for myelodysplastic syndromes"},"components":[{"factor":"cytogenetics","points":1,"present":true,"value":"good"},{"factor":"blasts_percent","points":0,"present":false,"value":1},{"factor":"hemoglobin_g_dl","points":0,"present":false,"value":12},{"factor":"platelets_10e9_l","points":0,"present":false,"value":150},{"factor":"anc_10e9_l","points":0,"present":false,"value":2}],"cytogenetics":"good","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":"ipss_r","formula_expression":"IPSS-R = cytogenetics (very_good 0, good 1, intermediate 2, poor 3, very_poor 4) + BM blasts % (≤2 → 0; >2–<5 → 1; 5–10 → 2; >10 → 3) + hemoglobin g/dL (≥10 → 0; 8–<10 → 1; <8 → 1.5) + platelets 10^9/L (≥100 → 0; 50–<100 → 0.5; <50 → 1) + ANC 10^9/L (≥0.8 → 0; <0.8 → 0.5); Greenberg 2012; max 10; ≤1.5 very_low, >1.5–3 low, >3–4.5 intermediate, >4.5–6 high, >6 very_high","hemoglobin_g_dl":12,"max_score":10,"platelets_10e9_l":150,"risk_group":"very_low","score":1},{"anc_10e9_l":2,"blasts_percent":1,"citation":{"authors":"Greenberg PL, Tuechler H, Schanz J, et al.","doi":"10.1182/blood-2012-03-420489","id":"greenberg-2012","pmid":"22740453","source":"Blood. 2012;120(12):2454-2465","title":"Revised international prognostic scoring system for myelodysplastic syndromes"},"components":[{"factor":"cytogenetics","points":1,"present":true,"value":"good"},{"factor":"blasts_percent","points":0,"present":false,"value":1},{"factor":"hemoglobin_g_dl","points":0,"present":false,"value":12},{"factor":"platelets_10e9_l","points":0,"present":false,"value":150},{"factor":"anc_10e9_l","points":0,"present":false,"value":2}],"cytogenetics":"good","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":"ipss_r","formula_expression":"IPSS-R = cytogenetics (very_good 0, good 1, intermediate 2, poor 3, very_poor 4) + BM blasts % (≤2 → 0; >2–<5 → 1; 5–10 → 2; >10 → 3) + hemoglobin g/dL (≥10 → 0; 8–<10 → 1; <8 → 1.5) + platelets 10^9/L (≥100 → 0; 50–<100 → 0.5; <50 → 1) + ANC 10^9/L (≥0.8 → 0; <0.8 → 0.5); Greenberg 2012; max 10; ≤1.5 very_low, >1.5–3 low, >3–4.5 intermediate, >4.5–6 high, >6 very_high","hemoglobin_g_dl":12,"max_score":10,"platelets_10e9_l":150,"risk_group":"very_low","score":1}],"path":"/api/calc/ipss_r"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anc_10e9_l":{"description":"Absolute neutrophil count in 10^9/L (0-50). Greenberg 2012: ≥0.8 → 0; <0.8 → 0.5. magent does not compute ANC.","type":"number"},"blasts_percent":{"description":"Bone-marrow blasts as a percent (0-30). Greenberg 2012: ≤2 → 0; >2 and <5 → 1; 5–10 → 2; >10 → 3. magent does not count blasts.","type":"number"},"cytogenetics":{"description":"Schanz/Greenberg 2012 cytogenetic subgroup as assigned by the caller (very_good 0, good 1, intermediate 2, poor 3, very_poor 4). magent does not karyotype.","enum":["very_good","good","intermediate","poor","very_poor"],"type":"string"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-20). Greenberg 2012: ≥10 → 0; 8 to <10 → 1; <8 → 1.5. magent does not assay hemoglobin.","type":"number"},"platelets_10e9_l":{"description":"Platelets in 10^9/L (0-2000). Greenberg 2012: ≥100 → 0; 50 to <100 → 0.5; <50 → 1. magent does not assay platelets.","type":"number"}},"required":["cytogenetics","blasts_percent","hemoglobin_g_dl","platelets_10e9_l","anc_10e9_l"],"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},{"id":39422,"slug":"39422","resource":"https://api.magentlab.com/api/calc/duval_aml","description":"Duval 2010 AML Table 5 (not ALL): PIF or CR1 >6 mo 0 / CR1 <6 mo 1; ECOG/SWOG cyto good/intermediate 0, poor 1; HLA sibling or well/partially matched unrelated 0, mismatched unrelated 1, related other 2; circulating blasts 1; KPS/Lansky <90 1; max 6. Groups 0, 1, 2, ≥3. Caller assigns categories; magent does not karyotype. Not a transplant listing.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"circulating_blasts":false,"cytogenetics":"good_or_intermediate","disease_group":"pif_or_cr1_gt_6mo","hla_match":"sibling_or_matched_unrelated","kps_lt_90":false},{"circulating_blasts":false,"cytogenetics":"good_or_intermediate","disease_group":"pif_or_cr1_gt_6mo","hla_match":"sibling_or_matched_unrelated","kps_lt_90":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"circulating_blasts":false,"citation":{"authors":"Duval M, Klein JP, He W, et al","doi":"10.1200/JCO.2010.28.8852","id":"duval-2010","pmid":"20625126","source":"J Clin Oncol. 2010;28(23):3730-3738","title":"Hematopoietic Stem-Cell Transplantation for Acute Leukemia in Relapse or Primary Induction Failure"},"components":[{"factor":"disease_group","points":0,"present":false,"value":"pif_or_cr1_gt_6mo"},{"factor":"cytogenetics","points":0,"present":false,"value":"good_or_intermediate"},{"factor":"hla_match","points":0,"present":false,"value":"sibling_or_matched_unrelated"},{"factor":"circulating_blasts","points":0,"present":false},{"factor":"kps_lt_90","points":0,"present":false}],"cytogenetics":"good_or_intermediate","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.","disease_group":"pif_or_cr1_gt_6mo","formula":"duval_aml","formula_expression":"Duval AML Table 5 = disease_group (pif_or_cr1_gt_6mo 0, cr1_lt_6mo 1) + cytogenetics (good_or_intermediate 0, poor 1) + hla_match (sibling_or_matched_unrelated 0, mismatched_unrelated 1, related_other 2) + circulating_blasts 1 + kps_lt_90 1; Duval 2010 AML only (not ALL); max 6; risk_group 0 / 1 / 2 / ge_3","hla_match":"sibling_or_matched_unrelated","kps_lt_90":false,"max_score":6,"risk_group":"0","score":0},{"circulating_blasts":false,"citation":{"authors":"Duval M, Klein JP, He W, et al","doi":"10.1200/JCO.2010.28.8852","id":"duval-2010","pmid":"20625126","source":"J Clin Oncol. 2010;28(23):3730-3738","title":"Hematopoietic Stem-Cell Transplantation for Acute Leukemia in Relapse or Primary Induction Failure"},"components":[{"factor":"disease_group","points":0,"present":false,"value":"pif_or_cr1_gt_6mo"},{"factor":"cytogenetics","points":0,"present":false,"value":"good_or_intermediate"},{"factor":"hla_match","points":0,"present":false,"value":"sibling_or_matched_unrelated"},{"factor":"circulating_blasts","points":0,"present":false},{"factor":"kps_lt_90","points":0,"present":false}],"cytogenetics":"good_or_intermediate","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.","disease_group":"pif_or_cr1_gt_6mo","formula":"duval_aml","formula_expression":"Duval AML Table 5 = disease_group (pif_or_cr1_gt_6mo 0, cr1_lt_6mo 1) + cytogenetics (good_or_intermediate 0, poor 1) + hla_match (sibling_or_matched_unrelated 0, mismatched_unrelated 1, related_other 2) + circulating_blasts 1 + kps_lt_90 1; Duval 2010 AML only (not ALL); max 6; risk_group 0 / 1 / 2 / ge_3","hla_match":"sibling_or_matched_unrelated","kps_lt_90":false,"max_score":6,"risk_group":"0","score":0}],"path":"/api/calc/duval_aml"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"circulating_blasts":{"description":"Circulating blasts present as assigned by the caller (Duval 2010 AML Table 5). true scores 1. magent does not count blasts.","type":"boolean"},"cytogenetics":{"description":"ECOG/SWOG cytogenetic risk as assigned by the caller (Duval 2010). poor is −5/del(5q), −7/del(7q), inv(3q), abn11q, 20q or 21q, del(9q), t(6;9), t(9;22), abn17p, or complex (≥3 abnormalities) and scores 1. good_or_intermediate is everything else in that classification and scores 0. magent does not read a karyotype string.","enum":["good_or_intermediate","poor"],"type":"string"},"disease_group":{"description":"Duval 2010 AML Table 5 disease status as assigned by the caller. pif_or_cr1_gt_6mo is primary induction failure or duration of first CR >6 months and scores 0. cr1_lt_6mo is duration of first CR <6 months and scores 1. magent does not date remissions.","enum":["pif_or_cr1_gt_6mo","cr1_lt_6mo"],"type":"string"},"hla_match":{"description":"Duval 2010 AML Table 5 donor HLA match as assigned by the caller (not a flattened 0/1 donor flag). sibling_or_matched_unrelated is HLA-identical sibling or well matched or partially matched unrelated and scores 0. mismatched_unrelated scores 1. related_other is related other than HLA-identical sibling and scores 2. magent does not HLA-type.","enum":["sibling_or_matched_unrelated","mismatched_unrelated","related_other"],"type":"string"},"kps_lt_90":{"description":"Karnofsky or Lansky <90 as assigned by the caller (Duval 2010 AML Table 5). true scores 1. magent does not collect numeric KPS or Lansky.","type":"boolean"}},"required":["disease_group","cytogenetics","hla_match","circulating_blasts","kps_lt_90"],"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":["duval-aml","aml","hematology","hct","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:55:14.27Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:55:14.142Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"circulating_blasts":false,"cytogenetics":"good_or_intermediate","disease_group":"pif_or_cr1_gt_6mo","hla_match":"sibling_or_matched_unrelated","kps_lt_90":false},{"circulating_blasts":false,"cytogenetics":"good_or_intermediate","disease_group":"pif_or_cr1_gt_6mo","hla_match":"sibling_or_matched_unrelated","kps_lt_90":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"circulating_blasts":false,"citation":{"authors":"Duval M, Klein JP, He W, et al","doi":"10.1200/JCO.2010.28.8852","id":"duval-2010","pmid":"20625126","source":"J Clin Oncol. 2010;28(23):3730-3738","title":"Hematopoietic Stem-Cell Transplantation for Acute Leukemia in Relapse or Primary Induction Failure"},"components":[{"factor":"disease_group","points":0,"present":false,"value":"pif_or_cr1_gt_6mo"},{"factor":"cytogenetics","points":0,"present":false,"value":"good_or_intermediate"},{"factor":"hla_match","points":0,"present":false,"value":"sibling_or_matched_unrelated"},{"factor":"circulating_blasts","points":0,"present":false},{"factor":"kps_lt_90","points":0,"present":false}],"cytogenetics":"good_or_intermediate","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.","disease_group":"pif_or_cr1_gt_6mo","formula":"duval_aml","formula_expression":"Duval AML Table 5 = disease_group (pif_or_cr1_gt_6mo 0, cr1_lt_6mo 1) + cytogenetics (good_or_intermediate 0, poor 1) + hla_match (sibling_or_matched_unrelated 0, mismatched_unrelated 1, related_other 2) + circulating_blasts 1 + kps_lt_90 1; Duval 2010 AML only (not ALL); max 6; risk_group 0 / 1 / 2 / ge_3","hla_match":"sibling_or_matched_unrelated","kps_lt_90":false,"max_score":6,"risk_group":"0","score":0},{"circulating_blasts":false,"citation":{"authors":"Duval M, Klein JP, He W, et al","doi":"10.1200/JCO.2010.28.8852","id":"duval-2010","pmid":"20625126","source":"J Clin Oncol. 2010;28(23):3730-3738","title":"Hematopoietic Stem-Cell Transplantation for Acute Leukemia in Relapse or Primary Induction Failure"},"components":[{"factor":"disease_group","points":0,"present":false,"value":"pif_or_cr1_gt_6mo"},{"factor":"cytogenetics","points":0,"present":false,"value":"good_or_intermediate"},{"factor":"hla_match","points":0,"present":false,"value":"sibling_or_matched_unrelated"},{"factor":"circulating_blasts","points":0,"present":false},{"factor":"kps_lt_90","points":0,"present":false}],"cytogenetics":"good_or_intermediate","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.","disease_group":"pif_or_cr1_gt_6mo","formula":"duval_aml","formula_expression":"Duval AML Table 5 = disease_group (pif_or_cr1_gt_6mo 0, cr1_lt_6mo 1) + cytogenetics (good_or_intermediate 0, poor 1) + hla_match (sibling_or_matched_unrelated 0, mismatched_unrelated 1, related_other 2) + circulating_blasts 1 + kps_lt_90 1; Duval 2010 AML only (not ALL); max 6; risk_group 0 / 1 / 2 / ge_3","hla_match":"sibling_or_matched_unrelated","kps_lt_90":false,"max_score":6,"risk_group":"0","score":0}],"path":"/api/calc/duval_aml"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"circulating_blasts":{"description":"Circulating blasts present as assigned by the caller (Duval 2010 AML Table 5). true scores 1. magent does not count blasts.","type":"boolean"},"cytogenetics":{"description":"ECOG/SWOG cytogenetic risk as assigned by the caller (Duval 2010). poor is −5/del(5q), −7/del(7q), inv(3q), abn11q, 20q or 21q, del(9q), t(6;9), t(9;22), abn17p, or complex (≥3 abnormalities) and scores 1. good_or_intermediate is everything else in that classification and scores 0. magent does not read a karyotype string.","enum":["good_or_intermediate","poor"],"type":"string"},"disease_group":{"description":"Duval 2010 AML Table 5 disease status as assigned by the caller. pif_or_cr1_gt_6mo is primary induction failure or duration of first CR >6 months and scores 0. cr1_lt_6mo is duration of first CR <6 months and scores 1. magent does not date remissions.","enum":["pif_or_cr1_gt_6mo","cr1_lt_6mo"],"type":"string"},"hla_match":{"description":"Duval 2010 AML Table 5 donor HLA match as assigned by the caller (not a flattened 0/1 donor flag). sibling_or_matched_unrelated is HLA-identical sibling or well matched or partially matched unrelated and scores 0. mismatched_unrelated scores 1. related_other is related other than HLA-identical sibling and scores 2. magent does not HLA-type.","enum":["sibling_or_matched_unrelated","mismatched_unrelated","related_other"],"type":"string"},"kps_lt_90":{"description":"Karnofsky or Lansky <90 as assigned by the caller (Duval 2010 AML Table 5). true scores 1. magent does not collect numeric KPS or Lansky.","type":"boolean"}},"required":["disease_group","cytogenetics","hla_match","circulating_blasts","kps_lt_90"],"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},{"id":39423,"slug":"39423","resource":"https://api.magentlab.com/api/calc/hct_ci","description":"Sorror 2005 HCT-specific comorbidity index. Seventeen caller-assigned comorbidities with published weights 1, 2, or 3 (max 26). Pulmonary moderate vs severe and hepatic mild vs moderate/severe are mutually exclusive. Risk groups: 0 low, 1–2 intermediate, ≥3 high. Caller supplies the published category; magent does not interpret PFTs or echo and does not list for transplant. Not Charlson. Not a diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"arrhythmia":false,"cardiac":false,"cerebrovascular_disease":false,"diabetes":false,"heart_valve_disease":false,"infection":false,"inflammatory_bowel_disease":false,"mild_hepatic":false,"moderate_pulmonary":false,"moderate_severe_hepatic":false,"moderate_severe_renal":false,"obesity":false,"peptic_ulcer":false,"prior_solid_tumor":false,"psychiatric_disturbance":false,"rheumatologic":false,"severe_pulmonary":false},{"arrhythmia":false,"cardiac":false,"cerebrovascular_disease":false,"diabetes":false,"heart_valve_disease":false,"infection":false,"inflammatory_bowel_disease":false,"mild_hepatic":false,"moderate_pulmonary":false,"moderate_severe_hepatic":false,"moderate_severe_renal":false,"obesity":false,"peptic_ulcer":false,"prior_solid_tumor":false,"psychiatric_disturbance":false,"rheumatologic":false,"severe_pulmonary":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sorror ML, Maris MB, Storb R, et al.","doi":"10.1182/blood-2005-05-2004","id":"sorror-2005","pmid":"15994282","source":"Blood. 2005;106(9):2912-2919","title":"Hematopoietic cell transplantation (HCT)-specific comorbidity index: a new tool for risk assessment before allogeneic HCT"},"components":[{"factor":"arrhythmia","points":0,"present":false},{"factor":"cardiac","points":0,"present":false},{"factor":"inflammatory_bowel_disease","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"psychiatric_disturbance","points":0,"present":false},{"factor":"mild_hepatic","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"infection","points":0,"present":false},{"factor":"rheumatologic","points":0,"present":false},{"factor":"peptic_ulcer","points":0,"present":false},{"factor":"moderate_severe_renal","points":0,"present":false},{"factor":"moderate_pulmonary","points":0,"present":false},{"factor":"prior_solid_tumor","points":0,"present":false},{"factor":"heart_valve_disease","points":0,"present":false},{"factor":"severe_pulmonary","points":0,"present":false},{"factor":"moderate_severe_hepatic","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":"hct_ci","formula_expression":"HCT-CI = arrhythmia 1 + cardiac 1 + inflammatory_bowel_disease 1 + diabetes 1 + cerebrovascular_disease 1 + psychiatric_disturbance 1 + mild_hepatic 1 + obesity 1 + infection 1 + rheumatologic 2 + peptic_ulcer 2 + moderate_severe_renal 2 + moderate_pulmonary 2 + prior_solid_tumor 3 + heart_valve_disease 3 + severe_pulmonary 3 + moderate_severe_hepatic 3; Sorror 2005 HCT-CI weights; max 26; pulmonary moderate vs severe exclusive; hepatic mild vs moderate/severe exclusive; risk groups 0 low / 1-2 intermediate / >=3 high","max_score":26,"risk_group":"low","score":0},{"citation":{"authors":"Sorror ML, Maris MB, Storb R, et al.","doi":"10.1182/blood-2005-05-2004","id":"sorror-2005","pmid":"15994282","source":"Blood. 2005;106(9):2912-2919","title":"Hematopoietic cell transplantation (HCT)-specific comorbidity index: a new tool for risk assessment before allogeneic HCT"},"components":[{"factor":"arrhythmia","points":0,"present":false},{"factor":"cardiac","points":0,"present":false},{"factor":"inflammatory_bowel_disease","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"psychiatric_disturbance","points":0,"present":false},{"factor":"mild_hepatic","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"infection","points":0,"present":false},{"factor":"rheumatologic","points":0,"present":false},{"factor":"peptic_ulcer","points":0,"present":false},{"factor":"moderate_severe_renal","points":0,"present":false},{"factor":"moderate_pulmonary","points":0,"present":false},{"factor":"prior_solid_tumor","points":0,"present":false},{"factor":"heart_valve_disease","points":0,"present":false},{"factor":"severe_pulmonary","points":0,"present":false},{"factor":"moderate_severe_hepatic","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":"hct_ci","formula_expression":"HCT-CI = arrhythmia 1 + cardiac 1 + inflammatory_bowel_disease 1 + diabetes 1 + cerebrovascular_disease 1 + psychiatric_disturbance 1 + mild_hepatic 1 + obesity 1 + infection 1 + rheumatologic 2 + peptic_ulcer 2 + moderate_severe_renal 2 + moderate_pulmonary 2 + prior_solid_tumor 3 + heart_valve_disease 3 + severe_pulmonary 3 + moderate_severe_hepatic 3; Sorror 2005 HCT-CI weights; max 26; pulmonary moderate vs severe exclusive; hepatic mild vs moderate/severe exclusive; risk groups 0 low / 1-2 intermediate / >=3 high","max_score":26,"risk_group":"low","score":0}],"path":"/api/calc/hct_ci"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arrhythmia":{"description":"Arrhythmia as assigned by the caller (Sorror 2005: atrial fibrillation or flutter, sick sinus syndrome, or ventricular arrhythmias). true scores 1. magent does not diagnose arrhythmia.","type":"boolean"},"cardiac":{"description":"Cardiac comorbidity as assigned by the caller (Sorror 2005: coronary artery disease, congestive heart failure, myocardial infarction, or ejection fraction ≤50%). true scores 1. magent does not interpret echo or diagnose cardiac disease.","type":"boolean"},"cerebrovascular_disease":{"description":"Cerebrovascular disease as assigned by the caller (Sorror 2005: TIA or cerebrovascular accident). true scores 1. magent does not diagnose stroke or TIA.","type":"boolean"},"diabetes":{"description":"Diabetes requiring insulin or oral hypoglycemics, not diet alone, as assigned by the caller (Sorror 2005). true scores 1. magent does not diagnose diabetes.","type":"boolean"},"heart_valve_disease":{"description":"Heart valve disease except mitral valve prolapse as assigned by the caller (Sorror 2005). true scores 3. magent does not interpret echo.","type":"boolean"},"infection":{"description":"Infection requiring continuation of antimicrobial treatment after day 0 as assigned by the caller (Sorror 2005). true scores 1. magent does not diagnose infection.","type":"boolean"},"inflammatory_bowel_disease":{"description":"Inflammatory bowel disease as assigned by the caller (Sorror 2005: Crohn disease or ulcerative colitis). true scores 1. magent does not diagnose IBD.","type":"boolean"},"mild_hepatic":{"description":"Mild hepatic comorbidity as assigned by the caller (Sorror 2005: chronic hepatitis, bilirubin >ULN to 1.5×ULN, or AST/ALT >ULN to 2.5×ULN). true scores 1. Mutually exclusive with moderate_severe_hepatic. magent does not grade liver tests.","type":"boolean"},"moderate_pulmonary":{"description":"Moderate pulmonary comorbidity as assigned by the caller (Sorror 2005: DLco and/or FEV1 66%–80% or dyspnea on slight activity). true scores 2. Mutually exclusive with severe_pulmonary. magent does not interpret PFTs.","type":"boolean"},"moderate_severe_hepatic":{"description":"Moderate/severe hepatic comorbidity as assigned by the caller (Sorror 2005: cirrhosis, bilirubin >1.5×ULN, or AST/ALT >2.5×ULN). true scores 3. Mutually exclusive with mild_hepatic. magent does not grade liver tests.","type":"boolean"},"moderate_severe_renal":{"description":"Moderate/severe renal comorbidity as assigned by the caller (Sorror 2005: serum creatinine >2 mg/dL, dialysis, or prior renal transplantation). true scores 2. magent does not grade kidney disease from creatinine.","type":"boolean"},"obesity":{"description":"Obesity as assigned by the caller (Sorror 2005: body mass index >35 kg/m²). true scores 1. magent does not compute BMI.","type":"boolean"},"peptic_ulcer":{"description":"Peptic ulcer requiring treatment as assigned by the caller (Sorror 2005). true scores 2. magent does not diagnose ulcer disease.","type":"boolean"},"prior_solid_tumor":{"description":"Prior solid tumor treated at any time, excluding nonmelanoma skin cancer, as assigned by the caller (Sorror 2005). true scores 3. magent does not diagnose cancer.","type":"boolean"},"psychiatric_disturbance":{"description":"Psychiatric disturbance as assigned by the caller (Sorror 2005: depression or anxiety requiring psychiatric consult or treatment). true scores 1. magent does not diagnose psychiatric disease.","type":"boolean"},"rheumatologic":{"description":"Rheumatologic comorbidity as assigned by the caller (Sorror 2005: SLE, RA, polymyositis, mixed CTD, or polymyalgia rheumatica). true scores 2. magent does not diagnose rheumatologic disease.","type":"boolean"},"severe_pulmonary":{"description":"Severe pulmonary comorbidity as assigned by the caller (Sorror 2005: DLco and/or FEV1 ≤65% or dyspnea at rest or requiring oxygen). true scores 3. Mutually exclusive with moderate_pulmonary. magent does not interpret PFTs.","type":"boolean"}},"required":["arrhythmia","cardiac","inflammatory_bowel_disease","diabetes","cerebrovascular_disease","psychiatric_disturbance","mild_hepatic","obesity","infection","rheumatologic","peptic_ulcer","moderate_severe_renal","moderate_pulmonary","prior_solid_tumor","heart_valve_disease","severe_pulmonary","moderate_severe_hepatic"],"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":["hct-ci","hematology","comorbidity","hct","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:55:08.181Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:55:08.049Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"arrhythmia":false,"cardiac":false,"cerebrovascular_disease":false,"diabetes":false,"heart_valve_disease":false,"infection":false,"inflammatory_bowel_disease":false,"mild_hepatic":false,"moderate_pulmonary":false,"moderate_severe_hepatic":false,"moderate_severe_renal":false,"obesity":false,"peptic_ulcer":false,"prior_solid_tumor":false,"psychiatric_disturbance":false,"rheumatologic":false,"severe_pulmonary":false},{"arrhythmia":false,"cardiac":false,"cerebrovascular_disease":false,"diabetes":false,"heart_valve_disease":false,"infection":false,"inflammatory_bowel_disease":false,"mild_hepatic":false,"moderate_pulmonary":false,"moderate_severe_hepatic":false,"moderate_severe_renal":false,"obesity":false,"peptic_ulcer":false,"prior_solid_tumor":false,"psychiatric_disturbance":false,"rheumatologic":false,"severe_pulmonary":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sorror ML, Maris MB, Storb R, et al.","doi":"10.1182/blood-2005-05-2004","id":"sorror-2005","pmid":"15994282","source":"Blood. 2005;106(9):2912-2919","title":"Hematopoietic cell transplantation (HCT)-specific comorbidity index: a new tool for risk assessment before allogeneic HCT"},"components":[{"factor":"arrhythmia","points":0,"present":false},{"factor":"cardiac","points":0,"present":false},{"factor":"inflammatory_bowel_disease","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"psychiatric_disturbance","points":0,"present":false},{"factor":"mild_hepatic","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"infection","points":0,"present":false},{"factor":"rheumatologic","points":0,"present":false},{"factor":"peptic_ulcer","points":0,"present":false},{"factor":"moderate_severe_renal","points":0,"present":false},{"factor":"moderate_pulmonary","points":0,"present":false},{"factor":"prior_solid_tumor","points":0,"present":false},{"factor":"heart_valve_disease","points":0,"present":false},{"factor":"severe_pulmonary","points":0,"present":false},{"factor":"moderate_severe_hepatic","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":"hct_ci","formula_expression":"HCT-CI = arrhythmia 1 + cardiac 1 + inflammatory_bowel_disease 1 + diabetes 1 + cerebrovascular_disease 1 + psychiatric_disturbance 1 + mild_hepatic 1 + obesity 1 + infection 1 + rheumatologic 2 + peptic_ulcer 2 + moderate_severe_renal 2 + moderate_pulmonary 2 + prior_solid_tumor 3 + heart_valve_disease 3 + severe_pulmonary 3 + moderate_severe_hepatic 3; Sorror 2005 HCT-CI weights; max 26; pulmonary moderate vs severe exclusive; hepatic mild vs moderate/severe exclusive; risk groups 0 low / 1-2 intermediate / >=3 high","max_score":26,"risk_group":"low","score":0},{"citation":{"authors":"Sorror ML, Maris MB, Storb R, et al.","doi":"10.1182/blood-2005-05-2004","id":"sorror-2005","pmid":"15994282","source":"Blood. 2005;106(9):2912-2919","title":"Hematopoietic cell transplantation (HCT)-specific comorbidity index: a new tool for risk assessment before allogeneic HCT"},"components":[{"factor":"arrhythmia","points":0,"present":false},{"factor":"cardiac","points":0,"present":false},{"factor":"inflammatory_bowel_disease","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"cerebrovascular_disease","points":0,"present":false},{"factor":"psychiatric_disturbance","points":0,"present":false},{"factor":"mild_hepatic","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"infection","points":0,"present":false},{"factor":"rheumatologic","points":0,"present":false},{"factor":"peptic_ulcer","points":0,"present":false},{"factor":"moderate_severe_renal","points":0,"present":false},{"factor":"moderate_pulmonary","points":0,"present":false},{"factor":"prior_solid_tumor","points":0,"present":false},{"factor":"heart_valve_disease","points":0,"present":false},{"factor":"severe_pulmonary","points":0,"present":false},{"factor":"moderate_severe_hepatic","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":"hct_ci","formula_expression":"HCT-CI = arrhythmia 1 + cardiac 1 + inflammatory_bowel_disease 1 + diabetes 1 + cerebrovascular_disease 1 + psychiatric_disturbance 1 + mild_hepatic 1 + obesity 1 + infection 1 + rheumatologic 2 + peptic_ulcer 2 + moderate_severe_renal 2 + moderate_pulmonary 2 + prior_solid_tumor 3 + heart_valve_disease 3 + severe_pulmonary 3 + moderate_severe_hepatic 3; Sorror 2005 HCT-CI weights; max 26; pulmonary moderate vs severe exclusive; hepatic mild vs moderate/severe exclusive; risk groups 0 low / 1-2 intermediate / >=3 high","max_score":26,"risk_group":"low","score":0}],"path":"/api/calc/hct_ci"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arrhythmia":{"description":"Arrhythmia as assigned by the caller (Sorror 2005: atrial fibrillation or flutter, sick sinus syndrome, or ventricular arrhythmias). true scores 1. magent does not diagnose arrhythmia.","type":"boolean"},"cardiac":{"description":"Cardiac comorbidity as assigned by the caller (Sorror 2005: coronary artery disease, congestive heart failure, myocardial infarction, or ejection fraction ≤50%). true scores 1. magent does not interpret echo or diagnose cardiac disease.","type":"boolean"},"cerebrovascular_disease":{"description":"Cerebrovascular disease as assigned by the caller (Sorror 2005: TIA or cerebrovascular accident). true scores 1. magent does not diagnose stroke or TIA.","type":"boolean"},"diabetes":{"description":"Diabetes requiring insulin or oral hypoglycemics, not diet alone, as assigned by the caller (Sorror 2005). true scores 1. magent does not diagnose diabetes.","type":"boolean"},"heart_valve_disease":{"description":"Heart valve disease except mitral valve prolapse as assigned by the caller (Sorror 2005). true scores 3. magent does not interpret echo.","type":"boolean"},"infection":{"description":"Infection requiring continuation of antimicrobial treatment after day 0 as assigned by the caller (Sorror 2005). true scores 1. magent does not diagnose infection.","type":"boolean"},"inflammatory_bowel_disease":{"description":"Inflammatory bowel disease as assigned by the caller (Sorror 2005: Crohn disease or ulcerative colitis). true scores 1. magent does not diagnose IBD.","type":"boolean"},"mild_hepatic":{"description":"Mild hepatic comorbidity as assigned by the caller (Sorror 2005: chronic hepatitis, bilirubin >ULN to 1.5×ULN, or AST/ALT >ULN to 2.5×ULN). true scores 1. Mutually exclusive with moderate_severe_hepatic. magent does not grade liver tests.","type":"boolean"},"moderate_pulmonary":{"description":"Moderate pulmonary comorbidity as assigned by the caller (Sorror 2005: DLco and/or FEV1 66%–80% or dyspnea on slight activity). true scores 2. Mutually exclusive with severe_pulmonary. magent does not interpret PFTs.","type":"boolean"},"moderate_severe_hepatic":{"description":"Moderate/severe hepatic comorbidity as assigned by the caller (Sorror 2005: cirrhosis, bilirubin >1.5×ULN, or AST/ALT >2.5×ULN). true scores 3. Mutually exclusive with mild_hepatic. magent does not grade liver tests.","type":"boolean"},"moderate_severe_renal":{"description":"Moderate/severe renal comorbidity as assigned by the caller (Sorror 2005: serum creatinine >2 mg/dL, dialysis, or prior renal transplantation). true scores 2. magent does not grade kidney disease from creatinine.","type":"boolean"},"obesity":{"description":"Obesity as assigned by the caller (Sorror 2005: body mass index >35 kg/m²). true scores 1. magent does not compute BMI.","type":"boolean"},"peptic_ulcer":{"description":"Peptic ulcer requiring treatment as assigned by the caller (Sorror 2005). true scores 2. magent does not diagnose ulcer disease.","type":"boolean"},"prior_solid_tumor":{"description":"Prior solid tumor treated at any time, excluding nonmelanoma skin cancer, as assigned by the caller (Sorror 2005). true scores 3. magent does not diagnose cancer.","type":"boolean"},"psychiatric_disturbance":{"description":"Psychiatric disturbance as assigned by the caller (Sorror 2005: depression or anxiety requiring psychiatric consult or treatment). true scores 1. magent does not diagnose psychiatric disease.","type":"boolean"},"rheumatologic":{"description":"Rheumatologic comorbidity as assigned by the caller (Sorror 2005: SLE, RA, polymyositis, mixed CTD, or polymyalgia rheumatica). true scores 2. magent does not diagnose rheumatologic disease.","type":"boolean"},"severe_pulmonary":{"description":"Severe pulmonary comorbidity as assigned by the caller (Sorror 2005: DLco and/or FEV1 ≤65% or dyspnea at rest or requiring oxygen). true scores 3. Mutually exclusive with moderate_pulmonary. magent does not interpret PFTs.","type":"boolean"}},"required":["arrhythmia","cardiac","inflammatory_bowel_disease","diabetes","cerebrovascular_disease","psychiatric_disturbance","mild_hepatic","obesity","infection","rheumatologic","peptic_ulcer","moderate_severe_renal","moderate_pulmonary","prior_solid_tumor","heart_valve_disease","severe_pulmonary","moderate_severe_hepatic"],"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},{"id":39424,"slug":"39424","resource":"https://api.magentlab.com/api/calc/rai","description":"Rai 1975 original CLL staging (stages 0-IV). Returns rai_stage 0-4 from caller-assigned lymphadenopathy, hepatosplenomegaly (spleen or liver or both), anemia (Hb <11 g/dL), and thrombocytopenia (platelets <100,000/mm3). Highest applicable: thrombocytopenia 4, else anemia 3, else organomegaly 2, else nodes 1, else 0 (lymphocytosis only). Not a CLL diagnosis; magent does not examine the patient or read a CBC. Not modified Rai. Not Binet (Binet C is Hb <10).","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anemia_hb_lt_11":false,"hepatosplenomegaly":false,"lymphadenopathy":false,"thrombocytopenia_plt_lt_100":false},{"anemia_hb_lt_11":false,"hepatosplenomegaly":false,"lymphadenopathy":false,"thrombocytopenia_plt_lt_100":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anemia_hb_lt_11":false,"citation":{"authors":"Rai KR, Sawitsky A, Cronkite EP, Chanana AD, Levy RN, Pasternack BS","doi":"10.1182/blood.v46.2.219.219","id":"rai-1975","pmid":"1139039","source":"Blood. 1975;46(2):219-234","title":"Clinical staging of chronic lymphocytic leukemia"},"criteria":[{"factor":"thrombocytopenia_plt_lt_100","met":false},{"factor":"anemia_hb_lt_11","met":false},{"factor":"hepatosplenomegaly","met":false},{"factor":"lymphadenopathy","met":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":"rai","formula_expression":"rai_stage = 4 if thrombocytopenia_plt_lt_100; else 3 if anemia_hb_lt_11; else 2 if hepatosplenomegaly; else 1 if lymphadenopathy; else 0 (lymphocytosis only). Original Rai 1975 stages 0-IV. Not modified Rai. Not Binet.","hepatosplenomegaly":false,"lymphadenopathy":false,"rai_stage":0,"thrombocytopenia_plt_lt_100":false},{"anemia_hb_lt_11":false,"citation":{"authors":"Rai KR, Sawitsky A, Cronkite EP, Chanana AD, Levy RN, Pasternack BS","doi":"10.1182/blood.v46.2.219.219","id":"rai-1975","pmid":"1139039","source":"Blood. 1975;46(2):219-234","title":"Clinical staging of chronic lymphocytic leukemia"},"criteria":[{"factor":"thrombocytopenia_plt_lt_100","met":false},{"factor":"anemia_hb_lt_11","met":false},{"factor":"hepatosplenomegaly","met":false},{"factor":"lymphadenopathy","met":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":"rai","formula_expression":"rai_stage = 4 if thrombocytopenia_plt_lt_100; else 3 if anemia_hb_lt_11; else 2 if hepatosplenomegaly; else 1 if lymphadenopathy; else 0 (lymphocytosis only). Original Rai 1975 stages 0-IV. Not modified Rai. Not Binet.","hepatosplenomegaly":false,"lymphadenopathy":false,"rai_stage":0,"thrombocytopenia_plt_lt_100":false}],"path":"/api/calc/rai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia_hb_lt_11":{"description":"Anemia as assigned by the caller using the Rai 1975 cutoff hemoglobin <11 g/dL (hematocrit <33% is the same clinical call). true or false. magent does not read a CBC.","type":"boolean"},"hepatosplenomegaly":{"description":"Enlarged spleen or liver or both as assigned by the caller (Rai 1975 stage II). true or false. magent does not examine the patient.","type":"boolean"},"lymphadenopathy":{"description":"Lymphadenopathy as assigned by the caller (Rai 1975 stage I when this is the highest finding). true or false. magent does not examine the patient.","type":"boolean"},"thrombocytopenia_plt_lt_100":{"description":"Thrombocytopenia as assigned by the caller using the Rai 1975 cutoff platelets <100,000/mm3 (<100×10^9/L). true or false. magent does not read a CBC.","type":"boolean"}},"required":["lymphadenopathy","hepatosplenomegaly","anemia_hb_lt_11","thrombocytopenia_plt_lt_100"],"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":["rai","cll","hematology","staging","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:55:01.536Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:55:01.383Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anemia_hb_lt_11":false,"hepatosplenomegaly":false,"lymphadenopathy":false,"thrombocytopenia_plt_lt_100":false},{"anemia_hb_lt_11":false,"hepatosplenomegaly":false,"lymphadenopathy":false,"thrombocytopenia_plt_lt_100":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anemia_hb_lt_11":false,"citation":{"authors":"Rai KR, Sawitsky A, Cronkite EP, Chanana AD, Levy RN, Pasternack BS","doi":"10.1182/blood.v46.2.219.219","id":"rai-1975","pmid":"1139039","source":"Blood. 1975;46(2):219-234","title":"Clinical staging of chronic lymphocytic leukemia"},"criteria":[{"factor":"thrombocytopenia_plt_lt_100","met":false},{"factor":"anemia_hb_lt_11","met":false},{"factor":"hepatosplenomegaly","met":false},{"factor":"lymphadenopathy","met":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":"rai","formula_expression":"rai_stage = 4 if thrombocytopenia_plt_lt_100; else 3 if anemia_hb_lt_11; else 2 if hepatosplenomegaly; else 1 if lymphadenopathy; else 0 (lymphocytosis only). Original Rai 1975 stages 0-IV. Not modified Rai. Not Binet.","hepatosplenomegaly":false,"lymphadenopathy":false,"rai_stage":0,"thrombocytopenia_plt_lt_100":false},{"anemia_hb_lt_11":false,"citation":{"authors":"Rai KR, Sawitsky A, Cronkite EP, Chanana AD, Levy RN, Pasternack BS","doi":"10.1182/blood.v46.2.219.219","id":"rai-1975","pmid":"1139039","source":"Blood. 1975;46(2):219-234","title":"Clinical staging of chronic lymphocytic leukemia"},"criteria":[{"factor":"thrombocytopenia_plt_lt_100","met":false},{"factor":"anemia_hb_lt_11","met":false},{"factor":"hepatosplenomegaly","met":false},{"factor":"lymphadenopathy","met":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":"rai","formula_expression":"rai_stage = 4 if thrombocytopenia_plt_lt_100; else 3 if anemia_hb_lt_11; else 2 if hepatosplenomegaly; else 1 if lymphadenopathy; else 0 (lymphocytosis only). Original Rai 1975 stages 0-IV. Not modified Rai. Not Binet.","hepatosplenomegaly":false,"lymphadenopathy":false,"rai_stage":0,"thrombocytopenia_plt_lt_100":false}],"path":"/api/calc/rai"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia_hb_lt_11":{"description":"Anemia as assigned by the caller using the Rai 1975 cutoff hemoglobin <11 g/dL (hematocrit <33% is the same clinical call). true or false. magent does not read a CBC.","type":"boolean"},"hepatosplenomegaly":{"description":"Enlarged spleen or liver or both as assigned by the caller (Rai 1975 stage II). true or false. magent does not examine the patient.","type":"boolean"},"lymphadenopathy":{"description":"Lymphadenopathy as assigned by the caller (Rai 1975 stage I when this is the highest finding). true or false. magent does not examine the patient.","type":"boolean"},"thrombocytopenia_plt_lt_100":{"description":"Thrombocytopenia as assigned by the caller using the Rai 1975 cutoff platelets <100,000/mm3 (<100×10^9/L). true or false. magent does not read a CBC.","type":"boolean"}},"required":["lymphadenopathy","hepatosplenomegaly","anemia_hb_lt_11","thrombocytopenia_plt_lt_100"],"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},{"id":39425,"slug":"39425","resource":"https://api.magentlab.com/api/calc/binet","description":"Binet 1981 CLL staging. Stage C if anemia (Hb <10 g/dL) or thrombocytopenia (platelets <100×10^9/L), regardless of lymphoid areas. Else stage B when involved_areas is 3-5, else stage A when 0-2. The five areas are cervical, axillary, and inguinal (unilateral or bilateral counts as one area each), plus spleen, plus liver; the caller assigns the count. Not a medical device, not a CLL diagnosis, and not Rai staging (Rai anemia is Hb <11).","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anemia_hb_lt_10":false,"involved_areas":1,"thrombocytopenia_plt_lt_100":false},{"anemia_hb_lt_10":false,"involved_areas":1,"thrombocytopenia_plt_lt_100":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anemia_hb_lt_10":false,"binet_stage":"A","citation":{"authors":"Binet JL, Auquier A, Dighiero G, et al.","doi":"10.1002/1097-0142(19810701)48:1<198::AID-CNCR2820480131>3.0.CO;2-V","id":"binet-1981","pmid":"7237385","source":"Cancer. 1981;48(1):198-206","title":"A new prognostic classification of chronic lymphocytic leukemia derived from a multivariate survival analysis"},"criteria":[{"factor":"anemia_hb_lt_10","met":false},{"factor":"thrombocytopenia_plt_lt_100","met":false},{"factor":"involved_areas_ge_3","met":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":"binet","formula_expression":"Binet C if anemia_hb_lt_10 or thrombocytopenia_plt_lt_100; else B if involved_areas >= 3; else A (involved_areas 0-2) (Binet 1981)","involved_areas":1,"thrombocytopenia_plt_lt_100":false},{"anemia_hb_lt_10":false,"binet_stage":"A","citation":{"authors":"Binet JL, Auquier A, Dighiero G, et al.","doi":"10.1002/1097-0142(19810701)48:1<198::AID-CNCR2820480131>3.0.CO;2-V","id":"binet-1981","pmid":"7237385","source":"Cancer. 1981;48(1):198-206","title":"A new prognostic classification of chronic lymphocytic leukemia derived from a multivariate survival analysis"},"criteria":[{"factor":"anemia_hb_lt_10","met":false},{"factor":"thrombocytopenia_plt_lt_100","met":false},{"factor":"involved_areas_ge_3","met":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":"binet","formula_expression":"Binet C if anemia_hb_lt_10 or thrombocytopenia_plt_lt_100; else B if involved_areas >= 3; else A (involved_areas 0-2) (Binet 1981)","involved_areas":1,"thrombocytopenia_plt_lt_100":false}],"path":"/api/calc/binet"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia_hb_lt_10":{"description":"Hb <10 g/dL as assigned by the caller (Binet 1981 stage C cutoff is 10 g/dL, not Rai 11). true or false. magent does not assay hemoglobin.","type":"boolean"},"involved_areas":{"description":"Count of involved Binet lymphoid areas (integer 0-5) as assigned by the caller after Binet 1981: cervical, axillary, and inguinal (unilateral or bilateral counts as one area each), plus spleen, plus liver. magent does not examine the patient or count lymph-node areas.","type":"integer"},"thrombocytopenia_plt_lt_100":{"description":"Platelets <100×10^9/L as assigned by the caller (Binet 1981 stage C). true or false. magent does not count platelets.","type":"boolean"}},"required":["anemia_hb_lt_10","thrombocytopenia_plt_lt_100","involved_areas"],"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":["binet","cll","hematology","staging","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:54:54.218Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:54:54.077Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anemia_hb_lt_10":false,"involved_areas":1,"thrombocytopenia_plt_lt_100":false},{"anemia_hb_lt_10":false,"involved_areas":1,"thrombocytopenia_plt_lt_100":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anemia_hb_lt_10":false,"binet_stage":"A","citation":{"authors":"Binet JL, Auquier A, Dighiero G, et al.","doi":"10.1002/1097-0142(19810701)48:1<198::AID-CNCR2820480131>3.0.CO;2-V","id":"binet-1981","pmid":"7237385","source":"Cancer. 1981;48(1):198-206","title":"A new prognostic classification of chronic lymphocytic leukemia derived from a multivariate survival analysis"},"criteria":[{"factor":"anemia_hb_lt_10","met":false},{"factor":"thrombocytopenia_plt_lt_100","met":false},{"factor":"involved_areas_ge_3","met":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":"binet","formula_expression":"Binet C if anemia_hb_lt_10 or thrombocytopenia_plt_lt_100; else B if involved_areas >= 3; else A (involved_areas 0-2) (Binet 1981)","involved_areas":1,"thrombocytopenia_plt_lt_100":false},{"anemia_hb_lt_10":false,"binet_stage":"A","citation":{"authors":"Binet JL, Auquier A, Dighiero G, et al.","doi":"10.1002/1097-0142(19810701)48:1<198::AID-CNCR2820480131>3.0.CO;2-V","id":"binet-1981","pmid":"7237385","source":"Cancer. 1981;48(1):198-206","title":"A new prognostic classification of chronic lymphocytic leukemia derived from a multivariate survival analysis"},"criteria":[{"factor":"anemia_hb_lt_10","met":false},{"factor":"thrombocytopenia_plt_lt_100","met":false},{"factor":"involved_areas_ge_3","met":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":"binet","formula_expression":"Binet C if anemia_hb_lt_10 or thrombocytopenia_plt_lt_100; else B if involved_areas >= 3; else A (involved_areas 0-2) (Binet 1981)","involved_areas":1,"thrombocytopenia_plt_lt_100":false}],"path":"/api/calc/binet"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia_hb_lt_10":{"description":"Hb <10 g/dL as assigned by the caller (Binet 1981 stage C cutoff is 10 g/dL, not Rai 11). true or false. magent does not assay hemoglobin.","type":"boolean"},"involved_areas":{"description":"Count of involved Binet lymphoid areas (integer 0-5) as assigned by the caller after Binet 1981: cervical, axillary, and inguinal (unilateral or bilateral counts as one area each), plus spleen, plus liver. magent does not examine the patient or count lymph-node areas.","type":"integer"},"thrombocytopenia_plt_lt_100":{"description":"Platelets <100×10^9/L as assigned by the caller (Binet 1981 stage C). true or false. magent does not count platelets.","type":"boolean"}},"required":["anemia_hb_lt_10","thrombocytopenia_plt_lt_100","involved_areas"],"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},{"id":39426,"slug":"39426","resource":"https://api.magentlab.com/api/calc/ips_e","description":"Condoluci 2020 IPS-E for asymptomatic early-stage chronic lymphocytic leukemia: unmutated IGHV 1, ALC >15 ×10^9/L 1, palpable lymph nodes 1; max 3. Low 0, intermediate 1, high 2–3. Time-to-first-treatment score, not a treatment start order; not CLL-IPI, Rai, or Binet. magent does not assay IGHV, count lymphocytes, or palpate nodes.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"alc_k_ul":10,"ighv_unmutated":false,"palpable_lymph_nodes":false},{"alc_k_ul":10,"ighv_unmutated":false,"palpable_lymph_nodes":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alc_k_ul":10,"citation":{"authors":"Condoluci A, Terzi di Bergamo L, Langerbeins P, Hoechstetter MA, Herling CD, et al.","doi":"10.1182/blood.2019003453","id":"condoluci-2020","pmid":"32267500","source":"Blood. 2020;135(21):1859-1869","title":"International prognostic score for asymptomatic early-stage chronic lymphocytic leukemia"},"components":[{"factor":"ighv_unmutated","points":0,"present":false},{"factor":"alc_gt_15","points":0,"present":false,"value":10},{"factor":"palpable_lymph_nodes","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":"ips_e","formula_expression":"IPS-E = ighv_unmutated 1 + alc_gt_15 1 + palpable_lymph_nodes 1; Condoluci 2020; max 3; low 0, intermediate 1, high 2-3","ighv_unmutated":false,"ips_e_risk":"low","max_score":3,"palpable_lymph_nodes":false,"score":0},{"alc_k_ul":10,"citation":{"authors":"Condoluci A, Terzi di Bergamo L, Langerbeins P, Hoechstetter MA, Herling CD, et al.","doi":"10.1182/blood.2019003453","id":"condoluci-2020","pmid":"32267500","source":"Blood. 2020;135(21):1859-1869","title":"International prognostic score for asymptomatic early-stage chronic lymphocytic leukemia"},"components":[{"factor":"ighv_unmutated","points":0,"present":false},{"factor":"alc_gt_15","points":0,"present":false,"value":10},{"factor":"palpable_lymph_nodes","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":"ips_e","formula_expression":"IPS-E = ighv_unmutated 1 + alc_gt_15 1 + palpable_lymph_nodes 1; Condoluci 2020; max 3; low 0, intermediate 1, high 2-3","ighv_unmutated":false,"ips_e_risk":"low","max_score":3,"palpable_lymph_nodes":false,"score":0}],"path":"/api/calc/ips_e"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alc_k_ul":{"description":"Absolute lymphocyte count in ×10^9/L (0.1-500). >15 scores 1 (Condoluci 2020 IPS-E). 15.0 is the ≤15 arm and scores 0. magent does not count lymphocytes.","type":"number"},"ighv_unmutated":{"description":"Unmutated IGHV as assigned by the caller (Condoluci 2020 IPS-E). true scores 1. magent does not sequence IGHV.","type":"boolean"},"palpable_lymph_nodes":{"description":"Palpable lymph nodes as assigned by the caller (Condoluci 2020 IPS-E). true scores 1. magent does not palpate lymph nodes.","type":"boolean"}},"required":["ighv_unmutated","alc_k_ul","palpable_lymph_nodes"],"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":["ips-e","cll","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:54:47.631Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:54:47.501Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alc_k_ul":10,"ighv_unmutated":false,"palpable_lymph_nodes":false},{"alc_k_ul":10,"ighv_unmutated":false,"palpable_lymph_nodes":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alc_k_ul":10,"citation":{"authors":"Condoluci A, Terzi di Bergamo L, Langerbeins P, Hoechstetter MA, Herling CD, et al.","doi":"10.1182/blood.2019003453","id":"condoluci-2020","pmid":"32267500","source":"Blood. 2020;135(21):1859-1869","title":"International prognostic score for asymptomatic early-stage chronic lymphocytic leukemia"},"components":[{"factor":"ighv_unmutated","points":0,"present":false},{"factor":"alc_gt_15","points":0,"present":false,"value":10},{"factor":"palpable_lymph_nodes","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":"ips_e","formula_expression":"IPS-E = ighv_unmutated 1 + alc_gt_15 1 + palpable_lymph_nodes 1; Condoluci 2020; max 3; low 0, intermediate 1, high 2-3","ighv_unmutated":false,"ips_e_risk":"low","max_score":3,"palpable_lymph_nodes":false,"score":0},{"alc_k_ul":10,"citation":{"authors":"Condoluci A, Terzi di Bergamo L, Langerbeins P, Hoechstetter MA, Herling CD, et al.","doi":"10.1182/blood.2019003453","id":"condoluci-2020","pmid":"32267500","source":"Blood. 2020;135(21):1859-1869","title":"International prognostic score for asymptomatic early-stage chronic lymphocytic leukemia"},"components":[{"factor":"ighv_unmutated","points":0,"present":false},{"factor":"alc_gt_15","points":0,"present":false,"value":10},{"factor":"palpable_lymph_nodes","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":"ips_e","formula_expression":"IPS-E = ighv_unmutated 1 + alc_gt_15 1 + palpable_lymph_nodes 1; Condoluci 2020; max 3; low 0, intermediate 1, high 2-3","ighv_unmutated":false,"ips_e_risk":"low","max_score":3,"palpable_lymph_nodes":false,"score":0}],"path":"/api/calc/ips_e"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alc_k_ul":{"description":"Absolute lymphocyte count in ×10^9/L (0.1-500). >15 scores 1 (Condoluci 2020 IPS-E). 15.0 is the ≤15 arm and scores 0. magent does not count lymphocytes.","type":"number"},"ighv_unmutated":{"description":"Unmutated IGHV as assigned by the caller (Condoluci 2020 IPS-E). true scores 1. magent does not sequence IGHV.","type":"boolean"},"palpable_lymph_nodes":{"description":"Palpable lymph nodes as assigned by the caller (Condoluci 2020 IPS-E). true scores 1. magent does not palpate lymph nodes.","type":"boolean"}},"required":["ighv_unmutated","alc_k_ul","palpable_lymph_nodes"],"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},{"id":39427,"slug":"39427","resource":"https://api.magentlab.com/api/calc/cll_ipi","description":"CLL-IPI 2016 for chronic lymphocytic leukaemia: TP53 abnormality (del(17p) and/or TP53 mutation) 4, unmutated IGHV 2, beta-2 microglobulin >3.5 mg/L 2, advanced stage (Binet B/C or Rai I–IV) 1, age >65 1; max 10. Low 0–1, intermediate 2–3, high 4–6, very_high 7–10. Deterministic published score with citation; not a CLL diagnosis; not Shipp IPI; not MIPI. magent does not assay TP53, IGHV, or beta-2 microglobulin.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"advanced_stage":false,"age":50,"beta2_microglobulin_mg_l":2,"ighv_unmutated":false,"tp53_abnormal":false},{"advanced_stage":false,"age":50,"beta2_microglobulin_mg_l":2,"ighv_unmutated":false,"tp53_abnormal":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"beta2_microglobulin_mg_l":2,"citation":{"authors":"The International CLL-IPI working group","doi":"10.1016/S1470-2045(16)30029-8","id":"cll-ipi-2016","pmid":"27153538","source":"Lancet Oncol. 2016;17(6):779-790","title":"An international prognostic index for patients with chronic lymphocytic leukaemia (CLL-IPI)"},"components":[{"factor":"tp53_abnormal","points":0,"present":false},{"factor":"ighv_unmutated","points":0,"present":false},{"factor":"beta2_microglobulin_gt_3_5","points":0,"present":false,"value":2},{"factor":"advanced_stage","points":0,"present":false},{"factor":"age_gt_65","points":0,"present":false,"value":50}],"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":"cll_ipi","formula_expression":"CLL-IPI = tp53_abnormal 4 + ighv_unmutated 2 + beta2_microglobulin_gt_3_5 2 + advanced_stage 1 + age_gt_65 1; International CLL-IPI working group 2016; max 10; low 0-1, intermediate 2-3, high 4-6, very_high 7-10","max_score":10,"risk_group":"low","score":0},{"age_years":50,"beta2_microglobulin_mg_l":2,"citation":{"authors":"The International CLL-IPI working group","doi":"10.1016/S1470-2045(16)30029-8","id":"cll-ipi-2016","pmid":"27153538","source":"Lancet Oncol. 2016;17(6):779-790","title":"An international prognostic index for patients with chronic lymphocytic leukaemia (CLL-IPI)"},"components":[{"factor":"tp53_abnormal","points":0,"present":false},{"factor":"ighv_unmutated","points":0,"present":false},{"factor":"beta2_microglobulin_gt_3_5","points":0,"present":false,"value":2},{"factor":"advanced_stage","points":0,"present":false},{"factor":"age_gt_65","points":0,"present":false,"value":50}],"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":"cll_ipi","formula_expression":"CLL-IPI = tp53_abnormal 4 + ighv_unmutated 2 + beta2_microglobulin_gt_3_5 2 + advanced_stage 1 + age_gt_65 1; International CLL-IPI working group 2016; max 10; low 0-1, intermediate 2-3, high 4-6, very_high 7-10","max_score":10,"risk_group":"low","score":0}],"path":"/api/calc/cll_ipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"advanced_stage":{"description":"Binet B/C or Rai I–IV as assigned by the caller (CLL-IPI 2016). true scores 1. false is Binet A / Rai 0. magent does not stage CLL.","type":"boolean"},"age":{"description":"Age in years (18-120). Age >65 scores 1 (CLL-IPI 2016). Age 65 is the ≤65 arm and scores 0.","type":"integer"},"beta2_microglobulin_mg_l":{"description":"Serum beta-2 microglobulin in mg/L (0.2-40). >3.5 scores 2 (CLL-IPI 2016). 3.5 is the ≤3.5 arm and scores 0. magent does not assay beta-2 microglobulin.","type":"number"},"ighv_unmutated":{"description":"Unmutated IGHV as assigned by the caller (CLL-IPI 2016). true scores 2. magent does not sequence IGHV.","type":"boolean"},"tp53_abnormal":{"description":"del(17p) and/or TP53 mutation as assigned by the caller (CLL-IPI 2016). true scores 4. magent does not assay TP53.","type":"boolean"}},"required":["tp53_abnormal","ighv_unmutated","beta2_microglobulin_mg_l","advanced_stage","age"],"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":["cll-ipi","cll","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:54:40.096Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:54:39.97Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"advanced_stage":false,"age":50,"beta2_microglobulin_mg_l":2,"ighv_unmutated":false,"tp53_abnormal":false},{"advanced_stage":false,"age":50,"beta2_microglobulin_mg_l":2,"ighv_unmutated":false,"tp53_abnormal":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"beta2_microglobulin_mg_l":2,"citation":{"authors":"The International CLL-IPI working group","doi":"10.1016/S1470-2045(16)30029-8","id":"cll-ipi-2016","pmid":"27153538","source":"Lancet Oncol. 2016;17(6):779-790","title":"An international prognostic index for patients with chronic lymphocytic leukaemia (CLL-IPI)"},"components":[{"factor":"tp53_abnormal","points":0,"present":false},{"factor":"ighv_unmutated","points":0,"present":false},{"factor":"beta2_microglobulin_gt_3_5","points":0,"present":false,"value":2},{"factor":"advanced_stage","points":0,"present":false},{"factor":"age_gt_65","points":0,"present":false,"value":50}],"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":"cll_ipi","formula_expression":"CLL-IPI = tp53_abnormal 4 + ighv_unmutated 2 + beta2_microglobulin_gt_3_5 2 + advanced_stage 1 + age_gt_65 1; International CLL-IPI working group 2016; max 10; low 0-1, intermediate 2-3, high 4-6, very_high 7-10","max_score":10,"risk_group":"low","score":0},{"age_years":50,"beta2_microglobulin_mg_l":2,"citation":{"authors":"The International CLL-IPI working group","doi":"10.1016/S1470-2045(16)30029-8","id":"cll-ipi-2016","pmid":"27153538","source":"Lancet Oncol. 2016;17(6):779-790","title":"An international prognostic index for patients with chronic lymphocytic leukaemia (CLL-IPI)"},"components":[{"factor":"tp53_abnormal","points":0,"present":false},{"factor":"ighv_unmutated","points":0,"present":false},{"factor":"beta2_microglobulin_gt_3_5","points":0,"present":false,"value":2},{"factor":"advanced_stage","points":0,"present":false},{"factor":"age_gt_65","points":0,"present":false,"value":50}],"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":"cll_ipi","formula_expression":"CLL-IPI = tp53_abnormal 4 + ighv_unmutated 2 + beta2_microglobulin_gt_3_5 2 + advanced_stage 1 + age_gt_65 1; International CLL-IPI working group 2016; max 10; low 0-1, intermediate 2-3, high 4-6, very_high 7-10","max_score":10,"risk_group":"low","score":0}],"path":"/api/calc/cll_ipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"advanced_stage":{"description":"Binet B/C or Rai I–IV as assigned by the caller (CLL-IPI 2016). true scores 1. false is Binet A / Rai 0. magent does not stage CLL.","type":"boolean"},"age":{"description":"Age in years (18-120). Age >65 scores 1 (CLL-IPI 2016). Age 65 is the ≤65 arm and scores 0.","type":"integer"},"beta2_microglobulin_mg_l":{"description":"Serum beta-2 microglobulin in mg/L (0.2-40). >3.5 scores 2 (CLL-IPI 2016). 3.5 is the ≤3.5 arm and scores 0. magent does not assay beta-2 microglobulin.","type":"number"},"ighv_unmutated":{"description":"Unmutated IGHV as assigned by the caller (CLL-IPI 2016). true scores 2. magent does not sequence IGHV.","type":"boolean"},"tp53_abnormal":{"description":"del(17p) and/or TP53 mutation as assigned by the caller (CLL-IPI 2016). true scores 4. magent does not assay TP53.","type":"boolean"}},"required":["tp53_abnormal","ighv_unmutated","beta2_microglobulin_mg_l","advanced_stage","age"],"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},{"id":39428,"slug":"39428","resource":"https://api.magentlab.com/api/calc/malt_ipi","description":"Thieblemont 2017 MALT-IPI (IELSG-19): age ≥70, Ann Arbor III or IV, LDH > ULN; 1 point each, max 3. Low 0, intermediate 1, high ≥2. Deterministic published score with citation; not a lymphoma diagnosis or treatment choice; original MALT-IPI, not Revised MALT-IPI (no MMS; age is ≥70 not >60), not Shipp IPI. magent does not stage lymphoma or assay LDH.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"ldh_gt_uln":false,"stage_iii_or_iv":false},{"age":50,"ldh_gt_uln":false,"stage_iii_or_iv":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Thieblemont C, Cascione L, Conconi A, Kiesewetter B, Raderer M, Gaidano G, Martelli M, Laszlo D, Coiffier B, Lopez-Guillermo A, Torri V, Cavalli F, Johnson PW, Zucca E","doi":"10.1182/blood-2017-03-771915","id":"thieblemont-2017","pmid":"28720586","source":"Blood. 2017;130(12):1409-1417","title":"A MALT lymphoma prognostic index"},"components":[{"factor":"age_ge_70","points":0,"present":false,"value":50},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"ldh_gt_uln","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":"malt_ipi","formula_expression":"MALT-IPI = age_ge_70 1 + stage_iii_or_iv 1 + ldh_gt_uln 1; Thieblemont 2017; max 3; low 0, intermediate 1, high ≥2","malt_ipi_risk":"low","max_score":3,"score":0},{"age_years":50,"citation":{"authors":"Thieblemont C, Cascione L, Conconi A, Kiesewetter B, Raderer M, Gaidano G, Martelli M, Laszlo D, Coiffier B, Lopez-Guillermo A, Torri V, Cavalli F, Johnson PW, Zucca E","doi":"10.1182/blood-2017-03-771915","id":"thieblemont-2017","pmid":"28720586","source":"Blood. 2017;130(12):1409-1417","title":"A MALT lymphoma prognostic index"},"components":[{"factor":"age_ge_70","points":0,"present":false,"value":50},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"ldh_gt_uln","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":"malt_ipi","formula_expression":"MALT-IPI = age_ge_70 1 + stage_iii_or_iv 1 + ldh_gt_uln 1; Thieblemont 2017; max 3; low 0, intermediate 1, high ≥2","malt_ipi_risk":"low","max_score":3,"score":0}],"path":"/api/calc/malt_ipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥70 scores 1 (Thieblemont 2017). Age 69 scores 0. This is not IPI's >60 cutoff.","type":"integer"},"ldh_gt_uln":{"description":"Serum LDH above the upper limit of normal as assigned by the caller (Thieblemont 2017). true scores 1. magent does not assay LDH.","type":"boolean"},"stage_iii_or_iv":{"description":"Ann Arbor stage III or IV as assigned by the caller (Thieblemont 2017). true scores 1. magent does not stage lymphoma.","type":"boolean"}},"required":["age","stage_iii_or_iv","ldh_gt_uln"],"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":["malt-ipi","lymphoma","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:54:27.033Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:54:26.883Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"ldh_gt_uln":false,"stage_iii_or_iv":false},{"age":50,"ldh_gt_uln":false,"stage_iii_or_iv":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Thieblemont C, Cascione L, Conconi A, Kiesewetter B, Raderer M, Gaidano G, Martelli M, Laszlo D, Coiffier B, Lopez-Guillermo A, Torri V, Cavalli F, Johnson PW, Zucca E","doi":"10.1182/blood-2017-03-771915","id":"thieblemont-2017","pmid":"28720586","source":"Blood. 2017;130(12):1409-1417","title":"A MALT lymphoma prognostic index"},"components":[{"factor":"age_ge_70","points":0,"present":false,"value":50},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"ldh_gt_uln","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":"malt_ipi","formula_expression":"MALT-IPI = age_ge_70 1 + stage_iii_or_iv 1 + ldh_gt_uln 1; Thieblemont 2017; max 3; low 0, intermediate 1, high ≥2","malt_ipi_risk":"low","max_score":3,"score":0},{"age_years":50,"citation":{"authors":"Thieblemont C, Cascione L, Conconi A, Kiesewetter B, Raderer M, Gaidano G, Martelli M, Laszlo D, Coiffier B, Lopez-Guillermo A, Torri V, Cavalli F, Johnson PW, Zucca E","doi":"10.1182/blood-2017-03-771915","id":"thieblemont-2017","pmid":"28720586","source":"Blood. 2017;130(12):1409-1417","title":"A MALT lymphoma prognostic index"},"components":[{"factor":"age_ge_70","points":0,"present":false,"value":50},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"ldh_gt_uln","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":"malt_ipi","formula_expression":"MALT-IPI = age_ge_70 1 + stage_iii_or_iv 1 + ldh_gt_uln 1; Thieblemont 2017; max 3; low 0, intermediate 1, high ≥2","malt_ipi_risk":"low","max_score":3,"score":0}],"path":"/api/calc/malt_ipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥70 scores 1 (Thieblemont 2017). Age 69 scores 0. This is not IPI's >60 cutoff.","type":"integer"},"ldh_gt_uln":{"description":"Serum LDH above the upper limit of normal as assigned by the caller (Thieblemont 2017). true scores 1. magent does not assay LDH.","type":"boolean"},"stage_iii_or_iv":{"description":"Ann Arbor stage III or IV as assigned by the caller (Thieblemont 2017). true scores 1. magent does not stage lymphoma.","type":"boolean"}},"required":["age","stage_iii_or_iv","ldh_gt_uln"],"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},{"id":39429,"slug":"39429","resource":"https://api.magentlab.com/api/calc/nccn_ipi","description":"Zhou 2014 NCCN-IPI for DLBCL in the rituximab era: age (≤40 0, 41–60 1, 61–75 2, ≥76 3), LDH/ULN (≤1 0, >1–3 1, >3 2), Ann Arbor III or IV 1, major-organ extranodal (bone marrow, CNS, liver/GI tract, or lung) 1, ECOG ≥2 1; max 8. Low 0–1, low_intermediate 2–3, high_intermediate 4–5, high 6–8. Deterministic published score; not a DLBCL diagnosis or treatment choice; not Shipp IPI, not R-IPI, not CNS-IPI. magent does not assay LDH or stage lymphoma.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"ecog":0,"extranodal_major":false,"ldh_uln_ratio":0.9,"stage_iii_or_iv":false},{"age":40,"ecog":0,"extranodal_major":false,"ldh_uln_ratio":0.9,"stage_iii_or_iv":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Zhou Z, Sehn LH, Rademaker AW, Gordon LI, Lacasce AS, Crosby-Thompson A, Vanderplas A, Zelenetz AD, Abel GA, Rodriguez MA, Nademanee A, Kaminski MS, Czuczman MS, Millenson M, Niland J, Gascoyne RD, Connors JM, Friedberg JW, Winter JN","doi":"10.1182/blood-2013-09-524108","id":"zhou-2014","pmid":"24264230","source":"Blood. 2014;123(6):837-842","title":"An enhanced International Prognostic Index (NCCN-IPI) for patients with diffuse large B-cell lymphoma treated in the rituximab era"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"ldh_uln_ratio","points":0,"present":false,"value":0.9},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_major","points":0,"present":false},{"factor":"ecog_ge_2","points":0,"present":false,"value":0}],"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.","ecog":0,"extranodal_major":false,"formula":"nccn_ipi","formula_expression":"NCCN-IPI = age (≤40 0, 41–60 1, 61–75 2, ≥76 3) + LDH/ULN (≤1 0, >1–3 1, >3 2) + stage_iii_or_iv 1 + extranodal_major 1 + ecog_ge_2 1; Zhou 2014; max 8; low 0-1, low_intermediate 2-3, high_intermediate 4-5, high 6-8","ldh_uln_ratio":0.9,"max_score":8,"nccn_ipi_risk":"low","score":0},{"age_years":40,"citation":{"authors":"Zhou Z, Sehn LH, Rademaker AW, Gordon LI, Lacasce AS, Crosby-Thompson A, Vanderplas A, Zelenetz AD, Abel GA, Rodriguez MA, Nademanee A, Kaminski MS, Czuczman MS, Millenson M, Niland J, Gascoyne RD, Connors JM, Friedberg JW, Winter JN","doi":"10.1182/blood-2013-09-524108","id":"zhou-2014","pmid":"24264230","source":"Blood. 2014;123(6):837-842","title":"An enhanced International Prognostic Index (NCCN-IPI) for patients with diffuse large B-cell lymphoma treated in the rituximab era"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"ldh_uln_ratio","points":0,"present":false,"value":0.9},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_major","points":0,"present":false},{"factor":"ecog_ge_2","points":0,"present":false,"value":0}],"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.","ecog":0,"extranodal_major":false,"formula":"nccn_ipi","formula_expression":"NCCN-IPI = age (≤40 0, 41–60 1, 61–75 2, ≥76 3) + LDH/ULN (≤1 0, >1–3 1, >3 2) + stage_iii_or_iv 1 + extranodal_major 1 + ecog_ge_2 1; Zhou 2014; max 8; low 0-1, low_intermediate 2-3, high_intermediate 4-5, high 6-8","ldh_uln_ratio":0.9,"max_score":8,"nccn_ipi_risk":"low","score":0}],"path":"/api/calc/nccn_ipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≤40 scores 0; 41–60 scores 1; 61–75 scores 2; ≥76 scores 3 (Zhou 2014 NCCN-IPI refined age). Age 40 scores 0; 41 and 60 score 1; 61 and 75 score 2; 76 scores 3. Not Shipp IPI binary >60.","type":"integer"},"ecog":{"description":"ECOG performance status 0-4 as assigned by the caller (Zhou 2014 NCCN-IPI). ≥2 scores 1. magent does not assign ECOG.","type":"integer"},"extranodal_major":{"description":"Extranodal involvement of major organs (bone marrow, CNS, liver/GI tract, or lung) as assigned by the caller (Zhou 2014 NCCN-IPI). true scores 1. This is not IPI extranodal sites >1. magent does not image extranodal sites.","type":"boolean"},"ldh_uln_ratio":{"description":"Serum LDH divided by the laboratory ULN (0.1-20). ≤1 scores 0; >1 and ≤3 scores 1; >3 scores 2 (Zhou 2014 NCCN-IPI). 1.0 scores 0; 1.01 and 3.0 score 1; 3.01 scores 2. magent does not assay LDH.","type":"number"},"stage_iii_or_iv":{"description":"Ann Arbor stage III or IV as assigned by the caller (Zhou 2014 NCCN-IPI). true scores 1. magent does not stage lymphoma.","type":"boolean"}},"required":["age","ecog","ldh_uln_ratio","stage_iii_or_iv","extranodal_major"],"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":["nccn-ipi","lymphoma","hematology","dlbcl","prognosis","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:54:20.834Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:54:20.695Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"ecog":0,"extranodal_major":false,"ldh_uln_ratio":0.9,"stage_iii_or_iv":false},{"age":40,"ecog":0,"extranodal_major":false,"ldh_uln_ratio":0.9,"stage_iii_or_iv":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Zhou Z, Sehn LH, Rademaker AW, Gordon LI, Lacasce AS, Crosby-Thompson A, Vanderplas A, Zelenetz AD, Abel GA, Rodriguez MA, Nademanee A, Kaminski MS, Czuczman MS, Millenson M, Niland J, Gascoyne RD, Connors JM, Friedberg JW, Winter JN","doi":"10.1182/blood-2013-09-524108","id":"zhou-2014","pmid":"24264230","source":"Blood. 2014;123(6):837-842","title":"An enhanced International Prognostic Index (NCCN-IPI) for patients with diffuse large B-cell lymphoma treated in the rituximab era"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"ldh_uln_ratio","points":0,"present":false,"value":0.9},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_major","points":0,"present":false},{"factor":"ecog_ge_2","points":0,"present":false,"value":0}],"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.","ecog":0,"extranodal_major":false,"formula":"nccn_ipi","formula_expression":"NCCN-IPI = age (≤40 0, 41–60 1, 61–75 2, ≥76 3) + LDH/ULN (≤1 0, >1–3 1, >3 2) + stage_iii_or_iv 1 + extranodal_major 1 + ecog_ge_2 1; Zhou 2014; max 8; low 0-1, low_intermediate 2-3, high_intermediate 4-5, high 6-8","ldh_uln_ratio":0.9,"max_score":8,"nccn_ipi_risk":"low","score":0},{"age_years":40,"citation":{"authors":"Zhou Z, Sehn LH, Rademaker AW, Gordon LI, Lacasce AS, Crosby-Thompson A, Vanderplas A, Zelenetz AD, Abel GA, Rodriguez MA, Nademanee A, Kaminski MS, Czuczman MS, Millenson M, Niland J, Gascoyne RD, Connors JM, Friedberg JW, Winter JN","doi":"10.1182/blood-2013-09-524108","id":"zhou-2014","pmid":"24264230","source":"Blood. 2014;123(6):837-842","title":"An enhanced International Prognostic Index (NCCN-IPI) for patients with diffuse large B-cell lymphoma treated in the rituximab era"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"ldh_uln_ratio","points":0,"present":false,"value":0.9},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_major","points":0,"present":false},{"factor":"ecog_ge_2","points":0,"present":false,"value":0}],"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.","ecog":0,"extranodal_major":false,"formula":"nccn_ipi","formula_expression":"NCCN-IPI = age (≤40 0, 41–60 1, 61–75 2, ≥76 3) + LDH/ULN (≤1 0, >1–3 1, >3 2) + stage_iii_or_iv 1 + extranodal_major 1 + ecog_ge_2 1; Zhou 2014; max 8; low 0-1, low_intermediate 2-3, high_intermediate 4-5, high 6-8","ldh_uln_ratio":0.9,"max_score":8,"nccn_ipi_risk":"low","score":0}],"path":"/api/calc/nccn_ipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≤40 scores 0; 41–60 scores 1; 61–75 scores 2; ≥76 scores 3 (Zhou 2014 NCCN-IPI refined age). Age 40 scores 0; 41 and 60 score 1; 61 and 75 score 2; 76 scores 3. Not Shipp IPI binary >60.","type":"integer"},"ecog":{"description":"ECOG performance status 0-4 as assigned by the caller (Zhou 2014 NCCN-IPI). ≥2 scores 1. magent does not assign ECOG.","type":"integer"},"extranodal_major":{"description":"Extranodal involvement of major organs (bone marrow, CNS, liver/GI tract, or lung) as assigned by the caller (Zhou 2014 NCCN-IPI). true scores 1. This is not IPI extranodal sites >1. magent does not image extranodal sites.","type":"boolean"},"ldh_uln_ratio":{"description":"Serum LDH divided by the laboratory ULN (0.1-20). ≤1 scores 0; >1 and ≤3 scores 1; >3 scores 2 (Zhou 2014 NCCN-IPI). 1.0 scores 0; 1.01 and 3.0 score 1; 3.01 scores 2. magent does not assay LDH.","type":"number"},"stage_iii_or_iv":{"description":"Ann Arbor stage III or IV as assigned by the caller (Zhou 2014 NCCN-IPI). true scores 1. magent does not stage lymphoma.","type":"boolean"}},"required":["age","ecog","ldh_uln_ratio","stage_iii_or_iv","extranodal_major"],"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},{"id":39430,"slug":"39430","resource":"https://api.magentlab.com/api/calc/cns_ipi","description":"Schmitz 2016 CNS-IPI: Shipp IPI factors (age >60, ECOG ≥2, LDH > ULN, Ann Arbor III or IV, extranodal sites >1) plus kidney and/or adrenal involvement; 1 point each, max 6. Low 0–1, intermediate 2–3, high 4–6. CNS relapse risk after R-CHOP in DLBCL. Deterministic published score; not a CNS prophylaxis or LP order; not NCCN-IPI; not R-IPI; not a DLBCL diagnosis. magent does not stage lymphoma or image kidneys.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"ecog":0,"extranodal_gt_1":false,"kidney_or_adrenal":false,"ldh_gt_uln":false,"stage_iii_or_iv":false},{"age":50,"ecog":0,"extranodal_gt_1":false,"kidney_or_adrenal":false,"ldh_gt_uln":false,"stage_iii_or_iv":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Schmitz N, Zeynalova S, Nickelsen M, Kansara R, Villa D, Sehn LH, Glass B, Scott DW, Gascoyne RD, Connors JM, Ziepert M, Pfreundschuh M, Loeffler M, Savage KJ","doi":"10.1200/JCO.2015.65.6520","id":"schmitz-2016","pmid":"27382100","source":"J Clin Oncol. 2016;34(26):3150-3156","title":"CNS International Prognostic Index: A Risk Model for CNS Relapse in Patients With Diffuse Large B-Cell Lymphoma Treated With R-CHOP"},"cns_ipi_risk":"low","components":[{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"ecog_ge_2","points":0,"present":false,"value":0},{"factor":"ldh_gt_uln","points":0,"present":false},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_gt_1","points":0,"present":false},{"factor":"kidney_or_adrenal","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.","ecog":0,"formula":"cns_ipi","formula_expression":"CNS-IPI = age_gt_60 1 + ecog_ge_2 1 + ldh_gt_uln 1 + stage_iii_or_iv 1 + extranodal_gt_1 1 + kidney_or_adrenal 1; Schmitz 2016; max 6; low 0-1, intermediate 2-3, high 4-6","kidney_or_adrenal":false,"max_score":6,"score":0},{"age_years":50,"citation":{"authors":"Schmitz N, Zeynalova S, Nickelsen M, Kansara R, Villa D, Sehn LH, Glass B, Scott DW, Gascoyne RD, Connors JM, Ziepert M, Pfreundschuh M, Loeffler M, Savage KJ","doi":"10.1200/JCO.2015.65.6520","id":"schmitz-2016","pmid":"27382100","source":"J Clin Oncol. 2016;34(26):3150-3156","title":"CNS International Prognostic Index: A Risk Model for CNS Relapse in Patients With Diffuse Large B-Cell Lymphoma Treated With R-CHOP"},"cns_ipi_risk":"low","components":[{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"ecog_ge_2","points":0,"present":false,"value":0},{"factor":"ldh_gt_uln","points":0,"present":false},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_gt_1","points":0,"present":false},{"factor":"kidney_or_adrenal","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.","ecog":0,"formula":"cns_ipi","formula_expression":"CNS-IPI = age_gt_60 1 + ecog_ge_2 1 + ldh_gt_uln 1 + stage_iii_or_iv 1 + extranodal_gt_1 1 + kidney_or_adrenal 1; Schmitz 2016; max 6; low 0-1, intermediate 2-3, high 4-6","kidney_or_adrenal":false,"max_score":6,"score":0}],"path":"/api/calc/cns_ipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age >60 scores 1 (Schmitz 2016). Age 60 is the ≤60 arm and scores 0.","type":"integer"},"ecog":{"description":"ECOG performance status 0-4 as assigned by the caller (Schmitz 2016). ≥2 scores 1. magent does not assign ECOG.","type":"integer"},"extranodal_gt_1":{"description":"More than one extranodal site as assigned by the caller (Schmitz 2016). true scores 1. magent does not count extranodal sites.","type":"boolean"},"kidney_or_adrenal":{"description":"Kidney and/or adrenal involvement as assigned by the caller (Schmitz 2016). true scores 1. magent does not image kidneys.","type":"boolean"},"ldh_gt_uln":{"description":"Serum LDH above the upper limit of normal as assigned by the caller (Schmitz 2016). true scores 1. magent does not assay LDH.","type":"boolean"},"stage_iii_or_iv":{"description":"Ann Arbor stage III or IV as assigned by the caller (Schmitz 2016). true scores 1. magent does not stage lymphoma.","type":"boolean"}},"required":["age","ecog","ldh_gt_uln","stage_iii_or_iv","extranodal_gt_1","kidney_or_adrenal"],"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":["cns-ipi","lymphoma","hematology","dlbcl","prognosis","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:54:13.881Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:54:13.741Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"ecog":0,"extranodal_gt_1":false,"kidney_or_adrenal":false,"ldh_gt_uln":false,"stage_iii_or_iv":false},{"age":50,"ecog":0,"extranodal_gt_1":false,"kidney_or_adrenal":false,"ldh_gt_uln":false,"stage_iii_or_iv":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Schmitz N, Zeynalova S, Nickelsen M, Kansara R, Villa D, Sehn LH, Glass B, Scott DW, Gascoyne RD, Connors JM, Ziepert M, Pfreundschuh M, Loeffler M, Savage KJ","doi":"10.1200/JCO.2015.65.6520","id":"schmitz-2016","pmid":"27382100","source":"J Clin Oncol. 2016;34(26):3150-3156","title":"CNS International Prognostic Index: A Risk Model for CNS Relapse in Patients With Diffuse Large B-Cell Lymphoma Treated With R-CHOP"},"cns_ipi_risk":"low","components":[{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"ecog_ge_2","points":0,"present":false,"value":0},{"factor":"ldh_gt_uln","points":0,"present":false},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_gt_1","points":0,"present":false},{"factor":"kidney_or_adrenal","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.","ecog":0,"formula":"cns_ipi","formula_expression":"CNS-IPI = age_gt_60 1 + ecog_ge_2 1 + ldh_gt_uln 1 + stage_iii_or_iv 1 + extranodal_gt_1 1 + kidney_or_adrenal 1; Schmitz 2016; max 6; low 0-1, intermediate 2-3, high 4-6","kidney_or_adrenal":false,"max_score":6,"score":0},{"age_years":50,"citation":{"authors":"Schmitz N, Zeynalova S, Nickelsen M, Kansara R, Villa D, Sehn LH, Glass B, Scott DW, Gascoyne RD, Connors JM, Ziepert M, Pfreundschuh M, Loeffler M, Savage KJ","doi":"10.1200/JCO.2015.65.6520","id":"schmitz-2016","pmid":"27382100","source":"J Clin Oncol. 2016;34(26):3150-3156","title":"CNS International Prognostic Index: A Risk Model for CNS Relapse in Patients With Diffuse Large B-Cell Lymphoma Treated With R-CHOP"},"cns_ipi_risk":"low","components":[{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"ecog_ge_2","points":0,"present":false,"value":0},{"factor":"ldh_gt_uln","points":0,"present":false},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_gt_1","points":0,"present":false},{"factor":"kidney_or_adrenal","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.","ecog":0,"formula":"cns_ipi","formula_expression":"CNS-IPI = age_gt_60 1 + ecog_ge_2 1 + ldh_gt_uln 1 + stage_iii_or_iv 1 + extranodal_gt_1 1 + kidney_or_adrenal 1; Schmitz 2016; max 6; low 0-1, intermediate 2-3, high 4-6","kidney_or_adrenal":false,"max_score":6,"score":0}],"path":"/api/calc/cns_ipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age >60 scores 1 (Schmitz 2016). Age 60 is the ≤60 arm and scores 0.","type":"integer"},"ecog":{"description":"ECOG performance status 0-4 as assigned by the caller (Schmitz 2016). ≥2 scores 1. magent does not assign ECOG.","type":"integer"},"extranodal_gt_1":{"description":"More than one extranodal site as assigned by the caller (Schmitz 2016). true scores 1. magent does not count extranodal sites.","type":"boolean"},"kidney_or_adrenal":{"description":"Kidney and/or adrenal involvement as assigned by the caller (Schmitz 2016). true scores 1. magent does not image kidneys.","type":"boolean"},"ldh_gt_uln":{"description":"Serum LDH above the upper limit of normal as assigned by the caller (Schmitz 2016). true scores 1. magent does not assay LDH.","type":"boolean"},"stage_iii_or_iv":{"description":"Ann Arbor stage III or IV as assigned by the caller (Schmitz 2016). true scores 1. magent does not stage lymphoma.","type":"boolean"}},"required":["age","ecog","ldh_gt_uln","stage_iii_or_iv","extranodal_gt_1","kidney_or_adrenal"],"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},{"id":39431,"slug":"39431","resource":"https://api.magentlab.com/api/calc/ball","description":"Soumerai 2019 BALL score for relapsed or refractory CLL. Four caller-assigned 1-point flags (max 4): beta-2-microglobulin at the paper's published cutoff (>=5 mg/dL), LDH > laboratory ULN, anemia (Hb <110 g/L women or <120 g/L men), and time from initiation of last therapy <24 months. Risk low 0-1, intermediate 2-3, high 4. magent does not assay labs or convert B2M mg/L vs mg/dL. Not a treatment recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anemia":false,"b2m_ge_5":false,"last_therapy_lt_24mo":false,"ldh_gt_uln":false},{"anemia":false,"b2m_ge_5":false,"last_therapy_lt_24mo":false,"ldh_gt_uln":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Soumerai JD, Ni A, Darif M, Londhe A, Xing G, Mun Y, et al.","doi":"10.1016/S2352-3026(19)30085-7","id":"soumerai-2019","pmid":"31109827","source":"Lancet Haematol. 2019;6(7):e366-e374","title":"Prognostic risk score for patients with relapsed or refractory chronic lymphocytic leukaemia treated with targeted therapies or chemoimmunotherapy: a retrospective, pooled cohort study with external validations"},"components":[{"factor":"b2m_ge_5","points":0,"present":false},{"factor":"ldh_gt_uln","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"last_therapy_lt_24mo","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":"ball","formula_expression":"BALL = b2m_ge_5 + ldh_gt_uln + anemia + last_therapy_lt_24mo; each 1; Soumerai 2019; max 4; low 0-1, intermediate 2-3, high 4","max_score":4,"risk":"low","score":0},{"citation":{"authors":"Soumerai JD, Ni A, Darif M, Londhe A, Xing G, Mun Y, et al.","doi":"10.1016/S2352-3026(19)30085-7","id":"soumerai-2019","pmid":"31109827","source":"Lancet Haematol. 2019;6(7):e366-e374","title":"Prognostic risk score for patients with relapsed or refractory chronic lymphocytic leukaemia treated with targeted therapies or chemoimmunotherapy: a retrospective, pooled cohort study with external validations"},"components":[{"factor":"b2m_ge_5","points":0,"present":false},{"factor":"ldh_gt_uln","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"last_therapy_lt_24mo","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":"ball","formula_expression":"BALL = b2m_ge_5 + ldh_gt_uln + anemia + last_therapy_lt_24mo; each 1; Soumerai 2019; max 4; low 0-1, intermediate 2-3, high 4","max_score":4,"risk":"low","score":0}],"path":"/api/calc/ball"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia":{"description":"Anemia as assigned by the caller using Soumerai 2019 hemoglobin cutoffs (hemoglobin <110 g/L in women or <120 g/L in men). true or false. magent does not take a hemoglobin number or sex and does not assay hemoglobin.","type":"boolean"},"b2m_ge_5":{"description":"Serum β2-microglobulin at or above the Soumerai 2019 published cutoff (≥5 mg/dL) as assigned by the caller. true or false. magent does not assay B2M and does not convert mg/L versus mg/dL.","type":"boolean"},"last_therapy_lt_24mo":{"description":"Time from initiation of last therapy <24 months as assigned by the caller (Soumerai 2019). true or false. magent does not read a treatment calendar.","type":"boolean"},"ldh_gt_uln":{"description":"Serum LDH above the laboratory upper limit of normal as assigned by the caller (Soumerai 2019). true or false. magent does not assay LDH.","type":"boolean"}},"required":["b2m_ge_5","ldh_gt_uln","anemia","last_therapy_lt_24mo"],"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":["ball","cll","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:54:07.775Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:54:07.648Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anemia":false,"b2m_ge_5":false,"last_therapy_lt_24mo":false,"ldh_gt_uln":false},{"anemia":false,"b2m_ge_5":false,"last_therapy_lt_24mo":false,"ldh_gt_uln":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Soumerai JD, Ni A, Darif M, Londhe A, Xing G, Mun Y, et al.","doi":"10.1016/S2352-3026(19)30085-7","id":"soumerai-2019","pmid":"31109827","source":"Lancet Haematol. 2019;6(7):e366-e374","title":"Prognostic risk score for patients with relapsed or refractory chronic lymphocytic leukaemia treated with targeted therapies or chemoimmunotherapy: a retrospective, pooled cohort study with external validations"},"components":[{"factor":"b2m_ge_5","points":0,"present":false},{"factor":"ldh_gt_uln","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"last_therapy_lt_24mo","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":"ball","formula_expression":"BALL = b2m_ge_5 + ldh_gt_uln + anemia + last_therapy_lt_24mo; each 1; Soumerai 2019; max 4; low 0-1, intermediate 2-3, high 4","max_score":4,"risk":"low","score":0},{"citation":{"authors":"Soumerai JD, Ni A, Darif M, Londhe A, Xing G, Mun Y, et al.","doi":"10.1016/S2352-3026(19)30085-7","id":"soumerai-2019","pmid":"31109827","source":"Lancet Haematol. 2019;6(7):e366-e374","title":"Prognostic risk score for patients with relapsed or refractory chronic lymphocytic leukaemia treated with targeted therapies or chemoimmunotherapy: a retrospective, pooled cohort study with external validations"},"components":[{"factor":"b2m_ge_5","points":0,"present":false},{"factor":"ldh_gt_uln","points":0,"present":false},{"factor":"anemia","points":0,"present":false},{"factor":"last_therapy_lt_24mo","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":"ball","formula_expression":"BALL = b2m_ge_5 + ldh_gt_uln + anemia + last_therapy_lt_24mo; each 1; Soumerai 2019; max 4; low 0-1, intermediate 2-3, high 4","max_score":4,"risk":"low","score":0}],"path":"/api/calc/ball"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anemia":{"description":"Anemia as assigned by the caller using Soumerai 2019 hemoglobin cutoffs (hemoglobin <110 g/L in women or <120 g/L in men). true or false. magent does not take a hemoglobin number or sex and does not assay hemoglobin.","type":"boolean"},"b2m_ge_5":{"description":"Serum β2-microglobulin at or above the Soumerai 2019 published cutoff (≥5 mg/dL) as assigned by the caller. true or false. magent does not assay B2M and does not convert mg/L versus mg/dL.","type":"boolean"},"last_therapy_lt_24mo":{"description":"Time from initiation of last therapy <24 months as assigned by the caller (Soumerai 2019). true or false. magent does not read a treatment calendar.","type":"boolean"},"ldh_gt_uln":{"description":"Serum LDH above the laboratory upper limit of normal as assigned by the caller (Soumerai 2019). true or false. magent does not assay LDH.","type":"boolean"}},"required":["b2m_ge_5","ldh_gt_uln","anemia","last_therapy_lt_24mo"],"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},{"id":39432,"slug":"39432","resource":"https://api.magentlab.com/api/calc/ipi","description":"Shipp 1993 IPI for aggressive non-Hodgkin lymphoma: age >60, Ann Arbor III or IV, extranodal sites >1, ECOG ≥2, LDH > ULN; 1 point each, max 5. Low 0–1, low_intermediate 2, high_intermediate 3, high 4–5. Deterministic published score with citation; not a lymphoma diagnosis or treatment choice; not age-adjusted IPI, not R-IPI, not NCCN-IPI. magent does not assay LDH.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"ecog":0,"extranodal_gt_1":false,"ldh_gt_uln":false,"stage_iii_or_iv":false},{"age":50,"ecog":0,"extranodal_gt_1":false,"ldh_gt_uln":false,"stage_iii_or_iv":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"The International Non-Hodgkin's Lymphoma Prognostic Factors Project","doi":"10.1056/NEJM199309303291402","id":"shipp-1993","pmid":"8141877","source":"N Engl J Med. 1993;329(14):987-994","title":"A predictive model for aggressive non-Hodgkin's lymphoma"},"components":[{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_gt_1","points":0,"present":false},{"factor":"ecog_ge_2","points":0,"present":false,"value":0},{"factor":"ldh_gt_uln","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.","ecog":0,"formula":"ipi","formula_expression":"IPI = age_gt_60 1 + stage_iii_or_iv 1 + extranodal_gt_1 1 + ecog_ge_2 1 + ldh_gt_uln 1; Shipp 1993; max 5; low 0-1, low_intermediate 2, high_intermediate 3, high 4-5","ipi_risk":"low","max_score":5,"score":0},{"age_years":50,"citation":{"authors":"The International Non-Hodgkin's Lymphoma Prognostic Factors Project","doi":"10.1056/NEJM199309303291402","id":"shipp-1993","pmid":"8141877","source":"N Engl J Med. 1993;329(14):987-994","title":"A predictive model for aggressive non-Hodgkin's lymphoma"},"components":[{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_gt_1","points":0,"present":false},{"factor":"ecog_ge_2","points":0,"present":false,"value":0},{"factor":"ldh_gt_uln","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.","ecog":0,"formula":"ipi","formula_expression":"IPI = age_gt_60 1 + stage_iii_or_iv 1 + extranodal_gt_1 1 + ecog_ge_2 1 + ldh_gt_uln 1; Shipp 1993; max 5; low 0-1, low_intermediate 2, high_intermediate 3, high 4-5","ipi_risk":"low","max_score":5,"score":0}],"path":"/api/calc/ipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age >60 scores 1 (Shipp 1993). Age 60 is the ≤60 arm and scores 0.","type":"integer"},"ecog":{"description":"ECOG performance status 0-4 as assigned by the caller (Shipp 1993). ≥2 scores 1. magent does not assign ECOG.","type":"integer"},"extranodal_gt_1":{"description":"More than one extranodal site as assigned by the caller (Shipp 1993). true scores 1. magent does not count extranodal sites.","type":"boolean"},"ldh_gt_uln":{"description":"Serum LDH above the upper limit of normal as assigned by the caller (Shipp 1993). true scores 1. magent does not assay LDH.","type":"boolean"},"stage_iii_or_iv":{"description":"Ann Arbor stage III or IV as assigned by the caller (Shipp 1993). true scores 1. magent does not stage lymphoma.","type":"boolean"}},"required":["age","stage_iii_or_iv","extranodal_gt_1","ecog","ldh_gt_uln"],"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":["ipi","lymphoma","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:54:00.704Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:54:00.585Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"ecog":0,"extranodal_gt_1":false,"ldh_gt_uln":false,"stage_iii_or_iv":false},{"age":50,"ecog":0,"extranodal_gt_1":false,"ldh_gt_uln":false,"stage_iii_or_iv":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"The International Non-Hodgkin's Lymphoma Prognostic Factors Project","doi":"10.1056/NEJM199309303291402","id":"shipp-1993","pmid":"8141877","source":"N Engl J Med. 1993;329(14):987-994","title":"A predictive model for aggressive non-Hodgkin's lymphoma"},"components":[{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_gt_1","points":0,"present":false},{"factor":"ecog_ge_2","points":0,"present":false,"value":0},{"factor":"ldh_gt_uln","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.","ecog":0,"formula":"ipi","formula_expression":"IPI = age_gt_60 1 + stage_iii_or_iv 1 + extranodal_gt_1 1 + ecog_ge_2 1 + ldh_gt_uln 1; Shipp 1993; max 5; low 0-1, low_intermediate 2, high_intermediate 3, high 4-5","ipi_risk":"low","max_score":5,"score":0},{"age_years":50,"citation":{"authors":"The International Non-Hodgkin's Lymphoma Prognostic Factors Project","doi":"10.1056/NEJM199309303291402","id":"shipp-1993","pmid":"8141877","source":"N Engl J Med. 1993;329(14):987-994","title":"A predictive model for aggressive non-Hodgkin's lymphoma"},"components":[{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"stage_iii_or_iv","points":0,"present":false},{"factor":"extranodal_gt_1","points":0,"present":false},{"factor":"ecog_ge_2","points":0,"present":false,"value":0},{"factor":"ldh_gt_uln","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.","ecog":0,"formula":"ipi","formula_expression":"IPI = age_gt_60 1 + stage_iii_or_iv 1 + extranodal_gt_1 1 + ecog_ge_2 1 + ldh_gt_uln 1; Shipp 1993; max 5; low 0-1, low_intermediate 2, high_intermediate 3, high 4-5","ipi_risk":"low","max_score":5,"score":0}],"path":"/api/calc/ipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age >60 scores 1 (Shipp 1993). Age 60 is the ≤60 arm and scores 0.","type":"integer"},"ecog":{"description":"ECOG performance status 0-4 as assigned by the caller (Shipp 1993). ≥2 scores 1. magent does not assign ECOG.","type":"integer"},"extranodal_gt_1":{"description":"More than one extranodal site as assigned by the caller (Shipp 1993). true scores 1. magent does not count extranodal sites.","type":"boolean"},"ldh_gt_uln":{"description":"Serum LDH above the upper limit of normal as assigned by the caller (Shipp 1993). true scores 1. magent does not assay LDH.","type":"boolean"},"stage_iii_or_iv":{"description":"Ann Arbor stage III or IV as assigned by the caller (Shipp 1993). true scores 1. magent does not stage lymphoma.","type":"boolean"}},"required":["age","stage_iii_or_iv","extranodal_gt_1","ecog","ldh_gt_uln"],"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},{"id":39433,"slug":"39433","resource":"https://api.magentlab.com/api/calc/flipi24","description":"Maurer 2025 FLIPI24: 24-month event probability in newly diagnosed follicular lymphoma from age (nonlinear, inflection at 75), hemoglobin, WBC, LDH/ULN, and beta-2 microglobulin. Table S5 Cox algorithm assuming R-CHOP or B-R-like immunochemotherapy and 50% anti-CD20 maintenance. Low/intermediate/high at 0.10 and 0.15. Not Solal-Céligny FLIPI 2004. Not a diagnosis or treatment order. magent does not assay labs.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":61,"b2m_mg_l":2,"hemoglobin_g_dl":13,"ldh_uln_ratio":1,"wbc_10e9_l":7},{"age":61,"b2m_mg_l":2,"hemoglobin_g_dl":13,"ldh_uln_ratio":1,"wbc_10e9_l":7}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":61,"b2m_mg_l":2,"citation":{"authors":"Maurer MJ, et al.","doi":"10.1200/jco-25-00892","id":"maurer-2025-flipi24","pmid":"41329901","source":"J Clin Oncol. 2026;44(2):117-128","title":"FLIPI24: A Modern Prognostic Model and Clinical Trial Enrichment Tool for Newly Diagnosed Follicular Lymphoma"},"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.","efs24_event_probability":0.1156,"formula":"flipi24","formula_expression":"efs24_event_probability = 1 - 0.89^exp(lp); lp = 0.01*age60 + 0.038*age_over_75 + 0.364*ldh_uln + 0.159*b2m_mg_l - 0.081*hemoglobin_g_dl + 0.075*wbc_10e9_l - 0.7115; age60 = clamp(age, 60, 90); age_over_75 = min(15, max(0, clamp(age, 0, 90)-75)); ldh_uln clamp 0.5-5; b2m clamp 1-10 mg/L; hemoglobin clamp 8-17 g/dL; wbc clamp 4-11 10^9/L; Maurer 2025 Table S5; S0(24)=0.89; 50% anti-CD20 maintenance is in the 0.7115 centering; risk low if p<=0.10, intermediate if p<=0.15, else high; assumes R-CHOP or B-R-like immunochemotherapy","hemoglobin_g_dl":13,"ldh_uln_ratio":1,"linear_predictor":0.0525,"risk_group":"intermediate","wbc_10e9_l":7},{"age":61,"b2m_mg_l":2,"citation":{"authors":"Maurer MJ, et al.","doi":"10.1200/jco-25-00892","id":"maurer-2025-flipi24","pmid":"41329901","source":"J Clin Oncol. 2026;44(2):117-128","title":"FLIPI24: A Modern Prognostic Model and Clinical Trial Enrichment Tool for Newly Diagnosed Follicular Lymphoma"},"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.","efs24_event_probability":0.1156,"formula":"flipi24","formula_expression":"efs24_event_probability = 1 - 0.89^exp(lp); lp = 0.01*age60 + 0.038*age_over_75 + 0.364*ldh_uln + 0.159*b2m_mg_l - 0.081*hemoglobin_g_dl + 0.075*wbc_10e9_l - 0.7115; age60 = clamp(age, 60, 90); age_over_75 = min(15, max(0, clamp(age, 0, 90)-75)); ldh_uln clamp 0.5-5; b2m clamp 1-10 mg/L; hemoglobin clamp 8-17 g/dL; wbc clamp 4-11 10^9/L; Maurer 2025 Table S5; S0(24)=0.89; 50% anti-CD20 maintenance is in the 0.7115 centering; risk low if p<=0.10, intermediate if p<=0.15, else high; assumes R-CHOP or B-R-like immunochemotherapy","hemoglobin_g_dl":13,"ldh_uln_ratio":1,"linear_predictor":0.0525,"risk_group":"intermediate","wbc_10e9_l":7}],"path":"/api/calc/flipi24"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Maurer 2025 Table S5: no additional age effect 18-60; HR 1.01 per year 60-75 (beta 0.01); HR 1.05 per year 75-90 (extra beta 0.038). Age is clamped to 90 for the linear predictor. magent does not assign age.","type":"integer"},"b2m_mg_l":{"description":"Beta-2 microglobulin in mg/L (0.1-40). Table S5 linear 1-10 mg/L, HR 1.17 per unit (beta 0.159); values outside 1-10 are clamped. magent does not assay B2M.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (1-25). Table S5 linear 8-17 g/dL, HR 0.92 per unit (beta -0.081); values outside 8-17 are clamped. magent does not assay hemoglobin.","type":"number"},"ldh_uln_ratio":{"description":"Caller-assigned serum LDH divided by the local upper limit of normal (0.1-20). Table S5 linear 0.5-5, HR 1.44 per unit (beta 0.364); values outside 0.5-5 are clamped. magent does not measure LDH or set the ULN.","type":"number"},"wbc_10e9_l":{"description":"White blood cell count in 10^9/L (0.1-80), equal to k/µL. Table S5 linear 4-11, HR 1.08 per unit (beta 0.075); values outside 4-11 are clamped. magent does not assay WBC.","type":"number"}},"required":["age","hemoglobin_g_dl","wbc_10e9_l","ldh_uln_ratio","b2m_mg_l"],"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":["flipi24","follicular","lymphoma","hematology","prognosis","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:53:46.694Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:53:46.544Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":61,"b2m_mg_l":2,"hemoglobin_g_dl":13,"ldh_uln_ratio":1,"wbc_10e9_l":7},{"age":61,"b2m_mg_l":2,"hemoglobin_g_dl":13,"ldh_uln_ratio":1,"wbc_10e9_l":7}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":61,"b2m_mg_l":2,"citation":{"authors":"Maurer MJ, et al.","doi":"10.1200/jco-25-00892","id":"maurer-2025-flipi24","pmid":"41329901","source":"J Clin Oncol. 2026;44(2):117-128","title":"FLIPI24: A Modern Prognostic Model and Clinical Trial Enrichment Tool for Newly Diagnosed Follicular Lymphoma"},"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.","efs24_event_probability":0.1156,"formula":"flipi24","formula_expression":"efs24_event_probability = 1 - 0.89^exp(lp); lp = 0.01*age60 + 0.038*age_over_75 + 0.364*ldh_uln + 0.159*b2m_mg_l - 0.081*hemoglobin_g_dl + 0.075*wbc_10e9_l - 0.7115; age60 = clamp(age, 60, 90); age_over_75 = min(15, max(0, clamp(age, 0, 90)-75)); ldh_uln clamp 0.5-5; b2m clamp 1-10 mg/L; hemoglobin clamp 8-17 g/dL; wbc clamp 4-11 10^9/L; Maurer 2025 Table S5; S0(24)=0.89; 50% anti-CD20 maintenance is in the 0.7115 centering; risk low if p<=0.10, intermediate if p<=0.15, else high; assumes R-CHOP or B-R-like immunochemotherapy","hemoglobin_g_dl":13,"ldh_uln_ratio":1,"linear_predictor":0.0525,"risk_group":"intermediate","wbc_10e9_l":7},{"age":61,"b2m_mg_l":2,"citation":{"authors":"Maurer MJ, et al.","doi":"10.1200/jco-25-00892","id":"maurer-2025-flipi24","pmid":"41329901","source":"J Clin Oncol. 2026;44(2):117-128","title":"FLIPI24: A Modern Prognostic Model and Clinical Trial Enrichment Tool for Newly Diagnosed Follicular Lymphoma"},"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.","efs24_event_probability":0.1156,"formula":"flipi24","formula_expression":"efs24_event_probability = 1 - 0.89^exp(lp); lp = 0.01*age60 + 0.038*age_over_75 + 0.364*ldh_uln + 0.159*b2m_mg_l - 0.081*hemoglobin_g_dl + 0.075*wbc_10e9_l - 0.7115; age60 = clamp(age, 60, 90); age_over_75 = min(15, max(0, clamp(age, 0, 90)-75)); ldh_uln clamp 0.5-5; b2m clamp 1-10 mg/L; hemoglobin clamp 8-17 g/dL; wbc clamp 4-11 10^9/L; Maurer 2025 Table S5; S0(24)=0.89; 50% anti-CD20 maintenance is in the 0.7115 centering; risk low if p<=0.10, intermediate if p<=0.15, else high; assumes R-CHOP or B-R-like immunochemotherapy","hemoglobin_g_dl":13,"ldh_uln_ratio":1,"linear_predictor":0.0525,"risk_group":"intermediate","wbc_10e9_l":7}],"path":"/api/calc/flipi24"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Maurer 2025 Table S5: no additional age effect 18-60; HR 1.01 per year 60-75 (beta 0.01); HR 1.05 per year 75-90 (extra beta 0.038). Age is clamped to 90 for the linear predictor. magent does not assign age.","type":"integer"},"b2m_mg_l":{"description":"Beta-2 microglobulin in mg/L (0.1-40). Table S5 linear 1-10 mg/L, HR 1.17 per unit (beta 0.159); values outside 1-10 are clamped. magent does not assay B2M.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (1-25). Table S5 linear 8-17 g/dL, HR 0.92 per unit (beta -0.081); values outside 8-17 are clamped. magent does not assay hemoglobin.","type":"number"},"ldh_uln_ratio":{"description":"Caller-assigned serum LDH divided by the local upper limit of normal (0.1-20). Table S5 linear 0.5-5, HR 1.44 per unit (beta 0.364); values outside 0.5-5 are clamped. magent does not measure LDH or set the ULN.","type":"number"},"wbc_10e9_l":{"description":"White blood cell count in 10^9/L (0.1-80), equal to k/µL. Table S5 linear 4-11, HR 1.08 per unit (beta 0.075); values outside 4-11 are clamped. magent does not assay WBC.","type":"number"}},"required":["age","hemoglobin_g_dl","wbc_10e9_l","ldh_uln_ratio","b2m_mg_l"],"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},{"id":39434,"slug":"39434","resource":"https://api.magentlab.com/api/calc/flipi","description":"Solal-Céligny 2004 FLIPI: age >60, Ann Arbor III–IV, hemoglobin <120 g/L, nodal areas >4, LDH above ULN; 1 point each, max 5. Low 0–1, intermediate 2, high ≥3. Deterministic published score with citation; not a follicular-lymphoma diagnosis or treatment choice; FLIPI 2004 not FLIPI-2. magent does not stage lymphoma, assay hemoglobin, count nodal sites, or measure LDH.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_gt_60":false,"hemoglobin_lt_120_g_l":false,"ldh_above_uln":false,"nodal_sites_gt_4":false,"stage_iii_iv":false},{"age_gt_60":false,"hemoglobin_lt_120_g_l":false,"ldh_above_uln":false,"nodal_sites_gt_4":false,"stage_iii_iv":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Solal-Céligny P, Roy P, Colombat P, White J, Armitage JO, Arranz-Saez R, Au WY, Bellei M, Brice P, Caballero D, Coiffier B, Conde-Garcia E, Doyen C, Federico M, Fisher RI, Garcia-Conde JF, Gisselbrecht C, Haioun C, LeBlanc M, Lister AT, Lopez-Guillermo A, McLaughlin P, Milpied N, Morel P, Mounier N, Proctor SJ, Rohatiner A, Smith P, Soubeyran P, Tilly H, Vitolo U, Zinzani PL, Zucca E, Montserrat E","doi":"10.1182/blood-2003-12-4434","id":"solal-celigny-2004","pmid":"15126323","source":"Blood. 2004;104(5):1258-1265","title":"Follicular lymphoma international prognostic index"},"components":[{"factor":"age_gt_60","points":0,"present":false},{"factor":"stage_iii_iv","points":0,"present":false},{"factor":"hemoglobin_lt_120_g_l","points":0,"present":false},{"factor":"nodal_sites_gt_4","points":0,"present":false},{"factor":"ldh_above_uln","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.","flipi_band":"low","formula":"flipi","formula_expression":"FLIPI = age_gt_60 1 + stage_iii_iv 1 + hemoglobin_lt_120_g_l 1 + nodal_sites_gt_4 1 + ldh_above_uln 1; Solal-Céligny 2004; max 5; low 0-1, intermediate 2, high ≥3","max_score":5,"score":0},{"citation":{"authors":"Solal-Céligny P, Roy P, Colombat P, White J, Armitage JO, Arranz-Saez R, Au WY, Bellei M, Brice P, Caballero D, Coiffier B, Conde-Garcia E, Doyen C, Federico M, Fisher RI, Garcia-Conde JF, Gisselbrecht C, Haioun C, LeBlanc M, Lister AT, Lopez-Guillermo A, McLaughlin P, Milpied N, Morel P, Mounier N, Proctor SJ, Rohatiner A, Smith P, Soubeyran P, Tilly H, Vitolo U, Zinzani PL, Zucca E, Montserrat E","doi":"10.1182/blood-2003-12-4434","id":"solal-celigny-2004","pmid":"15126323","source":"Blood. 2004;104(5):1258-1265","title":"Follicular lymphoma international prognostic index"},"components":[{"factor":"age_gt_60","points":0,"present":false},{"factor":"stage_iii_iv","points":0,"present":false},{"factor":"hemoglobin_lt_120_g_l","points":0,"present":false},{"factor":"nodal_sites_gt_4","points":0,"present":false},{"factor":"ldh_above_uln","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.","flipi_band":"low","formula":"flipi","formula_expression":"FLIPI = age_gt_60 1 + stage_iii_iv 1 + hemoglobin_lt_120_g_l 1 + nodal_sites_gt_4 1 + ldh_above_uln 1; Solal-Céligny 2004; max 5; low 0-1, intermediate 2, high ≥3","max_score":5,"score":0}],"path":"/api/calc/flipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_60":{"description":"Age >60 years as assigned by the caller (Solal-Céligny 2004). true scores 1. magent does not assign age.","type":"boolean"},"hemoglobin_lt_120_g_l":{"description":"Hemoglobin <120 g/L as assigned by the caller (Solal-Céligny 2004). true scores 1. magent does not assay hemoglobin.","type":"boolean"},"ldh_above_uln":{"description":"Serum LDH above the upper limit of normal as assigned by the caller (Solal-Céligny 2004). true scores 1. magent does not measure LDH.","type":"boolean"},"nodal_sites_gt_4":{"description":"Nodal areas >4 as assigned by the caller (Solal-Céligny 2004). true scores 1. magent does not count nodal sites.","type":"boolean"},"stage_iii_iv":{"description":"Ann Arbor stage III–IV as assigned by the caller (Solal-Céligny 2004). true scores 1. magent does not stage lymphoma.","type":"boolean"}},"required":["age_gt_60","stage_iii_iv","hemoglobin_lt_120_g_l","nodal_sites_gt_4","ldh_above_uln"],"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":["flipi","lymphoma","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:53:39.62Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:53:39.47Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_gt_60":false,"hemoglobin_lt_120_g_l":false,"ldh_above_uln":false,"nodal_sites_gt_4":false,"stage_iii_iv":false},{"age_gt_60":false,"hemoglobin_lt_120_g_l":false,"ldh_above_uln":false,"nodal_sites_gt_4":false,"stage_iii_iv":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Solal-Céligny P, Roy P, Colombat P, White J, Armitage JO, Arranz-Saez R, Au WY, Bellei M, Brice P, Caballero D, Coiffier B, Conde-Garcia E, Doyen C, Federico M, Fisher RI, Garcia-Conde JF, Gisselbrecht C, Haioun C, LeBlanc M, Lister AT, Lopez-Guillermo A, McLaughlin P, Milpied N, Morel P, Mounier N, Proctor SJ, Rohatiner A, Smith P, Soubeyran P, Tilly H, Vitolo U, Zinzani PL, Zucca E, Montserrat E","doi":"10.1182/blood-2003-12-4434","id":"solal-celigny-2004","pmid":"15126323","source":"Blood. 2004;104(5):1258-1265","title":"Follicular lymphoma international prognostic index"},"components":[{"factor":"age_gt_60","points":0,"present":false},{"factor":"stage_iii_iv","points":0,"present":false},{"factor":"hemoglobin_lt_120_g_l","points":0,"present":false},{"factor":"nodal_sites_gt_4","points":0,"present":false},{"factor":"ldh_above_uln","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.","flipi_band":"low","formula":"flipi","formula_expression":"FLIPI = age_gt_60 1 + stage_iii_iv 1 + hemoglobin_lt_120_g_l 1 + nodal_sites_gt_4 1 + ldh_above_uln 1; Solal-Céligny 2004; max 5; low 0-1, intermediate 2, high ≥3","max_score":5,"score":0},{"citation":{"authors":"Solal-Céligny P, Roy P, Colombat P, White J, Armitage JO, Arranz-Saez R, Au WY, Bellei M, Brice P, Caballero D, Coiffier B, Conde-Garcia E, Doyen C, Federico M, Fisher RI, Garcia-Conde JF, Gisselbrecht C, Haioun C, LeBlanc M, Lister AT, Lopez-Guillermo A, McLaughlin P, Milpied N, Morel P, Mounier N, Proctor SJ, Rohatiner A, Smith P, Soubeyran P, Tilly H, Vitolo U, Zinzani PL, Zucca E, Montserrat E","doi":"10.1182/blood-2003-12-4434","id":"solal-celigny-2004","pmid":"15126323","source":"Blood. 2004;104(5):1258-1265","title":"Follicular lymphoma international prognostic index"},"components":[{"factor":"age_gt_60","points":0,"present":false},{"factor":"stage_iii_iv","points":0,"present":false},{"factor":"hemoglobin_lt_120_g_l","points":0,"present":false},{"factor":"nodal_sites_gt_4","points":0,"present":false},{"factor":"ldh_above_uln","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.","flipi_band":"low","formula":"flipi","formula_expression":"FLIPI = age_gt_60 1 + stage_iii_iv 1 + hemoglobin_lt_120_g_l 1 + nodal_sites_gt_4 1 + ldh_above_uln 1; Solal-Céligny 2004; max 5; low 0-1, intermediate 2, high ≥3","max_score":5,"score":0}],"path":"/api/calc/flipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_gt_60":{"description":"Age >60 years as assigned by the caller (Solal-Céligny 2004). true scores 1. magent does not assign age.","type":"boolean"},"hemoglobin_lt_120_g_l":{"description":"Hemoglobin <120 g/L as assigned by the caller (Solal-Céligny 2004). true scores 1. magent does not assay hemoglobin.","type":"boolean"},"ldh_above_uln":{"description":"Serum LDH above the upper limit of normal as assigned by the caller (Solal-Céligny 2004). true scores 1. magent does not measure LDH.","type":"boolean"},"nodal_sites_gt_4":{"description":"Nodal areas >4 as assigned by the caller (Solal-Céligny 2004). true scores 1. magent does not count nodal sites.","type":"boolean"},"stage_iii_iv":{"description":"Ann Arbor stage III–IV as assigned by the caller (Solal-Céligny 2004). true scores 1. magent does not stage lymphoma.","type":"boolean"}},"required":["age_gt_60","stage_iii_iv","hemoglobin_lt_120_g_l","nodal_sites_gt_4","ldh_above_uln"],"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},{"id":39435,"slug":"39435","resource":"https://api.magentlab.com/api/calc/eutos","description":"Hasford 2011 EUTOS score for baseline untreated chronic myeloid leukemia (CML). eutos_score = 4 * spleen_cm + 7 * basophils_percent, rounded to 1 decimal. Low if score ≤ 87; high if score > 87. spleen_cm is centimetres below the costal margin (0-40); basophils_percent is peripheral-blood basophils (0-100). Not a CML diagnosis and not a TKI choice.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"basophils_percent":2,"spleen_cm":5},{"basophils_percent":2,"spleen_cm":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"basophils_percent":2,"citation":{"authors":"Hasford J, Baccarani M, Hoffmann V, Guilhot J, Saussele S, Rosti G, Guilhot F, Porkka K, Ossenkoppele G, Lindoerfer D, Simonsson B, Pfirrmann M, Hehlmann R","doi":"10.1182/blood-2010-12-319038","id":"hasford-2011","pmid":"21536864","source":"Blood. 2011;118(3):686-692","title":"Predicting complete cytogenetic response and subsequent progression-free survival in 2060 patients with CML on imatinib treatment: the EUTOS score"},"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.","eutos_band":"low","eutos_score":34,"formula":"eutos","formula_expression":"eutos_score = 4 * spleen_cm + 7 * basophils_percent","spleen_cm":5},{"basophils_percent":2,"citation":{"authors":"Hasford J, Baccarani M, Hoffmann V, Guilhot J, Saussele S, Rosti G, Guilhot F, Porkka K, Ossenkoppele G, Lindoerfer D, Simonsson B, Pfirrmann M, Hehlmann R","doi":"10.1182/blood-2010-12-319038","id":"hasford-2011","pmid":"21536864","source":"Blood. 2011;118(3):686-692","title":"Predicting complete cytogenetic response and subsequent progression-free survival in 2060 patients with CML on imatinib treatment: the EUTOS score"},"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.","eutos_band":"low","eutos_score":34,"formula":"eutos","formula_expression":"eutos_score = 4 * spleen_cm + 7 * basophils_percent","spleen_cm":5}],"path":"/api/calc/eutos"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"basophils_percent":{"description":"Peripheral-blood basophils as a percent of leukocytes (0-100). Hasford 2011 EUTOS.","type":"number"},"spleen_cm":{"description":"Spleen size in cm below the costal margin at baseline, untreated (0-40). Hasford 2011 EUTOS.","type":"number"}},"required":["spleen_cm","basophils_percent"],"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":["eutos","cml","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:53:33.45Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:53:33.297Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"basophils_percent":2,"spleen_cm":5},{"basophils_percent":2,"spleen_cm":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"basophils_percent":2,"citation":{"authors":"Hasford J, Baccarani M, Hoffmann V, Guilhot J, Saussele S, Rosti G, Guilhot F, Porkka K, Ossenkoppele G, Lindoerfer D, Simonsson B, Pfirrmann M, Hehlmann R","doi":"10.1182/blood-2010-12-319038","id":"hasford-2011","pmid":"21536864","source":"Blood. 2011;118(3):686-692","title":"Predicting complete cytogenetic response and subsequent progression-free survival in 2060 patients with CML on imatinib treatment: the EUTOS score"},"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.","eutos_band":"low","eutos_score":34,"formula":"eutos","formula_expression":"eutos_score = 4 * spleen_cm + 7 * basophils_percent","spleen_cm":5},{"basophils_percent":2,"citation":{"authors":"Hasford J, Baccarani M, Hoffmann V, Guilhot J, Saussele S, Rosti G, Guilhot F, Porkka K, Ossenkoppele G, Lindoerfer D, Simonsson B, Pfirrmann M, Hehlmann R","doi":"10.1182/blood-2010-12-319038","id":"hasford-2011","pmid":"21536864","source":"Blood. 2011;118(3):686-692","title":"Predicting complete cytogenetic response and subsequent progression-free survival in 2060 patients with CML on imatinib treatment: the EUTOS score"},"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.","eutos_band":"low","eutos_score":34,"formula":"eutos","formula_expression":"eutos_score = 4 * spleen_cm + 7 * basophils_percent","spleen_cm":5}],"path":"/api/calc/eutos"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"basophils_percent":{"description":"Peripheral-blood basophils as a percent of leukocytes (0-100). Hasford 2011 EUTOS.","type":"number"},"spleen_cm":{"description":"Spleen size in cm below the costal margin at baseline, untreated (0-40). Hasford 2011 EUTOS.","type":"number"}},"required":["spleen_cm","basophils_percent"],"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},{"id":39436,"slug":"39436","resource":"https://api.magentlab.com/api/calc/mentzer","description":"Mentzer index as MCV in fL divided by RBC count in millions per µL (Mentzer 1973 Lancet letter). Quotient <13 favors β-thalassaemia trait; >13 favors iron deficiency; 13 is indeterminate. Deterministic published arithmetic with citation. Not a diagnosis of thalassemia or iron deficiency; magent does not apply later cutoffs that are not in that letter.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"mcv_fl":70,"rbc_million_ul":5.6},{"mcv_fl":70,"rbc_million_ul":5.6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mentzer WC Jr","doi":"10.1016/s0140-6736(73)91446-3","id":"mentzer-1973","pmid":"4123424","source":"Lancet. 1973 Apr 21;1(7808):882","title":"Differentiation of iron deficiency from thalassaemia trait"},"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":"mentzer","formula_expression":"mentzer_index = mcv_fl / rbc_million_ul","mcv_fl":70,"mentzer_band":"thalassemia_trait","mentzer_index":12.5,"rbc_million_ul":5.6},{"citation":{"authors":"Mentzer WC Jr","doi":"10.1016/s0140-6736(73)91446-3","id":"mentzer-1973","pmid":"4123424","source":"Lancet. 1973 Apr 21;1(7808):882","title":"Differentiation of iron deficiency from thalassaemia trait"},"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":"mentzer","formula_expression":"mentzer_index = mcv_fl / rbc_million_ul","mcv_fl":70,"mentzer_band":"thalassemia_trait","mentzer_index":12.5,"rbc_million_ul":5.6}],"path":"/api/calc/mentzer"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"mcv_fl":{"description":"Mean corpuscular volume in fL (50-120).","type":"number"},"rbc_million_ul":{"description":"Red-cell count in millions per µL (1.0-8.0). Required.","type":"number"}},"required":["mcv_fl","rbc_million_ul"],"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":["mentzer","mcv","rbc","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:53:20.488Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:53:20.367Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"mcv_fl":70,"rbc_million_ul":5.6},{"mcv_fl":70,"rbc_million_ul":5.6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Mentzer WC Jr","doi":"10.1016/s0140-6736(73)91446-3","id":"mentzer-1973","pmid":"4123424","source":"Lancet. 1973 Apr 21;1(7808):882","title":"Differentiation of iron deficiency from thalassaemia trait"},"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":"mentzer","formula_expression":"mentzer_index = mcv_fl / rbc_million_ul","mcv_fl":70,"mentzer_band":"thalassemia_trait","mentzer_index":12.5,"rbc_million_ul":5.6},{"citation":{"authors":"Mentzer WC Jr","doi":"10.1016/s0140-6736(73)91446-3","id":"mentzer-1973","pmid":"4123424","source":"Lancet. 1973 Apr 21;1(7808):882","title":"Differentiation of iron deficiency from thalassaemia trait"},"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":"mentzer","formula_expression":"mentzer_index = mcv_fl / rbc_million_ul","mcv_fl":70,"mentzer_band":"thalassemia_trait","mentzer_index":12.5,"rbc_million_ul":5.6}],"path":"/api/calc/mentzer"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"mcv_fl":{"description":"Mean corpuscular volume in fL (50-120).","type":"number"},"rbc_million_ul":{"description":"Red-cell count in millions per µL (1.0-8.0). Required.","type":"number"}},"required":["mcv_fl","rbc_million_ul"],"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},{"id":39437,"slug":"39437","resource":"https://api.magentlab.com/api/calc/alc","description":"Absolute lymphocyte count from WBC and lymphocyte percent (Shapiro 1998). ALC < 1000 cells/mm3 predicts CD4 < 200; ALC >= 2000 predicts CD4 >= 200. Deterministic published arithmetic with citation. Not a CD4 measurement or HIV diagnosis. magent does not measure the CBC.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"lymphocyte_percent":50,"wbc_k_ul":6,"wbc_ul":6000},{"lymphocyte_percent":50,"wbc_k_ul":6,"wbc_ul":6000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alc_per_ul":3000,"citation":{"authors":"Shapiro NI, Karras DJ, Leech SH, Heilpern KL","doi":"10.1016/s0196-0644(98)70008-3","id":"shapiro-1998-alc","pmid":"9737494","source":"Ann Emerg Med. 1998;32(3):323-328","title":"Absolute lymphocyte count as a predictor of CD4 count"},"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":"alc","formula_expression":"ALC_per_uL = wbc_per_uL * lymphocyte_percent / 100","lymphocyte_percent":50,"shapiro_alc_band":">=2000","wbc_per_ul":6000},{"alc_per_ul":3000,"citation":{"authors":"Shapiro NI, Karras DJ, Leech SH, Heilpern KL","doi":"10.1016/s0196-0644(98)70008-3","id":"shapiro-1998-alc","pmid":"9737494","source":"Ann Emerg Med. 1998;32(3):323-328","title":"Absolute lymphocyte count as a predictor of CD4 count"},"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":"alc","formula_expression":"ALC_per_uL = wbc_per_uL * lymphocyte_percent / 100","lymphocyte_percent":50,"shapiro_alc_band":">=2000","wbc_per_ul":6000}],"path":"/api/calc/alc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"lymphocyte_percent":{"description":"Lymphocytes as a percent of WBC (0.1-99). Shapiro 1998 uses the CBC lymphocyte percentage.","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000.","type":"number"}},"required":["lymphocyte_percent"],"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":["alc","lymphocyte","hematology","cd4","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:53:13.45Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:53:13.325Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"lymphocyte_percent":50,"wbc_k_ul":6,"wbc_ul":6000},{"lymphocyte_percent":50,"wbc_k_ul":6,"wbc_ul":6000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"alc_per_ul":3000,"citation":{"authors":"Shapiro NI, Karras DJ, Leech SH, Heilpern KL","doi":"10.1016/s0196-0644(98)70008-3","id":"shapiro-1998-alc","pmid":"9737494","source":"Ann Emerg Med. 1998;32(3):323-328","title":"Absolute lymphocyte count as a predictor of CD4 count"},"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":"alc","formula_expression":"ALC_per_uL = wbc_per_uL * lymphocyte_percent / 100","lymphocyte_percent":50,"shapiro_alc_band":">=2000","wbc_per_ul":6000},{"alc_per_ul":3000,"citation":{"authors":"Shapiro NI, Karras DJ, Leech SH, Heilpern KL","doi":"10.1016/s0196-0644(98)70008-3","id":"shapiro-1998-alc","pmid":"9737494","source":"Ann Emerg Med. 1998;32(3):323-328","title":"Absolute lymphocyte count as a predictor of CD4 count"},"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":"alc","formula_expression":"ALC_per_uL = wbc_per_uL * lymphocyte_percent / 100","lymphocyte_percent":50,"shapiro_alc_band":">=2000","wbc_per_ul":6000}],"path":"/api/calc/alc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"lymphocyte_percent":{"description":"Lymphocytes as a percent of WBC (0.1-99). Shapiro 1998 uses the CBC lymphocyte percentage.","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000.","type":"number"}},"required":["lymphocyte_percent"],"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},{"id":39438,"slug":"39438","resource":"https://api.magentlab.com/api/calc/anc","description":"Absolute neutrophil count from WBC and neutrophil plus band percents. Bodey 1966 granulocyte bands. Deterministic published arithmetic with citation; not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"band_percent":3,"neutrophil_percent":50,"wbc_k_ul":6,"wbc_ul":6000},{"band_percent":3,"neutrophil_percent":50,"wbc_k_ul":6,"wbc_ul":6000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anc_per_ul":3180,"band_percent":3,"bodey_granulocyte_band":">1500","citation":{"authors":"Bodey GP, Buckley M, Sathe YS, Freireich EJ","doi":"10.7326/0003-4819-64-2-328","id":"bodey-1966","source":"Ann Intern Med. 1966;64(2):328-340","title":"Quantitative relationships between circulating leukocytes and infection in patients with acute leukemia"},"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":"anc","formula_expression":"ANC_per_uL = wbc_per_uL * (neutrophil_percent + band_percent) / 100","neutrophil_percent":50,"wbc_per_ul":6000},{"anc_per_ul":3180,"band_percent":3,"bodey_granulocyte_band":">1500","citation":{"authors":"Bodey GP, Buckley M, Sathe YS, Freireich EJ","doi":"10.7326/0003-4819-64-2-328","id":"bodey-1966","source":"Ann Intern Med. 1966;64(2):328-340","title":"Quantitative relationships between circulating leukocytes and infection in patients with acute leukemia"},"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":"anc","formula_expression":"ANC_per_uL = wbc_per_uL * (neutrophil_percent + band_percent) / 100","neutrophil_percent":50,"wbc_per_ul":6000}],"path":"/api/calc/anc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"band_percent":{"description":"Band neutrophils as a percent of WBC (0-100). Omitted treats bands as 0. segs+bands must be ≤100.","type":"number"},"neutrophil_percent":{"description":"Segmented neutrophils / PMNs as a percent of WBC (0-100).","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000.","type":"number"}},"required":["neutrophil_percent"],"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":["anc","neutrophil","hematology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:53:06.268Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:53:06.15Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"band_percent":3,"neutrophil_percent":50,"wbc_k_ul":6,"wbc_ul":6000},{"band_percent":3,"neutrophil_percent":50,"wbc_k_ul":6,"wbc_ul":6000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"anc_per_ul":3180,"band_percent":3,"bodey_granulocyte_band":">1500","citation":{"authors":"Bodey GP, Buckley M, Sathe YS, Freireich EJ","doi":"10.7326/0003-4819-64-2-328","id":"bodey-1966","source":"Ann Intern Med. 1966;64(2):328-340","title":"Quantitative relationships between circulating leukocytes and infection in patients with acute leukemia"},"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":"anc","formula_expression":"ANC_per_uL = wbc_per_uL * (neutrophil_percent + band_percent) / 100","neutrophil_percent":50,"wbc_per_ul":6000},{"anc_per_ul":3180,"band_percent":3,"bodey_granulocyte_band":">1500","citation":{"authors":"Bodey GP, Buckley M, Sathe YS, Freireich EJ","doi":"10.7326/0003-4819-64-2-328","id":"bodey-1966","source":"Ann Intern Med. 1966;64(2):328-340","title":"Quantitative relationships between circulating leukocytes and infection in patients with acute leukemia"},"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":"anc","formula_expression":"ANC_per_uL = wbc_per_uL * (neutrophil_percent + band_percent) / 100","neutrophil_percent":50,"wbc_per_ul":6000}],"path":"/api/calc/anc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"band_percent":{"description":"Band neutrophils as a percent of WBC (0-100). Omitted treats bands as 0. segs+bands must be ≤100.","type":"number"},"neutrophil_percent":{"description":"Segmented neutrophils / PMNs as a percent of WBC (0-100).","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000.","type":"number"}},"required":["neutrophil_percent"],"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},{"id":39439,"slug":"39439","resource":"https://api.magentlab.com/api/calc/impact","description":"Steyerberg 2008 IMPACT prognostic score for 6-month mortality and unfavorable outcome after traumatic brain injury. model=core (age, motor, pupils), extended (plus hypoxia, hypotension, Marshall CT, tSAH, EDH), or lab (plus glucose mmol/L and Hb g/dL). Points and printed logistic LPs from that paper. Not a diagnosis, not MRC CRASH (Perel 2008), and not magent chemotherapy CRASH.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":35,"edh":false,"glucose_mmol_l":10,"hemoglobin_g_dl":11,"hypotension":false,"hypoxia":false,"marshall_ct":"II","model":"core","motor_score":3,"pupillary_reactivity":"both","tsah":false},{"age":35,"edh":false,"glucose_mmol_l":10,"hemoglobin_g_dl":11,"hypotension":false,"hypoxia":false,"marshall_ct":"II","model":"core","motor_score":3,"pupillary_reactivity":"both","tsah":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":35,"citation":{"authors":"Steyerberg EW, Mushkudiani N, Perel P, Butcher I, Lu J, McHugh GS, Murray GD, Marmarou A, Roberts I, Habbema JDF, Maas AIR","doi":"10.1371/journal.pmed.0050165","id":"steyerberg-2008-impact","pmid":"18640954","source":"PLoS Med. 2008;5(8):e165","title":"Predicting outcome after traumatic brain injury: development and international validation of prognostic scores based on admission characteristics"},"components":[{"factor":"age","points":1,"present":true,"value":35},{"factor":"motor_score","points":4,"present":true,"value":3},{"factor":"pupillary_reactivity","points":0,"present":false,"value":"both"}],"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":"impact","formula_expression":"IMPACT (Steyerberg 2008 Fig 1): core = age(<=30:0, 31-39:1, 40-49:2, 50-59:3, 60-69:4, >=70:5) + motor(1-2:6, 3:4, 4:2, 5-6:0, 9:3) + pupils(both:0, one:2, none:4); extended = core + hypoxia(yes/suspected:1) + hypotension(yes/suspected:2) + marshall(I:-2, II:0, III-VI:2) + tSAH(yes:2) + EDH(yes:-2); lab = extended + glucose_mmol_l(<6:0, 6-8.9:1, 9-11.9:2, 12-14.9:3, >=15:4) + hb_g_dl(<9:3, 9-11.9:2, 12-14.9:1, >=15:0); p = 1/(1+e^(-LP)); LPcore mort=-2.55+0.275*sum; LPcore unfav=-1.62+0.299*sum; LPext mort=-2.98+0.256*sum; LPext unfav=-2.10+0.276*sum; LPlab mort=-3.42+0.216*sum; LPlab unfav=-2.82+0.257*sum; 6-month percent 1 decimal; not MRC CRASH","linear_predictor_mortality":-1.175,"linear_predictor_unfavorable":-0.125,"max_score":15,"model":"core","mortality_6_month_percent":23.6,"motor_score":3,"pupillary_reactivity":"both","score":5,"sum_core":5,"unfavorable_6_month_percent":46.9},{"age":35,"citation":{"authors":"Steyerberg EW, Mushkudiani N, Perel P, Butcher I, Lu J, McHugh GS, Murray GD, Marmarou A, Roberts I, Habbema JDF, Maas AIR","doi":"10.1371/journal.pmed.0050165","id":"steyerberg-2008-impact","pmid":"18640954","source":"PLoS Med. 2008;5(8):e165","title":"Predicting outcome after traumatic brain injury: development and international validation of prognostic scores based on admission characteristics"},"components":[{"factor":"age","points":1,"present":true,"value":35},{"factor":"motor_score","points":4,"present":true,"value":3},{"factor":"pupillary_reactivity","points":0,"present":false,"value":"both"}],"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":"impact","formula_expression":"IMPACT (Steyerberg 2008 Fig 1): core = age(<=30:0, 31-39:1, 40-49:2, 50-59:3, 60-69:4, >=70:5) + motor(1-2:6, 3:4, 4:2, 5-6:0, 9:3) + pupils(both:0, one:2, none:4); extended = core + hypoxia(yes/suspected:1) + hypotension(yes/suspected:2) + marshall(I:-2, II:0, III-VI:2) + tSAH(yes:2) + EDH(yes:-2); lab = extended + glucose_mmol_l(<6:0, 6-8.9:1, 9-11.9:2, 12-14.9:3, >=15:4) + hb_g_dl(<9:3, 9-11.9:2, 12-14.9:1, >=15:0); p = 1/(1+e^(-LP)); LPcore mort=-2.55+0.275*sum; LPcore unfav=-1.62+0.299*sum; LPext mort=-2.98+0.256*sum; LPext unfav=-2.10+0.276*sum; LPlab mort=-3.42+0.216*sum; LPlab unfav=-2.82+0.257*sum; 6-month percent 1 decimal; not MRC CRASH","linear_predictor_mortality":-1.175,"linear_predictor_unfavorable":-0.125,"max_score":15,"model":"core","mortality_6_month_percent":23.6,"motor_score":3,"pupillary_reactivity":"both","score":5,"sum_core":5,"unfavorable_6_month_percent":46.9}],"path":"/api/calc/impact"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 14-90). Steyerberg 2008 Figure 1: ≤30 → 0; 31–39 → 1; 40–49 → 2; 50–59 → 3; 60–69 → 4; ≥70 → 5. Chart label 30–39 is the decade after ≤30 (age 30 scores 0).","type":"integer"},"edh":{"description":"Epidural hematoma (Steyerberg 2008). Required when model is extended or lab. true adds −2; false adds 0. Ignored on model=core.","type":"boolean"},"glucose_mmol_l":{"description":"Admission glucose in mmol/L (2.8-55.5). Required when model is lab. Steyerberg 2008: <6 → 0; 6–8.9 → 1; 9–11.9 → 2; 12–14.9 → 3; ≥15 → 4. Ignored on core and extended. magent does not assay glucose.","type":"number"},"hemoglobin_g_dl":{"description":"Admission hemoglobin in g/dL (3-22). Required when model is lab. Steyerberg 2008: <9 → 3; 9–11.9 → 2; 12–14.9 → 1; ≥15 → 0. Ignored on core and extended. magent does not assay hemoglobin.","type":"number"},"hypotension":{"description":"Hypotension yes or suspected (Steyerberg 2008). Required when model is extended or lab. true adds 2; false adds 0. Ignored on model=core.","type":"boolean"},"hypoxia":{"description":"Hypoxia yes or suspected (Steyerberg 2008). Required when model is extended or lab. true adds 1; false adds 0. Ignored on model=core.","type":"boolean"},"marshall_ct":{"description":"Marshall CT class I–VI (Steyerberg 2008). Required when model is extended or lab. I → −2; II → 0; III, IV, V, or VI → 2. Ignored on model=core. magent does not read the scan.","enum":["I","II","III","IV","V","VI"],"type":"string"},"model":{"description":"Steyerberg 2008 IMPACT model. core uses age, motor, and pupils. extended adds hypoxia, hypotension, Marshall CT, tSAH, and EDH. lab adds glucose mmol/L and hemoglobin g/dL. Required; magent does not pick a model.","enum":["core","extended","lab"],"type":"string"},"motor_score":{"description":"GCS motor integer 1-6 or 9 (untestable/missing) as in Steyerberg 2008. 1 or 2 (none/extension) → 6; 3 (abnormal flexion) → 4; 4 (normal flexion) → 2; 5 or 6 (localizes/obeys) → 0; 9 → 3.","type":"integer"},"pupillary_reactivity":{"description":"Pupillary reactivity (Steyerberg 2008). both → 0; one → 2; none → 4. Caller-assigned. magent does not examine pupils.","enum":["both","one","none"],"type":"string"},"tsah":{"description":"Traumatic subarachnoid hemorrhage (Steyerberg 2008). Required when model is extended or lab. true adds 2; false adds 0. Ignored on model=core.","type":"boolean"}},"required":["model","age","motor_score","pupillary_reactivity"],"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":["impact","tbi","prognosis","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:53:00.068Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:52:59.917Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":35,"edh":false,"glucose_mmol_l":10,"hemoglobin_g_dl":11,"hypotension":false,"hypoxia":false,"marshall_ct":"II","model":"core","motor_score":3,"pupillary_reactivity":"both","tsah":false},{"age":35,"edh":false,"glucose_mmol_l":10,"hemoglobin_g_dl":11,"hypotension":false,"hypoxia":false,"marshall_ct":"II","model":"core","motor_score":3,"pupillary_reactivity":"both","tsah":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":35,"citation":{"authors":"Steyerberg EW, Mushkudiani N, Perel P, Butcher I, Lu J, McHugh GS, Murray GD, Marmarou A, Roberts I, Habbema JDF, Maas AIR","doi":"10.1371/journal.pmed.0050165","id":"steyerberg-2008-impact","pmid":"18640954","source":"PLoS Med. 2008;5(8):e165","title":"Predicting outcome after traumatic brain injury: development and international validation of prognostic scores based on admission characteristics"},"components":[{"factor":"age","points":1,"present":true,"value":35},{"factor":"motor_score","points":4,"present":true,"value":3},{"factor":"pupillary_reactivity","points":0,"present":false,"value":"both"}],"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":"impact","formula_expression":"IMPACT (Steyerberg 2008 Fig 1): core = age(<=30:0, 31-39:1, 40-49:2, 50-59:3, 60-69:4, >=70:5) + motor(1-2:6, 3:4, 4:2, 5-6:0, 9:3) + pupils(both:0, one:2, none:4); extended = core + hypoxia(yes/suspected:1) + hypotension(yes/suspected:2) + marshall(I:-2, II:0, III-VI:2) + tSAH(yes:2) + EDH(yes:-2); lab = extended + glucose_mmol_l(<6:0, 6-8.9:1, 9-11.9:2, 12-14.9:3, >=15:4) + hb_g_dl(<9:3, 9-11.9:2, 12-14.9:1, >=15:0); p = 1/(1+e^(-LP)); LPcore mort=-2.55+0.275*sum; LPcore unfav=-1.62+0.299*sum; LPext mort=-2.98+0.256*sum; LPext unfav=-2.10+0.276*sum; LPlab mort=-3.42+0.216*sum; LPlab unfav=-2.82+0.257*sum; 6-month percent 1 decimal; not MRC CRASH","linear_predictor_mortality":-1.175,"linear_predictor_unfavorable":-0.125,"max_score":15,"model":"core","mortality_6_month_percent":23.6,"motor_score":3,"pupillary_reactivity":"both","score":5,"sum_core":5,"unfavorable_6_month_percent":46.9},{"age":35,"citation":{"authors":"Steyerberg EW, Mushkudiani N, Perel P, Butcher I, Lu J, McHugh GS, Murray GD, Marmarou A, Roberts I, Habbema JDF, Maas AIR","doi":"10.1371/journal.pmed.0050165","id":"steyerberg-2008-impact","pmid":"18640954","source":"PLoS Med. 2008;5(8):e165","title":"Predicting outcome after traumatic brain injury: development and international validation of prognostic scores based on admission characteristics"},"components":[{"factor":"age","points":1,"present":true,"value":35},{"factor":"motor_score","points":4,"present":true,"value":3},{"factor":"pupillary_reactivity","points":0,"present":false,"value":"both"}],"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":"impact","formula_expression":"IMPACT (Steyerberg 2008 Fig 1): core = age(<=30:0, 31-39:1, 40-49:2, 50-59:3, 60-69:4, >=70:5) + motor(1-2:6, 3:4, 4:2, 5-6:0, 9:3) + pupils(both:0, one:2, none:4); extended = core + hypoxia(yes/suspected:1) + hypotension(yes/suspected:2) + marshall(I:-2, II:0, III-VI:2) + tSAH(yes:2) + EDH(yes:-2); lab = extended + glucose_mmol_l(<6:0, 6-8.9:1, 9-11.9:2, 12-14.9:3, >=15:4) + hb_g_dl(<9:3, 9-11.9:2, 12-14.9:1, >=15:0); p = 1/(1+e^(-LP)); LPcore mort=-2.55+0.275*sum; LPcore unfav=-1.62+0.299*sum; LPext mort=-2.98+0.256*sum; LPext unfav=-2.10+0.276*sum; LPlab mort=-3.42+0.216*sum; LPlab unfav=-2.82+0.257*sum; 6-month percent 1 decimal; not MRC CRASH","linear_predictor_mortality":-1.175,"linear_predictor_unfavorable":-0.125,"max_score":15,"model":"core","mortality_6_month_percent":23.6,"motor_score":3,"pupillary_reactivity":"both","score":5,"sum_core":5,"unfavorable_6_month_percent":46.9}],"path":"/api/calc/impact"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 14-90). Steyerberg 2008 Figure 1: ≤30 → 0; 31–39 → 1; 40–49 → 2; 50–59 → 3; 60–69 → 4; ≥70 → 5. Chart label 30–39 is the decade after ≤30 (age 30 scores 0).","type":"integer"},"edh":{"description":"Epidural hematoma (Steyerberg 2008). Required when model is extended or lab. true adds −2; false adds 0. Ignored on model=core.","type":"boolean"},"glucose_mmol_l":{"description":"Admission glucose in mmol/L (2.8-55.5). Required when model is lab. Steyerberg 2008: <6 → 0; 6–8.9 → 1; 9–11.9 → 2; 12–14.9 → 3; ≥15 → 4. Ignored on core and extended. magent does not assay glucose.","type":"number"},"hemoglobin_g_dl":{"description":"Admission hemoglobin in g/dL (3-22). Required when model is lab. Steyerberg 2008: <9 → 3; 9–11.9 → 2; 12–14.9 → 1; ≥15 → 0. Ignored on core and extended. magent does not assay hemoglobin.","type":"number"},"hypotension":{"description":"Hypotension yes or suspected (Steyerberg 2008). Required when model is extended or lab. true adds 2; false adds 0. Ignored on model=core.","type":"boolean"},"hypoxia":{"description":"Hypoxia yes or suspected (Steyerberg 2008). Required when model is extended or lab. true adds 1; false adds 0. Ignored on model=core.","type":"boolean"},"marshall_ct":{"description":"Marshall CT class I–VI (Steyerberg 2008). Required when model is extended or lab. I → −2; II → 0; III, IV, V, or VI → 2. Ignored on model=core. magent does not read the scan.","enum":["I","II","III","IV","V","VI"],"type":"string"},"model":{"description":"Steyerberg 2008 IMPACT model. core uses age, motor, and pupils. extended adds hypoxia, hypotension, Marshall CT, tSAH, and EDH. lab adds glucose mmol/L and hemoglobin g/dL. Required; magent does not pick a model.","enum":["core","extended","lab"],"type":"string"},"motor_score":{"description":"GCS motor integer 1-6 or 9 (untestable/missing) as in Steyerberg 2008. 1 or 2 (none/extension) → 6; 3 (abnormal flexion) → 4; 4 (normal flexion) → 2; 5 or 6 (localizes/obeys) → 0; 9 → 3.","type":"integer"},"pupillary_reactivity":{"description":"Pupillary reactivity (Steyerberg 2008). both → 0; one → 2; none → 4. Caller-assigned. magent does not examine pupils.","enum":["both","one","none"],"type":"string"},"tsah":{"description":"Traumatic subarachnoid hemorrhage (Steyerberg 2008). Required when model is extended or lab. true adds 2; false adds 0. Ignored on model=core.","type":"boolean"}},"required":["model","age","motor_score","pupillary_reactivity"],"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},{"id":39440,"slug":"39440","resource":"https://api.magentlab.com/api/calc/ohts","description":"OHTS-EGPS 2007 Table 6: 5-year primary open-angle glaucoma risk in untreated ocular hypertension from age, mean IOP (mm Hg), mean central corneal thickness (microns), mean vertical cup-disc ratio, and mean Humphrey pattern standard deviation (dB). Point bands map to 4%, 10%, 15%, 20%, or 33%. No race (dropped in the multivariate model). No diabetes term. Not a glaucoma diagnosis or drop order. magent does not measure IOP or pachymetry.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":55,"cct_microns":540,"iop_mm_hg":24,"psd_db":2.2,"vertical_cd_ratio":0.4},{"age":55,"cct_microns":540,"iop_mm_hg":24,"psd_db":2.2,"vertical_cd_ratio":0.4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":55,"cct_microns":540,"citation":{"authors":"Ocular Hypertension Treatment Study Group; European Glaucoma Prevention Study Group; Gordon MO, Torri V, Miglior S, Beiser JA, Floriani I, Miller JP, Gao F, Adamsons I, Poli D, D'Agostino RB, Kass MA","doi":"10.1016/j.ophtha.2006.08.031","id":"ohts-egps-2007","pmid":"17070597","source":"Ophthalmology. 2007;114(1):10-19","title":"A validated prediction model for the development of primary open-angle glaucoma in individuals with ocular hypertension"},"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":"ohts","formula_expression":"OHTS-EGPS 2007 Table 6 points: age <45=0, 45 to <55=1, 55 to <65=2, 65 to <75=3, >=75=4; mean IOP mm Hg <22=0, 22 to <24=1, 24 to <26=2, 26 to <28=3, >=28=4; mean CCT microns >=600=0, 576 to <600=1, 551 to <576=2, 526 to <551=3, <=525=4; mean vertical cup-disc ratio <0.3=0, 0.3 to <0.4=1, 0.4 to <0.5=2, 0.5 to <0.6=3, >=0.6=4; mean Humphrey PSD dB <1.8=0, 1.8 to <2.0=1, 2 to <2.4=2, 2.4 to <2.8=3, >=2.8=4; sum 0-6 -> 4.0% (<=4.0%), 7-8 -> 10%, 9-10 -> 15%, 11-12 -> 20%, >12 -> 33% (>=33%); no race; no diabetes; not a glaucoma diagnosis","iop_mm_hg":24,"points":11,"psd_db":2.2,"risk_5y_percent":20,"vertical_cd_ratio":0.4},{"age":55,"cct_microns":540,"citation":{"authors":"Ocular Hypertension Treatment Study Group; European Glaucoma Prevention Study Group; Gordon MO, Torri V, Miglior S, Beiser JA, Floriani I, Miller JP, Gao F, Adamsons I, Poli D, D'Agostino RB, Kass MA","doi":"10.1016/j.ophtha.2006.08.031","id":"ohts-egps-2007","pmid":"17070597","source":"Ophthalmology. 2007;114(1):10-19","title":"A validated prediction model for the development of primary open-angle glaucoma in individuals with ocular hypertension"},"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":"ohts","formula_expression":"OHTS-EGPS 2007 Table 6 points: age <45=0, 45 to <55=1, 55 to <65=2, 65 to <75=3, >=75=4; mean IOP mm Hg <22=0, 22 to <24=1, 24 to <26=2, 26 to <28=3, >=28=4; mean CCT microns >=600=0, 576 to <600=1, 551 to <576=2, 526 to <551=3, <=525=4; mean vertical cup-disc ratio <0.3=0, 0.3 to <0.4=1, 0.4 to <0.5=2, 0.5 to <0.6=3, >=0.6=4; mean Humphrey PSD dB <1.8=0, 1.8 to <2.0=1, 2 to <2.4=2, 2.4 to <2.8=3, >=2.8=4; sum 0-6 -> 4.0% (<=4.0%), 7-8 -> 10%, 9-10 -> 15%, 11-12 -> 20%, >12 -> 33% (>=33%); no race; no diabetes; not a glaucoma diagnosis","iop_mm_hg":24,"points":11,"psd_db":2.2,"risk_5y_percent":20,"vertical_cd_ratio":0.4}],"path":"/api/calc/ohts"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 30-80). OHTS enrolled 40-80; EGPS enrolled age >30. magent accepts 30-80 only. Table 6: <45=0, 45 to <55=1, 55 to <65=2, 65 to <75=3, >=75=4.","type":"integer"},"cct_microns":{"description":"Mean central corneal thickness in microns (475-650), average of the two eyes. Table 6: >=600=0, 576 to <600=1, 551 to <576=2, 526 to <551=3, <=525=4. magent does not perform pachymetry.","type":"number"},"iop_mm_hg":{"description":"Mean untreated intraocular pressure in mm Hg (20-32), average of the two eyes after multiple Goldmann readings as in the paper. Table 6: <22=0, 22 to <24=1, 24 to <26=2, 26 to <28=3, >=28=4. magent does not measure IOP.","type":"number"},"psd_db":{"description":"Mean Humphrey pattern standard deviation in dB (0.5-8), average of the two eyes. Table 6: <1.8=0, 1.8 to <2.0=1, 2 to <2.4=2, 2.4 to <2.8=3, >=2.8=4. magent does not run perimetry.","type":"number"},"vertical_cd_ratio":{"description":"Mean vertical cup-disc ratio by contour (0-1), average of the two eyes. Table 6: <0.3=0, 0.3 to <0.4=1, 0.4 to <0.5=2, 0.5 to <0.6=3, >=0.6=4. magent does not grade the disc.","type":"number"}},"required":["age","iop_mm_hg","cct_microns","vertical_cd_ratio","psd_db"],"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":["ohts","poag","ocular-hypertension","glaucoma","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:52:53.575Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:52:53.408Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":55,"cct_microns":540,"iop_mm_hg":24,"psd_db":2.2,"vertical_cd_ratio":0.4},{"age":55,"cct_microns":540,"iop_mm_hg":24,"psd_db":2.2,"vertical_cd_ratio":0.4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":55,"cct_microns":540,"citation":{"authors":"Ocular Hypertension Treatment Study Group; European Glaucoma Prevention Study Group; Gordon MO, Torri V, Miglior S, Beiser JA, Floriani I, Miller JP, Gao F, Adamsons I, Poli D, D'Agostino RB, Kass MA","doi":"10.1016/j.ophtha.2006.08.031","id":"ohts-egps-2007","pmid":"17070597","source":"Ophthalmology. 2007;114(1):10-19","title":"A validated prediction model for the development of primary open-angle glaucoma in individuals with ocular hypertension"},"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":"ohts","formula_expression":"OHTS-EGPS 2007 Table 6 points: age <45=0, 45 to <55=1, 55 to <65=2, 65 to <75=3, >=75=4; mean IOP mm Hg <22=0, 22 to <24=1, 24 to <26=2, 26 to <28=3, >=28=4; mean CCT microns >=600=0, 576 to <600=1, 551 to <576=2, 526 to <551=3, <=525=4; mean vertical cup-disc ratio <0.3=0, 0.3 to <0.4=1, 0.4 to <0.5=2, 0.5 to <0.6=3, >=0.6=4; mean Humphrey PSD dB <1.8=0, 1.8 to <2.0=1, 2 to <2.4=2, 2.4 to <2.8=3, >=2.8=4; sum 0-6 -> 4.0% (<=4.0%), 7-8 -> 10%, 9-10 -> 15%, 11-12 -> 20%, >12 -> 33% (>=33%); no race; no diabetes; not a glaucoma diagnosis","iop_mm_hg":24,"points":11,"psd_db":2.2,"risk_5y_percent":20,"vertical_cd_ratio":0.4},{"age":55,"cct_microns":540,"citation":{"authors":"Ocular Hypertension Treatment Study Group; European Glaucoma Prevention Study Group; Gordon MO, Torri V, Miglior S, Beiser JA, Floriani I, Miller JP, Gao F, Adamsons I, Poli D, D'Agostino RB, Kass MA","doi":"10.1016/j.ophtha.2006.08.031","id":"ohts-egps-2007","pmid":"17070597","source":"Ophthalmology. 2007;114(1):10-19","title":"A validated prediction model for the development of primary open-angle glaucoma in individuals with ocular hypertension"},"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":"ohts","formula_expression":"OHTS-EGPS 2007 Table 6 points: age <45=0, 45 to <55=1, 55 to <65=2, 65 to <75=3, >=75=4; mean IOP mm Hg <22=0, 22 to <24=1, 24 to <26=2, 26 to <28=3, >=28=4; mean CCT microns >=600=0, 576 to <600=1, 551 to <576=2, 526 to <551=3, <=525=4; mean vertical cup-disc ratio <0.3=0, 0.3 to <0.4=1, 0.4 to <0.5=2, 0.5 to <0.6=3, >=0.6=4; mean Humphrey PSD dB <1.8=0, 1.8 to <2.0=1, 2 to <2.4=2, 2.4 to <2.8=3, >=2.8=4; sum 0-6 -> 4.0% (<=4.0%), 7-8 -> 10%, 9-10 -> 15%, 11-12 -> 20%, >12 -> 33% (>=33%); no race; no diabetes; not a glaucoma diagnosis","iop_mm_hg":24,"points":11,"psd_db":2.2,"risk_5y_percent":20,"vertical_cd_ratio":0.4}],"path":"/api/calc/ohts"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 30-80). OHTS enrolled 40-80; EGPS enrolled age >30. magent accepts 30-80 only. Table 6: <45=0, 45 to <55=1, 55 to <65=2, 65 to <75=3, >=75=4.","type":"integer"},"cct_microns":{"description":"Mean central corneal thickness in microns (475-650), average of the two eyes. Table 6: >=600=0, 576 to <600=1, 551 to <576=2, 526 to <551=3, <=525=4. magent does not perform pachymetry.","type":"number"},"iop_mm_hg":{"description":"Mean untreated intraocular pressure in mm Hg (20-32), average of the two eyes after multiple Goldmann readings as in the paper. Table 6: <22=0, 22 to <24=1, 24 to <26=2, 26 to <28=3, >=28=4. magent does not measure IOP.","type":"number"},"psd_db":{"description":"Mean Humphrey pattern standard deviation in dB (0.5-8), average of the two eyes. Table 6: <1.8=0, 1.8 to <2.0=1, 2 to <2.4=2, 2.4 to <2.8=3, >=2.8=4. magent does not run perimetry.","type":"number"},"vertical_cd_ratio":{"description":"Mean vertical cup-disc ratio by contour (0-1), average of the two eyes. Table 6: <0.3=0, 0.3 to <0.4=1, 0.4 to <0.5=2, 0.5 to <0.6=3, >=0.6=4. magent does not grade the disc.","type":"number"}},"required":["age","iop_mm_hg","cct_microns","vertical_cd_ratio","psd_db"],"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},{"id":39441,"slug":"39441","resource":"https://api.magentlab.com/api/calc/rcvs2","description":"Rocha 2019 RCVS2 score from five caller-assigned items: recurrent or single thunderclap headache (+5), intracranial ICA involvement (-2), vasoconstrictive trigger (+3), female sex (+1), subarachnoid hemorrhage (+1). Range -2 to 10. Score >=5 supports RCVS; <=2 against; 3-4 equivocal. magent does not read angiograms. Not a diagnosis and not PACNS treatment advice. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"intracranial_ica_involvement":false,"sah":false,"sex":"male","thunderclap_headache":false,"vasoconstrictive_trigger":false},{"intracranial_ica_involvement":false,"sah":false,"sex":"male","thunderclap_headache":false,"vasoconstrictive_trigger":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"against","citation":{"authors":"Rocha EA, Topcuoglu MA, Silva GS, Singhal AB","doi":"10.1212/WNL.0000000000006917","id":"rocha-2019","pmid":"30635475","source":"Neurology. 2019;92(7):e639-e647","title":"RCVS2 score and diagnostic approach for reversible cerebral vasoconstriction syndrome"},"components":[{"factor":"thunderclap_headache","points":0,"present":false},{"factor":"intracranial_ica_involvement","points":0,"present":false},{"factor":"vasoconstrictive_trigger","points":0,"present":false},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"sah","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":"rcvs2","formula_expression":"RCVS2 = thunderclap_headache (5 if recurrent or single) + intracranial_ica_involvement (-2) + vasoconstrictive_trigger (3) + female (1) + sah (1); Rocha 2019; range -2 to 10; >=5 supports RCVS, <=2 against, 3-4 equivocal","max_score":10,"score":0},{"band":"against","citation":{"authors":"Rocha EA, Topcuoglu MA, Silva GS, Singhal AB","doi":"10.1212/WNL.0000000000006917","id":"rocha-2019","pmid":"30635475","source":"Neurology. 2019;92(7):e639-e647","title":"RCVS2 score and diagnostic approach for reversible cerebral vasoconstriction syndrome"},"components":[{"factor":"thunderclap_headache","points":0,"present":false},{"factor":"intracranial_ica_involvement","points":0,"present":false},{"factor":"vasoconstrictive_trigger","points":0,"present":false},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"sah","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":"rcvs2","formula_expression":"RCVS2 = thunderclap_headache (5 if recurrent or single) + intracranial_ica_involvement (-2) + vasoconstrictive_trigger (3) + female (1) + sah (1); Rocha 2019; range -2 to 10; >=5 supports RCVS, <=2 against, 3-4 equivocal","max_score":10,"score":0}],"path":"/api/calc/rcvs2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"intracranial_ica_involvement":{"description":"Intracranial internal carotid artery involvement as assigned by the caller (Rocha 2019). true scores -2. magent does not read angiograms.","type":"boolean"},"sah":{"description":"Subarachnoid hemorrhage on imaging as assigned by the caller (Rocha 2019). true scores 1. magent does not interpret imaging.","type":"boolean"},"sex":{"description":"female or male (Rocha 2019). Female scores 1; male scores 0.","enum":["female","male"],"type":"string"},"thunderclap_headache":{"description":"Recurrent or single thunderclap headache as assigned by the caller (Rocha 2019). Both patterns score 5; the paper does not split them. true or false. magent does not take a headache history.","type":"boolean"},"vasoconstrictive_trigger":{"description":"Identified vasoconstrictive trigger as assigned by the caller (Rocha 2019). true scores 3. magent does not take a trigger history.","type":"boolean"}},"required":["thunderclap_headache","intracranial_ica_involvement","vasoconstrictive_trigger","sex","sah"],"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":["rcvs2","rcvs","neurology","thunderclap","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:52:46.174Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:52:46.056Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"intracranial_ica_involvement":false,"sah":false,"sex":"male","thunderclap_headache":false,"vasoconstrictive_trigger":false},{"intracranial_ica_involvement":false,"sah":false,"sex":"male","thunderclap_headache":false,"vasoconstrictive_trigger":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"against","citation":{"authors":"Rocha EA, Topcuoglu MA, Silva GS, Singhal AB","doi":"10.1212/WNL.0000000000006917","id":"rocha-2019","pmid":"30635475","source":"Neurology. 2019;92(7):e639-e647","title":"RCVS2 score and diagnostic approach for reversible cerebral vasoconstriction syndrome"},"components":[{"factor":"thunderclap_headache","points":0,"present":false},{"factor":"intracranial_ica_involvement","points":0,"present":false},{"factor":"vasoconstrictive_trigger","points":0,"present":false},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"sah","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":"rcvs2","formula_expression":"RCVS2 = thunderclap_headache (5 if recurrent or single) + intracranial_ica_involvement (-2) + vasoconstrictive_trigger (3) + female (1) + sah (1); Rocha 2019; range -2 to 10; >=5 supports RCVS, <=2 against, 3-4 equivocal","max_score":10,"score":0},{"band":"against","citation":{"authors":"Rocha EA, Topcuoglu MA, Silva GS, Singhal AB","doi":"10.1212/WNL.0000000000006917","id":"rocha-2019","pmid":"30635475","source":"Neurology. 2019;92(7):e639-e647","title":"RCVS2 score and diagnostic approach for reversible cerebral vasoconstriction syndrome"},"components":[{"factor":"thunderclap_headache","points":0,"present":false},{"factor":"intracranial_ica_involvement","points":0,"present":false},{"factor":"vasoconstrictive_trigger","points":0,"present":false},{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"sah","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":"rcvs2","formula_expression":"RCVS2 = thunderclap_headache (5 if recurrent or single) + intracranial_ica_involvement (-2) + vasoconstrictive_trigger (3) + female (1) + sah (1); Rocha 2019; range -2 to 10; >=5 supports RCVS, <=2 against, 3-4 equivocal","max_score":10,"score":0}],"path":"/api/calc/rcvs2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"intracranial_ica_involvement":{"description":"Intracranial internal carotid artery involvement as assigned by the caller (Rocha 2019). true scores -2. magent does not read angiograms.","type":"boolean"},"sah":{"description":"Subarachnoid hemorrhage on imaging as assigned by the caller (Rocha 2019). true scores 1. magent does not interpret imaging.","type":"boolean"},"sex":{"description":"female or male (Rocha 2019). Female scores 1; male scores 0.","enum":["female","male"],"type":"string"},"thunderclap_headache":{"description":"Recurrent or single thunderclap headache as assigned by the caller (Rocha 2019). Both patterns score 5; the paper does not split them. true or false. magent does not take a headache history.","type":"boolean"},"vasoconstrictive_trigger":{"description":"Identified vasoconstrictive trigger as assigned by the caller (Rocha 2019). true scores 3. magent does not take a trigger history.","type":"boolean"}},"required":["thunderclap_headache","intracranial_ica_involvement","vasoconstrictive_trigger","sex","sah"],"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},{"id":39442,"slug":"39442","resource":"https://api.magentlab.com/api/calc/delta_p","description":"Titulaer 2011 DELTA-P for SCLC association in Lambert-Eaton myasthenic syndrome. One point each, at or within 3 months of LEMS onset: bulbar weakness (dysarthria/dysphagia/chewing/neck weakness); erectile dysfunction if male (always 0 if female); weight loss ≥5%; smoking at onset; age ≥50; Karnofsky <70. Max 6. Bands low 0-1, intermediate 2, high 3-6. Published SCLC percents for scores 0, 1, 3-6; none for score 2. Not a LEMS diagnosis, not SOX1, and not an SCLC screen.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"bulbar_weakness":false,"erectile_dysfunction":false,"kps_lt_70":false,"sex":"female","smoking_at_onset":false,"weight_loss_ge_5pct":false},{"age":40,"bulbar_weakness":false,"erectile_dysfunction":false,"kps_lt_70":false,"sex":"female","smoking_at_onset":false,"weight_loss_ge_5pct":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Titulaer MJ, Maddison P, Sont JK, Wirtz PW, Hilton-Jones D, Klooster R, Willcox N, Potman M, Sillevis Smitt PAE, Kuks JBM, Roep BO, Vincent A, van der Maarel SM, van Dijk JG, Lang B, Verschuuren JJGM","doi":"10.1200/JCO.2010.32.0440","id":"titulaer-2011","pmid":"21245427","source":"J Clin Oncol. 2011;29(7):902-908","title":"Clinical Dutch-English Lambert-Eaton Myasthenic Syndrome (LEMS) Tumor Association Prediction Score Accurately Predicts Small-Cell Lung Cancer in the LEMS"},"components":[{"factor":"bulbar_weakness","points":0,"present":false},{"factor":"erectile_dysfunction","points":0,"present":false},{"factor":"weight_loss_ge_5pct","points":0,"present":false},{"factor":"smoking_at_onset","points":0,"present":false},{"factor":"age_ge_50","points":0,"present":false,"value":40},{"factor":"kps_lt_70","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":"delta_p","formula_expression":"DELTA-P = bulbar_weakness 1 + (male and erectile_dysfunction) 1 + weight_loss_ge_5pct 1 + smoking_at_onset 1 + (age>=50) 1 + kps_lt_70 1; each at or within 3 months of LEMS onset; female erectile always 0; max 6; bands 0-1 low / 2 intermediate / 3-6 high (Titulaer 2011); SCLC percents 0/2.6/omit/83.9/93.5/96.6/100 for scores 0-6","max_score":6,"sclc_band":"low","sclc_percent":0,"score":0,"sex":"female"},{"age_years":40,"citation":{"authors":"Titulaer MJ, Maddison P, Sont JK, Wirtz PW, Hilton-Jones D, Klooster R, Willcox N, Potman M, Sillevis Smitt PAE, Kuks JBM, Roep BO, Vincent A, van der Maarel SM, van Dijk JG, Lang B, Verschuuren JJGM","doi":"10.1200/JCO.2010.32.0440","id":"titulaer-2011","pmid":"21245427","source":"J Clin Oncol. 2011;29(7):902-908","title":"Clinical Dutch-English Lambert-Eaton Myasthenic Syndrome (LEMS) Tumor Association Prediction Score Accurately Predicts Small-Cell Lung Cancer in the LEMS"},"components":[{"factor":"bulbar_weakness","points":0,"present":false},{"factor":"erectile_dysfunction","points":0,"present":false},{"factor":"weight_loss_ge_5pct","points":0,"present":false},{"factor":"smoking_at_onset","points":0,"present":false},{"factor":"age_ge_50","points":0,"present":false,"value":40},{"factor":"kps_lt_70","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":"delta_p","formula_expression":"DELTA-P = bulbar_weakness 1 + (male and erectile_dysfunction) 1 + weight_loss_ge_5pct 1 + smoking_at_onset 1 + (age>=50) 1 + kps_lt_70 1; each at or within 3 months of LEMS onset; female erectile always 0; max 6; bands 0-1 low / 2 intermediate / 3-6 high (Titulaer 2011); SCLC percents 0/2.6/omit/83.9/93.5/96.6/100 for scores 0-6","max_score":6,"sclc_band":"low","sclc_percent":0,"score":0,"sex":"female"}],"path":"/api/calc/delta_p"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age at LEMS onset in years (18-120). ≥50 scores 1; 49 does not (Titulaer 2011).","type":"integer"},"bulbar_weakness":{"description":"Dysarthria, dysphagia, chewing difficulty, or neck weakness at or within 3 months of LEMS onset (Titulaer 2011 D). true or false. Caller-assigned. 1 point if true.","type":"boolean"},"erectile_dysfunction":{"description":"Erectile dysfunction at or within 3 months of LEMS onset (Titulaer 2011 E). Required when sex is male (true scores 1). When female, this item is always 0, including if omitted, false, or true. true or false.","type":"boolean"},"kps_lt_70":{"description":"Karnofsky Performance Status 0-60 (KPS <70) at or within 3 months of LEMS onset (Titulaer 2011 P). Caller-assigned flag; magent does not compute Karnofsky. true or false. 1 point if true.","type":"boolean"},"sex":{"description":"female or male. Erectile dysfunction scores only when male. Female erectile is always 0 (Titulaer 2011: Female | 0).","enum":["female","male"],"type":"string"},"smoking_at_onset":{"description":"Smoking at LEMS onset (Titulaer 2011 T). true or false. Caller-assigned. 1 point if true.","type":"boolean"},"weight_loss_ge_5pct":{"description":"Weight loss ≥5% at or within 3 months of LEMS onset (Titulaer 2011 L). true or false. Caller-assigned. 1 point if true.","type":"boolean"}},"required":["sex","age","bulbar_weakness","weight_loss_ge_5pct","smoking_at_onset","kps_lt_70"],"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":["delta-p","lems","sclc","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:52:39.329Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:52:39.193Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"bulbar_weakness":false,"erectile_dysfunction":false,"kps_lt_70":false,"sex":"female","smoking_at_onset":false,"weight_loss_ge_5pct":false},{"age":40,"bulbar_weakness":false,"erectile_dysfunction":false,"kps_lt_70":false,"sex":"female","smoking_at_onset":false,"weight_loss_ge_5pct":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Titulaer MJ, Maddison P, Sont JK, Wirtz PW, Hilton-Jones D, Klooster R, Willcox N, Potman M, Sillevis Smitt PAE, Kuks JBM, Roep BO, Vincent A, van der Maarel SM, van Dijk JG, Lang B, Verschuuren JJGM","doi":"10.1200/JCO.2010.32.0440","id":"titulaer-2011","pmid":"21245427","source":"J Clin Oncol. 2011;29(7):902-908","title":"Clinical Dutch-English Lambert-Eaton Myasthenic Syndrome (LEMS) Tumor Association Prediction Score Accurately Predicts Small-Cell Lung Cancer in the LEMS"},"components":[{"factor":"bulbar_weakness","points":0,"present":false},{"factor":"erectile_dysfunction","points":0,"present":false},{"factor":"weight_loss_ge_5pct","points":0,"present":false},{"factor":"smoking_at_onset","points":0,"present":false},{"factor":"age_ge_50","points":0,"present":false,"value":40},{"factor":"kps_lt_70","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":"delta_p","formula_expression":"DELTA-P = bulbar_weakness 1 + (male and erectile_dysfunction) 1 + weight_loss_ge_5pct 1 + smoking_at_onset 1 + (age>=50) 1 + kps_lt_70 1; each at or within 3 months of LEMS onset; female erectile always 0; max 6; bands 0-1 low / 2 intermediate / 3-6 high (Titulaer 2011); SCLC percents 0/2.6/omit/83.9/93.5/96.6/100 for scores 0-6","max_score":6,"sclc_band":"low","sclc_percent":0,"score":0,"sex":"female"},{"age_years":40,"citation":{"authors":"Titulaer MJ, Maddison P, Sont JK, Wirtz PW, Hilton-Jones D, Klooster R, Willcox N, Potman M, Sillevis Smitt PAE, Kuks JBM, Roep BO, Vincent A, van der Maarel SM, van Dijk JG, Lang B, Verschuuren JJGM","doi":"10.1200/JCO.2010.32.0440","id":"titulaer-2011","pmid":"21245427","source":"J Clin Oncol. 2011;29(7):902-908","title":"Clinical Dutch-English Lambert-Eaton Myasthenic Syndrome (LEMS) Tumor Association Prediction Score Accurately Predicts Small-Cell Lung Cancer in the LEMS"},"components":[{"factor":"bulbar_weakness","points":0,"present":false},{"factor":"erectile_dysfunction","points":0,"present":false},{"factor":"weight_loss_ge_5pct","points":0,"present":false},{"factor":"smoking_at_onset","points":0,"present":false},{"factor":"age_ge_50","points":0,"present":false,"value":40},{"factor":"kps_lt_70","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":"delta_p","formula_expression":"DELTA-P = bulbar_weakness 1 + (male and erectile_dysfunction) 1 + weight_loss_ge_5pct 1 + smoking_at_onset 1 + (age>=50) 1 + kps_lt_70 1; each at or within 3 months of LEMS onset; female erectile always 0; max 6; bands 0-1 low / 2 intermediate / 3-6 high (Titulaer 2011); SCLC percents 0/2.6/omit/83.9/93.5/96.6/100 for scores 0-6","max_score":6,"sclc_band":"low","sclc_percent":0,"score":0,"sex":"female"}],"path":"/api/calc/delta_p"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age at LEMS onset in years (18-120). ≥50 scores 1; 49 does not (Titulaer 2011).","type":"integer"},"bulbar_weakness":{"description":"Dysarthria, dysphagia, chewing difficulty, or neck weakness at or within 3 months of LEMS onset (Titulaer 2011 D). true or false. Caller-assigned. 1 point if true.","type":"boolean"},"erectile_dysfunction":{"description":"Erectile dysfunction at or within 3 months of LEMS onset (Titulaer 2011 E). Required when sex is male (true scores 1). When female, this item is always 0, including if omitted, false, or true. true or false.","type":"boolean"},"kps_lt_70":{"description":"Karnofsky Performance Status 0-60 (KPS <70) at or within 3 months of LEMS onset (Titulaer 2011 P). Caller-assigned flag; magent does not compute Karnofsky. true or false. 1 point if true.","type":"boolean"},"sex":{"description":"female or male. Erectile dysfunction scores only when male. Female erectile is always 0 (Titulaer 2011: Female | 0).","enum":["female","male"],"type":"string"},"smoking_at_onset":{"description":"Smoking at LEMS onset (Titulaer 2011 T). true or false. Caller-assigned. 1 point if true.","type":"boolean"},"weight_loss_ge_5pct":{"description":"Weight loss ≥5% at or within 3 months of LEMS onset (Titulaer 2011 L). true or false. Caller-assigned. 1 point if true.","type":"boolean"}},"required":["sex","age","bulbar_weakness","weight_loss_ge_5pct","smoking_at_onset","kps_lt_70"],"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},{"id":39443,"slug":"39443","resource":"https://api.magentlab.com/api/calc/bops","description":"Hesselgard 2007 Behavioural Observational Pain Scale from three caller-assigned 0-2 items (facial_expression, verbalization, body_position) using that paper's 0/1/2 descriptors. magent sums only (max 6) and does not observe the child. No named analgesic cutoff. Not a pain diagnosis or analgesic order. Not FLACC. Not Abbey.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"body_position":0,"facial_expression":0,"verbalization":0},{"body_position":0,"facial_expression":0,"verbalization":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"body_position":0,"citation":{"authors":"Hesselgard K, Larsson S, Romner B, Strömblad LG, Reinstrup P","doi":"10.1097/01.PCC.0000257098.32268.aa","id":"hesselgard-2007","pmid":"17273124","source":"Pediatr Crit Care Med. 2007;8(2):102-108","title":"Validity and reliability of the Behavioural Observational Pain Scale for postoperative pain measurement in children 1-7 years of age"},"components":[{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"verbalization","points":0,"present":true,"value":0},{"factor":"body_position","points":0,"present":true,"value":0}],"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.","facial_expression":0,"formula":"bops","formula_expression":"BOPS = facial_expression + verbalization + body_position; each caller-assigned 0-2; max 6","max_score":6,"score":0,"verbalization":0},{"body_position":0,"citation":{"authors":"Hesselgard K, Larsson S, Romner B, Strömblad LG, Reinstrup P","doi":"10.1097/01.PCC.0000257098.32268.aa","id":"hesselgard-2007","pmid":"17273124","source":"Pediatr Crit Care Med. 2007;8(2):102-108","title":"Validity and reliability of the Behavioural Observational Pain Scale for postoperative pain measurement in children 1-7 years of age"},"components":[{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"verbalization","points":0,"present":true,"value":0},{"factor":"body_position","points":0,"present":true,"value":0}],"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.","facial_expression":0,"formula":"bops","formula_expression":"BOPS = facial_expression + verbalization + body_position; each caller-assigned 0-2; max 6","max_score":6,"score":0,"verbalization":0}],"path":"/api/calc/bops"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"body_position":{"description":"Caller-assigned Hesselgard 2007 BOPS body position (integer 0-2): 0 inactive, lying relaxed with all extremities or sitting/walking; 1 restless movements, shifting, and/or touching the wound area; 2 lying rigid and/or drawn up with arms and legs close to the body. magent does not observe the child.","type":"integer"},"facial_expression":{"description":"Caller-assigned Hesselgard 2007 BOPS facial expression (integer 0-2): 0 neutral/positive composed; 1 negative/concerned; 2 grimacing/distorted. magent does not observe the child.","type":"integer"},"verbalization":{"description":"Caller-assigned Hesselgard 2007 BOPS verbalization (integer 0-2): 0 normal conversation/laughing/crowing; 1 completely quiet, sobbing, and/or complaining not because of pain; 2 crying, screaming, and/or complaining about pain. magent does not observe the child.","type":"integer"}},"required":["facial_expression","verbalization","body_position"],"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":["bops","pain","pediatric","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:51:58.903Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:51:58.778Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"body_position":0,"facial_expression":0,"verbalization":0},{"body_position":0,"facial_expression":0,"verbalization":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"body_position":0,"citation":{"authors":"Hesselgard K, Larsson S, Romner B, Strömblad LG, Reinstrup P","doi":"10.1097/01.PCC.0000257098.32268.aa","id":"hesselgard-2007","pmid":"17273124","source":"Pediatr Crit Care Med. 2007;8(2):102-108","title":"Validity and reliability of the Behavioural Observational Pain Scale for postoperative pain measurement in children 1-7 years of age"},"components":[{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"verbalization","points":0,"present":true,"value":0},{"factor":"body_position","points":0,"present":true,"value":0}],"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.","facial_expression":0,"formula":"bops","formula_expression":"BOPS = facial_expression + verbalization + body_position; each caller-assigned 0-2; max 6","max_score":6,"score":0,"verbalization":0},{"body_position":0,"citation":{"authors":"Hesselgard K, Larsson S, Romner B, Strömblad LG, Reinstrup P","doi":"10.1097/01.PCC.0000257098.32268.aa","id":"hesselgard-2007","pmid":"17273124","source":"Pediatr Crit Care Med. 2007;8(2):102-108","title":"Validity and reliability of the Behavioural Observational Pain Scale for postoperative pain measurement in children 1-7 years of age"},"components":[{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"verbalization","points":0,"present":true,"value":0},{"factor":"body_position","points":0,"present":true,"value":0}],"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.","facial_expression":0,"formula":"bops","formula_expression":"BOPS = facial_expression + verbalization + body_position; each caller-assigned 0-2; max 6","max_score":6,"score":0,"verbalization":0}],"path":"/api/calc/bops"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"body_position":{"description":"Caller-assigned Hesselgard 2007 BOPS body position (integer 0-2): 0 inactive, lying relaxed with all extremities or sitting/walking; 1 restless movements, shifting, and/or touching the wound area; 2 lying rigid and/or drawn up with arms and legs close to the body. magent does not observe the child.","type":"integer"},"facial_expression":{"description":"Caller-assigned Hesselgard 2007 BOPS facial expression (integer 0-2): 0 neutral/positive composed; 1 negative/concerned; 2 grimacing/distorted. magent does not observe the child.","type":"integer"},"verbalization":{"description":"Caller-assigned Hesselgard 2007 BOPS verbalization (integer 0-2): 0 normal conversation/laughing/crowing; 1 completely quiet, sobbing, and/or complaining not because of pain; 2 crying, screaming, and/or complaining about pain. magent does not observe the child.","type":"integer"}},"required":["facial_expression","verbalization","body_position"],"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},{"id":39444,"slug":"39444","resource":"https://api.magentlab.com/api/calc/nvps","description":"Odhner 2003 original NVPS from five caller-assigned 0-2 items (face, activity, guarding, physiologic_i vital signs, physiologic_ii autonomic) using that paper's 0/1/2 descriptors. magent sums only (max 10) and does not observe the patient. Not the later NVPS-R respiratory revision. No invented intensity cutoffs. Not a pain diagnosis or analgesic order. Not BPS. Not FLACC.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"activity":0,"face":0,"guarding":0,"physiologic_i":0,"physiologic_ii":0},{"activity":0,"face":0,"guarding":0,"physiologic_i":0,"physiologic_ii":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"activity":0,"citation":{"authors":"Odhner M, Wegman D, Freeland N, Steinmetz A, Ingersoll GL","doi":"10.1097/00003465-200311000-00010","id":"odhner-2003","pmid":"14639117","source":"Dimens Crit Care Nurs. 2003;22(6):260-267","title":"Assessing pain control in nonverbal critically ill adults"},"components":[{"factor":"face","points":0,"present":true,"value":0},{"factor":"activity","points":0,"present":true,"value":0},{"factor":"guarding","points":0,"present":true,"value":0},{"factor":"physiologic_i","points":0,"present":true,"value":0},{"factor":"physiologic_ii","points":0,"present":true,"value":0}],"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.","face":0,"formula":"nvps","formula_expression":"NVPS = face + activity + guarding + physiologic_i + physiologic_ii; each caller-assigned 0-2; max 10","guarding":0,"max_score":10,"physiologic_i":0,"physiologic_ii":0,"score":0},{"activity":0,"citation":{"authors":"Odhner M, Wegman D, Freeland N, Steinmetz A, Ingersoll GL","doi":"10.1097/00003465-200311000-00010","id":"odhner-2003","pmid":"14639117","source":"Dimens Crit Care Nurs. 2003;22(6):260-267","title":"Assessing pain control in nonverbal critically ill adults"},"components":[{"factor":"face","points":0,"present":true,"value":0},{"factor":"activity","points":0,"present":true,"value":0},{"factor":"guarding","points":0,"present":true,"value":0},{"factor":"physiologic_i","points":0,"present":true,"value":0},{"factor":"physiologic_ii","points":0,"present":true,"value":0}],"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.","face":0,"formula":"nvps","formula_expression":"NVPS = face + activity + guarding + physiologic_i + physiologic_ii; each caller-assigned 0-2; max 10","guarding":0,"max_score":10,"physiologic_i":0,"physiologic_ii":0,"score":0}],"path":"/api/calc/nvps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity":{"description":"Caller-assigned Odhner 2003 original NVPS activity/movement (integer 0-2): 0 lying quietly, normal position; 1 seeking attention through movement or slow, cautious movement; 2 restless, excessive activity and/or withdrawal reflexes. magent does not observe the patient.","type":"integer"},"face":{"description":"Caller-assigned Odhner 2003 original NVPS face (integer 0-2): 0 no particular expression or smile; 1 occasional grimace, tearing, frowning, wrinkled forehead; 2 frequent grimace, tearing, frowning, wrinkled forehead. magent does not observe the patient.","type":"integer"},"guarding":{"description":"Caller-assigned Odhner 2003 original NVPS guarding (integer 0-2): 0 lying quietly, no positioning of hands over areas of the body; 1 splinting areas of the body, tense; 2 rigid, stiff. magent does not observe the patient.","type":"integer"},"physiologic_i":{"description":"Caller-assigned Odhner 2003 original NVPS physiologic I vital signs (integer 0-2): 0 stable vital signs (no change in past 4 h vs baseline BP/HR/RR); 1 change over past 4 h in SBP >20 mmHg or HR >20/min or RR >10/min; 2 change over past 4 h in SBP >30 mmHg or HR >25/min or RR >20/min. magent does not observe the patient.","type":"integer"},"physiologic_ii":{"description":"Caller-assigned Odhner 2003 original NVPS physiologic II autonomic (integer 0-2): 0 warm, dry skin; 1 dilated pupils, perspiring, flushing; 2 diaphoretic, pallor. Not the later NVPS-R respiratory category. magent does not observe the patient.","type":"integer"}},"required":["face","activity","guarding","physiologic_i","physiologic_ii"],"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":["nvps","pain","neurology","icu","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:51:51.617Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:51:51.489Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"activity":0,"face":0,"guarding":0,"physiologic_i":0,"physiologic_ii":0},{"activity":0,"face":0,"guarding":0,"physiologic_i":0,"physiologic_ii":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"activity":0,"citation":{"authors":"Odhner M, Wegman D, Freeland N, Steinmetz A, Ingersoll GL","doi":"10.1097/00003465-200311000-00010","id":"odhner-2003","pmid":"14639117","source":"Dimens Crit Care Nurs. 2003;22(6):260-267","title":"Assessing pain control in nonverbal critically ill adults"},"components":[{"factor":"face","points":0,"present":true,"value":0},{"factor":"activity","points":0,"present":true,"value":0},{"factor":"guarding","points":0,"present":true,"value":0},{"factor":"physiologic_i","points":0,"present":true,"value":0},{"factor":"physiologic_ii","points":0,"present":true,"value":0}],"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.","face":0,"formula":"nvps","formula_expression":"NVPS = face + activity + guarding + physiologic_i + physiologic_ii; each caller-assigned 0-2; max 10","guarding":0,"max_score":10,"physiologic_i":0,"physiologic_ii":0,"score":0},{"activity":0,"citation":{"authors":"Odhner M, Wegman D, Freeland N, Steinmetz A, Ingersoll GL","doi":"10.1097/00003465-200311000-00010","id":"odhner-2003","pmid":"14639117","source":"Dimens Crit Care Nurs. 2003;22(6):260-267","title":"Assessing pain control in nonverbal critically ill adults"},"components":[{"factor":"face","points":0,"present":true,"value":0},{"factor":"activity","points":0,"present":true,"value":0},{"factor":"guarding","points":0,"present":true,"value":0},{"factor":"physiologic_i","points":0,"present":true,"value":0},{"factor":"physiologic_ii","points":0,"present":true,"value":0}],"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.","face":0,"formula":"nvps","formula_expression":"NVPS = face + activity + guarding + physiologic_i + physiologic_ii; each caller-assigned 0-2; max 10","guarding":0,"max_score":10,"physiologic_i":0,"physiologic_ii":0,"score":0}],"path":"/api/calc/nvps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity":{"description":"Caller-assigned Odhner 2003 original NVPS activity/movement (integer 0-2): 0 lying quietly, normal position; 1 seeking attention through movement or slow, cautious movement; 2 restless, excessive activity and/or withdrawal reflexes. magent does not observe the patient.","type":"integer"},"face":{"description":"Caller-assigned Odhner 2003 original NVPS face (integer 0-2): 0 no particular expression or smile; 1 occasional grimace, tearing, frowning, wrinkled forehead; 2 frequent grimace, tearing, frowning, wrinkled forehead. magent does not observe the patient.","type":"integer"},"guarding":{"description":"Caller-assigned Odhner 2003 original NVPS guarding (integer 0-2): 0 lying quietly, no positioning of hands over areas of the body; 1 splinting areas of the body, tense; 2 rigid, stiff. magent does not observe the patient.","type":"integer"},"physiologic_i":{"description":"Caller-assigned Odhner 2003 original NVPS physiologic I vital signs (integer 0-2): 0 stable vital signs (no change in past 4 h vs baseline BP/HR/RR); 1 change over past 4 h in SBP >20 mmHg or HR >20/min or RR >10/min; 2 change over past 4 h in SBP >30 mmHg or HR >25/min or RR >20/min. magent does not observe the patient.","type":"integer"},"physiologic_ii":{"description":"Caller-assigned Odhner 2003 original NVPS physiologic II autonomic (integer 0-2): 0 warm, dry skin; 1 dilated pupils, perspiring, flushing; 2 diaphoretic, pallor. Not the later NVPS-R respiratory category. magent does not observe the patient.","type":"integer"}},"required":["face","activity","guarding","physiologic_i","physiologic_ii"],"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},{"id":39445,"slug":"39445","resource":"https://api.magentlab.com/api/calc/bps","description":"Payen 2001 Behavioral Pain Scale from three caller-assigned 1-4 items (facial_expression, upper_limbs, ventilator_compliance) using that paper's Table 1 descriptors. magent sums only (range 3-12) and does not observe the patient. No later pain-present cutoffs. Not a pain diagnosis or analgesic order. Not CPOT (CPOT items are 0-2).","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"facial_expression":1,"upper_limbs":1,"ventilator_compliance":1},{"facial_expression":1,"upper_limbs":1,"ventilator_compliance":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Payen JF, Bru O, Bosson JL, Lagrasta A, Novel E, Deschaux I, Lavagne P, Jacquot C","doi":"10.1097/00003246-200112000-00004","id":"payen-2001","pmid":"11700385","source":"Crit Care Med. 2001;29(12):2258-2263","title":"Assessing pain in critically ill sedated patients by using a behavioral pain scale"},"components":[{"factor":"facial_expression","points":1,"present":true,"value":1},{"factor":"upper_limbs","points":1,"present":true,"value":1},{"factor":"ventilator_compliance","points":1,"present":true,"value":1}],"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.","facial_expression":1,"formula":"bps","formula_expression":"BPS = facial_expression + upper_limbs + ventilator_compliance; each caller-assigned 1-4; range 3-12","max_score":12,"score":3,"upper_limbs":1,"ventilator_compliance":1},{"citation":{"authors":"Payen JF, Bru O, Bosson JL, Lagrasta A, Novel E, Deschaux I, Lavagne P, Jacquot C","doi":"10.1097/00003246-200112000-00004","id":"payen-2001","pmid":"11700385","source":"Crit Care Med. 2001;29(12):2258-2263","title":"Assessing pain in critically ill sedated patients by using a behavioral pain scale"},"components":[{"factor":"facial_expression","points":1,"present":true,"value":1},{"factor":"upper_limbs","points":1,"present":true,"value":1},{"factor":"ventilator_compliance","points":1,"present":true,"value":1}],"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.","facial_expression":1,"formula":"bps","formula_expression":"BPS = facial_expression + upper_limbs + ventilator_compliance; each caller-assigned 1-4; range 3-12","max_score":12,"score":3,"upper_limbs":1,"ventilator_compliance":1}],"path":"/api/calc/bps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"facial_expression":{"description":"Caller-assigned Payen 2001 BPS facial expression (integer 1-4): 1 relaxed; 2 partially tightened (e.g. brow lowering); 3 fully tightened (e.g. eyelid closing); 4 grimacing. magent does not observe the patient.","type":"integer"},"upper_limbs":{"description":"Caller-assigned Payen 2001 BPS upper limbs (integer 1-4): 1 no movement; 2 partially bent; 3 fully bent with finger flexion; 4 permanently retracted. magent does not observe the patient.","type":"integer"},"ventilator_compliance":{"description":"Caller-assigned Payen 2001 BPS compliance with ventilation (integer 1-4): 1 tolerating movement; 2 coughing but tolerating ventilation most of the time; 3 fighting ventilator; 4 unable to control ventilation. magent does not observe the patient.","type":"integer"}},"required":["facial_expression","upper_limbs","ventilator_compliance"],"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":["bps","pain","icu","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:51:44.684Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:51:44.561Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"facial_expression":1,"upper_limbs":1,"ventilator_compliance":1},{"facial_expression":1,"upper_limbs":1,"ventilator_compliance":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Payen JF, Bru O, Bosson JL, Lagrasta A, Novel E, Deschaux I, Lavagne P, Jacquot C","doi":"10.1097/00003246-200112000-00004","id":"payen-2001","pmid":"11700385","source":"Crit Care Med. 2001;29(12):2258-2263","title":"Assessing pain in critically ill sedated patients by using a behavioral pain scale"},"components":[{"factor":"facial_expression","points":1,"present":true,"value":1},{"factor":"upper_limbs","points":1,"present":true,"value":1},{"factor":"ventilator_compliance","points":1,"present":true,"value":1}],"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.","facial_expression":1,"formula":"bps","formula_expression":"BPS = facial_expression + upper_limbs + ventilator_compliance; each caller-assigned 1-4; range 3-12","max_score":12,"score":3,"upper_limbs":1,"ventilator_compliance":1},{"citation":{"authors":"Payen JF, Bru O, Bosson JL, Lagrasta A, Novel E, Deschaux I, Lavagne P, Jacquot C","doi":"10.1097/00003246-200112000-00004","id":"payen-2001","pmid":"11700385","source":"Crit Care Med. 2001;29(12):2258-2263","title":"Assessing pain in critically ill sedated patients by using a behavioral pain scale"},"components":[{"factor":"facial_expression","points":1,"present":true,"value":1},{"factor":"upper_limbs","points":1,"present":true,"value":1},{"factor":"ventilator_compliance","points":1,"present":true,"value":1}],"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.","facial_expression":1,"formula":"bps","formula_expression":"BPS = facial_expression + upper_limbs + ventilator_compliance; each caller-assigned 1-4; range 3-12","max_score":12,"score":3,"upper_limbs":1,"ventilator_compliance":1}],"path":"/api/calc/bps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"facial_expression":{"description":"Caller-assigned Payen 2001 BPS facial expression (integer 1-4): 1 relaxed; 2 partially tightened (e.g. brow lowering); 3 fully tightened (e.g. eyelid closing); 4 grimacing. magent does not observe the patient.","type":"integer"},"upper_limbs":{"description":"Caller-assigned Payen 2001 BPS upper limbs (integer 1-4): 1 no movement; 2 partially bent; 3 fully bent with finger flexion; 4 permanently retracted. magent does not observe the patient.","type":"integer"},"ventilator_compliance":{"description":"Caller-assigned Payen 2001 BPS compliance with ventilation (integer 1-4): 1 tolerating movement; 2 coughing but tolerating ventilation most of the time; 3 fighting ventilator; 4 unable to control ventilation. magent does not observe the patient.","type":"integer"}},"required":["facial_expression","upper_limbs","ventilator_compliance"],"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},{"id":39446,"slug":"39446","resource":"https://api.magentlab.com/api/calc/flacc","description":"Merkel 1997 FLACC from five caller-assigned 0-2 items (face, legs, activity, cry, consolability) using that paper's 0/1/2 descriptors. magent sums only (max 10) and does not observe the child. No later intensity cutoffs. Not a pain diagnosis or analgesic order. Not PAINAD.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"activity":0,"consolability":0,"cry":0,"face":0,"legs":0},{"activity":0,"consolability":0,"cry":0,"face":0,"legs":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"activity":0,"citation":{"authors":"Merkel SI, Voepel-Lewis T, Shayevitz JR, Malviya S","id":"merkel-1997","pmid":"9220806","source":"Pediatr Nurs. 1997;23(3):293-297","title":"The FLACC: a behavioral scale for scoring postoperative pain in young children"},"components":[{"factor":"face","points":0,"present":true,"value":0},{"factor":"legs","points":0,"present":true,"value":0},{"factor":"activity","points":0,"present":true,"value":0},{"factor":"cry","points":0,"present":true,"value":0},{"factor":"consolability","points":0,"present":true,"value":0}],"consolability":0,"cry":0,"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.","face":0,"formula":"flacc","formula_expression":"FLACC = face + legs + activity + cry + consolability; each caller-assigned 0-2; max 10","legs":0,"max_score":10,"score":0},{"activity":0,"citation":{"authors":"Merkel SI, Voepel-Lewis T, Shayevitz JR, Malviya S","id":"merkel-1997","pmid":"9220806","source":"Pediatr Nurs. 1997;23(3):293-297","title":"The FLACC: a behavioral scale for scoring postoperative pain in young children"},"components":[{"factor":"face","points":0,"present":true,"value":0},{"factor":"legs","points":0,"present":true,"value":0},{"factor":"activity","points":0,"present":true,"value":0},{"factor":"cry","points":0,"present":true,"value":0},{"factor":"consolability","points":0,"present":true,"value":0}],"consolability":0,"cry":0,"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.","face":0,"formula":"flacc","formula_expression":"FLACC = face + legs + activity + cry + consolability; each caller-assigned 0-2; max 10","legs":0,"max_score":10,"score":0}],"path":"/api/calc/flacc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity":{"description":"Caller-assigned Merkel 1997 FLACC activity (integer 0-2): 0 lying quietly, normal position, moves easily; 1 squirming, shifting back and forth, tense; 2 arched, rigid or jerking. magent does not observe the child.","type":"integer"},"consolability":{"description":"Caller-assigned Merkel 1997 FLACC consolability (integer 0-2): 0 content and relaxed; 1 reassured by occasional touching, hugging or being talked to, distractible; 2 difficult to console or comfort. magent does not observe the child.","type":"integer"},"cry":{"description":"Caller-assigned Merkel 1997 FLACC cry (integer 0-2): 0 no cry (awake or asleep); 1 moans or whimpers, occasional complaint; 2 crying steadily, screams or sobs, frequent complaints. magent does not observe the child.","type":"integer"},"face":{"description":"Caller-assigned Merkel 1997 FLACC face (integer 0-2): 0 no particular expression or smile; 1 occasional grimace/frown, withdrawn or disinterested; 2 frequent/constant quivering chin, clenched jaw. magent does not observe the child.","type":"integer"},"legs":{"description":"Caller-assigned Merkel 1997 FLACC legs (integer 0-2): 0 normal position or relaxed; 1 uneasy, restless, tense; 2 kicking or legs drawn up. magent does not observe the child.","type":"integer"}},"required":["face","legs","activity","cry","consolability"],"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":["flacc","pain","pediatric","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:51:30.659Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:51:30.53Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"activity":0,"consolability":0,"cry":0,"face":0,"legs":0},{"activity":0,"consolability":0,"cry":0,"face":0,"legs":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"activity":0,"citation":{"authors":"Merkel SI, Voepel-Lewis T, Shayevitz JR, Malviya S","id":"merkel-1997","pmid":"9220806","source":"Pediatr Nurs. 1997;23(3):293-297","title":"The FLACC: a behavioral scale for scoring postoperative pain in young children"},"components":[{"factor":"face","points":0,"present":true,"value":0},{"factor":"legs","points":0,"present":true,"value":0},{"factor":"activity","points":0,"present":true,"value":0},{"factor":"cry","points":0,"present":true,"value":0},{"factor":"consolability","points":0,"present":true,"value":0}],"consolability":0,"cry":0,"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.","face":0,"formula":"flacc","formula_expression":"FLACC = face + legs + activity + cry + consolability; each caller-assigned 0-2; max 10","legs":0,"max_score":10,"score":0},{"activity":0,"citation":{"authors":"Merkel SI, Voepel-Lewis T, Shayevitz JR, Malviya S","id":"merkel-1997","pmid":"9220806","source":"Pediatr Nurs. 1997;23(3):293-297","title":"The FLACC: a behavioral scale for scoring postoperative pain in young children"},"components":[{"factor":"face","points":0,"present":true,"value":0},{"factor":"legs","points":0,"present":true,"value":0},{"factor":"activity","points":0,"present":true,"value":0},{"factor":"cry","points":0,"present":true,"value":0},{"factor":"consolability","points":0,"present":true,"value":0}],"consolability":0,"cry":0,"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.","face":0,"formula":"flacc","formula_expression":"FLACC = face + legs + activity + cry + consolability; each caller-assigned 0-2; max 10","legs":0,"max_score":10,"score":0}],"path":"/api/calc/flacc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"activity":{"description":"Caller-assigned Merkel 1997 FLACC activity (integer 0-2): 0 lying quietly, normal position, moves easily; 1 squirming, shifting back and forth, tense; 2 arched, rigid or jerking. magent does not observe the child.","type":"integer"},"consolability":{"description":"Caller-assigned Merkel 1997 FLACC consolability (integer 0-2): 0 content and relaxed; 1 reassured by occasional touching, hugging or being talked to, distractible; 2 difficult to console or comfort. magent does not observe the child.","type":"integer"},"cry":{"description":"Caller-assigned Merkel 1997 FLACC cry (integer 0-2): 0 no cry (awake or asleep); 1 moans or whimpers, occasional complaint; 2 crying steadily, screams or sobs, frequent complaints. magent does not observe the child.","type":"integer"},"face":{"description":"Caller-assigned Merkel 1997 FLACC face (integer 0-2): 0 no particular expression or smile; 1 occasional grimace/frown, withdrawn or disinterested; 2 frequent/constant quivering chin, clenched jaw. magent does not observe the child.","type":"integer"},"legs":{"description":"Caller-assigned Merkel 1997 FLACC legs (integer 0-2): 0 normal position or relaxed; 1 uneasy, restless, tense; 2 kicking or legs drawn up. magent does not observe the child.","type":"integer"}},"required":["face","legs","activity","cry","consolability"],"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},{"id":39447,"slug":"39447","resource":"https://api.magentlab.com/api/calc/abbey","description":"Abbey 2004 observational pain scale from six caller-assigned 0-3 items (vocalization, facial_expression, change_in_body_language, behavioural_change, physiological_change, physical_changes) using that paper's absent/mild/moderate/severe descriptors. magent sums only (max 18) and returns Abbey 2004 bands: 0-2 none, 3-7 mild, 8-13 moderate, 14+ severe. magent does not observe the patient. Not a pain diagnosis or analgesic order. Not PAINAD.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"behavioural_change":0,"change_in_body_language":0,"facial_expression":0,"physical_changes":0,"physiological_change":0,"vocalization":0},{"behavioural_change":0,"change_in_body_language":0,"facial_expression":0,"physical_changes":0,"physiological_change":0,"vocalization":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Abbey J, Piller N, De Bellis A, Esterman A, Parker D, Giles L, Lowcay B","doi":"10.12968/ijpn.2004.10.1.12013","id":"abbey-2004","pmid":"14966439","source":"Int J Palliat Nurs. 2004;10(1):6-13","title":"The Abbey pain scale: a 1-minute numerical indicator for people with end-stage dementia"},"components":[{"factor":"vocalization","points":0,"present":true,"value":0},{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"change_in_body_language","points":0,"present":true,"value":0},{"factor":"behavioural_change","points":0,"present":true,"value":0},{"factor":"physiological_change","points":0,"present":true,"value":0},{"factor":"physical_changes","points":0,"present":true,"value":0}],"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":"abbey","formula_expression":"Abbey = vocalization + facial_expression + change_in_body_language + behavioural_change + physiological_change + physical_changes; each caller-assigned 0-3 (absent/mild/moderate/severe); max 18; Abbey 2004 bands 0-2 none, 3-7 mild, 8-13 moderate, 14+ severe","max_score":18,"score":0,"severity":"none"},{"citation":{"authors":"Abbey J, Piller N, De Bellis A, Esterman A, Parker D, Giles L, Lowcay B","doi":"10.12968/ijpn.2004.10.1.12013","id":"abbey-2004","pmid":"14966439","source":"Int J Palliat Nurs. 2004;10(1):6-13","title":"The Abbey pain scale: a 1-minute numerical indicator for people with end-stage dementia"},"components":[{"factor":"vocalization","points":0,"present":true,"value":0},{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"change_in_body_language","points":0,"present":true,"value":0},{"factor":"behavioural_change","points":0,"present":true,"value":0},{"factor":"physiological_change","points":0,"present":true,"value":0},{"factor":"physical_changes","points":0,"present":true,"value":0}],"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":"abbey","formula_expression":"Abbey = vocalization + facial_expression + change_in_body_language + behavioural_change + physiological_change + physical_changes; each caller-assigned 0-3 (absent/mild/moderate/severe); max 18; Abbey 2004 bands 0-2 none, 3-7 mild, 8-13 moderate, 14+ severe","max_score":18,"score":0,"severity":"none"}],"path":"/api/calc/abbey"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"behavioural_change":{"description":"Caller-assigned Abbey 2004 behavioural change (integer 0-3): 0 absent; 1 mild; 2 moderate; 3 severe. Paper examples: increased confusion, refusing to eat, alteration in usual patterns. magent does not observe the patient.","type":"integer"},"change_in_body_language":{"description":"Caller-assigned Abbey 2004 change in body language (integer 0-3): 0 absent; 1 mild; 2 moderate; 3 severe. Paper examples: fidgeting, rocking, guarding part of body, withdrawn. magent does not observe the patient.","type":"integer"},"facial_expression":{"description":"Caller-assigned Abbey 2004 facial expression (integer 0-3): 0 absent; 1 mild; 2 moderate; 3 severe. Paper examples: looking tense, frowning, grimacing, looking frightened. magent does not observe the patient.","type":"integer"},"physical_changes":{"description":"Caller-assigned Abbey 2004 physical changes (integer 0-3): 0 absent; 1 mild; 2 moderate; 3 severe. Paper examples: skin tears, pressure areas, arthritis, contractures, previous injuries. magent does not observe the patient.","type":"integer"},"physiological_change":{"description":"Caller-assigned Abbey 2004 physiological change (integer 0-3): 0 absent; 1 mild; 2 moderate; 3 severe. Paper examples: temperature, pulse or blood pressure outside normal limits, perspiring, flushing or pallor. magent does not observe the patient.","type":"integer"},"vocalization":{"description":"Caller-assigned Abbey 2004 vocalization (integer 0-3): 0 absent; 1 mild; 2 moderate; 3 severe. Paper examples: whimpering, groaning, crying. magent does not observe the patient.","type":"integer"}},"required":["vocalization","facial_expression","change_in_body_language","behavioural_change","physiological_change","physical_changes"],"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":["abbey","pain","dementia","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:51:23.776Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:51:23.636Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"behavioural_change":0,"change_in_body_language":0,"facial_expression":0,"physical_changes":0,"physiological_change":0,"vocalization":0},{"behavioural_change":0,"change_in_body_language":0,"facial_expression":0,"physical_changes":0,"physiological_change":0,"vocalization":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Abbey J, Piller N, De Bellis A, Esterman A, Parker D, Giles L, Lowcay B","doi":"10.12968/ijpn.2004.10.1.12013","id":"abbey-2004","pmid":"14966439","source":"Int J Palliat Nurs. 2004;10(1):6-13","title":"The Abbey pain scale: a 1-minute numerical indicator for people with end-stage dementia"},"components":[{"factor":"vocalization","points":0,"present":true,"value":0},{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"change_in_body_language","points":0,"present":true,"value":0},{"factor":"behavioural_change","points":0,"present":true,"value":0},{"factor":"physiological_change","points":0,"present":true,"value":0},{"factor":"physical_changes","points":0,"present":true,"value":0}],"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":"abbey","formula_expression":"Abbey = vocalization + facial_expression + change_in_body_language + behavioural_change + physiological_change + physical_changes; each caller-assigned 0-3 (absent/mild/moderate/severe); max 18; Abbey 2004 bands 0-2 none, 3-7 mild, 8-13 moderate, 14+ severe","max_score":18,"score":0,"severity":"none"},{"citation":{"authors":"Abbey J, Piller N, De Bellis A, Esterman A, Parker D, Giles L, Lowcay B","doi":"10.12968/ijpn.2004.10.1.12013","id":"abbey-2004","pmid":"14966439","source":"Int J Palliat Nurs. 2004;10(1):6-13","title":"The Abbey pain scale: a 1-minute numerical indicator for people with end-stage dementia"},"components":[{"factor":"vocalization","points":0,"present":true,"value":0},{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"change_in_body_language","points":0,"present":true,"value":0},{"factor":"behavioural_change","points":0,"present":true,"value":0},{"factor":"physiological_change","points":0,"present":true,"value":0},{"factor":"physical_changes","points":0,"present":true,"value":0}],"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":"abbey","formula_expression":"Abbey = vocalization + facial_expression + change_in_body_language + behavioural_change + physiological_change + physical_changes; each caller-assigned 0-3 (absent/mild/moderate/severe); max 18; Abbey 2004 bands 0-2 none, 3-7 mild, 8-13 moderate, 14+ severe","max_score":18,"score":0,"severity":"none"}],"path":"/api/calc/abbey"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"behavioural_change":{"description":"Caller-assigned Abbey 2004 behavioural change (integer 0-3): 0 absent; 1 mild; 2 moderate; 3 severe. Paper examples: increased confusion, refusing to eat, alteration in usual patterns. magent does not observe the patient.","type":"integer"},"change_in_body_language":{"description":"Caller-assigned Abbey 2004 change in body language (integer 0-3): 0 absent; 1 mild; 2 moderate; 3 severe. Paper examples: fidgeting, rocking, guarding part of body, withdrawn. magent does not observe the patient.","type":"integer"},"facial_expression":{"description":"Caller-assigned Abbey 2004 facial expression (integer 0-3): 0 absent; 1 mild; 2 moderate; 3 severe. Paper examples: looking tense, frowning, grimacing, looking frightened. magent does not observe the patient.","type":"integer"},"physical_changes":{"description":"Caller-assigned Abbey 2004 physical changes (integer 0-3): 0 absent; 1 mild; 2 moderate; 3 severe. Paper examples: skin tears, pressure areas, arthritis, contractures, previous injuries. magent does not observe the patient.","type":"integer"},"physiological_change":{"description":"Caller-assigned Abbey 2004 physiological change (integer 0-3): 0 absent; 1 mild; 2 moderate; 3 severe. Paper examples: temperature, pulse or blood pressure outside normal limits, perspiring, flushing or pallor. magent does not observe the patient.","type":"integer"},"vocalization":{"description":"Caller-assigned Abbey 2004 vocalization (integer 0-3): 0 absent; 1 mild; 2 moderate; 3 severe. Paper examples: whimpering, groaning, crying. magent does not observe the patient.","type":"integer"}},"required":["vocalization","facial_expression","change_in_body_language","behavioural_change","physiological_change","physical_changes"],"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},{"id":39448,"slug":"39448","resource":"https://api.magentlab.com/api/calc/nps","description":"Galer 1997 Neuropathic Pain Scale from ten caller-assigned 0-10 items (intensity, sharpness, heat, dullness, cold, sensitive, itchy, unpleasantness, deep_pain, surface_pain; Table 1 Intense, Sharp, Hot, Dull, Cold, Sensitive, Itchy, Unpleasant, Deep, Surface). magent sums those items only (max 100) and does not interview the patient. Galer 1997 printed no diagnostic cutoff for that sum. Not a neuropathy diagnosis or treatment order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cold":0,"deep_pain":0,"dullness":0,"heat":0,"intensity":0,"itchy":0,"sensitive":0,"sharpness":0,"surface_pain":0,"unpleasantness":0},{"cold":0,"deep_pain":0,"dullness":0,"heat":0,"intensity":0,"itchy":0,"sensitive":0,"sharpness":0,"surface_pain":0,"unpleasantness":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Galer BS, Jensen MP","doi":"10.1212/WNL.48.2.332","id":"galer-1997-nps","pmid":"9040716","source":"Neurology. 1997;48:332-338","title":"Development and preliminary validation of a pain measure specific to neuropathic pain: the Neuropathic Pain Scale"},"components":[{"factor":"intensity","points":0,"present":true,"value":0},{"factor":"sharpness","points":0,"present":true,"value":0},{"factor":"heat","points":0,"present":true,"value":0},{"factor":"dullness","points":0,"present":true,"value":0},{"factor":"cold","points":0,"present":true,"value":0},{"factor":"sensitive","points":0,"present":true,"value":0},{"factor":"itchy","points":0,"present":true,"value":0},{"factor":"unpleasantness","points":0,"present":true,"value":0},{"factor":"deep_pain","points":0,"present":true,"value":0},{"factor":"surface_pain","points":0,"present":true,"value":0}],"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":"nps","formula_expression":"NPS = intensity + sharpness + heat + dullness + cold + sensitive + itchy + unpleasantness + deep_pain + surface_pain; each caller-assigned 0-10; max 100; Galer 1997 Table 1 Intense, Sharp, Hot, Dull, Cold, Sensitive, Itchy, Unpleasant, Deep, Surface; no total-score cutoff","max_score":100,"score":0},{"citation":{"authors":"Galer BS, Jensen MP","doi":"10.1212/WNL.48.2.332","id":"galer-1997-nps","pmid":"9040716","source":"Neurology. 1997;48:332-338","title":"Development and preliminary validation of a pain measure specific to neuropathic pain: the Neuropathic Pain Scale"},"components":[{"factor":"intensity","points":0,"present":true,"value":0},{"factor":"sharpness","points":0,"present":true,"value":0},{"factor":"heat","points":0,"present":true,"value":0},{"factor":"dullness","points":0,"present":true,"value":0},{"factor":"cold","points":0,"present":true,"value":0},{"factor":"sensitive","points":0,"present":true,"value":0},{"factor":"itchy","points":0,"present":true,"value":0},{"factor":"unpleasantness","points":0,"present":true,"value":0},{"factor":"deep_pain","points":0,"present":true,"value":0},{"factor":"surface_pain","points":0,"present":true,"value":0}],"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":"nps","formula_expression":"NPS = intensity + sharpness + heat + dullness + cold + sensitive + itchy + unpleasantness + deep_pain + surface_pain; each caller-assigned 0-10; max 100; Galer 1997 Table 1 Intense, Sharp, Hot, Dull, Cold, Sensitive, Itchy, Unpleasant, Deep, Surface; no total-score cutoff","max_score":100,"score":0}],"path":"/api/calc/nps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cold":{"description":"Caller-assigned Galer 1997 NPS cold (integer 0-10; Table 1 Cold). magent does not interview the patient.","type":"integer"},"deep_pain":{"description":"Caller-assigned Galer 1997 NPS intensity of deep pain (integer 0-10; Table 1 Deep). magent does not interview the patient.","type":"integer"},"dullness":{"description":"Caller-assigned Galer 1997 NPS dullness (integer 0-10; Table 1 Dull). magent does not interview the patient.","type":"integer"},"heat":{"description":"Caller-assigned Galer 1997 NPS heat (integer 0-10; Table 1 Hot). magent does not interview the patient.","type":"integer"},"intensity":{"description":"Caller-assigned Galer 1997 NPS intensity (integer 0-10; Table 1 Intense). magent does not interview the patient.","type":"integer"},"itchy":{"description":"Caller-assigned Galer 1997 NPS itchy (integer 0-10; Table 1 Itchy). magent does not interview the patient.","type":"integer"},"sensitive":{"description":"Caller-assigned Galer 1997 NPS sensitive (integer 0-10; Table 1 Sensitive). magent does not interview the patient.","type":"integer"},"sharpness":{"description":"Caller-assigned Galer 1997 NPS sharpness (integer 0-10; Table 1 Sharp). magent does not interview the patient.","type":"integer"},"surface_pain":{"description":"Caller-assigned Galer 1997 NPS intensity of surface pain (integer 0-10; Table 1 Surface). magent does not interview the patient.","type":"integer"},"unpleasantness":{"description":"Caller-assigned Galer 1997 NPS overall unpleasantness (integer 0-10; Table 1 Unpleasant). magent does not interview the patient.","type":"integer"}},"required":["intensity","sharpness","heat","dullness","cold","sensitive","itchy","unpleasantness","deep_pain","surface_pain"],"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":["nps","neuropathic-pain","pain","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:51:16.552Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:51:16.423Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cold":0,"deep_pain":0,"dullness":0,"heat":0,"intensity":0,"itchy":0,"sensitive":0,"sharpness":0,"surface_pain":0,"unpleasantness":0},{"cold":0,"deep_pain":0,"dullness":0,"heat":0,"intensity":0,"itchy":0,"sensitive":0,"sharpness":0,"surface_pain":0,"unpleasantness":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Galer BS, Jensen MP","doi":"10.1212/WNL.48.2.332","id":"galer-1997-nps","pmid":"9040716","source":"Neurology. 1997;48:332-338","title":"Development and preliminary validation of a pain measure specific to neuropathic pain: the Neuropathic Pain Scale"},"components":[{"factor":"intensity","points":0,"present":true,"value":0},{"factor":"sharpness","points":0,"present":true,"value":0},{"factor":"heat","points":0,"present":true,"value":0},{"factor":"dullness","points":0,"present":true,"value":0},{"factor":"cold","points":0,"present":true,"value":0},{"factor":"sensitive","points":0,"present":true,"value":0},{"factor":"itchy","points":0,"present":true,"value":0},{"factor":"unpleasantness","points":0,"present":true,"value":0},{"factor":"deep_pain","points":0,"present":true,"value":0},{"factor":"surface_pain","points":0,"present":true,"value":0}],"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":"nps","formula_expression":"NPS = intensity + sharpness + heat + dullness + cold + sensitive + itchy + unpleasantness + deep_pain + surface_pain; each caller-assigned 0-10; max 100; Galer 1997 Table 1 Intense, Sharp, Hot, Dull, Cold, Sensitive, Itchy, Unpleasant, Deep, Surface; no total-score cutoff","max_score":100,"score":0},{"citation":{"authors":"Galer BS, Jensen MP","doi":"10.1212/WNL.48.2.332","id":"galer-1997-nps","pmid":"9040716","source":"Neurology. 1997;48:332-338","title":"Development and preliminary validation of a pain measure specific to neuropathic pain: the Neuropathic Pain Scale"},"components":[{"factor":"intensity","points":0,"present":true,"value":0},{"factor":"sharpness","points":0,"present":true,"value":0},{"factor":"heat","points":0,"present":true,"value":0},{"factor":"dullness","points":0,"present":true,"value":0},{"factor":"cold","points":0,"present":true,"value":0},{"factor":"sensitive","points":0,"present":true,"value":0},{"factor":"itchy","points":0,"present":true,"value":0},{"factor":"unpleasantness","points":0,"present":true,"value":0},{"factor":"deep_pain","points":0,"present":true,"value":0},{"factor":"surface_pain","points":0,"present":true,"value":0}],"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":"nps","formula_expression":"NPS = intensity + sharpness + heat + dullness + cold + sensitive + itchy + unpleasantness + deep_pain + surface_pain; each caller-assigned 0-10; max 100; Galer 1997 Table 1 Intense, Sharp, Hot, Dull, Cold, Sensitive, Itchy, Unpleasant, Deep, Surface; no total-score cutoff","max_score":100,"score":0}],"path":"/api/calc/nps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cold":{"description":"Caller-assigned Galer 1997 NPS cold (integer 0-10; Table 1 Cold). magent does not interview the patient.","type":"integer"},"deep_pain":{"description":"Caller-assigned Galer 1997 NPS intensity of deep pain (integer 0-10; Table 1 Deep). magent does not interview the patient.","type":"integer"},"dullness":{"description":"Caller-assigned Galer 1997 NPS dullness (integer 0-10; Table 1 Dull). magent does not interview the patient.","type":"integer"},"heat":{"description":"Caller-assigned Galer 1997 NPS heat (integer 0-10; Table 1 Hot). magent does not interview the patient.","type":"integer"},"intensity":{"description":"Caller-assigned Galer 1997 NPS intensity (integer 0-10; Table 1 Intense). magent does not interview the patient.","type":"integer"},"itchy":{"description":"Caller-assigned Galer 1997 NPS itchy (integer 0-10; Table 1 Itchy). magent does not interview the patient.","type":"integer"},"sensitive":{"description":"Caller-assigned Galer 1997 NPS sensitive (integer 0-10; Table 1 Sensitive). magent does not interview the patient.","type":"integer"},"sharpness":{"description":"Caller-assigned Galer 1997 NPS sharpness (integer 0-10; Table 1 Sharp). magent does not interview the patient.","type":"integer"},"surface_pain":{"description":"Caller-assigned Galer 1997 NPS intensity of surface pain (integer 0-10; Table 1 Surface). magent does not interview the patient.","type":"integer"},"unpleasantness":{"description":"Caller-assigned Galer 1997 NPS overall unpleasantness (integer 0-10; Table 1 Unpleasant). magent does not interview the patient.","type":"integer"}},"required":["intensity","sharpness","heat","dullness","cold","sensitive","itchy","unpleasantness","deep_pain","surface_pain"],"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},{"id":39449,"slug":"39449","resource":"https://api.magentlab.com/api/calc/painad","description":"Warden 2003 PAINAD from five caller-assigned 0-2 items (breathing, negative_vocalization, facial_expression, body_language, consolability) using that paper's 0/1/2 descriptors. magent sums only (max 10) and does not observe the patient. No later intensity cutoffs. Not a pain diagnosis or analgesic order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"body_language":0,"breathing":0,"consolability":0,"facial_expression":0,"negative_vocalization":0},{"body_language":0,"breathing":0,"consolability":0,"facial_expression":0,"negative_vocalization":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Warden V, Hurley AC, Volicer L","doi":"10.1097/01.JAM.0000043422.31640.F3","id":"warden-2003","pmid":"12807591","source":"J Am Med Dir Assoc. 2003;4(1):9-15","title":"Development and psychometric evaluation of the Pain Assessment in Advanced Dementia (PAINAD) scale"},"components":[{"factor":"breathing","points":0,"present":true,"value":0},{"factor":"negative_vocalization","points":0,"present":true,"value":0},{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"body_language","points":0,"present":true,"value":0},{"factor":"consolability","points":0,"present":true,"value":0}],"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":"painad","formula_expression":"PAINAD = breathing + negative_vocalization + facial_expression + body_language + consolability; each caller-assigned 0-2; max 10","max_score":10,"score":0},{"citation":{"authors":"Warden V, Hurley AC, Volicer L","doi":"10.1097/01.JAM.0000043422.31640.F3","id":"warden-2003","pmid":"12807591","source":"J Am Med Dir Assoc. 2003;4(1):9-15","title":"Development and psychometric evaluation of the Pain Assessment in Advanced Dementia (PAINAD) scale"},"components":[{"factor":"breathing","points":0,"present":true,"value":0},{"factor":"negative_vocalization","points":0,"present":true,"value":0},{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"body_language","points":0,"present":true,"value":0},{"factor":"consolability","points":0,"present":true,"value":0}],"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":"painad","formula_expression":"PAINAD = breathing + negative_vocalization + facial_expression + body_language + consolability; each caller-assigned 0-2; max 10","max_score":10,"score":0}],"path":"/api/calc/painad"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"body_language":{"description":"Caller-assigned Warden 2003 PAINAD body language (integer 0-2): 0 relaxed; 1 tense, distressed pacing, or fidgeting; 2 rigid, fists clenched, knees pulled up, pulling or pushing away, or striking out. magent does not observe the patient.","type":"integer"},"breathing":{"description":"Caller-assigned Warden 2003 PAINAD breathing independent of vocalization (integer 0-2): 0 normal; 1 occasional labored breathing or short period of hyperventilation; 2 noisy labored breathing, long period of hyperventilation, or Cheyne-Stokes respirations. magent does not observe the patient.","type":"integer"},"consolability":{"description":"Caller-assigned Warden 2003 PAINAD consolability (integer 0-2): 0 no need to console; 1 distracted or reassured by voice or touch; 2 unable to console, distract, or reassure. magent does not observe the patient.","type":"integer"},"facial_expression":{"description":"Caller-assigned Warden 2003 PAINAD facial expression (integer 0-2): 0 smiling or inexpressive; 1 sad, frightened, or frown; 2 facial grimacing. magent does not observe the patient.","type":"integer"},"negative_vocalization":{"description":"Caller-assigned Warden 2003 PAINAD negative vocalization (integer 0-2): 0 none; 1 occasional moan or groan, or low-level speech with a negative or disapproving quality; 2 repeated troubled calling out, loud moaning or groaning, or crying. magent does not observe the patient.","type":"integer"}},"required":["breathing","negative_vocalization","facial_expression","body_language","consolability"],"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":["painad","dementia","pain","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:51:09.336Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:51:09.2Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"body_language":0,"breathing":0,"consolability":0,"facial_expression":0,"negative_vocalization":0},{"body_language":0,"breathing":0,"consolability":0,"facial_expression":0,"negative_vocalization":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Warden V, Hurley AC, Volicer L","doi":"10.1097/01.JAM.0000043422.31640.F3","id":"warden-2003","pmid":"12807591","source":"J Am Med Dir Assoc. 2003;4(1):9-15","title":"Development and psychometric evaluation of the Pain Assessment in Advanced Dementia (PAINAD) scale"},"components":[{"factor":"breathing","points":0,"present":true,"value":0},{"factor":"negative_vocalization","points":0,"present":true,"value":0},{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"body_language","points":0,"present":true,"value":0},{"factor":"consolability","points":0,"present":true,"value":0}],"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":"painad","formula_expression":"PAINAD = breathing + negative_vocalization + facial_expression + body_language + consolability; each caller-assigned 0-2; max 10","max_score":10,"score":0},{"citation":{"authors":"Warden V, Hurley AC, Volicer L","doi":"10.1097/01.JAM.0000043422.31640.F3","id":"warden-2003","pmid":"12807591","source":"J Am Med Dir Assoc. 2003;4(1):9-15","title":"Development and psychometric evaluation of the Pain Assessment in Advanced Dementia (PAINAD) scale"},"components":[{"factor":"breathing","points":0,"present":true,"value":0},{"factor":"negative_vocalization","points":0,"present":true,"value":0},{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"body_language","points":0,"present":true,"value":0},{"factor":"consolability","points":0,"present":true,"value":0}],"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":"painad","formula_expression":"PAINAD = breathing + negative_vocalization + facial_expression + body_language + consolability; each caller-assigned 0-2; max 10","max_score":10,"score":0}],"path":"/api/calc/painad"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"body_language":{"description":"Caller-assigned Warden 2003 PAINAD body language (integer 0-2): 0 relaxed; 1 tense, distressed pacing, or fidgeting; 2 rigid, fists clenched, knees pulled up, pulling or pushing away, or striking out. magent does not observe the patient.","type":"integer"},"breathing":{"description":"Caller-assigned Warden 2003 PAINAD breathing independent of vocalization (integer 0-2): 0 normal; 1 occasional labored breathing or short period of hyperventilation; 2 noisy labored breathing, long period of hyperventilation, or Cheyne-Stokes respirations. magent does not observe the patient.","type":"integer"},"consolability":{"description":"Caller-assigned Warden 2003 PAINAD consolability (integer 0-2): 0 no need to console; 1 distracted or reassured by voice or touch; 2 unable to console, distract, or reassure. magent does not observe the patient.","type":"integer"},"facial_expression":{"description":"Caller-assigned Warden 2003 PAINAD facial expression (integer 0-2): 0 smiling or inexpressive; 1 sad, frightened, or frown; 2 facial grimacing. magent does not observe the patient.","type":"integer"},"negative_vocalization":{"description":"Caller-assigned Warden 2003 PAINAD negative vocalization (integer 0-2): 0 none; 1 occasional moan or groan, or low-level speech with a negative or disapproving quality; 2 repeated troubled calling out, loud moaning or groaning, or crying. magent does not observe the patient.","type":"integer"}},"required":["breathing","negative_vocalization","facial_expression","body_language","consolability"],"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},{"id":39450,"slug":"39450","resource":"https://api.magentlab.com/api/calc/amt_10","description":"AMT-10 (Hodkinson 1972): ten caller-assigned correct/incorrect flags. Each correct item scores 1; max 10. Score is the 0–10 sum only. Hodkinson 1972 did not publish a diagnostic cutoff. Flags only; magent does not interview the patient or collect age, date of birth, place, year, address, or monarch name. Not a dementia diagnosis, not a medical device, and not Swain 1997 AMT-4.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"address_recall_correct":true,"age_correct":true,"count_backwards_20_correct":true,"dob_correct":true,"monarch_correct":true,"place_correct":true,"time_correct":true,"two_persons_correct":true,"world_war_start_correct":true,"year_correct":true},{"address_recall_correct":true,"age_correct":true,"count_backwards_20_correct":true,"dob_correct":true,"monarch_correct":true,"place_correct":true,"time_correct":true,"two_persons_correct":true,"world_war_start_correct":true,"year_correct":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hodkinson HM","doi":"10.1093/ageing/1.4.233","id":"hodkinson-1972","pmid":"4669880","source":"Age Ageing. 1972;1(4):233-238","title":"Evaluation of a mental test score for assessment of mental impairment in the elderly"},"components":[{"factor":"age_correct","points":1,"present":true},{"factor":"time_correct","points":1,"present":true},{"factor":"address_recall_correct","points":1,"present":true},{"factor":"year_correct","points":1,"present":true},{"factor":"place_correct","points":1,"present":true},{"factor":"two_persons_correct","points":1,"present":true},{"factor":"dob_correct","points":1,"present":true},{"factor":"world_war_start_correct","points":1,"present":true},{"factor":"monarch_correct","points":1,"present":true},{"factor":"count_backwards_20_correct","points":1,"present":true}],"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":"amt_10","formula_expression":"AMT-10 = age_correct + time_correct + address_recall_correct + year_correct + place_correct + two_persons_correct + dob_correct + world_war_start_correct + monarch_correct + count_backwards_20_correct; each 1 if true; max 10 (Hodkinson 1972)","max_score":10,"score":10},{"citation":{"authors":"Hodkinson HM","doi":"10.1093/ageing/1.4.233","id":"hodkinson-1972","pmid":"4669880","source":"Age Ageing. 1972;1(4):233-238","title":"Evaluation of a mental test score for assessment of mental impairment in the elderly"},"components":[{"factor":"age_correct","points":1,"present":true},{"factor":"time_correct","points":1,"present":true},{"factor":"address_recall_correct","points":1,"present":true},{"factor":"year_correct","points":1,"present":true},{"factor":"place_correct","points":1,"present":true},{"factor":"two_persons_correct","points":1,"present":true},{"factor":"dob_correct","points":1,"present":true},{"factor":"world_war_start_correct","points":1,"present":true},{"factor":"monarch_correct","points":1,"present":true},{"factor":"count_backwards_20_correct","points":1,"present":true}],"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":"amt_10","formula_expression":"AMT-10 = age_correct + time_correct + address_recall_correct + year_correct + place_correct + two_persons_correct + dob_correct + world_war_start_correct + monarch_correct + count_backwards_20_correct; each 1 if true; max 10 (Hodkinson 1972)","max_score":10,"score":10}],"path":"/api/calc/amt_10"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"address_recall_correct":{"description":"Caller-assigned flag: address recall at the end of the test (Hodkinson 1972 AMT-10; the classic 42 West Street prompt is assigned by the caller). true scores 1; false scores 0. magent does not collect an address.","type":"boolean"},"age_correct":{"description":"Caller-assigned flag: age stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not interview the patient and does not collect an age.","type":"boolean"},"count_backwards_20_correct":{"description":"Caller-assigned flag: count backwards from 20 to 1 (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not interview the patient.","type":"boolean"},"dob_correct":{"description":"Caller-assigned flag: date of birth stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not collect a date of birth.","type":"boolean"},"monarch_correct":{"description":"Caller-assigned flag: name of the present monarch stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not collect a monarch name.","type":"boolean"},"place_correct":{"description":"Caller-assigned flag: name of place / hospital stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not collect a place name.","type":"boolean"},"time_correct":{"description":"Caller-assigned flag: time to the nearest hour stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not collect a clock time.","type":"boolean"},"two_persons_correct":{"description":"Caller-assigned flag: recognition of two persons (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not interview the patient.","type":"boolean"},"world_war_start_correct":{"description":"Caller-assigned flag: year the First World War started stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not collect a year.","type":"boolean"},"year_correct":{"description":"Caller-assigned flag: current year stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not collect a year.","type":"boolean"}},"required":["age_correct","time_correct","address_recall_correct","year_correct","place_correct","two_persons_correct","dob_correct","world_war_start_correct","monarch_correct","count_backwards_20_correct"],"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":["amt-10","cognition","neurology","screening","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:51:02.677Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:51:02.556Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"address_recall_correct":true,"age_correct":true,"count_backwards_20_correct":true,"dob_correct":true,"monarch_correct":true,"place_correct":true,"time_correct":true,"two_persons_correct":true,"world_war_start_correct":true,"year_correct":true},{"address_recall_correct":true,"age_correct":true,"count_backwards_20_correct":true,"dob_correct":true,"monarch_correct":true,"place_correct":true,"time_correct":true,"two_persons_correct":true,"world_war_start_correct":true,"year_correct":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hodkinson HM","doi":"10.1093/ageing/1.4.233","id":"hodkinson-1972","pmid":"4669880","source":"Age Ageing. 1972;1(4):233-238","title":"Evaluation of a mental test score for assessment of mental impairment in the elderly"},"components":[{"factor":"age_correct","points":1,"present":true},{"factor":"time_correct","points":1,"present":true},{"factor":"address_recall_correct","points":1,"present":true},{"factor":"year_correct","points":1,"present":true},{"factor":"place_correct","points":1,"present":true},{"factor":"two_persons_correct","points":1,"present":true},{"factor":"dob_correct","points":1,"present":true},{"factor":"world_war_start_correct","points":1,"present":true},{"factor":"monarch_correct","points":1,"present":true},{"factor":"count_backwards_20_correct","points":1,"present":true}],"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":"amt_10","formula_expression":"AMT-10 = age_correct + time_correct + address_recall_correct + year_correct + place_correct + two_persons_correct + dob_correct + world_war_start_correct + monarch_correct + count_backwards_20_correct; each 1 if true; max 10 (Hodkinson 1972)","max_score":10,"score":10},{"citation":{"authors":"Hodkinson HM","doi":"10.1093/ageing/1.4.233","id":"hodkinson-1972","pmid":"4669880","source":"Age Ageing. 1972;1(4):233-238","title":"Evaluation of a mental test score for assessment of mental impairment in the elderly"},"components":[{"factor":"age_correct","points":1,"present":true},{"factor":"time_correct","points":1,"present":true},{"factor":"address_recall_correct","points":1,"present":true},{"factor":"year_correct","points":1,"present":true},{"factor":"place_correct","points":1,"present":true},{"factor":"two_persons_correct","points":1,"present":true},{"factor":"dob_correct","points":1,"present":true},{"factor":"world_war_start_correct","points":1,"present":true},{"factor":"monarch_correct","points":1,"present":true},{"factor":"count_backwards_20_correct","points":1,"present":true}],"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":"amt_10","formula_expression":"AMT-10 = age_correct + time_correct + address_recall_correct + year_correct + place_correct + two_persons_correct + dob_correct + world_war_start_correct + monarch_correct + count_backwards_20_correct; each 1 if true; max 10 (Hodkinson 1972)","max_score":10,"score":10}],"path":"/api/calc/amt_10"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"address_recall_correct":{"description":"Caller-assigned flag: address recall at the end of the test (Hodkinson 1972 AMT-10; the classic 42 West Street prompt is assigned by the caller). true scores 1; false scores 0. magent does not collect an address.","type":"boolean"},"age_correct":{"description":"Caller-assigned flag: age stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not interview the patient and does not collect an age.","type":"boolean"},"count_backwards_20_correct":{"description":"Caller-assigned flag: count backwards from 20 to 1 (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not interview the patient.","type":"boolean"},"dob_correct":{"description":"Caller-assigned flag: date of birth stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not collect a date of birth.","type":"boolean"},"monarch_correct":{"description":"Caller-assigned flag: name of the present monarch stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not collect a monarch name.","type":"boolean"},"place_correct":{"description":"Caller-assigned flag: name of place / hospital stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not collect a place name.","type":"boolean"},"time_correct":{"description":"Caller-assigned flag: time to the nearest hour stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not collect a clock time.","type":"boolean"},"two_persons_correct":{"description":"Caller-assigned flag: recognition of two persons (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not interview the patient.","type":"boolean"},"world_war_start_correct":{"description":"Caller-assigned flag: year the First World War started stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not collect a year.","type":"boolean"},"year_correct":{"description":"Caller-assigned flag: current year stated correctly (Hodkinson 1972 AMT-10). true scores 1; false scores 0. magent does not collect a year.","type":"boolean"}},"required":["age_correct","time_correct","address_recall_correct","year_correct","place_correct","two_persons_correct","dob_correct","world_war_start_correct","monarch_correct","count_backwards_20_correct"],"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},{"id":39451,"slug":"39451","resource":"https://api.magentlab.com/api/calc/amt_4","description":"AMT-4 (Swain 1997): four caller-assigned flags for age, date of birth, place, and year. Each correct item scores 1; max 4. Impaired cognition is indicated when the score is less than 4 (0–3 impaired; 4 not impaired). Flags only; magent does not interview the patient or collect a date of birth, age, place name, or year. Not a dementia diagnosis and not a medical device. Not Hodkinson 1972 AMT-10.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_correct":true,"dob_correct":true,"place_correct":true,"year_correct":true},{"age_correct":true,"dob_correct":true,"place_correct":true,"year_correct":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Swain DG, Nightingale PG","doi":"10.1177/026921559701100308","id":"swain-1997","pmid":"9360037","source":"Clin Rehabil. 1997;11(3):243-248","title":"Evaluation of a shortened version of the Abbreviated Mental Test in a series of elderly patients"},"components":[{"factor":"age_correct","points":1,"present":true},{"factor":"dob_correct","points":1,"present":true},{"factor":"place_correct","points":1,"present":true},{"factor":"year_correct","points":1,"present":true}],"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":"amt_4","formula_expression":"AMT-4 = age_correct + dob_correct + place_correct + year_correct; each 1 if true; max 4; impaired iff score < 4 (Swain 1997)","impaired":false,"max_score":4,"score":4},{"citation":{"authors":"Swain DG, Nightingale PG","doi":"10.1177/026921559701100308","id":"swain-1997","pmid":"9360037","source":"Clin Rehabil. 1997;11(3):243-248","title":"Evaluation of a shortened version of the Abbreviated Mental Test in a series of elderly patients"},"components":[{"factor":"age_correct","points":1,"present":true},{"factor":"dob_correct","points":1,"present":true},{"factor":"place_correct","points":1,"present":true},{"factor":"year_correct","points":1,"present":true}],"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":"amt_4","formula_expression":"AMT-4 = age_correct + dob_correct + place_correct + year_correct; each 1 if true; max 4; impaired iff score < 4 (Swain 1997)","impaired":false,"max_score":4,"score":4}],"path":"/api/calc/amt_4"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_correct":{"description":"Caller-assigned flag: age stated correctly (Swain 1997 AMT-4). true scores 1; false scores 0. magent does not interview the patient and does not collect an age.","type":"boolean"},"dob_correct":{"description":"Caller-assigned flag: date of birth stated correctly (Swain 1997 AMT-4). true scores 1; false scores 0. magent does not collect a date of birth.","type":"boolean"},"place_correct":{"description":"Caller-assigned flag: place stated correctly (Swain 1997 AMT-4). true scores 1; false scores 0. magent does not collect a place name.","type":"boolean"},"year_correct":{"description":"Caller-assigned flag: current year stated correctly (Swain 1997 AMT-4). true scores 1; false scores 0. magent does not collect a year.","type":"boolean"}},"required":["age_correct","dob_correct","place_correct","year_correct"],"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":["amt-4","cognition","neurology","screening","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:50:56.078Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:50:55.957Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_correct":true,"dob_correct":true,"place_correct":true,"year_correct":true},{"age_correct":true,"dob_correct":true,"place_correct":true,"year_correct":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Swain DG, Nightingale PG","doi":"10.1177/026921559701100308","id":"swain-1997","pmid":"9360037","source":"Clin Rehabil. 1997;11(3):243-248","title":"Evaluation of a shortened version of the Abbreviated Mental Test in a series of elderly patients"},"components":[{"factor":"age_correct","points":1,"present":true},{"factor":"dob_correct","points":1,"present":true},{"factor":"place_correct","points":1,"present":true},{"factor":"year_correct","points":1,"present":true}],"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":"amt_4","formula_expression":"AMT-4 = age_correct + dob_correct + place_correct + year_correct; each 1 if true; max 4; impaired iff score < 4 (Swain 1997)","impaired":false,"max_score":4,"score":4},{"citation":{"authors":"Swain DG, Nightingale PG","doi":"10.1177/026921559701100308","id":"swain-1997","pmid":"9360037","source":"Clin Rehabil. 1997;11(3):243-248","title":"Evaluation of a shortened version of the Abbreviated Mental Test in a series of elderly patients"},"components":[{"factor":"age_correct","points":1,"present":true},{"factor":"dob_correct","points":1,"present":true},{"factor":"place_correct","points":1,"present":true},{"factor":"year_correct","points":1,"present":true}],"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":"amt_4","formula_expression":"AMT-4 = age_correct + dob_correct + place_correct + year_correct; each 1 if true; max 4; impaired iff score < 4 (Swain 1997)","impaired":false,"max_score":4,"score":4}],"path":"/api/calc/amt_4"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_correct":{"description":"Caller-assigned flag: age stated correctly (Swain 1997 AMT-4). true scores 1; false scores 0. magent does not interview the patient and does not collect an age.","type":"boolean"},"dob_correct":{"description":"Caller-assigned flag: date of birth stated correctly (Swain 1997 AMT-4). true scores 1; false scores 0. magent does not collect a date of birth.","type":"boolean"},"place_correct":{"description":"Caller-assigned flag: place stated correctly (Swain 1997 AMT-4). true scores 1; false scores 0. magent does not collect a place name.","type":"boolean"},"year_correct":{"description":"Caller-assigned flag: current year stated correctly (Swain 1997 AMT-4). true scores 1; false scores 0. magent does not collect a year.","type":"boolean"}},"required":["age_correct","dob_correct","place_correct","year_correct"],"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},{"id":39452,"slug":"39452","resource":"https://api.magentlab.com/api/calc/awol","description":"Douglas 2013 AWOL: four caller-assigned yes/no flags (age ≥80, unable to spell WORLD backward, not fully oriented to place, nurse-rated illness moderately ill/severely ill/moribund), 1 point each, max 4. Combined-population observed delirium 2/4/14/20/64% at scores 0–4. Deterministic published score with citation; not a delirium diagnosis, not CAM-ICU, not 4AT, and not a medical device. magent does not interview the patient or collect an integer age.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_ge_80":false,"failed_world_backward":false,"illness_moderate_severe_or_moribund":false,"not_oriented_to_place":false},{"age_ge_80":false,"failed_world_backward":false,"illness_moderate_severe_or_moribund":false,"not_oriented_to_place":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Douglas VC, Hessler CS, Dhaliwal G, Betjemann JP, Fukuda KA, Alameddine LR, Lucatorto R, Johnston SC, Josephson SA","doi":"10.1002/jhm.2062","id":"douglas-2013","pmid":"23922253","source":"J Hosp Med. 2013;8(9):493-499","title":"The AWOL tool: derivation and validation of a delirium prediction rule"},"components":[{"factor":"age_ge_80","points":0,"present":false},{"factor":"failed_world_backward","points":0,"present":false},{"factor":"not_oriented_to_place","points":0,"present":false},{"factor":"illness_moderate_severe_or_moribund","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":"awol","formula_expression":"AWOL = age_ge_80 + failed_world_backward + not_oriented_to_place + illness_moderate_severe_or_moribund; each 1 if true; max 4; combined-population observed delirium 2/4/14/20/64% (Douglas 2013)","max_score":4,"observed_delirium_percent":2,"score":0},{"citation":{"authors":"Douglas VC, Hessler CS, Dhaliwal G, Betjemann JP, Fukuda KA, Alameddine LR, Lucatorto R, Johnston SC, Josephson SA","doi":"10.1002/jhm.2062","id":"douglas-2013","pmid":"23922253","source":"J Hosp Med. 2013;8(9):493-499","title":"The AWOL tool: derivation and validation of a delirium prediction rule"},"components":[{"factor":"age_ge_80","points":0,"present":false},{"factor":"failed_world_backward","points":0,"present":false},{"factor":"not_oriented_to_place","points":0,"present":false},{"factor":"illness_moderate_severe_or_moribund","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":"awol","formula_expression":"AWOL = age_ge_80 + failed_world_backward + not_oriented_to_place + illness_moderate_severe_or_moribund; each 1 if true; max 4; combined-population observed delirium 2/4/14/20/64% (Douglas 2013)","max_score":4,"observed_delirium_percent":2,"score":0}],"path":"/api/calc/awol"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_ge_80":{"description":"Age ≥80 years (AWOL A; Douglas 2013). true or false as assigned by the caller. magent does not collect an integer age and does not interview the patient.","type":"boolean"},"failed_world_backward":{"description":"Unable to correctly spell WORLD backward (AWOL W; Douglas 2013). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"illness_moderate_severe_or_moribund":{"description":"Nurse-rated illness severity moderately ill, severely ill, or moribund, as opposed to not ill or mildly ill (AWOL L; Douglas 2013). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"not_oriented_to_place":{"description":"Not fully oriented to place: not oriented to city, state, county, hospital name, and floor (AWOL O; Douglas 2013). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"}},"required":["age_ge_80","failed_world_backward","not_oriented_to_place","illness_moderate_severe_or_moribund"],"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":["awol","delirium","neurology","screening","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:50:50.174Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:50:50.046Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_ge_80":false,"failed_world_backward":false,"illness_moderate_severe_or_moribund":false,"not_oriented_to_place":false},{"age_ge_80":false,"failed_world_backward":false,"illness_moderate_severe_or_moribund":false,"not_oriented_to_place":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Douglas VC, Hessler CS, Dhaliwal G, Betjemann JP, Fukuda KA, Alameddine LR, Lucatorto R, Johnston SC, Josephson SA","doi":"10.1002/jhm.2062","id":"douglas-2013","pmid":"23922253","source":"J Hosp Med. 2013;8(9):493-499","title":"The AWOL tool: derivation and validation of a delirium prediction rule"},"components":[{"factor":"age_ge_80","points":0,"present":false},{"factor":"failed_world_backward","points":0,"present":false},{"factor":"not_oriented_to_place","points":0,"present":false},{"factor":"illness_moderate_severe_or_moribund","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":"awol","formula_expression":"AWOL = age_ge_80 + failed_world_backward + not_oriented_to_place + illness_moderate_severe_or_moribund; each 1 if true; max 4; combined-population observed delirium 2/4/14/20/64% (Douglas 2013)","max_score":4,"observed_delirium_percent":2,"score":0},{"citation":{"authors":"Douglas VC, Hessler CS, Dhaliwal G, Betjemann JP, Fukuda KA, Alameddine LR, Lucatorto R, Johnston SC, Josephson SA","doi":"10.1002/jhm.2062","id":"douglas-2013","pmid":"23922253","source":"J Hosp Med. 2013;8(9):493-499","title":"The AWOL tool: derivation and validation of a delirium prediction rule"},"components":[{"factor":"age_ge_80","points":0,"present":false},{"factor":"failed_world_backward","points":0,"present":false},{"factor":"not_oriented_to_place","points":0,"present":false},{"factor":"illness_moderate_severe_or_moribund","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":"awol","formula_expression":"AWOL = age_ge_80 + failed_world_backward + not_oriented_to_place + illness_moderate_severe_or_moribund; each 1 if true; max 4; combined-population observed delirium 2/4/14/20/64% (Douglas 2013)","max_score":4,"observed_delirium_percent":2,"score":0}],"path":"/api/calc/awol"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_ge_80":{"description":"Age ≥80 years (AWOL A; Douglas 2013). true or false as assigned by the caller. magent does not collect an integer age and does not interview the patient.","type":"boolean"},"failed_world_backward":{"description":"Unable to correctly spell WORLD backward (AWOL W; Douglas 2013). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"illness_moderate_severe_or_moribund":{"description":"Nurse-rated illness severity moderately ill, severely ill, or moribund, as opposed to not ill or mildly ill (AWOL L; Douglas 2013). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"},"not_oriented_to_place":{"description":"Not fully oriented to place: not oriented to city, state, county, hospital name, and floor (AWOL O; Douglas 2013). true or false as assigned by the caller. magent does not interview the patient.","type":"boolean"}},"required":["age_ge_80","failed_world_backward","not_oriented_to_place","illness_moderate_severe_or_moribund"],"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},{"id":39453,"slug":"39453","resource":"https://api.magentlab.com/api/calc/iwg2_ad","description":"Dubois 2014 IWG-2 typical AD research criteria. typical_ad iff early hippocampal-type episodic memory, no better explanation, and in-vivo AD pathology (CSF Abeta1-42 plus T-tau or P-tau, amyloid PET, or a PSEN1/PSEN2/APP mutation). Typical AD only; not atypical phenotypes. Not NINCDS-ADRDA, not NIA-AA ATN, not DSM. magent does not examine the patient, assay CSF, or read PET. Not a diagnosis or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"amyloid_pet":false,"autosomal_dominant_mutation":false,"csf_abeta_and_tau":true,"early_episodic_memory":true,"no_better_explanation":true},{"amyloid_pet":false,"autosomal_dominant_mutation":false,"csf_abeta_and_tau":true,"early_episodic_memory":true,"no_better_explanation":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Dubois B, Feldman HH, Jacova C, Hampel H, Molinuevo JL, Blennow K, DeKosky ST, Gauthier S, Selkoe D, Bateman R, Cappa S, Crutch S, Engelborghs S, Frisoni GB, Fox NC, Galasko D, Habert MO, Jicha GA, Nordberg A, Pasquier F, Rabinovici G, Robert P, Rowe C, Salloway S, Sarazin M, Epelbaum S, de Souza LC, Vellas B, Visser PJ, Schneider L, Stern Y, Scheltens P, Cummings JL","doi":"10.1016/S1474-4422(14)70090-0","id":"dubois-2014","pmid":"24849861","source":"Lancet Neurol. 2014;13(6):614-629","title":"Advancing research diagnostic criteria for Alzheimer's disease: the IWG-2 criteria"},"criteria":[{"factor":"early_episodic_memory","met":true},{"factor":"csf_abeta_and_tau","met":true},{"factor":"amyloid_pet","met":false},{"factor":"autosomal_dominant_mutation","met":false},{"factor":"no_better_explanation","met":true},{"factor":"in_vivo_pathology","met":true}],"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":"iwg2_ad","formula_expression":"typical_ad iff no_better_explanation AND early_episodic_memory AND (csf_abeta_and_tau OR amyloid_pet OR autosomal_dominant_mutation) (Dubois 2014 IWG-2 typical AD). Not NINCDS-ADRDA. Not NIA-AA. Not DSM. magent does not examine the patient or assay CSF/PET.","in_vivo_pathology":true,"typical_ad":true},{"citation":{"authors":"Dubois B, Feldman HH, Jacova C, Hampel H, Molinuevo JL, Blennow K, DeKosky ST, Gauthier S, Selkoe D, Bateman R, Cappa S, Crutch S, Engelborghs S, Frisoni GB, Fox NC, Galasko D, Habert MO, Jicha GA, Nordberg A, Pasquier F, Rabinovici G, Robert P, Rowe C, Salloway S, Sarazin M, Epelbaum S, de Souza LC, Vellas B, Visser PJ, Schneider L, Stern Y, Scheltens P, Cummings JL","doi":"10.1016/S1474-4422(14)70090-0","id":"dubois-2014","pmid":"24849861","source":"Lancet Neurol. 2014;13(6):614-629","title":"Advancing research diagnostic criteria for Alzheimer's disease: the IWG-2 criteria"},"criteria":[{"factor":"early_episodic_memory","met":true},{"factor":"csf_abeta_and_tau","met":true},{"factor":"amyloid_pet","met":false},{"factor":"autosomal_dominant_mutation","met":false},{"factor":"no_better_explanation","met":true},{"factor":"in_vivo_pathology","met":true}],"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":"iwg2_ad","formula_expression":"typical_ad iff no_better_explanation AND early_episodic_memory AND (csf_abeta_and_tau OR amyloid_pet OR autosomal_dominant_mutation) (Dubois 2014 IWG-2 typical AD). Not NINCDS-ADRDA. Not NIA-AA. Not DSM. magent does not examine the patient or assay CSF/PET.","in_vivo_pathology":true,"typical_ad":true}],"path":"/api/calc/iwg2_ad"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"amyloid_pet":{"description":"Increased tracer retention on amyloid PET, as assigned by the caller (Dubois 2014 IWG-2 in-vivo AD pathology). true or false. magent does not read PET.","type":"boolean"},"autosomal_dominant_mutation":{"description":"Proven AD autosomal-dominant mutation in PSEN1, PSEN2, or APP, as assigned by the caller (Dubois 2014 IWG-2 in-vivo AD pathology). true or false. magent does not sequence genes.","type":"boolean"},"csf_abeta_and_tau":{"description":"Decreased Aβ1-42 together with increased T-tau or P-tau in CSF, as assigned by the caller (Dubois 2014 IWG-2 in-vivo AD pathology). true or false. magent does not assay CSF.","type":"boolean"},"early_episodic_memory":{"description":"Early and significant episodic memory impairment of the hippocampal type (IWG-2 specific phenotype for typical AD), as assigned by the caller. true or false. magent does not examine the patient.","type":"boolean"},"no_better_explanation":{"description":"Exclusion of other disorders that could account for the phenotype, as assigned by the caller (Dubois 2014 IWG-2). true or false. magent does not examine the patient.","type":"boolean"}},"required":["early_episodic_memory","csf_abeta_and_tau","amyloid_pet","autosomal_dominant_mutation","no_better_explanation"],"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":["iwg2-ad","alzheimer","neurology","dementia","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:50:43.284Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:50:43.159Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"amyloid_pet":false,"autosomal_dominant_mutation":false,"csf_abeta_and_tau":true,"early_episodic_memory":true,"no_better_explanation":true},{"amyloid_pet":false,"autosomal_dominant_mutation":false,"csf_abeta_and_tau":true,"early_episodic_memory":true,"no_better_explanation":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Dubois B, Feldman HH, Jacova C, Hampel H, Molinuevo JL, Blennow K, DeKosky ST, Gauthier S, Selkoe D, Bateman R, Cappa S, Crutch S, Engelborghs S, Frisoni GB, Fox NC, Galasko D, Habert MO, Jicha GA, Nordberg A, Pasquier F, Rabinovici G, Robert P, Rowe C, Salloway S, Sarazin M, Epelbaum S, de Souza LC, Vellas B, Visser PJ, Schneider L, Stern Y, Scheltens P, Cummings JL","doi":"10.1016/S1474-4422(14)70090-0","id":"dubois-2014","pmid":"24849861","source":"Lancet Neurol. 2014;13(6):614-629","title":"Advancing research diagnostic criteria for Alzheimer's disease: the IWG-2 criteria"},"criteria":[{"factor":"early_episodic_memory","met":true},{"factor":"csf_abeta_and_tau","met":true},{"factor":"amyloid_pet","met":false},{"factor":"autosomal_dominant_mutation","met":false},{"factor":"no_better_explanation","met":true},{"factor":"in_vivo_pathology","met":true}],"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":"iwg2_ad","formula_expression":"typical_ad iff no_better_explanation AND early_episodic_memory AND (csf_abeta_and_tau OR amyloid_pet OR autosomal_dominant_mutation) (Dubois 2014 IWG-2 typical AD). Not NINCDS-ADRDA. Not NIA-AA. Not DSM. magent does not examine the patient or assay CSF/PET.","in_vivo_pathology":true,"typical_ad":true},{"citation":{"authors":"Dubois B, Feldman HH, Jacova C, Hampel H, Molinuevo JL, Blennow K, DeKosky ST, Gauthier S, Selkoe D, Bateman R, Cappa S, Crutch S, Engelborghs S, Frisoni GB, Fox NC, Galasko D, Habert MO, Jicha GA, Nordberg A, Pasquier F, Rabinovici G, Robert P, Rowe C, Salloway S, Sarazin M, Epelbaum S, de Souza LC, Vellas B, Visser PJ, Schneider L, Stern Y, Scheltens P, Cummings JL","doi":"10.1016/S1474-4422(14)70090-0","id":"dubois-2014","pmid":"24849861","source":"Lancet Neurol. 2014;13(6):614-629","title":"Advancing research diagnostic criteria for Alzheimer's disease: the IWG-2 criteria"},"criteria":[{"factor":"early_episodic_memory","met":true},{"factor":"csf_abeta_and_tau","met":true},{"factor":"amyloid_pet","met":false},{"factor":"autosomal_dominant_mutation","met":false},{"factor":"no_better_explanation","met":true},{"factor":"in_vivo_pathology","met":true}],"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":"iwg2_ad","formula_expression":"typical_ad iff no_better_explanation AND early_episodic_memory AND (csf_abeta_and_tau OR amyloid_pet OR autosomal_dominant_mutation) (Dubois 2014 IWG-2 typical AD). Not NINCDS-ADRDA. Not NIA-AA. Not DSM. magent does not examine the patient or assay CSF/PET.","in_vivo_pathology":true,"typical_ad":true}],"path":"/api/calc/iwg2_ad"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"amyloid_pet":{"description":"Increased tracer retention on amyloid PET, as assigned by the caller (Dubois 2014 IWG-2 in-vivo AD pathology). true or false. magent does not read PET.","type":"boolean"},"autosomal_dominant_mutation":{"description":"Proven AD autosomal-dominant mutation in PSEN1, PSEN2, or APP, as assigned by the caller (Dubois 2014 IWG-2 in-vivo AD pathology). true or false. magent does not sequence genes.","type":"boolean"},"csf_abeta_and_tau":{"description":"Decreased Aβ1-42 together with increased T-tau or P-tau in CSF, as assigned by the caller (Dubois 2014 IWG-2 in-vivo AD pathology). true or false. magent does not assay CSF.","type":"boolean"},"early_episodic_memory":{"description":"Early and significant episodic memory impairment of the hippocampal type (IWG-2 specific phenotype for typical AD), as assigned by the caller. true or false. magent does not examine the patient.","type":"boolean"},"no_better_explanation":{"description":"Exclusion of other disorders that could account for the phenotype, as assigned by the caller (Dubois 2014 IWG-2). true or false. magent does not examine the patient.","type":"boolean"}},"required":["early_episodic_memory","csf_abeta_and_tau","amyloid_pet","autosomal_dominant_mutation","no_better_explanation"],"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},{"id":39454,"slug":"39454","resource":"https://api.magentlab.com/api/calc/nincds_adrda","description":"McKhann 1984 NINCDS-ADRDA diagnostic category as assigned by the caller (definite, probable, possible, or unlikely). Returns the token and the published defining-features description. magent does not examine the patient. Not NIA-AA 2011/2018. Not DSM. Not an Alzheimer's diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"category":"probable"},{"category":"probable"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"category":"probable","citation":{"authors":"McKhann G, Drachman D, Folstein M, Katzman R, Price D, Stadlan EM","doi":"10.1212/wnl.34.7.939","id":"mckhann-1984","pmid":"6610841","source":"Neurology. 1984;34(7):939-944","title":"Clinical diagnosis of Alzheimer's disease: report of the NINCDS-ADRDA Work Group under the auspices of Department of Health and Human Services Task Force on Alzheimer's Disease"},"components":[{"factor":"definite","met":false},{"factor":"probable","met":true},{"factor":"possible","met":false},{"factor":"unlikely","met":false}],"description":"Dementia; deficits in two or more areas of cognition; progressive worsening; no disturbance of consciousness; onset between 40 and 90; absence of other diseases that could account for the deficits","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":"nincds_adrda","formula_expression":"category in {definite, probable, possible, unlikely} as assigned by the caller (McKhann 1984 NINCDS-ADRDA diagnostic categories). Not NIA-AA 2011/2018. Not DSM. magent does not examine the patient."},{"category":"probable","citation":{"authors":"McKhann G, Drachman D, Folstein M, Katzman R, Price D, Stadlan EM","doi":"10.1212/wnl.34.7.939","id":"mckhann-1984","pmid":"6610841","source":"Neurology. 1984;34(7):939-944","title":"Clinical diagnosis of Alzheimer's disease: report of the NINCDS-ADRDA Work Group under the auspices of Department of Health and Human Services Task Force on Alzheimer's Disease"},"components":[{"factor":"definite","met":false},{"factor":"probable","met":true},{"factor":"possible","met":false},{"factor":"unlikely","met":false}],"description":"Dementia; deficits in two or more areas of cognition; progressive worsening; no disturbance of consciousness; onset between 40 and 90; absence of other diseases that could account for the deficits","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":"nincds_adrda","formula_expression":"category in {definite, probable, possible, unlikely} as assigned by the caller (McKhann 1984 NINCDS-ADRDA diagnostic categories). Not NIA-AA 2011/2018. Not DSM. magent does not examine the patient."}],"path":"/api/calc/nincds_adrda"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"category":{"description":"McKhann 1984 NINCDS-ADRDA diagnostic category as assigned by the caller (definite: clinical criteria for probable Alzheimer's disease and histopathologic confirmation; probable: dementia, deficits in two or more areas of cognition, progressive worsening, no disturbance of consciousness, onset between 40 and 90, absence of other diseases that could account for the deficits; possible: dementia syndrome with atypical onset, presentation, or course, or a second systemic or brain disease capable of producing dementia but not thought to be the cause; unlikely: sudden onset, early focal neurologic findings, or seizures or gait disturbance at onset). Token definite, probable, possible, or unlikely only; case-insensitive. Reject NIA-AA, DSM, and probable AD. Not NIA-AA 2011/2018. Not DSM. magent does not examine the patient.","type":"string"}},"required":["category"],"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":["nincds-adrda","alzheimer","dementia","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:50:36.123Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:50:36.003Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"category":"probable"},{"category":"probable"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"category":"probable","citation":{"authors":"McKhann G, Drachman D, Folstein M, Katzman R, Price D, Stadlan EM","doi":"10.1212/wnl.34.7.939","id":"mckhann-1984","pmid":"6610841","source":"Neurology. 1984;34(7):939-944","title":"Clinical diagnosis of Alzheimer's disease: report of the NINCDS-ADRDA Work Group under the auspices of Department of Health and Human Services Task Force on Alzheimer's Disease"},"components":[{"factor":"definite","met":false},{"factor":"probable","met":true},{"factor":"possible","met":false},{"factor":"unlikely","met":false}],"description":"Dementia; deficits in two or more areas of cognition; progressive worsening; no disturbance of consciousness; onset between 40 and 90; absence of other diseases that could account for the deficits","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":"nincds_adrda","formula_expression":"category in {definite, probable, possible, unlikely} as assigned by the caller (McKhann 1984 NINCDS-ADRDA diagnostic categories). Not NIA-AA 2011/2018. Not DSM. magent does not examine the patient."},{"category":"probable","citation":{"authors":"McKhann G, Drachman D, Folstein M, Katzman R, Price D, Stadlan EM","doi":"10.1212/wnl.34.7.939","id":"mckhann-1984","pmid":"6610841","source":"Neurology. 1984;34(7):939-944","title":"Clinical diagnosis of Alzheimer's disease: report of the NINCDS-ADRDA Work Group under the auspices of Department of Health and Human Services Task Force on Alzheimer's Disease"},"components":[{"factor":"definite","met":false},{"factor":"probable","met":true},{"factor":"possible","met":false},{"factor":"unlikely","met":false}],"description":"Dementia; deficits in two or more areas of cognition; progressive worsening; no disturbance of consciousness; onset between 40 and 90; absence of other diseases that could account for the deficits","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":"nincds_adrda","formula_expression":"category in {definite, probable, possible, unlikely} as assigned by the caller (McKhann 1984 NINCDS-ADRDA diagnostic categories). Not NIA-AA 2011/2018. Not DSM. magent does not examine the patient."}],"path":"/api/calc/nincds_adrda"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"category":{"description":"McKhann 1984 NINCDS-ADRDA diagnostic category as assigned by the caller (definite: clinical criteria for probable Alzheimer's disease and histopathologic confirmation; probable: dementia, deficits in two or more areas of cognition, progressive worsening, no disturbance of consciousness, onset between 40 and 90, absence of other diseases that could account for the deficits; possible: dementia syndrome with atypical onset, presentation, or course, or a second systemic or brain disease capable of producing dementia but not thought to be the cause; unlikely: sudden onset, early focal neurologic findings, or seizures or gait disturbance at onset). Token definite, probable, possible, or unlikely only; case-insensitive. Reject NIA-AA, DSM, and probable AD. Not NIA-AA 2011/2018. Not DSM. magent does not examine the patient.","type":"string"}},"required":["category"],"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},{"id":39455,"slug":"39455","resource":"https://api.magentlab.com/api/calc/4at","description":"4AT (Bellelli 2014): alertness (normal 0, abnormal 4) + AMT4 mistake count 0/1/2 + attention 0/1/2 + acute change or fluctuation (false 0, true 4). Max 12. Band 0 unlikely, 1–3 possible cognitive impairment, ≥4 possible delirium. Not a delirium or dementia diagnosis. magent does not examine the patient. AMT4 is the caller-assigned mistake count only; this API does not collect age, date of birth, place, or year.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_change":false,"alertness":"normal","amt4":0,"attention":0},{"acute_change":false,"alertness":"normal","amt4":0,"attention":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"at_band":"unlikely","citation":{"authors":"Bellelli G, Morandi A, Davis DH, Mazzola P, Turco R, Gentile S, Ryan T, Cash H, Guerini F, Torpilliesi T, Del Santo F, Trabucchi M, Annoni G, MacLullich AM","doi":"10.1093/ageing/afu021","id":"bellelli-2014","pmid":"24590568","source":"Age Ageing. 2014;43(4):496-502","title":"Validation of the 4AT, a new instrument for rapid delirium screening: a study in 234 hospitalised older people"},"components":[{"factor":"alertness","points":0,"present":false},{"factor":"amt4","points":0,"present":false,"value":0},{"factor":"attention","points":0,"present":false,"value":0},{"factor":"acute_change","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":"4at","formula_expression":"4AT = alertness (normal 0, abnormal 4) + amt4 (0/1/2) + attention (0/1/2) + acute_change (false 0, true 4); Bellelli 2014; max 12; 0 unlikely, 1-3 possible_cognitive_impairment, ≥4 possible_delirium","max_score":12,"score":0},{"at_band":"unlikely","citation":{"authors":"Bellelli G, Morandi A, Davis DH, Mazzola P, Turco R, Gentile S, Ryan T, Cash H, Guerini F, Torpilliesi T, Del Santo F, Trabucchi M, Annoni G, MacLullich AM","doi":"10.1093/ageing/afu021","id":"bellelli-2014","pmid":"24590568","source":"Age Ageing. 2014;43(4):496-502","title":"Validation of the 4AT, a new instrument for rapid delirium screening: a study in 234 hospitalised older people"},"components":[{"factor":"alertness","points":0,"present":false},{"factor":"amt4","points":0,"present":false,"value":0},{"factor":"attention","points":0,"present":false,"value":0},{"factor":"acute_change","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":"4at","formula_expression":"4AT = alertness (normal 0, abnormal 4) + amt4 (0/1/2) + attention (0/1/2) + acute_change (false 0, true 4); Bellelli 2014; max 12; 0 unlikely, 1-3 possible_cognitive_impairment, ≥4 possible_delirium","max_score":12,"score":0}],"path":"/api/calc/4at"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_change":{"description":"Bellelli 2014 acute change or fluctuating course as assigned by the caller. true scores 4. magent does not take a collateral history.","type":"boolean"},"alertness":{"description":"Bellelli 2014 4AT item 1 as assigned by the caller. normal scores 0; abnormal scores 4. magent does not observe consciousness.","enum":["normal","abnormal"],"type":"string"},"amt4":{"description":"Caller-assigned AMT4 mistake count only (Bellelli 2014): 0 mistakes → 0; 1 mistake → 1; ≥2 mistakes or untestable → 2. Integer 0, 1, or 2. This API does not collect age, date of birth, place, or year.","enum":[0,1,2],"type":"integer"},"attention":{"description":"Bellelli 2014 months-backwards item as assigned by the caller. 0: achieves ≥7 months. 1: starts but <7 months or refuses. 2: untestable. Integer 0, 1, or 2. magent does not run months backwards.","enum":[0,1,2],"type":"integer"}},"required":["alertness","amt4","attention","acute_change"],"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":["4at","delirium","neurology","screening","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:50:29.435Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:50:29.283Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_change":false,"alertness":"normal","amt4":0,"attention":0},{"acute_change":false,"alertness":"normal","amt4":0,"attention":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"at_band":"unlikely","citation":{"authors":"Bellelli G, Morandi A, Davis DH, Mazzola P, Turco R, Gentile S, Ryan T, Cash H, Guerini F, Torpilliesi T, Del Santo F, Trabucchi M, Annoni G, MacLullich AM","doi":"10.1093/ageing/afu021","id":"bellelli-2014","pmid":"24590568","source":"Age Ageing. 2014;43(4):496-502","title":"Validation of the 4AT, a new instrument for rapid delirium screening: a study in 234 hospitalised older people"},"components":[{"factor":"alertness","points":0,"present":false},{"factor":"amt4","points":0,"present":false,"value":0},{"factor":"attention","points":0,"present":false,"value":0},{"factor":"acute_change","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":"4at","formula_expression":"4AT = alertness (normal 0, abnormal 4) + amt4 (0/1/2) + attention (0/1/2) + acute_change (false 0, true 4); Bellelli 2014; max 12; 0 unlikely, 1-3 possible_cognitive_impairment, ≥4 possible_delirium","max_score":12,"score":0},{"at_band":"unlikely","citation":{"authors":"Bellelli G, Morandi A, Davis DH, Mazzola P, Turco R, Gentile S, Ryan T, Cash H, Guerini F, Torpilliesi T, Del Santo F, Trabucchi M, Annoni G, MacLullich AM","doi":"10.1093/ageing/afu021","id":"bellelli-2014","pmid":"24590568","source":"Age Ageing. 2014;43(4):496-502","title":"Validation of the 4AT, a new instrument for rapid delirium screening: a study in 234 hospitalised older people"},"components":[{"factor":"alertness","points":0,"present":false},{"factor":"amt4","points":0,"present":false,"value":0},{"factor":"attention","points":0,"present":false,"value":0},{"factor":"acute_change","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":"4at","formula_expression":"4AT = alertness (normal 0, abnormal 4) + amt4 (0/1/2) + attention (0/1/2) + acute_change (false 0, true 4); Bellelli 2014; max 12; 0 unlikely, 1-3 possible_cognitive_impairment, ≥4 possible_delirium","max_score":12,"score":0}],"path":"/api/calc/4at"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_change":{"description":"Bellelli 2014 acute change or fluctuating course as assigned by the caller. true scores 4. magent does not take a collateral history.","type":"boolean"},"alertness":{"description":"Bellelli 2014 4AT item 1 as assigned by the caller. normal scores 0; abnormal scores 4. magent does not observe consciousness.","enum":["normal","abnormal"],"type":"string"},"amt4":{"description":"Caller-assigned AMT4 mistake count only (Bellelli 2014): 0 mistakes → 0; 1 mistake → 1; ≥2 mistakes or untestable → 2. Integer 0, 1, or 2. This API does not collect age, date of birth, place, or year.","enum":[0,1,2],"type":"integer"},"attention":{"description":"Bellelli 2014 months-backwards item as assigned by the caller. 0: achieves ≥7 months. 1: starts but <7 months or refuses. 2: untestable. Integer 0, 1, or 2. magent does not run months backwards.","enum":[0,1,2],"type":"integer"}},"required":["alertness","amt4","attention","acute_change"],"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},{"id":39456,"slug":"39456","resource":"https://api.magentlab.com/api/calc/aims","description":"Guy 1976 Abnormal Involuntary Movement Scale (AIMS): seven 0-4 movement items summed (max 28). Rate highest severity observed. Items 8-12 (overall severity, incapacitation, awareness, dental problems, dentures) are required and returned, not added to the total. No activation subtraction. Not a tardive dyskinesia diagnosis. magent does not examine the patient. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"awareness":1,"dental_problems":false,"facial_expression":2,"incapacitation":1,"jaw":0,"lips_perioral":0,"lower_extremities":0,"overall_severity":2,"tongue":1,"trunk":0,"upper_extremities":0,"wears_dentures":false},{"awareness":1,"dental_problems":false,"facial_expression":2,"incapacitation":1,"jaw":0,"lips_perioral":0,"lower_extremities":0,"overall_severity":2,"tongue":1,"trunk":0,"upper_extremities":0,"wears_dentures":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"awareness":1,"citation":{"authors":"Guy W","id":"guy-1976","source":"ECDEU Assessment Manual for Psychopharmacology. Rockville, MD: National Institute of Mental Health; 1976:534-537","title":"Abnormal Involuntary Movement Scale (117-AIMS)"},"components":[{"factor":"facial_expression","points":2,"present":true,"value":2},{"factor":"lips_perioral","points":0,"present":true,"value":0},{"factor":"jaw","points":0,"present":true,"value":0},{"factor":"tongue","points":1,"present":true,"value":1},{"factor":"upper_extremities","points":0,"present":true,"value":0},{"factor":"lower_extremities","points":0,"present":true,"value":0},{"factor":"trunk","points":0,"present":true,"value":0}],"dental_problems":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":"aims","formula_expression":"AIMS dyskinesia total = facial_expression + lips_perioral + jaw + tongue + upper_extremities + lower_extremities + trunk; each integer 0-4 (Guy 1976: 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe); rate highest severity observed; max 28; overall_severity, incapacitation, awareness, dental_problems, and wears_dentures recorded only, not in the total; no activation subtraction; no published total-score TD cutoffs","incapacitation":1,"max_score":28,"overall_severity":2,"score":3,"wears_dentures":false},{"awareness":1,"citation":{"authors":"Guy W","id":"guy-1976","source":"ECDEU Assessment Manual for Psychopharmacology. Rockville, MD: National Institute of Mental Health; 1976:534-537","title":"Abnormal Involuntary Movement Scale (117-AIMS)"},"components":[{"factor":"facial_expression","points":2,"present":true,"value":2},{"factor":"lips_perioral","points":0,"present":true,"value":0},{"factor":"jaw","points":0,"present":true,"value":0},{"factor":"tongue","points":1,"present":true,"value":1},{"factor":"upper_extremities","points":0,"present":true,"value":0},{"factor":"lower_extremities","points":0,"present":true,"value":0},{"factor":"trunk","points":0,"present":true,"value":0}],"dental_problems":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":"aims","formula_expression":"AIMS dyskinesia total = facial_expression + lips_perioral + jaw + tongue + upper_extremities + lower_extremities + trunk; each integer 0-4 (Guy 1976: 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe); rate highest severity observed; max 28; overall_severity, incapacitation, awareness, dental_problems, and wears_dentures recorded only, not in the total; no activation subtraction; no published total-score TD cutoffs","incapacitation":1,"max_score":28,"overall_severity":2,"score":3,"wears_dentures":false}],"path":"/api/calc/aims"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"awareness":{"description":"Caller-assigned Guy 1976 AIMS item 10 patient's awareness of abnormal movements (integer 0-4): 0 no awareness, 1 aware no distress, 2 aware mild distress, 3 aware moderate distress, 4 aware severe distress. Rate only the patient's report. Recorded only; not added to the dyskinesia total. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"dental_problems":{"description":"Caller-assigned Guy 1976 AIMS item 11 current problems with teeth and/or dentures (true or false). Recorded only; not added to the dyskinesia total. magent does not examine the patient.","type":"boolean"},"facial_expression":{"description":"Caller-assigned Guy 1976 AIMS item 1 muscles of facial expression (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"incapacitation":{"description":"Caller-assigned Guy 1976 AIMS item 9 incapacitation due to abnormal movements (integer 0-4): 0 none, 1 minimal, 2 mild, 3 moderate, 4 severe. Recorded only; not added to the dyskinesia total. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"jaw":{"description":"Caller-assigned Guy 1976 AIMS item 3 jaw (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"lips_perioral":{"description":"Caller-assigned Guy 1976 AIMS item 2 lips and perioral area (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"lower_extremities":{"description":"Caller-assigned Guy 1976 AIMS item 6 lower extremities (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"overall_severity":{"description":"Caller-assigned Guy 1976 AIMS item 8 overall severity of abnormal movements (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Recorded only; not added to the dyskinesia total. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"tongue":{"description":"Caller-assigned Guy 1976 AIMS item 4 tongue (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Rate increase in movement, not inability to sustain. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"trunk":{"description":"Caller-assigned Guy 1976 AIMS item 7 neck, shoulders, hips (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"upper_extremities":{"description":"Caller-assigned Guy 1976 AIMS item 5 upper extremities (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Include choreic and athetoid movements. Do not include tremor. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"wears_dentures":{"description":"Caller-assigned Guy 1976 AIMS item 12 does the patient usually wear dentures (true or false). Recorded only; not added to the dyskinesia total. magent does not examine the patient.","type":"boolean"}},"required":["facial_expression","lips_perioral","jaw","tongue","upper_extremities","lower_extremities","trunk","overall_severity","incapacitation","awareness","dental_problems","wears_dentures"],"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":["aims","dyskinesia","neurology","guy-1976","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:50:21.984Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:50:21.845Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"awareness":1,"dental_problems":false,"facial_expression":2,"incapacitation":1,"jaw":0,"lips_perioral":0,"lower_extremities":0,"overall_severity":2,"tongue":1,"trunk":0,"upper_extremities":0,"wears_dentures":false},{"awareness":1,"dental_problems":false,"facial_expression":2,"incapacitation":1,"jaw":0,"lips_perioral":0,"lower_extremities":0,"overall_severity":2,"tongue":1,"trunk":0,"upper_extremities":0,"wears_dentures":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"awareness":1,"citation":{"authors":"Guy W","id":"guy-1976","source":"ECDEU Assessment Manual for Psychopharmacology. Rockville, MD: National Institute of Mental Health; 1976:534-537","title":"Abnormal Involuntary Movement Scale (117-AIMS)"},"components":[{"factor":"facial_expression","points":2,"present":true,"value":2},{"factor":"lips_perioral","points":0,"present":true,"value":0},{"factor":"jaw","points":0,"present":true,"value":0},{"factor":"tongue","points":1,"present":true,"value":1},{"factor":"upper_extremities","points":0,"present":true,"value":0},{"factor":"lower_extremities","points":0,"present":true,"value":0},{"factor":"trunk","points":0,"present":true,"value":0}],"dental_problems":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":"aims","formula_expression":"AIMS dyskinesia total = facial_expression + lips_perioral + jaw + tongue + upper_extremities + lower_extremities + trunk; each integer 0-4 (Guy 1976: 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe); rate highest severity observed; max 28; overall_severity, incapacitation, awareness, dental_problems, and wears_dentures recorded only, not in the total; no activation subtraction; no published total-score TD cutoffs","incapacitation":1,"max_score":28,"overall_severity":2,"score":3,"wears_dentures":false},{"awareness":1,"citation":{"authors":"Guy W","id":"guy-1976","source":"ECDEU Assessment Manual for Psychopharmacology. Rockville, MD: National Institute of Mental Health; 1976:534-537","title":"Abnormal Involuntary Movement Scale (117-AIMS)"},"components":[{"factor":"facial_expression","points":2,"present":true,"value":2},{"factor":"lips_perioral","points":0,"present":true,"value":0},{"factor":"jaw","points":0,"present":true,"value":0},{"factor":"tongue","points":1,"present":true,"value":1},{"factor":"upper_extremities","points":0,"present":true,"value":0},{"factor":"lower_extremities","points":0,"present":true,"value":0},{"factor":"trunk","points":0,"present":true,"value":0}],"dental_problems":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":"aims","formula_expression":"AIMS dyskinesia total = facial_expression + lips_perioral + jaw + tongue + upper_extremities + lower_extremities + trunk; each integer 0-4 (Guy 1976: 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe); rate highest severity observed; max 28; overall_severity, incapacitation, awareness, dental_problems, and wears_dentures recorded only, not in the total; no activation subtraction; no published total-score TD cutoffs","incapacitation":1,"max_score":28,"overall_severity":2,"score":3,"wears_dentures":false}],"path":"/api/calc/aims"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"awareness":{"description":"Caller-assigned Guy 1976 AIMS item 10 patient's awareness of abnormal movements (integer 0-4): 0 no awareness, 1 aware no distress, 2 aware mild distress, 3 aware moderate distress, 4 aware severe distress. Rate only the patient's report. Recorded only; not added to the dyskinesia total. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"dental_problems":{"description":"Caller-assigned Guy 1976 AIMS item 11 current problems with teeth and/or dentures (true or false). Recorded only; not added to the dyskinesia total. magent does not examine the patient.","type":"boolean"},"facial_expression":{"description":"Caller-assigned Guy 1976 AIMS item 1 muscles of facial expression (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"incapacitation":{"description":"Caller-assigned Guy 1976 AIMS item 9 incapacitation due to abnormal movements (integer 0-4): 0 none, 1 minimal, 2 mild, 3 moderate, 4 severe. Recorded only; not added to the dyskinesia total. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"jaw":{"description":"Caller-assigned Guy 1976 AIMS item 3 jaw (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"lips_perioral":{"description":"Caller-assigned Guy 1976 AIMS item 2 lips and perioral area (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"lower_extremities":{"description":"Caller-assigned Guy 1976 AIMS item 6 lower extremities (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"overall_severity":{"description":"Caller-assigned Guy 1976 AIMS item 8 overall severity of abnormal movements (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Recorded only; not added to the dyskinesia total. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"tongue":{"description":"Caller-assigned Guy 1976 AIMS item 4 tongue (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Rate increase in movement, not inability to sustain. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"trunk":{"description":"Caller-assigned Guy 1976 AIMS item 7 neck, shoulders, hips (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"upper_extremities":{"description":"Caller-assigned Guy 1976 AIMS item 5 upper extremities (integer 0-4): 0 none, 1 minimal may be extreme normal, 2 mild, 3 moderate, 4 severe. Include choreic and athetoid movements. Do not include tremor. Rate highest severity observed. magent does not examine the patient.","enum":[0,1,2,3,4],"type":"integer"},"wears_dentures":{"description":"Caller-assigned Guy 1976 AIMS item 12 does the patient usually wear dentures (true or false). Recorded only; not added to the dyskinesia total. magent does not examine the patient.","type":"boolean"}},"required":["facial_expression","lips_perioral","jaw","tongue","upper_extremities","lower_extremities","trunk","overall_severity","incapacitation","awareness","dental_problems","wears_dentures"],"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},{"id":39457,"slug":"39457","resource":"https://api.magentlab.com/api/calc/rass","description":"Richmond Agitation-Sedation Scale (RASS, Sessler 2002) as assigned by the caller: integer -5 to +4 with the published term and description (Combative through Unarousable). magent does not observe the patient, administer voice or physical stimulation, or titrate sedation. Not a CAM-ICU feature, not a CAM-ICU administration, and not a sedation order or dose.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"rass":0},{"rass":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sessler CN, Gosnell MS, Grap MJ, et al.","doi":"10.1164/rccm.2107138","id":"sessler-2002","pmid":"12421743","source":"Am J Respir Crit Care Med. 2002;166(10):1338-1344","title":"The Richmond Agitation-Sedation Scale: validity and reliability in adult intensive care unit patients"},"components":[{"factor":"rass","points":0,"present":true}],"description":"Alert and calm","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":"rass","formula_expression":"RASS integer -5 to +4 as assigned by the caller; Sessler 2002 ten levels (Combative through Unarousable)","max_score":4,"rass":0,"score":0,"term":"Alert and calm"},{"citation":{"authors":"Sessler CN, Gosnell MS, Grap MJ, et al.","doi":"10.1164/rccm.2107138","id":"sessler-2002","pmid":"12421743","source":"Am J Respir Crit Care Med. 2002;166(10):1338-1344","title":"The Richmond Agitation-Sedation Scale: validity and reliability in adult intensive care unit patients"},"components":[{"factor":"rass","points":0,"present":true}],"description":"Alert and calm","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":"rass","formula_expression":"RASS integer -5 to +4 as assigned by the caller; Sessler 2002 ten levels (Combative through Unarousable)","max_score":4,"rass":0,"score":0,"term":"Alert and calm"}],"path":"/api/calc/rass"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"rass":{"description":"Sessler 2002 RASS integer -5 to +4 as assigned by the caller (+4 Combative; +3 Very agitated; +2 Agitated; +1 Restless; 0 Alert and calm; -1 Drowsy; -2 Light sedation; -3 Moderate sedation; -4 Deep sedation; -5 Unarousable). magent does not observe the patient, administer voice or physical stimulation, or titrate sedation.","type":"integer"}},"required":["rass"],"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":["rass","sedation","icu","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:50:08.001Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:50:07.867Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"rass":0},{"rass":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sessler CN, Gosnell MS, Grap MJ, et al.","doi":"10.1164/rccm.2107138","id":"sessler-2002","pmid":"12421743","source":"Am J Respir Crit Care Med. 2002;166(10):1338-1344","title":"The Richmond Agitation-Sedation Scale: validity and reliability in adult intensive care unit patients"},"components":[{"factor":"rass","points":0,"present":true}],"description":"Alert and calm","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":"rass","formula_expression":"RASS integer -5 to +4 as assigned by the caller; Sessler 2002 ten levels (Combative through Unarousable)","max_score":4,"rass":0,"score":0,"term":"Alert and calm"},{"citation":{"authors":"Sessler CN, Gosnell MS, Grap MJ, et al.","doi":"10.1164/rccm.2107138","id":"sessler-2002","pmid":"12421743","source":"Am J Respir Crit Care Med. 2002;166(10):1338-1344","title":"The Richmond Agitation-Sedation Scale: validity and reliability in adult intensive care unit patients"},"components":[{"factor":"rass","points":0,"present":true}],"description":"Alert and calm","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":"rass","formula_expression":"RASS integer -5 to +4 as assigned by the caller; Sessler 2002 ten levels (Combative through Unarousable)","max_score":4,"rass":0,"score":0,"term":"Alert and calm"}],"path":"/api/calc/rass"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"rass":{"description":"Sessler 2002 RASS integer -5 to +4 as assigned by the caller (+4 Combative; +3 Very agitated; +2 Agitated; +1 Restless; 0 Alert and calm; -1 Drowsy; -2 Light sedation; -3 Moderate sedation; -4 Deep sedation; -5 Unarousable). magent does not observe the patient, administer voice or physical stimulation, or titrate sedation.","type":"integer"}},"required":["rass"],"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},{"id":39458,"slug":"39458","resource":"https://api.magentlab.com/api/calc/2helps2b","description":"Struck 2017 2HELPS2B: BIRDs 2 points; LPD or LRDA or BIPD, prior seizure, sporadic epileptiform discharges, frequency >2.0 Hz, and plus features 1 point each. Max 7. Published probable seizure risk: 0→5%, 1→12%, 2→27%, 3→50%, 4→73%, 5→88%, 6–7→>95%. Not a seizure diagnosis or monitoring-duration protocol. magent does not read EEG.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"birds":false,"frequency_gt_2hz":false,"lpd_lrda_bipd":false,"plus_features":false,"prior_seizure":false,"sporadic_epileptiform":false},{"birds":false,"frequency_gt_2hz":false,"lpd_lrda_bipd":false,"plus_features":false,"prior_seizure":false,"sporadic_epileptiform":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Struck AF, Ustun B, Rodriguez Ruiz AA, Lee JW, LaRoche SM, Hirsch LJ, Gilmore EJ, Vlachy J, Haider HA, Rudin C, Westover MB","doi":"10.1001/jamaneurol.2017.2459","id":"struck-2017","pmid":"29052706","source":"JAMA Neurol. 2017;74(12):1419-1424","title":"Association of an electroencephalography-based risk score with seizure probability in hospitalized patients"},"components":[{"factor":"birds","points":0,"present":false},{"factor":"lpd_lrda_bipd","points":0,"present":false},{"factor":"prior_seizure","points":0,"present":false},{"factor":"sporadic_epileptiform","points":0,"present":false},{"factor":"frequency_gt_2hz","points":0,"present":false},{"factor":"plus_features","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":"2helps2b","formula_expression":"2HELPS2B = birds (true 2) + lpd_lrda_bipd (true 1) + prior_seizure (true 1) + sporadic_epileptiform (true 1) + frequency_gt_2hz (true 1) + plus_features (true 1); Struck 2017; max 7; 0→5%, 1→12%, 2→27%, 3→50%, 4→73%, 5→88%, 6-7→>95%","max_score":7,"score":0,"seizure_risk":"5%"},{"citation":{"authors":"Struck AF, Ustun B, Rodriguez Ruiz AA, Lee JW, LaRoche SM, Hirsch LJ, Gilmore EJ, Vlachy J, Haider HA, Rudin C, Westover MB","doi":"10.1001/jamaneurol.2017.2459","id":"struck-2017","pmid":"29052706","source":"JAMA Neurol. 2017;74(12):1419-1424","title":"Association of an electroencephalography-based risk score with seizure probability in hospitalized patients"},"components":[{"factor":"birds","points":0,"present":false},{"factor":"lpd_lrda_bipd","points":0,"present":false},{"factor":"prior_seizure","points":0,"present":false},{"factor":"sporadic_epileptiform","points":0,"present":false},{"factor":"frequency_gt_2hz","points":0,"present":false},{"factor":"plus_features","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":"2helps2b","formula_expression":"2HELPS2B = birds (true 2) + lpd_lrda_bipd (true 1) + prior_seizure (true 1) + sporadic_epileptiform (true 1) + frequency_gt_2hz (true 1) + plus_features (true 1); Struck 2017; max 7; 0→5%, 1→12%, 2→27%, 3→50%, 4→73%, 5→88%, 6-7→>95%","max_score":7,"score":0,"seizure_risk":"5%"}],"path":"/api/calc/2helps2b"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"birds":{"description":"Brief (ictal) rhythmic discharges (BIRDs) as assigned by the caller (Struck 2017). true scores 2. magent does not read EEG.","type":"boolean"},"frequency_gt_2hz":{"description":"Frequency >2.0 Hz for any periodic or rhythmic pattern as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.","type":"boolean"},"lpd_lrda_bipd":{"description":"LPD or LRDA or BIPD as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.","type":"boolean"},"plus_features":{"description":"Plus features (superimposed rhythmic, sharp, or fast activity) as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.","type":"boolean"},"prior_seizure":{"description":"Prior seizure, acute or remote, as assigned by the caller (Struck 2017). true scores 1.","type":"boolean"},"sporadic_epileptiform":{"description":"Sporadic epileptiform discharges as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.","type":"boolean"}},"required":["birds","lpd_lrda_bipd","prior_seizure","sporadic_epileptiform","frequency_gt_2hz","plus_features"],"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":["2helps2b","eeg","seizure","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:50:00.902Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:50:00.764Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"birds":false,"frequency_gt_2hz":false,"lpd_lrda_bipd":false,"plus_features":false,"prior_seizure":false,"sporadic_epileptiform":false},{"birds":false,"frequency_gt_2hz":false,"lpd_lrda_bipd":false,"plus_features":false,"prior_seizure":false,"sporadic_epileptiform":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Struck AF, Ustun B, Rodriguez Ruiz AA, Lee JW, LaRoche SM, Hirsch LJ, Gilmore EJ, Vlachy J, Haider HA, Rudin C, Westover MB","doi":"10.1001/jamaneurol.2017.2459","id":"struck-2017","pmid":"29052706","source":"JAMA Neurol. 2017;74(12):1419-1424","title":"Association of an electroencephalography-based risk score with seizure probability in hospitalized patients"},"components":[{"factor":"birds","points":0,"present":false},{"factor":"lpd_lrda_bipd","points":0,"present":false},{"factor":"prior_seizure","points":0,"present":false},{"factor":"sporadic_epileptiform","points":0,"present":false},{"factor":"frequency_gt_2hz","points":0,"present":false},{"factor":"plus_features","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":"2helps2b","formula_expression":"2HELPS2B = birds (true 2) + lpd_lrda_bipd (true 1) + prior_seizure (true 1) + sporadic_epileptiform (true 1) + frequency_gt_2hz (true 1) + plus_features (true 1); Struck 2017; max 7; 0→5%, 1→12%, 2→27%, 3→50%, 4→73%, 5→88%, 6-7→>95%","max_score":7,"score":0,"seizure_risk":"5%"},{"citation":{"authors":"Struck AF, Ustun B, Rodriguez Ruiz AA, Lee JW, LaRoche SM, Hirsch LJ, Gilmore EJ, Vlachy J, Haider HA, Rudin C, Westover MB","doi":"10.1001/jamaneurol.2017.2459","id":"struck-2017","pmid":"29052706","source":"JAMA Neurol. 2017;74(12):1419-1424","title":"Association of an electroencephalography-based risk score with seizure probability in hospitalized patients"},"components":[{"factor":"birds","points":0,"present":false},{"factor":"lpd_lrda_bipd","points":0,"present":false},{"factor":"prior_seizure","points":0,"present":false},{"factor":"sporadic_epileptiform","points":0,"present":false},{"factor":"frequency_gt_2hz","points":0,"present":false},{"factor":"plus_features","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":"2helps2b","formula_expression":"2HELPS2B = birds (true 2) + lpd_lrda_bipd (true 1) + prior_seizure (true 1) + sporadic_epileptiform (true 1) + frequency_gt_2hz (true 1) + plus_features (true 1); Struck 2017; max 7; 0→5%, 1→12%, 2→27%, 3→50%, 4→73%, 5→88%, 6-7→>95%","max_score":7,"score":0,"seizure_risk":"5%"}],"path":"/api/calc/2helps2b"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"birds":{"description":"Brief (ictal) rhythmic discharges (BIRDs) as assigned by the caller (Struck 2017). true scores 2. magent does not read EEG.","type":"boolean"},"frequency_gt_2hz":{"description":"Frequency >2.0 Hz for any periodic or rhythmic pattern as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.","type":"boolean"},"lpd_lrda_bipd":{"description":"LPD or LRDA or BIPD as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.","type":"boolean"},"plus_features":{"description":"Plus features (superimposed rhythmic, sharp, or fast activity) as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.","type":"boolean"},"prior_seizure":{"description":"Prior seizure, acute or remote, as assigned by the caller (Struck 2017). true scores 1.","type":"boolean"},"sporadic_epileptiform":{"description":"Sporadic epileptiform discharges as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.","type":"boolean"}},"required":["birds","lpd_lrda_bipd","prior_seizure","sporadic_epileptiform","frequency_gt_2hz","plus_features"],"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},{"id":39459,"slug":"39459","resource":"https://api.magentlab.com/api/calc/capd","description":"Traube 2014 CAPD: 8 caller-assigned integers 0-4. eye_contact, purposeful_actions, awareness, and communication are reverse-scored in that paper (never contributes 4; 0 is the never-delirium pole after that reverse key). Total 0-32. Screen-positive iff score ≥9. magent does not examine the child or invent a developmental-delay cutoff. Not a psychiatric diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"awareness":0,"communication":0,"delayed_response":0,"eye_contact":0,"inconsolable":0,"purposeful_actions":0,"restless":0,"underactive":0},{"awareness":0,"communication":0,"delayed_response":0,"eye_contact":0,"inconsolable":0,"purposeful_actions":0,"restless":0,"underactive":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Traube C, Silver G, Kearney J, Patel A, Atkinson TM, Yoon MJ, et al.","doi":"10.1097/CCM.0b013e3182a66b76","id":"traube-2014","pmid":"24145848","source":"Crit Care Med. 2014;42(3):656-663","title":"Cornell Assessment of Pediatric Delirium: a valid, rapid, observational tool for screening delirium in the PICU"},"components":[{"factor":"eye_contact","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"purposeful_actions","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"awareness","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"communication","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"restless","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"inconsolable","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"underactive","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"delayed_response","points":0,"present":true,"reverse_scored":false,"value":0}],"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":"capd","formula_expression":"CAPD = eye_contact + purposeful_actions + awareness + communication + restless + inconsolable + underactive + delayed_response; each caller-assigned 0-4 as in Traube 2014 (eye_contact, purposeful_actions, awareness, and communication reverse-scored in that paper so never contributes 4 and always contributes 0; 0 is the never-delirium published pole); max 32; Traube 2014 screen-positive iff score ≥ 9","max_score":32,"score":0,"screen_positive":false},{"citation":{"authors":"Traube C, Silver G, Kearney J, Patel A, Atkinson TM, Yoon MJ, et al.","doi":"10.1097/CCM.0b013e3182a66b76","id":"traube-2014","pmid":"24145848","source":"Crit Care Med. 2014;42(3):656-663","title":"Cornell Assessment of Pediatric Delirium: a valid, rapid, observational tool for screening delirium in the PICU"},"components":[{"factor":"eye_contact","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"purposeful_actions","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"awareness","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"communication","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"restless","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"inconsolable","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"underactive","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"delayed_response","points":0,"present":true,"reverse_scored":false,"value":0}],"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":"capd","formula_expression":"CAPD = eye_contact + purposeful_actions + awareness + communication + restless + inconsolable + underactive + delayed_response; each caller-assigned 0-4 as in Traube 2014 (eye_contact, purposeful_actions, awareness, and communication reverse-scored in that paper so never contributes 4 and always contributes 0; 0 is the never-delirium published pole); max 32; Traube 2014 screen-positive iff score ≥ 9","max_score":32,"score":0,"screen_positive":false}],"path":"/api/calc/capd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"awareness":{"description":"Caller-assigned Traube 2014 CAPD item 3 (integer 0-4). Reverse-scored in that paper: is the child aware of his/her surroundings. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.","type":"integer"},"communication":{"description":"Caller-assigned Traube 2014 CAPD item 4 (integer 0-4). Reverse-scored in that paper: does the child communicate needs and wants. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.","type":"integer"},"delayed_response":{"description":"Caller-assigned Traube 2014 CAPD item 8 (integer 0-4): does it take the child a long time to respond to interactions. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.","type":"integer"},"eye_contact":{"description":"Caller-assigned Traube 2014 CAPD item 1 (integer 0-4). Reverse-scored in that paper: does the child make eye contact with the caregiver. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.","type":"integer"},"inconsolable":{"description":"Caller-assigned Traube 2014 CAPD item 6 (integer 0-4): is the child inconsolable. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.","type":"integer"},"purposeful_actions":{"description":"Caller-assigned Traube 2014 CAPD item 2 (integer 0-4). Reverse-scored in that paper: are the child's actions purposeful. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.","type":"integer"},"restless":{"description":"Caller-assigned Traube 2014 CAPD item 5 (integer 0-4): is the child restless. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.","type":"integer"},"underactive":{"description":"Caller-assigned Traube 2014 CAPD item 7 (integer 0-4): is the child underactive — very little movement while awake. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.","type":"integer"}},"required":["eye_contact","purposeful_actions","awareness","communication","restless","inconsolable","underactive","delayed_response"],"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":["capd","delirium","picu","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:49:54.688Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:49:54.549Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"awareness":0,"communication":0,"delayed_response":0,"eye_contact":0,"inconsolable":0,"purposeful_actions":0,"restless":0,"underactive":0},{"awareness":0,"communication":0,"delayed_response":0,"eye_contact":0,"inconsolable":0,"purposeful_actions":0,"restless":0,"underactive":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Traube C, Silver G, Kearney J, Patel A, Atkinson TM, Yoon MJ, et al.","doi":"10.1097/CCM.0b013e3182a66b76","id":"traube-2014","pmid":"24145848","source":"Crit Care Med. 2014;42(3):656-663","title":"Cornell Assessment of Pediatric Delirium: a valid, rapid, observational tool for screening delirium in the PICU"},"components":[{"factor":"eye_contact","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"purposeful_actions","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"awareness","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"communication","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"restless","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"inconsolable","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"underactive","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"delayed_response","points":0,"present":true,"reverse_scored":false,"value":0}],"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":"capd","formula_expression":"CAPD = eye_contact + purposeful_actions + awareness + communication + restless + inconsolable + underactive + delayed_response; each caller-assigned 0-4 as in Traube 2014 (eye_contact, purposeful_actions, awareness, and communication reverse-scored in that paper so never contributes 4 and always contributes 0; 0 is the never-delirium published pole); max 32; Traube 2014 screen-positive iff score ≥ 9","max_score":32,"score":0,"screen_positive":false},{"citation":{"authors":"Traube C, Silver G, Kearney J, Patel A, Atkinson TM, Yoon MJ, et al.","doi":"10.1097/CCM.0b013e3182a66b76","id":"traube-2014","pmid":"24145848","source":"Crit Care Med. 2014;42(3):656-663","title":"Cornell Assessment of Pediatric Delirium: a valid, rapid, observational tool for screening delirium in the PICU"},"components":[{"factor":"eye_contact","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"purposeful_actions","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"awareness","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"communication","points":0,"present":true,"reverse_scored":true,"value":0},{"factor":"restless","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"inconsolable","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"underactive","points":0,"present":true,"reverse_scored":false,"value":0},{"factor":"delayed_response","points":0,"present":true,"reverse_scored":false,"value":0}],"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":"capd","formula_expression":"CAPD = eye_contact + purposeful_actions + awareness + communication + restless + inconsolable + underactive + delayed_response; each caller-assigned 0-4 as in Traube 2014 (eye_contact, purposeful_actions, awareness, and communication reverse-scored in that paper so never contributes 4 and always contributes 0; 0 is the never-delirium published pole); max 32; Traube 2014 screen-positive iff score ≥ 9","max_score":32,"score":0,"screen_positive":false}],"path":"/api/calc/capd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"awareness":{"description":"Caller-assigned Traube 2014 CAPD item 3 (integer 0-4). Reverse-scored in that paper: is the child aware of his/her surroundings. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.","type":"integer"},"communication":{"description":"Caller-assigned Traube 2014 CAPD item 4 (integer 0-4). Reverse-scored in that paper: does the child communicate needs and wants. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.","type":"integer"},"delayed_response":{"description":"Caller-assigned Traube 2014 CAPD item 8 (integer 0-4): does it take the child a long time to respond to interactions. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.","type":"integer"},"eye_contact":{"description":"Caller-assigned Traube 2014 CAPD item 1 (integer 0-4). Reverse-scored in that paper: does the child make eye contact with the caregiver. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.","type":"integer"},"inconsolable":{"description":"Caller-assigned Traube 2014 CAPD item 6 (integer 0-4): is the child inconsolable. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.","type":"integer"},"purposeful_actions":{"description":"Caller-assigned Traube 2014 CAPD item 2 (integer 0-4). Reverse-scored in that paper: are the child's actions purposeful. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.","type":"integer"},"restless":{"description":"Caller-assigned Traube 2014 CAPD item 5 (integer 0-4): is the child restless. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.","type":"integer"},"underactive":{"description":"Caller-assigned Traube 2014 CAPD item 7 (integer 0-4): is the child underactive — very little movement while awake. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.","type":"integer"}},"required":["eye_contact","purposeful_actions","awareness","communication","restless","inconsolable","underactive","delayed_response"],"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},{"id":39460,"slug":"39460","resource":"https://api.magentlab.com/api/calc/cam_icu","description":"CAM-ICU (Ely 2001). Delirium is present iff Feature 1 (acute onset or fluctuating course) and Feature 2 (inattention) both hold, and Feature 3 (disorganized thinking) or Feature 4 (altered level of consciousness) also holds. The caller assigns each feature as already determined. magent does not observe the patient, administer RASS, or run the attention screening exam. Not a diagnosis and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_onset_or_fluctuation":false,"altered_level_of_consciousness":false,"disorganized_thinking":false,"inattention":false},{"acute_onset_or_fluctuation":false,"altered_level_of_consciousness":false,"disorganized_thinking":false,"inattention":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ely EW, Inouye SK, Bernard GR, et al.","doi":"10.1001/jama.286.21.2703","id":"ely-2001","pmid":"11730446","source":"JAMA. 2001;286(21):2703-2710","title":"Delirium in mechanically ventilated patients: validity and reliability of the confusion assessment method for the intensive care unit (CAM-ICU)"},"criteria":[{"factor":"acute_onset_or_fluctuation","met":false},{"factor":"inattention","met":false},{"factor":"disorganized_thinking","met":false},{"factor":"altered_level_of_consciousness","met":false}],"delirium_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":"cam_icu","formula_expression":"delirium present iff Feature 1 AND Feature 2 AND (Feature 3 OR Feature 4)"},{"citation":{"authors":"Ely EW, Inouye SK, Bernard GR, et al.","doi":"10.1001/jama.286.21.2703","id":"ely-2001","pmid":"11730446","source":"JAMA. 2001;286(21):2703-2710","title":"Delirium in mechanically ventilated patients: validity and reliability of the confusion assessment method for the intensive care unit (CAM-ICU)"},"criteria":[{"factor":"acute_onset_or_fluctuation","met":false},{"factor":"inattention","met":false},{"factor":"disorganized_thinking","met":false},{"factor":"altered_level_of_consciousness","met":false}],"delirium_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":"cam_icu","formula_expression":"delirium present iff Feature 1 AND Feature 2 AND (Feature 3 OR Feature 4)"}],"path":"/api/calc/cam_icu"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_onset_or_fluctuation":{"description":"Feature 1: acute onset of mental status change or fluctuating course. true or false as assigned by the caller. magent does not observe the patient or judge fluctuation.","type":"boolean"},"altered_level_of_consciousness":{"description":"Feature 4: altered level of consciousness. true or false as assigned by the caller. magent does not administer RASS.","type":"boolean"},"disorganized_thinking":{"description":"Feature 3: disorganized thinking. true or false as assigned by the caller. magent does not administer the thinking questions.","type":"boolean"},"inattention":{"description":"Feature 2: inattention. true or false as assigned by the caller. magent does not run the attention screening exam.","type":"boolean"}},"required":["acute_onset_or_fluctuation","inattention","disorganized_thinking","altered_level_of_consciousness"],"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":["cam-icu","delirium","icu","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:49:47.768Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:49:47.629Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_onset_or_fluctuation":false,"altered_level_of_consciousness":false,"disorganized_thinking":false,"inattention":false},{"acute_onset_or_fluctuation":false,"altered_level_of_consciousness":false,"disorganized_thinking":false,"inattention":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ely EW, Inouye SK, Bernard GR, et al.","doi":"10.1001/jama.286.21.2703","id":"ely-2001","pmid":"11730446","source":"JAMA. 2001;286(21):2703-2710","title":"Delirium in mechanically ventilated patients: validity and reliability of the confusion assessment method for the intensive care unit (CAM-ICU)"},"criteria":[{"factor":"acute_onset_or_fluctuation","met":false},{"factor":"inattention","met":false},{"factor":"disorganized_thinking","met":false},{"factor":"altered_level_of_consciousness","met":false}],"delirium_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":"cam_icu","formula_expression":"delirium present iff Feature 1 AND Feature 2 AND (Feature 3 OR Feature 4)"},{"citation":{"authors":"Ely EW, Inouye SK, Bernard GR, et al.","doi":"10.1001/jama.286.21.2703","id":"ely-2001","pmid":"11730446","source":"JAMA. 2001;286(21):2703-2710","title":"Delirium in mechanically ventilated patients: validity and reliability of the confusion assessment method for the intensive care unit (CAM-ICU)"},"criteria":[{"factor":"acute_onset_or_fluctuation","met":false},{"factor":"inattention","met":false},{"factor":"disorganized_thinking","met":false},{"factor":"altered_level_of_consciousness","met":false}],"delirium_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":"cam_icu","formula_expression":"delirium present iff Feature 1 AND Feature 2 AND (Feature 3 OR Feature 4)"}],"path":"/api/calc/cam_icu"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_onset_or_fluctuation":{"description":"Feature 1: acute onset of mental status change or fluctuating course. true or false as assigned by the caller. magent does not observe the patient or judge fluctuation.","type":"boolean"},"altered_level_of_consciousness":{"description":"Feature 4: altered level of consciousness. true or false as assigned by the caller. magent does not administer RASS.","type":"boolean"},"disorganized_thinking":{"description":"Feature 3: disorganized thinking. true or false as assigned by the caller. magent does not administer the thinking questions.","type":"boolean"},"inattention":{"description":"Feature 2: inattention. true or false as assigned by the caller. magent does not run the attention screening exam.","type":"boolean"}},"required":["acute_onset_or_fluctuation","inattention","disorganized_thinking","altered_level_of_consciousness"],"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},{"id":39461,"slug":"39461","resource":"https://api.magentlab.com/api/calc/msoar","description":"mSOAR (Abdul-Rahim 2016 Stroke): SOAR plus NIHSS for early mortality after acute stroke. Age ≤65 0, 66-85 1, >85 2; infarct 0, hemorrhage 1; OCSP LACS/PACS 0, POCS 1, TACS 2; prestroke mRS 0-2 0, 3-4 1, 5 2; NIHSS 0-4 0, 5-10 1, ≥11 2. Max 9. Table 2 derivation percents for scores 0-1 through 7. Not a care-withdrawal decision. magent does not examine the patient or score NIHSS items.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":18,"nihss":0,"ocsp":"lacs","prestroke_mrs":0,"stroke_subtype":"infarct"},{"age":18,"nihss":0,"ocsp":"lacs","prestroke_mrs":0,"stroke_subtype":"infarct"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":18,"citation":{"authors":"Abdul-Rahim AH, Quinn TJ, Alder S, Clark AB, Musgrave SD, Langhorne P, Potter JF, Myint PK","doi":"10.1161/STROKEAHA.115.009898","id":"abdul-rahim-2016","pmid":"26578661","source":"Stroke. 2016;47(1):74-79","title":"Derivation and Validation of a Novel Prognostic Scale (Modified–Stroke Subtype, Oxfordshire Community Stroke Project Classification, Age, and Prestroke Modified Rankin) to Predict Early Mortality in Acute Stroke"},"components":[{"factor":"age","points":0,"present":false,"value":18},{"factor":"stroke_subtype","points":0,"present":false,"value":"infarct"},{"factor":"ocsp","points":0,"present":false,"value":"lacs"},{"factor":"prestroke_mrs","points":0,"present":false,"value":0},{"factor":"nihss","points":0,"present":false,"value":0}],"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.","early_mortality_percent":1,"formula":"msoar","formula_expression":"mSOAR = age (≤65 0, 66-85 1, >85 2) + subtype (infarct 0, hemorrhage 1) + OCSP (LACS/PACS 0, POCS 1, TACS 2) + prestroke mRS (0-2 0, 3-4 1, 5 2) + NIHSS (0-4 0, 5-10 1, ≥11 2; 11-20 and ≥21 both 2); Abdul-Rahim 2016 Table 1 bands and Suppl Table I NIHSS integers; max 9; Table 2 derivation early mortality 1.0/1.5/6.5/9.2/19.5/26.2/49.2% for scores 0-1/2/3/4/5/6/7","max_score":9,"nihss":0,"ocsp":"lacs","prestroke_mrs":0,"score":0,"stroke_subtype":"infarct"},{"age_years":18,"citation":{"authors":"Abdul-Rahim AH, Quinn TJ, Alder S, Clark AB, Musgrave SD, Langhorne P, Potter JF, Myint PK","doi":"10.1161/STROKEAHA.115.009898","id":"abdul-rahim-2016","pmid":"26578661","source":"Stroke. 2016;47(1):74-79","title":"Derivation and Validation of a Novel Prognostic Scale (Modified–Stroke Subtype, Oxfordshire Community Stroke Project Classification, Age, and Prestroke Modified Rankin) to Predict Early Mortality in Acute Stroke"},"components":[{"factor":"age","points":0,"present":false,"value":18},{"factor":"stroke_subtype","points":0,"present":false,"value":"infarct"},{"factor":"ocsp","points":0,"present":false,"value":"lacs"},{"factor":"prestroke_mrs","points":0,"present":false,"value":0},{"factor":"nihss","points":0,"present":false,"value":0}],"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.","early_mortality_percent":1,"formula":"msoar","formula_expression":"mSOAR = age (≤65 0, 66-85 1, >85 2) + subtype (infarct 0, hemorrhage 1) + OCSP (LACS/PACS 0, POCS 1, TACS 2) + prestroke mRS (0-2 0, 3-4 1, 5 2) + NIHSS (0-4 0, 5-10 1, ≥11 2; 11-20 and ≥21 both 2); Abdul-Rahim 2016 Table 1 bands and Suppl Table I NIHSS integers; max 9; Table 2 derivation early mortality 1.0/1.5/6.5/9.2/19.5/26.2/49.2% for scores 0-1/2/3/4/5/6/7","max_score":9,"nihss":0,"ocsp":"lacs","prestroke_mrs":0,"score":0,"stroke_subtype":"infarct"}],"path":"/api/calc/msoar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Abdul-Rahim 2016 Table 1: ≤65 scores 0; 66-85 scores 1; >85 scores 2. Age 85 is the 66-85 band.","type":"integer"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42), not an item exam. Abdul-Rahim 2016 Suppl Table I / Table 1: 0-4 scores 0; 5-10 scores 1; 11-20 and ≥21 both score 2. magent does not compute NIHSS or examine the patient.","type":"integer"},"ocsp":{"description":"Caller-assigned Oxfordshire Community Stroke Project class (Abdul-Rahim 2016 Table 1). lacs or pacs scores 0; pocs scores 1; tacs scores 2. Case-insensitive. magent does not examine the patient.","enum":["lacs","pacs","pocs","tacs"],"type":"string"},"prestroke_mrs":{"description":"Caller-assigned prestroke modified Rankin grade 0-5. SOAR weights used by mSOAR: 0-2 scores 0; 3-4 scores 1; 5 scores 2. Table 1 lists cohort counts as 0-1 / 2-3 / 4-5, not those integer weights. magent does not interview the patient.","type":"integer"},"stroke_subtype":{"description":"Caller-assigned stroke subtype (Abdul-Rahim 2016 Methods / Table 1). infarct (ischemic infarction) scores 0; hemorrhage scores 1. Case-insensitive. magent does not read imaging.","enum":["infarct","hemorrhage"],"type":"string"}},"required":["age","stroke_subtype","ocsp","prestroke_mrs","nihss"],"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":["msoar","stroke","nihss","neurology","mortality","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:49:33.623Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:49:33.487Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":18,"nihss":0,"ocsp":"lacs","prestroke_mrs":0,"stroke_subtype":"infarct"},{"age":18,"nihss":0,"ocsp":"lacs","prestroke_mrs":0,"stroke_subtype":"infarct"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":18,"citation":{"authors":"Abdul-Rahim AH, Quinn TJ, Alder S, Clark AB, Musgrave SD, Langhorne P, Potter JF, Myint PK","doi":"10.1161/STROKEAHA.115.009898","id":"abdul-rahim-2016","pmid":"26578661","source":"Stroke. 2016;47(1):74-79","title":"Derivation and Validation of a Novel Prognostic Scale (Modified–Stroke Subtype, Oxfordshire Community Stroke Project Classification, Age, and Prestroke Modified Rankin) to Predict Early Mortality in Acute Stroke"},"components":[{"factor":"age","points":0,"present":false,"value":18},{"factor":"stroke_subtype","points":0,"present":false,"value":"infarct"},{"factor":"ocsp","points":0,"present":false,"value":"lacs"},{"factor":"prestroke_mrs","points":0,"present":false,"value":0},{"factor":"nihss","points":0,"present":false,"value":0}],"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.","early_mortality_percent":1,"formula":"msoar","formula_expression":"mSOAR = age (≤65 0, 66-85 1, >85 2) + subtype (infarct 0, hemorrhage 1) + OCSP (LACS/PACS 0, POCS 1, TACS 2) + prestroke mRS (0-2 0, 3-4 1, 5 2) + NIHSS (0-4 0, 5-10 1, ≥11 2; 11-20 and ≥21 both 2); Abdul-Rahim 2016 Table 1 bands and Suppl Table I NIHSS integers; max 9; Table 2 derivation early mortality 1.0/1.5/6.5/9.2/19.5/26.2/49.2% for scores 0-1/2/3/4/5/6/7","max_score":9,"nihss":0,"ocsp":"lacs","prestroke_mrs":0,"score":0,"stroke_subtype":"infarct"},{"age_years":18,"citation":{"authors":"Abdul-Rahim AH, Quinn TJ, Alder S, Clark AB, Musgrave SD, Langhorne P, Potter JF, Myint PK","doi":"10.1161/STROKEAHA.115.009898","id":"abdul-rahim-2016","pmid":"26578661","source":"Stroke. 2016;47(1):74-79","title":"Derivation and Validation of a Novel Prognostic Scale (Modified–Stroke Subtype, Oxfordshire Community Stroke Project Classification, Age, and Prestroke Modified Rankin) to Predict Early Mortality in Acute Stroke"},"components":[{"factor":"age","points":0,"present":false,"value":18},{"factor":"stroke_subtype","points":0,"present":false,"value":"infarct"},{"factor":"ocsp","points":0,"present":false,"value":"lacs"},{"factor":"prestroke_mrs","points":0,"present":false,"value":0},{"factor":"nihss","points":0,"present":false,"value":0}],"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.","early_mortality_percent":1,"formula":"msoar","formula_expression":"mSOAR = age (≤65 0, 66-85 1, >85 2) + subtype (infarct 0, hemorrhage 1) + OCSP (LACS/PACS 0, POCS 1, TACS 2) + prestroke mRS (0-2 0, 3-4 1, 5 2) + NIHSS (0-4 0, 5-10 1, ≥11 2; 11-20 and ≥21 both 2); Abdul-Rahim 2016 Table 1 bands and Suppl Table I NIHSS integers; max 9; Table 2 derivation early mortality 1.0/1.5/6.5/9.2/19.5/26.2/49.2% for scores 0-1/2/3/4/5/6/7","max_score":9,"nihss":0,"ocsp":"lacs","prestroke_mrs":0,"score":0,"stroke_subtype":"infarct"}],"path":"/api/calc/msoar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Abdul-Rahim 2016 Table 1: ≤65 scores 0; 66-85 scores 1; >85 scores 2. Age 85 is the 66-85 band.","type":"integer"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42), not an item exam. Abdul-Rahim 2016 Suppl Table I / Table 1: 0-4 scores 0; 5-10 scores 1; 11-20 and ≥21 both score 2. magent does not compute NIHSS or examine the patient.","type":"integer"},"ocsp":{"description":"Caller-assigned Oxfordshire Community Stroke Project class (Abdul-Rahim 2016 Table 1). lacs or pacs scores 0; pocs scores 1; tacs scores 2. Case-insensitive. magent does not examine the patient.","enum":["lacs","pacs","pocs","tacs"],"type":"string"},"prestroke_mrs":{"description":"Caller-assigned prestroke modified Rankin grade 0-5. SOAR weights used by mSOAR: 0-2 scores 0; 3-4 scores 1; 5 scores 2. Table 1 lists cohort counts as 0-1 / 2-3 / 4-5, not those integer weights. magent does not interview the patient.","type":"integer"},"stroke_subtype":{"description":"Caller-assigned stroke subtype (Abdul-Rahim 2016 Methods / Table 1). infarct (ischemic infarction) scores 0; hemorrhage scores 1. Case-insensitive. magent does not read imaging.","enum":["infarct","hemorrhage"],"type":"string"}},"required":["age","stroke_subtype","ocsp","prestroke_mrs","nihss"],"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},{"id":39462,"slug":"39462","resource":"https://api.magentlab.com/api/calc/plan","description":"PLAN score (O'Donnell 2012 Arch Intern Med Table 4): preadmission dependence 1.5, cancer 1.5, CHF 1, atrial fibrillation 1, reduced LOC 5, age 1 point per decade (max 10), significant/total arm weakness 2, leg weakness 2, aphasia or neglect 1. Max 25. Bands <10, 10-15, >15. Not a tPA decision and not iScore. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":18,"aphasia_or_neglect":false,"arm_weakness":false,"atrial_fibrillation":false,"cancer":false,"congestive_heart_failure":false,"leg_weakness":false,"preadmission_dependence":false,"reduced_loc":false},{"age":18,"aphasia_or_neglect":false,"arm_weakness":false,"atrial_fibrillation":false,"cancer":false,"congestive_heart_failure":false,"leg_weakness":false,"preadmission_dependence":false,"reduced_loc":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_points":1,"age_years":18,"citation":{"authors":"O'Donnell MJ, Fang J, D'Uva C, et al.","doi":"10.1001/2013.jamainternmed.30","id":"odonnell-2012","pmid":"23147454","source":"Arch Intern Med. 2012;172(20):1548-1556","title":"The PLAN score: a bedside prediction rule for death and severe disability following acute ischemic stroke"},"components":[{"factor":"age","points":1,"present":true,"value":18},{"factor":"preadmission_dependence","points":0,"present":false},{"factor":"cancer","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"reduced_loc","points":0,"present":false},{"factor":"arm_weakness","points":0,"present":false},{"factor":"leg_weakness","points":0,"present":false},{"factor":"aphasia_or_neglect","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":"plan","formula_expression":"PLAN = preadmission_dependence 1.5 + cancer 1.5 + congestive_heart_failure 1 + atrial_fibrillation 1 + reduced_loc 5 + min(floor(age/10), 10) + arm_weakness 2 + leg_weakness 2 + aphasia_or_neglect 1; O'Donnell 2012 Table 4; max 25; bands <10 / 10-15 / >15","max_score":25,"plan_band":"<10","score":1},{"age_points":1,"age_years":18,"citation":{"authors":"O'Donnell MJ, Fang J, D'Uva C, et al.","doi":"10.1001/2013.jamainternmed.30","id":"odonnell-2012","pmid":"23147454","source":"Arch Intern Med. 2012;172(20):1548-1556","title":"The PLAN score: a bedside prediction rule for death and severe disability following acute ischemic stroke"},"components":[{"factor":"age","points":1,"present":true,"value":18},{"factor":"preadmission_dependence","points":0,"present":false},{"factor":"cancer","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"reduced_loc","points":0,"present":false},{"factor":"arm_weakness","points":0,"present":false},{"factor":"leg_weakness","points":0,"present":false},{"factor":"aphasia_or_neglect","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":"plan","formula_expression":"PLAN = preadmission_dependence 1.5 + cancer 1.5 + congestive_heart_failure 1 + atrial_fibrillation 1 + reduced_loc 5 + min(floor(age/10), 10) + arm_weakness 2 + leg_weakness 2 + aphasia_or_neglect 1; O'Donnell 2012 Table 4; max 25; bands <10 / 10-15 / >15","max_score":25,"plan_band":"<10","score":1}],"path":"/api/calc/plan"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). O'Donnell 2012 Table 4: 1 point per decade (floor age/10), maximum 10. The derivation excluded patients younger than 18.","type":"integer"},"aphasia_or_neglect":{"description":"Caller-assigned aphasia or neglect (O'Donnell 2012 Table 4 combined item). true scores 1 whether one or both are present; false scores 0. magent does not examine the patient.","type":"boolean"},"arm_weakness":{"description":"Caller-assigned significant or total arm weakness (O'Donnell 2012 Table 4). true scores 2. Mild or no weakness scores 0. magent does not examine the patient.","type":"boolean"},"atrial_fibrillation":{"description":"Atrial fibrillation (O'Donnell 2012 Table 4). true scores 1; false scores 0. The caller assigns the item.","type":"boolean"},"cancer":{"description":"History of cancer on the admission notes (O'Donnell 2012 Table 4; not a diagnosis made during the incident hospitalization). true scores 1.5; false scores 0. The caller assigns the item.","type":"boolean"},"congestive_heart_failure":{"description":"Congestive heart failure (O'Donnell 2012 Table 4). true scores 1; false scores 0. The caller assigns the item.","type":"boolean"},"leg_weakness":{"description":"Caller-assigned significant or total leg weakness (O'Donnell 2012 Table 4). true scores 2. Mild or no weakness scores 0. magent does not examine the patient.","type":"boolean"},"preadmission_dependence":{"description":"Preadmission dependence (O'Donnell 2012 Table 4). true scores 1.5; false scores 0. The caller assigns the item.","type":"boolean"},"reduced_loc":{"description":"Caller-assigned reduced level of consciousness (O'Donnell 2012 Table 4). true scores 5; false (alert) scores 0. magent does not examine the patient.","type":"boolean"}},"required":["age","preadmission_dependence","cancer","congestive_heart_failure","atrial_fibrillation","reduced_loc","arm_weakness","leg_weakness","aphasia_or_neglect"],"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":["plan","stroke","neurology","ischemic","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:49:26.648Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:49:26.508Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":18,"aphasia_or_neglect":false,"arm_weakness":false,"atrial_fibrillation":false,"cancer":false,"congestive_heart_failure":false,"leg_weakness":false,"preadmission_dependence":false,"reduced_loc":false},{"age":18,"aphasia_or_neglect":false,"arm_weakness":false,"atrial_fibrillation":false,"cancer":false,"congestive_heart_failure":false,"leg_weakness":false,"preadmission_dependence":false,"reduced_loc":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_points":1,"age_years":18,"citation":{"authors":"O'Donnell MJ, Fang J, D'Uva C, et al.","doi":"10.1001/2013.jamainternmed.30","id":"odonnell-2012","pmid":"23147454","source":"Arch Intern Med. 2012;172(20):1548-1556","title":"The PLAN score: a bedside prediction rule for death and severe disability following acute ischemic stroke"},"components":[{"factor":"age","points":1,"present":true,"value":18},{"factor":"preadmission_dependence","points":0,"present":false},{"factor":"cancer","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"reduced_loc","points":0,"present":false},{"factor":"arm_weakness","points":0,"present":false},{"factor":"leg_weakness","points":0,"present":false},{"factor":"aphasia_or_neglect","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":"plan","formula_expression":"PLAN = preadmission_dependence 1.5 + cancer 1.5 + congestive_heart_failure 1 + atrial_fibrillation 1 + reduced_loc 5 + min(floor(age/10), 10) + arm_weakness 2 + leg_weakness 2 + aphasia_or_neglect 1; O'Donnell 2012 Table 4; max 25; bands <10 / 10-15 / >15","max_score":25,"plan_band":"<10","score":1},{"age_points":1,"age_years":18,"citation":{"authors":"O'Donnell MJ, Fang J, D'Uva C, et al.","doi":"10.1001/2013.jamainternmed.30","id":"odonnell-2012","pmid":"23147454","source":"Arch Intern Med. 2012;172(20):1548-1556","title":"The PLAN score: a bedside prediction rule for death and severe disability following acute ischemic stroke"},"components":[{"factor":"age","points":1,"present":true,"value":18},{"factor":"preadmission_dependence","points":0,"present":false},{"factor":"cancer","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"atrial_fibrillation","points":0,"present":false},{"factor":"reduced_loc","points":0,"present":false},{"factor":"arm_weakness","points":0,"present":false},{"factor":"leg_weakness","points":0,"present":false},{"factor":"aphasia_or_neglect","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":"plan","formula_expression":"PLAN = preadmission_dependence 1.5 + cancer 1.5 + congestive_heart_failure 1 + atrial_fibrillation 1 + reduced_loc 5 + min(floor(age/10), 10) + arm_weakness 2 + leg_weakness 2 + aphasia_or_neglect 1; O'Donnell 2012 Table 4; max 25; bands <10 / 10-15 / >15","max_score":25,"plan_band":"<10","score":1}],"path":"/api/calc/plan"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). O'Donnell 2012 Table 4: 1 point per decade (floor age/10), maximum 10. The derivation excluded patients younger than 18.","type":"integer"},"aphasia_or_neglect":{"description":"Caller-assigned aphasia or neglect (O'Donnell 2012 Table 4 combined item). true scores 1 whether one or both are present; false scores 0. magent does not examine the patient.","type":"boolean"},"arm_weakness":{"description":"Caller-assigned significant or total arm weakness (O'Donnell 2012 Table 4). true scores 2. Mild or no weakness scores 0. magent does not examine the patient.","type":"boolean"},"atrial_fibrillation":{"description":"Atrial fibrillation (O'Donnell 2012 Table 4). true scores 1; false scores 0. The caller assigns the item.","type":"boolean"},"cancer":{"description":"History of cancer on the admission notes (O'Donnell 2012 Table 4; not a diagnosis made during the incident hospitalization). true scores 1.5; false scores 0. The caller assigns the item.","type":"boolean"},"congestive_heart_failure":{"description":"Congestive heart failure (O'Donnell 2012 Table 4). true scores 1; false scores 0. The caller assigns the item.","type":"boolean"},"leg_weakness":{"description":"Caller-assigned significant or total leg weakness (O'Donnell 2012 Table 4). true scores 2. Mild or no weakness scores 0. magent does not examine the patient.","type":"boolean"},"preadmission_dependence":{"description":"Preadmission dependence (O'Donnell 2012 Table 4). true scores 1.5; false scores 0. The caller assigns the item.","type":"boolean"},"reduced_loc":{"description":"Caller-assigned reduced level of consciousness (O'Donnell 2012 Table 4). true scores 5; false (alert) scores 0. magent does not examine the patient.","type":"boolean"}},"required":["age","preadmission_dependence","cancer","congestive_heart_failure","atrial_fibrillation","reduced_loc","arm_weakness","leg_weakness","aphasia_or_neglect"],"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},{"id":39463,"slug":"39463","resource":"https://api.magentlab.com/api/calc/pre_score","description":"PRE (Pittsburgh Response to Endovascular therapy) score: age + 2×NIHSS - 10×ASPECTS (Rangaraju 2015). Integer PRE, quartiles <0 / 0-24 / 25-49 / >=50, and recanalization-benefit strata <-24 / -24 to 49 / >=50. Not a thrombectomy recommendation. The caller assigns NIHSS and ASPECTS; magent does not assign NIHSS or read CT.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":65,"aspects":8,"nihss":18},{"age":65,"aspects":8,"nihss":18}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"aspects":8,"citation":{"authors":"Rangaraju S, Aghaebrahim A, Streib C, Sun CH, Ribo M, Muchada M, Nogueira R, Frankel M, Gupta R, Jadhav A, Jovin TG","doi":"10.1136/neurintsurg-2014-011351","id":"rangaraju-2015","pmid":"25320216","source":"J Neurointerv Surg. 2015;7(11):783-788","title":"Pittsburgh Response to Endovascular therapy (PRE) score: optimizing patient selection for endovascular therapy for large vessel occlusion strokes"},"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":"pre_score","formula_expression":"PRE = age_years + 2 × nihss - 10 × aspects (Rangaraju 2015); integer arithmetic; no clamp on the total","nihss":18,"pre_quartile":"0-24","pre_score":21,"recanalization_stratum":"-24_to_49"},{"age_years":65,"aspects":8,"citation":{"authors":"Rangaraju S, Aghaebrahim A, Streib C, Sun CH, Ribo M, Muchada M, Nogueira R, Frankel M, Gupta R, Jadhav A, Jovin TG","doi":"10.1136/neurintsurg-2014-011351","id":"rangaraju-2015","pmid":"25320216","source":"J Neurointerv Surg. 2015;7(11):783-788","title":"Pittsburgh Response to Endovascular therapy (PRE) score: optimizing patient selection for endovascular therapy for large vessel occlusion strokes"},"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":"pre_score","formula_expression":"PRE = age_years + 2 × nihss - 10 × aspects (Rangaraju 2015); integer arithmetic; no clamp on the total","nihss":18,"pre_quartile":"0-24","pre_score":21,"recanalization_stratum":"-24_to_49"}],"path":"/api/calc/pre_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120).","type":"integer"},"aspects":{"description":"Alberta Stroke Program Early CT Score (integer 0-10). magent does not read CT.","type":"integer"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42, NINDS total). magent does not assign NIHSS or examine the patient.","type":"integer"}},"required":["age","nihss","aspects"],"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":["pre-score","stroke","neurology","nihss","aspects","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:49:20.364Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:49:20.233Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":65,"aspects":8,"nihss":18},{"age":65,"aspects":8,"nihss":18}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":65,"aspects":8,"citation":{"authors":"Rangaraju S, Aghaebrahim A, Streib C, Sun CH, Ribo M, Muchada M, Nogueira R, Frankel M, Gupta R, Jadhav A, Jovin TG","doi":"10.1136/neurintsurg-2014-011351","id":"rangaraju-2015","pmid":"25320216","source":"J Neurointerv Surg. 2015;7(11):783-788","title":"Pittsburgh Response to Endovascular therapy (PRE) score: optimizing patient selection for endovascular therapy for large vessel occlusion strokes"},"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":"pre_score","formula_expression":"PRE = age_years + 2 × nihss - 10 × aspects (Rangaraju 2015); integer arithmetic; no clamp on the total","nihss":18,"pre_quartile":"0-24","pre_score":21,"recanalization_stratum":"-24_to_49"},{"age_years":65,"aspects":8,"citation":{"authors":"Rangaraju S, Aghaebrahim A, Streib C, Sun CH, Ribo M, Muchada M, Nogueira R, Frankel M, Gupta R, Jadhav A, Jovin TG","doi":"10.1136/neurintsurg-2014-011351","id":"rangaraju-2015","pmid":"25320216","source":"J Neurointerv Surg. 2015;7(11):783-788","title":"Pittsburgh Response to Endovascular therapy (PRE) score: optimizing patient selection for endovascular therapy for large vessel occlusion strokes"},"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":"pre_score","formula_expression":"PRE = age_years + 2 × nihss - 10 × aspects (Rangaraju 2015); integer arithmetic; no clamp on the total","nihss":18,"pre_quartile":"0-24","pre_score":21,"recanalization_stratum":"-24_to_49"}],"path":"/api/calc/pre_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120).","type":"integer"},"aspects":{"description":"Alberta Stroke Program Early CT Score (integer 0-10). magent does not read CT.","type":"integer"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42, NINDS total). magent does not assign NIHSS or examine the patient.","type":"integer"}},"required":["age","nihss","aspects"],"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},{"id":39464,"slug":"39464","resource":"https://api.magentlab.com/api/calc/gi_gpa","description":"Sperduto 2019 updated GI-GPA: KPS <80 = 0, 80 = 1.0, 90-100 = 2.0; age >=60 = 0, <60 = 0.5; extracranial metastases present = 0, absent = 0.5; number of brain metastases >3 = 0, 2-3 = 0.5, 1 = 1.0. Max 4.0. GPA 0-1.0 / 1.5-2.0 / 2.5-3.0 / 3.5-4.0 median survival 3, 7, 11, 17 months (abstract/KM). Not a treatment order. Not lung-molGPA. magent does not assign KPS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"brain_metastasis_count":1,"extracranial_metastases":false,"kps":100},{"age":50,"brain_metastasis_count":1,"extracranial_metastases":false,"kps":100}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"brain_metastasis_count":1,"citation":{"authors":"Sperduto PW, Fang P, Li J, et al.","doi":"10.1016/j.ctro.2019.06.007","id":"sperduto-2019-gi-gpa","pmid":"31341974","source":"Clin Transl Radiat Oncol. 2019;18:39-45","title":"Estimating survival in patients with gastrointestinal cancers and brain metastases: An update of the graded prognostic assessment for gastrointestinal cancers (GI-GPA)"},"components":[{"factor":"kps","points":2,"present":true,"value":100},{"factor":"age","points":0.5,"present":true,"value":50},{"factor":"extracranial_metastases","points":0.5,"present":true,"value":false},{"factor":"brain_metastasis_count","points":1,"present":true,"value":1}],"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.","extracranial_metastases":false,"formula":"gi_gpa","formula_expression":"GI-GPA = kps_pts + age_pts + extracranial_pts + brain_met_pts; KPS <80 (10-70) 0, 80 1.0, 90-100 2.0; age >=60 0, <60 0.5; extracranial mets present 0, absent 0.5; brain mets >3 0, 2-3 0.5, 1 1.0; groups 0-1.0 / 1.5-2.0 / 2.5-3.0 / 3.5-4.0; max 4.0 (Sperduto 2019 Table 4; median survival from abstract/KM 3, 7, 11, 17 months)","gpa_group":"3.5-4.0","kps":100,"max_score":4,"median_survival_months":17,"score":4},{"age":50,"brain_metastasis_count":1,"citation":{"authors":"Sperduto PW, Fang P, Li J, et al.","doi":"10.1016/j.ctro.2019.06.007","id":"sperduto-2019-gi-gpa","pmid":"31341974","source":"Clin Transl Radiat Oncol. 2019;18:39-45","title":"Estimating survival in patients with gastrointestinal cancers and brain metastases: An update of the graded prognostic assessment for gastrointestinal cancers (GI-GPA)"},"components":[{"factor":"kps","points":2,"present":true,"value":100},{"factor":"age","points":0.5,"present":true,"value":50},{"factor":"extracranial_metastases","points":0.5,"present":true,"value":false},{"factor":"brain_metastasis_count","points":1,"present":true,"value":1}],"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.","extracranial_metastases":false,"formula":"gi_gpa","formula_expression":"GI-GPA = kps_pts + age_pts + extracranial_pts + brain_met_pts; KPS <80 (10-70) 0, 80 1.0, 90-100 2.0; age >=60 0, <60 0.5; extracranial mets present 0, absent 0.5; brain mets >3 0, 2-3 0.5, 1 1.0; groups 0-1.0 / 1.5-2.0 / 2.5-3.0 / 3.5-4.0; max 4.0 (Sperduto 2019 Table 4; median survival from abstract/KM 3, 7, 11, 17 months)","gpa_group":"3.5-4.0","kps":100,"max_score":4,"median_survival_months":17,"score":4}],"path":"/api/calc/gi_gpa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Sperduto 2019 Table 4: >=60 scores 0; <60 scores 0.5.","type":"integer"},"brain_metastasis_count":{"description":"Number of brain metastases (integer 1-50). Sperduto 2019 Table 4: >3 scores 0; 2-3 scores 0.5; 1 scores 1.0. magent does not count metastases on imaging.","type":"integer"},"extracranial_metastases":{"description":"Extracranial metastases (ECM). true (present) scores 0; false (absent) scores 0.5 (Sperduto 2019 Table 4). magent does not stage extracranial disease.","type":"boolean"},"kps":{"description":"Caller-assigned Karnofsky Performance Status decade 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100. Sperduto 2019 Table 4: <80 (10-70) scores 0; 80 scores 1.0; 90-100 scores 2.0. Grade 0 (dead) is not scored. magent does not assign KPS.","type":"integer"}},"required":["kps","age","extracranial_metastases","brain_metastasis_count"],"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":["gi-gpa","neurology","brain-metastases","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:49:13.451Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:49:13.308Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"brain_metastasis_count":1,"extracranial_metastases":false,"kps":100},{"age":50,"brain_metastasis_count":1,"extracranial_metastases":false,"kps":100}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"brain_metastasis_count":1,"citation":{"authors":"Sperduto PW, Fang P, Li J, et al.","doi":"10.1016/j.ctro.2019.06.007","id":"sperduto-2019-gi-gpa","pmid":"31341974","source":"Clin Transl Radiat Oncol. 2019;18:39-45","title":"Estimating survival in patients with gastrointestinal cancers and brain metastases: An update of the graded prognostic assessment for gastrointestinal cancers (GI-GPA)"},"components":[{"factor":"kps","points":2,"present":true,"value":100},{"factor":"age","points":0.5,"present":true,"value":50},{"factor":"extracranial_metastases","points":0.5,"present":true,"value":false},{"factor":"brain_metastasis_count","points":1,"present":true,"value":1}],"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.","extracranial_metastases":false,"formula":"gi_gpa","formula_expression":"GI-GPA = kps_pts + age_pts + extracranial_pts + brain_met_pts; KPS <80 (10-70) 0, 80 1.0, 90-100 2.0; age >=60 0, <60 0.5; extracranial mets present 0, absent 0.5; brain mets >3 0, 2-3 0.5, 1 1.0; groups 0-1.0 / 1.5-2.0 / 2.5-3.0 / 3.5-4.0; max 4.0 (Sperduto 2019 Table 4; median survival from abstract/KM 3, 7, 11, 17 months)","gpa_group":"3.5-4.0","kps":100,"max_score":4,"median_survival_months":17,"score":4},{"age":50,"brain_metastasis_count":1,"citation":{"authors":"Sperduto PW, Fang P, Li J, et al.","doi":"10.1016/j.ctro.2019.06.007","id":"sperduto-2019-gi-gpa","pmid":"31341974","source":"Clin Transl Radiat Oncol. 2019;18:39-45","title":"Estimating survival in patients with gastrointestinal cancers and brain metastases: An update of the graded prognostic assessment for gastrointestinal cancers (GI-GPA)"},"components":[{"factor":"kps","points":2,"present":true,"value":100},{"factor":"age","points":0.5,"present":true,"value":50},{"factor":"extracranial_metastases","points":0.5,"present":true,"value":false},{"factor":"brain_metastasis_count","points":1,"present":true,"value":1}],"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.","extracranial_metastases":false,"formula":"gi_gpa","formula_expression":"GI-GPA = kps_pts + age_pts + extracranial_pts + brain_met_pts; KPS <80 (10-70) 0, 80 1.0, 90-100 2.0; age >=60 0, <60 0.5; extracranial mets present 0, absent 0.5; brain mets >3 0, 2-3 0.5, 1 1.0; groups 0-1.0 / 1.5-2.0 / 2.5-3.0 / 3.5-4.0; max 4.0 (Sperduto 2019 Table 4; median survival from abstract/KM 3, 7, 11, 17 months)","gpa_group":"3.5-4.0","kps":100,"max_score":4,"median_survival_months":17,"score":4}],"path":"/api/calc/gi_gpa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Sperduto 2019 Table 4: >=60 scores 0; <60 scores 0.5.","type":"integer"},"brain_metastasis_count":{"description":"Number of brain metastases (integer 1-50). Sperduto 2019 Table 4: >3 scores 0; 2-3 scores 0.5; 1 scores 1.0. magent does not count metastases on imaging.","type":"integer"},"extracranial_metastases":{"description":"Extracranial metastases (ECM). true (present) scores 0; false (absent) scores 0.5 (Sperduto 2019 Table 4). magent does not stage extracranial disease.","type":"boolean"},"kps":{"description":"Caller-assigned Karnofsky Performance Status decade 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100. Sperduto 2019 Table 4: <80 (10-70) scores 0; 80 scores 1.0; 90-100 scores 2.0. Grade 0 (dead) is not scored. magent does not assign KPS.","type":"integer"}},"required":["kps","age","extracranial_metastases","brain_metastasis_count"],"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},{"id":39465,"slug":"39465","resource":"https://api.magentlab.com/api/calc/bmv","description":"Farris 2017 brain metastasis velocity: bmv = new_brain_metastases / years_since_first_srs, 1 decimal. new_brain_metastases integer 0-200; years_since_first_srs 0.01-30. Low if BMV <4 (median OS 12.4 months after initial distant brain failure), intermediate 4-13 (8.2), high >13 (4.3). Does not floor BMV (NRG-BN009). Not time since last SRS. magent does not count metastases on imaging. Not a diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"new_brain_metastases":3,"years_since_first_srs":1},{"new_brain_metastases":3,"years_since_first_srs":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmv":3,"citation":{"authors":"Farris M, McTyre ER, Cramer CK, et al.","doi":"10.1016/j.ijrobp.2017.01.201","id":"farris-2017","pmid":"28586952","source":"Int J Radiat Oncol Biol Phys. 2017 May 1;98(1):169-175","title":"Brain Metastasis Velocity: A Novel Prognostic Metric Predictive of Overall Survival and Freedom From Whole-Brain Radiation Therapy After Distant Brain Failure Following Upfront Radiosurgery Alone"},"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":"bmv","formula_expression":"bmv = new_brain_metastases / years_since_first_srs","median_os_months":12.4,"new_brain_metastases":3,"risk_group":"low","years_since_first_srs":1},{"bmv":3,"citation":{"authors":"Farris M, McTyre ER, Cramer CK, et al.","doi":"10.1016/j.ijrobp.2017.01.201","id":"farris-2017","pmid":"28586952","source":"Int J Radiat Oncol Biol Phys. 2017 May 1;98(1):169-175","title":"Brain Metastasis Velocity: A Novel Prognostic Metric Predictive of Overall Survival and Freedom From Whole-Brain Radiation Therapy After Distant Brain Failure Following Upfront Radiosurgery Alone"},"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":"bmv","formula_expression":"bmv = new_brain_metastases / years_since_first_srs","median_os_months":12.4,"new_brain_metastases":3,"risk_group":"low","years_since_first_srs":1}],"path":"/api/calc/bmv"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"new_brain_metastases":{"description":"Cumulative number of new brain metastases since first SRS (integer 0-200). Caller-assigned; magent does not count metastases on imaging.","type":"integer"},"years_since_first_srs":{"description":"Years since first SRS (0.01-30; must be > 0). Farris 2017 uses time since first SRS, not time since last SRS.","type":"number"}},"required":["new_brain_metastases","years_since_first_srs"],"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":["bmv","brain-metastases","neurology","srs","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:49:06.292Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:49:06.165Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"new_brain_metastases":3,"years_since_first_srs":1},{"new_brain_metastases":3,"years_since_first_srs":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmv":3,"citation":{"authors":"Farris M, McTyre ER, Cramer CK, et al.","doi":"10.1016/j.ijrobp.2017.01.201","id":"farris-2017","pmid":"28586952","source":"Int J Radiat Oncol Biol Phys. 2017 May 1;98(1):169-175","title":"Brain Metastasis Velocity: A Novel Prognostic Metric Predictive of Overall Survival and Freedom From Whole-Brain Radiation Therapy After Distant Brain Failure Following Upfront Radiosurgery Alone"},"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":"bmv","formula_expression":"bmv = new_brain_metastases / years_since_first_srs","median_os_months":12.4,"new_brain_metastases":3,"risk_group":"low","years_since_first_srs":1},{"bmv":3,"citation":{"authors":"Farris M, McTyre ER, Cramer CK, et al.","doi":"10.1016/j.ijrobp.2017.01.201","id":"farris-2017","pmid":"28586952","source":"Int J Radiat Oncol Biol Phys. 2017 May 1;98(1):169-175","title":"Brain Metastasis Velocity: A Novel Prognostic Metric Predictive of Overall Survival and Freedom From Whole-Brain Radiation Therapy After Distant Brain Failure Following Upfront Radiosurgery Alone"},"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":"bmv","formula_expression":"bmv = new_brain_metastases / years_since_first_srs","median_os_months":12.4,"new_brain_metastases":3,"risk_group":"low","years_since_first_srs":1}],"path":"/api/calc/bmv"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"new_brain_metastases":{"description":"Cumulative number of new brain metastases since first SRS (integer 0-200). Caller-assigned; magent does not count metastases on imaging.","type":"integer"},"years_since_first_srs":{"description":"Years since first SRS (0.01-30; must be > 0). Farris 2017 uses time since first SRS, not time since last SRS.","type":"number"}},"required":["new_brain_metastases","years_since_first_srs"],"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},{"id":39466,"slug":"39466","resource":"https://api.magentlab.com/api/calc/four_score","description":"FOUR score (Wijdicks 2005) from caller-assigned eye, motor, brainstem, and respiration integers 0-4; magent sums only (max 16) and does not pick a component from a narrative. Eye 4 tracking/blink to command to 0 closed to pain; motor 4 thumbs-up/fist/peace to 0 none or myoclonus status; brainstem 4 pupil and corneal present to 0 pupil, corneal, and cough absent; respiration 4 not intubated regular to 0 ventilator rate or apnea. Not a diagnosis and not a GCS conversion.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"brainstem":4,"eye":4,"motor":4,"respiration":4},{"brainstem":4,"eye":4,"motor":4,"respiration":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wijdicks EFM, Bamlet WR, Maramattom BV, Manno EM, McClelland RL","doi":"10.1002/ana.20611","id":"wijdicks-2005","pmid":"16178024","source":"Ann Neurol. 2005;58(4):585-593","title":"Validation of a new coma scale: The FOUR score"},"components":[{"factor":"eye","points":4,"present":true,"value":4},{"factor":"motor","points":4,"present":true,"value":4},{"factor":"brainstem","points":4,"present":true,"value":4},{"factor":"respiration","points":4,"present":true,"value":4}],"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":"four_score","formula_expression":"FOUR = eye + motor + brainstem + respiration; each caller-assigned integer 0-4; max 16","max_score":16,"score":16},{"citation":{"authors":"Wijdicks EFM, Bamlet WR, Maramattom BV, Manno EM, McClelland RL","doi":"10.1002/ana.20611","id":"wijdicks-2005","pmid":"16178024","source":"Ann Neurol. 2005;58(4):585-593","title":"Validation of a new coma scale: The FOUR score"},"components":[{"factor":"eye","points":4,"present":true,"value":4},{"factor":"motor","points":4,"present":true,"value":4},{"factor":"brainstem","points":4,"present":true,"value":4},{"factor":"respiration","points":4,"present":true,"value":4}],"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":"four_score","formula_expression":"FOUR = eye + motor + brainstem + respiration; each caller-assigned integer 0-4; max 16","max_score":16,"score":16}],"path":"/api/calc/four_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"brainstem":{"description":"Caller-assigned Wijdicks 2005 brainstem points (integer 0-4). magent does not pick the component from a narrative. 4 pupil and corneal present; 3 one pupil wide and fixed; 2 pupil or corneal absent; 1 pupil and corneal absent; 0 pupil, corneal, and cough absent.","type":"integer"},"eye":{"description":"Caller-assigned Wijdicks 2005 eye points (integer 0-4). magent does not pick the component from a narrative. 4 tracking or blink to command; 3 open not tracking; 2 open to voice; 1 open to pain; 0 closed to pain.","type":"integer"},"motor":{"description":"Caller-assigned Wijdicks 2005 motor points (integer 0-4). magent does not pick the component from a narrative. 4 thumbs-up, fist, or peace to command; 3 localizing; 2 flexion; 1 extension; 0 none or myoclonus status.","type":"integer"},"respiration":{"description":"Caller-assigned Wijdicks 2005 respiration points (integer 0-4). magent does not pick the component from a narrative. 4 not intubated regular; 3 Cheyne-Stokes; 2 irregular; 1 breathes above ventilator; 0 ventilator rate or apnea.","type":"integer"}},"required":["eye","motor","brainstem","respiration"],"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":["four-score","coma","neurology","four","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:48:52.2Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:48:52.075Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"brainstem":4,"eye":4,"motor":4,"respiration":4},{"brainstem":4,"eye":4,"motor":4,"respiration":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wijdicks EFM, Bamlet WR, Maramattom BV, Manno EM, McClelland RL","doi":"10.1002/ana.20611","id":"wijdicks-2005","pmid":"16178024","source":"Ann Neurol. 2005;58(4):585-593","title":"Validation of a new coma scale: The FOUR score"},"components":[{"factor":"eye","points":4,"present":true,"value":4},{"factor":"motor","points":4,"present":true,"value":4},{"factor":"brainstem","points":4,"present":true,"value":4},{"factor":"respiration","points":4,"present":true,"value":4}],"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":"four_score","formula_expression":"FOUR = eye + motor + brainstem + respiration; each caller-assigned integer 0-4; max 16","max_score":16,"score":16},{"citation":{"authors":"Wijdicks EFM, Bamlet WR, Maramattom BV, Manno EM, McClelland RL","doi":"10.1002/ana.20611","id":"wijdicks-2005","pmid":"16178024","source":"Ann Neurol. 2005;58(4):585-593","title":"Validation of a new coma scale: The FOUR score"},"components":[{"factor":"eye","points":4,"present":true,"value":4},{"factor":"motor","points":4,"present":true,"value":4},{"factor":"brainstem","points":4,"present":true,"value":4},{"factor":"respiration","points":4,"present":true,"value":4}],"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":"four_score","formula_expression":"FOUR = eye + motor + brainstem + respiration; each caller-assigned integer 0-4; max 16","max_score":16,"score":16}],"path":"/api/calc/four_score"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"brainstem":{"description":"Caller-assigned Wijdicks 2005 brainstem points (integer 0-4). magent does not pick the component from a narrative. 4 pupil and corneal present; 3 one pupil wide and fixed; 2 pupil or corneal absent; 1 pupil and corneal absent; 0 pupil, corneal, and cough absent.","type":"integer"},"eye":{"description":"Caller-assigned Wijdicks 2005 eye points (integer 0-4). magent does not pick the component from a narrative. 4 tracking or blink to command; 3 open not tracking; 2 open to voice; 1 open to pain; 0 closed to pain.","type":"integer"},"motor":{"description":"Caller-assigned Wijdicks 2005 motor points (integer 0-4). magent does not pick the component from a narrative. 4 thumbs-up, fist, or peace to command; 3 localizing; 2 flexion; 1 extension; 0 none or myoclonus status.","type":"integer"},"respiration":{"description":"Caller-assigned Wijdicks 2005 respiration points (integer 0-4). magent does not pick the component from a narrative. 4 not intubated regular; 3 Cheyne-Stokes; 2 irregular; 1 breathes above ventilator; 0 ventilator rate or apnea.","type":"integer"}},"required":["eye","motor","brainstem","respiration"],"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},{"id":39467,"slug":"39467","resource":"https://api.magentlab.com/api/calc/modified_fisher","description":"Frontera 2006 modified Fisher CT grades 0-4 for subarachnoid hemorrhage as assigned from CT by the caller. Returns the published grade and description (0 no SAH or IVH; 1 focal or diffuse thin SAH, no IVH; 2 thin SAH with IVH; 3 thick SAH, no IVH; 4 thick SAH with IVH). Not Fisher 1980 original groups 1-4. Not a diagnosis; magent does not read the CT or invent a millimetre cutoff or vasospasm percentage.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"grade":1},{"grade":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Frontera JA, Claassen J, Schmidt JM, et al.","doi":"10.1227/01.NEU.0000218821.34014.1B","id":"frontera-2006","pmid":"16823296","source":"Neurosurgery. 2006;59(1):21-27","title":"Prediction of symptomatic vasospasm after subarachnoid hemorrhage: the modified fisher scale"},"components":[{"factor":"grade","points":1,"present":true}],"description":"Focal or diffuse, thin SAH, no IVH","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":"modified_fisher","formula_expression":"Frontera 2006 modified Fisher CT grade 0-4 as assigned by the caller","grade":1,"max_score":4,"score":1},{"citation":{"authors":"Frontera JA, Claassen J, Schmidt JM, et al.","doi":"10.1227/01.NEU.0000218821.34014.1B","id":"frontera-2006","pmid":"16823296","source":"Neurosurgery. 2006;59(1):21-27","title":"Prediction of symptomatic vasospasm after subarachnoid hemorrhage: the modified fisher scale"},"components":[{"factor":"grade","points":1,"present":true}],"description":"Focal or diffuse, thin SAH, no IVH","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":"modified_fisher","formula_expression":"Frontera 2006 modified Fisher CT grade 0-4 as assigned by the caller","grade":1,"max_score":4,"score":1}],"path":"/api/calc/modified_fisher"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"grade":{"description":"Frontera 2006 modified Fisher CT grade 0-4 as assigned by the caller from CT (0 no SAH or IVH; 1 focal or diffuse thin SAH, no IVH; 2 focal or diffuse thin SAH with IVH; 3 thick SAH, no IVH; 4 thick SAH with IVH). magent does not read the CT. Not Fisher 1980 original groups 1-4.","type":"integer"}},"required":["grade"],"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":["modified-fisher","sah","vasospasm","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:48:46.151Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:48:46.021Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"grade":1},{"grade":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Frontera JA, Claassen J, Schmidt JM, et al.","doi":"10.1227/01.NEU.0000218821.34014.1B","id":"frontera-2006","pmid":"16823296","source":"Neurosurgery. 2006;59(1):21-27","title":"Prediction of symptomatic vasospasm after subarachnoid hemorrhage: the modified fisher scale"},"components":[{"factor":"grade","points":1,"present":true}],"description":"Focal or diffuse, thin SAH, no IVH","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":"modified_fisher","formula_expression":"Frontera 2006 modified Fisher CT grade 0-4 as assigned by the caller","grade":1,"max_score":4,"score":1},{"citation":{"authors":"Frontera JA, Claassen J, Schmidt JM, et al.","doi":"10.1227/01.NEU.0000218821.34014.1B","id":"frontera-2006","pmid":"16823296","source":"Neurosurgery. 2006;59(1):21-27","title":"Prediction of symptomatic vasospasm after subarachnoid hemorrhage: the modified fisher scale"},"components":[{"factor":"grade","points":1,"present":true}],"description":"Focal or diffuse, thin SAH, no IVH","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":"modified_fisher","formula_expression":"Frontera 2006 modified Fisher CT grade 0-4 as assigned by the caller","grade":1,"max_score":4,"score":1}],"path":"/api/calc/modified_fisher"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"grade":{"description":"Frontera 2006 modified Fisher CT grade 0-4 as assigned by the caller from CT (0 no SAH or IVH; 1 focal or diffuse thin SAH, no IVH; 2 focal or diffuse thin SAH with IVH; 3 thick SAH, no IVH; 4 thick SAH with IVH). magent does not read the CT. Not Fisher 1980 original groups 1-4.","type":"integer"}},"required":["grade"],"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},{"id":39468,"slug":"39468","resource":"https://api.magentlab.com/api/calc/fisher","description":"Fisher 1980 original CT groups 1-4 for subarachnoid hemorrhage as assigned from CT by the caller. Returns the published group and description. Group 3 (thick SAH) was the high-vasospasm group; group 4 is ICH/IVH without thick SAH, not a worse grade than 3. Not modified Fisher 2006. Not a diagnosis; magent does not read the CT.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"grade":1},{"grade":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Fisher CM, Kistler JP, Davis JM","doi":"10.1227/00006123-198001000-00001","id":"fisher-1980","pmid":"7354892","source":"Neurosurgery. 1980;6(1):1-9","title":"Relation of cerebral vasospasm to subarachnoid hemorrhage visualized by computerized tomographic scanning"},"components":[{"factor":"grade","points":1,"present":true}],"description":"No blood detected","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":"fisher","formula_expression":"Fisher 1980 original CT group 1-4 as assigned by the caller","grade":1,"max_score":4,"score":1},{"citation":{"authors":"Fisher CM, Kistler JP, Davis JM","doi":"10.1227/00006123-198001000-00001","id":"fisher-1980","pmid":"7354892","source":"Neurosurgery. 1980;6(1):1-9","title":"Relation of cerebral vasospasm to subarachnoid hemorrhage visualized by computerized tomographic scanning"},"components":[{"factor":"grade","points":1,"present":true}],"description":"No blood detected","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":"fisher","formula_expression":"Fisher 1980 original CT group 1-4 as assigned by the caller","grade":1,"max_score":4,"score":1}],"path":"/api/calc/fisher"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"grade":{"description":"Fisher 1980 original CT group 1-4 as assigned by the caller from CT. magent does not read the CT.","type":"integer"}},"required":["grade"],"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":["fisher","sah","vasospasm","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:48:39.529Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:48:39.394Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"grade":1},{"grade":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Fisher CM, Kistler JP, Davis JM","doi":"10.1227/00006123-198001000-00001","id":"fisher-1980","pmid":"7354892","source":"Neurosurgery. 1980;6(1):1-9","title":"Relation of cerebral vasospasm to subarachnoid hemorrhage visualized by computerized tomographic scanning"},"components":[{"factor":"grade","points":1,"present":true}],"description":"No blood detected","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":"fisher","formula_expression":"Fisher 1980 original CT group 1-4 as assigned by the caller","grade":1,"max_score":4,"score":1},{"citation":{"authors":"Fisher CM, Kistler JP, Davis JM","doi":"10.1227/00006123-198001000-00001","id":"fisher-1980","pmid":"7354892","source":"Neurosurgery. 1980;6(1):1-9","title":"Relation of cerebral vasospasm to subarachnoid hemorrhage visualized by computerized tomographic scanning"},"components":[{"factor":"grade","points":1,"present":true}],"description":"No blood detected","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":"fisher","formula_expression":"Fisher 1980 original CT group 1-4 as assigned by the caller","grade":1,"max_score":4,"score":1}],"path":"/api/calc/fisher"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"grade":{"description":"Fisher 1980 original CT group 1-4 as assigned by the caller from CT. magent does not read the CT.","type":"integer"}},"required":["grade"],"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},{"id":39469,"slug":"39469","resource":"https://api.magentlab.com/api/calc/abc2","description":"Kothari 1996 ABC/2 ellipsoid ICH volume: (a_cm × b_cm × c_cm) / 2, rounded to one decimal milliliter. A is the largest diameter, B the perpendicular diameter, and C slice count times thickness; the caller supplies all three in cm. Volume estimate only; not the ICH Score. magent does not read imaging or choose A/B/C on the scan. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"a_cm":2,"b_cm":2,"c_cm":2},{"a_cm":2,"b_cm":2,"c_cm":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"a_cm":2,"b_cm":2,"c_cm":2,"citation":{"authors":"Kothari RU, Brott T, Broderick JP, et al.","doi":"10.1161/01.STR.27.8.1304","id":"kothari-1996","source":"Stroke. 1996;27(8):1304-1305","title":"The ABCs of measuring intracerebral hemorrhage volumes"},"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":"abc2","formula_expression":"volume_ml = (a_cm * b_cm * c_cm) / 2","volume_ml":4},{"a_cm":2,"b_cm":2,"c_cm":2,"citation":{"authors":"Kothari RU, Brott T, Broderick JP, et al.","doi":"10.1161/01.STR.27.8.1304","id":"kothari-1996","source":"Stroke. 1996;27(8):1304-1305","title":"The ABCs of measuring intracerebral hemorrhage volumes"},"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":"abc2","formula_expression":"volume_ml = (a_cm * b_cm * c_cm) / 2","volume_ml":4}],"path":"/api/calc/abc2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"a_cm":{"description":"Largest diameter A in cm (0.1-20). Caller-assigned; magent does not read a scan.","type":"number"},"b_cm":{"description":"Largest diameter B perpendicular to A, in cm (0.1-20). Caller-assigned.","type":"number"},"c_cm":{"description":"C in cm (0.1-20): number of slices times slice thickness. Caller-assigned.","type":"number"}},"required":["a_cm","b_cm","c_cm"],"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":["abc2","ich-volume","neurology","hemorrhage","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:48:32.155Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:48:32.026Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"a_cm":2,"b_cm":2,"c_cm":2},{"a_cm":2,"b_cm":2,"c_cm":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"a_cm":2,"b_cm":2,"c_cm":2,"citation":{"authors":"Kothari RU, Brott T, Broderick JP, et al.","doi":"10.1161/01.STR.27.8.1304","id":"kothari-1996","source":"Stroke. 1996;27(8):1304-1305","title":"The ABCs of measuring intracerebral hemorrhage volumes"},"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":"abc2","formula_expression":"volume_ml = (a_cm * b_cm * c_cm) / 2","volume_ml":4},{"a_cm":2,"b_cm":2,"c_cm":2,"citation":{"authors":"Kothari RU, Brott T, Broderick JP, et al.","doi":"10.1161/01.STR.27.8.1304","id":"kothari-1996","source":"Stroke. 1996;27(8):1304-1305","title":"The ABCs of measuring intracerebral hemorrhage volumes"},"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":"abc2","formula_expression":"volume_ml = (a_cm * b_cm * c_cm) / 2","volume_ml":4}],"path":"/api/calc/abc2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"a_cm":{"description":"Largest diameter A in cm (0.1-20). Caller-assigned; magent does not read a scan.","type":"number"},"b_cm":{"description":"Largest diameter B perpendicular to A, in cm (0.1-20). Caller-assigned.","type":"number"},"c_cm":{"description":"C in cm (0.1-20): number of slices times slice thickness. Caller-assigned.","type":"number"}},"required":["a_cm","b_cm","c_cm"],"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},{"id":39470,"slug":"39470","resource":"https://api.magentlab.com/api/calc/phases","description":"Greving 2014 PHASES 5-year rupture risk for an unruptured intracranial aneurysm. Caller assigns population (north_america_europe 0, japanese 3, finnish 5), hypertension (1), age >=70 (1), size mm (<7 0, 7.0-9.9 3, 10.0-19.9 6, >=20 10), earlier SAH (1), and site (ica 0, mca 2, aca_pcom_posterior 4). Returns points (max 22) and grouped 5-year risk percent. Not a treatment order or PHASES of care. magent does not assign ancestry or read imaging.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"aneurysm_mm":5,"earlier_sah":false,"hypertension":false,"population":"north_america_europe","site":"ica"},{"age":50,"aneurysm_mm":5,"earlier_sah":false,"hypertension":false,"population":"north_america_europe","site":"ica"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"aneurysm_mm":5,"citation":{"authors":"Greving JP, Wermer MJH, Brown RD Jr, et al.","doi":"10.1016/S1474-4422(13)70263-1","id":"greving-2014","pmid":"24290159","source":"Lancet Neurol. 2014;13(1):59-66","title":"Development of the PHASES score for prediction of risk of rupture of intracranial aneurysms: a pooled analysis of six prospective cohort studies"},"components":[{"factor":"population","points":0,"present":true,"value":"north_america_europe"},{"factor":"hypertension","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":50},{"factor":"aneurysm_mm","points":0,"present":true,"value":5},{"factor":"earlier_sah","points":0,"present":false},{"factor":"site","points":0,"present":true,"value":"ica"}],"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.","five_year_rupture_risk_percent":0.4,"formula":"phases","formula_expression":"PHASES = population (north_america_europe 0, japanese 3, finnish 5) + hypertension 1 + age>=70 1 + size (<7.0 0, 7.0-9.9 3, 10.0-19.9 6, >=20.0 10) + earlier_sah 1 + site (ica 0, mca 2, aca_pcom_posterior 4); max 22","max_score":22,"population":"north_america_europe","score":0,"site":"ica"},{"age_years":50,"aneurysm_mm":5,"citation":{"authors":"Greving JP, Wermer MJH, Brown RD Jr, et al.","doi":"10.1016/S1474-4422(13)70263-1","id":"greving-2014","pmid":"24290159","source":"Lancet Neurol. 2014;13(1):59-66","title":"Development of the PHASES score for prediction of risk of rupture of intracranial aneurysms: a pooled analysis of six prospective cohort studies"},"components":[{"factor":"population","points":0,"present":true,"value":"north_america_europe"},{"factor":"hypertension","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":50},{"factor":"aneurysm_mm","points":0,"present":true,"value":5},{"factor":"earlier_sah","points":0,"present":false},{"factor":"site","points":0,"present":true,"value":"ica"}],"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.","five_year_rupture_risk_percent":0.4,"formula":"phases","formula_expression":"PHASES = population (north_america_europe 0, japanese 3, finnish 5) + hypertension 1 + age>=70 1 + size (<7.0 0, 7.0-9.9 3, 10.0-19.9 6, >=20.0 10) + earlier_sah 1 + site (ica 0, mca 2, aca_pcom_posterior 4); max 22","max_score":22,"population":"north_america_europe","score":0,"site":"ica"}],"path":"/api/calc/phases"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). <70 scores 0; ≥70 scores 1 (Greving 2014).","type":"integer"},"aneurysm_mm":{"description":"Caller-assigned maximum aneurysm diameter in millimetres (1.0-50.0). <7.0 scores 0; 7.0-9.9 scores 3; 10.0-19.9 scores 6; ≥20.0 scores 10. magent does not read imaging.","type":"number"},"earlier_sah":{"description":"Earlier subarachnoid hemorrhage from another aneurysm (Greving 2014). true scores 1. Not a diagnosis of current rupture.","type":"boolean"},"hypertension":{"description":"Caller-assigned history of hypertension (Greving 2014). true scores 1. magent does not take a blood-pressure reading.","type":"boolean"},"population":{"description":"Caller-assigned Greving 2014 geographic study population: north_america_europe (0; North America and Europe other than Finland), japanese (3), or finnish (5). magent does not assign ancestry.","type":"string"},"site":{"description":"Caller-assigned aneurysm site as grouped in Greving 2014: ica (0), mca (2), or aca_pcom_posterior (4; anterior cerebral, anterior communicating, posterior communicating, or posterior circulation). magent does not read imaging.","type":"string"}},"required":["population","hypertension","age","aneurysm_mm","earlier_sah","site"],"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":["phases","aneurysm","sah","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:48:25.374Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:48:25.255Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"aneurysm_mm":5,"earlier_sah":false,"hypertension":false,"population":"north_america_europe","site":"ica"},{"age":50,"aneurysm_mm":5,"earlier_sah":false,"hypertension":false,"population":"north_america_europe","site":"ica"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"aneurysm_mm":5,"citation":{"authors":"Greving JP, Wermer MJH, Brown RD Jr, et al.","doi":"10.1016/S1474-4422(13)70263-1","id":"greving-2014","pmid":"24290159","source":"Lancet Neurol. 2014;13(1):59-66","title":"Development of the PHASES score for prediction of risk of rupture of intracranial aneurysms: a pooled analysis of six prospective cohort studies"},"components":[{"factor":"population","points":0,"present":true,"value":"north_america_europe"},{"factor":"hypertension","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":50},{"factor":"aneurysm_mm","points":0,"present":true,"value":5},{"factor":"earlier_sah","points":0,"present":false},{"factor":"site","points":0,"present":true,"value":"ica"}],"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.","five_year_rupture_risk_percent":0.4,"formula":"phases","formula_expression":"PHASES = population (north_america_europe 0, japanese 3, finnish 5) + hypertension 1 + age>=70 1 + size (<7.0 0, 7.0-9.9 3, 10.0-19.9 6, >=20.0 10) + earlier_sah 1 + site (ica 0, mca 2, aca_pcom_posterior 4); max 22","max_score":22,"population":"north_america_europe","score":0,"site":"ica"},{"age_years":50,"aneurysm_mm":5,"citation":{"authors":"Greving JP, Wermer MJH, Brown RD Jr, et al.","doi":"10.1016/S1474-4422(13)70263-1","id":"greving-2014","pmid":"24290159","source":"Lancet Neurol. 2014;13(1):59-66","title":"Development of the PHASES score for prediction of risk of rupture of intracranial aneurysms: a pooled analysis of six prospective cohort studies"},"components":[{"factor":"population","points":0,"present":true,"value":"north_america_europe"},{"factor":"hypertension","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":50},{"factor":"aneurysm_mm","points":0,"present":true,"value":5},{"factor":"earlier_sah","points":0,"present":false},{"factor":"site","points":0,"present":true,"value":"ica"}],"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.","five_year_rupture_risk_percent":0.4,"formula":"phases","formula_expression":"PHASES = population (north_america_europe 0, japanese 3, finnish 5) + hypertension 1 + age>=70 1 + size (<7.0 0, 7.0-9.9 3, 10.0-19.9 6, >=20.0 10) + earlier_sah 1 + site (ica 0, mca 2, aca_pcom_posterior 4); max 22","max_score":22,"population":"north_america_europe","score":0,"site":"ica"}],"path":"/api/calc/phases"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). <70 scores 0; ≥70 scores 1 (Greving 2014).","type":"integer"},"aneurysm_mm":{"description":"Caller-assigned maximum aneurysm diameter in millimetres (1.0-50.0). <7.0 scores 0; 7.0-9.9 scores 3; 10.0-19.9 scores 6; ≥20.0 scores 10. magent does not read imaging.","type":"number"},"earlier_sah":{"description":"Earlier subarachnoid hemorrhage from another aneurysm (Greving 2014). true scores 1. Not a diagnosis of current rupture.","type":"boolean"},"hypertension":{"description":"Caller-assigned history of hypertension (Greving 2014). true scores 1. magent does not take a blood-pressure reading.","type":"boolean"},"population":{"description":"Caller-assigned Greving 2014 geographic study population: north_america_europe (0; North America and Europe other than Finland), japanese (3), or finnish (5). magent does not assign ancestry.","type":"string"},"site":{"description":"Caller-assigned aneurysm site as grouped in Greving 2014: ica (0), mca (2), or aca_pcom_posterior (4; anterior cerebral, anterior communicating, posterior communicating, or posterior circulation). magent does not read imaging.","type":"string"}},"required":["population","hypertension","age","aneurysm_mm","earlier_sah","site"],"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},{"id":39471,"slug":"39471","resource":"https://api.magentlab.com/api/calc/hunt_hess","description":"Hunt and Hess 1968 SAH surgical-risk grade from a caller-assigned grade 1-5. Serious systemic disease (as assigned by the caller) places the patient in the next less favorable category, capped at 5. Deterministic published grade with citation. Not a diagnosis; not WFNS; not Hunt-Kosnik 1974 grade 0/1a.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"grade":2,"serious_systemic_disease":false},{"grade":2,"serious_systemic_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hunt WE, Hess RM","doi":"10.3171/jns.1968.28.1.0014","id":"hunt-hess-1968","source":"J Neurosurg. 1968;28(1):14-20","title":"Surgical risk as related to time of intervention in the repair of intracranial aneurysms"},"components":[{"factor":"assigned_grade","points":2,"present":true}],"description":"Moderate to severe headache, nuchal rigidity, no neurologic deficit other than cranial nerve palsy","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":"hunt_hess","formula_expression":"assigned_grade = min(5, grade + 1) if serious_systemic_disease, else grade; Hunt and Hess 1968 grades 1-5","grade":2,"input_grade":2,"max_score":5,"score":2,"serious_systemic_disease":false},{"citation":{"authors":"Hunt WE, Hess RM","doi":"10.3171/jns.1968.28.1.0014","id":"hunt-hess-1968","source":"J Neurosurg. 1968;28(1):14-20","title":"Surgical risk as related to time of intervention in the repair of intracranial aneurysms"},"components":[{"factor":"assigned_grade","points":2,"present":true}],"description":"Moderate to severe headache, nuchal rigidity, no neurologic deficit other than cranial nerve palsy","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":"hunt_hess","formula_expression":"assigned_grade = min(5, grade + 1) if serious_systemic_disease, else grade; Hunt and Hess 1968 grades 1-5","grade":2,"input_grade":2,"max_score":5,"score":2,"serious_systemic_disease":false}],"path":"/api/calc/hunt_hess"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"grade":{"description":"Hunt and Hess 1968 clinical grade 1-5 as assigned by the caller. magent does not examine the patient.","type":"integer"},"serious_systemic_disease":{"description":"true if serious systemic disease is present (hypertension, diabetes, severe arteriosclerosis, chronic pulmonary disease, or severe angiographic vasospasm as assigned by the caller). The 1968 paper places the patient in the next less favorable category.","type":"boolean"}},"required":["grade","serious_systemic_disease"],"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":["hunt-hess","sah","aneurysm","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:48:17.945Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:48:17.816Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"grade":2,"serious_systemic_disease":false},{"grade":2,"serious_systemic_disease":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hunt WE, Hess RM","doi":"10.3171/jns.1968.28.1.0014","id":"hunt-hess-1968","source":"J Neurosurg. 1968;28(1):14-20","title":"Surgical risk as related to time of intervention in the repair of intracranial aneurysms"},"components":[{"factor":"assigned_grade","points":2,"present":true}],"description":"Moderate to severe headache, nuchal rigidity, no neurologic deficit other than cranial nerve palsy","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":"hunt_hess","formula_expression":"assigned_grade = min(5, grade + 1) if serious_systemic_disease, else grade; Hunt and Hess 1968 grades 1-5","grade":2,"input_grade":2,"max_score":5,"score":2,"serious_systemic_disease":false},{"citation":{"authors":"Hunt WE, Hess RM","doi":"10.3171/jns.1968.28.1.0014","id":"hunt-hess-1968","source":"J Neurosurg. 1968;28(1):14-20","title":"Surgical risk as related to time of intervention in the repair of intracranial aneurysms"},"components":[{"factor":"assigned_grade","points":2,"present":true}],"description":"Moderate to severe headache, nuchal rigidity, no neurologic deficit other than cranial nerve palsy","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":"hunt_hess","formula_expression":"assigned_grade = min(5, grade + 1) if serious_systemic_disease, else grade; Hunt and Hess 1968 grades 1-5","grade":2,"input_grade":2,"max_score":5,"score":2,"serious_systemic_disease":false}],"path":"/api/calc/hunt_hess"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"grade":{"description":"Hunt and Hess 1968 clinical grade 1-5 as assigned by the caller. magent does not examine the patient.","type":"integer"},"serious_systemic_disease":{"description":"true if serious systemic disease is present (hypertension, diabetes, severe arteriosclerosis, chronic pulmonary disease, or severe angiographic vasospasm as assigned by the caller). The 1968 paper places the patient in the next less favorable category.","type":"boolean"}},"required":["grade","serious_systemic_disease"],"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},{"id":39472,"slug":"39472","resource":"https://api.magentlab.com/api/calc/cts_6","description":"Graham 2006 CTS-6 from six caller-assigned booleans with published discrete weights (median-territory numbness 3.5, nocturnal numbness 4, thenar atrophy or weakness 5, Phalen 5, two-point discrimination loss 4.5, Tinel 4; max 26). Score >5 is associated with ≈25% probability of CTS; score >12 with ≈80%. magent does not examine the patient. Deterministic published arithmetic with citation; not a CTS diagnosis, not an EMG order, not a Boston questionnaire, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"median_numbness":false,"nocturnal_numbness":false,"phalen_positive":false,"thenar_atrophy_or_weakness":false,"tinel_positive":false,"two_point_discrimination_loss":false},{"median_numbness":false,"nocturnal_numbness":false,"phalen_positive":false,"thenar_atrophy_or_weakness":false,"tinel_positive":false,"two_point_discrimination_loss":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"above_25pct_cutoff":false,"above_80pct_cutoff":false,"citation":{"authors":"Graham B, Regehr G, Naglie G, Wright JG","doi":"10.1016/j.jhsa.2006.04.007","id":"graham-2006","pmid":"16886290","source":"J Hand Surg Am. 2006;31(6):919-924","title":"Development and validation of diagnostic criteria for carpal tunnel syndrome"},"components":[{"factor":"median_numbness","points":0,"present":false},{"factor":"nocturnal_numbness","points":0,"present":false},{"factor":"thenar_atrophy_or_weakness","points":0,"present":false},{"factor":"phalen_positive","points":0,"present":false},{"factor":"two_point_discrimination_loss","points":0,"present":false},{"factor":"tinel_positive","points":0,"present":false}],"cts6_band":"le_5","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":"cts_6","formula_expression":"CTS-6 = 3.5*median_numbness + 4*nocturnal_numbness + 5*thenar_atrophy_or_weakness + 5*phalen_positive + 4.5*two_point_discrimination_loss + 4*tinel_positive; max 26; score > 5 associated with ≈25% probability of CTS; score > 12 associated with ≈80% (Graham 2006)","max_score":26,"score":0},{"above_25pct_cutoff":false,"above_80pct_cutoff":false,"citation":{"authors":"Graham B, Regehr G, Naglie G, Wright JG","doi":"10.1016/j.jhsa.2006.04.007","id":"graham-2006","pmid":"16886290","source":"J Hand Surg Am. 2006;31(6):919-924","title":"Development and validation of diagnostic criteria for carpal tunnel syndrome"},"components":[{"factor":"median_numbness","points":0,"present":false},{"factor":"nocturnal_numbness","points":0,"present":false},{"factor":"thenar_atrophy_or_weakness","points":0,"present":false},{"factor":"phalen_positive","points":0,"present":false},{"factor":"two_point_discrimination_loss","points":0,"present":false},{"factor":"tinel_positive","points":0,"present":false}],"cts6_band":"le_5","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":"cts_6","formula_expression":"CTS-6 = 3.5*median_numbness + 4*nocturnal_numbness + 5*thenar_atrophy_or_weakness + 5*phalen_positive + 4.5*two_point_discrimination_loss + 4*tinel_positive; max 26; score > 5 associated with ≈25% probability of CTS; score > 12 associated with ≈80% (Graham 2006)","max_score":26,"score":0}],"path":"/api/calc/cts_6"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"median_numbness":{"description":"Numbness predominantly or exclusively in the median nerve territory (Graham 2006, 3.5 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"nocturnal_numbness":{"description":"Nocturnal numbness (Graham 2006, 4 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"phalen_positive":{"description":"Positive Phalen test (Graham 2006, 5 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"thenar_atrophy_or_weakness":{"description":"Thenar atrophy or weakness (Graham 2006, 5 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"tinel_positive":{"description":"Positive Tinel sign (Graham 2006, 4 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"two_point_discrimination_loss":{"description":"Loss of two-point discrimination (Graham 2006, 4.5 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["median_numbness","nocturnal_numbness","thenar_atrophy_or_weakness","phalen_positive","two_point_discrimination_loss","tinel_positive"],"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":["cts-6","carpal-tunnel","neurology","hand","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:48:10.919Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:48:10.796Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"median_numbness":false,"nocturnal_numbness":false,"phalen_positive":false,"thenar_atrophy_or_weakness":false,"tinel_positive":false,"two_point_discrimination_loss":false},{"median_numbness":false,"nocturnal_numbness":false,"phalen_positive":false,"thenar_atrophy_or_weakness":false,"tinel_positive":false,"two_point_discrimination_loss":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"above_25pct_cutoff":false,"above_80pct_cutoff":false,"citation":{"authors":"Graham B, Regehr G, Naglie G, Wright JG","doi":"10.1016/j.jhsa.2006.04.007","id":"graham-2006","pmid":"16886290","source":"J Hand Surg Am. 2006;31(6):919-924","title":"Development and validation of diagnostic criteria for carpal tunnel syndrome"},"components":[{"factor":"median_numbness","points":0,"present":false},{"factor":"nocturnal_numbness","points":0,"present":false},{"factor":"thenar_atrophy_or_weakness","points":0,"present":false},{"factor":"phalen_positive","points":0,"present":false},{"factor":"two_point_discrimination_loss","points":0,"present":false},{"factor":"tinel_positive","points":0,"present":false}],"cts6_band":"le_5","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":"cts_6","formula_expression":"CTS-6 = 3.5*median_numbness + 4*nocturnal_numbness + 5*thenar_atrophy_or_weakness + 5*phalen_positive + 4.5*two_point_discrimination_loss + 4*tinel_positive; max 26; score > 5 associated with ≈25% probability of CTS; score > 12 associated with ≈80% (Graham 2006)","max_score":26,"score":0},{"above_25pct_cutoff":false,"above_80pct_cutoff":false,"citation":{"authors":"Graham B, Regehr G, Naglie G, Wright JG","doi":"10.1016/j.jhsa.2006.04.007","id":"graham-2006","pmid":"16886290","source":"J Hand Surg Am. 2006;31(6):919-924","title":"Development and validation of diagnostic criteria for carpal tunnel syndrome"},"components":[{"factor":"median_numbness","points":0,"present":false},{"factor":"nocturnal_numbness","points":0,"present":false},{"factor":"thenar_atrophy_or_weakness","points":0,"present":false},{"factor":"phalen_positive","points":0,"present":false},{"factor":"two_point_discrimination_loss","points":0,"present":false},{"factor":"tinel_positive","points":0,"present":false}],"cts6_band":"le_5","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":"cts_6","formula_expression":"CTS-6 = 3.5*median_numbness + 4*nocturnal_numbness + 5*thenar_atrophy_or_weakness + 5*phalen_positive + 4.5*two_point_discrimination_loss + 4*tinel_positive; max 26; score > 5 associated with ≈25% probability of CTS; score > 12 associated with ≈80% (Graham 2006)","max_score":26,"score":0}],"path":"/api/calc/cts_6"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"median_numbness":{"description":"Numbness predominantly or exclusively in the median nerve territory (Graham 2006, 3.5 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"nocturnal_numbness":{"description":"Nocturnal numbness (Graham 2006, 4 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"phalen_positive":{"description":"Positive Phalen test (Graham 2006, 5 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"thenar_atrophy_or_weakness":{"description":"Thenar atrophy or weakness (Graham 2006, 5 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"tinel_positive":{"description":"Positive Tinel sign (Graham 2006, 4 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"two_point_discrimination_loss":{"description":"Loss of two-point discrimination (Graham 2006, 4.5 if true). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["median_numbness","nocturnal_numbness","thenar_atrophy_or_weakness","phalen_positive","two_point_discrimination_loss","tinel_positive"],"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},{"id":39473,"slug":"39473","resource":"https://api.magentlab.com/api/calc/pascal","description":"PASCAL (PFO-Associated Stroke Causal Likelihood; Kent 2021 JAMA Table 1) from a caller-assigned RoPE total (0-10; magent does not recompute RoPE) plus large-shunt and atrial-septal-aneurysm flags. high_rope is RoPE ≥7 (not >7). high_risk_pfo is large shunt and/or ASA. probable if both, possible if exactly one, unlikely if neither. Not a closure order, not RoPE, not ESUS. Trial ages 18-60 are a limitation. magent does not read echocardiography.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"atrial_septal_aneurysm":false,"large_shunt":true,"rope_score":8},{"atrial_septal_aneurysm":false,"large_shunt":true,"rope_score":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kent DM, Saver JL, Kasner SE, Nelson J, Carroll JD, Chatellier G, Derumeaux G, Furlan AJ, Herrmann HC, Jüni P, Kim JS, Koethe B, Lee PH, Lefebvre B, Mattle HP, Meier B, Reisman M, Smalling RW, Soendergaard L, Song JK, Mas JL, Thaler DE","doi":"10.1001/jama.2021.20956","id":"kent-2021","pmid":"34905030","source":"JAMA. 2021;326(22):2277-2286","title":"Heterogeneity of Treatment Effects in an Analysis of Pooled Individual Patient Data From Randomized Trials of Device Closure of Patent Foramen Ovale After Stroke"},"criteria":[{"factor":"high_rope","met":true,"value":8},{"factor":"high_risk_pfo","met":true}],"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":"pascal","formula_expression":"high_rope iff rope_score >= 7; high_risk_pfo iff large_shunt or atrial_septal_aneurysm; probable iff both; possible iff exactly one; unlikely iff neither (Kent 2021 Table 1 PASCAL). magent does not recompute RoPE","high_risk_pfo":true,"high_rope":true,"pascal_class":"probable","rope_score":8},{"citation":{"authors":"Kent DM, Saver JL, Kasner SE, Nelson J, Carroll JD, Chatellier G, Derumeaux G, Furlan AJ, Herrmann HC, Jüni P, Kim JS, Koethe B, Lee PH, Lefebvre B, Mattle HP, Meier B, Reisman M, Smalling RW, Soendergaard L, Song JK, Mas JL, Thaler DE","doi":"10.1001/jama.2021.20956","id":"kent-2021","pmid":"34905030","source":"JAMA. 2021;326(22):2277-2286","title":"Heterogeneity of Treatment Effects in an Analysis of Pooled Individual Patient Data From Randomized Trials of Device Closure of Patent Foramen Ovale After Stroke"},"criteria":[{"factor":"high_rope","met":true,"value":8},{"factor":"high_risk_pfo","met":true}],"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":"pascal","formula_expression":"high_rope iff rope_score >= 7; high_risk_pfo iff large_shunt or atrial_septal_aneurysm; probable iff both; possible iff exactly one; unlikely iff neither (Kent 2021 Table 1 PASCAL). magent does not recompute RoPE","high_risk_pfo":true,"high_rope":true,"pascal_class":"probable","rope_score":8}],"path":"/api/calc/pascal"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"atrial_septal_aneurysm":{"description":"Atrial septal aneurysm (ASA) as assigned by the caller (Kent 2021 Table 1 high-risk PFO feature). true or false. high_risk_pfo is true if this flag or large_shunt is true. magent does not echo this flag and does not read echocardiography.","type":"boolean"},"large_shunt":{"description":"Large-sized shunt as assigned by the caller (Kent 2021 Table 1 high-risk PFO feature). true or false. high_risk_pfo is true if this flag or atrial_septal_aneurysm is true. magent does not echo this flag and does not read echocardiography.","type":"boolean"},"rope_score":{"description":"Caller-assigned RoPE total integer 0-10 (Kent 2013 components already summed; related tool rope). magent does not recompute RoPE. high_rope is true when rope_score is 7 or greater (Kent 2021 Table 1 / NCBI reprint; not greater-than-7 only).","type":"integer"}},"required":["rope_score","large_shunt","atrial_septal_aneurysm"],"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":["pascal","pfo","stroke","neurology","rope","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:48:03.9Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:48:03.754Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"atrial_septal_aneurysm":false,"large_shunt":true,"rope_score":8},{"atrial_septal_aneurysm":false,"large_shunt":true,"rope_score":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Kent DM, Saver JL, Kasner SE, Nelson J, Carroll JD, Chatellier G, Derumeaux G, Furlan AJ, Herrmann HC, Jüni P, Kim JS, Koethe B, Lee PH, Lefebvre B, Mattle HP, Meier B, Reisman M, Smalling RW, Soendergaard L, Song JK, Mas JL, Thaler DE","doi":"10.1001/jama.2021.20956","id":"kent-2021","pmid":"34905030","source":"JAMA. 2021;326(22):2277-2286","title":"Heterogeneity of Treatment Effects in an Analysis of Pooled Individual Patient Data From Randomized Trials of Device Closure of Patent Foramen Ovale After Stroke"},"criteria":[{"factor":"high_rope","met":true,"value":8},{"factor":"high_risk_pfo","met":true}],"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":"pascal","formula_expression":"high_rope iff rope_score >= 7; high_risk_pfo iff large_shunt or atrial_septal_aneurysm; probable iff both; possible iff exactly one; unlikely iff neither (Kent 2021 Table 1 PASCAL). magent does not recompute RoPE","high_risk_pfo":true,"high_rope":true,"pascal_class":"probable","rope_score":8},{"citation":{"authors":"Kent DM, Saver JL, Kasner SE, Nelson J, Carroll JD, Chatellier G, Derumeaux G, Furlan AJ, Herrmann HC, Jüni P, Kim JS, Koethe B, Lee PH, Lefebvre B, Mattle HP, Meier B, Reisman M, Smalling RW, Soendergaard L, Song JK, Mas JL, Thaler DE","doi":"10.1001/jama.2021.20956","id":"kent-2021","pmid":"34905030","source":"JAMA. 2021;326(22):2277-2286","title":"Heterogeneity of Treatment Effects in an Analysis of Pooled Individual Patient Data From Randomized Trials of Device Closure of Patent Foramen Ovale After Stroke"},"criteria":[{"factor":"high_rope","met":true,"value":8},{"factor":"high_risk_pfo","met":true}],"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":"pascal","formula_expression":"high_rope iff rope_score >= 7; high_risk_pfo iff large_shunt or atrial_septal_aneurysm; probable iff both; possible iff exactly one; unlikely iff neither (Kent 2021 Table 1 PASCAL). magent does not recompute RoPE","high_risk_pfo":true,"high_rope":true,"pascal_class":"probable","rope_score":8}],"path":"/api/calc/pascal"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"atrial_septal_aneurysm":{"description":"Atrial septal aneurysm (ASA) as assigned by the caller (Kent 2021 Table 1 high-risk PFO feature). true or false. high_risk_pfo is true if this flag or large_shunt is true. magent does not echo this flag and does not read echocardiography.","type":"boolean"},"large_shunt":{"description":"Large-sized shunt as assigned by the caller (Kent 2021 Table 1 high-risk PFO feature). true or false. high_risk_pfo is true if this flag or atrial_septal_aneurysm is true. magent does not echo this flag and does not read echocardiography.","type":"boolean"},"rope_score":{"description":"Caller-assigned RoPE total integer 0-10 (Kent 2013 components already summed; related tool rope). magent does not recompute RoPE. high_rope is true when rope_score is 7 or greater (Kent 2021 Table 1 / NCBI reprint; not greater-than-7 only).","type":"integer"}},"required":["rope_score","large_shunt","atrial_septal_aneurysm"],"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},{"id":39474,"slug":"39474","resource":"https://api.magentlab.com/api/calc/esus","description":"ESUS (Hart 2014). True iff all five caller-assigned flags hold: non-lacunar infarct on CT/MRI; no ≥50% stenosis supplying the ischaemia; no major-risk cardioembolic source; no other specific cause; and Panel 3 minimum workup (brain CT/MRI, 12-lead ECG, precordial echo, ≥24 h automated rhythm monitoring (not telemetry), extra- and intracranial arterial imaging). Incomplete workup is not ESUS. Not a stroke diagnosis, not TOAST cryptogenic, not anticoagulation. magent does not read imaging.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"minimum_workup":true,"no_major_risk_cardioembolic":true,"no_other_specific_cause":true,"no_stenosis_ge_50":true,"non_lacunar_infarct":true},{"minimum_workup":true,"no_major_risk_cardioembolic":true,"no_other_specific_cause":true,"no_stenosis_ge_50":true,"non_lacunar_infarct":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hart RG, Diener HC, Coutts SB, Easton JD, Granger CB, O'Donnell MJ, Sacco RL, Connolly SJ, Cryptogenic Stroke/ESUS International Working Group","doi":"10.1016/S1474-4422(13)70310-7","id":"hart-2014","pmid":"24646875","source":"Lancet Neurol. 2014;13(4):429-438","title":"Embolic strokes of undetermined source: the case for a new clinical construct"},"criteria":[{"factor":"non_lacunar_infarct","met":true},{"factor":"no_stenosis_ge_50","met":true},{"factor":"no_major_risk_cardioembolic","met":true},{"factor":"no_other_specific_cause","met":true},{"factor":"minimum_workup","met":true}],"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.","esus":true,"formula":"esus","formula_expression":"esus iff non_lacunar_infarct and no_stenosis_ge_50 and no_major_risk_cardioembolic and no_other_specific_cause and minimum_workup (Hart 2014 Panel 2 + Panel 3)"},{"citation":{"authors":"Hart RG, Diener HC, Coutts SB, Easton JD, Granger CB, O'Donnell MJ, Sacco RL, Connolly SJ, Cryptogenic Stroke/ESUS International Working Group","doi":"10.1016/S1474-4422(13)70310-7","id":"hart-2014","pmid":"24646875","source":"Lancet Neurol. 2014;13(4):429-438","title":"Embolic strokes of undetermined source: the case for a new clinical construct"},"criteria":[{"factor":"non_lacunar_infarct","met":true},{"factor":"no_stenosis_ge_50","met":true},{"factor":"no_major_risk_cardioembolic","met":true},{"factor":"no_other_specific_cause","met":true},{"factor":"minimum_workup","met":true}],"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.","esus":true,"formula":"esus","formula_expression":"esus iff non_lacunar_infarct and no_stenosis_ge_50 and no_major_risk_cardioembolic and no_other_specific_cause and minimum_workup (Hart 2014 Panel 2 + Panel 3)"}],"path":"/api/calc/esus"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"minimum_workup":{"description":"Hart 2014 Panel 3 minimum diagnostic assessment, as assigned by the caller. true only if brain CT or MRI, 12-lead ECG, precordial echocardiography, cardiac monitoring for ≥24 h with automated rhythm detection (telemetry is not sufficient), and imaging of both extracranial and intracranial arteries supplying the ischaemic territory have been done. Incomplete workup returns esus false (not HTTP 400). true or false. magent does not read imaging.","type":"boolean"},"no_major_risk_cardioembolic":{"description":"No major-risk cardioembolic source, as assigned by the caller (Hart 2014 Panel 2). Major-risk sources (paper footnote): permanent or paroxysmal atrial fibrillation, sustained atrial flutter, intracardiac thrombus, prosthetic cardiac valve, atrial myxoma or other cardiac tumours, mitral stenosis, recent (<4 weeks) myocardial infarction, left ventricular ejection fraction less than 30%, valvular vegetations, or infective endocarditis. true or false. The caller assigns this boolean; magent does not enumerate each source as a separate required param.","type":"boolean"},"no_other_specific_cause":{"description":"No other specific cause identified, as assigned by the caller (Hart 2014 Panel 2). Paper examples: arteritis, dissection, migraine/vasospasm, drug misuse. true or false. magent does not diagnose an alternative aetiology.","type":"boolean"},"no_stenosis_ge_50":{"description":"Absence of extracranial or intracranial atherosclerosis causing ≥50% luminal stenosis in arteries supplying the area of ischaemia, as assigned by the caller (Hart 2014 Panel 2). true means no such stenosis. true or false. magent does not read vascular imaging.","type":"boolean"},"non_lacunar_infarct":{"description":"Stroke detected by CT or MRI that is not lacunar, as assigned by the caller (Hart 2014 Panel 2). Lacunar = subcortical infarct ≤1.5 cm (≤2.0 cm on MRI diffusion images) in largest dimension, in the distribution of the small penetrating cerebral arteries. true or false. magent does not read imaging.","type":"boolean"}},"required":["non_lacunar_infarct","no_stenosis_ge_50","no_major_risk_cardioembolic","no_other_specific_cause","minimum_workup"],"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":["esus","stroke","neurology","cryptogenic","embolic","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:47:57.657Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:47:57.532Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"minimum_workup":true,"no_major_risk_cardioembolic":true,"no_other_specific_cause":true,"no_stenosis_ge_50":true,"non_lacunar_infarct":true},{"minimum_workup":true,"no_major_risk_cardioembolic":true,"no_other_specific_cause":true,"no_stenosis_ge_50":true,"non_lacunar_infarct":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hart RG, Diener HC, Coutts SB, Easton JD, Granger CB, O'Donnell MJ, Sacco RL, Connolly SJ, Cryptogenic Stroke/ESUS International Working Group","doi":"10.1016/S1474-4422(13)70310-7","id":"hart-2014","pmid":"24646875","source":"Lancet Neurol. 2014;13(4):429-438","title":"Embolic strokes of undetermined source: the case for a new clinical construct"},"criteria":[{"factor":"non_lacunar_infarct","met":true},{"factor":"no_stenosis_ge_50","met":true},{"factor":"no_major_risk_cardioembolic","met":true},{"factor":"no_other_specific_cause","met":true},{"factor":"minimum_workup","met":true}],"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.","esus":true,"formula":"esus","formula_expression":"esus iff non_lacunar_infarct and no_stenosis_ge_50 and no_major_risk_cardioembolic and no_other_specific_cause and minimum_workup (Hart 2014 Panel 2 + Panel 3)"},{"citation":{"authors":"Hart RG, Diener HC, Coutts SB, Easton JD, Granger CB, O'Donnell MJ, Sacco RL, Connolly SJ, Cryptogenic Stroke/ESUS International Working Group","doi":"10.1016/S1474-4422(13)70310-7","id":"hart-2014","pmid":"24646875","source":"Lancet Neurol. 2014;13(4):429-438","title":"Embolic strokes of undetermined source: the case for a new clinical construct"},"criteria":[{"factor":"non_lacunar_infarct","met":true},{"factor":"no_stenosis_ge_50","met":true},{"factor":"no_major_risk_cardioembolic","met":true},{"factor":"no_other_specific_cause","met":true},{"factor":"minimum_workup","met":true}],"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.","esus":true,"formula":"esus","formula_expression":"esus iff non_lacunar_infarct and no_stenosis_ge_50 and no_major_risk_cardioembolic and no_other_specific_cause and minimum_workup (Hart 2014 Panel 2 + Panel 3)"}],"path":"/api/calc/esus"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"minimum_workup":{"description":"Hart 2014 Panel 3 minimum diagnostic assessment, as assigned by the caller. true only if brain CT or MRI, 12-lead ECG, precordial echocardiography, cardiac monitoring for ≥24 h with automated rhythm detection (telemetry is not sufficient), and imaging of both extracranial and intracranial arteries supplying the ischaemic territory have been done. Incomplete workup returns esus false (not HTTP 400). true or false. magent does not read imaging.","type":"boolean"},"no_major_risk_cardioembolic":{"description":"No major-risk cardioembolic source, as assigned by the caller (Hart 2014 Panel 2). Major-risk sources (paper footnote): permanent or paroxysmal atrial fibrillation, sustained atrial flutter, intracardiac thrombus, prosthetic cardiac valve, atrial myxoma or other cardiac tumours, mitral stenosis, recent (<4 weeks) myocardial infarction, left ventricular ejection fraction less than 30%, valvular vegetations, or infective endocarditis. true or false. The caller assigns this boolean; magent does not enumerate each source as a separate required param.","type":"boolean"},"no_other_specific_cause":{"description":"No other specific cause identified, as assigned by the caller (Hart 2014 Panel 2). Paper examples: arteritis, dissection, migraine/vasospasm, drug misuse. true or false. magent does not diagnose an alternative aetiology.","type":"boolean"},"no_stenosis_ge_50":{"description":"Absence of extracranial or intracranial atherosclerosis causing ≥50% luminal stenosis in arteries supplying the area of ischaemia, as assigned by the caller (Hart 2014 Panel 2). true means no such stenosis. true or false. magent does not read vascular imaging.","type":"boolean"},"non_lacunar_infarct":{"description":"Stroke detected by CT or MRI that is not lacunar, as assigned by the caller (Hart 2014 Panel 2). Lacunar = subcortical infarct ≤1.5 cm (≤2.0 cm on MRI diffusion images) in largest dimension, in the distribution of the small penetrating cerebral arteries. true or false. magent does not read imaging.","type":"boolean"}},"required":["non_lacunar_infarct","no_stenosis_ge_50","no_major_risk_cardioembolic","no_other_specific_cause","minimum_workup"],"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},{"id":39475,"slug":"39475","resource":"https://api.magentlab.com/api/calc/mcdonald_2024","description":"2024 McDonald typical CIS (Montalban 2025). mcdonald_ms iff typical_cis and no_better_explanation and: ≥2 attacks with ≥2 lesions; or ≥2 attacks with one lesion plus DIS; or CIS with ≥2 lesions plus MRI DIT, OCB, or kappa FLC; or CIS with one lesion plus DIS and MRI DIT, OCB, or kappa FLC. DIS = ≥2 of 5 topographies (optic nerve added). Kappa FLC interchangeable with OCB. Not 2017 McDonald. Not PPMS. Not RIS. magent does not read MRI or assay CSF. Not a diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cortical_or_juxtacortical":false,"csf_kflc":false,"csf_specific_ocb":false,"dit_mri":false,"infratentorial":false,"no_better_explanation":true,"optic_nerve":false,"periventricular":false,"spinal_cord":false,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true},{"cortical_or_juxtacortical":false,"csf_kflc":false,"csf_specific_ocb":false,"dit_mri":false,"infratentorial":false,"no_better_explanation":true,"optic_nerve":false,"periventricular":false,"spinal_cord":false,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Montalban X, Lebrun-Frénay C, Oh J, et al.","doi":"10.1016/S1474-4422(25)00270-4","id":"montalban-2025","pmid":"40975101","source":"Lancet Neurol. 2025;24(10):850-865","title":"Diagnosis of multiple sclerosis: 2024 revisions of the McDonald criteria"},"cortical_or_juxtacortical":false,"criteria":[{"factor":"typical_cis","met":true},{"factor":"no_better_explanation","met":true},{"factor":"two_or_more_attacks","met":true},{"factor":"two_or_more_lesions","met":true},{"factor":"periventricular","met":false},{"factor":"cortical_or_juxtacortical","met":false},{"factor":"infratentorial","met":false},{"factor":"spinal_cord","met":false},{"factor":"optic_nerve","met":false},{"factor":"dis","met":false},{"factor":"dit_mri","met":false},{"factor":"csf_specific_ocb","met":false},{"factor":"csf_kflc","met":false},{"factor":"relapsing_cis_pathway","met":true},{"factor":"mcdonald_ms","met":true}],"csf_kflc":false,"csf_specific_ocb":false,"dis":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.","dit_mri":false,"formula":"mcdonald_2024","formula_expression":"mcdonald_ms iff typical_cis and no_better_explanation and ((two_or_more_attacks and two_or_more_lesions) or (two_or_more_attacks and not two_or_more_lesions and dis) or (not two_or_more_attacks and two_or_more_lesions and (dit_mri or csf_specific_ocb or csf_kflc)) or (not two_or_more_attacks and not two_or_more_lesions and dis and (dit_mri or csf_specific_ocb or csf_kflc))) (Montalban 2025 / 2024 McDonald typical CIS). dis is true iff at least two of periventricular, cortical_or_juxtacortical, infratentorial, spinal_cord, optic_nerve are true. CSF kappa free-light chains are interchangeable with CSF-specific OCB as the CSF DIT substitute. Not PPMS. Not RIS. Not 2017 McDonald. magent does not read MRI, OCT, VEP, or assay CSF. Not a diagnosis","infratentorial":false,"mcdonald_ms":true,"no_better_explanation":true,"optic_nerve":false,"periventricular":false,"spinal_cord":false,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true},{"citation":{"authors":"Montalban X, Lebrun-Frénay C, Oh J, et al.","doi":"10.1016/S1474-4422(25)00270-4","id":"montalban-2025","pmid":"40975101","source":"Lancet Neurol. 2025;24(10):850-865","title":"Diagnosis of multiple sclerosis: 2024 revisions of the McDonald criteria"},"cortical_or_juxtacortical":false,"criteria":[{"factor":"typical_cis","met":true},{"factor":"no_better_explanation","met":true},{"factor":"two_or_more_attacks","met":true},{"factor":"two_or_more_lesions","met":true},{"factor":"periventricular","met":false},{"factor":"cortical_or_juxtacortical","met":false},{"factor":"infratentorial","met":false},{"factor":"spinal_cord","met":false},{"factor":"optic_nerve","met":false},{"factor":"dis","met":false},{"factor":"dit_mri","met":false},{"factor":"csf_specific_ocb","met":false},{"factor":"csf_kflc","met":false},{"factor":"relapsing_cis_pathway","met":true},{"factor":"mcdonald_ms","met":true}],"csf_kflc":false,"csf_specific_ocb":false,"dis":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.","dit_mri":false,"formula":"mcdonald_2024","formula_expression":"mcdonald_ms iff typical_cis and no_better_explanation and ((two_or_more_attacks and two_or_more_lesions) or (two_or_more_attacks and not two_or_more_lesions and dis) or (not two_or_more_attacks and two_or_more_lesions and (dit_mri or csf_specific_ocb or csf_kflc)) or (not two_or_more_attacks and not two_or_more_lesions and dis and (dit_mri or csf_specific_ocb or csf_kflc))) (Montalban 2025 / 2024 McDonald typical CIS). dis is true iff at least two of periventricular, cortical_or_juxtacortical, infratentorial, spinal_cord, optic_nerve are true. CSF kappa free-light chains are interchangeable with CSF-specific OCB as the CSF DIT substitute. Not PPMS. Not RIS. Not 2017 McDonald. magent does not read MRI, OCT, VEP, or assay CSF. Not a diagnosis","infratentorial":false,"mcdonald_ms":true,"no_better_explanation":true,"optic_nerve":false,"periventricular":false,"spinal_cord":false,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true}],"path":"/api/calc/mcdonald_2024"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cortical_or_juxtacortical":{"description":"Caller-assigned typical cortical or juxtacortical MS lesion topography (one of five 2024 DIS locations). true or false. magent does not read MRI.","type":"boolean"},"csf_kflc":{"description":"CSF kappa free-light chains positive as assigned by the caller (2024: interchangeable with oligoclonal bands as the CSF DIT marker). Caller-assigned flag only; this tool does not apply a numeric kFLC index cutoff. true or false. magent does not assay CSF.","type":"boolean"},"csf_specific_ocb":{"description":"CSF-specific oligoclonal bands as assigned by the caller (2024 DIT substitute; interchangeable with kappa free-light chains). true or false. magent does not assay CSF.","type":"boolean"},"dit_mri":{"description":"MRI dissemination in time as assigned by the caller (simultaneous Gd-enhancing and non-enhancing lesions, or a new T2 or Gd-enhancing lesion on follow-up vs baseline). true or false. magent does not read MRI.","type":"boolean"},"infratentorial":{"description":"Caller-assigned typical infratentorial MS lesion topography (one of five 2024 DIS locations). true or false. magent does not read MRI.","type":"boolean"},"no_better_explanation":{"description":"No better explanation for the presentation as assigned by the caller (Montalban 2025). If false, mcdonald_ms is false. Remain vigilant for NMOSD. true or false. magent does not assign a better explanation.","type":"boolean"},"optic_nerve":{"description":"Caller-assigned typical optic-nerve topography (fifth 2024 DIS location; Montalban 2025). true or false. magent does not read MRI, OCT, or VEP.","type":"boolean"},"periventricular":{"description":"Caller-assigned typical periventricular MS lesion topography (one of five 2024 DIS locations). true or false. magent does not read MRI.","type":"boolean"},"spinal_cord":{"description":"Caller-assigned typical spinal-cord MS lesion topography (one of five 2024 DIS locations). true or false. magent does not read MRI.","type":"boolean"},"two_or_more_attacks":{"description":"≥2 clinical attacks as assigned by the caller. true means two or more attacks; false means this is the first/CIS attack. true or false. magent does not date attacks.","type":"boolean"},"two_or_more_lesions":{"description":"Objective clinical evidence of ≥2 lesions as assigned by the caller. true means ≥2 lesions; false means 1 lesion. true or false. magent does not examine the patient.","type":"boolean"},"typical_cis":{"description":"Typical clinically isolated syndrome as assigned by the caller (Montalban 2025 typical CIS / relapsing pathway). If false, mcdonald_ms is false; this tool does not diagnose MS from atypical presentations, PPMS, or RIS. true or false. magent does not examine the patient.","type":"boolean"}},"required":["typical_cis","no_better_explanation","two_or_more_attacks","two_or_more_lesions","periventricular","cortical_or_juxtacortical","infratentorial","spinal_cord","optic_nerve","dit_mri","csf_specific_ocb","csf_kflc"],"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":["mcdonald-2024","multiple-sclerosis","neurology","cis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:47:50.666Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:47:50.517Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cortical_or_juxtacortical":false,"csf_kflc":false,"csf_specific_ocb":false,"dit_mri":false,"infratentorial":false,"no_better_explanation":true,"optic_nerve":false,"periventricular":false,"spinal_cord":false,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true},{"cortical_or_juxtacortical":false,"csf_kflc":false,"csf_specific_ocb":false,"dit_mri":false,"infratentorial":false,"no_better_explanation":true,"optic_nerve":false,"periventricular":false,"spinal_cord":false,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Montalban X, Lebrun-Frénay C, Oh J, et al.","doi":"10.1016/S1474-4422(25)00270-4","id":"montalban-2025","pmid":"40975101","source":"Lancet Neurol. 2025;24(10):850-865","title":"Diagnosis of multiple sclerosis: 2024 revisions of the McDonald criteria"},"cortical_or_juxtacortical":false,"criteria":[{"factor":"typical_cis","met":true},{"factor":"no_better_explanation","met":true},{"factor":"two_or_more_attacks","met":true},{"factor":"two_or_more_lesions","met":true},{"factor":"periventricular","met":false},{"factor":"cortical_or_juxtacortical","met":false},{"factor":"infratentorial","met":false},{"factor":"spinal_cord","met":false},{"factor":"optic_nerve","met":false},{"factor":"dis","met":false},{"factor":"dit_mri","met":false},{"factor":"csf_specific_ocb","met":false},{"factor":"csf_kflc","met":false},{"factor":"relapsing_cis_pathway","met":true},{"factor":"mcdonald_ms","met":true}],"csf_kflc":false,"csf_specific_ocb":false,"dis":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.","dit_mri":false,"formula":"mcdonald_2024","formula_expression":"mcdonald_ms iff typical_cis and no_better_explanation and ((two_or_more_attacks and two_or_more_lesions) or (two_or_more_attacks and not two_or_more_lesions and dis) or (not two_or_more_attacks and two_or_more_lesions and (dit_mri or csf_specific_ocb or csf_kflc)) or (not two_or_more_attacks and not two_or_more_lesions and dis and (dit_mri or csf_specific_ocb or csf_kflc))) (Montalban 2025 / 2024 McDonald typical CIS). dis is true iff at least two of periventricular, cortical_or_juxtacortical, infratentorial, spinal_cord, optic_nerve are true. CSF kappa free-light chains are interchangeable with CSF-specific OCB as the CSF DIT substitute. Not PPMS. Not RIS. Not 2017 McDonald. magent does not read MRI, OCT, VEP, or assay CSF. Not a diagnosis","infratentorial":false,"mcdonald_ms":true,"no_better_explanation":true,"optic_nerve":false,"periventricular":false,"spinal_cord":false,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true},{"citation":{"authors":"Montalban X, Lebrun-Frénay C, Oh J, et al.","doi":"10.1016/S1474-4422(25)00270-4","id":"montalban-2025","pmid":"40975101","source":"Lancet Neurol. 2025;24(10):850-865","title":"Diagnosis of multiple sclerosis: 2024 revisions of the McDonald criteria"},"cortical_or_juxtacortical":false,"criteria":[{"factor":"typical_cis","met":true},{"factor":"no_better_explanation","met":true},{"factor":"two_or_more_attacks","met":true},{"factor":"two_or_more_lesions","met":true},{"factor":"periventricular","met":false},{"factor":"cortical_or_juxtacortical","met":false},{"factor":"infratentorial","met":false},{"factor":"spinal_cord","met":false},{"factor":"optic_nerve","met":false},{"factor":"dis","met":false},{"factor":"dit_mri","met":false},{"factor":"csf_specific_ocb","met":false},{"factor":"csf_kflc","met":false},{"factor":"relapsing_cis_pathway","met":true},{"factor":"mcdonald_ms","met":true}],"csf_kflc":false,"csf_specific_ocb":false,"dis":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.","dit_mri":false,"formula":"mcdonald_2024","formula_expression":"mcdonald_ms iff typical_cis and no_better_explanation and ((two_or_more_attacks and two_or_more_lesions) or (two_or_more_attacks and not two_or_more_lesions and dis) or (not two_or_more_attacks and two_or_more_lesions and (dit_mri or csf_specific_ocb or csf_kflc)) or (not two_or_more_attacks and not two_or_more_lesions and dis and (dit_mri or csf_specific_ocb or csf_kflc))) (Montalban 2025 / 2024 McDonald typical CIS). dis is true iff at least two of periventricular, cortical_or_juxtacortical, infratentorial, spinal_cord, optic_nerve are true. CSF kappa free-light chains are interchangeable with CSF-specific OCB as the CSF DIT substitute. Not PPMS. Not RIS. Not 2017 McDonald. magent does not read MRI, OCT, VEP, or assay CSF. Not a diagnosis","infratentorial":false,"mcdonald_ms":true,"no_better_explanation":true,"optic_nerve":false,"periventricular":false,"spinal_cord":false,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true}],"path":"/api/calc/mcdonald_2024"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cortical_or_juxtacortical":{"description":"Caller-assigned typical cortical or juxtacortical MS lesion topography (one of five 2024 DIS locations). true or false. magent does not read MRI.","type":"boolean"},"csf_kflc":{"description":"CSF kappa free-light chains positive as assigned by the caller (2024: interchangeable with oligoclonal bands as the CSF DIT marker). Caller-assigned flag only; this tool does not apply a numeric kFLC index cutoff. true or false. magent does not assay CSF.","type":"boolean"},"csf_specific_ocb":{"description":"CSF-specific oligoclonal bands as assigned by the caller (2024 DIT substitute; interchangeable with kappa free-light chains). true or false. magent does not assay CSF.","type":"boolean"},"dit_mri":{"description":"MRI dissemination in time as assigned by the caller (simultaneous Gd-enhancing and non-enhancing lesions, or a new T2 or Gd-enhancing lesion on follow-up vs baseline). true or false. magent does not read MRI.","type":"boolean"},"infratentorial":{"description":"Caller-assigned typical infratentorial MS lesion topography (one of five 2024 DIS locations). true or false. magent does not read MRI.","type":"boolean"},"no_better_explanation":{"description":"No better explanation for the presentation as assigned by the caller (Montalban 2025). If false, mcdonald_ms is false. Remain vigilant for NMOSD. true or false. magent does not assign a better explanation.","type":"boolean"},"optic_nerve":{"description":"Caller-assigned typical optic-nerve topography (fifth 2024 DIS location; Montalban 2025). true or false. magent does not read MRI, OCT, or VEP.","type":"boolean"},"periventricular":{"description":"Caller-assigned typical periventricular MS lesion topography (one of five 2024 DIS locations). true or false. magent does not read MRI.","type":"boolean"},"spinal_cord":{"description":"Caller-assigned typical spinal-cord MS lesion topography (one of five 2024 DIS locations). true or false. magent does not read MRI.","type":"boolean"},"two_or_more_attacks":{"description":"≥2 clinical attacks as assigned by the caller. true means two or more attacks; false means this is the first/CIS attack. true or false. magent does not date attacks.","type":"boolean"},"two_or_more_lesions":{"description":"Objective clinical evidence of ≥2 lesions as assigned by the caller. true means ≥2 lesions; false means 1 lesion. true or false. magent does not examine the patient.","type":"boolean"},"typical_cis":{"description":"Typical clinically isolated syndrome as assigned by the caller (Montalban 2025 typical CIS / relapsing pathway). If false, mcdonald_ms is false; this tool does not diagnose MS from atypical presentations, PPMS, or RIS. true or false. magent does not examine the patient.","type":"boolean"}},"required":["typical_cis","no_better_explanation","two_or_more_attacks","two_or_more_lesions","periventricular","cortical_or_juxtacortical","infratentorial","spinal_cord","optic_nerve","dit_mri","csf_specific_ocb","csf_kflc"],"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},{"id":39476,"slug":"39476","resource":"https://api.magentlab.com/api/calc/mcdonald_2017","description":"2017 McDonald typical CIS (Thompson 2018). mcdonald_ms iff typical_cis and no_better_explanation and: ≥2 attacks with ≥2 lesions; or ≥2 attacks with one lesion plus DIS; or CIS with ≥2 lesions plus MRI DIT or CSF-specific OCB; or CIS with one lesion plus DIS and MRI DIT or CSF-specific OCB. 2017: OCB may substitute for DIT when DIS is met. Symptomatic and cortical lesions count. Not PPMS. Not 2010 McDonald. magent does not read MRI or CSF. Not a diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"csf_specific_ocb":false,"dis":false,"dit_mri":false,"no_better_explanation":true,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true},{"csf_specific_ocb":false,"dis":false,"dit_mri":false,"no_better_explanation":true,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Thompson AJ, Banwell BL, Barkhof F, Carroll WM, Coetzee T, Comi G, Correale J, Fazekas F, Filippi M, Freedman MS, Fujihara K, Galetta SL, Hartung HP, Kappos L, Lublin FD, Marrie RA, Miller AE, Miller DH, Montalban X, Mowry EM, Sorensen PS, Tintoré M, Traboulsee AL, Trojano M, Uitdehaag BMJ, Vukusic S, Waubant E, Weinshenker BG, Reingold SC, Cohen JA","doi":"10.1016/S1474-4422(17)30470-2","id":"thompson-2018","pmid":"29275977","source":"Lancet Neurol. 2018;17(2):162-173","title":"Diagnosis of multiple sclerosis: 2017 revisions of the McDonald criteria"},"criteria":[{"factor":"typical_cis","met":true},{"factor":"no_better_explanation","met":true},{"factor":"two_or_more_attacks","met":true},{"factor":"two_or_more_lesions","met":true},{"factor":"dis","met":false},{"factor":"dit_mri","met":false},{"factor":"csf_specific_ocb","met":false},{"factor":"relapsing_cis_pathway","met":true},{"factor":"mcdonald_ms","met":true}],"csf_specific_ocb":false,"dis":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.","dit_mri":false,"formula":"mcdonald_2017","formula_expression":"mcdonald_ms iff typical_cis and no_better_explanation and ((two_or_more_attacks and two_or_more_lesions) or (two_or_more_attacks and not two_or_more_lesions and dis) or (not two_or_more_attacks and two_or_more_lesions and (dit_mri or csf_specific_ocb)) or (not two_or_more_attacks and not two_or_more_lesions and dis and (dit_mri or csf_specific_ocb))) (Thompson 2018 / 2017 McDonald typical CIS). CSF-specific OCB may substitute for MRI DIT when DIS is met. Not PPMS. Not 2010 McDonald. magent does not read MRI or assay CSF. Not a diagnosis","mcdonald_ms":true,"no_better_explanation":true,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true},{"citation":{"authors":"Thompson AJ, Banwell BL, Barkhof F, Carroll WM, Coetzee T, Comi G, Correale J, Fazekas F, Filippi M, Freedman MS, Fujihara K, Galetta SL, Hartung HP, Kappos L, Lublin FD, Marrie RA, Miller AE, Miller DH, Montalban X, Mowry EM, Sorensen PS, Tintoré M, Traboulsee AL, Trojano M, Uitdehaag BMJ, Vukusic S, Waubant E, Weinshenker BG, Reingold SC, Cohen JA","doi":"10.1016/S1474-4422(17)30470-2","id":"thompson-2018","pmid":"29275977","source":"Lancet Neurol. 2018;17(2):162-173","title":"Diagnosis of multiple sclerosis: 2017 revisions of the McDonald criteria"},"criteria":[{"factor":"typical_cis","met":true},{"factor":"no_better_explanation","met":true},{"factor":"two_or_more_attacks","met":true},{"factor":"two_or_more_lesions","met":true},{"factor":"dis","met":false},{"factor":"dit_mri","met":false},{"factor":"csf_specific_ocb","met":false},{"factor":"relapsing_cis_pathway","met":true},{"factor":"mcdonald_ms","met":true}],"csf_specific_ocb":false,"dis":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.","dit_mri":false,"formula":"mcdonald_2017","formula_expression":"mcdonald_ms iff typical_cis and no_better_explanation and ((two_or_more_attacks and two_or_more_lesions) or (two_or_more_attacks and not two_or_more_lesions and dis) or (not two_or_more_attacks and two_or_more_lesions and (dit_mri or csf_specific_ocb)) or (not two_or_more_attacks and not two_or_more_lesions and dis and (dit_mri or csf_specific_ocb))) (Thompson 2018 / 2017 McDonald typical CIS). CSF-specific OCB may substitute for MRI DIT when DIS is met. Not PPMS. Not 2010 McDonald. magent does not read MRI or assay CSF. Not a diagnosis","mcdonald_ms":true,"no_better_explanation":true,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true}],"path":"/api/calc/mcdonald_2017"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"csf_specific_ocb":{"description":"CSF-specific oligoclonal bands as assigned by the caller (2017 DIT substitute when DIS is fulfilled). true or false. magent does not assay CSF.","type":"boolean"},"dis":{"description":"Dissemination in space as assigned by the caller (2017: ≥1 T2-hyperintense lesion characteristic of MS in ≥2 of 4 areas: periventricular, cortical or juxtacortical, infratentorial, spinal cord; symptomatic lesions count; cortical lesions count). true or false. magent does not read MRI.","type":"boolean"},"dit_mri":{"description":"MRI dissemination in time as assigned by the caller (simultaneous Gd-enhancing and non-enhancing lesions, or a new T2 or Gd-enhancing lesion on follow-up vs baseline). true or false. magent does not read MRI.","type":"boolean"},"no_better_explanation":{"description":"No better explanation for the presentation as assigned by the caller (Thompson 2018). If false, mcdonald_ms is false. Remain vigilant for NMOSD. true or false. magent does not assign a better explanation.","type":"boolean"},"two_or_more_attacks":{"description":"≥2 clinical attacks as assigned by the caller. true means two or more attacks; false means this is the first/CIS attack. true or false. magent does not date attacks.","type":"boolean"},"two_or_more_lesions":{"description":"Objective clinical evidence of ≥2 lesions as assigned by the caller. true means ≥2 lesions; false means 1 lesion. true or false. magent does not examine the patient.","type":"boolean"},"typical_cis":{"description":"Typical clinically isolated syndrome as assigned by the caller (Thompson 2018 panel 1). If false, mcdonald_ms is false; this tool does not diagnose MS from atypical presentations. true or false. magent does not examine the patient.","type":"boolean"}},"required":["typical_cis","no_better_explanation","two_or_more_attacks","two_or_more_lesions","dis","dit_mri","csf_specific_ocb"],"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":["mcdonald-2017","multiple-sclerosis","neurology","cis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:47:43.687Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:47:43.56Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"csf_specific_ocb":false,"dis":false,"dit_mri":false,"no_better_explanation":true,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true},{"csf_specific_ocb":false,"dis":false,"dit_mri":false,"no_better_explanation":true,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Thompson AJ, Banwell BL, Barkhof F, Carroll WM, Coetzee T, Comi G, Correale J, Fazekas F, Filippi M, Freedman MS, Fujihara K, Galetta SL, Hartung HP, Kappos L, Lublin FD, Marrie RA, Miller AE, Miller DH, Montalban X, Mowry EM, Sorensen PS, Tintoré M, Traboulsee AL, Trojano M, Uitdehaag BMJ, Vukusic S, Waubant E, Weinshenker BG, Reingold SC, Cohen JA","doi":"10.1016/S1474-4422(17)30470-2","id":"thompson-2018","pmid":"29275977","source":"Lancet Neurol. 2018;17(2):162-173","title":"Diagnosis of multiple sclerosis: 2017 revisions of the McDonald criteria"},"criteria":[{"factor":"typical_cis","met":true},{"factor":"no_better_explanation","met":true},{"factor":"two_or_more_attacks","met":true},{"factor":"two_or_more_lesions","met":true},{"factor":"dis","met":false},{"factor":"dit_mri","met":false},{"factor":"csf_specific_ocb","met":false},{"factor":"relapsing_cis_pathway","met":true},{"factor":"mcdonald_ms","met":true}],"csf_specific_ocb":false,"dis":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.","dit_mri":false,"formula":"mcdonald_2017","formula_expression":"mcdonald_ms iff typical_cis and no_better_explanation and ((two_or_more_attacks and two_or_more_lesions) or (two_or_more_attacks and not two_or_more_lesions and dis) or (not two_or_more_attacks and two_or_more_lesions and (dit_mri or csf_specific_ocb)) or (not two_or_more_attacks and not two_or_more_lesions and dis and (dit_mri or csf_specific_ocb))) (Thompson 2018 / 2017 McDonald typical CIS). CSF-specific OCB may substitute for MRI DIT when DIS is met. Not PPMS. Not 2010 McDonald. magent does not read MRI or assay CSF. Not a diagnosis","mcdonald_ms":true,"no_better_explanation":true,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true},{"citation":{"authors":"Thompson AJ, Banwell BL, Barkhof F, Carroll WM, Coetzee T, Comi G, Correale J, Fazekas F, Filippi M, Freedman MS, Fujihara K, Galetta SL, Hartung HP, Kappos L, Lublin FD, Marrie RA, Miller AE, Miller DH, Montalban X, Mowry EM, Sorensen PS, Tintoré M, Traboulsee AL, Trojano M, Uitdehaag BMJ, Vukusic S, Waubant E, Weinshenker BG, Reingold SC, Cohen JA","doi":"10.1016/S1474-4422(17)30470-2","id":"thompson-2018","pmid":"29275977","source":"Lancet Neurol. 2018;17(2):162-173","title":"Diagnosis of multiple sclerosis: 2017 revisions of the McDonald criteria"},"criteria":[{"factor":"typical_cis","met":true},{"factor":"no_better_explanation","met":true},{"factor":"two_or_more_attacks","met":true},{"factor":"two_or_more_lesions","met":true},{"factor":"dis","met":false},{"factor":"dit_mri","met":false},{"factor":"csf_specific_ocb","met":false},{"factor":"relapsing_cis_pathway","met":true},{"factor":"mcdonald_ms","met":true}],"csf_specific_ocb":false,"dis":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.","dit_mri":false,"formula":"mcdonald_2017","formula_expression":"mcdonald_ms iff typical_cis and no_better_explanation and ((two_or_more_attacks and two_or_more_lesions) or (two_or_more_attacks and not two_or_more_lesions and dis) or (not two_or_more_attacks and two_or_more_lesions and (dit_mri or csf_specific_ocb)) or (not two_or_more_attacks and not two_or_more_lesions and dis and (dit_mri or csf_specific_ocb))) (Thompson 2018 / 2017 McDonald typical CIS). CSF-specific OCB may substitute for MRI DIT when DIS is met. Not PPMS. Not 2010 McDonald. magent does not read MRI or assay CSF. Not a diagnosis","mcdonald_ms":true,"no_better_explanation":true,"two_or_more_attacks":true,"two_or_more_lesions":true,"typical_cis":true}],"path":"/api/calc/mcdonald_2017"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"csf_specific_ocb":{"description":"CSF-specific oligoclonal bands as assigned by the caller (2017 DIT substitute when DIS is fulfilled). true or false. magent does not assay CSF.","type":"boolean"},"dis":{"description":"Dissemination in space as assigned by the caller (2017: ≥1 T2-hyperintense lesion characteristic of MS in ≥2 of 4 areas: periventricular, cortical or juxtacortical, infratentorial, spinal cord; symptomatic lesions count; cortical lesions count). true or false. magent does not read MRI.","type":"boolean"},"dit_mri":{"description":"MRI dissemination in time as assigned by the caller (simultaneous Gd-enhancing and non-enhancing lesions, or a new T2 or Gd-enhancing lesion on follow-up vs baseline). true or false. magent does not read MRI.","type":"boolean"},"no_better_explanation":{"description":"No better explanation for the presentation as assigned by the caller (Thompson 2018). If false, mcdonald_ms is false. Remain vigilant for NMOSD. true or false. magent does not assign a better explanation.","type":"boolean"},"two_or_more_attacks":{"description":"≥2 clinical attacks as assigned by the caller. true means two or more attacks; false means this is the first/CIS attack. true or false. magent does not date attacks.","type":"boolean"},"two_or_more_lesions":{"description":"Objective clinical evidence of ≥2 lesions as assigned by the caller. true means ≥2 lesions; false means 1 lesion. true or false. magent does not examine the patient.","type":"boolean"},"typical_cis":{"description":"Typical clinically isolated syndrome as assigned by the caller (Thompson 2018 panel 1). If false, mcdonald_ms is false; this tool does not diagnose MS from atypical presentations. true or false. magent does not examine the patient.","type":"boolean"}},"required":["typical_cis","no_better_explanation","two_or_more_attacks","two_or_more_lesions","dis","dit_mri","csf_specific_ocb"],"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},{"id":39477,"slug":"39477","resource":"https://api.magentlab.com/api/calc/disease_steps","description":"Hohol 1995 Disease Steps: caller-assigned integer 0-6 (normal; mild disability, mild symptoms or signs; moderate disability, visible abnormality of gait; early cane, intermittent use of cane; late cane, cane-dependent; bilateral support; confined to wheelchair). Not 0.5 half-steps, not later Disease Steps Plus, and not EDSS. magent does not examine gait. Not a medical device and not an MS diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"step":0},{"step":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hohol MJ, Orav EJ, Weiner HL","doi":"10.1212/wnl.45.2.251","id":"hohol-1995","pmid":"7854521","source":"Neurology. 1995;45(2):251-255","title":"Disease steps in multiple sclerosis: a simple approach to evaluate disease progression"},"components":[{"factor":"step","points":0,"present":true}],"description":"Normal","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":"disease_steps","formula_expression":"Disease Steps = caller-assigned integer 0-6 (Hohol 1995); max 6; 0.5 half-steps and unclassifiable U are not scored","max_score":6,"score":0,"step":0},{"citation":{"authors":"Hohol MJ, Orav EJ, Weiner HL","doi":"10.1212/wnl.45.2.251","id":"hohol-1995","pmid":"7854521","source":"Neurology. 1995;45(2):251-255","title":"Disease steps in multiple sclerosis: a simple approach to evaluate disease progression"},"components":[{"factor":"step","points":0,"present":true}],"description":"Normal","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":"disease_steps","formula_expression":"Disease Steps = caller-assigned integer 0-6 (Hohol 1995); max 6; 0.5 half-steps and unclassifiable U are not scored","max_score":6,"score":0,"step":0}],"path":"/api/calc/disease_steps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"step":{"description":"Hohol 1995 Disease Steps 0-6 as assigned by the caller (0 normal; 1 mild disability, mild symptoms or signs; 2 moderate disability, visible abnormality of gait; 3 early cane, intermittent use of cane; 4 late cane, cane-dependent; 5 bilateral support; 6 confined to wheelchair). 0.5 half-steps and unclassifiable U are not scored. magent does not examine gait.","type":"integer"}},"required":["step"],"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":["disease-steps","multiple-sclerosis","neurology","disability","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:47:37.528Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:47:37.408Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"step":0},{"step":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hohol MJ, Orav EJ, Weiner HL","doi":"10.1212/wnl.45.2.251","id":"hohol-1995","pmid":"7854521","source":"Neurology. 1995;45(2):251-255","title":"Disease steps in multiple sclerosis: a simple approach to evaluate disease progression"},"components":[{"factor":"step","points":0,"present":true}],"description":"Normal","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":"disease_steps","formula_expression":"Disease Steps = caller-assigned integer 0-6 (Hohol 1995); max 6; 0.5 half-steps and unclassifiable U are not scored","max_score":6,"score":0,"step":0},{"citation":{"authors":"Hohol MJ, Orav EJ, Weiner HL","doi":"10.1212/wnl.45.2.251","id":"hohol-1995","pmid":"7854521","source":"Neurology. 1995;45(2):251-255","title":"Disease steps in multiple sclerosis: a simple approach to evaluate disease progression"},"components":[{"factor":"step","points":0,"present":true}],"description":"Normal","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":"disease_steps","formula_expression":"Disease Steps = caller-assigned integer 0-6 (Hohol 1995); max 6; 0.5 half-steps and unclassifiable U are not scored","max_score":6,"score":0,"step":0}],"path":"/api/calc/disease_steps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"step":{"description":"Hohol 1995 Disease Steps 0-6 as assigned by the caller (0 normal; 1 mild disability, mild symptoms or signs; 2 moderate disability, visible abnormality of gait; 3 early cane, intermittent use of cane; 4 late cane, cane-dependent; 5 bilateral support; 6 confined to wheelchair). 0.5 half-steps and unclassifiable U are not scored. magent does not examine gait.","type":"integer"}},"required":["step"],"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},{"id":39478,"slug":"39478","resource":"https://api.magentlab.com/api/calc/pas","description":"Samuel 2002 pediatric appendicitis score from eight caller-assigned findings, ages 4-15, max 10. Cough/percussion/hopping RLQ and RIF tenderness score 2; anorexia, pyrexia, nausea/emesis, leukocytosis, neutrophilia, and migration score 1. Fever and labs are flags, not unpublished cutoffs. Not Alvarado (MANTRELS). Not a diagnosis or operating-room protocol. magent does not examine the abdomen.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":10,"anorexia":false,"cough_percussion_hopping_rlq":false,"leukocytosis":false,"migration":false,"nausea_emesis":false,"neutrophilia":false,"pyrexia":false,"rif_tenderness":false},{"age":10,"anorexia":false,"cough_percussion_hopping_rlq":false,"leukocytosis":false,"migration":false,"nausea_emesis":false,"neutrophilia":false,"pyrexia":false,"rif_tenderness":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":10,"citation":{"authors":"Samuel M","doi":"10.1053/jpsu.2002.32893","id":"samuel-2002","pmid":"12037754","source":"J Pediatr Surg. 2002;37(6):877-881","title":"Pediatric appendicitis score"},"components":[{"factor":"cough_percussion_hopping_rlq","points":0,"present":false},{"factor":"anorexia","points":0,"present":false},{"factor":"pyrexia","points":0,"present":false},{"factor":"nausea_emesis","points":0,"present":false},{"factor":"rif_tenderness","points":0,"present":false},{"factor":"leukocytosis","points":0,"present":false},{"factor":"neutrophilia","points":0,"present":false},{"factor":"migration","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":"pas","formula_expression":"PAS = 2*cough_percussion_hopping_rlq + anorexia + pyrexia + nausea_emesis + 2*rif_tenderness + leukocytosis + neutrophilia + migration; max 10","max_score":10,"score":0},{"age":10,"citation":{"authors":"Samuel M","doi":"10.1053/jpsu.2002.32893","id":"samuel-2002","pmid":"12037754","source":"J Pediatr Surg. 2002;37(6):877-881","title":"Pediatric appendicitis score"},"components":[{"factor":"cough_percussion_hopping_rlq","points":0,"present":false},{"factor":"anorexia","points":0,"present":false},{"factor":"pyrexia","points":0,"present":false},{"factor":"nausea_emesis","points":0,"present":false},{"factor":"rif_tenderness","points":0,"present":false},{"factor":"leukocytosis","points":0,"present":false},{"factor":"neutrophilia","points":0,"present":false},{"factor":"migration","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":"pas","formula_expression":"PAS = 2*cough_percussion_hopping_rlq + anorexia + pyrexia + nausea_emesis + 2*rif_tenderness + leukocytosis + neutrophilia + migration; max 10","max_score":10,"score":0}],"path":"/api/calc/pas"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years as an integer from 4 to 15 (Samuel 2002 derivation cohort). Age does not add points. 3 and 16 are rejected.","type":"integer"},"anorexia":{"description":"Anorexia (Samuel). true scores 1; false scores 0.","type":"boolean"},"cough_percussion_hopping_rlq":{"description":"Cough, percussion, or hopping tenderness in the right lower quadrant (Samuel physical sign 1). true scores 2; false scores 0.","type":"boolean"},"leukocytosis":{"description":"Caller-assigned leukocytosis (Samuel 2002; no published WBC cutoff). true scores 1; false scores 0.","type":"boolean"},"migration":{"description":"Migration of pain (Samuel). true scores 1; false scores 0.","type":"boolean"},"nausea_emesis":{"description":"Nausea or emesis (Samuel). true scores 1; false scores 0.","type":"boolean"},"neutrophilia":{"description":"Caller-assigned neutrophilia (Samuel 2002; no published percent or count cutoff). true scores 1; false scores 0.","type":"boolean"},"pyrexia":{"description":"Caller-assigned pyrexia (Samuel named pyrexia; the derivation paper does not publish a °C cutoff). true scores 1; false scores 0.","type":"boolean"},"rif_tenderness":{"description":"Tenderness over the right iliac fossa (Samuel physical sign 5). true scores 2; false scores 0.","type":"boolean"}},"required":["age","cough_percussion_hopping_rlq","anorexia","pyrexia","nausea_emesis","rif_tenderness","leukocytosis","neutrophilia","migration"],"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":["pas","appendicitis","pediatric","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:37:08.38Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:37:08.251Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":10,"anorexia":false,"cough_percussion_hopping_rlq":false,"leukocytosis":false,"migration":false,"nausea_emesis":false,"neutrophilia":false,"pyrexia":false,"rif_tenderness":false},{"age":10,"anorexia":false,"cough_percussion_hopping_rlq":false,"leukocytosis":false,"migration":false,"nausea_emesis":false,"neutrophilia":false,"pyrexia":false,"rif_tenderness":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":10,"citation":{"authors":"Samuel M","doi":"10.1053/jpsu.2002.32893","id":"samuel-2002","pmid":"12037754","source":"J Pediatr Surg. 2002;37(6):877-881","title":"Pediatric appendicitis score"},"components":[{"factor":"cough_percussion_hopping_rlq","points":0,"present":false},{"factor":"anorexia","points":0,"present":false},{"factor":"pyrexia","points":0,"present":false},{"factor":"nausea_emesis","points":0,"present":false},{"factor":"rif_tenderness","points":0,"present":false},{"factor":"leukocytosis","points":0,"present":false},{"factor":"neutrophilia","points":0,"present":false},{"factor":"migration","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":"pas","formula_expression":"PAS = 2*cough_percussion_hopping_rlq + anorexia + pyrexia + nausea_emesis + 2*rif_tenderness + leukocytosis + neutrophilia + migration; max 10","max_score":10,"score":0},{"age":10,"citation":{"authors":"Samuel M","doi":"10.1053/jpsu.2002.32893","id":"samuel-2002","pmid":"12037754","source":"J Pediatr Surg. 2002;37(6):877-881","title":"Pediatric appendicitis score"},"components":[{"factor":"cough_percussion_hopping_rlq","points":0,"present":false},{"factor":"anorexia","points":0,"present":false},{"factor":"pyrexia","points":0,"present":false},{"factor":"nausea_emesis","points":0,"present":false},{"factor":"rif_tenderness","points":0,"present":false},{"factor":"leukocytosis","points":0,"present":false},{"factor":"neutrophilia","points":0,"present":false},{"factor":"migration","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":"pas","formula_expression":"PAS = 2*cough_percussion_hopping_rlq + anorexia + pyrexia + nausea_emesis + 2*rif_tenderness + leukocytosis + neutrophilia + migration; max 10","max_score":10,"score":0}],"path":"/api/calc/pas"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years as an integer from 4 to 15 (Samuel 2002 derivation cohort). Age does not add points. 3 and 16 are rejected.","type":"integer"},"anorexia":{"description":"Anorexia (Samuel). true scores 1; false scores 0.","type":"boolean"},"cough_percussion_hopping_rlq":{"description":"Cough, percussion, or hopping tenderness in the right lower quadrant (Samuel physical sign 1). true scores 2; false scores 0.","type":"boolean"},"leukocytosis":{"description":"Caller-assigned leukocytosis (Samuel 2002; no published WBC cutoff). true scores 1; false scores 0.","type":"boolean"},"migration":{"description":"Migration of pain (Samuel). true scores 1; false scores 0.","type":"boolean"},"nausea_emesis":{"description":"Nausea or emesis (Samuel). true scores 1; false scores 0.","type":"boolean"},"neutrophilia":{"description":"Caller-assigned neutrophilia (Samuel 2002; no published percent or count cutoff). true scores 1; false scores 0.","type":"boolean"},"pyrexia":{"description":"Caller-assigned pyrexia (Samuel named pyrexia; the derivation paper does not publish a °C cutoff). true scores 1; false scores 0.","type":"boolean"},"rif_tenderness":{"description":"Tenderness over the right iliac fossa (Samuel physical sign 5). true scores 2; false scores 0.","type":"boolean"}},"required":["age","cough_percussion_hopping_rlq","anorexia","pyrexia","nausea_emesis","rif_tenderness","leukocytosis","neutrophilia","migration"],"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},{"id":39479,"slug":"39479","resource":"https://api.magentlab.com/api/calc/acr_eular_ra","description":"ACR/EULAR 2010 RA classification (Aletaha Table 3). Required: clinical_synovitis true. Score: joint involvement 0/1/2/3/5 + serology 0/2/3 + abnormal CRP or ESR 1 + duration ≥6 weeks 1; max 10. classified false if another disease better explains synovitis; else true if typical RA erosions or score ≥6. Not a diagnosis. Not 1987 ACR RA. Not SDAI. magent does not examine joints or titer RF/ACPA.","type":"http","serviceName":"magent","resourceType":"MCP Tool","x402Version":2,"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":[{"abnormal_apr":true,"alternative_diagnosis_better":false,"clinical_synovitis":true,"duration_ge_6_weeks":true,"erosive_disease_typical_of_ra":false,"joint_involvement":"four_to_ten_small","serology":"high_positive"},{"abnormal_apr":true,"alternative_diagnosis_better":false,"clinical_synovitis":true,"duration_ge_6_weeks":true,"erosive_disease_typical_of_ra":false,"joint_involvement":"four_to_ten_small","serology":"high_positive"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"classified","citation":{"authors":"Aletaha D, Neogi T, Silman AJ, Funovits J, Felson DT, Bingham CO 3rd, Birnbaum NS, Burmester GR, Bykerk VP, Cohen MD, Combe B, Costenbader KH, Dougados M, Emery P, Ferraccioli G, Hazes JMW, Hobbs K, Huizinga TWJ, Kavanaugh A, Kay J, Kvien TK, Laing T, Mease P, Ménard HA, Moreland LW, Naden RP, Pincus T, Smolen JS, Stanislawska-Biernat E, Symmons D, Tak PP, Upchurch KS, Vencovský J, Wolfe F, Hawker G","doi":"10.1136/ard.2010.138461","id":"aletaha-2010","pmid":"20699241","source":"Ann Rheum Dis. 2010;69(9):1580-1588","title":"2010 Rheumatoid arthritis classification criteria: an American College of Rheumatology/European League Against Rheumatism collaborative initiative"},"classified":true,"components":[{"factor":"joint_involvement","points":3,"present":true,"value":"four_to_ten_small"},{"factor":"serology","points":3,"present":true,"value":"high_positive"},{"factor":"abnormal_apr","points":1,"present":true},{"factor":"duration_ge_6_weeks","points":1,"present":true}],"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":"acr_eular_ra","formula_expression":"ACR/EULAR 2010 RA classification (Aletaha Table 3): required clinical_synovitis true (at least one joint with definite clinical synovitis/swelling; else do not score). Score = joint_involvement (one_large 0, two_to_ten_large 1, one_to_three_small 2, four_to_ten_small 3, gt_ten_with_small 5) + serology (negative 0, low_positive 2, high_positive 3) + abnormal_apr 1 + duration_ge_6_weeks 1; max 10. classified false if alternative_diagnosis_better; else true if erosive_disease_typical_of_ra or score ≥6. Not a diagnosis. Not 1987 ACR RA. Not SDAI","max_score":10,"score":8},{"band":"classified","citation":{"authors":"Aletaha D, Neogi T, Silman AJ, Funovits J, Felson DT, Bingham CO 3rd, Birnbaum NS, Burmester GR, Bykerk VP, Cohen MD, Combe B, Costenbader KH, Dougados M, Emery P, Ferraccioli G, Hazes JMW, Hobbs K, Huizinga TWJ, Kavanaugh A, Kay J, Kvien TK, Laing T, Mease P, Ménard HA, Moreland LW, Naden RP, Pincus T, Smolen JS, Stanislawska-Biernat E, Symmons D, Tak PP, Upchurch KS, Vencovský J, Wolfe F, Hawker G","doi":"10.1136/ard.2010.138461","id":"aletaha-2010","pmid":"20699241","source":"Ann Rheum Dis. 2010;69(9):1580-1588","title":"2010 Rheumatoid arthritis classification criteria: an American College of Rheumatology/European League Against Rheumatism collaborative initiative"},"classified":true,"components":[{"factor":"joint_involvement","points":3,"present":true,"value":"four_to_ten_small"},{"factor":"serology","points":3,"present":true,"value":"high_positive"},{"factor":"abnormal_apr","points":1,"present":true},{"factor":"duration_ge_6_weeks","points":1,"present":true}],"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":"acr_eular_ra","formula_expression":"ACR/EULAR 2010 RA classification (Aletaha Table 3): required clinical_synovitis true (at least one joint with definite clinical synovitis/swelling; else do not score). Score = joint_involvement (one_large 0, two_to_ten_large 1, one_to_three_small 2, four_to_ten_small 3, gt_ten_with_small 5) + serology (negative 0, low_positive 2, high_positive 3) + abnormal_apr 1 + duration_ge_6_weeks 1; max 10. classified false if alternative_diagnosis_better; else true if erosive_disease_typical_of_ra or score ≥6. Not a diagnosis. Not 1987 ACR RA. Not SDAI","max_score":10,"score":8}],"path":"/api/calc/acr_eular_ra"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_apr":{"description":"Abnormal CRP or ESR as assigned by the caller (Aletaha 2010 Table 3). true scores 1; false (normal CRP and ESR) scores 0. magent does not assay CRP or ESR.","type":"boolean"},"alternative_diagnosis_better":{"description":"Synovitis better explained by another disease (Aletaha 2010 target population). true still returns the Table 3 score but classified is false. magent does not assign an alternative diagnosis.","type":"boolean"},"clinical_synovitis":{"description":"Must be true. Aletaha 2010 entry: at least one joint with definite clinical synovitis (swelling) as assigned by the caller. false is invalid and is not classified=false. magent does not examine joints.","type":"boolean"},"duration_ge_6_weeks":{"description":"Duration of symptoms ≥6 weeks as assigned by the caller (Aletaha 2010 Table 3). true scores 1; false scores 0. magent does not date symptom onset.","type":"boolean"},"erosive_disease_typical_of_ra":{"description":"Erosive disease typical of RA with a history compatible with prior fulfillment of the 2010 criteria (Aletaha 2010 footnote). true classifies even if score <6. magent does not read films.","type":"boolean"},"joint_involvement":{"description":"Caller-assigned highest Aletaha 2010 Table 3 joint-involvement category. magent does not count joints. Large = shoulders, elbows, hips, knees, ankles. Small = MCP, PIP, 2nd–5th MTP, thumb IP, wrists. DIP, 1st CMC, and 1st MTP are excluded. one_large scores 0; two_to_ten_large scores 1; one_to_three_small (with or without large) scores 2; four_to_ten_small (with or without large) scores 3; gt_ten_with_small (>10 joints, at least 1 small) scores 5.","enum":["one_large","two_to_ten_large","one_to_three_small","four_to_ten_small","gt_ten_with_small"],"type":"string"},"serology":{"description":"Caller-assigned Aletaha 2010 Table 3 serology row (at least one RF or ACPA test). High-positive RF or ACPA takes the high row. negative scores 0; low_positive scores 2; high_positive scores 3. magent does not titer RF or ACPA.","enum":["negative","low_positive","high_positive"],"type":"string"}},"required":["clinical_synovitis","alternative_diagnosis_better","erosive_disease_typical_of_ra","joint_involvement","serology","abnormal_apr","duration_ge_6_weeks"],"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":["ra","acr-eular","classification","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:36:54.301Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:36:54.169Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_apr":true,"alternative_diagnosis_better":false,"clinical_synovitis":true,"duration_ge_6_weeks":true,"erosive_disease_typical_of_ra":false,"joint_involvement":"four_to_ten_small","serology":"high_positive"},{"abnormal_apr":true,"alternative_diagnosis_better":false,"clinical_synovitis":true,"duration_ge_6_weeks":true,"erosive_disease_typical_of_ra":false,"joint_involvement":"four_to_ten_small","serology":"high_positive"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"classified","citation":{"authors":"Aletaha D, Neogi T, Silman AJ, Funovits J, Felson DT, Bingham CO 3rd, Birnbaum NS, Burmester GR, Bykerk VP, Cohen MD, Combe B, Costenbader KH, Dougados M, Emery P, Ferraccioli G, Hazes JMW, Hobbs K, Huizinga TWJ, Kavanaugh A, Kay J, Kvien TK, Laing T, Mease P, Ménard HA, Moreland LW, Naden RP, Pincus T, Smolen JS, Stanislawska-Biernat E, Symmons D, Tak PP, Upchurch KS, Vencovský J, Wolfe F, Hawker G","doi":"10.1136/ard.2010.138461","id":"aletaha-2010","pmid":"20699241","source":"Ann Rheum Dis. 2010;69(9):1580-1588","title":"2010 Rheumatoid arthritis classification criteria: an American College of Rheumatology/European League Against Rheumatism collaborative initiative"},"classified":true,"components":[{"factor":"joint_involvement","points":3,"present":true,"value":"four_to_ten_small"},{"factor":"serology","points":3,"present":true,"value":"high_positive"},{"factor":"abnormal_apr","points":1,"present":true},{"factor":"duration_ge_6_weeks","points":1,"present":true}],"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":"acr_eular_ra","formula_expression":"ACR/EULAR 2010 RA classification (Aletaha Table 3): required clinical_synovitis true (at least one joint with definite clinical synovitis/swelling; else do not score). Score = joint_involvement (one_large 0, two_to_ten_large 1, one_to_three_small 2, four_to_ten_small 3, gt_ten_with_small 5) + serology (negative 0, low_positive 2, high_positive 3) + abnormal_apr 1 + duration_ge_6_weeks 1; max 10. classified false if alternative_diagnosis_better; else true if erosive_disease_typical_of_ra or score ≥6. Not a diagnosis. Not 1987 ACR RA. Not SDAI","max_score":10,"score":8},{"band":"classified","citation":{"authors":"Aletaha D, Neogi T, Silman AJ, Funovits J, Felson DT, Bingham CO 3rd, Birnbaum NS, Burmester GR, Bykerk VP, Cohen MD, Combe B, Costenbader KH, Dougados M, Emery P, Ferraccioli G, Hazes JMW, Hobbs K, Huizinga TWJ, Kavanaugh A, Kay J, Kvien TK, Laing T, Mease P, Ménard HA, Moreland LW, Naden RP, Pincus T, Smolen JS, Stanislawska-Biernat E, Symmons D, Tak PP, Upchurch KS, Vencovský J, Wolfe F, Hawker G","doi":"10.1136/ard.2010.138461","id":"aletaha-2010","pmid":"20699241","source":"Ann Rheum Dis. 2010;69(9):1580-1588","title":"2010 Rheumatoid arthritis classification criteria: an American College of Rheumatology/European League Against Rheumatism collaborative initiative"},"classified":true,"components":[{"factor":"joint_involvement","points":3,"present":true,"value":"four_to_ten_small"},{"factor":"serology","points":3,"present":true,"value":"high_positive"},{"factor":"abnormal_apr","points":1,"present":true},{"factor":"duration_ge_6_weeks","points":1,"present":true}],"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":"acr_eular_ra","formula_expression":"ACR/EULAR 2010 RA classification (Aletaha Table 3): required clinical_synovitis true (at least one joint with definite clinical synovitis/swelling; else do not score). Score = joint_involvement (one_large 0, two_to_ten_large 1, one_to_three_small 2, four_to_ten_small 3, gt_ten_with_small 5) + serology (negative 0, low_positive 2, high_positive 3) + abnormal_apr 1 + duration_ge_6_weeks 1; max 10. classified false if alternative_diagnosis_better; else true if erosive_disease_typical_of_ra or score ≥6. Not a diagnosis. Not 1987 ACR RA. Not SDAI","max_score":10,"score":8}],"path":"/api/calc/acr_eular_ra"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_apr":{"description":"Abnormal CRP or ESR as assigned by the caller (Aletaha 2010 Table 3). true scores 1; false (normal CRP and ESR) scores 0. magent does not assay CRP or ESR.","type":"boolean"},"alternative_diagnosis_better":{"description":"Synovitis better explained by another disease (Aletaha 2010 target population). true still returns the Table 3 score but classified is false. magent does not assign an alternative diagnosis.","type":"boolean"},"clinical_synovitis":{"description":"Must be true. Aletaha 2010 entry: at least one joint with definite clinical synovitis (swelling) as assigned by the caller. false is invalid and is not classified=false. magent does not examine joints.","type":"boolean"},"duration_ge_6_weeks":{"description":"Duration of symptoms ≥6 weeks as assigned by the caller (Aletaha 2010 Table 3). true scores 1; false scores 0. magent does not date symptom onset.","type":"boolean"},"erosive_disease_typical_of_ra":{"description":"Erosive disease typical of RA with a history compatible with prior fulfillment of the 2010 criteria (Aletaha 2010 footnote). true classifies even if score <6. magent does not read films.","type":"boolean"},"joint_involvement":{"description":"Caller-assigned highest Aletaha 2010 Table 3 joint-involvement category. magent does not count joints. Large = shoulders, elbows, hips, knees, ankles. Small = MCP, PIP, 2nd–5th MTP, thumb IP, wrists. DIP, 1st CMC, and 1st MTP are excluded. one_large scores 0; two_to_ten_large scores 1; one_to_three_small (with or without large) scores 2; four_to_ten_small (with or without large) scores 3; gt_ten_with_small (>10 joints, at least 1 small) scores 5.","enum":["one_large","two_to_ten_large","one_to_three_small","four_to_ten_small","gt_ten_with_small"],"type":"string"},"serology":{"description":"Caller-assigned Aletaha 2010 Table 3 serology row (at least one RF or ACPA test). High-positive RF or ACPA takes the high row. negative scores 0; low_positive scores 2; high_positive scores 3. magent does not titer RF or ACPA.","enum":["negative","low_positive","high_positive"],"type":"string"}},"required":["clinical_synovitis","alternative_diagnosis_better","erosive_disease_typical_of_ra","joint_involvement","serology","abnormal_apr","duration_ge_6_weeks"],"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},{"id":39480,"slug":"39480","resource":"https://api.magentlab.com/api/calc/leiden_arthritis","description":"van der Helm-van Mil 2007 Leiden prediction rule for recent-onset undifferentiated arthritis (Figure 1 / Table 2). Age × 0.02, female 1, small joints 0.5, symmetric 0.5, upper 1 or upper-and-lower 1.5, 100-mm morning-stiffness VAS 0/1/2, tender and swollen counts 0/0.5/1, CRP mg/L 0/0.5/1.5, RF 1, anti-CCP 2. Round to nearest 0.0 or 0.5. Bands ≤6 low, >6 and <8 indeterminate, ≥8 high. Not a diagnosis of RA. magent does not examine joints or assay serologies.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":48,"anti_ccp_positive":false,"crp_mg_l":60,"morning_stiffness_vas_mm":50,"rheumatoid_factor_positive":false,"sex":"female","small_joints_hands_feet":true,"swollen_joint_count":8,"symmetric":true,"tender_joint_count":8,"upper_and_lower_extremities":false,"upper_extremities":true},{"age":48,"anti_ccp_positive":false,"crp_mg_l":60,"morning_stiffness_vas_mm":50,"rheumatoid_factor_positive":false,"sex":"female","small_joints_hands_feet":true,"swollen_joint_count":8,"symmetric":true,"tender_joint_count":8,"upper_and_lower_extremities":false,"upper_extremities":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"van der Helm-van Mil AH, le Cessie S, van Dongen H, Breedveld FC, Toes RE, Huizinga TW","doi":"10.1002/art.22380","id":"van-der-helm-van-mil-2007","pmid":"17265478","source":"Arthritis Rheum. 2007;56(2):433-440","title":"A prediction rule for disease outcome in patients with recent-onset undifferentiated arthritis: how to guide individual treatment decisions"},"components":[{"factor":"age","points":0.96,"present":true,"value":48},{"factor":"female","points":1,"present":true,"value":"female"},{"factor":"small_joints_hands_feet","points":0.5,"present":true},{"factor":"symmetric","points":0.5,"present":true},{"factor":"upper_and_lower_extremities","points":0,"present":false},{"factor":"upper_extremities","points":1,"present":true},{"factor":"morning_stiffness_vas_mm","points":1,"present":true,"value":50},{"factor":"tender_joint_count","points":0.5,"present":true,"value":8},{"factor":"swollen_joint_count","points":0.5,"present":true,"value":8},{"factor":"crp_mg_l","points":1.5,"present":true,"value":60},{"factor":"rheumatoid_factor_positive","points":0,"present":false},{"factor":"anti_ccp_positive","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":"leiden_arthritis","formula_expression":"Leiden UA score (van der Helm-van Mil 2007 Figure 1 / Table 2) = age_years*0.02 + female 1 + small_joints_hands_feet 0.5 + symmetric 0.5 + (upper_and_lower_extremities 1.5 else upper_extremities 1) + morning_stiffness_vas_mm (0–25 → 0; 26–90 → 1; >90 → 2) + tender_joint_count (<4 → 0; 4–10 → 0.5; ≥11 → 1) + swollen_joint_count (<4 → 0; 4–10 → 0.5; ≥11 → 1) + crp_mg_l (0–4 → 0; 5–50 → 0.5; ≥51 → 1.5) + rheumatoid_factor_positive 1 + anti_ccp_positive 2; round to nearest 0.0 or 0.5; ≤6 low, >6 and <8 indeterminate, ≥8 high; max 14; not a diagnosis of RA","leiden_band":"indeterminate","max_score":14,"score":7.5},{"citation":{"authors":"van der Helm-van Mil AH, le Cessie S, van Dongen H, Breedveld FC, Toes RE, Huizinga TW","doi":"10.1002/art.22380","id":"van-der-helm-van-mil-2007","pmid":"17265478","source":"Arthritis Rheum. 2007;56(2):433-440","title":"A prediction rule for disease outcome in patients with recent-onset undifferentiated arthritis: how to guide individual treatment decisions"},"components":[{"factor":"age","points":0.96,"present":true,"value":48},{"factor":"female","points":1,"present":true,"value":"female"},{"factor":"small_joints_hands_feet","points":0.5,"present":true},{"factor":"symmetric","points":0.5,"present":true},{"factor":"upper_and_lower_extremities","points":0,"present":false},{"factor":"upper_extremities","points":1,"present":true},{"factor":"morning_stiffness_vas_mm","points":1,"present":true,"value":50},{"factor":"tender_joint_count","points":0.5,"present":true,"value":8},{"factor":"swollen_joint_count","points":0.5,"present":true,"value":8},{"factor":"crp_mg_l","points":1.5,"present":true,"value":60},{"factor":"rheumatoid_factor_positive","points":0,"present":false},{"factor":"anti_ccp_positive","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":"leiden_arthritis","formula_expression":"Leiden UA score (van der Helm-van Mil 2007 Figure 1 / Table 2) = age_years*0.02 + female 1 + small_joints_hands_feet 0.5 + symmetric 0.5 + (upper_and_lower_extremities 1.5 else upper_extremities 1) + morning_stiffness_vas_mm (0–25 → 0; 26–90 → 1; >90 → 2) + tender_joint_count (<4 → 0; 4–10 → 0.5; ≥11 → 1) + swollen_joint_count (<4 → 0; 4–10 → 0.5; ≥11 → 1) + crp_mg_l (0–4 → 0; 5–50 → 0.5; ≥51 → 1.5) + rheumatoid_factor_positive 1 + anti_ccp_positive 2; round to nearest 0.0 or 0.5; ≤6 low, >6 and <8 indeterminate, ≥8 high; max 14; not a diagnosis of RA","leiden_band":"indeterminate","max_score":14,"score":7.5}],"path":"/api/calc/leiden_arthritis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years as an integer from 18 to 120 (van der Helm-van Mil 2007). Scores age_years × 0.02. magent does not assign age.","type":"integer"},"anti_ccp_positive":{"description":"Caller-assigned anti-CCP (ACPA) positivity (van der Helm-van Mil 2007). true scores 2. magent does not assay serologies.","type":"boolean"},"crp_mg_l":{"description":"Caller-assigned C-reactive protein in mg/L (van der Helm-van Mil 2007). Number 0–500. 0–4 scores 0; 5–50 scores 0.5; ≥51 scores 1.5. magent does not assay CRP.","type":"number"},"morning_stiffness_vas_mm":{"description":"Morning-stiffness severity on a 100-mm VAS (van der Helm-van Mil 2007), not duration in minutes. Number 0–100. 0–25 scores 0; 26–90 scores 1; >90 scores 2. magent does not take a history.","type":"number"},"rheumatoid_factor_positive":{"description":"Caller-assigned rheumatoid factor positivity (van der Helm-van Mil 2007). true scores 1. magent does not assay serologies.","type":"boolean"},"sex":{"description":"Caller-assigned sex (van der Helm-van Mil 2007). female scores 1; male scores 0. magent does not assign sex.","enum":["female","male"],"type":"string"},"small_joints_hands_feet":{"description":"Involvement of small joints of the hands or feet (van der Helm-van Mil 2007). true scores 0.5 and may stack with symmetric and the extremity row. magent does not examine joints.","type":"boolean"},"swollen_joint_count":{"description":"Caller-assigned swollen joint count (van der Helm-van Mil 2007). Integer 0–66. <4 scores 0; 4–10 scores 0.5; ≥11 scores 1. magent does not examine joints.","type":"integer"},"symmetric":{"description":"Symmetric joint involvement (van der Helm-van Mil 2007). true scores 0.5 and may stack with small-joint and extremity rows. magent does not examine joints.","type":"boolean"},"tender_joint_count":{"description":"Caller-assigned tender joint count (van der Helm-van Mil 2007). Integer 0–68. <4 scores 0; 4–10 scores 0.5; ≥11 scores 1. magent does not examine joints.","type":"integer"},"upper_and_lower_extremities":{"description":"Involvement of upper and lower extremities (van der Helm-van Mil 2007). true scores 1.5 and ignores upper_extremities. magent does not examine joints.","type":"boolean"},"upper_extremities":{"description":"Involvement of upper extremities only (van der Helm-van Mil 2007). true scores 1 unless upper_and_lower_extremities is true, in which case this row is ignored. Mutually exclusive with the 1.5 upper-and-lower row. magent does not examine joints.","type":"boolean"}},"required":["age","sex","small_joints_hands_feet","symmetric","upper_extremities","upper_and_lower_extremities","morning_stiffness_vas_mm","tender_joint_count","swollen_joint_count","crp_mg_l","rheumatoid_factor_positive","anti_ccp_positive"],"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":["leiden","undifferentiated-arthritis","rheumatoid","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:36:48.167Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:36:48.039Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":48,"anti_ccp_positive":false,"crp_mg_l":60,"morning_stiffness_vas_mm":50,"rheumatoid_factor_positive":false,"sex":"female","small_joints_hands_feet":true,"swollen_joint_count":8,"symmetric":true,"tender_joint_count":8,"upper_and_lower_extremities":false,"upper_extremities":true},{"age":48,"anti_ccp_positive":false,"crp_mg_l":60,"morning_stiffness_vas_mm":50,"rheumatoid_factor_positive":false,"sex":"female","small_joints_hands_feet":true,"swollen_joint_count":8,"symmetric":true,"tender_joint_count":8,"upper_and_lower_extremities":false,"upper_extremities":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"van der Helm-van Mil AH, le Cessie S, van Dongen H, Breedveld FC, Toes RE, Huizinga TW","doi":"10.1002/art.22380","id":"van-der-helm-van-mil-2007","pmid":"17265478","source":"Arthritis Rheum. 2007;56(2):433-440","title":"A prediction rule for disease outcome in patients with recent-onset undifferentiated arthritis: how to guide individual treatment decisions"},"components":[{"factor":"age","points":0.96,"present":true,"value":48},{"factor":"female","points":1,"present":true,"value":"female"},{"factor":"small_joints_hands_feet","points":0.5,"present":true},{"factor":"symmetric","points":0.5,"present":true},{"factor":"upper_and_lower_extremities","points":0,"present":false},{"factor":"upper_extremities","points":1,"present":true},{"factor":"morning_stiffness_vas_mm","points":1,"present":true,"value":50},{"factor":"tender_joint_count","points":0.5,"present":true,"value":8},{"factor":"swollen_joint_count","points":0.5,"present":true,"value":8},{"factor":"crp_mg_l","points":1.5,"present":true,"value":60},{"factor":"rheumatoid_factor_positive","points":0,"present":false},{"factor":"anti_ccp_positive","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":"leiden_arthritis","formula_expression":"Leiden UA score (van der Helm-van Mil 2007 Figure 1 / Table 2) = age_years*0.02 + female 1 + small_joints_hands_feet 0.5 + symmetric 0.5 + (upper_and_lower_extremities 1.5 else upper_extremities 1) + morning_stiffness_vas_mm (0–25 → 0; 26–90 → 1; >90 → 2) + tender_joint_count (<4 → 0; 4–10 → 0.5; ≥11 → 1) + swollen_joint_count (<4 → 0; 4–10 → 0.5; ≥11 → 1) + crp_mg_l (0–4 → 0; 5–50 → 0.5; ≥51 → 1.5) + rheumatoid_factor_positive 1 + anti_ccp_positive 2; round to nearest 0.0 or 0.5; ≤6 low, >6 and <8 indeterminate, ≥8 high; max 14; not a diagnosis of RA","leiden_band":"indeterminate","max_score":14,"score":7.5},{"citation":{"authors":"van der Helm-van Mil AH, le Cessie S, van Dongen H, Breedveld FC, Toes RE, Huizinga TW","doi":"10.1002/art.22380","id":"van-der-helm-van-mil-2007","pmid":"17265478","source":"Arthritis Rheum. 2007;56(2):433-440","title":"A prediction rule for disease outcome in patients with recent-onset undifferentiated arthritis: how to guide individual treatment decisions"},"components":[{"factor":"age","points":0.96,"present":true,"value":48},{"factor":"female","points":1,"present":true,"value":"female"},{"factor":"small_joints_hands_feet","points":0.5,"present":true},{"factor":"symmetric","points":0.5,"present":true},{"factor":"upper_and_lower_extremities","points":0,"present":false},{"factor":"upper_extremities","points":1,"present":true},{"factor":"morning_stiffness_vas_mm","points":1,"present":true,"value":50},{"factor":"tender_joint_count","points":0.5,"present":true,"value":8},{"factor":"swollen_joint_count","points":0.5,"present":true,"value":8},{"factor":"crp_mg_l","points":1.5,"present":true,"value":60},{"factor":"rheumatoid_factor_positive","points":0,"present":false},{"factor":"anti_ccp_positive","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":"leiden_arthritis","formula_expression":"Leiden UA score (van der Helm-van Mil 2007 Figure 1 / Table 2) = age_years*0.02 + female 1 + small_joints_hands_feet 0.5 + symmetric 0.5 + (upper_and_lower_extremities 1.5 else upper_extremities 1) + morning_stiffness_vas_mm (0–25 → 0; 26–90 → 1; >90 → 2) + tender_joint_count (<4 → 0; 4–10 → 0.5; ≥11 → 1) + swollen_joint_count (<4 → 0; 4–10 → 0.5; ≥11 → 1) + crp_mg_l (0–4 → 0; 5–50 → 0.5; ≥51 → 1.5) + rheumatoid_factor_positive 1 + anti_ccp_positive 2; round to nearest 0.0 or 0.5; ≤6 low, >6 and <8 indeterminate, ≥8 high; max 14; not a diagnosis of RA","leiden_band":"indeterminate","max_score":14,"score":7.5}],"path":"/api/calc/leiden_arthritis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years as an integer from 18 to 120 (van der Helm-van Mil 2007). Scores age_years × 0.02. magent does not assign age.","type":"integer"},"anti_ccp_positive":{"description":"Caller-assigned anti-CCP (ACPA) positivity (van der Helm-van Mil 2007). true scores 2. magent does not assay serologies.","type":"boolean"},"crp_mg_l":{"description":"Caller-assigned C-reactive protein in mg/L (van der Helm-van Mil 2007). Number 0–500. 0–4 scores 0; 5–50 scores 0.5; ≥51 scores 1.5. magent does not assay CRP.","type":"number"},"morning_stiffness_vas_mm":{"description":"Morning-stiffness severity on a 100-mm VAS (van der Helm-van Mil 2007), not duration in minutes. Number 0–100. 0–25 scores 0; 26–90 scores 1; >90 scores 2. magent does not take a history.","type":"number"},"rheumatoid_factor_positive":{"description":"Caller-assigned rheumatoid factor positivity (van der Helm-van Mil 2007). true scores 1. magent does not assay serologies.","type":"boolean"},"sex":{"description":"Caller-assigned sex (van der Helm-van Mil 2007). female scores 1; male scores 0. magent does not assign sex.","enum":["female","male"],"type":"string"},"small_joints_hands_feet":{"description":"Involvement of small joints of the hands or feet (van der Helm-van Mil 2007). true scores 0.5 and may stack with symmetric and the extremity row. magent does not examine joints.","type":"boolean"},"swollen_joint_count":{"description":"Caller-assigned swollen joint count (van der Helm-van Mil 2007). Integer 0–66. <4 scores 0; 4–10 scores 0.5; ≥11 scores 1. magent does not examine joints.","type":"integer"},"symmetric":{"description":"Symmetric joint involvement (van der Helm-van Mil 2007). true scores 0.5 and may stack with small-joint and extremity rows. magent does not examine joints.","type":"boolean"},"tender_joint_count":{"description":"Caller-assigned tender joint count (van der Helm-van Mil 2007). Integer 0–68. <4 scores 0; 4–10 scores 0.5; ≥11 scores 1. magent does not examine joints.","type":"integer"},"upper_and_lower_extremities":{"description":"Involvement of upper and lower extremities (van der Helm-van Mil 2007). true scores 1.5 and ignores upper_extremities. magent does not examine joints.","type":"boolean"},"upper_extremities":{"description":"Involvement of upper extremities only (van der Helm-van Mil 2007). true scores 1 unless upper_and_lower_extremities is true, in which case this row is ignored. Mutually exclusive with the 1.5 upper-and-lower row. magent does not examine joints.","type":"boolean"}},"required":["age","sex","small_joints_hands_feet","symmetric","upper_extremities","upper_and_lower_extremities","morning_stiffness_vas_mm","tender_joint_count","swollen_joint_count","crp_mg_l","rheumatoid_factor_positive","anti_ccp_positive"],"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},{"id":39481,"slug":"39481","resource":"https://api.magentlab.com/api/calc/caspar","description":"Taylor 2006 CASPAR classification criteria for psoriatic arthritis. Required: inflammatory_articular_disease true (joint, spine, or enthesis). Score: current psoriasis 2; personal history 1 only if current is false; family history 1 only if current and personal are false; nail dystrophy 1; RF-negative 1; dactylitis (current or history) 1; juxtaarticular new bone 1. Classified iff score ≥3 (max 8). Not a diagnosis. Not Moll and Wright. magent does not examine skin or read films.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"current_psoriasis":true,"dactylitis":true,"family_history_psoriasis":false,"inflammatory_articular_disease":true,"juxtaarticular_new_bone":false,"nail_dystrophy":false,"personal_history_psoriasis":false,"rheumatoid_factor_negative":true},{"current_psoriasis":true,"dactylitis":true,"family_history_psoriasis":false,"inflammatory_articular_disease":true,"juxtaarticular_new_bone":false,"nail_dystrophy":false,"personal_history_psoriasis":false,"rheumatoid_factor_negative":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"classified","citation":{"authors":"Taylor W, Gladman D, Helliwell P, Marchesoni A, Mease P, Mielants H, CASPAR Study Group","doi":"10.1002/art.21972","id":"taylor-2006","pmid":"16871531","source":"Arthritis Rheum. 2006;54(8):2665-2673","title":"Classification criteria for psoriatic arthritis: development of new criteria from a large international study"},"classified":true,"components":[{"factor":"current_psoriasis","points":2,"present":true},{"factor":"personal_history_psoriasis","points":0,"present":false},{"factor":"family_history_psoriasis","points":0,"present":false},{"factor":"nail_dystrophy","points":0,"present":false},{"factor":"rheumatoid_factor_negative","points":1,"present":true},{"factor":"dactylitis","points":1,"present":true},{"factor":"juxtaarticular_new_bone","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":"caspar","formula_expression":"Taylor 2006 CASPAR: required inflammatory_articular_disease true (established inflammatory articular disease of joint, spine, or enthesis; else do not score). Score = current_psoriasis 2 + personal_history_psoriasis 1 (only if current_psoriasis false) + family_history_psoriasis 1 (only if current_psoriasis false and personal_history_psoriasis false) + nail_dystrophy 1 + rheumatoid_factor_negative 1 + dactylitis 1 + juxtaarticular_new_bone 1; max 8; classified iff score ≥3. Not a diagnosis. Not Moll and Wright","max_score":8,"score":4},{"band":"classified","citation":{"authors":"Taylor W, Gladman D, Helliwell P, Marchesoni A, Mease P, Mielants H, CASPAR Study Group","doi":"10.1002/art.21972","id":"taylor-2006","pmid":"16871531","source":"Arthritis Rheum. 2006;54(8):2665-2673","title":"Classification criteria for psoriatic arthritis: development of new criteria from a large international study"},"classified":true,"components":[{"factor":"current_psoriasis","points":2,"present":true},{"factor":"personal_history_psoriasis","points":0,"present":false},{"factor":"family_history_psoriasis","points":0,"present":false},{"factor":"nail_dystrophy","points":0,"present":false},{"factor":"rheumatoid_factor_negative","points":1,"present":true},{"factor":"dactylitis","points":1,"present":true},{"factor":"juxtaarticular_new_bone","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":"caspar","formula_expression":"Taylor 2006 CASPAR: required inflammatory_articular_disease true (established inflammatory articular disease of joint, spine, or enthesis; else do not score). Score = current_psoriasis 2 + personal_history_psoriasis 1 (only if current_psoriasis false) + family_history_psoriasis 1 (only if current_psoriasis false and personal_history_psoriasis false) + nail_dystrophy 1 + rheumatoid_factor_negative 1 + dactylitis 1 + juxtaarticular_new_bone 1; max 8; classified iff score ≥3. Not a diagnosis. Not Moll and Wright","max_score":8,"score":4}],"path":"/api/calc/caspar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"current_psoriasis":{"description":"Current psoriasis as assigned by the caller (Taylor 2006): psoriatic skin or scalp disease present today as judged by a rheumatologist or dermatologist. true scores 2. When true, personal_history_psoriasis and family_history_psoriasis do not add. magent does not examine skin.","type":"boolean"},"dactylitis":{"description":"Current swelling of an entire digit, or a history of dactylitis recorded by a rheumatologist, as assigned by the caller (Taylor 2006). true scores 1. magent does not examine digits.","type":"boolean"},"family_history_psoriasis":{"description":"Family history of psoriasis as assigned by the caller (Taylor 2006): first- or second-degree relative according to patient report. true scores 1 only if current_psoriasis is false and personal_history_psoriasis is false. magent does not take a pedigree.","type":"boolean"},"inflammatory_articular_disease":{"description":"Must be true. Taylor 2006 CASPAR entry: established inflammatory articular disease of joint, spine, or enthesis as assigned by the caller. false is invalid and is not classified=false. magent does not examine joints.","type":"boolean"},"juxtaarticular_new_bone":{"description":"Radiographic ill-defined ossification near joint margins, excluding osteophyte formation, on plain radiographs of the hand or foot, as assigned by the caller (Taylor 2006). true scores 1. magent does not read films.","type":"boolean"},"nail_dystrophy":{"description":"Typical psoriatic nail dystrophy including onycholysis, pitting, and hyperkeratosis on current examination, as assigned by the caller (Taylor 2006). true scores 1. magent does not examine nails.","type":"boolean"},"personal_history_psoriasis":{"description":"Personal history of psoriasis as assigned by the caller (Taylor 2006): a history that may be obtained from the patient, family physician, dermatologist, rheumatologist, or other qualified health care provider. true scores 1 only if current_psoriasis is false. magent does not examine skin.","type":"boolean"},"rheumatoid_factor_negative":{"description":"Negative rheumatoid factor by any method except latex, preferably ELISA or nephelometry according to the local laboratory reference range, as assigned by the caller (Taylor 2006). true scores 1. magent does not assay rheumatoid factor.","type":"boolean"}},"required":["inflammatory_articular_disease","current_psoriasis","personal_history_psoriasis","family_history_psoriasis","nail_dystrophy","rheumatoid_factor_negative","dactylitis","juxtaarticular_new_bone"],"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":["caspar","psoriatic-arthritis","classification","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:36:42.134Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:36:41.987Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"current_psoriasis":true,"dactylitis":true,"family_history_psoriasis":false,"inflammatory_articular_disease":true,"juxtaarticular_new_bone":false,"nail_dystrophy":false,"personal_history_psoriasis":false,"rheumatoid_factor_negative":true},{"current_psoriasis":true,"dactylitis":true,"family_history_psoriasis":false,"inflammatory_articular_disease":true,"juxtaarticular_new_bone":false,"nail_dystrophy":false,"personal_history_psoriasis":false,"rheumatoid_factor_negative":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"band":"classified","citation":{"authors":"Taylor W, Gladman D, Helliwell P, Marchesoni A, Mease P, Mielants H, CASPAR Study Group","doi":"10.1002/art.21972","id":"taylor-2006","pmid":"16871531","source":"Arthritis Rheum. 2006;54(8):2665-2673","title":"Classification criteria for psoriatic arthritis: development of new criteria from a large international study"},"classified":true,"components":[{"factor":"current_psoriasis","points":2,"present":true},{"factor":"personal_history_psoriasis","points":0,"present":false},{"factor":"family_history_psoriasis","points":0,"present":false},{"factor":"nail_dystrophy","points":0,"present":false},{"factor":"rheumatoid_factor_negative","points":1,"present":true},{"factor":"dactylitis","points":1,"present":true},{"factor":"juxtaarticular_new_bone","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":"caspar","formula_expression":"Taylor 2006 CASPAR: required inflammatory_articular_disease true (established inflammatory articular disease of joint, spine, or enthesis; else do not score). Score = current_psoriasis 2 + personal_history_psoriasis 1 (only if current_psoriasis false) + family_history_psoriasis 1 (only if current_psoriasis false and personal_history_psoriasis false) + nail_dystrophy 1 + rheumatoid_factor_negative 1 + dactylitis 1 + juxtaarticular_new_bone 1; max 8; classified iff score ≥3. Not a diagnosis. Not Moll and Wright","max_score":8,"score":4},{"band":"classified","citation":{"authors":"Taylor W, Gladman D, Helliwell P, Marchesoni A, Mease P, Mielants H, CASPAR Study Group","doi":"10.1002/art.21972","id":"taylor-2006","pmid":"16871531","source":"Arthritis Rheum. 2006;54(8):2665-2673","title":"Classification criteria for psoriatic arthritis: development of new criteria from a large international study"},"classified":true,"components":[{"factor":"current_psoriasis","points":2,"present":true},{"factor":"personal_history_psoriasis","points":0,"present":false},{"factor":"family_history_psoriasis","points":0,"present":false},{"factor":"nail_dystrophy","points":0,"present":false},{"factor":"rheumatoid_factor_negative","points":1,"present":true},{"factor":"dactylitis","points":1,"present":true},{"factor":"juxtaarticular_new_bone","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":"caspar","formula_expression":"Taylor 2006 CASPAR: required inflammatory_articular_disease true (established inflammatory articular disease of joint, spine, or enthesis; else do not score). Score = current_psoriasis 2 + personal_history_psoriasis 1 (only if current_psoriasis false) + family_history_psoriasis 1 (only if current_psoriasis false and personal_history_psoriasis false) + nail_dystrophy 1 + rheumatoid_factor_negative 1 + dactylitis 1 + juxtaarticular_new_bone 1; max 8; classified iff score ≥3. Not a diagnosis. Not Moll and Wright","max_score":8,"score":4}],"path":"/api/calc/caspar"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"current_psoriasis":{"description":"Current psoriasis as assigned by the caller (Taylor 2006): psoriatic skin or scalp disease present today as judged by a rheumatologist or dermatologist. true scores 2. When true, personal_history_psoriasis and family_history_psoriasis do not add. magent does not examine skin.","type":"boolean"},"dactylitis":{"description":"Current swelling of an entire digit, or a history of dactylitis recorded by a rheumatologist, as assigned by the caller (Taylor 2006). true scores 1. magent does not examine digits.","type":"boolean"},"family_history_psoriasis":{"description":"Family history of psoriasis as assigned by the caller (Taylor 2006): first- or second-degree relative according to patient report. true scores 1 only if current_psoriasis is false and personal_history_psoriasis is false. magent does not take a pedigree.","type":"boolean"},"inflammatory_articular_disease":{"description":"Must be true. Taylor 2006 CASPAR entry: established inflammatory articular disease of joint, spine, or enthesis as assigned by the caller. false is invalid and is not classified=false. magent does not examine joints.","type":"boolean"},"juxtaarticular_new_bone":{"description":"Radiographic ill-defined ossification near joint margins, excluding osteophyte formation, on plain radiographs of the hand or foot, as assigned by the caller (Taylor 2006). true scores 1. magent does not read films.","type":"boolean"},"nail_dystrophy":{"description":"Typical psoriatic nail dystrophy including onycholysis, pitting, and hyperkeratosis on current examination, as assigned by the caller (Taylor 2006). true scores 1. magent does not examine nails.","type":"boolean"},"personal_history_psoriasis":{"description":"Personal history of psoriasis as assigned by the caller (Taylor 2006): a history that may be obtained from the patient, family physician, dermatologist, rheumatologist, or other qualified health care provider. true scores 1 only if current_psoriasis is false. magent does not examine skin.","type":"boolean"},"rheumatoid_factor_negative":{"description":"Negative rheumatoid factor by any method except latex, preferably ELISA or nephelometry according to the local laboratory reference range, as assigned by the caller (Taylor 2006). true scores 1. magent does not assay rheumatoid factor.","type":"boolean"}},"required":["inflammatory_articular_disease","current_psoriasis","personal_history_psoriasis","family_history_psoriasis","nail_dystrophy","rheumatoid_factor_negative","dactylitis","juxtaarticular_new_bone"],"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},{"id":39482,"slug":"39482","resource":"https://api.magentlab.com/api/calc/das28_crp","description":"Wells 2009 DAS28(CRP): 0.56*sqrt(TJC28)+0.28*sqrt(SJC28)+0.014*GH+0.36*ln(CRP+1)+0.96. CRP is mg/L, not SDAI mg/dL. GH is 0-100 mm VAS, not 0-10. The +0.96 constant is required. Remission is DAS28<2.6 as stated in that paper. magent does not count joints or assay CRP. Not DAS28-ESR, SDAI, or CDAI. Not a rheumatoid arthritis diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"crp_mg_l":1,"gh":0,"sjc28":0,"tjc28":0},{"crp_mg_l":1,"gh":0,"sjc28":0,"tjc28":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wells G, Becker JC, Teng J, Dougados M, Schiff M, Smolen J, Aletaha D, van Riel PLCM","doi":"10.1136/ard.2007.084459","id":"wells-2009","pmid":"18490431","source":"Ann Rheum Dis. 2009;68(6):954-960","title":"Validation of the 28-joint Disease Activity Score (DAS28) and European League Against Rheumatism response criteria based on C-reactive protein against disease progression in patients with rheumatoid arthritis, and comparison with the DAS28 based on erythrocyte sedimentation rate"},"crp_mg_l":1,"das28_crp_band":"remission","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":"das28_crp","formula_expression":"DAS28(CRP) = 0.56*sqrt(tjc28) + 0.28*sqrt(sjc28) + 0.014*gh + 0.36*ln(crp_mg_l+1) + 0.96; Wells 2009; CRP mg/L; GH 0-100 mm VAS; remission DAS28<2.6; not DAS28-ESR; not SDAI; not CDAI; magent does not count joints or assay CRP","gh":0,"score":1.21,"sjc28":0,"tjc28":0},{"citation":{"authors":"Wells G, Becker JC, Teng J, Dougados M, Schiff M, Smolen J, Aletaha D, van Riel PLCM","doi":"10.1136/ard.2007.084459","id":"wells-2009","pmid":"18490431","source":"Ann Rheum Dis. 2009;68(6):954-960","title":"Validation of the 28-joint Disease Activity Score (DAS28) and European League Against Rheumatism response criteria based on C-reactive protein against disease progression in patients with rheumatoid arthritis, and comparison with the DAS28 based on erythrocyte sedimentation rate"},"crp_mg_l":1,"das28_crp_band":"remission","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":"das28_crp","formula_expression":"DAS28(CRP) = 0.56*sqrt(tjc28) + 0.28*sqrt(sjc28) + 0.014*gh + 0.36*ln(crp_mg_l+1) + 0.96; Wells 2009; CRP mg/L; GH 0-100 mm VAS; remission DAS28<2.6; not DAS28-ESR; not SDAI; not CDAI; magent does not count joints or assay CRP","gh":0,"score":1.21,"sjc28":0,"tjc28":0}],"path":"/api/calc/das28_crp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crp_mg_l":{"description":"Caller-assigned C-reactive protein in mg/L (Wells 2009; not mg/dL SDAI). Number 0-500 is a magent clamp. magent does not assay CRP.","type":"number"},"gh":{"description":"Caller-assigned general health (patient assessment) on a 0-100 mm VAS (Wells 2009; 0=best, 100=worst). Number 0-100. Not 0-10 cm SDAI PGA. magent does not examine the patient.","type":"number"},"sjc28":{"description":"Caller-assigned swollen joint count on the 28-joint set (Wells 2009 DAS28-CRP). Integer 0-28. magent does not count joints.","type":"integer"},"tjc28":{"description":"Caller-assigned tender joint count on the 28-joint set (Wells 2009 DAS28-CRP). Integer 0-28. magent does not count joints.","type":"integer"}},"required":["tjc28","sjc28","crp_mg_l","gh"],"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":["das28-crp","rheumatoid-arthritis","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:36:35.481Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:36:35.287Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"crp_mg_l":1,"gh":0,"sjc28":0,"tjc28":0},{"crp_mg_l":1,"gh":0,"sjc28":0,"tjc28":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Wells G, Becker JC, Teng J, Dougados M, Schiff M, Smolen J, Aletaha D, van Riel PLCM","doi":"10.1136/ard.2007.084459","id":"wells-2009","pmid":"18490431","source":"Ann Rheum Dis. 2009;68(6):954-960","title":"Validation of the 28-joint Disease Activity Score (DAS28) and European League Against Rheumatism response criteria based on C-reactive protein against disease progression in patients with rheumatoid arthritis, and comparison with the DAS28 based on erythrocyte sedimentation rate"},"crp_mg_l":1,"das28_crp_band":"remission","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":"das28_crp","formula_expression":"DAS28(CRP) = 0.56*sqrt(tjc28) + 0.28*sqrt(sjc28) + 0.014*gh + 0.36*ln(crp_mg_l+1) + 0.96; Wells 2009; CRP mg/L; GH 0-100 mm VAS; remission DAS28<2.6; not DAS28-ESR; not SDAI; not CDAI; magent does not count joints or assay CRP","gh":0,"score":1.21,"sjc28":0,"tjc28":0},{"citation":{"authors":"Wells G, Becker JC, Teng J, Dougados M, Schiff M, Smolen J, Aletaha D, van Riel PLCM","doi":"10.1136/ard.2007.084459","id":"wells-2009","pmid":"18490431","source":"Ann Rheum Dis. 2009;68(6):954-960","title":"Validation of the 28-joint Disease Activity Score (DAS28) and European League Against Rheumatism response criteria based on C-reactive protein against disease progression in patients with rheumatoid arthritis, and comparison with the DAS28 based on erythrocyte sedimentation rate"},"crp_mg_l":1,"das28_crp_band":"remission","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":"das28_crp","formula_expression":"DAS28(CRP) = 0.56*sqrt(tjc28) + 0.28*sqrt(sjc28) + 0.014*gh + 0.36*ln(crp_mg_l+1) + 0.96; Wells 2009; CRP mg/L; GH 0-100 mm VAS; remission DAS28<2.6; not DAS28-ESR; not SDAI; not CDAI; magent does not count joints or assay CRP","gh":0,"score":1.21,"sjc28":0,"tjc28":0}],"path":"/api/calc/das28_crp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crp_mg_l":{"description":"Caller-assigned C-reactive protein in mg/L (Wells 2009; not mg/dL SDAI). Number 0-500 is a magent clamp. magent does not assay CRP.","type":"number"},"gh":{"description":"Caller-assigned general health (patient assessment) on a 0-100 mm VAS (Wells 2009; 0=best, 100=worst). Number 0-100. Not 0-10 cm SDAI PGA. magent does not examine the patient.","type":"number"},"sjc28":{"description":"Caller-assigned swollen joint count on the 28-joint set (Wells 2009 DAS28-CRP). Integer 0-28. magent does not count joints.","type":"integer"},"tjc28":{"description":"Caller-assigned tender joint count on the 28-joint set (Wells 2009 DAS28-CRP). Integer 0-28. magent does not count joints.","type":"integer"}},"required":["tjc28","sjc28","crp_mg_l","gh"],"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},{"id":39483,"slug":"39483","resource":"https://api.magentlab.com/api/calc/das28_esr","description":"Prevoo 1995 DAS28-ESR: 0.56*sqrt(tjc28) + 0.28*sqrt(sjc28) + 0.70*ln(esr_mm_h) + 0.014*gh (0-100 mm VAS, not 0-10 CDAI/SDAI). Caller-assigned 28-joint counts 0-28; ESR strictly >0 (typical 1-150). magent does not count joints or assay ESR. Score only; Prevoo 1995 does not publish later EULAR 2.6/3.2/5.1 cutoffs. Not SDAI, not CDAI, not DAS28-CRP. Not a rheumatoid arthritis diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"esr_mm_h":10,"gh":0,"sjc28":0,"tjc28":0},{"esr_mm_h":10,"gh":0,"sjc28":0,"tjc28":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Prevoo ML, van 't Hof MA, Kuper HH, van Leeuwen MA, van de Putte LB, van Riel PL","doi":"10.1002/art.1780380107","id":"prevoo-1995","pmid":"7818570","source":"Arthritis Rheum. 1995;38(1):44-48","title":"Modified disease activity scores that include twenty-eight-joint counts. Development and validation in a prospective longitudinal study of patients with rheumatoid arthritis"},"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.","esr_mm_h":10,"formula":"das28_esr","formula_expression":"DAS28-ESR = 0.56*sqrt(tjc28) + 0.28*sqrt(sjc28) + 0.70*ln(esr_mm_h) + 0.014*gh; Prevoo 1995; TJC28 and SJC28 integers 0-28; ESR mm/h strictly >0 (typical 1-150, natural log); GH 0-100 mm VAS (not 0-10 CDAI/SDAI); magent does not count joints or assay ESR; no EULAR 2.6/3.2/5.1 cutoffs","gh":0,"score":1.6118,"sjc28":0,"tjc28":0},{"citation":{"authors":"Prevoo ML, van 't Hof MA, Kuper HH, van Leeuwen MA, van de Putte LB, van Riel PL","doi":"10.1002/art.1780380107","id":"prevoo-1995","pmid":"7818570","source":"Arthritis Rheum. 1995;38(1):44-48","title":"Modified disease activity scores that include twenty-eight-joint counts. Development and validation in a prospective longitudinal study of patients with rheumatoid arthritis"},"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.","esr_mm_h":10,"formula":"das28_esr","formula_expression":"DAS28-ESR = 0.56*sqrt(tjc28) + 0.28*sqrt(sjc28) + 0.70*ln(esr_mm_h) + 0.014*gh; Prevoo 1995; TJC28 and SJC28 integers 0-28; ESR mm/h strictly >0 (typical 1-150, natural log); GH 0-100 mm VAS (not 0-10 CDAI/SDAI); magent does not count joints or assay ESR; no EULAR 2.6/3.2/5.1 cutoffs","gh":0,"score":1.6118,"sjc28":0,"tjc28":0}],"path":"/api/calc/das28_esr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"esr_mm_h":{"description":"Caller-assigned erythrocyte sedimentation rate in mm/h. Strictly >0 (typical 1-150 magent clamp). Natural log in the formula. magent does not assay ESR.","type":"number"},"gh":{"description":"Caller-assigned patient general health on a 0-100 mm VAS (Prevoo 1995). Number 0-100. Not 0-10 CDAI/SDAI centimetres. magent does not examine the patient.","type":"number"},"sjc28":{"description":"Caller-assigned swollen joint count on the 28-joint set (Prevoo 1995). Integer 0-28. magent does not count joints.","type":"integer"},"tjc28":{"description":"Caller-assigned tender joint count on the 28-joint set (Prevoo 1995). Integer 0-28. magent does not count joints.","type":"integer"}},"required":["tjc28","sjc28","esr_mm_h","gh"],"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":["das28-esr","rheumatoid-arthritis","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:36:27.965Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:36:27.83Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"esr_mm_h":10,"gh":0,"sjc28":0,"tjc28":0},{"esr_mm_h":10,"gh":0,"sjc28":0,"tjc28":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Prevoo ML, van 't Hof MA, Kuper HH, van Leeuwen MA, van de Putte LB, van Riel PL","doi":"10.1002/art.1780380107","id":"prevoo-1995","pmid":"7818570","source":"Arthritis Rheum. 1995;38(1):44-48","title":"Modified disease activity scores that include twenty-eight-joint counts. Development and validation in a prospective longitudinal study of patients with rheumatoid arthritis"},"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.","esr_mm_h":10,"formula":"das28_esr","formula_expression":"DAS28-ESR = 0.56*sqrt(tjc28) + 0.28*sqrt(sjc28) + 0.70*ln(esr_mm_h) + 0.014*gh; Prevoo 1995; TJC28 and SJC28 integers 0-28; ESR mm/h strictly >0 (typical 1-150, natural log); GH 0-100 mm VAS (not 0-10 CDAI/SDAI); magent does not count joints or assay ESR; no EULAR 2.6/3.2/5.1 cutoffs","gh":0,"score":1.6118,"sjc28":0,"tjc28":0},{"citation":{"authors":"Prevoo ML, van 't Hof MA, Kuper HH, van Leeuwen MA, van de Putte LB, van Riel PL","doi":"10.1002/art.1780380107","id":"prevoo-1995","pmid":"7818570","source":"Arthritis Rheum. 1995;38(1):44-48","title":"Modified disease activity scores that include twenty-eight-joint counts. Development and validation in a prospective longitudinal study of patients with rheumatoid arthritis"},"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.","esr_mm_h":10,"formula":"das28_esr","formula_expression":"DAS28-ESR = 0.56*sqrt(tjc28) + 0.28*sqrt(sjc28) + 0.70*ln(esr_mm_h) + 0.014*gh; Prevoo 1995; TJC28 and SJC28 integers 0-28; ESR mm/h strictly >0 (typical 1-150, natural log); GH 0-100 mm VAS (not 0-10 CDAI/SDAI); magent does not count joints or assay ESR; no EULAR 2.6/3.2/5.1 cutoffs","gh":0,"score":1.6118,"sjc28":0,"tjc28":0}],"path":"/api/calc/das28_esr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"esr_mm_h":{"description":"Caller-assigned erythrocyte sedimentation rate in mm/h. Strictly >0 (typical 1-150 magent clamp). Natural log in the formula. magent does not assay ESR.","type":"number"},"gh":{"description":"Caller-assigned patient general health on a 0-100 mm VAS (Prevoo 1995). Number 0-100. Not 0-10 CDAI/SDAI centimetres. magent does not examine the patient.","type":"number"},"sjc28":{"description":"Caller-assigned swollen joint count on the 28-joint set (Prevoo 1995). Integer 0-28. magent does not count joints.","type":"integer"},"tjc28":{"description":"Caller-assigned tender joint count on the 28-joint set (Prevoo 1995). Integer 0-28. magent does not count joints.","type":"integer"}},"required":["tjc28","sjc28","esr_mm_h","gh"],"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},{"id":39484,"slug":"39484","resource":"https://api.magentlab.com/api/calc/cdai_ra","description":"Aletaha 2005 Clinical Disease Activity Index (CDAI) for rheumatoid arthritis: SJC28 + TJC28 + patient global (0–10 cm) + evaluator global (0–10 cm). No CRP. Half points allowed; the sum is not integer-rounded. magent does not count joints. Arthritis Res Ther 2005 (ar1740) validates the sum and does not publish activity-state cutoffs. Not SDAI. Not Crohn's CDAI. Not a rheumatoid arthritis diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ega":0,"pga":0,"sjc28":0,"tjc28":0},{"ega":0,"pga":0,"sjc28":0,"tjc28":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aletaha D, Nell VPK, Stamm T, et al.","doi":"10.1186/ar1740","id":"aletaha-2005-cdai","pmid":"15987481","source":"Arthritis Res Ther. 2005;7(4):R796-R806","title":"Acute phase reactants add little to composite disease activity indices for rheumatoid arthritis: validation of a clinical activity score"},"components":[{"factor":"sjc28","points":0,"present":true,"value":0},{"factor":"tjc28","points":0,"present":true,"value":0},{"factor":"pga","points":0,"present":true,"value":0},{"factor":"ega","points":0,"present":true,"value":0}],"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.","ega":0,"formula":"cdai_ra","formula_expression":"CDAI = sjc28 + tjc28 + pga + ega; Aletaha 2005 Arthritis Res Ther (ar1740); PGA and EGA in cm on a 0-10 VAS; half points allowed; not integer-rounded; max 76; magent does not count joints; not SDAI; not Crohn's CDAI; no published activity-state cutoffs","max_score":76,"pga":0,"score":0,"sjc28":0,"tjc28":0},{"citation":{"authors":"Aletaha D, Nell VPK, Stamm T, et al.","doi":"10.1186/ar1740","id":"aletaha-2005-cdai","pmid":"15987481","source":"Arthritis Res Ther. 2005;7(4):R796-R806","title":"Acute phase reactants add little to composite disease activity indices for rheumatoid arthritis: validation of a clinical activity score"},"components":[{"factor":"sjc28","points":0,"present":true,"value":0},{"factor":"tjc28","points":0,"present":true,"value":0},{"factor":"pga","points":0,"present":true,"value":0},{"factor":"ega","points":0,"present":true,"value":0}],"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.","ega":0,"formula":"cdai_ra","formula_expression":"CDAI = sjc28 + tjc28 + pga + ega; Aletaha 2005 Arthritis Res Ther (ar1740); PGA and EGA in cm on a 0-10 VAS; half points allowed; not integer-rounded; max 76; magent does not count joints; not SDAI; not Crohn's CDAI; no published activity-state cutoffs","max_score":76,"pga":0,"score":0,"sjc28":0,"tjc28":0}],"path":"/api/calc/cdai_ra"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ega":{"description":"Caller-assigned evaluator global assessment on a 0-10 cm VAS (Aletaha 2005 CDAI). Number 0-10. magent does not examine the patient.","type":"number"},"pga":{"description":"Caller-assigned patient global assessment on a 0-10 cm VAS (Aletaha 2005 CDAI). Number 0-10. magent does not examine the patient.","type":"number"},"sjc28":{"description":"Caller-assigned swollen joint count on the 28-joint set (Aletaha 2005 CDAI). Integer 0-28. magent does not count joints.","type":"integer"},"tjc28":{"description":"Caller-assigned tender joint count on the 28-joint set (Aletaha 2005 CDAI). Integer 0-28. magent does not count joints.","type":"integer"}},"required":["sjc28","tjc28","pga","ega"],"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":["cdai-ra","rheumatoid-arthritis","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:36:21.073Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:36:20.951Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ega":0,"pga":0,"sjc28":0,"tjc28":0},{"ega":0,"pga":0,"sjc28":0,"tjc28":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Aletaha D, Nell VPK, Stamm T, et al.","doi":"10.1186/ar1740","id":"aletaha-2005-cdai","pmid":"15987481","source":"Arthritis Res Ther. 2005;7(4):R796-R806","title":"Acute phase reactants add little to composite disease activity indices for rheumatoid arthritis: validation of a clinical activity score"},"components":[{"factor":"sjc28","points":0,"present":true,"value":0},{"factor":"tjc28","points":0,"present":true,"value":0},{"factor":"pga","points":0,"present":true,"value":0},{"factor":"ega","points":0,"present":true,"value":0}],"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.","ega":0,"formula":"cdai_ra","formula_expression":"CDAI = sjc28 + tjc28 + pga + ega; Aletaha 2005 Arthritis Res Ther (ar1740); PGA and EGA in cm on a 0-10 VAS; half points allowed; not integer-rounded; max 76; magent does not count joints; not SDAI; not Crohn's CDAI; no published activity-state cutoffs","max_score":76,"pga":0,"score":0,"sjc28":0,"tjc28":0},{"citation":{"authors":"Aletaha D, Nell VPK, Stamm T, et al.","doi":"10.1186/ar1740","id":"aletaha-2005-cdai","pmid":"15987481","source":"Arthritis Res Ther. 2005;7(4):R796-R806","title":"Acute phase reactants add little to composite disease activity indices for rheumatoid arthritis: validation of a clinical activity score"},"components":[{"factor":"sjc28","points":0,"present":true,"value":0},{"factor":"tjc28","points":0,"present":true,"value":0},{"factor":"pga","points":0,"present":true,"value":0},{"factor":"ega","points":0,"present":true,"value":0}],"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.","ega":0,"formula":"cdai_ra","formula_expression":"CDAI = sjc28 + tjc28 + pga + ega; Aletaha 2005 Arthritis Res Ther (ar1740); PGA and EGA in cm on a 0-10 VAS; half points allowed; not integer-rounded; max 76; magent does not count joints; not SDAI; not Crohn's CDAI; no published activity-state cutoffs","max_score":76,"pga":0,"score":0,"sjc28":0,"tjc28":0}],"path":"/api/calc/cdai_ra"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ega":{"description":"Caller-assigned evaluator global assessment on a 0-10 cm VAS (Aletaha 2005 CDAI). Number 0-10. magent does not examine the patient.","type":"number"},"pga":{"description":"Caller-assigned patient global assessment on a 0-10 cm VAS (Aletaha 2005 CDAI). Number 0-10. magent does not examine the patient.","type":"number"},"sjc28":{"description":"Caller-assigned swollen joint count on the 28-joint set (Aletaha 2005 CDAI). Integer 0-28. magent does not count joints.","type":"integer"},"tjc28":{"description":"Caller-assigned tender joint count on the 28-joint set (Aletaha 2005 CDAI). Integer 0-28. magent does not count joints.","type":"integer"}},"required":["sjc28","tjc28","pga","ega"],"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},{"id":39485,"slug":"39485","resource":"https://api.magentlab.com/api/calc/asas_peripheral_spa","description":"ASAS 2011 peripheral SpA classification (Rudwaleit set 2D / fig 1 + table 5). Required: current arthritis, enthesitis, or dactylitis. Arm A: ≥1 of psoriasis, IBD, preceding infection, HLA-B27, uveitis, sacroiliitis on imaging. Arm B: ≥2 of arthritis, enthesitis, dactylitis, IBP in the past, family history of SpA. Not a diagnosis. Not ASAS 2009 axial. Not ESSG/Amor. magent does not examine joints or assay HLA-B27.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"arthritis":true,"dactylitis":false,"enthesitis":false,"family_history_spa":false,"hla_b27":false,"ibd":false,"ibp_past":false,"preceding_infection":false,"psoriasis":true,"sacroiliitis_on_imaging":false,"uveitis":false},{"arthritis":true,"dactylitis":false,"enthesitis":false,"family_history_spa":false,"hla_b27":false,"ibd":false,"ibp_past":false,"preceding_infection":false,"psoriasis":true,"sacroiliitis_on_imaging":false,"uveitis":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arm_a":true,"arm_a_count":1,"arm_b":false,"arm_b_count":1,"citation":{"authors":"Rudwaleit M, van der Heijde D, Landewé R, Akkoc N, Brandt J, Chou CT, Dougados M, Huang F, Gu J, Kirazli Y, Van den Bosch F, Olivieri I, Roussou E, Scarpato S, Sørensen IJ, Valle-Oñate R, Weber U, Wei J, Sieper J","doi":"10.1136/ard.2010.133645","id":"rudwaleit-2011","pmid":"21109520","source":"Ann Rheum Dis. 2011;70(1):25-31","title":"The Assessment of SpondyloArthritis international Society classification criteria for peripheral spondyloarthritis and for spondyloarthritis in general"},"classified":true,"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":"asas_peripheral_spa","formula_expression":"ASAS 2011 peripheral SpA classification (Rudwaleit set 2D / fig 1 + table 5): required arthritis or enthesitis or dactylitis (current). arm_a iff ≥1 of psoriasis, ibd, preceding_infection, hla_b27, uveitis, sacroiliitis_on_imaging. arm_b iff ≥2 of arthritis, enthesitis, dactylitis, ibp_past, family_history_spa (same caller flags as entry for arthritis/enthesitis/dactylitis). classified iff entry and (arm_a or arm_b). Not a diagnosis. Not ASAS 2009 axial. Not ESSG/Amor"},{"arm_a":true,"arm_a_count":1,"arm_b":false,"arm_b_count":1,"citation":{"authors":"Rudwaleit M, van der Heijde D, Landewé R, Akkoc N, Brandt J, Chou CT, Dougados M, Huang F, Gu J, Kirazli Y, Van den Bosch F, Olivieri I, Roussou E, Scarpato S, Sørensen IJ, Valle-Oñate R, Weber U, Wei J, Sieper J","doi":"10.1136/ard.2010.133645","id":"rudwaleit-2011","pmid":"21109520","source":"Ann Rheum Dis. 2011;70(1):25-31","title":"The Assessment of SpondyloArthritis international Society classification criteria for peripheral spondyloarthritis and for spondyloarthritis in general"},"classified":true,"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":"asas_peripheral_spa","formula_expression":"ASAS 2011 peripheral SpA classification (Rudwaleit set 2D / fig 1 + table 5): required arthritis or enthesitis or dactylitis (current). arm_a iff ≥1 of psoriasis, ibd, preceding_infection, hla_b27, uveitis, sacroiliitis_on_imaging. arm_b iff ≥2 of arthritis, enthesitis, dactylitis, ibp_past, family_history_spa (same caller flags as entry for arthritis/enthesitis/dactylitis). classified iff entry and (arm_a or arm_b). Not a diagnosis. Not ASAS 2009 axial. Not ESSG/Amor"}],"path":"/api/calc/asas_peripheral_spa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arthritis":{"description":"Current peripheral arthritis (usually asymmetric and/or of lower limbs) as assigned by the caller (Rudwaleit 2011 set 2D entry). Table 5 additional feature is past or present synovitis diagnosed by a physician; the same caller flag counts toward arm B. true or false. magent does not examine joints.","type":"boolean"},"dactylitis":{"description":"Current dactylitis as assigned by the caller (Rudwaleit 2011 set 2D entry). Table 5 additional feature is past or present dactylitis diagnosed by a physician; the same caller flag counts toward arm B. true or false. magent does not examine digits.","type":"boolean"},"enthesitis":{"description":"Current enthesitis as assigned by the caller (Rudwaleit 2011 set 2D entry). Table 5 additional feature is past or present spontaneous pain or tenderness at an enthesis; the same caller flag counts toward arm B. true or false. magent does not examine entheses.","type":"boolean"},"family_history_spa":{"description":"Family history of SpA as assigned by the caller (Rudwaleit 2011 arm B): first-degree or second-degree relatives with ankylosing spondylitis, psoriasis, acute uveitis, reactive arthritis, or IBD. true or false. magent does not take a pedigree.","type":"boolean"},"hla_b27":{"description":"HLA-B27 positive as assigned by the caller (Rudwaleit 2011 arm A). true or false. magent does not assay HLA-B27.","type":"boolean"},"ibd":{"description":"Past or present Crohn's disease or ulcerative colitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2011 arm A). true or false. magent does not diagnose IBD.","type":"boolean"},"ibp_past":{"description":"Inflammatory back pain in the past according to experts, as assigned by the caller (Rudwaleit 2011 arm B). true or false. magent does not take a history.","type":"boolean"},"preceding_infection":{"description":"Urethritis/cervicitis or diarrhoea within 1 month before arthritis, enthesitis, or dactylitis, as assigned by the caller (Rudwaleit 2011 arm A). true or false. magent does not take a history.","type":"boolean"},"psoriasis":{"description":"Past or present psoriasis diagnosed by a physician, as assigned by the caller (Rudwaleit 2011 arm A). true or false. magent does not examine skin.","type":"boolean"},"sacroiliitis_on_imaging":{"description":"Sacroiliitis on imaging as assigned by the caller (Rudwaleit 2011 arm A): definite radiographic sacroiliitis (bilateral grade 2–4 or unilateral grade 3–4) or active inflammation on MRI highly suggestive of SpA-associated sacroiliitis. true or false. magent does not read films.","type":"boolean"},"uveitis":{"description":"Past or present uveitis confirmed by an ophthalmologist, as assigned by the caller (Rudwaleit 2011 arm A). true or false. magent does not examine the eye.","type":"boolean"}},"required":["arthritis","enthesitis","dactylitis","psoriasis","ibd","preceding_infection","hla_b27","uveitis","sacroiliitis_on_imaging","ibp_past","family_history_spa"],"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":["asas","peripheral-spa","spondyloarthritis","classification","emergency","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:35:45.885Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:35:45.716Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"arthritis":true,"dactylitis":false,"enthesitis":false,"family_history_spa":false,"hla_b27":false,"ibd":false,"ibp_past":false,"preceding_infection":false,"psoriasis":true,"sacroiliitis_on_imaging":false,"uveitis":false},{"arthritis":true,"dactylitis":false,"enthesitis":false,"family_history_spa":false,"hla_b27":false,"ibd":false,"ibp_past":false,"preceding_infection":false,"psoriasis":true,"sacroiliitis_on_imaging":false,"uveitis":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"arm_a":true,"arm_a_count":1,"arm_b":false,"arm_b_count":1,"citation":{"authors":"Rudwaleit M, van der Heijde D, Landewé R, Akkoc N, Brandt J, Chou CT, Dougados M, Huang F, Gu J, Kirazli Y, Van den Bosch F, Olivieri I, Roussou E, Scarpato S, Sørensen IJ, Valle-Oñate R, Weber U, Wei J, Sieper J","doi":"10.1136/ard.2010.133645","id":"rudwaleit-2011","pmid":"21109520","source":"Ann Rheum Dis. 2011;70(1):25-31","title":"The Assessment of SpondyloArthritis international Society classification criteria for peripheral spondyloarthritis and for spondyloarthritis in general"},"classified":true,"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":"asas_peripheral_spa","formula_expression":"ASAS 2011 peripheral SpA classification (Rudwaleit set 2D / fig 1 + table 5): required arthritis or enthesitis or dactylitis (current). arm_a iff ≥1 of psoriasis, ibd, preceding_infection, hla_b27, uveitis, sacroiliitis_on_imaging. arm_b iff ≥2 of arthritis, enthesitis, dactylitis, ibp_past, family_history_spa (same caller flags as entry for arthritis/enthesitis/dactylitis). classified iff entry and (arm_a or arm_b). Not a diagnosis. Not ASAS 2009 axial. Not ESSG/Amor"},{"arm_a":true,"arm_a_count":1,"arm_b":false,"arm_b_count":1,"citation":{"authors":"Rudwaleit M, van der Heijde D, Landewé R, Akkoc N, Brandt J, Chou CT, Dougados M, Huang F, Gu J, Kirazli Y, Van den Bosch F, Olivieri I, Roussou E, Scarpato S, Sørensen IJ, Valle-Oñate R, Weber U, Wei J, Sieper J","doi":"10.1136/ard.2010.133645","id":"rudwaleit-2011","pmid":"21109520","source":"Ann Rheum Dis. 2011;70(1):25-31","title":"The Assessment of SpondyloArthritis international Society classification criteria for peripheral spondyloarthritis and for spondyloarthritis in general"},"classified":true,"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":"asas_peripheral_spa","formula_expression":"ASAS 2011 peripheral SpA classification (Rudwaleit set 2D / fig 1 + table 5): required arthritis or enthesitis or dactylitis (current). arm_a iff ≥1 of psoriasis, ibd, preceding_infection, hla_b27, uveitis, sacroiliitis_on_imaging. arm_b iff ≥2 of arthritis, enthesitis, dactylitis, ibp_past, family_history_spa (same caller flags as entry for arthritis/enthesitis/dactylitis). classified iff entry and (arm_a or arm_b). Not a diagnosis. Not ASAS 2009 axial. Not ESSG/Amor"}],"path":"/api/calc/asas_peripheral_spa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"arthritis":{"description":"Current peripheral arthritis (usually asymmetric and/or of lower limbs) as assigned by the caller (Rudwaleit 2011 set 2D entry). Table 5 additional feature is past or present synovitis diagnosed by a physician; the same caller flag counts toward arm B. true or false. magent does not examine joints.","type":"boolean"},"dactylitis":{"description":"Current dactylitis as assigned by the caller (Rudwaleit 2011 set 2D entry). Table 5 additional feature is past or present dactylitis diagnosed by a physician; the same caller flag counts toward arm B. true or false. magent does not examine digits.","type":"boolean"},"enthesitis":{"description":"Current enthesitis as assigned by the caller (Rudwaleit 2011 set 2D entry). Table 5 additional feature is past or present spontaneous pain or tenderness at an enthesis; the same caller flag counts toward arm B. true or false. magent does not examine entheses.","type":"boolean"},"family_history_spa":{"description":"Family history of SpA as assigned by the caller (Rudwaleit 2011 arm B): first-degree or second-degree relatives with ankylosing spondylitis, psoriasis, acute uveitis, reactive arthritis, or IBD. true or false. magent does not take a pedigree.","type":"boolean"},"hla_b27":{"description":"HLA-B27 positive as assigned by the caller (Rudwaleit 2011 arm A). true or false. magent does not assay HLA-B27.","type":"boolean"},"ibd":{"description":"Past or present Crohn's disease or ulcerative colitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2011 arm A). true or false. magent does not diagnose IBD.","type":"boolean"},"ibp_past":{"description":"Inflammatory back pain in the past according to experts, as assigned by the caller (Rudwaleit 2011 arm B). true or false. magent does not take a history.","type":"boolean"},"preceding_infection":{"description":"Urethritis/cervicitis or diarrhoea within 1 month before arthritis, enthesitis, or dactylitis, as assigned by the caller (Rudwaleit 2011 arm A). true or false. magent does not take a history.","type":"boolean"},"psoriasis":{"description":"Past or present psoriasis diagnosed by a physician, as assigned by the caller (Rudwaleit 2011 arm A). true or false. magent does not examine skin.","type":"boolean"},"sacroiliitis_on_imaging":{"description":"Sacroiliitis on imaging as assigned by the caller (Rudwaleit 2011 arm A): definite radiographic sacroiliitis (bilateral grade 2–4 or unilateral grade 3–4) or active inflammation on MRI highly suggestive of SpA-associated sacroiliitis. true or false. magent does not read films.","type":"boolean"},"uveitis":{"description":"Past or present uveitis confirmed by an ophthalmologist, as assigned by the caller (Rudwaleit 2011 arm A). true or false. magent does not examine the eye.","type":"boolean"}},"required":["arthritis","enthesitis","dactylitis","psoriasis","ibd","preceding_infection","hla_b27","uveitis","sacroiliitis_on_imaging","ibp_past","family_history_spa"],"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},{"id":39486,"slug":"39486","resource":"https://api.magentlab.com/api/calc/asdas_esr","description":"Lukas 2009 ASDAS-ESR: 0.08*back pain + 0.07*morning stiffness duration + 0.11*patient global + 0.09*peripheral pain/swelling + 0.29*sqrt(ESR). BASDAI 0-10 items and ESR in mm/h. magent does not examine the patient or assay ESR. Not ASDAS-CRP. Not BASDAI total. Does not apply Machado 2011 1.3/2.1/3.5 activity cuts. Not a diagnosis or biologic order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"back_pain":0,"esr_mm_h":0,"morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0},{"back_pain":0,"esr_mm_h":0,"morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"back_pain":0,"citation":{"authors":"Lukas C, Landewé R, Sieper J, Dougados M, Davis J, Braun J, van der Linden S, van der Heijde D","doi":"10.1136/ard.2008.094870","id":"lukas-2009","pmid":"18625618","source":"Ann Rheum Dis. 2009;68(1):18-24","title":"Development of an ASAS-endorsed disease activity score (ASDAS) in patients with ankylosing spondylitis"},"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.","esr_mm_h":0,"formula":"asdas_esr","formula_expression":"ASDAS-ESR = 0.08*back_pain + 0.07*morning_stiffness_duration + 0.11*patient_global + 0.09*peripheral_pain_swelling + 0.29*sqrt(esr_mm_h); Lukas 2009 development formula; BASDAI 0-10 items (Q2 back pain, Q6 stiffness duration, Q3 peripheral pain/swelling) and patient global 0-10; ESR mm/h; not ASDAS-CRP; not BASDAI total; no Machado 2011 1.3/2.1/3.5 cuts; magent does not examine the patient or assay ESR","morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0,"score":0},{"back_pain":0,"citation":{"authors":"Lukas C, Landewé R, Sieper J, Dougados M, Davis J, Braun J, van der Linden S, van der Heijde D","doi":"10.1136/ard.2008.094870","id":"lukas-2009","pmid":"18625618","source":"Ann Rheum Dis. 2009;68(1):18-24","title":"Development of an ASAS-endorsed disease activity score (ASDAS) in patients with ankylosing spondylitis"},"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.","esr_mm_h":0,"formula":"asdas_esr","formula_expression":"ASDAS-ESR = 0.08*back_pain + 0.07*morning_stiffness_duration + 0.11*patient_global + 0.09*peripheral_pain_swelling + 0.29*sqrt(esr_mm_h); Lukas 2009 development formula; BASDAI 0-10 items (Q2 back pain, Q6 stiffness duration, Q3 peripheral pain/swelling) and patient global 0-10; ESR mm/h; not ASDAS-CRP; not BASDAI total; no Machado 2011 1.3/2.1/3.5 cuts; magent does not examine the patient or assay ESR","morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0,"score":0}],"path":"/api/calc/asdas_esr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"back_pain":{"description":"Caller-assigned total back pain on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 2, neck/back/hip pain). Number 0-10. magent does not examine the patient.","type":"number"},"esr_mm_h":{"description":"Caller-assigned erythrocyte sedimentation rate in mm/h (Lukas 2009). Number 0-150 is a magent clamp. magent does not assay ESR.","type":"number"},"morning_stiffness_duration":{"description":"Caller-assigned duration of morning stiffness on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 6). Number 0-10, not hours. magent does not examine the patient.","type":"number"},"patient_global":{"description":"Caller-assigned patient global assessment of disease activity on a 0-10 VAS or NRS (Lukas 2009). Number 0-10. magent does not examine the patient.","type":"number"},"peripheral_pain_swelling":{"description":"Caller-assigned peripheral pain/swelling on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 3, joints other than neck/back/hips). Number 0-10. magent does not examine the patient.","type":"number"}},"required":["back_pain","morning_stiffness_duration","patient_global","peripheral_pain_swelling","esr_mm_h"],"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":["asdas-esr","spondyloarthritis","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:35:38.601Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:35:38.458Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"back_pain":0,"esr_mm_h":0,"morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0},{"back_pain":0,"esr_mm_h":0,"morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"back_pain":0,"citation":{"authors":"Lukas C, Landewé R, Sieper J, Dougados M, Davis J, Braun J, van der Linden S, van der Heijde D","doi":"10.1136/ard.2008.094870","id":"lukas-2009","pmid":"18625618","source":"Ann Rheum Dis. 2009;68(1):18-24","title":"Development of an ASAS-endorsed disease activity score (ASDAS) in patients with ankylosing spondylitis"},"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.","esr_mm_h":0,"formula":"asdas_esr","formula_expression":"ASDAS-ESR = 0.08*back_pain + 0.07*morning_stiffness_duration + 0.11*patient_global + 0.09*peripheral_pain_swelling + 0.29*sqrt(esr_mm_h); Lukas 2009 development formula; BASDAI 0-10 items (Q2 back pain, Q6 stiffness duration, Q3 peripheral pain/swelling) and patient global 0-10; ESR mm/h; not ASDAS-CRP; not BASDAI total; no Machado 2011 1.3/2.1/3.5 cuts; magent does not examine the patient or assay ESR","morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0,"score":0},{"back_pain":0,"citation":{"authors":"Lukas C, Landewé R, Sieper J, Dougados M, Davis J, Braun J, van der Linden S, van der Heijde D","doi":"10.1136/ard.2008.094870","id":"lukas-2009","pmid":"18625618","source":"Ann Rheum Dis. 2009;68(1):18-24","title":"Development of an ASAS-endorsed disease activity score (ASDAS) in patients with ankylosing spondylitis"},"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.","esr_mm_h":0,"formula":"asdas_esr","formula_expression":"ASDAS-ESR = 0.08*back_pain + 0.07*morning_stiffness_duration + 0.11*patient_global + 0.09*peripheral_pain_swelling + 0.29*sqrt(esr_mm_h); Lukas 2009 development formula; BASDAI 0-10 items (Q2 back pain, Q6 stiffness duration, Q3 peripheral pain/swelling) and patient global 0-10; ESR mm/h; not ASDAS-CRP; not BASDAI total; no Machado 2011 1.3/2.1/3.5 cuts; magent does not examine the patient or assay ESR","morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0,"score":0}],"path":"/api/calc/asdas_esr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"back_pain":{"description":"Caller-assigned total back pain on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 2, neck/back/hip pain). Number 0-10. magent does not examine the patient.","type":"number"},"esr_mm_h":{"description":"Caller-assigned erythrocyte sedimentation rate in mm/h (Lukas 2009). Number 0-150 is a magent clamp. magent does not assay ESR.","type":"number"},"morning_stiffness_duration":{"description":"Caller-assigned duration of morning stiffness on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 6). Number 0-10, not hours. magent does not examine the patient.","type":"number"},"patient_global":{"description":"Caller-assigned patient global assessment of disease activity on a 0-10 VAS or NRS (Lukas 2009). Number 0-10. magent does not examine the patient.","type":"number"},"peripheral_pain_swelling":{"description":"Caller-assigned peripheral pain/swelling on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 3, joints other than neck/back/hips). Number 0-10. magent does not examine the patient.","type":"number"}},"required":["back_pain","morning_stiffness_duration","patient_global","peripheral_pain_swelling","esr_mm_h"],"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},{"id":39487,"slug":"39487","resource":"https://api.magentlab.com/api/calc/asdas_crp","description":"van der Heijde 2009 ASDAS-CRP: 0.12*back pain + 0.06*morning stiffness duration + 0.11*patient global + 0.07*peripheral pain/swelling + 0.58*ln(CRP+1). BASDAI 0-10 items and CRP in mg/L. ASAS selected the CRP version as preferred. magent does not examine the patient or assay CRP. Not ASDAS-ESR. Not BASDAI total. Does not apply Machado 2011 1.3/2.1/3.5 activity cuts. Not a diagnosis or biologic order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"back_pain":0,"crp_mg_l":0,"morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0},{"back_pain":0,"crp_mg_l":0,"morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"back_pain":0,"citation":{"authors":"van der Heijde D, Lie E, Kvien TK, Sieper J, Van den Bosch F, Listing J, Braun J, Landewé R; ASAS","doi":"10.1136/ard.2008.100826","id":"van-der-heijde-2009","pmid":"19060001","source":"Ann Rheum Dis. 2009;68(12):1811-1818","title":"ASDAS, a highly discriminatory ASAS-endorsed disease activity score in patients with ankylosing spondylitis"},"crp_mg_l":0,"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":"asdas_crp","formula_expression":"ASDAS-CRP = 0.12*back_pain + 0.06*morning_stiffness_duration + 0.11*patient_global + 0.07*peripheral_pain_swelling + 0.58*ln(crp_mg_l+1); van der Heijde 2009 preferred CRP formula; BASDAI 0-10 items (Q2 back pain, Q6 stiffness duration, Q3 peripheral pain/swelling) and patient global 0-10; CRP mg/L; not ASDAS-ESR; not BASDAI total; no Machado 2011 1.3/2.1/3.5 cuts; magent does not examine the patient or assay CRP","morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0,"score":0},{"back_pain":0,"citation":{"authors":"van der Heijde D, Lie E, Kvien TK, Sieper J, Van den Bosch F, Listing J, Braun J, Landewé R; ASAS","doi":"10.1136/ard.2008.100826","id":"van-der-heijde-2009","pmid":"19060001","source":"Ann Rheum Dis. 2009;68(12):1811-1818","title":"ASDAS, a highly discriminatory ASAS-endorsed disease activity score in patients with ankylosing spondylitis"},"crp_mg_l":0,"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":"asdas_crp","formula_expression":"ASDAS-CRP = 0.12*back_pain + 0.06*morning_stiffness_duration + 0.11*patient_global + 0.07*peripheral_pain_swelling + 0.58*ln(crp_mg_l+1); van der Heijde 2009 preferred CRP formula; BASDAI 0-10 items (Q2 back pain, Q6 stiffness duration, Q3 peripheral pain/swelling) and patient global 0-10; CRP mg/L; not ASDAS-ESR; not BASDAI total; no Machado 2011 1.3/2.1/3.5 cuts; magent does not examine the patient or assay CRP","morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0,"score":0}],"path":"/api/calc/asdas_crp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"back_pain":{"description":"Caller-assigned total back pain on a 0-10 VAS or NRS (van der Heijde 2009; BASDAI question 2, neck/back/hip pain). Number 0-10. magent does not examine the patient.","type":"number"},"crp_mg_l":{"description":"Caller-assigned C-reactive protein in mg/L (van der Heijde 2009; not mg/dL). Number 0-500 is a magent clamp. The 2009 papers do not floor CRP at 2 mg/L. magent does not assay CRP.","type":"number"},"morning_stiffness_duration":{"description":"Caller-assigned duration of morning stiffness on a 0-10 VAS or NRS (van der Heijde 2009; BASDAI question 6). Number 0-10, not hours. magent does not examine the patient.","type":"number"},"patient_global":{"description":"Caller-assigned patient global assessment of disease activity on a 0-10 VAS or NRS (van der Heijde 2009). Number 0-10. magent does not examine the patient.","type":"number"},"peripheral_pain_swelling":{"description":"Caller-assigned peripheral pain/swelling on a 0-10 VAS or NRS (van der Heijde 2009; BASDAI question 3, joints other than neck/back/hips). Number 0-10. magent does not examine the patient.","type":"number"}},"required":["back_pain","morning_stiffness_duration","patient_global","peripheral_pain_swelling","crp_mg_l"],"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":["asdas-crp","spondyloarthritis","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:35:32.464Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:35:32.312Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"back_pain":0,"crp_mg_l":0,"morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0},{"back_pain":0,"crp_mg_l":0,"morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"back_pain":0,"citation":{"authors":"van der Heijde D, Lie E, Kvien TK, Sieper J, Van den Bosch F, Listing J, Braun J, Landewé R; ASAS","doi":"10.1136/ard.2008.100826","id":"van-der-heijde-2009","pmid":"19060001","source":"Ann Rheum Dis. 2009;68(12):1811-1818","title":"ASDAS, a highly discriminatory ASAS-endorsed disease activity score in patients with ankylosing spondylitis"},"crp_mg_l":0,"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":"asdas_crp","formula_expression":"ASDAS-CRP = 0.12*back_pain + 0.06*morning_stiffness_duration + 0.11*patient_global + 0.07*peripheral_pain_swelling + 0.58*ln(crp_mg_l+1); van der Heijde 2009 preferred CRP formula; BASDAI 0-10 items (Q2 back pain, Q6 stiffness duration, Q3 peripheral pain/swelling) and patient global 0-10; CRP mg/L; not ASDAS-ESR; not BASDAI total; no Machado 2011 1.3/2.1/3.5 cuts; magent does not examine the patient or assay CRP","morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0,"score":0},{"back_pain":0,"citation":{"authors":"van der Heijde D, Lie E, Kvien TK, Sieper J, Van den Bosch F, Listing J, Braun J, Landewé R; ASAS","doi":"10.1136/ard.2008.100826","id":"van-der-heijde-2009","pmid":"19060001","source":"Ann Rheum Dis. 2009;68(12):1811-1818","title":"ASDAS, a highly discriminatory ASAS-endorsed disease activity score in patients with ankylosing spondylitis"},"crp_mg_l":0,"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":"asdas_crp","formula_expression":"ASDAS-CRP = 0.12*back_pain + 0.06*morning_stiffness_duration + 0.11*patient_global + 0.07*peripheral_pain_swelling + 0.58*ln(crp_mg_l+1); van der Heijde 2009 preferred CRP formula; BASDAI 0-10 items (Q2 back pain, Q6 stiffness duration, Q3 peripheral pain/swelling) and patient global 0-10; CRP mg/L; not ASDAS-ESR; not BASDAI total; no Machado 2011 1.3/2.1/3.5 cuts; magent does not examine the patient or assay CRP","morning_stiffness_duration":0,"patient_global":0,"peripheral_pain_swelling":0,"score":0}],"path":"/api/calc/asdas_crp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"back_pain":{"description":"Caller-assigned total back pain on a 0-10 VAS or NRS (van der Heijde 2009; BASDAI question 2, neck/back/hip pain). Number 0-10. magent does not examine the patient.","type":"number"},"crp_mg_l":{"description":"Caller-assigned C-reactive protein in mg/L (van der Heijde 2009; not mg/dL). Number 0-500 is a magent clamp. The 2009 papers do not floor CRP at 2 mg/L. magent does not assay CRP.","type":"number"},"morning_stiffness_duration":{"description":"Caller-assigned duration of morning stiffness on a 0-10 VAS or NRS (van der Heijde 2009; BASDAI question 6). Number 0-10, not hours. magent does not examine the patient.","type":"number"},"patient_global":{"description":"Caller-assigned patient global assessment of disease activity on a 0-10 VAS or NRS (van der Heijde 2009). Number 0-10. magent does not examine the patient.","type":"number"},"peripheral_pain_swelling":{"description":"Caller-assigned peripheral pain/swelling on a 0-10 VAS or NRS (van der Heijde 2009; BASDAI question 3, joints other than neck/back/hips). Number 0-10. magent does not examine the patient.","type":"number"}},"required":["back_pain","morning_stiffness_duration","patient_global","peripheral_pain_swelling","crp_mg_l"],"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},{"id":39488,"slug":"39488","resource":"https://api.magentlab.com/api/calc/asas_axial_spa","description":"ASAS 2009 axial SpA classification (Rudwaleit set 3a / fig 2). Required: chronic back pain ≥3 months and age at onset <45. Imaging arm: MRI or modified New York sacroiliitis plus ≥1 of 11 SpA features. Clinical arm: HLA-B27 plus ≥2 other features (HLA-B27 does not count toward those two). Not a diagnosis. Not peripheral ASAS 2011. Not modified New York AS-only. magent does not read films or assay HLA-B27.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_at_onset_years":28,"arthritis":false,"chronic_back_pain_ge_3_months":true,"dactylitis":false,"elevated_crp":false,"enthesitis_heel":false,"family_history_spa":false,"hla_b27":false,"ibd":false,"inflammatory_back_pain":true,"mri_sacroiliitis":true,"nsaid_good_response":false,"psoriasis":false,"radiographic_sacroiliitis":false,"uveitis":false},{"age_at_onset_years":28,"arthritis":false,"chronic_back_pain_ge_3_months":true,"dactylitis":false,"elevated_crp":false,"enthesitis_heel":false,"family_history_spa":false,"hla_b27":false,"ibd":false,"inflammatory_back_pain":true,"mri_sacroiliitis":true,"nsaid_good_response":false,"psoriasis":false,"radiographic_sacroiliitis":false,"uveitis":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rudwaleit M, van der Heijde D, Landewé R, Listing J, Akkoc N, Brandt J, Braun J, Chou CT, Collantes-Estevez E, Dougados M, Huang F, Gu J, Khan MA, Kirazli Y, Maksymowych WP, Mielants H, Sørensen IJ, Ozgocmen S, Roussou E, Valle-Oñate R, Weber U, Wei J, Sieper J","doi":"10.1136/ard.2009.108233","id":"rudwaleit-2009","pmid":"19297345","source":"Ann Rheum Dis. 2009;68(6):777-783","title":"The development of Assessment of SpondyloArthritis international Society classification criteria for axial spondyloarthritis (part II): validation and final selection"},"classified":true,"clinical_arm":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":"asas_axial_spa","formula_expression":"ASAS 2009 axial SpA classification (Rudwaleit set 3a / fig 2 + table 5): required chronic_back_pain_ge_3_months true and age_at_onset_years 1–44 (age at onset <45). sacroiliitis_on_imaging = mri_sacroiliitis or radiographic_sacroiliitis. spa_feature_count = count of 11 SpA features (inflammatory_back_pain, arthritis, enthesitis_heel, uveitis, dactylitis, psoriasis, ibd, nsaid_good_response, family_history_spa, hla_b27, elevated_crp). other_spa_feature_count = spa_feature_count minus 1 if hla_b27 else spa_feature_count. imaging_arm iff sacroiliitis_on_imaging and spa_feature_count ≥1. clinical_arm iff hla_b27 and other_spa_feature_count ≥2. classified iff imaging_arm or clinical_arm. Not a diagnosis. Not peripheral ASAS 2011. Not modified New York AS-only","imaging_arm":true,"other_spa_feature_count":1,"sacroiliitis_on_imaging":true,"spa_feature_count":1},{"citation":{"authors":"Rudwaleit M, van der Heijde D, Landewé R, Listing J, Akkoc N, Brandt J, Braun J, Chou CT, Collantes-Estevez E, Dougados M, Huang F, Gu J, Khan MA, Kirazli Y, Maksymowych WP, Mielants H, Sørensen IJ, Ozgocmen S, Roussou E, Valle-Oñate R, Weber U, Wei J, Sieper J","doi":"10.1136/ard.2009.108233","id":"rudwaleit-2009","pmid":"19297345","source":"Ann Rheum Dis. 2009;68(6):777-783","title":"The development of Assessment of SpondyloArthritis international Society classification criteria for axial spondyloarthritis (part II): validation and final selection"},"classified":true,"clinical_arm":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":"asas_axial_spa","formula_expression":"ASAS 2009 axial SpA classification (Rudwaleit set 3a / fig 2 + table 5): required chronic_back_pain_ge_3_months true and age_at_onset_years 1–44 (age at onset <45). sacroiliitis_on_imaging = mri_sacroiliitis or radiographic_sacroiliitis. spa_feature_count = count of 11 SpA features (inflammatory_back_pain, arthritis, enthesitis_heel, uveitis, dactylitis, psoriasis, ibd, nsaid_good_response, family_history_spa, hla_b27, elevated_crp). other_spa_feature_count = spa_feature_count minus 1 if hla_b27 else spa_feature_count. imaging_arm iff sacroiliitis_on_imaging and spa_feature_count ≥1. clinical_arm iff hla_b27 and other_spa_feature_count ≥2. classified iff imaging_arm or clinical_arm. Not a diagnosis. Not peripheral ASAS 2011. Not modified New York AS-only","imaging_arm":true,"other_spa_feature_count":1,"sacroiliitis_on_imaging":true,"spa_feature_count":1}],"path":"/api/calc/asas_axial_spa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_at_onset_years":{"description":"Age at onset of back pain in years, integer 1–44 (Rudwaleit 2009 entry: age at onset <45). 0 and ≥45 are invalid and are not classified. magent does not date the patient.","type":"integer"},"arthritis":{"description":"Past or present synovitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine joints.","type":"boolean"},"chronic_back_pain_ge_3_months":{"description":"Must be true. Rudwaleit 2009 entry: chronic back pain ≥3 months. false is invalid and is not returned as classified=false. magent does not take a history.","type":"boolean"},"dactylitis":{"description":"Past or present dactylitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine digits.","type":"boolean"},"elevated_crp":{"description":"CRP above the upper limit of normal in the presence of back pain after exclusion of other causes, as assigned by the caller (Rudwaleit 2009). true or false. magent does not assay CRP.","type":"boolean"},"enthesitis_heel":{"description":"Past or present spontaneous pain or tenderness at the insertion of the Achilles tendon or plantar fascia at the calcaneus, as assigned by the caller (Rudwaleit 2009). Heel enthesitis only. true or false. magent does not examine entheses.","type":"boolean"},"family_history_spa":{"description":"Family history of SpA as assigned by the caller (Rudwaleit 2009): first-degree or second-degree relatives with ankylosing spondylitis, psoriasis, acute uveitis, reactive arthritis, or IBD. true or false. magent does not take a pedigree.","type":"boolean"},"hla_b27":{"description":"HLA-B27 positive as assigned by the caller (Rudwaleit 2009). Obligatory for the clinical arm; does not count toward the two other SpA features. Counts toward spa_feature_count and the imaging arm. true or false. magent does not assay HLA-B27.","type":"boolean"},"ibd":{"description":"Past or present Crohn's disease or ulcerative colitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not diagnose IBD.","type":"boolean"},"inflammatory_back_pain":{"description":"Inflammatory back pain as assigned by the caller (Rudwaleit 2009 fig 2 / table 5). true or false. magent does not take a history or apply a nested IBP questionnaire.","type":"boolean"},"mri_sacroiliitis":{"description":"Active (acute) inflammation on MRI highly suggestive of SpA-associated sacroiliitis, as assigned by the caller (Rudwaleit 2009). Combined with radiographic_sacroiliitis by OR for sacroiliitis_on_imaging. true or false. magent does not read MRI.","type":"boolean"},"nsaid_good_response":{"description":"Good response to NSAIDs as assigned by the caller (Rudwaleit 2009): 24–48 h after a full dose of NSAID the back pain is not present anymore or is much better. true or false. magent does not prescribe NSAIDs.","type":"boolean"},"psoriasis":{"description":"Past or present psoriasis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine skin.","type":"boolean"},"radiographic_sacroiliitis":{"description":"Definite radiographic sacroiliitis according to modified New York criteria (bilateral grade ≥2 or unilateral grade 3–4), as assigned by the caller (Rudwaleit 2009). true or false. magent does not read radiographs.","type":"boolean"},"uveitis":{"description":"Past or present uveitis confirmed by an ophthalmologist, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine the eye.","type":"boolean"}},"required":["chronic_back_pain_ge_3_months","age_at_onset_years","mri_sacroiliitis","radiographic_sacroiliitis","inflammatory_back_pain","arthritis","enthesitis_heel","uveitis","dactylitis","psoriasis","ibd","nsaid_good_response","family_history_spa","hla_b27","elevated_crp"],"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":["asas","axial-spa","spondyloarthritis","classification","emergency","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:35:26.443Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:35:26.294Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_at_onset_years":28,"arthritis":false,"chronic_back_pain_ge_3_months":true,"dactylitis":false,"elevated_crp":false,"enthesitis_heel":false,"family_history_spa":false,"hla_b27":false,"ibd":false,"inflammatory_back_pain":true,"mri_sacroiliitis":true,"nsaid_good_response":false,"psoriasis":false,"radiographic_sacroiliitis":false,"uveitis":false},{"age_at_onset_years":28,"arthritis":false,"chronic_back_pain_ge_3_months":true,"dactylitis":false,"elevated_crp":false,"enthesitis_heel":false,"family_history_spa":false,"hla_b27":false,"ibd":false,"inflammatory_back_pain":true,"mri_sacroiliitis":true,"nsaid_good_response":false,"psoriasis":false,"radiographic_sacroiliitis":false,"uveitis":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Rudwaleit M, van der Heijde D, Landewé R, Listing J, Akkoc N, Brandt J, Braun J, Chou CT, Collantes-Estevez E, Dougados M, Huang F, Gu J, Khan MA, Kirazli Y, Maksymowych WP, Mielants H, Sørensen IJ, Ozgocmen S, Roussou E, Valle-Oñate R, Weber U, Wei J, Sieper J","doi":"10.1136/ard.2009.108233","id":"rudwaleit-2009","pmid":"19297345","source":"Ann Rheum Dis. 2009;68(6):777-783","title":"The development of Assessment of SpondyloArthritis international Society classification criteria for axial spondyloarthritis (part II): validation and final selection"},"classified":true,"clinical_arm":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":"asas_axial_spa","formula_expression":"ASAS 2009 axial SpA classification (Rudwaleit set 3a / fig 2 + table 5): required chronic_back_pain_ge_3_months true and age_at_onset_years 1–44 (age at onset <45). sacroiliitis_on_imaging = mri_sacroiliitis or radiographic_sacroiliitis. spa_feature_count = count of 11 SpA features (inflammatory_back_pain, arthritis, enthesitis_heel, uveitis, dactylitis, psoriasis, ibd, nsaid_good_response, family_history_spa, hla_b27, elevated_crp). other_spa_feature_count = spa_feature_count minus 1 if hla_b27 else spa_feature_count. imaging_arm iff sacroiliitis_on_imaging and spa_feature_count ≥1. clinical_arm iff hla_b27 and other_spa_feature_count ≥2. classified iff imaging_arm or clinical_arm. Not a diagnosis. Not peripheral ASAS 2011. Not modified New York AS-only","imaging_arm":true,"other_spa_feature_count":1,"sacroiliitis_on_imaging":true,"spa_feature_count":1},{"citation":{"authors":"Rudwaleit M, van der Heijde D, Landewé R, Listing J, Akkoc N, Brandt J, Braun J, Chou CT, Collantes-Estevez E, Dougados M, Huang F, Gu J, Khan MA, Kirazli Y, Maksymowych WP, Mielants H, Sørensen IJ, Ozgocmen S, Roussou E, Valle-Oñate R, Weber U, Wei J, Sieper J","doi":"10.1136/ard.2009.108233","id":"rudwaleit-2009","pmid":"19297345","source":"Ann Rheum Dis. 2009;68(6):777-783","title":"The development of Assessment of SpondyloArthritis international Society classification criteria for axial spondyloarthritis (part II): validation and final selection"},"classified":true,"clinical_arm":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":"asas_axial_spa","formula_expression":"ASAS 2009 axial SpA classification (Rudwaleit set 3a / fig 2 + table 5): required chronic_back_pain_ge_3_months true and age_at_onset_years 1–44 (age at onset <45). sacroiliitis_on_imaging = mri_sacroiliitis or radiographic_sacroiliitis. spa_feature_count = count of 11 SpA features (inflammatory_back_pain, arthritis, enthesitis_heel, uveitis, dactylitis, psoriasis, ibd, nsaid_good_response, family_history_spa, hla_b27, elevated_crp). other_spa_feature_count = spa_feature_count minus 1 if hla_b27 else spa_feature_count. imaging_arm iff sacroiliitis_on_imaging and spa_feature_count ≥1. clinical_arm iff hla_b27 and other_spa_feature_count ≥2. classified iff imaging_arm or clinical_arm. Not a diagnosis. Not peripheral ASAS 2011. Not modified New York AS-only","imaging_arm":true,"other_spa_feature_count":1,"sacroiliitis_on_imaging":true,"spa_feature_count":1}],"path":"/api/calc/asas_axial_spa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_at_onset_years":{"description":"Age at onset of back pain in years, integer 1–44 (Rudwaleit 2009 entry: age at onset <45). 0 and ≥45 are invalid and are not classified. magent does not date the patient.","type":"integer"},"arthritis":{"description":"Past or present synovitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine joints.","type":"boolean"},"chronic_back_pain_ge_3_months":{"description":"Must be true. Rudwaleit 2009 entry: chronic back pain ≥3 months. false is invalid and is not returned as classified=false. magent does not take a history.","type":"boolean"},"dactylitis":{"description":"Past or present dactylitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine digits.","type":"boolean"},"elevated_crp":{"description":"CRP above the upper limit of normal in the presence of back pain after exclusion of other causes, as assigned by the caller (Rudwaleit 2009). true or false. magent does not assay CRP.","type":"boolean"},"enthesitis_heel":{"description":"Past or present spontaneous pain or tenderness at the insertion of the Achilles tendon or plantar fascia at the calcaneus, as assigned by the caller (Rudwaleit 2009). Heel enthesitis only. true or false. magent does not examine entheses.","type":"boolean"},"family_history_spa":{"description":"Family history of SpA as assigned by the caller (Rudwaleit 2009): first-degree or second-degree relatives with ankylosing spondylitis, psoriasis, acute uveitis, reactive arthritis, or IBD. true or false. magent does not take a pedigree.","type":"boolean"},"hla_b27":{"description":"HLA-B27 positive as assigned by the caller (Rudwaleit 2009). Obligatory for the clinical arm; does not count toward the two other SpA features. Counts toward spa_feature_count and the imaging arm. true or false. magent does not assay HLA-B27.","type":"boolean"},"ibd":{"description":"Past or present Crohn's disease or ulcerative colitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not diagnose IBD.","type":"boolean"},"inflammatory_back_pain":{"description":"Inflammatory back pain as assigned by the caller (Rudwaleit 2009 fig 2 / table 5). true or false. magent does not take a history or apply a nested IBP questionnaire.","type":"boolean"},"mri_sacroiliitis":{"description":"Active (acute) inflammation on MRI highly suggestive of SpA-associated sacroiliitis, as assigned by the caller (Rudwaleit 2009). Combined with radiographic_sacroiliitis by OR for sacroiliitis_on_imaging. true or false. magent does not read MRI.","type":"boolean"},"nsaid_good_response":{"description":"Good response to NSAIDs as assigned by the caller (Rudwaleit 2009): 24–48 h after a full dose of NSAID the back pain is not present anymore or is much better. true or false. magent does not prescribe NSAIDs.","type":"boolean"},"psoriasis":{"description":"Past or present psoriasis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine skin.","type":"boolean"},"radiographic_sacroiliitis":{"description":"Definite radiographic sacroiliitis according to modified New York criteria (bilateral grade ≥2 or unilateral grade 3–4), as assigned by the caller (Rudwaleit 2009). true or false. magent does not read radiographs.","type":"boolean"},"uveitis":{"description":"Past or present uveitis confirmed by an ophthalmologist, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine the eye.","type":"boolean"}},"required":["chronic_back_pain_ge_3_months","age_at_onset_years","mri_sacroiliitis","radiographic_sacroiliitis","inflammatory_back_pain","arthritis","enthesitis_heel","uveitis","dactylitis","psoriasis","ibd","nsaid_good_response","family_history_spa","hla_b27","elevated_crp"],"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},{"id":39489,"slug":"39489","resource":"https://api.magentlab.com/api/calc/acr_eular_sjogren","description":"ACR/EULAR 2016 primary Sjögren classification (Shiboski Table 3). Required: inclusion_met true (AECG dryness or ESSDAI domain) and exclusion_present false (no radiation, HCV, AIDS, sarcoid, amyloid, GVHD, IgG4-RD). Score: labial biopsy FS ≥1 3, anti-SSA/Ro 3, ocular staining 1, Schirmer 1, UWS 1; max 9; classified iff ≥4. Not a diagnosis. Not AECG 2002. Not 2012 ACR-only. magent does not stain eyes, measure saliva, or read biopsies.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"anti_ssa_ro":false,"exclusion_present":false,"inclusion_met":true,"labial_biopsy_fs_ge_1":true,"ocular_staining":true,"schirmer":false,"uws":false},{"anti_ssa_ro":false,"exclusion_present":false,"inclusion_met":true,"labial_biopsy_fs_ge_1":true,"ocular_staining":true,"schirmer":false,"uws":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Shiboski CH, Shiboski SC, Seror R, Criswell LA, Labetoulle M, Lietman TM, Rasmussen A, Scofield H, Vitali C, Bowman SJ, Mariette X, the International Sjögren's Syndrome Criteria Working Group","doi":"10.1002/art.39859","id":"shiboski-2016","pmid":"27785888","source":"Arthritis Rheumatol. 2017;69(1):35-45","title":"2016 American College of Rheumatology/European League Against Rheumatism Classification Criteria for Primary Sjögren's Syndrome: A Consensus and Data-Driven Methodology Involving Three International Patient Cohorts"},"classified":true,"components":[{"factor":"labial_biopsy_fs_ge_1","points":3,"present":true},{"factor":"anti_ssa_ro","points":0,"present":false},{"factor":"ocular_staining","points":1,"present":true},{"factor":"schirmer","points":0,"present":false},{"factor":"uws","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":"acr_eular_sjogren","formula_expression":"ACR/EULAR 2016 primary Sjögren classification (Shiboski Table 3): required inclusion_met true and exclusion_present false (else do not score). Score = labial_biopsy_fs_ge_1 3 + anti_ssa_ro 3 + ocular_staining 1 + schirmer 1 + uws 1; max 9; classified iff score ≥4. Not a diagnosis. Not AECG 2002. Not 2012 ACR-only criteria","max_score":9,"score":4},{"citation":{"authors":"Shiboski CH, Shiboski SC, Seror R, Criswell LA, Labetoulle M, Lietman TM, Rasmussen A, Scofield H, Vitali C, Bowman SJ, Mariette X, the International Sjögren's Syndrome Criteria Working Group","doi":"10.1002/art.39859","id":"shiboski-2016","pmid":"27785888","source":"Arthritis Rheumatol. 2017;69(1):35-45","title":"2016 American College of Rheumatology/European League Against Rheumatism Classification Criteria for Primary Sjögren's Syndrome: A Consensus and Data-Driven Methodology Involving Three International Patient Cohorts"},"classified":true,"components":[{"factor":"labial_biopsy_fs_ge_1","points":3,"present":true},{"factor":"anti_ssa_ro","points":0,"present":false},{"factor":"ocular_staining","points":1,"present":true},{"factor":"schirmer","points":0,"present":false},{"factor":"uws","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":"acr_eular_sjogren","formula_expression":"ACR/EULAR 2016 primary Sjögren classification (Shiboski Table 3): required inclusion_met true and exclusion_present false (else do not score). Score = labial_biopsy_fs_ge_1 3 + anti_ssa_ro 3 + ocular_staining 1 + schirmer 1 + uws 1; max 9; classified iff score ≥4. Not a diagnosis. Not AECG 2002. Not 2012 ACR-only criteria","max_score":9,"score":4}],"path":"/api/calc/acr_eular_sjogren"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anti_ssa_ro":{"description":"Anti-SSA/Ro positive as assigned by the caller (Shiboski 2016 Table 3). true scores 3; false scores 0. Anti-SSB/La without SSA is not an item. magent does not assay autoantibodies.","type":"boolean"},"exclusion_present":{"description":"Must be false. Shiboski 2016 exclusion as assigned by the caller: none of head and neck radiation, active HCV with PCR confirmation, AIDS, sarcoidosis, amyloidosis, graft-versus-host disease, or IgG4-related disease. true is invalid and is not scored. magent does not diagnose exclusion conditions.","type":"boolean"},"inclusion_met":{"description":"Must be true. Shiboski 2016 inclusion as assigned by the caller: at least one AECG ocular or oral dryness question positive, or suspicion of Sjögren's syndrome from ESSDAI with at least one positive domain item. false is invalid and is not scored. magent does not take a dryness history.","type":"boolean"},"labial_biopsy_fs_ge_1":{"description":"Labial salivary gland with focal lymphocytic sialadenitis and focus score ≥1 foci/4 mm² (Shiboski 2016 Table 3). true scores 3; false scores 0. magent does not read biopsies.","type":"boolean"},"ocular_staining":{"description":"Ocular staining score ≥5 or van Bijsterveld ≥4 in at least one eye (Shiboski 2016 Table 3). true scores 1; false scores 0. magent does not stain eyes.","type":"boolean"},"schirmer":{"description":"Schirmer's test ≤5 mm/5 minutes in at least one eye (Shiboski 2016 Table 3). true scores 1; false scores 0. magent does not perform Schirmer testing.","type":"boolean"},"uws":{"description":"Unstimulated whole saliva flow rate ≤0.1 ml/minute (Shiboski 2016 Table 3). true scores 1; false scores 0. magent does not measure saliva.","type":"boolean"}},"required":["inclusion_met","exclusion_present","labial_biopsy_fs_ge_1","anti_ssa_ro","ocular_staining","schirmer","uws"],"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":["sjogren","acr-eular","classification","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:35:19.513Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:35:19.349Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"anti_ssa_ro":false,"exclusion_present":false,"inclusion_met":true,"labial_biopsy_fs_ge_1":true,"ocular_staining":true,"schirmer":false,"uws":false},{"anti_ssa_ro":false,"exclusion_present":false,"inclusion_met":true,"labial_biopsy_fs_ge_1":true,"ocular_staining":true,"schirmer":false,"uws":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Shiboski CH, Shiboski SC, Seror R, Criswell LA, Labetoulle M, Lietman TM, Rasmussen A, Scofield H, Vitali C, Bowman SJ, Mariette X, the International Sjögren's Syndrome Criteria Working Group","doi":"10.1002/art.39859","id":"shiboski-2016","pmid":"27785888","source":"Arthritis Rheumatol. 2017;69(1):35-45","title":"2016 American College of Rheumatology/European League Against Rheumatism Classification Criteria for Primary Sjögren's Syndrome: A Consensus and Data-Driven Methodology Involving Three International Patient Cohorts"},"classified":true,"components":[{"factor":"labial_biopsy_fs_ge_1","points":3,"present":true},{"factor":"anti_ssa_ro","points":0,"present":false},{"factor":"ocular_staining","points":1,"present":true},{"factor":"schirmer","points":0,"present":false},{"factor":"uws","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":"acr_eular_sjogren","formula_expression":"ACR/EULAR 2016 primary Sjögren classification (Shiboski Table 3): required inclusion_met true and exclusion_present false (else do not score). Score = labial_biopsy_fs_ge_1 3 + anti_ssa_ro 3 + ocular_staining 1 + schirmer 1 + uws 1; max 9; classified iff score ≥4. Not a diagnosis. Not AECG 2002. Not 2012 ACR-only criteria","max_score":9,"score":4},{"citation":{"authors":"Shiboski CH, Shiboski SC, Seror R, Criswell LA, Labetoulle M, Lietman TM, Rasmussen A, Scofield H, Vitali C, Bowman SJ, Mariette X, the International Sjögren's Syndrome Criteria Working Group","doi":"10.1002/art.39859","id":"shiboski-2016","pmid":"27785888","source":"Arthritis Rheumatol. 2017;69(1):35-45","title":"2016 American College of Rheumatology/European League Against Rheumatism Classification Criteria for Primary Sjögren's Syndrome: A Consensus and Data-Driven Methodology Involving Three International Patient Cohorts"},"classified":true,"components":[{"factor":"labial_biopsy_fs_ge_1","points":3,"present":true},{"factor":"anti_ssa_ro","points":0,"present":false},{"factor":"ocular_staining","points":1,"present":true},{"factor":"schirmer","points":0,"present":false},{"factor":"uws","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":"acr_eular_sjogren","formula_expression":"ACR/EULAR 2016 primary Sjögren classification (Shiboski Table 3): required inclusion_met true and exclusion_present false (else do not score). Score = labial_biopsy_fs_ge_1 3 + anti_ssa_ro 3 + ocular_staining 1 + schirmer 1 + uws 1; max 9; classified iff score ≥4. Not a diagnosis. Not AECG 2002. Not 2012 ACR-only criteria","max_score":9,"score":4}],"path":"/api/calc/acr_eular_sjogren"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"anti_ssa_ro":{"description":"Anti-SSA/Ro positive as assigned by the caller (Shiboski 2016 Table 3). true scores 3; false scores 0. Anti-SSB/La without SSA is not an item. magent does not assay autoantibodies.","type":"boolean"},"exclusion_present":{"description":"Must be false. Shiboski 2016 exclusion as assigned by the caller: none of head and neck radiation, active HCV with PCR confirmation, AIDS, sarcoidosis, amyloidosis, graft-versus-host disease, or IgG4-related disease. true is invalid and is not scored. magent does not diagnose exclusion conditions.","type":"boolean"},"inclusion_met":{"description":"Must be true. Shiboski 2016 inclusion as assigned by the caller: at least one AECG ocular or oral dryness question positive, or suspicion of Sjögren's syndrome from ESSDAI with at least one positive domain item. false is invalid and is not scored. magent does not take a dryness history.","type":"boolean"},"labial_biopsy_fs_ge_1":{"description":"Labial salivary gland with focal lymphocytic sialadenitis and focus score ≥1 foci/4 mm² (Shiboski 2016 Table 3). true scores 3; false scores 0. magent does not read biopsies.","type":"boolean"},"ocular_staining":{"description":"Ocular staining score ≥5 or van Bijsterveld ≥4 in at least one eye (Shiboski 2016 Table 3). true scores 1; false scores 0. magent does not stain eyes.","type":"boolean"},"schirmer":{"description":"Schirmer's test ≤5 mm/5 minutes in at least one eye (Shiboski 2016 Table 3). true scores 1; false scores 0. magent does not perform Schirmer testing.","type":"boolean"},"uws":{"description":"Unstimulated whole saliva flow rate ≤0.1 ml/minute (Shiboski 2016 Table 3). true scores 1; false scores 0. magent does not measure saliva.","type":"boolean"}},"required":["inclusion_met","exclusion_present","labial_biopsy_fs_ge_1","anti_ssa_ro","ocular_staining","schirmer","uws"],"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},{"id":39490,"slug":"39490","resource":"https://api.magentlab.com/api/calc/acr_eular_pmr","description":"ACR/EULAR 2012 PMR classification (Dasgupta Table 4). Required: age 50–120, bilateral shoulder aching, abnormal CRP or ESR. Score morning stiffness >45 min 2, hip pain or limited ROM 1, RF or ACPA absent 2, other joint pain absent 1. Without ultrasound: max 6, classified iff ≥4. With ultrasound: add shoulder-and-hip 1 and both shoulders 1; max 8, classified iff ≥5. Not a diagnosis (not meant for diagnostic purposes). magent does not assay CRP/ESR/RF/ACPA or perform ultrasound.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_crp_or_esr":true,"age":70,"bilateral_shoulder_aching":true,"hip_pain_or_limited_rom":true,"include_ultrasound":false,"morning_stiffness_gt_45":true,"other_joint_pain_absent":true,"rf_or_acpa_absent":true,"us_both_shoulders":false,"us_shoulder_and_hip":false},{"abnormal_crp_or_esr":true,"age":70,"bilateral_shoulder_aching":true,"hip_pain_or_limited_rom":true,"include_ultrasound":false,"morning_stiffness_gt_45":true,"other_joint_pain_absent":true,"rf_or_acpa_absent":true,"us_both_shoulders":false,"us_shoulder_and_hip":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"algorithm":"without_ultrasound","citation":{"authors":"Dasgupta B, Cimmino MA, Maradit-Kremers H, Schmidt WA, Schirmer M, Salvarani C, Bachta A, Dejaco C, Duftner C, Jensen HS, Poór G, Kaposi NP, Mandl P, Balint PV, Schmidt Z, Iagnocco A, Nannini C, Cantini F, Macchioni P, Pipitone N, Amo MD, Espígol-Frigolé G, Cid MC, Martínez-Taboada VM, Nordborg E, Direskeneli H, Aydin SZ, Ahmed K, Hazleman B, Silverman B, Pease C, Wakefield RJ, Luqmani R, Abril A, Michet CJ, Mazlumzadeh M, Salvarani C","doi":"10.1136/annrheumdis-2011-200329","id":"dasgupta-2012","pmid":"22388996","source":"Ann Rheum Dis. 2012;71(4):484-492","title":"2012 provisional classification criteria for polymyalgia rheumatica: a European League Against Rheumatism/American College of Rheumatology collaborative initiative"},"classified":true,"components":[{"factor":"morning_stiffness_gt_45","points":2,"present":true},{"factor":"hip_pain_or_limited_rom","points":1,"present":true},{"factor":"rf_or_acpa_absent","points":2,"present":true},{"factor":"other_joint_pain_absent","points":1,"present":true}],"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":"acr_eular_pmr","formula_expression":"ACR/EULAR 2012 PMR classification (Dasgupta Table 4): required age 50–120, bilateral_shoulder_aching true, abnormal_crp_or_esr true (else do not score). Score = morning_stiffness_gt_45 2 + hip_pain_or_limited_rom 1 + rf_or_acpa_absent 2 + other_joint_pain_absent 1. Without ultrasound: max 6, classified iff score ≥4. With ultrasound: add us_shoulder_and_hip 1 + us_both_shoulders 1; max 8, classified iff score ≥5. Not a diagnosis (not meant for diagnostic purposes)","max_score":6,"score":6},{"algorithm":"without_ultrasound","citation":{"authors":"Dasgupta B, Cimmino MA, Maradit-Kremers H, Schmidt WA, Schirmer M, Salvarani C, Bachta A, Dejaco C, Duftner C, Jensen HS, Poór G, Kaposi NP, Mandl P, Balint PV, Schmidt Z, Iagnocco A, Nannini C, Cantini F, Macchioni P, Pipitone N, Amo MD, Espígol-Frigolé G, Cid MC, Martínez-Taboada VM, Nordborg E, Direskeneli H, Aydin SZ, Ahmed K, Hazleman B, Silverman B, Pease C, Wakefield RJ, Luqmani R, Abril A, Michet CJ, Mazlumzadeh M, Salvarani C","doi":"10.1136/annrheumdis-2011-200329","id":"dasgupta-2012","pmid":"22388996","source":"Ann Rheum Dis. 2012;71(4):484-492","title":"2012 provisional classification criteria for polymyalgia rheumatica: a European League Against Rheumatism/American College of Rheumatology collaborative initiative"},"classified":true,"components":[{"factor":"morning_stiffness_gt_45","points":2,"present":true},{"factor":"hip_pain_or_limited_rom","points":1,"present":true},{"factor":"rf_or_acpa_absent","points":2,"present":true},{"factor":"other_joint_pain_absent","points":1,"present":true}],"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":"acr_eular_pmr","formula_expression":"ACR/EULAR 2012 PMR classification (Dasgupta Table 4): required age 50–120, bilateral_shoulder_aching true, abnormal_crp_or_esr true (else do not score). Score = morning_stiffness_gt_45 2 + hip_pain_or_limited_rom 1 + rf_or_acpa_absent 2 + other_joint_pain_absent 1. Without ultrasound: max 6, classified iff score ≥4. With ultrasound: add us_shoulder_and_hip 1 + us_both_shoulders 1; max 8, classified iff score ≥5. Not a diagnosis (not meant for diagnostic purposes)","max_score":6,"score":6}],"path":"/api/calc/acr_eular_pmr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_crp_or_esr":{"description":"Must be true. Dasgupta 2012 required criterion: abnormal CRP and/or ESR. false is invalid and is not scored. magent does not assay CRP or ESR.","type":"boolean"},"age":{"description":"Age in years as an integer 50–120 (Dasgupta 2012 required criterion: age ≥50). magent does not date the patient.","type":"integer"},"bilateral_shoulder_aching":{"description":"Must be true. Dasgupta 2012 required criterion: bilateral shoulder aching. false is invalid and is not scored. magent does not examine joints.","type":"boolean"},"hip_pain_or_limited_rom":{"description":"Hip pain or limited range of motion (Dasgupta 2012 Table 4). true scores 1; false scores 0. magent does not examine joints.","type":"boolean"},"include_ultrasound":{"description":"Use the optional ultrasound algorithm (Dasgupta 2012 Table 4). false: do not require US flags; max 6; classified iff score ≥4. true: require us_shoulder_and_hip and us_both_shoulders; max 8; classified iff score ≥5. magent does not perform ultrasound.","type":"boolean"},"morning_stiffness_gt_45":{"description":"Morning stiffness duration >45 min (Dasgupta 2012 Table 4). true scores 2; false scores 0. magent does not take a history.","type":"boolean"},"other_joint_pain_absent":{"description":"Absence of other/peripheral joint involvement as assigned by the caller (Dasgupta 2012 Table 4). true scores 1; false scores 0. magent does not examine joints.","type":"boolean"},"rf_or_acpa_absent":{"description":"Absence of RF or ACPA as assigned by the caller (Dasgupta 2012 Table 4). true scores 2; false scores 0. magent does not assay RF or ACPA.","type":"boolean"},"us_both_shoulders":{"description":"Both shoulders with subdeltoid bursitis, biceps tenosynovitis, or glenohumeral synovitis (Dasgupta 2012). true scores 1. Required when include_ultrasound is true; ignored when false. magent does not perform ultrasound.","type":"boolean"},"us_shoulder_and_hip":{"description":"At least one shoulder with subdeltoid bursitis and/or biceps tenosynovitis and/or glenohumeral synovitis (posterior or axillary) and at least one hip with synovitis and/or trochanteric bursitis (Dasgupta 2012). true scores 1. Required when include_ultrasound is true; ignored when false. magent does not perform ultrasound.","type":"boolean"}},"required":["age","bilateral_shoulder_aching","abnormal_crp_or_esr","morning_stiffness_gt_45","hip_pain_or_limited_rom","rf_or_acpa_absent","other_joint_pain_absent","include_ultrasound"],"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":["pmr","acr-eular","classification","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:35:12.742Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:35:12.577Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_crp_or_esr":true,"age":70,"bilateral_shoulder_aching":true,"hip_pain_or_limited_rom":true,"include_ultrasound":false,"morning_stiffness_gt_45":true,"other_joint_pain_absent":true,"rf_or_acpa_absent":true,"us_both_shoulders":false,"us_shoulder_and_hip":false},{"abnormal_crp_or_esr":true,"age":70,"bilateral_shoulder_aching":true,"hip_pain_or_limited_rom":true,"include_ultrasound":false,"morning_stiffness_gt_45":true,"other_joint_pain_absent":true,"rf_or_acpa_absent":true,"us_both_shoulders":false,"us_shoulder_and_hip":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"algorithm":"without_ultrasound","citation":{"authors":"Dasgupta B, Cimmino MA, Maradit-Kremers H, Schmidt WA, Schirmer M, Salvarani C, Bachta A, Dejaco C, Duftner C, Jensen HS, Poór G, Kaposi NP, Mandl P, Balint PV, Schmidt Z, Iagnocco A, Nannini C, Cantini F, Macchioni P, Pipitone N, Amo MD, Espígol-Frigolé G, Cid MC, Martínez-Taboada VM, Nordborg E, Direskeneli H, Aydin SZ, Ahmed K, Hazleman B, Silverman B, Pease C, Wakefield RJ, Luqmani R, Abril A, Michet CJ, Mazlumzadeh M, Salvarani C","doi":"10.1136/annrheumdis-2011-200329","id":"dasgupta-2012","pmid":"22388996","source":"Ann Rheum Dis. 2012;71(4):484-492","title":"2012 provisional classification criteria for polymyalgia rheumatica: a European League Against Rheumatism/American College of Rheumatology collaborative initiative"},"classified":true,"components":[{"factor":"morning_stiffness_gt_45","points":2,"present":true},{"factor":"hip_pain_or_limited_rom","points":1,"present":true},{"factor":"rf_or_acpa_absent","points":2,"present":true},{"factor":"other_joint_pain_absent","points":1,"present":true}],"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":"acr_eular_pmr","formula_expression":"ACR/EULAR 2012 PMR classification (Dasgupta Table 4): required age 50–120, bilateral_shoulder_aching true, abnormal_crp_or_esr true (else do not score). Score = morning_stiffness_gt_45 2 + hip_pain_or_limited_rom 1 + rf_or_acpa_absent 2 + other_joint_pain_absent 1. Without ultrasound: max 6, classified iff score ≥4. With ultrasound: add us_shoulder_and_hip 1 + us_both_shoulders 1; max 8, classified iff score ≥5. Not a diagnosis (not meant for diagnostic purposes)","max_score":6,"score":6},{"algorithm":"without_ultrasound","citation":{"authors":"Dasgupta B, Cimmino MA, Maradit-Kremers H, Schmidt WA, Schirmer M, Salvarani C, Bachta A, Dejaco C, Duftner C, Jensen HS, Poór G, Kaposi NP, Mandl P, Balint PV, Schmidt Z, Iagnocco A, Nannini C, Cantini F, Macchioni P, Pipitone N, Amo MD, Espígol-Frigolé G, Cid MC, Martínez-Taboada VM, Nordborg E, Direskeneli H, Aydin SZ, Ahmed K, Hazleman B, Silverman B, Pease C, Wakefield RJ, Luqmani R, Abril A, Michet CJ, Mazlumzadeh M, Salvarani C","doi":"10.1136/annrheumdis-2011-200329","id":"dasgupta-2012","pmid":"22388996","source":"Ann Rheum Dis. 2012;71(4):484-492","title":"2012 provisional classification criteria for polymyalgia rheumatica: a European League Against Rheumatism/American College of Rheumatology collaborative initiative"},"classified":true,"components":[{"factor":"morning_stiffness_gt_45","points":2,"present":true},{"factor":"hip_pain_or_limited_rom","points":1,"present":true},{"factor":"rf_or_acpa_absent","points":2,"present":true},{"factor":"other_joint_pain_absent","points":1,"present":true}],"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":"acr_eular_pmr","formula_expression":"ACR/EULAR 2012 PMR classification (Dasgupta Table 4): required age 50–120, bilateral_shoulder_aching true, abnormal_crp_or_esr true (else do not score). Score = morning_stiffness_gt_45 2 + hip_pain_or_limited_rom 1 + rf_or_acpa_absent 2 + other_joint_pain_absent 1. Without ultrasound: max 6, classified iff score ≥4. With ultrasound: add us_shoulder_and_hip 1 + us_both_shoulders 1; max 8, classified iff score ≥5. Not a diagnosis (not meant for diagnostic purposes)","max_score":6,"score":6}],"path":"/api/calc/acr_eular_pmr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_crp_or_esr":{"description":"Must be true. Dasgupta 2012 required criterion: abnormal CRP and/or ESR. false is invalid and is not scored. magent does not assay CRP or ESR.","type":"boolean"},"age":{"description":"Age in years as an integer 50–120 (Dasgupta 2012 required criterion: age ≥50). magent does not date the patient.","type":"integer"},"bilateral_shoulder_aching":{"description":"Must be true. Dasgupta 2012 required criterion: bilateral shoulder aching. false is invalid and is not scored. magent does not examine joints.","type":"boolean"},"hip_pain_or_limited_rom":{"description":"Hip pain or limited range of motion (Dasgupta 2012 Table 4). true scores 1; false scores 0. magent does not examine joints.","type":"boolean"},"include_ultrasound":{"description":"Use the optional ultrasound algorithm (Dasgupta 2012 Table 4). false: do not require US flags; max 6; classified iff score ≥4. true: require us_shoulder_and_hip and us_both_shoulders; max 8; classified iff score ≥5. magent does not perform ultrasound.","type":"boolean"},"morning_stiffness_gt_45":{"description":"Morning stiffness duration >45 min (Dasgupta 2012 Table 4). true scores 2; false scores 0. magent does not take a history.","type":"boolean"},"other_joint_pain_absent":{"description":"Absence of other/peripheral joint involvement as assigned by the caller (Dasgupta 2012 Table 4). true scores 1; false scores 0. magent does not examine joints.","type":"boolean"},"rf_or_acpa_absent":{"description":"Absence of RF or ACPA as assigned by the caller (Dasgupta 2012 Table 4). true scores 2; false scores 0. magent does not assay RF or ACPA.","type":"boolean"},"us_both_shoulders":{"description":"Both shoulders with subdeltoid bursitis, biceps tenosynovitis, or glenohumeral synovitis (Dasgupta 2012). true scores 1. Required when include_ultrasound is true; ignored when false. magent does not perform ultrasound.","type":"boolean"},"us_shoulder_and_hip":{"description":"At least one shoulder with subdeltoid bursitis and/or biceps tenosynovitis and/or glenohumeral synovitis (posterior or axillary) and at least one hip with synovitis and/or trochanteric bursitis (Dasgupta 2012). true scores 1. Required when include_ultrasound is true; ignored when false. magent does not perform ultrasound.","type":"boolean"}},"required":["age","bilateral_shoulder_aching","abnormal_crp_or_esr","morning_stiffness_gt_45","hip_pain_or_limited_rom","rf_or_acpa_absent","other_joint_pain_absent","include_ultrasound"],"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},{"id":39491,"slug":"39491","resource":"https://api.magentlab.com/api/calc/kawasaki","description":"AHA 2017 classic/complete Kawasaki disease (McCrindle). Complete when fever_days >= 4 and at least 4 of 5 principal features are true (oral mucosal changes, bilateral conjunctival injection, rash, extremity changes, cervical lymphadenopathy). Does not implement the incomplete-KD lab/echo algorithm or the 3-day clinician exception. magent does not examine the patient or read an echocardiogram. Not a medical device and not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bilateral_conjunctival_injection":true,"cervical_lymphadenopathy":true,"extremity_changes":true,"fever_days":5,"oral_mucosal_changes":true,"rash":true},{"bilateral_conjunctival_injection":true,"cervical_lymphadenopathy":true,"extremity_changes":true,"fever_days":5,"oral_mucosal_changes":true,"rash":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bilateral_conjunctival_injection":true,"cervical_lymphadenopathy":true,"citation":{"authors":"McCrindle BW, Rowley AH, Newburger JW, Burns JC, Bolger AF, Gewitz M, Baker AL, Jackson MA, Takahashi M, Shah PB, Kobayashi T, Wu MH, Saji TT, Pahl E","doi":"10.1161/CIR.0000000000000484","id":"mccrindle-2017","pmid":"28356445","source":"Circulation. 2017;135(17):e927-e999","title":"Diagnosis, Treatment, and Long-Term Management of Kawasaki Disease: A Scientific Statement for Health Professionals From the American Heart Association"},"classification":"complete","criteria":[{"factor":"fever_days_ge_4","met":true,"value":5},{"factor":"oral_mucosal_changes","met":true},{"factor":"bilateral_conjunctival_injection","met":true},{"factor":"rash","met":true},{"factor":"extremity_changes","met":true},{"factor":"cervical_lymphadenopathy","met":true},{"factor":"principal_feature_count_ge_4","met":true,"value":5}],"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.","extremity_changes":true,"fever_days":5,"formula":"kawasaki","formula_expression":"complete iff principal_feature_count >= 4 and fever_days >= 4 (McCrindle 2017; classic KD with fever_days >= 5 and >=4 features, or 4 days of fever when >=4 principal features). principal_feature_count is the number of true flags among oral_mucosal_changes, bilateral_conjunctival_injection, rash, extremity_changes, cervical_lymphadenopathy. Not incomplete-KD labs/echo. Not the 3-day clinician exception","oral_mucosal_changes":true,"principal_feature_count":5,"rash":true},{"bilateral_conjunctival_injection":true,"cervical_lymphadenopathy":true,"citation":{"authors":"McCrindle BW, Rowley AH, Newburger JW, Burns JC, Bolger AF, Gewitz M, Baker AL, Jackson MA, Takahashi M, Shah PB, Kobayashi T, Wu MH, Saji TT, Pahl E","doi":"10.1161/CIR.0000000000000484","id":"mccrindle-2017","pmid":"28356445","source":"Circulation. 2017;135(17):e927-e999","title":"Diagnosis, Treatment, and Long-Term Management of Kawasaki Disease: A Scientific Statement for Health Professionals From the American Heart Association"},"classification":"complete","criteria":[{"factor":"fever_days_ge_4","met":true,"value":5},{"factor":"oral_mucosal_changes","met":true},{"factor":"bilateral_conjunctival_injection","met":true},{"factor":"rash","met":true},{"factor":"extremity_changes","met":true},{"factor":"cervical_lymphadenopathy","met":true},{"factor":"principal_feature_count_ge_4","met":true,"value":5}],"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.","extremity_changes":true,"fever_days":5,"formula":"kawasaki","formula_expression":"complete iff principal_feature_count >= 4 and fever_days >= 4 (McCrindle 2017; classic KD with fever_days >= 5 and >=4 features, or 4 days of fever when >=4 principal features). principal_feature_count is the number of true flags among oral_mucosal_changes, bilateral_conjunctival_injection, rash, extremity_changes, cervical_lymphadenopathy. Not incomplete-KD labs/echo. Not the 3-day clinician exception","oral_mucosal_changes":true,"principal_feature_count":5,"rash":true}],"path":"/api/calc/kawasaki"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilateral_conjunctival_injection":{"description":"Principal feature: bilateral bulbar conjunctival injection without exudate (McCrindle 2017). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"cervical_lymphadenopathy":{"description":"Principal feature: cervical lymphadenopathy (>=1.5 cm diameter), usually unilateral (McCrindle 2017). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"extremity_changes":{"description":"Principal feature: erythema and edema of the hands and feet in the acute phase and/or periungual desquamation in the subacute phase (McCrindle 2017). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fever_days":{"description":"Duration of fever in days (integer 1-30). Classic complete KD requires fever_days >= 5 with >=4 principal features; with >=4 principal features the diagnosis may be made with 4 days of fever (McCrindle 2017). The 3-day clinician exception is not this tool.","type":"integer"},"oral_mucosal_changes":{"description":"Principal feature: erythema and cracking of lips, strawberry tongue, and/or erythema of oral and pharyngeal mucosa (McCrindle 2017). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"rash":{"description":"Principal feature: rash — maculopapular, diffuse erythroderma, or erythema multiforme-like (McCrindle 2017). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["fever_days","oral_mucosal_changes","bilateral_conjunctival_injection","rash","extremity_changes","cervical_lymphadenopathy"],"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":["kawasaki","kawasaki-disease","infection","fever","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:16:55.831Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:16:55.706Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bilateral_conjunctival_injection":true,"cervical_lymphadenopathy":true,"extremity_changes":true,"fever_days":5,"oral_mucosal_changes":true,"rash":true},{"bilateral_conjunctival_injection":true,"cervical_lymphadenopathy":true,"extremity_changes":true,"fever_days":5,"oral_mucosal_changes":true,"rash":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bilateral_conjunctival_injection":true,"cervical_lymphadenopathy":true,"citation":{"authors":"McCrindle BW, Rowley AH, Newburger JW, Burns JC, Bolger AF, Gewitz M, Baker AL, Jackson MA, Takahashi M, Shah PB, Kobayashi T, Wu MH, Saji TT, Pahl E","doi":"10.1161/CIR.0000000000000484","id":"mccrindle-2017","pmid":"28356445","source":"Circulation. 2017;135(17):e927-e999","title":"Diagnosis, Treatment, and Long-Term Management of Kawasaki Disease: A Scientific Statement for Health Professionals From the American Heart Association"},"classification":"complete","criteria":[{"factor":"fever_days_ge_4","met":true,"value":5},{"factor":"oral_mucosal_changes","met":true},{"factor":"bilateral_conjunctival_injection","met":true},{"factor":"rash","met":true},{"factor":"extremity_changes","met":true},{"factor":"cervical_lymphadenopathy","met":true},{"factor":"principal_feature_count_ge_4","met":true,"value":5}],"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.","extremity_changes":true,"fever_days":5,"formula":"kawasaki","formula_expression":"complete iff principal_feature_count >= 4 and fever_days >= 4 (McCrindle 2017; classic KD with fever_days >= 5 and >=4 features, or 4 days of fever when >=4 principal features). principal_feature_count is the number of true flags among oral_mucosal_changes, bilateral_conjunctival_injection, rash, extremity_changes, cervical_lymphadenopathy. Not incomplete-KD labs/echo. Not the 3-day clinician exception","oral_mucosal_changes":true,"principal_feature_count":5,"rash":true},{"bilateral_conjunctival_injection":true,"cervical_lymphadenopathy":true,"citation":{"authors":"McCrindle BW, Rowley AH, Newburger JW, Burns JC, Bolger AF, Gewitz M, Baker AL, Jackson MA, Takahashi M, Shah PB, Kobayashi T, Wu MH, Saji TT, Pahl E","doi":"10.1161/CIR.0000000000000484","id":"mccrindle-2017","pmid":"28356445","source":"Circulation. 2017;135(17):e927-e999","title":"Diagnosis, Treatment, and Long-Term Management of Kawasaki Disease: A Scientific Statement for Health Professionals From the American Heart Association"},"classification":"complete","criteria":[{"factor":"fever_days_ge_4","met":true,"value":5},{"factor":"oral_mucosal_changes","met":true},{"factor":"bilateral_conjunctival_injection","met":true},{"factor":"rash","met":true},{"factor":"extremity_changes","met":true},{"factor":"cervical_lymphadenopathy","met":true},{"factor":"principal_feature_count_ge_4","met":true,"value":5}],"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.","extremity_changes":true,"fever_days":5,"formula":"kawasaki","formula_expression":"complete iff principal_feature_count >= 4 and fever_days >= 4 (McCrindle 2017; classic KD with fever_days >= 5 and >=4 features, or 4 days of fever when >=4 principal features). principal_feature_count is the number of true flags among oral_mucosal_changes, bilateral_conjunctival_injection, rash, extremity_changes, cervical_lymphadenopathy. Not incomplete-KD labs/echo. Not the 3-day clinician exception","oral_mucosal_changes":true,"principal_feature_count":5,"rash":true}],"path":"/api/calc/kawasaki"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilateral_conjunctival_injection":{"description":"Principal feature: bilateral bulbar conjunctival injection without exudate (McCrindle 2017). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"cervical_lymphadenopathy":{"description":"Principal feature: cervical lymphadenopathy (>=1.5 cm diameter), usually unilateral (McCrindle 2017). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"extremity_changes":{"description":"Principal feature: erythema and edema of the hands and feet in the acute phase and/or periungual desquamation in the subacute phase (McCrindle 2017). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"fever_days":{"description":"Duration of fever in days (integer 1-30). Classic complete KD requires fever_days >= 5 with >=4 principal features; with >=4 principal features the diagnosis may be made with 4 days of fever (McCrindle 2017). The 3-day clinician exception is not this tool.","type":"integer"},"oral_mucosal_changes":{"description":"Principal feature: erythema and cracking of lips, strawberry tongue, and/or erythema of oral and pharyngeal mucosa (McCrindle 2017). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"},"rash":{"description":"Principal feature: rash — maculopapular, diffuse erythroderma, or erythema multiforme-like (McCrindle 2017). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["fever_days","oral_mucosal_changes","bilateral_conjunctival_injection","rash","extremity_changes","cervical_lymphadenopathy"],"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},{"id":39492,"slug":"39492","resource":"https://api.magentlab.com/api/calc/geneva_prophylaxis","description":"Chopard 2006 Geneva score for VTE prophylaxis in acutely ill medical inpatients. Eleven 2-point factors plus eight 1-point factors including age >60. Max 30. Score <3 low; >=3 high (prophylaxis indicated). Not a diagnosis or order. Not Revised Geneva PE. Not Padua.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_infectious_disease":false,"acute_rheumatic_disease":false,"age":50,"cardiac_failure":false,"chronic_venous_insufficiency":false,"dehydration":false,"history_of_vte":false,"hormonal_therapy":false,"immobilization_ge_3d":false,"known_hypercoagulable_state":false,"malignancy":false,"myeloproliferative_syndrome":false,"nephrotic_syndrome":false,"obesity_bmi_gt_30":false,"pregnancy":false,"recent_myocardial_infarction":false,"recent_stroke":false,"recent_travel_gt_6h":false,"respiratory_failure":false},{"acute_infectious_disease":false,"acute_rheumatic_disease":false,"age":50,"cardiac_failure":false,"chronic_venous_insufficiency":false,"dehydration":false,"history_of_vte":false,"hormonal_therapy":false,"immobilization_ge_3d":false,"known_hypercoagulable_state":false,"malignancy":false,"myeloproliferative_syndrome":false,"nephrotic_syndrome":false,"obesity_bmi_gt_30":false,"pregnancy":false,"recent_myocardial_infarction":false,"recent_stroke":false,"recent_travel_gt_6h":false,"respiratory_failure":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Chopard P, Spirk D, Bounameaux H","doi":"10.1111/j.1538-7836.2006.01818.x","id":"chopard-2006","pmid":"16553641","source":"J Thromb Haemost. 2006;4(4):915-916","title":"Identifying acutely ill medical patients requiring thromboprophylaxis"},"components":[{"factor":"cardiac_failure","points":0,"present":false},{"factor":"respiratory_failure","points":0,"present":false},{"factor":"recent_stroke","points":0,"present":false},{"factor":"recent_myocardial_infarction","points":0,"present":false},{"factor":"acute_infectious_disease","points":0,"present":false},{"factor":"acute_rheumatic_disease","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"myeloproliferative_syndrome","points":0,"present":false},{"factor":"nephrotic_syndrome","points":0,"present":false},{"factor":"history_of_vte","points":0,"present":false},{"factor":"known_hypercoagulable_state","points":0,"present":false},{"factor":"immobilization_ge_3d","points":0,"present":false},{"factor":"recent_travel_gt_6h","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"obesity_bmi_gt_30","points":0,"present":false},{"factor":"chronic_venous_insufficiency","points":0,"present":false},{"factor":"pregnancy","points":0,"present":false},{"factor":"hormonal_therapy","points":0,"present":false},{"factor":"dehydration","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":"geneva_prophylaxis","formula_expression":"geneva_prophylaxis = cardiac_failure (2) + respiratory_failure (2) + recent_stroke (2) + recent_myocardial_infarction (2) + acute_infectious_disease (2) + acute_rheumatic_disease (2) + malignancy (2) + myeloproliferative_syndrome (2) + nephrotic_syndrome (2) + history_of_vte (2) + known_hypercoagulable_state (2) + immobilization_ge_3d (1) + recent_travel_gt_6h (1) + age>60 (1) + obesity_bmi_gt_30 (1) + chronic_venous_insufficiency (1) + pregnancy (1) + hormonal_therapy (1) + dehydration (1); Chopard 2006 letter table; max 30; <3 low, >=3 high (prophylaxis indicated)","max_score":30,"risk_group":"low","score":0},{"age_years":50,"citation":{"authors":"Chopard P, Spirk D, Bounameaux H","doi":"10.1111/j.1538-7836.2006.01818.x","id":"chopard-2006","pmid":"16553641","source":"J Thromb Haemost. 2006;4(4):915-916","title":"Identifying acutely ill medical patients requiring thromboprophylaxis"},"components":[{"factor":"cardiac_failure","points":0,"present":false},{"factor":"respiratory_failure","points":0,"present":false},{"factor":"recent_stroke","points":0,"present":false},{"factor":"recent_myocardial_infarction","points":0,"present":false},{"factor":"acute_infectious_disease","points":0,"present":false},{"factor":"acute_rheumatic_disease","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"myeloproliferative_syndrome","points":0,"present":false},{"factor":"nephrotic_syndrome","points":0,"present":false},{"factor":"history_of_vte","points":0,"present":false},{"factor":"known_hypercoagulable_state","points":0,"present":false},{"factor":"immobilization_ge_3d","points":0,"present":false},{"factor":"recent_travel_gt_6h","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"obesity_bmi_gt_30","points":0,"present":false},{"factor":"chronic_venous_insufficiency","points":0,"present":false},{"factor":"pregnancy","points":0,"present":false},{"factor":"hormonal_therapy","points":0,"present":false},{"factor":"dehydration","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":"geneva_prophylaxis","formula_expression":"geneva_prophylaxis = cardiac_failure (2) + respiratory_failure (2) + recent_stroke (2) + recent_myocardial_infarction (2) + acute_infectious_disease (2) + acute_rheumatic_disease (2) + malignancy (2) + myeloproliferative_syndrome (2) + nephrotic_syndrome (2) + history_of_vte (2) + known_hypercoagulable_state (2) + immobilization_ge_3d (1) + recent_travel_gt_6h (1) + age>60 (1) + obesity_bmi_gt_30 (1) + chronic_venous_insufficiency (1) + pregnancy (1) + hormonal_therapy (1) + dehydration (1); Chopard 2006 letter table; max 30; <3 low, >=3 high (prophylaxis indicated)","max_score":30,"risk_group":"low","score":0}],"path":"/api/calc/geneva_prophylaxis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_infectious_disease":{"description":"Acute infectious disease including sepsis as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose infection.","type":"boolean"},"acute_rheumatic_disease":{"description":"Acute rheumatic disease as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose rheumatic disease.","type":"boolean"},"age":{"description":"Age in years (18-120). Age >60 scores 1 (Chopard 2006). Age 60 is the ≤60 arm and scores 0.","type":"integer"},"cardiac_failure":{"description":"Cardiac failure as assigned by the caller (Chopard 2006 Geneva prophylaxis table). true scores 2. magent does not examine the patient.","type":"boolean"},"chronic_venous_insufficiency":{"description":"Chronic venous insufficiency as assigned by the caller (Chopard 2006). true scores 1. magent does not examine the patient.","type":"boolean"},"dehydration":{"description":"Dehydration as assigned by the caller (Chopard 2006). true scores 1. magent does not assay volume status.","type":"boolean"},"history_of_vte":{"description":"History of VTE as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose VTE.","type":"boolean"},"hormonal_therapy":{"description":"Hormonal therapy as assigned by the caller (Chopard 2006). true scores 1.","type":"boolean"},"immobilization_ge_3d":{"description":"Immobilization as assigned by the caller (walk <30 min/day for ≥3 days, Chopard 2006). true scores 1. magent does not observe walking time.","type":"boolean"},"known_hypercoagulable_state":{"description":"Known hypercoagulable state as assigned by the caller (Chopard 2006). true scores 2. magent does not interpret a thrombophilia panel.","type":"boolean"},"malignancy":{"description":"Malignancy as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose cancer.","type":"boolean"},"myeloproliferative_syndrome":{"description":"Myeloproliferative syndrome as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose a myeloproliferative neoplasm.","type":"boolean"},"nephrotic_syndrome":{"description":"Nephrotic syndrome as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose nephrotic syndrome.","type":"boolean"},"obesity_bmi_gt_30":{"description":"Obesity as assigned by the caller (BMI >30, Chopard 2006). true scores 1. magent does not take height or weight.","type":"boolean"},"pregnancy":{"description":"Pregnancy as assigned by the caller (Chopard 2006). true scores 1. magent does not confirm pregnancy.","type":"boolean"},"recent_myocardial_infarction":{"description":"Recent myocardial infarction as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose myocardial infarction.","type":"boolean"},"recent_stroke":{"description":"Recent stroke as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose stroke.","type":"boolean"},"recent_travel_gt_6h":{"description":"Recent travel >6 hours as assigned by the caller (Chopard 2006). true scores 1.","type":"boolean"},"respiratory_failure":{"description":"Respiratory failure as assigned by the caller (Chopard 2006). true scores 2. magent does not examine the patient.","type":"boolean"}},"required":["age","cardiac_failure","respiratory_failure","recent_stroke","recent_myocardial_infarction","acute_infectious_disease","acute_rheumatic_disease","malignancy","myeloproliferative_syndrome","nephrotic_syndrome","history_of_vte","known_hypercoagulable_state","immobilization_ge_3d","recent_travel_gt_6h","obesity_bmi_gt_30","chronic_venous_insufficiency","pregnancy","hormonal_therapy","dehydration"],"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":["geneva-prophylaxis","vte","thromboprophylaxis","score","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:16:49.083Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:16:48.915Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_infectious_disease":false,"acute_rheumatic_disease":false,"age":50,"cardiac_failure":false,"chronic_venous_insufficiency":false,"dehydration":false,"history_of_vte":false,"hormonal_therapy":false,"immobilization_ge_3d":false,"known_hypercoagulable_state":false,"malignancy":false,"myeloproliferative_syndrome":false,"nephrotic_syndrome":false,"obesity_bmi_gt_30":false,"pregnancy":false,"recent_myocardial_infarction":false,"recent_stroke":false,"recent_travel_gt_6h":false,"respiratory_failure":false},{"acute_infectious_disease":false,"acute_rheumatic_disease":false,"age":50,"cardiac_failure":false,"chronic_venous_insufficiency":false,"dehydration":false,"history_of_vte":false,"hormonal_therapy":false,"immobilization_ge_3d":false,"known_hypercoagulable_state":false,"malignancy":false,"myeloproliferative_syndrome":false,"nephrotic_syndrome":false,"obesity_bmi_gt_30":false,"pregnancy":false,"recent_myocardial_infarction":false,"recent_stroke":false,"recent_travel_gt_6h":false,"respiratory_failure":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Chopard P, Spirk D, Bounameaux H","doi":"10.1111/j.1538-7836.2006.01818.x","id":"chopard-2006","pmid":"16553641","source":"J Thromb Haemost. 2006;4(4):915-916","title":"Identifying acutely ill medical patients requiring thromboprophylaxis"},"components":[{"factor":"cardiac_failure","points":0,"present":false},{"factor":"respiratory_failure","points":0,"present":false},{"factor":"recent_stroke","points":0,"present":false},{"factor":"recent_myocardial_infarction","points":0,"present":false},{"factor":"acute_infectious_disease","points":0,"present":false},{"factor":"acute_rheumatic_disease","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"myeloproliferative_syndrome","points":0,"present":false},{"factor":"nephrotic_syndrome","points":0,"present":false},{"factor":"history_of_vte","points":0,"present":false},{"factor":"known_hypercoagulable_state","points":0,"present":false},{"factor":"immobilization_ge_3d","points":0,"present":false},{"factor":"recent_travel_gt_6h","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"obesity_bmi_gt_30","points":0,"present":false},{"factor":"chronic_venous_insufficiency","points":0,"present":false},{"factor":"pregnancy","points":0,"present":false},{"factor":"hormonal_therapy","points":0,"present":false},{"factor":"dehydration","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":"geneva_prophylaxis","formula_expression":"geneva_prophylaxis = cardiac_failure (2) + respiratory_failure (2) + recent_stroke (2) + recent_myocardial_infarction (2) + acute_infectious_disease (2) + acute_rheumatic_disease (2) + malignancy (2) + myeloproliferative_syndrome (2) + nephrotic_syndrome (2) + history_of_vte (2) + known_hypercoagulable_state (2) + immobilization_ge_3d (1) + recent_travel_gt_6h (1) + age>60 (1) + obesity_bmi_gt_30 (1) + chronic_venous_insufficiency (1) + pregnancy (1) + hormonal_therapy (1) + dehydration (1); Chopard 2006 letter table; max 30; <3 low, >=3 high (prophylaxis indicated)","max_score":30,"risk_group":"low","score":0},{"age_years":50,"citation":{"authors":"Chopard P, Spirk D, Bounameaux H","doi":"10.1111/j.1538-7836.2006.01818.x","id":"chopard-2006","pmid":"16553641","source":"J Thromb Haemost. 2006;4(4):915-916","title":"Identifying acutely ill medical patients requiring thromboprophylaxis"},"components":[{"factor":"cardiac_failure","points":0,"present":false},{"factor":"respiratory_failure","points":0,"present":false},{"factor":"recent_stroke","points":0,"present":false},{"factor":"recent_myocardial_infarction","points":0,"present":false},{"factor":"acute_infectious_disease","points":0,"present":false},{"factor":"acute_rheumatic_disease","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"myeloproliferative_syndrome","points":0,"present":false},{"factor":"nephrotic_syndrome","points":0,"present":false},{"factor":"history_of_vte","points":0,"present":false},{"factor":"known_hypercoagulable_state","points":0,"present":false},{"factor":"immobilization_ge_3d","points":0,"present":false},{"factor":"recent_travel_gt_6h","points":0,"present":false},{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"obesity_bmi_gt_30","points":0,"present":false},{"factor":"chronic_venous_insufficiency","points":0,"present":false},{"factor":"pregnancy","points":0,"present":false},{"factor":"hormonal_therapy","points":0,"present":false},{"factor":"dehydration","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":"geneva_prophylaxis","formula_expression":"geneva_prophylaxis = cardiac_failure (2) + respiratory_failure (2) + recent_stroke (2) + recent_myocardial_infarction (2) + acute_infectious_disease (2) + acute_rheumatic_disease (2) + malignancy (2) + myeloproliferative_syndrome (2) + nephrotic_syndrome (2) + history_of_vte (2) + known_hypercoagulable_state (2) + immobilization_ge_3d (1) + recent_travel_gt_6h (1) + age>60 (1) + obesity_bmi_gt_30 (1) + chronic_venous_insufficiency (1) + pregnancy (1) + hormonal_therapy (1) + dehydration (1); Chopard 2006 letter table; max 30; <3 low, >=3 high (prophylaxis indicated)","max_score":30,"risk_group":"low","score":0}],"path":"/api/calc/geneva_prophylaxis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_infectious_disease":{"description":"Acute infectious disease including sepsis as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose infection.","type":"boolean"},"acute_rheumatic_disease":{"description":"Acute rheumatic disease as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose rheumatic disease.","type":"boolean"},"age":{"description":"Age in years (18-120). Age >60 scores 1 (Chopard 2006). Age 60 is the ≤60 arm and scores 0.","type":"integer"},"cardiac_failure":{"description":"Cardiac failure as assigned by the caller (Chopard 2006 Geneva prophylaxis table). true scores 2. magent does not examine the patient.","type":"boolean"},"chronic_venous_insufficiency":{"description":"Chronic venous insufficiency as assigned by the caller (Chopard 2006). true scores 1. magent does not examine the patient.","type":"boolean"},"dehydration":{"description":"Dehydration as assigned by the caller (Chopard 2006). true scores 1. magent does not assay volume status.","type":"boolean"},"history_of_vte":{"description":"History of VTE as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose VTE.","type":"boolean"},"hormonal_therapy":{"description":"Hormonal therapy as assigned by the caller (Chopard 2006). true scores 1.","type":"boolean"},"immobilization_ge_3d":{"description":"Immobilization as assigned by the caller (walk <30 min/day for ≥3 days, Chopard 2006). true scores 1. magent does not observe walking time.","type":"boolean"},"known_hypercoagulable_state":{"description":"Known hypercoagulable state as assigned by the caller (Chopard 2006). true scores 2. magent does not interpret a thrombophilia panel.","type":"boolean"},"malignancy":{"description":"Malignancy as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose cancer.","type":"boolean"},"myeloproliferative_syndrome":{"description":"Myeloproliferative syndrome as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose a myeloproliferative neoplasm.","type":"boolean"},"nephrotic_syndrome":{"description":"Nephrotic syndrome as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose nephrotic syndrome.","type":"boolean"},"obesity_bmi_gt_30":{"description":"Obesity as assigned by the caller (BMI >30, Chopard 2006). true scores 1. magent does not take height or weight.","type":"boolean"},"pregnancy":{"description":"Pregnancy as assigned by the caller (Chopard 2006). true scores 1. magent does not confirm pregnancy.","type":"boolean"},"recent_myocardial_infarction":{"description":"Recent myocardial infarction as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose myocardial infarction.","type":"boolean"},"recent_stroke":{"description":"Recent stroke as assigned by the caller (Chopard 2006). true scores 2. magent does not diagnose stroke.","type":"boolean"},"recent_travel_gt_6h":{"description":"Recent travel >6 hours as assigned by the caller (Chopard 2006). true scores 1.","type":"boolean"},"respiratory_failure":{"description":"Respiratory failure as assigned by the caller (Chopard 2006). true scores 2. magent does not examine the patient.","type":"boolean"}},"required":["age","cardiac_failure","respiratory_failure","recent_stroke","recent_myocardial_infarction","acute_infectious_disease","acute_rheumatic_disease","malignancy","myeloproliferative_syndrome","nephrotic_syndrome","history_of_vte","known_hypercoagulable_state","immobilization_ge_3d","recent_travel_gt_6h","obesity_bmi_gt_30","chronic_venous_insufficiency","pregnancy","hormonal_therapy","dehydration"],"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},{"id":39493,"slug":"39493","resource":"https://api.magentlab.com/api/calc/cisne","description":"Carmona-Bayonas 2015 CISNE: ECOG ≥2 (2), stress hyperglycemia (2), COPD (1), chronic cardiovascular disease (1), NCI CTC mucositis ≥2 (1), monocytes <200/µL (1). Max 8. Low 0, intermediate 1–2, high ≥3. Seemingly stable adult solid-tumor febrile neutropenia only. Deterministic published score with citation; not MASCC; not an outpatient-chemotherapy or discharge order. magent does not assign ECOG, assay glucose, diagnose COPD, read an echocardiogram, grade mucositis, or count monocytes.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"chronic_cardiovascular_disease":false,"copd":false,"ecog_ge_2":false,"monocytes_lt_200":false,"mucositis_nci_ge_2":false,"stress_hyperglycemia":false},{"chronic_cardiovascular_disease":false,"copd":false,"ecog_ge_2":false,"monocytes_lt_200":false,"mucositis_nci_ge_2":false,"stress_hyperglycemia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cisne_band":"low","citation":{"authors":"Carmona-Bayonas A, Jiménez-Fonseca P, Virizuela Echaburu J, Antonio M, Font C, Biosca M, Ramchandani A, Martínez J, Hernando Cubero J, Espinosa J, Martínez de Castro E, Ghanem I, Beato C, Blasco A, Garrido M, Bonilla Y, Mondéjar R, Arcusa Lanza MÁ, Aragón Manrique I, Manzano A, Sevillano E, Castañón E, Cardona M, Gallardo Martín E, Pérez Armillas Q, Sánchez Lasheras F, Ayala de la Peña F","doi":"10.1200/JCO.2014.57.2347","id":"carmona-bayonas-2015","pmid":"25559804","source":"J Clin Oncol. 2015;33(5):465-471","title":"Prediction of serious complications in patients with seemingly stable febrile neutropenia: validation of the Clinical Index of Stable Febrile Neutropenia in a prospective cohort of patients from the FINITE study"},"components":[{"factor":"ecog_ge_2","points":0,"present":false},{"factor":"stress_hyperglycemia","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"chronic_cardiovascular_disease","points":0,"present":false},{"factor":"mucositis_nci_ge_2","points":0,"present":false},{"factor":"monocytes_lt_200","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":"cisne","formula_expression":"CISNE = ecog_ge_2 2 + stress_hyperglycemia 2 + copd 1 + chronic_cardiovascular_disease 1 + mucositis_nci_ge_2 1 + monocytes_lt_200 1; Carmona-Bayonas 2015; max 8; low 0, intermediate 1-2, high ≥3","max_score":8,"score":0},{"cisne_band":"low","citation":{"authors":"Carmona-Bayonas A, Jiménez-Fonseca P, Virizuela Echaburu J, Antonio M, Font C, Biosca M, Ramchandani A, Martínez J, Hernando Cubero J, Espinosa J, Martínez de Castro E, Ghanem I, Beato C, Blasco A, Garrido M, Bonilla Y, Mondéjar R, Arcusa Lanza MÁ, Aragón Manrique I, Manzano A, Sevillano E, Castañón E, Cardona M, Gallardo Martín E, Pérez Armillas Q, Sánchez Lasheras F, Ayala de la Peña F","doi":"10.1200/JCO.2014.57.2347","id":"carmona-bayonas-2015","pmid":"25559804","source":"J Clin Oncol. 2015;33(5):465-471","title":"Prediction of serious complications in patients with seemingly stable febrile neutropenia: validation of the Clinical Index of Stable Febrile Neutropenia in a prospective cohort of patients from the FINITE study"},"components":[{"factor":"ecog_ge_2","points":0,"present":false},{"factor":"stress_hyperglycemia","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"chronic_cardiovascular_disease","points":0,"present":false},{"factor":"mucositis_nci_ge_2","points":0,"present":false},{"factor":"monocytes_lt_200","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":"cisne","formula_expression":"CISNE = ecog_ge_2 2 + stress_hyperglycemia 2 + copd 1 + chronic_cardiovascular_disease 1 + mucositis_nci_ge_2 1 + monocytes_lt_200 1; Carmona-Bayonas 2015; max 8; low 0, intermediate 1-2, high ≥3","max_score":8,"score":0}],"path":"/api/calc/cisne"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chronic_cardiovascular_disease":{"description":"Chronic cardiovascular disease as assigned by the caller (Carmona-Bayonas 2015). true scores 1. magent does not read an echocardiogram.","type":"boolean"},"copd":{"description":"COPD as assigned by the caller (Carmona-Bayonas 2015). true scores 1. magent does not diagnose COPD.","type":"boolean"},"ecog_ge_2":{"description":"ECOG performance status ≥2 as assigned by the caller (Carmona-Bayonas 2015). true scores 2. magent does not assign ECOG.","type":"boolean"},"monocytes_lt_200":{"description":"Monocytes <200 per µL as assigned by the caller (Carmona-Bayonas 2015). true scores 1. magent does not count monocytes.","type":"boolean"},"mucositis_nci_ge_2":{"description":"NCI CTC mucositis grade ≥2 as assigned by the caller (Carmona-Bayonas 2015). true scores 1, not 3. magent does not grade mucositis.","type":"boolean"},"stress_hyperglycemia":{"description":"Stress hyperglycemia as assigned by the caller (Carmona-Bayonas 2015). true scores 2. magent does not assay glucose.","type":"boolean"}},"required":["ecog_ge_2","stress_hyperglycemia","copd","chronic_cardiovascular_disease","mucositis_nci_ge_2","monocytes_lt_200"],"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":["cisne","neutropenia","infection","fever","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:16:41.817Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:16:41.684Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"chronic_cardiovascular_disease":false,"copd":false,"ecog_ge_2":false,"monocytes_lt_200":false,"mucositis_nci_ge_2":false,"stress_hyperglycemia":false},{"chronic_cardiovascular_disease":false,"copd":false,"ecog_ge_2":false,"monocytes_lt_200":false,"mucositis_nci_ge_2":false,"stress_hyperglycemia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cisne_band":"low","citation":{"authors":"Carmona-Bayonas A, Jiménez-Fonseca P, Virizuela Echaburu J, Antonio M, Font C, Biosca M, Ramchandani A, Martínez J, Hernando Cubero J, Espinosa J, Martínez de Castro E, Ghanem I, Beato C, Blasco A, Garrido M, Bonilla Y, Mondéjar R, Arcusa Lanza MÁ, Aragón Manrique I, Manzano A, Sevillano E, Castañón E, Cardona M, Gallardo Martín E, Pérez Armillas Q, Sánchez Lasheras F, Ayala de la Peña F","doi":"10.1200/JCO.2014.57.2347","id":"carmona-bayonas-2015","pmid":"25559804","source":"J Clin Oncol. 2015;33(5):465-471","title":"Prediction of serious complications in patients with seemingly stable febrile neutropenia: validation of the Clinical Index of Stable Febrile Neutropenia in a prospective cohort of patients from the FINITE study"},"components":[{"factor":"ecog_ge_2","points":0,"present":false},{"factor":"stress_hyperglycemia","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"chronic_cardiovascular_disease","points":0,"present":false},{"factor":"mucositis_nci_ge_2","points":0,"present":false},{"factor":"monocytes_lt_200","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":"cisne","formula_expression":"CISNE = ecog_ge_2 2 + stress_hyperglycemia 2 + copd 1 + chronic_cardiovascular_disease 1 + mucositis_nci_ge_2 1 + monocytes_lt_200 1; Carmona-Bayonas 2015; max 8; low 0, intermediate 1-2, high ≥3","max_score":8,"score":0},{"cisne_band":"low","citation":{"authors":"Carmona-Bayonas A, Jiménez-Fonseca P, Virizuela Echaburu J, Antonio M, Font C, Biosca M, Ramchandani A, Martínez J, Hernando Cubero J, Espinosa J, Martínez de Castro E, Ghanem I, Beato C, Blasco A, Garrido M, Bonilla Y, Mondéjar R, Arcusa Lanza MÁ, Aragón Manrique I, Manzano A, Sevillano E, Castañón E, Cardona M, Gallardo Martín E, Pérez Armillas Q, Sánchez Lasheras F, Ayala de la Peña F","doi":"10.1200/JCO.2014.57.2347","id":"carmona-bayonas-2015","pmid":"25559804","source":"J Clin Oncol. 2015;33(5):465-471","title":"Prediction of serious complications in patients with seemingly stable febrile neutropenia: validation of the Clinical Index of Stable Febrile Neutropenia in a prospective cohort of patients from the FINITE study"},"components":[{"factor":"ecog_ge_2","points":0,"present":false},{"factor":"stress_hyperglycemia","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"chronic_cardiovascular_disease","points":0,"present":false},{"factor":"mucositis_nci_ge_2","points":0,"present":false},{"factor":"monocytes_lt_200","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":"cisne","formula_expression":"CISNE = ecog_ge_2 2 + stress_hyperglycemia 2 + copd 1 + chronic_cardiovascular_disease 1 + mucositis_nci_ge_2 1 + monocytes_lt_200 1; Carmona-Bayonas 2015; max 8; low 0, intermediate 1-2, high ≥3","max_score":8,"score":0}],"path":"/api/calc/cisne"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"chronic_cardiovascular_disease":{"description":"Chronic cardiovascular disease as assigned by the caller (Carmona-Bayonas 2015). true scores 1. magent does not read an echocardiogram.","type":"boolean"},"copd":{"description":"COPD as assigned by the caller (Carmona-Bayonas 2015). true scores 1. magent does not diagnose COPD.","type":"boolean"},"ecog_ge_2":{"description":"ECOG performance status ≥2 as assigned by the caller (Carmona-Bayonas 2015). true scores 2. magent does not assign ECOG.","type":"boolean"},"monocytes_lt_200":{"description":"Monocytes <200 per µL as assigned by the caller (Carmona-Bayonas 2015). true scores 1. magent does not count monocytes.","type":"boolean"},"mucositis_nci_ge_2":{"description":"NCI CTC mucositis grade ≥2 as assigned by the caller (Carmona-Bayonas 2015). true scores 1, not 3. magent does not grade mucositis.","type":"boolean"},"stress_hyperglycemia":{"description":"Stress hyperglycemia as assigned by the caller (Carmona-Bayonas 2015). true scores 2. magent does not assay glucose.","type":"boolean"}},"required":["ecog_ge_2","stress_hyperglycemia","copd","chronic_cardiovascular_disease","mucositis_nci_ge_2","monocytes_lt_200"],"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},{"id":39494,"slug":"39494","resource":"https://api.magentlab.com/api/calc/mascc","description":"MASCC risk index from Klastersky 2000: one burden-of-illness value (none_or_mild 5, moderate 3, severe 0) plus no hypotension (5), no COPD (4), solid tumor or hematologic malignancy without previous fungal infection (4), outpatient (3), no dehydration (3), and age <60 (2). Max 26; low-risk ≥21. Deterministic published arithmetic with citation; not an outpatient-chemotherapy order; magent does not read a blood pressure.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_lt_60":true,"burden":"none_or_mild","no_copd":true,"no_dehydration":true,"no_hypotension":true,"outpatient":true,"solid_tumor_or_no_prior_fungal":true},{"age_lt_60":true,"burden":"none_or_mild","no_copd":true,"no_dehydration":true,"no_hypotension":true,"outpatient":true,"solid_tumor_or_no_prior_fungal":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"burden":"none_or_mild","citation":{"authors":"Klastersky J, Paesmans M, Rubenstein EB, Boyer M, Elting L, Feld R, Gallagher J, Herrstedt J, Rapoport B, Rolston K, Talcott J","doi":"10.1200/JCO.2000.18.16.3038","id":"klastersky-2000","pmid":"10944139","source":"J Clin Oncol. 2000;18(16):3038-3051","title":"The Multinational Association for Supportive Care in Cancer risk index: a multinational scoring system for identifying low-risk febrile neutropenic cancer patients"},"components":[{"factor":"burden","points":5,"present":true,"value":"none_or_mild"},{"factor":"no_hypotension","points":5,"present":true},{"factor":"no_copd","points":4,"present":true},{"factor":"solid_tumor_or_no_prior_fungal","points":4,"present":true},{"factor":"outpatient","points":3,"present":true},{"factor":"no_dehydration","points":3,"present":true},{"factor":"age_lt_60","points":2,"present":true}],"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":"mascc","formula_expression":"MASCC = burden (none_or_mild 5, moderate 3, severe 0; one value) + no_hypotension 5 + no_copd 4 + solid_tumor_or_no_prior_fungal 4 + outpatient 3 + no_dehydration 3 + age_lt_60 2; Klastersky 2000; max 26; low-risk ≥21","mascc_band":"low_risk","max_score":26,"score":26},{"burden":"none_or_mild","citation":{"authors":"Klastersky J, Paesmans M, Rubenstein EB, Boyer M, Elting L, Feld R, Gallagher J, Herrstedt J, Rapoport B, Rolston K, Talcott J","doi":"10.1200/JCO.2000.18.16.3038","id":"klastersky-2000","pmid":"10944139","source":"J Clin Oncol. 2000;18(16):3038-3051","title":"The Multinational Association for Supportive Care in Cancer risk index: a multinational scoring system for identifying low-risk febrile neutropenic cancer patients"},"components":[{"factor":"burden","points":5,"present":true,"value":"none_or_mild"},{"factor":"no_hypotension","points":5,"present":true},{"factor":"no_copd","points":4,"present":true},{"factor":"solid_tumor_or_no_prior_fungal","points":4,"present":true},{"factor":"outpatient","points":3,"present":true},{"factor":"no_dehydration","points":3,"present":true},{"factor":"age_lt_60","points":2,"present":true}],"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":"mascc","formula_expression":"MASCC = burden (none_or_mild 5, moderate 3, severe 0; one value) + no_hypotension 5 + no_copd 4 + solid_tumor_or_no_prior_fungal 4 + outpatient 3 + no_dehydration 3 + age_lt_60 2; Klastersky 2000; max 26; low-risk ≥21","mascc_band":"low_risk","max_score":26,"score":26}],"path":"/api/calc/mascc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_lt_60":{"description":"Age <60 years as assigned by the caller (Klastersky 2000). true scores 2. magent does not parse a numeric age here.","type":"boolean"},"burden":{"description":"Caller-assigned burden of illness (none_or_mild, moderate, or severe). Klastersky 2000: none_or_mild → 5, moderate → 3, severe → 0. One value, not cumulative.","enum":["none_or_mild","moderate","severe"],"type":"string"},"no_copd":{"description":"No COPD as assigned by the caller (Klastersky 2000). true scores 4.","type":"boolean"},"no_dehydration":{"description":"No dehydration requiring parenteral fluids as assigned by the caller (Klastersky 2000). true scores 3.","type":"boolean"},"no_hypotension":{"description":"No hypotension (SBP >90 mm Hg) as assigned by the caller (Klastersky 2000). true scores 5. magent does not read a blood pressure.","type":"boolean"},"outpatient":{"description":"Outpatient status at fever onset as assigned by the caller (Klastersky 2000). true scores 3.","type":"boolean"},"solid_tumor_or_no_prior_fungal":{"description":"Solid tumor, or hematologic malignancy without previous fungal infection, as assigned by the caller (Klastersky 2000). One item. true scores 4.","type":"boolean"}},"required":["burden","no_hypotension","no_copd","solid_tumor_or_no_prior_fungal","outpatient","no_dehydration","age_lt_60"],"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":["mascc","neutropenia","infection","fever","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:16:35.684Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:16:35.538Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_lt_60":true,"burden":"none_or_mild","no_copd":true,"no_dehydration":true,"no_hypotension":true,"outpatient":true,"solid_tumor_or_no_prior_fungal":true},{"age_lt_60":true,"burden":"none_or_mild","no_copd":true,"no_dehydration":true,"no_hypotension":true,"outpatient":true,"solid_tumor_or_no_prior_fungal":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"burden":"none_or_mild","citation":{"authors":"Klastersky J, Paesmans M, Rubenstein EB, Boyer M, Elting L, Feld R, Gallagher J, Herrstedt J, Rapoport B, Rolston K, Talcott J","doi":"10.1200/JCO.2000.18.16.3038","id":"klastersky-2000","pmid":"10944139","source":"J Clin Oncol. 2000;18(16):3038-3051","title":"The Multinational Association for Supportive Care in Cancer risk index: a multinational scoring system for identifying low-risk febrile neutropenic cancer patients"},"components":[{"factor":"burden","points":5,"present":true,"value":"none_or_mild"},{"factor":"no_hypotension","points":5,"present":true},{"factor":"no_copd","points":4,"present":true},{"factor":"solid_tumor_or_no_prior_fungal","points":4,"present":true},{"factor":"outpatient","points":3,"present":true},{"factor":"no_dehydration","points":3,"present":true},{"factor":"age_lt_60","points":2,"present":true}],"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":"mascc","formula_expression":"MASCC = burden (none_or_mild 5, moderate 3, severe 0; one value) + no_hypotension 5 + no_copd 4 + solid_tumor_or_no_prior_fungal 4 + outpatient 3 + no_dehydration 3 + age_lt_60 2; Klastersky 2000; max 26; low-risk ≥21","mascc_band":"low_risk","max_score":26,"score":26},{"burden":"none_or_mild","citation":{"authors":"Klastersky J, Paesmans M, Rubenstein EB, Boyer M, Elting L, Feld R, Gallagher J, Herrstedt J, Rapoport B, Rolston K, Talcott J","doi":"10.1200/JCO.2000.18.16.3038","id":"klastersky-2000","pmid":"10944139","source":"J Clin Oncol. 2000;18(16):3038-3051","title":"The Multinational Association for Supportive Care in Cancer risk index: a multinational scoring system for identifying low-risk febrile neutropenic cancer patients"},"components":[{"factor":"burden","points":5,"present":true,"value":"none_or_mild"},{"factor":"no_hypotension","points":5,"present":true},{"factor":"no_copd","points":4,"present":true},{"factor":"solid_tumor_or_no_prior_fungal","points":4,"present":true},{"factor":"outpatient","points":3,"present":true},{"factor":"no_dehydration","points":3,"present":true},{"factor":"age_lt_60","points":2,"present":true}],"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":"mascc","formula_expression":"MASCC = burden (none_or_mild 5, moderate 3, severe 0; one value) + no_hypotension 5 + no_copd 4 + solid_tumor_or_no_prior_fungal 4 + outpatient 3 + no_dehydration 3 + age_lt_60 2; Klastersky 2000; max 26; low-risk ≥21","mascc_band":"low_risk","max_score":26,"score":26}],"path":"/api/calc/mascc"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_lt_60":{"description":"Age <60 years as assigned by the caller (Klastersky 2000). true scores 2. magent does not parse a numeric age here.","type":"boolean"},"burden":{"description":"Caller-assigned burden of illness (none_or_mild, moderate, or severe). Klastersky 2000: none_or_mild → 5, moderate → 3, severe → 0. One value, not cumulative.","enum":["none_or_mild","moderate","severe"],"type":"string"},"no_copd":{"description":"No COPD as assigned by the caller (Klastersky 2000). true scores 4.","type":"boolean"},"no_dehydration":{"description":"No dehydration requiring parenteral fluids as assigned by the caller (Klastersky 2000). true scores 3.","type":"boolean"},"no_hypotension":{"description":"No hypotension (SBP >90 mm Hg) as assigned by the caller (Klastersky 2000). true scores 5. magent does not read a blood pressure.","type":"boolean"},"outpatient":{"description":"Outpatient status at fever onset as assigned by the caller (Klastersky 2000). true scores 3.","type":"boolean"},"solid_tumor_or_no_prior_fungal":{"description":"Solid tumor, or hematologic malignancy without previous fungal infection, as assigned by the caller (Klastersky 2000). One item. true scores 4.","type":"boolean"}},"required":["burden","no_hypotension","no_copd","solid_tumor_or_no_prior_fungal","outpatient","no_dehydration","age_lt_60"],"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},{"id":39495,"slug":"39495","resource":"https://api.magentlab.com/api/calc/alt_70","description":"Raff 2017 ALT-70 for lower-extremity cellulitis vs pseudocellulitis. Caller-assigned unilateral involvement (3), WBC ≥10,000/µL (1), heart rate ≥90 (1), age ≥70 (2); max 7. Bands 0-2 (pseudocellulitis-leaning), 3-4 (indeterminate), and ≥5 (cellulitis-leaning). Deterministic published score with citation; not a medical device, not a cellulitis diagnosis, and not an antibiotic order. magent does not examine the limb.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"heart_rate_bpm":80,"unilateral":false,"wbc_k_ul":8,"wbc_ul":8000},{"age":40,"heart_rate_bpm":80,"unilateral":false,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"band":"0-2","citation":{"authors":"Raff AB, Weng QY, Cohen JM, et al.","doi":"10.1016/j.jaad.2016.12.044","id":"raff-2017","pmid":"28215446","source":"J Am Acad Dermatol. 2017;76(4):618-625.e2","title":"A predictive model for diagnosis of lower extremity cellulitis: A cross-sectional study."},"components":[{"factor":"unilateral","points":0,"present":false},{"factor":"leukocytosis","points":0,"present":false,"value":8000},{"factor":"tachycardia","points":0,"present":false,"value":80},{"factor":"age_ge_70","points":0,"present":false,"value":40}],"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":"alt_70","formula_expression":"ALT-70 = (unilateral → 3) + (WBC >= 10000/µL → 1) + (heart_rate_bpm >= 90 → 1) + (age >= 70 → 2); max 7; bands 0-2 / 3-4 / >=5","heart_rate_bpm":80,"max_score":7,"score":0,"unilateral":false,"wbc_per_ul":8000},{"age_years":40,"band":"0-2","citation":{"authors":"Raff AB, Weng QY, Cohen JM, et al.","doi":"10.1016/j.jaad.2016.12.044","id":"raff-2017","pmid":"28215446","source":"J Am Acad Dermatol. 2017;76(4):618-625.e2","title":"A predictive model for diagnosis of lower extremity cellulitis: A cross-sectional study."},"components":[{"factor":"unilateral","points":0,"present":false},{"factor":"leukocytosis","points":0,"present":false,"value":8000},{"factor":"tachycardia","points":0,"present":false,"value":80},{"factor":"age_ge_70","points":0,"present":false,"value":40}],"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":"alt_70","formula_expression":"ALT-70 = (unilateral → 3) + (WBC >= 10000/µL → 1) + (heart_rate_bpm >= 90 → 1) + (age >= 70 → 2); max 7; bands 0-2 / 3-4 / >=5","heart_rate_bpm":80,"max_score":7,"score":0,"unilateral":false,"wbc_per_ul":8000}],"path":"/api/calc/alt_70"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Raff 2017: scores 2 when ≥70. Age 69 does not score.","type":"integer"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Raff 2017: scores 1 when ≥90. Heart rate 89 does not score.","type":"integer"},"unilateral":{"description":"Unilateral (asymmetric) lower-extremity involvement (Raff 2017). true or false as assigned by the caller. 3 points if true. magent does not examine the limb.","type":"boolean"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as k/µL or 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. ≥10 (10,000/µL) scores 1. 9.9 does not score.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. ≥10,000/µL scores 1.","type":"number"}},"required":["age","unilateral","heart_rate_bpm"],"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":["alt-70","cellulitis","infection","leukocytosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:16:29.632Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:16:29.487Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"heart_rate_bpm":80,"unilateral":false,"wbc_k_ul":8,"wbc_ul":8000},{"age":40,"heart_rate_bpm":80,"unilateral":false,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"band":"0-2","citation":{"authors":"Raff AB, Weng QY, Cohen JM, et al.","doi":"10.1016/j.jaad.2016.12.044","id":"raff-2017","pmid":"28215446","source":"J Am Acad Dermatol. 2017;76(4):618-625.e2","title":"A predictive model for diagnosis of lower extremity cellulitis: A cross-sectional study."},"components":[{"factor":"unilateral","points":0,"present":false},{"factor":"leukocytosis","points":0,"present":false,"value":8000},{"factor":"tachycardia","points":0,"present":false,"value":80},{"factor":"age_ge_70","points":0,"present":false,"value":40}],"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":"alt_70","formula_expression":"ALT-70 = (unilateral → 3) + (WBC >= 10000/µL → 1) + (heart_rate_bpm >= 90 → 1) + (age >= 70 → 2); max 7; bands 0-2 / 3-4 / >=5","heart_rate_bpm":80,"max_score":7,"score":0,"unilateral":false,"wbc_per_ul":8000},{"age_years":40,"band":"0-2","citation":{"authors":"Raff AB, Weng QY, Cohen JM, et al.","doi":"10.1016/j.jaad.2016.12.044","id":"raff-2017","pmid":"28215446","source":"J Am Acad Dermatol. 2017;76(4):618-625.e2","title":"A predictive model for diagnosis of lower extremity cellulitis: A cross-sectional study."},"components":[{"factor":"unilateral","points":0,"present":false},{"factor":"leukocytosis","points":0,"present":false,"value":8000},{"factor":"tachycardia","points":0,"present":false,"value":80},{"factor":"age_ge_70","points":0,"present":false,"value":40}],"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":"alt_70","formula_expression":"ALT-70 = (unilateral → 3) + (WBC >= 10000/µL → 1) + (heart_rate_bpm >= 90 → 1) + (age >= 70 → 2); max 7; bands 0-2 / 3-4 / >=5","heart_rate_bpm":80,"max_score":7,"score":0,"unilateral":false,"wbc_per_ul":8000}],"path":"/api/calc/alt_70"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Raff 2017: scores 2 when ≥70. Age 69 does not score.","type":"integer"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Raff 2017: scores 1 when ≥90. Heart rate 89 does not score.","type":"integer"},"unilateral":{"description":"Unilateral (asymmetric) lower-extremity involvement (Raff 2017). true or false as assigned by the caller. 3 points if true. magent does not examine the limb.","type":"boolean"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as k/µL or 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. ≥10 (10,000/µL) scores 1. 9.9 does not score.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. ≥10,000/µL scores 1.","type":"number"}},"required":["age","unilateral","heart_rate_bpm"],"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},{"id":39496,"slug":"39496","resource":"https://api.magentlab.com/api/calc/pedis","description":"Schaper 2004 IWGDF PEDIS: five independent grades, not a summed total. Perfusion 1-3 (no PAD; PAD without CLI; CLI). Extent 1-3 (<1; 1-3; >3 cm2). Depth 1-3 (superficial; fascia/muscle/tendon; bone/joint). Infection 1-4 (none; skin; deeper without SIRS; with SIRS). Sensation 1-2 (protective sensation present or lost). Label like 1-1-1-1-1. Caller assigns grades. Not a medical device or IWGDF treatment; magent does not measure the ulcer, diagnose PAD, or probe bone.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"depth":1,"extent":1,"infection":1,"perfusion":1,"sensation":1},{"depth":1,"extent":1,"infection":1,"perfusion":1,"sensation":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Schaper NC","doi":"10.1002/dmrr.464","id":"schaper-2004","pmid":"15150852","source":"Diabetes Metab Res Rev. 2004;20 Suppl 1:S90-S95","title":"Diabetic foot ulcer classification system for research purposes: a progress report on criteria for including patients in research studies"},"criteria":[{"factor":"perfusion","met":true,"value":1},{"factor":"extent","met":true,"value":1},{"factor":"depth","met":true,"value":1},{"factor":"infection","met":true,"value":1},{"factor":"sensation","met":true,"value":1}],"depth":1,"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.","extent":1,"formula":"pedis","formula_expression":"PEDIS is five independent Schaper 2004 IWGDF grades, not a summed total: perfusion 1-3 (1 no PAD symptoms/signs; 2 PAD without critical limb ischemia; 3 critical limb ischemia); extent 1-3 (ulcer area 1 <1 cm2; 2 1-3 cm2; 3 >3 cm2); depth 1-3 (1 superficial, not through dermis to subcutaneous; 2 to subcutaneous/fascia/muscle/tendon, not bone/joint; 3 bone and/or joint); infection 1-4 (1 none; 2 skin/subcutaneous only; 3 deeper than skin without SIRS; 4 infection with SIRS); sensation 1-2 (1 no loss of protective sensation; 2 loss of protective sensation). Label is perfusion-extent-depth-infection-sensation","infection":1,"pedis":"1-1-1-1-1","perfusion":1,"sensation":1},{"citation":{"authors":"Schaper NC","doi":"10.1002/dmrr.464","id":"schaper-2004","pmid":"15150852","source":"Diabetes Metab Res Rev. 2004;20 Suppl 1:S90-S95","title":"Diabetic foot ulcer classification system for research purposes: a progress report on criteria for including patients in research studies"},"criteria":[{"factor":"perfusion","met":true,"value":1},{"factor":"extent","met":true,"value":1},{"factor":"depth","met":true,"value":1},{"factor":"infection","met":true,"value":1},{"factor":"sensation","met":true,"value":1}],"depth":1,"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.","extent":1,"formula":"pedis","formula_expression":"PEDIS is five independent Schaper 2004 IWGDF grades, not a summed total: perfusion 1-3 (1 no PAD symptoms/signs; 2 PAD without critical limb ischemia; 3 critical limb ischemia); extent 1-3 (ulcer area 1 <1 cm2; 2 1-3 cm2; 3 >3 cm2); depth 1-3 (1 superficial, not through dermis to subcutaneous; 2 to subcutaneous/fascia/muscle/tendon, not bone/joint; 3 bone and/or joint); infection 1-4 (1 none; 2 skin/subcutaneous only; 3 deeper than skin without SIRS; 4 infection with SIRS); sensation 1-2 (1 no loss of protective sensation; 2 loss of protective sensation). Label is perfusion-extent-depth-infection-sensation","infection":1,"pedis":"1-1-1-1-1","perfusion":1,"sensation":1}],"path":"/api/calc/pedis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"depth":{"description":"Depth grade 1-3 as assigned by the caller (Schaper 2004): 1 superficial (not through dermis to subcutaneous); 2 to subcutaneous/fascia/muscle/tendon (not bone/joint); 3 bone and/or joint. magent does not probe bone.","type":"integer"},"extent":{"description":"Extent (ulcer area) grade 1-3 as assigned by the caller (Schaper 2004): 1 <1 cm2; 2 1-3 cm2; 3 >3 cm2. magent does not measure the ulcer.","type":"integer"},"infection":{"description":"Infection grade 1-4 as assigned by the caller (Schaper 2004): 1 none; 2 skin/subcutaneous only; 3 deeper than skin (abscess, osteomyelitis, septic arthritis, fasciitis) without SIRS; 4 infection with SIRS. magent does not diagnose infection.","type":"integer"},"perfusion":{"description":"Perfusion grade 1-3 as assigned by the caller (Schaper 2004): 1 no PAD symptoms/signs; 2 PAD without critical limb ischemia; 3 critical limb ischemia. magent does not diagnose PAD or measure pulses or pressures.","type":"integer"},"sensation":{"description":"Sensation grade 1-2 as assigned by the caller (Schaper 2004): 1 no loss of protective sensation; 2 loss of protective sensation. magent does not test sensation.","type":"integer"}},"required":["perfusion","extent","depth","infection","sensation"],"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":["pedis","diabetic-foot","iwgdf","ulcer","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:16:17.427Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:16:17.298Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"depth":1,"extent":1,"infection":1,"perfusion":1,"sensation":1},{"depth":1,"extent":1,"infection":1,"perfusion":1,"sensation":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Schaper NC","doi":"10.1002/dmrr.464","id":"schaper-2004","pmid":"15150852","source":"Diabetes Metab Res Rev. 2004;20 Suppl 1:S90-S95","title":"Diabetic foot ulcer classification system for research purposes: a progress report on criteria for including patients in research studies"},"criteria":[{"factor":"perfusion","met":true,"value":1},{"factor":"extent","met":true,"value":1},{"factor":"depth","met":true,"value":1},{"factor":"infection","met":true,"value":1},{"factor":"sensation","met":true,"value":1}],"depth":1,"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.","extent":1,"formula":"pedis","formula_expression":"PEDIS is five independent Schaper 2004 IWGDF grades, not a summed total: perfusion 1-3 (1 no PAD symptoms/signs; 2 PAD without critical limb ischemia; 3 critical limb ischemia); extent 1-3 (ulcer area 1 <1 cm2; 2 1-3 cm2; 3 >3 cm2); depth 1-3 (1 superficial, not through dermis to subcutaneous; 2 to subcutaneous/fascia/muscle/tendon, not bone/joint; 3 bone and/or joint); infection 1-4 (1 none; 2 skin/subcutaneous only; 3 deeper than skin without SIRS; 4 infection with SIRS); sensation 1-2 (1 no loss of protective sensation; 2 loss of protective sensation). Label is perfusion-extent-depth-infection-sensation","infection":1,"pedis":"1-1-1-1-1","perfusion":1,"sensation":1},{"citation":{"authors":"Schaper NC","doi":"10.1002/dmrr.464","id":"schaper-2004","pmid":"15150852","source":"Diabetes Metab Res Rev. 2004;20 Suppl 1:S90-S95","title":"Diabetic foot ulcer classification system for research purposes: a progress report on criteria for including patients in research studies"},"criteria":[{"factor":"perfusion","met":true,"value":1},{"factor":"extent","met":true,"value":1},{"factor":"depth","met":true,"value":1},{"factor":"infection","met":true,"value":1},{"factor":"sensation","met":true,"value":1}],"depth":1,"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.","extent":1,"formula":"pedis","formula_expression":"PEDIS is five independent Schaper 2004 IWGDF grades, not a summed total: perfusion 1-3 (1 no PAD symptoms/signs; 2 PAD without critical limb ischemia; 3 critical limb ischemia); extent 1-3 (ulcer area 1 <1 cm2; 2 1-3 cm2; 3 >3 cm2); depth 1-3 (1 superficial, not through dermis to subcutaneous; 2 to subcutaneous/fascia/muscle/tendon, not bone/joint; 3 bone and/or joint); infection 1-4 (1 none; 2 skin/subcutaneous only; 3 deeper than skin without SIRS; 4 infection with SIRS); sensation 1-2 (1 no loss of protective sensation; 2 loss of protective sensation). Label is perfusion-extent-depth-infection-sensation","infection":1,"pedis":"1-1-1-1-1","perfusion":1,"sensation":1}],"path":"/api/calc/pedis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"depth":{"description":"Depth grade 1-3 as assigned by the caller (Schaper 2004): 1 superficial (not through dermis to subcutaneous); 2 to subcutaneous/fascia/muscle/tendon (not bone/joint); 3 bone and/or joint. magent does not probe bone.","type":"integer"},"extent":{"description":"Extent (ulcer area) grade 1-3 as assigned by the caller (Schaper 2004): 1 <1 cm2; 2 1-3 cm2; 3 >3 cm2. magent does not measure the ulcer.","type":"integer"},"infection":{"description":"Infection grade 1-4 as assigned by the caller (Schaper 2004): 1 none; 2 skin/subcutaneous only; 3 deeper than skin (abscess, osteomyelitis, septic arthritis, fasciitis) without SIRS; 4 infection with SIRS. magent does not diagnose infection.","type":"integer"},"perfusion":{"description":"Perfusion grade 1-3 as assigned by the caller (Schaper 2004): 1 no PAD symptoms/signs; 2 PAD without critical limb ischemia; 3 critical limb ischemia. magent does not diagnose PAD or measure pulses or pressures.","type":"integer"},"sensation":{"description":"Sensation grade 1-2 as assigned by the caller (Schaper 2004): 1 no loss of protective sensation; 2 loss of protective sensation. magent does not test sensation.","type":"integer"}},"required":["perfusion","extent","depth","infection","sensation"],"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},{"id":39497,"slug":"39497","resource":"https://api.magentlab.com/api/calc/cpis","description":"Pugin 1991 clinical pulmonary infection score (CPIS, max 12) from temperature, leukocytes and band forms, tracheal secretions, PaO2/FiO2 with ARDS, chest radiograph, and tracheal-aspirate culture. Band CPIS>6 follows the 1991 derivation correlation. Not a VAP diagnosis or Singh modified CPIS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ards":false,"bands_ge_50":false,"chest_radiograph":"none","culture":"none","pf_ratio":300,"temperature_c":37,"tracheal_secretions":"none","wbc_k_ul":8},{"ards":false,"bands_ge_50":false,"chest_radiograph":"none","culture":"none","pf_ratio":300,"temperature_c":37,"tracheal_secretions":"none","wbc_k_ul":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ards":false,"bands_ge_50":false,"chest_radiograph":"none","citation":{"authors":"Pugin J, Auckenthaler R, Mili N, Janssens JP, Lew PD, Suter PM","doi":"10.1164/ajrccm/143.5_Pt_1.1121","id":"pugin-1991","pmid":"2024824","source":"Am Rev Respir Dis. 1991;143(5 Pt 1):1121-1129","title":"Diagnosis of ventilator-associated pneumonia by bacteriologic analysis of bronchoscopic and nonbronchoscopic \"blind\" bronchoalveolar lavage fluid"},"components":[{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"leukocytes","points":0,"present":false,"value":{"bands_ge_50":false,"wbc_k_ul":8}},{"factor":"tracheal_secretions","points":0,"present":false,"value":"none"},{"factor":"oxygenation","points":0,"present":false,"value":{"ards":false,"pf_ratio":300}},{"factor":"chest_radiograph","points":0,"present":false,"value":"none"},{"factor":"culture","points":0,"present":false,"value":"none"}],"cpis_band":"le_6","culture":"none","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":"cpis","formula_expression":"CPIS = temperature(36.5-38.4→0, 38.5-38.9→1, ≥39 or ≤36→2) + leukocytes(4.0-11.0→0, <4.0 or >11.0→1, +1 if abnormal and bands_ge_50) + tracheal_secretions(none→0, nonpurulent→1, purulent→2) + oxygenation(pf_ratio>240 or ards→0, pf_ratio≤240 and not ards→2) + chest_radiograph(none→0, diffuse→1, localized→2) + culture(none→0, pathogen→1, pathogen_and_gram→2); Pugin 1991; max 12; CPIS>6 suggests pulmonary infection in that derivation","max_score":12,"pf_ratio":300,"score":0,"temperature_c":37,"tracheal_secretions":"none","wbc_k_ul":8},{"ards":false,"bands_ge_50":false,"chest_radiograph":"none","citation":{"authors":"Pugin J, Auckenthaler R, Mili N, Janssens JP, Lew PD, Suter PM","doi":"10.1164/ajrccm/143.5_Pt_1.1121","id":"pugin-1991","pmid":"2024824","source":"Am Rev Respir Dis. 1991;143(5 Pt 1):1121-1129","title":"Diagnosis of ventilator-associated pneumonia by bacteriologic analysis of bronchoscopic and nonbronchoscopic \"blind\" bronchoalveolar lavage fluid"},"components":[{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"leukocytes","points":0,"present":false,"value":{"bands_ge_50":false,"wbc_k_ul":8}},{"factor":"tracheal_secretions","points":0,"present":false,"value":"none"},{"factor":"oxygenation","points":0,"present":false,"value":{"ards":false,"pf_ratio":300}},{"factor":"chest_radiograph","points":0,"present":false,"value":"none"},{"factor":"culture","points":0,"present":false,"value":"none"}],"cpis_band":"le_6","culture":"none","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":"cpis","formula_expression":"CPIS = temperature(36.5-38.4→0, 38.5-38.9→1, ≥39 or ≤36→2) + leukocytes(4.0-11.0→0, <4.0 or >11.0→1, +1 if abnormal and bands_ge_50) + tracheal_secretions(none→0, nonpurulent→1, purulent→2) + oxygenation(pf_ratio>240 or ards→0, pf_ratio≤240 and not ards→2) + chest_radiograph(none→0, diffuse→1, localized→2) + culture(none→0, pathogen→1, pathogen_and_gram→2); Pugin 1991; max 12; CPIS>6 suggests pulmonary infection in that derivation","max_score":12,"pf_ratio":300,"score":0,"temperature_c":37,"tracheal_secretions":"none","wbc_k_ul":8}],"path":"/api/calc/cpis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ards":{"description":"Caller-assigned ARDS. true scores 0 for oxygenation even when pf_ratio ≤240. true or false.","type":"boolean"},"bands_ge_50":{"description":"Caller-assigned ≥50% band forms (Pugin 1991). true adds 1 only when WBC is already <4.0 or >11.0. true or false.","type":"boolean"},"chest_radiograph":{"description":"Caller-assigned chest radiograph. none scores 0; diffuse scores 1; localized scores 2. magent does not read the radiograph.","enum":["none","diffuse","localized"],"type":"string"},"culture":{"description":"Caller-assigned tracheal-aspirate culture. none scores 0; pathogen (moderate/heavy pathogenic growth) scores 1; pathogen_and_gram (same pathogen on Gram stain) scores 2. magent does not read Gram stains.","enum":["none","pathogen","pathogen_and_gram"],"type":"string"},"pf_ratio":{"description":"PaO2/FiO2 in mm Hg (20-800). >240 or ards=true scores 0; ≤240 and ards=false scores 2 (Pugin 1991).","type":"number"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). 36.5-38.4 scores 0; 38.5-38.9 scores 1; ≥39.0 or ≤36.0 scores 2 (Pugin 1991).","type":"number"},"tracheal_secretions":{"description":"Caller-assigned tracheal secretions. none scores 0; nonpurulent scores 1; purulent scores 2 (Pugin 1991).","enum":["none","nonpurulent","purulent"],"type":"string"},"wbc_k_ul":{"description":"WBC in 10^3/mm^3 (same as 10^3/µL or 10^9/L). Range 0.01-500. 4.0-11.0 scores 0; <4.0 or >11.0 scores 1. Abnormal WBC plus bands_ge_50 scores 2 for this domain.","type":"number"}},"required":["temperature_c","wbc_k_ul","bands_ge_50","tracheal_secretions","pf_ratio","ards","chest_radiograph","culture"],"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":["cpis","vap","pneumonia","pugin","infection","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:16:04.566Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:16:04.424Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ards":false,"bands_ge_50":false,"chest_radiograph":"none","culture":"none","pf_ratio":300,"temperature_c":37,"tracheal_secretions":"none","wbc_k_ul":8},{"ards":false,"bands_ge_50":false,"chest_radiograph":"none","culture":"none","pf_ratio":300,"temperature_c":37,"tracheal_secretions":"none","wbc_k_ul":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"ards":false,"bands_ge_50":false,"chest_radiograph":"none","citation":{"authors":"Pugin J, Auckenthaler R, Mili N, Janssens JP, Lew PD, Suter PM","doi":"10.1164/ajrccm/143.5_Pt_1.1121","id":"pugin-1991","pmid":"2024824","source":"Am Rev Respir Dis. 1991;143(5 Pt 1):1121-1129","title":"Diagnosis of ventilator-associated pneumonia by bacteriologic analysis of bronchoscopic and nonbronchoscopic \"blind\" bronchoalveolar lavage fluid"},"components":[{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"leukocytes","points":0,"present":false,"value":{"bands_ge_50":false,"wbc_k_ul":8}},{"factor":"tracheal_secretions","points":0,"present":false,"value":"none"},{"factor":"oxygenation","points":0,"present":false,"value":{"ards":false,"pf_ratio":300}},{"factor":"chest_radiograph","points":0,"present":false,"value":"none"},{"factor":"culture","points":0,"present":false,"value":"none"}],"cpis_band":"le_6","culture":"none","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":"cpis","formula_expression":"CPIS = temperature(36.5-38.4→0, 38.5-38.9→1, ≥39 or ≤36→2) + leukocytes(4.0-11.0→0, <4.0 or >11.0→1, +1 if abnormal and bands_ge_50) + tracheal_secretions(none→0, nonpurulent→1, purulent→2) + oxygenation(pf_ratio>240 or ards→0, pf_ratio≤240 and not ards→2) + chest_radiograph(none→0, diffuse→1, localized→2) + culture(none→0, pathogen→1, pathogen_and_gram→2); Pugin 1991; max 12; CPIS>6 suggests pulmonary infection in that derivation","max_score":12,"pf_ratio":300,"score":0,"temperature_c":37,"tracheal_secretions":"none","wbc_k_ul":8},{"ards":false,"bands_ge_50":false,"chest_radiograph":"none","citation":{"authors":"Pugin J, Auckenthaler R, Mili N, Janssens JP, Lew PD, Suter PM","doi":"10.1164/ajrccm/143.5_Pt_1.1121","id":"pugin-1991","pmid":"2024824","source":"Am Rev Respir Dis. 1991;143(5 Pt 1):1121-1129","title":"Diagnosis of ventilator-associated pneumonia by bacteriologic analysis of bronchoscopic and nonbronchoscopic \"blind\" bronchoalveolar lavage fluid"},"components":[{"factor":"temperature_c","points":0,"present":false,"value":37},{"factor":"leukocytes","points":0,"present":false,"value":{"bands_ge_50":false,"wbc_k_ul":8}},{"factor":"tracheal_secretions","points":0,"present":false,"value":"none"},{"factor":"oxygenation","points":0,"present":false,"value":{"ards":false,"pf_ratio":300}},{"factor":"chest_radiograph","points":0,"present":false,"value":"none"},{"factor":"culture","points":0,"present":false,"value":"none"}],"cpis_band":"le_6","culture":"none","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":"cpis","formula_expression":"CPIS = temperature(36.5-38.4→0, 38.5-38.9→1, ≥39 or ≤36→2) + leukocytes(4.0-11.0→0, <4.0 or >11.0→1, +1 if abnormal and bands_ge_50) + tracheal_secretions(none→0, nonpurulent→1, purulent→2) + oxygenation(pf_ratio>240 or ards→0, pf_ratio≤240 and not ards→2) + chest_radiograph(none→0, diffuse→1, localized→2) + culture(none→0, pathogen→1, pathogen_and_gram→2); Pugin 1991; max 12; CPIS>6 suggests pulmonary infection in that derivation","max_score":12,"pf_ratio":300,"score":0,"temperature_c":37,"tracheal_secretions":"none","wbc_k_ul":8}],"path":"/api/calc/cpis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ards":{"description":"Caller-assigned ARDS. true scores 0 for oxygenation even when pf_ratio ≤240. true or false.","type":"boolean"},"bands_ge_50":{"description":"Caller-assigned ≥50% band forms (Pugin 1991). true adds 1 only when WBC is already <4.0 or >11.0. true or false.","type":"boolean"},"chest_radiograph":{"description":"Caller-assigned chest radiograph. none scores 0; diffuse scores 1; localized scores 2. magent does not read the radiograph.","enum":["none","diffuse","localized"],"type":"string"},"culture":{"description":"Caller-assigned tracheal-aspirate culture. none scores 0; pathogen (moderate/heavy pathogenic growth) scores 1; pathogen_and_gram (same pathogen on Gram stain) scores 2. magent does not read Gram stains.","enum":["none","pathogen","pathogen_and_gram"],"type":"string"},"pf_ratio":{"description":"PaO2/FiO2 in mm Hg (20-800). >240 or ards=true scores 0; ≤240 and ards=false scores 2 (Pugin 1991).","type":"number"},"temperature_c":{"description":"Temperature in °C (30.0-45.0). 36.5-38.4 scores 0; 38.5-38.9 scores 1; ≥39.0 or ≤36.0 scores 2 (Pugin 1991).","type":"number"},"tracheal_secretions":{"description":"Caller-assigned tracheal secretions. none scores 0; nonpurulent scores 1; purulent scores 2 (Pugin 1991).","enum":["none","nonpurulent","purulent"],"type":"string"},"wbc_k_ul":{"description":"WBC in 10^3/mm^3 (same as 10^3/µL or 10^9/L). Range 0.01-500. 4.0-11.0 scores 0; <4.0 or >11.0 scores 1. Abnormal WBC plus bands_ge_50 scores 2 for this domain.","type":"number"}},"required":["temperature_c","wbc_k_ul","bands_ge_50","tracheal_secretions","pf_ratio","ards","chest_radiograph","culture"],"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},{"id":39498,"slug":"39498","resource":"https://api.magentlab.com/api/calc/prs","description":"Lipsett 2022 Pneumonia Risk Score for children 3 months to 18 years: logistic probability of radiographic pneumonia from age, triage oxygen saturation, fever, rales, and wheeze, plus the published supplement integer score 1–6. Caller-assigned findings. Not a diagnosis, not a CXR order, and not adult CURB-65.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":2,"fever":false,"rales":false,"spo2_percent":99,"wheeze":false},{"age_years":2,"fever":false,"rales":false,"spo2_percent":99,"wheeze":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":2,"citation":{"authors":"Lipsett SC, Hirsch AW, Monuteaux MC, Bachur RG, Neuman MI","doi":"10.1097/INF.0000000000003361","id":"lipsett-2022","pmid":"34694254","source":"Pediatr Infect Dis J. 2022;41(1):24-30","title":"Development of the Novel Pneumonia Risk Score to Predict Radiographic Pneumonia in Children"},"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.","fever":false,"formula":"prs","formula_expression":"logit = 18.05624 + 0.098308*age_years + 1.144985*fever + (-0.21636)*spo2_percent + 0.407494*rales + (-0.907087)*wheeze (Lipsett 2022 SDC INF/E552; flags 1 if true else 0); probability_percent = 100 * exp(logit) / (1 + exp(logit)) from the unrounded logit, 2 decimals; score 1 if p < 0.05, 2 if p < 0.11, 3 if p < 0.21, 4 if p < 0.51, 5 if p < 0.75, else 6 (SDC wrote >=0.76 after <0.75; magent closes that hole at 0.75)","logit":-3.1668,"max_score":6,"probability_percent":4.04,"rales":false,"score":1,"spo2_percent":99,"wheeze":false},{"age_years":2,"citation":{"authors":"Lipsett SC, Hirsch AW, Monuteaux MC, Bachur RG, Neuman MI","doi":"10.1097/INF.0000000000003361","id":"lipsett-2022","pmid":"34694254","source":"Pediatr Infect Dis J. 2022;41(1):24-30","title":"Development of the Novel Pneumonia Risk Score to Predict Radiographic Pneumonia in Children"},"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.","fever":false,"formula":"prs","formula_expression":"logit = 18.05624 + 0.098308*age_years + 1.144985*fever + (-0.21636)*spo2_percent + 0.407494*rales + (-0.907087)*wheeze (Lipsett 2022 SDC INF/E552; flags 1 if true else 0); probability_percent = 100 * exp(logit) / (1 + exp(logit)) from the unrounded logit, 2 decimals; score 1 if p < 0.05, 2 if p < 0.11, 3 if p < 0.21, 4 if p < 0.51, 5 if p < 0.75, else 6 (SDC wrote >=0.76 after <0.75; magent closes that hole at 0.75)","logit":-3.1668,"max_score":6,"probability_percent":4.04,"rales":false,"score":1,"spo2_percent":99,"wheeze":false}],"path":"/api/calc/prs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years, continuous (0.25-18). Lipsett 2022 enrolled children 3 months to 18 years. Not adult Params.age.","type":"number"},"fever":{"description":"Fever at home or in the ED (Lipsett 2022 SDC: >38°C). true or false. Caller-assigned.","type":"boolean"},"rales":{"description":"Rales / crackles on exam as assigned by the caller (Lipsett 2022). true or false. magent does not auscultate.","type":"boolean"},"spo2_percent":{"description":"Triage / first oxygen saturation percent (50-100). Caller-assigned. magent does not measure saturation.","type":"number"},"wheeze":{"description":"Wheeze on exam as assigned by the caller (Lipsett 2022). true or false. magent does not auscultate.","type":"boolean"}},"required":["age_years","spo2_percent","fever","rales","wheeze"],"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":["prs","pneumonia","pediatric","radiograph","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:15:57.533Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:15:57.4Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":2,"fever":false,"rales":false,"spo2_percent":99,"wheeze":false},{"age_years":2,"fever":false,"rales":false,"spo2_percent":99,"wheeze":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":2,"citation":{"authors":"Lipsett SC, Hirsch AW, Monuteaux MC, Bachur RG, Neuman MI","doi":"10.1097/INF.0000000000003361","id":"lipsett-2022","pmid":"34694254","source":"Pediatr Infect Dis J. 2022;41(1):24-30","title":"Development of the Novel Pneumonia Risk Score to Predict Radiographic Pneumonia in Children"},"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.","fever":false,"formula":"prs","formula_expression":"logit = 18.05624 + 0.098308*age_years + 1.144985*fever + (-0.21636)*spo2_percent + 0.407494*rales + (-0.907087)*wheeze (Lipsett 2022 SDC INF/E552; flags 1 if true else 0); probability_percent = 100 * exp(logit) / (1 + exp(logit)) from the unrounded logit, 2 decimals; score 1 if p < 0.05, 2 if p < 0.11, 3 if p < 0.21, 4 if p < 0.51, 5 if p < 0.75, else 6 (SDC wrote >=0.76 after <0.75; magent closes that hole at 0.75)","logit":-3.1668,"max_score":6,"probability_percent":4.04,"rales":false,"score":1,"spo2_percent":99,"wheeze":false},{"age_years":2,"citation":{"authors":"Lipsett SC, Hirsch AW, Monuteaux MC, Bachur RG, Neuman MI","doi":"10.1097/INF.0000000000003361","id":"lipsett-2022","pmid":"34694254","source":"Pediatr Infect Dis J. 2022;41(1):24-30","title":"Development of the Novel Pneumonia Risk Score to Predict Radiographic Pneumonia in Children"},"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.","fever":false,"formula":"prs","formula_expression":"logit = 18.05624 + 0.098308*age_years + 1.144985*fever + (-0.21636)*spo2_percent + 0.407494*rales + (-0.907087)*wheeze (Lipsett 2022 SDC INF/E552; flags 1 if true else 0); probability_percent = 100 * exp(logit) / (1 + exp(logit)) from the unrounded logit, 2 decimals; score 1 if p < 0.05, 2 if p < 0.11, 3 if p < 0.21, 4 if p < 0.51, 5 if p < 0.75, else 6 (SDC wrote >=0.76 after <0.75; magent closes that hole at 0.75)","logit":-3.1668,"max_score":6,"probability_percent":4.04,"rales":false,"score":1,"spo2_percent":99,"wheeze":false}],"path":"/api/calc/prs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years, continuous (0.25-18). Lipsett 2022 enrolled children 3 months to 18 years. Not adult Params.age.","type":"number"},"fever":{"description":"Fever at home or in the ED (Lipsett 2022 SDC: >38°C). true or false. Caller-assigned.","type":"boolean"},"rales":{"description":"Rales / crackles on exam as assigned by the caller (Lipsett 2022). true or false. magent does not auscultate.","type":"boolean"},"spo2_percent":{"description":"Triage / first oxygen saturation percent (50-100). Caller-assigned. magent does not measure saturation.","type":"number"},"wheeze":{"description":"Wheeze on exam as assigned by the caller (Lipsett 2022). true or false. magent does not auscultate.","type":"boolean"}},"required":["age_years","spo2_percent","fever","rales","wheeze"],"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},{"id":39499,"slug":"39499","resource":"https://api.magentlab.com/api/calc/pediatric_sirs","description":"Goldstein 2005 pediatric SIRS from age-group HR, RR, WBC, and core temperature. Present when ≥2 of 4 Table 3 criteria include abnormal temperature (>38.5 or <36 C) or leukocyte. Sepsis is SIRS plus suspected infection; severe sepsis and septic shock use caller-assigned organ-dysfunction flags. magent does not measure vitals or assay WBC. Not Bone 1992 adult SIRS and not Phoenix 2024. Not a medical device and not a diagnosis or sepsis order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_group":"school_age","ards":false,"band_percent":5,"cardiovascular_dysfunction":false,"heart_rate_bpm":100,"mechanical_ventilation":false,"respiratory_rate":16,"suspected_infection":false,"temperature_c":37,"two_or_more_other_organ_dysfunctions":false,"wbc_k_ul":8,"wbc_ul":8000},{"age_group":"school_age","ards":false,"band_percent":5,"cardiovascular_dysfunction":false,"heart_rate_bpm":100,"mechanical_ventilation":false,"respiratory_rate":16,"suspected_infection":false,"temperature_c":37,"two_or_more_other_organ_dysfunctions":false,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_group":"school_age","category":"none","citation":{"authors":"Goldstein B, Giroir B, Randolph A; International Consensus Conference on Pediatric Sepsis","doi":"10.1097/01.PCC.0000149131.72248.E6","id":"goldstein-2005","pmid":"15636651","source":"Pediatr Crit Care Med. 2005;6(1):2-8","title":"International pediatric sepsis consensus conference: definitions for sepsis and organ dysfunction in pediatrics"},"criteria":[{"factor":"temperature","met":false,"value":37},{"factor":"heart_rate","met":false,"value":100},{"factor":"respiratory","met":false,"value":16},{"factor":"leukocyte","met":false,"value":8},{"factor":"suspected_infection","met":false},{"factor":"cardiovascular_dysfunction","met":false},{"factor":"ards","met":false},{"factor":"two_or_more_other_organ_dysfunctions","met":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":"pediatric_sirs","formula_expression":"pediatric SIRS iff >=2 of 4 Goldstein 2005 Table 3 age-group criteria and (temperature or leukocyte): core temperature_c >38.5 or <36; heart_rate_bpm > tachycardia cutoff or (newborn/neonate/infant) < bradycardia cutoff; respiratory_rate > cutoff or mechanical_ventilation; wbc_k_ul > high or < low for age (newborn high-only) or band_percent >10; sepsis iff SIRS and suspected_infection; severe_sepsis iff sepsis and (cardiovascular_dysfunction or ards or two_or_more_other_organ_dysfunctions); septic_shock iff sepsis and cardiovascular_dysfunction","heart_rate_bpm":100,"respiratory_rate":16,"sepsis":false,"septic_shock":false,"severe_sepsis":false,"sirs_criteria_met":0,"sirs_present":false,"temperature_c":37,"wbc_k_ul":8},{"age_group":"school_age","category":"none","citation":{"authors":"Goldstein B, Giroir B, Randolph A; International Consensus Conference on Pediatric Sepsis","doi":"10.1097/01.PCC.0000149131.72248.E6","id":"goldstein-2005","pmid":"15636651","source":"Pediatr Crit Care Med. 2005;6(1):2-8","title":"International pediatric sepsis consensus conference: definitions for sepsis and organ dysfunction in pediatrics"},"criteria":[{"factor":"temperature","met":false,"value":37},{"factor":"heart_rate","met":false,"value":100},{"factor":"respiratory","met":false,"value":16},{"factor":"leukocyte","met":false,"value":8},{"factor":"suspected_infection","met":false},{"factor":"cardiovascular_dysfunction","met":false},{"factor":"ards","met":false},{"factor":"two_or_more_other_organ_dysfunctions","met":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":"pediatric_sirs","formula_expression":"pediatric SIRS iff >=2 of 4 Goldstein 2005 Table 3 age-group criteria and (temperature or leukocyte): core temperature_c >38.5 or <36; heart_rate_bpm > tachycardia cutoff or (newborn/neonate/infant) < bradycardia cutoff; respiratory_rate > cutoff or mechanical_ventilation; wbc_k_ul > high or < low for age (newborn high-only) or band_percent >10; sepsis iff SIRS and suspected_infection; severe_sepsis iff sepsis and (cardiovascular_dysfunction or ards or two_or_more_other_organ_dysfunctions); septic_shock iff sepsis and cardiovascular_dysfunction","heart_rate_bpm":100,"respiratory_rate":16,"sepsis":false,"septic_shock":false,"severe_sepsis":false,"sirs_criteria_met":0,"sirs_present":false,"temperature_c":37,"wbc_k_ul":8}],"path":"/api/calc/pediatric_sirs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_group":{"description":"Goldstein 2005 Table 1 age group. One of: newborn (0 days to 1 week; HR >180 or <100, RR >50, WBC >34 k/µL), neonate (1 week to 1 month; HR >180 or <100, RR >40, WBC >19.5 or <5), infant (1 month to 1 year; HR >180 or <90, RR >34, WBC >17.5 or <5), toddler_preschool (2-5 years; HR >140, RR >22, WBC >15.5 or <6), school_age (6-12 years; HR >130, RR >18, WBC >13.5 or <4.5), adolescent (13-18 years; HR >110, RR >14, WBC >11 or <4.5). magent does not map chronological age (the paper has a 1-2 year gap).","type":"string"},"ards":{"description":"Caller-assigned acute respiratory distress syndrome as used for severe sepsis in Goldstein 2005 Table 2. true or false. magent does not interpret imaging or PaO2/FiO2.","type":"boolean"},"band_percent":{"description":"Immature neutrophils as a percent of WBC (0-100) when provided. Omitted does not use bands. >10 meets the leukocyte criterion (10 does not). magent does not assay bands.","type":"number"},"cardiovascular_dysfunction":{"description":"Caller-assigned cardiovascular organ dysfunction as in Goldstein 2005 Table 4. With SIRS and suspected_infection, this is septic shock (and severe sepsis). true or false. magent does not apply Table 4 from raw labs or blood pressure.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-300). Meets when greater than the age-group tachycardia cutoff, or when less than the bradycardia cutoff for newborn, neonate, or infant only (Goldstein 2005 Table 3). Equal to the cutoff does not meet. magent does not measure heart rate.","type":"integer"},"mechanical_ventilation":{"description":"Caller-assigned mechanical ventilation for an acute process not related to underlying neuromuscular disease or general anesthesia (Goldstein 2005 Table 2 respiratory criterion). true meets the respiratory criterion. Omitted is false. true or false. magent does not examine ventilation.","type":"boolean"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-120). Meets when greater than the age-group cutoff (Goldstein 2005 Table 3). Equal to the cutoff does not meet. Optional mechanical_ventilation also meets this criterion. magent does not measure respiratory rate.","type":"integer"},"suspected_infection":{"description":"Caller-assigned suspected or proven infection (Goldstein 2005 Table 2). Sepsis requires SIRS and this true. true or false. magent does not diagnose infection.","type":"boolean"},"temperature_c":{"description":"Core temperature in °C (30.0-45.0), rectal, bladder, oral, or central-catheter probe as in Goldstein 2005. >38.5 or <36 meets the temperature criterion (38.5 and 36.0 do not). Not Bone 1992 adult >38. magent does not measure temperature.","type":"number"},"two_or_more_other_organ_dysfunctions":{"description":"Caller-assigned two or more other organ dysfunctions (respiratory, renal, neurologic, hematologic, or hepatic per Goldstein 2005 Table 2/4) for severe sepsis when cardiovascular dysfunction and ARDS are absent. true or false. magent does not apply Table 4 from raw labs.","type":"boolean"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^3/mm^3 in Goldstein 2005 Table 3). Provide wbc_k_ul or wbc_ul. Range 0.01-500. Meets when greater than the age-group high cutoff or less than the low cutoff (newborn has high-only; no leukopenia bound). Equal to a cutoff does not meet. magent does not assay WBC.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL. Provide wbc_k_ul or wbc_ul. Range 10-500000. Converted to 10^3/µL for Table 3 cutoffs. magent does not assay WBC.","type":"number"}},"required":["age_group","temperature_c","heart_rate_bpm","respiratory_rate","suspected_infection","cardiovascular_dysfunction","ards","two_or_more_other_organ_dysfunctions"],"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":["pediatric-sirs","goldstein-2005","sepsis","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:15:50.515Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:15:50.378Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_group":"school_age","ards":false,"band_percent":5,"cardiovascular_dysfunction":false,"heart_rate_bpm":100,"mechanical_ventilation":false,"respiratory_rate":16,"suspected_infection":false,"temperature_c":37,"two_or_more_other_organ_dysfunctions":false,"wbc_k_ul":8,"wbc_ul":8000},{"age_group":"school_age","ards":false,"band_percent":5,"cardiovascular_dysfunction":false,"heart_rate_bpm":100,"mechanical_ventilation":false,"respiratory_rate":16,"suspected_infection":false,"temperature_c":37,"two_or_more_other_organ_dysfunctions":false,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_group":"school_age","category":"none","citation":{"authors":"Goldstein B, Giroir B, Randolph A; International Consensus Conference on Pediatric Sepsis","doi":"10.1097/01.PCC.0000149131.72248.E6","id":"goldstein-2005","pmid":"15636651","source":"Pediatr Crit Care Med. 2005;6(1):2-8","title":"International pediatric sepsis consensus conference: definitions for sepsis and organ dysfunction in pediatrics"},"criteria":[{"factor":"temperature","met":false,"value":37},{"factor":"heart_rate","met":false,"value":100},{"factor":"respiratory","met":false,"value":16},{"factor":"leukocyte","met":false,"value":8},{"factor":"suspected_infection","met":false},{"factor":"cardiovascular_dysfunction","met":false},{"factor":"ards","met":false},{"factor":"two_or_more_other_organ_dysfunctions","met":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":"pediatric_sirs","formula_expression":"pediatric SIRS iff >=2 of 4 Goldstein 2005 Table 3 age-group criteria and (temperature or leukocyte): core temperature_c >38.5 or <36; heart_rate_bpm > tachycardia cutoff or (newborn/neonate/infant) < bradycardia cutoff; respiratory_rate > cutoff or mechanical_ventilation; wbc_k_ul > high or < low for age (newborn high-only) or band_percent >10; sepsis iff SIRS and suspected_infection; severe_sepsis iff sepsis and (cardiovascular_dysfunction or ards or two_or_more_other_organ_dysfunctions); septic_shock iff sepsis and cardiovascular_dysfunction","heart_rate_bpm":100,"respiratory_rate":16,"sepsis":false,"septic_shock":false,"severe_sepsis":false,"sirs_criteria_met":0,"sirs_present":false,"temperature_c":37,"wbc_k_ul":8},{"age_group":"school_age","category":"none","citation":{"authors":"Goldstein B, Giroir B, Randolph A; International Consensus Conference on Pediatric Sepsis","doi":"10.1097/01.PCC.0000149131.72248.E6","id":"goldstein-2005","pmid":"15636651","source":"Pediatr Crit Care Med. 2005;6(1):2-8","title":"International pediatric sepsis consensus conference: definitions for sepsis and organ dysfunction in pediatrics"},"criteria":[{"factor":"temperature","met":false,"value":37},{"factor":"heart_rate","met":false,"value":100},{"factor":"respiratory","met":false,"value":16},{"factor":"leukocyte","met":false,"value":8},{"factor":"suspected_infection","met":false},{"factor":"cardiovascular_dysfunction","met":false},{"factor":"ards","met":false},{"factor":"two_or_more_other_organ_dysfunctions","met":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":"pediatric_sirs","formula_expression":"pediatric SIRS iff >=2 of 4 Goldstein 2005 Table 3 age-group criteria and (temperature or leukocyte): core temperature_c >38.5 or <36; heart_rate_bpm > tachycardia cutoff or (newborn/neonate/infant) < bradycardia cutoff; respiratory_rate > cutoff or mechanical_ventilation; wbc_k_ul > high or < low for age (newborn high-only) or band_percent >10; sepsis iff SIRS and suspected_infection; severe_sepsis iff sepsis and (cardiovascular_dysfunction or ards or two_or_more_other_organ_dysfunctions); septic_shock iff sepsis and cardiovascular_dysfunction","heart_rate_bpm":100,"respiratory_rate":16,"sepsis":false,"septic_shock":false,"severe_sepsis":false,"sirs_criteria_met":0,"sirs_present":false,"temperature_c":37,"wbc_k_ul":8}],"path":"/api/calc/pediatric_sirs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_group":{"description":"Goldstein 2005 Table 1 age group. One of: newborn (0 days to 1 week; HR >180 or <100, RR >50, WBC >34 k/µL), neonate (1 week to 1 month; HR >180 or <100, RR >40, WBC >19.5 or <5), infant (1 month to 1 year; HR >180 or <90, RR >34, WBC >17.5 or <5), toddler_preschool (2-5 years; HR >140, RR >22, WBC >15.5 or <6), school_age (6-12 years; HR >130, RR >18, WBC >13.5 or <4.5), adolescent (13-18 years; HR >110, RR >14, WBC >11 or <4.5). magent does not map chronological age (the paper has a 1-2 year gap).","type":"string"},"ards":{"description":"Caller-assigned acute respiratory distress syndrome as used for severe sepsis in Goldstein 2005 Table 2. true or false. magent does not interpret imaging or PaO2/FiO2.","type":"boolean"},"band_percent":{"description":"Immature neutrophils as a percent of WBC (0-100) when provided. Omitted does not use bands. >10 meets the leukocyte criterion (10 does not). magent does not assay bands.","type":"number"},"cardiovascular_dysfunction":{"description":"Caller-assigned cardiovascular organ dysfunction as in Goldstein 2005 Table 4. With SIRS and suspected_infection, this is septic shock (and severe sepsis). true or false. magent does not apply Table 4 from raw labs or blood pressure.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-300). Meets when greater than the age-group tachycardia cutoff, or when less than the bradycardia cutoff for newborn, neonate, or infant only (Goldstein 2005 Table 3). Equal to the cutoff does not meet. magent does not measure heart rate.","type":"integer"},"mechanical_ventilation":{"description":"Caller-assigned mechanical ventilation for an acute process not related to underlying neuromuscular disease or general anesthesia (Goldstein 2005 Table 2 respiratory criterion). true meets the respiratory criterion. Omitted is false. true or false. magent does not examine ventilation.","type":"boolean"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-120). Meets when greater than the age-group cutoff (Goldstein 2005 Table 3). Equal to the cutoff does not meet. Optional mechanical_ventilation also meets this criterion. magent does not measure respiratory rate.","type":"integer"},"suspected_infection":{"description":"Caller-assigned suspected or proven infection (Goldstein 2005 Table 2). Sepsis requires SIRS and this true. true or false. magent does not diagnose infection.","type":"boolean"},"temperature_c":{"description":"Core temperature in °C (30.0-45.0), rectal, bladder, oral, or central-catheter probe as in Goldstein 2005. >38.5 or <36 meets the temperature criterion (38.5 and 36.0 do not). Not Bone 1992 adult >38. magent does not measure temperature.","type":"number"},"two_or_more_other_organ_dysfunctions":{"description":"Caller-assigned two or more other organ dysfunctions (respiratory, renal, neurologic, hematologic, or hepatic per Goldstein 2005 Table 2/4) for severe sepsis when cardiovascular dysfunction and ARDS are absent. true or false. magent does not apply Table 4 from raw labs.","type":"boolean"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^3/mm^3 in Goldstein 2005 Table 3). Provide wbc_k_ul or wbc_ul. Range 0.01-500. Meets when greater than the age-group high cutoff or less than the low cutoff (newborn has high-only; no leukopenia bound). Equal to a cutoff does not meet. magent does not assay WBC.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL. Provide wbc_k_ul or wbc_ul. Range 10-500000. Converted to 10^3/µL for Table 3 cutoffs. magent does not assay WBC.","type":"number"}},"required":["age_group","temperature_c","heart_rate_bpm","respiratory_rate","suspected_infection","cardiovascular_dysfunction","ards","two_or_more_other_organ_dysfunctions"],"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},{"id":39500,"slug":"39500","resource":"https://api.magentlab.com/api/calc/impede_vte","description":"Sanfilippo 2019 IMPEDE VTE for multiple myeloma: IMiD 4, BMI>=25 1, pelvic/hip/femur fracture 4, ESA 1, doxorubicin 3, dexamethasone none/low/high 0/2/4 (high if monthly >160 mg), Asian/Pacific Islander -3 (caller-assigned), VTE history 5, tunneled line 2, thromboprophylaxis none/prophylactic/therapeutic 0/-3/-4. Unclamped. <=3 low 3.3%, 4-7 intermediate 8.3%, >=8 high 15.2%. Not a prophylaxis order. Not SAVED or Khorana.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"asian_pacific_islander":false,"bmi_ge_25":false,"dexamethasone":"none","doxorubicin":false,"esa":false,"imid":false,"pelvic_hip_femur_fracture":false,"thromboprophylaxis":"none","tunneled_line":false,"vte_history":false},{"asian_pacific_islander":false,"bmi_ge_25":false,"dexamethasone":"none","doxorubicin":false,"esa":false,"imid":false,"pelvic_hip_femur_fracture":false,"thromboprophylaxis":"none","tunneled_line":false,"vte_history":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"asian_pacific_islander":false,"bmi_ge_25":false,"citation":{"authors":"Sanfilippo KM, Luo S, Wang TF, Fiala M, Schoen M, Wildes TM, Mikhael J, Kuderer NM, Calverley DC, Keller J, Thomas T, Carson KR, Gage BF","doi":"10.1002/ajh.25603","id":"sanfilippo-2019-impede","pmid":"31374145","source":"Am J Hematol. 2019;94(11):1176-1184","title":"Predicting venous thromboembolism in multiple myeloma: development and validation of the IMPEDE VTE score"},"components":[{"factor":"imid","points":0,"present":false},{"factor":"bmi_ge_25","points":0,"present":false},{"factor":"pelvic_hip_femur_fracture","points":0,"present":false},{"factor":"esa","points":0,"present":false},{"factor":"doxorubicin","points":0,"present":false},{"factor":"dexamethasone","points":0,"present":false,"value":"none"},{"factor":"asian_pacific_islander","points":0,"present":false},{"factor":"vte_history","points":0,"present":false},{"factor":"tunneled_line","points":0,"present":false},{"factor":"thromboprophylaxis","points":0,"present":false,"value":"none"}],"dexamethasone":"none","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.","doxorubicin":false,"esa":false,"formula":"impede_vte","formula_expression":"IMPEDE VTE (Sanfilippo 2019 Table 3) = imid (4) + bmi_ge_25 (1) + pelvic_hip_femur_fracture (4) + esa (1) + doxorubicin (3) + dexamethasone (none 0, low 2, high 4; high if total monthly dosing >160 mg) + asian_pacific_islander (-3) + vte_history (5) + tunneled_line (2) + thromboprophylaxis (none 0, prophylactic -3, therapeutic -4); unclamped; <=3 low 3.3%, 4-7 intermediate 8.3%, >=8 high 15.2%","imid":false,"max_score":24,"pelvic_hip_femur_fracture":false,"risk":"low","score":0,"six_month_vte_percent":3.3,"thromboprophylaxis":"none","tunneled_line":false,"vte_history":false},{"asian_pacific_islander":false,"bmi_ge_25":false,"citation":{"authors":"Sanfilippo KM, Luo S, Wang TF, Fiala M, Schoen M, Wildes TM, Mikhael J, Kuderer NM, Calverley DC, Keller J, Thomas T, Carson KR, Gage BF","doi":"10.1002/ajh.25603","id":"sanfilippo-2019-impede","pmid":"31374145","source":"Am J Hematol. 2019;94(11):1176-1184","title":"Predicting venous thromboembolism in multiple myeloma: development and validation of the IMPEDE VTE score"},"components":[{"factor":"imid","points":0,"present":false},{"factor":"bmi_ge_25","points":0,"present":false},{"factor":"pelvic_hip_femur_fracture","points":0,"present":false},{"factor":"esa","points":0,"present":false},{"factor":"doxorubicin","points":0,"present":false},{"factor":"dexamethasone","points":0,"present":false,"value":"none"},{"factor":"asian_pacific_islander","points":0,"present":false},{"factor":"vte_history","points":0,"present":false},{"factor":"tunneled_line","points":0,"present":false},{"factor":"thromboprophylaxis","points":0,"present":false,"value":"none"}],"dexamethasone":"none","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.","doxorubicin":false,"esa":false,"formula":"impede_vte","formula_expression":"IMPEDE VTE (Sanfilippo 2019 Table 3) = imid (4) + bmi_ge_25 (1) + pelvic_hip_femur_fracture (4) + esa (1) + doxorubicin (3) + dexamethasone (none 0, low 2, high 4; high if total monthly dosing >160 mg) + asian_pacific_islander (-3) + vte_history (5) + tunneled_line (2) + thromboprophylaxis (none 0, prophylactic -3, therapeutic -4); unclamped; <=3 low 3.3%, 4-7 intermediate 8.3%, >=8 high 15.2%","imid":false,"max_score":24,"pelvic_hip_femur_fracture":false,"risk":"low","score":0,"six_month_vte_percent":3.3,"thromboprophylaxis":"none","tunneled_line":false,"vte_history":false}],"path":"/api/calc/impede_vte"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"asian_pacific_islander":{"description":"Caller-assigned ethnicity/race Asian/Pacific Islander as used in Sanfilippo 2019. true or false. magent does not assign race or ethnicity. −3 if true.","type":"boolean"},"bmi_ge_25":{"description":"BMI ≥25 kg/m2 as assigned by the caller (Sanfilippo 2019 Table 3). true or false. magent does not compute BMI from height or weight. 1 point if true.","type":"boolean"},"dexamethasone":{"description":"Dexamethasone as assigned by the caller (Sanfilippo 2019 Table 3). none (not on dexamethasone) scores 0; low (dexamethasone used at total monthly dosing ≤160 mg) scores 2; high (total monthly dosing >160 mg) scores 4. Not the NCCN ≥480 mg definition.","enum":["none","low","high"],"type":"string"},"doxorubicin":{"description":"Doxorubicin as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 3 points if true.","type":"boolean"},"esa":{"description":"Erythropoiesis-stimulating agent as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 1 point if true.","type":"boolean"},"imid":{"description":"Immunomodulatory drug (IMiD) as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 4 points if true.","type":"boolean"},"pelvic_hip_femur_fracture":{"description":"Pelvic, hip, or femur fracture as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 4 points if true.","type":"boolean"},"thromboprophylaxis":{"description":"Existing thromboprophylaxis as assigned by the caller (Sanfilippo 2019 Table 3). Mutually exclusive. none scores 0; prophylactic (prophylactic LMWH or aspirin) scores −3; therapeutic (therapeutic LMWH or warfarin) scores −4.","enum":["none","prophylactic","therapeutic"],"type":"string"},"tunneled_line":{"description":"Tunneled line / central venous catheter as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 2 points if true.","type":"boolean"},"vte_history":{"description":"History of VTE before multiple myeloma as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 5 points if true.","type":"boolean"}},"required":["imid","bmi_ge_25","pelvic_hip_femur_fracture","esa","doxorubicin","dexamethasone","asian_pacific_islander","vte_history","tunneled_line","thromboprophylaxis"],"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":["impede-vte","vte","myeloma","thrombosis","score","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:15:36.327Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T14:15:36.191Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"asian_pacific_islander":false,"bmi_ge_25":false,"dexamethasone":"none","doxorubicin":false,"esa":false,"imid":false,"pelvic_hip_femur_fracture":false,"thromboprophylaxis":"none","tunneled_line":false,"vte_history":false},{"asian_pacific_islander":false,"bmi_ge_25":false,"dexamethasone":"none","doxorubicin":false,"esa":false,"imid":false,"pelvic_hip_femur_fracture":false,"thromboprophylaxis":"none","tunneled_line":false,"vte_history":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"asian_pacific_islander":false,"bmi_ge_25":false,"citation":{"authors":"Sanfilippo KM, Luo S, Wang TF, Fiala M, Schoen M, Wildes TM, Mikhael J, Kuderer NM, Calverley DC, Keller J, Thomas T, Carson KR, Gage BF","doi":"10.1002/ajh.25603","id":"sanfilippo-2019-impede","pmid":"31374145","source":"Am J Hematol. 2019;94(11):1176-1184","title":"Predicting venous thromboembolism in multiple myeloma: development and validation of the IMPEDE VTE score"},"components":[{"factor":"imid","points":0,"present":false},{"factor":"bmi_ge_25","points":0,"present":false},{"factor":"pelvic_hip_femur_fracture","points":0,"present":false},{"factor":"esa","points":0,"present":false},{"factor":"doxorubicin","points":0,"present":false},{"factor":"dexamethasone","points":0,"present":false,"value":"none"},{"factor":"asian_pacific_islander","points":0,"present":false},{"factor":"vte_history","points":0,"present":false},{"factor":"tunneled_line","points":0,"present":false},{"factor":"thromboprophylaxis","points":0,"present":false,"value":"none"}],"dexamethasone":"none","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.","doxorubicin":false,"esa":false,"formula":"impede_vte","formula_expression":"IMPEDE VTE (Sanfilippo 2019 Table 3) = imid (4) + bmi_ge_25 (1) + pelvic_hip_femur_fracture (4) + esa (1) + doxorubicin (3) + dexamethasone (none 0, low 2, high 4; high if total monthly dosing >160 mg) + asian_pacific_islander (-3) + vte_history (5) + tunneled_line (2) + thromboprophylaxis (none 0, prophylactic -3, therapeutic -4); unclamped; <=3 low 3.3%, 4-7 intermediate 8.3%, >=8 high 15.2%","imid":false,"max_score":24,"pelvic_hip_femur_fracture":false,"risk":"low","score":0,"six_month_vte_percent":3.3,"thromboprophylaxis":"none","tunneled_line":false,"vte_history":false},{"asian_pacific_islander":false,"bmi_ge_25":false,"citation":{"authors":"Sanfilippo KM, Luo S, Wang TF, Fiala M, Schoen M, Wildes TM, Mikhael J, Kuderer NM, Calverley DC, Keller J, Thomas T, Carson KR, Gage BF","doi":"10.1002/ajh.25603","id":"sanfilippo-2019-impede","pmid":"31374145","source":"Am J Hematol. 2019;94(11):1176-1184","title":"Predicting venous thromboembolism in multiple myeloma: development and validation of the IMPEDE VTE score"},"components":[{"factor":"imid","points":0,"present":false},{"factor":"bmi_ge_25","points":0,"present":false},{"factor":"pelvic_hip_femur_fracture","points":0,"present":false},{"factor":"esa","points":0,"present":false},{"factor":"doxorubicin","points":0,"present":false},{"factor":"dexamethasone","points":0,"present":false,"value":"none"},{"factor":"asian_pacific_islander","points":0,"present":false},{"factor":"vte_history","points":0,"present":false},{"factor":"tunneled_line","points":0,"present":false},{"factor":"thromboprophylaxis","points":0,"present":false,"value":"none"}],"dexamethasone":"none","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.","doxorubicin":false,"esa":false,"formula":"impede_vte","formula_expression":"IMPEDE VTE (Sanfilippo 2019 Table 3) = imid (4) + bmi_ge_25 (1) + pelvic_hip_femur_fracture (4) + esa (1) + doxorubicin (3) + dexamethasone (none 0, low 2, high 4; high if total monthly dosing >160 mg) + asian_pacific_islander (-3) + vte_history (5) + tunneled_line (2) + thromboprophylaxis (none 0, prophylactic -3, therapeutic -4); unclamped; <=3 low 3.3%, 4-7 intermediate 8.3%, >=8 high 15.2%","imid":false,"max_score":24,"pelvic_hip_femur_fracture":false,"risk":"low","score":0,"six_month_vte_percent":3.3,"thromboprophylaxis":"none","tunneled_line":false,"vte_history":false}],"path":"/api/calc/impede_vte"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"asian_pacific_islander":{"description":"Caller-assigned ethnicity/race Asian/Pacific Islander as used in Sanfilippo 2019. true or false. magent does not assign race or ethnicity. −3 if true.","type":"boolean"},"bmi_ge_25":{"description":"BMI ≥25 kg/m2 as assigned by the caller (Sanfilippo 2019 Table 3). true or false. magent does not compute BMI from height or weight. 1 point if true.","type":"boolean"},"dexamethasone":{"description":"Dexamethasone as assigned by the caller (Sanfilippo 2019 Table 3). none (not on dexamethasone) scores 0; low (dexamethasone used at total monthly dosing ≤160 mg) scores 2; high (total monthly dosing >160 mg) scores 4. Not the NCCN ≥480 mg definition.","enum":["none","low","high"],"type":"string"},"doxorubicin":{"description":"Doxorubicin as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 3 points if true.","type":"boolean"},"esa":{"description":"Erythropoiesis-stimulating agent as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 1 point if true.","type":"boolean"},"imid":{"description":"Immunomodulatory drug (IMiD) as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 4 points if true.","type":"boolean"},"pelvic_hip_femur_fracture":{"description":"Pelvic, hip, or femur fracture as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 4 points if true.","type":"boolean"},"thromboprophylaxis":{"description":"Existing thromboprophylaxis as assigned by the caller (Sanfilippo 2019 Table 3). Mutually exclusive. none scores 0; prophylactic (prophylactic LMWH or aspirin) scores −3; therapeutic (therapeutic LMWH or warfarin) scores −4.","enum":["none","prophylactic","therapeutic"],"type":"string"},"tunneled_line":{"description":"Tunneled line / central venous catheter as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 2 points if true.","type":"boolean"},"vte_history":{"description":"History of VTE before multiple myeloma as assigned by the caller (Sanfilippo 2019 Table 3). true or false. 5 points if true.","type":"boolean"}},"required":["imid","bmi_ge_25","pelvic_hip_femur_fracture","esa","doxorubicin","dexamethasone","asian_pacific_islander","vte_history","tunneled_line","thromboprophylaxis"],"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},{"id":39501,"slug":"39501","resource":"https://api.magentlab.com/api/calc/prevent","description":"Khan 2024 AHA PREVENT base 10-year total CVD percent (ASCVD plus heart failure) for age 30-79 from sex, lipids, treated systolic BP, diabetes, smoking, eGFR, BMI, antihypertensive, and statin. Sex-specific, race-free Table S12 coefficients. Not 30-year, not ASCVD-only, not HF-only, not 2013 PCE, not SCORE2, not a diagnosis or statin order. magent does not assay lipids.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"5000","amountUsd":0.005,"maxTimeoutSeconds":600},{"scheme":"batch-settlement","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":{"method":"GET","queryParams":{"age":50,"antihypertensive":true,"bmi_kg_m2":35,"diabetes":false,"egfr_ml_min_1_73m2":90,"hdl_mg_dl":55,"sbp_mm_hg":160,"sex":"female","smoker":false,"statin":false,"total_cholesterol_mg_dl":240},"type":"http"},"output":{"example":{"age":50,"antihypertensive":true,"bmi_kg_m2":35,"citation":{"authors":"Khan SS, Matsushita K, Sang Y, Ballew SH, Grams ME, Surapaneni A, et al.; Chronic Kidney Disease Prognosis Consortium and the AHA Cardiovascular-Kidney-Metabolic Science Advisory Group","doi":"10.1161/CIRCULATIONAHA.123.067626","id":"khan-2024-prevent","pmid":"37947085","source":"Circulation. 2024;149(6):430-449","title":"Development and Validation of the American Heart Association’s PREVENT Equations"},"diabetes":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.","egfr_ml_min_1_73m2":90,"formula":"prevent","formula_expression":"10-year total CVD % = 100*exp(lp)/(1+exp(lp)); Khan 2024 Supplement Table S12 base 10-year total CVD (ASCVD+HF) only; sex-specific race-free; age 30-79; cage=(age-55)/10; mg/dL*0.02586 to mmol/L; cnhdl=(TC-HDL)*0.02586-3.5; chdl=(HDL*0.02586-1.3)/0.3; sbp_lt110=(min(SBP,110)-110)/20; sbp_ge110=(max(SBP,110)-130)/20; egfr_lt60=(min(eGFR,60)-60)/-15; egfr_ge60=(max(eGFR,60)-90)/-15; BMI spline printed at 30 with S12 total-CVD betas 0; women lp=-3.307728+0.7939329*cage+0.0305239*cnhdl-0.1606857*chdl-0.2394003*sbp_lt110+0.3600781*sbp_ge110+0.8667604*dm+0.5360739*smoke+0.6045917*egfr_lt60+0.0433769*egfr_ge60+0.3151672*antihtn-0.1477655*statin-0.0663612*sbp_ge110*antihtn+0.1197879*cnhdl*statin-0.0819715*cage*cnhdl+0.0306769*cage*chdl-0.0946348*cage*sbp_ge110-0.27057*cage*dm-0.078715*cage*smoke-0.1637806*cage*egfr_lt60; men lp=-3.031168+0.7688528*cage+0.0736174*cnhdl-0.0954431*chdl-0.4347345*sbp_lt110+0.3362658*sbp_ge110+0.7692857*dm+0.4386871*smoke+0.5378979*egfr_lt60+0.0164827*egfr_ge60+0.288879*antihtn-0.1337349*statin-0.0475924*sbp_ge110*antihtn+0.150273*cnhdl*statin-0.0517874*cage*cnhdl+0.0191169*cage*chdl-0.1049477*cage*sbp_ge110-0.2251948*cage*dm-0.0895067*cage*smoke-0.1543702*cage*egfr_lt60; not 30-year; not ASCVD-only; not HF-only; not HbA1c/UACR/SDI add-ons; not 2013 PCE; not SCORE2","hdl_mg_dl":55,"linear_predictor":-2.8579,"sbp_mm_hg":160,"sex":"female","smoker":false,"statin":false,"ten_year_cvd_percent":5.4,"total_cholesterol_mg_dl":240},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"age":{"description":"Age in years (integer 30-79). Khan 2024 PREVENT base 10-year total CVD is for ages 30-79. Not 30-year PREVENT (that horizon is not returned).","type":"integer"},"antihypertensive":{"description":"Current antihypertensive treatment as assigned by the caller (true or false). Adds the Table S12 antihypertensive term and the treated SBP interaction.","type":"boolean"},"bmi_kg_m2":{"description":"Body-mass index in kg/m2 (10-80). Required Khan 2024 predictor. Table S12 base 10-year total-CVD BMI coefficients are 0 (BMI enters the HF-only equations, which this tool does not return).","type":"number"},"diabetes":{"description":"Diabetes as assigned by the caller (true or false). Adds the Table S12 diabetes term and the age × diabetes interaction. Not the optional HbA1c add-on equation.","type":"boolean"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m2 (5-200). Piecewise around 60. magent does not compute MDRD or CKD-EPI.","type":"number"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Converted as mg/dL*0.02586 to mmol/L. Enters as (HDL-1.3)/0.3. magent does not assay lipids.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Piecewise around 110 mm Hg, with a treated-SBP interaction when antihypertensive is true. magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the sex-specific Table S12 base 10-year total-CVD coefficients (female or male). Not race. PREVENT is race-free.","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (true or false). magent does not take a smoking history.","type":"boolean"},"statin":{"description":"Current statin use as assigned by the caller (true or false). Adds the Table S12 statin term and the statin × non-HDL interaction.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Converted as mg/dL*0.02586 to mmol/L. Enters as non-HDL (TC-HDL) centered at 3.5 mmol/L. magent does not assay lipids.","type":"number"}},"required":["age","sex","total_cholesterol_mg_dl","hdl_mg_dl","sbp_mm_hg","antihypertensive","statin","diabetes","smoker","egfr_ml_min_1_73m2","bmi_kg_m2"],"type":"object"},"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":["prevent","cvd-risk","lipids","aha-2024","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T12:40:32.788Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-12T12:40:32.668Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"method":"GET","queryParams":{"age":50,"antihypertensive":true,"bmi_kg_m2":35,"diabetes":false,"egfr_ml_min_1_73m2":90,"hdl_mg_dl":55,"sbp_mm_hg":160,"sex":"female","smoker":false,"statin":false,"total_cholesterol_mg_dl":240},"type":"http"},"output":{"example":{"age":50,"antihypertensive":true,"bmi_kg_m2":35,"citation":{"authors":"Khan SS, Matsushita K, Sang Y, Ballew SH, Grams ME, Surapaneni A, et al.; Chronic Kidney Disease Prognosis Consortium and the AHA Cardiovascular-Kidney-Metabolic Science Advisory Group","doi":"10.1161/CIRCULATIONAHA.123.067626","id":"khan-2024-prevent","pmid":"37947085","source":"Circulation. 2024;149(6):430-449","title":"Development and Validation of the American Heart Association’s PREVENT Equations"},"diabetes":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.","egfr_ml_min_1_73m2":90,"formula":"prevent","formula_expression":"10-year total CVD % = 100*exp(lp)/(1+exp(lp)); Khan 2024 Supplement Table S12 base 10-year total CVD (ASCVD+HF) only; sex-specific race-free; age 30-79; cage=(age-55)/10; mg/dL*0.02586 to mmol/L; cnhdl=(TC-HDL)*0.02586-3.5; chdl=(HDL*0.02586-1.3)/0.3; sbp_lt110=(min(SBP,110)-110)/20; sbp_ge110=(max(SBP,110)-130)/20; egfr_lt60=(min(eGFR,60)-60)/-15; egfr_ge60=(max(eGFR,60)-90)/-15; BMI spline printed at 30 with S12 total-CVD betas 0; women lp=-3.307728+0.7939329*cage+0.0305239*cnhdl-0.1606857*chdl-0.2394003*sbp_lt110+0.3600781*sbp_ge110+0.8667604*dm+0.5360739*smoke+0.6045917*egfr_lt60+0.0433769*egfr_ge60+0.3151672*antihtn-0.1477655*statin-0.0663612*sbp_ge110*antihtn+0.1197879*cnhdl*statin-0.0819715*cage*cnhdl+0.0306769*cage*chdl-0.0946348*cage*sbp_ge110-0.27057*cage*dm-0.078715*cage*smoke-0.1637806*cage*egfr_lt60; men lp=-3.031168+0.7688528*cage+0.0736174*cnhdl-0.0954431*chdl-0.4347345*sbp_lt110+0.3362658*sbp_ge110+0.7692857*dm+0.4386871*smoke+0.5378979*egfr_lt60+0.0164827*egfr_ge60+0.288879*antihtn-0.1337349*statin-0.0475924*sbp_ge110*antihtn+0.150273*cnhdl*statin-0.0517874*cage*cnhdl+0.0191169*cage*chdl-0.1049477*cage*sbp_ge110-0.2251948*cage*dm-0.0895067*cage*smoke-0.1543702*cage*egfr_lt60; not 30-year; not ASCVD-only; not HF-only; not HbA1c/UACR/SDI add-ons; not 2013 PCE; not SCORE2","hdl_mg_dl":55,"linear_predictor":-2.8579,"sbp_mm_hg":160,"sex":"female","smoker":false,"statin":false,"ten_year_cvd_percent":5.4,"total_cholesterol_mg_dl":240},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"age":{"description":"Age in years (integer 30-79). Khan 2024 PREVENT base 10-year total CVD is for ages 30-79. Not 30-year PREVENT (that horizon is not returned).","type":"integer"},"antihypertensive":{"description":"Current antihypertensive treatment as assigned by the caller (true or false). Adds the Table S12 antihypertensive term and the treated SBP interaction.","type":"boolean"},"bmi_kg_m2":{"description":"Body-mass index in kg/m2 (10-80). Required Khan 2024 predictor. Table S12 base 10-year total-CVD BMI coefficients are 0 (BMI enters the HF-only equations, which this tool does not return).","type":"number"},"diabetes":{"description":"Diabetes as assigned by the caller (true or false). Adds the Table S12 diabetes term and the age × diabetes interaction. Not the optional HbA1c add-on equation.","type":"boolean"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m2 (5-200). Piecewise around 60. magent does not compute MDRD or CKD-EPI.","type":"number"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Converted as mg/dL*0.02586 to mmol/L. Enters as (HDL-1.3)/0.3. magent does not assay lipids.","type":"number"},"sbp_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Piecewise around 110 mm Hg, with a treated-SBP interaction when antihypertensive is true. magent does not measure blood pressure.","type":"number"},"sex":{"description":"Sex used by the sex-specific Table S12 base 10-year total-CVD coefficients (female or male). Not race. PREVENT is race-free.","enum":["female","male"],"type":"string"},"smoker":{"description":"Current cigarette smoking as assigned by the caller (true or false). magent does not take a smoking history.","type":"boolean"},"statin":{"description":"Current statin use as assigned by the caller (true or false). Adds the Table S12 statin term and the statin × non-HDL interaction.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Converted as mg/dL*0.02586 to mmol/L. Enters as non-HDL (TC-HDL) centered at 3.5 mmol/L. magent does not assay lipids.","type":"number"}},"required":["age","sex","total_cholesterol_mg_dl","hdl_mg_dl","sbp_mm_hg","antihypertensive","statin","diabetes","smoker","egfr_ml_min_1_73m2","bmi_kg_m2"],"type":"object"},"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},{"id":39538,"slug":"39538","resource":"https://api.magentlab.com/api/calc/sipa","description":"Acker 2015 SIPA: heart rate in bpm divided by cuff systolic pressure in mm Hg, rounded to two decimals. Elevated if the ratio exceeds the age-band cutoff: 1.22 (ages 4-6), 1.0 (7-12), or 0.9 (13-16). Ages 4-16 only; not for infants or adults 17 and older. Not a diagnosis of shock and not the adult shock-index greater-than-0.9 rule. magent does not measure vitals.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":10,"heart_rate_bpm":80,"systolic_mm_hg":100},{"age":10,"heart_rate_bpm":80,"systolic_mm_hg":100}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":10,"citation":{"authors":"Acker SN, Ross JT, Partrick DA, Tong S, Bensard DD","doi":"10.1016/j.jpedsurg.2014.08.009","id":"acker-2015","pmid":"25638631","source":"J Pediatr Surg. 2015;50(2):331-334","title":"Pediatric specific shock index accurately identifies severely injured children"},"criteria":[{"factor":"age_4_6","met":false,"value":1.22},{"factor":"age_7_12","met":true,"value":1},{"factor":"age_13_16","met":false,"value":0.9}],"cutoff":1,"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.","elevated":false,"formula":"sipa","formula_expression":"sipa = heart_rate_bpm / systolic_mm_hg; elevated iff sipa > cutoff (Acker 2015: age 4-6 → 1.22, 7-12 → 1.0, 13-16 → 0.9)","heart_rate_bpm":80,"sipa":0.8,"systolic_mm_hg":100},{"age":10,"citation":{"authors":"Acker SN, Ross JT, Partrick DA, Tong S, Bensard DD","doi":"10.1016/j.jpedsurg.2014.08.009","id":"acker-2015","pmid":"25638631","source":"J Pediatr Surg. 2015;50(2):331-334","title":"Pediatric specific shock index accurately identifies severely injured children"},"criteria":[{"factor":"age_4_6","met":false,"value":1.22},{"factor":"age_7_12","met":true,"value":1},{"factor":"age_13_16","met":false,"value":0.9}],"cutoff":1,"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.","elevated":false,"formula":"sipa","formula_expression":"sipa = heart_rate_bpm / systolic_mm_hg; elevated iff sipa > cutoff (Acker 2015: age 4-6 → 1.22, 7-12 → 1.0, 13-16 → 0.9)","heart_rate_bpm":80,"sipa":0.8,"systolic_mm_hg":100}],"path":"/api/calc/sipa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 4-16). Acker 2015 SIPA cohort only. Ages 4-6 use cutoff 1.22, 7-12 use 1.0, and 13-16 use 0.9. Not for infants or adults 17 and older.","type":"integer"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). magent does not measure vitals; the caller assigns the number.","type":"integer"},"systolic_mm_hg":{"description":"Cuff systolic blood pressure in mm Hg (50-250). magent does not measure vitals.","type":"number"}},"required":["age","heart_rate_bpm","systolic_mm_hg"],"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":["sipa","pediatric","shock-index","trauma","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T23:53:04.761Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T23:53:04.638Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":10,"heart_rate_bpm":80,"systolic_mm_hg":100},{"age":10,"heart_rate_bpm":80,"systolic_mm_hg":100}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":10,"citation":{"authors":"Acker SN, Ross JT, Partrick DA, Tong S, Bensard DD","doi":"10.1016/j.jpedsurg.2014.08.009","id":"acker-2015","pmid":"25638631","source":"J Pediatr Surg. 2015;50(2):331-334","title":"Pediatric specific shock index accurately identifies severely injured children"},"criteria":[{"factor":"age_4_6","met":false,"value":1.22},{"factor":"age_7_12","met":true,"value":1},{"factor":"age_13_16","met":false,"value":0.9}],"cutoff":1,"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.","elevated":false,"formula":"sipa","formula_expression":"sipa = heart_rate_bpm / systolic_mm_hg; elevated iff sipa > cutoff (Acker 2015: age 4-6 → 1.22, 7-12 → 1.0, 13-16 → 0.9)","heart_rate_bpm":80,"sipa":0.8,"systolic_mm_hg":100},{"age":10,"citation":{"authors":"Acker SN, Ross JT, Partrick DA, Tong S, Bensard DD","doi":"10.1016/j.jpedsurg.2014.08.009","id":"acker-2015","pmid":"25638631","source":"J Pediatr Surg. 2015;50(2):331-334","title":"Pediatric specific shock index accurately identifies severely injured children"},"criteria":[{"factor":"age_4_6","met":false,"value":1.22},{"factor":"age_7_12","met":true,"value":1},{"factor":"age_13_16","met":false,"value":0.9}],"cutoff":1,"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.","elevated":false,"formula":"sipa","formula_expression":"sipa = heart_rate_bpm / systolic_mm_hg; elevated iff sipa > cutoff (Acker 2015: age 4-6 → 1.22, 7-12 → 1.0, 13-16 → 0.9)","heart_rate_bpm":80,"sipa":0.8,"systolic_mm_hg":100}],"path":"/api/calc/sipa"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 4-16). Acker 2015 SIPA cohort only. Ages 4-6 use cutoff 1.22, 7-12 use 1.0, and 13-16 use 0.9. Not for infants or adults 17 and older.","type":"integer"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). magent does not measure vitals; the caller assigns the number.","type":"integer"},"systolic_mm_hg":{"description":"Cuff systolic blood pressure in mm Hg (50-250). magent does not measure vitals.","type":"number"}},"required":["age","heart_rate_bpm","systolic_mm_hg"],"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},{"id":39586,"slug":"39586","resource":"https://api.magentlab.com/api/calc/pf_ratio","description":"PaO2/FiO2 ratio as arterial PO2 in mm Hg divided by inspired oxygen as a fraction (0.21–1.0). Returns the ratio rounded to one decimal. Magent does not apply ARDS severity cutoffs, and this is not the oxygenation index (FiO2 × MAP × 100 / PaO2).","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fio2":0.21,"pao2_mm_hg":95},{"fio2":0.21,"pao2_mm_hg":95}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Horovitz JH, Carrico CJ, Shires GT","doi":"10.1001/archsurg.1974.01350270079014","id":"horovitz-1974","source":"Arch Surg. 1974;108(3):349-355","title":"Pulmonary response to major injury"},"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.","fio2":0.21,"formula":"pf_ratio","formula_expression":"pf_ratio = pao2_mm_hg / fio2","pao2_mm_hg":95,"pf_ratio":452.4},{"citation":{"authors":"Horovitz JH, Carrico CJ, Shires GT","doi":"10.1001/archsurg.1974.01350270079014","id":"horovitz-1974","source":"Arch Surg. 1974;108(3):349-355","title":"Pulmonary response to major injury"},"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.","fio2":0.21,"formula":"pf_ratio","formula_expression":"pf_ratio = pao2_mm_hg / fio2","pao2_mm_hg":95,"pf_ratio":452.4}],"path":"/api/calc/pf_ratio"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent. Required.","type":"number"},"pao2_mm_hg":{"description":"Arterial PO2 in mm Hg (20-700).","type":"number"}},"required":["pao2_mm_hg","fio2"],"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":["pf-ratio","respiratory","oxygenation","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-13T23:53:03.94Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-10-13T23:53:03.718Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fio2":0.21,"pao2_mm_hg":95},{"fio2":0.21,"pao2_mm_hg":95}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Horovitz JH, Carrico CJ, Shires GT","doi":"10.1001/archsurg.1974.01350270079014","id":"horovitz-1974","source":"Arch Surg. 1974;108(3):349-355","title":"Pulmonary response to major injury"},"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.","fio2":0.21,"formula":"pf_ratio","formula_expression":"pf_ratio = pao2_mm_hg / fio2","pao2_mm_hg":95,"pf_ratio":452.4},{"citation":{"authors":"Horovitz JH, Carrico CJ, Shires GT","doi":"10.1001/archsurg.1974.01350270079014","id":"horovitz-1974","source":"Arch Surg. 1974;108(3):349-355","title":"Pulmonary response to major injury"},"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.","fio2":0.21,"formula":"pf_ratio","formula_expression":"pf_ratio = pao2_mm_hg / fio2","pao2_mm_hg":95,"pf_ratio":452.4}],"path":"/api/calc/pf_ratio"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent. Required.","type":"number"},"pao2_mm_hg":{"description":"Arterial PO2 in mm Hg (20-700).","type":"number"}},"required":["pao2_mm_hg","fio2"],"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},{"id":39503,"slug":"39503","resource":"https://api.magentlab.com/api/calc/finnegan","description":"Modified Finnegan NAS from Maguire 2013 Table 1 (operational modified FNAS; not a 31-item website variant; not Maguire's 7-item short form). Exclusive cry, sleep, Moro, tremor, fever, respiratory, and stool bands plus true/false CNS, vasomotor, and GI items. Sum 0-46. at_or_above_8 iff score >= 8. magent does not examine the infant. Not Eat Sleep Console. Not a morphine order, diagnosis, or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"crying":"none","excessive_sucking":false,"excoriation":false,"fever":"none","frequent_yawning":false,"generalized_convulsions":false,"increased_muscle_tone":false,"moro":"none","mottling":false,"myoclonic_jerk":false,"nasal_flaring":false,"nasal_stuffiness":false,"poor_feeding":false,"projectile_vomiting":false,"regurgitation":false,"respiratory":"none","sleep":"none","sneezing":false,"stools":"none","sweating":false,"tremors":"none"},{"crying":"none","excessive_sucking":false,"excoriation":false,"fever":"none","frequent_yawning":false,"generalized_convulsions":false,"increased_muscle_tone":false,"moro":"none","mottling":false,"myoclonic_jerk":false,"nasal_flaring":false,"nasal_stuffiness":false,"poor_feeding":false,"projectile_vomiting":false,"regurgitation":false,"respiratory":"none","sleep":"none","sneezing":false,"stools":"none","sweating":false,"tremors":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"at_or_above_8":false,"citation":{"authors":"Finnegan LP, Connaughton JF Jr, Kron RE, Emich JP","id":"finnegan-1975","pmid":"1163358","source":"Addict Dis. 1975;2(1-2):141-158","title":"Neonatal abstinence syndrome: assessment and management"},"components":[{"factor":"crying","points":0,"present":false,"value":"none"},{"factor":"sleep","points":0,"present":false,"value":"none"},{"factor":"moro","points":0,"present":false,"value":"none"},{"factor":"tremors","points":0,"present":false,"value":"none"},{"factor":"increased_muscle_tone","points":0,"present":false},{"factor":"myoclonic_jerk","points":0,"present":false},{"factor":"generalized_convulsions","points":0,"present":false},{"factor":"excoriation","points":0,"present":false},{"factor":"sweating","points":0,"present":false},{"factor":"fever","points":0,"present":false,"value":"none"},{"factor":"frequent_yawning","points":0,"present":false},{"factor":"mottling","points":0,"present":false},{"factor":"nasal_stuffiness","points":0,"present":false},{"factor":"sneezing","points":0,"present":false},{"factor":"nasal_flaring","points":0,"present":false},{"factor":"respiratory","points":0,"present":false,"value":"none"},{"factor":"excessive_sucking","points":0,"present":false},{"factor":"poor_feeding","points":0,"present":false},{"factor":"regurgitation","points":0,"present":false},{"factor":"projectile_vomiting","points":0,"present":false},{"factor":"stools","points":0,"present":false,"value":"none"}],"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":"finnegan","formula_expression":"FNAS = crying + sleep + moro + tremors + increased_muscle_tone + myoclonic_jerk + generalized_convulsions + excoriation + sweating + fever + frequent_yawning + mottling + nasal_stuffiness + sneezing + nasal_flaring + respiratory + excessive_sucking + poor_feeding + regurgitation + projectile_vomiting + stools; Maguire 2013 Table 1 modified Finnegan (exclusive cry/sleep/moro/tremors/fever/respiratory/stools; remaining items true/false); max 46; at_or_above_8 iff total >= 8 (Zimmermann-Baer / Maguire suspicion and pharmacologic-treatment threshold). Not Eat Sleep Console. Not Maguire 7-item short form. magent does not examine the infant. Not a morphine order.","max_score":46,"score":0},{"at_or_above_8":false,"citation":{"authors":"Finnegan LP, Connaughton JF Jr, Kron RE, Emich JP","id":"finnegan-1975","pmid":"1163358","source":"Addict Dis. 1975;2(1-2):141-158","title":"Neonatal abstinence syndrome: assessment and management"},"components":[{"factor":"crying","points":0,"present":false,"value":"none"},{"factor":"sleep","points":0,"present":false,"value":"none"},{"factor":"moro","points":0,"present":false,"value":"none"},{"factor":"tremors","points":0,"present":false,"value":"none"},{"factor":"increased_muscle_tone","points":0,"present":false},{"factor":"myoclonic_jerk","points":0,"present":false},{"factor":"generalized_convulsions","points":0,"present":false},{"factor":"excoriation","points":0,"present":false},{"factor":"sweating","points":0,"present":false},{"factor":"fever","points":0,"present":false,"value":"none"},{"factor":"frequent_yawning","points":0,"present":false},{"factor":"mottling","points":0,"present":false},{"factor":"nasal_stuffiness","points":0,"present":false},{"factor":"sneezing","points":0,"present":false},{"factor":"nasal_flaring","points":0,"present":false},{"factor":"respiratory","points":0,"present":false,"value":"none"},{"factor":"excessive_sucking","points":0,"present":false},{"factor":"poor_feeding","points":0,"present":false},{"factor":"regurgitation","points":0,"present":false},{"factor":"projectile_vomiting","points":0,"present":false},{"factor":"stools","points":0,"present":false,"value":"none"}],"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":"finnegan","formula_expression":"FNAS = crying + sleep + moro + tremors + increased_muscle_tone + myoclonic_jerk + generalized_convulsions + excoriation + sweating + fever + frequent_yawning + mottling + nasal_stuffiness + sneezing + nasal_flaring + respiratory + excessive_sucking + poor_feeding + regurgitation + projectile_vomiting + stools; Maguire 2013 Table 1 modified Finnegan (exclusive cry/sleep/moro/tremors/fever/respiratory/stools; remaining items true/false); max 46; at_or_above_8 iff total >= 8 (Zimmermann-Baer / Maguire suspicion and pharmacologic-treatment threshold). Not Eat Sleep Console. Not Maguire 7-item short form. magent does not examine the infant. Not a morphine order.","max_score":46,"score":0}],"path":"/api/calc/finnegan"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crying":{"description":"Caller-assigned Maguire 2013 Table 1 crying (none, excessive_high_pitched, or continuous_high_pitched). Exclusive. none 0, excessive_high_pitched 2, continuous_high_pitched 3. magent does not examine the infant.","enum":["none","excessive_high_pitched","continuous_high_pitched"],"type":"string"},"excessive_sucking":{"description":"Caller-assigned Maguire 2013 Table 1 excessive sucking. true scores 1. magent does not observe feeding.","type":"boolean"},"excoriation":{"description":"Caller-assigned Maguire 2013 Table 1 excoriation. Single item (not per-site nose, knees, or toes). true scores 1. magent does not inspect the skin.","type":"boolean"},"fever":{"description":"Caller-assigned Maguire 2013 Table 1 fever (none, lt_101f, or gt_101f). Exclusive. Maguire <101°F scores 1; >101°F scores 2. magent does not take a temperature.","enum":["none","lt_101f","gt_101f"],"type":"string"},"frequent_yawning":{"description":"Caller-assigned Maguire 2013 Table 1 frequent yawning (>3). true scores 1. magent does not observe yawning.","type":"boolean"},"generalized_convulsions":{"description":"Caller-assigned Maguire 2013 Table 1 generalized convulsions. true scores 5. magent does not examine the infant. Not a seizure diagnosis.","type":"boolean"},"increased_muscle_tone":{"description":"Caller-assigned Maguire 2013 Table 1 increased muscle tone. true scores 2. magent does not examine the infant.","type":"boolean"},"moro":{"description":"Caller-assigned Maguire 2013 Table 1 Moro reflex (none, hyperactive, or markedly_hyperactive). Exclusive. hyperactive 2, markedly_hyperactive 3. magent does not examine the infant.","enum":["none","hyperactive","markedly_hyperactive"],"type":"string"},"mottling":{"description":"Caller-assigned Maguire 2013 Table 1 mottling. true scores 1. magent does not examine the infant.","type":"boolean"},"myoclonic_jerk":{"description":"Caller-assigned Maguire 2013 Table 1 myoclonic jerks. true scores 3. magent does not examine the infant.","type":"boolean"},"nasal_flaring":{"description":"Caller-assigned Maguire 2013 Table 1 nasal flaring. true scores 2. magent does not examine the infant.","type":"boolean"},"nasal_stuffiness":{"description":"Caller-assigned Maguire 2013 Table 1 nasal stuffiness. true scores 1. magent does not examine the infant.","type":"boolean"},"poor_feeding":{"description":"Caller-assigned Maguire 2013 Table 1 poor feeding. true scores 2. magent does not observe feeding.","type":"boolean"},"projectile_vomiting":{"description":"Caller-assigned Maguire 2013 Table 1 projectile vomiting. true scores 3. magent does not observe feeding.","type":"boolean"},"regurgitation":{"description":"Caller-assigned Maguire 2013 Table 1 regurgitation. true scores 2. magent does not observe feeding.","type":"boolean"},"respiratory":{"description":"Caller-assigned Maguire 2013 Table 1 respiratory rate (none, gt_60, or gt_60_retractions). Exclusive. Rate >60/min scores 1; >60 with retractions scores 2. magent does not count respirations.","enum":["none","gt_60","gt_60_retractions"],"type":"string"},"sleep":{"description":"Caller-assigned Maguire 2013 Table 1 sleep after feeding (none, lt_3h, lt_2h, or lt_1h). Exclusive. Sleeps less than 3/2/1 h after feeding: lt_3h 1, lt_2h 2, lt_1h 3. magent does not observe sleep.","enum":["none","lt_3h","lt_2h","lt_1h"],"type":"string"},"sneezing":{"description":"Caller-assigned Maguire 2013 Table 1 sneezing (>3). true scores 1. magent does not count sneezes.","type":"boolean"},"stools":{"description":"Caller-assigned Maguire 2013 Table 1 stools (none, loose, or watery). Exclusive. loose 2, watery 3. magent does not inspect stools.","enum":["none","loose","watery"],"type":"string"},"sweating":{"description":"Caller-assigned Maguire 2013 Table 1 sweating. true scores 1. magent does not examine the infant.","type":"boolean"},"tremors":{"description":"Caller-assigned Maguire 2013 Table 1 tremors (none, mild_disturbed, moderate_severe_disturbed, mild_undisturbed, or moderate_severe_undisturbed). Exclusive. mild_disturbed 1, moderate_severe_disturbed 2, mild_undisturbed 3, moderate_severe_undisturbed 4. magent does not examine the infant.","enum":["none","mild_disturbed","moderate_severe_disturbed","mild_undisturbed","moderate_severe_undisturbed"],"type":"string"}},"required":["crying","sleep","moro","tremors","increased_muscle_tone","myoclonic_jerk","generalized_convulsions","excoriation","sweating","fever","frequent_yawning","mottling","nasal_stuffiness","sneezing","nasal_flaring","respiratory","excessive_sucking","poor_feeding","regurgitation","projectile_vomiting","stools"],"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":["finnegan","nas","neonatal","modified-fnas","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:05:03.412Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T15:05:03.271Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"crying":"none","excessive_sucking":false,"excoriation":false,"fever":"none","frequent_yawning":false,"generalized_convulsions":false,"increased_muscle_tone":false,"moro":"none","mottling":false,"myoclonic_jerk":false,"nasal_flaring":false,"nasal_stuffiness":false,"poor_feeding":false,"projectile_vomiting":false,"regurgitation":false,"respiratory":"none","sleep":"none","sneezing":false,"stools":"none","sweating":false,"tremors":"none"},{"crying":"none","excessive_sucking":false,"excoriation":false,"fever":"none","frequent_yawning":false,"generalized_convulsions":false,"increased_muscle_tone":false,"moro":"none","mottling":false,"myoclonic_jerk":false,"nasal_flaring":false,"nasal_stuffiness":false,"poor_feeding":false,"projectile_vomiting":false,"regurgitation":false,"respiratory":"none","sleep":"none","sneezing":false,"stools":"none","sweating":false,"tremors":"none"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"at_or_above_8":false,"citation":{"authors":"Finnegan LP, Connaughton JF Jr, Kron RE, Emich JP","id":"finnegan-1975","pmid":"1163358","source":"Addict Dis. 1975;2(1-2):141-158","title":"Neonatal abstinence syndrome: assessment and management"},"components":[{"factor":"crying","points":0,"present":false,"value":"none"},{"factor":"sleep","points":0,"present":false,"value":"none"},{"factor":"moro","points":0,"present":false,"value":"none"},{"factor":"tremors","points":0,"present":false,"value":"none"},{"factor":"increased_muscle_tone","points":0,"present":false},{"factor":"myoclonic_jerk","points":0,"present":false},{"factor":"generalized_convulsions","points":0,"present":false},{"factor":"excoriation","points":0,"present":false},{"factor":"sweating","points":0,"present":false},{"factor":"fever","points":0,"present":false,"value":"none"},{"factor":"frequent_yawning","points":0,"present":false},{"factor":"mottling","points":0,"present":false},{"factor":"nasal_stuffiness","points":0,"present":false},{"factor":"sneezing","points":0,"present":false},{"factor":"nasal_flaring","points":0,"present":false},{"factor":"respiratory","points":0,"present":false,"value":"none"},{"factor":"excessive_sucking","points":0,"present":false},{"factor":"poor_feeding","points":0,"present":false},{"factor":"regurgitation","points":0,"present":false},{"factor":"projectile_vomiting","points":0,"present":false},{"factor":"stools","points":0,"present":false,"value":"none"}],"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":"finnegan","formula_expression":"FNAS = crying + sleep + moro + tremors + increased_muscle_tone + myoclonic_jerk + generalized_convulsions + excoriation + sweating + fever + frequent_yawning + mottling + nasal_stuffiness + sneezing + nasal_flaring + respiratory + excessive_sucking + poor_feeding + regurgitation + projectile_vomiting + stools; Maguire 2013 Table 1 modified Finnegan (exclusive cry/sleep/moro/tremors/fever/respiratory/stools; remaining items true/false); max 46; at_or_above_8 iff total >= 8 (Zimmermann-Baer / Maguire suspicion and pharmacologic-treatment threshold). Not Eat Sleep Console. Not Maguire 7-item short form. magent does not examine the infant. Not a morphine order.","max_score":46,"score":0},{"at_or_above_8":false,"citation":{"authors":"Finnegan LP, Connaughton JF Jr, Kron RE, Emich JP","id":"finnegan-1975","pmid":"1163358","source":"Addict Dis. 1975;2(1-2):141-158","title":"Neonatal abstinence syndrome: assessment and management"},"components":[{"factor":"crying","points":0,"present":false,"value":"none"},{"factor":"sleep","points":0,"present":false,"value":"none"},{"factor":"moro","points":0,"present":false,"value":"none"},{"factor":"tremors","points":0,"present":false,"value":"none"},{"factor":"increased_muscle_tone","points":0,"present":false},{"factor":"myoclonic_jerk","points":0,"present":false},{"factor":"generalized_convulsions","points":0,"present":false},{"factor":"excoriation","points":0,"present":false},{"factor":"sweating","points":0,"present":false},{"factor":"fever","points":0,"present":false,"value":"none"},{"factor":"frequent_yawning","points":0,"present":false},{"factor":"mottling","points":0,"present":false},{"factor":"nasal_stuffiness","points":0,"present":false},{"factor":"sneezing","points":0,"present":false},{"factor":"nasal_flaring","points":0,"present":false},{"factor":"respiratory","points":0,"present":false,"value":"none"},{"factor":"excessive_sucking","points":0,"present":false},{"factor":"poor_feeding","points":0,"present":false},{"factor":"regurgitation","points":0,"present":false},{"factor":"projectile_vomiting","points":0,"present":false},{"factor":"stools","points":0,"present":false,"value":"none"}],"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":"finnegan","formula_expression":"FNAS = crying + sleep + moro + tremors + increased_muscle_tone + myoclonic_jerk + generalized_convulsions + excoriation + sweating + fever + frequent_yawning + mottling + nasal_stuffiness + sneezing + nasal_flaring + respiratory + excessive_sucking + poor_feeding + regurgitation + projectile_vomiting + stools; Maguire 2013 Table 1 modified Finnegan (exclusive cry/sleep/moro/tremors/fever/respiratory/stools; remaining items true/false); max 46; at_or_above_8 iff total >= 8 (Zimmermann-Baer / Maguire suspicion and pharmacologic-treatment threshold). Not Eat Sleep Console. Not Maguire 7-item short form. magent does not examine the infant. Not a morphine order.","max_score":46,"score":0}],"path":"/api/calc/finnegan"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"crying":{"description":"Caller-assigned Maguire 2013 Table 1 crying (none, excessive_high_pitched, or continuous_high_pitched). Exclusive. none 0, excessive_high_pitched 2, continuous_high_pitched 3. magent does not examine the infant.","enum":["none","excessive_high_pitched","continuous_high_pitched"],"type":"string"},"excessive_sucking":{"description":"Caller-assigned Maguire 2013 Table 1 excessive sucking. true scores 1. magent does not observe feeding.","type":"boolean"},"excoriation":{"description":"Caller-assigned Maguire 2013 Table 1 excoriation. Single item (not per-site nose, knees, or toes). true scores 1. magent does not inspect the skin.","type":"boolean"},"fever":{"description":"Caller-assigned Maguire 2013 Table 1 fever (none, lt_101f, or gt_101f). Exclusive. Maguire <101°F scores 1; >101°F scores 2. magent does not take a temperature.","enum":["none","lt_101f","gt_101f"],"type":"string"},"frequent_yawning":{"description":"Caller-assigned Maguire 2013 Table 1 frequent yawning (>3). true scores 1. magent does not observe yawning.","type":"boolean"},"generalized_convulsions":{"description":"Caller-assigned Maguire 2013 Table 1 generalized convulsions. true scores 5. magent does not examine the infant. Not a seizure diagnosis.","type":"boolean"},"increased_muscle_tone":{"description":"Caller-assigned Maguire 2013 Table 1 increased muscle tone. true scores 2. magent does not examine the infant.","type":"boolean"},"moro":{"description":"Caller-assigned Maguire 2013 Table 1 Moro reflex (none, hyperactive, or markedly_hyperactive). Exclusive. hyperactive 2, markedly_hyperactive 3. magent does not examine the infant.","enum":["none","hyperactive","markedly_hyperactive"],"type":"string"},"mottling":{"description":"Caller-assigned Maguire 2013 Table 1 mottling. true scores 1. magent does not examine the infant.","type":"boolean"},"myoclonic_jerk":{"description":"Caller-assigned Maguire 2013 Table 1 myoclonic jerks. true scores 3. magent does not examine the infant.","type":"boolean"},"nasal_flaring":{"description":"Caller-assigned Maguire 2013 Table 1 nasal flaring. true scores 2. magent does not examine the infant.","type":"boolean"},"nasal_stuffiness":{"description":"Caller-assigned Maguire 2013 Table 1 nasal stuffiness. true scores 1. magent does not examine the infant.","type":"boolean"},"poor_feeding":{"description":"Caller-assigned Maguire 2013 Table 1 poor feeding. true scores 2. magent does not observe feeding.","type":"boolean"},"projectile_vomiting":{"description":"Caller-assigned Maguire 2013 Table 1 projectile vomiting. true scores 3. magent does not observe feeding.","type":"boolean"},"regurgitation":{"description":"Caller-assigned Maguire 2013 Table 1 regurgitation. true scores 2. magent does not observe feeding.","type":"boolean"},"respiratory":{"description":"Caller-assigned Maguire 2013 Table 1 respiratory rate (none, gt_60, or gt_60_retractions). Exclusive. Rate >60/min scores 1; >60 with retractions scores 2. magent does not count respirations.","enum":["none","gt_60","gt_60_retractions"],"type":"string"},"sleep":{"description":"Caller-assigned Maguire 2013 Table 1 sleep after feeding (none, lt_3h, lt_2h, or lt_1h). Exclusive. Sleeps less than 3/2/1 h after feeding: lt_3h 1, lt_2h 2, lt_1h 3. magent does not observe sleep.","enum":["none","lt_3h","lt_2h","lt_1h"],"type":"string"},"sneezing":{"description":"Caller-assigned Maguire 2013 Table 1 sneezing (>3). true scores 1. magent does not count sneezes.","type":"boolean"},"stools":{"description":"Caller-assigned Maguire 2013 Table 1 stools (none, loose, or watery). Exclusive. loose 2, watery 3. magent does not inspect stools.","enum":["none","loose","watery"],"type":"string"},"sweating":{"description":"Caller-assigned Maguire 2013 Table 1 sweating. true scores 1. magent does not examine the infant.","type":"boolean"},"tremors":{"description":"Caller-assigned Maguire 2013 Table 1 tremors (none, mild_disturbed, moderate_severe_disturbed, mild_undisturbed, or moderate_severe_undisturbed). Exclusive. mild_disturbed 1, moderate_severe_disturbed 2, mild_undisturbed 3, moderate_severe_undisturbed 4. magent does not examine the infant.","enum":["none","mild_disturbed","moderate_severe_disturbed","mild_undisturbed","moderate_severe_undisturbed"],"type":"string"}},"required":["crying","sleep","moro","tremors","increased_muscle_tone","myoclonic_jerk","generalized_convulsions","excoriation","sweating","fever","frequent_yawning","mottling","nasal_stuffiness","sneezing","nasal_flaring","respiratory","excessive_sucking","poor_feeding","regurgitation","projectile_vomiting","stools"],"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},{"id":39504,"slug":"39504","resource":"https://api.magentlab.com/api/calc/gir","description":"Neonatal glucose infusion rate (GIR, mg/kg/min) from the unit conversion used with AAP 2011 postnatal glucose homeostasis: GIR = (dextrose_percent x rate_ml_h) / (6 x weight_kg), or (dextrose_percent x rate_ml_kg_h) / 6. Provide rate_ml_h plus weight_kg, or rate_ml_kg_h, not both rate styles. Dextrose 2.5-25% and weight 0.4-10 kg are magent clamps, not AAP input bands. Reports GIR only. Does not order dextrose or TPN. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"dextrose_percent":10,"rate_ml_h":7.5,"rate_ml_kg_h":2.5,"weight_kg":3},{"dextrose_percent":10,"rate_ml_h":7.5,"rate_ml_kg_h":2.5,"weight_kg":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Adamkin DH; Committee on Fetus and Newborn, American Academy of Pediatrics","doi":"10.1542/peds.2010-3851","id":"aap-2011-glucose","pmid":"21357346","source":"Pediatrics. 2011;127(3):575-579","title":"Postnatal glucose homeostasis in late-preterm and term infants"},"dextrose_percent":10,"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":"gir","formula_expression":"gir_mg_kg_min = (dextrose_percent × rate_ml_h) / (6 × weight_kg); equivalently (dextrose_percent × rate_ml_kg_h) / 6","gir_mg_kg_min":4.2,"rate_ml_h":7.5,"rate_ml_kg_h":2.5,"weight_kg":3},{"citation":{"authors":"Adamkin DH; Committee on Fetus and Newborn, American Academy of Pediatrics","doi":"10.1542/peds.2010-3851","id":"aap-2011-glucose","pmid":"21357346","source":"Pediatrics. 2011;127(3):575-579","title":"Postnatal glucose homeostasis in late-preterm and term infants"},"dextrose_percent":10,"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":"gir","formula_expression":"gir_mg_kg_min = (dextrose_percent × rate_ml_h) / (6 × weight_kg); equivalently (dextrose_percent × rate_ml_kg_h) / 6","gir_mg_kg_min":4.2,"rate_ml_h":7.5,"rate_ml_kg_h":2.5,"weight_kg":3}],"path":"/api/calc/gir"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"dextrose_percent":{"description":"Dextrose concentration as percent (2.5-25, magent clamp; AAP 2011 does not publish an input band). 10 is D10W. magent does not order dextrose.","type":"number"},"rate_ml_h":{"description":"Infusion rate in ml/h (0.5-200, magent clamp; AAP 2011 does not publish an input band). Provide this with weight_kg, or provide rate_ml_kg_h, not both rate styles.","type":"number"},"rate_ml_kg_h":{"description":"Infusion rate in ml/kg/h (0.5-20, magent clamp). GIR = (dextrose_percent × rate_ml_kg_h) / 6. Provide this or rate_ml_h plus weight_kg, not both rate styles.","type":"number"},"weight_kg":{"description":"Weight in kg (0.4-10, magent clamp; AAP 2011 does not publish an input band). Required with rate_ml_h. Not required when rate_ml_kg_h is the only rate. magent does not weigh the infant.","type":"number"}},"required":["dextrose_percent"],"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":["gir","glucose-infusion","neonatal","dextrose","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:04:49.354Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T15:04:49.231Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"dextrose_percent":10,"rate_ml_h":7.5,"rate_ml_kg_h":2.5,"weight_kg":3},{"dextrose_percent":10,"rate_ml_h":7.5,"rate_ml_kg_h":2.5,"weight_kg":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Adamkin DH; Committee on Fetus and Newborn, American Academy of Pediatrics","doi":"10.1542/peds.2010-3851","id":"aap-2011-glucose","pmid":"21357346","source":"Pediatrics. 2011;127(3):575-579","title":"Postnatal glucose homeostasis in late-preterm and term infants"},"dextrose_percent":10,"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":"gir","formula_expression":"gir_mg_kg_min = (dextrose_percent × rate_ml_h) / (6 × weight_kg); equivalently (dextrose_percent × rate_ml_kg_h) / 6","gir_mg_kg_min":4.2,"rate_ml_h":7.5,"rate_ml_kg_h":2.5,"weight_kg":3},{"citation":{"authors":"Adamkin DH; Committee on Fetus and Newborn, American Academy of Pediatrics","doi":"10.1542/peds.2010-3851","id":"aap-2011-glucose","pmid":"21357346","source":"Pediatrics. 2011;127(3):575-579","title":"Postnatal glucose homeostasis in late-preterm and term infants"},"dextrose_percent":10,"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":"gir","formula_expression":"gir_mg_kg_min = (dextrose_percent × rate_ml_h) / (6 × weight_kg); equivalently (dextrose_percent × rate_ml_kg_h) / 6","gir_mg_kg_min":4.2,"rate_ml_h":7.5,"rate_ml_kg_h":2.5,"weight_kg":3}],"path":"/api/calc/gir"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"dextrose_percent":{"description":"Dextrose concentration as percent (2.5-25, magent clamp; AAP 2011 does not publish an input band). 10 is D10W. magent does not order dextrose.","type":"number"},"rate_ml_h":{"description":"Infusion rate in ml/h (0.5-200, magent clamp; AAP 2011 does not publish an input band). Provide this with weight_kg, or provide rate_ml_kg_h, not both rate styles.","type":"number"},"rate_ml_kg_h":{"description":"Infusion rate in ml/kg/h (0.5-20, magent clamp). GIR = (dextrose_percent × rate_ml_kg_h) / 6. Provide this or rate_ml_h plus weight_kg, not both rate styles.","type":"number"},"weight_kg":{"description":"Weight in kg (0.4-10, magent clamp; AAP 2011 does not publish an input band). Required with rate_ml_h. Not required when rate_ml_kg_h is the only rate. magent does not weigh the infant.","type":"number"}},"required":["dextrose_percent"],"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},{"id":39505,"slug":"39505","resource":"https://api.magentlab.com/api/calc/mrc_icu","description":"Gwynn 2019 MRC-ICU: 39 printed ICU medication and device items (1, 2, or 3 points). Multiplier classes are weight × the caller-assigned count of qualifying medications. Non-multiplier items add the printed weight when present. Output is the integer sum plus components. Not a pharmacist-staffing order; magent does not read the MAR.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"aminoglycosides":0,"amphotericin_b":false,"antiarrhythmics":0,"anticoagulants":0,"anticonvulsants":0,"antimicrobials":0,"argatroban":false,"azole_antifungals":0,"blood_products":0,"bowel_regimen":false,"chemotherapy":0,"chlorhexidine":false,"clozapine":false,"continuous_infusions":0,"continuous_opioids_sedatives":0,"dialysis":false,"digoxin":false,"ecmo":false,"ganciclovir_valganciclovir":0,"glycemic_control":false,"hyperosmolar_fluids":0,"iabp":false,"immunosuppressants":0,"lidocaine_infusion":false,"lithium":false,"lvad":false,"mechanical_ventilation":false,"neuromuscular_blockade":false,"opioids_sedatives":0,"prostacyclins":0,"restricted_antimicrobials":0,"stress_ulcer_prophylaxis":false,"theophylline":false,"therapeutic_heparins":0,"thromboembolic_prophylaxis":false,"tpn_clinical_pharmacist":false,"tpn_non_pharmacist":false,"vancomycin_iv":false,"warfarin":false},{"aminoglycosides":0,"amphotericin_b":false,"antiarrhythmics":0,"anticoagulants":0,"anticonvulsants":0,"antimicrobials":0,"argatroban":false,"azole_antifungals":0,"blood_products":0,"bowel_regimen":false,"chemotherapy":0,"chlorhexidine":false,"clozapine":false,"continuous_infusions":0,"continuous_opioids_sedatives":0,"dialysis":false,"digoxin":false,"ecmo":false,"ganciclovir_valganciclovir":0,"glycemic_control":false,"hyperosmolar_fluids":0,"iabp":false,"immunosuppressants":0,"lidocaine_infusion":false,"lithium":false,"lvad":false,"mechanical_ventilation":false,"neuromuscular_blockade":false,"opioids_sedatives":0,"prostacyclins":0,"restricted_antimicrobials":0,"stress_ulcer_prophylaxis":false,"theophylline":false,"therapeutic_heparins":0,"thromboembolic_prophylaxis":false,"tpn_clinical_pharmacist":false,"tpn_non_pharmacist":false,"vancomycin_iv":false,"warfarin":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gwynn ME, Poisson MO, Waller JL, Newsome AS","doi":"10.1093/ajhp/zxy054","id":"gwynn-2019","pmid":"31067298","source":"Am J Health Syst Pharm. 2019;76(Supplement_2):S34-S40","title":"Development and validation of a medication regimen complexity scoring tool for critically ill patients"},"components":[{"factor":"aminoglycosides","points":0,"present":false,"value":0},{"factor":"amphotericin_b","points":0,"present":false},{"factor":"antiarrhythmics","points":0,"present":false,"value":0},{"factor":"anticoagulants","points":0,"present":false,"value":0},{"factor":"anticonvulsants","points":0,"present":false,"value":0},{"factor":"argatroban","points":0,"present":false},{"factor":"azole_antifungals","points":0,"present":false,"value":0},{"factor":"blood_products","points":0,"present":false,"value":0},{"factor":"chemotherapy","points":0,"present":false,"value":0},{"factor":"clozapine","points":0,"present":false},{"factor":"digoxin","points":0,"present":false},{"factor":"ganciclovir_valganciclovir","points":0,"present":false,"value":0},{"factor":"hyperosmolar_fluids","points":0,"present":false,"value":0},{"factor":"immunosuppressants","points":0,"present":false,"value":0},{"factor":"lidocaine_infusion","points":0,"present":false},{"factor":"lithium","points":0,"present":false},{"factor":"prostacyclins","points":0,"present":false,"value":0},{"factor":"theophylline","points":0,"present":false},{"factor":"therapeutic_heparins","points":0,"present":false,"value":0},{"factor":"vancomycin_iv","points":0,"present":false},{"factor":"warfarin","points":0,"present":false},{"factor":"neuromuscular_blockade","points":0,"present":false},{"factor":"continuous_infusions","points":0,"present":false,"value":0},{"factor":"tpn_non_pharmacist","points":0,"present":false},{"factor":"tpn_clinical_pharmacist","points":0,"present":false},{"factor":"thromboembolic_prophylaxis","points":0,"present":false},{"factor":"stress_ulcer_prophylaxis","points":0,"present":false},{"factor":"glycemic_control","points":0,"present":false},{"factor":"bowel_regimen","points":0,"present":false},{"factor":"chlorhexidine","points":0,"present":false},{"factor":"opioids_sedatives","points":0,"present":false,"value":0},{"factor":"continuous_opioids_sedatives","points":0,"present":false,"value":0},{"factor":"antimicrobials","points":0,"present":false,"value":0},{"factor":"restricted_antimicrobials","points":0,"present":false,"value":0},{"factor":"dialysis","points":0,"present":false},{"factor":"ecmo","points":0,"present":false},{"factor":"iabp","points":0,"present":false},{"factor":"lvad","points":0,"present":false},{"factor":"mechanical_ventilation","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":"mrc_icu","formula_expression":"MRC-ICU (Gwynn 2019) = sum of 39 printed item weights. Multiplier classes (printed ×) are weight × caller-assigned count of qualifying medications (0-20): aminoglycosides 3, antiarrhythmics 1, anticoagulants 1, anticonvulsants 3, azole_antifungals 2, blood_products 2, chemotherapy 3, ganciclovir_valganciclovir 1, hyperosmolar_fluids 1, immunosuppressants 3, prostacyclins 2, therapeutic_heparins 2, continuous_infusions 1, opioids_sedatives 1, continuous_opioids_sedatives 2, antimicrobials 1, restricted_antimicrobials 2. Flags add the printed weight when present: amphotericin_b 1, argatroban 2, clozapine 3, digoxin 3, lidocaine_infusion 2, lithium 3, theophylline 3, vancomycin_iv 3, warfarin 3, neuromuscular_blockade 2, tpn_non_pharmacist 1, tpn_clinical_pharmacist 3, thromboembolic_prophylaxis 1, stress_ulcer_prophylaxis 1, glycemic_control 1, bowel_regimen 1, chlorhexidine 1, dialysis 2, ecmo 2, iabp 1, lvad 1, mechanical_ventilation 2","score":0},{"citation":{"authors":"Gwynn ME, Poisson MO, Waller JL, Newsome AS","doi":"10.1093/ajhp/zxy054","id":"gwynn-2019","pmid":"31067298","source":"Am J Health Syst Pharm. 2019;76(Supplement_2):S34-S40","title":"Development and validation of a medication regimen complexity scoring tool for critically ill patients"},"components":[{"factor":"aminoglycosides","points":0,"present":false,"value":0},{"factor":"amphotericin_b","points":0,"present":false},{"factor":"antiarrhythmics","points":0,"present":false,"value":0},{"factor":"anticoagulants","points":0,"present":false,"value":0},{"factor":"anticonvulsants","points":0,"present":false,"value":0},{"factor":"argatroban","points":0,"present":false},{"factor":"azole_antifungals","points":0,"present":false,"value":0},{"factor":"blood_products","points":0,"present":false,"value":0},{"factor":"chemotherapy","points":0,"present":false,"value":0},{"factor":"clozapine","points":0,"present":false},{"factor":"digoxin","points":0,"present":false},{"factor":"ganciclovir_valganciclovir","points":0,"present":false,"value":0},{"factor":"hyperosmolar_fluids","points":0,"present":false,"value":0},{"factor":"immunosuppressants","points":0,"present":false,"value":0},{"factor":"lidocaine_infusion","points":0,"present":false},{"factor":"lithium","points":0,"present":false},{"factor":"prostacyclins","points":0,"present":false,"value":0},{"factor":"theophylline","points":0,"present":false},{"factor":"therapeutic_heparins","points":0,"present":false,"value":0},{"factor":"vancomycin_iv","points":0,"present":false},{"factor":"warfarin","points":0,"present":false},{"factor":"neuromuscular_blockade","points":0,"present":false},{"factor":"continuous_infusions","points":0,"present":false,"value":0},{"factor":"tpn_non_pharmacist","points":0,"present":false},{"factor":"tpn_clinical_pharmacist","points":0,"present":false},{"factor":"thromboembolic_prophylaxis","points":0,"present":false},{"factor":"stress_ulcer_prophylaxis","points":0,"present":false},{"factor":"glycemic_control","points":0,"present":false},{"factor":"bowel_regimen","points":0,"present":false},{"factor":"chlorhexidine","points":0,"present":false},{"factor":"opioids_sedatives","points":0,"present":false,"value":0},{"factor":"continuous_opioids_sedatives","points":0,"present":false,"value":0},{"factor":"antimicrobials","points":0,"present":false,"value":0},{"factor":"restricted_antimicrobials","points":0,"present":false,"value":0},{"factor":"dialysis","points":0,"present":false},{"factor":"ecmo","points":0,"present":false},{"factor":"iabp","points":0,"present":false},{"factor":"lvad","points":0,"present":false},{"factor":"mechanical_ventilation","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":"mrc_icu","formula_expression":"MRC-ICU (Gwynn 2019) = sum of 39 printed item weights. Multiplier classes (printed ×) are weight × caller-assigned count of qualifying medications (0-20): aminoglycosides 3, antiarrhythmics 1, anticoagulants 1, anticonvulsants 3, azole_antifungals 2, blood_products 2, chemotherapy 3, ganciclovir_valganciclovir 1, hyperosmolar_fluids 1, immunosuppressants 3, prostacyclins 2, therapeutic_heparins 2, continuous_infusions 1, opioids_sedatives 1, continuous_opioids_sedatives 2, antimicrobials 1, restricted_antimicrobials 2. Flags add the printed weight when present: amphotericin_b 1, argatroban 2, clozapine 3, digoxin 3, lidocaine_infusion 2, lithium 3, theophylline 3, vancomycin_iv 3, warfarin 3, neuromuscular_blockade 2, tpn_non_pharmacist 1, tpn_clinical_pharmacist 3, thromboembolic_prophylaxis 1, stress_ulcer_prophylaxis 1, glycemic_control 1, bowel_regimen 1, chlorhexidine 1, dialysis 2, ecmo 2, iabp 1, lvad 1, mechanical_ventilation 2","score":0}],"path":"/api/calc/mrc_icu"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"aminoglycosides":{"description":"Count of aminoglycosides (amikacin, gentamicin, tobramycin) as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×. magent does not read the MAR.","type":"integer"},"amphotericin_b":{"description":"Amphotericin B or liposomal amphotericin B present as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"antiarrhythmics":{"description":"Count of antiarrhythmics (amiodarone, dofetilide, sotalol) as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×.","type":"integer"},"anticoagulants":{"description":"Count of anticoagulants (NOACs/DOACs, fondaparinux) as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×.","type":"integer"},"anticonvulsants":{"description":"Count of anticonvulsants (carbamazepine, phenobarbital, phenytoin, valproic acid) as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×.","type":"integer"},"antimicrobials":{"description":"Count of antimicrobials including HIV medications and excluding agents listed on other Gwynn 2019 rows, as assigned by the caller (integer 0-20). Printed 1×.","type":"integer"},"argatroban":{"description":"Argatroban present as assigned by the caller (Gwynn 2019). true adds 2 points.","type":"boolean"},"azole_antifungals":{"description":"Count of azole antifungals (posaconazole, voriconazole) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×.","type":"integer"},"blood_products":{"description":"Count of blood products (factor products, antithrombin III) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×.","type":"integer"},"bowel_regimen":{"description":"Bowel regimen present as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"chemotherapy":{"description":"Count of active inpatient chemotherapy agents as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×.","type":"integer"},"chlorhexidine":{"description":"Chlorhexidine present as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"clozapine":{"description":"Clozapine present as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"},"continuous_infusions":{"description":"Count of continuous infusions not listed on another Gwynn 2019 row, as assigned by the caller (integer 0-20). Printed 1×.","type":"integer"},"continuous_opioids_sedatives":{"description":"Count of continuous-infusion opioids and sedatives (propofol, fentanyl, dexmedetomidine, ketamine, benzodiazepines) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×.","type":"integer"},"dialysis":{"description":"Dialysis present as assigned by the caller (Gwynn 2019). true adds 2 points.","type":"boolean"},"digoxin":{"description":"Digoxin present as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"},"ecmo":{"description":"Extracorporeal membrane oxygenation (ECMO) present as assigned by the caller (Gwynn 2019). true adds 2 points.","type":"boolean"},"ganciclovir_valganciclovir":{"description":"Count of ganciclovir or valganciclovir products as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×.","type":"integer"},"glycemic_control":{"description":"Glycemic control with subcutaneous insulin, excluding intravenous insulin, as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"hyperosmolar_fluids":{"description":"Count of hyperosmolar fluids (hypertonic saline 1.5%, 3%, 23.4%; mannitol) as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×.","type":"integer"},"iabp":{"description":"Intra-aortic balloon pump (IABP) present as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"immunosuppressants":{"description":"Count of immunosuppressants (cyclosporine, sirolimus, tacrolimus) as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×.","type":"integer"},"lidocaine_infusion":{"description":"Lidocaine continuous infusion present as assigned by the caller (Gwynn 2019). true adds 2 points.","type":"boolean"},"lithium":{"description":"Lithium present as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"},"lvad":{"description":"Left ventricular assist device (LVAD) present as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"mechanical_ventilation":{"description":"Mechanical ventilation present as assigned by the caller (Gwynn 2019). true adds 2 points.","type":"boolean"},"neuromuscular_blockade":{"description":"Neuromuscular blockade present as assigned by the caller (Gwynn 2019). true adds 2 points.","type":"boolean"},"opioids_sedatives":{"description":"Count of scheduled or PRN opioids and sedatives as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×.","type":"integer"},"prostacyclins":{"description":"Count of prostacyclins (epoprostenol, iloprost, treprostinil) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×.","type":"integer"},"restricted_antimicrobials":{"description":"Count of restricted antimicrobials (4th-5th generation cephalosporins, carbapenems, linezolid, daptomycin, colistin/polymyxins) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×.","type":"integer"},"stress_ulcer_prophylaxis":{"description":"Stress ulcer prophylaxis present, excluding pantoprazole infusion, as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"theophylline":{"description":"Theophylline present as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"},"therapeutic_heparins":{"description":"Count of therapeutic heparins (enoxaparin, heparin infusion) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×.","type":"integer"},"thromboembolic_prophylaxis":{"description":"Thromboembolic prophylaxis present, excluding heparin infusion and therapeutic enoxaparin, as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"tpn_clinical_pharmacist":{"description":"Total parenteral nutrition managed by a clinical specialist pharmacist as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"},"tpn_non_pharmacist":{"description":"Total parenteral nutrition managed by a non-pharmacist service as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"vancomycin_iv":{"description":"Intravenous vancomycin present as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"},"warfarin":{"description":"Warfarin present as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"}},"required":["aminoglycosides","amphotericin_b","antiarrhythmics","anticoagulants","anticonvulsants","argatroban","azole_antifungals","blood_products","chemotherapy","clozapine","digoxin","ganciclovir_valganciclovir","hyperosmolar_fluids","immunosuppressants","lidocaine_infusion","lithium","prostacyclins","theophylline","therapeutic_heparins","vancomycin_iv","warfarin","neuromuscular_blockade","continuous_infusions","tpn_non_pharmacist","tpn_clinical_pharmacist","thromboembolic_prophylaxis","stress_ulcer_prophylaxis","glycemic_control","bowel_regimen","chlorhexidine","opioids_sedatives","continuous_opioids_sedatives","antimicrobials","restricted_antimicrobials","dialysis","ecmo","iabp","lvad","mechanical_ventilation"],"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":["mrc-icu","icu","medication-complexity","gwynn-2019","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:03:43.897Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T15:03:43.718Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"aminoglycosides":0,"amphotericin_b":false,"antiarrhythmics":0,"anticoagulants":0,"anticonvulsants":0,"antimicrobials":0,"argatroban":false,"azole_antifungals":0,"blood_products":0,"bowel_regimen":false,"chemotherapy":0,"chlorhexidine":false,"clozapine":false,"continuous_infusions":0,"continuous_opioids_sedatives":0,"dialysis":false,"digoxin":false,"ecmo":false,"ganciclovir_valganciclovir":0,"glycemic_control":false,"hyperosmolar_fluids":0,"iabp":false,"immunosuppressants":0,"lidocaine_infusion":false,"lithium":false,"lvad":false,"mechanical_ventilation":false,"neuromuscular_blockade":false,"opioids_sedatives":0,"prostacyclins":0,"restricted_antimicrobials":0,"stress_ulcer_prophylaxis":false,"theophylline":false,"therapeutic_heparins":0,"thromboembolic_prophylaxis":false,"tpn_clinical_pharmacist":false,"tpn_non_pharmacist":false,"vancomycin_iv":false,"warfarin":false},{"aminoglycosides":0,"amphotericin_b":false,"antiarrhythmics":0,"anticoagulants":0,"anticonvulsants":0,"antimicrobials":0,"argatroban":false,"azole_antifungals":0,"blood_products":0,"bowel_regimen":false,"chemotherapy":0,"chlorhexidine":false,"clozapine":false,"continuous_infusions":0,"continuous_opioids_sedatives":0,"dialysis":false,"digoxin":false,"ecmo":false,"ganciclovir_valganciclovir":0,"glycemic_control":false,"hyperosmolar_fluids":0,"iabp":false,"immunosuppressants":0,"lidocaine_infusion":false,"lithium":false,"lvad":false,"mechanical_ventilation":false,"neuromuscular_blockade":false,"opioids_sedatives":0,"prostacyclins":0,"restricted_antimicrobials":0,"stress_ulcer_prophylaxis":false,"theophylline":false,"therapeutic_heparins":0,"thromboembolic_prophylaxis":false,"tpn_clinical_pharmacist":false,"tpn_non_pharmacist":false,"vancomycin_iv":false,"warfarin":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gwynn ME, Poisson MO, Waller JL, Newsome AS","doi":"10.1093/ajhp/zxy054","id":"gwynn-2019","pmid":"31067298","source":"Am J Health Syst Pharm. 2019;76(Supplement_2):S34-S40","title":"Development and validation of a medication regimen complexity scoring tool for critically ill patients"},"components":[{"factor":"aminoglycosides","points":0,"present":false,"value":0},{"factor":"amphotericin_b","points":0,"present":false},{"factor":"antiarrhythmics","points":0,"present":false,"value":0},{"factor":"anticoagulants","points":0,"present":false,"value":0},{"factor":"anticonvulsants","points":0,"present":false,"value":0},{"factor":"argatroban","points":0,"present":false},{"factor":"azole_antifungals","points":0,"present":false,"value":0},{"factor":"blood_products","points":0,"present":false,"value":0},{"factor":"chemotherapy","points":0,"present":false,"value":0},{"factor":"clozapine","points":0,"present":false},{"factor":"digoxin","points":0,"present":false},{"factor":"ganciclovir_valganciclovir","points":0,"present":false,"value":0},{"factor":"hyperosmolar_fluids","points":0,"present":false,"value":0},{"factor":"immunosuppressants","points":0,"present":false,"value":0},{"factor":"lidocaine_infusion","points":0,"present":false},{"factor":"lithium","points":0,"present":false},{"factor":"prostacyclins","points":0,"present":false,"value":0},{"factor":"theophylline","points":0,"present":false},{"factor":"therapeutic_heparins","points":0,"present":false,"value":0},{"factor":"vancomycin_iv","points":0,"present":false},{"factor":"warfarin","points":0,"present":false},{"factor":"neuromuscular_blockade","points":0,"present":false},{"factor":"continuous_infusions","points":0,"present":false,"value":0},{"factor":"tpn_non_pharmacist","points":0,"present":false},{"factor":"tpn_clinical_pharmacist","points":0,"present":false},{"factor":"thromboembolic_prophylaxis","points":0,"present":false},{"factor":"stress_ulcer_prophylaxis","points":0,"present":false},{"factor":"glycemic_control","points":0,"present":false},{"factor":"bowel_regimen","points":0,"present":false},{"factor":"chlorhexidine","points":0,"present":false},{"factor":"opioids_sedatives","points":0,"present":false,"value":0},{"factor":"continuous_opioids_sedatives","points":0,"present":false,"value":0},{"factor":"antimicrobials","points":0,"present":false,"value":0},{"factor":"restricted_antimicrobials","points":0,"present":false,"value":0},{"factor":"dialysis","points":0,"present":false},{"factor":"ecmo","points":0,"present":false},{"factor":"iabp","points":0,"present":false},{"factor":"lvad","points":0,"present":false},{"factor":"mechanical_ventilation","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":"mrc_icu","formula_expression":"MRC-ICU (Gwynn 2019) = sum of 39 printed item weights. Multiplier classes (printed ×) are weight × caller-assigned count of qualifying medications (0-20): aminoglycosides 3, antiarrhythmics 1, anticoagulants 1, anticonvulsants 3, azole_antifungals 2, blood_products 2, chemotherapy 3, ganciclovir_valganciclovir 1, hyperosmolar_fluids 1, immunosuppressants 3, prostacyclins 2, therapeutic_heparins 2, continuous_infusions 1, opioids_sedatives 1, continuous_opioids_sedatives 2, antimicrobials 1, restricted_antimicrobials 2. Flags add the printed weight when present: amphotericin_b 1, argatroban 2, clozapine 3, digoxin 3, lidocaine_infusion 2, lithium 3, theophylline 3, vancomycin_iv 3, warfarin 3, neuromuscular_blockade 2, tpn_non_pharmacist 1, tpn_clinical_pharmacist 3, thromboembolic_prophylaxis 1, stress_ulcer_prophylaxis 1, glycemic_control 1, bowel_regimen 1, chlorhexidine 1, dialysis 2, ecmo 2, iabp 1, lvad 1, mechanical_ventilation 2","score":0},{"citation":{"authors":"Gwynn ME, Poisson MO, Waller JL, Newsome AS","doi":"10.1093/ajhp/zxy054","id":"gwynn-2019","pmid":"31067298","source":"Am J Health Syst Pharm. 2019;76(Supplement_2):S34-S40","title":"Development and validation of a medication regimen complexity scoring tool for critically ill patients"},"components":[{"factor":"aminoglycosides","points":0,"present":false,"value":0},{"factor":"amphotericin_b","points":0,"present":false},{"factor":"antiarrhythmics","points":0,"present":false,"value":0},{"factor":"anticoagulants","points":0,"present":false,"value":0},{"factor":"anticonvulsants","points":0,"present":false,"value":0},{"factor":"argatroban","points":0,"present":false},{"factor":"azole_antifungals","points":0,"present":false,"value":0},{"factor":"blood_products","points":0,"present":false,"value":0},{"factor":"chemotherapy","points":0,"present":false,"value":0},{"factor":"clozapine","points":0,"present":false},{"factor":"digoxin","points":0,"present":false},{"factor":"ganciclovir_valganciclovir","points":0,"present":false,"value":0},{"factor":"hyperosmolar_fluids","points":0,"present":false,"value":0},{"factor":"immunosuppressants","points":0,"present":false,"value":0},{"factor":"lidocaine_infusion","points":0,"present":false},{"factor":"lithium","points":0,"present":false},{"factor":"prostacyclins","points":0,"present":false,"value":0},{"factor":"theophylline","points":0,"present":false},{"factor":"therapeutic_heparins","points":0,"present":false,"value":0},{"factor":"vancomycin_iv","points":0,"present":false},{"factor":"warfarin","points":0,"present":false},{"factor":"neuromuscular_blockade","points":0,"present":false},{"factor":"continuous_infusions","points":0,"present":false,"value":0},{"factor":"tpn_non_pharmacist","points":0,"present":false},{"factor":"tpn_clinical_pharmacist","points":0,"present":false},{"factor":"thromboembolic_prophylaxis","points":0,"present":false},{"factor":"stress_ulcer_prophylaxis","points":0,"present":false},{"factor":"glycemic_control","points":0,"present":false},{"factor":"bowel_regimen","points":0,"present":false},{"factor":"chlorhexidine","points":0,"present":false},{"factor":"opioids_sedatives","points":0,"present":false,"value":0},{"factor":"continuous_opioids_sedatives","points":0,"present":false,"value":0},{"factor":"antimicrobials","points":0,"present":false,"value":0},{"factor":"restricted_antimicrobials","points":0,"present":false,"value":0},{"factor":"dialysis","points":0,"present":false},{"factor":"ecmo","points":0,"present":false},{"factor":"iabp","points":0,"present":false},{"factor":"lvad","points":0,"present":false},{"factor":"mechanical_ventilation","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":"mrc_icu","formula_expression":"MRC-ICU (Gwynn 2019) = sum of 39 printed item weights. Multiplier classes (printed ×) are weight × caller-assigned count of qualifying medications (0-20): aminoglycosides 3, antiarrhythmics 1, anticoagulants 1, anticonvulsants 3, azole_antifungals 2, blood_products 2, chemotherapy 3, ganciclovir_valganciclovir 1, hyperosmolar_fluids 1, immunosuppressants 3, prostacyclins 2, therapeutic_heparins 2, continuous_infusions 1, opioids_sedatives 1, continuous_opioids_sedatives 2, antimicrobials 1, restricted_antimicrobials 2. Flags add the printed weight when present: amphotericin_b 1, argatroban 2, clozapine 3, digoxin 3, lidocaine_infusion 2, lithium 3, theophylline 3, vancomycin_iv 3, warfarin 3, neuromuscular_blockade 2, tpn_non_pharmacist 1, tpn_clinical_pharmacist 3, thromboembolic_prophylaxis 1, stress_ulcer_prophylaxis 1, glycemic_control 1, bowel_regimen 1, chlorhexidine 1, dialysis 2, ecmo 2, iabp 1, lvad 1, mechanical_ventilation 2","score":0}],"path":"/api/calc/mrc_icu"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"aminoglycosides":{"description":"Count of aminoglycosides (amikacin, gentamicin, tobramycin) as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×. magent does not read the MAR.","type":"integer"},"amphotericin_b":{"description":"Amphotericin B or liposomal amphotericin B present as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"antiarrhythmics":{"description":"Count of antiarrhythmics (amiodarone, dofetilide, sotalol) as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×.","type":"integer"},"anticoagulants":{"description":"Count of anticoagulants (NOACs/DOACs, fondaparinux) as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×.","type":"integer"},"anticonvulsants":{"description":"Count of anticonvulsants (carbamazepine, phenobarbital, phenytoin, valproic acid) as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×.","type":"integer"},"antimicrobials":{"description":"Count of antimicrobials including HIV medications and excluding agents listed on other Gwynn 2019 rows, as assigned by the caller (integer 0-20). Printed 1×.","type":"integer"},"argatroban":{"description":"Argatroban present as assigned by the caller (Gwynn 2019). true adds 2 points.","type":"boolean"},"azole_antifungals":{"description":"Count of azole antifungals (posaconazole, voriconazole) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×.","type":"integer"},"blood_products":{"description":"Count of blood products (factor products, antithrombin III) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×.","type":"integer"},"bowel_regimen":{"description":"Bowel regimen present as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"chemotherapy":{"description":"Count of active inpatient chemotherapy agents as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×.","type":"integer"},"chlorhexidine":{"description":"Chlorhexidine present as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"clozapine":{"description":"Clozapine present as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"},"continuous_infusions":{"description":"Count of continuous infusions not listed on another Gwynn 2019 row, as assigned by the caller (integer 0-20). Printed 1×.","type":"integer"},"continuous_opioids_sedatives":{"description":"Count of continuous-infusion opioids and sedatives (propofol, fentanyl, dexmedetomidine, ketamine, benzodiazepines) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×.","type":"integer"},"dialysis":{"description":"Dialysis present as assigned by the caller (Gwynn 2019). true adds 2 points.","type":"boolean"},"digoxin":{"description":"Digoxin present as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"},"ecmo":{"description":"Extracorporeal membrane oxygenation (ECMO) present as assigned by the caller (Gwynn 2019). true adds 2 points.","type":"boolean"},"ganciclovir_valganciclovir":{"description":"Count of ganciclovir or valganciclovir products as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×.","type":"integer"},"glycemic_control":{"description":"Glycemic control with subcutaneous insulin, excluding intravenous insulin, as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"hyperosmolar_fluids":{"description":"Count of hyperosmolar fluids (hypertonic saline 1.5%, 3%, 23.4%; mannitol) as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×.","type":"integer"},"iabp":{"description":"Intra-aortic balloon pump (IABP) present as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"immunosuppressants":{"description":"Count of immunosuppressants (cyclosporine, sirolimus, tacrolimus) as assigned by the caller (integer 0-20). Gwynn 2019 printed 3×.","type":"integer"},"lidocaine_infusion":{"description":"Lidocaine continuous infusion present as assigned by the caller (Gwynn 2019). true adds 2 points.","type":"boolean"},"lithium":{"description":"Lithium present as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"},"lvad":{"description":"Left ventricular assist device (LVAD) present as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"mechanical_ventilation":{"description":"Mechanical ventilation present as assigned by the caller (Gwynn 2019). true adds 2 points.","type":"boolean"},"neuromuscular_blockade":{"description":"Neuromuscular blockade present as assigned by the caller (Gwynn 2019). true adds 2 points.","type":"boolean"},"opioids_sedatives":{"description":"Count of scheduled or PRN opioids and sedatives as assigned by the caller (integer 0-20). Gwynn 2019 printed 1×.","type":"integer"},"prostacyclins":{"description":"Count of prostacyclins (epoprostenol, iloprost, treprostinil) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×.","type":"integer"},"restricted_antimicrobials":{"description":"Count of restricted antimicrobials (4th-5th generation cephalosporins, carbapenems, linezolid, daptomycin, colistin/polymyxins) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×.","type":"integer"},"stress_ulcer_prophylaxis":{"description":"Stress ulcer prophylaxis present, excluding pantoprazole infusion, as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"theophylline":{"description":"Theophylline present as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"},"therapeutic_heparins":{"description":"Count of therapeutic heparins (enoxaparin, heparin infusion) as assigned by the caller (integer 0-20). Gwynn 2019 printed 2×.","type":"integer"},"thromboembolic_prophylaxis":{"description":"Thromboembolic prophylaxis present, excluding heparin infusion and therapeutic enoxaparin, as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"tpn_clinical_pharmacist":{"description":"Total parenteral nutrition managed by a clinical specialist pharmacist as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"},"tpn_non_pharmacist":{"description":"Total parenteral nutrition managed by a non-pharmacist service as assigned by the caller (Gwynn 2019). true adds 1 point.","type":"boolean"},"vancomycin_iv":{"description":"Intravenous vancomycin present as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"},"warfarin":{"description":"Warfarin present as assigned by the caller (Gwynn 2019). true adds 3 points.","type":"boolean"}},"required":["aminoglycosides","amphotericin_b","antiarrhythmics","anticoagulants","anticonvulsants","argatroban","azole_antifungals","blood_products","chemotherapy","clozapine","digoxin","ganciclovir_valganciclovir","hyperosmolar_fluids","immunosuppressants","lidocaine_infusion","lithium","prostacyclins","theophylline","therapeutic_heparins","vancomycin_iv","warfarin","neuromuscular_blockade","continuous_infusions","tpn_non_pharmacist","tpn_clinical_pharmacist","thromboembolic_prophylaxis","stress_ulcer_prophylaxis","glycemic_control","bowel_regimen","chlorhexidine","opioids_sedatives","continuous_opioids_sedatives","antimicrobials","restricted_antimicrobials","dialysis","ecmo","iabp","lvad","mechanical_ventilation"],"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},{"id":39506,"slug":"39506","resource":"https://api.magentlab.com/api/calc/periop_doac","description":"Douketis 2022 ACCP elective perioperative DOAC interruption (PAUSE-style, recommendations 22-25). Returns hold_days_before and resume_days_after from INN (apixaban, rivaroxaban, edoxaban, dabigatran) and bleed_risk. dabigatran also needs caller-assigned CrCl. heparin_bridge is always false (recommendation 26). Not warfarin, not urgent surgery, not a prescription. magent does not assay CrCl.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bleed_risk":"low_to_moderate","crcl_ml_min":40,"doac":"apixaban"},{"bleed_risk":"low_to_moderate","crcl_ml_min":40,"doac":"apixaban"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bleed_risk":"low_to_moderate","citation":{"authors":"Douketis JD, Spyropoulos AC, Murad MH, et al.","doi":"10.1016/j.chest.2022.07.025","id":"douketis-2022","pmid":"35964704","source":"Chest. 2022;162(5):e207-e243","title":"Perioperative Management of Antithrombotic Therapy: An American College of Chest Physicians Clinical Practice Guideline"},"criteria":[{"factor":"doac","met":true,"value":"apixaban"},{"factor":"high_bleed_risk","met":false,"value":"low_to_moderate"},{"factor":"dabigatran","met":false},{"factor":"dabigatran_crcl_lt_50","met":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.","doac":"apixaban","formula":"periop_doac","formula_expression":"Douketis 2022 PAUSE-style elective DOAC interruption (recommendations 22-25): apixaban/rivaroxaban/edoxaban hold 1 day (low_to_moderate) or 2 days (high); dabigatran CrCl>=50 same 1/2; dabigatran CrCl<50 hold 2 (low_to_moderate) or 4 (high); resume 1 day after low_to_moderate or 2 days after high; heparin_bridge always false (recommendation 26)","heparin_bridge":false,"hold_days_before":1,"resume_days_after":1,"total_pre_post_days":2},{"bleed_risk":"low_to_moderate","citation":{"authors":"Douketis JD, Spyropoulos AC, Murad MH, et al.","doi":"10.1016/j.chest.2022.07.025","id":"douketis-2022","pmid":"35964704","source":"Chest. 2022;162(5):e207-e243","title":"Perioperative Management of Antithrombotic Therapy: An American College of Chest Physicians Clinical Practice Guideline"},"criteria":[{"factor":"doac","met":true,"value":"apixaban"},{"factor":"high_bleed_risk","met":false,"value":"low_to_moderate"},{"factor":"dabigatran","met":false},{"factor":"dabigatran_crcl_lt_50","met":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.","doac":"apixaban","formula":"periop_doac","formula_expression":"Douketis 2022 PAUSE-style elective DOAC interruption (recommendations 22-25): apixaban/rivaroxaban/edoxaban hold 1 day (low_to_moderate) or 2 days (high); dabigatran CrCl>=50 same 1/2; dabigatran CrCl<50 hold 2 (low_to_moderate) or 4 (high); resume 1 day after low_to_moderate or 2 days after high; heparin_bridge always false (recommendation 26)","heparin_bridge":false,"hold_days_before":1,"resume_days_after":1,"total_pre_post_days":2}],"path":"/api/calc/periop_doac"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bleed_risk":{"description":"Procedure bleed-risk category from Douketis 2022, case-insensitive: low_to_moderate or high. Caller assigns the category. Not urgent surgery.","enum":["low_to_moderate","high"],"type":"string"},"crcl_ml_min":{"description":"Caller-assigned creatinine clearance in mL/min (15-120). Required only when doac is dabigatran. Must be absent for apixaban, rivaroxaban, and edoxaban. magent does not assay CrCl.","type":"number"},"doac":{"description":"Direct oral anticoagulant INN, case-insensitive: apixaban, rivaroxaban, edoxaban, or dabigatran. Elective procedures only. Not warfarin or a VKA.","enum":["apixaban","rivaroxaban","edoxaban","dabigatran"],"type":"string"}},"required":["doac","bleed_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":["periop-doac","doac","hematology","perioperative","anticoagulation","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:01:22.647Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T15:01:22.521Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bleed_risk":"low_to_moderate","crcl_ml_min":40,"doac":"apixaban"},{"bleed_risk":"low_to_moderate","crcl_ml_min":40,"doac":"apixaban"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bleed_risk":"low_to_moderate","citation":{"authors":"Douketis JD, Spyropoulos AC, Murad MH, et al.","doi":"10.1016/j.chest.2022.07.025","id":"douketis-2022","pmid":"35964704","source":"Chest. 2022;162(5):e207-e243","title":"Perioperative Management of Antithrombotic Therapy: An American College of Chest Physicians Clinical Practice Guideline"},"criteria":[{"factor":"doac","met":true,"value":"apixaban"},{"factor":"high_bleed_risk","met":false,"value":"low_to_moderate"},{"factor":"dabigatran","met":false},{"factor":"dabigatran_crcl_lt_50","met":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.","doac":"apixaban","formula":"periop_doac","formula_expression":"Douketis 2022 PAUSE-style elective DOAC interruption (recommendations 22-25): apixaban/rivaroxaban/edoxaban hold 1 day (low_to_moderate) or 2 days (high); dabigatran CrCl>=50 same 1/2; dabigatran CrCl<50 hold 2 (low_to_moderate) or 4 (high); resume 1 day after low_to_moderate or 2 days after high; heparin_bridge always false (recommendation 26)","heparin_bridge":false,"hold_days_before":1,"resume_days_after":1,"total_pre_post_days":2},{"bleed_risk":"low_to_moderate","citation":{"authors":"Douketis JD, Spyropoulos AC, Murad MH, et al.","doi":"10.1016/j.chest.2022.07.025","id":"douketis-2022","pmid":"35964704","source":"Chest. 2022;162(5):e207-e243","title":"Perioperative Management of Antithrombotic Therapy: An American College of Chest Physicians Clinical Practice Guideline"},"criteria":[{"factor":"doac","met":true,"value":"apixaban"},{"factor":"high_bleed_risk","met":false,"value":"low_to_moderate"},{"factor":"dabigatran","met":false},{"factor":"dabigatran_crcl_lt_50","met":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.","doac":"apixaban","formula":"periop_doac","formula_expression":"Douketis 2022 PAUSE-style elective DOAC interruption (recommendations 22-25): apixaban/rivaroxaban/edoxaban hold 1 day (low_to_moderate) or 2 days (high); dabigatran CrCl>=50 same 1/2; dabigatran CrCl<50 hold 2 (low_to_moderate) or 4 (high); resume 1 day after low_to_moderate or 2 days after high; heparin_bridge always false (recommendation 26)","heparin_bridge":false,"hold_days_before":1,"resume_days_after":1,"total_pre_post_days":2}],"path":"/api/calc/periop_doac"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bleed_risk":{"description":"Procedure bleed-risk category from Douketis 2022, case-insensitive: low_to_moderate or high. Caller assigns the category. Not urgent surgery.","enum":["low_to_moderate","high"],"type":"string"},"crcl_ml_min":{"description":"Caller-assigned creatinine clearance in mL/min (15-120). Required only when doac is dabigatran. Must be absent for apixaban, rivaroxaban, and edoxaban. magent does not assay CrCl.","type":"number"},"doac":{"description":"Direct oral anticoagulant INN, case-insensitive: apixaban, rivaroxaban, edoxaban, or dabigatran. Elective procedures only. Not warfarin or a VKA.","enum":["apixaban","rivaroxaban","edoxaban","dabigatran"],"type":"string"}},"required":["doac","bleed_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},{"id":39507,"slug":"39507","resource":"https://api.magentlab.com/api/calc/gps","description":"Forrest 2003 original Glasgow Prognostic Score (GPS) from CRP in mg/L and albumin. Elevated CRP is >10 mg/L; hypoalbuminaemia is albumin <35 g/L. Assign 1 for CRP >10 and 1 for albumin <35, then sum: GPS 0 when CRP ≤10 and albumin ≥35; GPS 1 when CRP ≤10 and albumin <35 (isolated hypoalbuminaemia) or CRP >10 and albumin ≥35; GPS 2 when CRP >10 and albumin <35. Not mGPS, not hs-mGPS, not a cancer diagnosis or treatment order. magent does not assay CRP or albumin.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":4,"albumin_g_l":40,"crp_mg_l":5},{"albumin_g_dl":4,"albumin_g_l":40,"crp_mg_l":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_l":40,"citation":{"authors":"Forrest LM, McMillan DC, McArdle CS, Angerson WJ, Dunlop DJ","doi":"10.1038/sj.bjc.6601242","id":"forrest-2003","pmid":"12966420","source":"Br J Cancer. 2003;89(6):1028-1030","title":"Evaluation of cumulative prognostic scores based on the systemic inflammatory response in patients with inoperable non-small-cell lung cancer"},"crp_mg_l":5,"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":"gps","formula_expression":"GPS 0: CRP ≤ 10 mg/L AND albumin ≥ 35 g/L; GPS 1: CRP ≤ 10 mg/L AND albumin < 35 g/L (isolated hypoalbuminaemia) OR CRP > 10 mg/L AND albumin ≥ 35 g/L; GPS 2: CRP > 10 mg/L AND albumin < 35 g/L (Forrest 2003 original GPS)","gps":0},{"albumin_g_l":40,"citation":{"authors":"Forrest LM, McMillan DC, McArdle CS, Angerson WJ, Dunlop DJ","doi":"10.1038/sj.bjc.6601242","id":"forrest-2003","pmid":"12966420","source":"Br J Cancer. 2003;89(6):1028-1030","title":"Evaluation of cumulative prognostic scores based on the systemic inflammatory response in patients with inoperable non-small-cell lung cancer"},"crp_mg_l":5,"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":"gps","formula_expression":"GPS 0: CRP ≤ 10 mg/L AND albumin ≥ 35 g/L; GPS 1: CRP ≤ 10 mg/L AND albumin < 35 g/L (isolated hypoalbuminaemia) OR CRP > 10 mg/L AND albumin ≥ 35 g/L; GPS 2: CRP > 10 mg/L AND albumin < 35 g/L (Forrest 2003 original GPS)","gps":0}],"path":"/api/calc/gps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Forrest 2003 hypoalbuminaemia is <35 g/L (35 is not low). Isolated hypoalbuminaemia scores GPS 1. magent does not assay albumin.","type":"number"},"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500), not mg/dL. Forrest 2003 elevated CRP is >10 mg/L. CRP = 10 is not elevated. magent does not assay CRP.","type":"number"}},"required":["crp_mg_l"],"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":["gps","hematology","crp","albumin","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T15:00:07.794Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T15:00:07.648Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":4,"albumin_g_l":40,"crp_mg_l":5},{"albumin_g_dl":4,"albumin_g_l":40,"crp_mg_l":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_l":40,"citation":{"authors":"Forrest LM, McMillan DC, McArdle CS, Angerson WJ, Dunlop DJ","doi":"10.1038/sj.bjc.6601242","id":"forrest-2003","pmid":"12966420","source":"Br J Cancer. 2003;89(6):1028-1030","title":"Evaluation of cumulative prognostic scores based on the systemic inflammatory response in patients with inoperable non-small-cell lung cancer"},"crp_mg_l":5,"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":"gps","formula_expression":"GPS 0: CRP ≤ 10 mg/L AND albumin ≥ 35 g/L; GPS 1: CRP ≤ 10 mg/L AND albumin < 35 g/L (isolated hypoalbuminaemia) OR CRP > 10 mg/L AND albumin ≥ 35 g/L; GPS 2: CRP > 10 mg/L AND albumin < 35 g/L (Forrest 2003 original GPS)","gps":0},{"albumin_g_l":40,"citation":{"authors":"Forrest LM, McMillan DC, McArdle CS, Angerson WJ, Dunlop DJ","doi":"10.1038/sj.bjc.6601242","id":"forrest-2003","pmid":"12966420","source":"Br J Cancer. 2003;89(6):1028-1030","title":"Evaluation of cumulative prognostic scores based on the systemic inflammatory response in patients with inoperable non-small-cell lung cancer"},"crp_mg_l":5,"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":"gps","formula_expression":"GPS 0: CRP ≤ 10 mg/L AND albumin ≥ 35 g/L; GPS 1: CRP ≤ 10 mg/L AND albumin < 35 g/L (isolated hypoalbuminaemia) OR CRP > 10 mg/L AND albumin ≥ 35 g/L; GPS 2: CRP > 10 mg/L AND albumin < 35 g/L (Forrest 2003 original GPS)","gps":0}],"path":"/api/calc/gps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Forrest 2003 hypoalbuminaemia is <35 g/L (35 is not low). Isolated hypoalbuminaemia scores GPS 1. magent does not assay albumin.","type":"number"},"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500), not mg/dL. Forrest 2003 elevated CRP is >10 mg/L. CRP = 10 is not elevated. magent does not assay CRP.","type":"number"}},"required":["crp_mg_l"],"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},{"id":39508,"slug":"39508","resource":"https://api.magentlab.com/api/calc/mgps","description":"McMillan 2007 modified Glasgow Prognostic Score (mGPS) from CRP in mg/L and albumin. Elevated CRP is >10 mg/L; hypoalbuminaemia is albumin <35 g/L. mGPS 0 when CRP ≤10 (albumin ignored, including isolated hypoalbuminaemia); mGPS 1 when CRP >10 and albumin ≥35; mGPS 2 when CRP >10 and albumin <35. Not original GPS, not hs-mGPS, not a cancer diagnosis or treatment order. magent does not assay CRP or albumin.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":4,"albumin_g_l":40,"crp_mg_l":5},{"albumin_g_dl":4,"albumin_g_l":40,"crp_mg_l":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_l":40,"citation":{"authors":"McMillan DC, Crozier JEM, Canna K, Angerson WJ, McArdle CS","doi":"10.1007/s00384-006-0259-6","id":"mcmillan-2007","pmid":"17245566","source":"Int J Colorectal Dis. 2007;22(8):881-886","title":"Evaluation of an inflammation-based prognostic score (GPS) in patients undergoing resection for colon and rectal cancer"},"crp_mg_l":5,"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":"mgps","formula_expression":"mGPS 0: CRP ≤ 10 mg/L (albumin ignored); mGPS 1: CRP > 10 mg/L AND albumin ≥ 35 g/L; mGPS 2: CRP > 10 mg/L AND albumin < 35 g/L (McMillan 2007 modified GPS)","mgps":0},{"albumin_g_l":40,"citation":{"authors":"McMillan DC, Crozier JEM, Canna K, Angerson WJ, McArdle CS","doi":"10.1007/s00384-006-0259-6","id":"mcmillan-2007","pmid":"17245566","source":"Int J Colorectal Dis. 2007;22(8):881-886","title":"Evaluation of an inflammation-based prognostic score (GPS) in patients undergoing resection for colon and rectal cancer"},"crp_mg_l":5,"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":"mgps","formula_expression":"mGPS 0: CRP ≤ 10 mg/L (albumin ignored); mGPS 1: CRP > 10 mg/L AND albumin ≥ 35 g/L; mGPS 2: CRP > 10 mg/L AND albumin < 35 g/L (McMillan 2007 modified GPS)","mgps":0}],"path":"/api/calc/mgps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. McMillan 2007 hypoalbuminaemia is <35 g/L (35 is not low). Ignored when CRP ≤ 10 mg/L. magent does not assay albumin.","type":"number"},"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500), not mg/dL. McMillan 2007 elevated CRP is >10 mg/L. CRP = 10 is not elevated and scores mGPS 0 regardless of albumin. magent does not assay CRP.","type":"number"}},"required":["crp_mg_l"],"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":["mgps","hematology","crp","albumin","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:59:53.691Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:59:53.565Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":4,"albumin_g_l":40,"crp_mg_l":5},{"albumin_g_dl":4,"albumin_g_l":40,"crp_mg_l":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_l":40,"citation":{"authors":"McMillan DC, Crozier JEM, Canna K, Angerson WJ, McArdle CS","doi":"10.1007/s00384-006-0259-6","id":"mcmillan-2007","pmid":"17245566","source":"Int J Colorectal Dis. 2007;22(8):881-886","title":"Evaluation of an inflammation-based prognostic score (GPS) in patients undergoing resection for colon and rectal cancer"},"crp_mg_l":5,"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":"mgps","formula_expression":"mGPS 0: CRP ≤ 10 mg/L (albumin ignored); mGPS 1: CRP > 10 mg/L AND albumin ≥ 35 g/L; mGPS 2: CRP > 10 mg/L AND albumin < 35 g/L (McMillan 2007 modified GPS)","mgps":0},{"albumin_g_l":40,"citation":{"authors":"McMillan DC, Crozier JEM, Canna K, Angerson WJ, McArdle CS","doi":"10.1007/s00384-006-0259-6","id":"mcmillan-2007","pmid":"17245566","source":"Int J Colorectal Dis. 2007;22(8):881-886","title":"Evaluation of an inflammation-based prognostic score (GPS) in patients undergoing resection for colon and rectal cancer"},"crp_mg_l":5,"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":"mgps","formula_expression":"mGPS 0: CRP ≤ 10 mg/L (albumin ignored); mGPS 1: CRP > 10 mg/L AND albumin ≥ 35 g/L; mGPS 2: CRP > 10 mg/L AND albumin < 35 g/L (McMillan 2007 modified GPS)","mgps":0}],"path":"/api/calc/mgps"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. McMillan 2007 hypoalbuminaemia is <35 g/L (35 is not low). Ignored when CRP ≤ 10 mg/L. magent does not assay albumin.","type":"number"},"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500), not mg/dL. McMillan 2007 elevated CRP is >10 mg/L. CRP = 10 is not elevated and scores mGPS 0 regardless of albumin. magent does not assay CRP.","type":"number"}},"required":["crp_mg_l"],"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},{"id":39509,"slug":"39509","resource":"https://api.magentlab.com/api/calc/isth_dic","description":"Taylor 2001 ISTH SSC overt DIC (four lab items; max 8). Platelets >=100=0, 50-<100=1, <50=2. fibrin_related_marker none/moderate/strong = 0/2/3 (caller-assigned; magent does not grade D-dimer). PT sec above ULN <3=0, >=3 and <6=1, >=6=2. Fibrinogen >=1.0 g/L=0, <1.0=1 (XOR g/L or mg/dL÷100). Band <5 not compatible with overt DIC; >=5 compatible. Not a diagnosis. Not the non-overt serial score.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"fibrin_related_marker":"none","fibrinogen_g_l":2.5,"fibrinogen_mg_dl":250,"platelets_10e9_l":180,"pt_prolongation_sec":1},{"fibrin_related_marker":"none","fibrinogen_g_l":2.5,"fibrinogen_mg_dl":250,"platelets_10e9_l":180,"pt_prolongation_sec":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Taylor FB Jr, Toh CH, Hoots WK, Wada H, Levi M","doi":"10.1055/s-0037-1616068","id":"taylor-2001","pmid":"11816725","source":"Thromb Haemost. 2001;86(5):1327-1330","title":"Towards definition, clinical and laboratory criteria, and a scoring system for disseminated intravascular coagulation"},"components":[{"factor":"platelets","points":0,"present":false,"value":180},{"factor":"fibrin_related_marker","points":0,"present":false,"value":"none"},{"factor":"pt_prolongation","points":0,"present":false,"value":1},{"factor":"fibrinogen","points":0,"present":false,"value":2.5}],"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.","fibrin_related_marker":"none","fibrinogen_g_l":2.5,"formula":"isth_dic","formula_expression":"ISTH overt DIC = platelets_10e9_l (>=100 → 0; 50 to <100 → 1; <50 → 2) + fibrin_related_marker (none 0, moderate 2, strong 3) + pt_prolongation_sec (<3 → 0; >=3 and <6 → 1; >=6 → 2) + fibrinogen_g_l (>=1.0 → 0; <1.0 → 1); max 8; bands <5 / >=5","isth_dic_band":"<5","max_score":8,"platelets_10e9_l":180,"pt_prolongation_sec":1,"score":0},{"citation":{"authors":"Taylor FB Jr, Toh CH, Hoots WK, Wada H, Levi M","doi":"10.1055/s-0037-1616068","id":"taylor-2001","pmid":"11816725","source":"Thromb Haemost. 2001;86(5):1327-1330","title":"Towards definition, clinical and laboratory criteria, and a scoring system for disseminated intravascular coagulation"},"components":[{"factor":"platelets","points":0,"present":false,"value":180},{"factor":"fibrin_related_marker","points":0,"present":false,"value":"none"},{"factor":"pt_prolongation","points":0,"present":false,"value":1},{"factor":"fibrinogen","points":0,"present":false,"value":2.5}],"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.","fibrin_related_marker":"none","fibrinogen_g_l":2.5,"formula":"isth_dic","formula_expression":"ISTH overt DIC = platelets_10e9_l (>=100 → 0; 50 to <100 → 1; <50 → 2) + fibrin_related_marker (none 0, moderate 2, strong 3) + pt_prolongation_sec (<3 → 0; >=3 and <6 → 1; >=6 → 2) + fibrinogen_g_l (>=1.0 → 0; <1.0 → 1); max 8; bands <5 / >=5","isth_dic_band":"<5","max_score":8,"platelets_10e9_l":180,"pt_prolongation_sec":1,"score":0}],"path":"/api/calc/isth_dic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fibrin_related_marker":{"description":"Caller-assigned ISTH fibrin-related marker (Taylor 2001). none scores 0; moderate scores 2; strong scores 3. magent does not grade D-dimer assays.","enum":["none","moderate","strong"],"type":"string"},"fibrinogen_g_l":{"description":"Fibrinogen in g/L (0.1-10). Provide this or fibrinogen_mg_dl, not both. >=1.0 scores 0; <1.0 scores 1. 1.0 scores 0 (Taylor 2001).","type":"number"},"fibrinogen_mg_dl":{"description":"Fibrinogen in mg/dL (10-1000). Converted as g/L = mg/dL / 100. Provide this or fibrinogen_g_l, not both.","type":"number"},"platelets_10e9_l":{"description":"Platelet count ×10^9/L (1-2000). >=100 scores 0; 50 to <100 scores 1; <50 scores 2. 100 scores 0; 50 scores 1; 49 scores 2 (Taylor 2001).","type":"number"},"pt_prolongation_sec":{"description":"Prothrombin time prolongation in seconds above the laboratory ULN (0-30). <3 scores 0; >=3 and <6 scores 1; >=6 scores 2. 3.0 and 5.9 score 1; 6.0 scores 2; 2.9 scores 0 (Taylor 2001 table gaps filled at 3 and 6).","type":"number"}},"required":["platelets_10e9_l","fibrin_related_marker","pt_prolongation_sec"],"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":["isth-dic","dic","hematology","coagulation","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:59:13.551Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:59:13.418Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"fibrin_related_marker":"none","fibrinogen_g_l":2.5,"fibrinogen_mg_dl":250,"platelets_10e9_l":180,"pt_prolongation_sec":1},{"fibrin_related_marker":"none","fibrinogen_g_l":2.5,"fibrinogen_mg_dl":250,"platelets_10e9_l":180,"pt_prolongation_sec":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Taylor FB Jr, Toh CH, Hoots WK, Wada H, Levi M","doi":"10.1055/s-0037-1616068","id":"taylor-2001","pmid":"11816725","source":"Thromb Haemost. 2001;86(5):1327-1330","title":"Towards definition, clinical and laboratory criteria, and a scoring system for disseminated intravascular coagulation"},"components":[{"factor":"platelets","points":0,"present":false,"value":180},{"factor":"fibrin_related_marker","points":0,"present":false,"value":"none"},{"factor":"pt_prolongation","points":0,"present":false,"value":1},{"factor":"fibrinogen","points":0,"present":false,"value":2.5}],"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.","fibrin_related_marker":"none","fibrinogen_g_l":2.5,"formula":"isth_dic","formula_expression":"ISTH overt DIC = platelets_10e9_l (>=100 → 0; 50 to <100 → 1; <50 → 2) + fibrin_related_marker (none 0, moderate 2, strong 3) + pt_prolongation_sec (<3 → 0; >=3 and <6 → 1; >=6 → 2) + fibrinogen_g_l (>=1.0 → 0; <1.0 → 1); max 8; bands <5 / >=5","isth_dic_band":"<5","max_score":8,"platelets_10e9_l":180,"pt_prolongation_sec":1,"score":0},{"citation":{"authors":"Taylor FB Jr, Toh CH, Hoots WK, Wada H, Levi M","doi":"10.1055/s-0037-1616068","id":"taylor-2001","pmid":"11816725","source":"Thromb Haemost. 2001;86(5):1327-1330","title":"Towards definition, clinical and laboratory criteria, and a scoring system for disseminated intravascular coagulation"},"components":[{"factor":"platelets","points":0,"present":false,"value":180},{"factor":"fibrin_related_marker","points":0,"present":false,"value":"none"},{"factor":"pt_prolongation","points":0,"present":false,"value":1},{"factor":"fibrinogen","points":0,"present":false,"value":2.5}],"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.","fibrin_related_marker":"none","fibrinogen_g_l":2.5,"formula":"isth_dic","formula_expression":"ISTH overt DIC = platelets_10e9_l (>=100 → 0; 50 to <100 → 1; <50 → 2) + fibrin_related_marker (none 0, moderate 2, strong 3) + pt_prolongation_sec (<3 → 0; >=3 and <6 → 1; >=6 → 2) + fibrinogen_g_l (>=1.0 → 0; <1.0 → 1); max 8; bands <5 / >=5","isth_dic_band":"<5","max_score":8,"platelets_10e9_l":180,"pt_prolongation_sec":1,"score":0}],"path":"/api/calc/isth_dic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fibrin_related_marker":{"description":"Caller-assigned ISTH fibrin-related marker (Taylor 2001). none scores 0; moderate scores 2; strong scores 3. magent does not grade D-dimer assays.","enum":["none","moderate","strong"],"type":"string"},"fibrinogen_g_l":{"description":"Fibrinogen in g/L (0.1-10). Provide this or fibrinogen_mg_dl, not both. >=1.0 scores 0; <1.0 scores 1. 1.0 scores 0 (Taylor 2001).","type":"number"},"fibrinogen_mg_dl":{"description":"Fibrinogen in mg/dL (10-1000). Converted as g/L = mg/dL / 100. Provide this or fibrinogen_g_l, not both.","type":"number"},"platelets_10e9_l":{"description":"Platelet count ×10^9/L (1-2000). >=100 scores 0; 50 to <100 scores 1; <50 scores 2. 100 scores 0; 50 scores 1; 49 scores 2 (Taylor 2001).","type":"number"},"pt_prolongation_sec":{"description":"Prothrombin time prolongation in seconds above the laboratory ULN (0-30). <3 scores 0; >=3 and <6 scores 1; >=6 scores 2. 3.0 and 5.9 score 1; 6.0 scores 2; 2.9 scores 0 (Taylor 2001 table gaps filled at 3 and 6).","type":"number"}},"required":["platelets_10e9_l","fibrin_related_marker","pt_prolongation_sec"],"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},{"id":39510,"slug":"39510","resource":"https://api.magentlab.com/api/calc/r_iss","description":"Palumbo 2015 R-ISS for multiple myeloma. ISS from beta-2 microglobulin and albumin (Greipp 2005). R-ISS I: ISS I, standard-risk iFISH CA, and normal LDH. R-ISS III: ISS III plus high-risk CA (del(17p) and/or t(4;14) and/or t(14;16)) or LDH > ULN. R-ISS II: all other combinations. Not a myeloma diagnosis or treatment choice; not R2-ISS; not Durie-Salmon. magent does not assay beta-2 microglobulin, albumin, LDH, or cytogenetics.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":4,"albumin_g_l":40,"beta2_microglobulin_mg_l":2,"high_risk_ca":false,"ldh_gt_uln":false},{"albumin_g_dl":4,"albumin_g_l":40,"beta2_microglobulin_mg_l":2,"high_risk_ca":false,"ldh_gt_uln":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":4,"beta2_microglobulin_mg_l":2,"citation":{"authors":"Palumbo A, Avet-Loiseau H, Oliva S, et al.","doi":"10.1200/JCO.2015.61.2267","id":"palumbo-2015","pmid":"26240224","source":"J Clin Oncol. 2015;33(26):2863-2869","title":"Revised International Staging System for Multiple Myeloma: A Report From International Myeloma Working Group"},"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":"r_iss","formula_expression":"R-ISS I: ISS I AND high_risk_ca false AND ldh_gt_uln false; R-ISS III: ISS III AND (high_risk_ca OR ldh_gt_uln); R-ISS II: all other combinations. ISS I: beta2_microglobulin_mg_l < 3.5 AND albumin_g_dl >= 3.5; ISS III: beta2_microglobulin_mg_l >= 5.5; ISS II: neither I nor III (Palumbo 2015; ISS as Greipp 2005)","high_risk_ca":false,"iss_stage":1,"iss_stage_label":"I","ldh_gt_uln":false,"riss_stage":1,"riss_stage_label":"I"},{"albumin_g_dl":4,"beta2_microglobulin_mg_l":2,"citation":{"authors":"Palumbo A, Avet-Loiseau H, Oliva S, et al.","doi":"10.1200/JCO.2015.61.2267","id":"palumbo-2015","pmid":"26240224","source":"J Clin Oncol. 2015;33(26):2863-2869","title":"Revised International Staging System for Multiple Myeloma: A Report From International Myeloma Working Group"},"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":"r_iss","formula_expression":"R-ISS I: ISS I AND high_risk_ca false AND ldh_gt_uln false; R-ISS III: ISS III AND (high_risk_ca OR ldh_gt_uln); R-ISS II: all other combinations. ISS I: beta2_microglobulin_mg_l < 3.5 AND albumin_g_dl >= 3.5; ISS III: beta2_microglobulin_mg_l >= 5.5; ISS II: neither I nor III (Palumbo 2015; ISS as Greipp 2005)","high_risk_ca":false,"iss_stage":1,"iss_stage_label":"I","ldh_gt_uln":false,"riss_stage":1,"riss_stage_label":"I"}],"path":"/api/calc/r_iss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Provide this or albumin_g_l, not both. ISS uses g/dL. Stage I requires albumin >= 3.5 when Sβ2M < 3.5. Ignored when Sβ2M >= 5.5.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both.","type":"number"},"beta2_microglobulin_mg_l":{"description":"Serum beta-2 microglobulin in mg/L (0.2-40). Greipp 2005 / Palumbo 2015 ISS. Stage I requires < 3.5; stage III when >= 5.5. magent does not assay beta-2 microglobulin.","type":"number"},"high_risk_ca":{"description":"High-risk cytogenetic abnormalities as assigned by the caller: true iff del(17p) and/or t(4;14) and/or t(14;16) by iFISH (Palumbo 2015). magent does not FISH.","type":"boolean"},"ldh_gt_uln":{"description":"Serum LDH greater than the upper limit of normal as assigned by the caller (Palumbo 2015: high LDH is > ULN). magent does not assay LDH or assign ULN.","type":"boolean"}},"required":["beta2_microglobulin_mg_l","high_risk_ca","ldh_gt_uln"],"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":["r-iss","myeloma","hematology","staging","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:58:23.947Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:58:23.822Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":4,"albumin_g_l":40,"beta2_microglobulin_mg_l":2,"high_risk_ca":false,"ldh_gt_uln":false},{"albumin_g_dl":4,"albumin_g_l":40,"beta2_microglobulin_mg_l":2,"high_risk_ca":false,"ldh_gt_uln":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":4,"beta2_microglobulin_mg_l":2,"citation":{"authors":"Palumbo A, Avet-Loiseau H, Oliva S, et al.","doi":"10.1200/JCO.2015.61.2267","id":"palumbo-2015","pmid":"26240224","source":"J Clin Oncol. 2015;33(26):2863-2869","title":"Revised International Staging System for Multiple Myeloma: A Report From International Myeloma Working Group"},"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":"r_iss","formula_expression":"R-ISS I: ISS I AND high_risk_ca false AND ldh_gt_uln false; R-ISS III: ISS III AND (high_risk_ca OR ldh_gt_uln); R-ISS II: all other combinations. ISS I: beta2_microglobulin_mg_l < 3.5 AND albumin_g_dl >= 3.5; ISS III: beta2_microglobulin_mg_l >= 5.5; ISS II: neither I nor III (Palumbo 2015; ISS as Greipp 2005)","high_risk_ca":false,"iss_stage":1,"iss_stage_label":"I","ldh_gt_uln":false,"riss_stage":1,"riss_stage_label":"I"},{"albumin_g_dl":4,"beta2_microglobulin_mg_l":2,"citation":{"authors":"Palumbo A, Avet-Loiseau H, Oliva S, et al.","doi":"10.1200/JCO.2015.61.2267","id":"palumbo-2015","pmid":"26240224","source":"J Clin Oncol. 2015;33(26):2863-2869","title":"Revised International Staging System for Multiple Myeloma: A Report From International Myeloma Working Group"},"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":"r_iss","formula_expression":"R-ISS I: ISS I AND high_risk_ca false AND ldh_gt_uln false; R-ISS III: ISS III AND (high_risk_ca OR ldh_gt_uln); R-ISS II: all other combinations. ISS I: beta2_microglobulin_mg_l < 3.5 AND albumin_g_dl >= 3.5; ISS III: beta2_microglobulin_mg_l >= 5.5; ISS II: neither I nor III (Palumbo 2015; ISS as Greipp 2005)","high_risk_ca":false,"iss_stage":1,"iss_stage_label":"I","ldh_gt_uln":false,"riss_stage":1,"riss_stage_label":"I"}],"path":"/api/calc/r_iss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Provide this or albumin_g_l, not both. ISS uses g/dL. Stage I requires albumin >= 3.5 when Sβ2M < 3.5. Ignored when Sβ2M >= 5.5.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both.","type":"number"},"beta2_microglobulin_mg_l":{"description":"Serum beta-2 microglobulin in mg/L (0.2-40). Greipp 2005 / Palumbo 2015 ISS. Stage I requires < 3.5; stage III when >= 5.5. magent does not assay beta-2 microglobulin.","type":"number"},"high_risk_ca":{"description":"High-risk cytogenetic abnormalities as assigned by the caller: true iff del(17p) and/or t(4;14) and/or t(14;16) by iFISH (Palumbo 2015). magent does not FISH.","type":"boolean"},"ldh_gt_uln":{"description":"Serum LDH greater than the upper limit of normal as assigned by the caller (Palumbo 2015: high LDH is > ULN). magent does not assay LDH or assign ULN.","type":"boolean"}},"required":["beta2_microglobulin_mg_l","high_risk_ca","ldh_gt_uln"],"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},{"id":39511,"slug":"39511","resource":"https://api.magentlab.com/api/calc/myeloma_iss","description":"Greipp 2005 International Staging System for multiple myeloma. Stage I: serum beta-2 microglobulin <3.5 mg/L and albumin >=3.5 g/dL. Stage III: beta-2 microglobulin >=5.5 mg/L. Stage II: neither I nor III. Returns iss_stage 1/2/3. Not a myeloma diagnosis or treatment choice; not R-ISS (no LDH, no cytogenetics); not trauma ISS. magent does not assay beta-2 microglobulin or albumin.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":4,"albumin_g_l":40,"beta2_microglobulin_mg_l":2},{"albumin_g_dl":4,"albumin_g_l":40,"beta2_microglobulin_mg_l":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":4,"beta2_microglobulin_mg_l":2,"citation":{"authors":"Greipp PR, San Miguel J, Durie BGM, Crowley JJ, Barlogie B, Bladé J, Boccadoro M, Child JA, Avet-Loiseau H, Kyle RA, Lahuerta JJ, Ludwig H, Morgan G, Powles R, Shimizu K, Shustik C, Sonneveld P, Tosi P, Turesson I, Westin J","doi":"10.1200/JCO.2005.04.242","id":"greipp-2005","pmid":"15809451","source":"J Clin Oncol. 2005;23(15):3412-3420","title":"International staging system for multiple myeloma"},"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":"myeloma_iss","formula_expression":"ISS stage I: beta2_microglobulin_mg_l < 3.5 AND albumin_g_dl >= 3.5; stage III: beta2_microglobulin_mg_l >= 5.5; stage II: neither I nor III (Greipp 2005)","iss_stage":1,"iss_stage_label":"I"},{"albumin_g_dl":4,"beta2_microglobulin_mg_l":2,"citation":{"authors":"Greipp PR, San Miguel J, Durie BGM, Crowley JJ, Barlogie B, Bladé J, Boccadoro M, Child JA, Avet-Loiseau H, Kyle RA, Lahuerta JJ, Ludwig H, Morgan G, Powles R, Shimizu K, Shustik C, Sonneveld P, Tosi P, Turesson I, Westin J","doi":"10.1200/JCO.2005.04.242","id":"greipp-2005","pmid":"15809451","source":"J Clin Oncol. 2005;23(15):3412-3420","title":"International staging system for multiple myeloma"},"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":"myeloma_iss","formula_expression":"ISS stage I: beta2_microglobulin_mg_l < 3.5 AND albumin_g_dl >= 3.5; stage III: beta2_microglobulin_mg_l >= 5.5; stage II: neither I nor III (Greipp 2005)","iss_stage":1,"iss_stage_label":"I"}],"path":"/api/calc/myeloma_iss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Greipp 2005 stages use g/dL. Stage I requires albumin >= 3.5 when Sβ2M < 3.5. Ignored when Sβ2M >= 5.5.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both.","type":"number"},"beta2_microglobulin_mg_l":{"description":"Serum beta-2 microglobulin in mg/L (0.2-40). Greipp 2005 Sβ2M. Stage I requires < 3.5; stage III when >= 5.5. magent does not assay beta-2 microglobulin.","type":"number"}},"required":["beta2_microglobulin_mg_l"],"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":["myeloma-iss","myeloma","hematology","staging","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:58:17.752Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:58:17.621Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":4,"albumin_g_l":40,"beta2_microglobulin_mg_l":2},{"albumin_g_dl":4,"albumin_g_l":40,"beta2_microglobulin_mg_l":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":4,"beta2_microglobulin_mg_l":2,"citation":{"authors":"Greipp PR, San Miguel J, Durie BGM, Crowley JJ, Barlogie B, Bladé J, Boccadoro M, Child JA, Avet-Loiseau H, Kyle RA, Lahuerta JJ, Ludwig H, Morgan G, Powles R, Shimizu K, Shustik C, Sonneveld P, Tosi P, Turesson I, Westin J","doi":"10.1200/JCO.2005.04.242","id":"greipp-2005","pmid":"15809451","source":"J Clin Oncol. 2005;23(15):3412-3420","title":"International staging system for multiple myeloma"},"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":"myeloma_iss","formula_expression":"ISS stage I: beta2_microglobulin_mg_l < 3.5 AND albumin_g_dl >= 3.5; stage III: beta2_microglobulin_mg_l >= 5.5; stage II: neither I nor III (Greipp 2005)","iss_stage":1,"iss_stage_label":"I"},{"albumin_g_dl":4,"beta2_microglobulin_mg_l":2,"citation":{"authors":"Greipp PR, San Miguel J, Durie BGM, Crowley JJ, Barlogie B, Bladé J, Boccadoro M, Child JA, Avet-Loiseau H, Kyle RA, Lahuerta JJ, Ludwig H, Morgan G, Powles R, Shimizu K, Shustik C, Sonneveld P, Tosi P, Turesson I, Westin J","doi":"10.1200/JCO.2005.04.242","id":"greipp-2005","pmid":"15809451","source":"J Clin Oncol. 2005;23(15):3412-3420","title":"International staging system for multiple myeloma"},"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":"myeloma_iss","formula_expression":"ISS stage I: beta2_microglobulin_mg_l < 3.5 AND albumin_g_dl >= 3.5; stage III: beta2_microglobulin_mg_l >= 5.5; stage II: neither I nor III (Greipp 2005)","iss_stage":1,"iss_stage_label":"I"}],"path":"/api/calc/myeloma_iss"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Greipp 2005 stages use g/dL. Stage I requires albumin >= 3.5 when Sβ2M < 3.5. Ignored when Sβ2M >= 5.5.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both.","type":"number"},"beta2_microglobulin_mg_l":{"description":"Serum beta-2 microglobulin in mg/L (0.2-40). Greipp 2005 Sβ2M. Stage I requires < 3.5; stage III when >= 5.5. magent does not assay beta-2 microglobulin.","type":"number"}},"required":["beta2_microglobulin_mg_l"],"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},{"id":39512,"slug":"39512","resource":"https://api.magentlab.com/api/calc/mars","description":"Jawhar 2019 mutation-adjusted risk score (MARS) for advanced systemic mastocytosis: age >60 (1), hemoglobin <10 g/dL (1), platelets <100×10^9/L (1), exactly one S/A/R mutation among SRSF2, ASXL1, RUNX1 (1) or two or more (2, not both). Max 5. Low 0–1 (training-set median OS not reached), intermediate 2 (3.9 y), high 3–5 (1.9 y). Not WHO SM criteria. magent does not sequence or assay labs.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"platelets_10e9_l":200,"sar_mutation_count":0},{"age":50,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"platelets_10e9_l":200,"sar_mutation_count":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"citation":{"authors":"Jawhar M, Schwaab J, Álvarez-Twose I, Shoumariyeh K, Naumann N, Lübke J, Perkins C, Muñoz-González JI, Meggendorfer M, Kennedy V, Metzgeroth G, Fabarius A, Pfeifer D, Sotlar K, Horny HP, von Bubnoff N, Haferlach T, Cross NCP, Hofmann WK, Sperr WR, García-Montero AC, Valent P, Gotlib J, Orfao A, Reiter A","doi":"10.1200/JCO.19.00640","id":"jawhar-2019","pmid":"31509472","source":"J Clin Oncol. 2019;37(31):2846-2856","title":"MARS: Mutation-Adjusted Risk Score for Advanced Systemic Mastocytosis"},"components":[{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"hemoglobin_lt_10","points":0,"present":false,"value":12},{"factor":"platelets_lt_100","points":0,"present":false,"value":200},{"factor":"sar_mutations","points":0,"present":false,"value":0}],"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":"mars","formula_expression":"MARS = age_gt_60 1 + hemoglobin_lt_10 1 + platelets_lt_100 1 + sar_mutations (exactly one S/A/R 1, two or more 2; SRSF2, ASXL1, RUNX1); Jawhar 2019; max 5; low 0-1 (training-set median OS not reached), intermediate 2 (3.9 years), high 3-5 (1.9 years)","hemoglobin_g_dl":12,"max_score":5,"platelets_10e9_l":200,"risk_band":"low","sar_mutation_count":0,"score":0},{"age":50,"citation":{"authors":"Jawhar M, Schwaab J, Álvarez-Twose I, Shoumariyeh K, Naumann N, Lübke J, Perkins C, Muñoz-González JI, Meggendorfer M, Kennedy V, Metzgeroth G, Fabarius A, Pfeifer D, Sotlar K, Horny HP, von Bubnoff N, Haferlach T, Cross NCP, Hofmann WK, Sperr WR, García-Montero AC, Valent P, Gotlib J, Orfao A, Reiter A","doi":"10.1200/JCO.19.00640","id":"jawhar-2019","pmid":"31509472","source":"J Clin Oncol. 2019;37(31):2846-2856","title":"MARS: Mutation-Adjusted Risk Score for Advanced Systemic Mastocytosis"},"components":[{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"hemoglobin_lt_10","points":0,"present":false,"value":12},{"factor":"platelets_lt_100","points":0,"present":false,"value":200},{"factor":"sar_mutations","points":0,"present":false,"value":0}],"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":"mars","formula_expression":"MARS = age_gt_60 1 + hemoglobin_lt_10 1 + platelets_lt_100 1 + sar_mutations (exactly one S/A/R 1, two or more 2; SRSF2, ASXL1, RUNX1); Jawhar 2019; max 5; low 0-1 (training-set median OS not reached), intermediate 2 (3.9 years), high 3-5 (1.9 years)","hemoglobin_g_dl":12,"max_score":5,"platelets_10e9_l":200,"risk_band":"low","sar_mutation_count":0,"score":0}],"path":"/api/calc/mars"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). >60 scores 1 (Jawhar 2019). Age 61 scores; age 60 is the ≤60 arm and scores 0.","type":"integer"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. <10 g/dL (<100 g/L) scores 1 (Jawhar 2019). 10.0 is the ≥10 arm and scores 0. magent does not assay hemoglobin.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both. <100 g/L scores 1. 100 is the ≥100 arm and scores 0.","type":"number"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000). <100 scores 1 (Jawhar 2019). 100.0 is the ≥100 arm and scores 0. magent does not assay platelets.","type":"number"},"sar_mutation_count":{"description":"Caller-assigned count of S/A/R mutations among SRSF2, ASXL1, and RUNX1 (integer 0, 1, or 2; 2 means two or more). Exactly one scores 1. Two or more scores 2 (not 1 plus 2). Count 0 scores 0. magent does not sequence.","type":"integer"}},"required":["age","platelets_10e9_l","sar_mutation_count"],"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":["mars","mastocytosis","hematology","prognosis","advsm","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:56:56.171Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:56:56.047Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"platelets_10e9_l":200,"sar_mutation_count":0},{"age":50,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"platelets_10e9_l":200,"sar_mutation_count":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"citation":{"authors":"Jawhar M, Schwaab J, Álvarez-Twose I, Shoumariyeh K, Naumann N, Lübke J, Perkins C, Muñoz-González JI, Meggendorfer M, Kennedy V, Metzgeroth G, Fabarius A, Pfeifer D, Sotlar K, Horny HP, von Bubnoff N, Haferlach T, Cross NCP, Hofmann WK, Sperr WR, García-Montero AC, Valent P, Gotlib J, Orfao A, Reiter A","doi":"10.1200/JCO.19.00640","id":"jawhar-2019","pmid":"31509472","source":"J Clin Oncol. 2019;37(31):2846-2856","title":"MARS: Mutation-Adjusted Risk Score for Advanced Systemic Mastocytosis"},"components":[{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"hemoglobin_lt_10","points":0,"present":false,"value":12},{"factor":"platelets_lt_100","points":0,"present":false,"value":200},{"factor":"sar_mutations","points":0,"present":false,"value":0}],"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":"mars","formula_expression":"MARS = age_gt_60 1 + hemoglobin_lt_10 1 + platelets_lt_100 1 + sar_mutations (exactly one S/A/R 1, two or more 2; SRSF2, ASXL1, RUNX1); Jawhar 2019; max 5; low 0-1 (training-set median OS not reached), intermediate 2 (3.9 years), high 3-5 (1.9 years)","hemoglobin_g_dl":12,"max_score":5,"platelets_10e9_l":200,"risk_band":"low","sar_mutation_count":0,"score":0},{"age":50,"citation":{"authors":"Jawhar M, Schwaab J, Álvarez-Twose I, Shoumariyeh K, Naumann N, Lübke J, Perkins C, Muñoz-González JI, Meggendorfer M, Kennedy V, Metzgeroth G, Fabarius A, Pfeifer D, Sotlar K, Horny HP, von Bubnoff N, Haferlach T, Cross NCP, Hofmann WK, Sperr WR, García-Montero AC, Valent P, Gotlib J, Orfao A, Reiter A","doi":"10.1200/JCO.19.00640","id":"jawhar-2019","pmid":"31509472","source":"J Clin Oncol. 2019;37(31):2846-2856","title":"MARS: Mutation-Adjusted Risk Score for Advanced Systemic Mastocytosis"},"components":[{"factor":"age_gt_60","points":0,"present":false,"value":50},{"factor":"hemoglobin_lt_10","points":0,"present":false,"value":12},{"factor":"platelets_lt_100","points":0,"present":false,"value":200},{"factor":"sar_mutations","points":0,"present":false,"value":0}],"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":"mars","formula_expression":"MARS = age_gt_60 1 + hemoglobin_lt_10 1 + platelets_lt_100 1 + sar_mutations (exactly one S/A/R 1, two or more 2; SRSF2, ASXL1, RUNX1); Jawhar 2019; max 5; low 0-1 (training-set median OS not reached), intermediate 2 (3.9 years), high 3-5 (1.9 years)","hemoglobin_g_dl":12,"max_score":5,"platelets_10e9_l":200,"risk_band":"low","sar_mutation_count":0,"score":0}],"path":"/api/calc/mars"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). >60 scores 1 (Jawhar 2019). Age 61 scores; age 60 is the ≤60 arm and scores 0.","type":"integer"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. <10 g/dL (<100 g/L) scores 1 (Jawhar 2019). 10.0 is the ≥10 arm and scores 0. magent does not assay hemoglobin.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both. <100 g/L scores 1. 100 is the ≥100 arm and scores 0.","type":"number"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000). <100 scores 1 (Jawhar 2019). 100.0 is the ≥100 arm and scores 0. magent does not assay platelets.","type":"number"},"sar_mutation_count":{"description":"Caller-assigned count of S/A/R mutations among SRSF2, ASXL1, and RUNX1 (integer 0, 1, or 2; 2 means two or more). Exactly one scores 1. Two or more scores 2 (not 1 plus 2). Count 0 scores 0. magent does not sequence.","type":"integer"}},"required":["age","platelets_10e9_l","sar_mutation_count"],"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},{"id":39513,"slug":"39513","resource":"https://api.magentlab.com/api/calc/mipss70","description":"Guglielmelli 2018 MIPSS70 for transplant-age PMF: Hb <10 g/dL (1), leukocytes >25×10^9/L (2), platelets <100×10^9/L (2), blasts ≥2% (1), fibrosis ≥2 (1), symptoms (1), no type 1/like CALR (1), HMR category (1), ≥2 HMR (2); max 12. Low 0–1, intermediate 2–4, high ≥5. Italian-cohort median (5-year) OS 27.7 y (95%), 7.1 y (70%), 2.3 y (29%). Not MIPSS70-plus or version 2.0. magent does not sequence or grade marrow.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"blasts_percent":0,"calr_type1_like":true,"constitutional_symptoms":false,"fibrosis_grade":1,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"hmr_mutation_count":0,"leukocytes_10e9_l":10,"platelets_10e9_l":200},{"blasts_percent":0,"calr_type1_like":true,"constitutional_symptoms":false,"fibrosis_grade":1,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"hmr_mutation_count":0,"leukocytes_10e9_l":10,"platelets_10e9_l":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"blasts_percent":0,"calr_type1_like":true,"citation":{"authors":"Guglielmelli P, Lasho TL, Rotunno G, Mudireddy M, Mannarelli C, Nicolosi M, Pacilli A, Pardanani A, Rumi E, Rosti V, Hanson CA, Mannelli F, Ketterling RP, Gangat N, Rambaldi A, Passamonti F, Barosi G, Barbui T, Cazzola M, Vannucchi AM, Tefferi A","doi":"10.1200/JCO.2017.76.4886","id":"guglielmelli-2018","pmid":"29226763","source":"J Clin Oncol. 2018;36(4):310-318","title":"MIPSS70: Mutation-Enhanced International Prognostic Score System for Transplantation-Age Patients With Primary Myelofibrosis"},"components":[{"factor":"hemoglobin_lt_10","points":0,"present":false,"value":12},{"factor":"leukocytes_gt_25","points":0,"present":false,"value":10},{"factor":"platelets_lt_100","points":0,"present":false,"value":200},{"factor":"blasts_ge_2","points":0,"present":false,"value":0},{"factor":"fibrosis_ge_2","points":0,"present":false,"value":1},{"factor":"constitutional_symptoms","points":0,"present":false},{"factor":"absence_of_calr_type1_like","points":0,"present":false},{"factor":"hmr_category","points":0,"present":false,"value":0},{"factor":"hmr_two_or_more","points":0,"present":false,"value":0}],"constitutional_symptoms":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.","fibrosis_grade":1,"five_year_survival_percent":95,"formula":"mipss70","formula_expression":"MIPSS70 = hemoglobin_lt_10 1 + leukocytes_gt_25 2 + platelets_lt_100 2 + blasts_ge_2 1 + fibrosis_ge_2 1 + constitutional_symptoms 1 + absence_of_calr_type1_like 1 + hmr_category 1 + hmr_two_or_more 2; Guglielmelli 2018; max 12; low 0-1, intermediate 2-4, high ≥5","hemoglobin_g_dl":12,"hmr_mutation_count":0,"leukocytes_10e9_l":10,"max_score":12,"median_survival_years":27.7,"platelets_10e9_l":200,"risk_band":"low","score":0},{"blasts_percent":0,"calr_type1_like":true,"citation":{"authors":"Guglielmelli P, Lasho TL, Rotunno G, Mudireddy M, Mannarelli C, Nicolosi M, Pacilli A, Pardanani A, Rumi E, Rosti V, Hanson CA, Mannelli F, Ketterling RP, Gangat N, Rambaldi A, Passamonti F, Barosi G, Barbui T, Cazzola M, Vannucchi AM, Tefferi A","doi":"10.1200/JCO.2017.76.4886","id":"guglielmelli-2018","pmid":"29226763","source":"J Clin Oncol. 2018;36(4):310-318","title":"MIPSS70: Mutation-Enhanced International Prognostic Score System for Transplantation-Age Patients With Primary Myelofibrosis"},"components":[{"factor":"hemoglobin_lt_10","points":0,"present":false,"value":12},{"factor":"leukocytes_gt_25","points":0,"present":false,"value":10},{"factor":"platelets_lt_100","points":0,"present":false,"value":200},{"factor":"blasts_ge_2","points":0,"present":false,"value":0},{"factor":"fibrosis_ge_2","points":0,"present":false,"value":1},{"factor":"constitutional_symptoms","points":0,"present":false},{"factor":"absence_of_calr_type1_like","points":0,"present":false},{"factor":"hmr_category","points":0,"present":false,"value":0},{"factor":"hmr_two_or_more","points":0,"present":false,"value":0}],"constitutional_symptoms":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.","fibrosis_grade":1,"five_year_survival_percent":95,"formula":"mipss70","formula_expression":"MIPSS70 = hemoglobin_lt_10 1 + leukocytes_gt_25 2 + platelets_lt_100 2 + blasts_ge_2 1 + fibrosis_ge_2 1 + constitutional_symptoms 1 + absence_of_calr_type1_like 1 + hmr_category 1 + hmr_two_or_more 2; Guglielmelli 2018; max 12; low 0-1, intermediate 2-4, high ≥5","hemoglobin_g_dl":12,"hmr_mutation_count":0,"leukocytes_10e9_l":10,"max_score":12,"median_survival_years":27.7,"platelets_10e9_l":200,"risk_band":"low","score":0}],"path":"/api/calc/mipss70"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"blasts_percent":{"description":"Circulating blasts as a percent (0-30). ≥2 scores 1 (Guglielmelli 2018). 2.0 scores; 1.9 is the <2 arm and scores 0. magent does not read a smear.","type":"number"},"calr_type1_like":{"description":"Presence of a type 1/like CALR mutation as assigned by the caller (Guglielmelli 2018). false (absence) scores 1. true scores 0. magent does not sequence.","type":"boolean"},"constitutional_symptoms":{"description":"Constitutional symptoms as assigned by the caller (Guglielmelli 2018). true scores 1. magent does not take a history.","type":"boolean"},"fibrosis_grade":{"description":"WHO bone-marrow fibrosis grade as an integer 0-3, assigned by the caller (Guglielmelli 2018). ≥2 scores 1. Grade 2 scores; grade 1 scores 0. magent does not grade marrow.","type":"integer"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. <10 g/dL (<100 g/L) scores 1 (Guglielmelli 2018). 10.0 is the ≥10 arm and scores 0. magent does not assay hemoglobin.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both. <100 g/L scores 1. 100 is the ≥100 arm and scores 0.","type":"number"},"hmr_mutation_count":{"description":"Count of high-molecular-risk mutations among ASXL1, EZH2, SRSF2, IDH1, and IDH2 as assigned by the caller (integer 0-5). ≥1 scores 1 (HMR category). ≥2 scores an additional 2 (two or more HMR mutations), so a count of 2 or more contributes 3. Count 0 scores 0. magent does not sequence.","type":"integer"},"leukocytes_10e9_l":{"description":"Leukocyte count in 10^9/L (0.5-200). >25 scores 2 (Guglielmelli 2018). 25.0 is the ≤25 arm and scores 0. magent does not assay leukocytes.","type":"number"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000). <100 scores 2 (Guglielmelli 2018). 100.0 is the ≥100 arm and scores 0. magent does not assay platelets.","type":"number"}},"required":["leukocytes_10e9_l","platelets_10e9_l","blasts_percent","fibrosis_grade","constitutional_symptoms","calr_type1_like","hmr_mutation_count"],"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":["mipss70","myelofibrosis","hematology","prognosis","pmf","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:55:56.021Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:55:55.884Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"blasts_percent":0,"calr_type1_like":true,"constitutional_symptoms":false,"fibrosis_grade":1,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"hmr_mutation_count":0,"leukocytes_10e9_l":10,"platelets_10e9_l":200},{"blasts_percent":0,"calr_type1_like":true,"constitutional_symptoms":false,"fibrosis_grade":1,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"hmr_mutation_count":0,"leukocytes_10e9_l":10,"platelets_10e9_l":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"blasts_percent":0,"calr_type1_like":true,"citation":{"authors":"Guglielmelli P, Lasho TL, Rotunno G, Mudireddy M, Mannarelli C, Nicolosi M, Pacilli A, Pardanani A, Rumi E, Rosti V, Hanson CA, Mannelli F, Ketterling RP, Gangat N, Rambaldi A, Passamonti F, Barosi G, Barbui T, Cazzola M, Vannucchi AM, Tefferi A","doi":"10.1200/JCO.2017.76.4886","id":"guglielmelli-2018","pmid":"29226763","source":"J Clin Oncol. 2018;36(4):310-318","title":"MIPSS70: Mutation-Enhanced International Prognostic Score System for Transplantation-Age Patients With Primary Myelofibrosis"},"components":[{"factor":"hemoglobin_lt_10","points":0,"present":false,"value":12},{"factor":"leukocytes_gt_25","points":0,"present":false,"value":10},{"factor":"platelets_lt_100","points":0,"present":false,"value":200},{"factor":"blasts_ge_2","points":0,"present":false,"value":0},{"factor":"fibrosis_ge_2","points":0,"present":false,"value":1},{"factor":"constitutional_symptoms","points":0,"present":false},{"factor":"absence_of_calr_type1_like","points":0,"present":false},{"factor":"hmr_category","points":0,"present":false,"value":0},{"factor":"hmr_two_or_more","points":0,"present":false,"value":0}],"constitutional_symptoms":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.","fibrosis_grade":1,"five_year_survival_percent":95,"formula":"mipss70","formula_expression":"MIPSS70 = hemoglobin_lt_10 1 + leukocytes_gt_25 2 + platelets_lt_100 2 + blasts_ge_2 1 + fibrosis_ge_2 1 + constitutional_symptoms 1 + absence_of_calr_type1_like 1 + hmr_category 1 + hmr_two_or_more 2; Guglielmelli 2018; max 12; low 0-1, intermediate 2-4, high ≥5","hemoglobin_g_dl":12,"hmr_mutation_count":0,"leukocytes_10e9_l":10,"max_score":12,"median_survival_years":27.7,"platelets_10e9_l":200,"risk_band":"low","score":0},{"blasts_percent":0,"calr_type1_like":true,"citation":{"authors":"Guglielmelli P, Lasho TL, Rotunno G, Mudireddy M, Mannarelli C, Nicolosi M, Pacilli A, Pardanani A, Rumi E, Rosti V, Hanson CA, Mannelli F, Ketterling RP, Gangat N, Rambaldi A, Passamonti F, Barosi G, Barbui T, Cazzola M, Vannucchi AM, Tefferi A","doi":"10.1200/JCO.2017.76.4886","id":"guglielmelli-2018","pmid":"29226763","source":"J Clin Oncol. 2018;36(4):310-318","title":"MIPSS70: Mutation-Enhanced International Prognostic Score System for Transplantation-Age Patients With Primary Myelofibrosis"},"components":[{"factor":"hemoglobin_lt_10","points":0,"present":false,"value":12},{"factor":"leukocytes_gt_25","points":0,"present":false,"value":10},{"factor":"platelets_lt_100","points":0,"present":false,"value":200},{"factor":"blasts_ge_2","points":0,"present":false,"value":0},{"factor":"fibrosis_ge_2","points":0,"present":false,"value":1},{"factor":"constitutional_symptoms","points":0,"present":false},{"factor":"absence_of_calr_type1_like","points":0,"present":false},{"factor":"hmr_category","points":0,"present":false,"value":0},{"factor":"hmr_two_or_more","points":0,"present":false,"value":0}],"constitutional_symptoms":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.","fibrosis_grade":1,"five_year_survival_percent":95,"formula":"mipss70","formula_expression":"MIPSS70 = hemoglobin_lt_10 1 + leukocytes_gt_25 2 + platelets_lt_100 2 + blasts_ge_2 1 + fibrosis_ge_2 1 + constitutional_symptoms 1 + absence_of_calr_type1_like 1 + hmr_category 1 + hmr_two_or_more 2; Guglielmelli 2018; max 12; low 0-1, intermediate 2-4, high ≥5","hemoglobin_g_dl":12,"hmr_mutation_count":0,"leukocytes_10e9_l":10,"max_score":12,"median_survival_years":27.7,"platelets_10e9_l":200,"risk_band":"low","score":0}],"path":"/api/calc/mipss70"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"blasts_percent":{"description":"Circulating blasts as a percent (0-30). ≥2 scores 1 (Guglielmelli 2018). 2.0 scores; 1.9 is the <2 arm and scores 0. magent does not read a smear.","type":"number"},"calr_type1_like":{"description":"Presence of a type 1/like CALR mutation as assigned by the caller (Guglielmelli 2018). false (absence) scores 1. true scores 0. magent does not sequence.","type":"boolean"},"constitutional_symptoms":{"description":"Constitutional symptoms as assigned by the caller (Guglielmelli 2018). true scores 1. magent does not take a history.","type":"boolean"},"fibrosis_grade":{"description":"WHO bone-marrow fibrosis grade as an integer 0-3, assigned by the caller (Guglielmelli 2018). ≥2 scores 1. Grade 2 scores; grade 1 scores 0. magent does not grade marrow.","type":"integer"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. <10 g/dL (<100 g/L) scores 1 (Guglielmelli 2018). 10.0 is the ≥10 arm and scores 0. magent does not assay hemoglobin.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both. <100 g/L scores 1. 100 is the ≥100 arm and scores 0.","type":"number"},"hmr_mutation_count":{"description":"Count of high-molecular-risk mutations among ASXL1, EZH2, SRSF2, IDH1, and IDH2 as assigned by the caller (integer 0-5). ≥1 scores 1 (HMR category). ≥2 scores an additional 2 (two or more HMR mutations), so a count of 2 or more contributes 3. Count 0 scores 0. magent does not sequence.","type":"integer"},"leukocytes_10e9_l":{"description":"Leukocyte count in 10^9/L (0.5-200). >25 scores 2 (Guglielmelli 2018). 25.0 is the ≤25 arm and scores 0. magent does not assay leukocytes.","type":"number"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000). <100 scores 2 (Guglielmelli 2018). 100.0 is the ≥100 arm and scores 0. magent does not assay platelets.","type":"number"}},"required":["leukocytes_10e9_l","platelets_10e9_l","blasts_percent","fibrosis_grade","constitutional_symptoms","calr_type1_like","hmr_mutation_count"],"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},{"id":39514,"slug":"39514","resource":"https://api.magentlab.com/api/calc/mysec_pm","description":"Passamonti 2017 MYSEC-PM for post-PV and post-ET myelofibrosis. Score = 0.15*age + hemoglobin <11 g/dL (2) + circulating blasts ≥3% (2) + CALR-unmutated (2) + platelets <150×10^9/L (1) + constitutional symptoms (1). Low <11, intermediate_1 ≥11 and <14, intermediate_2 ≥14 and <16, high ≥16. Not DIPSS (PMF), not GIPSS, not a transplant listing. magent does not sequence CALR.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"blasts_percent":6,"calr_unmutated":false,"constitutional_symptoms":false,"hemoglobin_g_dl":10,"hemoglobin_g_l":100,"platelets_10e9_l":200},{"age":40,"blasts_percent":6,"calr_unmutated":false,"constitutional_symptoms":false,"hemoglobin_g_dl":10,"hemoglobin_g_l":100,"platelets_10e9_l":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"blasts_percent":6,"calr_unmutated":false,"citation":{"authors":"Passamonti F, Giorgino T, Mora B, Guglielmelli P, Rumi E, Maffioli M, Rambaldi A, Caramella M, Komrokji R, Gotlib J, Kiladjian JJ, Cervantes F, Devos T, Palandri F, De Stefano V, Ruggeri M, Silver RT, Benevolo G, Albano F, Caramazza D, Merli M, Pietra D, Casalone R, Rotunno G, Barbui T, Cazzola M, Vannucchi AM","doi":"10.1038/leu.2017.169","id":"passamonti-2017","pmid":"28561069","source":"Leukemia. 2017;31(12):2726-2731","title":"A clinical-molecular prognostic model to predict survival in patients with post polycythemia vera and post essential thrombocythemia myelofibrosis"},"components":[{"factor":"age","points":6,"present":true,"value":40},{"factor":"hemoglobin_lt_11","points":2,"present":true,"value":10},{"factor":"blasts_ge_3","points":2,"present":true,"value":6},{"factor":"calr_unmutated","points":0,"present":false},{"factor":"platelets_lt_150","points":0,"present":false,"value":200},{"factor":"constitutional_symptoms","points":0,"present":false}],"constitutional_symptoms":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":"mysec_pm","formula_expression":"MYSEC-PM = 0.15*age_years + hemoglobin_lt_11 2 + blasts_ge_3 2 + calr_unmutated 2 + platelets_lt_150 1 + constitutional_symptoms 1; Passamonti 2017; low <11, intermediate_1 ≥11 and <14, intermediate_2 ≥14 and <16, high ≥16","hemoglobin_g_dl":10,"median_os_years":null,"platelets_10e9_l":200,"risk_group":"low","score":10},{"age_years":40,"blasts_percent":6,"calr_unmutated":false,"citation":{"authors":"Passamonti F, Giorgino T, Mora B, Guglielmelli P, Rumi E, Maffioli M, Rambaldi A, Caramella M, Komrokji R, Gotlib J, Kiladjian JJ, Cervantes F, Devos T, Palandri F, De Stefano V, Ruggeri M, Silver RT, Benevolo G, Albano F, Caramazza D, Merli M, Pietra D, Casalone R, Rotunno G, Barbui T, Cazzola M, Vannucchi AM","doi":"10.1038/leu.2017.169","id":"passamonti-2017","pmid":"28561069","source":"Leukemia. 2017;31(12):2726-2731","title":"A clinical-molecular prognostic model to predict survival in patients with post polycythemia vera and post essential thrombocythemia myelofibrosis"},"components":[{"factor":"age","points":6,"present":true,"value":40},{"factor":"hemoglobin_lt_11","points":2,"present":true,"value":10},{"factor":"blasts_ge_3","points":2,"present":true,"value":6},{"factor":"calr_unmutated","points":0,"present":false},{"factor":"platelets_lt_150","points":0,"present":false,"value":200},{"factor":"constitutional_symptoms","points":0,"present":false}],"constitutional_symptoms":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":"mysec_pm","formula_expression":"MYSEC-PM = 0.15*age_years + hemoglobin_lt_11 2 + blasts_ge_3 2 + calr_unmutated 2 + platelets_lt_150 1 + constitutional_symptoms 1; Passamonti 2017; low <11, intermediate_1 ≥11 and <14, intermediate_2 ≥14 and <16, high ≥16","hemoglobin_g_dl":10,"median_os_years":null,"platelets_10e9_l":200,"risk_group":"low","score":10}],"path":"/api/calc/mysec_pm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Adds 0.15 points per year as published (Passamonti 2017). Age stays continuous; the total score is rounded to 2 decimal places.","type":"integer"},"blasts_percent":{"description":"Circulating blasts as a percent (0-30). ≥3 scores 2 (Passamonti 2017). 2.9 is the <3 arm and scores 0. magent does not read a smear.","type":"number"},"calr_unmutated":{"description":"CALR-unmutated genotype (JAK2, MPL, or triple-negative) as assigned by the caller (Passamonti 2017). true scores 2. magent does not sequence CALR.","type":"boolean"},"constitutional_symptoms":{"description":"Constitutional symptoms as assigned by the caller (Passamonti 2017). true scores 1. magent does not take a history.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. <11 scores 2 (Passamonti 2017). 11.0 is the ≥11 arm and scores 0. magent does not assay hemoglobin.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000). <150 scores 1 (Passamonti 2017). 150.0 is the ≥150 arm and scores 0. magent does not assay platelets.","type":"number"}},"required":["age","platelets_10e9_l","blasts_percent","calr_unmutated","constitutional_symptoms"],"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":["mysec-pm","myelofibrosis","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:55:48.671Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:55:48.538Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"blasts_percent":6,"calr_unmutated":false,"constitutional_symptoms":false,"hemoglobin_g_dl":10,"hemoglobin_g_l":100,"platelets_10e9_l":200},{"age":40,"blasts_percent":6,"calr_unmutated":false,"constitutional_symptoms":false,"hemoglobin_g_dl":10,"hemoglobin_g_l":100,"platelets_10e9_l":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"blasts_percent":6,"calr_unmutated":false,"citation":{"authors":"Passamonti F, Giorgino T, Mora B, Guglielmelli P, Rumi E, Maffioli M, Rambaldi A, Caramella M, Komrokji R, Gotlib J, Kiladjian JJ, Cervantes F, Devos T, Palandri F, De Stefano V, Ruggeri M, Silver RT, Benevolo G, Albano F, Caramazza D, Merli M, Pietra D, Casalone R, Rotunno G, Barbui T, Cazzola M, Vannucchi AM","doi":"10.1038/leu.2017.169","id":"passamonti-2017","pmid":"28561069","source":"Leukemia. 2017;31(12):2726-2731","title":"A clinical-molecular prognostic model to predict survival in patients with post polycythemia vera and post essential thrombocythemia myelofibrosis"},"components":[{"factor":"age","points":6,"present":true,"value":40},{"factor":"hemoglobin_lt_11","points":2,"present":true,"value":10},{"factor":"blasts_ge_3","points":2,"present":true,"value":6},{"factor":"calr_unmutated","points":0,"present":false},{"factor":"platelets_lt_150","points":0,"present":false,"value":200},{"factor":"constitutional_symptoms","points":0,"present":false}],"constitutional_symptoms":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":"mysec_pm","formula_expression":"MYSEC-PM = 0.15*age_years + hemoglobin_lt_11 2 + blasts_ge_3 2 + calr_unmutated 2 + platelets_lt_150 1 + constitutional_symptoms 1; Passamonti 2017; low <11, intermediate_1 ≥11 and <14, intermediate_2 ≥14 and <16, high ≥16","hemoglobin_g_dl":10,"median_os_years":null,"platelets_10e9_l":200,"risk_group":"low","score":10},{"age_years":40,"blasts_percent":6,"calr_unmutated":false,"citation":{"authors":"Passamonti F, Giorgino T, Mora B, Guglielmelli P, Rumi E, Maffioli M, Rambaldi A, Caramella M, Komrokji R, Gotlib J, Kiladjian JJ, Cervantes F, Devos T, Palandri F, De Stefano V, Ruggeri M, Silver RT, Benevolo G, Albano F, Caramazza D, Merli M, Pietra D, Casalone R, Rotunno G, Barbui T, Cazzola M, Vannucchi AM","doi":"10.1038/leu.2017.169","id":"passamonti-2017","pmid":"28561069","source":"Leukemia. 2017;31(12):2726-2731","title":"A clinical-molecular prognostic model to predict survival in patients with post polycythemia vera and post essential thrombocythemia myelofibrosis"},"components":[{"factor":"age","points":6,"present":true,"value":40},{"factor":"hemoglobin_lt_11","points":2,"present":true,"value":10},{"factor":"blasts_ge_3","points":2,"present":true,"value":6},{"factor":"calr_unmutated","points":0,"present":false},{"factor":"platelets_lt_150","points":0,"present":false,"value":200},{"factor":"constitutional_symptoms","points":0,"present":false}],"constitutional_symptoms":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":"mysec_pm","formula_expression":"MYSEC-PM = 0.15*age_years + hemoglobin_lt_11 2 + blasts_ge_3 2 + calr_unmutated 2 + platelets_lt_150 1 + constitutional_symptoms 1; Passamonti 2017; low <11, intermediate_1 ≥11 and <14, intermediate_2 ≥14 and <16, high ≥16","hemoglobin_g_dl":10,"median_os_years":null,"platelets_10e9_l":200,"risk_group":"low","score":10}],"path":"/api/calc/mysec_pm"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Adds 0.15 points per year as published (Passamonti 2017). Age stays continuous; the total score is rounded to 2 decimal places.","type":"integer"},"blasts_percent":{"description":"Circulating blasts as a percent (0-30). ≥3 scores 2 (Passamonti 2017). 2.9 is the <3 arm and scores 0. magent does not read a smear.","type":"number"},"calr_unmutated":{"description":"CALR-unmutated genotype (JAK2, MPL, or triple-negative) as assigned by the caller (Passamonti 2017). true scores 2. magent does not sequence CALR.","type":"boolean"},"constitutional_symptoms":{"description":"Constitutional symptoms as assigned by the caller (Passamonti 2017). true scores 1. magent does not take a history.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. <11 scores 2 (Passamonti 2017). 11.0 is the ≥11 arm and scores 0. magent does not assay hemoglobin.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000). <150 scores 1 (Passamonti 2017). 150.0 is the ≥150 arm and scores 0. magent does not assay platelets.","type":"number"}},"required":["age","platelets_10e9_l","blasts_percent","calr_unmutated","constitutional_symptoms"],"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},{"id":39515,"slug":"39515","resource":"https://api.magentlab.com/api/calc/mipi","description":"Hoster 2008 simplified MIPI for advanced-stage mantle cell lymphoma: age (<50 0, 50–59 1, 60–69 2, ≥70 3), ECOG (0–1 0, 2–4 2), LDH/ULN (<0.67 0, 0.67–<1 1, 1–<1.5 2, ≥1.5 3), WBC ×10^9/L (<6.7 0, 6.7–<10 1, 10–<15 2, ≥15 3); max 11. Low 0–3, intermediate 4–5, high 6–11. Deterministic published score with citation; not a lymphoma diagnosis; not continuous MIPI; not MIPI-c. magent does not assay LDH or WBC.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"ecog":0,"ldh_uln_ratio":0.5,"wbc_k_ul":5,"wbc_ul":5000},{"age":40,"ecog":0,"ldh_uln_ratio":0.5,"wbc_k_ul":5,"wbc_ul":5000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Hoster E, Dreyling M, Klapper W, et al.","doi":"10.1182/blood-2007-06-095331","id":"hoster-2008","pmid":"17934064","source":"Blood. 2008;111(2):558-565","title":"A new prognostic index (MIPI) for patients with advanced-stage mantle cell lymphoma"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"ecog","points":0,"present":false,"value":0},{"factor":"ldh_uln_ratio","points":0,"present":false,"value":0.5},{"factor":"wbc","points":0,"present":false,"value":5000}],"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.","ecog":0,"formula":"mipi","formula_expression":"simplified MIPI = age (<50 0, 50–59 1, 60–69 2, ≥70 3) + ECOG (0–1 0, 2–4 2) + LDH/ULN (<0.67 0, 0.67–<1.0 1, 1.0–<1.5 2, ≥1.5 3) + WBC ×10^9/L (<6.7 0, 6.7–<10 1, 10–<15 2, ≥15 3); Hoster 2008; max 11; low 0-3, intermediate 4-5, high 6-11","ldh_uln_ratio":0.5,"max_score":11,"risk_group":"low","score":0,"wbc_10e9_l":5,"wbc_ul":5000},{"age_years":40,"citation":{"authors":"Hoster E, Dreyling M, Klapper W, et al.","doi":"10.1182/blood-2007-06-095331","id":"hoster-2008","pmid":"17934064","source":"Blood. 2008;111(2):558-565","title":"A new prognostic index (MIPI) for patients with advanced-stage mantle cell lymphoma"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"ecog","points":0,"present":false,"value":0},{"factor":"ldh_uln_ratio","points":0,"present":false,"value":0.5},{"factor":"wbc","points":0,"present":false,"value":5000}],"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.","ecog":0,"formula":"mipi","formula_expression":"simplified MIPI = age (<50 0, 50–59 1, 60–69 2, ≥70 3) + ECOG (0–1 0, 2–4 2) + LDH/ULN (<0.67 0, 0.67–<1.0 1, 1.0–<1.5 2, ≥1.5 3) + WBC ×10^9/L (<6.7 0, 6.7–<10 1, 10–<15 2, ≥15 3); Hoster 2008; max 11; low 0-3, intermediate 4-5, high 6-11","ldh_uln_ratio":0.5,"max_score":11,"risk_group":"low","score":0,"wbc_10e9_l":5,"wbc_ul":5000}],"path":"/api/calc/mipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). <50 scores 0; 50–59 scores 1; 60–69 scores 2; ≥70 scores 3 (Hoster 2008 simplified MIPI). 50 and 59 score 1; 60 and 69 score 2; 70 scores 3.","type":"integer"},"ecog":{"description":"ECOG performance status 0-4 as assigned by the caller (Hoster 2008 simplified MIPI). 0–1 scores 0; 2–4 scores 2. magent does not assign ECOG.","type":"integer"},"ldh_uln_ratio":{"description":"Serum LDH divided by the laboratory ULN (0.1-20). <0.67 scores 0; 0.67–<1.0 scores 1; 1.0–<1.5 scores 2; ≥1.5 scores 3 (0.67 scores 1; 0.99 scores 1; 1.0 scores 2; 1.49 scores 2; 1.5 scores 3). magent does not assay LDH.","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul, not both. Range 0.01-500. Converted to ×10^9/L: <6.7 scores 0; 6.7–<10 scores 1; 10–<15 scores 2; ≥15 scores 3 (6.7 scores 1; 9.999 scores 1; 10 scores 2; 14.999 scores 2; 15 scores 3).","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul, not both. Range 10-500000. Converted to ×10^9/L (= wbc_ul/1000): <6.7 scores 0; 6.7–<10 scores 1; 10–<15 scores 2; ≥15 scores 3 (6.7 scores 1; 9.999 scores 1; 10 scores 2; 14.999 scores 2; 15 scores 3).","type":"number"}},"required":["age","ecog","ldh_uln_ratio"],"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":["mipi","lymphoma","hematology","prognosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:54:33.878Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:54:33.747Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"ecog":0,"ldh_uln_ratio":0.5,"wbc_k_ul":5,"wbc_ul":5000},{"age":40,"ecog":0,"ldh_uln_ratio":0.5,"wbc_k_ul":5,"wbc_ul":5000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Hoster E, Dreyling M, Klapper W, et al.","doi":"10.1182/blood-2007-06-095331","id":"hoster-2008","pmid":"17934064","source":"Blood. 2008;111(2):558-565","title":"A new prognostic index (MIPI) for patients with advanced-stage mantle cell lymphoma"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"ecog","points":0,"present":false,"value":0},{"factor":"ldh_uln_ratio","points":0,"present":false,"value":0.5},{"factor":"wbc","points":0,"present":false,"value":5000}],"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.","ecog":0,"formula":"mipi","formula_expression":"simplified MIPI = age (<50 0, 50–59 1, 60–69 2, ≥70 3) + ECOG (0–1 0, 2–4 2) + LDH/ULN (<0.67 0, 0.67–<1.0 1, 1.0–<1.5 2, ≥1.5 3) + WBC ×10^9/L (<6.7 0, 6.7–<10 1, 10–<15 2, ≥15 3); Hoster 2008; max 11; low 0-3, intermediate 4-5, high 6-11","ldh_uln_ratio":0.5,"max_score":11,"risk_group":"low","score":0,"wbc_10e9_l":5,"wbc_ul":5000},{"age_years":40,"citation":{"authors":"Hoster E, Dreyling M, Klapper W, et al.","doi":"10.1182/blood-2007-06-095331","id":"hoster-2008","pmid":"17934064","source":"Blood. 2008;111(2):558-565","title":"A new prognostic index (MIPI) for patients with advanced-stage mantle cell lymphoma"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"ecog","points":0,"present":false,"value":0},{"factor":"ldh_uln_ratio","points":0,"present":false,"value":0.5},{"factor":"wbc","points":0,"present":false,"value":5000}],"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.","ecog":0,"formula":"mipi","formula_expression":"simplified MIPI = age (<50 0, 50–59 1, 60–69 2, ≥70 3) + ECOG (0–1 0, 2–4 2) + LDH/ULN (<0.67 0, 0.67–<1.0 1, 1.0–<1.5 2, ≥1.5 3) + WBC ×10^9/L (<6.7 0, 6.7–<10 1, 10–<15 2, ≥15 3); Hoster 2008; max 11; low 0-3, intermediate 4-5, high 6-11","ldh_uln_ratio":0.5,"max_score":11,"risk_group":"low","score":0,"wbc_10e9_l":5,"wbc_ul":5000}],"path":"/api/calc/mipi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). <50 scores 0; 50–59 scores 1; 60–69 scores 2; ≥70 scores 3 (Hoster 2008 simplified MIPI). 50 and 59 score 1; 60 and 69 score 2; 70 scores 3.","type":"integer"},"ecog":{"description":"ECOG performance status 0-4 as assigned by the caller (Hoster 2008 simplified MIPI). 0–1 scores 0; 2–4 scores 2. magent does not assign ECOG.","type":"integer"},"ldh_uln_ratio":{"description":"Serum LDH divided by the laboratory ULN (0.1-20). <0.67 scores 0; 0.67–<1.0 scores 1; 1.0–<1.5 scores 2; ≥1.5 scores 3 (0.67 scores 1; 0.99 scores 1; 1.0 scores 2; 1.49 scores 2; 1.5 scores 3). magent does not assay LDH.","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul, not both. Range 0.01-500. Converted to ×10^9/L: <6.7 scores 0; 6.7–<10 scores 1; 10–<15 scores 2; ≥15 scores 3 (6.7 scores 1; 9.999 scores 1; 10 scores 2; 14.999 scores 2; 15 scores 3).","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul, not both. Range 10-500000. Converted to ×10^9/L (= wbc_ul/1000): <6.7 scores 0; 6.7–<10 scores 1; 10–<15 scores 2; ≥15 scores 3 (6.7 scores 1; 9.999 scores 1; 10 scores 2; 14.999 scores 2; 15 scores 3).","type":"number"}},"required":["age","ecog","ldh_uln_ratio"],"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},{"id":39516,"slug":"39516","resource":"https://api.magentlab.com/api/calc/hat","description":"HAT (Lou 2008 Neurology) for sICH after stroke thrombolysis. Diabetes or glucose >200 mg/dL (1; not additive). NIHSS <15 0, 15-20 1, >20 2. CT hypodensity none 0, <1/3 MCA 1, >1/3 MCA 2 (no equals-1/3). Max 5. Collective sICH 2/5/10/15/44% for scores 0/1/2/3/>3. Glucose in mg/dL (mmol × 18). Not a tPA withhold. magent does not assign NIHSS or read CT.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"diabetes":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hypodensity":"none","nihss":10},{"diabetes":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hypodensity":"none","nihss":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lou M, Safdar A, Mehdiratta M, Kumar S, Schlaug G, Caplan L, Searls D, Selim M","doi":"10.1212/01.wnl.0000330297.58334.dd","id":"lou-2008","pmid":"18955684","source":"Neurology. 2008;71(18):1417-1423","title":"The HAT Score: a simple grading scale for predicting hemorrhage after thrombolysis"},"components":[{"diabetes":false,"factor":"diabetes_or_glucose","points":0,"present":false,"value":108},{"factor":"nihss","points":0,"present":false,"value":10},{"factor":"hypodensity","points":0,"present":false,"value":"none"}],"diabetes":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":"hat","formula_expression":"HAT = (diabetes OR baseline glucose >200 mg/dL) 1 (not additive) + NIHSS (<15 0, 15-20 1, >20 2) + hypodensity (none 0, <1/3 MCA 1, >1/3 MCA 2); Lou 2008; max 5; collective sICH 2/5/10/15/44% for scores 0/1/2/3/>3","glucose_mg_dl":108,"hypodensity":"none","max_score":5,"nihss":10,"score":0,"sich_percent":2},{"citation":{"authors":"Lou M, Safdar A, Mehdiratta M, Kumar S, Schlaug G, Caplan L, Searls D, Selim M","doi":"10.1212/01.wnl.0000330297.58334.dd","id":"lou-2008","pmid":"18955684","source":"Neurology. 2008;71(18):1417-1423","title":"The HAT Score: a simple grading scale for predicting hemorrhage after thrombolysis"},"components":[{"diabetes":false,"factor":"diabetes_or_glucose","points":0,"present":false,"value":108},{"factor":"nihss","points":0,"present":false,"value":10},{"factor":"hypodensity","points":0,"present":false,"value":"none"}],"diabetes":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":"hat","formula_expression":"HAT = (diabetes OR baseline glucose >200 mg/dL) 1 (not additive) + NIHSS (<15 0, 15-20 1, >20 2) + hypodensity (none 0, <1/3 MCA 1, >1/3 MCA 2); Lou 2008; max 5; collective sICH 2/5/10/15/44% for scores 0/1/2/3/>3","glucose_mg_dl":108,"hypodensity":"none","max_score":5,"nihss":10,"score":0,"sich_percent":2}],"path":"/api/calc/hat"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"diabetes":{"description":"History of diabetes mellitus (Lou 2008). true scores 1 on the diabetes-or-glucose item; not additive with glucose >200 mg/dL.","type":"boolean"},"glucose_mg_dl":{"description":"Baseline glucose in mg/dL (50-1000). Provide this or glucose_mmol_l, not both. >200 scores 1 on the diabetes-or-glucose item if diabetes is false; 200.0 does not (Lou 2008).","type":"number"},"glucose_mmol_l":{"description":"Baseline glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. Converted as mg/dL = mmol/L × 18. Scores 1 on the diabetes-or-glucose item if >200 mg/dL after conversion (200.0 does not).","type":"number"},"hypodensity":{"description":"Easily visible hypodensity on initial CT as assigned by the caller (Lou 2008). none scores 0; less_than_third (<1/3 MCA) scores 1; greater_than_third (>1/3 MCA) scores 2. No published equals-1/3 category. magent does not read the CT.","enum":["none","less_than_third","greater_than_third"],"type":"string"},"nihss":{"description":"Caller-assigned pretreatment NIH Stroke Scale total (integer 0-42). <15 scores 0; 15-20 scores 1; >20 scores 2 (Lou 2008). magent does not compute NIHSS or examine the patient.","type":"integer"}},"required":["diabetes","nihss","hypodensity"],"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":["hat","stroke","thrombolysis","sich","neurology","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:52:25.16Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:52:24.995Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"diabetes":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hypodensity":"none","nihss":10},{"diabetes":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hypodensity":"none","nihss":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Lou M, Safdar A, Mehdiratta M, Kumar S, Schlaug G, Caplan L, Searls D, Selim M","doi":"10.1212/01.wnl.0000330297.58334.dd","id":"lou-2008","pmid":"18955684","source":"Neurology. 2008;71(18):1417-1423","title":"The HAT Score: a simple grading scale for predicting hemorrhage after thrombolysis"},"components":[{"diabetes":false,"factor":"diabetes_or_glucose","points":0,"present":false,"value":108},{"factor":"nihss","points":0,"present":false,"value":10},{"factor":"hypodensity","points":0,"present":false,"value":"none"}],"diabetes":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":"hat","formula_expression":"HAT = (diabetes OR baseline glucose >200 mg/dL) 1 (not additive) + NIHSS (<15 0, 15-20 1, >20 2) + hypodensity (none 0, <1/3 MCA 1, >1/3 MCA 2); Lou 2008; max 5; collective sICH 2/5/10/15/44% for scores 0/1/2/3/>3","glucose_mg_dl":108,"hypodensity":"none","max_score":5,"nihss":10,"score":0,"sich_percent":2},{"citation":{"authors":"Lou M, Safdar A, Mehdiratta M, Kumar S, Schlaug G, Caplan L, Searls D, Selim M","doi":"10.1212/01.wnl.0000330297.58334.dd","id":"lou-2008","pmid":"18955684","source":"Neurology. 2008;71(18):1417-1423","title":"The HAT Score: a simple grading scale for predicting hemorrhage after thrombolysis"},"components":[{"diabetes":false,"factor":"diabetes_or_glucose","points":0,"present":false,"value":108},{"factor":"nihss","points":0,"present":false,"value":10},{"factor":"hypodensity","points":0,"present":false,"value":"none"}],"diabetes":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":"hat","formula_expression":"HAT = (diabetes OR baseline glucose >200 mg/dL) 1 (not additive) + NIHSS (<15 0, 15-20 1, >20 2) + hypodensity (none 0, <1/3 MCA 1, >1/3 MCA 2); Lou 2008; max 5; collective sICH 2/5/10/15/44% for scores 0/1/2/3/>3","glucose_mg_dl":108,"hypodensity":"none","max_score":5,"nihss":10,"score":0,"sich_percent":2}],"path":"/api/calc/hat"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"diabetes":{"description":"History of diabetes mellitus (Lou 2008). true scores 1 on the diabetes-or-glucose item; not additive with glucose >200 mg/dL.","type":"boolean"},"glucose_mg_dl":{"description":"Baseline glucose in mg/dL (50-1000). Provide this or glucose_mmol_l, not both. >200 scores 1 on the diabetes-or-glucose item if diabetes is false; 200.0 does not (Lou 2008).","type":"number"},"glucose_mmol_l":{"description":"Baseline glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. Converted as mg/dL = mmol/L × 18. Scores 1 on the diabetes-or-glucose item if >200 mg/dL after conversion (200.0 does not).","type":"number"},"hypodensity":{"description":"Easily visible hypodensity on initial CT as assigned by the caller (Lou 2008). none scores 0; less_than_third (<1/3 MCA) scores 1; greater_than_third (>1/3 MCA) scores 2. No published equals-1/3 category. magent does not read the CT.","enum":["none","less_than_third","greater_than_third"],"type":"string"},"nihss":{"description":"Caller-assigned pretreatment NIH Stroke Scale total (integer 0-42). <15 scores 0; 15-20 scores 1; >20 scores 2 (Lou 2008). magent does not compute NIHSS or examine the patient.","type":"integer"}},"required":["diabetes","nihss","hypodensity"],"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},{"id":39517,"slug":"39517","resource":"https://api.magentlab.com/api/calc/sedan","description":"SEDAN (Strbian 2012 Ann Neurol) for sICH after stroke thrombolysis. Glucose 8.1-12.0 mmol/L (1) or >12.0 (2); early infarct signs (1); hyperdense cerebral artery (1); age >75 (1); admission NIHSS ≥10 (1); max 6. Derivation absolute sICH 1.4%, 2.9%, 8.5%, 12.2%, 21.7%, 33.3% for scores 0-5; no published percent for 6. Not a tPA withhold decision. magent does not assign NIHSS or read CT.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":60,"early_infarct_signs":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hyperdense_artery":false,"nihss":5},{"age":60,"early_infarct_signs":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hyperdense_artery":false,"nihss":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Strbian D, Engelter S, Michel P, Meretoja A, Sekoranja L, Ahlhelm FJ, Mustanoja S, Lynch J, Soinne L, Sairanen T, Lyrer P, Tatlisumak T","doi":"10.1002/ana.23546","id":"strbian-2012-sedan","source":"Ann Neurol. 2012;71(5):634-641","title":"Symptomatic intracranial hemorrhage after stroke thrombolysis: the SEDAN score"},"components":[{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"early_infarct_signs","points":0,"present":false},{"factor":"hyperdense_artery","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":60},{"factor":"nihss","points":0,"present":false,"value":5}],"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.","early_infarct_signs":false,"formula":"sedan","formula_expression":"SEDAN = glucose (8.1-12.0 mmol/L 1; >12.0 mmol/L 2) + early_infarct_signs 1 + hyperdense_artery 1 + (age >75) 1 + (NIHSS >=10) 1; max 6; derivation sICH 1.4/2.9/8.5/12.2/21.7/33.3% for scores 0-5 (Strbian 2012); no published percent for 6","glucose_mmol_l":6,"hyperdense_artery":false,"max_score":6,"nihss":5,"score":0,"sich_percent":1.4},{"age_years":60,"citation":{"authors":"Strbian D, Engelter S, Michel P, Meretoja A, Sekoranja L, Ahlhelm FJ, Mustanoja S, Lynch J, Soinne L, Sairanen T, Lyrer P, Tatlisumak T","doi":"10.1002/ana.23546","id":"strbian-2012-sedan","source":"Ann Neurol. 2012;71(5):634-641","title":"Symptomatic intracranial hemorrhage after stroke thrombolysis: the SEDAN score"},"components":[{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"early_infarct_signs","points":0,"present":false},{"factor":"hyperdense_artery","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":60},{"factor":"nihss","points":0,"present":false,"value":5}],"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.","early_infarct_signs":false,"formula":"sedan","formula_expression":"SEDAN = glucose (8.1-12.0 mmol/L 1; >12.0 mmol/L 2) + early_infarct_signs 1 + hyperdense_artery 1 + (age >75) 1 + (NIHSS >=10) 1; max 6; derivation sICH 1.4/2.9/8.5/12.2/21.7/33.3% for scores 0-5 (Strbian 2012); no published percent for 6","glucose_mmol_l":6,"hyperdense_artery":false,"max_score":6,"nihss":5,"score":0,"sich_percent":1.4}],"path":"/api/calc/sedan"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). >75 scores 1; 75 does not (Strbian 2012). magent does not date the patient.","type":"integer"},"early_infarct_signs":{"description":"Early infarct signs on admission CT as assigned by the caller (Strbian 2012). true scores 1; false scores 0. magent does not read the CT.","type":"boolean"},"glucose_mg_dl":{"description":"Baseline glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both.","type":"number"},"glucose_mmol_l":{"description":"Baseline glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. 8.1-12.0 inclusive scores 1; >12.0 scores 2; else 0 (Strbian 2012).","type":"number"},"hyperdense_artery":{"description":"(Hyper)dense cerebral artery sign on admission CT as assigned by the caller (Strbian 2012). true scores 1; false scores 0. magent does not read the CT.","type":"boolean"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42). ≥10 scores 1; 9 does not. magent does not compute NIHSS or examine the patient.","type":"integer"}},"required":["age","nihss","early_infarct_signs","hyperdense_artery"],"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":["sedan","stroke","thrombolysis","sich","neurology","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:52:18.082Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:52:17.925Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":60,"early_infarct_signs":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hyperdense_artery":false,"nihss":5},{"age":60,"early_infarct_signs":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hyperdense_artery":false,"nihss":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Strbian D, Engelter S, Michel P, Meretoja A, Sekoranja L, Ahlhelm FJ, Mustanoja S, Lynch J, Soinne L, Sairanen T, Lyrer P, Tatlisumak T","doi":"10.1002/ana.23546","id":"strbian-2012-sedan","source":"Ann Neurol. 2012;71(5):634-641","title":"Symptomatic intracranial hemorrhage after stroke thrombolysis: the SEDAN score"},"components":[{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"early_infarct_signs","points":0,"present":false},{"factor":"hyperdense_artery","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":60},{"factor":"nihss","points":0,"present":false,"value":5}],"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.","early_infarct_signs":false,"formula":"sedan","formula_expression":"SEDAN = glucose (8.1-12.0 mmol/L 1; >12.0 mmol/L 2) + early_infarct_signs 1 + hyperdense_artery 1 + (age >75) 1 + (NIHSS >=10) 1; max 6; derivation sICH 1.4/2.9/8.5/12.2/21.7/33.3% for scores 0-5 (Strbian 2012); no published percent for 6","glucose_mmol_l":6,"hyperdense_artery":false,"max_score":6,"nihss":5,"score":0,"sich_percent":1.4},{"age_years":60,"citation":{"authors":"Strbian D, Engelter S, Michel P, Meretoja A, Sekoranja L, Ahlhelm FJ, Mustanoja S, Lynch J, Soinne L, Sairanen T, Lyrer P, Tatlisumak T","doi":"10.1002/ana.23546","id":"strbian-2012-sedan","source":"Ann Neurol. 2012;71(5):634-641","title":"Symptomatic intracranial hemorrhage after stroke thrombolysis: the SEDAN score"},"components":[{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"early_infarct_signs","points":0,"present":false},{"factor":"hyperdense_artery","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":60},{"factor":"nihss","points":0,"present":false,"value":5}],"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.","early_infarct_signs":false,"formula":"sedan","formula_expression":"SEDAN = glucose (8.1-12.0 mmol/L 1; >12.0 mmol/L 2) + early_infarct_signs 1 + hyperdense_artery 1 + (age >75) 1 + (NIHSS >=10) 1; max 6; derivation sICH 1.4/2.9/8.5/12.2/21.7/33.3% for scores 0-5 (Strbian 2012); no published percent for 6","glucose_mmol_l":6,"hyperdense_artery":false,"max_score":6,"nihss":5,"score":0,"sich_percent":1.4}],"path":"/api/calc/sedan"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). >75 scores 1; 75 does not (Strbian 2012). magent does not date the patient.","type":"integer"},"early_infarct_signs":{"description":"Early infarct signs on admission CT as assigned by the caller (Strbian 2012). true scores 1; false scores 0. magent does not read the CT.","type":"boolean"},"glucose_mg_dl":{"description":"Baseline glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both.","type":"number"},"glucose_mmol_l":{"description":"Baseline glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. 8.1-12.0 inclusive scores 1; >12.0 scores 2; else 0 (Strbian 2012).","type":"number"},"hyperdense_artery":{"description":"(Hyper)dense cerebral artery sign on admission CT as assigned by the caller (Strbian 2012). true scores 1; false scores 0. magent does not read the CT.","type":"boolean"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42). ≥10 scores 1; 9 does not. magent does not compute NIHSS or examine the patient.","type":"integer"}},"required":["age","nihss","early_infarct_signs","hyperdense_artery"],"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},{"id":39518,"slug":"39518","resource":"https://api.magentlab.com/api/calc/dragon","description":"DRAGON (Strbian 2012 Neurology) for 3-month outcome after IV thrombolysis. CT hyperdense artery or early infarct 0/1/2, prestroke mRS >1 (1), age <65/65-79/>=80 (0/1/2), glucose >8 mmol/L (mg/dL /18) (1), onset-to-treatment >90 min (1), NIHSS 0-4/5-9/10-15/>15 (0/1/2/3); max 10. Tabulated mRS 0-2 and mRS 5-6 percents for scores 0-1, 2, 3, 8, and 9-10 only. Not a tPA decision. Not studied in basilar occlusion. magent does not read CT or assign NIHSS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":60,"early_infarct_signs":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hyperdense_artery":false,"nihss":3,"onset_to_treatment_min":60,"prestroke_mrs_gt_1":false},{"age":60,"early_infarct_signs":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hyperdense_artery":false,"nihss":3,"onset_to_treatment_min":60,"prestroke_mrs_gt_1":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Strbian D, Meretoja A, Ahlhelm FJ, Pitkäniemi J, Lyrer P, Kaste M, Tatlisumak T","doi":"10.1212/WNL.0b013e318245d2a9","id":"strbian-2012-dragon","pmid":"22311929","source":"Neurology. 2012;78(6):427-432","title":"Predicting outcome of IV thrombolysis-treated ischemic stroke patients: the DRAGON score"},"components":[{"factor":"hyperdense_artery","points":0,"present":false},{"factor":"early_infarct_signs","points":0,"present":false},{"factor":"prestroke_mrs_gt_1","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":60},{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"onset_to_treatment","points":0,"present":false,"value":60},{"factor":"nihss","points":0,"present":false,"value":3}],"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.","early_infarct_signs":false,"formula":"dragon","formula_expression":"DRAGON = dense_ct (hyperdense_artery 1 + early_infarct_signs 1; none 0, either 1, both 2) + prestroke_mrs_gt_1 (1 if prestroke mRS >1) + age (<65 0, 65-79 1, >=80 2) + glucose >8 mmol/L (1; 8.0 does not; mg/dL /18) + onset_to_treatment >90 min (1; 90 does not) + NIHSS (0-4 0, 5-9 1, 10-15 2, >15 3); Strbian 2012; max 10","glucose_mmol_l":6,"good_outcome_percent":96,"hyperdense_artery":false,"max_score":10,"miserable_outcome_percent":0,"nihss":3,"onset_to_treatment_min":60,"prestroke_mrs_gt_1":false,"score":0},{"age_years":60,"citation":{"authors":"Strbian D, Meretoja A, Ahlhelm FJ, Pitkäniemi J, Lyrer P, Kaste M, Tatlisumak T","doi":"10.1212/WNL.0b013e318245d2a9","id":"strbian-2012-dragon","pmid":"22311929","source":"Neurology. 2012;78(6):427-432","title":"Predicting outcome of IV thrombolysis-treated ischemic stroke patients: the DRAGON score"},"components":[{"factor":"hyperdense_artery","points":0,"present":false},{"factor":"early_infarct_signs","points":0,"present":false},{"factor":"prestroke_mrs_gt_1","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":60},{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"onset_to_treatment","points":0,"present":false,"value":60},{"factor":"nihss","points":0,"present":false,"value":3}],"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.","early_infarct_signs":false,"formula":"dragon","formula_expression":"DRAGON = dense_ct (hyperdense_artery 1 + early_infarct_signs 1; none 0, either 1, both 2) + prestroke_mrs_gt_1 (1 if prestroke mRS >1) + age (<65 0, 65-79 1, >=80 2) + glucose >8 mmol/L (1; 8.0 does not; mg/dL /18) + onset_to_treatment >90 min (1; 90 does not) + NIHSS (0-4 0, 5-9 1, 10-15 2, >15 3); Strbian 2012; max 10","glucose_mmol_l":6,"good_outcome_percent":96,"hyperdense_artery":false,"max_score":10,"miserable_outcome_percent":0,"nihss":3,"onset_to_treatment_min":60,"prestroke_mrs_gt_1":false,"score":0}],"path":"/api/calc/dragon"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Strbian 2012: <65 scores 0; 65-79 scores 1; ≥80 scores 2.","type":"integer"},"early_infarct_signs":{"description":"Early infarct signs on admission CT as assigned by the caller (Strbian 2012). true scores 1. Combined with hyperdense_artery: none 0, either 1, both 2. magent does not read CT.","type":"boolean"},"glucose_mg_dl":{"description":"Baseline glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both. >144 mg/dL scores; 144 does not.","type":"number"},"glucose_mmol_l":{"description":"Baseline glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. 1 point if >8.0; 8.0 does not score.","type":"number"},"hyperdense_artery":{"description":"(Hyper)dense cerebral artery sign on admission CT as assigned by the caller (Strbian 2012). true scores 1. Combined with early_infarct_signs: none 0, either 1, both 2. magent does not read CT.","type":"boolean"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42). 0-4 scores 0; 5-9 scores 1; 10-15 scores 2; >15 (16-42) scores 3. magent does not compute NIHSS or examine the patient.","type":"integer"},"onset_to_treatment_min":{"description":"Onset-to-treatment time in minutes (integer 0-360). >90 scores 1; 90 does not. magent does not clock the delay.","type":"integer"},"prestroke_mrs_gt_1":{"description":"Prestroke modified Rankin Scale >1 as assigned by the caller (Strbian 2012). true scores 1; false scores 0. Do not send a raw mRS integer. magent does not assign mRS.","type":"boolean"}},"required":["age","nihss","onset_to_treatment_min","hyperdense_artery","early_infarct_signs","prestroke_mrs_gt_1"],"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":["dragon","stroke","thrombolysis","nihss","neurology","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:52:11.85Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:52:11.715Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":60,"early_infarct_signs":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hyperdense_artery":false,"nihss":3,"onset_to_treatment_min":60,"prestroke_mrs_gt_1":false},{"age":60,"early_infarct_signs":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"hyperdense_artery":false,"nihss":3,"onset_to_treatment_min":60,"prestroke_mrs_gt_1":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":60,"citation":{"authors":"Strbian D, Meretoja A, Ahlhelm FJ, Pitkäniemi J, Lyrer P, Kaste M, Tatlisumak T","doi":"10.1212/WNL.0b013e318245d2a9","id":"strbian-2012-dragon","pmid":"22311929","source":"Neurology. 2012;78(6):427-432","title":"Predicting outcome of IV thrombolysis-treated ischemic stroke patients: the DRAGON score"},"components":[{"factor":"hyperdense_artery","points":0,"present":false},{"factor":"early_infarct_signs","points":0,"present":false},{"factor":"prestroke_mrs_gt_1","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":60},{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"onset_to_treatment","points":0,"present":false,"value":60},{"factor":"nihss","points":0,"present":false,"value":3}],"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.","early_infarct_signs":false,"formula":"dragon","formula_expression":"DRAGON = dense_ct (hyperdense_artery 1 + early_infarct_signs 1; none 0, either 1, both 2) + prestroke_mrs_gt_1 (1 if prestroke mRS >1) + age (<65 0, 65-79 1, >=80 2) + glucose >8 mmol/L (1; 8.0 does not; mg/dL /18) + onset_to_treatment >90 min (1; 90 does not) + NIHSS (0-4 0, 5-9 1, 10-15 2, >15 3); Strbian 2012; max 10","glucose_mmol_l":6,"good_outcome_percent":96,"hyperdense_artery":false,"max_score":10,"miserable_outcome_percent":0,"nihss":3,"onset_to_treatment_min":60,"prestroke_mrs_gt_1":false,"score":0},{"age_years":60,"citation":{"authors":"Strbian D, Meretoja A, Ahlhelm FJ, Pitkäniemi J, Lyrer P, Kaste M, Tatlisumak T","doi":"10.1212/WNL.0b013e318245d2a9","id":"strbian-2012-dragon","pmid":"22311929","source":"Neurology. 2012;78(6):427-432","title":"Predicting outcome of IV thrombolysis-treated ischemic stroke patients: the DRAGON score"},"components":[{"factor":"hyperdense_artery","points":0,"present":false},{"factor":"early_infarct_signs","points":0,"present":false},{"factor":"prestroke_mrs_gt_1","points":0,"present":false},{"factor":"age","points":0,"present":false,"value":60},{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"onset_to_treatment","points":0,"present":false,"value":60},{"factor":"nihss","points":0,"present":false,"value":3}],"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.","early_infarct_signs":false,"formula":"dragon","formula_expression":"DRAGON = dense_ct (hyperdense_artery 1 + early_infarct_signs 1; none 0, either 1, both 2) + prestroke_mrs_gt_1 (1 if prestroke mRS >1) + age (<65 0, 65-79 1, >=80 2) + glucose >8 mmol/L (1; 8.0 does not; mg/dL /18) + onset_to_treatment >90 min (1; 90 does not) + NIHSS (0-4 0, 5-9 1, 10-15 2, >15 3); Strbian 2012; max 10","glucose_mmol_l":6,"good_outcome_percent":96,"hyperdense_artery":false,"max_score":10,"miserable_outcome_percent":0,"nihss":3,"onset_to_treatment_min":60,"prestroke_mrs_gt_1":false,"score":0}],"path":"/api/calc/dragon"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Strbian 2012: <65 scores 0; 65-79 scores 1; ≥80 scores 2.","type":"integer"},"early_infarct_signs":{"description":"Early infarct signs on admission CT as assigned by the caller (Strbian 2012). true scores 1. Combined with hyperdense_artery: none 0, either 1, both 2. magent does not read CT.","type":"boolean"},"glucose_mg_dl":{"description":"Baseline glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both. >144 mg/dL scores; 144 does not.","type":"number"},"glucose_mmol_l":{"description":"Baseline glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. 1 point if >8.0; 8.0 does not score.","type":"number"},"hyperdense_artery":{"description":"(Hyper)dense cerebral artery sign on admission CT as assigned by the caller (Strbian 2012). true scores 1. Combined with early_infarct_signs: none 0, either 1, both 2. magent does not read CT.","type":"boolean"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42). 0-4 scores 0; 5-9 scores 1; 10-15 scores 2; >15 (16-42) scores 3. magent does not compute NIHSS or examine the patient.","type":"integer"},"onset_to_treatment_min":{"description":"Onset-to-treatment time in minutes (integer 0-360). >90 scores 1; 90 does not. magent does not clock the delay.","type":"integer"},"prestroke_mrs_gt_1":{"description":"Prestroke modified Rankin Scale >1 as assigned by the caller (Strbian 2012). true scores 1; false scores 0. Do not send a raw mRS integer. magent does not assign mRS.","type":"boolean"}},"required":["age","nihss","onset_to_treatment_min","hyperdense_artery","early_infarct_signs","prestroke_mrs_gt_1"],"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},{"id":39519,"slug":"39519","resource":"https://api.magentlab.com/api/calc/cpot","description":"Gélinas 2006 CPOT from four caller-assigned 0-2 items (facial_expression, body_movements, muscle_tension, plus ventilator_compliance when intubated or vocalization when extubated) using that paper's 0/1/2 descriptors. magent sums only (max 8) and does not observe the patient. No later intensity cutoffs. Not a pain diagnosis or analgesic order. Not PAINAD.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"body_movements":0,"facial_expression":0,"intubated":false,"muscle_tension":0,"ventilator_compliance":0,"vocalization":0},{"body_movements":0,"facial_expression":0,"intubated":false,"muscle_tension":0,"ventilator_compliance":0,"vocalization":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"body_movements":0,"citation":{"authors":"Gélinas C, Fillion L, Puntillo KA, Viens C, Fortier M","doi":"10.4037/ajcc2006.15.4.420","id":"gelinas-2006","pmid":"16823021","source":"Am J Crit Care. 2006;15(4):420-427","title":"Validation of the Critical-Care Pain Observation Tool in Adult Patients"},"components":[{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"body_movements","points":0,"present":true,"value":0},{"factor":"muscle_tension","points":0,"present":true,"value":0},{"factor":"vocalization","points":0,"present":true,"value":0}],"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.","facial_expression":0,"formula":"cpot","formula_expression":"CPOT = facial_expression + body_movements + muscle_tension + ventilator_compliance (intubated) or vocalization (extubated); each caller-assigned 0-2; max 8","intubated":false,"max_score":8,"muscle_tension":0,"score":0,"vocalization":0},{"body_movements":0,"citation":{"authors":"Gélinas C, Fillion L, Puntillo KA, Viens C, Fortier M","doi":"10.4037/ajcc2006.15.4.420","id":"gelinas-2006","pmid":"16823021","source":"Am J Crit Care. 2006;15(4):420-427","title":"Validation of the Critical-Care Pain Observation Tool in Adult Patients"},"components":[{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"body_movements","points":0,"present":true,"value":0},{"factor":"muscle_tension","points":0,"present":true,"value":0},{"factor":"vocalization","points":0,"present":true,"value":0}],"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.","facial_expression":0,"formula":"cpot","formula_expression":"CPOT = facial_expression + body_movements + muscle_tension + ventilator_compliance (intubated) or vocalization (extubated); each caller-assigned 0-2; max 8","intubated":false,"max_score":8,"muscle_tension":0,"score":0,"vocalization":0}],"path":"/api/calc/cpot"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"body_movements":{"description":"Caller-assigned Gélinas 2006 CPOT body movements (integer 0-2): 0 absence of movements or normal position; 1 protection; 2 restlessness. magent does not observe the patient.","type":"integer"},"facial_expression":{"description":"Caller-assigned Gélinas 2006 CPOT facial expression (integer 0-2): 0 relaxed, no muscle tension; 1 tense (brow lowering, orbit tightening, levator contraction); 2 grimacing. magent does not observe the patient.","type":"integer"},"intubated":{"description":"true when intubated: provide ventilator_compliance and omit vocalization. false when extubated: provide vocalization and omit ventilator_compliance. magent does not observe the patient.","type":"boolean"},"muscle_tension":{"description":"Caller-assigned Gélinas 2006 CPOT muscle tension on passive flexion/extension of upper limbs (integer 0-2): 0 relaxed; 1 tense/rigid; 2 very tense or rigid. magent does not observe the patient.","type":"integer"},"ventilator_compliance":{"description":"Caller-assigned Gélinas 2006 CPOT ventilator compliance when intubated=true (integer 0-2): 0 tolerating ventilator or movement; 1 coughing but still tolerating; 2 fighting ventilator. Omit when intubated=false. magent does not observe the patient.","type":"integer"},"vocalization":{"description":"Caller-assigned Gélinas 2006 CPOT vocalization when intubated=false (integer 0-2): 0 talking in normal tone or no sound; 1 sighing, moaning; 2 crying out, sobbing. Omit when intubated=true. magent does not observe the patient.","type":"integer"}},"required":["facial_expression","body_movements","muscle_tension","intubated"],"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":["cpot","pain","icu","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:51:37.731Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:51:37.573Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"body_movements":0,"facial_expression":0,"intubated":false,"muscle_tension":0,"ventilator_compliance":0,"vocalization":0},{"body_movements":0,"facial_expression":0,"intubated":false,"muscle_tension":0,"ventilator_compliance":0,"vocalization":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"body_movements":0,"citation":{"authors":"Gélinas C, Fillion L, Puntillo KA, Viens C, Fortier M","doi":"10.4037/ajcc2006.15.4.420","id":"gelinas-2006","pmid":"16823021","source":"Am J Crit Care. 2006;15(4):420-427","title":"Validation of the Critical-Care Pain Observation Tool in Adult Patients"},"components":[{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"body_movements","points":0,"present":true,"value":0},{"factor":"muscle_tension","points":0,"present":true,"value":0},{"factor":"vocalization","points":0,"present":true,"value":0}],"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.","facial_expression":0,"formula":"cpot","formula_expression":"CPOT = facial_expression + body_movements + muscle_tension + ventilator_compliance (intubated) or vocalization (extubated); each caller-assigned 0-2; max 8","intubated":false,"max_score":8,"muscle_tension":0,"score":0,"vocalization":0},{"body_movements":0,"citation":{"authors":"Gélinas C, Fillion L, Puntillo KA, Viens C, Fortier M","doi":"10.4037/ajcc2006.15.4.420","id":"gelinas-2006","pmid":"16823021","source":"Am J Crit Care. 2006;15(4):420-427","title":"Validation of the Critical-Care Pain Observation Tool in Adult Patients"},"components":[{"factor":"facial_expression","points":0,"present":true,"value":0},{"factor":"body_movements","points":0,"present":true,"value":0},{"factor":"muscle_tension","points":0,"present":true,"value":0},{"factor":"vocalization","points":0,"present":true,"value":0}],"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.","facial_expression":0,"formula":"cpot","formula_expression":"CPOT = facial_expression + body_movements + muscle_tension + ventilator_compliance (intubated) or vocalization (extubated); each caller-assigned 0-2; max 8","intubated":false,"max_score":8,"muscle_tension":0,"score":0,"vocalization":0}],"path":"/api/calc/cpot"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"body_movements":{"description":"Caller-assigned Gélinas 2006 CPOT body movements (integer 0-2): 0 absence of movements or normal position; 1 protection; 2 restlessness. magent does not observe the patient.","type":"integer"},"facial_expression":{"description":"Caller-assigned Gélinas 2006 CPOT facial expression (integer 0-2): 0 relaxed, no muscle tension; 1 tense (brow lowering, orbit tightening, levator contraction); 2 grimacing. magent does not observe the patient.","type":"integer"},"intubated":{"description":"true when intubated: provide ventilator_compliance and omit vocalization. false when extubated: provide vocalization and omit ventilator_compliance. magent does not observe the patient.","type":"boolean"},"muscle_tension":{"description":"Caller-assigned Gélinas 2006 CPOT muscle tension on passive flexion/extension of upper limbs (integer 0-2): 0 relaxed; 1 tense/rigid; 2 very tense or rigid. magent does not observe the patient.","type":"integer"},"ventilator_compliance":{"description":"Caller-assigned Gélinas 2006 CPOT ventilator compliance when intubated=true (integer 0-2): 0 tolerating ventilator or movement; 1 coughing but still tolerating; 2 fighting ventilator. Omit when intubated=false. magent does not observe the patient.","type":"integer"},"vocalization":{"description":"Caller-assigned Gélinas 2006 CPOT vocalization when intubated=false (integer 0-2): 0 talking in normal tone or no sound; 1 sighing, moaning; 2 crying out, sobbing. Omit when intubated=true. magent does not observe the patient.","type":"integer"}},"required":["facial_expression","body_movements","muscle_tension","intubated"],"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},{"id":39520,"slug":"39520","resource":"https://api.magentlab.com/api/calc/bush_francis","description":"Bush 1996 23-item catatonia rating scale from caller-assigned integers. Items 1-16 and 22-23 are 0-3; mitgehen, gegenhalten, ambitendency, grasp_reflex, and perseveration are 0 or 3 only. Severity is the sum of items 1-23 (max 69). The 14-item screen is positive iff at least two of items 1-14 score above 0. magent does not perform the standardized examination. Not a diagnosis, not DSM catatonia criteria, not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ambitendency":0,"automatic_obedience":0,"autonomic_abnormality":0,"combativeness":0,"echopraxia_echolalia":0,"excitement":1,"gegenhalten":0,"grasp_reflex":0,"grimacing":0,"immobility_stupor":1,"impulsivity":0,"mannerisms":0,"mitgehen":0,"mutism":0,"negativism":0,"perseveration":0,"posturing_catalepsy":0,"rigidity":0,"staring":0,"stereotypy":0,"verbigeration":0,"waxy_flexibility":0,"withdrawal":0},{"ambitendency":0,"automatic_obedience":0,"autonomic_abnormality":0,"combativeness":0,"echopraxia_echolalia":0,"excitement":1,"gegenhalten":0,"grasp_reflex":0,"grimacing":0,"immobility_stupor":1,"impulsivity":0,"mannerisms":0,"mitgehen":0,"mutism":0,"negativism":0,"perseveration":0,"posturing_catalepsy":0,"rigidity":0,"staring":0,"stereotypy":0,"verbigeration":0,"waxy_flexibility":0,"withdrawal":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bush G, Fink M, Petrides G, Dowling F, Francis A","doi":"10.1111/j.1600-0447.1996.tb09814.x","id":"bush-1996","pmid":"8686483","source":"Acta Psychiatr Scand. 1996;93(2):129-136","title":"Catatonia. I. Rating scale and standardized examination"},"components":[{"factor":"excitement","points":1,"present":true,"value":1},{"factor":"immobility_stupor","points":1,"present":true,"value":1},{"factor":"mutism","points":0,"present":true,"value":0},{"factor":"staring","points":0,"present":true,"value":0},{"factor":"posturing_catalepsy","points":0,"present":true,"value":0},{"factor":"grimacing","points":0,"present":true,"value":0},{"factor":"echopraxia_echolalia","points":0,"present":true,"value":0},{"factor":"stereotypy","points":0,"present":true,"value":0},{"factor":"mannerisms","points":0,"present":true,"value":0},{"factor":"verbigeration","points":0,"present":true,"value":0},{"factor":"rigidity","points":0,"present":true,"value":0},{"factor":"negativism","points":0,"present":true,"value":0},{"factor":"waxy_flexibility","points":0,"present":true,"value":0},{"factor":"withdrawal","points":0,"present":true,"value":0},{"factor":"impulsivity","points":0,"present":true,"value":0},{"factor":"automatic_obedience","points":0,"present":true,"value":0},{"factor":"mitgehen","points":0,"present":true,"value":0},{"factor":"gegenhalten","points":0,"present":true,"value":0},{"factor":"ambitendency","points":0,"present":true,"value":0},{"factor":"grasp_reflex","points":0,"present":true,"value":0},{"factor":"perseveration","points":0,"present":true,"value":0},{"factor":"combativeness","points":0,"present":true,"value":0},{"factor":"autonomic_abnormality","points":0,"present":true,"value":0}],"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":"bush_francis","formula_expression":"Bush-Francis CRS = excitement + immobility_stupor + mutism + staring + posturing_catalepsy + grimacing + echopraxia_echolalia + stereotypy + mannerisms + verbigeration + rigidity + negativism + waxy_flexibility + withdrawal + impulsivity + automatic_obedience + mitgehen + gegenhalten + ambitendency + grasp_reflex + perseveration + combativeness + autonomic_abnormality; Bush 1996 23-item catatonia rating scale; items 1-16 and 22-23 integers 0-3; items 17-21 (mitgehen, gegenhalten, ambitendency, grasp_reflex, perseveration) 0 or 3 only; severity score = sum of items 1-23; screening instrument = first 14 items; screen_positive iff count of items 1-14 with score > 0 is >= 2; max 69; not a diagnosis","max_score":69,"score":2,"screen_positive":true,"screen_signs_met":2},{"citation":{"authors":"Bush G, Fink M, Petrides G, Dowling F, Francis A","doi":"10.1111/j.1600-0447.1996.tb09814.x","id":"bush-1996","pmid":"8686483","source":"Acta Psychiatr Scand. 1996;93(2):129-136","title":"Catatonia. I. Rating scale and standardized examination"},"components":[{"factor":"excitement","points":1,"present":true,"value":1},{"factor":"immobility_stupor","points":1,"present":true,"value":1},{"factor":"mutism","points":0,"present":true,"value":0},{"factor":"staring","points":0,"present":true,"value":0},{"factor":"posturing_catalepsy","points":0,"present":true,"value":0},{"factor":"grimacing","points":0,"present":true,"value":0},{"factor":"echopraxia_echolalia","points":0,"present":true,"value":0},{"factor":"stereotypy","points":0,"present":true,"value":0},{"factor":"mannerisms","points":0,"present":true,"value":0},{"factor":"verbigeration","points":0,"present":true,"value":0},{"factor":"rigidity","points":0,"present":true,"value":0},{"factor":"negativism","points":0,"present":true,"value":0},{"factor":"waxy_flexibility","points":0,"present":true,"value":0},{"factor":"withdrawal","points":0,"present":true,"value":0},{"factor":"impulsivity","points":0,"present":true,"value":0},{"factor":"automatic_obedience","points":0,"present":true,"value":0},{"factor":"mitgehen","points":0,"present":true,"value":0},{"factor":"gegenhalten","points":0,"present":true,"value":0},{"factor":"ambitendency","points":0,"present":true,"value":0},{"factor":"grasp_reflex","points":0,"present":true,"value":0},{"factor":"perseveration","points":0,"present":true,"value":0},{"factor":"combativeness","points":0,"present":true,"value":0},{"factor":"autonomic_abnormality","points":0,"present":true,"value":0}],"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":"bush_francis","formula_expression":"Bush-Francis CRS = excitement + immobility_stupor + mutism + staring + posturing_catalepsy + grimacing + echopraxia_echolalia + stereotypy + mannerisms + verbigeration + rigidity + negativism + waxy_flexibility + withdrawal + impulsivity + automatic_obedience + mitgehen + gegenhalten + ambitendency + grasp_reflex + perseveration + combativeness + autonomic_abnormality; Bush 1996 23-item catatonia rating scale; items 1-16 and 22-23 integers 0-3; items 17-21 (mitgehen, gegenhalten, ambitendency, grasp_reflex, perseveration) 0 or 3 only; severity score = sum of items 1-23; screening instrument = first 14 items; screen_positive iff count of items 1-14 with score > 0 is >= 2; max 69; not a diagnosis","max_score":69,"score":2,"screen_positive":true,"screen_signs_met":2}],"path":"/api/calc/bush_francis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ambitendency":{"description":"Caller-assigned Bush 1996 ambitendency (item 19; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"automatic_obedience":{"description":"Caller-assigned Bush 1996 automatic obedience (item 16; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"autonomic_abnormality":{"description":"Caller-assigned Bush 1996 autonomic abnormality (item 23; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"combativeness":{"description":"Caller-assigned Bush 1996 combativeness (item 22; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"echopraxia_echolalia":{"description":"Caller-assigned Bush 1996 echopraxia/echolalia (item 7; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"excitement":{"description":"Caller-assigned Bush 1996 excitement (item 1; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"gegenhalten":{"description":"Caller-assigned Bush 1996 gegenhalten (item 18; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"grasp_reflex":{"description":"Caller-assigned Bush 1996 grasp reflex (item 20; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"grimacing":{"description":"Caller-assigned Bush 1996 grimacing (item 6; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"immobility_stupor":{"description":"Caller-assigned Bush 1996 immobility/stupor (item 2; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"impulsivity":{"description":"Caller-assigned Bush 1996 impulsivity (item 15; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"mannerisms":{"description":"Caller-assigned Bush 1996 mannerisms (item 9; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"mitgehen":{"description":"Caller-assigned Bush 1996 mitgehen (item 17; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"mutism":{"description":"Caller-assigned Bush 1996 mutism (item 3; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"negativism":{"description":"Caller-assigned Bush 1996 negativism (item 12; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"perseveration":{"description":"Caller-assigned Bush 1996 perseveration (item 21; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"posturing_catalepsy":{"description":"Caller-assigned Bush 1996 posturing/catalepsy (item 5; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"rigidity":{"description":"Caller-assigned Bush 1996 rigidity (item 11; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"staring":{"description":"Caller-assigned Bush 1996 staring (item 4; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"stereotypy":{"description":"Caller-assigned Bush 1996 stereotypy (item 8; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"verbigeration":{"description":"Caller-assigned Bush 1996 verbigeration (item 10; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"waxy_flexibility":{"description":"Caller-assigned Bush 1996 waxy flexibility (item 13; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"withdrawal":{"description":"Caller-assigned Bush 1996 withdrawal (item 14; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"}},"required":["excitement","immobility_stupor","mutism","staring","posturing_catalepsy","grimacing","echopraxia_echolalia","stereotypy","mannerisms","verbigeration","rigidity","negativism","waxy_flexibility","withdrawal","impulsivity","automatic_obedience","mitgehen","gegenhalten","ambitendency","grasp_reflex","perseveration","combativeness","autonomic_abnormality"],"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":["bush-francis","catatonia","neurology","bfcrs","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:50:14.94Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:50:14.799Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ambitendency":0,"automatic_obedience":0,"autonomic_abnormality":0,"combativeness":0,"echopraxia_echolalia":0,"excitement":1,"gegenhalten":0,"grasp_reflex":0,"grimacing":0,"immobility_stupor":1,"impulsivity":0,"mannerisms":0,"mitgehen":0,"mutism":0,"negativism":0,"perseveration":0,"posturing_catalepsy":0,"rigidity":0,"staring":0,"stereotypy":0,"verbigeration":0,"waxy_flexibility":0,"withdrawal":0},{"ambitendency":0,"automatic_obedience":0,"autonomic_abnormality":0,"combativeness":0,"echopraxia_echolalia":0,"excitement":1,"gegenhalten":0,"grasp_reflex":0,"grimacing":0,"immobility_stupor":1,"impulsivity":0,"mannerisms":0,"mitgehen":0,"mutism":0,"negativism":0,"perseveration":0,"posturing_catalepsy":0,"rigidity":0,"staring":0,"stereotypy":0,"verbigeration":0,"waxy_flexibility":0,"withdrawal":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Bush G, Fink M, Petrides G, Dowling F, Francis A","doi":"10.1111/j.1600-0447.1996.tb09814.x","id":"bush-1996","pmid":"8686483","source":"Acta Psychiatr Scand. 1996;93(2):129-136","title":"Catatonia. I. Rating scale and standardized examination"},"components":[{"factor":"excitement","points":1,"present":true,"value":1},{"factor":"immobility_stupor","points":1,"present":true,"value":1},{"factor":"mutism","points":0,"present":true,"value":0},{"factor":"staring","points":0,"present":true,"value":0},{"factor":"posturing_catalepsy","points":0,"present":true,"value":0},{"factor":"grimacing","points":0,"present":true,"value":0},{"factor":"echopraxia_echolalia","points":0,"present":true,"value":0},{"factor":"stereotypy","points":0,"present":true,"value":0},{"factor":"mannerisms","points":0,"present":true,"value":0},{"factor":"verbigeration","points":0,"present":true,"value":0},{"factor":"rigidity","points":0,"present":true,"value":0},{"factor":"negativism","points":0,"present":true,"value":0},{"factor":"waxy_flexibility","points":0,"present":true,"value":0},{"factor":"withdrawal","points":0,"present":true,"value":0},{"factor":"impulsivity","points":0,"present":true,"value":0},{"factor":"automatic_obedience","points":0,"present":true,"value":0},{"factor":"mitgehen","points":0,"present":true,"value":0},{"factor":"gegenhalten","points":0,"present":true,"value":0},{"factor":"ambitendency","points":0,"present":true,"value":0},{"factor":"grasp_reflex","points":0,"present":true,"value":0},{"factor":"perseveration","points":0,"present":true,"value":0},{"factor":"combativeness","points":0,"present":true,"value":0},{"factor":"autonomic_abnormality","points":0,"present":true,"value":0}],"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":"bush_francis","formula_expression":"Bush-Francis CRS = excitement + immobility_stupor + mutism + staring + posturing_catalepsy + grimacing + echopraxia_echolalia + stereotypy + mannerisms + verbigeration + rigidity + negativism + waxy_flexibility + withdrawal + impulsivity + automatic_obedience + mitgehen + gegenhalten + ambitendency + grasp_reflex + perseveration + combativeness + autonomic_abnormality; Bush 1996 23-item catatonia rating scale; items 1-16 and 22-23 integers 0-3; items 17-21 (mitgehen, gegenhalten, ambitendency, grasp_reflex, perseveration) 0 or 3 only; severity score = sum of items 1-23; screening instrument = first 14 items; screen_positive iff count of items 1-14 with score > 0 is >= 2; max 69; not a diagnosis","max_score":69,"score":2,"screen_positive":true,"screen_signs_met":2},{"citation":{"authors":"Bush G, Fink M, Petrides G, Dowling F, Francis A","doi":"10.1111/j.1600-0447.1996.tb09814.x","id":"bush-1996","pmid":"8686483","source":"Acta Psychiatr Scand. 1996;93(2):129-136","title":"Catatonia. I. Rating scale and standardized examination"},"components":[{"factor":"excitement","points":1,"present":true,"value":1},{"factor":"immobility_stupor","points":1,"present":true,"value":1},{"factor":"mutism","points":0,"present":true,"value":0},{"factor":"staring","points":0,"present":true,"value":0},{"factor":"posturing_catalepsy","points":0,"present":true,"value":0},{"factor":"grimacing","points":0,"present":true,"value":0},{"factor":"echopraxia_echolalia","points":0,"present":true,"value":0},{"factor":"stereotypy","points":0,"present":true,"value":0},{"factor":"mannerisms","points":0,"present":true,"value":0},{"factor":"verbigeration","points":0,"present":true,"value":0},{"factor":"rigidity","points":0,"present":true,"value":0},{"factor":"negativism","points":0,"present":true,"value":0},{"factor":"waxy_flexibility","points":0,"present":true,"value":0},{"factor":"withdrawal","points":0,"present":true,"value":0},{"factor":"impulsivity","points":0,"present":true,"value":0},{"factor":"automatic_obedience","points":0,"present":true,"value":0},{"factor":"mitgehen","points":0,"present":true,"value":0},{"factor":"gegenhalten","points":0,"present":true,"value":0},{"factor":"ambitendency","points":0,"present":true,"value":0},{"factor":"grasp_reflex","points":0,"present":true,"value":0},{"factor":"perseveration","points":0,"present":true,"value":0},{"factor":"combativeness","points":0,"present":true,"value":0},{"factor":"autonomic_abnormality","points":0,"present":true,"value":0}],"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":"bush_francis","formula_expression":"Bush-Francis CRS = excitement + immobility_stupor + mutism + staring + posturing_catalepsy + grimacing + echopraxia_echolalia + stereotypy + mannerisms + verbigeration + rigidity + negativism + waxy_flexibility + withdrawal + impulsivity + automatic_obedience + mitgehen + gegenhalten + ambitendency + grasp_reflex + perseveration + combativeness + autonomic_abnormality; Bush 1996 23-item catatonia rating scale; items 1-16 and 22-23 integers 0-3; items 17-21 (mitgehen, gegenhalten, ambitendency, grasp_reflex, perseveration) 0 or 3 only; severity score = sum of items 1-23; screening instrument = first 14 items; screen_positive iff count of items 1-14 with score > 0 is >= 2; max 69; not a diagnosis","max_score":69,"score":2,"screen_positive":true,"screen_signs_met":2}],"path":"/api/calc/bush_francis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ambitendency":{"description":"Caller-assigned Bush 1996 ambitendency (item 19; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"automatic_obedience":{"description":"Caller-assigned Bush 1996 automatic obedience (item 16; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"autonomic_abnormality":{"description":"Caller-assigned Bush 1996 autonomic abnormality (item 23; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"combativeness":{"description":"Caller-assigned Bush 1996 combativeness (item 22; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"echopraxia_echolalia":{"description":"Caller-assigned Bush 1996 echopraxia/echolalia (item 7; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"excitement":{"description":"Caller-assigned Bush 1996 excitement (item 1; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"gegenhalten":{"description":"Caller-assigned Bush 1996 gegenhalten (item 18; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"grasp_reflex":{"description":"Caller-assigned Bush 1996 grasp reflex (item 20; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"grimacing":{"description":"Caller-assigned Bush 1996 grimacing (item 6; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"immobility_stupor":{"description":"Caller-assigned Bush 1996 immobility/stupor (item 2; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"impulsivity":{"description":"Caller-assigned Bush 1996 impulsivity (item 15; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"mannerisms":{"description":"Caller-assigned Bush 1996 mannerisms (item 9; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"mitgehen":{"description":"Caller-assigned Bush 1996 mitgehen (item 17; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"mutism":{"description":"Caller-assigned Bush 1996 mutism (item 3; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"negativism":{"description":"Caller-assigned Bush 1996 negativism (item 12; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"perseveration":{"description":"Caller-assigned Bush 1996 perseveration (item 21; 0 absent or 3 present only). magent does not examine the patient.","enum":[0,3],"type":"integer"},"posturing_catalepsy":{"description":"Caller-assigned Bush 1996 posturing/catalepsy (item 5; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"rigidity":{"description":"Caller-assigned Bush 1996 rigidity (item 11; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"staring":{"description":"Caller-assigned Bush 1996 staring (item 4; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"stereotypy":{"description":"Caller-assigned Bush 1996 stereotypy (item 8; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"verbigeration":{"description":"Caller-assigned Bush 1996 verbigeration (item 10; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"waxy_flexibility":{"description":"Caller-assigned Bush 1996 waxy flexibility (item 13; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"},"withdrawal":{"description":"Caller-assigned Bush 1996 withdrawal (item 14; integer 0-3). magent does not examine the patient.","enum":[0,1,2,3],"type":"integer"}},"required":["excitement","immobility_stupor","mutism","staring","posturing_catalepsy","grimacing","echopraxia_echolalia","stereotypy","mannerisms","verbigeration","rigidity","negativism","waxy_flexibility","withdrawal","impulsivity","automatic_obedience","mitgehen","gegenhalten","ambitendency","grasp_reflex","perseveration","combativeness","autonomic_abnormality"],"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},{"id":39521,"slug":"39521","resource":"https://api.magentlab.com/api/calc/astral","description":"Ntaios 2012 ASTRAL integer score for 3-month mRS >2 in acute ischemic stroke. Age 1/5 years + NIHSS (caller 0-42) + 2 if onset-to-admission >180 min + 2 if visual field defect + 1 if glucose <3.7 or >7.3 mmol/L (mg/dL /18) + 3 if impaired consciousness. Score 31 is 50% unfavorable. Not a tPA decision. magent does not compute NIHSS.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"delay_gt_180":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"loc_impaired":false,"nihss":0,"visual_field_defect":false},{"age":40,"delay_gt_180":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"loc_impaired":false,"nihss":0,"visual_field_defect":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Ntaios G, Faouzi M, Ferrari J, Lang W, Vemmos K, Michel P","doi":"10.1212/WNL.0b013e318259e221","id":"ntaios-2012","pmid":"22649218","source":"Neurology. 2012;78(24):1916-1922","title":"An integer-based score to predict functional outcome in acute ischemic stroke: the ASTRAL score"},"components":[{"factor":"age","points":8,"present":true,"value":40},{"factor":"nihss","points":0,"present":false,"value":0},{"factor":"delay_gt_180","points":0,"present":false},{"factor":"visual_field_defect","points":0,"present":false},{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"loc_impaired","points":0,"present":false}],"delay_gt_180":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":"astral","formula_expression":"ASTRAL = age (1 per 5 years) + NIHSS + 2 if onset-to-admission >180 min + 2 if visual field defect + 1 if glucose <3.7 or >7.3 mmol/L + 3 if impaired consciousness; Ntaios 2012; 3-month mRS >2 is 50% at score 31","glucose_abnormal":false,"glucose_mmol_l":6,"loc_impaired":false,"max_score":74,"nihss":0,"score":8,"unfavorable_ge_31":false,"visual_field_defect":false},{"age_years":40,"citation":{"authors":"Ntaios G, Faouzi M, Ferrari J, Lang W, Vemmos K, Michel P","doi":"10.1212/WNL.0b013e318259e221","id":"ntaios-2012","pmid":"22649218","source":"Neurology. 2012;78(24):1916-1922","title":"An integer-based score to predict functional outcome in acute ischemic stroke: the ASTRAL score"},"components":[{"factor":"age","points":8,"present":true,"value":40},{"factor":"nihss","points":0,"present":false,"value":0},{"factor":"delay_gt_180","points":0,"present":false},{"factor":"visual_field_defect","points":0,"present":false},{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"loc_impaired","points":0,"present":false}],"delay_gt_180":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":"astral","formula_expression":"ASTRAL = age (1 per 5 years) + NIHSS + 2 if onset-to-admission >180 min + 2 if visual field defect + 1 if glucose <3.7 or >7.3 mmol/L + 3 if impaired consciousness; Ntaios 2012; 3-month mRS >2 is 50% at score 31","glucose_abnormal":false,"glucose_mmol_l":6,"loc_impaired":false,"max_score":74,"nihss":0,"score":8,"unfavorable_ge_31":false,"visual_field_defect":false}],"path":"/api/calc/astral"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Ntaios 2012 integer weight is 1 point per 5 years (integer division). magent does not date the patient.","type":"integer"},"delay_gt_180":{"description":"Onset-to-admission delay >180 minutes (Ntaios 2012 time item). true scores 2; false (including 180 min) scores 0. magent does not clock the delay.","type":"boolean"},"glucose_mg_dl":{"description":"Admission glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both.","type":"number"},"glucose_mmol_l":{"description":"Admission glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. 1 point if <3.7 or >7.3; 3.7 and 7.3 do not score.","type":"number"},"loc_impaired":{"description":"Impaired consciousness as assigned by the caller (Ntaios 2012; NIHSS item 1a >0). true scores 3; false scores 0. magent does not compute NIHSS.","type":"boolean"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42). 1 point per NIHSS point. magent does not compute NIHSS or examine the patient.","type":"integer"},"visual_field_defect":{"description":"Any stroke-related visual field defect as assigned by the caller (Ntaios 2012 range of visual fields). true scores 2; false scores 0. magent does not examine the patient.","type":"boolean"}},"required":["age","nihss","delay_gt_180","visual_field_defect","loc_impaired"],"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":["astral","stroke","neurology","nihss","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:49:40.625Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:49:40.491Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"delay_gt_180":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"loc_impaired":false,"nihss":0,"visual_field_defect":false},{"age":40,"delay_gt_180":false,"glucose_mg_dl":108,"glucose_mmol_l":6,"loc_impaired":false,"nihss":0,"visual_field_defect":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Ntaios G, Faouzi M, Ferrari J, Lang W, Vemmos K, Michel P","doi":"10.1212/WNL.0b013e318259e221","id":"ntaios-2012","pmid":"22649218","source":"Neurology. 2012;78(24):1916-1922","title":"An integer-based score to predict functional outcome in acute ischemic stroke: the ASTRAL score"},"components":[{"factor":"age","points":8,"present":true,"value":40},{"factor":"nihss","points":0,"present":false,"value":0},{"factor":"delay_gt_180","points":0,"present":false},{"factor":"visual_field_defect","points":0,"present":false},{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"loc_impaired","points":0,"present":false}],"delay_gt_180":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":"astral","formula_expression":"ASTRAL = age (1 per 5 years) + NIHSS + 2 if onset-to-admission >180 min + 2 if visual field defect + 1 if glucose <3.7 or >7.3 mmol/L + 3 if impaired consciousness; Ntaios 2012; 3-month mRS >2 is 50% at score 31","glucose_abnormal":false,"glucose_mmol_l":6,"loc_impaired":false,"max_score":74,"nihss":0,"score":8,"unfavorable_ge_31":false,"visual_field_defect":false},{"age_years":40,"citation":{"authors":"Ntaios G, Faouzi M, Ferrari J, Lang W, Vemmos K, Michel P","doi":"10.1212/WNL.0b013e318259e221","id":"ntaios-2012","pmid":"22649218","source":"Neurology. 2012;78(24):1916-1922","title":"An integer-based score to predict functional outcome in acute ischemic stroke: the ASTRAL score"},"components":[{"factor":"age","points":8,"present":true,"value":40},{"factor":"nihss","points":0,"present":false,"value":0},{"factor":"delay_gt_180","points":0,"present":false},{"factor":"visual_field_defect","points":0,"present":false},{"factor":"glucose","points":0,"present":false,"value":6},{"factor":"loc_impaired","points":0,"present":false}],"delay_gt_180":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":"astral","formula_expression":"ASTRAL = age (1 per 5 years) + NIHSS + 2 if onset-to-admission >180 min + 2 if visual field defect + 1 if glucose <3.7 or >7.3 mmol/L + 3 if impaired consciousness; Ntaios 2012; 3-month mRS >2 is 50% at score 31","glucose_abnormal":false,"glucose_mmol_l":6,"loc_impaired":false,"max_score":74,"nihss":0,"score":8,"unfavorable_ge_31":false,"visual_field_defect":false}],"path":"/api/calc/astral"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Ntaios 2012 integer weight is 1 point per 5 years (integer division). magent does not date the patient.","type":"integer"},"delay_gt_180":{"description":"Onset-to-admission delay >180 minutes (Ntaios 2012 time item). true scores 2; false (including 180 min) scores 0. magent does not clock the delay.","type":"boolean"},"glucose_mg_dl":{"description":"Admission glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both.","type":"number"},"glucose_mmol_l":{"description":"Admission glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. 1 point if <3.7 or >7.3; 3.7 and 7.3 do not score.","type":"number"},"loc_impaired":{"description":"Impaired consciousness as assigned by the caller (Ntaios 2012; NIHSS item 1a >0). true scores 3; false scores 0. magent does not compute NIHSS.","type":"boolean"},"nihss":{"description":"Caller-assigned NIH Stroke Scale total (integer 0-42). 1 point per NIHSS point. magent does not compute NIHSS or examine the patient.","type":"integer"},"visual_field_defect":{"description":"Any stroke-related visual field defect as assigned by the caller (Ntaios 2012 range of visual fields). true scores 2; false scores 0. magent does not examine the patient.","type":"boolean"}},"required":["age","nihss","delay_gt_180","visual_field_defect","loc_impaired"],"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},{"id":39522,"slug":"39522","resource":"https://api.magentlab.com/api/calc/berg_balance","description":"Berg 1992 Berg Balance Scale (BBS): fourteen caller-assigned integers 0-4 (sitting to standing through standing on one foot). Sum 0-56. magent does not observe. Berg 1992 printed no 0-20 wheelchair / 21-40 walking-with-assistance / 41-56 independent website bands. Not Timed Up and Go, not a diagnosis, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"alternate_foot_on_stool":0,"reaching_forward":0,"retrieving_object_from_floor":0,"sitting_to_standing":0,"sitting_unsupported":0,"standing_eyes_closed":0,"standing_feet_together":0,"standing_on_one_foot":0,"standing_to_sitting":0,"standing_unsupported":0,"tandem_stance":0,"transfers":0,"turning_360":0,"turning_to_look_behind":0},{"alternate_foot_on_stool":0,"reaching_forward":0,"retrieving_object_from_floor":0,"sitting_to_standing":0,"sitting_unsupported":0,"standing_eyes_closed":0,"standing_feet_together":0,"standing_on_one_foot":0,"standing_to_sitting":0,"standing_unsupported":0,"tandem_stance":0,"transfers":0,"turning_360":0,"turning_to_look_behind":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Berg KO, Wood-Dauphinee SL, Williams JI, Maki B","id":"berg-1992","pmid":"1468055","source":"Can J Public Health. 1992;83 Suppl 2:S7-S11","title":"Measuring balance in the elderly: validation of an instrument"},"components":[{"factor":"sitting_to_standing","points":0,"present":true,"value":0},{"factor":"standing_unsupported","points":0,"present":true,"value":0},{"factor":"sitting_unsupported","points":0,"present":true,"value":0},{"factor":"standing_to_sitting","points":0,"present":true,"value":0},{"factor":"transfers","points":0,"present":true,"value":0},{"factor":"standing_eyes_closed","points":0,"present":true,"value":0},{"factor":"standing_feet_together","points":0,"present":true,"value":0},{"factor":"reaching_forward","points":0,"present":true,"value":0},{"factor":"retrieving_object_from_floor","points":0,"present":true,"value":0},{"factor":"turning_to_look_behind","points":0,"present":true,"value":0},{"factor":"turning_360","points":0,"present":true,"value":0},{"factor":"alternate_foot_on_stool","points":0,"present":true,"value":0},{"factor":"tandem_stance","points":0,"present":true,"value":0},{"factor":"standing_on_one_foot","points":0,"present":true,"value":0}],"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":"berg_balance","formula_expression":"Berg Balance Scale = sitting_to_standing + standing_unsupported + sitting_unsupported + standing_to_sitting + transfers + standing_eyes_closed + standing_feet_together + reaching_forward + retrieving_object_from_floor + turning_to_look_behind + turning_360 + alternate_foot_on_stool + tandem_stance + standing_on_one_foot; each caller-assigned 0-4; Berg 1992 fourteen items; max 56; no 0-20 / 21-40 / 41-56 wheelchair/assist/independent website bands","max_score":56,"score":0},{"citation":{"authors":"Berg KO, Wood-Dauphinee SL, Williams JI, Maki B","id":"berg-1992","pmid":"1468055","source":"Can J Public Health. 1992;83 Suppl 2:S7-S11","title":"Measuring balance in the elderly: validation of an instrument"},"components":[{"factor":"sitting_to_standing","points":0,"present":true,"value":0},{"factor":"standing_unsupported","points":0,"present":true,"value":0},{"factor":"sitting_unsupported","points":0,"present":true,"value":0},{"factor":"standing_to_sitting","points":0,"present":true,"value":0},{"factor":"transfers","points":0,"present":true,"value":0},{"factor":"standing_eyes_closed","points":0,"present":true,"value":0},{"factor":"standing_feet_together","points":0,"present":true,"value":0},{"factor":"reaching_forward","points":0,"present":true,"value":0},{"factor":"retrieving_object_from_floor","points":0,"present":true,"value":0},{"factor":"turning_to_look_behind","points":0,"present":true,"value":0},{"factor":"turning_360","points":0,"present":true,"value":0},{"factor":"alternate_foot_on_stool","points":0,"present":true,"value":0},{"factor":"tandem_stance","points":0,"present":true,"value":0},{"factor":"standing_on_one_foot","points":0,"present":true,"value":0}],"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":"berg_balance","formula_expression":"Berg Balance Scale = sitting_to_standing + standing_unsupported + sitting_unsupported + standing_to_sitting + transfers + standing_eyes_closed + standing_feet_together + reaching_forward + retrieving_object_from_floor + turning_to_look_behind + turning_360 + alternate_foot_on_stool + tandem_stance + standing_on_one_foot; each caller-assigned 0-4; Berg 1992 fourteen items; max 56; no 0-20 / 21-40 / 41-56 wheelchair/assist/independent website bands","max_score":56,"score":0}],"path":"/api/calc/berg_balance"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alternate_foot_on_stool":{"description":"Caller-assigned Berg 1992 placing alternate foot on step or stool while standing unsupported (integer 0-4): 4 able to stand independently and safely and complete 8 steps in 20 seconds; 3 able to stand independently and complete 8 steps in more than 20 seconds; 2 able to complete 4 steps without aid with supervision; 1 able to complete more than 2 steps needs minimal assist; 0 needs assistance to keep from falling or unable to try. magent does not observe the patient.","type":"integer"},"reaching_forward":{"description":"Caller-assigned Berg 1992 reaching forward with outstretched arm while standing (integer 0-4): 4 can reach forward confidently more than 25 cm (10 inches); 3 can reach forward more than 12 cm (5 inches) safely; 2 can reach forward more than 5 cm (2 inches) safely; 1 reaches forward but needs supervision; 0 loses balance while trying or requires external support. magent does not observe the patient.","type":"integer"},"retrieving_object_from_floor":{"description":"Caller-assigned Berg 1992 retrieving object from floor from a standing position (integer 0-4): 4 able to pick up slipper safely and easily; 3 able to pick up slipper but needs supervision; 2 unable to pick up but reaches 2-5 cm from slipper and keeps balance independently; 1 unable to pick up and needs supervision while trying; 0 unable to try or needs assist to keep from losing balance. magent does not observe the patient.","type":"integer"},"sitting_to_standing":{"description":"Caller-assigned Berg 1992 sitting to standing (integer 0-4): 4 able to stand without using hands and stabilize independently; 3 able to stand independently using hands; 2 able to stand using hands after several tries; 1 needs minimal aid to stand or stabilize; 0 needs moderate or maximal assist to stand. magent does not observe the patient.","type":"integer"},"sitting_unsupported":{"description":"Caller-assigned Berg 1992 sitting unsupported, feet supported (integer 0-4): 4 able to sit safely and securely for 2 minutes; 3 able to sit 2 minutes under supervision; 2 able to sit 30 seconds; 1 able to sit 10 seconds; 0 unable to sit without support 10 seconds. magent does not observe the patient.","type":"integer"},"standing_eyes_closed":{"description":"Caller-assigned Berg 1992 standing unsupported with eyes closed (integer 0-4): 4 able to stand 10 seconds safely; 3 able to stand 10 seconds with supervision; 2 able to stand 3 seconds; 1 unable to keep eyes closed 3 seconds but stays standing; 0 needs help to keep from falling. magent does not observe the patient.","type":"integer"},"standing_feet_together":{"description":"Caller-assigned Berg 1992 standing unsupported with feet together (integer 0-4): 4 able to place feet together independently and stand 1 minute safely; 3 able to place feet together independently and stand 1 minute with supervision; 2 able to place feet together independently but unable to hold 30 seconds; 1 needs help to attain position but able to stand 15 seconds; 0 needs help to attain position and unable to hold 15 seconds. magent does not observe the patient.","type":"integer"},"standing_on_one_foot":{"description":"Caller-assigned Berg 1992 standing on one foot (integer 0-4): 4 able to lift leg independently and hold more than 10 seconds; 3 able to lift leg independently and hold 5-10 seconds; 2 able to lift leg independently and hold at least 3 seconds; 1 tries to lift leg unable to hold 3 seconds but remains standing independently; 0 unable to try or needs assist to prevent fall. magent does not observe the patient.","type":"integer"},"standing_to_sitting":{"description":"Caller-assigned Berg 1992 standing to sitting (integer 0-4): 4 sits safely with minimal use of hands; 3 controls descent by using hands; 2 uses back of legs against chair to control descent; 1 sits independently but has uncontrolled descent; 0 needs assistance to sit. magent does not observe the patient.","type":"integer"},"standing_unsupported":{"description":"Caller-assigned Berg 1992 standing unsupported (integer 0-4): 4 able to stand safely for 2 minutes; 3 able to stand 2 minutes with supervision; 2 able to stand 30 seconds unsupported; 1 needs several tries to stand 30 seconds unsupported; 0 unable to stand 30 seconds unassisted. magent does not observe the patient.","type":"integer"},"tandem_stance":{"description":"Caller-assigned Berg 1992 standing unsupported one foot in front (integer 0-4): 4 able to place foot tandem independently and hold 30 seconds; 3 able to place foot ahead of other independently and hold 30 seconds; 2 able to take small step independently and hold 30 seconds; 1 needs help to step but can hold 15 seconds; 0 loses balance while stepping or standing. magent does not observe the patient.","type":"integer"},"transfers":{"description":"Caller-assigned Berg 1992 transfers (integer 0-4): 4 able to transfer safely with minor use of hands; 3 able to transfer safely definite need of hands; 2 able to transfer with verbal cuing and/or supervision; 1 needs one person to assist; 0 needs two people to assist or supervise to be safe. magent does not observe the patient.","type":"integer"},"turning_360":{"description":"Caller-assigned Berg 1992 turning 360 degrees (integer 0-4): 4 able to turn 360 degrees safely in 4 seconds or less; 3 able to turn 360 degrees safely one side only in 4 seconds or less; 2 able to turn 360 degrees safely but slowly; 1 needs close supervision or verbal cuing; 0 needs assistance while turning. magent does not observe the patient.","type":"integer"},"turning_to_look_behind":{"description":"Caller-assigned Berg 1992 turning to look behind over left and right shoulders while standing (integer 0-4): 4 looks behind from both sides with weight shift; 3 looks behind one side only other side shows less weight shift; 2 turns sideways only but maintains balance; 1 needs supervision when turning; 0 needs assist to keep from losing balance or falling. magent does not observe the patient.","type":"integer"}},"required":["sitting_to_standing","standing_unsupported","sitting_unsupported","standing_to_sitting","transfers","standing_eyes_closed","standing_feet_together","reaching_forward","retrieving_object_from_floor","turning_to_look_behind","turning_360","alternate_foot_on_stool","tandem_stance","standing_on_one_foot"],"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":["bbs","berg","balance","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:46:31.58Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:46:31.407Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alternate_foot_on_stool":0,"reaching_forward":0,"retrieving_object_from_floor":0,"sitting_to_standing":0,"sitting_unsupported":0,"standing_eyes_closed":0,"standing_feet_together":0,"standing_on_one_foot":0,"standing_to_sitting":0,"standing_unsupported":0,"tandem_stance":0,"transfers":0,"turning_360":0,"turning_to_look_behind":0},{"alternate_foot_on_stool":0,"reaching_forward":0,"retrieving_object_from_floor":0,"sitting_to_standing":0,"sitting_unsupported":0,"standing_eyes_closed":0,"standing_feet_together":0,"standing_on_one_foot":0,"standing_to_sitting":0,"standing_unsupported":0,"tandem_stance":0,"transfers":0,"turning_360":0,"turning_to_look_behind":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Berg KO, Wood-Dauphinee SL, Williams JI, Maki B","id":"berg-1992","pmid":"1468055","source":"Can J Public Health. 1992;83 Suppl 2:S7-S11","title":"Measuring balance in the elderly: validation of an instrument"},"components":[{"factor":"sitting_to_standing","points":0,"present":true,"value":0},{"factor":"standing_unsupported","points":0,"present":true,"value":0},{"factor":"sitting_unsupported","points":0,"present":true,"value":0},{"factor":"standing_to_sitting","points":0,"present":true,"value":0},{"factor":"transfers","points":0,"present":true,"value":0},{"factor":"standing_eyes_closed","points":0,"present":true,"value":0},{"factor":"standing_feet_together","points":0,"present":true,"value":0},{"factor":"reaching_forward","points":0,"present":true,"value":0},{"factor":"retrieving_object_from_floor","points":0,"present":true,"value":0},{"factor":"turning_to_look_behind","points":0,"present":true,"value":0},{"factor":"turning_360","points":0,"present":true,"value":0},{"factor":"alternate_foot_on_stool","points":0,"present":true,"value":0},{"factor":"tandem_stance","points":0,"present":true,"value":0},{"factor":"standing_on_one_foot","points":0,"present":true,"value":0}],"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":"berg_balance","formula_expression":"Berg Balance Scale = sitting_to_standing + standing_unsupported + sitting_unsupported + standing_to_sitting + transfers + standing_eyes_closed + standing_feet_together + reaching_forward + retrieving_object_from_floor + turning_to_look_behind + turning_360 + alternate_foot_on_stool + tandem_stance + standing_on_one_foot; each caller-assigned 0-4; Berg 1992 fourteen items; max 56; no 0-20 / 21-40 / 41-56 wheelchair/assist/independent website bands","max_score":56,"score":0},{"citation":{"authors":"Berg KO, Wood-Dauphinee SL, Williams JI, Maki B","id":"berg-1992","pmid":"1468055","source":"Can J Public Health. 1992;83 Suppl 2:S7-S11","title":"Measuring balance in the elderly: validation of an instrument"},"components":[{"factor":"sitting_to_standing","points":0,"present":true,"value":0},{"factor":"standing_unsupported","points":0,"present":true,"value":0},{"factor":"sitting_unsupported","points":0,"present":true,"value":0},{"factor":"standing_to_sitting","points":0,"present":true,"value":0},{"factor":"transfers","points":0,"present":true,"value":0},{"factor":"standing_eyes_closed","points":0,"present":true,"value":0},{"factor":"standing_feet_together","points":0,"present":true,"value":0},{"factor":"reaching_forward","points":0,"present":true,"value":0},{"factor":"retrieving_object_from_floor","points":0,"present":true,"value":0},{"factor":"turning_to_look_behind","points":0,"present":true,"value":0},{"factor":"turning_360","points":0,"present":true,"value":0},{"factor":"alternate_foot_on_stool","points":0,"present":true,"value":0},{"factor":"tandem_stance","points":0,"present":true,"value":0},{"factor":"standing_on_one_foot","points":0,"present":true,"value":0}],"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":"berg_balance","formula_expression":"Berg Balance Scale = sitting_to_standing + standing_unsupported + sitting_unsupported + standing_to_sitting + transfers + standing_eyes_closed + standing_feet_together + reaching_forward + retrieving_object_from_floor + turning_to_look_behind + turning_360 + alternate_foot_on_stool + tandem_stance + standing_on_one_foot; each caller-assigned 0-4; Berg 1992 fourteen items; max 56; no 0-20 / 21-40 / 41-56 wheelchair/assist/independent website bands","max_score":56,"score":0}],"path":"/api/calc/berg_balance"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alternate_foot_on_stool":{"description":"Caller-assigned Berg 1992 placing alternate foot on step or stool while standing unsupported (integer 0-4): 4 able to stand independently and safely and complete 8 steps in 20 seconds; 3 able to stand independently and complete 8 steps in more than 20 seconds; 2 able to complete 4 steps without aid with supervision; 1 able to complete more than 2 steps needs minimal assist; 0 needs assistance to keep from falling or unable to try. magent does not observe the patient.","type":"integer"},"reaching_forward":{"description":"Caller-assigned Berg 1992 reaching forward with outstretched arm while standing (integer 0-4): 4 can reach forward confidently more than 25 cm (10 inches); 3 can reach forward more than 12 cm (5 inches) safely; 2 can reach forward more than 5 cm (2 inches) safely; 1 reaches forward but needs supervision; 0 loses balance while trying or requires external support. magent does not observe the patient.","type":"integer"},"retrieving_object_from_floor":{"description":"Caller-assigned Berg 1992 retrieving object from floor from a standing position (integer 0-4): 4 able to pick up slipper safely and easily; 3 able to pick up slipper but needs supervision; 2 unable to pick up but reaches 2-5 cm from slipper and keeps balance independently; 1 unable to pick up and needs supervision while trying; 0 unable to try or needs assist to keep from losing balance. magent does not observe the patient.","type":"integer"},"sitting_to_standing":{"description":"Caller-assigned Berg 1992 sitting to standing (integer 0-4): 4 able to stand without using hands and stabilize independently; 3 able to stand independently using hands; 2 able to stand using hands after several tries; 1 needs minimal aid to stand or stabilize; 0 needs moderate or maximal assist to stand. magent does not observe the patient.","type":"integer"},"sitting_unsupported":{"description":"Caller-assigned Berg 1992 sitting unsupported, feet supported (integer 0-4): 4 able to sit safely and securely for 2 minutes; 3 able to sit 2 minutes under supervision; 2 able to sit 30 seconds; 1 able to sit 10 seconds; 0 unable to sit without support 10 seconds. magent does not observe the patient.","type":"integer"},"standing_eyes_closed":{"description":"Caller-assigned Berg 1992 standing unsupported with eyes closed (integer 0-4): 4 able to stand 10 seconds safely; 3 able to stand 10 seconds with supervision; 2 able to stand 3 seconds; 1 unable to keep eyes closed 3 seconds but stays standing; 0 needs help to keep from falling. magent does not observe the patient.","type":"integer"},"standing_feet_together":{"description":"Caller-assigned Berg 1992 standing unsupported with feet together (integer 0-4): 4 able to place feet together independently and stand 1 minute safely; 3 able to place feet together independently and stand 1 minute with supervision; 2 able to place feet together independently but unable to hold 30 seconds; 1 needs help to attain position but able to stand 15 seconds; 0 needs help to attain position and unable to hold 15 seconds. magent does not observe the patient.","type":"integer"},"standing_on_one_foot":{"description":"Caller-assigned Berg 1992 standing on one foot (integer 0-4): 4 able to lift leg independently and hold more than 10 seconds; 3 able to lift leg independently and hold 5-10 seconds; 2 able to lift leg independently and hold at least 3 seconds; 1 tries to lift leg unable to hold 3 seconds but remains standing independently; 0 unable to try or needs assist to prevent fall. magent does not observe the patient.","type":"integer"},"standing_to_sitting":{"description":"Caller-assigned Berg 1992 standing to sitting (integer 0-4): 4 sits safely with minimal use of hands; 3 controls descent by using hands; 2 uses back of legs against chair to control descent; 1 sits independently but has uncontrolled descent; 0 needs assistance to sit. magent does not observe the patient.","type":"integer"},"standing_unsupported":{"description":"Caller-assigned Berg 1992 standing unsupported (integer 0-4): 4 able to stand safely for 2 minutes; 3 able to stand 2 minutes with supervision; 2 able to stand 30 seconds unsupported; 1 needs several tries to stand 30 seconds unsupported; 0 unable to stand 30 seconds unassisted. magent does not observe the patient.","type":"integer"},"tandem_stance":{"description":"Caller-assigned Berg 1992 standing unsupported one foot in front (integer 0-4): 4 able to place foot tandem independently and hold 30 seconds; 3 able to place foot ahead of other independently and hold 30 seconds; 2 able to take small step independently and hold 30 seconds; 1 needs help to step but can hold 15 seconds; 0 loses balance while stepping or standing. magent does not observe the patient.","type":"integer"},"transfers":{"description":"Caller-assigned Berg 1992 transfers (integer 0-4): 4 able to transfer safely with minor use of hands; 3 able to transfer safely definite need of hands; 2 able to transfer with verbal cuing and/or supervision; 1 needs one person to assist; 0 needs two people to assist or supervise to be safe. magent does not observe the patient.","type":"integer"},"turning_360":{"description":"Caller-assigned Berg 1992 turning 360 degrees (integer 0-4): 4 able to turn 360 degrees safely in 4 seconds or less; 3 able to turn 360 degrees safely one side only in 4 seconds or less; 2 able to turn 360 degrees safely but slowly; 1 needs close supervision or verbal cuing; 0 needs assistance while turning. magent does not observe the patient.","type":"integer"},"turning_to_look_behind":{"description":"Caller-assigned Berg 1992 turning to look behind over left and right shoulders while standing (integer 0-4): 4 looks behind from both sides with weight shift; 3 looks behind one side only other side shows less weight shift; 2 turns sideways only but maintains balance; 1 needs supervision when turning; 0 needs assist to keep from losing balance or falling. magent does not observe the patient.","type":"integer"}},"required":["sitting_to_standing","standing_unsupported","sitting_unsupported","standing_to_sitting","transfers","standing_eyes_closed","standing_feet_together","reaching_forward","retrieving_object_from_floor","turning_to_look_behind","turning_360","alternate_foot_on_stool","tandem_stance","standing_on_one_foot"],"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},{"id":39523,"slug":"39523","resource":"https://api.magentlab.com/api/calc/canadian_tia","description":"Perry 2021 Canadian TIA Score (Table 1) for 7-day stroke or carotid revascularization after TIA. Clinical: first TIA 2, symptoms >=10 min 2, past carotid stenosis 2, antiplatelet 3, gait 1, unilateral weakness 1, vertigo -3, diastolic >=110 3, dysarthria/aphasia 1. Investigations: AF on ECG 2, infarct on CT 1, platelets >=400 2, glucose >=15 mmol/L 3. Age required, 0 points. Total -3 to 23. Bands <=3 low (0.5%), 4-8 medium (2.3%), >=9 high (5.9%). Not ABCD2. Not a diagnosis or admit order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"af_on_ecg":false,"age":70,"carotid_stenosis":false,"diastolic_mm_hg":80,"dysarthria_or_aphasia":false,"first_tia":false,"gait_disturbance":false,"glucose_mg_dl":90,"glucose_mmol_l":5,"infarct_on_ct":false,"on_antiplatelet":false,"platelets_10e9_l":200,"symptoms_ge_10_min":false,"unilateral_weakness":false,"vertigo":false},{"af_on_ecg":false,"age":70,"carotid_stenosis":false,"diastolic_mm_hg":80,"dysarthria_or_aphasia":false,"first_tia":false,"gait_disturbance":false,"glucose_mg_dl":90,"glucose_mmol_l":5,"infarct_on_ct":false,"on_antiplatelet":false,"platelets_10e9_l":200,"symptoms_ge_10_min":false,"unilateral_weakness":false,"vertigo":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Perry JJ, Sivilotti MLA, Émond M, Stiell IG, Stotts G, Lee J, Worster A, Morris J, Cheung KW, Jin AY, Oczkowski WJ, Sahlas DJ, Murray HE, Mackey A, Verreault S, Camden MC, Yip S, Teal P, Gladstone DJ, Boulos MI, Chagnon N, Shouldice E, Atzema C, Slaoui T, Teitlebaum J, Abdulaziz K, Nemnom MJ, Wells GA, Sharma M","doi":"10.1136/bmj.n49","id":"perry-2021","pmid":"33541890","source":"BMJ. 2021;372:n49","title":"Prospective validation of Canadian TIA Score and comparison with ABCD2 and ABCD2i for subsequent stroke risk after transient ischaemic attack: multicentre prospective cohort study"},"components":[{"factor":"first_tia","points":0,"present":false},{"factor":"symptoms_ge_10_min","points":0,"present":false},{"factor":"carotid_stenosis","points":0,"present":false},{"factor":"on_antiplatelet","points":0,"present":false},{"factor":"gait_disturbance","points":0,"present":false},{"factor":"unilateral_weakness","points":0,"present":false},{"factor":"vertigo","points":0,"present":false},{"factor":"diastolic_mm_hg","points":0,"present":false,"value":80},{"factor":"dysarthria_or_aphasia","points":0,"present":false},{"factor":"af_on_ecg","points":0,"present":false},{"factor":"infarct_on_ct","points":0,"present":false},{"factor":"platelets_10e9_l","points":0,"present":false,"value":200},{"factor":"glucose","points":0,"present":false,"value":5}],"diastolic_mm_hg":80,"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":"canadian_tia","formula_expression":"Canadian TIA Score = first_tia 2 + symptoms_ge_10_min 2 + carotid_stenosis 2 + on_antiplatelet 3 + gait_disturbance 1 + unilateral_weakness 1 + vertigo -3 + (diastolic_mm_hg >= 110) 3 + dysarthria_or_aphasia 1 + af_on_ecg 2 + infarct_on_ct 1 + (platelets_10e9_l >= 400) 2 + (glucose >= 15 mmol/L) 3; age 18-120 required, 0 points; total -3 to 23; tia_risk low <=3 (0.5%), medium 4-8 (2.3%), high >=9 (5.9%) 7-day stroke or carotid revascularization (Perry 2021 Table 1 / Table 4); max 23","glucose_mmol_l":5,"max_score":23,"platelets_10e9_l":200,"score":0,"tia_risk":"low"},{"age_years":70,"citation":{"authors":"Perry JJ, Sivilotti MLA, Émond M, Stiell IG, Stotts G, Lee J, Worster A, Morris J, Cheung KW, Jin AY, Oczkowski WJ, Sahlas DJ, Murray HE, Mackey A, Verreault S, Camden MC, Yip S, Teal P, Gladstone DJ, Boulos MI, Chagnon N, Shouldice E, Atzema C, Slaoui T, Teitlebaum J, Abdulaziz K, Nemnom MJ, Wells GA, Sharma M","doi":"10.1136/bmj.n49","id":"perry-2021","pmid":"33541890","source":"BMJ. 2021;372:n49","title":"Prospective validation of Canadian TIA Score and comparison with ABCD2 and ABCD2i for subsequent stroke risk after transient ischaemic attack: multicentre prospective cohort study"},"components":[{"factor":"first_tia","points":0,"present":false},{"factor":"symptoms_ge_10_min","points":0,"present":false},{"factor":"carotid_stenosis","points":0,"present":false},{"factor":"on_antiplatelet","points":0,"present":false},{"factor":"gait_disturbance","points":0,"present":false},{"factor":"unilateral_weakness","points":0,"present":false},{"factor":"vertigo","points":0,"present":false},{"factor":"diastolic_mm_hg","points":0,"present":false,"value":80},{"factor":"dysarthria_or_aphasia","points":0,"present":false},{"factor":"af_on_ecg","points":0,"present":false},{"factor":"infarct_on_ct","points":0,"present":false},{"factor":"platelets_10e9_l","points":0,"present":false,"value":200},{"factor":"glucose","points":0,"present":false,"value":5}],"diastolic_mm_hg":80,"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":"canadian_tia","formula_expression":"Canadian TIA Score = first_tia 2 + symptoms_ge_10_min 2 + carotid_stenosis 2 + on_antiplatelet 3 + gait_disturbance 1 + unilateral_weakness 1 + vertigo -3 + (diastolic_mm_hg >= 110) 3 + dysarthria_or_aphasia 1 + af_on_ecg 2 + infarct_on_ct 1 + (platelets_10e9_l >= 400) 2 + (glucose >= 15 mmol/L) 3; age 18-120 required, 0 points; total -3 to 23; tia_risk low <=3 (0.5%), medium 4-8 (2.3%), high >=9 (5.9%) 7-day stroke or carotid revascularization (Perry 2021 Table 1 / Table 4); max 23","glucose_mmol_l":5,"max_score":23,"platelets_10e9_l":200,"score":0,"tia_risk":"low"}],"path":"/api/calc/canadian_tia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"af_on_ecg":{"description":"Atrial fibrillation on ECG (Perry 2021 Table 1). true scores 2; false scores 0. magent does not read the ECG.","type":"boolean"},"age":{"description":"Age in years (18-120). Required for the adult ED cohort. Does not add points (Perry 2021 Table 1 has no age item).","type":"integer"},"carotid_stenosis":{"description":"Past history of carotid stenosis (Perry 2021 Table 1). true scores 2; false scores 0. magent does not read imaging.","type":"boolean"},"diastolic_mm_hg":{"description":"Initial triage diastolic blood pressure in mm Hg (20-160). ≥110 scores 3; 109 scores 0 (Perry 2021 Table 1).","type":"number"},"dysarthria_or_aphasia":{"description":"Dysarthria or aphasia on history or examination (Perry 2021 Table 1). true scores 1; false scores 0. Not 3. magent does not examine the patient.","type":"boolean"},"first_tia":{"description":"Lifetime first TIA (Perry 2021 Table 1). true scores 2; false scores 0. Caller-assigned; magent does not take a history.","type":"boolean"},"gait_disturbance":{"description":"Gait disturbance (Perry 2021 Table 1). true scores 1; false scores 0. magent does not examine the patient.","type":"boolean"},"glucose_mg_dl":{"description":"Glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both. ≥15 mmol/L after conversion scores 3.","type":"number"},"glucose_mmol_l":{"description":"Glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. ≥15.0 scores 3; 14.9 scores 0 (Perry 2021 Table 1).","type":"number"},"infarct_on_ct":{"description":"New or old infarction on CT (Perry 2021 Table 1). true scores 1; false scores 0. magent does not read the CT.","type":"boolean"},"on_antiplatelet":{"description":"Already on antiplatelet therapy (Perry 2021 Table 1). true scores 3; false scores 0.","type":"boolean"},"platelets_10e9_l":{"description":"Platelet count ×10^9/L (1-2000). ≥400 scores 2; 399 scores 0 (Perry 2021 Table 1).","type":"number"},"symptoms_ge_10_min":{"description":"Symptoms lasting 10 minutes or longer (Perry 2021 Table 1). true scores 2; false scores 0. magent does not time the episode.","type":"boolean"},"unilateral_weakness":{"description":"Unilateral weakness (Perry 2021 Table 1). true scores 1; false scores 0. magent does not examine the patient.","type":"boolean"},"vertigo":{"description":"Vertigo (Perry 2021 Table 1). true scores -3; false scores 0. magent does not examine the patient.","type":"boolean"}},"required":["age","first_tia","symptoms_ge_10_min","carotid_stenosis","on_antiplatelet","gait_disturbance","unilateral_weakness","vertigo","diastolic_mm_hg","dysarthria_or_aphasia","af_on_ecg","infarct_on_ct","platelets_10e9_l"],"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":["canadian-tia","tia","stroke","neurology","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:45:14.339Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:45:14.181Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"af_on_ecg":false,"age":70,"carotid_stenosis":false,"diastolic_mm_hg":80,"dysarthria_or_aphasia":false,"first_tia":false,"gait_disturbance":false,"glucose_mg_dl":90,"glucose_mmol_l":5,"infarct_on_ct":false,"on_antiplatelet":false,"platelets_10e9_l":200,"symptoms_ge_10_min":false,"unilateral_weakness":false,"vertigo":false},{"af_on_ecg":false,"age":70,"carotid_stenosis":false,"diastolic_mm_hg":80,"dysarthria_or_aphasia":false,"first_tia":false,"gait_disturbance":false,"glucose_mg_dl":90,"glucose_mmol_l":5,"infarct_on_ct":false,"on_antiplatelet":false,"platelets_10e9_l":200,"symptoms_ge_10_min":false,"unilateral_weakness":false,"vertigo":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"citation":{"authors":"Perry JJ, Sivilotti MLA, Émond M, Stiell IG, Stotts G, Lee J, Worster A, Morris J, Cheung KW, Jin AY, Oczkowski WJ, Sahlas DJ, Murray HE, Mackey A, Verreault S, Camden MC, Yip S, Teal P, Gladstone DJ, Boulos MI, Chagnon N, Shouldice E, Atzema C, Slaoui T, Teitlebaum J, Abdulaziz K, Nemnom MJ, Wells GA, Sharma M","doi":"10.1136/bmj.n49","id":"perry-2021","pmid":"33541890","source":"BMJ. 2021;372:n49","title":"Prospective validation of Canadian TIA Score and comparison with ABCD2 and ABCD2i for subsequent stroke risk after transient ischaemic attack: multicentre prospective cohort study"},"components":[{"factor":"first_tia","points":0,"present":false},{"factor":"symptoms_ge_10_min","points":0,"present":false},{"factor":"carotid_stenosis","points":0,"present":false},{"factor":"on_antiplatelet","points":0,"present":false},{"factor":"gait_disturbance","points":0,"present":false},{"factor":"unilateral_weakness","points":0,"present":false},{"factor":"vertigo","points":0,"present":false},{"factor":"diastolic_mm_hg","points":0,"present":false,"value":80},{"factor":"dysarthria_or_aphasia","points":0,"present":false},{"factor":"af_on_ecg","points":0,"present":false},{"factor":"infarct_on_ct","points":0,"present":false},{"factor":"platelets_10e9_l","points":0,"present":false,"value":200},{"factor":"glucose","points":0,"present":false,"value":5}],"diastolic_mm_hg":80,"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":"canadian_tia","formula_expression":"Canadian TIA Score = first_tia 2 + symptoms_ge_10_min 2 + carotid_stenosis 2 + on_antiplatelet 3 + gait_disturbance 1 + unilateral_weakness 1 + vertigo -3 + (diastolic_mm_hg >= 110) 3 + dysarthria_or_aphasia 1 + af_on_ecg 2 + infarct_on_ct 1 + (platelets_10e9_l >= 400) 2 + (glucose >= 15 mmol/L) 3; age 18-120 required, 0 points; total -3 to 23; tia_risk low <=3 (0.5%), medium 4-8 (2.3%), high >=9 (5.9%) 7-day stroke or carotid revascularization (Perry 2021 Table 1 / Table 4); max 23","glucose_mmol_l":5,"max_score":23,"platelets_10e9_l":200,"score":0,"tia_risk":"low"},{"age_years":70,"citation":{"authors":"Perry JJ, Sivilotti MLA, Émond M, Stiell IG, Stotts G, Lee J, Worster A, Morris J, Cheung KW, Jin AY, Oczkowski WJ, Sahlas DJ, Murray HE, Mackey A, Verreault S, Camden MC, Yip S, Teal P, Gladstone DJ, Boulos MI, Chagnon N, Shouldice E, Atzema C, Slaoui T, Teitlebaum J, Abdulaziz K, Nemnom MJ, Wells GA, Sharma M","doi":"10.1136/bmj.n49","id":"perry-2021","pmid":"33541890","source":"BMJ. 2021;372:n49","title":"Prospective validation of Canadian TIA Score and comparison with ABCD2 and ABCD2i for subsequent stroke risk after transient ischaemic attack: multicentre prospective cohort study"},"components":[{"factor":"first_tia","points":0,"present":false},{"factor":"symptoms_ge_10_min","points":0,"present":false},{"factor":"carotid_stenosis","points":0,"present":false},{"factor":"on_antiplatelet","points":0,"present":false},{"factor":"gait_disturbance","points":0,"present":false},{"factor":"unilateral_weakness","points":0,"present":false},{"factor":"vertigo","points":0,"present":false},{"factor":"diastolic_mm_hg","points":0,"present":false,"value":80},{"factor":"dysarthria_or_aphasia","points":0,"present":false},{"factor":"af_on_ecg","points":0,"present":false},{"factor":"infarct_on_ct","points":0,"present":false},{"factor":"platelets_10e9_l","points":0,"present":false,"value":200},{"factor":"glucose","points":0,"present":false,"value":5}],"diastolic_mm_hg":80,"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":"canadian_tia","formula_expression":"Canadian TIA Score = first_tia 2 + symptoms_ge_10_min 2 + carotid_stenosis 2 + on_antiplatelet 3 + gait_disturbance 1 + unilateral_weakness 1 + vertigo -3 + (diastolic_mm_hg >= 110) 3 + dysarthria_or_aphasia 1 + af_on_ecg 2 + infarct_on_ct 1 + (platelets_10e9_l >= 400) 2 + (glucose >= 15 mmol/L) 3; age 18-120 required, 0 points; total -3 to 23; tia_risk low <=3 (0.5%), medium 4-8 (2.3%), high >=9 (5.9%) 7-day stroke or carotid revascularization (Perry 2021 Table 1 / Table 4); max 23","glucose_mmol_l":5,"max_score":23,"platelets_10e9_l":200,"score":0,"tia_risk":"low"}],"path":"/api/calc/canadian_tia"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"af_on_ecg":{"description":"Atrial fibrillation on ECG (Perry 2021 Table 1). true scores 2; false scores 0. magent does not read the ECG.","type":"boolean"},"age":{"description":"Age in years (18-120). Required for the adult ED cohort. Does not add points (Perry 2021 Table 1 has no age item).","type":"integer"},"carotid_stenosis":{"description":"Past history of carotid stenosis (Perry 2021 Table 1). true scores 2; false scores 0. magent does not read imaging.","type":"boolean"},"diastolic_mm_hg":{"description":"Initial triage diastolic blood pressure in mm Hg (20-160). ≥110 scores 3; 109 scores 0 (Perry 2021 Table 1).","type":"number"},"dysarthria_or_aphasia":{"description":"Dysarthria or aphasia on history or examination (Perry 2021 Table 1). true scores 1; false scores 0. Not 3. magent does not examine the patient.","type":"boolean"},"first_tia":{"description":"Lifetime first TIA (Perry 2021 Table 1). true scores 2; false scores 0. Caller-assigned; magent does not take a history.","type":"boolean"},"gait_disturbance":{"description":"Gait disturbance (Perry 2021 Table 1). true scores 1; false scores 0. magent does not examine the patient.","type":"boolean"},"glucose_mg_dl":{"description":"Glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both. ≥15 mmol/L after conversion scores 3.","type":"number"},"glucose_mmol_l":{"description":"Glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. ≥15.0 scores 3; 14.9 scores 0 (Perry 2021 Table 1).","type":"number"},"infarct_on_ct":{"description":"New or old infarction on CT (Perry 2021 Table 1). true scores 1; false scores 0. magent does not read the CT.","type":"boolean"},"on_antiplatelet":{"description":"Already on antiplatelet therapy (Perry 2021 Table 1). true scores 3; false scores 0.","type":"boolean"},"platelets_10e9_l":{"description":"Platelet count ×10^9/L (1-2000). ≥400 scores 2; 399 scores 0 (Perry 2021 Table 1).","type":"number"},"symptoms_ge_10_min":{"description":"Symptoms lasting 10 minutes or longer (Perry 2021 Table 1). true scores 2; false scores 0. magent does not time the episode.","type":"boolean"},"unilateral_weakness":{"description":"Unilateral weakness (Perry 2021 Table 1). true scores 1; false scores 0. magent does not examine the patient.","type":"boolean"},"vertigo":{"description":"Vertigo (Perry 2021 Table 1). true scores -3; false scores 0. magent does not examine the patient.","type":"boolean"}},"required":["age","first_tia","symptoms_ge_10_min","carotid_stenosis","on_antiplatelet","gait_disturbance","unilateral_weakness","vertigo","diastolic_mm_hg","dysarthria_or_aphasia","af_on_ecg","infarct_on_ct","platelets_10e9_l"],"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},{"id":39524,"slug":"39524","resource":"https://api.magentlab.com/api/calc/nhfs","description":"Maxwell 2008 Nottingham hip fracture score: age <=65 0, 66-85 3, >=86 4; male 1; hemoglobin <=10 g/dL 1 (g/L / 10); caller-assigned AMTS <=6, lives in institution, >=2 comorbidities, and malignancy 1 each. Max 10. Integer score only; no predicted 30-day mortality percent. magent does not administer AMTS or clear a patient for surgery. Not the 2012 or 2015 recalibrations.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":70,"amts_le_6":false,"comorbidities_ge_2":false,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"lives_in_institution":false,"malignancy":false,"sex":"female"},{"age":70,"amts_le_6":false,"comorbidities_ge_2":false,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"lives_in_institution":false,"malignancy":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"amts_le_6":false,"citation":{"authors":"Maxwell MJ, Moran CG, Moppett IK","doi":"10.1093/bja/aen236","id":"maxwell-2008","pmid":"18723517","source":"Br J Anaesth. 2008;101(4):511-517","title":"Development and validation of a preoperative scoring system to predict 30 day mortality in patients undergoing hip fracture surgery"},"comorbidities_ge_2":false,"components":[{"factor":"age","points":3,"present":true,"value":70},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"hemoglobin","points":0,"present":false,"value":12},{"factor":"amts_le_6","points":0,"present":false},{"factor":"lives_in_institution","points":0,"present":false},{"factor":"comorbidities_ge_2","points":0,"present":false},{"factor":"malignancy","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":"nhfs","formula_expression":"NHFS = age (≤65 0, 66-85 3, ≥86 4) + male 1 + (hemoglobin ≤10 g/dL) 1 + amts_le_6 1 + lives_in_institution 1 + comorbidities_ge_2 1 + malignancy 1; Maxwell 2008 integer score; max 10","hemoglobin_g_dl":12,"lives_in_institution":false,"malignancy":false,"max_score":10,"score":3,"sex":"female"},{"age_years":70,"amts_le_6":false,"citation":{"authors":"Maxwell MJ, Moran CG, Moppett IK","doi":"10.1093/bja/aen236","id":"maxwell-2008","pmid":"18723517","source":"Br J Anaesth. 2008;101(4):511-517","title":"Development and validation of a preoperative scoring system to predict 30 day mortality in patients undergoing hip fracture surgery"},"comorbidities_ge_2":false,"components":[{"factor":"age","points":3,"present":true,"value":70},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"hemoglobin","points":0,"present":false,"value":12},{"factor":"amts_le_6","points":0,"present":false},{"factor":"lives_in_institution","points":0,"present":false},{"factor":"comorbidities_ge_2","points":0,"present":false},{"factor":"malignancy","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":"nhfs","formula_expression":"NHFS = age (≤65 0, 66-85 3, ≥86 4) + male 1 + (hemoglobin ≤10 g/dL) 1 + amts_le_6 1 + lives_in_institution 1 + comorbidities_ge_2 1 + malignancy 1; Maxwell 2008 integer score; max 10","hemoglobin_g_dl":12,"lives_in_institution":false,"malignancy":false,"max_score":10,"score":3,"sex":"female"}],"path":"/api/calc/nhfs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≤65 scores 0; 66-85 scores 3; ≥86 scores 4 (Maxwell 2008).","type":"integer"},"amts_le_6":{"description":"Abbreviated Mental Test Score ≤6/10 as assigned by the caller (Maxwell 2008). true or false. magent does not administer AMTS. 1 point if true.","type":"boolean"},"comorbidities_ge_2":{"description":"Two or more comorbidities as defined in Maxwell 2008, as assigned by the caller. true or false. magent does not enumerate comorbidities. 1 point if true.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. ≤10 g/dL scores 1 (10.0 scores; 10.1 does not).","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"lives_in_institution":{"description":"Lives in an institution as assigned by the caller (Maxwell 2008). true or false. 1 point if true.","type":"boolean"},"malignancy":{"description":"Active malignancy (Maxwell 2008: within 20 years) as assigned by the caller. true or false. magent does not take a cancer history. 1 point if true.","type":"boolean"},"sex":{"description":"female or male. Male scores 1; female scores 0.","enum":["female","male"],"type":"string"}},"required":["age","sex","amts_le_6","lives_in_institution","comorbidities_ge_2","malignancy"],"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":["nhfs","hip-fracture","preoperative","score","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:41:23.363Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:41:23.227Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":70,"amts_le_6":false,"comorbidities_ge_2":false,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"lives_in_institution":false,"malignancy":false,"sex":"female"},{"age":70,"amts_le_6":false,"comorbidities_ge_2":false,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"lives_in_institution":false,"malignancy":false,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":70,"amts_le_6":false,"citation":{"authors":"Maxwell MJ, Moran CG, Moppett IK","doi":"10.1093/bja/aen236","id":"maxwell-2008","pmid":"18723517","source":"Br J Anaesth. 2008;101(4):511-517","title":"Development and validation of a preoperative scoring system to predict 30 day mortality in patients undergoing hip fracture surgery"},"comorbidities_ge_2":false,"components":[{"factor":"age","points":3,"present":true,"value":70},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"hemoglobin","points":0,"present":false,"value":12},{"factor":"amts_le_6","points":0,"present":false},{"factor":"lives_in_institution","points":0,"present":false},{"factor":"comorbidities_ge_2","points":0,"present":false},{"factor":"malignancy","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":"nhfs","formula_expression":"NHFS = age (≤65 0, 66-85 3, ≥86 4) + male 1 + (hemoglobin ≤10 g/dL) 1 + amts_le_6 1 + lives_in_institution 1 + comorbidities_ge_2 1 + malignancy 1; Maxwell 2008 integer score; max 10","hemoglobin_g_dl":12,"lives_in_institution":false,"malignancy":false,"max_score":10,"score":3,"sex":"female"},{"age_years":70,"amts_le_6":false,"citation":{"authors":"Maxwell MJ, Moran CG, Moppett IK","doi":"10.1093/bja/aen236","id":"maxwell-2008","pmid":"18723517","source":"Br J Anaesth. 2008;101(4):511-517","title":"Development and validation of a preoperative scoring system to predict 30 day mortality in patients undergoing hip fracture surgery"},"comorbidities_ge_2":false,"components":[{"factor":"age","points":3,"present":true,"value":70},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"hemoglobin","points":0,"present":false,"value":12},{"factor":"amts_le_6","points":0,"present":false},{"factor":"lives_in_institution","points":0,"present":false},{"factor":"comorbidities_ge_2","points":0,"present":false},{"factor":"malignancy","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":"nhfs","formula_expression":"NHFS = age (≤65 0, 66-85 3, ≥86 4) + male 1 + (hemoglobin ≤10 g/dL) 1 + amts_le_6 1 + lives_in_institution 1 + comorbidities_ge_2 1 + malignancy 1; Maxwell 2008 integer score; max 10","hemoglobin_g_dl":12,"lives_in_institution":false,"malignancy":false,"max_score":10,"score":3,"sex":"female"}],"path":"/api/calc/nhfs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). ≤65 scores 0; 66-85 scores 3; ≥86 scores 4 (Maxwell 2008).","type":"integer"},"amts_le_6":{"description":"Abbreviated Mental Test Score ≤6/10 as assigned by the caller (Maxwell 2008). true or false. magent does not administer AMTS. 1 point if true.","type":"boolean"},"comorbidities_ge_2":{"description":"Two or more comorbidities as defined in Maxwell 2008, as assigned by the caller. true or false. magent does not enumerate comorbidities. 1 point if true.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. ≤10 g/dL scores 1 (10.0 scores; 10.1 does not).","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"lives_in_institution":{"description":"Lives in an institution as assigned by the caller (Maxwell 2008). true or false. 1 point if true.","type":"boolean"},"malignancy":{"description":"Active malignancy (Maxwell 2008: within 20 years) as assigned by the caller. true or false. magent does not take a cancer history. 1 point if true.","type":"boolean"},"sex":{"description":"female or male. Male scores 1; female scores 0.","enum":["female","male"],"type":"string"}},"required":["age","sex","amts_le_6","lives_in_institution","comorbidities_ge_2","malignancy"],"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},{"id":39525,"slug":"39525","resource":"https://api.magentlab.com/api/calc/easi","description":"Hanifin 2001 EASI from four regions. Each region: area 0-6 and erythema, edema/papulation, excoriation, and lichenification 0-3. Region score = (sum of signs) × area × adult weight (head/neck 0.1, upper extremities 0.2, trunk 0.3, lower extremities 0.4). Total max 72. Adult weights only. magent does not examine the skin. No IGA or later severity bands. Not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"head_neck_area":0,"head_neck_edema_papulation":0,"head_neck_erythema":0,"head_neck_excoriation":0,"head_neck_lichenification":0,"lower_extremities_area":0,"lower_extremities_edema_papulation":0,"lower_extremities_erythema":0,"lower_extremities_excoriation":0,"lower_extremities_lichenification":0,"trunk_area":0,"trunk_edema_papulation":0,"trunk_erythema":0,"trunk_excoriation":0,"trunk_lichenification":0,"upper_extremities_area":0,"upper_extremities_edema_papulation":0,"upper_extremities_erythema":0,"upper_extremities_excoriation":0,"upper_extremities_lichenification":0},{"head_neck_area":0,"head_neck_edema_papulation":0,"head_neck_erythema":0,"head_neck_excoriation":0,"head_neck_lichenification":0,"lower_extremities_area":0,"lower_extremities_edema_papulation":0,"lower_extremities_erythema":0,"lower_extremities_excoriation":0,"lower_extremities_lichenification":0,"trunk_area":0,"trunk_edema_papulation":0,"trunk_erythema":0,"trunk_excoriation":0,"trunk_lichenification":0,"upper_extremities_area":0,"upper_extremities_edema_papulation":0,"upper_extremities_erythema":0,"upper_extremities_excoriation":0,"upper_extremities_lichenification":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hanifin JM, Thurston M, Omoto M, Cherill R, Tofte SJ, Graeber M","doi":"10.1034/j.1600-0625.2001.100102.x","id":"hanifin-2001","pmid":"11168575","source":"Exp Dermatol. 2001;10(1):11-18","title":"The eczema area and severity index (EASI): assessment of reliability in atopic dermatitis"},"components":[{"area":0,"factor":"head_neck","points":0,"present":true,"value":0,"weight":0.1},{"area":0,"factor":"upper_extremities","points":0,"present":true,"value":0,"weight":0.2},{"area":0,"factor":"trunk","points":0,"present":true,"value":0,"weight":0.3},{"area":0,"factor":"lower_extremities","points":0,"present":true,"value":0,"weight":0.4}],"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":"easi","formula_expression":"EASI = 0.1*(head_neck_erythema + head_neck_edema_papulation + head_neck_excoriation + head_neck_lichenification)*head_neck_area + 0.2*(upper_extremities_erythema + upper_extremities_edema_papulation + upper_extremities_excoriation + upper_extremities_lichenification)*upper_extremities_area + 0.3*(trunk_erythema + trunk_edema_papulation + trunk_excoriation + trunk_lichenification)*trunk_area + 0.4*(lower_extremities_erythema + lower_extremities_edema_papulation + lower_extremities_excoriation + lower_extremities_lichenification)*lower_extremities_area; each area integer 0-6 (0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%); each sign integer 0-3 (0 none, 1 mild, 2 moderate, 3 severe); adult region weights head/neck 0.1, upper extremities 0.2, trunk 0.3, lower extremities 0.4; max 72; magent uses these adult weights only; this paper published no Investigator Global Assessment or mild-moderate-severe EASI cutoffs","head_neck_score":0,"lower_extremities_score":0,"max_score":72,"score":0,"trunk_score":0,"upper_extremities_score":0},{"citation":{"authors":"Hanifin JM, Thurston M, Omoto M, Cherill R, Tofte SJ, Graeber M","doi":"10.1034/j.1600-0625.2001.100102.x","id":"hanifin-2001","pmid":"11168575","source":"Exp Dermatol. 2001;10(1):11-18","title":"The eczema area and severity index (EASI): assessment of reliability in atopic dermatitis"},"components":[{"area":0,"factor":"head_neck","points":0,"present":true,"value":0,"weight":0.1},{"area":0,"factor":"upper_extremities","points":0,"present":true,"value":0,"weight":0.2},{"area":0,"factor":"trunk","points":0,"present":true,"value":0,"weight":0.3},{"area":0,"factor":"lower_extremities","points":0,"present":true,"value":0,"weight":0.4}],"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":"easi","formula_expression":"EASI = 0.1*(head_neck_erythema + head_neck_edema_papulation + head_neck_excoriation + head_neck_lichenification)*head_neck_area + 0.2*(upper_extremities_erythema + upper_extremities_edema_papulation + upper_extremities_excoriation + upper_extremities_lichenification)*upper_extremities_area + 0.3*(trunk_erythema + trunk_edema_papulation + trunk_excoriation + trunk_lichenification)*trunk_area + 0.4*(lower_extremities_erythema + lower_extremities_edema_papulation + lower_extremities_excoriation + lower_extremities_lichenification)*lower_extremities_area; each area integer 0-6 (0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%); each sign integer 0-3 (0 none, 1 mild, 2 moderate, 3 severe); adult region weights head/neck 0.1, upper extremities 0.2, trunk 0.3, lower extremities 0.4; max 72; magent uses these adult weights only; this paper published no Investigator Global Assessment or mild-moderate-severe EASI cutoffs","head_neck_score":0,"lower_extremities_score":0,"max_score":72,"score":0,"trunk_score":0,"upper_extremities_score":0}],"path":"/api/calc/easi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"head_neck_area":{"description":"Caller-assigned Hanifin 2001 EASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"head_neck_edema_papulation":{"description":"Caller-assigned Hanifin 2001 EASI edema/papulation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"head_neck_erythema":{"description":"Caller-assigned Hanifin 2001 EASI erythema for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"head_neck_excoriation":{"description":"Caller-assigned Hanifin 2001 EASI excoriation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"head_neck_lichenification":{"description":"Caller-assigned Hanifin 2001 EASI lichenification for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"lower_extremities_area":{"description":"Caller-assigned Hanifin 2001 EASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"lower_extremities_edema_papulation":{"description":"Caller-assigned Hanifin 2001 EASI edema/papulation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"lower_extremities_erythema":{"description":"Caller-assigned Hanifin 2001 EASI erythema for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"lower_extremities_excoriation":{"description":"Caller-assigned Hanifin 2001 EASI excoriation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"lower_extremities_lichenification":{"description":"Caller-assigned Hanifin 2001 EASI lichenification for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"trunk_area":{"description":"Caller-assigned Hanifin 2001 EASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"trunk_edema_papulation":{"description":"Caller-assigned Hanifin 2001 EASI edema/papulation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"trunk_erythema":{"description":"Caller-assigned Hanifin 2001 EASI erythema for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"trunk_excoriation":{"description":"Caller-assigned Hanifin 2001 EASI excoriation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"trunk_lichenification":{"description":"Caller-assigned Hanifin 2001 EASI lichenification for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"upper_extremities_area":{"description":"Caller-assigned Hanifin 2001 EASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"upper_extremities_edema_papulation":{"description":"Caller-assigned Hanifin 2001 EASI edema/papulation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"upper_extremities_erythema":{"description":"Caller-assigned Hanifin 2001 EASI erythema for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"upper_extremities_excoriation":{"description":"Caller-assigned Hanifin 2001 EASI excoriation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"upper_extremities_lichenification":{"description":"Caller-assigned Hanifin 2001 EASI lichenification for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"}},"required":["head_neck_area","head_neck_erythema","head_neck_edema_papulation","head_neck_excoriation","head_neck_lichenification","upper_extremities_area","upper_extremities_erythema","upper_extremities_edema_papulation","upper_extremities_excoriation","upper_extremities_lichenification","trunk_area","trunk_erythema","trunk_edema_papulation","trunk_excoriation","trunk_lichenification","lower_extremities_area","lower_extremities_erythema","lower_extremities_edema_papulation","lower_extremities_excoriation","lower_extremities_lichenification"],"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":["easi","atopic-dermatitis","emergency","hanifin-2001","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:41:09.337Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:41:09.201Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"head_neck_area":0,"head_neck_edema_papulation":0,"head_neck_erythema":0,"head_neck_excoriation":0,"head_neck_lichenification":0,"lower_extremities_area":0,"lower_extremities_edema_papulation":0,"lower_extremities_erythema":0,"lower_extremities_excoriation":0,"lower_extremities_lichenification":0,"trunk_area":0,"trunk_edema_papulation":0,"trunk_erythema":0,"trunk_excoriation":0,"trunk_lichenification":0,"upper_extremities_area":0,"upper_extremities_edema_papulation":0,"upper_extremities_erythema":0,"upper_extremities_excoriation":0,"upper_extremities_lichenification":0},{"head_neck_area":0,"head_neck_edema_papulation":0,"head_neck_erythema":0,"head_neck_excoriation":0,"head_neck_lichenification":0,"lower_extremities_area":0,"lower_extremities_edema_papulation":0,"lower_extremities_erythema":0,"lower_extremities_excoriation":0,"lower_extremities_lichenification":0,"trunk_area":0,"trunk_edema_papulation":0,"trunk_erythema":0,"trunk_excoriation":0,"trunk_lichenification":0,"upper_extremities_area":0,"upper_extremities_edema_papulation":0,"upper_extremities_erythema":0,"upper_extremities_excoriation":0,"upper_extremities_lichenification":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Hanifin JM, Thurston M, Omoto M, Cherill R, Tofte SJ, Graeber M","doi":"10.1034/j.1600-0625.2001.100102.x","id":"hanifin-2001","pmid":"11168575","source":"Exp Dermatol. 2001;10(1):11-18","title":"The eczema area and severity index (EASI): assessment of reliability in atopic dermatitis"},"components":[{"area":0,"factor":"head_neck","points":0,"present":true,"value":0,"weight":0.1},{"area":0,"factor":"upper_extremities","points":0,"present":true,"value":0,"weight":0.2},{"area":0,"factor":"trunk","points":0,"present":true,"value":0,"weight":0.3},{"area":0,"factor":"lower_extremities","points":0,"present":true,"value":0,"weight":0.4}],"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":"easi","formula_expression":"EASI = 0.1*(head_neck_erythema + head_neck_edema_papulation + head_neck_excoriation + head_neck_lichenification)*head_neck_area + 0.2*(upper_extremities_erythema + upper_extremities_edema_papulation + upper_extremities_excoriation + upper_extremities_lichenification)*upper_extremities_area + 0.3*(trunk_erythema + trunk_edema_papulation + trunk_excoriation + trunk_lichenification)*trunk_area + 0.4*(lower_extremities_erythema + lower_extremities_edema_papulation + lower_extremities_excoriation + lower_extremities_lichenification)*lower_extremities_area; each area integer 0-6 (0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%); each sign integer 0-3 (0 none, 1 mild, 2 moderate, 3 severe); adult region weights head/neck 0.1, upper extremities 0.2, trunk 0.3, lower extremities 0.4; max 72; magent uses these adult weights only; this paper published no Investigator Global Assessment or mild-moderate-severe EASI cutoffs","head_neck_score":0,"lower_extremities_score":0,"max_score":72,"score":0,"trunk_score":0,"upper_extremities_score":0},{"citation":{"authors":"Hanifin JM, Thurston M, Omoto M, Cherill R, Tofte SJ, Graeber M","doi":"10.1034/j.1600-0625.2001.100102.x","id":"hanifin-2001","pmid":"11168575","source":"Exp Dermatol. 2001;10(1):11-18","title":"The eczema area and severity index (EASI): assessment of reliability in atopic dermatitis"},"components":[{"area":0,"factor":"head_neck","points":0,"present":true,"value":0,"weight":0.1},{"area":0,"factor":"upper_extremities","points":0,"present":true,"value":0,"weight":0.2},{"area":0,"factor":"trunk","points":0,"present":true,"value":0,"weight":0.3},{"area":0,"factor":"lower_extremities","points":0,"present":true,"value":0,"weight":0.4}],"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":"easi","formula_expression":"EASI = 0.1*(head_neck_erythema + head_neck_edema_papulation + head_neck_excoriation + head_neck_lichenification)*head_neck_area + 0.2*(upper_extremities_erythema + upper_extremities_edema_papulation + upper_extremities_excoriation + upper_extremities_lichenification)*upper_extremities_area + 0.3*(trunk_erythema + trunk_edema_papulation + trunk_excoriation + trunk_lichenification)*trunk_area + 0.4*(lower_extremities_erythema + lower_extremities_edema_papulation + lower_extremities_excoriation + lower_extremities_lichenification)*lower_extremities_area; each area integer 0-6 (0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%); each sign integer 0-3 (0 none, 1 mild, 2 moderate, 3 severe); adult region weights head/neck 0.1, upper extremities 0.2, trunk 0.3, lower extremities 0.4; max 72; magent uses these adult weights only; this paper published no Investigator Global Assessment or mild-moderate-severe EASI cutoffs","head_neck_score":0,"lower_extremities_score":0,"max_score":72,"score":0,"trunk_score":0,"upper_extremities_score":0}],"path":"/api/calc/easi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"head_neck_area":{"description":"Caller-assigned Hanifin 2001 EASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"head_neck_edema_papulation":{"description":"Caller-assigned Hanifin 2001 EASI edema/papulation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"head_neck_erythema":{"description":"Caller-assigned Hanifin 2001 EASI erythema for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"head_neck_excoriation":{"description":"Caller-assigned Hanifin 2001 EASI excoriation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"head_neck_lichenification":{"description":"Caller-assigned Hanifin 2001 EASI lichenification for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"lower_extremities_area":{"description":"Caller-assigned Hanifin 2001 EASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"lower_extremities_edema_papulation":{"description":"Caller-assigned Hanifin 2001 EASI edema/papulation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"lower_extremities_erythema":{"description":"Caller-assigned Hanifin 2001 EASI erythema for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"lower_extremities_excoriation":{"description":"Caller-assigned Hanifin 2001 EASI excoriation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"lower_extremities_lichenification":{"description":"Caller-assigned Hanifin 2001 EASI lichenification for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"trunk_area":{"description":"Caller-assigned Hanifin 2001 EASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"trunk_edema_papulation":{"description":"Caller-assigned Hanifin 2001 EASI edema/papulation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"trunk_erythema":{"description":"Caller-assigned Hanifin 2001 EASI erythema for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"trunk_excoriation":{"description":"Caller-assigned Hanifin 2001 EASI excoriation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"trunk_lichenification":{"description":"Caller-assigned Hanifin 2001 EASI lichenification for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"upper_extremities_area":{"description":"Caller-assigned Hanifin 2001 EASI area of involvement for this body region (integer 0-6): 0 none, 1 <10%, 2 10-29%, 3 30-49%, 4 50-69%, 5 70-89%, 6 90-100%. magent does not examine the skin.","enum":[0,1,2,3,4,5,6],"type":"integer"},"upper_extremities_edema_papulation":{"description":"Caller-assigned Hanifin 2001 EASI edema/papulation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"upper_extremities_erythema":{"description":"Caller-assigned Hanifin 2001 EASI erythema for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"upper_extremities_excoriation":{"description":"Caller-assigned Hanifin 2001 EASI excoriation for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"},"upper_extremities_lichenification":{"description":"Caller-assigned Hanifin 2001 EASI lichenification for this region (integer 0-3): 0 none, 1 mild, 2 moderate, 3 severe. magent does not examine the skin.","enum":[0,1,2,3],"type":"integer"}},"required":["head_neck_area","head_neck_erythema","head_neck_edema_papulation","head_neck_excoriation","head_neck_lichenification","upper_extremities_area","upper_extremities_erythema","upper_extremities_edema_papulation","upper_extremities_excoriation","upper_extremities_lichenification","trunk_area","trunk_erythema","trunk_edema_papulation","trunk_excoriation","trunk_lichenification","lower_extremities_area","lower_extremities_erythema","lower_extremities_edema_papulation","lower_extremities_excoriation","lower_extremities_lichenification"],"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},{"id":39526,"slug":"39526","resource":"https://api.magentlab.com/api/calc/burch_wartofsky","description":"Burch 1993 points: °F (<99→0, 99.0–99.9→5, 100.0–100.9→10, 101.0–101.9→15, 102.0–102.9→20, 103.0–103.9→25, ≥104→30); CNS 0/10/20/30; GI-hepatic 0/10/20; HR (<90→0, 90–109→5, 110–119→10, 120–129→15, 130–139→20, ≥140→25); HF 0/5/10/15; AF 10; precipitant 10. Max 140. <25 unlikely, 25–44 impending, ≥45 highly suggestive. temperature_f or temperature_c, not both. Not a diagnosis or ICU order. magent does not measure temperature or an ECG.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"atrial_fibrillation":false,"cns_effects":"none","gi_hepatic":"none","heart_failure":"none","heart_rate_bpm":80,"precipitating_event":false,"temperature_c":37,"temperature_f":98.6},{"atrial_fibrillation":false,"cns_effects":"none","gi_hepatic":"none","heart_failure":"none","heart_rate_bpm":80,"precipitating_event":false,"temperature_c":37,"temperature_f":98.6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"atrial_fibrillation":false,"bwps_band":"unlikely","citation":{"authors":"Burch HB, Wartofsky L","doi":"10.1016/S0889-8529(18)30165-8","id":"burch-1993","pmid":"8325286","source":"Endocrinol Metab Clin North Am. 1993;22(2):263-277","title":"Life-threatening thyrotoxicosis. Thyroid storm"},"cns_effects":"none","components":[{"factor":"temperature_f","points":0,"present":false,"value":98.6},{"factor":"cns_effects","points":0,"present":false,"value":"none"},{"factor":"gi_hepatic","points":0,"present":false,"value":"none"},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"heart_failure","points":0,"present":false,"value":"none"},{"factor":"atrial_fibrillation","points":0,"present":false,"value":false},{"factor":"precipitating_event","points":0,"present":false,"value":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":"burch_wartofsky","formula_expression":"BWPS = temp_F(<99.0→0, 99.0–99.9→5, 100.0–100.9→10, 101.0–101.9→15, 102.0–102.9→20, 103.0–103.9→25, ≥104.0→30) + CNS(none→0, mild→10, moderate→20, severe→30) + GI-hepatic(none→0, moderate→10, severe→20) + HR(<90→0, 90–109→5, 110–119→10, 120–129→15, 130–139→20, ≥140→25) + HF(none→0, mild→5, moderate→10, severe→15) + 10*AF + 10*precipitant; Burch 1993; max 140; <25 unlikely, 25–44 impending, ≥45 highly_suggestive","gi_hepatic":"none","heart_failure":"none","heart_rate_bpm":80,"max_score":140,"precipitating_event":false,"score":0,"temperature_f":98.6},{"atrial_fibrillation":false,"bwps_band":"unlikely","citation":{"authors":"Burch HB, Wartofsky L","doi":"10.1016/S0889-8529(18)30165-8","id":"burch-1993","pmid":"8325286","source":"Endocrinol Metab Clin North Am. 1993;22(2):263-277","title":"Life-threatening thyrotoxicosis. Thyroid storm"},"cns_effects":"none","components":[{"factor":"temperature_f","points":0,"present":false,"value":98.6},{"factor":"cns_effects","points":0,"present":false,"value":"none"},{"factor":"gi_hepatic","points":0,"present":false,"value":"none"},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"heart_failure","points":0,"present":false,"value":"none"},{"factor":"atrial_fibrillation","points":0,"present":false,"value":false},{"factor":"precipitating_event","points":0,"present":false,"value":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":"burch_wartofsky","formula_expression":"BWPS = temp_F(<99.0→0, 99.0–99.9→5, 100.0–100.9→10, 101.0–101.9→15, 102.0–102.9→20, 103.0–103.9→25, ≥104.0→30) + CNS(none→0, mild→10, moderate→20, severe→30) + GI-hepatic(none→0, moderate→10, severe→20) + HR(<90→0, 90–109→5, 110–119→10, 120–129→15, 130–139→20, ≥140→25) + HF(none→0, mild→5, moderate→10, severe→15) + 10*AF + 10*precipitant; Burch 1993; max 140; <25 unlikely, 25–44 impending, ≥45 highly_suggestive","gi_hepatic":"none","heart_failure":"none","heart_rate_bpm":80,"max_score":140,"precipitating_event":false,"score":0,"temperature_f":98.6}],"path":"/api/calc/burch_wartofsky"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"atrial_fibrillation":{"description":"Atrial fibrillation as assigned by the caller (true or false). Burch 1993: true → 10. magent does not read an ECG.","type":"boolean"},"cns_effects":{"description":"Caller-assigned CNS effects (Burch 1993). none → 0; mild (agitation) → 10; moderate (delirium, psychosis, extreme lethargy) → 20; severe (seizure or coma) → 30. magent does not examine the patient.","enum":["none","mild","moderate","severe"],"type":"string"},"gi_hepatic":{"description":"Caller-assigned GI-hepatic dysfunction (Burch 1993). none → 0; moderate (diarrhea, nausea/vomiting, abdominal pain) → 10; severe (unexplained jaundice) → 20. magent does not examine the patient.","enum":["none","moderate","severe"],"type":"string"},"heart_failure":{"description":"Caller-assigned heart-failure grade (Burch 1993). none → 0; mild (pedal edema) → 5; moderate (bibasilar rales) → 10; severe (pulmonary edema) → 15. magent does not examine the patient.","enum":["none","mild","moderate","severe"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Burch 1993: <90 → 0, 90-109 → 5, 110-119 → 10, 120-129 → 15, 130-139 → 20, ≥140 → 25. Bins start at 90, not 99. magent does not read an ECG.","type":"integer"},"precipitating_event":{"description":"Precipitating event as assigned by the caller (true or false). Burch 1993: true → 10. magent does not take a history.","type":"boolean"},"temperature_c":{"description":"Temperature in °C (32.2-43.3). Converted as F = C×9/5+32, then scored on the Burch 1993 Fahrenheit table. Provide this or temperature_f, not both. magent does not measure temperature.","type":"number"},"temperature_f":{"description":"Temperature in °F (90-110). Provide this or temperature_c, not both. Burch 1993: <99.0 → 0, 99.0-99.9 → 5, 100.0-100.9 → 10, 101.0-101.9 → 15, 102.0-102.9 → 20, 103.0-103.9 → 25, ≥104.0 → 30. magent does not measure temperature.","type":"number"}},"required":["cns_effects","gi_hepatic","heart_rate_bpm","heart_failure","atrial_fibrillation","precipitating_event"],"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":["thyroid-storm","thyrotoxicosis","emergency","burch-wartofsky","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:37:01.31Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:37:01.171Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"atrial_fibrillation":false,"cns_effects":"none","gi_hepatic":"none","heart_failure":"none","heart_rate_bpm":80,"precipitating_event":false,"temperature_c":37,"temperature_f":98.6},{"atrial_fibrillation":false,"cns_effects":"none","gi_hepatic":"none","heart_failure":"none","heart_rate_bpm":80,"precipitating_event":false,"temperature_c":37,"temperature_f":98.6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"atrial_fibrillation":false,"bwps_band":"unlikely","citation":{"authors":"Burch HB, Wartofsky L","doi":"10.1016/S0889-8529(18)30165-8","id":"burch-1993","pmid":"8325286","source":"Endocrinol Metab Clin North Am. 1993;22(2):263-277","title":"Life-threatening thyrotoxicosis. Thyroid storm"},"cns_effects":"none","components":[{"factor":"temperature_f","points":0,"present":false,"value":98.6},{"factor":"cns_effects","points":0,"present":false,"value":"none"},{"factor":"gi_hepatic","points":0,"present":false,"value":"none"},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"heart_failure","points":0,"present":false,"value":"none"},{"factor":"atrial_fibrillation","points":0,"present":false,"value":false},{"factor":"precipitating_event","points":0,"present":false,"value":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":"burch_wartofsky","formula_expression":"BWPS = temp_F(<99.0→0, 99.0–99.9→5, 100.0–100.9→10, 101.0–101.9→15, 102.0–102.9→20, 103.0–103.9→25, ≥104.0→30) + CNS(none→0, mild→10, moderate→20, severe→30) + GI-hepatic(none→0, moderate→10, severe→20) + HR(<90→0, 90–109→5, 110–119→10, 120–129→15, 130–139→20, ≥140→25) + HF(none→0, mild→5, moderate→10, severe→15) + 10*AF + 10*precipitant; Burch 1993; max 140; <25 unlikely, 25–44 impending, ≥45 highly_suggestive","gi_hepatic":"none","heart_failure":"none","heart_rate_bpm":80,"max_score":140,"precipitating_event":false,"score":0,"temperature_f":98.6},{"atrial_fibrillation":false,"bwps_band":"unlikely","citation":{"authors":"Burch HB, Wartofsky L","doi":"10.1016/S0889-8529(18)30165-8","id":"burch-1993","pmid":"8325286","source":"Endocrinol Metab Clin North Am. 1993;22(2):263-277","title":"Life-threatening thyrotoxicosis. Thyroid storm"},"cns_effects":"none","components":[{"factor":"temperature_f","points":0,"present":false,"value":98.6},{"factor":"cns_effects","points":0,"present":false,"value":"none"},{"factor":"gi_hepatic","points":0,"present":false,"value":"none"},{"factor":"heart_rate_bpm","points":0,"present":false,"value":80},{"factor":"heart_failure","points":0,"present":false,"value":"none"},{"factor":"atrial_fibrillation","points":0,"present":false,"value":false},{"factor":"precipitating_event","points":0,"present":false,"value":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":"burch_wartofsky","formula_expression":"BWPS = temp_F(<99.0→0, 99.0–99.9→5, 100.0–100.9→10, 101.0–101.9→15, 102.0–102.9→20, 103.0–103.9→25, ≥104.0→30) + CNS(none→0, mild→10, moderate→20, severe→30) + GI-hepatic(none→0, moderate→10, severe→20) + HR(<90→0, 90–109→5, 110–119→10, 120–129→15, 130–139→20, ≥140→25) + HF(none→0, mild→5, moderate→10, severe→15) + 10*AF + 10*precipitant; Burch 1993; max 140; <25 unlikely, 25–44 impending, ≥45 highly_suggestive","gi_hepatic":"none","heart_failure":"none","heart_rate_bpm":80,"max_score":140,"precipitating_event":false,"score":0,"temperature_f":98.6}],"path":"/api/calc/burch_wartofsky"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"atrial_fibrillation":{"description":"Atrial fibrillation as assigned by the caller (true or false). Burch 1993: true → 10. magent does not read an ECG.","type":"boolean"},"cns_effects":{"description":"Caller-assigned CNS effects (Burch 1993). none → 0; mild (agitation) → 10; moderate (delirium, psychosis, extreme lethargy) → 20; severe (seizure or coma) → 30. magent does not examine the patient.","enum":["none","mild","moderate","severe"],"type":"string"},"gi_hepatic":{"description":"Caller-assigned GI-hepatic dysfunction (Burch 1993). none → 0; moderate (diarrhea, nausea/vomiting, abdominal pain) → 10; severe (unexplained jaundice) → 20. magent does not examine the patient.","enum":["none","moderate","severe"],"type":"string"},"heart_failure":{"description":"Caller-assigned heart-failure grade (Burch 1993). none → 0; mild (pedal edema) → 5; moderate (bibasilar rales) → 10; severe (pulmonary edema) → 15. magent does not examine the patient.","enum":["none","mild","moderate","severe"],"type":"string"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Burch 1993: <90 → 0, 90-109 → 5, 110-119 → 10, 120-129 → 15, 130-139 → 20, ≥140 → 25. Bins start at 90, not 99. magent does not read an ECG.","type":"integer"},"precipitating_event":{"description":"Precipitating event as assigned by the caller (true or false). Burch 1993: true → 10. magent does not take a history.","type":"boolean"},"temperature_c":{"description":"Temperature in °C (32.2-43.3). Converted as F = C×9/5+32, then scored on the Burch 1993 Fahrenheit table. Provide this or temperature_f, not both. magent does not measure temperature.","type":"number"},"temperature_f":{"description":"Temperature in °F (90-110). Provide this or temperature_c, not both. Burch 1993: <99.0 → 0, 99.0-99.9 → 5, 100.0-100.9 → 10, 101.0-101.9 → 15, 102.0-102.9 → 20, 103.0-103.9 → 25, ≥104.0 → 30. magent does not measure temperature.","type":"number"}},"required":["cns_effects","gi_hepatic","heart_rate_bpm","heart_failure","atrial_fibrillation","precipitating_event"],"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},{"id":39527,"slug":"39527","resource":"https://api.magentlab.com/api/calc/itas2010","description":"Misra 2013 ITAS2010: weighted sum of 44 caller-assigned Takayasu clinical-activity items that are new or worsening within 3 months and ascribed to active vasculitis. Seven items score 2 (diastolic hypertension, stroke, bruits, pulse inequality, pulse loss, claudication, carotidodynia); the other 37 score 1. Max 51. active_disease iff score ≥ 2. magent does not examine the patient. Not ITAS-A, not a diagnosis, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abortions":false,"aortic_incompetence":false,"bp_inequality":false,"bruit_left_carotid":false,"bruit_left_renal":false,"bruit_left_subclavian":false,"bruit_right_carotid":false,"bruit_right_renal":false,"bruit_right_subclavian":false,"bruits":false,"cardiomyopathy_cardiac_failure":false,"carotidodynia":false,"claudication":false,"claudication_arm":false,"claudication_leg":false,"diastolic_hypertension":false,"headache":false,"malaise_weight_loss":false,"myalgia_arthralgia_arthritis":false,"myocardial_infarct_angina":false,"pulse_inequality":false,"pulse_loss":false,"pulse_loss_left_brachial":false,"pulse_loss_left_carotid":false,"pulse_loss_left_dorsalis_pedis":false,"pulse_loss_left_femoral":false,"pulse_loss_left_popliteal":false,"pulse_loss_left_posterior_tibial":false,"pulse_loss_left_radial":false,"pulse_loss_left_subclavian":false,"pulse_loss_right_brachial":false,"pulse_loss_right_carotid":false,"pulse_loss_right_dorsalis_pedis":false,"pulse_loss_right_femoral":false,"pulse_loss_right_popliteal":false,"pulse_loss_right_posterior_tibial":false,"pulse_loss_right_radial":false,"pulse_loss_right_subclavian":false,"seizures":false,"severe_abdominal_pain":false,"stroke":false,"syncope":false,"systolic_hypertension":false,"vertigo_dizziness":false},{"abortions":false,"aortic_incompetence":false,"bp_inequality":false,"bruit_left_carotid":false,"bruit_left_renal":false,"bruit_left_subclavian":false,"bruit_right_carotid":false,"bruit_right_renal":false,"bruit_right_subclavian":false,"bruits":false,"cardiomyopathy_cardiac_failure":false,"carotidodynia":false,"claudication":false,"claudication_arm":false,"claudication_leg":false,"diastolic_hypertension":false,"headache":false,"malaise_weight_loss":false,"myalgia_arthralgia_arthritis":false,"myocardial_infarct_angina":false,"pulse_inequality":false,"pulse_loss":false,"pulse_loss_left_brachial":false,"pulse_loss_left_carotid":false,"pulse_loss_left_dorsalis_pedis":false,"pulse_loss_left_femoral":false,"pulse_loss_left_popliteal":false,"pulse_loss_left_posterior_tibial":false,"pulse_loss_left_radial":false,"pulse_loss_left_subclavian":false,"pulse_loss_right_brachial":false,"pulse_loss_right_carotid":false,"pulse_loss_right_dorsalis_pedis":false,"pulse_loss_right_femoral":false,"pulse_loss_right_popliteal":false,"pulse_loss_right_posterior_tibial":false,"pulse_loss_right_radial":false,"pulse_loss_right_subclavian":false,"seizures":false,"severe_abdominal_pain":false,"stroke":false,"syncope":false,"systolic_hypertension":false,"vertigo_dizziness":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"active_disease":false,"citation":{"authors":"Misra R, Danda D, Rajappa SM, et al; Indian Rheumatology Vasculitis (IRAVAS) group","doi":"10.1093/rheumatology/ket128","id":"misra-2013","pmid":"23594468","source":"Rheumatology (Oxford). 2013;52(10):1795-1801","title":"Development and initial validation of the Indian Takayasu Clinical Activity Score (ITAS2010)"},"components":[{"factor":"malaise_weight_loss","points":0,"present":false},{"factor":"myalgia_arthralgia_arthritis","points":0,"present":false},{"factor":"headache","points":0,"present":false},{"factor":"severe_abdominal_pain","points":0,"present":false},{"factor":"abortions","points":0,"present":false},{"factor":"diastolic_hypertension","points":0,"present":false},{"factor":"systolic_hypertension","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"seizures","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"vertigo_dizziness","points":0,"present":false},{"factor":"bruits","points":0,"present":false},{"factor":"bruit_right_carotid","points":0,"present":false},{"factor":"bruit_left_carotid","points":0,"present":false},{"factor":"bruit_right_subclavian","points":0,"present":false},{"factor":"bruit_left_subclavian","points":0,"present":false},{"factor":"bruit_right_renal","points":0,"present":false},{"factor":"bruit_left_renal","points":0,"present":false},{"factor":"pulse_inequality","points":0,"present":false},{"factor":"bp_inequality","points":0,"present":false},{"factor":"pulse_loss","points":0,"present":false},{"factor":"pulse_loss_right_carotid","points":0,"present":false},{"factor":"pulse_loss_left_carotid","points":0,"present":false},{"factor":"pulse_loss_right_subclavian","points":0,"present":false},{"factor":"pulse_loss_left_subclavian","points":0,"present":false},{"factor":"pulse_loss_right_brachial","points":0,"present":false},{"factor":"pulse_loss_left_brachial","points":0,"present":false},{"factor":"pulse_loss_right_radial","points":0,"present":false},{"factor":"pulse_loss_left_radial","points":0,"present":false},{"factor":"pulse_loss_right_femoral","points":0,"present":false},{"factor":"pulse_loss_left_femoral","points":0,"present":false},{"factor":"pulse_loss_right_popliteal","points":0,"present":false},{"factor":"pulse_loss_left_popliteal","points":0,"present":false},{"factor":"pulse_loss_right_posterior_tibial","points":0,"present":false},{"factor":"pulse_loss_left_posterior_tibial","points":0,"present":false},{"factor":"pulse_loss_right_dorsalis_pedis","points":0,"present":false},{"factor":"pulse_loss_left_dorsalis_pedis","points":0,"present":false},{"factor":"claudication","points":0,"present":false},{"factor":"claudication_arm","points":0,"present":false},{"factor":"claudication_leg","points":0,"present":false},{"factor":"carotidodynia","points":0,"present":false},{"factor":"aortic_incompetence","points":0,"present":false},{"factor":"myocardial_infarct_angina","points":0,"present":false},{"factor":"cardiomyopathy_cardiac_failure","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":"itas2010","formula_expression":"ITAS2010 = 2*(diastolic_hypertension + stroke + bruits + pulse_inequality + pulse_loss + claudication + carotidodynia) + malaise_weight_loss + myalgia_arthralgia_arthritis + headache + severe_abdominal_pain + abortions + systolic_hypertension + seizures + syncope + vertigo_dizziness + bruit_right_carotid + bruit_left_carotid + bruit_right_subclavian + bruit_left_subclavian + bruit_right_renal + bruit_left_renal + bp_inequality + pulse_loss_right_carotid + pulse_loss_left_carotid + pulse_loss_right_subclavian + pulse_loss_left_subclavian + pulse_loss_right_brachial + pulse_loss_left_brachial + pulse_loss_right_radial + pulse_loss_left_radial + pulse_loss_right_femoral + pulse_loss_left_femoral + pulse_loss_right_popliteal + pulse_loss_left_popliteal + pulse_loss_right_posterior_tibial + pulse_loss_left_posterior_tibial + pulse_loss_right_dorsalis_pedis + pulse_loss_left_dorsalis_pedis + claudication_arm + claudication_leg + aortic_incompetence + myocardial_infarct_angina + cardiomyopathy_cardiac_failure; Misra 2013; each item true only if new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller; magent does not examine the patient; active_disease iff score ≥ 2; max 51; not ITAS-A; not a diagnosis","max_score":51,"score":0},{"active_disease":false,"citation":{"authors":"Misra R, Danda D, Rajappa SM, et al; Indian Rheumatology Vasculitis (IRAVAS) group","doi":"10.1093/rheumatology/ket128","id":"misra-2013","pmid":"23594468","source":"Rheumatology (Oxford). 2013;52(10):1795-1801","title":"Development and initial validation of the Indian Takayasu Clinical Activity Score (ITAS2010)"},"components":[{"factor":"malaise_weight_loss","points":0,"present":false},{"factor":"myalgia_arthralgia_arthritis","points":0,"present":false},{"factor":"headache","points":0,"present":false},{"factor":"severe_abdominal_pain","points":0,"present":false},{"factor":"abortions","points":0,"present":false},{"factor":"diastolic_hypertension","points":0,"present":false},{"factor":"systolic_hypertension","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"seizures","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"vertigo_dizziness","points":0,"present":false},{"factor":"bruits","points":0,"present":false},{"factor":"bruit_right_carotid","points":0,"present":false},{"factor":"bruit_left_carotid","points":0,"present":false},{"factor":"bruit_right_subclavian","points":0,"present":false},{"factor":"bruit_left_subclavian","points":0,"present":false},{"factor":"bruit_right_renal","points":0,"present":false},{"factor":"bruit_left_renal","points":0,"present":false},{"factor":"pulse_inequality","points":0,"present":false},{"factor":"bp_inequality","points":0,"present":false},{"factor":"pulse_loss","points":0,"present":false},{"factor":"pulse_loss_right_carotid","points":0,"present":false},{"factor":"pulse_loss_left_carotid","points":0,"present":false},{"factor":"pulse_loss_right_subclavian","points":0,"present":false},{"factor":"pulse_loss_left_subclavian","points":0,"present":false},{"factor":"pulse_loss_right_brachial","points":0,"present":false},{"factor":"pulse_loss_left_brachial","points":0,"present":false},{"factor":"pulse_loss_right_radial","points":0,"present":false},{"factor":"pulse_loss_left_radial","points":0,"present":false},{"factor":"pulse_loss_right_femoral","points":0,"present":false},{"factor":"pulse_loss_left_femoral","points":0,"present":false},{"factor":"pulse_loss_right_popliteal","points":0,"present":false},{"factor":"pulse_loss_left_popliteal","points":0,"present":false},{"factor":"pulse_loss_right_posterior_tibial","points":0,"present":false},{"factor":"pulse_loss_left_posterior_tibial","points":0,"present":false},{"factor":"pulse_loss_right_dorsalis_pedis","points":0,"present":false},{"factor":"pulse_loss_left_dorsalis_pedis","points":0,"present":false},{"factor":"claudication","points":0,"present":false},{"factor":"claudication_arm","points":0,"present":false},{"factor":"claudication_leg","points":0,"present":false},{"factor":"carotidodynia","points":0,"present":false},{"factor":"aortic_incompetence","points":0,"present":false},{"factor":"myocardial_infarct_angina","points":0,"present":false},{"factor":"cardiomyopathy_cardiac_failure","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":"itas2010","formula_expression":"ITAS2010 = 2*(diastolic_hypertension + stroke + bruits + pulse_inequality + pulse_loss + claudication + carotidodynia) + malaise_weight_loss + myalgia_arthralgia_arthritis + headache + severe_abdominal_pain + abortions + systolic_hypertension + seizures + syncope + vertigo_dizziness + bruit_right_carotid + bruit_left_carotid + bruit_right_subclavian + bruit_left_subclavian + bruit_right_renal + bruit_left_renal + bp_inequality + pulse_loss_right_carotid + pulse_loss_left_carotid + pulse_loss_right_subclavian + pulse_loss_left_subclavian + pulse_loss_right_brachial + pulse_loss_left_brachial + pulse_loss_right_radial + pulse_loss_left_radial + pulse_loss_right_femoral + pulse_loss_left_femoral + pulse_loss_right_popliteal + pulse_loss_left_popliteal + pulse_loss_right_posterior_tibial + pulse_loss_left_posterior_tibial + pulse_loss_right_dorsalis_pedis + pulse_loss_left_dorsalis_pedis + claudication_arm + claudication_leg + aortic_incompetence + myocardial_infarct_angina + cardiomyopathy_cardiac_failure; Misra 2013; each item true only if new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller; magent does not examine the patient; active_disease iff score ≥ 2; max 51; not ITAS-A; not a diagnosis","max_score":51,"score":0}],"path":"/api/calc/itas2010"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abortions":{"description":"Misra 2013 ITAS2010: abortion (genitourinary item), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"aortic_incompetence":{"description":"Misra 2013 ITAS2010: aortic incompetence, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bp_inequality":{"description":"Misra 2013 ITAS2010: blood-pressure inequality, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_left_carotid":{"description":"Misra 2013 ITAS2010: left carotid bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_left_renal":{"description":"Misra 2013 ITAS2010: left renal bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_left_subclavian":{"description":"Misra 2013 ITAS2010: left subclavian bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_right_carotid":{"description":"Misra 2013 ITAS2010: right carotid bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_right_renal":{"description":"Misra 2013 ITAS2010: right renal bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_right_subclavian":{"description":"Misra 2013 ITAS2010: right subclavian bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruits":{"description":"Misra 2013 ITAS2010: bruits (weighted parent item), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"cardiomyopathy_cardiac_failure":{"description":"Misra 2013 ITAS2010: cardiomyopathy or cardiac failure, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"carotidodynia":{"description":"Misra 2013 ITAS2010: carotidodynia, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"claudication":{"description":"Misra 2013 ITAS2010: claudication (weighted parent item), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"claudication_arm":{"description":"Misra 2013 ITAS2010: arm claudication, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"claudication_leg":{"description":"Misra 2013 ITAS2010: leg claudication, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"diastolic_hypertension":{"description":"Misra 2013 ITAS2010: diastolic blood pressure >90 mmHg, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"headache":{"description":"Misra 2013 ITAS2010: headache, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"malaise_weight_loss":{"description":"Misra 2013 ITAS2010: malaise or weight loss >2 kg, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"myalgia_arthralgia_arthritis":{"description":"Misra 2013 ITAS2010: myalgia, arthralgia, or arthritis, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"myocardial_infarct_angina":{"description":"Misra 2013 ITAS2010: myocardial infarction or angina, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_inequality":{"description":"Misra 2013 ITAS2010: pulse inequality, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"pulse_loss":{"description":"Misra 2013 ITAS2010: new loss of pulses (weighted parent item), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_brachial":{"description":"Misra 2013 ITAS2010: new loss of the left brachial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_carotid":{"description":"Misra 2013 ITAS2010: new loss of the left carotid pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_dorsalis_pedis":{"description":"Misra 2013 ITAS2010: new loss of the left dorsalis pedis pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_femoral":{"description":"Misra 2013 ITAS2010: new loss of the left femoral pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_popliteal":{"description":"Misra 2013 ITAS2010: new loss of the left popliteal pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_posterior_tibial":{"description":"Misra 2013 ITAS2010: new loss of the left posterior tibial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_radial":{"description":"Misra 2013 ITAS2010: new loss of the left radial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_subclavian":{"description":"Misra 2013 ITAS2010: new loss of the left subclavian pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_brachial":{"description":"Misra 2013 ITAS2010: new loss of the right brachial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_carotid":{"description":"Misra 2013 ITAS2010: new loss of the right carotid pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_dorsalis_pedis":{"description":"Misra 2013 ITAS2010: new loss of the right dorsalis pedis pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_femoral":{"description":"Misra 2013 ITAS2010: new loss of the right femoral pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_popliteal":{"description":"Misra 2013 ITAS2010: new loss of the right popliteal pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_posterior_tibial":{"description":"Misra 2013 ITAS2010: new loss of the right posterior tibial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_radial":{"description":"Misra 2013 ITAS2010: new loss of the right radial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_subclavian":{"description":"Misra 2013 ITAS2010: new loss of the right subclavian pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"seizures":{"description":"Misra 2013 ITAS2010: seizures (not hypertensive), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"severe_abdominal_pain":{"description":"Misra 2013 ITAS2010: severe abdominal pain, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"stroke":{"description":"Misra 2013 ITAS2010: stroke, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"syncope":{"description":"Misra 2013 ITAS2010: syncope, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"systolic_hypertension":{"description":"Misra 2013 ITAS2010: systolic blood pressure >140 mmHg, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"vertigo_dizziness":{"description":"Misra 2013 ITAS2010: vertigo or dizziness, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"}},"required":["malaise_weight_loss","myalgia_arthralgia_arthritis","headache","severe_abdominal_pain","abortions","diastolic_hypertension","systolic_hypertension","stroke","seizures","syncope","vertigo_dizziness","bruits","bruit_right_carotid","bruit_left_carotid","bruit_right_subclavian","bruit_left_subclavian","bruit_right_renal","bruit_left_renal","pulse_inequality","bp_inequality","pulse_loss","pulse_loss_right_carotid","pulse_loss_left_carotid","pulse_loss_right_subclavian","pulse_loss_left_subclavian","pulse_loss_right_brachial","pulse_loss_left_brachial","pulse_loss_right_radial","pulse_loss_left_radial","pulse_loss_right_femoral","pulse_loss_left_femoral","pulse_loss_right_popliteal","pulse_loss_left_popliteal","pulse_loss_right_posterior_tibial","pulse_loss_left_posterior_tibial","pulse_loss_right_dorsalis_pedis","pulse_loss_left_dorsalis_pedis","claudication","claudication_arm","claudication_leg","carotidodynia","aortic_incompetence","myocardial_infarct_angina","cardiomyopathy_cardiac_failure"],"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":["itas2010","takayasu","vasculitis","disease-activity","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:36:06.985Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:36:06.77Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abortions":false,"aortic_incompetence":false,"bp_inequality":false,"bruit_left_carotid":false,"bruit_left_renal":false,"bruit_left_subclavian":false,"bruit_right_carotid":false,"bruit_right_renal":false,"bruit_right_subclavian":false,"bruits":false,"cardiomyopathy_cardiac_failure":false,"carotidodynia":false,"claudication":false,"claudication_arm":false,"claudication_leg":false,"diastolic_hypertension":false,"headache":false,"malaise_weight_loss":false,"myalgia_arthralgia_arthritis":false,"myocardial_infarct_angina":false,"pulse_inequality":false,"pulse_loss":false,"pulse_loss_left_brachial":false,"pulse_loss_left_carotid":false,"pulse_loss_left_dorsalis_pedis":false,"pulse_loss_left_femoral":false,"pulse_loss_left_popliteal":false,"pulse_loss_left_posterior_tibial":false,"pulse_loss_left_radial":false,"pulse_loss_left_subclavian":false,"pulse_loss_right_brachial":false,"pulse_loss_right_carotid":false,"pulse_loss_right_dorsalis_pedis":false,"pulse_loss_right_femoral":false,"pulse_loss_right_popliteal":false,"pulse_loss_right_posterior_tibial":false,"pulse_loss_right_radial":false,"pulse_loss_right_subclavian":false,"seizures":false,"severe_abdominal_pain":false,"stroke":false,"syncope":false,"systolic_hypertension":false,"vertigo_dizziness":false},{"abortions":false,"aortic_incompetence":false,"bp_inequality":false,"bruit_left_carotid":false,"bruit_left_renal":false,"bruit_left_subclavian":false,"bruit_right_carotid":false,"bruit_right_renal":false,"bruit_right_subclavian":false,"bruits":false,"cardiomyopathy_cardiac_failure":false,"carotidodynia":false,"claudication":false,"claudication_arm":false,"claudication_leg":false,"diastolic_hypertension":false,"headache":false,"malaise_weight_loss":false,"myalgia_arthralgia_arthritis":false,"myocardial_infarct_angina":false,"pulse_inequality":false,"pulse_loss":false,"pulse_loss_left_brachial":false,"pulse_loss_left_carotid":false,"pulse_loss_left_dorsalis_pedis":false,"pulse_loss_left_femoral":false,"pulse_loss_left_popliteal":false,"pulse_loss_left_posterior_tibial":false,"pulse_loss_left_radial":false,"pulse_loss_left_subclavian":false,"pulse_loss_right_brachial":false,"pulse_loss_right_carotid":false,"pulse_loss_right_dorsalis_pedis":false,"pulse_loss_right_femoral":false,"pulse_loss_right_popliteal":false,"pulse_loss_right_posterior_tibial":false,"pulse_loss_right_radial":false,"pulse_loss_right_subclavian":false,"seizures":false,"severe_abdominal_pain":false,"stroke":false,"syncope":false,"systolic_hypertension":false,"vertigo_dizziness":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"active_disease":false,"citation":{"authors":"Misra R, Danda D, Rajappa SM, et al; Indian Rheumatology Vasculitis (IRAVAS) group","doi":"10.1093/rheumatology/ket128","id":"misra-2013","pmid":"23594468","source":"Rheumatology (Oxford). 2013;52(10):1795-1801","title":"Development and initial validation of the Indian Takayasu Clinical Activity Score (ITAS2010)"},"components":[{"factor":"malaise_weight_loss","points":0,"present":false},{"factor":"myalgia_arthralgia_arthritis","points":0,"present":false},{"factor":"headache","points":0,"present":false},{"factor":"severe_abdominal_pain","points":0,"present":false},{"factor":"abortions","points":0,"present":false},{"factor":"diastolic_hypertension","points":0,"present":false},{"factor":"systolic_hypertension","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"seizures","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"vertigo_dizziness","points":0,"present":false},{"factor":"bruits","points":0,"present":false},{"factor":"bruit_right_carotid","points":0,"present":false},{"factor":"bruit_left_carotid","points":0,"present":false},{"factor":"bruit_right_subclavian","points":0,"present":false},{"factor":"bruit_left_subclavian","points":0,"present":false},{"factor":"bruit_right_renal","points":0,"present":false},{"factor":"bruit_left_renal","points":0,"present":false},{"factor":"pulse_inequality","points":0,"present":false},{"factor":"bp_inequality","points":0,"present":false},{"factor":"pulse_loss","points":0,"present":false},{"factor":"pulse_loss_right_carotid","points":0,"present":false},{"factor":"pulse_loss_left_carotid","points":0,"present":false},{"factor":"pulse_loss_right_subclavian","points":0,"present":false},{"factor":"pulse_loss_left_subclavian","points":0,"present":false},{"factor":"pulse_loss_right_brachial","points":0,"present":false},{"factor":"pulse_loss_left_brachial","points":0,"present":false},{"factor":"pulse_loss_right_radial","points":0,"present":false},{"factor":"pulse_loss_left_radial","points":0,"present":false},{"factor":"pulse_loss_right_femoral","points":0,"present":false},{"factor":"pulse_loss_left_femoral","points":0,"present":false},{"factor":"pulse_loss_right_popliteal","points":0,"present":false},{"factor":"pulse_loss_left_popliteal","points":0,"present":false},{"factor":"pulse_loss_right_posterior_tibial","points":0,"present":false},{"factor":"pulse_loss_left_posterior_tibial","points":0,"present":false},{"factor":"pulse_loss_right_dorsalis_pedis","points":0,"present":false},{"factor":"pulse_loss_left_dorsalis_pedis","points":0,"present":false},{"factor":"claudication","points":0,"present":false},{"factor":"claudication_arm","points":0,"present":false},{"factor":"claudication_leg","points":0,"present":false},{"factor":"carotidodynia","points":0,"present":false},{"factor":"aortic_incompetence","points":0,"present":false},{"factor":"myocardial_infarct_angina","points":0,"present":false},{"factor":"cardiomyopathy_cardiac_failure","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":"itas2010","formula_expression":"ITAS2010 = 2*(diastolic_hypertension + stroke + bruits + pulse_inequality + pulse_loss + claudication + carotidodynia) + malaise_weight_loss + myalgia_arthralgia_arthritis + headache + severe_abdominal_pain + abortions + systolic_hypertension + seizures + syncope + vertigo_dizziness + bruit_right_carotid + bruit_left_carotid + bruit_right_subclavian + bruit_left_subclavian + bruit_right_renal + bruit_left_renal + bp_inequality + pulse_loss_right_carotid + pulse_loss_left_carotid + pulse_loss_right_subclavian + pulse_loss_left_subclavian + pulse_loss_right_brachial + pulse_loss_left_brachial + pulse_loss_right_radial + pulse_loss_left_radial + pulse_loss_right_femoral + pulse_loss_left_femoral + pulse_loss_right_popliteal + pulse_loss_left_popliteal + pulse_loss_right_posterior_tibial + pulse_loss_left_posterior_tibial + pulse_loss_right_dorsalis_pedis + pulse_loss_left_dorsalis_pedis + claudication_arm + claudication_leg + aortic_incompetence + myocardial_infarct_angina + cardiomyopathy_cardiac_failure; Misra 2013; each item true only if new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller; magent does not examine the patient; active_disease iff score ≥ 2; max 51; not ITAS-A; not a diagnosis","max_score":51,"score":0},{"active_disease":false,"citation":{"authors":"Misra R, Danda D, Rajappa SM, et al; Indian Rheumatology Vasculitis (IRAVAS) group","doi":"10.1093/rheumatology/ket128","id":"misra-2013","pmid":"23594468","source":"Rheumatology (Oxford). 2013;52(10):1795-1801","title":"Development and initial validation of the Indian Takayasu Clinical Activity Score (ITAS2010)"},"components":[{"factor":"malaise_weight_loss","points":0,"present":false},{"factor":"myalgia_arthralgia_arthritis","points":0,"present":false},{"factor":"headache","points":0,"present":false},{"factor":"severe_abdominal_pain","points":0,"present":false},{"factor":"abortions","points":0,"present":false},{"factor":"diastolic_hypertension","points":0,"present":false},{"factor":"systolic_hypertension","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"seizures","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"vertigo_dizziness","points":0,"present":false},{"factor":"bruits","points":0,"present":false},{"factor":"bruit_right_carotid","points":0,"present":false},{"factor":"bruit_left_carotid","points":0,"present":false},{"factor":"bruit_right_subclavian","points":0,"present":false},{"factor":"bruit_left_subclavian","points":0,"present":false},{"factor":"bruit_right_renal","points":0,"present":false},{"factor":"bruit_left_renal","points":0,"present":false},{"factor":"pulse_inequality","points":0,"present":false},{"factor":"bp_inequality","points":0,"present":false},{"factor":"pulse_loss","points":0,"present":false},{"factor":"pulse_loss_right_carotid","points":0,"present":false},{"factor":"pulse_loss_left_carotid","points":0,"present":false},{"factor":"pulse_loss_right_subclavian","points":0,"present":false},{"factor":"pulse_loss_left_subclavian","points":0,"present":false},{"factor":"pulse_loss_right_brachial","points":0,"present":false},{"factor":"pulse_loss_left_brachial","points":0,"present":false},{"factor":"pulse_loss_right_radial","points":0,"present":false},{"factor":"pulse_loss_left_radial","points":0,"present":false},{"factor":"pulse_loss_right_femoral","points":0,"present":false},{"factor":"pulse_loss_left_femoral","points":0,"present":false},{"factor":"pulse_loss_right_popliteal","points":0,"present":false},{"factor":"pulse_loss_left_popliteal","points":0,"present":false},{"factor":"pulse_loss_right_posterior_tibial","points":0,"present":false},{"factor":"pulse_loss_left_posterior_tibial","points":0,"present":false},{"factor":"pulse_loss_right_dorsalis_pedis","points":0,"present":false},{"factor":"pulse_loss_left_dorsalis_pedis","points":0,"present":false},{"factor":"claudication","points":0,"present":false},{"factor":"claudication_arm","points":0,"present":false},{"factor":"claudication_leg","points":0,"present":false},{"factor":"carotidodynia","points":0,"present":false},{"factor":"aortic_incompetence","points":0,"present":false},{"factor":"myocardial_infarct_angina","points":0,"present":false},{"factor":"cardiomyopathy_cardiac_failure","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":"itas2010","formula_expression":"ITAS2010 = 2*(diastolic_hypertension + stroke + bruits + pulse_inequality + pulse_loss + claudication + carotidodynia) + malaise_weight_loss + myalgia_arthralgia_arthritis + headache + severe_abdominal_pain + abortions + systolic_hypertension + seizures + syncope + vertigo_dizziness + bruit_right_carotid + bruit_left_carotid + bruit_right_subclavian + bruit_left_subclavian + bruit_right_renal + bruit_left_renal + bp_inequality + pulse_loss_right_carotid + pulse_loss_left_carotid + pulse_loss_right_subclavian + pulse_loss_left_subclavian + pulse_loss_right_brachial + pulse_loss_left_brachial + pulse_loss_right_radial + pulse_loss_left_radial + pulse_loss_right_femoral + pulse_loss_left_femoral + pulse_loss_right_popliteal + pulse_loss_left_popliteal + pulse_loss_right_posterior_tibial + pulse_loss_left_posterior_tibial + pulse_loss_right_dorsalis_pedis + pulse_loss_left_dorsalis_pedis + claudication_arm + claudication_leg + aortic_incompetence + myocardial_infarct_angina + cardiomyopathy_cardiac_failure; Misra 2013; each item true only if new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller; magent does not examine the patient; active_disease iff score ≥ 2; max 51; not ITAS-A; not a diagnosis","max_score":51,"score":0}],"path":"/api/calc/itas2010"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abortions":{"description":"Misra 2013 ITAS2010: abortion (genitourinary item), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"aortic_incompetence":{"description":"Misra 2013 ITAS2010: aortic incompetence, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bp_inequality":{"description":"Misra 2013 ITAS2010: blood-pressure inequality, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_left_carotid":{"description":"Misra 2013 ITAS2010: left carotid bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_left_renal":{"description":"Misra 2013 ITAS2010: left renal bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_left_subclavian":{"description":"Misra 2013 ITAS2010: left subclavian bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_right_carotid":{"description":"Misra 2013 ITAS2010: right carotid bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_right_renal":{"description":"Misra 2013 ITAS2010: right renal bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruit_right_subclavian":{"description":"Misra 2013 ITAS2010: right subclavian bruit, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"bruits":{"description":"Misra 2013 ITAS2010: bruits (weighted parent item), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"cardiomyopathy_cardiac_failure":{"description":"Misra 2013 ITAS2010: cardiomyopathy or cardiac failure, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"carotidodynia":{"description":"Misra 2013 ITAS2010: carotidodynia, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"claudication":{"description":"Misra 2013 ITAS2010: claudication (weighted parent item), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"claudication_arm":{"description":"Misra 2013 ITAS2010: arm claudication, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"claudication_leg":{"description":"Misra 2013 ITAS2010: leg claudication, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"diastolic_hypertension":{"description":"Misra 2013 ITAS2010: diastolic blood pressure >90 mmHg, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"headache":{"description":"Misra 2013 ITAS2010: headache, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"malaise_weight_loss":{"description":"Misra 2013 ITAS2010: malaise or weight loss >2 kg, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"myalgia_arthralgia_arthritis":{"description":"Misra 2013 ITAS2010: myalgia, arthralgia, or arthritis, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"myocardial_infarct_angina":{"description":"Misra 2013 ITAS2010: myocardial infarction or angina, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_inequality":{"description":"Misra 2013 ITAS2010: pulse inequality, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"pulse_loss":{"description":"Misra 2013 ITAS2010: new loss of pulses (weighted parent item), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_brachial":{"description":"Misra 2013 ITAS2010: new loss of the left brachial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_carotid":{"description":"Misra 2013 ITAS2010: new loss of the left carotid pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_dorsalis_pedis":{"description":"Misra 2013 ITAS2010: new loss of the left dorsalis pedis pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_femoral":{"description":"Misra 2013 ITAS2010: new loss of the left femoral pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_popliteal":{"description":"Misra 2013 ITAS2010: new loss of the left popliteal pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_posterior_tibial":{"description":"Misra 2013 ITAS2010: new loss of the left posterior tibial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_radial":{"description":"Misra 2013 ITAS2010: new loss of the left radial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_left_subclavian":{"description":"Misra 2013 ITAS2010: new loss of the left subclavian pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_brachial":{"description":"Misra 2013 ITAS2010: new loss of the right brachial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_carotid":{"description":"Misra 2013 ITAS2010: new loss of the right carotid pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_dorsalis_pedis":{"description":"Misra 2013 ITAS2010: new loss of the right dorsalis pedis pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_femoral":{"description":"Misra 2013 ITAS2010: new loss of the right femoral pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_popliteal":{"description":"Misra 2013 ITAS2010: new loss of the right popliteal pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_posterior_tibial":{"description":"Misra 2013 ITAS2010: new loss of the right posterior tibial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_radial":{"description":"Misra 2013 ITAS2010: new loss of the right radial pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"pulse_loss_right_subclavian":{"description":"Misra 2013 ITAS2010: new loss of the right subclavian pulse, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"seizures":{"description":"Misra 2013 ITAS2010: seizures (not hypertensive), new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"severe_abdominal_pain":{"description":"Misra 2013 ITAS2010: severe abdominal pain, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"stroke":{"description":"Misra 2013 ITAS2010: stroke, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. Weighted item (scores 2). true scores 2. magent does not examine the patient.","type":"boolean"},"syncope":{"description":"Misra 2013 ITAS2010: syncope, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"systolic_hypertension":{"description":"Misra 2013 ITAS2010: systolic blood pressure >140 mmHg, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"},"vertigo_dizziness":{"description":"Misra 2013 ITAS2010: vertigo or dizziness, new or worsening within 3 months and ascribed to active vasculitis as assigned by the caller. true scores 1. magent does not examine the patient.","type":"boolean"}},"required":["malaise_weight_loss","myalgia_arthralgia_arthritis","headache","severe_abdominal_pain","abortions","diastolic_hypertension","systolic_hypertension","stroke","seizures","syncope","vertigo_dizziness","bruits","bruit_right_carotid","bruit_left_carotid","bruit_right_subclavian","bruit_left_subclavian","bruit_right_renal","bruit_left_renal","pulse_inequality","bp_inequality","pulse_loss","pulse_loss_right_carotid","pulse_loss_left_carotid","pulse_loss_right_subclavian","pulse_loss_left_subclavian","pulse_loss_right_brachial","pulse_loss_left_brachial","pulse_loss_right_radial","pulse_loss_left_radial","pulse_loss_right_femoral","pulse_loss_left_femoral","pulse_loss_right_popliteal","pulse_loss_left_popliteal","pulse_loss_right_posterior_tibial","pulse_loss_left_posterior_tibial","pulse_loss_right_dorsalis_pedis","pulse_loss_left_dorsalis_pedis","claudication","claudication_arm","claudication_leg","carotidodynia","aortic_incompetence","myocardial_infarct_angina","cardiomyopathy_cardiac_failure"],"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},{"id":39528,"slug":"39528","resource":"https://api.magentlab.com/api/calc/sledai_2k","description":"Gladman 2002 SLEDAI-2K: weighted sum of 24 caller-assigned descriptors present in the last 10 days (max 105). magent does not examine the patient. Proteinuria scores if >0.5 g/24 h (not original SLEDAI >3.5 g/24 h only). Rash, alopecia, and mucosal ulcers score if new or persistent (not new only). Not a diagnosis, not SLICC damage, not SELENA-SLEDAI flare rules, and not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"alopecia":false,"arthritis":true,"cranial_nerve_disorder":false,"cva":false,"fever":false,"hematuria":false,"increased_dna_binding":false,"leukopenia":false,"low_complement":false,"lupus_headache":false,"mucosal_ulcers":false,"myositis":false,"organic_brain_syndrome":false,"pericarditis":false,"pleurisy":false,"proteinuria":false,"psychosis":false,"pyuria":false,"rash":true,"seizure":false,"thrombocytopenia":false,"urinary_casts":false,"vasculitis":false,"visual_disturbance":false},{"alopecia":false,"arthritis":true,"cranial_nerve_disorder":false,"cva":false,"fever":false,"hematuria":false,"increased_dna_binding":false,"leukopenia":false,"low_complement":false,"lupus_headache":false,"mucosal_ulcers":false,"myositis":false,"organic_brain_syndrome":false,"pericarditis":false,"pleurisy":false,"proteinuria":false,"psychosis":false,"pyuria":false,"rash":true,"seizure":false,"thrombocytopenia":false,"urinary_casts":false,"vasculitis":false,"visual_disturbance":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gladman DD, Ibañez D, Urowitz MB","id":"gladman-2002","pmid":"11838846","source":"J Rheumatol. 2002;29(2):288-291","title":"Systemic lupus erythematosus disease activity index 2000"},"components":[{"factor":"seizure","points":0,"present":false},{"factor":"psychosis","points":0,"present":false},{"factor":"organic_brain_syndrome","points":0,"present":false},{"factor":"visual_disturbance","points":0,"present":false},{"factor":"cranial_nerve_disorder","points":0,"present":false},{"factor":"lupus_headache","points":0,"present":false},{"factor":"cva","points":0,"present":false},{"factor":"vasculitis","points":0,"present":false},{"factor":"arthritis","points":4,"present":true},{"factor":"myositis","points":0,"present":false},{"factor":"urinary_casts","points":0,"present":false},{"factor":"hematuria","points":0,"present":false},{"factor":"proteinuria","points":0,"present":false},{"factor":"pyuria","points":0,"present":false},{"factor":"rash","points":2,"present":true},{"factor":"alopecia","points":0,"present":false},{"factor":"mucosal_ulcers","points":0,"present":false},{"factor":"pleurisy","points":0,"present":false},{"factor":"pericarditis","points":0,"present":false},{"factor":"low_complement","points":0,"present":false},{"factor":"increased_dna_binding","points":0,"present":false},{"factor":"fever","points":0,"present":false},{"factor":"thrombocytopenia","points":0,"present":false},{"factor":"leukopenia","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":"sledai_2k","formula_expression":"SLEDAI-2K = 8*(seizure + psychosis + organic_brain_syndrome + visual_disturbance + cranial_nerve_disorder + lupus_headache + cva + vasculitis) + 4*(arthritis + myositis + urinary_casts + hematuria + proteinuria + pyuria) + 2*(rash + alopecia + mucosal_ulcers + pleurisy + pericarditis + low_complement + increased_dna_binding) + (fever + thrombocytopenia + leukopenia); Gladman 2002; each descriptor present in the last 10 days as assigned by the caller; proteinuria scores if >0.5 g/24 h (not original SLEDAI >3.5 g/24 h only); rash, alopecia, and mucosal ulcers score if new or persistent (not new only); max 105; not a diagnosis","max_score":105,"score":6},{"citation":{"authors":"Gladman DD, Ibañez D, Urowitz MB","id":"gladman-2002","pmid":"11838846","source":"J Rheumatol. 2002;29(2):288-291","title":"Systemic lupus erythematosus disease activity index 2000"},"components":[{"factor":"seizure","points":0,"present":false},{"factor":"psychosis","points":0,"present":false},{"factor":"organic_brain_syndrome","points":0,"present":false},{"factor":"visual_disturbance","points":0,"present":false},{"factor":"cranial_nerve_disorder","points":0,"present":false},{"factor":"lupus_headache","points":0,"present":false},{"factor":"cva","points":0,"present":false},{"factor":"vasculitis","points":0,"present":false},{"factor":"arthritis","points":4,"present":true},{"factor":"myositis","points":0,"present":false},{"factor":"urinary_casts","points":0,"present":false},{"factor":"hematuria","points":0,"present":false},{"factor":"proteinuria","points":0,"present":false},{"factor":"pyuria","points":0,"present":false},{"factor":"rash","points":2,"present":true},{"factor":"alopecia","points":0,"present":false},{"factor":"mucosal_ulcers","points":0,"present":false},{"factor":"pleurisy","points":0,"present":false},{"factor":"pericarditis","points":0,"present":false},{"factor":"low_complement","points":0,"present":false},{"factor":"increased_dna_binding","points":0,"present":false},{"factor":"fever","points":0,"present":false},{"factor":"thrombocytopenia","points":0,"present":false},{"factor":"leukopenia","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":"sledai_2k","formula_expression":"SLEDAI-2K = 8*(seizure + psychosis + organic_brain_syndrome + visual_disturbance + cranial_nerve_disorder + lupus_headache + cva + vasculitis) + 4*(arthritis + myositis + urinary_casts + hematuria + proteinuria + pyuria) + 2*(rash + alopecia + mucosal_ulcers + pleurisy + pericarditis + low_complement + increased_dna_binding) + (fever + thrombocytopenia + leukopenia); Gladman 2002; each descriptor present in the last 10 days as assigned by the caller; proteinuria scores if >0.5 g/24 h (not original SLEDAI >3.5 g/24 h only); rash, alopecia, and mucosal ulcers score if new or persistent (not new only); max 105; not a diagnosis","max_score":105,"score":6}],"path":"/api/calc/sledai_2k"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alopecia":{"description":"Alopecia in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): abnormal, patchy or diffuse loss of hair. Scores if new or persistent (not original SLEDAI new only). true scores 2. magent does not examine the scalp.","type":"boolean"},"arthritis":{"description":"Arthritis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): more than 2 joints with pain and signs of inflammation (tenderness, swelling, or effusion). true scores 4. magent does not examine joints.","type":"boolean"},"cranial_nerve_disorder":{"description":"Cranial nerve disorder in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): new onset of sensory or motor neuropathy involving cranial nerves. true scores 8. magent does not examine cranial nerves.","type":"boolean"},"cva":{"description":"Cerebrovascular accident in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): new onset of CVA(s). Exclude arteriosclerosis. true scores 8. magent does not read imaging.","type":"boolean"},"fever":{"description":"Fever in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): >38°C. Exclude infectious cause. true scores 1. magent does not measure temperature.","type":"boolean"},"hematuria":{"description":"Hematuria in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): >5 red blood cells/high power field. Exclude stone, infection, or other cause. true scores 4. magent does not assay urine.","type":"boolean"},"increased_dna_binding":{"description":"Increased DNA binding in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): DNA binding by Farr assay above the normal range for the testing laboratory. true scores 2. magent does not assay anti-dsDNA.","type":"boolean"},"leukopenia":{"description":"Leukopenia in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): <3,000 white blood cells/mm³. Exclude drug causes. true scores 1. magent does not assay blood counts.","type":"boolean"},"low_complement":{"description":"Low complement in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): CH50, C3, or C4 below the lower limit of normal for the testing laboratory. true scores 2. magent does not assay complement.","type":"boolean"},"lupus_headache":{"description":"Lupus headache in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): severe persistent headache; may be migrainous, but must be nonresponsive to narcotic analgesia. true scores 8. magent does not examine the patient.","type":"boolean"},"mucosal_ulcers":{"description":"Mucosal ulcers in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): oral or nasal ulcerations. Scores if new or persistent (not original SLEDAI new only). true scores 2. magent does not examine mucosa.","type":"boolean"},"myositis":{"description":"Myositis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): proximal muscle aching/weakness with elevated creatine phosphokinase/aldolase, EMG changes, or a biopsy showing myositis. true scores 4. magent does not assay muscle enzymes.","type":"boolean"},"organic_brain_syndrome":{"description":"Organic brain syndrome in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): altered mental function with impaired orientation, memory, or other intellectual function, rapid onset and fluctuating features. Exclude metabolic, infectious, or drug causes. true scores 8. magent does not examine the patient.","type":"boolean"},"pericarditis":{"description":"Pericarditis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): pericardial pain with at least one of rub, effusion, or electrocardiogram or echocardiogram confirmation. true scores 2. magent does not examine the heart.","type":"boolean"},"pleurisy":{"description":"Pleurisy in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): pleuritic chest pain with pleural rub or effusion, or pleural thickening. true scores 2. magent does not examine the chest.","type":"boolean"},"proteinuria":{"description":"Proteinuria in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): >0.5 g/24 h (not original SLEDAI >3.5 g/24 h only). true scores 4. magent does not assay urine.","type":"boolean"},"psychosis":{"description":"Psychosis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): altered ability to function in normal activity due to severe disturbance in the perception of reality. Exclude uremia and drug causes. true scores 8. magent does not examine the patient.","type":"boolean"},"pyuria":{"description":"Pyuria in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): >5 white blood cells/high power field. Exclude infection. true scores 4. magent does not assay urine.","type":"boolean"},"rash":{"description":"Rash in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): inflammatory type rash. Scores if new or persistent (not original SLEDAI new only). true scores 2. magent does not examine skin.","type":"boolean"},"seizure":{"description":"Seizure in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K). Recent onset. Exclude metabolic, infectious, or drug cause. true scores 8. magent does not examine the patient.","type":"boolean"},"thrombocytopenia":{"description":"Thrombocytopenia in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): <100,000 platelets/mm³. Exclude drug causes. true scores 1. magent does not assay platelets.","type":"boolean"},"urinary_casts":{"description":"Urinary casts in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): heme-granular or red blood cell casts. true scores 4. magent does not assay urine.","type":"boolean"},"vasculitis":{"description":"Vasculitis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): ulceration, gangrene, tender finger nodules, periungual infarction, splinter hemorrhages, or biopsy or angiogram proof of vasculitis. true scores 8. magent does not examine skin or read a biopsy.","type":"boolean"},"visual_disturbance":{"description":"Visual disturbance in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): retinal changes of SLE (cytoid bodies, retinal hemorrhages, serous exudate or hemorrhages in the choroid, or optic neuritis). Exclude hypertension, infection, or drug causes. true scores 8. magent does not examine the fundus.","type":"boolean"}},"required":["seizure","psychosis","organic_brain_syndrome","visual_disturbance","cranial_nerve_disorder","lupus_headache","cva","vasculitis","arthritis","myositis","urinary_casts","hematuria","proteinuria","pyuria","rash","alopecia","mucosal_ulcers","pleurisy","pericarditis","low_complement","increased_dna_binding","fever","thrombocytopenia","leukopenia"],"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":["sledai-2k","lupus","sle","disease-activity","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:35:59.852Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:35:59.674Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alopecia":false,"arthritis":true,"cranial_nerve_disorder":false,"cva":false,"fever":false,"hematuria":false,"increased_dna_binding":false,"leukopenia":false,"low_complement":false,"lupus_headache":false,"mucosal_ulcers":false,"myositis":false,"organic_brain_syndrome":false,"pericarditis":false,"pleurisy":false,"proteinuria":false,"psychosis":false,"pyuria":false,"rash":true,"seizure":false,"thrombocytopenia":false,"urinary_casts":false,"vasculitis":false,"visual_disturbance":false},{"alopecia":false,"arthritis":true,"cranial_nerve_disorder":false,"cva":false,"fever":false,"hematuria":false,"increased_dna_binding":false,"leukopenia":false,"low_complement":false,"lupus_headache":false,"mucosal_ulcers":false,"myositis":false,"organic_brain_syndrome":false,"pericarditis":false,"pleurisy":false,"proteinuria":false,"psychosis":false,"pyuria":false,"rash":true,"seizure":false,"thrombocytopenia":false,"urinary_casts":false,"vasculitis":false,"visual_disturbance":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gladman DD, Ibañez D, Urowitz MB","id":"gladman-2002","pmid":"11838846","source":"J Rheumatol. 2002;29(2):288-291","title":"Systemic lupus erythematosus disease activity index 2000"},"components":[{"factor":"seizure","points":0,"present":false},{"factor":"psychosis","points":0,"present":false},{"factor":"organic_brain_syndrome","points":0,"present":false},{"factor":"visual_disturbance","points":0,"present":false},{"factor":"cranial_nerve_disorder","points":0,"present":false},{"factor":"lupus_headache","points":0,"present":false},{"factor":"cva","points":0,"present":false},{"factor":"vasculitis","points":0,"present":false},{"factor":"arthritis","points":4,"present":true},{"factor":"myositis","points":0,"present":false},{"factor":"urinary_casts","points":0,"present":false},{"factor":"hematuria","points":0,"present":false},{"factor":"proteinuria","points":0,"present":false},{"factor":"pyuria","points":0,"present":false},{"factor":"rash","points":2,"present":true},{"factor":"alopecia","points":0,"present":false},{"factor":"mucosal_ulcers","points":0,"present":false},{"factor":"pleurisy","points":0,"present":false},{"factor":"pericarditis","points":0,"present":false},{"factor":"low_complement","points":0,"present":false},{"factor":"increased_dna_binding","points":0,"present":false},{"factor":"fever","points":0,"present":false},{"factor":"thrombocytopenia","points":0,"present":false},{"factor":"leukopenia","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":"sledai_2k","formula_expression":"SLEDAI-2K = 8*(seizure + psychosis + organic_brain_syndrome + visual_disturbance + cranial_nerve_disorder + lupus_headache + cva + vasculitis) + 4*(arthritis + myositis + urinary_casts + hematuria + proteinuria + pyuria) + 2*(rash + alopecia + mucosal_ulcers + pleurisy + pericarditis + low_complement + increased_dna_binding) + (fever + thrombocytopenia + leukopenia); Gladman 2002; each descriptor present in the last 10 days as assigned by the caller; proteinuria scores if >0.5 g/24 h (not original SLEDAI >3.5 g/24 h only); rash, alopecia, and mucosal ulcers score if new or persistent (not new only); max 105; not a diagnosis","max_score":105,"score":6},{"citation":{"authors":"Gladman DD, Ibañez D, Urowitz MB","id":"gladman-2002","pmid":"11838846","source":"J Rheumatol. 2002;29(2):288-291","title":"Systemic lupus erythematosus disease activity index 2000"},"components":[{"factor":"seizure","points":0,"present":false},{"factor":"psychosis","points":0,"present":false},{"factor":"organic_brain_syndrome","points":0,"present":false},{"factor":"visual_disturbance","points":0,"present":false},{"factor":"cranial_nerve_disorder","points":0,"present":false},{"factor":"lupus_headache","points":0,"present":false},{"factor":"cva","points":0,"present":false},{"factor":"vasculitis","points":0,"present":false},{"factor":"arthritis","points":4,"present":true},{"factor":"myositis","points":0,"present":false},{"factor":"urinary_casts","points":0,"present":false},{"factor":"hematuria","points":0,"present":false},{"factor":"proteinuria","points":0,"present":false},{"factor":"pyuria","points":0,"present":false},{"factor":"rash","points":2,"present":true},{"factor":"alopecia","points":0,"present":false},{"factor":"mucosal_ulcers","points":0,"present":false},{"factor":"pleurisy","points":0,"present":false},{"factor":"pericarditis","points":0,"present":false},{"factor":"low_complement","points":0,"present":false},{"factor":"increased_dna_binding","points":0,"present":false},{"factor":"fever","points":0,"present":false},{"factor":"thrombocytopenia","points":0,"present":false},{"factor":"leukopenia","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":"sledai_2k","formula_expression":"SLEDAI-2K = 8*(seizure + psychosis + organic_brain_syndrome + visual_disturbance + cranial_nerve_disorder + lupus_headache + cva + vasculitis) + 4*(arthritis + myositis + urinary_casts + hematuria + proteinuria + pyuria) + 2*(rash + alopecia + mucosal_ulcers + pleurisy + pericarditis + low_complement + increased_dna_binding) + (fever + thrombocytopenia + leukopenia); Gladman 2002; each descriptor present in the last 10 days as assigned by the caller; proteinuria scores if >0.5 g/24 h (not original SLEDAI >3.5 g/24 h only); rash, alopecia, and mucosal ulcers score if new or persistent (not new only); max 105; not a diagnosis","max_score":105,"score":6}],"path":"/api/calc/sledai_2k"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alopecia":{"description":"Alopecia in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): abnormal, patchy or diffuse loss of hair. Scores if new or persistent (not original SLEDAI new only). true scores 2. magent does not examine the scalp.","type":"boolean"},"arthritis":{"description":"Arthritis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): more than 2 joints with pain and signs of inflammation (tenderness, swelling, or effusion). true scores 4. magent does not examine joints.","type":"boolean"},"cranial_nerve_disorder":{"description":"Cranial nerve disorder in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): new onset of sensory or motor neuropathy involving cranial nerves. true scores 8. magent does not examine cranial nerves.","type":"boolean"},"cva":{"description":"Cerebrovascular accident in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): new onset of CVA(s). Exclude arteriosclerosis. true scores 8. magent does not read imaging.","type":"boolean"},"fever":{"description":"Fever in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): >38°C. Exclude infectious cause. true scores 1. magent does not measure temperature.","type":"boolean"},"hematuria":{"description":"Hematuria in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): >5 red blood cells/high power field. Exclude stone, infection, or other cause. true scores 4. magent does not assay urine.","type":"boolean"},"increased_dna_binding":{"description":"Increased DNA binding in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): DNA binding by Farr assay above the normal range for the testing laboratory. true scores 2. magent does not assay anti-dsDNA.","type":"boolean"},"leukopenia":{"description":"Leukopenia in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): <3,000 white blood cells/mm³. Exclude drug causes. true scores 1. magent does not assay blood counts.","type":"boolean"},"low_complement":{"description":"Low complement in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): CH50, C3, or C4 below the lower limit of normal for the testing laboratory. true scores 2. magent does not assay complement.","type":"boolean"},"lupus_headache":{"description":"Lupus headache in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): severe persistent headache; may be migrainous, but must be nonresponsive to narcotic analgesia. true scores 8. magent does not examine the patient.","type":"boolean"},"mucosal_ulcers":{"description":"Mucosal ulcers in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): oral or nasal ulcerations. Scores if new or persistent (not original SLEDAI new only). true scores 2. magent does not examine mucosa.","type":"boolean"},"myositis":{"description":"Myositis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): proximal muscle aching/weakness with elevated creatine phosphokinase/aldolase, EMG changes, or a biopsy showing myositis. true scores 4. magent does not assay muscle enzymes.","type":"boolean"},"organic_brain_syndrome":{"description":"Organic brain syndrome in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): altered mental function with impaired orientation, memory, or other intellectual function, rapid onset and fluctuating features. Exclude metabolic, infectious, or drug causes. true scores 8. magent does not examine the patient.","type":"boolean"},"pericarditis":{"description":"Pericarditis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): pericardial pain with at least one of rub, effusion, or electrocardiogram or echocardiogram confirmation. true scores 2. magent does not examine the heart.","type":"boolean"},"pleurisy":{"description":"Pleurisy in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): pleuritic chest pain with pleural rub or effusion, or pleural thickening. true scores 2. magent does not examine the chest.","type":"boolean"},"proteinuria":{"description":"Proteinuria in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): >0.5 g/24 h (not original SLEDAI >3.5 g/24 h only). true scores 4. magent does not assay urine.","type":"boolean"},"psychosis":{"description":"Psychosis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): altered ability to function in normal activity due to severe disturbance in the perception of reality. Exclude uremia and drug causes. true scores 8. magent does not examine the patient.","type":"boolean"},"pyuria":{"description":"Pyuria in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): >5 white blood cells/high power field. Exclude infection. true scores 4. magent does not assay urine.","type":"boolean"},"rash":{"description":"Rash in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): inflammatory type rash. Scores if new or persistent (not original SLEDAI new only). true scores 2. magent does not examine skin.","type":"boolean"},"seizure":{"description":"Seizure in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K). Recent onset. Exclude metabolic, infectious, or drug cause. true scores 8. magent does not examine the patient.","type":"boolean"},"thrombocytopenia":{"description":"Thrombocytopenia in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): <100,000 platelets/mm³. Exclude drug causes. true scores 1. magent does not assay platelets.","type":"boolean"},"urinary_casts":{"description":"Urinary casts in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): heme-granular or red blood cell casts. true scores 4. magent does not assay urine.","type":"boolean"},"vasculitis":{"description":"Vasculitis in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): ulceration, gangrene, tender finger nodules, periungual infarction, splinter hemorrhages, or biopsy or angiogram proof of vasculitis. true scores 8. magent does not examine skin or read a biopsy.","type":"boolean"},"visual_disturbance":{"description":"Visual disturbance in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): retinal changes of SLE (cytoid bodies, retinal hemorrhages, serous exudate or hemorrhages in the choroid, or optic neuritis). Exclude hypertension, infection, or drug causes. true scores 8. magent does not examine the fundus.","type":"boolean"}},"required":["seizure","psychosis","organic_brain_syndrome","visual_disturbance","cranial_nerve_disorder","lupus_headache","cva","vasculitis","arthritis","myositis","urinary_casts","hematuria","proteinuria","pyuria","rash","alopecia","mucosal_ulcers","pleurisy","pericarditis","low_complement","increased_dna_binding","fever","thrombocytopenia","leukopenia"],"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},{"id":39529,"slug":"39529","resource":"https://api.magentlab.com/api/calc/slicc_sle","description":"SLICC 2012 SLE classification (Petri Table 3). classified iff biopsy-proven lupus nephritis plus ANA or anti-dsDNA, or at least four criteria including at least one clinical and one immunologic. 11 clinical and 6 immunologic caller flags. Direct Coombs counts only in the absence of hemolytic anemia. Criteria need not be concurrent. Not a diagnosis. Not 1997 ACR. Not 2019 EULAR/ACR. magent does not examine skin, assay serologies, or read a biopsy.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_cutaneous_lupus":true,"ana":true,"anti_dsdna":true,"anti_sm":false,"antiphospholipid":false,"biopsy_lupus_nephritis":false,"chronic_cutaneous_lupus":false,"direct_coombs":false,"hemolytic_anemia":false,"leukopenia_or_lymphopenia":false,"low_complement":false,"neurologic":false,"nonscarring_alopecia":false,"oral_or_nasal_ulcers":true,"renal":false,"serositis":false,"synovitis":true,"thrombocytopenia":false},{"acute_cutaneous_lupus":true,"ana":true,"anti_dsdna":true,"anti_sm":false,"antiphospholipid":false,"biopsy_lupus_nephritis":false,"chronic_cutaneous_lupus":false,"direct_coombs":false,"hemolytic_anemia":false,"leukopenia_or_lymphopenia":false,"low_complement":false,"neurologic":false,"nonscarring_alopecia":false,"oral_or_nasal_ulcers":true,"renal":false,"serositis":false,"synovitis":true,"thrombocytopenia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Petri M, Orbai AM, Alarcón GS, Gordon C, Merrill JT, Fortin PR, Bruce IN, Isenberg D, Wallace DJ, Nived O, Sturfelt G, Ramsey-Goldman R, Bae SC, Hanly JG, Sánchez-Guerrero J, Clarke A, Aranow C, Manzi S, Urowitz M, Gladman D, Kalunian K, Costner M, Werth VP, Zoma A, Bernatsky S, Ruiz-Irastorza G, Khamashta MA, Jacobsen S, Buyon JP, Maddison P, Dooley MA, van Vollenhoven RF, Ginzler E, Stoll T, Peschken C, Jorizzo JL, Callen JP, Lim SS, Fessler BJ, Inanc M, Kamen DL, Rahman A, Steinsson K, Franks AG, Sigler L, Hameed S, Fang H, Pham N, Brey R, Weisman MH, McGwin G, Magder LS","doi":"10.1002/art.34473","id":"petri-2012","pmid":"22553077","source":"Arthritis Rheum. 2012;64(8):2677-2686","title":"Derivation and validation of the Systemic Lupus International Collaborating Clinics classification criteria for systemic lupus erythematosus"},"classified":true,"clinical_count":3,"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":"slicc_sle","formula_expression":"SLICC 2012 SLE classification (Petri Table 3 + classification rule): 11 clinical flags (acute_cutaneous_lupus, chronic_cutaneous_lupus, oral_or_nasal_ulcers, nonscarring_alopecia, synovitis, serositis, renal, neurologic, hemolytic_anemia, leukopenia_or_lymphopenia, thrombocytopenia) and 6 immunologic flags (ana, anti_dsdna, anti_sm, antiphospholipid, low_complement, direct_coombs). clinical_count = count of clinical flags that are true. immunologic_count = count of immunologic flags that are true, except direct_coombs counts only when hemolytic_anemia is false. nephritis_shortcut iff biopsy_lupus_nephritis and (ana or anti_dsdna). classified iff nephritis_shortcut or (clinical_count ≥1 and immunologic_count ≥1 and clinical_count + immunologic_count ≥4). Criteria need not be concurrent. Not a diagnosis. Not 1997 ACR. Not 2019 EULAR/ACR","immunologic_count":2,"nephritis_shortcut":false},{"citation":{"authors":"Petri M, Orbai AM, Alarcón GS, Gordon C, Merrill JT, Fortin PR, Bruce IN, Isenberg D, Wallace DJ, Nived O, Sturfelt G, Ramsey-Goldman R, Bae SC, Hanly JG, Sánchez-Guerrero J, Clarke A, Aranow C, Manzi S, Urowitz M, Gladman D, Kalunian K, Costner M, Werth VP, Zoma A, Bernatsky S, Ruiz-Irastorza G, Khamashta MA, Jacobsen S, Buyon JP, Maddison P, Dooley MA, van Vollenhoven RF, Ginzler E, Stoll T, Peschken C, Jorizzo JL, Callen JP, Lim SS, Fessler BJ, Inanc M, Kamen DL, Rahman A, Steinsson K, Franks AG, Sigler L, Hameed S, Fang H, Pham N, Brey R, Weisman MH, McGwin G, Magder LS","doi":"10.1002/art.34473","id":"petri-2012","pmid":"22553077","source":"Arthritis Rheum. 2012;64(8):2677-2686","title":"Derivation and validation of the Systemic Lupus International Collaborating Clinics classification criteria for systemic lupus erythematosus"},"classified":true,"clinical_count":3,"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":"slicc_sle","formula_expression":"SLICC 2012 SLE classification (Petri Table 3 + classification rule): 11 clinical flags (acute_cutaneous_lupus, chronic_cutaneous_lupus, oral_or_nasal_ulcers, nonscarring_alopecia, synovitis, serositis, renal, neurologic, hemolytic_anemia, leukopenia_or_lymphopenia, thrombocytopenia) and 6 immunologic flags (ana, anti_dsdna, anti_sm, antiphospholipid, low_complement, direct_coombs). clinical_count = count of clinical flags that are true. immunologic_count = count of immunologic flags that are true, except direct_coombs counts only when hemolytic_anemia is false. nephritis_shortcut iff biopsy_lupus_nephritis and (ana or anti_dsdna). classified iff nephritis_shortcut or (clinical_count ≥1 and immunologic_count ≥1 and clinical_count + immunologic_count ≥4). Criteria need not be concurrent. Not a diagnosis. Not 1997 ACR. Not 2019 EULAR/ACR","immunologic_count":2,"nephritis_shortcut":false}],"path":"/api/calc/slicc_sle"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_cutaneous_lupus":{"description":"Acute cutaneous lupus as assigned by the caller (Petri 2012 Table 3): lupus malar rash (do not count if malar discoid), bullous lupus, toxic epidermal necrolysis variant of SLE, maculopapular lupus rash, photosensitive lupus rash in the absence of dermatomyositis, or subacute cutaneous lupus. true or false. magent does not examine skin.","type":"boolean"},"ana":{"description":"ANA above laboratory reference range as assigned by the caller (Petri 2012 Table 3). With biopsy_lupus_nephritis (or anti_dsdna), fulfills the nephritis shortcut. true or false. magent does not assay ANA.","type":"boolean"},"anti_dsdna":{"description":"Anti-dsDNA above laboratory reference range (or >2-fold the reference range if tested by ELISA), as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay anti-dsDNA.","type":"boolean"},"anti_sm":{"description":"Antibody to Sm nuclear antigen as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay anti-Sm.","type":"boolean"},"antiphospholipid":{"description":"Antiphospholipid antibody positivity as assigned by the caller (Petri 2012 Table 3): lupus anticoagulant, false-positive rapid plasma reagin, medium- or high-titer anticardiolipin (IgA, IgG, or IgM), or anti-β2-glycoprotein I (IgA, IgG, or IgM). true or false. magent does not assay antiphospholipid antibodies.","type":"boolean"},"biopsy_lupus_nephritis":{"description":"Biopsy-proven nephritis compatible with SLE as assigned by the caller (Petri 2012 classification rule). With ANA or anti-dsDNA, classifies without four criteria. Distinct from the renal clinical item. true or false. magent does not read a biopsy.","type":"boolean"},"chronic_cutaneous_lupus":{"description":"Chronic cutaneous lupus as assigned by the caller (Petri 2012 Table 3): classic discoid (localized or generalized), hypertrophic (verrucous) lupus, lupus panniculitis (profundus), mucosal lupus, lupus erythematosus tumidus, chilblains lupus, or discoid lupus/lichen planus overlap. true or false. magent does not examine skin.","type":"boolean"},"direct_coombs":{"description":"Direct Coombs’ test as assigned by the caller (Petri 2012 Table 3). Counts toward immunologic_count only when hemolytic_anemia is false. true or false. magent does not run a Coombs test.","type":"boolean"},"hemolytic_anemia":{"description":"Hemolytic anemia as assigned by the caller (Petri 2012 Table 3). When true, direct_coombs does not count toward immunologic_count. true or false. magent does not assay hemolysis.","type":"boolean"},"leukopenia_or_lymphopenia":{"description":"Leukopenia (<4,000/mm³ at least once) in the absence of other known causes, or lymphopenia (<1,000/mm³ at least once) in the absence of other known causes, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay blood counts.","type":"boolean"},"low_complement":{"description":"Low C3, low C4, or low CH50 as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay complement.","type":"boolean"},"neurologic":{"description":"Neurologic criterion as assigned by the caller (Petri 2012 Table 3): seizures, psychosis, mononeuritis multiplex, myelitis, peripheral or cranial neuropathy, or acute confusional state, in the absence of other known causes. true or false. magent does not examine the nervous system.","type":"boolean"},"nonscarring_alopecia":{"description":"Nonscarring alopecia: diffuse thinning or hair fragility with visible broken hairs, in the absence of other causes, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not examine the scalp.","type":"boolean"},"oral_or_nasal_ulcers":{"description":"Oral ulcers (palate, buccal, tongue) or nasal ulcers, in the absence of other causes, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not examine mucosa.","type":"boolean"},"renal":{"description":"Renal clinical criterion as assigned by the caller (Petri 2012 Table 3): urine protein-to-creatinine ratio (or 24-hour urine protein) representing 500 mg protein/24 hours, or red blood cell casts. Distinct from biopsy_lupus_nephritis. true or false. magent does not assay urine.","type":"boolean"},"serositis":{"description":"Serositis as assigned by the caller (Petri 2012 Table 3): typical pleurisy >1 day or pleural effusion or pleural rub, or typical pericardial pain >1 day or pericardial effusion or pericardial rub or pericarditis by electrocardiography, in the absence of other causes. true or false. magent does not examine the chest.","type":"boolean"},"synovitis":{"description":"Synovitis involving 2 or more joints, characterized by swelling or effusion, or tenderness in 2 or more joints and at least 30 minutes of morning stiffness, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not examine joints.","type":"boolean"},"thrombocytopenia":{"description":"Thrombocytopenia (<100,000/mm³) at least once in the absence of other known causes, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay platelets.","type":"boolean"}},"required":["acute_cutaneous_lupus","chronic_cutaneous_lupus","oral_or_nasal_ulcers","nonscarring_alopecia","synovitis","serositis","renal","neurologic","hemolytic_anemia","leukopenia_or_lymphopenia","thrombocytopenia","ana","anti_dsdna","anti_sm","antiphospholipid","low_complement","direct_coombs","biopsy_lupus_nephritis"],"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":["slicc","sle","lupus","classification","emergency","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:35:52.804Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:35:52.657Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_cutaneous_lupus":true,"ana":true,"anti_dsdna":true,"anti_sm":false,"antiphospholipid":false,"biopsy_lupus_nephritis":false,"chronic_cutaneous_lupus":false,"direct_coombs":false,"hemolytic_anemia":false,"leukopenia_or_lymphopenia":false,"low_complement":false,"neurologic":false,"nonscarring_alopecia":false,"oral_or_nasal_ulcers":true,"renal":false,"serositis":false,"synovitis":true,"thrombocytopenia":false},{"acute_cutaneous_lupus":true,"ana":true,"anti_dsdna":true,"anti_sm":false,"antiphospholipid":false,"biopsy_lupus_nephritis":false,"chronic_cutaneous_lupus":false,"direct_coombs":false,"hemolytic_anemia":false,"leukopenia_or_lymphopenia":false,"low_complement":false,"neurologic":false,"nonscarring_alopecia":false,"oral_or_nasal_ulcers":true,"renal":false,"serositis":false,"synovitis":true,"thrombocytopenia":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Petri M, Orbai AM, Alarcón GS, Gordon C, Merrill JT, Fortin PR, Bruce IN, Isenberg D, Wallace DJ, Nived O, Sturfelt G, Ramsey-Goldman R, Bae SC, Hanly JG, Sánchez-Guerrero J, Clarke A, Aranow C, Manzi S, Urowitz M, Gladman D, Kalunian K, Costner M, Werth VP, Zoma A, Bernatsky S, Ruiz-Irastorza G, Khamashta MA, Jacobsen S, Buyon JP, Maddison P, Dooley MA, van Vollenhoven RF, Ginzler E, Stoll T, Peschken C, Jorizzo JL, Callen JP, Lim SS, Fessler BJ, Inanc M, Kamen DL, Rahman A, Steinsson K, Franks AG, Sigler L, Hameed S, Fang H, Pham N, Brey R, Weisman MH, McGwin G, Magder LS","doi":"10.1002/art.34473","id":"petri-2012","pmid":"22553077","source":"Arthritis Rheum. 2012;64(8):2677-2686","title":"Derivation and validation of the Systemic Lupus International Collaborating Clinics classification criteria for systemic lupus erythematosus"},"classified":true,"clinical_count":3,"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":"slicc_sle","formula_expression":"SLICC 2012 SLE classification (Petri Table 3 + classification rule): 11 clinical flags (acute_cutaneous_lupus, chronic_cutaneous_lupus, oral_or_nasal_ulcers, nonscarring_alopecia, synovitis, serositis, renal, neurologic, hemolytic_anemia, leukopenia_or_lymphopenia, thrombocytopenia) and 6 immunologic flags (ana, anti_dsdna, anti_sm, antiphospholipid, low_complement, direct_coombs). clinical_count = count of clinical flags that are true. immunologic_count = count of immunologic flags that are true, except direct_coombs counts only when hemolytic_anemia is false. nephritis_shortcut iff biopsy_lupus_nephritis and (ana or anti_dsdna). classified iff nephritis_shortcut or (clinical_count ≥1 and immunologic_count ≥1 and clinical_count + immunologic_count ≥4). Criteria need not be concurrent. Not a diagnosis. Not 1997 ACR. Not 2019 EULAR/ACR","immunologic_count":2,"nephritis_shortcut":false},{"citation":{"authors":"Petri M, Orbai AM, Alarcón GS, Gordon C, Merrill JT, Fortin PR, Bruce IN, Isenberg D, Wallace DJ, Nived O, Sturfelt G, Ramsey-Goldman R, Bae SC, Hanly JG, Sánchez-Guerrero J, Clarke A, Aranow C, Manzi S, Urowitz M, Gladman D, Kalunian K, Costner M, Werth VP, Zoma A, Bernatsky S, Ruiz-Irastorza G, Khamashta MA, Jacobsen S, Buyon JP, Maddison P, Dooley MA, van Vollenhoven RF, Ginzler E, Stoll T, Peschken C, Jorizzo JL, Callen JP, Lim SS, Fessler BJ, Inanc M, Kamen DL, Rahman A, Steinsson K, Franks AG, Sigler L, Hameed S, Fang H, Pham N, Brey R, Weisman MH, McGwin G, Magder LS","doi":"10.1002/art.34473","id":"petri-2012","pmid":"22553077","source":"Arthritis Rheum. 2012;64(8):2677-2686","title":"Derivation and validation of the Systemic Lupus International Collaborating Clinics classification criteria for systemic lupus erythematosus"},"classified":true,"clinical_count":3,"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":"slicc_sle","formula_expression":"SLICC 2012 SLE classification (Petri Table 3 + classification rule): 11 clinical flags (acute_cutaneous_lupus, chronic_cutaneous_lupus, oral_or_nasal_ulcers, nonscarring_alopecia, synovitis, serositis, renal, neurologic, hemolytic_anemia, leukopenia_or_lymphopenia, thrombocytopenia) and 6 immunologic flags (ana, anti_dsdna, anti_sm, antiphospholipid, low_complement, direct_coombs). clinical_count = count of clinical flags that are true. immunologic_count = count of immunologic flags that are true, except direct_coombs counts only when hemolytic_anemia is false. nephritis_shortcut iff biopsy_lupus_nephritis and (ana or anti_dsdna). classified iff nephritis_shortcut or (clinical_count ≥1 and immunologic_count ≥1 and clinical_count + immunologic_count ≥4). Criteria need not be concurrent. Not a diagnosis. Not 1997 ACR. Not 2019 EULAR/ACR","immunologic_count":2,"nephritis_shortcut":false}],"path":"/api/calc/slicc_sle"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_cutaneous_lupus":{"description":"Acute cutaneous lupus as assigned by the caller (Petri 2012 Table 3): lupus malar rash (do not count if malar discoid), bullous lupus, toxic epidermal necrolysis variant of SLE, maculopapular lupus rash, photosensitive lupus rash in the absence of dermatomyositis, or subacute cutaneous lupus. true or false. magent does not examine skin.","type":"boolean"},"ana":{"description":"ANA above laboratory reference range as assigned by the caller (Petri 2012 Table 3). With biopsy_lupus_nephritis (or anti_dsdna), fulfills the nephritis shortcut. true or false. magent does not assay ANA.","type":"boolean"},"anti_dsdna":{"description":"Anti-dsDNA above laboratory reference range (or >2-fold the reference range if tested by ELISA), as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay anti-dsDNA.","type":"boolean"},"anti_sm":{"description":"Antibody to Sm nuclear antigen as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay anti-Sm.","type":"boolean"},"antiphospholipid":{"description":"Antiphospholipid antibody positivity as assigned by the caller (Petri 2012 Table 3): lupus anticoagulant, false-positive rapid plasma reagin, medium- or high-titer anticardiolipin (IgA, IgG, or IgM), or anti-β2-glycoprotein I (IgA, IgG, or IgM). true or false. magent does not assay antiphospholipid antibodies.","type":"boolean"},"biopsy_lupus_nephritis":{"description":"Biopsy-proven nephritis compatible with SLE as assigned by the caller (Petri 2012 classification rule). With ANA or anti-dsDNA, classifies without four criteria. Distinct from the renal clinical item. true or false. magent does not read a biopsy.","type":"boolean"},"chronic_cutaneous_lupus":{"description":"Chronic cutaneous lupus as assigned by the caller (Petri 2012 Table 3): classic discoid (localized or generalized), hypertrophic (verrucous) lupus, lupus panniculitis (profundus), mucosal lupus, lupus erythematosus tumidus, chilblains lupus, or discoid lupus/lichen planus overlap. true or false. magent does not examine skin.","type":"boolean"},"direct_coombs":{"description":"Direct Coombs’ test as assigned by the caller (Petri 2012 Table 3). Counts toward immunologic_count only when hemolytic_anemia is false. true or false. magent does not run a Coombs test.","type":"boolean"},"hemolytic_anemia":{"description":"Hemolytic anemia as assigned by the caller (Petri 2012 Table 3). When true, direct_coombs does not count toward immunologic_count. true or false. magent does not assay hemolysis.","type":"boolean"},"leukopenia_or_lymphopenia":{"description":"Leukopenia (<4,000/mm³ at least once) in the absence of other known causes, or lymphopenia (<1,000/mm³ at least once) in the absence of other known causes, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay blood counts.","type":"boolean"},"low_complement":{"description":"Low C3, low C4, or low CH50 as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay complement.","type":"boolean"},"neurologic":{"description":"Neurologic criterion as assigned by the caller (Petri 2012 Table 3): seizures, psychosis, mononeuritis multiplex, myelitis, peripheral or cranial neuropathy, or acute confusional state, in the absence of other known causes. true or false. magent does not examine the nervous system.","type":"boolean"},"nonscarring_alopecia":{"description":"Nonscarring alopecia: diffuse thinning or hair fragility with visible broken hairs, in the absence of other causes, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not examine the scalp.","type":"boolean"},"oral_or_nasal_ulcers":{"description":"Oral ulcers (palate, buccal, tongue) or nasal ulcers, in the absence of other causes, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not examine mucosa.","type":"boolean"},"renal":{"description":"Renal clinical criterion as assigned by the caller (Petri 2012 Table 3): urine protein-to-creatinine ratio (or 24-hour urine protein) representing 500 mg protein/24 hours, or red blood cell casts. Distinct from biopsy_lupus_nephritis. true or false. magent does not assay urine.","type":"boolean"},"serositis":{"description":"Serositis as assigned by the caller (Petri 2012 Table 3): typical pleurisy >1 day or pleural effusion or pleural rub, or typical pericardial pain >1 day or pericardial effusion or pericardial rub or pericarditis by electrocardiography, in the absence of other causes. true or false. magent does not examine the chest.","type":"boolean"},"synovitis":{"description":"Synovitis involving 2 or more joints, characterized by swelling or effusion, or tenderness in 2 or more joints and at least 30 minutes of morning stiffness, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not examine joints.","type":"boolean"},"thrombocytopenia":{"description":"Thrombocytopenia (<100,000/mm³) at least once in the absence of other known causes, as assigned by the caller (Petri 2012 Table 3). true or false. magent does not assay platelets.","type":"boolean"}},"required":["acute_cutaneous_lupus","chronic_cutaneous_lupus","oral_or_nasal_ulcers","nonscarring_alopecia","synovitis","serositis","renal","neurologic","hemolytic_anemia","leukopenia_or_lymphopenia","thrombocytopenia","ana","anti_dsdna","anti_sm","antiphospholipid","low_complement","direct_coombs","biopsy_lupus_nephritis"],"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},{"id":39530,"slug":"39530","resource":"https://api.magentlab.com/api/calc/acr_eular_gout","description":"ACR/EULAR 2015 gout classification (Neogi). MSU crystals classify without score ≥8; else score ≥8 (max 23). Pattern 0/1/2, characteristics 0–3, time course 0/1/2, tophus 4, urate −4 to 4, MSU-negative −2, imaging 4+4. Not a diagnosis. Not Janssens 2010. magent does not examine joints or polarizing microscopy.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"characteristics":0,"entry_criterion":true,"imaging_erosion":"absent_or_not_done","imaging_urate":"absent_or_not_done","pattern":"other","sufficient_msu":false,"synovial":"not_done","time_course":"none","tophus":false,"uric_acid_mg_dl":5,"uric_acid_umol_l":300},{"characteristics":0,"entry_criterion":true,"imaging_erosion":"absent_or_not_done","imaging_urate":"absent_or_not_done","pattern":"other","sufficient_msu":false,"synovial":"not_done","time_course":"none","tophus":false,"uric_acid_mg_dl":5,"uric_acid_umol_l":300}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Neogi T, Jansen TLTA, Dalbeth N, Fransen J, Schumacher HR, Berendsen D, Brown M, Choi H, Edwards NL, Janssens HJEM, Lioté F, Naden RP, Nuki G, Ogdie A, Perez-Ruiz F, Saag K, Singh JA, Sundy JS, Tausche AK, Vazquez-Mellado J, Yarows SA, Taylor WJ","doi":"10.1002/art.39254","id":"neogi-2015","pmid":"26352873","source":"Arthritis Rheumatol. 2015;67(10):2557-2568","title":"2015 Gout Classification Criteria: an American College of Rheumatology/European League Against Rheumatism collaborative initiative"},"classified_gout":false,"components":[{"factor":"pattern","points":0,"present":true,"value":"other"},{"factor":"characteristics","points":0,"present":true,"value":0},{"factor":"time_course","points":0,"present":true,"value":"none"},{"factor":"tophus","points":0,"present":true,"value":false},{"factor":"serum_urate","points":0,"present":true,"value":5},{"factor":"synovial","points":0,"present":true,"value":"not_done"},{"factor":"imaging_urate","points":0,"present":true,"value":"absent_or_not_done"},{"factor":"imaging_erosion","points":0,"present":true,"value":"absent_or_not_done"}],"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":"acr_eular_gout","formula_expression":"ACR/EULAR 2015 gout classification (Neogi Table 2): entry (episode of swelling, pain, or tenderness in a peripheral joint or bursa) required; sufficient MSU in a symptomatic joint/bursa or tophus classifies without score ≥8; else score ≥8 classifies. Score = pattern (other 0, ankle_midfoot 1, mtp1 2) + characteristics 0-3 + time_course (none 0, one_typical 1, recurrent 2) + tophus true 4 + serum urate (<4 mg/dL or <0.24 mmol/L −4; ≥4–<6 or ≥0.24–<0.36 0; 6–<8 or 0.36–<0.48 2; 8–<10 or 0.48–<0.60 3; ≥10 or ≥0.60 4) + synovial (not_done 0, msu_negative −2) + imaging_urate present 4 + imaging_erosion present 4; max 23. Not a diagnosis. Not Janssens 2010","gout_band":"not_classified","max_score":23,"score":0,"sufficient_criterion":false},{"citation":{"authors":"Neogi T, Jansen TLTA, Dalbeth N, Fransen J, Schumacher HR, Berendsen D, Brown M, Choi H, Edwards NL, Janssens HJEM, Lioté F, Naden RP, Nuki G, Ogdie A, Perez-Ruiz F, Saag K, Singh JA, Sundy JS, Tausche AK, Vazquez-Mellado J, Yarows SA, Taylor WJ","doi":"10.1002/art.39254","id":"neogi-2015","pmid":"26352873","source":"Arthritis Rheumatol. 2015;67(10):2557-2568","title":"2015 Gout Classification Criteria: an American College of Rheumatology/European League Against Rheumatism collaborative initiative"},"classified_gout":false,"components":[{"factor":"pattern","points":0,"present":true,"value":"other"},{"factor":"characteristics","points":0,"present":true,"value":0},{"factor":"time_course","points":0,"present":true,"value":"none"},{"factor":"tophus","points":0,"present":true,"value":false},{"factor":"serum_urate","points":0,"present":true,"value":5},{"factor":"synovial","points":0,"present":true,"value":"not_done"},{"factor":"imaging_urate","points":0,"present":true,"value":"absent_or_not_done"},{"factor":"imaging_erosion","points":0,"present":true,"value":"absent_or_not_done"}],"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":"acr_eular_gout","formula_expression":"ACR/EULAR 2015 gout classification (Neogi Table 2): entry (episode of swelling, pain, or tenderness in a peripheral joint or bursa) required; sufficient MSU in a symptomatic joint/bursa or tophus classifies without score ≥8; else score ≥8 classifies. Score = pattern (other 0, ankle_midfoot 1, mtp1 2) + characteristics 0-3 + time_course (none 0, one_typical 1, recurrent 2) + tophus true 4 + serum urate (<4 mg/dL or <0.24 mmol/L −4; ≥4–<6 or ≥0.24–<0.36 0; 6–<8 or 0.36–<0.48 2; 8–<10 or 0.48–<0.60 3; ≥10 or ≥0.60 4) + synovial (not_done 0, msu_negative −2) + imaging_urate present 4 + imaging_erosion present 4; max 23. Not a diagnosis. Not Janssens 2010","gout_band":"not_classified","max_score":23,"score":0,"sufficient_criterion":false}],"path":"/api/calc/acr_eular_gout"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"characteristics":{"description":"Count (0-3) of symptomatic-episode characteristics ever: erythema overlying the affected joint; cannot bear touch or pressure; great difficulty walking or inability to use the affected joint (Neogi 2015). Points equal the count. magent does not examine joints.","enum":[0,1,2,3],"type":"integer"},"entry_criterion":{"description":"Must be true. ACR/EULAR 2015 entry: at least one episode of swelling, pain, or tenderness in a peripheral joint or bursa. false is invalid. magent does not examine joints.","type":"boolean"},"imaging_erosion":{"description":"Conventional radiograph of hands and/or feet with ≥1 gout-related erosion (cortical break with sclerotic margin and overhanging edge; excludes DIP joints and gull-wing) (Neogi 2015). present scores 4; absent_or_not_done scores 0. magent does not read radiographs.","enum":["absent_or_not_done","present"],"type":"string"},"imaging_urate":{"description":"Imaging evidence of urate deposition (ultrasound double-contour or DECT urate) in a symptomatic (ever) joint/bursa (Neogi 2015). present scores 4. If imaging is not available, absent_or_not_done scores 0. magent does not read imaging.","enum":["absent_or_not_done","present"],"type":"string"},"pattern":{"description":"Pattern of joint/bursa involvement ever, monoarticular or oligoarticular unless other (Neogi 2015). other (joints/bursa other than ankle, midfoot, or 1st MTP, or only as part of a polyarticular presentation) scores 0. ankle_midfoot (ankle or midfoot without 1st MTP) scores 1. mtp1 (1st MTP) scores 2. magent does not examine joints.","enum":["other","ankle_midfoot","mtp1"],"type":"string"},"sufficient_msu":{"description":"Presence of MSU crystals in a symptomatic joint or bursa (synovial fluid) or tophus (Neogi 2015 Step 2). true classifies gout without requiring score ≥8. magent does not perform polarizing microscopy.","type":"boolean"},"synovial":{"description":"Synovial fluid of a symptomatic (ever) joint/bursa, trained observer (Neogi 2015). not_done scores 0; msu_negative scores −2. MSU-positive is sufficient_msu, not this field. magent does not perform polarizing microscopy.","enum":["not_done","msu_negative"],"type":"string"},"time_course":{"description":"Time course of episode(s) ever (Neogi 2015). A typical episode has ≥2 of: time to maximum pain <24 h; resolution ≤14 days; complete resolution between episodes. none scores 0; one_typical scores 1; recurrent scores 2. magent does not take a history.","enum":["none","one_typical","recurrent"],"type":"string"},"tophus":{"description":"Clinical evidence of tophus: draining or chalk-like subcutaneous nodule under transparent skin, often with overlying vascularity, in typical locations (joints, ears, olecranon bursae, finger pads, tendons e.g. Achilles) (Neogi 2015). true scores 4; false scores 0. magent does not examine joints.","type":"boolean"},"uric_acid_mg_dl":{"description":"Highest serum urate in mg/dL (uricase method; 1-20). Provide this or uric_acid_umol_l, not both. <4 scores −4; ≥4 and <6 scores 0; 6–<8 scores 2; 8–<10 scores 3; ≥10 scores 4. magent does not assay uric acid.","type":"number"},"uric_acid_umol_l":{"description":"Highest serum urate in µmol/L (uricase method; 60-1190). Provide this or uric_acid_mg_dl, not both. mmol/L = µmol/L / 1000. <0.24 scores −4; ≥0.24 and <0.36 scores 0; 0.36–<0.48 scores 2; 0.48–<0.60 scores 3; ≥0.60 scores 4. magent does not assay uric acid.","type":"number"}},"required":["entry_criterion","sufficient_msu","pattern","characteristics","time_course","tophus","synovial","imaging_urate","imaging_erosion"],"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":["gout","acr-eular","classification","emergency","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:35:05.366Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:35:05.23Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"characteristics":0,"entry_criterion":true,"imaging_erosion":"absent_or_not_done","imaging_urate":"absent_or_not_done","pattern":"other","sufficient_msu":false,"synovial":"not_done","time_course":"none","tophus":false,"uric_acid_mg_dl":5,"uric_acid_umol_l":300},{"characteristics":0,"entry_criterion":true,"imaging_erosion":"absent_or_not_done","imaging_urate":"absent_or_not_done","pattern":"other","sufficient_msu":false,"synovial":"not_done","time_course":"none","tophus":false,"uric_acid_mg_dl":5,"uric_acid_umol_l":300}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Neogi T, Jansen TLTA, Dalbeth N, Fransen J, Schumacher HR, Berendsen D, Brown M, Choi H, Edwards NL, Janssens HJEM, Lioté F, Naden RP, Nuki G, Ogdie A, Perez-Ruiz F, Saag K, Singh JA, Sundy JS, Tausche AK, Vazquez-Mellado J, Yarows SA, Taylor WJ","doi":"10.1002/art.39254","id":"neogi-2015","pmid":"26352873","source":"Arthritis Rheumatol. 2015;67(10):2557-2568","title":"2015 Gout Classification Criteria: an American College of Rheumatology/European League Against Rheumatism collaborative initiative"},"classified_gout":false,"components":[{"factor":"pattern","points":0,"present":true,"value":"other"},{"factor":"characteristics","points":0,"present":true,"value":0},{"factor":"time_course","points":0,"present":true,"value":"none"},{"factor":"tophus","points":0,"present":true,"value":false},{"factor":"serum_urate","points":0,"present":true,"value":5},{"factor":"synovial","points":0,"present":true,"value":"not_done"},{"factor":"imaging_urate","points":0,"present":true,"value":"absent_or_not_done"},{"factor":"imaging_erosion","points":0,"present":true,"value":"absent_or_not_done"}],"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":"acr_eular_gout","formula_expression":"ACR/EULAR 2015 gout classification (Neogi Table 2): entry (episode of swelling, pain, or tenderness in a peripheral joint or bursa) required; sufficient MSU in a symptomatic joint/bursa or tophus classifies without score ≥8; else score ≥8 classifies. Score = pattern (other 0, ankle_midfoot 1, mtp1 2) + characteristics 0-3 + time_course (none 0, one_typical 1, recurrent 2) + tophus true 4 + serum urate (<4 mg/dL or <0.24 mmol/L −4; ≥4–<6 or ≥0.24–<0.36 0; 6–<8 or 0.36–<0.48 2; 8–<10 or 0.48–<0.60 3; ≥10 or ≥0.60 4) + synovial (not_done 0, msu_negative −2) + imaging_urate present 4 + imaging_erosion present 4; max 23. Not a diagnosis. Not Janssens 2010","gout_band":"not_classified","max_score":23,"score":0,"sufficient_criterion":false},{"citation":{"authors":"Neogi T, Jansen TLTA, Dalbeth N, Fransen J, Schumacher HR, Berendsen D, Brown M, Choi H, Edwards NL, Janssens HJEM, Lioté F, Naden RP, Nuki G, Ogdie A, Perez-Ruiz F, Saag K, Singh JA, Sundy JS, Tausche AK, Vazquez-Mellado J, Yarows SA, Taylor WJ","doi":"10.1002/art.39254","id":"neogi-2015","pmid":"26352873","source":"Arthritis Rheumatol. 2015;67(10):2557-2568","title":"2015 Gout Classification Criteria: an American College of Rheumatology/European League Against Rheumatism collaborative initiative"},"classified_gout":false,"components":[{"factor":"pattern","points":0,"present":true,"value":"other"},{"factor":"characteristics","points":0,"present":true,"value":0},{"factor":"time_course","points":0,"present":true,"value":"none"},{"factor":"tophus","points":0,"present":true,"value":false},{"factor":"serum_urate","points":0,"present":true,"value":5},{"factor":"synovial","points":0,"present":true,"value":"not_done"},{"factor":"imaging_urate","points":0,"present":true,"value":"absent_or_not_done"},{"factor":"imaging_erosion","points":0,"present":true,"value":"absent_or_not_done"}],"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":"acr_eular_gout","formula_expression":"ACR/EULAR 2015 gout classification (Neogi Table 2): entry (episode of swelling, pain, or tenderness in a peripheral joint or bursa) required; sufficient MSU in a symptomatic joint/bursa or tophus classifies without score ≥8; else score ≥8 classifies. Score = pattern (other 0, ankle_midfoot 1, mtp1 2) + characteristics 0-3 + time_course (none 0, one_typical 1, recurrent 2) + tophus true 4 + serum urate (<4 mg/dL or <0.24 mmol/L −4; ≥4–<6 or ≥0.24–<0.36 0; 6–<8 or 0.36–<0.48 2; 8–<10 or 0.48–<0.60 3; ≥10 or ≥0.60 4) + synovial (not_done 0, msu_negative −2) + imaging_urate present 4 + imaging_erosion present 4; max 23. Not a diagnosis. Not Janssens 2010","gout_band":"not_classified","max_score":23,"score":0,"sufficient_criterion":false}],"path":"/api/calc/acr_eular_gout"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"characteristics":{"description":"Count (0-3) of symptomatic-episode characteristics ever: erythema overlying the affected joint; cannot bear touch or pressure; great difficulty walking or inability to use the affected joint (Neogi 2015). Points equal the count. magent does not examine joints.","enum":[0,1,2,3],"type":"integer"},"entry_criterion":{"description":"Must be true. ACR/EULAR 2015 entry: at least one episode of swelling, pain, or tenderness in a peripheral joint or bursa. false is invalid. magent does not examine joints.","type":"boolean"},"imaging_erosion":{"description":"Conventional radiograph of hands and/or feet with ≥1 gout-related erosion (cortical break with sclerotic margin and overhanging edge; excludes DIP joints and gull-wing) (Neogi 2015). present scores 4; absent_or_not_done scores 0. magent does not read radiographs.","enum":["absent_or_not_done","present"],"type":"string"},"imaging_urate":{"description":"Imaging evidence of urate deposition (ultrasound double-contour or DECT urate) in a symptomatic (ever) joint/bursa (Neogi 2015). present scores 4. If imaging is not available, absent_or_not_done scores 0. magent does not read imaging.","enum":["absent_or_not_done","present"],"type":"string"},"pattern":{"description":"Pattern of joint/bursa involvement ever, monoarticular or oligoarticular unless other (Neogi 2015). other (joints/bursa other than ankle, midfoot, or 1st MTP, or only as part of a polyarticular presentation) scores 0. ankle_midfoot (ankle or midfoot without 1st MTP) scores 1. mtp1 (1st MTP) scores 2. magent does not examine joints.","enum":["other","ankle_midfoot","mtp1"],"type":"string"},"sufficient_msu":{"description":"Presence of MSU crystals in a symptomatic joint or bursa (synovial fluid) or tophus (Neogi 2015 Step 2). true classifies gout without requiring score ≥8. magent does not perform polarizing microscopy.","type":"boolean"},"synovial":{"description":"Synovial fluid of a symptomatic (ever) joint/bursa, trained observer (Neogi 2015). not_done scores 0; msu_negative scores −2. MSU-positive is sufficient_msu, not this field. magent does not perform polarizing microscopy.","enum":["not_done","msu_negative"],"type":"string"},"time_course":{"description":"Time course of episode(s) ever (Neogi 2015). A typical episode has ≥2 of: time to maximum pain <24 h; resolution ≤14 days; complete resolution between episodes. none scores 0; one_typical scores 1; recurrent scores 2. magent does not take a history.","enum":["none","one_typical","recurrent"],"type":"string"},"tophus":{"description":"Clinical evidence of tophus: draining or chalk-like subcutaneous nodule under transparent skin, often with overlying vascularity, in typical locations (joints, ears, olecranon bursae, finger pads, tendons e.g. Achilles) (Neogi 2015). true scores 4; false scores 0. magent does not examine joints.","type":"boolean"},"uric_acid_mg_dl":{"description":"Highest serum urate in mg/dL (uricase method; 1-20). Provide this or uric_acid_umol_l, not both. <4 scores −4; ≥4 and <6 scores 0; 6–<8 scores 2; 8–<10 scores 3; ≥10 scores 4. magent does not assay uric acid.","type":"number"},"uric_acid_umol_l":{"description":"Highest serum urate in µmol/L (uricase method; 60-1190). Provide this or uric_acid_mg_dl, not both. mmol/L = µmol/L / 1000. <0.24 scores −4; ≥0.24 and <0.36 scores 0; 0.36–<0.48 scores 2; 0.48–<0.60 scores 3; ≥0.60 scores 4. magent does not assay uric acid.","type":"number"}},"required":["entry_criterion","sufficient_msu","pattern","characteristics","time_course","tophus","synovial","imaging_urate","imaging_erosion"],"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},{"id":39531,"slug":"39531","resource":"https://api.magentlab.com/api/calc/gout_rule","description":"Janssens 2010 diagnostic rule for acute gouty arthritis without joint fluid: male 2, previous arthritis attack 2, onset within 1 day 0.5, joint redness 1, MTP1 2.5, hypertension or CVD 1.5, uric acid >5.88 mg/dL or >350 µmol/L 3.5; max 13. Low ≤4, intermediate 4.5–7.5, high ≥8. uric_acid_mg_dl or uric_acid_umol_l, not both. Deterministic published score; not a gout diagnosis; magent does not examine joints or replace synovial crystal analysis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hypertension_or_cvd":false,"joint_redness":false,"mtp1_involvement":false,"onset_within_1_day":false,"previous_arthritis_attack":false,"sex":"female","uric_acid_mg_dl":5,"uric_acid_umol_l":300},{"hypertension_or_cvd":false,"joint_redness":false,"mtp1_involvement":false,"onset_within_1_day":false,"previous_arthritis_attack":false,"sex":"female","uric_acid_mg_dl":5,"uric_acid_umol_l":300}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Janssens HJEM, Fransen J, van de Lisdonk EH, van Riel PLCM, van Weel C, Janssen M","doi":"10.1001/archinternmed.2010.196","id":"janssens-2010","pmid":"20625017","source":"Arch Intern Med. 2010;170(13):1120-1126","title":"A diagnostic rule for acute gouty arthritis in primary care without joint fluid analysis"},"components":[{"factor":"male","points":0,"present":false},{"factor":"previous_arthritis_attack","points":0,"present":false},{"factor":"onset_within_1_day","points":0,"present":false},{"factor":"joint_redness","points":0,"present":false},{"factor":"mtp1_involvement","points":0,"present":false},{"factor":"hypertension_or_cvd","points":0,"present":false},{"factor":"uric_acid","points":0,"present":false,"value":5}],"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":"gout_rule","formula_expression":"gout_rule = 2*male + 2*previous_arthritis_attack + 0.5*onset_within_1_day + 1*joint_redness + 2.5*mtp1_involvement + 1.5*hypertension_or_cvd + 3.5*(uric_acid_mg_dl>5.88 | uric_acid_umol_l>350); Janssens 2010; max 13; low ≤4, intermediate 4.5-7.5, high ≥8","gout_band":"low","max_score":13,"score":0},{"citation":{"authors":"Janssens HJEM, Fransen J, van de Lisdonk EH, van Riel PLCM, van Weel C, Janssen M","doi":"10.1001/archinternmed.2010.196","id":"janssens-2010","pmid":"20625017","source":"Arch Intern Med. 2010;170(13):1120-1126","title":"A diagnostic rule for acute gouty arthritis in primary care without joint fluid analysis"},"components":[{"factor":"male","points":0,"present":false},{"factor":"previous_arthritis_attack","points":0,"present":false},{"factor":"onset_within_1_day","points":0,"present":false},{"factor":"joint_redness","points":0,"present":false},{"factor":"mtp1_involvement","points":0,"present":false},{"factor":"hypertension_or_cvd","points":0,"present":false},{"factor":"uric_acid","points":0,"present":false,"value":5}],"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":"gout_rule","formula_expression":"gout_rule = 2*male + 2*previous_arthritis_attack + 0.5*onset_within_1_day + 1*joint_redness + 2.5*mtp1_involvement + 1.5*hypertension_or_cvd + 3.5*(uric_acid_mg_dl>5.88 | uric_acid_umol_l>350); Janssens 2010; max 13; low ≤4, intermediate 4.5-7.5, high ≥8","gout_band":"low","max_score":13,"score":0}],"path":"/api/calc/gout_rule"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hypertension_or_cvd":{"description":"Hypertension or one or more cardiovascular diseases (Janssens 2010). true scores 1.5. magent does not diagnose hypertension or cardiovascular disease.","type":"boolean"},"joint_redness":{"description":"Joint redness as assigned by the caller (Janssens 2010). true scores 1.0. magent does not examine joints.","type":"boolean"},"mtp1_involvement":{"description":"Involvement of the first metatarsophalangeal joint (Janssens 2010). true scores 2.5. magent does not examine joints.","type":"boolean"},"onset_within_1_day":{"description":"Onset within 1 day (Janssens 2010). true scores 0.5. magent does not timestamp onset.","type":"boolean"},"previous_arthritis_attack":{"description":"Previous patient-reported arthritis attack (Janssens 2010). true scores 2.0. magent does not take a history.","type":"boolean"},"sex":{"description":"Caller-assigned sex (Janssens 2010). male scores 2.0; female scores 0. magent does not assign sex.","enum":["female","male"],"type":"string"},"uric_acid_mg_dl":{"description":"Serum uric acid in mg/dL (1-20). Provide this or uric_acid_umol_l, not both. Scores 3.5 when >5.88; 5.88 does not score. magent does not assay uric acid.","type":"number"},"uric_acid_umol_l":{"description":"Serum uric acid in µmol/L (60-1190). Provide this or uric_acid_mg_dl, not both. Scores 3.5 when >350; 350 does not score. magent does not assay uric acid.","type":"number"}},"required":["sex","previous_arthritis_attack","onset_within_1_day","joint_redness","mtp1_involvement","hypertension_or_cvd"],"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":["gout","arthritis","emergency","uric-acid","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:34:58.375Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:34:58.246Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hypertension_or_cvd":false,"joint_redness":false,"mtp1_involvement":false,"onset_within_1_day":false,"previous_arthritis_attack":false,"sex":"female","uric_acid_mg_dl":5,"uric_acid_umol_l":300},{"hypertension_or_cvd":false,"joint_redness":false,"mtp1_involvement":false,"onset_within_1_day":false,"previous_arthritis_attack":false,"sex":"female","uric_acid_mg_dl":5,"uric_acid_umol_l":300}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Janssens HJEM, Fransen J, van de Lisdonk EH, van Riel PLCM, van Weel C, Janssen M","doi":"10.1001/archinternmed.2010.196","id":"janssens-2010","pmid":"20625017","source":"Arch Intern Med. 2010;170(13):1120-1126","title":"A diagnostic rule for acute gouty arthritis in primary care without joint fluid analysis"},"components":[{"factor":"male","points":0,"present":false},{"factor":"previous_arthritis_attack","points":0,"present":false},{"factor":"onset_within_1_day","points":0,"present":false},{"factor":"joint_redness","points":0,"present":false},{"factor":"mtp1_involvement","points":0,"present":false},{"factor":"hypertension_or_cvd","points":0,"present":false},{"factor":"uric_acid","points":0,"present":false,"value":5}],"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":"gout_rule","formula_expression":"gout_rule = 2*male + 2*previous_arthritis_attack + 0.5*onset_within_1_day + 1*joint_redness + 2.5*mtp1_involvement + 1.5*hypertension_or_cvd + 3.5*(uric_acid_mg_dl>5.88 | uric_acid_umol_l>350); Janssens 2010; max 13; low ≤4, intermediate 4.5-7.5, high ≥8","gout_band":"low","max_score":13,"score":0},{"citation":{"authors":"Janssens HJEM, Fransen J, van de Lisdonk EH, van Riel PLCM, van Weel C, Janssen M","doi":"10.1001/archinternmed.2010.196","id":"janssens-2010","pmid":"20625017","source":"Arch Intern Med. 2010;170(13):1120-1126","title":"A diagnostic rule for acute gouty arthritis in primary care without joint fluid analysis"},"components":[{"factor":"male","points":0,"present":false},{"factor":"previous_arthritis_attack","points":0,"present":false},{"factor":"onset_within_1_day","points":0,"present":false},{"factor":"joint_redness","points":0,"present":false},{"factor":"mtp1_involvement","points":0,"present":false},{"factor":"hypertension_or_cvd","points":0,"present":false},{"factor":"uric_acid","points":0,"present":false,"value":5}],"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":"gout_rule","formula_expression":"gout_rule = 2*male + 2*previous_arthritis_attack + 0.5*onset_within_1_day + 1*joint_redness + 2.5*mtp1_involvement + 1.5*hypertension_or_cvd + 3.5*(uric_acid_mg_dl>5.88 | uric_acid_umol_l>350); Janssens 2010; max 13; low ≤4, intermediate 4.5-7.5, high ≥8","gout_band":"low","max_score":13,"score":0}],"path":"/api/calc/gout_rule"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hypertension_or_cvd":{"description":"Hypertension or one or more cardiovascular diseases (Janssens 2010). true scores 1.5. magent does not diagnose hypertension or cardiovascular disease.","type":"boolean"},"joint_redness":{"description":"Joint redness as assigned by the caller (Janssens 2010). true scores 1.0. magent does not examine joints.","type":"boolean"},"mtp1_involvement":{"description":"Involvement of the first metatarsophalangeal joint (Janssens 2010). true scores 2.5. magent does not examine joints.","type":"boolean"},"onset_within_1_day":{"description":"Onset within 1 day (Janssens 2010). true scores 0.5. magent does not timestamp onset.","type":"boolean"},"previous_arthritis_attack":{"description":"Previous patient-reported arthritis attack (Janssens 2010). true scores 2.0. magent does not take a history.","type":"boolean"},"sex":{"description":"Caller-assigned sex (Janssens 2010). male scores 2.0; female scores 0. magent does not assign sex.","enum":["female","male"],"type":"string"},"uric_acid_mg_dl":{"description":"Serum uric acid in mg/dL (1-20). Provide this or uric_acid_umol_l, not both. Scores 3.5 when >5.88; 5.88 does not score. magent does not assay uric acid.","type":"number"},"uric_acid_umol_l":{"description":"Serum uric acid in µmol/L (60-1190). Provide this or uric_acid_mg_dl, not both. Scores 3.5 when >350; 350 does not score. magent does not assay uric acid.","type":"number"}},"required":["sex","previous_arthritis_attack","onset_within_1_day","joint_redness","mtp1_involvement","hypertension_or_cvd"],"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},{"id":39532,"slug":"39532","resource":"https://api.magentlab.com/api/calc/tash","description":"Yücel 2006 TASH (Trauma Associated Severe Hemorrhage): seven independent nested less-than point bands for arrival SBP, hemoglobin, intra-abdominal fluid, complex long-bone/pelvic fracture AIS, heart rate, base excess, and male sex; max 28. Highest matching band only (do not stack). Deterministic published arithmetic with citation; not a transfusion or MTP order; not ABC (assessment of blood consumption). Caller assigns FAST and AIS; magent does not read imaging.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"base_excess_mmol_l":-4,"fracture_ais":3,"heart_rate_bpm":110,"hemoglobin_g_dl":10.5,"hemoglobin_g_l":105,"intra_abdominal_fluid":false,"sex":"male","systolic_mm_hg":110},{"base_excess_mmol_l":-4,"fracture_ais":3,"heart_rate_bpm":110,"hemoglobin_g_dl":10.5,"hemoglobin_g_l":105,"intra_abdominal_fluid":false,"sex":"male","systolic_mm_hg":110}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"base_excess_mmol_l":-4,"citation":{"authors":"Yücel N, Lefering R, Maegele M, et al.","doi":"10.1097/01.ta.0000220386.84012.bf","id":"yucel-2006","pmid":"16766965","source":"J Trauma. 2006;60(6):1228-1236","title":"Trauma Associated Severe Hemorrhage (TASH)-Score: probability of mass transfusion as surrogate for life threatening hemorrhage after multiple trauma"},"components":[{"factor":"systolic","points":1,"present":true,"value":110},{"factor":"hemoglobin","points":3,"present":true,"value":10.5},{"factor":"intra_abdominal_fluid","points":0,"present":false},{"factor":"fracture_ais","points":3,"present":true,"value":3},{"factor":"heart_rate","points":0,"present":false,"value":110},{"factor":"base_excess","points":1,"present":true,"value":-4},{"factor":"male","points":1,"present":true,"value":"male"}],"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":"tash","formula_expression":"TASH = SBP (<100:4, <120:1) + Hb g/dL (<7:8, <9:6, <10:4, <11:3, <12:2) + intra-abdominal fluid 3 + fracture AIS (3-4:3, 5:6) + HR>120:2 + BE mmol/L (<-10:4, <-6:3, <-2:1) + male 1; nested less-than highest band only; max 28","fracture_ais":3,"heart_rate_bpm":110,"hemoglobin_g_dl":10.5,"intra_abdominal_fluid":false,"max_score":28,"score":9,"sex":"male","systolic_mm_hg":110},{"base_excess_mmol_l":-4,"citation":{"authors":"Yücel N, Lefering R, Maegele M, et al.","doi":"10.1097/01.ta.0000220386.84012.bf","id":"yucel-2006","pmid":"16766965","source":"J Trauma. 2006;60(6):1228-1236","title":"Trauma Associated Severe Hemorrhage (TASH)-Score: probability of mass transfusion as surrogate for life threatening hemorrhage after multiple trauma"},"components":[{"factor":"systolic","points":1,"present":true,"value":110},{"factor":"hemoglobin","points":3,"present":true,"value":10.5},{"factor":"intra_abdominal_fluid","points":0,"present":false},{"factor":"fracture_ais","points":3,"present":true,"value":3},{"factor":"heart_rate","points":0,"present":false,"value":110},{"factor":"base_excess","points":1,"present":true,"value":-4},{"factor":"male","points":1,"present":true,"value":"male"}],"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":"tash","formula_expression":"TASH = SBP (<100:4, <120:1) + Hb g/dL (<7:8, <9:6, <10:4, <11:3, <12:2) + intra-abdominal fluid 3 + fracture AIS (3-4:3, 5:6) + HR>120:2 + BE mmol/L (<-10:4, <-6:3, <-2:1) + male 1; nested less-than highest band only; max 28","fracture_ais":3,"heart_rate_bpm":110,"hemoglobin_g_dl":10.5,"intra_abdominal_fluid":false,"max_score":28,"score":9,"sex":"male","systolic_mm_hg":110}],"path":"/api/calc/tash"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"base_excess_mmol_l":{"description":"Admission base excess in mmol/L (−30 to 20). Nested less-than: < −10 scores 4; < −6 scores 3; < −2 scores 1; ≥ −2 scores 0. Highest matching band only.","type":"number"},"fracture_ais":{"description":"Caller-assigned AIS for complex long bone and/or pelvic fractures. Must be 0 (none), 3, 4, or 5. 3 or 4 scores 3; 5 scores 6. magent does not assign AIS from imaging.","type":"integer"},"heart_rate_bpm":{"description":"Arrival heart rate in beats per minute (integer 30-220). >120 scores 2; 120 does not.","type":"integer"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. Nested less-than: <7 scores 8; <9 scores 6; <10 scores 4; <11 scores 3; <12 scores 2; ≥12 scores 0. Highest matching band only.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"intra_abdominal_fluid":{"description":"Intra-abdominal fluid (FAST) as assigned by the caller (Yücel 2006). true or false. true scores 3. magent does not interpret FAST images.","type":"boolean"},"sex":{"description":"Sex as assigned by the caller. male scores 1; female scores 0.","type":"string"},"systolic_mm_hg":{"description":"Arrival systolic blood pressure in mm Hg (integer 0-300). Nested less-than: <100 scores 4; <120 (and not <100) scores 1; ≥120 scores 0. Highest matching band only.","type":"integer"}},"required":["systolic_mm_hg","intra_abdominal_fluid","fracture_ais","heart_rate_bpm","base_excess_mmol_l","sex"],"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":["tash","trauma","hemorrhage","transfusion","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:33:17.437Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:33:17.316Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"base_excess_mmol_l":-4,"fracture_ais":3,"heart_rate_bpm":110,"hemoglobin_g_dl":10.5,"hemoglobin_g_l":105,"intra_abdominal_fluid":false,"sex":"male","systolic_mm_hg":110},{"base_excess_mmol_l":-4,"fracture_ais":3,"heart_rate_bpm":110,"hemoglobin_g_dl":10.5,"hemoglobin_g_l":105,"intra_abdominal_fluid":false,"sex":"male","systolic_mm_hg":110}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"base_excess_mmol_l":-4,"citation":{"authors":"Yücel N, Lefering R, Maegele M, et al.","doi":"10.1097/01.ta.0000220386.84012.bf","id":"yucel-2006","pmid":"16766965","source":"J Trauma. 2006;60(6):1228-1236","title":"Trauma Associated Severe Hemorrhage (TASH)-Score: probability of mass transfusion as surrogate for life threatening hemorrhage after multiple trauma"},"components":[{"factor":"systolic","points":1,"present":true,"value":110},{"factor":"hemoglobin","points":3,"present":true,"value":10.5},{"factor":"intra_abdominal_fluid","points":0,"present":false},{"factor":"fracture_ais","points":3,"present":true,"value":3},{"factor":"heart_rate","points":0,"present":false,"value":110},{"factor":"base_excess","points":1,"present":true,"value":-4},{"factor":"male","points":1,"present":true,"value":"male"}],"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":"tash","formula_expression":"TASH = SBP (<100:4, <120:1) + Hb g/dL (<7:8, <9:6, <10:4, <11:3, <12:2) + intra-abdominal fluid 3 + fracture AIS (3-4:3, 5:6) + HR>120:2 + BE mmol/L (<-10:4, <-6:3, <-2:1) + male 1; nested less-than highest band only; max 28","fracture_ais":3,"heart_rate_bpm":110,"hemoglobin_g_dl":10.5,"intra_abdominal_fluid":false,"max_score":28,"score":9,"sex":"male","systolic_mm_hg":110},{"base_excess_mmol_l":-4,"citation":{"authors":"Yücel N, Lefering R, Maegele M, et al.","doi":"10.1097/01.ta.0000220386.84012.bf","id":"yucel-2006","pmid":"16766965","source":"J Trauma. 2006;60(6):1228-1236","title":"Trauma Associated Severe Hemorrhage (TASH)-Score: probability of mass transfusion as surrogate for life threatening hemorrhage after multiple trauma"},"components":[{"factor":"systolic","points":1,"present":true,"value":110},{"factor":"hemoglobin","points":3,"present":true,"value":10.5},{"factor":"intra_abdominal_fluid","points":0,"present":false},{"factor":"fracture_ais","points":3,"present":true,"value":3},{"factor":"heart_rate","points":0,"present":false,"value":110},{"factor":"base_excess","points":1,"present":true,"value":-4},{"factor":"male","points":1,"present":true,"value":"male"}],"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":"tash","formula_expression":"TASH = SBP (<100:4, <120:1) + Hb g/dL (<7:8, <9:6, <10:4, <11:3, <12:2) + intra-abdominal fluid 3 + fracture AIS (3-4:3, 5:6) + HR>120:2 + BE mmol/L (<-10:4, <-6:3, <-2:1) + male 1; nested less-than highest band only; max 28","fracture_ais":3,"heart_rate_bpm":110,"hemoglobin_g_dl":10.5,"intra_abdominal_fluid":false,"max_score":28,"score":9,"sex":"male","systolic_mm_hg":110}],"path":"/api/calc/tash"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"base_excess_mmol_l":{"description":"Admission base excess in mmol/L (−30 to 20). Nested less-than: < −10 scores 4; < −6 scores 3; < −2 scores 1; ≥ −2 scores 0. Highest matching band only.","type":"number"},"fracture_ais":{"description":"Caller-assigned AIS for complex long bone and/or pelvic fractures. Must be 0 (none), 3, 4, or 5. 3 or 4 scores 3; 5 scores 6. magent does not assign AIS from imaging.","type":"integer"},"heart_rate_bpm":{"description":"Arrival heart rate in beats per minute (integer 30-220). >120 scores 2; 120 does not.","type":"integer"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. Nested less-than: <7 scores 8; <9 scores 6; <10 scores 4; <11 scores 3; <12 scores 2; ≥12 scores 0. Highest matching band only.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"intra_abdominal_fluid":{"description":"Intra-abdominal fluid (FAST) as assigned by the caller (Yücel 2006). true or false. true scores 3. magent does not interpret FAST images.","type":"boolean"},"sex":{"description":"Sex as assigned by the caller. male scores 1; female scores 0.","type":"string"},"systolic_mm_hg":{"description":"Arrival systolic blood pressure in mm Hg (integer 0-300). Nested less-than: <100 scores 4; <120 (and not <100) scores 1; ≥120 scores 0. Highest matching band only.","type":"integer"}},"required":["systolic_mm_hg","intra_abdominal_fluid","fracture_ais","heart_rate_bpm","base_excess_mmol_l","sex"],"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},{"id":39533,"slug":"39533","resource":"https://api.magentlab.com/api/calc/bam","description":"Cacciola 2013 Brief Addiction Monitor (BAM; public-domain VA instrument). Three subscales only: Use (items 4+5+6, 0-90), Risk (items 1+2+3+8+11+15, 0-102 on Table 1 0-4 Likert plus 0-30 days), Protective (items 9+10+12+13+14+16, 0-98; income No=0 Yes=30). Items 7a-g and 17 collected, not summed. No total BAM score. magent does not interview the patient. Not a diagnosis, level-of-care order, or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abstinence_confidence":0,"adequate_income":false,"craving":0,"days_alcohol":0,"days_drug":0,"days_heavy_alcohol":0,"days_psychological":0,"days_risky":0,"days_self_help":0,"days_sleep":0,"days_structured":0,"days_supportive":0,"drug_cocaine":false,"drug_inhalants":false,"drug_marijuana":false,"drug_opiates":false,"drug_other":false,"drug_sedatives":false,"drug_stimulants":false,"family_arguments":0,"physical_health":0,"recovery_satisfaction":0,"religion_support":0},{"abstinence_confidence":0,"adequate_income":false,"craving":0,"days_alcohol":0,"days_drug":0,"days_heavy_alcohol":0,"days_psychological":0,"days_risky":0,"days_self_help":0,"days_sleep":0,"days_structured":0,"days_supportive":0,"drug_cocaine":false,"drug_inhalants":false,"drug_marijuana":false,"drug_opiates":false,"drug_other":false,"drug_sedatives":false,"drug_stimulants":false,"family_arguments":0,"physical_health":0,"recovery_satisfaction":0,"religion_support":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cacciola JS, Alterman AI, DePhilippis D, et al.","doi":"10.1016/j.jsat.2012.07.013","id":"cacciola-2013","pmid":"22898042","source":"J Subst Abuse Treat. 2013;44(5):492-499","title":"Development and initial evaluation of the Brief Addiction Monitor (BAM)"},"components":[{"factor":"physical_health","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_sleep","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_psychological","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_alcohol","points":0,"present":true,"subscale":"use","value":0},{"factor":"days_heavy_alcohol","points":0,"present":true,"subscale":"use","value":0},{"factor":"days_drug","points":0,"present":true,"subscale":"use","value":0},{"factor":"drug_marijuana","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_sedatives","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_cocaine","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_stimulants","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_opiates","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_inhalants","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_other","points":0,"present":false,"subscale":"collected","value":false},{"factor":"craving","points":0,"present":true,"subscale":"risk","value":0},{"factor":"abstinence_confidence","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_self_help","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_risky","points":0,"present":true,"subscale":"risk","value":0},{"factor":"religion_support","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_structured","points":0,"present":true,"subscale":"protective","value":0},{"factor":"adequate_income","points":0,"present":false,"subscale":"protective","value":false},{"factor":"family_arguments","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_supportive","points":0,"present":true,"subscale":"protective","value":0},{"factor":"recovery_satisfaction","points":0,"present":true,"subscale":"collected","value":0}],"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":"bam","formula_expression":"Use = days_alcohol + days_heavy_alcohol + days_drug (Cacciola 2013 Table 1 items 4+5+6; each 0-30; max 90); Risk = physical_health + days_sleep + days_psychological + craving + days_risky + family_arguments (items 1+2+3+8+11+15; Table 1 Likert 0-4 kept on Table 1's own scale, day-counts 0-30; max 102); Protective = abstinence_confidence + days_self_help + religion_support + days_structured + adequate_income + days_supportive (items 9+10+12+13+14+16; Table 1 Likert 0-4, day-counts 0-30, income No=0 Yes=30; max 98); items 7a-g and 17 collected and not summed. No single total BAM score. magent does not interview the patient. Not a diagnosis or level-of-care order.","protective":0,"protective_max":98,"risk":0,"risk_max":102,"use":0,"use_max":90},{"citation":{"authors":"Cacciola JS, Alterman AI, DePhilippis D, et al.","doi":"10.1016/j.jsat.2012.07.013","id":"cacciola-2013","pmid":"22898042","source":"J Subst Abuse Treat. 2013;44(5):492-499","title":"Development and initial evaluation of the Brief Addiction Monitor (BAM)"},"components":[{"factor":"physical_health","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_sleep","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_psychological","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_alcohol","points":0,"present":true,"subscale":"use","value":0},{"factor":"days_heavy_alcohol","points":0,"present":true,"subscale":"use","value":0},{"factor":"days_drug","points":0,"present":true,"subscale":"use","value":0},{"factor":"drug_marijuana","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_sedatives","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_cocaine","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_stimulants","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_opiates","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_inhalants","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_other","points":0,"present":false,"subscale":"collected","value":false},{"factor":"craving","points":0,"present":true,"subscale":"risk","value":0},{"factor":"abstinence_confidence","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_self_help","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_risky","points":0,"present":true,"subscale":"risk","value":0},{"factor":"religion_support","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_structured","points":0,"present":true,"subscale":"protective","value":0},{"factor":"adequate_income","points":0,"present":false,"subscale":"protective","value":false},{"factor":"family_arguments","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_supportive","points":0,"present":true,"subscale":"protective","value":0},{"factor":"recovery_satisfaction","points":0,"present":true,"subscale":"collected","value":0}],"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":"bam","formula_expression":"Use = days_alcohol + days_heavy_alcohol + days_drug (Cacciola 2013 Table 1 items 4+5+6; each 0-30; max 90); Risk = physical_health + days_sleep + days_psychological + craving + days_risky + family_arguments (items 1+2+3+8+11+15; Table 1 Likert 0-4 kept on Table 1's own scale, day-counts 0-30; max 102); Protective = abstinence_confidence + days_self_help + religion_support + days_structured + adequate_income + days_supportive (items 9+10+12+13+14+16; Table 1 Likert 0-4, day-counts 0-30, income No=0 Yes=30; max 98); items 7a-g and 17 collected and not summed. No single total BAM score. magent does not interview the patient. Not a diagnosis or level-of-care order.","protective":0,"protective_max":98,"risk":0,"risk_max":102,"use":0,"use_max":90}],"path":"/api/calc/bam"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abstinence_confidence":{"description":"Caller-assigned Cacciola 2013 Table 1 item 9 abstinence-confidence rating (integer 0-4; 0 not at all, 4 extremely). Kept on Table 1's 0-4 scale. magent does not interview the patient.","type":"integer"},"adequate_income":{"description":"Caller-assigned Cacciola 2013 Table 1 item 14 adequate income (true or false). No scores 0; Yes scores 30 (VA public-domain BAM-R item-14 map). magent does not interview the patient.","type":"boolean"},"craving":{"description":"Caller-assigned Cacciola 2013 Table 1 item 8 craving rating (integer 0-4; 0 not at all, 4 extremely). Kept on Table 1's 0-4 scale. magent does not interview the patient.","type":"integer"},"days_alcohol":{"description":"Caller-assigned Cacciola 2013 Table 1 item 4 days of alcohol use in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_drug":{"description":"Caller-assigned Cacciola 2013 Table 1 item 6 days of drug use in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_heavy_alcohol":{"description":"Caller-assigned Cacciola 2013 Table 1 item 5 days of heavy alcohol use in the prior 30 days (integer 0-30). Contingent on item 4 in that paper; this tool accepts 0-30 independently. magent does not interview the patient.","type":"integer"},"days_psychological":{"description":"Caller-assigned Cacciola 2013 Table 1 item 3 days of psychological problems in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_risky":{"description":"Caller-assigned Cacciola 2013 Table 1 item 11 days in risky situations in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_self_help":{"description":"Caller-assigned Cacciola 2013 Table 1 item 10 days of self-help group attendance in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_sleep":{"description":"Caller-assigned Cacciola 2013 Table 1 item 2 days of trouble sleeping in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_structured":{"description":"Caller-assigned Cacciola 2013 Table 1 item 13 days of structured activities in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_supportive":{"description":"Caller-assigned Cacciola 2013 Table 1 item 16 days with supportive family/friends in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"drug_cocaine":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7c (cocaine/crack). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_inhalants":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7f (inhalants). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_marijuana":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7a (marijuana). Collected and not summed. Table 1 names a 6-category checklist without listing categories; 7a-g follow the VA public-domain slots. magent does not interview the patient.","type":"boolean"},"drug_opiates":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7e (opiates). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_other":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7g (other drugs). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_sedatives":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7b (sedatives/tranquilizers). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_stimulants":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7d (other stimulants). Collected and not summed. magent does not interview the patient.","type":"boolean"},"family_arguments":{"description":"Caller-assigned Cacciola 2013 Table 1 item 15 arguments with family/friends rating (integer 0-4; 0 not at all, 4 extremely). Kept on Table 1's 0-4 scale. magent does not interview the patient.","type":"integer"},"physical_health":{"description":"Caller-assigned Cacciola 2013 Table 1 item 1 physical-health rating (integer 0-4; 0 excellent, 4 poor). Healthiest published anchor is 0. Kept on Table 1's 0-4 scale (not a 0/8/15/22/30 recode). magent does not interview the patient.","type":"integer"},"recovery_satisfaction":{"description":"Caller-assigned Cacciola 2013 Table 1 item 17 recovery-satisfaction rating (integer 0-4; 0 not at all, 4 extremely). Collected and not summed. magent does not interview the patient.","type":"integer"},"religion_support":{"description":"Caller-assigned Cacciola 2013 Table 1 item 12 religion/spirituality support rating (integer 0-4; 0 not at all, 4 extremely). Kept on Table 1's 0-4 scale. magent does not interview the patient.","type":"integer"}},"required":["physical_health","days_sleep","days_psychological","days_alcohol","days_heavy_alcohol","days_drug","drug_marijuana","drug_sedatives","drug_cocaine","drug_stimulants","drug_opiates","drug_inhalants","drug_other","craving","abstinence_confidence","days_self_help","days_risky","religion_support","days_structured","adequate_income","family_arguments","days_supportive","recovery_satisfaction"],"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":["bam","addiction","emergency","substance-use","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:29:27.599Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:29:27.419Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abstinence_confidence":0,"adequate_income":false,"craving":0,"days_alcohol":0,"days_drug":0,"days_heavy_alcohol":0,"days_psychological":0,"days_risky":0,"days_self_help":0,"days_sleep":0,"days_structured":0,"days_supportive":0,"drug_cocaine":false,"drug_inhalants":false,"drug_marijuana":false,"drug_opiates":false,"drug_other":false,"drug_sedatives":false,"drug_stimulants":false,"family_arguments":0,"physical_health":0,"recovery_satisfaction":0,"religion_support":0},{"abstinence_confidence":0,"adequate_income":false,"craving":0,"days_alcohol":0,"days_drug":0,"days_heavy_alcohol":0,"days_psychological":0,"days_risky":0,"days_self_help":0,"days_sleep":0,"days_structured":0,"days_supportive":0,"drug_cocaine":false,"drug_inhalants":false,"drug_marijuana":false,"drug_opiates":false,"drug_other":false,"drug_sedatives":false,"drug_stimulants":false,"family_arguments":0,"physical_health":0,"recovery_satisfaction":0,"religion_support":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Cacciola JS, Alterman AI, DePhilippis D, et al.","doi":"10.1016/j.jsat.2012.07.013","id":"cacciola-2013","pmid":"22898042","source":"J Subst Abuse Treat. 2013;44(5):492-499","title":"Development and initial evaluation of the Brief Addiction Monitor (BAM)"},"components":[{"factor":"physical_health","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_sleep","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_psychological","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_alcohol","points":0,"present":true,"subscale":"use","value":0},{"factor":"days_heavy_alcohol","points":0,"present":true,"subscale":"use","value":0},{"factor":"days_drug","points":0,"present":true,"subscale":"use","value":0},{"factor":"drug_marijuana","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_sedatives","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_cocaine","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_stimulants","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_opiates","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_inhalants","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_other","points":0,"present":false,"subscale":"collected","value":false},{"factor":"craving","points":0,"present":true,"subscale":"risk","value":0},{"factor":"abstinence_confidence","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_self_help","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_risky","points":0,"present":true,"subscale":"risk","value":0},{"factor":"religion_support","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_structured","points":0,"present":true,"subscale":"protective","value":0},{"factor":"adequate_income","points":0,"present":false,"subscale":"protective","value":false},{"factor":"family_arguments","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_supportive","points":0,"present":true,"subscale":"protective","value":0},{"factor":"recovery_satisfaction","points":0,"present":true,"subscale":"collected","value":0}],"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":"bam","formula_expression":"Use = days_alcohol + days_heavy_alcohol + days_drug (Cacciola 2013 Table 1 items 4+5+6; each 0-30; max 90); Risk = physical_health + days_sleep + days_psychological + craving + days_risky + family_arguments (items 1+2+3+8+11+15; Table 1 Likert 0-4 kept on Table 1's own scale, day-counts 0-30; max 102); Protective = abstinence_confidence + days_self_help + religion_support + days_structured + adequate_income + days_supportive (items 9+10+12+13+14+16; Table 1 Likert 0-4, day-counts 0-30, income No=0 Yes=30; max 98); items 7a-g and 17 collected and not summed. No single total BAM score. magent does not interview the patient. Not a diagnosis or level-of-care order.","protective":0,"protective_max":98,"risk":0,"risk_max":102,"use":0,"use_max":90},{"citation":{"authors":"Cacciola JS, Alterman AI, DePhilippis D, et al.","doi":"10.1016/j.jsat.2012.07.013","id":"cacciola-2013","pmid":"22898042","source":"J Subst Abuse Treat. 2013;44(5):492-499","title":"Development and initial evaluation of the Brief Addiction Monitor (BAM)"},"components":[{"factor":"physical_health","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_sleep","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_psychological","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_alcohol","points":0,"present":true,"subscale":"use","value":0},{"factor":"days_heavy_alcohol","points":0,"present":true,"subscale":"use","value":0},{"factor":"days_drug","points":0,"present":true,"subscale":"use","value":0},{"factor":"drug_marijuana","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_sedatives","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_cocaine","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_stimulants","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_opiates","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_inhalants","points":0,"present":false,"subscale":"collected","value":false},{"factor":"drug_other","points":0,"present":false,"subscale":"collected","value":false},{"factor":"craving","points":0,"present":true,"subscale":"risk","value":0},{"factor":"abstinence_confidence","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_self_help","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_risky","points":0,"present":true,"subscale":"risk","value":0},{"factor":"religion_support","points":0,"present":true,"subscale":"protective","value":0},{"factor":"days_structured","points":0,"present":true,"subscale":"protective","value":0},{"factor":"adequate_income","points":0,"present":false,"subscale":"protective","value":false},{"factor":"family_arguments","points":0,"present":true,"subscale":"risk","value":0},{"factor":"days_supportive","points":0,"present":true,"subscale":"protective","value":0},{"factor":"recovery_satisfaction","points":0,"present":true,"subscale":"collected","value":0}],"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":"bam","formula_expression":"Use = days_alcohol + days_heavy_alcohol + days_drug (Cacciola 2013 Table 1 items 4+5+6; each 0-30; max 90); Risk = physical_health + days_sleep + days_psychological + craving + days_risky + family_arguments (items 1+2+3+8+11+15; Table 1 Likert 0-4 kept on Table 1's own scale, day-counts 0-30; max 102); Protective = abstinence_confidence + days_self_help + religion_support + days_structured + adequate_income + days_supportive (items 9+10+12+13+14+16; Table 1 Likert 0-4, day-counts 0-30, income No=0 Yes=30; max 98); items 7a-g and 17 collected and not summed. No single total BAM score. magent does not interview the patient. Not a diagnosis or level-of-care order.","protective":0,"protective_max":98,"risk":0,"risk_max":102,"use":0,"use_max":90}],"path":"/api/calc/bam"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abstinence_confidence":{"description":"Caller-assigned Cacciola 2013 Table 1 item 9 abstinence-confidence rating (integer 0-4; 0 not at all, 4 extremely). Kept on Table 1's 0-4 scale. magent does not interview the patient.","type":"integer"},"adequate_income":{"description":"Caller-assigned Cacciola 2013 Table 1 item 14 adequate income (true or false). No scores 0; Yes scores 30 (VA public-domain BAM-R item-14 map). magent does not interview the patient.","type":"boolean"},"craving":{"description":"Caller-assigned Cacciola 2013 Table 1 item 8 craving rating (integer 0-4; 0 not at all, 4 extremely). Kept on Table 1's 0-4 scale. magent does not interview the patient.","type":"integer"},"days_alcohol":{"description":"Caller-assigned Cacciola 2013 Table 1 item 4 days of alcohol use in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_drug":{"description":"Caller-assigned Cacciola 2013 Table 1 item 6 days of drug use in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_heavy_alcohol":{"description":"Caller-assigned Cacciola 2013 Table 1 item 5 days of heavy alcohol use in the prior 30 days (integer 0-30). Contingent on item 4 in that paper; this tool accepts 0-30 independently. magent does not interview the patient.","type":"integer"},"days_psychological":{"description":"Caller-assigned Cacciola 2013 Table 1 item 3 days of psychological problems in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_risky":{"description":"Caller-assigned Cacciola 2013 Table 1 item 11 days in risky situations in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_self_help":{"description":"Caller-assigned Cacciola 2013 Table 1 item 10 days of self-help group attendance in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_sleep":{"description":"Caller-assigned Cacciola 2013 Table 1 item 2 days of trouble sleeping in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_structured":{"description":"Caller-assigned Cacciola 2013 Table 1 item 13 days of structured activities in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"days_supportive":{"description":"Caller-assigned Cacciola 2013 Table 1 item 16 days with supportive family/friends in the prior 30 days (integer 0-30). magent does not interview the patient.","type":"integer"},"drug_cocaine":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7c (cocaine/crack). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_inhalants":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7f (inhalants). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_marijuana":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7a (marijuana). Collected and not summed. Table 1 names a 6-category checklist without listing categories; 7a-g follow the VA public-domain slots. magent does not interview the patient.","type":"boolean"},"drug_opiates":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7e (opiates). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_other":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7g (other drugs). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_sedatives":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7b (sedatives/tranquilizers). Collected and not summed. magent does not interview the patient.","type":"boolean"},"drug_stimulants":{"description":"Caller-assigned Cacciola 2013 item 7 checklist slot 7d (other stimulants). Collected and not summed. magent does not interview the patient.","type":"boolean"},"family_arguments":{"description":"Caller-assigned Cacciola 2013 Table 1 item 15 arguments with family/friends rating (integer 0-4; 0 not at all, 4 extremely). Kept on Table 1's 0-4 scale. magent does not interview the patient.","type":"integer"},"physical_health":{"description":"Caller-assigned Cacciola 2013 Table 1 item 1 physical-health rating (integer 0-4; 0 excellent, 4 poor). Healthiest published anchor is 0. Kept on Table 1's 0-4 scale (not a 0/8/15/22/30 recode). magent does not interview the patient.","type":"integer"},"recovery_satisfaction":{"description":"Caller-assigned Cacciola 2013 Table 1 item 17 recovery-satisfaction rating (integer 0-4; 0 not at all, 4 extremely). Collected and not summed. magent does not interview the patient.","type":"integer"},"religion_support":{"description":"Caller-assigned Cacciola 2013 Table 1 item 12 religion/spirituality support rating (integer 0-4; 0 not at all, 4 extremely). Kept on Table 1's 0-4 scale. magent does not interview the patient.","type":"integer"}},"required":["physical_health","days_sleep","days_psychological","days_alcohol","days_heavy_alcohol","days_drug","drug_marijuana","drug_sedatives","drug_cocaine","drug_stimulants","drug_opiates","drug_inhalants","drug_other","craving","abstinence_confidence","days_self_help","days_risky","religion_support","days_structured","adequate_income","family_arguments","days_supportive","recovery_satisfaction"],"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},{"id":39534,"slug":"39534","resource":"https://api.magentlab.com/api/calc/ehmrg","description":"Lee 2012 EHMRG 7-day ED model (Table 3 integer score): 2*age + 60 if EMS transport - min(SBP,160) + clamp(HR,80-120) - 2*min(SpO2,92) + 20*creatinine_mg_dl + K (<=3.9: +5; 4.0-4.5: 0; >=4.6: +30) + 60 if troponin>ULN + 45 if active cancer + 60 if home metolazone + 12. Groups 1/2/3/4/5a/5b. Dialysis-dependent excluded. Not EHMRG30-ST, not ADHERE CART, not a discharge or admission order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"active_cancer":false,"age":70,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"dialysis_dependent":false,"ems_transport":false,"heart_rate_bpm":80,"metolazone":false,"potassium_mmol_l":4.2,"spo2_percent":92,"systolic_mm_hg":160,"troponin_gt_uln":false},{"active_cancer":false,"age":70,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"dialysis_dependent":false,"ems_transport":false,"heart_rate_bpm":80,"metolazone":false,"potassium_mmol_l":4.2,"spo2_percent":92,"systolic_mm_hg":160,"troponin_gt_uln":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"active_cancer":false,"age_years":70,"citation":{"authors":"Lee DS, Stitt A, Austin PC, Stukel TA, Schull MJ, Chong A, Newton GE, Lee JS, Tu JV","doi":"10.7326/0003-4819-156-11-201206050-00003","id":"lee-2012","pmid":"22665814","source":"Ann Intern Med. 2012;156(11):767-775","title":"Prediction of heart failure mortality in emergent care: a cohort study"},"creatinine_mg_dl":1,"dialysis_dependent":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.","ehmrg_score":-92,"ems_transport":false,"formula":"ehmrg","formula_expression":"ehmrg_score = 2*age_years + 60*(ems_transport) - min(systolic_mm_hg, 160) + clamp(heart_rate_bpm, 80, 120) - 2*min(spo2_percent, 92) + 20*creatinine_mg_dl + K(<=3.9:5, 4.0-4.5:0, >=4.6:30) + 60*(troponin_gt_uln) + 45*(active_cancer) + 60*(metolazone) + 12; Lee 2012 Table 3 7-day ED model; dialysis-dependent excluded; risk_group 1 (score <= -49.1), 2 (-49.0 to -15.9), 3 (-15.8 to 17.9), 4 (18.0 to 56.5), 5a (56.6 to 89.3), 5b (>= 89.4)","heart_rate_bpm":80,"metolazone":false,"potassium_mmol_l":4.2,"risk_group":"1","spo2_percent":92,"systolic_mm_hg":160,"troponin_gt_uln":false},{"active_cancer":false,"age_years":70,"citation":{"authors":"Lee DS, Stitt A, Austin PC, Stukel TA, Schull MJ, Chong A, Newton GE, Lee JS, Tu JV","doi":"10.7326/0003-4819-156-11-201206050-00003","id":"lee-2012","pmid":"22665814","source":"Ann Intern Med. 2012;156(11):767-775","title":"Prediction of heart failure mortality in emergent care: a cohort study"},"creatinine_mg_dl":1,"dialysis_dependent":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.","ehmrg_score":-92,"ems_transport":false,"formula":"ehmrg","formula_expression":"ehmrg_score = 2*age_years + 60*(ems_transport) - min(systolic_mm_hg, 160) + clamp(heart_rate_bpm, 80, 120) - 2*min(spo2_percent, 92) + 20*creatinine_mg_dl + K(<=3.9:5, 4.0-4.5:0, >=4.6:30) + 60*(troponin_gt_uln) + 45*(active_cancer) + 60*(metolazone) + 12; Lee 2012 Table 3 7-day ED model; dialysis-dependent excluded; risk_group 1 (score <= -49.1), 2 (-49.0 to -15.9), 3 (-15.8 to 17.9), 4 (18.0 to 56.5), 5a (56.6 to 89.3), 5b (>= 89.4)","heart_rate_bpm":80,"metolazone":false,"potassium_mmol_l":4.2,"risk_group":"1","spo2_percent":92,"systolic_mm_hg":160,"troponin_gt_uln":false}],"path":"/api/calc/ehmrg"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_cancer":{"description":"Active cancer as assigned by the caller (true or false). Lee 2012 Table 3: +45 if true.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). Lee 2012 Table 3 adds +2 per year. magent does not assign age.","type":"integer"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Lee 2012 Table 3 adds +20 per mg/dL. magent does not measure creatinine.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both.","type":"number"},"dialysis_dependent":{"description":"Dialysis dependence as assigned by the caller (true or false). Lee 2012 excludes dialysis-dependent patients; true returns HTTP 400. magent does not determine dialysis status.","type":"boolean"},"ems_transport":{"description":"Transported by EMS as assigned by the caller (true or false). Lee 2012 Table 3: +60 if true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Lee 2012 Table 3 scores +1 * clamp(HR, 80, 120): floor 80, ceiling 120. magent does not measure heart rate.","type":"integer"},"metolazone":{"description":"Metolazone at home as assigned by the caller (true or false). Lee 2012 Table 3: +60 if true.","type":"boolean"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1.5-8.0). Lee 2012 Table 3: 4.0-4.5 inclusive → 0; >=4.6 → +30; <=3.9 → +5. Unpublished 3.91-3.99 pin with <=3.9; 4.51-4.59 pin with >=4.6. magent does not measure potassium.","type":"number"},"spo2_percent":{"description":"Lowest initial/triage oxygen saturation percent (50-100). Lee 2012 Table 3 scores -2 * min(SpO2, 92); values above 92% are capped. magent does not measure saturation.","type":"number"},"systolic_mm_hg":{"description":"Initial/triage systolic blood pressure in mm Hg (integer 50-250). Lee 2012 Table 3 scores -1 * min(SBP, 160); values above 160 mm Hg are capped. magent does not measure blood pressure.","type":"integer"},"troponin_gt_uln":{"description":"Troponin above the local upper limit of normal as assigned by the caller (true or false). Lee 2012 Table 3: +60 if true.","type":"boolean"}},"required":["age","ems_transport","systolic_mm_hg","heart_rate_bpm","spo2_percent","potassium_mmol_l","troponin_gt_uln","active_cancer","metolazone","dialysis_dependent"],"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":["ehmrg","heart-failure","emergency","mortality","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:27:19.353Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:27:19.219Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"active_cancer":false,"age":70,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"dialysis_dependent":false,"ems_transport":false,"heart_rate_bpm":80,"metolazone":false,"potassium_mmol_l":4.2,"spo2_percent":92,"systolic_mm_hg":160,"troponin_gt_uln":false},{"active_cancer":false,"age":70,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"dialysis_dependent":false,"ems_transport":false,"heart_rate_bpm":80,"metolazone":false,"potassium_mmol_l":4.2,"spo2_percent":92,"systolic_mm_hg":160,"troponin_gt_uln":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"active_cancer":false,"age_years":70,"citation":{"authors":"Lee DS, Stitt A, Austin PC, Stukel TA, Schull MJ, Chong A, Newton GE, Lee JS, Tu JV","doi":"10.7326/0003-4819-156-11-201206050-00003","id":"lee-2012","pmid":"22665814","source":"Ann Intern Med. 2012;156(11):767-775","title":"Prediction of heart failure mortality in emergent care: a cohort study"},"creatinine_mg_dl":1,"dialysis_dependent":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.","ehmrg_score":-92,"ems_transport":false,"formula":"ehmrg","formula_expression":"ehmrg_score = 2*age_years + 60*(ems_transport) - min(systolic_mm_hg, 160) + clamp(heart_rate_bpm, 80, 120) - 2*min(spo2_percent, 92) + 20*creatinine_mg_dl + K(<=3.9:5, 4.0-4.5:0, >=4.6:30) + 60*(troponin_gt_uln) + 45*(active_cancer) + 60*(metolazone) + 12; Lee 2012 Table 3 7-day ED model; dialysis-dependent excluded; risk_group 1 (score <= -49.1), 2 (-49.0 to -15.9), 3 (-15.8 to 17.9), 4 (18.0 to 56.5), 5a (56.6 to 89.3), 5b (>= 89.4)","heart_rate_bpm":80,"metolazone":false,"potassium_mmol_l":4.2,"risk_group":"1","spo2_percent":92,"systolic_mm_hg":160,"troponin_gt_uln":false},{"active_cancer":false,"age_years":70,"citation":{"authors":"Lee DS, Stitt A, Austin PC, Stukel TA, Schull MJ, Chong A, Newton GE, Lee JS, Tu JV","doi":"10.7326/0003-4819-156-11-201206050-00003","id":"lee-2012","pmid":"22665814","source":"Ann Intern Med. 2012;156(11):767-775","title":"Prediction of heart failure mortality in emergent care: a cohort study"},"creatinine_mg_dl":1,"dialysis_dependent":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.","ehmrg_score":-92,"ems_transport":false,"formula":"ehmrg","formula_expression":"ehmrg_score = 2*age_years + 60*(ems_transport) - min(systolic_mm_hg, 160) + clamp(heart_rate_bpm, 80, 120) - 2*min(spo2_percent, 92) + 20*creatinine_mg_dl + K(<=3.9:5, 4.0-4.5:0, >=4.6:30) + 60*(troponin_gt_uln) + 45*(active_cancer) + 60*(metolazone) + 12; Lee 2012 Table 3 7-day ED model; dialysis-dependent excluded; risk_group 1 (score <= -49.1), 2 (-49.0 to -15.9), 3 (-15.8 to 17.9), 4 (18.0 to 56.5), 5a (56.6 to 89.3), 5b (>= 89.4)","heart_rate_bpm":80,"metolazone":false,"potassium_mmol_l":4.2,"risk_group":"1","spo2_percent":92,"systolic_mm_hg":160,"troponin_gt_uln":false}],"path":"/api/calc/ehmrg"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_cancer":{"description":"Active cancer as assigned by the caller (true or false). Lee 2012 Table 3: +45 if true.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). Lee 2012 Table 3 adds +2 per year. magent does not assign age.","type":"integer"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Lee 2012 Table 3 adds +20 per mg/dL. magent does not measure creatinine.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both.","type":"number"},"dialysis_dependent":{"description":"Dialysis dependence as assigned by the caller (true or false). Lee 2012 excludes dialysis-dependent patients; true returns HTTP 400. magent does not determine dialysis status.","type":"boolean"},"ems_transport":{"description":"Transported by EMS as assigned by the caller (true or false). Lee 2012 Table 3: +60 if true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats/min (integer 30-220). Lee 2012 Table 3 scores +1 * clamp(HR, 80, 120): floor 80, ceiling 120. magent does not measure heart rate.","type":"integer"},"metolazone":{"description":"Metolazone at home as assigned by the caller (true or false). Lee 2012 Table 3: +60 if true.","type":"boolean"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1.5-8.0). Lee 2012 Table 3: 4.0-4.5 inclusive → 0; >=4.6 → +30; <=3.9 → +5. Unpublished 3.91-3.99 pin with <=3.9; 4.51-4.59 pin with >=4.6. magent does not measure potassium.","type":"number"},"spo2_percent":{"description":"Lowest initial/triage oxygen saturation percent (50-100). Lee 2012 Table 3 scores -2 * min(SpO2, 92); values above 92% are capped. magent does not measure saturation.","type":"number"},"systolic_mm_hg":{"description":"Initial/triage systolic blood pressure in mm Hg (integer 50-250). Lee 2012 Table 3 scores -1 * min(SBP, 160); values above 160 mm Hg are capped. magent does not measure blood pressure.","type":"integer"},"troponin_gt_uln":{"description":"Troponin above the local upper limit of normal as assigned by the caller (true or false). Lee 2012 Table 3: +60 if true.","type":"boolean"}},"required":["age","ems_transport","systolic_mm_hg","heart_rate_bpm","spo2_percent","potassium_mmol_l","troponin_gt_uln","active_cancer","metolazone","dialysis_dependent"],"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},{"id":39535,"slug":"39535","resource":"https://api.magentlab.com/api/calc/saps_3","description":"Moreno 2005 SAPS 3 admission score from caller-assigned ICU-hour boxes (age, comorbidities, stay, location, vasoactive drugs, admission circumstances, and ten physiology items) plus the published 16-point offset. Converts the integer to hospital-mortality percent with the Part 2 global logit. Not SAPS II. Not APACHE. magent does not measure vitals.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acute_abdomen":false,"age":35,"aids":false,"anaphylactic_or_mixed_shock":false,"arterial_ph":7.4,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":14,"cancer_therapy":false,"chronic_hf_nyha_iv":false,"cirrhosis":false,"coma_stupor_agitation":false,"creatinine_mg_dl":1,"creatinine_umol_l":88,"focal_neurologic_deficit":false,"gcs":15,"heart_rate":80,"hematologic_cancer":false,"hypovolemic_shock":false,"icu_admission":"planned","intracranial_mass_effect":false,"leukocytes_g_l":8,"liver_failure":false,"location":"operating_room","los_days":1,"mechanical_ventilation":false,"metastatic_cancer":false,"nosocomial_infection":false,"pao2_fio2":250,"pao2_mm_hg":90,"platelets_g_l":250,"respiratory_infection":false,"rhythm_disturbances":false,"seizures":false,"septic_shock":false,"severe_pancreatitis":false,"surgery_site":"all_others","surgical_status":"scheduled_surgery","systolic_bp_mm_hg":120,"temperature_c":37,"vasoactive_drugs":false},{"acute_abdomen":false,"age":35,"aids":false,"anaphylactic_or_mixed_shock":false,"arterial_ph":7.4,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":14,"cancer_therapy":false,"chronic_hf_nyha_iv":false,"cirrhosis":false,"coma_stupor_agitation":false,"creatinine_mg_dl":1,"creatinine_umol_l":88,"focal_neurologic_deficit":false,"gcs":15,"heart_rate":80,"hematologic_cancer":false,"hypovolemic_shock":false,"icu_admission":"planned","intracranial_mass_effect":false,"leukocytes_g_l":8,"liver_failure":false,"location":"operating_room","los_days":1,"mechanical_ventilation":false,"metastatic_cancer":false,"nosocomial_infection":false,"pao2_fio2":250,"pao2_mm_hg":90,"platelets_g_l":250,"respiratory_infection":false,"rhythm_disturbances":false,"seizures":false,"septic_shock":false,"severe_pancreatitis":false,"surgery_site":"all_others","surgical_status":"scheduled_surgery","systolic_bp_mm_hg":120,"temperature_c":37,"vasoactive_drugs":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Moreno RP, Metnitz PGH, Almeida E, et al; SAPS 3 Investigators","doi":"10.1007/s00134-005-2763-5","id":"moreno-2005","pmid":"16132893","source":"Intensive Care Med. 2005;31(10):1345-1355","title":"SAPS 3—From evaluation of the patient to evaluation of the intensive care unit. Part 2: Development of a prognostic model for hospital mortality at ICU admission"},"components":[{"factor":"admission_offset","points":16,"present":true,"value":16},{"factor":"age","points":0,"present":false,"value":35},{"factor":"los_days","points":0,"present":false,"value":1},{"factor":"location","points":0,"present":false,"value":"operating_room"},{"aids":false,"cancer_therapy":false,"chronic_hf_nyha_iv":false,"cirrhosis":false,"factor":"comorbidities","hematologic_cancer":false,"metastatic_cancer":false,"points":0,"present":false},{"factor":"vasoactive_drugs","points":0,"present":false,"value":false},{"factor":"icu_admission","points":0,"present":false,"value":"planned"},{"acute_abdomen":false,"anaphylactic_or_mixed_shock":false,"coma_stupor_agitation":false,"factor":"reasons_for_admission","focal_neurologic_deficit":false,"hypovolemic_shock":false,"intracranial_mass_effect":false,"liver_failure":false,"points":0,"present":false,"rhythm_disturbances":false,"seizures":false,"septic_shock":false,"severe_pancreatitis":false},{"factor":"surgical_status","points":0,"present":false,"value":"scheduled_surgery"},{"factor":"surgery_site","points":0,"present":false,"value":"all_others"},{"factor":"infection","nosocomial_infection":false,"points":0,"present":false,"respiratory_infection":false},{"factor":"gcs","points":0,"present":false,"value":15},{"branch":"bilirubin_mg_dl","factor":"bilirubin","points":0,"present":false,"value":0.8},{"factor":"temperature_c","points":0,"present":false,"value":37},{"branch":"creatinine_mg_dl","factor":"creatinine","points":0,"present":false,"value":1},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"leukocytes_g_l","points":0,"present":false,"value":8},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"platelets_g_l","points":0,"present":false,"value":250},{"factor":"systolic_bp_mm_hg","points":0,"present":false,"value":120},{"branch":"pao2_no_mv","factor":"oxygenation","mechanical_ventilation":false,"points":0,"present":false,"value":90}],"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.","estimated_probability_percent":0.17,"formula":"saps_3","formula_expression":"SAPS 3 = 16 (admission offset) + Box I + Box II + Box III (Moreno 2005 Part 2 scoresheet). Box I: age (<40 → 0, 40-59 → 5, 60-69 → 9, 70-74 → 13, 75-79 → 15, ≥80 → 18); los_days (<14 → 0, 14-27 → 6, ≥28 → 7); location (operating_room → 0, emergency_room → 5, other_icu → 7, other → 8); comorbidities additive (cancer_therapy → 3, metastatic_cancer → 11, hematologic_cancer → 6, chronic_hf_nyha_iv → 6, cirrhosis → 8, aids → 8); vasoactive_drugs → 3. Box II: unplanned ICU admission → 3; reasons additive (rhythm_disturbances → -5, hypovolemic_shock → 3, septic_shock → 5, anaphylactic_or_mixed_shock → 5, liver_failure → 6, severe_pancreatitis → 9, acute_abdomen → 3, intracranial_mass_effect → 10, focal_neurologic_deficit → 7, seizures → -4, coma_stupor_agitation → 4; if rhythm and seizures both, only -4; hypovolemic_shock plus acute_abdomen scores both); surgical_status (scheduled_surgery → 0, emergency_surgery → 6, no_surgery → 5); surgery_site (transplantation → -11, trauma_isolated or trauma_multiple → -8, cabg_no_valve → -6, neurosurgery_cva → 5, all_others → 0); nosocomial_infection → 4, respiratory_infection → 5. Box III within ±1 h as assigned: GCS (3-4 → 15, 5 → 10, 6 → 7, 7-12 → 2, ≥13 → 0); bilirubin_mg_dl (<2 → 0, 2-<6 → 4, ≥6 → 5) or bilirubin_umol_l (<34.2 → 0, 34.2-<102.6 → 4, ≥102.6 → 5); temperature_c (<35 → 7, ≥35 → 0); creatinine_mg_dl (<1.2 → 0, 1.2-<2 → 2, 2-<3.5 → 7, ≥3.5 → 8) or creatinine_umol_l (<106.1 → 0, 106.1-<176.8 → 2, 176.8-<309.4 → 7, ≥309.4 → 8); heart_rate (<120 → 0, 120-159 → 5, ≥160 → 7); leukocytes_g_l (<15 → 0, ≥15 → 2); arterial_ph (≤7.25 → 3, >7.25 → 0); platelets_g_l (<20 → 13, 20-<50 → 8, 50-<100 → 5, ≥100 → 0); systolic_bp_mm_hg (<40 → 11, 40-<70 → 8, 70-<120 → 3, ≥120 → 0); oxygenation (PaO2/FiO2 <100 and MV → 11, PaO2/FiO2 ≥100 and MV → 7, PaO2 <60 and no MV → 5, else 0). logit = -32.6659 + ln(SAPS_3 + 20.5958) × 7.3068; estimated_probability_percent = 100 × exp(logit)/(1+exp(logit)); max 217","logit":-6.3619,"max_score":217,"score":16},{"citation":{"authors":"Moreno RP, Metnitz PGH, Almeida E, et al; SAPS 3 Investigators","doi":"10.1007/s00134-005-2763-5","id":"moreno-2005","pmid":"16132893","source":"Intensive Care Med. 2005;31(10):1345-1355","title":"SAPS 3—From evaluation of the patient to evaluation of the intensive care unit. Part 2: Development of a prognostic model for hospital mortality at ICU admission"},"components":[{"factor":"admission_offset","points":16,"present":true,"value":16},{"factor":"age","points":0,"present":false,"value":35},{"factor":"los_days","points":0,"present":false,"value":1},{"factor":"location","points":0,"present":false,"value":"operating_room"},{"aids":false,"cancer_therapy":false,"chronic_hf_nyha_iv":false,"cirrhosis":false,"factor":"comorbidities","hematologic_cancer":false,"metastatic_cancer":false,"points":0,"present":false},{"factor":"vasoactive_drugs","points":0,"present":false,"value":false},{"factor":"icu_admission","points":0,"present":false,"value":"planned"},{"acute_abdomen":false,"anaphylactic_or_mixed_shock":false,"coma_stupor_agitation":false,"factor":"reasons_for_admission","focal_neurologic_deficit":false,"hypovolemic_shock":false,"intracranial_mass_effect":false,"liver_failure":false,"points":0,"present":false,"rhythm_disturbances":false,"seizures":false,"septic_shock":false,"severe_pancreatitis":false},{"factor":"surgical_status","points":0,"present":false,"value":"scheduled_surgery"},{"factor":"surgery_site","points":0,"present":false,"value":"all_others"},{"factor":"infection","nosocomial_infection":false,"points":0,"present":false,"respiratory_infection":false},{"factor":"gcs","points":0,"present":false,"value":15},{"branch":"bilirubin_mg_dl","factor":"bilirubin","points":0,"present":false,"value":0.8},{"factor":"temperature_c","points":0,"present":false,"value":37},{"branch":"creatinine_mg_dl","factor":"creatinine","points":0,"present":false,"value":1},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"leukocytes_g_l","points":0,"present":false,"value":8},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"platelets_g_l","points":0,"present":false,"value":250},{"factor":"systolic_bp_mm_hg","points":0,"present":false,"value":120},{"branch":"pao2_no_mv","factor":"oxygenation","mechanical_ventilation":false,"points":0,"present":false,"value":90}],"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.","estimated_probability_percent":0.17,"formula":"saps_3","formula_expression":"SAPS 3 = 16 (admission offset) + Box I + Box II + Box III (Moreno 2005 Part 2 scoresheet). Box I: age (<40 → 0, 40-59 → 5, 60-69 → 9, 70-74 → 13, 75-79 → 15, ≥80 → 18); los_days (<14 → 0, 14-27 → 6, ≥28 → 7); location (operating_room → 0, emergency_room → 5, other_icu → 7, other → 8); comorbidities additive (cancer_therapy → 3, metastatic_cancer → 11, hematologic_cancer → 6, chronic_hf_nyha_iv → 6, cirrhosis → 8, aids → 8); vasoactive_drugs → 3. Box II: unplanned ICU admission → 3; reasons additive (rhythm_disturbances → -5, hypovolemic_shock → 3, septic_shock → 5, anaphylactic_or_mixed_shock → 5, liver_failure → 6, severe_pancreatitis → 9, acute_abdomen → 3, intracranial_mass_effect → 10, focal_neurologic_deficit → 7, seizures → -4, coma_stupor_agitation → 4; if rhythm and seizures both, only -4; hypovolemic_shock plus acute_abdomen scores both); surgical_status (scheduled_surgery → 0, emergency_surgery → 6, no_surgery → 5); surgery_site (transplantation → -11, trauma_isolated or trauma_multiple → -8, cabg_no_valve → -6, neurosurgery_cva → 5, all_others → 0); nosocomial_infection → 4, respiratory_infection → 5. Box III within ±1 h as assigned: GCS (3-4 → 15, 5 → 10, 6 → 7, 7-12 → 2, ≥13 → 0); bilirubin_mg_dl (<2 → 0, 2-<6 → 4, ≥6 → 5) or bilirubin_umol_l (<34.2 → 0, 34.2-<102.6 → 4, ≥102.6 → 5); temperature_c (<35 → 7, ≥35 → 0); creatinine_mg_dl (<1.2 → 0, 1.2-<2 → 2, 2-<3.5 → 7, ≥3.5 → 8) or creatinine_umol_l (<106.1 → 0, 106.1-<176.8 → 2, 176.8-<309.4 → 7, ≥309.4 → 8); heart_rate (<120 → 0, 120-159 → 5, ≥160 → 7); leukocytes_g_l (<15 → 0, ≥15 → 2); arterial_ph (≤7.25 → 3, >7.25 → 0); platelets_g_l (<20 → 13, 20-<50 → 8, 50-<100 → 5, ≥100 → 0); systolic_bp_mm_hg (<40 → 11, 40-<70 → 8, 70-<120 → 3, ≥120 → 0); oxygenation (PaO2/FiO2 <100 and MV → 11, PaO2/FiO2 ≥100 and MV → 7, PaO2 <60 and no MV → 5, else 0). logit = -32.6659 + ln(SAPS_3 + 20.5958) × 7.3068; estimated_probability_percent = 100 × exp(logit)/(1+exp(logit)); max 217","logit":-6.3619,"max_score":217,"score":16}],"path":"/api/calc/saps_3"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_abdomen":{"description":"Digestive acute abdomen or other digestive (not pancreatitis) as one Box II row (+3). Additive with hypovolemic_shock. Omit or false → 0.","type":"boolean"},"age":{"description":"Age in years, integer 18-120, as assigned at ICU admission. <40 → 0; 40-59 → 5; 60-69 → 9; 70-74 → 13; 75-79 → 15; ≥80 → 18.","type":"integer"},"aids":{"description":"AIDS as assigned (+8). Additive with cirrhosis. Omit or false → 0.","type":"boolean"},"anaphylactic_or_mixed_shock":{"description":"Anaphylactic, mixed, or undefined shock (+5). Additive. Omit or false → 0.","type":"boolean"},"arterial_ph":{"description":"Lowest arterial pH (6.5-8.0). ≤7.25 → 3; >7.25 → 0.","type":"number"},"bilirubin_mg_dl":{"description":"Highest total bilirubin in mg/dL (0-40). One of bilirubin_mg_dl or bilirubin_umol_l is required. If both are sent, bilirubin_mg_dl is scored. <2 → 0; 2-<6 → 4; ≥6 → 5.","type":"number"},"bilirubin_umol_l":{"description":"Highest total bilirubin in µmol/L (0-684). Alternate to bilirubin_mg_dl. Ignored when bilirubin_mg_dl is present. <34.2 → 0; 34.2-<102.6 → 4; ≥102.6 → 5. magent does not convert units.","type":"number"},"cancer_therapy":{"description":"Chemotherapy, other immunosuppression, radiotherapy, or steroid treatment as assigned (+3). Additive with other comorbidity flags. Omit or false → 0.","type":"boolean"},"chronic_hf_nyha_iv":{"description":"Chronic heart failure NYHA class IV as assigned (+6). Additive. Omit or false → 0.","type":"boolean"},"cirrhosis":{"description":"Cirrhosis as assigned (+8). Additive with aids. Omit or false → 0.","type":"boolean"},"coma_stupor_agitation":{"description":"Coma, stupor, obtunded, agitation, vigilance disturbance, confusion, or delirium (+4). Omit or false → 0.","type":"boolean"},"creatinine_mg_dl":{"description":"Highest creatinine in mg/dL (0.1-20). One of creatinine_mg_dl or creatinine_umol_l is required. If both are sent, creatinine_mg_dl is scored. <1.2 → 0; 1.2-<2 → 2; 2-<3.5 → 7; ≥3.5 → 8.","type":"number"},"creatinine_umol_l":{"description":"Highest creatinine in µmol/L (9-1768). Alternate to creatinine_mg_dl. Ignored when creatinine_mg_dl is present. <106.1 → 0; 106.1-<176.8 → 2; 176.8-<309.4 → 7; ≥309.4 → 8. magent does not convert units.","type":"number"},"focal_neurologic_deficit":{"description":"Focal neurologic deficit (+7). Additive. Omit or false → 0.","type":"boolean"},"gcs":{"description":"Lowest estimated Glasgow Coma Scale, integer 3-15, within ±1 h of ICU admission as assigned by the caller. 3-4 → 15; 5 → 10; 6 → 7; 7-12 → 2; ≥13 → 0. magent does not examine the patient.","type":"integer"},"heart_rate":{"description":"Highest heart rate in beats/min, integer 20-250. <120 → 0; 120-159 → 5; ≥160 → 7. magent does not measure pulse.","type":"integer"},"hematologic_cancer":{"description":"Haematological cancer as assigned (+6). Additive. Omit or false → 0.","type":"boolean"},"hypovolemic_shock":{"description":"Hypovolemic hemorrhagic or non-hemorrhagic shock as one Box II row (+3). Additive with acute_abdomen. Omit or false → 0.","type":"boolean"},"icu_admission":{"description":"Planned (0) or unplanned (3) ICU admission as assigned by the caller. magent does not classify the admission.","enum":["planned","unplanned"],"type":"string"},"intracranial_mass_effect":{"description":"Neurologic intracranial mass effect (+10). Additive. Omit or false → 0.","type":"boolean"},"leukocytes_g_l":{"description":"Lowest leukocytes in G/L (0.1-200), numerically equal to 10^9/L. <15 → 0; ≥15 → 2. magent does not count cells.","type":"number"},"liver_failure":{"description":"Hepatic liver failure as a reason for ICU admission (+6). Omit or false → 0.","type":"boolean"},"location":{"description":"Intra-hospital location before ICU admission: operating_room (0), emergency_room (5), other_icu (7; intermediate/high-dependency, other ICU, or recovery), or other (8; ward or other). magent does not classify the bed.","enum":["operating_room","emergency_room","other_icu","other"],"type":"string"},"los_days":{"description":"Hospital stay in days before ICU admission as assigned by the caller (integer 0-365). <14 → 0; 14-27 → 6; ≥28 → 7. magent does not subtract timestamps.","type":"integer"},"mechanical_ventilation":{"description":"true if the caller assigns mechanical ventilation at ICU admission. true scores PaO2/FiO2 (pao2_fio2 required). false scores PaO2 (pao2_mm_hg required) and pao2_fio2 is ignored.","type":"boolean"},"metastatic_cancer":{"description":"Metastatic cancer as assigned (+11). Additive. Omit or false → 0. magent does not diagnose.","type":"boolean"},"nosocomial_infection":{"description":"Hospital-acquired infection at ICU admission (+4). Additive with respiratory_infection. Omit or false → 0.","type":"boolean"},"pao2_fio2":{"description":"PaO2/FiO2 ratio in mm Hg (10-800). Required when mechanical_ventilation is true. <100 → 11; ≥100 → 7. Ignored when mechanical_ventilation is false. magent does not compute the ratio.","type":"number"},"pao2_mm_hg":{"description":"Lowest PaO2 in mm Hg (20-700). Required when mechanical_ventilation is false. <60 → 5; ≥60 → 0. Ignored when mechanical_ventilation is true.","type":"number"},"platelets_g_l":{"description":"Lowest platelets in G/L (0-2000). <20 → 13; 20-<50 → 8; 50-<100 → 5; ≥100 → 0.","type":"number"},"respiratory_infection":{"description":"Lower respiratory tract infection at ICU admission (+5). Additive with nosocomial_infection. Omit or false → 0.","type":"boolean"},"rhythm_disturbances":{"description":"Cardiovascular reason: rhythm disturbances (-5). If seizures is also true, only -4 is scored. Omit or false → 0.","type":"boolean"},"seizures":{"description":"Seizures (-4). If rhythm_disturbances is also true, only -4 is scored. Omit or false → 0.","type":"boolean"},"septic_shock":{"description":"Septic shock as a reason for ICU admission (+5). Additive. Omit or false → 0.","type":"boolean"},"severe_pancreatitis":{"description":"Severe pancreatitis (+9). Omit or false → 0.","type":"boolean"},"surgery_site":{"description":"Anatomical site of surgery as assigned: all_others (0), transplantation (-11), trauma_isolated or trauma_multiple (-8), cabg_no_valve (-6), or neurosurgery_cva (5). One token. magent does not classify a procedure.","enum":["all_others","transplantation","trauma_isolated","trauma_multiple","cabg_no_valve","neurosurgery_cva"],"type":"string"},"surgical_status":{"description":"Surgical status at ICU admission: scheduled_surgery (0), emergency_surgery (6), or no_surgery (5).","enum":["scheduled_surgery","emergency_surgery","no_surgery"],"type":"string"},"systolic_bp_mm_hg":{"description":"Lowest systolic blood pressure in mm Hg (20-300). <40 → 11; 40-<70 → 8; 70-<120 → 3; ≥120 → 0. magent does not measure blood pressure.","type":"number"},"temperature_c":{"description":"Highest body temperature in °C (20-46) within ±1 h as assigned. <35 → 7; ≥35 → 0. The scoresheet has no hyperthermia points. magent does not measure temperature or convert Fahrenheit.","type":"number"},"vasoactive_drugs":{"description":"true if the caller assigns vasoactive drugs before ICU admission (+3). false → 0. magent does not inspect the medication list.","type":"boolean"}},"required":["age","los_days","location","vasoactive_drugs","icu_admission","surgical_status","surgery_site","gcs","temperature_c","heart_rate","leukocytes_g_l","arterial_ph","platelets_g_l","systolic_bp_mm_hg","mechanical_ventilation"],"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":["saps-3","icu","severity","physiology","mortality","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:27:05.399Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:27:05.214Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acute_abdomen":false,"age":35,"aids":false,"anaphylactic_or_mixed_shock":false,"arterial_ph":7.4,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":14,"cancer_therapy":false,"chronic_hf_nyha_iv":false,"cirrhosis":false,"coma_stupor_agitation":false,"creatinine_mg_dl":1,"creatinine_umol_l":88,"focal_neurologic_deficit":false,"gcs":15,"heart_rate":80,"hematologic_cancer":false,"hypovolemic_shock":false,"icu_admission":"planned","intracranial_mass_effect":false,"leukocytes_g_l":8,"liver_failure":false,"location":"operating_room","los_days":1,"mechanical_ventilation":false,"metastatic_cancer":false,"nosocomial_infection":false,"pao2_fio2":250,"pao2_mm_hg":90,"platelets_g_l":250,"respiratory_infection":false,"rhythm_disturbances":false,"seizures":false,"septic_shock":false,"severe_pancreatitis":false,"surgery_site":"all_others","surgical_status":"scheduled_surgery","systolic_bp_mm_hg":120,"temperature_c":37,"vasoactive_drugs":false},{"acute_abdomen":false,"age":35,"aids":false,"anaphylactic_or_mixed_shock":false,"arterial_ph":7.4,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":14,"cancer_therapy":false,"chronic_hf_nyha_iv":false,"cirrhosis":false,"coma_stupor_agitation":false,"creatinine_mg_dl":1,"creatinine_umol_l":88,"focal_neurologic_deficit":false,"gcs":15,"heart_rate":80,"hematologic_cancer":false,"hypovolemic_shock":false,"icu_admission":"planned","intracranial_mass_effect":false,"leukocytes_g_l":8,"liver_failure":false,"location":"operating_room","los_days":1,"mechanical_ventilation":false,"metastatic_cancer":false,"nosocomial_infection":false,"pao2_fio2":250,"pao2_mm_hg":90,"platelets_g_l":250,"respiratory_infection":false,"rhythm_disturbances":false,"seizures":false,"septic_shock":false,"severe_pancreatitis":false,"surgery_site":"all_others","surgical_status":"scheduled_surgery","systolic_bp_mm_hg":120,"temperature_c":37,"vasoactive_drugs":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Moreno RP, Metnitz PGH, Almeida E, et al; SAPS 3 Investigators","doi":"10.1007/s00134-005-2763-5","id":"moreno-2005","pmid":"16132893","source":"Intensive Care Med. 2005;31(10):1345-1355","title":"SAPS 3—From evaluation of the patient to evaluation of the intensive care unit. Part 2: Development of a prognostic model for hospital mortality at ICU admission"},"components":[{"factor":"admission_offset","points":16,"present":true,"value":16},{"factor":"age","points":0,"present":false,"value":35},{"factor":"los_days","points":0,"present":false,"value":1},{"factor":"location","points":0,"present":false,"value":"operating_room"},{"aids":false,"cancer_therapy":false,"chronic_hf_nyha_iv":false,"cirrhosis":false,"factor":"comorbidities","hematologic_cancer":false,"metastatic_cancer":false,"points":0,"present":false},{"factor":"vasoactive_drugs","points":0,"present":false,"value":false},{"factor":"icu_admission","points":0,"present":false,"value":"planned"},{"acute_abdomen":false,"anaphylactic_or_mixed_shock":false,"coma_stupor_agitation":false,"factor":"reasons_for_admission","focal_neurologic_deficit":false,"hypovolemic_shock":false,"intracranial_mass_effect":false,"liver_failure":false,"points":0,"present":false,"rhythm_disturbances":false,"seizures":false,"septic_shock":false,"severe_pancreatitis":false},{"factor":"surgical_status","points":0,"present":false,"value":"scheduled_surgery"},{"factor":"surgery_site","points":0,"present":false,"value":"all_others"},{"factor":"infection","nosocomial_infection":false,"points":0,"present":false,"respiratory_infection":false},{"factor":"gcs","points":0,"present":false,"value":15},{"branch":"bilirubin_mg_dl","factor":"bilirubin","points":0,"present":false,"value":0.8},{"factor":"temperature_c","points":0,"present":false,"value":37},{"branch":"creatinine_mg_dl","factor":"creatinine","points":0,"present":false,"value":1},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"leukocytes_g_l","points":0,"present":false,"value":8},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"platelets_g_l","points":0,"present":false,"value":250},{"factor":"systolic_bp_mm_hg","points":0,"present":false,"value":120},{"branch":"pao2_no_mv","factor":"oxygenation","mechanical_ventilation":false,"points":0,"present":false,"value":90}],"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.","estimated_probability_percent":0.17,"formula":"saps_3","formula_expression":"SAPS 3 = 16 (admission offset) + Box I + Box II + Box III (Moreno 2005 Part 2 scoresheet). Box I: age (<40 → 0, 40-59 → 5, 60-69 → 9, 70-74 → 13, 75-79 → 15, ≥80 → 18); los_days (<14 → 0, 14-27 → 6, ≥28 → 7); location (operating_room → 0, emergency_room → 5, other_icu → 7, other → 8); comorbidities additive (cancer_therapy → 3, metastatic_cancer → 11, hematologic_cancer → 6, chronic_hf_nyha_iv → 6, cirrhosis → 8, aids → 8); vasoactive_drugs → 3. Box II: unplanned ICU admission → 3; reasons additive (rhythm_disturbances → -5, hypovolemic_shock → 3, septic_shock → 5, anaphylactic_or_mixed_shock → 5, liver_failure → 6, severe_pancreatitis → 9, acute_abdomen → 3, intracranial_mass_effect → 10, focal_neurologic_deficit → 7, seizures → -4, coma_stupor_agitation → 4; if rhythm and seizures both, only -4; hypovolemic_shock plus acute_abdomen scores both); surgical_status (scheduled_surgery → 0, emergency_surgery → 6, no_surgery → 5); surgery_site (transplantation → -11, trauma_isolated or trauma_multiple → -8, cabg_no_valve → -6, neurosurgery_cva → 5, all_others → 0); nosocomial_infection → 4, respiratory_infection → 5. Box III within ±1 h as assigned: GCS (3-4 → 15, 5 → 10, 6 → 7, 7-12 → 2, ≥13 → 0); bilirubin_mg_dl (<2 → 0, 2-<6 → 4, ≥6 → 5) or bilirubin_umol_l (<34.2 → 0, 34.2-<102.6 → 4, ≥102.6 → 5); temperature_c (<35 → 7, ≥35 → 0); creatinine_mg_dl (<1.2 → 0, 1.2-<2 → 2, 2-<3.5 → 7, ≥3.5 → 8) or creatinine_umol_l (<106.1 → 0, 106.1-<176.8 → 2, 176.8-<309.4 → 7, ≥309.4 → 8); heart_rate (<120 → 0, 120-159 → 5, ≥160 → 7); leukocytes_g_l (<15 → 0, ≥15 → 2); arterial_ph (≤7.25 → 3, >7.25 → 0); platelets_g_l (<20 → 13, 20-<50 → 8, 50-<100 → 5, ≥100 → 0); systolic_bp_mm_hg (<40 → 11, 40-<70 → 8, 70-<120 → 3, ≥120 → 0); oxygenation (PaO2/FiO2 <100 and MV → 11, PaO2/FiO2 ≥100 and MV → 7, PaO2 <60 and no MV → 5, else 0). logit = -32.6659 + ln(SAPS_3 + 20.5958) × 7.3068; estimated_probability_percent = 100 × exp(logit)/(1+exp(logit)); max 217","logit":-6.3619,"max_score":217,"score":16},{"citation":{"authors":"Moreno RP, Metnitz PGH, Almeida E, et al; SAPS 3 Investigators","doi":"10.1007/s00134-005-2763-5","id":"moreno-2005","pmid":"16132893","source":"Intensive Care Med. 2005;31(10):1345-1355","title":"SAPS 3—From evaluation of the patient to evaluation of the intensive care unit. Part 2: Development of a prognostic model for hospital mortality at ICU admission"},"components":[{"factor":"admission_offset","points":16,"present":true,"value":16},{"factor":"age","points":0,"present":false,"value":35},{"factor":"los_days","points":0,"present":false,"value":1},{"factor":"location","points":0,"present":false,"value":"operating_room"},{"aids":false,"cancer_therapy":false,"chronic_hf_nyha_iv":false,"cirrhosis":false,"factor":"comorbidities","hematologic_cancer":false,"metastatic_cancer":false,"points":0,"present":false},{"factor":"vasoactive_drugs","points":0,"present":false,"value":false},{"factor":"icu_admission","points":0,"present":false,"value":"planned"},{"acute_abdomen":false,"anaphylactic_or_mixed_shock":false,"coma_stupor_agitation":false,"factor":"reasons_for_admission","focal_neurologic_deficit":false,"hypovolemic_shock":false,"intracranial_mass_effect":false,"liver_failure":false,"points":0,"present":false,"rhythm_disturbances":false,"seizures":false,"septic_shock":false,"severe_pancreatitis":false},{"factor":"surgical_status","points":0,"present":false,"value":"scheduled_surgery"},{"factor":"surgery_site","points":0,"present":false,"value":"all_others"},{"factor":"infection","nosocomial_infection":false,"points":0,"present":false,"respiratory_infection":false},{"factor":"gcs","points":0,"present":false,"value":15},{"branch":"bilirubin_mg_dl","factor":"bilirubin","points":0,"present":false,"value":0.8},{"factor":"temperature_c","points":0,"present":false,"value":37},{"branch":"creatinine_mg_dl","factor":"creatinine","points":0,"present":false,"value":1},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"leukocytes_g_l","points":0,"present":false,"value":8},{"factor":"arterial_ph","points":0,"present":false,"value":7.4},{"factor":"platelets_g_l","points":0,"present":false,"value":250},{"factor":"systolic_bp_mm_hg","points":0,"present":false,"value":120},{"branch":"pao2_no_mv","factor":"oxygenation","mechanical_ventilation":false,"points":0,"present":false,"value":90}],"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.","estimated_probability_percent":0.17,"formula":"saps_3","formula_expression":"SAPS 3 = 16 (admission offset) + Box I + Box II + Box III (Moreno 2005 Part 2 scoresheet). Box I: age (<40 → 0, 40-59 → 5, 60-69 → 9, 70-74 → 13, 75-79 → 15, ≥80 → 18); los_days (<14 → 0, 14-27 → 6, ≥28 → 7); location (operating_room → 0, emergency_room → 5, other_icu → 7, other → 8); comorbidities additive (cancer_therapy → 3, metastatic_cancer → 11, hematologic_cancer → 6, chronic_hf_nyha_iv → 6, cirrhosis → 8, aids → 8); vasoactive_drugs → 3. Box II: unplanned ICU admission → 3; reasons additive (rhythm_disturbances → -5, hypovolemic_shock → 3, septic_shock → 5, anaphylactic_or_mixed_shock → 5, liver_failure → 6, severe_pancreatitis → 9, acute_abdomen → 3, intracranial_mass_effect → 10, focal_neurologic_deficit → 7, seizures → -4, coma_stupor_agitation → 4; if rhythm and seizures both, only -4; hypovolemic_shock plus acute_abdomen scores both); surgical_status (scheduled_surgery → 0, emergency_surgery → 6, no_surgery → 5); surgery_site (transplantation → -11, trauma_isolated or trauma_multiple → -8, cabg_no_valve → -6, neurosurgery_cva → 5, all_others → 0); nosocomial_infection → 4, respiratory_infection → 5. Box III within ±1 h as assigned: GCS (3-4 → 15, 5 → 10, 6 → 7, 7-12 → 2, ≥13 → 0); bilirubin_mg_dl (<2 → 0, 2-<6 → 4, ≥6 → 5) or bilirubin_umol_l (<34.2 → 0, 34.2-<102.6 → 4, ≥102.6 → 5); temperature_c (<35 → 7, ≥35 → 0); creatinine_mg_dl (<1.2 → 0, 1.2-<2 → 2, 2-<3.5 → 7, ≥3.5 → 8) or creatinine_umol_l (<106.1 → 0, 106.1-<176.8 → 2, 176.8-<309.4 → 7, ≥309.4 → 8); heart_rate (<120 → 0, 120-159 → 5, ≥160 → 7); leukocytes_g_l (<15 → 0, ≥15 → 2); arterial_ph (≤7.25 → 3, >7.25 → 0); platelets_g_l (<20 → 13, 20-<50 → 8, 50-<100 → 5, ≥100 → 0); systolic_bp_mm_hg (<40 → 11, 40-<70 → 8, 70-<120 → 3, ≥120 → 0); oxygenation (PaO2/FiO2 <100 and MV → 11, PaO2/FiO2 ≥100 and MV → 7, PaO2 <60 and no MV → 5, else 0). logit = -32.6659 + ln(SAPS_3 + 20.5958) × 7.3068; estimated_probability_percent = 100 × exp(logit)/(1+exp(logit)); max 217","logit":-6.3619,"max_score":217,"score":16}],"path":"/api/calc/saps_3"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acute_abdomen":{"description":"Digestive acute abdomen or other digestive (not pancreatitis) as one Box II row (+3). Additive with hypovolemic_shock. Omit or false → 0.","type":"boolean"},"age":{"description":"Age in years, integer 18-120, as assigned at ICU admission. <40 → 0; 40-59 → 5; 60-69 → 9; 70-74 → 13; 75-79 → 15; ≥80 → 18.","type":"integer"},"aids":{"description":"AIDS as assigned (+8). Additive with cirrhosis. Omit or false → 0.","type":"boolean"},"anaphylactic_or_mixed_shock":{"description":"Anaphylactic, mixed, or undefined shock (+5). Additive. Omit or false → 0.","type":"boolean"},"arterial_ph":{"description":"Lowest arterial pH (6.5-8.0). ≤7.25 → 3; >7.25 → 0.","type":"number"},"bilirubin_mg_dl":{"description":"Highest total bilirubin in mg/dL (0-40). One of bilirubin_mg_dl or bilirubin_umol_l is required. If both are sent, bilirubin_mg_dl is scored. <2 → 0; 2-<6 → 4; ≥6 → 5.","type":"number"},"bilirubin_umol_l":{"description":"Highest total bilirubin in µmol/L (0-684). Alternate to bilirubin_mg_dl. Ignored when bilirubin_mg_dl is present. <34.2 → 0; 34.2-<102.6 → 4; ≥102.6 → 5. magent does not convert units.","type":"number"},"cancer_therapy":{"description":"Chemotherapy, other immunosuppression, radiotherapy, or steroid treatment as assigned (+3). Additive with other comorbidity flags. Omit or false → 0.","type":"boolean"},"chronic_hf_nyha_iv":{"description":"Chronic heart failure NYHA class IV as assigned (+6). Additive. Omit or false → 0.","type":"boolean"},"cirrhosis":{"description":"Cirrhosis as assigned (+8). Additive with aids. Omit or false → 0.","type":"boolean"},"coma_stupor_agitation":{"description":"Coma, stupor, obtunded, agitation, vigilance disturbance, confusion, or delirium (+4). Omit or false → 0.","type":"boolean"},"creatinine_mg_dl":{"description":"Highest creatinine in mg/dL (0.1-20). One of creatinine_mg_dl or creatinine_umol_l is required. If both are sent, creatinine_mg_dl is scored. <1.2 → 0; 1.2-<2 → 2; 2-<3.5 → 7; ≥3.5 → 8.","type":"number"},"creatinine_umol_l":{"description":"Highest creatinine in µmol/L (9-1768). Alternate to creatinine_mg_dl. Ignored when creatinine_mg_dl is present. <106.1 → 0; 106.1-<176.8 → 2; 176.8-<309.4 → 7; ≥309.4 → 8. magent does not convert units.","type":"number"},"focal_neurologic_deficit":{"description":"Focal neurologic deficit (+7). Additive. Omit or false → 0.","type":"boolean"},"gcs":{"description":"Lowest estimated Glasgow Coma Scale, integer 3-15, within ±1 h of ICU admission as assigned by the caller. 3-4 → 15; 5 → 10; 6 → 7; 7-12 → 2; ≥13 → 0. magent does not examine the patient.","type":"integer"},"heart_rate":{"description":"Highest heart rate in beats/min, integer 20-250. <120 → 0; 120-159 → 5; ≥160 → 7. magent does not measure pulse.","type":"integer"},"hematologic_cancer":{"description":"Haematological cancer as assigned (+6). Additive. Omit or false → 0.","type":"boolean"},"hypovolemic_shock":{"description":"Hypovolemic hemorrhagic or non-hemorrhagic shock as one Box II row (+3). Additive with acute_abdomen. Omit or false → 0.","type":"boolean"},"icu_admission":{"description":"Planned (0) or unplanned (3) ICU admission as assigned by the caller. magent does not classify the admission.","enum":["planned","unplanned"],"type":"string"},"intracranial_mass_effect":{"description":"Neurologic intracranial mass effect (+10). Additive. Omit or false → 0.","type":"boolean"},"leukocytes_g_l":{"description":"Lowest leukocytes in G/L (0.1-200), numerically equal to 10^9/L. <15 → 0; ≥15 → 2. magent does not count cells.","type":"number"},"liver_failure":{"description":"Hepatic liver failure as a reason for ICU admission (+6). Omit or false → 0.","type":"boolean"},"location":{"description":"Intra-hospital location before ICU admission: operating_room (0), emergency_room (5), other_icu (7; intermediate/high-dependency, other ICU, or recovery), or other (8; ward or other). magent does not classify the bed.","enum":["operating_room","emergency_room","other_icu","other"],"type":"string"},"los_days":{"description":"Hospital stay in days before ICU admission as assigned by the caller (integer 0-365). <14 → 0; 14-27 → 6; ≥28 → 7. magent does not subtract timestamps.","type":"integer"},"mechanical_ventilation":{"description":"true if the caller assigns mechanical ventilation at ICU admission. true scores PaO2/FiO2 (pao2_fio2 required). false scores PaO2 (pao2_mm_hg required) and pao2_fio2 is ignored.","type":"boolean"},"metastatic_cancer":{"description":"Metastatic cancer as assigned (+11). Additive. Omit or false → 0. magent does not diagnose.","type":"boolean"},"nosocomial_infection":{"description":"Hospital-acquired infection at ICU admission (+4). Additive with respiratory_infection. Omit or false → 0.","type":"boolean"},"pao2_fio2":{"description":"PaO2/FiO2 ratio in mm Hg (10-800). Required when mechanical_ventilation is true. <100 → 11; ≥100 → 7. Ignored when mechanical_ventilation is false. magent does not compute the ratio.","type":"number"},"pao2_mm_hg":{"description":"Lowest PaO2 in mm Hg (20-700). Required when mechanical_ventilation is false. <60 → 5; ≥60 → 0. Ignored when mechanical_ventilation is true.","type":"number"},"platelets_g_l":{"description":"Lowest platelets in G/L (0-2000). <20 → 13; 20-<50 → 8; 50-<100 → 5; ≥100 → 0.","type":"number"},"respiratory_infection":{"description":"Lower respiratory tract infection at ICU admission (+5). Additive with nosocomial_infection. Omit or false → 0.","type":"boolean"},"rhythm_disturbances":{"description":"Cardiovascular reason: rhythm disturbances (-5). If seizures is also true, only -4 is scored. Omit or false → 0.","type":"boolean"},"seizures":{"description":"Seizures (-4). If rhythm_disturbances is also true, only -4 is scored. Omit or false → 0.","type":"boolean"},"septic_shock":{"description":"Septic shock as a reason for ICU admission (+5). Additive. Omit or false → 0.","type":"boolean"},"severe_pancreatitis":{"description":"Severe pancreatitis (+9). Omit or false → 0.","type":"boolean"},"surgery_site":{"description":"Anatomical site of surgery as assigned: all_others (0), transplantation (-11), trauma_isolated or trauma_multiple (-8), cabg_no_valve (-6), or neurosurgery_cva (5). One token. magent does not classify a procedure.","enum":["all_others","transplantation","trauma_isolated","trauma_multiple","cabg_no_valve","neurosurgery_cva"],"type":"string"},"surgical_status":{"description":"Surgical status at ICU admission: scheduled_surgery (0), emergency_surgery (6), or no_surgery (5).","enum":["scheduled_surgery","emergency_surgery","no_surgery"],"type":"string"},"systolic_bp_mm_hg":{"description":"Lowest systolic blood pressure in mm Hg (20-300). <40 → 11; 40-<70 → 8; 70-<120 → 3; ≥120 → 0. magent does not measure blood pressure.","type":"number"},"temperature_c":{"description":"Highest body temperature in °C (20-46) within ±1 h as assigned. <35 → 7; ≥35 → 0. The scoresheet has no hyperthermia points. magent does not measure temperature or convert Fahrenheit.","type":"number"},"vasoactive_drugs":{"description":"true if the caller assigns vasoactive drugs before ICU admission (+3). false → 0. magent does not inspect the medication list.","type":"boolean"}},"required":["age","los_days","location","vasoactive_drugs","icu_admission","surgical_status","surgery_site","gcs","temperature_c","heart_rate","leukocytes_g_l","arterial_ph","platelets_g_l","systolic_bp_mm_hg","mechanical_ventilation"],"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},{"id":39536,"slug":"39536","resource":"https://api.magentlab.com/api/calc/saps_ii","description":"Le Gall 1993 Simplified Acute Physiology Score II from 12 physiology variables (worst values in the first 24 hours as assigned by the caller), age, type of admission, and one chronic disease (AIDS, metastatic cancer, or hematologic malignancy). Max 163. Converts the integer to hospital-mortality probability with the paper's logit. PaO2/FiO2 is scored only if ventilated or CPAP. Not SAPS 3. Not APACHE. magent does not measure vitals.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"admission_type":"scheduled_surgical","age":35,"bicarbonate_meq_l":24,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":14,"bun_mg_dl":15,"chronic_disease":"none","gcs":15,"heart_rate":80,"pao2_fio2":250,"potassium_mmol_l":4,"sodium_mmol_l":140,"systolic_bp_mm_hg":120,"temperature_c":37,"urea_mmol_l":5,"urine_output_l_day":1.5,"ventilated":false,"wbc_k_ul":8},{"admission_type":"scheduled_surgical","age":35,"bicarbonate_meq_l":24,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":14,"bun_mg_dl":15,"chronic_disease":"none","gcs":15,"heart_rate":80,"pao2_fio2":250,"potassium_mmol_l":4,"sodium_mmol_l":140,"systolic_bp_mm_hg":120,"temperature_c":37,"urea_mmol_l":5,"urine_output_l_day":1.5,"ventilated":false,"wbc_k_ul":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Le Gall JR, Lemeshow S, Saulnier F","doi":"10.1001/jama.270.24.2957","id":"le-gall-1993","pmid":"8254858","source":"JAMA. 1993;270(24):2957-2963","title":"A new Simplified Acute Physiology Score (SAPS II) based on a European/North American multicenter study"},"components":[{"factor":"age","points":0,"present":false,"value":35},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"systolic_bp_mm_hg","points":0,"present":false,"value":120},{"factor":"temperature_c","points":0,"present":false,"value":37},{"branch":"not_ventilated","factor":"oxygenation","points":0,"present":false,"value":null,"ventilated":false},{"factor":"urine_output_l_day","points":0,"present":false,"value":1.5},{"branch":"urea_mmol_l","factor":"urea","points":0,"present":false,"value":5},{"factor":"wbc_k_ul","points":0,"present":false,"value":8},{"factor":"potassium_mmol_l","points":0,"present":false,"value":4},{"factor":"sodium_mmol_l","points":0,"present":false,"value":140},{"factor":"bicarbonate_meq_l","points":0,"present":false,"value":24},{"branch":"bilirubin_mg_dl","factor":"bilirubin","points":0,"present":false,"value":0.8},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"admission_type","points":0,"present":false,"value":"scheduled_surgical"},{"factor":"chronic_disease","points":0,"present":false,"value":"none"}],"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":"saps_ii","formula_expression":"SAPS II = sum of 17 Le Gall 1993 variables (worst values in 24h as assigned by the caller): heart_rate (<40 → 11, 40-69 → 2, 70-119 → 0, 120-159 → 4, ≥160 → 7), systolic_bp_mm_hg (<70 → 13, 70-99 → 5, 100-199 → 0, ≥200 → 2), temperature_c (<39 → 0, ≥39 → 3), PaO2/FiO2 mm Hg if ventilated or CPAP (<100 → 11, 100-199 → 9, ≥200 → 6) else 0, urine_output_l_day (<0.500 → 11, 0.500-0.999 → 4, ≥1.000 → 0), urea_mmol_l (<10.0 → 0, 10.0-29.9 → 6, ≥30.0 → 10) or bun_mg_dl (<28 → 0, 28-83 → 6, ≥84 → 10), wbc_k_ul (<1.0 → 12, 1.0-19.9 → 0, ≥20.0 → 3), potassium_mmol_l (<3.0 or ≥5.0 → 3, 3.0-4.9 → 0), sodium_mmol_l (<125 → 5, 125-144 → 0, ≥145 → 1), bicarbonate_meq_l (<15 → 6, 15-19 → 3, ≥20 → 0), bilirubin_mg_dl (<4.0 → 0, 4.0-5.9 → 4, ≥6.0 → 9) or bilirubin_umol_l (<68.4 → 0, 68.4-102.5 → 4, ≥102.6 → 9), gcs (<6 → 26, 6-8 → 13, 9-10 → 7, 11-13 → 5, 14-15 → 0), age (<40 → 0, 40-59 → 7, 60-69 → 12, 70-74 → 15, 75-79 → 16, ≥80 → 18), admission_type (scheduled_surgical → 0, medical → 6, unscheduled_surgical → 8), chronic_disease (none → 0, metastatic_cancer → 9, hematologic_malignancy → 10, aids → 17, one row not additive); logit = -7.7631 + 0.0737*SAPS_II + 0.9971*ln(SAPS_II+1); hospital_mortality_probability = exp(logit)/(1+exp(logit)); max 163","hospital_mortality_probability":0.000425,"logit":-7.7631,"max_score":163,"score":0},{"citation":{"authors":"Le Gall JR, Lemeshow S, Saulnier F","doi":"10.1001/jama.270.24.2957","id":"le-gall-1993","pmid":"8254858","source":"JAMA. 1993;270(24):2957-2963","title":"A new Simplified Acute Physiology Score (SAPS II) based on a European/North American multicenter study"},"components":[{"factor":"age","points":0,"present":false,"value":35},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"systolic_bp_mm_hg","points":0,"present":false,"value":120},{"factor":"temperature_c","points":0,"present":false,"value":37},{"branch":"not_ventilated","factor":"oxygenation","points":0,"present":false,"value":null,"ventilated":false},{"factor":"urine_output_l_day","points":0,"present":false,"value":1.5},{"branch":"urea_mmol_l","factor":"urea","points":0,"present":false,"value":5},{"factor":"wbc_k_ul","points":0,"present":false,"value":8},{"factor":"potassium_mmol_l","points":0,"present":false,"value":4},{"factor":"sodium_mmol_l","points":0,"present":false,"value":140},{"factor":"bicarbonate_meq_l","points":0,"present":false,"value":24},{"branch":"bilirubin_mg_dl","factor":"bilirubin","points":0,"present":false,"value":0.8},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"admission_type","points":0,"present":false,"value":"scheduled_surgical"},{"factor":"chronic_disease","points":0,"present":false,"value":"none"}],"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":"saps_ii","formula_expression":"SAPS II = sum of 17 Le Gall 1993 variables (worst values in 24h as assigned by the caller): heart_rate (<40 → 11, 40-69 → 2, 70-119 → 0, 120-159 → 4, ≥160 → 7), systolic_bp_mm_hg (<70 → 13, 70-99 → 5, 100-199 → 0, ≥200 → 2), temperature_c (<39 → 0, ≥39 → 3), PaO2/FiO2 mm Hg if ventilated or CPAP (<100 → 11, 100-199 → 9, ≥200 → 6) else 0, urine_output_l_day (<0.500 → 11, 0.500-0.999 → 4, ≥1.000 → 0), urea_mmol_l (<10.0 → 0, 10.0-29.9 → 6, ≥30.0 → 10) or bun_mg_dl (<28 → 0, 28-83 → 6, ≥84 → 10), wbc_k_ul (<1.0 → 12, 1.0-19.9 → 0, ≥20.0 → 3), potassium_mmol_l (<3.0 or ≥5.0 → 3, 3.0-4.9 → 0), sodium_mmol_l (<125 → 5, 125-144 → 0, ≥145 → 1), bicarbonate_meq_l (<15 → 6, 15-19 → 3, ≥20 → 0), bilirubin_mg_dl (<4.0 → 0, 4.0-5.9 → 4, ≥6.0 → 9) or bilirubin_umol_l (<68.4 → 0, 68.4-102.5 → 4, ≥102.6 → 9), gcs (<6 → 26, 6-8 → 13, 9-10 → 7, 11-13 → 5, 14-15 → 0), age (<40 → 0, 40-59 → 7, 60-69 → 12, 70-74 → 15, 75-79 → 16, ≥80 → 18), admission_type (scheduled_surgical → 0, medical → 6, unscheduled_surgical → 8), chronic_disease (none → 0, metastatic_cancer → 9, hematologic_malignancy → 10, aids → 17, one row not additive); logit = -7.7631 + 0.0737*SAPS_II + 0.9971*ln(SAPS_II+1); hospital_mortality_probability = exp(logit)/(1+exp(logit)); max 163","hospital_mortality_probability":0.000425,"logit":-7.7631,"max_score":163,"score":0}],"path":"/api/calc/saps_ii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"admission_type":{"description":"Le Gall 1993 type of admission as assigned by the caller: scheduled_surgical (0), medical (6), or unscheduled_surgical (8). magent does not classify the admission.","enum":["scheduled_surgical","medical","unscheduled_surgical"],"type":"string"},"age":{"description":"Age in years, integer 18-120 (Le Gall 1993 excluded patients younger than 18). <40 → 0; 40-59 → 7; 60-69 → 12; 70-74 → 15; 75-79 → 16; ≥80 → 18.","type":"integer"},"bicarbonate_meq_l":{"description":"Serum bicarbonate in mEq/L (2-60). <15 → 6; 15-19 → 3; ≥20 → 0. Arterial pH is not a SAPS II variable.","type":"number"},"bilirubin_mg_dl":{"description":"Serum bilirubin in mg/dL (0-40). One of bilirubin_mg_dl or bilirubin_umol_l is required. If both are sent, bilirubin_mg_dl is scored and bilirubin_umol_l is ignored. <4.0 → 0; 4.0-5.9 → 4; ≥6.0 → 9.","type":"number"},"bilirubin_umol_l":{"description":"Serum bilirubin in µmol/L (0-684). Alternate to bilirubin_mg_dl (Le Gall 1993 SI column). Ignored when bilirubin_mg_dl is present. <68.4 → 0; 68.4-102.5 → 4; ≥102.6 → 9. magent does not convert units.","type":"number"},"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-250). Alternate to urea_mmol_l (Le Gall 1993 US column). Ignored when urea_mmol_l is present. <28 → 0; 28-83 → 6; ≥84 → 10. magent does not convert BUN to urea.","type":"number"},"chronic_disease":{"description":"Le Gall 1993 chronic-disease row as assigned by the caller: none (0), metastatic_cancer (9), hematologic_malignancy (10), or aids (17). One token; the paper's table is not additive. magent does not diagnose.","enum":["none","metastatic_cancer","hematologic_malignancy","aids"],"type":"string"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15). <6 → 26; 6-8 → 13; 9-10 → 7; 11-13 → 5; 14-15 → 0. magent does not examine the patient.","type":"integer"},"heart_rate":{"description":"Heart rate in beats/min, integer 20-250, worst in 24h as assigned by the caller. <40 → 11; 40-69 → 2; 70-119 → 0; 120-159 → 4; ≥160 → 7. magent does not measure pulse.","type":"integer"},"pao2_fio2":{"description":"PaO2/FiO2 ratio in mm Hg (10-800). Required when ventilated is true. <100 → 11; 100-199 → 9; ≥200 → 6. Ignored when ventilated is false. magent does not compute the ratio from PaO2 and FiO2.","type":"number"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1-12). <3.0 → 3; 3.0-4.9 → 0; ≥5.0 → 3.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (90-200). <125 → 5; 125-144 → 0; ≥145 → 1.","type":"number"},"systolic_bp_mm_hg":{"description":"Systolic blood pressure in mm Hg (20-300), worst in 24h as assigned by the caller. <70 → 13; 70-99 → 5; 100-199 → 0; ≥200 → 2. magent does not measure blood pressure.","type":"number"},"temperature_c":{"description":"Body temperature in °C (20-46). <39 → 0; ≥39 → 3. The 1993 table has no hypothermia points. magent does not measure temperature or convert Fahrenheit.","type":"number"},"urea_mmol_l":{"description":"Serum urea in mmol/L (0.1-80). One of urea_mmol_l or bun_mg_dl is required. If both are sent, urea_mmol_l is scored and bun_mg_dl is ignored. <10.0 → 0; 10.0-29.9 → 6; ≥30.0 → 10.","type":"number"},"urine_output_l_day":{"description":"Urine output in L/24h (0-20) as assigned by the caller. <0.500 → 11; 0.500-0.999 → 4; ≥1.000 → 0. magent does not measure urine.","type":"number"},"ventilated":{"description":"true if the caller assigns mechanical ventilation or CPAP in the first 24h (Le Gall 1993 PaO2/FiO2 row). false → 0 oxygenation points and pao2_fio2 is ignored. Ventilated or CPAP scores at least 6 even when PaO2/FiO2 is ≥200.","type":"boolean"},"wbc_k_ul":{"description":"White blood count in thousands per mm^3 (0-100). <1.0 → 12; 1.0-19.9 → 0; ≥20.0 → 3.","type":"number"}},"required":["age","heart_rate","systolic_bp_mm_hg","temperature_c","ventilated","urine_output_l_day","wbc_k_ul","potassium_mmol_l","sodium_mmol_l","bicarbonate_meq_l","gcs","admission_type","chronic_disease"],"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":["saps-ii","icu","severity","physiology","mortality","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:26:58.108Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:26:57.96Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"admission_type":"scheduled_surgical","age":35,"bicarbonate_meq_l":24,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":14,"bun_mg_dl":15,"chronic_disease":"none","gcs":15,"heart_rate":80,"pao2_fio2":250,"potassium_mmol_l":4,"sodium_mmol_l":140,"systolic_bp_mm_hg":120,"temperature_c":37,"urea_mmol_l":5,"urine_output_l_day":1.5,"ventilated":false,"wbc_k_ul":8},{"admission_type":"scheduled_surgical","age":35,"bicarbonate_meq_l":24,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":14,"bun_mg_dl":15,"chronic_disease":"none","gcs":15,"heart_rate":80,"pao2_fio2":250,"potassium_mmol_l":4,"sodium_mmol_l":140,"systolic_bp_mm_hg":120,"temperature_c":37,"urea_mmol_l":5,"urine_output_l_day":1.5,"ventilated":false,"wbc_k_ul":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Le Gall JR, Lemeshow S, Saulnier F","doi":"10.1001/jama.270.24.2957","id":"le-gall-1993","pmid":"8254858","source":"JAMA. 1993;270(24):2957-2963","title":"A new Simplified Acute Physiology Score (SAPS II) based on a European/North American multicenter study"},"components":[{"factor":"age","points":0,"present":false,"value":35},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"systolic_bp_mm_hg","points":0,"present":false,"value":120},{"factor":"temperature_c","points":0,"present":false,"value":37},{"branch":"not_ventilated","factor":"oxygenation","points":0,"present":false,"value":null,"ventilated":false},{"factor":"urine_output_l_day","points":0,"present":false,"value":1.5},{"branch":"urea_mmol_l","factor":"urea","points":0,"present":false,"value":5},{"factor":"wbc_k_ul","points":0,"present":false,"value":8},{"factor":"potassium_mmol_l","points":0,"present":false,"value":4},{"factor":"sodium_mmol_l","points":0,"present":false,"value":140},{"factor":"bicarbonate_meq_l","points":0,"present":false,"value":24},{"branch":"bilirubin_mg_dl","factor":"bilirubin","points":0,"present":false,"value":0.8},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"admission_type","points":0,"present":false,"value":"scheduled_surgical"},{"factor":"chronic_disease","points":0,"present":false,"value":"none"}],"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":"saps_ii","formula_expression":"SAPS II = sum of 17 Le Gall 1993 variables (worst values in 24h as assigned by the caller): heart_rate (<40 → 11, 40-69 → 2, 70-119 → 0, 120-159 → 4, ≥160 → 7), systolic_bp_mm_hg (<70 → 13, 70-99 → 5, 100-199 → 0, ≥200 → 2), temperature_c (<39 → 0, ≥39 → 3), PaO2/FiO2 mm Hg if ventilated or CPAP (<100 → 11, 100-199 → 9, ≥200 → 6) else 0, urine_output_l_day (<0.500 → 11, 0.500-0.999 → 4, ≥1.000 → 0), urea_mmol_l (<10.0 → 0, 10.0-29.9 → 6, ≥30.0 → 10) or bun_mg_dl (<28 → 0, 28-83 → 6, ≥84 → 10), wbc_k_ul (<1.0 → 12, 1.0-19.9 → 0, ≥20.0 → 3), potassium_mmol_l (<3.0 or ≥5.0 → 3, 3.0-4.9 → 0), sodium_mmol_l (<125 → 5, 125-144 → 0, ≥145 → 1), bicarbonate_meq_l (<15 → 6, 15-19 → 3, ≥20 → 0), bilirubin_mg_dl (<4.0 → 0, 4.0-5.9 → 4, ≥6.0 → 9) or bilirubin_umol_l (<68.4 → 0, 68.4-102.5 → 4, ≥102.6 → 9), gcs (<6 → 26, 6-8 → 13, 9-10 → 7, 11-13 → 5, 14-15 → 0), age (<40 → 0, 40-59 → 7, 60-69 → 12, 70-74 → 15, 75-79 → 16, ≥80 → 18), admission_type (scheduled_surgical → 0, medical → 6, unscheduled_surgical → 8), chronic_disease (none → 0, metastatic_cancer → 9, hematologic_malignancy → 10, aids → 17, one row not additive); logit = -7.7631 + 0.0737*SAPS_II + 0.9971*ln(SAPS_II+1); hospital_mortality_probability = exp(logit)/(1+exp(logit)); max 163","hospital_mortality_probability":0.000425,"logit":-7.7631,"max_score":163,"score":0},{"citation":{"authors":"Le Gall JR, Lemeshow S, Saulnier F","doi":"10.1001/jama.270.24.2957","id":"le-gall-1993","pmid":"8254858","source":"JAMA. 1993;270(24):2957-2963","title":"A new Simplified Acute Physiology Score (SAPS II) based on a European/North American multicenter study"},"components":[{"factor":"age","points":0,"present":false,"value":35},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"systolic_bp_mm_hg","points":0,"present":false,"value":120},{"factor":"temperature_c","points":0,"present":false,"value":37},{"branch":"not_ventilated","factor":"oxygenation","points":0,"present":false,"value":null,"ventilated":false},{"factor":"urine_output_l_day","points":0,"present":false,"value":1.5},{"branch":"urea_mmol_l","factor":"urea","points":0,"present":false,"value":5},{"factor":"wbc_k_ul","points":0,"present":false,"value":8},{"factor":"potassium_mmol_l","points":0,"present":false,"value":4},{"factor":"sodium_mmol_l","points":0,"present":false,"value":140},{"factor":"bicarbonate_meq_l","points":0,"present":false,"value":24},{"branch":"bilirubin_mg_dl","factor":"bilirubin","points":0,"present":false,"value":0.8},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"admission_type","points":0,"present":false,"value":"scheduled_surgical"},{"factor":"chronic_disease","points":0,"present":false,"value":"none"}],"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":"saps_ii","formula_expression":"SAPS II = sum of 17 Le Gall 1993 variables (worst values in 24h as assigned by the caller): heart_rate (<40 → 11, 40-69 → 2, 70-119 → 0, 120-159 → 4, ≥160 → 7), systolic_bp_mm_hg (<70 → 13, 70-99 → 5, 100-199 → 0, ≥200 → 2), temperature_c (<39 → 0, ≥39 → 3), PaO2/FiO2 mm Hg if ventilated or CPAP (<100 → 11, 100-199 → 9, ≥200 → 6) else 0, urine_output_l_day (<0.500 → 11, 0.500-0.999 → 4, ≥1.000 → 0), urea_mmol_l (<10.0 → 0, 10.0-29.9 → 6, ≥30.0 → 10) or bun_mg_dl (<28 → 0, 28-83 → 6, ≥84 → 10), wbc_k_ul (<1.0 → 12, 1.0-19.9 → 0, ≥20.0 → 3), potassium_mmol_l (<3.0 or ≥5.0 → 3, 3.0-4.9 → 0), sodium_mmol_l (<125 → 5, 125-144 → 0, ≥145 → 1), bicarbonate_meq_l (<15 → 6, 15-19 → 3, ≥20 → 0), bilirubin_mg_dl (<4.0 → 0, 4.0-5.9 → 4, ≥6.0 → 9) or bilirubin_umol_l (<68.4 → 0, 68.4-102.5 → 4, ≥102.6 → 9), gcs (<6 → 26, 6-8 → 13, 9-10 → 7, 11-13 → 5, 14-15 → 0), age (<40 → 0, 40-59 → 7, 60-69 → 12, 70-74 → 15, 75-79 → 16, ≥80 → 18), admission_type (scheduled_surgical → 0, medical → 6, unscheduled_surgical → 8), chronic_disease (none → 0, metastatic_cancer → 9, hematologic_malignancy → 10, aids → 17, one row not additive); logit = -7.7631 + 0.0737*SAPS_II + 0.9971*ln(SAPS_II+1); hospital_mortality_probability = exp(logit)/(1+exp(logit)); max 163","hospital_mortality_probability":0.000425,"logit":-7.7631,"max_score":163,"score":0}],"path":"/api/calc/saps_ii"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"admission_type":{"description":"Le Gall 1993 type of admission as assigned by the caller: scheduled_surgical (0), medical (6), or unscheduled_surgical (8). magent does not classify the admission.","enum":["scheduled_surgical","medical","unscheduled_surgical"],"type":"string"},"age":{"description":"Age in years, integer 18-120 (Le Gall 1993 excluded patients younger than 18). <40 → 0; 40-59 → 7; 60-69 → 12; 70-74 → 15; 75-79 → 16; ≥80 → 18.","type":"integer"},"bicarbonate_meq_l":{"description":"Serum bicarbonate in mEq/L (2-60). <15 → 6; 15-19 → 3; ≥20 → 0. Arterial pH is not a SAPS II variable.","type":"number"},"bilirubin_mg_dl":{"description":"Serum bilirubin in mg/dL (0-40). One of bilirubin_mg_dl or bilirubin_umol_l is required. If both are sent, bilirubin_mg_dl is scored and bilirubin_umol_l is ignored. <4.0 → 0; 4.0-5.9 → 4; ≥6.0 → 9.","type":"number"},"bilirubin_umol_l":{"description":"Serum bilirubin in µmol/L (0-684). Alternate to bilirubin_mg_dl (Le Gall 1993 SI column). Ignored when bilirubin_mg_dl is present. <68.4 → 0; 68.4-102.5 → 4; ≥102.6 → 9. magent does not convert units.","type":"number"},"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-250). Alternate to urea_mmol_l (Le Gall 1993 US column). Ignored when urea_mmol_l is present. <28 → 0; 28-83 → 6; ≥84 → 10. magent does not convert BUN to urea.","type":"number"},"chronic_disease":{"description":"Le Gall 1993 chronic-disease row as assigned by the caller: none (0), metastatic_cancer (9), hematologic_malignancy (10), or aids (17). One token; the paper's table is not additive. magent does not diagnose.","enum":["none","metastatic_cancer","hematologic_malignancy","aids"],"type":"string"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15). <6 → 26; 6-8 → 13; 9-10 → 7; 11-13 → 5; 14-15 → 0. magent does not examine the patient.","type":"integer"},"heart_rate":{"description":"Heart rate in beats/min, integer 20-250, worst in 24h as assigned by the caller. <40 → 11; 40-69 → 2; 70-119 → 0; 120-159 → 4; ≥160 → 7. magent does not measure pulse.","type":"integer"},"pao2_fio2":{"description":"PaO2/FiO2 ratio in mm Hg (10-800). Required when ventilated is true. <100 → 11; 100-199 → 9; ≥200 → 6. Ignored when ventilated is false. magent does not compute the ratio from PaO2 and FiO2.","type":"number"},"potassium_mmol_l":{"description":"Serum potassium in mmol/L (1-12). <3.0 → 3; 3.0-4.9 → 0; ≥5.0 → 3.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (90-200). <125 → 5; 125-144 → 0; ≥145 → 1.","type":"number"},"systolic_bp_mm_hg":{"description":"Systolic blood pressure in mm Hg (20-300), worst in 24h as assigned by the caller. <70 → 13; 70-99 → 5; 100-199 → 0; ≥200 → 2. magent does not measure blood pressure.","type":"number"},"temperature_c":{"description":"Body temperature in °C (20-46). <39 → 0; ≥39 → 3. The 1993 table has no hypothermia points. magent does not measure temperature or convert Fahrenheit.","type":"number"},"urea_mmol_l":{"description":"Serum urea in mmol/L (0.1-80). One of urea_mmol_l or bun_mg_dl is required. If both are sent, urea_mmol_l is scored and bun_mg_dl is ignored. <10.0 → 0; 10.0-29.9 → 6; ≥30.0 → 10.","type":"number"},"urine_output_l_day":{"description":"Urine output in L/24h (0-20) as assigned by the caller. <0.500 → 11; 0.500-0.999 → 4; ≥1.000 → 0. magent does not measure urine.","type":"number"},"ventilated":{"description":"true if the caller assigns mechanical ventilation or CPAP in the first 24h (Le Gall 1993 PaO2/FiO2 row). false → 0 oxygenation points and pao2_fio2 is ignored. Ventilated or CPAP scores at least 6 even when PaO2/FiO2 is ≥200.","type":"boolean"},"wbc_k_ul":{"description":"White blood count in thousands per mm^3 (0-100). <1.0 → 12; 1.0-19.9 → 0; ≥20.0 → 3.","type":"number"}},"required":["age","heart_rate","systolic_bp_mm_hg","temperature_c","ventilated","urine_output_l_day","wbc_k_ul","potassium_mmol_l","sodium_mmol_l","bicarbonate_meq_l","gcs","admission_type","chronic_disease"],"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},{"id":39537,"slug":"39537","resource":"https://api.magentlab.com/api/calc/nri","description":"VA TPN 1991 Nutritional Risk Index (NEJM): NRI = 1.519*albumin_g_l + 41.7*(current/usual weight). Malnourished if NRI <= 100. Strata: not_malnourished if NRI > 100; borderline_malnourished if 97.5 < NRI <= 100; mildly_malnourished if 83.5 <= NRI <= 97.5; severely_malnourished if NRI < 83.5. Does not cap current/usual at 1. Not a malnutrition diagnosis or TPN order. magent does not assay albumin or weigh the patient. Not GNRI or PNI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":4,"albumin_g_l":40,"current_weight_kg":70,"usual_weight_kg":70},{"albumin_g_dl":4,"albumin_g_l":40,"current_weight_kg":70,"usual_weight_kg":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_l":40,"citation":{"authors":"The Veterans Affairs Total Parenteral Nutrition Cooperative Study Group","doi":"10.1056/NEJM199108223250801","id":"va-tpn-1991","pmid":"1906163","source":"N Engl J Med. 1991;325(8):525-532","title":"Perioperative total parenteral nutrition in surgical patients"},"current_weight_kg":70,"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":"nri","formula_expression":"NRI = 1.519 × albumin_g_l + 0.417 × (current_weight_kg / usual_weight_kg) × 100","nri":102.5,"screening":"not_malnourished","stratification":"not_malnourished","usual_weight_kg":70},{"albumin_g_l":40,"citation":{"authors":"The Veterans Affairs Total Parenteral Nutrition Cooperative Study Group","doi":"10.1056/NEJM199108223250801","id":"va-tpn-1991","pmid":"1906163","source":"N Engl J Med. 1991;325(8):525-532","title":"Perioperative total parenteral nutrition in surgical patients"},"current_weight_kg":70,"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":"nri","formula_expression":"NRI = 1.519 × albumin_g_l + 0.417 × (current_weight_kg / usual_weight_kg) × 100","nri":102.5,"screening":"not_malnourished","stratification":"not_malnourished","usual_weight_kg":70}],"path":"/api/calc/nri"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. VA TPN 1991 NRI uses g/L. magent does not assay albumin.","type":"number"},"current_weight_kg":{"description":"Current weight in kg (1-500). Not capped at usual weight. magent does not weigh the patient.","type":"number"},"usual_weight_kg":{"description":"Usual weight in kg (1-500). Must be greater than 0. magent does not weigh the patient.","type":"number"}},"required":["current_weight_kg","usual_weight_kg"],"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":["nri","nutrition","emergency","albumin","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:26:24.806Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:26:24.681Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":4,"albumin_g_l":40,"current_weight_kg":70,"usual_weight_kg":70},{"albumin_g_dl":4,"albumin_g_l":40,"current_weight_kg":70,"usual_weight_kg":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_l":40,"citation":{"authors":"The Veterans Affairs Total Parenteral Nutrition Cooperative Study Group","doi":"10.1056/NEJM199108223250801","id":"va-tpn-1991","pmid":"1906163","source":"N Engl J Med. 1991;325(8):525-532","title":"Perioperative total parenteral nutrition in surgical patients"},"current_weight_kg":70,"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":"nri","formula_expression":"NRI = 1.519 × albumin_g_l + 0.417 × (current_weight_kg / usual_weight_kg) × 100","nri":102.5,"screening":"not_malnourished","stratification":"not_malnourished","usual_weight_kg":70},{"albumin_g_l":40,"citation":{"authors":"The Veterans Affairs Total Parenteral Nutrition Cooperative Study Group","doi":"10.1056/NEJM199108223250801","id":"va-tpn-1991","pmid":"1906163","source":"N Engl J Med. 1991;325(8):525-532","title":"Perioperative total parenteral nutrition in surgical patients"},"current_weight_kg":70,"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":"nri","formula_expression":"NRI = 1.519 × albumin_g_l + 0.417 × (current_weight_kg / usual_weight_kg) × 100","nri":102.5,"screening":"not_malnourished","stratification":"not_malnourished","usual_weight_kg":70}],"path":"/api/calc/nri"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. VA TPN 1991 NRI uses g/L. magent does not assay albumin.","type":"number"},"current_weight_kg":{"description":"Current weight in kg (1-500). Not capped at usual weight. magent does not weigh the patient.","type":"number"},"usual_weight_kg":{"description":"Usual weight in kg (1-500). Must be greater than 0. magent does not weigh the patient.","type":"number"}},"required":["current_weight_kg","usual_weight_kg"],"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},{"id":39539,"slug":"39539","resource":"https://api.magentlab.com/api/calc/vacs_cci","description":"McGinnis 2024 VACS-CCI Table 2 Model 7 linear predictor from sex, age, hemoglobin, FIB-4, eGFR, albumin, WBC, BMI, hepatitis C, and caller-assigned Charlson groupings. CCI group is those weights (0/1/2/3+) times age band. The 0-100 score needs unpublished development min/max Xbeta; magent does not invent it. Paper prints score 30 to 1/3/8/18% and 45 to 6/14/35/61% at 1/2/5/10 years. Not a diagnosis or individual prognosis. magent does not code the chart.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":55,"albumin_g_dl":4,"any_malignancy":false,"bmi_kg_m2":25,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"congestive_heart_failure":false,"dementia":false,"diabetes_with_complications":false,"diabetes_without_complications":false,"egfr_ml_min_1_73m2":90,"fib4":1,"hemiplegia_or_paraplegia":false,"hemoglobin_g_dl":14,"hepatitis_c":false,"kidney_mild_to_moderate":false,"kidney_severe":false,"liver_mild":false,"liver_moderate_to_severe":false,"metastatic_solid_tumor":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false,"rheumatic_disease":false,"sex":"male","wbc_10e9_l":4},{"age":55,"albumin_g_dl":4,"any_malignancy":false,"bmi_kg_m2":25,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"congestive_heart_failure":false,"dementia":false,"diabetes_with_complications":false,"diabetes_without_complications":false,"egfr_ml_min_1_73m2":90,"fib4":1,"hemiplegia_or_paraplegia":false,"hemoglobin_g_dl":14,"hepatitis_c":false,"kidney_mild_to_moderate":false,"kidney_severe":false,"liver_mild":false,"liver_moderate_to_severe":false,"metastatic_solid_tumor":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false,"rheumatic_disease":false,"sex":"male","wbc_10e9_l":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":55,"age_band":"50_64","albumin_g_dl":4,"any_malignancy":false,"bmi_kg_m2":25,"cci_group":"0","cci_score":0,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"citation":{"authors":"McGinnis KA, Justice AC, Marconi VC, et al.","doi":"10.3389/fmed.2023.1342466","id":"mcginnis-2024-vacs-cci","pmid":"38356736","source":"Front Med (Lausanne). 2024;10:1342466","title":"Combining Charlson comorbidity and VACS indices improves prognostic accuracy for all-cause mortality for patients with and without HIV in the Veterans Health Administration"},"congestive_heart_failure":false,"dementia":false,"diabetes_with_complications":false,"diabetes_without_complications":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.","egfr_ml_min_1_73m2":90,"fib4":1,"formula":"vacs_cci","formula_expression":"lp = sex_female -0.513 + age_poly(X=age-50, 0.278/0.006/-0.001) + hb_poly(X=hemoglobin-14, -0.115/0.024/0.004) + fib4_poly(X, 0.205/-0.006) + egfr_poly(X=egfr-90, 0.071/0.036/0.002) + alb_poly(X=albumin-4, -0.405/0.326/0.156) + wbc_poly(X=WBC-4, -0.011/0.053/-0.008/0.000) + bmi_poly(X=BMI-25, -0.061/0.005/0.000) + hepatitis_c 0.273 + Table 2 Charlson condition coefficients + CCI-group x age-band interaction (CCI 0/1/2/3+ by <50, 50-64, 65-79, 80+; CCI 1 x 50-64 is reference 0); cci_group from caller-assigned condition weights (MI 1, CHF 1, PVD 1, CVD 1, dementia 1, pulmonary 1, rheumatic 1, PUD 1, DM without 1, DM with 2, hemiplegia 2, kidney mild-to-moderate 2, kidney severe 2, any malignancy 2, metastatic 6, liver mild 1, liver moderate-to-severe 3); McGinnis 2024 Table 2 Model 7; 1st/99th percentile winsorizing not published; 0-100 score uses unpublished development min/max Xbeta so magent does not scale; paper prints 0-100 score 30 → 1-year 1%, 2-year 3%, 5-year 8%, 10-year 18% and score 45 → 6%, 14%, 35%, 61%; no published S0; 2025 corrigendum PMID 39845833 does not change Table 2 coefficients; caller-assigned comorbidities, FIB-4, and eGFR","hemiplegia_or_paraplegia":false,"hemoglobin_g_dl":14,"hepatitis_c":false,"kidney_mild_to_moderate":false,"kidney_severe":false,"linear_predictor":1.228,"liver_mild":false,"liver_moderate_to_severe":false,"metastatic_solid_tumor":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false,"rheumatic_disease":false,"sex":"male","wbc_10e9_l":4},{"age":55,"age_band":"50_64","albumin_g_dl":4,"any_malignancy":false,"bmi_kg_m2":25,"cci_group":"0","cci_score":0,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"citation":{"authors":"McGinnis KA, Justice AC, Marconi VC, et al.","doi":"10.3389/fmed.2023.1342466","id":"mcginnis-2024-vacs-cci","pmid":"38356736","source":"Front Med (Lausanne). 2024;10:1342466","title":"Combining Charlson comorbidity and VACS indices improves prognostic accuracy for all-cause mortality for patients with and without HIV in the Veterans Health Administration"},"congestive_heart_failure":false,"dementia":false,"diabetes_with_complications":false,"diabetes_without_complications":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.","egfr_ml_min_1_73m2":90,"fib4":1,"formula":"vacs_cci","formula_expression":"lp = sex_female -0.513 + age_poly(X=age-50, 0.278/0.006/-0.001) + hb_poly(X=hemoglobin-14, -0.115/0.024/0.004) + fib4_poly(X, 0.205/-0.006) + egfr_poly(X=egfr-90, 0.071/0.036/0.002) + alb_poly(X=albumin-4, -0.405/0.326/0.156) + wbc_poly(X=WBC-4, -0.011/0.053/-0.008/0.000) + bmi_poly(X=BMI-25, -0.061/0.005/0.000) + hepatitis_c 0.273 + Table 2 Charlson condition coefficients + CCI-group x age-band interaction (CCI 0/1/2/3+ by <50, 50-64, 65-79, 80+; CCI 1 x 50-64 is reference 0); cci_group from caller-assigned condition weights (MI 1, CHF 1, PVD 1, CVD 1, dementia 1, pulmonary 1, rheumatic 1, PUD 1, DM without 1, DM with 2, hemiplegia 2, kidney mild-to-moderate 2, kidney severe 2, any malignancy 2, metastatic 6, liver mild 1, liver moderate-to-severe 3); McGinnis 2024 Table 2 Model 7; 1st/99th percentile winsorizing not published; 0-100 score uses unpublished development min/max Xbeta so magent does not scale; paper prints 0-100 score 30 → 1-year 1%, 2-year 3%, 5-year 8%, 10-year 18% and score 45 → 6%, 14%, 35%, 61%; no published S0; 2025 corrigendum PMID 39845833 does not change Table 2 coefficients; caller-assigned comorbidities, FIB-4, and eGFR","hemiplegia_or_paraplegia":false,"hemoglobin_g_dl":14,"hepatitis_c":false,"kidney_mild_to_moderate":false,"kidney_severe":false,"linear_predictor":1.228,"liver_mild":false,"liver_moderate_to_severe":false,"metastatic_solid_tumor":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false,"rheumatic_disease":false,"sex":"male","wbc_10e9_l":4}],"path":"/api/calc/vacs_cci"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Table 2 uses the cubic polynomial of (age-50) and CCI x age-band interaction (<50, 50-64, 65-79, 80+). magent does not assign age.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6.5). Table 2 centers at (albumin-4). magent does not assay albumin.","type":"number"},"any_malignancy":{"description":"Caller-assigned any malignancy (McGinnis 2024 Table 2). true adds 0.090 to lp and 2 to the CCI grouping. magent does not diagnose cancer.","type":"boolean"},"bmi_kg_m2":{"description":"Body mass index in kg/m² (10-60). Table 2 centers at (BMI-25). magent does not compute BMI from height and weight.","type":"number"},"cerebrovascular_disease":{"description":"Caller-assigned cerebrovascular disease (McGinnis 2024 Table 2). true adds 0.114 to lp and 1 to the CCI grouping. magent does not diagnose stroke.","type":"boolean"},"chronic_pulmonary_disease":{"description":"Caller-assigned chronic pulmonary disease (McGinnis 2024 Table 2). true adds 0.279 to lp and 1 to the CCI grouping. magent does not diagnose lung disease.","type":"boolean"},"congestive_heart_failure":{"description":"Caller-assigned congestive heart failure (McGinnis 2024 Table 2). true adds 0.420 to lp and 1 to the CCI grouping. magent does not diagnose heart failure.","type":"boolean"},"dementia":{"description":"Caller-assigned dementia (McGinnis 2024 Table 2). true adds 0.489 to lp and 1 to the CCI grouping. magent does not diagnose dementia.","type":"boolean"},"diabetes_with_complications":{"description":"Caller-assigned diabetes with chronic complications (McGinnis 2024 Table 2). true adds 0.075 to lp and 2 to the CCI grouping. magent does not diagnose diabetes.","type":"boolean"},"diabetes_without_complications":{"description":"Caller-assigned diabetes without chronic complications (McGinnis 2024 Table 2). true adds 0.053 to lp and 1 to the CCI grouping. magent does not diagnose diabetes.","type":"boolean"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m² (0-200). Table 2 centers at (egfr-90). magent does not compute CKD-EPI.","type":"number"},"fib4":{"description":"Caller-assigned FIB-4 (0.1-20). Table 2 uses X and X2 of FIB-4. magent does not recompute FIB-4.","type":"number"},"hemiplegia_or_paraplegia":{"description":"Caller-assigned hemiplegia or paraplegia (McGinnis 2024 Table 2). true adds -0.049 to lp and 2 to the CCI grouping. magent does not diagnose paralysis.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Table 2 centers at (hemoglobin-14). magent does not assay hemoglobin.","type":"number"},"hepatitis_c":{"description":"Caller-assigned hepatitis C (McGinnis 2024). true adds 0.273 to the linear predictor. magent does not diagnose hepatitis C.","type":"boolean"},"kidney_mild_to_moderate":{"description":"Caller-assigned mild-to-moderate kidney disease (McGinnis 2024 Table 2). true adds -0.199 to lp and 2 to the CCI grouping. magent does not grade kidney disease.","type":"boolean"},"kidney_severe":{"description":"Caller-assigned severe kidney disease (McGinnis 2024 Table 2). true adds -0.098 to lp and 2 to the CCI grouping. magent does not grade kidney disease.","type":"boolean"},"liver_mild":{"description":"Caller-assigned mild liver disease (McGinnis 2024 Table 2). true adds -0.045 to lp and 1 to the CCI grouping. magent does not grade liver disease.","type":"boolean"},"liver_moderate_to_severe":{"description":"Caller-assigned moderate-to-severe liver disease (McGinnis 2024 Table 2). true adds 0.226 to lp and 3 to the CCI grouping. magent does not grade liver disease.","type":"boolean"},"metastatic_solid_tumor":{"description":"Caller-assigned metastatic solid tumor (McGinnis 2024 Table 2). true adds 1.184 to lp and 6 to the CCI grouping. magent does not diagnose cancer.","type":"boolean"},"myocardial_infarction":{"description":"Caller-assigned myocardial infarction (McGinnis 2024 Table 2). true adds 0.008 to lp and 1 to the CCI grouping. magent does not diagnose infarction.","type":"boolean"},"peptic_ulcer_disease":{"description":"Caller-assigned peptic ulcer disease (McGinnis 2024 Table 2). true adds -0.074 to lp and 1 to the CCI grouping. magent does not diagnose ulcer disease.","type":"boolean"},"peripheral_vascular_disease":{"description":"Caller-assigned peripheral vascular disease (McGinnis 2024 Table 2). true adds 0.141 to lp and 1 to the CCI grouping. magent does not diagnose vascular disease.","type":"boolean"},"rheumatic_disease":{"description":"Caller-assigned rheumatic disease (McGinnis 2024 Table 2). true adds -0.034 to lp and 1 to the CCI grouping. magent does not diagnose rheumatic disease.","type":"boolean"},"sex":{"description":"Caller-assigned sex (female or male). Female vs male adds -0.513 to the Table 2 linear predictor. magent does not assign sex.","enum":["female","male"],"type":"string"},"wbc_10e9_l":{"description":"White blood count in 10^9/L (0.5-50), equal to k/µL. Table 2 centers at (WBC-4). magent does not assay WBC.","type":"number"}},"required":["sex","age","hemoglobin_g_dl","fib4","egfr_ml_min_1_73m2","albumin_g_dl","wbc_10e9_l","bmi_kg_m2","hepatitis_c","myocardial_infarction","congestive_heart_failure","peripheral_vascular_disease","cerebrovascular_disease","dementia","chronic_pulmonary_disease","rheumatic_disease","peptic_ulcer_disease","diabetes_without_complications","diabetes_with_complications","hemiplegia_or_paraplegia","kidney_mild_to_moderate","kidney_severe","any_malignancy","metastatic_solid_tumor","liver_mild","liver_moderate_to_severe"],"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":["vacs-cci","charlson","mortality","comorbidity","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:19:30.311Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:19:30.161Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":55,"albumin_g_dl":4,"any_malignancy":false,"bmi_kg_m2":25,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"congestive_heart_failure":false,"dementia":false,"diabetes_with_complications":false,"diabetes_without_complications":false,"egfr_ml_min_1_73m2":90,"fib4":1,"hemiplegia_or_paraplegia":false,"hemoglobin_g_dl":14,"hepatitis_c":false,"kidney_mild_to_moderate":false,"kidney_severe":false,"liver_mild":false,"liver_moderate_to_severe":false,"metastatic_solid_tumor":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false,"rheumatic_disease":false,"sex":"male","wbc_10e9_l":4},{"age":55,"albumin_g_dl":4,"any_malignancy":false,"bmi_kg_m2":25,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"congestive_heart_failure":false,"dementia":false,"diabetes_with_complications":false,"diabetes_without_complications":false,"egfr_ml_min_1_73m2":90,"fib4":1,"hemiplegia_or_paraplegia":false,"hemoglobin_g_dl":14,"hepatitis_c":false,"kidney_mild_to_moderate":false,"kidney_severe":false,"liver_mild":false,"liver_moderate_to_severe":false,"metastatic_solid_tumor":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false,"rheumatic_disease":false,"sex":"male","wbc_10e9_l":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":55,"age_band":"50_64","albumin_g_dl":4,"any_malignancy":false,"bmi_kg_m2":25,"cci_group":"0","cci_score":0,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"citation":{"authors":"McGinnis KA, Justice AC, Marconi VC, et al.","doi":"10.3389/fmed.2023.1342466","id":"mcginnis-2024-vacs-cci","pmid":"38356736","source":"Front Med (Lausanne). 2024;10:1342466","title":"Combining Charlson comorbidity and VACS indices improves prognostic accuracy for all-cause mortality for patients with and without HIV in the Veterans Health Administration"},"congestive_heart_failure":false,"dementia":false,"diabetes_with_complications":false,"diabetes_without_complications":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.","egfr_ml_min_1_73m2":90,"fib4":1,"formula":"vacs_cci","formula_expression":"lp = sex_female -0.513 + age_poly(X=age-50, 0.278/0.006/-0.001) + hb_poly(X=hemoglobin-14, -0.115/0.024/0.004) + fib4_poly(X, 0.205/-0.006) + egfr_poly(X=egfr-90, 0.071/0.036/0.002) + alb_poly(X=albumin-4, -0.405/0.326/0.156) + wbc_poly(X=WBC-4, -0.011/0.053/-0.008/0.000) + bmi_poly(X=BMI-25, -0.061/0.005/0.000) + hepatitis_c 0.273 + Table 2 Charlson condition coefficients + CCI-group x age-band interaction (CCI 0/1/2/3+ by <50, 50-64, 65-79, 80+; CCI 1 x 50-64 is reference 0); cci_group from caller-assigned condition weights (MI 1, CHF 1, PVD 1, CVD 1, dementia 1, pulmonary 1, rheumatic 1, PUD 1, DM without 1, DM with 2, hemiplegia 2, kidney mild-to-moderate 2, kidney severe 2, any malignancy 2, metastatic 6, liver mild 1, liver moderate-to-severe 3); McGinnis 2024 Table 2 Model 7; 1st/99th percentile winsorizing not published; 0-100 score uses unpublished development min/max Xbeta so magent does not scale; paper prints 0-100 score 30 → 1-year 1%, 2-year 3%, 5-year 8%, 10-year 18% and score 45 → 6%, 14%, 35%, 61%; no published S0; 2025 corrigendum PMID 39845833 does not change Table 2 coefficients; caller-assigned comorbidities, FIB-4, and eGFR","hemiplegia_or_paraplegia":false,"hemoglobin_g_dl":14,"hepatitis_c":false,"kidney_mild_to_moderate":false,"kidney_severe":false,"linear_predictor":1.228,"liver_mild":false,"liver_moderate_to_severe":false,"metastatic_solid_tumor":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false,"rheumatic_disease":false,"sex":"male","wbc_10e9_l":4},{"age":55,"age_band":"50_64","albumin_g_dl":4,"any_malignancy":false,"bmi_kg_m2":25,"cci_group":"0","cci_score":0,"cerebrovascular_disease":false,"chronic_pulmonary_disease":false,"citation":{"authors":"McGinnis KA, Justice AC, Marconi VC, et al.","doi":"10.3389/fmed.2023.1342466","id":"mcginnis-2024-vacs-cci","pmid":"38356736","source":"Front Med (Lausanne). 2024;10:1342466","title":"Combining Charlson comorbidity and VACS indices improves prognostic accuracy for all-cause mortality for patients with and without HIV in the Veterans Health Administration"},"congestive_heart_failure":false,"dementia":false,"diabetes_with_complications":false,"diabetes_without_complications":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.","egfr_ml_min_1_73m2":90,"fib4":1,"formula":"vacs_cci","formula_expression":"lp = sex_female -0.513 + age_poly(X=age-50, 0.278/0.006/-0.001) + hb_poly(X=hemoglobin-14, -0.115/0.024/0.004) + fib4_poly(X, 0.205/-0.006) + egfr_poly(X=egfr-90, 0.071/0.036/0.002) + alb_poly(X=albumin-4, -0.405/0.326/0.156) + wbc_poly(X=WBC-4, -0.011/0.053/-0.008/0.000) + bmi_poly(X=BMI-25, -0.061/0.005/0.000) + hepatitis_c 0.273 + Table 2 Charlson condition coefficients + CCI-group x age-band interaction (CCI 0/1/2/3+ by <50, 50-64, 65-79, 80+; CCI 1 x 50-64 is reference 0); cci_group from caller-assigned condition weights (MI 1, CHF 1, PVD 1, CVD 1, dementia 1, pulmonary 1, rheumatic 1, PUD 1, DM without 1, DM with 2, hemiplegia 2, kidney mild-to-moderate 2, kidney severe 2, any malignancy 2, metastatic 6, liver mild 1, liver moderate-to-severe 3); McGinnis 2024 Table 2 Model 7; 1st/99th percentile winsorizing not published; 0-100 score uses unpublished development min/max Xbeta so magent does not scale; paper prints 0-100 score 30 → 1-year 1%, 2-year 3%, 5-year 8%, 10-year 18% and score 45 → 6%, 14%, 35%, 61%; no published S0; 2025 corrigendum PMID 39845833 does not change Table 2 coefficients; caller-assigned comorbidities, FIB-4, and eGFR","hemiplegia_or_paraplegia":false,"hemoglobin_g_dl":14,"hepatitis_c":false,"kidney_mild_to_moderate":false,"kidney_severe":false,"linear_predictor":1.228,"liver_mild":false,"liver_moderate_to_severe":false,"metastatic_solid_tumor":false,"myocardial_infarction":false,"peptic_ulcer_disease":false,"peripheral_vascular_disease":false,"rheumatic_disease":false,"sex":"male","wbc_10e9_l":4}],"path":"/api/calc/vacs_cci"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Table 2 uses the cubic polynomial of (age-50) and CCI x age-band interaction (<50, 50-64, 65-79, 80+). magent does not assign age.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6.5). Table 2 centers at (albumin-4). magent does not assay albumin.","type":"number"},"any_malignancy":{"description":"Caller-assigned any malignancy (McGinnis 2024 Table 2). true adds 0.090 to lp and 2 to the CCI grouping. magent does not diagnose cancer.","type":"boolean"},"bmi_kg_m2":{"description":"Body mass index in kg/m² (10-60). Table 2 centers at (BMI-25). magent does not compute BMI from height and weight.","type":"number"},"cerebrovascular_disease":{"description":"Caller-assigned cerebrovascular disease (McGinnis 2024 Table 2). true adds 0.114 to lp and 1 to the CCI grouping. magent does not diagnose stroke.","type":"boolean"},"chronic_pulmonary_disease":{"description":"Caller-assigned chronic pulmonary disease (McGinnis 2024 Table 2). true adds 0.279 to lp and 1 to the CCI grouping. magent does not diagnose lung disease.","type":"boolean"},"congestive_heart_failure":{"description":"Caller-assigned congestive heart failure (McGinnis 2024 Table 2). true adds 0.420 to lp and 1 to the CCI grouping. magent does not diagnose heart failure.","type":"boolean"},"dementia":{"description":"Caller-assigned dementia (McGinnis 2024 Table 2). true adds 0.489 to lp and 1 to the CCI grouping. magent does not diagnose dementia.","type":"boolean"},"diabetes_with_complications":{"description":"Caller-assigned diabetes with chronic complications (McGinnis 2024 Table 2). true adds 0.075 to lp and 2 to the CCI grouping. magent does not diagnose diabetes.","type":"boolean"},"diabetes_without_complications":{"description":"Caller-assigned diabetes without chronic complications (McGinnis 2024 Table 2). true adds 0.053 to lp and 1 to the CCI grouping. magent does not diagnose diabetes.","type":"boolean"},"egfr_ml_min_1_73m2":{"description":"Caller-assigned eGFR in mL/min/1.73m² (0-200). Table 2 centers at (egfr-90). magent does not compute CKD-EPI.","type":"number"},"fib4":{"description":"Caller-assigned FIB-4 (0.1-20). Table 2 uses X and X2 of FIB-4. magent does not recompute FIB-4.","type":"number"},"hemiplegia_or_paraplegia":{"description":"Caller-assigned hemiplegia or paraplegia (McGinnis 2024 Table 2). true adds -0.049 to lp and 2 to the CCI grouping. magent does not diagnose paralysis.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Table 2 centers at (hemoglobin-14). magent does not assay hemoglobin.","type":"number"},"hepatitis_c":{"description":"Caller-assigned hepatitis C (McGinnis 2024). true adds 0.273 to the linear predictor. magent does not diagnose hepatitis C.","type":"boolean"},"kidney_mild_to_moderate":{"description":"Caller-assigned mild-to-moderate kidney disease (McGinnis 2024 Table 2). true adds -0.199 to lp and 2 to the CCI grouping. magent does not grade kidney disease.","type":"boolean"},"kidney_severe":{"description":"Caller-assigned severe kidney disease (McGinnis 2024 Table 2). true adds -0.098 to lp and 2 to the CCI grouping. magent does not grade kidney disease.","type":"boolean"},"liver_mild":{"description":"Caller-assigned mild liver disease (McGinnis 2024 Table 2). true adds -0.045 to lp and 1 to the CCI grouping. magent does not grade liver disease.","type":"boolean"},"liver_moderate_to_severe":{"description":"Caller-assigned moderate-to-severe liver disease (McGinnis 2024 Table 2). true adds 0.226 to lp and 3 to the CCI grouping. magent does not grade liver disease.","type":"boolean"},"metastatic_solid_tumor":{"description":"Caller-assigned metastatic solid tumor (McGinnis 2024 Table 2). true adds 1.184 to lp and 6 to the CCI grouping. magent does not diagnose cancer.","type":"boolean"},"myocardial_infarction":{"description":"Caller-assigned myocardial infarction (McGinnis 2024 Table 2). true adds 0.008 to lp and 1 to the CCI grouping. magent does not diagnose infarction.","type":"boolean"},"peptic_ulcer_disease":{"description":"Caller-assigned peptic ulcer disease (McGinnis 2024 Table 2). true adds -0.074 to lp and 1 to the CCI grouping. magent does not diagnose ulcer disease.","type":"boolean"},"peripheral_vascular_disease":{"description":"Caller-assigned peripheral vascular disease (McGinnis 2024 Table 2). true adds 0.141 to lp and 1 to the CCI grouping. magent does not diagnose vascular disease.","type":"boolean"},"rheumatic_disease":{"description":"Caller-assigned rheumatic disease (McGinnis 2024 Table 2). true adds -0.034 to lp and 1 to the CCI grouping. magent does not diagnose rheumatic disease.","type":"boolean"},"sex":{"description":"Caller-assigned sex (female or male). Female vs male adds -0.513 to the Table 2 linear predictor. magent does not assign sex.","enum":["female","male"],"type":"string"},"wbc_10e9_l":{"description":"White blood count in 10^9/L (0.5-50), equal to k/µL. Table 2 centers at (WBC-4). magent does not assay WBC.","type":"number"}},"required":["sex","age","hemoglobin_g_dl","fib4","egfr_ml_min_1_73m2","albumin_g_dl","wbc_10e9_l","bmi_kg_m2","hepatitis_c","myocardial_infarction","congestive_heart_failure","peripheral_vascular_disease","cerebrovascular_disease","dementia","chronic_pulmonary_disease","rheumatic_disease","peptic_ulcer_disease","diabetes_without_complications","diabetes_with_complications","hemiplegia_or_paraplegia","kidney_mild_to_moderate","kidney_severe","any_malignancy","metastatic_solid_tumor","liver_mild","liver_moderate_to_severe"],"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},{"id":39540,"slug":"39540","resource":"https://api.magentlab.com/api/calc/atlas","description":"Miller 2013 ATLAS for Clostridioides difficile: age (<60 0, 60–79 1, ≥80 2), systemic antibiotics during CDI therapy (0 or 2), WBC (<16 0, 16–25 1, >25 ×10^9/L 2), albumin (>35 0, 26–35 1, ≤25 g/L 2), creatinine (≤120 0, 121–179 1, ≥180 µmol/L 2); max 10. Predicted cure percent = 100 − 5.08 × score (1 decimal). Not a CDI diagnosis, stool culture, or metronidazole/vancomycin/fidaxomicin order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"albumin_g_dl":4,"albumin_g_l":40,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"systemic_antibiotics":false,"wbc_k_ul":8,"wbc_ul":8000},{"age":40,"albumin_g_dl":4,"albumin_g_l":40,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"systemic_antibiotics":false,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"albumin_g_l":40,"atlas_score":0,"citation":{"authors":"Miller MA, Louie T, Mullane K, Weiss K, Lentnek A, Golan Y, Kean Y, Sears P","doi":"10.1186/1471-2334-13-148","id":"miller-2013","pmid":"23530807","source":"BMC Infect Dis. 2013;13:148","title":"Derivation and validation of a simple clinical bedside score (ATLAS) for Clostridium difficile infection which predicts response to therapy"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"systemic_antibiotics","points":0,"present":false},{"factor":"leukocyte","points":0,"present":false,"value":8000},{"factor":"albumin","points":0,"present":false,"value":40},{"factor":"creatinine","points":0,"present":false,"value":80}],"creatinine_umol_l":80,"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":"atlas","formula_expression":"ATLAS = age (<60 0, 60–79 1, ≥80 2) + systemic_antibiotics (false 0, true 2) + leukocyte (<16 ×10^9/L 0, 16–25 1, >25 2) + albumin (>35 g/L 0, 26–35 1, ≤25 2) + creatinine (≤120 µmol/L 0, 121–179 1, ≥180 2); Miller 2013 Table 1 five-component ATLAS; max 10; predicted_cure_percent = 100 − 5.08 × score (1 decimal)","max_score":10,"predicted_cure_percent":100,"score":0,"systemic_antibiotics":false,"wbc_per_ul":8000},{"age_years":40,"albumin_g_l":40,"atlas_score":0,"citation":{"authors":"Miller MA, Louie T, Mullane K, Weiss K, Lentnek A, Golan Y, Kean Y, Sears P","doi":"10.1186/1471-2334-13-148","id":"miller-2013","pmid":"23530807","source":"BMC Infect Dis. 2013;13:148","title":"Derivation and validation of a simple clinical bedside score (ATLAS) for Clostridium difficile infection which predicts response to therapy"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"systemic_antibiotics","points":0,"present":false},{"factor":"leukocyte","points":0,"present":false,"value":8000},{"factor":"albumin","points":0,"present":false,"value":40},{"factor":"creatinine","points":0,"present":false,"value":80}],"creatinine_umol_l":80,"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":"atlas","formula_expression":"ATLAS = age (<60 0, 60–79 1, ≥80 2) + systemic_antibiotics (false 0, true 2) + leukocyte (<16 ×10^9/L 0, 16–25 1, >25 2) + albumin (>35 g/L 0, 26–35 1, ≤25 2) + creatinine (≤120 µmol/L 0, 121–179 1, ≥180 2); Miller 2013 Table 1 five-component ATLAS; max 10; predicted_cure_percent = 100 − 5.08 × score (1 decimal)","max_score":10,"predicted_cure_percent":100,"score":0,"systemic_antibiotics":false,"wbc_per_ul":8000}],"path":"/api/calc/atlas"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Miller 2013 Table 1: <60 scores 0; 60–79 inclusive scores 1; ≥80 scores 2.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Miller 2013: >35 scores 0; 26–35 inclusive scores 1; ≤25 scores 2. magent does not assay albumin.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42. Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl, not both. Miller 2013: ≤120 scores 0; 121–179 inclusive scores 1; ≥180 scores 2. magent does not assay creatinine.","type":"number"},"systemic_antibiotics":{"description":"Systemic antibiotics on one or more days of CDI therapy (Miller 2013). true scores 2; false scores 0. There is no 1-point cell. magent does not review the medication list.","type":"boolean"},"wbc_k_ul":{"description":"Total leukocyte count in 10^3/µL (same as ×10^9/L). Provide wbc_k_ul or wbc_ul, not both. Range 0.01-500. Miller 2013: <16 scores 0; 16–25 inclusive scores 1; >25 scores 2.","type":"number"},"wbc_ul":{"description":"Total leukocyte count in cells/µL. Provide wbc_k_ul or wbc_ul, not both. Range 10-500000. Miller 2013: <16000 scores 0; 16000–25000 inclusive scores 1; >25000 scores 2.","type":"number"}},"required":["age","systemic_antibiotics"],"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":["atlas","cdi","c-difficile","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:17:23.578Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:17:23.445Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"albumin_g_dl":4,"albumin_g_l":40,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"systemic_antibiotics":false,"wbc_k_ul":8,"wbc_ul":8000},{"age":40,"albumin_g_dl":4,"albumin_g_l":40,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"systemic_antibiotics":false,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"albumin_g_l":40,"atlas_score":0,"citation":{"authors":"Miller MA, Louie T, Mullane K, Weiss K, Lentnek A, Golan Y, Kean Y, Sears P","doi":"10.1186/1471-2334-13-148","id":"miller-2013","pmid":"23530807","source":"BMC Infect Dis. 2013;13:148","title":"Derivation and validation of a simple clinical bedside score (ATLAS) for Clostridium difficile infection which predicts response to therapy"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"systemic_antibiotics","points":0,"present":false},{"factor":"leukocyte","points":0,"present":false,"value":8000},{"factor":"albumin","points":0,"present":false,"value":40},{"factor":"creatinine","points":0,"present":false,"value":80}],"creatinine_umol_l":80,"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":"atlas","formula_expression":"ATLAS = age (<60 0, 60–79 1, ≥80 2) + systemic_antibiotics (false 0, true 2) + leukocyte (<16 ×10^9/L 0, 16–25 1, >25 2) + albumin (>35 g/L 0, 26–35 1, ≤25 2) + creatinine (≤120 µmol/L 0, 121–179 1, ≥180 2); Miller 2013 Table 1 five-component ATLAS; max 10; predicted_cure_percent = 100 − 5.08 × score (1 decimal)","max_score":10,"predicted_cure_percent":100,"score":0,"systemic_antibiotics":false,"wbc_per_ul":8000},{"age_years":40,"albumin_g_l":40,"atlas_score":0,"citation":{"authors":"Miller MA, Louie T, Mullane K, Weiss K, Lentnek A, Golan Y, Kean Y, Sears P","doi":"10.1186/1471-2334-13-148","id":"miller-2013","pmid":"23530807","source":"BMC Infect Dis. 2013;13:148","title":"Derivation and validation of a simple clinical bedside score (ATLAS) for Clostridium difficile infection which predicts response to therapy"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"systemic_antibiotics","points":0,"present":false},{"factor":"leukocyte","points":0,"present":false,"value":8000},{"factor":"albumin","points":0,"present":false,"value":40},{"factor":"creatinine","points":0,"present":false,"value":80}],"creatinine_umol_l":80,"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":"atlas","formula_expression":"ATLAS = age (<60 0, 60–79 1, ≥80 2) + systemic_antibiotics (false 0, true 2) + leukocyte (<16 ×10^9/L 0, 16–25 1, >25 2) + albumin (>35 g/L 0, 26–35 1, ≤25 2) + creatinine (≤120 µmol/L 0, 121–179 1, ≥180 2); Miller 2013 Table 1 five-component ATLAS; max 10; predicted_cure_percent = 100 − 5.08 × score (1 decimal)","max_score":10,"predicted_cure_percent":100,"score":0,"systemic_antibiotics":false,"wbc_per_ul":8000}],"path":"/api/calc/atlas"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Miller 2013 Table 1: <60 scores 0; 60–79 inclusive scores 1; ≥80 scores 2.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Miller 2013: >35 scores 0; 26–35 inclusive scores 1; ≤25 scores 2. magent does not assay albumin.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42. Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl, not both. Miller 2013: ≤120 scores 0; 121–179 inclusive scores 1; ≥180 scores 2. magent does not assay creatinine.","type":"number"},"systemic_antibiotics":{"description":"Systemic antibiotics on one or more days of CDI therapy (Miller 2013). true scores 2; false scores 0. There is no 1-point cell. magent does not review the medication list.","type":"boolean"},"wbc_k_ul":{"description":"Total leukocyte count in 10^3/µL (same as ×10^9/L). Provide wbc_k_ul or wbc_ul, not both. Range 0.01-500. Miller 2013: <16 scores 0; 16–25 inclusive scores 1; >25 scores 2.","type":"number"},"wbc_ul":{"description":"Total leukocyte count in cells/µL. Provide wbc_k_ul or wbc_ul, not both. Range 10-500000. Miller 2013: <16000 scores 0; 16000–25000 inclusive scores 1; >25000 scores 2.","type":"number"}},"required":["age","systemic_antibiotics"],"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},{"id":39541,"slug":"39541","resource":"https://api.magentlab.com/api/calc/lrinec","description":"LRINEC (Wong 2004): CRP ≥150 mg/L (4), WBC k/µL (<15 0, 15–25 1, >25 2), hemoglobin g/dL (>13.5 0, 11–13.5 1, <11 2), sodium <135 mmol/L (2), creatinine >141 µmol/L (2), glucose >10 mmol/L (1); max 13; cutoff ≥6. Deterministic published laboratory score with citation; not a diagnosis of necrotizing fasciitis and not an operative decision. A score below cutoff does not exclude disease.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"crp_mg_l":20,"glucose_mg_dl":90,"glucose_mmol_l":5,"hemoglobin_g_dl":14,"sodium_mmol_l":140,"wbc_k_ul":8,"wbc_ul":8000},{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"crp_mg_l":20,"glucose_mg_dl":90,"glucose_mmol_l":5,"hemoglobin_g_dl":14,"sodium_mmol_l":140,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"at_or_above_cutoff":false,"citation":{"authors":"Wong CH, Khin LW, Heng KS, Tan KC, Low CO","doi":"10.1097/01.ccm.0000131218.22741.d4","id":"wong-2004","source":"Crit Care Med. 2004;32(7):1535-1541","title":"The LRINEC (Laboratory Risk Indicator for Necrotizing Fasciitis) score: a tool for distinguishing necrotizing fasciitis from other soft tissue infections"},"components":[{"factor":"crp","points":0,"present":false,"value":20},{"factor":"wbc","points":0,"present":false,"value":8},{"factor":"hemoglobin","points":0,"present":false,"value":14},{"factor":"sodium","points":0,"present":false,"value":140},{"factor":"creatinine","points":0,"present":false,"value":88.42},{"factor":"glucose","points":0,"present":false,"value":4.994949551009535}],"creatinine_umol_l":88.42,"crp_mg_l":20,"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":"lrinec","formula_expression":"LRINEC = CRP (>=150 mg/L → 4) + WBC 10^3/mm^3 (<15 → 0; 15-25 → 1; >25 → 2) + hemoglobin g/dL (>13.5 → 0; 11-13.5 → 1; <11 → 2) + sodium (<135 mmol/L → 2) + creatinine (>141 µmol/L → 2) + glucose (>10 mmol/L → 1); max 13; cutoff >=6","glucose_mmol_l":4.994949551009535,"hemoglobin_g_dl":14,"max_score":13,"score":0,"sodium_mmol_l":140,"wbc_k_ul":8},{"at_or_above_cutoff":false,"citation":{"authors":"Wong CH, Khin LW, Heng KS, Tan KC, Low CO","doi":"10.1097/01.ccm.0000131218.22741.d4","id":"wong-2004","source":"Crit Care Med. 2004;32(7):1535-1541","title":"The LRINEC (Laboratory Risk Indicator for Necrotizing Fasciitis) score: a tool for distinguishing necrotizing fasciitis from other soft tissue infections"},"components":[{"factor":"crp","points":0,"present":false,"value":20},{"factor":"wbc","points":0,"present":false,"value":8},{"factor":"hemoglobin","points":0,"present":false,"value":14},{"factor":"sodium","points":0,"present":false,"value":140},{"factor":"creatinine","points":0,"present":false,"value":88.42},{"factor":"glucose","points":0,"present":false,"value":4.994949551009535}],"creatinine_umol_l":88.42,"crp_mg_l":20,"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":"lrinec","formula_expression":"LRINEC = CRP (>=150 mg/L → 4) + WBC 10^3/mm^3 (<15 → 0; 15-25 → 1; >25 → 2) + hemoglobin g/dL (>13.5 → 0; 11-13.5 → 1; <11 → 2) + sodium (<135 mmol/L → 2) + creatinine (>141 µmol/L → 2) + glucose (>10 mmol/L → 1); max 13; cutoff >=6","glucose_mmol_l":4.994949551009535,"hemoglobin_g_dl":14,"max_score":13,"score":0,"sodium_mmol_l":140,"wbc_k_ul":8}],"path":"/api/calc/lrinec"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_mg_dl":{"description":"Creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Converted as µmol/L = mg/dL × 88.42. >141 µmol/L scores 2.","type":"number"},"creatinine_umol_l":{"description":"Creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl. >141 scores 2.","type":"number"},"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500). ≥150 scores 4; otherwise 0.","type":"number"},"glucose_mg_dl":{"description":"Plasma glucose in mg/dL (50-1000). Provide this or glucose_mmol_l, not both. Converted as mmol/L = mg/dL / 18.0182. >10 mmol/L scores 1.","type":"number"},"glucose_mmol_l":{"description":"Plasma glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. >10 scores 1.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). >13.5 scores 0; 11-13.5 scores 1; <11 scores 2.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). <135 scores 2; otherwise 0.","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/mm^3 (same as k/µL or 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. <15 scores 0; 15-25 scores 1; >25 scores 2.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. Converted as k/µL = cells/µL / 1000.","type":"number"}},"required":["crp_mg_l","hemoglobin_g_dl","sodium_mmol_l"],"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":["lrinec","necrotizing-fasciitis","infection","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:16:11.443Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:16:11.316Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"crp_mg_l":20,"glucose_mg_dl":90,"glucose_mmol_l":5,"hemoglobin_g_dl":14,"sodium_mmol_l":140,"wbc_k_ul":8,"wbc_ul":8000},{"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"crp_mg_l":20,"glucose_mg_dl":90,"glucose_mmol_l":5,"hemoglobin_g_dl":14,"sodium_mmol_l":140,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"at_or_above_cutoff":false,"citation":{"authors":"Wong CH, Khin LW, Heng KS, Tan KC, Low CO","doi":"10.1097/01.ccm.0000131218.22741.d4","id":"wong-2004","source":"Crit Care Med. 2004;32(7):1535-1541","title":"The LRINEC (Laboratory Risk Indicator for Necrotizing Fasciitis) score: a tool for distinguishing necrotizing fasciitis from other soft tissue infections"},"components":[{"factor":"crp","points":0,"present":false,"value":20},{"factor":"wbc","points":0,"present":false,"value":8},{"factor":"hemoglobin","points":0,"present":false,"value":14},{"factor":"sodium","points":0,"present":false,"value":140},{"factor":"creatinine","points":0,"present":false,"value":88.42},{"factor":"glucose","points":0,"present":false,"value":4.994949551009535}],"creatinine_umol_l":88.42,"crp_mg_l":20,"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":"lrinec","formula_expression":"LRINEC = CRP (>=150 mg/L → 4) + WBC 10^3/mm^3 (<15 → 0; 15-25 → 1; >25 → 2) + hemoglobin g/dL (>13.5 → 0; 11-13.5 → 1; <11 → 2) + sodium (<135 mmol/L → 2) + creatinine (>141 µmol/L → 2) + glucose (>10 mmol/L → 1); max 13; cutoff >=6","glucose_mmol_l":4.994949551009535,"hemoglobin_g_dl":14,"max_score":13,"score":0,"sodium_mmol_l":140,"wbc_k_ul":8},{"at_or_above_cutoff":false,"citation":{"authors":"Wong CH, Khin LW, Heng KS, Tan KC, Low CO","doi":"10.1097/01.ccm.0000131218.22741.d4","id":"wong-2004","source":"Crit Care Med. 2004;32(7):1535-1541","title":"The LRINEC (Laboratory Risk Indicator for Necrotizing Fasciitis) score: a tool for distinguishing necrotizing fasciitis from other soft tissue infections"},"components":[{"factor":"crp","points":0,"present":false,"value":20},{"factor":"wbc","points":0,"present":false,"value":8},{"factor":"hemoglobin","points":0,"present":false,"value":14},{"factor":"sodium","points":0,"present":false,"value":140},{"factor":"creatinine","points":0,"present":false,"value":88.42},{"factor":"glucose","points":0,"present":false,"value":4.994949551009535}],"creatinine_umol_l":88.42,"crp_mg_l":20,"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":"lrinec","formula_expression":"LRINEC = CRP (>=150 mg/L → 4) + WBC 10^3/mm^3 (<15 → 0; 15-25 → 1; >25 → 2) + hemoglobin g/dL (>13.5 → 0; 11-13.5 → 1; <11 → 2) + sodium (<135 mmol/L → 2) + creatinine (>141 µmol/L → 2) + glucose (>10 mmol/L → 1); max 13; cutoff >=6","glucose_mmol_l":4.994949551009535,"hemoglobin_g_dl":14,"max_score":13,"score":0,"sodium_mmol_l":140,"wbc_k_ul":8}],"path":"/api/calc/lrinec"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"creatinine_mg_dl":{"description":"Creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Converted as µmol/L = mg/dL × 88.42. >141 µmol/L scores 2.","type":"number"},"creatinine_umol_l":{"description":"Creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl. >141 scores 2.","type":"number"},"crp_mg_l":{"description":"C-reactive protein in mg/L (0-500). ≥150 scores 4; otherwise 0.","type":"number"},"glucose_mg_dl":{"description":"Plasma glucose in mg/dL (50-1000). Provide this or glucose_mmol_l, not both. Converted as mmol/L = mg/dL / 18.0182. >10 mmol/L scores 1.","type":"number"},"glucose_mmol_l":{"description":"Plasma glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both. >10 scores 1.","type":"number"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). >13.5 scores 0; 11-13.5 scores 1; <11 scores 2.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). <135 scores 2; otherwise 0.","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/mm^3 (same as k/µL or 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. <15 scores 0; 15-25 scores 1; >25 scores 2.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. Converted as k/µL = cells/µL / 1000.","type":"number"}},"required":["crp_mg_l","hemoglobin_g_dl","sodium_mmol_l"],"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},{"id":39542,"slug":"39542","resource":"https://api.magentlab.com/api/calc/khorana","description":"Khorana 2008 Blood predictive model for chemotherapy-associated thrombosis: very_high site (stomach or pancreas) 2, high (lung, lymphoma, gynecologic, bladder, testicular) 1, other 0; platelets >=350 1; hemoglobin <10 g/dL or ESA 1 (once); WBC >11 x10^9/L 1; BMI>=35 caller flag 1. Max 6. 0 low; 1-2 intermediate; >=3 high. Not a diagnosis. Not Padua or Caprini. Caller assigns cancer site; magent does not compute BMI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bmi_ge_35":false,"cancer_site":"other","erythropoiesis_stimulating_agent":false,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"platelets_10e9_l":200,"wbc_k_ul":8,"wbc_ul":8000},{"bmi_ge_35":false,"cancer_site":"other","erythropoiesis_stimulating_agent":false,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"platelets_10e9_l":200,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmi_ge_35":false,"cancer_site":"other","citation":{"authors":"Khorana AA, Kuderer NM, Culakova E, Lyman GH, Francis CW","doi":"10.1182/blood-2007-10-116327","id":"khorana-2008","source":"Blood. 2008;111(10):4902-4907","title":"Development and validation of a predictive model for chemotherapy-associated thrombosis"},"components":[{"factor":"cancer_site","points":0,"present":false,"value":"other"},{"factor":"platelets","points":0,"present":false,"value":200},{"factor":"hemoglobin_or_esa","points":0,"present":false,"value":{"erythropoiesis_stimulating_agent":false,"hemoglobin_g_dl":12}},{"factor":"wbc","points":0,"present":false,"value":8000},{"factor":"bmi_ge_35","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.","erythropoiesis_stimulating_agent":false,"formula":"khorana","formula_expression":"Khorana = cancer_site (very_high 2, high 1, other 0) + (platelets>=350) + (hemoglobin<10 g/dL or ESA) + (wbc>11 x10^9/L) + (BMI>=35); max 6; 0 low, 1-2 intermediate, >=3 high","hemoglobin_g_dl":12,"khorana_risk":"low","max_score":6,"platelets_10e9_l":200,"score":0,"wbc_ul":8000},{"bmi_ge_35":false,"cancer_site":"other","citation":{"authors":"Khorana AA, Kuderer NM, Culakova E, Lyman GH, Francis CW","doi":"10.1182/blood-2007-10-116327","id":"khorana-2008","source":"Blood. 2008;111(10):4902-4907","title":"Development and validation of a predictive model for chemotherapy-associated thrombosis"},"components":[{"factor":"cancer_site","points":0,"present":false,"value":"other"},{"factor":"platelets","points":0,"present":false,"value":200},{"factor":"hemoglobin_or_esa","points":0,"present":false,"value":{"erythropoiesis_stimulating_agent":false,"hemoglobin_g_dl":12}},{"factor":"wbc","points":0,"present":false,"value":8000},{"factor":"bmi_ge_35","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.","erythropoiesis_stimulating_agent":false,"formula":"khorana","formula_expression":"Khorana = cancer_site (very_high 2, high 1, other 0) + (platelets>=350) + (hemoglobin<10 g/dL or ESA) + (wbc>11 x10^9/L) + (BMI>=35); max 6; 0 low, 1-2 intermediate, >=3 high","hemoglobin_g_dl":12,"khorana_risk":"low","max_score":6,"platelets_10e9_l":200,"score":0,"wbc_ul":8000}],"path":"/api/calc/khorana"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmi_ge_35":{"description":"BMI ≥35 as assigned by the caller. true or false. magent does not take height or weight. 1 point if true.","type":"boolean"},"cancer_site":{"description":"Caller-assigned Khorana site class. very_high (stomach or pancreas) scores 2; high (lung, lymphoma, gynecologic, bladder, or testicular) scores 1; other scores 0. magent does not assign cancer site from histology text.","type":"string"},"erythropoiesis_stimulating_agent":{"description":"Use of an erythropoiesis-stimulating agent as assigned by the caller. true or false. Scores 1 with hemoglobin <10 g/dL (once, not twice).","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. <10 scores 1 with ESA (once, not twice). 10.0 does not score unless ESA is true.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"platelets_10e9_l":{"description":"Pre-chemotherapy platelet count ×10^9/L (1-2000). ≥350 scores 1 (350 scores; 349 does not).","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. >11 scores 1 (11.0 does not).","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. >11000 scores 1 (11000 does not).","type":"number"}},"required":["cancer_site","platelets_10e9_l","erythropoiesis_stimulating_agent","bmi_ge_35"],"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":["khorana","vte","thrombosis","cancer","score","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:15:30.153Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:15:30.022Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bmi_ge_35":false,"cancer_site":"other","erythropoiesis_stimulating_agent":false,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"platelets_10e9_l":200,"wbc_k_ul":8,"wbc_ul":8000},{"bmi_ge_35":false,"cancer_site":"other","erythropoiesis_stimulating_agent":false,"hemoglobin_g_dl":12,"hemoglobin_g_l":120,"platelets_10e9_l":200,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmi_ge_35":false,"cancer_site":"other","citation":{"authors":"Khorana AA, Kuderer NM, Culakova E, Lyman GH, Francis CW","doi":"10.1182/blood-2007-10-116327","id":"khorana-2008","source":"Blood. 2008;111(10):4902-4907","title":"Development and validation of a predictive model for chemotherapy-associated thrombosis"},"components":[{"factor":"cancer_site","points":0,"present":false,"value":"other"},{"factor":"platelets","points":0,"present":false,"value":200},{"factor":"hemoglobin_or_esa","points":0,"present":false,"value":{"erythropoiesis_stimulating_agent":false,"hemoglobin_g_dl":12}},{"factor":"wbc","points":0,"present":false,"value":8000},{"factor":"bmi_ge_35","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.","erythropoiesis_stimulating_agent":false,"formula":"khorana","formula_expression":"Khorana = cancer_site (very_high 2, high 1, other 0) + (platelets>=350) + (hemoglobin<10 g/dL or ESA) + (wbc>11 x10^9/L) + (BMI>=35); max 6; 0 low, 1-2 intermediate, >=3 high","hemoglobin_g_dl":12,"khorana_risk":"low","max_score":6,"platelets_10e9_l":200,"score":0,"wbc_ul":8000},{"bmi_ge_35":false,"cancer_site":"other","citation":{"authors":"Khorana AA, Kuderer NM, Culakova E, Lyman GH, Francis CW","doi":"10.1182/blood-2007-10-116327","id":"khorana-2008","source":"Blood. 2008;111(10):4902-4907","title":"Development and validation of a predictive model for chemotherapy-associated thrombosis"},"components":[{"factor":"cancer_site","points":0,"present":false,"value":"other"},{"factor":"platelets","points":0,"present":false,"value":200},{"factor":"hemoglobin_or_esa","points":0,"present":false,"value":{"erythropoiesis_stimulating_agent":false,"hemoglobin_g_dl":12}},{"factor":"wbc","points":0,"present":false,"value":8000},{"factor":"bmi_ge_35","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.","erythropoiesis_stimulating_agent":false,"formula":"khorana","formula_expression":"Khorana = cancer_site (very_high 2, high 1, other 0) + (platelets>=350) + (hemoglobin<10 g/dL or ESA) + (wbc>11 x10^9/L) + (BMI>=35); max 6; 0 low, 1-2 intermediate, >=3 high","hemoglobin_g_dl":12,"khorana_risk":"low","max_score":6,"platelets_10e9_l":200,"score":0,"wbc_ul":8000}],"path":"/api/calc/khorana"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmi_ge_35":{"description":"BMI ≥35 as assigned by the caller. true or false. magent does not take height or weight. 1 point if true.","type":"boolean"},"cancer_site":{"description":"Caller-assigned Khorana site class. very_high (stomach or pancreas) scores 2; high (lung, lymphoma, gynecologic, bladder, or testicular) scores 1; other scores 0. magent does not assign cancer site from histology text.","type":"string"},"erythropoiesis_stimulating_agent":{"description":"Use of an erythropoiesis-stimulating agent as assigned by the caller. true or false. Scores 1 with hemoglobin <10 g/dL (once, not twice).","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. <10 scores 1 with ESA (once, not twice). 10.0 does not score unless ESA is true.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"platelets_10e9_l":{"description":"Pre-chemotherapy platelet count ×10^9/L (1-2000). ≥350 scores 1 (350 scores; 349 does not).","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. >11 scores 1 (11.0 does not).","type":"number"},"wbc_ul":{"description":"WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. >11000 scores 1 (11000 does not).","type":"number"}},"required":["cancer_site","platelets_10e9_l","erythropoiesis_stimulating_agent","bmi_ge_35"],"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},{"id":39543,"slug":"39543","resource":"https://api.magentlab.com/api/calc/caprini","description":"Caprini 2005 thrombosis risk assessment (Table 3): exclusive age (41-60=1, 61-74=2, >=75=3) and exclusive surgery (minor=1; arthroscopic/major/laparoscopic=2; arthroplasty=5) plus caller-assigned 1-, 2-, 3-, and 5-point flags. Max 78. Bands: 0-1 low, 2 moderate, 3-4 high, >=5 highest. Not a diagnosis. Not Caprini 2009/2013. Not a prophylaxis order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abnormal_pulmonary_function":false,"acute_myocardial_infarction":false,"adverse_pregnancy_history":false,"age":50,"anticardiolipin_antibodies":false,"central_venous_access":false,"confined_to_bed_gt_72h":false,"congestive_heart_failure":false,"elevated_homocysteine":false,"factor_v_leiden":false,"family_history_thrombosis":false,"heparin_induced_thrombocytopenia":false,"hip_pelvis_leg_fracture":false,"history_dvt_pe":false,"immobilizing_plaster_cast":false,"inflammatory_bowel_disease":false,"lupus_anticoagulant":false,"malignancy":false,"medical_bed_rest":false,"multiple_trauma":false,"obesity":false,"oral_contraceptives_or_hrt":false,"other_risk_factor":false,"other_thrombophilia":false,"pregnancy_or_postpartum":false,"prior_major_surgery":false,"prothrombin_20210a":false,"sepsis":false,"serious_lung_disease":false,"spinal_cord_injury":false,"stroke":false,"surgery":"none","swollen_legs":false,"varicose_veins":false},{"abnormal_pulmonary_function":false,"acute_myocardial_infarction":false,"adverse_pregnancy_history":false,"age":50,"anticardiolipin_antibodies":false,"central_venous_access":false,"confined_to_bed_gt_72h":false,"congestive_heart_failure":false,"elevated_homocysteine":false,"factor_v_leiden":false,"family_history_thrombosis":false,"heparin_induced_thrombocytopenia":false,"hip_pelvis_leg_fracture":false,"history_dvt_pe":false,"immobilizing_plaster_cast":false,"inflammatory_bowel_disease":false,"lupus_anticoagulant":false,"malignancy":false,"medical_bed_rest":false,"multiple_trauma":false,"obesity":false,"oral_contraceptives_or_hrt":false,"other_risk_factor":false,"other_thrombophilia":false,"pregnancy_or_postpartum":false,"prior_major_surgery":false,"prothrombin_20210a":false,"sepsis":false,"serious_lung_disease":false,"spinal_cord_injury":false,"stroke":false,"surgery":"none","swollen_legs":false,"varicose_veins":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Caprini JA","doi":"10.1016/j.disamonth.2005.02.003","id":"caprini-2005","pmid":"15900257","source":"Dis Mon. 2005;51(2-3):70-78","title":"Thrombosis risk assessment as a guide to quality patient care"},"components":[{"factor":"age","points":1,"present":true,"value":50},{"factor":"surgery","points":0,"present":false,"value":"none"},{"factor":"prior_major_surgery","points":0,"present":false},{"factor":"varicose_veins","points":0,"present":false},{"factor":"inflammatory_bowel_disease","points":0,"present":false},{"factor":"swollen_legs","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"acute_myocardial_infarction","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"serious_lung_disease","points":0,"present":false},{"factor":"abnormal_pulmonary_function","points":0,"present":false},{"factor":"medical_bed_rest","points":0,"present":false},{"factor":"other_risk_factor","points":0,"present":false},{"factor":"oral_contraceptives_or_hrt","points":0,"present":false},{"factor":"pregnancy_or_postpartum","points":0,"present":false},{"factor":"adverse_pregnancy_history","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"confined_to_bed_gt_72h","points":0,"present":false},{"factor":"immobilizing_plaster_cast","points":0,"present":false},{"factor":"central_venous_access","points":0,"present":false},{"factor":"history_dvt_pe","points":0,"present":false},{"factor":"family_history_thrombosis","points":0,"present":false},{"factor":"factor_v_leiden","points":0,"present":false},{"factor":"prothrombin_20210a","points":0,"present":false},{"factor":"elevated_homocysteine","points":0,"present":false},{"factor":"lupus_anticoagulant","points":0,"present":false},{"factor":"anticardiolipin_antibodies","points":0,"present":false},{"factor":"heparin_induced_thrombocytopenia","points":0,"present":false},{"factor":"other_thrombophilia","points":0,"present":false},{"factor":"hip_pelvis_leg_fracture","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"multiple_trauma","points":0,"present":false},{"factor":"spinal_cord_injury","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":"caprini","formula_expression":"Caprini 2005 = exclusive age (<=40: 0, 41-60: 1, 61-74: 2, >=75: 3) + exclusive surgery (none 0, minor 1, arthroscopic 2, major >45 min 2, laparoscopic >45 min 2, elective arthroplasty 5) + Table 3 flags (1, 2, 3, or 5); max 78; 0-1 low, 2 moderate, 3-4 high, >=5 highest","max_score":78,"risk_band":"low","score":1,"surgery":"none"},{"age_years":50,"citation":{"authors":"Caprini JA","doi":"10.1016/j.disamonth.2005.02.003","id":"caprini-2005","pmid":"15900257","source":"Dis Mon. 2005;51(2-3):70-78","title":"Thrombosis risk assessment as a guide to quality patient care"},"components":[{"factor":"age","points":1,"present":true,"value":50},{"factor":"surgery","points":0,"present":false,"value":"none"},{"factor":"prior_major_surgery","points":0,"present":false},{"factor":"varicose_veins","points":0,"present":false},{"factor":"inflammatory_bowel_disease","points":0,"present":false},{"factor":"swollen_legs","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"acute_myocardial_infarction","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"serious_lung_disease","points":0,"present":false},{"factor":"abnormal_pulmonary_function","points":0,"present":false},{"factor":"medical_bed_rest","points":0,"present":false},{"factor":"other_risk_factor","points":0,"present":false},{"factor":"oral_contraceptives_or_hrt","points":0,"present":false},{"factor":"pregnancy_or_postpartum","points":0,"present":false},{"factor":"adverse_pregnancy_history","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"confined_to_bed_gt_72h","points":0,"present":false},{"factor":"immobilizing_plaster_cast","points":0,"present":false},{"factor":"central_venous_access","points":0,"present":false},{"factor":"history_dvt_pe","points":0,"present":false},{"factor":"family_history_thrombosis","points":0,"present":false},{"factor":"factor_v_leiden","points":0,"present":false},{"factor":"prothrombin_20210a","points":0,"present":false},{"factor":"elevated_homocysteine","points":0,"present":false},{"factor":"lupus_anticoagulant","points":0,"present":false},{"factor":"anticardiolipin_antibodies","points":0,"present":false},{"factor":"heparin_induced_thrombocytopenia","points":0,"present":false},{"factor":"other_thrombophilia","points":0,"present":false},{"factor":"hip_pelvis_leg_fracture","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"multiple_trauma","points":0,"present":false},{"factor":"spinal_cord_injury","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":"caprini","formula_expression":"Caprini 2005 = exclusive age (<=40: 0, 41-60: 1, 61-74: 2, >=75: 3) + exclusive surgery (none 0, minor 1, arthroscopic 2, major >45 min 2, laparoscopic >45 min 2, elective arthroplasty 5) + Table 3 flags (1, 2, 3, or 5); max 78; 0-1 low, 2 moderate, 3-4 high, >=5 highest","max_score":78,"risk_band":"low","score":1,"surgery":"none"}],"path":"/api/calc/caprini"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_pulmonary_function":{"description":"Abnormal pulmonary function (COPD) as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"acute_myocardial_infarction":{"description":"Acute myocardial infarction as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"adverse_pregnancy_history":{"description":"History of unexplained stillborn infant, recurrent spontaneous abortion (>=3), premature birth with toxemia, or growth-restricted infant as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1.","type":"boolean"},"age":{"description":"Age in years (18-120). Caprini 2005 exclusive bands: 41-60 scores 1; 61-74 scores 2; 75 or older scores 3. Age 40 or younger scores 0 for age.","type":"integer"},"anticardiolipin_antibodies":{"description":"Elevated anticardiolipin antibodies as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"central_venous_access":{"description":"Central venous access as assigned by the caller (Caprini 2005 Table 3). true scores 2.","type":"boolean"},"confined_to_bed_gt_72h":{"description":"Patient confined to bed (>72 hours) as assigned by the caller (Caprini 2005 Table 3). true scores 2. Independent of medical_bed_rest.","type":"boolean"},"congestive_heart_failure":{"description":"Congestive heart failure (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"elevated_homocysteine":{"description":"Elevated serum homocysteine as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"factor_v_leiden":{"description":"Positive Factor V Leiden as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"family_history_thrombosis":{"description":"Family history of thrombosis as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"heparin_induced_thrombocytopenia":{"description":"Heparin-induced thrombocytopenia (HIT) as assigned by the caller (Caprini 2005 Table 3). true scores 3. magent does not diagnose HIT.","type":"boolean"},"hip_pelvis_leg_fracture":{"description":"Hip, pelvis, or leg fracture (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5. Independent of exclusive surgery.","type":"boolean"},"history_dvt_pe":{"description":"History of DVT or PE as assigned by the caller (Caprini 2005 Table 3). true scores 3. magent does not diagnose VTE.","type":"boolean"},"immobilizing_plaster_cast":{"description":"Immobilizing plaster cast (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 2.","type":"boolean"},"inflammatory_bowel_disease":{"description":"History of inflammatory bowel disease as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"lupus_anticoagulant":{"description":"Positive lupus anticoagulant as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"malignancy":{"description":"Malignancy (present or previous) as assigned by the caller (Caprini 2005 Table 3). true scores 2.","type":"boolean"},"medical_bed_rest":{"description":"Medical patient currently at bed rest as assigned by the caller (Caprini 2005 Table 3). true scores 1. Independent of confined_to_bed_gt_72h.","type":"boolean"},"multiple_trauma":{"description":"Multiple trauma (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5.","type":"boolean"},"obesity":{"description":"Obesity as assigned by the caller (Caprini 2005 BMI >25). true scores 1. magent does not take height or weight.","type":"boolean"},"oral_contraceptives_or_hrt":{"description":"Oral contraceptives or hormone replacement therapy as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1.","type":"boolean"},"other_risk_factor":{"description":"Other Caprini 2005 Table 3 1-point risk factor as assigned by the caller. true scores 1. magent does not invent a factor from prose.","type":"boolean"},"other_thrombophilia":{"description":"Other congenital or acquired thrombophilia as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"pregnancy_or_postpartum":{"description":"Pregnancy or postpartum (<1 month) as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1.","type":"boolean"},"prior_major_surgery":{"description":"History of prior major surgery (<1 month) as assigned by the caller (Caprini 2005 Table 3). Independent of the exclusive surgery category. true scores 1.","type":"boolean"},"prothrombin_20210a":{"description":"Positive Prothrombin 20210A as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"sepsis":{"description":"Sepsis (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"serious_lung_disease":{"description":"Serious lung disease including pneumonia (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"spinal_cord_injury":{"description":"Acute spinal cord injury (paralysis) (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5.","type":"boolean"},"stroke":{"description":"Stroke (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5.","type":"boolean"},"surgery":{"description":"Mutually exclusive Caprini 2005 Table 3 surgery category as assigned by the caller. none scores 0. minor (minor surgery planned) scores 1. arthroscopic, major (major surgery >45 minutes), and laparoscopic (laparoscopic surgery >45 minutes) score 2. arthroplasty (elective major lower extremity arthroplasty) scores 5. One category only. History of prior major surgery is a separate 1-point flag.","enum":["none","minor","arthroscopic","major","laparoscopic","arthroplasty"],"type":"string"},"swollen_legs":{"description":"Swollen legs (current) as assigned by the caller (Caprini 2005 Table 3). true scores 1. magent does not examine the patient.","type":"boolean"},"varicose_veins":{"description":"Varicose veins as assigned by the caller (Caprini 2005 Table 3). true scores 1. magent does not examine the patient.","type":"boolean"}},"required":["age","surgery","prior_major_surgery","varicose_veins","inflammatory_bowel_disease","swollen_legs","obesity","acute_myocardial_infarction","congestive_heart_failure","sepsis","serious_lung_disease","abnormal_pulmonary_function","medical_bed_rest","other_risk_factor","oral_contraceptives_or_hrt","pregnancy_or_postpartum","adverse_pregnancy_history","malignancy","confined_to_bed_gt_72h","immobilizing_plaster_cast","central_venous_access","history_dvt_pe","family_history_thrombosis","factor_v_leiden","prothrombin_20210a","elevated_homocysteine","lupus_anticoagulant","anticardiolipin_antibodies","heparin_induced_thrombocytopenia","other_thrombophilia","hip_pelvis_leg_fracture","stroke","multiple_trauma","spinal_cord_injury"],"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":["caprini","vte","thrombosis","score","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:15:09.566Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:15:09.394Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abnormal_pulmonary_function":false,"acute_myocardial_infarction":false,"adverse_pregnancy_history":false,"age":50,"anticardiolipin_antibodies":false,"central_venous_access":false,"confined_to_bed_gt_72h":false,"congestive_heart_failure":false,"elevated_homocysteine":false,"factor_v_leiden":false,"family_history_thrombosis":false,"heparin_induced_thrombocytopenia":false,"hip_pelvis_leg_fracture":false,"history_dvt_pe":false,"immobilizing_plaster_cast":false,"inflammatory_bowel_disease":false,"lupus_anticoagulant":false,"malignancy":false,"medical_bed_rest":false,"multiple_trauma":false,"obesity":false,"oral_contraceptives_or_hrt":false,"other_risk_factor":false,"other_thrombophilia":false,"pregnancy_or_postpartum":false,"prior_major_surgery":false,"prothrombin_20210a":false,"sepsis":false,"serious_lung_disease":false,"spinal_cord_injury":false,"stroke":false,"surgery":"none","swollen_legs":false,"varicose_veins":false},{"abnormal_pulmonary_function":false,"acute_myocardial_infarction":false,"adverse_pregnancy_history":false,"age":50,"anticardiolipin_antibodies":false,"central_venous_access":false,"confined_to_bed_gt_72h":false,"congestive_heart_failure":false,"elevated_homocysteine":false,"factor_v_leiden":false,"family_history_thrombosis":false,"heparin_induced_thrombocytopenia":false,"hip_pelvis_leg_fracture":false,"history_dvt_pe":false,"immobilizing_plaster_cast":false,"inflammatory_bowel_disease":false,"lupus_anticoagulant":false,"malignancy":false,"medical_bed_rest":false,"multiple_trauma":false,"obesity":false,"oral_contraceptives_or_hrt":false,"other_risk_factor":false,"other_thrombophilia":false,"pregnancy_or_postpartum":false,"prior_major_surgery":false,"prothrombin_20210a":false,"sepsis":false,"serious_lung_disease":false,"spinal_cord_injury":false,"stroke":false,"surgery":"none","swollen_legs":false,"varicose_veins":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"citation":{"authors":"Caprini JA","doi":"10.1016/j.disamonth.2005.02.003","id":"caprini-2005","pmid":"15900257","source":"Dis Mon. 2005;51(2-3):70-78","title":"Thrombosis risk assessment as a guide to quality patient care"},"components":[{"factor":"age","points":1,"present":true,"value":50},{"factor":"surgery","points":0,"present":false,"value":"none"},{"factor":"prior_major_surgery","points":0,"present":false},{"factor":"varicose_veins","points":0,"present":false},{"factor":"inflammatory_bowel_disease","points":0,"present":false},{"factor":"swollen_legs","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"acute_myocardial_infarction","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"serious_lung_disease","points":0,"present":false},{"factor":"abnormal_pulmonary_function","points":0,"present":false},{"factor":"medical_bed_rest","points":0,"present":false},{"factor":"other_risk_factor","points":0,"present":false},{"factor":"oral_contraceptives_or_hrt","points":0,"present":false},{"factor":"pregnancy_or_postpartum","points":0,"present":false},{"factor":"adverse_pregnancy_history","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"confined_to_bed_gt_72h","points":0,"present":false},{"factor":"immobilizing_plaster_cast","points":0,"present":false},{"factor":"central_venous_access","points":0,"present":false},{"factor":"history_dvt_pe","points":0,"present":false},{"factor":"family_history_thrombosis","points":0,"present":false},{"factor":"factor_v_leiden","points":0,"present":false},{"factor":"prothrombin_20210a","points":0,"present":false},{"factor":"elevated_homocysteine","points":0,"present":false},{"factor":"lupus_anticoagulant","points":0,"present":false},{"factor":"anticardiolipin_antibodies","points":0,"present":false},{"factor":"heparin_induced_thrombocytopenia","points":0,"present":false},{"factor":"other_thrombophilia","points":0,"present":false},{"factor":"hip_pelvis_leg_fracture","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"multiple_trauma","points":0,"present":false},{"factor":"spinal_cord_injury","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":"caprini","formula_expression":"Caprini 2005 = exclusive age (<=40: 0, 41-60: 1, 61-74: 2, >=75: 3) + exclusive surgery (none 0, minor 1, arthroscopic 2, major >45 min 2, laparoscopic >45 min 2, elective arthroplasty 5) + Table 3 flags (1, 2, 3, or 5); max 78; 0-1 low, 2 moderate, 3-4 high, >=5 highest","max_score":78,"risk_band":"low","score":1,"surgery":"none"},{"age_years":50,"citation":{"authors":"Caprini JA","doi":"10.1016/j.disamonth.2005.02.003","id":"caprini-2005","pmid":"15900257","source":"Dis Mon. 2005;51(2-3):70-78","title":"Thrombosis risk assessment as a guide to quality patient care"},"components":[{"factor":"age","points":1,"present":true,"value":50},{"factor":"surgery","points":0,"present":false,"value":"none"},{"factor":"prior_major_surgery","points":0,"present":false},{"factor":"varicose_veins","points":0,"present":false},{"factor":"inflammatory_bowel_disease","points":0,"present":false},{"factor":"swollen_legs","points":0,"present":false},{"factor":"obesity","points":0,"present":false},{"factor":"acute_myocardial_infarction","points":0,"present":false},{"factor":"congestive_heart_failure","points":0,"present":false},{"factor":"sepsis","points":0,"present":false},{"factor":"serious_lung_disease","points":0,"present":false},{"factor":"abnormal_pulmonary_function","points":0,"present":false},{"factor":"medical_bed_rest","points":0,"present":false},{"factor":"other_risk_factor","points":0,"present":false},{"factor":"oral_contraceptives_or_hrt","points":0,"present":false},{"factor":"pregnancy_or_postpartum","points":0,"present":false},{"factor":"adverse_pregnancy_history","points":0,"present":false},{"factor":"malignancy","points":0,"present":false},{"factor":"confined_to_bed_gt_72h","points":0,"present":false},{"factor":"immobilizing_plaster_cast","points":0,"present":false},{"factor":"central_venous_access","points":0,"present":false},{"factor":"history_dvt_pe","points":0,"present":false},{"factor":"family_history_thrombosis","points":0,"present":false},{"factor":"factor_v_leiden","points":0,"present":false},{"factor":"prothrombin_20210a","points":0,"present":false},{"factor":"elevated_homocysteine","points":0,"present":false},{"factor":"lupus_anticoagulant","points":0,"present":false},{"factor":"anticardiolipin_antibodies","points":0,"present":false},{"factor":"heparin_induced_thrombocytopenia","points":0,"present":false},{"factor":"other_thrombophilia","points":0,"present":false},{"factor":"hip_pelvis_leg_fracture","points":0,"present":false},{"factor":"stroke","points":0,"present":false},{"factor":"multiple_trauma","points":0,"present":false},{"factor":"spinal_cord_injury","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":"caprini","formula_expression":"Caprini 2005 = exclusive age (<=40: 0, 41-60: 1, 61-74: 2, >=75: 3) + exclusive surgery (none 0, minor 1, arthroscopic 2, major >45 min 2, laparoscopic >45 min 2, elective arthroplasty 5) + Table 3 flags (1, 2, 3, or 5); max 78; 0-1 low, 2 moderate, 3-4 high, >=5 highest","max_score":78,"risk_band":"low","score":1,"surgery":"none"}],"path":"/api/calc/caprini"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abnormal_pulmonary_function":{"description":"Abnormal pulmonary function (COPD) as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"acute_myocardial_infarction":{"description":"Acute myocardial infarction as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"adverse_pregnancy_history":{"description":"History of unexplained stillborn infant, recurrent spontaneous abortion (>=3), premature birth with toxemia, or growth-restricted infant as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1.","type":"boolean"},"age":{"description":"Age in years (18-120). Caprini 2005 exclusive bands: 41-60 scores 1; 61-74 scores 2; 75 or older scores 3. Age 40 or younger scores 0 for age.","type":"integer"},"anticardiolipin_antibodies":{"description":"Elevated anticardiolipin antibodies as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"central_venous_access":{"description":"Central venous access as assigned by the caller (Caprini 2005 Table 3). true scores 2.","type":"boolean"},"confined_to_bed_gt_72h":{"description":"Patient confined to bed (>72 hours) as assigned by the caller (Caprini 2005 Table 3). true scores 2. Independent of medical_bed_rest.","type":"boolean"},"congestive_heart_failure":{"description":"Congestive heart failure (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"elevated_homocysteine":{"description":"Elevated serum homocysteine as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"factor_v_leiden":{"description":"Positive Factor V Leiden as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"family_history_thrombosis":{"description":"Family history of thrombosis as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"heparin_induced_thrombocytopenia":{"description":"Heparin-induced thrombocytopenia (HIT) as assigned by the caller (Caprini 2005 Table 3). true scores 3. magent does not diagnose HIT.","type":"boolean"},"hip_pelvis_leg_fracture":{"description":"Hip, pelvis, or leg fracture (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5. Independent of exclusive surgery.","type":"boolean"},"history_dvt_pe":{"description":"History of DVT or PE as assigned by the caller (Caprini 2005 Table 3). true scores 3. magent does not diagnose VTE.","type":"boolean"},"immobilizing_plaster_cast":{"description":"Immobilizing plaster cast (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 2.","type":"boolean"},"inflammatory_bowel_disease":{"description":"History of inflammatory bowel disease as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"lupus_anticoagulant":{"description":"Positive lupus anticoagulant as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"malignancy":{"description":"Malignancy (present or previous) as assigned by the caller (Caprini 2005 Table 3). true scores 2.","type":"boolean"},"medical_bed_rest":{"description":"Medical patient currently at bed rest as assigned by the caller (Caprini 2005 Table 3). true scores 1. Independent of confined_to_bed_gt_72h.","type":"boolean"},"multiple_trauma":{"description":"Multiple trauma (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5.","type":"boolean"},"obesity":{"description":"Obesity as assigned by the caller (Caprini 2005 BMI >25). true scores 1. magent does not take height or weight.","type":"boolean"},"oral_contraceptives_or_hrt":{"description":"Oral contraceptives or hormone replacement therapy as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1.","type":"boolean"},"other_risk_factor":{"description":"Other Caprini 2005 Table 3 1-point risk factor as assigned by the caller. true scores 1. magent does not invent a factor from prose.","type":"boolean"},"other_thrombophilia":{"description":"Other congenital or acquired thrombophilia as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"pregnancy_or_postpartum":{"description":"Pregnancy or postpartum (<1 month) as assigned by the caller (Caprini 2005 Table 3, listed for women). true scores 1.","type":"boolean"},"prior_major_surgery":{"description":"History of prior major surgery (<1 month) as assigned by the caller (Caprini 2005 Table 3). Independent of the exclusive surgery category. true scores 1.","type":"boolean"},"prothrombin_20210a":{"description":"Positive Prothrombin 20210A as assigned by the caller (Caprini 2005 Table 3). true scores 3.","type":"boolean"},"sepsis":{"description":"Sepsis (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"serious_lung_disease":{"description":"Serious lung disease including pneumonia (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 1.","type":"boolean"},"spinal_cord_injury":{"description":"Acute spinal cord injury (paralysis) (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5.","type":"boolean"},"stroke":{"description":"Stroke (<1 month) as assigned by the caller (Caprini 2005 Table 3). true scores 5.","type":"boolean"},"surgery":{"description":"Mutually exclusive Caprini 2005 Table 3 surgery category as assigned by the caller. none scores 0. minor (minor surgery planned) scores 1. arthroscopic, major (major surgery >45 minutes), and laparoscopic (laparoscopic surgery >45 minutes) score 2. arthroplasty (elective major lower extremity arthroplasty) scores 5. One category only. History of prior major surgery is a separate 1-point flag.","enum":["none","minor","arthroscopic","major","laparoscopic","arthroplasty"],"type":"string"},"swollen_legs":{"description":"Swollen legs (current) as assigned by the caller (Caprini 2005 Table 3). true scores 1. magent does not examine the patient.","type":"boolean"},"varicose_veins":{"description":"Varicose veins as assigned by the caller (Caprini 2005 Table 3). true scores 1. magent does not examine the patient.","type":"boolean"}},"required":["age","surgery","prior_major_surgery","varicose_veins","inflammatory_bowel_disease","swollen_legs","obesity","acute_myocardial_infarction","congestive_heart_failure","sepsis","serious_lung_disease","abnormal_pulmonary_function","medical_bed_rest","other_risk_factor","oral_contraceptives_or_hrt","pregnancy_or_postpartum","adverse_pregnancy_history","malignancy","confined_to_bed_gt_72h","immobilizing_plaster_cast","central_venous_access","history_dvt_pe","family_history_thrombosis","factor_v_leiden","prothrombin_20210a","elevated_homocysteine","lupus_anticoagulant","anticardiolipin_antibodies","heparin_induced_thrombocytopenia","other_thrombophilia","hip_pelvis_leg_fracture","stroke","multiple_trauma","spinal_cord_injury"],"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},{"id":39544,"slug":"39544","resource":"https://api.magentlab.com/api/calc/4c","description":"Knight 2020 ISARIC 4C Mortality Score: age (<50→0, 50–59→2, 60–69→4, 70–79→6, ≥80→7) + male 1 + comorbidity_count (0/1/≥2 → 0/1/2; caller-assigned Charlson-plus-obesity count) + RR (<20→0, 20–29→1, ≥30→2) + room-air SpO2 (<92→2) + GCS (<15→2) + urea (<7→0, 7–14→1, >14→3 mmol/L; or BUN/2.8) + CRP (<50→0, 50–99→1, ≥100→2). Max 21. Table 5: low 0–3, intermediate 4–8, high 9–14, very high ≥15. Not a COVID-19 diagnosis or treatment order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"bun_mg_dl":14,"comorbidity_count":0,"crp_mg_l":10,"gcs":15,"respiratory_rate":16,"sex":"female","spo2_percent":98,"urea_mmol_l":5},{"age":40,"bun_mg_dl":14,"comorbidity_count":0,"crp_mg_l":10,"gcs":15,"respiratory_rate":16,"sex":"female","spo2_percent":98,"urea_mmol_l":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Knight SR, Ho A, Pius R, Buchan I, Carson G, Drake TM, Dunning J, Fairfield CJ, Gamble C, Green CA, Gupta R, Halpin S, Hardwick HE, Holden KA, Horby PW, Jackson C, Mclean KA, Merson L, Nguyen-Van-Tam JS, Norman L, Noursadeghi M, Olliaro PL, Pritchard MG, Russell CD, Shaw CA, Sheikh A, Solomon T, Sudlow C, Swann OV, Turtle LCW, Openshaw PJM, Baillie JK, Semple MG, Docherty AB, Harrison EM; ISARIC4C investigators","doi":"10.1136/bmj.m3339","id":"knight-2020","pmid":"32907855","source":"BMJ. 2020;370:m3339","title":"Risk stratification of patients admitted to hospital with covid-19 using the ISARIC WHO Clinical Characterisation Protocol: development and validation of the 4C Mortality Score"},"comorbidity_count":0,"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"comorbidity_count","points":0,"present":false,"value":0},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"urea","points":0,"present":false,"value":5},{"factor":"crp_mg_l","points":0,"present":false,"value":10}],"crp_mg_l":10,"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":"4c","formula_expression":"4C = age (<50 0, 50–59 2, 60–69 4, 70–79 6, ≥80 7) + sex (female 0, male 1) + comorbidity_count (0→0, 1→1, ≥2→2) + respiratory_rate (<20 0, 20–29 1, ≥30 2) + spo2_percent (≥92 0, <92 2) + gcs (15 0, <15 2) + urea_mmol_l (<7 0, 7–14 1, >14 3) + crp_mg_l (<50 0, 50–99 1, ≥100 2); Knight 2020 Table 2; max 21; Table 5 bands low 0–3, intermediate 4–8, high 9–14, very_high ≥15","four_c_band":"low","gcs":15,"max_score":21,"respiratory_rate":16,"score":0,"sex":"female","spo2_percent":98,"urea_mmol_l":5},{"age_years":40,"citation":{"authors":"Knight SR, Ho A, Pius R, Buchan I, Carson G, Drake TM, Dunning J, Fairfield CJ, Gamble C, Green CA, Gupta R, Halpin S, Hardwick HE, Holden KA, Horby PW, Jackson C, Mclean KA, Merson L, Nguyen-Van-Tam JS, Norman L, Noursadeghi M, Olliaro PL, Pritchard MG, Russell CD, Shaw CA, Sheikh A, Solomon T, Sudlow C, Swann OV, Turtle LCW, Openshaw PJM, Baillie JK, Semple MG, Docherty AB, Harrison EM; ISARIC4C investigators","doi":"10.1136/bmj.m3339","id":"knight-2020","pmid":"32907855","source":"BMJ. 2020;370:m3339","title":"Risk stratification of patients admitted to hospital with covid-19 using the ISARIC WHO Clinical Characterisation Protocol: development and validation of the 4C Mortality Score"},"comorbidity_count":0,"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"comorbidity_count","points":0,"present":false,"value":0},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"urea","points":0,"present":false,"value":5},{"factor":"crp_mg_l","points":0,"present":false,"value":10}],"crp_mg_l":10,"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":"4c","formula_expression":"4C = age (<50 0, 50–59 2, 60–69 4, 70–79 6, ≥80 7) + sex (female 0, male 1) + comorbidity_count (0→0, 1→1, ≥2→2) + respiratory_rate (<20 0, 20–29 1, ≥30 2) + spo2_percent (≥92 0, <92 2) + gcs (15 0, <15 2) + urea_mmol_l (<7 0, 7–14 1, >14 3) + crp_mg_l (<50 0, 50–99 1, ≥100 2); Knight 2020 Table 2; max 21; Table 5 bands low 0–3, intermediate 4–8, high 9–14, very_high ≥15","four_c_band":"low","gcs":15,"max_score":21,"respiratory_rate":16,"score":0,"sex":"female","spo2_percent":98,"urea_mmol_l":5}],"path":"/api/calc/4c"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Knight 2020 Table 2: <50 scores 0; 50–59 scores 2; 60–69 scores 4; 70–79 scores 6; ≥80 scores 7.","type":"integer"},"bun_mg_dl":{"description":"BUN in mg/dL (3–140). Converted as urea_mmol_l = bun_mg_dl / 2.8.","type":"number"},"comorbidity_count":{"description":"Caller-assigned count of Charlson-plus-obesity comorbidities from Knight 2020 (integer 0–20). 0 scores 0; 1 scores 1; ≥2 scores 2. magent does not compute Charlson.","type":"integer"},"crp_mg_l":{"description":"C-reactive protein in mg/L (0–500). Knight 2020: <50 scores 0; 50–99 scores 1; ≥100 scores 2.","type":"number"},"gcs":{"description":"Caller-assigned total GCS as an integer 3–15. 15 scores 0; <15 scores 2 (Knight 2020). This API does not collect eye, verbal, or motor components.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4–80). Knight 2020: <20 scores 0; 20–29 scores 1; ≥30 scores 2. magent does not measure vitals.","type":"integer"},"sex":{"description":"Sex at birth (Knight 2020). female scores 0; male scores 1.","enum":["female","male"],"type":"string"},"spo2_percent":{"description":"Room-air SpO2 percent (50–100). Knight 2020: ≥92 scores 0; <92 scores 2. magent does not measure saturation.","type":"number"},"urea_mmol_l":{"description":"Serum urea in mmol/L (1–50). Provide this or bun_mg_dl, not both. Knight 2020: <7 scores 0; 7–14 inclusive scores 1; >14 scores 3.","type":"number"}},"required":["age","sex","comorbidity_count","respiratory_rate","spo2_percent","gcs","crp_mg_l"],"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":["4c","covid-19","mortality","isaric","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:13:03.447Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:13:03.29Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"bun_mg_dl":14,"comorbidity_count":0,"crp_mg_l":10,"gcs":15,"respiratory_rate":16,"sex":"female","spo2_percent":98,"urea_mmol_l":5},{"age":40,"bun_mg_dl":14,"comorbidity_count":0,"crp_mg_l":10,"gcs":15,"respiratory_rate":16,"sex":"female","spo2_percent":98,"urea_mmol_l":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"citation":{"authors":"Knight SR, Ho A, Pius R, Buchan I, Carson G, Drake TM, Dunning J, Fairfield CJ, Gamble C, Green CA, Gupta R, Halpin S, Hardwick HE, Holden KA, Horby PW, Jackson C, Mclean KA, Merson L, Nguyen-Van-Tam JS, Norman L, Noursadeghi M, Olliaro PL, Pritchard MG, Russell CD, Shaw CA, Sheikh A, Solomon T, Sudlow C, Swann OV, Turtle LCW, Openshaw PJM, Baillie JK, Semple MG, Docherty AB, Harrison EM; ISARIC4C investigators","doi":"10.1136/bmj.m3339","id":"knight-2020","pmid":"32907855","source":"BMJ. 2020;370:m3339","title":"Risk stratification of patients admitted to hospital with covid-19 using the ISARIC WHO Clinical Characterisation Protocol: development and validation of the 4C Mortality Score"},"comorbidity_count":0,"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"comorbidity_count","points":0,"present":false,"value":0},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"urea","points":0,"present":false,"value":5},{"factor":"crp_mg_l","points":0,"present":false,"value":10}],"crp_mg_l":10,"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":"4c","formula_expression":"4C = age (<50 0, 50–59 2, 60–69 4, 70–79 6, ≥80 7) + sex (female 0, male 1) + comorbidity_count (0→0, 1→1, ≥2→2) + respiratory_rate (<20 0, 20–29 1, ≥30 2) + spo2_percent (≥92 0, <92 2) + gcs (15 0, <15 2) + urea_mmol_l (<7 0, 7–14 1, >14 3) + crp_mg_l (<50 0, 50–99 1, ≥100 2); Knight 2020 Table 2; max 21; Table 5 bands low 0–3, intermediate 4–8, high 9–14, very_high ≥15","four_c_band":"low","gcs":15,"max_score":21,"respiratory_rate":16,"score":0,"sex":"female","spo2_percent":98,"urea_mmol_l":5},{"age_years":40,"citation":{"authors":"Knight SR, Ho A, Pius R, Buchan I, Carson G, Drake TM, Dunning J, Fairfield CJ, Gamble C, Green CA, Gupta R, Halpin S, Hardwick HE, Holden KA, Horby PW, Jackson C, Mclean KA, Merson L, Nguyen-Van-Tam JS, Norman L, Noursadeghi M, Olliaro PL, Pritchard MG, Russell CD, Shaw CA, Sheikh A, Solomon T, Sudlow C, Swann OV, Turtle LCW, Openshaw PJM, Baillie JK, Semple MG, Docherty AB, Harrison EM; ISARIC4C investigators","doi":"10.1136/bmj.m3339","id":"knight-2020","pmid":"32907855","source":"BMJ. 2020;370:m3339","title":"Risk stratification of patients admitted to hospital with covid-19 using the ISARIC WHO Clinical Characterisation Protocol: development and validation of the 4C Mortality Score"},"comorbidity_count":0,"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"comorbidity_count","points":0,"present":false,"value":0},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"spo2_percent","points":0,"present":false,"value":98},{"factor":"gcs","points":0,"present":false,"value":15},{"factor":"urea","points":0,"present":false,"value":5},{"factor":"crp_mg_l","points":0,"present":false,"value":10}],"crp_mg_l":10,"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":"4c","formula_expression":"4C = age (<50 0, 50–59 2, 60–69 4, 70–79 6, ≥80 7) + sex (female 0, male 1) + comorbidity_count (0→0, 1→1, ≥2→2) + respiratory_rate (<20 0, 20–29 1, ≥30 2) + spo2_percent (≥92 0, <92 2) + gcs (15 0, <15 2) + urea_mmol_l (<7 0, 7–14 1, >14 3) + crp_mg_l (<50 0, 50–99 1, ≥100 2); Knight 2020 Table 2; max 21; Table 5 bands low 0–3, intermediate 4–8, high 9–14, very_high ≥15","four_c_band":"low","gcs":15,"max_score":21,"respiratory_rate":16,"score":0,"sex":"female","spo2_percent":98,"urea_mmol_l":5}],"path":"/api/calc/4c"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Knight 2020 Table 2: <50 scores 0; 50–59 scores 2; 60–69 scores 4; 70–79 scores 6; ≥80 scores 7.","type":"integer"},"bun_mg_dl":{"description":"BUN in mg/dL (3–140). Converted as urea_mmol_l = bun_mg_dl / 2.8.","type":"number"},"comorbidity_count":{"description":"Caller-assigned count of Charlson-plus-obesity comorbidities from Knight 2020 (integer 0–20). 0 scores 0; 1 scores 1; ≥2 scores 2. magent does not compute Charlson.","type":"integer"},"crp_mg_l":{"description":"C-reactive protein in mg/L (0–500). Knight 2020: <50 scores 0; 50–99 scores 1; ≥100 scores 2.","type":"number"},"gcs":{"description":"Caller-assigned total GCS as an integer 3–15. 15 scores 0; <15 scores 2 (Knight 2020). This API does not collect eye, verbal, or motor components.","type":"integer"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4–80). Knight 2020: <20 scores 0; 20–29 scores 1; ≥30 scores 2. magent does not measure vitals.","type":"integer"},"sex":{"description":"Sex at birth (Knight 2020). female scores 0; male scores 1.","enum":["female","male"],"type":"string"},"spo2_percent":{"description":"Room-air SpO2 percent (50–100). Knight 2020: ≥92 scores 0; <92 scores 2. magent does not measure saturation.","type":"number"},"urea_mmol_l":{"description":"Serum urea in mmol/L (1–50). Provide this or bun_mg_dl, not both. Knight 2020: <7 scores 0; 7–14 inclusive scores 1; >14 scores 3.","type":"number"}},"required":["age","sex","comorbidity_count","respiratory_rate","spo2_percent","gcs","crp_mg_l"],"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},{"id":39545,"slug":"39545","resource":"https://api.magentlab.com/api/calc/sofa_2","description":"Ranzani 2025 SOFA-2 from six organs 0-4 (brain, respiratory, cardiovascular, liver, kidney, hemostasis), max 24. Maps PaO2/FiO2 or SpO2/FiO2 with NIV/ECMO, MAP and vasopressor dose bands, caller-assigned GCS and delirium-drug flag, bilirubin, platelets, creatinine or urine rate, and RRT. Not Vincent 1996 SOFA and not a diagnosis.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"advanced_ventilatory_support":false,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":13.7,"creatinine_mg_dl":1,"creatinine_umol_l":88,"delirium_drugs":false,"dopamine_ug_kg_min":0,"ecmo":false,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"mechanical_circulatory_support":false,"norepinephrine_ug_kg_min":0,"oliguria_hours":8,"other_vasopressor_or_inotrope":false,"pao2_mm_hg":96,"platelets_10e9_l":200,"rrt":false,"spo2":96,"urine_output_ml_kg_h":1,"vasoactive_unavailable":false,"ventilatory_support_unavailable":false},{"advanced_ventilatory_support":false,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":13.7,"creatinine_mg_dl":1,"creatinine_umol_l":88,"delirium_drugs":false,"dopamine_ug_kg_min":0,"ecmo":false,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"mechanical_circulatory_support":false,"norepinephrine_ug_kg_min":0,"oliguria_hours":8,"other_vasopressor_or_inotrope":false,"pao2_mm_hg":96,"platelets_10e9_l":200,"rrt":false,"spo2":96,"urine_output_ml_kg_h":1,"vasoactive_unavailable":false,"ventilatory_support_unavailable":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ranzani OT, Singer M, Salluh JIF, Shankar-Hari M, Pilcher D, Berger-Estilita J, Coopersmith CM, Juffermans NP, Laffey J, Reinikainen M, Serpa Neto A, Tavares M, Timsit JF, Arias Lopez MDP, Arulkumaran N, Aryal D, Azoulay E, Celi LA, Chaudhuri D, De Lange D, De Waele J, Dos Santos CC, Du B, Einav S, Engelbrecht T, Fazla F, Ferrer R, Finazzi S, Fujii T, Gershengorn HB, Greene JD, Haniffa R, Hao S, Hasan MS, Hollenberg S, Ippolito M, Jung C, Kirov M, Kobari S, Lakbar I, Lipman J, Liu V, Liu X, Lobo SM, Magatti D, Martin GS, Metnitz B, Metnitz P, Myatra SN, Oczkowski S, Paiva JA, Paruk F, Pekkarinen PT, Piquilloud L, Pölkki A, Prescott HC, Reintam Blaser A, Rezende E, Robba C, Rochwerg B, Ruckly S, Samei R, Schenck EJ, Secombe P, Sendagire C, Siaw-Frimpong M, Simpkin AJ, Soares M, Summers C, Szczeklik W, Takala J, Tanaka S, Tricella G, Vincent JL, Wendon J, Zampieri FG, Rhodes A, Moreno R","doi":"10.1001/jama.2025.20516","id":"ranzani-2025","pmid":"41159833","source":"JAMA. 2025 (SOFA-2)","title":"Development and Validation of the Sequential Organ Failure Assessment (SOFA)-2 Score"},"components":[{"factor":"brain","points":0,"present":false,"value":15},{"factor":"respiratory","points":0,"present":false,"value":457.14285714285717},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"liver","points":0,"present":false,"value":0.8},{"factor":"kidney","points":0,"present":false,"value":{"creatinine":{"mg_dl":1},"rrt":false,"urine":null}},{"factor":"hemostasis","points":0,"present":false,"value":200}],"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":"sofa_2","formula_expression":"SOFA-2 = brain + respiratory + cardiovascular + liver + kidney + hemostasis; each 0-4; max 24","max_score":24,"score":0},{"citation":{"authors":"Ranzani OT, Singer M, Salluh JIF, Shankar-Hari M, Pilcher D, Berger-Estilita J, Coopersmith CM, Juffermans NP, Laffey J, Reinikainen M, Serpa Neto A, Tavares M, Timsit JF, Arias Lopez MDP, Arulkumaran N, Aryal D, Azoulay E, Celi LA, Chaudhuri D, De Lange D, De Waele J, Dos Santos CC, Du B, Einav S, Engelbrecht T, Fazla F, Ferrer R, Finazzi S, Fujii T, Gershengorn HB, Greene JD, Haniffa R, Hao S, Hasan MS, Hollenberg S, Ippolito M, Jung C, Kirov M, Kobari S, Lakbar I, Lipman J, Liu V, Liu X, Lobo SM, Magatti D, Martin GS, Metnitz B, Metnitz P, Myatra SN, Oczkowski S, Paiva JA, Paruk F, Pekkarinen PT, Piquilloud L, Pölkki A, Prescott HC, Reintam Blaser A, Rezende E, Robba C, Rochwerg B, Ruckly S, Samei R, Schenck EJ, Secombe P, Sendagire C, Siaw-Frimpong M, Simpkin AJ, Soares M, Summers C, Szczeklik W, Takala J, Tanaka S, Tricella G, Vincent JL, Wendon J, Zampieri FG, Rhodes A, Moreno R","doi":"10.1001/jama.2025.20516","id":"ranzani-2025","pmid":"41159833","source":"JAMA. 2025 (SOFA-2)","title":"Development and Validation of the Sequential Organ Failure Assessment (SOFA)-2 Score"},"components":[{"factor":"brain","points":0,"present":false,"value":15},{"factor":"respiratory","points":0,"present":false,"value":457.14285714285717},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"liver","points":0,"present":false,"value":0.8},{"factor":"kidney","points":0,"present":false,"value":{"creatinine":{"mg_dl":1},"rrt":false,"urine":null}},{"factor":"hemostasis","points":0,"present":false,"value":200}],"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":"sofa_2","formula_expression":"SOFA-2 = brain + respiratory + cardiovascular + liver + kidney + hemostasis; each 0-4; max 24","max_score":24,"score":0}],"path":"/api/calc/sofa_2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"advanced_ventilatory_support":{"description":"High-flow nasal cannula, CPAP, bilevel positive airway pressure, noninvasive ventilation, invasive mechanical ventilation, or long-term home ventilation (Ranzani 2025). true or false. Respiratory scores 3 and 4 require this, ventilatory_support_unavailable, or respiratory ECMO.","type":"boolean"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. ≤1.20 scores 0; ≤3.0 scores 1; ≤6.0 scores 2; ≤12.0 scores 3; >12.0 scores 4.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). ≤20.6 scores 0; ≤51.3 scores 1; ≤102.6 scores 2; ≤205 scores 3; >205 scores 4.","type":"number"},"creatinine_mg_dl":{"description":"Creatinine in mg/dL (0.1-20). Provide this, creatinine_umol_l, or rrt=true. ≤1.20 scores 0; ≤2.0 scores 1; ≤3.50 scores 2; >3.50 scores 3. Kidney is the max of creatinine, urine, and RRT.","type":"number"},"creatinine_umol_l":{"description":"Creatinine in µmol/L (9-1768). ≤110 scores 0; ≤170 scores 1; ≤300 scores 2; >300 scores 3.","type":"number"},"delirium_drugs":{"description":"Drugs given to treat delirium (Ranzani 2025). true or false when provided; absent is false. true scores brain at least 1 even if GCS is 15.","type":"boolean"},"dopamine_ug_kg_min":{"description":"Dopamine in µg/kg·min (0-80) when provided. Absent is 0. As a single vasopressor: ≤20 scores 2; >20 to 40 scores 3; >40 scores 4. With norepinephrine, epinephrine, or another agent it counts as an other vasopressor or inotrope.","type":"number"},"ecmo":{"description":"Respiratory ECMO of any form. true or false when provided; absent is false. true scores respiratory 4 regardless of PaO2/FiO2 or SpO2/FiO2 and does not by itself score cardiovascular points.","type":"boolean"},"epinephrine_ug_kg_min":{"description":"Epinephrine in µg/kg·min (0-10) when provided. Absent is 0. Added to norepinephrine for the published dose bands.","type":"number"},"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent.","type":"number"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15), including last pre-sedation GCS or the motor scale when the three-domain GCS cannot be evaluated. 15 scores 0; 13-14 scores 1; 9-12 scores 2; 6-8 scores 3; 3-5 scores 4. magent does not examine the patient.","type":"integer"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (20-180). MAP <70 with no vasopressor or inotrope scores 1 unless a higher cardiovascular band applies. When vasoactive_unavailable is true, MAP ≥70 scores 0; 60-69 scores 1; 50-59 scores 2; 40-49 scores 3; <40 scores 4.","type":"number"},"mechanical_circulatory_support":{"description":"Mechanical circulatory support (veno-arterial ECMO, intra-aortic balloon pump, left ventricular assist device, or microaxial flow pump). true or false when provided; absent is false. true scores cardiovascular 4.","type":"boolean"},"norepinephrine_ug_kg_min":{"description":"Norepinephrine as the base in µg/kg·min (0-10) when provided. Absent is 0. Summed with epinephrine: >0 to ≤0.2 scores 2; >0.2 to ≤0.4 scores 3; >0.4 scores 4. Low-dose plus any other vasopressor or inotrope scores 3; medium-dose plus any other, or mechanical circulatory support, scores 4.","type":"number"},"oliguria_hours":{"description":"Hours at the reported urine_output_ml_kg_h (0-72). Required when urine_output_ml_kg_h is provided.","type":"number"},"other_vasopressor_or_inotrope":{"description":"Any other vasopressor or inotrope (Ranzani 2025). true or false when provided; absent is false. Any dose scores cardiovascular 2 unless a higher norepinephrine/epinephrine or mechanical band applies.","type":"boolean"},"pao2_mm_hg":{"description":"Arterial PaO2 in mm Hg (20-700). Provide this with fio2, or spo2 with fio2 when PaO2 is unavailable. PaO2/FiO2 >300 scores 0; ≤300 scores 1; ≤225 scores 2; ≤150 with advanced ventilatory support scores 3; ≤75 with advanced ventilatory support scores 4. Respiratory ECMO scores 4 regardless of the ratio.","type":"number"},"platelets_10e9_l":{"description":"Platelets ×10^9/L, same as ×10^3/μL (1-2000). >150 scores 0; ≤150 scores 1; ≤100 scores 2; ≤80 scores 3; ≤50 scores 4.","type":"number"},"rrt":{"description":"Receiving renal replacement therapy or fulfilling published RRT criteria, including chronic use (Ranzani 2025). true or false when provided; absent is false. true scores kidney 4. Non-renal RRT is not scored; the caller assigns this flag.","type":"boolean"},"spo2":{"description":"Pulse-oximetry SpO2 as a percent (50-97.9). Used with fio2 only when pao2_mm_hg is absent and SpO2 is <98 (Ranzani 2025). SpO2/FiO2 >300 scores 0; ≤300 scores 1; ≤250 scores 2; ≤200 with advanced ventilatory support scores 3; ≤120 with advanced ventilatory support or ECMO scores 4.","type":"number"},"urine_output_ml_kg_h":{"description":"Urine output in mL/kg/h (0-20) when provided. Provide oliguria_hours with this. <0.5 for 6-12 h scores 1; <0.5 for ≥12 h scores 2; <0.3 for ≥24 h or anuria (0 mL) for ≥12 h scores 3.","type":"number"},"vasoactive_unavailable":{"description":"Vasoactive drugs unavailable or precluded by a ceiling of treatment (Ranzani 2025). true or false when provided; absent is false. When true, cardiovascular points use the MAP-only cutoffs unless mechanical_circulatory_support is true.","type":"boolean"},"ventilatory_support_unavailable":{"description":"Advanced ventilatory support not available or precluded by a ceiling of treatment (Ranzani 2025). true or false when provided; absent is false. When true, oxygenation ratios may score 3 or 4 without advanced_ventilatory_support.","type":"boolean"}},"required":["fio2","advanced_ventilatory_support","platelets_10e9_l","map_mm_hg","gcs"],"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":["sofa-2","sepsis","organ-failure","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:12:44.021Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:12:43.879Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"advanced_ventilatory_support":false,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":13.7,"creatinine_mg_dl":1,"creatinine_umol_l":88,"delirium_drugs":false,"dopamine_ug_kg_min":0,"ecmo":false,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"mechanical_circulatory_support":false,"norepinephrine_ug_kg_min":0,"oliguria_hours":8,"other_vasopressor_or_inotrope":false,"pao2_mm_hg":96,"platelets_10e9_l":200,"rrt":false,"spo2":96,"urine_output_ml_kg_h":1,"vasoactive_unavailable":false,"ventilatory_support_unavailable":false},{"advanced_ventilatory_support":false,"bilirubin_mg_dl":0.8,"bilirubin_umol_l":13.7,"creatinine_mg_dl":1,"creatinine_umol_l":88,"delirium_drugs":false,"dopamine_ug_kg_min":0,"ecmo":false,"epinephrine_ug_kg_min":0,"fio2":0.21,"gcs":15,"map_mm_hg":80,"mechanical_circulatory_support":false,"norepinephrine_ug_kg_min":0,"oliguria_hours":8,"other_vasopressor_or_inotrope":false,"pao2_mm_hg":96,"platelets_10e9_l":200,"rrt":false,"spo2":96,"urine_output_ml_kg_h":1,"vasoactive_unavailable":false,"ventilatory_support_unavailable":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Ranzani OT, Singer M, Salluh JIF, Shankar-Hari M, Pilcher D, Berger-Estilita J, Coopersmith CM, Juffermans NP, Laffey J, Reinikainen M, Serpa Neto A, Tavares M, Timsit JF, Arias Lopez MDP, Arulkumaran N, Aryal D, Azoulay E, Celi LA, Chaudhuri D, De Lange D, De Waele J, Dos Santos CC, Du B, Einav S, Engelbrecht T, Fazla F, Ferrer R, Finazzi S, Fujii T, Gershengorn HB, Greene JD, Haniffa R, Hao S, Hasan MS, Hollenberg S, Ippolito M, Jung C, Kirov M, Kobari S, Lakbar I, Lipman J, Liu V, Liu X, Lobo SM, Magatti D, Martin GS, Metnitz B, Metnitz P, Myatra SN, Oczkowski S, Paiva JA, Paruk F, Pekkarinen PT, Piquilloud L, Pölkki A, Prescott HC, Reintam Blaser A, Rezende E, Robba C, Rochwerg B, Ruckly S, Samei R, Schenck EJ, Secombe P, Sendagire C, Siaw-Frimpong M, Simpkin AJ, Soares M, Summers C, Szczeklik W, Takala J, Tanaka S, Tricella G, Vincent JL, Wendon J, Zampieri FG, Rhodes A, Moreno R","doi":"10.1001/jama.2025.20516","id":"ranzani-2025","pmid":"41159833","source":"JAMA. 2025 (SOFA-2)","title":"Development and Validation of the Sequential Organ Failure Assessment (SOFA)-2 Score"},"components":[{"factor":"brain","points":0,"present":false,"value":15},{"factor":"respiratory","points":0,"present":false,"value":457.14285714285717},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"liver","points":0,"present":false,"value":0.8},{"factor":"kidney","points":0,"present":false,"value":{"creatinine":{"mg_dl":1},"rrt":false,"urine":null}},{"factor":"hemostasis","points":0,"present":false,"value":200}],"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":"sofa_2","formula_expression":"SOFA-2 = brain + respiratory + cardiovascular + liver + kidney + hemostasis; each 0-4; max 24","max_score":24,"score":0},{"citation":{"authors":"Ranzani OT, Singer M, Salluh JIF, Shankar-Hari M, Pilcher D, Berger-Estilita J, Coopersmith CM, Juffermans NP, Laffey J, Reinikainen M, Serpa Neto A, Tavares M, Timsit JF, Arias Lopez MDP, Arulkumaran N, Aryal D, Azoulay E, Celi LA, Chaudhuri D, De Lange D, De Waele J, Dos Santos CC, Du B, Einav S, Engelbrecht T, Fazla F, Ferrer R, Finazzi S, Fujii T, Gershengorn HB, Greene JD, Haniffa R, Hao S, Hasan MS, Hollenberg S, Ippolito M, Jung C, Kirov M, Kobari S, Lakbar I, Lipman J, Liu V, Liu X, Lobo SM, Magatti D, Martin GS, Metnitz B, Metnitz P, Myatra SN, Oczkowski S, Paiva JA, Paruk F, Pekkarinen PT, Piquilloud L, Pölkki A, Prescott HC, Reintam Blaser A, Rezende E, Robba C, Rochwerg B, Ruckly S, Samei R, Schenck EJ, Secombe P, Sendagire C, Siaw-Frimpong M, Simpkin AJ, Soares M, Summers C, Szczeklik W, Takala J, Tanaka S, Tricella G, Vincent JL, Wendon J, Zampieri FG, Rhodes A, Moreno R","doi":"10.1001/jama.2025.20516","id":"ranzani-2025","pmid":"41159833","source":"JAMA. 2025 (SOFA-2)","title":"Development and Validation of the Sequential Organ Failure Assessment (SOFA)-2 Score"},"components":[{"factor":"brain","points":0,"present":false,"value":15},{"factor":"respiratory","points":0,"present":false,"value":457.14285714285717},{"factor":"cardiovascular","points":0,"present":false,"value":80},{"factor":"liver","points":0,"present":false,"value":0.8},{"factor":"kidney","points":0,"present":false,"value":{"creatinine":{"mg_dl":1},"rrt":false,"urine":null}},{"factor":"hemostasis","points":0,"present":false,"value":200}],"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":"sofa_2","formula_expression":"SOFA-2 = brain + respiratory + cardiovascular + liver + kidney + hemostasis; each 0-4; max 24","max_score":24,"score":0}],"path":"/api/calc/sofa_2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"advanced_ventilatory_support":{"description":"High-flow nasal cannula, CPAP, bilevel positive airway pressure, noninvasive ventilation, invasive mechanical ventilation, or long-term home ventilation (Ranzani 2025). true or false. Respiratory scores 3 and 4 require this, ventilatory_support_unavailable, or respiratory ECMO.","type":"boolean"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. ≤1.20 scores 0; ≤3.0 scores 1; ≤6.0 scores 2; ≤12.0 scores 3; >12.0 scores 4.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). ≤20.6 scores 0; ≤51.3 scores 1; ≤102.6 scores 2; ≤205 scores 3; >205 scores 4.","type":"number"},"creatinine_mg_dl":{"description":"Creatinine in mg/dL (0.1-20). Provide this, creatinine_umol_l, or rrt=true. ≤1.20 scores 0; ≤2.0 scores 1; ≤3.50 scores 2; >3.50 scores 3. Kidney is the max of creatinine, urine, and RRT.","type":"number"},"creatinine_umol_l":{"description":"Creatinine in µmol/L (9-1768). ≤110 scores 0; ≤170 scores 1; ≤300 scores 2; >300 scores 3.","type":"number"},"delirium_drugs":{"description":"Drugs given to treat delirium (Ranzani 2025). true or false when provided; absent is false. true scores brain at least 1 even if GCS is 15.","type":"boolean"},"dopamine_ug_kg_min":{"description":"Dopamine in µg/kg·min (0-80) when provided. Absent is 0. As a single vasopressor: ≤20 scores 2; >20 to 40 scores 3; >40 scores 4. With norepinephrine, epinephrine, or another agent it counts as an other vasopressor or inotrope.","type":"number"},"ecmo":{"description":"Respiratory ECMO of any form. true or false when provided; absent is false. true scores respiratory 4 regardless of PaO2/FiO2 or SpO2/FiO2 and does not by itself score cardiovascular points.","type":"boolean"},"epinephrine_ug_kg_min":{"description":"Epinephrine in µg/kg·min (0-10) when provided. Absent is 0. Added to norepinephrine for the published dose bands.","type":"number"},"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent.","type":"number"},"gcs":{"description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15), including last pre-sedation GCS or the motor scale when the three-domain GCS cannot be evaluated. 15 scores 0; 13-14 scores 1; 9-12 scores 2; 6-8 scores 3; 3-5 scores 4. magent does not examine the patient.","type":"integer"},"map_mm_hg":{"description":"Mean arterial pressure in mm Hg (20-180). MAP <70 with no vasopressor or inotrope scores 1 unless a higher cardiovascular band applies. When vasoactive_unavailable is true, MAP ≥70 scores 0; 60-69 scores 1; 50-59 scores 2; 40-49 scores 3; <40 scores 4.","type":"number"},"mechanical_circulatory_support":{"description":"Mechanical circulatory support (veno-arterial ECMO, intra-aortic balloon pump, left ventricular assist device, or microaxial flow pump). true or false when provided; absent is false. true scores cardiovascular 4.","type":"boolean"},"norepinephrine_ug_kg_min":{"description":"Norepinephrine as the base in µg/kg·min (0-10) when provided. Absent is 0. Summed with epinephrine: >0 to ≤0.2 scores 2; >0.2 to ≤0.4 scores 3; >0.4 scores 4. Low-dose plus any other vasopressor or inotrope scores 3; medium-dose plus any other, or mechanical circulatory support, scores 4.","type":"number"},"oliguria_hours":{"description":"Hours at the reported urine_output_ml_kg_h (0-72). Required when urine_output_ml_kg_h is provided.","type":"number"},"other_vasopressor_or_inotrope":{"description":"Any other vasopressor or inotrope (Ranzani 2025). true or false when provided; absent is false. Any dose scores cardiovascular 2 unless a higher norepinephrine/epinephrine or mechanical band applies.","type":"boolean"},"pao2_mm_hg":{"description":"Arterial PaO2 in mm Hg (20-700). Provide this with fio2, or spo2 with fio2 when PaO2 is unavailable. PaO2/FiO2 >300 scores 0; ≤300 scores 1; ≤225 scores 2; ≤150 with advanced ventilatory support scores 3; ≤75 with advanced ventilatory support scores 4. Respiratory ECMO scores 4 regardless of the ratio.","type":"number"},"platelets_10e9_l":{"description":"Platelets ×10^9/L, same as ×10^3/μL (1-2000). >150 scores 0; ≤150 scores 1; ≤100 scores 2; ≤80 scores 3; ≤50 scores 4.","type":"number"},"rrt":{"description":"Receiving renal replacement therapy or fulfilling published RRT criteria, including chronic use (Ranzani 2025). true or false when provided; absent is false. true scores kidney 4. Non-renal RRT is not scored; the caller assigns this flag.","type":"boolean"},"spo2":{"description":"Pulse-oximetry SpO2 as a percent (50-97.9). Used with fio2 only when pao2_mm_hg is absent and SpO2 is <98 (Ranzani 2025). SpO2/FiO2 >300 scores 0; ≤300 scores 1; ≤250 scores 2; ≤200 with advanced ventilatory support scores 3; ≤120 with advanced ventilatory support or ECMO scores 4.","type":"number"},"urine_output_ml_kg_h":{"description":"Urine output in mL/kg/h (0-20) when provided. Provide oliguria_hours with this. <0.5 for 6-12 h scores 1; <0.5 for ≥12 h scores 2; <0.3 for ≥24 h or anuria (0 mL) for ≥12 h scores 3.","type":"number"},"vasoactive_unavailable":{"description":"Vasoactive drugs unavailable or precluded by a ceiling of treatment (Ranzani 2025). true or false when provided; absent is false. When true, cardiovascular points use the MAP-only cutoffs unless mechanical_circulatory_support is true.","type":"boolean"},"ventilatory_support_unavailable":{"description":"Advanced ventilatory support not available or precluded by a ceiling of treatment (Ranzani 2025). true or false when provided; absent is false. When true, oxygenation ratios may score 3 or 4 without advanced_ventilatory_support.","type":"boolean"}},"required":["fio2","advanced_ventilatory_support","platelets_10e9_l","map_mm_hg","gcs"],"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},{"id":39546,"slug":"39546","resource":"https://api.magentlab.com/api/calc/smart_cop","description":"Charles 2008 SMART-COP for intensive respiratory or vasopressor support in community-acquired pneumonia: SBP <90 (2), multilobar CXR (1), albumin <3.5 g/dL (1), age-adjusted RR (1), HR >=125 (1), new confusion (1), age-adjusted low oxygen (2), arterial pH <7.35 (2; omitted pH scores 0). Max 11. IRVS 0-2 low, 3-4 moderate, 5-6 high, >=7 very high. Not a site-of-care protocol. Albumin g/dL or g/L. Exactly one of PaO2, SpO2, or P/F.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"albumin_g_dl":4,"albumin_g_l":40,"arterial_ph":7.4,"confusion":false,"heart_rate_bpm":80,"multilobar_cxr":false,"pao2_mm_hg":90,"pf_ratio":400,"respiratory_rate":16,"spo2_percent":98,"systolic_mm_hg":120},{"age":40,"albumin_g_dl":4,"albumin_g_l":40,"arterial_ph":7.4,"confusion":false,"heart_rate_bpm":80,"multilobar_cxr":false,"pao2_mm_hg":90,"pf_ratio":400,"respiratory_rate":16,"spo2_percent":98,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"albumin_g_dl":4,"arterial_ph":7.4,"citation":{"authors":"Charles PGP, Wolfe R, Whitby M, et al.","doi":"10.1086/589754","id":"charles-2008","pmid":"18558884","source":"Clin Infect Dis. 2008;47(3):375-384","title":"SMART-COP: a tool for predicting the need for intensive respiratory or vasopressor support in community-acquired pneumonia"},"components":[{"factor":"systolic_lt_90","points":0,"present":false,"value":120},{"factor":"multilobar_cxr","points":0,"present":false},{"factor":"albumin_lt_3_5","points":0,"present":false,"value":4},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"heart_rate_ge_125","points":0,"present":false,"value":80},{"factor":"confusion","points":0,"present":false},{"factor":"oxygen_low","input":"spo2_percent","points":0,"present":false,"value":98},{"factor":"arterial_ph_lt_7_35","points":0,"present":false,"value":7.4}],"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":"smart_cop","formula_expression":"SMART-COP (Charles 2008) = SBP<90 (2) + multilobar_cxr (1) + albumin<3.5 g/dL (1) + age-adjusted RR (1; age<=50 RR>=25, age>50 RR>=30) + HR>=125 (1) + confusion (1) + age-adjusted low oxygen (2; age<=50 PaO2<70 or SpO2<=93 or P/F<333; age>50 PaO2<60 or SpO2<=90 or P/F<250) + arterial_pH<7.35 (2; omitted pH scores 0); max 11; IRVS 0-2 low, 3-4 moderate, 5-6 high, >=7 very high","heart_rate_bpm":80,"irvs_risk":"low","max_score":11,"respiratory_rate":16,"score":0,"spo2_percent":98,"systolic_mm_hg":120},{"age_years":40,"albumin_g_dl":4,"arterial_ph":7.4,"citation":{"authors":"Charles PGP, Wolfe R, Whitby M, et al.","doi":"10.1086/589754","id":"charles-2008","pmid":"18558884","source":"Clin Infect Dis. 2008;47(3):375-384","title":"SMART-COP: a tool for predicting the need for intensive respiratory or vasopressor support in community-acquired pneumonia"},"components":[{"factor":"systolic_lt_90","points":0,"present":false,"value":120},{"factor":"multilobar_cxr","points":0,"present":false},{"factor":"albumin_lt_3_5","points":0,"present":false,"value":4},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"heart_rate_ge_125","points":0,"present":false,"value":80},{"factor":"confusion","points":0,"present":false},{"factor":"oxygen_low","input":"spo2_percent","points":0,"present":false,"value":98},{"factor":"arterial_ph_lt_7_35","points":0,"present":false,"value":7.4}],"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":"smart_cop","formula_expression":"SMART-COP (Charles 2008) = SBP<90 (2) + multilobar_cxr (1) + albumin<3.5 g/dL (1) + age-adjusted RR (1; age<=50 RR>=25, age>50 RR>=30) + HR>=125 (1) + confusion (1) + age-adjusted low oxygen (2; age<=50 PaO2<70 or SpO2<=93 or P/F<333; age>50 PaO2<60 or SpO2<=90 or P/F<250) + arterial_pH<7.35 (2; omitted pH scores 0); max 11; IRVS 0-2 low, 3-4 moderate, 5-6 high, >=7 very high","heart_rate_bpm":80,"irvs_risk":"low","max_score":11,"respiratory_rate":16,"score":0,"spo2_percent":98,"systolic_mm_hg":120}],"path":"/api/calc/smart_cop"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≤50 uses RR ≥25, PaO2 <70, SpO2 ≤93%, P/F <333. Age >50 uses RR ≥30, PaO2 <60, SpO2 ≤90%, P/F <250.","type":"integer"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Scores 1 when <3.5; 3.5 does not score (Charles 2008 A).","type":"number"},"albumin_g_l":{"description":"Albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both. Scores 1 when <35 g/L.","type":"number"},"arterial_ph":{"description":"Arterial pH (6.80-7.80). Optional. Scores 2 when <7.35; 7.35 does not score. Omitted pH scores 0 (Charles 2008 missing-pH assumption).","type":"number"},"confusion":{"description":"New or acute confusion as assigned by the caller (Charles 2008 C). true or false. 1 point if true. magent does not assess mental status.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 1 when ≥125; 124 does not score (Charles 2008 T).","type":"integer"},"multilobar_cxr":{"description":"Multilobar involvement on chest radiograph as assigned by the caller (Charles 2008 M). true or false. 1 point if true. magent does not interpret radiographs.","type":"boolean"},"pao2_mm_hg":{"description":"Arterial PaO2 in mm Hg (20-700). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: <70 scores 2. Age >50: <60 scores 2.","type":"number"},"pf_ratio":{"description":"PaO2/FiO2 ratio (20-800). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: <333 scores 2. Age >50: <250 scores 2.","type":"number"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). Age ≤50: ≥25 scores 1 (24 does not). Age >50: ≥30 scores 1 (29 does not). Charles 2008 R.","type":"integer"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: ≤93 scores 2. Age >50: ≤90 scores 2.","type":"number"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Scores 2 when <90; 90 does not score (Charles 2008 S).","type":"number"}},"required":["age","systolic_mm_hg","multilobar_cxr","respiratory_rate","heart_rate_bpm","confusion"],"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":["smart-cop","pneumonia","cap","irvs","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:11:08.115Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:11:07.954Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"albumin_g_dl":4,"albumin_g_l":40,"arterial_ph":7.4,"confusion":false,"heart_rate_bpm":80,"multilobar_cxr":false,"pao2_mm_hg":90,"pf_ratio":400,"respiratory_rate":16,"spo2_percent":98,"systolic_mm_hg":120},{"age":40,"albumin_g_dl":4,"albumin_g_l":40,"arterial_ph":7.4,"confusion":false,"heart_rate_bpm":80,"multilobar_cxr":false,"pao2_mm_hg":90,"pf_ratio":400,"respiratory_rate":16,"spo2_percent":98,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"albumin_g_dl":4,"arterial_ph":7.4,"citation":{"authors":"Charles PGP, Wolfe R, Whitby M, et al.","doi":"10.1086/589754","id":"charles-2008","pmid":"18558884","source":"Clin Infect Dis. 2008;47(3):375-384","title":"SMART-COP: a tool for predicting the need for intensive respiratory or vasopressor support in community-acquired pneumonia"},"components":[{"factor":"systolic_lt_90","points":0,"present":false,"value":120},{"factor":"multilobar_cxr","points":0,"present":false},{"factor":"albumin_lt_3_5","points":0,"present":false,"value":4},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"heart_rate_ge_125","points":0,"present":false,"value":80},{"factor":"confusion","points":0,"present":false},{"factor":"oxygen_low","input":"spo2_percent","points":0,"present":false,"value":98},{"factor":"arterial_ph_lt_7_35","points":0,"present":false,"value":7.4}],"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":"smart_cop","formula_expression":"SMART-COP (Charles 2008) = SBP<90 (2) + multilobar_cxr (1) + albumin<3.5 g/dL (1) + age-adjusted RR (1; age<=50 RR>=25, age>50 RR>=30) + HR>=125 (1) + confusion (1) + age-adjusted low oxygen (2; age<=50 PaO2<70 or SpO2<=93 or P/F<333; age>50 PaO2<60 or SpO2<=90 or P/F<250) + arterial_pH<7.35 (2; omitted pH scores 0); max 11; IRVS 0-2 low, 3-4 moderate, 5-6 high, >=7 very high","heart_rate_bpm":80,"irvs_risk":"low","max_score":11,"respiratory_rate":16,"score":0,"spo2_percent":98,"systolic_mm_hg":120},{"age_years":40,"albumin_g_dl":4,"arterial_ph":7.4,"citation":{"authors":"Charles PGP, Wolfe R, Whitby M, et al.","doi":"10.1086/589754","id":"charles-2008","pmid":"18558884","source":"Clin Infect Dis. 2008;47(3):375-384","title":"SMART-COP: a tool for predicting the need for intensive respiratory or vasopressor support in community-acquired pneumonia"},"components":[{"factor":"systolic_lt_90","points":0,"present":false,"value":120},{"factor":"multilobar_cxr","points":0,"present":false},{"factor":"albumin_lt_3_5","points":0,"present":false,"value":4},{"factor":"respiratory_rate","points":0,"present":false,"value":16},{"factor":"heart_rate_ge_125","points":0,"present":false,"value":80},{"factor":"confusion","points":0,"present":false},{"factor":"oxygen_low","input":"spo2_percent","points":0,"present":false,"value":98},{"factor":"arterial_ph_lt_7_35","points":0,"present":false,"value":7.4}],"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":"smart_cop","formula_expression":"SMART-COP (Charles 2008) = SBP<90 (2) + multilobar_cxr (1) + albumin<3.5 g/dL (1) + age-adjusted RR (1; age<=50 RR>=25, age>50 RR>=30) + HR>=125 (1) + confusion (1) + age-adjusted low oxygen (2; age<=50 PaO2<70 or SpO2<=93 or P/F<333; age>50 PaO2<60 or SpO2<=90 or P/F<250) + arterial_pH<7.35 (2; omitted pH scores 0); max 11; IRVS 0-2 low, 3-4 moderate, 5-6 high, >=7 very high","heart_rate_bpm":80,"irvs_risk":"low","max_score":11,"respiratory_rate":16,"score":0,"spo2_percent":98,"systolic_mm_hg":120}],"path":"/api/calc/smart_cop"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≤50 uses RR ≥25, PaO2 <70, SpO2 ≤93%, P/F <333. Age >50 uses RR ≥30, PaO2 <60, SpO2 ≤90%, P/F <250.","type":"integer"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Scores 1 when <3.5; 3.5 does not score (Charles 2008 A).","type":"number"},"albumin_g_l":{"description":"Albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both. Scores 1 when <35 g/L.","type":"number"},"arterial_ph":{"description":"Arterial pH (6.80-7.80). Optional. Scores 2 when <7.35; 7.35 does not score. Omitted pH scores 0 (Charles 2008 missing-pH assumption).","type":"number"},"confusion":{"description":"New or acute confusion as assigned by the caller (Charles 2008 C). true or false. 1 point if true. magent does not assess mental status.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 1 when ≥125; 124 does not score (Charles 2008 T).","type":"integer"},"multilobar_cxr":{"description":"Multilobar involvement on chest radiograph as assigned by the caller (Charles 2008 M). true or false. 1 point if true. magent does not interpret radiographs.","type":"boolean"},"pao2_mm_hg":{"description":"Arterial PaO2 in mm Hg (20-700). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: <70 scores 2. Age >50: <60 scores 2.","type":"number"},"pf_ratio":{"description":"PaO2/FiO2 ratio (20-800). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: <333 scores 2. Age >50: <250 scores 2.","type":"number"},"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80). Age ≤50: ≥25 scores 1 (24 does not). Age >50: ≥30 scores 1 (29 does not). Charles 2008 R.","type":"integer"},"spo2_percent":{"description":"Oxygen saturation percent (50-100). Provide exactly one of pao2_mm_hg, spo2_percent, or pf_ratio. Age ≤50: ≤93 scores 2. Age >50: ≤90 scores 2.","type":"number"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Scores 2 when <90; 90 does not score (Charles 2008 S).","type":"number"}},"required":["age","systolic_mm_hg","multilobar_cxr","respiratory_rate","heart_rate_bpm","confusion"],"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},{"id":39547,"slug":"39547","resource":"https://api.magentlab.com/api/calc/nafcs","description":"Hegele 2025 NAFCS. Table 3 points from age or early HTG onset, BMI, abdominal pain or pancreatitis, secondary factors, fasting TG >880 mg/dL or >10 mmol/L, TG/TC >8 (mg/dL) or >3.5 (mmol/L), and apo B <1.0 g/L, plus published interactions. Max 100. ≥60 definite classical FCS; ≥45 very likely. Not a diagnosis or genetic test. Not Simon Broome or Dutch FH. magent does not examine the patient or assay lipids. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abdominal_history":"none","age_years":40,"apo_b_g_l":1.2,"apo_b_mg_dl":120,"bmi_below_threshold":false,"htg_onset_before_age_10":false,"secondary_factors_present":true,"tg_mg_dl":500,"tg_mmol_l":8,"tg_tc_ratio_mg_dl":5,"tg_tc_ratio_mmol_l":2},{"abdominal_history":"none","age_years":40,"apo_b_g_l":1.2,"apo_b_mg_dl":120,"bmi_below_threshold":false,"htg_onset_before_age_10":false,"secondary_factors_present":true,"tg_mg_dl":500,"tg_mmol_l":8,"tg_tc_ratio_mg_dl":5,"tg_tc_ratio_mmol_l":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"all_tg_severely_elevated":false,"citation":{"authors":"Hegele RA, Ahmad Z, Ashraf A, et al.","doi":"10.1016/j.jacl.2024.09.008","id":"hegele-2025","pmid":"39537503","source":"J Clin Lipidol. 2025;19(1):83-94","title":"Development and validation of clinical criteria to identify familial chylomicronemia syndrome (FCS) in North America"},"components":[{"factor":"early_htg_onset","points":0,"present":false},{"factor":"child_htg","points":0,"present":false},{"factor":"all_tg_severely_elevated","points":0,"present":false},{"factor":"high_tg_tc_ratio","points":0,"present":false},{"factor":"low_apo_b","points":0,"present":false},{"factor":"bmi_below_threshold","points":0,"present":false},{"factor":"abdominal_pain","points":0,"present":false},{"factor":"pancreatitis","points":0,"present":false},{"factor":"no_secondary_factors","points":0,"present":false},{"factor":"high_ratio_and_low_apo_b","points":0,"present":false},{"factor":"child_and_no_secondary","points":0,"present":false},{"factor":"high_ratio_and_no_secondary","points":0,"present":false}],"definite_classical_fcs":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":"nafcs","formula_expression":"NAFCS = early_htg_onset 12 (age_years ≥10 and htg_onset_before_age_10) + child_htg 12 (age_years 1-9) + all_tg_severely_elevated 13 (all fasting TG >880 mg/dL or >10 mmol/L) + high_tg_tc_ratio 8 (TG/TC >8 mg/dL or >3.5 mmol/L) + low_apo_b 12 (apo B <1.0 g/L or <100 mg/dL) + bmi_below_threshold 9 (BMI <25 kg/m2 or <85th percentile) + abdominal_pain 9 (recurrent abdominal pain without pancreatitis) + pancreatitis 16 + no_secondary_factors 11 + high_ratio_and_low_apo_b 7 + child_and_no_secondary 7 + high_ratio_and_no_secondary 5 (Hegele 2025 Table 3, parameter estimates ×10); max 100; ≥60 definite classical FCS; ≥45 very likely classical FCS","high_tg_tc_ratio":false,"low_apo_b":false,"max_score":100,"score":0,"very_likely_classical_fcs":false},{"age_years":40,"all_tg_severely_elevated":false,"citation":{"authors":"Hegele RA, Ahmad Z, Ashraf A, et al.","doi":"10.1016/j.jacl.2024.09.008","id":"hegele-2025","pmid":"39537503","source":"J Clin Lipidol. 2025;19(1):83-94","title":"Development and validation of clinical criteria to identify familial chylomicronemia syndrome (FCS) in North America"},"components":[{"factor":"early_htg_onset","points":0,"present":false},{"factor":"child_htg","points":0,"present":false},{"factor":"all_tg_severely_elevated","points":0,"present":false},{"factor":"high_tg_tc_ratio","points":0,"present":false},{"factor":"low_apo_b","points":0,"present":false},{"factor":"bmi_below_threshold","points":0,"present":false},{"factor":"abdominal_pain","points":0,"present":false},{"factor":"pancreatitis","points":0,"present":false},{"factor":"no_secondary_factors","points":0,"present":false},{"factor":"high_ratio_and_low_apo_b","points":0,"present":false},{"factor":"child_and_no_secondary","points":0,"present":false},{"factor":"high_ratio_and_no_secondary","points":0,"present":false}],"definite_classical_fcs":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":"nafcs","formula_expression":"NAFCS = early_htg_onset 12 (age_years ≥10 and htg_onset_before_age_10) + child_htg 12 (age_years 1-9) + all_tg_severely_elevated 13 (all fasting TG >880 mg/dL or >10 mmol/L) + high_tg_tc_ratio 8 (TG/TC >8 mg/dL or >3.5 mmol/L) + low_apo_b 12 (apo B <1.0 g/L or <100 mg/dL) + bmi_below_threshold 9 (BMI <25 kg/m2 or <85th percentile) + abdominal_pain 9 (recurrent abdominal pain without pancreatitis) + pancreatitis 16 + no_secondary_factors 11 + high_ratio_and_low_apo_b 7 + child_and_no_secondary 7 + high_ratio_and_no_secondary 5 (Hegele 2025 Table 3, parameter estimates ×10); max 100; ≥60 definite classical FCS; ≥45 very likely classical FCS","high_tg_tc_ratio":false,"low_apo_b":false,"max_score":100,"score":0,"very_likely_classical_fcs":false}],"path":"/api/calc/nafcs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_history":{"description":"Caller-assigned chylomicronemia-related abdominal history (Hegele 2025 Table 3): none (0), abdominal_pain = recurrent abdominal pain without pancreatitis (9), pancreatitis = history of pancreatitis with or without abdominal pain (16). magent does not diagnose pancreatitis.","enum":["none","abdominal_pain","pancreatitis"],"type":"string"},"age_years":{"description":"Current age in whole years (1-120). Hegele 2025 Table 3: ages 1-9 score child_htg 12; ages ≥10 score early_htg_onset 12 only when htg_onset_before_age_10 is true. The score does not provide a value for infants <1 year. magent does not examine the patient.","type":"integer"},"apo_b_g_l":{"description":"Apolipoprotein B in g/L (0.1-3.0). <1.0 scores 12 (Hegele 2025 Table 3). Provide exactly one of apo_b_g_l or apo_b_mg_dl. 1.0 g/L = 100 mg/dL in the paper. magent does not assay apo B.","type":"number"},"apo_b_mg_dl":{"description":"Apolipoprotein B in mg/dL (10-300). <100 scores 12. Provide exactly one of apo_b_g_l or apo_b_mg_dl. magent does not assay apo B.","type":"number"},"bmi_below_threshold":{"description":"BMI <25.0 kg/m2 in adults or <85th percentile in children/adolescents as assigned by the caller (Hegele 2025 Table 3, 9 points). true or false. magent does not compute BMI or pediatric percentiles.","type":"boolean"},"htg_onset_before_age_10":{"description":"Hypertriglyceridemia onset in infancy or childhood (before age 10) as assigned by the caller (Hegele 2025 Table 1). true or false. Scores 12 only when age_years ≥10. For ages 1-9, child_htg is scored from age and this flag does not add points. magent does not date onset.","type":"boolean"},"secondary_factors_present":{"description":"One or more secondary factors that may contribute to hypertriglyceridemia as assigned by the caller (Hegele 2025 Table 1: lifestyle, medications, clinical conditions). true (≥1, 0 points) or false (none, 11 points, plus published interactions). magent does not take a history.","type":"boolean"},"tg_mg_dl":{"description":"Caller-assigned fasting triglycerides in mg/dL (440-20000) representing all readings used in the score (Hegele 2025 Table 1: last 3 labs in adults, last 2 in children). All readings >880 score 13. Provide exactly one of tg_mg_dl or tg_mmol_l. magent does not assay lipids.","type":"number"},"tg_mmol_l":{"description":"Caller-assigned fasting triglycerides in mmol/L (5-226). All readings >10 score 13. Provide exactly one of tg_mg_dl or tg_mmol_l. magent does not assay lipids.","type":"number"},"tg_tc_ratio_mg_dl":{"description":"Triglyceride/total-cholesterol ratio when both are in mg/dL (0.1-80). >8 scores 8 (Hegele 2025 Table 1). Provide exactly one of tg_tc_ratio_mg_dl or tg_tc_ratio_mmol_l. magent does not assay lipids.","type":"number"},"tg_tc_ratio_mmol_l":{"description":"Triglyceride/total-cholesterol ratio when both are in mmol/L (0.1-35). >3.5 scores 8. Provide exactly one of tg_tc_ratio_mg_dl or tg_tc_ratio_mmol_l. magent does not assay lipids.","type":"number"}},"required":["age_years","htg_onset_before_age_10","bmi_below_threshold","abdominal_history","secondary_factors_present"],"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":["nafcs","fcs","lipids","chylomicronemia","hegele-2025","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:08:35.749Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:08:35.609Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abdominal_history":"none","age_years":40,"apo_b_g_l":1.2,"apo_b_mg_dl":120,"bmi_below_threshold":false,"htg_onset_before_age_10":false,"secondary_factors_present":true,"tg_mg_dl":500,"tg_mmol_l":8,"tg_tc_ratio_mg_dl":5,"tg_tc_ratio_mmol_l":2},{"abdominal_history":"none","age_years":40,"apo_b_g_l":1.2,"apo_b_mg_dl":120,"bmi_below_threshold":false,"htg_onset_before_age_10":false,"secondary_factors_present":true,"tg_mg_dl":500,"tg_mmol_l":8,"tg_tc_ratio_mg_dl":5,"tg_tc_ratio_mmol_l":2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"all_tg_severely_elevated":false,"citation":{"authors":"Hegele RA, Ahmad Z, Ashraf A, et al.","doi":"10.1016/j.jacl.2024.09.008","id":"hegele-2025","pmid":"39537503","source":"J Clin Lipidol. 2025;19(1):83-94","title":"Development and validation of clinical criteria to identify familial chylomicronemia syndrome (FCS) in North America"},"components":[{"factor":"early_htg_onset","points":0,"present":false},{"factor":"child_htg","points":0,"present":false},{"factor":"all_tg_severely_elevated","points":0,"present":false},{"factor":"high_tg_tc_ratio","points":0,"present":false},{"factor":"low_apo_b","points":0,"present":false},{"factor":"bmi_below_threshold","points":0,"present":false},{"factor":"abdominal_pain","points":0,"present":false},{"factor":"pancreatitis","points":0,"present":false},{"factor":"no_secondary_factors","points":0,"present":false},{"factor":"high_ratio_and_low_apo_b","points":0,"present":false},{"factor":"child_and_no_secondary","points":0,"present":false},{"factor":"high_ratio_and_no_secondary","points":0,"present":false}],"definite_classical_fcs":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":"nafcs","formula_expression":"NAFCS = early_htg_onset 12 (age_years ≥10 and htg_onset_before_age_10) + child_htg 12 (age_years 1-9) + all_tg_severely_elevated 13 (all fasting TG >880 mg/dL or >10 mmol/L) + high_tg_tc_ratio 8 (TG/TC >8 mg/dL or >3.5 mmol/L) + low_apo_b 12 (apo B <1.0 g/L or <100 mg/dL) + bmi_below_threshold 9 (BMI <25 kg/m2 or <85th percentile) + abdominal_pain 9 (recurrent abdominal pain without pancreatitis) + pancreatitis 16 + no_secondary_factors 11 + high_ratio_and_low_apo_b 7 + child_and_no_secondary 7 + high_ratio_and_no_secondary 5 (Hegele 2025 Table 3, parameter estimates ×10); max 100; ≥60 definite classical FCS; ≥45 very likely classical FCS","high_tg_tc_ratio":false,"low_apo_b":false,"max_score":100,"score":0,"very_likely_classical_fcs":false},{"age_years":40,"all_tg_severely_elevated":false,"citation":{"authors":"Hegele RA, Ahmad Z, Ashraf A, et al.","doi":"10.1016/j.jacl.2024.09.008","id":"hegele-2025","pmid":"39537503","source":"J Clin Lipidol. 2025;19(1):83-94","title":"Development and validation of clinical criteria to identify familial chylomicronemia syndrome (FCS) in North America"},"components":[{"factor":"early_htg_onset","points":0,"present":false},{"factor":"child_htg","points":0,"present":false},{"factor":"all_tg_severely_elevated","points":0,"present":false},{"factor":"high_tg_tc_ratio","points":0,"present":false},{"factor":"low_apo_b","points":0,"present":false},{"factor":"bmi_below_threshold","points":0,"present":false},{"factor":"abdominal_pain","points":0,"present":false},{"factor":"pancreatitis","points":0,"present":false},{"factor":"no_secondary_factors","points":0,"present":false},{"factor":"high_ratio_and_low_apo_b","points":0,"present":false},{"factor":"child_and_no_secondary","points":0,"present":false},{"factor":"high_ratio_and_no_secondary","points":0,"present":false}],"definite_classical_fcs":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":"nafcs","formula_expression":"NAFCS = early_htg_onset 12 (age_years ≥10 and htg_onset_before_age_10) + child_htg 12 (age_years 1-9) + all_tg_severely_elevated 13 (all fasting TG >880 mg/dL or >10 mmol/L) + high_tg_tc_ratio 8 (TG/TC >8 mg/dL or >3.5 mmol/L) + low_apo_b 12 (apo B <1.0 g/L or <100 mg/dL) + bmi_below_threshold 9 (BMI <25 kg/m2 or <85th percentile) + abdominal_pain 9 (recurrent abdominal pain without pancreatitis) + pancreatitis 16 + no_secondary_factors 11 + high_ratio_and_low_apo_b 7 + child_and_no_secondary 7 + high_ratio_and_no_secondary 5 (Hegele 2025 Table 3, parameter estimates ×10); max 100; ≥60 definite classical FCS; ≥45 very likely classical FCS","high_tg_tc_ratio":false,"low_apo_b":false,"max_score":100,"score":0,"very_likely_classical_fcs":false}],"path":"/api/calc/nafcs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abdominal_history":{"description":"Caller-assigned chylomicronemia-related abdominal history (Hegele 2025 Table 3): none (0), abdominal_pain = recurrent abdominal pain without pancreatitis (9), pancreatitis = history of pancreatitis with or without abdominal pain (16). magent does not diagnose pancreatitis.","enum":["none","abdominal_pain","pancreatitis"],"type":"string"},"age_years":{"description":"Current age in whole years (1-120). Hegele 2025 Table 3: ages 1-9 score child_htg 12; ages ≥10 score early_htg_onset 12 only when htg_onset_before_age_10 is true. The score does not provide a value for infants <1 year. magent does not examine the patient.","type":"integer"},"apo_b_g_l":{"description":"Apolipoprotein B in g/L (0.1-3.0). <1.0 scores 12 (Hegele 2025 Table 3). Provide exactly one of apo_b_g_l or apo_b_mg_dl. 1.0 g/L = 100 mg/dL in the paper. magent does not assay apo B.","type":"number"},"apo_b_mg_dl":{"description":"Apolipoprotein B in mg/dL (10-300). <100 scores 12. Provide exactly one of apo_b_g_l or apo_b_mg_dl. magent does not assay apo B.","type":"number"},"bmi_below_threshold":{"description":"BMI <25.0 kg/m2 in adults or <85th percentile in children/adolescents as assigned by the caller (Hegele 2025 Table 3, 9 points). true or false. magent does not compute BMI or pediatric percentiles.","type":"boolean"},"htg_onset_before_age_10":{"description":"Hypertriglyceridemia onset in infancy or childhood (before age 10) as assigned by the caller (Hegele 2025 Table 1). true or false. Scores 12 only when age_years ≥10. For ages 1-9, child_htg is scored from age and this flag does not add points. magent does not date onset.","type":"boolean"},"secondary_factors_present":{"description":"One or more secondary factors that may contribute to hypertriglyceridemia as assigned by the caller (Hegele 2025 Table 1: lifestyle, medications, clinical conditions). true (≥1, 0 points) or false (none, 11 points, plus published interactions). magent does not take a history.","type":"boolean"},"tg_mg_dl":{"description":"Caller-assigned fasting triglycerides in mg/dL (440-20000) representing all readings used in the score (Hegele 2025 Table 1: last 3 labs in adults, last 2 in children). All readings >880 score 13. Provide exactly one of tg_mg_dl or tg_mmol_l. magent does not assay lipids.","type":"number"},"tg_mmol_l":{"description":"Caller-assigned fasting triglycerides in mmol/L (5-226). All readings >10 score 13. Provide exactly one of tg_mg_dl or tg_mmol_l. magent does not assay lipids.","type":"number"},"tg_tc_ratio_mg_dl":{"description":"Triglyceride/total-cholesterol ratio when both are in mg/dL (0.1-80). >8 scores 8 (Hegele 2025 Table 1). Provide exactly one of tg_tc_ratio_mg_dl or tg_tc_ratio_mmol_l. magent does not assay lipids.","type":"number"},"tg_tc_ratio_mmol_l":{"description":"Triglyceride/total-cholesterol ratio when both are in mmol/L (0.1-35). >3.5 scores 8. Provide exactly one of tg_tc_ratio_mg_dl or tg_tc_ratio_mmol_l. magent does not assay lipids.","type":"number"}},"required":["age_years","htg_onset_before_age_10","bmi_below_threshold","abdominal_history","secondary_factors_present"],"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},{"id":39548,"slug":"39548","resource":"https://api.magentlab.com/api/calc/dutch_fh","description":"Dutch Lipid Clinic Network (Nordestgaard 2013 Table 1) familial hypercholesterolaemia score. One LDL (mmol/L or mg/dL / 38.67) plus family, clinical, physical, and DNA groups; per group only the highest. Max 26. Definite >8, probable 6-8, possible 3-5, unlikely 0-2. Score 8 (mutation alone) is probable. Adult Table 1 only; not Simon Broome, not MEDPED, not homozygous FH. magent does not assay lipids, examine tendons or arcus, or sequence genes. Not a medical device and not a diagnosis of FH.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"causative_mutation_ldlr_apob_pcsk9":false,"child_ldl_gt_95th":false,"corneal_arcus_age_lt_45":false,"first_degree_ldl_gt_95th":false,"first_degree_premature_chd":false,"first_degree_xanthoma_or_arcus":false,"ldl_mg_dl":348,"ldl_mmol_l":9,"premature_cerebral_or_pvd":false,"premature_chd":false,"tendon_xanthoma":true},{"causative_mutation_ldlr_apob_pcsk9":false,"child_ldl_gt_95th":false,"corneal_arcus_age_lt_45":false,"first_degree_ldl_gt_95th":false,"first_degree_premature_chd":false,"first_degree_xanthoma_or_arcus":false,"ldl_mg_dl":348,"ldl_mmol_l":9,"premature_cerebral_or_pvd":false,"premature_chd":false,"tendon_xanthoma":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Nordestgaard BG, Chapman MJ, Humphries SE, et al.","doi":"10.1093/eurheartj/eht273","id":"nordestgaard-2013","pmid":"23956253","source":"Eur Heart J. 2013;34(45):3478-3490","title":"Familial hypercholesterolaemia is underdiagnosed and undertreated in the general population: guidance for clinicians to prevent coronary heart disease: consensus statement of the European Atherosclerosis Society"},"classification":"definite","clinical_points":0,"components":[{"factor":"family","points":0,"present":false},{"factor":"clinical","points":0,"present":false},{"factor":"physical","points":6,"present":true},{"factor":"ldl","points":8,"present":true,"value":9},{"factor":"dna","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.","dna_points":0,"family_points":0,"formula":"dutch_fh","formula_expression":"DLCN (Nordestgaard 2013 Table 1) = family + clinical + physical + ldl + dna (per group only the highest); family: first_degree_xanthoma_or_arcus or child_ldl_gt_95th -> 2 else first_degree_premature_chd or first_degree_ldl_gt_95th -> 1; clinical: premature_chd -> 2 else premature_cerebral_or_pvd -> 1; physical: tendon_xanthoma -> 6 else corneal_arcus_age_lt_45 -> 4; ldl mmol/L: >8.5 -> 8, 6.5-8.4 -> 5, 5.0-6.4 -> 3, 4.0-4.9 -> 1; dna causative_mutation_ldlr_apob_pcsk9 -> 8; max 26; definite >8, probable 6-8, possible 3-5, unlikely 0-2","ldl_mmol_l":9,"ldl_points":8,"max_score":26,"physical_points":6,"score":14},{"citation":{"authors":"Nordestgaard BG, Chapman MJ, Humphries SE, et al.","doi":"10.1093/eurheartj/eht273","id":"nordestgaard-2013","pmid":"23956253","source":"Eur Heart J. 2013;34(45):3478-3490","title":"Familial hypercholesterolaemia is underdiagnosed and undertreated in the general population: guidance for clinicians to prevent coronary heart disease: consensus statement of the European Atherosclerosis Society"},"classification":"definite","clinical_points":0,"components":[{"factor":"family","points":0,"present":false},{"factor":"clinical","points":0,"present":false},{"factor":"physical","points":6,"present":true},{"factor":"ldl","points":8,"present":true,"value":9},{"factor":"dna","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.","dna_points":0,"family_points":0,"formula":"dutch_fh","formula_expression":"DLCN (Nordestgaard 2013 Table 1) = family + clinical + physical + ldl + dna (per group only the highest); family: first_degree_xanthoma_or_arcus or child_ldl_gt_95th -> 2 else first_degree_premature_chd or first_degree_ldl_gt_95th -> 1; clinical: premature_chd -> 2 else premature_cerebral_or_pvd -> 1; physical: tendon_xanthoma -> 6 else corneal_arcus_age_lt_45 -> 4; ldl mmol/L: >8.5 -> 8, 6.5-8.4 -> 5, 5.0-6.4 -> 3, 4.0-4.9 -> 1; dna causative_mutation_ldlr_apob_pcsk9 -> 8; max 26; definite >8, probable 6-8, possible 3-5, unlikely 0-2","ldl_mmol_l":9,"ldl_points":8,"max_score":26,"physical_points":6,"score":14}],"path":"/api/calc/dutch_fh"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"causative_mutation_ldlr_apob_pcsk9":{"description":"Causative mutation in LDLR, APOB, or PCSK9 as assigned by the caller (Nordestgaard 2013 Table 1 DNA analysis, 8 points). true or false. magent does not sequence genes. Mutation alone is probable (score 8), not definite.","type":"boolean"},"child_ldl_gt_95th":{"description":"Child under 18 years with LDL cholesterol above the 95th percentile (Nordestgaard 2013 Table 1 family history, 2 points). true or false as assigned by the caller. magent does not assay lipids or take a pedigree.","type":"boolean"},"corneal_arcus_age_lt_45":{"description":"Arcus cornealis before age 45 years (Nordestgaard 2013 Table 1 physical examination, 4 points). true or false as assigned by the caller. magent does not examine the cornea or compute age.","type":"boolean"},"first_degree_ldl_gt_95th":{"description":"First-degree relative with LDL cholesterol above the 95th percentile (Nordestgaard 2013 Table 1 family history, 1 point). true or false as assigned by the caller. magent does not assay lipids or take a pedigree.","type":"boolean"},"first_degree_premature_chd":{"description":"First-degree relative with premature coronary heart disease (Nordestgaard 2013 Table 1 family history, 1 point). true or false as assigned by the caller. magent does not take a pedigree. Either this or first_degree_ldl_gt_95th scores 1 for the family group; a 2-point family item still yields family 2, not 3.","type":"boolean"},"first_degree_xanthoma_or_arcus":{"description":"First-degree relative with tendon xanthoma and/or arcus cornealis (Nordestgaard 2013 Table 1 family history, 2 points). true or false as assigned by the caller. magent does not examine relatives. Either this or child_ldl_gt_95th scores 2 for the family group (max of family items).","type":"boolean"},"ldl_mg_dl":{"description":"LDL cholesterol in mg/dL (40-800). Converted to mmol/L as mg/dL / 38.67, then scored on the mmol/L bands. Provide exactly one lipid parameter.","type":"number"},"ldl_mmol_l":{"description":"LDL cholesterol in mmol/L (1-20). Nordestgaard 2013 Table 1 bands: >8.5 → 8, 6.5-8.4 → 5, 5.0-6.4 → 3, 4.0-4.9 → 1. Provide exactly one of ldl_mmol_l or ldl_mg_dl. magent does not assay lipids.","type":"number"},"premature_cerebral_or_pvd":{"description":"Premature cerebral or peripheral vascular disease in the subject (Nordestgaard 2013 Table 1 clinical history, 1 point). true or false as assigned by the caller. magent does not diagnose vascular disease.","type":"boolean"},"premature_chd":{"description":"Premature coronary heart disease in the subject (Nordestgaard 2013 Table 1 clinical history, 2 points; men <55 years / women <60 years as assigned by the caller). true or false. magent does not diagnose CHD or compute age or sex. If premature_cerebral_or_pvd is also true, the clinical group is 2, not 3.","type":"boolean"},"tendon_xanthoma":{"description":"Tendon xanthoma in the subject (Nordestgaard 2013 Table 1 physical examination, 6 points). true or false as assigned by the caller. magent does not examine tendons. If corneal_arcus_age_lt_45 is also true, the physical group is 6, not 10.","type":"boolean"}},"required":["first_degree_premature_chd","first_degree_ldl_gt_95th","first_degree_xanthoma_or_arcus","child_ldl_gt_95th","premature_chd","premature_cerebral_or_pvd","tendon_xanthoma","corneal_arcus_age_lt_45","causative_mutation_ldlr_apob_pcsk9"],"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":["dutch-fh","fh","lipids","dlcn","xanthoma","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:08:28.608Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:08:28.447Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"causative_mutation_ldlr_apob_pcsk9":false,"child_ldl_gt_95th":false,"corneal_arcus_age_lt_45":false,"first_degree_ldl_gt_95th":false,"first_degree_premature_chd":false,"first_degree_xanthoma_or_arcus":false,"ldl_mg_dl":348,"ldl_mmol_l":9,"premature_cerebral_or_pvd":false,"premature_chd":false,"tendon_xanthoma":true},{"causative_mutation_ldlr_apob_pcsk9":false,"child_ldl_gt_95th":false,"corneal_arcus_age_lt_45":false,"first_degree_ldl_gt_95th":false,"first_degree_premature_chd":false,"first_degree_xanthoma_or_arcus":false,"ldl_mg_dl":348,"ldl_mmol_l":9,"premature_cerebral_or_pvd":false,"premature_chd":false,"tendon_xanthoma":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Nordestgaard BG, Chapman MJ, Humphries SE, et al.","doi":"10.1093/eurheartj/eht273","id":"nordestgaard-2013","pmid":"23956253","source":"Eur Heart J. 2013;34(45):3478-3490","title":"Familial hypercholesterolaemia is underdiagnosed and undertreated in the general population: guidance for clinicians to prevent coronary heart disease: consensus statement of the European Atherosclerosis Society"},"classification":"definite","clinical_points":0,"components":[{"factor":"family","points":0,"present":false},{"factor":"clinical","points":0,"present":false},{"factor":"physical","points":6,"present":true},{"factor":"ldl","points":8,"present":true,"value":9},{"factor":"dna","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.","dna_points":0,"family_points":0,"formula":"dutch_fh","formula_expression":"DLCN (Nordestgaard 2013 Table 1) = family + clinical + physical + ldl + dna (per group only the highest); family: first_degree_xanthoma_or_arcus or child_ldl_gt_95th -> 2 else first_degree_premature_chd or first_degree_ldl_gt_95th -> 1; clinical: premature_chd -> 2 else premature_cerebral_or_pvd -> 1; physical: tendon_xanthoma -> 6 else corneal_arcus_age_lt_45 -> 4; ldl mmol/L: >8.5 -> 8, 6.5-8.4 -> 5, 5.0-6.4 -> 3, 4.0-4.9 -> 1; dna causative_mutation_ldlr_apob_pcsk9 -> 8; max 26; definite >8, probable 6-8, possible 3-5, unlikely 0-2","ldl_mmol_l":9,"ldl_points":8,"max_score":26,"physical_points":6,"score":14},{"citation":{"authors":"Nordestgaard BG, Chapman MJ, Humphries SE, et al.","doi":"10.1093/eurheartj/eht273","id":"nordestgaard-2013","pmid":"23956253","source":"Eur Heart J. 2013;34(45):3478-3490","title":"Familial hypercholesterolaemia is underdiagnosed and undertreated in the general population: guidance for clinicians to prevent coronary heart disease: consensus statement of the European Atherosclerosis Society"},"classification":"definite","clinical_points":0,"components":[{"factor":"family","points":0,"present":false},{"factor":"clinical","points":0,"present":false},{"factor":"physical","points":6,"present":true},{"factor":"ldl","points":8,"present":true,"value":9},{"factor":"dna","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.","dna_points":0,"family_points":0,"formula":"dutch_fh","formula_expression":"DLCN (Nordestgaard 2013 Table 1) = family + clinical + physical + ldl + dna (per group only the highest); family: first_degree_xanthoma_or_arcus or child_ldl_gt_95th -> 2 else first_degree_premature_chd or first_degree_ldl_gt_95th -> 1; clinical: premature_chd -> 2 else premature_cerebral_or_pvd -> 1; physical: tendon_xanthoma -> 6 else corneal_arcus_age_lt_45 -> 4; ldl mmol/L: >8.5 -> 8, 6.5-8.4 -> 5, 5.0-6.4 -> 3, 4.0-4.9 -> 1; dna causative_mutation_ldlr_apob_pcsk9 -> 8; max 26; definite >8, probable 6-8, possible 3-5, unlikely 0-2","ldl_mmol_l":9,"ldl_points":8,"max_score":26,"physical_points":6,"score":14}],"path":"/api/calc/dutch_fh"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"causative_mutation_ldlr_apob_pcsk9":{"description":"Causative mutation in LDLR, APOB, or PCSK9 as assigned by the caller (Nordestgaard 2013 Table 1 DNA analysis, 8 points). true or false. magent does not sequence genes. Mutation alone is probable (score 8), not definite.","type":"boolean"},"child_ldl_gt_95th":{"description":"Child under 18 years with LDL cholesterol above the 95th percentile (Nordestgaard 2013 Table 1 family history, 2 points). true or false as assigned by the caller. magent does not assay lipids or take a pedigree.","type":"boolean"},"corneal_arcus_age_lt_45":{"description":"Arcus cornealis before age 45 years (Nordestgaard 2013 Table 1 physical examination, 4 points). true or false as assigned by the caller. magent does not examine the cornea or compute age.","type":"boolean"},"first_degree_ldl_gt_95th":{"description":"First-degree relative with LDL cholesterol above the 95th percentile (Nordestgaard 2013 Table 1 family history, 1 point). true or false as assigned by the caller. magent does not assay lipids or take a pedigree.","type":"boolean"},"first_degree_premature_chd":{"description":"First-degree relative with premature coronary heart disease (Nordestgaard 2013 Table 1 family history, 1 point). true or false as assigned by the caller. magent does not take a pedigree. Either this or first_degree_ldl_gt_95th scores 1 for the family group; a 2-point family item still yields family 2, not 3.","type":"boolean"},"first_degree_xanthoma_or_arcus":{"description":"First-degree relative with tendon xanthoma and/or arcus cornealis (Nordestgaard 2013 Table 1 family history, 2 points). true or false as assigned by the caller. magent does not examine relatives. Either this or child_ldl_gt_95th scores 2 for the family group (max of family items).","type":"boolean"},"ldl_mg_dl":{"description":"LDL cholesterol in mg/dL (40-800). Converted to mmol/L as mg/dL / 38.67, then scored on the mmol/L bands. Provide exactly one lipid parameter.","type":"number"},"ldl_mmol_l":{"description":"LDL cholesterol in mmol/L (1-20). Nordestgaard 2013 Table 1 bands: >8.5 → 8, 6.5-8.4 → 5, 5.0-6.4 → 3, 4.0-4.9 → 1. Provide exactly one of ldl_mmol_l or ldl_mg_dl. magent does not assay lipids.","type":"number"},"premature_cerebral_or_pvd":{"description":"Premature cerebral or peripheral vascular disease in the subject (Nordestgaard 2013 Table 1 clinical history, 1 point). true or false as assigned by the caller. magent does not diagnose vascular disease.","type":"boolean"},"premature_chd":{"description":"Premature coronary heart disease in the subject (Nordestgaard 2013 Table 1 clinical history, 2 points; men <55 years / women <60 years as assigned by the caller). true or false. magent does not diagnose CHD or compute age or sex. If premature_cerebral_or_pvd is also true, the clinical group is 2, not 3.","type":"boolean"},"tendon_xanthoma":{"description":"Tendon xanthoma in the subject (Nordestgaard 2013 Table 1 physical examination, 6 points). true or false as assigned by the caller. magent does not examine tendons. If corneal_arcus_age_lt_45 is also true, the physical group is 6, not 10.","type":"boolean"}},"required":["first_degree_premature_chd","first_degree_ldl_gt_95th","first_degree_xanthoma_or_arcus","child_ldl_gt_95th","premature_chd","premature_cerebral_or_pvd","tendon_xanthoma","corneal_arcus_age_lt_45","causative_mutation_ldlr_apob_pcsk9"],"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},{"id":39549,"slug":"39549","resource":"https://api.magentlab.com/api/calc/medped","description":"Williams 1993 US MEDPED total cholesterol cutoffs by age and relative degree (first, second, third, or general population). Meets the published criterion iff total cholesterol in mg/dL is greater than the table cutoff (mmol/L converted as mg/dL = mmol/L * 38.67). Total cholesterol only; not Dutch Lipid Clinic or Simon Broome. Not a medical device and not a diagnosis of familial hypercholesterolemia.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"relative_degree":"general_population","total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":10},{"age":50,"relative_degree":"general_population","total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"citation":{"authors":"Williams RR, Hunt SC, Schumacher MC, Hegele RA, Leppert MF, Ludwig EH, Hopkins PN","doi":"10.1016/0002-9149(93)90155-6","id":"williams-1993","pmid":"8328379","source":"Am J Cardiol. 1993;72(2):171-176","title":"Diagnosing heterozygous familial hypercholesterolemia using new practical criteria validated by molecular genetics"},"classification":"below_cutoff","criteria":[{"cutoff_mg_dl":360,"factor":"total_cholesterol_gt_cutoff","met":false,"value":200}],"cutoff_mg_dl":360,"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":"medped","formula_expression":"meets_criteria iff total_cholesterol_mg_dl > cutoff_mg_dl (Williams 1993 US MEDPED total cholesterol); mmol/L converted as mg/dL = mmol/L * 38.67; age <20: first 220, second 230, third 240, general_population 270; 20-29: 240/250/260/290; 30-39: 270/280/290/340; >=40: 290/300/310/360","meets_criteria":false,"relative_degree":"general_population","total_cholesterol_mg_dl":200},{"age":50,"citation":{"authors":"Williams RR, Hunt SC, Schumacher MC, Hegele RA, Leppert MF, Ludwig EH, Hopkins PN","doi":"10.1016/0002-9149(93)90155-6","id":"williams-1993","pmid":"8328379","source":"Am J Cardiol. 1993;72(2):171-176","title":"Diagnosing heterozygous familial hypercholesterolemia using new practical criteria validated by molecular genetics"},"classification":"below_cutoff","criteria":[{"cutoff_mg_dl":360,"factor":"total_cholesterol_gt_cutoff","met":false,"value":200}],"cutoff_mg_dl":360,"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":"medped","formula_expression":"meets_criteria iff total_cholesterol_mg_dl > cutoff_mg_dl (Williams 1993 US MEDPED total cholesterol); mmol/L converted as mg/dL = mmol/L * 38.67; age <20: first 220, second 230, third 240, general_population 270; 20-29: 240/250/260/290; 30-39: 270/280/290/340; >=40: 290/300/310/360","meets_criteria":false,"relative_degree":"general_population","total_cholesterol_mg_dl":200}],"path":"/api/calc/medped"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 1-120). Selects the Williams 1993 US MEDPED total cholesterol row: <20, 20-29, 30-39, or >=40.","type":"integer"},"relative_degree":{"description":"Relative degree as assigned by the caller: first, second, third, or general_population (Williams 1993). magent does not take a pedigree.","type":"string"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Provide exactly one of total_cholesterol_mg_dl or total_cholesterol_mmol_l. Meets the published cutoff iff this value is greater than the age- and relative-degree-specific mg/dL cutoff. magent does not assay lipids.","type":"number"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.3-20). Converted as mg/dL = mmol/L * 38.67, then compared with the US MEDPED mg/dL cutoff. Provide exactly one lipid parameter.","type":"number"}},"required":["age","relative_degree"],"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":["medped","fh","lipids","cholesterol","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:08:21.703Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:08:21.569Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"relative_degree":"general_population","total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":10},{"age":50,"relative_degree":"general_population","total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":50,"citation":{"authors":"Williams RR, Hunt SC, Schumacher MC, Hegele RA, Leppert MF, Ludwig EH, Hopkins PN","doi":"10.1016/0002-9149(93)90155-6","id":"williams-1993","pmid":"8328379","source":"Am J Cardiol. 1993;72(2):171-176","title":"Diagnosing heterozygous familial hypercholesterolemia using new practical criteria validated by molecular genetics"},"classification":"below_cutoff","criteria":[{"cutoff_mg_dl":360,"factor":"total_cholesterol_gt_cutoff","met":false,"value":200}],"cutoff_mg_dl":360,"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":"medped","formula_expression":"meets_criteria iff total_cholesterol_mg_dl > cutoff_mg_dl (Williams 1993 US MEDPED total cholesterol); mmol/L converted as mg/dL = mmol/L * 38.67; age <20: first 220, second 230, third 240, general_population 270; 20-29: 240/250/260/290; 30-39: 270/280/290/340; >=40: 290/300/310/360","meets_criteria":false,"relative_degree":"general_population","total_cholesterol_mg_dl":200},{"age":50,"citation":{"authors":"Williams RR, Hunt SC, Schumacher MC, Hegele RA, Leppert MF, Ludwig EH, Hopkins PN","doi":"10.1016/0002-9149(93)90155-6","id":"williams-1993","pmid":"8328379","source":"Am J Cardiol. 1993;72(2):171-176","title":"Diagnosing heterozygous familial hypercholesterolemia using new practical criteria validated by molecular genetics"},"classification":"below_cutoff","criteria":[{"cutoff_mg_dl":360,"factor":"total_cholesterol_gt_cutoff","met":false,"value":200}],"cutoff_mg_dl":360,"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":"medped","formula_expression":"meets_criteria iff total_cholesterol_mg_dl > cutoff_mg_dl (Williams 1993 US MEDPED total cholesterol); mmol/L converted as mg/dL = mmol/L * 38.67; age <20: first 220, second 230, third 240, general_population 270; 20-29: 240/250/260/290; 30-39: 270/280/290/340; >=40: 290/300/310/360","meets_criteria":false,"relative_degree":"general_population","total_cholesterol_mg_dl":200}],"path":"/api/calc/medped"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 1-120). Selects the Williams 1993 US MEDPED total cholesterol row: <20, 20-29, 30-39, or >=40.","type":"integer"},"relative_degree":{"description":"Relative degree as assigned by the caller: first, second, third, or general_population (Williams 1993). magent does not take a pedigree.","type":"string"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Provide exactly one of total_cholesterol_mg_dl or total_cholesterol_mmol_l. Meets the published cutoff iff this value is greater than the age- and relative-degree-specific mg/dL cutoff. magent does not assay lipids.","type":"number"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.3-20). Converted as mg/dL = mmol/L * 38.67, then compared with the US MEDPED mg/dL cutoff. Provide exactly one lipid parameter.","type":"number"}},"required":["age","relative_degree"],"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},{"id":39550,"slug":"39550","resource":"https://api.magentlab.com/api/calc/simon_broome","description":"Simon Broome Register 1991 adult definite familial hypercholesterolaemia: total cholesterol >7.5 mmol/L or LDL cholesterol >4.9 mmol/L plus tendon xanthomas in the patient or a relative (parent, child, grandparent, sibling, uncle, or aunt). One lipid (mmol/L or mg/dL). magent does not assay lipids or examine tendons. Not a diagnosis, not possible FH, and not a DNA or child-cutoff classifier.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ldl_mg_dl":200,"ldl_mmol_l":5,"tendon_xanthoma_patient_or_relative":true,"total_cholesterol_mg_dl":310,"total_cholesterol_mmol_l":8},{"ldl_mg_dl":200,"ldl_mmol_l":5,"tendon_xanthoma_patient_or_relative":true,"total_cholesterol_mg_dl":310,"total_cholesterol_mmol_l":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cholesterol_threshold_met":true,"citation":{"authors":"Scientific Steering Committee on behalf of the Simon Broome Register Group","doi":"10.1136/bmj.303.6807.893","id":"simon-broome-1991","source":"BMJ. 1991;303(6807):893-896","title":"Risk of fatal coronary heart disease in familial hypercholesterolaemia"},"classification":"definite","components":[{"factor":"cholesterol_threshold","met":true,"value":8},{"factor":"tendon_xanthoma","met":true}],"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":"simon_broome","formula_expression":"definite FH iff (total cholesterol >7.5 mmol/L or LDL cholesterol >4.9 mmol/L) and tendon xanthomas in the patient or a relative (parent, child, grandparent, sibling, uncle, or aunt); adult 1991 register definition","lipid_kind":"total_cholesterol","lipid_mmol_l":8,"tendon_xanthoma_patient_or_relative":true},{"cholesterol_threshold_met":true,"citation":{"authors":"Scientific Steering Committee on behalf of the Simon Broome Register Group","doi":"10.1136/bmj.303.6807.893","id":"simon-broome-1991","source":"BMJ. 1991;303(6807):893-896","title":"Risk of fatal coronary heart disease in familial hypercholesterolaemia"},"classification":"definite","components":[{"factor":"cholesterol_threshold","met":true,"value":8},{"factor":"tendon_xanthoma","met":true}],"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":"simon_broome","formula_expression":"definite FH iff (total cholesterol >7.5 mmol/L or LDL cholesterol >4.9 mmol/L) and tendon xanthomas in the patient or a relative (parent, child, grandparent, sibling, uncle, or aunt); adult 1991 register definition","lipid_kind":"total_cholesterol","lipid_mmol_l":8,"tendon_xanthoma_patient_or_relative":true}],"path":"/api/calc/simon_broome"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ldl_mg_dl":{"description":"LDL cholesterol in mg/dL (40-600). Converted to mmol/L as mg/dL / 38.67, then compared with >4.9. Provide exactly one lipid parameter.","type":"number"},"ldl_mmol_l":{"description":"LDL cholesterol in mmol/L (1-15). Adult threshold is >4.9 mmol/L (4.9 does not meet). Provide exactly one lipid parameter. magent does not assay lipids.","type":"number"},"tendon_xanthoma_patient_or_relative":{"description":"Tendon xanthomas in the patient or a relative (parent, child, grandparent, sibling, uncle, or aunt) as assigned by the caller. true or false. magent does not examine tendons or take a pedigree.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Converted to mmol/L as mg/dL / 38.67, then compared with >7.5. Provide exactly one lipid parameter.","type":"number"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.3-20). Adult threshold is >7.5 mmol/L (7.5 does not meet). Provide exactly one of total_cholesterol_mmol_l, total_cholesterol_mg_dl, ldl_mmol_l, or ldl_mg_dl. magent does not assay lipids.","type":"number"}},"required":["tendon_xanthoma_patient_or_relative"],"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":["simon-broome","fh","lipids","cholesterol","xanthoma","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:08:14.703Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:08:14.572Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ldl_mg_dl":200,"ldl_mmol_l":5,"tendon_xanthoma_patient_or_relative":true,"total_cholesterol_mg_dl":310,"total_cholesterol_mmol_l":8},{"ldl_mg_dl":200,"ldl_mmol_l":5,"tendon_xanthoma_patient_or_relative":true,"total_cholesterol_mg_dl":310,"total_cholesterol_mmol_l":8}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"cholesterol_threshold_met":true,"citation":{"authors":"Scientific Steering Committee on behalf of the Simon Broome Register Group","doi":"10.1136/bmj.303.6807.893","id":"simon-broome-1991","source":"BMJ. 1991;303(6807):893-896","title":"Risk of fatal coronary heart disease in familial hypercholesterolaemia"},"classification":"definite","components":[{"factor":"cholesterol_threshold","met":true,"value":8},{"factor":"tendon_xanthoma","met":true}],"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":"simon_broome","formula_expression":"definite FH iff (total cholesterol >7.5 mmol/L or LDL cholesterol >4.9 mmol/L) and tendon xanthomas in the patient or a relative (parent, child, grandparent, sibling, uncle, or aunt); adult 1991 register definition","lipid_kind":"total_cholesterol","lipid_mmol_l":8,"tendon_xanthoma_patient_or_relative":true},{"cholesterol_threshold_met":true,"citation":{"authors":"Scientific Steering Committee on behalf of the Simon Broome Register Group","doi":"10.1136/bmj.303.6807.893","id":"simon-broome-1991","source":"BMJ. 1991;303(6807):893-896","title":"Risk of fatal coronary heart disease in familial hypercholesterolaemia"},"classification":"definite","components":[{"factor":"cholesterol_threshold","met":true,"value":8},{"factor":"tendon_xanthoma","met":true}],"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":"simon_broome","formula_expression":"definite FH iff (total cholesterol >7.5 mmol/L or LDL cholesterol >4.9 mmol/L) and tendon xanthomas in the patient or a relative (parent, child, grandparent, sibling, uncle, or aunt); adult 1991 register definition","lipid_kind":"total_cholesterol","lipid_mmol_l":8,"tendon_xanthoma_patient_or_relative":true}],"path":"/api/calc/simon_broome"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ldl_mg_dl":{"description":"LDL cholesterol in mg/dL (40-600). Converted to mmol/L as mg/dL / 38.67, then compared with >4.9. Provide exactly one lipid parameter.","type":"number"},"ldl_mmol_l":{"description":"LDL cholesterol in mmol/L (1-15). Adult threshold is >4.9 mmol/L (4.9 does not meet). Provide exactly one lipid parameter. magent does not assay lipids.","type":"number"},"tendon_xanthoma_patient_or_relative":{"description":"Tendon xanthomas in the patient or a relative (parent, child, grandparent, sibling, uncle, or aunt) as assigned by the caller. true or false. magent does not examine tendons or take a pedigree.","type":"boolean"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-800). Converted to mmol/L as mg/dL / 38.67, then compared with >7.5. Provide exactly one lipid parameter.","type":"number"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.3-20). Adult threshold is >7.5 mmol/L (7.5 does not meet). Provide exactly one of total_cholesterol_mmol_l, total_cholesterol_mg_dl, ldl_mmol_l, or ldl_mg_dl. magent does not assay lipids.","type":"number"}},"required":["tendon_xanthoma_patient_or_relative"],"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},{"id":39551,"slug":"39551","resource":"https://api.magentlab.com/api/calc/sampson","description":"Sampson 2020 estimated LDL-C from total cholesterol, HDL, and triglycerides (valid through 800 mg/dL). One unit system (mg/dL or mmol/L). Deterministic published equation with citation; not Friedewald, not a diagnosis or statin order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hdl_mg_dl":50,"hdl_mmol_l":1,"total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":5,"triglycerides_mg_dl":150,"triglycerides_mmol_l":2.2},{"hdl_mg_dl":50,"hdl_mmol_l":1,"total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":5,"triglycerides_mg_dl":150,"triglycerides_mmol_l":2.2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sampson M, Ling C, Sun Q, et al.","doi":"10.1001/jamacardiol.2020.0013","id":"sampson-2020","source":"JAMA Cardiol. 2020;5(5):540-548","title":"A new equation for calculation of low-density lipoprotein cholesterol in patients with normolipidemia and/or hypertriglyceridemia"},"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":"sampson","formula_expression":"LDL-C = TC/0.948 - HDL/0.971 - (TG/8.56 + TG*(TC-HDL)/2140 - TG^2/16100) - 9.44 (mg/dL)","hdl_mg_dl":50,"ldl_c_mg_dl":123.4,"ldl_c_mmol_l":3.2,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150,"unit":"mg_dl"},{"citation":{"authors":"Sampson M, Ling C, Sun Q, et al.","doi":"10.1001/jamacardiol.2020.0013","id":"sampson-2020","source":"JAMA Cardiol. 2020;5(5):540-548","title":"A new equation for calculation of low-density lipoprotein cholesterol in patients with normolipidemia and/or hypertriglyceridemia"},"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":"sampson","formula_expression":"LDL-C = TC/0.948 - HDL/0.971 - (TG/8.56 + TG*(TC-HDL)/2140 - TG^2/16100) - 9.44 (mg/dL)","hdl_mg_dl":50,"ldl_c_mg_dl":123.4,"ldl_c_mmol_l":3.2,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150,"unit":"mg_dl"}],"path":"/api/calc/sampson"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Same unit system as the other lipids.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.1-3.9). Converted as mg/dL = mmol/L * 38.67.","type":"number"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-500). Provide the full mg/dL set or the full mmol/L set, not mixed.","type":"number"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.3-12.9). Converted as mg/dL = mmol/L * 38.67. Do not mix with mg/dL keys.","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (10-800). Values above 800 are rejected; Sampson 2020 is not applied above 800 mg/dL.","type":"number"},"triglycerides_mmol_l":{"description":"Triglycerides in mmol/L (0.1-9.03). Cap is the SI stand-in for 800 mg/dL (mg/dL = mmol/L * 88.57). The Sampson equation is applied in mg/dL.","type":"number"}},"required":[],"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":["ldl","sampson","lipids","cholesterol","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:08:07.477Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:08:07.342Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hdl_mg_dl":50,"hdl_mmol_l":1,"total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":5,"triglycerides_mg_dl":150,"triglycerides_mmol_l":2.2},{"hdl_mg_dl":50,"hdl_mmol_l":1,"total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":5,"triglycerides_mg_dl":150,"triglycerides_mmol_l":2.2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Sampson M, Ling C, Sun Q, et al.","doi":"10.1001/jamacardiol.2020.0013","id":"sampson-2020","source":"JAMA Cardiol. 2020;5(5):540-548","title":"A new equation for calculation of low-density lipoprotein cholesterol in patients with normolipidemia and/or hypertriglyceridemia"},"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":"sampson","formula_expression":"LDL-C = TC/0.948 - HDL/0.971 - (TG/8.56 + TG*(TC-HDL)/2140 - TG^2/16100) - 9.44 (mg/dL)","hdl_mg_dl":50,"ldl_c_mg_dl":123.4,"ldl_c_mmol_l":3.2,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150,"unit":"mg_dl"},{"citation":{"authors":"Sampson M, Ling C, Sun Q, et al.","doi":"10.1001/jamacardiol.2020.0013","id":"sampson-2020","source":"JAMA Cardiol. 2020;5(5):540-548","title":"A new equation for calculation of low-density lipoprotein cholesterol in patients with normolipidemia and/or hypertriglyceridemia"},"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":"sampson","formula_expression":"LDL-C = TC/0.948 - HDL/0.971 - (TG/8.56 + TG*(TC-HDL)/2140 - TG^2/16100) - 9.44 (mg/dL)","hdl_mg_dl":50,"ldl_c_mg_dl":123.4,"ldl_c_mmol_l":3.2,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150,"unit":"mg_dl"}],"path":"/api/calc/sampson"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Same unit system as the other lipids.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.1-3.9). Converted as mg/dL = mmol/L * 38.67.","type":"number"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-500). Provide the full mg/dL set or the full mmol/L set, not mixed.","type":"number"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.3-12.9). Converted as mg/dL = mmol/L * 38.67. Do not mix with mg/dL keys.","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (10-800). Values above 800 are rejected; Sampson 2020 is not applied above 800 mg/dL.","type":"number"},"triglycerides_mmol_l":{"description":"Triglycerides in mmol/L (0.1-9.03). Cap is the SI stand-in for 800 mg/dL (mg/dL = mmol/L * 88.57). The Sampson equation is applied in mg/dL.","type":"number"}},"required":[],"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},{"id":39552,"slug":"39552","resource":"https://api.magentlab.com/api/calc/friedewald","description":"Friedewald estimated LDL-C from total cholesterol, HDL, and triglycerides. One unit system (mg/dL or mmol/L). Deterministic published equation with citation; not a diagnosis or statin order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"hdl_mg_dl":50,"hdl_mmol_l":1,"total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":5,"triglycerides_mg_dl":150,"triglycerides_mmol_l":2.2},{"hdl_mg_dl":50,"hdl_mmol_l":1,"total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":5,"triglycerides_mg_dl":150,"triglycerides_mmol_l":2.2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Friedewald WT, Levy RI, Fredrickson DS","doi":"10.1093/clinchem/18.6.499","id":"friedewald-1972","source":"Clin Chem. 1972;18(6):499-502","title":"Estimation of the concentration of low-density lipoprotein cholesterol in plasma, without use of the preparative ultracentrifuge"},"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":"friedewald","formula_expression":"ldl_c_mg_dl = total_cholesterol_mg_dl - hdl_mg_dl - (triglycerides_mg_dl / 5)","hdl_mg_dl":50,"ldl_c_mg_dl":120,"ldl_c_mmol_l":3.1,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150,"unit":"mg_dl"},{"citation":{"authors":"Friedewald WT, Levy RI, Fredrickson DS","doi":"10.1093/clinchem/18.6.499","id":"friedewald-1972","source":"Clin Chem. 1972;18(6):499-502","title":"Estimation of the concentration of low-density lipoprotein cholesterol in plasma, without use of the preparative ultracentrifuge"},"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":"friedewald","formula_expression":"ldl_c_mg_dl = total_cholesterol_mg_dl - hdl_mg_dl - (triglycerides_mg_dl / 5)","hdl_mg_dl":50,"ldl_c_mg_dl":120,"ldl_c_mmol_l":3.1,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150,"unit":"mg_dl"}],"path":"/api/calc/friedewald"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Same unit system as the other lipids.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.1-3.9). Converted as mg/dL = mmol/L * 38.67.","type":"number"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-500). Provide the full mg/dL set or the full mmol/L set, not mixed.","type":"number"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.3-12.9). Converted as mg/dL = mmol/L * 38.67. Do not mix with mg/dL keys.","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (10-400). Values above 400 are rejected; Friedewald VLDL is TG/5 for typical specimens only.","type":"number"},"triglycerides_mmol_l":{"description":"Triglycerides in mmol/L (0.1-4.5). Cap is the SI stand-in for 400 mg/dL (mg/dL = mmol/L * 88.57). SI LDL uses TG/2.2.","type":"number"}},"required":[],"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":["ldl","friedewald","lipids","cholesterol","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:07:54.249Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:07:54.115Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"hdl_mg_dl":50,"hdl_mmol_l":1,"total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":5,"triglycerides_mg_dl":150,"triglycerides_mmol_l":2.2},{"hdl_mg_dl":50,"hdl_mmol_l":1,"total_cholesterol_mg_dl":200,"total_cholesterol_mmol_l":5,"triglycerides_mg_dl":150,"triglycerides_mmol_l":2.2}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Friedewald WT, Levy RI, Fredrickson DS","doi":"10.1093/clinchem/18.6.499","id":"friedewald-1972","source":"Clin Chem. 1972;18(6):499-502","title":"Estimation of the concentration of low-density lipoprotein cholesterol in plasma, without use of the preparative ultracentrifuge"},"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":"friedewald","formula_expression":"ldl_c_mg_dl = total_cholesterol_mg_dl - hdl_mg_dl - (triglycerides_mg_dl / 5)","hdl_mg_dl":50,"ldl_c_mg_dl":120,"ldl_c_mmol_l":3.1,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150,"unit":"mg_dl"},{"citation":{"authors":"Friedewald WT, Levy RI, Fredrickson DS","doi":"10.1093/clinchem/18.6.499","id":"friedewald-1972","source":"Clin Chem. 1972;18(6):499-502","title":"Estimation of the concentration of low-density lipoprotein cholesterol in plasma, without use of the preparative ultracentrifuge"},"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":"friedewald","formula_expression":"ldl_c_mg_dl = total_cholesterol_mg_dl - hdl_mg_dl - (triglycerides_mg_dl / 5)","hdl_mg_dl":50,"ldl_c_mg_dl":120,"ldl_c_mmol_l":3.1,"total_cholesterol_mg_dl":200,"triglycerides_mg_dl":150,"unit":"mg_dl"}],"path":"/api/calc/friedewald"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Same unit system as the other lipids.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.1-3.9). Converted as mg/dL = mmol/L * 38.67.","type":"number"},"total_cholesterol_mg_dl":{"description":"Total cholesterol in mg/dL (50-500). Provide the full mg/dL set or the full mmol/L set, not mixed.","type":"number"},"total_cholesterol_mmol_l":{"description":"Total cholesterol in mmol/L (1.3-12.9). Converted as mg/dL = mmol/L * 38.67. Do not mix with mg/dL keys.","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (10-400). Values above 400 are rejected; Friedewald VLDL is TG/5 for typical specimens only.","type":"number"},"triglycerides_mmol_l":{"description":"Triglycerides in mmol/L (0.1-4.5). Cap is the SI stand-in for 400 mg/dL (mg/dL = mmol/L * 88.57). SI LDL uses TG/2.2.","type":"number"}},"required":[],"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},{"id":39553,"slug":"39553","resource":"https://api.magentlab.com/api/calc/beam","description":"BeAM (bedtime minus pre-breakfast glucose) in mg/dL from Zisman 2016. Provide bedtime_glucose_mg_dl or bedtime_glucose_mmol_l independently of AM, and am_glucose_mg_dl or am_glucose_mmol_l. mmol/L converts as mg/dL = mmol/L × 18. Returns beam_mg_dl (1 decimal) and the published analysis band (<0, 0-50, >50). 0 and 50 are 0-50. Does not use a 45 or 55 cutoff, order prandial insulin, or diagnose diabetes.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"am_glucose_mg_dl":120,"am_glucose_mmol_l":6.67,"bedtime_glucose_mg_dl":180,"bedtime_glucose_mmol_l":10},{"am_glucose_mg_dl":120,"am_glucose_mmol_l":6.67,"bedtime_glucose_mg_dl":180,"bedtime_glucose_mmol_l":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"am_glucose_mg_dl":120,"beam_band":">50","beam_mg_dl":60,"bedtime_glucose_mg_dl":180,"citation":{"authors":"Zisman A, Morales F, Stewart J, Stuhr A, Vlajnic A, Zhou R","doi":"10.1136/bmjdrc-2015-000171","id":"zisman-2016","pmid":"27110368","source":"BMJ Open Diabetes Res Care. 2016;4(1):e000171","title":"BeAM value: an indicator of the need to initiate and intensify prandial therapy in patients with type 2 diabetes mellitus receiving basal insulin"},"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":"beam","formula_expression":"beam_mg_dl = bedtime_glucose_mg_dl - am_glucose_mg_dl; mmol/L × 18 → mg/dL; band <0 if beam_mg_dl < 0, 0-50 if 0 <= beam_mg_dl <= 50, >50 if beam_mg_dl > 50"},{"am_glucose_mg_dl":120,"beam_band":">50","beam_mg_dl":60,"bedtime_glucose_mg_dl":180,"citation":{"authors":"Zisman A, Morales F, Stewart J, Stuhr A, Vlajnic A, Zhou R","doi":"10.1136/bmjdrc-2015-000171","id":"zisman-2016","pmid":"27110368","source":"BMJ Open Diabetes Res Care. 2016;4(1):e000171","title":"BeAM value: an indicator of the need to initiate and intensify prandial therapy in patients with type 2 diabetes mellitus receiving basal insulin"},"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":"beam","formula_expression":"beam_mg_dl = bedtime_glucose_mg_dl - am_glucose_mg_dl; mmol/L × 18 → mg/dL; band <0 if beam_mg_dl < 0, 0-50 if 0 <= beam_mg_dl <= 50, >50 if beam_mg_dl > 50"}],"path":"/api/calc/beam"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"am_glucose_mg_dl":{"description":"Pre-breakfast (AM) glucose in mg/dL (40-600). Provide this or am_glucose_mmol_l, not both. Independent of the bedtime unit.","type":"number"},"am_glucose_mmol_l":{"description":"Pre-breakfast (AM) glucose in mmol/L (2.2-33.3). Converted as mg/dL = mmol/L × 18. Provide this or am_glucose_mg_dl, not both.","type":"number"},"bedtime_glucose_mg_dl":{"description":"Bedtime glucose in mg/dL (40-600). Provide this or bedtime_glucose_mmol_l, not both. Independent of the AM unit.","type":"number"},"bedtime_glucose_mmol_l":{"description":"Bedtime glucose in mmol/L (2.2-33.3). Converted as mg/dL = mmol/L × 18 (same factor as HOMA-IR). Provide this or bedtime_glucose_mg_dl, not both.","type":"number"}},"required":[],"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":["beam","glucose","diabetes","calculator","zisman-2016","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:05:57.401Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:05:57.254Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"am_glucose_mg_dl":120,"am_glucose_mmol_l":6.67,"bedtime_glucose_mg_dl":180,"bedtime_glucose_mmol_l":10},{"am_glucose_mg_dl":120,"am_glucose_mmol_l":6.67,"bedtime_glucose_mg_dl":180,"bedtime_glucose_mmol_l":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"am_glucose_mg_dl":120,"beam_band":">50","beam_mg_dl":60,"bedtime_glucose_mg_dl":180,"citation":{"authors":"Zisman A, Morales F, Stewart J, Stuhr A, Vlajnic A, Zhou R","doi":"10.1136/bmjdrc-2015-000171","id":"zisman-2016","pmid":"27110368","source":"BMJ Open Diabetes Res Care. 2016;4(1):e000171","title":"BeAM value: an indicator of the need to initiate and intensify prandial therapy in patients with type 2 diabetes mellitus receiving basal insulin"},"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":"beam","formula_expression":"beam_mg_dl = bedtime_glucose_mg_dl - am_glucose_mg_dl; mmol/L × 18 → mg/dL; band <0 if beam_mg_dl < 0, 0-50 if 0 <= beam_mg_dl <= 50, >50 if beam_mg_dl > 50"},{"am_glucose_mg_dl":120,"beam_band":">50","beam_mg_dl":60,"bedtime_glucose_mg_dl":180,"citation":{"authors":"Zisman A, Morales F, Stewart J, Stuhr A, Vlajnic A, Zhou R","doi":"10.1136/bmjdrc-2015-000171","id":"zisman-2016","pmid":"27110368","source":"BMJ Open Diabetes Res Care. 2016;4(1):e000171","title":"BeAM value: an indicator of the need to initiate and intensify prandial therapy in patients with type 2 diabetes mellitus receiving basal insulin"},"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":"beam","formula_expression":"beam_mg_dl = bedtime_glucose_mg_dl - am_glucose_mg_dl; mmol/L × 18 → mg/dL; band <0 if beam_mg_dl < 0, 0-50 if 0 <= beam_mg_dl <= 50, >50 if beam_mg_dl > 50"}],"path":"/api/calc/beam"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"am_glucose_mg_dl":{"description":"Pre-breakfast (AM) glucose in mg/dL (40-600). Provide this or am_glucose_mmol_l, not both. Independent of the bedtime unit.","type":"number"},"am_glucose_mmol_l":{"description":"Pre-breakfast (AM) glucose in mmol/L (2.2-33.3). Converted as mg/dL = mmol/L × 18. Provide this or am_glucose_mg_dl, not both.","type":"number"},"bedtime_glucose_mg_dl":{"description":"Bedtime glucose in mg/dL (40-600). Provide this or bedtime_glucose_mmol_l, not both. Independent of the AM unit.","type":"number"},"bedtime_glucose_mmol_l":{"description":"Bedtime glucose in mmol/L (2.2-33.3). Converted as mg/dL = mmol/L × 18 (same factor as HOMA-IR). Provide this or bedtime_glucose_mg_dl, not both.","type":"number"}},"required":[],"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},{"id":39554,"slug":"39554","resource":"https://api.magentlab.com/api/calc/mets_ir","description":"Bello-Chavolla 2018 METS-IR: ln(2×glucose_mg_dl + triglycerides_mg_dl)×BMI / ln(HDL_mg_dl), natural log, two decimals. Supply glucose, triglycerides, and HDL each as exactly one of mg/dL or mmol/L (glucose ×18, TG ×88.57, HDL ×38.67). BMI is caller-supplied (10–80). highest_quartile_t2d is true only when METS-IR > 50.39 (derivation highest T2D-risk quartile). Not a diabetes diagnosis, not HOMA-IR/HOMA2, and not a treatment threshold.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bmi_kg_m2":25,"glucose_mg_dl":90,"glucose_mmol_l":5,"hdl_mg_dl":50,"hdl_mmol_l":1.29,"triglycerides_mg_dl":100,"triglycerides_mmol_l":1.13},{"bmi_kg_m2":25,"glucose_mg_dl":90,"glucose_mmol_l":5,"hdl_mg_dl":50,"hdl_mmol_l":1.29,"triglycerides_mg_dl":100,"triglycerides_mmol_l":1.13}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmi_kg_m2":25,"citation":{"authors":"Bello-Chavolla OY, Almeda-Valdes P, Gomez-Velasco D, Viveros-Ruiz T, Cruz-Bautista I, Romo-Romo A, Sánchez-Lázaro D, Meza-Oviedo D, Vargas-Vázquez A, Campos OA, Sevilla-González MDR, Martagón AJ, Hernández LM, Mehta R, Caballeros-Barragán CR, Aguilar-Salinas CA","doi":"10.1530/eje-17-0883","id":"bello-chavolla-2018","pmid":"29535168","source":"Eur J Endocrinol. 2018;178(5):533-544","title":"METS-IR, a novel score to evaluate insulin sensitivity, is predictive of visceral adiposity and incident type 2 diabetes"},"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":"mets_ir","formula_expression":"mets_ir = ln(2 * glucose_mg_dl + triglycerides_mg_dl) * bmi_kg_m2 / ln(hdl_mg_dl)","glucose_mg_dl":90,"hdl_mg_dl":50,"highest_quartile_t2d":false,"mets_ir":36.01,"triglycerides_mg_dl":100},{"bmi_kg_m2":25,"citation":{"authors":"Bello-Chavolla OY, Almeda-Valdes P, Gomez-Velasco D, Viveros-Ruiz T, Cruz-Bautista I, Romo-Romo A, Sánchez-Lázaro D, Meza-Oviedo D, Vargas-Vázquez A, Campos OA, Sevilla-González MDR, Martagón AJ, Hernández LM, Mehta R, Caballeros-Barragán CR, Aguilar-Salinas CA","doi":"10.1530/eje-17-0883","id":"bello-chavolla-2018","pmid":"29535168","source":"Eur J Endocrinol. 2018;178(5):533-544","title":"METS-IR, a novel score to evaluate insulin sensitivity, is predictive of visceral adiposity and incident type 2 diabetes"},"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":"mets_ir","formula_expression":"mets_ir = ln(2 * glucose_mg_dl + triglycerides_mg_dl) * bmi_kg_m2 / ln(hdl_mg_dl)","glucose_mg_dl":90,"hdl_mg_dl":50,"highest_quartile_t2d":false,"mets_ir":36.01,"triglycerides_mg_dl":100}],"path":"/api/calc/mets_ir"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI.","type":"number"},"glucose_mg_dl":{"description":"Fasting plasma glucose in mg/dL (50-1000). Provide this or glucose_mmol_l, not both.","type":"number"},"glucose_mmol_l":{"description":"Fasting plasma glucose in mmol/L (2.8-55.5). Converted as mg/dL = mmol/L * 18. Provide this or glucose_mg_dl, not both.","type":"number"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Provide this or hdl_mmol_l, not both. Used in the natural-log term.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.1-3.9). Converted as mg/dL = mmol/L * 38.67. Provide this or hdl_mg_dl, not both.","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (10-2000). Provide this or triglycerides_mmol_l, not both.","type":"number"},"triglycerides_mmol_l":{"description":"Triglycerides in mmol/L (0.11-22.6). Converted as mg/dL = mmol/L * 88.57. Provide this or triglycerides_mg_dl, not both.","type":"number"}},"required":["bmi_kg_m2"],"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":["mets-ir","insulin-sensitivity","triglycerides","glucose","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:04:54.941Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:04:54.815Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bmi_kg_m2":25,"glucose_mg_dl":90,"glucose_mmol_l":5,"hdl_mg_dl":50,"hdl_mmol_l":1.29,"triglycerides_mg_dl":100,"triglycerides_mmol_l":1.13},{"bmi_kg_m2":25,"glucose_mg_dl":90,"glucose_mmol_l":5,"hdl_mg_dl":50,"hdl_mmol_l":1.29,"triglycerides_mg_dl":100,"triglycerides_mmol_l":1.13}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bmi_kg_m2":25,"citation":{"authors":"Bello-Chavolla OY, Almeda-Valdes P, Gomez-Velasco D, Viveros-Ruiz T, Cruz-Bautista I, Romo-Romo A, Sánchez-Lázaro D, Meza-Oviedo D, Vargas-Vázquez A, Campos OA, Sevilla-González MDR, Martagón AJ, Hernández LM, Mehta R, Caballeros-Barragán CR, Aguilar-Salinas CA","doi":"10.1530/eje-17-0883","id":"bello-chavolla-2018","pmid":"29535168","source":"Eur J Endocrinol. 2018;178(5):533-544","title":"METS-IR, a novel score to evaluate insulin sensitivity, is predictive of visceral adiposity and incident type 2 diabetes"},"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":"mets_ir","formula_expression":"mets_ir = ln(2 * glucose_mg_dl + triglycerides_mg_dl) * bmi_kg_m2 / ln(hdl_mg_dl)","glucose_mg_dl":90,"hdl_mg_dl":50,"highest_quartile_t2d":false,"mets_ir":36.01,"triglycerides_mg_dl":100},{"bmi_kg_m2":25,"citation":{"authors":"Bello-Chavolla OY, Almeda-Valdes P, Gomez-Velasco D, Viveros-Ruiz T, Cruz-Bautista I, Romo-Romo A, Sánchez-Lázaro D, Meza-Oviedo D, Vargas-Vázquez A, Campos OA, Sevilla-González MDR, Martagón AJ, Hernández LM, Mehta R, Caballeros-Barragán CR, Aguilar-Salinas CA","doi":"10.1530/eje-17-0883","id":"bello-chavolla-2018","pmid":"29535168","source":"Eur J Endocrinol. 2018;178(5):533-544","title":"METS-IR, a novel score to evaluate insulin sensitivity, is predictive of visceral adiposity and incident type 2 diabetes"},"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":"mets_ir","formula_expression":"mets_ir = ln(2 * glucose_mg_dl + triglycerides_mg_dl) * bmi_kg_m2 / ln(hdl_mg_dl)","glucose_mg_dl":90,"hdl_mg_dl":50,"highest_quartile_t2d":false,"mets_ir":36.01,"triglycerides_mg_dl":100}],"path":"/api/calc/mets_ir"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI.","type":"number"},"glucose_mg_dl":{"description":"Fasting plasma glucose in mg/dL (50-1000). Provide this or glucose_mmol_l, not both.","type":"number"},"glucose_mmol_l":{"description":"Fasting plasma glucose in mmol/L (2.8-55.5). Converted as mg/dL = mmol/L * 18. Provide this or glucose_mg_dl, not both.","type":"number"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Provide this or hdl_mmol_l, not both. Used in the natural-log term.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.1-3.9). Converted as mg/dL = mmol/L * 38.67. Provide this or hdl_mg_dl, not both.","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (10-2000). Provide this or triglycerides_mmol_l, not both.","type":"number"},"triglycerides_mmol_l":{"description":"Triglycerides in mmol/L (0.11-22.6). Converted as mg/dL = mmol/L * 88.57. Provide this or triglycerides_mg_dl, not both.","type":"number"}},"required":["bmi_kg_m2"],"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},{"id":39555,"slug":"39555","resource":"https://api.magentlab.com/api/calc/homa_ir","description":"HOMA-IR as (fasting glucose in mmol/L × insulin in µU/mL) / 22.5 (Matthews et al. 1985). Provide glucose_mg_dl (50–1000) or glucose_mmol_l (2.8–55.5), not both; mg/dL converts as mmol/L = mg/dL / 18. Returns the approximation rounded to two decimals. Not HOMA-B, not the HOMA2 computer model, not a diabetes diagnosis, and not an insulin-resistance cutoff.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"glucose_mg_dl":90,"glucose_mmol_l":5,"insulin_uu_ml":10},{"glucose_mg_dl":90,"glucose_mmol_l":5,"insulin_uu_ml":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Matthews DR, Hosker JP, Rudenski AS, Naylor BA, Treacher DF, Turner RC","doi":"10.1007/BF00280883","id":"matthews-1985","source":"Diabetologia. 1985;28(7):412-419","title":"Homeostasis model assessment: insulin resistance and beta-cell function from fasting plasma glucose and insulin concentrations in man"},"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":"homa_ir","formula_expression":"homa_ir = (glucose_mmol_l * insulin_uu_ml) / 22.5","glucose_mmol_l":5,"homa_ir":2.22,"insulin_uu_ml":10},{"citation":{"authors":"Matthews DR, Hosker JP, Rudenski AS, Naylor BA, Treacher DF, Turner RC","doi":"10.1007/BF00280883","id":"matthews-1985","source":"Diabetologia. 1985;28(7):412-419","title":"Homeostasis model assessment: insulin resistance and beta-cell function from fasting plasma glucose and insulin concentrations in man"},"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":"homa_ir","formula_expression":"homa_ir = (glucose_mmol_l * insulin_uu_ml) / 22.5","glucose_mmol_l":5,"homa_ir":2.22,"insulin_uu_ml":10}],"path":"/api/calc/homa_ir"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"glucose_mg_dl":{"description":"Fasting plasma glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both.","type":"number"},"glucose_mmol_l":{"description":"Fasting plasma glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both.","type":"number"},"insulin_uu_ml":{"description":"Fasting insulin in µU/mL (= mU/L) (0.1-500).","type":"number"}},"required":["insulin_uu_ml"],"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":["homa-ir","insulin","glucose","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:04:40.81Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:04:40.669Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"glucose_mg_dl":90,"glucose_mmol_l":5,"insulin_uu_ml":10},{"glucose_mg_dl":90,"glucose_mmol_l":5,"insulin_uu_ml":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Matthews DR, Hosker JP, Rudenski AS, Naylor BA, Treacher DF, Turner RC","doi":"10.1007/BF00280883","id":"matthews-1985","source":"Diabetologia. 1985;28(7):412-419","title":"Homeostasis model assessment: insulin resistance and beta-cell function from fasting plasma glucose and insulin concentrations in man"},"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":"homa_ir","formula_expression":"homa_ir = (glucose_mmol_l * insulin_uu_ml) / 22.5","glucose_mmol_l":5,"homa_ir":2.22,"insulin_uu_ml":10},{"citation":{"authors":"Matthews DR, Hosker JP, Rudenski AS, Naylor BA, Treacher DF, Turner RC","doi":"10.1007/BF00280883","id":"matthews-1985","source":"Diabetologia. 1985;28(7):412-419","title":"Homeostasis model assessment: insulin resistance and beta-cell function from fasting plasma glucose and insulin concentrations in man"},"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":"homa_ir","formula_expression":"homa_ir = (glucose_mmol_l * insulin_uu_ml) / 22.5","glucose_mmol_l":5,"homa_ir":2.22,"insulin_uu_ml":10}],"path":"/api/calc/homa_ir"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"glucose_mg_dl":{"description":"Fasting plasma glucose in mg/dL (50-1000). Converted as mmol/L = mg/dL / 18. Provide this or glucose_mmol_l, not both.","type":"number"},"glucose_mmol_l":{"description":"Fasting plasma glucose in mmol/L (2.8-55.5). Provide this or glucose_mg_dl, not both.","type":"number"},"insulin_uu_ml":{"description":"Fasting insulin in µU/mL (= mU/L) (0.1-500).","type":"number"}},"required":["insulin_uu_ml"],"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},{"id":39556,"slug":"39556","resource":"https://api.magentlab.com/api/calc/a1c_eag","description":"Nathan/ADAG A1C to estimated average glucose conversion, or the reverse. Provide exactly one of a1c_percent or eAG. Deterministic published equation with citation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"a1c_percent":7,"eag_mg_dl":154,"eag_mmol_l":8.6},{"a1c_percent":7,"eag_mg_dl":154,"eag_mmol_l":8.6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"a1c_percent":7,"citation":{"authors":"Nathan DM, Kuenen J, Borg R, Zheng H, Schoenfeld D, Heine RJ","doi":"10.2337/dc08-0545","id":"nathan-2008","source":"Diabetes Care. 2008;31(8):1473-1478","title":"Translating the A1C assay into estimated average glucose values"},"direction":"a1c_to_eag","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.","eag_mg_dl":154.2,"eag_mmol_l":8.6,"formula":"nathan_adag","formula_expression":"eAG_mg_dl = 28.7 * A1C_percent - 46.7"},{"a1c_percent":7,"citation":{"authors":"Nathan DM, Kuenen J, Borg R, Zheng H, Schoenfeld D, Heine RJ","doi":"10.2337/dc08-0545","id":"nathan-2008","source":"Diabetes Care. 2008;31(8):1473-1478","title":"Translating the A1C assay into estimated average glucose values"},"direction":"a1c_to_eag","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.","eag_mg_dl":154.2,"eag_mmol_l":8.6,"formula":"nathan_adag","formula_expression":"eAG_mg_dl = 28.7 * A1C_percent - 46.7"}],"path":"/api/calc/a1c_eag"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"a1c_percent":{"description":"HbA1c in percent (4-15). Provide this or an eAG, not both.","type":"number"},"eag_mg_dl":{"description":"Estimated average glucose in mg/dL (50-500).","type":"number"},"eag_mmol_l":{"description":"Estimated average glucose in mmol/L. Converted as mg/dL = mmol/L * 18.","type":"number"}},"required":[],"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":["a1c","eag","diabetes","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:04:33.704Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:04:33.575Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"a1c_percent":7,"eag_mg_dl":154,"eag_mmol_l":8.6},{"a1c_percent":7,"eag_mg_dl":154,"eag_mmol_l":8.6}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"a1c_percent":7,"citation":{"authors":"Nathan DM, Kuenen J, Borg R, Zheng H, Schoenfeld D, Heine RJ","doi":"10.2337/dc08-0545","id":"nathan-2008","source":"Diabetes Care. 2008;31(8):1473-1478","title":"Translating the A1C assay into estimated average glucose values"},"direction":"a1c_to_eag","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.","eag_mg_dl":154.2,"eag_mmol_l":8.6,"formula":"nathan_adag","formula_expression":"eAG_mg_dl = 28.7 * A1C_percent - 46.7"},{"a1c_percent":7,"citation":{"authors":"Nathan DM, Kuenen J, Borg R, Zheng H, Schoenfeld D, Heine RJ","doi":"10.2337/dc08-0545","id":"nathan-2008","source":"Diabetes Care. 2008;31(8):1473-1478","title":"Translating the A1C assay into estimated average glucose values"},"direction":"a1c_to_eag","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.","eag_mg_dl":154.2,"eag_mmol_l":8.6,"formula":"nathan_adag","formula_expression":"eAG_mg_dl = 28.7 * A1C_percent - 46.7"}],"path":"/api/calc/a1c_eag"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"a1c_percent":{"description":"HbA1c in percent (4-15). Provide this or an eAG, not both.","type":"number"},"eag_mg_dl":{"description":"Estimated average glucose in mg/dL (50-500).","type":"number"},"eag_mmol_l":{"description":"Estimated average glucose in mmol/L. Converted as mg/dL = mmol/L * 18.","type":"number"}},"required":[],"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},{"id":39557,"slug":"39557","resource":"https://api.magentlab.com/api/calc/ho_index","description":"Ho 2004 day-3 IV-steroid score for severe UC (0–9): mean stools (<4 → 0; 4 ≤ x < 6 → 1; 6 ≤ x ≤ 9 → 2; x > 9 → 4), caller-assigned colonic dilatation (+4), albumin <30 g/L (+1; 30 is not low). Failure: 0–1 → 11%, 2–3 → 43%, ≥4 → 85% (ROC ≥4). Not Travis, not Truelove and Witts, not a colectomy order. magent does not count stools, read films, or measure albumin.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":3.5,"albumin_g_l":35,"colonic_dilatation":false,"mean_stool_frequency":3},{"albumin_g_dl":3.5,"albumin_g_l":35,"colonic_dilatation":false,"mean_stool_frequency":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_l":35,"citation":{"authors":"Ho GT, Mowat C, Goddard CJ, Fennell JM, Shah NB, Prescott RJ, Satsangi J","doi":"10.1111/j.1365-2036.2004.01945.x","id":"ho-2004","pmid":"15142197","source":"Aliment Pharmacol Ther. 2004;19(10):1079-1087","title":"Predicting the outcome of severe ulcerative colitis: development of a novel risk score to aid early selection of patients for second-line medical therapy or surgery"},"colonic_dilatation":false,"components":[{"factor":"mean_stool_frequency","points":0,"present":false,"value":3},{"factor":"colonic_dilatation","points":0,"present":false},{"factor":"hypoalbuminaemia","points":0,"present":false,"value":35}],"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":"ho_index","formula_expression":"Ho 2004 day-3 IV-steroid severe UC: stool_points(<4 → 0; 4 ≤ mean_stool_frequency < 6 → 1; 6 ≤ x ≤ 9 → 2; x > 9 → 4) + colonic_dilatation (true → 4) + hypoalbuminaemia (albumin_g_l < 30 → 1); max 9; medical-therapy failure 0–1 → 11%, 2–3 → 43%, ≥4 → 85% (ROC operating point ≥4)","hypoalbuminaemia":false,"max_score":9,"mean_stool_frequency":3,"medical_failure_percent":11,"risk":"low","score":0,"score_ge_4":false},{"albumin_g_l":35,"citation":{"authors":"Ho GT, Mowat C, Goddard CJ, Fennell JM, Shah NB, Prescott RJ, Satsangi J","doi":"10.1111/j.1365-2036.2004.01945.x","id":"ho-2004","pmid":"15142197","source":"Aliment Pharmacol Ther. 2004;19(10):1079-1087","title":"Predicting the outcome of severe ulcerative colitis: development of a novel risk score to aid early selection of patients for second-line medical therapy or surgery"},"colonic_dilatation":false,"components":[{"factor":"mean_stool_frequency","points":0,"present":false,"value":3},{"factor":"colonic_dilatation","points":0,"present":false},{"factor":"hypoalbuminaemia","points":0,"present":false,"value":35}],"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":"ho_index","formula_expression":"Ho 2004 day-3 IV-steroid severe UC: stool_points(<4 → 0; 4 ≤ mean_stool_frequency < 6 → 1; 6 ≤ x ≤ 9 → 2; x > 9 → 4) + colonic_dilatation (true → 4) + hypoalbuminaemia (albumin_g_l < 30 → 1); max 9; medical-therapy failure 0–1 → 11%, 2–3 → 43%, ≥4 → 85% (ROC operating point ≥4)","hypoalbuminaemia":false,"max_score":9,"mean_stool_frequency":3,"medical_failure_percent":11,"risk":"low","score":0,"score_ge_4":false}],"path":"/api/calc/ho_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Ho 2004 hypoalbuminaemia is <30 g/L (30 is not low). magent does not assay albumin.","type":"number"},"colonic_dilatation":{"description":"Caller-assigned colonic dilatation (Ho 2004). true scores 4; false scores 0. magent does not read an abdominal film and does not invent a centimetre cutoff.","type":"boolean"},"mean_stool_frequency":{"description":"Mean stool frequency over the first 3 days of IV steroids, as assigned by the caller (number 0-40). Ho 2004: <4 scores 0; 4 ≤ x < 6 scores 1; 6 ≤ x ≤ 9 scores 2; x > 9 scores 4. Exactly 6 and exactly 9 score 2. magent does not count stools.","type":"number"}},"required":["mean_stool_frequency","colonic_dilatation"],"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":["ho-index","ulcerative-colitis","gi","albumin","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T14:03:59.483Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T14:03:59.338Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":3.5,"albumin_g_l":35,"colonic_dilatation":false,"mean_stool_frequency":3},{"albumin_g_dl":3.5,"albumin_g_l":35,"colonic_dilatation":false,"mean_stool_frequency":3}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_l":35,"citation":{"authors":"Ho GT, Mowat C, Goddard CJ, Fennell JM, Shah NB, Prescott RJ, Satsangi J","doi":"10.1111/j.1365-2036.2004.01945.x","id":"ho-2004","pmid":"15142197","source":"Aliment Pharmacol Ther. 2004;19(10):1079-1087","title":"Predicting the outcome of severe ulcerative colitis: development of a novel risk score to aid early selection of patients for second-line medical therapy or surgery"},"colonic_dilatation":false,"components":[{"factor":"mean_stool_frequency","points":0,"present":false,"value":3},{"factor":"colonic_dilatation","points":0,"present":false},{"factor":"hypoalbuminaemia","points":0,"present":false,"value":35}],"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":"ho_index","formula_expression":"Ho 2004 day-3 IV-steroid severe UC: stool_points(<4 → 0; 4 ≤ mean_stool_frequency < 6 → 1; 6 ≤ x ≤ 9 → 2; x > 9 → 4) + colonic_dilatation (true → 4) + hypoalbuminaemia (albumin_g_l < 30 → 1); max 9; medical-therapy failure 0–1 → 11%, 2–3 → 43%, ≥4 → 85% (ROC operating point ≥4)","hypoalbuminaemia":false,"max_score":9,"mean_stool_frequency":3,"medical_failure_percent":11,"risk":"low","score":0,"score_ge_4":false},{"albumin_g_l":35,"citation":{"authors":"Ho GT, Mowat C, Goddard CJ, Fennell JM, Shah NB, Prescott RJ, Satsangi J","doi":"10.1111/j.1365-2036.2004.01945.x","id":"ho-2004","pmid":"15142197","source":"Aliment Pharmacol Ther. 2004;19(10):1079-1087","title":"Predicting the outcome of severe ulcerative colitis: development of a novel risk score to aid early selection of patients for second-line medical therapy or surgery"},"colonic_dilatation":false,"components":[{"factor":"mean_stool_frequency","points":0,"present":false,"value":3},{"factor":"colonic_dilatation","points":0,"present":false},{"factor":"hypoalbuminaemia","points":0,"present":false,"value":35}],"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":"ho_index","formula_expression":"Ho 2004 day-3 IV-steroid severe UC: stool_points(<4 → 0; 4 ≤ mean_stool_frequency < 6 → 1; 6 ≤ x ≤ 9 → 2; x > 9 → 4) + colonic_dilatation (true → 4) + hypoalbuminaemia (albumin_g_l < 30 → 1); max 9; medical-therapy failure 0–1 → 11%, 2–3 → 43%, ≥4 → 85% (ROC operating point ≥4)","hypoalbuminaemia":false,"max_score":9,"mean_stool_frequency":3,"medical_failure_percent":11,"risk":"low","score":0,"score_ge_4":false}],"path":"/api/calc/ho_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Ho 2004 hypoalbuminaemia is <30 g/L (30 is not low). magent does not assay albumin.","type":"number"},"colonic_dilatation":{"description":"Caller-assigned colonic dilatation (Ho 2004). true scores 4; false scores 0. magent does not read an abdominal film and does not invent a centimetre cutoff.","type":"boolean"},"mean_stool_frequency":{"description":"Mean stool frequency over the first 3 days of IV steroids, as assigned by the caller (number 0-40). Ho 2004: <4 scores 0; 4 ≤ x < 6 scores 1; 6 ≤ x ≤ 9 scores 2; x > 9 scores 4. Exactly 6 and exactly 9 score 2. magent does not count stools.","type":"number"}},"required":["mean_stool_frequency","colonic_dilatation"],"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},{"id":39558,"slug":"39558","resource":"https://api.magentlab.com/api/calc/ses_cd","description":"Daperno 2004 simplified endoscopic activity score for Crohn's disease (SES-CD): caller-assigned integers 0-3 for ulcers, ulcerated_surface, affected_surface, and narrowings in ileum, right_colon, transverse_colon, left_colon, and rectum (20 params). magent sums only (max 60). Unexamined segments are 0 as assigned by the caller. Daperno 2004 did not publish remission or response bands; magent returns score and max_score only. magent does not perform endoscopy. Not CDEIS and not Best 1976 CDAI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"ileum_affected_surface":0,"ileum_narrowings":0,"ileum_ulcerated_surface":0,"ileum_ulcers":0,"left_colon_affected_surface":0,"left_colon_narrowings":0,"left_colon_ulcerated_surface":0,"left_colon_ulcers":0,"rectum_affected_surface":0,"rectum_narrowings":0,"rectum_ulcerated_surface":0,"rectum_ulcers":0,"right_colon_affected_surface":0,"right_colon_narrowings":0,"right_colon_ulcerated_surface":0,"right_colon_ulcers":0,"transverse_colon_affected_surface":0,"transverse_colon_narrowings":0,"transverse_colon_ulcerated_surface":0,"transverse_colon_ulcers":0},{"ileum_affected_surface":0,"ileum_narrowings":0,"ileum_ulcerated_surface":0,"ileum_ulcers":0,"left_colon_affected_surface":0,"left_colon_narrowings":0,"left_colon_ulcerated_surface":0,"left_colon_ulcers":0,"rectum_affected_surface":0,"rectum_narrowings":0,"rectum_ulcerated_surface":0,"rectum_ulcers":0,"right_colon_affected_surface":0,"right_colon_narrowings":0,"right_colon_ulcerated_surface":0,"right_colon_ulcers":0,"transverse_colon_affected_surface":0,"transverse_colon_narrowings":0,"transverse_colon_ulcerated_surface":0,"transverse_colon_ulcers":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Daperno M, D'Haens G, Van Assche G, et al.","doi":"10.1016/s0016-5107(04)01878-4","id":"daperno-2004","pmid":"15472670","source":"Gastrointest Endosc. 2004;60(4):505-512","title":"Development and validation of a new, simplified endoscopic activity score for Crohn's disease: the SES-CD."},"components":[{"factor":"ileum_ulcers","points":0,"present":true,"value":0},{"factor":"ileum_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"ileum_affected_surface","points":0,"present":true,"value":0},{"factor":"ileum_narrowings","points":0,"present":true,"value":0},{"factor":"right_colon_ulcers","points":0,"present":true,"value":0},{"factor":"right_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"right_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"right_colon_narrowings","points":0,"present":true,"value":0},{"factor":"transverse_colon_ulcers","points":0,"present":true,"value":0},{"factor":"transverse_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"transverse_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"transverse_colon_narrowings","points":0,"present":true,"value":0},{"factor":"left_colon_ulcers","points":0,"present":true,"value":0},{"factor":"left_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"left_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"left_colon_narrowings","points":0,"present":true,"value":0},{"factor":"rectum_ulcers","points":0,"present":true,"value":0},{"factor":"rectum_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"rectum_affected_surface","points":0,"present":true,"value":0},{"factor":"rectum_narrowings","points":0,"present":true,"value":0}],"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":"ses_cd","formula_expression":"SES-CD = sum of ulcers, ulcerated_surface, affected_surface, and narrowings (each integer 0-3) in ileum, right_colon, transverse_colon, left_colon, and rectum; Daperno 2004 caller-assigned; max 60; unexamined segments 0 as assigned by the caller; no published activity bands","max_score":60,"score":0},{"citation":{"authors":"Daperno M, D'Haens G, Van Assche G, et al.","doi":"10.1016/s0016-5107(04)01878-4","id":"daperno-2004","pmid":"15472670","source":"Gastrointest Endosc. 2004;60(4):505-512","title":"Development and validation of a new, simplified endoscopic activity score for Crohn's disease: the SES-CD."},"components":[{"factor":"ileum_ulcers","points":0,"present":true,"value":0},{"factor":"ileum_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"ileum_affected_surface","points":0,"present":true,"value":0},{"factor":"ileum_narrowings","points":0,"present":true,"value":0},{"factor":"right_colon_ulcers","points":0,"present":true,"value":0},{"factor":"right_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"right_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"right_colon_narrowings","points":0,"present":true,"value":0},{"factor":"transverse_colon_ulcers","points":0,"present":true,"value":0},{"factor":"transverse_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"transverse_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"transverse_colon_narrowings","points":0,"present":true,"value":0},{"factor":"left_colon_ulcers","points":0,"present":true,"value":0},{"factor":"left_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"left_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"left_colon_narrowings","points":0,"present":true,"value":0},{"factor":"rectum_ulcers","points":0,"present":true,"value":0},{"factor":"rectum_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"rectum_affected_surface","points":0,"present":true,"value":0},{"factor":"rectum_narrowings","points":0,"present":true,"value":0}],"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":"ses_cd","formula_expression":"SES-CD = sum of ulcers, ulcerated_surface, affected_surface, and narrowings (each integer 0-3) in ileum, right_colon, transverse_colon, left_colon, and rectum; Daperno 2004 caller-assigned; max 60; unexamined segments 0 as assigned by the caller; no published activity bands","max_score":60,"score":0}],"path":"/api/calc/ses_cd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ileum_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the ileum (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"ileum_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the ileum (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"ileum_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the ileum (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"ileum_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the ileum (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"left_colon_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the left colon (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"left_colon_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the left colon (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"left_colon_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the left colon (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"left_colon_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the left colon (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"rectum_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the rectum (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"rectum_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the rectum (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"rectum_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the rectum (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"rectum_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the rectum (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"right_colon_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the right colon (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"right_colon_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the right colon (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"right_colon_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the right colon (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"right_colon_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the right colon (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"transverse_colon_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the transverse colon (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"transverse_colon_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the transverse colon (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"transverse_colon_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the transverse colon (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"transverse_colon_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the transverse colon (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"}},"required":["ileum_ulcers","ileum_ulcerated_surface","ileum_affected_surface","ileum_narrowings","right_colon_ulcers","right_colon_ulcerated_surface","right_colon_affected_surface","right_colon_narrowings","transverse_colon_ulcers","transverse_colon_ulcerated_surface","transverse_colon_affected_surface","transverse_colon_narrowings","left_colon_ulcers","left_colon_ulcerated_surface","left_colon_affected_surface","left_colon_narrowings","rectum_ulcers","rectum_ulcerated_surface","rectum_affected_surface","rectum_narrowings"],"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":["ses-cd","crohns","endoscopy","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:58:01.371Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:58:01.214Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"ileum_affected_surface":0,"ileum_narrowings":0,"ileum_ulcerated_surface":0,"ileum_ulcers":0,"left_colon_affected_surface":0,"left_colon_narrowings":0,"left_colon_ulcerated_surface":0,"left_colon_ulcers":0,"rectum_affected_surface":0,"rectum_narrowings":0,"rectum_ulcerated_surface":0,"rectum_ulcers":0,"right_colon_affected_surface":0,"right_colon_narrowings":0,"right_colon_ulcerated_surface":0,"right_colon_ulcers":0,"transverse_colon_affected_surface":0,"transverse_colon_narrowings":0,"transverse_colon_ulcerated_surface":0,"transverse_colon_ulcers":0},{"ileum_affected_surface":0,"ileum_narrowings":0,"ileum_ulcerated_surface":0,"ileum_ulcers":0,"left_colon_affected_surface":0,"left_colon_narrowings":0,"left_colon_ulcerated_surface":0,"left_colon_ulcers":0,"rectum_affected_surface":0,"rectum_narrowings":0,"rectum_ulcerated_surface":0,"rectum_ulcers":0,"right_colon_affected_surface":0,"right_colon_narrowings":0,"right_colon_ulcerated_surface":0,"right_colon_ulcers":0,"transverse_colon_affected_surface":0,"transverse_colon_narrowings":0,"transverse_colon_ulcerated_surface":0,"transverse_colon_ulcers":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Daperno M, D'Haens G, Van Assche G, et al.","doi":"10.1016/s0016-5107(04)01878-4","id":"daperno-2004","pmid":"15472670","source":"Gastrointest Endosc. 2004;60(4):505-512","title":"Development and validation of a new, simplified endoscopic activity score for Crohn's disease: the SES-CD."},"components":[{"factor":"ileum_ulcers","points":0,"present":true,"value":0},{"factor":"ileum_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"ileum_affected_surface","points":0,"present":true,"value":0},{"factor":"ileum_narrowings","points":0,"present":true,"value":0},{"factor":"right_colon_ulcers","points":0,"present":true,"value":0},{"factor":"right_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"right_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"right_colon_narrowings","points":0,"present":true,"value":0},{"factor":"transverse_colon_ulcers","points":0,"present":true,"value":0},{"factor":"transverse_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"transverse_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"transverse_colon_narrowings","points":0,"present":true,"value":0},{"factor":"left_colon_ulcers","points":0,"present":true,"value":0},{"factor":"left_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"left_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"left_colon_narrowings","points":0,"present":true,"value":0},{"factor":"rectum_ulcers","points":0,"present":true,"value":0},{"factor":"rectum_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"rectum_affected_surface","points":0,"present":true,"value":0},{"factor":"rectum_narrowings","points":0,"present":true,"value":0}],"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":"ses_cd","formula_expression":"SES-CD = sum of ulcers, ulcerated_surface, affected_surface, and narrowings (each integer 0-3) in ileum, right_colon, transverse_colon, left_colon, and rectum; Daperno 2004 caller-assigned; max 60; unexamined segments 0 as assigned by the caller; no published activity bands","max_score":60,"score":0},{"citation":{"authors":"Daperno M, D'Haens G, Van Assche G, et al.","doi":"10.1016/s0016-5107(04)01878-4","id":"daperno-2004","pmid":"15472670","source":"Gastrointest Endosc. 2004;60(4):505-512","title":"Development and validation of a new, simplified endoscopic activity score for Crohn's disease: the SES-CD."},"components":[{"factor":"ileum_ulcers","points":0,"present":true,"value":0},{"factor":"ileum_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"ileum_affected_surface","points":0,"present":true,"value":0},{"factor":"ileum_narrowings","points":0,"present":true,"value":0},{"factor":"right_colon_ulcers","points":0,"present":true,"value":0},{"factor":"right_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"right_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"right_colon_narrowings","points":0,"present":true,"value":0},{"factor":"transverse_colon_ulcers","points":0,"present":true,"value":0},{"factor":"transverse_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"transverse_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"transverse_colon_narrowings","points":0,"present":true,"value":0},{"factor":"left_colon_ulcers","points":0,"present":true,"value":0},{"factor":"left_colon_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"left_colon_affected_surface","points":0,"present":true,"value":0},{"factor":"left_colon_narrowings","points":0,"present":true,"value":0},{"factor":"rectum_ulcers","points":0,"present":true,"value":0},{"factor":"rectum_ulcerated_surface","points":0,"present":true,"value":0},{"factor":"rectum_affected_surface","points":0,"present":true,"value":0},{"factor":"rectum_narrowings","points":0,"present":true,"value":0}],"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":"ses_cd","formula_expression":"SES-CD = sum of ulcers, ulcerated_surface, affected_surface, and narrowings (each integer 0-3) in ileum, right_colon, transverse_colon, left_colon, and rectum; Daperno 2004 caller-assigned; max 60; unexamined segments 0 as assigned by the caller; no published activity bands","max_score":60,"score":0}],"path":"/api/calc/ses_cd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"ileum_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the ileum (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"ileum_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the ileum (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"ileum_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the ileum (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"ileum_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the ileum (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"left_colon_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the left colon (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"left_colon_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the left colon (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"left_colon_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the left colon (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"left_colon_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the left colon (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"rectum_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the rectum (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"rectum_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the rectum (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"rectum_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the rectum (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"rectum_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the rectum (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"right_colon_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the right colon (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"right_colon_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the right colon (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"right_colon_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the right colon (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"right_colon_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the right colon (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"transverse_colon_affected_surface":{"description":"Caller-assigned Daperno 2004 SES-CD affected surface for the transverse colon (integer 0-3; Table 1: 0 unaffected / 1 <50% / 2 50–75% / 3 >75%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"transverse_colon_narrowings":{"description":"Caller-assigned Daperno 2004 SES-CD narrowings for the transverse colon (integer 0-3; Table 1: 0 none / 1 single passable / 2 multiple passable / 3 cannot be passed). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"transverse_colon_ulcerated_surface":{"description":"Caller-assigned Daperno 2004 SES-CD ulcerated surface for the transverse colon (integer 0-3; Table 1: 0 none / 1 <10% / 2 10–30% / 3 >30%). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"},"transverse_colon_ulcers":{"description":"Caller-assigned Daperno 2004 SES-CD ulcers for the transverse colon (integer 0-3; Table 1: 0 none / 1 aphthous 0.1–0.5 cm / 2 large 0.5–2 cm / 3 very large >2 cm). Unexamined segments are 0 as assigned by the caller. magent does not perform endoscopy.","type":"integer"}},"required":["ileum_ulcers","ileum_ulcerated_surface","ileum_affected_surface","ileum_narrowings","right_colon_ulcers","right_colon_ulcerated_surface","right_colon_affected_surface","right_colon_narrowings","transverse_colon_ulcers","transverse_colon_ulcerated_surface","transverse_colon_affected_surface","transverse_colon_narrowings","left_colon_ulcers","left_colon_ulcerated_surface","left_colon_affected_surface","left_colon_narrowings","rectum_ulcers","rectum_ulcerated_surface","rectum_affected_surface","rectum_narrowings"],"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},{"id":39559,"slug":"39559","resource":"https://api.magentlab.com/api/calc/montreal_ibd","description":"Satsangi 2006 Montreal IBD phenotype (Vienna revision). Crohn: A1-A3, L1-L4, B1-B3, optional +L4 (not when isolated L4) and p. UC: E1-E3 plus S0-S3 as assigned. Compact string, no spaces. Not an activity index (not CDAI/Mayo), not Paris, not IBDU. magent does not perform endoscopy. Not a diagnosis. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_at_diagnosis":"A2","behaviour":"B1","disease":"crohn","extent":"E1","location":"L3","perianal":false,"severity":"S0","upper_gi":false},{"age_at_diagnosis":"A2","behaviour":"B1","disease":"crohn","extent":"E1","location":"L3","perianal":false,"severity":"S0","upper_gi":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Satsangi J, Silverberg MS, Vermeire S, Colombel JF","doi":"10.1136/gut.2005.082909","id":"satsangi-2006","pmid":"16698746","source":"Gut. 2006;55(6):749-753","title":"The Montreal classification of inflammatory bowel disease: controversies, consensus, and implications"},"criteria":[{"factor":"disease_crohn","met":true},{"factor":"disease_uc","met":false},{"factor":"A1","met":false},{"factor":"A2","met":true},{"factor":"A3","met":false},{"factor":"L1","met":false},{"factor":"L2","met":false},{"factor":"L3","met":true},{"factor":"L4","met":false},{"factor":"upper_gi","met":false},{"factor":"B1","met":true},{"factor":"B2","met":false},{"factor":"B3","met":false},{"factor":"perianal","met":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.","disease":"crohn","formula":"montreal_ibd","formula_expression":"Crohn phenotype = age_at_diagnosis (A1 ≤16 y, A2 17-40 y, A3 >40 y) + location (L1 ileal, L2 colonic, L3 ileocolonic, L4 isolated upper GI) + optional +L4 when concomitant upper GI with L1-L3 (forbidden when location is isolated L4) + behaviour (B1 non-stricturing non-penetrating, B2 stricturing, B3 penetrating) + optional p when concomitant perianal disease; UC phenotype = extent (E1 ulcerative proctitis distal to the rectosigmoid junction, E2 left-sided distal to the splenic flexure, E3 extensive proximal to the splenic flexure) + severity (S0 clinical remission, S1 mild, S2 moderate, S3 severe as assigned) (Satsangi 2006 Montreal revision of Vienna). Compact string, no spaces. Not a disease-activity score. magent does not perform endoscopy. Not Paris pediatric classification.","phenotype":"A2L3B1"},{"citation":{"authors":"Satsangi J, Silverberg MS, Vermeire S, Colombel JF","doi":"10.1136/gut.2005.082909","id":"satsangi-2006","pmid":"16698746","source":"Gut. 2006;55(6):749-753","title":"The Montreal classification of inflammatory bowel disease: controversies, consensus, and implications"},"criteria":[{"factor":"disease_crohn","met":true},{"factor":"disease_uc","met":false},{"factor":"A1","met":false},{"factor":"A2","met":true},{"factor":"A3","met":false},{"factor":"L1","met":false},{"factor":"L2","met":false},{"factor":"L3","met":true},{"factor":"L4","met":false},{"factor":"upper_gi","met":false},{"factor":"B1","met":true},{"factor":"B2","met":false},{"factor":"B3","met":false},{"factor":"perianal","met":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.","disease":"crohn","formula":"montreal_ibd","formula_expression":"Crohn phenotype = age_at_diagnosis (A1 ≤16 y, A2 17-40 y, A3 >40 y) + location (L1 ileal, L2 colonic, L3 ileocolonic, L4 isolated upper GI) + optional +L4 when concomitant upper GI with L1-L3 (forbidden when location is isolated L4) + behaviour (B1 non-stricturing non-penetrating, B2 stricturing, B3 penetrating) + optional p when concomitant perianal disease; UC phenotype = extent (E1 ulcerative proctitis distal to the rectosigmoid junction, E2 left-sided distal to the splenic flexure, E3 extensive proximal to the splenic flexure) + severity (S0 clinical remission, S1 mild, S2 moderate, S3 severe as assigned) (Satsangi 2006 Montreal revision of Vienna). Compact string, no spaces. Not a disease-activity score. magent does not perform endoscopy. Not Paris pediatric classification.","phenotype":"A2L3B1"}],"path":"/api/calc/montreal_ibd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_at_diagnosis":{"description":"Montreal Crohn age at diagnosis as assigned (Satsangi 2006): A1 ≤16 years, A2 17-40 years, A3 >40 years. Required when disease=crohn. Omit when disease=uc. magent does not assign the A token from a chart.","enum":["A1","A2","A3"],"type":"string"},"behaviour":{"description":"Montreal Crohn behaviour as assigned (Satsangi 2006): B1 non-stricturing non-penetrating, B2 stricturing, B3 penetrating. Required when disease=crohn. Omit when disease=uc. magent does not perform endoscopy.","enum":["B1","B2","B3"],"type":"string"},"disease":{"description":"Satsangi 2006 Montreal disease as assigned: crohn or uc. IBDU and indeterminate colitis are not encoded. magent does not diagnose IBD.","enum":["crohn","uc"],"type":"string"},"extent":{"description":"Montreal UC extent as assigned (Satsangi 2006): E1 ulcerative proctitis (distal to the rectosigmoid junction), E2 left-sided (distal to the splenic flexure), E3 extensive (proximal to the splenic flexure). Required when disease=uc. Omit when disease=crohn. magent does not perform endoscopy.","enum":["E1","E2","E3"],"type":"string"},"location":{"description":"Montreal Crohn location as assigned (Satsangi 2006): L1 ileal, L2 colonic, L3 ileocolonic, L4 isolated upper GI. Required when disease=crohn. Omit when disease=uc. magent does not perform endoscopy.","enum":["L1","L2","L3","L4"],"type":"string"},"perianal":{"description":"Concomitant perianal disease as assigned (Satsangi 2006 p modifier). true appends p after B1, B2, or B3. Required when disease=crohn. Omit when disease=uc. magent does not examine the patient.","type":"boolean"},"severity":{"description":"Montreal UC severity as assigned (Satsangi 2006): S0 clinical remission; S1 mild (≤4 stools/day with or without blood, no systemic illness, normal ESR); S2 moderate (>4 stools/day, minimal systemic toxicity); S3 severe (≥6 bloody stools/day AND pulse ≥90 AND temperature ≥37.5°C AND haemoglobin <10.5 g/100 ml AND ESR ≥30 mm/h). The caller assigns the S token. Required when disease=uc. Omit when disease=crohn. magent does not take vitals.","enum":["S0","S1","S2","S3"],"type":"string"},"upper_gi":{"description":"Concomitant upper GI disease as assigned (Satsangi 2006 L4 modifier). true adds +L4 after L1, L2, or L3. Must be false when location is isolated L4. Required when disease=crohn. Omit when disease=uc. magent does not perform endoscopy.","type":"boolean"}},"required":["disease"],"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":["montreal-ibd","crohn","ulcerative-colitis","gi","phenotype","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:57:54.355Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:57:54.188Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_at_diagnosis":"A2","behaviour":"B1","disease":"crohn","extent":"E1","location":"L3","perianal":false,"severity":"S0","upper_gi":false},{"age_at_diagnosis":"A2","behaviour":"B1","disease":"crohn","extent":"E1","location":"L3","perianal":false,"severity":"S0","upper_gi":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Satsangi J, Silverberg MS, Vermeire S, Colombel JF","doi":"10.1136/gut.2005.082909","id":"satsangi-2006","pmid":"16698746","source":"Gut. 2006;55(6):749-753","title":"The Montreal classification of inflammatory bowel disease: controversies, consensus, and implications"},"criteria":[{"factor":"disease_crohn","met":true},{"factor":"disease_uc","met":false},{"factor":"A1","met":false},{"factor":"A2","met":true},{"factor":"A3","met":false},{"factor":"L1","met":false},{"factor":"L2","met":false},{"factor":"L3","met":true},{"factor":"L4","met":false},{"factor":"upper_gi","met":false},{"factor":"B1","met":true},{"factor":"B2","met":false},{"factor":"B3","met":false},{"factor":"perianal","met":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.","disease":"crohn","formula":"montreal_ibd","formula_expression":"Crohn phenotype = age_at_diagnosis (A1 ≤16 y, A2 17-40 y, A3 >40 y) + location (L1 ileal, L2 colonic, L3 ileocolonic, L4 isolated upper GI) + optional +L4 when concomitant upper GI with L1-L3 (forbidden when location is isolated L4) + behaviour (B1 non-stricturing non-penetrating, B2 stricturing, B3 penetrating) + optional p when concomitant perianal disease; UC phenotype = extent (E1 ulcerative proctitis distal to the rectosigmoid junction, E2 left-sided distal to the splenic flexure, E3 extensive proximal to the splenic flexure) + severity (S0 clinical remission, S1 mild, S2 moderate, S3 severe as assigned) (Satsangi 2006 Montreal revision of Vienna). Compact string, no spaces. Not a disease-activity score. magent does not perform endoscopy. Not Paris pediatric classification.","phenotype":"A2L3B1"},{"citation":{"authors":"Satsangi J, Silverberg MS, Vermeire S, Colombel JF","doi":"10.1136/gut.2005.082909","id":"satsangi-2006","pmid":"16698746","source":"Gut. 2006;55(6):749-753","title":"The Montreal classification of inflammatory bowel disease: controversies, consensus, and implications"},"criteria":[{"factor":"disease_crohn","met":true},{"factor":"disease_uc","met":false},{"factor":"A1","met":false},{"factor":"A2","met":true},{"factor":"A3","met":false},{"factor":"L1","met":false},{"factor":"L2","met":false},{"factor":"L3","met":true},{"factor":"L4","met":false},{"factor":"upper_gi","met":false},{"factor":"B1","met":true},{"factor":"B2","met":false},{"factor":"B3","met":false},{"factor":"perianal","met":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.","disease":"crohn","formula":"montreal_ibd","formula_expression":"Crohn phenotype = age_at_diagnosis (A1 ≤16 y, A2 17-40 y, A3 >40 y) + location (L1 ileal, L2 colonic, L3 ileocolonic, L4 isolated upper GI) + optional +L4 when concomitant upper GI with L1-L3 (forbidden when location is isolated L4) + behaviour (B1 non-stricturing non-penetrating, B2 stricturing, B3 penetrating) + optional p when concomitant perianal disease; UC phenotype = extent (E1 ulcerative proctitis distal to the rectosigmoid junction, E2 left-sided distal to the splenic flexure, E3 extensive proximal to the splenic flexure) + severity (S0 clinical remission, S1 mild, S2 moderate, S3 severe as assigned) (Satsangi 2006 Montreal revision of Vienna). Compact string, no spaces. Not a disease-activity score. magent does not perform endoscopy. Not Paris pediatric classification.","phenotype":"A2L3B1"}],"path":"/api/calc/montreal_ibd"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_at_diagnosis":{"description":"Montreal Crohn age at diagnosis as assigned (Satsangi 2006): A1 ≤16 years, A2 17-40 years, A3 >40 years. Required when disease=crohn. Omit when disease=uc. magent does not assign the A token from a chart.","enum":["A1","A2","A3"],"type":"string"},"behaviour":{"description":"Montreal Crohn behaviour as assigned (Satsangi 2006): B1 non-stricturing non-penetrating, B2 stricturing, B3 penetrating. Required when disease=crohn. Omit when disease=uc. magent does not perform endoscopy.","enum":["B1","B2","B3"],"type":"string"},"disease":{"description":"Satsangi 2006 Montreal disease as assigned: crohn or uc. IBDU and indeterminate colitis are not encoded. magent does not diagnose IBD.","enum":["crohn","uc"],"type":"string"},"extent":{"description":"Montreal UC extent as assigned (Satsangi 2006): E1 ulcerative proctitis (distal to the rectosigmoid junction), E2 left-sided (distal to the splenic flexure), E3 extensive (proximal to the splenic flexure). Required when disease=uc. Omit when disease=crohn. magent does not perform endoscopy.","enum":["E1","E2","E3"],"type":"string"},"location":{"description":"Montreal Crohn location as assigned (Satsangi 2006): L1 ileal, L2 colonic, L3 ileocolonic, L4 isolated upper GI. Required when disease=crohn. Omit when disease=uc. magent does not perform endoscopy.","enum":["L1","L2","L3","L4"],"type":"string"},"perianal":{"description":"Concomitant perianal disease as assigned (Satsangi 2006 p modifier). true appends p after B1, B2, or B3. Required when disease=crohn. Omit when disease=uc. magent does not examine the patient.","type":"boolean"},"severity":{"description":"Montreal UC severity as assigned (Satsangi 2006): S0 clinical remission; S1 mild (≤4 stools/day with or without blood, no systemic illness, normal ESR); S2 moderate (>4 stools/day, minimal systemic toxicity); S3 severe (≥6 bloody stools/day AND pulse ≥90 AND temperature ≥37.5°C AND haemoglobin <10.5 g/100 ml AND ESR ≥30 mm/h). The caller assigns the S token. Required when disease=uc. Omit when disease=crohn. magent does not take vitals.","enum":["S0","S1","S2","S3"],"type":"string"},"upper_gi":{"description":"Concomitant upper GI disease as assigned (Satsangi 2006 L4 modifier). true adds +L4 after L1, L2, or L3. Must be false when location is isolated L4. Required when disease=crohn. Omit when disease=uc. magent does not perform endoscopy.","type":"boolean"}},"required":["disease"],"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},{"id":39560,"slug":"39560","resource":"https://api.magentlab.com/api/calc/oakland","description":"Oakland 2017 risk score for safe discharge after acute lower gastrointestinal bleeding. Points from age (0-2), sex (male 1), previous LGIB admission (1), caller-assigned blood on digital rectal examination (1), heart rate (0-3), systolic BP (0-5), and hemoglobin g/dL (0-22); max 35. safe_discharge when score ≤8 (derivation cutoff, not a later US validation). Not a discharge order or LGIB diagnosis. magent does not examine the rectum or assay hemoglobin. Hemoglobin g/dL or g/L.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":35,"dre_blood":false,"heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"hemoglobin_g_l":165,"previous_lgib_admission":false,"sex":"female","systolic_mm_hg":165},{"age":35,"dre_blood":false,"heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"hemoglobin_g_l":165,"previous_lgib_admission":false,"sex":"female","systolic_mm_hg":165}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":35,"citation":{"authors":"Oakland K, Jairath V, Uberoi R, Guy R, Ayaru L, Mortensen N, Murphy MF, Collins GS","doi":"10.1016/s2468-1253(17)30150-4","id":"oakland-2017","pmid":"28651935","source":"Lancet Gastroenterol Hepatol. 2017;2(9):635-643","title":"Derivation and validation of a novel risk score for safe discharge after acute lower gastrointestinal bleeding: a modelling study"},"components":[{"factor":"age","points":0,"present":false,"value":35},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"previous_lgib_admission","points":0,"present":false},{"factor":"dre_blood","points":0,"present":false},{"factor":"heart_rate","points":0,"present":false,"value":65},{"factor":"systolic","points":0,"present":false,"value":165},{"factor":"hemoglobin","points":0,"present":false,"value":16.5}],"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.","dre_blood":false,"formula":"oakland","formula_expression":"Oakland = age (≤39:0, 40-69:1, ≥70:2) + male 1 + previous_lgib_admission 1 + dre_blood 1 + HR (<70:0, 70-89:1, 90-109:2, ≥110:3) + SBP (50-89:5, 90-119:4, 120-129:3, 130-159:2, ≥160:0) + Hb g/dL (3.6-6.9:22, 7.0-8.9:17, 9.0-10.9:13, 11.0-12.9:8, 13.0-15.9:4, ≥16.0:0); Oakland 2017 derivation; max 35; safe_discharge ≤8","heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"max_score":35,"oakland_band":"safe_discharge","previous_lgib_admission":false,"score":0,"sex":"female","systolic_mm_hg":165},{"age_years":35,"citation":{"authors":"Oakland K, Jairath V, Uberoi R, Guy R, Ayaru L, Mortensen N, Murphy MF, Collins GS","doi":"10.1016/s2468-1253(17)30150-4","id":"oakland-2017","pmid":"28651935","source":"Lancet Gastroenterol Hepatol. 2017;2(9):635-643","title":"Derivation and validation of a novel risk score for safe discharge after acute lower gastrointestinal bleeding: a modelling study"},"components":[{"factor":"age","points":0,"present":false,"value":35},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"previous_lgib_admission","points":0,"present":false},{"factor":"dre_blood","points":0,"present":false},{"factor":"heart_rate","points":0,"present":false,"value":65},{"factor":"systolic","points":0,"present":false,"value":165},{"factor":"hemoglobin","points":0,"present":false,"value":16.5}],"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.","dre_blood":false,"formula":"oakland","formula_expression":"Oakland = age (≤39:0, 40-69:1, ≥70:2) + male 1 + previous_lgib_admission 1 + dre_blood 1 + HR (<70:0, 70-89:1, 90-109:2, ≥110:3) + SBP (50-89:5, 90-119:4, 120-129:3, 130-159:2, ≥160:0) + Hb g/dL (3.6-6.9:22, 7.0-8.9:17, 9.0-10.9:13, 11.0-12.9:8, 13.0-15.9:4, ≥16.0:0); Oakland 2017 derivation; max 35; safe_discharge ≤8","heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"max_score":35,"oakland_band":"safe_discharge","previous_lgib_admission":false,"score":0,"sex":"female","systolic_mm_hg":165}],"path":"/api/calc/oakland"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 16-120). Oakland 2017: ≤39 → 0, 40-69 → 1, ≥70 → 2.","type":"integer"},"dre_blood":{"description":"Blood on digital rectal examination as assigned by the caller (Oakland 2017). true scores 1. magent does not examine the rectum.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Oakland 2017: <70 → 0, 70-89 → 1, 90-109 → 2, ≥110 → 3.","type":"integer"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. Oakland 2017 bands start at 3.6 g/dL: 3.6-6.9 → 22, 7.0-8.9 → 17, 9.0-10.9 → 13, 11.0-12.9 → 8, 13.0-15.9 → 4, ≥16.0 → 0. Values <3.6 after conversion are rejected. magent does not assay hemoglobin.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both. Values <3.6 g/dL after conversion are rejected.","type":"number"},"previous_lgib_admission":{"description":"Previous admission for lower GI bleeding as assigned by the caller (Oakland 2017). true scores 1.","type":"boolean"},"sex":{"description":"Sex as assigned by the caller. female scores 0; male scores 1.","enum":["female","male"],"type":"string"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Oakland 2017: 50-89 → 5, 90-119 → 4, 120-129 → 3, 130-159 → 2, ≥160 → 0. magent does not read a blood pressure.","type":"number"}},"required":["age","sex","previous_lgib_admission","dre_blood","heart_rate_bpm","systolic_mm_hg"],"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":["oakland","lgib","gi-bleed","discharge","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:55:50.134Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:55:50.008Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":35,"dre_blood":false,"heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"hemoglobin_g_l":165,"previous_lgib_admission":false,"sex":"female","systolic_mm_hg":165},{"age":35,"dre_blood":false,"heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"hemoglobin_g_l":165,"previous_lgib_admission":false,"sex":"female","systolic_mm_hg":165}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":35,"citation":{"authors":"Oakland K, Jairath V, Uberoi R, Guy R, Ayaru L, Mortensen N, Murphy MF, Collins GS","doi":"10.1016/s2468-1253(17)30150-4","id":"oakland-2017","pmid":"28651935","source":"Lancet Gastroenterol Hepatol. 2017;2(9):635-643","title":"Derivation and validation of a novel risk score for safe discharge after acute lower gastrointestinal bleeding: a modelling study"},"components":[{"factor":"age","points":0,"present":false,"value":35},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"previous_lgib_admission","points":0,"present":false},{"factor":"dre_blood","points":0,"present":false},{"factor":"heart_rate","points":0,"present":false,"value":65},{"factor":"systolic","points":0,"present":false,"value":165},{"factor":"hemoglobin","points":0,"present":false,"value":16.5}],"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.","dre_blood":false,"formula":"oakland","formula_expression":"Oakland = age (≤39:0, 40-69:1, ≥70:2) + male 1 + previous_lgib_admission 1 + dre_blood 1 + HR (<70:0, 70-89:1, 90-109:2, ≥110:3) + SBP (50-89:5, 90-119:4, 120-129:3, 130-159:2, ≥160:0) + Hb g/dL (3.6-6.9:22, 7.0-8.9:17, 9.0-10.9:13, 11.0-12.9:8, 13.0-15.9:4, ≥16.0:0); Oakland 2017 derivation; max 35; safe_discharge ≤8","heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"max_score":35,"oakland_band":"safe_discharge","previous_lgib_admission":false,"score":0,"sex":"female","systolic_mm_hg":165},{"age_years":35,"citation":{"authors":"Oakland K, Jairath V, Uberoi R, Guy R, Ayaru L, Mortensen N, Murphy MF, Collins GS","doi":"10.1016/s2468-1253(17)30150-4","id":"oakland-2017","pmid":"28651935","source":"Lancet Gastroenterol Hepatol. 2017;2(9):635-643","title":"Derivation and validation of a novel risk score for safe discharge after acute lower gastrointestinal bleeding: a modelling study"},"components":[{"factor":"age","points":0,"present":false,"value":35},{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"previous_lgib_admission","points":0,"present":false},{"factor":"dre_blood","points":0,"present":false},{"factor":"heart_rate","points":0,"present":false,"value":65},{"factor":"systolic","points":0,"present":false,"value":165},{"factor":"hemoglobin","points":0,"present":false,"value":16.5}],"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.","dre_blood":false,"formula":"oakland","formula_expression":"Oakland = age (≤39:0, 40-69:1, ≥70:2) + male 1 + previous_lgib_admission 1 + dre_blood 1 + HR (<70:0, 70-89:1, 90-109:2, ≥110:3) + SBP (50-89:5, 90-119:4, 120-129:3, 130-159:2, ≥160:0) + Hb g/dL (3.6-6.9:22, 7.0-8.9:17, 9.0-10.9:13, 11.0-12.9:8, 13.0-15.9:4, ≥16.0:0); Oakland 2017 derivation; max 35; safe_discharge ≤8","heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"max_score":35,"oakland_band":"safe_discharge","previous_lgib_admission":false,"score":0,"sex":"female","systolic_mm_hg":165}],"path":"/api/calc/oakland"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 16-120). Oakland 2017: ≤39 → 0, 40-69 → 1, ≥70 → 2.","type":"integer"},"dre_blood":{"description":"Blood on digital rectal examination as assigned by the caller (Oakland 2017). true scores 1. magent does not examine the rectum.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Oakland 2017: <70 → 0, 70-89 → 1, 90-109 → 2, ≥110 → 3.","type":"integer"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. Oakland 2017 bands start at 3.6 g/dL: 3.6-6.9 → 22, 7.0-8.9 → 17, 9.0-10.9 → 13, 11.0-12.9 → 8, 13.0-15.9 → 4, ≥16.0 → 0. Values <3.6 after conversion are rejected. magent does not assay hemoglobin.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both. Values <3.6 g/dL after conversion are rejected.","type":"number"},"previous_lgib_admission":{"description":"Previous admission for lower GI bleeding as assigned by the caller (Oakland 2017). true scores 1.","type":"boolean"},"sex":{"description":"Sex as assigned by the caller. female scores 0; male scores 1.","enum":["female","male"],"type":"string"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Oakland 2017: 50-89 → 5, 90-119 → 4, 120-129 → 3, 130-159 → 2, ≥160 → 0. magent does not read a blood pressure.","type":"number"}},"required":["age","sex","previous_lgib_admission","dre_blood","heart_rate_bpm","systolic_mm_hg"],"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},{"id":39561,"slug":"39561","resource":"https://api.magentlab.com/api/calc/aims65","description":"Saltzman 2011 AIMS65 for in-hospital mortality in acute upper GI bleeding: albumin <3.0 g/dL, INR >1.5, caller-assigned altered mental status, systolic BP <=90 mm Hg, and age >65; 1 point each, max 5. Albumin 3.0, INR 1.5, and age 65 do not score; SBP 90 does. Score only; no mortality percentages. Not a diagnosis. Not Glasgow-Blatchford or Rockall. magent does not assess mental status. Albumin g/dL or g/L.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"albumin_g_dl":4,"albumin_g_l":40,"altered_mental_status":false,"inr":1,"systolic_mm_hg":120},{"age":50,"albumin_g_dl":4,"albumin_g_l":40,"altered_mental_status":false,"inr":1,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"albumin_g_dl":4,"citation":{"authors":"Saltzman JR, Tabak YP, Hyett BH, Sun X, Travis AC, Johannes RS","doi":"10.1016/j.gie.2011.06.024","id":"saltzman-2011","source":"Gastrointest Endosc. 2011;74(6):1215-1224","title":"A simple risk score accurately predicts in-hospital mortality, length of stay, and cost in acute upper GI bleeding"},"components":[{"factor":"albumin_lt_3","points":0,"present":false,"value":4},{"factor":"inr_gt_1_5","points":0,"present":false,"value":1},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"systolic_mm_hg_le_90","points":0,"present":false,"value":120},{"factor":"age_gt_65","points":0,"present":false,"value":50}],"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":"aims65","formula_expression":"AIMS65 = (albumin_g_dl<3.0) + (inr>1.5) + altered_mental_status + (systolic_mm_hg<=90) + (age>65); each 1 if present; max 5","inr":1,"max_score":5,"score":0,"systolic_mm_hg":120},{"age_years":50,"albumin_g_dl":4,"citation":{"authors":"Saltzman JR, Tabak YP, Hyett BH, Sun X, Travis AC, Johannes RS","doi":"10.1016/j.gie.2011.06.024","id":"saltzman-2011","source":"Gastrointest Endosc. 2011;74(6):1215-1224","title":"A simple risk score accurately predicts in-hospital mortality, length of stay, and cost in acute upper GI bleeding"},"components":[{"factor":"albumin_lt_3","points":0,"present":false,"value":4},{"factor":"inr_gt_1_5","points":0,"present":false,"value":1},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"systolic_mm_hg_le_90","points":0,"present":false,"value":120},{"factor":"age_gt_65","points":0,"present":false,"value":50}],"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":"aims65","formula_expression":"AIMS65 = (albumin_g_dl<3.0) + (inr>1.5) + altered_mental_status + (systolic_mm_hg<=90) + (age>65); each 1 if present; max 5","inr":1,"max_score":5,"score":0,"systolic_mm_hg":120}],"path":"/api/calc/aims65"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Scores 1 when age >65; 65 does not score.","type":"integer"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Scores 1 when <3.0; 3.0 does not score.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both.","type":"number"},"altered_mental_status":{"description":"Altered mental status as assigned by the caller. true or false. magent does not assess mental status. 1 point if true.","type":"boolean"},"inr":{"description":"INR (0.8-10). Scores 1 when >1.5; 1.5 does not score.","type":"number"},"systolic_mm_hg":{"description":"Cuff systolic blood pressure in mm Hg (50-250). Scores 1 when ≤90; 90 scores.","type":"number"}},"required":["age","inr","altered_mental_status","systolic_mm_hg"],"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":["aims65","ugib","gi-bleed","score","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:55:23.971Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:55:23.861Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"albumin_g_dl":4,"albumin_g_l":40,"altered_mental_status":false,"inr":1,"systolic_mm_hg":120},{"age":50,"albumin_g_dl":4,"albumin_g_l":40,"altered_mental_status":false,"inr":1,"systolic_mm_hg":120}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"albumin_g_dl":4,"citation":{"authors":"Saltzman JR, Tabak YP, Hyett BH, Sun X, Travis AC, Johannes RS","doi":"10.1016/j.gie.2011.06.024","id":"saltzman-2011","source":"Gastrointest Endosc. 2011;74(6):1215-1224","title":"A simple risk score accurately predicts in-hospital mortality, length of stay, and cost in acute upper GI bleeding"},"components":[{"factor":"albumin_lt_3","points":0,"present":false,"value":4},{"factor":"inr_gt_1_5","points":0,"present":false,"value":1},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"systolic_mm_hg_le_90","points":0,"present":false,"value":120},{"factor":"age_gt_65","points":0,"present":false,"value":50}],"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":"aims65","formula_expression":"AIMS65 = (albumin_g_dl<3.0) + (inr>1.5) + altered_mental_status + (systolic_mm_hg<=90) + (age>65); each 1 if present; max 5","inr":1,"max_score":5,"score":0,"systolic_mm_hg":120},{"age_years":50,"albumin_g_dl":4,"citation":{"authors":"Saltzman JR, Tabak YP, Hyett BH, Sun X, Travis AC, Johannes RS","doi":"10.1016/j.gie.2011.06.024","id":"saltzman-2011","source":"Gastrointest Endosc. 2011;74(6):1215-1224","title":"A simple risk score accurately predicts in-hospital mortality, length of stay, and cost in acute upper GI bleeding"},"components":[{"factor":"albumin_lt_3","points":0,"present":false,"value":4},{"factor":"inr_gt_1_5","points":0,"present":false,"value":1},{"factor":"altered_mental_status","points":0,"present":false},{"factor":"systolic_mm_hg_le_90","points":0,"present":false,"value":120},{"factor":"age_gt_65","points":0,"present":false,"value":50}],"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":"aims65","formula_expression":"AIMS65 = (albumin_g_dl<3.0) + (inr>1.5) + altered_mental_status + (systolic_mm_hg<=90) + (age>65); each 1 if present; max 5","inr":1,"max_score":5,"score":0,"systolic_mm_hg":120}],"path":"/api/calc/aims65"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Scores 1 when age >65; 65 does not score.","type":"integer"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Scores 1 when <3.0; 3.0 does not score.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both.","type":"number"},"altered_mental_status":{"description":"Altered mental status as assigned by the caller. true or false. magent does not assess mental status. 1 point if true.","type":"boolean"},"inr":{"description":"INR (0.8-10). Scores 1 when >1.5; 1.5 does not score.","type":"number"},"systolic_mm_hg":{"description":"Cuff systolic blood pressure in mm Hg (50-250). Scores 1 when ≤90; 90 scores.","type":"number"}},"required":["age","inr","altered_mental_status","systolic_mm_hg"],"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},{"id":39562,"slug":"39562","resource":"https://api.magentlab.com/api/calc/bun_creatinine_ratio","description":"Richards 1990 BUN/creatinine ratio as bun_mg_dl / creatinine_mg_dl, rounded to one decimal. A ratio of 36 or greater suggests upper gastrointestinal bleeding. A ratio below 36 is not helpful in locating the source and is not a lower-GI class. Provide creatinine_mg_dl (0.1-20) or creatinine_umol_l (9-1768), not both. Not a diagnosis, endoscopy order, or Blatchford urea band. magent does not locate a bleed.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bun_mg_dl":36,"creatinine_mg_dl":1,"creatinine_umol_l":88.42},{"bun_mg_dl":36,"creatinine_mg_dl":1,"creatinine_umol_l":88.42}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bun_creatinine_ratio":36,"bun_mg_dl":36,"citation":{"authors":"Richards RJ, Donica MB, Grayer D","doi":"10.1097/00004836-199010000-00004","id":"richards-1990","pmid":"2229992","source":"J Clin Gastroenterol. 1990;12(5):500-504","title":"Can the blood urea nitrogen/creatinine ratio distinguish upper from lower gastrointestinal bleeding?"},"creatinine_mg_dl":1,"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":"bun_creatinine_ratio","formula_expression":"bun_creatinine_ratio = bun_mg_dl / creatinine_mg_dl","suggests_upper_gi_bleeding":true},{"bun_creatinine_ratio":36,"bun_mg_dl":36,"citation":{"authors":"Richards RJ, Donica MB, Grayer D","doi":"10.1097/00004836-199010000-00004","id":"richards-1990","pmid":"2229992","source":"J Clin Gastroenterol. 1990;12(5):500-504","title":"Can the blood urea nitrogen/creatinine ratio distinguish upper from lower gastrointestinal bleeding?"},"creatinine_mg_dl":1,"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":"bun_creatinine_ratio","formula_expression":"bun_creatinine_ratio = bun_mg_dl / creatinine_mg_dl","suggests_upper_gi_bleeding":true}],"path":"/api/calc/bun_creatinine_ratio"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-200). Richards 1990 ratio uses BUN in mg/dL. Not a Glasgow-Blatchford urea band. magent does not assay BUN.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. magent does not assay creatinine.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both.","type":"number"}},"required":["bun_mg_dl"],"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":["bun-creatinine","gi-bleeding","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:55:17.398Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:55:17.268Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bun_mg_dl":36,"creatinine_mg_dl":1,"creatinine_umol_l":88.42},{"bun_mg_dl":36,"creatinine_mg_dl":1,"creatinine_umol_l":88.42}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bun_creatinine_ratio":36,"bun_mg_dl":36,"citation":{"authors":"Richards RJ, Donica MB, Grayer D","doi":"10.1097/00004836-199010000-00004","id":"richards-1990","pmid":"2229992","source":"J Clin Gastroenterol. 1990;12(5):500-504","title":"Can the blood urea nitrogen/creatinine ratio distinguish upper from lower gastrointestinal bleeding?"},"creatinine_mg_dl":1,"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":"bun_creatinine_ratio","formula_expression":"bun_creatinine_ratio = bun_mg_dl / creatinine_mg_dl","suggests_upper_gi_bleeding":true},{"bun_creatinine_ratio":36,"bun_mg_dl":36,"citation":{"authors":"Richards RJ, Donica MB, Grayer D","doi":"10.1097/00004836-199010000-00004","id":"richards-1990","pmid":"2229992","source":"J Clin Gastroenterol. 1990;12(5):500-504","title":"Can the blood urea nitrogen/creatinine ratio distinguish upper from lower gastrointestinal bleeding?"},"creatinine_mg_dl":1,"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":"bun_creatinine_ratio","formula_expression":"bun_creatinine_ratio = bun_mg_dl / creatinine_mg_dl","suggests_upper_gi_bleeding":true}],"path":"/api/calc/bun_creatinine_ratio"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_mg_dl":{"description":"Blood urea nitrogen in mg/dL (1-200). Richards 1990 ratio uses BUN in mg/dL. Not a Glasgow-Blatchford urea band. magent does not assay BUN.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. magent does not assay creatinine.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both.","type":"number"}},"required":["bun_mg_dl"],"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},{"id":39563,"slug":"39563","resource":"https://api.magentlab.com/api/calc/glasgow_blatchford","description":"Glasgow-Blatchford score (Blatchford 2000) for need for treatment after upper-gastrointestinal haemorrhage. Points from urea, haemoglobin (sex-specific), systolic BP, heart rate ≥100, melena, syncope, hepatic disease, and cardiac failure; max 23. Score 0 is the published low-risk screen; magent does not invent other GBS bands. Not a diagnosis, not Rockall, and not AIMS65. Urea may be mmol/L or BUN mg/dL; haemoglobin g/L or g/dL.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bun_mg_dl":14,"cardiac_failure":false,"heart_rate_bpm":80,"hemoglobin_g_dl":14,"hemoglobin_g_l":140,"hepatic_disease":false,"melena":false,"sex":"male","syncope":false,"systolic_mm_hg":120,"urea_mmol_l":5},{"bun_mg_dl":14,"cardiac_failure":false,"heart_rate_bpm":80,"hemoglobin_g_dl":14,"hemoglobin_g_l":140,"hepatic_disease":false,"melena":false,"sex":"male","syncope":false,"systolic_mm_hg":120,"urea_mmol_l":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Blatchford O, Murray WR, Blatchford M","doi":"10.1016/S0140-6736(00)02816-6","id":"blatchford-2000","source":"Lancet. 2000;356(9238):1318-1321","title":"A risk score to predict need for treatment for upper-gastrointestinal haemorrhage"},"components":[{"factor":"urea","points":0,"present":false,"value":5},{"factor":"hemoglobin","points":0,"present":false,"value":140},{"factor":"systolic","points":0,"present":false,"value":120},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"melena","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"hepatic_disease","points":0,"present":false},{"factor":"cardiac_failure","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":"glasgow_blatchford","formula_expression":"GBS = urea_mmol_l table + haemoglobin_g_l table (sex-specific) + systolic_mm_hg table + (heart_rate_bpm >= 100) + melena + 2*syncope + 2*hepatic_disease + 2*cardiac_failure; max 23; score 0 low, else not_low","gbs_risk":"low","heart_rate_bpm":80,"hemoglobin_g_l":140,"max_score":23,"score":0,"sex":"male","systolic_mm_hg":120,"urea_mmol_l":5},{"citation":{"authors":"Blatchford O, Murray WR, Blatchford M","doi":"10.1016/S0140-6736(00)02816-6","id":"blatchford-2000","source":"Lancet. 2000;356(9238):1318-1321","title":"A risk score to predict need for treatment for upper-gastrointestinal haemorrhage"},"components":[{"factor":"urea","points":0,"present":false,"value":5},{"factor":"hemoglobin","points":0,"present":false,"value":140},{"factor":"systolic","points":0,"present":false,"value":120},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"melena","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"hepatic_disease","points":0,"present":false},{"factor":"cardiac_failure","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":"glasgow_blatchford","formula_expression":"GBS = urea_mmol_l table + haemoglobin_g_l table (sex-specific) + systolic_mm_hg table + (heart_rate_bpm >= 100) + melena + 2*syncope + 2*hepatic_disease + 2*cardiac_failure; max 23; score 0 low, else not_low","gbs_risk":"low","heart_rate_bpm":80,"hemoglobin_g_l":140,"max_score":23,"score":0,"sex":"male","systolic_mm_hg":120,"urea_mmol_l":5}],"path":"/api/calc/glasgow_blatchford"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_mg_dl":{"description":"BUN in mg/dL (3-140). Converted as urea_mmol_l = bun_mg_dl / 2.8. Provide this or urea_mmol_l, not both.","type":"number"},"cardiac_failure":{"description":"Cardiac failure as assigned by the caller. true or false. 2 points if true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 1 when ≥100; 99 does not score.","type":"integer"},"hemoglobin_g_dl":{"description":"Haemoglobin in g/dL (3-22). Converted as hemoglobin_g_l = hemoglobin_g_dl × 10. Provide this or hemoglobin_g_l, not both.","type":"number"},"hemoglobin_g_l":{"description":"Haemoglobin in g/L (30-220). Provide this or hemoglobin_g_dl, not both. Men: <100 → 6; 100–119 → 3; 120–129 → 1; ≥130 → 0. Women: <100 → 6; 100–119 → 1; ≥120 → 0.","type":"number"},"hepatic_disease":{"description":"Hepatic disease as assigned by the caller. true or false. 2 points if true.","type":"boolean"},"melena":{"description":"Melena as assigned by the caller. true or false. 1 point if true.","type":"boolean"},"sex":{"description":"Sex (female or male). Haemoglobin points use the Blatchford 2000 sex-specific table.","type":"string"},"syncope":{"description":"Syncope as assigned by the caller. true or false. 2 points if true.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). <90 scores 3; 90–99 scores 2; 100–109 scores 1; ≥110 scores 0.","type":"number"},"urea_mmol_l":{"description":"Blood urea in mmol/L (1-50). Provide this or bun_mg_dl, not both. <6.5 scores 0; 6.5–7.9 scores 2; 8.0–9.9 scores 3; 10.0–24.9 scores 4; ≥25.0 scores 6.","type":"number"}},"required":["sex","systolic_mm_hg","heart_rate_bpm","melena","syncope","hepatic_disease","cardiac_failure"],"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":["glasgow-blatchford","gbs","ugib","gi","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:55:09.901Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:55:09.781Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bun_mg_dl":14,"cardiac_failure":false,"heart_rate_bpm":80,"hemoglobin_g_dl":14,"hemoglobin_g_l":140,"hepatic_disease":false,"melena":false,"sex":"male","syncope":false,"systolic_mm_hg":120,"urea_mmol_l":5},{"bun_mg_dl":14,"cardiac_failure":false,"heart_rate_bpm":80,"hemoglobin_g_dl":14,"hemoglobin_g_l":140,"hepatic_disease":false,"melena":false,"sex":"male","syncope":false,"systolic_mm_hg":120,"urea_mmol_l":5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Blatchford O, Murray WR, Blatchford M","doi":"10.1016/S0140-6736(00)02816-6","id":"blatchford-2000","source":"Lancet. 2000;356(9238):1318-1321","title":"A risk score to predict need for treatment for upper-gastrointestinal haemorrhage"},"components":[{"factor":"urea","points":0,"present":false,"value":5},{"factor":"hemoglobin","points":0,"present":false,"value":140},{"factor":"systolic","points":0,"present":false,"value":120},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"melena","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"hepatic_disease","points":0,"present":false},{"factor":"cardiac_failure","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":"glasgow_blatchford","formula_expression":"GBS = urea_mmol_l table + haemoglobin_g_l table (sex-specific) + systolic_mm_hg table + (heart_rate_bpm >= 100) + melena + 2*syncope + 2*hepatic_disease + 2*cardiac_failure; max 23; score 0 low, else not_low","gbs_risk":"low","heart_rate_bpm":80,"hemoglobin_g_l":140,"max_score":23,"score":0,"sex":"male","systolic_mm_hg":120,"urea_mmol_l":5},{"citation":{"authors":"Blatchford O, Murray WR, Blatchford M","doi":"10.1016/S0140-6736(00)02816-6","id":"blatchford-2000","source":"Lancet. 2000;356(9238):1318-1321","title":"A risk score to predict need for treatment for upper-gastrointestinal haemorrhage"},"components":[{"factor":"urea","points":0,"present":false,"value":5},{"factor":"hemoglobin","points":0,"present":false,"value":140},{"factor":"systolic","points":0,"present":false,"value":120},{"factor":"heart_rate","points":0,"present":false,"value":80},{"factor":"melena","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"hepatic_disease","points":0,"present":false},{"factor":"cardiac_failure","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":"glasgow_blatchford","formula_expression":"GBS = urea_mmol_l table + haemoglobin_g_l table (sex-specific) + systolic_mm_hg table + (heart_rate_bpm >= 100) + melena + 2*syncope + 2*hepatic_disease + 2*cardiac_failure; max 23; score 0 low, else not_low","gbs_risk":"low","heart_rate_bpm":80,"hemoglobin_g_l":140,"max_score":23,"score":0,"sex":"male","systolic_mm_hg":120,"urea_mmol_l":5}],"path":"/api/calc/glasgow_blatchford"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_mg_dl":{"description":"BUN in mg/dL (3-140). Converted as urea_mmol_l = bun_mg_dl / 2.8. Provide this or urea_mmol_l, not both.","type":"number"},"cardiac_failure":{"description":"Cardiac failure as assigned by the caller. true or false. 2 points if true.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Scores 1 when ≥100; 99 does not score.","type":"integer"},"hemoglobin_g_dl":{"description":"Haemoglobin in g/dL (3-22). Converted as hemoglobin_g_l = hemoglobin_g_dl × 10. Provide this or hemoglobin_g_l, not both.","type":"number"},"hemoglobin_g_l":{"description":"Haemoglobin in g/L (30-220). Provide this or hemoglobin_g_dl, not both. Men: <100 → 6; 100–119 → 3; 120–129 → 1; ≥130 → 0. Women: <100 → 6; 100–119 → 1; ≥120 → 0.","type":"number"},"hepatic_disease":{"description":"Hepatic disease as assigned by the caller. true or false. 2 points if true.","type":"boolean"},"melena":{"description":"Melena as assigned by the caller. true or false. 1 point if true.","type":"boolean"},"sex":{"description":"Sex (female or male). Haemoglobin points use the Blatchford 2000 sex-specific table.","type":"string"},"syncope":{"description":"Syncope as assigned by the caller. true or false. 2 points if true.","type":"boolean"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). <90 scores 3; 90–99 scores 2; 100–109 scores 1; ≥110 scores 0.","type":"number"},"urea_mmol_l":{"description":"Blood urea in mmol/L (1-50). Provide this or bun_mg_dl, not both. <6.5 scores 0; 6.5–7.9 scores 2; 8.0–9.9 scores 3; 10.0–24.9 scores 4; ≥25.0 scores 6.","type":"number"}},"required":["sex","systolic_mm_hg","heart_rate_bpm","melena","syncope","hepatic_disease","cardiac_failure"],"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},{"id":39564,"slug":"39564","resource":"https://api.magentlab.com/api/calc/fni","description":"Tavaglione 2023 fibrotic NASH index (FNI) from AST, HbA1c, and HDL cholesterol. FNI = e^x/(1+e^x) with x = -10.33 + 2.54*ln(AST) + 3.86*ln(HbA1c) - 1.66*ln(HDL mg/dL). HDL may be mg/dL or mmol/L (×38.67). Rule-out ≤0.10; indeterminate between 0.10 and 0.33; rule-in ≥0.33. Not a biopsy, not FIB-4, not the NAFLD fibrosis score, not SAFE, and not BARD.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"a1c_percent":5.5,"ast_u_l":40,"hdl_mg_dl":50,"hdl_mmol_l":1.29},{"a1c_percent":5.5,"ast_u_l":40,"hdl_mg_dl":50,"hdl_mmol_l":1.29}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"a1c_percent":5.5,"ast_u_l":40,"citation":{"authors":"Tavaglione F, Jamialahmadi O, De Vincentis A, et al.","doi":"10.1016/j.cgh.2022.03.044","id":"tavaglione-2023","pmid":"35421583","source":"Clin Gastroenterol Hepatol. 2023;21(6):1523-1532.e1","title":"Development and Validation of a Score for Fibrotic Nonalcoholic Steatohepatitis"},"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.","fni":0.2944,"fni_band":"gt_0_10_lt_0_33","formula":"fni","formula_expression":"FNI = e^x / (1+e^x) where x = -10.33 + 2.54*ln(AST U/L) + 3.86*ln(HbA1c %) - 1.66*ln(HDL mg/dL) (natural log)","hdl_mg_dl":50,"hdl_unit":"mg_dl","x":-0.8739},{"a1c_percent":5.5,"ast_u_l":40,"citation":{"authors":"Tavaglione F, Jamialahmadi O, De Vincentis A, et al.","doi":"10.1016/j.cgh.2022.03.044","id":"tavaglione-2023","pmid":"35421583","source":"Clin Gastroenterol Hepatol. 2023;21(6):1523-1532.e1","title":"Development and Validation of a Score for Fibrotic Nonalcoholic Steatohepatitis"},"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.","fni":0.2944,"fni_band":"gt_0_10_lt_0_33","formula":"fni","formula_expression":"FNI = e^x / (1+e^x) where x = -10.33 + 2.54*ln(AST U/L) + 3.86*ln(HbA1c %) - 1.66*ln(HDL mg/dL) (natural log)","hdl_mg_dl":50,"hdl_unit":"mg_dl","x":-0.8739}],"path":"/api/calc/fni"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"a1c_percent":{"description":"HbA1c in percent (4-15). magent does not convert from eAG.","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000).","type":"number"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Provide this or hdl_mmol_l, not both. Used in the natural-log term.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.1-3.9). Converted as mg/dL = mmol/L * 38.67. Provide this or hdl_mg_dl, not both.","type":"number"}},"required":["ast_u_l","a1c_percent"],"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":["fni","nash","liver","fibrosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:54:57.761Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:54:57.59Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"a1c_percent":5.5,"ast_u_l":40,"hdl_mg_dl":50,"hdl_mmol_l":1.29},{"a1c_percent":5.5,"ast_u_l":40,"hdl_mg_dl":50,"hdl_mmol_l":1.29}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"a1c_percent":5.5,"ast_u_l":40,"citation":{"authors":"Tavaglione F, Jamialahmadi O, De Vincentis A, et al.","doi":"10.1016/j.cgh.2022.03.044","id":"tavaglione-2023","pmid":"35421583","source":"Clin Gastroenterol Hepatol. 2023;21(6):1523-1532.e1","title":"Development and Validation of a Score for Fibrotic Nonalcoholic Steatohepatitis"},"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.","fni":0.2944,"fni_band":"gt_0_10_lt_0_33","formula":"fni","formula_expression":"FNI = e^x / (1+e^x) where x = -10.33 + 2.54*ln(AST U/L) + 3.86*ln(HbA1c %) - 1.66*ln(HDL mg/dL) (natural log)","hdl_mg_dl":50,"hdl_unit":"mg_dl","x":-0.8739},{"a1c_percent":5.5,"ast_u_l":40,"citation":{"authors":"Tavaglione F, Jamialahmadi O, De Vincentis A, et al.","doi":"10.1016/j.cgh.2022.03.044","id":"tavaglione-2023","pmid":"35421583","source":"Clin Gastroenterol Hepatol. 2023;21(6):1523-1532.e1","title":"Development and Validation of a Score for Fibrotic Nonalcoholic Steatohepatitis"},"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.","fni":0.2944,"fni_band":"gt_0_10_lt_0_33","formula":"fni","formula_expression":"FNI = e^x / (1+e^x) where x = -10.33 + 2.54*ln(AST U/L) + 3.86*ln(HbA1c %) - 1.66*ln(HDL mg/dL) (natural log)","hdl_mg_dl":50,"hdl_unit":"mg_dl","x":-0.8739}],"path":"/api/calc/fni"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"a1c_percent":{"description":"HbA1c in percent (4-15). magent does not convert from eAG.","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000).","type":"number"},"hdl_mg_dl":{"description":"HDL cholesterol in mg/dL (5-150). Provide this or hdl_mmol_l, not both. Used in the natural-log term.","type":"number"},"hdl_mmol_l":{"description":"HDL cholesterol in mmol/L (0.1-3.9). Converted as mg/dL = mmol/L * 38.67. Provide this or hdl_mg_dl, not both.","type":"number"}},"required":["ast_u_l","a1c_percent"],"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},{"id":39565,"slug":"39565","resource":"https://api.magentlab.com/api/calc/ukeld","description":"Barber 2011 United Kingdom end-stage liver disease (UKELD) from INR, creatinine, bilirubin, and sodium in native SI units. UKELD = 5.395*ln(INR) + 1.485*ln(creatinine_umol_l) + 3.13*ln(bilirubin_umol_l) - 81.565*ln(sodium_mmol_l) + 435, nearest integer. below_listing if <49; listing_threshold if ≥49 (UK elective-list 9% 1-year mortality cut). Not a transplant listing or allocation order. Not MELD or MELD-Na.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bilirubin_mg_dl":2.3,"bilirubin_umol_l":40,"creatinine_mg_dl":1,"creatinine_umol_l":90,"inr":1.2,"sodium_mmol_l":135},{"bilirubin_mg_dl":2.3,"bilirubin_umol_l":40,"creatinine_mg_dl":1,"creatinine_umol_l":90,"inr":1.2,"sodium_mmol_l":135}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bilirubin_umol_l":40,"citation":{"authors":"Barber K, Madden S, Allen J, Collett D, Neuberger J, Gimson A; United Kingdom Liver Transplant Selection and Allocation Working Party","doi":"10.1097/TP.0b013e318225db4d","id":"barber-2011","pmid":"21775931","source":"Transplantation. 2011;92(4):469-476","title":"Elective liver transplant list mortality: development of a United Kingdom end-stage liver disease score"},"creatinine_umol_l":90,"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":"ukeld","formula_expression":"UKELD = 5.395 * ln(INR) + 1.485 * ln(creatinine_umol_l) + 3.13 * ln(bilirubin_umol_l) - 81.565 * ln(sodium_mmol_l) + 435","inr":1.2,"sodium_mmol_l":135,"ukeld":54,"ukeld_band":"listing_threshold"},{"bilirubin_umol_l":40,"citation":{"authors":"Barber K, Madden S, Allen J, Collett D, Neuberger J, Gimson A; United Kingdom Liver Transplant Selection and Allocation Working Party","doi":"10.1097/TP.0b013e318225db4d","id":"barber-2011","pmid":"21775931","source":"Transplantation. 2011;92(4):469-476","title":"Elective liver transplant list mortality: development of a United Kingdom end-stage liver disease score"},"creatinine_umol_l":90,"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":"ukeld","formula_expression":"UKELD = 5.395 * ln(INR) + 1.485 * ln(creatinine_umol_l) + 3.13 * ln(bilirubin_umol_l) - 81.565 * ln(sodium_mmol_l) + 435","inr":1.2,"sodium_mmol_l":135,"ukeld":54,"ukeld_band":"listing_threshold"}],"path":"/api/calc/ukeld"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1. Provide this or bilirubin_umol_l, not both.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Provide this or bilirubin_mg_dl, not both. Barber 2011 uses µmol/L; no MELD floor.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42. Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl, not both. Barber 2011 uses µmol/L; no MELD floor.","type":"number"},"inr":{"description":"International normalized ratio (0.8-10). Barber 2011 does not floor INR at 1.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). Barber 2011 does not clamp sodium to 125–137.","type":"number"}},"required":["inr","sodium_mmol_l"],"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":["ukeld","liver","cirrhosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:53:18.962Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:53:18.83Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bilirubin_mg_dl":2.3,"bilirubin_umol_l":40,"creatinine_mg_dl":1,"creatinine_umol_l":90,"inr":1.2,"sodium_mmol_l":135},{"bilirubin_mg_dl":2.3,"bilirubin_umol_l":40,"creatinine_mg_dl":1,"creatinine_umol_l":90,"inr":1.2,"sodium_mmol_l":135}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bilirubin_umol_l":40,"citation":{"authors":"Barber K, Madden S, Allen J, Collett D, Neuberger J, Gimson A; United Kingdom Liver Transplant Selection and Allocation Working Party","doi":"10.1097/TP.0b013e318225db4d","id":"barber-2011","pmid":"21775931","source":"Transplantation. 2011;92(4):469-476","title":"Elective liver transplant list mortality: development of a United Kingdom end-stage liver disease score"},"creatinine_umol_l":90,"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":"ukeld","formula_expression":"UKELD = 5.395 * ln(INR) + 1.485 * ln(creatinine_umol_l) + 3.13 * ln(bilirubin_umol_l) - 81.565 * ln(sodium_mmol_l) + 435","inr":1.2,"sodium_mmol_l":135,"ukeld":54,"ukeld_band":"listing_threshold"},{"bilirubin_umol_l":40,"citation":{"authors":"Barber K, Madden S, Allen J, Collett D, Neuberger J, Gimson A; United Kingdom Liver Transplant Selection and Allocation Working Party","doi":"10.1097/TP.0b013e318225db4d","id":"barber-2011","pmid":"21775931","source":"Transplantation. 2011;92(4):469-476","title":"Elective liver transplant list mortality: development of a United Kingdom end-stage liver disease score"},"creatinine_umol_l":90,"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":"ukeld","formula_expression":"UKELD = 5.395 * ln(INR) + 1.485 * ln(creatinine_umol_l) + 3.13 * ln(bilirubin_umol_l) - 81.565 * ln(sodium_mmol_l) + 435","inr":1.2,"sodium_mmol_l":135,"ukeld":54,"ukeld_band":"listing_threshold"}],"path":"/api/calc/ukeld"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1. Provide this or bilirubin_umol_l, not both.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Provide this or bilirubin_mg_dl, not both. Barber 2011 uses µmol/L; no MELD floor.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42. Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl, not both. Barber 2011 uses µmol/L; no MELD floor.","type":"number"},"inr":{"description":"International normalized ratio (0.8-10). Barber 2011 does not floor INR at 1.","type":"number"},"sodium_mmol_l":{"description":"Serum sodium in mmol/L (110-160). Barber 2011 does not clamp sodium to 125–137.","type":"number"}},"required":["inr","sodium_mmol_l"],"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},{"id":39566,"slug":"39566","resource":"https://api.magentlab.com/api/calc/abic","description":"Dominguez 2008 ABIC score from age, bilirubin, creatinine, and INR. ABIC = (age * 0.1) + (bilirubin_mg_dl * 0.08) + (creatinine_mg_dl * 0.3) + (inr * 0.8). Low <6.71, intermediate 6.71–9.0, high >9.0. Not a diagnosis of alcoholic hepatitis and not a steroid or transplant order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"bilirubin_mg_dl":10,"bilirubin_umol_l":171,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"inr":1.5},{"age":50,"bilirubin_mg_dl":10,"bilirubin_umol_l":171,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"inr":1.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abic_band":"intermediate","abic_score":7.3,"age":50,"bilirubin_mg_dl":10,"citation":{"authors":"Dominguez M, Rincón D, Abraldes JG, Miquel R, Colmenero J, Bellot P, García-Pagán JC, Fernández J, Marín P, Guarner C, Arroyo V, Bruguera M, Bañares R, Ginès P, Caballería J","doi":"10.1111/j.1572-0241.2008.02104.x","id":"dominguez-2008","pmid":"18721242","source":"Am J Gastroenterol. 2008;103(11):2747-2756","title":"A new scoring system for prognostic stratification of patients with alcoholic hepatitis"},"creatinine_mg_dl":1,"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":"abic","formula_expression":"ABIC = (age * 0.1) + (bilirubin_mg_dl * 0.08) + (creatinine_mg_dl * 0.3) + (inr * 0.8)","inr":1.5},{"abic_band":"intermediate","abic_score":7.3,"age":50,"bilirubin_mg_dl":10,"citation":{"authors":"Dominguez M, Rincón D, Abraldes JG, Miquel R, Colmenero J, Bellot P, García-Pagán JC, Fernández J, Marín P, Guarner C, Arroyo V, Bruguera M, Bañares R, Ginès P, Caballería J","doi":"10.1111/j.1572-0241.2008.02104.x","id":"dominguez-2008","pmid":"18721242","source":"Am J Gastroenterol. 2008;103(11):2747-2756","title":"A new scoring system for prognostic stratification of patients with alcoholic hepatitis"},"creatinine_mg_dl":1,"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":"abic","formula_expression":"ABIC = (age * 0.1) + (bilirubin_mg_dl * 0.08) + (creatinine_mg_dl * 0.3) + (inr * 0.8)","inr":1.5}],"path":"/api/calc/abic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120).","type":"integer"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l, not both.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"inr":{"description":"International normalized ratio (0.8-10).","type":"number"}},"required":["age","inr"],"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":["abic","liver","hepatitis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:53:12.161Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:53:12.038Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"bilirubin_mg_dl":10,"bilirubin_umol_l":171,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"inr":1.5},{"age":50,"bilirubin_mg_dl":10,"bilirubin_umol_l":171,"creatinine_mg_dl":1,"creatinine_umol_l":88.42,"inr":1.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"abic_band":"intermediate","abic_score":7.3,"age":50,"bilirubin_mg_dl":10,"citation":{"authors":"Dominguez M, Rincón D, Abraldes JG, Miquel R, Colmenero J, Bellot P, García-Pagán JC, Fernández J, Marín P, Guarner C, Arroyo V, Bruguera M, Bañares R, Ginès P, Caballería J","doi":"10.1111/j.1572-0241.2008.02104.x","id":"dominguez-2008","pmid":"18721242","source":"Am J Gastroenterol. 2008;103(11):2747-2756","title":"A new scoring system for prognostic stratification of patients with alcoholic hepatitis"},"creatinine_mg_dl":1,"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":"abic","formula_expression":"ABIC = (age * 0.1) + (bilirubin_mg_dl * 0.08) + (creatinine_mg_dl * 0.3) + (inr * 0.8)","inr":1.5},{"abic_band":"intermediate","abic_score":7.3,"age":50,"bilirubin_mg_dl":10,"citation":{"authors":"Dominguez M, Rincón D, Abraldes JG, Miquel R, Colmenero J, Bellot P, García-Pagán JC, Fernández J, Marín P, Guarner C, Arroyo V, Bruguera M, Bañares R, Ginès P, Caballería J","doi":"10.1111/j.1572-0241.2008.02104.x","id":"dominguez-2008","pmid":"18721242","source":"Am J Gastroenterol. 2008;103(11):2747-2756","title":"A new scoring system for prognostic stratification of patients with alcoholic hepatitis"},"creatinine_mg_dl":1,"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":"abic","formula_expression":"ABIC = (age * 0.1) + (bilirubin_mg_dl * 0.08) + (creatinine_mg_dl * 0.3) + (inr * 0.8)","inr":1.5}],"path":"/api/calc/abic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120).","type":"integer"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l, not both.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"inr":{"description":"International normalized ratio (0.8-10).","type":"number"}},"required":["age","inr"],"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},{"id":39567,"slug":"39567","resource":"https://api.magentlab.com/api/calc/lille","description":"Lille model (Louvet 2007) from age, albumin, bilirubin at day 0 and day 7, creatinine, and PT seconds or INR. formula=pt or formula=inr is required; magent does not swap them. Score 0-1 with the published 0.45 cutoff. Deterministic published arithmetic with citation; not a medical device or a steroid order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"albumin_g_dl":3.5,"albumin_g_l":35,"bilirubin_day0_mg_dl":11.7,"bilirubin_day0_umol_l":200,"bilirubin_day7_mg_dl":8.8,"bilirubin_day7_umol_l":150,"creatinine_mg_dl":1,"creatinine_umol_l":88,"formula":"pt","inr":2,"pt_sec":18},{"age":50,"albumin_g_dl":3.5,"albumin_g_l":35,"bilirubin_day0_mg_dl":11.7,"bilirubin_day0_umol_l":200,"bilirubin_day7_mg_dl":8.8,"bilirubin_day7_umol_l":150,"creatinine_mg_dl":1,"creatinine_umol_l":88,"formula":"pt","inr":2,"pt_sec":18}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"albumin_g_l":35,"bilirubin_day0_umol_l":200,"bilirubin_day7_umol_l":150,"citation":{"authors":"Louvet A, Naveau S, Abdelnour M, et al.","doi":"10.1002/hep.21607","id":"louvet-2007","pmid":"17518367","source":"Hepatology. 2007;45(6):1348-1354","title":"The Lille model: a new tool for therapeutic strategy in patients with severe alcoholic hepatitis treated with steroids"},"creatinine_mg_dl":1,"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.","evolution_bilirubin_umol_l":50,"formula":"pt","formula_expression":"R = 3.19 - 0.101*age + 0.147*albumin_g_l + 0.0165*evolution_bilirubin_umol_l - 0.206*renal_insufficiency - 0.0065*bilirubin_day0_umol_l - 0.0096*pt_sec; lille_score = exp(-R)/(1+exp(-R))","lille_score":0.0668,"pt_sec":18,"r":2.6372,"renal_insufficiency":false,"response":"responder"},{"age_years":50,"albumin_g_l":35,"bilirubin_day0_umol_l":200,"bilirubin_day7_umol_l":150,"citation":{"authors":"Louvet A, Naveau S, Abdelnour M, et al.","doi":"10.1002/hep.21607","id":"louvet-2007","pmid":"17518367","source":"Hepatology. 2007;45(6):1348-1354","title":"The Lille model: a new tool for therapeutic strategy in patients with severe alcoholic hepatitis treated with steroids"},"creatinine_mg_dl":1,"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.","evolution_bilirubin_umol_l":50,"formula":"pt","formula_expression":"R = 3.19 - 0.101*age + 0.147*albumin_g_l + 0.0165*evolution_bilirubin_umol_l - 0.206*renal_insufficiency - 0.0065*bilirubin_day0_umol_l - 0.0096*pt_sec; lille_score = exp(-R)/(1+exp(-R))","lille_score":0.0668,"pt_sec":18,"r":2.6372,"renal_insufficiency":false,"response":"responder"}],"path":"/api/calc/lille"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"albumin_g_dl":{"description":"Day-0 albumin in g/dL (1-6). Converted as g/L = g/dL × 10.","type":"number"},"albumin_g_l":{"description":"Day-0 albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Louvet 2007 uses g/L.","type":"number"},"bilirubin_day0_mg_dl":{"description":"Day-0 total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1.","type":"number"},"bilirubin_day0_umol_l":{"description":"Day-0 total bilirubin in µmol/L (2-684). Provide this or bilirubin_day0_mg_dl.","type":"number"},"bilirubin_day7_mg_dl":{"description":"Day-7 total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1.","type":"number"},"bilirubin_day7_umol_l":{"description":"Day-7 total bilirubin in µmol/L (2-684). Provide this or bilirubin_day7_mg_dl.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Renal insufficiency is 1 when > 1.3 mg/dL if this unit is used (Louvet 2007).","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl. Renal insufficiency is 1 when > 115 µmol/L if this unit is used (Louvet 2007).","type":"number"},"formula":{"description":"pt (prothrombin time in seconds) or inr. Required; magent does not swap PT and INR.","enum":["pt","inr"],"type":"string"},"inr":{"description":"INR (0.8-10). Required when formula=inr. Ignored when formula=pt.","type":"number"},"pt_sec":{"description":"Prothrombin time in seconds (8-120). Required when formula=pt. Ignored when formula=inr.","type":"number"}},"required":["formula","age"],"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":["lille","liver","alcoholic-hepatitis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:53:04.857Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:53:04.728Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"albumin_g_dl":3.5,"albumin_g_l":35,"bilirubin_day0_mg_dl":11.7,"bilirubin_day0_umol_l":200,"bilirubin_day7_mg_dl":8.8,"bilirubin_day7_umol_l":150,"creatinine_mg_dl":1,"creatinine_umol_l":88,"formula":"pt","inr":2,"pt_sec":18},{"age":50,"albumin_g_dl":3.5,"albumin_g_l":35,"bilirubin_day0_mg_dl":11.7,"bilirubin_day0_umol_l":200,"bilirubin_day7_mg_dl":8.8,"bilirubin_day7_umol_l":150,"creatinine_mg_dl":1,"creatinine_umol_l":88,"formula":"pt","inr":2,"pt_sec":18}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"albumin_g_l":35,"bilirubin_day0_umol_l":200,"bilirubin_day7_umol_l":150,"citation":{"authors":"Louvet A, Naveau S, Abdelnour M, et al.","doi":"10.1002/hep.21607","id":"louvet-2007","pmid":"17518367","source":"Hepatology. 2007;45(6):1348-1354","title":"The Lille model: a new tool for therapeutic strategy in patients with severe alcoholic hepatitis treated with steroids"},"creatinine_mg_dl":1,"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.","evolution_bilirubin_umol_l":50,"formula":"pt","formula_expression":"R = 3.19 - 0.101*age + 0.147*albumin_g_l + 0.0165*evolution_bilirubin_umol_l - 0.206*renal_insufficiency - 0.0065*bilirubin_day0_umol_l - 0.0096*pt_sec; lille_score = exp(-R)/(1+exp(-R))","lille_score":0.0668,"pt_sec":18,"r":2.6372,"renal_insufficiency":false,"response":"responder"},{"age_years":50,"albumin_g_l":35,"bilirubin_day0_umol_l":200,"bilirubin_day7_umol_l":150,"citation":{"authors":"Louvet A, Naveau S, Abdelnour M, et al.","doi":"10.1002/hep.21607","id":"louvet-2007","pmid":"17518367","source":"Hepatology. 2007;45(6):1348-1354","title":"The Lille model: a new tool for therapeutic strategy in patients with severe alcoholic hepatitis treated with steroids"},"creatinine_mg_dl":1,"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.","evolution_bilirubin_umol_l":50,"formula":"pt","formula_expression":"R = 3.19 - 0.101*age + 0.147*albumin_g_l + 0.0165*evolution_bilirubin_umol_l - 0.206*renal_insufficiency - 0.0065*bilirubin_day0_umol_l - 0.0096*pt_sec; lille_score = exp(-R)/(1+exp(-R))","lille_score":0.0668,"pt_sec":18,"r":2.6372,"renal_insufficiency":false,"response":"responder"}],"path":"/api/calc/lille"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"albumin_g_dl":{"description":"Day-0 albumin in g/dL (1-6). Converted as g/L = g/dL × 10.","type":"number"},"albumin_g_l":{"description":"Day-0 albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Louvet 2007 uses g/L.","type":"number"},"bilirubin_day0_mg_dl":{"description":"Day-0 total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1.","type":"number"},"bilirubin_day0_umol_l":{"description":"Day-0 total bilirubin in µmol/L (2-684). Provide this or bilirubin_day0_mg_dl.","type":"number"},"bilirubin_day7_mg_dl":{"description":"Day-7 total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1.","type":"number"},"bilirubin_day7_umol_l":{"description":"Day-7 total bilirubin in µmol/L (2-684). Provide this or bilirubin_day7_mg_dl.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Renal insufficiency is 1 when > 1.3 mg/dL if this unit is used (Louvet 2007).","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl. Renal insufficiency is 1 when > 115 µmol/L if this unit is used (Louvet 2007).","type":"number"},"formula":{"description":"pt (prothrombin time in seconds) or inr. Required; magent does not swap PT and INR.","enum":["pt","inr"],"type":"string"},"inr":{"description":"INR (0.8-10). Required when formula=inr. Ignored when formula=pt.","type":"number"},"pt_sec":{"description":"Prothrombin time in seconds (8-120). Required when formula=pt. Ignored when formula=inr.","type":"number"}},"required":["formula","age"],"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},{"id":39568,"slug":"39568","resource":"https://api.magentlab.com/api/calc/fli","description":"Bedogni 2006 fatty liver index from caller-supplied BMI, waist, triglycerides (mg/dL or mmol/L), and GGT. FLI = logistic(L)*100 with L from loge triglycerides, BMI, loge GGT, and waist. FLI <30 rules out hepatic steatosis; FLI >=60 rules in; 30 to <60 indeterminate. Not a diagnosis, imaging substitute, hepatic steatosis index, NAFLD fibrosis score, FIB-4, or APRI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bmi_kg_m2":22,"ggt_u_l":20,"triglycerides_mg_dl":80,"triglycerides_mmol_l":0.9,"waist_cm":70},{"bmi_kg_m2":22,"ggt_u_l":20,"triglycerides_mg_dl":80,"triglycerides_mmol_l":0.9,"waist_cm":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bedogni_band":"rule_out","bmi_kg_m2":22,"citation":{"authors":"Bedogni G, Bellentani S, Miglioli L, Masutti F, Passalacqua M, Castiglione A, Tiribelli C","doi":"10.1186/1471-230X-6-33","id":"bedogni-2006","pmid":"17081293","source":"BMC Gastroenterol. 2006;6:33","title":"The Fatty Liver Index: a simple and accurate predictor of hepatic steatosis in the general population"},"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.","fli":6.6,"formula":"fli","formula_expression":"L = 0.953 * loge(triglycerides_mg_dl) + 0.139 * bmi_kg_m2 + 0.718 * loge(ggt_u_l) + 0.053 * waist_cm - 15.745; FLI = (e^L / (1 + e^L)) * 100","ggt_u_l":20,"l":-2.65,"triglycerides_mg_dl":80,"waist_cm":70},{"bedogni_band":"rule_out","bmi_kg_m2":22,"citation":{"authors":"Bedogni G, Bellentani S, Miglioli L, Masutti F, Passalacqua M, Castiglione A, Tiribelli C","doi":"10.1186/1471-230X-6-33","id":"bedogni-2006","pmid":"17081293","source":"BMC Gastroenterol. 2006;6:33","title":"The Fatty Liver Index: a simple and accurate predictor of hepatic steatosis in the general population"},"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.","fli":6.6,"formula":"fli","formula_expression":"L = 0.953 * loge(triglycerides_mg_dl) + 0.139 * bmi_kg_m2 + 0.718 * loge(ggt_u_l) + 0.053 * waist_cm - 15.745; FLI = (e^L / (1 + e^L)) * 100","ggt_u_l":20,"l":-2.65,"triglycerides_mg_dl":80,"waist_cm":70}],"path":"/api/calc/fli"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI.","type":"number"},"ggt_u_l":{"description":"Gamma-glutamyltransferase in U/L (1-2000).","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (10-2000). Italian lab units in Bedogni 2006. Provide this or triglycerides_mmol_l, not both.","type":"number"},"triglycerides_mmol_l":{"description":"Triglycerides in mmol/L (0.11-22.6). Converted as mg/dL = mmol/L * 88.57. Provide this or triglycerides_mg_dl, not both.","type":"number"},"waist_cm":{"description":"Waist circumference in cm (40-200).","type":"number"}},"required":["bmi_kg_m2","waist_cm","ggt_u_l"],"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":["fli","liver","steatosis","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:52:52.676Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:52:52.552Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bmi_kg_m2":22,"ggt_u_l":20,"triglycerides_mg_dl":80,"triglycerides_mmol_l":0.9,"waist_cm":70},{"bmi_kg_m2":22,"ggt_u_l":20,"triglycerides_mg_dl":80,"triglycerides_mmol_l":0.9,"waist_cm":70}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"bedogni_band":"rule_out","bmi_kg_m2":22,"citation":{"authors":"Bedogni G, Bellentani S, Miglioli L, Masutti F, Passalacqua M, Castiglione A, Tiribelli C","doi":"10.1186/1471-230X-6-33","id":"bedogni-2006","pmid":"17081293","source":"BMC Gastroenterol. 2006;6:33","title":"The Fatty Liver Index: a simple and accurate predictor of hepatic steatosis in the general population"},"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.","fli":6.6,"formula":"fli","formula_expression":"L = 0.953 * loge(triglycerides_mg_dl) + 0.139 * bmi_kg_m2 + 0.718 * loge(ggt_u_l) + 0.053 * waist_cm - 15.745; FLI = (e^L / (1 + e^L)) * 100","ggt_u_l":20,"l":-2.65,"triglycerides_mg_dl":80,"waist_cm":70},{"bedogni_band":"rule_out","bmi_kg_m2":22,"citation":{"authors":"Bedogni G, Bellentani S, Miglioli L, Masutti F, Passalacqua M, Castiglione A, Tiribelli C","doi":"10.1186/1471-230X-6-33","id":"bedogni-2006","pmid":"17081293","source":"BMC Gastroenterol. 2006;6:33","title":"The Fatty Liver Index: a simple and accurate predictor of hepatic steatosis in the general population"},"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.","fli":6.6,"formula":"fli","formula_expression":"L = 0.953 * loge(triglycerides_mg_dl) + 0.139 * bmi_kg_m2 + 0.718 * loge(ggt_u_l) + 0.053 * waist_cm - 15.745; FLI = (e^L / (1 + e^L)) * 100","ggt_u_l":20,"l":-2.65,"triglycerides_mg_dl":80,"waist_cm":70}],"path":"/api/calc/fli"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI.","type":"number"},"ggt_u_l":{"description":"Gamma-glutamyltransferase in U/L (1-2000).","type":"number"},"triglycerides_mg_dl":{"description":"Triglycerides in mg/dL (10-2000). Italian lab units in Bedogni 2006. Provide this or triglycerides_mmol_l, not both.","type":"number"},"triglycerides_mmol_l":{"description":"Triglycerides in mmol/L (0.11-22.6). Converted as mg/dL = mmol/L * 88.57. Provide this or triglycerides_mg_dl, not both.","type":"number"},"waist_cm":{"description":"Waist circumference in cm (40-200).","type":"number"}},"required":["bmi_kg_m2","waist_cm","ggt_u_l"],"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},{"id":39569,"slug":"39569","resource":"https://api.magentlab.com/api/calc/nafld_fibrosis","description":"Angulo 2007 NAFLD fibrosis score from age, BMI, IFG/diabetes, AST, ALT, platelets, and albumin. Deterministic published equation with citation. Not a biopsy or diagnosis. Not FIB-4, APRI, or BARD.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"albumin_g_dl":4,"albumin_g_l":40,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"ifg_or_diabetes":true,"platelets_10e9_l":200},{"age":50,"albumin_g_dl":4,"albumin_g_l":40,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"ifg_or_diabetes":true,"platelets_10e9_l":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"albumin_g_dl":4,"alt_u_l":40,"angulo_band":"indeterminate","ast_alt_ratio":1,"ast_u_l":40,"bmi_kg_m2":30,"citation":{"authors":"Angulo P, Hui JM, Marchesini G, et al.","doi":"10.1002/hep.21496","id":"angulo-2007","source":"Hepatology. 2007;45(4):846-854","title":"The NAFLD fibrosis score: a noninvasive system that identifies liver fibrosis in patients with NAFLD"},"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":"nafld_fibrosis","formula_expression":"NFS = -1.675 + 0.037*age + 0.094*BMI + 1.13*IFG/diabetes + 0.99*(AST/ALT) - 0.013*platelets - 0.66*albumin","ifg_or_diabetes":true,"nfs":-0.125,"platelets_10e9_l":200},{"age_years":50,"albumin_g_dl":4,"alt_u_l":40,"angulo_band":"indeterminate","ast_alt_ratio":1,"ast_u_l":40,"bmi_kg_m2":30,"citation":{"authors":"Angulo P, Hui JM, Marchesini G, et al.","doi":"10.1002/hep.21496","id":"angulo-2007","source":"Hepatology. 2007;45(4):846-854","title":"The NAFLD fibrosis score: a noninvasive system that identifies liver fibrosis in patients with NAFLD"},"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":"nafld_fibrosis","formula_expression":"NFS = -1.675 + 0.037*age + 0.094*BMI + 1.13*IFG/diabetes + 0.99*(AST/ALT) - 0.013*platelets - 0.66*albumin","ifg_or_diabetes":true,"nfs":-0.125,"platelets_10e9_l":200}],"path":"/api/calc/nafld_fibrosis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide albumin_g_dl or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L (10-60). Converted as g/dL = g/L / 10.","type":"number"},"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000).","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000).","type":"number"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI.","type":"number"},"ifg_or_diabetes":{"description":"Impaired fasting glucose or diabetes as assigned by the caller (Angulo 2007 IFG/diabetes term). true or false.","type":"boolean"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000).","type":"number"}},"required":["age","bmi_kg_m2","ifg_or_diabetes","ast_u_l","alt_u_l","platelets_10e9_l"],"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":["nfs","nafld","fibrosis","liver","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:52:39.937Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:52:39.809Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"albumin_g_dl":4,"albumin_g_l":40,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"ifg_or_diabetes":true,"platelets_10e9_l":200},{"age":50,"albumin_g_dl":4,"albumin_g_l":40,"alt_u_l":40,"ast_u_l":40,"bmi_kg_m2":30,"ifg_or_diabetes":true,"platelets_10e9_l":200}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"albumin_g_dl":4,"alt_u_l":40,"angulo_band":"indeterminate","ast_alt_ratio":1,"ast_u_l":40,"bmi_kg_m2":30,"citation":{"authors":"Angulo P, Hui JM, Marchesini G, et al.","doi":"10.1002/hep.21496","id":"angulo-2007","source":"Hepatology. 2007;45(4):846-854","title":"The NAFLD fibrosis score: a noninvasive system that identifies liver fibrosis in patients with NAFLD"},"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":"nafld_fibrosis","formula_expression":"NFS = -1.675 + 0.037*age + 0.094*BMI + 1.13*IFG/diabetes + 0.99*(AST/ALT) - 0.013*platelets - 0.66*albumin","ifg_or_diabetes":true,"nfs":-0.125,"platelets_10e9_l":200},{"age_years":50,"albumin_g_dl":4,"alt_u_l":40,"angulo_band":"indeterminate","ast_alt_ratio":1,"ast_u_l":40,"bmi_kg_m2":30,"citation":{"authors":"Angulo P, Hui JM, Marchesini G, et al.","doi":"10.1002/hep.21496","id":"angulo-2007","source":"Hepatology. 2007;45(4):846-854","title":"The NAFLD fibrosis score: a noninvasive system that identifies liver fibrosis in patients with NAFLD"},"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":"nafld_fibrosis","formula_expression":"NFS = -1.675 + 0.037*age + 0.094*BMI + 1.13*IFG/diabetes + 0.99*(AST/ALT) - 0.013*platelets - 0.66*albumin","ifg_or_diabetes":true,"nfs":-0.125,"platelets_10e9_l":200}],"path":"/api/calc/nafld_fibrosis"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120).","type":"integer"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide albumin_g_dl or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L (10-60). Converted as g/dL = g/L / 10.","type":"number"},"alt_u_l":{"description":"Alanine aminotransferase in U/L (1-10000).","type":"number"},"ast_u_l":{"description":"Aspartate aminotransferase in U/L (1-10000).","type":"number"},"bmi_kg_m2":{"description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI.","type":"number"},"ifg_or_diabetes":{"description":"Impaired fasting glucose or diabetes as assigned by the caller (Angulo 2007 IFG/diabetes term). true or false.","type":"boolean"},"platelets_10e9_l":{"description":"Platelet count in 10^9/L (1-2000).","type":"number"}},"required":["age","bmi_kg_m2","ifg_or_diabetes","ast_u_l","alt_u_l","platelets_10e9_l"],"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},{"id":39570,"slug":"39570","resource":"https://api.magentlab.com/api/calc/gahs","description":"Forrest 2005 Glasgow alcoholic hepatitis score from age, WBC, urea, PT ratio, and bilirubin (range 5-12) with the published ≥9 band. Deterministic published arithmetic with citation; not a steroid order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"bilirubin_mg_dl":4.7,"bilirubin_umol_l":80,"bun_mg_dl":11.2,"pt_ratio":1.2,"urea_mmol_l":4,"wbc_k_ul":8,"wbc_ul":8000},{"age":40,"bilirubin_mg_dl":4.7,"bilirubin_umol_l":80,"bun_mg_dl":11.2,"pt_ratio":1.2,"urea_mmol_l":4,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"bilirubin_umol_l":80,"citation":{"authors":"Forrest EH, Evans CD, Stewart S, et al.","doi":"10.1136/gut.2004.050781","id":"forrest-2005","source":"Gut. 2005;54(8):1174-1179","title":"Analysis of factors predictive of mortality in alcoholic hepatitis and derivation and validation of the Glasgow alcoholic hepatitis score"},"components":[{"factor":"age","points":1,"present":false,"value":40},{"factor":"wbc","points":1,"present":false,"value":8},{"factor":"urea","points":1,"present":false,"value":4},{"factor":"pt_ratio","points":1,"present":false,"value":1.2},{"factor":"bilirubin","points":1,"present":false,"value":80}],"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":"gahs","formula_expression":"GAHS = age_points + wbc_points + urea_points + pt_ratio_points + bilirubin_points; range 5-12","gahs_band":"lt_9","max_score":12,"min_score":5,"pt_ratio":1.2,"score":5,"urea_mmol_l":4,"wbc_k_ul":8},{"age_years":40,"bilirubin_umol_l":80,"citation":{"authors":"Forrest EH, Evans CD, Stewart S, et al.","doi":"10.1136/gut.2004.050781","id":"forrest-2005","source":"Gut. 2005;54(8):1174-1179","title":"Analysis of factors predictive of mortality in alcoholic hepatitis and derivation and validation of the Glasgow alcoholic hepatitis score"},"components":[{"factor":"age","points":1,"present":false,"value":40},{"factor":"wbc","points":1,"present":false,"value":8},{"factor":"urea","points":1,"present":false,"value":4},{"factor":"pt_ratio","points":1,"present":false,"value":1.2},{"factor":"bilirubin","points":1,"present":false,"value":80}],"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":"gahs","formula_expression":"GAHS = age_points + wbc_points + urea_points + pt_ratio_points + bilirubin_points; range 5-12","gahs_band":"lt_9","max_score":12,"min_score":5,"pt_ratio":1.2,"score":5,"urea_mmol_l":4,"wbc_k_ul":8}],"path":"/api/calc/gahs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). <50 scores 1; ≥50 scores 2 (Forrest 2005).","type":"integer"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Provide this or bilirubin_mg_dl. <125 scores 1; 125-250 scores 2; >250 scores 3.","type":"number"},"bun_mg_dl":{"description":"BUN in mg/dL (3-140). Converted as urea_mmol_l = bun_mg_dl / 2.8.","type":"number"},"pt_ratio":{"description":"Prothrombin-time ratio (0.8-10). <1.5 scores 1; 1.5-2.0 scores 2; >2.0 scores 3.","type":"number"},"urea_mmol_l":{"description":"Urea in mmol/L (1-50). Provide this or bun_mg_dl, not both. <5 scores 1; ≥5 scores 2.","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. <15 scores 1; ≥15 scores 2.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL. Converted as K/µL = cells/µL / 1000.","type":"number"}},"required":["age","pt_ratio"],"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":["gahs","alcoholic-hepatitis","liver","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:52:32.54Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:52:32.413Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"bilirubin_mg_dl":4.7,"bilirubin_umol_l":80,"bun_mg_dl":11.2,"pt_ratio":1.2,"urea_mmol_l":4,"wbc_k_ul":8,"wbc_ul":8000},{"age":40,"bilirubin_mg_dl":4.7,"bilirubin_umol_l":80,"bun_mg_dl":11.2,"pt_ratio":1.2,"urea_mmol_l":4,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"bilirubin_umol_l":80,"citation":{"authors":"Forrest EH, Evans CD, Stewart S, et al.","doi":"10.1136/gut.2004.050781","id":"forrest-2005","source":"Gut. 2005;54(8):1174-1179","title":"Analysis of factors predictive of mortality in alcoholic hepatitis and derivation and validation of the Glasgow alcoholic hepatitis score"},"components":[{"factor":"age","points":1,"present":false,"value":40},{"factor":"wbc","points":1,"present":false,"value":8},{"factor":"urea","points":1,"present":false,"value":4},{"factor":"pt_ratio","points":1,"present":false,"value":1.2},{"factor":"bilirubin","points":1,"present":false,"value":80}],"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":"gahs","formula_expression":"GAHS = age_points + wbc_points + urea_points + pt_ratio_points + bilirubin_points; range 5-12","gahs_band":"lt_9","max_score":12,"min_score":5,"pt_ratio":1.2,"score":5,"urea_mmol_l":4,"wbc_k_ul":8},{"age_years":40,"bilirubin_umol_l":80,"citation":{"authors":"Forrest EH, Evans CD, Stewart S, et al.","doi":"10.1136/gut.2004.050781","id":"forrest-2005","source":"Gut. 2005;54(8):1174-1179","title":"Analysis of factors predictive of mortality in alcoholic hepatitis and derivation and validation of the Glasgow alcoholic hepatitis score"},"components":[{"factor":"age","points":1,"present":false,"value":40},{"factor":"wbc","points":1,"present":false,"value":8},{"factor":"urea","points":1,"present":false,"value":4},{"factor":"pt_ratio","points":1,"present":false,"value":1.2},{"factor":"bilirubin","points":1,"present":false,"value":80}],"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":"gahs","formula_expression":"GAHS = age_points + wbc_points + urea_points + pt_ratio_points + bilirubin_points; range 5-12","gahs_band":"lt_9","max_score":12,"min_score":5,"pt_ratio":1.2,"score":5,"urea_mmol_l":4,"wbc_k_ul":8}],"path":"/api/calc/gahs"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). <50 scores 1; ≥50 scores 2 (Forrest 2005).","type":"integer"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Provide this or bilirubin_mg_dl. <125 scores 1; 125-250 scores 2; >250 scores 3.","type":"number"},"bun_mg_dl":{"description":"BUN in mg/dL (3-140). Converted as urea_mmol_l = bun_mg_dl / 2.8.","type":"number"},"pt_ratio":{"description":"Prothrombin-time ratio (0.8-10). <1.5 scores 1; 1.5-2.0 scores 2; >2.0 scores 3.","type":"number"},"urea_mmol_l":{"description":"Urea in mmol/L (1-50). Provide this or bun_mg_dl, not both. <5 scores 1; ≥5 scores 2.","type":"number"},"wbc_k_ul":{"description":"WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. <15 scores 1; ≥15 scores 2.","type":"number"},"wbc_ul":{"description":"WBC in cells/µL. Converted as K/µL = cells/µL / 1000.","type":"number"}},"required":["age","pt_ratio"],"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},{"id":39571,"slug":"39571","resource":"https://api.magentlab.com/api/calc/peld_cr","description":"OPTN Policy 9 Table 9-1 PELD-Cr from age, albumin, bilirubin, INR, creatinine or dialysis/CVVHD, and caller-assigned minimum CDC height or weight Z-score. PELD = (sum of Table 9-1 terms + 1.5287) × 10 + 2.82; nearest integer; minimum 6. Albumin, bilirubin, and INR floor at 1.0; creatinine 1.3 mg/dL if >1.3 or dialysis/CVVHD. Not a transplant listing order. magent does not compute CDC LMS Z from height or weight.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":2,"albumin_g_dl":2.5,"albumin_g_l":25,"bilirubin_mg_dl":4,"bilirubin_umol_l":68.4,"creatinine_mg_dl":0.4,"creatinine_umol_l":35.368,"dialysis_or_cvvhd":false,"inr":1.5,"min_cdc_z":0},{"age_years":2,"albumin_g_dl":2.5,"albumin_g_l":25,"bilirubin_mg_dl":4,"bilirubin_umol_l":68.4,"creatinine_mg_dl":0.4,"creatinine_umol_l":35.368,"dialysis_or_cvvhd":false,"inr":1.5,"min_cdc_z":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_used_years":2,"age_years":2,"albumin_g_dl":2.5,"albumin_used_g_dl":1.9,"bilirubin_mg_dl":4,"bilirubin_used_mg_dl":4,"citation":{"authors":"Organ Procurement and Transplantation Network","id":"optn-2023-peld-cr","source":"OPTN Policy 9.1.E / Table 9-1 (policy notice June 2022; implementation 13 Jul 2023)","title":"Improving Liver Allocation: MELD, PELD, Status 1A and Status 1B"},"creatinine_mg_dl":0.4,"creatinine_used_mg_dl":0.4,"dialysis_or_cvvhd":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":"optn_peld_cr_2023","formula_expression":"PELD = round((sum of OPTN Policy 9 Table 9-1 terms + 1.5287)*10 + 2.82); min 6. Age (fractional years, <12): <1 → -0.1967*1; 1-5.5 → -0.1967*age; >5.5 → -0.1967*5.5. Albumin g/dL (floor 1.0): 1-1.9 → -1.842*ln(albumin); >1.9 → -1.842*ln(1.9). Bilirubin mg/dL (floor 1.0): 1-4 → 0.7854*ln(bilirubin)+0.3434*ln(4); >4-40 → 0.7854*ln(4)+0.3434*ln(bilirubin); >40 → 0.7854*ln(4)+0.3434*ln(40). INR (floor 1.0): 1-2 → 1.981*ln(INR)+0.7298*ln(2); >2-10 → 1.981*ln(2)+0.7298*ln(INR); >10 → 1.981*ln(2)+0.7298*ln(10). Min CDC height/weight Z: <-5 → -0.1807*(-5); -5 to -2.1 → -0.1807*Z; >-2.1 → -0.1807*(-2.1). Creatinine mg/dL (1.3 if >1.3 or dialysis/CVVHD): <0.2 → 1.453*ln(0.2); 0.2-1.3 → 1.453*ln(creatinine); >1.3 → 1.453*ln(1.3)","inr":1.5,"inr_used":1.5,"min_cdc_z":0,"min_cdc_z_used":-2.1,"peld_cr":22},{"age_used_years":2,"age_years":2,"albumin_g_dl":2.5,"albumin_used_g_dl":1.9,"bilirubin_mg_dl":4,"bilirubin_used_mg_dl":4,"citation":{"authors":"Organ Procurement and Transplantation Network","id":"optn-2023-peld-cr","source":"OPTN Policy 9.1.E / Table 9-1 (policy notice June 2022; implementation 13 Jul 2023)","title":"Improving Liver Allocation: MELD, PELD, Status 1A and Status 1B"},"creatinine_mg_dl":0.4,"creatinine_used_mg_dl":0.4,"dialysis_or_cvvhd":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":"optn_peld_cr_2023","formula_expression":"PELD = round((sum of OPTN Policy 9 Table 9-1 terms + 1.5287)*10 + 2.82); min 6. Age (fractional years, <12): <1 → -0.1967*1; 1-5.5 → -0.1967*age; >5.5 → -0.1967*5.5. Albumin g/dL (floor 1.0): 1-1.9 → -1.842*ln(albumin); >1.9 → -1.842*ln(1.9). Bilirubin mg/dL (floor 1.0): 1-4 → 0.7854*ln(bilirubin)+0.3434*ln(4); >4-40 → 0.7854*ln(4)+0.3434*ln(bilirubin); >40 → 0.7854*ln(4)+0.3434*ln(40). INR (floor 1.0): 1-2 → 1.981*ln(INR)+0.7298*ln(2); >2-10 → 1.981*ln(2)+0.7298*ln(INR); >10 → 1.981*ln(2)+0.7298*ln(10). Min CDC height/weight Z: <-5 → -0.1807*(-5); -5 to -2.1 → -0.1807*Z; >-2.1 → -0.1807*(-2.1). Creatinine mg/dL (1.3 if >1.3 or dialysis/CVVHD): <0.2 → 1.453*ln(0.2); 0.2-1.3 → 1.453*ln(creatinine); >1.3 → 1.453*ln(1.3)","inr":1.5,"inr_used":1.5,"min_cdc_z":0,"min_cdc_z_used":-2.1,"peld_cr":22}],"path":"/api/calc/peld_cr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in fractional calendar years (0 to under 12). Table 9-1 uses 1.0 below age 1 and 5.5 above 5.5 years. PELD-Cr is for candidates under 12.","type":"number"},"albumin_g_dl":{"description":"Serum albumin in g/dL (0.1-6). Provide this or albumin_g_l, not both. Policy floors at 1.0; Table 9-1 uses ln(1.9) above 1.9.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (1-60). Converted as g/dL = g/L / 10.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-80). Provide this or bilirubin_umol_l, not both. Policy floors at 1.0; Table 9-1 knots at 4 and 40.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-1368). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Table 9-1 floors at 0.2 and assigns 1.3 if >1.3 or dialysis_or_cvvhd is true.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"dialysis_or_cvvhd":{"description":"True when the candidate had two or more dialysis treatments in the prior 7 days, or 24 hours of CVVHD in the prior 7 days. Assigns creatinine 1.3 mg/dL.","type":"boolean"},"inr":{"description":"INR (0.8-20). Policy floors at 1.0; Table 9-1 knots at 2 and 10.","type":"number"},"min_cdc_z":{"description":"Caller-assigned minimum of CDC 2000 height or weight Z-score (LMS). magent does not compute Z from height or weight. Table 9-1 clamps -5.0 to -2.1.","type":"number"}},"required":["age_years","inr","dialysis_or_cvvhd","min_cdc_z"],"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":["peld-cr","liver","pediatric","optn","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:52:19.615Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:52:19.441Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":2,"albumin_g_dl":2.5,"albumin_g_l":25,"bilirubin_mg_dl":4,"bilirubin_umol_l":68.4,"creatinine_mg_dl":0.4,"creatinine_umol_l":35.368,"dialysis_or_cvvhd":false,"inr":1.5,"min_cdc_z":0},{"age_years":2,"albumin_g_dl":2.5,"albumin_g_l":25,"bilirubin_mg_dl":4,"bilirubin_umol_l":68.4,"creatinine_mg_dl":0.4,"creatinine_umol_l":35.368,"dialysis_or_cvvhd":false,"inr":1.5,"min_cdc_z":0}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_used_years":2,"age_years":2,"albumin_g_dl":2.5,"albumin_used_g_dl":1.9,"bilirubin_mg_dl":4,"bilirubin_used_mg_dl":4,"citation":{"authors":"Organ Procurement and Transplantation Network","id":"optn-2023-peld-cr","source":"OPTN Policy 9.1.E / Table 9-1 (policy notice June 2022; implementation 13 Jul 2023)","title":"Improving Liver Allocation: MELD, PELD, Status 1A and Status 1B"},"creatinine_mg_dl":0.4,"creatinine_used_mg_dl":0.4,"dialysis_or_cvvhd":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":"optn_peld_cr_2023","formula_expression":"PELD = round((sum of OPTN Policy 9 Table 9-1 terms + 1.5287)*10 + 2.82); min 6. Age (fractional years, <12): <1 → -0.1967*1; 1-5.5 → -0.1967*age; >5.5 → -0.1967*5.5. Albumin g/dL (floor 1.0): 1-1.9 → -1.842*ln(albumin); >1.9 → -1.842*ln(1.9). Bilirubin mg/dL (floor 1.0): 1-4 → 0.7854*ln(bilirubin)+0.3434*ln(4); >4-40 → 0.7854*ln(4)+0.3434*ln(bilirubin); >40 → 0.7854*ln(4)+0.3434*ln(40). INR (floor 1.0): 1-2 → 1.981*ln(INR)+0.7298*ln(2); >2-10 → 1.981*ln(2)+0.7298*ln(INR); >10 → 1.981*ln(2)+0.7298*ln(10). Min CDC height/weight Z: <-5 → -0.1807*(-5); -5 to -2.1 → -0.1807*Z; >-2.1 → -0.1807*(-2.1). Creatinine mg/dL (1.3 if >1.3 or dialysis/CVVHD): <0.2 → 1.453*ln(0.2); 0.2-1.3 → 1.453*ln(creatinine); >1.3 → 1.453*ln(1.3)","inr":1.5,"inr_used":1.5,"min_cdc_z":0,"min_cdc_z_used":-2.1,"peld_cr":22},{"age_used_years":2,"age_years":2,"albumin_g_dl":2.5,"albumin_used_g_dl":1.9,"bilirubin_mg_dl":4,"bilirubin_used_mg_dl":4,"citation":{"authors":"Organ Procurement and Transplantation Network","id":"optn-2023-peld-cr","source":"OPTN Policy 9.1.E / Table 9-1 (policy notice June 2022; implementation 13 Jul 2023)","title":"Improving Liver Allocation: MELD, PELD, Status 1A and Status 1B"},"creatinine_mg_dl":0.4,"creatinine_used_mg_dl":0.4,"dialysis_or_cvvhd":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":"optn_peld_cr_2023","formula_expression":"PELD = round((sum of OPTN Policy 9 Table 9-1 terms + 1.5287)*10 + 2.82); min 6. Age (fractional years, <12): <1 → -0.1967*1; 1-5.5 → -0.1967*age; >5.5 → -0.1967*5.5. Albumin g/dL (floor 1.0): 1-1.9 → -1.842*ln(albumin); >1.9 → -1.842*ln(1.9). Bilirubin mg/dL (floor 1.0): 1-4 → 0.7854*ln(bilirubin)+0.3434*ln(4); >4-40 → 0.7854*ln(4)+0.3434*ln(bilirubin); >40 → 0.7854*ln(4)+0.3434*ln(40). INR (floor 1.0): 1-2 → 1.981*ln(INR)+0.7298*ln(2); >2-10 → 1.981*ln(2)+0.7298*ln(INR); >10 → 1.981*ln(2)+0.7298*ln(10). Min CDC height/weight Z: <-5 → -0.1807*(-5); -5 to -2.1 → -0.1807*Z; >-2.1 → -0.1807*(-2.1). Creatinine mg/dL (1.3 if >1.3 or dialysis/CVVHD): <0.2 → 1.453*ln(0.2); 0.2-1.3 → 1.453*ln(creatinine); >1.3 → 1.453*ln(1.3)","inr":1.5,"inr_used":1.5,"min_cdc_z":0,"min_cdc_z_used":-2.1,"peld_cr":22}],"path":"/api/calc/peld_cr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in fractional calendar years (0 to under 12). Table 9-1 uses 1.0 below age 1 and 5.5 above 5.5 years. PELD-Cr is for candidates under 12.","type":"number"},"albumin_g_dl":{"description":"Serum albumin in g/dL (0.1-6). Provide this or albumin_g_l, not both. Policy floors at 1.0; Table 9-1 uses ln(1.9) above 1.9.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (1-60). Converted as g/dL = g/L / 10.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-80). Provide this or bilirubin_umol_l, not both. Policy floors at 1.0; Table 9-1 knots at 4 and 40.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-1368). Converted as mg/dL = µmol/L / 17.1.","type":"number"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Table 9-1 floors at 0.2 and assigns 1.3 if >1.3 or dialysis_or_cvvhd is true.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42.","type":"number"},"dialysis_or_cvvhd":{"description":"True when the candidate had two or more dialysis treatments in the prior 7 days, or 24 hours of CVVHD in the prior 7 days. Assigns creatinine 1.3 mg/dL.","type":"boolean"},"inr":{"description":"INR (0.8-20). Policy floors at 1.0; Table 9-1 knots at 2 and 10.","type":"number"},"min_cdc_z":{"description":"Caller-assigned minimum of CDC 2000 height or weight Z-score (LMS). magent does not compute Z from height or weight. Table 9-1 clamps -5.0 to -2.1.","type":"number"}},"required":["age_years","inr","dialysis_or_cvvhd","min_cdc_z"],"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},{"id":39572,"slug":"39572","resource":"https://api.magentlab.com/api/calc/peld","description":"McDiarmid 2002 PELD from bilirubin, INR, albumin, age under 1 year, and growth failure. Deterministic published listing arithmetic with citation; not a transplant listing recommendation.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":2,"albumin_g_dl":2.5,"albumin_g_l":25,"bilirubin_mg_dl":4,"bilirubin_umol_l":68.4,"growth_failure":false,"inr":1.5},{"age_years":2,"albumin_g_dl":2.5,"albumin_g_l":25,"bilirubin_mg_dl":4,"bilirubin_umol_l":68.4,"growth_failure":false,"inr":1.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_lt_1":false,"age_years":2,"albumin_g_dl":2.5,"albumin_used_g_dl":2.5,"bilirubin_mg_dl":4,"bilirubin_used_mg_dl":4,"citation":{"authors":"McDiarmid SV, Anand R, Lindblad AS; SPLIT Research Group","doi":"10.1097/00007890-200207270-00006","id":"mcdiarmid-2002","source":"Transplantation. 2002;74(2):173-181","title":"Development of a pediatric end-stage liver disease score to predict poor outcome in children awaiting liver transplantation"},"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":"peld","formula_expression":"raw = 0.480*ln(bili) + 1.857*ln(INR) - 0.687*ln(albumin) + 0.436*[age<1] + 0.667*[growth_failure]; PELD = round(10 * raw); bili, INR, and albumin floored at 1.0","growth_failure":false,"inr":1.5,"inr_used":1.5,"peld":8},{"age_lt_1":false,"age_years":2,"albumin_g_dl":2.5,"albumin_used_g_dl":2.5,"bilirubin_mg_dl":4,"bilirubin_used_mg_dl":4,"citation":{"authors":"McDiarmid SV, Anand R, Lindblad AS; SPLIT Research Group","doi":"10.1097/00007890-200207270-00006","id":"mcdiarmid-2002","source":"Transplantation. 2002;74(2):173-181","title":"Development of a pediatric end-stage liver disease score to predict poor outcome in children awaiting liver transplantation"},"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":"peld","formula_expression":"raw = 0.480*ln(bili) + 1.857*ln(INR) - 0.687*ln(albumin) + 0.436*[age<1] + 0.667*[growth_failure]; PELD = round(10 * raw); bili, INR, and albumin floored at 1.0","growth_failure":false,"inr":1.5,"inr_used":1.5,"peld":8}],"path":"/api/calc/peld"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (0-11 inclusive). PELD is for children under 12. Age under 1 adds 0.436 before scaling.","type":"number"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Floored at 1.0 before ln.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L. Converted as g/dL = g/L / 10.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l, not both. Floored at 1.0 before ln.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1.","type":"number"},"growth_failure":{"description":"Growth failure as assigned by the caller. true adds 0.667 before scaling.","type":"boolean"},"inr":{"description":"INR (0.8-10). Floored at 1.0 before ln.","type":"number"}},"required":["age_years","inr","growth_failure"],"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":["peld","liver","pediatric","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:52:12.423Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:52:12.295Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":2,"albumin_g_dl":2.5,"albumin_g_l":25,"bilirubin_mg_dl":4,"bilirubin_umol_l":68.4,"growth_failure":false,"inr":1.5},{"age_years":2,"albumin_g_dl":2.5,"albumin_g_l":25,"bilirubin_mg_dl":4,"bilirubin_umol_l":68.4,"growth_failure":false,"inr":1.5}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_lt_1":false,"age_years":2,"albumin_g_dl":2.5,"albumin_used_g_dl":2.5,"bilirubin_mg_dl":4,"bilirubin_used_mg_dl":4,"citation":{"authors":"McDiarmid SV, Anand R, Lindblad AS; SPLIT Research Group","doi":"10.1097/00007890-200207270-00006","id":"mcdiarmid-2002","source":"Transplantation. 2002;74(2):173-181","title":"Development of a pediatric end-stage liver disease score to predict poor outcome in children awaiting liver transplantation"},"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":"peld","formula_expression":"raw = 0.480*ln(bili) + 1.857*ln(INR) - 0.687*ln(albumin) + 0.436*[age<1] + 0.667*[growth_failure]; PELD = round(10 * raw); bili, INR, and albumin floored at 1.0","growth_failure":false,"inr":1.5,"inr_used":1.5,"peld":8},{"age_lt_1":false,"age_years":2,"albumin_g_dl":2.5,"albumin_used_g_dl":2.5,"bilirubin_mg_dl":4,"bilirubin_used_mg_dl":4,"citation":{"authors":"McDiarmid SV, Anand R, Lindblad AS; SPLIT Research Group","doi":"10.1097/00007890-200207270-00006","id":"mcdiarmid-2002","source":"Transplantation. 2002;74(2):173-181","title":"Development of a pediatric end-stage liver disease score to predict poor outcome in children awaiting liver transplantation"},"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":"peld","formula_expression":"raw = 0.480*ln(bili) + 1.857*ln(INR) - 0.687*ln(albumin) + 0.436*[age<1] + 0.667*[growth_failure]; PELD = round(10 * raw); bili, INR, and albumin floored at 1.0","growth_failure":false,"inr":1.5,"inr_used":1.5,"peld":8}],"path":"/api/calc/peld"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (0-11 inclusive). PELD is for children under 12. Age under 1 adds 0.436 before scaling.","type":"number"},"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Floored at 1.0 before ln.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L. Converted as g/dL = g/L / 10.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l, not both. Floored at 1.0 before ln.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1.","type":"number"},"growth_failure":{"description":"Growth failure as assigned by the caller. true adds 0.667 before scaling.","type":"boolean"},"inr":{"description":"INR (0.8-10). Floored at 1.0 before ln.","type":"number"}},"required":["age_years","inr","growth_failure"],"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},{"id":39573,"slug":"39573","resource":"https://api.magentlab.com/api/calc/saag","description":"Runyon 1992 SAAG as serum albumin minus ascites albumin in g/dL, rounded to one decimal. portal_hypertension_physiology is true when SAAG >= 1.1 g/dL. Gradient only; not Light-style exudate/transudate criteria for ascites. Not a diagnosis. magent does not diagnose portal hypertension or peritonitis. Serum and ascites albumin as g/dL or g/L.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":3.5,"albumin_g_l":35,"ascites_albumin_g_dl":2,"ascites_albumin_g_l":20},{"albumin_g_dl":3.5,"albumin_g_l":35,"ascites_albumin_g_dl":2,"ascites_albumin_g_l":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":3.5,"ascites_albumin_g_dl":2,"citation":{"authors":"Runyon BA, Montano AA, Akriviadis EA, Antillon MR, Irving MA, McHutchison JG","doi":"10.7326/0003-4819-117-3-215","id":"runyon-1992","source":"Ann Intern Med. 1992;117(3):215-220","title":"The serum-ascites albumin gradient is superior to the exudate-transudate concept in the differential diagnosis of ascites"},"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":"saag","formula_expression":"saag_g_dl = albumin_g_dl - ascites_albumin_g_dl","portal_hypertension_physiology":true,"saag_g_dl":1.5},{"albumin_g_dl":3.5,"ascites_albumin_g_dl":2,"citation":{"authors":"Runyon BA, Montano AA, Akriviadis EA, Antillon MR, Irving MA, McHutchison JG","doi":"10.7326/0003-4819-117-3-215","id":"runyon-1992","source":"Ann Intern Med. 1992;117(3):215-220","title":"The serum-ascites albumin gradient is superior to the exudate-transudate concept in the differential diagnosis of ascites"},"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":"saag","formula_expression":"saag_g_dl = albumin_g_dl - ascites_albumin_g_dl","portal_hypertension_physiology":true,"saag_g_dl":1.5}],"path":"/api/calc/saag"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both.","type":"number"},"ascites_albumin_g_dl":{"description":"Ascites albumin in g/dL (0.1-6). Provide this or ascites_albumin_g_l, not both. May be lower than serum albumin.","type":"number"},"ascites_albumin_g_l":{"description":"Ascites albumin in g/L (1-60). Converted as g/dL = g/L / 10. Provide this or ascites_albumin_g_dl, not both.","type":"number"}},"required":[],"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":["saag","ascites","albumin","liver","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:52:05.575Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:52:05.451Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":3.5,"albumin_g_l":35,"ascites_albumin_g_dl":2,"ascites_albumin_g_l":20},{"albumin_g_dl":3.5,"albumin_g_l":35,"ascites_albumin_g_dl":2,"ascites_albumin_g_l":20}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albumin_g_dl":3.5,"ascites_albumin_g_dl":2,"citation":{"authors":"Runyon BA, Montano AA, Akriviadis EA, Antillon MR, Irving MA, McHutchison JG","doi":"10.7326/0003-4819-117-3-215","id":"runyon-1992","source":"Ann Intern Med. 1992;117(3):215-220","title":"The serum-ascites albumin gradient is superior to the exudate-transudate concept in the differential diagnosis of ascites"},"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":"saag","formula_expression":"saag_g_dl = albumin_g_dl - ascites_albumin_g_dl","portal_hypertension_physiology":true,"saag_g_dl":1.5},{"albumin_g_dl":3.5,"ascites_albumin_g_dl":2,"citation":{"authors":"Runyon BA, Montano AA, Akriviadis EA, Antillon MR, Irving MA, McHutchison JG","doi":"10.7326/0003-4819-117-3-215","id":"runyon-1992","source":"Ann Intern Med. 1992;117(3):215-220","title":"The serum-ascites albumin gradient is superior to the exudate-transudate concept in the differential diagnosis of ascites"},"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":"saag","formula_expression":"saag_g_dl = albumin_g_dl - ascites_albumin_g_dl","portal_hypertension_physiology":true,"saag_g_dl":1.5}],"path":"/api/calc/saag"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both.","type":"number"},"ascites_albumin_g_dl":{"description":"Ascites albumin in g/dL (0.1-6). Provide this or ascites_albumin_g_l, not both. May be lower than serum albumin.","type":"number"},"ascites_albumin_g_l":{"description":"Ascites albumin in g/L (1-60). Converted as g/dL = g/L / 10. Provide this or ascites_albumin_g_dl, not both.","type":"number"}},"required":[],"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},{"id":39574,"slug":"39574","resource":"https://api.magentlab.com/api/calc/aih_original","description":"Alvarez 1999 revised original IAIHG AIH score, not Hennes 2008 simplified. Caller-assigned sex, ALP:AST/ALT ratio, globulin/IgG, ANA/SMA/LKM titer, AMA, viral markers, drugs, alcohol, additive histology, other autoimmune disease; optional HLA/other autoantibodies if seronegative and treatment response. Pretreatment definite >15 / probable 10-15; posttreatment definite >17 / probable 12-17. magent does not read histology. Not a diagnosis or immunosuppression order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"alcohol_intake":"gt_60","alp_ratio":"gt_3","ama_positive":true,"autoantibody_titer":"lt_1_40","biliary_changes":true,"globulin_igg":"lt_1x","hepatotoxic_drugs":true,"hla_dr3_or_dr4":false,"interface_hepatitis":false,"liver_cell_rosettes":false,"lymphoplasmacytic_infiltrate":false,"other_atypical_histology":true,"other_autoantibodies":false,"other_autoimmune_disease":false,"sex":"male","treatment_response":"none","viral_markers_positive":true},{"alcohol_intake":"gt_60","alp_ratio":"gt_3","ama_positive":true,"autoantibody_titer":"lt_1_40","biliary_changes":true,"globulin_igg":"lt_1x","hepatotoxic_drugs":true,"hla_dr3_or_dr4":false,"interface_hepatitis":false,"liver_cell_rosettes":false,"lymphoplasmacytic_infiltrate":false,"other_atypical_histology":true,"other_autoantibodies":false,"other_autoimmune_disease":false,"sex":"male","treatment_response":"none","viral_markers_positive":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"aih_band":"not_aih","citation":{"authors":"Alvarez F, Berg PA, Bianchi FB, et al.","doi":"10.1016/s0168-8278(99)80297-9","id":"alvarez-1999","pmid":"10580593","source":"J Hepatol. 1999;31(5):929-938","title":"International Autoimmune Hepatitis Group Report: review of criteria for diagnosis of autoimmune hepatitis"},"components":[{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"alp_ratio","points":-2,"present":true,"value":"gt_3"},{"factor":"globulin_igg","points":0,"present":false,"value":"lt_1x"},{"factor":"autoantibody_titer","points":0,"present":false,"value":"lt_1_40"},{"factor":"ama_positive","points":-4,"present":true},{"factor":"viral_markers_positive","points":-3,"present":true,"value":true},{"factor":"hepatotoxic_drugs","points":-4,"present":true,"value":true},{"factor":"alcohol_intake","points":-2,"present":true,"value":"gt_60"},{"factor":"interface_hepatitis","points":0,"present":false},{"factor":"lymphoplasmacytic_infiltrate","points":0,"present":false},{"factor":"liver_cell_rosettes","points":0,"present":false},{"factor":"typical_histology_absent","points":-5,"present":true},{"factor":"biliary_changes","points":-3,"present":true},{"factor":"other_atypical_histology","points":-3,"present":true},{"factor":"other_autoimmune_disease","points":0,"present":false},{"factor":"other_autoantibodies","points":0,"present":false},{"factor":"hla_dr3_or_dr4","points":0,"present":false},{"factor":"treatment_response","points":0,"present":false,"value":"none"}],"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":"aih_original","formula_expression":"revised original IAIHG AIH (Alvarez 1999) = sex (male 0, female 2) + alp_ratio (lt_1_5 2, 1_5_to_3 0, gt_3 -2) + globulin_igg (lt_1x 0, 1_to_1_5x 1, 1_5_to_2x 2, gt_2x 3) + autoantibody_titer (lt_1_40 0, 1_40 1, 1_80 2, gt_1_80 3) + ama_positive (true -4) + viral_markers (positive -3, negative 3) + hepatotoxic_drugs (true -4, false 1) + alcohol (lt_25 2, 25_to_60 0, gt_60 -2) + histology (interface 3, lymphoplasmacytic 1, rosettes 1, none of those -5, biliary -3, other atypical -3; additive) + other_autoimmune_disease (true 2) + other_autoantibodies (true 2 if titer lt_1_40) + hla_dr3_or_dr4 (true 1 if titer lt_1_40) + treatment_response (complete 2, relapse 3); max 26; pretreatment definite >15, probable 10-15; posttreatment definite >17, probable 12-17","max_score":26,"score":-26,"timing":"pretreatment"},{"aih_band":"not_aih","citation":{"authors":"Alvarez F, Berg PA, Bianchi FB, et al.","doi":"10.1016/s0168-8278(99)80297-9","id":"alvarez-1999","pmid":"10580593","source":"J Hepatol. 1999;31(5):929-938","title":"International Autoimmune Hepatitis Group Report: review of criteria for diagnosis of autoimmune hepatitis"},"components":[{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"alp_ratio","points":-2,"present":true,"value":"gt_3"},{"factor":"globulin_igg","points":0,"present":false,"value":"lt_1x"},{"factor":"autoantibody_titer","points":0,"present":false,"value":"lt_1_40"},{"factor":"ama_positive","points":-4,"present":true},{"factor":"viral_markers_positive","points":-3,"present":true,"value":true},{"factor":"hepatotoxic_drugs","points":-4,"present":true,"value":true},{"factor":"alcohol_intake","points":-2,"present":true,"value":"gt_60"},{"factor":"interface_hepatitis","points":0,"present":false},{"factor":"lymphoplasmacytic_infiltrate","points":0,"present":false},{"factor":"liver_cell_rosettes","points":0,"present":false},{"factor":"typical_histology_absent","points":-5,"present":true},{"factor":"biliary_changes","points":-3,"present":true},{"factor":"other_atypical_histology","points":-3,"present":true},{"factor":"other_autoimmune_disease","points":0,"present":false},{"factor":"other_autoantibodies","points":0,"present":false},{"factor":"hla_dr3_or_dr4","points":0,"present":false},{"factor":"treatment_response","points":0,"present":false,"value":"none"}],"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":"aih_original","formula_expression":"revised original IAIHG AIH (Alvarez 1999) = sex (male 0, female 2) + alp_ratio (lt_1_5 2, 1_5_to_3 0, gt_3 -2) + globulin_igg (lt_1x 0, 1_to_1_5x 1, 1_5_to_2x 2, gt_2x 3) + autoantibody_titer (lt_1_40 0, 1_40 1, 1_80 2, gt_1_80 3) + ama_positive (true -4) + viral_markers (positive -3, negative 3) + hepatotoxic_drugs (true -4, false 1) + alcohol (lt_25 2, 25_to_60 0, gt_60 -2) + histology (interface 3, lymphoplasmacytic 1, rosettes 1, none of those -5, biliary -3, other atypical -3; additive) + other_autoimmune_disease (true 2) + other_autoantibodies (true 2 if titer lt_1_40) + hla_dr3_or_dr4 (true 1 if titer lt_1_40) + treatment_response (complete 2, relapse 3); max 26; pretreatment definite >15, probable 10-15; posttreatment definite >17, probable 12-17","max_score":26,"score":-26,"timing":"pretreatment"}],"path":"/api/calc/aih_original"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alcohol_intake":{"description":"Caller-assigned average alcohol intake (Alvarez 1999). lt_25 (<25 g/day) scores 2; 25_to_60 scores 0 (gap between the tabulated <25 and >60 cells); gt_60 (>60 g/day) scores -2.","enum":["lt_25","25_to_60","gt_60"],"type":"string"},"alp_ratio":{"description":"Caller-assigned ALP:(AST or ALT) ratio as multiples of ULN (Alvarez 1999 note 1). lt_1_5 (<1.5) scores 2; 1_5_to_3 (1.5–3.0) scores 0; gt_3 (>3) scores -2. magent does not take raw enzymes.","enum":["lt_1_5","1_5_to_3","gt_3"],"type":"string"},"ama_positive":{"description":"Caller-assigned antimitochondrial antibody. true scores -4; false scores 0 (Alvarez 1999). magent does not assay AMA.","type":"boolean"},"autoantibody_titer":{"description":"Caller-assigned highest ANA, SMA, or LKM-1 immunofluorescence titer (Alvarez 1999). lt_1_40 scores 0; 1_40 scores 1; 1_80 scores 2; gt_1_80 scores 3. magent does not titer autoantibodies.","enum":["lt_1_40","1_40","1_80","gt_1_80"],"type":"string"},"biliary_changes":{"description":"Caller-assigned biliary changes typical of PBC or PSC (Alvarez 1999 note 5). true scores -3; additive with other histology items. magent does not read histology.","type":"boolean"},"globulin_igg":{"description":"Caller-assigned serum globulin or IgG as multiples of ULN (Alvarez 1999). lt_1x scores 0; 1_to_1_5x scores 1; 1_5_to_2x scores 2; gt_2x scores 3. magent does not assay globulin or IgG.","enum":["lt_1x","1_to_1_5x","1_5_to_2x","gt_2x"],"type":"string"},"hepatotoxic_drugs":{"description":"Recent or current known or suspected hepatotoxic drugs (Alvarez 1999 note 4). true scores -4; false scores 1.","type":"boolean"},"hla_dr3_or_dr4":{"description":"Optional. HLA DR3 or DR4 (Alvarez 1999 note 9). true scores 1 only when autoantibody_titer is lt_1_40; otherwise 0. Omit or false scores 0.","type":"boolean"},"interface_hepatitis":{"description":"Caller-assigned interface hepatitis on liver histology. true scores 3 (Alvarez 1999; additive). magent does not read histology.","type":"boolean"},"liver_cell_rosettes":{"description":"Caller-assigned liver-cell rosettes. true scores 1 (Alvarez 1999; additive). magent does not read histology.","type":"boolean"},"lymphoplasmacytic_infiltrate":{"description":"Caller-assigned predominantly lymphoplasmacytic infiltrate. true scores 1 (Alvarez 1999; additive). magent does not read histology.","type":"boolean"},"other_atypical_histology":{"description":"Caller-assigned other prominent histologic features suggesting a different etiology (Alvarez 1999 note 6). true scores -3; additive. magent does not read histology.","type":"boolean"},"other_autoantibodies":{"description":"Optional. Seropositivity for other defined autoantibodies (pANCA, anti-LC1, anti-SLA, anti-ASGPR, anti-LP, anti-sulfatide; Alvarez 1999 note 8). true scores 2 only when autoantibody_titer is lt_1_40; otherwise 0. Omit or false scores 0.","type":"boolean"},"other_autoimmune_disease":{"description":"Any other autoimmune disorder in the patient or first-degree relatives (Alvarez 1999 note 7). true scores 2; false scores 0.","type":"boolean"},"sex":{"description":"Caller-assigned sex (Alvarez 1999). female scores 2; male scores 0. magent does not examine the patient.","enum":["female","male"],"type":"string"},"treatment_response":{"description":"Optional. Alvarez 1999 response to therapy, added to presentation points. none or omit: pretreatment bands (definite >15, probable 10-15). complete scores 2; relapse scores 3; both use posttreatment bands (definite >17, probable 12-17). Not an immunosuppression order.","enum":["none","complete","relapse"],"type":"string"},"viral_markers_positive":{"description":"Caller-assigned hepatitis A/B/C viral markers (Alvarez 1999 note 3). true scores -3; false (negative) scores 3. magent does not interpret viral serology.","type":"boolean"}},"required":["sex","alp_ratio","globulin_igg","autoantibody_titer","ama_positive","viral_markers_positive","hepatotoxic_drugs","alcohol_intake","interface_hepatitis","lymphoplasmacytic_infiltrate","liver_cell_rosettes","biliary_changes","other_atypical_histology","other_autoimmune_disease"],"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":["aih-original","autoimmune","hepatitis","liver","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:51:58.371Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:51:58.226Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"alcohol_intake":"gt_60","alp_ratio":"gt_3","ama_positive":true,"autoantibody_titer":"lt_1_40","biliary_changes":true,"globulin_igg":"lt_1x","hepatotoxic_drugs":true,"hla_dr3_or_dr4":false,"interface_hepatitis":false,"liver_cell_rosettes":false,"lymphoplasmacytic_infiltrate":false,"other_atypical_histology":true,"other_autoantibodies":false,"other_autoimmune_disease":false,"sex":"male","treatment_response":"none","viral_markers_positive":true},{"alcohol_intake":"gt_60","alp_ratio":"gt_3","ama_positive":true,"autoantibody_titer":"lt_1_40","biliary_changes":true,"globulin_igg":"lt_1x","hepatotoxic_drugs":true,"hla_dr3_or_dr4":false,"interface_hepatitis":false,"liver_cell_rosettes":false,"lymphoplasmacytic_infiltrate":false,"other_atypical_histology":true,"other_autoantibodies":false,"other_autoimmune_disease":false,"sex":"male","treatment_response":"none","viral_markers_positive":true}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"aih_band":"not_aih","citation":{"authors":"Alvarez F, Berg PA, Bianchi FB, et al.","doi":"10.1016/s0168-8278(99)80297-9","id":"alvarez-1999","pmid":"10580593","source":"J Hepatol. 1999;31(5):929-938","title":"International Autoimmune Hepatitis Group Report: review of criteria for diagnosis of autoimmune hepatitis"},"components":[{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"alp_ratio","points":-2,"present":true,"value":"gt_3"},{"factor":"globulin_igg","points":0,"present":false,"value":"lt_1x"},{"factor":"autoantibody_titer","points":0,"present":false,"value":"lt_1_40"},{"factor":"ama_positive","points":-4,"present":true},{"factor":"viral_markers_positive","points":-3,"present":true,"value":true},{"factor":"hepatotoxic_drugs","points":-4,"present":true,"value":true},{"factor":"alcohol_intake","points":-2,"present":true,"value":"gt_60"},{"factor":"interface_hepatitis","points":0,"present":false},{"factor":"lymphoplasmacytic_infiltrate","points":0,"present":false},{"factor":"liver_cell_rosettes","points":0,"present":false},{"factor":"typical_histology_absent","points":-5,"present":true},{"factor":"biliary_changes","points":-3,"present":true},{"factor":"other_atypical_histology","points":-3,"present":true},{"factor":"other_autoimmune_disease","points":0,"present":false},{"factor":"other_autoantibodies","points":0,"present":false},{"factor":"hla_dr3_or_dr4","points":0,"present":false},{"factor":"treatment_response","points":0,"present":false,"value":"none"}],"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":"aih_original","formula_expression":"revised original IAIHG AIH (Alvarez 1999) = sex (male 0, female 2) + alp_ratio (lt_1_5 2, 1_5_to_3 0, gt_3 -2) + globulin_igg (lt_1x 0, 1_to_1_5x 1, 1_5_to_2x 2, gt_2x 3) + autoantibody_titer (lt_1_40 0, 1_40 1, 1_80 2, gt_1_80 3) + ama_positive (true -4) + viral_markers (positive -3, negative 3) + hepatotoxic_drugs (true -4, false 1) + alcohol (lt_25 2, 25_to_60 0, gt_60 -2) + histology (interface 3, lymphoplasmacytic 1, rosettes 1, none of those -5, biliary -3, other atypical -3; additive) + other_autoimmune_disease (true 2) + other_autoantibodies (true 2 if titer lt_1_40) + hla_dr3_or_dr4 (true 1 if titer lt_1_40) + treatment_response (complete 2, relapse 3); max 26; pretreatment definite >15, probable 10-15; posttreatment definite >17, probable 12-17","max_score":26,"score":-26,"timing":"pretreatment"},{"aih_band":"not_aih","citation":{"authors":"Alvarez F, Berg PA, Bianchi FB, et al.","doi":"10.1016/s0168-8278(99)80297-9","id":"alvarez-1999","pmid":"10580593","source":"J Hepatol. 1999;31(5):929-938","title":"International Autoimmune Hepatitis Group Report: review of criteria for diagnosis of autoimmune hepatitis"},"components":[{"factor":"sex","points":0,"present":false,"value":"male"},{"factor":"alp_ratio","points":-2,"present":true,"value":"gt_3"},{"factor":"globulin_igg","points":0,"present":false,"value":"lt_1x"},{"factor":"autoantibody_titer","points":0,"present":false,"value":"lt_1_40"},{"factor":"ama_positive","points":-4,"present":true},{"factor":"viral_markers_positive","points":-3,"present":true,"value":true},{"factor":"hepatotoxic_drugs","points":-4,"present":true,"value":true},{"factor":"alcohol_intake","points":-2,"present":true,"value":"gt_60"},{"factor":"interface_hepatitis","points":0,"present":false},{"factor":"lymphoplasmacytic_infiltrate","points":0,"present":false},{"factor":"liver_cell_rosettes","points":0,"present":false},{"factor":"typical_histology_absent","points":-5,"present":true},{"factor":"biliary_changes","points":-3,"present":true},{"factor":"other_atypical_histology","points":-3,"present":true},{"factor":"other_autoimmune_disease","points":0,"present":false},{"factor":"other_autoantibodies","points":0,"present":false},{"factor":"hla_dr3_or_dr4","points":0,"present":false},{"factor":"treatment_response","points":0,"present":false,"value":"none"}],"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":"aih_original","formula_expression":"revised original IAIHG AIH (Alvarez 1999) = sex (male 0, female 2) + alp_ratio (lt_1_5 2, 1_5_to_3 0, gt_3 -2) + globulin_igg (lt_1x 0, 1_to_1_5x 1, 1_5_to_2x 2, gt_2x 3) + autoantibody_titer (lt_1_40 0, 1_40 1, 1_80 2, gt_1_80 3) + ama_positive (true -4) + viral_markers (positive -3, negative 3) + hepatotoxic_drugs (true -4, false 1) + alcohol (lt_25 2, 25_to_60 0, gt_60 -2) + histology (interface 3, lymphoplasmacytic 1, rosettes 1, none of those -5, biliary -3, other atypical -3; additive) + other_autoimmune_disease (true 2) + other_autoantibodies (true 2 if titer lt_1_40) + hla_dr3_or_dr4 (true 1 if titer lt_1_40) + treatment_response (complete 2, relapse 3); max 26; pretreatment definite >15, probable 10-15; posttreatment definite >17, probable 12-17","max_score":26,"score":-26,"timing":"pretreatment"}],"path":"/api/calc/aih_original"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"alcohol_intake":{"description":"Caller-assigned average alcohol intake (Alvarez 1999). lt_25 (<25 g/day) scores 2; 25_to_60 scores 0 (gap between the tabulated <25 and >60 cells); gt_60 (>60 g/day) scores -2.","enum":["lt_25","25_to_60","gt_60"],"type":"string"},"alp_ratio":{"description":"Caller-assigned ALP:(AST or ALT) ratio as multiples of ULN (Alvarez 1999 note 1). lt_1_5 (<1.5) scores 2; 1_5_to_3 (1.5–3.0) scores 0; gt_3 (>3) scores -2. magent does not take raw enzymes.","enum":["lt_1_5","1_5_to_3","gt_3"],"type":"string"},"ama_positive":{"description":"Caller-assigned antimitochondrial antibody. true scores -4; false scores 0 (Alvarez 1999). magent does not assay AMA.","type":"boolean"},"autoantibody_titer":{"description":"Caller-assigned highest ANA, SMA, or LKM-1 immunofluorescence titer (Alvarez 1999). lt_1_40 scores 0; 1_40 scores 1; 1_80 scores 2; gt_1_80 scores 3. magent does not titer autoantibodies.","enum":["lt_1_40","1_40","1_80","gt_1_80"],"type":"string"},"biliary_changes":{"description":"Caller-assigned biliary changes typical of PBC or PSC (Alvarez 1999 note 5). true scores -3; additive with other histology items. magent does not read histology.","type":"boolean"},"globulin_igg":{"description":"Caller-assigned serum globulin or IgG as multiples of ULN (Alvarez 1999). lt_1x scores 0; 1_to_1_5x scores 1; 1_5_to_2x scores 2; gt_2x scores 3. magent does not assay globulin or IgG.","enum":["lt_1x","1_to_1_5x","1_5_to_2x","gt_2x"],"type":"string"},"hepatotoxic_drugs":{"description":"Recent or current known or suspected hepatotoxic drugs (Alvarez 1999 note 4). true scores -4; false scores 1.","type":"boolean"},"hla_dr3_or_dr4":{"description":"Optional. HLA DR3 or DR4 (Alvarez 1999 note 9). true scores 1 only when autoantibody_titer is lt_1_40; otherwise 0. Omit or false scores 0.","type":"boolean"},"interface_hepatitis":{"description":"Caller-assigned interface hepatitis on liver histology. true scores 3 (Alvarez 1999; additive). magent does not read histology.","type":"boolean"},"liver_cell_rosettes":{"description":"Caller-assigned liver-cell rosettes. true scores 1 (Alvarez 1999; additive). magent does not read histology.","type":"boolean"},"lymphoplasmacytic_infiltrate":{"description":"Caller-assigned predominantly lymphoplasmacytic infiltrate. true scores 1 (Alvarez 1999; additive). magent does not read histology.","type":"boolean"},"other_atypical_histology":{"description":"Caller-assigned other prominent histologic features suggesting a different etiology (Alvarez 1999 note 6). true scores -3; additive. magent does not read histology.","type":"boolean"},"other_autoantibodies":{"description":"Optional. Seropositivity for other defined autoantibodies (pANCA, anti-LC1, anti-SLA, anti-ASGPR, anti-LP, anti-sulfatide; Alvarez 1999 note 8). true scores 2 only when autoantibody_titer is lt_1_40; otherwise 0. Omit or false scores 0.","type":"boolean"},"other_autoimmune_disease":{"description":"Any other autoimmune disorder in the patient or first-degree relatives (Alvarez 1999 note 7). true scores 2; false scores 0.","type":"boolean"},"sex":{"description":"Caller-assigned sex (Alvarez 1999). female scores 2; male scores 0. magent does not examine the patient.","enum":["female","male"],"type":"string"},"treatment_response":{"description":"Optional. Alvarez 1999 response to therapy, added to presentation points. none or omit: pretreatment bands (definite >15, probable 10-15). complete scores 2; relapse scores 3; both use posttreatment bands (definite >17, probable 12-17). Not an immunosuppression order.","enum":["none","complete","relapse"],"type":"string"},"viral_markers_positive":{"description":"Caller-assigned hepatitis A/B/C viral markers (Alvarez 1999 note 3). true scores -3; false (negative) scores 3. magent does not interpret viral serology.","type":"boolean"}},"required":["sex","alp_ratio","globulin_igg","autoantibody_titer","ama_positive","viral_markers_positive","hepatotoxic_drugs","alcohol_intake","interface_hepatitis","lymphoplasmacytic_infiltrate","liver_cell_rosettes","biliary_changes","other_atypical_histology","other_autoimmune_disease"],"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},{"id":39575,"slug":"39575","resource":"https://api.magentlab.com/api/calc/albi","description":"Johnson 2015 albumin-bilirubin (ALBI) grade from total bilirubin and albumin. xb = 0.66*log10(bilirubin umol/L) + albumin_g_l*(-0.085). Grade 1 if xb <= -2.60, grade 2 if xb <= -1.39, else 3. Returns albi_score (4 decimals) and albi_grade. Not a listing protocol, Child-Pugh, survival estimate, mALBI, PALBI, or EZ-ALBI.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"albumin_g_dl":4,"albumin_g_l":40,"bilirubin_mg_dl":1,"bilirubin_umol_l":10},{"albumin_g_dl":4,"albumin_g_l":40,"bilirubin_mg_dl":1,"bilirubin_umol_l":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albi_grade":1,"albi_score":-2.74,"albumin_g_l":40,"bilirubin_umol_l":10,"citation":{"authors":"Johnson PJ, Berhane S, Kagebayashi C, et al.","doi":"10.1200/JCO.2014.57.9151","id":"johnson-2015","pmid":"25512453","source":"J Clin Oncol. 2015;33(6):550-558","title":"Assessment of liver function in patients with hepatocellular carcinoma: a new evidence-based approach-the ALBI grade"},"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":"albi","formula_expression":"albi_score = (log10(bilirubin_umol_l) * 0.66) + (albumin_g_l * -0.085)"},{"albi_grade":1,"albi_score":-2.74,"albumin_g_l":40,"bilirubin_umol_l":10,"citation":{"authors":"Johnson PJ, Berhane S, Kagebayashi C, et al.","doi":"10.1200/JCO.2014.57.9151","id":"johnson-2015","pmid":"25512453","source":"J Clin Oncol. 2015;33(6):550-558","title":"Assessment of liver function in patients with hepatocellular carcinoma: a new evidence-based approach-the ALBI grade"},"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":"albi","formula_expression":"albi_score = (log10(bilirubin_umol_l) * 0.66) + (albumin_g_l * -0.085)"}],"path":"/api/calc/albi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Johnson 2015 uses g/L.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1. Provide this or bilirubin_umol_l, not both.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Provide this or bilirubin_mg_dl, not both. Johnson 2015 uses µmol/L in log10.","type":"number"}},"required":[],"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":["albi","liver","hcc","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:51:45.388Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:51:45.262Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"albumin_g_dl":4,"albumin_g_l":40,"bilirubin_mg_dl":1,"bilirubin_umol_l":10},{"albumin_g_dl":4,"albumin_g_l":40,"bilirubin_mg_dl":1,"bilirubin_umol_l":10}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"albi_grade":1,"albi_score":-2.74,"albumin_g_l":40,"bilirubin_umol_l":10,"citation":{"authors":"Johnson PJ, Berhane S, Kagebayashi C, et al.","doi":"10.1200/JCO.2014.57.9151","id":"johnson-2015","pmid":"25512453","source":"J Clin Oncol. 2015;33(6):550-558","title":"Assessment of liver function in patients with hepatocellular carcinoma: a new evidence-based approach-the ALBI grade"},"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":"albi","formula_expression":"albi_score = (log10(bilirubin_umol_l) * 0.66) + (albumin_g_l * -0.085)"},{"albi_grade":1,"albi_score":-2.74,"albumin_g_l":40,"bilirubin_umol_l":10,"citation":{"authors":"Johnson PJ, Berhane S, Kagebayashi C, et al.","doi":"10.1200/JCO.2014.57.9151","id":"johnson-2015","pmid":"25512453","source":"J Clin Oncol. 2015;33(6):550-558","title":"Assessment of liver function in patients with hepatocellular carcinoma: a new evidence-based approach-the ALBI grade"},"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":"albi","formula_expression":"albi_score = (log10(bilirubin_umol_l) * 0.66) + (albumin_g_l * -0.085)"}],"path":"/api/calc/albi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"albumin_g_dl":{"description":"Albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Johnson 2015 uses g/L.","type":"number"},"bilirubin_mg_dl":{"description":"Total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1. Provide this or bilirubin_umol_l, not both.","type":"number"},"bilirubin_umol_l":{"description":"Total bilirubin in µmol/L (2-684). Provide this or bilirubin_mg_dl, not both. Johnson 2015 uses µmol/L in log10.","type":"number"}},"required":[],"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},{"id":39576,"slug":"39576","resource":"https://api.magentlab.com/api/calc/arc_hbr","description":"ARC-HBR (Urban 2019 Table 3). High bleeding risk at PCI iff ≥1 major or ≥2 minor. Binary; no weighted point score. Caller-assigned booleans; magent does not assay labs or read NIHSS. Mutex (400): severe vs moderate CKD, Hb <11 vs mild anemia, major vs minor bleed, moderate-severe stroke <6 mo vs any other ischemic stroke. Not a DAPT duration. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"active_malignancy_12mo":false,"age_ge_75":true,"anticipated_long_term_oac":false,"any_ischemic_stroke_not_major":false,"bavm":false,"chronic_bleeding_diathesis":false,"cirrhosis_with_portal_hypertension":false,"hemoglobin_lt_11":false,"long_term_nsaid_or_steroid":false,"mild_anemia":false,"moderate_ckd":false,"moderate_severe_ischemic_stroke_6mo":false,"nondeferrable_major_surgery_dapt":false,"previous_spontaneous_ich":false,"recent_major_surgery_or_trauma_30d":false,"severe_or_esrd_ckd":false,"spontaneous_bleed_major":false,"spontaneous_bleed_minor":false,"thrombocytopenia_lt_100":false,"traumatic_ich_12mo":false},{"active_malignancy_12mo":false,"age_ge_75":true,"anticipated_long_term_oac":false,"any_ischemic_stroke_not_major":false,"bavm":false,"chronic_bleeding_diathesis":false,"cirrhosis_with_portal_hypertension":false,"hemoglobin_lt_11":false,"long_term_nsaid_or_steroid":false,"mild_anemia":false,"moderate_ckd":false,"moderate_severe_ischemic_stroke_6mo":false,"nondeferrable_major_surgery_dapt":false,"previous_spontaneous_ich":false,"recent_major_surgery_or_trauma_30d":false,"severe_or_esrd_ckd":false,"spontaneous_bleed_major":false,"spontaneous_bleed_minor":false,"thrombocytopenia_lt_100":false,"traumatic_ich_12mo":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Urban P, Mehran R, Colleran R, Angiolillo DJ, Byrne RA, Capodanno D, Cuisset T, Cutlip D, Eerdmans P, Eikelboom J, Farb A, Gibson CM, Gregson J, Haude M, James SK, Kim HS, Kimura T, Konishi A, Laschinger J, Leon MB, Magee PFA, Price MJ, Salett E, Schulz C, Valgimigli M, Varenne O, Yeh RW, Krucoff MW","doi":"10.1161/CIRCULATIONAHA.119.040167","id":"urban-2019","pmid":"31116032","source":"Circulation. 2019;140(3):240-261","title":"Defining High Bleeding Risk in Patients Undergoing Percutaneous Coronary Intervention: A Consensus Document From the Academic Research Consortium for High Bleeding Risk"},"criteria":[{"factor":"anticipated_long_term_oac","met":false},{"factor":"severe_or_esrd_ckd","met":false},{"factor":"hemoglobin_lt_11","met":false},{"factor":"spontaneous_bleed_major","met":false},{"factor":"thrombocytopenia_lt_100","met":false},{"factor":"chronic_bleeding_diathesis","met":false},{"factor":"cirrhosis_with_portal_hypertension","met":false},{"factor":"active_malignancy_12mo","met":false},{"factor":"previous_spontaneous_ich","met":false},{"factor":"traumatic_ich_12mo","met":false},{"factor":"bavm","met":false},{"factor":"moderate_severe_ischemic_stroke_6mo","met":false},{"factor":"nondeferrable_major_surgery_dapt","met":false},{"factor":"recent_major_surgery_or_trauma_30d","met":false},{"factor":"age_ge_75","met":true},{"factor":"moderate_ckd","met":false},{"factor":"mild_anemia","met":false},{"factor":"spontaneous_bleed_minor","met":false},{"factor":"long_term_nsaid_or_steroid","met":false},{"factor":"any_ischemic_stroke_not_major","met":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":"arc_hbr","formula_expression":"high_bleeding_risk iff major_count >= 1 or minor_count >= 2 (Urban 2019 Table 3). Binary HBR; not a weighted point score. Majors: anticipated_long_term_oac, severe_or_esrd_ckd, hemoglobin_lt_11, spontaneous_bleed_major, thrombocytopenia_lt_100, chronic_bleeding_diathesis, cirrhosis_with_portal_hypertension, active_malignancy_12mo, previous_spontaneous_ich, traumatic_ich_12mo, bavm, moderate_severe_ischemic_stroke_6mo, nondeferrable_major_surgery_dapt, recent_major_surgery_or_trauma_30d. Minors: age_ge_75, moderate_ckd, mild_anemia, spontaneous_bleed_minor, long_term_nsaid_or_steroid, any_ischemic_stroke_not_major","high_bleeding_risk":false,"major_count":0,"minor_count":1},{"citation":{"authors":"Urban P, Mehran R, Colleran R, Angiolillo DJ, Byrne RA, Capodanno D, Cuisset T, Cutlip D, Eerdmans P, Eikelboom J, Farb A, Gibson CM, Gregson J, Haude M, James SK, Kim HS, Kimura T, Konishi A, Laschinger J, Leon MB, Magee PFA, Price MJ, Salett E, Schulz C, Valgimigli M, Varenne O, Yeh RW, Krucoff MW","doi":"10.1161/CIRCULATIONAHA.119.040167","id":"urban-2019","pmid":"31116032","source":"Circulation. 2019;140(3):240-261","title":"Defining High Bleeding Risk in Patients Undergoing Percutaneous Coronary Intervention: A Consensus Document From the Academic Research Consortium for High Bleeding Risk"},"criteria":[{"factor":"anticipated_long_term_oac","met":false},{"factor":"severe_or_esrd_ckd","met":false},{"factor":"hemoglobin_lt_11","met":false},{"factor":"spontaneous_bleed_major","met":false},{"factor":"thrombocytopenia_lt_100","met":false},{"factor":"chronic_bleeding_diathesis","met":false},{"factor":"cirrhosis_with_portal_hypertension","met":false},{"factor":"active_malignancy_12mo","met":false},{"factor":"previous_spontaneous_ich","met":false},{"factor":"traumatic_ich_12mo","met":false},{"factor":"bavm","met":false},{"factor":"moderate_severe_ischemic_stroke_6mo","met":false},{"factor":"nondeferrable_major_surgery_dapt","met":false},{"factor":"recent_major_surgery_or_trauma_30d","met":false},{"factor":"age_ge_75","met":true},{"factor":"moderate_ckd","met":false},{"factor":"mild_anemia","met":false},{"factor":"spontaneous_bleed_minor","met":false},{"factor":"long_term_nsaid_or_steroid","met":false},{"factor":"any_ischemic_stroke_not_major","met":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":"arc_hbr","formula_expression":"high_bleeding_risk iff major_count >= 1 or minor_count >= 2 (Urban 2019 Table 3). Binary HBR; not a weighted point score. Majors: anticipated_long_term_oac, severe_or_esrd_ckd, hemoglobin_lt_11, spontaneous_bleed_major, thrombocytopenia_lt_100, chronic_bleeding_diathesis, cirrhosis_with_portal_hypertension, active_malignancy_12mo, previous_spontaneous_ich, traumatic_ich_12mo, bavm, moderate_severe_ischemic_stroke_6mo, nondeferrable_major_surgery_dapt, recent_major_surgery_or_trauma_30d. Minors: age_ge_75, moderate_ckd, mild_anemia, spontaneous_bleed_minor, long_term_nsaid_or_steroid, any_ischemic_stroke_not_major","high_bleeding_risk":false,"major_count":0,"minor_count":1}],"path":"/api/calc/arc_hbr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_malignancy_12mo":{"description":"Active malignancy (excluding nonmelanoma skin cancer) as assigned by the caller: diagnosis within 12 months and/or ongoing treatment (Urban 2019 Table 3 major). true or false. magent does not diagnose cancer.","type":"boolean"},"age_ge_75":{"description":"Age ≥75 years as assigned by the caller (Urban 2019 Table 3 minor). true or false. magent does not take a numeric age.","type":"boolean"},"anticipated_long_term_oac":{"description":"Anticipated use of long-term oral anticoagulation as assigned by the caller (Urban 2019 Table 3 major). Paper footnote excludes vascular-protection doses; that exclusion is a limitation, not a separate param. true or false. magent does not prescribe anticoagulation.","type":"boolean"},"any_ischemic_stroke_not_major":{"description":"Any ischemic stroke at any time that does not meet the major stroke criterion, as assigned by the caller (Urban 2019 Table 3 minor). Mutually exclusive with moderate_severe_ischemic_stroke_6mo. true or false. magent does not assign NIHSS.","type":"boolean"},"bavm":{"description":"Brain arteriovenous malformation as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not read imaging.","type":"boolean"},"chronic_bleeding_diathesis":{"description":"Chronic bleeding diathesis as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not diagnose a coagulopathy.","type":"boolean"},"cirrhosis_with_portal_hypertension":{"description":"Liver cirrhosis with portal hypertension as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not diagnose cirrhosis.","type":"boolean"},"hemoglobin_lt_11":{"description":"Hemoglobin <11 g/dL as assigned by the caller (Urban 2019 Table 3 major). Mutually exclusive with mild_anemia. true or false. magent does not assay hemoglobin.","type":"boolean"},"long_term_nsaid_or_steroid":{"description":"Long-term oral NSAID or steroid use (planned daily intake ≥4 days per week) as assigned by the caller (Urban 2019 Table 3 minor). true or false. magent does not prescribe NSAIDs or steroids.","type":"boolean"},"mild_anemia":{"description":"Mild anemia (hemoglobin 11–12.9 g/dL in men or 11–11.9 g/dL in women) as assigned by the caller (Urban 2019 Table 3 minor). Mutually exclusive with hemoglobin_lt_11. true or false. magent does not take sex or hemoglobin numbers.","type":"boolean"},"moderate_ckd":{"description":"Moderate CKD (eGFR 30–59 mL/min) as assigned by the caller (Urban 2019 Table 3 minor). Mutually exclusive with severe_or_esrd_ckd. true or false. magent does not assay creatinine or compute eGFR.","type":"boolean"},"moderate_severe_ischemic_stroke_6mo":{"description":"Moderate or severe ischemic stroke (NIHSS ≥5 on presentation) within the past 6 months as assigned by the caller (Urban 2019 Table 3 major). Mutually exclusive with any_ischemic_stroke_not_major. true or false. magent does not assign NIHSS.","type":"boolean"},"nondeferrable_major_surgery_dapt":{"description":"Nondeferrable major surgery on DAPT as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not schedule surgery.","type":"boolean"},"previous_spontaneous_ich":{"description":"Previous spontaneous intracranial hemorrhage at any time as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not read imaging.","type":"boolean"},"recent_major_surgery_or_trauma_30d":{"description":"Recent major surgery or major trauma within 30 days before PCI as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not date the event.","type":"boolean"},"severe_or_esrd_ckd":{"description":"Severe or end-stage CKD (eGFR <30 mL/min) as assigned by the caller (Urban 2019 Table 3 major). Mutually exclusive with moderate_ckd. true or false. magent does not assay creatinine or compute eGFR.","type":"boolean"},"spontaneous_bleed_major":{"description":"Spontaneous bleeding requiring hospitalization or transfusion in the past 6 months, or recurrent at any time, as assigned by the caller (Urban 2019 Table 3 major). Mutually exclusive with spontaneous_bleed_minor. true or false.","type":"boolean"},"spontaneous_bleed_minor":{"description":"Spontaneous bleeding requiring hospitalization or transfusion within the past 12 months that does not meet the major criterion, as assigned by the caller (Urban 2019 Table 3 minor). Mutually exclusive with spontaneous_bleed_major. true or false.","type":"boolean"},"thrombocytopenia_lt_100":{"description":"Baseline platelet count <100×10^9/L before PCI as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not assay platelets.","type":"boolean"},"traumatic_ich_12mo":{"description":"Previous traumatic intracranial hemorrhage within the past 12 months as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not read imaging.","type":"boolean"}},"required":["anticipated_long_term_oac","severe_or_esrd_ckd","hemoglobin_lt_11","spontaneous_bleed_major","thrombocytopenia_lt_100","chronic_bleeding_diathesis","cirrhosis_with_portal_hypertension","active_malignancy_12mo","previous_spontaneous_ich","traumatic_ich_12mo","bavm","moderate_severe_ischemic_stroke_6mo","nondeferrable_major_surgery_dapt","recent_major_surgery_or_trauma_30d","age_ge_75","moderate_ckd","mild_anemia","spontaneous_bleed_minor","long_term_nsaid_or_steroid","any_ischemic_stroke_not_major"],"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":["arc-hbr","pci","bleeding-risk","acs","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:50:06.295Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:50:06.132Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"active_malignancy_12mo":false,"age_ge_75":true,"anticipated_long_term_oac":false,"any_ischemic_stroke_not_major":false,"bavm":false,"chronic_bleeding_diathesis":false,"cirrhosis_with_portal_hypertension":false,"hemoglobin_lt_11":false,"long_term_nsaid_or_steroid":false,"mild_anemia":false,"moderate_ckd":false,"moderate_severe_ischemic_stroke_6mo":false,"nondeferrable_major_surgery_dapt":false,"previous_spontaneous_ich":false,"recent_major_surgery_or_trauma_30d":false,"severe_or_esrd_ckd":false,"spontaneous_bleed_major":false,"spontaneous_bleed_minor":false,"thrombocytopenia_lt_100":false,"traumatic_ich_12mo":false},{"active_malignancy_12mo":false,"age_ge_75":true,"anticipated_long_term_oac":false,"any_ischemic_stroke_not_major":false,"bavm":false,"chronic_bleeding_diathesis":false,"cirrhosis_with_portal_hypertension":false,"hemoglobin_lt_11":false,"long_term_nsaid_or_steroid":false,"mild_anemia":false,"moderate_ckd":false,"moderate_severe_ischemic_stroke_6mo":false,"nondeferrable_major_surgery_dapt":false,"previous_spontaneous_ich":false,"recent_major_surgery_or_trauma_30d":false,"severe_or_esrd_ckd":false,"spontaneous_bleed_major":false,"spontaneous_bleed_minor":false,"thrombocytopenia_lt_100":false,"traumatic_ich_12mo":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Urban P, Mehran R, Colleran R, Angiolillo DJ, Byrne RA, Capodanno D, Cuisset T, Cutlip D, Eerdmans P, Eikelboom J, Farb A, Gibson CM, Gregson J, Haude M, James SK, Kim HS, Kimura T, Konishi A, Laschinger J, Leon MB, Magee PFA, Price MJ, Salett E, Schulz C, Valgimigli M, Varenne O, Yeh RW, Krucoff MW","doi":"10.1161/CIRCULATIONAHA.119.040167","id":"urban-2019","pmid":"31116032","source":"Circulation. 2019;140(3):240-261","title":"Defining High Bleeding Risk in Patients Undergoing Percutaneous Coronary Intervention: A Consensus Document From the Academic Research Consortium for High Bleeding Risk"},"criteria":[{"factor":"anticipated_long_term_oac","met":false},{"factor":"severe_or_esrd_ckd","met":false},{"factor":"hemoglobin_lt_11","met":false},{"factor":"spontaneous_bleed_major","met":false},{"factor":"thrombocytopenia_lt_100","met":false},{"factor":"chronic_bleeding_diathesis","met":false},{"factor":"cirrhosis_with_portal_hypertension","met":false},{"factor":"active_malignancy_12mo","met":false},{"factor":"previous_spontaneous_ich","met":false},{"factor":"traumatic_ich_12mo","met":false},{"factor":"bavm","met":false},{"factor":"moderate_severe_ischemic_stroke_6mo","met":false},{"factor":"nondeferrable_major_surgery_dapt","met":false},{"factor":"recent_major_surgery_or_trauma_30d","met":false},{"factor":"age_ge_75","met":true},{"factor":"moderate_ckd","met":false},{"factor":"mild_anemia","met":false},{"factor":"spontaneous_bleed_minor","met":false},{"factor":"long_term_nsaid_or_steroid","met":false},{"factor":"any_ischemic_stroke_not_major","met":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":"arc_hbr","formula_expression":"high_bleeding_risk iff major_count >= 1 or minor_count >= 2 (Urban 2019 Table 3). Binary HBR; not a weighted point score. Majors: anticipated_long_term_oac, severe_or_esrd_ckd, hemoglobin_lt_11, spontaneous_bleed_major, thrombocytopenia_lt_100, chronic_bleeding_diathesis, cirrhosis_with_portal_hypertension, active_malignancy_12mo, previous_spontaneous_ich, traumatic_ich_12mo, bavm, moderate_severe_ischemic_stroke_6mo, nondeferrable_major_surgery_dapt, recent_major_surgery_or_trauma_30d. Minors: age_ge_75, moderate_ckd, mild_anemia, spontaneous_bleed_minor, long_term_nsaid_or_steroid, any_ischemic_stroke_not_major","high_bleeding_risk":false,"major_count":0,"minor_count":1},{"citation":{"authors":"Urban P, Mehran R, Colleran R, Angiolillo DJ, Byrne RA, Capodanno D, Cuisset T, Cutlip D, Eerdmans P, Eikelboom J, Farb A, Gibson CM, Gregson J, Haude M, James SK, Kim HS, Kimura T, Konishi A, Laschinger J, Leon MB, Magee PFA, Price MJ, Salett E, Schulz C, Valgimigli M, Varenne O, Yeh RW, Krucoff MW","doi":"10.1161/CIRCULATIONAHA.119.040167","id":"urban-2019","pmid":"31116032","source":"Circulation. 2019;140(3):240-261","title":"Defining High Bleeding Risk in Patients Undergoing Percutaneous Coronary Intervention: A Consensus Document From the Academic Research Consortium for High Bleeding Risk"},"criteria":[{"factor":"anticipated_long_term_oac","met":false},{"factor":"severe_or_esrd_ckd","met":false},{"factor":"hemoglobin_lt_11","met":false},{"factor":"spontaneous_bleed_major","met":false},{"factor":"thrombocytopenia_lt_100","met":false},{"factor":"chronic_bleeding_diathesis","met":false},{"factor":"cirrhosis_with_portal_hypertension","met":false},{"factor":"active_malignancy_12mo","met":false},{"factor":"previous_spontaneous_ich","met":false},{"factor":"traumatic_ich_12mo","met":false},{"factor":"bavm","met":false},{"factor":"moderate_severe_ischemic_stroke_6mo","met":false},{"factor":"nondeferrable_major_surgery_dapt","met":false},{"factor":"recent_major_surgery_or_trauma_30d","met":false},{"factor":"age_ge_75","met":true},{"factor":"moderate_ckd","met":false},{"factor":"mild_anemia","met":false},{"factor":"spontaneous_bleed_minor","met":false},{"factor":"long_term_nsaid_or_steroid","met":false},{"factor":"any_ischemic_stroke_not_major","met":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":"arc_hbr","formula_expression":"high_bleeding_risk iff major_count >= 1 or minor_count >= 2 (Urban 2019 Table 3). Binary HBR; not a weighted point score. Majors: anticipated_long_term_oac, severe_or_esrd_ckd, hemoglobin_lt_11, spontaneous_bleed_major, thrombocytopenia_lt_100, chronic_bleeding_diathesis, cirrhosis_with_portal_hypertension, active_malignancy_12mo, previous_spontaneous_ich, traumatic_ich_12mo, bavm, moderate_severe_ischemic_stroke_6mo, nondeferrable_major_surgery_dapt, recent_major_surgery_or_trauma_30d. Minors: age_ge_75, moderate_ckd, mild_anemia, spontaneous_bleed_minor, long_term_nsaid_or_steroid, any_ischemic_stroke_not_major","high_bleeding_risk":false,"major_count":0,"minor_count":1}],"path":"/api/calc/arc_hbr"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"active_malignancy_12mo":{"description":"Active malignancy (excluding nonmelanoma skin cancer) as assigned by the caller: diagnosis within 12 months and/or ongoing treatment (Urban 2019 Table 3 major). true or false. magent does not diagnose cancer.","type":"boolean"},"age_ge_75":{"description":"Age ≥75 years as assigned by the caller (Urban 2019 Table 3 minor). true or false. magent does not take a numeric age.","type":"boolean"},"anticipated_long_term_oac":{"description":"Anticipated use of long-term oral anticoagulation as assigned by the caller (Urban 2019 Table 3 major). Paper footnote excludes vascular-protection doses; that exclusion is a limitation, not a separate param. true or false. magent does not prescribe anticoagulation.","type":"boolean"},"any_ischemic_stroke_not_major":{"description":"Any ischemic stroke at any time that does not meet the major stroke criterion, as assigned by the caller (Urban 2019 Table 3 minor). Mutually exclusive with moderate_severe_ischemic_stroke_6mo. true or false. magent does not assign NIHSS.","type":"boolean"},"bavm":{"description":"Brain arteriovenous malformation as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not read imaging.","type":"boolean"},"chronic_bleeding_diathesis":{"description":"Chronic bleeding diathesis as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not diagnose a coagulopathy.","type":"boolean"},"cirrhosis_with_portal_hypertension":{"description":"Liver cirrhosis with portal hypertension as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not diagnose cirrhosis.","type":"boolean"},"hemoglobin_lt_11":{"description":"Hemoglobin <11 g/dL as assigned by the caller (Urban 2019 Table 3 major). Mutually exclusive with mild_anemia. true or false. magent does not assay hemoglobin.","type":"boolean"},"long_term_nsaid_or_steroid":{"description":"Long-term oral NSAID or steroid use (planned daily intake ≥4 days per week) as assigned by the caller (Urban 2019 Table 3 minor). true or false. magent does not prescribe NSAIDs or steroids.","type":"boolean"},"mild_anemia":{"description":"Mild anemia (hemoglobin 11–12.9 g/dL in men or 11–11.9 g/dL in women) as assigned by the caller (Urban 2019 Table 3 minor). Mutually exclusive with hemoglobin_lt_11. true or false. magent does not take sex or hemoglobin numbers.","type":"boolean"},"moderate_ckd":{"description":"Moderate CKD (eGFR 30–59 mL/min) as assigned by the caller (Urban 2019 Table 3 minor). Mutually exclusive with severe_or_esrd_ckd. true or false. magent does not assay creatinine or compute eGFR.","type":"boolean"},"moderate_severe_ischemic_stroke_6mo":{"description":"Moderate or severe ischemic stroke (NIHSS ≥5 on presentation) within the past 6 months as assigned by the caller (Urban 2019 Table 3 major). Mutually exclusive with any_ischemic_stroke_not_major. true or false. magent does not assign NIHSS.","type":"boolean"},"nondeferrable_major_surgery_dapt":{"description":"Nondeferrable major surgery on DAPT as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not schedule surgery.","type":"boolean"},"previous_spontaneous_ich":{"description":"Previous spontaneous intracranial hemorrhage at any time as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not read imaging.","type":"boolean"},"recent_major_surgery_or_trauma_30d":{"description":"Recent major surgery or major trauma within 30 days before PCI as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not date the event.","type":"boolean"},"severe_or_esrd_ckd":{"description":"Severe or end-stage CKD (eGFR <30 mL/min) as assigned by the caller (Urban 2019 Table 3 major). Mutually exclusive with moderate_ckd. true or false. magent does not assay creatinine or compute eGFR.","type":"boolean"},"spontaneous_bleed_major":{"description":"Spontaneous bleeding requiring hospitalization or transfusion in the past 6 months, or recurrent at any time, as assigned by the caller (Urban 2019 Table 3 major). Mutually exclusive with spontaneous_bleed_minor. true or false.","type":"boolean"},"spontaneous_bleed_minor":{"description":"Spontaneous bleeding requiring hospitalization or transfusion within the past 12 months that does not meet the major criterion, as assigned by the caller (Urban 2019 Table 3 minor). Mutually exclusive with spontaneous_bleed_major. true or false.","type":"boolean"},"thrombocytopenia_lt_100":{"description":"Baseline platelet count <100×10^9/L before PCI as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not assay platelets.","type":"boolean"},"traumatic_ich_12mo":{"description":"Previous traumatic intracranial hemorrhage within the past 12 months as assigned by the caller (Urban 2019 Table 3 major). true or false. magent does not read imaging.","type":"boolean"}},"required":["anticipated_long_term_oac","severe_or_esrd_ckd","hemoglobin_lt_11","spontaneous_bleed_major","thrombocytopenia_lt_100","chronic_bleeding_diathesis","cirrhosis_with_portal_hypertension","active_malignancy_12mo","previous_spontaneous_ich","traumatic_ich_12mo","bavm","moderate_severe_ischemic_stroke_6mo","nondeferrable_major_surgery_dapt","recent_major_surgery_or_trauma_30d","age_ge_75","moderate_ckd","mild_anemia","spontaneous_bleed_minor","long_term_nsaid_or_steroid","any_ischemic_stroke_not_major"],"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},{"id":39577,"slug":"39577","resource":"https://api.magentlab.com/api/calc/aub_has2","description":"Dakik 2019 AUB-HAS2 for 30-day death/MI/stroke after noncardiac surgery: six 1-point elements (history of heart disease, angina or dyspnea, age ≥75, hemoglobin <12 g/dL, vascular surgery, emergency surgery). Low 0-1, intermediate 2-3, high >3 (max 6). Derivation rates 0%, 0.5%, 2.0%, 5.6%, 15.7% by score 0/1/2/3/>3. Not a medical device, not RCRI, not ACS treatment, and not operative clearance.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":50,"angina_or_dyspnea":false,"emergency_surgery":false,"hemoglobin_g_dl":13,"hemoglobin_g_l":130,"history_of_heart_disease":false,"vascular_surgery":false},{"age":50,"angina_or_dyspnea":false,"emergency_surgery":false,"hemoglobin_g_dl":13,"hemoglobin_g_l":130,"history_of_heart_disease":false,"vascular_surgery":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"angina_or_dyspnea":false,"citation":{"authors":"Dakik HA, Chehab O, Eldirani M, Sbeity E, Karam C, Abou Hassan O, Msheik A, Kaspar C, Makki M, Tamim H","doi":"10.1016/j.jacc.2019.04.023","id":"dakik-2019","pmid":"31221255","source":"J Am Coll Cardiol. 2019;73(24):3067-3078","title":"A New Index for Pre-Operative Cardiovascular Evaluation"},"components":[{"factor":"history_of_heart_disease","points":0,"present":false},{"factor":"angina_or_dyspnea","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false,"value":50},{"factor":"hemoglobin_lt_12","points":0,"present":false,"value":13},{"factor":"vascular_surgery","points":0,"present":false},{"factor":"emergency_surgery","points":0,"present":false}],"derivation_event_rate_percent":0,"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.","emergency_surgery":false,"formula":"aub_has2","formula_expression":"AUB-HAS2 = history_of_heart_disease + angina_or_dyspnea + (age ≥75) + (hemoglobin <12 g/dL) + vascular_surgery + emergency_surgery; each 1; max 6; low 0-1, intermediate 2-3, high >3","hemoglobin_g_dl":13,"history_of_heart_disease":false,"max_score":6,"risk_band":"low","score":0,"vascular_surgery":false},{"age_years":50,"angina_or_dyspnea":false,"citation":{"authors":"Dakik HA, Chehab O, Eldirani M, Sbeity E, Karam C, Abou Hassan O, Msheik A, Kaspar C, Makki M, Tamim H","doi":"10.1016/j.jacc.2019.04.023","id":"dakik-2019","pmid":"31221255","source":"J Am Coll Cardiol. 2019;73(24):3067-3078","title":"A New Index for Pre-Operative Cardiovascular Evaluation"},"components":[{"factor":"history_of_heart_disease","points":0,"present":false},{"factor":"angina_or_dyspnea","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false,"value":50},{"factor":"hemoglobin_lt_12","points":0,"present":false,"value":13},{"factor":"vascular_surgery","points":0,"present":false},{"factor":"emergency_surgery","points":0,"present":false}],"derivation_event_rate_percent":0,"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.","emergency_surgery":false,"formula":"aub_has2","formula_expression":"AUB-HAS2 = history_of_heart_disease + angina_or_dyspnea + (age ≥75) + (hemoglobin <12 g/dL) + vascular_surgery + emergency_surgery; each 1; max 6; low 0-1, intermediate 2-3, high >3","hemoglobin_g_dl":13,"history_of_heart_disease":false,"max_score":6,"risk_band":"low","score":0,"vascular_surgery":false}],"path":"/api/calc/aub_has2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥75 scores 1 (Dakik 2019). 75 scores; 74 does not.","type":"integer"},"angina_or_dyspnea":{"description":"Symptoms of angina or dyspnea as assigned by the caller (Dakik 2019). true or false. magent does not take a symptom history. 1 point if true.","type":"boolean"},"emergency_surgery":{"description":"Emergency surgery as assigned by the caller (Dakik 2019). true or false. 1 point if true.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. Dakik 2019 writes mg/dl; clinical use is g/dL. <12 g/dL scores 1 (11.9 scores; 12.0 does not). magent does not assay hemoglobin.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"history_of_heart_disease":{"description":"History of heart disease as assigned by the caller (Dakik 2019). true or false. magent does not take a cardiac history. 1 point if true.","type":"boolean"},"vascular_surgery":{"description":"Vascular surgery as assigned by the caller (Dakik 2019). true or false. 1 point if true.","type":"boolean"}},"required":["age","history_of_heart_disease","angina_or_dyspnea","vascular_surgery","emergency_surgery"],"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":["aub-has2","preoperative","cardiac-risk","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:49:52.303Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:49:52.159Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":50,"angina_or_dyspnea":false,"emergency_surgery":false,"hemoglobin_g_dl":13,"hemoglobin_g_l":130,"history_of_heart_disease":false,"vascular_surgery":false},{"age":50,"angina_or_dyspnea":false,"emergency_surgery":false,"hemoglobin_g_dl":13,"hemoglobin_g_l":130,"history_of_heart_disease":false,"vascular_surgery":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"angina_or_dyspnea":false,"citation":{"authors":"Dakik HA, Chehab O, Eldirani M, Sbeity E, Karam C, Abou Hassan O, Msheik A, Kaspar C, Makki M, Tamim H","doi":"10.1016/j.jacc.2019.04.023","id":"dakik-2019","pmid":"31221255","source":"J Am Coll Cardiol. 2019;73(24):3067-3078","title":"A New Index for Pre-Operative Cardiovascular Evaluation"},"components":[{"factor":"history_of_heart_disease","points":0,"present":false},{"factor":"angina_or_dyspnea","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false,"value":50},{"factor":"hemoglobin_lt_12","points":0,"present":false,"value":13},{"factor":"vascular_surgery","points":0,"present":false},{"factor":"emergency_surgery","points":0,"present":false}],"derivation_event_rate_percent":0,"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.","emergency_surgery":false,"formula":"aub_has2","formula_expression":"AUB-HAS2 = history_of_heart_disease + angina_or_dyspnea + (age ≥75) + (hemoglobin <12 g/dL) + vascular_surgery + emergency_surgery; each 1; max 6; low 0-1, intermediate 2-3, high >3","hemoglobin_g_dl":13,"history_of_heart_disease":false,"max_score":6,"risk_band":"low","score":0,"vascular_surgery":false},{"age_years":50,"angina_or_dyspnea":false,"citation":{"authors":"Dakik HA, Chehab O, Eldirani M, Sbeity E, Karam C, Abou Hassan O, Msheik A, Kaspar C, Makki M, Tamim H","doi":"10.1016/j.jacc.2019.04.023","id":"dakik-2019","pmid":"31221255","source":"J Am Coll Cardiol. 2019;73(24):3067-3078","title":"A New Index for Pre-Operative Cardiovascular Evaluation"},"components":[{"factor":"history_of_heart_disease","points":0,"present":false},{"factor":"angina_or_dyspnea","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false,"value":50},{"factor":"hemoglobin_lt_12","points":0,"present":false,"value":13},{"factor":"vascular_surgery","points":0,"present":false},{"factor":"emergency_surgery","points":0,"present":false}],"derivation_event_rate_percent":0,"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.","emergency_surgery":false,"formula":"aub_has2","formula_expression":"AUB-HAS2 = history_of_heart_disease + angina_or_dyspnea + (age ≥75) + (hemoglobin <12 g/dL) + vascular_surgery + emergency_surgery; each 1; max 6; low 0-1, intermediate 2-3, high >3","hemoglobin_g_dl":13,"history_of_heart_disease":false,"max_score":6,"risk_band":"low","score":0,"vascular_surgery":false}],"path":"/api/calc/aub_has2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). Age ≥75 scores 1 (Dakik 2019). 75 scores; 74 does not.","type":"integer"},"angina_or_dyspnea":{"description":"Symptoms of angina or dyspnea as assigned by the caller (Dakik 2019). true or false. magent does not take a symptom history. 1 point if true.","type":"boolean"},"emergency_surgery":{"description":"Emergency surgery as assigned by the caller (Dakik 2019). true or false. 1 point if true.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. Dakik 2019 writes mg/dl; clinical use is g/dL. <12 g/dL scores 1 (11.9 scores; 12.0 does not). magent does not assay hemoglobin.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both.","type":"number"},"history_of_heart_disease":{"description":"History of heart disease as assigned by the caller (Dakik 2019). true or false. magent does not take a cardiac history. 1 point if true.","type":"boolean"},"vascular_surgery":{"description":"Vascular surgery as assigned by the caller (Dakik 2019). true or false. 1 point if true.","type":"boolean"}},"required":["age","history_of_heart_disease","angina_or_dyspnea","vascular_surgery","emergency_surgery"],"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},{"id":39578,"slug":"39578","resource":"https://api.magentlab.com/api/calc/kt_v","description":"Daugirdas 1993 second-generation single-pool variable-volume Kt/V. Kt/V = -ln(R - 0.008 * t) + (4 - 3.5 * R) * UF / W, with R = post_bun_mg_dl / pre_bun_mg_dl. Numeric Kt/V to 2 decimals. Not a dialysis prescription, not equilibrated eKt/V, not stdKt/V, and not a urea-reduction-ratio tool. magent does not assign KDOQI or other adequacy targets.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"post_bun_mg_dl":24,"pre_bun_mg_dl":80,"session_hours":4,"uf_l":2,"weight_kg":70,"weight_lb":154.32},{"post_bun_mg_dl":24,"pre_bun_mg_dl":80,"session_hours":4,"uf_l":2,"weight_kg":70,"weight_lb":154.32}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Daugirdas JT","doi":"10.1681/ASN.V451205","id":"daugirdas-1993","pmid":"8305648","source":"J Am Soc Nephrol. 1993;4(5):1205-1213","title":"Second generation logarithmic estimates of single-pool variable volume Kt/V: an analysis of error"},"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":"daugirdas_1993","formula_expression":"Kt/V = -ln(R - 0.008 * t) + (4 - 3.5 * R) * UF / W","kt_v":1.4,"post_bun_mg_dl":24,"pre_bun_mg_dl":80,"session_hours":4,"uf_l":2,"weight_kg":70},{"citation":{"authors":"Daugirdas JT","doi":"10.1681/ASN.V451205","id":"daugirdas-1993","pmid":"8305648","source":"J Am Soc Nephrol. 1993;4(5):1205-1213","title":"Second generation logarithmic estimates of single-pool variable volume Kt/V: an analysis of error"},"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":"daugirdas_1993","formula_expression":"Kt/V = -ln(R - 0.008 * t) + (4 - 3.5 * R) * UF / W","kt_v":1.4,"post_bun_mg_dl":24,"pre_bun_mg_dl":80,"session_hours":4,"uf_l":2,"weight_kg":70}],"path":"/api/calc/kt_v"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"post_bun_mg_dl":{"description":"Postdialysis blood urea nitrogen in mg/dL (1-200). Required with pre_bun_mg_dl.","type":"number"},"pre_bun_mg_dl":{"description":"Predialysis blood urea nitrogen in mg/dL (1-200). Required with post_bun_mg_dl.","type":"number"},"session_hours":{"description":"Hemodialysis session length in hours (1.0-8.0). Daugirdas 1993 t.","type":"number"},"uf_l":{"description":"Ultrafiltration volume in litres (0-15). Daugirdas 1993 UF.","type":"number"},"weight_kg":{"description":"Post-dialysis body weight in kilograms (1-500). Provide weight_kg or weight_lb, not both.","type":"number"},"weight_lb":{"description":"Post-dialysis body weight in pounds (2-1100). Converted as kg = lb × 0.45359237. Provide weight_kg or weight_lb, not both.","type":"number"}},"required":["pre_bun_mg_dl","post_bun_mg_dl","session_hours","uf_l"],"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":["kt-v","dialysis","kidney","urea","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:44:56.635Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:44:56.513Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"post_bun_mg_dl":24,"pre_bun_mg_dl":80,"session_hours":4,"uf_l":2,"weight_kg":70,"weight_lb":154.32},{"post_bun_mg_dl":24,"pre_bun_mg_dl":80,"session_hours":4,"uf_l":2,"weight_kg":70,"weight_lb":154.32}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Daugirdas JT","doi":"10.1681/ASN.V451205","id":"daugirdas-1993","pmid":"8305648","source":"J Am Soc Nephrol. 1993;4(5):1205-1213","title":"Second generation logarithmic estimates of single-pool variable volume Kt/V: an analysis of error"},"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":"daugirdas_1993","formula_expression":"Kt/V = -ln(R - 0.008 * t) + (4 - 3.5 * R) * UF / W","kt_v":1.4,"post_bun_mg_dl":24,"pre_bun_mg_dl":80,"session_hours":4,"uf_l":2,"weight_kg":70},{"citation":{"authors":"Daugirdas JT","doi":"10.1681/ASN.V451205","id":"daugirdas-1993","pmid":"8305648","source":"J Am Soc Nephrol. 1993;4(5):1205-1213","title":"Second generation logarithmic estimates of single-pool variable volume Kt/V: an analysis of error"},"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":"daugirdas_1993","formula_expression":"Kt/V = -ln(R - 0.008 * t) + (4 - 3.5 * R) * UF / W","kt_v":1.4,"post_bun_mg_dl":24,"pre_bun_mg_dl":80,"session_hours":4,"uf_l":2,"weight_kg":70}],"path":"/api/calc/kt_v"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"post_bun_mg_dl":{"description":"Postdialysis blood urea nitrogen in mg/dL (1-200). Required with pre_bun_mg_dl.","type":"number"},"pre_bun_mg_dl":{"description":"Predialysis blood urea nitrogen in mg/dL (1-200). Required with post_bun_mg_dl.","type":"number"},"session_hours":{"description":"Hemodialysis session length in hours (1.0-8.0). Daugirdas 1993 t.","type":"number"},"uf_l":{"description":"Ultrafiltration volume in litres (0-15). Daugirdas 1993 UF.","type":"number"},"weight_kg":{"description":"Post-dialysis body weight in kilograms (1-500). Provide weight_kg or weight_lb, not both.","type":"number"},"weight_lb":{"description":"Post-dialysis body weight in pounds (2-1100). Converted as kg = lb × 0.45359237. Provide weight_kg or weight_lb, not both.","type":"number"}},"required":["pre_bun_mg_dl","post_bun_mg_dl","session_hours","uf_l"],"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},{"id":39579,"slug":"39579","resource":"https://api.magentlab.com/api/calc/psad","description":"Benson 1992 PSA density: psa_ng_ml / prostate volume (ml). Volume is length_cm × width_cm × depth_cm × 0.5 (D1×D2×D3×1/2), not π/6. Provide PSA with prostate_volume_ml (1-500) or three dimensions (1-20 cm each), not both. Reports dimensionless psad to 3 decimals and retrospective bands <=0.05, 0.05-0.10, >=0.10. magent does not measure the gland or diagnose cancer. Not a medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"depth_cm":4,"length_cm":4,"prostate_volume_ml":40,"psa_ng_ml":4,"width_cm":4},{"depth_cm":4,"length_cm":4,"prostate_volume_ml":40,"psa_ng_ml":4,"width_cm":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"benson_band":">=0.10","citation":{"authors":"Benson MC, Whang IS, Pantuck A, Ring K, Kaplan SA, Olsson CA, Cooner WH","doi":"10.1016/s0022-5347(17)37393-7","id":"benson-1992-psad","pmid":"1371554","source":"J Urol. 1992;147(3 Pt 2):815-816","title":"Prostate specific antigen density: a means of distinguishing benign prostatic hypertrophy and prostate cancer"},"depth_cm":4,"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":"psad","formula_expression":"volume_ml = length_cm × width_cm × depth_cm × 0.5 (Benson: D1×D2×D3×1/2, not π/6); psad = psa_ng_ml / volume_ml","length_cm":4,"prostate_volume_ml":32,"psa_ng_ml":4,"psad":0.125,"width_cm":4},{"benson_band":">=0.10","citation":{"authors":"Benson MC, Whang IS, Pantuck A, Ring K, Kaplan SA, Olsson CA, Cooner WH","doi":"10.1016/s0022-5347(17)37393-7","id":"benson-1992-psad","pmid":"1371554","source":"J Urol. 1992;147(3 Pt 2):815-816","title":"Prostate specific antigen density: a means of distinguishing benign prostatic hypertrophy and prostate cancer"},"depth_cm":4,"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":"psad","formula_expression":"volume_ml = length_cm × width_cm × depth_cm × 0.5 (Benson: D1×D2×D3×1/2, not π/6); psad = psa_ng_ml / volume_ml","length_cm":4,"prostate_volume_ml":32,"psa_ng_ml":4,"psad":0.125,"width_cm":4}],"path":"/api/calc/psad"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"depth_cm":{"description":"Prostate depth (D3) in cm (1-20). Required with length_cm and width_cm when prostate_volume_ml is omitted.","type":"number"},"length_cm":{"description":"Prostate length (D1) in cm (1-20). Required with width_cm and depth_cm when prostate_volume_ml is omitted. Benson volume = L×W×D×0.5.","type":"number"},"prostate_volume_ml":{"description":"Caller-supplied prostate volume in ml (1-500). Provide this or length_cm, width_cm, and depth_cm, not both. magent does not measure the gland.","type":"number"},"psa_ng_ml":{"description":"Serum prostate-specific antigen in ng/ml (0.01-10000, magent clamp). magent does not assay PSA.","type":"number"},"width_cm":{"description":"Prostate width (D2) in cm (1-20). Required with length_cm and depth_cm when prostate_volume_ml is omitted.","type":"number"}},"required":["psa_ng_ml"],"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":["psad","psa-density","prostate","kidney","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:44:31.622Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:44:31.502Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"depth_cm":4,"length_cm":4,"prostate_volume_ml":40,"psa_ng_ml":4,"width_cm":4},{"depth_cm":4,"length_cm":4,"prostate_volume_ml":40,"psa_ng_ml":4,"width_cm":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"benson_band":">=0.10","citation":{"authors":"Benson MC, Whang IS, Pantuck A, Ring K, Kaplan SA, Olsson CA, Cooner WH","doi":"10.1016/s0022-5347(17)37393-7","id":"benson-1992-psad","pmid":"1371554","source":"J Urol. 1992;147(3 Pt 2):815-816","title":"Prostate specific antigen density: a means of distinguishing benign prostatic hypertrophy and prostate cancer"},"depth_cm":4,"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":"psad","formula_expression":"volume_ml = length_cm × width_cm × depth_cm × 0.5 (Benson: D1×D2×D3×1/2, not π/6); psad = psa_ng_ml / volume_ml","length_cm":4,"prostate_volume_ml":32,"psa_ng_ml":4,"psad":0.125,"width_cm":4},{"benson_band":">=0.10","citation":{"authors":"Benson MC, Whang IS, Pantuck A, Ring K, Kaplan SA, Olsson CA, Cooner WH","doi":"10.1016/s0022-5347(17)37393-7","id":"benson-1992-psad","pmid":"1371554","source":"J Urol. 1992;147(3 Pt 2):815-816","title":"Prostate specific antigen density: a means of distinguishing benign prostatic hypertrophy and prostate cancer"},"depth_cm":4,"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":"psad","formula_expression":"volume_ml = length_cm × width_cm × depth_cm × 0.5 (Benson: D1×D2×D3×1/2, not π/6); psad = psa_ng_ml / volume_ml","length_cm":4,"prostate_volume_ml":32,"psa_ng_ml":4,"psad":0.125,"width_cm":4}],"path":"/api/calc/psad"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"depth_cm":{"description":"Prostate depth (D3) in cm (1-20). Required with length_cm and width_cm when prostate_volume_ml is omitted.","type":"number"},"length_cm":{"description":"Prostate length (D1) in cm (1-20). Required with width_cm and depth_cm when prostate_volume_ml is omitted. Benson volume = L×W×D×0.5.","type":"number"},"prostate_volume_ml":{"description":"Caller-supplied prostate volume in ml (1-500). Provide this or length_cm, width_cm, and depth_cm, not both. magent does not measure the gland.","type":"number"},"psa_ng_ml":{"description":"Serum prostate-specific antigen in ng/ml (0.01-10000, magent clamp). magent does not assay PSA.","type":"number"},"width_cm":{"description":"Prostate width (D2) in cm (1-20). Required with length_cm and depth_cm when prostate_volume_ml is omitted.","type":"number"}},"required":["psa_ng_ml"],"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},{"id":39580,"slug":"39580","resource":"https://api.magentlab.com/api/calc/cp_aki","description":"Gupta 2024 Figure 2 simple CP-AKI score after first IV cisplatin: age, hypertension, diabetes, current or former smoking, hemoglobin g/L, WBC, albumin g/L, magnesium mmol/L, and cisplatin dose mg. Max 22.5. Low / moderate / high / very_high. Not a diagnosis or chemo order. magent does not assay labs or dose cisplatin.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"albumin_g_dl":4.2,"albumin_g_l":42,"cisplatin_dose_mg":50,"current_or_former_smoker":false,"diabetes":false,"hemoglobin_g_dl":13,"hemoglobin_g_l":130,"hypertension":false,"magnesium_mmol_l":0.9,"wbc_k_ul":8,"wbc_ul":8000},{"age":40,"albumin_g_dl":4.2,"albumin_g_l":42,"cisplatin_dose_mg":50,"current_or_former_smoker":false,"diabetes":false,"hemoglobin_g_dl":13,"hemoglobin_g_l":130,"hypertension":false,"magnesium_mmol_l":0.9,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"albumin_g_l":42,"cisplatin_dose_mg":50,"citation":{"authors":"Gupta S, et al.","doi":"10.1136/bmj-2023-077169","id":"gupta-2024","pmid":"38538012","source":"BMJ. 2024;384:e077169","title":"Derivation and external validation of a simple risk score for predicting severe acute kidney injury after intravenous cisplatin: cohort study"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"current_or_former_smoker","points":0,"present":false},{"factor":"hemoglobin","points":0,"present":false,"value":130},{"factor":"wbc","points":0,"present":false,"value":8},{"factor":"albumin","points":0,"present":false,"value":42},{"factor":"magnesium","points":0,"present":false,"value":0.9},{"factor":"cisplatin_dose","points":0,"present":false,"value":50}],"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":"cp_aki","formula_expression":"CP-AKI simple = age (≤45 0; 46-60 2.5; 61-70 3.5; >70 4.5) + hypertension 1 + diabetes 1 + current_or_former_smoker 1 + hemoglobin_g_l (≥120 0; 110-119 1; <110 1.5) + wbc_10e9_l (≤12.0 0; >12.0 1.5) + albumin_g_l (>38 0; 33-38 1; <33 1.5) + magnesium_mmol_l (≥0.82 0; <0.82 1) + cisplatin_dose_mg (≤50 0; 51-75 2; 76-100 2.5; 101-125 3; 126-150 5; 151-200 7.5; >200 9.5); Gupta 2024 Figure 2 odds-ratio points; max 22.5; no creatinine; no platelets; low 0-5.5 / moderate 6-9.5 / high 10-15.5 / very_high ≥16","hemoglobin_g_l":130,"magnesium_mmol_l":0.9,"max_score":22.5,"risk_group":"low","score":0,"wbc_10e9_l":8},{"age":40,"albumin_g_l":42,"cisplatin_dose_mg":50,"citation":{"authors":"Gupta S, et al.","doi":"10.1136/bmj-2023-077169","id":"gupta-2024","pmid":"38538012","source":"BMJ. 2024;384:e077169","title":"Derivation and external validation of a simple risk score for predicting severe acute kidney injury after intravenous cisplatin: cohort study"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"current_or_former_smoker","points":0,"present":false},{"factor":"hemoglobin","points":0,"present":false,"value":130},{"factor":"wbc","points":0,"present":false,"value":8},{"factor":"albumin","points":0,"present":false,"value":42},{"factor":"magnesium","points":0,"present":false,"value":0.9},{"factor":"cisplatin_dose","points":0,"present":false,"value":50}],"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":"cp_aki","formula_expression":"CP-AKI simple = age (≤45 0; 46-60 2.5; 61-70 3.5; >70 4.5) + hypertension 1 + diabetes 1 + current_or_former_smoker 1 + hemoglobin_g_l (≥120 0; 110-119 1; <110 1.5) + wbc_10e9_l (≤12.0 0; >12.0 1.5) + albumin_g_l (>38 0; 33-38 1; <33 1.5) + magnesium_mmol_l (≥0.82 0; <0.82 1) + cisplatin_dose_mg (≤50 0; 51-75 2; 76-100 2.5; 101-125 3; 126-150 5; 151-200 7.5; >200 9.5); Gupta 2024 Figure 2 odds-ratio points; max 22.5; no creatinine; no platelets; low 0-5.5 / moderate 6-9.5 / high 10-15.5 / very_high ≥16","hemoglobin_g_l":130,"magnesium_mmol_l":0.9,"max_score":22.5,"risk_group":"low","score":0,"wbc_10e9_l":8}],"path":"/api/calc/cp_aki"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Gupta 2024 Figure 2: ≤45 scores 0; 46-60 scores 2.5; 61-70 scores 3.5; >70 scores 4.5.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as albumin_g_l = albumin_g_dl × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60), Gupta 2024 units. Provide this or albumin_g_dl, not both. >38 scores 0; 33-38 scores 1; <33 scores 1.5. magent does not assay albumin.","type":"number"},"cisplatin_dose_mg":{"description":"First intravenous cisplatin dose in mg (1-500), Gupta 2024 Figure 2. ≤50 scores 0; 51-75 scores 2; 76-100 scores 2.5; 101-125 scores 3; 126-150 scores 5; 151-200 scores 7.5; >200 scores 9.5. magent does not dose cisplatin.","type":"number"},"current_or_former_smoker":{"description":"Caller-assigned current or former smoker (Gupta 2024 Figure 2 simple score; BMJ 2024;385:q1207). true scores 1. magent does not take a smoking history.","type":"boolean"},"diabetes":{"description":"Caller-assigned diabetes mellitus (Gupta 2024 Figure 2). true scores 1. magent does not diagnose diabetes.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Converted as hemoglobin_g_l = hemoglobin_g_dl × 10. Provide this or hemoglobin_g_l, not both.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220), Gupta 2024 units. Provide this or hemoglobin_g_dl, not both. ≥120 scores 0; 110-119 scores 1; <110 scores 1.5. magent does not assay hemoglobin.","type":"number"},"hypertension":{"description":"Caller-assigned hypertension (Gupta 2024 Figure 2). true scores 1. magent does not diagnose hypertension.","type":"boolean"},"magnesium_mmol_l":{"description":"Serum magnesium in mmol/L (0.2-2.5), Gupta 2024 units. ≥0.82 scores 0; <0.82 scores 1. magent does not assay magnesium.","type":"number"},"wbc_k_ul":{"description":"White blood cell count in 10^9/L (0.01-500), same as k/µL. Provide this or wbc_ul, not both. ≤12.0 scores 0; >12.0 scores 1.5 (Gupta 2024 Figure 2). magent does not assay WBC.","type":"number"},"wbc_ul":{"description":"White blood cell count per µL (10-500000). Converted as wbc_10e9_l = wbc_ul / 1000. Provide this or wbc_k_ul, not both.","type":"number"}},"required":["age","hypertension","diabetes","current_or_former_smoker","magnesium_mmol_l","cisplatin_dose_mg"],"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":["cp-aki","cisplatin","kidney","aki","oncology","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:44:00.289Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:44:00.148Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"albumin_g_dl":4.2,"albumin_g_l":42,"cisplatin_dose_mg":50,"current_or_former_smoker":false,"diabetes":false,"hemoglobin_g_dl":13,"hemoglobin_g_l":130,"hypertension":false,"magnesium_mmol_l":0.9,"wbc_k_ul":8,"wbc_ul":8000},{"age":40,"albumin_g_dl":4.2,"albumin_g_l":42,"cisplatin_dose_mg":50,"current_or_former_smoker":false,"diabetes":false,"hemoglobin_g_dl":13,"hemoglobin_g_l":130,"hypertension":false,"magnesium_mmol_l":0.9,"wbc_k_ul":8,"wbc_ul":8000}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age":40,"albumin_g_l":42,"cisplatin_dose_mg":50,"citation":{"authors":"Gupta S, et al.","doi":"10.1136/bmj-2023-077169","id":"gupta-2024","pmid":"38538012","source":"BMJ. 2024;384:e077169","title":"Derivation and external validation of a simple risk score for predicting severe acute kidney injury after intravenous cisplatin: cohort study"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"current_or_former_smoker","points":0,"present":false},{"factor":"hemoglobin","points":0,"present":false,"value":130},{"factor":"wbc","points":0,"present":false,"value":8},{"factor":"albumin","points":0,"present":false,"value":42},{"factor":"magnesium","points":0,"present":false,"value":0.9},{"factor":"cisplatin_dose","points":0,"present":false,"value":50}],"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":"cp_aki","formula_expression":"CP-AKI simple = age (≤45 0; 46-60 2.5; 61-70 3.5; >70 4.5) + hypertension 1 + diabetes 1 + current_or_former_smoker 1 + hemoglobin_g_l (≥120 0; 110-119 1; <110 1.5) + wbc_10e9_l (≤12.0 0; >12.0 1.5) + albumin_g_l (>38 0; 33-38 1; <33 1.5) + magnesium_mmol_l (≥0.82 0; <0.82 1) + cisplatin_dose_mg (≤50 0; 51-75 2; 76-100 2.5; 101-125 3; 126-150 5; 151-200 7.5; >200 9.5); Gupta 2024 Figure 2 odds-ratio points; max 22.5; no creatinine; no platelets; low 0-5.5 / moderate 6-9.5 / high 10-15.5 / very_high ≥16","hemoglobin_g_l":130,"magnesium_mmol_l":0.9,"max_score":22.5,"risk_group":"low","score":0,"wbc_10e9_l":8},{"age":40,"albumin_g_l":42,"cisplatin_dose_mg":50,"citation":{"authors":"Gupta S, et al.","doi":"10.1136/bmj-2023-077169","id":"gupta-2024","pmid":"38538012","source":"BMJ. 2024;384:e077169","title":"Derivation and external validation of a simple risk score for predicting severe acute kidney injury after intravenous cisplatin: cohort study"},"components":[{"factor":"age","points":0,"present":false,"value":40},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"current_or_former_smoker","points":0,"present":false},{"factor":"hemoglobin","points":0,"present":false,"value":130},{"factor":"wbc","points":0,"present":false,"value":8},{"factor":"albumin","points":0,"present":false,"value":42},{"factor":"magnesium","points":0,"present":false,"value":0.9},{"factor":"cisplatin_dose","points":0,"present":false,"value":50}],"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":"cp_aki","formula_expression":"CP-AKI simple = age (≤45 0; 46-60 2.5; 61-70 3.5; >70 4.5) + hypertension 1 + diabetes 1 + current_or_former_smoker 1 + hemoglobin_g_l (≥120 0; 110-119 1; <110 1.5) + wbc_10e9_l (≤12.0 0; >12.0 1.5) + albumin_g_l (>38 0; 33-38 1; <33 1.5) + magnesium_mmol_l (≥0.82 0; <0.82 1) + cisplatin_dose_mg (≤50 0; 51-75 2; 76-100 2.5; 101-125 3; 126-150 5; 151-200 7.5; >200 9.5); Gupta 2024 Figure 2 odds-ratio points; max 22.5; no creatinine; no platelets; low 0-5.5 / moderate 6-9.5 / high 10-15.5 / very_high ≥16","hemoglobin_g_l":130,"magnesium_mmol_l":0.9,"max_score":22.5,"risk_group":"low","score":0,"wbc_10e9_l":8}],"path":"/api/calc/cp_aki"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Gupta 2024 Figure 2: ≤45 scores 0; 46-60 scores 2.5; 61-70 scores 3.5; >70 scores 4.5.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as albumin_g_l = albumin_g_dl × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60), Gupta 2024 units. Provide this or albumin_g_dl, not both. >38 scores 0; 33-38 scores 1; <33 scores 1.5. magent does not assay albumin.","type":"number"},"cisplatin_dose_mg":{"description":"First intravenous cisplatin dose in mg (1-500), Gupta 2024 Figure 2. ≤50 scores 0; 51-75 scores 2; 76-100 scores 2.5; 101-125 scores 3; 126-150 scores 5; 151-200 scores 7.5; >200 scores 9.5. magent does not dose cisplatin.","type":"number"},"current_or_former_smoker":{"description":"Caller-assigned current or former smoker (Gupta 2024 Figure 2 simple score; BMJ 2024;385:q1207). true scores 1. magent does not take a smoking history.","type":"boolean"},"diabetes":{"description":"Caller-assigned diabetes mellitus (Gupta 2024 Figure 2). true scores 1. magent does not diagnose diabetes.","type":"boolean"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Converted as hemoglobin_g_l = hemoglobin_g_dl × 10. Provide this or hemoglobin_g_l, not both.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220), Gupta 2024 units. Provide this or hemoglobin_g_dl, not both. ≥120 scores 0; 110-119 scores 1; <110 scores 1.5. magent does not assay hemoglobin.","type":"number"},"hypertension":{"description":"Caller-assigned hypertension (Gupta 2024 Figure 2). true scores 1. magent does not diagnose hypertension.","type":"boolean"},"magnesium_mmol_l":{"description":"Serum magnesium in mmol/L (0.2-2.5), Gupta 2024 units. ≥0.82 scores 0; <0.82 scores 1. magent does not assay magnesium.","type":"number"},"wbc_k_ul":{"description":"White blood cell count in 10^9/L (0.01-500), same as k/µL. Provide this or wbc_ul, not both. ≤12.0 scores 0; >12.0 scores 1.5 (Gupta 2024 Figure 2). magent does not assay WBC.","type":"number"},"wbc_ul":{"description":"White blood cell count per µL (10-500000). Converted as wbc_10e9_l = wbc_ul / 1000. Provide this or wbc_k_ul, not both.","type":"number"}},"required":["age","hypertension","diabetes","current_or_former_smoker","magnesium_mmol_l","cisplatin_dose_mg"],"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},{"id":39581,"slug":"39581","resource":"https://api.magentlab.com/api/calc/pack_years","description":"NCI pack-year smoking exposure: pack_years = packs_per_day x years_smoked. One pack per day for one year is one pack-year; two packs per day for 0.5 year is the same. Provide packs_per_day (0-10) or cigarettes_per_day (0-200; 20 cigarettes = 1 pack), not both, plus years_smoked (0-80). magent does not take a smoking history interview. Not a lung-cancer screening order, COPD diagnosis, or medical device.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cigarettes_per_day":10,"packs_per_day":1,"years_smoked":1},{"cigarettes_per_day":10,"packs_per_day":1,"years_smoked":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"National Cancer Institute","id":"nci-pack-year","source":"NCI Dictionaries","title":"NCI Dictionary of Cancer Terms: pack year"},"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":"pack_years","formula_expression":"pack_years = packs_per_day × years_smoked","pack_years":1,"packs_per_day":1,"years_smoked":1},{"citation":{"authors":"National Cancer Institute","id":"nci-pack-year","source":"NCI Dictionaries","title":"NCI Dictionary of Cancer Terms: pack year"},"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":"pack_years","formula_expression":"pack_years = packs_per_day × years_smoked","pack_years":1,"packs_per_day":1,"years_smoked":1}],"path":"/api/calc/pack_years"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cigarettes_per_day":{"description":"Cigarettes smoked per day (0-200, magent clamp). Converted as packs_per_day = cigarettes_per_day / 20. Provide this or packs_per_day, not both.","type":"number"},"packs_per_day":{"description":"Cigarette packs smoked per day (0-10, magent clamp; NCI does not publish an input band). Provide this or cigarettes_per_day, not both. NCI: 1 pack/day for 1 year = 1 pack-year.","type":"number"},"years_smoked":{"description":"Years smoked (0-80, magent clamp; NCI does not publish an input band). NCI: 2 packs/day for 0.5 year = 1 pack-year. magent does not take a smoking history interview.","type":"number"}},"required":["years_smoked"],"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":["pack-years","smoking","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:41:15.753Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:41:15.631Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cigarettes_per_day":10,"packs_per_day":1,"years_smoked":1},{"cigarettes_per_day":10,"packs_per_day":1,"years_smoked":1}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"National Cancer Institute","id":"nci-pack-year","source":"NCI Dictionaries","title":"NCI Dictionary of Cancer Terms: pack year"},"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":"pack_years","formula_expression":"pack_years = packs_per_day × years_smoked","pack_years":1,"packs_per_day":1,"years_smoked":1},{"citation":{"authors":"National Cancer Institute","id":"nci-pack-year","source":"NCI Dictionaries","title":"NCI Dictionary of Cancer Terms: pack year"},"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":"pack_years","formula_expression":"pack_years = packs_per_day × years_smoked","pack_years":1,"packs_per_day":1,"years_smoked":1}],"path":"/api/calc/pack_years"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cigarettes_per_day":{"description":"Cigarettes smoked per day (0-200, magent clamp). Converted as packs_per_day = cigarettes_per_day / 20. Provide this or packs_per_day, not both.","type":"number"},"packs_per_day":{"description":"Cigarette packs smoked per day (0-10, magent clamp; NCI does not publish an input band). Provide this or cigarettes_per_day, not both. NCI: 1 pack/day for 1 year = 1 pack-year.","type":"number"},"years_smoked":{"description":"Years smoked (0-80, magent clamp; NCI does not publish an input band). NCI: 2 packs/day for 0.5 year = 1 pack-year. magent does not take a smoking history interview.","type":"number"}},"required":["years_smoked"],"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},{"id":39582,"slug":"39582","resource":"https://api.magentlab.com/api/calc/lips","description":"Gajic 2011 lung injury prediction score (Table 3): caller-assigned predisposing conditions, at most one high-risk surgery type plus emergency add-on, stacking trauma items, and risk modifiers including diabetes -1 only with sepsis. Score is a number; published observed range 0-15.5. Band low if <4, high if >=4 (ROC cutoff). Not an ARDS diagnosis. magent does not examine the patient or read imaging.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acidosis_ph_lt_735":false,"acute_abdomen":false,"alcohol_abuse":true,"aortic_vascular":false,"aspiration":false,"cardiac":false,"chemotherapy":false,"diabetes_mellitus":false,"emergency_surgery":false,"fio2_gt_035":true,"hypoalbuminemia":false,"lung_contusion":false,"multiple_fractures":false,"near_drowning":false,"obesity_bmi_gt_30":false,"orthopedic_spine":false,"pneumonia":true,"sepsis":true,"shock":true,"smoke_inhalation":false,"spo2_lt_95":false,"tachypnea_rr_gt_30":false,"traumatic_brain_injury":false},{"acidosis_ph_lt_735":false,"acute_abdomen":false,"alcohol_abuse":true,"aortic_vascular":false,"aspiration":false,"cardiac":false,"chemotherapy":false,"diabetes_mellitus":false,"emergency_surgery":false,"fio2_gt_035":true,"hypoalbuminemia":false,"lung_contusion":false,"multiple_fractures":false,"near_drowning":false,"obesity_bmi_gt_30":false,"orthopedic_spine":false,"pneumonia":true,"sepsis":true,"shock":true,"smoke_inhalation":false,"spo2_lt_95":false,"tachypnea_rr_gt_30":false,"traumatic_brain_injury":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gajic O, Dabbagh O, Park PK, Adesanya A, Chang SY, Hou P, Anderson H 3rd, Hoth JJ, Mikkelsen ME, Gentile NT, Gong MN, Talmor D, Bajwa E, Watkins TR, Festic E, Yilmaz M, Liendahl M, Khan NA, Sevransky JE, Malinchoc M; US Critical Illness and Injury Trials Group: Lung Injury Prevention Study Investigators (USCIITG-LIPS)","doi":"10.1164/rccm.201004-0549OC","id":"gajic-2011","pmid":"20802164","source":"Am J Respir Crit Care Med. 2011;183(4):462-470","title":"Early Identification of Patients at Risk of Acute Lung Injury: Evaluation of Lung Injury Prediction Score in a Multicenter Cohort Study"},"components":[{"factor":"shock","points":2,"present":true},{"factor":"aspiration","points":0,"present":false},{"factor":"sepsis","points":1,"present":true},{"factor":"pneumonia","points":1.5,"present":true},{"factor":"emergency_surgery","points":0,"present":false},{"factor":"traumatic_brain_injury","points":0,"present":false},{"factor":"smoke_inhalation","points":0,"present":false},{"factor":"near_drowning","points":0,"present":false},{"factor":"lung_contusion","points":0,"present":false},{"factor":"multiple_fractures","points":0,"present":false},{"factor":"alcohol_abuse","points":1,"present":true},{"factor":"obesity_bmi_gt_30","points":0,"present":false},{"factor":"hypoalbuminemia","points":0,"present":false},{"factor":"chemotherapy","points":0,"present":false},{"factor":"fio2_gt_035","points":2,"present":true},{"factor":"tachypnea_rr_gt_30","points":0,"present":false},{"factor":"spo2_lt_95","points":0,"present":false},{"factor":"acidosis_ph_lt_735","points":0,"present":false},{"factor":"orthopedic_spine","points":0,"present":false},{"factor":"acute_abdomen","points":0,"present":false},{"factor":"cardiac","points":0,"present":false},{"factor":"aortic_vascular","points":0,"present":false},{"factor":"diabetes_mellitus","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":"lips","formula_expression":"LIPS = shock(2) + aspiration(2) + sepsis(1) + pneumonia(1.5) + at most one of orthopedic_spine(1), acute_abdomen(2), cardiac(2.5), aortic_vascular(3.5) + emergency_surgery(1.5) + traumatic_brain_injury(2) + smoke_inhalation(2) + near_drowning(2) + lung_contusion(1.5) + multiple_fractures(1.5) + alcohol_abuse(1) + obesity_bmi_gt_30(1) + hypoalbuminemia(1) + chemotherapy(1) + fio2_gt_035(2) + tachypnea_rr_gt_30(1.5) + spo2_lt_95(1) + acidosis_ph_lt_735(1.5) + diabetes_mellitus(-1 only if sepsis); Gajic 2011 Table 3; published observed range 0-15.5; low <4, high >=4","lips_band":"high","max_score":15.5,"score":7.5},{"citation":{"authors":"Gajic O, Dabbagh O, Park PK, Adesanya A, Chang SY, Hou P, Anderson H 3rd, Hoth JJ, Mikkelsen ME, Gentile NT, Gong MN, Talmor D, Bajwa E, Watkins TR, Festic E, Yilmaz M, Liendahl M, Khan NA, Sevransky JE, Malinchoc M; US Critical Illness and Injury Trials Group: Lung Injury Prevention Study Investigators (USCIITG-LIPS)","doi":"10.1164/rccm.201004-0549OC","id":"gajic-2011","pmid":"20802164","source":"Am J Respir Crit Care Med. 2011;183(4):462-470","title":"Early Identification of Patients at Risk of Acute Lung Injury: Evaluation of Lung Injury Prediction Score in a Multicenter Cohort Study"},"components":[{"factor":"shock","points":2,"present":true},{"factor":"aspiration","points":0,"present":false},{"factor":"sepsis","points":1,"present":true},{"factor":"pneumonia","points":1.5,"present":true},{"factor":"emergency_surgery","points":0,"present":false},{"factor":"traumatic_brain_injury","points":0,"present":false},{"factor":"smoke_inhalation","points":0,"present":false},{"factor":"near_drowning","points":0,"present":false},{"factor":"lung_contusion","points":0,"present":false},{"factor":"multiple_fractures","points":0,"present":false},{"factor":"alcohol_abuse","points":1,"present":true},{"factor":"obesity_bmi_gt_30","points":0,"present":false},{"factor":"hypoalbuminemia","points":0,"present":false},{"factor":"chemotherapy","points":0,"present":false},{"factor":"fio2_gt_035","points":2,"present":true},{"factor":"tachypnea_rr_gt_30","points":0,"present":false},{"factor":"spo2_lt_95","points":0,"present":false},{"factor":"acidosis_ph_lt_735","points":0,"present":false},{"factor":"orthopedic_spine","points":0,"present":false},{"factor":"acute_abdomen","points":0,"present":false},{"factor":"cardiac","points":0,"present":false},{"factor":"aortic_vascular","points":0,"present":false},{"factor":"diabetes_mellitus","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":"lips","formula_expression":"LIPS = shock(2) + aspiration(2) + sepsis(1) + pneumonia(1.5) + at most one of orthopedic_spine(1), acute_abdomen(2), cardiac(2.5), aortic_vascular(3.5) + emergency_surgery(1.5) + traumatic_brain_injury(2) + smoke_inhalation(2) + near_drowning(2) + lung_contusion(1.5) + multiple_fractures(1.5) + alcohol_abuse(1) + obesity_bmi_gt_30(1) + hypoalbuminemia(1) + chemotherapy(1) + fio2_gt_035(2) + tachypnea_rr_gt_30(1.5) + spo2_lt_95(1) + acidosis_ph_lt_735(1.5) + diabetes_mellitus(-1 only if sepsis); Gajic 2011 Table 3; published observed range 0-15.5; low <4, high >=4","lips_band":"high","max_score":15.5,"score":7.5}],"path":"/api/calc/lips"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acidosis_ph_lt_735":{"description":"Acidosis (pH <7.35) as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not assay blood gas.","type":"boolean"},"acute_abdomen":{"description":"High-risk acute abdomen surgery as assigned by the caller (Gajic 2011 Table 3). true scores 2. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true.","type":"boolean"},"alcohol_abuse":{"description":"Alcohol abuse as assigned by the caller (Gajic 2011 Table 3). true scores 1.","type":"boolean"},"aortic_vascular":{"description":"High-risk aortic vascular surgery as assigned by the caller (Gajic 2011 Table 3). true scores 3.5. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true.","type":"boolean"},"aspiration":{"description":"Aspiration as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not examine the patient.","type":"boolean"},"cardiac":{"description":"High-risk cardiac surgery as assigned by the caller (Gajic 2011 Table 3). true scores 2.5. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true.","type":"boolean"},"chemotherapy":{"description":"Chemotherapy as assigned by the caller (Gajic 2011 Table 3). true scores 1.","type":"boolean"},"diabetes_mellitus":{"description":"Diabetes mellitus as assigned by the caller (Gajic 2011 Table 3 footnote dagger). Subtracts 1 only when sepsis is true. If diabetes is true and sepsis is false, 0 points (do not subtract). magent does not diagnose diabetes.","type":"boolean"},"emergency_surgery":{"description":"Emergency surgery as assigned by the caller (Gajic 2011 Table 3 footnote *: add 1.5 points if emergency surgery). true scores 1.5 in addition to any one surgery type.","type":"boolean"},"fio2_gt_035":{"description":"FiO2 >0.35 or >4 L/min as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not read the ventilator or flowmeter.","type":"boolean"},"hypoalbuminemia":{"description":"Hypoalbuminemia as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not assay albumin.","type":"boolean"},"lung_contusion":{"description":"Lung contusion as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. Trauma items may stack. magent does not read imaging.","type":"boolean"},"multiple_fractures":{"description":"Multiple fractures as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. Trauma items may stack.","type":"boolean"},"near_drowning":{"description":"Near drowning as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack.","type":"boolean"},"obesity_bmi_gt_30":{"description":"Obesity (BMI >30) as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not take height or weight.","type":"boolean"},"orthopedic_spine":{"description":"High-risk orthopedic spine surgery as assigned by the caller (Gajic 2011 Table 3). true scores 1. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true.","type":"boolean"},"pneumonia":{"description":"Pneumonia as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not read imaging.","type":"boolean"},"sepsis":{"description":"Sepsis as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not diagnose sepsis.","type":"boolean"},"shock":{"description":"Shock as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not examine the patient.","type":"boolean"},"smoke_inhalation":{"description":"Smoke inhalation as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack.","type":"boolean"},"spo2_lt_95":{"description":"SpO2 <95% as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not measure SpO2.","type":"boolean"},"tachypnea_rr_gt_30":{"description":"Tachypnea (respiratory rate >30) as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not count respirations.","type":"boolean"},"traumatic_brain_injury":{"description":"Traumatic brain injury as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack. magent does not read imaging.","type":"boolean"}},"required":["shock","aspiration","sepsis","pneumonia","orthopedic_spine","acute_abdomen","cardiac","aortic_vascular","emergency_surgery","traumatic_brain_injury","smoke_inhalation","near_drowning","lung_contusion","multiple_fractures","alcohol_abuse","obesity_bmi_gt_30","hypoalbuminemia","chemotherapy","fio2_gt_035","tachypnea_rr_gt_30","spo2_lt_95","acidosis_ph_lt_735","diabetes_mellitus"],"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":["lips","lung-injury","respiratory","score","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:40:23.555Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:40:23.393Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acidosis_ph_lt_735":false,"acute_abdomen":false,"alcohol_abuse":true,"aortic_vascular":false,"aspiration":false,"cardiac":false,"chemotherapy":false,"diabetes_mellitus":false,"emergency_surgery":false,"fio2_gt_035":true,"hypoalbuminemia":false,"lung_contusion":false,"multiple_fractures":false,"near_drowning":false,"obesity_bmi_gt_30":false,"orthopedic_spine":false,"pneumonia":true,"sepsis":true,"shock":true,"smoke_inhalation":false,"spo2_lt_95":false,"tachypnea_rr_gt_30":false,"traumatic_brain_injury":false},{"acidosis_ph_lt_735":false,"acute_abdomen":false,"alcohol_abuse":true,"aortic_vascular":false,"aspiration":false,"cardiac":false,"chemotherapy":false,"diabetes_mellitus":false,"emergency_surgery":false,"fio2_gt_035":true,"hypoalbuminemia":false,"lung_contusion":false,"multiple_fractures":false,"near_drowning":false,"obesity_bmi_gt_30":false,"orthopedic_spine":false,"pneumonia":true,"sepsis":true,"shock":true,"smoke_inhalation":false,"spo2_lt_95":false,"tachypnea_rr_gt_30":false,"traumatic_brain_injury":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Gajic O, Dabbagh O, Park PK, Adesanya A, Chang SY, Hou P, Anderson H 3rd, Hoth JJ, Mikkelsen ME, Gentile NT, Gong MN, Talmor D, Bajwa E, Watkins TR, Festic E, Yilmaz M, Liendahl M, Khan NA, Sevransky JE, Malinchoc M; US Critical Illness and Injury Trials Group: Lung Injury Prevention Study Investigators (USCIITG-LIPS)","doi":"10.1164/rccm.201004-0549OC","id":"gajic-2011","pmid":"20802164","source":"Am J Respir Crit Care Med. 2011;183(4):462-470","title":"Early Identification of Patients at Risk of Acute Lung Injury: Evaluation of Lung Injury Prediction Score in a Multicenter Cohort Study"},"components":[{"factor":"shock","points":2,"present":true},{"factor":"aspiration","points":0,"present":false},{"factor":"sepsis","points":1,"present":true},{"factor":"pneumonia","points":1.5,"present":true},{"factor":"emergency_surgery","points":0,"present":false},{"factor":"traumatic_brain_injury","points":0,"present":false},{"factor":"smoke_inhalation","points":0,"present":false},{"factor":"near_drowning","points":0,"present":false},{"factor":"lung_contusion","points":0,"present":false},{"factor":"multiple_fractures","points":0,"present":false},{"factor":"alcohol_abuse","points":1,"present":true},{"factor":"obesity_bmi_gt_30","points":0,"present":false},{"factor":"hypoalbuminemia","points":0,"present":false},{"factor":"chemotherapy","points":0,"present":false},{"factor":"fio2_gt_035","points":2,"present":true},{"factor":"tachypnea_rr_gt_30","points":0,"present":false},{"factor":"spo2_lt_95","points":0,"present":false},{"factor":"acidosis_ph_lt_735","points":0,"present":false},{"factor":"orthopedic_spine","points":0,"present":false},{"factor":"acute_abdomen","points":0,"present":false},{"factor":"cardiac","points":0,"present":false},{"factor":"aortic_vascular","points":0,"present":false},{"factor":"diabetes_mellitus","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":"lips","formula_expression":"LIPS = shock(2) + aspiration(2) + sepsis(1) + pneumonia(1.5) + at most one of orthopedic_spine(1), acute_abdomen(2), cardiac(2.5), aortic_vascular(3.5) + emergency_surgery(1.5) + traumatic_brain_injury(2) + smoke_inhalation(2) + near_drowning(2) + lung_contusion(1.5) + multiple_fractures(1.5) + alcohol_abuse(1) + obesity_bmi_gt_30(1) + hypoalbuminemia(1) + chemotherapy(1) + fio2_gt_035(2) + tachypnea_rr_gt_30(1.5) + spo2_lt_95(1) + acidosis_ph_lt_735(1.5) + diabetes_mellitus(-1 only if sepsis); Gajic 2011 Table 3; published observed range 0-15.5; low <4, high >=4","lips_band":"high","max_score":15.5,"score":7.5},{"citation":{"authors":"Gajic O, Dabbagh O, Park PK, Adesanya A, Chang SY, Hou P, Anderson H 3rd, Hoth JJ, Mikkelsen ME, Gentile NT, Gong MN, Talmor D, Bajwa E, Watkins TR, Festic E, Yilmaz M, Liendahl M, Khan NA, Sevransky JE, Malinchoc M; US Critical Illness and Injury Trials Group: Lung Injury Prevention Study Investigators (USCIITG-LIPS)","doi":"10.1164/rccm.201004-0549OC","id":"gajic-2011","pmid":"20802164","source":"Am J Respir Crit Care Med. 2011;183(4):462-470","title":"Early Identification of Patients at Risk of Acute Lung Injury: Evaluation of Lung Injury Prediction Score in a Multicenter Cohort Study"},"components":[{"factor":"shock","points":2,"present":true},{"factor":"aspiration","points":0,"present":false},{"factor":"sepsis","points":1,"present":true},{"factor":"pneumonia","points":1.5,"present":true},{"factor":"emergency_surgery","points":0,"present":false},{"factor":"traumatic_brain_injury","points":0,"present":false},{"factor":"smoke_inhalation","points":0,"present":false},{"factor":"near_drowning","points":0,"present":false},{"factor":"lung_contusion","points":0,"present":false},{"factor":"multiple_fractures","points":0,"present":false},{"factor":"alcohol_abuse","points":1,"present":true},{"factor":"obesity_bmi_gt_30","points":0,"present":false},{"factor":"hypoalbuminemia","points":0,"present":false},{"factor":"chemotherapy","points":0,"present":false},{"factor":"fio2_gt_035","points":2,"present":true},{"factor":"tachypnea_rr_gt_30","points":0,"present":false},{"factor":"spo2_lt_95","points":0,"present":false},{"factor":"acidosis_ph_lt_735","points":0,"present":false},{"factor":"orthopedic_spine","points":0,"present":false},{"factor":"acute_abdomen","points":0,"present":false},{"factor":"cardiac","points":0,"present":false},{"factor":"aortic_vascular","points":0,"present":false},{"factor":"diabetes_mellitus","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":"lips","formula_expression":"LIPS = shock(2) + aspiration(2) + sepsis(1) + pneumonia(1.5) + at most one of orthopedic_spine(1), acute_abdomen(2), cardiac(2.5), aortic_vascular(3.5) + emergency_surgery(1.5) + traumatic_brain_injury(2) + smoke_inhalation(2) + near_drowning(2) + lung_contusion(1.5) + multiple_fractures(1.5) + alcohol_abuse(1) + obesity_bmi_gt_30(1) + hypoalbuminemia(1) + chemotherapy(1) + fio2_gt_035(2) + tachypnea_rr_gt_30(1.5) + spo2_lt_95(1) + acidosis_ph_lt_735(1.5) + diabetes_mellitus(-1 only if sepsis); Gajic 2011 Table 3; published observed range 0-15.5; low <4, high >=4","lips_band":"high","max_score":15.5,"score":7.5}],"path":"/api/calc/lips"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acidosis_ph_lt_735":{"description":"Acidosis (pH <7.35) as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not assay blood gas.","type":"boolean"},"acute_abdomen":{"description":"High-risk acute abdomen surgery as assigned by the caller (Gajic 2011 Table 3). true scores 2. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true.","type":"boolean"},"alcohol_abuse":{"description":"Alcohol abuse as assigned by the caller (Gajic 2011 Table 3). true scores 1.","type":"boolean"},"aortic_vascular":{"description":"High-risk aortic vascular surgery as assigned by the caller (Gajic 2011 Table 3). true scores 3.5. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true.","type":"boolean"},"aspiration":{"description":"Aspiration as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not examine the patient.","type":"boolean"},"cardiac":{"description":"High-risk cardiac surgery as assigned by the caller (Gajic 2011 Table 3). true scores 2.5. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true.","type":"boolean"},"chemotherapy":{"description":"Chemotherapy as assigned by the caller (Gajic 2011 Table 3). true scores 1.","type":"boolean"},"diabetes_mellitus":{"description":"Diabetes mellitus as assigned by the caller (Gajic 2011 Table 3 footnote dagger). Subtracts 1 only when sepsis is true. If diabetes is true and sepsis is false, 0 points (do not subtract). magent does not diagnose diabetes.","type":"boolean"},"emergency_surgery":{"description":"Emergency surgery as assigned by the caller (Gajic 2011 Table 3 footnote *: add 1.5 points if emergency surgery). true scores 1.5 in addition to any one surgery type.","type":"boolean"},"fio2_gt_035":{"description":"FiO2 >0.35 or >4 L/min as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not read the ventilator or flowmeter.","type":"boolean"},"hypoalbuminemia":{"description":"Hypoalbuminemia as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not assay albumin.","type":"boolean"},"lung_contusion":{"description":"Lung contusion as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. Trauma items may stack. magent does not read imaging.","type":"boolean"},"multiple_fractures":{"description":"Multiple fractures as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. Trauma items may stack.","type":"boolean"},"near_drowning":{"description":"Near drowning as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack.","type":"boolean"},"obesity_bmi_gt_30":{"description":"Obesity (BMI >30) as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not take height or weight.","type":"boolean"},"orthopedic_spine":{"description":"High-risk orthopedic spine surgery as assigned by the caller (Gajic 2011 Table 3). true scores 1. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true.","type":"boolean"},"pneumonia":{"description":"Pneumonia as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not read imaging.","type":"boolean"},"sepsis":{"description":"Sepsis as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not diagnose sepsis.","type":"boolean"},"shock":{"description":"Shock as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not examine the patient.","type":"boolean"},"smoke_inhalation":{"description":"Smoke inhalation as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack.","type":"boolean"},"spo2_lt_95":{"description":"SpO2 <95% as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not measure SpO2.","type":"boolean"},"tachypnea_rr_gt_30":{"description":"Tachypnea (respiratory rate >30) as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not count respirations.","type":"boolean"},"traumatic_brain_injury":{"description":"Traumatic brain injury as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack. magent does not read imaging.","type":"boolean"}},"required":["shock","aspiration","sepsis","pneumonia","orthopedic_spine","acute_abdomen","cardiac","aortic_vascular","emergency_surgery","traumatic_brain_injury","smoke_inhalation","near_drowning","lung_contusion","multiple_fractures","alcohol_abuse","obesity_bmi_gt_30","hypoalbuminemia","chemotherapy","fio2_gt_035","tachypnea_rr_gt_30","spo2_lt_95","acidosis_ph_lt_735","diabetes_mellitus"],"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},{"id":39583,"slug":"39583","resource":"https://api.magentlab.com/api/calc/gap_index","description":"Ley 2012 GAP index (points) from sex (male 1), age (≤60 → 0, 61–65 → 1, >65 → 2), FVC % predicted (>75 → 0, 50–75 → 1, <50 → 2), and DLCO % predicted (>55 → 0, 36–55 → 1, ≤35 → 2; cannot perform → 3). Returns a 0–8 total and stage 1–3 (0–3 / 4–5 / 6–8). Deterministic published points with citation. Not a transplant listing and not a continuous GAP calculator.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":55,"dlco_cannot_perform":true,"dlco_percent_predicted":60,"fvc_percent_predicted":80,"sex":"female"},{"age":55,"dlco_cannot_perform":true,"dlco_percent_predicted":60,"fvc_percent_predicted":80,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":55,"citation":{"authors":"Ley B, Ryerson CJ, Vittinghoff E, et al.","doi":"10.7326/0003-4819-156-10-201205150-00004","id":"ley-2012","pmid":"22586007","source":"Ann Intern Med. 2012;156(10):684-691","title":"A multidimensional index and staging system for idiopathic pulmonary fibrosis"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":55},{"factor":"fvc","points":0,"present":false,"value":80},{"factor":"dlco","points":0,"present":false,"value":60}],"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.","dlco_cannot_perform":false,"dlco_percent_predicted":60,"formula":"gap_index","formula_expression":"GAP = sex_points + age_points + fvc_points + dlco_points; female 0 male 1; age <=60 -> 0, 61-65 -> 1, >65 -> 2; FVC% >75 -> 0, 50-75 -> 1, <50 -> 2; DLCO% >55 -> 0, 36-55 -> 1, <=35 -> 2, cannot perform -> 3; stages I 0-3 / II 4-5 / III 6-8; max 8","fvc_percent_predicted":80,"gap_stage":1,"max_score":8,"score":0,"sex":"female"},{"age_years":55,"citation":{"authors":"Ley B, Ryerson CJ, Vittinghoff E, et al.","doi":"10.7326/0003-4819-156-10-201205150-00004","id":"ley-2012","pmid":"22586007","source":"Ann Intern Med. 2012;156(10):684-691","title":"A multidimensional index and staging system for idiopathic pulmonary fibrosis"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":55},{"factor":"fvc","points":0,"present":false,"value":80},{"factor":"dlco","points":0,"present":false,"value":60}],"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.","dlco_cannot_perform":false,"dlco_percent_predicted":60,"formula":"gap_index","formula_expression":"GAP = sex_points + age_points + fvc_points + dlco_points; female 0 male 1; age <=60 -> 0, 61-65 -> 1, >65 -> 2; FVC% >75 -> 0, 50-75 -> 1, <50 -> 2; DLCO% >55 -> 0, 36-55 -> 1, <=35 -> 2, cannot perform -> 3; stages I 0-3 / II 4-5 / III 6-8; max 8","fvc_percent_predicted":80,"gap_stage":1,"max_score":8,"score":0,"sex":"female"}],"path":"/api/calc/gap_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Ley 2012: <=60 scores 0; 61-65 scores 1; >65 scores 2.","type":"integer"},"dlco_cannot_perform":{"description":"true when DLCO cannot be performed (Ley 2012 scores 3). Provide this or dlco_percent_predicted, not both.","type":"boolean"},"dlco_percent_predicted":{"description":"DLCO percent predicted (1-150). Provide this or dlco_cannot_perform=true, not both. Ley 2012: >55 scores 0; 36-55 scores 1; <=35 scores 2.","type":"number"},"fvc_percent_predicted":{"description":"FVC percent predicted (10-150). Ley 2012: >75 scores 0; 50-75 scores 1; <50 scores 2. 75.0 scores 1.","type":"number"},"sex":{"description":"Sex (female or male). Ley 2012: female scores 0; male scores 1.","enum":["female","male"],"type":"string"}},"required":["sex","age","fvc_percent_predicted"],"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":["gap","ipf","fibrosis","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:38:04.453Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:38:04.324Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":55,"dlco_cannot_perform":true,"dlco_percent_predicted":60,"fvc_percent_predicted":80,"sex":"female"},{"age":55,"dlco_cannot_perform":true,"dlco_percent_predicted":60,"fvc_percent_predicted":80,"sex":"female"}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":55,"citation":{"authors":"Ley B, Ryerson CJ, Vittinghoff E, et al.","doi":"10.7326/0003-4819-156-10-201205150-00004","id":"ley-2012","pmid":"22586007","source":"Ann Intern Med. 2012;156(10):684-691","title":"A multidimensional index and staging system for idiopathic pulmonary fibrosis"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":55},{"factor":"fvc","points":0,"present":false,"value":80},{"factor":"dlco","points":0,"present":false,"value":60}],"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.","dlco_cannot_perform":false,"dlco_percent_predicted":60,"formula":"gap_index","formula_expression":"GAP = sex_points + age_points + fvc_points + dlco_points; female 0 male 1; age <=60 -> 0, 61-65 -> 1, >65 -> 2; FVC% >75 -> 0, 50-75 -> 1, <50 -> 2; DLCO% >55 -> 0, 36-55 -> 1, <=35 -> 2, cannot perform -> 3; stages I 0-3 / II 4-5 / III 6-8; max 8","fvc_percent_predicted":80,"gap_stage":1,"max_score":8,"score":0,"sex":"female"},{"age_years":55,"citation":{"authors":"Ley B, Ryerson CJ, Vittinghoff E, et al.","doi":"10.7326/0003-4819-156-10-201205150-00004","id":"ley-2012","pmid":"22586007","source":"Ann Intern Med. 2012;156(10):684-691","title":"A multidimensional index and staging system for idiopathic pulmonary fibrosis"},"components":[{"factor":"sex","points":0,"present":false,"value":"female"},{"factor":"age","points":0,"present":false,"value":55},{"factor":"fvc","points":0,"present":false,"value":80},{"factor":"dlco","points":0,"present":false,"value":60}],"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.","dlco_cannot_perform":false,"dlco_percent_predicted":60,"formula":"gap_index","formula_expression":"GAP = sex_points + age_points + fvc_points + dlco_points; female 0 male 1; age <=60 -> 0, 61-65 -> 1, >65 -> 2; FVC% >75 -> 0, 50-75 -> 1, <50 -> 2; DLCO% >55 -> 0, 36-55 -> 1, <=35 -> 2, cannot perform -> 3; stages I 0-3 / II 4-5 / III 6-8; max 8","fvc_percent_predicted":80,"gap_stage":1,"max_score":8,"score":0,"sex":"female"}],"path":"/api/calc/gap_index"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (integer 18-120). Ley 2012: <=60 scores 0; 61-65 scores 1; >65 scores 2.","type":"integer"},"dlco_cannot_perform":{"description":"true when DLCO cannot be performed (Ley 2012 scores 3). Provide this or dlco_percent_predicted, not both.","type":"boolean"},"dlco_percent_predicted":{"description":"DLCO percent predicted (1-150). Provide this or dlco_cannot_perform=true, not both. Ley 2012: >55 scores 0; 36-55 scores 1; <=35 scores 2.","type":"number"},"fvc_percent_predicted":{"description":"FVC percent predicted (10-150). Ley 2012: >75 scores 0; 50-75 scores 1; <50 scores 2. 75.0 scores 1.","type":"number"},"sex":{"description":"Sex (female or male). Ley 2012: female scores 0; male scores 1.","enum":["female","male"],"type":"string"}},"required":["sex","age","fvc_percent_predicted"],"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},{"id":39584,"slug":"39584","resource":"https://api.magentlab.com/api/calc/rapid","description":"Rahman 2014 RAPID score for pleural infection: urea (<5=0, 5-8=1, >8=2 mmol/L), age (<50=0, 50-70=1, >70=2), non-purulent fluid 1, hospital-acquired 1, albumin <27 g/L 1; total 0-7 with low/medium/high bands. Deterministic published arithmetic with citation; not a drain or surgery decision and not Light's criteria.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age":40,"albumin_g_dl":3.5,"albumin_g_l":35,"bun_mg_dl":11.2,"hospital_acquired":false,"pleural_purulent":true,"urea_mmol_l":4},{"age":40,"albumin_g_dl":3.5,"albumin_g_l":35,"bun_mg_dl":11.2,"hospital_acquired":false,"pleural_purulent":true,"urea_mmol_l":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"albumin_g_l":35,"citation":{"authors":"Rahman NM, Kahan BC, Pendleton RC, et al.","doi":"10.1378/chest.13-1558","id":"rahman-2014","pmid":"24264558","source":"Chest. 2014;145(4):848-855","title":"A clinical score (RAPID) to identify those at risk for poor outcome at presentation in patients with pleural infection"},"components":[{"factor":"urea","points":0,"present":false,"value":4},{"factor":"age","points":0,"present":false,"value":40},{"factor":"nonpurulent","points":0,"present":false},{"factor":"hospital_acquired","points":0,"present":false},{"factor":"albumin","points":0,"present":false,"value":35}],"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":"rapid","formula_expression":"RAPID = urea_points + age_points + nonpurulent_points + hospital_acquired_points + albumin_points; urea <5 = 0, 5.0-8.0 = 1, >8 = 2; age <50 = 0, 50-70 = 1, >70 = 2; purulent = 0, non-purulent = 1; community = 0, hospital = 1; albumin >=27 g/L = 0, <27 = 1; max 7","hospital_acquired":false,"max_score":7,"pleural_purulent":true,"risk_band":"low","score":0,"urea_mmol_l":4},{"age_years":40,"albumin_g_l":35,"citation":{"authors":"Rahman NM, Kahan BC, Pendleton RC, et al.","doi":"10.1378/chest.13-1558","id":"rahman-2014","pmid":"24264558","source":"Chest. 2014;145(4):848-855","title":"A clinical score (RAPID) to identify those at risk for poor outcome at presentation in patients with pleural infection"},"components":[{"factor":"urea","points":0,"present":false,"value":4},{"factor":"age","points":0,"present":false,"value":40},{"factor":"nonpurulent","points":0,"present":false},{"factor":"hospital_acquired","points":0,"present":false},{"factor":"albumin","points":0,"present":false,"value":35}],"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":"rapid","formula_expression":"RAPID = urea_points + age_points + nonpurulent_points + hospital_acquired_points + albumin_points; urea <5 = 0, 5.0-8.0 = 1, >8 = 2; age <50 = 0, 50-70 = 1, >70 = 2; purulent = 0, non-purulent = 1; community = 0, hospital = 1; albumin >=27 g/L = 0, <27 = 1; max 7","hospital_acquired":false,"max_score":7,"pleural_purulent":true,"risk_band":"low","score":0,"urea_mmol_l":4}],"path":"/api/calc/rapid"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). <50 scores 0; 50-70 inclusive scores 1; >70 scores 2.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. ≥27 scores 0; <27 scores 1.","type":"number"},"bun_mg_dl":{"description":"BUN in mg/dL (3-140). Converted as urea_mmol_l = bun_mg_dl / 2.8.","type":"number"},"hospital_acquired":{"description":"Hospital-acquired pleural infection (Rahman 2014). true scores 1; false (community) scores 0.","type":"boolean"},"pleural_purulent":{"description":"Purulent pleural fluid (Rahman 2014). true scores 0; false (non-purulent) scores 1. magent does not inspect the fluid.","type":"boolean"},"urea_mmol_l":{"description":"Serum urea in mmol/L (1-50). Provide this or bun_mg_dl, not both. <5 scores 0; 5.0-8.0 inclusive scores 1; >8 scores 2 (Rahman 2014).","type":"number"}},"required":["age","pleural_purulent","hospital_acquired"],"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":["rapid","pleural-infection","respiratory","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:36:52.831Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:36:52.703Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age":40,"albumin_g_dl":3.5,"albumin_g_l":35,"bun_mg_dl":11.2,"hospital_acquired":false,"pleural_purulent":true,"urea_mmol_l":4},{"age":40,"albumin_g_dl":3.5,"albumin_g_l":35,"bun_mg_dl":11.2,"hospital_acquired":false,"pleural_purulent":true,"urea_mmol_l":4}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":40,"albumin_g_l":35,"citation":{"authors":"Rahman NM, Kahan BC, Pendleton RC, et al.","doi":"10.1378/chest.13-1558","id":"rahman-2014","pmid":"24264558","source":"Chest. 2014;145(4):848-855","title":"A clinical score (RAPID) to identify those at risk for poor outcome at presentation in patients with pleural infection"},"components":[{"factor":"urea","points":0,"present":false,"value":4},{"factor":"age","points":0,"present":false,"value":40},{"factor":"nonpurulent","points":0,"present":false},{"factor":"hospital_acquired","points":0,"present":false},{"factor":"albumin","points":0,"present":false,"value":35}],"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":"rapid","formula_expression":"RAPID = urea_points + age_points + nonpurulent_points + hospital_acquired_points + albumin_points; urea <5 = 0, 5.0-8.0 = 1, >8 = 2; age <50 = 0, 50-70 = 1, >70 = 2; purulent = 0, non-purulent = 1; community = 0, hospital = 1; albumin >=27 g/L = 0, <27 = 1; max 7","hospital_acquired":false,"max_score":7,"pleural_purulent":true,"risk_band":"low","score":0,"urea_mmol_l":4},{"age_years":40,"albumin_g_l":35,"citation":{"authors":"Rahman NM, Kahan BC, Pendleton RC, et al.","doi":"10.1378/chest.13-1558","id":"rahman-2014","pmid":"24264558","source":"Chest. 2014;145(4):848-855","title":"A clinical score (RAPID) to identify those at risk for poor outcome at presentation in patients with pleural infection"},"components":[{"factor":"urea","points":0,"present":false,"value":4},{"factor":"age","points":0,"present":false,"value":40},{"factor":"nonpurulent","points":0,"present":false},{"factor":"hospital_acquired","points":0,"present":false},{"factor":"albumin","points":0,"present":false,"value":35}],"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":"rapid","formula_expression":"RAPID = urea_points + age_points + nonpurulent_points + hospital_acquired_points + albumin_points; urea <5 = 0, 5.0-8.0 = 1, >8 = 2; age <50 = 0, 50-70 = 1, >70 = 2; purulent = 0, non-purulent = 1; community = 0, hospital = 1; albumin >=27 g/L = 0, <27 = 1; max 7","hospital_acquired":false,"max_score":7,"pleural_purulent":true,"risk_band":"low","score":0,"urea_mmol_l":4}],"path":"/api/calc/rapid"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age":{"description":"Age in years (18-120). <50 scores 0; 50-70 inclusive scores 1; >70 scores 2.","type":"integer"},"albumin_g_dl":{"description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.","type":"number"},"albumin_g_l":{"description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. ≥27 scores 0; <27 scores 1.","type":"number"},"bun_mg_dl":{"description":"BUN in mg/dL (3-140). Converted as urea_mmol_l = bun_mg_dl / 2.8.","type":"number"},"hospital_acquired":{"description":"Hospital-acquired pleural infection (Rahman 2014). true scores 1; false (community) scores 0.","type":"boolean"},"pleural_purulent":{"description":"Purulent pleural fluid (Rahman 2014). true scores 0; false (non-purulent) scores 1. magent does not inspect the fluid.","type":"boolean"},"urea_mmol_l":{"description":"Serum urea in mmol/L (1-50). Provide this or bun_mg_dl, not both. <5 scores 0; 5.0-8.0 inclusive scores 1; >8 scores 2 (Rahman 2014).","type":"number"}},"required":["age","pleural_purulent","hospital_acquired"],"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},{"id":39585,"slug":"39585","resource":"https://api.magentlab.com/api/calc/rsbi","description":"Rapid shallow breathing index (RSBI) as respiratory rate in breaths/min divided by tidal volume in liters (Yang and Tobin 1991). Provide tidal_volume_ml (50–2000) or tidal_volume_l (0.05–2.0), not both. Returns f/VT rounded to one decimal and whether that ratio is greater than 105 breaths/min/L. Not a wean order; magent does not perform a spontaneous breathing trial (SBT).","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"respiratory_rate":20,"tidal_volume_l":0.4,"tidal_volume_ml":400},{"respiratory_rate":20,"tidal_volume_l":0.4,"tidal_volume_ml":400}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Yang KL, Tobin MJ","doi":"10.1056/NEJM199105233242101","id":"yang-tobin-1991","source":"N Engl J Med. 1991;324(21):1445-1450","title":"A prospective study of indexes predicting the outcome of trials of weaning from mechanical ventilation"},"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":"rsbi","formula_expression":"rsbi = respiratory_rate / tidal_volume_l","respiratory_rate":20,"rsbi":50,"rsbi_gt_105":false,"tidal_volume_l":0.4},{"citation":{"authors":"Yang KL, Tobin MJ","doi":"10.1056/NEJM199105233242101","id":"yang-tobin-1991","source":"N Engl J Med. 1991;324(21):1445-1450","title":"A prospective study of indexes predicting the outcome of trials of weaning from mechanical ventilation"},"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":"rsbi","formula_expression":"rsbi = respiratory_rate / tidal_volume_l","respiratory_rate":20,"rsbi":50,"rsbi_gt_105":false,"tidal_volume_l":0.4}],"path":"/api/calc/rsbi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80).","type":"integer"},"tidal_volume_l":{"description":"Tidal volume in liters (0.05-2.0). Yang and Tobin RSBI uses VT in liters. Provide this or tidal_volume_ml, not both.","type":"number"},"tidal_volume_ml":{"description":"Tidal volume in milliliters (50-2000). Converted as tidal_volume_l = tidal_volume_ml / 1000. Provide this or tidal_volume_l, not both.","type":"number"}},"required":["respiratory_rate"],"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":["rsbi","respiratory","tidal-volume","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:36:24.633Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:36:24.512Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"respiratory_rate":20,"tidal_volume_l":0.4,"tidal_volume_ml":400},{"respiratory_rate":20,"tidal_volume_l":0.4,"tidal_volume_ml":400}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"citation":{"authors":"Yang KL, Tobin MJ","doi":"10.1056/NEJM199105233242101","id":"yang-tobin-1991","source":"N Engl J Med. 1991;324(21):1445-1450","title":"A prospective study of indexes predicting the outcome of trials of weaning from mechanical ventilation"},"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":"rsbi","formula_expression":"rsbi = respiratory_rate / tidal_volume_l","respiratory_rate":20,"rsbi":50,"rsbi_gt_105":false,"tidal_volume_l":0.4},{"citation":{"authors":"Yang KL, Tobin MJ","doi":"10.1056/NEJM199105233242101","id":"yang-tobin-1991","source":"N Engl J Med. 1991;324(21):1445-1450","title":"A prospective study of indexes predicting the outcome of trials of weaning from mechanical ventilation"},"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":"rsbi","formula_expression":"rsbi = respiratory_rate / tidal_volume_l","respiratory_rate":20,"rsbi":50,"rsbi_gt_105":false,"tidal_volume_l":0.4}],"path":"/api/calc/rsbi"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"respiratory_rate":{"description":"Respiratory rate in breaths/min (integer 4-80).","type":"integer"},"tidal_volume_l":{"description":"Tidal volume in liters (0.05-2.0). Yang and Tobin RSBI uses VT in liters. Provide this or tidal_volume_ml, not both.","type":"number"},"tidal_volume_ml":{"description":"Tidal volume in milliliters (50-2000). Converted as tidal_volume_l = tidal_volume_ml / 1000. Provide this or tidal_volume_l, not both.","type":"number"}},"required":["respiratory_rate"],"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},{"id":39587,"slug":"39587","resource":"https://api.magentlab.com/api/calc/hfa_icos_myeloma","description":"Lyon 2020 HFA-ICOS baseline CV risk before proteasome inhibitors and immunomodulatory drugs for multiple myeloma. Returns risk_level low, medium, high, or very_high plus medium_points and the paper's expert-opinion cardiotoxicity_guide. Age >=75 is High; 65-74 is Medium 1. Caller assigns labs, BMI >30, and high-dose dexamethasone. magent does not examine the patient or read imaging. Not a medical device or treatment order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"cardiac_amyloidosis":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"family_history_thrombophilia":false,"heart_failure_or_cardiomyopathy":false,"high_dose_dexamethasone":false,"hyperlipidemia":false,"hypertension":false,"left_ventricular_hypertrophy":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_immunomodulatory_drug_cv_toxicity":false,"prior_proteasome_inhibitor_cardiotoxicity":false,"prior_thoracic_spine_radiotherapy":false,"venous_thrombosis":false},{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"cardiac_amyloidosis":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"family_history_thrombophilia":false,"heart_failure_or_cardiomyopathy":false,"high_dose_dexamethasone":false,"hyperlipidemia":false,"hypertension":false,"left_ventricular_hypertrophy":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_immunomodulatory_drug_cv_toxicity":false,"prior_proteasome_inhibitor_cardiotoxicity":false,"prior_thoracic_spine_radiotherapy":false,"venous_thrombosis":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"prior_proteasome_inhibitor_cardiotoxicity","points":0,"present":false,"tier":"very_high"},{"factor":"venous_thrombosis","points":0,"present":false,"tier":"very_high"},{"factor":"cardiac_amyloidosis","points":0,"present":false,"tier":"very_high"},{"factor":"arterial_vascular_disease","points":0,"present":false,"tier":"very_high"},{"factor":"prior_immunomodulatory_drug_cv_toxicity","points":0,"present":false,"tier":"high"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"high"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium_2"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_2"},{"factor":"left_ventricular_hypertrophy","points":0,"present":false,"tier":"medium_1"},{"factor":"hypertension","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"hyperlipidemia","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"family_history_thrombophilia","points":0,"present":false,"tier":"medium_1"},{"factor":"prior_thoracic_spine_radiotherapy","points":0,"present":false,"tier":"medium_1"},{"factor":"high_dose_dexamethasone","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"},{"factor":"age_years","points":0,"present":false,"tier":"none","value":50},{"factor":"lvef_percent","points":0,"present":false,"tier":"none","value":60}],"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":"hfa_icos_myeloma","formula_expression":"very_high if any Very high factor (heart_failure_or_cardiomyopathy, prior_proteasome_inhibitor_cardiotoxicity, venous_thrombosis, cardiac_amyloidosis, arterial_vascular_disease); else high if any High factor (prior_immunomodulatory_drug_cv_toxicity, lvef_percent<50, elevated_bnp, age_years>=75, prior_anthracycline) OR medium_points>=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: left_ventricular_hypertrophy, age_years 65-74, hypertension, diabetes, hyperlipidemia, ckd, family_history_thrombophilia, prior_thoracic_spine_radiotherapy, high_dose_dexamethasone, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, arrhythmia, elevated_troponin) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS multiple-myeloma therapy table. cardiotoxicity_guide is that paper's expert-opinion guide: low <2%, medium 2-9%, high 10-19%, very high >=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"},{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"prior_proteasome_inhibitor_cardiotoxicity","points":0,"present":false,"tier":"very_high"},{"factor":"venous_thrombosis","points":0,"present":false,"tier":"very_high"},{"factor":"cardiac_amyloidosis","points":0,"present":false,"tier":"very_high"},{"factor":"arterial_vascular_disease","points":0,"present":false,"tier":"very_high"},{"factor":"prior_immunomodulatory_drug_cv_toxicity","points":0,"present":false,"tier":"high"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"high"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium_2"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_2"},{"factor":"left_ventricular_hypertrophy","points":0,"present":false,"tier":"medium_1"},{"factor":"hypertension","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"hyperlipidemia","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"family_history_thrombophilia","points":0,"present":false,"tier":"medium_1"},{"factor":"prior_thoracic_spine_radiotherapy","points":0,"present":false,"tier":"medium_1"},{"factor":"high_dose_dexamethasone","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"},{"factor":"age_years","points":0,"present":false,"tier":"none","value":50},{"factor":"lvef_percent","points":0,"present":false,"tier":"none","value":60}],"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":"hfa_icos_myeloma","formula_expression":"very_high if any Very high factor (heart_failure_or_cardiomyopathy, prior_proteasome_inhibitor_cardiotoxicity, venous_thrombosis, cardiac_amyloidosis, arterial_vascular_disease); else high if any High factor (prior_immunomodulatory_drug_cv_toxicity, lvef_percent<50, elevated_bnp, age_years>=75, prior_anthracycline) OR medium_points>=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: left_ventricular_hypertrophy, age_years 65-74, hypertension, diabetes, hyperlipidemia, ckd, family_history_thrombophilia, prior_thoracic_spine_radiotherapy, high_dose_dexamethasone, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, arrhythmia, elevated_troponin) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS multiple-myeloma therapy table. cardiotoxicity_guide is that paper's expert-opinion guide: low <2%, medium 2-9%, high 10-19%, very high >=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"}],"path":"/api/calc/hfa_icos_myeloma"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (18-100, integer). Lyon 2020 myeloma-therapy table: >=75 High; 65-74 Medium 1; <65 no age factor. Highest matching band only.","type":"integer"},"arrhythmia":{"description":"Arrhythmia (Lyon 2020 Medium 2). true or false as assigned by the caller. magent does not read a rhythm strip.","type":"boolean"},"arterial_vascular_disease":{"description":"Arterial vascular disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD) as one caller bool (Lyon 2020 Very high). true or false. magent does not diagnose vascular disease.","type":"boolean"},"cardiac_amyloidosis":{"description":"Cardiac amyloidosis (Lyon 2020 Very high). true or false as assigned by the caller. magent does not read imaging or biopsy.","type":"boolean"},"ckd":{"description":"Chronic kidney disease as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Current smoker or significant smoking history (Lyon 2020 Medium 1). true or false as assigned by the caller.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay HbA1c.","type":"boolean"},"elevated_bnp":{"description":"Baseline BNP or NT-proBNP above the local laboratory ULN as assigned by the caller (Lyon 2020 High). true or false. magent does not assay natriuretic peptides.","type":"boolean"},"elevated_troponin":{"description":"Baseline troponin above the local laboratory ULN as assigned by the caller (Lyon 2020 Medium 2). true or false. magent does not assay troponin.","type":"boolean"},"family_history_thrombophilia":{"description":"Family history of thrombophilia (Lyon 2020 Medium 1). true or false as assigned by the caller. magent does not take a family history.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy (Lyon 2020 Very high). true or false as assigned by the caller. magent does not examine the patient or read imaging.","type":"boolean"},"high_dose_dexamethasone":{"description":"High-dose dexamethasone (>160 mg/month) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute a steroid dose.","type":"boolean"},"hyperlipidemia":{"description":"Hyperlipidemia as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay lipids.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not measure blood pressure.","type":"boolean"},"left_ventricular_hypertrophy":{"description":"Left-ventricular hypertrophy (Lyon 2020 Medium 1). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"lvef_percent":{"description":"LVEF percent (10-80, integer). Lyon 2020: <50 High; 50-54 Medium 2; >=55 no LVEF factor. Highest matching printed band only. magent does not read imaging.","type":"integer"},"obesity":{"description":"Obesity (BMI >30 kg/m2) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute BMI.","type":"boolean"},"prior_anthracycline":{"description":"Prior anthracycline exposure (Lyon 2020 High). true or false as assigned by the caller.","type":"boolean"},"prior_immunomodulatory_drug_cv_toxicity":{"description":"Prior immunomodulatory-drug cardiovascular toxicity (Lyon 2020 High). true or false as assigned by the caller.","type":"boolean"},"prior_proteasome_inhibitor_cardiotoxicity":{"description":"Prior proteasome-inhibitor cardiotoxicity (Lyon 2020 Very high). true or false as assigned by the caller.","type":"boolean"},"prior_thoracic_spine_radiotherapy":{"description":"Prior thoracic-spine radiotherapy (Lyon 2020 Medium 1). true or false as assigned by the caller.","type":"boolean"},"venous_thrombosis":{"description":"Venous thrombosis (DVT or PE) (Lyon 2020 Very high). true or false as assigned by the caller. magent does not diagnose thrombosis.","type":"boolean"}},"required":["age_years","lvef_percent","heart_failure_or_cardiomyopathy","prior_proteasome_inhibitor_cardiotoxicity","venous_thrombosis","cardiac_amyloidosis","arterial_vascular_disease","prior_immunomodulatory_drug_cv_toxicity","elevated_bnp","prior_anthracycline","arrhythmia","elevated_troponin","left_ventricular_hypertrophy","hypertension","diabetes","hyperlipidemia","ckd","family_history_thrombophilia","prior_thoracic_spine_radiotherapy","high_dose_dexamethasone","current_or_significant_smoker","obesity"],"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":["hfa-icos","myeloma","cardio-oncology","hemodynamics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:35:45.393Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:35:45.235Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"cardiac_amyloidosis":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"family_history_thrombophilia":false,"heart_failure_or_cardiomyopathy":false,"high_dose_dexamethasone":false,"hyperlipidemia":false,"hypertension":false,"left_ventricular_hypertrophy":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_immunomodulatory_drug_cv_toxicity":false,"prior_proteasome_inhibitor_cardiotoxicity":false,"prior_thoracic_spine_radiotherapy":false,"venous_thrombosis":false},{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"cardiac_amyloidosis":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"family_history_thrombophilia":false,"heart_failure_or_cardiomyopathy":false,"high_dose_dexamethasone":false,"hyperlipidemia":false,"hypertension":false,"left_ventricular_hypertrophy":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_immunomodulatory_drug_cv_toxicity":false,"prior_proteasome_inhibitor_cardiotoxicity":false,"prior_thoracic_spine_radiotherapy":false,"venous_thrombosis":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"prior_proteasome_inhibitor_cardiotoxicity","points":0,"present":false,"tier":"very_high"},{"factor":"venous_thrombosis","points":0,"present":false,"tier":"very_high"},{"factor":"cardiac_amyloidosis","points":0,"present":false,"tier":"very_high"},{"factor":"arterial_vascular_disease","points":0,"present":false,"tier":"very_high"},{"factor":"prior_immunomodulatory_drug_cv_toxicity","points":0,"present":false,"tier":"high"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"high"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium_2"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_2"},{"factor":"left_ventricular_hypertrophy","points":0,"present":false,"tier":"medium_1"},{"factor":"hypertension","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"hyperlipidemia","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"family_history_thrombophilia","points":0,"present":false,"tier":"medium_1"},{"factor":"prior_thoracic_spine_radiotherapy","points":0,"present":false,"tier":"medium_1"},{"factor":"high_dose_dexamethasone","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"},{"factor":"age_years","points":0,"present":false,"tier":"none","value":50},{"factor":"lvef_percent","points":0,"present":false,"tier":"none","value":60}],"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":"hfa_icos_myeloma","formula_expression":"very_high if any Very high factor (heart_failure_or_cardiomyopathy, prior_proteasome_inhibitor_cardiotoxicity, venous_thrombosis, cardiac_amyloidosis, arterial_vascular_disease); else high if any High factor (prior_immunomodulatory_drug_cv_toxicity, lvef_percent<50, elevated_bnp, age_years>=75, prior_anthracycline) OR medium_points>=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: left_ventricular_hypertrophy, age_years 65-74, hypertension, diabetes, hyperlipidemia, ckd, family_history_thrombophilia, prior_thoracic_spine_radiotherapy, high_dose_dexamethasone, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, arrhythmia, elevated_troponin) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS multiple-myeloma therapy table. cardiotoxicity_guide is that paper's expert-opinion guide: low <2%, medium 2-9%, high 10-19%, very high >=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"},{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"prior_proteasome_inhibitor_cardiotoxicity","points":0,"present":false,"tier":"very_high"},{"factor":"venous_thrombosis","points":0,"present":false,"tier":"very_high"},{"factor":"cardiac_amyloidosis","points":0,"present":false,"tier":"very_high"},{"factor":"arterial_vascular_disease","points":0,"present":false,"tier":"very_high"},{"factor":"prior_immunomodulatory_drug_cv_toxicity","points":0,"present":false,"tier":"high"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"high"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium_2"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_2"},{"factor":"left_ventricular_hypertrophy","points":0,"present":false,"tier":"medium_1"},{"factor":"hypertension","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"hyperlipidemia","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"family_history_thrombophilia","points":0,"present":false,"tier":"medium_1"},{"factor":"prior_thoracic_spine_radiotherapy","points":0,"present":false,"tier":"medium_1"},{"factor":"high_dose_dexamethasone","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"},{"factor":"age_years","points":0,"present":false,"tier":"none","value":50},{"factor":"lvef_percent","points":0,"present":false,"tier":"none","value":60}],"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":"hfa_icos_myeloma","formula_expression":"very_high if any Very high factor (heart_failure_or_cardiomyopathy, prior_proteasome_inhibitor_cardiotoxicity, venous_thrombosis, cardiac_amyloidosis, arterial_vascular_disease); else high if any High factor (prior_immunomodulatory_drug_cv_toxicity, lvef_percent<50, elevated_bnp, age_years>=75, prior_anthracycline) OR medium_points>=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: left_ventricular_hypertrophy, age_years 65-74, hypertension, diabetes, hyperlipidemia, ckd, family_history_thrombophilia, prior_thoracic_spine_radiotherapy, high_dose_dexamethasone, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, arrhythmia, elevated_troponin) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS multiple-myeloma therapy table. cardiotoxicity_guide is that paper's expert-opinion guide: low <2%, medium 2-9%, high 10-19%, very high >=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"}],"path":"/api/calc/hfa_icos_myeloma"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (18-100, integer). Lyon 2020 myeloma-therapy table: >=75 High; 65-74 Medium 1; <65 no age factor. Highest matching band only.","type":"integer"},"arrhythmia":{"description":"Arrhythmia (Lyon 2020 Medium 2). true or false as assigned by the caller. magent does not read a rhythm strip.","type":"boolean"},"arterial_vascular_disease":{"description":"Arterial vascular disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD) as one caller bool (Lyon 2020 Very high). true or false. magent does not diagnose vascular disease.","type":"boolean"},"cardiac_amyloidosis":{"description":"Cardiac amyloidosis (Lyon 2020 Very high). true or false as assigned by the caller. magent does not read imaging or biopsy.","type":"boolean"},"ckd":{"description":"Chronic kidney disease as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Current smoker or significant smoking history (Lyon 2020 Medium 1). true or false as assigned by the caller.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay HbA1c.","type":"boolean"},"elevated_bnp":{"description":"Baseline BNP or NT-proBNP above the local laboratory ULN as assigned by the caller (Lyon 2020 High). true or false. magent does not assay natriuretic peptides.","type":"boolean"},"elevated_troponin":{"description":"Baseline troponin above the local laboratory ULN as assigned by the caller (Lyon 2020 Medium 2). true or false. magent does not assay troponin.","type":"boolean"},"family_history_thrombophilia":{"description":"Family history of thrombophilia (Lyon 2020 Medium 1). true or false as assigned by the caller. magent does not take a family history.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy (Lyon 2020 Very high). true or false as assigned by the caller. magent does not examine the patient or read imaging.","type":"boolean"},"high_dose_dexamethasone":{"description":"High-dose dexamethasone (>160 mg/month) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute a steroid dose.","type":"boolean"},"hyperlipidemia":{"description":"Hyperlipidemia as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay lipids.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not measure blood pressure.","type":"boolean"},"left_ventricular_hypertrophy":{"description":"Left-ventricular hypertrophy (Lyon 2020 Medium 1). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"lvef_percent":{"description":"LVEF percent (10-80, integer). Lyon 2020: <50 High; 50-54 Medium 2; >=55 no LVEF factor. Highest matching printed band only. magent does not read imaging.","type":"integer"},"obesity":{"description":"Obesity (BMI >30 kg/m2) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute BMI.","type":"boolean"},"prior_anthracycline":{"description":"Prior anthracycline exposure (Lyon 2020 High). true or false as assigned by the caller.","type":"boolean"},"prior_immunomodulatory_drug_cv_toxicity":{"description":"Prior immunomodulatory-drug cardiovascular toxicity (Lyon 2020 High). true or false as assigned by the caller.","type":"boolean"},"prior_proteasome_inhibitor_cardiotoxicity":{"description":"Prior proteasome-inhibitor cardiotoxicity (Lyon 2020 Very high). true or false as assigned by the caller.","type":"boolean"},"prior_thoracic_spine_radiotherapy":{"description":"Prior thoracic-spine radiotherapy (Lyon 2020 Medium 1). true or false as assigned by the caller.","type":"boolean"},"venous_thrombosis":{"description":"Venous thrombosis (DVT or PE) (Lyon 2020 Very high). true or false as assigned by the caller. magent does not diagnose thrombosis.","type":"boolean"}},"required":["age_years","lvef_percent","heart_failure_or_cardiomyopathy","prior_proteasome_inhibitor_cardiotoxicity","venous_thrombosis","cardiac_amyloidosis","arterial_vascular_disease","prior_immunomodulatory_drug_cv_toxicity","elevated_bnp","prior_anthracycline","arrhythmia","elevated_troponin","left_ventricular_hypertrophy","hypertension","diabetes","hyperlipidemia","ckd","family_history_thrombophilia","prior_thoracic_spine_radiotherapy","high_dose_dexamethasone","current_or_significant_smoker","obesity"],"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},{"id":39588,"slug":"39588","resource":"https://api.magentlab.com/api/calc/hfa_icos_bcr_abl","description":"Lyon 2020 HFA-ICOS baseline cardiovascular risk before second- or third-generation multi-targeted kinase inhibitors for CML targeting BCR-ABL. Class is very_high, high, medium, or low from published very-high and high factors plus Medium 1/2 points (0–1 low, 2–4 medium, ≥5 high). Caller assigns the 10-year CVD >20% threshold; magent does not compute that score. Not a medical device or treatment order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"abpi_le_0_9":false,"age_years":50,"arrhythmia":false,"arterial_thrombosis_with_tki":false,"arterial_vascular_disease":false,"bcr_abl_tki_mediated_lvsd":false,"ckd":false,"current_or_significant_smoker":false,"cvd_10y_risk_gt_20":false,"diabetes":false,"family_history_thrombophilia":false,"heart_failure_or_lvsd":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"pulmonary_arterial_hypertension":false,"qtc_ms":400,"sex":"female","venous_thromboembolism":false},{"abpi_le_0_9":false,"age_years":50,"arrhythmia":false,"arterial_thrombosis_with_tki":false,"arterial_vascular_disease":false,"bcr_abl_tki_mediated_lvsd":false,"ckd":false,"current_or_significant_smoker":false,"cvd_10y_risk_gt_20":false,"diabetes":false,"family_history_thrombophilia":false,"heart_failure_or_lvsd":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"pulmonary_arterial_hypertension":false,"qtc_ms":400,"sex":"female","venous_thromboembolism":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"arterial_vascular_disease","points":0,"present":false},{"factor":"arterial_thrombosis_with_tki","points":0,"present":false},{"factor":"heart_failure_or_lvsd","points":0,"present":false},{"factor":"bcr_abl_tki_mediated_lvsd","points":0,"present":false},{"factor":"abpi_le_0_9","points":0,"present":false},{"factor":"pulmonary_arterial_hypertension","points":0,"present":false},{"factor":"lvef_lt_50","points":0,"present":false},{"factor":"qtc_ge_480","points":0,"present":false},{"factor":"cvd_10y_risk_gt_20","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false},{"factor":"current_or_significant_smoker","points":0,"present":false},{"factor":"venous_thromboembolism","points":0,"present":false},{"factor":"arrhythmia","points":0,"present":false},{"factor":"borderline_qtc","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"age_65_74","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hyperlipidemia","points":0,"present":false},{"factor":"age_60_64","points":0,"present":false},{"factor":"ckd","points":0,"present":false},{"factor":"family_history_thrombophilia","points":0,"present":false},{"factor":"obesity","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":"hfa_icos_bcr_abl","formula_expression":"HFA-ICOS BCR-ABL TKI (Lyon 2020) = very_high if arterial_vascular_disease or arterial_thrombosis_with_tki; else high if any high factor or medium_points>=5; else medium if medium_points 2-4; else low (0 or one M1); medium_points = M2*2 + M1*1 only; High: heart_failure_or_lvsd, bcr_abl_tki_mediated_lvsd, abpi_le_0_9, pulmonary_arterial_hypertension, LVEF<50, QTc>=480, caller cvd_10y_risk_gt_20, age>=75, current_or_significant_smoker; M2: venous_thromboembolism, arrhythmia, borderline QTc (men 450<=QTc<480, women 460<=QTc<480), hypertension, age 65-74; M1: diabetes, hyperlipidemia, age 60-64, ckd, family_history_thrombophilia, obesity; age bands mutually exclusive; no LVEF 50-54 row; magent does not compute 10-year CVD risk","lvef_percent":60,"medium_points":0,"qtc_ms":400,"risk_level":"low","sex":"female"},{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"arterial_vascular_disease","points":0,"present":false},{"factor":"arterial_thrombosis_with_tki","points":0,"present":false},{"factor":"heart_failure_or_lvsd","points":0,"present":false},{"factor":"bcr_abl_tki_mediated_lvsd","points":0,"present":false},{"factor":"abpi_le_0_9","points":0,"present":false},{"factor":"pulmonary_arterial_hypertension","points":0,"present":false},{"factor":"lvef_lt_50","points":0,"present":false},{"factor":"qtc_ge_480","points":0,"present":false},{"factor":"cvd_10y_risk_gt_20","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false},{"factor":"current_or_significant_smoker","points":0,"present":false},{"factor":"venous_thromboembolism","points":0,"present":false},{"factor":"arrhythmia","points":0,"present":false},{"factor":"borderline_qtc","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"age_65_74","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hyperlipidemia","points":0,"present":false},{"factor":"age_60_64","points":0,"present":false},{"factor":"ckd","points":0,"present":false},{"factor":"family_history_thrombophilia","points":0,"present":false},{"factor":"obesity","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":"hfa_icos_bcr_abl","formula_expression":"HFA-ICOS BCR-ABL TKI (Lyon 2020) = very_high if arterial_vascular_disease or arterial_thrombosis_with_tki; else high if any high factor or medium_points>=5; else medium if medium_points 2-4; else low (0 or one M1); medium_points = M2*2 + M1*1 only; High: heart_failure_or_lvsd, bcr_abl_tki_mediated_lvsd, abpi_le_0_9, pulmonary_arterial_hypertension, LVEF<50, QTc>=480, caller cvd_10y_risk_gt_20, age>=75, current_or_significant_smoker; M2: venous_thromboembolism, arrhythmia, borderline QTc (men 450<=QTc<480, women 460<=QTc<480), hypertension, age 65-74; M1: diabetes, hyperlipidemia, age 60-64, ckd, family_history_thrombophilia, obesity; age bands mutually exclusive; no LVEF 50-54 row; magent does not compute 10-year CVD risk","lvef_percent":60,"medium_points":0,"qtc_ms":400,"risk_level":"low","sex":"female"}],"path":"/api/calc/hfa_icos_bcr_abl"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abpi_le_0_9":{"description":"Caller-assigned abnormal ankle-brachial pressure index (paper: ABPI ≤0.9). High. magent does not measure ABPI.","type":"boolean"},"age_years":{"description":"Age in years (integer 18-100). Lyon 2020 BCR-ABL table: ≥75 High; 65-74 Medium 2; 60-64 Medium 1 (paper row Age ≥60 years under the higher bands); <60 none. Bands do not stack. magent does not examine the patient.","type":"integer"},"arrhythmia":{"description":"Caller-assigned arrhythmia (paper: atrial fibrillation, atrial flutter, ventricular tachycardia, or ventricular fibrillation). Medium 2. magent does not read a rhythm strip.","type":"boolean"},"arterial_thrombosis_with_tki":{"description":"Caller-assigned arterial thrombosis associated with a BCR-ABL TKI. Very high. magent does not diagnose thrombosis.","type":"boolean"},"arterial_vascular_disease":{"description":"Caller-assigned arterial vascular disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD). Very high. magent does not diagnose vascular disease.","type":"boolean"},"bcr_abl_tki_mediated_lvsd":{"description":"Caller-assigned BCR-ABL TKI-mediated LVSD. High. magent does not attribute LVSD to a TKI.","type":"boolean"},"ckd":{"description":"Caller-assigned chronic kidney disease (paper: eGFR <60 mL/min/1.73 m²). Medium 1. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Caller-assigned current smoker or significant smoking history. High on this BCR-ABL table (not Medium 1). magent does not take a smoking history.","type":"boolean"},"cvd_10y_risk_gt_20":{"description":"Caller-assigned paper row Cardiovascular disease 10-year risk score >20%. High. magent does not compute SCORE2, PCE, or any other 10-year CVD equation.","type":"boolean"},"diabetes":{"description":"Caller-assigned diabetes (paper: HbA1c >7.0% or >53 mmol/mol, or on treatment). Medium 1. magent does not diagnose diabetes.","type":"boolean"},"family_history_thrombophilia":{"description":"Caller-assigned family history of thrombophilia. Medium 1. magent does not take a family history.","type":"boolean"},"heart_failure_or_lvsd":{"description":"Caller-assigned heart failure or left-ventricular systolic dysfunction. High. magent does not diagnose heart failure.","type":"boolean"},"hyperlipidemia":{"description":"Caller-assigned hyperlipidemia (paper: non-HDL cholesterol >3.8 mmol/L or >145 mg/dL). Medium 1. magent does not assay lipids.","type":"boolean"},"hypertension":{"description":"Caller-assigned hypertension (paper: SBP >140 mmHg or DBP >90 mmHg, or on treatment). Medium 2. magent does not measure blood pressure.","type":"boolean"},"lvef_percent":{"description":"Left-ventricular ejection fraction in percent (10-80). <50 is High. This table has no 50-54 Medium 2 LVEF row; ≥50 adds no LVEF points. magent does not read an echocardiogram.","type":"number"},"obesity":{"description":"Caller-assigned obesity (paper: BMI >30 kg/m²). Medium 1. magent does not compute BMI.","type":"boolean"},"pulmonary_arterial_hypertension":{"description":"Caller-assigned pulmonary arterial hypertension (paper: peak systolic PAP ≥35 mmHg when estimated on echocardiography). High. magent does not estimate pulmonary pressure.","type":"boolean"},"qtc_ms":{"description":"QTc in milliseconds (300-700). ≥480 is High. Borderline Medium 2 is men 450≤QTc<480 and women 460≤QTc<480. magent does not measure QTc.","type":"number"},"sex":{"description":"Sex male or female. Selects the borderline QTc Medium 2 window (men 450≤QTc<480; women 460≤QTc<480). magent does not read an ECG.","type":"string"},"venous_thromboembolism":{"description":"Caller-assigned venous thromboembolism (DVT or PE). Medium 2. magent does not diagnose VTE.","type":"boolean"}},"required":["age_years","sex","lvef_percent","qtc_ms","arterial_vascular_disease","arterial_thrombosis_with_tki","heart_failure_or_lvsd","bcr_abl_tki_mediated_lvsd","abpi_le_0_9","pulmonary_arterial_hypertension","cvd_10y_risk_gt_20","current_or_significant_smoker","venous_thromboembolism","arrhythmia","hypertension","diabetes","hyperlipidemia","ckd","family_history_thrombophilia","obesity"],"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":["hfa-icos-bcr-abl","cardio-oncology","bcr-abl","hemodynamics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:35:39.354Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:35:39.211Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"abpi_le_0_9":false,"age_years":50,"arrhythmia":false,"arterial_thrombosis_with_tki":false,"arterial_vascular_disease":false,"bcr_abl_tki_mediated_lvsd":false,"ckd":false,"current_or_significant_smoker":false,"cvd_10y_risk_gt_20":false,"diabetes":false,"family_history_thrombophilia":false,"heart_failure_or_lvsd":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"pulmonary_arterial_hypertension":false,"qtc_ms":400,"sex":"female","venous_thromboembolism":false},{"abpi_le_0_9":false,"age_years":50,"arrhythmia":false,"arterial_thrombosis_with_tki":false,"arterial_vascular_disease":false,"bcr_abl_tki_mediated_lvsd":false,"ckd":false,"current_or_significant_smoker":false,"cvd_10y_risk_gt_20":false,"diabetes":false,"family_history_thrombophilia":false,"heart_failure_or_lvsd":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"pulmonary_arterial_hypertension":false,"qtc_ms":400,"sex":"female","venous_thromboembolism":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"arterial_vascular_disease","points":0,"present":false},{"factor":"arterial_thrombosis_with_tki","points":0,"present":false},{"factor":"heart_failure_or_lvsd","points":0,"present":false},{"factor":"bcr_abl_tki_mediated_lvsd","points":0,"present":false},{"factor":"abpi_le_0_9","points":0,"present":false},{"factor":"pulmonary_arterial_hypertension","points":0,"present":false},{"factor":"lvef_lt_50","points":0,"present":false},{"factor":"qtc_ge_480","points":0,"present":false},{"factor":"cvd_10y_risk_gt_20","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false},{"factor":"current_or_significant_smoker","points":0,"present":false},{"factor":"venous_thromboembolism","points":0,"present":false},{"factor":"arrhythmia","points":0,"present":false},{"factor":"borderline_qtc","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"age_65_74","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hyperlipidemia","points":0,"present":false},{"factor":"age_60_64","points":0,"present":false},{"factor":"ckd","points":0,"present":false},{"factor":"family_history_thrombophilia","points":0,"present":false},{"factor":"obesity","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":"hfa_icos_bcr_abl","formula_expression":"HFA-ICOS BCR-ABL TKI (Lyon 2020) = very_high if arterial_vascular_disease or arterial_thrombosis_with_tki; else high if any high factor or medium_points>=5; else medium if medium_points 2-4; else low (0 or one M1); medium_points = M2*2 + M1*1 only; High: heart_failure_or_lvsd, bcr_abl_tki_mediated_lvsd, abpi_le_0_9, pulmonary_arterial_hypertension, LVEF<50, QTc>=480, caller cvd_10y_risk_gt_20, age>=75, current_or_significant_smoker; M2: venous_thromboembolism, arrhythmia, borderline QTc (men 450<=QTc<480, women 460<=QTc<480), hypertension, age 65-74; M1: diabetes, hyperlipidemia, age 60-64, ckd, family_history_thrombophilia, obesity; age bands mutually exclusive; no LVEF 50-54 row; magent does not compute 10-year CVD risk","lvef_percent":60,"medium_points":0,"qtc_ms":400,"risk_level":"low","sex":"female"},{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"arterial_vascular_disease","points":0,"present":false},{"factor":"arterial_thrombosis_with_tki","points":0,"present":false},{"factor":"heart_failure_or_lvsd","points":0,"present":false},{"factor":"bcr_abl_tki_mediated_lvsd","points":0,"present":false},{"factor":"abpi_le_0_9","points":0,"present":false},{"factor":"pulmonary_arterial_hypertension","points":0,"present":false},{"factor":"lvef_lt_50","points":0,"present":false},{"factor":"qtc_ge_480","points":0,"present":false},{"factor":"cvd_10y_risk_gt_20","points":0,"present":false},{"factor":"age_ge_75","points":0,"present":false},{"factor":"current_or_significant_smoker","points":0,"present":false},{"factor":"venous_thromboembolism","points":0,"present":false},{"factor":"arrhythmia","points":0,"present":false},{"factor":"borderline_qtc","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"age_65_74","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"hyperlipidemia","points":0,"present":false},{"factor":"age_60_64","points":0,"present":false},{"factor":"ckd","points":0,"present":false},{"factor":"family_history_thrombophilia","points":0,"present":false},{"factor":"obesity","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":"hfa_icos_bcr_abl","formula_expression":"HFA-ICOS BCR-ABL TKI (Lyon 2020) = very_high if arterial_vascular_disease or arterial_thrombosis_with_tki; else high if any high factor or medium_points>=5; else medium if medium_points 2-4; else low (0 or one M1); medium_points = M2*2 + M1*1 only; High: heart_failure_or_lvsd, bcr_abl_tki_mediated_lvsd, abpi_le_0_9, pulmonary_arterial_hypertension, LVEF<50, QTc>=480, caller cvd_10y_risk_gt_20, age>=75, current_or_significant_smoker; M2: venous_thromboembolism, arrhythmia, borderline QTc (men 450<=QTc<480, women 460<=QTc<480), hypertension, age 65-74; M1: diabetes, hyperlipidemia, age 60-64, ckd, family_history_thrombophilia, obesity; age bands mutually exclusive; no LVEF 50-54 row; magent does not compute 10-year CVD risk","lvef_percent":60,"medium_points":0,"qtc_ms":400,"risk_level":"low","sex":"female"}],"path":"/api/calc/hfa_icos_bcr_abl"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"abpi_le_0_9":{"description":"Caller-assigned abnormal ankle-brachial pressure index (paper: ABPI ≤0.9). High. magent does not measure ABPI.","type":"boolean"},"age_years":{"description":"Age in years (integer 18-100). Lyon 2020 BCR-ABL table: ≥75 High; 65-74 Medium 2; 60-64 Medium 1 (paper row Age ≥60 years under the higher bands); <60 none. Bands do not stack. magent does not examine the patient.","type":"integer"},"arrhythmia":{"description":"Caller-assigned arrhythmia (paper: atrial fibrillation, atrial flutter, ventricular tachycardia, or ventricular fibrillation). Medium 2. magent does not read a rhythm strip.","type":"boolean"},"arterial_thrombosis_with_tki":{"description":"Caller-assigned arterial thrombosis associated with a BCR-ABL TKI. Very high. magent does not diagnose thrombosis.","type":"boolean"},"arterial_vascular_disease":{"description":"Caller-assigned arterial vascular disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD). Very high. magent does not diagnose vascular disease.","type":"boolean"},"bcr_abl_tki_mediated_lvsd":{"description":"Caller-assigned BCR-ABL TKI-mediated LVSD. High. magent does not attribute LVSD to a TKI.","type":"boolean"},"ckd":{"description":"Caller-assigned chronic kidney disease (paper: eGFR <60 mL/min/1.73 m²). Medium 1. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Caller-assigned current smoker or significant smoking history. High on this BCR-ABL table (not Medium 1). magent does not take a smoking history.","type":"boolean"},"cvd_10y_risk_gt_20":{"description":"Caller-assigned paper row Cardiovascular disease 10-year risk score >20%. High. magent does not compute SCORE2, PCE, or any other 10-year CVD equation.","type":"boolean"},"diabetes":{"description":"Caller-assigned diabetes (paper: HbA1c >7.0% or >53 mmol/mol, or on treatment). Medium 1. magent does not diagnose diabetes.","type":"boolean"},"family_history_thrombophilia":{"description":"Caller-assigned family history of thrombophilia. Medium 1. magent does not take a family history.","type":"boolean"},"heart_failure_or_lvsd":{"description":"Caller-assigned heart failure or left-ventricular systolic dysfunction. High. magent does not diagnose heart failure.","type":"boolean"},"hyperlipidemia":{"description":"Caller-assigned hyperlipidemia (paper: non-HDL cholesterol >3.8 mmol/L or >145 mg/dL). Medium 1. magent does not assay lipids.","type":"boolean"},"hypertension":{"description":"Caller-assigned hypertension (paper: SBP >140 mmHg or DBP >90 mmHg, or on treatment). Medium 2. magent does not measure blood pressure.","type":"boolean"},"lvef_percent":{"description":"Left-ventricular ejection fraction in percent (10-80). <50 is High. This table has no 50-54 Medium 2 LVEF row; ≥50 adds no LVEF points. magent does not read an echocardiogram.","type":"number"},"obesity":{"description":"Caller-assigned obesity (paper: BMI >30 kg/m²). Medium 1. magent does not compute BMI.","type":"boolean"},"pulmonary_arterial_hypertension":{"description":"Caller-assigned pulmonary arterial hypertension (paper: peak systolic PAP ≥35 mmHg when estimated on echocardiography). High. magent does not estimate pulmonary pressure.","type":"boolean"},"qtc_ms":{"description":"QTc in milliseconds (300-700). ≥480 is High. Borderline Medium 2 is men 450≤QTc<480 and women 460≤QTc<480. magent does not measure QTc.","type":"number"},"sex":{"description":"Sex male or female. Selects the borderline QTc Medium 2 window (men 450≤QTc<480; women 460≤QTc<480). magent does not read an ECG.","type":"string"},"venous_thromboembolism":{"description":"Caller-assigned venous thromboembolism (DVT or PE). Medium 2. magent does not diagnose VTE.","type":"boolean"}},"required":["age_years","sex","lvef_percent","qtc_ms","arterial_vascular_disease","arterial_thrombosis_with_tki","heart_failure_or_lvsd","bcr_abl_tki_mediated_lvsd","abpi_le_0_9","pulmonary_arterial_hypertension","cvd_10y_risk_gt_20","current_or_significant_smoker","venous_thromboembolism","arrhythmia","hypertension","diabetes","hyperlipidemia","ckd","family_history_thrombophilia","obesity"],"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},{"id":39589,"slug":"39589","resource":"https://api.magentlab.com/api/calc/hfa_icos_vegf","description":"Lyon 2020 HFA-ICOS baseline CV risk before VEGF inhibitors or VEGF TKIs. Very high if heart failure/cardiomyopathy or arterial vascular disease. High if venous thrombosis, LVEF <50%, QTc >=480 ms, age >=75, hypertension, prior anthracycline, or >=5 medium points. Medium if 2-4 medium points. Guide <2% / 2-9% / 10-19% / >=20%. Not a device or treatment order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"proteinuria":false,"qtc_ms":400,"sex":"female","venous_thrombosis":false},{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"proteinuria":false,"qtc_ms":400,"sex":"female","venous_thrombosis":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"arterial_vascular_disease","points":0,"present":false,"tier":"very_high"},{"factor":"venous_thrombosis","points":0,"present":false,"tier":"high"},{"factor":"lvef_lt_50","points":0,"present":false,"tier":"high"},{"factor":"qtc_ge_480","points":0,"present":false,"tier":"high"},{"factor":"age_ge_75","points":0,"present":false,"tier":"high"},{"factor":"hypertension","points":0,"present":false,"tier":"high"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"lvef_50_to_54","points":0,"present":false,"tier":"medium_2"},{"factor":"borderline_qtc","points":0,"present":false,"tier":"medium_2"},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium_2"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_1"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium_1"},{"factor":"age_65_to_74","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"hyperlipidemia","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"proteinuria","points":0,"present":false,"tier":"medium_1"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"}],"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":"hfa_icos_vegf","formula_expression":"HFA-ICOS VEGF-inhibitor class (Lyon 2020): very_high if any very-high factor; else high if any high factor or medium_points>=5; else medium if medium_points 2-4; else low. medium_points = Medium 2 + Medium 1 only. Very high: heart_failure_or_cardiomyopathy, arterial_vascular_disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD). High: venous_thrombosis, lvef_percent<50, qtc_ms>=480, age_years>=75, hypertension, prior_anthracycline. Medium 2: lvef 50-54, male 450<=qtc<480, female 460<=qtc<480, arrhythmia (AF/flutter/VT/VF). Medium 1: elevated_troponin, elevated_bnp, age 65-74, diabetes, hyperlipidemia, ckd, proteinuria, prior_left_chest_or_mediastinal_rt, current_or_significant_smoker, obesity. Age exclusive (>=75 High; 65-74 Medium 1; <65 none). LVEF exclusive (<50 High; 50-54 Medium 2; >=55 none). QTc exclusive (>=480 High; else sex-specific Medium 2). cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%","high_factor":false,"lvef_percent":60,"medium_points":0,"qtc_ms":400,"risk_level":"low","sex":"female","very_high_factor":false},{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"arterial_vascular_disease","points":0,"present":false,"tier":"very_high"},{"factor":"venous_thrombosis","points":0,"present":false,"tier":"high"},{"factor":"lvef_lt_50","points":0,"present":false,"tier":"high"},{"factor":"qtc_ge_480","points":0,"present":false,"tier":"high"},{"factor":"age_ge_75","points":0,"present":false,"tier":"high"},{"factor":"hypertension","points":0,"present":false,"tier":"high"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"lvef_50_to_54","points":0,"present":false,"tier":"medium_2"},{"factor":"borderline_qtc","points":0,"present":false,"tier":"medium_2"},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium_2"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_1"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium_1"},{"factor":"age_65_to_74","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"hyperlipidemia","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"proteinuria","points":0,"present":false,"tier":"medium_1"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"}],"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":"hfa_icos_vegf","formula_expression":"HFA-ICOS VEGF-inhibitor class (Lyon 2020): very_high if any very-high factor; else high if any high factor or medium_points>=5; else medium if medium_points 2-4; else low. medium_points = Medium 2 + Medium 1 only. Very high: heart_failure_or_cardiomyopathy, arterial_vascular_disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD). High: venous_thrombosis, lvef_percent<50, qtc_ms>=480, age_years>=75, hypertension, prior_anthracycline. Medium 2: lvef 50-54, male 450<=qtc<480, female 460<=qtc<480, arrhythmia (AF/flutter/VT/VF). Medium 1: elevated_troponin, elevated_bnp, age 65-74, diabetes, hyperlipidemia, ckd, proteinuria, prior_left_chest_or_mediastinal_rt, current_or_significant_smoker, obesity. Age exclusive (>=75 High; 65-74 Medium 1; <65 none). LVEF exclusive (<50 High; 50-54 Medium 2; >=55 none). QTc exclusive (>=480 High; else sex-specific Medium 2). cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%","high_factor":false,"lvef_percent":60,"medium_points":0,"qtc_ms":400,"risk_level":"low","sex":"female","very_high_factor":false}],"path":"/api/calc/hfa_icos_vegf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Integer age in years (18-100) as assigned by the caller. Lyon 2020 VEGF-inhibitor table: >=75 High; 65-74 Medium 1; <65 no age points. Bands are exclusive. magent does not read an identity document.","type":"integer"},"arrhythmia":{"description":"Arrhythmia (atrial fibrillation, atrial flutter, ventricular tachycardia, or ventricular fibrillation) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 2). true or false.","type":"boolean"},"arterial_vascular_disease":{"description":"Arterial vascular disease: IHD, PCI, CABG, stable angina, TIA, stroke, or PVD as one caller bool (Lyon 2020 VEGF-inhibitor table, very high). true or false. magent does not diagnose vascular disease.","type":"boolean"},"ckd":{"description":"Chronic kidney disease (eGFR <60 mL/min/1.73 m2) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Current smoker or significant smoking history as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus (glycated haemoglobin >7.0% or >53 mmol/mol, or on treatment) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false.","type":"boolean"},"elevated_bnp":{"description":"Elevated baseline BNP or NT-proBNP above the local laboratory upper limit of normal as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not assay BNP.","type":"boolean"},"elevated_troponin":{"description":"Elevated baseline troponin above the local laboratory upper limit of normal as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not assay troponin.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy (Lyon 2020 VEGF-inhibitor table, very high). Caller-assigned. true or false.","type":"boolean"},"hyperlipidemia":{"description":"Hyperlipidemia (non-HDL cholesterol >3.8 mmol/L or >145 mg/dL) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not convert lipid units.","type":"boolean"},"hypertension":{"description":"Hypertension (SBP >140 mmHg or DBP >90 mmHg, or on treatment) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, High). true or false. magent does not read a blood-pressure cuff.","type":"boolean"},"lvef_percent":{"description":"Baseline left-ventricular ejection fraction, integer percent 10-80, as assigned by the caller. <50 High; 50-54 Medium 2; >=55 no LVEF points. magent does not read an echocardiogram.","type":"integer"},"obesity":{"description":"Obesity (BMI >30 kg/m2) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not compute BMI.","type":"boolean"},"prior_anthracycline":{"description":"Prior anthracycline exposure as assigned by the caller (Lyon 2020 VEGF-inhibitor table, High). true or false.","type":"boolean"},"prior_left_chest_or_mediastinal_rt":{"description":"Prior radiotherapy to the left chest or mediastinum as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false.","type":"boolean"},"proteinuria":{"description":"Proteinuria as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false.","type":"boolean"},"qtc_ms":{"description":"Baseline QTc in milliseconds, integer 300-700, as assigned by the caller. >=480 High; men 450-479 Medium 2; women 460-479 Medium 2. magent does not measure QTc.","type":"integer"},"sex":{"description":"male or female as assigned by the caller. Used only for the sex-specific borderline QTc Medium 2 band (men 450-479 ms; women 460-479 ms).","type":"string"},"venous_thrombosis":{"description":"Venous thrombosis (DVT or PE) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, High). true or false.","type":"boolean"}},"required":["age_years","sex","lvef_percent","qtc_ms","heart_failure_or_cardiomyopathy","arterial_vascular_disease","venous_thrombosis","hypertension","prior_anthracycline","arrhythmia","elevated_troponin","elevated_bnp","diabetes","hyperlipidemia","ckd","proteinuria","prior_left_chest_or_mediastinal_rt","current_or_significant_smoker","obesity"],"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":["hfa-icos","vegf-inhibitor","cardio-oncology","lyon-2020","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:35:26.251Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:35:26.104Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"proteinuria":false,"qtc_ms":400,"sex":"female","venous_thrombosis":false},{"age_years":50,"arrhythmia":false,"arterial_vascular_disease":false,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hyperlipidemia":false,"hypertension":false,"lvef_percent":60,"obesity":false,"prior_anthracycline":false,"prior_left_chest_or_mediastinal_rt":false,"proteinuria":false,"qtc_ms":400,"sex":"female","venous_thrombosis":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"arterial_vascular_disease","points":0,"present":false,"tier":"very_high"},{"factor":"venous_thrombosis","points":0,"present":false,"tier":"high"},{"factor":"lvef_lt_50","points":0,"present":false,"tier":"high"},{"factor":"qtc_ge_480","points":0,"present":false,"tier":"high"},{"factor":"age_ge_75","points":0,"present":false,"tier":"high"},{"factor":"hypertension","points":0,"present":false,"tier":"high"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"lvef_50_to_54","points":0,"present":false,"tier":"medium_2"},{"factor":"borderline_qtc","points":0,"present":false,"tier":"medium_2"},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium_2"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_1"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium_1"},{"factor":"age_65_to_74","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"hyperlipidemia","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"proteinuria","points":0,"present":false,"tier":"medium_1"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"}],"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":"hfa_icos_vegf","formula_expression":"HFA-ICOS VEGF-inhibitor class (Lyon 2020): very_high if any very-high factor; else high if any high factor or medium_points>=5; else medium if medium_points 2-4; else low. medium_points = Medium 2 + Medium 1 only. Very high: heart_failure_or_cardiomyopathy, arterial_vascular_disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD). High: venous_thrombosis, lvef_percent<50, qtc_ms>=480, age_years>=75, hypertension, prior_anthracycline. Medium 2: lvef 50-54, male 450<=qtc<480, female 460<=qtc<480, arrhythmia (AF/flutter/VT/VF). Medium 1: elevated_troponin, elevated_bnp, age 65-74, diabetes, hyperlipidemia, ckd, proteinuria, prior_left_chest_or_mediastinal_rt, current_or_significant_smoker, obesity. Age exclusive (>=75 High; 65-74 Medium 1; <65 none). LVEF exclusive (<50 High; 50-54 Medium 2; >=55 none). QTc exclusive (>=480 High; else sex-specific Medium 2). cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%","high_factor":false,"lvef_percent":60,"medium_points":0,"qtc_ms":400,"risk_level":"low","sex":"female","very_high_factor":false},{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"arterial_vascular_disease","points":0,"present":false,"tier":"very_high"},{"factor":"venous_thrombosis","points":0,"present":false,"tier":"high"},{"factor":"lvef_lt_50","points":0,"present":false,"tier":"high"},{"factor":"qtc_ge_480","points":0,"present":false,"tier":"high"},{"factor":"age_ge_75","points":0,"present":false,"tier":"high"},{"factor":"hypertension","points":0,"present":false,"tier":"high"},{"factor":"prior_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"lvef_50_to_54","points":0,"present":false,"tier":"medium_2"},{"factor":"borderline_qtc","points":0,"present":false,"tier":"medium_2"},{"factor":"arrhythmia","points":0,"present":false,"tier":"medium_2"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_1"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium_1"},{"factor":"age_65_to_74","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"hyperlipidemia","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"proteinuria","points":0,"present":false,"tier":"medium_1"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"}],"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":"hfa_icos_vegf","formula_expression":"HFA-ICOS VEGF-inhibitor class (Lyon 2020): very_high if any very-high factor; else high if any high factor or medium_points>=5; else medium if medium_points 2-4; else low. medium_points = Medium 2 + Medium 1 only. Very high: heart_failure_or_cardiomyopathy, arterial_vascular_disease (IHD, PCI, CABG, stable angina, TIA, stroke, or PVD). High: venous_thrombosis, lvef_percent<50, qtc_ms>=480, age_years>=75, hypertension, prior_anthracycline. Medium 2: lvef 50-54, male 450<=qtc<480, female 460<=qtc<480, arrhythmia (AF/flutter/VT/VF). Medium 1: elevated_troponin, elevated_bnp, age 65-74, diabetes, hyperlipidemia, ckd, proteinuria, prior_left_chest_or_mediastinal_rt, current_or_significant_smoker, obesity. Age exclusive (>=75 High; 65-74 Medium 1; <65 none). LVEF exclusive (<50 High; 50-54 Medium 2; >=55 none). QTc exclusive (>=480 High; else sex-specific Medium 2). cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%","high_factor":false,"lvef_percent":60,"medium_points":0,"qtc_ms":400,"risk_level":"low","sex":"female","very_high_factor":false}],"path":"/api/calc/hfa_icos_vegf"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Integer age in years (18-100) as assigned by the caller. Lyon 2020 VEGF-inhibitor table: >=75 High; 65-74 Medium 1; <65 no age points. Bands are exclusive. magent does not read an identity document.","type":"integer"},"arrhythmia":{"description":"Arrhythmia (atrial fibrillation, atrial flutter, ventricular tachycardia, or ventricular fibrillation) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 2). true or false.","type":"boolean"},"arterial_vascular_disease":{"description":"Arterial vascular disease: IHD, PCI, CABG, stable angina, TIA, stroke, or PVD as one caller bool (Lyon 2020 VEGF-inhibitor table, very high). true or false. magent does not diagnose vascular disease.","type":"boolean"},"ckd":{"description":"Chronic kidney disease (eGFR <60 mL/min/1.73 m2) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Current smoker or significant smoking history as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus (glycated haemoglobin >7.0% or >53 mmol/mol, or on treatment) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false.","type":"boolean"},"elevated_bnp":{"description":"Elevated baseline BNP or NT-proBNP above the local laboratory upper limit of normal as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not assay BNP.","type":"boolean"},"elevated_troponin":{"description":"Elevated baseline troponin above the local laboratory upper limit of normal as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not assay troponin.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy (Lyon 2020 VEGF-inhibitor table, very high). Caller-assigned. true or false.","type":"boolean"},"hyperlipidemia":{"description":"Hyperlipidemia (non-HDL cholesterol >3.8 mmol/L or >145 mg/dL) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not convert lipid units.","type":"boolean"},"hypertension":{"description":"Hypertension (SBP >140 mmHg or DBP >90 mmHg, or on treatment) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, High). true or false. magent does not read a blood-pressure cuff.","type":"boolean"},"lvef_percent":{"description":"Baseline left-ventricular ejection fraction, integer percent 10-80, as assigned by the caller. <50 High; 50-54 Medium 2; >=55 no LVEF points. magent does not read an echocardiogram.","type":"integer"},"obesity":{"description":"Obesity (BMI >30 kg/m2) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false. magent does not compute BMI.","type":"boolean"},"prior_anthracycline":{"description":"Prior anthracycline exposure as assigned by the caller (Lyon 2020 VEGF-inhibitor table, High). true or false.","type":"boolean"},"prior_left_chest_or_mediastinal_rt":{"description":"Prior radiotherapy to the left chest or mediastinum as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false.","type":"boolean"},"proteinuria":{"description":"Proteinuria as assigned by the caller (Lyon 2020 VEGF-inhibitor table, Medium 1). true or false.","type":"boolean"},"qtc_ms":{"description":"Baseline QTc in milliseconds, integer 300-700, as assigned by the caller. >=480 High; men 450-479 Medium 2; women 460-479 Medium 2. magent does not measure QTc.","type":"integer"},"sex":{"description":"male or female as assigned by the caller. Used only for the sex-specific borderline QTc Medium 2 band (men 450-479 ms; women 460-479 ms).","type":"string"},"venous_thrombosis":{"description":"Venous thrombosis (DVT or PE) as assigned by the caller (Lyon 2020 VEGF-inhibitor table, High). true or false.","type":"boolean"}},"required":["age_years","sex","lvef_percent","qtc_ms","heart_failure_or_cardiomyopathy","arterial_vascular_disease","venous_thrombosis","hypertension","prior_anthracycline","arrhythmia","elevated_troponin","elevated_bnp","diabetes","hyperlipidemia","ckd","proteinuria","prior_left_chest_or_mediastinal_rt","current_or_significant_smoker","obesity"],"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},{"id":39590,"slug":"39590","resource":"https://api.magentlab.com/api/calc/hfa_icos_her2","description":"Lyon 2020 HFA-ICOS baseline cardiovascular risk before HER2-targeted therapy (trastuzumab and related agents). Very high, high, medium, or low from published factors plus Medium 1/2 points; expert-opinion cardiotoxicity guide <2% / 2-9% / 10-19% / >=20%. Concurrent anthracycline is High; sequential anthracycline before HER2 is Medium 1. Deterministic published classification with citation; not a treatment order. magent does not measure LVEF or biomarkers.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":50,"anthracycline_before_her2":false,"arrhythmia":false,"ckd":false,"concurrent_anthracycline_and_her2":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_cabg":false,"obesity":false,"prior_left_chest_or_mediastinal_rt":false,"prior_remote_anthracycline":false,"prior_trastuzumab_cardiotoxicity":false,"severe_valvular_heart_disease":false,"stable_angina":false},{"age_years":50,"anthracycline_before_her2":false,"arrhythmia":false,"ckd":false,"concurrent_anthracycline_and_her2":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_cabg":false,"obesity":false,"prior_left_chest_or_mediastinal_rt":false,"prior_remote_anthracycline":false,"prior_trastuzumab_cardiotoxicity":false,"severe_valvular_heart_disease":false,"stable_angina":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"anthracycline_before_her2":false,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false},{"factor":"prior_trastuzumab_cardiotoxicity","points":0,"present":false},{"factor":"mi_or_cabg","points":0,"present":false},{"factor":"stable_angina","points":0,"present":false},{"factor":"severe_valvular_heart_disease","points":0,"present":false},{"factor":"lvef_lt_50","points":0,"present":false,"value":60},{"factor":"age_ge_80","points":0,"present":false,"value":50},{"factor":"concurrent_anthracycline_and_her2","points":0,"present":false},{"factor":"lvef_50_54","points":0,"present":false,"value":60},{"factor":"arrhythmia","points":0,"present":false},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"age_65_79","points":0,"present":false,"value":50},{"factor":"prior_remote_anthracycline","points":0,"present":false},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"ckd","points":0,"present":false},{"factor":"anthracycline_before_her2","points":0,"present":false},{"factor":"current_or_significant_smoker","points":0,"present":false},{"factor":"obesity","points":0,"present":false}],"concurrent_anthracycline_and_her2":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":"hfa_icos_her2","formula_expression":"HFA-ICOS HER2 (Lyon 2020): very_high if heart_failure_or_cardiomyopathy or prior_trastuzumab_cardiotoxicity; else high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or lvef_percent<50 or age_years>=80 or concurrent_anthracycline_and_her2 or medium_points>=5; else medium if medium_points 2-4; else low; medium_points = Medium 2 (2) + Medium 1 (1); Medium 2 = lvef 50-54, arrhythmia, elevated_troponin, elevated_bnp, age 65-79, prior_remote_anthracycline, prior_left_chest_or_mediastinal_rt; Medium 1 = hypertension, diabetes, ckd, anthracycline_before_her2 (if not concurrent), current_or_significant_smoker, obesity; cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%","high_present":false,"lvef_percent":60,"max_score":20,"medium_points":0,"risk_level":"low","score":0,"very_high_present":false},{"age_years":50,"anthracycline_before_her2":false,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false},{"factor":"prior_trastuzumab_cardiotoxicity","points":0,"present":false},{"factor":"mi_or_cabg","points":0,"present":false},{"factor":"stable_angina","points":0,"present":false},{"factor":"severe_valvular_heart_disease","points":0,"present":false},{"factor":"lvef_lt_50","points":0,"present":false,"value":60},{"factor":"age_ge_80","points":0,"present":false,"value":50},{"factor":"concurrent_anthracycline_and_her2","points":0,"present":false},{"factor":"lvef_50_54","points":0,"present":false,"value":60},{"factor":"arrhythmia","points":0,"present":false},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"age_65_79","points":0,"present":false,"value":50},{"factor":"prior_remote_anthracycline","points":0,"present":false},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"ckd","points":0,"present":false},{"factor":"anthracycline_before_her2","points":0,"present":false},{"factor":"current_or_significant_smoker","points":0,"present":false},{"factor":"obesity","points":0,"present":false}],"concurrent_anthracycline_and_her2":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":"hfa_icos_her2","formula_expression":"HFA-ICOS HER2 (Lyon 2020): very_high if heart_failure_or_cardiomyopathy or prior_trastuzumab_cardiotoxicity; else high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or lvef_percent<50 or age_years>=80 or concurrent_anthracycline_and_her2 or medium_points>=5; else medium if medium_points 2-4; else low; medium_points = Medium 2 (2) + Medium 1 (1); Medium 2 = lvef 50-54, arrhythmia, elevated_troponin, elevated_bnp, age 65-79, prior_remote_anthracycline, prior_left_chest_or_mediastinal_rt; Medium 1 = hypertension, diabetes, ckd, anthracycline_before_her2 (if not concurrent), current_or_significant_smoker, obesity; cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%","high_present":false,"lvef_percent":60,"max_score":20,"medium_points":0,"risk_level":"low","score":0,"very_high_present":false}],"path":"/api/calc/hfa_icos_her2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (integer 18-100). Lyon 2020 exclusive bands: ≥80 is High; 65-79 is Medium 2 (2 points); younger than 65 does not score. Age 80 is High, not Medium 2.","type":"integer"},"anthracycline_before_her2":{"description":"Current regimen includes anthracycline before HER2-targeted therapy, sequential not concurrent (Lyon 2020 HER2 table Medium 1). true or false. Ignored for points when concurrent_anthracycline_and_her2 is true.","type":"boolean"},"arrhythmia":{"description":"Atrial fibrillation, atrial flutter, VT, or VF as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not interpret the ECG.","type":"boolean"},"ckd":{"description":"Chronic kidney disease as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.","type":"boolean"},"concurrent_anthracycline_and_her2":{"description":"Anthracycline and trastuzumab delivered concurrently on the current protocol (Lyon 2020 HER2 table footnote f; High). true or false. When true, anthracycline_before_her2 does not add Medium 1 points.","type":"boolean"},"current_or_significant_smoker":{"description":"Current or significant smoking history as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.","type":"boolean"},"elevated_bnp":{"description":"Elevated BNP or NT-proBNP as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not assay natriuretic peptides.","type":"boolean"},"elevated_troponin":{"description":"Elevated troponin as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not assay troponin.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy as assigned by the caller (Lyon 2020 HER2 table Very high). true or false.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.","type":"boolean"},"lvef_percent":{"description":"Left-ventricular ejection fraction percent (integer 10-80) as assigned by the caller. <50 is High; 50-54 is Medium 2 (2 points); ≥55 does not score. magent does not measure LVEF.","type":"integer"},"mi_or_cabg":{"description":"Prior myocardial infarction or CABG as assigned by the caller (Lyon 2020 HER2 table High). true or false.","type":"boolean"},"obesity":{"description":"Obesity as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false. magent does not compute BMI.","type":"boolean"},"prior_left_chest_or_mediastinal_rt":{"description":"Prior left-chest or mediastinal radiotherapy as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false.","type":"boolean"},"prior_remote_anthracycline":{"description":"Prior remote anthracycline for a previous malignancy, not the current protocol (Lyon 2020 HER2 table footnote g; Medium 2). true or false.","type":"boolean"},"prior_trastuzumab_cardiotoxicity":{"description":"Prior trastuzumab cardiotoxicity as assigned by the caller (Lyon 2020 HER2 table Very high). true or false. magent does not review prior exposure.","type":"boolean"},"severe_valvular_heart_disease":{"description":"Severe valvular heart disease as assigned by the caller (Lyon 2020 HER2 table High). true or false.","type":"boolean"},"stable_angina":{"description":"Stable angina as assigned by the caller (Lyon 2020 HER2 table High). true or false.","type":"boolean"}},"required":["age_years","lvef_percent","heart_failure_or_cardiomyopathy","prior_trastuzumab_cardiotoxicity","mi_or_cabg","stable_angina","severe_valvular_heart_disease","concurrent_anthracycline_and_her2","arrhythmia","elevated_troponin","elevated_bnp","prior_remote_anthracycline","prior_left_chest_or_mediastinal_rt","hypertension","diabetes","ckd","anthracycline_before_her2","current_or_significant_smoker","obesity"],"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":["hfa-icos","her2","cardio-oncology","trastuzumab","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:35:20.142Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:35:19.995Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":50,"anthracycline_before_her2":false,"arrhythmia":false,"ckd":false,"concurrent_anthracycline_and_her2":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_cabg":false,"obesity":false,"prior_left_chest_or_mediastinal_rt":false,"prior_remote_anthracycline":false,"prior_trastuzumab_cardiotoxicity":false,"severe_valvular_heart_disease":false,"stable_angina":false},{"age_years":50,"anthracycline_before_her2":false,"arrhythmia":false,"ckd":false,"concurrent_anthracycline_and_her2":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_cabg":false,"obesity":false,"prior_left_chest_or_mediastinal_rt":false,"prior_remote_anthracycline":false,"prior_trastuzumab_cardiotoxicity":false,"severe_valvular_heart_disease":false,"stable_angina":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"anthracycline_before_her2":false,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false},{"factor":"prior_trastuzumab_cardiotoxicity","points":0,"present":false},{"factor":"mi_or_cabg","points":0,"present":false},{"factor":"stable_angina","points":0,"present":false},{"factor":"severe_valvular_heart_disease","points":0,"present":false},{"factor":"lvef_lt_50","points":0,"present":false,"value":60},{"factor":"age_ge_80","points":0,"present":false,"value":50},{"factor":"concurrent_anthracycline_and_her2","points":0,"present":false},{"factor":"lvef_50_54","points":0,"present":false,"value":60},{"factor":"arrhythmia","points":0,"present":false},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"age_65_79","points":0,"present":false,"value":50},{"factor":"prior_remote_anthracycline","points":0,"present":false},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"ckd","points":0,"present":false},{"factor":"anthracycline_before_her2","points":0,"present":false},{"factor":"current_or_significant_smoker","points":0,"present":false},{"factor":"obesity","points":0,"present":false}],"concurrent_anthracycline_and_her2":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":"hfa_icos_her2","formula_expression":"HFA-ICOS HER2 (Lyon 2020): very_high if heart_failure_or_cardiomyopathy or prior_trastuzumab_cardiotoxicity; else high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or lvef_percent<50 or age_years>=80 or concurrent_anthracycline_and_her2 or medium_points>=5; else medium if medium_points 2-4; else low; medium_points = Medium 2 (2) + Medium 1 (1); Medium 2 = lvef 50-54, arrhythmia, elevated_troponin, elevated_bnp, age 65-79, prior_remote_anthracycline, prior_left_chest_or_mediastinal_rt; Medium 1 = hypertension, diabetes, ckd, anthracycline_before_her2 (if not concurrent), current_or_significant_smoker, obesity; cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%","high_present":false,"lvef_percent":60,"max_score":20,"medium_points":0,"risk_level":"low","score":0,"very_high_present":false},{"age_years":50,"anthracycline_before_her2":false,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false},{"factor":"prior_trastuzumab_cardiotoxicity","points":0,"present":false},{"factor":"mi_or_cabg","points":0,"present":false},{"factor":"stable_angina","points":0,"present":false},{"factor":"severe_valvular_heart_disease","points":0,"present":false},{"factor":"lvef_lt_50","points":0,"present":false,"value":60},{"factor":"age_ge_80","points":0,"present":false,"value":50},{"factor":"concurrent_anthracycline_and_her2","points":0,"present":false},{"factor":"lvef_50_54","points":0,"present":false,"value":60},{"factor":"arrhythmia","points":0,"present":false},{"factor":"elevated_troponin","points":0,"present":false},{"factor":"elevated_bnp","points":0,"present":false},{"factor":"age_65_79","points":0,"present":false,"value":50},{"factor":"prior_remote_anthracycline","points":0,"present":false},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false},{"factor":"hypertension","points":0,"present":false},{"factor":"diabetes","points":0,"present":false},{"factor":"ckd","points":0,"present":false},{"factor":"anthracycline_before_her2","points":0,"present":false},{"factor":"current_or_significant_smoker","points":0,"present":false},{"factor":"obesity","points":0,"present":false}],"concurrent_anthracycline_and_her2":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":"hfa_icos_her2","formula_expression":"HFA-ICOS HER2 (Lyon 2020): very_high if heart_failure_or_cardiomyopathy or prior_trastuzumab_cardiotoxicity; else high if mi_or_cabg or stable_angina or severe_valvular_heart_disease or lvef_percent<50 or age_years>=80 or concurrent_anthracycline_and_her2 or medium_points>=5; else medium if medium_points 2-4; else low; medium_points = Medium 2 (2) + Medium 1 (1); Medium 2 = lvef 50-54, arrhythmia, elevated_troponin, elevated_bnp, age 65-79, prior_remote_anthracycline, prior_left_chest_or_mediastinal_rt; Medium 1 = hypertension, diabetes, ckd, anthracycline_before_her2 (if not concurrent), current_or_significant_smoker, obesity; cardiotoxicity_guide low <2%, medium 2-9%, high 10-19%, very_high >=20%","high_present":false,"lvef_percent":60,"max_score":20,"medium_points":0,"risk_level":"low","score":0,"very_high_present":false}],"path":"/api/calc/hfa_icos_her2"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (integer 18-100). Lyon 2020 exclusive bands: ≥80 is High; 65-79 is Medium 2 (2 points); younger than 65 does not score. Age 80 is High, not Medium 2.","type":"integer"},"anthracycline_before_her2":{"description":"Current regimen includes anthracycline before HER2-targeted therapy, sequential not concurrent (Lyon 2020 HER2 table Medium 1). true or false. Ignored for points when concurrent_anthracycline_and_her2 is true.","type":"boolean"},"arrhythmia":{"description":"Atrial fibrillation, atrial flutter, VT, or VF as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not interpret the ECG.","type":"boolean"},"ckd":{"description":"Chronic kidney disease as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.","type":"boolean"},"concurrent_anthracycline_and_her2":{"description":"Anthracycline and trastuzumab delivered concurrently on the current protocol (Lyon 2020 HER2 table footnote f; High). true or false. When true, anthracycline_before_her2 does not add Medium 1 points.","type":"boolean"},"current_or_significant_smoker":{"description":"Current or significant smoking history as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.","type":"boolean"},"elevated_bnp":{"description":"Elevated BNP or NT-proBNP as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not assay natriuretic peptides.","type":"boolean"},"elevated_troponin":{"description":"Elevated troponin as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false. magent does not assay troponin.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy as assigned by the caller (Lyon 2020 HER2 table Very high). true or false.","type":"boolean"},"hypertension":{"description":"Hypertension as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false.","type":"boolean"},"lvef_percent":{"description":"Left-ventricular ejection fraction percent (integer 10-80) as assigned by the caller. <50 is High; 50-54 is Medium 2 (2 points); ≥55 does not score. magent does not measure LVEF.","type":"integer"},"mi_or_cabg":{"description":"Prior myocardial infarction or CABG as assigned by the caller (Lyon 2020 HER2 table High). true or false.","type":"boolean"},"obesity":{"description":"Obesity as assigned by the caller (Lyon 2020 HER2 table Medium 1). true or false. magent does not compute BMI.","type":"boolean"},"prior_left_chest_or_mediastinal_rt":{"description":"Prior left-chest or mediastinal radiotherapy as assigned by the caller (Lyon 2020 HER2 table Medium 2). true or false.","type":"boolean"},"prior_remote_anthracycline":{"description":"Prior remote anthracycline for a previous malignancy, not the current protocol (Lyon 2020 HER2 table footnote g; Medium 2). true or false.","type":"boolean"},"prior_trastuzumab_cardiotoxicity":{"description":"Prior trastuzumab cardiotoxicity as assigned by the caller (Lyon 2020 HER2 table Very high). true or false. magent does not review prior exposure.","type":"boolean"},"severe_valvular_heart_disease":{"description":"Severe valvular heart disease as assigned by the caller (Lyon 2020 HER2 table High). true or false.","type":"boolean"},"stable_angina":{"description":"Stable angina as assigned by the caller (Lyon 2020 HER2 table High). true or false.","type":"boolean"}},"required":["age_years","lvef_percent","heart_failure_or_cardiomyopathy","prior_trastuzumab_cardiotoxicity","mi_or_cabg","stable_angina","severe_valvular_heart_disease","concurrent_anthracycline_and_her2","arrhythmia","elevated_troponin","elevated_bnp","prior_remote_anthracycline","prior_left_chest_or_mediastinal_rt","hypertension","diabetes","ckd","anthracycline_before_her2","current_or_significant_smoker","obesity"],"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},{"id":39591,"slug":"39591","resource":"https://api.magentlab.com/api/calc/hfa_icos_anthracycline","description":"Lyon 2020 HFA-ICOS baseline cardiovascular risk before anthracycline chemotherapy. Returns risk_level low, medium, high, or very_high from published Very high, High, Medium 2, and Medium 1 factors, plus medium_points and the paper's expert-opinion cardiotoxicity_guide. Age and LVEF use the highest matching printed band only. Caller assigns labs and BMI >30. magent does not examine the patient or read imaging. Not a medical device or treatment order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":50,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_coronary_revascularization":false,"obesity":false,"previous_anthracycline":false,"previous_non_anthracycline_chemo":false,"prior_left_chest_or_mediastinal_rt":false,"severe_valvular_heart_disease":false,"stable_angina":false},{"age_years":50,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_coronary_revascularization":false,"obesity":false,"previous_anthracycline":false,"previous_non_anthracycline_chemo":false,"prior_left_chest_or_mediastinal_rt":false,"severe_valvular_heart_disease":false,"stable_angina":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"severe_valvular_heart_disease","points":0,"present":false,"tier":"high"},{"factor":"mi_or_coronary_revascularization","points":0,"present":false,"tier":"high"},{"factor":"stable_angina","points":0,"present":false,"tier":"high"},{"factor":"previous_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"high"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_1"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium_1"},{"factor":"hypertension","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"previous_non_anthracycline_chemo","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"},{"factor":"age_years","points":0,"present":false,"tier":"none","value":50},{"factor":"lvef_percent","points":0,"present":false,"tier":"none","value":60}],"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":"hfa_icos_anthracycline","formula_expression":"very_high if heart_failure_or_cardiomyopathy; else high if any High factor (severe_valvular_heart_disease, mi_or_coronary_revascularization, stable_angina, lvef_percent<50, age_years>=80, previous_anthracycline, prior_left_chest_or_mediastinal_rt) OR medium_points>=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: elevated_troponin, elevated_bnp, hypertension, diabetes, ckd, previous_non_anthracycline_chemo, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, age_years 65-79) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS anthracycline table. cardiotoxicity_guide is that paper's expert-opinion guide: low <2%, medium 2-9%, high 10-19%, very high >=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"},{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"severe_valvular_heart_disease","points":0,"present":false,"tier":"high"},{"factor":"mi_or_coronary_revascularization","points":0,"present":false,"tier":"high"},{"factor":"stable_angina","points":0,"present":false,"tier":"high"},{"factor":"previous_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"high"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_1"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium_1"},{"factor":"hypertension","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"previous_non_anthracycline_chemo","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"},{"factor":"age_years","points":0,"present":false,"tier":"none","value":50},{"factor":"lvef_percent","points":0,"present":false,"tier":"none","value":60}],"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":"hfa_icos_anthracycline","formula_expression":"very_high if heart_failure_or_cardiomyopathy; else high if any High factor (severe_valvular_heart_disease, mi_or_coronary_revascularization, stable_angina, lvef_percent<50, age_years>=80, previous_anthracycline, prior_left_chest_or_mediastinal_rt) OR medium_points>=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: elevated_troponin, elevated_bnp, hypertension, diabetes, ckd, previous_non_anthracycline_chemo, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, age_years 65-79) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS anthracycline table. cardiotoxicity_guide is that paper's expert-opinion guide: low <2%, medium 2-9%, high 10-19%, very high >=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"}],"path":"/api/calc/hfa_icos_anthracycline"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (18-100, integer). Lyon 2020: >=80 High; 65-79 Medium 2; <65 no age factor. Highest matching band only.","type":"integer"},"ckd":{"description":"Chronic kidney disease (eGFR <60 mL/min/1.73 m2) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Current smoker or significant smoking history (Lyon 2020 Medium 1). true or false as assigned by the caller.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus (HbA1c >7.0% or >53 mmol/mol or on treatment) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay HbA1c.","type":"boolean"},"elevated_bnp":{"description":"Baseline BNP or NT-proBNP above the local laboratory ULN as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay natriuretic peptides.","type":"boolean"},"elevated_troponin":{"description":"Baseline troponin above the local laboratory ULN as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay troponin.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy (Lyon 2020 Very high). true or false as assigned by the caller. magent does not examine the patient or read imaging.","type":"boolean"},"hypertension":{"description":"Hypertension (SBP >140 mmHg or DBP >90 mmHg or on treatment) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not measure blood pressure.","type":"boolean"},"lvef_percent":{"description":"LVEF percent (10-80, integer). Lyon 2020: <50 High; 50-54 Medium 2; >=55 no LVEF factor. Highest matching printed band only. magent does not read imaging.","type":"integer"},"mi_or_coronary_revascularization":{"description":"Myocardial infarction or previous coronary revascularization (PCI or CABG) (Lyon 2020 High). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"obesity":{"description":"Obesity (BMI >30 kg/m2) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute BMI.","type":"boolean"},"previous_anthracycline":{"description":"Previous anthracycline exposure (Lyon 2020 High). true or false as assigned by the caller.","type":"boolean"},"previous_non_anthracycline_chemo":{"description":"Previous non-anthracycline-based chemotherapy (Lyon 2020 Medium 1). true or false as assigned by the caller.","type":"boolean"},"prior_left_chest_or_mediastinal_rt":{"description":"Prior radiotherapy to the left chest or mediastinum (Lyon 2020 High). true or false as assigned by the caller.","type":"boolean"},"severe_valvular_heart_disease":{"description":"Severe valvular heart disease (Lyon 2020 High). true or false as assigned by the caller. magent does not examine the patient or read imaging.","type":"boolean"},"stable_angina":{"description":"Stable angina (Lyon 2020 High). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["age_years","lvef_percent","heart_failure_or_cardiomyopathy","severe_valvular_heart_disease","mi_or_coronary_revascularization","stable_angina","previous_anthracycline","prior_left_chest_or_mediastinal_rt","elevated_troponin","elevated_bnp","hypertension","diabetes","ckd","previous_non_anthracycline_chemo","current_or_significant_smoker","obesity"],"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":["hfa-icos","anthracycline","cardio-oncology","hemodynamics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:35:14.208Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:35:14.037Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":50,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_coronary_revascularization":false,"obesity":false,"previous_anthracycline":false,"previous_non_anthracycline_chemo":false,"prior_left_chest_or_mediastinal_rt":false,"severe_valvular_heart_disease":false,"stable_angina":false},{"age_years":50,"ckd":false,"current_or_significant_smoker":false,"diabetes":false,"elevated_bnp":false,"elevated_troponin":false,"heart_failure_or_cardiomyopathy":false,"hypertension":false,"lvef_percent":60,"mi_or_coronary_revascularization":false,"obesity":false,"previous_anthracycline":false,"previous_non_anthracycline_chemo":false,"prior_left_chest_or_mediastinal_rt":false,"severe_valvular_heart_disease":false,"stable_angina":false}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"severe_valvular_heart_disease","points":0,"present":false,"tier":"high"},{"factor":"mi_or_coronary_revascularization","points":0,"present":false,"tier":"high"},{"factor":"stable_angina","points":0,"present":false,"tier":"high"},{"factor":"previous_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"high"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_1"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium_1"},{"factor":"hypertension","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"previous_non_anthracycline_chemo","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"},{"factor":"age_years","points":0,"present":false,"tier":"none","value":50},{"factor":"lvef_percent","points":0,"present":false,"tier":"none","value":60}],"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":"hfa_icos_anthracycline","formula_expression":"very_high if heart_failure_or_cardiomyopathy; else high if any High factor (severe_valvular_heart_disease, mi_or_coronary_revascularization, stable_angina, lvef_percent<50, age_years>=80, previous_anthracycline, prior_left_chest_or_mediastinal_rt) OR medium_points>=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: elevated_troponin, elevated_bnp, hypertension, diabetes, ckd, previous_non_anthracycline_chemo, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, age_years 65-79) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS anthracycline table. cardiotoxicity_guide is that paper's expert-opinion guide: low <2%, medium 2-9%, high 10-19%, very high >=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"},{"age_years":50,"cardiotoxicity_guide":"<2%","citation":{"authors":"Lyon AR, Dent S, Stanway S, et al.","doi":"10.1002/ejhf.1920","id":"lyon-2020","pmid":"32458582","source":"Eur J Heart Fail. 2020;22(11):1945-1960","title":"Baseline cardiovascular risk assessment in cancer patients scheduled to receive cardiotoxic cancer therapies: a position statement and new risk assessment tools from the Cardio-Oncology Study Group of the Heart Failure Association of the European Society of Cardiology in collaboration with the International Cardio-Oncology Society"},"components":[{"factor":"heart_failure_or_cardiomyopathy","points":0,"present":false,"tier":"very_high"},{"factor":"severe_valvular_heart_disease","points":0,"present":false,"tier":"high"},{"factor":"mi_or_coronary_revascularization","points":0,"present":false,"tier":"high"},{"factor":"stable_angina","points":0,"present":false,"tier":"high"},{"factor":"previous_anthracycline","points":0,"present":false,"tier":"high"},{"factor":"prior_left_chest_or_mediastinal_rt","points":0,"present":false,"tier":"high"},{"factor":"elevated_troponin","points":0,"present":false,"tier":"medium_1"},{"factor":"elevated_bnp","points":0,"present":false,"tier":"medium_1"},{"factor":"hypertension","points":0,"present":false,"tier":"medium_1"},{"factor":"diabetes","points":0,"present":false,"tier":"medium_1"},{"factor":"ckd","points":0,"present":false,"tier":"medium_1"},{"factor":"previous_non_anthracycline_chemo","points":0,"present":false,"tier":"medium_1"},{"factor":"current_or_significant_smoker","points":0,"present":false,"tier":"medium_1"},{"factor":"obesity","points":0,"present":false,"tier":"medium_1"},{"factor":"age_years","points":0,"present":false,"tier":"none","value":50},{"factor":"lvef_percent","points":0,"present":false,"tier":"none","value":60}],"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":"hfa_icos_anthracycline","formula_expression":"very_high if heart_failure_or_cardiomyopathy; else high if any High factor (severe_valvular_heart_disease, mi_or_coronary_revascularization, stable_angina, lvef_percent<50, age_years>=80, previous_anthracycline, prior_left_chest_or_mediastinal_rt) OR medium_points>=5; else medium if medium_points in 2..4; else low (no factors or one Medium 1). medium_points sums Medium 1 (=1: elevated_troponin, elevated_bnp, hypertension, diabetes, ckd, previous_non_anthracycline_chemo, current_or_significant_smoker, obesity) and Medium 2 (=2: lvef_percent 50-54, age_years 65-79) only. Age and LVEF use the highest matching printed band. Lyon 2020 HFA-ICOS anthracycline table. cardiotoxicity_guide is that paper's expert-opinion guide: low <2%, medium 2-9%, high 10-19%, very high >=20%","lvef_percent":60,"medium_points":0,"risk_level":"low"}],"path":"/api/calc/hfa_icos_anthracycline"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Age in years (18-100, integer). Lyon 2020: >=80 High; 65-79 Medium 2; <65 no age factor. Highest matching band only.","type":"integer"},"ckd":{"description":"Chronic kidney disease (eGFR <60 mL/min/1.73 m2) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute eGFR.","type":"boolean"},"current_or_significant_smoker":{"description":"Current smoker or significant smoking history (Lyon 2020 Medium 1). true or false as assigned by the caller.","type":"boolean"},"diabetes":{"description":"Diabetes mellitus (HbA1c >7.0% or >53 mmol/mol or on treatment) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay HbA1c.","type":"boolean"},"elevated_bnp":{"description":"Baseline BNP or NT-proBNP above the local laboratory ULN as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay natriuretic peptides.","type":"boolean"},"elevated_troponin":{"description":"Baseline troponin above the local laboratory ULN as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not assay troponin.","type":"boolean"},"heart_failure_or_cardiomyopathy":{"description":"Heart failure or cardiomyopathy (Lyon 2020 Very high). true or false as assigned by the caller. magent does not examine the patient or read imaging.","type":"boolean"},"hypertension":{"description":"Hypertension (SBP >140 mmHg or DBP >90 mmHg or on treatment) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not measure blood pressure.","type":"boolean"},"lvef_percent":{"description":"LVEF percent (10-80, integer). Lyon 2020: <50 High; 50-54 Medium 2; >=55 no LVEF factor. Highest matching printed band only. magent does not read imaging.","type":"integer"},"mi_or_coronary_revascularization":{"description":"Myocardial infarction or previous coronary revascularization (PCI or CABG) (Lyon 2020 High). true or false as assigned by the caller. magent does not read imaging.","type":"boolean"},"obesity":{"description":"Obesity (BMI >30 kg/m2) as assigned by the caller (Lyon 2020 Medium 1). true or false. magent does not compute BMI.","type":"boolean"},"previous_anthracycline":{"description":"Previous anthracycline exposure (Lyon 2020 High). true or false as assigned by the caller.","type":"boolean"},"previous_non_anthracycline_chemo":{"description":"Previous non-anthracycline-based chemotherapy (Lyon 2020 Medium 1). true or false as assigned by the caller.","type":"boolean"},"prior_left_chest_or_mediastinal_rt":{"description":"Prior radiotherapy to the left chest or mediastinum (Lyon 2020 High). true or false as assigned by the caller.","type":"boolean"},"severe_valvular_heart_disease":{"description":"Severe valvular heart disease (Lyon 2020 High). true or false as assigned by the caller. magent does not examine the patient or read imaging.","type":"boolean"},"stable_angina":{"description":"Stable angina (Lyon 2020 High). true or false as assigned by the caller. magent does not examine the patient.","type":"boolean"}},"required":["age_years","lvef_percent","heart_failure_or_cardiomyopathy","severe_valvular_heart_disease","mi_or_coronary_revascularization","stable_angina","previous_anthracycline","prior_left_chest_or_mediastinal_rt","elevated_troponin","elevated_bnp","hypertension","diabetes","ckd","previous_non_anthracycline_chemo","current_or_significant_smoker","obesity"],"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},{"id":39592,"slug":"39592","resource":"https://api.magentlab.com/api/calc/aap_pediatric_bp","description":"AAP 2017 Flynn Table 3 pediatric BP category (normal, elevated, stage_1, stage_2) from age 1-17 and cuff mm Hg. Age ≥13 uses adult-aligned 120/80, 130/80, and 140/90 cutoffs. Age 1-12 needs caller 90th/95th mm Hg (magent does not interpolate height/sex tables). Category is the more severe limb. magent does not measure BP. Not a device, not a hypertension diagnosis, not the 2004 Fourth Report, and not ACC/AHA 2017 for age <13.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"age_years":15,"dbp_p90_mm_hg":66,"dbp_p95_mm_hg":74,"diastolic_mm_hg":72,"sbp_p90_mm_hg":108,"sbp_p95_mm_hg":115,"systolic_mm_hg":118},{"age_years":15,"dbp_p90_mm_hg":66,"dbp_p95_mm_hg":74,"diastolic_mm_hg":72,"sbp_p90_mm_hg":108,"sbp_p95_mm_hg":115,"systolic_mm_hg":118}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":15,"category":"normal","citation":{"authors":"Flynn JT, Kaelber DC, Baker-Smith CM, et al; Subcommittee on Screening and Management of High Blood Pressure in Children","doi":"10.1542/peds.2017-1904","id":"flynn-2017","pmid":"29192011","source":"Pediatrics. 2017;140(3):e20171904","title":"Clinical Practice Guideline for Screening and Management of High Blood Pressure in Children and Adolescents"},"components":[{"factor":"systolic_stage_2","met":false,"value":140},{"factor":"diastolic_stage_2","met":false,"value":90},{"factor":"systolic_stage_1","met":false,"value":130},{"factor":"diastolic_stage_1","met":false,"value":80},{"factor":"systolic_elevated","met":false,"value":120},{"factor":"diastolic_elevated","met":false,"value":80}],"diastolic_mm_hg":72,"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":"aap_pediatric_bp","formula_expression":"AAP 2017 Flynn Table 3 category is the more severe of the systolic and diastolic limbs (normal | elevated | stage_1 | stage_2). Age ≥13 (adult-aligned): normal if SBP <120 and DBP <80; elevated if SBP 120–129 and DBP <80; stage_1 if SBP 130–139 or DBP 80–89 and not stage_2; stage_2 if SBP ≥140 or DBP ≥90. Age 1–12 (caller-assigned AAP-table 90th and 95th mm Hg; magent does not interpolate Tables 4/5): stage_2 if SBP ≥ min(sbp_p95+12, 140) or DBP ≥ min(dbp_p95+12, 90); else stage_1 if SBP ≥ min(sbp_p95, 130) or DBP ≥ min(dbp_p95, 80); else elevated if SBP ≥ min(sbp_p90, 120) or DBP ≥ min(dbp_p90, 80); else normal. Percentile fields are required for age 1–12 and must be omitted for age ≥13. magent does not measure BP","systolic_mm_hg":118},{"age_years":15,"category":"normal","citation":{"authors":"Flynn JT, Kaelber DC, Baker-Smith CM, et al; Subcommittee on Screening and Management of High Blood Pressure in Children","doi":"10.1542/peds.2017-1904","id":"flynn-2017","pmid":"29192011","source":"Pediatrics. 2017;140(3):e20171904","title":"Clinical Practice Guideline for Screening and Management of High Blood Pressure in Children and Adolescents"},"components":[{"factor":"systolic_stage_2","met":false,"value":140},{"factor":"diastolic_stage_2","met":false,"value":90},{"factor":"systolic_stage_1","met":false,"value":130},{"factor":"diastolic_stage_1","met":false,"value":80},{"factor":"systolic_elevated","met":false,"value":120},{"factor":"diastolic_elevated","met":false,"value":80}],"diastolic_mm_hg":72,"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":"aap_pediatric_bp","formula_expression":"AAP 2017 Flynn Table 3 category is the more severe of the systolic and diastolic limbs (normal | elevated | stage_1 | stage_2). Age ≥13 (adult-aligned): normal if SBP <120 and DBP <80; elevated if SBP 120–129 and DBP <80; stage_1 if SBP 130–139 or DBP 80–89 and not stage_2; stage_2 if SBP ≥140 or DBP ≥90. Age 1–12 (caller-assigned AAP-table 90th and 95th mm Hg; magent does not interpolate Tables 4/5): stage_2 if SBP ≥ min(sbp_p95+12, 140) or DBP ≥ min(dbp_p95+12, 90); else stage_1 if SBP ≥ min(sbp_p95, 130) or DBP ≥ min(dbp_p95, 80); else elevated if SBP ≥ min(sbp_p90, 120) or DBP ≥ min(dbp_p90, 80); else normal. Percentile fields are required for age 1–12 and must be omitted for age ≥13. magent does not measure BP","systolic_mm_hg":118}],"path":"/api/calc/aap_pediatric_bp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Completed age in years, integer 1-17 (Flynn 2017 Table 3). Age 1-12 uses the left-column percentile rule and requires caller 90th/95th mm Hg. Age 13-17 uses the right-column adult-aligned cutoffs and must omit percentile fields. Age 0 and age ≥18 are rejected.","type":"integer"},"dbp_p90_mm_hg":{"description":"Caller-assigned AAP Table 4/5 diastolic 90th percentile in mm Hg for that child (40-180, and must be < dbp_p95_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables.","type":"number"},"dbp_p95_mm_hg":{"description":"Caller-assigned AAP Table 4/5 diastolic 95th percentile in mm Hg for that child (40-180, and must be > dbp_p90_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables.","type":"number"},"diastolic_mm_hg":{"description":"Caller-assigned cuff diastolic blood pressure in mm Hg (20-160). Must be less than systolic. magent does not measure blood pressure.","type":"number"},"sbp_p90_mm_hg":{"description":"Caller-assigned AAP Table 4/5 systolic 90th percentile in mm Hg for that child (40-180, and must be < sbp_p95_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables.","type":"number"},"sbp_p95_mm_hg":{"description":"Caller-assigned AAP Table 4/5 systolic 95th percentile in mm Hg for that child (40-180, and must be > sbp_p90_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables.","type":"number"},"systolic_mm_hg":{"description":"Caller-assigned cuff systolic blood pressure in mm Hg (50-250). magent does not measure blood pressure.","type":"number"}},"required":["age_years","systolic_mm_hg","diastolic_mm_hg"],"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":["aap-2017","pediatric-bp","hemodynamics","hypertension","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:35:08.075Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:35:07.925Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"age_years":15,"dbp_p90_mm_hg":66,"dbp_p95_mm_hg":74,"diastolic_mm_hg":72,"sbp_p90_mm_hg":108,"sbp_p95_mm_hg":115,"systolic_mm_hg":118},{"age_years":15,"dbp_p90_mm_hg":66,"dbp_p95_mm_hg":74,"diastolic_mm_hg":72,"sbp_p90_mm_hg":108,"sbp_p95_mm_hg":115,"systolic_mm_hg":118}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"age_years":15,"category":"normal","citation":{"authors":"Flynn JT, Kaelber DC, Baker-Smith CM, et al; Subcommittee on Screening and Management of High Blood Pressure in Children","doi":"10.1542/peds.2017-1904","id":"flynn-2017","pmid":"29192011","source":"Pediatrics. 2017;140(3):e20171904","title":"Clinical Practice Guideline for Screening and Management of High Blood Pressure in Children and Adolescents"},"components":[{"factor":"systolic_stage_2","met":false,"value":140},{"factor":"diastolic_stage_2","met":false,"value":90},{"factor":"systolic_stage_1","met":false,"value":130},{"factor":"diastolic_stage_1","met":false,"value":80},{"factor":"systolic_elevated","met":false,"value":120},{"factor":"diastolic_elevated","met":false,"value":80}],"diastolic_mm_hg":72,"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":"aap_pediatric_bp","formula_expression":"AAP 2017 Flynn Table 3 category is the more severe of the systolic and diastolic limbs (normal | elevated | stage_1 | stage_2). Age ≥13 (adult-aligned): normal if SBP <120 and DBP <80; elevated if SBP 120–129 and DBP <80; stage_1 if SBP 130–139 or DBP 80–89 and not stage_2; stage_2 if SBP ≥140 or DBP ≥90. Age 1–12 (caller-assigned AAP-table 90th and 95th mm Hg; magent does not interpolate Tables 4/5): stage_2 if SBP ≥ min(sbp_p95+12, 140) or DBP ≥ min(dbp_p95+12, 90); else stage_1 if SBP ≥ min(sbp_p95, 130) or DBP ≥ min(dbp_p95, 80); else elevated if SBP ≥ min(sbp_p90, 120) or DBP ≥ min(dbp_p90, 80); else normal. Percentile fields are required for age 1–12 and must be omitted for age ≥13. magent does not measure BP","systolic_mm_hg":118},{"age_years":15,"category":"normal","citation":{"authors":"Flynn JT, Kaelber DC, Baker-Smith CM, et al; Subcommittee on Screening and Management of High Blood Pressure in Children","doi":"10.1542/peds.2017-1904","id":"flynn-2017","pmid":"29192011","source":"Pediatrics. 2017;140(3):e20171904","title":"Clinical Practice Guideline for Screening and Management of High Blood Pressure in Children and Adolescents"},"components":[{"factor":"systolic_stage_2","met":false,"value":140},{"factor":"diastolic_stage_2","met":false,"value":90},{"factor":"systolic_stage_1","met":false,"value":130},{"factor":"diastolic_stage_1","met":false,"value":80},{"factor":"systolic_elevated","met":false,"value":120},{"factor":"diastolic_elevated","met":false,"value":80}],"diastolic_mm_hg":72,"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":"aap_pediatric_bp","formula_expression":"AAP 2017 Flynn Table 3 category is the more severe of the systolic and diastolic limbs (normal | elevated | stage_1 | stage_2). Age ≥13 (adult-aligned): normal if SBP <120 and DBP <80; elevated if SBP 120–129 and DBP <80; stage_1 if SBP 130–139 or DBP 80–89 and not stage_2; stage_2 if SBP ≥140 or DBP ≥90. Age 1–12 (caller-assigned AAP-table 90th and 95th mm Hg; magent does not interpolate Tables 4/5): stage_2 if SBP ≥ min(sbp_p95+12, 140) or DBP ≥ min(dbp_p95+12, 90); else stage_1 if SBP ≥ min(sbp_p95, 130) or DBP ≥ min(dbp_p95, 80); else elevated if SBP ≥ min(sbp_p90, 120) or DBP ≥ min(dbp_p90, 80); else normal. Percentile fields are required for age 1–12 and must be omitted for age ≥13. magent does not measure BP","systolic_mm_hg":118}],"path":"/api/calc/aap_pediatric_bp"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"age_years":{"description":"Completed age in years, integer 1-17 (Flynn 2017 Table 3). Age 1-12 uses the left-column percentile rule and requires caller 90th/95th mm Hg. Age 13-17 uses the right-column adult-aligned cutoffs and must omit percentile fields. Age 0 and age ≥18 are rejected.","type":"integer"},"dbp_p90_mm_hg":{"description":"Caller-assigned AAP Table 4/5 diastolic 90th percentile in mm Hg for that child (40-180, and must be < dbp_p95_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables.","type":"number"},"dbp_p95_mm_hg":{"description":"Caller-assigned AAP Table 4/5 diastolic 95th percentile in mm Hg for that child (40-180, and must be > dbp_p90_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables.","type":"number"},"diastolic_mm_hg":{"description":"Caller-assigned cuff diastolic blood pressure in mm Hg (20-160). Must be less than systolic. magent does not measure blood pressure.","type":"number"},"sbp_p90_mm_hg":{"description":"Caller-assigned AAP Table 4/5 systolic 90th percentile in mm Hg for that child (40-180, and must be < sbp_p95_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables.","type":"number"},"sbp_p95_mm_hg":{"description":"Caller-assigned AAP Table 4/5 systolic 95th percentile in mm Hg for that child (40-180, and must be > sbp_p90_mm_hg). Required for age 1-12. Must be omitted for age ≥13. magent does not interpolate height or sex tables.","type":"number"},"systolic_mm_hg":{"description":"Caller-assigned cuff systolic blood pressure in mm Hg (50-250). magent does not measure blood pressure.","type":"number"}},"required":["age_years","systolic_mm_hg","diastolic_mm_hg"],"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},{"id":39593,"slug":"39593","resource":"https://api.magentlab.com/api/calc/maggic","description":"Pocock 2013 MAGGIC integer score from 13 heart-failure predictors (age, EF, NYHA, creatinine, diabetes, not prescribed beta-blocker, SBP, BMI, HF duration >18 months, current smoker, COPD, male sex, not prescribed ACEI/ARB), including the published age×EF and SBP×EF extras. Returns integer score and Table 4 1-year and 3-year death probabilities for scores 0-50. Not a diagnosis, not a treatment order, not a reason to withhold therapy. magent does not examine the patient.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"acei_arb":true,"age":50,"beta_blocker":true,"bmi_kg_m2":30,"copd":false,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"current_smoker":false,"diabetes":false,"ef_percent":55,"hf_duration_gt_18_months":false,"nyha_class":1,"sex":"female","systolic_mm_hg":150},{"acei_arb":true,"age":50,"beta_blocker":true,"bmi_kg_m2":30,"copd":false,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"current_smoker":false,"diabetes":false,"ef_percent":55,"hf_duration_gt_18_months":false,"nyha_class":1,"sex":"female","systolic_mm_hg":150}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acei_arb":true,"age_years":50,"beta_blocker":true,"bmi_kg_m2":30,"citation":{"authors":"Pocock SJ, Ariti CA, McMurray JJV, Maggioni A, Køber L, Squire IB, Swedberg K, Dobson J, Poppe KK, Whalley GA, Doughty RN","doi":"10.1093/eurheartj/ehs337","id":"pocock-2013","pmid":"23186806","source":"Eur Heart J. 2013;34(19):1404-1413","title":"Predicting survival in heart failure: a risk score based on 39 372 patients from 30 studies"},"components":[{"factor":"ef","points":0,"present":false,"value":55},{"factor":"age","points":0,"present":false,"value":50},{"factor":"systolic_mm_hg","points":0,"present":false,"value":150},{"factor":"bmi","points":0,"present":false,"value":30},{"factor":"creatinine","points":0,"present":false,"value":80},{"factor":"nyha_class","points":0,"present":false,"value":1},{"factor":"diabetes","points":0,"present":false},{"factor":"not_prescribed_beta_blocker","points":0,"present":false},{"factor":"hf_duration_gt_18_months","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"male_sex","points":0,"present":false},{"factor":"not_prescribed_acei_arb","points":0,"present":false}],"copd":false,"creatinine_umol_l":80,"current_smoker":false,"death_probability_1y":0.015,"death_probability_3y":0.039,"diabetes":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.","ef_percent":55,"formula":"maggic","formula_expression":"MAGGIC integer score (Pocock 2013 Figure 2): EF <20 7, 20-24 6, 25-29 5, 30-34 3, 35-39 2, >=40 0; age extra by EF (<30 / 30-39 / >=40): <55 0/0/0, 55-59 1/2/3, 60-64 2/4/5, 65-69 4/6/7, 70-74 6/8/9, 75-79 8/10/12, >=80 10/13/15; SBP extra by EF: <110 5/3/2, 110-119 4/2/1, 120-129 3/1/1, 130-139 2/1/0, 140-149 1/0/0, >=150 0/0/0; BMI <15 6, 15-19 5, 20-24 3, 25-29 2, >=30 0; creatinine umol/L <90 0, 90-109 1, 110-129 2, 130-149 3, 150-169 4, 170-209 5, 210-249 6, >=250 8; NYHA I 0, II 2, III 6, IV 8; male 1; current smoker 1; diabetes 3; COPD 2; HF duration >18 months 2; not prescribed beta-blocker 3; not prescribed ACEI/ARB 1; Table 4 1-year and 3-year death probabilities for scores 0-50","hf_duration_gt_18_months":false,"nyha_class":1,"score":0,"sex":"female","systolic_mm_hg":150},{"acei_arb":true,"age_years":50,"beta_blocker":true,"bmi_kg_m2":30,"citation":{"authors":"Pocock SJ, Ariti CA, McMurray JJV, Maggioni A, Køber L, Squire IB, Swedberg K, Dobson J, Poppe KK, Whalley GA, Doughty RN","doi":"10.1093/eurheartj/ehs337","id":"pocock-2013","pmid":"23186806","source":"Eur Heart J. 2013;34(19):1404-1413","title":"Predicting survival in heart failure: a risk score based on 39 372 patients from 30 studies"},"components":[{"factor":"ef","points":0,"present":false,"value":55},{"factor":"age","points":0,"present":false,"value":50},{"factor":"systolic_mm_hg","points":0,"present":false,"value":150},{"factor":"bmi","points":0,"present":false,"value":30},{"factor":"creatinine","points":0,"present":false,"value":80},{"factor":"nyha_class","points":0,"present":false,"value":1},{"factor":"diabetes","points":0,"present":false},{"factor":"not_prescribed_beta_blocker","points":0,"present":false},{"factor":"hf_duration_gt_18_months","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"male_sex","points":0,"present":false},{"factor":"not_prescribed_acei_arb","points":0,"present":false}],"copd":false,"creatinine_umol_l":80,"current_smoker":false,"death_probability_1y":0.015,"death_probability_3y":0.039,"diabetes":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.","ef_percent":55,"formula":"maggic","formula_expression":"MAGGIC integer score (Pocock 2013 Figure 2): EF <20 7, 20-24 6, 25-29 5, 30-34 3, 35-39 2, >=40 0; age extra by EF (<30 / 30-39 / >=40): <55 0/0/0, 55-59 1/2/3, 60-64 2/4/5, 65-69 4/6/7, 70-74 6/8/9, 75-79 8/10/12, >=80 10/13/15; SBP extra by EF: <110 5/3/2, 110-119 4/2/1, 120-129 3/1/1, 130-139 2/1/0, 140-149 1/0/0, >=150 0/0/0; BMI <15 6, 15-19 5, 20-24 3, 25-29 2, >=30 0; creatinine umol/L <90 0, 90-109 1, 110-129 2, 130-149 3, 150-169 4, 170-209 5, 210-249 6, >=250 8; NYHA I 0, II 2, III 6, IV 8; male 1; current smoker 1; diabetes 3; COPD 2; HF duration >18 months 2; not prescribed beta-blocker 3; not prescribed ACEI/ARB 1; Table 4 1-year and 3-year death probabilities for scores 0-50","hf_duration_gt_18_months":false,"nyha_class":1,"score":0,"sex":"female","systolic_mm_hg":150}],"path":"/api/calc/maggic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acei_arb":{"description":"Prescribed an ACE inhibitor or ARB as assigned by the caller. true scores 0; false (not prescribed) scores 1. magent does not prescribe therapy.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). Pocock 2013 integer extra depends on EF: <55 scores 0; then 55-59, 60-64, 65-69, 70-74, 75-79, >=80. magent does not examine the patient.","type":"integer"},"beta_blocker":{"description":"Prescribed a beta-blocker as assigned by the caller. true scores 0; false (not prescribed) scores 3. magent does not prescribe therapy.","type":"boolean"},"bmi_kg_m2":{"description":"Caller-supplied body-mass index in kg/m² (10-80). Figure 2: <15 6; 15-19 5; 20-24 3; 25-29 2; >=30 0. magent does not compute BMI from height and weight.","type":"number"},"copd":{"description":"COPD as assigned by the caller. true scores 2. magent does not diagnose COPD.","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42, then Figure 2 µmol/L bins. Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768), the Figure 2 unit. Provide this or creatinine_mg_dl, not both. Bins: <90 0; 90-109 1; 110-129 2; 130-149 3; 150-169 4; 170-209 5; 210-249 6; >=250 8. magent does not assay creatinine.","type":"number"},"current_smoker":{"description":"Current smoker as assigned by the caller. true scores 1. magent does not take a smoking history.","type":"boolean"},"diabetes":{"description":"Diabetes as assigned by the caller. true scores 3 (Figure 2). magent does not diagnose diabetes.","type":"boolean"},"ef_percent":{"description":"Left-ventricular ejection fraction in percent (1-90). Figure 2: <20 scores 7; 20-24 6; 25-29 5; 30-34 3; 35-39 2; >=40 0. Also selects the age and SBP extra rows. magent does not read an echocardiogram.","type":"number"},"hf_duration_gt_18_months":{"description":"Heart-failure duration greater than 18 months as assigned by the caller (Table 2 HF duration >18 months). true scores 2. magent does not date the diagnosis.","type":"boolean"},"nyha_class":{"description":"NYHA class 1-4 as assigned by the caller (Figure 2: I 0, II 2, III 6, IV 8). magent does not assign NYHA class.","type":"integer"},"sex":{"description":"Sex (female or male). Male scores 1 (Figure 2).","enum":["female","male"],"type":"string"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Figure 2 extra depends on EF: <110, 110-119, 120-129, 130-139, 140-149, >=150. magent does not measure blood pressure.","type":"number"}},"required":["age","ef_percent","nyha_class","diabetes","beta_blocker","systolic_mm_hg","bmi_kg_m2","hf_duration_gt_18_months","current_smoker","copd","sex","acei_arb"],"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":["maggic","heart-failure","pocock","hemodynamics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:34:29.688Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:34:29.527Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"acei_arb":true,"age":50,"beta_blocker":true,"bmi_kg_m2":30,"copd":false,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"current_smoker":false,"diabetes":false,"ef_percent":55,"hf_duration_gt_18_months":false,"nyha_class":1,"sex":"female","systolic_mm_hg":150},{"acei_arb":true,"age":50,"beta_blocker":true,"bmi_kg_m2":30,"copd":false,"creatinine_mg_dl":0.9,"creatinine_umol_l":80,"current_smoker":false,"diabetes":false,"ef_percent":55,"hf_duration_gt_18_months":false,"nyha_class":1,"sex":"female","systolic_mm_hg":150}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"acei_arb":true,"age_years":50,"beta_blocker":true,"bmi_kg_m2":30,"citation":{"authors":"Pocock SJ, Ariti CA, McMurray JJV, Maggioni A, Køber L, Squire IB, Swedberg K, Dobson J, Poppe KK, Whalley GA, Doughty RN","doi":"10.1093/eurheartj/ehs337","id":"pocock-2013","pmid":"23186806","source":"Eur Heart J. 2013;34(19):1404-1413","title":"Predicting survival in heart failure: a risk score based on 39 372 patients from 30 studies"},"components":[{"factor":"ef","points":0,"present":false,"value":55},{"factor":"age","points":0,"present":false,"value":50},{"factor":"systolic_mm_hg","points":0,"present":false,"value":150},{"factor":"bmi","points":0,"present":false,"value":30},{"factor":"creatinine","points":0,"present":false,"value":80},{"factor":"nyha_class","points":0,"present":false,"value":1},{"factor":"diabetes","points":0,"present":false},{"factor":"not_prescribed_beta_blocker","points":0,"present":false},{"factor":"hf_duration_gt_18_months","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"male_sex","points":0,"present":false},{"factor":"not_prescribed_acei_arb","points":0,"present":false}],"copd":false,"creatinine_umol_l":80,"current_smoker":false,"death_probability_1y":0.015,"death_probability_3y":0.039,"diabetes":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.","ef_percent":55,"formula":"maggic","formula_expression":"MAGGIC integer score (Pocock 2013 Figure 2): EF <20 7, 20-24 6, 25-29 5, 30-34 3, 35-39 2, >=40 0; age extra by EF (<30 / 30-39 / >=40): <55 0/0/0, 55-59 1/2/3, 60-64 2/4/5, 65-69 4/6/7, 70-74 6/8/9, 75-79 8/10/12, >=80 10/13/15; SBP extra by EF: <110 5/3/2, 110-119 4/2/1, 120-129 3/1/1, 130-139 2/1/0, 140-149 1/0/0, >=150 0/0/0; BMI <15 6, 15-19 5, 20-24 3, 25-29 2, >=30 0; creatinine umol/L <90 0, 90-109 1, 110-129 2, 130-149 3, 150-169 4, 170-209 5, 210-249 6, >=250 8; NYHA I 0, II 2, III 6, IV 8; male 1; current smoker 1; diabetes 3; COPD 2; HF duration >18 months 2; not prescribed beta-blocker 3; not prescribed ACEI/ARB 1; Table 4 1-year and 3-year death probabilities for scores 0-50","hf_duration_gt_18_months":false,"nyha_class":1,"score":0,"sex":"female","systolic_mm_hg":150},{"acei_arb":true,"age_years":50,"beta_blocker":true,"bmi_kg_m2":30,"citation":{"authors":"Pocock SJ, Ariti CA, McMurray JJV, Maggioni A, Køber L, Squire IB, Swedberg K, Dobson J, Poppe KK, Whalley GA, Doughty RN","doi":"10.1093/eurheartj/ehs337","id":"pocock-2013","pmid":"23186806","source":"Eur Heart J. 2013;34(19):1404-1413","title":"Predicting survival in heart failure: a risk score based on 39 372 patients from 30 studies"},"components":[{"factor":"ef","points":0,"present":false,"value":55},{"factor":"age","points":0,"present":false,"value":50},{"factor":"systolic_mm_hg","points":0,"present":false,"value":150},{"factor":"bmi","points":0,"present":false,"value":30},{"factor":"creatinine","points":0,"present":false,"value":80},{"factor":"nyha_class","points":0,"present":false,"value":1},{"factor":"diabetes","points":0,"present":false},{"factor":"not_prescribed_beta_blocker","points":0,"present":false},{"factor":"hf_duration_gt_18_months","points":0,"present":false},{"factor":"current_smoker","points":0,"present":false},{"factor":"copd","points":0,"present":false},{"factor":"male_sex","points":0,"present":false},{"factor":"not_prescribed_acei_arb","points":0,"present":false}],"copd":false,"creatinine_umol_l":80,"current_smoker":false,"death_probability_1y":0.015,"death_probability_3y":0.039,"diabetes":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.","ef_percent":55,"formula":"maggic","formula_expression":"MAGGIC integer score (Pocock 2013 Figure 2): EF <20 7, 20-24 6, 25-29 5, 30-34 3, 35-39 2, >=40 0; age extra by EF (<30 / 30-39 / >=40): <55 0/0/0, 55-59 1/2/3, 60-64 2/4/5, 65-69 4/6/7, 70-74 6/8/9, 75-79 8/10/12, >=80 10/13/15; SBP extra by EF: <110 5/3/2, 110-119 4/2/1, 120-129 3/1/1, 130-139 2/1/0, 140-149 1/0/0, >=150 0/0/0; BMI <15 6, 15-19 5, 20-24 3, 25-29 2, >=30 0; creatinine umol/L <90 0, 90-109 1, 110-129 2, 130-149 3, 150-169 4, 170-209 5, 210-249 6, >=250 8; NYHA I 0, II 2, III 6, IV 8; male 1; current smoker 1; diabetes 3; COPD 2; HF duration >18 months 2; not prescribed beta-blocker 3; not prescribed ACEI/ARB 1; Table 4 1-year and 3-year death probabilities for scores 0-50","hf_duration_gt_18_months":false,"nyha_class":1,"score":0,"sex":"female","systolic_mm_hg":150}],"path":"/api/calc/maggic"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"acei_arb":{"description":"Prescribed an ACE inhibitor or ARB as assigned by the caller. true scores 0; false (not prescribed) scores 1. magent does not prescribe therapy.","type":"boolean"},"age":{"description":"Age in years (integer 18-120). Pocock 2013 integer extra depends on EF: <55 scores 0; then 55-59, 60-64, 65-69, 70-74, 75-79, >=80. magent does not examine the patient.","type":"integer"},"beta_blocker":{"description":"Prescribed a beta-blocker as assigned by the caller. true scores 0; false (not prescribed) scores 3. magent does not prescribe therapy.","type":"boolean"},"bmi_kg_m2":{"description":"Caller-supplied body-mass index in kg/m² (10-80). Figure 2: <15 6; 15-19 5; 20-24 3; 25-29 2; >=30 0. magent does not compute BMI from height and weight.","type":"number"},"copd":{"description":"COPD as assigned by the caller. true scores 2. magent does not diagnose COPD.","type":"boolean"},"creatinine_mg_dl":{"description":"Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42, then Figure 2 µmol/L bins. Provide this or creatinine_umol_l, not both.","type":"number"},"creatinine_umol_l":{"description":"Serum creatinine in µmol/L (9-1768), the Figure 2 unit. Provide this or creatinine_mg_dl, not both. Bins: <90 0; 90-109 1; 110-129 2; 130-149 3; 150-169 4; 170-209 5; 210-249 6; >=250 8. magent does not assay creatinine.","type":"number"},"current_smoker":{"description":"Current smoker as assigned by the caller. true scores 1. magent does not take a smoking history.","type":"boolean"},"diabetes":{"description":"Diabetes as assigned by the caller. true scores 3 (Figure 2). magent does not diagnose diabetes.","type":"boolean"},"ef_percent":{"description":"Left-ventricular ejection fraction in percent (1-90). Figure 2: <20 scores 7; 20-24 6; 25-29 5; 30-34 3; 35-39 2; >=40 0. Also selects the age and SBP extra rows. magent does not read an echocardiogram.","type":"number"},"hf_duration_gt_18_months":{"description":"Heart-failure duration greater than 18 months as assigned by the caller (Table 2 HF duration >18 months). true scores 2. magent does not date the diagnosis.","type":"boolean"},"nyha_class":{"description":"NYHA class 1-4 as assigned by the caller (Figure 2: I 0, II 2, III 6, IV 8). magent does not assign NYHA class.","type":"integer"},"sex":{"description":"Sex (female or male). Male scores 1 (Figure 2).","enum":["female","male"],"type":"string"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Figure 2 extra depends on EF: <110, 110-119, 120-129, 130-139, 140-149, >=150. magent does not measure blood pressure.","type":"number"}},"required":["age","ef_percent","nyha_class","diabetes","beta_blocker","systolic_mm_hg","bmi_kg_m2","hf_duration_gt_18_months","current_smoker","copd","sex","acei_arb"],"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},{"id":39594,"slug":"39594","resource":"https://api.magentlab.com/api/calc/adhere","description":"Fonarow 2005 ADHERE CART bedside tree from admission BUN, systolic BP, and serum creatinine. high: BUN>=43, SBP<115, Cr>=2.75; intermediate_1: BUN>=43, SBP<115, Cr<2.75; intermediate_2: BUN>=43, SBP>=115; intermediate_3: BUN<43, SBP<115; low: BUN<43, SBP>=115. Creatinine consulted only when BUN>=43 and SBP<115. CART tree only, not the logistic model or GWTG-HF. Not a heart-failure diagnosis or treatment/ICU order.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"bun_mg_dl":20,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"systolic_bp_mm_hg":140},{"bun_mg_dl":20,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"systolic_bp_mm_hg":140}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"adhere_risk":"low","bun_mg_dl":20,"citation":{"authors":"Fonarow GC, Adams KF Jr, Abraham WT, Yancy CW, Boscardin WJ; ADHERE Scientific Advisory Committee, Study Group, and Investigators","doi":"10.1001/jama.293.5.572","id":"fonarow-2005","pmid":"15687312","source":"JAMA. 2005;293(5):572-580","title":"Risk stratification for in-hospital mortality in acutely decompensated heart failure: classification and regression tree analysis"},"creatinine_mg_dl":1,"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":"adhere","formula_expression":"high: bun_mg_dl >= 43 AND systolic_bp_mm_hg < 115 AND creatinine_mg_dl >= 2.75; intermediate_1: bun_mg_dl >= 43 AND systolic_bp_mm_hg < 115 AND creatinine_mg_dl < 2.75; intermediate_2: bun_mg_dl >= 43 AND systolic_bp_mm_hg >= 115; intermediate_3: bun_mg_dl < 43 AND systolic_bp_mm_hg < 115; low: bun_mg_dl < 43 AND systolic_bp_mm_hg >= 115 (Fonarow 2005 CART)","systolic_bp_mm_hg":140},{"adhere_risk":"low","bun_mg_dl":20,"citation":{"authors":"Fonarow GC, Adams KF Jr, Abraham WT, Yancy CW, Boscardin WJ; ADHERE Scientific Advisory Committee, Study Group, and Investigators","doi":"10.1001/jama.293.5.572","id":"fonarow-2005","pmid":"15687312","source":"JAMA. 2005;293(5):572-580","title":"Risk stratification for in-hospital mortality in acutely decompensated heart failure: classification and regression tree analysis"},"creatinine_mg_dl":1,"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":"adhere","formula_expression":"high: bun_mg_dl >= 43 AND systolic_bp_mm_hg < 115 AND creatinine_mg_dl >= 2.75; intermediate_1: bun_mg_dl >= 43 AND systolic_bp_mm_hg < 115 AND creatinine_mg_dl < 2.75; intermediate_2: bun_mg_dl >= 43 AND systolic_bp_mm_hg >= 115; intermediate_3: bun_mg_dl < 43 AND systolic_bp_mm_hg < 115; low: bun_mg_dl < 43 AND systolic_bp_mm_hg >= 115 (Fonarow 2005 CART)","systolic_bp_mm_hg":140}],"path":"/api/calc/adhere"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_mg_dl":{"description":"Admission blood urea nitrogen in mg/dL (1-200). Fonarow 2005 CART first split is BUN >= 43. magent does not measure BUN.","type":"number"},"creatinine_mg_dl":{"description":"Admission serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Fonarow 2005 CART consults creatinine only when BUN >= 43 and SBP < 115; the split is creatinine >= 2.75. magent does not measure creatinine.","type":"number"},"creatinine_umol_l":{"description":"Admission serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both.","type":"number"},"systolic_bp_mm_hg":{"description":"Admission systolic blood pressure in mm Hg (integer 50-250). Fonarow 2005 CART second split is SBP < 115. magent does not measure blood pressure.","type":"integer"}},"required":["bun_mg_dl","systolic_bp_mm_hg"],"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":["adhere","heart-failure","hemodynamics","cart","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:33:20.175Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:33:20.03Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"bun_mg_dl":20,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"systolic_bp_mm_hg":140},{"bun_mg_dl":20,"creatinine_mg_dl":1,"creatinine_umol_l":88.4,"systolic_bp_mm_hg":140}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"adhere_risk":"low","bun_mg_dl":20,"citation":{"authors":"Fonarow GC, Adams KF Jr, Abraham WT, Yancy CW, Boscardin WJ; ADHERE Scientific Advisory Committee, Study Group, and Investigators","doi":"10.1001/jama.293.5.572","id":"fonarow-2005","pmid":"15687312","source":"JAMA. 2005;293(5):572-580","title":"Risk stratification for in-hospital mortality in acutely decompensated heart failure: classification and regression tree analysis"},"creatinine_mg_dl":1,"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":"adhere","formula_expression":"high: bun_mg_dl >= 43 AND systolic_bp_mm_hg < 115 AND creatinine_mg_dl >= 2.75; intermediate_1: bun_mg_dl >= 43 AND systolic_bp_mm_hg < 115 AND creatinine_mg_dl < 2.75; intermediate_2: bun_mg_dl >= 43 AND systolic_bp_mm_hg >= 115; intermediate_3: bun_mg_dl < 43 AND systolic_bp_mm_hg < 115; low: bun_mg_dl < 43 AND systolic_bp_mm_hg >= 115 (Fonarow 2005 CART)","systolic_bp_mm_hg":140},{"adhere_risk":"low","bun_mg_dl":20,"citation":{"authors":"Fonarow GC, Adams KF Jr, Abraham WT, Yancy CW, Boscardin WJ; ADHERE Scientific Advisory Committee, Study Group, and Investigators","doi":"10.1001/jama.293.5.572","id":"fonarow-2005","pmid":"15687312","source":"JAMA. 2005;293(5):572-580","title":"Risk stratification for in-hospital mortality in acutely decompensated heart failure: classification and regression tree analysis"},"creatinine_mg_dl":1,"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":"adhere","formula_expression":"high: bun_mg_dl >= 43 AND systolic_bp_mm_hg < 115 AND creatinine_mg_dl >= 2.75; intermediate_1: bun_mg_dl >= 43 AND systolic_bp_mm_hg < 115 AND creatinine_mg_dl < 2.75; intermediate_2: bun_mg_dl >= 43 AND systolic_bp_mm_hg >= 115; intermediate_3: bun_mg_dl < 43 AND systolic_bp_mm_hg < 115; low: bun_mg_dl < 43 AND systolic_bp_mm_hg >= 115 (Fonarow 2005 CART)","systolic_bp_mm_hg":140}],"path":"/api/calc/adhere"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"bun_mg_dl":{"description":"Admission blood urea nitrogen in mg/dL (1-200). Fonarow 2005 CART first split is BUN >= 43. magent does not measure BUN.","type":"number"},"creatinine_mg_dl":{"description":"Admission serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Fonarow 2005 CART consults creatinine only when BUN >= 43 and SBP < 115; the split is creatinine >= 2.75. magent does not measure creatinine.","type":"number"},"creatinine_umol_l":{"description":"Admission serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both.","type":"number"},"systolic_bp_mm_hg":{"description":"Admission systolic blood pressure in mm Hg (integer 50-250). Fonarow 2005 CART second split is SBP < 115. magent does not measure blood pressure.","type":"integer"}},"required":["bun_mg_dl","systolic_bp_mm_hg"],"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},{"id":39595,"slug":"39595","resource":"https://api.magentlab.com/api/calc/fick","description":"Fick 1870 cardiac output: CO (L/min) = VO2 (ml/min) / (CaO2 - CvO2) with contents in ml/L (ml/dL x10). Caller supplies the three measured terms. Does not estimate VO2 from BSA or apply Hufner Hb factors. Rejects CaO2 <= CvO2. Not a catheter order, shock diagnosis, or medical device. magent does not sample blood.","type":"http","serviceName":"magent","resourceType":"Agent Service","x402Version":2,"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":[{"cao2_ml_dl":20,"cao2_ml_l":200,"cvo2_ml_dl":15,"cvo2_ml_l":150,"vo2_ml_min":250},{"cao2_ml_dl":20,"cao2_ml_l":200,"cvo2_ml_dl":15,"cvo2_ml_l":150,"vo2_ml_min":250}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"avo2_difference_ml_l":50,"cao2_ml_l":200,"cardiac_output_l_min":5,"citation":{"authors":"Fick A","id":"fick-1870","source":"Sitzungsberichte der Physikalisch-Medizinischen Gesellschaft zu Würzburg. 1870;XVI-XVII","title":"Ueber die Messung des Blutquantums in den Herzventrikeln"},"cvo2_ml_l":150,"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":"fick","formula_expression":"cardiac_output_l_min = vo2_ml_min / (cao2_ml_l - cvo2_ml_l)","vo2_ml_min":250},{"avo2_difference_ml_l":50,"cao2_ml_l":200,"cardiac_output_l_min":5,"citation":{"authors":"Fick A","id":"fick-1870","source":"Sitzungsberichte der Physikalisch-Medizinischen Gesellschaft zu Würzburg. 1870;XVI-XVII","title":"Ueber die Messung des Blutquantums in den Herzventrikeln"},"cvo2_ml_l":150,"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":"fick","formula_expression":"cardiac_output_l_min = vo2_ml_min / (cao2_ml_l - cvo2_ml_l)","vo2_ml_min":250}],"path":"/api/calc/fick"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cao2_ml_dl":{"description":"Arterial oxygen content in ml/dL (5-40, magent clamp). Converted as ml/L = ml/dL × 10. Provide this or cao2_ml_l, not both.","type":"number"},"cao2_ml_l":{"description":"Arterial oxygen content in ml/L (50-400, magent clamp). Provide this or cao2_ml_dl, not both. magent does not compute content from hemoglobin or Hüfner factors.","type":"number"},"cvo2_ml_dl":{"description":"Mixed-venous oxygen content in ml/dL (2-35, magent clamp). Converted as ml/L = ml/dL × 10. Provide this or cvo2_ml_l, not both. Must be less than CaO2 after conversion.","type":"number"},"cvo2_ml_l":{"description":"Mixed-venous oxygen content in ml/L (20-350, magent clamp). Provide this or cvo2_ml_dl, not both. Must be less than CaO2. magent does not sample mixed-venous blood.","type":"number"},"vo2_ml_min":{"description":"Measured oxygen consumption in ml/min (50-2000, magent clamp; Fick 1870 does not publish an input band). Caller supplies the measured term. magent does not estimate VO2 from BSA or assume 125 ml/min/m².","type":"number"}},"required":["vo2_ml_min"],"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":["fick","cardiac-output","hemodynamics","calculator","bazaar"],"sourceHost":"api.magentlab.com","lastUpdated":"2026-10-12T13:33:00.001Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-10-12T13:32:59.863Z"},"metadata":{"serviceName":"magent","extensions":{"bazaar":{"info":{"iconUrl":"https://api.magentlab.com/favicon.ico","input":{"body":{"items":[{"cao2_ml_dl":20,"cao2_ml_l":200,"cvo2_ml_dl":15,"cvo2_ml_l":150,"vo2_ml_min":250},{"cao2_ml_dl":20,"cao2_ml_l":200,"cvo2_ml_dl":15,"cvo2_ml_l":150,"vo2_ml_min":250}]},"method":"POST","type":"http"},"output":{"example":{"count":2,"items":[{"avo2_difference_ml_l":50,"cao2_ml_l":200,"cardiac_output_l_min":5,"citation":{"authors":"Fick A","id":"fick-1870","source":"Sitzungsberichte der Physikalisch-Medizinischen Gesellschaft zu Würzburg. 1870;XVI-XVII","title":"Ueber die Messung des Blutquantums in den Herzventrikeln"},"cvo2_ml_l":150,"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":"fick","formula_expression":"cardiac_output_l_min = vo2_ml_min / (cao2_ml_l - cvo2_ml_l)","vo2_ml_min":250},{"avo2_difference_ml_l":50,"cao2_ml_l":200,"cardiac_output_l_min":5,"citation":{"authors":"Fick A","id":"fick-1870","source":"Sitzungsberichte der Physikalisch-Medizinischen Gesellschaft zu Würzburg. 1870;XVI-XVII","title":"Ueber die Messung des Blutquantums in den Herzventrikeln"},"cvo2_ml_l":150,"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":"fick","formula_expression":"cardiac_output_l_min = vo2_ml_min / (cao2_ml_l - cvo2_ml_l)","vo2_ml_min":250}],"path":"/api/calc/fick"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"cao2_ml_dl":{"description":"Arterial oxygen content in ml/dL (5-40, magent clamp). Converted as ml/L = ml/dL × 10. Provide this or cao2_ml_l, not both.","type":"number"},"cao2_ml_l":{"description":"Arterial oxygen content in ml/L (50-400, magent clamp). Provide this or cao2_ml_dl, not both. magent does not compute content from hemoglobin or Hüfner factors.","type":"number"},"cvo2_ml_dl":{"description":"Mixed-venous oxygen content in ml/dL (2-35, magent clamp). Converted as ml/L = ml/dL × 10. Provide this or cvo2_ml_l, not both. Must be less than CaO2 after conversion.","type":"number"},"cvo2_ml_l":{"description":"Mixed-venous oxygen content in ml/L (20-350, magent clamp). Provide this or cvo2_ml_dl, not both. Must be less than CaO2. magent does not sample mixed-venous blood.","type":"number"},"vo2_ml_min":{"description":"Measured oxygen consumption in ml/min (50-2000, magent clamp; Fick 1870 does not publish an input band). Caller supplies the measured term. magent does not estimate VO2 from BSA or assume 125 ml/min/m².","type":"number"}},"required":["vo2_ml_min"],"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}]}