Skip to main content
AskMe (beta)
Loading icon

HS.BulkFHIR.Util.SchedulerTask

class HS.BulkFHIR.Util.SchedulerTask extends %SYS.Task.Definition

Task class to handle scheduling of bulk fhir sessions, includes OnTask code as well as schedule, schedule removal, and returning a list of schedule items

Property Inventory

Method Inventory

Properties

property SessionId as %Integer;
Property methods: SessionIdDisplayToLogical(), SessionIdGet(), SessionIdIsValid(), SessionIdLogicalToDisplay(), SessionIdNormalize(), SessionIdSet()

Methods

classmethod NewQueryString(pQueryString) as %String
method OnTask() as %Status
Code which executes the BFC session by loading it, executing the Resume, and polling the status, and resubmitting a cloned item for the next iteration
classmethod PauseSchedule(pSessionId As %Integer)
Pause Task item for specified session id
classmethod RemoveSchedule(pSessionId As %Integer)
Code to remove a session from the task schedule
classmethod ResumeSchedule(pSessionId As %Integer)
Resume Task item for specified session id
classmethod Schedule(pSessionId As %Integer)
Code to schedule a session id to run at a particular time
classmethod ScheduledItems() as %DynamicArray
Return a dynamic array of all task items with their schedule info and the session

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab