Enum Class PatternKind

java.lang.Object
java.lang.Enum<PatternKind>
org.fhirfrog.frog.profilecompiler.model.PatternKind
All Implemented Interfaces:
Serializable, Comparable<PatternKind>, Constable

public enum PatternKind extends Enum<PatternKind>
Which of the four pattern-discriminator sub-shapes (algorithm.md §3.2.1's resolve_pattern) a slice's discriminator sub-element carried its identifying constraint as.
  • Enum Constant Details

    • PATTERN_CODEABLE_CONCEPT

      public static final PatternKind PATTERN_CODEABLE_CONCEPT
    • PATTERN_CODING

      public static final PatternKind PATTERN_CODING
    • PATTERN_IDENTIFIER

      public static final PatternKind PATTERN_IDENTIFIER
  • Method Details

    • values

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

      public static PatternKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null