Class FHIRSubstanceStatus

  • All Implemented Interfaces:
    Visitable

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

      • ACTIVE

        public static final FHIRSubstanceStatus ACTIVE
        Active

        The substance is considered for use or reference.

      • INACTIVE

        public static final FHIRSubstanceStatus INACTIVE
        Inactive

        The substance is considered for reference, but not for use.

      • ENTERED_IN_ERROR

        public static final FHIRSubstanceStatus ENTERED_IN_ERROR
        Entered in Error

        The substance was entered in error.

    • Method Detail

      • of

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