This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions 
Definition for Value SetDataType
{
"resourceType": "ValueSet",
"text": {
"status": "generated",
"div": "<div><h2>DataType</h2><p>The type of an element - one of the FHIR data types</p><p>This value set defines its own terms in the system http://hl7.org/fhir/data-types</p><table><tr><td><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td>Address<a name=\"Address\"> </a></td><td/><td>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.</td></tr><tr><td>Age<a name=\"Age\"> </a></td><td/><td>There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive.</td></tr><tr><td>Attachment<a name=\"Attachment\"> </a></td><td/><td>For referring to data content defined in other formats.</td></tr><tr><td>CodeableConcept<a name=\"CodeableConcept\"> </a></td><td/><td>A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.</td></tr><tr><td>Coding<a name=\"Coding\"> </a></td><td/><td>A reference to a code defined by a terminology system.</td></tr><tr><td>Contact<a name=\"Contact\"> </a></td><td/><td>All kinds of technology mediated contact details for a person or organization, including telephone, email, etc.</td></tr><tr><td>Count<a name=\"Count\"> </a></td><td/><td>There SHALL be a code with a value of "1" if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM. If present, the value SHALL a whole number.</td></tr><tr><td>Distance<a name=\"Distance\"> </a></td><td/><td>There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM.</td></tr><tr><td>Duration<a name=\"Duration\"> </a></td><td/><td>There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.</td></tr><tr><td>Extension<a name=\"Extension\"> </a></td><td/><td>Optional Extensions Element - found in all resources.</td></tr><tr><td>HumanName<a name=\"HumanName\"> </a></td><td/><td>A human's name with the ability to identify parts and usage.</td></tr><tr><td>Identifier<a name=\"Identifier\"> </a></td><td/><td>A technical identifier - identifies some entity uniquely and unambiguously.</td></tr><tr><td>Money<a name=\"Money\"> </a></td><td/><td>There SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = "urn:std:iso:4217" - currency).</td></tr><tr><td>Narrative<a name=\"Narrative\"> </a></td><td/><td>A human-readable formatted text, including images.</td></tr><tr><td>Period<a name=\"Period\"> </a></td><td/><td>A time period defined by a start and end date and optionally time.</td></tr><tr><td>Quantity<a name=\"Quantity\"> </a></td><td/><td>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.</td></tr><tr><td>Range<a name=\"Range\"> </a></td><td/><td>A set of ordered Quantities defined by a low and high limit.</td></tr><tr><td>Ratio<a name=\"Ratio\"> </a></td><td/><td>A relationship of two Quantity values - expressed as a numerator and a denominator.</td></tr><tr><td>ResourceReference<a name=\"ResourceReference\"> </a></td><td/><td>A reference from one resource to another.</td></tr><tr><td>SampledData<a name=\"SampledData\"> </a></td><td/><td>A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.</td></tr><tr><td>Schedule<a name=\"Schedule\"> </a></td><td/><td>Specifies an event that may occur multiple times. Schedules are used for to reord when things are expected or requested to occur.</td></tr><tr><td>base64Binary<a name=\"base64Binary\"> </a></td><td/><td>A stream of bytes</td></tr><tr><td>boolean<a name=\"boolean\"> </a></td><td/><td>Value of "true" or "false"</td></tr><tr><td>code<a name=\"code\"> </a></td><td/><td>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</td></tr><tr><td>date<a name=\"date\"> </a></td><td/><td>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.</td></tr><tr><td>dateTime<a name=\"dateTime\"> </a></td><td/><td>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 may be provided but may also be ignored. Dates SHALL be valid dates.</td></tr><tr><td>decimal<a name=\"decimal\"> </a></td><td/><td>A rational number with implicit precision</td></tr><tr><td>id<a name=\"id\"> </a></td><td/><td>A whole number in the range 0 to 2^64-1, optionally represented in hex, a uuid, an oid or any other combination of lower-case letters a-z, numerals, "-" and ".", with a length limit of 36 characters</td></tr><tr><td>instant<a name=\"instant\"> </a></td><td/><td>An instant in time - known at least to the second</td></tr><tr><td>integer<a name=\"integer\"> </a></td><td/><td>A whole number</td></tr><tr><td>oid<a name=\"oid\"> </a></td><td/><td>An oid represented as a URI</td></tr><tr><td>string<a name=\"string\"> </a></td><td/><td>A sequence of Unicode characters</td></tr><tr><td>uri<a name=\"uri\"> </a></td><td/><td>String of characters used to identify a name or a resource</td></tr><tr><td>uuid<a name=\"uuid\"> </a></td><td/><td>A UUID, represented as a URI</td></tr></table></div>"
},
"identifier": "http://hl7.org/fhir/vs/data-types",
"name": "DataType",
"publisher": "HL7 (FHIR Project)",
"telecom": [
{
"system": "url",
"value": "http://hl7.org/fhir"
},
{
"system": "email",
"value": "fhir@lists.hl7.org"
}
],
"description": "The type of an element - one of the FHIR data types",
"status": "draft",
"date": "2014-09-30T18:09:16.977+10:00",
"define": {
"system": "http://hl7.org/fhir/data-types",
"caseSensitive": true,
"concept": [
{
"code": "Address",
"definition": "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."
},
{
"code": "Age",
"definition": "There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive."
},
{
"code": "Attachment",
"definition": "For referring to data content defined in other formats."
},
{
"code": "CodeableConcept",
"definition": "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."
},
{
"code": "Coding",
"definition": "A reference to a code defined by a terminology system."
},
{
"code": "Contact",
"definition": "All kinds of technology mediated contact details for a person or organization, including telephone, email, etc."
},
{
"code": "Count",
"definition": "There SHALL be a code with a value of \"1\" if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM. If present, the value SHALL a whole number."
},
{
"code": "Distance",
"definition": "There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM."
},
{
"code": "Duration",
"definition": "There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM."
},
{
"code": "Extension",
"definition": "Optional Extensions Element - found in all resources."
},
{
"code": "HumanName",
"definition": "A human's name with the ability to identify parts and usage."
},
{
"code": "Identifier",
"definition": "A technical identifier - identifies some entity uniquely and unambiguously."
},
{
"code": "Money",
"definition": "There SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = \"urn:std:iso:4217\" - currency)."
},
{
"code": "Narrative",
"definition": "A human-readable formatted text, including images."
},
{
"code": "Period",
"definition": "A time period defined by a start and end date and optionally time."
},
{
"code": "Quantity",
"definition": "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."
},
{
"code": "Range",
"definition": "A set of ordered Quantities defined by a low and high limit."
},
{
"code": "Ratio",
"definition": "A relationship of two Quantity values - expressed as a numerator and a denominator."
},
{
"code": "ResourceReference",
"definition": "A reference from one resource to another."
},
{
"code": "SampledData",
"definition": "A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data."
},
{
"code": "Schedule",
"definition": "Specifies an event that may occur multiple times. Schedules are used for to reord when things are expected or requested to occur."
},
{
"code": "base64Binary",
"definition": "A stream of bytes"
},
{
"code": "boolean",
"definition": "Value of \"true\" or \"false\""
},
{
"code": "code",
"definition": "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"
},
{
"code": "date",
"definition": "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."
},
{
"code": "dateTime",
"definition": "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 may be provided but may also be ignored. Dates SHALL be valid dates."
},
{
"code": "decimal",
"definition": "A rational number with implicit precision"
},
{
"code": "id",
"definition": "A whole number in the range 0 to 2^64-1, optionally represented in hex, a uuid, an oid or any other combination of lower-case letters a-z, numerals, \"-\" and \".\", with a length limit of 36 characters"
},
{
"code": "instant",
"definition": "An instant in time - known at least to the second"
},
{
"code": "integer",
"definition": "A whole number"
},
{
"code": "oid",
"definition": "An oid represented as a URI"
},
{
"code": "string",
"definition": "A sequence of Unicode characters"
},
{
"code": "uri",
"definition": "String of characters used to identify a name or a resource"
},
{
"code": "uuid",
"definition": "A UUID, represented as a URI"
}
]
}
}