EnsLib.DICOM.Util.Data
hidden abstract serial class EnsLib.DICOM.Util.Data extends %Library.SerialObject, EnsLib.DICOM.DataSetInterface
Property Inventory
Method Inventory
- Clear()
- ComposeStream()
- ExplicitGet()
- GetNextIndex()
- GetVRAt()
- GetValueAt()
- HasDataGet()
- Initialize()
- KeyGet()
- OutputHtmlToDevice()
- OutputVDocToDevice()
- OutputXmlToDevice()
- SetVRAt()
- SetValueAt()
- ShouldStopDecomposition()
Parameters
parameter DOMAIN = EnsDICOM;
Domain for $$$Text() localizations
parameter HTMLTABLENAME = html;
Default HTML table name for html representation
parameter HTMLTABLETITLE;
Default HTML table title for html representation
parameter XMLTAG = xml;
Default top level XML tag for xml representation
Properties
property TransferSyntax as %String;
This holds the selected transfer syntax
Property methods: TransferSyntaxDisplayToLogical(), TransferSyntaxGet(), TransferSyntaxIsValid(), TransferSyntaxLogicalToDisplay(), TransferSyntaxLogicalToOdbc(), TransferSyntaxNormalize(), TransferSyntaxSet()
Methods
method Clear() as %Status
Store the data set on the specified (binary) stream
method ExplicitGet() as %Boolean
Getter for Explicit property
method GetNextIndex(pPropertyReference As %String, pIndex As %String = "", Output pSC As %Status = $$$OK) as %String
This VDOC Compliant method gets the next index for a subscripted VDOC reference
This method provides the ability to determine the value representation of the referenced property.
In general the VR of a particular property is fixed by the DICOM standard. However there are some
properties, most notably the long binary values ( including the pixel data ) which have two alternative
representations allowed. Generically the VR is referred to as OX meaning the data can be one of 'OB'
(byte oriented) or 'OW' (word oriented). The generic VR referred to as XS means the data can be one of
'SS' (signed short) or 'US' (unsigned short).
method GetValueAt(pPropertyPath As %String, pFormat As %String, Output pStatus As %Status, pDummy) as %String
This VDOC Compliant method gets the value of the given property.
This is implemented by the document class.
pPropertyPath contains the property path.
On success, if the value is long or contains pixel data a stream will be returned otherwise the data will be a regular string.
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.
This is implemented by the document class.
pPropertyPath contains the property path.
On success, if the value is long or contains pixel data a stream will be returned otherwise the data will be a regular string.
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
This method initializes the object from a wirestream. The wirestream should contain data in a format specified
by the transfer syntax.
method KeyGet() as %Integer
Accessor for the Key property
method OutputHtmlToDevice() as %Status
This methods dumps an Html description of the dataset to the current device
method OutputVDocToDevice() as %Status
This methods dumps an eye-readable VDOC description of the dataset to the current device
method OutputXmlToDevice() as %Status
This methods dumps an XML description of the dataset to the current device
This method provides the ability to SET the value representation of the referenced property.
In general the VR of a particular property is fixed by the DICOM standard. However there are some
properties, most notably the long binary values ( including the pixel data ) which have two alternative
representations allowed. Generically the VR is referred to as OX meaning the data can be one of 'OB'
(byte oriented) or 'OW' (word oriented). The generic VR referred to as XS means the data can be one of
'SS' (signed short) or 'US' (unsigned short).
method SetValueAt(pValue As %String, pPropertyReference 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.
pPropertyReference contains the property name.
pAction contains an action code: "set", etc..
pKey contains an optional key value.
This is implemented by the document class.
pPropertyReference contains the property name.
pAction contains an action code: "set", etc..
pKey contains an optional key value.
This method can be overriden by subclasses to cause the decomposition of a data set to be exited early.
This is useful for parsing file meta data and wire protocol command sets
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %Delete()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %GetSwizzleObject()
- %IsA()
- %IsModified()
- %IsNull()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %OnBeforeAddToSync()
- %OnDetermineClass()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %SerializeObject()
- %SetModified()
- %SyncObjectIn()
- %SyncTransport()
- %ValidateObject()
- LogicalToOdbc()
- OdbcToLogical()