# WHO 2016 polycythemia vera criteria

WHO 2016 PV criteria

Status: LIVE
Price: $0.005 USDC
`GET /api/calc/who_pv`
HTML: https://magentlab.com/docs/who-pv
Markdown: https://magentlab.com/docs/who-pv.md

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

## What it computes

Apply the Arber 2016 / WHO 2016 polycythemia vera diagnostic criteria and return whether the published combination of three majors, or major 1 and major 2 plus subnormal EPO, is met.

## When to use

When an agent already has caller-assigned hemoglobin or hematocrit or red-cell mass, marrow panmyelosis, JAK2 V617F or exon 12, and EPO status, and needs the WHO 2016 PV criteria result. magent does not diagnose PV and does not assay EPO or sequence JAK2.

## When not to use

- Not a medical device.
- Not a WHO diagnosis. Criteria met is not a polycythemia vera diagnosis without the rest of the WHO 2016 workup.
- magent does not assay EPO or sequence JAK2. subnormal_epo and jak2_v617f_or_exon12 are caller-assigned.
- magent does not read bone-marrow slides. bone_marrow_panmyelosis is caller-assigned.
- This tool is Arber 2016 / WHO 2016 PV only. Not WHO 2022 and not ICC.

## Formula

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

## Citation

[The 2016 revision to the World Health Organization classification of myeloid neoplasms and acute leukemia](https://doi.org/10.1182/blood-2016-03-643544)
Arber DA, Orazi A, Hasserjian R, Thiele J, Borowitz MJ, Le Beau MM, Bloomfield CD, Cazzola M, Vardiman JW
Blood. 2016;127(20):2391-2405
DOI: [10.1182/blood-2016-03-643544](https://doi.org/10.1182/blood-2016-03-643544)

## Worked example

### Male with subthreshold Hb/Hct and no other criteria

Given: `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`

1. Sex is male; hemoglobin 15.0 g/dL is not >16.5 and hematocrit 45% is not >49; increased_red_cell_mass is false → major 1 is false
2. bone_marrow_panmyelosis, jak2_v617f_or_exon12, and subnormal_epo are false
3. pv_criteria_met is false (neither three majors nor two majors plus minor)


## Also searched as

- WHO 2016 polycythemia vera
- PV diagnostic criteria
- JAK2 V617F polycythemia vera
- WHO myeloid neoplasms PV
- polycythemia vera major criteria
- Arber 2016 PV
- increased red cell mass PV
- WHO 2016 PV hemoglobin hematocrit

## Parameters

- `sex` (string, required): 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.
- `hemoglobin_g_dl` (number, optional): 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.
- `hematocrit_percent` (number, optional): 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.
- `increased_red_cell_mass` (boolean, required): 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.
- `bone_marrow_panmyelosis` (boolean, required): 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.
- `jak2_v617f_or_exon12` (boolean, required): 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.
- `subnormal_epo` (boolean, required): Subnormal serum erythropoietin as assigned by the caller (Arber 2016 WHO 2016 minor criterion). true or false. magent does not assay EPO.

## 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.

Method: `POST /api/calc/who_pv`
Max items: 25
Price: unit_amount + extra_item_amount * (n - 1) (unit 5000 atomic, extra 2000 atomic)
Status: 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:

```json
{
  "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"
    }
  ]
}
```

Human paywall (two-item fixture): https://api.magentlab.com/paywall/bulk/who-pv

Example 200:

```json
{
  "count": 2,
  "path": "/api/calc/who_pv",
  "items": [
    {
      "minor": false,
      "disclaimer": "Not 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": "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"
      },
      "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",
      "sex": "male",
      "criteria": [
        {
          "factor": "major_1",
          "met": false
        },
        {
          "factor": "major_2",
          "met": false
        },
        {
          "factor": "major_3",
          "met": false
        },
        {
          "factor": "minor",
          "met": false
        }
      ],
      "hematocrit_percent": 45.0,
      "hemoglobin_g_dl": 15.0,
      "bone_marrow_panmyelosis": false,
      "increased_red_cell_mass": false,
      "jak2_v617f_or_exon12": false,
      "major_1": false,
      "major_2": false,
      "major_3": false,
      "pv_criteria_met": false,
      "subnormal_epo": false
    },
    {
      "minor": false,
      "disclaimer": "Not 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": "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"
      },
      "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",
      "sex": "male",
      "criteria": [
        {
          "factor": "major_1",
          "met": false
        },
        {
          "factor": "major_2",
          "met": false
        },
        {
          "factor": "major_3",
          "met": false
        },
        {
          "factor": "minor",
          "met": false
        }
      ],
      "hematocrit_percent": 45.0,
      "hemoglobin_g_dl": 15.0,
      "bone_marrow_panmyelosis": false,
      "increased_red_cell_mass": false,
      "jak2_v617f_or_exon12": false,
      "major_1": false,
      "major_2": false,
      "major_3": false,
      "pv_criteria_met": false,
      "subnormal_epo": false
    }
  ]
}
```

## Response fields

- `formula` (string): who_pv
- `formula_expression` (string): Arber 2016 WHO 2016 PV major/minor combination
- `pv_criteria_met` (boolean): true iff all three majors, or major 1 and major 2 plus the minor. Not a WHO diagnosis. Not WHO 2022.
- `major_1` (boolean): true iff increased_red_cell_mass, or male Hb >16.5 or Hct >49, or female Hb >16.0 or Hct >48
- `major_2` (boolean): Echo of caller-assigned bone_marrow_panmyelosis
- `major_3` (boolean): Echo of caller-assigned jak2_v617f_or_exon12
- `minor` (boolean): Echo of caller-assigned subnormal_epo
- `sex` (string): Sex used: female or male
- `hemoglobin_g_dl` (number): Hemoglobin in g/dL when supplied
- `hematocrit_percent` (number): Hematocrit percent when supplied
- `increased_red_cell_mass` (boolean): Caller-assigned increased red-cell mass flag used
- `bone_marrow_panmyelosis` (boolean): Caller-assigned WHO marrow panmyelosis flag used
- `jak2_v617f_or_exon12` (boolean): Caller-assigned JAK2 V617F or exon 12 flag used
- `subnormal_epo` (boolean): Caller-assigned subnormal EPO flag used
- `criteria` (array): Per-factor rows with factor and met for major_1, major_2, major_3, and minor
- `citation` (object): Arber 2016 Blood WHO 2016 citation
- `disclaimer` (string): Not-a-device notice

## Example JSON

Frozen fixture. Not a live lookup.

```json
{
  "minor": false,
  "disclaimer": "Not 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": "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"
  },
  "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",
  "sex": "male",
  "criteria": [
    {
      "factor": "major_1",
      "met": false
    },
    {
      "factor": "major_2",
      "met": false
    },
    {
      "factor": "major_3",
      "met": false
    },
    {
      "factor": "minor",
      "met": false
    }
  ],
  "hematocrit_percent": 45.0,
  "hemoglobin_g_dl": 15.0,
  "bone_marrow_panmyelosis": false,
  "increased_red_cell_mass": false,
  "jak2_v617f_or_exon12": false,
  "major_1": false,
  "major_2": false,
  "major_3": false,
  "pv_criteria_met": false,
  "subnormal_epo": false
}
```

## Errors

- HTTP 400 `invalid_sex`: sex must be female or male Returned before settlement; you are not charged.
- HTTP 400 `invalid_hemoglobin`: hemoglobin_g_l (30-220) or hemoglobin_g_dl (3-22) is required, not both. Returned before settlement; you are not charged.
- HTTP 400 `invalid_hematocrit`: hematocrit_percent must be a number from 10 to 70. Returned before settlement; you are not charged.
- HTTP 400 `invalid_flag`: boolean clinical flags must be true or false Returned before settlement; you are not charged.
- HTTP 400 `invalid_items`: POST body must be a JSON object with only an items array Returned before settlement; you are not charged.
- HTTP 400 `invalid_item_count`: items must be an array of 1 to 25 objects Returned before settlement; you are not charged.
- HTTP 400 `invalid_item`: each items entry must be a JSON object Returned before settlement; you are not charged.

Shared HTTP 402 and 503: https://magentlab.com/docs/payments

## Related tools

- [DIPSS](https://magentlab.com/docs/dipss) — Sum the Passamonti 2010 DIPSS (dynamic international prognostic scoring system) for primary myelofibrosis and return low (0), intermediate_1 (1–2), intermediate_2 (3–4), or high (5–6).

## 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.

- GET the tool with Accept: application/json (do not send Accept: text/html unless you want the human paywall).
- HTTP 402 means you have not paid. Decode the base64 PAYMENT-REQUIRED header. HTTP 503 is not a new quote.
- Sign accepts[0] (exact, EIP-3009) with validBefore = now + maxTimeoutSeconds (600 seconds), or accepts[1] (batch-settlement deposit/voucher) on product GET. Ping and POST {items} stay exact. Magent retries transient facilitator 429/5xx before answering.
- Retry the same URL with PAYMENT-SIGNATURE (base64 JSON of accepted and payload). Magent attaches canonical extensions.bazaar on CDP verify/settle; echoing 402 bazaar is optional.
- Success is HTTP 200 JSON plus PAYMENT-RESPONSE. exact settles before the tool. batch-settlement verifies (and deposit-settles) before the tool and commits the charge after HTTP 2xx. HTTP 503: retry the same PAYMENT-SIGNATURE. Mint a new exact nonce only after a new HTTP 402.

- offered `exact` on eip155:8453: Fixed-price USDC on Base. The buyer authorizes the advertised amount (EIP-3009). magent settles before the tool runs (paymentFlow upfront). extra.assetTransferMethod=eip3009 extra.paymentFlow=upfront.
- offered `batch-settlement` on eip155:8453: Payment-channel vouchers claimed later in batches. Exact stays accepts[0]. Same-path POST {items} is still exact. extra.assetTransferMethod=eip3009 extra.paymentFlow=authorization.

- not offered `upto`: Not offered. Usage-based: buyer authorizes a ceiling, seller settles the actual amount after work. Reserved for a future metered tool. Not for current calculators or code search.

Same-path POST {items} is still scheme exact: one EIP-3009 authorization for GET unit plus $0.002 per extra item. That is not x402 batch-settlement (payment channels / vouchers).

Shared HTTP 402 and 503 table: https://magentlab.com/docs/payments

Stdio MCP (one process per host): https://magentlab.com/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.
