Class ContentItemFactory.ImageContentItem

All Implemented Interfaces:
TreeNode
Enclosing class:
ContentItemFactory

public class ContentItemFactory.ImageContentItem extends ContentItemFactory.CompositeContentItem
  • Field Details

    • referencedFrameNumber

      protected int referencedFrameNumber
    • referencedSegmentNumber

      protected int referencedSegmentNumber
    • presentationStateSOPClassUID

      protected String presentationStateSOPClassUID
    • presentationStateSOPInstanceUID

      protected String presentationStateSOPInstanceUID
    • realWorldValueMappingSOPClassUID

      protected String realWorldValueMappingSOPClassUID
    • realWorldValueMappingSOPInstanceUID

      protected String realWorldValueMappingSOPInstanceUID
  • Constructor Details

    • ImageContentItem

      public ImageContentItem(ContentItem parent, AttributeList list)
      Parameters:
      parent - parent content item to add to
      list - the list of attributes for this content item
    • ImageContentItem

      public ImageContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID, int referencedFrameNumber, int referencedSegmentNumber, String presentationStateSOPClassUID, String presentationStateSOPInstanceUID, String realWorldValueMappingSOPClassUID, String realWorldValueMappingSOPInstanceUID, String observationDateTime, String observationUID) throws DicomException
      Parameters:
      parent - parent content item to add to
      relationshipType - relationship type
      conceptName - coded concept name
      referencedSOPClassUID - the SOP Class UID
      referencedSOPInstanceUID - the SOP Instance UID
      referencedFrameNumber - if < 1, not added
      referencedSegmentNumber - if < 1, not added
      presentationStateSOPClassUID - the SOP Class UID of the presentation state (or null or empty if none)
      presentationStateSOPInstanceUID - the SOP Instance UID of the presentation state (or null or empty if none)
      realWorldValueMappingSOPClassUID - the SOP Class UID of the RWV Map (or null or empty if none)
      realWorldValueMappingSOPInstanceUID - the SOP Instance UID of the RWV Map (or null or empty if none)
      observationDateTime - Observation DateTime (or null or empty if none)
      observationUID - Observation UID (or null or empty if none)
      Throws:
      DicomException - if error in DICOM encoding
    • ImageContentItem

      public ImageContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String referencedSOPClassUID, String referencedSOPInstanceUID, int referencedFrameNumber, int referencedSegmentNumber, String presentationStateSOPClassUID, String presentationStateSOPInstanceUID, String realWorldValueMappingSOPClassUID, String realWorldValueMappingSOPInstanceUID) throws DicomException
      Parameters:
      parent - parent content item to add to
      relationshipType - relationship type
      conceptName - coded concept name
      referencedSOPClassUID - the SOP Class UID
      referencedSOPInstanceUID - the SOP Instance UID
      referencedFrameNumber - if < 1, not added
      referencedSegmentNumber - if < 1, not added
      presentationStateSOPClassUID - the SOP Class UID of the presentation state (or null or empty if none)
      presentationStateSOPInstanceUID - the SOP Instance UID of the presentation state (or null or empty if none)
      realWorldValueMappingSOPClassUID - the SOP Class UID of the RWV Map (or null or empty if none)
      realWorldValueMappingSOPInstanceUID - the SOP Instance UID of the RWV Map (or null or empty if none)
      Throws:
      DicomException - if error in DICOM encoding
  • Method Details

    • toString

      public String toString()
      Description copied from class: ContentItemWithValue

      Get a human-readable string representation of the content item.

      Overrides:
      toString in class ContentItemFactory.CompositeContentItem
      Returns:
      the string representation of the content item
    • getReferencedFrameNumber

      public int getReferencedFrameNumber()
      Returns:
      the frame number, or zero if none
    • getReferencedSegmentNumber

      public int getReferencedSegmentNumber()
      Returns:
      the segment number, or zero if none
    • getPresentationStateSOPClassUID

      public String getPresentationStateSOPClassUID()
      Returns:
      the SOP Class UID of the presention state, if any
    • getPresentationStateSOPInstanceUID

      public String getPresentationStateSOPInstanceUID()
      Returns:
      the SOP Instance UID of the presention state, if any
    • getRealWorldValueMappingSOPClassUID

      public String getRealWorldValueMappingSOPClassUID()
      Returns:
      the SOP Class UID of the RWV Map, if any
    • getRealWorldValueMappingSOPInstanceUID

      public String getRealWorldValueMappingSOPInstanceUID()
      Returns:
      the SOP Instance UID of the RWV Map, if any