Class SubscriptionStatus

  • All Implemented Interfaces:
    Visitable

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

      • REQUESTED

        public static final SubscriptionStatus REQUESTED
        Requested

        The client has requested the subscription, and the server has not yet set it up.

      • ACTIVE

        public static final SubscriptionStatus ACTIVE
        Active

        The subscription is active.

      • ERROR

        public static final SubscriptionStatus ERROR
        Error

        The server has an error executing the notification.

      • OFF

        public static final SubscriptionStatus OFF
        Off

        Too many errors have occurred or the subscription has expired.

    • Method Detail

      • of

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