←Select platform

InsertCodedConcept Method

Summary
Adds a new Coded Concept to the specified Context Group.
Syntax
C#
Objective-C
C++
- (nullable LTDicomCodedConcept *)insertCodedConcept:(LTDicomContextGroup *)contextGroup codingSchemeDesignator:(NSString *)codingSchemeDesignator codingSchemeVersion:(NSString *)codingSchemeVersion codeValue:(NSString *)codeValue codeMeaning:(NSString *)codeMeaning contextGroupLocalVersion:(LTDicomDateTimeValue *)contextGroupLocalVersion contextGroupExtensionCreatorUID:(NSString *)contextGroupExtensionCreatorUID flags:(LTDicomContextGroupTableInsertFlags)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 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly