InsertCodedConcept method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short InsertCodedConcept(BSTR bstrCodingSchemeDesignator, BSTR bstrCodingSchemeVersion, BSTR bstrCodeValue, BSTR bstrCodeMeaning, VARIANT_BOOL bContextGroupLocalVersion, BSTR bstrContextGroupExtensionCreatorUID, short nFlags);

Overview

Refer to Working with Context Groups.

Remarks

The InsertCodedConcept method adds a new Coded Concept to the Context Group specified by the CurrentContextGroup property and updates the CurrentCodedConcept property with the newly inserted Coded Concept.

If the parameter bContextGroupLocalVersion is set to VARIANT_TRUE, then the Context Group Local Version (0008,0107) of the new Coded Concept should be specified using the DateTimeValues property before the method is called. The method will take the first value in the array specified by the DateTimeValues property as the Context Group Local Version of the new Coded Concept.

At least the Coding Scheme Designator, the Code Value, and the Code Meaning of the new Coded Concept should be specified.

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 DefaultContextGroup method to discard any changes made to the Context Group, including the additions of new Coded Concepts.

See Also

Elements:

CurrentCodedConcept property, CurrentContextGroup property, SetCodedConceptCodeMeaning method, DeleteCodedConcept method, MoveFirstCodedConcept method, FindIndexCodedConcept method, DefaultContextGroup method, DateTimeValues property

Topics:

ILEADDicomDS Interface, IDicomContextGroup Interface, IDicomCodedConcept Interface, Working with the DicomContextGroup Object, Working with the DicomCodedConcept Object, Context Identifiers