Mutatis Check a medicine

diff_versions

Compare two versions of a medicine's product information.

Compares any two tracked versions of one medicine's EU product information and returns which sections differ, plus every change record in between. Use it when the versions are not neighbours, such as "what changed in the Ozempic SmPC since 2024" (from 2024-01-01: the version in force on that date). A version is an annex id, a date (YYYY-MM-DD: the version in force that day), a procedure, "latest" or "previous". SmPCs of a multi-strength annex are aligned by product name. When the versions are neighbours the one change record is included in full; otherwise each record in between is listed. Untracked versions return not_tracked with the coverage, never a guess.

Input

FieldTypeDescription
product
required
stringEMA product number (EMEA/H/C/003820, or just 3820), EU number (EU/1/15/1024) or medicine name (Keytruda).
from
required
stringOlder version: annex id, date (the version in force that day), procedure, "previous" or "latest".
tostringNewer version, same forms. Default "latest".
sectionstringOne QRD section: an SmPC number such as 4.8 (undesirable effects), 4.4 (warnings) or 6.3 (shelf life), matching that section in every SmPC of the annex; or annex_ii, labelling, package_leaflet. A bare 4, 5 or 6 is only that heading's own text, not its subsections. 0 is the text before section 1.

A real call

REST, MCP and CLI take the same input and return the same JSON.

curl -s https://mutatis.bulkhead.solutions/v1/tools/diff_versions \
  -H 'content-type: application/json' \
  -d '{"product":"Ozempic","from":"previous"}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "diff_versions",
    "arguments": {
      "product": "Ozempic",
      "from": "previous"
    }
  }
}

Its real result

Run at build time against data built 9 Nov 2026. Long lists are cut to three items here; the API returns them whole.

{
  "product": "EMEA/H/C/004174",
  "name": "Ozempic",
  "from": {
    "version": "167540",
    "decision_date": "2025-09-17",
    "document": "https://ec.europa.eu/health/documents/community-register/2025/20250917167540/anx_167540_en.pdf"
  },
  "to": {
    "version": "171213",
    "decision_date": "2026-10-12",
    "document": "https://ec.europa.eu/health/documents/community-register/2026/20261012171213/anx_171213_en.pdf",
    "provisional": false
  },
  "sections_changed": [
    "1",
    "2",
    "8",
    "... 11 more"
  ],
  "sections_added": [],
  "sections_removed": [],
  "sections_unchanged": [
    "0",
    "3",
    "4",
    "... 15 more"
  ],
  "note": "Ids such as 4.8#2 are section 4.8 of the second SmPC in the newer annex (sections_removed uses the older annex's ids). Sections compared by text with whitespace, page numbers and repeated table header...",
  "untracked_versions_between": 0,
  "changes_between": [
    {
      "id": "h1251-171213",
      "product": "EMEA/H/C/004174",
      "name": "Ozempic",
      "decision_date": "2026-10-12",
      "decision": "(2026) 7309",
      "provisional": false,
      "date_source": "Commission decision in the Union Register",
      "type": "Centralised - Yearly update",
      "procedures": [
        "EMA/YU/0000378054",
        "EMA/VR/0000287437",
        "EMA/VR/0000249026",
        "... 5 more"
      ],
      "from": {
        "annex": "167540",
        "date": "2025-09-17",
        "url": "https://ec.europa.eu/health/documents/community-register/2025/20250917167540/anx_167540_en.pdf"
      },
      "to": {
        "annex": "171213",
        "date": "2026-10-12",
        "url": "https://ec.europa.eu/health/documents/community-register/2026/20261012171213/anx_171213_en.pdf"
      },
      "changed": [
        {
          "section": "1",
          "title": "Name of the medicinal product",
          "smpc": "Ozempic 0.25 mg solution for injection in pre-filled pen Ozempic 0.5 mg solution for injection in pre-filled pen Ozempic 1 mg solution for injection in pre-filled pen Ozempic 2 mg solution for injecti",
          "kind": "text",
          "words_removed": 0,
          "words_added": 27,
          "edits": 1,
          "excerpts_withheld": true,
          "excerpts_truncated": false
        },
        {
          "section": "2",
          "title": "Qualitative and quantitative composition",
          "smpc": "Ozempic 0.25 mg solution for injection in pre-filled pen Ozempic 0.5 mg solution for injection in pre-filled pen Ozempic 1 mg solution for injection in pre-filled pen Ozempic 2 mg solution for injecti",
          "kind": "text",
          "words_removed": 0,
          "words_added": 91,
          "edits": 2,
          "excerpts_withheld": true,
          "excerpts_truncated": true
        },
        {
          "section": "4.4",
          "title": "Special warnings and precautions for use",
          "smpc": "Ozempic 0.25 mg solution for injection in pre-filled pen Ozempic 0.5 mg solution for injection in pre-filled pen Ozempic 1 mg solution for injection in pre-filled pen Ozempic 2 mg solution for injecti",
          "kind": "text",
          "words_removed": 12,
          "words_added": 137,
          "edits": 5,
          "excerpts_withheld": true,
          "excerpts_truncated": true
        },
        "... 11 more"
      ],
      "added": [],
      "removed": [],
      "layout_only": [],
      "unchanged": [
        "0",
        "3",
        "4",
        "... 15 more"
      ],
      "status_by_section": {
        "0": "unchanged",
        "1": "changed",
        "2": "changed",
        "3": "unchanged",
        "4": "unchanged",
        "5": "unchanged",
        "6": "unchanged",
        "7": "unchanged",
        "8": "changed",
        "9": "unchanged",
        "10": "unchanged",
        "4.1": "unchanged",
        "4.2": "unchanged",
        "4.3": "unchanged",
        "4.5": "unchanged",
        "4.6": "unchanged",
        "4.7": "unchanged",
        "4.9": "unchanged",
        "5.2": "unchanged",
        "5.3": "unchanged",
        "6.2": "unchanged",
        "4.4": "changed",
        "4.8": "changed",
        "5.1": "changed",
        "6.1": "changed",
        "6.3": "changed",
        "6.4": "changed",
        "6.5": "changed",
        "6.6": "changed",
        "annex_ii": "changed",
        "labelling": "changed",
        "package_leaflet": "changed"
      },
      "ingested": "2026-11-07T10:24:52.518Z"
    }
  ],
  "coverage": {
    "products_tracked": 1451,
    "authorised_human_medicines": 1564,
    "versions_tracked": 3416,
    "change_records": 1965,
    "history_from": "2012-04-20",
    "note": "Centrally authorised human medicines, English. Backfill runs newest decision first; a medicine or period outside coverage is unknown, not unchanged.",
    "product": {
      "versions_official": 12,
      "versions_tracked": 2,
      "tracked_from": "2025-09-17"
    }
  },
  "lag": {
    "data_built": "2026-11-09T21:57:53.665Z",
    "sources_fetched": "2026-11-07T09:31:35.618Z",
    "stale": true,
    "stale_note": "The source data was last fetched 22 days ago, longer than the 48 hours a refresh should take. Decisions published since then are missing: check the Union Register or the EMA medicine page before relying on \"no change\".",
    "ema_data_timestamp": "2026-11-07T06:06:55Z",
    "newest_decision": "2026-11-06",
    "products_behind_ema": 20,
    "product": {
      "register_checked": "2026-11-07T10:21:13.264Z",
      "latest_official_annex": {
        "annex": "171213",
        "date": "2026-10-12"
      },
      "ema_decision_date": "2026-06-11",
      "behind_ema": false,
      "provisional_version": null
    }
  },
  "wording": {
    "excerpts": false,
    "note": "Verbatim wording of the product information is withheld pending rights clearance. Section facts (which sections changed, kind, word and edit counts, procedures, decision, dates) are served; read the w..."
  },
  "source": {
    "credits": [
      "Source: European Commission, Union Register of medicinal products, https://ec.europa.eu/health/documents/community-register/ (© European Union, 1995-2026, reused under CC BY 4.0, https://creativecommo...",
      "Source: European Medicines Agency (EMA), www.ema.europa.eu."
    ],
    "acknowledgement": "Source: European Commission, Union Register of medicinal products, https://ec.europa.eu/health/documents/community-register/ (© European Union, 1995-2026, reused under CC BY 4.0, https://creativecommo...",
    "data_version": "503e76e3a6cc@2026-11-09T21:57:53.665Z",
    "union_register": "https://ec.europa.eu/health/documents/community-register/html/h1251.htm",
    "ema_page": "https://www.ema.europa.eu/en/medicines/human/EPAR/ozempic"
  }
}

Automated and unreviewed. Mutatis reads official sources automatically and no person checks each answer. Data can be incomplete, late or wrong. Always verify against the official source linked with every answer before you act. Not legal, tax, customs or medical advice. Not medical advice: ask a pharmacist or doctor. A change record says where an official document changed, not what the change means for a patient, and it is not a clinical recommendation.