Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
InsertCodedConcept Method
See Also 
Leadtools.Dicom Namespace > DicomContextGroupTable Class : InsertCodedConcept Method




contextGroup
The Context Group to which the new Coded Concept is to be added.
codingSchemeDesignator
The Coding Scheme Designator (0008,0102) for the new Coded Concept.
codingSchemeVersion
The Coding Scheme Version (0008,0103) for the new Coded Concept. Set this to null if no Coding Scheme Version is to be defined for the new Coded Concept.
codeValue
The Code Value (0008,0100) for the new Coded Concept.
codeMeaning
The Code Meaning (0008,0104) for the new Coded Concept.
contextGroupLocalVersion
The Context Group Local Version (0008,0107) for the new Coded Concept. Set this to null if no Context Group Local Version is to be defined for the new Coded Concept.
contextGroupExtensionCreatorUID
The Context Group Extension Creator UID (0008,010D) for the new Coded Concept. Set this to null if no Context Group Extension Creator UID is to be defined for the new Coded Concept.
flags
flag that controls the behavior of this method
Adds a new Coded Concept to the specified Context Group.

Syntax

Visual Basic (Declaration) 
Public Function InsertCodedConcept( _
   ByVal contextGroup As DicomContextGroup, _
   ByVal codingSchemeDesignator As String, _
   ByVal codingSchemeVersion As String, _
   ByVal codeValue As String, _
   ByVal codeMeaning As String, _
   ByVal contextGroupLocalVersion As DicomDateTimeValue, _
   ByVal contextGroupExtensionCreatorUID As String, _
   ByVal flags As DicomContextGroupTableInsertFlags _
) As DicomCodedConcept
Visual Basic (Usage)Copy Code
Dim instance As DicomContextGroupTable
Dim contextGroup As DicomContextGroup
Dim codingSchemeDesignator As String
Dim codingSchemeVersion As String
Dim codeValue As String
Dim codeMeaning As String
Dim contextGroupLocalVersion As DicomDateTimeValue
Dim contextGroupExtensionCreatorUID As String
Dim flags As DicomContextGroupTableInsertFlags
Dim value As DicomCodedConcept
 
value = instance.InsertCodedConcept(contextGroup, codingSchemeDesignator, codingSchemeVersion, codeValue, codeMeaning, contextGroupLocalVersion, contextGroupExtensionCreatorUID, flags)

Parameters

contextGroup
The Context Group to which the new Coded Concept is to be added.
codingSchemeDesignator
The Coding Scheme Designator (0008,0102) for the new Coded Concept.
codingSchemeVersion
The Coding Scheme Version (0008,0103) for the new Coded Concept. Set this to null if no Coding Scheme Version is to be defined for the new Coded Concept.
codeValue
The Code Value (0008,0100) for the new Coded Concept.
codeMeaning
The Code Meaning (0008,0104) for the new Coded Concept.
contextGroupLocalVersion
The Context Group Local Version (0008,0107) for the new Coded Concept. Set this to null if no Context Group Local Version is to be defined for the new Coded Concept.
contextGroupExtensionCreatorUID
The Context Group Extension Creator UID (0008,010D) for the new Coded Concept. Set this to null if no Context Group Extension Creator UID is to be defined for the new Coded Concept.
flags
flag that controls the behavior of this method

Return Value

DicomCodedConcept object that specifies the newly inserted Coded Concept. null if the method failed to allocate memory.

Example

For an example, refer to Insert.

Remarks

  • Please note that if the Coding Scheme Designator, the Code Value, and the Code Meaning of the new Coded Concept are not specified, the method fails and returns null.
  • 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 Default method to discard any changes made to the Context Group, including any additions of new Coded Concepts.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features