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,
String relationshipType,
CodedSequenceItem conceptName,
CodedSequenceItem conceptCode) |
| 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, 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, String relationshipType, CodedSequenceItem conceptName, CodedSequenceItem conceptCode) throws DicomException
parent - relationshipType - conceptName - conceptCode - DicomExceptionpublic 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 ContentItemWithValuepublic CodedSequenceItem getConceptCode()
public boolean contentItemValueMatchesCodeValueAndCodingSchemeDesignator(String cvWanted, String csdWanted)
csdWanted - cvWanted -