Пример #1
0
		/// <summary>
		/// Creates a single instance of a IdenticalDocumentsSequence item. Does not modify the IdenticalDocumentsSequence in the underlying collection.
		/// </summary>
		public IHierarchicalSopInstanceReferenceMacro CreateIdenticalDocumentsSequence()
		{
			IHierarchicalSopInstanceReferenceMacro iodBase = new HierarchicalSopInstanceReferenceMacro(new DicomSequenceItem());
			iodBase.InitializeAttributes();
			return iodBase;
		}
		/// <summary>
		/// Creates and initializes a <see cref="IHierarchicalSopInstanceReferenceMacro"/> to the given study instance.
		/// </summary>
		/// <param name="studyInstanceUid">The study instance UID.</param>
		protected virtual IHierarchicalSopInstanceReferenceMacro CreateStudyReference(string studyInstanceUid)
		{
			IHierarchicalSopInstanceReferenceMacro reference = new HierarchicalSopInstanceReferenceMacro(new DicomSequenceItem());
			reference.InitializeAttributes();
			reference.StudyInstanceUid = studyInstanceUid;
			return reference;
		}
Пример #3
0
		/// <summary>
		/// Creates a single instance of a CurrentRequestedProcedureEvidenceSequence item. Does not modify the CurrentRequestedProcedureEvidenceSequence in the underlying collection.
		/// </summary>
		public IHierarchicalSopInstanceReferenceMacro CreateCurrentRequestedProcedureEvidenceSequence()
		{
			IHierarchicalSopInstanceReferenceMacro iodBase = new HierarchicalSopInstanceReferenceMacro(new DicomSequenceItem());
			iodBase.InitializeAttributes();
			return iodBase;
		}
		/// <summary>
		/// Creates a single instance of a PredecessorDocumentsSequence item. Does not modify the PredecessorDocumentsSequence in the underlying collection.
		/// </summary>
		public IHierarchicalSopInstanceReferenceMacro CreatePredecessorDocumentsSequenceItem()
		{
			var iodBase = new HierarchicalSopInstanceReferenceMacro(new DicomSequenceItem());
			iodBase.InitializeAttributes();
			return iodBase;
		}