Infection / VTE · LIVE
Jones criteria for acute rheumatic fever
Jones
Apply Gewitz 2015 Table 7 Jones criteria and return whether jones_arf holds from caller-assigned episode, population_risk, evidence of preceding GAS, and major/minor flags.
Markdown: /docs/jones.md · Canonical: https://magentlab.com/docs/jones
Not a medical device. Not a diagnosis, dose, or listing recommendation.
What it computes
Apply Gewitz 2015 Table 7 Jones criteria and return whether jones_arf holds from caller-assigned episode, population_risk, evidence of preceding GAS, and major/minor flags.
When to use
When an agent already has episode (initial or recurrent), population_risk (low or moderate_high), evidence of preceding group A streptococcus, and the published major and minor manifestations as assigned by the caller, and needs whether the published Jones episode rule holds. magent does not examine the patient or read an echocardiogram.
When not to use
- Not a medical device and not a diagnosis of acute rheumatic fever.
- Gewitz 2015 Table 7 only. Not Jones 1944. Not the 1992 AHA revision as a separate tool.
- Does not implement the possible ARF 12-month prophylaxis pathway.
- magent does not examine the patient or read an echocardiogram. The caller assigns evidence of preceding GAS, carditis (clinical and/or subclinical), joint manifestations, and the other flags.
- population_risk is caller-assigned (low versus moderate_high). magent does not compute ARF incidence or RHD prevalence.
Formula
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
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
- Source
- Circulation. 2015;131(20):1806-1818
Worked example
Initial ARF in a low-risk population with carditis and polyarthritis
Given:
carditis=truechorea=falseepisode=initialerythema_marginatum=falseesr_ge_30_or_crp_ge_3=falseesr_ge_60_or_crp_ge_3=falseevidence_of_preceding_gas=truefever_ge_38=falsefever_ge_38_5=falsemonoarthralgia=falsemonoarthritis=falsepolyarthralgia=falsepolyarthritis=truepopulation_risk=lowprolonged_pr=falsesubcutaneous_nodules=false
- evidence_of_preceding_gas is true
- carditis is a major
- population_risk is low and polyarthritis is true → arthritis major
- major_count 2, minor_count 0
- episode initial: 2 major satisfies the episode rule
- jones_arf is true
Initial low-risk carditis plus fever only does not meet Jones
Given:
carditis=truechorea=falseepisode=initialerythema_marginatum=falseesr_ge_30_or_crp_ge_3=falseesr_ge_60_or_crp_ge_3=falseevidence_of_preceding_gas=truefever_ge_38=falsefever_ge_38_5=truemonoarthralgia=falsemonoarthritis=falsepolyarthralgia=falsepolyarthritis=falsepopulation_risk=lowprolonged_pr=falsesubcutaneous_nodules=false
- carditis is one major
- fever_ge_38_5 is one minor in low-risk
- major_count 1, minor_count 1
- episode initial needs 2 major or 1 major and 2 minor
- jones_arf is false
Also searched as
- Jones criteria
- Jones 2015
- acute rheumatic fever criteria
- AHA Jones revision
- Gewitz Jones
- ARF diagnostic criteria
- rheumatic fever majors minors
- Jones Doppler echocardiography
Try
Opens the live endpoint. Unpaid browser requests show the paywall; agents should send Accept: application/json.
Full URL: https://api.magentlab.com/api/calc/jones?episode=initial&population_risk=low&evidence_of_preceding_gas=true&carditis=true&polyarthritis=true&monoarthritis=false&polyarthralgia=false&monoarthralgia=false&chorea=false&erythema_marginatum=false&subcutaneous_nodules=false&fever_ge_38_5=false&fever_ge_38=false&esr_ge_60_or_crp_ge_3=false&esr_ge_30_or_crp_ge_3=false&prolonged_pr=false
Call
Expect HTTP 402 until you retry with PAYMENT-SIGNATURE. Incomplete query params
return HTTP 400 before any quote or charge.
curl -i -H "Accept: application/json" "https://api.magentlab.com/api/calc/jones?episode=initial&population_risk=low&evidence_of_preceding_gas=true&carditis=true&polyarthritis=true&monoarthritis=false&polyarthralgia=false&monoarthralgia=false&chorea=false&erythema_marginatum=false&subcutaneous_nodules=false&fever_ge_38_5=false&fever_ge_38=false&esr_ge_60_or_crp_ge_3=false&esr_ge_30_or_crp_ge_3=false&prolonged_pr=false"
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
episode |
string | required · initial, recurrent | ARF episode: initial or recurrent (Gewitz 2015 Table 7). Recurrent also allows 3 minor manifestations. magent does not date prior ARF. |
population_risk |
string | required · low, moderate_high | 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. |
evidence_of_preceding_gas |
boolean | required | Evidence of preceding group A streptococcal infection as assigned by the caller (Gewitz 2015). true or false. magent does not interpret serology or culture. |
carditis |
boolean | required | 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. |
polyarthritis |
boolean | required | 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. |
monoarthritis |
boolean | required | 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. |
polyarthralgia |
boolean | required | 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. |
monoarthralgia |
boolean | required | 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. |
chorea |
boolean | required | Sydenham chorea as assigned by the caller (Gewitz 2015 major). true or false. magent does not examine the patient. |
erythema_marginatum |
boolean | required | Erythema marginatum as assigned by the caller (Gewitz 2015 major). true or false. magent does not examine the skin. |
subcutaneous_nodules |
boolean | required | Subcutaneous nodules as assigned by the caller (Gewitz 2015 major). true or false. magent does not examine the patient. |
fever_ge_38_5 |
boolean | required | 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. |
fever_ge_38 |
boolean | required | 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. |
esr_ge_60_or_crp_ge_3 |
boolean | required | 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. |
esr_ge_30_or_crp_ge_3 |
boolean | required | 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. |
prolonged_pr |
boolean | required | Prolonged PR interval as assigned by the caller. Counts as a minor only when carditis is false. magent does not interpret an electrocardiogram. |
Bulk (POST)
POST the same path with a JSON items array. The first item is the GET unit; each additional item is $0.002. Invalid items return HTTP 400 before settlement.
- 1 to 25 items. Each item uses the same keys as the GET query parameters.
- POST of 1 item costs the same as GET. Lists longer than 25: chunk into multiple POSTs. Extra items still execute; do not pad dummy rows.
- The first invalid item fails the whole request (index in the 400 JSON). You are not charged.
- HTTP 200 is {count, path, items}. Each items[i] is the GET 200 body for that row.
- Catalog misses (empty matches, found=false) stay paid 200s inside that slot.
- x402 resource URL is this path plus n and body_sha256. Browsers that prefer text/html get the same paywall as GET; Pay retries POST with the same items.
Example request (fixture)
{
"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"
}
]
}
Opens a two-item fixture on the API host. Unpaid browsers get the same MetaMask paywall as GET; Pay retries POST with those items.
Example 200 (fixture)
{
"count": 2,
"path": "/api/calc/jones",
"items": [
{
"disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
"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"
},
"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",
"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
}
],
"major_count": 2,
"minor_count": 0,
"episode": "initial",
"jones_arf": true,
"population_risk": "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.",
"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"
},
"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",
"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
}
],
"major_count": 2,
"minor_count": 0,
"episode": "initial",
"jones_arf": true,
"population_risk": "low"
}
]
}
Response
| Field | Type | Description |
|---|---|---|
formula |
string | jones |
formula_expression |
string | Gewitz 2015 Table 7 Jones episode rule with population-specific majors/minors |
episode |
string | Echo of episode: initial or recurrent |
population_risk |
string | Echo of population_risk: low or moderate_high |
major_count |
integer | Count of Jones majors after population-specific joint assignment (carditis, one joint major, chorea, erythema_marginatum, subcutaneous_nodules) |
minor_count |
integer | Count of Jones minors after population-specific fever, ESR/CRP, joint, and prolonged-PR assignment. Prolonged PR is excluded when carditis is a major |
jones_arf |
boolean | true iff evidence_of_preceding_gas and the episode rule hold. Not a diagnosis |
criteria |
array | Rows for each caller flag, episode_rule, and jones_arf with factor and met |
citation |
object | Gewitz 2015 Circulation citation |
disclaimer |
string | Not-a-device notice |
Example JSON
Machine form of the same example. Frozen fixture. Not a live lookup.
{
"disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
"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"
},
"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",
"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
}
],
"major_count": 2,
"minor_count": 0,
"episode": "initial",
"jones_arf": true,
"population_risk": "low"
}
Client errors (HTTP 400)
Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_flag |
boolean clinical flags must be true or false Returned before settlement; you are not charged. |
| 400 | invalid_population_risk |
population_risk must be low or moderate_high (Gewitz 2015 AHA Jones criteria). Returned before settlement; you are not charged. |
| 400 | invalid_arf_episode |
episode must be initial or recurrent (Gewitz 2015 AHA Jones criteria). Returned before settlement; you are not charged. |
| 400 | invalid_items |
POST body must be a JSON object with only an items array Returned before settlement; you are not charged. |
| 400 | invalid_item_count |
items must be an array of 1 to 25 objects Returned before settlement; you are not charged. |
| 400 | invalid_item |
each items entry must be a JSON object Returned before settlement; you are not charged. |
Related tools
- Kawasaki — Apply McCrindle 2017 classic/complete Kawasaki disease criteria and return complete or not_complete from fever_days and five caller-assigned principal features.
- Centor and McIsaac scores — Compute the Centor score or the McIsaac age-modified score from four caller-assigned pharyngitis findings. The edition is required.
- SIRS — Compute the Bone 1992 ACCP/SCCM SIRS criteria from temperature, heart rate, respiratory rate, and WBC, with optional PaCO2 and band percent.
Payment
Unpaid requests return HTTP 402 even if query parameters or POST items are missing or invalid, so CDP and agents can index the path. After a PAYMENT-SIGNATURE, invalid params return HTTP 400 JSON before settlement. magent does not charge. Fix the params, then request a new 402 quote for that complete URL. Catalog misses (empty matches, found=false) are valid paid 200s. Unpaid valid requests return HTTP 402 with a base64
PAYMENT-REQUIRED
header. HTTP 503 is not a new quote: retry the same PAYMENT-SIGNATURE. Full handshake
and shared payment errors: Payments.
Stdio MCP: /docs/mcp.
Guarantees
- HTTP 402 is unpaid, including a missing query. After PAYMENT-SIGNATURE, invalid parameters return HTTP 400 before settlement. You are not charged. HTTP 402 never includes the tool JSON.
- exact: settlement finishes before the tool (paymentFlow upfront). batch-settlement: verify/deposit before the tool; chargedCumulativeAmount commits after HTTP 2xx. Uncertain or failed settlement fails closed (HTTP 503). Retry the same PAYMENT-SIGNATURE.
- HTTP 402 is unpaid only. Do not sign a second authorization because of a 503.
- Execution is timeout-bounded and concurrency-capped.
- Calculator inputs are stored encrypted for allowlisted operators (Magent Console). They are not in public logs, SSH lookups, catalog, or rollups. Request logs store path without query.