com.pixelmed.dose
Class CTDose
java.lang.Object
com.pixelmed.dose.CTDose
- All Implemented Interfaces:
- RadiationDoseStructuredReport, RadiationDoseStructuredReportFactory
public class CTDose
- extends Object
- implements RadiationDoseStructuredReport, RadiationDoseStructuredReportFactory
|
Constructor Summary |
CTDose(AttributeList list)
|
CTDose(ScopeOfDoseAccummulation scopeOfDoseAccummulation,
String scopeUID,
String startDateTime,
String endDateTime,
String description)
|
CTDose(String dlpTotal,
int totalNumberOfIrradiationEvents,
ScopeOfDoseAccummulation scopeOfDoseAccummulation,
String scopeUID,
String startDateTime,
String endDateTime,
String description)
|
CTDose(String dlpSubTotalHead,
String dlpSubTotalBody,
int totalNumberOfIrradiationEvents,
ScopeOfDoseAccummulation scopeOfDoseAccummulation,
String scopeUID,
String startDateTime,
String endDateTime,
String description)
|
CTDose(StructuredReport sr)
|
CTDose(StructuredReport sr,
AttributeList list)
|
headToBodyDLPConversionFactor
protected static double headToBodyDLPConversionFactor
source
protected SourceOfDoseInformation source
dlpTotal
protected String dlpTotal
dlpTotalPhantom
protected CTPhantomType dlpTotalPhantom
prohibitDLPTotalPhantomSettingFromAcquisitions
protected boolean prohibitDLPTotalPhantomSettingFromAcquisitions
dlpSubTotals
protected SortedMap<CTPhantomType,String> dlpSubTotals
totalNumberOfIrradiationEvents
protected int totalNumberOfIrradiationEvents
scopeOfDoseAccummulation
protected ScopeOfDoseAccummulation scopeOfDoseAccummulation
scopeUID
protected String scopeUID
acquisitions
protected ArrayList<CTDoseAcquisition> acquisitions
observerContext
protected CommonDoseObserverContext observerContext
compositeInstanceContext
protected CompositeInstanceContext compositeInstanceContext
startDateTime
protected String startDateTime
endDateTime
protected String endDateTime
description
protected String description
sourceSOPInstanceUID
protected String sourceSOPInstanceUID
defaultAnatomy
protected CodedSequenceItem defaultAnatomy
sr
protected StructuredReport sr
list
protected AttributeList list
CTDose
public CTDose(StructuredReport sr)
throws DicomException
- Throws:
DicomException
CTDose
public CTDose(StructuredReport sr,
AttributeList list)
throws DicomException
- Throws:
DicomException
CTDose
public CTDose(AttributeList list)
throws DicomException
- Throws:
DicomException
CTDose
public CTDose(String dlpTotal,
int totalNumberOfIrradiationEvents,
ScopeOfDoseAccummulation scopeOfDoseAccummulation,
String scopeUID,
String startDateTime,
String endDateTime,
String description)
CTDose
public CTDose(String dlpSubTotalHead,
String dlpSubTotalBody,
int totalNumberOfIrradiationEvents,
ScopeOfDoseAccummulation scopeOfDoseAccummulation,
String scopeUID,
String startDateTime,
String endDateTime,
String description)
CTDose
public CTDose(ScopeOfDoseAccummulation scopeOfDoseAccummulation,
String scopeUID,
String startDateTime,
String endDateTime,
String description)
makeRadiationDoseStructuredReportInstance
public RadiationDoseStructuredReport makeRadiationDoseStructuredReportInstance(StructuredReport sr)
throws DicomException
- Specified by:
makeRadiationDoseStructuredReportInstance in interface RadiationDoseStructuredReportFactory
- Throws:
DicomException
makeRadiationDoseStructuredReportInstance
public RadiationDoseStructuredReport makeRadiationDoseStructuredReportInstance(StructuredReport sr,
AttributeList list)
throws DicomException
- Specified by:
makeRadiationDoseStructuredReportInstance in interface RadiationDoseStructuredReportFactory
- Throws:
DicomException
makeRadiationDoseStructuredReportInstance
public RadiationDoseStructuredReport makeRadiationDoseStructuredReportInstance(AttributeList list)
throws DicomException
- Specified by:
makeRadiationDoseStructuredReportInstance in interface RadiationDoseStructuredReportFactory
- Throws:
DicomException
merge
public void merge(CTDose ctDoseToMerge)
parseSRContent
protected void parseSRContent()
throws DicomException
- Throws:
DicomException
addAcquisition
public void addAcquisition(CTDoseAcquisition acquisition)
getObserverContext
public CommonDoseObserverContext getObserverContext()
setObserverContext
public void setObserverContext(CommonDoseObserverContext observerContext)
getCompositeInstanceContext
public CompositeInstanceContext getCompositeInstanceContext()
setCompositeInstanceContext
public void setCompositeInstanceContext(CompositeInstanceContext compositeInstanceContext)
setSourceOfDoseInformation
public void setSourceOfDoseInformation(SourceOfDoseInformation source)
getSourceOfDoseInformation
public SourceOfDoseInformation getSourceOfDoseInformation()
getDLPTotal
public String getDLPTotal()
setDLPTotal
public void setDLPTotal(String dlpTotal)
setDLPTotal
public void setDLPTotal(String dlpSubTotalHead,
String dlpSubTotalBody)
getDLPTotalToUse
public String getDLPTotalToUse()
getDLPTotalPhantom
public CTPhantomType getDLPTotalPhantom()
setDLPTotalPhantom
public void setDLPTotalPhantom(CTPhantomType dlpTotalPhantom)
getDLPTotalPhantomToUse
public CTPhantomType getDLPTotalPhantomToUse()
getDLPTotalPhantomDescriptionToUse
public String getDLPTotalPhantomDescriptionToUse()
getDLPSubTotalHead
public String getDLPSubTotalHead()
getDLPSubTotalBody
public String getDLPSubTotalBody()
getTotalNumberOfIrradiationEvents
public int getTotalNumberOfIrradiationEvents()
getScopeOfDoseAccummulation
public ScopeOfDoseAccummulation getScopeOfDoseAccummulation()
getScopeUID
public String getScopeUID()
getNumberOfAcquisitions
public int getNumberOfAcquisitions()
getAcquisition
public CTDoseAcquisition getAcquisition(int i)
getDLPTotalCombinedFromHeadAndBodyPhantomValues
public static double getDLPTotalCombinedFromHeadAndBodyPhantomValues(double dlpSubTotalHead,
double dlpSubTotalBody)
getDLPTotalCombinedFromHeadAndBodyPhantomValues
public static String getDLPTotalCombinedFromHeadAndBodyPhantomValues(String dlpSubTotalHead,
String dlpSubTotalBody)
getDLPTotalCombinedFromHeadAndBodyPhantomValues
public String getDLPTotalCombinedFromHeadAndBodyPhantomValues()
getDLPTotalFromAcquisitions
public String getDLPTotalFromAcquisitions()
throws NumberFormatException
- Throws:
NumberFormatException
specifiedDLPTotalMatchesDLPTotalFromAcquisitions
public boolean specifiedDLPTotalMatchesDLPTotalFromAcquisitions()
getStartDateTime
public String getStartDateTime()
getEndDateTime
public String getEndDateTime()
getDescription
public String getDescription()
getSourceSOPInstanceUID
public String getSourceSOPInstanceUID()
setSourceSOPInstanceUID
public void setSourceSOPInstanceUID(String sourceSOPInstanceUID)
getDefaultAnatomy
public CodedSequenceItem getDefaultAnatomy()
setDefaultAnatomy
public void setDefaultAnatomy(CodedSequenceItem defaultAnatomy)
setDefaultAnatomy
public void setDefaultAnatomy(CodedConcept defaultAnatomyConcept)
getDescriptionOfWhereThisObjectCameFrom
public String getDescriptionOfWhereThisObjectCameFrom()
toString
public String toString()
- Overrides:
toString in class Object
toString
public String toString(boolean detail,
boolean pretty)
getHTMLTableHeaderRow
public static String getHTMLTableHeaderRow()
getHTMLTableRow
public String getHTMLTableRow(boolean detail)
getStructuredReport
public StructuredReport getStructuredReport()
throws DicomException
- Specified by:
getStructuredReport in interface RadiationDoseStructuredReport
- Throws:
DicomException
getStructuredReport
public StructuredReport getStructuredReport(boolean rebuild)
throws DicomException
- Throws:
DicomException
getAttributeList
public AttributeList getAttributeList()
throws DicomException
- Throws:
DicomException
write
public void write(String filename,
String aet,
String manufacturerModelName)
throws DicomException,
IOException
- Throws:
DicomException
IOException
write
public void write(String filename,
String aet)
throws DicomException,
IOException
- Throws:
DicomException
IOException
write
public void write(String filename)
throws DicomException,
IOException
- Throws:
DicomException
IOException