Skip to main content

HS.IHE.XDSb.Repository.Operations

class HS.IHE.XDSb.Repository.Operations extends HS.HC.Util.Trace.Helper, HS.Util.SOAPClient.Operations, HS.Util.BaseHost

Property Inventory

Method Inventory

Parameters

parameter HSDEPLOY = 1;
parameter INVOCATION = Queue;
Inherited description: 2 modes: Queue, InProc
parameter SETTINGS = CustomProcessor:Basic,-ServiceName,XDSbRepositoryServiceName:Basic:selector?Select=1&context={HS.Util.ContextSearch/ServiceNameItems},XDSbRegistryServiceName:Basic:selector?Select=1&context={HS.Util.ContextSearch/ServiceNameItems},ContentConsumerTarget,-ECRTarget,TextToRetrieveDocumentResponseTransform,-TargetName;
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 ContentConsumerTarget as Ens.DataType.ConfigName (MAXLEN = 512);
The business operation that converts the source format (such as CCD) to SDA HS.IHE.XDSb.ContentConsumer.Operations
Property methods: ContentConsumerTargetDisplayToLogical(), ContentConsumerTargetGet(), ContentConsumerTargetIsValid(), ContentConsumerTargetLogicalToDisplay(), ContentConsumerTargetLogicalToOdbc(), ContentConsumerTargetNormalize(), ContentConsumerTargetParseConfigNameSpec(), ContentConsumerTargetSet()
property ECRTarget as Ens.DataType.ConfigName [ InitialExpression = "HS.Gateway.ECR.Manager" ];
Property methods: ECRTargetDisplayToLogical(), ECRTargetGet(), ECRTargetIsValid(), ECRTargetLogicalToDisplay(), ECRTargetLogicalToOdbc(), ECRTargetNormalize(), ECRTargetParseConfigNameSpec(), ECRTargetSet()
property Errors as HS.Types.IHE.Errors;
Property methods: ErrorsGet(), ErrorsGetObject(), ErrorsGetObjectId(), ErrorsGetSwizzled(), ErrorsIsEmpty(), ErrorsIsValid(), ErrorsNewObject(), ErrorsSet(), ErrorsSetObject(), ErrorsSetObjectId(), ErrorsUnSwizzle()
property IHEExtension as %String;
Property methods: IHEExtensionDisplayToLogical(), IHEExtensionGet(), IHEExtensionIsValid(), IHEExtensionLogicalToDisplay(), IHEExtensionLogicalToOdbc(), IHEExtensionNormalize(), IHEExtensionSet()
property IHEVersion as %Integer [ InitialExpression = 1 ];
Property methods: IHEVersionDisplayToLogical(), IHEVersionGet(), IHEVersionIsValid(), IHEVersionLogicalToDisplay(), IHEVersionNormalize(), IHEVersionSet()
property RepositoryOID as %String (MAXLEN = 64);
Property methods: RepositoryOIDDisplayToLogical(), RepositoryOIDGet(), RepositoryOIDIsValid(), RepositoryOIDLogicalToDisplay(), RepositoryOIDLogicalToOdbc(), RepositoryOIDNormalize(), RepositoryOIDSet()
property TextToRetrieveDocumentResponseTransform as %String (MAXLEN = 250) [ InitialExpression = "IHE/XDSb/Version1/TextToRetrieveDocumentResponse.xsl" ];
Property methods: TextToRetrieveDocumentResponseTransformDisplayToLogical(), TextToRetrieveDocumentResponseTransformGet(), TextToRetrieveDocumentResponseTransformIsValid(), TextToRetrieveDocumentResponseTransformLogicalToDisplay(), TextToRetrieveDocumentResponseTransformLogicalToOdbc(), TextToRetrieveDocumentResponseTransformNormalize(), TextToRetrieveDocumentResponseTransformSet()
property Transformer as HS.Util.XSLTTransformer;
Property methods: TransformerGet(), TransformerGetSwizzled(), TransformerIsValid(), TransformerNewObject(), TransformerSet()
property XDSbRegistryServiceName as %String (MAXLEN = 512) [ InitialExpression = "XDSb.Registry" ];
Property methods: XDSbRegistryServiceNameDisplayToLogical(), XDSbRegistryServiceNameGet(), XDSbRegistryServiceNameIsValid(), XDSbRegistryServiceNameLogicalToDisplay(), XDSbRegistryServiceNameLogicalToOdbc(), XDSbRegistryServiceNameNormalize(), XDSbRegistryServiceNameSet()
property XDSbRepositoryServiceName as %String (MAXLEN = 512);
Only used when deployed on the bus, the Service Registry entry to use for the XDSb Repository actor
Property methods: XDSbRepositoryServiceNameDisplayToLogical(), XDSbRepositoryServiceNameGet(), XDSbRepositoryServiceNameIsValid(), XDSbRepositoryServiceNameLogicalToDisplay(), XDSbRepositoryServiceNameLogicalToOdbc(), XDSbRepositoryServiceNameNormalize(), XDSbRepositoryServiceNameSet()

Methods

method ConsumeDocument(pRequest As HS.Message.XMLMessage, Output pResponse As HS.Message.XMLMessage) as %Status
method ForwardRequest(pRequest As HS.Message.XMLMessage, ByRef pResponse As HS.Message.XMLMessage) as %Status
method ForwardResponse(pResponse As HS.Message.XMLMessage) as %Status
For cases when the request was asynchronous and provided a ReplyAddress, send the response to the appropriate web service
method OnInit() as %Status
Inherited description: Ensure that SAMLCreator exists SendSAMLAssertion is not 0
method OnMessage(pRequest As %Persistent, Output pResponse As HS.Message.XMLMessage) as %Status
Inherited description: This is the default message handler. All request types not declared in the message map are delivered here
RMD ITI-86 Optionally define customization class by setting CustomProcessor to class name and define either method
Tracing in the methods with HSTRACECALLED, HSTRACECALLEDMIN, HSTRACECALLEDERROR
Overriding the document delete for a particular document can be done by defining the OnPreRemoveDocuments method ClassMethod OnPreRemoveDocuments(pHost As Ens.Host , Output pStopProcessing as %Boolean, pDocumentUniqueId As %String) as %Status()
  • if pStopProcessing is true processing this document (returned from the method).
  • Updates can be done to the pDocument object prior to any additional processing, such as extracting the service times from a different location in the CDA document
  • ClassMethod OnPostRemoveDocuments(pHost As Ens.Host, ByRef pDocument As HS.Types.IHE.XDSb.Document, ByRef pXPathDoc) as %Status()
  • Additional processing can be done to the pDocument object, such as defaulting a value (Set pDocument.ServiceStartTime=$TR($zdt($h,8),": "),Document.ServiceStopTime=$TR($zdt($h,8),": ")) if the base code failed to locate a value
  • ]]>
    method RetrieveDocument(pRequest As HS.Message.XMLMessage, pResponse As HS.Message.XMLMessage) as %Status
    method RollbackDocuments(pRequest As HS.Message.XMLMessage, pResponse As HS.Message.XMLMessage) as %Status
    method StoreDocument(pRequest As HS.Message.XMLMessage = $$$NULLOREF, Output pResponse As HS.Message.XMLMessage = $$$NULLOREF) as %Status

    Inherited Members

    Inherited Properties

    Inherited Methods

    FeedbackOpens in a new tab