Class ContactPointUse

  • All Implemented Interfaces:
    Visitable

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

      • HOME

        public static final ContactPointUse HOME
        Home

        A communication contact point at a home; attempted contacts for business purposes might intrude privacy and chances are one will contact family or other household members instead of the person one wishes to call. Typically used with urgent cases, or if no other contacts are available.

      • WORK

        public static final ContactPointUse WORK
        Work

        An office contact point. First choice for business related contacts during business hours.

      • TEMP

        public static final ContactPointUse TEMP
        Temp

        A temporary contact point. The period can provide more detailed information.

      • OLD

        public static final ContactPointUse OLD
        Old

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

      • MOBILE

        public static final ContactPointUse MOBILE
        Mobile

        A telecommunication device that moves and stays with its owner. May have characteristics of all other use codes, suitable for urgent matters, not the first choice for routine business.

    • Method Detail

      • of

        public static ContactPointUse of​(String value)
        Factory method for creating ContactPointUse 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 ContactPointUse 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 ContactPointUse 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