Class ContentItemFactory.DateTimeContentItem

    • Constructor Detail

      • DateTimeContentItem

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

        public DateTimeContentItem​(ContentItem parent,
                                   java.lang.String relationshipType,
                                   CodedSequenceItem conceptName,
                                   java.lang.String dateTimeValue,
                                   java.lang.String observationDateTime,
                                   java.lang.String observationUID)
                            throws DicomException
        Parameters:
        parent - parent content item to add to
        relationshipType - relationship type
        conceptName - coded concept name
        dateTimeValue - datetime 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
      • DateTimeContentItem

        public DateTimeContentItem​(ContentItem parent,
                                   java.lang.String relationshipType,
                                   CodedSequenceItem conceptName,
                                   java.lang.String dateTimeValue)
                            throws DicomException
        Parameters:
        parent - parent content item to add to
        relationshipType - relationship type
        conceptName - coded concept name
        dateTimeValue - datetime value
        Throws:
        DicomException - if error in DICOM encoding
    • Method Detail

      • setConceptValue

        public void setConceptValue​(java.lang.String dateTimeValue)
                             throws DicomException
        Parameters:
        dateTimeValue - if null, removes the value
        Throws:
        DicomException - if error in DICOM encoding