Skip to main content

%ZHSLIB.Version

abstract class %ZHSLIB.Version

This class provides various HealthShare product version information. Format and method naming is inspired by %SYSTEM.Version.

Method Inventory

Methods

classmethod GetAdhocNumber(pBuildNumber As %String = $Get($$$BuildNumberGbl)) as %Integer
Returns the adhoc number of the full build number for the product with format: ......
Returns 0 if no adhoc number present.
@Argument pBuildNumber Unique build number of the build. Default to be the current build number.
@API.Method
classmethod GetBuildNumber(pBuildNumber As %String = $Get($$$BuildNumberGbl)) as %Integer
Returns the number of the full build number for the product with format: ......
@Argument pBuildNumber Unique build number of the build. Default to be the current build number.
@API.Method
classmethod GetFullBuildNumber() as %String
Returns the full build number ..... for the product.
@API.Method
classmethod GetMaintenance(pBuildNumber As %String = $Get($$$BuildNumberGbl)) as %Integer
Returns the maintenance version of the full build number for the product with format: ......
@Argument pBuildNumber Unique build number of the build. Default to be the current build number.
@API.Method
classmethod GetMaintenanceWithSuffix(pBuildNumber As %String = $Get($$$BuildNumberGbl)) as %String
Returns the maintenance version of the full build number for the product with format: ......
Does not force to an integer so any character suffix (such as 0HS) remains. @Argument pBuildNumber Unique build number of the build. Default to be the current build number.
@API.Method
classmethod GetMajor(pBuildNumber As %String = $Get($$$BuildNumberGbl)) as %Integer
Returns the major version of the full build number for the product with format: ......
@Argument pBuildNumber Unique build number of the build. Default to be the current build number.
@API.Method
classmethod GetMinor(pBuildNumber As %String = $Get($$$BuildNumberGbl)) as %Integer
Returns the minor version of the full build number for the product with format: ......
@Argument pBuildNumber Unique build number of the build. Default to be the current build number.
@API.Method
classmethod GetNumber(pBuildNumber As %String = $Get($$$BuildNumberGbl)) as %String
Returns the .. part of the full build number for the product with format: ......
@Argument pBuildNumber Unique build number of the build. Default to be the current build number.
@API.Method
classmethod GetNumberWithSuffix(pBuildNumber As %String = $Get($$$BuildNumberGbl)) as %String
Returns the .. part of the full build number for the product with format: ......
The number is returned with its character suffix.
@Argument pBuildNumber Unique build number of the build. Default to be the current build number.
@API.Method
classmethod GetPatch(pBuildNumber As %String = $Get($$$BuildNumberGbl)) as %Integer
Returns the patch number of the full build number for the product with format: ......
@Argument pBuildNumber Unique build number of the build. Default to be the current build number.
@API.Method
FeedbackOpens in a new tab