Skip to main content

HS.Test.UI.Main

class HS.Test.UI.Main extends HS.HC.UI.Util

This a template page that provides a standard template for subclasses within the ICE IHE Test application

Property Inventory

Method Inventory

Parameters

parameter APPLICATION = HS.UI.Application;
Class name of application this page belongs to.
parameter HSDEPLOY = 0;
parameter PAGENAME = MainPage;
Displayed name of this page.
parameter RESOURCE = %HS_TestSuite;
Inherited description: This is a comma-delimited list of system Resources and associated permissions. A user must hold the specified permissions on at least one of the specified resources in order to view this page or invoke any of its server-side methods from the client.
The format of each item in the list should be as follows:
Resource[:Permission]
Permission is optional, and defaults to USE if not supplied. If it is supplied, it should be one of USE, READ or WRITE.
parameter SERVICEREGISTRYENTRY;
parameter SINGLETAB = 1;
parameter TARGETHOST;
Which business host to send this request to, versus updating the HS.Test.Service code
parameter TESTSERVICENAME = IHE.Test;
parameter TESTSERVICEPORT = 54321;

Properties

property IsConnectathon as %Boolean [ InitialExpression = ##class(HS.Registry.Config).GetKeyValue("\IHE\Connectathon",0)=1 ];
Property methods: IsConnectathonDisplayToLogical(), IsConnectathonGet(), IsConnectathonIsValid(), IsConnectathonLogicalToDisplay(), IsConnectathonLogicalToXSD(), IsConnectathonNormalize(), IsConnectathonSet(), IsConnectathonXSDToLogical()
property StdTitle as %ZEN.Datatype.string [ InitialExpression = ..#PAGENAME ];
Domain used for localization. Parameter DOMAIN = ""; Define the title that will be displayed within subclasses
Property methods: StdTitleDisplayToLogical(), StdTitleGet(), StdTitleIsValid(), StdTitleLogicalToDisplay(), StdTitleLogicalToOdbc(), StdTitleNormalize(), StdTitleSet()
property TESTGROUPID as %String (ZENURL = "TestGroupID");
Property methods: TESTGROUPIDDisplayToLogical(), TESTGROUPIDGet(), TESTGROUPIDIsValid(), TESTGROUPIDLogicalToDisplay(), TESTGROUPIDLogicalToOdbc(), TESTGROUPIDNormalize(), TESTGROUPIDSet()
property category as %ZEN.Datatype.caption [ InitialExpression = "Intersystems Implementation" ];
Category displayed within this pane (above the title).
Property methods: categoryDisplayToLogical(), categoryGet(), categoryIsValid(), categoryLogicalToDisplay(), categoryLogicalToOdbc(), categoryNormalize(), categorySet()
property title as %ZEN.Datatype.caption;
Title displayed within this pane.
Property methods: titleDisplayToLogical(), titleGet(), titleIsValid(), titleLogicalToDisplay(), titleLogicalToOdbc(), titleNormalize(), titleSet()

Methods

method %OnAfterCreatePage() as %Status
Inherited description: This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
method AddContentButton(pCaption="", pSessionId="", pComment="", pSubComment="", pExtension="txt")
method AddErrorToResultsPane(tSC As %Status = "", pClear=1)
method AddPatient(pPatientID, pPatientName)
method AddRecentDocuments(pResponse="", pCombo="", pPatientID="")
method AddRecentPatientMRNAA(pPatientId="", pIdentifiers="", pCombo="")
method AddRecentPatients(pResponse="", pCombo="", pAffinityDomainOID=$$$AffinityDomainOID)
method AddServiceEntries(pDefaultEntry="", pRegistryCombo="cmbServiceRegistry")
method AddServiceRegistryEntries(tDefaultEntry="", tDeviceFunction="")
classmethod CheckProduction(Output pText) as %Status [ ZenMethod ]
method ClearRecentPatients()
method ClearResultsPane() [ ZenMethod ]
method CreateAssigningAuthorityRS(Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo) as %ResultSet
method CreateCodedEntryRS(Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo) as %ResultSet
method CreateFacilityRS(Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo) as %ResultSet
method CreatePIXPDQServiceRegistryRS(Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo) as %ResultSet
method CreateServiceRegistryRS(Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo) as %ResultSet
classmethod CreateTCPTraceEntry(pName As %String = "IHE.Test.Service", pInboundPort, pOutboundPort, pOutboundAddress, pSSLConfig) as %Status
classmethod CreateTempID(pSession="", pComment="", pSubComment="", pStripXMLMessage=1) as %String
classmethod CreateTraceEntry(pServiceObject As HS.Registry.Service.Abstract, pName As %String = "IHE.Test.Service", pInboundPort) as %Status
method DisplayGroupTestName(pGroupTest As HS.Test.UI.TestGroup)
method DisplayGroupTestResult(pGroupTest As HS.Test.UI.TestGroup, pClear=1)
method DisplayTestResult(pTest As HS.Test.UI.Test, pGroupTest As HS.Test.UI.TestGroup = "", pClear=0)
method DisplayTestResultSync(pTest As HS.Test.UI.Test, pGroupTest As HS.Test.UI.TestGroup = "", pClear=0)
method DrawTitle(pSeed As %String) as %Status
method Execute(pTest As HS.Test.UI.Test, pGroup As HS.Test.UI.TestGroup = "", pRegistryCombo="cmbServiceRegistry") as %Status
method ExecuteAsync(pTest As HS.Test.UI.Test, pGroup As HS.Test.UI.TestGroup = "", pServiceRegistry="cmbServiceRegistry") as %String [ ZenMethod ]
method ExecuteEntry(pRequest, ByRef pResponse="", ByRef pSessionId, pUseTrace=1) as %Status
method ExportFile(pCaption, pSessionId, pComment, pSubComment, pExtension="txt") [ ZenMethod ]
classmethod GetDefaultTracePort(pName, pPort)
classmethod GetLastTrace(pHost, pPort, pTxtRequest, pTxtResponse, pLastEntry) as %Status
classmethod GetLastTraceEntryLogged() as %Integer
classmethod GetLastTraceID(pHost, pPort, pLastEntry) as %String
method GetNewTestService(pServiceObject As HS.Registry.Service.Abstract, ByRef pNewServiceObject As HS.Registry.Service.Abstract) as %Status
Given a TestService object create a Test.IHE.{username} service entry and return it in pServiceObject
method GetPatientID(pPatientID) as %String [ ZenMethod ]
method GetSearchStatus(SearchId As %String) as %String [ ZenMethod ]
method GetServiceName()
method GetServiceRegistryEntry() as HS.Registry.Service.Abstract
method GetServiceRegistryID(pServiceRegistryCombo="cmbServiceRegistry") as %Integer
method GetTestService(Output pServiceName, Output pHost, Output pPort, ByRef pTestServiceName="", ByRef pTestServiceHost="localhost", ByRef pTestServicePort="") as %Status
classmethod GetTraceID(pHost, pPort, pInboundPort, pLastEntry) as %String
classmethod GetTraceMessage(pSession, pComment) as HS.Util.Trace.Request
method LogException(ex, pGroup="")
method LogFinished(pGroup="")
finished a section
method LogMessage(pMsg As %String = "", pGroup="", pMethod="", pDateSwitch=1)
method LogStatus(pSC As %Status, pGroup="")
clientmethod MessageView() [ Language = javascript ]
method PostAsyncExecuteDisplay(pGroup, pHistory=0)
classmethod SetDefaultTracePort(pName, pPort)
If the trace port exists...update it to the new port
method SetLogging() as %Status
method ShowItem(pItem, pText) [ ZenMethod ]
method ShowXML(objName) [ ZenMethod ]
clientmethod Start(pButton, pClear) [ Language = javascript ]
clientmethod StartSend(pButton, pURL="") [ Language = javascript ]
clientmethod ToggleButton(pButton, pDisabled) [ Language = javascript ]
method UpdateSvcParams() [ ZenMethod ]
clientmethod jsShowItem(pItem, pText) [ Language = javascript ]
clientmethod timeout() [ Language = javascript ]
Executing call - start timeout
clientmethod updatePatientID(object) [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods

Subclasses

FeedbackOpens in a new tab