Home > Class Reference > HSLIB namespace > HS.IHE.PDQ.Supplier.Process

HS.IHE.PDQ.Supplier.Process

persistent class HS.IHE.PDQ.Supplier.Process extends Ens.BusinessProcess, HS.HC.IHE.PDQ.Common

SQL Table Name: HS_IHE_PDQ_Supplier.Process

Property Inventory

Method Inventory

Parameters

parameter HSDEPLOY = 1;
parameter SETTINGS = -HomeCommunity,AffinityDomain,AffinityDomainIsMPIID,MPIOperations,IHEVersion,TransformPDQToPatientSearch,TransformPatientSearchResponseToPDQ,TransformContinuationRequest,TransformCancellationRequest,TransformCancellationResponse,ApplyRankMultiplier,ApplyConsent,MatchCodeWithOID;
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 HomeCommunity as %String;
Potentially the HomeCommunity is different than the AffinityDomain
Property methods: HomeCommunityDisplayToLogical(), HomeCommunityGet(), HomeCommunityGetStored(), HomeCommunityIsValid(), HomeCommunityLogicalToDisplay(), HomeCommunityLogicalToOdbc(), HomeCommunityNormalize(), HomeCommunitySet()
property IHEExtension as %String;
Property methods: IHEExtensionDisplayToLogical(), IHEExtensionGet(), IHEExtensionGetStored(), IHEExtensionIsValid(), IHEExtensionLogicalToDisplay(), IHEExtensionLogicalToOdbc(), IHEExtensionNormalize(), IHEExtensionSet()
property IHEVersion as %Integer [ InitialExpression = 1 ];
Property methods: IHEVersionDisplayToLogical(), IHEVersionGet(), IHEVersionGetStored(), IHEVersionIsValid(), IHEVersionLogicalToDisplay(), IHEVersionNormalize(), IHEVersionSet()
property MatchCodeWithOID as %Boolean [ InitialExpression = 0 ];
Applies to HL7 PDQv2 only. When this is checked (true), if an ISO-formatted assigning authority or facility in an incoming HL7 message includes both a code (NamespaceID) and an OID (UniversalID), then the code must match the IdentityCode defined for the OID in the OID Registry. Otherwise, if this setting is not checked and both code and OID are included in the identifier, then OID is considered to be the authoritative value.
Property methods: MatchCodeWithOIDDisplayToLogical(), MatchCodeWithOIDGet(), MatchCodeWithOIDGetStored(), MatchCodeWithOIDIsValid(), MatchCodeWithOIDLogicalToDisplay(), MatchCodeWithOIDNormalize(), MatchCodeWithOIDSet()
property TransformCancellationRequest as %String) [ InitialExpression = "IHE/PDQ/Version1/PDQCancelToXMLMessage.xsl" ];
Property methods: TransformCancellationRequestDisplayToLogical(), TransformCancellationRequestGet(), TransformCancellationRequestGetStored(), TransformCancellationRequestIsValid(), TransformCancellationRequestLogicalToDisplay(), TransformCancellationRequestLogicalToOdbc(), TransformCancellationRequestNormalize(), TransformCancellationRequestSet()
property TransformCancellationResponse as %String) [ InitialExpression = "IHE/PDQ/Version1/MCCI000002UV.xsl" ];
Property methods: TransformCancellationResponseDisplayToLogical(), TransformCancellationResponseGet(), TransformCancellationResponseGetStored(), TransformCancellationResponseIsValid(), TransformCancellationResponseLogicalToDisplay(), TransformCancellationResponseLogicalToOdbc(), TransformCancellationResponseNormalize(), TransformCancellationResponseSet()
property TransformContinuationRequest as %String) [ InitialExpression = "IHE/PDQ/Version1/PDQContinueToXMLMessage.xsl" ];
Property methods: TransformContinuationRequestDisplayToLogical(), TransformContinuationRequestGet(), TransformContinuationRequestGetStored(), TransformContinuationRequestIsValid(), TransformContinuationRequestLogicalToDisplay(), TransformContinuationRequestLogicalToOdbc(), TransformContinuationRequestNormalize(), TransformContinuationRequestSet()
property TransformPDQToPatientSearch as %String) [ InitialExpression = "IHE/PDQ/Version1/PRPAIN201305UVToPatientSearchRequest.xsl" ];
Property methods: TransformPDQToPatientSearchDisplayToLogical(), TransformPDQToPatientSearchGet(), TransformPDQToPatientSearchGetStored(), TransformPDQToPatientSearchIsValid(), TransformPDQToPatientSearchLogicalToDisplay(), TransformPDQToPatientSearchLogicalToOdbc(), TransformPDQToPatientSearchNormalize(), TransformPDQToPatientSearchSet()
property TransformPatientSearchResponseToPDQ as %String) [ InitialExpression = "IHE/PDQ/Version1/PatientSearchResponseToPRPAIN201306UV.xsl" ];
Property methods: TransformPatientSearchResponseToPDQDisplayToLogical(), TransformPatientSearchResponseToPDQGet(), TransformPatientSearchResponseToPDQGetStored(), TransformPatientSearchResponseToPDQIsValid(), TransformPatientSearchResponseToPDQLogicalToDisplay(), TransformPatientSearchResponseToPDQLogicalToOdbc(), TransformPatientSearchResponseToPDQNormalize(), TransformPatientSearchResponseToPDQSet()
property Transformer as HS.Util.XSLTTransformer;
Property methods: TransformerGet(), TransformerGetStored(), TransformerGetSwizzled(), TransformerIsValid(), TransformerNewObject(), TransformerSet()

Methods

method CancelRequestv2(pHL7Request As EnsLib.HL7.Message, Output pHL7Response As EnsLib.HL7.Message) as %Status [ Language = objectscript ]
method CancelRequestv3(pRequest As HS.Message.XMLMessage, Output pResponse As HS.Message.XMLMessage) as %Status [ Language = objectscript ]
method ContinuationRequestv2(pHL7Request As EnsLib.HL7.Message, Output pHL7Response As EnsLib.HL7.Message) as %Status [ Language = objectscript ]
method ContinuationRequestv3(pRequest As HS.Message.XMLMessage, Output pResponse As HS.Message.XMLMessage) as %Status [ Language = objectscript ]
method CreateQueryResponsev2(pQueueObject As HS.IHE.PDQ.QueryQueue, Output pResponse As EnsLib.HL7.Message) as %Status [ Language = objectscript ]
method CreateQueryResponsev3(pQueueObject As HS.IHE.PDQ.QueryQueue, Output pResponse As HS.Message.XMLMessage, pRequest As HS.Message.XMLMessage) as %Status [ Language = objectscript ]
method CreateQuerySearchResponse(ByRef pQueueObject As HS.IHE.PDQ.QueryQueue, ByRef pInitQuantity As %String, Output pPatientSearchResponse As HS.Message.PatientSearchResponse, Output pRemaining As %String, Output pQuantity As %String) as %Status [ Language = objectscript ]
CreateQuerySearchResponse is called by CreateQueryResponsev2 and CreateQueryResponsev3. It creates the PatientSearchResponse based on the contents of the QueryQueue object. It also calculates some values (pInitQuantity, pRemaining, pQuantity) and returns them.
method GetQueryQueueForContinue(pRequest As %Library.Persistent, pQueryID As %String, pQueryQuantity As %String, pStartResultNumber As %String, Output pQueueObject As HS.IHE.PDQ.QueryQueue) as %Status [ Language = objectscript ]
GetQueryQueueForContinue is called by ContinuationRequestv2 and ContinuationRequestv3. It does the common logic for finding and updating the QueryQueue object for the specified QueryID.
method HL7ErrorResponse(pOriginalRequest As EnsLib.HL7.Message, Output pTarget As EnsLib.HL7.Message) as %Status [ Language = objectscript ]
method HL7ToCancelRequest(pSource As EnsLib.HL7.Message, ByRef pTarget As HS.Message.PatientSearchRequest) as %Status [ Language = objectscript ]
method HL7ToPatientSearchRequest(pSource As EnsLib.HL7.Message, ByRef pTarget 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 OnResponse(pRequest As Ens.Request, ByRef pResponse As Ens.Response, pCallrequest As Ens.Request, pCallresponse As Ens.Response, pCompletionKey As %String) as %Status [ Language = objectscript ]
OnResponse must be overridden here to avoid error upon response from async request.
method PatientSearchResponseToHL7(pSource As HS.Message.PatientSearchResponse, ByRef pTarget As EnsLib.HL7.Message, pOriginalRequest As EnsLib.HL7.Message, pContinue As %Integer = 0) as %Status [ Language = objectscript ]
method ProcessHL7Message(pRequest As EnsLib.HL7.Message, Output pResponse As EnsLib.HL7.Message) as %Status [ Language = objectscript ]
method ProcessXMLMessage(pRequest As HS.Message.XMLMessage, Output pResponse As HS.Message.XMLMessage) as %Status [ Language = objectscript ]
method QueryRequestv2(pHL7Request As EnsLib.HL7.Message, Output pHL7Response As EnsLib.HL7.Message) as %Status [ Language = objectscript ]
method QueryRequestv3(pRequest As HS.Message.XMLMessage, Output pResponse As HS.Message.XMLMessage) as %Status [ Language = objectscript ]
method ValidateOIDAndCode(pHL7Message, pPath As %String, pMatchCode As %Boolean, pType As %String, ByRef pCode As %String, ByRef pOID As %String) [ Language = objectscript ]

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.IHE.PDQ.Supplier.Process)

^Ens.BusinessProcessD(ID,"Process")
=
TraceOperations
HomeCommunity
AffinityDomain
AffinityDomainIsMPIID
ApplyConsent
MPIOperations
TransformPDQToPatientSearch
TransformPatientSearchResponseToPDQ
TransformContinuationRequest
TransformCancellationRequest
TransformCancellationResponse
IHEVersion
IHEExtension
Transformer
Errors
ApplyRankMultiplier
MatchCodeWithOID
FeedbackOpens in a new window