Enum ConstraintSeverityEnum

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

  • Enum Constant Details

    • ERROR

      public static final ConstraintSeverityEnum ERROR
      Display: Error
      Code Value: error If the constraint is violated, the resource is not conformant.
    • WARNING

      public static final ConstraintSeverityEnum WARNING
      Display: Warning
      Code Value: warning If the constraint is violated, the resource is conformant, but it is not necessarily following best practice.
  • Field Details

  • Method Details

    • values

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