Skip to main content

HS.HC.FHIRSQL.Server.FHIRRepository

class HS.HC.FHIRSQL.Server.FHIRRepository

Method Inventory

Methods

classmethod CleanPackage(pPackageName As %String)
Remove a PackageName in a namespace
classmethod CopyMethod(pMethodName, pClassObject)
Copy method from this class to generated FHIRSQL.* class
classmethod CreateInteractions(pRepoObject As %Dictionary.ClassDefinition) as %String
classmethod CreateInteractionsStrategy(pRepoObject) as %String
classmethod CreateRepoManager(pRepoObject) as %String
classmethod DELETEprojection(pRepositoryURL As %String, pPackageName As %String, Output pReply As %DynamicObject)
Called from REST handler to delete the projection
abstract 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.
abstract method FHIRSQLOnAfterRequest(pFHIRService As HS.FHIRServer.API.Service, pFHIRRequest As HS.FHIRServer.API.Data.Request, pFHIRResponse As HS.FHIRServer.API.Data.Response)
this method will be copied from FHIRRepository to the FHIRSQL.Interactions class when generating Called from OnAfterRequest
classmethod GETfhirrepository(pReply As %DynamicObject)
Get an array of repository url's for this server
classmethod GetRepoInstance(pPath="") as HS.FHIRServer.RepoInstance
classmethod GetRepoObject(pPath="", pRepoInstance As HS.FHIRServer.RepoInstance = "") as HS.FHIRServer.Repo
classmethod GetResourceClass(pPath="")
classmethod GetResourceStorage(pPath)
Return the storage(RsrcD) for a particular path
classmethod GetResourceTable(pPath="")
classmethod PUTprojection(pRequest As %DynamicObject, Output pReply As %DynamicObject)
classmethod SetupInteractions(pPath=..getPath($namespace), pForce As %Boolean = 0)
Create Interactions / InteractionsStrategy classes based on endpoint instance (or FHIRSQL.Interactions / InteractionsStrategy) if no endpoint is specified When replacing the Interactions class restart all servcies
classmethod URLIsUsable(pPath=..getPath($namespace), Output pRepoInstance) as %Integer
For a URL to be useable, the endpoint must exist, and the strategy class must extend HS.FHIRServer.Storage.Json.InteractionStrategy
abstract classmethod UpdateObjects(pResourceType, pID, pAdd=1)
this method will be copied from FHIRRepository to the FHIRSQL.Interactions class when generating UpdateObjects will iterate through all Registration records (Projections) and call UpdateIndices with the ID
classmethod UpdateParameters(pClassObject As %Dictionary.ClassDefinition, pParameters As %List)
classmethod getPath(pNS) as %String
FeedbackOpens in a new tab