FHIR Tooling Extensions IG
0.7.0 - Release 0.2.0 International flag

This page is part of the HL7 Tools Extension IG (v0.7.0: Release - Informative) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

ValueSet: Primitive Types ValueSet

Official URL: http://hl7.org/fhir/tools/ValueSet/primitive-types Version: 0.7.0
Standards status: Informative Maturity Level: 3 Computable Name: PrimitiveTypesVS
Other Identifiers: OID:2.16.840.1.113883.4.642.40.1.48.16

List of primitive FHIR Types

References

Logical Definition (CLD)

  • Include these codes as defined in http://hl7.org/fhir/fhir-types
    CodeDisplayDefinition
    base64Binarybase64Binarybase64Binary Type: A stream of bytes
    booleanbooleanboolean Type: Value of "true" or "false"
    canonicalcanonicalcanonical type: A URI that is a reference to a canonical URL on a FHIR resource
    codecodecode type: 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
    datedatedate Type: A date or partial date (e.g. just year or year + month). There is no UTC offset. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates.
    dateTimedateTimedateTime Type: A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a UTC offset 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.
    decimaldecimaldecimal Type: A rational number with implicit precision
    ididid type: 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.
    instantinstantinstant Type: An instant in time - known at least to the second
    integerintegerinteger Type: A whole number
    integer64integer64integer64 Type: A very large whole number
    markdownmarkdownmarkdown type: A string that may contain Github Flavored Markdown syntax for optional processing by a mark down presentation engine
    oidoidoid type: An OID represented as a URI
    stringstringstring Type: A sequence of Unicode characters
    positiveIntpositiveIntpositiveInt type: An integer with a value that is positive (e.g. >0)
    timetimetime Type: A time during the day, with no date specified
    unsignedIntunsignedIntunsignedInt type: An integer with a value that is not negative (e.g. >= 0)
    uriuriuri Type: String of characters used to identify a name or a resource
    urlurlurl type: A URI that is a literal reference
    uuiduuiduuid type: A UUID, represented as a URI

 

Expansion

Expansion performed internally based on codesystem All FHIR Types v5.0.0 (CodeSystem)

This value set contains 20 concepts

CodeSystemDisplay (en)Definition
  base64Binaryhttp://hl7.org/fhir/fhir-typesbase64Binary

base64Binary Type: A stream of bytes

  booleanhttp://hl7.org/fhir/fhir-typesboolean

boolean Type: Value of "true" or "false"

  canonicalhttp://hl7.org/fhir/fhir-typescanonical

canonical type: A URI that is a reference to a canonical URL on a FHIR resource

  codehttp://hl7.org/fhir/fhir-typescode

code type: 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

  datehttp://hl7.org/fhir/fhir-typesdate

date Type: A date or partial date (e.g. just year or year + month). There is no UTC offset. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates.

  dateTimehttp://hl7.org/fhir/fhir-typesdateTime

dateTime Type: A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a UTC offset 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.

  decimalhttp://hl7.org/fhir/fhir-typesdecimal

decimal Type: A rational number with implicit precision

  idhttp://hl7.org/fhir/fhir-typesid

id type: 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.

  instanthttp://hl7.org/fhir/fhir-typesinstant

instant Type: An instant in time - known at least to the second

  integerhttp://hl7.org/fhir/fhir-typesinteger

integer Type: A whole number

  integer64http://hl7.org/fhir/fhir-typesinteger64

integer64 Type: A very large whole number

  markdownhttp://hl7.org/fhir/fhir-typesmarkdown

markdown type: A string that may contain Github Flavored Markdown syntax for optional processing by a mark down presentation engine

  oidhttp://hl7.org/fhir/fhir-typesoid

oid type: An OID represented as a URI

  stringhttp://hl7.org/fhir/fhir-typesstring

string Type: A sequence of Unicode characters

  positiveInthttp://hl7.org/fhir/fhir-typespositiveInt

positiveInt type: An integer with a value that is positive (e.g. >0)

  timehttp://hl7.org/fhir/fhir-typestime

time Type: A time during the day, with no date specified

  unsignedInthttp://hl7.org/fhir/fhir-typesunsignedInt

unsignedInt type: An integer with a value that is not negative (e.g. >= 0)

  urihttp://hl7.org/fhir/fhir-typesuri

uri Type: String of characters used to identify a name or a resource

  urlhttp://hl7.org/fhir/fhir-typesurl

url type: A URI that is a literal reference

  uuidhttp://hl7.org/fhir/fhir-typesuuid

uuid type: A UUID, represented as a URI


Explanation of the columns that may appear on this page:

Level A few code lists that FHIR defines are hierarchical - each code is assigned a level. In this scheme, some codes are under other codes, and imply that the code they are under also applies
System The source of the definition of the code (when the value set draws in codes defined elsewhere)
Code The code (used as the code in the resource instance)
Display The display (used in the display element of a Coding). If there is no display, implementers should not simply display the code, but map the concept into their application
Definition An explanation of the meaning of the concept
Comments Additional notes about how to use the code