Home > Class Reference > HSLIB namespace > HS.Test.Service

HS.Test.Service

class HS.Test.Service extends HS.Test.BusinessService

A simple test service which will take message objects and route to the appropriate operation. AddUpdateHubRequest to the PIX Manager etc

Property Inventory

Method Inventory

Parameters

parameter FOUNDATION = 1;
HealthShare Foundation
parameter SETTINGS = PIXConsumerOperations,PDQConsumerOperations,XDSbConsumerOperations,SourceOperations,XDSbSourceOperations,XDSbAdministratorOperations,ZipOperations,AccessGatewayOperations,MHDConsumerOperationsDSTU2,MHDConsumerOperationsSTU3,MHDSourceOperationsDSTU2,MHDSourceOperationsSTU3,PDQmConsumerOperationsDSTU2,PDQmConsumerOperationsSTU3,PIXmConsumerOperationsDSTU2,PIXmConsumerOperationsSTU3,FHIRRESTOperations;
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 AccessGatewayOperations as Ens.DataType.ConfigName [ InitialExpression = "GATEWAY" ];
Handle SearchAndFetchRequest for XDS.b PnR
Property methods: AccessGatewayOperationsDisplayToLogical(), AccessGatewayOperationsGet(), AccessGatewayOperationsIsValid(), AccessGatewayOperationsLogicalToDisplay(), AccessGatewayOperationsLogicalToOdbc(), AccessGatewayOperationsNormalize(), AccessGatewayOperationsParseConfigNameSpec(), AccessGatewayOperationsSet()
property FHIRRESTOperations as Ens.DataType.ConfigName [ InitialExpression = "HS.FHIR.REST.Operation" ];
Property methods: FHIRRESTOperationsDisplayToLogical(), FHIRRESTOperationsGet(), FHIRRESTOperationsIsValid(), FHIRRESTOperationsLogicalToDisplay(), FHIRRESTOperationsLogicalToOdbc(), FHIRRESTOperationsNormalize(), FHIRRESTOperationsParseConfigNameSpec(), FHIRRESTOperationsSet()
property MHDConsumerOperationsDSTU2 as Ens.DataType.ConfigName [ InitialExpression = "HS.FHIR.MHD.Consumer.Operations.DSTU2" ];
Property methods: MHDConsumerOperationsDSTU2DisplayToLogical(), MHDConsumerOperationsDSTU2Get(), MHDConsumerOperationsDSTU2IsValid(), MHDConsumerOperationsDSTU2LogicalToDisplay(), MHDConsumerOperationsDSTU2LogicalToOdbc(), MHDConsumerOperationsDSTU2Normalize(), MHDConsumerOperationsDSTU2ParseConfigNameSpec(), MHDConsumerOperationsDSTU2Set()
property MHDConsumerOperationsSTU3 as Ens.DataType.ConfigName [ InitialExpression = "HS.FHIR.MHD.Consumer.Operations.STU3" ];
Property methods: MHDConsumerOperationsSTU3DisplayToLogical(), MHDConsumerOperationsSTU3Get(), MHDConsumerOperationsSTU3IsValid(), MHDConsumerOperationsSTU3LogicalToDisplay(), MHDConsumerOperationsSTU3LogicalToOdbc(), MHDConsumerOperationsSTU3Normalize(), MHDConsumerOperationsSTU3ParseConfigNameSpec(), MHDConsumerOperationsSTU3Set()
property MHDSourceOperationsDSTU2 as Ens.DataType.ConfigName [ InitialExpression = "HS.FHIR.MHD.DocumentSource.Operations.DSTU2" ];
Property methods: MHDSourceOperationsDSTU2DisplayToLogical(), MHDSourceOperationsDSTU2Get(), MHDSourceOperationsDSTU2IsValid(), MHDSourceOperationsDSTU2LogicalToDisplay(), MHDSourceOperationsDSTU2LogicalToOdbc(), MHDSourceOperationsDSTU2Normalize(), MHDSourceOperationsDSTU2ParseConfigNameSpec(), MHDSourceOperationsDSTU2Set()
property MHDSourceOperationsSTU3 as Ens.DataType.ConfigName [ InitialExpression = "HS.FHIR.MHD.DocumentSource.Operations.STU3" ];
Property methods: MHDSourceOperationsSTU3DisplayToLogical(), MHDSourceOperationsSTU3Get(), MHDSourceOperationsSTU3IsValid(), MHDSourceOperationsSTU3LogicalToDisplay(), MHDSourceOperationsSTU3LogicalToOdbc(), MHDSourceOperationsSTU3Normalize(), MHDSourceOperationsSTU3ParseConfigNameSpec(), MHDSourceOperationsSTU3Set()
property PDQConsumerOperations as Ens.DataType.ConfigName [ InitialExpression = "HS.IHE.PDQv3.Consumer.Operations" ];
Handle patient search requests of the PDQ type [not mrn & aa unless AdditionalInfo.SetAt(1,"PDQ")]
Property methods: PDQConsumerOperationsDisplayToLogical(), PDQConsumerOperationsGet(), PDQConsumerOperationsIsValid(), PDQConsumerOperationsLogicalToDisplay(), PDQConsumerOperationsLogicalToOdbc(), PDQConsumerOperationsNormalize(), PDQConsumerOperationsParseConfigNameSpec(), PDQConsumerOperationsSet()
property PDQmConsumerOperationsDSTU2 as Ens.DataType.ConfigName [ InitialExpression = "HS.FHIR.PDQm.Consumer.Operations.DSTU2" ];
Property methods: PDQmConsumerOperationsDSTU2DisplayToLogical(), PDQmConsumerOperationsDSTU2Get(), PDQmConsumerOperationsDSTU2IsValid(), PDQmConsumerOperationsDSTU2LogicalToDisplay(), PDQmConsumerOperationsDSTU2LogicalToOdbc(), PDQmConsumerOperationsDSTU2Normalize(), PDQmConsumerOperationsDSTU2ParseConfigNameSpec(), PDQmConsumerOperationsDSTU2Set()
property PDQmConsumerOperationsSTU3 as Ens.DataType.ConfigName [ InitialExpression = "HS.FHIR.PDQm.Consumer.Operations.STU3" ];
Property methods: PDQmConsumerOperationsSTU3DisplayToLogical(), PDQmConsumerOperationsSTU3Get(), PDQmConsumerOperationsSTU3IsValid(), PDQmConsumerOperationsSTU3LogicalToDisplay(), PDQmConsumerOperationsSTU3LogicalToOdbc(), PDQmConsumerOperationsSTU3Normalize(), PDQmConsumerOperationsSTU3ParseConfigNameSpec(), PDQmConsumerOperationsSTU3Set()
property PIXConsumerOperations as Ens.DataType.ConfigName [ InitialExpression = "HS.IHE.PIXv3.Consumer.Operations" ];
Handle patient search requests of the PIX type (mrn & aa)
Property methods: PIXConsumerOperationsDisplayToLogical(), PIXConsumerOperationsGet(), PIXConsumerOperationsIsValid(), PIXConsumerOperationsLogicalToDisplay(), PIXConsumerOperationsLogicalToOdbc(), PIXConsumerOperationsNormalize(), PIXConsumerOperationsParseConfigNameSpec(), PIXConsumerOperationsSet()
property PIXmConsumerOperationsDSTU2 as Ens.DataType.ConfigName [ InitialExpression = "HS.FHIR.PIXm.Consumer.Operations.DSTU2" ];
Property methods: PIXmConsumerOperationsDSTU2DisplayToLogical(), PIXmConsumerOperationsDSTU2Get(), PIXmConsumerOperationsDSTU2IsValid(), PIXmConsumerOperationsDSTU2LogicalToDisplay(), PIXmConsumerOperationsDSTU2LogicalToOdbc(), PIXmConsumerOperationsDSTU2Normalize(), PIXmConsumerOperationsDSTU2ParseConfigNameSpec(), PIXmConsumerOperationsDSTU2Set()
property PIXmConsumerOperationsSTU3 as Ens.DataType.ConfigName [ InitialExpression = "HS.FHIR.PIXm.Consumer.Operations.STU3" ];
Property methods: PIXmConsumerOperationsSTU3DisplayToLogical(), PIXmConsumerOperationsSTU3Get(), PIXmConsumerOperationsSTU3IsValid(), PIXmConsumerOperationsSTU3LogicalToDisplay(), PIXmConsumerOperationsSTU3LogicalToOdbc(), PIXmConsumerOperationsSTU3Normalize(), PIXmConsumerOperationsSTU3ParseConfigNameSpec(), PIXmConsumerOperationsSTU3Set()
property SourceOperations as Ens.DataType.ConfigName [ InitialExpression = "HS.IHE.PIXv3.Source.Operations" ];
Handle AddUpdateHub request messages adding to PIX manager
Property methods: SourceOperationsDisplayToLogical(), SourceOperationsGet(), SourceOperationsIsValid(), SourceOperationsLogicalToDisplay(), SourceOperationsLogicalToOdbc(), SourceOperationsNormalize(), SourceOperationsParseConfigNameSpec(), SourceOperationsSet()
property XDSbAdministratorOperations as Ens.DataType.ConfigName [ InitialExpression = "HS.IHE.XDSb.Administrator.Operations" ];
Handle XDSb Metadata update requests
Property methods: XDSbAdministratorOperationsDisplayToLogical(), XDSbAdministratorOperationsGet(), XDSbAdministratorOperationsIsValid(), XDSbAdministratorOperationsLogicalToDisplay(), XDSbAdministratorOperationsLogicalToOdbc(), XDSbAdministratorOperationsNormalize(), XDSbAdministratorOperationsParseConfigNameSpec(), XDSbAdministratorOperationsSet()
property XDSbConsumerOperations as Ens.DataType.ConfigName [ InitialExpression = "HS.IHE.XDSb.Consumer.Operations" ];
Handle XDSb Query / Retrieve requests
Property methods: XDSbConsumerOperationsDisplayToLogical(), XDSbConsumerOperationsGet(), XDSbConsumerOperationsIsValid(), XDSbConsumerOperationsLogicalToDisplay(), XDSbConsumerOperationsLogicalToOdbc(), XDSbConsumerOperationsNormalize(), XDSbConsumerOperationsParseConfigNameSpec(), XDSbConsumerOperationsSet()
property XDSbRegistryOperations as Ens.DataType.ConfigName [ InitialExpression = "HS.IHE.XDSb.Registry.Operations" ];
Property methods: XDSbRegistryOperationsDisplayToLogical(), XDSbRegistryOperationsGet(), XDSbRegistryOperationsIsValid(), XDSbRegistryOperationsLogicalToDisplay(), XDSbRegistryOperationsLogicalToOdbc(), XDSbRegistryOperationsNormalize(), XDSbRegistryOperationsParseConfigNameSpec(), XDSbRegistryOperationsSet()
property XDSbSourceOperations as Ens.DataType.ConfigName [ InitialExpression = "HS.IHE.XDSb.DocumentSource.Operations" ];
Handle XDSb Provide and register request
Property methods: XDSbSourceOperationsDisplayToLogical(), XDSbSourceOperationsGet(), XDSbSourceOperationsIsValid(), XDSbSourceOperationsLogicalToDisplay(), XDSbSourceOperationsLogicalToOdbc(), XDSbSourceOperationsNormalize(), XDSbSourceOperationsParseConfigNameSpec(), XDSbSourceOperationsSet()
property ZipOperations as Ens.DataType.ConfigName [ InitialExpression = "HS.Util.Zip.Operations" ];
Property methods: ZipOperationsDisplayToLogical(), ZipOperationsGet(), ZipOperationsIsValid(), ZipOperationsLogicalToDisplay(), ZipOperationsLogicalToOdbc(), ZipOperationsNormalize(), ZipOperationsParseConfigNameSpec(), ZipOperationsSet()

Methods

classmethod GetResponse(pRequestId As %String, ByRef pResponse As Ens.Response, ByRef pStatus As %String, ByRef pSessionId As %String) as %Status [ Language = objectscript ]
method OnProcessInput(pInput As %RegisteredObject, Output pOutput As %RegisteredObject, ByRef pHint As %String) as %Status [ Language = objectscript ]
Inherited description: Override this method to process incoming data. Do not call SendRequestSync/Async() from outside this method (e.g. in a SOAP Service or a CSP page).
classmethod SendAsync(pInput As Ens.Request, ByRef pSessionId As %String) as %Status [ Language = objectscript ]
classmethod SendFile(pFilename As %String = "", pAction As %String = "", pOperation As %String = "", pServiceName As %String = "", ByRef pResponse As Ens.Response) as %Status [ Language = objectscript ]
Set tSC=##class(HS.Test.Service).SendFile("/wtemp/test.xml","urn:ihe:iti:2007:ProvideAndRegisterDocumentSet-b","HS.Util.SOAPClient.Operations","XDSb.Repository",.Response)
classmethod SendSync(pInput As Ens.Request, ByRef pOutput As Ens.Response, pTimeout As %Numeric = -1, ByRef pSessionId="") as %Status [ Language = objectscript ]

Inherited Members

Inherited Properties

Inherited Methods