Fhirclient

Latest version: v4.3.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

4.3.0

Changes
* Support for Python 3.8 has been dropped, as it is now end-of-life.
* Add pagination functionality to `FHIRSearch` by LanaNYC in https://github.com/smart-on-fhir/client-py/pull/169 and https://github.com/smart-on-fhir/client-py/pull/174
- This adds two new methods: `FHIRSearch.perform_iter` and `FHIRSearch.perform_resources_iter`, which automatically handle the pagination for you.
- It changes `FHIRSearch.perform_resources` to handle pagination behind the scenes, so you don't miss out on any resources. But in order to avoid breaking the API for current users, it does keep them all in memory at once.
- It deprecates the previous versions of those methods (`perform` which has no pagination, and `perform_resources` which now keeps everything in memory)

Improvements
* oauth: handle a string `expires_in` value gracefully by mikix in https://github.com/smart-on-fhir/client-py/pull/181

New Contributors
* LanaNYC made their first contribution in https://github.com/smart-on-fhir/client-py/pull/169

**Full Changelog**: https://github.com/smart-on-fhir/client-py/compare/v4.2.0...v4.3.0

4.2.1

What's Changed
- Fixes an import error in FHIRClient.patient property code by mikix in https://github.com/smart-on-fhir/client-py/pull/177

**Full Changelog**: https://github.com/smart-on-fhir/client-py/compare/v4.2.0...v4.2.1

4.2.0

Changes

- This release drops support for all currently end-of-life Python versions
(i.e. this release only supports 3.8 and above)
- FHIRDate is no longer a single catch-all for the four date & time fields in FHIR.
Now there are also FHIRDateTime, FHIRInstant, and FHIRTime classes, all of which
inherit from FHIRDate to ease the transition.
- If you were examining field types with `field_type is FHIRDate` before,
change your code to `issubclass(field_type, FHIRDate)`.
- The new classes have `.datetime` or `.time` fields as appropriate, but
a `.date` alias exists to ease the transition.
- The dependency on `isodate` has been removed.

Improvements

- Regenerate models from FHIR 4.0.1 (instead of 4.0.0) by mikix in 149
- Add ability to use JWT tokens for auth by armaghan-behlum in 133
- Detect oauth2 mode even if there's no authorize_uri by mikix in 135
- FHIR `time` fields are now parsed correctly by mikix in 164

Fixes

- Fix reauthorization to work beyond the first time by timharsch in 128
- Fix FHIRServer.request_data() to work at all by timharsch in 130
- Fix create() method for Bundle type transaction/batch by martinburchell in 105
- Stop injecting `models` into the Python modules list by mzbik in 151
- Use more entropy when generating auth tokens by mnitchie in 93
- Leap seconds in `datetime` and `instant` fields no longer raise a validation error
by mikix in 164

New Contributors

- armaghan-behlum made their first contribution in 133
- dogversioning made their first contribution in 154
- lere01 made their first contribution in 109
- martinburchell made their first contribution in 105
- mikix made their first contribution in 149
- mnitchie made their first contribution in 93
- mzbik made their first contribution in 150
- RileyMShea made their first contribution in 83
- timharsch made their first contribution in 128

**Full Changelog:** https://github.com/smart-on-fhir/client-py/compare/v4.1.0...v4.2.0

4.1.0

What's Changed
* Fix request header overwrite by BrianKolowitz in https://github.com/smart-on-fhir/client-py/pull/66
* Add include method to FHIRSearch objects by abjonnes in https://github.com/smart-on-fhir/client-py/pull/52
* Bump jinja2 from 2.7.3 to 2.11.3 by dependabot in https://github.com/smart-on-fhir/client-py/pull/97
* Add authorize for system app by ducu in https://github.com/smart-on-fhir/client-py/pull/117
* Prepare release version 4.1.0 by ducu in https://github.com/smart-on-fhir/client-py/pull/125

New Contributors
* BrianKolowitz made their first contribution in https://github.com/smart-on-fhir/client-py/pull/66
* dependabot made their first contribution in https://github.com/smart-on-fhir/client-py/pull/97
* ducu made their first contribution in https://github.com/smart-on-fhir/client-py/pull/117

**Full Changelog**: https://github.com/smart-on-fhir/client-py/compare/v4.0.0...v4.1.0

4.0.0

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.