Class AbstractPriorValue
java.lang.Object
org.dcm4che.typeddicom.AbstractAttributesWrapper
org.dcm4che.typeddicom.AbstractDataElementWrapper
org.dcm4che.typeddicom.dataelements.AbstractPriorValue
- All Implemented Interfaces:
AttributesWrapper,DataElementWrapper,BytesDataElementWrapper,IntDataElementMultiWrapper,SignedShortMultiWrapper
public class AbstractPriorValue
extends AbstractDataElementWrapper
implements SignedShortMultiWrapper
Name: Abstract Prior Value
Keyword: AbstractPriorValue
Tag: (0072,003C)
Value Representation: SS
Value Multiplicity: 2
Keyword: AbstractPriorValue
Tag: (0072,003C)
Value Representation: SS
Value Multiplicity: 2
- Described in the contexts:
- Hanging Protocol Definition Module > Image Sets Sequence > Time Based Image Sets Sequence > Abstract Prior Value
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-
The value pair n\n indicates the nth prior.
-
The value pair -1\-1 indicates the oldest prior.
-
The value pair m\n indicates the mth through nth priors, where m is the more recent prior.
-
The value pair 1\-1 indicates all priors.
-
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAbstractPriorValue.Builder<SELF extends AbstractPriorValue.Builder<SELF,T>, T extends AbstractPriorValue.Holder> static interfaceA class implementing this interface can hold attributes which contain the DICOM tag "Abstract Prior Value" (seeAbstractPriorValue)static classNested classes/interfaces inherited from interface org.dcm4che.typeddicom.valuerepresentations.SignedShortMultiWrapper
SignedShortMultiWrapper.Setter<B extends Builder<B,? extends AttributesWrapper>, D extends SignedShortMultiWrapper> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe Private Creator associated with this class.static final intThe DICOM Tag associated with this class.Fields inherited from interface org.dcm4che.typeddicom.valuerepresentations.SignedShortMultiWrapper
VALUE_REPRESENTATION -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new Abstract Prior Value object which wraps a new and emptyAttributesobject.AbstractPriorValue(org.dcm4che3.data.Attributes attributes) Creates a new Abstract Prior Value object which wraps the providedattributes. -
Method Summary
Methods inherited from class org.dcm4che.typeddicom.AbstractDataElementWrapper
equals, exists, getValue, hashCode, toStringMethods inherited from class org.dcm4che.typeddicom.AbstractAttributesWrapper
getAttributesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmptyMethods inherited from interface org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper
getBytes, getSafeBytes, setBytesMethods inherited from interface org.dcm4che.typeddicom.DataElementWrapper
exists, getValueMethods inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntDataElementMultiWrapper
getInt, getInts, setIntsMethods inherited from interface org.dcm4che.typeddicom.valuerepresentations.SignedShortMultiWrapper
getValueRepresentation
-
Field Details
-
PRIVATE_CREATOR
The Private Creator associated with this class. -
TAG
public static final int TAGThe DICOM Tag associated with this class.- See Also:
-
-
Constructor Details
-
AbstractPriorValue
public AbstractPriorValue(org.dcm4che3.data.Attributes attributes) Creates a new Abstract Prior Value object which wraps the providedattributes.- Parameters:
attributes- TheAttributesobject to be wrapped.
-
AbstractPriorValue
public AbstractPriorValue()Creates a new Abstract Prior Value object which wraps a new and emptyAttributesobject.
-
-
Method Details
-
copy
Returns a new Abstract Prior Value which wraps a copy of the Attributes wrapped in this Abstract Prior Value. (seeAttributes(Attributes)- Returns:
- a new Abstract Prior Value which wraps a copy of the Attributes wrapped in this Abstract Prior Value.
-
getPrivateCreator
- Specified by:
getPrivateCreatorin interfaceDataElementWrapper- Returns:
- The DICOM Private Creator of the wrapped DICOM attributes. null if not private
-
getTag
public int getTag()- Specified by:
getTagin interfaceDataElementWrapper- Returns:
- The DICOM Tag of the wrapped DICOM attributes.
-