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.xml

Raw XML (canonical form)

Definition for Value SetDataType

Raw XML

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="data-types"/>
  <meta>
    <lastUpdated value="2015-02-23T09:07:27.665+11:00"/>
    <profile value="http://hl7.org/fhir/Profile/valueset-shareable-definition"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <extension url="http://hl7.org/fhir/ExtensionDefinition/valueset-oid">
    <valueUri value="urn:oid:2.16.840.1.113883.4.642.2.3"/>
  </extension>
  <url value="http://hl7.org/fhir/vs/data-types"/>
  <version value="0.4.0"/>
  <name value="DataType"/>
  <publisher value="HL7 (FHIR Project)"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="fhir@lists.hl7.org"/>
    </telecom>
  </contact>
  <description value="The type of an element - one of the FHIR data types"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2015-02-23T09:07:27+11:00"/>
  <define>
    <extension url="http://hl7.org/fhir/ExtensionDefinition/valueset-oid">
      <valueUri value="urn:oid:2.16.840.1.113883.4.642.1.3"/>
    </extension>
    <system value="http://hl7.org/fhir/data-types"/>
    <caseSensitive value="true"/>
    <concept>
      <code value="Address"/>
      <definition value="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."/>
    </concept>
    <concept>
      <code value="Age"/>
      <definition value="A duration (length of time) with a UCUM code"/>
    </concept>
    <concept>
      <code value="Attachment"/>
      <definition value="For referring to data content defined in other formats."/>
    </concept>
    <concept>
      <code value="BackboneElement"/>
      <definition value="Base definition for all elements that are defined inside a resource - but not those in
       a data type."/>
    </concept>
    <concept>
      <code value="CodeableConcept"/>
      <definition value="A concept that may be defined by a formal reference to a terminology or ontology or may
       be provided by text."/>
    </concept>
    <concept>
      <code value="Coding"/>
      <definition value="A reference to a code defined by a terminology system."/>
    </concept>
    <concept>
      <code value="ContactPoint"/>
      <definition value="Details for All kinds of technology mediated contact points for a person or organization,
       including telephone, email, etc."/>
    </concept>
    <concept>
      <code value="Count"/>
      <definition value="A count of a discrete element (no unit)"/>
    </concept>
    <concept>
      <code value="Distance"/>
      <definition value="A measure of distance"/>
    </concept>
    <concept>
      <code value="Duration"/>
      <definition value="A length of time"/>
    </concept>
    <concept>
      <code value="Element"/>
      <definition value="Base definition for all elements in a resource."/>
    </concept>
    <concept>
      <code value="ElementDefinition"/>
      <definition value="Captures constraints on each element within the resource, profile, or extension."/>
    </concept>
    <concept>
      <code value="Extension"/>
      <definition value="Optional Extensions Element - found in all resources."/>
    </concept>
    <concept>
      <code value="HumanName"/>
      <definition value="A human's name with the ability to identify parts and usage."/>
    </concept>
    <concept>
      <code value="Identifier"/>
      <definition value="A technical identifier - identifies some entity uniquely and unambiguously."/>
    </concept>
    <concept>
      <code value="Meta"/>
      <definition value="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."/>
    </concept>
    <concept>
      <code value="Money"/>
      <definition value="An amount of money. With regard to precision, see [[X]]"/>
    </concept>
    <concept>
      <code value="Narrative"/>
      <definition value="A human-readable formatted text, including images."/>
    </concept>
    <concept>
      <code value="Period"/>
      <definition value="A time period defined by a start and end date and optionally time."/>
    </concept>
    <concept>
      <code value="Quantity"/>
      <definition value="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."/>
    </concept>
    <concept>
      <code value="Range"/>
      <definition value="A set of ordered Quantities defined by a low and high limit."/>
    </concept>
    <concept>
      <code value="Ratio"/>
      <definition value="A relationship of two Quantity values - expressed as a numerator and a denominator."/>
    </concept>
    <concept>
      <code value="Reference"/>
      <definition value="A reference from one resource to another."/>
    </concept>
    <concept>
      <code value="SampledData"/>
      <definition value="A series of measurements taken by a device, with upper and lower limits. There may be
       more than one dimension in the data."/>
    </concept>
    <concept>
      <code value="Signature"/>
      <definition value="An XML digital signature along with supporting context."/>
    </concept>
    <concept>
      <code value="Timing"/>
      <definition value="Specifies an event that may occur multiple times. Timing schedules are used for to record
       when things are expected or requested to occur."/>
    </concept>
    <concept>
      <code value="base64Binary"/>
      <definition value="A stream of bytes"/>
    </concept>
    <concept>
      <code value="boolean"/>
      <definition value="Value of &quot;true&quot; or &quot;false&quot;"/>
    </concept>
    <concept>
      <code value="code"/>
      <definition value="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"/>
    </concept>
    <concept>
      <code value="date"/>
      <definition value="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."/>
    </concept>
    <concept>
      <code value="dateTime"/>
      <definition value="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."/>
    </concept>
    <concept>
      <code value="decimal"/>
      <definition value="A rational number with implicit precision"/>
    </concept>
    <concept>
      <code value="id"/>
      <definition value="Any combination of lowercase letters, numerals, &quot;-&quot; and &quot;.&quot;, 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."/>
    </concept>
    <concept>
      <code value="instant"/>
      <definition value="An instant in time - known at least to the second"/>
    </concept>
    <concept>
      <code value="integer"/>
      <definition value="A whole number"/>
    </concept>
    <concept>
      <code value="oid"/>
      <definition value="An oid represented as a URI"/>
    </concept>
    <concept>
      <code value="string"/>
      <definition value="A sequence of Unicode characters"/>
    </concept>
    <concept>
      <code value="time"/>
      <definition value="A time during the day, with no date specified"/>
    </concept>
    <concept>
      <code value="uri"/>
      <definition value="String of characters used to identify a name or a resource"/>
    </concept>
    <concept>
      <code value="uuid"/>
      <definition value="A UUID, represented as a URI"/>
    </concept>
  </define>
</ValueSet>

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.