This file documents any backwards-incompatible changes in EHRBase and assists users migrating to a new version.
EHRbase 2.0.0 comes with a completely overhauled data structure that is not automatically migrated when deploying this new version over an older data structure.
To support the migrating of data from systems pre-2.0.0 to 2.0.0, a migration tool and instructions are provided
at https://github.com/ehrbase/migration-tool.
Updating an EHR_STATUS or FOLDER did not check the If-Match header against the DB. This allowed to pass in an
invalid identifier that does not match the existing in the DB. This may have lead to inconsistent data in some systems.
To check if any EHR_STATUS or FOLDER is affected run ehrbase_2.7.0_check_ehr_status_and_folder_void.
In case you see an output like:
Inconsistent EHR_STATUS found
Inconsistent FOLDER found
Please open an issue so that a fix can be provided.
Starting from version 2.0.0 the ehrscape API was deprecated.
With the release of version 2.10.0, the API is now disabled by default,
but can still be enabled by setting the configuration property or environment variable ehrbase.rest.ehrscape.enabled to true.
A validation that compositions only contain nodes that are defined by the template has been added.
This behavior can be disabled by setting the configuration property or environment variable ehrbase.validation.checkForExtraNodes to false.