Home > Class Reference > HSLIB namespace > HS.FHIR.vSTU3.MHD.Responder.Process

HS.FHIR.vSTU3.MHD.Responder.Process

persistent class HS.FHIR.vSTU3.MHD.Responder.Process extends Ens.BusinessProcess, HS.HC.Util.Trace.Helper, HS.FHIR.vSTU3.MHD.Common

SQL Table Name: HS_FHIR_vSTU3_MHD_Responder.Process

Property Inventory

Method Inventory

Parameters

parameter HSDEPLOY = 1;
parameter SETTINGS = RetrieveTarget,QueryTarget,XDSbRetrieveConsentTarget,DocumentBodyInQueryResponse;
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 [ InitialExpression = ##class(HS.IHE.Util).GetAffinityDomain() ];
Defaults to \IHE\AffinityDomain [##class(HS.IHE.Util).GetAffinityDomain()] if "" any patient will be accepted (versus turning off patient id validation) the AA in the request is sent to the
Property methods: AffinityDomainDisplayToLogical(), AffinityDomainGet(), AffinityDomainGetStored(), AffinityDomainIsValid(), AffinityDomainLogicalToDisplay(), AffinityDomainLogicalToOdbc(), AffinityDomainNormalize(), AffinityDomainSet()
property DocumentBodyInQueryResponse as %Boolean [ InitialExpression = 0 ];
When this setting is True, a DocumentReference that is found by Document Query (Find Document References, FHIR search) is returned with the document body stream included in the Attachment data property.
Property methods: DocumentBodyInQueryResponseDisplayToLogical(), DocumentBodyInQueryResponseGet(), DocumentBodyInQueryResponseGetStored(), DocumentBodyInQueryResponseIsValid(), DocumentBodyInQueryResponseLogicalToDisplay(), DocumentBodyInQueryResponseNormalize(), DocumentBodyInQueryResponseSet()
property Errors as HS.Types.FHIR.Errors;
Property methods: ErrorsGet(), ErrorsGetStored(), ErrorsGetSwizzled(), ErrorsIsValid(), ErrorsNewObject(), ErrorsSet()
property QueryTarget as Ens.DataType.ConfigName;
Property methods: QueryTargetDisplayToLogical(), QueryTargetGet(), QueryTargetGetStored(), QueryTargetIsValid(), QueryTargetLogicalToDisplay(), QueryTargetLogicalToOdbc(), QueryTargetNormalize(), QueryTargetParseConfigNameSpec(), QueryTargetSet()
property RepositoryOID as %String (MAXLEN = 64);
Property methods: RepositoryOIDDisplayToLogical(), RepositoryOIDGet(), RepositoryOIDGetStored(), RepositoryOIDIsValid(), RepositoryOIDLogicalToDisplay(), RepositoryOIDLogicalToOdbc(), RepositoryOIDNormalize(), RepositoryOIDSet()
property ResourceIdIndex as %Integer [ InitialExpression = 0 ];
Property methods: ResourceIdIndexDisplayToLogical(), ResourceIdIndexGet(), ResourceIdIndexGetStored(), ResourceIdIndexIsValid(), ResourceIdIndexLogicalToDisplay(), ResourceIdIndexNormalize(), ResourceIdIndexSet()
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()
property RetrieveTarget as Ens.DataType.ConfigName;
Property methods: RetrieveTargetDisplayToLogical(), RetrieveTargetGet(), RetrieveTargetGetStored(), RetrieveTargetIsValid(), RetrieveTargetLogicalToDisplay(), RetrieveTargetLogicalToOdbc(), RetrieveTargetNormalize(), RetrieveTargetParseConfigNameSpec(), RetrieveTargetSet()
property XDSbRetrieveConsentTarget as Ens.DataType.ConfigName;
ConfigName of the business host for consent evaluation for retrieve responses. By default, consent is not evaluated for retrieve.
Property methods: XDSbRetrieveConsentTargetDisplayToLogical(), XDSbRetrieveConsentTargetGet(), XDSbRetrieveConsentTargetGetStored(), XDSbRetrieveConsentTargetIsValid(), XDSbRetrieveConsentTargetLogicalToDisplay(), XDSbRetrieveConsentTargetLogicalToOdbc(), XDSbRetrieveConsentTargetNormalize(), XDSbRetrieveConsentTargetParseConfigNameSpec(), XDSbRetrieveConsentTargetSet()

Methods

method AddAuthorName(pParamXDSName As %String, pSource As HS.Message.FHIR.Request, pTarget As HS.Message.IHE.XDSb.QueryRequest) as %Status [ Language = objectscript ]
method AddCreated(pParamXDSNamePrefix As %String, pSource As HS.Message.FHIR.Request, pTarget As HS.Message.IHE.XDSb.QueryRequest) as %Status [ Language = objectscript ]
method AddSingleToken(pParamURLName As %String, pParamXDSName As %String, pSource As HS.Message.FHIR.Request, pTarget As HS.Message.IHE.XDSb.QueryRequest) as %Status [ Language = objectscript ]
method AddSourceId(pParamXDSName As %String, pSource As HS.Message.FHIR.Request, pTarget As HS.Message.IHE.XDSb.QueryRequest) as %Status [ Language = objectscript ]
method AddStatus(pParamXDSName As %String, pSource As HS.Message.FHIR.Request, pTarget As HS.Message.IHE.XDSb.QueryRequest) as %Status [ Language = objectscript ]
method AddSubjectIdentifier(pParamXDSName As %String, pSource As HS.Message.FHIR.Request, pTarget As HS.Message.IHE.XDSb.QueryRequest) as %Status [ Language = objectscript ]
method AddSubjectIdentifierFromId(pParamXDSName As %String, pIdentifier As %String, pTarget As HS.Message.IHE.XDSb.QueryRequest) as %Status [ Language = objectscript ]
classmethod GetCodeSystem(pCodeType As %String, pScheme As %String, pCode As %String, pDefault As %String = "") as %String [ Language = objectscript ]
classmethod LastDayOfMonth(pYear, pMonth) as %String [ Language = objectscript ]
method OnRequest(pRequest As %Library.Persistent, Output pResponse As %Library.Persistent) as %Status [ Language = objectscript ]
Inherited description: Handle a 'Request'
method ProcessMHDMessage(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 QueryRequestMHD(pMHDRequest As HS.Message.FHIR.Request, pFullURI As %String, Output pMHDResponse As HS.Message.FHIR.Response) as %Status [ Language = objectscript ]
QueryRequestMHD converts an MHD Find Document Manifests or Find Document References request into an XDSb FindSubmissions or FindDocuments, forwards that request to an XDSb query target, converts the XDSb response to a FHIR Bundle of DocumentManifest resources or DocumentReference resources, and returns the Bundle in the MHD Response.
method QueryResponseToDocManifest(pMHDRequest As HS.Message.FHIR.Request, pFullURI As %String, pXSDbQueryResponse As HS.Message.IHE.XDSb.QueryResponse, pMHDResponse As HS.Message.FHIR.Response) as %Status [ Language = objectscript ]
QueryResponseToDocManifest converts the Submissions from an XDSb Find Submissions response into FHIR DocumentManifest resource objects, puts them into a FHIR Bundle and returns the Bundle in an HS.Message.FHIR.Response message.
method QueryResponseToDocReference(pMHDRequest As HS.Message.FHIR.Request, pFullURI As %String, pXSDbQueryResponse As HS.Message.IHE.XDSb.QueryResponse, pMHDResponse As HS.Message.FHIR.Response) as %Status [ Language = objectscript ]
QueryResponseToDocReference converts the Documents from an XDSb Find Documents response into FHIR DocumentReference resource objects, puts them into a FHIR Bundle and returns the Bundle in an HS.Message.FHIR.Response message.
method RequestToFindDocuments(pMHDQueryRequest As HS.Message.FHIR.Request, ByRef pXDSbQueryRequest As HS.Message.IHE.XDSb.QueryRequest) as %Status [ Language = objectscript ]
RequestToFindDocuments uses the URL parameters of the MHD request to formulate an HS.Message.IHE.XDSb.QueryRequest object for a FindDocuments query.
method RequestToFindSubmissions(pMHDQueryRequest As HS.Message.FHIR.Request, ByRef pXDSbQueryRequest As HS.Message.IHE.XDSb.QueryRequest) as %Status [ Language = objectscript ]
RequestToFindSubmissions uses the URL parameters of the MHD request to formulate an HS.Message.IHE.XDSb.QueryRequest object for a FindSubmissions query.
method RetrieveRequestMHD(pMHDRequest As HS.Message.FHIR.Request, pFullURI As %String, Output pMHDResponse As HS.Message.FHIR.Response) as %Status [ Language = objectscript ]
method XDSbDocumentToDocReference(pXDSbDocument As HS.Message.IHE.XDSb.Document, pBaseURL As %String, pContentType As %String, pResourceId As %String, ByRef pDocumentReference As HS.FHIR.vSTU3.Model.Resource.DocumentReference, pUserID As %String = "", pUserRoles As %String = "") as %Status [ Language = objectscript ]
XDSbDocumentToDocReference converts a single Document from an XDSb Find Documents response into a FHIR DocumentReference resource object.

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.MHD.Responder.Process)

^Ens.BusinessProcessD(ID,"Process")
=
TraceOperations
RetrieveTarget
QueryTarget
Errors
RepositoryOID
XDSbRetrieveConsentTarget
DocumentBodyInQueryResponse
AffinityDomain
ResourceIdIndex
ResourceSchemaRoot
FeedbackOpens in a new window