LDicomDir::SetFileSetID

#include "Ltdic.h"

L_UINT16 LDicomDir::SetFileSetID(pszFileSetID)

L_TCHAR* pszFileSetID;

/* file-set ID */

Sets the identifier of the file-set for which the Dicom Directory is created.

Parameter

Description

pszFileSetID

Character string that contains the ID of the file-set.

Returns

0

The function was successful.

> 0

An error occurred. Refer to Return Codes.

Comments

This function sets the value of the File-set ID (0004,1130) element. Since the VR of this element is CS (Code String), the identifier of the File-set shouldnt exceed 16 characters. The characters allowed are the uppercase characters, "0" "9", the SPACE character, and the underscore "_", of the Default Character Repertoire.

The identifier of a file-set provides a simple, humanly readable reference. However, the identifier might not be globally unique. For example, a File-set ID can be set to be identical to a disk label.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

Class Members

Topics:

Creating DICOM Directories

 

Dicom Directories

Example

For an example, refer to LDicomDir::InsertDicomDS.