|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.ContentItem
com.pixelmed.dicom.ContentItemWithValue
public abstract class ContentItemWithValue
An abstract class for representing a node in an internal representation of a structured reporting
tree (an instance of StructuredReport).
The constructor is protected. Instances of specific types of content items should normally be created by using
the ContentItemFactory.
ContentItem,
ContentItemFactory,
ContentItemWithReference,
StructuredReport,
StructuredReportBrowser| Field Summary | |
|---|---|
protected CodedSequenceItem |
conceptName
|
protected String |
referencedContentItemIdentifier
|
protected String |
valueType
|
| Fields inherited from class com.pixelmed.dicom.ContentItem |
|---|
relationshipType |
| Constructor Summary | |
|---|---|
protected |
ContentItemWithValue(ContentItem p,
AttributeList l)
Construct a content item for a list of attributes, and add it as a child of the specified parent. |
protected |
ContentItemWithValue(ContentItem p,
String valueType,
String relationshipType,
CodedSequenceItem conceptName)
Construct a content item of a specified type and relationship, creating a new AttributeList, and add it as a child of the specified parent. |
| Method Summary | |
|---|---|
boolean |
contentItemNameMatchesCodeValueAndCodingSchemeDesignator(String cvWanted,
String csdWanted)
Test if the coded concept name of the content item matches the specified code value and coding scheme designator. |
CodedSequenceItem |
getConceptName()
Get the Concept Name. |
String |
getConceptNameAndValue()
Get a string representation of the concept name and the value of the concept. |
String |
getConceptNameCodeMeaning()
Get the value of the code meaning of the Concept Name as a string, if present and applicable. |
String |
getConceptNameCodeValue()
Get the value of the code value of the Concept Name as a string, if present and applicable. |
String |
getConceptNameCodingSchemeDesignator()
Get the value of the coding scheme designator of the Concept Name as a string, if present and applicable. |
abstract String |
getConceptValue()
Get a string representation of the value of the concept. |
String |
getValueType()
Get the value type of this content item. |
String |
toString()
Get a human-readable string representation of the content item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String valueType
protected CodedSequenceItem conceptName
protected String referencedContentItemIdentifier
| Constructor Detail |
|---|
protected ContentItemWithValue(ContentItem p,
AttributeList l)
Construct a content item for a list of attributes, and add it as a child of the specified parent.
The constructor is protected. Instances of specific types of content items should normally be created by using
the ContentItemFactory.
p - the parentl - the list of attributes
protected ContentItemWithValue(ContentItem p,
String valueType,
String relationshipType,
CodedSequenceItem conceptName)
throws DicomException
Construct a content item of a specified type and relationship, creating a new AttributeList, and add it as a child of the specified parent.
The constructor is protected. Instances of specific types of content items should normally be created by using
the ContentItemFactory.
p - the parentvalueType - relationshipType - added only if not null or zero lengthconceptName -
DicomException| Method Detail |
|---|
public String getValueType()
Get the value type of this content item.
getValueType in class ContentItempublic String getConceptNameAndValue()
Get a string representation of the concept name and the value of the concept.
The exact form of the returned string is specific to the type of ContentItem.
getConceptNameAndValue in class ContentItempublic abstract String getConceptValue()
Get 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 ContentItempublic CodedSequenceItem getConceptName()
Get the Concept Name.
getConceptName in class ContentItempublic String getConceptNameCodeMeaning()
Get the value of the code meaning of the Concept Name as a string, if present and applicable.
getConceptNameCodeMeaning in class ContentItempublic String getConceptNameCodeValue()
Get the value of the code value of the Concept Name as a string, if present and applicable.
getConceptNameCodeValue in class ContentItempublic String getConceptNameCodingSchemeDesignator()
Get the value of the coding scheme designator of the Concept Name as a string, if present and applicable.
getConceptNameCodingSchemeDesignator in class ContentItempublic String toString()
Get a human-readable string representation of the content item.
toString in class Object
public boolean contentItemNameMatchesCodeValueAndCodingSchemeDesignator(String cvWanted,
String csdWanted)
contentItemNameMatchesCodeValueAndCodingSchemeDesignator in class ContentItemcsdWanted - cvWanted -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||