L_DicomGetPrevCodedConcept
#include "ltdic.h"
pDICOMCODEDCONCEPT EXT_FUNCTION L_DicomGetPrevCodedConcept(pCodedConcept)
pDICOMCODEDCONCEPT pCodedConcept; |
/* pointer to a Coded Concept */ |
Returns a pointer to the Coded Concept in the same Context Group that immediately precedes the specified Coded Concept.
Parameter |
Description |
pCodedConcept |
Pointer to a DICOMCODEDCONCEPT structure that specifies a Coded Concept. The function returns a pointer to the structure that specifies the Concept which immediately precedes this Concept (in the same Context Group), if there is one. |
Returns
!NULL |
Pointer to a DICOMCODEDCONCEPT structure that specifies the Coded Concept which immediately precedes the Concept specified by pCodedConcept. |
NULL |
No Coded Concept precedes the one specified by pCodedConcept. (pCodedConcept is the first Coded Concept in its Context Group.) |
Comments
Along with this function, the following functions can be used to maneuver through the Coded Concepts of a Context Group in the Context Group Table:
You can also use the L_DicomGetCountCodedConcept and L_DicomFindIndexCodedConcept functions to enumerate the Coded Concepts.
Use the L_DicomGetCodedConceptGroup function to determine which Context Group contains a specific Coded Concept.
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
Example
For an example, refer to L_DicomGetFirstCodedConcept.