LDicomContextGroup::SetCodeMeaning

#include "ltdic.h"

static L_BOOL LDicomContextGroup::SetCodeMeaning(pCodedConcept, pszCodeMeaning)

pDICOMCODEDCONCEPT pCodedConcept;

/* pointer to a Coded Concept */

L_TCHAR * pszCodeMeaning;

/* Code Meaning */

Sets the Code Meaning (0008,0104) for the specified Coded Concept.

Parameter

Description

pCodedConcept

Pointer to a DICOMCODEDCONCEPT structure that specifies the Coded Concept whose Code Meaning is to be set.

pszCodeMeaning

Character string that contains the new Code Meaning (0008,0104).

Returns

TRUE

The Code Meaning was set successfully.

FALSE

The function failed to allocate memory.

Comments

If a Context Group in the Context Group Table has a corresponding Group in the internal table maintained by LEADTOOLS, then you can use the LDicomContextGroup::Default function to discard any changes made to the Context Group, including those made to the Code Meanings of its Coded Concepts, and to revert to the values stored in the internal table. For a list of the Context Identifiers (CIDs) of the Context Groups in the internal table, along with their names, refer to Context Identifier Values.

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

See Also

Functions:

LDicomContextGroup::InsertCodedConcept, LDicomContextGroup::DeleteCodedConcept, LDicomContextGroup::GetFirstCodedConcept, LDicomContextGroup::FindIndexCodedConcept, LDicomContextGroup::Default, Class Members

Topics:

Working with Context Groups

Example

For an example, refer to LDicomContextGroup::Find.