Class ContentItemFactory.TextContentItem

All Implemented Interfaces:
TreeNode
Enclosing class:
ContentItemFactory

public class ContentItemFactory.TextContentItem extends ContentItemFactory.StringContentItem
  • Constructor Details

    • TextContentItem

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

      public TextContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String textValue, String observationDateTime, String observationUID) throws DicomException
      Parameters:
      parent - parent content item to add to
      relationshipType - relationship type
      conceptName - coded concept name
      textValue - text value
      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
    • TextContentItem

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

    • setConceptValue

      public void setConceptValue(String textValue) throws DicomException
      Parameters:
      textValue - if null, removes the value
      Throws:
      DicomException - if error in DICOM encoding