Skip to main content

HS.FHIRServer.Storage.BuiltIn.Everything

class HS.FHIRServer.Storage.BuiltIn.Everything extends %Library.RegisteredObject, HS.FHIRServer.Util.Bundle, HS.FHIRServer.Util.FHIRQueryUtils

Property Inventory

Method Inventory

Parameters

parameter filterResourceProperty;
list of Resource and top level property to be omitted when returned by the $everything operation Useful to omit data that might not be relevant to the patient context, or could include data for other patients Here we are removing the Group member list as it negatively impacts BulkFHIR performance, and includes data for patients outside the context of the $everything request.
parameter referringSearchParams;
List of search parameters (resource type, search parameter name). These search parameters are used for detecting and adding resources that are not in the requested compartment but do refer to resources that are in the compartment.

Properties

property allResources [ MultiDimensional ];
Property methods: allResourcesDisplayToLogical(), allResourcesGet(), allResourcesIsValid(), allResourcesLogicalToDisplay(), allResourcesLogicalToOdbc(), allResourcesNormalize(), allResourcesSet()
property interactions as HS.FHIRServer.API.Interactions;
Property methods: interactionsGet(), interactionsGetSwizzled(), interactionsIsValid(), interactionsNewObject(), interactionsSet()
property schema as HS.FHIRServer.Schema;
Property methods: schemaGet(), schemaGetSwizzled(), schemaIsValid(), schemaNewObject(), schemaSet()

Methods

classmethod AddSupportedOperations(pMap As %DynamicObject)
@API Enumerate the name and url of each Operation supported by this class
classmethod FHIRInstanceOpEverything(pService As HS.FHIRServer.API.Service, pRequest As HS.FHIRServer.API.Data.Request, pResponse As HS.FHIRServer.API.Data.Response)
Implementation of $Everything (Instance scope - requires type and id)
method FilterProperty(ByRef resourceObj As %DynamicObject)
parse the ..#filterResourceProperty parameter and remove any top level resource properties that are flagged to be filtered from $everything results
method OnReference(ByRef context, pRefObj As %DynamicObject)
Add any newly detected reference value to our set and recurse searching for references from that referenced object.
classmethod addResult(ByRef context, key As %String, rsrcObj As %DynamicObject, mode As %String)

Inherited Members

Inherited Methods

Subclasses

FeedbackOpens in a new tab