Class ConsentForDistributionFlag
- java.lang.Object
-
- org.dcm4che.typeddicom.AbstractAttributesWrapper
-
- org.dcm4che.typeddicom.AbstractDataElementWrapper
-
- org.dcm4che.typeddicom.dataelements.ConsentForDistributionFlag
-
- All Implemented Interfaces:
org.dcm4che.typeddicom.AttributesWrapper,org.dcm4che.typeddicom.DataElementWrapper,org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper,CodeStringWrapper,org.dcm4che.typeddicom.valuerepresentations.StringDataElementWrapper
public class ConsentForDistributionFlag extends org.dcm4che.typeddicom.AbstractDataElementWrapper implements CodeStringWrapper
Name: Consent for Distribution Flag
Keyword: ConsentForDistributionFlag
Tag: (0012,0085)
Value Representation: CodeString
Value Multiplicity: 1
- Described in the contexts:
- Clinical Trial Study Module > Consent for Clinical Trial Use Sequence > Consent for Distribution Flag
Attribute Name: Consent for Distribution Flag
Type: 1
Attribute Description:Whether or not consent to distribute has been granted for the purpose described in Distribution Type (0012,0084).
Enumerated Values:
- NO
- YES
- WITHDRAWN
See DICOM Standard Part 3 - Section C.7.2.3.1.2.
NoteUnder some circumstances, consent may be withdrawn. The purpose of encoding this is to warn receiving systems that further distribution may not be appropriate, but no semantics are defined by the Standard for what action is appropriate under such circumstances, such as what to do with previously received images that had a value of YES.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConsentForDistributionFlag.Builder<SELF extends ConsentForDistributionFlag.Builder<SELF,T>,T extends ConsentForDistributionFlag.Holder>static interfaceConsentForDistributionFlag.HolderA class implementing this interface can hold attributes which contain the DICOM tag "Consent for Distribution Flag" (seeConsentForDistributionFlag)static classConsentForDistributionFlag.SimpleHolder-
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 ConsentForDistributionFlag()Creates a new Consent for Distribution Flag object which wraps a new and emptyAttributesobject.ConsentForDistributionFlag(org.dcm4che3.data.Attributes attributes)Creates a new Consent for Distribution Flag object which wraps the providedattributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsentForDistributionFlagcopy()Returns a new Consent for Distribution Flag which wraps a copy of the Attributes wrapped in this Consent for Distribution Flag.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.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
-
ConsentForDistributionFlag
public ConsentForDistributionFlag(org.dcm4che3.data.Attributes attributes)
Creates a new Consent for Distribution Flag object which wraps the providedattributes.- Parameters:
attributes- theAttributesobject to be wrapped.
-
ConsentForDistributionFlag
public ConsentForDistributionFlag()
Creates a new Consent for Distribution Flag object which wraps a new and emptyAttributesobject.
-
-
Method Detail
-
copy
public ConsentForDistributionFlag copy()
Returns a new Consent for Distribution Flag which wraps a copy of the Attributes wrapped in this Consent for Distribution Flag. (seeAttributes(Attributes)- Returns:
- a new Consent for Distribution Flag which wraps a copy of the Attributes wrapped in this Consent for Distribution Flag.
-
getPrivateCreator
public java.lang.String getPrivateCreator()
- Specified by:
getPrivateCreatorin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
getTag
public int getTag()
- Specified by:
getTagin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
-