MAGENT

Emergency · LIVE

ACR/EULAR PMR classification criteria

ACR/EULAR PMR

Apply the 2012 EULAR/ACR polymyalgia rheumatica classification criteria (Dasgupta Table 4): require age ≥50, bilateral shoulder aching, and abnormal CRP and/or ESR, then return the clinical score with or without optional ultrasound and whether the published cut point classifies PMR. Not a PMR diagnosis.

LIVE $0.005 USDC GET /api/calc/acr_eular_pmr

Markdown: /docs/acr-eular-pmr.md · Canonical: https://magentlab.com/docs/acr-eular-pmr

Not a medical device. Not a diagnosis, dose, or listing recommendation.

What it computes

Apply the 2012 EULAR/ACR polymyalgia rheumatica classification criteria (Dasgupta Table 4): require age ≥50, bilateral shoulder aching, and abnormal CRP and/or ESR, then return the clinical score with or without optional ultrasound and whether the published cut point classifies PMR. Not a PMR diagnosis.

When to use

When an agent already has caller-assigned Dasgupta 2012 required criteria and scoring items and needs the published PMR classification result for research, not a PMR diagnosis.

When not to use

  • Not a medical device and not a PMR diagnosis. These criteria are not meant for diagnostic purposes (Dasgupta 2012).
  • Required criteria (age 50–120, bilateral shoulder aching, and abnormal CRP and/or ESR) must be met or the request is HTTP 400 and is not scored.
  • magent does not assay CRP, ESR, RF, or ACPA and does not perform ultrasound. Ultrasound items apply only when include_ultrasound is true.
  • Classification criteria for research, not a treatment or glucocorticoid-start decision.

Formula

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)

Citation

Title
2012 provisional classification criteria for polymyalgia rheumatica: a European League Against Rheumatism/American College of Rheumatology collaborative initiative
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
Source
Ann Rheum Dis. 2012;71(4):484-492
DOI
10.1136/annrheumdis-2011-200329

Worked example

All clinical items, no ultrasound, classified

Given: abnormal_crp_or_esr=trueage=70bilateral_shoulder_aching=truehip_pain_or_limited_rom=trueinclude_ultrasound=falsemorning_stiffness_gt_45=trueother_joint_pain_absent=truerf_or_acpa_absent=true

  1. Required: age 70, bilateral_shoulder_aching true, abnormal_crp_or_esr true
  2. morning_stiffness_gt_45 2 + hip_pain_or_limited_rom 1 + rf_or_acpa_absent 2 + other_joint_pain_absent 1
  3. include_ultrasound false; score = 6 (max 6) ≥4; classified true; algorithm without_ultrasound

Required entry only, no ultrasound, not classified

Given: abnormal_crp_or_esr=trueage=70bilateral_shoulder_aching=truehip_pain_or_limited_rom=falseinclude_ultrasound=falsemorning_stiffness_gt_45=falseother_joint_pain_absent=falserf_or_acpa_absent=false

  1. Scoring flags false; include_ultrasound false
  2. Score = 0 (max 6) <4; classified false; algorithm without_ultrasound

Clinical 6 plus shoulder-and-hip ultrasound, classified

Given: abnormal_crp_or_esr=trueage=70bilateral_shoulder_aching=truehip_pain_or_limited_rom=trueinclude_ultrasound=truemorning_stiffness_gt_45=trueother_joint_pain_absent=truerf_or_acpa_absent=trueus_both_shoulders=falseus_shoulder_and_hip=true

  1. Clinical items 6; include_ultrasound true; us_shoulder_and_hip 1; us_both_shoulders 0
  2. Score = 7 (max 8) ≥5; classified true; algorithm with_ultrasound

Clinical 4 with ultrasound, not classified

Given: abnormal_crp_or_esr=trueage=70bilateral_shoulder_aching=truehip_pain_or_limited_rom=falseinclude_ultrasound=truemorning_stiffness_gt_45=trueother_joint_pain_absent=falserf_or_acpa_absent=trueus_both_shoulders=falseus_shoulder_and_hip=false

  1. morning_stiffness_gt_45 2 + rf_or_acpa_absent 2; both US flags false
  2. Score = 4 (max 8) <5; classified false; algorithm with_ultrasound

Also searched as

  • ACR EULAR PMR
  • 2012 PMR classification criteria
  • Dasgupta 2012 PMR
  • polymyalgia rheumatica classification
  • EULAR ACR PMR score
  • PMR ultrasound classification
  • ACR/EULAR 2012 PMR
  • provisional PMR classification

Try

Opens the live endpoint. Unpaid browser requests show the paywall; agents should send Accept: application/json.

/api/calc/acr_eular_pmr?age=70&bilateral_shoulder_aching=true&abnormal_crp_or_esr=true&morning_stiffness_gt_45=true&hip_pain_or_limited_rom=true&rf_or_acpa_absent=true&other_joint_pain_absent=true&include_ultrasound=false

Full URL: https://api.magentlab.com/api/calc/acr_eular_pmr?age=70&bilateral_shoulder_aching=true&abnormal_crp_or_esr=true&morning_stiffness_gt_45=true&hip_pain_or_limited_rom=true&rf_or_acpa_absent=true&other_joint_pain_absent=true&include_ultrasound=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/acr_eular_pmr?age=70&bilateral_shoulder_aching=true&abnormal_crp_or_esr=true&morning_stiffness_gt_45=true&hip_pain_or_limited_rom=true&rf_or_acpa_absent=true&other_joint_pain_absent=true&include_ultrasound=false"

Parameters

Name Type Required Description
age integer required Age in years as an integer 50–120 (Dasgupta 2012 required criterion: age ≥50). magent does not date the patient.
bilateral_shoulder_aching boolean required Must be true. Dasgupta 2012 required criterion: bilateral shoulder aching. false is invalid and is not scored. magent does not examine joints.
abnormal_crp_or_esr boolean required 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.
morning_stiffness_gt_45 boolean required Morning stiffness duration >45 min (Dasgupta 2012 Table 4). true scores 2; false scores 0. magent does not take a history.
hip_pain_or_limited_rom boolean required Hip pain or limited range of motion (Dasgupta 2012 Table 4). true scores 1; false scores 0. magent does not examine joints.
rf_or_acpa_absent boolean required 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.
other_joint_pain_absent boolean required 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.
include_ultrasound boolean required 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.
us_shoulder_and_hip boolean optional 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.
us_both_shoulders boolean optional 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.

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.

POST /api/calc/acr_eular_pmr Max 25 unit_amount + extra_item_amount * (n - 1) extra $0.002 PREVIEW

  • 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": [
    {
      "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"
    },
    {
      "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"
    }
  ]
}

Open bulk paywall →

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/acr_eular_pmr",
  "items": [
    {
      "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
        }
      ],
      "algorithm": "without_ultrasound",
      "disclaimer": "Not 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": "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"
      },
      "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,
      "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
        }
      ],
      "algorithm": "without_ultrasound",
      "disclaimer": "Not 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": "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"
      },
      "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,
      "classified": true
    }
  ]
}

Response

Field Type Description
formula string acr_eular_pmr
formula_expression string Dasgupta 2012 EULAR/ACR PMR classification expression
score integer Dasgupta 2012 Table 4 points. 0–6 without ultrasound; 0–8 with ultrasound.
max_score integer 6 without ultrasound; 8 with ultrasound
classified boolean true iff score ≥4 without ultrasound or score ≥5 with ultrasound. Classification criteria for research, not a PMR diagnosis.
algorithm string without_ultrasound when include_ultrasound is false; with_ultrasound when true
components array Per-item Dasgupta 2012 points
citation object Dasgupta 2012 Ann Rheum Dis citation
disclaimer string Not-a-device notice

Example JSON

Machine form of the same example. Frozen fixture. Not a live lookup.

{
  "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
    }
  ],
  "algorithm": "without_ultrasound",
  "disclaimer": "Not 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": "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"
  },
  "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,
  "classified": true
}

Client errors (HTTP 400)

Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.

HTTP Code When
400 invalid_pmr_age age must be an integer from 50 to 120 (Dasgupta 2012 EULAR/ACR PMR required criterion). Returned before settlement; you are not charged.
400 invalid_pmr bilateral_shoulder_aching and abnormal_crp_or_esr must be true; include_ultrasound must be true or false (Dasgupta 2012 required criteria). Returned before settlement; you are not charged.
400 invalid_flag boolean clinical flags must be true or false 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

  • ACR/EULAR gout — Apply the 2015 ACR/EULAR gout classification criteria (Neogi Table 2): require the entry episode, classify immediately if MSU crystals are present, otherwise return the Step 3 score (max 23) and whether score ≥8 classifies gout. Not a gout diagnosis.

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.