public class ContentItemFactory.CodeContentItem extends ContentItemWithValue
| Modifier and Type | Field and Description |
|---|---|
protected CodedSequenceItem |
conceptCode |
conceptName, referencedContentItemIdentifier, valueTypeobservationDateTime, observationUID, relationshipType| Constructor and Description |
|---|
CodeContentItem(ContentItem parent,
AttributeList list) |
CodeContentItem(ContentItem parent,
String relationshipType,
CodedSequenceItem conceptName,
CodedSequenceItem conceptCode) |
CodeContentItem(ContentItem parent,
String relationshipType,
CodedSequenceItem conceptName,
CodedSequenceItem conceptCode,
String observationDateTime,
String observationUID) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contentItemValueMatchesCodeValueAndCodingSchemeDesignator(String cvWanted,
String csdWanted)
Test if the coded value of the code content item matches the specified code value and coding scheme designator.
|
CodedSequenceItem |
getConceptCode() |
String |
getConceptValue()
Get a string representation of the value of the concept.
|
String |
toString()
Get a human-readable string representation of the content item.
|
contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getConceptName, getConceptNameAndValue, getConceptNameCodeMeaning, getConceptNameCodeValue, getConceptNameCodingSchemeDesignator, getValueTypeaddChild, 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, walkTreeBuldingStringprotected CodedSequenceItem conceptCode
public CodeContentItem(ContentItem parent, AttributeList list)
parent - parent content item to add tolist - the list of attributes for this content itempublic CodeContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, CodedSequenceItem conceptCode) throws DicomException
parent - parent content item to add torelationshipType - relationship typeconceptName - coded concept nameconceptCode - coded valueDicomException - if error in DICOM encodingpublic CodeContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, CodedSequenceItem conceptCode, String observationDateTime, String observationUID) throws DicomException
parent - parent content item to add torelationshipType - relationship typeconceptName - coded concept nameconceptCode - coded valueobservationDateTime - Observation DateTime (or null or empty if none)observationUID - Observation UID (or null or empty if none)DicomException - if error in DICOM encodingpublic boolean contentItemValueMatchesCodeValueAndCodingSchemeDesignator(String cvWanted, String csdWanted)
csdWanted - the coding scheme designator of the coded value wantedcvWanted - the code value of the coded value wantedpublic CodedSequenceItem getConceptCode()
public String getConceptValue()
ContentItemWithValueGet a string representation of the value of the concept.
The exact form of the returned string is specific to the type of ContentItem.
getConceptValue in class ContentItemWithValuepublic String toString()
ContentItemWithValueGet a human-readable string representation of the content item.
toString in class ContentItemWithValue