LDicomContextGroup::DeleteCodedConcept

#include "ltdic.h"

static pDICOMCODEDCONCEPT LDicomContextGroup::DeleteCodedConcept(pCodedConcept)

pDICOMCODEDCONCEPT pCodedConcept;

/* pointer to a Coded Concept */

Deletes the specified Coded Concept from the Context Group to which it belongs.

Parameter

Description

pCodedConcept

Pointer to a DICOMCODEDCONCEPT structure that specifies the Coded Concept to be deleted.

Returns

!NULL

Pointer to a DICOMCODEDCONCEPT structure that specifies an adjacent Coded Concept in the same Context Group. This Concept is the one immediately following the Concept being deleted or the one immediately preceding it if no Concepts follow the Concept being deleted.

NULL

No Coded Concepts are left in the Context Group of the deleted Coded Concept.

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 the deletions of any Coded Concepts that originally belong to the Context Group, as stored in the internal table.

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:

LDicomContextGroup::SetCodeMeaning, LDicomContextGroup::InsertCodedConcept, LDicomContextGroup::GetFirstCodedConcept, LDicomContextGroup::FindIndexCodedConcept, LDicomContextGroup::ExistsCodedConcept, LDicomContextGroup::GetContextGroup, LDicomContextGroup::Default, LDicomContextGroup::Delete, Class Members

Topics:

Working with Context Groups

 

How to Disable the Automatic Loading of the default DICOM Context Group Table

Example

For an example, refer to LDicomContextGroup::Find.