Interface PatientInsurancePlanCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
PatientDemographicModule
- All Known Implementing Classes:
UnifiedProcedureStepIOD
- Enclosing class:
- PatientInsurancePlanCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Patient's Insurance Plan Code Sequence" (see
PatientInsurancePlanCodeSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault PatientInsurancePlanCodeSequenceAdds a new Patient's Insurance Plan Code Sequence (seePatientInsurancePlanCodeSequence) with initial capacity 1 (seeensurePatientInsurancePlanCodeSequence(int)) if it does not already exist.default PatientInsurancePlanCodeSequenceensurePatientInsurancePlanCodeSequence(int initialCapacity) Adds a new Patient's Insurance Plan Code Sequence (seePatientInsurancePlanCodeSequence) if it does not already exist.default PatientInsurancePlanCodeSequencedefault PatientInsurancePlanCodeSequencenewPatientInsurancePlanCodeSequence(int initialCapacity) Adds a new Patient's Insurance Plan Code Sequence.default voidRemoves the Patient's Insurance Plan Code Sequence (seePatientInsurancePlanCodeSequencewrap(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 Patient's Insurance Plan Code Sequence (seePatientInsurancePlanCodeSequence)- Returns:
- A wrapper object implementing the
PatientInsurancePlanCodeSequence.Holderinterface.
-
builder
- Returns:
- a
PatientInsurancePlanCodeSequence.Holder.Builderto create Patient's Insurance Plan Code Sequence Items with a fluent API.
-
builder
static PatientInsurancePlanCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by thePatientInsurancePlanCodeSequence.Holder.Builder.- Returns:
- a
PatientInsurancePlanCodeSequence.Holder.Builderto create Patient's Insurance Plan Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPatientInsurancePlanCodeSequence
- Returns:
- the Patient's Insurance Plan Code Sequence (see
PatientInsurancePlanCodeSequence)
-
newPatientInsurancePlanCodeSequence
Adds a new Patient's Insurance Plan Code Sequence. (seePatientInsurancePlanCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Patient's Insurance Plan Code Sequence
-
ensurePatientInsurancePlanCodeSequence
default PatientInsurancePlanCodeSequence ensurePatientInsurancePlanCodeSequence(int initialCapacity) Adds a new Patient's Insurance Plan Code Sequence (seePatientInsurancePlanCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Patient's Insurance Plan Code Sequence is created.- Returns:
- Either the already existing Patient's Insurance Plan Code Sequence (see
PatientInsurancePlanCodeSequence) or a new one with capacityinitialCapacity.
-
ensurePatientInsurancePlanCodeSequence
Adds a new Patient's Insurance Plan Code Sequence (seePatientInsurancePlanCodeSequence) with initial capacity 1 (seeensurePatientInsurancePlanCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Patient's Insurance Plan Code Sequence (see
PatientInsurancePlanCodeSequence) or a new one with capacity 1.
-
containsPatientInsurancePlanCodeSequence
default boolean containsPatientInsurancePlanCodeSequence()- Returns:
- Whether it contains the Patient's Insurance Plan Code Sequence (see
PatientInsurancePlanCodeSequence)
-
removePatientInsurancePlanCodeSequence
default void removePatientInsurancePlanCodeSequence()Removes the Patient's Insurance Plan Code Sequence (seePatientInsurancePlanCodeSequence
-