ClearCanvas.ImageViewer.StudyManagement.Sop.GetStudyIdentifier C# (CSharp) Method

GetStudyIdentifier() private method

private GetStudyIdentifier ( ) : IStudyRootStudyIdentifier
return IStudyRootStudyIdentifier
		internal IStudyRootStudyIdentifier GetStudyIdentifier()
		{
			return new StudyRootStudyIdentifier(this, this, null)
			       	{
			       		SpecificCharacterSet = DicomStringHelper.GetDicomStringArray(SpecificCharacterSet),
			       		RetrieveAE = DataSource.Server,
			       		InstanceAvailability = "ONLINE"
			       	};
		}

Usage Example

Ejemplo n.º 1
0
 /// <summary>
 /// Gets an <see cref="IStudyRootStudyIdentifier"/> for this <see cref="Study"/>.
 /// </summary>
 /// <remarks>An <see cref="IStudyRootStudyIdentifier"/> can be used in situations where you only
 /// need some data about the <see cref="Study"/>, but not the <see cref="Study"/> itself.  It can be problematic
 /// to hold references to <see cref="Study"/> objects outside the context of an <see cref="IImageViewer"/>
 /// because they are no longer valid when the viewer is closed; in these situations, it may be appropriate to
 /// use an identifier.
 /// </remarks>
 public IStudyRootStudyIdentifier GetIdentifier()
 {
     return(_sop.GetStudyIdentifier());
 }