QMed_GetElements

QMed_GetElements(imageRef; parentElementRef; elementRefs):error
imageRef Longint Reference to the image
parentElementRef Longint Parent element reference
elementRefs Array longint Element references
error Longint Error result

Retrieves the reference numbers for all data elements at a given level of the DICOM data hierarchy.

The DICOM image file is specified by imageRef. If imageRef is not a valid image reference, error qmed_paramErr is returned. If imageRef is a valid image reference but the image is not in the DICOM format, error qmed_badComponentType is returned.

Parameter parentElementRef is the reference number of a sequence data element, specifying the level in the DICOM data hierarchy. If parentElementRef is not a valid element reference, error qmed_badDataElementRef is returned. If parentElementRef is a valid element reference but the element is not a sequence, error qmed_badParentElementType is returned. To specify the top level of the hierarchy, set parentElementRef to 0.

Parameter elementRefs receives the reference numbers of all data elements at the specified level.


QMedical © Escape
Generated by QDoc 2.8 on Wed, Jan 27, 2010 17:55:21