Class SpecimenStatus

  • All Implemented Interfaces:
    Visitable

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

      • AVAILABLE

        public static final SpecimenStatus AVAILABLE
        Available

        The physical specimen is present and in good condition.

      • UNAVAILABLE

        public static final SpecimenStatus UNAVAILABLE
        Unavailable

        There is no physical specimen because it is either lost, destroyed or consumed.

      • UNSATISFACTORY

        public static final SpecimenStatus UNSATISFACTORY
        Unsatisfactory

        The specimen cannot be used because of a quality issue such as a broken container, contamination, or too old.

      • ENTERED_IN_ERROR

        public static final SpecimenStatus ENTERED_IN_ERROR
        Entered in Error

        The specimen was entered in error and therefore nullified.

    • Method Detail

      • of

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