Class ObservationDateTime
- java.lang.Object
-
- org.dcm4che.typeddicom.AbstractAttributesWrapper
-
- org.dcm4che.typeddicom.AbstractDataElementWrapper
-
- org.dcm4che.typeddicom.dataelements.ObservationDateTime
-
- All Implemented Interfaces:
org.dcm4che.typeddicom.AttributesWrapper,org.dcm4che.typeddicom.DataElementWrapper,org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper,org.dcm4che.typeddicom.valuerepresentations.DateDataElementWrapper,DateTimeWrapper,org.dcm4che.typeddicom.valuerepresentations.StringDataElementWrapper
public class ObservationDateTime extends org.dcm4che.typeddicom.AbstractDataElementWrapper implements DateTimeWrapper
Name: Observation DateTime
Keyword: ObservationDateTime
Tag: (0040,A032)
Value Representation: DateTime
Value Multiplicity: 1
- Described in the contexts:
as follows:
Attribute Name: Observation DateTime
Type: 1C
Attribute Description:The date and time on which this Content Item was completed. For the purpose of recording measurements or logging events, completion time is defined as the ending time of data acquisition of the measurement, or the ending time of occurrence of the event.
Required if the date and time are different from Content Date (0008,0023) and Content Time (0008,0033) or Observation DateTime (0040,A032) defined in higher Items. May be present otherwise.
NoteWhen Content Items are copied into successor reports, Content Date (0008,0023) and Content Time (0008,0033) of the new report are likely to be different than the date and time of the original observation. Therefore this Attribute may need to be included in any copied Content Items to satisfy the condition.
- Described in the contexts:
as follows:
Attribute Name: Observation DateTime
Type: 3
Attribute Description:The date and time on which this Item was completed. For the purpose of recording measurements or logging events, completion time is defined as the ending time of data acquisition of the measurement, or the ending time of occurrence of the event.
- Described in the contexts:
- Inventory Module > Inventoried Studies Sequence > Inventoried Series Sequence > Inventoried Instances Sequence > Observation DateTime
Attribute Name: Observation DateTime
Type: 3
Attribute Description:The date and time at which the root Content Item of the inventoried Document SOP Instance was completed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceObservationDateTime.Builder<SELF extends ObservationDateTime.Builder<SELF,T>,T extends ObservationDateTime.Holder>static interfaceObservationDateTime.HolderA class implementing this interface can hold attributes which contain the DICOM tag "Observation DateTime" (seeObservationDateTime)-
Nested classes/interfaces inherited from interface org.dcm4che.typeddicom.valuerepresentations.DateTimeWrapper
DateTimeWrapper.Setter<B extends org.dcm4che.typeddicom.Builder<B,? extends org.dcm4che.typeddicom.AttributesWrapper>,D extends DateTimeWrapper>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPRIVATE_CREATORThe Private Creator associated with this class.static intTAGThe DICOM Tag associated with this class.-
Fields inherited from interface org.dcm4che.typeddicom.valuerepresentations.DateTimeWrapper
VALUE_REPRESENTATION
-
-
Constructor Summary
Constructors Constructor Description ObservationDateTime()Creates a new Observation DateTime object which wraps a new and emptyAttributesobject.ObservationDateTime(org.dcm4che3.data.Attributes attributes)Creates a new Observation DateTime object which wraps the providedattributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObservationDateTimecopy()Returns a new Observation DateTime which wraps a copy of the Attributes wrapped in this Observation DateTime.java.lang.StringgetPrivateCreator()intgetTag()-
Methods inherited from class org.dcm4che.typeddicom.AbstractDataElementWrapper
equals, exists, getValue, hashCode, toString
-
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, isEmpty
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper
getBytes, getSafeBytes, setBytes
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.DateDataElementWrapper
getDate, getDate, getDate, setDate, setDate
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.DateTimeWrapper
getValueRepresentation
-
-
-
-
Field Detail
-
PRIVATE_CREATOR
public static final java.lang.String PRIVATE_CREATOR
The Private Creator associated with this class.
-
TAG
public static final int TAG
The DICOM Tag associated with this class.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ObservationDateTime
public ObservationDateTime(org.dcm4che3.data.Attributes attributes)
Creates a new Observation DateTime object which wraps the providedattributes.- Parameters:
attributes- theAttributesobject to be wrapped.
-
ObservationDateTime
public ObservationDateTime()
Creates a new Observation DateTime object which wraps a new and emptyAttributesobject.
-
-
Method Detail
-
copy
public ObservationDateTime copy()
Returns a new Observation DateTime which wraps a copy of the Attributes wrapped in this Observation DateTime. (seeAttributes(Attributes)- Returns:
- a new Observation DateTime which wraps a copy of the Attributes wrapped in this Observation DateTime.
-
getPrivateCreator
public java.lang.String getPrivateCreator()
- Specified by:
getPrivateCreatorin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
getTag
public int getTag()
- Specified by:
getTagin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
-