--- type: "doc" source: "source/datatypes-examples.html" ---  \[%settitle Datatype Examples%\] \[%file newheader%\] \[%file newnavbar%\] <%dtheader examples%> ## Datatype Examples | Responsible Owner: [\[%wgt fhir%\]]([%wg fhir%]) Work Group | [Standards Status](versions#std-process):[Informative](versions#std-process) | | --- | --- | This page includes additional examples of the datatypes, based on common usages and questions **Datatypes Index** **Primitive Types** \[%diagram datatypes/allprimitivetypes.diagram 1dt%\] **General-Purpose Datatypes** \[%diagram datatypes/alltypes.diagram 2dt%\] **Metadata Types** \[%diagram datatypes/metadatatypes.diagram 3dt%\] **Special Purpose Datatypes** \[%diagram datatypes/specialtypes.diagram 4dt%\] ### Primitive Types \[%example-start%\] A boolean true value: A negative integer value: A high-precision decimal value: A stream of bytes, base64 encoded: A Unicode string: A URI that points to a website: A URI that is a urn: A date of birth: An approximate date of birth: The instant a document was created, including timezone: The instant a document was created, expressed in UTC, with milliseconds: 2:35pm in the afternoon: