←Select platform

InsertHangingProtocol Method

Summary

Inserts a hanging protocol row into the database table.

Syntax
C#
C++/CLI
protected virtual void InsertHangingProtocol( 
   string sopInstanceUid, 
   string sopClassUid, 
   string name, 
   string description, 
   string level, 
   string creator, 
   string userGroupName, 
   int numberOfPriorsReferenced, 
   string specificCharacterSet, 
   string referencedFile, 
   Nullable<DateTime> creationDateTime, 
   bool overwrite 
) 
protected:  
   virtual void InsertHangingProtocol( 
       String^ sopInstanceUid, 
      String^ sopClassUid, 
      String^ name, 
      String^ description, 
      String^ level, 
      String^ creator, 
      String^ userGroupName, 
      Int32 numberOfPriorsReferenced, 
      String^ specificCharacterSet, 
      String^ referencedFile, 
      Nullable<DateTime^>^ creationDateTime, 
      bool overwrite 
   ) 

Parameters

command

Type: System.Data.Common.DbCommand The database command that will be initialized to execute the insert.

sopInstanceUid

The SOP Instance UID of the hanging protocol.

sopClassUid

The SOP Class UID of the hanging protocol.

name

The name of the hanging protocol.

description

The description of the hanging protocol.

level

The hanging protocol level. This can be: SITE, USER_GROUP, SINGLE_USER or MANUFACTURER.

creator

The hanging protocol creator's name

userGroupName

When the level is set to USER_GROUP this parameter indicates the user group's name.

numberOfPriorsReferenced

Number of priors referenced by this hanging protocol

specificCharacterSet

Use empty string for default, otherwise you can specify what charcter set to use.

referencedFile

The dicom dataset file referenced.

creationDateTime

Timestamp of when was this created.

overwrite

If true, overwrite any existing hanging protocol with the same sopInstanceUid. If false, do not overwrite.

Requirements

Target Platforms

Help Version 22.0.2023.2.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Storage.DataAccessLayer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.