LEADTOOLS Medical (Leadtools.Dicom.Scp assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ValidateSOPInstance Method
See Also 
Leadtools.Dicom.Scp.Command Namespace > InstanceCStoreCommand Class : ValidateSOPInstance Method



patientID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
studyInstanceUID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
seriesInstanceUID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
sopClassUID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
sopInstanceUID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
patientID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
studyInstanceUID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
seriesInstanceUID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
sopClassUID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
sopInstanceUID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
Validates the information of the Leadtools.Dicom.DicomDataSet in the query model before it is stored.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub ValidateSOPInstance( _
   ByVal patientID As String, _
   ByVal studyInstanceUID As String, _
   ByVal seriesInstanceUID As String, _
   ByVal sopClassUID As String, _
   ByVal sopInstanceUID As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As InstanceCStoreCommand
Dim patientID As String
Dim studyInstanceUID As String
Dim seriesInstanceUID As String
Dim sopClassUID As String
Dim sopInstanceUID As String
 
instance.ValidateSOPInstance(patientID, studyInstanceUID, seriesInstanceUID, sopClassUID, sopInstanceUID)
C# 
protected override void ValidateSOPInstance( 
   string patientID,
   string studyInstanceUID,
   string seriesInstanceUID,
   string sopClassUID,
   string sopInstanceUID
)
C++/CLI 
protected:
void ValidateSOPInstance( 
   String^ patientID,
   String^ studyInstanceUID,
   String^ seriesInstanceUID,
   String^ sopClassUID,
   String^ sopInstanceUID
) override 

Parameters

patientID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
studyInstanceUID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
seriesInstanceUID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
sopClassUID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.
sopInstanceUID
The patient ID in the Leadtools.Dicom.DicomDataSet to be stored.

Remarks

If the InstanceCStoreCommandConfiguration.CreateBackupForDuplicateSop is set to true this method checks if the sopInstanceUID exists in the query model. If it exists it creates a backup of the saved Leadtools.Dicom.DicomDataSet by calling CreateInstanceBackup.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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