Class AddressUse

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class AddressUse
    extends Code
    • Field Detail

      • HOME

        public static final AddressUse HOME
        Home

        A communication address at a home.

      • WORK

        public static final AddressUse WORK
        Work

        An office address. First choice for business related contacts during business hours.

      • TEMP

        public static final AddressUse TEMP
        Temporary

        A temporary address. The period can provide more detailed information.

      • OLD

        public static final AddressUse OLD
        Old / Incorrect

        This address is no longer in use (or was never correct but retained for records).

      • BILLING

        public static final AddressUse BILLING
        Billing

        An address to be used to send bills, invoices, receipts etc.

    • Method Detail

      • of

        public static AddressUse of​(String value)
        Factory method for creating AddressUse objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating AddressUse objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating AddressUse objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code