Class EndpointStatus

  • All Implemented Interfaces:
    Visitable

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

      • ACTIVE

        public static final EndpointStatus ACTIVE
        Active

        This endpoint is expected to be active and can be used.

      • SUSPENDED

        public static final EndpointStatus SUSPENDED
        Suspended

        This endpoint is temporarily unavailable.

      • ERROR

        public static final EndpointStatus ERROR
        Error

        This endpoint has exceeded connectivity thresholds and is considered in an error state and should no longer be attempted to connect to until corrective action is taken.

      • OFF

        public static final EndpointStatus OFF
        Off

        This endpoint is no longer to be used.

      • ENTERED_IN_ERROR

        public static final EndpointStatus ENTERED_IN_ERROR
        Entered in error

        This instance should not have been part of this patient's medical record.

      • TEST

        public static final EndpointStatus TEST
        Test

        This endpoint is not intended for production usage.

    • Method Detail

      • of

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