Class InstanceOriginStatus
- java.lang.Object
-
- org.dcm4che.typeddicom.AbstractAttributesWrapper
-
- org.dcm4che.typeddicom.AbstractDataElementWrapper
-
- org.dcm4che.typeddicom.dataelements.InstanceOriginStatus
-
- All Implemented Interfaces:
org.dcm4che.typeddicom.AttributesWrapper,org.dcm4che.typeddicom.DataElementWrapper,org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper,CodeStringWrapper,org.dcm4che.typeddicom.valuerepresentations.StringDataElementWrapper
public class InstanceOriginStatus extends org.dcm4che.typeddicom.AbstractDataElementWrapper implements CodeStringWrapper
Name: Instance Origin Status
Keyword: InstanceOriginStatus
Tag: (0400,0600)
Value Representation: CodeString
Value Multiplicity: 1
- Described in the contexts:
as follows:
Attribute Name: Instance Origin Status
Type: 3
Attribute Description:Categorizes the locality of the entity from whence the Instance originated.
Enumerated Values:
- LOCAL
- IMPORTED
Note-
The interpretation of the meaning of local and imported are user-specific. The purpose of this Attribute is to provide a means of communicating a user-specific decision, not to attempt to achieve uniformity with respect to any particular organizational or geographical boundary around any particular organizational or geographical entity, be it an entity that is a device, system, facility, office, department, site, enterprise, region, nation, etc.
-
A typical pattern would be for an archive to set a value of LOCAL when receiving Instances on the network from a modality within the hospital but to set a value of IMPORTED when receiving Instances from an interchange media reader or an external network Instance sharing gateway. Displaying the value of this Attribute in a viewer then makes it apparent to a user whether or not an Instance is "one of their own". How a receiver determines whether or not the sender is local is not specified, but could, for example, be determined from the sender's AE Title.
-
When Instances are transported from one entity to another and then imported, it is expected that this Attribute be set to an appropriate value for the new context, overwriting any previous value. E.g., a value of LOCAL used within an archive at the site where the Instances were acquired would be coerced to a value of IMPORTED when those Instances were received by another site to which the patient had been transferred. Whether or not previous values of this Attribute are copied into Original Attributes Sequence (0400,0561) after coercion is not specified.
-
It is not expected (but nor is it prohibited) that this Attribute will be removed by an exporting entity, since it may be useful to a recipient to know whether or not the Instance was local to the previous entity or not. Similarly, a modality may populate this Attribute with a value of LOCAL after creating the images, but is not required to.
-
The round-trip case, e.g., when an image is acquired locally, exported, locally deleted and then re-imported may be challenging unless a local record is maintained. I.e., after acquisition, in the local archive it would be expected to be LOCAL. After re-importation without any local state, it may be hard to determine that it once was LOCAL. Other Attributes such as Institution Name may not be sufficient to reliably detect this.
-
A new SOP Instance UID (0008,0018) is not required when adding or coercing this Attribute, since a derived Instance is not being created. See DICOM Standard Part 3 - Section C.12.4.1.1 and PS3.4 B.4.1.3.
-
A more detailed history of the handling of an Instance may be recorded in Contributing Equipment Sequence (0018,A001).
-
This Attribute may need to be removed during de-identification. See PS3.15 chapterE.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceOriginStatus.Builder<SELF extends InstanceOriginStatus.Builder<SELF,T>,T extends InstanceOriginStatus.Holder>static interfaceInstanceOriginStatus.HolderA class implementing this interface can hold attributes which contain the DICOM tag "Instance Origin Status" (seeInstanceOriginStatus)-
Nested classes/interfaces inherited from interface org.dcm4che.typeddicom.valuerepresentations.CodeStringWrapper
CodeStringWrapper.Setter<B extends org.dcm4che.typeddicom.Builder<B,? extends org.dcm4che.typeddicom.AttributesWrapper>,D extends CodeStringWrapper>
-
-
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.CodeStringWrapper
VALUE_REPRESENTATION
-
-
Constructor Summary
Constructors Constructor Description InstanceOriginStatus()Creates a new Instance Origin Status object which wraps a new and emptyAttributesobject.InstanceOriginStatus(org.dcm4che3.data.Attributes attributes)Creates a new Instance Origin Status object which wraps the providedattributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceOriginStatuscopy()Returns a new Instance Origin Status which wraps a copy of the Attributes wrapped in this Instance Origin Status.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, getKnownAttributeTags, getUnknownAttributeTags, isEmpty
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper
getBytes, getSafeBytes, setBytes
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.CodeStringWrapper
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
-
InstanceOriginStatus
public InstanceOriginStatus(org.dcm4che3.data.Attributes attributes)
Creates a new Instance Origin Status object which wraps the providedattributes.- Parameters:
attributes- theAttributesobject to be wrapped.
-
InstanceOriginStatus
public InstanceOriginStatus()
Creates a new Instance Origin Status object which wraps a new and emptyAttributesobject.
-
-
Method Detail
-
copy
public InstanceOriginStatus copy()
Returns a new Instance Origin Status which wraps a copy of the Attributes wrapped in this Instance Origin Status. (seeAttributes(Attributes)- Returns:
- a new Instance Origin Status which wraps a copy of the Attributes wrapped in this Instance Origin Status.
-
getPrivateCreator
public java.lang.String getPrivateCreator()
- Specified by:
getPrivateCreatorin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
getTag
public int getTag()
- Specified by:
getTagin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
-