←Select platform

InsertCodedConcept Method

Summary

Adds a new Coded Concept to the specified Context Group.

Syntax

C#
VB
WinRT C#
C++
Public Function InsertCodedConcept( _ 
   ByVal contextGroup As Leadtools.Dicom.DicomContextGroup, _ 
   ByVal codingSchemeDesignator As String, _ 
   ByVal codingSchemeVersion As String, _ 
   ByVal codeValue As String, _ 
   ByVal codeMeaning As String, _ 
   ByVal contextGroupLocalVersion As Leadtools.Dicom.DicomDateTimeValue, _ 
   ByVal contextGroupExtensionCreatorUID As String, _ 
   ByVal flags As Leadtools.Dicom.DicomContextGroupTableInsertFlags _ 
) As Leadtools.Dicom.DicomCodedConcept 
 function Leadtools.Dicom.DicomContextGroupTable.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.

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.
Example

For an example, refer to Insert.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly