Class AbstractPriorValue

  • All Implemented Interfaces:
    org.dcm4che.typeddicom.AttributesWrapper, org.dcm4che.typeddicom.DataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.IntDataElementMultiWrapper, SignedShortMultiWrapper

    public class AbstractPriorValue
    extends org.dcm4che.typeddicom.AbstractDataElementWrapper
    implements SignedShortMultiWrapper
    Name: Abstract Prior Value
    Keyword: AbstractPriorValue
    Tag: (0072,003C)
    Value Representation: SignedShort
    Value Multiplicity: 2
    • Described in the contexts: as follows:
      Attribute Name: Abstract Prior Value
      Type: 1C
      Attribute Description:

      Identifies a prior image set in abstract terms.

      Exactly two integer values, indicating the range of prior Studies to include. Each value shall be greater than zero, where 1 indicates the most recent prior and higher values indicate successively older priors. The special value -1 shall indicate the oldest prior.

      Note
      1. The value pair n indicates the nth prior.

      2. The value pair -1\-1 indicates the oldest prior.

      3. The value pair m indicates the mth through nth priors, where m is the more recent prior.

      4. The value pair 1\-1 indicates all priors.

      5. The value pair m\-1 indicates the mth prior and all priors older than m.

      Required if Image Set Selector Category (0072,0034) is ABSTRACT_PRIOR and Abstract Prior Code Sequence (0072,003E) is not present.


    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractPriorValue()
      Creates a new Abstract Prior Value object which wraps a new and empty Attributes object.
      AbstractPriorValue​(org.dcm4che3.data.Attributes attributes)
      Creates a new Abstract Prior Value object which wraps the provided attributes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AbstractPriorValue copy()
      Returns a new Abstract Prior Value which wraps a copy of the Attributes wrapped in this Abstract Prior Value.
      java.lang.String getPrivateCreator()  
      int getTag()  
      • Methods inherited from class org.dcm4che.typeddicom.AbstractDataElementWrapper

        equals, exists, getValue, hashCode, toString
      • Methods inherited from class org.dcm4che.typeddicom.AbstractAttributesWrapper

        getAttributes
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper

        copy, getAttributes, getKnownAttributeTags, getUnknownAttributeTags, isEmpty
      • Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper

        getBytes, getSafeBytes, setBytes
      • Methods inherited from interface org.dcm4che.typeddicom.DataElementWrapper

        exists, getValue
      • Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntDataElementMultiWrapper

        getInt, getInts, setInts
    • Constructor Detail

      • AbstractPriorValue

        public AbstractPriorValue​(org.dcm4che3.data.Attributes attributes)
        Creates a new Abstract Prior Value object which wraps the provided attributes.
        Parameters:
        attributes - the Attributes object to be wrapped.
      • AbstractPriorValue

        public AbstractPriorValue()
        Creates a new Abstract Prior Value object which wraps a new and empty Attributes object.
    • Method Detail

      • copy

        public AbstractPriorValue copy()
        Returns a new Abstract Prior Value which wraps a copy of the Attributes wrapped in this Abstract Prior Value. (see Attributes(Attributes)
        Returns:
        a new Abstract Prior Value which wraps a copy of the Attributes wrapped in this Abstract Prior Value.
      • getPrivateCreator

        public java.lang.String getPrivateCreator()
        Specified by:
        getPrivateCreator in interface org.dcm4che.typeddicom.DataElementWrapper
      • getTag

        public int getTag()
        Specified by:
        getTag in interface org.dcm4che.typeddicom.DataElementWrapper