Skip to main content

HS.FHIRServer.Storage.Json.RepoManager

class HS.FHIRServer.Storage.Json.RepoManager extends HS.FHIRServer.API.RepoManager

Method Inventory

Parameters

parameter IsSingleServiceStrategy = 0;
Inherited description: True if the Repo Strategy is limited to only 1 service per repo
parameter StrategyClass = HS.FHIRServer.Storage.Json.InteractionsStrategy;
parameter StrategyDesc = All Resources stored in a single table as Json text;
parameter StrategyKey = Json;

Methods

method CreateService(serviceId As %String, ByRef options)
@API Create the service. This method initializes a service for an endpoint including generating any classes or schemas required and registering the configuration for later modification or deletion
method DecommissionService(serviceId As %String, ByRef options)
@API Decommission the service. This method detaches a service from any REST endpoints, making it inaccessiable for client operations. The Json strategy deletes the search tables, but preserves all resources and versions.
method DeleteService(serviceId As %String, ByRef options)
@API Delete the service. This method removes a service. This includes and FHIR data and associated schema classes as well as registration data. A decommissioned service cannot be removed. Delete the schema (was ResetFHIRData) options("deleteDataOnly") = 0/1 options("verbose") = 0/1
method GetGlobalRoot(serviceId As %String) as %String
Inherited description: @API Returns a $Name for a Global Root node that can be used by the specified service instance
method GetGlobalTempRoot(serviceId As %String) as %String
Inherited description: @API Returns a $Name for a Temporary Global Root node that can be used by the specified service instance
method GetIndexType(resourceType As %String, paramCode As %String) as %Integer
@API Returns the index type for the specified resource type and parameter code
method GetResourceClassName(serviceId As %String, resourceType As %String) as %String
@API Returns the classname of the persistent object used store resources for the specified type
method GetResourceTableName(serviceId As %String, resourceType As %String, shortName As %Boolean = 0) as %String
@API Returns the table name that stores resources for the specified type
method GetResourceVersionClassName(serviceId As %String, resourceType As %String) as %String
@API Returns the classname of the persistent object used store older resource versions for the specified type
method GetResourceVersionTableName(serviceId As %String, resourceType As %String, shortName As %Boolean = 0) as %String
@API Returns the SQL Table name for older resource versions for the specified type
method GetSearchClassName(serviceId As %String, resourceType As %String) as %String
@API Returns the classname of the persistent object used to index the specified type. Note, it may be the same as the ResourceClass
abstract method GetSearchColumnName(serviceId As %String, resourceType As %String, paramCode As %String) as %String
@API Returns the classname of the persistent object used to index the specified type. Note, it may be the same as the ResourceClass
method GetSearchTableName(serviceId As %String, resourceType As %String, pChildName As %String, shortName As %Boolean = 0) as %String
@API Returns the table name used to index the specified type. Note, it may be the same as the ResourceTable
method UpdateService(serviceId As %String, ByRef options)
@API Update the schema. This method applies changes to an already configured schema (if possible) For example, to add a search parameter including ensuring that the new field is indexed. Handle changes to the schema structure options("packagesToAdd") = $LB(packageId, ...) options("verbose") = 0/1

Inherited Members

Inherited Properties

Inherited Methods

Subclasses

FeedbackOpens in a new tab