Enum SupplyRequestStatusEnum

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

public enum SupplyRequestStatusEnum
extends Enum<SupplyRequestStatusEnum>
  • Enum Constant Details

    • REQUESTED

      public static final SupplyRequestStatusEnum REQUESTED
      Display: Requested
      Code Value: requested Supply has been requested, but not dispensed.
    • RECEIVED

      public static final SupplyRequestStatusEnum RECEIVED
      Display: Received
      Code Value: completed Supply has been received by the requestor.
    • FAILED

      public static final SupplyRequestStatusEnum FAILED
      Display: Failed
      Code Value: failed The supply will not be completed because the supplier was unable or unwilling to supply the item.
    • CANCELLED

      public static final SupplyRequestStatusEnum CANCELLED
      Display: Cancelled
      Code Value: cancelled The orderer of the supply cancelled the request.
  • Field Details

  • Method Details

    • values

      public static SupplyRequestStatusEnum[] 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 SupplyRequestStatusEnum 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 SupplyRequestStatusEnum forCode​(String theCode)
      Returns the enumerated value associated with this code