Skip to main content

HS.BulkFHIR.Installer

class HS.BulkFHIR.Installer extends HS.BulkFHIR.Util.Security

Method Inventory

Methods

classmethod AddSQLProceduresToRole(pNamespace As %String, pRole As %String, pSQLProceduresList As %List)
classmethod CSPAppExists(pCSPApp, ByRef pAppObj, ByRef pSC) as %Boolean
classmethod CleanupOutstandingEndpoints()
Called by ExpireTask which runs hourly to cleanup any endpoints from ^HS.BFC.AppsToDelete(type,endpoint)=queued time by checking to see if the endpoint is stil in use
classmethod Configure(pBFCconfig As HS.BulkFHIR.API.Data.Config, pPermitNonResponsiveTargetFHIRServer As %Boolean = 0)
@API Configures/re-configures a Bulk FHIR Coordinator in the current namespace @Input pBFCconfig configuration object containing the settings, adapters, and adapter configurations needed to set up a Bulk FHIR Coordinator. May either be an instance of Data.Config, or a %DynamicObject @Input pPermitInactiveTargetFHIRServer ... supports upgrade cases where the target FHIR server may not be active
classmethod ConfigureConfigElseSaveInactive(pBFCConfig As %DynamicObject, Output pSavedAsInactive As %Boolean) as %Status
Given @Input pBFCConfig if the input config is NOT inactive (i.e. active), this method will first attempt to save & fully implement the config, with permissive flags (otherwise mostly also validating the config) if this attempt fails, then will fall back to save without implementing, which will result in the config being marked as inactive & the @Output pSavedAsInactive being set to true if the input config IS inactive, this method will just save the config without implementation Returns @Output status whether the save was successful, and param Output pSavedAsInactive whether the save was inactive
classmethod Export(pBFCurl As %String) as HS.BulkFHIR.API.Data.Config
@API Returns the configuration definition currently in use for the BFC
classmethod GetBaseCapabilityStatement(pBFCConfig As HS.BulkFHIR.API.Data.Config) as %DynamicObject
classmethod GetResourceServerMetadata(pURL As %String, Output pMetadata As %DynamicObject, pSSLConfiguration As %String = "") as %String
classmethod SaveConfigWithoutConfigure(pBFCConfig As %DynamicObject) as %Status
to save a configuration w/o implementing it, thereby also marking it as "inactive" Will disable the config from being able to export
classmethod SetHttpTimeoutDefault(pTimeoutSecs As %Integer, pForce As %Boolean = 0)
Set the local namespace default for %Net.HttpRequest Timeout. Must explicitly state to override existing value if any.
classmethod ValidateConfigure(config As %RegisteredObject, requiredClassname As %String)
Logic shared across all Configure methods to validate the config object and ensure the configuration changes should be allowed to take place.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab