Home > Class Reference > ENSLIB namespace > EnsLib.DICOM.Document
Private  Storage   

EnsLib.DICOM.Document


persistent class EnsLib.DICOM.Document extends %Persistent, Ens.Util.MessageBodyMethods, EnsLib.DICOM.Util.ULP

This class represents a DICOM Message. The message consists of two logical sub-structures, the CommandSet and the DataSet. The command set contains information about the message ( message meta-data ) and the data set contains the actual payload

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 5 9


Summary


Properties
CommandSet DestinationAET OriginalSourceAET SourceAET
SourceIPAddress

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %CompareContents
%ComposeOid %ConstructClone %Delete %DeleteExtent
%DeleteId %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%DrawHTMLForm %DrawHTMLTable %Exists %ExistsId
%Extends %GUID %GUIDSet %GetContentType
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDelete
%OnDetermineClass %OnTimeout %Open %OpenId
%OriginalNamespace %PackageName %PhysicalAddress %ProcessSubmit
%PurgeIndices %Reload %RemoveFromSaveSet %ResolveConcurrencyConflict
%RollBack %Save %SaveDirect %SaveIndices
%SerializeObject %SetModified %ShowContents %ShowContentsHead
%SortBegin %SortEnd %SyncObjectIn %SyncTransport
%UnlockExtent %UnlockId %ValidateIndices %ValidateObject
CreateFromDicomFileStream DataSetGet GetNextIndex GetStatsDimension
GetValueAt HasDataGet InitializeCommandSet SetValueAt


Parameters


• parameter DOMAIN = "EnsDICOM";
Domain for Error Messages

Properties


• property CommandSet as EnsLib.DICOM.CommandSet;
This holds the command-set, a collection of DICOM tags which contains the messages meta-data
• property DestinationAET as %String;
This holds the AET of the Our Application ( will only be automatically set for TCP inbound documents)
• property OriginalSourceAET as %String;
This holds the AET of the Originating Application prior to any transformation. ( will only be automatically set for TCP inbound documents)
• property SourceAET as %String;
This holds the AET of the Originating Application ( will only be automatically set for TCP inbound documents)
• property SourceIPAddress as %String;
This holds the IP Address of the Source ( will only be automatically set for TCP inbound documents)

Methods


• classmethod %OnDelete(oid As %ObjectIdentity) as %Status
This callback method is invoked by the %Delete method to provide notification that the object specified by oid is being deleted.

If this method returns an error then the object will not be deleted. [Previously private]

• method %ShowContents(pZenOutput As %Boolean = 0)
From 'Ens.Util.MessageBodyMethods'
• classmethod CreateFromDicomFileStream(pFileBinaryStream As %FileBinaryStream, Output pDocument As EnsLib.DICOM.Document)
Use this method to create a dicom document from a file binary stream containing DICOM data in DICOM format
• method DataSetGet()
Accessor for DataSet
• method GetNextIndex(pPropertyPath As %String, pIndex As %String = "", Output pStatus As %Status = $$$OK) as %String
This VDOC Compliant method gets the next index for a subscripted VDOC reference
• method GetValueAt(pPropertyPath As %String, pFormat As %String, pStatus As %Status) as %String
This VDOC Compliant method gets the value of the given property.
This is implemented by the document class.
pPropertyPath contains the property name.
For this class it is only applicable to the CommandSet and DataSet properties
pFormat can be defined or not. If defined it can take the values "",0 or 1.
pFormat of "" is the same as not defined.
pFormat of 0 means return an empty string and not an error if the value does not exist.
pFormat of 1 means force an error if a value does not exist.
• method HasDataGet() as %Boolean
Accessor for HasData
• method InitializeCommandSet(pStream) as %Status
Initialize the command set from an external stream
• method SetValueAt(pValue As %String, pPropertyPath As %String, pAction As %String = "set", pKey As %String = "") as %Status
This VDOC Compliant method sets the value of the given property.
This is implemented by the document class.
pPropertyPath contains the property name.
pAction contains an action code: "set", etc..
pKey contains an optional key value.
For this class it is only applicable to the CommandSet and DataSet properties