---
title: "fhirpathpy 3.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each fhirpathpy release removed, renamed or changed: 19 breaking changes in 2 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/fhirpathpy
last_updated: 2026-12-04
---

# fhirpathpy breaking changes

fhirpathpy 3.0.0 (December 3, 2026) is its newest release with breaking changes, 18 of them. The first: Removed fhirpathpy.engine.invocations.aggregate.count_fn. Every breaking API change we have recorded in fhirpathpy on PyPI: 19 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.0.2`, released December 4, 2026. [Source repository](https://github.com/beda-software/fhirpath-py)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [2.2.5](#v-2-2-5) to [3.0.0](#v-3-0-0): 18 breaking changes in 1 version.

## fhirpathpy 3.0.0 breaking changes

fhirpathpy 3.0.0, released December 3, 2026: 18 breaking changes.

- **Removed** `fhirpathpy.engine.invocations.aggregate.count_fn`  

fhirpathpy.engine.invocations.aggregate.count_fn was removed in fhirpathpy 3.0.0 [pypi.org](https://pypi.org/project/fhirpathpy/3.0.0/)
- **Removed** `fhirpathpy.engine.invocations.equality.remove_duplicate_extension`  

fhirpathpy.engine.invocations.equality.remove_duplicate_extension was removed in fhirpathpy 3.0.0 [pypi.org](https://pypi.org/project/fhirpathpy/3.0.0/)
- **Removed** `fhirpathpy.engine.invocations.math.remove_duplicate_extension`  

fhirpathpy.engine.invocations.math.remove_duplicate_extension was removed in fhirpathpy 3.0.0 [pypi.org](https://pypi.org/project/fhirpathpy/3.0.0/)
- **Behavior changed**  

Member access now returns a primitive and its \_x element as one item, so count(), first(), last(), comparisons and output see one value. Use .id, .extension, children() or descendants() to read the element. [github.com](https://github.com/beda-software/fhirpath-py/releases/tag/v3.0.0)
- **Behavior changed**  

The =, != and \~ operators now compare every item of a collection, not only the first. The \~ operator ignores order. [github.com](https://github.com/beda-software/fhirpath-py/releases/tag/v3.0.0)
- **Behavior changed**  

Date-only values are now typed as Date rather than DateTime, so code that expects DateTime for them will behave differently. [github.com](https://github.com/beda-software/fhirpath-py/releases/tag/v3.0.0)
- **Behavior changed**  

String functions now raise an error when given date/time values. Convert such values to strings before calling them. [github.com](https://github.com/beda-software/fhirpath-py/releases/tag/v3.0.0)
- **Behavior changed** `compile`  

compile now returns date/time and Quantity values as str. Use returnRawData to keep the objects. [github.com](https://github.com/beda-software/fhirpath-py/releases/tag/v3.0.0)
- **Behavior changed** `evaluate`  

evaluate and compile now return date/time and Quantity values as str. Use returnRawData to keep the objects. [github.com](https://github.com/beda-software/fhirpath-py/releases/tag/v3.0.0)
- **Behavior changed** `exists`  

exists(criteria) now drops items whose criteria evaluates to a resource false. [github.com](https://github.com/beda-software/fhirpath-py/releases/tag/v3.0.0)
- **Behavior changed** `not`  

not() now raises an error on more than one item instead of returning an empty collection. [github.com](https://github.com/beda-software/fhirpath-py/releases/tag/v3.0.0)
- **Behavior changed** `where`  

where() now drops items whose criteria evaluates to a resource false. [github.com](https://github.com/beda-software/fhirpath-py/releases/tag/v3.0.0)
- **Signature changed** `fhirpathpy.engine.invocations.FP_DateTime.__hash__`  

Was \_\_hash\_\_; now def \_\_hash\_\_(self). [pypi.org](https://pypi.org/project/fhirpathpy/3.0.0/)
- **Signature changed** `fhirpathpy.engine.invocations.FP_Time.__hash__`  

Was \_\_hash\_\_; now def \_\_hash\_\_(self). [pypi.org](https://pypi.org/project/fhirpathpy/3.0.0/)
- **Signature changed** `fhirpathpy.engine.invocations.math.minus`  

Was def minus(ctx, xs\_, ys\_); now def minus(ctx, xs, ys). [pypi.org](https://pypi.org/project/fhirpathpy/3.0.0/)
- **Signature changed** `fhirpathpy.engine.invocations.math.plus`  

Was def plus(ctx, xs\_, ys\_); now def plus(ctx, xs, ys). [pypi.org](https://pypi.org/project/fhirpathpy/3.0.0/)
- **Signature changed** `fhirpathpy.engine.nodes.FP_DateTime.__hash__`  

Was \_\_hash\_\_; now def \_\_hash\_\_(self). [pypi.org](https://pypi.org/project/fhirpathpy/3.0.0/)
- **Signature changed** `fhirpathpy.engine.nodes.FP_Time.__hash__`  

Was \_\_hash\_\_; now def \_\_hash\_\_(self). [pypi.org](https://pypi.org/project/fhirpathpy/3.0.0/)

## fhirpathpy 2.2.5 breaking changes

fhirpathpy 2.2.5, released December 3, 2026: 1 breaking change.

- **Behavior changed**  

Converting a FHIR Quantity that has a comparator now raises instead of silently converting it. Code that converts such Quantities must handle the error. [github.com](https://github.com/beda-software/fhirpath-py/releases/tag/v2.2.5)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
