
Package org.hl7.fhir.dstu2.model
Enum Enumerations.DataType
- All Implemented Interfaces:
Serializable
,Comparable<Enumerations.DataType>
- Enclosing class:
Enumerations
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThere is a variety of postal address formats defined around the world.nullA text note which also contains information about who made the statement and when.For referring to data content defined in other formats.Base definition for all elements that are defined inside a resource - but not those in a data type.A stream of bytesValue of "true" or "false"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 contentsA concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.A reference to a code defined by a terminology system.Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.nullA date or partial date (e.g.A date, date-time or partial date (e.g.A rational number with implicit precisionnullnullBase definition for all elements in a resource.Captures constraints on each element within the resource, profile, or extension.Optional Extensions Element - found in all resources.A human's name with the ability to identify parts and usage.Any combination of letters, numerals, "-" and ".", with a length limit of 64 characters.A technical identifier - identifies some entity uniquely and unambiguously.An instant in time - known at least to the secondA whole numberA string that may contain markdown syntax for optional processing by a mark down presentation engineThe metadata about a resource.nullA human-readable formatted text, including images.added to help the parsersAn oid represented as a URIA time period defined by a start and end date and optionally time.An integer with a value that is positive (e.g.A measured amount (or an amount that can potentially be measured).A set of ordered Quantities defined by a low and high limit.A relationship of two Quantity values - expressed as a numerator and a denominator.A reference from one resource to another.A series of measurements taken by a device, with upper and lower limits.A digital signature along with supporting context.nullA sequence of Unicode charactersA time during the day, with no date specifiedSpecifies an event that may occur multiple times.An integer with a value that is not negative (e.g.String of characters used to identify a name or a resourceA UUID, represented as a URIXHTML format, as defined by W3C, but restricted usage (mainly, no active content) -
Method Summary
Modifier and TypeMethodDescriptionstatic Enumerations.DataType
toCode()
static Enumerations.DataType
Returns the enum constant of this type with the specified name.static Enumerations.DataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ADDRESS
There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses 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. -
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 -
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. -
IDENTIFIER
A technical identifier - identifies some entity uniquely and unambiguously. -
META
The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource. -
MONEY
null -
NARRATIVE
A human-readable formatted text, including images. -
PERIOD
A time period defined by a start and end date and optionally time. -
QUANTITY
A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies. -
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. There may be more than one dimension in the data. -
SIGNATURE
A digital signature along with supporting context. The signature may be electronic/cryptographic in nature, or a graphical image representing a hand-written signature, or a signature process. Different Signature approaches have different utilities. -
SIMPLEQUANTITY
null -
TIMING
Specifies an event that may occur multiple times. Timing schedules are used to record when things are expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds. -
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 -
DATE
A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates. -
DATETIME
A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates. -
DECIMAL
A rational number with implicit precision -
ID
Any combination of letters, numerals, "-" and ".", with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive. -
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 -
OID
An oid represented as a URI -
POSITIVEINT
An integer with a value that is positive (e.g. >0) -
STRING
A sequence of Unicode characters -
TIME
A time during the day, with no date specified -
UNSIGNEDINT
An integer with a value that is not negative (e.g. >= 0) -
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) -
NULL
added to help the parsers
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
fromCode
public static Enumerations.DataType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-