Enum SpecimenStatusEnum

java.lang.Object
java.lang.Enum<SpecimenStatusEnum>
ca.uhn.fhir.model.dstu2.valueset.SpecimenStatusEnum
All Implemented Interfaces:
Serializable, Comparable<SpecimenStatusEnum>

  • Enum Constant Details

    • AVAILABLE

      public static final SpecimenStatusEnum AVAILABLE
      Display: Available
      Code Value: available The physical specimen is present and in good condition.
    • UNAVAILABLE

      public static final SpecimenStatusEnum UNAVAILABLE
      Display: Unavailable
      Code Value: unavailable There is no physical specimen because it is either lost, destroyed or consumed.
    • UNSATISFACTORY

      public static final SpecimenStatusEnum UNSATISFACTORY
      Display: Unsatisfactory
      Code Value: 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 SpecimenStatusEnum ENTERED_IN_ERROR
      Display: Entered-in-error
      Code Value: entered-in-error The specimen was entered in error and therefore nullified.
  • Field Details

  • Method Details

    • values

      public static SpecimenStatusEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SpecimenStatusEnum valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
      Returns the code associated with this enumerated value
    • getSystem

      public String getSystem()
      Returns the code system associated with this enumerated value
    • forCode

      public static SpecimenStatusEnum forCode(String theCode)
      Returns the enumerated value associated with this code