Skip to main content

HS.FHIRServer.Storage.SearchTableBuilder

class HS.FHIRServer.Storage.SearchTableBuilder extends %Library.RegisteredObject, HS.FHIRServer.Util.FHIRQueryUtils

Property Inventory

Method Inventory

Parameters

parameter NUMERICSCALE = 8;

Properties

property newTable as %Boolean;
Property methods: newTableDisplayToLogical(), newTableGet(), newTableIsValid(), newTableLogicalToDisplay(), newTableNormalize(), newTableSet()
property repoInstance as HS.FHIRServer.RepoInstance;
Property methods: repoInstanceGet(), repoInstanceGetObject(), repoInstanceGetObjectId(), repoInstanceGetSwizzled(), repoInstanceIsValid(), repoInstanceNewObject(), repoInstanceSet(), repoInstanceSetObject(), repoInstanceSetObjectId(), repoInstanceUnSwizzle()
Property methods: strategyGet(), strategyGetSwizzled(), strategyIsValid(), strategyNewObject(), strategySet()

Methods

Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

method AddProperty(row As HS.FHIRServer.Storage.Json.SearchColumn, pSearchClassName As %String, ByRef pSearchTableDef As %Dictionary.ClassDefinition, suffix As %String = "", pVerbose As %Boolean = 0, ByRef propList As %List)
Add/update properties and indices for a class definition
method GenResourceTables(pVerbose As %Boolean = 1, deletePackage As %Boolean = 0)
method GenSearchTablesFromSchema(pType As %String = "", pVerbose As %Boolean = 0, deletePackage As %Boolean = 1, pDefaultSelectivities As %Boolean = 0)
method Reset() as %Status
classmethod SetDefaultSearchTableSelectivities(pAppKey As %String, pVerbose As %Boolean = 0) as %Status
@API Method to set default Search Table selectivities for an endpoint.
@Input pAppKey Unique key for the endpoint e.g: "/csp/healthshare/hsfhir/fhir/r4"
@Input pVerbose Enable/Disable output from search table compilation

**Note this will wipe out tune table info for all search tables in a repo and return the selectivity values to application defaults**
classmethod isExact(datatype As %String) as %Boolean

Inherited Members

Inherited Methods

FeedbackOpens in a new tab