DataType

The type of an element - one of the FHIR data types.

This value set has an inline code system http://hl7.org/fhir/data-types, which defines the following codes:

Code Display Definition Comments
Address 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 Age
Annotation Annotation A text note which also contains information about who made the statement and when.
Attachment Attachment For referring to data content defined in other formats.
BackboneElement BackboneElement Base definition for all elements that are defined inside a resource - but not those in a data type.
CodeableConcept CodeableConcept A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.
Coding Coding A reference to a code defined by a terminology system.
ContactPoint ContactPoint Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.
Count Count
Distance Distance
Duration Duration
Element Element Base definition for all elements in a resource.
ElementDefinition ElementDefinition Captures constraints on each element within the resource, profile, or extension.
Extension Extension Optional Extensions Element - found in all resources.
HumanName HumanName A human's name with the ability to identify parts and usage.
Identifier Identifier A technical identifier - identifies some entity uniquely and unambiguously.
Meta 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 Money
Narrative Narrative A human-readable formatted text, including images.
Period Period A time period defined by a start and end date and optionally time.
Quantity 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 Range A set of ordered Quantities defined by a low and high limit.
Ratio Ratio A relationship of two Quantity values - expressed as a numerator and a denominator.
Reference Reference A reference from one resource to another.
SampledData 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 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 SimpleQuantity
Timing 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 base64Binary A stream of bytes
boolean boolean Value of "true" or "false"
code 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 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 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 decimal A rational number with implicit precision
id 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 instant An instant in time - known at least to the second
integer integer A whole number
markdown markdown A string that may contain markdown syntax for optional processing by a mark down presentation engine
oid oid An oid represented as a URI
positiveInt positiveInt An integer with a value that is positive (e.g. >0)
string string A sequence of Unicode characters
time time A time during the day, with no date specified
unsignedInt unsignedInt An integer with a value that is not negative (e.g. >= 0)
uri uri String of characters used to identify a name or a resource
uuid uuid A UUID, represented as a URI
xhtml XHTML XHTML format, as defined by W3C, but restricted usage (mainly, no active content) Special case: xhtml can only be used in the narrative Data Type