Skip to content

Version algorithm

Version algorithm indicates the mechanism used to compare versions to determine which is more current.

There are four resources that version algorithm is applied to:

  • Structure Definition
  • Code System
  • Value Set
  • Concept Map

When a resource from the list above is called by url without version specified in it, the Kodjin FHIR Server defines the latest business version of the resource based on the version algorithm and returns it.

The resource can not be updated with a version that has version algorithm differnet from the one that is in the resource

The table below describes version algorithms, used in the Kodjin FHIR Server:

Code Definition
semver Uses the semantic versioning scheme as defined in semver.org icon.
integer Versions are integers and ordered numerically
alpha Simple alphabetic sort on a case-insensitive and accent-insensitive basis. (Sorting of different cases or accented versions of a character is indeterminate)
date Versions are expressed as an ISO date/time syntax (including syntaxes with only portions of a date)