MAGENT

Infection / VTE · LIVE

2023 Duke-ISCVID criteria for infective endocarditis

Duke-ISCVID

Apply the 2023 Duke-ISCVID (Fowler) criteria for infective endocarditis and return definite, possible, or rejected from caller-assigned pathologic, major (microbiologic, imaging, surgical), minor, and rejected flags.

LIVE $0.005 USDC GET /api/calc/duke_iscvid

Markdown: /docs/duke-iscvid.md · Canonical: https://magentlab.com/docs/duke-iscvid

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

What it computes

Apply the 2023 Duke-ISCVID (Fowler) criteria for infective endocarditis and return definite, possible, or rejected from caller-assigned pathologic, major (microbiologic, imaging, surgical), minor, and rejected flags.

When to use

When an agent already has caller-assigned 2023 Duke-ISCVID pathologic, major, minor, and rejected flags and needs the published definite / possible / rejected classification. magent does not examine the patient, read imaging, or interpret cultures.

When not to use

  • Not a medical device and not a diagnosis of infective endocarditis.
  • 2023 Duke-ISCVID (Fowler) only. Not Durack 1994 original Duke. Not Li 2000 modified Duke.
  • magent does not examine the patient, read an echocardiogram, cardiac CT, or 18F-FDG PET/CT, or interpret cultures. Organism lists and imaging modalities are caller-assigned into the major and minor flags.
  • Possible requires 1 major plus 1 minor or 3 minor. Findings that meet neither definite nor possible are rejected. Rejected flags apply only when definite does not hold.

Formula

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

Citation

Title
The 2023 Duke-International Society for Cardiovascular Infectious Diseases Criteria for Infective Endocarditis: Updating the Modified Duke Criteria
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.
Source
Clin Infect Dis. 2023;77(4):518-526
DOI
10.1093/cid/ciad271

Worked example

Two major criteria

Given: major_imaging=truemajor_microbiologic=truemajor_surgical=falseminor_fever=falseminor_immunologic=falseminor_microbiologic=falseminor_predisposition=falseminor_vascular=falsepathologic_definite=falserejected_firm_alternate_diagnosis=falserejected_no_pathology_le_4_days_antibiotics=falserejected_resolved_le_4_days_antibiotics=false

  1. major_microbiologic is true
  2. major_imaging is true
  3. major_count is 2 and minor_count is 0
  4. clinical_definite holds, so classification is definite

No criteria (rejected leftover)

Given: major_imaging=falsemajor_microbiologic=falsemajor_surgical=falseminor_fever=falseminor_immunologic=falseminor_microbiologic=falseminor_predisposition=falseminor_vascular=falsepathologic_definite=falserejected_firm_alternate_diagnosis=falserejected_no_pathology_le_4_days_antibiotics=falserejected_resolved_le_4_days_antibiotics=false

  1. all flags are false
  2. major_count is 0 and minor_count is 0
  3. clinical_definite does not hold and possible does not hold
  4. classification is rejected (not Durack 1994 leftover possible)

Also searched as

  • Duke-ISCVID
  • 2023 Duke criteria
  • ISCVID endocarditis
  • Fowler 2023 Duke
  • Duke-ISCVID IE criteria
  • 2023 Duke-ISCVID
  • infective endocarditis 2023 criteria
  • surgical major IE

Try

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

/api/calc/duke_iscvid?pathologic_definite=false&major_microbiologic=true&major_imaging=true&major_surgical=false&minor_predisposition=false&minor_fever=false&minor_vascular=false&minor_immunologic=false&minor_microbiologic=false&rejected_firm_alternate_diagnosis=false&rejected_resolved_le_4_days_antibiotics=false&rejected_no_pathology_le_4_days_antibiotics=false

Full URL: https://api.magentlab.com/api/calc/duke_iscvid?pathologic_definite=false&major_microbiologic=true&major_imaging=true&major_surgical=false&minor_predisposition=false&minor_fever=false&minor_vascular=false&minor_immunologic=false&minor_microbiologic=false&rejected_firm_alternate_diagnosis=false&rejected_resolved_le_4_days_antibiotics=false&rejected_no_pathology_le_4_days_antibiotics=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/duke_iscvid?pathologic_definite=false&major_microbiologic=true&major_imaging=true&major_surgical=false&minor_predisposition=false&minor_fever=false&minor_vascular=false&minor_immunologic=false&minor_microbiologic=false&rejected_firm_alternate_diagnosis=false&rejected_resolved_le_4_days_antibiotics=false&rejected_no_pathology_le_4_days_antibiotics=false"

Parameters

Name Type Required Description
pathologic_definite boolean required 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.
major_microbiologic boolean required 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.
major_imaging boolean required 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.
major_surgical boolean required 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.
minor_predisposition boolean required Predisposing heart condition or intravenous drug use (Fowler 2023 minor). true or false as assigned by the caller. magent does not take a history.
minor_fever boolean required Fever ≥38.0 C (Fowler 2023 minor). true or false as assigned by the caller. magent does not measure temperature.
minor_vascular boolean required Vascular phenomena (Fowler 2023 minor) as assigned by the caller. true or false. magent does not examine the patient.
minor_immunologic boolean required Immunologic phenomena (Fowler 2023 minor) as assigned by the caller. true or false. magent does not examine the patient.
minor_microbiologic boolean required 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.
rejected_firm_alternate_diagnosis boolean required 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.
rejected_resolved_le_4_days_antibiotics boolean required Manifestations of IE resolved with antibiotic therapy for 4 days or less (Fowler 2023 rejected). true or false as assigned by the caller.
rejected_no_pathology_le_4_days_antibiotics boolean required 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.

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/duke_iscvid 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": [
    {
      "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"
    }
  ]
}

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/duke_iscvid",
  "items": [
    {
      "rejected": false,
      "disclaimer": "Not 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": "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"
      },
      "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",
      "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
        }
      ],
      "major_count": 2,
      "minor_count": 0,
      "classification": "definite",
      "definite": true,
      "pathologic_definite": false,
      "possible": false
    },
    {
      "rejected": false,
      "disclaimer": "Not 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": "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"
      },
      "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",
      "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
        }
      ],
      "major_count": 2,
      "minor_count": 0,
      "classification": "definite",
      "definite": true,
      "pathologic_definite": false,
      "possible": false
    }
  ]
}

Response

Field Type Description
formula string duke_iscvid
formula_expression string Fowler 2023 Duke-ISCVID: definite if pathologic_definite or clinical_definite (2 major, or 1 major plus 3 minor, or 5 minor); possible if not definite and (1 major plus 1 minor or 3 minor); rejected if neither, or if a rejected flag is true and definite does not hold. minor_microbiologic is not double-counted with major_microbiologic. Not Durack 1994. Not Li 2000.
classification string definite, possible, or rejected (Fowler 2023 Duke-ISCVID). Not Durack 1994 leftover possible. Not a diagnosis.
definite boolean true iff classification is definite (pathologic_definite or clinical_definite)
possible boolean true iff classification is possible (1 major plus 1 minor, or 3 minor, and not definite and no rejected flag)
rejected boolean true iff classification is rejected. Rejected flags do not override definite.
major_count integer Count of true Fowler 2023 major flags among major_microbiologic, major_imaging, and major_surgical (0-3)
minor_count integer Count of counted Fowler 2023 minor flags (0-5). minor_microbiologic is omitted when major_microbiologic is true
pathologic_definite boolean Caller-assigned Fowler 2023 pathologic definite flag. true is sufficient for classification definite.
criteria array Per-flag rows for pathologic_definite, three majors, five minors, and three rejected flags, plus clinical_definite and rejected aggregates (factor and met)
citation object Fowler 2023 Clin Infect Dis citation
disclaimer string Not-a-device notice

Example JSON

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

{
  "rejected": false,
  "disclaimer": "Not 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": "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"
  },
  "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",
  "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
    }
  ],
  "major_count": 2,
  "minor_count": 0,
  "classification": "definite",
  "definite": true,
  "pathologic_definite": false,
  "possible": false
}

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_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

  • Duke — Apply the Durack 1994 original Duke criteria for infective endocarditis and return definite, possible, or rejected from caller-assigned pathologic, major, minor, and rejected flags.
  • IE mortality — Compute the Park 2016 ICE simplified risk score for 6-month mortality in infective endocarditis from age and caller-assigned Table 5 flags, and return the score, quadratic 6-month mortality percent, and whether score >= 8.

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.