For information on converting to InterSystems IRIS, see the
InterSystems IRIS Adoption Guide
and the InterSystems IRIS In-Place Conversion Guide,
both available on the WRC Distributions page (login required).
This class represents a DICOM Association Context. It manages data which defines various parameters which are
exchanged with the DICOM peer during the connection negotiation process. Items include the names of the calling and
called Application Entity Titles (AETs), the maximum physical size of TCP data packets along with a list of one or more
presentation context objects which defines of which services are/should be available and their associated transfer syntaxes
Inherited description: This callback method is invoked by the %New() method to
provide notification that a new instance of an object is being created.
If this method returns an error then the object will not be created.
It is passed the arguments provided in the %New call.
When customizing this method, override the arguments with whatever variables and types you expect to receive from %New().
For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:
Method %OnNew(dob as %Date = "", name as %Name = "") as %Status
If instead of returning a %Status code this returns an oref and this oref is a subclass of the current
class then this oref will be the one returned to the caller of %New method.
classmethod ActiveClose(ByRef qHandle As %Binary) as %Status
classmethod ActiveDetailClose(ByRef qHandle As %Binary) as %Status
classmethod ActiveDetailExecute(ByRef qHandle As %Binary, pGUID As %String) as %Status
classmethod ActiveDetailFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod ActiveExecute(ByRef qHandle As %Binary) as %Status
classmethod ActiveFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod CreateAssociation(pCallingAET As %String, pCalledAET As %String, pTransferSyntaxes As %List = $ListBuild($$$IMPLICITVRLETRANSFERSYNTAX)) as %Status
This method creates an AssociationContext instance for the specified calling and called AET for
AbstractSyntaxes which supports ALL known SOPs. The TCP Adapter will use the definitions defined here to validate associations
It should be noted that this association simply defines all SOP classes that are known in the data dictionary. There is a small
performance penalty for this and it may be preferable to define just the SOP classes needed either with the UI tool found at
EMP/Maintenance/DICOM SETTINGS or by using the ImportAssociation() method above. Note that the default transfer syntax here is
the DICOM mandated IMPLICIT VR little endian syntax.
This method exports an Association Context as XML into the specified file
classmethod ImportAssociation(pFileName As %String, pCallingAET As %String, pCalledAET As %String, pOverWriteExisting As %Boolean = 0)
This method is passed a filename containing a list of presentation contexts containing SOP/TransferSyntax pairs
An Association will be created between the pair of AETs containing the information from the file
List the details of an Active Association
PC is the presentation context ID will range from 1 - n odd numbers only
AS is the uid of the abstract syntax
ASName is the name of the abstract syntax
Accepted is a Boolean. If its set to 1 then the next two items will be non empty
TS is the uid of the accepted transfer syntax
TSName is the name of the accepted transfer syntax
query Enumerate()
SQL Query: SELECT %Id, CallingAET,CalledAET, Name, Description FROM EnsLib_DICOM_Util.AssociationContext
Indexes
index (AET on CallingAET,CalledAET) [IdKey, Type = key];
Index AET, use this for retrieving instance of the object from the database
Index methods: AETCheck(), AETDelete(), AETExists(), AETOpen(), AETSQLCheckUnique(), AETSQLExists(), AETSQLFindPKeyByConstraint(), AETSQLFindRowIDByConstraint()