Home > Class Reference > HSLIB namespace > HS.Util.Installer.Foundation

HS.Util.Installer.Foundation

persistent class HS.Util.Installer.Foundation extends HS.Util.Installer.ConfigItem

SQL Table Name: HS_Util_Installer.Foundation

Foundation Installer

Property Inventory

Method Inventory

Parameters

parameter TYPE = Foundation;
TYPE is used to default the Type property
parameter UITIER = 2;
Parameter that controls the relative importance of this component type in the HealthShare Home UI for selecting namespaces. Lower values indicate components that should appear earlier in the UI. The value is used as the default return value for the GetConfigTypeUITier()() helper method.

Properties

property HubEndpoint as HS.Types.EndPoint;
The Hub WS address - for sub types of foundation, and potentially foundation at some point
Property methods: HubEndpointDisplayToLogical(), HubEndpointGet(), HubEndpointGetStored(), HubEndpointIsValid(), HubEndpointLogicalToDisplay(), HubEndpointLogicalToOdbc(), HubEndpointNormalize(), HubEndpointSet()

Methods

classmethod AdditionalSetup(pNamespace, ByRef pVars, ByRef pLogFile) as %Status [ Language = objectscript ]
Generic foundation namespace versus PatientIndex or Analytics, Community
classmethod CreateProduction(ByRef pVars, ByRef pLogFile, pNamespace) as %Status [ Language = objectscript ]
classmethod Install(pNamespace As %String, ByRef pVars) as %Status [ Language = objectscript ]
Install a Foundation in the specified namespace. pVars allows you to override/change configuration parameters, which will be updated in the HS.Util.Installer.ConfigItem database:
  • LogFile - current log file for install operation
  • Type - hardcoded to "Foundation"
  • Component - current component name
  • Kits - list of class names of kits to install (%Library.ListOfDataTypes)
  • Production - class name of production, default namespacePKG.BusProduction
  • Template - production template to use
  • Description - a description of the production
classmethod Reset(pDummy As %Integer = 0) as %Status [ Language = objectscript ]
Reset calls the Reset() method on all classes that extend HS.Util.Installer.Foundation.Reset. If multiple Reset() calls are made, the failure of one call does not abort the execution of this method. All failure statuses are gathered into one %Status object that is then returned by this method.
classmethod UnInstall(pNamespace As %String, pPurgeFiles As %Boolean = 0) as %Status [ Language = objectscript ]
Inherited description: Most callers will pass 1 to purgefiles This will attempt to clean up as much as possible, even if things are partially deleted

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (HS.Util.Installer.ConfigItem)

^%SYS("HealthShare","Instances")(ID)
=
%%CLASSNAME
CreatedAt
Template
Production
Activated
LastActivated
Description
Disabled
HSComponentName
Products
AuditProduction
DatabaseLocation

Storage Model: Storage (HS.Util.Installer.ConfigItem)

^%SYS("HealthShare","Instances")(ID,"HSLIB")
=
%HSLIB

Storage Model: Storage (HS.Util.Installer.ConfigItem)

^%SYS("HealthShare","Instances")(ID,"Type")
=
Type

Storage Model: Storage (HS.Util.Installer.Foundation)

^%SYS("HealthShare","Instances")(ID,"Foundation")
=
HubEndpoint
FeedbackOpens in a new window