Class ContentItemFactory.ContainerContentItem

java.lang.Object
com.pixelmed.dicom.ContentItem
com.pixelmed.dicom.ContentItemWithValue
com.pixelmed.dicom.ContentItemFactory.ContainerContentItem
All Implemented Interfaces:
TreeNode
Enclosing class:
ContentItemFactory

public class ContentItemFactory.ContainerContentItem extends ContentItemWithValue
  • Field Details

    • continuityOfContent

      protected String continuityOfContent
    • templateMappingResource

      protected String templateMappingResource
    • templateIdentifier

      protected String templateIdentifier
  • Constructor Details

    • ContainerContentItem

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

      public ContainerContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate, String templateMappingResource, String templateIdentifier, String observationDateTime, String observationUID) throws DicomException
      Parameters:
      parent - parent content item to add to
      relationshipType - relationship type
      conceptName - coded concept name
      continuityOfContentIsSeparate - true if SEPARATE, false if CONTINUOUS
      templateMappingResource - identifier of the template mapping resource
      templateIdentifier - identifier of the template
      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
    • ContainerContentItem

      public ContainerContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate, String templateMappingResource, String templateIdentifier) throws DicomException
      Parameters:
      parent - parent content item to add to
      relationshipType - relationship type
      conceptName - coded concept name
      continuityOfContentIsSeparate - true if SEPARATE, false if CONTINUOUS
      templateMappingResource - identifier of the template mapping resource
      templateIdentifier - identifier of the template
      Throws:
      DicomException - if error in DICOM encoding
    • ContainerContentItem

      public ContainerContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, boolean continuityOfContentIsSeparate) throws DicomException
      Parameters:
      parent - parent content item to add to
      relationshipType - relationship type
      conceptName - coded concept name
      continuityOfContentIsSeparate - true if SEPARATE, false if CONTINUOUS
      Throws:
      DicomException - if error in DICOM encoding
    • ContainerContentItem

      public ContainerContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName) throws DicomException
      Parameters:
      parent - parent content item to add to
      relationshipType - relationship type
      conceptName - coded concept name
      Throws:
      DicomException - if error in DICOM encoding
  • Method Details

    • getConceptValue

      public String getConceptValue()
      Description copied from class: ContentItemWithValue

      Get a string representation of the value of the concept.

      The exact form of the returned string is specific to the type of ContentItem.

      Specified by:
      getConceptValue in class ContentItemWithValue
      Returns:
      a String representation of the name and value, or an empty string
    • getContinuityOfContent

      public String getContinuityOfContent()
      Returns:
      the continuity of content
    • getTemplateMappingResource

      public String getTemplateMappingResource()
      Returns:
      the template mapping resource
    • getTemplateIdentifier

      public String getTemplateIdentifier()
      Returns:
      the template identifier
    • toString

      public String toString()
      Description copied from class: ContentItemWithValue

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

      Overrides:
      toString in class ContentItemWithValue
      Returns:
      the string representation of the content item