Skip to main content

HS.BulkFHIR.Fetch.PureFHIR.Adapter

class HS.BulkFHIR.Fetch.PureFHIR.Adapter extends HS.BulkFHIR.API.FetchAdapter

Method Inventory

Parameters

parameter configClass = HS.BulkFHIR.Fetch.PureFHIR.Config;
parameter supportsGroupExport = 1;
Inherited description: Flag which indicates whether the implementation of this adapter supports group export. If false, and a configuration tries using this adapter with that operation requested, will throw an error
parameter supportsPatientExport = 1;
Inherited description: Flag which indicates whether the implementation of this adapter supports patient export. If false, and a configuration tries using this adapter with that operation requested, will throw an error
parameter supportsSystemExport = 1;
Inherited description: Flag which indicates whether the implementation of this adapter supports system export. If false, and a configuration tries using this adapter with that operation requested, will throw an error
parameter waitForChildJobs = 45;
Number of seconds to wait for child jobs to stop

Methods

classmethod BuildQueryParams(pParams As %List) as %String
For a specified $ListBuild of URL parameter name-value pairs, any of which could be blank, return a URL query string, including leading "?" if the returned string is not to be blank.
classmethod GroupSearchParameters(pConfig As HS.BulkFHIR.API.Data.Config) as %DynamicArray
Return an array of the FHIR Group search parameters that are supported by the resource server.
classmethod Initialize(pBFCconfig As HS.BulkFHIR.API.Data.Config)
Use the specified BFC configuration to:
- Ensure a Service Registry entry for the FHIR resource server endpoint.
- Ensure a client-side OAuth server definition, if using OAuth with resource server requests.
- Ensure a client-side OAuth client, if using OAuth with resource server requests.
classmethod OperationDocumentation() as %String
Inherited description: (Optional overrideable) Returns a string in markdown syntax which will be displayed next to all supported operations in the CapabilityStatement.
classmethod Read(pConfig As HS.BulkFHIR.API.Data.Config, request As HS.FHIRServer.API.Data.Request, ByRef response As HS.FHIRServer.API.Data.Response)
Inherited description: Executes a FHIR read request (currently only Group resources). This overrideable is expected to be able to process a FHIR read request against the underlying clinical data store, and return a resource, if one exists @Input pConfig BulkFHIR configuration object @Input request FHIR request object representing a read @Output response FHIR response object containing the results of the read
Inherited description: Executes a FHIR search request (currently only Group resources). This overrideable is expected to be able to process a FHIR search request against the underlying clinical data store, and return a searchset Bundle of all matching resources. @Input pConfig BulkFHIR configuration object @Input request FHIR request object representing a search @Output response FHIR response object containing the results of the search
classmethod Start(pRequest As HS.FHIRServer.API.Data.Request, pSession As HS.BulkFHIR.Session) as %Boolean
Inherited description: Starts or resumes a $export operation. This overrrideable is expected to fetch resources out of a clinical data repository in accordance with the provided $export operation, and add resources to a result set as FHIR using APIs in HS.BulkFHIR.ExportManager. The implementation of this method should be able to handle receiving pause/cancel signals from another process, and quiesce as soon as possible. @Input pRequest FHIR request object representing an export operation to be started @Input pSession HS.BulkFHIR.Session for the export operation @Returns a boolean flag indicating whether the operation was completed. This should only be used to indicate whether the job was paused/cancelled. Any other reason to stop processing should be thrown as a fatal error. @Throws any *fatal* error which prevents processing of the export operation. Non-fatal errors should be included in the result set using the API in HS.BulkFHIR.ExportManager
classmethod SystemExportItem(pSession As HS.BulkFHIR.Session, pResource As %DynamicObject, pQueryPath As %String, pLinkPatientRequired As %Boolean, pMetaAPI As HS.FHIRMeta.API)

Inherited Members

Inherited Methods

Subclasses

FeedbackOpens in a new tab