Skip to content

Releases: openmhealth/schemas

v1.2.1

06 Oct 13:35
Compare
Choose a tag to compare

This is a minor release recommended for all users.

  • Adds SDK support for
    • omh:speed:1.0 which represents a speed measurement

v1.2.0

02 Oct 21:52
Compare
Choose a tag to compare

This is a major release that is recommended for all users.

  • Adds SDK support for
    • omh:geoposition:1.0 which represents a geographic position
    • omh:plane-angle-unit-value:1.0, which represents an angle of arc
    • omh:positioning-system:1.0, which represents different geopositioning systems
    • omh:calories-burned:2.0, which requires a time interval effective time frame and adds descriptive statistic denominator support
    • unit value factory methods for all units

v1.1.0

11 Aug 01:14
Compare
Choose a tag to compare

This is a major release that is recommended for all users.

  • Adds SDK support for

    • omh:body-mass-index:2.0, which changes the BMI unit to kg/m^2 and requires an effective time frame
    • omh:heart-rate:1.1, which adds a temporal-relationship-to-sleep property
    • omh:sleep-duration:2.0, which requires a time interval effective time frame and adds descriptive statistic denominator support
    • omh:sleep-episode:1.0, a new schema that captures more information about sleep episodes beyond duration
    • omh:step-count:2.0, which requires a time interval effective time frame and adds descriptive statistic denominator support
  • Upgrades to Gradle 4.1 for faster builds

  • Turns on deprecation and unchecked compiler warnings for more robust code

Migration notes

In order to support multiple versions of the same measure class, each class corresponding to a 2.x schema has been renamed; the suffix 1 has been added to the old class name, and the new class has a 2 suffix. While this is technically a breaking change, the migration path is to extend any 1 class you were using and remove the suffix from the child class name, e.g. class SleepDuration extends SleepDuration1. This should make your code compile again. Should you wish to start using version 2, you can then change the parent class to the new version.

v1.0.6

11 Apr 21:22
Compare
Choose a tag to compare

This is a minor release that is recommended for all users.

  • Adds a free-form measure type to facilitate programmatic measure construction
  • Updates additional property support to allow path-based property setting
  • Makes schema namespace and name patterns public for use by validation code

v1.0.5

08 Feb 22:45
Compare
Choose a tag to compare

This is a minor release that is recommended for all users. It contains a small hotfix that makes public the SCHEMA_ID property for the OxygenSaturation schema SDK class. Previously this property was private.

v1.0.4

13 Jan 10:11
Compare
Choose a tag to compare

This is a minor release recommended for all users.

v1.0.3

15 Aug 08:59
Compare
Choose a tag to compare

A minor update recommended for all users of the Java schema SDK.

  • add a measure type parameter to measure builders, allowing callers to reference abstract measure builders while still preserving type safety

v1.0.2

03 Jul 08:24
Compare
Choose a tag to compare

A minor update recommended for all users of the Java schema SDK.

  • add missing default constructors required by persistence of serialization
  • fix #3
  • add TestNG integration to the build process to validate all test files

Travis integration was also enabled to easily see the build and test status of the SDK.

v1.0.1

26 Jun 03:54
Compare
Choose a tag to compare

A minor update recommended for all users of the Java schema SDK.

  • add support for user IDs in the header schema
  • add support for additional properties
  • enable TestNG support during Gradle builds
  • fix serialization issues in version POJO