LEADTOOLS DICOM C DLL Help > Function References > L_DicomDeleteCodedConcept |
#include "ltdic.h"
L_LTDIC_API pDICOMCODEDCONCEPT L_DicomDeleteCodedConcept(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 L_DicomDefaultContextGroup function to discard any changes made to the Context Group, including the deletions of any Coded Concepts that originally belonged to the Context Group as stored in the internal table.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
Win32, x64, Linux.
See Also
Example
For an example, refer to L_DicomFindContextGroup.