public class DeviceParticipant
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
manufacturer |
protected java.lang.String |
modelName |
protected java.lang.String |
serialNumber |
protected java.lang.String |
uid |
Constructor and Description |
---|
DeviceParticipant(ContentItem parent) |
DeviceParticipant(java.lang.String manufacturer,
java.lang.String modelName,
java.lang.String serialNumber,
java.lang.String uid) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDeviceObserverUIDOrSuitableAlternative(AttributeList list)
Extract the device observer UID information from a list of attributes, or some suitable alternate if available.
|
static java.lang.String |
getDeviceSerialNumberOrSuitableAlternative(AttributeList list,
boolean insertAlternateBackInList)
Extract the device serial number information from a list of attributes, or some suitable alternate if available.
|
java.lang.String |
getManufacturer() |
java.lang.String |
getModelName() |
java.lang.String |
getSerialNumber() |
ContentItem |
getStructuredReportFragment() |
java.lang.String |
getUID() |
protected java.lang.String manufacturer
protected java.lang.String modelName
protected java.lang.String serialNumber
protected java.lang.String uid
public DeviceParticipant(ContentItem parent)
public DeviceParticipant(java.lang.String manufacturer, java.lang.String modelName, java.lang.String serialNumber, java.lang.String uid)
public static java.lang.String getDeviceObserverUIDOrSuitableAlternative(AttributeList list)
Extract the device observer UID information from a list of attributes, or some suitable alternate if available.
Makes a hash of DeviceSerialNumber, StationName, Institution, Manufacturer, Manufacturer Model Name as an alternate, if any are present and not empty.
list
- the list of attributespublic static java.lang.String getDeviceSerialNumberOrSuitableAlternative(AttributeList list, boolean insertAlternateBackInList)
Extract the device serial number information from a list of attributes, or some suitable alternate if available.
Makes a hash of StationName and Institution as an alternate, if either or both present and not empty.
list
- the list of attributesinsertAlternateBackInList
- if true, when there is no DeviceSerialNumber or it is empty, add the alterate created back to the supplied list (side effect of call)public java.lang.String getManufacturer()
public java.lang.String getModelName()
public java.lang.String getSerialNumber()
public ContentItem getStructuredReportFragment() throws DicomException
DicomException
public java.lang.String getUID()