2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Data-types.json

Raw JSON (canonical form)

Definition for Value SetDataType

{
  "resourceType": "ValueSet",
  "id": "data-types",
  "meta": {
    "lastUpdated": "2015-02-23T09:07:27.665+11:00",
    "profile": [
      "http://hl7.org/fhir/Profile/valueset-shareable-definition"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/ExtensionDefinition/valueset-oid",
      "valueUri": "urn:oid:2.16.840.1.113883.4.642.2.3"
    }
  ],
  "url": "http://hl7.org/fhir/vs/data-types",
  "version": "0.4.0",
  "name": "DataType",
  "publisher": "HL7 (FHIR Project)",
  "contact": [
    {
      "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",
  "experimental": false,
  "date": "2015-02-23T09:07:27+11:00",
  "define": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/ExtensionDefinition/valueset-oid",
        "valueUri": "urn:oid:2.16.840.1.113883.4.642.1.3"
      }
    ],
    "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": "A duration (length of time) with a UCUM code"
      },
      {
        "code": "Attachment",
        "definition": "For referring to data content defined in other formats."
      },
      {
        "code": "BackboneElement",
        "definition": "Base definition for all elements that are defined inside a resource - but not those in a data type."
      },
      {
        "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": "ContactPoint",
        "definition": "Details for All kinds of technology mediated contact points for a person or organization, including telephone, email, etc."
      },
      {
        "code": "Count",
        "definition": "A count of a discrete element (no unit)"
      },
      {
        "code": "Distance",
        "definition": "A measure of distance"
      },
      {
        "code": "Duration",
        "definition": "A length of time"
      },
      {
        "code": "Element",
        "definition": "Base definition for all elements in a resource."
      },
      {
        "code": "ElementDefinition",
        "definition": "Captures constraints on each element within the resource, profile, or extension."
      },
      {
        "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": "Meta",
        "definition": "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."
      },
      {
        "code": "Money",
        "definition": "An amount of money. With regard to precision, see [[X]]"
      },
      {
        "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": "Reference",
        "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": "Signature",
        "definition": "An XML digital signature along with supporting context."
      },
      {
        "code": "Timing",
        "definition": "Specifies an event that may occur multiple times. Timing schedules are used for to record 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": "Any combination of lowercase letters, numerals, \"-\" and \".\", with a length limit of 36 characters.  (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.)  Systems SHALL send ids as lower-case but SHOULD interpret them case-insensitively."
      },
      {
        "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": "time",
        "definition": "A time during the day, with no date specified"
      },
      {
        "code": "uri",
        "definition": "String of characters used to identify a name or a resource"
      },
      {
        "code": "uuid",
        "definition": "A UUID, represented as a URI"
      }
    ]
  }
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.