InsertCodedConcept method (ILEADDicomDS Interface)
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