Skip to main content

HS.HC.FHIRSQL.Utils

class HS.HC.FHIRSQL.Utils extends %Library.RegisteredObject, HS.HC.FHIRSQL.Utils.Base

Property Inventory

Method Inventory

Parameters

parameter EXTENTCHEAT = 1;

Properties

property BaseClass as %Dictionary.ClassDefinition;
Property methods: BaseClassGet(), BaseClassGetObject(), BaseClassGetObjectId(), BaseClassGetSwizzled(), BaseClassIsValid(), BaseClassNewObject(), BaseClassSet(), BaseClassSetObject(), BaseClassSetObjectId(), BaseClassUnSwizzle()
property BaseStructure as %Dictionary.XDataDefinition;
Property methods: BaseStructureGet(), BaseStructureGetObject(), BaseStructureGetObjectId(), BaseStructureGetSwizzled(), BaseStructureIsValid(), BaseStructureNewObject(), BaseStructureSet(), BaseStructureSetObject(), BaseStructureSetObjectId(), BaseStructureUnSwizzle()
property ClassesToCompile as %String [ MultiDimensional ];
Property methods: ClassesToCompileDisplayToLogical(), ClassesToCompileGet(), ClassesToCompileIsValid(), ClassesToCompileLogicalToDisplay(), ClassesToCompileLogicalToOdbc(), ClassesToCompileNormalize(), ClassesToCompileSet()
property CurrentResource as %DynamicObject;
Property methods: CurrentResourceGet(), CurrentResourceGetObject(), CurrentResourceGetObjectId(), CurrentResourceGetSwizzled(), CurrentResourceIsValid(), CurrentResourceNewObject(), CurrentResourceSet(), CurrentResourceSetObject(), CurrentResourceSetObjectId(), CurrentResourceUnSwizzle()
property Differences as %DynamicArray;
Property methods: DifferencesGet(), DifferencesGetObject(), DifferencesGetObjectId(), DifferencesGetSwizzled(), DifferencesIsValid(), DifferencesNewObject(), DifferencesSet(), DifferencesSetObject(), DifferencesSetObjectId(), DifferencesUnSwizzle()
property FHIRCore as %String;
Property methods: FHIRCoreDisplayToLogical(), FHIRCoreGet(), FHIRCoreIsValid(), FHIRCoreLogicalToDisplay(), FHIRCoreLogicalToOdbc(), FHIRCoreNormalize(), FHIRCoreSet()
property Global as %String;
Property methods: GlobalDisplayToLogical(), GlobalGet(), GlobalIsValid(), GlobalLogicalToDisplay(), GlobalLogicalToOdbc(), GlobalNormalize(), GlobalSet()
property IndexIdx as %Integer;
Property methods: IndexIdxDisplayToLogical(), IndexIdxGet(), IndexIdxIsValid(), IndexIdxLogicalToDisplay(), IndexIdxNormalize(), IndexIdxSet()
property Map as %String [ MultiDimensional ];
Property methods: MapDisplayToLogical(), MapGet(), MapIsValid(), MapLogicalToDisplay(), MapLogicalToOdbc(), MapNormalize(), MapSet()
property Now as %String [ MultiDimensional ];
Property methods: NowDisplayToLogical(), NowGet(), NowIsValid(), NowLogicalToDisplay(), NowLogicalToOdbc(), NowNormalize(), NowSet()
property OnFile as %DynamicObject;
Property methods: OnFileGet(), OnFileGetObject(), OnFileGetObjectId(), OnFileGetSwizzled(), OnFileIsValid(), OnFileNewObject(), OnFileSet(), OnFileSetObject(), OnFileSetObjectId(), OnFileUnSwizzle()
property RepoInstance as %ObjectHandle;
Hold the repo instance computed from the path
Property methods: RepoInstanceGet(), RepoInstanceIsValid(), RepoInstanceSet()
property RepositoryId as %Integer;
Hold the repository id, computed from the path
Property methods: RepositoryIdDisplayToLogical(), RepositoryIdGet(), RepositoryIdIsValid(), RepositoryIdLogicalToDisplay(), RepositoryIdNormalize(), RepositoryIdSet()
property ResourceTable as %String;
Property methods: ResourceTableDisplayToLogical(), ResourceTableGet(), ResourceTableIsValid(), ResourceTableLogicalToDisplay(), ResourceTableLogicalToOdbc(), ResourceTableNormalize(), ResourceTableSet()
property Specification as %DynamicObject;
Property methods: SpecificationGet(), SpecificationGetObject(), SpecificationGetObjectId(), SpecificationGetSwizzled(), SpecificationIsValid(), SpecificationNewObject(), SpecificationSet(), SpecificationSetObject(), SpecificationSetObjectId(), SpecificationUnSwizzle()
property Structure as %DynamicObject;
Current XDATA Structure object
Property methods: StructureGet(), StructureGetObject(), StructureGetObjectId(), StructureGetSwizzled(), StructureIsValid(), StructureNewObject(), StructureSet(), StructureSetObject(), StructureSetObjectId(), StructureUnSwizzle()
property StructureArray as %String [ MultiDimensional ];
Property methods: StructureArrayDisplayToLogical(), StructureArrayGet(), StructureArrayIsValid(), StructureArrayLogicalToDisplay(), StructureArrayLogicalToOdbc(), StructureArrayNormalize(), StructureArraySet()

Methods

method AddIndex(pClass As %Dictionary.ClassDefinition, pPropertyName, indexType As %String, hierarchyLevel As %Integer = 1)
method AddIndices(pClass As %Dictionary.ClassDefinition, pIndices, pHierarchyLevel)
method AddSubTable(pSubTable As %DynamicObject, pParentClass As %Dictionary.ClassDefinition)
method AddSubTables(pSubTables As %DynamicArray, pParentClass)
method AddUpdateBaseClass(pResourceObj) as %Dictionary.ClassDefinition
classmethod AddUpdateBaseIndices(pClassDefinition, ByRef pIndices, pObject As %DynamicObject)
classmethod AddUpdateBaseParameters(pClassDefinition, ByRef pParameters, pObject As %DynamicObject)
classmethod AddUpdateBaseProperties(pClassDefinition, ByRef pProperties, pObject As %DynamicObject)
method AddUpdateItem(Output pList="", pType, pCollection, pName, pParent)
classmethod AddUpdateOnBeforeBuildIndices(pClassDefinition As %Dictionary.ClassDefinition)
classmethod AddUpdateOnBeforePurgeIndices(pClassDefinition As %Dictionary.ClassDefinition)
classmethod AddUpdateUpdateIndices(pClassDefinition As %Dictionary.ClassDefinition, pBase As %Boolean)
classmethod BuildIndices()
classmethod BuildList(pResources As %DynamicArray, Output pDifferences)
classmethod BuildProjections(pRequest As %DynamicObject, pVerbose As %Boolean = 1) as %Status
method ComputeDifferences(Output pDifferences As %DynamicArray)
method DropTablesAndIndices(pDifferences As %DynamicArray)
method DropTablesAndIndicesResource(pResourceObj, pSubTable=0)
method GetClassDefinitionAsJson(pPackage As %String) as %DynamicObject
classmethod GetList(pCollection) as %String
classmethod Indices(classes, verbose)
method ProjectionIsValid(pRequest As %DynamicObject, pReply)
Before updating the classes ensure that the request is coming from the same system. Validate the structure, this should have happened when saving the transform specification, but let's verify anyway.
method QueueIndex(pClassName As %String, pIndexName As %String)
method RunBuildProjections(pRequest As %DynamicObject, verbose As %Boolean = 1) as %Status
classmethod StartBuildIndices()
classmethod UpdateClassItem(pClassDefinition, pResource)
method UpdateStorage(pClassDefinition As %Dictionary.ClassDefinition)

Inherited Members

Inherited Methods

FeedbackOpens in a new tab