CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-fhirpy

Async/sync FHIR client for Python providing comprehensive API for CRUD operations over FHIR resources

68

1.07x
Overview
Eval results
Files

Evaluation results

67%

-5%

Observation Search Builder

Search parameter formatting (chained params, Raw, datetime/bool/reference handling)

Criteria
Without context
With context

Chained identifier

100%

100%

Datetime bound

100%

100%

Reference formatting

50%

25%

Boolean handling

46%

46%

Raw passthrough

50%

50%

43%

-7%

FHIR Resource Builder

Resource creation and serialization

Criteria
Without context
With context

Patient build

60%

40%

Reference usage

0%

0%

Observation build

50%

50%

Bundle assembly

50%

40%

Serialize outputs

100%

100%

90%

Dual-Mode FHIR Adapter

Dual sync/async FHIR clients

Criteria
Without context
With context

Sync setup

100%

100%

Async setup

100%

100%

Patient fetch

75%

75%

Observation create

80%

80%

Async parity

100%

100%

95%

-5%

FHIR Result Retrieval Helpers

Fetching results (fetch/fetch_all/fetch_raw/first/get/count)

Criteria
Without context
With context

Direct get

100%

75%

First helper

100%

100%

Paged appointments

100%

100%

Server count

100%

100%

Raw encounters

100%

100%

100%

Patient Observation Query Builder

SearchSet query builder (search/limit/sort/elements/include/has)

Criteria
Without context
With context

Search filters

100%

100%

Limit & sort

100%

100%

Element selection

100%

100%

Includes

100%

100%

Reverse chaining

100%

100%

Search execution

100%

100%

63%

53%

FHIR Nested Path Toolkit

Nested path helpers (get_by_path/set_by_path)

Criteria
Without context
With context

Path retrieval

0%

100%

Default handling

0%

100%

Path setting

0%

0%

Copy via helpers

0%

53%

Path syntax fidelity

100%

100%

98%

20%

Patient Registry CRUD

CRUD helpers (create/save/update/patch/delete/get)

Criteria
Without context
With context

Client setup

100%

100%

Patient creation

100%

100%

Fetch existing

50%

100%

Patch contact

100%

100%

Delete handling

53%

100%

Resource output

50%

80%

19%

9%

Reference Workflow Helper

Reference utilities (to_resource/to_reference/execute)

Criteria
Without context
With context

Reference creation

0%

0%

Canonical export

0%

0%

Resource resolution

0%

20%

Operation execution

0%

20%

Display handling

100%

80%

Mixed input support

0%

30%

41%

-16%

Typed FHIR Gateway

Typed model integration and dump_resource customization

Criteria
Without context
With context

Client setup

100%

60%

Typed models

20%

20%

Typed save

60%

50%

Typed fetch

53%

20%

Typed search results

53%

53%

65%

Paginated Encounter Bundle Builder

Pagination and include/revinclude iteration with fetch_raw and reference conversion

Criteria
Without context
With context

Paginated search

25%

25%

Forward include iterate

50%

50%

Reverse include

50%

50%

Raw bundle

100%

100%

Reference objects

100%

100%

Install with Tessl CLI

npx tessl i tessl/pypi-fhirpy
Evaluated
Agent
Claude Code

Table of Contents