Interface PatientAddress.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
PatientDemographicModule
- All Known Implementing Classes:
PatientAddress.SimpleHolder,UnifiedProcedureStepIOD
- Enclosing class:
- PatientAddress
A class implementing this interface can hold attributes which contain the DICOM tag "Patient's Address" (see
PatientAddress)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault PatientAddressdefault voidRemoves the Patient's Address (seePatientAddressstatic PatientAddress.Holderwrap(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 Address (seePatientAddress)- Returns:
- A wrapper object implementing the
PatientAddress.Holderinterface.
-
builder
- Returns:
- a
PatientAddress.Holder.Builderto create Patient's Address Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by thePatientAddress.Holder.Builder.- Returns:
- a
PatientAddress.Holder.Builderto create Patient's Address Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPatientAddress
- Returns:
- the Patient's Address (see
PatientAddress)
-
containsPatientAddress
default boolean containsPatientAddress()- Returns:
- Whether it contains the Patient's Address (see
PatientAddress)
-
removePatientAddress
default void removePatientAddress()Removes the Patient's Address (seePatientAddress
-