Skip to content

Latest commit

 

History

History
361 lines (193 loc) · 10.3 KB

HISTORY.rst

File metadata and controls

361 lines (193 loc) · 10.3 KB

History

7.0.3 (unreleased)

  • Nothing changed yet.

7.0.2 (2023-07-03)

  • Issue 124 on the wake of 2.x pydantic release, pydantic's max version restriction added.

7.0.1 (2023-05-29)

Fixes

7.0.0 (2023-04-08)

New Feature

Breaking

  • All root resources (FHIR version R4B) are moved under sub-package R4B. Have a look at the migration guide.

6.5.0 (2023-01-01)

Breaking

Improvements

  • Issue #90 logging level downgraded from warning to debug.
  • Primitive URL type is now accepting the relative path without prefix "/".

6.4.0 (2022-05-11)

Bugfixes

Improvements

  • Issue #97 Now null value accepted as a member of String List.
  • Primitive DataType Ùrl` is now accepting relative path.

Breaking

6.2.2 (2022-04-02)

  • Issue #96, fixes datetime's ISO format representation for YAML. [nazrulworld]

6.2.1 (2022-01-14)

  • Issues #89 & #90 possible breaking for FHIRAbstractModel.dict (if pydnatic specific extra argument has been provided) is neutralized.[nazrulworld]

6.2.0 (2022-01-01)

Bugfixes

  • Issue #88 fixes typo mistake. Resource name const was wrong. [nazrulworld]

6.2.0b3 (2021-06-26)

New Feature

  • String type class is now configurable, it is possible to allow empty str value.

Bugfixes

6.2.0b2 (2021-04-05)

New Feature

  • Parsing YAML file or string/bytes contents, now accept extra parameter loader class.
  • Parsing from XML file or string/bytes contents are now supported. With possible to provide xmlparser for schema validation purpose.

Bugfixes

  • Added correct fhir version name into Primitive Type Base class for STU3 and DSTU2.

6.2.0b1 (2021-03-31)

New Feature

  • Issue #47 add YAML support.
  • Issue #51 Help on converting XML to FHIR format.
  • Issue #63 Now JSON output key's sequence is matching with original FHIR specification.

Breaking

  • FHIRAbstractModel.json() and FHIRAbstractModel.dict() parameters signatures are more FHIR specific and additional parameters are removed (pydantic specific).

Bugfixes

  • Added missing element_property field attribute for class FHIRPrimitiveExtension.

6.1.0 (2021-02-13)

  • Breaking/Fixes: PR#48 Resource.id type has been replaced with fhirtypes.Id from fhirtypes.String (only for R4) [ItayGoren]
  • Fixes: constraints regex for fhirtypes Id, Code, Integer, Decimal, UnsignedInt, PositiveInt and so on. [nazrulworld]

6.0.0 (2020-12-17)

  • Issue #21 Remaining resources are added. [iatechicken]

6.0.0b11 (2020-11-25)

  • Fixes: wrong ClaimResponseAddItemAdjudicationType resource type name into DTSU2.

6.0.0b10 (2020-11-15)

Improvements

  • FHIRAbstractModel::add_root_validator is more improved and practical with proper validation, more now possible provide class method as root validator.

Bugfixes

  • Issue #41 pydantic.errors.ConfigError: duplicate validator function.

6.0.0b9 (2020-11-05)

Improvements

  • Now supports of simplejson is available automatically (depends on importable) along side with orjson and default json library. Order of json serializer available (orjson -> simplejson(as fallback) -> json(as default)).

Breaking

  • orjson is not available by default, have to use extra_require orjson to available that.

6.0.0b8 (2020-11-02)

  • pydantic minimum version has been set to 1.7.2.

6.0.0b7 (2020-10-31)

If you face import error ``from pydantic.utils import ROOT_KEY``, please upgrade your pydnatic version to <1.7

Fixes

  • Issue #39 added compatibility with pydantic version between 1.6.x and 1.7.x [nazrulworld]

Improvements

6.0.0b6 (2020-10-24)

Improvements

  • FHIRAbstractModel::json now takes additional parameter return_bytes, indicates json string would be bytes. [nazrulworld]
  • Issue#38 Add support for FHIR comments. As per suggestion of comments in json from Grahame Grieve, now fhir_comments is accepted. [nazrulworld]
  • FHIR comments filter option is added in FHIRAbstractModel::json, means it is possible to exclude any comments while generating json string by providing parameter exclude_comments value. [nazrulworld]
  • More FHIR DSTU2 resources have been added. [Itay Goren]

6.0.0b5 (2020-10-04)

Improvements

  • visionprescription and supplyrequest resources added for DSTU2 [iatechicken]

Fixes

6.0.0b4 (2020-09-24)

Improvements

  • orjson_ supports have been available as default json dumps and loads for Model.
  • FHIRAbstractModel::get_json_encoder class method now available, which return pydantic compatible json encoder callable, can be used with any json serializer.
  • More DSTU2 FHIR Resources have added, nazrulworld#21. Thanks to [mmabey].

Fixes

  • Fixes URL validation in the case where a primitive type is used as URL (which is allowed in StructureDefinition). [simonvadee]
  • Fixes Issue#19 Getting validation errors that don't make sense.

6.0.0b3 (2020-08-07)

  • FHIRAbstractModel::get_resource_type class method now available, which returning name of the resource.

6.0.0b2 (2020-07-09)

  • FHIRAbstractModel::element_properties class method now available, which returning generator of ModelField, those are elements of the resource.
  • Minor fixes on enum_values.

6.0.0b1 (2020-07-05)

Revolutionary evolution has been made, now fully rewritten with modern python, underlying APIs (almost all) have been changed. Please have look at readme section, for howto.

Improvements

Breaking

  • Drop support for python 2.7.

5.1.0 (2020-04-11)

Improvements

5.0.1 (2019-07-18)

Bugfixes:

  • Issue#5 confusing error message "name 'self' is not defined" [nazrulworld]

5.0.0 (2019-06-08)

  • Nothing but release stable version.

5.0.0b3 (2019-05-14)

New features

5.0.0b2 (2019-05-13)

Breaking or Improvments

  • elementProperties: element now has extra property type_name. Now format like (name, json_name, type, type_name, is_list, "of_many", not_optional) The type_name refers original type name (code) from FHIR Structure Definition and it would be very helpful while making fhir search, fhirpath navigator.

5.0.0b1 (2019-01-19)

New features

  • Implemented own build policy, now previous version of FHIR® resources are available as python sub-package.

Build info

  • Default version is R4 (see version info at 4.0.0b1 (2019-01-13) section)
  • STU3 (see version info at 3.0.1 (2019-01-13) section)

4.0.0 (2019-01-14)

  • see version info at 4.0.0b1 section.

4.0.0b1 (2019-01-13)

Version Info (R4)

[FHIR]
FhirVersion=4.0.0-a53ec6ee1b
version=4.0.0
buildId=a53ec6ee1b
date=20181227223754

3.0.1 (2019-01-13)

Version Info (STU3)

[FHIR]
FhirVersion=3.0.1.11917
version=3.0.1
revision=11917
date=20170419074443