Skip to content

Releases: dcarbone/php-fhir

v1.0.6: psr/log compatibility updates

14 Oct 20:58
Compare
Choose a tag to compare
Pre-release

Addresses #73.

  • Add very small compatibility layer for newer psr/log versions
  • Remove dependence on myENA package(s).

v2.0.8: Decimal precision backport

26 Jul 13:31
c4a6da0
Compare
Choose a tag to compare

The v3.x development addressed an where decimal precision was not retained between unserialization -> serialization. This release backports that fix into the v2.x series of releases.

v2.0.7: Error handling improvements

26 Jul 13:30
Compare
Choose a tag to compare

Improves compatibility with external libraries and frameworks by no longer globally forcing errors to exceptions.

v2.0.5: Base64Binary bugfix

26 Dec 16:19
Compare
Choose a tag to compare

A template syntax error caused the _writeToFile method present on FHIRBase64Binary to be commented out. This has been corrected.

v2.0.4: Basic validation

22 Dec 07:52
Compare
Choose a tag to compare

All types now have basic validation methods _getValidationErrors() and _getValidationRules(). These are based on constraints found in parsing the definition xsd's, and should only be used as guide as many providers deviate from the spec constraints.

v2.0.3: JSON Unmarshalling and Marshalling improvements

07 Dec 16:46
Compare
Choose a tag to compare
  • Types that have {name} and _{name} entries in their json representation will now be constructed if either / or are present.
  • Class properties that are not FHIR values are private once again
  • The JSON portion of the generated phpunit tests now assert equivalency between the original representation and the re-encoded version after going through the unmarshal -> marshal routine
  • Constructors are now a little bit cleaner, and hopefully easier to read.
  • Minor other improvements.

v2.0.2: DSTU1 and DSTU2 improvements

30 Nov 23:43
Compare
Choose a tag to compare

Some minor improvements focused at DSTU1 and DSTU2 types that extend primitive types

v2.0.1: Serialization and construction improvements

30 Nov 21:21
Compare
Choose a tag to compare

This release addresses a few issues with xml serialization and unserialization for primitive types and primitive type extensions.

v2.0.0: Serialization and primitive improvements.

29 Nov 23:38
7fa2812
Compare
Choose a tag to compare

This released introduces a new scheme for -list and -primitive types, whereby they are now allowed to extend other primitive classes per their definition in the FHIR specification.

This means that all -list type classes have moved out of the base namespace and into a sub-namespace under the name of the primitive they are extending. This is the primary reason that this is a major release rather than a minor.

There has also been work on changing how the primitive validation system works. Now, all properties on any type can have validation clauses. This work has not been finished yet, and I am targeting it for the next point release.

There has also been work on improving the json and xml serialization output, specially around how "value container" types are handled. Hopefully the current result is universally acceptable to implementors of this library.

v1.0.5: Lifecycle improvements

17 Nov 04:53
Compare
Choose a tag to compare

This release includes:

  • Support for fhir_comments arrays during json serialization and unserialization
  • Improved support for "value container" types during json and xml serialization and unserialization.