Package org.hl7.fhir.dstu2.model
Enum Enumerations.DataType
- java.lang.Object
-
- java.lang.Enum<Enumerations.DataType>
-
- org.hl7.fhir.dstu2.model.Enumerations.DataType
-
- All Implemented Interfaces:
Serializable,Comparable<Enumerations.DataType>
- Enclosing class:
- Enumerations
public static enum Enumerations.DataType extends Enum<Enumerations.DataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESSThere is a variety of postal address formats defined around the world.AGEnullANNOTATIONA text note which also contains information about who made the statement and when.ATTACHMENTFor referring to data content defined in other formats.BACKBONEELEMENTBase definition for all elements that are defined inside a resource - but not those in a data type.BASE64BINARYA stream of bytesBOOLEANValue of "true" or "false"CODEA 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 contentsCODEABLECONCEPTA concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.CODINGA reference to a code defined by a terminology system.CONTACTPOINTDetails for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.COUNTnullDATEA date or partial date (e.g.DATETIMEA date, date-time or partial date (e.g.DECIMALA rational number with implicit precisionDISTANCEnullDURATIONnullELEMENTBase definition for all elements in a resource.ELEMENTDEFINITIONCaptures constraints on each element within the resource, profile, or extension.EXTENSIONOptional Extensions Element - found in all resources.HUMANNAMEA human's name with the ability to identify parts and usage.IDAny combination of letters, numerals, "-" and ".", with a length limit of 64 characters.IDENTIFIERA technical identifier - identifies some entity uniquely and unambiguously.INSTANTAn instant in time - known at least to the secondINTEGERA whole numberMARKDOWNA string that may contain markdown syntax for optional processing by a mark down presentation engineMETAThe metadata about a resource.MONEYnullNARRATIVEA human-readable formatted text, including images.NULLadded to help the parsersOIDAn oid represented as a URIPERIODA time period defined by a start and end date and optionally time.POSITIVEINTAn integer with a value that is positive (e.g.QUANTITYA measured amount (or an amount that can potentially be measured).RANGEA set of ordered Quantities defined by a low and high limit.RATIOA relationship of two Quantity values - expressed as a numerator and a denominator.REFERENCEA reference from one resource to another.SAMPLEDDATAA series of measurements taken by a device, with upper and lower limits.SIGNATUREA digital signature along with supporting context.SIMPLEQUANTITYnullSTRINGA sequence of Unicode charactersTIMEA time during the day, with no date specifiedTIMINGSpecifies an event that may occur multiple times.UNSIGNEDINTAn integer with a value that is not negative (e.g.URIString of characters used to identify a name or a resourceUUIDA UUID, represented as a URIXHTMLXHTML format, as defined by W3C, but restricted usage (mainly, no active content)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Enumerations.DataTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Enumerations.DataTypevalueOf(String name)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 Detail
-
ADDRESS
public static final Enumerations.DataType 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
public static final Enumerations.DataType AGE
null
-
ANNOTATION
public static final Enumerations.DataType ANNOTATION
A text note which also contains information about who made the statement and when.
-
ATTACHMENT
public static final Enumerations.DataType ATTACHMENT
For referring to data content defined in other formats.
-
BACKBONEELEMENT
public static final Enumerations.DataType BACKBONEELEMENT
Base definition for all elements that are defined inside a resource - but not those in a data type.
-
CODEABLECONCEPT
public static final Enumerations.DataType CODEABLECONCEPT
A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.
-
CODING
public static final Enumerations.DataType CODING
A reference to a code defined by a terminology system.
-
CONTACTPOINT
public static final Enumerations.DataType CONTACTPOINT
Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.
-
COUNT
public static final Enumerations.DataType COUNT
null
-
DISTANCE
public static final Enumerations.DataType DISTANCE
null
-
DURATION
public static final Enumerations.DataType DURATION
null
-
ELEMENT
public static final Enumerations.DataType ELEMENT
Base definition for all elements in a resource.
-
ELEMENTDEFINITION
public static final Enumerations.DataType ELEMENTDEFINITION
Captures constraints on each element within the resource, profile, or extension.
-
EXTENSION
public static final Enumerations.DataType EXTENSION
Optional Extensions Element - found in all resources.
-
HUMANNAME
public static final Enumerations.DataType HUMANNAME
A human's name with the ability to identify parts and usage.
-
IDENTIFIER
public static final Enumerations.DataType IDENTIFIER
A technical identifier - identifies some entity uniquely and unambiguously.
-
META
public static final Enumerations.DataType 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
public static final Enumerations.DataType MONEY
null
-
NARRATIVE
public static final Enumerations.DataType NARRATIVE
A human-readable formatted text, including images.
-
PERIOD
public static final Enumerations.DataType PERIOD
A time period defined by a start and end date and optionally time.
-
QUANTITY
public static final Enumerations.DataType 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
public static final Enumerations.DataType RANGE
A set of ordered Quantities defined by a low and high limit.
-
RATIO
public static final Enumerations.DataType RATIO
A relationship of two Quantity values - expressed as a numerator and a denominator.
-
REFERENCE
public static final Enumerations.DataType REFERENCE
A reference from one resource to another.
-
SAMPLEDDATA
public static final Enumerations.DataType 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
public static final Enumerations.DataType 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
public static final Enumerations.DataType SIMPLEQUANTITY
null
-
TIMING
public static final Enumerations.DataType 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
public static final Enumerations.DataType BASE64BINARY
A stream of bytes
-
BOOLEAN
public static final Enumerations.DataType BOOLEAN
Value of "true" or "false"
-
CODE
public static final Enumerations.DataType 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
public static final Enumerations.DataType 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
public static final Enumerations.DataType 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
public static final Enumerations.DataType DECIMAL
A rational number with implicit precision
-
ID
public static final Enumerations.DataType 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
public static final Enumerations.DataType INSTANT
An instant in time - known at least to the second
-
INTEGER
public static final Enumerations.DataType INTEGER
A whole number
-
MARKDOWN
public static final Enumerations.DataType MARKDOWN
A string that may contain markdown syntax for optional processing by a mark down presentation engine
-
OID
public static final Enumerations.DataType OID
An oid represented as a URI
-
POSITIVEINT
public static final Enumerations.DataType POSITIVEINT
An integer with a value that is positive (e.g. >0)
-
STRING
public static final Enumerations.DataType STRING
A sequence of Unicode characters
-
TIME
public static final Enumerations.DataType TIME
A time during the day, with no date specified
-
UNSIGNEDINT
public static final Enumerations.DataType UNSIGNEDINT
An integer with a value that is not negative (e.g. >= 0)
-
URI
public static final Enumerations.DataType URI
String of characters used to identify a name or a resource
-
UUID
public static final Enumerations.DataType UUID
A UUID, represented as a URI
-
XHTML
public static final Enumerations.DataType XHTML
XHTML format, as defined by W3C, but restricted usage (mainly, no active content)
-
NULL
public static final Enumerations.DataType NULL
added to help the parsers
-
-
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 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
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-