Releases: migraf/fhir-kindling
Releases · migraf/fhir-kindling
v1.0.0
Improve packaging with poetry to slim down library size with optional extras for datascience features. Record linkage
for transfer functionality. Add support for Python 3.9+. Code base cleanup and refactoring. Added retry and benchmark functionality
Big upgrades to the documentation 👀.
Changed
- Breaking: Renamed
FHIRQueryclasses toFhirQuerySyncandFhirQueryAsyncfor naming consistency. - Breaking: Renamed
FHIRQueryParametersclass toFhirQueryParametersfor naming consistency. - Breaking: Query response
.save()method now only supports saving as XML or JSON file. To serialize resources and bundles use
theflattenfunction from theserdepackage. Requires installation of thedsextra. - Breaking: Moved
ServerSummaryand summary functionality into separate module. - Breaking: Unified
has()andwhere()parameter args into a single argument that accepts either a dict or a
parameter object. Removed_dictarguments. - Improve packaging with poetry and optional extras for datascience features and web app.
- Optional dependencies for [
ds,app] can be installed usingpip install fhir_kindling[{extra}]. - Split batch transactions into separate module to slim down
FhirServerclass. - Split
transferfunctionality into separate module to slim downFhirServerclass.
Added
- Optional progress bar for
summary,get_many,add_allandtransfermethods. - Additional property
resource_listonFhirQueryResponseto get a list of all resources (even included ones) from the response. summary_async()method for asynchronous server summary.totalproperty onQueryResponseto get the total number of resources returned by the query.record_linkagefunctionality fortransfer()method and split transfer functionality into separate module.- Retry functionality for the
FhirServerclass. Allowing for retrying failed requests based on the configured status codes and methods. Configurable with backoff and jitter. - Benchmark functionality for FhirServers that run a comprehensive set of tests against the server and measure the time it takes to complete them. Available only when the
dsextra is installed.
Removed
- Removed
to_dfs()method on query response object. Useflattenfunction from theserdepackage instead.
Requires installation of thedsextra. - Removed
requests-oauthlibin favor ofauthlib.