Class 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: as follows:
      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.

      Note

      Under 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.


    • Constructor Summary

      Constructors 
      Constructor Description
      ConsentForDistributionFlag()
      Creates a new Consent for Distribution Flag object which wraps a new and empty Attributes object.
      ConsentForDistributionFlag​(org.dcm4che3.data.Attributes attributes)
      Creates a new Consent for Distribution Flag object which wraps the provided attributes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ConsentForDistributionFlag copy()
      Returns a new Consent for Distribution Flag which wraps a copy of the Attributes wrapped in this Consent for Distribution Flag.
      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.StringDataElementWrapper

        getString, setString
    • Constructor Detail

      • ConsentForDistributionFlag

        public ConsentForDistributionFlag​(org.dcm4che3.data.Attributes attributes)
        Creates a new Consent for Distribution Flag object which wraps the provided attributes.
        Parameters:
        attributes - the Attributes object to be wrapped.
      • ConsentForDistributionFlag

        public ConsentForDistributionFlag()
        Creates a new Consent for Distribution Flag object which wraps a new and empty Attributes object.
    • 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. (see Attributes(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:
        getPrivateCreator in interface org.dcm4che.typeddicom.DataElementWrapper
      • getTag

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