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,
String relationshipType,
CodedSequenceItem conceptName,
String dateTimeValue) |
DateTimeContentItem(ContentItem parent,
String relationshipType,
CodedSequenceItem conceptName,
String dateTimeValue,
String observationDateTime,
String observationUID) |
Modifier and Type | Method and Description |
---|---|
void |
setConceptValue(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, walkTreeBuldingString
public DateTimeContentItem(ContentItem parent, AttributeList list)
parent
- parent content item to add tolist
- the list of attributes for this content itempublic DateTimeContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, 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, String relationshipType, CodedSequenceItem conceptName, String dateTimeValue, String observationDateTime, 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(String dateTimeValue) throws DicomException
dateTimeValue
- if null, removes the valueDicomException
- if error in DICOM encoding