Enum AnswerFormatEnum

    • Enum Constant Summary

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

      • 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.
      • 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.).
    • Method Detail

      • values

        public static AnswerFormatEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AnswerFormatEnum c : AnswerFormatEnum.values())
            System.out.println(c);
        
        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