Home > Class Reference > HSLIB namespace > HS.FHIR.vSTU3.PIXm.Manager.Process

HS.FHIR.vSTU3.PIXm.Manager.Process

persistent class HS.FHIR.vSTU3.PIXm.Manager.Process extends Ens.BusinessProcess, HS.HC.Util.Trace.Helper

SQL Table Name: HS_FHIR_vSTU3_PIXm_Manager.Process

Property Inventory

Method Inventory

Parameters

parameter HSDEPLOY = 1;
parameter SETTINGS = MPIOperations,AffinityDomain,AffinityDomainIsMPIID,HUB,ApplyConsent;
Inherited description: List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties

property AffinityDomain as %String;
Used in a testing environment allows setting of the AffinityDomain Code (which must be defined in the OID Registry) if not set the value from ##class(HS.IHE.Util).GetAffinityDomain() is used
Property methods: AffinityDomainDisplayToLogical(), AffinityDomainGet(), AffinityDomainGetStored(), AffinityDomainIsMPIIDDisplayToLogical(), AffinityDomainIsMPIIDGet(), AffinityDomainIsMPIIDGetStored(), AffinityDomainIsMPIIDIsValid(), AffinityDomainIsMPIIDLogicalToDisplay(), AffinityDomainIsMPIIDNormalize(), AffinityDomainIsMPIIDSet(), AffinityDomainIsValid(), AffinityDomainLogicalToDisplay(), AffinityDomainLogicalToOdbc(), AffinityDomainNormalize(), AffinityDomainSet()
property AffinityDomainIsMPIID as %Boolean [ InitialExpression = 1 ];
Used to determine whether AffinityDomain is the MPIID (true - general scenario) or whether the MPIID is in the results (typically IHE testing)
Property methods: AffinityDomainIsMPIIDDisplayToLogical(), AffinityDomainIsMPIIDGet(), AffinityDomainIsMPIIDGetStored(), AffinityDomainIsMPIIDIsValid(), AffinityDomainIsMPIIDLogicalToDisplay(), AffinityDomainIsMPIIDNormalize(), AffinityDomainIsMPIIDSet()
property ApplyConsent as %Boolean [ InitialExpression = 0 ];
If true, patient search requests generated by this process will be processed by consent.
Property methods: ApplyConsentDisplayToLogical(), ApplyConsentGet(), ApplyConsentGetStored(), ApplyConsentIsValid(), ApplyConsentLogicalToDisplay(), ApplyConsentNormalize(), ApplyConsentSet()
property Errors as HS.Types.FHIR.Errors;
Property methods: ErrorsGet(), ErrorsGetStored(), ErrorsGetSwizzled(), ErrorsIsValid(), ErrorsNewObject(), ErrorsSet()
property HUB as Ens.DataType.ConfigName [ InitialExpression = "HS.Hub.Management.Operations" ];
Used when dynamic registration is enabled.
Property methods: HUBDisplayToLogical(), HUBGet(), HUBGetStored(), HUBIsValid(), HUBLogicalToDisplay(), HUBLogicalToOdbc(), HUBNormalize(), HUBParseConfigNameSpec(), HUBSet()
property MPIOperations as Ens.DataType.ConfigName [ InitialExpression = "HS.Hub.MPI.Manager" ];
Config Item where the Add/Update Operations will be sent
Property methods: MPIOperationsDisplayToLogical(), MPIOperationsGet(), MPIOperationsGetStored(), MPIOperationsIsValid(), MPIOperationsLogicalToDisplay(), MPIOperationsLogicalToOdbc(), MPIOperationsNormalize(), MPIOperationsParseConfigNameSpec(), MPIOperationsSet()
property ResourceSchemaRoot as %String (MAXLEN = 256) [ InitialExpression = "HS.FHIR.vSTU3.Model.Resource" ];
Class package that is the root of all resource schemas for the desired data model.
Property methods: ResourceSchemaRootDisplayToLogical(), ResourceSchemaRootGet(), ResourceSchemaRootGetStored(), ResourceSchemaRootIsValid(), ResourceSchemaRootLogicalToDisplay(), ResourceSchemaRootLogicalToOdbc(), ResourceSchemaRootNormalize(), ResourceSchemaRootSet()

Methods

method FHIRErrorResponse(pFHIRRequest As HS.Message.FHIR.Request, ByRef pSC As %Status, ByRef pFHIRResponse As HS.Message.FHIR.Response) as %Status [ Language = objectscript ]
method FHIRToPatientSearchRequest(pFHIRRequest As HS.Message.FHIR.Request, Output pPatientSearchRequest As HS.Message.PatientSearchRequest) as %Status [ Language = objectscript ]
method OnRequest(pRequest As %Library.Persistent, Output pResponse As %Library.Persistent) as %Status [ Language = objectscript ]
Inherited description: Handle a 'Request'
method PatientSearchResponseToFHIR(pPatientSearchResponse As HS.Message.PatientSearchResponse, Output pFHIRResponse As HS.Message.FHIR.Response, pOriginalRequest As HS.Message.FHIR.Request) as %Status [ Language = objectscript ]
method ProcessFHIRMessage(pRequest As HS.Message.FHIR.Request, Output pResponse As HS.Message.FHIR.Response) as %Status [ Language = objectscript ]
method ProcessMetadataRequest(pRequest As HS.Message.FHIR.Request, pResponse As HS.Message.FHIR.Response) as %Status [ Language = objectscript ]
method QueryRequestFHIR(pRequest As HS.Message.FHIR.Request, Output pResponse As HS.Message.FHIR.Response) as %Status [ Language = objectscript ]
QueryRequestFHIR takes the HS FHIR Request and returns an HS FHIR Response.
method SendAndFilterFHIR(pSearchRequest As HS.Message.PatientSearchRequest, pFilteredSearchResponse As HS.Message.PatientSearchResponse) as %Status [ Language = objectscript ]
SendAndFilterFHIR is called by QueryRequestFHIR. It sends the PatientSearchRequest to the MPIOperations config item, gets the response, and applies domain filters as needed.

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID,"pending",n)
=
%MasterPendingResponses(n)

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID,"received",n)
=
%MessagesReceived(n)

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID,"sent",n)
=
%MessagesSent(n)

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID)
=
%%CLASSNAME
%ConfigQueueName
%IsCompleted
%MasterPendingResponsesOld
%PrimaryRequestHeader
%PrimaryResponseHeader
%RepliedStatus
%responseId
Adapter
%SessionId
%TimeCompleted
%TimeCreated
%ConfigName
%QuitTask
AlertOnError
%responseClassName
%IsTimerInterrupted
%IsTerminated
%StatusCode
%MessagesReceivedOld
%MessagesSentOld
ReplyCodeActions
RetryInterval
AlertRetryGracePeriod
FailureTimeout
Retry
SuspendMessage
QueueCountAlert
QueueWaitAlert
InactivityTimeout
BusinessPartner
AlertGroups
%SuperSession

Storage Model: Storage (HS.FHIR.vSTU3.PIXm.Manager.Process)

^Ens.BusinessProcessD(ID,"Process")
=
TraceOperations
MPIOperations
HUB
AffinityDomain
AffinityDomainIsMPIID
ApplyConsent
Errors
ResourceSchemaRoot
FeedbackOpens in a new window