public class ContentItemFactory.DateTimeContentItem extends ContentItemFactory.StringContentItem
stringValue
conceptName, referencedContentItemIdentifier, valueType
observationDateTime, observationUID, relationshipType
Constructor and Description |
---|
DateTimeContentItem(ContentItem parent,
AttributeList list) |
DateTimeContentItem(ContentItem parent,
java.lang.String relationshipType,
CodedSequenceItem conceptName,
java.lang.String dateTimeValue) |
DateTimeContentItem(ContentItem parent,
java.lang.String relationshipType,
CodedSequenceItem conceptName,
java.lang.String dateTimeValue,
java.lang.String observationDateTime,
java.lang.String observationUID) |
Modifier and Type | Method and Description |
---|---|
void |
setConceptValue(java.lang.String dateTimeValue) |
getConceptValue, setConceptValue, toString
contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getConceptName, getConceptNameAndValue, getConceptNameCodeMeaning, getConceptNameCodeValue, getConceptNameCodingSchemeDesignator, getValueType
addChild, addSibling, children, contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getAllowsChildren, getAttributeList, getChildAt, getChildCount, getGraphicData, getGraphicType, getIndex, getNamedChild, getNamedChild, getObservationDateTime, getObservationUID, getParent, getParentAsContentItem, getPositionInTreeToUseAsReferencedContentItemIdentifier, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getReferencedSOPClassUID, getReferencedSOPInstanceUID, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeaf
public DateTimeContentItem(ContentItem parent, AttributeList list)
parent
- parent content item to add tolist
- the list of attributes for this content itempublic DateTimeContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, java.lang.String dateTimeValue) throws DicomException
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namedateTimeValue
- datetime valueDicomException
- if error in DICOM encodingpublic DateTimeContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, java.lang.String dateTimeValue, java.lang.String observationDateTime, java.lang.String observationUID) throws DicomException
parent
- parent content item to add torelationshipType
- relationship typeconceptName
- coded concept namedateTimeValue
- datetime valueobservationDateTime
- Observation DateTime (or null or empty if none)observationUID
- Observation UID (or null or empty if none)DicomException
- if error in DICOM encodingpublic void setConceptValue(java.lang.String dateTimeValue) throws DicomException
dateTimeValue
- if null, removes the valueDicomException
- if error in DICOM encoding