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

Data-types.xml

Definition for Value SetDataType

Raw XML

<ValueSet xmlns="http://hl7.org/fhir">
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <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 &quot;1&quot; 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 = &quot;urn:std:iso:4217&quot; - 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 &quot;true&quot; or &quot;false&quot;</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, &quot;-&quot; and &quot;.&quot;,
             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>
  </text>
  <identifier value="http://hl7.org/fhir/vs/data-types"/>
  <name value="DataType"/>
  <publisher value="HL7 (FHIR Project)"/>
  <telecom>
    <system value="url"/>
    <value value="http://hl7.org/fhir"/>
  </telecom>
  <telecom>
    <system value="email"/>
    <value value="fhir@lists.hl7.org"/>
  </telecom>
  <description value="The type of an element - one of the FHIR data types"/>
  <status value="draft"/>
  <date value="2014-09-30T18:09:16.977+10:00"/>
  <define>
    <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="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."/>
    </concept>
    <concept>
      <code value="Attachment"/>
      <definition value="For referring to data content defined in other formats."/>
    </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="Contact"/>
      <definition value="All kinds of technology mediated contact details for a person or organization, including
       telephone, email, etc."/>
    </concept>
    <concept>
      <code value="Count"/>
      <definition value="There SHALL be a code with a value of &quot;1&quot; 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."/>
    </concept>
    <concept>
      <code value="Distance"/>
      <definition value="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."/>
    </concept>
    <concept>
      <code value="Duration"/>
      <definition value="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."/>
    </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="Money"/>
      <definition value="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 = &quot;urn:std:iso:4217&quot; - currency)."/>
    </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="ResourceReference"/>
      <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="Schedule"/>
      <definition value="Specifies an event that may occur multiple times. Schedules are used for to reord 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="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, &quot;-&quot; and &quot;.&quot;,
       with a length limit of 36 characters"/>
    </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="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>