Package 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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ArrayList<CTDoseAcquisition>
protected CompositeInstanceContext
protected CodedSequenceItem
protected String
protected SortedMap<CTPhantomType,
String> protected String
protected CTPhantomType
protected String
protected static double
protected AttributeList
protected CommonDoseObserverContext
protected boolean
protected ScopeOfDoseAccummulation
protected String
protected SourceOfDoseInformation
protected String
protected StructuredReport
protected String
protected int
-
Constructor Summary
ConstructorsConstructorDescriptionCTDose
(AttributeList list) CTDose
(StructuredReport sr, 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) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAcquisition
(CTDoseAcquisition acquisition) getAcquisition
(int i) static double
getDLPTotalCombinedFromHeadAndBodyPhantomValues
(double dlpSubTotalHead, double dlpSubTotalBody) static String
getDLPTotalCombinedFromHeadAndBodyPhantomValues
(String dlpSubTotalHead, String dlpSubTotalBody) static String
getHTMLTableRow
(boolean detail) int
getStructuredReport
(boolean rebuild) int
void
protected void
void
setCompositeInstanceContext
(CompositeInstanceContext compositeInstanceContext) void
setDefaultAnatomy
(CodedConcept defaultAnatomyConcept) void
setDefaultAnatomy
(CodedSequenceItem defaultAnatomy) void
setDLPTotal
(String dlpTotal) void
setDLPTotal
(String dlpSubTotalHead, String dlpSubTotalBody) void
setDLPTotalPhantom
(CTPhantomType dlpTotalPhantom) void
setObserverContext
(CommonDoseObserverContext observerContext) void
void
setSourceSOPInstanceUID
(String sourceSOPInstanceUID) boolean
toString()
toString
(boolean detail, boolean pretty) void
void
void
-
Field Details
-
headToBodyDLPConversionFactor
protected static double headToBodyDLPConversionFactor -
source
-
dlpTotal
-
dlpTotalPhantom
-
prohibitDLPTotalPhantomSettingFromAcquisitions
protected boolean prohibitDLPTotalPhantomSettingFromAcquisitions -
dlpSubTotals
-
totalNumberOfIrradiationEvents
protected int totalNumberOfIrradiationEvents -
scopeOfDoseAccummulation
-
scopeUID
-
acquisitions
-
observerContext
-
compositeInstanceContext
-
startDateTime
-
endDateTime
-
description
-
sourceSOPInstanceUID
-
defaultAnatomy
-
sr
-
list
-
-
Constructor Details
-
CTDose
- Throws:
DicomException
-
CTDose
- Throws:
DicomException
-
CTDose
- Throws:
DicomException
-
CTDose
-
CTDose
-
CTDose
public CTDose(ScopeOfDoseAccummulation scopeOfDoseAccummulation, String scopeUID, String startDateTime, String endDateTime, String description)
-
-
Method Details
-
makeRadiationDoseStructuredReportInstance
public RadiationDoseStructuredReport makeRadiationDoseStructuredReportInstance(StructuredReport sr) throws DicomException - Specified by:
makeRadiationDoseStructuredReportInstance
in interfaceRadiationDoseStructuredReportFactory
- Throws:
DicomException
-
makeRadiationDoseStructuredReportInstance
public RadiationDoseStructuredReport makeRadiationDoseStructuredReportInstance(StructuredReport sr, AttributeList list) throws DicomException - Specified by:
makeRadiationDoseStructuredReportInstance
in interfaceRadiationDoseStructuredReportFactory
- Throws:
DicomException
-
makeRadiationDoseStructuredReportInstance
public RadiationDoseStructuredReport makeRadiationDoseStructuredReportInstance(AttributeList list) throws DicomException - Specified by:
makeRadiationDoseStructuredReportInstance
in interfaceRadiationDoseStructuredReportFactory
- Throws:
DicomException
-
merge
-
parseSRContent
- Throws:
DicomException
-
addAcquisition
-
getObserverContext
-
setObserverContext
-
getCompositeInstanceContext
-
setCompositeInstanceContext
-
setSourceOfDoseInformation
-
getSourceOfDoseInformation
-
getDLPTotal
-
setDLPTotal
-
setDLPTotal
-
getDLPTotalToUse
-
getDLPTotalPhantom
-
setDLPTotalPhantom
-
getDLPTotalPhantomToUse
-
getDLPTotalPhantomDescriptionToUse
-
getDLPSubTotalHead
-
getDLPSubTotalBody
-
getTotalNumberOfIrradiationEvents
public int getTotalNumberOfIrradiationEvents() -
getScopeOfDoseAccummulation
-
getScopeUID
-
getNumberOfAcquisitions
public int getNumberOfAcquisitions() -
getAcquisition
-
getDLPTotalCombinedFromHeadAndBodyPhantomValues
public static double getDLPTotalCombinedFromHeadAndBodyPhantomValues(double dlpSubTotalHead, double dlpSubTotalBody) -
getDLPTotalCombinedFromHeadAndBodyPhantomValues
-
getDLPTotalCombinedFromHeadAndBodyPhantomValues
-
getDLPTotalFromAcquisitions
- Throws:
NumberFormatException
-
specifiedDLPTotalMatchesDLPTotalFromAcquisitions
public boolean specifiedDLPTotalMatchesDLPTotalFromAcquisitions() -
getStartDateTime
-
getEndDateTime
-
getDescription
-
getSourceSOPInstanceUID
-
setSourceSOPInstanceUID
-
getDefaultAnatomy
-
setDefaultAnatomy
-
setDefaultAnatomy
-
getDescriptionOfWhereThisObjectCameFrom
-
toString
-
toString
-
getHTMLTableHeaderRow
-
getHTMLTableRow
-
getStructuredReport
- Specified by:
getStructuredReport
in interfaceRadiationDoseStructuredReport
- Throws:
DicomException
-
getStructuredReport
- Throws:
DicomException
-
getAttributeList
- Throws:
DicomException
-
write
public void write(String filename, String aet, String manufacturerModelName) throws DicomException, IOException - Throws:
DicomException
IOException
-
write
- Throws:
DicomException
IOException
-
write
- Throws:
DicomException
IOException
-