Class ContentItemFactory.TimeContentItem

All Implemented Interfaces:
TreeNode
Enclosing class:
ContentItemFactory

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

    • TimeContentItem

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

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

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

    • setConceptValue

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