Interface PatientInsurancePlanCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
PatientDemographicModule
- All Known Implementing Classes:
PatientDemographicModule.SimpleWrapper,UnifiedProcedureStepIOD
- Enclosing class:
- PatientInsurancePlanCodeSequence
public static interface PatientInsurancePlanCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Patient's Insurance Plan Code Sequence" (seePatientInsurancePlanCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPatientInsurancePlanCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PatientInsurancePlanCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Patient's Insurance Plan Code Sequence (seePatientInsurancePlanCodeSequence)- Returns:
- a wrapper object implementing the
PatientInsurancePlanCodeSequence.Holderinterface.
-
builder
static PatientInsurancePlanCodeSequence.Holder.Builder 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
default PatientInsurancePlanCodeSequence getPatientInsurancePlanCodeSequence()
- Returns:
- the Patient's Insurance Plan Code Sequence (see
PatientInsurancePlanCodeSequence)
-
newPatientInsurancePlanCodeSequence
default PatientInsurancePlanCodeSequence newPatientInsurancePlanCodeSequence(int initialCapacity)
Adds a new Patient's Insurance Plan Code Sequence. (seePatientInsurancePlanCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Patient's Insurance Plan Code Sequence- Returns:
- the newly created PatientInsurancePlanCodeSequence.
-
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
default PatientInsurancePlanCodeSequence 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
-
-