Enum AnswerFormatEnum

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

  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Display: Attachment
    Code Value: attachment Answer is binary content such as a image, PDF, etc.
    Display: Boolean
    Code Value: boolean Answer is a yes/no answer.
    Display: Choice
    Code Value: choice Answer is a Coding drawn from a list of options.
    Display: Date
    Code Value: date Answer is a date.
    Display: Date Time
    Code Value: dateTime Answer is a date and time.
    Display: Decimal
    Code Value: decimal Answer is a floating point number.
    Display: Instant
    Code Value: instant Answer is a system timestamp.
    Display: Integer
    Code Value: integer Answer is an integer.
    Display: Open Choice
    Code Value: open-choice Answer is a Coding drawn from a list of options or a free-text entry.
    Display: Quantity
    Code Value: quantity Answer is a combination of a numeric value and unit, potentially with a comparator (<, >, etc.).
    Display: Reference
    Code Value: reference Answer is a reference to another resource (practitioner, organization, etc.).
    Display: String
    Code Value: string Answer is a short (few words to short sentence) free-text entry.
    Display: Text
    Code Value: text Answer is a long (potentially multi-paragraph) free-text entry (still captured as a string).
    Display: Time
    Code Value: time Answer is a time (hour/minute/second) independent of date.
    Display: Url
    Code Value: url Answer is a url (website, FTP site, etc.).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static ca.uhn.fhir.model.api.IValueSetEnumBinder<AnswerFormatEnum>
    Converts codes to their respective enumerated values
    static String
    Identifier for this Value Set:
    static String
    Name for this Value Set: AnswerFormat
  • Method Summary

    Modifier and Type
    Method
    Description
    forCode​(String theCode)
    Returns the enumerated value associated with this code
    Returns the code associated with this enumerated value
    Returns the code system associated with this enumerated value
    valueOf​(String name)
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • BOOLEAN

      public static final AnswerFormatEnum BOOLEAN
      Display: Boolean
      Code Value: boolean Answer is a yes/no answer.
    • DECIMAL

      public static final AnswerFormatEnum DECIMAL
      Display: Decimal
      Code Value: decimal Answer is a floating point number.
    • INTEGER

      public static final AnswerFormatEnum INTEGER
      Display: Integer
      Code Value: integer Answer is an integer.
    • DATE

      public static final AnswerFormatEnum DATE
      Display: Date
      Code Value: date Answer is a date.
    • DATE_TIME

      public static final AnswerFormatEnum DATE_TIME
      Display: Date Time
      Code Value: dateTime Answer is a date and time.
    • INSTANT

      public static final AnswerFormatEnum INSTANT
      Display: Instant
      Code Value: instant Answer is a system timestamp.
    • TIME

      public static final AnswerFormatEnum TIME
      Display: Time
      Code Value: time Answer is a time (hour/minute/second) independent of date.
    • STRING

      public static final AnswerFormatEnum STRING
      Display: String
      Code Value: string Answer is a short (few words to short sentence) free-text entry.
    • TEXT

      public static final AnswerFormatEnum TEXT
      Display: Text
      Code Value: text Answer is a long (potentially multi-paragraph) free-text entry (still captured as a string).
    • URL

      public static final AnswerFormatEnum URL
      Display: Url
      Code Value: url Answer is a url (website, FTP site, etc.).
    • CHOICE

      public static final AnswerFormatEnum CHOICE
      Display: Choice
      Code Value: choice Answer is a Coding drawn from a list of options.
    • OPEN_CHOICE

      public static final AnswerFormatEnum OPEN_CHOICE
      Display: Open Choice
      Code Value: open-choice Answer is a Coding drawn from a list of options or a free-text entry.
    • ATTACHMENT

      public static final AnswerFormatEnum ATTACHMENT
      Display: Attachment
      Code Value: attachment Answer is binary content such as a image, PDF, etc.
    • REFERENCE

      public static final AnswerFormatEnum REFERENCE
      Display: Reference
      Code Value: reference Answer is a reference to another resource (practitioner, organization, etc.).
    • QUANTITY

      public static final AnswerFormatEnum QUANTITY
      Display: Quantity
      Code Value: quantity Answer is a combination of a numeric value and unit, potentially with a comparator (<, >, etc.).
  • Field Details

  • Method Details

    • values

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