Function rm_system_version_from_env_value

Source
pub fn rm_system_version_from_env_value(
    value: Option<NonEmptyText>,
) -> PatientResult<RmVersion>
Expand description

Parse the RM system version from an optional string value.

If value is None or empty/whitespace, returns the latest supported RM.

§Arguments

  • value - Optional string representation of an RM version (e.g., “1.0.4”)

§Returns

The parsed RmVersion or the latest supported version if no value provided.

§Errors

Returns PatientError if the version string cannot be parsed.