Interface PerformedProcedureCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
SRDocumentGeneralModule
- All Known Implementing Classes:
AcquisitionContextSRIOD,BasicTextSRIOD,ChestCADSRIOD,ColonCADSRIOD,Comprehensive3DSRIOD,ComprehensiveSRIOD,EnhancedSRIOD,EnhancedXRayRadiationDoseStructuredReportIOD,ExtensibleSRIOD,ImplantationPlanSRDocumentIOD,MacularGridThicknessAndVolumeReportIOD,MammographyCADSRIOD,PatientRadiationDoseStructuredReportIOD,PerformedImagingAgentAdministrationSRIOD,PerformedProcedureCodeSequence.SimpleHolder,PlannedImagingAgentAdministrationSRIOD,ProcedureLogIOD,RadiopharmaceuticalRadiationDoseSRIOD,SimplifiedAdultEchoSRIOD,SpectaclePrescriptionReportIOD,XRayRadiationDoseSRIOD
- Enclosing class:
- PerformedProcedureCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Performed Procedure Code Sequence" (see
PerformedProcedureCodeSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault PerformedProcedureCodeSequenceAdds a new Performed Procedure Code Sequence (seePerformedProcedureCodeSequence) with initial capacity 1 (seeensurePerformedProcedureCodeSequence(int)) if it does not already exist.default PerformedProcedureCodeSequenceensurePerformedProcedureCodeSequence(int initialCapacity) Adds a new Performed Procedure Code Sequence (seePerformedProcedureCodeSequence) if it does not already exist.default PerformedProcedureCodeSequencedefault PerformedProcedureCodeSequencenewPerformedProcedureCodeSequence(int initialCapacity) Adds a new Performed Procedure Code Sequence.default voidRemoves the Performed Procedure Code Sequence (seePerformedProcedureCodeSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Performed Procedure Code Sequence (seePerformedProcedureCodeSequence)- Returns:
- A wrapper object implementing the
PerformedProcedureCodeSequence.Holderinterface.
-
builder
- Returns:
- a
PerformedProcedureCodeSequence.Holder.Builderto create Performed Procedure Code Sequence Items with a fluent API.
-
builder
static PerformedProcedureCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by thePerformedProcedureCodeSequence.Holder.Builder.- Returns:
- a
PerformedProcedureCodeSequence.Holder.Builderto create Performed Procedure Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPerformedProcedureCodeSequence
- Returns:
- the Performed Procedure Code Sequence (see
PerformedProcedureCodeSequence)
-
newPerformedProcedureCodeSequence
Adds a new Performed Procedure Code Sequence. (seePerformedProcedureCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Performed Procedure Code Sequence
-
ensurePerformedProcedureCodeSequence
Adds a new Performed Procedure Code Sequence (seePerformedProcedureCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Performed Procedure Code Sequence is created.- Returns:
- Either the already existing Performed Procedure Code Sequence (see
PerformedProcedureCodeSequence) or a new one with capacityinitialCapacity.
-
ensurePerformedProcedureCodeSequence
Adds a new Performed Procedure Code Sequence (seePerformedProcedureCodeSequence) with initial capacity 1 (seeensurePerformedProcedureCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Performed Procedure Code Sequence (see
PerformedProcedureCodeSequence) or a new one with capacity 1.
-
containsPerformedProcedureCodeSequence
default boolean containsPerformedProcedureCodeSequence()- Returns:
- Whether it contains the Performed Procedure Code Sequence (see
PerformedProcedureCodeSequence)
-
removePerformedProcedureCodeSequence
default void removePerformedProcedureCodeSequence()Removes the Performed Procedure Code Sequence (seePerformedProcedureCodeSequence
-