Skip to main content
AskMe (beta)
Loading icon

HS.FHIRServer.Storage.BuiltInOperations

class HS.FHIRServer.Storage.BuiltInOperations extends HS.FHIRServer.API.OperationHandler, HS.FHIRServer.Storage.BuiltIn.Everything, HS.FHIRServer.Storage.BuiltIn.Validate, HS.FHIRServer.Storage.BuiltIn.Lastn

This class provides implementations of the FHIR operations supported by the Json strategy and strategies that extend the Json strategy. This class may be extended to add implementations of other operations as desired. To add support for an implementation, create a subclass of this class and add one or more "gateway" methods for each supported operation. A "gateway" method is given a name that describes both the name of the operation and the scope that is valid. The method name must be in the form:
FHIRScopeDescriptorOpOperationName
where ScopeDescriptor is one of: System, Type, or Instance reflecting the form of the request:
System: /$operation
Type /ResourceType/$operation
Instance: /ResourceType/ResourceId/$operation
for example the $everything operation is implemented through a method named FHIRInstanceOpEverything
The signature of a "gateway method is:"
ClassMethod FHIRInstanceOpEverything(pService As HS.FHIRServer.API.Service, pRequest As HS.FHIRServer.API.Data.Request, pResponse As HS.FHIRServer.API.Data.Response)

Method Inventory

Methods

classmethod AddSupportedOperations(pMap As %DynamicObject)
@API Enumerate the name and url of each Operation supported by this class

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab