Skip to content

voiage.ecosystem_integration.TreeAgeConnector

Repository-authored decision-tree XML profile connector.

import_treeage_model([positional or keyword] self: None = None, [positional or keyword] file_path: str = None) -> dict[str, Any]

Import a repository-authored decision-tree XML profile.

The legacy method name is retained for compatibility. It does not imply that TreeAge product exports are accepted or round-trip verified.

Args: file_path: Path to a .voiage.xml profile file

Parsed model structure compatible with voiage

Parameters:

  • self
  • file_path str

Returns: dict[str, Any]

export_to_treeage([positional or keyword] self: None = None, [positional or keyword] health_analysis: HealthEconomicsAnalysis = None, [positional or keyword] output_path: str = None) -> None

Export a voiage analysis to the repository-authored XML profile.

The legacy method name is retained for compatibility. The result is not asserted to be a TreeAge product format.

Args: health_analysis: Health economics analysis to export output_path: Output file path

Parameters:

  • self
  • health_analysis HealthEconomicsAnalysis
  • output_path str

Returns: None

convert_to_voi_analysis([positional or keyword] self: None = None, [positional or keyword] model_structure: dict[str, Any] = None) -> dict[str, Any]

Convert the repository XML profile to a voiage analysis mapping.

Parameters:

  • self
  • model_structure dict[str, Any]

Returns: dict[str, Any]