Skip to content

Releases: smart-on-fhir/client-py

v4.2.1

09 Sep 14:04
e7123d5
Compare
Choose a tag to compare

What's Changed

  • Fixes an import error in FHIRClient.patient property code by @mikix in #177

Full Changelog: v4.2.0...v4.2.1

4.2.0

23 Jul 13:35
796ffa6
Compare
Choose a tag to compare

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

Full Changelog: v4.1.0...v4.2.0

Release v4.1.0

14 Sep 06:26
cf7bab2
Compare
Choose a tag to compare

Installation

pip install fhirclient==4.1.0

What's Changed

New Contributors

Full Changelog: v4.0.0...v4.1.0

R4 Update

08 May 20:30
Compare
Choose a tag to compare
Update to FHIR 4.0.0 (#67)

Updates Data models to R4 and closes #59.