public class ContentItemFactory.CodeContentItem extends ContentItemWithValue
| Modifier and Type | Field and Description |
|---|---|
protected CodedSequenceItem |
conceptCode |
conceptName, referencedContentItemIdentifier, valueTyperelationshipType| Constructor and Description |
|---|
ContentItemFactory.CodeContentItem(ContentItem parent,
AttributeList list) |
ContentItemFactory.CodeContentItem(ContentItem parent,
java.lang.String relationshipType,
CodedSequenceItem conceptName,
CodedSequenceItem conceptCode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contentItemValueMatchesCodeValueAndCodingSchemeDesignator(java.lang.String cvWanted,
java.lang.String csdWanted)
Test if the coded value of the code content item matches the specified code value and coding scheme designator.
|
CodedSequenceItem |
getConceptCode() |
java.lang.String |
getConceptValue()
Get a string representation of the value of the concept.
|
java.lang.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, getParent, getParentAsContentItem, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getReferencedSOPClassUID, getReferencedSOPInstanceUID, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeafprotected CodedSequenceItem conceptCode
public ContentItemFactory.CodeContentItem(ContentItem parent, AttributeList list)
parent - list - public ContentItemFactory.CodeContentItem(ContentItem parent, java.lang.String relationshipType, CodedSequenceItem conceptName, CodedSequenceItem conceptCode) throws DicomException
parent - relationshipType - conceptName - conceptCode - DicomExceptionpublic java.lang.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 java.lang.String toString()
ContentItemWithValueGet a human-readable string representation of the content item.
toString in class ContentItemWithValuepublic CodedSequenceItem getConceptCode()
public boolean contentItemValueMatchesCodeValueAndCodingSchemeDesignator(java.lang.String cvWanted,
java.lang.String csdWanted)
csdWanted - cvWanted -