Class Address

All Implemented Interfaces:
Serializable

public class Address extends AddressBaseType
The class Address contains all necessary fields for a postal address. This class also provides mapping methods to other data types.
See Also:
  • Constructor Details

    • Address

      public Address(AddressBaseType baseType)
      Instantiates a new instance from the given base type.
      Parameters:
      baseType - the base type
    • Address

      public Address(AD hl7CdaR2Value)
      Instantiates a new instance from the given HL7 CDA R2 data type.
      Parameters:
      hl7CdaR2Value - the HL7 CDA R2 data type
  • Method Details

    • createAddressBaseType

      public static AddressBaseType createAddressBaseType(AD hl7CdaR2Value)
      Creates the base type from the given HL7 CDA R2 value.
      Parameters:
      hl7CdaR2Value - the HL7 CDA R2 value
      Returns:
      the base type
    • createHl7CdaR2Ad

      public static AD createHl7CdaR2Ad(AddressBaseType baseType)
      Creates the HL7 CDA R2 data type from the given base type.
      Parameters:
      baseType - the base type
      Returns:
      the HL7 CDA R2 data typed value
    • getHl7CdaR2Ad

      public AD getHl7CdaR2Ad()
      Gets the HL7 CDA R2 data type from the current instance.
      Returns:
      the HL7 CDA R2 data type
    • set

      public void set(AddressBaseType baseType)
      Sets the fields of the current instance by the given base type.
      Parameters:
      baseType - the base type
    • set

      public void set(AD hl7CdaR2Value)
      Sets the fields of the current instance by the given HL7 CDA R2 data type.
      Parameters:
      hl7CdaR2Value - the HL7 CDA R2 data typed value