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 CompositeInstanceContextprotected CodedSequenceItemprotected Stringprotected SortedMap<CTPhantomType,String> protected Stringprotected CTPhantomTypeprotected Stringprotected static doubleprotected AttributeListprotected CommonDoseObserverContextprotected booleanprotected ScopeOfDoseAccummulationprotected Stringprotected SourceOfDoseInformationprotected Stringprotected StructuredReportprotected Stringprotected 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 TypeMethodDescriptionvoidaddAcquisition(CTDoseAcquisition acquisition) getAcquisition(int i) static doublegetDLPTotalCombinedFromHeadAndBodyPhantomValues(double dlpSubTotalHead, double dlpSubTotalBody) static StringgetDLPTotalCombinedFromHeadAndBodyPhantomValues(String dlpSubTotalHead, String dlpSubTotalBody) static StringgetHTMLTableRow(boolean detail) intgetStructuredReport(boolean rebuild) intvoidprotected voidvoidsetCompositeInstanceContext(CompositeInstanceContext compositeInstanceContext) voidsetDefaultAnatomy(CodedConcept defaultAnatomyConcept) voidsetDefaultAnatomy(CodedSequenceItem defaultAnatomy) voidsetDLPTotal(String dlpTotal) voidsetDLPTotal(String dlpSubTotalHead, String dlpSubTotalBody) voidsetDLPTotalPhantom(CTPhantomType dlpTotalPhantom) voidsetObserverContext(CommonDoseObserverContext observerContext) voidvoidsetSourceSOPInstanceUID(String sourceSOPInstanceUID) booleantoString()toString(boolean detail, boolean pretty) voidvoidvoid
-
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:
makeRadiationDoseStructuredReportInstancein interfaceRadiationDoseStructuredReportFactory- Throws:
DicomException
-
makeRadiationDoseStructuredReportInstance
public RadiationDoseStructuredReport makeRadiationDoseStructuredReportInstance(StructuredReport sr, AttributeList list) throws DicomException - Specified by:
makeRadiationDoseStructuredReportInstancein interfaceRadiationDoseStructuredReportFactory- Throws:
DicomException
-
makeRadiationDoseStructuredReportInstance
public RadiationDoseStructuredReport makeRadiationDoseStructuredReportInstance(AttributeList list) throws DicomException - Specified by:
makeRadiationDoseStructuredReportInstancein 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:
getStructuredReportin interfaceRadiationDoseStructuredReport- Throws:
DicomException
-
getStructuredReport
- Throws:
DicomException
-
getAttributeList
- Throws:
DicomException
-
write
public void write(String filename, String aet, String manufacturerModelName) throws DicomException, IOException - Throws:
DicomExceptionIOException
-
write
- Throws:
DicomExceptionIOException
-
write
- Throws:
DicomExceptionIOException
-