Class PublicationStatus

  • All Implemented Interfaces:
    Visitable

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

      • DRAFT

        public static final PublicationStatus DRAFT
        Draft

        This resource is still under development and is not yet considered to be ready for normal use.

      • ACTIVE

        public static final PublicationStatus ACTIVE
        Active

        This resource is ready for normal use.

      • RETIRED

        public static final PublicationStatus RETIRED
        Retired

        This resource has been withdrawn or superseded and should no longer be used.

      • UNKNOWN

        public static final PublicationStatus UNKNOWN
        Unknown

        The authoring system does not know which of the status values currently applies for this resource. Note: This concept is not to be used for "other" - one of the listed statuses is presumed to apply, it's just not known which one.

    • Method Detail

      • of

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