Enum Enumerations.DataType

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ADDRESS
      There is a variety of postal address formats defined around the world.
      AGE
      null
      ANNOTATION
      A text note which also contains information about who made the statement and when.
      ATTACHMENT
      For referring to data content defined in other formats.
      BACKBONEELEMENT
      Base definition for all elements that are defined inside a resource - but not those in a data type.
      BASE64BINARY
      A stream of bytes
      BOOLEAN
      Value of "true" or "false"
      CODE
      A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents
      CODEABLECONCEPT
      A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.
      CODING
      A reference to a code defined by a terminology system.
      CONTACTPOINT
      Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.
      COUNT
      null
      DATE
      A date or partial date (e.g.
      DATETIME
      A date, date-time or partial date (e.g.
      DECIMAL
      A rational number with implicit precision
      DISTANCE
      null
      DURATION
      null
      ELEMENT
      Base definition for all elements in a resource.
      ELEMENTDEFINITION
      Captures constraints on each element within the resource, profile, or extension.
      EXTENSION
      Optional Extensions Element - found in all resources.
      HUMANNAME
      A human's name with the ability to identify parts and usage.
      ID
      Any combination of letters, numerals, "-" and ".", with a length limit of 64 characters.
      IDENTIFIER
      A technical identifier - identifies some entity uniquely and unambiguously.
      INSTANT
      An instant in time - known at least to the second
      INTEGER
      A whole number
      MARKDOWN
      A string that may contain markdown syntax for optional processing by a mark down presentation engine
      META
      The metadata about a resource.
      MONEY
      null
      NARRATIVE
      A human-readable formatted text, including images.
      NULL
      added to help the parsers
      OID
      An oid represented as a URI
      PERIOD
      A time period defined by a start and end date and optionally time.
      POSITIVEINT
      An integer with a value that is positive (e.g.
      QUANTITY
      A measured amount (or an amount that can potentially be measured).
      RANGE
      A set of ordered Quantities defined by a low and high limit.
      RATIO
      A relationship of two Quantity values - expressed as a numerator and a denominator.
      REFERENCE
      A reference from one resource to another.
      SAMPLEDDATA
      A series of measurements taken by a device, with upper and lower limits.
      SIGNATURE
      A digital signature along with supporting context.
      SIMPLEQUANTITY
      null
      STRING
      A sequence of Unicode characters
      TIME
      A time during the day, with no date specified
      TIMING
      Specifies an event that may occur multiple times.
      UNSIGNEDINT
      An integer with a value that is not negative (e.g.
      URI
      String of characters used to identify a name or a resource
      UUID
      A UUID, represented as a URI
      XHTML
      XHTML format, as defined by W3C, but restricted usage (mainly, no active content)
    • Method Detail

      • values

        public static Enumerations.DataType[] 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 (Enumerations.DataType c : Enumerations.DataType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Enumerations.DataType 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