Enum DefinitionStatus

java.lang.Object
java.lang.Enum<DefinitionStatus>
org.hl7.fhir.r4.model.codesystems.DefinitionStatus
All Implemented Interfaces:
Serializable, Comparable<DefinitionStatus>

  • Enum Constant Details

    • DRAFT

      public static final DefinitionStatus DRAFT
      The definition is in the design stage and is not yet considered to be "ready for use".
    • ACTIVE

      public static final DefinitionStatus ACTIVE
      The definition is considered ready for use.
    • WITHDRAWN

      public static final DefinitionStatus WITHDRAWN
      The definition should no longer be used.
    • UNKNOWN

      public static final DefinitionStatus UNKNOWN
      The authoring/source system does not know which of the status values currently applies for this resource. Note: This concept is not to be used for "other" - one of the listed statuses is presumed to apply, but the authoring/source system does not know which.
    • NULL

      public static final DefinitionStatus NULL
      added to help the parsers
  • Method Details

    • values

      public static DefinitionStatus[] 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 DefinitionStatus 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
    • fromCode

      public static DefinitionStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • toCode

      public String toCode()
    • getSystem

      public String getSystem()
    • getDefinition

    • getDisplay

      public String getDisplay()