public Node(CodedEntry name, string type) { this.elements = new Elements(); children = new List <Node>(); Element element = elements.Add(t.ValueType, type); if (name != null) { Name = name; } }
public StructuredReport(CodedEntry name) { dataset = new DataSet(); dataset.Set(t.ValueType, ValueType.Container); Sequence sequence = (Sequence)dataset.Add(new Sequence(t.ConceptNameCodeSequence)); sequence.AddItem(name.Elements); dataset.Set(t.ContinuityOfContent, "SEPARATE"); root = Node.Factory(dataset.Elements); }
/// <summary> /// /// </summary> /// <param name="obj"></param> /// <returns></returns> /// <remarks>Compares CodingSchemeDesignator only.</remarks> public override bool Equals(object obj) { // If parameter is null return false. if (obj == null) { return(false); } // If parameter cannot be cast to CodedEntry return false. CodedEntry entry = obj as CodedEntry; if ((System.Object)entry == null) { return(false); } // compares code value, coding scheme designator only return(CodeValue == entry.CodeValue && CodingSchemeDesignator == entry.CodingSchemeDesignator); }
public UIDNode(CodedEntry name) : base(name, ValueType.UIDRef) { }
public TimeNode(CodedEntry name) : base(name, ValueType.Time) { }
public TextNode(CodedEntry name) : base(name, ValueType.Text) { }
public PersonNameNode(CodedEntry name) : base(name, ValueType.PersonName) { }
public ContainerNode(CodedEntry name, string continuity) : base(name, ValueType.Container) { ContinuityOfContent = continuity; }
public NumericNode(CodedEntry name) : base(name, ValueType.Numeric) { }
public CompositeNode(CodedEntry name, string type, string @class, string instance) : base(name, type) { SOPClassUID = @class; SOPInstanceUID = instance; }
public ContainerNode(CodedEntry name) : this(name, EK.Capture.Dicom.DicomToolKit.ContinuityOfContent.Separate) { }
internal CompositeNode(CodedEntry name, string type) : base(name, type) { }
public DateTimeNode(CodedEntry name) : base(name, ValueType.DateTime) { }
public ReferenceNode(CodedEntry name) : base(name, ValueType.Code) { }
public TemporalCoordinatesNode(CodedEntry name) : base(name, ValueType.TemporalCoordinates) { }
public SpatialCoordinatesNode(CodedEntry name) : base(name, ValueType.SpatialCoordinates) { }
public WaveformNode(CodedEntry name) : base(name, ValueType.Composite) { }
public ImageNode(CodedEntry name, string @class, string instance) : base(name, ValueType.Image, @class, instance) { }
public CodeNode(CodedEntry name) : base(name, ValueType.Code) { }
public CompositeNode(CodedEntry name, string @class, string instance) : this(name, ValueType.Composite, @class, instance) { }