HS.FHIR.vSTU3.SearchTableBuilder

deprecated class HS.FHIR.vSTU3.SearchTableBuilder extends HS.FHIR.vCommon.SearchTableBuilder

THIS CLASS IS DEPRECATED Use HS.FHIRServer.* instead.

Method Inventory

Parameters

parameter ABSTRACTCLASS = HS.FHIR.vSTU3.Repository.Resource.Abstract;
The abstract class used for resource storage. The name of the package that all the search tables will be generated into comes from the SEARCHTABLEPACKAGE parameter of this class.
parameter MODELPACKAGE = HS.FHIR.vSTU3.Model;
parameter NUMERICSCALE = 8;

Methods

deprecated classmethod GenSearchTables(pCSId As %String, pType As %String = "", pVerbose As %Boolean = 0) as %Status
THIS CLASS IS DEPRECATED Use HS.FHIRServer.* instead.
Generate the tables used for FHIR search, based on the given CapabilityStatement resource. This method will generate one table for each resource defined in the CapabilityStatement, and each table will have a column and an index for each search parameter defined for that resource. Additionally, each table will have columns for the search parameters common to all types (_lastUpdate, _profile, etc.), and there will be a table called "Resource" that will contain columns for only the common search parameters, and will store these values for every resource in the repository. This is to enable type-less search.
pCSId is the ID of a CapabilityStatement resource in the current namespace that will be used to generate the search tables.
pType is optional and may be used to (re)generate only a single table, for example if a single resource has been modified in the CapabilityStatement Only the table for the named type will be (re)generated.
IMPORTANT: If called without a pType parameter, this method will delete all data and classes in the search table package before regenerating them. If called with a pType parameter, only the class and data for the named type and any sub-tables (ex: Observation.valueQuantity) will be deleted. This method will not populate the new search tables. That has to be done via HS.FHIR.vSTU3.Repository.Resource.Abstract:RebuildSearchIndices().
deprecated classmethod GenSearchTablesFromArray(ByRef pArray As %Library.RawString, pVerbose As %Boolean = 0) as %Status
THIS CLASS IS DEPRECATED Use HS.FHIRServer.* instead.
deprecated classmethod GenSearchTablesFromStorageObj(pStorageObj As HS.FHIR.vDSTU2.Repository.Resource.Abstract, pType As %String = "", pVerbose As %Boolean = 0) as %Status
THIS CLASS IS DEPRECATED Use HS.FHIRServer.* instead.
deprecated classmethod Reset() as %Status
THIS CLASS IS DEPRECATED Use HS.FHIRServer.* instead.

Inherited Members

Inherited Methods

Feedback