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 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 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