Class PropertyType

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class PropertyType
    extends Code
    • Field Detail

      • CODE

        public static final PropertyType CODE
        code (internal reference)

        The property value is a code that identifies a concept defined in the code system.

      • CODING

        public static final PropertyType CODING
        Coding (external reference)

        The property value is a code defined in an external code system. This may be used for translations, but is not the intent.

      • STRING

        public static final PropertyType STRING
        string

        The property value is a string.

      • INTEGER

        public static final PropertyType INTEGER
        integer

        The property value is a string (often used to assign ranking values to concepts for supporting score assessments).

      • BOOLEAN

        public static final PropertyType BOOLEAN
        boolean

        The property value is a boolean true | false.

      • DATE_TIME

        public static final PropertyType DATE_TIME
        dateTime

        The property is a date or a date + time.

      • DECIMAL

        public static final PropertyType DECIMAL
        decimal

        The property value is a decimal number.

    • Method Detail

      • of

        public static PropertyType of​(String value)
        Factory method for creating PropertyType objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating PropertyType objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating PropertyType objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code